|
|
!(function(){var lc=Math.pow;(self.webpackChunk=self.webpackChunk||[]).push([[9647],{70557:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},89489:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},59477:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},40001:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},49198:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},84105:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},18785:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},73331:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},15277:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},52671:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},8657:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},56082:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},33853:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},15075:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},62772:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},43531:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},61485:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},47472:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(54476),U=u(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},ce=L,j=u(7657),g=function(y,P){return U.createElement(j.Z,(0,i.Z)({},y,{ref:P,icon:ce}))},V=U.forwardRef(g),K=V},65030:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return bt}});var i=u(33885),U=u(42978),L=u(75931),ce=u(43403),j=u(92310),g=u.n(j),V=u(29301),K=u(76846),l=u(96452),y=u(6089),P=u(80402),b=u(34280),C=u(49658),w=u(59301),z=u(54476),W=u(77900),Y=u(8654);function $(Ge){var Ne=Ge.prefixCls,ne=Ge.align,lt=Ge.arrow,Ke=Ge.arrowPos,H=lt||{},M=H.className,_e=H.content,me=Ke.x,Te=me===void 0?0:me,Fe=Ke.y,Xe=Fe===void 0?0:Fe,gt=w.useRef();if(!ne||!ne.points)return null;var de={position:"absolute"};if(ne.autoArrow!==!1){var xe=ne.points[0],Pt=ne.points[1],xt=xe[0],kt=xe[1],Mt=Pt[0],mt=Pt[1];xt===Mt||!["t","b"].includes(xt)?de.top=Xe:xt==="t"?de.top=0:de.bottom=0,kt===mt||!["l","r"].includes(kt)?de.left=Te:kt==="l"?de.left=0:de.right=0}return w.createElement("div",{ref:gt,className:g()("".concat(Ne,"-arrow"),M),style:de},_e)}function R(Ge){var Ne=Ge.prefixCls,ne=Ge.open,lt=Ge.zIndex,Ke=Ge.mask,H=Ge.motion;return Ke?w.createElement(W.default,(0,z.Z)({},H,{motionAppear:!0,visible:ne,removeOnLeave:!0}),function(M){var _e=M.className;return w.createElement("div",{style:{zIndex:lt},className:g()("".concat(Ne,"-mask"),_e)})}):null}var G=w.memo(function(Ge){var Ne=Ge.children;return Ne},function(Ge,Ne){return Ne.cache}),O=G,T=w.forwardRef(function(Ge,Ne){var ne=Ge.popup,lt=Ge.className,Ke=Ge.prefixCls,H=Ge.style,M=Ge.target,_e=Ge.onVisibleChanged,me=Ge.open,Te=Ge.keepDom,Fe=Ge.fresh,Xe=Ge.onClick,gt=Ge.mask,de=Ge.arrow,xe=Ge.arrowPos,Pt=Ge.align,xt=Ge.motion,kt=Ge.maskMotion,Mt=Ge.forceRender,mt=Ge.getPopupContainer,Gt=Ge.autoDestroy,Zt=Ge.portal,Re=Ge.zIndex,pt=Ge.onMouseEnter,E=Ge.onMouseLeave,D=Ge.onPointerEnter,rt=Ge.onPointerDownCapture,te=Ge.ready,Ae=Ge.offsetX,tn=Ge.offsetY,Ce=Ge.offsetR,Ve=Ge.offsetB,ut=Ge.onAlign,ye=Ge.onPrepare,we=Ge.stretch,tt=Ge.targetWidth,et=Ge.targetHeight,X=typeof ne=="function"?ne():ne,St=me||Te,Se=(mt==null?void 0:mt.length)>0,Wt=w.useState(!mt||!Se),Kt=(0,U.Z)(Wt,2),Rt=Kt[0],le=Kt[1];if((0,b.Z)(function(){!Rt&&Se&&M&&le(!0)},[Rt,Se,M]),!Rt)return null;var ae="auto",N={left:"-1000vw",top:"-1000vh",right:ae,bottom:ae};if(te||!me){var _t,dt=Pt.points,nt=Pt.dynamicInset||((_t=Pt._experimental)===null||_t===void 0?void 0:_t.dynamicInset),Ft=nt&&dt[0][1]==="r",Ot=nt&&dt[0][0]==="b";Ft?(N.right=Ce,N.left=ae):(N.left=Ae,N.right=ae),Ot?(N.bottom=Ve,N.top=ae):(N.top=tn,N.bottom=ae)}var zt={};return we&&(we.includes("height")&&et?zt.height=et:we.includes("minHeight")&&et&&(zt.minHeight=et),we.includes("width")&&tt?zt.width=tt:we.includes("minWidth")&&tt&&(zt.minWidth=tt)),me||(zt.pointerEvents="none"),w.createElement(Zt,{open:Mt||St,getContainer:mt&&function(){return mt(M)},autoDestroy:Gt},w.createElement(R,{prefixCls:Ke,open:me,zIndex:Re,mask:gt,motion:kt}),w.createElement(V.Z,{onResize:ut,disabled:!me},function(J){return w.createElement(W.default,(0,z.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Mt,leavedClassName:"".concat(Ke,"-hidden")},xt,{onAppearPrepare:ye,onEnterPrepare:ye,visible:me,onVisibleChanged:function(It){var Pe;xt==null||(Pe=xt.onVisibleChanged)===null||Pe===void 0||Pe.call(xt,It),_e(It)}}),function(pe,It){var Pe=pe.className,Le=pe.style,re=g()(Ke,Pe,lt);return w.createElement("div",{ref:(0,Y.sQ)(J,Ne,It),className:re,style:(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({"--arrow-x":"".concat(xe.x||0,"px"),"--arrow-y":"".concat(xe.y||0,"px")},N),zt),Le),{},{boxSizing:"border-box",zIndex:Re},H),onMouseEnter:pt,onMouseLeave:E,onPointerEnter:D,onClick:Xe,onPointerDownCapture:rt},de&&w.createElement($,{prefixCls:Ke,arrow:de,arrowPos:xe,align:Pt}),w.createElement(O,{cache:!me&&!Fe},X))})}))}),ue=T,be=w.forwardRef(function(Ge,Ne){var ne=Ge.children,lt=Ge.getTriggerDOMNode,Ke=(0,Y.Yr)(ne),H=w.useCallback(function(_e){(0,Y.mH)(Ne,lt?lt(_e):_e)},[lt]),M=(0,Y.x1)(H,(0,Y.C4)(ne));return Ke?w.cloneElement(ne,{ref:M}):ne}),he=be,Ue=w.createContext(null),Qe=Ue;function ke(Ge){return Ge?Array.isArray(Ge)?Ge:[Ge]:[]}function Ze(Ge,Ne,ne,lt){return w.useMemo(function(){var Ke=ke(ne!=null?ne:Ne),H=ke(lt!=null?lt:Ne),M=new Set(Ke),_e=new Set(H);return Ge&&(M.has("hover")&&(M.delete("hover"),M.add("click")),_e.has("hover")&&(_e.delete("hover"),_e.add("click"))),[M,_e]},[Ge,Ne,ne,lt])}var se=u(29194);function k(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ne=arguments.length>2?arguments[2]:void 0;return ne?Ge[0]===Ne[0]:Ge[0]===Ne[0]&&Ge[1]===Ne[1]}function I(Ge,Ne,ne,lt){for(var Ke=ne.points,H=Object.keys(Ge),M=0;M<H.length;M+=1){var _e,me=H[M];if(k((_e=Ge[me])===null||_e===void 0?void 0:_e.points,Ke,lt))return"".concat(Ne,"-placement-").concat(me)}return""}function oe(Ge,Ne,ne,lt){return Ne||(ne?{motionName:"".concat(Ge,"-").concat(ne)}:lt?{motionName:lt}:null)}function ie(Ge){return Ge.ownerDocument.defaultView}function Ee(Ge){for(var Ne=[],ne=Ge==null?void 0:Ge.parentElement,lt=["hidden","scroll","clip","auto"];ne;){var Ke=ie(ne).getComputedStyle(ne),H=Ke.overflowX,M=Ke.overflowY,_e=Ke.overflow;[H,M,_e].some(function(me){return lt.includes(me)})&&Ne.push(ne),ne=ne.parentElement}return Ne}function _(Ge){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Ge)?Ne:Ge}function A(Ge){return _(parseFloat(Ge),0)}function fe(Ge,Ne){var ne=(0,i.Z)({},Ge);return(Ne||[]).forEach(function(lt){if(!(lt instanceof HTMLBodyElement||lt instanceof HTMLHtmlElement)){var Ke=ie(lt).getComputedStyle(lt),H=Ke.overflow,M=Ke.overflowClipMargin,_e=Ke.borderTopWidth,me=Ke.borderBottomWidth,Te=Ke.borderLeftWidth,Fe=Ke.borderRightWidth,Xe=lt.getBoundingClientRect(),gt=lt.offsetHeight,de=lt.clientHeight,xe=lt.offsetWidth,Pt=lt.clientWidth,xt=A(_e),kt=A(me),Mt=A(Te),mt=A(Fe),Gt=_(Math.round(Xe.width/xe*1e3)/1e3),Zt=_(Math.round(Xe.height/gt*1e3)/1e3),Re=(xe-Pt-Mt-mt)*Gt,pt=(gt-de-xt-kt)*Zt,E=xt*Zt,D=kt*Zt,rt=Mt*Gt,te=mt*Gt,Ae=0,tn=0;if(H==="clip"){var Ce=A(M);Ae=Ce*Gt,tn=Ce*Zt}var Ve=Xe.x+rt-Ae,ut=Xe.y+E-tn,ye=Ve+Xe.width+2*Ae-rt-te-Re,we=ut+Xe.height+2*tn-E-D-pt;ne.left=Math.max(ne.left,Ve),ne.top=Math.max(ne.top,ut),ne.right=Math.min(ne.right,ye),ne.bottom=Math.min(ne.bottom,we)}}),ne}function Be(Ge){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ne="".concat(Ne),lt=ne.match(/^(.*)\%$/);return lt?Ge*(parseFloat(lt[1])/100):parseFloat(ne)}function ft(Ge,Ne){var ne=Ne||[],lt=(0,U.Z)(ne,2),Ke=lt[0],H=lt[1];return[Be(Ge.width,Ke),Be(Ge.height,H)]}function At(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Ge[0],Ge[1]]}function Ie(Ge,Ne){var ne=Ne[0],lt=Ne[1],Ke,H;return ne==="t"?H=Ge.y:ne==="b"?H=Ge.y+Ge.height:H=Ge.y+Ge.height/2,lt==="l"?Ke=Ge.x:lt==="r"?Ke=Ge.x+Ge.width:Ke=Ge.x+Ge.width/2,{x:Ke,y:H}}function it(Ge,Ne){var ne={t:"b",b:"t",l:"r",r:"l"};return Ge.map(function(lt,Ke){return Ke===Ne?ne[lt]||"c":lt}).join("")}function ht(Ge,Ne,ne,lt,Ke,H,M){var _e=w.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ke[lt]||{}}),me=(0,U.Z)(_e,2),Te=me[0],Fe=me[1],Xe=w.useRef(0),gt=w.useMemo(function(){return Ne?Ee(Ne):[]},[Ne]),de=w.useRef({}),xe=function(){de.current={}};Ge||xe();var Pt=(0,y.Z)(function(){if(Ne&&ne&&Ge){let pi=function(ji,zr){var ri=arguments.length>2&&arguments[2]!==void 0?arguments[2]:st,vr=St.x+ji,yr=St.y+zr,Mr=vr+Ot,Vr=yr+Ft,wi=Math.max(vr,ri.left),xr=Math.max(yr,ri.top),Rr=Math.min(Mr,ri.right),kr=Math.min(Vr,ri.bottom);return Math.max(0,(Rr-wi)*(kr-xr))},Ni=function(){ur=St.y+jn,lr=ur+Ft,Un=St.x+Rn,fn=Un+Ot};var Mt,mt,Gt,Zt,Re=Ne,pt=Re.ownerDocument,E=ie(Re),D=E.getComputedStyle(Re),rt=D.position,te=Re.style.left,Ae=Re.style.top,tn=Re.style.right,Ce=Re.style.bottom,Ve=Re.style.overflow,ut=(0,i.Z)((0,i.Z)({},Ke[lt]),H),ye=pt.createElement("div");(Mt=Re.parentElement)===null||Mt===void 0||Mt.appendChild(ye),ye.style.left="".concat(Re.offsetLeft,"px"),ye.style.top="".concat(Re.offsetTop,"px"),ye.style.position=rt,ye.style.height="".concat(Re.offsetHeight,"px"),ye.style.width="".concat(Re.offsetWidth,"px"),Re.style.left="0",Re.style.top="0",Re.style.right="auto",Re.style.bottom="auto",Re.style.overflow="hidden";var we;if(Array.isArray(ne))we={x:ne[0],y:ne[1],width:0,height:0};else{var tt,et,X=ne.getBoundingClientRect();X.x=(tt=X.x)!==null&&tt!==void 0?tt:X.left,X.y=(et=X.y)!==null&&et!==void 0?et:X.top,we={x:X.x,y:X.y,width:X.width,height:X.height}}var St=Re.getBoundingClientRect(),Se=E.getComputedStyle(Re),Wt=Se.height,Kt=Se.width;St.x=(mt=St.x)!==null&&mt!==void 0?mt:St.left,St.y=(Gt=St.y)!==null&&Gt!==void 0?Gt:St.top;var Rt=pt.documentElement,le=Rt.clientWidth,ae=Rt.clientHeight,N=Rt.scrollWidth,_t=Rt.scrollHeight,dt=Rt.scrollTop,nt=Rt.scrollLeft,Ft=St.height,Ot=St.width,zt=we.height,J=we.width,pe={left:0,top:0,right:le,bottom:ae},It={left:-nt,top:-dt,right:N-nt,bottom:_t-dt},Pe=ut.htmlRegion,Le="visible",re="visibleFirst";Pe!=="scroll"&&Pe!==re&&(Pe=Le);var De=Pe===re,$e=fe(It,gt),je=fe(pe,gt),st=Pe===Le?je:$e,qt=De?je:st;Re.style.left="auto",Re.style.top="auto",Re.style.right="0",Re.style.bottom="0";var ln=Re.getBoundingClientRect();Re.style.left=te,Re.style.top=Ae,Re.style.right=tn,Re.style.bottom=Ce,Re.style.overflow=Ve,(Zt=Re.parentElement)===null||Zt===void 0||Zt.removeChild(ye);var Oe=_(Math.round(Ot/parseFloat(Kt)*1e3)/1e3),ot=_(Math.round(Ft/parseFloat(Wt)*1e3)/1e3);if(Oe===0||ot===0||(0,K.Sh)(ne)&&!(0,se.Z)(ne))return;var wt=ut.offset,Qt=ut.targetOffset,Xt=ft(St,wt),Ye=(0,U.Z)(Xt,2),ct=Ye[0],Nt=Ye[1],Bt=ft(we,Qt),Ht=(0,U.Z)(Bt,2),vt=Ht[0],an=Ht[1];we.x-=vt,we.y-=an;var sn=ut.points||[],gn=(0,U.Z)(sn,2),bn=gn[0],In=gn[1],wn=At(In),An=At(bn),Fn=Ie(we,wn),Mn=Ie(St,An),rr=(0,i.Z)({},ut),Rn=Fn.x-Mn.x+ct,jn=Fn.y-Mn.y+Nt,Yn=pi(Rn,jn),er=pi(Rn,jn,je),qn=Ie(we,["t","l"]),Kn=Ie(St,["t","l"]),Ln=Ie(we,["b","r"]),zn=Ie(St,["b","r"]),hr=ut.overflow||{},rn=hr.adjustX,nn=hr.adjustY,pn=hr.shiftX,or=hr.shiftY,tr=function(zr){return typeof zr=="boolean"?zr:zr>=0},ur,lr,Un,fn;Ni();var dn=tr(nn),xn=An[0]===wn[0];if(dn&&An[0]==="t"&&(lr>qt.bottom||de.current.bt)){var Gn=jn;xn?Gn-=Ft-zt:Gn=qn.y-zn.y-Nt;var Xn=pi(Rn,Gn),gr=pi(Rn,Gn,je);Xn>Yn||Xn===Yn&&(!De||gr>=er)?(de.current.bt=!0,jn=Gn,Nt=-Nt,rr.points=[it(An,0),it(wn,0)]):de.current.bt=!1}if(dn&&An[0]==="b"&&(ur<qt.top||de.current.tb)){var Er=jn;xn?Er+=Ft-zt:Er=Ln.y-Kn.y-Nt;var Zn=pi(Rn,Er),Cr=pi(Rn,Er,je);Zn>Yn||Zn===Yn&&(!De||Cr>=er)?(de.current.tb=!0,jn=Er,Nt=-Nt,rr.points=[it(An,0),it(wn,0)]):de.current.tb=!1}var wr=tr(rn),Kr=An[1]===wn[1];if(wr&&An[1]==="l"&&(fn>qt.right||de.current.rl)){var Fr=Rn;Kr?Fr-=Ot-J:Fr=qn.x-zn.x-ct;var Lr=pi(Fr,jn),Sr=pi(Fr,jn,je);Lr>Yn||Lr===Yn&&(!De||Sr>=er)?(de.current.rl=!0,Rn=Fr,ct=-ct,rr.points=[it(An,1),it(wn,1)]):de.current.rl=!1}if(wr&&An[1]==="r"&&(Un<qt.left||de.current.lr)){var Zr=Rn;Kr?Zr+=Ot-J:Zr=Ln.x-Kn.x-ct;var _r=pi(Zr,jn),Xr=pi(Zr,jn,je);_r>Yn||_r===Yn&&(!De||Xr>=er)?(de.current.lr=!0,Rn=Zr,ct=-ct,rr.points=[it(An,1),it(wn,1)]):de.current.lr=!1}Ni();var Ir=pn===!0?0:pn;typeof Ir=="number"&&(Un<je.left&&(Rn-=Un-je.left-ct,we.x+J<je.left+Ir&&(Rn+=we.x-je.left+J-Ir)),fn>je.right&&(Rn-=fn-je.right-ct,we.x>je.right-Ir&&(Rn+=we.x-je.right+Ir)));var Or=or===!0?0:or;typeof Or=="number"&&(ur<je.top&&(jn-=ur-je.top-Nt,we.y+zt<je.top+Or&&(jn+=we.y-je.top+zt-Or)),lr>je.bottom&&(jn-=lr-je.bottom-Nt,we.y>je.bottom-Or&&(jn+=we.y-je.bottom+Or)));var Nr=St.x+Rn,on=Nr+Ot,En=St.y+jn,br=En+Ft,Dr=we.x,Qr=Dr+J,Ar=we.y,cr=Ar+zt,hi=Math.max(Nr,Dr),ar=Math.min(on,Qr),_i=(hi+ar)/2,Yi=_i-Nr,$i=Math.max(En,Ar),Mi=Math.min(br,cr),ki=($i+Mi)/2,Gr=ki-En;M==null||M(Ne,rr);var Di=ln.right-St.x-(Rn+St.width),ra=ln.bottom-St.y-(jn+St.height);Oe===1&&(Rn=Math.round(Rn),Di=Math.round(Di)),ot===1&&(jn=Math.round(jn),ra=Math.round(ra));var Zi={ready:!0,offsetX:Rn/Oe,offsetY:jn/ot,offsetR:Di/Oe,offsetB:ra/ot,arrowX:Yi/Oe,arrowY:Gr/ot,scaleX:Oe,scaleY:ot,align:rr};Fe(Zi)}}),xt=function(){Xe.current+=1;var mt=Xe.current;Promise.resolve().then(function(){Xe.current===mt&&Pt()})},kt=function(){Fe(function(mt){return(0,i.Z)((0,i.Z)({},mt),{},{ready:!1})})};return(0,b.Z)(kt,[lt]),(0,b.Z)(function(){Ge||kt()},[Ge]),[Te.ready,Te.offsetX,Te.offsetY,Te.offsetR,Te.offsetB,Te.arrowX,Te.arrowY,Te.scaleX,Te.scaleY,Te.align,xt]}var Tt=u(94480);function ze(Ge,Ne,ne,lt,Ke){(0,b.Z)(function(){if(Ge&&Ne&&ne){let Xe=function(){lt(),Ke()};var H=Ne,M=ne,_e=Ee(H),me=Ee(M),Te=ie(M),Fe=new Set([Te].concat((0,Tt.Z)(_e),(0,Tt.Z)(me)));return Fe.forEach(function(gt){gt.addEventListener("scroll",Xe,{passive:!0})}),Te.addEventListener("resize",Xe,{passive:!0}),lt(),function(){Fe.forEach(function(gt){gt.removeEventListener("scroll",Xe),Te.removeEventListener("resize",Xe)})}}},[Ge,Ne,ne])}var Jt=u(48736);function yt(Ge,Ne,ne,lt,Ke,H,M,_e){var me=w.useRef(Ge);me.current=Ge;var Te=w.useRef(!1);w.useEffect(function(){if(Ne&<&&(!Ke||H)){var Xe=function(){Te.current=!1},gt=function(Gt){var Zt;me.current&&!M(((Zt=Gt.composedPath)===null||Zt===void 0||(Zt=Zt.call(Gt))===null||Zt===void 0?void 0:Zt[0])||Gt.target)&&!Te.current&&_e(!1)},de=ie(lt);de.addEventListener("pointerdown",Xe,!0),de.addEventListener("mousedown",gt,!0),de.addEventListener("contextmenu",gt,!0);var xe=(0,l.A)(ne);if(xe&&(xe.addEventListener("mousedown",gt,!0),xe.addEventListener("contextmenu",gt,!0)),0)var Pt,xt,kt,Mt;return function(){de.removeEventListener("pointerdown",Xe,!0),de.removeEventListener("mousedown",gt,!0),de.removeEventListener("contextmenu",gt,!0),xe&&(xe.removeEventListener("mousedown",gt,!0),xe.removeEventListener("contextmenu",gt,!0))}}},[Ne,ne,lt,Ke,H]);function Fe(){Te.current=!0}return Fe}var cn=["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 Je(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ce.Z,Ne=w.forwardRef(function(ne,lt){var Ke=ne.prefixCls,H=Ke===void 0?"rc-trigger-popup":Ke,M=ne.children,_e=ne.action,me=_e===void 0?"hover":_e,Te=ne.showAction,Fe=ne.hideAction,Xe=ne.popupVisible,gt=ne.defaultPopupVisible,de=ne.onPopupVisibleChange,xe=ne.afterPopupVisibleChange,Pt=ne.mouseEnterDelay,xt=ne.mouseLeaveDelay,kt=xt===void 0?.1:xt,Mt=ne.focusDelay,mt=ne.blurDelay,Gt=ne.mask,Zt=ne.maskClosable,Re=Zt===void 0?!0:Zt,pt=ne.getPopupContainer,E=ne.forceRender,D=ne.autoDestroy,rt=ne.destroyPopupOnHide,te=ne.popup,Ae=ne.popupClassName,tn=ne.popupStyle,Ce=ne.popupPlacement,Ve=ne.builtinPlacements,ut=Ve===void 0?{}:Ve,ye=ne.popupAlign,we=ne.zIndex,tt=ne.stretch,et=ne.getPopupClassNameFromAlign,X=ne.fresh,St=ne.alignPoint,Se=ne.onPopupClick,Wt=ne.onPopupAlign,Kt=ne.arrow,Rt=ne.popupMotion,le=ne.maskMotion,ae=ne.popupTransitionName,N=ne.popupAnimation,_t=ne.maskTransitionName,dt=ne.maskAnimation,nt=ne.className,Ft=ne.getTriggerDOMNode,Ot=(0,L.Z)(ne,cn),zt=D||rt||!1,J=w.useState(!1),pe=(0,U.Z)(J,2),It=pe[0],Pe=pe[1];(0,b.Z)(function(){Pe((0,C.Z)())},[]);var Le=w.useRef({}),re=w.useContext(Qe),De=w.useMemo(function(){return{registerSubPopup:function(Rr,kr){Le.current[Rr]=kr,re==null||re.registerSubPopup(Rr,kr)}}},[re]),$e=(0,P.Z)(),je=w.useState(null),st=(0,U.Z)(je,2),qt=st[0],ln=st[1],Oe=w.useRef(null),ot=(0,y.Z)(function(xr){Oe.current=xr,(0,K.Sh)(xr)&&qt!==xr&&ln(xr),re==null||re.registerSubPopup($e,xr)}),wt=w.useState(null),Qt=(0,U.Z)(wt,2),Xt=Qt[0],Ye=Qt[1],ct=w.useRef(null),Nt=(0,y.Z)(function(xr){(0,K.Sh)(xr)&&Xt!==xr&&(Ye(xr),ct.current=xr)}),Bt=w.Children.only(M),Ht=(Bt==null?void 0:Bt.props)||{},vt={},an=(0,y.Z)(function(xr){var Rr,kr,jr=Xt;return(jr==null?void 0:jr.contains(xr))||((Rr=(0,l.A)(jr))===null||Rr===void 0?void 0:Rr.host)===xr||xr===jr||(qt==null?void 0:qt.contains(xr))||((kr=(0,l.A)(qt))===null||kr===void 0?void 0:kr.host)===xr||xr===qt||Object.values(Le.current).some(function(ii){return(ii==null?void 0:ii.contains(xr))||xr===ii})}),sn=oe(H,Rt,N,ae),gn=oe(H,le,dt,_t),bn=w.useState(gt||!1),In=(0,U.Z)(bn,2),wn=In[0],An=In[1],Fn=Xe!=null?Xe:wn,Mn=(0,y.Z)(function(xr){Xe===void 0&&An(xr)});(0,b.Z)(function(){An(Xe||!1)},[Xe]);var rr=w.useRef(Fn);rr.current=Fn;var Rn=w.useRef([]);Rn.current=[];var jn=(0,y.Z)(function(xr){var Rr;Mn(xr),((Rr=Rn.current[Rn.current.length-1])!==null&&Rr!==void 0?Rr:Fn)!==xr&&(Rn.current.push(xr),de==null||de(xr))}),Yn=w.useRef(),er=function(){clearTimeout(Yn.current)},qn=function(Rr){var kr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;er(),kr===0?jn(Rr):Yn.current=setTimeout(function(){jn(Rr)},kr*1e3)};w.useEffect(function(){return er},[]);var Kn=w.useState(!1),Ln=(0,U.Z)(Kn,2),zn=Ln[0],hr=Ln[1];(0,b.Z)(function(xr){(!xr||Fn)&&hr(!0)},[Fn]);var rn=w.useState(null),nn=(0,U.Z)(rn,2),pn=nn[0],or=nn[1],tr=w.useState(null),ur=(0,U.Z)(tr,2),lr=ur[0],Un=ur[1],fn=function(Rr){Un([Rr.clientX,Rr.clientY])},dn=ht(Fn,qt,St&&lr!==null?lr:Xt,Ce,ut,ye,Wt),xn=(0,U.Z)(dn,11),Gn=xn[0],Xn=xn[1],gr=xn[2],Er=xn[3],Zn=xn[4],Cr=xn[5],wr=xn[6],Kr=xn[7],Fr=xn[8],Lr=xn[9],Sr=xn[10],Zr=Ze(It,me,Te,Fe),_r=(0,U.Z)(Zr,2),Xr=_r[0],Ir=_r[1],Or=Xr.has("click"),Nr=Ir.has("click")||Ir.has("contextMenu"),on=(0,y.Z)(function(){zn||Sr()}),En=function(){rr.current&&St&&Nr&&qn(!1)};ze(Fn,Xt,qt,on,En),(0,b.Z)(function(){on()},[lr,Ce]),(0,b.Z)(function(){Fn&&!(ut!=null&&ut[Ce])&&on()},[JSON.stringify(ye)]);var br=w.useMemo(function(){var xr=I(ut,H,Lr,St);return g()(xr,et==null?void 0:et(Lr))},[Lr,et,ut,H,St]);w.useImperativeHandle(lt,function(){return{nativeElement:ct.current,popupElement:Oe.current,forceAlign:on}});var Dr=w.useState(0),Qr=(0,U.Z)(Dr,2),Ar=Qr[0],cr=Qr[1],hi=w.useState(0),ar=(0,U.Z)(hi,2),_i=ar[0],Yi=ar[1],$i=function(){if(tt&&Xt){var Rr=Xt.getBoundingClientRect();cr(Rr.width),Yi(Rr.height)}},Mi=function(){$i(),on()},ki=function(Rr){hr(!1),Sr(),xe==null||xe(Rr)},Gr=function(){return new Promise(function(Rr){$i(),or(function(){return Rr})})};(0,b.Z)(function(){pn&&(Sr(),pn(),or(null))},[pn]);function Di(xr,Rr,kr,jr){vt[xr]=function(ii){var ma;jr==null||jr(ii),qn(Rr,kr);for(var Xi=arguments.length,ua=new Array(Xi>1?Xi-1:0),mi=1;mi<Xi;mi++)ua[mi-1]=arguments[mi];(ma=Ht[xr])===null||ma===void 0||ma.call.apply(ma,[Ht,ii].concat(ua))}}(Or||Nr)&&(vt.onClick=function(xr){var Rr;rr.current&&Nr?qn(!1):!rr.current&&Or&&(fn(xr),qn(!0));for(var kr=arguments.length,jr=new Array(kr>1?kr-1:0),ii=1;ii<kr;ii++)jr[ii-1]=arguments[ii];(Rr=Ht.onClick)===null||Rr===void 0||Rr.call.apply(Rr,[Ht,xr].concat(jr))});var ra=yt(Fn,Nr,Xt,qt,Gt,Re,an,qn),Zi=Xr.has("hover"),pi=Ir.has("hover"),Ni,ji;Zi&&(Di("onMouseEnter",!0,Pt,function(xr){fn(xr)}),Di("onPointerEnter",!0,Pt,function(xr){fn(xr)}),Ni=function(Rr){(Fn||zn)&&qt!==null&&qt!==void 0&&qt.contains(Rr.target)&&qn(!0,Pt)},St&&(vt.onMouseMove=function(xr){var Rr;(Rr=Ht.onMouseMove)===null||Rr===void 0||Rr.call(Ht,xr)})),pi&&(Di("onMouseLeave",!1,kt),Di("onPointerLeave",!1,kt),ji=function(){qn(!1,kt)}),Xr.has("focus")&&Di("onFocus",!0,Mt),Ir.has("focus")&&Di("onBlur",!1,mt),Xr.has("contextMenu")&&(vt.onContextMenu=function(xr){var Rr;rr.current&&Ir.has("contextMenu")?qn(!1):(fn(xr),qn(!0)),xr.preventDefault();for(var kr=arguments.length,jr=new Array(kr>1?kr-1:0),ii=1;ii<kr;ii++)jr[ii-1]=arguments[ii];(Rr=Ht.onContextMenu)===null||Rr===void 0||Rr.call.apply(Rr,[Ht,xr].concat(jr))}),nt&&(vt.className=g()(Ht.className,nt));var zr=w.useRef(!1);zr.current||(zr.current=E||Fn||zn);var ri=(0,i.Z)((0,i.Z)({},Ht),vt),vr={},yr=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];yr.forEach(function(xr){Ot[xr]&&(vr[xr]=function(){for(var Rr,kr=arguments.length,jr=new Array(kr),ii=0;ii<kr;ii++)jr[ii]=arguments[ii];(Rr=ri[xr])===null||Rr===void 0||Rr.call.apply(Rr,[ri].concat(jr)),Ot[xr].apply(Ot,jr)})});var Mr=w.cloneElement(Bt,(0,i.Z)((0,i.Z)({},ri),vr)),Vr={x:Cr,y:wr},wi=Kt?(0,i.Z)({},Kt!==!0?Kt:{}):null;return w.createElement(w.Fragment,null,w.createElement(V.Z,{disabled:!Fn,ref:Nt,onResize:Mi},w.createElement(he,{getTriggerDOMNode:Ft},Mr)),zr.current&&w.createElement(Qe.Provider,{value:De},w.createElement(ue,{portal:Ge,ref:ot,prefixCls:H,popup:te,className:g()(Ae,br),style:tn,target:Xt,onMouseEnter:Ni,onMouseLeave:ji,onPointerEnter:Ni,zIndex:we,open:Fn,keepDom:zn,fresh:X,onClick:Se,onPointerDownCapture:ra,mask:Gt,motion:sn,maskMotion:gn,onVisibleChanged:ki,onPrepare:Gr,forceRender:E,autoDestroy:zt,getPopupContainer:pt,align:Lr,arrow:wi,arrowPos:Vr,ready:Gn,offsetX:Xn,offsetY:gr,offsetR:Er,offsetB:Zn,onAlign:on,stretch:tt,targetWidth:Ar/Kr,targetHeight:_i/Fr})))});return Ne}var bt=Je(ce.Z)},48850:function(){"use strict"},96435:function(Pn,Lt,u){"use strict";var i=u(59301),U=Object.defineProperty,L=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,g=(l,y,P)=>y in l?U(l,y,{enumerable:!0,configurable:!0,writable:!0,value:P}):l[y]=P,V=(l,y)=>{for(var P in y||(y={}))ce.call(y,P)&&g(l,P,y[P]);if(L)for(var P of L(y))j.call(y,P)&&g(l,P,y[P]);return l};const K=l=>React.createElement("svg",V({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},l),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));Lt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},64303:function(Pn,Lt,u){"use strict";var i=u(59301),U=Object.defineProperty,L=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,g=(l,y,P)=>y in l?U(l,y,{enumerable:!0,configurable:!0,writable:!0,value:P}):l[y]=P,V=(l,y)=>{for(var P in y||(y={}))ce.call(y,P)&&g(l,P,y[P]);if(L)for(var P of L(y))j.call(y,P)&&g(l,P,y[P]);return l};const K=l=>React.createElement("svg",V({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},l),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));Lt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},55069:function(Pn,Lt,u){"use strict";var i=u(59301),U=Object.defineProperty,L=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,g=(l,y,P)=>y in l?U(l,y,{enumerable:!0,configurable:!0,writable:!0,value:P}):l[y]=P,V=(l,y)=>{for(var P in y||(y={}))ce.call(y,P)&&g(l,P,y[P]);if(L)for(var P of L(y))j.call(y,P)&&g(l,P,y[P]);return l};const K=l=>React.createElement("svg",V({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},l),React.createElement("path",{fill:"#F7B500",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm1 3H6.395a3.501 3.501 0 0 1-.857 1.245c-.32.294-.752.551-1.297.772L4 9.109V10.9c.448-.154.82-.315 1.117-.483.222-.126.45-.282.685-.466l.236-.194V15H8V7ZM4.812 0c.175 0 .35.16.438.318l1.313 2.309s-2.8.16-4.463 1.672L.088.716C0 .636 0 .557 0 .478 0 .159.263 0 .525 0Zm8.663 0c.263 0 .525.239.525.478 0 .08 0 .159-.088.238L11.9 4.22c-1.662-1.433-4.463-1.592-4.463-1.592L8.75.318C8.75.16 8.925 0 9.188 0Z"}));Lt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0Y3QjUwMCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptMSAzSDYuMzk1YTMuNTAxIDMuNTAxIDAgMCAxLS44NTcgMS4yNDVjLS4zMi4yOTQtLjc1Mi41NTEtMS4yOTcuNzcyTDQgOS4xMDlWMTAuOWMuNDQ4LS4xNTQuODItLjMxNSAxLjExNy0uNDgzLjIyMi0uMTI2LjQ1LS4yODIuNjg1LS40NjZsLjIzNi0uMTk0VjE1SDhWN1pNNC44MTIgMGMuMTc1IDAgLjM1LjE2LjQzOC4zMThsMS4zMTMgMi4zMDlzLTIuOC4xNi00LjQ2MyAxLjY3MkwuMDg4LjcxNkMwIC42MzYgMCAuNTU3IDAgLjQ3OCAwIC4xNTkuMjYzIDAgLjUyNSAwWm04LjY2MyAwYy4yNjMgMCAuNTI1LjIzOS41MjUuNDc4IDAgLjA4IDAgLjE1OS0uMDg4LjIzOEwxMS45IDQuMjJjLTEuNjYyLTEuNDMzLTQuNDYzLTEuNTkyLTQuNDYzLTEuNTkyTDguNzUuMzE4QzguNzUuMTYgOC45MjUgMCA5LjE4OCAwWiIvPjwvc3ZnPg=="},70341:function(Pn,Lt,u){"use strict";var i=u(59301),U=Object.defineProperty,L=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,g=(l,y,P)=>y in l?U(l,y,{enumerable:!0,configurable:!0,writable:!0,value:P}):l[y]=P,V=(l,y)=>{for(var P in y||(y={}))ce.call(y,P)&&g(l,P,y[P]);if(L)for(var P of L(y))j.call(y,P)&&g(l,P,y[P]);return l};const K=l=>React.createElement("svg",V({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},l),React.createElement("path",{fill:"#B9C4CF",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm.05 3c-.675 0-1.203.092-1.584.276a2.056 2.056 0 0 0-.887.794c-.18.296-.31.691-.394 1.186l-.038.255 2.004.177c.055-.443.164-.753.326-.928a.814.814 0 0 1 .626-.263.81.81 0 0 1 .611.255c.162.17.243.375.243.614 0 .222-.081.456-.245.703-.164.247-.539.608-1.124 1.084-.96.776-1.613 1.45-1.962 2.02a4.363 4.363 0 0 0-.588 1.552L4 15h6v-1.781H6.877c.184-.197.343-.356.479-.478.136-.122.405-.334.808-.638.677-.523 1.145-1.002 1.401-1.438.257-.437.386-.895.386-1.374 0-.45-.112-.858-.336-1.22a2.043 2.043 0 0 0-.924-.808C8.301 7.088 7.753 7 7.05 7ZM4.812 0c.175 0 .35.16.437.318l1.313 2.309s-2.8.16-4.463 1.672L.088.716C0 .636 0 .557 0 .478 0 .159.263 0 .525 0Zm8.662 0c.263 0 .525.239.525.478 0 .08 0 .159-.088.238L11.9 4.22c-1.662-1.433-4.463-1.592-4.463-1.592L8.75.318C8.75.16 8.925 0 9.188 0Z"}));Lt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvM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40NzggMCAuMDggMCAuMTU5LS4wODguMjM4TDExLjkgNC4yMmMtMS42NjItMS40MzMtNC40NjMtMS41OTItNC40NjMtMS41OTJMOC43NS4zMThDOC43NS4xNiA4LjkyNSAwIDkuMTg4IDBaIi8+PC9zdmc+"},1742:function(Pn,Lt,u){"use strict";var i=u(59301),U=Object.defineProperty,L=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,g=(l,y,P)=>y in l?U(l,y,{enumerable:!0,configurable:!0,writable:!0,value:P}):l[y]=P,V=(l,y)=>{for(var P in y||(y={}))ce.call(y,P)&&g(l,P,y[P]);if(L)for(var P of L(y))j.call(y,P)&&g(l,P,y[P]);return l};const K=l=>React.createElement("svg",V({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},l),React.createElement("path",{fill:"#D09F18",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm-.062 3c-.826 0-1.464.172-1.915.517-.4.307-.686.733-.856 1.278l-.058.21 1.908.364c.052-.383.153-.651.302-.804a.772.772 0 0 1 .58-.23c.23 0 .412.07.544.211.133.14.199.33.199.565a.88.88 0 0 1-.265.638.89.89 0 0 1-.662.27 1.35 1.35 0 0 1-.158-.012l-.104-.015-.105 1.536c.278-.085.496-.127.654-.127.298 0 .533.099.707.296.173.197.26.475.26.833 0 .352-.09.634-.27.845a.852.852 0 0 1-.677.316.862.862 0 0 1-.636-.25c-.143-.144-.254-.384-.333-.723l-.036-.177L4 12.826c.132.482.321.882.567 1.2.246.319.56.56.942.726.381.165.902.248 1.563.248.677 0 1.224-.112 1.64-.335.416-.223.735-.542.956-.955.221-.414.332-.845.332-1.296 0-.359-.067-.667-.2-.926a1.633 1.633 0 0 0-.563-.625c-.149-.099-.363-.185-.644-.259.347-.204.606-.441.778-.712a1.66 1.66 0 0 0 .257-.908 1.82 1.82 0 0 0-.634-1.42C8.571 7.189 7.886 7 6.938 7ZM4.813 0c.175 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xOS41Ni41Ni45NDIuNzI2LjM4MS4xNjUuOTAyLjI0OCAxLjU2My4yNDguNjc3IDAgMS4yMjQtLjExMiAxLjY0LS4zMzUuNDE2LS4yMjMuNzM1LS41NDIuOTU2LS45NTUuMjIxLS40MTQuMzMyLS44NDUuMzMyLTEuMjk2IDAtLjM1OS0uMDY3LS42NjctLjItLjkyNmExLjYzMyAxLjYzMyAwIDAgMC0uNTYzLS42MjVjLS4xNDktLjA5OS0uMzYzLS4xODUtLjY0NC0uMjU5LjM0Ny0uMjA0LjYwNi0uNDQxLjc3OC0uNzEyYTEuNjYgMS42NiAwIDAgMCAuMjU3LS45MDggMS44MiAxLjgyIDAgMCAwLS42MzQtMS40MkM4LjU3MSA3LjE4OSA3Ljg4NiA3IDYuOTM4IDdaTTQuODEzIDBjLjE3NSAwIC4zNS4xNy40MzcuMzM4bDEuMzEzIDIuNDUzcy0yLjguMTctNC40NjMgMS43NzZMLjA4OC43NjFDMCAuNjc3IDAgLjU5MiAwIC41MDcgMCAuMTcuMjYzIDAgLjUyNSAwWm04LjY2MiAwYy4yNjMgMCAuNTI1LjI1NC41MjUuNTA3IDAgLjA4NSAwIC4xNy0uMDg4LjI1NEwxMS45IDQuNDgzQzEwLjIzOCAyLjk2IDcuNDM3IDIuNzkgNy40MzcgMi43OUw4Ljc1LjMzOEM4Ljc1LjE3IDguOTI1IDAgOS4xODggMFoiLz48L3N2Zz4="},90463:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return g}});var i=u(37639),U={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},L=u(32637),ce=u(59301),g=({type:V,style:K})=>{const l=ce.createElement("div",{className:U.wrap,onClick:y=>{y.preventDefault(),y.stopPropagation()}},ce.createElement("p",null,V==="shixun"||V==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",ce.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",V==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),ce.createElement("div",{className:U.contact},ce.createElement("div",{className:U.img},ce.createElement("img",{src:L,width:"124px",height:"124px"})),ce.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return ce.createElement(i.Z,{content:l},ce.createElement("span",{className:U.text,style:K},"\u9AD8\u6D88\u8017"))}},2524:function(Pn,Lt,u){"use strict";var i=u(59301),U=u(93314),L=u(7939),ce=Object.defineProperty,j=Object.defineProperties,g=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,y=(w,z,W)=>z in w?ce(w,z,{enumerable:!0,configurable:!0,writable:!0,value:W}):w[z]=W,P=(w,z)=>{for(var W in z||(z={}))K.call(z,W)&&y(w,W,z[W]);if(V)for(var W of V(z))l.call(z,W)&&y(w,W,z[W]);return w},b=(w,z)=>j(w,g(z));const C=({img:w,buttonProps:z={},styles:W={},customText:Y,ButtonText:$,ButtonClick:R,Buttonclass:G,ButtonTwo:O,imgStyles:T,loading:ue=!1,className:be=""})=>i.createElement("section",{className:`tc animated fadeIn ${be}`,style:P({color:"#999",margin:"100px auto",visibility:ue?"hidden":"visible"},W)},i.createElement("img",{src:w||U,style:b(P({},T),{pointerEvents:"none",userSelect:"none"})}),i.createElement("p",{className:"mt20 font14"},Y||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),$&&i.createElement(L.ZP,P({className:G,onClick:R},z),$),O&&O);Lt.Z=C},52918:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return G}});var i=u(59301),U={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},L=u(7939),ce=u(70557),j=u(50258),g=u(25399),V=u(65862),K=u(87513),l=u(2524),y=u(74128),P=u(7310),b=u(59301),C=Object.defineProperty,w=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,Y=(O,T,ue)=>T in O?C(O,T,{enumerable:!0,configurable:!0,writable:!0,value:ue}):O[T]=ue,$=(O,T)=>{for(var ue in T||(T={}))z.call(T,ue)&&Y(O,ue,T[ue]);if(w)for(var ue of w(T))W.call(T,ue)&&Y(O,ue,T[ue]);return O},R=(O,T,ue)=>new Promise((be,he)=>{var Ue=Ze=>{try{ke(ue.next(Ze))}catch(se){he(se)}},Qe=Ze=>{try{ke(ue.throw(Ze))}catch(se){he(se)}},ke=Ze=>Ze.done?be(Ze.value):Promise.resolve(Ze.value).then(Ue,Qe);ke((ue=ue.apply(O,T)).next())}),G=({editOffice:O="view",data:T,issaver:ue,onSaver:be,theme:he,type:Ue,filename:Qe,monacoEditor:ke,className:Ze,style:se,close:k,onClose:I,hasMask:oe,disabledDownload:ie,onImgDimensions:Ee,showNodata:_,recordInfo:A})=>{const[fe,Be]=(0,i.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[ft,At]=(0,i.useState)(""),[Ie,it]=(0,i.useState)(),ht=window.ENV==="build"?"/react/build":"",Tt=location.host.startsWith("localhost")?y.Z.PROXY_SERVER:y.Z.API_SERVER,Jt=10*(1024*1024),yt=(0,i.useRef)();T!=null&&T.startsWith("/api")&&Ue!=="txt"&&(T=y.Z.API_SERVER+T);const cn=ne=>ne.substring(ne.lastIndexOf("/")+1).split(".").pop();Qe&&ke&&(ke.filename=Qe),(0,i.useEffect)(()=>{var ne,lt;const Ke=(lt=(ne=document.cookie)==null?void 0:ne.replace(/\s/g,""))==null?void 0:lt.split(";");Ke==null||Ke.map(H=>{let M=H.split("=");M[0]==="_educoder_session"&&At(M[1])})},[]),(0,i.useEffect)(()=>{Ue==="office"&&(T.indexOf("bigfilescdn.")>-1||T.indexOf("bigfiles1")>-1?it({url:T,fileType:cn(T),model:T.indexOf("model=edit")?"edit":"view"}):bt())},[Ue,T]);function Je(ne){return R(this,null,function*(){ne.data.type==="pdfdata"&&(be(ne.data.data),window.removeEventListener("message",Je,!1)),console.log("mess---:",ne.data)})}const bt=()=>R(void 0,null,function*(){console.log("data:",T);let ne=T;T.startsWith("http")||(ne=location.origin+ne);let lt=new URL(ne).pathname.split("/").pop();const Ke=yield(0,K.gJ)({attachment_id:lt});Ke.url=Tt+Ke.url,it(Ke)}),Ge=()=>{if(T.startsWith("http")||T.startsWith("blob:")){Ne();return}(0,V.Sv)(Qe||"educoder",T,Qe)},Ne=()=>{A&&(0,P.fc)({id:A==null?void 0:A.id,watch_type:1,course_id:A==null?void 0:A.course_id}),(0,V.Nd)(Qe||"educoder",decodeURIComponent(T))};return b.createElement("div",{style:$({},se||{}),className:`${oe&&U.bgBlack} ${Ue?U.wrp:"hide"}`},k&&b.createElement("div",{className:U.close,ref:yt},!!Ee&&b.createElement(g.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>yt.current},b.createElement("span",{onClick:()=>{I(),Ee()}},b.createElement("i",{className:"icon-yulanpizhu"}))),!ie&&b.createElement(g.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>yt.current},b.createElement("span",{onClick:Ne},b.createElement("i",{className:"icon-quxiaozhiding"}))),ue&&b.createElement(g.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>yt.current},b.createElement("span",{className:"",onClick:()=>{const ne=document.getElementById("pdfiframe");window.addEventListener("message",Je,!1),setTimeout(()=>{ne.contentWindow.postMessage("getData","*")},300)}},b.createElement("i",{className:"icon-baocun"}))),b.createElement(g.Z,{title:"\u5173\u95ED",getPopupContainer:()=>yt.current},b.createElement("span",{className:"",onClick:()=>{I()}},b.createElement("i",{className:"icon-guanbi1"})))),b.createElement("div",{className:`${U[Ze]} ${Ze} ${U.monaco} ${Ue==="txt"?"show":"hide"}`},Ue==="txt"&&b.createElement(b.Fragment,null,b.createElement(j.ZP,$({},ke)))),Ue==="audio"&&b.createElement("audio",{src:`${(T==null?void 0:T.indexOf("http://"))>-1||(T==null?void 0:T.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${T}`,autoPlay:!0}),Ue==="video"&&b.createElement(b.Fragment,null,(T==null?void 0:T.indexOf("http"))>-1?b.createElement("video",{controls:!0,src:`${T}`,autoPlay:!0}):b.createElement("video",{controls:!0,src:`data:video/mp4;base64,${T}`,autoPlay:!0})),Ue==="office"&&Ie&&b.createElement("iframe",{src:`${ht}/office.html?key=${Ie.key}&url=${btoa(Ie.url)}&callbackUrl=${Tt+(Ie.callbackUrl||"")}&fileType=${Ie.fileType}&title=${Ie.title||""}&model=${O}&officeServer=${y.Z.ONLYOFFICE}&disabledDownload=${!!ie}`}),Ue==="html"&&b.createElement("iframe",{src:T+"&disposition=inline"}),Ue==="pdf"&&b.createElement("iframe",{id:"pdfiframe",src:`${ht}/js/pdf/index.html?filename=${Qe||"educoder.pdf"}&url=${encodeURIComponent(T)}&disabledDownload=${!!ie}&model=${O}`}),Ue==="image"&&b.createElement("img",{src:`${(T==null?void 0:T.indexOf("http://"))>-1||(T==null?void 0:T.indexOf("https://"))>-1?"":"data:image/png;base64,"}${T}`}),(Ue==="other"||Ue==="download")&&b.createElement(b.Fragment,null,_?b.createElement(l.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:b.createElement(L.ZP,{icon:b.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Ge,disabled:ie},"\u4E0B\u8F7D")}):b.createElement(L.ZP,{type:"primary",size:"middle",onClick:Ge,disabled:ie},b.createElement(ce.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Ue==="flowChart"&&b.createElement("div",{className:"embed"},b.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${T||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},95097:function(Pn,Lt,u){"use strict";u.d(Lt,{z:function(){return ke},Z:function(){return Ze}});var i=u(59301),U=u(48850),L=u(49142),ce=u(64018),j=u(17030),g=u(74128),V=u(65862),K=u(15342),l=u(44104),y=u(7939),P=u(1012),b=u(52918),C=u(59301),z=({html:se})=>{const k=(0,i.useRef)(null),I=(0,i.useRef)(null),oe=`.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 56px !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,i.useEffect)(()=>{const ie=k.current.attachShadow({mode:"open"});I.current=document.createElement("div"),I.current.className="markdown-body",I.current.innerHTML=se,ie.appendChild(I.current);const Ee=document.createElement("style");return Ee.textContent=oe,ie.appendChild(Ee),()=>{ie.innerHTML=""}},[]),(0,i.useEffect)(()=>{I.current&&(I.current.innerHTML=se)},[se]),C.createElement("div",{ref:k})};function W(se){const k=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],I=new RegExp(`\\b(${k.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return se.replace(I,"").trim()}var Y={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},$=Object.defineProperty,R=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,T=(se,k,I)=>k in se?$(se,k,{enumerable:!0,configurable:!0,writable:!0,value:I}):se[k]=I,ue=(se,k)=>{for(var I in k||(k={}))G.call(k,I)&&T(se,I,k[I]);if(R)for(var I of R(k))O.call(k,I)&&T(se,I,k[I]);return se};const be="@\u2581\u2581@",he="@\u2581@",Ue=/<pre[^>]*>/g;function Qe(se){let k=document.createElement("div");return k.innerHTML=se,k.childNodes.length===0?"":k.childNodes[0].nodeValue}const ke=(se,k)=>{se=se||"";const I=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,oe=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ie=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ee=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return k?se.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(I,(_,A,fe,Be,ft,At,Ie)=>{const it=A||Be||At,ht=fe||ft||Ie||"?";return g.Z.API_SERVER+"/api/attachments/"+it+ht+"&t="+(0,V.Jn)(it,Date.now())+(_.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(se=se.replace(Ee,(_,A,fe,Be,ft,At,Ie)=>{const it=A||Be||At,ht=fe||ft||Ie||"?";return g.Z.API_SERVER+"/attachments/download/"+it+ht+"&t="+(0,V.Jn)(it,Date.now())+(_.indexOf(")")>-1?")":"&")}).replace(I,(_,A,fe,Be,ft,At,Ie)=>{const it=A||Be||At,ht=fe||ft||Ie||"?";return g.Z.API_SERVER+"/api/attachments/"+it+ht+"&t="+(0,V.Jn)(it,Date.now())+(_.indexOf(")")>-1?")":"&")}).replace(oe,(_,A,fe,Be,ft)=>{const At=A||Be,Ie=fe||ft||"";return'"'+g.Z.API_SERVER+"/api/attachments/"+At+Ie+At+Ie+"&t="+(0,V.Jn)(At,Date.now())}).replace(ie,(_,A,fe,Be,ft)=>{const At=A||Be,Ie=fe||ft||"";return"("+g.Z.API_SERVER+"/files/uploads/"+At+Ie+At+Ie+"&t="+(0,V.Jn)(At,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,`
|
|
|
`),se)};var Ze=({value:se="",edit:k=!1,className:I,showTextOnly:oe,showLines:ie,style:Ee={},stylesPrev:_={},highlightKeywords:A,showProgramFill:fe,isProgramFill:Be,disabledFill:ft=!1,programFillValue:At,openEditor:Ie=()=>{},onFillChange:it=ze=>{},onFillBlur:ht=()=>{},onFillFocus:Tt=()=>{}})=>{let ze=W(String(se||""));const Jt=(0,i.useRef)(),yt=(0,i.useRef)(),[cn,Je]=(0,i.useState)(""),[bt,Ge]=(0,i.useState)("office"),[Ne,ne]=(0,i.useState)([]),lt=(0,i.useRef)("a"+(0,P.Z)()),Ke={},H=mt=>/<style[\s\S]*?>/i.test(mt||""),M=(mt,Gt,Zt)=>{const Re=document.createElement(mt===he?"input":"textarea");Re.style.width="100%",Re.style.height=mt===he?"40px":"151px",Re.rows=5,Re.spellcheck=!1,Re.name="edu-program-fill",Re.placeholder="\u8BF7\u8F93\u5165",Re.dataset.id=Gt;const pt=Object.keys(Ke).length;return Ke[pt]=Re,`<span class="edu-program-fill-wrap ${mt===he?"":"show"}" style="width:${mt===he?"600px":"100%"}" title=${Zt||""}><span>${Re.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function _e(mt){return mt=mt.replace(/!\[.*?\]\(.*?\)/g,""),mt=mt.replace(/\[.*?\]\(.*?\)/g,""),mt=mt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),mt=mt.replace(/<embed.*?>/g,""),mt=mt.replace(/<img.*?>/g,""),mt=mt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),mt=mt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),mt=mt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),mt=mt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),mt}const me=mt=>!oe&&H(ze)?mt:mt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Gt,Zt){let Re=Zt.replace(/(\n|\r)/g,"").split("}"),pt=[];return Re.map(E=>{E!=""&&pt.push(`.${lt.current} ${E}`)}),`<style>${pt.join("}")}</style>`}),Te=(0,i.useMemo)(()=>{try{const Re=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,pt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,E=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,D=/\(\/attachments\/download\//g;ze=ze.replace(D,"("+g.Z.API_SERVER+"/attachments/download/").replace(Re,"("+g.Z.API_SERVER+"/api/attachments/").replace(pt,'"'+g.Z.API_SERVER+"/api/attachments/").replace(E,'"'+g.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,`
|
|
|
`),Jt.current.style.display="none"}catch(Re){}if(fe){let Re=-1;return ze=ze.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(pt,E,D){var rt;return++Re,M(pt,Re,(rt=At==null?void 0:At[Re])==null?void 0:rt.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${me(ze||"")}</pre>`}let mt=me(ze);mt=(0,L.ZP)(mt);const Gt=(0,L.ez)();ze.match(/\[TOC\]/)&&(mt=mt.replace("<p>[TOC]</p>",(0,L.Qv)()),(0,L.Iy)()),mt=mt.replace(/(__special_katext_id_\d+__)/g,(Re,pt)=>{const{type:E,expression:D}=Gt[pt];return(0,K.renderToString)(Qe(D)||"",{displayMode:E==="block",throwOnError:!1,output:"html"})}),mt=mt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,L.AL)();const Zt=document.createElement("div");if(Zt.innerHTML=mt,oe)return Zt.innerText;if(A){const Re=A.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return de(Zt,Re),Zt.innerHTML}return setTimeout(()=>xt(),500),Zt.innerHTML},[ze,A]);(0,i.useEffect)(()=>{xe.current&&xe.current.querySelectorAll(["input","textarea"]).forEach(Gt=>{Gt.oninput=Fe,Gt.onblur=Xe,Gt.onfocus=gt})},[Ne]),(0,i.useEffect)(()=>{var mt,Gt,Zt,Re,pt;if(At!=null&&At.length)try{const E=xe.current.querySelectorAll(".edu-program-fill-score"),D=xe.current.querySelectorAll('[name="edu-program-fill"]');for(const[rt,te]of D.entries())te.value=((mt=At==null?void 0:At[rt])==null?void 0:mt.value)||"",((Gt=At==null?void 0:At[rt])==null?void 0:Gt.type)==="warning"?te.className="program-fill-warning":((Zt=At==null?void 0:At[rt])==null?void 0:Zt.type)==="success"?te.className="program-fill-success":te.className="";for(const[rt,te]of E.entries())te.innerHTML=(Re=At==null?void 0:At[rt])!=null&&Re.score?`${(pt=At==null?void 0:At[rt])==null?void 0:pt.score}\u5206`:"";ne(At)}catch(E){console.log(E,"error")}},[At]);const Fe=mt=>{Ne[mt.target.dataset.id]=Ne[mt.target.dataset.id]||{},Ne[mt.target.dataset.id].value=mt.target.value,ne([...Ne]),it(Ne,mt.target.dataset.id)},Xe=mt=>{Ne[mt.target.dataset.id]=Ne[mt.target.dataset.id]||{},Ne[mt.target.dataset.id].value=mt.target.value,ne([...Ne]),ht(Ne,mt.target.dataset.id)},gt=mt=>{Ne[mt.target.dataset.id]=Ne[mt.target.dataset.id]||{},Ne[mt.target.dataset.id].value=mt.target.value,ne([...Ne]),Tt(Ne,mt.target.dataset.id)};function de(mt,Gt){return mt.childNodes.forEach(Zt=>{var Re;if(Zt.childNodes.length>0)de(Zt,Gt);else if(Zt.nodeName!=="IMG")if(Zt.innerHTML)Zt.innerHTML=(Re=Zt.innerHTML)==null?void 0:Re.replace(new RegExp(Gt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const pt=document.createElement("span");pt.innerHTML=Zt.textContent.replace(new RegExp(Gt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),Zt.replaceWith(pt)}})}const xe=(0,i.useRef)();L.jb.WebkitLineClamp=ie,ie&&(Ee=ue(ue({},Ee),L.jb));function Pt(mt){let Gt=mt.target;if(Gt.tagName.toUpperCase()==="A"){let Zt=Gt.getAttribute("href");if(Zt.indexOf("office")>-1)mt.preventDefault(),Je(Zt),Ge("office");else if(Zt.indexOf("application/pdf")>-1)mt.preventDefault(),Je(Zt),Ge("pdf");else if(Zt.indexOf("text/html")>-1)mt.preventDefault(),Je(Zt),Ge("html");else if(Zt.startsWith("#")){mt.preventDefault();let Re=document.getElementById(Zt.replace("#",""));Re&&Re.scrollIntoView(!0)}}}const xt=()=>{var mt;const Gt=(mt=xe.current)==null?void 0:mt.querySelectorAll("video");Gt==null||Gt.forEach(Zt=>{if(Zt.oncontextmenu=()=>!1,Zt.src.indexOf(".m3u8")>-1&&!Zt.canPlayType("application/vnd.apple.mpegurl")){if(j.ZP.isSupported()){var Re=new j.ZP;Re.loadSource(Zt.src),Re.attachMedia(Zt)}}})};(0,i.useEffect)(()=>{if(xe.current&&Te&&Te.match(Ue)&&window.PR.prettyPrint(),xe.current)return xe.current.addEventListener("click",Pt),()=>{var mt;(mt=xe.current)==null||mt.removeEventListener("click",Pt),(0,L.AL)(),(0,L.Iy)()}},[Te,xe.current,Pt]);const kt=mt=>{mt.target.nodeName==="IMG"&&mt.target.className.indexOf("draw-flowchart")>-1?(Jt.current.style.zIndex=1,Jt.current.style.display="flex",Jt.current.style.width=mt.target.clientWidth+"px",Jt.current.style.height=mt.target.clientHeight+"px",Jt.current.style.top=mt.target.offsetTop+"px",Jt.current.style.left=mt.target.offsetLeft+"px",mt.target.id&&(yt.current=mt.target.id)):Jt.current.style.display="none"},Mt=()=>{Jt.current.style.display="none"};return(0,i.useEffect)(()=>{var mt;const Gt=Zt=>{Zt.preventDefault(),Zt.clipboardData.setData("text",window.getSelection().toString())};return(mt=xe.current)==null||mt.addEventListener("copy",Gt),()=>{var Zt;(Zt=xe.current)==null||Zt.removeEventListener("copy",Gt)}},[xe.current]),i.createElement("div",{style:{position:"relative"},onMouseLeave:Mt},oe&&i.createElement("div",{ref:xe,className:`${Y.mdBody} `},Te),!oe&&!H(Te)&&i.createElement("div",{ref:xe,style:ue({},Ee),onMouseOver:kt,className:`${I||""} ${ft?"disabled-fill":""} markdown-body ${Y.mdBody} ${lt.current}`,dangerouslySetInnerHTML:{__html:Te}}),!oe&&H(Te)&&i.createElement(z,{html:Te}),i.createElement("div",{ref:Jt,className:`${Y.button} ${k?"":Y.previewFlowChart}`},i.createElement(l.Z,null,i.createElement(y.ZP,{onClick:()=>{k?Ie(yt.current):(Je(yt.current),Ge("flowChart"))}},k?"\u7F16\u8F91":"\u9884\u89C8"))),i.createElement(b.Z,{close:!0,data:cn,type:cn!=null&&cn.length?bt:"",style:ue({},_),onClose:()=>Je("")}))}},50258:function(Pn,Lt,u){"use strict";u.d(Lt,{SV:function(){return Jt},ZP:function(){return ze}});var i=u(59301),U=u(76374);const L={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"]},ce={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"]},j={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(`
|
|
|
`)}]},g={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(`
|
|
|
`)}]},V={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 K=u(53184),l=u.n(K),y=(yt,cn,Je)=>new Promise((bt,Ge)=>{var Ne=Ke=>{try{lt(Je.next(Ke))}catch(H){Ge(H)}},ne=Ke=>{try{lt(Je.throw(Ke))}catch(H){Ge(H)}},lt=Ke=>Ke.done?bt(Ke.value):Promise.resolve(Ke.value).then(Ne,ne);lt((Je=Je.apply(yt,cn)).next())});const P={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"]}},b=(yt,cn,Je,bt)=>{const Ge=cn.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Je.lineNumber,endColumn:Je.column});return Array.from(new Set(Ge.match(/\b\w{2,}\b/g)||[])).map(ne=>({label:ne,kind:yt.languages.CompletionItemKind.Text,insertText:ne,range:bt}))},C=(yt,cn,Je,bt)=>{yt.languages.registerCompletionItemProvider(cn,{provideCompletionItems(Ge,Ne){const ne=Ge.getWordUntilPosition(Ne),lt={startLineNumber:Ne.lineNumber,endLineNumber:Ne.lineNumber,startColumn:ne.startColumn,endColumn:ne.endColumn},Ke=Ge.getLineContent(Ne.lineNumber).substring(ne.startColumn-2,ne.endColumn);return{suggestions:[...b(yt,Ge,Ne,lt),...Je.map(M=>({label:M,kind:yt.languages.CompletionItemKind.Keyword,documentation:M,insertText:M,insertTextRules:yt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt})),...bt.map(M=>({label:M.label,kind:yt.languages.CompletionItemKind.Snippet,documentation:M.content,insertText:Ke.startsWith("#")?M.content.replace(/#/,""):M.content,insertTextRules:yt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt}))]}}})};var w=yt=>{P.languages.forEach(cn=>{yt.languages.registerDocumentFormattingEditProvider(cn,{provideDocumentFormattingEdits(Je){return y(this,null,function*(){const bt=l()(Je.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:Je.getFullModelRange(),text:bt}]})}})}),C(yt,"java",ce.keywords,ce.quickKey),C(yt,"cpp",j.keywords,j.quickKey),C(yt,"c",L.keywords,[]),C(yt,"python",g.keywords,g.quickKey),C(yt,"scala",V.keywords,V.quickKey)};const z="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var W=Object.defineProperty,Y=(yt,cn,Je)=>cn in yt?W(yt,cn,{enumerable:!0,configurable:!0,writable:!0,value:Je}):yt[cn]=Je,$=(yt,cn,Je)=>Y(yt,typeof cn!="symbol"?cn+"":cn,Je);const R=class uc{constructor(cn,Je,bt){this.placeholder=cn,this.editor=Je,this.monaco=bt,Je.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return uc.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)}};$(R,"ID","editor.widget.placeholderHint");var O=R,T=u(96236),ue=u(6767),be=u(25399),he=u(89392),Ue=u(77254),Qe=u(56102),ke=Object.defineProperty,Ze=Object.defineProperties,se=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ie=(yt,cn,Je)=>cn in yt?ke(yt,cn,{enumerable:!0,configurable:!0,writable:!0,value:Je}):yt[cn]=Je,Ee=(yt,cn)=>{for(var Je in cn||(cn={}))I.call(cn,Je)&&ie(yt,Je,cn[Je]);if(k)for(var Je of k(cn))oe.call(cn,Je)&&ie(yt,Je,cn[Je]);return yt},_=(yt,cn)=>Ze(yt,se(cn)),A=(yt,cn)=>{var Je={};for(var bt in yt)I.call(yt,bt)&&cn.indexOf(bt)<0&&(Je[bt]=yt[bt]);if(yt!=null&&k)for(var bt of k(yt))cn.indexOf(bt)<0&&oe.call(yt,bt)&&(Je[bt]=yt[bt]);return Je},fe=(yt,cn,Je)=>new Promise((bt,Ge)=>{var Ne=Ke=>{try{lt(Je.next(Ke))}catch(H){Ge(H)}},ne=Ke=>{try{lt(Je.throw(Ke))}catch(H){Ge(H)}},lt=Ke=>Ke.done?bt(Ke.value):Promise.resolve(Ke.value).then(Ne,ne);lt((Je=Je.apply(yt,cn)).next())});function Be(yt){return/^\d+$/.test(yt)?`${yt}px`:yt}function ft(){}let At=!1;const Ie={"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 it(yt=[]){let cn=yt;if(Array.isArray(yt)){for(let Je=0;Je<yt.length;Je++){let bt=Ie[yt[Je]];if(bt)return bt}return cn[0]}return Ie[cn]||cn}let ht=null;const Tt=()=>fe(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(yt){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",yt)}});var ze=yt=>{var cn=yt,{width:Je="100%",height:bt="100%",value:Ge,language:Ne="javascript",style:ne={},options:lt={},overrideServices:Ke={},theme:H="vs-dark",onEditBlur:M,isCopy:_e=!1,onSave:me,autoHeight:Te=!1,forbidCopy:Fe=!1,forbidCopyTips:Xe,onChange:gt=ft,editorDidMount:de=ft,onFocus:xe=ft,onBreakPoint:Pt=ft,breakPointValue:xt=[],filename:kt="educoder.txt",errorLine:Mt,errorContent:mt="",highlightLine:Gt,openBreakPoint:Zt=!1,placeholder:Re="",showMiniMap:pt=!0}=cn,E=A(cn,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const D=(0,i.useRef)(),rt=(0,i.useRef)({}),te=(0,i.useRef)(),Ae=(0,i.useRef)(),tn=(0,i.useRef)([]),Ce=(0,i.useRef)(!1),Ve=(0,i.useRef)(),ut=(0,i.useRef)(),ye=(0,i.useRef)(!1),[we,tt]=(0,i.useState)(!1);function et(){let zt;return D.current&&(zt=new U.Z(J=>{for(let pe of J)(pe.target.offsetHeight>0||pe.target.offsetWidth>0)&&rt.current.instance.layout()}),zt.observe(D.current)),zt}function X(){ue.ZP.warning({content:decodeURIComponent(Xe||z),key:"monaco-editor-tip"})}const St=()=>{let zt=rt.current.instance;if(Ge!=null&&zt&&we){const J=zt.getModel();J&&Ge!==J.getValue()&&(At=!0,J.setValue(Ge),zt.layout(),At=!1)}};(0,i.useEffect)(()=>{const zt=Ue.Z.subscribe("formatDocument",J=>{var pe;let It=rt.current.instance;(pe=It==null?void 0:It.getAction)==null||pe.call(It,"editor.action.formatDocument").run()});return window.updateMonacoValue=J=>{gt(J)},zt},[]),(0,i.useEffect)(()=>{var zt;let J=rt.current.instance;Ae.current&&clearTimeout(Ae.current),Ae.current=setTimeout(()=>{St()},500),Ge&&(Ge!=null&&Ge.length)&&((zt=J==null?void 0:J.updateOptions)==null||zt.call(J,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Ge.split(/\r\n|\r|\n/g).length))+3,5)}))},[Ge,we,rt.current]),(0,i.useEffect)(()=>{if(Mt&&rt.current&&rt.current.instance){let J=rt.current.instance;J.changeViewZones(function(pe){var It=document.createElement("div");It.style.padding="10px 20px",It.style.width="calc(100% - 20px)",It.className="my-error-line-wrp",It.innerHTML=mt,pe.addZone({afterLineNumber:Mt||11,heightInLines:3,domNode:It})});var zt={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}};J.addOverlayWidget(zt),J.revealPositionInCenter({lineNumber:20,column:1})}},[Mt,rt.current,we]);const Se=(zt="",J)=>{if(!zt||zt.trim()==="")return!0;const It=rt.current.instance.getModel().getLineTokens(J);let Pe=!1;for(let Le=0;Le<2;Le++)It.getStandardTokenType(Le)===1&&(Pe=!0);return Pe};(0,i.useEffect)(()=>{var zt;const J=(zt=rt.current)==null?void 0:zt.instance;if(J&&we&&Fe){const pe=J.onDidBlurEditorWidget(()=>{ye.current=!1}),It=J.onDidFocusEditorText(()=>{ye.current=!0});return()=>{pe.dispose(),It.dispose()}}},[rt.current,we,Fe]),(0,i.useEffect)(()=>{var zt;if((zt=rt.current)!=null&&zt.instance&&we&&Zt){let J=rt.current.instance,pe=J.getModel();if(!pe)return;(()=>{var ot;let wt=[],Qt=[];const Xt=pe.getAllDecorations();for(let ct of Xt)ct.options.className==="highlighted-line"&&(wt.push((ot=ct==null?void 0:ct.range)==null?void 0:ot.startLineNumber),Qt.push(ct==null?void 0:ct.id));if(Gt===wt[0])return;pe.deltaDecorations(Qt,[]);const Ye=pe.getLineCount();Gt&&Gt<=Ye&&(J.deltaDecorations([],[{range:new ht.Range(Gt,1,Gt,pe.getLineMaxColumn(Gt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),J.revealLineInCenter(Gt))})();const Pe=(ot=!1)=>{var wt;let Qt=[],Xt=[];const Ye=pe.getAllDecorations();for(let ct of Ye)ct.options.linesDecorationsClassName==="breakpoints-select"&&(Qt.push((wt=ct==null?void 0:ct.range)==null?void 0:wt.startLineNumber),Xt.push(ct==null?void 0:ct.id));if(ot)return{lines:Qt,ids:Xt};Pt(Qt)},Le=ot=>fe(void 0,null,function*(){let wt={range:new ht.Range(ot,1,ot,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield pe.deltaDecorations([],[wt]),Pe()}),re=ot=>fe(void 0,null,function*(){let wt=[];const Qt=J.getLineDecorations(ot);for(let Xt of Qt)Xt.options.linesDecorationsClassName==="breakpoints-select"&&wt.push(Xt.id);yield pe.deltaDecorations(wt,[]),Pe()}),De=ot=>{let wt=J.getLineDecorations(ot);for(let Qt of wt)if(Qt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,he.isEqual)(xt,Pe(!0).lines)){pe.deltaDecorations(Pe(!0).ids,[]);const ot=xt.map(wt=>({range:new ht.Range(wt,1,wt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));pe.deltaDecorations([],ot)}const $e=J.onDidChangeModelContent(ot=>{let wt=J.getPosition();if(wt){let Qt=wt.lineNumber;clearTimeout(ut.current),ut.current=setTimeout(()=>{Se(pe.getLineContent(Qt),Qt)?re(Qt):De(Qt)?(re(Qt),Le(Qt)):Pe()},100)}}),je=J.onMouseDown(ot=>{var wt,Qt,Xt;if(ot.target.detail&&((Xt=(Qt=(wt=ot.target)==null?void 0:wt.element)==null?void 0:Qt.className)!=null&&Xt.includes("line-numbers"))){let Ye=ot.target.position.lineNumber;if(Se(pe.getLineContent(Ye),Ye))return;De(Ye)?re(Ye):Le(Ye)}}),st=ot=>{let wt={range:new ht.Range(ot,1,ot,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};tn.current=J.deltaDecorations(tn.current,[wt])},qt=()=>{tn.current=J.deltaDecorations(tn.current,[])},ln=J.onMouseMove(ot=>{var wt,Qt,Xt;if(qt(),ot.target.detail&&((Xt=(Qt=(wt=ot.target)==null?void 0:wt.element)==null?void 0:Qt.className)!=null&&Xt.includes("line-numbers"))){let Ye=ot.target.position.lineNumber;if(Se(pe.getLineContent(Ye),Ye))return;st(Ye)}}),Oe=J.onMouseLeave(()=>{qt()});return()=>{$e.dispose(),je.dispose(),ln.dispose(),Oe.dispose()}}},[rt.current,we,xt,Gt,Zt,Ne]),(0,i.useEffect)(()=>{var zt;(zt=rt.current)!=null&&zt.instance&&Zt&&rt.current.instance.setPosition({lineNumber:0,column:0})},[Gt]);function Wt(){let zt=rt.current.instance;if(zt){const J=zt.getSelection(),pe=rt.current.pastePos||{},It=new ht.Range(pe.startLineNumber||J.endLineNumber,pe.startColumn||J.endColumn,pe.endLineNumber||J.endLineNumber,pe.endColumn||J.endColumn);setTimeout(()=>{zt.executeEdits("",[{range:It,text:""}])},300)}}function Kt(zt){(window.navigator.platform.match("Mac")?zt.metaKey:zt.ctrlKey)&&zt.keyCode==83&&(zt.preventDefault(),me())}const Rt=()=>{if(Te&&rt.current.instance){const zt=rt.current.instance.getContentHeight();Ft(zt<bt?bt:zt)}else Ft(bt)};function le(zt){var J=document.createEvent("MouseEvents");J.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),zt.dispatchEvent(J)}const ae=zt=>{if(!ye.current)return;const{keyCode:J,ctrlKey:pe,metaKey:It,target:Pe,type:Le}=zt;return(Le==="paste"||(J===67||J===86)&&(It||pe))&&Pe.nodeName==="TEXTAREA"&&(X(),zt.preventDefault()),!1};function N(zt,J){var pe=window.URL||window.webkitURL||window,It=new Blob([J]),Pe=document.createElementNS("http://www.w3.org/1999/xhtml","a");Pe.href=pe.createObjectURL(It),Pe.download=zt,le(Pe)}(0,i.useEffect)(()=>{Rt()},[Rt]),(0,i.useEffect)(()=>{D.current&&!we&&Promise.all([u.e(8909),u.e(2460)]).then(u.bind(u,71448)).then(zt=>{try{ht=zt,rt.current.instance=ht.editor.create(D.current,{value:Ge,language:it(Ne),theme:H,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:pt||!1}},Ke);const J=rt.current.instance;let Pe=[...T.BH._menuItems].find($e=>$e[0]._debugName=="EditorContext")[1],Le=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],re=($e,je)=>{var st,qt;let ln=$e._first;do je.includes((qt=(st=ln.element)==null?void 0:st.command)==null?void 0:qt.id)&&$e._remove(ln);while(ln=ln.next)};if(de(J,ht),setTimeout(()=>{Rt(),rt.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{N(kt||"educoder.txt",J.getValue())}})},500),rt.current.subscription=J.onDidChangeModelContent($e=>{Ce.current?clearTimeout(Ve.current):(Rt(),gt(J.getValue(),$e)),Ve.current=setTimeout(()=>{Ce.current=!1},500)}),window.Monaco||w(ht,it(Ne)),Fe&&(re(Pe,Le),D.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",ae),window.removeEventListener("paste",ae),window.addEventListener("keydown",ae),window.addEventListener("paste",ae)),window.Monaco=ht,M&&J.onDidBlurEditorWidget(()=>{M(J.getValue())}),xe&&J.onDidFocusEditorText(()=>{Fe&&Tt(),xe(J.getValue())}),Fe){Tt();try{J.onDidPaste($e=>{const je=J.getSelection(),st=rt.current.pastePos||{},qt=new ht.Range(st.startLineNumber||je.endLineNumber,st.startColumn||je.endColumn,st.endLineNumber||je.endLineNumber,st.endColumn||je.endColumn);J.executeEdits("",[{range:$e.range,text:""}])})}catch($e){}}let De=et();return Re&&typeof Re=="string"&&new O(Re,J,ht),tt(!0),()=>{const $e=rt.current.instance;$e.dispose();const je=$e.getModel();je&&je.dispose(),rt.current.subscription&&rt.current.subscription.dispose(),De.unobserve(D.current)}}catch(J){}})},[]),(0,i.useEffect)(()=>{if(rt.current.instance&&we)return document.addEventListener("keydown",Kt,!1),()=>{document.removeEventListener("keydown",Kt)}},[me,we]),(0,i.useEffect)(()=>{let zt=rt.current.instance;if(zt&&we){let J=it(Ne);ht.editor.setModelLanguage(zt.getModel(),J)}},[Ne,we]),(0,i.useEffect)(()=>{rt.current.instance&&we&&ht.editor.setTheme(H)},[H,we]),(0,i.useEffect)(()=>{let zt=rt.current.instance;te.current=lt,zt&&we&&(zt.updateOptions(Ee({},lt)),setTimeout(()=>{zt.getModel().updateOptions(Ee({},lt))},200))},[JSON.stringify(lt),we]),(0,i.useEffect)(()=>{let zt=rt.current.instance;zt&&we&&zt.layout()},[Je,bt,we]);const[_t,dt]=(0,i.useState)(Be(Je)),[nt,Ft]=(0,i.useState)(Be(bt)),Ot=_(Ee({},ne),{width:_t,height:nt,position:"relative"});return i.createElement("div",{className:"my-monaco-editor",ref:D,style:Ot,onFocus:()=>{Fe&&Tt()}},_e&&i.createElement(Qe.CopyToClipboard,{text:Ge,onCopy:()=>ue.ZP.success("\u590D\u5236\u6210\u529F")},i.createElement(be.Z,{title:"\u590D\u5236\u4EE3\u7801"},i.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},i.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Jt({width:yt="100%",height:cn="100%",original:Je,modified:bt,language:Ge,options:Ne={}}){const ne=(0,i.useRef)(),[lt,Ke]=(0,i.useState)(null);function H(Te){let Fe;return ne.current&&(Fe=new U.Z(Xe=>{for(let gt of Xe)(gt.target.offsetHeight>0||gt.target.offsetWidth>0)&&Te.layout()}),Fe.observe(ne.current)),Fe}(0,i.useEffect)(()=>(ne.current&&Promise.all([u.e(8909),u.e(9404)]).then(u.bind(u,2550)).then(Te=>{ht=Te;const Fe=ht.editor.createDiffEditor(ne.current,_(Ee({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},Ne),{wordWrap:!0}));Ke(Fe);let Xe=H(Fe);return()=>{Fe.dispose();const gt=Fe.getModel();gt&>.dispose(),Xe.unobserve(ne.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,i.useEffect)(()=>{lt&<.setModel({original:ht.editor.createModel(Je,Ge),modified:ht.editor.createModel(bt,Ge)})},[Je,bt,Ge,lt]);const M=Be(yt),_e=Be(cn),me={width:M,height:_e};return i.createElement("div",{className:"my-diff-editor",ref:ne,style:me})}},61584:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return P}});var i={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",wrapisCurrent:"wrapisCurrent___qIfQT",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},U=u(29787),L=u(25399),ce=u(89787),j=u(92310),g=u.n(j),V=u(65862),K=u(2524),l=u(59301),P=({className:b,dataSource:C=[],col:w=4,right:z,bottom:W=23,precision:Y=0,wrapWidth:$=1200,trackEventItems:R,loading:G,onRemove:O=()=>{},isCurrent:T=!0,showProgress:ue=!1,showAlias:be=!1,category:he,hiddenClick:Ue})=>{const Qe=Math.floor(($-(w-1)*z)/w),ke=[{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 l.createElement(U.Z,{spinning:G},l.createElement("div",{className:g()(i.list,b)},!!(C!=null&&C.length)&&(C==null?void 0:C.map((Ze,se)=>{var k,I,oe,ie,Ee,_,A,fe,Be,ft,At,Ie,it;const{name:ht,id:Tt,identifier:ze,featured:Jt,school_name:yt,image_url:cn,excellent:Je,is_plan:bt}=Ze;return l.createElement("div",{key:Tt,className:T&&ue?i.wrapisCurrent:i.wrap,style:{width:Qe,marginRight:(1+se)%w===0?0:z+Y,marginBottom:W}},l.createElement("a",{className:i.li,onClick:Ge=>{Ge.preventDefault(),Ge.stopPropagation(),R&&(0,V.L9)([R]),(0,V.xg)(`/paths/${ze}`)}},l.createElement("div",{className:i.img},l.createElement("img",{className:i.cover,src:`${cn}`}),(k=Ze==null?void 0:Ze.subject_tags)==null?void 0:k.map((Ge,Ne)=>{var ne,lt;if(Ne===0){const H=(ne=ke.find(M=>M.name==Ge))==null?void 0:ne.swimg;return l.createElement("img",{className:i.sign,src:H,style:{left:"-4px"}})}const Ke=(lt=ke.find(H=>H.name==Ge))==null?void 0:lt.ptimg;return l.createElement("img",{className:i.sign,src:Ke,style:{left:`${48+52*(Ne-1)+2*Ne}px`}})}),l.createElement("div",{className:i.tagsDom},l.createElement("div",{className:"flex flex-wrap gap-10px item-center"},(Ze==null?void 0:Ze.excellent)&&l.createElement("div",{className:i.bq},"\u5F00\u653E\u8BFE\u7A0B"),((I=Ze==null?void 0:Ze.custom_tags)==null?void 0:I.length)>0&&l.createElement(L.Z,{title:(Ee=(ie=Ze==null?void 0:Ze.custom_tags)==null?void 0:ie[((oe=Ze==null?void 0:Ze.custom_tags)==null?void 0:oe.length)-1])==null?void 0:Ee.tag_name},l.createElement("div",{className:"px-6px rounded-2px c-white h-16px flex item-center",style:{maxWidth:"62px",background:"#3061D0",border:"0.5px solid #8FAFF8"}},l.createElement("span",{className:"multi-llipsis1e text-10px"},(fe=(A=Ze==null?void 0:Ze.custom_tags)==null?void 0:A[((_=Ze==null?void 0:Ze.custom_tags)==null?void 0:_.length)-1])==null?void 0:fe.tag_name))))),he=="hide"&&(Ze==null?void 0:Ze.studying)&&T&&l.createElement("div",{className:`${i.movebq} user-path-items`,onClick:Ge=>{Ge.stopPropagation(),O(Ze)}},l.createElement("i",{className:"iconfont icon-yichu1 font12"}),l.createElement("span",null,"\u79FB\u9664")),!["collect","payed"].includes(he)&&T&&l.createElement("div",{className:`${i.hiddenbq} user-path-items`,onClick:Ge=>{Ge.stopPropagation(),Ue(Ze)}},l.createElement("i",{className:`iconfont ${he=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),l.createElement("span",null,he=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),l.createElement("div",{className:i.name},l.createElement(L.Z,{title:be&&(Ze!=null&&Ze.excellent_alias_name)?l.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${ht}`,l.createElement("br",null),l.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ze==null?void 0:Ze.excellent_alias_name}`)):ht},l.createElement("span",{className:i.e},be&&(Ze==null?void 0:Ze.excellent_alias_name)||ht))),T&&ue&&((Be=Ze==null?void 0:Ze.progress)==null?void 0:Be.all_score)!=0&&l.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},l.createElement(ce.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((ft=Ze==null?void 0:Ze.progress)==null?void 0:ft.my_score)/((At=Ze==null?void 0:Ze.progress)==null?void 0:At.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Ie=Ze==null?void 0:Ze.progress)==null?void 0:Ie.my_score,"/",(it=Ze==null?void 0:Ze.progress)==null?void 0:it.all_score),(!T||!ue)&&l.createElement(L.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${yt}`},l.createElement("div",{className:i.unit},l.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),yt)),(!T||!ue)&&l.createElement("div",{className:i.tags},l.createElement("div",null,l.createElement(L.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},l.createElement("span",null,l.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),l.createElement("span",null,Ze.stages_count))),l.createElement(L.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},l.createElement("span",null,l.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),l.createElement("span",null,Ze.members_count)))))))})),!C.length&&l.createElement(K.Z,null)))}},82636:function(Pn,Lt,u){"use strict";u.d(Lt,{jL:function(){return j},w9:function(){return Be},QD:function(){return kt},cQ:function(){return ie.Z},op:function(){return Xe},O5:function(){return X},_b:function(){return pt},t7:function(){return $},Gi:function(){return Tt},YG:function(){return it},qp:function(){return P},vr:function(){return Gt},qE:function(){return xe},Je:function(){return O},wb:function(){return oe},cq:function(){return bt},tp:function(){return w}});var i=u(59301),U={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"},L="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkE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S/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",j=({dataSource:St=[],img:Se,imgWidth:Wt=346,title:Kt,sunTitle:Rt,bannerExtraContent:le})=>i.createElement("div",{className:U.banner},i.createElement("div",{className:U.content},i.createElement("aside",null,i.createElement("p",null,i.createElement("b",null,Kt),i.createElement("span",null,Rt)),St.length>0&&i.createElement("div",{className:U.btns},St.map((ae,N)=>i.createElement("div",{key:N,onClick:ae.click},ae.name,ae.sign?i.createElement("img",{src:L,width:39}):null))),le),Se&&i.createElement("img",{style:{marginTop:33,marginRight:38},src:Se,width:Wt}))),g={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"},V=u(92310),K=u.n(V),l=u(89392),P=({dataSource:St=[],value:Se,onChange:Wt,onTitleChange:Kt,className:Rt,title:le,titleWidth:ae=41,style:N={},fontColor:_t="#6A7283",showCount:dt})=>{const[nt,Ft]=(0,i.useState)(1),[Ot,zt]=(0,i.useState)(!1),J=(0,i.useRef)(null),pe=(0,i.useRef)(null);return(0,i.useEffect)(()=>{var It;St.length!==0&&(((It=J==null?void 0:J.current)==null?void 0:It.clientHeight)>97?Ft(1):Ft(0)),St.length===0&&Ft(0),zt(!1)},[St]),i.createElement("div",{className:K()(g.row,Rt,"fadeIn","animated"),style:N},i.createElement("div",{onClick:(0,l.throttle)(()=>Kt==null?void 0:Kt(),2e3),style:{width:ae,marginTop:Ot?12:4},className:`${g.title} ${Kt?"current":""}`},le),i.createElement("div",{className:Ot?`${g.tagsWrap} ${g.tagsBorderWrap}`:g.tagsWrap},i.createElement("div",{className:g.bar,ref:pe,style:nt>0?{height:nt===1?97:"auto",overflow:nt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},i.createElement("div",{className:g.tag,ref:J},St==null?void 0:St.map(It=>i.createElement("span",{onClick:()=>Wt(It.id),key:It.id,style:{color:_t},className:Se===It.id?g.active:""},i.createElement("span",{title:It.name,className:g.name},It.name),!!dt&&i.createElement("span",{className:g.num},It.count))))),!!nt&&i.createElement(i.Fragment,null,nt===1?i.createElement("div",{onClick:()=>{var It;Ft(2),((It=J==null?void 0:J.current)==null?void 0:It.clientHeight)>245?zt(!0):zt(!1)},className:g.action},"\u5C55\u5F00",i.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):i.createElement("div",{onClick:()=>{pe.current.scrollTop=0,Ft(1),zt(!1)},className:g.action},"\u6536\u8D77",i.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={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"},w=({dataSource:St=[],value:Se,onChange:Wt,className:Kt,style:Rt={}})=>i.createElement("div",{style:Rt,className:K()(b.tabs,Kt)},St.map(le=>i.createElement("span",{onClick:()=>Wt(le.id),className:Se===le.id?b.active:"",key:le.id},le.name))),z={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"},W=u(37568),$=({dataSource:St=[],value:Se="",onChange:Wt,onInputChange:Kt=()=>{},className:Rt,style:le={},placeholder:ae,allowClear:N=!1})=>{var _t;const[dt,nt]=(0,i.useState)(""),[Ft,Ot]=(0,i.useState)("");(0,i.useEffect)(()=>{var pe;let It=Se;(pe=JSON.stringify(Se))!=null&&pe.includes("{")&&(nt(Se.id),It=Se.value||"");try{Ot(decodeURIComponent(It||""))}catch(Pe){Ot(decodeURIComponent(It||""))}},[Se]);const zt=()=>{Wt(encodeURIComponent(Ft),dt||null)},J=pe=>{pe!==dt&&(nt(pe),Wt(encodeURIComponent(Ft),pe))};return i.createElement("div",{className:K()(z.input,Rt),style:le},!!St.length&&i.createElement("div",{className:z.dropdown},i.createElement("div",{className:z.text},(_t=St.find(pe=>pe.id===dt))==null?void 0:_t.name,i.createElement("i",{className:"iconfont icon-zhankai4"}),i.createElement("b",{className:z.b1}),i.createElement("b",{className:z.b2})),i.createElement("div",{className:z.menu},St.map((pe,It)=>i.createElement("div",{key:It,onClick:()=>J(pe.id)},pe.name)))),i.createElement(W.default,{onPressEnter:zt,value:Ft,onChange:pe=>{Ot(pe.target.value),Kt(encodeURIComponent(pe.target.value),dt||null)},placeholder:ae,variant:"borderless",allowClear:N,onClear:()=>Wt("",dt||null)}),i.createElement("i",{onClick:zt,className:"iconfont icon-sousuo9 font14 current"}))},R={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"},O=({value:St,onChange:Se,className:Wt,total:Kt,pageSize:Rt,style:le={}})=>{const ae=St<2,N=St>=Math.ceil(Kt/Rt);return Kt<=Rt?i.createElement(i.Fragment,null):i.createElement("div",{className:K()(R.quickPager,Wt),style:le},i.createElement("div",{onClick:()=>{ae||Se(St-1,"prev")},className:ae?R.disabled:""},"\u4E0A\u4E00\u9875"),i.createElement("div",{onClick:()=>{N||Se(St+1,"next")},className:N?R.disabled:""},"\u4E0B\u4E00\u9875"))},T={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"},ue=u(29787),be=u(25399),he=u(63139),Ue=u(74128),Qe=u(65862),ke=u(96908),Ze=u(57177),se=u(81378),k=u(2524),oe=({className:St,dataSource:Se=[],col:Wt=4,right:Kt,bottom:Rt=23,precision:le=0,wrapWidth:ae=1200,trackEventItems:N,loading:_t})=>{const dt=Math.floor((ae-(Wt-1)*Kt)/Wt);return i.createElement(ue.Z,{spinning:_t},i.createElement("div",{className:K()(T.list,St)},!!Se.length&&Se.map((nt,Ft)=>{const{name:Ot,id:zt,identifier:J,power:pe,cover_image_id:It,pic:Pe}=nt;return i.createElement("div",{className:T.wrap,key:zt,style:{width:dt,marginRight:(1+Ft)%Wt===0?0:Kt+le,marginBottom:Rt}},i.createElement("a",{target:"_blank",href:`/shixuns/${J}/challenges`,className:T.li,onClick:Le=>{Le.preventDefault(),N&&(0,Qe.L9)([N]),pe&&(0,Qe.xg)(`/shixuns/${J}/challenges`)}},i.createElement("div",{className:T.img},i.createElement("img",{className:T.cover,src:`${Pe}`}),nt.is_jupyter&&i.createElement("img",{className:T.sign,src:ke}),nt.is_jupyter_lab&&i.createElement("img",{className:T.sign,src:Ze}),nt.is_unity_3d&&i.createElement("img",{className:T.sign,src:se})),i.createElement("div",{className:T.name},i.createElement(be.Z,{title:Ot||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},i.createElement("span",{className:T.e},Ot||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),i.createElement("div",{className:T.tags},i.createElement(be.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},i.createElement("span",null,i.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),i.createElement("span",null,nt.challenges_count))),!!nt.myshixuns_count&&i.createElement(be.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},i.createElement("span",null,i.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),i.createElement("span",null,nt.myshixuns_count))),i.createElement(be.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},i.createElement("span",null,i.createElement("span",null,nt.level))),i.createElement("div",{className:T.rate},i.createElement(he.Z,{allowHalf:!0,disabled:!0,defaultValue:nt.score_info}),i.createElement("span",null,"\xA0",nt.score_info?`${nt.score_info}\u5206`:"5\u5206")))),!pe&&i.createElement("div",{className:T.lockWrap},i.createElement("img",{src:`${Ue.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),i.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Se.length&&i.createElement(k.Z,null)))},ie=u(61584),Ee={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",hidden:"hidden___NniIi",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"},_="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYm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6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",A=u(59301),Be=({className:St,dataSource:Se=[],col:Wt=4,right:Kt,bottom:Rt=23,precision:le=0,wrapWidth:ae=1200,trackEventItems:N,loading:_t,category:dt,hiddenClick:nt,handleVery:Ft=()=>!0,isCurrent:Ot})=>{const zt=Math.floor((ae-(Wt-1)*Kt)/Wt);return A.createElement(ue.Z,{spinning:_t},A.createElement("div",{className:K()(Ee.list,St)},!!Se.length&&Se.map((J,pe)=>{const{subject_identifier:It,id:Pe,identifier:Le,power:re}=J,De=J.is_public!=0&&J.is_public;return A.createElement("div",{className:Ee.wrap,key:Pe,style:{width:zt,marginRight:(1+pe)%Wt===0?0:Kt+le,marginBottom:Rt}},A.createElement("a",{className:Ee.li,onClick:$e=>{$e.preventDefault(),Ft(J==null?void 0:J.first_category_url)&&(N&&(0,Qe.L9)([N]),(0,Qe.xg)(J.first_category_url))}},A.createElement("div",{className:Ee.top},A.createElement(be.Z,{title:J.name},A.createElement("div",{className:Ee.name},J.name)),A.createElement("img",{className:Ee.img,src:Ue.Z.IMG_SERVER+"/images/"+J.avatar_url}),A.createElement("div",{className:Ee.text,title:J.creator},J.creator),It&&A.createElement("div",{className:Ee.btns},A.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),A.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),De&&A.createElement("div",{className:Ee.sign},"\u516C\u5F00"),Ot&&A.createElement("div",{className:Ee.hidden,onClick:$e=>{$e.stopPropagation(),nt(J)}},A.createElement("i",{className:`iconfont ${dt=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),dt=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),A.createElement("div",{className:Ee.bottom},J.visits>0&&A.createElement(be.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},A.createElement("span",null,A.createElement("i",{className:"iconfont icon-liulanyan"}),A.createElement("span",null,J.visits))),J.course_members_count>0&&A.createElement(be.Z,{title:"\u6210\u5458",placement:"bottom"},A.createElement("span",null,A.createElement("i",{className:"iconfont icon-chengyuan"}),J.course_members_count)),J.tasks_count>0&&A.createElement(be.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},A.createElement("span",null,A.createElement("i",{className:"iconfont icon-zuoye"}),J.tasks_count)),J.is_end?A.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):A.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!J.is_accessible&&A.createElement("div",{className:Ee.lockWrap},A.createElement("img",{src:`${Ue.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),A.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Se.length&&A.createElement(k.Z,null)))},ft={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"},At=u(65582),it=({dataSource:St=[],value:Se,onChange:Wt,className:Kt,style:Rt={},tabBarExtraContent:le})=>i.createElement("div",{className:K()(ft.tabs,Kt),style:Rt},i.createElement("div",{className:ft.tabsWrap},St.map((ae,N)=>!(ae!=null&&ae.hide)&&i.createElement("aside",{className:ft.tab,onClick:()=>{Wt(ae.id),ae.link&&At.history.push(ae.link)},key:N},i.createElement("div",{className:Se===ae.id?ft.active:""},ae.name),(ae==null?void 0:ae.resetCount)==null&&(ae==null?void 0:ae.total)!==void 0&&i.createElement("span",null,"\uFF08",ae==null?void 0:ae.total,"\uFF09"),(ae==null?void 0:ae.resetCount)!==void 0&&(ae==null?void 0:ae.total)!==void 0&&i.createElement(be.Z,{title:(ae==null?void 0:ae.tip)!=null?ae==null?void 0:ae.tip:""},i.createElement("span",{style:{color:"#9096A3"}},"\uFF08",i.createElement("span",{style:{color:"#000"}},ae==null?void 0:ae.resetCount),"/",i.createElement("span",null,ae==null?void 0:ae.total),"\uFF09"))))),i.createElement("div",{className:ft.tabBar},le)),Tt=({className:St,style:Se={},children:Wt})=>i.createElement("div",{className:K()(St),style:Se},Wt),ze={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"},Jt=u(75727),yt=u(93041);const cn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var bt=({sortValue:St,dropValue:Se,className:Wt,onSort:Kt,onDrop:Rt,dataSource:le=cn})=>{var ae;return i.createElement("div",{className:K()(ze.orderWrap,Wt)},i.createElement(Jt.Z,{dropdownRender:()=>i.createElement(yt.default,null,le.map((N,_t)=>i.createElement(yt.default.Item,{key:_t,onClick:()=>Rt(N.id)},N.name)))},i.createElement("span",{className:ze.orderTextWrap},(ae=le.find(N=>Se===N.id))==null?void 0:ae.name)),i.createElement("span",{className:ze.orderIconWrap},i.createElement("span",{className:ze.orderAsc},i.createElement("i",{className:St==="asc"?`iconfont icon-sanjiaoxing-up font12 ${ze.cursorPointer} ${ze.active}`:`iconfont icon-sanjiaoxing-up font12 ${ze.cursorPointer}`,onClick:()=>Kt(St==="asc"?"desc":"asc")})),i.createElement("span",{className:ze.orderDesc},i.createElement("i",{className:St==="desc"?`iconfont icon-sanjiaoxing-down font12 ${ze.cursorPointer} ${ze.active}`:`iconfont icon-sanjiaoxing-down font12 ${ze.cursorPointer}`,onClick:()=>Kt(St==="asc"?"desc":"asc")}))))},Ge={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"},Ne=u(7939),ne=Object.defineProperty,lt=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,M=(St,Se,Wt)=>Se in St?ne(St,Se,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):St[Se]=Wt,_e=(St,Se)=>{for(var Wt in Se||(Se={}))Ke.call(Se,Wt)&&M(St,Wt,Se[Wt]);if(lt)for(var Wt of lt(Se))H.call(Se,Wt)&&M(St,Wt,Se[Wt]);return St},me=(St,Se)=>{var Wt={};for(var Kt in St)Ke.call(St,Kt)&&Se.indexOf(Kt)<0&&(Wt[Kt]=St[Kt]);if(St!=null&<)for(var Kt of lt(St))Se.indexOf(Kt)<0&&H.call(St,Kt)&&(Wt[Kt]=St[Kt]);return Wt},Te=(St,Se,Wt)=>new Promise((Kt,Rt)=>{var le=_t=>{try{N(Wt.next(_t))}catch(dt){Rt(dt)}},ae=_t=>{try{N(Wt.throw(_t))}catch(dt){Rt(dt)}},N=_t=>_t.done?Kt(_t.value):Promise.resolve(_t.value).then(le,ae);N((Wt=Wt.apply(St,Se)).next())}),Xe=St=>{var Se=St,{className:Wt,style:Kt,children:Rt,loading:le=!1,openLoading:ae,onClick:N=()=>{},size:_t="middle",shape:dt="round"}=Se,nt=me(Se,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Ft,Ot]=(0,i.useState)(!1);return i.createElement(Ne.ZP,_e({onClick:(0,l.throttle)(zt=>Te(void 0,null,function*(){ae&&Ot(!0);try{yield N(zt)}catch(J){console.log("error",J)}ae&&Ot(!1)}),2e3,{leading:!0,trailing:!1}),className:K()(Ge.btn,Ge[`${_t}-${dt}`],Wt),style:Kt,size:_t,shape:dt,loading:Ft||le},nt),Rt)},gt={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"},xe=({className:St,style:Se,children:Wt=null,onClick:Kt,title:Rt})=>i.createElement("div",{className:K()(gt.head,St),style:Se},i.createElement("span",{className:"primary-hover",onClick:Kt},i.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),i.createElement("b",{title:Rt},Rt),i.createElement("div",{className:gt.node},Wt)),Pt={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"},kt=({confirmShow:St=!0,confirmTitle:Se,confirmClick:Wt,cancelShow:Kt=!0,cancelTitle:Rt,cancelClick:le,className:ae,style:N,confirmLoading:_t=!1})=>i.createElement("div",{className:K()(Pt.btns,ae),style:N},St&&i.createElement(Ne.ZP,{loading:_t,onClick:Wt,type:"primary",className:Pt.confirm},Se),Kt&&i.createElement(Ne.ZP,{onClick:le,className:Pt.cancel},Rt)),Mt={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"},Gt=({className:St,style:Se={},LeftContent:Wt,children:Kt,RightContent:Rt})=>i.createElement("div",{className:K()(Mt.fixedBottom,St),style:Se},i.createElement("div",{className:Mt.wrap},i.createElement("div",{className:Mt.left},Wt),i.createElement("div",{className:Mt.center},Kt),i.createElement("div",{className:Mt.right},Rt))),Zt={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"},pt=({className:St,style:Se={},dataSource:Wt=[]})=>i.createElement("div",{className:K()(Zt.crumbs,St),style:Se},Wt.map((Kt,Rt)=>Rt<Wt.length-1?i.createElement(i.Fragment,{key:Rt},Kt.path||Kt.onClick?i.createElement("span",{className:Zt.hover,onClick:Kt!=null&&Kt.onClick?Kt.onClick:()=>At.history.push(Kt.path)},Kt.name):i.createElement("span",null,Kt.name),i.createElement("span",null,"\xA0",">","\xA0")):i.createElement("span",{key:Rt,style:{color:"#5F6368"}},Kt.name))),E=u(11938),D=Object.defineProperty,rt=Object.defineProperties,te=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,tn=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Ve=(St,Se,Wt)=>Se in St?D(St,Se,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):St[Se]=Wt,ut=(St,Se)=>{for(var Wt in Se||(Se={}))tn.call(Se,Wt)&&Ve(St,Wt,Se[Wt]);if(Ae)for(var Wt of Ae(Se))Ce.call(Se,Wt)&&Ve(St,Wt,Se[Wt]);return St},ye=(St,Se)=>rt(St,te(Se)),we=(St,Se)=>{var Wt={};for(var Kt in St)tn.call(St,Kt)&&Se.indexOf(Kt)<0&&(Wt[Kt]=St[Kt]);if(St!=null&&Ae)for(var Kt of Ae(St))Se.indexOf(Kt)<0&&Ce.call(St,Kt)&&(Wt[Kt]=St[Kt]);return Wt};const{Countdown:tt}=E.default;var X=St=>{var Se=St,{onChange:Wt}=Se,Kt=we(Se,["onChange"]);const[Rt,le]=(0,i.useState)(null);(0,i.useEffect)(()=>{typeof Rt=="number"&&Rt>=0&&Wt(Rt)},[Rt]);const ae=N=>{const _t=Math.floor(N/1e3);le(_t)};return i.createElement(tt,ye(ut({},Kt),{onChange:ae}))}},77367:function(Pn,Lt,u){"use strict";u.r(Lt),u.d(Lt,{default:function(){return tn}});var i=u(59301),U=u(65582),L=u(95097),ce=u(66649),j=u.n(ce),g=u(75727),V=u(7939),K=u(6767),l=u(62957),y=u(93041),P=u(62673),b=u(77019),C=u(5269),w=u(82326),z=u(37568),W=u(31691),Y=u(70858),$=u(84022),R=u(25399),G=u(74128),O=u(38147),T={flex_box_center:"flex_box_center___OrR9_",flex_space_between:"flex_space_between___MJLUJ",flex_box_vertical_center:"flex_box_vertical_center___nb0jX",flex_box_center_end:"flex_box_center_end___SMTBe",flex_box_column:"flex_box_column___Utap_",wrap:"wrap___Pp5cX",addQuestion:"addQuestion___LsICJ",content:"content___pWPew",left:"left___axtqk",filterPoint:"filterPoint___rCDO_",filterType:"filterType___NeU0D",btnWarp:"btnWarp___dKZiG",btn:"btn___TqjCT",count:"count___OntqW",btnActive:"btnActive___l_zfx",fold:"fold___KAWcj",action:"action___zMEjv",filterOrigin:"filterOrigin___DneuH",control:"control___qchb1",search:"search___Yb8rf",searchIcon:"searchIcon___ybtbn",table:"table___uHpVy",tabWarp:"tabWarp___Pi38U",customTable:"customTable___WYwKK","btn-style-1":"btn-style-1___Knznb","btn-style-2":"btn-style-2___fEs_r","btn-style-3":"btn-style-3___CeM25",right:"right___ZJhZN",statistics:"statistics___cjSkW",title:"title___P79dp",statisticItem:"statisticItem___qmDRE",rate:"rate___H3sZf",dataName:"dataName___N7Uqb",sort:"sort___N1oiD",rankHeader:"rankHeader___LGNPx",rankIcon:"rankIcon___hbm2T",li:"li___vVOqz",myRecord:"myRecord___qv6iJ",recordPrefix:"recordPrefix____bO3_",mine:"mine___fhCrG",avatar:"avatar___vwT8k",nickname:"nickname___QA_sN",myRank:"myRank___QUd2y",questionNumber:"questionNumber___j4tJF",titleWarp:"titleWarp___Hhoy_",hov:"hov___L_H5a",statusText:"statusText___okgdj",hovBtn:"hovBtn___reyI4",tag:"tag___zifqR",problemsclose:"problemsclose___cfp5y",imgsrc:"imgsrc___E905q",sendModal:"sendModal___jrx6y",bottom:"bottom___pKnLQ",line:"line___kNxnj",del:"del___kXkXv"},ue=u(41867),be=Object.defineProperty,he=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,ke=(Ce,Ve,ut)=>Ve in Ce?be(Ce,Ve,{enumerable:!0,configurable:!0,writable:!0,value:ut}):Ce[Ve]=ut,Ze=(Ce,Ve)=>{for(var ut in Ve||(Ve={}))Ue.call(Ve,ut)&&ke(Ce,ut,Ve[ut]);if(he)for(var ut of he(Ve))Qe.call(Ve,ut)&&ke(Ce,ut,Ve[ut]);return Ce};const se=Ce=>React.createElement("svg",Ze({width:14,height:10,xmlns:"http://www.w3.org/2000/svg"},Ce),React.createElement("title",null,"\u89C6\u9891"),React.createElement("g",{fill:"#C1E2FF",fillRule:"nonzero"},React.createElement("path",{d:"M7.836 9.913H2.297c-.593.072-1.185-.145-1.624-.596a2.444 2.444 0 0 1-.666-1.759v-5.17A2.47 2.47 0 0 1 .679.636c.437-.45 1.025-.671 1.617-.608h5.592c.589-.072 1.176.148 1.607.603.43.454.661 1.096.63 1.757v5.17a2.443 2.443 0 0 1-.664 1.759c-.44.451-1.032.668-1.625.596ZM2.297 1.44c-.468 0-1.026.165-1.026.948v5.17c0 .258 0 .942 1.026.942h5.54c1.024 0 1.024-.684 1.024-.942v-5.17c0-.47-.116-.948-.973-.948h-5.59Z"}),React.createElement("path",{d:"M12.476 9.207a1.781 1.781 0 0 1-1.043-.382L8.86 6.93V3.003l2.575-1.891a1.78 1.78 0 0 1 1.04-.379c.367-.034.73.102 1.003.377.274.275.433.664.44 1.075v5.57c-.007.411-.166.8-.44 1.075a1.248 1.248 0 0 1-1.003.377Zm-2.35-3.036 2.01 1.48c.1.082.218.131.34.143a.29.29 0 0 0 .186-.045l-.007-5.564a.315.315 0 0 0-.179-.04.64.64 0 0 0-.339.144l-2.012 1.475v2.407Zm-5.06.212c-.698 0-1.264-.633-1.264-1.412 0-.78.566-1.411 1.265-1.412.698 0 1.264.632 1.264 1.411 0 .78-.567 1.411-1.265 1.412Z"})));var k="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI0MxRTJGRiIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNNy44MzYgOS45MTNIMi4yOTdjLS41OTMuMDcyLTEuMTg1LS4xNDUtMS42MjQtLjU5NmEyLjQ0NCAyLjQ0NCAwIDAgMS0uNjY2LTEuNzU5di01LjE3QTIu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VdYOfauOkM32jgNyrkMwaIgjwEakZTe/FZHneeuvVktiRLLdV7jA/o3ddzcxK+urU+RvPQj3ytUg2oqnWajDKBaEV737953To6UtIRkeLCATzD4y6eI4Cgve+lCwgwdBbqdqGhLeLz2UYntnLll00OXNA2unrWHdYLWeogezdjK5Fa6J3Vhu6stxJJfHc3OpSbuV6A7mFmKLfTqzYa1gPNqbIwVEfKLkBa09Z6KA/164p5dcgwVGOV9VlIj4dusHUqiNSZhma02J0uDPVwt3dEMrTj9V6IXlt1nx+aPzjWg5wK5lTv6X2u38iw3+e7r/edjQ76RZv1vosAmxX5ixba7Mj/bTLwJ/OqjXyXcOSkAAAAAElFTkSuQmCC",it=u(79274),ht=u(28284),Tt=u(79939),ze=u(53420),Jt=u(31709),yt={flex_box_center:"flex_box_center___bce7B",flex_space_between:"flex_space_between____RQOw",flex_box_vertical_center:"flex_box_vertical_center___AjElL",flex_box_center_end:"flex_box_center_end___ygYIN",flex_box_column:"flex_box_column___lF_tQ",scoremodal:"scoremodal___rmaM8",selectWrapper:"selectWrapper___mvLB7",selectWrappers:"selectWrappers___eCA2w",allqingchu:"allqingchu___qrQxW",title:"title___uaw5Z",score:"score___uJAQp",close:"close___uQVq5",content:"content___JN0bk",items:"items___foPGY",bottom:"bottom___h0Pda",yes:"yes___Et867",no:"no___lWWYt",titlecount:"titlecount___MgcDd",add:"add___NJkmt",search:"search___lc68N",searchIcon:"searchIcon___BUJdX",tabWrap:"tabWrap___KEQVE",previewModal:"previewModal___i8Vh9",q_title:"q_title___k3hA1"},cn=u(3033),Je={flex_box_center:"flex_box_center___IzcTw",flex_space_between:"flex_space_between___TfxiX",flex_box_vertical_center:"flex_box_vertical_center___nDt60",flex_box_center_end:"flex_box_center_end___vHxrY",flex_box_column:"flex_box_column___N9hFV",warp:"warp___CY8df",shixunbutton:"shixunbutton___tmPbr",redio:"redio___mNtYw",redioitem:"redioitem___N2pTb",redioitemyes:"redioitemyes___ooLYK",title:"title___r3t31",titleyes:"titleyes___JiOuB",yestag:"yestag___Yj1nT",qcount:"qcount___b_Lg3",score:"score___Iq_OQ",qtitle:"qtitle___E0xrA",checkbox:"checkbox___p5WZq",checkboxitem:"checkboxitem___Kja1N",checkboxitemyes:"checkboxitemyes___zCxhF",bottom:"bottom___Dg53A",bottomitem:"bottomitem___mx8gr",left:"left___GO9h4",right:"right___IIyn8",completion:"completion___puFVe",content:"content___QCTZ8",items:"items___DN6om",simple:"simple___CjHXs",shixun:"shixun___I_Hrz",combination:"combination___xkm7F",program:"program___FiUNV"},bt=u(24334);const Ge=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var ne=({qitem:Ce})=>{var Ve,ut,ye,we,tt,et,X,St,Se,Wt;return i.createElement("div",{className:Je.warp},i.createElement("div",{className:Je.mainPart},i.createElement("div",{className:Je.qcount},(Ce==null?void 0:Ce.question_type)===8&&i.createElement(L.Z,{className:Je.content,showProgramFill:!0,value:(Ve=Ce==null?void 0:Ce.program_attr)==null?void 0:Ve.description}),(Ce==null?void 0:Ce.question_type)!=8&&i.createElement(L.Z,{className:Je.qtitle,value:(Ce==null?void 0:Ce.name)||(Ce==null?void 0:Ce.title)})),((Ce==null?void 0:Ce.question_type)===0||(Ce==null?void 0:Ce.question_type)===2)&&i.createElement("div",null,(ut=Ce==null?void 0:Ce.choices)==null?void 0:ut.map((Kt,Rt)=>i.createElement("div",{className:Je.redio},!(Kt!=null&&Kt.is_answer)&&i.createElement("span",{className:Je.redioitem}),(Kt==null?void 0:Kt.is_answer)&&i.createElement("i",{className:`${Je.redioitemyes} icon-duigou1`}),i.createElement(L.Z,{className:Kt!=null&&Kt.is_answer?Je.titleyes:Je.title,value:Ge[Rt]+(Kt==null?void 0:Kt.choice_text)}),(Kt==null?void 0:Kt.is_answer)&&i.createElement("div",{className:Je.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ce==null?void 0:Ce.question_type)===1&&i.createElement("div",null,(ye=Ce==null?void 0:Ce.choices)==null?void 0:ye.map((Kt,Rt)=>i.createElement("div",{className:Je.checkbox},!(Kt!=null&&Kt.is_answer)&&i.createElement("span",{className:Je.checkboxitem}),(Kt==null?void 0:Kt.is_answer)&&i.createElement("i",{className:`${Je.checkboxitemyes} icon-duigou1`}),i.createElement(L.Z,{className:Kt!=null&&Kt.is_answer?Je.titleyes:Je.title,value:Ge[Rt]+(Kt==null?void 0:Kt.choice_text)}),(Kt==null?void 0:Kt.is_answer)&&i.createElement("div",{className:Je.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ce==null?void 0:Ce.question_type)===3&&i.createElement("div",{className:Je.completion},(we=Ce==null?void 0:Ce.standard_answer)==null?void 0:we.map((Kt,Rt)=>{var le;return i.createElement("div",{style:{display:"flex"}},i.createElement("span",{className:Je.title},"\u586B\u7A7A\u9879",Rt+1),i.createElement("div",{className:Je.content},(le=Kt==null?void 0:Kt.answer_text)==null?void 0:le.map((ae,N)=>i.createElement("div",{className:Je.items},ae))))})),(Ce==null?void 0:Ce.question_type)===4&&i.createElement("div",{className:Je.simple},i.createElement("div",{className:Je.title},"\u53C2\u8003\u7B54\u6848"),i.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(tt=Ce==null?void 0:Ce.answer_texts)!=null&&tt[0]?i.createElement(L.Z,{className:Je.content,value:(et=Ce==null?void 0:Ce.answer_texts)==null?void 0:et[0]}):i.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(Ce==null?void 0:Ce.question_type)===5&&((X=Ce==null?void 0:Ce.challenge_names)==null?void 0:X.map((Kt,Rt)=>i.createElement("div",{className:Je.shixun},i.createElement("span",{className:Je.qtitle},i.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,At.EM)(Rt+1),"\u9898"),Kt)))),(Ce==null?void 0:Ce.question_type)===6&&i.createElement("div",{className:Je.program},i.createElement(L.Z,{className:Je.content,value:((St=Ce==null?void 0:Ce.program_attr)==null?void 0:St.description)||"- -"})),(Ce==null?void 0:Ce.question_type)===7&&((Se=Ce==null?void 0:Ce.sub_item_banks)==null?void 0:Se.map((Kt,Rt)=>{var le,ae,N,_t,dt;return i.createElement("div",null,i.createElement("div",{className:Je.combination},i.createElement("span",{className:Je.qtitle},Kt==null?void 0:Kt.name)),i.createElement("div",{className:Je.warp,style:{padding:"0px",paddingTop:20}},i.createElement("div",null,((Kt==null?void 0:Kt.item_type)=="SINGLE"||(Kt==null?void 0:Kt.item_type)=="JUDGMENT")&&((le=Kt==null?void 0:Kt.choices)==null?void 0:le.map((nt,Ft)=>i.createElement("div",{className:Je.redio},!(nt!=null&&nt.is_answer)&&i.createElement("span",{className:Je.redioitem}),(nt==null?void 0:nt.is_answer)&&i.createElement("i",{className:`${Je.redioitemyes} icon-duigou1`}),i.createElement(L.Z,{className:nt!=null&&nt.is_answer?Je.titleyes:Je.title,value:Ge[Ft]+(nt==null?void 0:nt.choice_text)}),(nt==null?void 0:nt.is_answer)&&i.createElement("div",{className:Je.yestag},"\u6B63\u786E\u7B54\u6848")))),(Kt==null?void 0:Kt.item_type)=="MULTIPLE"&&((ae=Kt==null?void 0:Kt.choices)==null?void 0:ae.map((nt,Ft)=>i.createElement("div",{className:Je.checkbox},!(nt!=null&&nt.is_answer)&&i.createElement("span",{className:Je.checkboxitem}),(nt==null?void 0:nt.is_answer)&&i.createElement("i",{className:`${Je.checkboxitemyes} icon-duigou1`}),i.createElement(L.Z,{className:nt!=null&&nt.is_answer?Je.titleyes:Je.title,value:Ge[Ft]+(nt==null?void 0:nt.choice_text)}),(nt==null?void 0:nt.is_answer)&&i.createElement("div",{className:Je.yestag},"\u6B63\u786E\u7B54\u6848")))),(Kt==null?void 0:Kt.item_type)=="COMPLETION"&&i.createElement("div",{className:Je.completion},(N=Kt==null?void 0:Kt.standard_answer)==null?void 0:N.map((nt,Ft)=>{var Ot;return i.createElement("div",{style:{display:"flex"}},i.createElement("span",{className:Je.title},"\u586B\u7A7A\u9879",Ft+1),i.createElement("div",{className:Je.content},(Ot=nt==null?void 0:nt.answer_text)==null?void 0:Ot.map((zt,J)=>i.createElement("div",{className:Je.items},zt))))})),(Kt==null?void 0:Kt.item_type)=="SUBJECTIVE"&&i.createElement("div",{className:Je.simple},i.createElement("div",{className:Je.title},"\u53C2\u8003\u7B54\u6848"),i.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(_t=Kt==null?void 0:Kt.answer_texts)!=null&&_t[0]?i.createElement(L.Z,{className:Je.content,value:(dt=Kt==null?void 0:Kt.answer_texts)==null?void 0:dt[0]}):i.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(Ce==null?void 0:Ce.question_type)===8&&i.createElement("div",null,i.createElement(L.Z,{disabledFill:!0,className:Je.content,showProgramFill:!0,value:bt.Base64.decode(((Wt=Ce==null?void 0:Ce.program_attr)==null?void 0:Wt.code)||"")})),(Ce==null?void 0:Ce.question_type)===5&&i.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},i.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},i.createElement("div",{style:{marginRight:30}},i.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),i.createElement("span",{style:{color:"#000000"}},(Ce==null?void 0:Ce.author_name)||"- -")),i.createElement("div",{style:{marginRight:30}},i.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),i.createElement("span",{style:{color:"#000000"}},(Ce==null?void 0:Ce.author_school_name)||"- -")),i.createElement("div",{style:{marginRight:30}},i.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),i.createElement("span",{style:{color:"#000000"}},(Ce==null?void 0:Ce.study_count)||"0"))),i.createElement("a",{className:Je.shixunbutton,href:`/shixuns/${Ce==null?void 0:Ce.identifier}/challenges?exercise=true`,target:"_blank"},i.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((Ce==null?void 0:Ce.question_type)<=4||[6,8].includes(Ce==null?void 0:Ce.question_type))&&i.createElement("div",{className:Je.bottom},i.createElement("div",{className:Je.bottomitem},i.createElement("span",{className:Je.left},"\u89E3\u6790"),i.createElement("span",{className:Je.right},Ce!=null&&Ce.analysis?i.createElement(L.Z,{value:Ce==null?void 0:Ce.analysis}):i.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),i.createElement("div",{className:Je.bottomitem},i.createElement("span",{className:Je.left},"\u96BE\u5EA6"),i.createElement("span",{className:Je.right},(Ce==null?void 0:Ce.difficulty)===1?"\u7B80\u5355":(Ce==null?void 0:Ce.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),i.createElement("div",{className:Je.bottomitem},i.createElement("span",{className:Je.left},"\u77E5\u8BC6\u70B9"),i.createElement("span",{className:Je.right},Ce!=null&&Ce.tag_discipline?Ce==null?void 0:Ce.tag_discipline:i.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},lt=u(64303),Ke=u(96435),H=u(61485),M=u(90463),_e=u(11517),me=u(59301),Te=Object.defineProperty,Fe=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,Pt=(Ce,Ve,ut)=>Ve in Ce?Te(Ce,Ve,{enumerable:!0,configurable:!0,writable:!0,value:ut}):Ce[Ve]=ut,xt=(Ce,Ve)=>{for(var ut in Ve||(Ve={}))de.call(Ve,ut)&&Pt(Ce,ut,Ve[ut]);if(gt)for(var ut of gt(Ve))xe.call(Ve,ut)&&Pt(Ce,ut,Ve[ut]);return Ce},kt=(Ce,Ve)=>Fe(Ce,Xe(Ve)),Mt=(Ce,Ve,ut)=>new Promise((ye,we)=>{var tt=St=>{try{X(ut.next(St))}catch(Se){we(Se)}},et=St=>{try{X(ut.throw(St))}catch(Se){we(Se)}},X=St=>St.done?ye(St.value):Promise.resolve(St.value).then(tt,et);X((ut=ut.apply(Ce,Ve)).next())});const mt=({setScoreShow:Ce,ScoreShow:Ve,onOk:ut,isshixuns:ye,isloadings:we,dispatch:tt,isIntelligentAssistant:et=!1,ispptModal:X=!1,isChangeQuestion:St=!1,newExercisePaper:Se,shixunsDetail:Wt})=>{var Kt,Rt,le;let[ae,N]=(0,i.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:"PROGRAM",per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,bigmodel:et,is_smart_plan:X,group_id:[]}),[_t,dt]=(0,i.useState)([]),[nt,Ft]=(0,i.useState)([]),[Ot,zt]=(0,i.useState)([]),[J,pe]=(0,i.useState)([]);const[It,Pe]=(0,i.useState)(!1),[Le]=ht.default.useForm(),[re,De]=(0,i.useState)(),[$e,je]=(0,i.useState)(!1);let[st,qt]=(0,i.useState)(ye);const[ln,Oe]=(0,i.useState)([]),[ot,wt]=(0,i.useState)(0),[Qt,Xt]=(0,i.useState)(!0),[Ye,ct]=(0,i.useState)([]),[Nt,Bt]=(0,i.useState)([]),Ht=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],vt=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6}];let[an,sn]=(0,i.useState)({gg:{type:"1",page:1,updated_at:"",quotes:"",item_type:null,courseid:"",per_page:10,tag_discipline_id:null,difficulty:null,keyword:null},ttgx:{type:"3",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},scj:{type:"2",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null},wcjd:{type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},yx:{type:"5",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:null}});const gn=(0,i.useRef)(new Set),bn=(0,i.useRef)(new Set),In=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],wn=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],An=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Fn,Mn]=(0,i.useState)(!1),rr=()=>{Le.resetFields(),st=!1,qt(!1),Mn(!1),Le.submit()};(0,i.useEffect)(()=>{var nn,pn,or,tr,ur,lr,Un,fn,dn,xn;(((or=(pn=(nn=Se==null?void 0:Se.editData)==null?void 0:nn.exercise)==null?void 0:pn.exist_item_bank_ids)==null?void 0:or.length)>0||((lr=(ur=(tr=Se==null?void 0:Se.editData)==null?void 0:tr.exercise)==null?void 0:ur.exist_item_bank_shixun_ids)==null?void 0:lr.length)>0)&&Bt([...(fn=(Un=Se==null?void 0:Se.editData)==null?void 0:Un.exercise)==null?void 0:fn.exist_item_bank_ids,...(xn=(dn=Se==null?void 0:Se.editData)==null?void 0:dn.exercise)==null?void 0:xn.exist_item_bank_shixun_ids])},[(Rt=(Kt=Se==null?void 0:Se.editData)==null?void 0:Kt.exercise)==null?void 0:Rt.exist_item_bank_ids]),(0,i.useEffect)(()=>{Ve&&(Le.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),Qt&&st&&(Le.setFieldsValue({item_type:"SHIXUN"}),ae.item_type="SHIXUN",N(xt({},ae)),Xt(!1)),Rn(ae),jn(),Yn({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[Ve]),(0,i.useEffect)(()=>{ot>0&&setTimeout(()=>{wt(0)},2e3)},[ot]);function Rn(nn){return Mt(this,null,function*(){var pn,or,tr;if(Pe(!0),N(xt({},nn)),(Ot==null?void 0:Ot.length)<=0&&nn.type==="5"){pe([]),Pe(!1);return}console.log("----",Ot,ln);let ur=nn.type==="5"?Ot==null?void 0:Ot.filter(fn=>!ln.includes(fn)):null,lr=nn.type==="5"?Ot==null?void 0:Ot.filter(fn=>ln.includes(fn)):null,Un=yield(0,O.ZP)("/api/item_banks.json",{method:"get",params:kt(xt({},nn),{discipline_id:((pn=nn==null?void 0:nn.courseid)==null?void 0:pn[0])||null,sub_discipline_id:((or=nn==null?void 0:nn.courseid)==null?void 0:or[1])||null,ids:ur,shixun_ids:lr,include_shixuns:!et,group_id:((tr=nn.group_id)==null?void 0:tr.map(fn=>fn==null?void 0:fn.value))||null,keyword:nn.keyword?encodeURIComponent(nn.keyword):nn.keyword,type:nn.type==="5"?null:nn.type,clazz:nn.type==="3"?"ItemBanksGroup":null})});pe(Un),Pe(!1)})}function jn(){return Mt(this,null,function*(){let nn=yield(0,O.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:ae.type==="5"?null:ae.type,clazz:"ItemBanksGroup"}});dt((0,cn.L)(nn==null?void 0:nn.disciplines))})}function Yn(nn){return Mt(this,null,function*(){var pn;let or=yield(0,O.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:nn}),tr=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(pn=or==null?void 0:or.data)==null?void 0:pn.map(ur=>({title:ur.name,id:ur.id,pid:ur.id,value:ur.id,key:ur.id,isLeaf:!ur.have_child}))}];ct(tr)})}function er(nn){return Mt(this,null,function*(){var pn,or,tr,ur;Pe(!0);let lr=(pn=nn.list)==null?void 0:pn.filter(dn=>!ln.includes(dn)),Un=(or=nn.list)==null?void 0:or.filter(dn=>ln.includes(dn));if(lr.length===0&&Un.length===0){Pe(!1),pe([]);return}let fn=yield(0,O.ZP)("/api/item_banks.json",{method:"get",params:kt(xt({},nn),{discipline_id:((tr=nn==null?void 0:nn.courseid)==null?void 0:tr[0])||null,sub_discipline_id:((ur=nn==null?void 0:nn.courseid)==null?void 0:ur[1])||null,ids:lr,shixun_ids:Un,type:nn.type==="5"?null:nn.type,clazz:nn.type==="3"?"ItemBanksGroup":null})});Pe(!1),pe(fn)})}const qn=nn=>Mt(void 0,null,function*(){const pn=yield tt({type:"shixunsDetail/release",payload:{id:nn}});let or=pn==null?void 0:pn.tag_position,tr=(pn==null?void 0:pn.evaluation_set_position)||[],ur=pn.status;return ur===0?(K.ZP.success("\u53D1\u5E03\u6210\u529F"),Rn(ae),!0):(ur===2?K.ZP.error(`\u7B2C${tr.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):ur===3?K.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${or.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):K.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),Kn=nn=>(nn==null?void 0:nn.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",Ln=(nn,pn,or)=>nn.map(tr=>tr.key===pn?xt(xt({},tr),or):tr.children?kt(xt({},tr),{children:Ln(tr.children,pn,or)}):tr),zn=nn=>Mt(void 0,null,function*(){const{key:pn}=nn;let or=ae.type;const tr=yield(0,_e.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(pn),type:or}),{data:ur,total_count:lr}=tr||{};lr>0&&ct(Un=>Ln(Un,pn,{children:ur.map(fn=>({title:fn.name,id:fn.id,pid:fn.id,value:fn.id,key:fn.id,isLeaf:!fn.have_child}))}))});function hr(nn){nn==="0"&&(an.wcjd=xt({},ae)),nn==="5"&&(an.yx=xt({},ae)),sn(xt({},an))}function rn(){ae.type==="1"&&(ae=an.gg),ae.type==="2"&&(ae=an.scj),ae.type==="3"&&(ae=an.ttgx),ae.type==="0"&&(ae=an.wcjd),ae.type==="5"&&(ae=an.yx),st=!1,qt(!1),Le.setFieldsValue(xt({},ae)),N(xt({},ae)),Rn(xt({},ae))}return me.createElement("div",null,me.createElement(l.default,{title:!1,footer:!1,open:Ve,width:1200,centered:!0,className:yt.scoremodal,onCancel:()=>{Ce(!1)}},me.createElement("div",{style:{display:"flex",alignItems:"center"}},me.createElement("div",{className:yt.title},"\u9009\u62E9\u7F16\u7A0B\u9898")),me.createElement(W.default,{className:yt.tabWrap,activeKey:ae.type,onChange:nn=>{ae.show_all_share=null,nn==="0"&&Yn({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),hr(ae.type),ae.type=nn,Mn(!1),ae.type==="5"&&(st=!1,qt(!1)),rn(),jn()},items:[{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:me.createElement("div",null,"\u5DF2\u9009",Ot.length>0&&me.createElement("span",{className:yt.titlecount},Ot.length),ot>0&&me.createElement("span",{className:yt.add},"+",ot)),key:"5"}]}),me.createElement(ht.default,{layout:"inline",form:Le,onValuesChange:(nn,pn)=>{const or=Object.values(pn).some(ur=>ur!==null&&ur!==""&&ur!==void 0),tr=pn.keyword==="";Mn(or||!tr),ae.page=1,nn!=null&&nn.courseid&&Le.setFieldsValue({tag_discipline_id:""}),qt(!1),!(nn.keyword||nn.keyword==="")&&Le.submit()},onFinish:nn=>{var pn;ae.type==="3"&&(!nn.group_id||((pn=nn==null?void 0:nn.group_id)==null?void 0:pn.length)===0)?ae.show_all_share=!0:ae.show_all_share=null,N(xt(xt({},ae),nn)),Rn(xt(xt({},ae),nn))}},me.createElement(ht.default.Item,{name:"courseid"},me.createElement(Tt.Z,{className:yt.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:_t})),!st&&me.createElement(ht.default.Item,{name:"tag_discipline_id"},me.createElement(w.default,{className:yt.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(le=J==null?void 0:J.tag_disciplines)==null?void 0:le.map(nn=>me.createElement(w.default.Option,{key:nn.id},nn.name)))),me.createElement(ht.default.Item,{name:st?"diff":"difficulty"},me.createElement(w.default,{className:yt.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},In.map(nn=>me.createElement(w.default.Option,{key:nn.value},nn.name)))),st&&me.createElement(ht.default.Item,{name:"shixun_publish_status"},me.createElement(w.default,{className:yt.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},An.map(nn=>me.createElement(w.default.Option,{key:nn.value},nn.name)))),(ae.type==="3"||ae.type==="0")&&!st&&me.createElement(ht.default.Item,{name:"group_id"},me.createElement(ze.default,{treeDataSimpleMode:!0,style:{width:118},className:yt.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(nn,pn)=>pn.title.toUpperCase().indexOf(nn.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:zn,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:Ye})),Fn&&me.createElement("span",{className:yt.allqingchu,onClick:rr},me.createElement("i",{className:"iconfont icon-guanbi4"}),me.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),me.createElement(ht.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},me.createElement(z.default.Search,{className:yt.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:me.createElement("i",{className:`iconfont icon-sousuo9 font14 ${yt.searchIcon}`,onClick:()=>Le.submit()}),onSearch:nn=>{Le.submit()}}))),me.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},me.createElement("div",{onClick:()=>{ae.updated_at==="asc"?ae.updated_at="desc":ae.updated_at="asc",N(kt(xt({},ae),{page:1})),Rn(kt(xt({},ae),{page:1}))}}," ",ae.updated_at?me.createElement("img",{src:ae.updated_at==="asc"?lt.Z:Ke.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):me.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),me.createElement("div",{onClick:()=>{ae.quotes==="asc"?ae.quotes="desc":ae.quotes="asc",N(kt(xt({},ae),{page:1})),Rn(kt(xt({},ae),{page:1}))},style:{marginLeft:20}}," ",ae.quotes?me.createElement("img",{src:ae.quotes==="asc"?lt.Z:Ke.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):me.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),me.createElement(Y.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(J==null?void 0:J.items)||(J==null?void 0:J.shixun_list),pagination:!1,loading:It,rowKey:nn=>nn.id,rowSelection:{type:"checkbox",selectedRowKeys:nt,getCheckboxProps:nn=>({disabled:nn==null?void 0:nn.added_to_practice}),onSelect(nn,pn,or){if(pn)(st||nn!=null&&nn.challenge_names)&&Oe([...ln,nn.id]),Ft([...nt,nn.id]),nn.identifier?gn.current.add(nn.id):bn.current.add(nn.id),wt(1),zt([...Ot,nn.id]);else{nn.identifier?gn.current.delete(nn.id):bn.current.delete(nn.id);let tr=Ot.filter(ur=>ur!==nn.id);if(Ft(tr),zt(tr),st||nn!=null&&nn.challenge_names){let ur=ln.filter(lr=>lr!==nn.id);Oe([...ur])}if(ae.type==="5"){er(kt(xt({},ae),{list:[...tr]}));return}}},onSelectAll(nn,pn,or){var tr,ur;if(nn){const lr=or.map(fn=>fn.id),Un=(ur=or==null?void 0:or.filter(fn=>fn==null?void 0:fn.challenge_names))==null?void 0:ur.map(fn=>fn.id);Oe([...ln,...Un]),Ft([...nt,...lr]),zt([...Ot,...lr]);for(const fn of or)fn.identifier?gn.current.add(fn.id):bn.current.add(fn.id)}else{const lr=or.map(xn=>xn.id),Un=nt.filter(xn=>!lr.some(Gn=>Gn===xn)),fn=(tr=or==null?void 0:or.filter(xn=>xn==null?void 0:xn.challenge_names))==null?void 0:tr.map(xn=>xn.id);Ft([...Un]),zt([...Un]);let dn=ln.filter(xn=>!fn.some(Gn=>Gn===xn.id));Oe([...dn]),ae.type==="5"&&er(kt(xt({},ae),{list:[...Un]}));for(const xn of lr)xn.identifier?gn.current.delete(xn):bn.current.delete(xn)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(nn,pn,or)=>{var tr,ur;return me.createElement(R.Z,{title:Kn(pn)},me.createElement("div",null,st||pn!=null&&pn.challenge_names?"\u5B9E\u8BAD\u9898":(ur=(tr=Ht==null?void 0:Ht.filter(lr=>lr.value===nn))==null?void 0:tr[0])==null?void 0:ur.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:st?"30%":"60%",key:"name",render:(nn,pn,or)=>{var tr;return me.createElement("div",{style:{display:"flex",alignItems:"center"}},me.createElement(R.Z,{title:Kn(pn)},me.createElement("div",{className:pn!=null&&pn.high_resources_consume?yt.q_title:""},me.createElement(L.Z,{key:1,showLines:1,showTextOnly:!0,value:st||pn!=null&&pn.challenge_names?pn!=null&&pn.title||nn===null?"--":nn:(pn==null?void 0:pn.item_type)=="BPROGRAM"?(tr=pn==null?void 0:pn.program_attr)==null?void 0:tr.description:nn}))),(pn==null?void 0:pn.high_resources_consume)&&me.createElement(M.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!st,render:(nn,pn,or)=>{var tr;return me.createElement(R.Z,{title:Kn(pn)},me.createElement("span",null,nn?(tr=nn==null?void 0:nn.split("\u3001"))==null?void 0:tr[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!st,render:(nn,pn,or)=>me.createElement(R.Z,{title:Kn(pn)},me.createElement("span",null,nn||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(nn,pn,or)=>{var tr,ur,lr,Un;return me.createElement(R.Z,{title:Kn(pn)},me.createElement("div",null,st||pn!=null&&pn.challenge_names?(pn==null?void 0:pn.level)||((ur=(tr=In==null?void 0:In.filter(fn=>fn.value===nn))==null?void 0:tr[0])==null?void 0:ur.name):(Un=(lr=In==null?void 0:In.filter(fn=>fn.value===nn))==null?void 0:lr[0])==null?void 0:Un.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!st,render:(nn,pn,or)=>me.createElement(R.Z,{title:Kn(pn)},me.createElement("div",null,nn||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(nn,pn,or)=>me.createElement(R.Z,{title:Kn(pn)},me.createElement("div",null,st||pn!=null&&pn.challenge_names?(pn==null?void 0:pn.study_count)||(pn==null?void 0:pn.stu_num):nn))},{title:me.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",me.createElement(R.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},me.createElement(H.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!st,render:(nn,pn,or)=>me.createElement(R.Z,{title:Kn(pn)},me.createElement("div",null,nn||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(nn,pn,or)=>me.createElement(R.Z,{title:Kn(pn)},me.createElement("div",{style:{flex:1,textAlign:"start"}},me.createElement("a",{onClick:()=>{var tr,ur;De(kt(xt({},pn),{question_type:st||pn!=null&&pn.challenge_names?5:(ur=(tr=Ht==null?void 0:Ht.filter(lr=>lr.value===(pn==null?void 0:pn.item_type)))==null?void 0:tr[0])==null?void 0:ur.question_type})),je(!0)}},"\u67E5\u770B"),(pn==null?void 0:pn.shixun_tag_num)===1&&me.createElement("a",{style:{marginLeft:10},onClick:()=>{l.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:me.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",me.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${pn==null?void 0:pn.identifier}/challenges`)}},(pn==null?void 0:pn.shixun_name)||"--"),"\uFF1F"),onOk:()=>Mt(void 0,null,function*(){if(!qn(pn==null?void 0:pn.identifier))return new Promise((tr,ur)=>{ur()})})})}},"\u53D1\u5E03")))}].filter(nn=>!nn.hidden)}),me.createElement(Jt.Z,{current:ae.page,total:(J==null?void 0:J.items_count)||(J==null?void 0:J.shixuns_count),style:{marginBottom:20},defaultPageSize:ae.per_page,showTotal:nn=>me.createElement("span",null,"\u5171\xA0",me.createElement("span",{style:{color:"#165DFF"}},nn),"\xA0\u6761\u6570\u636E"),pageSize:ae.per_page,onChange:(nn,pn)=>{ae.page=nn,ae.per_page=pn,N(xt({},ae)),Rn(xt({},ae))}}),me.createElement("div",{className:yt.bottom},me.createElement(V.ZP,{className:yt.no,onClick:()=>{Ce(!1)}},"\u53D6\u6D88"),me.createElement(V.ZP,{loading:we,style:{width:we&&75},className:yt.yes,onClick:()=>Mt(void 0,null,function*(){if((Ot==null?void 0:Ot.length)<=0){K.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}ut([...bn.current],[...gn.current],!0,Ot==null?void 0:Ot.length)})},"\u786E\u8BA4"))),me.createElement(l.default,{open:$e,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:yt.previewModal,width:1e3,centered:!0,onCancel:()=>{je(!1)},onOk:()=>{je(!1)}},me.createElement(ne,{qitem:re})))};var Gt=(0,U.connect)(({shixunsDetail:Ce,newExercisePaper:Ve})=>({shixunsDetail:Ce,newExercisePaper:Ve}))(mt),Zt=Object.defineProperty,Re=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,D=(Ce,Ve,ut)=>Ve in Ce?Zt(Ce,Ve,{enumerable:!0,configurable:!0,writable:!0,value:ut}):Ce[Ve]=ut,rt=(Ce,Ve)=>{for(var ut in Ve||(Ve={}))pt.call(Ve,ut)&&D(Ce,ut,Ve[ut]);if(Re)for(var ut of Re(Ve))E.call(Ve,ut)&&D(Ce,ut,Ve[ut]);return Ce},te=(Ce,Ve,ut)=>new Promise((ye,we)=>{var tt=St=>{try{X(ut.next(St))}catch(Se){we(Se)}},et=St=>{try{X(ut.throw(St))}catch(Se){we(Se)}},X=St=>St.done?ye(St.value):Promise.resolve(St.value).then(tt,et);X((ut=ut.apply(Ce,Ve)).next())});const Ae=({globalSetting:Ce,user:Ve,dispatch:ut})=>{var ye,we,tt,et,X,St,Se,Wt,Kt,Rt,le,ae,N,_t,dt,nt,Ft,Ot;const[zt]=(0,U.useSearchParams)(),J=(0,U.useLocation)(),pe={page:1,per_page:30,tag_discipline_id:[-1],source_discipline_id:[-1],status:null,difficulty:null,search:"",save_search:"",sort_by:null,sort_direction:null,filter:zt.get("tab")||"public"},[It,Pe]=(0,i.useState)(0),[Le,re]=(0,i.useState)(0),[De,$e]=(0,i.useState)(0),[je,st]=(0,i.useState)([]),[qt,ln]=(0,i.useState)([]),[Oe,ot]=(0,i.useState)({}),[wt,Qt]=(0,i.useState)(!1),[Xt,Ye]=(0,i.useState)([]),[ct,Nt]=(0,i.useState)(!0),[Bt,Ht]=(0,i.useState)(null);let[vt,an]=(0,i.useState)(pe);const sn=(0,i.useRef)(null),gn=(0,i.useRef)(null),[bn,In]=(0,i.useState)([]),wn=(0,i.useMemo)(()=>["not_reviewed","under_review","review_finished"].includes(vt.filter),[vt.filter]),[An,Fn]=(0,i.useState)(!1),[Mn,rr]=(0,i.useState)(!1),[Rn,jn]=(0,i.useState)(""),[Yn,er]=(0,i.useState)([]),[qn,Kn]=(0,i.useState)(!1),[Ln,zn]=(0,i.useState)([]),[hr,rn]=(0,i.useState)(!1),[nn,pn]=(0,i.useState)(!1),[or,tr]=(0,i.useState)(null),ur=Ve.userInfo.identity==="teacher",lr=(on,En,br)=>te(void 0,null,function*(){var Dr,Qr,Ar,cr;on.persist(),(Qr=(Dr=on==null?void 0:on.target)==null?void 0:Dr.style)!=null&&Qr.pointerEvents&&(on.target.style.pointerEvents="none");const hi=yield(0,O.ZP)(`/api/practices/${En.identifier}/start`,{method:"get"});if((hi==null?void 0:hi.status)===0){if(br){(0,At.xg)(`/problems/${hi==null?void 0:hi.identifier}/oj/${En==null?void 0:En.identifier}?tab=3`);return}(0,At.xg)(`/problems/${hi==null?void 0:hi.identifier}/oj/${En==null?void 0:En.identifier}`)}(cr=(Ar=on==null?void 0:on.target)==null?void 0:Ar.style)!=null&&cr.pointerEvents&&(on.target.style.pointerEvents="auto")});(0,i.useEffect)(()=>{let on=j()().add(0,"days").unix(),En=localStorage.getItem("problemsclose");if(!En){Kn(!0);return}on>parseInt(En)&&Kn(!0)},[]);const Un=["\u672A\u53D1\u5E03","\u5DF2\u516C\u5F00","\u672A\u5BA1\u6838","\u5BA1\u6838\u4E2D","\u672A\u516C\u5F00","\u672A\u901A\u8FC7"],fn=[{title:"\u9898\u76EE\u540D\u79F0",dataIndex:"name",ellipsis:!0,render:(on,En)=>i.createElement("div",{className:T.titleWarp},(vt==null?void 0:vt.filter)==="mine"?i.createElement("span",{className:T.tag},Un[En.practice_status]):null,i.createElement("span",{title:on,className:T.hov,onClick:br=>lr(br,En)},on))},(vt==null?void 0:vt.filter)==="public"?{title:"\u9898\u89E3",dataIndex:"solution_count",width:100,sorter:!0,render:(on,En)=>i.createElement("span",{style:{display:"flex"}},i.createElement("span",{onClick:br=>lr(br,En,!0),className:"current"},on),(En==null?void 0:En.has_video_solution)&&i.createElement("img",{style:{objectFit:"contain"},className:"ml5",src:k}))}:null,(vt==null?void 0:vt.filter)==="public"?{title:"\u901A\u8FC7\u7387",dataIndex:"pass_ratio",sorter:!0,width:90}:null,{title:"\u96BE\u5EA6",dataIndex:"difficulty",sorter:!0,align:"left",width:90,render:on=>i.createElement(i.Fragment,null,on===1&&i.createElement("span",{className:T["btn-style-1"]},"\u7B80\u5355"),on===2&&i.createElement("span",{className:T["btn-style-2"]},"\u9002\u4E2D"),on===3&&i.createElement("span",{className:T["btn-style-3"]},"\u56F0\u96BE"))},(vt==null?void 0:vt.filter)==="public"?{title:"\u4EBA\u6570",dataIndex:"user_count",align:"center",sorter:!0,width:80}:null,(vt==null?void 0:vt.filter)==="public"?{title:"\u72B6\u6001",dataIndex:"status",width:94,render:(on,En)=>(0,ue.bg)()?i.createElement(i.Fragment,null,Bt===(En==null?void 0:En.identifier)?i.createElement("span",{className:T.hovBtn,onClick:br=>lr(br,En)},"\u5F00\u542F\u5237\u9898"):i.createElement(i.Fragment,null,on===0&&i.createElement("span",{className:T.statusText},"\u672A\u5F00\u542F"),on===1&&i.createElement("span",{className:T.statusText},"\u8FDB\u884C\u4E2D"),on===2&&i.createElement("span",{className:T.statusText},"\u5DF2\u901A\u8FC7"))):"-"}:null,(vt==null?void 0:vt.filter)!=="public"?{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_disciplines_name",ellipsis:!0,width:200,render:on=>i.createElement("span",null,on==null?void 0:on.join("\u3001"))}:null,(vt==null?void 0:vt.filter)==="all"?{title:"\u521B\u5EFA\u8005",dataIndex:"creator",ellipsis:!0,width:100}:null,(vt==null?void 0:vt.filter)!=="public"?{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",sorter:!0,width:180}:null,(0,ue.Ny)()?{title:"\u64CD\u4F5C",dataIndex:"action",key:"action",align:"right",width:80,render:(on,En)=>i.createElement(g.Z,{className:"ml10",dropdownRender:()=>_r(En==null?void 0:En.identifier,En)},i.createElement("span",{style:{cursor:"default"},onClick:br=>br.preventDefault()},i.createElement("span",null,"\u66F4\u591A"),i.createElement("i",{style:{display:"inline-block",transform:"scale(0.6)",fontSize:12},className:"c-grey-c iconfont icon-xiajiantou1"})))}:wt&&(vt==null?void 0:vt.filter)!=="public"?{title:"\u64CD\u4F5C",dataIndex:"action",key:"action",align:"right",width:80,render:(on,En)=>En!=null&&En.is_self&&(En==null?void 0:En.practice_status)!==1?i.createElement(g.Z,{className:"ml10",dropdownRender:()=>Xr(En==null?void 0:En.identifier,En)},i.createElement("span",{style:{cursor:"default"},onClick:br=>br.preventDefault()},i.createElement("span",null,"\u66F4\u591A"),i.createElement("i",{style:{display:"inline-block",transform:"scale(0.6)",fontSize:12},className:"c-grey-c iconfont icon-xiajiantou1"}))):"-"}:null].filter(on=>!!on),dn=[{title:"\u9898\u76EE\u540D\u79F0",dataIndex:"name",ellipsis:!0,render:(on,En)=>i.createElement("span",{className:T.hov,onClick:br=>lr(br,En)},on)},{title:"\u96BE\u5EA6",dataIndex:"difficulty",sorter:!0,align:"left",width:90,render:on=>i.createElement(i.Fragment,null,on===1&&i.createElement("span",{className:T["btn-style-1"]},"\u7B80\u5355"),on===2&&i.createElement("span",{className:T["btn-style-2"]},"\u9002\u4E2D"),on===3&&i.createElement("span",{className:T["btn-style-3"]},"\u56F0\u96BE"))},(vt==null?void 0:vt.filter)==="not_reviewed"?{title:"\u521B\u5EFA\u8005",dataIndex:"creator",ellipsis:!0,width:100}:{title:"\u5BA1\u6838\u8005",dataIndex:"reviewer",ellipsis:!0,width:100},(vt==null?void 0:vt.filter)==="not_reviewed"?{title:"\u53D1\u5E03\u65F6\u95F4",dataIndex:"submit_time",width:180}:null,(vt==null?void 0:vt.filter)==="under_review"?{title:"\u5F00\u59CB\u5BA1\u6838\u65F6\u95F4",dataIndex:"start_review_time",width:180}:null,(vt==null?void 0:vt.filter)==="review_finished"?{title:"\u6700\u540E\u5BA1\u6838\u65F6\u95F4",dataIndex:"review_time",width:180}:null,{title:"\u64CD\u4F5C",dataIndex:"action",key:"action",align:"center",width:120,render:(on,En)=>{let br;switch(vt==null?void 0:vt.filter){case"under_review":br=i.createElement("div",{style:{display:"flex"}},i.createElement(V.ZP,{type:"link",size:"small",onClick:Dr=>lr(Dr,En)},"\u5BA1\u6838"),i.createElement(V.ZP,{type:"link",style:{color:"#666"},size:"small",onClick:Dr=>gr({e:Dr,record:En,op:"release"})},"\u79FB\u51FA"));break;case"review_finished":br=i.createElement(V.ZP,{type:"link",size:"small",onClick:Dr=>{Fn(!0),xn(En)}},"\u5BA1\u6838\u8BB0\u5F55");break;default:br=i.createElement(V.ZP,{type:"link",block:!0,onClick:Dr=>gr({e:Dr,record:En,op:"claim"})},"\u5F00\u59CB\u5BA1\u6838");break}return br}}].filter(on=>!!on),xn=on=>te(void 0,null,function*(){er([]);const En=yield(0,O.ZP)(`/api/practices/${on.identifier}/review_list`,{method:"get"});er(En==null?void 0:En.reviews_list)}),Gn=[{title:"\u5BA1\u6838\u65F6\u95F4",dataIndex:"review_time",key:"review_time",render:(on,En)=>i.createElement("span",null,j()(on).format("YYYY-MM-DD HH:mm:ss"))},{title:"\u5BA1\u6838\u8005",dataIndex:"reviewer",key:"reviewer"},{title:"\u5BA1\u6838\u7ED3\u679C",dataIndex:"status",width:120,key:"status",render:(on,En)=>on==="5"||on===5?i.createElement("div",{style:{display:"flex",alignItems:"center"}},i.createElement("div",{style:{color:"#333333",marginRight:"5px",whiteSpace:"nowrap"}},"\u672A\u901A\u8FC7"),i.createElement("div",{style:{color:"#0152d9",whiteSpace:"nowrap",cursor:"pointer"},onClick:()=>{jn(En.description),rr(!0)}},"\u67E5\u770B\u539F\u56E0")):i.createElement("span",null,"\u5DF2\u901A\u8FC7")}];(0,i.useEffect)(()=>{Zn(),Xn(vt)},[]),(0,i.useEffect)(()=>{var on;je.length!==0&&((on=sn==null?void 0:sn.current)==null?void 0:on.clientHeight)>98&&Pe(1)},[je]),(0,i.useEffect)(()=>{var on;qt.length!==0&&((on=gn==null?void 0:gn.current)==null?void 0:on.clientHeight)>98&&re(1)},[qt]),(0,i.useEffect)(()=>(ut({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),()=>{ut({type:"globalSetting/onlyShowBackTopToggle",payload:!0})}),[]),(0,i.useEffect)(()=>{var on;(document.title==="\u4EBA\u5DE5\u667A\u80FD\u79D1\u7814\u670D\u52A1\u5E73\u53F0"||document.title==="\u9996\u9875"||document.title==="\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0"||(on=document.title)!=null&&on.includes("img"))&&(document.title="\u5728\u7EBF\u5237\u9898")},[Ce]),(0,i.useEffect)(()=>(document.body.setAttribute("data-custom","initial"),()=>{document.body.removeAttribute("data-custom")}),[]);const Xn=on=>te(void 0,null,function*(){var En,br;on.search=encodeURIComponent(on.search);const Dr=ft().cloneDeep(on);Dr.tag_discipline_id=(En=Dr.tag_discipline_id)!=null&&En.includes(-1)?[]:Dr.tag_discipline_id,Dr.source_discipline_id=(br=Dr.source_discipline_id)!=null&&br.includes(-1)?[]:Dr.source_discipline_id,console.log(Dr,"sendData"),Nt(!0),Ye([]);const Qr=yield(0,O.ZP)("/api/practices.json",{method:"get",params:Dr});In([]),Nt(!1),$e(Qr==null?void 0:Qr.practices_count),Ye(Qr==null?void 0:Qr.practices_list),zn((Qr==null?void 0:Qr.recommend_subjects)||[])}),gr=on=>te(void 0,[on],function*({op:En,description:br,record:Dr,e:Qr}){const Ar={op:En,description:br};Nt(!0);const cr=yield(0,O.ZP)(`/api/practices/${Dr.identifier}/review`,{method:"post",body:Ar});Nt(!1),En==="claim"&&(cr.status===0||cr.status==="0")&&lr(Qr,Dr),Xn(vt)}),Er=on=>te(void 0,null,function*(){Nt(!0);const En=yield(0,O.ZP)(`/api/practices/${on.identifier}/publish`,{method:"post"});Nt(!1),Xn(vt)}),Zn=()=>te(void 0,null,function*(){var on;const En=yield(0,O.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:"practice",position:"index"}}),br=yield(0,O.ZP)("/api/tag_disciplines.json",{method:"get",params:{target:"practice_source",position:"index"}}),Dr=yield(0,O.ZP)("/api/mypractices/rank_list",{method:"get",params:{}});if(En!=null&&En.tag_disciplines){const Qr=[{id:-1,name:"\u5168\u90E8",count:En==null?void 0:En.totalCount},...En==null?void 0:En.tag_disciplines];st(Qr)}if(br!=null&&br.tag_disciplines){const Qr=[{id:-1,name:"\u5168\u90E8",count:br==null?void 0:br.totalCount},...br==null?void 0:br.tag_disciplines];ln(Qr)}ot(Dr||{}),Qt((on=Dr==null?void 0:Dr.my_record)==null?void 0:on.outsource)}),Cr=(on,En)=>{var br;vt.page=1;let Dr=vt[`${En}_discipline_id`];(br=vt[`${En}_discipline_id`])!=null&&br.includes(on)?Dr=Dr.filter(Qr=>Qr!==on):Dr.push(on),on===-1?Dr=[-1]:(Dr=Dr.filter(Qr=>Qr!==-1),Dr.length||(Dr=[-1])),vt[`${En}_discipline_id`]=Dr,an(rt({},vt)),Xn(vt)},wr=(on,En)=>{vt.page=1,vt[En]=typeof on=="number"?on:null,an(rt({},vt)),Xn(vt)},Kr=on=>{vt.page=1,vt.save_search=on,an(rt({},vt))},Fr=(on,En,br)=>{vt.page=on==null?void 0:on.current,vt.per_page=on==null?void 0:on.pageSize,br!=null&&br.order?(vt.sort_by=br==null?void 0:br.field,vt.sort_direction=(br==null?void 0:br.order)==="ascend"?"asc":"desc"):(vt.sort_by=null,vt.sort_direction=null),an(rt({},vt)),Xn(vt)},Lr=on=>{vt.page=1,vt.filter=on,vt.status=null,vt.practice_status=null,an(rt({},vt)),Xn(vt)},Sr=(on,En)=>{if((En==null?void 0:En.length)===0){K.ZP.warning("\u8BF7\u9009\u62E9\u8BD5\u9898");return}const br=()=>te(void 0,null,function*(){const Dr=yield(0,O.ZP)("/api/practices/batch_op.json",{method:"post",body:{identifier:En,op:on}});if((Dr==null?void 0:Dr.status)===0){const Qr=Xt.length===1&&vt.page!==1?vt.page-1:vt.page;vt.page=Qr,an(rt({},vt)),Xn(vt)}});if(on===-1){l.default.confirm({centered:!0,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u5220\u9664\u786E\u8BA4",icon:null,className:"custom-modal-divider",content:"\u5220\u9664\u540E\u9898\u76EE\u5C06\u4E0D\u53EF\u518D\u627E\u56DE\u3002",onOk:br});return}br()},Zr=i.createElement(y.default,null,(vt==null?void 0:vt.filter)==="public"?i.createElement(y.default.Item,{onClick:()=>Sr(0,bn)},"\u6279\u91CF\u79FB\u51FA\u516C\u5171"):[i.createElement(y.default.Item,{key:2,onClick:()=>Sr(1,bn)},"\u6279\u91CF\u79FB\u5165\u516C\u5171"),i.createElement(y.default.Item,{key:1,onClick:()=>Sr(0,bn)},"\u6279\u91CF\u79FB\u51FA\u516C\u5171")],(0,ue.Ny)()&&i.createElement(y.default.Item,{onClick:()=>Or()},"\u53D1\u9001\u81F3\u8BD5\u9898\u5E93"),(vt==null?void 0:vt.filter)!=="public"&&i.createElement(y.default.Item,{onClick:()=>Sr(-1,bn)},"\u6279\u91CF\u5220\u9664")),_r=(on,En)=>i.createElement(y.default,null,(En==null?void 0:En.practice_status)===1?i.createElement(y.default.Item,{onClick:()=>Sr(0,[on])},"\u79FB\u51FA\u516C\u5171"):i.createElement(y.default.Item,{onClick:()=>Sr(1,[on])},"\u79FB\u5165\u516C\u5171"),(vt==null?void 0:vt.filter)==="mine"?i.createElement(y.default.Item,{onClick:()=>Er(En),disabled:![0,4,5].includes(En.practice_status)},[0,4,5].includes(En.practice_status)?"\u53D1\u5E03\u5BA1\u6838":"\u5DF2\u53D1\u5E03\u5BA1\u6838"):null,i.createElement(y.default.Item,{onClick:()=>(0,At.xg)(`/problems/${on}/ojedit`)},"\u7F16\u8F91"),(vt==null?void 0:vt.filter)!=="public"&&i.createElement(y.default.Item,{onClick:()=>Sr(-1,[on])},"\u5220\u9664")),Xr=(on,En)=>i.createElement(y.default,null,i.createElement(y.default.Item,{onClick:()=>Er(En),disabled:![0,4,5].includes(En.practice_status)},[0,4,5].includes(En.practice_status)?"\u53D1\u5E03\u5BA1\u6838":"\u5DF2\u53D1\u5E03\u5BA1\u6838"),i.createElement(y.default.Item,{onClick:()=>(0,At.xg)(`/problems/${on}/ojedit`)},"\u7F16\u8F91"),i.createElement(y.default.Item,{onClick:()=>Sr(-1,[on])},"\u5220\u9664")),Ir=on=>{In(on)},Or=()=>{if(!bn.length){K.ZP.warning("\u8BF7\u9009\u62E9\u53D1\u9001\u81F3\u8BD5\u9898\u5E93\u7684\u7F16\u7A0B\u5237\u9898");return}let on=null;l.default.confirm({centered:!0,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u53D1\u9001\u81F3\u8BD5\u9898\u5E93",icon:null,className:"custom-modal-divider",content:i.createElement("div",null,i.createElement("p",{className:"mt20"},"\u5DF2\u9009",i.createElement("span",{className:"c-light-primary"},bn.length),"\u4E2D\u4E2A\u7F16\u7A0B\u5237\u9898\u53D1\u9001\u81F3\u8BD5\u9898\u5E93\u6210\u4E3A\u7F16\u7A0B\u9898"),i.createElement("div",null,"\u8BF7\u9009\u62E9\u7F16\u7A0B\u9898\u7684\u8BED\u8A00\uFF1A"),i.createElement(P.default.Group,{className:"mt3",onChange:En=>{on=En,document.getElementById("send-to-modal").style.display="none"}},i.createElement(P.default,{value:"c"},"C\u8BED\u8A00"),i.createElement(P.default,{value:"c++"},"C++\u8BED\u8A00"),i.createElement(P.default,{value:"java"},"Java\u8BED\u8A00"),i.createElement(P.default,{value:"python"},"Python\u8BED\u8A00")),i.createElement("div",{id:"send-to-modal",style:{color:"#E30000",display:"none"}},"\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00")),onOk:()=>te(void 0,null,function*(){if(!(on!=null&&on.length))return document.getElementById("send-to-modal").style.display="block",Promise.reject();const En=yield(0,O.ZP)("/api/practices/send_to_item_bank.json",{method:"post",body:{identifiers:bn,language:on}});(En==null?void 0:En.status)===0&&K.ZP.success("\u53D1\u9001\u6210\u529F")})})},Nr={selectedRowKeys:bn,columnWidth:40,onChange:Ir};return i.createElement("section",{className:T.wrap},i.createElement(fe.jL,{img:Ee,title:"\u7F16\u7A0B\u5237\u9898",sunTitle:"\u5FEB\u901F\u63D0\u9AD8\u7F16\u7A0B\u80FD\u529B",bannerExtraContent:i.createElement(g.Z,{dropdownRender:()=>{var on,En;return i.createElement(y.default,null,i.createElement(y.default.Item,{key:1,onClick:()=>{U.history.push("/problems/add")}},"\u65B0\u5EFA\u9898\u76EE"),i.createElement(y.default.Item,{key:2,onClick:()=>{U.history.push("/problems/batchAdd")}},"\u6279\u91CF\u5BFC\u5165\u9898\u76EE"),!((on=Ce==null?void 0:Ce.setting)!=null&&on.main_site)&&!((En=Ce==null?void 0:Ce.setting)!=null&&En.is_local)&&i.createElement(y.default.Item,{key:3,onClick:()=>{tr(!0)}},"\u4ECE\u9898\u5E93\u4E2D\u9009\u9898"))}},i.createElement("div",{className:T.addQuestion,style:{visibility:(0,ue.Ny)()||wt||!((ye=Ce==null?void 0:Ce.setting)!=null&&ye.main_site)&&!((we=Ce==null?void 0:Ce.setting)!=null&&we.is_local)&&(0,ue.EO)()?"visible":"hidden"}},i.createElement("span",null,"\u65B0\u5EFA\u9898\u76EE")))}),i.createElement("div",{className:T.content},i.createElement("div",{className:T.left},i.createElement(b.Z,{className:`${T.filterPoint} mb10`,align:"top"},i.createElement(C.Z,{className:T.filterType},"\u77E5\u8BC6\u70B9"),i.createElement(C.Z,{className:T.btnWarp,ref:sn,style:It>0?{height:It===1?76:"auto"}:{}},je==null?void 0:je.map(on=>{var En;return i.createElement("div",{onClick:()=>Cr(on.id,"tag"),key:on.id,className:(En=vt==null?void 0:vt.tag_discipline_id)!=null&&En.includes(on.id)?`${T.btn} ${T.btnActive}`:T.btn},i.createElement("span",{title:on.name},on.name),i.createElement("span",{className:T.count,style:{display:on.count?"block":"none"}},on.count))})),!!It&&i.createElement(C.Z,{className:T.fold},It===1?i.createElement("div",{onClick:()=>Pe(2),className:T.action},"\u5C55\u5F00",i.createElement("i",{style:{transform:"scale(0.5)"},className:"iconfont icon-zhankai4"})):i.createElement("div",{onClick:()=>Pe(1),className:T.action},"\u6536\u8D77",i.createElement("i",{style:{transform:"scale(0.5)"},className:"iconfont icon-shouqi3"})))),!!qt.length&&i.createElement(b.Z,{className:T.filterPoint,align:"top",style:{marginBottom:22}},i.createElement(C.Z,{className:T.filterType},"\u6765\u6E90"),i.createElement(C.Z,{className:T.btnWarp,ref:gn,style:Le>0?{height:Le===1?76:"auto"}:{}},qt==null?void 0:qt.map(on=>{var En;return i.createElement("div",{onClick:()=>Cr(on.id,"source"),key:on.id,className:(En=vt==null?void 0:vt.source_discipline_id)!=null&&En.includes(on.id)?`${T.btn} ${T.btnActive}`:T.btn},i.createElement("span",{title:on.name},on.name),i.createElement("span",{className:T.count},on.count))}),!!Le&&i.createElement(C.Z,{className:T.fold},Le===1?i.createElement("div",{onClick:()=>re(2),className:T.action},"\u5C55\u5F00",i.createElement("i",{style:{transform:"scale(0.5)"},className:"iconfont icon-zhankai4"})):i.createElement("div",{onClick:()=>re(1),className:T.action},"\u6536\u8D77",i.createElement("i",{style:{transform:"scale(0.5)"},className:"iconfont icon-shouqi3"}))))),i.createElement("div",{className:T.control},i.createElement(w.default,{suffixIcon:i.createElement("i",{className:"iconfont icon-a-bianzu11"}),allowClear:!0,placeholder:"\u96BE\u5EA6",value:vt==null?void 0:vt.difficulty,onChange:on=>wr(on,"difficulty")},i.createElement(w.default.Option,{value:1},"\u7B80\u5355"),i.createElement(w.default.Option,{value:2},"\u9002\u4E2D"),i.createElement(w.default.Option,{value:3},"\u56F0\u96BE")),(0,ue.bg)()&&vt.filter==="public"&&i.createElement(w.default,{suffixIcon:i.createElement("i",{className:"iconfont icon-a-bianzu11"}),allowClear:!0,placeholder:"\u72B6\u6001",value:vt==null?void 0:vt.status,onChange:on=>wr(on,"status")},i.createElement(w.default.Option,{value:0},"\u672A\u5F00\u542F"),i.createElement(w.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),i.createElement(w.default.Option,{value:2},"\u5DF2\u901A\u8FC7")),(0,ue.bg)()&&vt.filter==="mine"&&i.createElement(w.default,{suffixIcon:i.createElement("i",{className:"iconfont icon-a-bianzu11"}),allowClear:!0,placeholder:"\u72B6\u6001",value:vt==null?void 0:vt.practice_status,onChange:on=>wr(on,"practice_status")},i.createElement(w.default.Option,{value:0},"\u672A\u53D1\u5E03"),i.createElement(w.default.Option,{value:1},"\u5DF2\u516C\u5F00"),i.createElement(w.default.Option,{value:2},"\u672A\u5BA1\u6838"),i.createElement(w.default.Option,{value:3},"\u5BA1\u6838\u4E2D"),i.createElement(w.default.Option,{value:4},"\u672A\u516C\u5F00"),i.createElement(w.default.Option,{value:5},"\u672A\u901A\u8FC7")),(0,ue.bg)()&&vt.filter==="all"&&i.createElement(w.default,{suffixIcon:i.createElement("i",{className:"iconfont icon-a-bianzu11"}),allowClear:!0,placeholder:"\u72B6\u6001",value:vt==null?void 0:vt.practice_status,onChange:on=>wr(on,"practice_status")},i.createElement(w.default.Option,{value:0},"\u672A\u53D1\u5E03"),i.createElement(w.default.Option,{value:1},"\u5DF2\u516C\u5F00"),i.createElement(w.default.Option,{value:2},"\u672A\u5BA1\u6838"),i.createElement(w.default.Option,{value:3},"\u5BA1\u6838\u4E2D"),i.createElement(w.default.Option,{value:4},"\u672A\u516C\u5F00"),i.createElement(w.default.Option,{value:5},"\u672A\u901A\u8FC7")),i.createElement(z.default.Search,{className:T.search,size:"large",suffix:i.createElement("i",{className:`iconfont icon-sousuo9 font14 ${T.searchIcon}`,onClick:()=>{vt.page=1,vt.search=vt.save_search,an(rt({},vt)),vt.save_search&&(0,it.tk)({name:vt.save_search,copywriting:vt.save_search,position:"Practice"}),Xn(vt)}}),placeholder:(0,ue.Ny)()?"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u3001\u521B\u5EFA\u8005\u641C\u7D22":"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u641C\u7D22",value:vt==null?void 0:vt.save_search,onChange:on=>Kr(on.target.value),onSearch:on=>{vt.page=1,vt.search=vt.save_search,an(rt({},vt)),on&&(0,it.tk)({name:on,copywriting:on,position:"Practice"}),Xn(vt)}})),i.createElement("div",{className:T.table},i.createElement("div",{className:T.tabWarp,style:(0,ue.Ny)()||wt?{}:{height:10,border:0}},(0,ue.Ny)()?i.createElement(W.default,{className:T.tab,activeKey:wn?"not_reviewed":vt.filter,onChange:Lr,tabBarExtraContent:!wn&&i.createElement(g.Z,{dropdownRender:()=>Zr},i.createElement("span",{className:"ant-dropdown-link font14 current",onClick:on=>on.preventDefault()},"\u6279\u91CF\u64CD\u4F5C ",i.createElement("i",{style:{display:"inline-block",transform:"scale(0.6)",fontSize:12},className:"iconfont icon-xiajiantou1"})))},i.createElement(W.default.TabPane,{tab:"\u516C\u5171",key:"public"}),i.createElement(W.default.TabPane,{tab:"\u5168\u90E8",key:"all"}),i.createElement(W.default.TabPane,{tab:"\u6211\u521B\u5EFA\u7684",key:"mine"}),i.createElement(W.default.TabPane,{tab:"\u5BA1\u6838\u5217\u8868",key:"not_reviewed"})):wt?i.createElement(W.default,{className:T.tab,activeKey:wn?"not_reviewed":vt.filter,onChange:Lr},i.createElement(W.default.TabPane,{tab:"\u516C\u5171",key:"public"}),i.createElement(W.default.TabPane,{tab:"\u6211\u521B\u5EFA\u7684",key:"mine"}),i.createElement(W.default.TabPane,{tab:"\u5BA1\u6838\u5217\u8868",key:"not_reviewed"})):null),wn?i.createElement("div",{className:T.tabWarp,style:(0,ue.Ny)()||wt?{}:{height:10,border:0}},i.createElement(W.default,{className:T.tab,activeKey:vt.filter,onChange:Lr},i.createElement(W.default.TabPane,{tab:"\u5F85\u5BA1\u6838",key:"not_reviewed"}),i.createElement(W.default.TabPane,{tab:"\u5BA1\u6838\u4E2D",key:"under_review"}),i.createElement(W.default.TabPane,{tab:"\u5DF2\u5BA1\u6838",key:"review_finished"}))):null,!((0,ue.Ny)()||wt)&&ur&&i.createElement("div",{className:T.tabWarp2,style:{justifyContent:"end"}},hr?i.createElement(b.Z,{align:"middle"},i.createElement(b.Z,{onClick:()=>pn(!0),align:"middle",className:"current"},i.createElement("i",{className:"iconfont icon-yixuan mr10 c-light-primary font20"}),i.createElement("span",null,"\u5DF2\u9009",i.createElement("span",{className:"c-light-primary"},bn.length),"\u4E2A")),i.createElement(V.ZP,{className:"mr20 ml40",ghost:!0,onClick:()=>{rn(!1),In([])},type:"primary"},"\u53D6\u6D88"),i.createElement(V.ZP,{onClick:Or,ghost:!0,type:"primary"},"\u786E\u8BA4\u53D1\u9001")):i.createElement(V.ZP,{onClick:()=>rn(!0),type:"primary"},i.createElement("i",{className:"iconfont icon-fasong mr5"}),"\u53D1\u9001\u81F3\u8BD5\u9898\u5E93")),i.createElement(Y.default,{rowSelection:(0,ue.Ny)()||hr?Nr:void 0,className:T.customTable,dataSource:Xt,bordered:!1,rowKey:on=>on.identifier,columns:wn?dn:fn,rowClassName:T.row,loading:ct,onRow:on=>({onMouseEnter:En=>{Ht(on==null?void 0:on.identifier)},onMouseLeave:En=>{Ht(null)}}),onChange:Fr,pagination:{pageSize:vt.per_page,total:De,current:vt.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,size:"default",position:["bottomCenter"],showTotal:on=>i.createElement("span",{className:"mr10"},"\u5171",i.createElement("span",{className:"c-orange"},on),"\u6761\u6570\u636E")}}))),i.createElement("div",{className:T.right},i.createElement("div",{className:T.statistics},i.createElement("img",{src:_,alt:""}),i.createElement("div",{className:T.title},"\u6211\u7684\u5237\u9898\u7EDF\u8BA1"),i.createElement(b.Z,{justify:"space-between"},i.createElement(C.Z,{className:T.statisticItem},i.createElement("div",{className:T.rate},(0,ue.bg)()?((tt=Oe==null?void 0:Oe.my_record)==null?void 0:tt.passed_ratio)||0:"-"),i.createElement("div",{className:T.dataName},"\u901A\u8FC7\u7387(%)")),i.createElement(C.Z,{className:T.statisticItem},i.createElement("div",{className:T.rate},(0,ue.bg)()?((et=Oe==null?void 0:Oe.my_record)==null?void 0:et.passed_count)||0:"-"),i.createElement("div",{className:T.dataName},"\u5237\u9898\u6570")),i.createElement(C.Z,{className:T.statisticItem},i.createElement("div",{className:T.rate},(0,ue.bg)()?(St=(X=Oe==null?void 0:Oe.my_record)==null?void 0:X.time_count)==null?void 0:St.toFixed(2):"-"),i.createElement("div",{className:T.dataName},"\u7D2F\u8BA1\u65F6\u957F(h)")))),!!((Se=Oe==null?void 0:Oe.rank_list)!=null&&Se.length)&&i.createElement(i.Fragment,null,((Wt=Ve.userInfo)==null?void 0:Wt.user_id)!=2&&(0,ue.JA)()&&((Kt=Ce==null?void 0:Ce.setting)==null?void 0:Kt.main_site)&&qn&&(Ln==null?void 0:Ln.length)>0&&i.createElement("div",{className:T.problemsclose,style:{position:"relative"}},i.createElement($.Z,{autoplay:!0,pauseOnDotsHover:!0,style:{width:292,height:170,marginBottom:"10px",overflow:"hidden"}},Ln==null?void 0:Ln.map((on,En)=>i.createElement("div",{style:{display:"flex"},key:En},i.createElement("a",{href:`/paths/${on.identifier}`},i.createElement("img",{style:{width:"292px",height:"170px",borderRadius:"4px"},src:G.Z.IMG_SERVER+"/"+on.image_url}))))),i.createElement("img",{className:T.imgsrc,onClick:()=>{localStorage.setItem("problemsclose",j()().add(1,"days").unix()+""),Kn(!1)},src:Ie})),i.createElement("div",{className:T.sort},i.createElement("div",{className:T.rankHeader},i.createElement("img",{src:A,className:T.rankIcon})),!!((Rt=Oe==null?void 0:Oe.my_record)!=null&&Rt.rank)&&i.createElement("div",{className:`${T.myRecord} ${T.li}`},i.createElement("span",{className:`${T.recordPrefix} ${T.mine}`},"\u6211\u7684"),i.createElement("img",{className:T.avatar,src:G.Z.IMG_SERVER+"/images/"+((le=Oe==null?void 0:Oe.my_record)==null?void 0:le.image_url)}),i.createElement("span",{title:(ae=Oe==null?void 0:Oe.my_record)==null?void 0:ae.nickname,className:T.nickname},(N=Oe==null?void 0:Oe.my_record)==null?void 0:N.nickname),i.createElement("span",{className:T.myRank},((_t=Oe==null?void 0:Oe.my_record)==null?void 0:_t.rank)>999?"\u7B2C999+\u540D":`\u7B2C${(dt=Oe==null?void 0:Oe.my_record)==null?void 0:dt.rank}\u540D`),i.createElement("span",{className:T.questionNumber},(nt=Oe==null?void 0:Oe.my_record)==null?void 0:nt.passed_count,"\u9898")),(Ft=Oe==null?void 0:Oe.rank_list)==null?void 0:Ft.map((on,En)=>{let br=En+1;return En===0&&(br=I.Z),En===1&&(br=oe.Z),En===2&&(br=ie.Z),i.createElement("div",{className:T.li,key:En},typeof br=="number"?i.createElement("span",{className:T.recordPrefix},br):i.createElement("span",{className:T.recordPrefix},i.createElement("img",{src:br})),i.createElement("img",{className:T.avatar,src:G.Z.IMG_SERVER+"/images/"+(on==null?void 0:on.image_url)}),i.createElement("span",{title:on==null?void 0:on.nickname,className:T.nickname},on==null?void 0:on.nickname),i.createElement("span",{className:T.questionNumber},on.passed_count,"\u9898"))}))))),or&&i.createElement(Gt,{setScoreShow:tr,isshixuns:!1,ScoreShow:!!or,isloadings:!1,onOk:on=>te(void 0,null,function*(){if(!on.length){K.ZP.warning("\u8BF7\u9009\u62E9\u8BD5\u9898");return}const En=yield(0,O.ZP)(`/api/item_banks/${on==null?void 0:on[0]}/send_to_practice`,{method:"post",body:{ids:on}});(En==null?void 0:En.status)==0&&(K.ZP.success("\u64CD\u4F5C\u6210\u529F"),vt.filter="mine",an(rt({},vt)),tr(!1),Xn(vt))})}),i.createElement(l.default,{title:"\u5BA1\u6838\u8BB0\u5F55",open:An,onOk:()=>{},onCancel:()=>{Fn(!1)},footer:null,closable:!0},i.createElement(Y.default,{dataSource:Yn,columns:Gn})),i.createElement(l.default,{title:"\u672A\u901A\u8FC7\u539F\u56E0",open:Mn,onOk:()=>{},onCancel:()=>{rr(!1)},footer:null,closable:!0},i.createElement(L.Z,{value:Rn})),i.createElement(l.default,{open:nn,centered:!0,width:1e3,okText:"\u786E\u5B9A\u53D1\u9001",onCancel:()=>pn(!1),cancelText:"\u8FD4\u56DE\u5217\u8868",onOk:()=>te(void 0,null,function*(){pn(!1),Or()}),title:"\u67E5\u770B\u5DF2\u9009"},i.createElement("div",{className:"font14 c-light-primary mb10"},"\u5DF2\u9009",bn==null?void 0:bn.length,"\u4E2A"),i.createElement("div",{style:{height:400,overflow:"auto"}},(Ot=Xt==null?void 0:Xt.filter(on=>bn.includes(on.identifier)))==null?void 0:Ot.map((on,En)=>{var br,Dr;return i.createElement("div",{key:En,className:T.sendModal},i.createElement("div",{className:T.li},i.createElement("p",null,on==null?void 0:on.name),i.createElement("div",{className:T.bottom},i.createElement("span",{className:"c-grey-333"},"\u7F16\u7A0B\u9898"),i.createElement("i",{className:T.line}),i.createElement("span",{className:"c-grey-333"},on.difficulty===1&&"\u7B80\u5355",on.difficulty===2&&"\u9002\u4E2D",on.difficulty===3&&"\u56F0\u96BE"),i.createElement("i",{className:T.line}),i.createElement("span",null,"\u521B\u5EFA\u8005\xA0",i.createElement(R.Z,{title:on==null?void 0:on.creator},i.createElement("span",{className:"c-grey-333"},((br=on==null?void 0:on.creator)==null?void 0:br.length)>6?((Dr=on==null?void 0:on.creator)==null?void 0:Dr.substr(0,3))+"...":on==null?void 0:on.creator))),i.createElement("i",{className:T.line}),i.createElement("span",{className:T.des},"\u66F4\u65B0\xA0",i.createElement("span",{className:"c-grey-333"},on==null?void 0:on.updated_at)))),i.createElement("div",{className:T.del,onClick:()=>{In(bn.filter(Qr=>Qr!==on.identifier))}},"\u5220\u9664"))}))))};var tn=(0,U.connect)(({user:Ce,globalSetting:Ve})=>({user:Ce,globalSetting:Ve}))(Ae)},49142:function(Pn,Lt,u){"use strict";u.d(Lt,{AL:function(){return O},Iy:function(){return P},Qv:function(){return w},ez:function(){return G},jb:function(){return b}});var i=u(32834),U=u.n(i),L=u(11690),ce=u.n(L);let j=1;function g(Ue,Qe){const ke=Ue.match(/^(\s+)(?:```)/);if(ke===null)return Qe;const Ze=ke[1];return Qe.split(`
|
|
|
`).map(se=>{const k=se.match(/^\s+/);if(k===null)return se;const[I]=k;return I.length>=Ze.length?se.slice(Ze.length):se}).join(`
|
|
|
`)}let V=[],K=["<ul>"];const l=new(U()).Renderer,y=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function P(){V.length=0,K=["<ul>"]}const b={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function C(Ue,Qe,ke,Ze){if(Qe>=Ue.length||Ue[Qe].level<=ke)return Qe;var se=Ue[Qe];Ze.push("<li><a href='#"+j+se.anchor+"'>"+se.text+"</a>"),Qe++;var k=[];return Qe=C(Ue,Qe,se.level,k),k.length>0&&(Ze.push("<ul>"),k.forEach(function(I){Ze.push(I)}),Ze.push("</ul>")),Ze.push("</li>"),Qe=C(Ue,Qe,ke,Ze),Qe}function w(){return C(V,0,0,K),K.push("</ul>"),K.join("")}const z={heading(Ue){const Qe=y.exec(Ue);if(j+=1,Qe)return{type:"heading",raw:Qe[0],depth:Qe[1].length,text:Qe[2]}},fences(Ue){const Qe=this.rules.block.fences.exec(Ue);if(Qe){const ke=Qe[0];let Ze=g(ke,Qe[3]||"");const se=Qe[2]?Qe[2].trim():Qe[2];if(["latex","katex","math"].indexOf(se)>=0){const k=$(),I=Ze;Ze=k,R[k]={type:"block",expression:I}}return{type:"code",raw:ke,lang:se,text:Ze}}}},W=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let Y=0;const $=()=>`__special_katext_id_${Y++}__`;let R={};function G(){return R}function O(){Y=0,R={}}function T(Ue){return Ue=Ue.replace(W,(Qe,ke)=>{const Ze=$();return R[Ze]={type:"inline",expression:ke},Ze}),Ue}const ue=l.listitem;l.listitem=function(Ue){return ue(T(Ue))};const be=l.paragraph;l.paragraph=function(Ue){return be(T(Ue))};const he=l.tablecell;l.tablecell=function(Ue,Qe){return he(T(Ue),Qe)},l.code=function(Ue,Qe,ke){const Ze=(Qe||"").match(/\S*/)[0];return Ze?["latex","katex","math"].indexOf(Ze)>=0?`<p class='editormd-tex'>${Ue}</p>`:`<pre class="prettyprint linenums"><code class="language-${Qe}">${ke?Ue:(0,L.escape)(Ue,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(ke?Ue:(0,L.escape)(Ue,!0))+"</code></pre>"},l.heading=function(Ue,Qe,ke){let Ze=this.options.headerPrefix+ke.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return V.push({anchor:Ze,level:Qe,text:Ue}),"<h"+Qe+' id="'+j+Ze+'">'+Ue+"</h"+Qe+">"},U().setOptions({silent:!0,gfm:!0,pedantic:!1}),U().use({tokenizer:z,renderer:l}),Lt.ZP=U()},29509:function(Pn,Lt,u){"use strict";u.d(Lt,{o2:function(){return j},yT:function(){return g}});var i=u(94480),U=u(34998);const L=U.i.map(V=>`${V}-inverse`),ce=["success","processing","error","default","warning"];function j(V){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,i.Z)(L),(0,i.Z)(U.i)).includes(V):U.i.includes(V)}function g(V){return ce.includes(V)}},9981:function(Pn,Lt){"use strict";const u=function(){const i=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let U=1;U<arguments.length;U++){const L=U<0||arguments.length<=U?void 0:arguments[U];L&&Object.keys(L).forEach(ce=>{const j=L[ce];j!==void 0&&(i[ce]=j)})}return i};Lt.Z=u},99402:function(Pn,Lt,u){"use strict";u.d(Lt,{T:function(){return U},n:function(){return i}});function i(L){return["small","middle","large"].includes(L)}function U(L){return L?typeof L=="number"&&!Number.isNaN(L):!1}},86013:function(Pn,Lt,u){"use strict";var i=u(59301),U=u(19248);const L=ce=>{let j;return typeof ce=="object"&&(ce!=null&&ce.clearIcon)?j=ce:ce&&(j={clearIcon:i.createElement(U.Z,null)}),j};Lt.Z=L},54500:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return i}});const i=U=>U?typeof U=="function"?U():U:null},97224:function(Pn,Lt,u){"use strict";u.d(Lt,{F:function(){return i}});function i(L){return L!=null&&L===L.window}const U=L=>{var ce,j;if(typeof window=="undefined")return 0;let g=0;return i(L)?g=L.pageYOffset:L instanceof Document?g=L.documentElement.scrollTop:(L instanceof HTMLElement||L)&&(g=L.scrollTop),L&&!i(L)&&typeof g!="number"&&(g=(j=((ce=L.ownerDocument)!==null&&ce!==void 0?ce:L).documentElement)===null||j===void 0?void 0:j.scrollTop),g};Lt.Z=U},52838:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return g}});var i=u(37645);function U(V,K,l,y){if(y===!1)return{adjustX:!1,adjustY:!1};const P=y&&typeof y=="object"?y:{},b={};switch(V){case"top":case"bottom":b.shiftX=K.arrowOffsetHorizontal*2+l,b.shiftY=!0,b.adjustY=!0;break;case"left":case"right":b.shiftY=K.arrowOffsetVertical*2+l,b.shiftX=!0,b.adjustX=!0;break}const C=Object.assign(Object.assign({},b),P);return C.shiftX||(C.adjustX=!0),C.shiftY||(C.adjustY=!0),C}const L={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},ce={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"]}},j=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function g(V){const{arrowWidth:K,autoAdjustOverflow:l,arrowPointAtCenter:y,offset:P,borderRadius:b,visibleFirst:C}=V,w=K/2,z={};return Object.keys(L).forEach(W=>{const Y=y&&ce[W]||L[W],$=Object.assign(Object.assign({},Y),{offset:[0,0],dynamicInset:!0});switch(z[W]=$,j.has(W)&&($.autoArrow=!1),W){case"top":case"topLeft":case"topRight":$.offset[1]=-w-P;break;case"bottom":case"bottomLeft":case"bottomRight":$.offset[1]=w+P;break;case"left":case"leftTop":case"leftBottom":$.offset[0]=-w-P;break;case"right":case"rightTop":case"rightBottom":$.offset[0]=w+P;break}const R=(0,i.wZ)({contentRadius:b,limitVerticalRadius:!0});if(y)switch(W){case"topLeft":case"bottomLeft":$.offset[0]=-R.arrowOffsetHorizontal-w;break;case"topRight":case"bottomRight":$.offset[0]=R.arrowOffsetHorizontal+w;break;case"leftTop":case"rightTop":$.offset[1]=-R.arrowOffsetHorizontal*2+w;break;case"leftBottom":case"rightBottom":$.offset[1]=R.arrowOffsetHorizontal*2-w;break}$.overflow=U(W,R,K,l),C&&($.htmlRegion="visibleFirst")}),z}},83010:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return ce}});var i=u(16089);function U(j,g,V,K){const l=V-g;return j/=K/2,j<1?l/2*j*j*j+g:l/2*((j-=2)*j*j+2)+g}var L=u(97224);function ce(j){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:V=()=>window,callback:K,duration:l=450}=g,y=V(),P=(0,L.Z)(y),b=Date.now(),C=()=>{const z=Date.now()-b,W=U(z>l?l:z,P,j,l);(0,L.F)(y)?y.scrollTo(window.pageXOffset,W):y instanceof Document||y.constructor.name==="HTMLDocument"?y.documentElement.scrollTop=W:y.scrollTop=W,z<l?(0,i.Z)(C):typeof K=="function"&&K()};(0,i.Z)(C)}},82855:function(Pn,Lt,u){"use strict";u.d(Lt,{F:function(){return j},Z:function(){return ce}});var i=u(92310),U=u.n(i);const L=null;function ce(g,V,K){return U()({[`${g}-status-success`]:V==="success",[`${g}-status-warning`]:V==="warning",[`${g}-status-error`]:V==="error",[`${g}-status-validating`]:V==="validating",[`${g}-has-feedback`]:K})}const j=(g,V)=>V||g},84022:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return Kt}});var i=u(59301),U=u(54476),L=u(33885),ce=u(67732),j=u(83652),g=u(85458),V=u(75538),K=u(58289),l=u(42403),y=u(20068),P=u(76190),b=u(75931),C={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},w=C,z=u(53280),W=u(92310),Y=u.n(W),$={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(le){return i.createElement("ul",{style:{display:"block"}},le)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(le){return i.createElement("button",null,le+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null},R=$;function G(Rt,le,ae){return Math.max(le,Math.min(Rt,ae))}var O=function(le){var ae=["onTouchStart","onTouchMove","onWheel"];ae.includes(le._reactName)||le.preventDefault()},T=function(le){for(var ae=[],N=be(le),_t=he(le),dt=N;dt<_t;dt++)le.lazyLoadedList.indexOf(dt)<0&&ae.push(dt);return ae},ue=function(le){for(var ae=[],N=be(le),_t=he(le),dt=N;dt<_t;dt++)ae.push(dt);return ae},be=function(le){return le.currentSlide-Ue(le)},he=function(le){return le.currentSlide+Qe(le)},Ue=function(le){return le.centerMode?Math.floor(le.slidesToShow/2)+(parseInt(le.centerPadding)>0?1:0):0},Qe=function(le){return le.centerMode?Math.floor((le.slidesToShow-1)/2)+1+(parseInt(le.centerPadding)>0?1:0):le.slidesToShow},ke=function(le){return le&&le.offsetWidth||0},Ze=function(le){return le&&le.offsetHeight||0},se=function(le){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,N,_t,dt,nt;return N=le.startX-le.curX,_t=le.startY-le.curY,dt=Math.atan2(_t,N),nt=Math.round(dt*180/Math.PI),nt<0&&(nt=360-Math.abs(nt)),nt<=45&&nt>=0||nt<=360&&nt>=315?"left":nt>=135&&nt<=225?"right":ae===!0?nt>=35&&nt<=135?"up":"down":"vertical"},k=function(le){var ae=!0;return le.infinite||(le.centerMode&&le.currentSlide>=le.slideCount-1||le.slideCount<=le.slidesToShow||le.currentSlide>=le.slideCount-le.slidesToShow)&&(ae=!1),ae},I=function(le,ae){var N={};return ae.forEach(function(_t){return N[_t]=le[_t]}),N},oe=function(le){var ae=i.Children.count(le.children),N=le.listRef,_t=Math.ceil(ke(N)),dt=le.trackRef&&le.trackRef.node,nt=Math.ceil(ke(dt)),Ft;if(le.vertical)Ft=_t;else{var Ot=le.centerMode&&parseInt(le.centerPadding)*2;typeof le.centerPadding=="string"&&le.centerPadding.slice(-1)==="%"&&(Ot*=_t/100),Ft=Math.ceil((_t-Ot)/le.slidesToShow)}var zt=N&&Ze(N.querySelector('[data-index="0"]')),J=zt*le.slidesToShow,pe=le.currentSlide===void 0?le.initialSlide:le.currentSlide;le.rtl&&le.currentSlide===void 0&&(pe=ae-1-le.initialSlide);var It=le.lazyLoadedList||[],Pe=T((0,L.Z)((0,L.Z)({},le),{},{currentSlide:pe,lazyLoadedList:It}));It=It.concat(Pe);var Le={slideCount:ae,slideWidth:Ft,listWidth:_t,trackWidth:nt,currentSlide:pe,slideHeight:zt,listHeight:J,lazyLoadedList:It};return le.autoplaying===null&&le.autoplay&&(Le.autoplaying="playing"),Le},ie=function(le){var ae=le.waitForAnimate,N=le.animating,_t=le.fade,dt=le.infinite,nt=le.index,Ft=le.slideCount,Ot=le.lazyLoad,zt=le.currentSlide,J=le.centerMode,pe=le.slidesToScroll,It=le.slidesToShow,Pe=le.useCSS,Le=le.lazyLoadedList;if(ae&&N)return{};var re=nt,De,$e,je,st={},qt={},ln=dt?nt:G(nt,0,Ft-1);if(_t){if(!dt&&(nt<0||nt>=Ft))return{};nt<0?re=nt+Ft:nt>=Ft&&(re=nt-Ft),Ot&&Le.indexOf(re)<0&&(Le=Le.concat(re)),st={animating:!0,currentSlide:re,lazyLoadedList:Le,targetSlide:re},qt={animating:!1,targetSlide:re}}else De=re,re<0?(De=re+Ft,dt?Ft%pe!==0&&(De=Ft-Ft%pe):De=0):!k(le)&&re>zt?re=De=zt:J&&re>=Ft?(re=dt?Ft:Ft-1,De=dt?0:Ft-1):re>=Ft&&(De=re-Ft,dt?Ft%pe!==0&&(De=0):De=Ft-It),!dt&&re+It>=Ft&&(De=Ft-It),$e=ze((0,L.Z)((0,L.Z)({},le),{},{slideIndex:re})),je=ze((0,L.Z)((0,L.Z)({},le),{},{slideIndex:De})),dt||($e===je&&(re=De),$e=je),Ot&&(Le=Le.concat(T((0,L.Z)((0,L.Z)({},le),{},{currentSlide:re})))),Pe?(st={animating:!0,currentSlide:De,trackStyle:Tt((0,L.Z)((0,L.Z)({},le),{},{left:$e})),lazyLoadedList:Le,targetSlide:ln},qt={animating:!1,currentSlide:De,trackStyle:ht((0,L.Z)((0,L.Z)({},le),{},{left:je})),swipeLeft:null,targetSlide:ln}):st={currentSlide:De,trackStyle:ht((0,L.Z)((0,L.Z)({},le),{},{left:je})),lazyLoadedList:Le,targetSlide:ln};return{state:st,nextState:qt}},Ee=function(le,ae){var N,_t,dt,nt,Ft,Ot=le.slidesToScroll,zt=le.slidesToShow,J=le.slideCount,pe=le.currentSlide,It=le.targetSlide,Pe=le.lazyLoad,Le=le.infinite;if(nt=J%Ot!==0,N=nt?0:(J-pe)%Ot,ae.message==="previous")dt=N===0?Ot:zt-N,Ft=pe-dt,Pe&&!Le&&(_t=pe-dt,Ft=_t===-1?J-1:_t),Le||(Ft=It-Ot);else if(ae.message==="next")dt=N===0?Ot:N,Ft=pe+dt,Pe&&!Le&&(Ft=(pe+Ot)%J+N),Le||(Ft=It+Ot);else if(ae.message==="dots")Ft=ae.index*ae.slidesToScroll;else if(ae.message==="children"){if(Ft=ae.index,Le){var re=Je((0,L.Z)((0,L.Z)({},le),{},{targetSlide:Ft}));Ft>ae.currentSlide&&re==="left"?Ft=Ft-J:Ft<ae.currentSlide&&re==="right"&&(Ft=Ft+J)}}else ae.message==="index"&&(Ft=Number(ae.index));return Ft},_=function(le,ae,N){return le.target.tagName.match("TEXTAREA|INPUT|SELECT")||!ae?"":le.keyCode===37?N?"next":"previous":le.keyCode===39?N?"previous":"next":""},A=function(le,ae,N){return le.target.tagName==="IMG"&&O(le),!ae||!N&&le.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:le.touches?le.touches[0].pageX:le.clientX,startY:le.touches?le.touches[0].pageY:le.clientY,curX:le.touches?le.touches[0].pageX:le.clientX,curY:le.touches?le.touches[0].pageY:le.clientY}}},fe=function(le,ae){var N=ae.scrolling,_t=ae.animating,dt=ae.vertical,nt=ae.swipeToSlide,Ft=ae.verticalSwiping,Ot=ae.rtl,zt=ae.currentSlide,J=ae.edgeFriction,pe=ae.edgeDragged,It=ae.onEdge,Pe=ae.swiped,Le=ae.swiping,re=ae.slideCount,De=ae.slidesToScroll,$e=ae.infinite,je=ae.touchObject,st=ae.swipeEvent,qt=ae.listHeight,ln=ae.listWidth;if(!N){if(_t)return O(le);dt&&nt&&Ft&&O(le);var Oe,ot={},wt=ze(ae);je.curX=le.touches?le.touches[0].pageX:le.clientX,je.curY=le.touches?le.touches[0].pageY:le.clientY,je.swipeLength=Math.round(Math.sqrt(Math.pow(je.curX-je.startX,2)));var Qt=Math.round(Math.sqrt(Math.pow(je.curY-je.startY,2)));if(!Ft&&!Le&&Qt>10)return{scrolling:!0};Ft&&(je.swipeLength=Qt);var Xt=(Ot?-1:1)*(je.curX>je.startX?1:-1);Ft&&(Xt=je.curY>je.startY?1:-1);var Ye=Math.ceil(re/De),ct=se(ae.touchObject,Ft),Nt=je.swipeLength;return $e||(zt===0&&(ct==="right"||ct==="down")||zt+1>=Ye&&(ct==="left"||ct==="up")||!k(ae)&&(ct==="left"||ct==="up"))&&(Nt=je.swipeLength*J,pe===!1&&It&&(It(ct),ot.edgeDragged=!0)),!Pe&&st&&(st(ct),ot.swiped=!0),dt?Oe=wt+Nt*(qt/ln)*Xt:Ot?Oe=wt-Nt*Xt:Oe=wt+Nt*Xt,Ft&&(Oe=wt+Nt*Xt),ot=(0,L.Z)((0,L.Z)({},ot),{},{touchObject:je,swipeLeft:Oe,trackStyle:ht((0,L.Z)((0,L.Z)({},ae),{},{left:Oe}))}),Math.abs(je.curX-je.startX)<Math.abs(je.curY-je.startY)*.8||je.swipeLength>10&&(ot.swiping=!0,O(le)),ot}},Be=function(le,ae){var N=ae.dragging,_t=ae.swipe,dt=ae.touchObject,nt=ae.listWidth,Ft=ae.touchThreshold,Ot=ae.verticalSwiping,zt=ae.listHeight,J=ae.swipeToSlide,pe=ae.scrolling,It=ae.onSwipe,Pe=ae.targetSlide,Le=ae.currentSlide,re=ae.infinite;if(!N)return _t&&O(le),{};var De=Ot?zt/Ft:nt/Ft,$e=se(dt,Ot),je={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(pe||!dt.swipeLength)return je;if(dt.swipeLength>De){O(le),It&&It($e);var st,qt,ln=re?Le:Pe;switch($e){case"left":case"up":qt=ln+Ie(ae),st=J?At(ae,qt):qt,je.currentDirection=0;break;case"right":case"down":qt=ln-Ie(ae),st=J?At(ae,qt):qt,je.currentDirection=1;break;default:st=ln}je.triggerSlideHandler=st}else{var Oe=ze(ae);je.trackStyle=Tt((0,L.Z)((0,L.Z)({},ae),{},{left:Oe}))}return je},ft=function(le){for(var ae=le.infinite?le.slideCount*2:le.slideCount,N=le.infinite?le.slidesToShow*-1:0,_t=le.infinite?le.slidesToShow*-1:0,dt=[];N<ae;)dt.push(N),N=_t+le.slidesToScroll,_t+=Math.min(le.slidesToScroll,le.slidesToShow);return dt},At=function(le,ae){var N=ft(le),_t=0;if(ae>N[N.length-1])ae=N[N.length-1];else for(var dt in N){if(ae<N[dt]){ae=_t;break}_t=N[dt]}return ae},Ie=function(le){var ae=le.centerMode?le.slideWidth*Math.floor(le.slidesToShow/2):0;if(le.swipeToSlide){var N,_t=le.listRef,dt=_t.querySelectorAll&&_t.querySelectorAll(".slick-slide")||[];if(Array.from(dt).every(function(Ot){if(le.vertical){if(Ot.offsetTop+Ze(Ot)/2>le.swipeLeft*-1)return N=Ot,!1}else if(Ot.offsetLeft-ae+ke(Ot)/2>le.swipeLeft*-1)return N=Ot,!1;return!0}),!N)return 0;var nt=le.rtl===!0?le.slideCount-le.currentSlide:le.currentSlide,Ft=Math.abs(N.dataset.index-nt)||1;return Ft}else return le.slidesToScroll},it=function(le,ae){return ae.reduce(function(N,_t){return N&&le.hasOwnProperty(_t)},!0)?null:console.error("Keys Missing:",le)},ht=function(le){it(le,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var ae,N;if(!le.vertical)ae=cn(le)*le.slideWidth;else{var _t=le.unslick?le.slideCount:le.slideCount+2*le.slidesToShow;N=_t*le.slideHeight}var dt={opacity:1,transition:"",WebkitTransition:""};if(le.useTransform){var nt=le.vertical?"translate3d(0px, "+le.left+"px, 0px)":"translate3d("+le.left+"px, 0px, 0px)",Ft=le.vertical?"translate3d(0px, "+le.left+"px, 0px)":"translate3d("+le.left+"px, 0px, 0px)",Ot=le.vertical?"translateY("+le.left+"px)":"translateX("+le.left+"px)";dt=(0,L.Z)((0,L.Z)({},dt),{},{WebkitTransform:nt,transform:Ft,msTransform:Ot})}else le.vertical?dt.top=le.left:dt.left=le.left;return le.fade&&(dt={opacity:1}),ae&&(dt.width=ae),N&&(dt.height=N),window&&!window.addEventListener&&window.attachEvent&&(le.vertical?dt.marginTop=le.left+"px":dt.marginLeft=le.left+"px"),dt},Tt=function(le){it(le,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var ae=ht(le);return le.useTransform?(ae.WebkitTransition="-webkit-transform "+le.speed+"ms "+le.cssEase,ae.transition="transform "+le.speed+"ms "+le.cssEase):le.vertical?ae.transition="top "+le.speed+"ms "+le.cssEase:ae.transition="left "+le.speed+"ms "+le.cssEase,ae},ze=function(le){if(le.unslick)return 0;it(le,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var ae=le.slideIndex,N=le.trackRef,_t=le.infinite,dt=le.centerMode,nt=le.slideCount,Ft=le.slidesToShow,Ot=le.slidesToScroll,zt=le.slideWidth,J=le.listWidth,pe=le.variableWidth,It=le.slideHeight,Pe=le.fade,Le=le.vertical,re=0,De,$e,je=0;if(Pe||le.slideCount===1)return 0;var st=0;if(_t?(st=-Jt(le),nt%Ot!==0&&ae+Ot>nt&&(st=-(ae>nt?Ft-(ae-nt):nt%Ot)),dt&&(st+=parseInt(Ft/2))):(nt%Ot!==0&&ae+Ot>nt&&(st=Ft-nt%Ot),dt&&(st=parseInt(Ft/2))),re=st*zt,je=st*It,Le?De=ae*It*-1+je:De=ae*zt*-1+re,pe===!0){var qt,ln=N&&N.node;if(qt=ae+Jt(le),$e=ln&&ln.childNodes[qt],De=$e?$e.offsetLeft*-1:0,dt===!0){qt=_t?ae+Jt(le):ae,$e=ln&&ln.children[qt],De=0;for(var Oe=0;Oe<qt;Oe++)De-=ln&&ln.children[Oe]&&ln.children[Oe].offsetWidth;De-=parseInt(le.centerPadding),De+=$e&&(J-$e.offsetWidth)/2}}return De},Jt=function(le){return le.unslick||!le.infinite?0:le.variableWidth?le.slideCount:le.slidesToShow+(le.centerMode?1:0)},yt=function(le){return le.unslick||!le.infinite?0:le.slideCount},cn=function(le){return le.slideCount===1?1:Jt(le)+le.slideCount+yt(le)},Je=function(le){return le.targetSlide>le.currentSlide?le.targetSlide>le.currentSlide+bt(le)?"left":"right":le.targetSlide<le.currentSlide-Ge(le)?"right":"left"},bt=function(le){var ae=le.slidesToShow,N=le.centerMode,_t=le.rtl,dt=le.centerPadding;if(N){var nt=(ae-1)/2+1;return parseInt(dt)>0&&(nt+=1),_t&&ae%2===0&&(nt+=1),nt}return _t?0:ae-1},Ge=function(le){var ae=le.slidesToShow,N=le.centerMode,_t=le.rtl,dt=le.centerPadding;if(N){var nt=(ae-1)/2+1;return parseInt(dt)>0&&(nt+=1),!_t&&ae%2===0&&(nt+=1),nt}return _t?ae-1:0},Ne=function(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)},ne=Object.keys(R);function lt(Rt){return ne.reduce(function(le,ae){return Rt.hasOwnProperty(ae)&&(le[ae]=Rt[ae]),le},{})}function Ke(Rt,le,ae){return le=(0,K.Z)(le),(0,g.Z)(Rt,(0,V.Z)()?Reflect.construct(le,ae||[],(0,K.Z)(Rt).constructor):le.apply(Rt,ae))}var H=function(le){var ae,N,_t,dt,nt;le.rtl?nt=le.slideCount-1-le.index:nt=le.index,_t=nt<0||nt>=le.slideCount,le.centerMode?(dt=Math.floor(le.slidesToShow/2),N=(nt-le.currentSlide)%le.slideCount===0,nt>le.currentSlide-dt-1&&nt<=le.currentSlide+dt&&(ae=!0)):ae=le.currentSlide<=nt&&nt<le.currentSlide+le.slidesToShow;var Ft;le.targetSlide<0?Ft=le.targetSlide+le.slideCount:le.targetSlide>=le.slideCount?Ft=le.targetSlide-le.slideCount:Ft=le.targetSlide;var Ot=nt===Ft;return{"slick-slide":!0,"slick-active":ae,"slick-center":N,"slick-cloned":_t,"slick-current":Ot}},M=function(le){var ae={};return(le.variableWidth===void 0||le.variableWidth===!1)&&(ae.width=le.slideWidth),le.fade&&(ae.position="relative",le.vertical&&le.slideHeight?ae.top=-le.index*parseInt(le.slideHeight):ae.left=-le.index*parseInt(le.slideWidth),ae.opacity=le.currentSlide===le.index?1:0,ae.zIndex=le.currentSlide===le.index?999:998,le.useCSS&&(ae.transition="opacity "+le.speed+"ms "+le.cssEase+", visibility "+le.speed+"ms "+le.cssEase)),ae},_e=function(le,ae){return le.key+"-"+ae},me=function(le){var ae,N=[],_t=[],dt=[],nt=i.Children.count(le.children),Ft=be(le),Ot=he(le);return i.Children.forEach(le.children,function(zt,J){var pe,It={message:"children",index:J,slidesToScroll:le.slidesToScroll,currentSlide:le.currentSlide};!le.lazyLoad||le.lazyLoad&&le.lazyLoadedList.indexOf(J)>=0?pe=zt:pe=i.createElement("div",null);var Pe=M((0,L.Z)((0,L.Z)({},le),{},{index:J})),Le=pe.props.className||"",re=H((0,L.Z)((0,L.Z)({},le),{},{index:J}));if(N.push(i.cloneElement(pe,{key:"original"+_e(pe,J),"data-index":J,className:Y()(re,Le),tabIndex:"-1","aria-hidden":!re["slick-active"],style:(0,L.Z)((0,L.Z)({outline:"none"},pe.props.style||{}),Pe),onClick:function(je){pe.props&&pe.props.onClick&&pe.props.onClick(je),le.focusOnSelect&&le.focusOnSelect(It)}})),le.infinite&&nt>1&&le.fade===!1&&!le.unslick){var De=nt-J;De<=Jt(le)&&(ae=-De,ae>=Ft&&(pe=zt),re=H((0,L.Z)((0,L.Z)({},le),{},{index:ae})),_t.push(i.cloneElement(pe,{key:"precloned"+_e(pe,ae),"data-index":ae,tabIndex:"-1",className:Y()(re,Le),"aria-hidden":!re["slick-active"],style:(0,L.Z)((0,L.Z)({},pe.props.style||{}),Pe),onClick:function(je){pe.props&&pe.props.onClick&&pe.props.onClick(je),le.focusOnSelect&&le.focusOnSelect(It)}}))),ae=nt+J,ae<Ot&&(pe=zt),re=H((0,L.Z)((0,L.Z)({},le),{},{index:ae})),dt.push(i.cloneElement(pe,{key:"postcloned"+_e(pe,ae),"data-index":ae,tabIndex:"-1",className:Y()(re,Le),"aria-hidden":!re["slick-active"],style:(0,L.Z)((0,L.Z)({},pe.props.style||{}),Pe),onClick:function(je){pe.props&&pe.props.onClick&&pe.props.onClick(je),le.focusOnSelect&&le.focusOnSelect(It)}}))}}),le.rtl?_t.concat(N,dt).reverse():_t.concat(N,dt)},Te=function(Rt){function le(){var ae;(0,ce.Z)(this,le);for(var N=arguments.length,_t=new Array(N),dt=0;dt<N;dt++)_t[dt]=arguments[dt];return ae=Ke(this,le,[].concat(_t)),(0,y.Z)(ae,"node",null),(0,y.Z)(ae,"handleRef",function(nt){ae.node=nt}),ae}return(0,l.Z)(le,Rt),(0,j.Z)(le,[{key:"render",value:function(){var N=me(this.props),_t=this.props,dt=_t.onMouseEnter,nt=_t.onMouseOver,Ft=_t.onMouseLeave,Ot={onMouseEnter:dt,onMouseOver:nt,onMouseLeave:Ft};return i.createElement("div",(0,U.Z)({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},Ot),N)}}])}(i.PureComponent);function Fe(Rt,le,ae){return le=(0,K.Z)(le),(0,g.Z)(Rt,(0,V.Z)()?Reflect.construct(le,ae||[],(0,K.Z)(Rt).constructor):le.apply(Rt,ae))}var Xe=function(le){var ae;return le.infinite?ae=Math.ceil(le.slideCount/le.slidesToScroll):ae=Math.ceil((le.slideCount-le.slidesToShow)/le.slidesToScroll)+1,ae},gt=function(Rt){function le(){return(0,ce.Z)(this,le),Fe(this,le,arguments)}return(0,l.Z)(le,Rt),(0,j.Z)(le,[{key:"clickHandler",value:function(N,_t){_t.preventDefault(),this.props.clickHandler(N)}},{key:"render",value:function(){for(var N=this.props,_t=N.onMouseEnter,dt=N.onMouseOver,nt=N.onMouseLeave,Ft=N.infinite,Ot=N.slidesToScroll,zt=N.slidesToShow,J=N.slideCount,pe=N.currentSlide,It=Xe({slideCount:J,slidesToScroll:Ot,slidesToShow:zt,infinite:Ft}),Pe={onMouseEnter:_t,onMouseOver:dt,onMouseLeave:nt},Le=[],re=0;re<It;re++){var De=(re+1)*Ot-1,$e=Ft?De:G(De,0,J-1),je=$e-(Ot-1),st=Ft?je:G(je,0,J-1),qt=Y()({"slick-active":Ft?pe>=st&&pe<=$e:pe===st}),ln={message:"dots",index:re,slidesToScroll:Ot,currentSlide:pe},Oe=this.clickHandler.bind(this,ln);Le=Le.concat(i.createElement("li",{key:re,className:qt},i.cloneElement(this.props.customPaging(re),{onClick:Oe})))}return i.cloneElement(this.props.appendDots(Le),(0,L.Z)({className:this.props.dotsClass},Pe))}}])}(i.PureComponent);function de(Rt,le,ae){return le=(0,K.Z)(le),(0,g.Z)(Rt,(0,V.Z)()?Reflect.construct(le,ae||[],(0,K.Z)(Rt).constructor):le.apply(Rt,ae))}var xe=function(Rt){function le(){return(0,ce.Z)(this,le),de(this,le,arguments)}return(0,l.Z)(le,Rt),(0,j.Z)(le,[{key:"clickHandler",value:function(N,_t){_t&&_t.preventDefault(),this.props.clickHandler(N,_t)}},{key:"render",value:function(){var N={"slick-arrow":!0,"slick-prev":!0},_t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(N["slick-disabled"]=!0,_t=null);var dt={key:"0","data-role":"none",className:Y()(N),style:{display:"block"},onClick:_t},nt={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},Ft;return this.props.prevArrow?Ft=i.cloneElement(this.props.prevArrow,(0,L.Z)((0,L.Z)({},dt),nt)):Ft=i.createElement("button",(0,U.Z)({key:"0",type:"button"},dt)," ","Previous"),Ft}}])}(i.PureComponent),Pt=function(Rt){function le(){return(0,ce.Z)(this,le),de(this,le,arguments)}return(0,l.Z)(le,Rt),(0,j.Z)(le,[{key:"clickHandler",value:function(N,_t){_t&&_t.preventDefault(),this.props.clickHandler(N,_t)}},{key:"render",value:function(){var N={"slick-arrow":!0,"slick-next":!0},_t=this.clickHandler.bind(this,{message:"next"});k(this.props)||(N["slick-disabled"]=!0,_t=null);var dt={key:"1","data-role":"none",className:Y()(N),style:{display:"block"},onClick:_t},nt={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},Ft;return this.props.nextArrow?Ft=i.cloneElement(this.props.nextArrow,(0,L.Z)((0,L.Z)({},dt),nt)):Ft=i.createElement("button",(0,U.Z)({key:"1",type:"button"},dt)," ","Next"),Ft}}])}(i.PureComponent),xt=u(76374),kt=["animating"];function Mt(Rt,le,ae){return le=(0,K.Z)(le),(0,g.Z)(Rt,(0,V.Z)()?Reflect.construct(le,ae||[],(0,K.Z)(Rt).constructor):le.apply(Rt,ae))}var mt=function(Rt){function le(ae){var N;(0,ce.Z)(this,le),N=Mt(this,le,[ae]),(0,y.Z)(N,"listRefHandler",function(dt){return N.list=dt}),(0,y.Z)(N,"trackRefHandler",function(dt){return N.track=dt}),(0,y.Z)(N,"adaptHeight",function(){if(N.props.adaptiveHeight&&N.list){var dt=N.list.querySelector('[data-index="'.concat(N.state.currentSlide,'"]'));N.list.style.height=Ze(dt)+"px"}}),(0,y.Z)(N,"componentDidMount",function(){if(N.props.onInit&&N.props.onInit(),N.props.lazyLoad){var dt=T((0,L.Z)((0,L.Z)({},N.props),N.state));dt.length>0&&(N.setState(function(Ft){return{lazyLoadedList:Ft.lazyLoadedList.concat(dt)}}),N.props.onLazyLoad&&N.props.onLazyLoad(dt))}var nt=(0,L.Z)({listRef:N.list,trackRef:N.track},N.props);N.updateState(nt,!0,function(){N.adaptHeight(),N.props.autoplay&&N.autoPlay("playing")}),N.props.lazyLoad==="progressive"&&(N.lazyLoadTimer=setInterval(N.progressiveLazyLoad,1e3)),N.ro=new xt.Z(function(){N.state.animating?(N.onWindowResized(!1),N.callbackTimers.push(setTimeout(function(){return N.onWindowResized()},N.props.speed))):N.onWindowResized()}),N.ro.observe(N.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(Ft){Ft.onfocus=N.props.pauseOnFocus?N.onSlideFocus:null,Ft.onblur=N.props.pauseOnFocus?N.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",N.onWindowResized):window.attachEvent("onresize",N.onWindowResized)}),(0,y.Z)(N,"componentWillUnmount",function(){N.animationEndCallback&&clearTimeout(N.animationEndCallback),N.lazyLoadTimer&&clearInterval(N.lazyLoadTimer),N.callbackTimers.length&&(N.callbackTimers.forEach(function(dt){return clearTimeout(dt)}),N.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",N.onWindowResized):window.detachEvent("onresize",N.onWindowResized),N.autoplayTimer&&clearInterval(N.autoplayTimer),N.ro.disconnect()}),(0,y.Z)(N,"componentDidUpdate",function(dt){if(N.checkImagesLoad(),N.props.onReInit&&N.props.onReInit(),N.props.lazyLoad){var nt=T((0,L.Z)((0,L.Z)({},N.props),N.state));nt.length>0&&(N.setState(function(zt){return{lazyLoadedList:zt.lazyLoadedList.concat(nt)}}),N.props.onLazyLoad&&N.props.onLazyLoad(nt))}N.adaptHeight();var Ft=(0,L.Z)((0,L.Z)({listRef:N.list,trackRef:N.track},N.props),N.state),Ot=N.didPropsChange(dt);Ot&&N.updateState(Ft,Ot,function(){N.state.currentSlide>=i.Children.count(N.props.children)&&N.changeSlide({message:"index",index:i.Children.count(N.props.children)-N.props.slidesToShow,currentSlide:N.state.currentSlide}),(dt.autoplay!==N.props.autoplay||dt.autoplaySpeed!==N.props.autoplaySpeed)&&(!dt.autoplay&&N.props.autoplay?N.autoPlay("playing"):N.props.autoplay?N.autoPlay("update"):N.pause("paused"))})}),(0,y.Z)(N,"onWindowResized",function(dt){N.debouncedResize&&N.debouncedResize.cancel(),N.debouncedResize=(0,z.D)(50,function(){return N.resizeWindow(dt)}),N.debouncedResize()}),(0,y.Z)(N,"resizeWindow",function(){var dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,nt=!!(N.track&&N.track.node);if(nt){var Ft=(0,L.Z)((0,L.Z)({listRef:N.list,trackRef:N.track},N.props),N.state);N.updateState(Ft,dt,function(){N.props.autoplay?N.autoPlay("update"):N.pause("paused")}),N.setState({animating:!1}),clearTimeout(N.animationEndCallback),delete N.animationEndCallback}}),(0,y.Z)(N,"updateState",function(dt,nt,Ft){var Ot=oe(dt);dt=(0,L.Z)((0,L.Z)((0,L.Z)({},dt),Ot),{},{slideIndex:Ot.currentSlide});var zt=ze(dt);dt=(0,L.Z)((0,L.Z)({},dt),{},{left:zt});var J=ht(dt);(nt||i.Children.count(N.props.children)!==i.Children.count(dt.children))&&(Ot.trackStyle=J),N.setState(Ot,Ft)}),(0,y.Z)(N,"ssrInit",function(){if(N.props.variableWidth){var dt=0,nt=0,Ft=[],Ot=Jt((0,L.Z)((0,L.Z)((0,L.Z)({},N.props),N.state),{},{slideCount:N.props.children.length})),zt=yt((0,L.Z)((0,L.Z)((0,L.Z)({},N.props),N.state),{},{slideCount:N.props.children.length}));N.props.children.forEach(function(Oe){Ft.push(Oe.props.style.width),dt+=Oe.props.style.width});for(var J=0;J<Ot;J++)nt+=Ft[Ft.length-1-J],dt+=Ft[Ft.length-1-J];for(var pe=0;pe<zt;pe++)dt+=Ft[pe];for(var It=0;It<N.state.currentSlide;It++)nt+=Ft[It];var Pe={width:dt+"px",left:-nt+"px"};if(N.props.centerMode){var Le="".concat(Ft[N.state.currentSlide],"px");Pe.left="calc(".concat(Pe.left," + (100% - ").concat(Le,") / 2 ) ")}return{trackStyle:Pe}}var re=i.Children.count(N.props.children),De=(0,L.Z)((0,L.Z)((0,L.Z)({},N.props),N.state),{},{slideCount:re}),$e=Jt(De)+yt(De)+re,je=100/N.props.slidesToShow*$e,st=100/$e,qt=-st*(Jt(De)+N.state.currentSlide)*je/100;N.props.centerMode&&(qt+=(100-st*je/100)/2);var ln={width:je+"%",left:qt+"%"};return{slideWidth:st+"%",trackStyle:ln}}),(0,y.Z)(N,"checkImagesLoad",function(){var dt=N.list&&N.list.querySelectorAll&&N.list.querySelectorAll(".slick-slide img")||[],nt=dt.length,Ft=0;Array.prototype.forEach.call(dt,function(Ot){var zt=function(){return++Ft&&Ft>=nt&&N.onWindowResized()};if(!Ot.onclick)Ot.onclick=function(){return Ot.parentNode.focus()};else{var J=Ot.onclick;Ot.onclick=function(pe){J(pe),Ot.parentNode.focus()}}Ot.onload||(N.props.lazyLoad?Ot.onload=function(){N.adaptHeight(),N.callbackTimers.push(setTimeout(N.onWindowResized,N.props.speed))}:(Ot.onload=zt,Ot.onerror=function(){zt(),N.props.onLazyLoadError&&N.props.onLazyLoadError()}))})}),(0,y.Z)(N,"progressiveLazyLoad",function(){for(var dt=[],nt=(0,L.Z)((0,L.Z)({},N.props),N.state),Ft=N.state.currentSlide;Ft<N.state.slideCount+yt(nt);Ft++)if(N.state.lazyLoadedList.indexOf(Ft)<0){dt.push(Ft);break}for(var Ot=N.state.currentSlide-1;Ot>=-Jt(nt);Ot--)if(N.state.lazyLoadedList.indexOf(Ot)<0){dt.push(Ot);break}dt.length>0?(N.setState(function(zt){return{lazyLoadedList:zt.lazyLoadedList.concat(dt)}}),N.props.onLazyLoad&&N.props.onLazyLoad(dt)):N.lazyLoadTimer&&(clearInterval(N.lazyLoadTimer),delete N.lazyLoadTimer)}),(0,y.Z)(N,"slideHandler",function(dt){var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ft=N.props,Ot=Ft.asNavFor,zt=Ft.beforeChange,J=Ft.onLazyLoad,pe=Ft.speed,It=Ft.afterChange,Pe=N.state.currentSlide,Le=ie((0,L.Z)((0,L.Z)((0,L.Z)({index:dt},N.props),N.state),{},{trackRef:N.track,useCSS:N.props.useCSS&&!nt})),re=Le.state,De=Le.nextState;if(re){zt&&zt(Pe,re.currentSlide);var $e=re.lazyLoadedList.filter(function(je){return N.state.lazyLoadedList.indexOf(je)<0});J&&$e.length>0&&J($e),!N.props.waitForAnimate&&N.animationEndCallback&&(clearTimeout(N.animationEndCallback),It&&It(Pe),delete N.animationEndCallback),N.setState(re,function(){Ot&&N.asNavForIndex!==dt&&(N.asNavForIndex=dt,Ot.innerSlider.slideHandler(dt)),De&&(N.animationEndCallback=setTimeout(function(){var je=De.animating,st=(0,b.Z)(De,kt);N.setState(st,function(){N.callbackTimers.push(setTimeout(function(){return N.setState({animating:je})},10)),It&&It(re.currentSlide),delete N.animationEndCallback})},pe))})}}),(0,y.Z)(N,"changeSlide",function(dt){var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ft=(0,L.Z)((0,L.Z)({},N.props),N.state),Ot=Ee(Ft,dt);if(!(Ot!==0&&!Ot)&&(nt===!0?N.slideHandler(Ot,nt):N.slideHandler(Ot),N.props.autoplay&&N.autoPlay("update"),N.props.focusOnSelect)){var zt=N.list.querySelectorAll(".slick-current");zt[0]&&zt[0].focus()}}),(0,y.Z)(N,"clickHandler",function(dt){N.clickable===!1&&(dt.stopPropagation(),dt.preventDefault()),N.clickable=!0}),(0,y.Z)(N,"keyHandler",function(dt){var nt=_(dt,N.props.accessibility,N.props.rtl);nt!==""&&N.changeSlide({message:nt})}),(0,y.Z)(N,"selectHandler",function(dt){N.changeSlide(dt)}),(0,y.Z)(N,"disableBodyScroll",function(){var dt=function(Ft){Ft=Ft||window.event,Ft.preventDefault&&Ft.preventDefault(),Ft.returnValue=!1};window.ontouchmove=dt}),(0,y.Z)(N,"enableBodyScroll",function(){window.ontouchmove=null}),(0,y.Z)(N,"swipeStart",function(dt){N.props.verticalSwiping&&N.disableBodyScroll();var nt=A(dt,N.props.swipe,N.props.draggable);nt!==""&&N.setState(nt)}),(0,y.Z)(N,"swipeMove",function(dt){var nt=fe(dt,(0,L.Z)((0,L.Z)((0,L.Z)({},N.props),N.state),{},{trackRef:N.track,listRef:N.list,slideIndex:N.state.currentSlide}));nt&&(nt.swiping&&(N.clickable=!1),N.setState(nt))}),(0,y.Z)(N,"swipeEnd",function(dt){var nt=Be(dt,(0,L.Z)((0,L.Z)((0,L.Z)({},N.props),N.state),{},{trackRef:N.track,listRef:N.list,slideIndex:N.state.currentSlide}));if(nt){var Ft=nt.triggerSlideHandler;delete nt.triggerSlideHandler,N.setState(nt),Ft!==void 0&&(N.slideHandler(Ft),N.props.verticalSwiping&&N.enableBodyScroll())}}),(0,y.Z)(N,"touchEnd",function(dt){N.swipeEnd(dt),N.clickable=!0}),(0,y.Z)(N,"slickPrev",function(){N.callbackTimers.push(setTimeout(function(){return N.changeSlide({message:"previous"})},0))}),(0,y.Z)(N,"slickNext",function(){N.callbackTimers.push(setTimeout(function(){return N.changeSlide({message:"next"})},0))}),(0,y.Z)(N,"slickGoTo",function(dt){var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(dt=Number(dt),isNaN(dt))return"";N.callbackTimers.push(setTimeout(function(){return N.changeSlide({message:"index",index:dt,currentSlide:N.state.currentSlide},nt)},0))}),(0,y.Z)(N,"play",function(){var dt;if(N.props.rtl)dt=N.state.currentSlide-N.props.slidesToScroll;else if(k((0,L.Z)((0,L.Z)({},N.props),N.state)))dt=N.state.currentSlide+N.props.slidesToScroll;else return!1;N.slideHandler(dt)}),(0,y.Z)(N,"autoPlay",function(dt){N.autoplayTimer&&clearInterval(N.autoplayTimer);var nt=N.state.autoplaying;if(dt==="update"){if(nt==="hovered"||nt==="focused"||nt==="paused")return}else if(dt==="leave"){if(nt==="paused"||nt==="focused")return}else if(dt==="blur"&&(nt==="paused"||nt==="hovered"))return;N.autoplayTimer=setInterval(N.play,N.props.autoplaySpeed+50),N.setState({autoplaying:"playing"})}),(0,y.Z)(N,"pause",function(dt){N.autoplayTimer&&(clearInterval(N.autoplayTimer),N.autoplayTimer=null);var nt=N.state.autoplaying;dt==="paused"?N.setState({autoplaying:"paused"}):dt==="focused"?(nt==="hovered"||nt==="playing")&&N.setState({autoplaying:"focused"}):nt==="playing"&&N.setState({autoplaying:"hovered"})}),(0,y.Z)(N,"onDotsOver",function(){return N.props.autoplay&&N.pause("hovered")}),(0,y.Z)(N,"onDotsLeave",function(){return N.props.autoplay&&N.state.autoplaying==="hovered"&&N.autoPlay("leave")}),(0,y.Z)(N,"onTrackOver",function(){return N.props.autoplay&&N.pause("hovered")}),(0,y.Z)(N,"onTrackLeave",function(){return N.props.autoplay&&N.state.autoplaying==="hovered"&&N.autoPlay("leave")}),(0,y.Z)(N,"onSlideFocus",function(){return N.props.autoplay&&N.pause("focused")}),(0,y.Z)(N,"onSlideBlur",function(){return N.props.autoplay&&N.state.autoplaying==="focused"&&N.autoPlay("blur")}),(0,y.Z)(N,"render",function(){var dt=Y()("slick-slider",N.props.className,{"slick-vertical":N.props.vertical,"slick-initialized":!0}),nt=(0,L.Z)((0,L.Z)({},N.props),N.state),Ft=I(nt,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),Ot=N.props.pauseOnHover;Ft=(0,L.Z)((0,L.Z)({},Ft),{},{onMouseEnter:Ot?N.onTrackOver:null,onMouseLeave:Ot?N.onTrackLeave:null,onMouseOver:Ot?N.onTrackOver:null,focusOnSelect:N.props.focusOnSelect&&N.clickable?N.selectHandler:null});var zt;if(N.props.dots===!0&&N.state.slideCount>=N.props.slidesToShow){var J=I(nt,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),pe=N.props.pauseOnDotsHover;J=(0,L.Z)((0,L.Z)({},J),{},{clickHandler:N.changeSlide,onMouseEnter:pe?N.onDotsLeave:null,onMouseOver:pe?N.onDotsOver:null,onMouseLeave:pe?N.onDotsLeave:null}),zt=i.createElement(gt,J)}var It,Pe,Le=I(nt,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);Le.clickHandler=N.changeSlide,N.props.arrows&&(It=i.createElement(xe,Le),Pe=i.createElement(Pt,Le));var re=null;N.props.vertical&&(re={height:N.state.listHeight});var De=null;N.props.vertical===!1?N.props.centerMode===!0&&(De={padding:"0px "+N.props.centerPadding}):N.props.centerMode===!0&&(De={padding:N.props.centerPadding+" 0px"});var $e=(0,L.Z)((0,L.Z)({},re),De),je=N.props.touchMove,st={className:"slick-list",style:$e,onClick:N.clickHandler,onMouseDown:je?N.swipeStart:null,onMouseMove:N.state.dragging&&je?N.swipeMove:null,onMouseUp:je?N.swipeEnd:null,onMouseLeave:N.state.dragging&&je?N.swipeEnd:null,onTouchStart:je?N.swipeStart:null,onTouchMove:N.state.dragging&&je?N.swipeMove:null,onTouchEnd:je?N.touchEnd:null,onTouchCancel:N.state.dragging&&je?N.swipeEnd:null,onKeyDown:N.props.accessibility?N.keyHandler:null},qt={className:dt,dir:"ltr",style:N.props.style};return N.props.unslick&&(st={className:"slick-list"},qt={className:dt,style:N.props.style}),i.createElement("div",qt,N.props.unslick?"":It,i.createElement("div",(0,U.Z)({ref:N.listRefHandler},st),i.createElement(Te,(0,U.Z)({ref:N.trackRefHandler},Ft),N.props.children)),N.props.unslick?"":Pe,N.props.unslick?"":zt)}),N.list=null,N.track=null,N.state=(0,L.Z)((0,L.Z)({},w),{},{currentSlide:N.props.initialSlide,targetSlide:N.props.initialSlide?N.props.initialSlide:0,slideCount:i.Children.count(N.props.children)}),N.callbackTimers=[],N.clickable=!0,N.debouncedResize=null;var _t=N.ssrInit();return N.state=(0,L.Z)((0,L.Z)({},N.state),_t),N}return(0,l.Z)(le,Rt),(0,j.Z)(le,[{key:"didPropsChange",value:function(N){for(var _t=!1,dt=0,nt=Object.keys(this.props);dt<nt.length;dt++){var Ft=nt[dt];if(!N.hasOwnProperty(Ft)){_t=!0;break}if(!((0,P.Z)(N[Ft])==="object"||typeof N[Ft]=="function"||isNaN(N[Ft]))&&N[Ft]!==this.props[Ft]){_t=!0;break}}return _t||i.Children.count(this.props.children)!==i.Children.count(N.children)}}])}(i.Component),Gt=u(7861),Zt=u.n(Gt);function Re(Rt,le,ae){return le=(0,K.Z)(le),(0,g.Z)(Rt,(0,V.Z)()?Reflect.construct(le,ae||[],(0,K.Z)(Rt).constructor):le.apply(Rt,ae))}var pt=function(Rt){function le(ae){var N;return(0,ce.Z)(this,le),N=Re(this,le,[ae]),(0,y.Z)(N,"innerSliderRefHandler",function(_t){return N.innerSlider=_t}),(0,y.Z)(N,"slickPrev",function(){return N.innerSlider.slickPrev()}),(0,y.Z)(N,"slickNext",function(){return N.innerSlider.slickNext()}),(0,y.Z)(N,"slickGoTo",function(_t){var dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return N.innerSlider.slickGoTo(_t,dt)}),(0,y.Z)(N,"slickPause",function(){return N.innerSlider.pause("paused")}),(0,y.Z)(N,"slickPlay",function(){return N.innerSlider.autoPlay("play")}),N.state={breakpoint:null},N._responsiveMediaHandlers=[],N}return(0,l.Z)(le,Rt),(0,j.Z)(le,[{key:"media",value:function(N,_t){var dt=window.matchMedia(N),nt=function(Ot){var zt=Ot.matches;zt&&_t()};dt.addListener(nt),nt(dt),this._responsiveMediaHandlers.push({mql:dt,query:N,listener:nt})}},{key:"componentDidMount",value:function(){var N=this;if(this.props.responsive){var _t=this.props.responsive.map(function(nt){return nt.breakpoint});_t.sort(function(nt,Ft){return nt-Ft}),_t.forEach(function(nt,Ft){var Ot;Ft===0?Ot=Zt()({minWidth:0,maxWidth:nt}):Ot=Zt()({minWidth:_t[Ft-1]+1,maxWidth:nt}),Ne()&&N.media(Ot,function(){N.setState({breakpoint:nt})})});var dt=Zt()({minWidth:_t.slice(-1)[0]});Ne()&&this.media(dt,function(){N.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(N){N.mql.removeListener(N.listener)})}},{key:"render",value:function(){var N=this,_t,dt;this.state.breakpoint?(dt=this.props.responsive.filter(function(re){return re.breakpoint===N.state.breakpoint}),_t=dt[0].settings==="unslick"?"unslick":(0,L.Z)((0,L.Z)((0,L.Z)({},R),this.props),dt[0].settings)):_t=(0,L.Z)((0,L.Z)({},R),this.props),_t.centerMode&&(_t.slidesToScroll>1,_t.slidesToScroll=1),_t.fade&&(_t.slidesToShow>1,_t.slidesToScroll>1,_t.slidesToShow=1,_t.slidesToScroll=1);var nt=i.Children.toArray(this.props.children);nt=nt.filter(function(re){return typeof re=="string"?!!re.trim():!!re}),_t.variableWidth&&(_t.rows>1||_t.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),_t.variableWidth=!1);for(var Ft=[],Ot=null,zt=0;zt<nt.length;zt+=_t.rows*_t.slidesPerRow){for(var J=[],pe=zt;pe<zt+_t.rows*_t.slidesPerRow;pe+=_t.slidesPerRow){for(var It=[],Pe=pe;Pe<pe+_t.slidesPerRow&&(_t.variableWidth&&nt[Pe].props.style&&(Ot=nt[Pe].props.style.width),!(Pe>=nt.length));Pe+=1)It.push(i.cloneElement(nt[Pe],{key:100*zt+10*pe+Pe,tabIndex:-1,style:{width:"".concat(100/_t.slidesPerRow,"%"),display:"inline-block"}}));J.push(i.createElement("div",{key:10*zt+pe},It))}_t.variableWidth?Ft.push(i.createElement("div",{key:zt,style:{width:Ot}},J)):Ft.push(i.createElement("div",{key:zt},J))}if(_t==="unslick"){var Le="regular slider "+(this.props.className||"");return i.createElement("div",{className:Le},nt)}else Ft.length<=_t.slidesToShow&&!_t.infinite&&(_t.unslick=!0);return i.createElement(mt,(0,U.Z)({style:this.props.style,ref:this.innerSliderRefHandler},lt(_t)),Ft)}}])}(i.Component),E=pt,D=u(48755),rt=u(36237),te=u(63356),Ae=u(16931);const tn="--dot-duration",Ce=Rt=>{const{componentCls:le,antCls:ae}=Rt;return{[le]:Object.assign(Object.assign({},(0,te.Wf)(Rt)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${ae}-radio-input, input${ae}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${ae}-radio-input, input${ae}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"}})}},Ve=Rt=>{const{componentCls:le,motionDurationSlow:ae,arrowSize:N,arrowOffset:_t}=Rt,dt=Rt.calc(N).div(Math.SQRT2).equal();return{[le]:{".slick-prev, .slick-next":{position:"absolute",top:"50%",width:N,height:N,transform:"translateY(-50%)",color:"#fff",opacity:.4,background:"transparent",padding:0,lineHeight:0,border:0,outline:"none",cursor:"pointer",zIndex:1,transition:`opacity ${ae}`,"&:hover, &:focus":{opacity:1},"&.slick-disabled":{pointerEvents:"none",opacity:0},"&::after":{boxSizing:"border-box",position:"absolute",top:Rt.calc(N).sub(dt).div(2).equal(),insetInlineStart:Rt.calc(N).sub(dt).div(2).equal(),display:"inline-block",width:dt,height:dt,border:"0 solid currentcolor",borderInlineStartWidth:2,borderBlockStartWidth:2,borderRadius:1,content:'""'}},".slick-prev":{insetInlineStart:_t,"&::after":{transform:"rotate(-45deg)"}},".slick-next":{insetInlineEnd:_t,"&::after":{transform:"rotate(135deg)"}}}}},ut=Rt=>{const{componentCls:le,dotOffset:ae,dotWidth:N,dotHeight:_t,dotGap:dt,colorBgContainer:nt,motionDurationSlow:Ft}=Rt;return{[le]:{".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:ae},"&-top":{top:ae,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:N,height:_t,marginInline:dt,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${Ft}`,borderRadius:_t,overflow:"hidden","&::after":{display:"block",position:"absolute",top:0,insetInlineStart:0,width:"100%",height:_t,content:'""',background:nt,borderRadius:_t,opacity:1,outline:"none",cursor:"pointer",overflow:"hidden",transform:"translate3d(-100%, 0, 0)"},button:{position:"relative",display:"block",width:"100%",height:_t,padding:0,color:"transparent",fontSize:0,background:nt,border:0,borderRadius:_t,outline:"none",cursor:"pointer",opacity:.2,transition:`all ${Ft}`,overflow:"hidden","&:hover":{opacity:.75},"&::after":{position:"absolute",inset:Rt.calc(dt).mul(-1).equal(),content:'""'}},"&.slick-active":{width:Rt.dotActiveWidth,position:"relative","&:hover":{opacity:1},"&::after":{transform:"translate3d(0, 0, 0)",transition:`transform var(${tn}) ease-out`}}}}}}},ye=Rt=>{const{componentCls:le,dotOffset:ae,arrowOffset:N,marginXXS:_t}=Rt,dt={width:Rt.dotHeight,height:Rt.dotWidth};return{[`${le}-vertical`]:{".slick-prev, .slick-next":{insetInlineStart:"50%",marginBlockStart:"unset",transform:"translateX(-50%)"},".slick-prev":{insetBlockStart:N,insetInlineStart:"50%","&::after":{transform:"rotate(45deg)"}},".slick-next":{insetBlockStart:"auto",insetBlockEnd:N,"&::after":{transform:"rotate(-135deg)"}},".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:Rt.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:ae},"&-right":{insetInlineEnd:ae,insetInlineStart:"auto"},li:Object.assign(Object.assign({},dt),{margin:`${(0,rt.unit)(_t)} 0`,verticalAlign:"baseline",button:dt,"&::after":Object.assign(Object.assign({},dt),{height:0}),"&.slick-active":Object.assign(Object.assign({},dt),{button:dt,"&::after":Object.assign(Object.assign({},dt),{transition:`height var(${tn}) ease-out`})})})}}}},we=Rt=>{const{componentCls:le}=Rt;return[{[`${le}-rtl`]:{direction:"rtl",".slick-dots":{[`${le}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${le}-vertical`]:{".slick-dots":{[`${le}-rtl&`]:{flexDirection:"column"}}}}]},tt=Rt=>({arrowSize:16,arrowOffset:Rt.marginXS,dotWidth:16,dotHeight:3,dotGap:Rt.marginXXS,dotOffset:12,dotWidthActive:24,dotActiveWidth:24});var et=(0,Ae.I$)("Carousel",Rt=>[Ce(Rt),Ve(Rt),ut(Rt),ye(Rt),we(Rt)],tt,{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]}),X=function(Rt,le){var ae={};for(var N in Rt)Object.prototype.hasOwnProperty.call(Rt,N)&&le.indexOf(N)<0&&(ae[N]=Rt[N]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,N=Object.getOwnPropertySymbols(Rt);_t<N.length;_t++)le.indexOf(N[_t])<0&&Object.prototype.propertyIsEnumerable.call(Rt,N[_t])&&(ae[N[_t]]=Rt[N[_t]]);return ae};const St="slick-dots",Se=Rt=>{var{currentSlide:le,slideCount:ae}=Rt,N=X(Rt,["currentSlide","slideCount"]);return i.createElement("button",Object.assign({type:"button"},N))};var Kt=i.forwardRef((Rt,le)=>{const{dots:ae=!0,arrows:N=!1,prevArrow:_t=i.createElement(Se,{"aria-label":"prev"}),nextArrow:dt=i.createElement(Se,{"aria-label":"next"}),draggable:nt=!1,waitForAnimate:Ft=!1,dotPosition:Ot="bottom",vertical:zt=Ot==="left"||Ot==="right",rootClassName:J,className:pe,style:It,id:Pe,autoplay:Le=!1,autoplaySpeed:re=3e3}=Rt,De=X(Rt,["dots","arrows","prevArrow","nextArrow","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id","autoplay","autoplaySpeed"]),{getPrefixCls:$e,direction:je,className:st,style:qt}=(0,D.dj)("carousel"),ln=i.useRef(null),Oe=function(sn){let gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ln.current.slickGoTo(sn,gn)};i.useImperativeHandle(le,()=>({goTo:Oe,autoPlay:ln.current.innerSlider.autoPlay,innerSlider:ln.current.innerSlider,prev:ln.current.slickPrev,next:ln.current.slickNext}),[ln.current]);const ot=i.useRef(i.Children.count(Rt.children));i.useEffect(()=>{ot.current!==i.Children.count(Rt.children)&&(Oe(Rt.initialSlide||0,!1),ot.current=i.Children.count(Rt.children))},[Rt.children]);const wt=Object.assign({vertical:zt,className:Y()(pe,st),style:Object.assign(Object.assign({},qt),It),autoplay:!!Le},De);wt.effect==="fade"&&(wt.fade=!0);const Qt=$e("carousel",wt.prefixCls),Xt=!!ae,Ye=Y()(St,`${St}-${Ot}`,typeof ae=="boolean"?!1:ae==null?void 0:ae.className),[ct,Nt,Bt]=et(Qt),Ht=Y()(Qt,{[`${Qt}-rtl`]:je==="rtl",[`${Qt}-vertical`]:wt.vertical},Nt,Bt,J),an=Le&&(typeof Le=="object"?Le.dotDuration:!1)?{[tn]:`${re}ms`}:{};return ct(i.createElement("div",{className:Ht,id:Pe,style:an},i.createElement(E,Object.assign({ref:ln},wt,{dots:Xt,dotsClass:Ye,arrows:N,prevArrow:_t,nextArrow:dt,draggable:nt,verticalSwiping:zt,autoplaySpeed:re,waitForAnimate:Ft}))))})},79939:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return ln}});var i=u(94480),U=u(59301),L=u(92310),ce=u.n(L),j=u(54476),g=u(33885),V=u(42978),K=u(75931),l=u(37463),y=u(6551),P=u(6089),b=u(18929),C=U.createContext({}),w=C,z=u(76190),W=u(20068),Y="__rc_cascader_search_mark__",$=function(ot,wt,Qt){var Xt=Qt.label,Ye=Xt===void 0?"":Xt;return wt.some(function(ct){return String(ct[Ye]).toLowerCase().includes(ot.toLowerCase())})},R=function(ot,wt,Qt,Xt){return wt.map(function(Ye){return Ye[Xt.label]}).join(" / ")},G=function(ot,wt,Qt,Xt,Ye,ct){var Nt=Ye.filter,Bt=Nt===void 0?$:Nt,Ht=Ye.render,vt=Ht===void 0?R:Ht,an=Ye.limit,sn=an===void 0?50:an,gn=Ye.sort;return U.useMemo(function(){var bn=[];if(!ot)return[];function In(wn,An){var Fn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;wn.forEach(function(Mn){if(!(!gn&&sn!==!1&&sn>0&&bn.length>=sn)){var rr=[].concat((0,i.Z)(An),[Mn]),Rn=Mn[Qt.children],jn=Fn||Mn.disabled;if((!Rn||Rn.length===0||ct)&&Bt(ot,rr,{label:Qt.label})){var Yn;bn.push((0,g.Z)((0,g.Z)({},Mn),{},(Yn={disabled:jn},(0,W.Z)(Yn,Qt.label,vt(ot,rr,Xt,Qt)),(0,W.Z)(Yn,Y,rr),(0,W.Z)(Yn,Qt.children,void 0),Yn)))}Rn&&In(Mn[Qt.children],rr,jn)}})}return In(wt,[]),gn&&bn.sort(function(wn,An){return gn(wn[Y],An[Y],ot,Qt)}),sn!==!1&&sn>0?bn.slice(0,sn):bn},[ot,wt,Qt,Xt,vt,ct,Bt,gn,sn])},O=G,T="__RC_CASCADER_SPLIT__",ue="SHOW_PARENT",be="SHOW_CHILD";function he(Oe){return Oe.join(T)}function Ue(Oe){return Oe.map(he)}function Qe(Oe){return Oe.split(T)}function ke(Oe){var ot=Oe||{},wt=ot.label,Qt=ot.value,Xt=ot.children,Ye=Qt||"value";return{label:wt||"label",value:Ye,key:Ye,children:Xt||"children"}}function Ze(Oe,ot){var wt,Qt;return(wt=Oe.isLeaf)!==null&&wt!==void 0?wt:!((Qt=Oe[ot.children])!==null&&Qt!==void 0&&Qt.length)}function se(Oe){var ot=Oe.parentElement;if(ot){var wt=Oe.offsetTop-ot.offsetTop;wt-ot.scrollTop<0?ot.scrollTo({top:wt}):wt+Oe.offsetHeight-ot.scrollTop>ot.offsetHeight&&ot.scrollTo({top:wt+Oe.offsetHeight-ot.offsetHeight})}}function k(Oe,ot){return Oe.map(function(wt){var Qt;return(Qt=wt[Y])===null||Qt===void 0?void 0:Qt.map(function(Xt){return Xt[ot.value]})})}function I(Oe){return Array.isArray(Oe)&&Array.isArray(Oe[0])}function oe(Oe){return Oe?I(Oe)?Oe:(Oe.length===0?[]:[Oe]).map(function(ot){return Array.isArray(ot)?ot:[ot]}):[]}function ie(Oe,ot,wt){var Qt=new Set(Oe),Xt=ot();return Oe.filter(function(Ye){var ct=Xt[Ye],Nt=ct?ct.parent:null,Bt=ct?ct.children:null;return ct&&ct.node.disabled?!0:wt===be?!(Bt&&Bt.some(function(Ht){return Ht.key&&Qt.has(Ht.key)})):!(Nt&&!Nt.node.disabled&&Qt.has(Nt.key))})}function Ee(Oe,ot,wt){for(var Qt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Xt=ot,Ye=[],ct=function(){var Ht,vt,an,sn=Oe[Nt],gn=(Ht=Xt)===null||Ht===void 0?void 0:Ht.findIndex(function(In){var wn=In[wt.value];return Qt?String(wn)===String(sn):wn===sn}),bn=gn!==-1?(vt=Xt)===null||vt===void 0?void 0:vt[gn]:null;Ye.push({value:(an=bn==null?void 0:bn[wt.value])!==null&&an!==void 0?an:sn,index:gn,option:bn}),Xt=bn==null?void 0:bn[wt.children]},Nt=0;Nt<Oe.length;Nt+=1)ct();return Ye}var _=function(Oe,ot,wt,Qt,Xt){return U.useMemo(function(){var Ye=Xt||function(ct){var Nt=Qt?ct.slice(-1):ct,Bt=" / ";return Nt.every(function(Ht){return["string","number"].includes((0,z.Z)(Ht))})?Nt.join(Bt):Nt.reduce(function(Ht,vt,an){var sn=U.isValidElement(vt)?U.cloneElement(vt,{key:an}):vt;return an===0?[sn]:[].concat((0,i.Z)(Ht),[Bt,sn])},[])};return Oe.map(function(ct){var Nt,Bt=Ee(ct,ot,wt),Ht=Ye(Bt.map(function(an){var sn,gn=an.option,bn=an.value;return(sn=gn==null?void 0:gn[wt.label])!==null&&sn!==void 0?sn:bn}),Bt.map(function(an){var sn=an.option;return sn})),vt=he(ct);return{label:Ht,value:vt,key:vt,valueCells:ct,disabled:(Nt=Bt[Bt.length-1])===null||Nt===void 0||(Nt=Nt.option)===null||Nt===void 0?void 0:Nt.disabled}})},[Oe,ot,wt,Xt,Qt])};function A(Oe,ot){return U.useCallback(function(wt){var Qt=[],Xt=[];return wt.forEach(function(Ye){var ct=Ee(Ye,Oe,ot);ct.every(function(Nt){return Nt.option})?Xt.push(Ye):Qt.push(Ye)}),[Xt,Qt]},[Oe,ot])}var fe=u(34061),Be=function(Oe,ot){var wt=U.useRef({options:[],info:{keyEntities:{},pathKeyEntities:{}}}),Qt=U.useCallback(function(){return wt.current.options!==Oe&&(wt.current.options=Oe,wt.current.info=(0,fe.I8)(Oe,{fieldNames:ot,initWrapper:function(Ye){return(0,g.Z)((0,g.Z)({},Ye),{},{pathKeyEntities:{}})},processEntity:function(Ye,ct){var Nt=Ye.nodes.map(function(Bt){return Bt[ot.value]}).join(T);ct.pathKeyEntities[Nt]=Ye,Ye.key=Nt}})),wt.current.info.pathKeyEntities},[ot,Oe]);return Qt};function ft(Oe,ot){var wt=U.useMemo(function(){return ot||[]},[ot]),Qt=Be(wt,Oe),Xt=U.useCallback(function(Ye){var ct=Qt();return Ye.map(function(Nt){var Bt=ct[Nt].nodes;return Bt.map(function(Ht){return Ht[Oe.value]})})},[Qt,Oe]);return[wt,Qt,Xt]}var At=u(48736);function Ie(Oe){return U.useMemo(function(){if(!Oe)return[!1,{}];var ot={matchInputWidth:!0,limit:50};return Oe&&(0,z.Z)(Oe)==="object"&&(ot=(0,g.Z)((0,g.Z)({},ot),Oe)),ot.limit<=0&&(ot.limit=!1),[!0,ot]},[Oe])}var it=u(34643);function ht(Oe,ot,wt,Qt,Xt,Ye,ct,Nt){return function(Bt){if(!Oe)ot(Bt);else{var Ht=he(Bt),vt=Ue(wt),an=Ue(Qt),sn=vt.includes(Ht),gn=Xt.some(function(jn){return he(jn)===Ht}),bn=wt,In=Xt;if(gn&&!sn)In=Xt.filter(function(jn){return he(jn)!==Ht});else{var wn=sn?vt.filter(function(jn){return jn!==Ht}):[].concat((0,i.Z)(vt),[Ht]),An=Ye(),Fn;if(sn){var Mn=(0,it.S)(wn,{checked:!1,halfCheckedKeys:an},An);Fn=Mn.checkedKeys}else{var rr=(0,it.S)(wn,!0,An);Fn=rr.checkedKeys}var Rn=ie(Fn,Ye,Nt);bn=ct(Rn)}ot([].concat((0,i.Z)(In),(0,i.Z)(bn)))}}}function Tt(Oe,ot,wt,Qt,Xt){return U.useMemo(function(){var Ye=Xt(ot),ct=(0,V.Z)(Ye,2),Nt=ct[0],Bt=ct[1];if(!Oe||!ot.length)return[Nt,[],Bt];var Ht=Ue(Nt),vt=wt(),an=(0,it.S)(Ht,!0,vt),sn=an.checkedKeys,gn=an.halfCheckedKeys;return[Qt(sn),Qt(gn),Bt]},[Oe,ot,wt,Qt,Xt])}var ze=U.memo(function(Oe){var ot=Oe.children;return ot},function(Oe,ot){return!ot.open}),Jt=ze;function yt(Oe){var ot,wt=Oe.prefixCls,Qt=Oe.checked,Xt=Oe.halfChecked,Ye=Oe.disabled,ct=Oe.onClick,Nt=Oe.disableCheckbox,Bt=U.useContext(w),Ht=Bt.checkable,vt=typeof Ht!="boolean"?Ht:null;return U.createElement("span",{className:ce()("".concat(wt),(ot={},(0,W.Z)(ot,"".concat(wt,"-checked"),Qt),(0,W.Z)(ot,"".concat(wt,"-indeterminate"),!Qt&&Xt),(0,W.Z)(ot,"".concat(wt,"-disabled"),Ye||Nt),ot)),onClick:ct},vt)}var cn="__cascader_fix_label__";function Je(Oe){var ot=Oe.prefixCls,wt=Oe.multiple,Qt=Oe.options,Xt=Oe.activeValue,Ye=Oe.prevValuePath,ct=Oe.onToggleOpen,Nt=Oe.onSelect,Bt=Oe.onActive,Ht=Oe.checkedSet,vt=Oe.halfCheckedSet,an=Oe.loadingKeys,sn=Oe.isSelectable,gn=Oe.disabled,bn="".concat(ot,"-menu"),In="".concat(ot,"-menu-item"),wn=U.useContext(w),An=wn.fieldNames,Fn=wn.changeOnSelect,Mn=wn.expandTrigger,rr=wn.expandIcon,Rn=wn.loadingIcon,jn=wn.dropdownMenuColumnStyle,Yn=wn.optionRender,er=Mn==="hover",qn=function(zn){return gn||zn},Kn=U.useMemo(function(){return Qt.map(function(Ln){var zn,hr=Ln.disabled,rn=Ln.disableCheckbox,nn=Ln[Y],pn=(zn=Ln[cn])!==null&&zn!==void 0?zn:Ln[An.label],or=Ln[An.value],tr=Ze(Ln,An),ur=nn?nn.map(function(xn){return xn[An.value]}):[].concat((0,i.Z)(Ye),[or]),lr=he(ur),Un=an.includes(lr),fn=Ht.has(lr),dn=vt.has(lr);return{disabled:hr,label:pn,value:or,isLeaf:tr,isLoading:Un,checked:fn,halfChecked:dn,option:Ln,disableCheckbox:rn,fullPath:ur,fullPathKey:lr}})},[Qt,Ht,An,vt,an,Ye]);return U.createElement("ul",{className:bn,role:"menu"},Kn.map(function(Ln){var zn,hr=Ln.disabled,rn=Ln.label,nn=Ln.value,pn=Ln.isLeaf,or=Ln.isLoading,tr=Ln.checked,ur=Ln.halfChecked,lr=Ln.option,Un=Ln.fullPath,fn=Ln.fullPathKey,dn=Ln.disableCheckbox,xn=function(){if(!qn(hr)){var Er=(0,i.Z)(Un);er&&pn&&Er.pop(),Bt(Er)}},Gn=function(){sn(lr)&&!qn(hr)&&Nt(Un,pn)},Xn;return typeof lr.title=="string"?Xn=lr.title:typeof rn=="string"&&(Xn=rn),U.createElement("li",{key:fn,className:ce()(In,(zn={},(0,W.Z)(zn,"".concat(In,"-expand"),!pn),(0,W.Z)(zn,"".concat(In,"-active"),Xt===nn||Xt===fn),(0,W.Z)(zn,"".concat(In,"-disabled"),qn(hr)),(0,W.Z)(zn,"".concat(In,"-loading"),or),zn)),style:jn,role:"menuitemcheckbox",title:Xn,"aria-checked":tr,"data-path-key":fn,onClick:function(){xn(),!dn&&(!wt||pn)&&Gn()},onDoubleClick:function(){Fn&&ct(!1)},onMouseEnter:function(){er&&xn()},onMouseDown:function(Er){Er.preventDefault()}},wt&&U.createElement(yt,{prefixCls:"".concat(ot,"-checkbox"),checked:tr,halfChecked:ur,disabled:qn(hr)||dn,disableCheckbox:dn,onClick:function(Er){dn||(Er.stopPropagation(),Gn())}}),U.createElement("div",{className:"".concat(In,"-content")},Yn?Yn(lr):rn),!or&&rr&&!pn&&U.createElement("div",{className:"".concat(In,"-expand-icon")},rr),or&&Rn&&U.createElement("div",{className:"".concat(In,"-loading-icon")},Rn))}))}var bt=function(ot,wt){var Qt=U.useContext(w),Xt=Qt.values,Ye=Xt[0],ct=U.useState([]),Nt=(0,V.Z)(ct,2),Bt=Nt[0],Ht=Nt[1];return U.useEffect(function(){ot||Ht(Ye||[])},[wt,Ye]),[Bt,Ht]},Ge=bt,Ne=u(10228),ne=function(Oe,ot,wt,Qt,Xt,Ye,ct){var Nt=ct.direction,Bt=ct.searchValue,Ht=ct.toggleOpen,vt=ct.open,an=Nt==="rtl",sn=U.useMemo(function(){for(var jn=-1,Yn=ot,er=[],qn=[],Kn=Qt.length,Ln=k(ot,wt),zn=function(or){var tr=Yn.findIndex(function(ur,lr){return(Ln[lr]?he(Ln[lr]):ur[wt.value])===Qt[or]});if(tr===-1)return 1;jn=tr,er.push(jn),qn.push(Qt[or]),Yn=Yn[jn][wt.children]},hr=0;hr<Kn&&Yn&&!zn(hr);hr+=1);for(var rn=ot,nn=0;nn<er.length-1;nn+=1)rn=rn[er[nn]][wt.children];return[qn,jn,rn,Ln]},[Qt,wt,ot]),gn=(0,V.Z)(sn,4),bn=gn[0],In=gn[1],wn=gn[2],An=gn[3],Fn=function(Yn){Xt(Yn)},Mn=function(Yn){var er=wn.length,qn=In;qn===-1&&Yn<0&&(qn=er);for(var Kn=0;Kn<er;Kn+=1){qn=(qn+Yn+er)%er;var Ln=wn[qn];if(Ln&&!Ln.disabled){var zn=bn.slice(0,-1).concat(An[qn]?he(An[qn]):Ln[wt.value]);Fn(zn);return}}},rr=function(){if(bn.length>1){var Yn=bn.slice(0,-1);Fn(Yn)}else Ht(!1)},Rn=function(){var Yn,er=((Yn=wn[In])===null||Yn===void 0?void 0:Yn[wt.children])||[],qn=er.find(function(Ln){return!Ln.disabled});if(qn){var Kn=[].concat((0,i.Z)(bn),[qn[wt.value]]);Fn(Kn)}};U.useImperativeHandle(Oe,function(){return{onKeyDown:function(Yn){var er=Yn.which;switch(er){case Ne.Z.UP:case Ne.Z.DOWN:{var qn=0;er===Ne.Z.UP?qn=-1:er===Ne.Z.DOWN&&(qn=1),qn!==0&&Mn(qn);break}case Ne.Z.LEFT:{if(Bt)break;an?Rn():rr();break}case Ne.Z.RIGHT:{if(Bt)break;an?rr():Rn();break}case Ne.Z.BACKSPACE:{Bt||rr();break}case Ne.Z.ENTER:{if(bn.length){var Kn=wn[In],Ln=(Kn==null?void 0:Kn[Y])||[];Ln.length?Ye(Ln.map(function(zn){return zn[wt.value]}),Ln[Ln.length-1]):Ye(bn,wn[In])}break}case Ne.Z.ESC:Ht(!1),vt&&Yn.stopPropagation()}},onKeyUp:function(){}}})},lt=U.forwardRef(function(Oe,ot){var wt,Qt,Xt,Ye=Oe.prefixCls,ct=Oe.multiple,Nt=Oe.searchValue,Bt=Oe.toggleOpen,Ht=Oe.notFoundContent,vt=Oe.direction,an=Oe.open,sn=Oe.disabled,gn=U.useRef(null),bn=vt==="rtl",In=U.useContext(w),wn=In.options,An=In.values,Fn=In.halfValues,Mn=In.fieldNames,rr=In.changeOnSelect,Rn=In.onSelect,jn=In.searchOptions,Yn=In.dropdownPrefixCls,er=In.loadData,qn=In.expandTrigger,Kn=Yn||Ye,Ln=U.useState([]),zn=(0,V.Z)(Ln,2),hr=zn[0],rn=zn[1],nn=function(Lr){if(!(!er||Nt)){var Sr=Ee(Lr,wn,Mn),Zr=Sr.map(function(Ir){var Or=Ir.option;return Or}),_r=Zr[Zr.length-1];if(_r&&!Ze(_r,Mn)){var Xr=he(Lr);rn(function(Ir){return[].concat((0,i.Z)(Ir),[Xr])}),er(Zr)}}};U.useEffect(function(){hr.length&&hr.forEach(function(Fr){var Lr=Qe(Fr),Sr=Ee(Lr,wn,Mn,!0).map(function(_r){var Xr=_r.option;return Xr}),Zr=Sr[Sr.length-1];(!Zr||Zr[Mn.children]||Ze(Zr,Mn))&&rn(function(_r){return _r.filter(function(Xr){return Xr!==Fr})})})},[wn,hr,Mn]);var pn=U.useMemo(function(){return new Set(Ue(An))},[An]),or=U.useMemo(function(){return new Set(Ue(Fn))},[Fn]),tr=Ge(ct,an),ur=(0,V.Z)(tr,2),lr=ur[0],Un=ur[1],fn=function(Lr){Un(Lr),nn(Lr)},dn=function(Lr){if(sn)return!1;var Sr=Lr.disabled,Zr=Ze(Lr,Mn);return!Sr&&(Zr||rr||ct)},xn=function(Lr,Sr){var Zr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Rn(Lr),!ct&&(Sr||rr&&(qn==="hover"||Zr))&&Bt(!1)},Gn=U.useMemo(function(){return Nt?jn:wn},[Nt,jn,wn]),Xn=U.useMemo(function(){for(var Fr=[{options:Gn}],Lr=Gn,Sr=k(Lr,Mn),Zr=function(){var Ir=lr[_r],Or=Lr.find(function(on,En){return(Sr[En]?he(Sr[En]):on[Mn.value])===Ir}),Nr=Or==null?void 0:Or[Mn.children];if(!(Nr!=null&&Nr.length))return 1;Lr=Nr,Fr.push({options:Nr})},_r=0;_r<lr.length&&!Zr();_r+=1);return Fr},[Gn,lr,Mn]),gr=function(Lr,Sr){dn(Sr)&&xn(Lr,Ze(Sr,Mn),!0)};ne(ot,Gn,Mn,lr,fn,gr,{direction:vt,searchValue:Nt,toggleOpen:Bt,open:an}),U.useEffect(function(){if(!Nt)for(var Fr=0;Fr<lr.length;Fr+=1){var Lr,Sr=lr.slice(0,Fr+1),Zr=he(Sr),_r=(Lr=gn.current)===null||Lr===void 0?void 0:Lr.querySelector('li[data-path-key="'.concat(Zr.replace(/\\{0,2}"/g,'\\"'),'"]'));_r&&se(_r)}},[lr,Nt]);var Er=!((wt=Xn[0])!==null&&wt!==void 0&&(wt=wt.options)!==null&&wt!==void 0&&wt.length),Zn=[(Qt={},(0,W.Z)(Qt,Mn.value,"__EMPTY__"),(0,W.Z)(Qt,cn,Ht),(0,W.Z)(Qt,"disabled",!0),Qt)],Cr=(0,g.Z)((0,g.Z)({},Oe),{},{multiple:!Er&&ct,onSelect:xn,onActive:fn,onToggleOpen:Bt,checkedSet:pn,halfCheckedSet:or,loadingKeys:hr,isSelectable:dn}),wr=Er?[{options:Zn}]:Xn,Kr=wr.map(function(Fr,Lr){var Sr=lr.slice(0,Lr),Zr=lr[Lr];return U.createElement(Je,(0,j.Z)({key:Lr},Cr,{prefixCls:Kn,options:Fr.options,prevValuePath:Sr,activeValue:Zr}))});return U.createElement(Jt,{open:an},U.createElement("div",{className:ce()("".concat(Kn,"-menus"),(Xt={},(0,W.Z)(Xt,"".concat(Kn,"-menu-empty"),Er),(0,W.Z)(Xt,"".concat(Kn,"-rtl"),bn),Xt)),ref:gn},Kr))}),Ke=lt,H=U.forwardRef(function(Oe,ot){var wt=(0,l.lk)();return U.createElement(Ke,(0,j.Z)({},Oe,wt,{ref:ot}))}),M=H,_e=u(70425);function me(){}function Te(Oe){var ot,wt=Oe,Qt=wt.prefixCls,Xt=Qt===void 0?"rc-cascader":Qt,Ye=wt.style,ct=wt.className,Nt=wt.options,Bt=wt.checkable,Ht=wt.defaultValue,vt=wt.value,an=wt.fieldNames,sn=wt.changeOnSelect,gn=wt.onChange,bn=wt.showCheckedStrategy,In=wt.loadData,wn=wt.expandTrigger,An=wt.expandIcon,Fn=An===void 0?">":An,Mn=wt.loadingIcon,rr=wt.direction,Rn=wt.notFoundContent,jn=Rn===void 0?"Not Found":Rn,Yn=wt.disabled,er=!!Bt,qn=(0,_e.C8)(Ht,{value:vt,postState:oe}),Kn=(0,V.Z)(qn,2),Ln=Kn[0],zn=Kn[1],hr=U.useMemo(function(){return ke(an)},[JSON.stringify(an)]),rn=ft(hr,Nt),nn=(0,V.Z)(rn,3),pn=nn[0],or=nn[1],tr=nn[2],ur=A(pn,hr),lr=Tt(er,Ln,or,tr,ur),Un=(0,V.Z)(lr,3),fn=Un[0],dn=Un[1],xn=Un[2],Gn=(0,_e.zX)(function(wr){if(zn(wr),gn){var Kr=oe(wr),Fr=Kr.map(function(Zr){return Ee(Zr,pn,hr).map(function(_r){return _r.option})}),Lr=er?Kr:Kr[0],Sr=er?Fr:Fr[0];gn(Lr,Sr)}}),Xn=ht(er,Gn,fn,dn,xn,or,tr,bn),gr=(0,_e.zX)(function(wr){Xn(wr)}),Er=U.useMemo(function(){return{options:pn,fieldNames:hr,values:fn,halfValues:dn,changeOnSelect:sn,onSelect:gr,checkable:Bt,searchOptions:[],dropdownPrefixCls:void 0,loadData:In,expandTrigger:wn,expandIcon:Fn,loadingIcon:Mn,dropdownMenuColumnStyle:void 0}},[pn,hr,fn,dn,sn,gr,Bt,In,wn,Fn,Mn]),Zn="".concat(Xt,"-panel"),Cr=!pn.length;return U.createElement(w.Provider,{value:Er},U.createElement("div",{className:ce()(Zn,(ot={},(0,W.Z)(ot,"".concat(Zn,"-rtl"),rr==="rtl"),(0,W.Z)(ot,"".concat(Zn,"-empty"),Cr),ot),ct),style:Ye},Cr?jn:U.createElement(Ke,{prefixCls:Xt,searchValue:"",multiple:er,toggleOpen:me,open:!0,direction:rr,disabled:Yn})))}function Fe(Oe){var ot=Oe.onPopupVisibleChange,wt=Oe.popupVisible,Qt=Oe.popupClassName,Xt=Oe.popupPlacement;warning(!ot,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(wt===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Qt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Xt===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Xe(Oe,ot){if(Oe){var wt=function Qt(Xt){for(var Ye=0;Ye<Xt.length;Ye++){var ct=Xt[Ye];if(ct[ot==null?void 0:ot.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(ct[ot==null?void 0:ot.children])&&Qt(ct[ot==null?void 0:ot.children]))return!0}};wt(Oe)}}var gt=null,de=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","dropdownStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy","optionRender"],xe=U.forwardRef(function(Oe,ot){var wt=Oe.id,Qt=Oe.prefixCls,Xt=Qt===void 0?"rc-cascader":Qt,Ye=Oe.fieldNames,ct=Oe.defaultValue,Nt=Oe.value,Bt=Oe.changeOnSelect,Ht=Oe.onChange,vt=Oe.displayRender,an=Oe.checkable,sn=Oe.autoClearSearchValue,gn=sn===void 0?!0:sn,bn=Oe.searchValue,In=Oe.onSearch,wn=Oe.showSearch,An=Oe.expandTrigger,Fn=Oe.options,Mn=Oe.dropdownPrefixCls,rr=Oe.loadData,Rn=Oe.popupVisible,jn=Oe.open,Yn=Oe.popupClassName,er=Oe.dropdownClassName,qn=Oe.dropdownMenuColumnStyle,Kn=Oe.dropdownStyle,Ln=Oe.popupPlacement,zn=Oe.placement,hr=Oe.onDropdownVisibleChange,rn=Oe.onPopupVisibleChange,nn=Oe.expandIcon,pn=nn===void 0?">":nn,or=Oe.loadingIcon,tr=Oe.children,ur=Oe.dropdownMatchSelectWidth,lr=ur===void 0?!1:ur,Un=Oe.showCheckedStrategy,fn=Un===void 0?ue:Un,dn=Oe.optionRender,xn=(0,K.Z)(Oe,de),Gn=(0,y.ZP)(wt),Xn=!!an,gr=(0,b.Z)(ct,{value:Nt,postState:oe}),Er=(0,V.Z)(gr,2),Zn=Er[0],Cr=Er[1],wr=U.useMemo(function(){return ke(Ye)},[JSON.stringify(Ye)]),Kr=ft(wr,Fn),Fr=(0,V.Z)(Kr,3),Lr=Fr[0],Sr=Fr[1],Zr=Fr[2],_r=(0,b.Z)("",{value:bn,postState:function(Mr){return Mr||""}}),Xr=(0,V.Z)(_r,2),Ir=Xr[0],Or=Xr[1],Nr=function(Mr,Vr){Or(Mr),Vr.source!=="blur"&&In&&In(Mr)},on=Ie(wn),En=(0,V.Z)(on,2),br=En[0],Dr=En[1],Qr=O(Ir,Lr,wr,Mn||Xt,Dr,Bt||Xn),Ar=A(Lr,wr),cr=Tt(Xn,Zn,Sr,Zr,Ar),hi=(0,V.Z)(cr,3),ar=hi[0],_i=hi[1],Yi=hi[2],$i=U.useMemo(function(){var yr=Ue(ar),Mr=ie(yr,Sr,fn);return[].concat((0,i.Z)(Yi),(0,i.Z)(Zr(Mr)))},[ar,Sr,Zr,Yi,fn]),Mi=_($i,Lr,wr,Xn,vt),ki=(0,P.Z)(function(yr){if(Cr(yr),Ht){var Mr=oe(yr),Vr=Mr.map(function(Rr){return Ee(Rr,Lr,wr).map(function(kr){return kr.option})}),wi=Xn?Mr:Mr[0],xr=Xn?Vr:Vr[0];Ht(wi,xr)}}),Gr=ht(Xn,ki,ar,_i,Yi,Sr,Zr,fn),Di=(0,P.Z)(function(yr){(!Xn||gn)&&Or(""),Gr(yr)}),ra=function(Mr,Vr){if(Vr.type==="clear"){ki([]);return}var wi=Vr.values[0],xr=wi.valueCells;Di(xr)},Zi=jn!==void 0?jn:Rn,pi=er||Yn,Ni=zn||Ln,ji=function(Mr){hr==null||hr(Mr),rn==null||rn(Mr)},zr=U.useMemo(function(){return{options:Lr,fieldNames:wr,values:ar,halfValues:_i,changeOnSelect:Bt,onSelect:Di,checkable:an,searchOptions:Qr,dropdownPrefixCls:Mn,loadData:rr,expandTrigger:An,expandIcon:pn,loadingIcon:or,dropdownMenuColumnStyle:qn,optionRender:dn}},[Lr,wr,ar,_i,Bt,Di,an,Qr,Mn,rr,An,pn,or,qn,dn]),ri=!(Ir?Qr:Lr).length,vr=Ir&&Dr.matchInputWidth||ri?{}:{minWidth:"auto"};return U.createElement(w.Provider,{value:zr},U.createElement(l.Ac,(0,j.Z)({},xn,{ref:ot,id:Gn,prefixCls:Xt,autoClearSearchValue:gn,dropdownMatchSelectWidth:lr,dropdownStyle:(0,g.Z)((0,g.Z)({},vr),Kn),displayValues:Mi,onDisplayValuesChange:ra,mode:Xn?"multiple":void 0,searchValue:Ir,onSearch:Nr,showSearch:br,OptionList:M,emptyOptions:ri,open:Zi,dropdownClassName:pi,placement:Ni,onDropdownVisibleChange:ji,getRawInputElement:function(){return tr}})))});xe.SHOW_PARENT=ue,xe.SHOW_CHILD=be,xe.Panel=Te;var Pt=xe,xt=Pt,kt=u(2738),Mt=u(75030),mt=u(86641),Gt=u(45915),Zt=u(82855),Re=u(48755),pt=u(38406),E=u(2171),D=u(83397),rt=u(31756),te=u(56553),Ae=u(24971),tn=u(1722),Ce=u(90376),Ve=u(68525),ut=u(90005),ye=u(70045);function we(Oe,ot){const{getPrefixCls:wt,direction:Qt,renderEmpty:Xt}=U.useContext(Re.E_),Ye=ot||Qt,ct=wt("select",Oe),Nt=wt("cascader",Oe);return[ct,Nt,Ye,Xt]}var tt=we;function et(Oe,ot){return U.useMemo(()=>ot?U.createElement("span",{className:`${Oe}-checkbox-inner`}):!1,[ot])}var X=u(33853),St=u(58617),Se=u(38819),Kt=(Oe,ot,wt)=>{let Qt=wt;wt||(Qt=ot?U.createElement(X.Z,null):U.createElement(Se.Z,null));const Xt=U.createElement("span",{className:`${Oe}-menu-item-loading-icon`},U.createElement(St.Z,{spin:!0}));return U.useMemo(()=>[Qt,Xt],[Qt])},Rt=u(56119),le=u(16931),ae=u(36237),N=u(36170),_t=u(63356),nt=Oe=>{const{prefixCls:ot,componentCls:wt}=Oe,Qt=`${wt}-menu-item`,Xt=`
|
|
|
&${Qt}-expand ${Qt}-expand-icon,
|
|
|
${Qt}-loading-icon
|
|
|
`;return[(0,N.C2)(`${ot}-checkbox`,Oe),{[wt]:{"&-checkbox":{top:0,marginInlineEnd:Oe.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${wt}-menu-empty`]:{[`${wt}-menu`]:{width:"100%",height:"auto",[Qt]:{color:Oe.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:Oe.controlItemWidth,height:Oe.dropdownHeight,margin:0,padding:Oe.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,ae.unit)(Oe.lineWidth)} ${Oe.lineType} ${Oe.colorSplit}`},"&-item":Object.assign(Object.assign({},_t.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Oe.optionPadding,lineHeight:Oe.lineHeight,cursor:"pointer",transition:`all ${Oe.motionDurationMid}`,borderRadius:Oe.borderRadiusSM,"&:hover":{background:Oe.controlItemBgHover},"&-disabled":{color:Oe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Xt]:{color:Oe.colorTextDisabled}},[`&-active:not(${Qt}-disabled)`]:{"&, &:hover":{color:Oe.optionSelectedColor,fontWeight:Oe.optionSelectedFontWeight,backgroundColor:Oe.optionSelectedBg}},"&-content":{flex:"auto"},[Xt]:{marginInlineStart:Oe.paddingXXS,color:Oe.colorTextDescription,fontSize:Oe.fontSizeIcon},"&-keyword":{color:Oe.colorHighlight}})}}}]};const Ft=Oe=>{const{componentCls:ot,antCls:wt}=Oe;return[{[ot]:{width:Oe.controlWidth}},{[`${ot}-dropdown`]:[{[`&${wt}-select-dropdown`]:{padding:0}},nt(Oe)]},{[`${ot}-dropdown-rtl`]:{direction:"rtl"}},(0,Rt.c)(Oe)]},Ot=Oe=>{const ot=Math.round((Oe.controlHeight-Oe.fontSize*Oe.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Oe.controlItemBgActive,optionSelectedFontWeight:Oe.fontWeightStrong,optionPadding:`${ot}px ${Oe.paddingSM}px`,menuPadding:Oe.paddingXXS,optionSelectedColor:Oe.colorText}};var zt=(0,le.I$)("Cascader",Oe=>[Ft(Oe)],Ot);const J=Oe=>{const{componentCls:ot}=Oe;return{[`${ot}-panel`]:[nt(Oe),{display:"inline-flex",border:`${(0,ae.unit)(Oe.lineWidth)} ${Oe.lineType} ${Oe.colorSplit}`,borderRadius:Oe.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${ot}-menus`]:{alignItems:"stretch"},[`${ot}-menu`]:{height:"auto"},"&-empty":{padding:Oe.paddingXXS}}]}};var pe=(0,le.A1)(["Cascader","Panel"],Oe=>J(Oe),Ot);function It(Oe){const{prefixCls:ot,className:wt,multiple:Qt,rootClassName:Xt,notFoundContent:Ye,direction:ct,expandIcon:Nt,disabled:Bt}=Oe,Ht=U.useContext(E.Z),vt=Bt!=null?Bt:Ht,[an,sn,gn,bn]=tt(ot,ct),In=(0,D.Z)(sn),[wn,An,Fn]=zt(sn,In);pe(sn);const Mn=gn==="rtl",[rr,Rn]=Kt(an,Mn,Nt),jn=Ye||(bn==null?void 0:bn("Cascader"))||U.createElement(pt.Z,{componentName:"Cascader"}),Yn=et(sn,Qt);return wn(U.createElement(Te,Object.assign({},Oe,{checkable:Yn,prefixCls:sn,className:ce()(wt,An,Xt,Fn,In),notFoundContent:jn,direction:gn,expandIcon:rr,loadingIcon:Rn,disabled:vt})))}var Pe=It,Le=function(Oe,ot){var wt={};for(var Qt in Oe)Object.prototype.hasOwnProperty.call(Oe,Qt)&&ot.indexOf(Qt)<0&&(wt[Qt]=Oe[Qt]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,Qt=Object.getOwnPropertySymbols(Oe);Xt<Qt.length;Xt++)ot.indexOf(Qt[Xt])<0&&Object.prototype.propertyIsEnumerable.call(Oe,Qt[Xt])&&(wt[Qt[Xt]]=Oe[Qt[Xt]]);return wt};const{SHOW_CHILD:re,SHOW_PARENT:De}=xt;function $e(Oe,ot,wt){const Qt=Oe.toLowerCase().split(ot).reduce((ct,Nt,Bt)=>Bt===0?[Nt]:[].concat((0,i.Z)(ct),[ot,Nt]),[]),Xt=[];let Ye=0;return Qt.forEach((ct,Nt)=>{const Bt=Ye+ct.length;let Ht=Oe.slice(Ye,Bt);Ye=Bt,Nt%2===1&&(Ht=U.createElement("span",{className:`${wt}-menu-item-keyword`,key:`separator-${Nt}`},Ht)),Xt.push(Ht)}),Xt}const je=(Oe,ot,wt,Qt)=>{const Xt=[],Ye=Oe.toLowerCase();return ot.forEach((ct,Nt)=>{Nt!==0&&Xt.push(" / ");let Bt=ct[Qt.label];const Ht=typeof Bt;(Ht==="string"||Ht==="number")&&(Bt=$e(String(Bt),Ye,wt)),Xt.push(Bt)}),Xt},st=U.forwardRef((Oe,ot)=>{var wt;const{prefixCls:Qt,size:Xt,disabled:Ye,className:ct,rootClassName:Nt,multiple:Bt,bordered:Ht=!0,transitionName:vt,choiceTransitionName:an="",popupClassName:sn,dropdownClassName:gn,expandIcon:bn,placement:In,showSearch:wn,allowClear:An=!0,notFoundContent:Fn,direction:Mn,getPopupContainer:rr,status:Rn,showArrow:jn,builtinPlacements:Yn,style:er,variant:qn}=Oe,Kn=Le(Oe,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),Ln=(0,kt.Z)(Kn,["suffixIcon"]),{getPrefixCls:zn,getPopupContainer:hr,className:rn,style:nn}=(0,Re.dj)("cascader"),{popupOverflow:pn}=U.useContext(Re.E_),{status:or,hasFeedback:tr,isFormItemInput:ur,feedbackIcon:lr}=U.useContext(te.aM),Un=(0,Zt.F)(or,Rn),[fn,dn,xn,Gn]=tt(Qt,Mn),Xn=xn==="rtl",gr=zn(),Er=(0,D.Z)(fn),[Zn,Cr,wr]=(0,Ce.Z)(fn,Er),Kr=(0,D.Z)(dn),[Fr]=zt(dn,Kr),{compactSize:Lr,compactItemClassnames:Sr}=(0,ye.ri)(fn,Mn),[Zr,_r]=(0,Ae.Z)("cascader",qn,Ht),Xr=Fn||(Gn==null?void 0:Gn("Cascader"))||U.createElement(pt.Z,{componentName:"Cascader"}),Ir=ce()(sn||gn,`${dn}-dropdown`,{[`${dn}-dropdown-rtl`]:xn==="rtl"},Nt,Er,Kr,Cr,wr),Or=U.useMemo(()=>{if(!wn)return wn;let ki={render:je};return typeof wn=="object"&&(ki=Object.assign(Object.assign({},ki),wn)),ki},[wn]),Nr=(0,rt.Z)(ki=>{var Gr;return(Gr=Xt!=null?Xt:Lr)!==null&&Gr!==void 0?Gr:ki}),on=U.useContext(E.Z),En=Ye!=null?Ye:on,[br,Dr]=Kt(fn,Xn,bn),Qr=et(dn,Bt),Ar=(0,ut.Z)(Oe.suffixIcon,jn),{suffixIcon:cr,removeIcon:hi,clearIcon:ar}=(0,Ve.Z)(Object.assign(Object.assign({},Oe),{hasFeedback:tr,feedbackIcon:lr,showSuffixIcon:Ar,multiple:Bt,prefixCls:fn,componentName:"Cascader"})),_i=U.useMemo(()=>In!==void 0?In:Xn?"bottomRight":"bottomLeft",[In,Xn]),Yi=An===!0?{clearIcon:ar}:An,[$i]=(0,Mt.Cn)("SelectLike",(wt=Ln.dropdownStyle)===null||wt===void 0?void 0:wt.zIndex),Mi=U.createElement(xt,Object.assign({prefixCls:fn,className:ce()(!Qt&&dn,{[`${fn}-lg`]:Nr==="large",[`${fn}-sm`]:Nr==="small",[`${fn}-rtl`]:Xn,[`${fn}-${Zr}`]:_r,[`${fn}-in-form-item`]:ur},(0,Zt.Z)(fn,Un,tr),Sr,rn,ct,Nt,Er,Kr,Cr,wr),disabled:En,style:Object.assign(Object.assign({},nn),er)},Ln,{builtinPlacements:(0,tn.Z)(Yn,pn),direction:xn,placement:_i,notFoundContent:Xr,allowClear:Yi,showSearch:Or,expandIcon:br,suffixIcon:cr,removeIcon:hi,loadingIcon:Dr,checkable:Qr,dropdownClassName:Ir,dropdownPrefixCls:Qt||dn,dropdownStyle:Object.assign(Object.assign({},Ln.dropdownStyle),{zIndex:$i}),choiceTransitionName:(0,mt.m)(gr,"",an),transitionName:(0,mt.m)(gr,"slide-up",vt),getPopupContainer:rr||hr,ref:ot}));return Fr(Zn(Mi))}),qt=(0,Gt.Z)(st,"dropdownAlign",Oe=>(0,kt.Z)(Oe,["visible"]));st.SHOW_PARENT=De,st.SHOW_CHILD=re,st.Panel=Pe,st._InternalPanelDoNotUseOrYouWillBeFired=qt;var ln=st},62673:function(Pn,Lt,u){"use strict";u.d(Lt,{default:function(){return Ue}});var i=u(59301),U=u(92310),L=u.n(U),ce=u(16632),j=u(8654),g=u(12919),V=u(63872),K=u(48755),l=u(2171),y=u(83397),P=u(56553),C=i.createContext(null),w=u(36170),z=u(74632),W=function(Qe,ke){var Ze={};for(var se in Qe)Object.prototype.hasOwnProperty.call(Qe,se)&&ke.indexOf(se)<0&&(Ze[se]=Qe[se]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,se=Object.getOwnPropertySymbols(Qe);k<se.length;k++)ke.indexOf(se[k])<0&&Object.prototype.propertyIsEnumerable.call(Qe,se[k])&&(Ze[se[k]]=Qe[se[k]]);return Ze};const Y=(Qe,ke)=>{var Ze;const{prefixCls:se,className:k,rootClassName:I,children:oe,indeterminate:ie=!1,style:Ee,onMouseEnter:_,onMouseLeave:A,skipGroup:fe=!1,disabled:Be}=Qe,ft=W(Qe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:At,direction:Ie,checkbox:it}=i.useContext(K.E_),ht=i.useContext(C),{isFormItemInput:Tt}=i.useContext(P.aM),ze=i.useContext(l.Z),Jt=(Ze=(ht==null?void 0:ht.disabled)||Be)!==null&&Ze!==void 0?Ze:ze,yt=i.useRef(ft.value),cn=i.useRef(null),Je=(0,j.sQ)(ke,cn);i.useEffect(()=>{ht==null||ht.registerValue(ft.value)},[]),i.useEffect(()=>{if(!fe)return ft.value!==yt.current&&(ht==null||ht.cancelValue(yt.current),ht==null||ht.registerValue(ft.value),yt.current=ft.value),()=>ht==null?void 0:ht.cancelValue(ft.value)},[ft.value]),i.useEffect(()=>{var Te;!((Te=cn.current)===null||Te===void 0)&&Te.input&&(cn.current.input.indeterminate=ie)},[ie]);const bt=At("checkbox",se),Ge=(0,y.Z)(bt),[Ne,ne,lt]=(0,w.ZP)(bt,Ge),Ke=Object.assign({},ft);ht&&!fe&&(Ke.onChange=function(){ft.onChange&&ft.onChange.apply(ft,arguments),ht.toggleOption&&ht.toggleOption({label:oe,value:ft.value})},Ke.name=ht.name,Ke.checked=ht.value.includes(ft.value));const H=L()(`${bt}-wrapper`,{[`${bt}-rtl`]:Ie==="rtl",[`${bt}-wrapper-checked`]:Ke.checked,[`${bt}-wrapper-disabled`]:Jt,[`${bt}-wrapper-in-form-item`]:Tt},it==null?void 0:it.className,k,I,lt,Ge,ne),M=L()({[`${bt}-indeterminate`]:ie},V.A,ne),[_e,me]=(0,z.Z)(Ke.onClick);return Ne(i.createElement(g.Z,{component:"Checkbox",disabled:Jt},i.createElement("label",{className:H,style:Object.assign(Object.assign({},it==null?void 0:it.style),Ee),onMouseEnter:_,onMouseLeave:A,onClick:_e},i.createElement(ce.Z,Object.assign({},Ke,{onClick:me,prefixCls:bt,className:M,disabled:Jt,ref:Je})),oe!==void 0&&i.createElement("span",{className:`${bt}-label`},oe))))};var R=i.forwardRef(Y),G=u(94480),O=u(2738),T=function(Qe,ke){var Ze={};for(var se in Qe)Object.prototype.hasOwnProperty.call(Qe,se)&&ke.indexOf(se)<0&&(Ze[se]=Qe[se]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,se=Object.getOwnPropertySymbols(Qe);k<se.length;k++)ke.indexOf(se[k])<0&&Object.prototype.propertyIsEnumerable.call(Qe,se[k])&&(Ze[se[k]]=Qe[se[k]]);return Ze},be=i.forwardRef((Qe,ke)=>{const{defaultValue:Ze,children:se,options:k=[],prefixCls:I,className:oe,rootClassName:ie,style:Ee,onChange:_}=Qe,A=T(Qe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:fe,direction:Be}=i.useContext(K.E_),[ft,At]=i.useState(A.value||Ze||[]),[Ie,it]=i.useState([]);i.useEffect(()=>{"value"in A&&At(A.value||[])},[A.value]);const ht=i.useMemo(()=>k.map(M=>typeof M=="string"||typeof M=="number"?{label:M,value:M}:M),[k]),Tt=M=>{it(_e=>_e.filter(me=>me!==M))},ze=M=>{it(_e=>[].concat((0,G.Z)(_e),[M]))},Jt=M=>{const _e=ft.indexOf(M.value),me=(0,G.Z)(ft);_e===-1?me.push(M.value):me.splice(_e,1),"value"in A||At(me),_==null||_(me.filter(Te=>Ie.includes(Te)).sort((Te,Fe)=>{const Xe=ht.findIndex(de=>de.value===Te),gt=ht.findIndex(de=>de.value===Fe);return Xe-gt}))},yt=fe("checkbox",I),cn=`${yt}-group`,Je=(0,y.Z)(yt),[bt,Ge,Ne]=(0,w.ZP)(yt,Je),ne=(0,O.Z)(A,["value","disabled"]),lt=k.length?ht.map(M=>i.createElement(R,{prefixCls:yt,key:M.value.toString(),disabled:"disabled"in M?M.disabled:A.disabled,value:M.value,checked:ft.includes(M.value),onChange:M.onChange,className:`${cn}-item`,style:M.style,title:M.title,id:M.id,required:M.required},M.label)):se,Ke={toggleOption:Jt,value:ft,disabled:A.disabled,name:A.name,registerValue:ze,cancelValue:Tt},H=L()(cn,{[`${cn}-rtl`]:Be==="rtl"},oe,ie,Ne,Je,Ge);return bt(i.createElement("div",Object.assign({className:H,style:Ee},ne,{ref:ke}),i.createElement(C.Provider,{value:Ke},lt)))});const he=R;he.Group=be,he.__ANT_CHECKBOX=!0;var Ue=he},36170:function(Pn,Lt,u){"use strict";u.d(Lt,{C2:function(){return g}});var i=u(36237),U=u(63356),L=u(51636),ce=u(16931);const j=V=>{const{checkboxCls:K}=V,l=`${K}-wrapper`;return[{[`${K}-group`]:Object.assign(Object.assign({},(0,U.Wf)(V)),{display:"inline-flex",flexWrap:"wrap",columnGap:V.marginXS,[`> ${V.antCls}-row`]:{flex:1}}),[l]:Object.assign(Object.assign({},(0,U.Wf)(V)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${l}`]:{marginInlineStart:0},[`&${l}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[K]:Object.assign(Object.assign({},(0,U.Wf)(V)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:V.borderRadiusSM,alignSelf:"center",[`${K}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${K}-inner`]:Object.assign({},(0,U.oN)(V))},[`${K}-inner`]:{boxSizing:"border-box",display:"block",width:V.checkboxSize,height:V.checkboxSize,direction:"ltr",backgroundColor:V.colorBgContainer,border:`${(0,i.unit)(V.lineWidth)} ${V.lineType} ${V.colorBorder}`,borderRadius:V.borderRadiusSM,borderCollapse:"separate",transition:`all ${V.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:V.calc(V.checkboxSize).div(14).mul(5).equal(),height:V.calc(V.checkboxSize).div(14).mul(8).equal(),border:`${(0,i.unit)(V.lineWidthBold)} solid ${V.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${V.motionDurationFast} ${V.motionEaseInBack}, opacity ${V.motionDurationFast}`}},"& + span":{paddingInlineStart:V.paddingXS,paddingInlineEnd:V.paddingXS}})},{[`
|
|
|
${l}:not(${l}-disabled),
|
|
|
${K}:not(${K}-disabled)
|
|
|
`]:{[`&:hover ${K}-inner`]:{borderColor:V.colorPrimary}},[`${l}:not(${l}-disabled)`]:{[`&:hover ${K}-checked:not(${K}-disabled) ${K}-inner`]:{backgroundColor:V.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${K}-checked:not(${K}-disabled):after`]:{borderColor:V.colorPrimaryHover}}},{[`${K}-checked`]:{[`${K}-inner`]:{backgroundColor:V.colorPrimary,borderColor:V.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${V.motionDurationMid} ${V.motionEaseOutBack} ${V.motionDurationFast}`}}},[`
|
|
|
${l}-checked:not(${l}-disabled),
|
|
|
${K}-checked:not(${K}-disabled)
|
|
|
`]:{[`&:hover ${K}-inner`]:{backgroundColor:V.colorPrimaryHover,borderColor:"transparent"}}},{[K]:{"&-indeterminate":{[`${K}-inner`]:{backgroundColor:`${V.colorBgContainer} !important`,borderColor:`${V.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:V.calc(V.fontSizeLG).div(2).equal(),height:V.calc(V.fontSizeLG).div(2).equal(),backgroundColor:V.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${K}-inner`]:{backgroundColor:`${V.colorBgContainer} !important`,borderColor:`${V.colorPrimary} !important`}}}},{[`${l}-disabled`]:{cursor:"not-allowed"},[`${K}-disabled`]:{[`&, ${K}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${K}-inner`]:{background:V.colorBgContainerDisabled,borderColor:V.colorBorder,"&:after":{borderColor:V.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:V.colorTextDisabled},[`&${K}-indeterminate ${K}-inner::after`]:{background:V.colorTextDisabled}}}]};function g(V,K){const l=(0,L.mergeToken)(K,{checkboxCls:`.${V}`,checkboxSize:K.controlInteractiveSize});return[j(l)]}Lt.ZP=(0,ce.I$)("Checkbox",(V,K)=>{let{prefixCls:l}=K;return[g(l,V)]})},74632:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return L}});var i=u(59301),U=u(16089);function L(ce){const j=i.useRef(null),g=()=>{U.Z.cancel(j.current),j.current=null};return[()=>{g(),j.current=(0,U.Z)(()=>{j.current=null})},l=>{j.current&&(l.stopPropagation(),g()),ce==null||ce(l)}]}},38406:function(Pn,Lt,u){"use strict";var i=u(59301),U=u(48755),L=u(584);const ce=j=>{const{componentName:g}=j,{getPrefixCls:V}=(0,i.useContext)(U.E_),K=V("empty");switch(g){case"Table":case"List":return i.createElement(L.Z,{image:L.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return i.createElement(L.Z,{image:L.Z.PRESENTED_IMAGE_SIMPLE,className:`${K}-small`});case"Table.filter":return null;default:return i.createElement(L.Z,null)}};Lt.Z=ce},19563:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return At}});var i=u(59301),U=u(33853),L=u(38819),ce=u(92310),j=u.n(ce),g=u(96478),V=u(6089),K=u(18929),l=u(2738),y=u(75030),b=Ie=>typeof Ie!="object"&&typeof Ie!="function"||Ie===null,C=u(52838),w=u(45915),z=u(22703),W=u(32383),Y=u(55743),$=u(48755),R=u(83397),G=u(93041),O=u(78857),T=u(57700),ue=u(36237),be=u(63356),he=u(46e3),Ue=u(93873),Qe=u(34925),ke=u(37645),Ze=u(36305),se=u(16931),k=u(51636),oe=Ie=>{const{componentCls:it,menuCls:ht,colorError:Tt,colorTextLightSolid:ze}=Ie,Jt=`${ht}-item`;return{[`${it}, ${it}-menu-submenu`]:{[`${ht} ${Jt}`]:{[`&${Jt}-danger:not(${Jt}-disabled)`]:{color:Tt,"&:hover":{color:ze,backgroundColor:Tt}}}}}};const ie=Ie=>{const{componentCls:it,menuCls:ht,zIndexPopup:Tt,dropdownArrowDistance:ze,sizePopupArrow:Jt,antCls:yt,iconCls:cn,motionDurationMid:Je,paddingBlock:bt,fontSize:Ge,dropdownEdgeChildPadding:Ne,colorTextDisabled:ne,fontSizeIcon:lt,controlPaddingHorizontal:Ke,colorBgElevated:H}=Ie;return[{[it]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Tt,display:"block","&::before":{position:"absolute",insetBlock:Ie.calc(Jt).div(2).sub(ze).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${yt}-btn`]:{[`& > ${cn}-down, & > ${yt}-btn-icon > ${cn}-down`]:{fontSize:lt}},[`${it}-wrap`]:{position:"relative",[`${yt}-btn > ${cn}-down`]:{fontSize:lt},[`${cn}-down::before`]:{transition:`transform ${Je}`}},[`${it}-wrap-open`]:{[`${cn}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${yt}-slide-down-enter${yt}-slide-down-enter-active${it}-placement-bottomLeft,
|
|
|
&${yt}-slide-down-appear${yt}-slide-down-appear-active${it}-placement-bottomLeft,
|
|
|
&${yt}-slide-down-enter${yt}-slide-down-enter-active${it}-placement-bottom,
|
|
|
&${yt}-slide-down-appear${yt}-slide-down-appear-active${it}-placement-bottom,
|
|
|
&${yt}-slide-down-enter${yt}-slide-down-enter-active${it}-placement-bottomRight,
|
|
|
&${yt}-slide-down-appear${yt}-slide-down-appear-active${it}-placement-bottomRight`]:{animationName:he.fJ},[`&${yt}-slide-up-enter${yt}-slide-up-enter-active${it}-placement-topLeft,
|
|
|
&${yt}-slide-up-appear${yt}-slide-up-appear-active${it}-placement-topLeft,
|
|
|
&${yt}-slide-up-enter${yt}-slide-up-enter-active${it}-placement-top,
|
|
|
&${yt}-slide-up-appear${yt}-slide-up-appear-active${it}-placement-top,
|
|
|
&${yt}-slide-up-enter${yt}-slide-up-enter-active${it}-placement-topRight,
|
|
|
&${yt}-slide-up-appear${yt}-slide-up-appear-active${it}-placement-topRight`]:{animationName:he.Qt},[`&${yt}-slide-down-leave${yt}-slide-down-leave-active${it}-placement-bottomLeft,
|
|
|
&${yt}-slide-down-leave${yt}-slide-down-leave-active${it}-placement-bottom,
|
|
|
&${yt}-slide-down-leave${yt}-slide-down-leave-active${it}-placement-bottomRight`]:{animationName:he.Uw},[`&${yt}-slide-up-leave${yt}-slide-up-leave-active${it}-placement-topLeft,
|
|
|
&${yt}-slide-up-leave${yt}-slide-up-leave-active${it}-placement-top,
|
|
|
&${yt}-slide-up-leave${yt}-slide-up-leave-active${it}-placement-topRight`]:{animationName:he.ly}}},(0,ke.ZP)(Ie,H,{arrowPlacement:{top:!0,bottom:!0}}),{[`${it} ${ht}`]:{position:"relative",margin:0},[`${ht}-submenu-popup`]:{position:"absolute",zIndex:Tt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${it}, ${it}-menu-submenu`]:Object.assign(Object.assign({},(0,be.Wf)(Ie)),{[ht]:Object.assign(Object.assign({padding:Ne,listStyleType:"none",backgroundColor:H,backgroundClip:"padding-box",borderRadius:Ie.borderRadiusLG,outline:"none",boxShadow:Ie.boxShadowSecondary},(0,be.Qy)(Ie)),{"&:empty":{padding:0,boxShadow:"none"},[`${ht}-item-group-title`]:{padding:`${(0,ue.unit)(bt)} ${(0,ue.unit)(Ke)}`,color:Ie.colorTextDescription,transition:`all ${Je}`},[`${ht}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ht}-item-icon`]:{minWidth:Ge,marginInlineEnd:Ie.marginXS,fontSize:Ie.fontSizeSM},[`${ht}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Je}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${ht}-item-extra`]:{paddingInlineStart:Ie.padding,marginInlineStart:"auto",fontSize:Ie.fontSizeSM,color:Ie.colorTextDescription}},[`${ht}-item, ${ht}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,ue.unit)(bt)} ${(0,ue.unit)(Ke)}`,color:Ie.colorText,fontWeight:"normal",fontSize:Ge,lineHeight:Ie.lineHeight,cursor:"pointer",transition:`all ${Je}`,borderRadius:Ie.borderRadiusSM,"&:hover, &-active":{backgroundColor:Ie.controlItemBgHover}},(0,be.Qy)(Ie)),{"&-selected":{color:Ie.colorPrimary,backgroundColor:Ie.controlItemBgActive,"&:hover, &-active":{backgroundColor:Ie.controlItemBgActiveHover}},"&-disabled":{color:ne,cursor:"not-allowed","&:hover":{color:ne,backgroundColor:H,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,ue.unit)(Ie.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:Ie.colorSplit},[`${it}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Ie.paddingXS,[`${it}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Ie.colorTextDescription,fontSize:lt,fontStyle:"normal"}}}),[`${ht}-item-group-list`]:{margin:`0 ${(0,ue.unit)(Ie.marginXS)}`,padding:0,listStyle:"none"},[`${ht}-submenu-title`]:{paddingInlineEnd:Ie.calc(Ke).add(Ie.fontSizeSM).equal()},[`${ht}-submenu-vertical`]:{position:"relative"},[`${ht}-submenu${ht}-submenu-disabled ${it}-menu-submenu-title`]:{[`&, ${it}-menu-submenu-arrow-icon`]:{color:ne,backgroundColor:H,cursor:"not-allowed"}},[`${ht}-submenu-selected ${it}-menu-submenu-title`]:{color:Ie.colorPrimary}})})},[(0,he.oN)(Ie,"slide-up"),(0,he.oN)(Ie,"slide-down"),(0,Ue.Fm)(Ie,"move-up"),(0,Ue.Fm)(Ie,"move-down"),(0,Qe._y)(Ie,"zoom-big")]]},Ee=Ie=>Object.assign(Object.assign({zIndexPopup:Ie.zIndexPopupBase+50,paddingBlock:(Ie.controlHeight-Ie.fontSize*Ie.lineHeight)/2},(0,ke.wZ)({contentRadius:Ie.borderRadiusLG,limitVerticalRadius:!0})),(0,Ze.w)(Ie));var _=(0,se.I$)("Dropdown",Ie=>{const{marginXXS:it,sizePopupArrow:ht,paddingXXS:Tt,componentCls:ze}=Ie,Jt=(0,k.mergeToken)(Ie,{menuCls:`${ze}-menu`,dropdownArrowDistance:Ie.calc(ht).div(2).add(it).equal(),dropdownEdgeChildPadding:Tt});return[ie(Jt),oe(Jt)]},Ee,{resetStyle:!1});const A=null,fe=Ie=>{var it;const{menu:ht,arrow:Tt,prefixCls:ze,children:Jt,trigger:yt,disabled:cn,dropdownRender:Je,getPopupContainer:bt,overlayClassName:Ge,rootClassName:Ne,overlayStyle:ne,open:lt,onOpenChange:Ke,visible:H,onVisibleChange:M,mouseEnterDelay:_e=.15,mouseLeaveDelay:me=.1,autoAdjustOverflow:Te=!0,placement:Fe="",overlay:Xe,transitionName:gt}=Ie,{getPopupContainer:de,getPrefixCls:xe,direction:Pt,dropdown:xt}=i.useContext($.E_),kt=(0,W.ln)("Dropdown"),Mt=i.useMemo(()=>{const Wt=xe();return gt!==void 0?gt:Fe.includes("top")?`${Wt}-slide-down`:`${Wt}-slide-up`},[xe,Fe,gt]),mt=i.useMemo(()=>Fe?Fe.includes("Center")?Fe.slice(0,Fe.indexOf("Center")):Fe:Pt==="rtl"?"bottomRight":"bottomLeft",[Fe,Pt]),Gt=xe("dropdown",ze),Zt=(0,R.Z)(Gt),[Re,pt,E]=_(Gt,Zt),[,D]=(0,T.ZP)(),rt=i.Children.only(b(Jt)?i.createElement("span",null,Jt):Jt),te=(0,z.Tm)(rt,{className:j()(`${Gt}-trigger`,{[`${Gt}-rtl`]:Pt==="rtl"},rt.props.className),disabled:(it=rt.props.disabled)!==null&&it!==void 0?it:cn}),Ae=cn?[]:yt,tn=!!(Ae!=null&&Ae.includes("contextMenu")),[Ce,Ve]=(0,K.Z)(!1,{value:lt!=null?lt:H}),ut=(0,V.Z)(Wt=>{Ke==null||Ke(Wt,{source:"trigger"}),M==null||M(Wt),Ve(Wt)}),ye=j()(Ge,Ne,pt,E,Zt,xt==null?void 0:xt.className,{[`${Gt}-rtl`]:Pt==="rtl"}),we=(0,C.Z)({arrowPointAtCenter:typeof Tt=="object"&&Tt.pointAtCenter,autoAdjustOverflow:Te,offset:D.marginXXS,arrowWidth:Tt?D.sizePopupArrow:0,borderRadius:D.borderRadius}),tt=i.useCallback(()=>{ht!=null&&ht.selectable&&(ht!=null&&ht.multiple)||(Ke==null||Ke(!1,{source:"menu"}),Ve(!1))},[ht==null?void 0:ht.selectable,ht==null?void 0:ht.multiple]),et=()=>{let Wt;return ht!=null&&ht.items?Wt=i.createElement(G.default,Object.assign({},ht)):typeof Xe=="function"?Wt=Xe():Wt=Xe,Je&&(Wt=Je(Wt)),Wt=i.Children.only(typeof Wt=="string"?i.createElement("span",null,Wt):Wt),i.createElement(O.J,{prefixCls:`${Gt}-menu`,rootClassName:j()(E,Zt),expandIcon:i.createElement("span",{className:`${Gt}-menu-submenu-arrow`},Pt==="rtl"?i.createElement(U.Z,{className:`${Gt}-menu-submenu-arrow-icon`}):i.createElement(L.Z,{className:`${Gt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:tt,validator:Kt=>{let{mode:Rt}=Kt}},Wt)},[X,St]=(0,y.Cn)("Dropdown",ne==null?void 0:ne.zIndex);let Se=i.createElement(g.Z,Object.assign({alignPoint:tn},(0,l.Z)(Ie,["rootClassName"]),{mouseEnterDelay:_e,mouseLeaveDelay:me,visible:Ce,builtinPlacements:we,arrow:!!Tt,overlayClassName:ye,prefixCls:Gt,getPopupContainer:bt||de,transitionName:Mt,trigger:Ae,overlay:et,placement:mt,onVisibleChange:ut,overlayStyle:Object.assign(Object.assign(Object.assign({},xt==null?void 0:xt.style),ne),{zIndex:X})}),te);return X&&(Se=i.createElement(Y.Z.Provider,{value:St},Se)),Re(Se)},Be=(0,w.Z)(fe,"align",void 0,"dropdown",Ie=>Ie),ft=Ie=>i.createElement(Be,Object.assign({},Ie),i.createElement("span",null));fe._InternalPanelDoNotUseOrYouWillBeFired=ft;var At=fe},75727:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return w}});var i=u(19563),U=u(59301),L=u(18785),ce=u(92310),j=u.n(ce),g=u(7939),V=u(48755),K=u(44104),l=u(70045),y=function(z,W){var Y={};for(var $ in z)Object.prototype.hasOwnProperty.call(z,$)&&W.indexOf($)<0&&(Y[$]=z[$]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,$=Object.getOwnPropertySymbols(z);R<$.length;R++)W.indexOf($[R])<0&&Object.prototype.propertyIsEnumerable.call(z,$[R])&&(Y[$[R]]=z[$[R]]);return Y};const P=z=>{const{getPopupContainer:W,getPrefixCls:Y,direction:$}=U.useContext(V.E_),{prefixCls:R,type:G="default",danger:O,disabled:T,loading:ue,onClick:be,htmlType:he,children:Ue,className:Qe,menu:ke,arrow:Ze,autoFocus:se,overlay:k,trigger:I,align:oe,open:ie,onOpenChange:Ee,placement:_,getPopupContainer:A,href:fe,icon:Be=U.createElement(L.Z,null),title:ft,buttonsRender:At=_e=>_e,mouseEnterDelay:Ie,mouseLeaveDelay:it,overlayClassName:ht,overlayStyle:Tt,destroyPopupOnHide:ze,dropdownRender:Jt}=z,yt=y(z,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),cn=Y("dropdown",R),Je=`${cn}-button`,bt={menu:ke,arrow:Ze,autoFocus:se,align:oe,disabled:T,trigger:T?[]:I,onOpenChange:Ee,getPopupContainer:A||W,mouseEnterDelay:Ie,mouseLeaveDelay:it,overlayClassName:ht,overlayStyle:Tt,destroyPopupOnHide:ze,dropdownRender:Jt},{compactSize:Ge,compactItemClassnames:Ne}=(0,l.ri)(cn,$),ne=j()(Je,Ne,Qe);"overlay"in z&&(bt.overlay=k),"open"in z&&(bt.open=ie),"placement"in z?bt.placement=_:bt.placement=$==="rtl"?"bottomLeft":"bottomRight";const lt=U.createElement(g.ZP,{type:G,danger:O,disabled:T,loading:ue,onClick:be,htmlType:he,href:fe,title:ft},Ue),Ke=U.createElement(g.ZP,{type:G,danger:O,icon:Be}),[H,M]=At([lt,Ke]);return U.createElement(K.Z.Compact,Object.assign({className:ne,size:Ge,block:!0},yt),H,U.createElement(i.Z,Object.assign({},bt),M))};P.__ANT_BUTTON=!0;var b=P;const C=i.Z;C.Button=b;var w=C},584:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return G}});var i=u(59301),U=u(92310),L=u.n(U),ce=u(9017),j=u(17835),g=u(57700),K=()=>{const[,O]=(0,g.ZP)(),[T]=(0,ce.Z)("Empty"),be=new j.FastColor(O.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return i.createElement("svg",{style:be,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},i.createElement("title",null,(T==null?void 0:T.description)||"Empty"),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(24 31.67)"},i.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),i.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"}),i.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)"}),i.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"}),i.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"})),i.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"}),i.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},i.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),i.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},y=()=>{const[,O]=(0,g.ZP)(),[T]=(0,ce.Z)("Empty"),{colorFill:ue,colorFillTertiary:be,colorFillQuaternary:he,colorBgContainer:Ue}=O,{borderColor:Qe,shadowColor:ke,contentColor:Ze}=(0,i.useMemo)(()=>({borderColor:new j.FastColor(ue).onBackground(Ue).toHexString(),shadowColor:new j.FastColor(be).onBackground(Ue).toHexString(),contentColor:new j.FastColor(he).onBackground(Ue).toHexString()}),[ue,be,he,Ue]);return i.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},i.createElement("title",null,(T==null?void 0:T.description)||"Empty"),i.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},i.createElement("ellipse",{fill:ke,cx:"32",cy:"33",rx:"32",ry:"7"}),i.createElement("g",{fillRule:"nonzero",stroke:Qe},i.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"}),i.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:Ze}))))},P=u(16931),b=u(51636);const C=O=>{const{componentCls:T,margin:ue,marginXS:be,marginXL:he,fontSize:Ue,lineHeight:Qe}=O;return{[T]:{marginInline:be,fontSize:Ue,lineHeight:Qe,textAlign:"center",[`${T}-image`]:{height:O.emptyImgHeight,marginBottom:be,opacity:O.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${T}-description`]:{color:O.colorTextDescription},[`${T}-footer`]:{marginTop:ue},"&-normal":{marginBlock:he,color:O.colorTextDescription,[`${T}-description`]:{color:O.colorTextDescription},[`${T}-image`]:{height:O.emptyImgHeightMD}},"&-small":{marginBlock:be,color:O.colorTextDescription,[`${T}-image`]:{height:O.emptyImgHeightSM}}}}};var w=(0,P.I$)("Empty",O=>{const{componentCls:T,controlHeightLG:ue,calc:be}=O,he=(0,b.mergeToken)(O,{emptyImgCls:`${T}-img`,emptyImgHeight:be(ue).mul(2.5).equal(),emptyImgHeightMD:ue,emptyImgHeightSM:be(ue).mul(.875).equal()});return[C(he)]}),z=u(48755),W=function(O,T){var ue={};for(var be in O)Object.prototype.hasOwnProperty.call(O,be)&&T.indexOf(be)<0&&(ue[be]=O[be]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,be=Object.getOwnPropertySymbols(O);he<be.length;he++)T.indexOf(be[he])<0&&Object.prototype.propertyIsEnumerable.call(O,be[he])&&(ue[be[he]]=O[be[he]]);return ue};const Y=i.createElement(K,null),$=i.createElement(y,null),R=O=>{const{className:T,rootClassName:ue,prefixCls:be,image:he=Y,description:Ue,children:Qe,imageStyle:ke,style:Ze,classNames:se,styles:k}=O,I=W(O,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:oe,direction:ie,className:Ee,style:_,classNames:A,styles:fe}=(0,z.dj)("empty"),Be=oe("empty",be),[ft,At,Ie]=w(Be),[it]=(0,ce.Z)("Empty"),ht=typeof Ue!="undefined"?Ue:it==null?void 0:it.description,Tt=typeof ht=="string"?ht:"empty";let ze=null;return typeof he=="string"?ze=i.createElement("img",{alt:Tt,src:he}):ze=he,ft(i.createElement("div",Object.assign({className:L()(At,Ie,Be,Ee,{[`${Be}-normal`]:he===$,[`${Be}-rtl`]:ie==="rtl"},T,ue,A.root,se==null?void 0:se.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},fe.root),_),k==null?void 0:k.root),Ze)},I),i.createElement("div",{className:L()(`${Be}-image`,A.image,se==null?void 0:se.image),style:Object.assign(Object.assign(Object.assign({},ke),fe.image),k==null?void 0:k.image)},ze),ht&&i.createElement("div",{className:L()(`${Be}-description`,A.description,se==null?void 0:se.description),style:Object.assign(Object.assign({},fe.description),k==null?void 0:k.description)},ht),Qe&&i.createElement("div",{className:L()(`${Be}-footer`,A.footer,se==null?void 0:se.footer),style:Object.assign(Object.assign({},fe.footer),k==null?void 0:k.footer)},Qe)))};R.PRESENTED_IMAGE_DEFAULT=Y,R.PRESENTED_IMAGE_SIMPLE=$;var G=R},24971:function(Pn,Lt,u){"use strict";var i=u(59301),U=u(56553),L=u(48755);const ce=function(j,g){let V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var K,l;const{variant:y,[j]:P}=i.useContext(L.E_),b=i.useContext(U.pg),C=P==null?void 0:P.variant;let w;typeof g!="undefined"?w=g:V===!1?w="borderless":w=(l=(K=b!=null?b:C)!==null&&K!==void 0?K:y)!==null&&l!==void 0?l:"outlined";const z=L.tr.includes(w);return[w,z]};Lt.Z=ce},28284:function(Pn,Lt,u){"use strict";u.d(Lt,{default:function(){return Le}});var i=u(56553),U=u(94480),L=u(59301),ce=u(92310),j=u.n(ce),g=u(77900),V=u(86641),K=u(83397);function l(re){const[De,$e]=L.useState(re);return L.useEffect(()=>{const je=setTimeout(()=>{$e(re)},re.length?0:10);return()=>{clearTimeout(je)}},[re]),De}var y=u(36237),P=u(63356),b=u(34925),C=u(34961),w=u(51636),z=u(16931),Y=re=>{const{componentCls:De}=re,$e=`${De}-show-help`,je=`${De}-show-help-item`;return{[$e]:{transition:`opacity ${re.motionDurationFast} ${re.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[je]:{overflow:"hidden",transition:`height ${re.motionDurationFast} ${re.motionEaseInOut},
|
|
|
opacity ${re.motionDurationFast} ${re.motionEaseInOut},
|
|
|
transform ${re.motionDurationFast} ${re.motionEaseInOut} !important`,[`&${je}-appear, &${je}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${je}-leave-active`]:{transform:"translateY(-5px)"}}}}};const $=re=>({legend:{display:"block",width:"100%",marginBottom:re.marginLG,padding:0,color:re.colorTextDescription,fontSize:re.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,y.unit)(re.lineWidth)} ${re.lineType} ${re.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,y.unit)(re.controlOutlineWidth)} ${re.controlOutline}`},output:{display:"block",paddingTop:15,color:re.colorText,fontSize:re.fontSize,lineHeight:re.lineHeight}}),R=(re,De)=>{const{formItemCls:$e}=re;return{[$e]:{[`${$e}-label > label`]:{height:De},[`${$e}-control-input`]:{minHeight:De}}}},G=re=>{const{componentCls:De}=re;return{[re.componentCls]:Object.assign(Object.assign(Object.assign({},(0,P.Wf)(re)),$(re)),{[`${De}-text`]:{display:"inline-block",paddingInlineEnd:re.paddingSM},"&-small":Object.assign({},R(re,re.controlHeightSM)),"&-large":Object.assign({},R(re,re.controlHeightLG))})}},O=re=>{const{formItemCls:De,iconCls:$e,rootPrefixCls:je,antCls:st,labelRequiredMarkColor:qt,labelColor:ln,labelFontSize:Oe,labelHeight:ot,labelColonMarginInlineStart:wt,labelColonMarginInlineEnd:Qt,itemMarginBottom:Xt}=re;return{[De]:Object.assign(Object.assign({},(0,P.Wf)(re)),{marginBottom:Xt,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden${st}-row`]:{display:"none"},"&-has-warning":{[`${De}-split`]:{color:re.colorError}},"&-has-error":{[`${De}-split`]:{color:re.colorWarning}},[`${De}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:re.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:ot,color:ln,fontSize:Oe,[`> ${$e}`]:{fontSize:re.fontSize,verticalAlign:"top"},[`&${De}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:re.marginXXS,color:qt,fontSize:re.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${De}-required-mark-hidden, &${De}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${De}-optional`]:{display:"inline-block",marginInlineStart:re.marginXXS,color:re.colorTextDescription,[`&${De}-required-mark-hidden`]:{display:"none"}},[`${De}-tooltip`]:{color:re.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:re.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:wt,marginInlineEnd:Qt},[`&${De}-no-colon::after`]:{content:'"\\a0"'}}},[`${De}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${je}-col-'"]):not([class*="' ${je}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:re.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[De]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:re.colorTextDescription,fontSize:re.fontSize,lineHeight:re.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:re.controlHeightSM,transition:`color ${re.motionDurationMid} ${re.motionEaseOut}`},"&-explain":{"&-error":{color:re.colorError},"&-warning":{color:re.colorWarning}}},[`&-with-help ${De}-explain`]:{height:"auto",opacity:1},[`${De}-feedback-icon`]:{fontSize:re.fontSize,textAlign:"center",visibility:"visible",animationName:b.kr,animationDuration:re.motionDurationMid,animationTimingFunction:re.motionEaseOutBack,pointerEvents:"none","&-success":{color:re.colorSuccess},"&-error":{color:re.colorError},"&-warning":{color:re.colorWarning},"&-validating":{color:re.colorPrimary}}})}},T=(re,De)=>{const{formItemCls:$e}=re;return{[`${De}-horizontal`]:{[`${$e}-label`]:{flexGrow:0},[`${$e}-control`]:{flex:"1 1 0",minWidth:0},[`${$e}-label[class$='-24'], ${$e}-label[class*='-24 ']`]:{[`& + ${$e}-control`]:{minWidth:"unset"}}}}},ue=re=>{const{componentCls:De,formItemCls:$e,inlineItemMarginBottom:je}=re;return{[`${De}-inline`]:{display:"flex",flexWrap:"wrap",[$e]:{flex:"none",marginInlineEnd:re.margin,marginBottom:je,"&-row":{flexWrap:"nowrap"},[`> ${$e}-label,
|
|
|
> ${$e}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${$e}-label`]:{flex:"none"},[`${De}-text`]:{display:"inline-block"},[`${$e}-has-feedback`]:{display:"inline-block"}}}}},be=re=>({padding:re.verticalLabelPadding,margin:re.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),he=re=>{const{componentCls:De,formItemCls:$e,rootPrefixCls:je}=re;return{[`${$e} ${$e}-label`]:be(re),[`${De}:not(${De}-inline)`]:{[$e]:{flexWrap:"wrap",[`${$e}-label, ${$e}-control`]:{[`&:not([class*=" ${je}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Ue=re=>{const{componentCls:De,formItemCls:$e,antCls:je}=re;return{[`${De}-vertical`]:{[`${$e}:not(${$e}-horizontal)`]:{[`${$e}-row`]:{flexDirection:"column"},[`${$e}-label > label`]:{height:"auto"},[`${$e}-control`]:{width:"100%"},[`${$e}-label,
|
|
|
${je}-col-24${$e}-label,
|
|
|
${je}-col-xl-24${$e}-label`]:be(re)}},[`@media (max-width: ${(0,y.unit)(re.screenXSMax)})`]:[he(re),{[De]:{[`${$e}:not(${$e}-horizontal)`]:{[`${je}-col-xs-24${$e}-label`]:be(re)}}}],[`@media (max-width: ${(0,y.unit)(re.screenSMMax)})`]:{[De]:{[`${$e}:not(${$e}-horizontal)`]:{[`${je}-col-sm-24${$e}-label`]:be(re)}}},[`@media (max-width: ${(0,y.unit)(re.screenMDMax)})`]:{[De]:{[`${$e}:not(${$e}-horizontal)`]:{[`${je}-col-md-24${$e}-label`]:be(re)}}},[`@media (max-width: ${(0,y.unit)(re.screenLGMax)})`]:{[De]:{[`${$e}:not(${$e}-horizontal)`]:{[`${je}-col-lg-24${$e}-label`]:be(re)}}}}},Qe=re=>{const{formItemCls:De,antCls:$e}=re;return{[`${De}-vertical`]:{[`${De}-row`]:{flexDirection:"column"},[`${De}-label > label`]:{height:"auto"},[`${De}-control`]:{width:"100%"}},[`${De}-vertical ${De}-label,
|
|
|
${$e}-col-24${De}-label,
|
|
|
${$e}-col-xl-24${De}-label`]:be(re),[`@media (max-width: ${(0,y.unit)(re.screenXSMax)})`]:[he(re),{[De]:{[`${$e}-col-xs-24${De}-label`]:be(re)}}],[`@media (max-width: ${(0,y.unit)(re.screenSMMax)})`]:{[De]:{[`${$e}-col-sm-24${De}-label`]:be(re)}},[`@media (max-width: ${(0,y.unit)(re.screenMDMax)})`]:{[De]:{[`${$e}-col-md-24${De}-label`]:be(re)}},[`@media (max-width: ${(0,y.unit)(re.screenLGMax)})`]:{[De]:{[`${$e}-col-lg-24${De}-label`]:be(re)}}}},ke=re=>({labelRequiredMarkColor:re.colorError,labelColor:re.colorTextHeading,labelFontSize:re.fontSize,labelHeight:re.controlHeight,labelColonMarginInlineStart:re.marginXXS/2,labelColonMarginInlineEnd:re.marginXS,itemMarginBottom:re.marginLG,verticalLabelPadding:`0 0 ${re.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Ze=(re,De)=>(0,w.mergeToken)(re,{formItemCls:`${re.componentCls}-item`,rootPrefixCls:De});var se=(0,z.I$)("Form",(re,De)=>{let{rootPrefixCls:$e}=De;const je=Ze(re,$e);return[G(je),O(je),Y(je),T(je,je.componentCls),T(je,je.formItemCls),ue(je),Ue(je),Qe(je),(0,C.Z)(je),b.kr]},ke,{order:-1e3});const k=[];function I(re,De,$e){let je=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof re=="string"?re:`${De}-${je}`,error:re,errorStatus:$e}}var ie=re=>{let{help:De,helpStatus:$e,errors:je=k,warnings:st=k,className:qt,fieldId:ln,onVisibleChanged:Oe}=re;const{prefixCls:ot}=L.useContext(i.Rk),wt=`${ot}-item-explain`,Qt=(0,K.Z)(ot),[Xt,Ye,ct]=se(ot,Qt),Nt=L.useMemo(()=>(0,V.Z)(ot),[ot]),Bt=l(je),Ht=l(st),vt=L.useMemo(()=>De!=null?[I(De,"help",$e)]:[].concat((0,U.Z)(Bt.map((gn,bn)=>I(gn,"error","error",bn))),(0,U.Z)(Ht.map((gn,bn)=>I(gn,"warning","warning",bn)))),[De,$e,Bt,Ht]),an=L.useMemo(()=>{const gn={};return vt.forEach(bn=>{let{key:In}=bn;gn[In]=(gn[In]||0)+1}),vt.map((bn,In)=>Object.assign(Object.assign({},bn),{key:gn[bn.key]>1?`${bn.key}-fallback-${In}`:bn.key}))},[vt]),sn={};return ln&&(sn.id=`${ln}_help`),Xt(L.createElement(g.default,{motionDeadline:Nt.motionDeadline,motionName:`${ot}-show-help`,visible:!!an.length,onVisibleChanged:Oe},gn=>{const{className:bn,style:In}=gn;return L.createElement("div",Object.assign({},sn,{className:j()(wt,bn,ct,Qt,qt,Ye),style:In}),L.createElement(g.CSSMotionList,Object.assign({keys:an},(0,V.Z)(ot),{motionName:`${ot}-show-help-item`,component:!1}),wn=>{const{key:An,error:Fn,errorStatus:Mn,className:rr,style:Rn}=wn;return L.createElement("div",{key:An,className:j()(rr,{[`${wt}-${Mn}`]:Mn}),style:Rn},Fn)}))}))},Ee=u(22001),_=u(48755),A=u(2171),fe=u(31756),Be=u(23069),ft=u(76846),At=u(16722);const Ie=["parentNode"],it="form_item";function ht(re){return re===void 0||re===!1?[]:Array.isArray(re)?re:[re]}function Tt(re,De){if(!re.length)return;const $e=re.join("_");return De?`${De}_${$e}`:Ie.includes($e)?`${it}_${$e}`:$e}function ze(re,De,$e,je,st,qt){let ln=je;return qt!==void 0?ln=qt:$e.validating?ln="validating":re.length?ln="error":De.length?ln="warning":($e.touched||st&&$e.validated)&&(ln="success"),ln}var Jt=function(re,De){var $e={};for(var je in re)Object.prototype.hasOwnProperty.call(re,je)&&De.indexOf(je)<0&&($e[je]=re[je]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,je=Object.getOwnPropertySymbols(re);st<je.length;st++)De.indexOf(je[st])<0&&Object.prototype.propertyIsEnumerable.call(re,je[st])&&($e[je[st]]=re[je[st]]);return $e};function yt(re){return ht(re).join("_")}function cn(re,De){const $e=De.getFieldInstance(re),je=(0,ft.bn)($e);if(je)return je;const st=Tt(ht(re),De.__INTERNAL__.name);if(st)return document.getElementById(st)}function Je(re){const[De]=(0,Ee.useForm)(),$e=L.useRef({}),je=L.useMemo(()=>re!=null?re:Object.assign(Object.assign({},De),{__INTERNAL__:{itemRef:st=>qt=>{const ln=yt(st);qt?$e.current[ln]=qt:delete $e.current[ln]}},scrollToField:function(st){let qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:ln}=qt,Oe=Jt(qt,["focus"]),ot=cn(st,je);ot&&((0,At.Z)(ot,Object.assign({scrollMode:"if-needed",block:"nearest"},Oe)),ln&&je.focusField(st))},focusField:st=>{var qt,ln;const Oe=je.getFieldInstance(st);typeof(Oe==null?void 0:Oe.focus)=="function"?Oe.focus():(ln=(qt=cn(st,je))===null||qt===void 0?void 0:qt.focus)===null||ln===void 0||ln.call(qt)},getFieldInstance:st=>{const qt=yt(st);return $e.current[qt]}}),[re,De]);return[je]}var bt=u(98350),Ge=function(re,De){var $e={};for(var je in re)Object.prototype.hasOwnProperty.call(re,je)&&De.indexOf(je)<0&&($e[je]=re[je]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,je=Object.getOwnPropertySymbols(re);st<je.length;st++)De.indexOf(je[st])<0&&Object.prototype.propertyIsEnumerable.call(re,je[st])&&($e[je[st]]=re[je[st]]);return $e};const Ne=(re,De)=>{const $e=L.useContext(A.Z),{getPrefixCls:je,direction:st,requiredMark:qt,colon:ln,scrollToFirstError:Oe,className:ot,style:wt}=(0,_.dj)("form"),{prefixCls:Qt,className:Xt,rootClassName:Ye,size:ct,disabled:Nt=$e,form:Bt,colon:Ht,labelAlign:vt,labelWrap:an,labelCol:sn,wrapperCol:gn,hideRequiredMark:bn,layout:In="horizontal",scrollToFirstError:wn,requiredMark:An,onFinishFailed:Fn,name:Mn,style:rr,feedbackIcons:Rn,variant:jn}=re,Yn=Ge(re,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),er=(0,fe.Z)(ct),qn=L.useContext(bt.Z),Kn=L.useMemo(()=>An!==void 0?An:bn?!1:qt!==void 0?qt:!0,[bn,An,qt]),Ln=Ht!=null?Ht:ln,zn=je("form",Qt),hr=(0,K.Z)(zn),[rn,nn,pn]=se(zn,hr),or=j()(zn,`${zn}-${In}`,{[`${zn}-hide-required-mark`]:Kn===!1,[`${zn}-rtl`]:st==="rtl",[`${zn}-${er}`]:er},pn,hr,nn,ot,Xt,Ye),[tr]=Je(Bt),{__INTERNAL__:ur}=tr;ur.name=Mn;const lr=L.useMemo(()=>({name:Mn,labelAlign:vt,labelCol:sn,labelWrap:an,wrapperCol:gn,vertical:In==="vertical",colon:Ln,requiredMark:Kn,itemRef:ur.itemRef,form:tr,feedbackIcons:Rn}),[Mn,vt,sn,gn,In,Ln,Kn,tr,Rn]),Un=L.useRef(null);L.useImperativeHandle(De,()=>{var xn;return Object.assign(Object.assign({},tr),{nativeElement:(xn=Un.current)===null||xn===void 0?void 0:xn.nativeElement})});const fn=(xn,Gn)=>{if(xn){let Xn={block:"nearest"};typeof xn=="object"&&(Xn=Object.assign(Object.assign({},Xn),xn)),tr.scrollToField(Gn,Xn)}},dn=xn=>{if(Fn==null||Fn(xn),xn.errorFields.length){const Gn=xn.errorFields[0].name;if(wn!==void 0){fn(wn,Gn);return}Oe!==void 0&&fn(Oe,Gn)}};return rn(L.createElement(i.pg.Provider,{value:jn},L.createElement(A.n,{disabled:Nt},L.createElement(Be.Z.Provider,{value:er},L.createElement(i.RV,{validateMessages:qn},L.createElement(i.q3.Provider,{value:lr},L.createElement(Ee.default,Object.assign({id:Mn},Yn,{name:Mn,onFinishFailed:dn,form:tr,ref:Un,style:Object.assign(Object.assign({},wt),rr),className:or}))))))))};var lt=L.forwardRef(Ne),Ke=u(41799),H=u(8654),M=u(22703),_e=u(32383),me=u(11592);function Te(re){if(typeof re=="function")return re;const De=(0,me.Z)(re);return De.length<=1?De[0]:De}const Fe=()=>{const{status:re,errors:De=[],warnings:$e=[]}=L.useContext(i.aM);return{status:re,errors:De,warnings:$e}};Fe.Context=i.aM;var Xe=Fe,gt=u(16089);function de(re){const[De,$e]=L.useState(re),je=L.useRef(null),st=L.useRef([]),qt=L.useRef(!1);L.useEffect(()=>(qt.current=!1,()=>{qt.current=!0,gt.Z.cancel(je.current),je.current=null}),[]);function ln(Oe){qt.current||(je.current===null&&(st.current=[],je.current=(0,gt.Z)(()=>{je.current=null,$e(ot=>{let wt=ot;return st.current.forEach(Qt=>{wt=Qt(wt)}),wt})})),st.current.push(Oe))}return[De,ln]}function xe(){const{itemRef:re}=L.useContext(i.q3),De=L.useRef({});function $e(je,st){const qt=st&&typeof st=="object"&&(0,H.C4)(st),ln=je.join("_");return(De.current.name!==ln||De.current.originRef!==qt)&&(De.current.name=ln,De.current.originRef=qt,De.current.ref=(0,H.sQ)(re(je),qt)),De.current.ref}return $e}var Pt=u(29194),xt=u(34280),kt=u(2738),Mt=u(65970),mt=u(70425),Gt=u(5472);const Zt=re=>{const{formItemCls:De}=re;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${De}-control`]:{display:"flex"}}}};var Re=(0,z.bk)(["Form","item-item"],(re,De)=>{let{rootPrefixCls:$e}=De;const je=Ze(re,$e);return[Zt(je)]}),pt=function(re,De){var $e={};for(var je in re)Object.prototype.hasOwnProperty.call(re,je)&&De.indexOf(je)<0&&($e[je]=re[je]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,je=Object.getOwnPropertySymbols(re);st<je.length;st++)De.indexOf(je[st])<0&&Object.prototype.propertyIsEnumerable.call(re,je[st])&&($e[je[st]]=re[je[st]]);return $e};const E=24;var rt=re=>{const{prefixCls:De,status:$e,labelCol:je,wrapperCol:st,children:qt,errors:ln,warnings:Oe,_internalItemRender:ot,extra:wt,help:Qt,fieldId:Xt,marginBottom:Ye,onErrorVisibleChanged:ct,label:Nt}=re,Bt=`${De}-item`,Ht=L.useContext(i.q3),vt=L.useMemo(()=>{let Yn=Object.assign({},st||Ht.wrapperCol||{});return Nt===null&&!je&&!st&&Ht.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(qn=>{const Kn=qn?[qn]:[],Ln=(0,mt.U2)(Ht.labelCol,Kn),zn=typeof Ln=="object"?Ln:{},hr=(0,mt.U2)(Yn,Kn),rn=typeof hr=="object"?hr:{};"span"in zn&&!("offset"in rn)&&zn.span<E&&(Yn=(0,mt.t8)(Yn,[].concat(Kn,["offset"]),zn.span))}),Yn},[st,Ht]),an=j()(`${Bt}-control`,vt.className),sn=L.useMemo(()=>{const{labelCol:Yn,wrapperCol:er}=Ht;return pt(Ht,["labelCol","wrapperCol"])},[Ht]),gn=L.useRef(null),[bn,In]=L.useState(0);(0,xt.Z)(()=>{wt&&gn.current?In(gn.current.clientHeight):In(0)},[wt]);const wn=L.createElement("div",{className:`${Bt}-control-input`},L.createElement("div",{className:`${Bt}-control-input-content`},qt)),An=L.useMemo(()=>({prefixCls:De,status:$e}),[De,$e]),Fn=Ye!==null||ln.length||Oe.length?L.createElement(i.Rk.Provider,{value:An},L.createElement(ie,{fieldId:Xt,errors:ln,warnings:Oe,help:Qt,helpStatus:$e,className:`${Bt}-explain-connected`,onVisibleChanged:ct})):null,Mn={};Xt&&(Mn.id=`${Xt}_extra`);const rr=wt?L.createElement("div",Object.assign({},Mn,{className:`${Bt}-extra`,ref:gn}),wt):null,Rn=Fn||rr?L.createElement("div",{className:`${Bt}-additional`,style:Ye?{minHeight:Ye+bn}:{}},Fn,rr):null,jn=ot&&ot.mark==="pro_table_render"&&ot.render?ot.render(re,{input:wn,errorList:Fn,extra:rr}):L.createElement(L.Fragment,null,wn,Rn);return L.createElement(i.q3.Provider,{value:sn},L.createElement(Gt.Z,Object.assign({},vt,{className:an}),jn),L.createElement(Re,{prefixCls:De}))},te=u(61485),Ae=u(9017),tn=u(85981),Ce=u(25399),Ve=function(re,De){var $e={};for(var je in re)Object.prototype.hasOwnProperty.call(re,je)&&De.indexOf(je)<0&&($e[je]=re[je]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,je=Object.getOwnPropertySymbols(re);st<je.length;st++)De.indexOf(je[st])<0&&Object.prototype.propertyIsEnumerable.call(re,je[st])&&($e[je[st]]=re[je[st]]);return $e};function ut(re){return re?typeof re=="object"&&!L.isValidElement(re)?re:{title:re}:null}var we=re=>{let{prefixCls:De,label:$e,htmlFor:je,labelCol:st,labelAlign:qt,colon:ln,required:Oe,requiredMark:ot,tooltip:wt,vertical:Qt}=re;var Xt;const[Ye]=(0,Ae.Z)("Form"),{labelAlign:ct,labelCol:Nt,labelWrap:Bt,colon:Ht}=L.useContext(i.q3);if(!$e)return null;const vt=st||Nt||{},an=qt||ct,sn=`${De}-item-label`,gn=j()(sn,an==="left"&&`${sn}-left`,vt.className,{[`${sn}-wrap`]:!!Bt});let bn=$e;const In=ln===!0||Ht!==!1&&ln!==!1;In&&!Qt&&typeof $e=="string"&&$e.trim()&&(bn=$e.replace(/[:|:]\s*$/,""));const An=ut(wt);if(An){const{icon:Yn=L.createElement(te.Z,null)}=An,er=Ve(An,["icon"]),qn=L.createElement(Ce.Z,Object.assign({},er),L.cloneElement(Yn,{className:`${De}-item-tooltip`,title:"",onClick:Kn=>{Kn.preventDefault()},tabIndex:null}));bn=L.createElement(L.Fragment,null,bn,qn)}const Fn=ot==="optional",Mn=typeof ot=="function",rr=ot===!1;Mn?bn=ot(bn,{required:!!Oe}):Fn&&!Oe&&(bn=L.createElement(L.Fragment,null,bn,L.createElement("span",{className:`${De}-item-optional`,title:""},(Ye==null?void 0:Ye.optional)||((Xt=tn.Z.Form)===null||Xt===void 0?void 0:Xt.optional))));let Rn;rr?Rn="hidden":(Fn||Mn)&&(Rn="optional");const jn=j()({[`${De}-item-required`]:Oe,[`${De}-item-required-mark-${Rn}`]:Rn,[`${De}-item-no-colon`]:!In});return L.createElement(Gt.Z,Object.assign({},vt,{className:gn}),L.createElement("label",{htmlFor:je,className:jn,title:typeof $e=="string"?$e:""},bn))},tt=u(29679),et=u(19248),X=u(96512),St=u(58617);const Se={success:tt.Z,warning:X.Z,error:et.Z,validating:St.Z};function Wt(re){let{children:De,errors:$e,warnings:je,hasFeedback:st,validateStatus:qt,prefixCls:ln,meta:Oe,noStyle:ot}=re;const wt=`${ln}-item`,{feedbackIcons:Qt}=L.useContext(i.q3),Xt=ze($e,je,Oe,null,!!st,qt),{isFormItemInput:Ye,status:ct,hasFeedback:Nt,feedbackIcon:Bt}=L.useContext(i.aM),Ht=L.useMemo(()=>{var vt;let an;if(st){const gn=st!==!0&&st.icons||Qt,bn=Xt&&((vt=gn==null?void 0:gn({status:Xt,errors:$e,warnings:je}))===null||vt===void 0?void 0:vt[Xt]),In=Xt&&Se[Xt];an=bn!==!1&&In?L.createElement("span",{className:j()(`${wt}-feedback-icon`,`${wt}-feedback-icon-${Xt}`)},bn||L.createElement(In,null)):null}const sn={status:Xt||"",errors:$e,warnings:je,hasFeedback:!!st,feedbackIcon:an,isFormItemInput:!0};return ot&&(sn.status=(Xt!=null?Xt:ct)||"",sn.isFormItemInput=Ye,sn.hasFeedback=!!(st!=null?st:Nt),sn.feedbackIcon=st!==void 0?sn.feedbackIcon:Bt),sn},[Xt,st,ot,Ye,ct]);return L.createElement(i.aM.Provider,{value:Ht},De)}var Kt=function(re,De){var $e={};for(var je in re)Object.prototype.hasOwnProperty.call(re,je)&&De.indexOf(je)<0&&($e[je]=re[je]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,je=Object.getOwnPropertySymbols(re);st<je.length;st++)De.indexOf(je[st])<0&&Object.prototype.propertyIsEnumerable.call(re,je[st])&&($e[je[st]]=re[je[st]]);return $e};function Rt(re){const{prefixCls:De,className:$e,rootClassName:je,style:st,help:qt,errors:ln,warnings:Oe,validateStatus:ot,meta:wt,hasFeedback:Qt,hidden:Xt,children:Ye,fieldId:ct,required:Nt,isRequired:Bt,onSubItemMetaChange:Ht,layout:vt}=re,an=Kt(re,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),sn=`${De}-item`,{requiredMark:gn,vertical:bn}=L.useContext(i.q3),In=bn||vt==="vertical",wn=L.useRef(null),An=l(ln),Fn=l(Oe),Mn=qt!=null,rr=!!(Mn||ln.length||Oe.length),Rn=!!wn.current&&(0,Pt.Z)(wn.current),[jn,Yn]=L.useState(null);(0,xt.Z)(()=>{if(rr&&wn.current){const zn=getComputedStyle(wn.current);Yn(parseInt(zn.marginBottom,10))}},[rr,Rn]);const er=zn=>{zn||Yn(null)},Kn=function(){let zn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const hr=zn?An:wt.errors,rn=zn?Fn:wt.warnings;return ze(hr,rn,wt,"",!!Qt,ot)}(),Ln=j()(sn,$e,je,{[`${sn}-with-help`]:Mn||An.length||Fn.length,[`${sn}-has-feedback`]:Kn&&Qt,[`${sn}-has-success`]:Kn==="success",[`${sn}-has-warning`]:Kn==="warning",[`${sn}-has-error`]:Kn==="error",[`${sn}-is-validating`]:Kn==="validating",[`${sn}-hidden`]:Xt,[`${sn}-${vt}`]:vt});return L.createElement("div",{className:Ln,style:st,ref:wn},L.createElement(Mt.Z,Object.assign({className:`${sn}-row`},(0,kt.Z)(an,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),L.createElement(we,Object.assign({htmlFor:ct},re,{requiredMark:gn,required:Nt!=null?Nt:Bt,prefixCls:De,vertical:In})),L.createElement(rt,Object.assign({},re,wt,{errors:An,warnings:Fn,prefixCls:De,status:Kn,help:qt,marginBottom:jn,onErrorVisibleChanged:er}),L.createElement(i.qI.Provider,{value:Ht},L.createElement(Wt,{prefixCls:De,meta:wt,errors:wt.errors,warnings:wt.warnings,hasFeedback:Qt,validateStatus:Kn},Ye)))),!!jn&&L.createElement("div",{className:`${sn}-margin-offset`,style:{marginBottom:-jn}}))}const le="__SPLIT__",ae=null;function N(re,De){const $e=Object.keys(re),je=Object.keys(De);return $e.length===je.length&&$e.every(st=>{const qt=re[st],ln=De[st];return qt===ln||typeof qt=="function"||typeof ln=="function"})}const _t=L.memo(re=>{let{children:De}=re;return De},(re,De)=>N(re.control,De.control)&&re.update===De.update&&re.childProps.length===De.childProps.length&&re.childProps.every(($e,je)=>$e===De.childProps[je]));function dt(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function nt(re){const{name:De,noStyle:$e,className:je,dependencies:st,prefixCls:qt,shouldUpdate:ln,rules:Oe,children:ot,required:wt,label:Qt,messageVariables:Xt,trigger:Ye="onChange",validateTrigger:ct,hidden:Nt,help:Bt,layout:Ht}=re,{getPrefixCls:vt}=L.useContext(_.E_),{name:an}=L.useContext(i.q3),sn=Te(ot),gn=typeof sn=="function",bn=L.useContext(i.qI),{validateTrigger:In}=L.useContext(Ee.FieldContext),wn=ct!==void 0?ct:In,An=De!=null,Fn=vt("form",qt),Mn=(0,K.Z)(Fn),[rr,Rn,jn]=se(Fn,Mn),Yn=(0,_e.ln)("Form.Item"),er=L.useContext(Ee.ListContext),qn=L.useRef(null),[Kn,Ln]=de({}),[zn,hr]=(0,Ke.Z)(()=>dt()),rn=Un=>{const fn=er==null?void 0:er.getKey(Un.name);if(hr(Un.destroy?dt():Un,!0),$e&&Bt!==!1&&bn){let dn=Un.name;if(Un.destroy)dn=qn.current||dn;else if(fn!==void 0){const[xn,Gn]=fn;dn=[xn].concat((0,U.Z)(Gn)),qn.current=dn}bn(Un,dn)}},nn=(Un,fn)=>{Ln(dn=>{const xn=Object.assign({},dn),Xn=[].concat((0,U.Z)(Un.name.slice(0,-1)),(0,U.Z)(fn)).join(le);return Un.destroy?delete xn[Xn]:xn[Xn]=Un,xn})},[pn,or]=L.useMemo(()=>{const Un=(0,U.Z)(zn.errors),fn=(0,U.Z)(zn.warnings);return Object.values(Kn).forEach(dn=>{Un.push.apply(Un,(0,U.Z)(dn.errors||[])),fn.push.apply(fn,(0,U.Z)(dn.warnings||[]))}),[Un,fn]},[Kn,zn.errors,zn.warnings]),tr=xe();function ur(Un,fn,dn){return $e&&!Nt?L.createElement(Wt,{prefixCls:Fn,hasFeedback:re.hasFeedback,validateStatus:re.validateStatus,meta:zn,errors:pn,warnings:or,noStyle:!0},Un):L.createElement(Rt,Object.assign({key:"row"},re,{className:j()(je,jn,Mn,Rn),prefixCls:Fn,fieldId:fn,isRequired:dn,errors:pn,warnings:or,meta:zn,onSubItemMetaChange:nn,layout:Ht}),Un)}if(!An&&!gn&&!st)return rr(ur(sn));let lr={};return typeof Qt=="string"?lr.label=Qt:De&&(lr.label=String(De)),Xt&&(lr=Object.assign(Object.assign({},lr),Xt)),rr(L.createElement(Ee.Field,Object.assign({},re,{messageVariables:lr,trigger:Ye,validateTrigger:wn,onMetaChange:rn}),(Un,fn,dn)=>{const xn=ht(De).length&&fn?fn.name:[],Gn=Tt(xn,an),Xn=wt!==void 0?wt:!!(Oe!=null&&Oe.some(Zn=>{if(Zn&&typeof Zn=="object"&&Zn.required&&!Zn.warningOnly)return!0;if(typeof Zn=="function"){const Cr=Zn(dn);return(Cr==null?void 0:Cr.required)&&!(Cr!=null&&Cr.warningOnly)}return!1})),gr=Object.assign({},Un);let Er=null;if(Array.isArray(sn)&&An)Er=sn;else if(!(gn&&(!(ln||st)||An))){if(!(st&&!gn&&!An))if(L.isValidElement(sn)){const Zn=Object.assign(Object.assign({},sn.props),gr);if(Zn.id||(Zn.id=Gn),Bt||pn.length>0||or.length>0||re.extra){const Kr=[];(Bt||pn.length>0)&&Kr.push(`${Gn}_help`),re.extra&&Kr.push(`${Gn}_extra`),Zn["aria-describedby"]=Kr.join(" ")}pn.length>0&&(Zn["aria-invalid"]="true"),Xn&&(Zn["aria-required"]="true"),(0,H.Yr)(sn)&&(Zn.ref=tr(xn,sn)),new Set([].concat((0,U.Z)(ht(Ye)),(0,U.Z)(ht(wn)))).forEach(Kr=>{Zn[Kr]=function(){for(var Fr,Lr,Sr,Zr,_r,Xr=arguments.length,Ir=new Array(Xr),Or=0;Or<Xr;Or++)Ir[Or]=arguments[Or];(Sr=gr[Kr])===null||Sr===void 0||(Fr=Sr).call.apply(Fr,[gr].concat(Ir)),(_r=(Zr=sn.props)[Kr])===null||_r===void 0||(Lr=_r).call.apply(Lr,[Zr].concat(Ir))}});const wr=[Zn["aria-required"],Zn["aria-invalid"],Zn["aria-describedby"]];Er=L.createElement(_t,{control:gr,update:sn,childProps:wr},(0,M.Tm)(sn,Zn))}else gn&&(ln||st)&&!An?Er=sn(dn):Er=sn}return ur(Er,Gn,Xn)}))}const Ft=nt;Ft.useStatus=Xe;var Ot=Ft,zt=function(re,De){var $e={};for(var je in re)Object.prototype.hasOwnProperty.call(re,je)&&De.indexOf(je)<0&&($e[je]=re[je]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,je=Object.getOwnPropertySymbols(re);st<je.length;st++)De.indexOf(je[st])<0&&Object.prototype.propertyIsEnumerable.call(re,je[st])&&($e[je[st]]=re[je[st]]);return $e},pe=re=>{var{prefixCls:De,children:$e}=re,je=zt(re,["prefixCls","children"]);const{getPrefixCls:st}=L.useContext(_.E_),qt=st("form",De),ln=L.useMemo(()=>({prefixCls:qt,status:"error"}),[qt]);return L.createElement(Ee.List,Object.assign({},je),(Oe,ot,wt)=>L.createElement(i.Rk.Provider,{value:ln},$e(Oe.map(Qt=>Object.assign(Object.assign({},Qt),{fieldKey:Qt.key})),ot,{errors:wt.errors,warnings:wt.warnings})))};function It(){const{form:re}=L.useContext(i.q3);return re}const Pe=lt;Pe.Item=Ot,Pe.List=pe,Pe.ErrorList=ie,Pe.useForm=Je,Pe.useFormInstance=It,Pe.useWatch=Ee.useWatch,Pe.Provider=i.RV,Pe.create=()=>{};var Le=Pe},49397:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return O}});var i=u(59301),U=u(92310),L=u.n(U),ce=u(36901),j=u(8654),g=u(62487),V=u(86013),K=u(82855),l=u(48755),y=u(2171),P=u(83397),b=u(31756),C=u(56553),w=u(24971),z=u(70045),W=u(23826),Y=u(53075);function $(T){return!!(T.prefix||T.suffix||T.allowClear||T.showCount)}var R=function(T,ue){var be={};for(var he in T)Object.prototype.hasOwnProperty.call(T,he)&&ue.indexOf(he)<0&&(be[he]=T[he]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,he=Object.getOwnPropertySymbols(T);Ue<he.length;Ue++)ue.indexOf(he[Ue])<0&&Object.prototype.propertyIsEnumerable.call(T,he[Ue])&&(be[he[Ue]]=T[he[Ue]]);return be},O=(0,i.forwardRef)((T,ue)=>{const{prefixCls:be,bordered:he=!0,status:Ue,size:Qe,disabled:ke,onBlur:Ze,onFocus:se,suffix:k,allowClear:I,addonAfter:oe,addonBefore:ie,className:Ee,style:_,styles:A,rootClassName:fe,onChange:Be,classNames:ft,variant:At}=T,Ie=R(T,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:it,direction:ht,allowClear:Tt,autoComplete:ze,className:Jt,style:yt,classNames:cn,styles:Je}=(0,l.dj)("input"),bt=it("input",be),Ge=(0,i.useRef)(null),Ne=(0,P.Z)(bt),[ne,lt,Ke]=(0,Y.TI)(bt,fe),[H]=(0,Y.ZP)(bt,Ne),{compactSize:M,compactItemClassnames:_e}=(0,z.ri)(bt,ht),me=(0,b.Z)(D=>{var rt;return(rt=Qe!=null?Qe:M)!==null&&rt!==void 0?rt:D}),Te=i.useContext(y.Z),Fe=ke!=null?ke:Te,{status:Xe,hasFeedback:gt,feedbackIcon:de}=(0,i.useContext)(C.aM),xe=(0,K.F)(Xe,Ue),Pt=$(T)||!!gt,xt=(0,i.useRef)(Pt),kt=(0,W.Z)(Ge,!0),Mt=D=>{kt(),Ze==null||Ze(D)},mt=D=>{kt(),se==null||se(D)},Gt=D=>{kt(),Be==null||Be(D)},Zt=(gt||k)&&i.createElement(i.Fragment,null,k,gt&&de),Re=(0,V.Z)(I!=null?I:Tt),[pt,E]=(0,w.Z)("input",At,he);return ne(H(i.createElement(ce.default,Object.assign({ref:(0,j.sQ)(ue,Ge),prefixCls:bt,autoComplete:ze},Ie,{disabled:Fe,onBlur:Mt,onFocus:mt,style:Object.assign(Object.assign({},yt),_),styles:Object.assign(Object.assign({},Je),A),suffix:Zt,allowClear:Re,className:L()(Ee,fe,Ke,Ne,_e,Jt),onChange:Gt,addonBefore:ie&&i.createElement(g.Z,{form:!0,space:!0},ie),addonAfter:oe&&i.createElement(g.Z,{form:!0,space:!0},oe),classNames:Object.assign(Object.assign(Object.assign({},ft),cn),{input:L()({[`${bt}-sm`]:me==="small",[`${bt}-lg`]:me==="large",[`${bt}-rtl`]:ht==="rtl"},ft==null?void 0:ft.input,cn.input,lt),variant:L()({[`${bt}-${pt}`]:E},(0,K.Z)(bt,xe)),affixWrapper:L()({[`${bt}-affix-wrapper-sm`]:me==="small",[`${bt}-affix-wrapper-lg`]:me==="large",[`${bt}-affix-wrapper-rtl`]:ht==="rtl"},lt),wrapper:L()({[`${bt}-group-rtl`]:ht==="rtl"},lt),groupWrapper:L()({[`${bt}-group-wrapper-sm`]:me==="small",[`${bt}-group-wrapper-lg`]:me==="large",[`${bt}-group-wrapper-rtl`]:ht==="rtl",[`${bt}-group-wrapper-${pt}`]:E},(0,K.Z)(`${bt}-group-wrapper`,xe,gt),lt)})}))))})},79809:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return ue}});var i=u(59301),U=u(92310),L=u.n(U),ce=u(22711),j=u(86013),g=u(82855),V=u(48755),K=u(2171),l=u(83397),y=u(31756),P=u(56553),b=u(24971),C=u(70045),w=u(30292),z=u(53075),W=u(16931),Y=u(51636),$=u(64910);const R=be=>{const{componentCls:he,paddingLG:Ue}=be,Qe=`${he}-textarea`;return{[`textarea${he}`]:{maxWidth:"100%",height:"auto",minHeight:be.controlHeight,lineHeight:be.lineHeight,verticalAlign:"bottom",transition:`all ${be.motionDurationSlow}`,resize:"vertical",[`&${he}-mouse-active`]:{transition:`all ${be.motionDurationSlow}, height 0s, width 0s`}},[`${he}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Qe]:{position:"relative","&-show-count":{[`> ${he}`]:{height:"100%"},[`${he}-data-count`]:{position:"absolute",bottom:be.calc(be.fontSize).mul(be.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:be.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
|
&-allow-clear > ${he},
|
|
|
&-affix-wrapper${Qe}-has-feedback ${he}
|
|
|
`]:{paddingInlineEnd:Ue},[`&-affix-wrapper${he}-affix-wrapper`]:{padding:0,[`> textarea${he}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:be.calc(be.controlHeight).sub(be.calc(be.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${he}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${he}-clear-icon`]:{position:"absolute",insetInlineEnd:be.paddingInline,insetBlockStart:be.paddingXS},[`${Qe}-suffix`]:{position:"absolute",top:0,insetInlineEnd:be.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${he}-affix-wrapper-sm`]:{[`${he}-suffix`]:{[`${he}-clear-icon`]:{insetInlineEnd:be.paddingInlineSM}}}}}};var G=(0,W.I$)(["Input","TextArea"],be=>{const he=(0,Y.mergeToken)(be,(0,$.e)(be));return[R(he)]},$.T,{resetFont:!1}),O=function(be,he){var Ue={};for(var Qe in be)Object.prototype.hasOwnProperty.call(be,Qe)&&he.indexOf(Qe)<0&&(Ue[Qe]=be[Qe]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,Qe=Object.getOwnPropertySymbols(be);ke<Qe.length;ke++)he.indexOf(Qe[ke])<0&&Object.prototype.propertyIsEnumerable.call(be,Qe[ke])&&(Ue[Qe[ke]]=be[Qe[ke]]);return Ue},ue=(0,i.forwardRef)((be,he)=>{var Ue;const{prefixCls:Qe,bordered:ke=!0,size:Ze,disabled:se,status:k,allowClear:I,classNames:oe,rootClassName:ie,className:Ee,style:_,styles:A,variant:fe,showCount:Be,onMouseDown:ft,onResize:At}=be,Ie=O(be,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:it,direction:ht,allowClear:Tt,autoComplete:ze,className:Jt,style:yt,classNames:cn,styles:Je}=(0,V.dj)("textArea"),bt=i.useContext(K.Z),Ge=se!=null?se:bt,{status:Ne,hasFeedback:ne,feedbackIcon:lt}=i.useContext(P.aM),Ke=(0,g.F)(Ne,k),H=i.useRef(null);i.useImperativeHandle(he,()=>{var E;return{resizableTextArea:(E=H.current)===null||E===void 0?void 0:E.resizableTextArea,focus:D=>{var rt,te;(0,w.nH)((te=(rt=H.current)===null||rt===void 0?void 0:rt.resizableTextArea)===null||te===void 0?void 0:te.textArea,D)},blur:()=>{var D;return(D=H.current)===null||D===void 0?void 0:D.blur()}}});const M=it("input",Qe),_e=(0,l.Z)(M),[me,Te,Fe]=(0,z.TI)(M,ie),[Xe]=G(M,_e),{compactSize:gt,compactItemClassnames:de}=(0,C.ri)(M,ht),xe=(0,y.Z)(E=>{var D;return(D=Ze!=null?Ze:gt)!==null&&D!==void 0?D:E}),[Pt,xt]=(0,b.Z)("textArea",fe,ke),kt=(0,j.Z)(I!=null?I:Tt),[Mt,mt]=i.useState(!1),[Gt,Zt]=i.useState(!1),Re=E=>{mt(!0),ft==null||ft(E);const D=()=>{mt(!1),document.removeEventListener("mouseup",D)};document.addEventListener("mouseup",D)},pt=E=>{var D,rt;if(At==null||At(E),Mt&&typeof getComputedStyle=="function"){const te=(rt=(D=H.current)===null||D===void 0?void 0:D.nativeElement)===null||rt===void 0?void 0:rt.querySelector("textarea");te&&getComputedStyle(te).resize==="both"&&Zt(!0)}};return me(Xe(i.createElement(ce.default,Object.assign({autoComplete:ze},Ie,{style:Object.assign(Object.assign({},yt),_),styles:Object.assign(Object.assign({},Je),A),disabled:Ge,allowClear:kt,className:L()(Fe,_e,Ee,ie,de,Jt,Gt&&`${M}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},oe),cn),{textarea:L()({[`${M}-sm`]:xe==="small",[`${M}-lg`]:xe==="large"},Te,oe==null?void 0:oe.textarea,cn.textarea,Mt&&`${M}-mouse-active`),variant:L()({[`${M}-${Pt}`]:xt},(0,g.Z)(M,Ke)),affixWrapper:L()(`${M}-textarea-affix-wrapper`,{[`${M}-affix-wrapper-rtl`]:ht==="rtl",[`${M}-affix-wrapper-sm`]:xe==="small",[`${M}-affix-wrapper-lg`]:xe==="large",[`${M}-textarea-show-count`]:Be||((Ue=be.count)===null||Ue===void 0?void 0:Ue.show)},Te)}),prefixCls:M,suffix:ne&&i.createElement("span",{className:`${M}-textarea-suffix`},lt),showCount:Be,ref:H,onResize:pt,onMouseDown:Re}))))})},23826:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return U}});var i=u(59301);function U(L,ce){const j=(0,i.useRef)([]),g=()=>{j.current.push(setTimeout(()=>{var V,K,l,y;!((V=L.current)===null||V===void 0)&&V.input&&((K=L.current)===null||K===void 0?void 0:K.input.getAttribute("type"))==="password"&&(!((l=L.current)===null||l===void 0)&&l.input.hasAttribute("value"))&&((y=L.current)===null||y===void 0||y.input.removeAttribute("value"))}))};return(0,i.useEffect)(()=>(ce&&g(),()=>j.current.forEach(V=>{V&&clearTimeout(V)})),[]),g}},37568:function(Pn,Lt,u){"use strict";u.d(Lt,{default:function(){return cn}});var i=u(59301),U=u(92310),L=u.n(U),ce=u(48755),j=u(56553),g=u(53075),K=Je=>{const{getPrefixCls:bt,direction:Ge}=(0,i.useContext)(ce.E_),{prefixCls:Ne,className:ne}=Je,lt=bt("input-group",Ne),Ke=bt("input"),[H,M,_e]=(0,g.ZP)(Ke),me=L()(lt,_e,{[`${lt}-lg`]:Je.size==="large",[`${lt}-sm`]:Je.size==="small",[`${lt}-compact`]:Je.compact,[`${lt}-rtl`]:Ge==="rtl"},M,ne),Te=(0,i.useContext)(j.aM),Fe=(0,i.useMemo)(()=>Object.assign(Object.assign({},Te),{isFormItemInput:!1}),[Te]);return H(i.createElement("span",{className:me,style:Je.style,onMouseEnter:Je.onMouseEnter,onMouseLeave:Je.onMouseLeave,onFocus:Je.onFocus,onBlur:Je.onBlur},i.createElement(j.aM.Provider,{value:Fe},Je.children)))},l=u(49397),y=u(94480),P=u(6089),b=u(26112),C=u(82855),w=u(31756),z=u(16931),W=u(51636),Y=u(64910);const $=Je=>{const{componentCls:bt,paddingXS:Ge}=Je;return{[bt]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:Ge,"&-rtl":{direction:"rtl"},[`${bt}-input`]:{textAlign:"center",paddingInline:Je.paddingXXS},[`&${bt}-sm ${bt}-input`]:{paddingInline:Je.calc(Je.paddingXXS).div(2).equal()},[`&${bt}-lg ${bt}-input`]:{paddingInline:Je.paddingXS}}}};var R=(0,z.I$)(["Input","OTP"],Je=>{const bt=(0,W.mergeToken)(Je,(0,Y.e)(Je));return[$(bt)]},Y.T),G=u(16089),O=function(Je,bt){var Ge={};for(var Ne in Je)Object.prototype.hasOwnProperty.call(Je,Ne)&&bt.indexOf(Ne)<0&&(Ge[Ne]=Je[Ne]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,Ne=Object.getOwnPropertySymbols(Je);ne<Ne.length;ne++)bt.indexOf(Ne[ne])<0&&Object.prototype.propertyIsEnumerable.call(Je,Ne[ne])&&(Ge[Ne[ne]]=Je[Ne[ne]]);return Ge},ue=i.forwardRef((Je,bt)=>{const{value:Ge,onChange:Ne,onActiveChange:ne,index:lt,mask:Ke}=Je,H=O(Je,["value","onChange","onActiveChange","index","mask"]),M=Ge&&typeof Ke=="string"?Ke:Ge,_e=gt=>{Ne(lt,gt.target.value)},me=i.useRef(null);i.useImperativeHandle(bt,()=>me.current);const Te=()=>{(0,G.Z)(()=>{var gt;const de=(gt=me.current)===null||gt===void 0?void 0:gt.input;document.activeElement===de&&de&&de.select()})},Fe=gt=>{const{key:de,ctrlKey:xe,metaKey:Pt}=gt;de==="ArrowLeft"?ne(lt-1):de==="ArrowRight"?ne(lt+1):de==="z"&&(xe||Pt)&>.preventDefault(),Te()},Xe=gt=>{gt.key==="Backspace"&&!Ge&&ne(lt-1),Te()};return i.createElement(l.Z,Object.assign({type:Ke===!0?"password":"text"},H,{ref:me,value:M,onInput:_e,onFocus:Te,onKeyDown:Fe,onKeyUp:Xe,onMouseDown:Te,onMouseUp:Te}))}),be=function(Je,bt){var Ge={};for(var Ne in Je)Object.prototype.hasOwnProperty.call(Je,Ne)&&bt.indexOf(Ne)<0&&(Ge[Ne]=Je[Ne]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,Ne=Object.getOwnPropertySymbols(Je);ne<Ne.length;ne++)bt.indexOf(Ne[ne])<0&&Object.prototype.propertyIsEnumerable.call(Je,Ne[ne])&&(Ge[Ne[ne]]=Je[Ne[ne]]);return Ge};function he(Je){return(Je||"").split("")}const Ue=Je=>{const{index:bt,prefixCls:Ge,separator:Ne}=Je,ne=typeof Ne=="function"?Ne(bt):Ne;return ne?i.createElement("span",{className:`${Ge}-separator`},ne):null};var ke=i.forwardRef((Je,bt)=>{const{prefixCls:Ge,length:Ne=6,size:ne,defaultValue:lt,value:Ke,onChange:H,formatter:M,separator:_e,variant:me,disabled:Te,status:Fe,autoFocus:Xe,mask:gt,type:de,onInput:xe,inputMode:Pt}=Je,xt=be(Je,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:kt,direction:Mt}=i.useContext(ce.E_),mt=kt("otp",Ge),Gt=(0,b.Z)(xt,{aria:!0,data:!0,attr:!0}),[Zt,Re,pt]=R(mt),E=(0,w.Z)(St=>ne!=null?ne:St),D=i.useContext(j.aM),rt=(0,C.F)(D.status,Fe),te=i.useMemo(()=>Object.assign(Object.assign({},D),{status:rt,hasFeedback:!1,feedbackIcon:null}),[D,rt]),Ae=i.useRef(null),tn=i.useRef({});i.useImperativeHandle(bt,()=>({focus:()=>{var St;(St=tn.current[0])===null||St===void 0||St.focus()},blur:()=>{var St;for(let Se=0;Se<Ne;Se+=1)(St=tn.current[Se])===null||St===void 0||St.blur()},nativeElement:Ae.current}));const Ce=St=>M?M(St):St,[Ve,ut]=i.useState(()=>he(Ce(lt||"")));i.useEffect(()=>{Ke!==void 0&&ut(he(Ke))},[Ke]);const ye=(0,P.Z)(St=>{ut(St),xe&&xe(St),H&&St.length===Ne&&St.every(Se=>Se)&&St.some((Se,Wt)=>Ve[Wt]!==Se)&&H(St.join(""))}),we=(0,P.Z)((St,Se)=>{let Wt=(0,y.Z)(Ve);for(let Rt=0;Rt<St;Rt+=1)Wt[Rt]||(Wt[Rt]="");Se.length<=1?Wt[St]=Se:Wt=Wt.slice(0,St).concat(he(Se)),Wt=Wt.slice(0,Ne);for(let Rt=Wt.length-1;Rt>=0&&!Wt[Rt];Rt-=1)Wt.pop();const Kt=Ce(Wt.map(Rt=>Rt||" ").join(""));return Wt=he(Kt).map((Rt,le)=>Rt===" "&&!Wt[le]?Wt[le]:Rt),Wt}),tt=(St,Se)=>{var Wt;const Kt=we(St,Se),Rt=Math.min(St+Se.length,Ne-1);Rt!==St&&Kt[St]!==void 0&&((Wt=tn.current[Rt])===null||Wt===void 0||Wt.focus()),ye(Kt)},et=St=>{var Se;(Se=tn.current[St])===null||Se===void 0||Se.focus()},X={variant:me,disabled:Te,status:rt,mask:gt,type:de,inputMode:Pt};return Zt(i.createElement("div",Object.assign({},Gt,{ref:Ae,className:L()(mt,{[`${mt}-sm`]:E==="small",[`${mt}-lg`]:E==="large",[`${mt}-rtl`]:Mt==="rtl"},pt,Re)}),i.createElement(j.aM.Provider,{value:te},Array.from({length:Ne}).map((St,Se)=>{const Wt=`otp-${Se}`,Kt=Ve[Se]||"";return i.createElement(i.Fragment,{key:Wt},i.createElement(ue,Object.assign({ref:Rt=>{tn.current[Se]=Rt},index:Se,size:E,htmlSize:1,className:`${mt}-input`,onChange:tt,value:Kt,onActiveChange:et,autoFocus:Se===0&&Xe},X)),Se<Ne-1&&i.createElement(Ue,{separator:_e,index:Se,prefixCls:mt}))}))))}),Ze=u(73331),se=u(15277),k=u(2738),I=u(8654),oe=u(2171),ie=u(23826),Ee=function(Je,bt){var Ge={};for(var Ne in Je)Object.prototype.hasOwnProperty.call(Je,Ne)&&bt.indexOf(Ne)<0&&(Ge[Ne]=Je[Ne]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,Ne=Object.getOwnPropertySymbols(Je);ne<Ne.length;ne++)bt.indexOf(Ne[ne])<0&&Object.prototype.propertyIsEnumerable.call(Je,Ne[ne])&&(Ge[Ne[ne]]=Je[Ne[ne]]);return Ge};const _=Je=>Je?i.createElement(se.Z,null):i.createElement(Ze.Z,null),A={click:"onClick",hover:"onMouseOver"};var Be=i.forwardRef((Je,bt)=>{const{disabled:Ge,action:Ne="click",visibilityToggle:ne=!0,iconRender:lt=_}=Je,Ke=i.useContext(oe.Z),H=Ge!=null?Ge:Ke,M=typeof ne=="object"&&ne.visible!==void 0,[_e,me]=(0,i.useState)(()=>M?ne.visible:!1),Te=(0,i.useRef)(null);i.useEffect(()=>{M&&me(ne.visible)},[M,ne]);const Fe=(0,ie.Z)(Te),Xe=()=>{var E;if(H)return;_e&&Fe();const D=!_e;me(D),typeof ne=="object"&&((E=ne.onVisibleChange)===null||E===void 0||E.call(ne,D))},gt=E=>{const D=A[Ne]||"",rt=lt(_e),te={[D]:Xe,className:`${E}-icon`,key:"passwordIcon",onMouseDown:Ae=>{Ae.preventDefault()},onMouseUp:Ae=>{Ae.preventDefault()}};return i.cloneElement(i.isValidElement(rt)?rt:i.createElement("span",null,rt),te)},{className:de,prefixCls:xe,inputPrefixCls:Pt,size:xt}=Je,kt=Ee(Je,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Mt}=i.useContext(ce.E_),mt=Mt("input",Pt),Gt=Mt("input-password",xe),Zt=ne&>(Gt),Re=L()(Gt,de,{[`${Gt}-${xt}`]:!!xt}),pt=Object.assign(Object.assign({},(0,k.Z)(kt,["suffix","iconRender","visibilityToggle"])),{type:_e?"text":"password",className:Re,prefixCls:mt,suffix:Zt});return xt&&(pt.size=xt),i.createElement(l.Z,Object.assign({ref:(0,I.sQ)(bt,Te)},pt))}),ft=u(47472),At=u(22703),Ie=u(7939),it=u(70045),ht=function(Je,bt){var Ge={};for(var Ne in Je)Object.prototype.hasOwnProperty.call(Je,Ne)&&bt.indexOf(Ne)<0&&(Ge[Ne]=Je[Ne]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,Ne=Object.getOwnPropertySymbols(Je);ne<Ne.length;ne++)bt.indexOf(Ne[ne])<0&&Object.prototype.propertyIsEnumerable.call(Je,Ne[ne])&&(Ge[Ne[ne]]=Je[Ne[ne]]);return Ge},ze=i.forwardRef((Je,bt)=>{const{prefixCls:Ge,inputPrefixCls:Ne,className:ne,size:lt,suffix:Ke,enterButton:H=!1,addonAfter:M,loading:_e,disabled:me,onSearch:Te,onChange:Fe,onCompositionStart:Xe,onCompositionEnd:gt}=Je,de=ht(Je,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:xe,direction:Pt}=i.useContext(ce.E_),xt=i.useRef(!1),kt=xe("input-search",Ge),Mt=xe("input",Ne),{compactSize:mt}=(0,it.ri)(kt,Pt),Gt=(0,w.Z)(tt=>{var et;return(et=lt!=null?lt:mt)!==null&&et!==void 0?et:tt}),Zt=i.useRef(null),Re=tt=>{tt!=null&&tt.target&&tt.type==="click"&&Te&&Te(tt.target.value,tt,{source:"clear"}),Fe==null||Fe(tt)},pt=tt=>{var et;document.activeElement===((et=Zt.current)===null||et===void 0?void 0:et.input)&&tt.preventDefault()},E=tt=>{var et,X;Te&&Te((X=(et=Zt.current)===null||et===void 0?void 0:et.input)===null||X===void 0?void 0:X.value,tt,{source:"input"})},D=tt=>{xt.current||_e||E(tt)},rt=typeof H=="boolean"?i.createElement(ft.Z,null):null,te=`${kt}-button`;let Ae;const tn=H||{},Ce=tn.type&&tn.type.__ANT_BUTTON===!0;Ce||tn.type==="button"?Ae=(0,At.Tm)(tn,Object.assign({onMouseDown:pt,onClick:tt=>{var et,X;(X=(et=tn==null?void 0:tn.props)===null||et===void 0?void 0:et.onClick)===null||X===void 0||X.call(et,tt),E(tt)},key:"enterButton"},Ce?{className:te,size:Gt}:{})):Ae=i.createElement(Ie.ZP,{className:te,type:H?"primary":void 0,size:Gt,disabled:me,key:"enterButton",onMouseDown:pt,onClick:E,loading:_e,icon:rt},H),M&&(Ae=[Ae,(0,At.Tm)(M,{key:"addonAfter"})]);const Ve=L()(kt,{[`${kt}-rtl`]:Pt==="rtl",[`${kt}-${Gt}`]:!!Gt,[`${kt}-with-button`]:!!H},ne),ut=Object.assign(Object.assign({},de),{className:Ve,prefixCls:Mt,type:"search"}),ye=tt=>{xt.current=!0,Xe==null||Xe(tt)},we=tt=>{xt.current=!1,gt==null||gt(tt)};return i.createElement(l.Z,Object.assign({ref:(0,I.sQ)(Zt,bt),onPressEnter:D},ut,{size:Gt,onCompositionStart:ye,onCompositionEnd:we,addonAfter:Ae,suffix:Ke,onChange:Re,disabled:me}))}),Jt=u(79809);const yt=l.Z;yt.Group=K,yt.Search=ze,yt.TextArea=Jt.Z,yt.Password=Be,yt.OTP=ke;var cn=yt},53075:function(Pn,Lt,u){"use strict";u.d(Lt,{TI:function(){return G},ik:function(){return b},nz:function(){return K},s7:function(){return C},x0:function(){return P}});var i=u(36237),U=u(63356),L=u(56119),ce=u(16931),j=u(51636),g=u(64910),V=u(39082);const K=O=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:O,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),l=O=>({borderColor:O.activeBorderColor,boxShadow:O.activeShadow,outline:0,backgroundColor:O.activeBg}),y=O=>{const{paddingBlockLG:T,lineHeightLG:ue,borderRadiusLG:be,paddingInlineLG:he}=O;return{padding:`${(0,i.unit)(T)} ${(0,i.unit)(he)}`,fontSize:O.inputFontSizeLG,lineHeight:ue,borderRadius:be}},P=O=>({padding:`${(0,i.unit)(O.paddingBlockSM)} ${(0,i.unit)(O.paddingInlineSM)}`,fontSize:O.inputFontSizeSM,borderRadius:O.borderRadiusSM}),b=O=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,i.unit)(O.paddingBlock)} ${(0,i.unit)(O.paddingInline)}`,color:O.colorText,fontSize:O.inputFontSize,lineHeight:O.lineHeight,borderRadius:O.borderRadius,transition:`all ${O.motionDurationMid}`},K(O.colorTextPlaceholder)),{"&-lg":Object.assign({},y(O)),"&-sm":Object.assign({},P(O)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),C=O=>{const{componentCls:T,antCls:ue}=O;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:O.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${T}, &-lg > ${T}-group-addon`]:Object.assign({},y(O)),[`&-sm ${T}, &-sm > ${T}-group-addon`]:Object.assign({},P(O)),[`&-lg ${ue}-select-single ${ue}-select-selector`]:{height:O.controlHeightLG},[`&-sm ${ue}-select-single ${ue}-select-selector`]:{height:O.controlHeightSM},[`> ${T}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${T}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,i.unit)(O.paddingInline)}`,color:O.colorText,fontWeight:"normal",fontSize:O.inputFontSize,textAlign:"center",borderRadius:O.borderRadius,transition:`all ${O.motionDurationSlow}`,lineHeight:1,[`${ue}-select`]:{margin:`${(0,i.unit)(O.calc(O.paddingBlock).add(1).mul(-1).equal())} ${(0,i.unit)(O.calc(O.paddingInline).mul(-1).equal())}`,[`&${ue}-select-single:not(${ue}-select-customize-input):not(${ue}-pagination-size-changer)`]:{[`${ue}-select-selector`]:{backgroundColor:"inherit",border:`${(0,i.unit)(O.lineWidth)} ${O.lineType} transparent`,boxShadow:"none"}}},[`${ue}-cascader-picker`]:{margin:`-9px ${(0,i.unit)(O.calc(O.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${ue}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[T]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${T}-search-with-button &`]:{zIndex:0}}},[`> ${T}:first-child, ${T}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${ue}-select ${ue}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${T}-affix-wrapper`]:{[`&:not(:first-child) ${T}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${T}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${T}:last-child, ${T}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${ue}-select ${ue}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${T}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${T}-search &`]:{borderStartStartRadius:O.borderRadius,borderEndStartRadius:O.borderRadius}},[`&:not(:first-child), ${T}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${T}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,U.dF)()),{[`${T}-group-addon, ${T}-group-wrap, > ${T}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:O.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
|
& > ${T}-affix-wrapper,
|
|
|
& > ${T}-number-affix-wrapper,
|
|
|
& > ${ue}-picker-range
|
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:O.calc(O.lineWidth).mul(-1).equal(),borderInlineEndWidth:O.lineWidth},[T]:{float:"none"},[`& > ${ue}-select > ${ue}-select-selector,
|
|
|
& > ${ue}-select-auto-complete ${T},
|
|
|
& > ${ue}-cascader-picker ${T},
|
|
|
& > ${T}-group-wrapper ${T}`]:{borderInlineEndWidth:O.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${ue}-select-focused`]:{zIndex:1},[`& > ${ue}-select > ${ue}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
|
& > ${ue}-select:first-child > ${ue}-select-selector,
|
|
|
& > ${ue}-select-auto-complete:first-child ${T},
|
|
|
& > ${ue}-cascader-picker:first-child ${T}`]:{borderStartStartRadius:O.borderRadius,borderEndStartRadius:O.borderRadius},[`& > *:last-child,
|
|
|
& > ${ue}-select:last-child > ${ue}-select-selector,
|
|
|
& > ${ue}-cascader-picker:last-child ${T},
|
|
|
& > ${ue}-cascader-picker-focused:last-child ${T}`]:{borderInlineEndWidth:O.lineWidth,borderStartEndRadius:O.borderRadius,borderEndEndRadius:O.borderRadius},[`& > ${ue}-select-auto-complete ${T}`]:{verticalAlign:"top"},[`${T}-group-wrapper + ${T}-group-wrapper`]:{marginInlineStart:O.calc(O.lineWidth).mul(-1).equal(),[`${T}-affix-wrapper`]:{borderRadius:0}},[`${T}-group-wrapper:not(:last-child)`]:{[`&${T}-search > ${T}-group`]:{[`& > ${T}-group-addon > ${T}-search-button`]:{borderRadius:0},[`& > ${T}`]:{borderStartStartRadius:O.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:O.borderRadius}}}})}},w=O=>{const{componentCls:T,controlHeightSM:ue,lineWidth:be,calc:he}=O,Qe=he(ue).sub(he(be).mul(2)).sub(16).div(2).equal();return{[T]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,U.Wf)(O)),b(O)),(0,V.qG)(O)),(0,V.H8)(O)),(0,V.Mu)(O)),(0,V.vc)(O)),{'&[type="color"]':{height:O.controlHeight,[`&${T}-lg`]:{height:O.controlHeightLG},[`&${T}-sm`]:{height:ue,paddingTop:Qe,paddingBottom:Qe}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},z=O=>{const{componentCls:T}=O;return{[`${T}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:O.colorTextQuaternary,fontSize:O.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${O.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:O.colorTextTertiary},"&:active":{color:O.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,i.unit)(O.inputAffixPadding)}`}}}},W=O=>{const{componentCls:T,inputAffixPadding:ue,colorTextDescription:be,motionDurationSlow:he,colorIcon:Ue,colorIconHover:Qe,iconCls:ke}=O,Ze=`${T}-affix-wrapper`,se=`${T}-affix-wrapper-disabled`;return{[Ze]:Object.assign(Object.assign(Object.assign(Object.assign({},b(O)),{display:"inline-flex",[`&:not(${T}-disabled):hover`]:{zIndex:1,[`${T}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${T}`]:{padding:0},[`> input${T}, > textarea${T}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[T]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:O.paddingXS}},"&-show-count-suffix":{color:be},"&-show-count-has-suffix":{marginInlineEnd:O.paddingXXS},"&-prefix":{marginInlineEnd:ue},"&-suffix":{marginInlineStart:ue}}}),z(O)),{[`${ke}${T}-password-icon`]:{color:Ue,cursor:"pointer",transition:`all ${he}`,"&:hover":{color:Qe}}}),[`${T}-underlined`]:{borderRadius:0},[se]:{[`${ke}${T}-password-icon`]:{color:Ue,cursor:"not-allowed","&:hover":{color:Ue}}}}},Y=O=>{const{componentCls:T,borderRadiusLG:ue,borderRadiusSM:be}=O;return{[`${T}-group`]:Object.assign(Object.assign(Object.assign({},(0,U.Wf)(O)),C(O)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${T}-group-addon`]:{borderRadius:ue,fontSize:O.inputFontSizeLG}},"&-sm":{[`${T}-group-addon`]:{borderRadius:be}}},(0,V.ir)(O)),(0,V.S5)(O)),{[`&:not(${T}-compact-first-item):not(${T}-compact-last-item)${T}-compact-item`]:{[`${T}, ${T}-group-addon`]:{borderRadius:0}},[`&:not(${T}-compact-last-item)${T}-compact-first-item`]:{[`${T}, ${T}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${T}-compact-first-item)${T}-compact-last-item`]:{[`${T}, ${T}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${T}-compact-last-item)${T}-compact-item`]:{[`${T}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${T}-compact-first-item)${T}-compact-item`]:{[`${T}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},$=O=>{const{componentCls:T,antCls:ue}=O,be=`${T}-search`;return{[be]:{[T]:{"&:hover, &:focus":{[`+ ${T}-group-addon ${be}-button:not(${ue}-btn-primary)`]:{borderInlineStartColor:O.colorPrimaryHover}}},[`${T}-affix-wrapper`]:{height:O.controlHeight,borderRadius:0},[`${T}-lg`]:{lineHeight:O.calc(O.lineHeightLG).sub(2e-4).equal()},[`> ${T}-group`]:{[`> ${T}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${be}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${be}-button:not(${ue}-btn-primary)`]:{color:O.colorTextDescription,"&:hover":{color:O.colorPrimaryHover},"&:active":{color:O.colorPrimaryActive},[`&${ue}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${be}-button`]:{height:O.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${T}-affix-wrapper, ${be}-button`]:{height:O.controlHeightLG}},"&-small":{[`${T}-affix-wrapper, ${be}-button`]:{height:O.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${T}-compact-item`]:{[`&:not(${T}-compact-last-item)`]:{[`${T}-group-addon`]:{[`${T}-search-button`]:{marginInlineEnd:O.calc(O.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${T}-compact-first-item)`]:{[`${T},${T}-affix-wrapper`]:{borderRadius:0}},[`> ${T}-group-addon ${T}-search-button,
|
|
|
> ${T},
|
|
|
${T}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${T}-affix-wrapper-focused`]:{zIndex:2}}}}},R=O=>{const{componentCls:T}=O;return{[`${T}-out-of-range`]:{[`&, & input, & textarea, ${T}-show-count-suffix, ${T}-data-count`]:{color:O.colorError}}}},G=(0,ce.I$)(["Input","Shared"],O=>{const T=(0,j.mergeToken)(O,(0,g.e)(O));return[w(T),W(T)]},g.T,{resetFont:!1});Lt.ZP=(0,ce.I$)(["Input","Component"],O=>{const T=(0,j.mergeToken)(O,(0,g.e)(O));return[Y(T),$(T),R(T),(0,L.c)(T)]},g.T,{resetFont:!1})},64910:function(Pn,Lt,u){"use strict";u.d(Lt,{T:function(){return L},e:function(){return U}});var i=u(51636);function U(ce){return(0,i.mergeToken)(ce,{inputAffixPadding:ce.paddingXXS})}const L=ce=>{const{controlHeight:j,fontSize:g,lineHeight:V,lineWidth:K,controlHeightSM:l,controlHeightLG:y,fontSizeLG:P,lineHeightLG:b,paddingSM:C,controlPaddingHorizontalSM:w,controlPaddingHorizontal:z,colorFillAlter:W,colorPrimaryHover:Y,colorPrimary:$,controlOutlineWidth:R,controlOutline:G,colorErrorOutline:O,colorWarningOutline:T,colorBgContainer:ue,inputFontSize:be,inputFontSizeLG:he,inputFontSizeSM:Ue}=ce,Qe=be||g,ke=Ue||Qe,Ze=he||P,se=Math.round((j-Qe*V)/2*10)/10-K,k=Math.round((l-ke*V)/2*10)/10-K,I=Math.ceil((y-Ze*b)/2*10)/10-K;return{paddingBlock:Math.max(se,0),paddingBlockSM:Math.max(k,0),paddingBlockLG:Math.max(I,0),paddingInline:C-K,paddingInlineSM:w-K,paddingInlineLG:z-K,addonBg:W,activeBorderColor:$,hoverBorderColor:Y,activeShadow:`0 0 0 ${R}px ${G}`,errorActiveShadow:`0 0 0 ${R}px ${O}`,warningActiveShadow:`0 0 0 ${R}px ${T}`,hoverBg:ue,activeBg:ue,inputFontSize:Qe,inputFontSizeLG:Ze,inputFontSizeSM:ke}}},39082:function(Pn,Lt,u){"use strict";u.d(Lt,{$U:function(){return j},H8:function(){return C},Mu:function(){return y},S5:function(){return z},Xy:function(){return ce},ir:function(){return l},qG:function(){return V},vc:function(){return $}});var i=u(36237),U=u(51636);const L=R=>({borderColor:R.hoverBorderColor,backgroundColor:R.hoverBg}),ce=R=>({color:R.colorTextDisabled,backgroundColor:R.colorBgContainerDisabled,borderColor:R.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},L((0,U.mergeToken)(R,{hoverBorderColor:R.colorBorder,hoverBg:R.colorBgContainerDisabled})))}),j=(R,G)=>({background:R.colorBgContainer,borderWidth:R.lineWidth,borderStyle:R.lineType,borderColor:G.borderColor,"&:hover":{borderColor:G.hoverBorderColor,backgroundColor:R.hoverBg},"&:focus, &:focus-within":{borderColor:G.activeBorderColor,boxShadow:G.activeShadow,outline:0,backgroundColor:R.activeBg}}),g=(R,G)=>({[`&${R.componentCls}-status-${G.status}:not(${R.componentCls}-disabled)`]:Object.assign(Object.assign({},j(R,G)),{[`${R.componentCls}-prefix, ${R.componentCls}-suffix`]:{color:G.affixColor}}),[`&${R.componentCls}-status-${G.status}${R.componentCls}-disabled`]:{borderColor:G.borderColor}}),V=(R,G)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},j(R,{borderColor:R.colorBorder,hoverBorderColor:R.hoverBorderColor,activeBorderColor:R.activeBorderColor,activeShadow:R.activeShadow})),{[`&${R.componentCls}-disabled, &[disabled]`]:Object.assign({},ce(R))}),g(R,{status:"error",borderColor:R.colorError,hoverBorderColor:R.colorErrorBorderHover,activeBorderColor:R.colorError,activeShadow:R.errorActiveShadow,affixColor:R.colorError})),g(R,{status:"warning",borderColor:R.colorWarning,hoverBorderColor:R.colorWarningBorderHover,activeBorderColor:R.colorWarning,activeShadow:R.warningActiveShadow,affixColor:R.colorWarning})),G)}),K=(R,G)=>({[`&${R.componentCls}-group-wrapper-status-${G.status}`]:{[`${R.componentCls}-group-addon`]:{borderColor:G.addonBorderColor,color:G.addonColor}}}),l=R=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${R.componentCls}-group`]:{"&-addon":{background:R.addonBg,border:`${(0,i.unit)(R.lineWidth)} ${R.lineType} ${R.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},K(R,{status:"error",addonBorderColor:R.colorError,addonColor:R.colorErrorText})),K(R,{status:"warning",addonBorderColor:R.colorWarning,addonColor:R.colorWarningText})),{[`&${R.componentCls}-group-wrapper-disabled`]:{[`${R.componentCls}-group-addon`]:Object.assign({},ce(R))}})}),y=(R,G)=>{const{componentCls:O}=R;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${O}-disabled, &[disabled]`]:{color:R.colorTextDisabled,cursor:"not-allowed"},[`&${O}-status-error`]:{"&, & input, & textarea":{color:R.colorError}},[`&${O}-status-warning`]:{"&, & input, & textarea":{color:R.colorWarning}}},G)}},P=(R,G)=>{var O;return{background:G.bg,borderWidth:R.lineWidth,borderStyle:R.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(O=G==null?void 0:G.inputColor)!==null&&O!==void 0?O:"unset"},"&:hover":{background:G.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:G.activeBorderColor,backgroundColor:R.activeBg}}},b=(R,G)=>({[`&${R.componentCls}-status-${G.status}:not(${R.componentCls}-disabled)`]:Object.assign(Object.assign({},P(R,G)),{[`${R.componentCls}-prefix, ${R.componentCls}-suffix`]:{color:G.affixColor}})}),C=(R,G)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},P(R,{bg:R.colorFillTertiary,hoverBg:R.colorFillSecondary,activeBorderColor:R.activeBorderColor})),{[`&${R.componentCls}-disabled, &[disabled]`]:Object.assign({},ce(R))}),b(R,{status:"error",bg:R.colorErrorBg,hoverBg:R.colorErrorBgHover,activeBorderColor:R.colorError,inputColor:R.colorErrorText,affixColor:R.colorError})),b(R,{status:"warning",bg:R.colorWarningBg,hoverBg:R.colorWarningBgHover,activeBorderColor:R.colorWarning,inputColor:R.colorWarningText,affixColor:R.colorWarning})),G)}),w=(R,G)=>({[`&${R.componentCls}-group-wrapper-status-${G.status}`]:{[`${R.componentCls}-group-addon`]:{background:G.addonBg,color:G.addonColor}}}),z=R=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${R.componentCls}-group`]:{"&-addon":{background:R.colorFillTertiary},[`${R.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,i.unit)(R.lineWidth)} ${R.lineType} ${R.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,i.unit)(R.lineWidth)} ${R.lineType} ${R.colorSplit}`}}}},w(R,{status:"error",addonBg:R.colorErrorBg,addonColor:R.colorErrorText})),w(R,{status:"warning",addonBg:R.colorWarningBg,addonColor:R.colorWarningText})),{[`&${R.componentCls}-group-wrapper-disabled`]:{[`${R.componentCls}-group`]:{"&-addon":{background:R.colorFillTertiary,color:R.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,i.unit)(R.lineWidth)} ${R.lineType} ${R.colorBorder}`,borderTop:`${(0,i.unit)(R.lineWidth)} ${R.lineType} ${R.colorBorder}`,borderBottom:`${(0,i.unit)(R.lineWidth)} ${R.lineType} ${R.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,i.unit)(R.lineWidth)} ${R.lineType} ${R.colorBorder}`,borderTop:`${(0,i.unit)(R.lineWidth)} ${R.lineType} ${R.colorBorder}`,borderBottom:`${(0,i.unit)(R.lineWidth)} ${R.lineType} ${R.colorBorder}`}}}})}),W=(R,G)=>({background:R.colorBgContainer,borderWidth:`${(0,i.unit)(R.lineWidth)} 0`,borderStyle:`${R.lineType} none`,borderColor:`transparent transparent ${G.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${G.borderColor} transparent`,backgroundColor:R.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${G.borderColor} transparent`,outline:0,backgroundColor:R.activeBg}}),Y=(R,G)=>({[`&${R.componentCls}-status-${G.status}:not(${R.componentCls}-disabled)`]:Object.assign(Object.assign({},W(R,G)),{[`${R.componentCls}-prefix, ${R.componentCls}-suffix`]:{color:G.affixColor}}),[`&${R.componentCls}-status-${G.status}${R.componentCls}-disabled`]:{borderColor:`transparent transparent ${G.borderColor} transparent`}}),$=(R,G)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},W(R,{borderColor:R.colorBorder,hoverBorderColor:R.hoverBorderColor,activeBorderColor:R.activeBorderColor,activeShadow:R.activeShadow})),{[`&${R.componentCls}-disabled, &[disabled]`]:{color:R.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${R.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),Y(R,{status:"error",borderColor:R.colorError,hoverBorderColor:R.colorErrorBorderHover,activeBorderColor:R.colorError,activeShadow:R.errorActiveShadow,affixColor:R.colorError})),Y(R,{status:"warning",borderColor:R.colorWarning,hoverBorderColor:R.colorWarningBorderHover,activeBorderColor:R.colorWarning,activeShadow:R.warningActiveShadow,affixColor:R.colorWarning})),G)})},24303:function(Pn,Lt,u){"use strict";u.d(Lt,{D:function(){return be},Z:function(){return Qe}});var i=u(59301),U=u(54476),L={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},ce=L,j=u(7657),g=function(Ze,se){return i.createElement(j.Z,(0,U.Z)({},Ze,{ref:se,icon:ce}))},V=i.forwardRef(g),K=V,l=u(33853),y=u(38819),P=u(92310),b=u.n(P),C=u(2738),w=u(48755),z=u(6989),W=u(36237),Y=u(48923),$=u(16931);const R=ke=>{const{componentCls:Ze,siderBg:se,motionDurationMid:k,motionDurationSlow:I,antCls:oe,triggerHeight:ie,triggerColor:Ee,triggerBg:_,headerHeight:A,zeroTriggerWidth:fe,zeroTriggerHeight:Be,borderRadiusLG:ft,lightSiderBg:At,lightTriggerColor:Ie,lightTriggerBg:it,bodyBg:ht}=ke;return{[Ze]:{position:"relative",minWidth:0,background:se,transition:`all ${k}, background 0s`,"&-has-trigger":{paddingBottom:ie},"&-right":{order:1},[`${Ze}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${oe}-menu${oe}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Ze}-children`]:{overflow:"hidden"},[`${Ze}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:ie,color:Ee,lineHeight:(0,W.unit)(ie),textAlign:"center",background:_,cursor:"pointer",transition:`all ${k}`},[`${Ze}-zero-width-trigger`]:{position:"absolute",top:A,insetInlineEnd:ke.calc(fe).mul(-1).equal(),zIndex:1,width:fe,height:Be,color:Ee,fontSize:ke.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:se,borderRadius:`0 ${(0,W.unit)(ft)} ${(0,W.unit)(ft)} 0`,cursor:"pointer",transition:`background ${I} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${I}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:ke.calc(fe).mul(-1).equal(),borderRadius:`${(0,W.unit)(ft)} 0 0 ${(0,W.unit)(ft)}`}},"&-light":{background:At,[`${Ze}-trigger`]:{color:Ie,background:it},[`${Ze}-zero-width-trigger`]:{color:Ie,background:it,border:`1px solid ${ht}`,borderInlineStart:0}}}}};var G=(0,$.I$)(["Layout","Sider"],ke=>[R(ke)],Y.eh,{deprecatedTokens:Y.jn}),O=function(ke,Ze){var se={};for(var k in ke)Object.prototype.hasOwnProperty.call(ke,k)&&Ze.indexOf(k)<0&&(se[k]=ke[k]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,k=Object.getOwnPropertySymbols(ke);I<k.length;I++)Ze.indexOf(k[I])<0&&Object.prototype.propertyIsEnumerable.call(ke,k[I])&&(se[k[I]]=ke[k[I]]);return se};const T={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ue=ke=>!Number.isNaN(Number.parseFloat(ke))&&isFinite(ke),be=i.createContext({}),he=(()=>{let ke=0;return function(){let Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ke+=1,`${Ze}${ke}`}})();var Qe=i.forwardRef((ke,Ze)=>{const{prefixCls:se,className:k,trigger:I,children:oe,defaultCollapsed:ie=!1,theme:Ee="dark",style:_={},collapsible:A=!1,reverseArrow:fe=!1,width:Be=200,collapsedWidth:ft=80,zeroWidthTriggerStyle:At,breakpoint:Ie,onCollapse:it,onBreakpoint:ht}=ke,Tt=O(ke,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ze}=(0,i.useContext)(z.V),[Jt,yt]=(0,i.useState)("collapsed"in ke?ke.collapsed:ie),[cn,Je]=(0,i.useState)(!1);(0,i.useEffect)(()=>{"collapsed"in ke&&yt(ke.collapsed)},[ke.collapsed]);const bt=(Gt,Zt)=>{"collapsed"in ke||yt(Gt),it==null||it(Gt,Zt)},{getPrefixCls:Ge,direction:Ne}=(0,i.useContext)(w.E_),ne=Ge("layout-sider",se),[lt,Ke,H]=G(ne),M=(0,i.useRef)(null);M.current=Gt=>{Je(Gt.matches),ht==null||ht(Gt.matches),Jt!==Gt.matches&&bt(Gt.matches,"responsive")},(0,i.useEffect)(()=>{function Gt(Re){return M.current(Re)}let Zt;if(typeof window!="undefined"){const{matchMedia:Re}=window;if(Re&&Ie&&Ie in T){Zt=Re(`screen and (max-width: ${T[Ie]})`);try{Zt.addEventListener("change",Gt)}catch(pt){Zt.addListener(Gt)}Gt(Zt)}}return()=>{try{Zt==null||Zt.removeEventListener("change",Gt)}catch(Re){Zt==null||Zt.removeListener(Gt)}}},[Ie]),(0,i.useEffect)(()=>{const Gt=he("ant-sider-");return ze.addSider(Gt),()=>ze.removeSider(Gt)},[]);const _e=()=>{bt(!Jt,"clickTrigger")},me=(0,C.Z)(Tt,["collapsed"]),Te=Jt?ft:Be,Fe=ue(Te)?`${Te}px`:String(Te),Xe=parseFloat(String(ft||0))===0?i.createElement("span",{onClick:_e,className:b()(`${ne}-zero-width-trigger`,`${ne}-zero-width-trigger-${fe?"right":"left"}`),style:At},I||i.createElement(K,null)):null,gt=Ne==="rtl"==!fe,Pt={expanded:gt?i.createElement(y.Z,null):i.createElement(l.Z,null),collapsed:gt?i.createElement(l.Z,null):i.createElement(y.Z,null)}[Jt?"collapsed":"expanded"],xt=I!==null?Xe||i.createElement("div",{className:`${ne}-trigger`,onClick:_e,style:{width:Fe}},I||Pt):null,kt=Object.assign(Object.assign({},_),{flex:`0 0 ${Fe}`,maxWidth:Fe,minWidth:Fe,width:Fe}),Mt=b()(ne,`${ne}-${Ee}`,{[`${ne}-collapsed`]:!!Jt,[`${ne}-has-trigger`]:A&&I!==null&&!Xe,[`${ne}-below`]:!!cn,[`${ne}-zero-width`]:parseFloat(Fe)===0},k,Ke,H),mt=i.useMemo(()=>({siderCollapsed:Jt}),[Jt]);return lt(i.createElement(be.Provider,{value:mt},i.createElement("aside",Object.assign({className:Mt},me,{style:kt,ref:Ze}),i.createElement("div",{className:`${ne}-children`},oe),A||cn&&Xe?xt:null)))})},6989:function(Pn,Lt,u){"use strict";u.d(Lt,{V:function(){return U}});var i=u(59301);const U=i.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Pn,Lt,u){"use strict";u.d(Lt,{eh:function(){return ce},jn:function(){return j}});var i=u(36237),U=u(16931);const L=g=>{const{antCls:V,componentCls:K,colorText:l,footerBg:y,headerHeight:P,headerPadding:b,headerColor:C,footerPadding:w,fontSize:z,bodyBg:W,headerBg:Y}=g;return{[K]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:W,"&, *":{boxSizing:"border-box"},[`&${K}-has-sider`]:{flexDirection:"row",[`> ${K}, > ${K}-content`]:{width:0}},[`${K}-header, &${K}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${K}-header`]:{height:P,padding:b,color:C,lineHeight:(0,i.unit)(P),background:Y,[`${V}-menu`]:{lineHeight:"inherit"}},[`${K}-footer`]:{padding:w,color:l,fontSize:z,background:y},[`${K}-content`]:{flex:"auto",color:l,minHeight:0}}},ce=g=>{const{colorBgLayout:V,controlHeight:K,controlHeightLG:l,colorText:y,controlHeightSM:P,marginXXS:b,colorTextLightSolid:C,colorBgContainer:w}=g,z=l*1.25;return{colorBgHeader:"#001529",colorBgBody:V,colorBgTrigger:"#002140",bodyBg:V,headerBg:"#001529",headerHeight:K*2,headerPadding:`0 ${z}px`,headerColor:y,footerPadding:`${P}px ${z}px`,footerBg:V,siderBg:"#001529",triggerHeight:l+b*2,triggerBg:"#002140",triggerColor:C,zeroTriggerWidth:l,zeroTriggerHeight:l,lightSiderBg:w,lightTriggerBg:w,lightTriggerColor:y}},j=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Lt.ZP=(0,U.I$)("Layout",g=>[L(g)],ce,{deprecatedTokens:j})},78857:function(Pn,Lt,u){"use strict";u.d(Lt,{J:function(){return g}});var i=u(59301),U=u(8654),L=u(62487),ce=function(V,K){var l={};for(var y in V)Object.prototype.hasOwnProperty.call(V,y)&&K.indexOf(y)<0&&(l[y]=V[y]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,y=Object.getOwnPropertySymbols(V);P<y.length;P++)K.indexOf(y[P])<0&&Object.prototype.propertyIsEnumerable.call(V,y[P])&&(l[y[P]]=V[y[P]]);return l};const j=i.createContext(null),g=i.forwardRef((V,K)=>{const{children:l}=V,y=ce(V,["children"]),P=i.useContext(j),b=i.useMemo(()=>Object.assign(Object.assign({},P),y),[P,y.prefixCls,y.mode,y.selectable,y.rootClassName]),C=(0,U.t4)(l),w=(0,U.x1)(K,C?(0,U.C4)(l):null);return i.createElement(j.Provider,{value:b},i.createElement(L.Z,{space:!0},C?i.cloneElement(l,{ref:w}):l))});Lt.Z=j},93041:function(Pn,Lt,u){"use strict";u.d(Lt,{default:function(){return lt}});var i=u(59301),U=u(28321),L=u(24303),ce=u(18785),j=u(92310),g=u.n(j),V=u(6089),K=u(2738),l=u(86641),y=u(22703),P=u(48755),b=u(83397),w=(0,i.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),z=function(Ke,H){var M={};for(var _e in Ke)Object.prototype.hasOwnProperty.call(Ke,_e)&&H.indexOf(_e)<0&&(M[_e]=Ke[_e]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,_e=Object.getOwnPropertySymbols(Ke);me<_e.length;me++)H.indexOf(_e[me])<0&&Object.prototype.propertyIsEnumerable.call(Ke,_e[me])&&(M[_e[me]]=Ke[_e[me]]);return M},Y=Ke=>{const{prefixCls:H,className:M,dashed:_e}=Ke,me=z(Ke,["prefixCls","className","dashed"]),{getPrefixCls:Te}=i.useContext(P.E_),Fe=Te("menu",H),Xe=g()({[`${Fe}-item-divider-dashed`]:!!_e},M);return i.createElement(U.iz,Object.assign({className:Xe},me))},$=u(11592),R=u(25399),O=Ke=>{var H;const{className:M,children:_e,icon:me,title:Te,danger:Fe,extra:Xe}=Ke,{prefixCls:gt,firstLevel:de,direction:xe,disableMenuItemTitleTooltip:Pt,inlineCollapsed:xt}=i.useContext(w),kt=pt=>{const E=_e==null?void 0:_e[0],D=i.createElement("span",{className:g()(`${gt}-title-content`,{[`${gt}-title-content-with-extra`]:!!Xe||Xe===0})},_e);return(!me||i.isValidElement(_e)&&_e.type==="span")&&_e&&pt&&de&&typeof E=="string"?i.createElement("div",{className:`${gt}-inline-collapsed-noicon`},E.charAt(0)):D},{siderCollapsed:Mt}=i.useContext(L.D);let mt=Te;typeof Te=="undefined"?mt=de?_e:"":Te===!1&&(mt="");const Gt={title:mt};!Mt&&!xt&&(Gt.title=null,Gt.open=!1);const Zt=(0,$.Z)(_e).length;let Re=i.createElement(U.ck,Object.assign({},(0,K.Z)(Ke,["title","icon","danger"]),{className:g()({[`${gt}-item-danger`]:Fe,[`${gt}-item-only-child`]:(me?Zt+1:Zt)===1},M),title:typeof Te=="string"?Te:void 0}),(0,y.Tm)(me,{className:g()(i.isValidElement(me)?(H=me.props)===null||H===void 0?void 0:H.className:"",`${gt}-item-icon`)}),kt(xt));return Pt||(Re=i.createElement(R.Z,Object.assign({},Gt,{placement:xe==="rtl"?"left":"right",classNames:{root:`${gt}-inline-collapsed-tooltip`}}),Re)),Re},T=u(78857),ue=u(36237),be=u(17835),he=u(63356),Ue=u(34961),Qe=u(46e3),ke=u(34925),Ze=u(16931),se=u(51636),I=Ke=>{const{componentCls:H,motionDurationSlow:M,horizontalLineHeight:_e,colorSplit:me,lineWidth:Te,lineType:Fe,itemPaddingInline:Xe}=Ke;return{[`${H}-horizontal`]:{lineHeight:_e,border:0,borderBottom:`${(0,ue.unit)(Te)} ${Fe} ${me}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${H}-item, ${H}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Xe},[`> ${H}-item:hover,
|
|
|
> ${H}-item-active,
|
|
|
> ${H}-submenu ${H}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${H}-item, ${H}-submenu-title`]:{transition:[`border-color ${M}`,`background ${M}`].join(",")},[`${H}-submenu-arrow`]:{display:"none"}}}},ie=Ke=>{let{componentCls:H,menuArrowOffset:M,calc:_e}=Ke;return{[`${H}-rtl`]:{direction:"rtl"},[`${H}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${H}-rtl${H}-vertical,
|
|
|
${H}-submenu-rtl ${H}-vertical`]:{[`${H}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,ue.unit)(_e(M).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,ue.unit)(M)})`}}}}};const Ee=Ke=>Object.assign({},(0,he.oN)(Ke));var A=(Ke,H)=>{const{componentCls:M,itemColor:_e,itemSelectedColor:me,subMenuItemSelectedColor:Te,groupTitleColor:Fe,itemBg:Xe,subMenuItemBg:gt,itemSelectedBg:de,activeBarHeight:xe,activeBarWidth:Pt,activeBarBorderWidth:xt,motionDurationSlow:kt,motionEaseInOut:Mt,motionEaseOut:mt,itemPaddingInline:Gt,motionDurationMid:Zt,itemHoverColor:Re,lineType:pt,colorSplit:E,itemDisabledColor:D,dangerItemColor:rt,dangerItemHoverColor:te,dangerItemSelectedColor:Ae,dangerItemActiveBg:tn,dangerItemSelectedBg:Ce,popupBg:Ve,itemHoverBg:ut,itemActiveBg:ye,menuSubMenuBg:we,horizontalItemSelectedColor:tt,horizontalItemSelectedBg:et,horizontalItemBorderRadius:X,horizontalItemHoverBg:St}=Ke;return{[`${M}-${H}, ${M}-${H} > ${M}`]:{color:_e,background:Xe,[`&${M}-root:focus-visible`]:Object.assign({},Ee(Ke)),[`${M}-item`]:{"&-group-title, &-extra":{color:Fe}},[`${M}-submenu-selected > ${M}-submenu-title`]:{color:Te},[`${M}-item, ${M}-submenu-title`]:{color:_e,[`&:not(${M}-item-disabled):focus-visible`]:Object.assign({},Ee(Ke))},[`${M}-item-disabled, ${M}-submenu-disabled`]:{color:`${D} !important`},[`${M}-item:not(${M}-item-selected):not(${M}-submenu-selected)`]:{[`&:hover, > ${M}-submenu-title:hover`]:{color:Re}},[`&:not(${M}-horizontal)`]:{[`${M}-item:not(${M}-item-selected)`]:{"&:hover":{backgroundColor:ut},"&:active":{backgroundColor:ye}},[`${M}-submenu-title`]:{"&:hover":{backgroundColor:ut},"&:active":{backgroundColor:ye}}},[`${M}-item-danger`]:{color:rt,[`&${M}-item:hover`]:{[`&:not(${M}-item-selected):not(${M}-submenu-selected)`]:{color:te}},[`&${M}-item:active`]:{background:tn}},[`${M}-item a`]:{"&, &:hover":{color:"inherit"}},[`${M}-item-selected`]:{color:me,[`&${M}-item-danger`]:{color:Ae},"a, a:hover":{color:"inherit"}},[`& ${M}-item-selected`]:{backgroundColor:de,[`&${M}-item-danger`]:{backgroundColor:Ce}},[`&${M}-submenu > ${M}`]:{backgroundColor:we},[`&${M}-popup > ${M}`]:{backgroundColor:Ve},[`&${M}-submenu-popup > ${M}`]:{backgroundColor:Ve},[`&${M}-horizontal`]:Object.assign(Object.assign({},H==="dark"?{borderBottom:0}:{}),{[`> ${M}-item, > ${M}-submenu`]:{top:xt,marginTop:Ke.calc(xt).mul(-1).equal(),marginBottom:0,borderRadius:X,"&::after":{position:"absolute",insetInline:Gt,bottom:0,borderBottom:`${(0,ue.unit)(xe)} solid transparent`,transition:`border-color ${kt} ${Mt}`,content:'""'},"&:hover, &-active, &-open":{background:St,"&::after":{borderBottomWidth:xe,borderBottomColor:tt}},"&-selected":{color:tt,backgroundColor:et,"&:hover":{backgroundColor:et},"&::after":{borderBottomWidth:xe,borderBottomColor:tt}}}}),[`&${M}-root`]:{[`&${M}-inline, &${M}-vertical`]:{borderInlineEnd:`${(0,ue.unit)(xt)} ${pt} ${E}`}},[`&${M}-inline`]:{[`${M}-sub${M}-inline`]:{background:gt},[`${M}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,ue.unit)(Pt)} solid ${me}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Zt} ${mt}`,`opacity ${Zt} ${mt}`].join(","),content:'""'},[`&${M}-item-danger`]:{"&::after":{borderInlineEndColor:Ae}}},[`${M}-selected, ${M}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Zt} ${Mt}`,`opacity ${Zt} ${Mt}`].join(",")}}}}}};const fe=Ke=>{const{componentCls:H,itemHeight:M,itemMarginInline:_e,padding:me,menuArrowSize:Te,marginXS:Fe,itemMarginBlock:Xe,itemWidth:gt,itemPaddingInline:de}=Ke,xe=Ke.calc(Te).add(me).add(Fe).equal();return{[`${H}-item`]:{position:"relative",overflow:"hidden"},[`${H}-item, ${H}-submenu-title`]:{height:M,lineHeight:(0,ue.unit)(M),paddingInline:de,overflow:"hidden",textOverflow:"ellipsis",marginInline:_e,marginBlock:Xe,width:gt},[`> ${H}-item,
|
|
|
> ${H}-submenu > ${H}-submenu-title`]:{height:M,lineHeight:(0,ue.unit)(M)},[`${H}-item-group-list ${H}-submenu-title,
|
|
|
${H}-submenu-title`]:{paddingInlineEnd:xe}}};var ft=Ke=>{const{componentCls:H,iconCls:M,itemHeight:_e,colorTextLightSolid:me,dropdownWidth:Te,controlHeightLG:Fe,motionEaseOut:Xe,paddingXL:gt,itemMarginInline:de,fontSizeLG:xe,motionDurationFast:Pt,motionDurationSlow:xt,paddingXS:kt,boxShadowSecondary:Mt,collapsedWidth:mt,collapsedIconSize:Gt}=Ke,Zt={height:_e,lineHeight:(0,ue.unit)(_e),listStylePosition:"inside",listStyleType:"disc"};return[{[H]:{"&-inline, &-vertical":Object.assign({[`&${H}-root`]:{boxShadow:"none"}},fe(Ke))},[`${H}-submenu-popup`]:{[`${H}-vertical`]:Object.assign(Object.assign({},fe(Ke)),{boxShadow:Mt})}},{[`${H}-submenu-popup ${H}-vertical${H}-sub`]:{minWidth:Te,maxHeight:`calc(100vh - ${(0,ue.unit)(Ke.calc(Fe).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${H}-inline`]:{width:"100%",[`&${H}-root`]:{[`${H}-item, ${H}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${xt}`,`background ${xt}`,`padding ${Pt} ${Xe}`].join(","),[`> ${H}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${H}-sub${H}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${H}-submenu > ${H}-submenu-title`]:Zt,[`& ${H}-item-group-title`]:{paddingInlineStart:gt}},[`${H}-item`]:Zt}},{[`${H}-inline-collapsed`]:{width:mt,[`&${H}-root`]:{[`${H}-item, ${H}-submenu ${H}-submenu-title`]:{[`> ${H}-inline-collapsed-noicon`]:{fontSize:xe,textAlign:"center"}}},[`> ${H}-item,
|
|
|
> ${H}-item-group > ${H}-item-group-list > ${H}-item,
|
|
|
> ${H}-item-group > ${H}-item-group-list > ${H}-submenu > ${H}-submenu-title,
|
|
|
> ${H}-submenu > ${H}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,ue.unit)(Ke.calc(Gt).div(2).equal())} - ${(0,ue.unit)(de)})`,textOverflow:"clip",[`
|
|
|
${H}-submenu-arrow,
|
|
|
${H}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${H}-item-icon, ${M}`]:{margin:0,fontSize:Gt,lineHeight:(0,ue.unit)(_e),"+ span":{display:"inline-block",opacity:0}}},[`${H}-item-icon, ${M}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${H}-item-icon, ${M}`]:{display:"none"},"a, a:hover":{color:me}},[`${H}-item-group-title`]:Object.assign(Object.assign({},he.vS),{paddingInline:kt})}}]};const At=Ke=>{const{componentCls:H,motionDurationSlow:M,motionDurationMid:_e,motionEaseInOut:me,motionEaseOut:Te,iconCls:Fe,iconSize:Xe,iconMarginInlineEnd:gt}=Ke;return{[`${H}-item, ${H}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${M}`,`background ${M}`,`padding calc(${M} + 0.1s) ${me}`].join(","),[`${H}-item-icon, ${Fe}`]:{minWidth:Xe,fontSize:Xe,transition:[`font-size ${_e} ${Te}`,`margin ${M} ${me}`,`color ${M}`].join(","),"+ span":{marginInlineStart:gt,opacity:1,transition:[`opacity ${M} ${me}`,`margin ${M}`,`color ${M}`].join(",")}},[`${H}-item-icon`]:Object.assign({},(0,he.Ro)()),[`&${H}-item-only-child`]:{[`> ${Fe}, > ${H}-item-icon`]:{marginInlineEnd:0}}},[`${H}-item-disabled, ${H}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${H}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Ie=Ke=>{const{componentCls:H,motionDurationSlow:M,motionEaseInOut:_e,borderRadius:me,menuArrowSize:Te,menuArrowOffset:Fe}=Ke;return{[`${H}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ke.margin,width:Te,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${M} ${_e}, opacity ${M}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ke.calc(Te).mul(.6).equal(),height:Ke.calc(Te).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:me,transition:[`background ${M} ${_e}`,`transform ${M} ${_e}`,`top ${M} ${_e}`,`color ${M} ${_e}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,ue.unit)(Ke.calc(Fe).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,ue.unit)(Fe)})`}}}}},it=Ke=>{const{antCls:H,componentCls:M,fontSize:_e,motionDurationSlow:me,motionDurationMid:Te,motionEaseInOut:Fe,paddingXS:Xe,padding:gt,colorSplit:de,lineWidth:xe,zIndexPopup:Pt,borderRadiusLG:xt,subMenuItemBorderRadius:kt,menuArrowSize:Mt,menuArrowOffset:mt,lineType:Gt,groupTitleLineHeight:Zt,groupTitleFontSize:Re}=Ke;return[{"":{[M]:Object.assign(Object.assign({},(0,he.dF)()),{"&-hidden":{display:"none"}})},[`${M}-submenu-hidden`]:{display:"none"}},{[M]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,he.Wf)(Ke)),(0,he.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:_e,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${me} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${M}-item`]:{flex:"none"}},[`${M}-item, ${M}-submenu, ${M}-submenu-title`]:{borderRadius:Ke.itemBorderRadius},[`${M}-item-group-title`]:{padding:`${(0,ue.unit)(Xe)} ${(0,ue.unit)(gt)}`,fontSize:Re,lineHeight:Zt,transition:`all ${me}`},[`&-horizontal ${M}-submenu`]:{transition:[`border-color ${me} ${Fe}`,`background ${me} ${Fe}`].join(",")},[`${M}-submenu, ${M}-submenu-inline`]:{transition:[`border-color ${me} ${Fe}`,`background ${me} ${Fe}`,`padding ${Te} ${Fe}`].join(",")},[`${M}-submenu ${M}-sub`]:{cursor:"initial",transition:[`background ${me} ${Fe}`,`padding ${me} ${Fe}`].join(",")},[`${M}-title-content`]:{transition:`color ${me}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${H}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${M}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:Ke.padding}},[`${M}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${M}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:de,borderStyle:Gt,borderWidth:0,borderTopWidth:xe,marginBlock:xe,padding:0,"&-dashed":{borderStyle:"dashed"}}}),At(Ke)),{[`${M}-item-group`]:{[`${M}-item-group-list`]:{margin:0,padding:0,[`${M}-item, ${M}-submenu-title`]:{paddingInline:`${(0,ue.unit)(Ke.calc(_e).mul(2).equal())} ${(0,ue.unit)(gt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Pt,borderRadius:xt,boxShadow:"none",transformOrigin:"0 0",[`&${M}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${M}`]:Object.assign(Object.assign(Object.assign({borderRadius:xt},At(Ke)),Ie(Ke)),{[`${M}-item, ${M}-submenu > ${M}-submenu-title`]:{borderRadius:kt},[`${M}-submenu-title::after`]:{transition:`transform ${me} ${Fe}`}})},"\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:Ke.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ke.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ke.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ke.paddingXS}}}),Ie(Ke)),{[`&-inline-collapsed ${M}-submenu-arrow,
|
|
|
&-inline ${M}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,ue.unit)(mt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,ue.unit)(Ke.calc(mt).mul(-1).equal())})`}},[`${M}-submenu-open${M}-submenu-inline > ${M}-submenu-title > ${M}-submenu-arrow`]:{transform:`translateY(${(0,ue.unit)(Ke.calc(Mt).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,ue.unit)(Ke.calc(mt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,ue.unit)(mt)})`}}})},{[`${H}-layout-header`]:{[M]:{lineHeight:"inherit"}}}]},ht=Ke=>{var H,M,_e;const{colorPrimary:me,colorError:Te,colorTextDisabled:Fe,colorErrorBg:Xe,colorText:gt,colorTextDescription:de,colorBgContainer:xe,colorFillAlter:Pt,colorFillContent:xt,lineWidth:kt,lineWidthBold:Mt,controlItemBgActive:mt,colorBgTextHover:Gt,controlHeightLG:Zt,lineHeight:Re,colorBgElevated:pt,marginXXS:E,padding:D,fontSize:rt,controlHeightSM:te,fontSizeLG:Ae,colorTextLightSolid:tn,colorErrorHover:Ce}=Ke,Ve=(H=Ke.activeBarWidth)!==null&&H!==void 0?H:0,ut=(M=Ke.activeBarBorderWidth)!==null&&M!==void 0?M:kt,ye=(_e=Ke.itemMarginInline)!==null&&_e!==void 0?_e:Ke.marginXXS,we=new be.FastColor(tn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Ke.zIndexPopupBase+50,radiusItem:Ke.borderRadiusLG,itemBorderRadius:Ke.borderRadiusLG,radiusSubMenuItem:Ke.borderRadiusSM,subMenuItemBorderRadius:Ke.borderRadiusSM,colorItemText:gt,itemColor:gt,colorItemTextHover:gt,itemHoverColor:gt,colorItemTextHoverHorizontal:me,horizontalItemHoverColor:me,colorGroupTitle:de,groupTitleColor:de,colorItemTextSelected:me,itemSelectedColor:me,subMenuItemSelectedColor:me,colorItemTextSelectedHorizontal:me,horizontalItemSelectedColor:me,colorItemBg:xe,itemBg:xe,colorItemBgHover:Gt,itemHoverBg:Gt,colorItemBgActive:xt,itemActiveBg:mt,colorSubItemBg:Pt,subMenuItemBg:Pt,colorItemBgSelected:mt,itemSelectedBg:mt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Ve,colorActiveBarHeight:Mt,activeBarHeight:Mt,colorActiveBarBorderSize:kt,activeBarBorderWidth:ut,colorItemTextDisabled:Fe,itemDisabledColor:Fe,colorDangerItemText:Te,dangerItemColor:Te,colorDangerItemTextHover:Te,dangerItemHoverColor:Te,colorDangerItemTextSelected:Te,dangerItemSelectedColor:Te,colorDangerItemBgActive:Xe,dangerItemActiveBg:Xe,colorDangerItemBgSelected:Xe,dangerItemSelectedBg:Xe,itemMarginInline:ye,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Zt,groupTitleLineHeight:Re,collapsedWidth:Zt*2,popupBg:pt,itemMarginBlock:E,itemPaddingInline:D,horizontalLineHeight:`${Zt*1.15}px`,iconSize:rt,iconMarginInlineEnd:te-rt,collapsedIconSize:Ae,groupTitleFontSize:rt,darkItemDisabledColor:new be.FastColor(tn).setA(.25).toRgbString(),darkItemColor:we,darkDangerItemColor:Te,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:tn,darkItemSelectedBg:me,darkDangerItemSelectedBg:Te,darkItemHoverBg:"transparent",darkGroupTitleColor:we,darkItemHoverColor:tn,darkDangerItemHoverColor:Ce,darkDangerItemSelectedColor:tn,darkDangerItemActiveBg:Te,itemWidth:Ve?`calc(100% + ${ut}px)`:`calc(100% - ${ye*2}px)`}};var Tt=function(Ke){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ke,M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Ze.I$)("Menu",me=>{const{colorBgElevated:Te,controlHeightLG:Fe,fontSize:Xe,darkItemColor:gt,darkDangerItemColor:de,darkItemBg:xe,darkSubMenuItemBg:Pt,darkItemSelectedColor:xt,darkItemSelectedBg:kt,darkDangerItemSelectedBg:Mt,darkItemHoverBg:mt,darkGroupTitleColor:Gt,darkItemHoverColor:Zt,darkItemDisabledColor:Re,darkDangerItemHoverColor:pt,darkDangerItemSelectedColor:E,darkDangerItemActiveBg:D,popupBg:rt,darkPopupBg:te}=me,Ae=me.calc(Xe).div(7).mul(5).equal(),tn=(0,se.mergeToken)(me,{menuArrowSize:Ae,menuHorizontalHeight:me.calc(Fe).mul(1.15).equal(),menuArrowOffset:me.calc(Ae).mul(.25).equal(),menuSubMenuBg:Te,calc:me.calc,popupBg:rt}),Ce=(0,se.mergeToken)(tn,{itemColor:gt,itemHoverColor:Zt,groupTitleColor:Gt,itemSelectedColor:xt,subMenuItemSelectedColor:xt,itemBg:xe,popupBg:te,subMenuItemBg:Pt,itemActiveBg:"transparent",itemSelectedBg:kt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:mt,itemDisabledColor:Re,dangerItemColor:de,dangerItemHoverColor:pt,dangerItemSelectedColor:E,dangerItemActiveBg:D,dangerItemSelectedBg:Mt,menuSubMenuBg:Pt,horizontalItemSelectedColor:xt,horizontalItemSelectedBg:kt});return[it(tn),I(tn),ft(tn),A(tn,"light"),A(Ce,"dark"),ie(tn),(0,Ue.Z)(tn),(0,Qe.oN)(tn,"slide-up"),(0,Qe.oN)(tn,"slide-down"),(0,ke._y)(tn,"zoom-big")]},ht,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:M,unitless:{groupTitleLineHeight:!0}})(Ke,H)},ze=u(75030),yt=Ke=>{var H;const{popupClassName:M,icon:_e,title:me,theme:Te}=Ke,Fe=i.useContext(w),{prefixCls:Xe,inlineCollapsed:gt,theme:de}=Fe,xe=(0,U.Xl)();let Pt;if(!_e)Pt=gt&&!xe.length&&me&&typeof me=="string"?i.createElement("div",{className:`${Xe}-inline-collapsed-noicon`},me.charAt(0)):i.createElement("span",{className:`${Xe}-title-content`},me);else{const Mt=i.isValidElement(me)&&me.type==="span";Pt=i.createElement(i.Fragment,null,(0,y.Tm)(_e,{className:g()(i.isValidElement(_e)?(H=_e.props)===null||H===void 0?void 0:H.className:"",`${Xe}-item-icon`)}),Mt?me:i.createElement("span",{className:`${Xe}-title-content`},me))}const xt=i.useMemo(()=>Object.assign(Object.assign({},Fe),{firstLevel:!1}),[Fe]),[kt]=(0,ze.Cn)("Menu");return i.createElement(w.Provider,{value:xt},i.createElement(U.Wd,Object.assign({},(0,K.Z)(Ke,["icon"]),{title:Pt,popupClassName:g()(Xe,M,`${Xe}-${Te||de}`),popupStyle:Object.assign({zIndex:kt},Ke.popupStyle)})))},cn=function(Ke,H){var M={};for(var _e in Ke)Object.prototype.hasOwnProperty.call(Ke,_e)&&H.indexOf(_e)<0&&(M[_e]=Ke[_e]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,_e=Object.getOwnPropertySymbols(Ke);me<_e.length;me++)H.indexOf(_e[me])<0&&Object.prototype.propertyIsEnumerable.call(Ke,_e[me])&&(M[_e[me]]=Ke[_e[me]]);return M};function Je(Ke){return Ke===null||Ke===!1}const bt={item:O,submenu:yt,divider:Y};var Ne=(0,i.forwardRef)((Ke,H)=>{var M;const _e=i.useContext(T.Z),me=_e||{},{getPrefixCls:Te,getPopupContainer:Fe,direction:Xe,menu:gt}=i.useContext(P.E_),de=Te(),{prefixCls:xe,className:Pt,style:xt,theme:kt="light",expandIcon:Mt,_internalDisableMenuItemTitleTooltip:mt,inlineCollapsed:Gt,siderCollapsed:Zt,rootClassName:Re,mode:pt,selectable:E,onClick:D,overflowedIndicatorPopupClassName:rt}=Ke,te=cn(Ke,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ae=(0,K.Z)(te,["collapsedWidth"]);(M=me.validator)===null||M===void 0||M.call(me,{mode:pt});const tn=(0,V.Z)(function(){var Rt;D==null||D.apply(void 0,arguments),(Rt=me.onClick)===null||Rt===void 0||Rt.call(me)}),Ce=me.mode||pt,Ve=E!=null?E:me.selectable,ut=Gt!=null?Gt:Zt,ye={horizontal:{motionName:`${de}-slide-up`},inline:(0,l.Z)(de),other:{motionName:`${de}-zoom-big`}},we=Te("menu",xe||me.prefixCls),tt=(0,b.Z)(we),[et,X,St]=Tt(we,tt,!_e),Se=g()(`${we}-${kt}`,gt==null?void 0:gt.className,Pt),Wt=i.useMemo(()=>{var Rt,le;if(typeof Mt=="function"||Je(Mt))return Mt||null;if(typeof me.expandIcon=="function"||Je(me.expandIcon))return me.expandIcon||null;if(typeof(gt==null?void 0:gt.expandIcon)=="function"||Je(gt==null?void 0:gt.expandIcon))return(gt==null?void 0:gt.expandIcon)||null;const ae=(Rt=Mt!=null?Mt:me==null?void 0:me.expandIcon)!==null&&Rt!==void 0?Rt:gt==null?void 0:gt.expandIcon;return(0,y.Tm)(ae,{className:g()(`${we}-submenu-expand-icon`,i.isValidElement(ae)?(le=ae.props)===null||le===void 0?void 0:le.className:void 0)})},[Mt,me==null?void 0:me.expandIcon,gt==null?void 0:gt.expandIcon,we]),Kt=i.useMemo(()=>({prefixCls:we,inlineCollapsed:ut||!1,direction:Xe,firstLevel:!0,theme:kt,mode:Ce,disableMenuItemTitleTooltip:mt}),[we,ut,Xe,mt,kt]);return et(i.createElement(T.Z.Provider,{value:null},i.createElement(w.Provider,{value:Kt},i.createElement(U.ZP,Object.assign({getPopupContainer:Fe,overflowedIndicator:i.createElement(ce.Z,null),overflowedIndicatorPopupClassName:g()(we,`${we}-${kt}`,rt),mode:Ce,selectable:Ve,onClick:tn},Ae,{inlineCollapsed:ut,style:Object.assign(Object.assign({},gt==null?void 0:gt.style),xt),className:Se,prefixCls:we,direction:Xe,defaultMotions:ye,expandIcon:Wt,ref:H,rootClassName:g()(Re,X,me.rootClassName,St,tt),_internalComponents:bt})))))});const ne=(0,i.forwardRef)((Ke,H)=>{const M=(0,i.useRef)(null),_e=i.useContext(L.D);return(0,i.useImperativeHandle)(H,()=>({menu:M.current,focus:me=>{var Te;(Te=M.current)===null||Te===void 0||Te.focus(me)}})),i.createElement(Ne,Object.assign({ref:M},Ke,_e))});ne.Item=O,ne.SubMenu=yt,ne.Divider=Y,ne.ItemGroup=U.BW;var lt=ne},31709:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return gt}});var i=u(59301),U=u(54476),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},ce=L,j=u(7657),g=function(xe,Pt){return i.createElement(j.Z,(0,U.Z)({},xe,{ref:Pt,icon:ce}))},V=i.forwardRef(g),K=V,l=u(49198),y=u(33853),P=u(38819),b=u(92310),C=u.n(b),w=u(20068),z=u(76190),W=u(33885),Y=u(42978),$=u(18929),R=u(10228),G=u(26112),O=u(48736),T=u(17119),ue=[10,20,50,100],be=function(xe){var Pt=xe.pageSizeOptions,xt=Pt===void 0?ue:Pt,kt=xe.locale,Mt=xe.changeSize,mt=xe.pageSize,Gt=xe.goButton,Zt=xe.quickGo,Re=xe.rootPrefixCls,pt=xe.disabled,E=xe.buildOptionText,D=xe.showSizeChanger,rt=xe.sizeChangerRender,te=i.useState(""),Ae=(0,Y.Z)(te,2),tn=Ae[0],Ce=Ae[1],Ve=function(){return!tn||Number.isNaN(tn)?void 0:Number(tn)},ut=typeof E=="function"?E:function(Kt){return"".concat(Kt," ").concat(kt.items_per_page)},ye=function(Rt){Ce(Rt.target.value)},we=function(Rt){Gt||tn===""||(Ce(""),!(Rt.relatedTarget&&(Rt.relatedTarget.className.indexOf("".concat(Re,"-item-link"))>=0||Rt.relatedTarget.className.indexOf("".concat(Re,"-item"))>=0))&&(Zt==null||Zt(Ve())))},tt=function(Rt){tn!==""&&(Rt.keyCode===R.Z.ENTER||Rt.type==="click")&&(Ce(""),Zt==null||Zt(Ve()))},et=function(){return xt.some(function(Rt){return Rt.toString()===mt.toString()})?xt:xt.concat([mt]).sort(function(Rt,le){var ae=Number.isNaN(Number(Rt))?0:Number(Rt),N=Number.isNaN(Number(le))?0:Number(le);return ae-N})},X="".concat(Re,"-options");if(!D&&!Zt)return null;var St=null,Se=null,Wt=null;return D&&rt&&(St=rt({disabled:pt,size:mt,onSizeChange:function(Rt){Mt==null||Mt(Number(Rt))},"aria-label":kt.page_size,className:"".concat(X,"-size-changer"),options:et().map(function(Kt){return{label:ut(Kt),value:Kt}})})),Zt&&(Gt&&(Wt=typeof Gt=="boolean"?i.createElement("button",{type:"button",onClick:tt,onKeyUp:tt,disabled:pt,className:"".concat(X,"-quick-jumper-button")},kt.jump_to_confirm):i.createElement("span",{onClick:tt,onKeyUp:tt},Gt)),Se=i.createElement("div",{className:"".concat(X,"-quick-jumper")},kt.jump_to,i.createElement("input",{disabled:pt,type:"text",value:tn,onChange:ye,onKeyUp:tt,onBlur:we,"aria-label":kt.page}),kt.page,Wt)),i.createElement("li",{className:X},St,Se)},he=be,Ue=function(xe){var Pt=xe.rootPrefixCls,xt=xe.page,kt=xe.active,Mt=xe.className,mt=xe.showTitle,Gt=xe.onClick,Zt=xe.onKeyPress,Re=xe.itemRender,pt="".concat(Pt,"-item"),E=C()(pt,"".concat(pt,"-").concat(xt),(0,w.Z)((0,w.Z)({},"".concat(pt,"-active"),kt),"".concat(pt,"-disabled"),!xt),Mt),D=function(){Gt(xt)},rt=function(tn){Zt(tn,Gt,xt)},te=Re(xt,"page",i.createElement("a",{rel:"nofollow"},xt));return te?i.createElement("li",{title:mt?String(xt):null,className:E,onClick:D,onKeyDown:rt,tabIndex:0},te):null},Qe=Ue,ke=function(xe,Pt,xt){return xt};function Ze(){}function se(de){var xe=Number(de);return typeof xe=="number"&&!Number.isNaN(xe)&&isFinite(xe)&&Math.floor(xe)===xe}function k(de,xe,Pt){var xt=typeof de=="undefined"?xe:de;return Math.floor((Pt-1)/xt)+1}var I=function(xe){var Pt=xe.prefixCls,xt=Pt===void 0?"rc-pagination":Pt,kt=xe.selectPrefixCls,Mt=kt===void 0?"rc-select":kt,mt=xe.className,Gt=xe.current,Zt=xe.defaultCurrent,Re=Zt===void 0?1:Zt,pt=xe.total,E=pt===void 0?0:pt,D=xe.pageSize,rt=xe.defaultPageSize,te=rt===void 0?10:rt,Ae=xe.onChange,tn=Ae===void 0?Ze:Ae,Ce=xe.hideOnSinglePage,Ve=xe.align,ut=xe.showPrevNextJumpers,ye=ut===void 0?!0:ut,we=xe.showQuickJumper,tt=xe.showLessItems,et=xe.showTitle,X=et===void 0?!0:et,St=xe.onShowSizeChange,Se=St===void 0?Ze:St,Wt=xe.locale,Kt=Wt===void 0?T.Z:Wt,Rt=xe.style,le=xe.totalBoundaryShowSizeChanger,ae=le===void 0?50:le,N=xe.disabled,_t=xe.simple,dt=xe.showTotal,nt=xe.showSizeChanger,Ft=nt===void 0?E>ae:nt,Ot=xe.sizeChangerRender,zt=xe.pageSizeOptions,J=xe.itemRender,pe=J===void 0?ke:J,It=xe.jumpPrevIcon,Pe=xe.jumpNextIcon,Le=xe.prevIcon,re=xe.nextIcon,De=i.useRef(null),$e=(0,$.Z)(10,{value:D,defaultValue:te}),je=(0,Y.Z)($e,2),st=je[0],qt=je[1],ln=(0,$.Z)(1,{value:Gt,defaultValue:Re,postState:function(cr){return Math.max(1,Math.min(cr,k(void 0,st,E)))}}),Oe=(0,Y.Z)(ln,2),ot=Oe[0],wt=Oe[1],Qt=i.useState(ot),Xt=(0,Y.Z)(Qt,2),Ye=Xt[0],ct=Xt[1];(0,i.useEffect)(function(){ct(ot)},[ot]);var Nt=tn!==Ze,Bt="current"in xe,Ht=Math.max(1,ot-(tt?3:5)),vt=Math.min(k(void 0,st,E),ot+(tt?3:5));function an(Ar,cr){var hi=Ar||i.createElement("button",{type:"button","aria-label":cr,className:"".concat(xt,"-item-link")});return typeof Ar=="function"&&(hi=i.createElement(Ar,(0,W.Z)({},xe))),hi}function sn(Ar){var cr=Ar.target.value,hi=k(void 0,st,E),ar;return cr===""?ar=cr:Number.isNaN(Number(cr))?ar=Ye:cr>=hi?ar=hi:ar=Number(cr),ar}function gn(Ar){return se(Ar)&&Ar!==ot&&se(E)&&E>0}var bn=E>st?we:!1;function In(Ar){(Ar.keyCode===R.Z.UP||Ar.keyCode===R.Z.DOWN)&&Ar.preventDefault()}function wn(Ar){var cr=sn(Ar);switch(cr!==Ye&&ct(cr),Ar.keyCode){case R.Z.ENTER:Mn(cr);break;case R.Z.UP:Mn(cr-1);break;case R.Z.DOWN:Mn(cr+1);break;default:break}}function An(Ar){Mn(sn(Ar))}function Fn(Ar){var cr=k(Ar,st,E),hi=ot>cr&&cr!==0?cr:ot;qt(Ar),ct(hi),Se==null||Se(ot,Ar),wt(hi),tn==null||tn(hi,Ar)}function Mn(Ar){if(gn(Ar)&&!N){var cr=k(void 0,st,E),hi=Ar;return Ar>cr?hi=cr:Ar<1&&(hi=1),hi!==Ye&&ct(hi),wt(hi),tn==null||tn(hi,st),hi}return ot}var rr=ot>1,Rn=ot<k(void 0,st,E);function jn(){rr&&Mn(ot-1)}function Yn(){Rn&&Mn(ot+1)}function er(){Mn(Ht)}function qn(){Mn(vt)}function Kn(Ar,cr){if(Ar.key==="Enter"||Ar.charCode===R.Z.ENTER||Ar.keyCode===R.Z.ENTER){for(var hi=arguments.length,ar=new Array(hi>2?hi-2:0),_i=2;_i<hi;_i++)ar[_i-2]=arguments[_i];cr.apply(void 0,ar)}}function Ln(Ar){Kn(Ar,jn)}function zn(Ar){Kn(Ar,Yn)}function hr(Ar){Kn(Ar,er)}function rn(Ar){Kn(Ar,qn)}function nn(Ar){var cr=pe(Ar,"prev",an(Le,"prev page"));return i.isValidElement(cr)?i.cloneElement(cr,{disabled:!rr}):cr}function pn(Ar){var cr=pe(Ar,"next",an(re,"next page"));return i.isValidElement(cr)?i.cloneElement(cr,{disabled:!Rn}):cr}function or(Ar){(Ar.type==="click"||Ar.keyCode===R.Z.ENTER)&&Mn(Ye)}var tr=null,ur=(0,G.Z)(xe,{aria:!0,data:!0}),lr=dt&&i.createElement("li",{className:"".concat(xt,"-total-text")},dt(E,[E===0?0:(ot-1)*st+1,ot*st>E?E:ot*st])),Un=null,fn=k(void 0,st,E);if(Ce&&E<=st)return null;var dn=[],xn={rootPrefixCls:xt,onClick:Mn,onKeyPress:Kn,showTitle:X,itemRender:pe,page:-1},Gn=ot-1>0?ot-1:0,Xn=ot+1<fn?ot+1:fn,gr=we&&we.goButton,Er=(0,z.Z)(_t)==="object"?_t.readOnly:!_t,Zn=gr,Cr=null;_t&&(gr&&(typeof gr=="boolean"?Zn=i.createElement("button",{type:"button",onClick:or,onKeyUp:or},Kt.jump_to_confirm):Zn=i.createElement("span",{onClick:or,onKeyUp:or},gr),Zn=i.createElement("li",{title:X?"".concat(Kt.jump_to).concat(ot,"/").concat(fn):null,className:"".concat(xt,"-simple-pager")},Zn)),Cr=i.createElement("li",{title:X?"".concat(ot,"/").concat(fn):null,className:"".concat(xt,"-simple-pager")},Er?Ye:i.createElement("input",{type:"text","aria-label":Kt.jump_to,value:Ye,disabled:N,onKeyDown:In,onKeyUp:wn,onChange:wn,onBlur:An,size:3}),i.createElement("span",{className:"".concat(xt,"-slash")},"/"),fn));var wr=tt?1:2;if(fn<=3+wr*2){fn||dn.push(i.createElement(Qe,(0,U.Z)({},xn,{key:"noPager",page:1,className:"".concat(xt,"-item-disabled")})));for(var Kr=1;Kr<=fn;Kr+=1)dn.push(i.createElement(Qe,(0,U.Z)({},xn,{key:Kr,page:Kr,active:ot===Kr})))}else{var Fr=tt?Kt.prev_3:Kt.prev_5,Lr=tt?Kt.next_3:Kt.next_5,Sr=pe(Ht,"jump-prev",an(It,"prev page")),Zr=pe(vt,"jump-next",an(Pe,"next page"));ye&&(tr=Sr?i.createElement("li",{title:X?Fr:null,key:"prev",onClick:er,tabIndex:0,onKeyDown:hr,className:C()("".concat(xt,"-jump-prev"),(0,w.Z)({},"".concat(xt,"-jump-prev-custom-icon"),!!It))},Sr):null,Un=Zr?i.createElement("li",{title:X?Lr:null,key:"next",onClick:qn,tabIndex:0,onKeyDown:rn,className:C()("".concat(xt,"-jump-next"),(0,w.Z)({},"".concat(xt,"-jump-next-custom-icon"),!!Pe))},Zr):null);var _r=Math.max(1,ot-wr),Xr=Math.min(ot+wr,fn);ot-1<=wr&&(Xr=1+wr*2),fn-ot<=wr&&(_r=fn-wr*2);for(var Ir=_r;Ir<=Xr;Ir+=1)dn.push(i.createElement(Qe,(0,U.Z)({},xn,{key:Ir,page:Ir,active:ot===Ir})));if(ot-1>=wr*2&&ot!==3&&(dn[0]=i.cloneElement(dn[0],{className:C()("".concat(xt,"-item-after-jump-prev"),dn[0].props.className)}),dn.unshift(tr)),fn-ot>=wr*2&&ot!==fn-2){var Or=dn[dn.length-1];dn[dn.length-1]=i.cloneElement(Or,{className:C()("".concat(xt,"-item-before-jump-next"),Or.props.className)}),dn.push(Un)}_r!==1&&dn.unshift(i.createElement(Qe,(0,U.Z)({},xn,{key:1,page:1}))),Xr!==fn&&dn.push(i.createElement(Qe,(0,U.Z)({},xn,{key:fn,page:fn})))}var Nr=nn(Gn);if(Nr){var on=!rr||!fn;Nr=i.createElement("li",{title:X?Kt.prev_page:null,onClick:jn,tabIndex:on?null:0,onKeyDown:Ln,className:C()("".concat(xt,"-prev"),(0,w.Z)({},"".concat(xt,"-disabled"),on)),"aria-disabled":on},Nr)}var En=pn(Xn);if(En){var br,Dr;_t?(br=!Rn,Dr=rr?0:null):(br=!Rn||!fn,Dr=br?null:0),En=i.createElement("li",{title:X?Kt.next_page:null,onClick:Yn,tabIndex:Dr,onKeyDown:zn,className:C()("".concat(xt,"-next"),(0,w.Z)({},"".concat(xt,"-disabled"),br)),"aria-disabled":br},En)}var Qr=C()(xt,mt,(0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)({},"".concat(xt,"-start"),Ve==="start"),"".concat(xt,"-center"),Ve==="center"),"".concat(xt,"-end"),Ve==="end"),"".concat(xt,"-simple"),_t),"".concat(xt,"-disabled"),N));return i.createElement("ul",(0,U.Z)({className:Qr,style:Rt,ref:De},ur),lr,Nr,_t?Cr:dn,En,i.createElement(he,{locale:Kt,rootPrefixCls:xt,disabled:N,selectPrefixCls:Mt,changeSize:Fn,pageSize:st,pageSizeOptions:zt,quickGo:bn?Mn:null,goButton:Zn,showSizeChanger:Ft,sizeChangerRender:Ot}))},oe=I,ie=u(61852),Ee=u(48755),_=u(31756),A=u(13783),fe=u(9017),Be=u(82326),ft=u(57700),At=u(36237),Ie=u(53075),it=u(64910),ht=u(39082),Tt=u(63356),ze=u(51636),Jt=u(16931);const yt=de=>{const{componentCls:xe}=de;return{[`${xe}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${xe}-item-link`]:{color:de.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${xe}-item-link`]:{color:de.colorTextDisabled,cursor:"not-allowed"}}},[`&${xe}-disabled`]:{cursor:"not-allowed",[`${xe}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:de.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:de.colorBorder,backgroundColor:de.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:de.itemActiveBgDisabled},a:{color:de.itemActiveColorDisabled}}},[`${xe}-item-link`]:{color:de.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${xe}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${xe}-simple-pager`]:{color:de.colorTextDisabled},[`${xe}-jump-prev, ${xe}-jump-next`]:{[`${xe}-item-link-icon`]:{opacity:0},[`${xe}-item-ellipsis`]:{opacity:1}}},[`&${xe}-simple`]:{[`${xe}-prev, ${xe}-next`]:{[`&${xe}-disabled ${xe}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},cn=de=>{const{componentCls:xe}=de;return{[`&${xe}-mini ${xe}-total-text, &${xe}-mini ${xe}-simple-pager`]:{height:de.itemSizeSM,lineHeight:(0,At.unit)(de.itemSizeSM)},[`&${xe}-mini ${xe}-item`]:{minWidth:de.itemSizeSM,height:de.itemSizeSM,margin:0,lineHeight:(0,At.unit)(de.calc(de.itemSizeSM).sub(2).equal())},[`&${xe}-mini ${xe}-prev, &${xe}-mini ${xe}-next`]:{minWidth:de.itemSizeSM,height:de.itemSizeSM,margin:0,lineHeight:(0,At.unit)(de.itemSizeSM)},[`&${xe}-mini:not(${xe}-disabled)`]:{[`${xe}-prev, ${xe}-next`]:{[`&:hover ${xe}-item-link`]:{backgroundColor:de.colorBgTextHover},[`&:active ${xe}-item-link`]:{backgroundColor:de.colorBgTextActive},[`&${xe}-disabled:hover ${xe}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${xe}-mini ${xe}-prev ${xe}-item-link,
|
|
|
&${xe}-mini ${xe}-next ${xe}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:de.itemSizeSM,lineHeight:(0,At.unit)(de.itemSizeSM)}},[`&${xe}-mini ${xe}-jump-prev, &${xe}-mini ${xe}-jump-next`]:{height:de.itemSizeSM,marginInlineEnd:0,lineHeight:(0,At.unit)(de.itemSizeSM)},[`&${xe}-mini ${xe}-options`]:{marginInlineStart:de.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:de.miniOptionsSizeChangerTop},"&-quick-jumper":{height:de.itemSizeSM,lineHeight:(0,At.unit)(de.itemSizeSM),input:Object.assign(Object.assign({},(0,Ie.x0)(de)),{width:de.paginationMiniQuickJumperInputWidth,height:de.controlHeightSM})}}}},Je=de=>{const{componentCls:xe}=de;return{[`
|
|
|
&${xe}-simple ${xe}-prev,
|
|
|
&${xe}-simple ${xe}-next
|
|
|
`]:{height:de.itemSizeSM,lineHeight:(0,At.unit)(de.itemSizeSM),verticalAlign:"top",[`${xe}-item-link`]:{height:de.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:de.colorBgTextHover},"&:active":{backgroundColor:de.colorBgTextActive},"&::after":{height:de.itemSizeSM,lineHeight:(0,At.unit)(de.itemSizeSM)}}},[`&${xe}-simple ${xe}-simple-pager`]:{display:"inline-block",height:de.itemSizeSM,marginInlineEnd:de.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,At.unit)(de.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:de.itemInputBg,border:`${(0,At.unit)(de.lineWidth)} ${de.lineType} ${de.colorBorder}`,borderRadius:de.borderRadius,outline:"none",transition:`border-color ${de.motionDurationMid}`,color:"inherit","&:hover":{borderColor:de.colorPrimary},"&:focus":{borderColor:de.colorPrimaryHover,boxShadow:`${(0,At.unit)(de.inputOutlineOffset)} 0 ${(0,At.unit)(de.controlOutlineWidth)} ${de.controlOutline}`},"&[disabled]":{color:de.colorTextDisabled,backgroundColor:de.colorBgContainerDisabled,borderColor:de.colorBorder,cursor:"not-allowed"}}}}},bt=de=>{const{componentCls:xe}=de;return{[`${xe}-jump-prev, ${xe}-jump-next`]:{outline:0,[`${xe}-item-container`]:{position:"relative",[`${xe}-item-link-icon`]:{color:de.colorPrimary,fontSize:de.fontSizeSM,opacity:0,transition:`all ${de.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${xe}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:de.colorTextDisabled,letterSpacing:de.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:de.paginationEllipsisTextIndent,opacity:1,transition:`all ${de.motionDurationMid}`}},"&:hover":{[`${xe}-item-link-icon`]:{opacity:1},[`${xe}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${xe}-prev,
|
|
|
${xe}-jump-prev,
|
|
|
${xe}-jump-next
|
|
|
`]:{marginInlineEnd:de.marginXS},[`
|
|
|
${xe}-prev,
|
|
|
${xe}-next,
|
|
|
${xe}-jump-prev,
|
|
|
${xe}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:de.itemSize,height:de.itemSize,color:de.colorText,fontFamily:de.fontFamily,lineHeight:(0,At.unit)(de.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:de.borderRadius,cursor:"pointer",transition:`all ${de.motionDurationMid}`},[`${xe}-prev, ${xe}-next`]:{outline:0,button:{color:de.colorText,cursor:"pointer",userSelect:"none"},[`${xe}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:de.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,At.unit)(de.lineWidth)} ${de.lineType} transparent`,borderRadius:de.borderRadius,outline:"none",transition:`all ${de.motionDurationMid}`},[`&:hover ${xe}-item-link`]:{backgroundColor:de.colorBgTextHover},[`&:active ${xe}-item-link`]:{backgroundColor:de.colorBgTextActive},[`&${xe}-disabled:hover`]:{[`${xe}-item-link`]:{backgroundColor:"transparent"}}},[`${xe}-slash`]:{marginInlineEnd:de.paginationSlashMarginInlineEnd,marginInlineStart:de.paginationSlashMarginInlineStart},[`${xe}-options`]:{display:"inline-block",marginInlineStart:de.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:de.controlHeight,marginInlineStart:de.marginXS,lineHeight:(0,At.unit)(de.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,Ie.ik)(de)),(0,ht.$U)(de,{borderColor:de.colorBorder,hoverBorderColor:de.colorPrimaryHover,activeBorderColor:de.colorPrimary,activeShadow:de.activeShadow})),{"&[disabled]":Object.assign({},(0,ht.Xy)(de)),width:de.calc(de.controlHeightLG).mul(1.25).equal(),height:de.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:de.marginXS,marginInlineEnd:de.marginXS})}}}},Ge=de=>{const{componentCls:xe}=de;return{[`${xe}-item`]:{display:"inline-block",minWidth:de.itemSize,height:de.itemSize,marginInlineEnd:de.marginXS,fontFamily:de.fontFamily,lineHeight:(0,At.unit)(de.calc(de.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:de.itemBg,border:`${(0,At.unit)(de.lineWidth)} ${de.lineType} transparent`,borderRadius:de.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,At.unit)(de.paginationItemPaddingInline)}`,color:de.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${xe}-item-active)`]:{"&:hover":{transition:`all ${de.motionDurationMid}`,backgroundColor:de.colorBgTextHover},"&:active":{backgroundColor:de.colorBgTextActive}},"&-active":{fontWeight:de.fontWeightStrong,backgroundColor:de.itemActiveBg,borderColor:de.colorPrimary,a:{color:de.colorPrimary},"&:hover":{borderColor:de.colorPrimaryHover},"&:hover a":{color:de.colorPrimaryHover}}}}},Ne=de=>{const{componentCls:xe}=de;return{[xe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Tt.Wf)(de)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${xe}-total-text`]:{display:"inline-block",height:de.itemSize,marginInlineEnd:de.marginXS,lineHeight:(0,At.unit)(de.calc(de.itemSize).sub(2).equal()),verticalAlign:"middle"}}),Ge(de)),bt(de)),Je(de)),cn(de)),yt(de)),{[`@media only screen and (max-width: ${de.screenLG}px)`]:{[`${xe}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${de.screenSM}px)`]:{[`${xe}-options`]:{display:"none"}}}),[`&${de.componentCls}-rtl`]:{direction:"rtl"}}},ne=de=>{const{componentCls:xe}=de;return{[`${xe}:not(${xe}-disabled)`]:{[`${xe}-item`]:Object.assign({},(0,Tt.Qy)(de)),[`${xe}-jump-prev, ${xe}-jump-next`]:{"&:focus-visible":Object.assign({[`${xe}-item-link-icon`]:{opacity:1},[`${xe}-item-ellipsis`]:{opacity:0}},(0,Tt.oN)(de))},[`${xe}-prev, ${xe}-next`]:{[`&:focus-visible ${xe}-item-link`]:Object.assign({},(0,Tt.oN)(de))}}}},lt=de=>Object.assign({itemBg:de.colorBgContainer,itemSize:de.controlHeight,itemSizeSM:de.controlHeightSM,itemActiveBg:de.colorBgContainer,itemLinkBg:de.colorBgContainer,itemActiveColorDisabled:de.colorTextDisabled,itemActiveBgDisabled:de.controlItemBgActiveDisabled,itemInputBg:de.colorBgContainer,miniOptionsSizeChangerTop:0},(0,it.T)(de)),Ke=de=>(0,ze.mergeToken)(de,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:de.calc(de.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:de.calc(de.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:de.calc(de.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:de.calc(de.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:de.marginSM,paginationSlashMarginInlineEnd:de.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,it.e)(de));var H=(0,Jt.I$)("Pagination",de=>{const xe=Ke(de);return[Ne(xe),ne(xe)]},lt);const M=de=>{const{componentCls:xe}=de;return{[`${xe}${xe}-bordered${xe}-disabled:not(${xe}-mini)`]:{"&, &:hover":{[`${xe}-item-link`]:{borderColor:de.colorBorder}},"&:focus-visible":{[`${xe}-item-link`]:{borderColor:de.colorBorder}},[`${xe}-item, ${xe}-item-link`]:{backgroundColor:de.colorBgContainerDisabled,borderColor:de.colorBorder,[`&:hover:not(${xe}-item-active)`]:{backgroundColor:de.colorBgContainerDisabled,borderColor:de.colorBorder,a:{color:de.colorTextDisabled}},[`&${xe}-item-active`]:{backgroundColor:de.itemActiveBgDisabled}},[`${xe}-prev, ${xe}-next`]:{"&:hover button":{backgroundColor:de.colorBgContainerDisabled,borderColor:de.colorBorder,color:de.colorTextDisabled},[`${xe}-item-link`]:{backgroundColor:de.colorBgContainerDisabled,borderColor:de.colorBorder}}},[`${xe}${xe}-bordered:not(${xe}-mini)`]:{[`${xe}-prev, ${xe}-next`]:{"&:hover button":{borderColor:de.colorPrimaryHover,backgroundColor:de.itemBg},[`${xe}-item-link`]:{backgroundColor:de.itemLinkBg,borderColor:de.colorBorder},[`&:hover ${xe}-item-link`]:{borderColor:de.colorPrimary,backgroundColor:de.itemBg,color:de.colorPrimary},[`&${xe}-disabled`]:{[`${xe}-item-link`]:{borderColor:de.colorBorder,color:de.colorTextDisabled}}},[`${xe}-item`]:{backgroundColor:de.itemBg,border:`${(0,At.unit)(de.lineWidth)} ${de.lineType} ${de.colorBorder}`,[`&:hover:not(${xe}-item-active)`]:{borderColor:de.colorPrimary,backgroundColor:de.itemBg,a:{color:de.colorPrimary}},"&-active":{borderColor:de.colorPrimary}}}}};var _e=(0,Jt.bk)(["Pagination","bordered"],de=>{const xe=Ke(de);return[M(xe)]},lt);function me(de){return(0,i.useMemo)(()=>typeof de=="boolean"?[de,{}]:de&&typeof de=="object"?[!0,de]:[void 0,void 0],[de])}var Te=function(de,xe){var Pt={};for(var xt in de)Object.prototype.hasOwnProperty.call(de,xt)&&xe.indexOf(xt)<0&&(Pt[xt]=de[xt]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,xt=Object.getOwnPropertySymbols(de);kt<xt.length;kt++)xe.indexOf(xt[kt])<0&&Object.prototype.propertyIsEnumerable.call(de,xt[kt])&&(Pt[xt[kt]]=de[xt[kt]]);return Pt},Xe=de=>{const{align:xe,prefixCls:Pt,selectPrefixCls:xt,className:kt,rootClassName:Mt,style:mt,size:Gt,locale:Zt,responsive:Re,showSizeChanger:pt,selectComponentClass:E,pageSizeOptions:D}=de,rt=Te(de,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:te}=(0,A.Z)(Re),[,Ae]=(0,ft.ZP)(),{getPrefixCls:tn,direction:Ce,showSizeChanger:Ve,className:ut,style:ye}=(0,Ee.dj)("pagination"),we=tn("pagination",Pt),[tt,et,X]=H(we),St=(0,_.Z)(Gt),Se=St==="small"||!!(te&&!St&&Re),[Wt]=(0,fe.Z)("Pagination",ie.Z),Kt=Object.assign(Object.assign({},Wt),Zt),[Rt,le]=me(pt),[ae,N]=me(Ve),_t=Rt!=null?Rt:ae,dt=le!=null?le:N,nt=E||Be.default,Ft=i.useMemo(()=>D?D.map(Pe=>Number(Pe)):void 0,[D]),Ot=Pe=>{var Le;const{disabled:re,size:De,onSizeChange:$e,"aria-label":je,className:st,options:qt}=Pe,{className:ln,onChange:Oe}=dt||{},ot=(Le=qt.find(wt=>String(wt.value)===String(De)))===null||Le===void 0?void 0:Le.value;return i.createElement(nt,Object.assign({disabled:re,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:wt=>wt.parentNode,"aria-label":je,options:qt},dt,{value:ot,onChange:(wt,Qt)=>{$e==null||$e(wt),Oe==null||Oe(wt,Qt)},size:Se?"small":"middle",className:C()(st,ln)}))},zt=i.useMemo(()=>{const Pe=i.createElement("span",{className:`${we}-item-ellipsis`},"\u2022\u2022\u2022"),Le=i.createElement("button",{className:`${we}-item-link`,type:"button",tabIndex:-1},Ce==="rtl"?i.createElement(P.Z,null):i.createElement(y.Z,null)),re=i.createElement("button",{className:`${we}-item-link`,type:"button",tabIndex:-1},Ce==="rtl"?i.createElement(y.Z,null):i.createElement(P.Z,null)),De=i.createElement("a",{className:`${we}-item-link`},i.createElement("div",{className:`${we}-item-container`},Ce==="rtl"?i.createElement(l.Z,{className:`${we}-item-link-icon`}):i.createElement(K,{className:`${we}-item-link-icon`}),Pe)),$e=i.createElement("a",{className:`${we}-item-link`},i.createElement("div",{className:`${we}-item-container`},Ce==="rtl"?i.createElement(K,{className:`${we}-item-link-icon`}):i.createElement(l.Z,{className:`${we}-item-link-icon`}),Pe));return{prevIcon:Le,nextIcon:re,jumpPrevIcon:De,jumpNextIcon:$e}},[Ce,we]),J=tn("select",xt),pe=C()({[`${we}-${xe}`]:!!xe,[`${we}-mini`]:Se,[`${we}-rtl`]:Ce==="rtl",[`${we}-bordered`]:Ae.wireframe},ut,kt,Mt,et,X),It=Object.assign(Object.assign({},ye),mt);return tt(i.createElement(i.Fragment,null,Ae.wireframe&&i.createElement(_e,{prefixCls:we}),i.createElement(oe,Object.assign({},zt,rt,{style:It,prefixCls:we,selectPrefixCls:J,className:pe,locale:Kt,pageSizeOptions:Ft,showSizeChanger:_t,sizeChangerRender:Ot}))))},gt=Xe},69106:function(Pn,Lt,u){"use strict";u.d(Lt,{aV:function(){return l},t5:function(){return y}});var i=u(59301),U=u(92310),L=u.n(U),ce=u(29125),j=u(54500),g=u(48755),V=u(85074),K=function(b,C){var w={};for(var z in b)Object.prototype.hasOwnProperty.call(b,z)&&C.indexOf(z)<0&&(w[z]=b[z]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,z=Object.getOwnPropertySymbols(b);W<z.length;W++)C.indexOf(z[W])<0&&Object.prototype.propertyIsEnumerable.call(b,z[W])&&(w[z[W]]=b[z[W]]);return w};const l=b=>{let{title:C,content:w,prefixCls:z}=b;return!C&&!w?null:i.createElement(i.Fragment,null,C&&i.createElement("div",{className:`${z}-title`},C),w&&i.createElement("div",{className:`${z}-inner-content`},w))},y=b=>{const{hashId:C,prefixCls:w,className:z,style:W,placement:Y="top",title:$,content:R,children:G}=b,O=(0,j.Z)($),T=(0,j.Z)(R),ue=L()(C,w,`${w}-pure`,`${w}-placement-${Y}`,z);return i.createElement("div",{className:ue,style:W},i.createElement("div",{className:`${w}-arrow`}),i.createElement(ce.G,Object.assign({},b,{className:C,prefixCls:w}),G||i.createElement(l,{prefixCls:w,title:O,content:T})))},P=b=>{const{prefixCls:C,className:w}=b,z=K(b,["prefixCls","className"]),{getPrefixCls:W}=i.useContext(g.E_),Y=W("popover",C),[$,R,G]=(0,V.Z)(Y);return $(i.createElement(y,Object.assign({},z,{prefixCls:Y,hashId:R,className:L()(w,G)})))};Lt.ZP=P},37639:function(Pn,Lt,u){"use strict";var i=u(59301),U=u(92310),L=u.n(U),ce=u(18929),j=u(10228),g=u(54500),V=u(86641),K=u(22703),l=u(25399),y=u(69106),P=u(48755),b=u(85074),C=function(W,Y){var $={};for(var R in W)Object.prototype.hasOwnProperty.call(W,R)&&Y.indexOf(R)<0&&($[R]=W[R]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,R=Object.getOwnPropertySymbols(W);G<R.length;G++)Y.indexOf(R[G])<0&&Object.prototype.propertyIsEnumerable.call(W,R[G])&&($[R[G]]=W[R[G]]);return $};const z=i.forwardRef((W,Y)=>{var $,R;const{prefixCls:G,title:O,content:T,overlayClassName:ue,placement:be="top",trigger:he="hover",children:Ue,mouseEnterDelay:Qe=.1,mouseLeaveDelay:ke=.1,onOpenChange:Ze,overlayStyle:se={},styles:k,classNames:I}=W,oe=C(W,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:ie,className:Ee,style:_,classNames:A,styles:fe}=(0,P.dj)("popover"),Be=ie("popover",G),[ft,At,Ie]=(0,b.Z)(Be),it=ie(),ht=L()(ue,At,Ie,Ee,A.root,I==null?void 0:I.root),Tt=L()(A.body,I==null?void 0:I.body),[ze,Jt]=(0,ce.Z)(!1,{value:($=W.open)!==null&&$!==void 0?$:W.visible,defaultValue:(R=W.defaultOpen)!==null&&R!==void 0?R:W.defaultVisible}),yt=(Ne,ne)=>{Jt(Ne,!0),Ze==null||Ze(Ne,ne)},cn=Ne=>{Ne.keyCode===j.Z.ESC&&yt(!1,Ne)},Je=Ne=>{yt(Ne)},bt=(0,g.Z)(O),Ge=(0,g.Z)(T);return ft(i.createElement(l.Z,Object.assign({placement:be,trigger:he,mouseEnterDelay:Qe,mouseLeaveDelay:ke},oe,{prefixCls:Be,classNames:{root:ht,body:Tt},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},fe.root),_),se),k==null?void 0:k.root),body:Object.assign(Object.assign({},fe.body),k==null?void 0:k.body)},ref:Y,open:ze,onOpenChange:Je,overlay:bt||Ge?i.createElement(y.aV,{prefixCls:Be,title:bt,content:Ge}):null,transitionName:(0,V.m)(it,"zoom-big",oe.transitionName),"data-popover-inject":!0}),(0,K.Tm)(Ue,{onKeyDown:Ne=>{var ne,lt;i.isValidElement(Ue)&&((lt=Ue==null?void 0:(ne=Ue.props).onKeyDown)===null||lt===void 0||lt.call(ne,Ne)),cn(Ne)}})))});z._InternalPanelDoNotUseOrYouWillBeFired=y.ZP,Lt.Z=z},85074:function(Pn,Lt,u){"use strict";var i=u(63356),U=u(34925),L=u(37645),ce=u(36305),j=u(34998),g=u(16931),V=u(51636);const K=P=>{const{componentCls:b,popoverColor:C,titleMinWidth:w,fontWeightStrong:z,innerPadding:W,boxShadowSecondary:Y,colorTextHeading:$,borderRadiusLG:R,zIndexPopup:G,titleMarginBottom:O,colorBgElevated:T,popoverBg:ue,titleBorderBottom:be,innerContentPadding:he,titlePadding:Ue}=P;return[{[b]:Object.assign(Object.assign({},(0,i.Wf)(P)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:G,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":T,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${b}-content`]:{position:"relative"},[`${b}-inner`]:{backgroundColor:ue,backgroundClip:"padding-box",borderRadius:R,boxShadow:Y,padding:W},[`${b}-title`]:{minWidth:w,marginBottom:O,color:$,fontWeight:z,borderBottom:be,padding:Ue},[`${b}-inner-content`]:{color:C,padding:he}})},(0,L.ZP)(P,"var(--antd-arrow-background-color)"),{[`${b}-pure`]:{position:"relative",maxWidth:"none",margin:P.sizePopupArrow,display:"inline-block",[`${b}-content`]:{display:"inline-block"}}}]},l=P=>{const{componentCls:b}=P;return{[b]:j.i.map(C=>{const w=P[`${C}6`];return{[`&${b}-${C}`]:{"--antd-arrow-background-color":w,[`${b}-inner`]:{backgroundColor:w},[`${b}-arrow`]:{background:"transparent"}}}})}},y=P=>{const{lineWidth:b,controlHeight:C,fontHeight:w,padding:z,wireframe:W,zIndexPopupBase:Y,borderRadiusLG:$,marginXS:R,lineType:G,colorSplit:O,paddingSM:T}=P,ue=C-w,be=ue/2,he=ue/2-b,Ue=z;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:Y+30},(0,ce.w)(P)),(0,L.wZ)({contentRadius:$,limitVerticalRadius:!0})),{innerPadding:W?0:12,titleMarginBottom:W?0:R,titlePadding:W?`${be}px ${Ue}px ${he}px`:0,titleBorderBottom:W?`${b}px ${G} ${O}`:"none",innerContentPadding:W?`${T}px ${Ue}px`:0})};Lt.Z=(0,g.I$)("Popover",P=>{const{colorBgElevated:b,colorText:C}=P,w=(0,V.mergeToken)(P,{popoverBg:b,popoverColor:C});return[K(w),l(w),(0,U._y)(w,"zoom-big")]},y,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},89787:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return Zt}});var i=u(59301),U=u(17835),L=u(29679),ce=u(40001),j=u(19248),g=u(99267),V=u(92310),K=u.n(V),l=u(2738),y=u(48755),P=u(54476),b=u(33885),C=u(75931),w={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},z=function(){var pt=(0,i.useRef)([]),E=(0,i.useRef)(null);return(0,i.useEffect)(function(){var D=Date.now(),rt=!1;pt.current.forEach(function(te){if(te){rt=!0;var Ae=te.style;Ae.transitionDuration=".3s, .3s, .3s, .06s",E.current&&D-E.current<100&&(Ae.transitionDuration="0s, 0s")}}),rt&&(E.current=Date.now())}),pt.current},W=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Y=function(pt){var E=(0,b.Z)((0,b.Z)({},w),pt),D=E.className,rt=E.percent,te=E.prefixCls,Ae=E.strokeColor,tn=E.strokeLinecap,Ce=E.strokeWidth,Ve=E.style,ut=E.trailColor,ye=E.trailWidth,we=E.transition,tt=(0,C.Z)(E,W);delete tt.gapPosition;var et=Array.isArray(rt)?rt:[rt],X=Array.isArray(Ae)?Ae:[Ae],St=z(),Se=Ce/2,Wt=100-Ce/2,Kt="M ".concat(tn==="round"?Se:0,",").concat(Se,`
|
|
|
L `).concat(tn==="round"?Wt:100,",").concat(Se),Rt="0 0 100 ".concat(Ce),le=0;return i.createElement("svg",(0,P.Z)({className:K()("".concat(te,"-line"),D),viewBox:Rt,preserveAspectRatio:"none",style:Ve},tt),i.createElement("path",{className:"".concat(te,"-line-trail"),d:Kt,strokeLinecap:tn,stroke:ut,strokeWidth:ye||Ce,fillOpacity:"0"}),et.map(function(ae,N){var _t=1;switch(tn){case"round":_t=1-Ce/100;break;case"square":_t=1-Ce/2/100;break;default:_t=1;break}var dt={strokeDasharray:"".concat(ae*_t,"px, 100px"),strokeDashoffset:"-".concat(le,"px"),transition:we||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},nt=X[N]||X[X.length-1];return le+=ae,i.createElement("path",{key:N,className:"".concat(te,"-line-path"),d:Kt,strokeLinecap:tn,stroke:nt,strokeWidth:Ce,fillOpacity:"0",ref:function(Ot){St[N]=Ot},style:dt})}))},$=Y,R=u(76190),G=u(42978),O=u(47273),T=0,ue=(0,O.Z)();function be(){var Re;return ue?(Re=T,T+=1):Re="TEST_OR_SSR",Re}var he=function(Re){var pt=i.useState(),E=(0,G.Z)(pt,2),D=E[0],rt=E[1];return i.useEffect(function(){rt("rc_progress_".concat(be()))},[]),Re||D},Ue=function(pt){var E=pt.bg,D=pt.children;return i.createElement("div",{style:{width:"100%",height:"100%",background:E}},D)};function Qe(Re,pt){return Object.keys(Re).map(function(E){var D=parseFloat(E),rt="".concat(Math.floor(D*pt),"%");return"".concat(Re[E]," ").concat(rt)})}var ke=i.forwardRef(function(Re,pt){var E=Re.prefixCls,D=Re.color,rt=Re.gradientId,te=Re.radius,Ae=Re.style,tn=Re.ptg,Ce=Re.strokeLinecap,Ve=Re.strokeWidth,ut=Re.size,ye=Re.gapDegree,we=D&&(0,R.Z)(D)==="object",tt=we?"#FFF":void 0,et=ut/2,X=i.createElement("circle",{className:"".concat(E,"-circle-path"),r:te,cx:et,cy:et,stroke:tt,strokeLinecap:Ce,strokeWidth:Ve,opacity:tn===0?0:1,style:Ae,ref:pt});if(!we)return X;var St="".concat(rt,"-conic"),Se=ye?"".concat(180+ye/2,"deg"):"0deg",Wt=Qe(D,(360-ye)/360),Kt=Qe(D,1),Rt="conic-gradient(from ".concat(Se,", ").concat(Wt.join(", "),")"),le="linear-gradient(to ".concat(ye?"bottom":"top",", ").concat(Kt.join(", "),")");return i.createElement(i.Fragment,null,i.createElement("mask",{id:St},X),i.createElement("foreignObject",{x:0,y:0,width:ut,height:ut,mask:"url(#".concat(St,")")},i.createElement(Ue,{bg:le},i.createElement(Ue,{bg:Rt}))))}),Ze=ke,se=100,k=function(pt,E,D,rt,te,Ae,tn,Ce,Ve,ut){var ye=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,we=D/100*360*((360-Ae)/360),tt=Ae===0?0:{bottom:0,top:180,left:90,right:-90}[tn],et=(100-rt)/100*E;Ve==="round"&&rt!==100&&(et+=ut/2,et>=E&&(et=E-.01));var X=se/2;return{stroke:typeof Ce=="string"?Ce:void 0,strokeDasharray:"".concat(E,"px ").concat(pt),strokeDashoffset:et+ye,transform:"rotate(".concat(te+we+tt,"deg)"),transformOrigin:"".concat(X,"px ").concat(X,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},I=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function oe(Re){var pt=Re!=null?Re:[];return Array.isArray(pt)?pt:[pt]}var ie=function(pt){var E=(0,b.Z)((0,b.Z)({},w),pt),D=E.id,rt=E.prefixCls,te=E.steps,Ae=E.strokeWidth,tn=E.trailWidth,Ce=E.gapDegree,Ve=Ce===void 0?0:Ce,ut=E.gapPosition,ye=E.trailColor,we=E.strokeLinecap,tt=E.style,et=E.className,X=E.strokeColor,St=E.percent,Se=(0,C.Z)(E,I),Wt=se/2,Kt=he(D),Rt="".concat(Kt,"-gradient"),le=Wt-Ae/2,ae=Math.PI*2*le,N=Ve>0?90+Ve/2:-90,_t=ae*((360-Ve)/360),dt=(0,R.Z)(te)==="object"?te:{count:te,gap:2},nt=dt.count,Ft=dt.gap,Ot=oe(St),zt=oe(X),J=zt.find(function($e){return $e&&(0,R.Z)($e)==="object"}),pe=J&&(0,R.Z)(J)==="object",It=pe?"butt":we,Pe=k(ae,_t,0,100,N,Ve,ut,ye,It,Ae),Le=z(),re=function(){var je=0;return Ot.map(function(st,qt){var ln=zt[qt]||zt[zt.length-1],Oe=k(ae,_t,je,st,N,Ve,ut,ln,It,Ae);return je+=st,i.createElement(Ze,{key:qt,color:ln,ptg:st,radius:le,prefixCls:rt,gradientId:Rt,style:Oe,strokeLinecap:It,strokeWidth:Ae,gapDegree:Ve,ref:function(wt){Le[qt]=wt},size:se})}).reverse()},De=function(){var je=Math.round(nt*(Ot[0]/100)),st=100/nt,qt=0;return new Array(nt).fill(null).map(function(ln,Oe){var ot=Oe<=je-1?zt[0]:ye,wt=ot&&(0,R.Z)(ot)==="object"?"url(#".concat(Rt,")"):void 0,Qt=k(ae,_t,qt,st,N,Ve,ut,ot,"butt",Ae,Ft);return qt+=(_t-Qt.strokeDashoffset+Ft)*100/_t,i.createElement("circle",{key:Oe,className:"".concat(rt,"-circle-path"),r:le,cx:Wt,cy:Wt,stroke:wt,strokeWidth:Ae,opacity:1,style:Qt,ref:function(Ye){Le[Oe]=Ye}})})};return i.createElement("svg",(0,P.Z)({className:K()("".concat(rt,"-circle"),et),viewBox:"0 0 ".concat(se," ").concat(se),style:tt,id:D,role:"presentation"},Se),!nt&&i.createElement("circle",{className:"".concat(rt,"-circle-trail"),r:le,cx:Wt,cy:Wt,stroke:ye,strokeLinecap:It,strokeWidth:tn||Ae,style:Pe}),nt?De():re())},Ee=ie,_={Line:$,Circle:Ee},A=u(25399),fe=u(68361);function Be(Re){return!Re||Re<0?0:Re>100?100:Re}function ft(Re){let{success:pt,successPercent:E}=Re,D=E;return pt&&"progress"in pt&&(D=pt.progress),pt&&"percent"in pt&&(D=pt.percent),D}const At=Re=>{let{percent:pt,success:E,successPercent:D}=Re;const rt=Be(ft({success:E,successPercent:D}));return[rt,Be(Be(pt)-rt)]},Ie=Re=>{let{success:pt={},strokeColor:E}=Re;const{strokeColor:D}=pt;return[D||fe.presetPrimaryColors.green,E||null]},it=(Re,pt,E)=>{var D,rt,te,Ae;let tn=-1,Ce=-1;if(pt==="step"){const Ve=E.steps,ut=E.strokeWidth;typeof Re=="string"||typeof Re=="undefined"?(tn=Re==="small"?2:14,Ce=ut!=null?ut:8):typeof Re=="number"?[tn,Ce]=[Re,Re]:[tn=14,Ce=8]=Array.isArray(Re)?Re:[Re.width,Re.height],tn*=Ve}else if(pt==="line"){const Ve=E==null?void 0:E.strokeWidth;typeof Re=="string"||typeof Re=="undefined"?Ce=Ve||(Re==="small"?6:8):typeof Re=="number"?[tn,Ce]=[Re,Re]:[tn=-1,Ce=8]=Array.isArray(Re)?Re:[Re.width,Re.height]}else(pt==="circle"||pt==="dashboard")&&(typeof Re=="string"||typeof Re=="undefined"?[tn,Ce]=Re==="small"?[60,60]:[120,120]:typeof Re=="number"?[tn,Ce]=[Re,Re]:Array.isArray(Re)&&(tn=(rt=(D=Re[0])!==null&&D!==void 0?D:Re[1])!==null&&rt!==void 0?rt:120,Ce=(Ae=(te=Re[0])!==null&&te!==void 0?te:Re[1])!==null&&Ae!==void 0?Ae:120));return[tn,Ce]},ht=3,Tt=Re=>ht/Re*100;var Jt=Re=>{const{prefixCls:pt,trailColor:E=null,strokeLinecap:D="round",gapPosition:rt,gapDegree:te,width:Ae=120,type:tn,children:Ce,success:Ve,size:ut=Ae,steps:ye}=Re,[we,tt]=it(ut,"circle");let{strokeWidth:et}=Re;et===void 0&&(et=Math.max(Tt(we),6));const X={width:we,height:tt,fontSize:we*.15+6},St=i.useMemo(()=>{if(te||te===0)return te;if(tn==="dashboard")return 75},[te,tn]),Se=At(Re),Wt=rt||tn==="dashboard"&&"bottom"||void 0,Kt=Object.prototype.toString.call(Re.strokeColor)==="[object Object]",Rt=Ie({success:Ve,strokeColor:Re.strokeColor}),le=K()(`${pt}-inner`,{[`${pt}-circle-gradient`]:Kt}),ae=i.createElement(Ee,{steps:ye,percent:ye?Se[1]:Se,strokeWidth:et,trailWidth:et,strokeColor:ye?Rt[1]:Rt,strokeLinecap:D,trailColor:E,prefixCls:pt,gapDegree:St,gapPosition:Wt}),N=we<=20,_t=i.createElement("div",{className:le,style:X},ae,!N&&Ce);return N?i.createElement(A.Z,{title:Ce},_t):_t},yt=u(36237),cn=u(63356),Je=u(16931),bt=u(51636);const Ge="--progress-line-stroke-color",Ne="--progress-percent",ne=Re=>{const pt=Re?"100%":"-100%";return new yt.Keyframes(`antProgress${Re?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${pt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${pt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},lt=Re=>{const{componentCls:pt,iconCls:E}=Re;return{[pt]:Object.assign(Object.assign({},(0,cn.Wf)(Re)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Re.fontSize},[`${pt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${pt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Re.remainingColor,borderRadius:Re.lineBorderRadius},[`${pt}-inner:not(${pt}-circle-gradient)`]:{[`${pt}-circle-path`]:{stroke:Re.defaultColor}},[`${pt}-success-bg, ${pt}-bg`]:{position:"relative",background:Re.defaultColor,borderRadius:Re.lineBorderRadius,transition:`all ${Re.motionDurationSlow} ${Re.motionEaseInOutCirc}`},[`${pt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${pt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Re.marginXXS}},[`${pt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${Ge})`]},height:"100%",width:`calc(1 / var(${Ne}) * 100%)`,display:"block"},[`&${pt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${pt}-text-inner`]:{color:Re.colorWhite,[`&${pt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${pt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Re.colorSuccess},[`${pt}-text`]:{display:"inline-block",marginInlineStart:Re.marginXS,color:Re.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[E]:{fontSize:Re.fontSize},[`&${pt}-text-outer`]:{width:"max-content"},[`&${pt}-text-outer${pt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Re.marginXS}},[`${pt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,yt.unit)(Re.paddingXXS)}`,[`&${pt}-text-start`]:{justifyContent:"start"},[`&${pt}-text-end`]:{justifyContent:"end"}},[`&${pt}-status-active`]:{[`${pt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Re.colorBgContainer,borderRadius:Re.lineBorderRadius,opacity:0,animationName:ne(),animationDuration:Re.progressActiveMotionDuration,animationTimingFunction:Re.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${pt}-rtl${pt}-status-active`]:{[`${pt}-bg::before`]:{animationName:ne(!0)}},[`&${pt}-status-exception`]:{[`${pt}-bg`]:{backgroundColor:Re.colorError},[`${pt}-text`]:{color:Re.colorError}},[`&${pt}-status-exception ${pt}-inner:not(${pt}-circle-gradient)`]:{[`${pt}-circle-path`]:{stroke:Re.colorError}},[`&${pt}-status-success`]:{[`${pt}-bg`]:{backgroundColor:Re.colorSuccess},[`${pt}-text`]:{color:Re.colorSuccess}},[`&${pt}-status-success ${pt}-inner:not(${pt}-circle-gradient)`]:{[`${pt}-circle-path`]:{stroke:Re.colorSuccess}}})}},Ke=Re=>{const{componentCls:pt,iconCls:E}=Re;return{[pt]:{[`${pt}-circle-trail`]:{stroke:Re.remainingColor},[`&${pt}-circle ${pt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${pt}-circle ${pt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Re.circleTextColor,fontSize:Re.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[E]:{fontSize:Re.circleIconFontSize}},[`${pt}-circle&-status-exception`]:{[`${pt}-text`]:{color:Re.colorError}},[`${pt}-circle&-status-success`]:{[`${pt}-text`]:{color:Re.colorSuccess}}},[`${pt}-inline-circle`]:{lineHeight:1,[`${pt}-inner`]:{verticalAlign:"bottom"}}}},H=Re=>{const{componentCls:pt}=Re;return{[pt]:{[`${pt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Re.progressStepMinWidth,marginInlineEnd:Re.progressStepMarginInlineEnd,backgroundColor:Re.remainingColor,transition:`all ${Re.motionDurationSlow}`,"&-active":{backgroundColor:Re.defaultColor}}}}}},M=Re=>{const{componentCls:pt,iconCls:E}=Re;return{[pt]:{[`${pt}-small&-line, ${pt}-small&-line ${pt}-text ${E}`]:{fontSize:Re.fontSizeSM}}}},_e=Re=>({circleTextColor:Re.colorText,defaultColor:Re.colorInfo,remainingColor:Re.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Re.fontSize/Re.fontSizeSM}em`});var me=(0,Je.I$)("Progress",Re=>{const pt=Re.calc(Re.marginXXS).div(2).equal(),E=(0,bt.mergeToken)(Re,{progressStepMarginInlineEnd:pt,progressStepMinWidth:pt,progressActiveMotionDuration:"2.4s"});return[lt(E),Ke(E),H(E),M(E)]},_e),Te=function(Re,pt){var E={};for(var D in Re)Object.prototype.hasOwnProperty.call(Re,D)&&pt.indexOf(D)<0&&(E[D]=Re[D]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,D=Object.getOwnPropertySymbols(Re);rt<D.length;rt++)pt.indexOf(D[rt])<0&&Object.prototype.propertyIsEnumerable.call(Re,D[rt])&&(E[D[rt]]=Re[D[rt]]);return E};const Fe=Re=>{let pt=[];return Object.keys(Re).forEach(E=>{const D=parseFloat(E.replace(/%/g,""));Number.isNaN(D)||pt.push({key:D,value:Re[E]})}),pt=pt.sort((E,D)=>E.key-D.key),pt.map(E=>{let{key:D,value:rt}=E;return`${rt} ${D}%`}).join(", ")},Xe=(Re,pt)=>{const{from:E=fe.presetPrimaryColors.blue,to:D=fe.presetPrimaryColors.blue,direction:rt=pt==="rtl"?"to left":"to right"}=Re,te=Te(Re,["from","to","direction"]);if(Object.keys(te).length!==0){const tn=Fe(te),Ce=`linear-gradient(${rt}, ${tn})`;return{background:Ce,[Ge]:Ce}}const Ae=`linear-gradient(${rt}, ${E}, ${D})`;return{background:Ae,[Ge]:Ae}};var de=Re=>{const{prefixCls:pt,direction:E,percent:D,size:rt,strokeWidth:te,strokeColor:Ae,strokeLinecap:tn="round",children:Ce,trailColor:Ve=null,percentPosition:ut,success:ye}=Re,{align:we,type:tt}=ut,et=Ae&&typeof Ae!="string"?Xe(Ae,E):{[Ge]:Ae,background:Ae},X=tn==="square"||tn==="butt"?0:void 0,St=rt!=null?rt:[-1,te||(rt==="small"?6:8)],[Se,Wt]=it(St,"line",{strokeWidth:te}),Kt={backgroundColor:Ve||void 0,borderRadius:X},Rt=Object.assign(Object.assign({width:`${Be(D)}%`,height:Wt,borderRadius:X},et),{[Ne]:Be(D)/100}),le=ft(Re),ae={width:`${Be(le)}%`,height:Wt,borderRadius:X,backgroundColor:ye==null?void 0:ye.strokeColor},N={width:Se<0?"100%":Se},_t=i.createElement("div",{className:`${pt}-inner`,style:Kt},i.createElement("div",{className:K()(`${pt}-bg`,`${pt}-bg-${tt}`),style:Rt},tt==="inner"&&Ce),le!==void 0&&i.createElement("div",{className:`${pt}-success-bg`,style:ae})),dt=tt==="outer"&&we==="start",nt=tt==="outer"&&we==="end";return tt==="outer"&&we==="center"?i.createElement("div",{className:`${pt}-layout-bottom`},_t,Ce):i.createElement("div",{className:`${pt}-outer`,style:N},dt&&Ce,_t,nt&&Ce)},Pt=Re=>{const{size:pt,steps:E,rounding:D=Math.round,percent:rt=0,strokeWidth:te=8,strokeColor:Ae,trailColor:tn=null,prefixCls:Ce,children:Ve}=Re,ut=D(E*(rt/100)),ye=pt==="small"?2:14,we=pt!=null?pt:[ye,te],[tt,et]=it(we,"step",{steps:E,strokeWidth:te}),X=tt/E,St=Array.from({length:E});for(let Se=0;Se<E;Se++){const Wt=Array.isArray(Ae)?Ae[Se]:Ae;St[Se]=i.createElement("div",{key:Se,className:K()(`${Ce}-steps-item`,{[`${Ce}-steps-item-active`]:Se<=ut-1}),style:{backgroundColor:Se<=ut-1?Wt:tn,width:X,height:et}})}return i.createElement("div",{className:`${Ce}-steps-outer`},St,Ve)},xt=function(Re,pt){var E={};for(var D in Re)Object.prototype.hasOwnProperty.call(Re,D)&&pt.indexOf(D)<0&&(E[D]=Re[D]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,D=Object.getOwnPropertySymbols(Re);rt<D.length;rt++)pt.indexOf(D[rt])<0&&Object.prototype.propertyIsEnumerable.call(Re,D[rt])&&(E[D[rt]]=Re[D[rt]]);return E};const kt=null,Mt=["normal","exception","active","success"];var Gt=i.forwardRef((Re,pt)=>{const{prefixCls:E,className:D,rootClassName:rt,steps:te,strokeColor:Ae,percent:tn=0,size:Ce="default",showInfo:Ve=!0,type:ut="line",status:ye,format:we,style:tt,percentPosition:et={}}=Re,X=xt(Re,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:St="end",type:Se="outer"}=et,Wt=Array.isArray(Ae)?Ae[0]:Ae,Kt=typeof Ae=="string"||Array.isArray(Ae)?Ae:void 0,Rt=i.useMemo(()=>{if(Wt){const re=typeof Wt=="string"?Wt:Object.values(Wt)[0];return new U.FastColor(re).isLight()}return!1},[Ae]),le=i.useMemo(()=>{var re,De;const $e=ft(Re);return parseInt($e!==void 0?(re=$e!=null?$e:0)===null||re===void 0?void 0:re.toString():(De=tn!=null?tn:0)===null||De===void 0?void 0:De.toString(),10)},[tn,Re.success,Re.successPercent]),ae=i.useMemo(()=>!Mt.includes(ye)&&le>=100?"success":ye||"normal",[ye,le]),{getPrefixCls:N,direction:_t,progress:dt}=i.useContext(y.E_),nt=N("progress",E),[Ft,Ot,zt]=me(nt),J=ut==="line",pe=J&&!te,It=i.useMemo(()=>{if(!Ve)return null;const re=ft(Re);let De;const $e=we||(st=>`${st}%`),je=J&&Rt&&Se==="inner";return Se==="inner"||we||ae!=="exception"&&ae!=="success"?De=$e(Be(tn),Be(re)):ae==="exception"?De=J?i.createElement(j.Z,null):i.createElement(g.Z,null):ae==="success"&&(De=J?i.createElement(L.Z,null):i.createElement(ce.Z,null)),i.createElement("span",{className:K()(`${nt}-text`,{[`${nt}-text-bright`]:je,[`${nt}-text-${St}`]:pe,[`${nt}-text-${Se}`]:pe}),title:typeof De=="string"?De:void 0},De)},[Ve,tn,le,ae,ut,nt,we]);let Pe;ut==="line"?Pe=te?i.createElement(Pt,Object.assign({},Re,{strokeColor:Kt,prefixCls:nt,steps:typeof te=="object"?te.count:te}),It):i.createElement(de,Object.assign({},Re,{strokeColor:Wt,prefixCls:nt,direction:_t,percentPosition:{align:St,type:Se}}),It):(ut==="circle"||ut==="dashboard")&&(Pe=i.createElement(Jt,Object.assign({},Re,{strokeColor:Wt,prefixCls:nt,progressStatus:ae}),It));const Le=K()(nt,`${nt}-status-${ae}`,{[`${nt}-${ut==="dashboard"&&"circle"||ut}`]:ut!=="line",[`${nt}-inline-circle`]:ut==="circle"&&it(Ce,"circle")[0]<=20,[`${nt}-line`]:pe,[`${nt}-line-align-${St}`]:pe,[`${nt}-line-position-${Se}`]:pe,[`${nt}-steps`]:te,[`${nt}-show-info`]:Ve,[`${nt}-${Ce}`]:typeof Ce=="string",[`${nt}-rtl`]:_t==="rtl"},dt==null?void 0:dt.className,D,rt,Ot,zt);return Ft(i.createElement("div",Object.assign({ref:pt,style:Object.assign(Object.assign({},dt==null?void 0:dt.style),tt),className:Le,role:"progressbar","aria-valuenow":le,"aria-valuemin":0,"aria-valuemax":100},(0,l.Z)(X,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Pe))}),Zt=Gt},47889:function(Pn,Lt,u){"use strict";u.d(Lt,{ZP:function(){return At}});var i=u(59301),U=u(92310),L=u.n(U),ce=u(18929),j=u(26112),g=u(48755),V=u(83397),K=u(31756);const l=i.createContext(null),y=l.Provider;var P=l;const b=i.createContext(null),C=b.Provider;var w=u(16632),z=u(8654),W=u(12919),Y=u(63872),$=u(74632),R=u(2171),G=u(56553),O=u(36237),T=u(63356),ue=u(16931),be=u(51636);const he=Ie=>{const{componentCls:it,antCls:ht}=Ie,Tt=`${it}-group`;return{[Tt]:Object.assign(Object.assign({},(0,T.Wf)(Ie)),{display:"inline-block",fontSize:0,[`&${Tt}-rtl`]:{direction:"rtl"},[`&${Tt}-block`]:{display:"flex"},[`${ht}-badge ${ht}-badge-count`]:{zIndex:1},[`> ${ht}-badge:not(:first-child) > ${ht}-button-wrapper`]:{borderInlineStart:"none"}})}},Ue=Ie=>{const{componentCls:it,wrapperMarginInlineEnd:ht,colorPrimary:Tt,radioSize:ze,motionDurationSlow:Jt,motionDurationMid:yt,motionEaseInOutCirc:cn,colorBgContainer:Je,colorBorder:bt,lineWidth:Ge,colorBgContainerDisabled:Ne,colorTextDisabled:ne,paddingXS:lt,dotColorDisabled:Ke,lineType:H,radioColor:M,radioBgColor:_e,calc:me}=Ie,Te=`${it}-inner`,Xe=me(ze).sub(me(4).mul(2)),gt=me(1).mul(ze).equal({unit:!0});return{[`${it}-wrapper`]:Object.assign(Object.assign({},(0,T.Wf)(Ie)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:ht,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${it}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:Ie.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${it}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,O.unit)(Ge)} ${H} ${Tt}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[it]:Object.assign(Object.assign({},(0,T.Wf)(Ie)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${it}-wrapper:hover &,
|
|
|
&:hover ${Te}`]:{borderColor:Tt},[`${it}-input:focus-visible + ${Te}`]:Object.assign({},(0,T.oN)(Ie)),[`${it}:hover::after, ${it}-wrapper:hover &::after`]:{visibility:"visible"},[`${it}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:gt,height:gt,marginBlockStart:me(1).mul(ze).div(-2).equal({unit:!0}),marginInlineStart:me(1).mul(ze).div(-2).equal({unit:!0}),backgroundColor:M,borderBlockStart:0,borderInlineStart:0,borderRadius:gt,transform:"scale(0)",opacity:0,transition:`all ${Jt} ${cn}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:gt,height:gt,backgroundColor:Je,borderColor:bt,borderStyle:"solid",borderWidth:Ge,borderRadius:"50%",transition:`all ${yt}`},[`${it}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${it}-checked`]:{[Te]:{borderColor:Tt,backgroundColor:_e,"&::after":{transform:`scale(${Ie.calc(Ie.dotSize).div(ze).equal()})`,opacity:1,transition:`all ${Jt} ${cn}`}}},[`${it}-disabled`]:{cursor:"not-allowed",[Te]:{backgroundColor:Ne,borderColor:bt,cursor:"not-allowed","&::after":{backgroundColor:Ke}},[`${it}-input`]:{cursor:"not-allowed"},[`${it}-disabled + span`]:{color:ne,cursor:"not-allowed"},[`&${it}-checked`]:{[Te]:{"&::after":{transform:`scale(${me(Xe).div(ze).equal()})`}}}},[`span${it} + *`]:{paddingInlineStart:lt,paddingInlineEnd:lt}})}},Qe=Ie=>{const{buttonColor:it,controlHeight:ht,componentCls:Tt,lineWidth:ze,lineType:Jt,colorBorder:yt,motionDurationSlow:cn,motionDurationMid:Je,buttonPaddingInline:bt,fontSize:Ge,buttonBg:Ne,fontSizeLG:ne,controlHeightLG:lt,controlHeightSM:Ke,paddingXS:H,borderRadius:M,borderRadiusSM:_e,borderRadiusLG:me,buttonCheckedBg:Te,buttonSolidCheckedColor:Fe,colorTextDisabled:Xe,colorBgContainerDisabled:gt,buttonCheckedBgDisabled:de,buttonCheckedColorDisabled:xe,colorPrimary:Pt,colorPrimaryHover:xt,colorPrimaryActive:kt,buttonSolidCheckedBg:Mt,buttonSolidCheckedHoverBg:mt,buttonSolidCheckedActiveBg:Gt,calc:Zt}=Ie;return{[`${Tt}-button-wrapper`]:{position:"relative",display:"inline-block",height:ht,margin:0,paddingInline:bt,paddingBlock:0,color:it,fontSize:Ge,lineHeight:(0,O.unit)(Zt(ht).sub(Zt(ze).mul(2)).equal()),background:Ne,border:`${(0,O.unit)(ze)} ${Jt} ${yt}`,borderBlockStartWidth:Zt(ze).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:ze,cursor:"pointer",transition:[`color ${Je}`,`background ${Je}`,`box-shadow ${Je}`].join(","),a:{color:it},[`> ${Tt}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:Zt(ze).mul(-1).equal(),insetInlineStart:Zt(ze).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:ze,paddingInline:0,backgroundColor:yt,transition:`background-color ${cn}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,O.unit)(ze)} ${Jt} ${yt}`,borderStartStartRadius:M,borderEndStartRadius:M},"&:last-child":{borderStartEndRadius:M,borderEndEndRadius:M},"&:first-child:last-child":{borderRadius:M},[`${Tt}-group-large &`]:{height:lt,fontSize:ne,lineHeight:(0,O.unit)(Zt(lt).sub(Zt(ze).mul(2)).equal()),"&:first-child":{borderStartStartRadius:me,borderEndStartRadius:me},"&:last-child":{borderStartEndRadius:me,borderEndEndRadius:me}},[`${Tt}-group-small &`]:{height:Ke,paddingInline:Zt(H).sub(ze).equal(),paddingBlock:0,lineHeight:(0,O.unit)(Zt(Ke).sub(Zt(ze).mul(2)).equal()),"&:first-child":{borderStartStartRadius:_e,borderEndStartRadius:_e},"&:last-child":{borderStartEndRadius:_e,borderEndEndRadius:_e}},"&:hover":{position:"relative",color:Pt},"&:has(:focus-visible)":Object.assign({},(0,T.oN)(Ie)),[`${Tt}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Tt}-button-wrapper-disabled)`]:{zIndex:1,color:Pt,background:Te,borderColor:Pt,"&::before":{backgroundColor:Pt},"&:first-child":{borderColor:Pt},"&:hover":{color:xt,borderColor:xt,"&::before":{backgroundColor:xt}},"&:active":{color:kt,borderColor:kt,"&::before":{backgroundColor:kt}}},[`${Tt}-group-solid &-checked:not(${Tt}-button-wrapper-disabled)`]:{color:Fe,background:Mt,borderColor:Mt,"&:hover":{color:Fe,background:mt,borderColor:mt},"&:active":{color:Fe,background:Gt,borderColor:Gt}},"&-disabled":{color:Xe,backgroundColor:gt,borderColor:yt,cursor:"not-allowed","&:first-child, &:hover":{color:Xe,backgroundColor:gt,borderColor:yt}},[`&-disabled${Tt}-button-wrapper-checked`]:{color:xe,backgroundColor:de,borderColor:yt,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},ke=Ie=>{const{wireframe:it,padding:ht,marginXS:Tt,lineWidth:ze,fontSizeLG:Jt,colorText:yt,colorBgContainer:cn,colorTextDisabled:Je,controlItemBgActiveDisabled:bt,colorTextLightSolid:Ge,colorPrimary:Ne,colorPrimaryHover:ne,colorPrimaryActive:lt,colorWhite:Ke}=Ie,H=4,M=Jt,_e=it?M-H*2:M-(H+ze)*2;return{radioSize:M,dotSize:_e,dotColorDisabled:Je,buttonSolidCheckedColor:Ge,buttonSolidCheckedBg:Ne,buttonSolidCheckedHoverBg:ne,buttonSolidCheckedActiveBg:lt,buttonBg:cn,buttonCheckedBg:cn,buttonColor:yt,buttonCheckedBgDisabled:bt,buttonCheckedColorDisabled:Je,buttonPaddingInline:ht-ze,wrapperMarginInlineEnd:Tt,radioColor:it?Ne:Ke,radioBgColor:it?cn:Ne}};var Ze=(0,ue.I$)("Radio",Ie=>{const{controlOutline:it,controlOutlineWidth:ht}=Ie,Tt=`0 0 0 ${(0,O.unit)(ht)} ${it}`,ze=Tt,Jt=(0,be.mergeToken)(Ie,{radioFocusShadow:Tt,radioButtonFocusShadow:ze});return[he(Jt),Ue(Jt),Qe(Jt)]},ke,{unitless:{radioSize:!0,dotSize:!0}}),se=function(Ie,it){var ht={};for(var Tt in Ie)Object.prototype.hasOwnProperty.call(Ie,Tt)&&it.indexOf(Tt)<0&&(ht[Tt]=Ie[Tt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Tt=Object.getOwnPropertySymbols(Ie);ze<Tt.length;ze++)it.indexOf(Tt[ze])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Tt[ze])&&(ht[Tt[ze]]=Ie[Tt[ze]]);return ht};const k=(Ie,it)=>{var ht,Tt;const ze=i.useContext(P),Jt=i.useContext(b),{getPrefixCls:yt,direction:cn,radio:Je}=i.useContext(g.E_),bt=i.useRef(null),Ge=(0,z.sQ)(it,bt),{isFormItemInput:Ne}=i.useContext(G.aM),ne=Re=>{var pt,E;(pt=Ie.onChange)===null||pt===void 0||pt.call(Ie,Re),(E=ze==null?void 0:ze.onChange)===null||E===void 0||E.call(ze,Re)},{prefixCls:lt,className:Ke,rootClassName:H,children:M,style:_e,title:me}=Ie,Te=se(Ie,["prefixCls","className","rootClassName","children","style","title"]),Fe=yt("radio",lt),Xe=((ze==null?void 0:ze.optionType)||Jt)==="button",gt=Xe?`${Fe}-button`:Fe,de=(0,V.Z)(Fe),[xe,Pt,xt]=Ze(Fe,de),kt=Object.assign({},Te),Mt=i.useContext(R.Z);ze&&(kt.name=ze.name,kt.onChange=ne,kt.checked=Ie.value===ze.value,kt.disabled=(ht=kt.disabled)!==null&&ht!==void 0?ht:ze.disabled),kt.disabled=(Tt=kt.disabled)!==null&&Tt!==void 0?Tt:Mt;const mt=L()(`${gt}-wrapper`,{[`${gt}-wrapper-checked`]:kt.checked,[`${gt}-wrapper-disabled`]:kt.disabled,[`${gt}-wrapper-rtl`]:cn==="rtl",[`${gt}-wrapper-in-form-item`]:Ne,[`${gt}-wrapper-block`]:!!(ze!=null&&ze.block)},Je==null?void 0:Je.className,Ke,H,Pt,xt,de),[Gt,Zt]=(0,$.Z)(kt.onClick);return xe(i.createElement(W.Z,{component:"Radio",disabled:kt.disabled},i.createElement("label",{className:mt,style:Object.assign(Object.assign({},Je==null?void 0:Je.style),_e),onMouseEnter:Ie.onMouseEnter,onMouseLeave:Ie.onMouseLeave,title:me,onClick:Gt},i.createElement(w.Z,Object.assign({},kt,{className:L()(kt.className,{[Y.A]:!Xe}),type:"radio",prefixCls:gt,ref:Ge,onClick:Zt})),M!==void 0?i.createElement("span",{className:`${gt}-label`},M):null)))};var oe=i.forwardRef(k),ie=u(80402);const Ee=i.forwardRef((Ie,it)=>{const{getPrefixCls:ht,direction:Tt}=i.useContext(g.E_),ze=(0,ie.Z)(),{prefixCls:Jt,className:yt,rootClassName:cn,options:Je,buttonStyle:bt="outline",disabled:Ge,children:Ne,size:ne,style:lt,id:Ke,optionType:H,name:M=ze,defaultValue:_e,value:me,block:Te=!1,onChange:Fe,onMouseEnter:Xe,onMouseLeave:gt,onFocus:de,onBlur:xe}=Ie,[Pt,xt]=(0,ce.Z)(_e,{value:me}),kt=i.useCallback(Ae=>{const tn=Pt,Ce=Ae.target.value;"value"in Ie||xt(Ce),Ce!==tn&&(Fe==null||Fe(Ae))},[Pt,xt,Fe]),Mt=ht("radio",Jt),mt=`${Mt}-group`,Gt=(0,V.Z)(Mt),[Zt,Re,pt]=Ze(Mt,Gt);let E=Ne;Je&&Je.length>0&&(E=Je.map(Ae=>typeof Ae=="string"||typeof Ae=="number"?i.createElement(oe,{key:Ae.toString(),prefixCls:Mt,disabled:Ge,value:Ae,checked:Pt===Ae},Ae):i.createElement(oe,{key:`radio-group-value-options-${Ae.value}`,prefixCls:Mt,disabled:Ae.disabled||Ge,value:Ae.value,checked:Pt===Ae.value,title:Ae.title,style:Ae.style,id:Ae.id,required:Ae.required},Ae.label)));const D=(0,K.Z)(ne),rt=L()(mt,`${mt}-${bt}`,{[`${mt}-${D}`]:D,[`${mt}-rtl`]:Tt==="rtl",[`${mt}-block`]:Te},yt,cn,Re,pt,Gt),te=i.useMemo(()=>({onChange:kt,value:Pt,disabled:Ge,name:M,optionType:H,block:Te}),[kt,Pt,Ge,M,H,Te]);return Zt(i.createElement("div",Object.assign({},(0,j.Z)(Ie,{aria:!0,data:!0}),{className:rt,style:lt,onMouseEnter:Xe,onMouseLeave:gt,onFocus:de,onBlur:xe,id:Ke,ref:it}),i.createElement(y,{value:te},E)))});var _=i.memo(Ee),A=function(Ie,it){var ht={};for(var Tt in Ie)Object.prototype.hasOwnProperty.call(Ie,Tt)&&it.indexOf(Tt)<0&&(ht[Tt]=Ie[Tt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Tt=Object.getOwnPropertySymbols(Ie);ze<Tt.length;ze++)it.indexOf(Tt[ze])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Tt[ze])&&(ht[Tt[ze]]=Ie[Tt[ze]]);return ht};const fe=(Ie,it)=>{const{getPrefixCls:ht}=i.useContext(g.E_),{prefixCls:Tt}=Ie,ze=A(Ie,["prefixCls"]),Jt=ht("radio",Tt);return i.createElement(C,{value:"button"},i.createElement(oe,Object.assign({prefixCls:Jt},ze,{type:"radio",ref:it})))};var Be=i.forwardRef(fe);const ft=oe;ft.Button=Be,ft.Group=_,ft.__ANT_RADIO=!0;var At=ft},63139:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return At}});var i=u(59301),U=u(54476),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},ce=L,j=u(7657),g=function(it,ht){return i.createElement(j.Z,(0,U.Z)({},it,{ref:ht,icon:ce}))},V=i.forwardRef(g),K=V,l=u(92310),y=u.n(l),P=u(20068),b=u(42978),C=u(75931),w=u(18929),z=u(10228),W=u(26112);function Y(Ie,it){var ht=Ie.disabled,Tt=Ie.prefixCls,ze=Ie.character,Jt=Ie.characterRender,yt=Ie.index,cn=Ie.count,Je=Ie.value,bt=Ie.allowHalf,Ge=Ie.focused,Ne=Ie.onHover,ne=Ie.onClick,lt=function(Xe){Ne(Xe,yt)},Ke=function(Xe){ne(Xe,yt)},H=function(Xe){Xe.keyCode===z.Z.ENTER&&ne(Xe,yt)},M=yt+1,_e=new Set([Tt]);Je===0&&yt===0&&Ge?_e.add("".concat(Tt,"-focused")):bt&&Je+.5>=M&&Je<M?(_e.add("".concat(Tt,"-half")),_e.add("".concat(Tt,"-active")),Ge&&_e.add("".concat(Tt,"-focused"))):(M<=Je?_e.add("".concat(Tt,"-full")):_e.add("".concat(Tt,"-zero")),M===Je&&Ge&&_e.add("".concat(Tt,"-focused")));var me=typeof ze=="function"?ze(Ie):ze,Te=i.createElement("li",{className:y()(Array.from(_e)),ref:it},i.createElement("div",{onClick:ht?null:Ke,onKeyDown:ht?null:H,onMouseMove:ht?null:lt,role:"radio","aria-checked":Je>yt?"true":"false","aria-posinset":yt+1,"aria-setsize":cn,tabIndex:ht?-1:0},i.createElement("div",{className:"".concat(Tt,"-first")},me),i.createElement("div",{className:"".concat(Tt,"-second")},me)));return Jt&&(Te=Jt(Te,Ie)),Te}var $=i.forwardRef(Y);function R(){var Ie=i.useRef({});function it(Tt){return Ie.current[Tt]}function ht(Tt){return function(ze){Ie.current[Tt]=ze}}return[it,ht]}function G(Ie){var it=Ie.pageXOffset,ht="scrollLeft";if(typeof it!="number"){var Tt=Ie.document;it=Tt.documentElement[ht],typeof it!="number"&&(it=Tt.body[ht])}return it}function O(Ie){var it,ht,Tt=Ie.ownerDocument,ze=Tt.body,Jt=Tt&&Tt.documentElement,yt=Ie.getBoundingClientRect();return it=yt.left,ht=yt.top,it-=Jt.clientLeft||ze.clientLeft||0,ht-=Jt.clientTop||ze.clientTop||0,{left:it,top:ht}}function T(Ie){var it=O(Ie),ht=Ie.ownerDocument,Tt=ht.defaultView||ht.parentWindow;return it.left+=G(Tt),it.left}var ue=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function be(Ie,it){var ht=Ie.prefixCls,Tt=ht===void 0?"rc-rate":ht,ze=Ie.className,Jt=Ie.defaultValue,yt=Ie.value,cn=Ie.count,Je=cn===void 0?5:cn,bt=Ie.allowHalf,Ge=bt===void 0?!1:bt,Ne=Ie.allowClear,ne=Ne===void 0?!0:Ne,lt=Ie.keyboard,Ke=lt===void 0?!0:lt,H=Ie.character,M=H===void 0?"\u2605":H,_e=Ie.characterRender,me=Ie.disabled,Te=Ie.direction,Fe=Te===void 0?"ltr":Te,Xe=Ie.tabIndex,gt=Xe===void 0?0:Xe,de=Ie.autoFocus,xe=Ie.onHoverChange,Pt=Ie.onChange,xt=Ie.onFocus,kt=Ie.onBlur,Mt=Ie.onKeyDown,mt=Ie.onMouseLeave,Gt=(0,C.Z)(Ie,ue),Zt=R(),Re=(0,b.Z)(Zt,2),pt=Re[0],E=Re[1],D=i.useRef(null),rt=function(){if(!me){var It;(It=D.current)===null||It===void 0||It.focus()}};i.useImperativeHandle(it,function(){return{focus:rt,blur:function(){if(!me){var It;(It=D.current)===null||It===void 0||It.blur()}}}});var te=(0,w.Z)(Jt||0,{value:yt}),Ae=(0,b.Z)(te,2),tn=Ae[0],Ce=Ae[1],Ve=(0,w.Z)(null),ut=(0,b.Z)(Ve,2),ye=ut[0],we=ut[1],tt=function(It,Pe){var Le=Fe==="rtl",re=It+1;if(Ge){var De=pt(It),$e=T(De),je=De.clientWidth;(Le&&Pe-$e>je/2||!Le&&Pe-$e<je/2)&&(re-=.5)}return re},et=function(It){Ce(It),Pt==null||Pt(It)},X=i.useState(!1),St=(0,b.Z)(X,2),Se=St[0],Wt=St[1],Kt=function(){Wt(!0),xt==null||xt()},Rt=function(){Wt(!1),kt==null||kt()},le=i.useState(null),ae=(0,b.Z)(le,2),N=ae[0],_t=ae[1],dt=function(It,Pe){var Le=tt(Pe,It.pageX);Le!==ye&&(_t(Le),we(null)),xe==null||xe(Le)},nt=function(It){me||(_t(null),we(null),xe==null||xe(void 0)),It&&(mt==null||mt(It))},Ft=function(It,Pe){var Le=tt(Pe,It.pageX),re=!1;ne&&(re=Le===tn),nt(),et(re?0:Le),we(re?Le:null)},Ot=function(It){var Pe=It.keyCode,Le=Fe==="rtl",re=Ge?.5:1;Ke&&(Pe===z.Z.RIGHT&&tn<Je&&!Le?(et(tn+re),It.preventDefault()):Pe===z.Z.LEFT&&tn>0&&!Le||Pe===z.Z.RIGHT&&tn>0&&Le?(et(tn-re),It.preventDefault()):Pe===z.Z.LEFT&&tn<Je&&Le&&(et(tn+re),It.preventDefault())),Mt==null||Mt(It)};i.useEffect(function(){de&&!me&&rt()},[]);var zt=new Array(Je).fill(0).map(function(pe,It){return i.createElement($,{ref:E(It),index:It,count:Je,disabled:me,prefixCls:"".concat(Tt,"-star"),allowHalf:Ge,value:N===null?tn:N,onClick:Ft,onHover:dt,key:pe||It,character:M,characterRender:_e,focused:Se})}),J=y()(Tt,ze,(0,P.Z)((0,P.Z)({},"".concat(Tt,"-disabled"),me),"".concat(Tt,"-rtl"),Fe==="rtl"));return i.createElement("ul",(0,U.Z)({className:J,onMouseLeave:nt,tabIndex:me?-1:gt,onFocus:me?null:Kt,onBlur:me?null:Rt,onKeyDown:me?null:Ot,ref:D},(0,W.Z)(Gt,{aria:!0,data:!0,attr:!0})),zt)}var he=i.forwardRef(be),Ue=he,Qe=u(48755),ke=u(25399),Ze=u(36237),se=u(63356),k=u(16931),I=u(51636);const oe=Ie=>{const{componentCls:it}=Ie;return{[`${it}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ie.marginXS},"> div":{transition:`all ${Ie.motionDurationMid}, outline 0s`,"&:hover":{transform:Ie.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,Ze.unit)(Ie.lineWidth)} dashed ${Ie.starColor}`,transform:Ie.starHoverScale}},"&-first, &-second":{color:Ie.starBg,transition:`all ${Ie.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${it}-star-first, &-half ${it}-star-second`]:{opacity:1},[`&-half ${it}-star-first, &-full ${it}-star-second`]:{color:"inherit"}}}},ie=Ie=>({[`&-rtl${Ie.componentCls}`]:{direction:"rtl"}}),Ee=Ie=>{const{componentCls:it}=Ie;return{[it]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,se.Wf)(Ie)),{display:"inline-block",margin:0,padding:0,color:Ie.starColor,fontSize:Ie.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${it} ${it}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),oe(Ie)),ie(Ie))}},_=Ie=>({starColor:Ie.yellow6,starSize:Ie.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ie.colorFillContent});var A=(0,k.I$)("Rate",Ie=>{const it=(0,I.mergeToken)(Ie,{});return[Ee(it)]},_),fe=u(2171),Be=function(Ie,it){var ht={};for(var Tt in Ie)Object.prototype.hasOwnProperty.call(Ie,Tt)&&it.indexOf(Tt)<0&&(ht[Tt]=Ie[Tt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Tt=Object.getOwnPropertySymbols(Ie);ze<Tt.length;ze++)it.indexOf(Tt[ze])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Tt[ze])&&(ht[Tt[ze]]=Ie[Tt[ze]]);return ht},At=i.forwardRef((Ie,it)=>{const{prefixCls:ht,className:Tt,rootClassName:ze,style:Jt,tooltips:yt,character:cn=i.createElement(K,null),disabled:Je}=Ie,bt=Be(Ie,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),Ge=(Xe,gt)=>{let{index:de}=gt;return yt?i.createElement(ke.Z,{title:yt[de]},Xe):Xe},{getPrefixCls:Ne,direction:ne,rate:lt}=i.useContext(Qe.E_),Ke=Ne("rate",ht),[H,M,_e]=A(Ke),me=Object.assign(Object.assign({},lt==null?void 0:lt.style),Jt),Te=i.useContext(fe.Z),Fe=Je!=null?Je:Te;return H(i.createElement(Ue,Object.assign({ref:it,character:cn,characterRender:Ge,disabled:Fe},bt,{className:y()(Tt,ze,M,_e,lt==null?void 0:lt.className),style:me,prefixCls:Ke,direction:ne})))})},82326:function(Pn,Lt,u){"use strict";var i=u(59301),U=u(92310),L=u.n(U),ce=u(37463),j=u(2738),g=u(75030),V=u(86641),K=u(45915),l=u(82855),y=u(48755),P=u(38406),b=u(2171),C=u(83397),w=u(31756),z=u(56553),W=u(24971),Y=u(70045),$=u(57700),R=u(1722),G=u(90376),O=u(68525),T=u(90005),ue=function(ke,Ze){var se={};for(var k in ke)Object.prototype.hasOwnProperty.call(ke,k)&&Ze.indexOf(k)<0&&(se[k]=ke[k]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,k=Object.getOwnPropertySymbols(ke);I<k.length;I++)Ze.indexOf(k[I])<0&&Object.prototype.propertyIsEnumerable.call(ke,k[I])&&(se[k[I]]=ke[k[I]]);return se};const be="SECRET_COMBOBOX_MODE_DO_NOT_USE",he=(ke,Ze)=>{var se;const{prefixCls:k,bordered:I,className:oe,rootClassName:ie,getPopupContainer:Ee,popupClassName:_,dropdownClassName:A,listHeight:fe=256,placement:Be,listItemHeight:ft,size:At,disabled:Ie,notFoundContent:it,status:ht,builtinPlacements:Tt,dropdownMatchSelectWidth:ze,popupMatchSelectWidth:Jt,direction:yt,style:cn,allowClear:Je,variant:bt,dropdownStyle:Ge,transitionName:Ne,tagRender:ne,maxCount:lt,prefix:Ke}=ke,H=ue(ke,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:M,getPrefixCls:_e,renderEmpty:me,direction:Te,virtual:Fe,popupMatchSelectWidth:Xe,popupOverflow:gt}=i.useContext(y.E_),de=(0,y.dj)("select"),[,xe]=(0,$.ZP)(),Pt=ft!=null?ft:xe==null?void 0:xe.controlHeight,xt=_e("select",k),kt=_e(),Mt=yt!=null?yt:Te,{compactSize:mt,compactItemClassnames:Gt}=(0,Y.ri)(xt,Mt),[Zt,Re]=(0,W.Z)("select",bt,I),pt=(0,C.Z)(xt),[E,D,rt]=(0,G.Z)(xt,pt),te=i.useMemo(()=>{const{mode:Ot}=ke;if(Ot!=="combobox")return Ot===be?"combobox":Ot},[ke.mode]),Ae=te==="multiple"||te==="tags",tn=(0,T.Z)(ke.suffixIcon,ke.showArrow),Ce=(se=Jt!=null?Jt:ze)!==null&&se!==void 0?se:Xe,{status:Ve,hasFeedback:ut,isFormItemInput:ye,feedbackIcon:we}=i.useContext(z.aM),tt=(0,l.F)(Ve,ht);let et;it!==void 0?et=it:te==="combobox"?et=null:et=(me==null?void 0:me("Select"))||i.createElement(P.Z,{componentName:"Select"});const{suffixIcon:X,itemIcon:St,removeIcon:Se,clearIcon:Wt}=(0,O.Z)(Object.assign(Object.assign({},H),{multiple:Ae,hasFeedback:ut,feedbackIcon:we,showSuffixIcon:tn,prefixCls:xt,componentName:"Select"})),Kt=Je===!0?{clearIcon:Wt}:Je,Rt=(0,j.Z)(H,["suffixIcon","itemIcon"]),le=L()(_||A,{[`${xt}-dropdown-${Mt}`]:Mt==="rtl"},ie,rt,pt,D),ae=(0,w.Z)(Ot=>{var zt;return(zt=At!=null?At:mt)!==null&&zt!==void 0?zt:Ot}),N=i.useContext(b.Z),_t=Ie!=null?Ie:N,dt=L()({[`${xt}-lg`]:ae==="large",[`${xt}-sm`]:ae==="small",[`${xt}-rtl`]:Mt==="rtl",[`${xt}-${Zt}`]:Re,[`${xt}-in-form-item`]:ye},(0,l.Z)(xt,tt,ut),Gt,de.className,oe,ie,rt,pt,D),nt=i.useMemo(()=>Be!==void 0?Be:Mt==="rtl"?"bottomRight":"bottomLeft",[Be,Mt]),[Ft]=(0,g.Cn)("SelectLike",Ge==null?void 0:Ge.zIndex);return E(i.createElement(ce.ZP,Object.assign({ref:Ze,virtual:Fe,showSearch:de.showSearch},Rt,{style:Object.assign(Object.assign({},de.style),cn),dropdownMatchSelectWidth:Ce,transitionName:(0,V.m)(kt,"slide-up",Ne),builtinPlacements:(0,R.Z)(Tt,gt),listHeight:fe,listItemHeight:Pt,mode:te,prefixCls:xt,placement:nt,direction:Mt,prefix:Ke,suffixIcon:X,menuItemSelectedIcon:St,removeIcon:Se,allowClear:Kt,notFoundContent:et,className:dt,getPopupContainer:Ee||M,dropdownClassName:le,disabled:_t,dropdownStyle:Object.assign(Object.assign({},Ge),{zIndex:Ft}),maxCount:Ae?lt:void 0,tagRender:Ae?ne:void 0})))},Ue=i.forwardRef(he),Qe=(0,K.Z)(Ue,"dropdownAlign");Ue.SECRET_COMBOBOX_MODE_DO_NOT_USE=be,Ue.Option=ce.Wx,Ue.OptGroup=ce.Xo,Ue._InternalPanelDoNotUseOrYouWillBeFired=Qe,Lt.default=Ue},1722:function(Pn,Lt){"use strict";const u=U=>{const ce={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:U==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},ce),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},ce),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},ce),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},ce),{points:["br","tr"],offset:[0,-4]})}};function i(U,L){return U||u(L)}Lt.Z=i},90376:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return k}});var i=u(63356),U=u(56119),L=u(16931),ce=u(51636),j=u(46e3),g=u(93873);const V=I=>{const{optionHeight:oe,optionFontSize:ie,optionLineHeight:Ee,optionPadding:_}=I;return{position:"relative",display:"block",minHeight:oe,padding:_,color:I.colorText,fontWeight:"normal",fontSize:ie,lineHeight:Ee,boxSizing:"border-box"}};var l=I=>{const{antCls:oe,componentCls:ie}=I,Ee=`${ie}-item`,_=`&${oe}-slide-up-enter${oe}-slide-up-enter-active`,A=`&${oe}-slide-up-appear${oe}-slide-up-appear-active`,fe=`&${oe}-slide-up-leave${oe}-slide-up-leave-active`,Be=`${ie}-dropdown-placement-`,ft=`${Ee}-option-selected`;return[{[`${ie}-dropdown`]:Object.assign(Object.assign({},(0,i.Wf)(I)),{position:"absolute",top:-9999,zIndex:I.zIndexPopup,boxSizing:"border-box",padding:I.paddingXXS,overflow:"hidden",fontSize:I.fontSize,fontVariant:"initial",backgroundColor:I.colorBgElevated,borderRadius:I.borderRadiusLG,outline:"none",boxShadow:I.boxShadowSecondary,[`
|
|
|
${_}${Be}bottomLeft,
|
|
|
${A}${Be}bottomLeft
|
|
|
`]:{animationName:j.fJ},[`
|
|
|
${_}${Be}topLeft,
|
|
|
${A}${Be}topLeft,
|
|
|
${_}${Be}topRight,
|
|
|
${A}${Be}topRight
|
|
|
`]:{animationName:j.Qt},[`${fe}${Be}bottomLeft`]:{animationName:j.Uw},[`
|
|
|
${fe}${Be}topLeft,
|
|
|
${fe}${Be}topRight
|
|
|
`]:{animationName:j.ly},"&-hidden":{display:"none"},[Ee]:Object.assign(Object.assign({},V(I)),{cursor:"pointer",transition:`background ${I.motionDurationSlow} ease`,borderRadius:I.borderRadiusSM,"&-group":{color:I.colorTextDescription,fontSize:I.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},i.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Ee}-option-disabled)`]:{backgroundColor:I.optionActiveBg},[`&-selected:not(${Ee}-option-disabled)`]:{color:I.optionSelectedColor,fontWeight:I.optionSelectedFontWeight,backgroundColor:I.optionSelectedBg,[`${Ee}-option-state`]:{color:I.colorPrimary}},"&-disabled":{[`&${Ee}-option-selected`]:{backgroundColor:I.colorBgContainerDisabled},color:I.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:I.calc(I.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},V(I)),{color:I.colorTextDisabled})}),[`${ft}:has(+ ${ft})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${ft}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,j.oN)(I,"slide-up"),(0,j.oN)(I,"slide-down"),(0,g.Fm)(I,"move-up"),(0,g.Fm)(I,"move-down")]},y=u(26743),P=u(36237);function b(I,oe){const{componentCls:ie,inputPaddingHorizontalBase:Ee,borderRadius:_}=I,A=I.calc(I.controlHeight).sub(I.calc(I.lineWidth).mul(2)).equal(),fe=oe?`${ie}-${oe}`:"";return{[`${ie}-single${fe}`]:{fontSize:I.fontSize,height:I.controlHeight,[`${ie}-selector`]:Object.assign(Object.assign({},(0,i.Wf)(I,!0)),{display:"flex",borderRadius:_,flex:"1 1 auto",[`${ie}-selection-wrap:after`]:{lineHeight:(0,P.unit)(A)},[`${ie}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
|
${ie}-selection-item,
|
|
|
${ie}-selection-placeholder
|
|
|
`]:{display:"block",padding:0,lineHeight:(0,P.unit)(A),transition:`all ${I.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${ie}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${ie}-selection-item:empty:after`,`${ie}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${ie}-show-arrow ${ie}-selection-item,
|
|
|
&${ie}-show-arrow ${ie}-selection-search,
|
|
|
&${ie}-show-arrow ${ie}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:I.showArrowPaddingInlineEnd},[`&${ie}-open ${ie}-selection-item`]:{color:I.colorTextPlaceholder},[`&:not(${ie}-customize-input)`]:{[`${ie}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,P.unit)(Ee)}`,[`${ie}-selection-search-input`]:{height:A,fontSize:I.fontSize},"&:after":{lineHeight:(0,P.unit)(A)}}},[`&${ie}-customize-input`]:{[`${ie}-selector`]:{"&:after":{display:"none"},[`${ie}-selection-search`]:{position:"static",width:"100%"},[`${ie}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,P.unit)(Ee)}`,"&:after":{display:"none"}}}}}}}function C(I){const{componentCls:oe}=I,ie=I.calc(I.controlPaddingHorizontalSM).sub(I.lineWidth).equal();return[b(I),b((0,ce.mergeToken)(I,{controlHeight:I.controlHeightSM,borderRadius:I.borderRadiusSM}),"sm"),{[`${oe}-single${oe}-sm`]:{[`&:not(${oe}-customize-input)`]:{[`${oe}-selector`]:{padding:`0 ${(0,P.unit)(ie)}`},[`&${oe}-show-arrow ${oe}-selection-search`]:{insetInlineEnd:I.calc(ie).add(I.calc(I.fontSize).mul(1.5)).equal()},[`
|
|
|
&${oe}-show-arrow ${oe}-selection-item,
|
|
|
&${oe}-show-arrow ${oe}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:I.calc(I.fontSize).mul(1.5).equal()}}}},b((0,ce.mergeToken)(I,{controlHeight:I.singleItemHeightLG,fontSize:I.fontSizeLG,borderRadius:I.borderRadiusLG}),"lg")]}const w=I=>{const{fontSize:oe,lineHeight:ie,lineWidth:Ee,controlHeight:_,controlHeightSM:A,controlHeightLG:fe,paddingXXS:Be,controlPaddingHorizontal:ft,zIndexPopupBase:At,colorText:Ie,fontWeightStrong:it,controlItemBgActive:ht,controlItemBgHover:Tt,colorBgContainer:ze,colorFillSecondary:Jt,colorBgContainerDisabled:yt,colorTextDisabled:cn,colorPrimaryHover:Je,colorPrimary:bt,controlOutline:Ge}=I,Ne=Be*2,ne=Ee*2,lt=Math.min(_-Ne,_-ne),Ke=Math.min(A-Ne,A-ne),H=Math.min(fe-Ne,fe-ne);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Be/2),zIndexPopup:At+50,optionSelectedColor:Ie,optionSelectedFontWeight:it,optionSelectedBg:ht,optionActiveBg:Tt,optionPadding:`${(_-oe*ie)/2}px ${ft}px`,optionFontSize:oe,optionLineHeight:ie,optionHeight:_,selectorBg:ze,clearBg:ze,singleItemHeightLG:fe,multipleItemBg:Jt,multipleItemBorderColor:"transparent",multipleItemHeight:lt,multipleItemHeightSM:Ke,multipleItemHeightLG:H,multipleSelectorBgDisabled:yt,multipleItemColorDisabled:cn,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(I.fontSize*1.25),hoverBorderColor:Je,activeBorderColor:bt,activeOutlineColor:Ge,selectAffixPadding:Be}},z=(I,oe)=>{const{componentCls:ie,antCls:Ee,controlOutlineWidth:_}=I;return{[`&:not(${ie}-customize-input) ${ie}-selector`]:{border:`${(0,P.unit)(I.lineWidth)} ${I.lineType} ${oe.borderColor}`,background:I.selectorBg},[`&:not(${ie}-disabled):not(${ie}-customize-input):not(${Ee}-pagination-size-changer)`]:{[`&:hover ${ie}-selector`]:{borderColor:oe.hoverBorderHover},[`${ie}-focused& ${ie}-selector`]:{borderColor:oe.activeBorderColor,boxShadow:`0 0 0 ${(0,P.unit)(_)} ${oe.activeOutlineColor}`,outline:0},[`${ie}-prefix`]:{color:oe.color}}}},W=(I,oe)=>({[`&${I.componentCls}-status-${oe.status}`]:Object.assign({},z(I,oe))}),Y=I=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},z(I,{borderColor:I.colorBorder,hoverBorderHover:I.hoverBorderColor,activeBorderColor:I.activeBorderColor,activeOutlineColor:I.activeOutlineColor,color:I.colorText})),W(I,{status:"error",borderColor:I.colorError,hoverBorderHover:I.colorErrorHover,activeBorderColor:I.colorError,activeOutlineColor:I.colorErrorOutline,color:I.colorError})),W(I,{status:"warning",borderColor:I.colorWarning,hoverBorderHover:I.colorWarningHover,activeBorderColor:I.colorWarning,activeOutlineColor:I.colorWarningOutline,color:I.colorWarning})),{[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{background:I.colorBgContainerDisabled,color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.multipleItemBg,border:`${(0,P.unit)(I.lineWidth)} ${I.lineType} ${I.multipleItemBorderColor}`}})}),$=(I,oe)=>{const{componentCls:ie,antCls:Ee}=I;return{[`&:not(${ie}-customize-input) ${ie}-selector`]:{background:oe.bg,border:`${(0,P.unit)(I.lineWidth)} ${I.lineType} transparent`,color:oe.color},[`&:not(${ie}-disabled):not(${ie}-customize-input):not(${Ee}-pagination-size-changer)`]:{[`&:hover ${ie}-selector`]:{background:oe.hoverBg},[`${ie}-focused& ${ie}-selector`]:{background:I.selectorBg,borderColor:oe.activeBorderColor,outline:0}}}},R=(I,oe)=>({[`&${I.componentCls}-status-${oe.status}`]:Object.assign({},$(I,oe))}),G=I=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},$(I,{bg:I.colorFillTertiary,hoverBg:I.colorFillSecondary,activeBorderColor:I.activeBorderColor,color:I.colorText})),R(I,{status:"error",bg:I.colorErrorBg,hoverBg:I.colorErrorBgHover,activeBorderColor:I.colorError,color:I.colorError})),R(I,{status:"warning",bg:I.colorWarningBg,hoverBg:I.colorWarningBgHover,activeBorderColor:I.colorWarning,color:I.colorWarning})),{[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{borderColor:I.colorBorder,background:I.colorBgContainerDisabled,color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.colorBgContainer,border:`${(0,P.unit)(I.lineWidth)} ${I.lineType} ${I.colorSplit}`}})}),O=I=>({"&-borderless":{[`${I.componentCls}-selector`]:{background:"transparent",border:`${(0,P.unit)(I.lineWidth)} ${I.lineType} transparent`},[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.multipleItemBg,border:`${(0,P.unit)(I.lineWidth)} ${I.lineType} ${I.multipleItemBorderColor}`},[`&${I.componentCls}-status-error`]:{[`${I.componentCls}-prefix, ${I.componentCls}-selection-item`]:{color:I.colorError}},[`&${I.componentCls}-status-warning`]:{[`${I.componentCls}-prefix, ${I.componentCls}-selection-item`]:{color:I.colorWarning}}}}),T=(I,oe)=>{const{componentCls:ie,antCls:Ee}=I;return{[`&:not(${ie}-customize-input) ${ie}-selector`]:{borderWidth:`0 0 ${(0,P.unit)(I.lineWidth)} 0`,borderStyle:`none none ${I.lineType} none`,borderColor:oe.borderColor,background:I.selectorBg,borderRadius:0},[`&:not(${ie}-disabled):not(${ie}-customize-input):not(${Ee}-pagination-size-changer)`]:{[`&:hover ${ie}-selector`]:{borderColor:oe.hoverBorderHover},[`${ie}-focused& ${ie}-selector`]:{borderColor:oe.activeBorderColor,outline:0},[`${ie}-prefix`]:{color:oe.color}}}},ue=(I,oe)=>({[`&${I.componentCls}-status-${oe.status}`]:Object.assign({},T(I,oe))}),be=I=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},T(I,{borderColor:I.colorBorder,hoverBorderHover:I.hoverBorderColor,activeBorderColor:I.activeBorderColor,activeOutlineColor:I.activeOutlineColor,color:I.colorText})),ue(I,{status:"error",borderColor:I.colorError,hoverBorderHover:I.colorErrorHover,activeBorderColor:I.colorError,activeOutlineColor:I.colorErrorOutline,color:I.colorError})),ue(I,{status:"warning",borderColor:I.colorWarning,hoverBorderHover:I.colorWarningHover,activeBorderColor:I.colorWarning,activeOutlineColor:I.colorWarningOutline,color:I.colorWarning})),{[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.multipleItemBg,border:`${(0,P.unit)(I.lineWidth)} ${I.lineType} ${I.multipleItemBorderColor}`}})});var Ue=I=>({[I.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Y(I)),G(I)),O(I)),be(I))});const Qe=I=>{const{componentCls:oe}=I;return{position:"relative",transition:`all ${I.motionDurationMid} ${I.motionEaseInOut}`,input:{cursor:"pointer"},[`${oe}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${oe}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},ke=I=>{const{componentCls:oe}=I;return{[`${oe}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Ze=I=>{const{antCls:oe,componentCls:ie,inputPaddingHorizontalBase:Ee,iconCls:_}=I;return{[ie]:Object.assign(Object.assign({},(0,i.Wf)(I)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${ie}-customize-input) ${ie}-selector`]:Object.assign(Object.assign({},Qe(I)),ke(I)),[`${ie}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},i.vS),{[`> ${oe}-typography`]:{display:"inline"}}),[`${ie}-selection-placeholder`]:Object.assign(Object.assign({},i.vS),{flex:1,color:I.colorTextPlaceholder,pointerEvents:"none"}),[`${ie}-arrow`]:Object.assign(Object.assign({},(0,i.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ee,height:I.fontSizeIcon,marginTop:I.calc(I.fontSizeIcon).mul(-1).div(2).equal(),color:I.colorTextQuaternary,fontSize:I.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${I.motionDurationSlow} ease`,[_]:{verticalAlign:"top",transition:`transform ${I.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${ie}-suffix)`]:{pointerEvents:"auto"}},[`${ie}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${ie}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${ie}-prefix`]:{flex:"none",marginInlineEnd:I.selectAffixPadding},[`${ie}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ee,zIndex:1,display:"inline-block",width:I.fontSizeIcon,height:I.fontSizeIcon,marginTop:I.calc(I.fontSizeIcon).mul(-1).div(2).equal(),color:I.colorTextQuaternary,fontSize:I.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${I.motionDurationMid} ease, opacity ${I.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:I.colorTextTertiary}},[`&:hover ${ie}-clear`]:{opacity:1,background:I.colorBgBase,borderRadius:"50%"}}),[`${ie}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${ie}-has-feedback`]:{[`${ie}-clear`]:{insetInlineEnd:I.calc(Ee).add(I.fontSize).add(I.paddingXS).equal()}}}}}},se=I=>{const{componentCls:oe}=I;return[{[oe]:{[`&${oe}-in-form-item`]:{width:"100%"}}},Ze(I),C(I),(0,y.ZP)(I),l(I),{[`${oe}-rtl`]:{direction:"rtl"}},(0,U.c)(I,{borderElCls:`${oe}-selector`,focusElCls:`${oe}-focused`})]};var k=(0,L.I$)("Select",(I,oe)=>{let{rootPrefixCls:ie}=oe;const Ee=(0,ce.mergeToken)(I,{rootPrefixCls:ie,inputPaddingHorizontalBase:I.calc(I.paddingSM).sub(1).equal(),multipleSelectItemHeight:I.multipleItemHeight,selectHeight:I.controlHeight});return[se(Ee),Ue(Ee)]},w,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Pn,Lt,u){"use strict";u.d(Lt,{_z:function(){return g},gp:function(){return ce}});var i=u(36237),U=u(63356),L=u(51636);const ce=y=>{const{multipleSelectItemHeight:P,paddingXXS:b,lineWidth:C,INTERNAL_FIXED_ITEM_MARGIN:w}=y,z=y.max(y.calc(b).sub(C).equal(),0),W=y.max(y.calc(z).sub(w).equal(),0);return{basePadding:z,containerPadding:W,itemHeight:(0,i.unit)(P),itemLineHeight:(0,i.unit)(y.calc(P).sub(y.calc(y.lineWidth).mul(2)).equal())}},j=y=>{const{multipleSelectItemHeight:P,selectHeight:b,lineWidth:C}=y;return y.calc(b).sub(P).div(2).sub(C).equal()},g=y=>{const{componentCls:P,iconCls:b,borderRadiusSM:C,motionDurationSlow:w,paddingXS:z,multipleItemColorDisabled:W,multipleItemBorderColorDisabled:Y,colorIcon:$,colorIconHover:R,INTERNAL_FIXED_ITEM_MARGIN:G}=y;return{[`${P}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${P}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:G,borderRadius:C,cursor:"default",transition:`font-size ${w}, line-height ${w}, height ${w}`,marginInlineEnd:y.calc(G).mul(2).equal(),paddingInlineStart:z,paddingInlineEnd:y.calc(z).div(2).equal(),[`${P}-disabled&`]:{color:W,borderColor:Y,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:y.calc(z).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,U.Ro)()),{display:"inline-flex",alignItems:"center",color:$,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${b}`]:{verticalAlign:"-0.2em"},"&:hover":{color:R}})}}}},V=(y,P)=>{const{componentCls:b,INTERNAL_FIXED_ITEM_MARGIN:C}=y,w=`${b}-selection-overflow`,z=y.multipleSelectItemHeight,W=j(y),Y=P?`${b}-${P}`:"",$=ce(y);return{[`${b}-multiple${Y}`]:Object.assign(Object.assign({},g(y)),{[`${b}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:$.basePadding,paddingBlock:$.containerPadding,borderRadius:y.borderRadius,[`${b}-disabled&`]:{background:y.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,i.unit)(C)} 0`,lineHeight:(0,i.unit)(z),visibility:"hidden",content:'"\\a0"'}},[`${b}-selection-item`]:{height:$.itemHeight,lineHeight:(0,i.unit)($.itemLineHeight)},[`${b}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,i.unit)(z),marginBlock:C}},[`${b}-prefix`]:{marginInlineStart:y.calc(y.inputPaddingHorizontalBase).sub($.basePadding).equal()},[`${w}-item + ${w}-item,
|
|
|
${b}-prefix + ${b}-selection-wrap
|
|
|
`]:{[`${b}-selection-search`]:{marginInlineStart:0},[`${b}-selection-placeholder`]:{insetInlineStart:0}},[`${w}-item-suffix`]:{minHeight:$.itemHeight,marginBlock:C},[`${b}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:y.calc(y.inputPaddingHorizontalBase).sub(W).equal(),"\n &-input,\n &-mirror\n ":{height:z,fontFamily:y.fontFamily,lineHeight:(0,i.unit)(z),transition:`all ${y.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${b}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:y.calc(y.inputPaddingHorizontalBase).sub($.basePadding).equal(),insetInlineEnd:y.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${y.motionDurationSlow}`}})}};function K(y,P){const{componentCls:b}=y,C=P?`${b}-${P}`:"",w={[`${b}-multiple${C}`]:{fontSize:y.fontSize,[`${b}-selector`]:{[`${b}-show-search&`]:{cursor:"text"}},[`
|
|
|
&${b}-show-arrow ${b}-selector,
|
|
|
&${b}-allow-clear ${b}-selector
|
|
|
`]:{paddingInlineEnd:y.calc(y.fontSizeIcon).add(y.controlPaddingHorizontal).equal()}}};return[V(y,P),w]}const l=y=>{const{componentCls:P}=y,b=(0,L.mergeToken)(y,{selectHeight:y.controlHeightSM,multipleSelectItemHeight:y.multipleItemHeightSM,borderRadius:y.borderRadiusSM,borderRadiusSM:y.borderRadiusXS}),C=(0,L.mergeToken)(y,{fontSize:y.fontSizeLG,selectHeight:y.controlHeightLG,multipleSelectItemHeight:y.multipleItemHeightLG,borderRadius:y.borderRadiusLG,borderRadiusSM:y.borderRadius});return[K(y),K(b,"sm"),{[`${P}-multiple${P}-sm`]:{[`${P}-selection-placeholder`]:{insetInline:y.calc(y.controlPaddingHorizontalSM).sub(y.lineWidth).equal()},[`${P}-selection-search`]:{marginInlineStart:2}}},K(C,"lg")]};Lt.ZP=l},68525:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});var i=u(59301),U=u(40001),L=u(19248),ce=u(99267),j=u(84105),g=u(58617),V=u(47472);function K(l){let{suffixIcon:y,clearIcon:P,menuItemSelectedIcon:b,removeIcon:C,loading:w,multiple:z,hasFeedback:W,prefixCls:Y,showSuffixIcon:$,feedbackIcon:R,showArrow:G,componentName:O}=l;const T=P!=null?P:i.createElement(L.Z,null),ue=Qe=>y===null&&!W&&!G?null:i.createElement(i.Fragment,null,$!==!1&&Qe,W&&R);let be=null;if(y!==void 0)be=ue(y);else if(w)be=ue(i.createElement(g.Z,{spin:!0}));else{const Qe=`${Y}-suffix`;be=ke=>{let{open:Ze,showSearch:se}=ke;return ue(Ze&&se?i.createElement(V.Z,{className:Qe}):i.createElement(j.Z,{className:Qe}))}}let he=null;b!==void 0?he=b:z?he=i.createElement(U.Z,null):he=null;let Ue=null;return C!==void 0?Ue=C:Ue=i.createElement(ce.Z,null),{clearIcon:T,suffixIcon:be,itemIcon:he,removeIcon:Ue}}},90005:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return i}});function i(U,L){return L!==void 0?L:U!==null}},44104:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return W}});var i=u(59301),U=u(92310),L=u.n(U),ce=u(11592),j=u(99402),g=u(48755),V=u(70045);const K=i.createContext({latestIndex:0}),l=K.Provider;var P=Y=>{let{className:$,index:R,children:G,split:O,style:T}=Y;const{latestIndex:ue}=i.useContext(K);return G==null?null:i.createElement(i.Fragment,null,i.createElement("div",{className:$,style:T},G),R<ue&&O&&i.createElement("span",{className:`${$}-split`},O))},b=u(31547),C=function(Y,$){var R={};for(var G in Y)Object.prototype.hasOwnProperty.call(Y,G)&&$.indexOf(G)<0&&(R[G]=Y[G]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,G=Object.getOwnPropertySymbols(Y);O<G.length;O++)$.indexOf(G[O])<0&&Object.prototype.propertyIsEnumerable.call(Y,G[O])&&(R[G[O]]=Y[G[O]]);return R};const z=i.forwardRef((Y,$)=>{var R;const{getPrefixCls:G,direction:O,size:T,className:ue,style:be,classNames:he,styles:Ue}=(0,g.dj)("space"),{size:Qe=T!=null?T:"small",align:ke,className:Ze,rootClassName:se,children:k,direction:I="horizontal",prefixCls:oe,split:ie,style:Ee,wrap:_=!1,classNames:A,styles:fe}=Y,Be=C(Y,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[ft,At]=Array.isArray(Qe)?Qe:[Qe,Qe],Ie=(0,j.n)(At),it=(0,j.n)(ft),ht=(0,j.T)(At),Tt=(0,j.T)(ft),ze=(0,ce.Z)(k,{keepEmpty:!0}),Jt=ke===void 0&&I==="horizontal"?"center":ke,yt=G("space",oe),[cn,Je,bt]=(0,b.Z)(yt),Ge=L()(yt,ue,Je,`${yt}-${I}`,{[`${yt}-rtl`]:O==="rtl",[`${yt}-align-${Jt}`]:Jt,[`${yt}-gap-row-${At}`]:Ie,[`${yt}-gap-col-${ft}`]:it},Ze,se,bt),Ne=L()(`${yt}-item`,(R=A==null?void 0:A.item)!==null&&R!==void 0?R:he.item);let ne=0;const lt=ze.map((M,_e)=>{var me;M!=null&&(ne=_e);const Te=(M==null?void 0:M.key)||`${Ne}-${_e}`;return i.createElement(P,{className:Ne,key:Te,index:_e,split:ie,style:(me=fe==null?void 0:fe.item)!==null&&me!==void 0?me:Ue.item},M)}),Ke=i.useMemo(()=>({latestIndex:ne}),[ne]);if(ze.length===0)return null;const H={};return _&&(H.flexWrap="wrap"),!it&&Tt&&(H.columnGap=ft),!Ie&&ht&&(H.rowGap=At),cn(i.createElement("div",Object.assign({ref:$,className:Ge,style:Object.assign(Object.assign(Object.assign({},H),be),Ee)},Be),i.createElement(l,{value:Ke},lt)))});z.Compact=V.ZP;var W=z},11938:function(Pn,Lt,u){"use strict";u.d(Lt,{default:function(){return ke}});var i=u(59301),U=u(40192),L=u(22703),ce=u(92310),j=u.n(ce),g=u(26112),V=u(48755),K=u(458),y=Ze=>{const{value:se,formatter:k,precision:I,decimalSeparator:oe,groupSeparator:ie="",prefixCls:Ee}=Ze;let _;if(typeof k=="function")_=k(se);else{const A=String(se),fe=A.match(/^(-?)(\d*)(\.(\d+))?$/);if(!fe||A==="-")_=A;else{const Be=fe[1];let ft=fe[2]||"0",At=fe[4]||"";ft=ft.replace(/\B(?=(\d{3})+(?!\d))/g,ie),typeof I=="number"&&(At=At.padEnd(I,"0").slice(0,I>0?I:0)),At&&(At=`${oe}${At}`),_=[i.createElement("span",{key:"int",className:`${Ee}-content-value-int`},Be,ft),At&&i.createElement("span",{key:"decimal",className:`${Ee}-content-value-decimal`},At)]}}return i.createElement("span",{className:`${Ee}-content-value`},_)},P=u(63356),b=u(16931),C=u(51636);const w=Ze=>{const{componentCls:se,marginXXS:k,padding:I,colorTextDescription:oe,titleFontSize:ie,colorTextHeading:Ee,contentFontSize:_,fontFamily:A}=Ze;return{[se]:Object.assign(Object.assign({},(0,P.Wf)(Ze)),{[`${se}-title`]:{marginBottom:k,color:oe,fontSize:ie},[`${se}-skeleton`]:{paddingTop:I},[`${se}-content`]:{color:Ee,fontSize:_,fontFamily:A,[`${se}-content-value`]:{display:"inline-block",direction:"ltr"},[`${se}-content-prefix, ${se}-content-suffix`]:{display:"inline-block"},[`${se}-content-prefix`]:{marginInlineEnd:k},[`${se}-content-suffix`]:{marginInlineStart:k}}})}},z=Ze=>{const{fontSizeHeading3:se,fontSize:k}=Ze;return{titleFontSize:k,contentFontSize:se}};var W=(0,b.I$)("Statistic",Ze=>{const se=(0,C.mergeToken)(Ze,{});return[w(se)]},z),Y=function(Ze,se){var k={};for(var I in Ze)Object.prototype.hasOwnProperty.call(Ze,I)&&se.indexOf(I)<0&&(k[I]=Ze[I]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,I=Object.getOwnPropertySymbols(Ze);oe<I.length;oe++)se.indexOf(I[oe])<0&&Object.prototype.propertyIsEnumerable.call(Ze,I[oe])&&(k[I[oe]]=Ze[I[oe]]);return k},R=Ze=>{const{prefixCls:se,className:k,rootClassName:I,style:oe,valueStyle:ie,value:Ee=0,title:_,valueRender:A,prefix:fe,suffix:Be,loading:ft=!1,formatter:At,precision:Ie,decimalSeparator:it=".",groupSeparator:ht=",",onMouseEnter:Tt,onMouseLeave:ze}=Ze,Jt=Y(Ze,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:yt,direction:cn,className:Je,style:bt}=(0,V.dj)("statistic"),Ge=yt("statistic",se),[Ne,ne,lt]=W(Ge),Ke=i.createElement(y,{decimalSeparator:it,groupSeparator:ht,prefixCls:Ge,formatter:At,precision:Ie,value:Ee}),H=j()(Ge,{[`${Ge}-rtl`]:cn==="rtl"},Je,k,I,ne,lt),M=(0,g.Z)(Jt,{aria:!0,data:!0});return Ne(i.createElement("div",Object.assign({},M,{className:H,style:Object.assign(Object.assign({},bt),oe),onMouseEnter:Tt,onMouseLeave:ze}),_&&i.createElement("div",{className:`${Ge}-title`},_),i.createElement(K.Z,{paragraph:!1,loading:ft,className:`${Ge}-skeleton`},i.createElement("div",{style:ie,className:`${Ge}-content`},fe&&i.createElement("span",{className:`${Ge}-content-prefix`},fe),A?A(Ke):Ke,Be&&i.createElement("span",{className:`${Ge}-content-suffix`},Be)))))};const G=[["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 O(Ze,se){let k=Ze;const I=/\[[^\]]*]/g,oe=(se.match(I)||[]).map(A=>A.slice(1,-1)),ie=se.replace(I,"[]"),Ee=G.reduce((A,fe)=>{let[Be,ft]=fe;if(A.includes(Be)){const At=Math.floor(k/ft);return k-=At*ft,A.replace(new RegExp(`${Be}+`,"g"),Ie=>{const it=Ie.length;return At.toString().padStart(it,"0")})}return A},ie);let _=0;return Ee.replace(I,()=>{const A=oe[_];return _+=1,A})}function T(Ze,se){const{format:k=""}=se,I=new Date(Ze).getTime(),oe=Date.now(),ie=Math.max(I-oe,0);return O(ie,k)}var ue=function(Ze,se){var k={};for(var I in Ze)Object.prototype.hasOwnProperty.call(Ze,I)&&se.indexOf(I)<0&&(k[I]=Ze[I]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,I=Object.getOwnPropertySymbols(Ze);oe<I.length;oe++)se.indexOf(I[oe])<0&&Object.prototype.propertyIsEnumerable.call(Ze,I[oe])&&(k[I[oe]]=Ze[I[oe]]);return k};const be=1e3/30;function he(Ze){return new Date(Ze).getTime()}const Ue=Ze=>{const{value:se,format:k="HH:mm:ss",onChange:I,onFinish:oe}=Ze,ie=ue(Ze,["value","format","onChange","onFinish"]),Ee=(0,U.Z)(),_=i.useRef(null),A=()=>{oe==null||oe(),_.current&&(clearInterval(_.current),_.current=null)},fe=()=>{const At=he(se);At>=Date.now()&&(_.current=setInterval(()=>{Ee(),I==null||I(At-Date.now()),At<Date.now()&&A()},be))};i.useEffect(()=>(fe(),()=>{_.current&&(clearInterval(_.current),_.current=null)}),[se]);const Be=(At,Ie)=>T(At,Object.assign(Object.assign({},Ie),{format:k})),ft=At=>(0,L.Tm)(At,{title:void 0});return i.createElement(R,Object.assign({},ie,{value:se,valueRender:ft,formatter:Be}))};var Qe=i.memo(Ue);R.Countdown=Qe;var ke=R},93873:function(Pn,Lt,u){"use strict";u.d(Lt,{Fm:function(){return b}});var i=u(36237),U=u(48746);const L=new i.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ce=new i.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),j=new i.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),g=new i.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),V=new i.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),K=new i.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),l=new i.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),y=new i.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),P={"move-up":{inKeyframes:l,outKeyframes:y},"move-down":{inKeyframes:L,outKeyframes:ce},"move-left":{inKeyframes:j,outKeyframes:g},"move-right":{inKeyframes:V,outKeyframes:K}},b=(C,w)=>{const{antCls:z}=C,W=`${z}-${w}`,{inKeyframes:Y,outKeyframes:$}=P[w];return[(0,U.R)(W,Y,$,C.motionDurationMid),{[`
|
|
|
${W}-enter,
|
|
|
${W}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:C.motionEaseOutCirc},[`${W}-leave`]:{animationTimingFunction:C.motionEaseInOutCirc}}]}},46e3:function(Pn,Lt,u){"use strict";u.d(Lt,{Qt:function(){return j},Uw:function(){return ce},fJ:function(){return L},ly:function(){return g},oN:function(){return b}});var i=u(36237),U=u(48746);const L=new i.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),ce=new i.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),j=new i.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),g=new i.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),V=new i.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),K=new i.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),l=new i.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),y=new i.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),P={"slide-up":{inKeyframes:L,outKeyframes:ce},"slide-down":{inKeyframes:j,outKeyframes:g},"slide-left":{inKeyframes:V,outKeyframes:K},"slide-right":{inKeyframes:l,outKeyframes:y}},b=(C,w)=>{const{antCls:z}=C,W=`${z}-${w}`,{inKeyframes:Y,outKeyframes:$}=P[w];return[(0,U.R)(W,Y,$,C.motionDurationMid),{[`
|
|
|
${W}-enter,
|
|
|
${W}-appear
|
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:C.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${W}-leave`]:{animationTimingFunction:C.motionEaseInQuint}}]}},37645:function(Pn,Lt,u){"use strict";u.d(Lt,{ZP:function(){return g},qN:function(){return L},wZ:function(){return ce}});var i=u(36237),U=u(36305);const L=8;function ce(V){const{contentRadius:K,limitVerticalRadius:l}=V,y=K>12?K+2:12;return{arrowOffsetHorizontal:y,arrowOffsetVertical:l?L:y}}function j(V,K){return V?K:{}}function g(V,K,l){const{componentCls:y,boxShadowPopoverArrow:P,arrowOffsetVertical:b,arrowOffsetHorizontal:C}=V,{arrowDistance:w=0,arrowPlacement:z={left:!0,right:!0,top:!0,bottom:!0}}=l||{};return{[y]:Object.assign(Object.assign(Object.assign(Object.assign({[`${y}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,U.W)(V,K,P)),{"&:before":{background:K}})]},j(!!z.top,{[[`&-placement-top > ${y}-arrow`,`&-placement-topLeft > ${y}-arrow`,`&-placement-topRight > ${y}-arrow`].join(",")]:{bottom:w,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${y}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":C,[`> ${y}-arrow`]:{left:{_skip_check_:!0,value:C}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,i.unit)(C)})`,[`> ${y}-arrow`]:{right:{_skip_check_:!0,value:C}}}})),j(!!z.bottom,{[[`&-placement-bottom > ${y}-arrow`,`&-placement-bottomLeft > ${y}-arrow`,`&-placement-bottomRight > ${y}-arrow`].join(",")]:{top:w,transform:"translateY(-100%)"},[`&-placement-bottom > ${y}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":C,[`> ${y}-arrow`]:{left:{_skip_check_:!0,value:C}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,i.unit)(C)})`,[`> ${y}-arrow`]:{right:{_skip_check_:!0,value:C}}}})),j(!!z.left,{[[`&-placement-left > ${y}-arrow`,`&-placement-leftTop > ${y}-arrow`,`&-placement-leftBottom > ${y}-arrow`].join(",")]:{right:{_skip_check_:!0,value:w},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${y}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${y}-arrow`]:{top:b},[`&-placement-leftBottom > ${y}-arrow`]:{bottom:b}})),j(!!z.right,{[[`&-placement-right > ${y}-arrow`,`&-placement-rightTop > ${y}-arrow`,`&-placement-rightBottom > ${y}-arrow`].join(",")]:{left:{_skip_check_:!0,value:w},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${y}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${y}-arrow`]:{top:b},[`&-placement-rightBottom > ${y}-arrow`]:{bottom:b}}))}}},36305:function(Pn,Lt,u){"use strict";u.d(Lt,{W:function(){return L},w:function(){return U}});var i=u(36237);function U(ce){const{sizePopupArrow:j,borderRadiusXS:g,borderRadiusOuter:V}=ce,K=j/2,l=0,y=K,P=V*1/Math.sqrt(2),b=K-V*(1-1/Math.sqrt(2)),C=K-g*(1/Math.sqrt(2)),w=V*(Math.sqrt(2)-1)+g*(1/Math.sqrt(2)),z=2*K-C,W=w,Y=2*K-P,$=b,R=2*K-l,G=y,O=K*Math.sqrt(2)+V*(Math.sqrt(2)-2),T=V*(Math.sqrt(2)-1),ue=`polygon(${T}px 100%, 50% ${T}px, ${2*K-T}px 100%, ${T}px 100%)`,be=`path('M ${l} ${y} A ${V} ${V} 0 0 0 ${P} ${b} L ${C} ${w} A ${g} ${g} 0 0 1 ${z} ${W} L ${Y} ${$} A ${V} ${V} 0 0 0 ${R} ${G} Z')`;return{arrowShadowWidth:O,arrowPath:be,arrowPolygon:ue}}const L=(ce,j,g)=>{const{sizePopupArrow:V,arrowPolygon:K,arrowPath:l,arrowShadowWidth:y,borderRadiusXS:P,calc:b}=ce;return{pointerEvents:"none",width:V,height:V,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:V,height:b(V).div(2).equal(),background:j,clipPath:{_multi_value_:!0,value:[K,l]},content:'""'},"&::after":{content:'""',position:"absolute",width:y,height:y,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,i.unit)(P)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:g,zIndex:0,background:"transparent"}}}},70858:function(Pn,Lt,u){"use strict";u.d(Lt,{default:function(){return Go}});var i=u(59301),U={},L="rc-table-internal-hook",ce=u(42978),j=u(6089),g=u(34280),V=u(13697),K=u(4676);function l(ve){var ge=i.createContext(void 0),at=function(Vt){var en=Vt.value,vn=Vt.children,un=i.useRef(en);un.current=en;var _n=i.useState(function(){return{getValue:function(){return un.current},listeners:new Set}}),Sn=(0,ce.Z)(_n,1),Qn=Sn[0];return(0,g.Z)(function(){(0,K.unstable_batchedUpdates)(function(){Qn.listeners.forEach(function(Bn){Bn(en)})})},[en]),i.createElement(ge.Provider,{value:Qn},vn)};return{Context:ge,Provider:at,defaultValue:ve}}function y(ve,ge){var at=(0,j.Z)(typeof ge=="function"?ge:function(Bn){if(ge===void 0)return Bn;if(!Array.isArray(ge))return Bn[ge];var Nn={};return ge.forEach(function(Z){Nn[Z]=Bn[Z]}),Nn}),Ct=i.useContext(ve==null?void 0:ve.Context),Vt=Ct||{},en=Vt.listeners,vn=Vt.getValue,un=i.useRef();un.current=at(Ct?vn():ve==null?void 0:ve.defaultValue);var _n=i.useState({}),Sn=(0,ce.Z)(_n,2),Qn=Sn[1];return(0,g.Z)(function(){if(!Ct)return;function Bn(Nn){var Z=at(Nn);(0,V.Z)(un.current,Z,!0)||Qn({})}return en.add(Bn),function(){en.delete(Bn)}},[Ct]),un.current}var P=u(54476),b=u(8654);function C(){var ve=i.createContext(null);function ge(){return i.useContext(ve)}function at(Vt,en){var vn=(0,b.Yr)(Vt),un=function(Sn,Qn){var Bn=vn?{ref:Qn}:{},Nn=i.useRef(0),Z=i.useRef(Sn),c=ge();return c!==null?i.createElement(Vt,(0,P.Z)({},Sn,Bn)):((!en||en(Z.current,Sn))&&(Nn.current+=1),Z.current=Sn,i.createElement(ve.Provider,{value:Nn.current},i.createElement(Vt,(0,P.Z)({},Sn,Bn))))};return vn?i.forwardRef(un):un}function Ct(Vt,en){var vn=(0,b.Yr)(Vt),un=function(Sn,Qn){var Bn=vn?{ref:Qn}:{};return ge(),i.createElement(Vt,(0,P.Z)({},Sn,Bn))};return vn?i.memo(i.forwardRef(un),en):i.memo(un,en)}return{makeImmutable:at,responseImmutable:Ct,useImmutableMark:ge}}var w=C(),z=w.makeImmutable,W=w.responseImmutable,Y=w.useImmutableMark,$=C(),R=$.makeImmutable,G=$.responseImmutable,O=$.useImmutableMark,T=l(),ue=T;function be(ve,ge){var at=React.useRef(0);at.current+=1;var Ct=React.useRef(ve),Vt=[];Object.keys(ve||{}).map(function(vn){var un;(ve==null?void 0:ve[vn])!==((un=Ct.current)===null||un===void 0?void 0:un[vn])&&Vt.push(vn)}),Ct.current=ve;var en=React.useRef([]);return Vt.length&&(en.current=Vt),React.useDebugValue(at.current),React.useDebugValue(en.current.join(", ")),ge&&console.log("".concat(ge,":"),at.current,en.current),at.current}var he=null,Ue=null,Qe=u(76190),ke=u(33885),Ze=u(20068),se=u(92310),k=u.n(se),I=u(80547),oe=u(97938),ie=u(48736),Ee=i.createContext({renderWithProps:!1}),_=Ee,A="RC_TABLE_KEY";function fe(ve){return ve==null?[]:Array.isArray(ve)?ve:[ve]}function Be(ve){var ge=[],at={};return ve.forEach(function(Ct){for(var Vt=Ct||{},en=Vt.key,vn=Vt.dataIndex,un=en||fe(vn).join("-")||A;at[un];)un="".concat(un,"_next");at[un]=!0,ge.push(un)}),ge}function ft(ve){return ve!=null}function At(ve){return typeof ve=="number"&&!Number.isNaN(ve)}function Ie(ve){return ve&&(0,Qe.Z)(ve)==="object"&&!Array.isArray(ve)&&!i.isValidElement(ve)}function it(ve,ge,at,Ct,Vt,en){var vn=i.useContext(_),un=O(),_n=(0,I.Z)(function(){if(ft(Ct))return[Ct];var Sn=ge==null||ge===""?[]:Array.isArray(ge)?ge:[ge],Qn=(0,oe.Z)(ve,Sn),Bn=Qn,Nn=void 0;if(Vt){var Z=Vt(Qn,ve,at);Ie(Z)?(Bn=Z.children,Nn=Z.props,vn.renderWithProps=!0):Bn=Z}return[Bn,Nn]},[un,ve,Ct,ge,Vt,at],function(Sn,Qn){if(en){var Bn=(0,ce.Z)(Sn,2),Nn=Bn[1],Z=(0,ce.Z)(Qn,2),c=Z[1];return en(c,Nn)}return vn.renderWithProps?!0:!(0,V.Z)(Sn,Qn,!0)});return _n}function ht(ve,ge,at,Ct){var Vt=ve+ge-1;return ve<=Ct&&Vt>=at}function Tt(ve,ge){return y(ue,function(at){var Ct=ht(ve,ge||1,at.hoverStartRow,at.hoverEndRow);return[Ct,at.onHover]})}var ze=u(70425),Jt=function(ge){var at=ge.ellipsis,Ct=ge.rowType,Vt=ge.children,en,vn=at===!0?{showTitle:!0}:at;return vn&&(vn.showTitle||Ct==="header")&&(typeof Vt=="string"||typeof Vt=="number"?en=Vt.toString():i.isValidElement(Vt)&&typeof Vt.props.children=="string"&&(en=Vt.props.children)),en};function yt(ve){var ge,at,Ct,Vt,en,vn,un,_n,Sn=ve.component,Qn=ve.children,Bn=ve.ellipsis,Nn=ve.scope,Z=ve.prefixCls,c=ve.className,f=ve.align,h=ve.record,x=ve.render,B=ve.dataIndex,Q=ve.renderIndex,Me=ve.shouldCellUpdate,qe=ve.index,Et=ve.rowType,Yt=ve.colSpan,hn=ve.rowSpan,Cn=ve.fixLeft,kn=ve.fixRight,Hn=ve.firstFixLeft,Wn=ve.lastFixLeft,ir=ve.firstFixRight,Jn=ve.lastFixRight,nr=ve.appendNode,fr=ve.additionalProps,Tr=fr===void 0?{}:fr,Pr=ve.isSticky,mr="".concat(Z,"-cell"),Yr=y(ue,["supportSticky","allColumnsFixedLeft","rowHoverable"]),ni=Yr.supportSticky,Ri=Yr.allColumnsFixedLeft,xi=Yr.rowHoverable,mn=it(h,B,Q,Qn,x,Me),Oi=(0,ce.Z)(mn,2),va=Oi[0],bi=Oi[1],ci={},ca=typeof Cn=="number"&&ni,da=typeof kn=="number"&∋ca&&(ci.position="sticky",ci.left=Cn),da&&(ci.position="sticky",ci.right=kn);var qr=(ge=(at=(Ct=bi==null?void 0:bi.colSpan)!==null&&Ct!==void 0?Ct:Tr.colSpan)!==null&&at!==void 0?at:Yt)!==null&&ge!==void 0?ge:1,yi=(Vt=(en=(vn=bi==null?void 0:bi.rowSpan)!==null&&vn!==void 0?vn:Tr.rowSpan)!==null&&en!==void 0?en:hn)!==null&&Vt!==void 0?Vt:1,Ur=Tt(qe,yi),Jr=(0,ce.Z)(Ur,2),Si=Jr[0],Ii=Jr[1],ea=(0,ze.zX)(function(ta){var Fi;h&&Ii(qe,qe+yi-1),Tr==null||(Fi=Tr.onMouseEnter)===null||Fi===void 0||Fi.call(Tr,ta)}),Qi=(0,ze.zX)(function(ta){var Fi;h&&Ii(-1,-1),Tr==null||(Fi=Tr.onMouseLeave)===null||Fi===void 0||Fi.call(Tr,ta)});if(qr===0||yi===0)return null;var sa=(un=Tr.title)!==null&&un!==void 0?un:Jt({rowType:Et,ellipsis:Bn,children:va}),Na=k()(mr,c,(_n={},(0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)(_n,"".concat(mr,"-fix-left"),ca&&ni),"".concat(mr,"-fix-left-first"),Hn&&ni),"".concat(mr,"-fix-left-last"),Wn&&ni),"".concat(mr,"-fix-left-all"),Wn&&Ri&&ni),"".concat(mr,"-fix-right"),da&&ni),"".concat(mr,"-fix-right-first"),ir&&ni),"".concat(mr,"-fix-right-last"),Jn&&ni),"".concat(mr,"-ellipsis"),Bn),"".concat(mr,"-with-append"),nr),"".concat(mr,"-fix-sticky"),(ca||da)&&Pr&&ni),(0,Ze.Z)(_n,"".concat(mr,"-row-hover"),!bi&&Si)),Tr.className,bi==null?void 0:bi.className),ei={};f&&(ei.textAlign=f);var si=(0,ke.Z)((0,ke.Z)((0,ke.Z)((0,ke.Z)({},bi==null?void 0:bi.style),ci),ei),Tr.style),Bi=va;return(0,Qe.Z)(Bi)==="object"&&!Array.isArray(Bi)&&!i.isValidElement(Bi)&&(Bi=null),Bn&&(Wn||ir)&&(Bi=i.createElement("span",{className:"".concat(mr,"-content")},Bi)),i.createElement(Sn,(0,P.Z)({},bi,Tr,{className:Na,style:si,title:sa,scope:Nn,onMouseEnter:xi?ea:void 0,onMouseLeave:xi?Qi:void 0,colSpan:qr!==1?qr:null,rowSpan:yi!==1?yi:null}),nr,Bi)}var cn=i.memo(yt);function Je(ve,ge,at,Ct,Vt){var en=at[ve]||{},vn=at[ge]||{},un,_n;en.fixed==="left"?un=Ct.left[Vt==="rtl"?ge:ve]:vn.fixed==="right"&&(_n=Ct.right[Vt==="rtl"?ve:ge]);var Sn=!1,Qn=!1,Bn=!1,Nn=!1,Z=at[ge+1],c=at[ve-1],f=Z&&!Z.fixed||c&&!c.fixed||at.every(function(Me){return Me.fixed==="left"});if(Vt==="rtl"){if(un!==void 0){var h=c&&c.fixed==="left";Nn=!h&&f}else if(_n!==void 0){var x=Z&&Z.fixed==="right";Bn=!x&&f}}else if(un!==void 0){var B=Z&&Z.fixed==="left";Sn=!B&&f}else if(_n!==void 0){var Q=c&&c.fixed==="right";Qn=!Q&&f}return{fixLeft:un,fixRight:_n,lastFixLeft:Sn,firstFixRight:Qn,lastFixRight:Bn,firstFixLeft:Nn,isSticky:Ct.isSticky}}var bt=i.createContext({}),Ge=bt;function Ne(ve){var ge=ve.className,at=ve.index,Ct=ve.children,Vt=ve.colSpan,en=Vt===void 0?1:Vt,vn=ve.rowSpan,un=ve.align,_n=y(ue,["prefixCls","direction"]),Sn=_n.prefixCls,Qn=_n.direction,Bn=i.useContext(Ge),Nn=Bn.scrollColumnIndex,Z=Bn.stickyOffsets,c=Bn.flattenColumns,f=at+en-1,h=f+1===Nn?en+1:en,x=Je(at,at+h-1,c,Z,Qn);return i.createElement(cn,(0,P.Z)({className:ge,index:at,component:"td",prefixCls:Sn,record:null,dataIndex:null,align:un,colSpan:h,rowSpan:vn,render:function(){return Ct}},x))}var ne=u(75931),lt=["children"];function Ke(ve){var ge=ve.children,at=(0,ne.Z)(ve,lt);return i.createElement("tr",at,ge)}function H(ve){var ge=ve.children;return ge}H.Row=Ke,H.Cell=Ne;var M=H;function _e(ve){var ge=ve.children,at=ve.stickyOffsets,Ct=ve.flattenColumns,Vt=y(ue,"prefixCls"),en=Ct.length-1,vn=Ct[en],un=i.useMemo(function(){return{stickyOffsets:at,flattenColumns:Ct,scrollColumnIndex:vn!=null&&vn.scrollbar?en:null}},[vn,Ct,en,at]);return i.createElement(Ge.Provider,{value:un},i.createElement("tfoot",{className:"".concat(Vt,"-summary")},ge))}var me=G(_e),Te=M,Fe=u(29301),Xe=u(3465),gt=u(75152),de=u(26112);function xe(ve,ge,at,Ct,Vt,en,vn){ve.push({record:ge,indent:at,index:vn});var un=en(ge),_n=Vt==null?void 0:Vt.has(un);if(ge&&Array.isArray(ge[Ct])&&_n)for(var Sn=0;Sn<ge[Ct].length;Sn+=1)xe(ve,ge[Ct][Sn],at+1,Ct,Vt,en,Sn)}function Pt(ve,ge,at,Ct){var Vt=i.useMemo(function(){if(at!=null&&at.size){for(var en=[],vn=0;vn<(ve==null?void 0:ve.length);vn+=1){var un=ve[vn];xe(en,un,0,ge,at,Ct,vn)}return en}return ve==null?void 0:ve.map(function(_n,Sn){return{record:_n,indent:0,index:Sn}})},[ve,ge,at,Ct]);return Vt}function xt(ve,ge,at,Ct){var Vt=y(ue,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),en=Vt.flattenColumns,vn=Vt.expandableType,un=Vt.expandedKeys,_n=Vt.childrenColumnName,Sn=Vt.onTriggerExpand,Qn=Vt.rowExpandable,Bn=Vt.onRow,Nn=Vt.expandRowByClick,Z=Vt.rowClassName,c=vn==="nest",f=vn==="row"&&(!Qn||Qn(ve)),h=f||c,x=un&&un.has(ge),B=_n&&ve&&ve[_n],Q=(0,ze.zX)(Sn),Me=Bn==null?void 0:Bn(ve,at),qe=Me==null?void 0:Me.onClick,Et=function(kn){Nn&&h&&Sn(ve,kn);for(var Hn=arguments.length,Wn=new Array(Hn>1?Hn-1:0),ir=1;ir<Hn;ir++)Wn[ir-1]=arguments[ir];qe==null||qe.apply(void 0,[kn].concat(Wn))},Yt;typeof Z=="string"?Yt=Z:typeof Z=="function"&&(Yt=Z(ve,at,Ct));var hn=Be(en);return(0,ke.Z)((0,ke.Z)({},Vt),{},{columnsKey:hn,nestExpandable:c,expanded:x,hasNestChildren:B,record:ve,onTriggerExpand:Q,rowSupportExpand:f,expandable:h,rowProps:(0,ke.Z)((0,ke.Z)({},Me),{},{className:k()(Yt,Me==null?void 0:Me.className),onClick:Et})})}function kt(ve){var ge=ve.prefixCls,at=ve.children,Ct=ve.component,Vt=ve.cellComponent,en=ve.className,vn=ve.expanded,un=ve.colSpan,_n=ve.isEmpty,Sn=y(ue,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Qn=Sn.scrollbarSize,Bn=Sn.fixHeader,Nn=Sn.fixColumn,Z=Sn.componentWidth,c=Sn.horizonScroll,f=at;return(_n?c&&Z:Nn)&&(f=i.createElement("div",{style:{width:Z-(Bn&&!_n?Qn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ge,"-expanded-row-fixed")},f)),i.createElement(Ct,{className:en,style:{display:vn?null:"none"}},i.createElement(cn,{component:Vt,prefixCls:ge,colSpan:un},f))}var Mt=kt;function mt(ve){var ge=ve.prefixCls,at=ve.record,Ct=ve.onExpand,Vt=ve.expanded,en=ve.expandable,vn="".concat(ge,"-row-expand-icon");if(!en)return i.createElement("span",{className:k()(vn,"".concat(ge,"-row-spaced"))});var un=function(Sn){Ct(at,Sn),Sn.stopPropagation()};return i.createElement("span",{className:k()(vn,(0,Ze.Z)((0,Ze.Z)({},"".concat(ge,"-row-expanded"),Vt),"".concat(ge,"-row-collapsed"),!Vt)),onClick:un})}function Gt(ve,ge,at){var Ct=[];function Vt(en){(en||[]).forEach(function(vn,un){Ct.push(ge(vn,un)),Vt(vn[at])})}return Vt(ve),Ct}function Zt(ve,ge,at,Ct){return typeof ve=="string"?ve:typeof ve=="function"?ve(ge,at,Ct):""}function Re(ve,ge,at,Ct,Vt){var en=ve.record,vn=ve.prefixCls,un=ve.columnsKey,_n=ve.fixedInfoList,Sn=ve.expandIconColumnIndex,Qn=ve.nestExpandable,Bn=ve.indentSize,Nn=ve.expandIcon,Z=ve.expanded,c=ve.hasNestChildren,f=ve.onTriggerExpand,h=un[at],x=_n[at],B;at===(Sn||0)&&Qn&&(B=i.createElement(i.Fragment,null,i.createElement("span",{style:{paddingLeft:"".concat(Bn*Ct,"px")},className:"".concat(vn,"-row-indent indent-level-").concat(Ct)}),Nn({prefixCls:vn,expanded:Z,expandable:c,record:en,onExpand:f})));var Q;return ge.onCell&&(Q=ge.onCell(en,Vt)),{key:h,fixedInfo:x,appendCellNode:B,additionalCellProps:Q||{}}}function pt(ve){var ge=ve.className,at=ve.style,Ct=ve.record,Vt=ve.index,en=ve.renderIndex,vn=ve.rowKey,un=ve.indent,_n=un===void 0?0:un,Sn=ve.rowComponent,Qn=ve.cellComponent,Bn=ve.scopeCellComponent,Nn=xt(Ct,vn,Vt,_n),Z=Nn.prefixCls,c=Nn.flattenColumns,f=Nn.expandedRowClassName,h=Nn.expandedRowRender,x=Nn.rowProps,B=Nn.expanded,Q=Nn.rowSupportExpand,Me=i.useRef(!1);Me.current||(Me.current=B);var qe=Zt(f,Ct,Vt,_n),Et=i.createElement(Sn,(0,P.Z)({},x,{"data-row-key":vn,className:k()(ge,"".concat(Z,"-row"),"".concat(Z,"-row-level-").concat(_n),x==null?void 0:x.className,(0,Ze.Z)({},qe,_n>=1)),style:(0,ke.Z)((0,ke.Z)({},at),x==null?void 0:x.style)}),c.map(function(Cn,kn){var Hn=Cn.render,Wn=Cn.dataIndex,ir=Cn.className,Jn=Re(Nn,Cn,kn,_n,Vt),nr=Jn.key,fr=Jn.fixedInfo,Tr=Jn.appendCellNode,Pr=Jn.additionalCellProps;return i.createElement(cn,(0,P.Z)({className:ir,ellipsis:Cn.ellipsis,align:Cn.align,scope:Cn.rowScope,component:Cn.rowScope?Bn:Qn,prefixCls:Z,key:nr,record:Ct,index:Vt,renderIndex:en,dataIndex:Wn,render:Hn,shouldCellUpdate:Cn.shouldCellUpdate},fr,{appendNode:Tr,additionalProps:Pr}))})),Yt;if(Q&&(Me.current||B)){var hn=h(Ct,Vt,_n+1,B);Yt=i.createElement(Mt,{expanded:B,className:k()("".concat(Z,"-expanded-row"),"".concat(Z,"-expanded-row-level-").concat(_n+1),qe),prefixCls:Z,component:Sn,cellComponent:Qn,colSpan:c.length,isEmpty:!1},hn)}return i.createElement(i.Fragment,null,Et,Yt)}var E=G(pt);function D(ve){var ge=ve.columnKey,at=ve.onColumnResize,Ct=i.useRef();return(0,g.Z)(function(){Ct.current&&at(ge,Ct.current.offsetWidth)},[]),i.createElement(Fe.Z,{data:ge},i.createElement("td",{ref:Ct,style:{padding:0,border:0,height:0}},i.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var rt=u(29194);function te(ve){var ge=ve.prefixCls,at=ve.columnsKey,Ct=ve.onColumnResize,Vt=i.useRef(null);return i.createElement("tr",{"aria-hidden":"true",className:"".concat(ge,"-measure-row"),style:{height:0,fontSize:0},ref:Vt},i.createElement(Fe.Z.Collection,{onBatchResize:function(vn){(0,rt.Z)(Vt.current)&&vn.forEach(function(un){var _n=un.data,Sn=un.size;Ct(_n,Sn.offsetWidth)})}},at.map(function(en){return i.createElement(D,{key:en,columnKey:en,onColumnResize:Ct})})))}function Ae(ve){var ge=ve.data,at=ve.measureColumnWidth,Ct=y(ue,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Vt=Ct.prefixCls,en=Ct.getComponent,vn=Ct.onColumnResize,un=Ct.flattenColumns,_n=Ct.getRowKey,Sn=Ct.expandedKeys,Qn=Ct.childrenColumnName,Bn=Ct.emptyNode,Nn=Pt(ge,Qn,Sn,_n),Z=i.useRef({renderWithProps:!1}),c=en(["body","wrapper"],"tbody"),f=en(["body","row"],"tr"),h=en(["body","cell"],"td"),x=en(["body","cell"],"th"),B;ge.length?B=Nn.map(function(Me,qe){var Et=Me.record,Yt=Me.indent,hn=Me.index,Cn=_n(Et,qe);return i.createElement(E,{key:Cn,rowKey:Cn,record:Et,index:qe,renderIndex:hn,rowComponent:f,cellComponent:h,scopeCellComponent:x,indent:Yt})}):B=i.createElement(Mt,{expanded:!0,className:"".concat(Vt,"-placeholder"),prefixCls:Vt,component:f,cellComponent:h,colSpan:un.length,isEmpty:!0},Bn);var Q=Be(un);return i.createElement(_.Provider,{value:Z.current},i.createElement(c,{className:"".concat(Vt,"-tbody")},at&&i.createElement(te,{prefixCls:Vt,columnsKey:Q,onColumnResize:vn}),B))}var tn=G(Ae),Ce=["expandable"],Ve="RC_TABLE_INTERNAL_COL_DEFINE";function ut(ve){var ge=ve.expandable,at=(0,ne.Z)(ve,Ce),Ct;return"expandable"in ve?Ct=(0,ke.Z)((0,ke.Z)({},at),ge):Ct=at,Ct.showExpandColumn===!1&&(Ct.expandIconColumnIndex=-1),Ct}var ye=["columnType"];function we(ve){for(var ge=ve.colWidths,at=ve.columns,Ct=ve.columCount,Vt=y(ue,["tableLayout"]),en=Vt.tableLayout,vn=[],un=Ct||at.length,_n=!1,Sn=un-1;Sn>=0;Sn-=1){var Qn=ge[Sn],Bn=at&&at[Sn],Nn=void 0,Z=void 0;if(Bn&&(Nn=Bn[Ve],en==="auto"&&(Z=Bn.minWidth)),Qn||Z||Nn||_n){var c=Nn||{},f=c.columnType,h=(0,ne.Z)(c,ye);vn.unshift(i.createElement("col",(0,P.Z)({key:Sn,style:{width:Qn,minWidth:Z}},h))),_n=!0}}return i.createElement("colgroup",null,vn)}var tt=we,et=u(94480),X=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function St(ve,ge){return(0,i.useMemo)(function(){for(var at=[],Ct=0;Ct<ge;Ct+=1){var Vt=ve[Ct];if(Vt!==void 0)at[Ct]=Vt;else return null}return at},[ve.join("_"),ge])}var Se=i.forwardRef(function(ve,ge){var at=ve.className,Ct=ve.noData,Vt=ve.columns,en=ve.flattenColumns,vn=ve.colWidths,un=ve.columCount,_n=ve.stickyOffsets,Sn=ve.direction,Qn=ve.fixHeader,Bn=ve.stickyTopOffset,Nn=ve.stickyBottomOffset,Z=ve.stickyClassName,c=ve.onScroll,f=ve.maxContentScroll,h=ve.children,x=(0,ne.Z)(ve,X),B=y(ue,["prefixCls","scrollbarSize","isSticky","getComponent"]),Q=B.prefixCls,Me=B.scrollbarSize,qe=B.isSticky,Et=B.getComponent,Yt=Et(["header","table"],"table"),hn=qe&&!Qn?0:Me,Cn=i.useRef(null),kn=i.useCallback(function(Pr){(0,b.mH)(ge,Pr),(0,b.mH)(Cn,Pr)},[]);i.useEffect(function(){var Pr;function mr(Yr){var ni=Yr,Ri=ni.currentTarget,xi=ni.deltaX;xi&&(c({currentTarget:Ri,scrollLeft:Ri.scrollLeft+xi}),Yr.preventDefault())}return(Pr=Cn.current)===null||Pr===void 0||Pr.addEventListener("wheel",mr,{passive:!1}),function(){var Yr;(Yr=Cn.current)===null||Yr===void 0||Yr.removeEventListener("wheel",mr)}},[]);var Hn=i.useMemo(function(){return en.every(function(Pr){return Pr.width})},[en]),Wn=en[en.length-1],ir={fixed:Wn?Wn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Q,"-cell-scrollbar")}}},Jn=(0,i.useMemo)(function(){return hn?[].concat((0,et.Z)(Vt),[ir]):Vt},[hn,Vt]),nr=(0,i.useMemo)(function(){return hn?[].concat((0,et.Z)(en),[ir]):en},[hn,en]),fr=(0,i.useMemo)(function(){var Pr=_n.right,mr=_n.left;return(0,ke.Z)((0,ke.Z)({},_n),{},{left:Sn==="rtl"?[].concat((0,et.Z)(mr.map(function(Yr){return Yr+hn})),[0]):mr,right:Sn==="rtl"?Pr:[].concat((0,et.Z)(Pr.map(function(Yr){return Yr+hn})),[0]),isSticky:qe})},[hn,_n,qe]),Tr=St(vn,un);return i.createElement("div",{style:(0,ke.Z)({overflow:"hidden"},qe?{top:Bn,bottom:Nn}:{}),ref:kn,className:k()(at,(0,Ze.Z)({},Z,!!Z))},i.createElement(Yt,{style:{tableLayout:"fixed",visibility:Ct||Tr?null:"hidden"}},(!Ct||!f||Hn)&&i.createElement(tt,{colWidths:Tr?[].concat((0,et.Z)(Tr),[hn]):[],columCount:un+1,columns:nr}),h((0,ke.Z)((0,ke.Z)({},x),{},{stickyOffsets:fr,columns:Jn,flattenColumns:nr}))))}),Wt=i.memo(Se),Kt=function(ge){var at=ge.cells,Ct=ge.stickyOffsets,Vt=ge.flattenColumns,en=ge.rowComponent,vn=ge.cellComponent,un=ge.onHeaderRow,_n=ge.index,Sn=y(ue,["prefixCls","direction"]),Qn=Sn.prefixCls,Bn=Sn.direction,Nn;un&&(Nn=un(at.map(function(c){return c.column}),_n));var Z=Be(at.map(function(c){return c.column}));return i.createElement(en,Nn,at.map(function(c,f){var h=c.column,x=Je(c.colStart,c.colEnd,Vt,Ct,Bn),B;return h&&h.onHeaderCell&&(B=c.column.onHeaderCell(h)),i.createElement(cn,(0,P.Z)({},c,{scope:h.title?c.colSpan>1?"colgroup":"col":null,ellipsis:h.ellipsis,align:h.align,component:vn,prefixCls:Qn,key:Z[f]},x,{additionalProps:B,rowType:"header"}))}))},Rt=Kt;function le(ve){var ge=[];function at(vn,un){var _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ge[_n]=ge[_n]||[];var Sn=un,Qn=vn.filter(Boolean).map(function(Bn){var Nn={key:Bn.key,className:Bn.className||"",children:Bn.title,column:Bn,colStart:Sn},Z=1,c=Bn.children;return c&&c.length>0&&(Z=at(c,Sn,_n+1).reduce(function(f,h){return f+h},0),Nn.hasSubColumns=!0),"colSpan"in Bn&&(Z=Bn.colSpan),"rowSpan"in Bn&&(Nn.rowSpan=Bn.rowSpan),Nn.colSpan=Z,Nn.colEnd=Nn.colStart+Z-1,ge[_n].push(Nn),Sn+=Z,Z});return Qn}at(ve,0);for(var Ct=ge.length,Vt=function(un){ge[un].forEach(function(_n){!("rowSpan"in _n)&&!_n.hasSubColumns&&(_n.rowSpan=Ct-un)})},en=0;en<Ct;en+=1)Vt(en);return ge}var ae=function(ge){var at=ge.stickyOffsets,Ct=ge.columns,Vt=ge.flattenColumns,en=ge.onHeaderRow,vn=y(ue,["prefixCls","getComponent"]),un=vn.prefixCls,_n=vn.getComponent,Sn=i.useMemo(function(){return le(Ct)},[Ct]),Qn=_n(["header","wrapper"],"thead"),Bn=_n(["header","row"],"tr"),Nn=_n(["header","cell"],"th");return i.createElement(Qn,{className:"".concat(un,"-thead")},Sn.map(function(Z,c){var f=i.createElement(Rt,{key:c,flattenColumns:Vt,cells:Z,stickyOffsets:at,rowComponent:Bn,cellComponent:Nn,onHeaderRow:en,index:c});return f}))},N=G(ae),_t=u(11592);function dt(ve){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ge=="number"?ge:ge.endsWith("%")?ve*parseFloat(ge)/100:null}function nt(ve,ge,at){return i.useMemo(function(){if(ge&&ge>0){var Ct=0,Vt=0;ve.forEach(function(Nn){var Z=dt(ge,Nn.width);Z?Ct+=Z:Vt+=1});var en=Math.max(ge,at),vn=Math.max(en-Ct,Vt),un=Vt,_n=vn/Vt,Sn=0,Qn=ve.map(function(Nn){var Z=(0,ke.Z)({},Nn),c=dt(ge,Z.width);if(c)Z.width=c;else{var f=Math.floor(_n);Z.width=un===1?vn:f,vn-=f,un-=1}return Sn+=Z.width,Z});if(Sn<en){var Bn=en/Sn;vn=en,Qn.forEach(function(Nn,Z){var c=Math.floor(Nn.width*Bn);Nn.width=Z===Qn.length-1?vn:c,vn-=c})}return[Qn,Math.max(Sn,en)]}return[ve,ge]},[ve,ge,at])}var Ft=["children"],Ot=["fixed"];function zt(ve){return(0,_t.Z)(ve).filter(function(ge){return i.isValidElement(ge)}).map(function(ge){var at=ge.key,Ct=ge.props,Vt=Ct.children,en=(0,ne.Z)(Ct,Ft),vn=(0,ke.Z)({key:at},en);return Vt&&(vn.children=zt(Vt)),vn})}function J(ve){return ve.filter(function(ge){return ge&&(0,Qe.Z)(ge)==="object"&&!ge.hidden}).map(function(ge){var at=ge.children;return at&&at.length>0?(0,ke.Z)((0,ke.Z)({},ge),{},{children:J(at)}):ge})}function pe(ve){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ve.filter(function(at){return at&&(0,Qe.Z)(at)==="object"}).reduce(function(at,Ct,Vt){var en=Ct.fixed,vn=en===!0?"left":en,un="".concat(ge,"-").concat(Vt),_n=Ct.children;return _n&&_n.length>0?[].concat((0,et.Z)(at),(0,et.Z)(pe(_n,un).map(function(Sn){return(0,ke.Z)({fixed:vn},Sn)}))):[].concat((0,et.Z)(at),[(0,ke.Z)((0,ke.Z)({key:un},Ct),{},{fixed:vn})])},[])}function It(ve){return ve.map(function(ge){var at=ge.fixed,Ct=(0,ne.Z)(ge,Ot),Vt=at;return at==="left"?Vt="right":at==="right"&&(Vt="left"),(0,ke.Z)({fixed:Vt},Ct)})}function Pe(ve,ge){var at=ve.prefixCls,Ct=ve.columns,Vt=ve.children,en=ve.expandable,vn=ve.expandedKeys,un=ve.columnTitle,_n=ve.getRowKey,Sn=ve.onTriggerExpand,Qn=ve.expandIcon,Bn=ve.rowExpandable,Nn=ve.expandIconColumnIndex,Z=ve.direction,c=ve.expandRowByClick,f=ve.columnWidth,h=ve.fixed,x=ve.scrollWidth,B=ve.clientWidth,Q=i.useMemo(function(){var Wn=Ct||zt(Vt)||[];return J(Wn.slice())},[Ct,Vt]),Me=i.useMemo(function(){if(en){var Wn=Q.slice();if(!Wn.includes(U)){var ir=Nn||0;ir>=0&&(ir||h==="left"||!h)&&Wn.splice(ir,0,U),h==="right"&&Wn.splice(Q.length,0,U)}var Jn=Wn.indexOf(U);Wn=Wn.filter(function(Pr,mr){return Pr!==U||mr===Jn});var nr=Q[Jn],fr;h?fr=h:fr=nr?nr.fixed:null;var Tr=(0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)({},Ve,{className:"".concat(at,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",un),"fixed",fr),"className","".concat(at,"-row-expand-icon-cell")),"width",f),"render",function(mr,Yr,ni){var Ri=_n(Yr,ni),xi=vn.has(Ri),mn=Bn?Bn(Yr):!0,Oi=Qn({prefixCls:at,expanded:xi,expandable:mn,record:Yr,onExpand:Sn});return c?i.createElement("span",{onClick:function(bi){return bi.stopPropagation()}},Oi):Oi});return Wn.map(function(Pr){return Pr===U?Tr:Pr})}return Q.filter(function(Pr){return Pr!==U})},[en,Q,_n,vn,Qn,Z]),qe=i.useMemo(function(){var Wn=Me;return ge&&(Wn=ge(Wn)),Wn.length||(Wn=[{render:function(){return null}}]),Wn},[ge,Me,Z]),Et=i.useMemo(function(){return Z==="rtl"?It(pe(qe)):pe(qe)},[qe,Z,x]),Yt=i.useMemo(function(){for(var Wn=-1,ir=Et.length-1;ir>=0;ir-=1){var Jn=Et[ir].fixed;if(Jn==="left"||Jn===!0){Wn=ir;break}}if(Wn>=0)for(var nr=0;nr<=Wn;nr+=1){var fr=Et[nr].fixed;if(fr!=="left"&&fr!==!0)return!0}var Tr=Et.findIndex(function(Yr){var ni=Yr.fixed;return ni==="right"});if(Tr>=0)for(var Pr=Tr;Pr<Et.length;Pr+=1){var mr=Et[Pr].fixed;if(mr!=="right")return!0}return!1},[Et]),hn=nt(Et,x,B),Cn=(0,ce.Z)(hn,2),kn=Cn[0],Hn=Cn[1];return[qe,kn,Hn,Yt]}var Le=Pe;function re(ve,ge,at){var Ct=ut(ve),Vt=Ct.expandIcon,en=Ct.expandedRowKeys,vn=Ct.defaultExpandedRowKeys,un=Ct.defaultExpandAllRows,_n=Ct.expandedRowRender,Sn=Ct.onExpand,Qn=Ct.onExpandedRowsChange,Bn=Ct.childrenColumnName,Nn=Vt||mt,Z=Bn||"children",c=i.useMemo(function(){return _n?"row":ve.expandable&&ve.internalHooks===L&&ve.expandable.__PARENT_RENDER_ICON__||ge.some(function(qe){return qe&&(0,Qe.Z)(qe)==="object"&&qe[Z]})?"nest":!1},[!!_n,ge]),f=i.useState(function(){return vn||(un?Gt(ge,at,Z):[])}),h=(0,ce.Z)(f,2),x=h[0],B=h[1],Q=i.useMemo(function(){return new Set(en||x||[])},[en,x]),Me=i.useCallback(function(qe){var Et=at(qe,ge.indexOf(qe)),Yt,hn=Q.has(Et);hn?(Q.delete(Et),Yt=(0,et.Z)(Q)):Yt=[].concat((0,et.Z)(Q),[Et]),B(Yt),Sn&&Sn(!hn,qe),Qn&&Qn(Yt)},[at,Q,ge,Sn,Qn]);return[Ct,c,Q,Nn,Z,Me]}function De(ve,ge,at){var Ct=ve.map(function(Vt,en){return Je(en,en,ve,ge,at)});return(0,I.Z)(function(){return Ct},[Ct],function(Vt,en){return!(0,V.Z)(Vt,en)})}function $e(ve){var ge=(0,i.useRef)(ve),at=(0,i.useState)({}),Ct=(0,ce.Z)(at,2),Vt=Ct[1],en=(0,i.useRef)(null),vn=(0,i.useRef)([]);function un(_n){vn.current.push(_n);var Sn=Promise.resolve();en.current=Sn,Sn.then(function(){if(en.current===Sn){var Qn=vn.current,Bn=ge.current;vn.current=[],Qn.forEach(function(Nn){ge.current=Nn(ge.current)}),en.current=null,Bn!==ge.current&&Vt({})}})}return(0,i.useEffect)(function(){return function(){en.current=null}},[]),[ge.current,un]}function je(ve){var ge=(0,i.useRef)(ve||null),at=(0,i.useRef)();function Ct(){window.clearTimeout(at.current)}function Vt(vn){ge.current=vn,Ct(),at.current=window.setTimeout(function(){ge.current=null,at.current=void 0},100)}function en(){return ge.current}return(0,i.useEffect)(function(){return Ct},[]),[Vt,en]}function st(){var ve=i.useState(-1),ge=(0,ce.Z)(ve,2),at=ge[0],Ct=ge[1],Vt=i.useState(-1),en=(0,ce.Z)(Vt,2),vn=en[0],un=en[1],_n=i.useCallback(function(Sn,Qn){Ct(Sn),un(Qn)},[]);return[at,vn,_n]}var qt=u(47273),ln=(0,qt.Z)()?window:null;function Oe(ve,ge){var at=(0,Qe.Z)(ve)==="object"?ve:{},Ct=at.offsetHeader,Vt=Ct===void 0?0:Ct,en=at.offsetSummary,vn=en===void 0?0:en,un=at.offsetScroll,_n=un===void 0?0:un,Sn=at.getContainer,Qn=Sn===void 0?function(){return ln}:Sn,Bn=Qn()||ln,Nn=!!ve;return i.useMemo(function(){return{isSticky:Nn,stickyClassName:Nn?"".concat(ge,"-sticky-holder"):"",offsetHeader:Vt,offsetSummary:vn,offsetScroll:_n,container:Bn}},[Nn,_n,Vt,vn,ge,Bn])}function ot(ve,ge,at){var Ct=(0,i.useMemo)(function(){var Vt=ge.length,en=function(Sn,Qn,Bn){for(var Nn=[],Z=0,c=Sn;c!==Qn;c+=Bn)Nn.push(Z),ge[c].fixed&&(Z+=ve[c]||0);return Nn},vn=en(0,Vt,1),un=en(Vt-1,-1,-1).reverse();return at==="rtl"?{left:un,right:vn}:{left:vn,right:un}},[ve,ge,at]);return Ct}var wt=ot;function Qt(ve){var ge=ve.className,at=ve.children;return i.createElement("div",{className:ge},at)}var Xt=Qt,Ye=u(8224),ct=u(16089),Nt=u(76846);function Bt(ve){var ge=(0,Nt.bn)(ve),at=ge.getBoundingClientRect(),Ct=document.documentElement;return{left:at.left+(window.pageXOffset||Ct.scrollLeft)-(Ct.clientLeft||document.body.clientLeft||0),top:at.top+(window.pageYOffset||Ct.scrollTop)-(Ct.clientTop||document.body.clientTop||0)}}var Ht=function(ge,at){var Ct,Vt,en=ge.scrollBodyRef,vn=ge.onScroll,un=ge.offsetScroll,_n=ge.container,Sn=ge.direction,Qn=y(ue,"prefixCls"),Bn=((Ct=en.current)===null||Ct===void 0?void 0:Ct.scrollWidth)||0,Nn=((Vt=en.current)===null||Vt===void 0?void 0:Vt.clientWidth)||0,Z=Bn&&Nn*(Nn/Bn),c=i.useRef(),f=$e({scrollLeft:0,isHiddenScrollBar:!0}),h=(0,ce.Z)(f,2),x=h[0],B=h[1],Q=i.useRef({delta:0,x:0}),Me=i.useState(!1),qe=(0,ce.Z)(Me,2),Et=qe[0],Yt=qe[1],hn=i.useRef(null);i.useEffect(function(){return function(){ct.Z.cancel(hn.current)}},[]);var Cn=function(){Yt(!1)},kn=function(nr){nr.persist(),Q.current.delta=nr.pageX-x.scrollLeft,Q.current.x=0,Yt(!0),nr.preventDefault()},Hn=function(nr){var fr,Tr=nr||((fr=window)===null||fr===void 0?void 0:fr.event),Pr=Tr.buttons;if(!Et||Pr===0){Et&&Yt(!1);return}var mr=Q.current.x+nr.pageX-Q.current.x-Q.current.delta,Yr=Sn==="rtl";mr=Math.max(Yr?Z-Nn:0,Math.min(Yr?0:Nn-Z,mr));var ni=!Yr||Math.abs(mr)+Math.abs(Z)<Nn;ni&&(vn({scrollLeft:mr/Nn*(Bn+2)}),Q.current.x=nr.pageX)},Wn=function(){ct.Z.cancel(hn.current),hn.current=(0,ct.Z)(function(){if(en.current){var nr=Bt(en.current).top,fr=nr+en.current.offsetHeight,Tr=_n===window?document.documentElement.scrollTop+window.innerHeight:Bt(_n).top+_n.clientHeight;fr-(0,gt.Z)()<=Tr||nr>=Tr-un?B(function(Pr){return(0,ke.Z)((0,ke.Z)({},Pr),{},{isHiddenScrollBar:!0})}):B(function(Pr){return(0,ke.Z)((0,ke.Z)({},Pr),{},{isHiddenScrollBar:!1})})}})},ir=function(nr){B(function(fr){return(0,ke.Z)((0,ke.Z)({},fr),{},{scrollLeft:nr/Bn*Nn||0})})};return i.useImperativeHandle(at,function(){return{setScrollLeft:ir,checkScrollBarVisible:Wn}}),i.useEffect(function(){var Jn=(0,Ye.Z)(document.body,"mouseup",Cn,!1),nr=(0,Ye.Z)(document.body,"mousemove",Hn,!1);return Wn(),function(){Jn.remove(),nr.remove()}},[Z,Et]),i.useEffect(function(){if(en.current){for(var Jn=[],nr=(0,Nt.bn)(en.current);nr;)Jn.push(nr),nr=nr.parentElement;return Jn.forEach(function(fr){return fr.addEventListener("scroll",Wn,!1)}),window.addEventListener("resize",Wn,!1),window.addEventListener("scroll",Wn,!1),_n.addEventListener("scroll",Wn,!1),function(){Jn.forEach(function(fr){return fr.removeEventListener("scroll",Wn)}),window.removeEventListener("resize",Wn),window.removeEventListener("scroll",Wn),_n.removeEventListener("scroll",Wn)}}},[_n]),i.useEffect(function(){x.isHiddenScrollBar||B(function(Jn){var nr=en.current;return nr?(0,ke.Z)((0,ke.Z)({},Jn),{},{scrollLeft:nr.scrollLeft/nr.scrollWidth*nr.clientWidth}):Jn})},[x.isHiddenScrollBar]),Bn<=Nn||!Z||x.isHiddenScrollBar?null:i.createElement("div",{style:{height:(0,gt.Z)(),width:Nn,bottom:un},className:"".concat(Qn,"-sticky-scroll")},i.createElement("div",{onMouseDown:kn,ref:c,className:k()("".concat(Qn,"-sticky-scroll-bar"),(0,Ze.Z)({},"".concat(Qn,"-sticky-scroll-bar-active"),Et)),style:{width:"".concat(Z,"px"),transform:"translate3d(".concat(x.scrollLeft,"px, 0, 0)")}}))},vt=i.forwardRef(Ht);function an(ve){return null}var sn=an;function gn(ve){return null}var bn=gn,In="rc-table",wn=[],An={};function Fn(){return"No Data"}function Mn(ve,ge){var at=(0,ke.Z)({rowKey:"key",prefixCls:In,emptyText:Fn},ve),Ct=at.prefixCls,Vt=at.className,en=at.rowClassName,vn=at.style,un=at.data,_n=at.rowKey,Sn=at.scroll,Qn=at.tableLayout,Bn=at.direction,Nn=at.title,Z=at.footer,c=at.summary,f=at.caption,h=at.id,x=at.showHeader,B=at.components,Q=at.emptyText,Me=at.onRow,qe=at.onHeaderRow,Et=at.onScroll,Yt=at.internalHooks,hn=at.transformColumns,Cn=at.internalRefs,kn=at.tailor,Hn=at.getContainerWidth,Wn=at.sticky,ir=at.rowHoverable,Jn=ir===void 0?!0:ir,nr=un||wn,fr=!!nr.length,Tr=Yt===L,Pr=i.useCallback(function(Pi,Hi){return(0,oe.Z)(B,Pi)||Hi},[B]),mr=i.useMemo(function(){return typeof _n=="function"?_n:function(Pi){var Hi=Pi&&Pi[_n];return Hi}},[_n]),Yr=Pr(["body"]),ni=st(),Ri=(0,ce.Z)(ni,3),xi=Ri[0],mn=Ri[1],Oi=Ri[2],va=re(at,nr,mr),bi=(0,ce.Z)(va,6),ci=bi[0],ca=bi[1],da=bi[2],qr=bi[3],yi=bi[4],Ur=bi[5],Jr=Sn==null?void 0:Sn.x,Si=i.useState(0),Ii=(0,ce.Z)(Si,2),ea=Ii[0],Qi=Ii[1],sa=Le((0,ke.Z)((0,ke.Z)((0,ke.Z)({},at),ci),{},{expandable:!!ci.expandedRowRender,columnTitle:ci.columnTitle,expandedKeys:da,getRowKey:mr,onTriggerExpand:Ur,expandIcon:qr,expandIconColumnIndex:ci.expandIconColumnIndex,direction:Bn,scrollWidth:Tr&&kn&&typeof Jr=="number"?Jr:null,clientWidth:ea}),Tr?hn:null),Na=(0,ce.Z)(sa,4),ei=Na[0],si=Na[1],Bi=Na[2],ta=Na[3],Fi=Bi!=null?Bi:Jr,Wa=i.useMemo(function(){return{columns:ei,flattenColumns:si}},[ei,si]),pa=i.useRef(),os=i.useRef(),ba=i.useRef(),Ji=i.useRef();i.useImperativeHandle(ge,function(){return{nativeElement:pa.current,scrollTo:function(Hi){var Ba;if(ba.current instanceof HTMLElement){var ls=Hi.index,Fa=Hi.top,Lo=Hi.key;if(At(Fa)){var ho;(ho=ba.current)===null||ho===void 0||ho.scrollTo({top:Fa})}else{var io,yo=Lo!=null?Lo:mr(nr[ls]);(io=ba.current.querySelector('[data-row-key="'.concat(yo,'"]')))===null||io===void 0||io.scrollIntoView()}}else(Ba=ba.current)!==null&&Ba!==void 0&&Ba.scrollTo&&ba.current.scrollTo(Hi)}}});var fa=i.useRef(),oa=i.useState(!1),ka=(0,ce.Z)(oa,2),Ra=ka[0],Gi=ka[1],wa=i.useState(!1),la=(0,ce.Z)(wa,2),Va=la[0],_a=la[1],Ja=i.useState(new Map),xs=(0,ce.Z)(Ja,2),fo=xs[0],Sa=xs[1],Do=Be(si),qa=Do.map(function(Pi){return fo.get(Pi)}),ms=i.useMemo(function(){return qa},[qa.join("_")]),ps=wt(ms,si,Bn),is=Sn&&ft(Sn.y),es=Sn&&ft(Fi)||!!ci.fixed,Es=es&&si.some(function(Pi){var Hi=Pi.fixed;return Hi}),Ns=i.useRef(),Ss=Oe(Wn,Ct),Us=Ss.isSticky,ts=Ss.offsetHeader,Tl=Ss.offsetSummary,cl=Ss.offsetScroll,gs=Ss.stickyClassName,dl=Ss.container,Ei=i.useMemo(function(){return c==null?void 0:c(nr)},[c,nr]),qi=(is||Us)&&i.isValidElement(Ei)&&Ei.type===M&&Ei.props.fixed,ha,La,ns;is&&(La={overflowY:fr?"scroll":"auto",maxHeight:Sn.y}),es&&(ha={overflowX:"auto"},is||(La={overflowY:"hidden"}),ns={width:Fi===!0?"auto":Fi,minWidth:"100%"});var Cs=i.useCallback(function(Pi,Hi){Sa(function(Ba){if(Ba.get(Pi)!==Hi){var ls=new Map(Ba);return ls.set(Pi,Hi),ls}return Ba})},[]),As=je(null),Ga=(0,ce.Z)(As,2),Ql=Ga[0],Il=Ga[1];function Yo(Pi,Hi){Hi&&(typeof Hi=="function"?Hi(Pi):Hi.scrollLeft!==Pi&&(Hi.scrollLeft=Pi,Hi.scrollLeft!==Pi&&setTimeout(function(){Hi.scrollLeft=Pi},0)))}var vo=(0,j.Z)(function(Pi){var Hi=Pi.currentTarget,Ba=Pi.scrollLeft,ls=Bn==="rtl",Fa=typeof Ba=="number"?Ba:Hi.scrollLeft,Lo=Hi||An;if(!Il()||Il()===Lo){var ho;Ql(Lo),Yo(Fa,os.current),Yo(Fa,ba.current),Yo(Fa,fa.current),Yo(Fa,(ho=Ns.current)===null||ho===void 0?void 0:ho.setScrollLeft)}var io=Hi||os.current;if(io){var yo=Tr&&kn&&typeof Fi=="number"?Fi:io.scrollWidth,Oo=io.clientWidth;if(yo===Oo){Gi(!1),_a(!1);return}ls?(Gi(-Fa<yo-Oo),_a(-Fa>0)):(Gi(Fa>0),_a(Fa<yo-Oo))}}),Dl=(0,j.Z)(function(Pi){vo(Pi),Et==null||Et(Pi)}),Rl=function(){if(es&&ba.current){var Hi;vo({currentTarget:(0,Nt.bn)(ba.current),scrollLeft:(Hi=ba.current)===null||Hi===void 0?void 0:Hi.scrollLeft})}else Gi(!1),_a(!1)},Ll=function(Hi){var Ba,ls=Hi.width;(Ba=Ns.current)===null||Ba===void 0||Ba.checkScrollBarVisible();var Fa=pa.current?pa.current.offsetWidth:ls;Tr&&Hn&&pa.current&&(Fa=Hn(pa.current,Fa)||Fa),Fa!==ea&&(Rl(),Qi(Fa))},Ol=i.useRef(!1);i.useEffect(function(){Ol.current&&Rl()},[es,un,ei.length]),i.useEffect(function(){Ol.current=!0},[]);var Jl=i.useState(0),Pl=(0,ce.Z)(Jl,2),Xo=Pl[0],Ml=Pl[1],ql=i.useState(!0),Nl=(0,ce.Z)(ql,2),fl=Nl[0],hl=Nl[1];(0,g.Z)(function(){(!kn||!Tr)&&(ba.current instanceof Element?Ml((0,gt.o)(ba.current).width):Ml((0,gt.o)(Ji.current).width)),hl((0,Xe.G)("position","sticky"))},[]),i.useEffect(function(){Tr&&Cn&&(Cn.body.current=ba.current)});var eu=i.useCallback(function(Pi){return i.createElement(i.Fragment,null,i.createElement(N,Pi),qi==="top"&&i.createElement(me,Pi,Ei))},[qi,Ei]),ml=i.useCallback(function(Pi){return i.createElement(me,Pi,Ei)},[Ei]),Qo=Pr(["table"],"table"),Ro=i.useMemo(function(){return Qn||(Es?Fi==="max-content"?"auto":"fixed":is||Us||si.some(function(Pi){var Hi=Pi.ellipsis;return Hi})?"fixed":"auto")},[is,Es,si,Qn,Us]),pl,gl={colWidths:ms,columCount:si.length,stickyOffsets:ps,onHeaderRow:qe,fixHeader:is,scroll:Sn},vl=i.useMemo(function(){return fr?null:typeof Q=="function"?Q():Q},[fr,Q]),Ts=i.createElement(tn,{data:nr,measureColumnWidth:is||es||Us}),Ia=i.createElement(tt,{colWidths:si.map(function(Pi){var Hi=Pi.width;return Hi}),columns:si}),no=f!=null?i.createElement("caption",{className:"".concat(Ct,"-caption")},f):void 0,ro=(0,de.Z)(at,{data:!0}),kl=(0,de.Z)(at,{aria:!0});if(is||Us){var yl;typeof Yr=="function"?(yl=Yr(nr,{scrollbarSize:Xo,ref:ba,onScroll:vo}),gl.colWidths=si.map(function(Pi,Hi){var Ba=Pi.width,ls=Hi===si.length-1?Ba-Xo:Ba;return typeof ls=="number"&&!Number.isNaN(ls)?ls:0})):yl=i.createElement("div",{style:(0,ke.Z)((0,ke.Z)({},ha),La),onScroll:Dl,ref:ba,className:k()("".concat(Ct,"-body"))},i.createElement(Qo,(0,P.Z)({style:(0,ke.Z)((0,ke.Z)({},ns),{},{tableLayout:Ro})},kl),no,Ia,Ts,!qi&&Ei&&i.createElement(me,{stickyOffsets:ps,flattenColumns:si},Ei)));var Bl=(0,ke.Z)((0,ke.Z)((0,ke.Z)({noData:!nr.length,maxContentScroll:es&&Fi==="max-content"},gl),Wa),{},{direction:Bn,stickyClassName:gs,onScroll:vo});pl=i.createElement(i.Fragment,null,x!==!1&&i.createElement(Wt,(0,P.Z)({},Bl,{stickyTopOffset:ts,className:"".concat(Ct,"-header"),ref:os}),eu),yl,qi&&qi!=="top"&&i.createElement(Wt,(0,P.Z)({},Bl,{stickyBottomOffset:Tl,className:"".concat(Ct,"-summary"),ref:fa}),ml),Us&&ba.current&&ba.current instanceof Element&&i.createElement(vt,{ref:Ns,offsetScroll:cl,scrollBodyRef:ba,onScroll:vo,container:dl,direction:Bn}))}else pl=i.createElement("div",{style:(0,ke.Z)((0,ke.Z)({},ha),La),className:k()("".concat(Ct,"-content")),onScroll:vo,ref:ba},i.createElement(Qo,(0,P.Z)({style:(0,ke.Z)((0,ke.Z)({},ns),{},{tableLayout:Ro})},kl),no,Ia,x!==!1&&i.createElement(N,(0,P.Z)({},gl,Wa)),Ts,Ei&&i.createElement(me,{stickyOffsets:ps,flattenColumns:si},Ei)));var bl=i.createElement("div",(0,P.Z)({className:k()(Ct,Vt,(0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)({},"".concat(Ct,"-rtl"),Bn==="rtl"),"".concat(Ct,"-ping-left"),Ra),"".concat(Ct,"-ping-right"),Va),"".concat(Ct,"-layout-fixed"),Qn==="fixed"),"".concat(Ct,"-fixed-header"),is),"".concat(Ct,"-fixed-column"),Es),"".concat(Ct,"-fixed-column-gapped"),Es&&ta),"".concat(Ct,"-scroll-horizontal"),es),"".concat(Ct,"-has-fix-left"),si[0]&&si[0].fixed),"".concat(Ct,"-has-fix-right"),si[si.length-1]&&si[si.length-1].fixed==="right")),style:vn,id:h,ref:pa},ro),Nn&&i.createElement(Xt,{className:"".concat(Ct,"-title")},Nn(nr)),i.createElement("div",{ref:Ji,className:"".concat(Ct,"-container")},pl),Z&&i.createElement(Xt,{className:"".concat(Ct,"-footer")},Z(nr)));es&&(bl=i.createElement(Fe.Z,{onResize:Ll},bl));var Fl=De(si,ps,Bn),tu=i.useMemo(function(){return{scrollX:Fi,prefixCls:Ct,getComponent:Pr,scrollbarSize:Xo,direction:Bn,fixedInfoList:Fl,isSticky:Us,supportSticky:fl,componentWidth:ea,fixHeader:is,fixColumn:Es,horizonScroll:es,tableLayout:Ro,rowClassName:en,expandedRowClassName:ci.expandedRowClassName,expandIcon:qr,expandableType:ca,expandRowByClick:ci.expandRowByClick,expandedRowRender:ci.expandedRowRender,onTriggerExpand:Ur,expandIconColumnIndex:ci.expandIconColumnIndex,indentSize:ci.indentSize,allColumnsFixedLeft:si.every(function(Pi){return Pi.fixed==="left"}),emptyNode:vl,columns:ei,flattenColumns:si,onColumnResize:Cs,hoverStartRow:xi,hoverEndRow:mn,onHover:Oi,rowExpandable:ci.rowExpandable,onRow:Me,getRowKey:mr,expandedKeys:da,childrenColumnName:yi,rowHoverable:Jn}},[Fi,Ct,Pr,Xo,Bn,Fl,Us,fl,ea,is,Es,es,Ro,en,ci.expandedRowClassName,qr,ca,ci.expandRowByClick,ci.expandedRowRender,Ur,ci.expandIconColumnIndex,ci.indentSize,vl,ei,si,Cs,xi,mn,Oi,ci.rowExpandable,Me,mr,da,yi,Jn]);return i.createElement(ue.Provider,{value:tu},bl)}var rr=i.forwardRef(Mn);function Rn(ve){return R(rr,ve)}var jn=Rn();jn.EXPAND_COLUMN=U,jn.INTERNAL_HOOKS=L,jn.Column=sn,jn.ColumnGroup=bn,jn.Summary=Te;var Yn=jn,er=u(48911),qn=l(null),Kn=l(null);function Ln(ve,ge,at){var Ct=ge||1;return at[ve+Ct]-(at[ve]||0)}function zn(ve){var ge=ve.rowInfo,at=ve.column,Ct=ve.colIndex,Vt=ve.indent,en=ve.index,vn=ve.component,un=ve.renderIndex,_n=ve.record,Sn=ve.style,Qn=ve.className,Bn=ve.inverse,Nn=ve.getHeight,Z=at.render,c=at.dataIndex,f=at.className,h=at.width,x=y(Kn,["columnsOffset"]),B=x.columnsOffset,Q=Re(ge,at,Ct,Vt,en),Me=Q.key,qe=Q.fixedInfo,Et=Q.appendCellNode,Yt=Q.additionalCellProps,hn=Yt.style,Cn=Yt.colSpan,kn=Cn===void 0?1:Cn,Hn=Yt.rowSpan,Wn=Hn===void 0?1:Hn,ir=Ct-1,Jn=Ln(ir,kn,B),nr=kn>1?h-Jn:0,fr=(0,ke.Z)((0,ke.Z)((0,ke.Z)({},hn),Sn),{},{flex:"0 0 ".concat(Jn,"px"),width:"".concat(Jn,"px"),marginRight:nr,pointerEvents:"auto"}),Tr=i.useMemo(function(){return Bn?Wn<=1:kn===0||Wn===0||Wn>1},[Wn,kn,Bn]);Tr?fr.visibility="hidden":Bn&&(fr.height=Nn==null?void 0:Nn(Wn));var Pr=Tr?function(){return null}:Z,mr={};return(Wn===0||kn===0)&&(mr.rowSpan=1,mr.colSpan=1),i.createElement(cn,(0,P.Z)({className:k()(f,Qn),ellipsis:at.ellipsis,align:at.align,scope:at.rowScope,component:vn,prefixCls:ge.prefixCls,key:Me,record:_n,index:en,renderIndex:un,dataIndex:c,render:Pr,shouldCellUpdate:at.shouldCellUpdate},qe,{appendNode:Et,additionalProps:(0,ke.Z)((0,ke.Z)({},Yt),{},{style:fr},mr)}))}var hr=zn,rn=["data","index","className","rowKey","style","extra","getHeight"],nn=i.forwardRef(function(ve,ge){var at=ve.data,Ct=ve.index,Vt=ve.className,en=ve.rowKey,vn=ve.style,un=ve.extra,_n=ve.getHeight,Sn=(0,ne.Z)(ve,rn),Qn=at.record,Bn=at.indent,Nn=at.index,Z=y(ue,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),c=Z.scrollX,f=Z.flattenColumns,h=Z.prefixCls,x=Z.fixColumn,B=Z.componentWidth,Q=y(qn,["getComponent"]),Me=Q.getComponent,qe=xt(Qn,en,Ct,Bn),Et=Me(["body","row"],"div"),Yt=Me(["body","cell"],"div"),hn=qe.rowSupportExpand,Cn=qe.expanded,kn=qe.rowProps,Hn=qe.expandedRowRender,Wn=qe.expandedRowClassName,ir;if(hn&&Cn){var Jn=Hn(Qn,Ct,Bn+1,Cn),nr=Zt(Wn,Qn,Ct,Bn),fr={};x&&(fr={style:(0,Ze.Z)({},"--virtual-width","".concat(B,"px"))});var Tr="".concat(h,"-expanded-row-cell");ir=i.createElement(Et,{className:k()("".concat(h,"-expanded-row"),"".concat(h,"-expanded-row-level-").concat(Bn+1),nr)},i.createElement(cn,{component:Yt,prefixCls:h,className:k()(Tr,(0,Ze.Z)({},"".concat(Tr,"-fixed"),x)),additionalProps:fr},Jn))}var Pr=(0,ke.Z)((0,ke.Z)({},vn),{},{width:c});un&&(Pr.position="absolute",Pr.pointerEvents="none");var mr=i.createElement(Et,(0,P.Z)({},kn,Sn,{"data-row-key":en,ref:hn?null:ge,className:k()(Vt,"".concat(h,"-row"),kn==null?void 0:kn.className,(0,Ze.Z)({},"".concat(h,"-row-extra"),un)),style:(0,ke.Z)((0,ke.Z)({},Pr),kn==null?void 0:kn.style)}),f.map(function(Yr,ni){return i.createElement(hr,{key:ni,component:Yt,rowInfo:qe,column:Yr,colIndex:ni,indent:Bn,index:Ct,renderIndex:Nn,record:Qn,inverse:un,getHeight:_n})}));return hn?i.createElement("div",{ref:ge},mr,ir):mr}),pn=G(nn),or=pn,tr=i.forwardRef(function(ve,ge){var at=ve.data,Ct=ve.onScroll,Vt=y(ue,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),en=Vt.flattenColumns,vn=Vt.onColumnResize,un=Vt.getRowKey,_n=Vt.expandedKeys,Sn=Vt.prefixCls,Qn=Vt.childrenColumnName,Bn=Vt.scrollX,Nn=Vt.direction,Z=y(qn),c=Z.sticky,f=Z.scrollY,h=Z.listItemHeight,x=Z.getComponent,B=Z.onScroll,Q=i.useRef(),Me=Pt(at,Qn,_n,un),qe=i.useMemo(function(){var ir=0;return en.map(function(Jn){var nr=Jn.width,fr=Jn.key;return ir+=nr,[fr,nr,ir]})},[en]),Et=i.useMemo(function(){return qe.map(function(ir){return ir[2]})},[qe]);i.useEffect(function(){qe.forEach(function(ir){var Jn=(0,ce.Z)(ir,2),nr=Jn[0],fr=Jn[1];vn(nr,fr)})},[qe]),i.useImperativeHandle(ge,function(){var ir,Jn={scrollTo:function(fr){var Tr;(Tr=Q.current)===null||Tr===void 0||Tr.scrollTo(fr)},nativeElement:(ir=Q.current)===null||ir===void 0?void 0:ir.nativeElement};return Object.defineProperty(Jn,"scrollLeft",{get:function(){var fr;return((fr=Q.current)===null||fr===void 0?void 0:fr.getScrollInfo().x)||0},set:function(fr){var Tr;(Tr=Q.current)===null||Tr===void 0||Tr.scrollTo({left:fr})}}),Jn});var Yt=function(Jn,nr){var fr,Tr=(fr=Me[nr])===null||fr===void 0?void 0:fr.record,Pr=Jn.onCell;if(Pr){var mr,Yr=Pr(Tr,nr);return(mr=Yr==null?void 0:Yr.rowSpan)!==null&&mr!==void 0?mr:1}return 1},hn=function(Jn){var nr=Jn.start,fr=Jn.end,Tr=Jn.getSize,Pr=Jn.offsetY;if(fr<0)return null;for(var mr=en.filter(function(qr){return Yt(qr,nr)===0}),Yr=nr,ni=function(yi){if(mr=mr.filter(function(Ur){return Yt(Ur,yi)===0}),!mr.length)return Yr=yi,1},Ri=nr;Ri>=0&&!ni(Ri);Ri-=1);for(var xi=en.filter(function(qr){return Yt(qr,fr)!==1}),mn=fr,Oi=function(yi){if(xi=xi.filter(function(Ur){return Yt(Ur,yi)!==1}),!xi.length)return mn=Math.max(yi-1,fr),1},va=fr;va<Me.length&&!Oi(va);va+=1);for(var bi=[],ci=function(yi){var Ur=Me[yi];if(!Ur)return 1;en.some(function(Jr){return Yt(Jr,yi)>1})&&bi.push(yi)},ca=Yr;ca<=mn;ca+=1)ci(ca);var da=bi.map(function(qr){var yi=Me[qr],Ur=un(yi.record,qr),Jr=function(ea){var Qi=qr+ea-1,sa=un(Me[Qi].record,Qi),Na=Tr(Ur,sa);return Na.bottom-Na.top},Si=Tr(Ur);return i.createElement(or,{key:qr,data:yi,rowKey:Ur,index:qr,style:{top:-Pr+Si.top},extra:!0,getHeight:Jr})});return da},Cn=i.useMemo(function(){return{columnsOffset:Et}},[Et]),kn="".concat(Sn,"-tbody"),Hn=x(["body","wrapper"]),Wn={};return c&&(Wn.position="sticky",Wn.bottom=0,(0,Qe.Z)(c)==="object"&&c.offsetScroll&&(Wn.bottom=c.offsetScroll)),i.createElement(Kn.Provider,{value:Cn},i.createElement(er.Z,{fullHeight:!1,ref:Q,prefixCls:"".concat(kn,"-virtual"),styles:{horizontalScrollBar:Wn},className:kn,height:f,itemHeight:h||24,data:Me,itemKey:function(Jn){return un(Jn.record)},component:Hn,scrollWidth:Bn,direction:Nn,onVirtualScroll:function(Jn){var nr,fr=Jn.x;Ct({currentTarget:(nr=Q.current)===null||nr===void 0?void 0:nr.nativeElement,scrollLeft:fr})},onScroll:B,extraRender:hn},function(ir,Jn,nr){var fr=un(ir.record,Jn);return i.createElement(or,{data:ir,rowKey:fr,index:Jn,style:nr.style})}))}),ur=G(tr),lr=ur,Un=function(ge,at){var Ct=at.ref,Vt=at.onScroll;return i.createElement(lr,{ref:Ct,data:ge,onScroll:Vt})};function fn(ve,ge){var at=ve.data,Ct=ve.columns,Vt=ve.scroll,en=ve.sticky,vn=ve.prefixCls,un=vn===void 0?In:vn,_n=ve.className,Sn=ve.listItemHeight,Qn=ve.components,Bn=ve.onScroll,Nn=Vt||{},Z=Nn.x,c=Nn.y;typeof Z!="number"&&(Z=1),typeof c!="number"&&(c=500);var f=(0,ze.zX)(function(B,Q){return(0,oe.Z)(Qn,B)||Q}),h=(0,ze.zX)(Bn),x=i.useMemo(function(){return{sticky:en,scrollY:c,listItemHeight:Sn,getComponent:f,onScroll:h}},[en,c,Sn,f,h]);return i.createElement(qn.Provider,{value:x},i.createElement(Yn,(0,P.Z)({},ve,{className:k()(_n,"".concat(un,"-virtual")),scroll:(0,ke.Z)((0,ke.Z)({},Vt),{},{x:Z}),components:(0,ke.Z)((0,ke.Z)({},Qn),{},{body:at!=null&&at.length?Un:void 0}),columns:Ct,internalHooks:L,tailor:!0,ref:ge})))}var dn=i.forwardRef(fn);function xn(ve){return R(dn,ve)}var Gn=xn(),Xn=null,Er=ve=>null,Cr=ve=>null,wr=u(84105),Kr=u(82661),Fr=u(34643),Lr=u(34061),Sr=u(18929);function Zr(ve){const[ge,at]=(0,i.useState)(null);return[(0,i.useCallback)((en,vn,un)=>{const _n=ge!=null?ge:en,Sn=Math.min(_n||0,en),Qn=Math.max(_n||0,en),Bn=vn.slice(Sn,Qn+1).map(c=>ve(c)),Nn=Bn.some(c=>!un.has(c)),Z=[];return Bn.forEach(c=>{Nn?(un.has(c)||Z.push(c),un.add(c)):(un.delete(c),Z.push(c))}),at(Nn?Qn:null),Z},[ge]),en=>{at(en)}]}var _r=u(32383),Xr=u(62673),Ir=u(75727),Or=u(47889);const Nr={},on="SELECT_ALL",En="SELECT_INVERT",br="SELECT_NONE",Dr=[],Qr=(ve,ge)=>{let at=[];return(ge||[]).forEach(Ct=>{at.push(Ct),Ct&&typeof Ct=="object"&&ve in Ct&&(at=[].concat((0,et.Z)(at),(0,et.Z)(Qr(ve,Ct[ve]))))}),at};var cr=(ve,ge)=>{const{preserveSelectedRowKeys:at,selectedRowKeys:Ct,defaultSelectedRowKeys:Vt,getCheckboxProps:en,onChange:vn,onSelect:un,onSelectAll:_n,onSelectInvert:Sn,onSelectNone:Qn,onSelectMultiple:Bn,columnWidth:Nn,type:Z,selections:c,fixed:f,renderCell:h,hideSelectAll:x,checkStrictly:B=!0}=ge||{},{prefixCls:Q,data:Me,pageData:qe,getRecordByKey:Et,getRowKey:Yt,expandType:hn,childrenColumnName:Cn,locale:kn,getPopupContainer:Hn}=ve,Wn=(0,_r.ln)("Table"),[ir,Jn]=Zr(qr=>qr),[nr,fr]=(0,Sr.Z)(Ct||Vt||Dr,{value:Ct}),Tr=i.useRef(new Map),Pr=(0,i.useCallback)(qr=>{if(at){const yi=new Map;qr.forEach(Ur=>{let Jr=Et(Ur);!Jr&&Tr.current.has(Ur)&&(Jr=Tr.current.get(Ur)),yi.set(Ur,Jr)}),Tr.current=yi}},[Et,at]);i.useEffect(()=>{Pr(nr)},[nr]);const mr=(0,i.useMemo)(()=>Qr(Cn,qe),[Cn,qe]),{keyEntities:Yr}=(0,i.useMemo)(()=>{if(B)return{keyEntities:null};let qr=Me;if(at){const yi=new Set(mr.map((Jr,Si)=>Yt(Jr,Si))),Ur=Array.from(Tr.current).reduce((Jr,Si)=>{let[Ii,ea]=Si;return yi.has(Ii)?Jr:Jr.concat(ea)},[]);qr=[].concat((0,et.Z)(qr),(0,et.Z)(Ur))}return(0,Lr.I8)(qr,{externalGetKey:Yt,childrenPropName:Cn})},[Me,Yt,B,Cn,at,mr]),ni=(0,i.useMemo)(()=>{const qr=new Map;return mr.forEach((yi,Ur)=>{const Jr=Yt(yi,Ur),Si=(en?en(yi):null)||{};qr.set(Jr,Si)}),qr},[mr,Yt,en]),Ri=(0,i.useCallback)(qr=>{const yi=Yt(qr);let Ur;return ni.has(yi)?Ur=ni.get(Yt(qr)):Ur=en?en(qr):void 0,!!(Ur!=null&&Ur.disabled)},[ni,Yt]),[xi,mn]=(0,i.useMemo)(()=>{if(B)return[nr||[],[]];const{checkedKeys:qr,halfCheckedKeys:yi}=(0,Fr.S)(nr,!0,Yr,Ri);return[qr||[],yi]},[nr,B,Yr,Ri]),Oi=(0,i.useMemo)(()=>{const qr=Z==="radio"?xi.slice(0,1):xi;return new Set(qr)},[xi,Z]),va=(0,i.useMemo)(()=>Z==="radio"?new Set:new Set(mn),[mn,Z]);i.useEffect(()=>{ge||fr(Dr)},[!!ge]);const bi=(0,i.useCallback)((qr,yi)=>{let Ur,Jr;Pr(qr),at?(Ur=qr,Jr=qr.map(Si=>Tr.current.get(Si))):(Ur=[],Jr=[],qr.forEach(Si=>{const Ii=Et(Si);Ii!==void 0&&(Ur.push(Si),Jr.push(Ii))})),fr(Ur),vn==null||vn(Ur,Jr,{type:yi})},[fr,Et,vn,at]),ci=(0,i.useCallback)((qr,yi,Ur,Jr)=>{if(un){const Si=Ur.map(Ii=>Et(Ii));un(Et(qr),yi,Si,Jr)}bi(Ur,"single")},[un,Et,bi]),ca=(0,i.useMemo)(()=>!c||x?null:(c===!0?[on,En,br]:c).map(yi=>yi===on?{key:"all",text:kn.selectionAll,onSelect(){bi(Me.map((Ur,Jr)=>Yt(Ur,Jr)).filter(Ur=>{const Jr=ni.get(Ur);return!(Jr!=null&&Jr.disabled)||Oi.has(Ur)}),"all")}}:yi===En?{key:"invert",text:kn.selectInvert,onSelect(){const Ur=new Set(Oi);qe.forEach((Si,Ii)=>{const ea=Yt(Si,Ii),Qi=ni.get(ea);Qi!=null&&Qi.disabled||(Ur.has(ea)?Ur.delete(ea):Ur.add(ea))});const Jr=Array.from(Ur);Sn&&(Wn.deprecated(!1,"onSelectInvert","onChange"),Sn(Jr)),bi(Jr,"invert")}}:yi===br?{key:"none",text:kn.selectNone,onSelect(){Qn==null||Qn(),bi(Array.from(Oi).filter(Ur=>{const Jr=ni.get(Ur);return Jr==null?void 0:Jr.disabled}),"none")}}:yi).map(yi=>Object.assign(Object.assign({},yi),{onSelect:function(){for(var Ur,Jr,Si=arguments.length,Ii=new Array(Si),ea=0;ea<Si;ea++)Ii[ea]=arguments[ea];(Jr=yi.onSelect)===null||Jr===void 0||(Ur=Jr).call.apply(Ur,[yi].concat(Ii)),Jn(null)}})),[c,Oi,qe,Yt,Sn,bi]);return[(0,i.useCallback)(qr=>{var yi;if(!ge)return qr.filter(Ji=>Ji!==Nr);let Ur=(0,et.Z)(qr);const Jr=new Set(Oi),Si=mr.map(Yt).filter(Ji=>!ni.get(Ji).disabled),Ii=Si.every(Ji=>Jr.has(Ji)),ea=Si.some(Ji=>Jr.has(Ji)),Qi=()=>{const Ji=[];Ii?Si.forEach(oa=>{Jr.delete(oa),Ji.push(oa)}):Si.forEach(oa=>{Jr.has(oa)||(Jr.add(oa),Ji.push(oa))});const fa=Array.from(Jr);_n==null||_n(!Ii,fa.map(oa=>Et(oa)),Ji.map(oa=>Et(oa))),bi(fa,"all"),Jn(null)};let sa,Na;if(Z!=="radio"){let Ji;if(ca){const Gi={getPopupContainer:Hn,items:ca.map((wa,la)=>{const{key:Va,text:_a,onSelect:Ja}=wa;return{key:Va!=null?Va:la,onClick:()=>{Ja==null||Ja(Si)},label:_a}})};Ji=i.createElement("div",{className:`${Q}-selection-extra`},i.createElement(Ir.Z,{menu:Gi,getPopupContainer:Hn},i.createElement("span",null,i.createElement(wr.Z,null))))}const fa=mr.map((Gi,wa)=>{const la=Yt(Gi,wa),Va=ni.get(la)||{};return Object.assign({checked:Jr.has(la)},Va)}).filter(Gi=>{let{disabled:wa}=Gi;return wa}),oa=!!fa.length&&fa.length===mr.length,ka=oa&&fa.every(Gi=>{let{checked:wa}=Gi;return wa}),Ra=oa&&fa.some(Gi=>{let{checked:wa}=Gi;return wa});Na=i.createElement(Xr.default,{checked:oa?ka:!!mr.length&&Ii,indeterminate:oa?!ka&&Ra:!Ii&&ea,onChange:Qi,disabled:mr.length===0||oa,"aria-label":Ji?"Custom selection":"Select all",skipGroup:!0}),sa=!x&&i.createElement("div",{className:`${Q}-selection`},Na,Ji)}let ei;Z==="radio"?ei=(Ji,fa,oa)=>{const ka=Yt(fa,oa),Ra=Jr.has(ka),Gi=ni.get(ka);return{node:i.createElement(Or.ZP,Object.assign({},Gi,{checked:Ra,onClick:wa=>{var la;wa.stopPropagation(),(la=Gi==null?void 0:Gi.onClick)===null||la===void 0||la.call(Gi,wa)},onChange:wa=>{var la;Jr.has(ka)||ci(ka,!0,[ka],wa.nativeEvent),(la=Gi==null?void 0:Gi.onChange)===null||la===void 0||la.call(Gi,wa)}})),checked:Ra}}:ei=(Ji,fa,oa)=>{var ka;const Ra=Yt(fa,oa),Gi=Jr.has(Ra),wa=va.has(Ra),la=ni.get(Ra);let Va;return hn==="nest"?Va=wa:Va=(ka=la==null?void 0:la.indeterminate)!==null&&ka!==void 0?ka:wa,{node:i.createElement(Xr.default,Object.assign({},la,{indeterminate:Va,checked:Gi,skipGroup:!0,onClick:_a=>{var Ja;_a.stopPropagation(),(Ja=la==null?void 0:la.onClick)===null||Ja===void 0||Ja.call(la,_a)},onChange:_a=>{var Ja;const{nativeEvent:xs}=_a,{shiftKey:fo}=xs,Sa=Si.findIndex(qa=>qa===Ra),Do=xi.some(qa=>Si.includes(qa));if(fo&&B&&Do){const qa=ir(Sa,Si,Jr),ms=Array.from(Jr);Bn==null||Bn(!Gi,ms.map(ps=>Et(ps)),qa.map(ps=>Et(ps))),bi(ms,"multiple")}else{const qa=xi;if(B){const ms=Gi?(0,Kr._5)(qa,Ra):(0,Kr.L0)(qa,Ra);ci(Ra,!Gi,ms,xs)}else{const ms=(0,Fr.S)([].concat((0,et.Z)(qa),[Ra]),!0,Yr,Ri),{checkedKeys:ps,halfCheckedKeys:is}=ms;let es=ps;if(Gi){const Es=new Set(ps);Es.delete(Ra),es=(0,Fr.S)(Array.from(Es),{checked:!1,halfCheckedKeys:is},Yr,Ri).checkedKeys}ci(Ra,!Gi,es,xs)}}Jn(Gi?null:Sa),(Ja=la==null?void 0:la.onChange)===null||Ja===void 0||Ja.call(la,_a)}})),checked:Gi}};const si=(Ji,fa,oa)=>{const{node:ka,checked:Ra}=ei(Ji,fa,oa);return h?h(Ra,fa,oa,ka):ka};if(!Ur.includes(Nr))if(Ur.findIndex(Ji=>{var fa;return((fa=Ji[Ve])===null||fa===void 0?void 0:fa.columnType)==="EXPAND_COLUMN"})===0){const[Ji,...fa]=Ur;Ur=[Ji,Nr].concat((0,et.Z)(fa))}else Ur=[Nr].concat((0,et.Z)(Ur));const Bi=Ur.indexOf(Nr);Ur=Ur.filter((Ji,fa)=>Ji!==Nr||fa===Bi);const ta=Ur[Bi-1],Fi=Ur[Bi+1];let Wa=f;Wa===void 0&&((Fi==null?void 0:Fi.fixed)!==void 0?Wa=Fi.fixed:(ta==null?void 0:ta.fixed)!==void 0&&(Wa=ta.fixed)),Wa&&ta&&((yi=ta[Ve])===null||yi===void 0?void 0:yi.columnType)==="EXPAND_COLUMN"&&ta.fixed===void 0&&(ta.fixed=Wa);const pa=k()(`${Q}-selection-col`,{[`${Q}-selection-col-with-dropdown`]:c&&Z==="checkbox"}),os=()=>ge!=null&&ge.columnTitle?typeof ge.columnTitle=="function"?ge.columnTitle(Na):ge.columnTitle:sa,ba={fixed:Wa,width:Nn,className:`${Q}-selection-column`,title:os(),render:si,onCell:ge.onCell,[Ve]:{className:pa}};return Ur.map(Ji=>Ji===Nr?ba:Ji)},[Yt,mr,ge,xi,Oi,va,Nn,ca,hn,ni,Bn,ci,Ri]),Oi]},hi=u(2738);function ar(ve,ge){return ve._antProxy=ve._antProxy||{},Object.keys(ge).forEach(at=>{if(!(at in ve._antProxy)){const Ct=ve[at];ve._antProxy[at]=Ct,ve[at]=ge[at]}}),ve}function _i(ve,ge){return(0,i.useImperativeHandle)(ve,()=>{const at=ge(),{nativeElement:Ct}=at;return typeof Proxy!="undefined"?new Proxy(Ct,{get(Vt,en){return at[en]?at[en]:Reflect.get(Vt,en)}}):ar(Ct,at)})}var Yi=u(83010),$i=u(48755),Mi=u(38406),ki=u(83397),Gr=u(31756),Di=u(13783),ra=u(85981),Zi=u(31709),pi=u(29787),Ni=u(57700);function ji(ve){return ge=>{const{prefixCls:at,onExpand:Ct,record:Vt,expanded:en,expandable:vn}=ge,un=`${at}-row-expand-icon`;return i.createElement("button",{type:"button",onClick:_n=>{Ct(Vt,_n),_n.stopPropagation()},className:k()(un,{[`${un}-spaced`]:!vn,[`${un}-expanded`]:vn&&en,[`${un}-collapsed`]:vn&&!en}),"aria-label":en?ve.collapse:ve.expand,"aria-expanded":en})}}var zr=ji;function ri(ve){return(at,Ct)=>{const Vt=at.querySelector(`.${ve}-container`);let en=Ct;if(Vt){const vn=getComputedStyle(Vt),un=parseInt(vn.borderLeftWidth,10),_n=parseInt(vn.borderRightWidth,10);en=Ct-un-_n}return en}}const vr=(ve,ge)=>"key"in ve&&ve.key!==void 0&&ve.key!==null?ve.key:ve.dataIndex?Array.isArray(ve.dataIndex)?ve.dataIndex.join("."):ve.dataIndex:ge;function yr(ve,ge){return ge?`${ge}-${ve}`:`${ve}`}const Mr=(ve,ge)=>typeof ve=="function"?ve(ge):ve,Vr=(ve,ge)=>{const at=Mr(ve,ge);return Object.prototype.toString.call(at)==="[object Object]"?"":at};var wi={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"},xr=wi,Rr=u(7657),kr=function(ge,at){return i.createElement(Rr.Z,(0,P.Z)({},ge,{ref:at,icon:xr}))},jr=i.forwardRef(kr),ii=jr,ma=u(9981),Xi=u(40192);function ua(ve){const ge=i.useRef(ve),at=(0,Xi.Z)();return[()=>ge.current,Ct=>{ge.current=Ct,at()}]}var mi=u(7939),ai=u(584),Ai=u(93041),Li=u(78857),ia=u(18287),ya=u(47472),Ca=u(49397),$a=ve=>{const{value:ge,filterSearch:at,tablePrefixCls:Ct,locale:Vt,onChange:en}=ve;return at?i.createElement("div",{className:`${Ct}-filter-dropdown-search`},i.createElement(Ca.Z,{prefix:i.createElement(ya.Z,null),placeholder:Vt.filterSearchPlaceholder,onChange:en,value:ge,htmlSize:1,className:`${Ct}-filter-dropdown-search-input`})):null},Aa=u(10228);const vs=ve=>{const{keyCode:ge}=ve;ge===Aa.Z.ENTER&&ve.stopPropagation()};var Ds=i.forwardRef((ve,ge)=>i.createElement("div",{className:ve.className,onClick:at=>at.stopPropagation(),onKeyDown:vs,ref:ge},ve.children));function za(ve){let ge=[];return(ve||[]).forEach(at=>{let{value:Ct,children:Vt}=at;ge.push(Ct),Vt&&(ge=[].concat((0,et.Z)(ge),(0,et.Z)(za(Vt))))}),ge}function Rs(ve){return ve.some(ge=>{let{children:at}=ge;return at})}function Za(ve,ge){return typeof ge=="string"||typeof ge=="number"?ge==null?void 0:ge.toString().toLowerCase().includes(ve.trim().toLowerCase()):!1}function Fs(ve){let{filters:ge,prefixCls:at,filteredKeys:Ct,filterMultiple:Vt,searchValue:en,filterSearch:vn}=ve;return ge.map((un,_n)=>{const Sn=String(un.value);if(un.children)return{key:Sn||_n,label:un.text,popupClassName:`${at}-dropdown-submenu`,children:Fs({filters:un.children,prefixCls:at,filteredKeys:Ct,filterMultiple:Vt,searchValue:en,filterSearch:vn})};const Qn=Vt?Xr.default:Or.ZP,Bn={key:un.value!==void 0?Sn:_n,label:i.createElement(i.Fragment,null,i.createElement(Qn,{checked:Ct.includes(Sn)}),i.createElement("span",null,un.text))};return en.trim()?typeof vn=="function"?vn(en,un)?Bn:null:Za(en,un.text)?Bn:null:Bn})}function zs(ve){return ve||[]}var Vs=ve=>{var ge,at,Ct,Vt;const{tablePrefixCls:en,prefixCls:vn,column:un,dropdownPrefixCls:_n,columnKey:Sn,filterOnClose:Qn,filterMultiple:Bn,filterMode:Nn="menu",filterSearch:Z=!1,filterState:c,triggerFilter:f,locale:h,children:x,getPopupContainer:B,rootClassName:Q}=ve,{filterResetToDefaultFilteredValue:Me,defaultFilteredValue:qe,filterDropdownProps:Et={},filterDropdownOpen:Yt,filterDropdownVisible:hn,onFilterDropdownVisibleChange:Cn,onFilterDropdownOpenChange:kn}=un,[Hn,Wn]=i.useState(!1),ir=!!(c&&(!((ge=c.filteredKeys)===null||ge===void 0)&&ge.length||c.forceFiltered)),Jn=ei=>{var si;Wn(ei),(si=Et.onOpenChange)===null||si===void 0||si.call(Et,ei),kn==null||kn(ei),Cn==null||Cn(ei)},nr=(Vt=(Ct=(at=Et.open)!==null&&at!==void 0?at:Yt)!==null&&Ct!==void 0?Ct:hn)!==null&&Vt!==void 0?Vt:Hn,fr=c==null?void 0:c.filteredKeys,[Tr,Pr]=ua(zs(fr)),mr=ei=>{let{selectedKeys:si}=ei;Pr(si)},Yr=(ei,si)=>{let{node:Bi,checked:ta}=si;mr(Bn?{selectedKeys:ei}:{selectedKeys:ta&&Bi.key?[Bi.key]:[]})};i.useEffect(()=>{Hn&&mr({selectedKeys:zs(fr)})},[fr]);const[ni,Ri]=i.useState([]),xi=ei=>{Ri(ei)},[mn,Oi]=i.useState(""),va=ei=>{const{value:si}=ei.target;Oi(si)};i.useEffect(()=>{Hn||Oi("")},[Hn]);const bi=ei=>{const si=ei!=null&&ei.length?ei:null;if(si===null&&(!c||!c.filteredKeys)||(0,V.Z)(si,c==null?void 0:c.filteredKeys,!0))return null;f({column:un,key:Sn,filteredKeys:si})},ci=()=>{Jn(!1),bi(Tr())},ca=function(){let{confirm:ei,closeDropdown:si}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ei&&bi([]),si&&Jn(!1),Oi(""),Pr(Me?(qe||[]).map(Bi=>String(Bi)):[])},da=function(){let{closeDropdown:ei}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ei&&Jn(!1),bi(Tr())},qr=(ei,si)=>{si.source==="trigger"&&(ei&&fr!==void 0&&Pr(zs(fr)),Jn(ei),!ei&&!un.filterDropdown&&Qn&&ci())},yi=k()({[`${_n}-menu-without-submenu`]:!Rs(un.filters||[])}),Ur=ei=>{if(ei.target.checked){const si=za(un==null?void 0:un.filters).map(Bi=>String(Bi));Pr(si)}else Pr([])},Jr=ei=>{let{filters:si}=ei;return(si||[]).map((Bi,ta)=>{const Fi=String(Bi.value),Wa={title:Bi.text,key:Bi.value!==void 0?Fi:String(ta)};return Bi.children&&(Wa.children=Jr({filters:Bi.children})),Wa})},Si=ei=>{var si;return Object.assign(Object.assign({},ei),{text:ei.title,value:ei.key,children:((si=ei.children)===null||si===void 0?void 0:si.map(Bi=>Si(Bi)))||[]})};let Ii;const{direction:ea,renderEmpty:Qi}=i.useContext($i.E_);if(typeof un.filterDropdown=="function")Ii=un.filterDropdown({prefixCls:`${_n}-custom`,setSelectedKeys:ei=>mr({selectedKeys:ei}),selectedKeys:Tr(),confirm:da,clearFilters:ca,filters:un.filters,visible:nr,close:()=>{Jn(!1)}});else if(un.filterDropdown)Ii=un.filterDropdown;else{const ei=Tr()||[],si=()=>{var ta,Fi;const Wa=(ta=Qi==null?void 0:Qi("Table.filter"))!==null&&ta!==void 0?ta:i.createElement(ai.Z,{image:ai.Z.PRESENTED_IMAGE_SIMPLE,description:h.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((un.filters||[]).length===0)return Wa;if(Nn==="tree")return i.createElement(i.Fragment,null,i.createElement($a,{filterSearch:Z,value:mn,onChange:va,tablePrefixCls:en,locale:h}),i.createElement("div",{className:`${en}-filter-dropdown-tree`},Bn?i.createElement(Xr.default,{checked:ei.length===za(un.filters).length,indeterminate:ei.length>0&&ei.length<za(un.filters).length,className:`${en}-filter-dropdown-checkall`,onChange:Ur},(Fi=h==null?void 0:h.filterCheckall)!==null&&Fi!==void 0?Fi:h==null?void 0:h.filterCheckAll):null,i.createElement(ia.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Bn,checkStrictly:!Bn,className:`${_n}-menu`,onCheck:Yr,checkedKeys:ei,selectedKeys:ei,showIcon:!1,treeData:Jr({filters:un.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:mn.trim()?ba=>typeof Z=="function"?Z(mn,Si(ba)):Za(mn,ba.title):void 0})));const pa=Fs({filters:un.filters||[],filterSearch:Z,prefixCls:vn,filteredKeys:Tr(),filterMultiple:Bn,searchValue:mn}),os=pa.every(ba=>ba===null);return i.createElement(i.Fragment,null,i.createElement($a,{filterSearch:Z,value:mn,onChange:va,tablePrefixCls:en,locale:h}),os?Wa:i.createElement(Ai.default,{selectable:!0,multiple:Bn,prefixCls:`${_n}-menu`,className:yi,onSelect:mr,onDeselect:mr,selectedKeys:ei,getPopupContainer:B,openKeys:ni,onOpenChange:xi,items:pa}))},Bi=()=>Me?(0,V.Z)((qe||[]).map(ta=>String(ta)),ei,!0):ei.length===0;Ii=i.createElement(i.Fragment,null,si(),i.createElement("div",{className:`${vn}-dropdown-btns`},i.createElement(mi.ZP,{type:"link",size:"small",disabled:Bi(),onClick:()=>ca()},h.filterReset),i.createElement(mi.ZP,{type:"primary",size:"small",onClick:ci},h.filterConfirm)))}un.filterDropdown&&(Ii=i.createElement(Li.J,{selectable:void 0},Ii)),Ii=i.createElement(Ds,{className:`${vn}-dropdown`},Ii);const sa=()=>{let ei;return typeof un.filterIcon=="function"?ei=un.filterIcon(ir):un.filterIcon?ei=un.filterIcon:ei=i.createElement(ii,null),i.createElement("span",{role:"button",tabIndex:-1,className:k()(`${vn}-trigger`,{active:ir}),onClick:si=>{si.stopPropagation()}},ei)},Na=(0,ma.Z)({trigger:["click"],placement:ea==="rtl"?"bottomLeft":"bottomRight",children:sa(),getPopupContainer:B},Object.assign(Object.assign({},Et),{rootClassName:k()(Q,Et.rootClassName),open:nr,onOpenChange:qr,dropdownRender:()=>typeof(Et==null?void 0:Et.dropdownRender)=="function"?Et.dropdownRender(Ii):Ii}));return i.createElement("div",{className:`${vn}-column`},i.createElement("span",{className:`${en}-column-title`},x),i.createElement(Ir.Z,Object.assign({},Na)))};const ds=(ve,ge,at)=>{let Ct=[];return(ve||[]).forEach((Vt,en)=>{var vn;const un=yr(en,at);if(Vt.filters||"filterDropdown"in Vt||"onFilter"in Vt)if("filteredValue"in Vt){let _n=Vt.filteredValue;"filterDropdown"in Vt||(_n=(vn=_n==null?void 0:_n.map(String))!==null&&vn!==void 0?vn:_n),Ct.push({column:Vt,key:vr(Vt,un),filteredKeys:_n,forceFiltered:Vt.filtered})}else Ct.push({column:Vt,key:vr(Vt,un),filteredKeys:ge&&Vt.defaultFilteredValue?Vt.defaultFilteredValue:void 0,forceFiltered:Vt.filtered});"children"in Vt&&(Ct=[].concat((0,et.Z)(Ct),(0,et.Z)(ds(Vt.children,ge,un))))}),Ct};function Ya(ve,ge,at,Ct,Vt,en,vn,un,_n){return at.map((Sn,Qn)=>{const Bn=yr(Qn,un),{filterOnClose:Nn=!0,filterMultiple:Z=!0,filterMode:c,filterSearch:f}=Sn;let h=Sn;if(h.filters||h.filterDropdown){const x=vr(h,Bn),B=Ct.find(Q=>{let{key:Me}=Q;return x===Me});h=Object.assign(Object.assign({},h),{title:Q=>i.createElement(Vs,{tablePrefixCls:ve,prefixCls:`${ve}-filter`,dropdownPrefixCls:ge,column:h,columnKey:x,filterState:B,filterOnClose:Nn,filterMultiple:Z,filterMode:c,filterSearch:f,triggerFilter:en,locale:Vt,getPopupContainer:vn,rootClassName:_n},Mr(Sn.title,Q))})}return"children"in h&&(h=Object.assign(Object.assign({},h),{children:Ya(ve,ge,h.children,Ct,Vt,en,vn,Bn,_n)})),h})}const Ti=ve=>{const ge={};return ve.forEach(at=>{let{key:Ct,filteredKeys:Vt,column:en}=at;const vn=Ct,{filters:un,filterDropdown:_n}=en;if(_n)ge[vn]=Vt||null;else if(Array.isArray(Vt)){const Sn=za(un);ge[vn]=Sn.filter(Qn=>Vt.includes(String(Qn)))}else ge[vn]=null}),ge},gi=(ve,ge,at)=>ge.reduce((Vt,en)=>{const{column:{onFilter:vn,filters:un},filteredKeys:_n}=en;return vn&&_n&&_n.length?Vt.map(Sn=>Object.assign({},Sn)).filter(Sn=>_n.some(Qn=>{const Bn=za(un),Nn=Bn.findIndex(c=>String(c)===String(Qn)),Z=Nn!==-1?Bn[Nn]:Qn;return Sn[at]&&(Sn[at]=gi(Sn[at],ge,at)),vn(Z,Sn)})):Vt},ve),Ta=ve=>ve.flatMap(ge=>"children"in ge?[ge].concat((0,et.Z)(Ta(ge.children||[]))):[ge]);var Ui=ve=>{const{prefixCls:ge,dropdownPrefixCls:at,mergedColumns:Ct,onFilterChange:Vt,getPopupContainer:en,locale:vn,rootClassName:un}=ve,_n=(0,_r.ln)("Table"),Sn=i.useMemo(()=>Ta(Ct||[]),[Ct]),[Qn,Bn]=i.useState(()=>ds(Sn,!0)),Nn=i.useMemo(()=>{const h=ds(Sn,!1);if(h.length===0)return h;let x=!0,B=!0;if(h.forEach(Q=>{let{filteredKeys:Me}=Q;Me!==void 0?x=!1:B=!1}),x){const Q=(Sn||[]).map((Me,qe)=>vr(Me,yr(qe)));return Qn.filter(Me=>{let{key:qe}=Me;return Q.includes(qe)}).map(Me=>{const qe=Sn[Q.findIndex(Et=>Et===Me.key)];return Object.assign(Object.assign({},Me),{column:Object.assign(Object.assign({},Me.column),qe),forceFiltered:qe.filtered})})}return h},[Sn,Qn]),Z=i.useMemo(()=>Ti(Nn),[Nn]),c=h=>{const x=Nn.filter(B=>{let{key:Q}=B;return Q!==h.key});x.push(h),Bn(x),Vt(Ti(x),x)};return[h=>Ya(ge,at,h,Nn,vn,c,en,void 0,un),Nn,Z]},ja=(ve,ge,at)=>{const Ct=i.useRef({});function Vt(en){var vn;if(!Ct.current||Ct.current.data!==ve||Ct.current.childrenColumnName!==ge||Ct.current.getRowKey!==at){let _n=function(Sn){Sn.forEach((Qn,Bn)=>{const Nn=at(Qn,Bn);un.set(Nn,Qn),Qn&&typeof Qn=="object"&&ge in Qn&&_n(Qn[ge]||[])})};const un=new Map;_n(ve),Ct.current={data:ve,childrenColumnName:ge,kvMap:un,getRowKey:at}}return(vn=Ct.current.kvMap)===null||vn===void 0?void 0:vn.get(en)}return[Vt]},Ua=function(ve,ge){var at={};for(var Ct in ve)Object.prototype.hasOwnProperty.call(ve,Ct)&&ge.indexOf(Ct)<0&&(at[Ct]=ve[Ct]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vt=0,Ct=Object.getOwnPropertySymbols(ve);Vt<Ct.length;Vt++)ge.indexOf(Ct[Vt])<0&&Object.prototype.propertyIsEnumerable.call(ve,Ct[Vt])&&(at[Ct[Vt]]=ve[Ct[Vt]]);return at};const rs=10;function Pa(ve,ge){const at={current:ve.current,pageSize:ve.pageSize};return Object.keys(ge&&typeof ge=="object"?ge:{}).forEach(Vt=>{const en=ve[Vt];typeof en!="function"&&(at[Vt]=en)}),at}function ss(ve,ge,at){const Ct=at&&typeof at=="object"?at:{},{total:Vt=0}=Ct,en=Ua(Ct,["total"]),[vn,un]=(0,i.useState)(()=>({current:"defaultCurrent"in en?en.defaultCurrent:1,pageSize:"defaultPageSize"in en?en.defaultPageSize:rs})),_n=(0,ma.Z)(vn,en,{total:Vt>0?Vt:ve}),Sn=Math.ceil((Vt||ve)/_n.pageSize);_n.current>Sn&&(_n.current=Sn||1);const Qn=(Nn,Z)=>{un({current:Nn!=null?Nn:1,pageSize:Z||_n.pageSize})},Bn=(Nn,Z)=>{var c;at&&((c=at.onChange)===null||c===void 0||c.call(at,Nn,Z)),Qn(Nn,Z),ge(Nn,Z||(_n==null?void 0:_n.pageSize))};return at===!1?[{},()=>{}]:[Object.assign(Object.assign({},_n),{onChange:Bn}),Qn]}var Xa=ss,fs=u(89489),hs=u(59477),Gs=u(25399);const Ki="ascend",Vi="descend",aa=ve=>typeof ve.sorter=="object"&&typeof ve.sorter.multiple=="number"?ve.sorter.multiple:!1,Ma=ve=>typeof ve=="function"?ve:ve&&typeof ve=="object"&&ve.compare?ve.compare:!1,Ka=(ve,ge)=>ge?ve[ve.indexOf(ge)+1]:ve[0],_s=(ve,ge,at)=>{let Ct=[];const Vt=(en,vn)=>{Ct.push({column:en,key:vr(en,vn),multiplePriority:aa(en),sortOrder:en.sortOrder})};return(ve||[]).forEach((en,vn)=>{const un=yr(vn,at);en.children?("sortOrder"in en&&Vt(en,un),Ct=[].concat((0,et.Z)(Ct),(0,et.Z)(_s(en.children,ge,un)))):en.sorter&&("sortOrder"in en?Vt(en,un):ge&&en.defaultSortOrder&&Ct.push({column:en,key:vr(en,un),multiplePriority:aa(en),sortOrder:en.defaultSortOrder}))}),Ct},Ls=(ve,ge,at,Ct,Vt,en,vn,un)=>(ge||[]).map((Sn,Qn)=>{const Bn=yr(Qn,un);let Nn=Sn;if(Nn.sorter){const Z=Nn.sortDirections||Vt,c=Nn.showSorterTooltip===void 0?vn:Nn.showSorterTooltip,f=vr(Nn,Bn),h=at.find(Cn=>{let{key:kn}=Cn;return kn===f}),x=h?h.sortOrder:null,B=Ka(Z,x);let Q;if(Sn.sortIcon)Q=Sn.sortIcon({sortOrder:x});else{const Cn=Z.includes(Ki)&&i.createElement(hs.Z,{className:k()(`${ve}-column-sorter-up`,{active:x===Ki})}),kn=Z.includes(Vi)&&i.createElement(fs.Z,{className:k()(`${ve}-column-sorter-down`,{active:x===Vi})});Q=i.createElement("span",{className:k()(`${ve}-column-sorter`,{[`${ve}-column-sorter-full`]:!!(Cn&&kn)})},i.createElement("span",{className:`${ve}-column-sorter-inner`,"aria-hidden":"true"},Cn,kn))}const{cancelSort:Me,triggerAsc:qe,triggerDesc:Et}=en||{};let Yt=Me;B===Vi?Yt=Et:B===Ki&&(Yt=qe);const hn=typeof c=="object"?Object.assign({title:Yt},c):{title:Yt};Nn=Object.assign(Object.assign({},Nn),{className:k()(Nn.className,{[`${ve}-column-sort`]:x}),title:Cn=>{const kn=`${ve}-column-sorters`,Hn=i.createElement("span",{className:`${ve}-column-title`},Mr(Sn.title,Cn)),Wn=i.createElement("div",{className:kn},Hn,Q);return c?typeof c!="boolean"&&(c==null?void 0:c.target)==="sorter-icon"?i.createElement("div",{className:`${kn} ${ve}-column-sorters-tooltip-target-sorter`},Hn,i.createElement(Gs.Z,Object.assign({},hn),Q)):i.createElement(Gs.Z,Object.assign({},hn),Wn):Wn},onHeaderCell:Cn=>{var kn;const Hn=((kn=Sn.onHeaderCell)===null||kn===void 0?void 0:kn.call(Sn,Cn))||{},Wn=Hn.onClick,ir=Hn.onKeyDown;Hn.onClick=fr=>{Ct({column:Sn,key:f,sortOrder:B,multiplePriority:aa(Sn)}),Wn==null||Wn(fr)},Hn.onKeyDown=fr=>{fr.keyCode===Aa.Z.ENTER&&(Ct({column:Sn,key:f,sortOrder:B,multiplePriority:aa(Sn)}),ir==null||ir(fr))};const Jn=Vr(Sn.title,{}),nr=Jn==null?void 0:Jn.toString();return x&&(Hn["aria-sort"]=x==="ascend"?"ascending":"descending"),Hn["aria-label"]=nr||"",Hn.className=k()(Hn.className,`${ve}-column-has-sorters`),Hn.tabIndex=0,Sn.ellipsis&&(Hn.title=(Jn!=null?Jn:"").toString()),Hn}})}return"children"in Nn&&(Nn=Object.assign(Object.assign({},Nn),{children:Ls(ve,Nn.children,at,Ct,Vt,en,vn,Bn)})),Nn}),ys=ve=>{const{column:ge,sortOrder:at}=ve;return{column:ge,order:at,field:ge.dataIndex,columnKey:ge.key}},Ys=ve=>{const ge=ve.filter(at=>{let{sortOrder:Ct}=at;return Ct}).map(ys);if(ge.length===0&&ve.length){const at=ve.length-1;return Object.assign(Object.assign({},ys(ve[at])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return ge.length<=1?ge[0]||{}:ge},Os=(ve,ge,at)=>{const Ct=ge.slice().sort((vn,un)=>un.multiplePriority-vn.multiplePriority),Vt=ve.slice(),en=Ct.filter(vn=>{let{column:{sorter:un},sortOrder:_n}=vn;return Ma(un)&&_n});return en.length?Vt.sort((vn,un)=>{for(let _n=0;_n<en.length;_n+=1){const Sn=en[_n],{column:{sorter:Qn},sortOrder:Bn}=Sn,Nn=Ma(Qn);if(Nn&&Bn){const Z=Nn(vn,un,Bn);if(Z!==0)return Bn===Ki?Z:-Z}}return 0}).map(vn=>{const un=vn[at];return un?Object.assign(Object.assign({},vn),{[at]:Os(un,ge,at)}):vn}):Vt};var Xs=ve=>{const{prefixCls:ge,mergedColumns:at,sortDirections:Ct,tableLocale:Vt,showSorterTooltip:en,onSorterChange:vn}=ve,[un,_n]=i.useState(_s(at,!0)),Sn=(f,h)=>{const x=[];return f.forEach((B,Q)=>{const Me=yr(Q,h);if(x.push(vr(B,Me)),Array.isArray(B.children)){const qe=Sn(B.children,Me);x.push.apply(x,(0,et.Z)(qe))}}),x},Qn=i.useMemo(()=>{let f=!0;const h=_s(at,!1);if(!h.length){const Me=Sn(at);return un.filter(qe=>{let{key:Et}=qe;return Me.includes(Et)})}const x=[];function B(Me){f?x.push(Me):x.push(Object.assign(Object.assign({},Me),{sortOrder:null}))}let Q=null;return h.forEach(Me=>{Q===null?(B(Me),Me.sortOrder&&(Me.multiplePriority===!1?f=!1:Q=!0)):(Q&&Me.multiplePriority!==!1||(f=!1),B(Me))}),x},[at,un]),Bn=i.useMemo(()=>{var f,h;const x=Qn.map(B=>{let{column:Q,sortOrder:Me}=B;return{column:Q,order:Me}});return{sortColumns:x,sortColumn:(f=x[0])===null||f===void 0?void 0:f.column,sortOrder:(h=x[0])===null||h===void 0?void 0:h.order}},[Qn]),Nn=f=>{let h;f.multiplePriority===!1||!Qn.length||Qn[0].multiplePriority===!1?h=[f]:h=[].concat((0,et.Z)(Qn.filter(x=>{let{key:B}=x;return B!==f.key})),[f]),_n(h),vn(Ys(h),h)};return[f=>Ls(ge,f,Qn,Nn,Ct,Vt,en),Qn,Bn,()=>Ys(Qn)]};const Zs=(ve,ge)=>ve.map(Ct=>{const Vt=Object.assign({},Ct);return Vt.title=Mr(Ct.title,ge),"children"in Vt&&(Vt.children=Zs(Vt.children,ge)),Vt});var Ha=ve=>[i.useCallback(at=>Zs(at,ve),[ve])],Bo=Rn((ve,ge)=>{const{_renderTimes:at}=ve,{_renderTimes:Ct}=ge;return at!==Ct}),oo=xn((ve,ge)=>{const{_renderTimes:at}=ve,{_renderTimes:Ct}=ge;return at!==Ct}),di=u(36237),js=u(17835),Qs=u(63356),Ms=u(16931),Js=u(51636),rl=ve=>{const{componentCls:ge,lineWidth:at,lineType:Ct,tableBorderColor:Vt,tableHeaderBg:en,tablePaddingVertical:vn,tablePaddingHorizontal:un,calc:_n}=ve,Sn=`${(0,di.unit)(at)} ${Ct} ${Vt}`,Qn=(Bn,Nn,Z)=>({[`&${ge}-${Bn}`]:{[`> ${ge}-container`]:{[`> ${ge}-content, > ${ge}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`${(0,di.unit)(_n(Nn).mul(-1).equal())}
|
|
|
${(0,di.unit)(_n(_n(Z).add(at)).mul(-1).equal())}`}}}}}});return{[`${ge}-wrapper`]:{[`${ge}${ge}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ge}-title`]:{border:Sn,borderBottom:0},[`> ${ge}-container`]:{borderInlineStart:Sn,borderTop:Sn,[`
|
|
|
> ${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:Sn},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Sn},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ge}-cell-fix-right-first::after`]:{borderInlineEnd:Sn}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`${(0,di.unit)(_n(vn).mul(-1).equal())} ${(0,di.unit)(_n(_n(un).add(at)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:at,bottom:0,borderInlineEnd:Sn,content:'""'}}}}}},[`&${ge}-scroll-horizontal`]:{[`> ${ge}-container > ${ge}-body`]:{"> table > tbody":{[`
|
|
|
> tr${ge}-expanded-row,
|
|
|
> tr${ge}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Qn("middle",ve.tablePaddingVerticalMiddle,ve.tablePaddingHorizontalMiddle)),Qn("small",ve.tablePaddingVerticalSmall,ve.tablePaddingHorizontalSmall)),{[`> ${ge}-footer`]:{border:Sn,borderTop:0}}),[`${ge}-cell`]:{[`${ge}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,di.unit)(at)} 0 ${(0,di.unit)(at)} ${en}`}},[`${ge}-bordered ${ge}-cell-scrollbar`]:{borderInlineEnd:Sn}}}},lo=ve=>{const{componentCls:ge}=ve;return{[`${ge}-wrapper`]:{[`${ge}-cell-ellipsis`]:Object.assign(Object.assign({},Qs.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"}})}}},Fo=ve=>{const{componentCls:ge}=ve;return{[`${ge}-wrapper`]:{[`${ge}-tbody > tr${ge}-placeholder`]:{textAlign:"center",color:ve.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ve.colorBgContainer}}}}},zo=ve=>{const{componentCls:ge,antCls:at,motionDurationSlow:Ct,lineWidth:Vt,paddingXS:en,lineType:vn,tableBorderColor:un,tableExpandIconBg:_n,tableExpandColumnWidth:Sn,borderRadius:Qn,tablePaddingVertical:Bn,tablePaddingHorizontal:Nn,tableExpandedRowBg:Z,paddingXXS:c,expandIconMarginTop:f,expandIconSize:h,expandIconHalfInner:x,expandIconScale:B,calc:Q}=ve,Me=`${(0,di.unit)(Vt)} ${vn} ${un}`,qe=Q(c).sub(Vt).equal();return{[`${ge}-wrapper`]:{[`${ge}-expand-icon-col`]:{width:Sn},[`${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,Qs.Nd)(ve)),{position:"relative",float:"left",width:h,height:h,color:"inherit",lineHeight:(0,di.unit)(h),background:_n,border:Me,borderRadius:Qn,transform:`scale(${B})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ct} ease-out`,content:'""'},"&::before":{top:x,insetInlineEnd:qe,insetInlineStart:qe,height:Vt},"&::after":{top:qe,bottom:qe,insetInlineStart:x,width:Vt,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:f,marginInlineEnd:en},[`tr${ge}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Z}},[`${at}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${ge}-expanded-row-fixed`]:{position:"relative",margin:`${(0,di.unit)(Q(Bn).mul(-1).equal())} ${(0,di.unit)(Q(Nn).mul(-1).equal())}`,padding:`${(0,di.unit)(Bn)} ${(0,di.unit)(Nn)}`}}}},Eo=ve=>{const{componentCls:ge,antCls:at,iconCls:Ct,tableFilterDropdownWidth:Vt,tableFilterDropdownSearchWidth:en,paddingXXS:vn,paddingXS:un,colorText:_n,lineWidth:Sn,lineType:Qn,tableBorderColor:Bn,headerIconColor:Nn,fontSizeSM:Z,tablePaddingHorizontal:c,borderRadius:f,motionDurationSlow:h,colorTextDescription:x,colorPrimary:B,tableHeaderFilterActiveBg:Q,colorTextDisabled:Me,tableFilterDropdownBg:qe,tableFilterDropdownHeight:Et,controlItemBgHover:Yt,controlItemBgActive:hn,boxShadowSecondary:Cn,filterDropdownMenuBg:kn,calc:Hn}=ve,Wn=`${at}-dropdown`,ir=`${ge}-filter-dropdown`,Jn=`${at}-tree`,nr=`${(0,di.unit)(Sn)} ${Qn} ${Bn}`;return[{[`${ge}-wrapper`]:{[`${ge}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ge}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Hn(vn).mul(-1).equal(),marginInline:`${(0,di.unit)(vn)} ${(0,di.unit)(Hn(c).div(2).mul(-1).equal())}`,padding:`0 ${(0,di.unit)(vn)}`,color:Nn,fontSize:Z,borderRadius:f,cursor:"pointer",transition:`all ${h}`,"&:hover":{color:x,background:Q},"&.active":{color:B}}}},{[`${at}-dropdown`]:{[ir]:Object.assign(Object.assign({},(0,Qs.Wf)(ve)),{minWidth:Vt,backgroundColor:qe,borderRadius:f,boxShadow:Cn,overflow:"hidden",[`${Wn}-menu`]:{maxHeight:Et,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:kn,"&:empty::after":{display:"block",padding:`${(0,di.unit)(un)} 0`,color:Me,fontSize:Z,textAlign:"center",content:'"Not Found"'}},[`${ir}-tree`]:{paddingBlock:`${(0,di.unit)(un)} 0`,paddingInline:un,[Jn]:{padding:0},[`${Jn}-treenode ${Jn}-node-content-wrapper:hover`]:{backgroundColor:Yt},[`${Jn}-treenode-checkbox-checked ${Jn}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:hn}}},[`${ir}-search`]:{padding:un,borderBottom:nr,"&-input":{input:{minWidth:en},[Ct]:{color:Me}}},[`${ir}-checkall`]:{width:"100%",marginBottom:vn,marginInlineStart:vn},[`${ir}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,di.unit)(Hn(un).sub(Sn).equal())} ${(0,di.unit)(un)}`,overflow:"hidden",borderTop:nr}})}},{[`${at}-dropdown ${ir}, ${ir}-submenu`]:{[`${at}-checkbox-wrapper + span`]:{paddingInlineStart:un,color:_n},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},eo=ve=>{const{componentCls:ge,lineWidth:at,colorSplit:Ct,motionDurationSlow:Vt,zIndexTableFixed:en,tableBg:vn,zIndexTableSticky:un,calc:_n}=ve,Sn=Ct;return{[`${ge}-wrapper`]:{[`
|
|
|
${ge}-cell-fix-left,
|
|
|
${ge}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:en,background:vn},[`
|
|
|
${ge}-cell-fix-left-first::after,
|
|
|
${ge}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:_n(at).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${Vt}`,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:_n(at).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Vt}`,content:'""',pointerEvents:"none"},[`${ge}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:_n(un).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${Vt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ge}-ping-left`]:{[`&:not(${ge}-has-fix-left) ${ge}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${Sn}`},[`
|
|
|
${ge}-cell-fix-left-first::after,
|
|
|
${ge}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Sn}`},[`${ge}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ge}-ping-right`]:{[`&:not(${ge}-has-fix-right) ${ge}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${Sn}`},[`
|
|
|
${ge}-cell-fix-right-first::after,
|
|
|
${ge}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Sn}`}},[`${ge}-fixed-column-gapped`]:{[`
|
|
|
${ge}-cell-fix-left-first::after,
|
|
|
${ge}-cell-fix-left-last::after,
|
|
|
${ge}-cell-fix-right-first::after,
|
|
|
${ge}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:"none"}}}}},Zo=ve=>{const{componentCls:ge,antCls:at,margin:Ct}=ve;return{[`${ge}-wrapper`]:{[`${ge}-pagination${at}-pagination`]:{margin:`${(0,di.unit)(Ct)} 0`},[`${ge}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ve.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Uo=ve=>{const{componentCls:ge,tableRadius:at}=ve;return{[`${ge}-wrapper`]:{[ge]:{[`${ge}-title, ${ge}-header`]:{borderRadius:`${(0,di.unit)(at)} ${(0,di.unit)(at)} 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:at,borderStartEndRadius:at,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:at},"> *:last-child":{borderStartEndRadius:at}}},"&-footer":{borderRadius:`0 0 ${(0,di.unit)(at)} ${(0,di.unit)(at)}`}}}}},Ko=ve=>{const{componentCls:ge}=ve;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"}}}}},co=ve=>{const{componentCls:ge,antCls:at,iconCls:Ct,fontSizeIcon:Vt,padding:en,paddingXS:vn,headerIconColor:un,headerIconHoverColor:_n,tableSelectionColumnWidth:Sn,tableSelectedRowBg:Qn,tableSelectedRowHoverBg:Bn,tableRowHoverBg:Nn,tablePaddingHorizontal:Z,calc:c}=ve;return{[`${ge}-wrapper`]:{[`${ge}-selection-col`]:{width:Sn,[`&${ge}-selection-col-with-dropdown`]:{width:c(Sn).add(Vt).add(c(en).div(4)).equal()}},[`${ge}-bordered ${ge}-selection-col`]:{width:c(Sn).add(c(vn).mul(2)).equal(),[`&${ge}-selection-col-with-dropdown`]:{width:c(Sn).add(Vt).add(c(en).div(4)).add(c(vn).mul(2)).equal()}},[`
|
|
|
table tr th${ge}-selection-column,
|
|
|
table tr td${ge}-selection-column,
|
|
|
${ge}-selection-column
|
|
|
`]:{paddingInlineEnd:ve.paddingXS,paddingInlineStart:ve.paddingXS,textAlign:"center",[`${at}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ge}-selection-column${ge}-cell-fix-left`]:{zIndex:c(ve.zIndexTableFixed).add(1).equal({unit:!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 ${ve.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,di.unit)(c(Z).div(4).equal()),[Ct]:{color:un,fontSize:Vt,verticalAlign:"baseline","&:hover":{color:_n}}},[`${ge}-tbody`]:{[`${ge}-row`]:{[`&${ge}-row-selected`]:{[`> ${ge}-cell`]:{background:Qn,"&-row-hover":{background:Bn}}},[`> ${ge}-cell-row-hover`]:{background:Nn}}}}}},wo=ve=>{const{componentCls:ge,tableExpandColumnWidth:at,calc:Ct}=ve,Vt=(en,vn,un,_n)=>({[`${ge}${ge}-${en}`]:{fontSize:_n,[`
|
|
|
${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:`${(0,di.unit)(vn)} ${(0,di.unit)(un)}`},[`${ge}-filter-trigger`]:{marginInlineEnd:(0,di.unit)(Ct(un).div(2).mul(-1).equal())},[`${ge}-expanded-row-fixed`]:{margin:`${(0,di.unit)(Ct(vn).mul(-1).equal())} ${(0,di.unit)(Ct(un).mul(-1).equal())}`},[`${ge}-tbody`]:{[`${ge}-wrapper:only-child ${ge}`]:{marginBlock:(0,di.unit)(Ct(vn).mul(-1).equal()),marginInline:`${(0,di.unit)(Ct(at).sub(un).equal())} ${(0,di.unit)(Ct(un).mul(-1).equal())}`}},[`${ge}-selection-extra`]:{paddingInlineStart:(0,di.unit)(Ct(un).div(4).equal())}}});return{[`${ge}-wrapper`]:Object.assign(Object.assign({},Vt("middle",ve.tablePaddingVerticalMiddle,ve.tablePaddingHorizontalMiddle,ve.tableFontSizeMiddle)),Vt("small",ve.tablePaddingVerticalSmall,ve.tablePaddingHorizontalSmall,ve.tableFontSizeSmall))}},al=ve=>{const{componentCls:ge,marginXXS:at,fontSizeIcon:Ct,headerIconColor:Vt,headerIconHoverColor:en}=ve;return{[`${ge}-wrapper`]:{[`${ge}-thead th${ge}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ve.motionDurationSlow}, left 0s`,"&:hover":{background:ve.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ve.colorPrimary},[`
|
|
|
&${ge}-cell-fix-left:hover,
|
|
|
&${ge}-cell-fix-right:hover
|
|
|
`]:{background:ve.tableFixedHeaderSortActiveBg}},[`${ge}-thead th${ge}-column-sort`]:{background:ve.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ge}-column-sort`]:{background:ve.tableBodySortBg},[`${ge}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${ge}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ge}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${ge}-column-sorter`]:{marginInlineStart:at,color:Vt,fontSize:0,transition:`color ${ve.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ct,"&.active":{color:ve.colorPrimary}},[`${ge}-column-sorter-up + ${ge}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ge}-column-sorters:hover ${ge}-column-sorter`]:{color:en}}}},_o=ve=>{const{componentCls:ge,opacityLoading:at,tableScrollThumbBg:Ct,tableScrollThumbBgHover:Vt,tableScrollThumbSize:en,tableScrollBg:vn,zIndexTableSticky:un,stickyScrollBarBorderRadius:_n,lineWidth:Sn,lineType:Qn,tableBorderColor:Bn}=ve,Nn=`${(0,di.unit)(Sn)} ${Qn} ${Bn}`;return{[`${ge}-wrapper`]:{[`${ge}-sticky`]:{"&-holder":{position:"sticky",zIndex:un,background:ve.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,di.unit)(en)} !important`,zIndex:un,display:"flex",alignItems:"center",background:vn,borderTop:Nn,opacity:at,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:en,backgroundColor:Ct,borderRadius:_n,transition:`all ${ve.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Vt}}}}}}},go=ve=>{const{componentCls:ge,lineWidth:at,tableBorderColor:Ct,calc:Vt}=ve,en=`${(0,di.unit)(at)} ${ve.lineType} ${Ct}`;return{[`${ge}-wrapper`]:{[`${ge}-summary`]:{position:"relative",zIndex:ve.zIndexTableFixed,background:ve.tableBg,"> tr":{"> th, > td":{borderBottom:en}}},[`div${ge}-summary`]:{boxShadow:`0 ${(0,di.unit)(Vt(at).mul(-1).equal())} 0 ${Ct}`}}}},ll=ve=>{const{componentCls:ge,motionDurationMid:at,lineWidth:Ct,lineType:Vt,tableBorderColor:en,calc:vn}=ve,un=`${(0,di.unit)(Ct)} ${Vt} ${en}`,_n=`${ge}-expanded-row-cell`;return{[`${ge}-wrapper`]:{[`${ge}-tbody-virtual`]:{[`${ge}-tbody-virtual-holder-inner`]:{[`
|
|
|
& > ${ge}-row,
|
|
|
& > div:not(${ge}-row) > ${ge}-row
|
|
|
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${ge}-cell`]:{borderBottom:un,transition:`background ${at}`},[`${ge}-expanded-row`]:{[`${_n}${_n}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,di.unit)(Ct)})`,borderInlineEnd:"none"}}},[`${ge}-bordered`]:{[`${ge}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:un,position:"absolute"},[`${ge}-cell`]:{borderInlineEnd:un,[`&${ge}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:vn(Ct).mul(-1).equal(),borderInlineStart:un}}},[`&${ge}-virtual`]:{[`${ge}-placeholder ${ge}-cell`]:{borderInlineEnd:un,borderBottom:un}}}}}};const Wo=ve=>{const{componentCls:ge,fontWeightStrong:at,tablePaddingVertical:Ct,tablePaddingHorizontal:Vt,tableExpandColumnWidth:en,lineWidth:vn,lineType:un,tableBorderColor:_n,tableFontSize:Sn,tableBg:Qn,tableRadius:Bn,tableHeaderTextColor:Nn,motionDurationMid:Z,tableHeaderBg:c,tableHeaderCellSplitColor:f,tableFooterTextColor:h,tableFooterBg:x,calc:B}=ve,Q=`${(0,di.unit)(vn)} ${un} ${_n}`;return{[`${ge}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Qs.dF)()),{[ge]:Object.assign(Object.assign({},(0,Qs.Wf)(ve)),{fontSize:Sn,background:Qn,borderRadius:`${(0,di.unit)(Bn)} ${(0,di.unit)(Bn)} 0 0`,scrollbarColor:`${ve.tableScrollThumbBg} ${ve.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,di.unit)(Bn)} ${(0,di.unit)(Bn)} 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:`${(0,di.unit)(Ct)} ${(0,di.unit)(Vt)}`,overflowWrap:"break-word"},[`${ge}-title`]:{padding:`${(0,di.unit)(Ct)} ${(0,di.unit)(Vt)}`},[`${ge}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Nn,fontWeight:at,textAlign:"start",background:c,borderBottom:Q,transition:`background ${Z} 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:f,transform:"translateY(-50%)",transition:`background-color ${Z}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ge}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Z}, border-color ${Z}`,borderBottom:Q,[`
|
|
|
> ${ge}-wrapper:only-child,
|
|
|
> ${ge}-expanded-row-fixed > ${ge}-wrapper:only-child
|
|
|
`]:{[ge]:{marginBlock:(0,di.unit)(B(Ct).mul(-1).equal()),marginInline:`${(0,di.unit)(B(en).sub(Vt).equal())}
|
|
|
${(0,di.unit)(B(Vt).mul(-1).equal())}`,[`${ge}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Nn,fontWeight:at,textAlign:"start",background:c,borderBottom:Q,transition:`background ${Z} ease`}}},[`${ge}-footer`]:{padding:`${(0,di.unit)(Ct)} ${(0,di.unit)(Vt)}`,color:h,background:x}})}},ul=ve=>{const{colorFillAlter:ge,colorBgContainer:at,colorTextHeading:Ct,colorFillSecondary:Vt,colorFillContent:en,controlItemBgActive:vn,controlItemBgActiveHover:un,padding:_n,paddingSM:Sn,paddingXS:Qn,colorBorderSecondary:Bn,borderRadiusLG:Nn,controlHeight:Z,colorTextPlaceholder:c,fontSize:f,fontSizeSM:h,lineHeight:x,lineWidth:B,colorIcon:Q,colorIconHover:Me,opacityLoading:qe,controlInteractiveSize:Et}=ve,Yt=new js.FastColor(Vt).onBackground(at).toHexString(),hn=new js.FastColor(en).onBackground(at).toHexString(),Cn=new js.FastColor(ge).onBackground(at).toHexString(),kn=new js.FastColor(Q),Hn=new js.FastColor(Me),Wn=Et/2-B,ir=Wn*2+B*3;return{headerBg:Cn,headerColor:Ct,headerSortActiveBg:Yt,headerSortHoverBg:hn,bodySortBg:Cn,rowHoverBg:Cn,rowSelectedBg:vn,rowSelectedHoverBg:un,rowExpandedBg:ge,cellPaddingBlock:_n,cellPaddingInline:_n,cellPaddingBlockMD:Sn,cellPaddingInlineMD:Qn,cellPaddingBlockSM:Qn,cellPaddingInlineSM:Qn,borderColor:Bn,headerBorderRadius:Nn,footerBg:Cn,footerColor:Ct,cellFontSize:f,cellFontSizeMD:f,cellFontSizeSM:f,headerSplitColor:Bn,fixedHeaderSortActiveBg:Yt,headerFilterHoverBg:en,filterDropdownMenuBg:at,filterDropdownBg:at,expandIconBg:at,selectionColumnWidth:Z,stickyScrollBarBg:c,stickyScrollBarBorderRadius:100,expandIconMarginTop:(f*x-B*3)/2-Math.ceil((h*1.4-B*3)/2),headerIconColor:kn.clone().setA(kn.a*qe).toRgbString(),headerIconHoverColor:Hn.clone().setA(Hn.a*qe).toRgbString(),expandIconHalfInner:Wn,expandIconSize:ir,expandIconScale:Et/ir}},jt=2;var $o=(0,Ms.I$)("Table",ve=>{const{colorTextHeading:ge,colorSplit:at,colorBgContainer:Ct,controlInteractiveSize:Vt,headerBg:en,headerColor:vn,headerSortActiveBg:un,headerSortHoverBg:_n,bodySortBg:Sn,rowHoverBg:Qn,rowSelectedBg:Bn,rowSelectedHoverBg:Nn,rowExpandedBg:Z,cellPaddingBlock:c,cellPaddingInline:f,cellPaddingBlockMD:h,cellPaddingInlineMD:x,cellPaddingBlockSM:B,cellPaddingInlineSM:Q,borderColor:Me,footerBg:qe,footerColor:Et,headerBorderRadius:Yt,cellFontSize:hn,cellFontSizeMD:Cn,cellFontSizeSM:kn,headerSplitColor:Hn,fixedHeaderSortActiveBg:Wn,headerFilterHoverBg:ir,filterDropdownBg:Jn,expandIconBg:nr,selectionColumnWidth:fr,stickyScrollBarBg:Tr,calc:Pr}=ve,mr=(0,Js.mergeToken)(ve,{tableFontSize:hn,tableBg:Ct,tableRadius:Yt,tablePaddingVertical:c,tablePaddingHorizontal:f,tablePaddingVerticalMiddle:h,tablePaddingHorizontalMiddle:x,tablePaddingVerticalSmall:B,tablePaddingHorizontalSmall:Q,tableBorderColor:Me,tableHeaderTextColor:vn,tableHeaderBg:en,tableFooterTextColor:Et,tableFooterBg:qe,tableHeaderCellSplitColor:Hn,tableHeaderSortBg:un,tableHeaderSortHoverBg:_n,tableBodySortBg:Sn,tableFixedHeaderSortActiveBg:Wn,tableHeaderFilterActiveBg:ir,tableFilterDropdownBg:Jn,tableRowHoverBg:Qn,tableSelectedRowBg:Bn,tableSelectedRowHoverBg:Nn,zIndexTableFixed:jt,zIndexTableSticky:Pr(jt).add(1).equal({unit:!1}),tableFontSizeMiddle:Cn,tableFontSizeSmall:kn,tableSelectionColumnWidth:fr,tableExpandIconBg:nr,tableExpandColumnWidth:Pr(Vt).add(Pr(ve.padding).mul(2)).equal(),tableExpandedRowBg:Z,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Tr,tableScrollThumbBgHover:ge,tableScrollBg:at});return[Wo(mr),Zo(mr),go(mr),al(mr),Eo(mr),rl(mr),Uo(mr),zo(mr),go(mr),Fo(mr),co(mr),eo(mr),_o(mr),lo(mr),wo(mr),Ko(mr),ll(mr)]},ul,{unitless:{expandIconScale:!0}});const Ao=[],To=(ve,ge)=>{var at,Ct;const{prefixCls:Vt,className:en,rootClassName:vn,style:un,size:_n,bordered:Sn,dropdownPrefixCls:Qn,dataSource:Bn,pagination:Nn,rowSelection:Z,rowKey:c="key",rowClassName:f,columns:h,children:x,childrenColumnName:B,onChange:Q,getPopupContainer:Me,loading:qe,expandIcon:Et,expandable:Yt,expandedRowRender:hn,expandIconColumnIndex:Cn,indentSize:kn,scroll:Hn,sortDirections:Wn,locale:ir,showSorterTooltip:Jn={target:"full-header"},virtual:nr}=ve,fr=(0,_r.ln)("Table"),Tr=i.useMemo(()=>h||zt(x),[h,x]),Pr=i.useMemo(()=>Tr.some(Ei=>Ei.responsive),[Tr]),mr=(0,Di.Z)(Pr),Yr=i.useMemo(()=>{const Ei=new Set(Object.keys(mr).filter(qi=>mr[qi]));return Tr.filter(qi=>!qi.responsive||qi.responsive.some(ha=>Ei.has(ha)))},[Tr,mr]),ni=(0,hi.Z)(ve,["className","style","columns"]),{locale:Ri=ra.Z,direction:xi,table:mn,renderEmpty:Oi,getPrefixCls:va,getPopupContainer:bi}=i.useContext($i.E_),ci=(0,Gr.Z)(_n),ca=Object.assign(Object.assign({},Ri.Table),ir),da=Bn||Ao,qr=va("table",Vt),yi=va("dropdown",Qn),[,Ur]=(0,Ni.ZP)(),Jr=(0,ki.Z)(qr),[Si,Ii,ea]=$o(qr,Jr),Qi=Object.assign(Object.assign({childrenColumnName:B,expandIconColumnIndex:Cn},Yt),{expandIcon:(at=Yt==null?void 0:Yt.expandIcon)!==null&&at!==void 0?at:(Ct=mn==null?void 0:mn.expandable)===null||Ct===void 0?void 0:Ct.expandIcon}),{childrenColumnName:sa="children"}=Qi,Na=i.useMemo(()=>da.some(Ei=>Ei==null?void 0:Ei[sa])?"nest":hn||Yt!=null&&Yt.expandedRowRender?"row":null,[da]),ei={body:i.useRef(null)},si=ri(qr),Bi=i.useRef(null),ta=i.useRef(null);_i(ge,()=>Object.assign(Object.assign({},ta.current),{nativeElement:Bi.current}));const Fi=i.useMemo(()=>typeof c=="function"?c:Ei=>Ei==null?void 0:Ei[c],[c]),[Wa]=ja(da,sa,Fi),pa={},os=function(Ei,qi){let ha=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var La,ns,Cs,As;const Ga=Object.assign(Object.assign({},pa),Ei);ha&&((La=pa.resetPagination)===null||La===void 0||La.call(pa),!((ns=Ga.pagination)===null||ns===void 0)&&ns.current&&(Ga.pagination.current=1),Nn&&((Cs=Nn.onChange)===null||Cs===void 0||Cs.call(Nn,1,(As=Ga.pagination)===null||As===void 0?void 0:As.pageSize))),Hn&&Hn.scrollToFirstRowOnChange!==!1&&ei.body.current&&(0,Yi.Z)(0,{getContainer:()=>ei.body.current}),Q==null||Q(Ga.pagination,Ga.filters,Ga.sorter,{currentDataSource:gi(Os(da,Ga.sorterStates,sa),Ga.filterStates,sa),action:qi})},ba=(Ei,qi)=>{os({sorter:Ei,sorterStates:qi},"sort",!1)},[Ji,fa,oa,ka]=Xs({prefixCls:qr,mergedColumns:Yr,onSorterChange:ba,sortDirections:Wn||["ascend","descend"],tableLocale:ca,showSorterTooltip:Jn}),Ra=i.useMemo(()=>Os(da,fa,sa),[da,fa]);pa.sorter=ka(),pa.sorterStates=fa;const Gi=(Ei,qi)=>{os({filters:Ei,filterStates:qi},"filter",!0)},[wa,la,Va]=Ui({prefixCls:qr,locale:ca,dropdownPrefixCls:yi,mergedColumns:Yr,onFilterChange:Gi,getPopupContainer:Me||bi,rootClassName:k()(vn,Jr)}),_a=gi(Ra,la,sa);pa.filters=Va,pa.filterStates=la;const Ja=i.useMemo(()=>{const Ei={};return Object.keys(Va).forEach(qi=>{Va[qi]!==null&&(Ei[qi]=Va[qi])}),Object.assign(Object.assign({},oa),{filters:Ei})},[oa,Va]),[xs]=Ha(Ja),fo=(Ei,qi)=>{os({pagination:Object.assign(Object.assign({},pa.pagination),{current:Ei,pageSize:qi})},"paginate")},[Sa,Do]=Xa(_a.length,fo,Nn);pa.pagination=Nn===!1?{}:Pa(Sa,Nn),pa.resetPagination=Do;const qa=i.useMemo(()=>{if(Nn===!1||!Sa.pageSize)return _a;const{current:Ei=1,total:qi,pageSize:ha=rs}=Sa;return _a.length<qi?_a.length>ha?_a.slice((Ei-1)*ha,Ei*ha):_a:_a.slice((Ei-1)*ha,Ei*ha)},[!!Nn,_a,Sa==null?void 0:Sa.current,Sa==null?void 0:Sa.pageSize,Sa==null?void 0:Sa.total]),[ms,ps]=cr({prefixCls:qr,data:_a,pageData:qa,getRowKey:Fi,getRecordByKey:Wa,expandType:Na,childrenColumnName:sa,locale:ca,getPopupContainer:Me||bi},Z),is=(Ei,qi,ha)=>{let La;return typeof f=="function"?La=k()(f(Ei,qi,ha)):La=k()(f),k()({[`${qr}-row-selected`]:ps.has(Fi(Ei,qi))},La)};Qi.__PARENT_RENDER_ICON__=Qi.expandIcon,Qi.expandIcon=Qi.expandIcon||Et||zr(ca),Na==="nest"&&Qi.expandIconColumnIndex===void 0?Qi.expandIconColumnIndex=Z?1:0:Qi.expandIconColumnIndex>0&&Z&&(Qi.expandIconColumnIndex-=1),typeof Qi.indentSize!="number"&&(Qi.indentSize=typeof kn=="number"?kn:15);const es=i.useCallback(Ei=>xs(ms(wa(Ji(Ei)))),[Ji,wa,ms]);let Es,Ns;if(Nn!==!1&&(Sa!=null&&Sa.total)){let Ei;Sa.size?Ei=Sa.size:Ei=ci==="small"||ci==="middle"?"small":void 0;const qi=ns=>i.createElement(Zi.Z,Object.assign({},Sa,{className:k()(`${qr}-pagination ${qr}-pagination-${ns}`,Sa.className),size:Ei})),ha=xi==="rtl"?"left":"right",{position:La}=Sa;if(La!==null&&Array.isArray(La)){const ns=La.find(Ga=>Ga.includes("top")),Cs=La.find(Ga=>Ga.includes("bottom")),As=La.every(Ga=>`${Ga}`=="none");!ns&&!Cs&&!As&&(Ns=qi(ha)),ns&&(Es=qi(ns.toLowerCase().replace("top",""))),Cs&&(Ns=qi(Cs.toLowerCase().replace("bottom","")))}else Ns=qi(ha)}let Ss;typeof qe=="boolean"?Ss={spinning:qe}:typeof qe=="object"&&(Ss=Object.assign({spinning:!0},qe));const Us=k()(ea,Jr,`${qr}-wrapper`,mn==null?void 0:mn.className,{[`${qr}-wrapper-rtl`]:xi==="rtl"},en,vn,Ii),ts=Object.assign(Object.assign({},mn==null?void 0:mn.style),un),Tl=typeof(ir==null?void 0:ir.emptyText)!="undefined"?ir.emptyText:(Oi==null?void 0:Oi("Table"))||i.createElement(Mi.Z,{componentName:"Table"}),cl=nr?oo:Bo,gs={},dl=i.useMemo(()=>{const{fontSize:Ei,lineHeight:qi,lineWidth:ha,padding:La,paddingXS:ns,paddingSM:Cs}=Ur,As=Math.floor(Ei*qi);switch(ci){case"middle":return Cs*2+As+ha;case"small":return ns*2+As+ha;default:return La*2+As+ha}},[Ur,ci]);return nr&&(gs.listItemHeight=dl),Si(i.createElement("div",{ref:Bi,className:Us,style:ts},i.createElement(pi.Z,Object.assign({spinning:!1},Ss),Es,i.createElement(cl,Object.assign({},gs,ni,{ref:ta,columns:Yr,direction:xi,expandable:Qi,prefixCls:qr,className:k()({[`${qr}-middle`]:ci==="middle",[`${qr}-small`]:ci==="small",[`${qr}-bordered`]:Sn,[`${qr}-empty`]:da.length===0},ea,Jr,Ii),data:qa,rowKey:Fi,rowClassName:is,emptyText:Tl,internalHooks:L,internalRefs:ei,transformColumns:es,getContainerWidth:si})),Ns)))};var Vo=i.forwardRef(To);const to=(ve,ge)=>{const at=i.useRef(0);return at.current+=1,i.createElement(Vo,Object.assign({},ve,{ref:ge,_renderTimes:at.current}))},bs=i.forwardRef(to);bs.SELECTION_COLUMN=Nr,bs.EXPAND_COLUMN=U,bs.SELECTION_ALL=on,bs.SELECTION_INVERT=En,bs.SELECTION_NONE=br,bs.Column=Er,bs.ColumnGroup=Cr,bs.Summary=Te;var Io=bs,Go=Io},31691:function(Pn,Lt,u){"use strict";u.d(Lt,{default:function(){return zt}});var i=u(59301),U=u(99267),L=u(18785),ce=u(62772),j=u(92310),g=u.n(j),V=u(54476),K=u(20068),l=u(33885),y=u(42978),P=u(76190),b=u(75931),C=u(18929),w=u(49658),z=(0,i.createContext)(null),W=u(94480),Y=u(29301),$=u(6089),R=u(8654),G=u(16089),O=function(pe){var It=pe.activeTabOffset,Pe=pe.horizontal,Le=pe.rtl,re=pe.indicator,De=re===void 0?{}:re,$e=De.size,je=De.align,st=je===void 0?"center":je,qt=(0,i.useState)(),ln=(0,y.Z)(qt,2),Oe=ln[0],ot=ln[1],wt=(0,i.useRef)(),Qt=i.useCallback(function(Ye){return typeof $e=="function"?$e(Ye):typeof $e=="number"?$e:Ye},[$e]);function Xt(){G.Z.cancel(wt.current)}return(0,i.useEffect)(function(){var Ye={};if(It)if(Pe){Ye.width=Qt(It.width);var ct=Le?"right":"left";st==="start"&&(Ye[ct]=It[ct]),st==="center"&&(Ye[ct]=It[ct]+It.width/2,Ye.transform=Le?"translateX(50%)":"translateX(-50%)"),st==="end"&&(Ye[ct]=It[ct]+It.width,Ye.transform="translateX(-100%)")}else Ye.height=Qt(It.height),st==="start"&&(Ye.top=It.top),st==="center"&&(Ye.top=It.top+It.height/2,Ye.transform="translateY(-50%)"),st==="end"&&(Ye.top=It.top+It.height,Ye.transform="translateY(-100%)");return Xt(),wt.current=(0,G.Z)(function(){ot(Ye)}),Xt},[It,Pe,Le,st,Qt]),{style:Oe}},T=O,ue={width:0,height:0,left:0,top:0};function be(J,pe,It){return(0,i.useMemo)(function(){for(var Pe,Le=new Map,re=pe.get((Pe=J[0])===null||Pe===void 0?void 0:Pe.key)||ue,De=re.left+re.width,$e=0;$e<J.length;$e+=1){var je=J[$e].key,st=pe.get(je);if(!st){var qt;st=pe.get((qt=J[$e-1])===null||qt===void 0?void 0:qt.key)||ue}var ln=Le.get(je)||(0,l.Z)({},st);ln.right=De-ln.left-ln.width,Le.set(je,ln)}return Le},[J.map(function(Pe){return Pe.key}).join("_"),pe,It])}function he(J,pe){var It=i.useRef(J),Pe=i.useState({}),Le=(0,y.Z)(Pe,2),re=Le[1];function De($e){var je=typeof $e=="function"?$e(It.current):$e;je!==It.current&&pe(je,It.current),It.current=je,re({})}return[It.current,De]}var Ue=.1,Qe=.01,ke=20,Ze=Math.pow(.995,ke);function se(J,pe){var It=(0,i.useState)(),Pe=(0,y.Z)(It,2),Le=Pe[0],re=Pe[1],De=(0,i.useState)(0),$e=(0,y.Z)(De,2),je=$e[0],st=$e[1],qt=(0,i.useState)(0),ln=(0,y.Z)(qt,2),Oe=ln[0],ot=ln[1],wt=(0,i.useState)(),Qt=(0,y.Z)(wt,2),Xt=Qt[0],Ye=Qt[1],ct=(0,i.useRef)();function Nt(gn){var bn=gn.touches[0],In=bn.screenX,wn=bn.screenY;re({x:In,y:wn}),window.clearInterval(ct.current)}function Bt(gn){if(Le){var bn=gn.touches[0],In=bn.screenX,wn=bn.screenY;re({x:In,y:wn});var An=In-Le.x,Fn=wn-Le.y;pe(An,Fn);var Mn=Date.now();st(Mn),ot(Mn-je),Ye({x:An,y:Fn})}}function Ht(){if(Le&&(re(null),Ye(null),Xt)){var gn=Xt.x/Oe,bn=Xt.y/Oe,In=Math.abs(gn),wn=Math.abs(bn);if(Math.max(In,wn)<Ue)return;var An=gn,Fn=bn;ct.current=window.setInterval(function(){if(Math.abs(An)<Qe&&Math.abs(Fn)<Qe){window.clearInterval(ct.current);return}An*=Ze,Fn*=Ze,pe(An*ke,Fn*ke)},ke)}}var vt=(0,i.useRef)();function an(gn){var bn=gn.deltaX,In=gn.deltaY,wn=0,An=Math.abs(bn),Fn=Math.abs(In);An===Fn?wn=vt.current==="x"?bn:In:An>Fn?(wn=bn,vt.current="x"):(wn=In,vt.current="y"),pe(-wn,-wn)&&gn.preventDefault()}var sn=(0,i.useRef)(null);sn.current={onTouchStart:Nt,onTouchMove:Bt,onTouchEnd:Ht,onWheel:an},i.useEffect(function(){function gn(An){sn.current.onTouchStart(An)}function bn(An){sn.current.onTouchMove(An)}function In(An){sn.current.onTouchEnd(An)}function wn(An){sn.current.onWheel(An)}return document.addEventListener("touchmove",bn,{passive:!1}),document.addEventListener("touchend",In,{passive:!0}),J.current.addEventListener("touchstart",gn,{passive:!0}),J.current.addEventListener("wheel",wn,{passive:!1}),function(){document.removeEventListener("touchmove",bn),document.removeEventListener("touchend",In)}},[])}var k=u(34280);function I(J){var pe=(0,i.useState)(0),It=(0,y.Z)(pe,2),Pe=It[0],Le=It[1],re=(0,i.useRef)(0),De=(0,i.useRef)();return De.current=J,(0,k.o)(function(){var $e;($e=De.current)===null||$e===void 0||$e.call(De)},[Pe]),function(){re.current===Pe&&(re.current+=1,Le(re.current))}}function oe(J){var pe=(0,i.useRef)([]),It=(0,i.useState)({}),Pe=(0,y.Z)(It,2),Le=Pe[1],re=(0,i.useRef)(typeof J=="function"?J():J),De=I(function(){var je=re.current;pe.current.forEach(function(st){je=st(je)}),pe.current=[],re.current=je,Le({})});function $e(je){pe.current.push(je),De()}return[re.current,$e]}var ie={width:0,height:0,left:0,top:0,right:0};function Ee(J,pe,It,Pe,Le,re,De){var $e=De.tabs,je=De.tabPosition,st=De.rtl,qt,ln,Oe;return["top","bottom"].includes(je)?(qt="width",ln=st?"right":"left",Oe=Math.abs(It)):(qt="height",ln="top",Oe=-It),(0,i.useMemo)(function(){if(!$e.length)return[0,0];for(var ot=$e.length,wt=ot,Qt=0;Qt<ot;Qt+=1){var Xt=J.get($e[Qt].key)||ie;if(Math.floor(Xt[ln]+Xt[qt])>Math.floor(Oe+pe)){wt=Qt-1;break}}for(var Ye=0,ct=ot-1;ct>=0;ct-=1){var Nt=J.get($e[ct].key)||ie;if(Nt[ln]<Oe){Ye=ct+1;break}}return Ye>=wt?[0,0]:[Ye,wt]},[J,pe,Pe,Le,re,Oe,je,$e.map(function(ot){return ot.key}).join("_"),st])}function _(J){var pe;return J instanceof Map?(pe={},J.forEach(function(It,Pe){pe[Pe]=It})):pe=J,JSON.stringify(pe)}var A="TABS_DQ";function fe(J){return String(J).replace(/"/g,A)}function Be(J,pe,It,Pe){return!(!It||Pe||J===!1||J===void 0&&(pe===!1||pe===null))}var ft=i.forwardRef(function(J,pe){var It=J.prefixCls,Pe=J.editable,Le=J.locale,re=J.style;return!Pe||Pe.showAdd===!1?null:i.createElement("button",{ref:pe,type:"button",className:"".concat(It,"-nav-add"),style:re,"aria-label":(Le==null?void 0:Le.addAriaLabel)||"Add tab",onClick:function($e){Pe.onEdit("add",{event:$e})}},Pe.addIcon||"+")}),At=ft,Ie=i.forwardRef(function(J,pe){var It=J.position,Pe=J.prefixCls,Le=J.extra;if(!Le)return null;var re,De={};return(0,P.Z)(Le)==="object"&&!i.isValidElement(Le)?De=Le:De.right=Le,It==="right"&&(re=De.right),It==="left"&&(re=De.left),re?i.createElement("div",{className:"".concat(Pe,"-extra-content"),ref:pe},re):null}),it=Ie,ht=u(96478),Tt=u(28321),ze=u(10228),Jt=i.forwardRef(function(J,pe){var It=J.prefixCls,Pe=J.id,Le=J.tabs,re=J.locale,De=J.mobile,$e=J.more,je=$e===void 0?{}:$e,st=J.style,qt=J.className,ln=J.editable,Oe=J.tabBarGutter,ot=J.rtl,wt=J.removeAriaLabel,Qt=J.onTabClick,Xt=J.getPopupContainer,Ye=J.popupClassName,ct=(0,i.useState)(!1),Nt=(0,y.Z)(ct,2),Bt=Nt[0],Ht=Nt[1],vt=(0,i.useState)(null),an=(0,y.Z)(vt,2),sn=an[0],gn=an[1],bn=je.icon,In=bn===void 0?"More":bn,wn="".concat(Pe,"-more-popup"),An="".concat(It,"-dropdown"),Fn=sn!==null?"".concat(wn,"-").concat(sn):null,Mn=re==null?void 0:re.dropdownAriaLabel;function rr(Ln,zn){Ln.preventDefault(),Ln.stopPropagation(),ln.onEdit("remove",{key:zn,event:Ln})}var Rn=i.createElement(Tt.ZP,{onClick:function(zn){var hr=zn.key,rn=zn.domEvent;Qt(hr,rn),Ht(!1)},prefixCls:"".concat(An,"-menu"),id:wn,tabIndex:-1,role:"listbox","aria-activedescendant":Fn,selectedKeys:[sn],"aria-label":Mn!==void 0?Mn:"expanded dropdown"},Le.map(function(Ln){var zn=Ln.closable,hr=Ln.disabled,rn=Ln.closeIcon,nn=Ln.key,pn=Ln.label,or=Be(zn,rn,ln,hr);return i.createElement(Tt.sN,{key:nn,id:"".concat(wn,"-").concat(nn),role:"option","aria-controls":Pe&&"".concat(Pe,"-panel-").concat(nn),disabled:hr},i.createElement("span",null,pn),or&&i.createElement("button",{type:"button","aria-label":wt||"remove",tabIndex:0,className:"".concat(An,"-menu-item-remove"),onClick:function(ur){ur.stopPropagation(),rr(ur,nn)}},rn||ln.removeIcon||"\xD7"))}));function jn(Ln){for(var zn=Le.filter(function(or){return!or.disabled}),hr=zn.findIndex(function(or){return or.key===sn})||0,rn=zn.length,nn=0;nn<rn;nn+=1){hr=(hr+Ln+rn)%rn;var pn=zn[hr];if(!pn.disabled){gn(pn.key);return}}}function Yn(Ln){var zn=Ln.which;if(!Bt){[ze.Z.DOWN,ze.Z.SPACE,ze.Z.ENTER].includes(zn)&&(Ht(!0),Ln.preventDefault());return}switch(zn){case ze.Z.UP:jn(-1),Ln.preventDefault();break;case ze.Z.DOWN:jn(1),Ln.preventDefault();break;case ze.Z.ESC:Ht(!1);break;case ze.Z.SPACE:case ze.Z.ENTER:sn!==null&&Qt(sn,Ln);break}}(0,i.useEffect)(function(){var Ln=document.getElementById(Fn);Ln&&Ln.scrollIntoView&&Ln.scrollIntoView(!1)},[sn]),(0,i.useEffect)(function(){Bt||gn(null)},[Bt]);var er=(0,K.Z)({},ot?"marginRight":"marginLeft",Oe);Le.length||(er.visibility="hidden",er.order=1);var qn=g()((0,K.Z)({},"".concat(An,"-rtl"),ot)),Kn=De?null:i.createElement(ht.Z,(0,V.Z)({prefixCls:An,overlay:Rn,visible:Le.length?Bt:!1,onVisibleChange:Ht,overlayClassName:g()(qn,Ye),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:Xt},je),i.createElement("button",{type:"button",className:"".concat(It,"-nav-more"),style:er,"aria-haspopup":"listbox","aria-controls":wn,id:"".concat(Pe,"-more"),"aria-expanded":Bt,onKeyDown:Yn},In));return i.createElement("div",{className:g()("".concat(It,"-nav-operations"),qt),style:st,ref:pe},Kn,i.createElement(At,{prefixCls:It,locale:re,editable:ln}))}),yt=i.memo(Jt,function(J,pe){return pe.tabMoving}),cn=function(pe){var It=pe.prefixCls,Pe=pe.id,Le=pe.active,re=pe.focus,De=pe.tab,$e=De.key,je=De.label,st=De.disabled,qt=De.closeIcon,ln=De.icon,Oe=pe.closable,ot=pe.renderWrapper,wt=pe.removeAriaLabel,Qt=pe.editable,Xt=pe.onClick,Ye=pe.onFocus,ct=pe.onBlur,Nt=pe.onKeyDown,Bt=pe.onMouseDown,Ht=pe.onMouseUp,vt=pe.style,an=pe.tabCount,sn=pe.currentPosition,gn="".concat(It,"-tab"),bn=Be(Oe,qt,Qt,st);function In(rr){st||Xt(rr)}function wn(rr){rr.preventDefault(),rr.stopPropagation(),Qt.onEdit("remove",{key:$e,event:rr})}var An=i.useMemo(function(){return ln&&typeof je=="string"?i.createElement("span",null,je):je},[je,ln]),Fn=i.useRef(null);i.useEffect(function(){re&&Fn.current&&Fn.current.focus()},[re]);var Mn=i.createElement("div",{key:$e,"data-node-key":fe($e),className:g()(gn,(0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)({},"".concat(gn,"-with-remove"),bn),"".concat(gn,"-active"),Le),"".concat(gn,"-disabled"),st),"".concat(gn,"-focus"),re)),style:vt,onClick:In},i.createElement("div",{ref:Fn,role:"tab","aria-selected":Le,id:Pe&&"".concat(Pe,"-tab-").concat($e),className:"".concat(gn,"-btn"),"aria-controls":Pe&&"".concat(Pe,"-panel-").concat($e),"aria-disabled":st,tabIndex:st?null:Le?0:-1,onClick:function(Rn){Rn.stopPropagation(),In(Rn)},onKeyDown:Nt,onMouseDown:Bt,onMouseUp:Ht,onFocus:Ye,onBlur:ct},re&&i.createElement("div",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"Tab ".concat(sn," of ").concat(an)),ln&&i.createElement("span",{className:"".concat(gn,"-icon")},ln),je&&An),bn&&i.createElement("button",{type:"button",role:"tab","aria-label":wt||"remove",tabIndex:Le?0:-1,className:"".concat(gn,"-remove"),onClick:function(Rn){Rn.stopPropagation(),wn(Rn)}},qt||Qt.removeIcon||"\xD7"));return ot?ot(Mn):Mn},Je=cn,bt=function(pe,It){var Pe=pe.offsetWidth,Le=pe.offsetHeight,re=pe.offsetTop,De=pe.offsetLeft,$e=pe.getBoundingClientRect(),je=$e.width,st=$e.height,qt=$e.left,ln=$e.top;return Math.abs(je-Pe)<1?[je,st,qt-It.left,ln-It.top]:[Pe,Le,De,re]},Ge=function(pe){var It=pe.current||{},Pe=It.offsetWidth,Le=Pe===void 0?0:Pe,re=It.offsetHeight,De=re===void 0?0:re;if(pe.current){var $e=pe.current.getBoundingClientRect(),je=$e.width,st=$e.height;if(Math.abs(je-Le)<1)return[je,st]}return[Le,De]},Ne=function(pe,It){return pe[It?0:1]},ne=i.forwardRef(function(J,pe){var It=J.className,Pe=J.style,Le=J.id,re=J.animated,De=J.activeKey,$e=J.rtl,je=J.extra,st=J.editable,qt=J.locale,ln=J.tabPosition,Oe=J.tabBarGutter,ot=J.children,wt=J.onTabClick,Qt=J.onTabScroll,Xt=J.indicator,Ye=i.useContext(z),ct=Ye.prefixCls,Nt=Ye.tabs,Bt=(0,i.useRef)(null),Ht=(0,i.useRef)(null),vt=(0,i.useRef)(null),an=(0,i.useRef)(null),sn=(0,i.useRef)(null),gn=(0,i.useRef)(null),bn=(0,i.useRef)(null),In=ln==="top"||ln==="bottom",wn=he(0,function(mi,ai){In&&Qt&&Qt({direction:mi>ai?"left":"right"})}),An=(0,y.Z)(wn,2),Fn=An[0],Mn=An[1],rr=he(0,function(mi,ai){!In&&Qt&&Qt({direction:mi>ai?"top":"bottom"})}),Rn=(0,y.Z)(rr,2),jn=Rn[0],Yn=Rn[1],er=(0,i.useState)([0,0]),qn=(0,y.Z)(er,2),Kn=qn[0],Ln=qn[1],zn=(0,i.useState)([0,0]),hr=(0,y.Z)(zn,2),rn=hr[0],nn=hr[1],pn=(0,i.useState)([0,0]),or=(0,y.Z)(pn,2),tr=or[0],ur=or[1],lr=(0,i.useState)([0,0]),Un=(0,y.Z)(lr,2),fn=Un[0],dn=Un[1],xn=oe(new Map),Gn=(0,y.Z)(xn,2),Xn=Gn[0],gr=Gn[1],Er=be(Nt,Xn,rn[0]),Zn=Ne(Kn,In),Cr=Ne(rn,In),wr=Ne(tr,In),Kr=Ne(fn,In),Fr=Math.floor(Zn)<Math.floor(Cr+wr),Lr=Fr?Zn-Kr:Zn-wr,Sr="".concat(ct,"-nav-operations-hidden"),Zr=0,_r=0;In&&$e?(Zr=0,_r=Math.max(0,Cr-Lr)):(Zr=Math.min(0,Lr-Cr),_r=0);function Xr(mi){return mi<Zr?Zr:mi>_r?_r:mi}var Ir=(0,i.useRef)(null),Or=(0,i.useState)(),Nr=(0,y.Z)(Or,2),on=Nr[0],En=Nr[1];function br(){En(Date.now())}function Dr(){Ir.current&&clearTimeout(Ir.current)}se(an,function(mi,ai){function Ai(Li,ia){Li(function(ya){var Ca=Xr(ya+ia);return Ca})}return Fr?(In?Ai(Mn,mi):Ai(Yn,ai),Dr(),br(),!0):!1}),(0,i.useEffect)(function(){return Dr(),on&&(Ir.current=setTimeout(function(){En(0)},100)),Dr},[on]);var Qr=Ee(Er,Lr,In?Fn:jn,Cr,wr,Kr,(0,l.Z)((0,l.Z)({},J),{},{tabs:Nt})),Ar=(0,y.Z)(Qr,2),cr=Ar[0],hi=Ar[1],ar=(0,$.Z)(function(){var mi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:De,ai=Er.get(mi)||{width:0,height:0,left:0,right:0,top:0};if(In){var Ai=Fn;$e?ai.right<Fn?Ai=ai.right:ai.right+ai.width>Fn+Lr&&(Ai=ai.right+ai.width-Lr):ai.left<-Fn?Ai=-ai.left:ai.left+ai.width>-Fn+Lr&&(Ai=-(ai.left+ai.width-Lr)),Yn(0),Mn(Xr(Ai))}else{var Li=jn;ai.top<-jn?Li=-ai.top:ai.top+ai.height>-jn+Lr&&(Li=-(ai.top+ai.height-Lr)),Mn(0),Yn(Xr(Li))}}),_i=(0,i.useState)(),Yi=(0,y.Z)(_i,2),$i=Yi[0],Mi=Yi[1],ki=(0,i.useState)(!1),Gr=(0,y.Z)(ki,2),Di=Gr[0],ra=Gr[1],Zi=Nt.filter(function(mi){return!mi.disabled}).map(function(mi){return mi.key}),pi=function(ai){var Ai=Zi.indexOf($i||De),Li=Zi.length,ia=(Ai+ai+Li)%Li,ya=Zi[ia];Mi(ya)},Ni=function(ai){var Ai=ai.code,Li=$e&&In,ia=Zi[0],ya=Zi[Zi.length-1];switch(Ai){case"ArrowLeft":{In&&pi(Li?1:-1);break}case"ArrowRight":{In&&pi(Li?-1:1);break}case"ArrowUp":{ai.preventDefault(),In||pi(-1);break}case"ArrowDown":{ai.preventDefault(),In||pi(1);break}case"Home":{ai.preventDefault(),Mi(ia);break}case"End":{ai.preventDefault(),Mi(ya);break}case"Enter":case"Space":{ai.preventDefault(),wt(De,ai);break}case"Backspace":case"Delete":{var Ca=Zi.indexOf($i),Da=Nt.find(function(Aa){return Aa.key===$i}),$a=Be(Da==null?void 0:Da.closable,Da==null?void 0:Da.closeIcon,st,Da==null?void 0:Da.disabled);$a&&(ai.preventDefault(),ai.stopPropagation(),st.onEdit("remove",{key:$i,event:ai}),Ca===Zi.length-1?pi(-1):pi(1));break}}},ji={};In?ji[$e?"marginRight":"marginLeft"]=Oe:ji.marginTop=Oe;var zr=Nt.map(function(mi,ai){var Ai=mi.key;return i.createElement(Je,{id:Le,prefixCls:ct,key:Ai,tab:mi,style:ai===0?void 0:ji,closable:mi.closable,editable:st,active:Ai===De,focus:Ai===$i,renderWrapper:ot,removeAriaLabel:qt==null?void 0:qt.removeAriaLabel,tabCount:Zi.length,currentPosition:ai+1,onClick:function(ia){wt(Ai,ia)},onKeyDown:Ni,onFocus:function(){Di||Mi(Ai),ar(Ai),br(),an.current&&($e||(an.current.scrollLeft=0),an.current.scrollTop=0)},onBlur:function(){Mi(void 0)},onMouseDown:function(){ra(!0)},onMouseUp:function(){ra(!1)}})}),ri=function(){return gr(function(){var ai,Ai=new Map,Li=(ai=sn.current)===null||ai===void 0?void 0:ai.getBoundingClientRect();return Nt.forEach(function(ia){var ya,Ca=ia.key,Da=(ya=sn.current)===null||ya===void 0?void 0:ya.querySelector('[data-node-key="'.concat(fe(Ca),'"]'));if(Da){var $a=bt(Da,Li),Aa=(0,y.Z)($a,4),vs=Aa[0],ws=Aa[1],Ds=Aa[2],za=Aa[3];Ai.set(Ca,{width:vs,height:ws,left:Ds,top:za})}}),Ai})};(0,i.useEffect)(function(){ri()},[Nt.map(function(mi){return mi.key}).join("_")]);var vr=I(function(){var mi=Ge(Bt),ai=Ge(Ht),Ai=Ge(vt);Ln([mi[0]-ai[0]-Ai[0],mi[1]-ai[1]-Ai[1]]);var Li=Ge(bn);ur(Li);var ia=Ge(gn);dn(ia);var ya=Ge(sn);nn([ya[0]-Li[0],ya[1]-Li[1]]),ri()}),yr=Nt.slice(0,cr),Mr=Nt.slice(hi+1),Vr=[].concat((0,W.Z)(yr),(0,W.Z)(Mr)),wi=Er.get(De),xr=T({activeTabOffset:wi,horizontal:In,indicator:Xt,rtl:$e}),Rr=xr.style;(0,i.useEffect)(function(){ar()},[De,Zr,_r,_(wi),_(Er),In]),(0,i.useEffect)(function(){vr()},[$e]);var kr=!!Vr.length,jr="".concat(ct,"-nav-wrap"),ii,ma,Xi,ua;return In?$e?(ma=Fn>0,ii=Fn!==_r):(ii=Fn<0,ma=Fn!==Zr):(Xi=jn<0,ua=jn!==Zr),i.createElement(Y.Z,{onResize:vr},i.createElement("div",{ref:(0,R.x1)(pe,Bt),role:"tablist","aria-orientation":In?"horizontal":"vertical",className:g()("".concat(ct,"-nav"),It),style:Pe,onKeyDown:function(){br()}},i.createElement(it,{ref:Ht,position:"left",extra:je,prefixCls:ct}),i.createElement(Y.Z,{onResize:vr},i.createElement("div",{className:g()(jr,(0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)({},"".concat(jr,"-ping-left"),ii),"".concat(jr,"-ping-right"),ma),"".concat(jr,"-ping-top"),Xi),"".concat(jr,"-ping-bottom"),ua)),ref:an},i.createElement(Y.Z,{onResize:vr},i.createElement("div",{ref:sn,className:"".concat(ct,"-nav-list"),style:{transform:"translate(".concat(Fn,"px, ").concat(jn,"px)"),transition:on?"none":void 0}},zr,i.createElement(At,{ref:bn,prefixCls:ct,locale:qt,editable:st,style:(0,l.Z)((0,l.Z)({},zr.length===0?void 0:ji),{},{visibility:kr?"hidden":null})}),i.createElement("div",{className:g()("".concat(ct,"-ink-bar"),(0,K.Z)({},"".concat(ct,"-ink-bar-animated"),re.inkBar)),style:Rr}))))),i.createElement(yt,(0,V.Z)({},J,{removeAriaLabel:qt==null?void 0:qt.removeAriaLabel,ref:gn,prefixCls:ct,tabs:Vr,className:!kr&&Sr,tabMoving:!!on})),i.createElement(it,{ref:vt,position:"right",extra:je,prefixCls:ct})))}),lt=ne,Ke=i.forwardRef(function(J,pe){var It=J.prefixCls,Pe=J.className,Le=J.style,re=J.id,De=J.active,$e=J.tabKey,je=J.children;return i.createElement("div",{id:re&&"".concat(re,"-panel-").concat($e),role:"tabpanel",tabIndex:De?0:-1,"aria-labelledby":re&&"".concat(re,"-tab-").concat($e),"aria-hidden":!De,style:Le,className:g()(It,De&&"".concat(It,"-active"),Pe),ref:pe},je)}),H=Ke,M=["renderTabBar"],_e=["label","key"],me=function(pe){var It=pe.renderTabBar,Pe=(0,b.Z)(pe,M),Le=i.useContext(z),re=Le.tabs;if(It){var De=(0,l.Z)((0,l.Z)({},Pe),{},{panes:re.map(function($e){var je=$e.label,st=$e.key,qt=(0,b.Z)($e,_e);return i.createElement(H,(0,V.Z)({tab:je,key:st,tabKey:st},qt))})});return It(De,lt)}return i.createElement(lt,Pe)},Te=me,Fe=u(77900),Xe=["key","forceRender","style","className","destroyInactiveTabPane"],gt=function(pe){var It=pe.id,Pe=pe.activeKey,Le=pe.animated,re=pe.tabPosition,De=pe.destroyInactiveTabPane,$e=i.useContext(z),je=$e.prefixCls,st=$e.tabs,qt=Le.tabPane,ln="".concat(je,"-tabpane");return i.createElement("div",{className:g()("".concat(je,"-content-holder"))},i.createElement("div",{className:g()("".concat(je,"-content"),"".concat(je,"-content-").concat(re),(0,K.Z)({},"".concat(je,"-content-animated"),qt))},st.map(function(Oe){var ot=Oe.key,wt=Oe.forceRender,Qt=Oe.style,Xt=Oe.className,Ye=Oe.destroyInactiveTabPane,ct=(0,b.Z)(Oe,Xe),Nt=ot===Pe;return i.createElement(Fe.default,(0,V.Z)({key:ot,visible:Nt,forceRender:wt,removeOnLeave:!!(De||Ye),leavedClassName:"".concat(ln,"-hidden")},Le.tabPaneMotion),function(Bt,Ht){var vt=Bt.style,an=Bt.className;return i.createElement(H,(0,V.Z)({},ct,{prefixCls:ln,id:It,tabKey:ot,animated:qt,active:Nt,style:(0,l.Z)((0,l.Z)({},Qt),vt),className:g()(Xt,an),ref:Ht}))})})))},de=gt,xe=u(48736);function Pt(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},pe;return J===!1?pe={inkBar:!1,tabPane:!1}:J===!0?pe={inkBar:!0,tabPane:!1}:pe=(0,l.Z)({inkBar:!0},(0,P.Z)(J)==="object"?J:{}),pe.tabPaneMotion&&pe.tabPane===void 0&&(pe.tabPane=!0),!pe.tabPaneMotion&&pe.tabPane&&(pe.tabPane=!1),pe}var xt=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],kt=0,Mt=i.forwardRef(function(J,pe){var It=J.id,Pe=J.prefixCls,Le=Pe===void 0?"rc-tabs":Pe,re=J.className,De=J.items,$e=J.direction,je=J.activeKey,st=J.defaultActiveKey,qt=J.editable,ln=J.animated,Oe=J.tabPosition,ot=Oe===void 0?"top":Oe,wt=J.tabBarGutter,Qt=J.tabBarStyle,Xt=J.tabBarExtraContent,Ye=J.locale,ct=J.more,Nt=J.destroyInactiveTabPane,Bt=J.renderTabBar,Ht=J.onChange,vt=J.onTabClick,an=J.onTabScroll,sn=J.getPopupContainer,gn=J.popupClassName,bn=J.indicator,In=(0,b.Z)(J,xt),wn=i.useMemo(function(){return(De||[]).filter(function(fn){return fn&&(0,P.Z)(fn)==="object"&&"key"in fn})},[De]),An=$e==="rtl",Fn=Pt(ln),Mn=(0,i.useState)(!1),rr=(0,y.Z)(Mn,2),Rn=rr[0],jn=rr[1];(0,i.useEffect)(function(){jn((0,w.Z)())},[]);var Yn=(0,C.Z)(function(){var fn;return(fn=wn[0])===null||fn===void 0?void 0:fn.key},{value:je,defaultValue:st}),er=(0,y.Z)(Yn,2),qn=er[0],Kn=er[1],Ln=(0,i.useState)(function(){return wn.findIndex(function(fn){return fn.key===qn})}),zn=(0,y.Z)(Ln,2),hr=zn[0],rn=zn[1];(0,i.useEffect)(function(){var fn=wn.findIndex(function(xn){return xn.key===qn});if(fn===-1){var dn;fn=Math.max(0,Math.min(hr,wn.length-1)),Kn((dn=wn[fn])===null||dn===void 0?void 0:dn.key)}rn(fn)},[wn.map(function(fn){return fn.key}).join("_"),qn,hr]);var nn=(0,C.Z)(null,{value:It}),pn=(0,y.Z)(nn,2),or=pn[0],tr=pn[1];(0,i.useEffect)(function(){It||(tr("rc-tabs-".concat(kt)),kt+=1)},[]);function ur(fn,dn){vt==null||vt(fn,dn);var xn=fn!==qn;Kn(fn),xn&&(Ht==null||Ht(fn))}var lr={id:or,activeKey:qn,animated:Fn,tabPosition:ot,rtl:An,mobile:Rn},Un=(0,l.Z)((0,l.Z)({},lr),{},{editable:qt,locale:Ye,more:ct,tabBarGutter:wt,onTabClick:ur,onTabScroll:an,extra:Xt,style:Qt,panes:null,getPopupContainer:sn,popupClassName:gn,indicator:bn});return i.createElement(z.Provider,{value:{tabs:wn,prefixCls:Le}},i.createElement("div",(0,V.Z)({ref:pe,id:It,className:g()(Le,"".concat(Le,"-").concat(ot),(0,K.Z)((0,K.Z)((0,K.Z)({},"".concat(Le,"-mobile"),Rn),"".concat(Le,"-editable"),qt),"".concat(Le,"-rtl"),An),re)},In),i.createElement(Te,(0,V.Z)({},Un,{renderTabBar:Bt})),i.createElement(de,(0,V.Z)({destroyInactiveTabPane:Nt},lr,{animated:Fn}))))}),mt=Mt,Gt=mt,Zt=u(48755),Re=u(83397),pt=u(31756),E=u(86641);const D={motionAppear:!1,motionEnter:!0,motionLeave:!0};function rt(J){let pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},It;return pe===!1?It={inkBar:!1,tabPane:!1}:pe===!0?It={inkBar:!0,tabPane:!0}:It=Object.assign({inkBar:!0},typeof pe=="object"?pe:{}),It.tabPane&&(It.tabPaneMotion=Object.assign(Object.assign({},D),{motionName:(0,E.m)(J,"switch")})),It}var te=u(11592),Ae=function(J,pe){var It={};for(var Pe in J)Object.prototype.hasOwnProperty.call(J,Pe)&&pe.indexOf(Pe)<0&&(It[Pe]=J[Pe]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Pe=Object.getOwnPropertySymbols(J);Le<Pe.length;Le++)pe.indexOf(Pe[Le])<0&&Object.prototype.propertyIsEnumerable.call(J,Pe[Le])&&(It[Pe[Le]]=J[Pe[Le]]);return It};function tn(J){return J.filter(pe=>pe)}function Ce(J,pe){if(J)return J;const It=(0,te.Z)(pe).map(Pe=>{if(i.isValidElement(Pe)){const{key:Le,props:re}=Pe,De=re||{},{tab:$e}=De,je=Ae(De,["tab"]);return Object.assign(Object.assign({key:String(Le)},je),{label:$e})}return null});return tn(It)}var Ve=u(36237),ut=u(63356),ye=u(16931),we=u(51636),tt=u(46e3),X=J=>{const{componentCls:pe,motionDurationSlow:It}=J;return[{[pe]:{[`${pe}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${It}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${It}`}}}}},[(0,tt.oN)(J,"slide-up"),(0,tt.oN)(J,"slide-down")]]};const St=J=>{const{componentCls:pe,tabsCardPadding:It,cardBg:Pe,cardGutter:Le,colorBorderSecondary:re,itemSelectedColor:De}=J;return{[`${pe}-card`]:{[`> ${pe}-nav, > div > ${pe}-nav`]:{[`${pe}-tab`]:{margin:0,padding:It,background:Pe,border:`${(0,Ve.unit)(J.lineWidth)} ${J.lineType} ${re}`,transition:`all ${J.motionDurationSlow} ${J.motionEaseInOut}`},[`${pe}-tab-active`]:{color:De,background:J.colorBgContainer},[`${pe}-tab-focus`]:Object.assign({},(0,ut.oN)(J,-3)),[`${pe}-ink-bar`]:{visibility:"hidden"},[`& ${pe}-tab${pe}-tab-focus ${pe}-tab-btn`]:{outline:"none"}},[`&${pe}-top, &${pe}-bottom`]:{[`> ${pe}-nav, > div > ${pe}-nav`]:{[`${pe}-tab + ${pe}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,Ve.unit)(Le)}}}},[`&${pe}-top`]:{[`> ${pe}-nav, > div > ${pe}-nav`]:{[`${pe}-tab`]:{borderRadius:`${(0,Ve.unit)(J.borderRadiusLG)} ${(0,Ve.unit)(J.borderRadiusLG)} 0 0`},[`${pe}-tab-active`]:{borderBottomColor:J.colorBgContainer}}},[`&${pe}-bottom`]:{[`> ${pe}-nav, > div > ${pe}-nav`]:{[`${pe}-tab`]:{borderRadius:`0 0 ${(0,Ve.unit)(J.borderRadiusLG)} ${(0,Ve.unit)(J.borderRadiusLG)}`},[`${pe}-tab-active`]:{borderTopColor:J.colorBgContainer}}},[`&${pe}-left, &${pe}-right`]:{[`> ${pe}-nav, > div > ${pe}-nav`]:{[`${pe}-tab + ${pe}-tab`]:{marginTop:(0,Ve.unit)(Le)}}},[`&${pe}-left`]:{[`> ${pe}-nav, > div > ${pe}-nav`]:{[`${pe}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,Ve.unit)(J.borderRadiusLG)} 0 0 ${(0,Ve.unit)(J.borderRadiusLG)}`}},[`${pe}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:J.colorBgContainer}}}},[`&${pe}-right`]:{[`> ${pe}-nav, > div > ${pe}-nav`]:{[`${pe}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,Ve.unit)(J.borderRadiusLG)} ${(0,Ve.unit)(J.borderRadiusLG)} 0`}},[`${pe}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:J.colorBgContainer}}}}}}},Se=J=>{const{componentCls:pe,itemHoverColor:It,dropdownEdgeChildVerticalPadding:Pe}=J;return{[`${pe}-dropdown`]:Object.assign(Object.assign({},(0,ut.Wf)(J)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:J.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${pe}-dropdown-menu`]:{maxHeight:J.tabsDropdownHeight,margin:0,padding:`${(0,Ve.unit)(Pe)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:J.colorBgContainer,backgroundClip:"padding-box",borderRadius:J.borderRadiusLG,outline:"none",boxShadow:J.boxShadowSecondary,"&-item":Object.assign(Object.assign({},ut.vS),{display:"flex",alignItems:"center",minWidth:J.tabsDropdownWidth,margin:0,padding:`${(0,Ve.unit)(J.paddingXXS)} ${(0,Ve.unit)(J.paddingSM)}`,color:J.colorText,fontWeight:"normal",fontSize:J.fontSize,lineHeight:J.lineHeight,cursor:"pointer",transition:`all ${J.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:J.marginSM},color:J.colorTextDescription,fontSize:J.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:It}},"&:hover":{background:J.controlItemBgHover},"&-disabled":{"&, &:hover":{color:J.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Wt=J=>{const{componentCls:pe,margin:It,colorBorderSecondary:Pe,horizontalMargin:Le,verticalItemPadding:re,verticalItemMargin:De,calc:$e}=J;return{[`${pe}-top, ${pe}-bottom`]:{flexDirection:"column",[`> ${pe}-nav, > div > ${pe}-nav`]:{margin:Le,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,Ve.unit)(J.lineWidth)} ${J.lineType} ${Pe}`,content:"''"},[`${pe}-ink-bar`]:{height:J.lineWidthBold,"&-animated":{transition:`width ${J.motionDurationSlow}, left ${J.motionDurationSlow},
|
|
|
right ${J.motionDurationSlow}`}},[`${pe}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:J.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:J.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:J.boxShadowTabsOverflowRight},[`&${pe}-nav-wrap-ping-left::before`]:{opacity:1},[`&${pe}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${pe}-top`]:{[`> ${pe}-nav,
|
|
|
> div > ${pe}-nav`]:{"&::before":{bottom:0},[`${pe}-ink-bar`]:{bottom:0}}},[`${pe}-bottom`]:{[`> ${pe}-nav, > div > ${pe}-nav`]:{order:1,marginTop:It,marginBottom:0,"&::before":{top:0},[`${pe}-ink-bar`]:{top:0}},[`> ${pe}-content-holder, > div > ${pe}-content-holder`]:{order:0}},[`${pe}-left, ${pe}-right`]:{[`> ${pe}-nav, > div > ${pe}-nav`]:{flexDirection:"column",minWidth:$e(J.controlHeight).mul(1.25).equal(),[`${pe}-tab`]:{padding:re,textAlign:"center"},[`${pe}-tab + ${pe}-tab`]:{margin:De},[`${pe}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:J.controlHeight},"&::before":{top:0,boxShadow:J.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:J.boxShadowTabsOverflowBottom},[`&${pe}-nav-wrap-ping-top::before`]:{opacity:1},[`&${pe}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${pe}-ink-bar`]:{width:J.lineWidthBold,"&-animated":{transition:`height ${J.motionDurationSlow}, top ${J.motionDurationSlow}`}},[`${pe}-nav-list, ${pe}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${pe}-left`]:{[`> ${pe}-nav, > div > ${pe}-nav`]:{[`${pe}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${pe}-content-holder, > div > ${pe}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,Ve.unit)($e(J.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,Ve.unit)(J.lineWidth)} ${J.lineType} ${J.colorBorder}`},[`> ${pe}-content > ${pe}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:J.paddingLG}}}},[`${pe}-right`]:{[`> ${pe}-nav, > div > ${pe}-nav`]:{order:1,[`${pe}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${pe}-content-holder, > div > ${pe}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:$e(J.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,Ve.unit)(J.lineWidth)} ${J.lineType} ${J.colorBorder}`},[`> ${pe}-content > ${pe}-tabpane`]:{paddingRight:{_skip_check_:!0,value:J.paddingLG}}}}}},Kt=J=>{const{componentCls:pe,cardPaddingSM:It,cardPaddingLG:Pe,horizontalItemPaddingSM:Le,horizontalItemPaddingLG:re}=J;return{[pe]:{"&-small":{[`> ${pe}-nav`]:{[`${pe}-tab`]:{padding:Le,fontSize:J.titleFontSizeSM}}},"&-large":{[`> ${pe}-nav`]:{[`${pe}-tab`]:{padding:re,fontSize:J.titleFontSizeLG}}}},[`${pe}-card`]:{[`&${pe}-small`]:{[`> ${pe}-nav`]:{[`${pe}-tab`]:{padding:It}},[`&${pe}-bottom`]:{[`> ${pe}-nav ${pe}-tab`]:{borderRadius:`0 0 ${(0,Ve.unit)(J.borderRadius)} ${(0,Ve.unit)(J.borderRadius)}`}},[`&${pe}-top`]:{[`> ${pe}-nav ${pe}-tab`]:{borderRadius:`${(0,Ve.unit)(J.borderRadius)} ${(0,Ve.unit)(J.borderRadius)} 0 0`}},[`&${pe}-right`]:{[`> ${pe}-nav ${pe}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,Ve.unit)(J.borderRadius)} ${(0,Ve.unit)(J.borderRadius)} 0`}}},[`&${pe}-left`]:{[`> ${pe}-nav ${pe}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,Ve.unit)(J.borderRadius)} 0 0 ${(0,Ve.unit)(J.borderRadius)}`}}}},[`&${pe}-large`]:{[`> ${pe}-nav`]:{[`${pe}-tab`]:{padding:Pe}}}}}},Rt=J=>{const{componentCls:pe,itemActiveColor:It,itemHoverColor:Pe,iconCls:Le,tabsHorizontalItemMargin:re,horizontalItemPadding:De,itemSelectedColor:$e,itemColor:je}=J,st=`${pe}-tab`;return{[st]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:De,fontSize:J.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:je,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:It}},"&-btn":{outline:"none",transition:`all ${J.motionDurationSlow}`,[`${st}-icon:not(:last-child)`]:{marginInlineEnd:J.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:J.calc(J.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:J.marginXS},color:J.colorTextDescription,fontSize:J.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${J.motionDurationSlow}`,"&:hover":{color:J.colorTextHeading}},(0,ut.Qy)(J)),"&:hover":{color:Pe},[`&${st}-active ${st}-btn`]:{color:$e,textShadow:J.tabsActiveTextShadow},[`&${st}-focus ${st}-btn`]:Object.assign({},(0,ut.oN)(J)),[`&${st}-disabled`]:{color:J.colorTextDisabled,cursor:"not-allowed"},[`&${st}-disabled ${st}-btn, &${st}-disabled ${pe}-remove`]:{"&:focus, &:active":{color:J.colorTextDisabled}},[`& ${st}-remove ${Le}`]:{margin:0},[`${Le}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:J.marginSM}}},[`${st} + ${st}`]:{margin:{_skip_check_:!0,value:re}}}},le=J=>{const{componentCls:pe,tabsHorizontalItemMarginRTL:It,iconCls:Pe,cardGutter:Le,calc:re}=J;return{[`${pe}-rtl`]:{direction:"rtl",[`${pe}-nav`]:{[`${pe}-tab`]:{margin:{_skip_check_:!0,value:It},[`${pe}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Pe]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,Ve.unit)(J.marginSM)}},[`${pe}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,Ve.unit)(J.marginXS)},marginLeft:{_skip_check_:!0,value:(0,Ve.unit)(re(J.marginXXS).mul(-1).equal())},[Pe]:{margin:0}}}},[`&${pe}-left`]:{[`> ${pe}-nav`]:{order:1},[`> ${pe}-content-holder`]:{order:0}},[`&${pe}-right`]:{[`> ${pe}-nav`]:{order:0},[`> ${pe}-content-holder`]:{order:1}},[`&${pe}-card${pe}-top, &${pe}-card${pe}-bottom`]:{[`> ${pe}-nav, > div > ${pe}-nav`]:{[`${pe}-tab + ${pe}-tab`]:{marginRight:{_skip_check_:!0,value:Le},marginLeft:{_skip_check_:!0,value:0}}}}},[`${pe}-dropdown-rtl`]:{direction:"rtl"},[`${pe}-menu-item`]:{[`${pe}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},ae=J=>{const{componentCls:pe,tabsCardPadding:It,cardHeight:Pe,cardGutter:Le,itemHoverColor:re,itemActiveColor:De,colorBorderSecondary:$e}=J;return{[pe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ut.Wf)(J)),{display:"flex",[`> ${pe}-nav, > div > ${pe}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${pe}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${J.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${pe}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${J.motionDurationSlow}`},[`${pe}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${pe}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${pe}-nav-more`]:{position:"relative",padding:It,background:"transparent",border:0,color:J.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:J.calc(J.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${pe}-nav-add`]:Object.assign({minWidth:Pe,marginLeft:{_skip_check_:!0,value:Le},padding:(0,Ve.unit)(J.paddingXS),background:"transparent",border:`${(0,Ve.unit)(J.lineWidth)} ${J.lineType} ${$e}`,borderRadius:`${(0,Ve.unit)(J.borderRadiusLG)} ${(0,Ve.unit)(J.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:J.colorText,transition:`all ${J.motionDurationSlow} ${J.motionEaseInOut}`,"&:hover":{color:re},"&:active, &:focus:not(:focus-visible)":{color:De}},(0,ut.Qy)(J,-3))},[`${pe}-extra-content`]:{flex:"none"},[`${pe}-ink-bar`]:{position:"absolute",background:J.inkBarColor,pointerEvents:"none"}}),Rt(J)),{[`${pe}-content`]:{position:"relative",width:"100%"},[`${pe}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${pe}-tabpane`]:Object.assign(Object.assign({},(0,ut.Qy)(J)),{"&-hidden":{display:"none"}})}),[`${pe}-centered`]:{[`> ${pe}-nav, > div > ${pe}-nav`]:{[`${pe}-nav-wrap`]:{[`&:not([class*='${pe}-nav-wrap-ping']) > ${pe}-nav-list`]:{margin:"auto"}}}}}},N=J=>{const pe=J.controlHeightLG;return{zIndexPopup:J.zIndexPopupBase+50,cardBg:J.colorFillAlter,cardHeight:pe,cardPadding:`${(pe-Math.round(J.fontSize*J.lineHeight))/2-J.lineWidth}px ${J.padding}px`,cardPaddingSM:`${J.paddingXXS*1.5}px ${J.padding}px`,cardPaddingLG:`${J.paddingXS}px ${J.padding}px ${J.paddingXXS*1.5}px`,titleFontSize:J.fontSize,titleFontSizeLG:J.fontSizeLG,titleFontSizeSM:J.fontSize,inkBarColor:J.colorPrimary,horizontalMargin:`0 0 ${J.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${J.paddingSM}px 0`,horizontalItemPaddingSM:`${J.paddingXS}px 0`,horizontalItemPaddingLG:`${J.padding}px 0`,verticalItemPadding:`${J.paddingXS}px ${J.paddingLG}px`,verticalItemMargin:`${J.margin}px 0 0 0`,itemColor:J.colorText,itemSelectedColor:J.colorPrimary,itemHoverColor:J.colorPrimaryHover,itemActiveColor:J.colorPrimaryActive,cardGutter:J.marginXXS/2}};var _t=(0,ye.I$)("Tabs",J=>{const pe=(0,we.mergeToken)(J,{tabsCardPadding:J.cardPadding,dropdownEdgeChildVerticalPadding:J.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,Ve.unit)(J.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,Ve.unit)(J.horizontalItemGutter)}`});return[Kt(pe),le(pe),Wt(pe),Se(pe),St(pe),ae(pe),X(pe)]},N),nt=()=>null,Ft=function(J,pe){var It={};for(var Pe in J)Object.prototype.hasOwnProperty.call(J,Pe)&&pe.indexOf(Pe)<0&&(It[Pe]=J[Pe]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Pe=Object.getOwnPropertySymbols(J);Le<Pe.length;Le++)pe.indexOf(Pe[Le])<0&&Object.prototype.propertyIsEnumerable.call(J,Pe[Le])&&(It[Pe[Le]]=J[Pe[Le]]);return It};const Ot=J=>{var pe,It,Pe,Le,re,De,$e,je,st,qt,ln;const{type:Oe,className:ot,rootClassName:wt,size:Qt,onEdit:Xt,hideAdd:Ye,centered:ct,addIcon:Nt,removeIcon:Bt,moreIcon:Ht,more:vt,popupClassName:an,children:sn,items:gn,animated:bn,style:In,indicatorSize:wn,indicator:An}=J,Fn=Ft(J,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:Mn}=Fn,{direction:rr,tabs:Rn,getPrefixCls:jn,getPopupContainer:Yn}=i.useContext(Zt.E_),er=jn("tabs",Mn),qn=(0,Re.Z)(er),[Kn,Ln,zn]=_t(er,qn);let hr;Oe==="editable-card"&&(hr={onEdit:(lr,Un)=>{let{key:fn,event:dn}=Un;Xt==null||Xt(lr==="add"?dn:fn,lr)},removeIcon:(pe=Bt!=null?Bt:Rn==null?void 0:Rn.removeIcon)!==null&&pe!==void 0?pe:i.createElement(U.Z,null),addIcon:(Nt!=null?Nt:Rn==null?void 0:Rn.addIcon)||i.createElement(ce.Z,null),showAdd:Ye!==!0});const rn=jn(),nn=(0,pt.Z)(Qt),pn=Ce(gn,sn),or=rt(er,bn),tr=Object.assign(Object.assign({},Rn==null?void 0:Rn.style),In),ur={align:(It=An==null?void 0:An.align)!==null&&It!==void 0?It:(Pe=Rn==null?void 0:Rn.indicator)===null||Pe===void 0?void 0:Pe.align,size:($e=(re=(Le=An==null?void 0:An.size)!==null&&Le!==void 0?Le:wn)!==null&&re!==void 0?re:(De=Rn==null?void 0:Rn.indicator)===null||De===void 0?void 0:De.size)!==null&&$e!==void 0?$e:Rn==null?void 0:Rn.indicatorSize};return Kn(i.createElement(Gt,Object.assign({direction:rr,getPopupContainer:Yn},Fn,{items:pn,className:g()({[`${er}-${nn}`]:nn,[`${er}-card`]:["card","editable-card"].includes(Oe),[`${er}-editable-card`]:Oe==="editable-card",[`${er}-centered`]:ct},Rn==null?void 0:Rn.className,ot,wt,Ln,zn,qn),popupClassName:g()(an,Ln,zn,qn),style:tr,editable:hr,more:Object.assign({icon:(ln=(qt=(st=(je=Rn==null?void 0:Rn.more)===null||je===void 0?void 0:je.icon)!==null&&st!==void 0?st:Rn==null?void 0:Rn.moreIcon)!==null&&qt!==void 0?qt:Ht)!==null&&ln!==void 0?ln:i.createElement(L.Z,null),transitionName:`${rn}-slide-up`},vt),prefixCls:er,animated:or,indicator:ur})))};Ot.TabPane=nt;var zt=Ot},93427:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return U}});var i=u(34998);function U(L,ce){return i.i.reduce((j,g)=>{const V=L[`${g}1`],K=L[`${g}3`],l=L[`${g}6`],y=L[`${g}7`];return Object.assign(Object.assign({},j),ce(g,{lightColor:V,lightBorderColor:K,darkColor:l,textColor:y}))},{})}},25399:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return oe}});var i=u(59301),U=u(92310),L=u.n(U),ce=u(29125),j=u(18929),g=u(62487),V=u(75030),K=u(86641),l=u(52838),y=u(22703),P=u(32383),b=u(55743),C=u(57700),w=u(48755),z=u(36237),W=u(63356),Y=u(34925),$=u(37645),R=u(36305),G=u(93427),O=u(51636),T=u(16931);const ue=ie=>{const{calc:Ee,componentCls:_,tooltipMaxWidth:A,tooltipColor:fe,tooltipBg:Be,tooltipBorderRadius:ft,zIndexPopup:At,controlHeight:Ie,boxShadowSecondary:it,paddingSM:ht,paddingXS:Tt,arrowOffsetHorizontal:ze,sizePopupArrow:Jt}=ie,yt=Ee(ft).add(Jt).add(ze).equal(),cn=Ee(ft).mul(2).add(Jt).equal();return[{[_]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,W.Wf)(ie)),{position:"absolute",zIndex:At,display:"block",width:"max-content",maxWidth:A,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":Be,[`${_}-inner`]:{minWidth:cn,minHeight:Ie,padding:`${(0,z.unit)(ie.calc(ht).div(2).equal())} ${(0,z.unit)(Tt)}`,color:fe,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:Be,borderRadius:ft,boxShadow:it,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:yt},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${_}-inner`]:{borderRadius:ie.min(ft,$.qN)}},[`${_}-content`]:{position:"relative"}}),(0,G.Z)(ie,(Je,bt)=>{let{darkColor:Ge}=bt;return{[`&${_}-${Je}`]:{[`${_}-inner`]:{backgroundColor:Ge},[`${_}-arrow`]:{"--antd-arrow-background-color":Ge}}}})),{"&-rtl":{direction:"rtl"}})},(0,$.ZP)(ie,"var(--antd-arrow-background-color)"),{[`${_}-pure`]:{position:"relative",maxWidth:"none",margin:ie.sizePopupArrow}}]},be=ie=>Object.assign(Object.assign({zIndexPopup:ie.zIndexPopupBase+70},(0,$.wZ)({contentRadius:ie.borderRadius,limitVerticalRadius:!0})),(0,R.w)((0,O.mergeToken)(ie,{borderRadiusOuter:Math.min(ie.borderRadiusOuter,4)})));var he=function(ie){let Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,T.I$)("Tooltip",A=>{const{borderRadius:fe,colorTextLightSolid:Be,colorBgSpotlight:ft}=A,At=(0,O.mergeToken)(A,{tooltipMaxWidth:250,tooltipColor:Be,tooltipBorderRadius:fe,tooltipBg:ft});return[ue(At),(0,Y._y)(A,"zoom-big-fast")]},be,{resetStyle:!1,injectStyle:Ee})(ie)},Ue=u(29509);function Qe(ie,Ee){const _=(0,Ue.o2)(Ee),A=L()({[`${ie}-${Ee}`]:Ee&&_}),fe={},Be={};return Ee&&!_&&(fe.background=Ee,Be["--antd-arrow-background-color"]=Ee),{className:A,overlayStyle:fe,arrowStyle:Be}}var Ze=ie=>{const{prefixCls:Ee,className:_,placement:A="top",title:fe,color:Be,overlayInnerStyle:ft}=ie,{getPrefixCls:At}=i.useContext(w.E_),Ie=At("tooltip",Ee),[it,ht,Tt]=he(Ie),ze=Qe(Ie,Be),Jt=ze.arrowStyle,yt=Object.assign(Object.assign({},ft),ze.overlayStyle),cn=L()(ht,Tt,Ie,`${Ie}-pure`,`${Ie}-placement-${A}`,_,ze.className);return it(i.createElement("div",{className:cn,style:Jt},i.createElement("div",{className:`${Ie}-arrow`}),i.createElement(ce.G,Object.assign({},ie,{className:ht,prefixCls:Ie,overlayInnerStyle:yt}),fe)))},se=function(ie,Ee){var _={};for(var A in ie)Object.prototype.hasOwnProperty.call(ie,A)&&Ee.indexOf(A)<0&&(_[A]=ie[A]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,A=Object.getOwnPropertySymbols(ie);fe<A.length;fe++)Ee.indexOf(A[fe])<0&&Object.prototype.propertyIsEnumerable.call(ie,A[fe])&&(_[A[fe]]=ie[A[fe]]);return _};const I=i.forwardRef((ie,Ee)=>{var _,A;const{prefixCls:fe,openClassName:Be,getTooltipContainer:ft,color:At,overlayInnerStyle:Ie,children:it,afterOpenChange:ht,afterVisibleChange:Tt,destroyTooltipOnHide:ze,arrow:Jt=!0,title:yt,overlay:cn,builtinPlacements:Je,arrowPointAtCenter:bt=!1,autoAdjustOverflow:Ge=!0,motion:Ne,getPopupContainer:ne,placement:lt="top",mouseEnterDelay:Ke=.1,mouseLeaveDelay:H=.1,overlayStyle:M,rootClassName:_e,overlayClassName:me,styles:Te,classNames:Fe}=ie,Xe=se(ie,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),gt=!!Jt,[,de]=(0,C.ZP)(),{getPopupContainer:xe,getPrefixCls:Pt,direction:xt,className:kt,style:Mt,classNames:mt,styles:Gt}=(0,w.dj)("tooltip"),Zt=(0,P.ln)("Tooltip"),Re=i.useRef(null),pt=()=>{var nt;(nt=Re.current)===null||nt===void 0||nt.forceAlign()};i.useImperativeHandle(Ee,()=>{var nt,Ft;return{forceAlign:pt,forcePopupAlign:()=>{Zt.deprecated(!1,"forcePopupAlign","forceAlign"),pt()},nativeElement:(nt=Re.current)===null||nt===void 0?void 0:nt.nativeElement,popupElement:(Ft=Re.current)===null||Ft===void 0?void 0:Ft.popupElement}});const[E,D]=(0,j.Z)(!1,{value:(_=ie.open)!==null&&_!==void 0?_:ie.visible,defaultValue:(A=ie.defaultOpen)!==null&&A!==void 0?A:ie.defaultVisible}),rt=!yt&&!cn&&yt!==0,te=nt=>{var Ft,Ot;D(rt?!1:nt),rt||((Ft=ie.onOpenChange)===null||Ft===void 0||Ft.call(ie,nt),(Ot=ie.onVisibleChange)===null||Ot===void 0||Ot.call(ie,nt))},Ae=i.useMemo(()=>{var nt,Ft;let Ot=bt;return typeof Jt=="object"&&(Ot=(Ft=(nt=Jt.pointAtCenter)!==null&&nt!==void 0?nt:Jt.arrowPointAtCenter)!==null&&Ft!==void 0?Ft:bt),Je||(0,l.Z)({arrowPointAtCenter:Ot,autoAdjustOverflow:Ge,arrowWidth:gt?de.sizePopupArrow:0,borderRadius:de.borderRadius,offset:de.marginXXS,visibleFirst:!0})},[bt,Jt,Je,de]),tn=i.useMemo(()=>yt===0?yt:cn||yt||"",[cn,yt]),Ce=i.createElement(g.Z,{space:!0},typeof tn=="function"?tn():tn),Ve=Pt("tooltip",fe),ut=Pt(),ye=ie["data-popover-inject"];let we=E;!("open"in ie)&&!("visible"in ie)&&rt&&(we=!1);const tt=i.isValidElement(it)&&!(0,y.M2)(it)?it:i.createElement("span",null,it),et=tt.props,X=!et.className||typeof et.className=="string"?L()(et.className,Be||`${Ve}-open`):et.className,[St,Se,Wt]=he(Ve,!ye),Kt=Qe(Ve,At),Rt=Kt.arrowStyle,le=L()(me,{[`${Ve}-rtl`]:xt==="rtl"},Kt.className,_e,Se,Wt,kt,mt.root,Fe==null?void 0:Fe.root),ae=L()(mt.body,Fe==null?void 0:Fe.body),[N,_t]=(0,V.Cn)("Tooltip",Xe.zIndex),dt=i.createElement(ce.Z,Object.assign({},Xe,{zIndex:N,showArrow:gt,placement:lt,mouseEnterDelay:Ke,mouseLeaveDelay:H,prefixCls:Ve,classNames:{root:le,body:ae},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Rt),Gt.root),Mt),M),Te==null?void 0:Te.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},Gt.body),Ie),Te==null?void 0:Te.body),Kt.overlayStyle)},getTooltipContainer:ne||ft||xe,ref:Re,builtinPlacements:Ae,overlay:Ce,visible:we,onVisibleChange:te,afterVisibleChange:ht!=null?ht:Tt,arrowContent:i.createElement("span",{className:`${Ve}-arrow-content`}),motion:{motionName:(0,K.m)(ut,"zoom-big-fast",ie.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!ze}),we?(0,y.Tm)(tt,{className:X}):tt);return St(i.createElement(b.Z.Provider,{value:_t},dt))});I._InternalPanelDoNotUseOrYouWillBeFired=Ze;var oe=I},53420:function(Pn,Lt,u){"use strict";u.d(Lt,{default:function(){return le}});var i=u(59301),U=u(92310),L=u.n(U),ce=u(54476),j=u(94480),g=u(33885),V=u(42978),K=u(75931),l=u(76190),y=u(37463),P=u(6551),b=u(34643),C=u(18929),w=u(48736),z=function(ae){var N=i.useRef({valueLabels:new Map});return i.useMemo(function(){var _t=N.current.valueLabels,dt=new Map,nt=ae.map(function(Ft){var Ot=Ft.value,zt=Ft.label,J=zt!=null?zt:_t.get(Ot);return dt.set(Ot,J),(0,g.Z)((0,g.Z)({},Ft),{},{label:J})});return N.current.valueLabels=dt,[nt]},[ae])},W=function(N,_t,dt,nt){return i.useMemo(function(){var Ft=function(re){return re.map(function(De){var $e=De.value;return $e})},Ot=Ft(N),zt=Ft(_t),J=Ot.filter(function(Le){return!nt[Le]}),pe=Ot,It=zt;if(dt){var Pe=(0,b.S)(Ot,!0,nt);pe=Pe.checkedKeys,It=Pe.halfCheckedKeys}return[Array.from(new Set([].concat((0,j.Z)(J),(0,j.Z)(pe)))),It]},[N,_t,dt,nt])},Y=W,$=u(34061),R=function(ae,N){return i.useMemo(function(){var _t=(0,$.I8)(ae,{fieldNames:N,initWrapper:function(nt){return(0,g.Z)((0,g.Z)({},nt),{},{valueEntities:new Map})},processEntity:function(nt,Ft){var Ot=nt.node[N.value];if(0)var zt;Ft.valueEntities.set(Ot,nt)}});return _t},[ae,N])},G=u(20068),O=u(11592),T=function(){return null},ue=T,be=["children","value"];function he(ae){return(0,O.Z)(ae).map(function(N){if(!i.isValidElement(N)||!N.type)return null;var _t=N,dt=_t.key,nt=_t.props,Ft=nt.children,Ot=nt.value,zt=(0,K.Z)(nt,be),J=(0,g.Z)({key:dt,value:Ot},zt),pe=he(Ft);return pe.length&&(J.children=pe),J}).filter(function(N){return N})}function Ue(ae){if(!ae)return ae;var N=(0,g.Z)({},ae);return"props"in N||Object.defineProperty(N,"props",{get:function(){return(0,w.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),N}}),N}function Qe(ae,N,_t,dt,nt,Ft){var Ot=null,zt=null;function J(){function pe(It){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return It.map(function(re,De){var $e="".concat(Pe,"-").concat(De),je=re[Ft.value],st=_t.includes(je),qt=pe(re[Ft.children]||[],$e,st),ln=i.createElement(ue,re,qt.map(function(ot){return ot.node}));if(N===je&&(Ot=ln),st){var Oe={pos:$e,node:ln,children:qt};return Le||zt.push(Oe),Oe}return null}).filter(function(re){return re})}zt||(zt=[],pe(dt),zt.sort(function(It,Pe){var Le=It.node.props.value,re=Pe.node.props.value,De=_t.indexOf(Le),$e=_t.indexOf(re);return De-$e}))}Object.defineProperty(ae,"triggerNode",{get:function(){return(0,w.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),J(),Ot}}),Object.defineProperty(ae,"allCheckedNodes",{get:function(){return(0,w.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),J(),nt?zt:zt.map(function(It){var Pe=It.node;return Pe})}})}var ke=function(N,_t,dt){var nt=dt.fieldNames,Ft=dt.treeNodeFilterProp,Ot=dt.filterTreeNode,zt=nt.children;return i.useMemo(function(){if(!_t||Ot===!1)return N;var J=typeof Ot=="function"?Ot:function(It,Pe){return String(Pe[Ft]).toUpperCase().includes(_t.toUpperCase())},pe=function It(Pe){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Pe.reduce(function(re,De){var $e=De[zt],je=Le||J(_t,Ue(De)),st=It($e||[],je);return(je||st.length)&&re.push((0,g.Z)((0,g.Z)({},De),{},(0,G.Z)({isLeaf:void 0},zt,st))),re},[])};return pe(N)},[N,_t,zt,Ft,Ot])},Ze=ke;function se(ae){var N=i.useRef();N.current=ae;var _t=i.useCallback(function(){return N.current.apply(N,arguments)},[]);return _t}function k(ae,N){var _t=N.id,dt=N.pId,nt=N.rootPId,Ft=new Map,Ot=[];return ae.forEach(function(zt){var J=zt[_t],pe=(0,g.Z)((0,g.Z)({},zt),{},{key:zt.key||J});Ft.set(J,pe)}),Ft.forEach(function(zt){var J=zt[dt],pe=Ft.get(J);pe?(pe.children=pe.children||[],pe.children.push(zt)):(J===nt||nt===null)&&Ot.push(zt)}),Ot}function I(ae,N,_t){return i.useMemo(function(){if(ae){if(_t){var dt=(0,g.Z)({id:"id",pId:"pId",rootPId:null},(0,l.Z)(_t)==="object"?_t:{});return k(ae,dt)}return ae}return he(N)},[N,_t,ae])}var oe=i.createContext(null),ie=oe,Ee=u(19251),_=u(3741),A=u(10228),fe=u(80547),Be=i.createContext(null),ft=Be,At=function(N){return Array.isArray(N)?N:N!==void 0?[N]:[]},Ie=function(N){var _t=N||{},dt=_t.label,nt=_t.value,Ft=_t.children;return{_title:dt?[dt]:["title","label"],value:nt||"value",key:nt||"value",children:Ft||"children"}},it=function(N){return!N||N.disabled||N.disableCheckbox||N.checkable===!1},ht=function(N,_t){var dt=[],nt=function Ft(Ot){Ot.forEach(function(zt){var J=zt[_t.children];J&&(dt.push(zt[_t.value]),Ft(J))})};return nt(N),dt},Tt=function(N){return N==null},ze=u(70425),Jt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},yt=function(N,_t){var dt=(0,y.lk)(),nt=dt.prefixCls,Ft=dt.multiple,Ot=dt.searchValue,zt=dt.toggleOpen,J=dt.open,pe=dt.notFoundContent,It=i.useContext(ft),Pe=It.virtual,Le=It.listHeight,re=It.listItemHeight,De=It.listItemScrollOffset,$e=It.treeData,je=It.fieldNames,st=It.onSelect,qt=It.dropdownMatchSelectWidth,ln=It.treeExpandAction,Oe=It.treeTitleRender,ot=It.onPopupScroll,wt=It.leftMaxCount,Qt=It.leafCountOnly,Xt=It.valueEntities,Ye=i.useContext(ie),ct=Ye.checkable,Nt=Ye.checkedKeys,Bt=Ye.halfCheckedKeys,Ht=Ye.treeExpandedKeys,vt=Ye.treeDefaultExpandAll,an=Ye.treeDefaultExpandedKeys,sn=Ye.onTreeExpand,gn=Ye.treeIcon,bn=Ye.showTreeIcon,In=Ye.switcherIcon,wn=Ye.treeLine,An=Ye.treeNodeFilterProp,Fn=Ye.loadData,Mn=Ye.treeLoadedKeys,rr=Ye.treeMotion,Rn=Ye.onTreeLoad,jn=Ye.keyEntities,Yn=i.useRef(),er=(0,fe.Z)(function(){return $e},[J,$e],function(Ir,Or){return Or[0]&&Ir[1]!==Or[1]}),qn=i.useMemo(function(){return ct?{checked:Nt,halfChecked:Bt}:null},[ct,Nt,Bt]);i.useEffect(function(){if(J&&!Ft&&Nt.length){var Ir;(Ir=Yn.current)===null||Ir===void 0||Ir.scrollTo({key:Nt[0]})}},[J]);var Kn=function(Or){Or.preventDefault()},Ln=function(Or,Nr){var on=Nr.node;ct&&it(on)||(st(on.key,{selected:!Nt.includes(on.key)}),Ft||zt(!1))},zn=i.useState(an),hr=(0,V.Z)(zn,2),rn=hr[0],nn=hr[1],pn=i.useState(null),or=(0,V.Z)(pn,2),tr=or[0],ur=or[1],lr=i.useMemo(function(){return Ht?(0,j.Z)(Ht):Ot?tr:rn},[rn,tr,Ht,Ot]),Un=function(Or){nn(Or),ur(Or),sn&&sn(Or)},fn=String(Ot).toLowerCase(),dn=function(Or){return fn?String(Or[An]).toLowerCase().includes(fn):!1};i.useEffect(function(){Ot&&ur(ht($e,je))},[Ot]);var xn=i.useState(function(){return new Map}),Gn=(0,V.Z)(xn,2),Xn=Gn[0],gr=Gn[1];i.useEffect(function(){wt&&gr(new Map)},[wt]);function Er(Ir){var Or=Ir[je.value];if(!Xn.has(Or)){var Nr=Xt.get(Or),on=(Nr.children||[]).length===0;if(on)Xn.set(Or,!1);else{var En=Nr.children.filter(function(Dr){return!Dr.node.disabled&&!Dr.node.disableCheckbox&&!Nt.includes(Dr.node[je.value])}),br=En.length;Xn.set(Or,br>wt)}}return Xn.get(Or)}var Zn=(0,ze.zX)(function(Ir){var Or=Ir[je.value];return Nt.includes(Or)||wt===null?!1:wt<=0?!0:Qt&&wt?Er(Ir):!1}),Cr=function Ir(Or){var Nr=(0,Ee.Z)(Or),on;try{for(Nr.s();!(on=Nr.n()).done;){var En=on.value;if(!(En.disabled||En.selectable===!1)){if(Ot){if(dn(En))return En}else return En;if(En[je.children]){var br=Ir(En[je.children]);if(br)return br}}}}catch(Dr){Nr.e(Dr)}finally{Nr.f()}return null},wr=i.useState(null),Kr=(0,V.Z)(wr,2),Fr=Kr[0],Lr=Kr[1],Sr=jn[Fr];i.useEffect(function(){if(J){var Ir=null,Or=function(){var on=Cr(er);return on?on[je.value]:null};!Ft&&Nt.length&&!Ot?Ir=Nt[0]:Ir=Or(),Lr(Ir)}},[J,Ot]),i.useImperativeHandle(_t,function(){var Ir;return{scrollTo:(Ir=Yn.current)===null||Ir===void 0?void 0:Ir.scrollTo,onKeyDown:function(Nr){var on,En=Nr.which;switch(En){case A.Z.UP:case A.Z.DOWN:case A.Z.LEFT:case A.Z.RIGHT:(on=Yn.current)===null||on===void 0||on.onKeyDown(Nr);break;case A.Z.ENTER:{if(Sr){var br=Zn(Sr.node),Dr=(Sr==null?void 0:Sr.node)||{},Qr=Dr.selectable,Ar=Dr.value,cr=Dr.disabled;Qr!==!1&&!cr&&!br&&Ln(null,{node:{key:Fr},selected:!Nt.includes(Ar)})}break}case A.Z.ESC:zt(!1)}},onKeyUp:function(){}}});var Zr=(0,fe.Z)(function(){return!Ot},[Ot,Ht||rn],function(Ir,Or){var Nr=(0,V.Z)(Ir,1),on=Nr[0],En=(0,V.Z)(Or,2),br=En[0],Dr=En[1];return on!==br&&!!(br||Dr)}),_r=Zr?Fn:null;if(er.length===0)return i.createElement("div",{role:"listbox",className:"".concat(nt,"-empty"),onMouseDown:Kn},pe);var Xr={fieldNames:je};return Mn&&(Xr.loadedKeys=Mn),lr&&(Xr.expandedKeys=lr),i.createElement("div",{onMouseDown:Kn},Sr&&J&&i.createElement("span",{style:Jt,"aria-live":"assertive"},Sr.node.value),i.createElement(_.y6.Provider,{value:{nodeDisabled:Zn}},i.createElement(_.ZP,(0,ce.Z)({ref:Yn,focusable:!1,prefixCls:"".concat(nt,"-tree"),treeData:er,height:Le,itemHeight:re,itemScrollOffset:De,virtual:Pe!==!1&&qt!==!1,multiple:Ft,icon:gn,showIcon:bn,switcherIcon:In,showLine:wn,loadData:_r,motion:rr,activeKey:Fr,checkable:ct,checkStrictly:!0,checkedKeys:qn,selectedKeys:ct?[]:Nt,defaultExpandAll:vt,titleRender:Oe},Xr,{onActiveChange:Lr,onSelect:Ln,onCheck:Ln,onExpand:Un,onLoad:Rn,filterTreeNode:dn,expandAction:ln,onScroll:ot}))))},cn=i.forwardRef(yt),Je=cn,bt="SHOW_ALL",Ge="SHOW_PARENT",Ne="SHOW_CHILD";function ne(ae,N,_t,dt){var nt=new Set(ae);return N===Ne?ae.filter(function(Ft){var Ot=_t[Ft];return!Ot||!Ot.children||!Ot.children.some(function(zt){var J=zt.node;return nt.has(J[dt.value])})||!Ot.children.every(function(zt){var J=zt.node;return it(J)||nt.has(J[dt.value])})}):N===Ge?ae.filter(function(Ft){var Ot=_t[Ft],zt=Ot?Ot.parent:null;return!zt||it(zt.node)||!nt.has(zt.key)}):ae}function lt(ae){var N=ae.searchPlaceholder,_t=ae.treeCheckStrictly,dt=ae.treeCheckable,nt=ae.labelInValue,Ft=ae.value,Ot=ae.multiple,zt=ae.showCheckedStrategy,J=ae.maxCount;warning(!N,"`searchPlaceholder` has been removed."),_t&&nt===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(nt||_t)&&warning(toArray(Ft).every(function(pe){return pe&&_typeof(pe)==="object"&&"value"in pe}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),_t||Ot||dt?warning(!Ft||Array.isArray(Ft),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Ft),"`value` should not be array when `TreeSelect` is single mode."),J&&(zt==="SHOW_ALL"&&!_t||zt==="SHOW_PARENT")&&warning(!1,"`maxCount` not work with `showCheckedStrategy=SHOW_ALL` (when `treeCheckStrictly=false`) or `showCheckedStrategy=SHOW_PARENT`.")}var Ke=null,H=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","maxCount","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function M(ae){return!ae||(0,l.Z)(ae)!=="object"}var _e=i.forwardRef(function(ae,N){var _t=ae.id,dt=ae.prefixCls,nt=dt===void 0?"rc-tree-select":dt,Ft=ae.value,Ot=ae.defaultValue,zt=ae.onChange,J=ae.onSelect,pe=ae.onDeselect,It=ae.searchValue,Pe=ae.inputValue,Le=ae.onSearch,re=ae.autoClearSearchValue,De=re===void 0?!0:re,$e=ae.filterTreeNode,je=ae.treeNodeFilterProp,st=je===void 0?"value":je,qt=ae.showCheckedStrategy,ln=ae.treeNodeLabelProp,Oe=ae.multiple,ot=ae.treeCheckable,wt=ae.treeCheckStrictly,Qt=ae.labelInValue,Xt=ae.maxCount,Ye=ae.fieldNames,ct=ae.treeDataSimpleMode,Nt=ae.treeData,Bt=ae.children,Ht=ae.loadData,vt=ae.treeLoadedKeys,an=ae.onTreeLoad,sn=ae.treeDefaultExpandAll,gn=ae.treeExpandedKeys,bn=ae.treeDefaultExpandedKeys,In=ae.onTreeExpand,wn=ae.treeExpandAction,An=ae.virtual,Fn=ae.listHeight,Mn=Fn===void 0?200:Fn,rr=ae.listItemHeight,Rn=rr===void 0?20:rr,jn=ae.listItemScrollOffset,Yn=jn===void 0?0:jn,er=ae.onDropdownVisibleChange,qn=ae.dropdownMatchSelectWidth,Kn=qn===void 0?!0:qn,Ln=ae.treeLine,zn=ae.treeIcon,hr=ae.showTreeIcon,rn=ae.switcherIcon,nn=ae.treeMotion,pn=ae.treeTitleRender,or=ae.onPopupScroll,tr=(0,K.Z)(ae,H),ur=(0,P.ZP)(_t),lr=ot&&!wt,Un=ot||wt,fn=wt||Qt,dn=Un||Oe,xn=(0,C.Z)(Ot,{value:Ft}),Gn=(0,V.Z)(xn,2),Xn=Gn[0],gr=Gn[1],Er=i.useMemo(function(){return ot?qt||Ne:bt},[qt,ot]),Zn=i.useMemo(function(){return Ie(Ye)},[JSON.stringify(Ye)]),Cr=(0,C.Z)("",{value:It!==void 0?It:Pe,postState:function(yr){return yr||""}}),wr=(0,V.Z)(Cr,2),Kr=wr[0],Fr=wr[1],Lr=function(yr){Fr(yr),Le==null||Le(yr)},Sr=I(Nt,Bt,ct),Zr=R(Sr,Zn),_r=Zr.keyEntities,Xr=Zr.valueEntities,Ir=i.useCallback(function(vr){var yr=[],Mr=[];return vr.forEach(function(Vr){Xr.has(Vr)?Mr.push(Vr):yr.push(Vr)}),{missingRawValues:yr,existRawValues:Mr}},[Xr]),Or=Ze(Sr,Kr,{fieldNames:Zn,treeNodeFilterProp:st,filterTreeNode:$e}),Nr=i.useCallback(function(vr){if(vr){if(ln)return vr[ln];for(var yr=Zn._title,Mr=0;Mr<yr.length;Mr+=1){var Vr=vr[yr[Mr]];if(Vr!==void 0)return Vr}}},[Zn,ln]),on=i.useCallback(function(vr){var yr=At(vr);return yr.map(function(Mr){return M(Mr)?{value:Mr}:Mr})},[]),En=i.useCallback(function(vr){var yr=on(vr);return yr.map(function(Mr){var Vr=Mr.label,wi=Mr.value,xr=Mr.halfChecked,Rr,kr=Xr.get(wi);if(kr){var jr;Vr=pn?pn(kr.node):(jr=Vr)!==null&&jr!==void 0?jr:Nr(kr.node),Rr=kr.node.disabled}else if(Vr===void 0){var ii=on(Xn).find(function(ma){return ma.value===wi});Vr=ii.label}return{label:Vr,value:wi,halfChecked:xr,disabled:Rr}})},[Xr,Nr,on,Xn]),br=i.useMemo(function(){return on(Xn===null?[]:Xn)},[on,Xn]),Dr=i.useMemo(function(){var vr=[],yr=[];return br.forEach(function(Mr){Mr.halfChecked?yr.push(Mr):vr.push(Mr)}),[vr,yr]},[br]),Qr=(0,V.Z)(Dr,2),Ar=Qr[0],cr=Qr[1],hi=i.useMemo(function(){return Ar.map(function(vr){return vr.value})},[Ar]),ar=Y(Ar,cr,lr,_r),_i=(0,V.Z)(ar,2),Yi=_i[0],$i=_i[1],Mi=i.useMemo(function(){var vr=ne(Yi,Er,_r,Zn),yr=vr.map(function(xr){var Rr,kr;return(Rr=(kr=_r[xr])===null||kr===void 0||(kr=kr.node)===null||kr===void 0?void 0:kr[Zn.value])!==null&&Rr!==void 0?Rr:xr}),Mr=yr.map(function(xr){var Rr=Ar.find(function(jr){return jr.value===xr}),kr=Qt?Rr==null?void 0:Rr.label:pn==null?void 0:pn(Rr);return{value:xr,label:kr}}),Vr=En(Mr),wi=Vr[0];return!dn&&wi&&Tt(wi.value)&&Tt(wi.label)?[]:Vr.map(function(xr){var Rr;return(0,g.Z)((0,g.Z)({},xr),{},{label:(Rr=xr.label)!==null&&Rr!==void 0?Rr:xr.value})})},[Zn,dn,Yi,Ar,En,Er,_r]),ki=z(Mi),Gr=(0,V.Z)(ki,1),Di=Gr[0],ra=i.useMemo(function(){return dn&&(Er==="SHOW_CHILD"||wt||!ot)?Xt:null},[Xt,dn,wt,Er,ot]),Zi=se(function(vr,yr,Mr){var Vr=ne(vr,Er,_r,Zn);if(!(ra&&Vr.length>ra)){var wi=En(vr);if(gr(wi),De&&Fr(""),zt){var xr=vr;lr&&(xr=Vr.map(function(Ai){var Li=Xr.get(Ai);return Li?Li.node[Zn.value]:Ai}));var Rr=yr||{triggerValue:void 0,selected:void 0},kr=Rr.triggerValue,jr=Rr.selected,ii=xr;if(wt){var ma=cr.filter(function(Ai){return!xr.includes(Ai.value)});ii=[].concat((0,j.Z)(ii),(0,j.Z)(ma))}var Xi=En(ii),ua={preValue:Ar,triggerValue:kr},mi=!0;(wt||Mr==="selection"&&!jr)&&(mi=!1),Qe(ua,kr,vr,Sr,mi,Zn),Un?ua.checked=jr:ua.selected=jr;var ai=fn?Xi:Xi.map(function(Ai){return Ai.value});zt(dn?ai:ai[0],fn?null:Xi.map(function(Ai){return Ai.label}),ua)}}}),pi=i.useCallback(function(vr,yr){var Mr,Vr=yr.selected,wi=yr.source,xr=_r[vr],Rr=xr==null?void 0:xr.node,kr=(Mr=Rr==null?void 0:Rr[Zn.value])!==null&&Mr!==void 0?Mr:vr;if(!dn)Zi([kr],{selected:!0,triggerValue:kr},"option");else{var jr=Vr?[].concat((0,j.Z)(hi),[kr]):Yi.filter(function(Li){return Li!==kr});if(lr){var ii=Ir(jr),ma=ii.missingRawValues,Xi=ii.existRawValues,ua=Xi.map(function(Li){return Xr.get(Li).key}),mi;if(Vr){var ai=(0,b.S)(ua,!0,_r);mi=ai.checkedKeys}else{var Ai=(0,b.S)(ua,{checked:!1,halfCheckedKeys:$i},_r);mi=Ai.checkedKeys}jr=[].concat((0,j.Z)(ma),(0,j.Z)(mi.map(function(Li){return _r[Li].node[Zn.value]})))}Zi(jr,{selected:Vr,triggerValue:kr},wi||"option")}Vr||!dn?J==null||J(kr,Ue(Rr)):pe==null||pe(kr,Ue(Rr))},[Ir,Xr,_r,Zn,dn,hi,Zi,lr,J,pe,Yi,$i,Xt]),Ni=i.useCallback(function(vr){if(er){var yr={};Object.defineProperty(yr,"documentClickClose",{get:function(){return(0,w.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),er(vr,yr)}},[er]),ji=se(function(vr,yr){var Mr=vr.map(function(Vr){return Vr.value});if(yr.type==="clear"){Zi(Mr,{},"selection");return}yr.values.length&&pi(yr.values[0].value,{selected:!1,source:"selection"})}),zr=i.useMemo(function(){return{virtual:An,dropdownMatchSelectWidth:Kn,listHeight:Mn,listItemHeight:Rn,listItemScrollOffset:Yn,treeData:Or,fieldNames:Zn,onSelect:pi,treeExpandAction:wn,treeTitleRender:pn,onPopupScroll:or,leftMaxCount:Xt===void 0?null:Xt-Di.length,leafCountOnly:Er==="SHOW_CHILD"&&!wt&&!!ot,valueEntities:Xr}},[An,Kn,Mn,Rn,Yn,Or,Zn,pi,wn,pn,or,Xt,Di.length,Er,wt,ot,Xr]),ri=i.useMemo(function(){return{checkable:Un,loadData:Ht,treeLoadedKeys:vt,onTreeLoad:an,checkedKeys:Yi,halfCheckedKeys:$i,treeDefaultExpandAll:sn,treeExpandedKeys:gn,treeDefaultExpandedKeys:bn,onTreeExpand:In,treeIcon:zn,treeMotion:nn,showTreeIcon:hr,switcherIcon:rn,treeLine:Ln,treeNodeFilterProp:st,keyEntities:_r}},[Un,Ht,vt,an,Yi,$i,sn,gn,bn,In,zn,nn,hr,rn,Ln,st,_r]);return i.createElement(ft.Provider,{value:zr},i.createElement(ie.Provider,{value:ri},i.createElement(y.Ac,(0,ce.Z)({ref:N},tr,{id:ur,prefixCls:nt,mode:dn?"multiple":void 0,displayValues:Di,onDisplayValuesChange:ji,searchValue:Kr,onSearch:Lr,OptionList:Je,emptyOptions:!Sr.length,onDropdownVisibleChange:Ni,dropdownMatchSelectWidth:Kn}))))}),me=_e;me.TreeNode=ue,me.SHOW_ALL=bt,me.SHOW_PARENT=Ge,me.SHOW_CHILD=Ne;var Te=me,Fe=Te,Xe=u(2738),gt=u(75030),de=u(86641),xe=u(45915),Pt=u(82855),xt=u(48755),kt=u(38406),Mt=u(2171),mt=u(83397),Gt=u(31756),Zt=u(56553),Re=u(24971),pt=u(1722),E=u(90376),D=u(68525),rt=u(90005),te=u(70045),Ae=u(57700),tn=u(85278),Ce=u(36237),Ve=u(36170),ut=u(51636),ye=u(16931),we=u(12425);const tt=ae=>{const{componentCls:N,treePrefixCls:_t,colorBgElevated:dt}=ae,nt=`.${_t}`;return[{[`${N}-dropdown`]:[{padding:`${(0,Ce.unit)(ae.paddingXS)} ${(0,Ce.unit)(ae.calc(ae.paddingXS).div(2).equal())}`},(0,we.Yk)(_t,(0,ut.mergeToken)(ae,{colorBgContainer:dt}),!1),{[nt]:{borderRadius:0,[`${nt}-list-holder-inner`]:{alignItems:"stretch",[`${nt}-treenode`]:{[`${nt}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Ve.C2)(`${_t}-checkbox`,ae),{"&-rtl":{direction:"rtl",[`${nt}-switcher${nt}-switcher_close`]:{[`${nt}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},et=null;function X(ae,N,_t){return(0,ye.I$)("TreeSelect",dt=>{const nt=(0,ut.mergeToken)(dt,{treePrefixCls:N});return[tt(nt)]},we.TM)(ae,_t)}var St=function(ae,N){var _t={};for(var dt in ae)Object.prototype.hasOwnProperty.call(ae,dt)&&N.indexOf(dt)<0&&(_t[dt]=ae[dt]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,dt=Object.getOwnPropertySymbols(ae);nt<dt.length;nt++)N.indexOf(dt[nt])<0&&Object.prototype.propertyIsEnumerable.call(ae,dt[nt])&&(_t[dt[nt]]=ae[dt[nt]]);return _t};const Se=(ae,N)=>{var _t;const{prefixCls:dt,size:nt,disabled:Ft,bordered:Ot=!0,className:zt,rootClassName:J,treeCheckable:pe,multiple:It,listHeight:Pe=256,listItemHeight:Le,placement:re,notFoundContent:De,switcherIcon:$e,treeLine:je,getPopupContainer:st,popupClassName:qt,dropdownClassName:ln,treeIcon:Oe=!1,transitionName:ot,choiceTransitionName:wt="",status:Qt,treeExpandAction:Xt,builtinPlacements:Ye,dropdownMatchSelectWidth:ct,popupMatchSelectWidth:Nt,allowClear:Bt,variant:Ht,dropdownStyle:vt,tagRender:an,maxCount:sn,showCheckedStrategy:gn,treeCheckStrictly:bn}=ae,In=St(ae,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender","maxCount","showCheckedStrategy","treeCheckStrictly"]),{getPopupContainer:wn,getPrefixCls:An,renderEmpty:Fn,direction:Mn,virtual:rr,popupMatchSelectWidth:Rn,popupOverflow:jn}=i.useContext(xt.E_),[,Yn]=(0,Ae.ZP)(),er=Le!=null?Le:(Yn==null?void 0:Yn.controlHeightSM)+(Yn==null?void 0:Yn.paddingXXS),qn=An(),Kn=An("select",dt),Ln=An("select-tree",dt),zn=An("tree-select",dt),{compactSize:hr,compactItemClassnames:rn}=(0,te.ri)(Kn,Mn),nn=(0,mt.Z)(Kn),pn=(0,mt.Z)(zn),[or,tr,ur]=(0,E.Z)(Kn,nn),[lr]=X(zn,Ln,pn),[Un,fn]=(0,Re.Z)("treeSelect",Ht,Ot),dn=L()(qt||ln,`${zn}-dropdown`,{[`${zn}-dropdown-rtl`]:Mn==="rtl"},J,ur,nn,pn,tr),xn=!!(pe||It),Gn=i.useMemo(()=>{if(!(sn&&(gn==="SHOW_ALL"&&!bn||gn==="SHOW_PARENT")))return sn},[sn,gn,bn]),Xn=(0,rt.Z)(ae.suffixIcon,ae.showArrow),gr=(_t=Nt!=null?Nt:ct)!==null&&_t!==void 0?_t:Rn,{status:Er,hasFeedback:Zn,isFormItemInput:Cr,feedbackIcon:wr}=i.useContext(Zt.aM),Kr=(0,Pt.F)(Er,Qt),{suffixIcon:Fr,removeIcon:Lr,clearIcon:Sr}=(0,D.Z)(Object.assign(Object.assign({},In),{multiple:xn,showSuffixIcon:Xn,hasFeedback:Zn,feedbackIcon:wr,prefixCls:Kn,componentName:"TreeSelect"})),Zr=Bt===!0?{clearIcon:Sr}:Bt;let _r;De!==void 0?_r=De:_r=(Fn==null?void 0:Fn("Select"))||i.createElement(kt.Z,{componentName:"Select"});const Xr=(0,Xe.Z)(In,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Ir=i.useMemo(()=>re!==void 0?re:Mn==="rtl"?"bottomRight":"bottomLeft",[re,Mn]),Or=(0,Gt.Z)(Ar=>{var cr;return(cr=nt!=null?nt:hr)!==null&&cr!==void 0?cr:Ar}),Nr=i.useContext(Mt.Z),on=Ft!=null?Ft:Nr,En=L()(!dt&&zn,{[`${Kn}-lg`]:Or==="large",[`${Kn}-sm`]:Or==="small",[`${Kn}-rtl`]:Mn==="rtl",[`${Kn}-${Un}`]:fn,[`${Kn}-in-form-item`]:Cr},(0,Pt.Z)(Kn,Kr,Zn),rn,zt,J,ur,nn,pn,tr),br=Ar=>i.createElement(tn.Z,{prefixCls:Ln,switcherIcon:$e,treeNodeProps:Ar,showLine:je}),[Dr]=(0,gt.Cn)("SelectLike",vt==null?void 0:vt.zIndex),Qr=i.createElement(Fe,Object.assign({virtual:rr,disabled:on},Xr,{dropdownMatchSelectWidth:gr,builtinPlacements:(0,pt.Z)(Ye,jn),ref:N,prefixCls:Kn,className:En,listHeight:Pe,listItemHeight:er,treeCheckable:pe&&i.createElement("span",{className:`${Kn}-tree-checkbox-inner`}),treeLine:!!je,suffixIcon:Fr,multiple:xn,placement:Ir,removeIcon:Lr,allowClear:Zr,switcherIcon:br,showTreeIcon:Oe,notFoundContent:_r,getPopupContainer:st||wn,treeMotion:null,dropdownClassName:dn,dropdownStyle:Object.assign(Object.assign({},vt),{zIndex:Dr}),choiceTransitionName:(0,de.m)(qn,"",wt),transitionName:(0,de.m)(qn,"slide-up",ot),treeExpandAction:Xt,tagRender:xn?an:void 0,maxCount:Gn,showCheckedStrategy:gn,treeCheckStrictly:bn}));return or(lr(Qr))},Kt=i.forwardRef(Se),Rt=(0,xe.Z)(Kt,"dropdownAlign",ae=>(0,Xe.Z)(ae,["visible"]));Kt.TreeNode=ue,Kt.SHOW_ALL=bt,Kt.SHOW_PARENT=Ge,Kt.SHOW_CHILD=Ne,Kt._InternalPanelDoNotUseOrYouWillBeFired=Rt;var le=Kt},18287:function(Pn,Lt,u){"use strict";u.d(Lt,{default:function(){return At}});var i=u(3741),U=u(94480),L=u(59301),ce=u(52671),j=u(8657),g=u(54476),V={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"},K=V,l=u(7657),y=function(it,ht){return L.createElement(l.Z,(0,g.Z)({},it,{ref:ht,icon:K}))},P=L.forwardRef(y),b=P,C=u(92310),w=u.n(C),z=u(82661),W=u(34061),Y=u(48755),$=u(56082),R=u(86641),G=u(57700),O=u(12425);const T=4;function ue(Ie){const{dropPosition:it,dropLevelOffset:ht,prefixCls:Tt,indent:ze,direction:Jt="ltr"}=Ie,yt=Jt==="ltr"?"left":"right",cn=Jt==="ltr"?"right":"left",Je={[yt]:-ht*ze+T,[cn]:0};switch(it){case-1:Je.top=-3;break;case 1:Je.bottom=-3;break;default:Je.bottom=-3,Je[yt]=ze+T;break}return L.createElement("div",{style:Je,className:`${Tt}-drop-indicator`})}var be=ue,he=u(85278),Qe=L.forwardRef((Ie,it)=>{var ht;const{getPrefixCls:Tt,direction:ze,virtual:Jt,tree:yt}=L.useContext(Y.E_),{prefixCls:cn,className:Je,showIcon:bt=!1,showLine:Ge,switcherIcon:Ne,switcherLoadingIcon:ne,blockNode:lt=!1,children:Ke,checkable:H=!1,selectable:M=!0,draggable:_e,motion:me,style:Te}=Ie,Fe=Tt("tree",cn),Xe=Tt(),gt=me!=null?me:Object.assign(Object.assign({},(0,R.Z)(Xe)),{motionAppear:!1}),de=Object.assign(Object.assign({},Ie),{checkable:H,selectable:M,showIcon:bt,motion:gt,blockNode:lt,showLine:!!Ge,dropIndicatorRender:be}),[xe,Pt,xt]=(0,O.ZP)(Fe),[,kt]=(0,G.ZP)(),Mt=kt.paddingXS/2+(((ht=kt.Tree)===null||ht===void 0?void 0:ht.titleHeight)||kt.controlHeightSM),mt=L.useMemo(()=>{if(!_e)return!1;let Zt={};switch(typeof _e){case"function":Zt.nodeDraggable=_e;break;case"object":Zt=Object.assign({},_e);break;default:break}return Zt.icon!==!1&&(Zt.icon=Zt.icon||L.createElement($.Z,null)),Zt},[_e]),Gt=Zt=>L.createElement(he.Z,{prefixCls:Fe,switcherIcon:Ne,switcherLoadingIcon:ne,treeNodeProps:Zt,showLine:Ge});return xe(L.createElement(i.ZP,Object.assign({itemHeight:Mt,ref:it,virtual:Jt},de,{style:Object.assign(Object.assign({},yt==null?void 0:yt.style),Te),prefixCls:Fe,className:w()({[`${Fe}-icon-hide`]:!bt,[`${Fe}-block-node`]:lt,[`${Fe}-unselectable`]:!M,[`${Fe}-rtl`]:ze==="rtl"},yt==null?void 0:yt.className,Je,Pt,xt),direction:ze,checkable:H&&L.createElement("span",{className:`${Fe}-checkbox-inner`}),selectable:M,switcherIcon:Gt,draggable:mt}),Ke))});const ke=0,Ze=1,se=2;function k(Ie,it,ht){const{key:Tt,children:ze}=ht;function Jt(yt){const cn=yt[Tt],Je=yt[ze];it(cn,yt)!==!1&&k(Je||[],it,ht)}Ie.forEach(Jt)}function I(Ie){let{treeData:it,expandedKeys:ht,startKey:Tt,endKey:ze,fieldNames:Jt}=Ie;const yt=[];let cn=ke;if(Tt&&Tt===ze)return[Tt];if(!Tt||!ze)return[];function Je(bt){return bt===Tt||bt===ze}return k(it,bt=>{if(cn===se)return!1;if(Je(bt)){if(yt.push(bt),cn===ke)cn=Ze;else if(cn===Ze)return cn=se,!1}else cn===Ze&&yt.push(bt);return ht.includes(bt)},(0,W.w$)(Jt)),yt}function oe(Ie,it,ht){const Tt=(0,U.Z)(it),ze=[];return k(Ie,(Jt,yt)=>{const cn=Tt.indexOf(Jt);return cn!==-1&&(ze.push(yt),Tt.splice(cn,1)),!!Tt.length},(0,W.w$)(ht)),ze}var ie=function(Ie,it){var ht={};for(var Tt in Ie)Object.prototype.hasOwnProperty.call(Ie,Tt)&&it.indexOf(Tt)<0&&(ht[Tt]=Ie[Tt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Tt=Object.getOwnPropertySymbols(Ie);ze<Tt.length;ze++)it.indexOf(Tt[ze])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Tt[ze])&&(ht[Tt[ze]]=Ie[Tt[ze]]);return ht};function Ee(Ie){const{isLeaf:it,expanded:ht}=Ie;return it?L.createElement(ce.Z,null):ht?L.createElement(j.Z,null):L.createElement(b,null)}function _(Ie){let{treeData:it,children:ht}=Ie;return it||(0,W.zn)(ht)}const A=(Ie,it)=>{var{defaultExpandAll:ht,defaultExpandParent:Tt,defaultExpandedKeys:ze}=Ie,Jt=ie(Ie,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const yt=L.useRef(null),cn=L.useRef(null),Je=()=>{const{keyEntities:xe}=(0,W.I8)(_(Jt));let Pt;return ht?Pt=Object.keys(xe):Tt?Pt=(0,z.r7)(Jt.expandedKeys||ze||[],xe):Pt=Jt.expandedKeys||ze||[],Pt},[bt,Ge]=L.useState(Jt.selectedKeys||Jt.defaultSelectedKeys||[]),[Ne,ne]=L.useState(()=>Je());L.useEffect(()=>{"selectedKeys"in Jt&&Ge(Jt.selectedKeys)},[Jt.selectedKeys]),L.useEffect(()=>{"expandedKeys"in Jt&&ne(Jt.expandedKeys)},[Jt.expandedKeys]);const lt=(xe,Pt)=>{var xt;return"expandedKeys"in Jt||ne(xe),(xt=Jt.onExpand)===null||xt===void 0?void 0:xt.call(Jt,xe,Pt)},Ke=(xe,Pt)=>{var xt;const{multiple:kt,fieldNames:Mt}=Jt,{node:mt,nativeEvent:Gt}=Pt,{key:Zt=""}=mt,Re=_(Jt),pt=Object.assign(Object.assign({},Pt),{selected:!0}),E=(Gt==null?void 0:Gt.ctrlKey)||(Gt==null?void 0:Gt.metaKey),D=Gt==null?void 0:Gt.shiftKey;let rt;kt&&E?(rt=xe,yt.current=Zt,cn.current=rt,pt.selectedNodes=oe(Re,rt,Mt)):kt&&D?(rt=Array.from(new Set([].concat((0,U.Z)(cn.current||[]),(0,U.Z)(I({treeData:Re,expandedKeys:Ne,startKey:Zt,endKey:yt.current,fieldNames:Mt}))))),pt.selectedNodes=oe(Re,rt,Mt)):(rt=[Zt],yt.current=Zt,cn.current=rt,pt.selectedNodes=oe(Re,rt,Mt)),(xt=Jt.onSelect)===null||xt===void 0||xt.call(Jt,rt,pt),"selectedKeys"in Jt||Ge(rt)},{getPrefixCls:H,direction:M}=L.useContext(Y.E_),{prefixCls:_e,className:me,showIcon:Te=!0,expandAction:Fe="click"}=Jt,Xe=ie(Jt,["prefixCls","className","showIcon","expandAction"]),gt=H("tree",_e),de=w()(`${gt}-directory`,{[`${gt}-directory-rtl`]:M==="rtl"},me);return L.createElement(Qe,Object.assign({icon:Ee,ref:it,blockNode:!0},Xe,{showIcon:Te,expandAction:Fe,prefixCls:gt,className:de,expandedKeys:Ne,selectedKeys:bt,onSelect:Ke,onExpand:lt}))};var Be=L.forwardRef(A);const ft=Qe;ft.DirectoryTree=Be,ft.TreeNode=i.OF;var At=ft},12425:function(Pn,Lt,u){"use strict";u.d(Lt,{ZP:function(){return z},Yk:function(){return b},TM:function(){return C}});var i=u(36237),U=u(36170),L=u(63356),ce=u(34961),j=u(51636),g=u(16931);const V=W=>{let{treeCls:Y,treeNodeCls:$,directoryNodeSelectedBg:R,directoryNodeSelectedColor:G,motionDurationMid:O,borderRadius:T,controlItemBgHover:ue}=W;return{[`${Y}${Y}-directory ${$}`]:{[`${Y}-node-content-wrapper`]:{position:"static",[`> *:not(${Y}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${O}`,content:'""',borderRadius:T},"&:hover:before":{background:ue}},[`${Y}-switcher, ${Y}-checkbox, ${Y}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Y}-switcher, ${Y}-draggable-icon`]:{color:G},[`${Y}-node-content-wrapper`]:{color:G,background:"transparent","&:before, &:hover:before":{background:R}}}}}},K=new i.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),l=(W,Y)=>({[`.${W}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Y.motionDurationSlow}`}}}),y=(W,Y)=>({[`.${W}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,i.unit)(Y.lineWidthBold)} solid ${Y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),P=(W,Y)=>{const{treeCls:$,treeNodeCls:R,treeNodePadding:G,titleHeight:O,indentSize:T,nodeSelectedBg:ue,nodeHoverBg:be,colorTextQuaternary:he,controlItemBgActiveDisabled:Ue}=Y;return{[$]:Object.assign(Object.assign({},(0,L.Wf)(Y)),{background:Y.colorBgContainer,borderRadius:Y.borderRadius,transition:`background-color ${Y.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${$}-rtl ${$}-switcher_close ${$}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${$}-active-focused)`]:Object.assign({},(0,L.oN)(Y)),[`${$}-list-holder-inner`]:{alignItems:"flex-start"},[`&${$}-block-node`]:{[`${$}-list-holder-inner`]:{alignItems:"stretch",[`${$}-node-content-wrapper`]:{flex:"auto"},[`${R}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Y.colorPrimary}`,opacity:0,animationName:K,animationDuration:Y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Y.borderRadius}}},[R]:{display:"flex",alignItems:"flex-start",marginBottom:G,lineHeight:(0,i.unit)(O),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:G},[`&-disabled ${$}-node-content-wrapper`]:{color:Y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${$}-checkbox-disabled + ${$}-node-selected,&${R}-disabled${R}-selected ${$}-node-content-wrapper`]:{backgroundColor:Ue},[`${$}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${R}-disabled)`]:{[`${$}-node-content-wrapper`]:{"&:hover":{color:Y.nodeHoverColor}}},[`&-active ${$}-node-content-wrapper`]:{background:Y.controlItemBgHover},[`&:not(${R}-disabled).filter-node ${$}-title`]:{color:Y.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${$}-draggable-icon`]:{flexShrink:0,width:O,textAlign:"center",visibility:"visible",color:he},[`&${R}-disabled ${$}-draggable-icon`]:{visibility:"hidden"}}},[`${$}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:T}},[`${$}-draggable-icon`]:{visibility:"hidden"},[`${$}-switcher, ${$}-checkbox`]:{marginInlineEnd:Y.calc(Y.calc(O).sub(Y.controlInteractiveSize)).div(2).equal()},[`${$}-switcher`]:Object.assign(Object.assign({},l(W,Y)),{position:"relative",flex:"none",alignSelf:"stretch",width:O,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Y.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:O,height:O,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Y.borderRadius,transition:`all ${Y.motionDurationSlow}`},[`&:not(${$}-switcher-noop):hover:before`]:{backgroundColor:Y.colorBgTextHover},[`&_close ${$}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Y.calc(O).div(2).equal(),bottom:Y.calc(G).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Y.calc(Y.calc(O).div(2).equal()).mul(.8).equal(),height:Y.calc(O).div(2).equal(),borderBottom:`1px solid ${Y.colorBorder}`,content:'""'}}}),[`${$}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:O,paddingBlock:0,paddingInline:Y.paddingXS,background:"transparent",borderRadius:Y.borderRadius,cursor:"pointer",transition:`all ${Y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},y(W,Y)),{"&:hover":{backgroundColor:be},[`&${$}-node-selected`]:{color:Y.nodeSelectedColor,backgroundColor:ue},[`${$}-iconEle`]:{display:"inline-block",width:O,height:O,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${$}-unselectable ${$}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${R}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Y.colorPrimary}`},"&-show-line":{[`${$}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Y.calc(O).div(2).equal(),bottom:Y.calc(G).mul(-1).equal(),borderInlineEnd:`1px solid ${Y.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${$}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${R}-leaf-last ${$}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,i.unit)(Y.calc(O).div(2).equal())} !important`}})}},b=function(W,Y){let $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const R=`.${W}`,G=`${R}-treenode`,O=Y.calc(Y.paddingXS).div(2).equal(),T=(0,j.mergeToken)(Y,{treeCls:R,treeNodeCls:G,treeNodePadding:O});return[P(W,T),$&&V(T)].filter(Boolean)},C=W=>{const{controlHeightSM:Y,controlItemBgHover:$,controlItemBgActive:R}=W,G=Y;return{titleHeight:G,indentSize:G,nodeHoverBg:$,nodeHoverColor:W.colorText,nodeSelectedBg:R,nodeSelectedColor:W.colorText}},w=W=>{const{colorTextLightSolid:Y,colorPrimary:$}=W;return Object.assign(Object.assign({},C(W)),{directoryNodeSelectedColor:Y,directoryNodeSelectedBg:$})};var z=(0,g.I$)("Tree",(W,Y)=>{let{prefixCls:$}=Y;return[{[W.componentCls]:(0,U.C2)(`${$}-checkbox`,W)},b($,W),(0,ce.Z)(W)]},w)},85278:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return Y}});var i=u(59301),U=u(54476),L={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},ce=L,j=u(7657),g=function(R,G){return i.createElement(j.Z,(0,U.Z)({},R,{ref:G,icon:ce}))},V=i.forwardRef(g),K=V,l=u(52671),y=u(58617),P=u(15075),b=u(43531),C=u(92310),w=u.n(C),z=u(22703),Y=$=>{const{prefixCls:R,switcherIcon:G,treeNodeProps:O,showLine:T,switcherLoadingIcon:ue}=$,{isLeaf:be,expanded:he,loading:Ue}=O;if(Ue)return i.isValidElement(ue)?ue:i.createElement(y.Z,{className:`${R}-switcher-loading-icon`});let Qe;if(T&&typeof T=="object"&&(Qe=T.showLeafIcon),be){if(!T)return null;if(typeof Qe!="boolean"&&Qe){const se=typeof Qe=="function"?Qe(O):Qe,k=`${R}-switcher-line-custom-icon`;return i.isValidElement(se)?(0,z.Tm)(se,{className:w()(se.props.className||"",k)}):se}return Qe?i.createElement(l.Z,{className:`${R}-switcher-line-icon`}):i.createElement("span",{className:`${R}-switcher-leaf-line`})}const ke=`${R}-switcher-icon`,Ze=typeof G=="function"?G(O):G;return i.isValidElement(Ze)?(0,z.Tm)(Ze,{className:w()(Ze.props.className||"",ke)}):Ze!==void 0?Ze:T?he?i.createElement(P.Z,{className:`${R}-switcher-line-icon`}):i.createElement(b.Z,{className:`${R}-switcher-line-icon`}):i.createElement(K,{className:ke})}},64018:function(){var Pn,Lt,u,i=!1,U,L;window.PR_SHOULD_USE_CONTINUATION=!0;var ce,j;(function(){var g=window,V=["break,continue,do,else,for,if,return,while"],K=[V,"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"],l=[K,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],y=[l,"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"],P=[l,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],b=[l,"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"],C="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",w=[l,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],z="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",W=[V,"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"],Y=[V,"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"],$=[V,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],R=[y,b,P,w,z,W,Y,$],G=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,O="str",T="kwd",ue="com",be="typ",he="lit",Ue="pun",Qe="pln",ke="tag",Ze="dec",se="src",k="atn",I="atv",oe="nocode",ie="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function Ee(Ne){for(var ne=0,lt=!1,Ke=!1,H=0,M=Ne.length;H<M;++H){var _e=Ne[H];if(_e.ignoreCase)Ke=!0;else if(/[a-z]/i.test(_e.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){lt=!0,Ke=!1;break}}var me={b:8,t:9,n:10,v:11,f:12,r:13};function Te(xe){var Pt=xe.charCodeAt(0);if(Pt!==92)return Pt;var xt=xe.charAt(1);return Pt=me[xt],Pt||("0"<=xt&&xt<="7"?parseInt(xe.substring(1),8):xt==="u"||xt==="x"?parseInt(xe.substring(2),16):xe.charCodeAt(1))}function Fe(xe){if(xe<32)return(xe<16?"\\x0":"\\x")+xe.toString(16);var Pt=String.fromCharCode(xe);return Pt==="\\"||Pt==="-"||Pt==="]"||Pt==="^"?"\\"+Pt:Pt}function Xe(xe){var Pt=xe.substring(1,xe.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")),xt=[],kt=Pt[0]==="^",Mt=["["];kt&&Mt.push("^");for(var mt=kt?1:0,Gt=Pt.length;mt<Gt;++mt){var Zt=Pt[mt];if(/\\[bdsw]/i.test(Zt))Mt.push(Zt);else{var Re=Te(Zt),pt;mt+2<Gt&&Pt[mt+1]==="-"?(pt=Te(Pt[mt+2]),mt+=2):pt=Re,xt.push([Re,pt]),pt<65||Re>122||(pt<65||Re>90||xt.push([Math.max(65,Re)|32,Math.min(pt,90)|32]),pt<97||Re>122||xt.push([Math.max(97,Re)&-33,Math.min(pt,122)&-33]))}}xt.sort(function(te,Ae){return te[0]-Ae[0]||Ae[1]-te[1]});for(var E=[],D=[],mt=0;mt<xt.length;++mt){var rt=xt[mt];rt[0]<=D[1]+1?D[1]=Math.max(D[1],rt[1]):E.push(D=rt)}for(var mt=0;mt<E.length;++mt){var rt=E[mt];Mt.push(Fe(rt[0])),rt[1]>rt[0]&&(rt[1]+1>rt[0]&&Mt.push("-"),Mt.push(Fe(rt[1])))}return Mt.push("]"),Mt.join("")}function gt(xe){for(var Pt=xe.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")),xt=Pt.length,kt=[],Mt=0,mt=0;Mt<xt;++Mt){var Gt=Pt[Mt];if(Gt==="(")++mt;else if(Gt.charAt(0)==="\\"){var Zt=+Gt.substring(1);Zt&&(Zt<=mt?kt[Zt]=-1:Pt[Mt]=Fe(Zt))}}for(var Mt=1;Mt<kt.length;++Mt)kt[Mt]===-1&&(kt[Mt]=++ne);for(var Mt=0,mt=0;Mt<xt;++Mt){var Gt=Pt[Mt];if(Gt==="(")++mt,kt[mt]||(Pt[Mt]="(?:");else if(Gt.charAt(0)==="\\"){var Zt=+Gt.substring(1);Zt&&Zt<=mt&&(Pt[Mt]="\\"+kt[Zt])}}for(var Mt=0;Mt<xt;++Mt)Pt[Mt]==="^"&&Pt[Mt+1]!=="^"&&(Pt[Mt]="");if(xe.ignoreCase&<)for(var Mt=0;Mt<xt;++Mt){var Gt=Pt[Mt],Re=Gt.charAt(0);Gt.length>=2&&Re==="["?Pt[Mt]=Xe(Gt):Re!=="\\"&&(Pt[Mt]=Gt.replace(/[a-zA-Z]/g,function(D){var rt=D.charCodeAt(0);return"["+String.fromCharCode(rt&-33,rt|32)+"]"}))}return Pt.join("")}for(var de=[],H=0,M=Ne.length;H<M;++H){var _e=Ne[H];if(_e.global||_e.multiline)throw new Error(""+_e);de.push("(?:"+gt(_e)+")")}return new RegExp(de.join("|"),Ke?"gi":"g")}function _(Ne,ne){var lt=/(?:^|\s)nocode(?:\s|$)/,Ke=[],H=0,M=[],_e=0;function me(Te){var Fe=Te.nodeType;if(Fe==1){if(lt.test(Te.className))return;for(var Xe=Te.firstChild;Xe;Xe=Xe.nextSibling)me(Xe);var gt=Te.nodeName.toLowerCase();(gt==="br"||gt==="li")&&(Ke[_e]=`
|
|
|
`,M[_e<<1]=H++,M[_e++<<1|1]=Te)}else if(Fe==3||Fe==4){var de=Te.nodeValue;de.length&&(ne?de=de.replace(/\r\n?/g,`
|
|
|
`):de=de.replace(/[ \t\r\n]+/g," "),Ke[_e]=de,M[_e<<1]=H,H+=de.length,M[_e++<<1|1]=Te)}}return me(Ne),{sourceCode:Ke.join("").replace(/\n$/,""),spans:M}}function A(Ne,ne,lt,Ke,H){if(lt){var M={sourceNode:Ne,pre:1,langExtension:null,numberLines:null,sourceCode:lt,spans:null,basePos:ne,decorations:null};Ke(M),H.push.apply(H,M.decorations)}}var fe=/\S/;function Be(Ne){for(var ne=void 0,lt=Ne.firstChild;lt;lt=lt.nextSibling){var Ke=lt.nodeType;ne=Ke===1?ne?Ne:lt:Ke===3&&fe.test(lt.nodeValue)?Ne:ne}return ne===Ne?void 0:ne}function ft(Ne,ne){var lt={},Ke;(function(){for(var _e=Ne.concat(ne),me=[],Te={},Fe=0,Xe=_e.length;Fe<Xe;++Fe){var gt=_e[Fe],de=gt[3];if(de)for(var xe=de.length;--xe>=0;)lt[de.charAt(xe)]=gt;var Pt=gt[1],xt=""+Pt;Te.hasOwnProperty(xt)||(me.push(Pt),Te[xt]=null)}me.push(/[\0-\uffff]/),Ke=Ee(me)})();var H=ne.length,M=function(_e){for(var me=_e.sourceCode,Te=_e.basePos,Fe=_e.sourceNode,Xe=[Te,Qe],gt=0,de=me.match(Ke)||[],xe={},Pt=0,xt=de.length;Pt<xt;++Pt){var kt=de[Pt],Mt=xe[kt],mt=void 0,Gt;if(typeof Mt=="string")Gt=!1;else{var Zt=lt[kt.charAt(0)];if(Zt)mt=kt.match(Zt[1]),Mt=Zt[0];else{for(var Re=0;Re<H;++Re)if(Zt=ne[Re],mt=kt.match(Zt[1]),mt){Mt=Zt[0];break}mt||(Mt=Qe)}Gt=Mt.length>=5&&Mt.substring(0,5)==="lang-",Gt&&!(mt&&typeof mt[1]=="string")&&(Gt=!1,Mt=se),Gt||(xe[kt]=Mt)}var pt=gt;if(gt+=kt.length,!Gt)Xe.push(Te+pt,Mt);else{var E=mt[1],D=kt.indexOf(E),rt=D+E.length;mt[2]&&(rt=kt.length-mt[2].length,D=rt-E.length);var te=Mt.substring(5);A(Fe,Te+pt,kt.substring(0,D),M,Xe),A(Fe,Te+pt+D,E,Jt(te,E),Xe),A(Fe,Te+pt+rt,kt.substring(rt),M,Xe)}}_e.decorations=Xe};return M}function At(Ne){var ne=[],lt=[];Ne.tripleQuotedStrings?ne.push([O,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):Ne.multiLineStrings?ne.push([O,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):ne.push([O,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),Ne.verbatimStrings&<.push([O,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Ke=Ne.hashComments;Ke&&(Ne.cStyleComments?(Ke>1?ne.push([ue,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):ne.push([ue,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),lt.push([O,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):ne.push([ue,/^#[^\r\n]*/,null,"#"])),Ne.cStyleComments&&(lt.push([ue,/^\/\/[^\r\n]*/,null]),lt.push([ue,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var H=Ne.regexLiterals;if(H){var M=H>1?"":`
|
|
|
\r`,_e=M?".":"[\\S\\s]",me="/(?=[^/*"+M+"])(?:[^/\\x5B\\x5C"+M+"]|\\x5C"+_e+"|\\x5B(?:[^\\x5C\\x5D"+M+"]|\\x5C"+_e+")*(?:\\x5D|$))+/";lt.push(["lang-regex",RegExp("^"+ie+"("+me+")")])}var Te=Ne.types;Te&<.push([be,Te]);var Fe=(""+Ne.keywords).replace(/^ | $/g,"");Fe.length&<.push([T,new RegExp("^(?:"+Fe.replace(/[\s,]+/g,"|")+")\\b"),null]),ne.push([Qe,/^\s+/,null,` \r
|
|
|
\xA0`]);var Xe="^.[^\\s\\w.$@'\"`/\\\\]*";return Ne.regexLiterals&&(Xe+="(?!s*/)"),lt.push([he,/^@[a-z_$][a-z_$@0-9]*/i,null],[be,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[Qe,/^[a-z_$][a-z_$@0-9]*/i,null],[he,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[Qe,/^\\[\s\S]?/,null],[Ue,new RegExp(Xe),null]),ft(ne,lt)}var Ie=At({keywords:R,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function it(Ne,ne,lt){for(var Ke=/(?:^|\s)nocode(?:\s|$)/,H=/\r\n?|\n/,M=Ne.ownerDocument,_e=M.createElement("li");Ne.firstChild;)_e.appendChild(Ne.firstChild);var me=[_e];function Te(Pt){var xt=Pt.nodeType;if(xt==1&&!Ke.test(Pt.className))if(Pt.nodeName==="br")Fe(Pt),Pt.parentNode&&Pt.parentNode.removeChild(Pt);else for(var kt=Pt.firstChild;kt;kt=kt.nextSibling)Te(kt);else if((xt==3||xt==4)&<){var Mt=Pt.nodeValue,mt=Mt.match(H);if(mt){var Gt=Mt.substring(0,mt.index);Pt.nodeValue=Gt;var Zt=Mt.substring(mt.index+mt[0].length);if(Zt){var Re=Pt.parentNode;Re.insertBefore(M.createTextNode(Zt),Pt.nextSibling)}Fe(Pt),Gt||Pt.parentNode.removeChild(Pt)}}}function Fe(Pt){for(;!Pt.nextSibling;)if(Pt=Pt.parentNode,!Pt)return;function xt(mt,Gt){var Zt=Gt?mt.cloneNode(!1):mt,Re=mt.parentNode;if(Re){var pt=xt(Re,1),E=mt.nextSibling;pt.appendChild(Zt);for(var D=E;D;D=E)E=D.nextSibling,pt.appendChild(D)}return Zt}for(var kt=xt(Pt.nextSibling,0),Mt;(Mt=kt.parentNode)&&Mt.nodeType===1;)kt=Mt;me.push(kt)}for(var Xe=0;Xe<me.length;++Xe)Te(me[Xe]);ne===(ne|0)&&me[0].setAttribute("value",ne);var gt=M.createElement("ol");gt.className="linenums";for(var de=Math.max(0,ne-1|0)||0,Xe=0,xe=me.length;Xe<xe;++Xe)_e=me[Xe],_e.className="L"+(Xe+de)%10,_e.firstChild||_e.appendChild(M.createTextNode("\xA0")),gt.appendChild(_e);Ne.appendChild(gt)}function ht(Ne){var ne=/\bMSIE\s(\d+)/.exec(navigator.userAgent);ne=ne&&+ne[1]<=8;var lt=/\n/g,Ke=Ne.sourceCode,H=Ke.length,M=0,_e=Ne.spans,me=_e.length,Te=0,Fe=Ne.decorations,Xe=Fe.length,gt=0;Fe[Xe]=H;var de,xe;for(xe=de=0;xe<Xe;)Fe[xe]!==Fe[xe+2]?(Fe[de++]=Fe[xe++],Fe[de++]=Fe[xe++]):xe+=2;for(Xe=de,xe=de=0;xe<Xe;){for(var Pt=Fe[xe],xt=Fe[xe+1],kt=xe+2;kt+2<=Xe&&Fe[kt+1]===xt;)kt+=2;Fe[de++]=Pt,Fe[de++]=xt,xe=kt}Xe=Fe.length=de;var Mt=Ne.sourceNode,mt="";Mt&&(mt=Mt.style.display,Mt.style.display="none");try{for(var Gt=null;Te<me;){var Zt=_e[Te],Re=_e[Te+2]||H,pt=Fe[gt+2]||H,kt=Math.min(Re,pt),E=_e[Te+1],D;if(E.nodeType!==1&&(D=Ke.substring(M,kt))){ne&&(D=D.replace(lt,"\r")),E.nodeValue=D;var rt=E.ownerDocument,te=rt.createElement("span");te.className=Fe[gt+1];var Ae=E.parentNode;Ae.replaceChild(te,E),te.appendChild(E),M<Re&&(_e[Te+1]=E=rt.createTextNode(Ke.substring(kt,Re)),Ae.insertBefore(E,te.nextSibling))}M=kt,M>=Re&&(Te+=2),M>=pt&&(gt+=2)}}finally{Mt&&(Mt.style.display=mt)}}var Tt={};function ze(Ne,ne){for(var lt=ne.length;--lt>=0;){var Ke=ne[lt];Tt.hasOwnProperty(Ke)?g.console&&console.warn("cannot override language handler %s",Ke):Tt[Ke]=Ne}}function Jt(Ne,ne){return Ne&&Tt.hasOwnProperty(Ne)||(Ne=/^\s*</.test(ne)?"default-markup":"default-code"),Tt[Ne]}ze(Ie,["default-code"]),ze(ft([],[[Qe,/^[^<?]+/],[Ze,/^<!\w[^>]*(?:>|$)/],[ue,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[Ue,/^(?:<[%?]|[%?]>)/],["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"]),ze(ft([[Qe,/^[\s]+/,null,` \r
|
|
|
`],[I,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[ke,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[k,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[Ue,/^[=<>\/]+/],["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"]),ze(ft([],[[I,/^[\s\S]+/]]),["uq.val"]),ze(At({keywords:y,hashComments:!0,cStyleComments:!0,types:G}),["c","cc","cpp","cxx","cyc","m"]),ze(At({keywords:"null,true,false"}),["json"]),ze(At({keywords:b,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:G}),["cs"]),ze(At({keywords:P,cStyleComments:!0}),["java"]),ze(At({keywords:$,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),ze(At({keywords:W,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),ze(At({keywords:z,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),ze(At({keywords:Y,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),ze(At({keywords:w,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),ze(At({keywords:C,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),ze(ft([],[[O,/^[\s\S]+/]]),["regex"]);function yt(Ne){var ne=Ne.langExtension;try{var lt=_(Ne.sourceNode,Ne.pre),Ke=lt.sourceCode;Ne.sourceCode=Ke,Ne.spans=lt.spans,Ne.basePos=0,Jt(ne,Ke)(Ne),ht(Ne)}catch(H){g.console&&console.log(H&&H.stack||H)}}function cn(Ne,ne,lt){var Ke=lt||!1,H=ne||null,M=document.createElement("div");M.innerHTML="<pre>"+Ne+"</pre>",M=M.firstChild,Ke&&it(M,Ke,!0);var _e={langExtension:H,numberLines:Ke,sourceNode:M,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return yt(_e),M.innerHTML}function Je(Ne,ne){var lt=ne||document.body,Ke=lt.ownerDocument||document;function H(Zt){return lt.getElementsByTagName(Zt)}for(var M=[H("pre"),H("code"),H("xmp")],_e=[],me=0;me<M.length;++me)for(var Te=0,Fe=M[me].length;Te<Fe;++Te)_e.push(M[me][Te]);M=null;var Xe=Date;Xe.now||(Xe={now:function(){return+new Date}});var gt=0,de=/\blang(?:uage)?-([\w.]+)(?!\S)/,xe=/\bprettyprint\b/,Pt=/\bprettyprinted\b/,xt=/pre|xmp/i,kt=/^code$/i,Mt=/^(?:pre|code|xmp)$/i,mt={};function Gt(){for(var Zt=g.PR_SHOULD_USE_CONTINUATION?Xe.now()+250:1/0;gt<_e.length&&Xe.now()<Zt;gt++){for(var Re=_e[gt],pt=mt,E=Re;E=E.previousSibling;){var D=E.nodeType,rt=(D===7||D===8)&&E.nodeValue;if(rt?!/^\??prettify\b/.test(rt):D!==3||/\S/.test(E.nodeValue))break;if(rt){pt={},rt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(Se,Wt,Kt){pt[Wt]=Kt});break}}var te=Re.className;if((pt!==mt||xe.test(te))&&!Pt.test(te)){for(var Ae=!1,tn=Re.parentNode;tn;tn=tn.parentNode){var Ce=tn.tagName;if(Mt.test(Ce)&&tn.className&&xe.test(tn.className)){Ae=!0;break}}if(!Ae){Re.className+=" prettyprinted";var Ve=pt.lang;if(!Ve){Ve=te.match(de);var ut;!Ve&&(ut=Be(Re))&&kt.test(ut.tagName)&&(Ve=ut.className.match(de)),Ve&&(Ve=Ve[1])}var ye;if(xt.test(Re.tagName))ye=1;else{var we=Re.currentStyle,tt=Ke.defaultView,et=we?we.whiteSpace:tt&&tt.getComputedStyle?tt.getComputedStyle(Re,null).getPropertyValue("white-space"):0;ye=et&&et.substring(0,3)==="pre"}var X=pt.linenums;(X=X==="true"||+X)||(X=te.match(/\blinenums\b(?::(\d+))?/),X=X?X[1]&&X[1].length?+X[1]:!0:!1),X&&it(Re,X,ye);var St={langExtension:Ve,sourceNode:Re,numberLines:X,pre:ye,sourceCode:null,basePos:null,spans:null,decorations:null};yt(St)}}}gt<_e.length?g.setTimeout(Gt,250):typeof Ne=="function"&&Ne()}Gt()}var bt=g.PR={createSimpleLexer:ft,registerLangHandler:ze,sourceDecorator:At,PR_ATTRIB_NAME:k,PR_ATTRIB_VALUE:I,PR_COMMENT:ue,PR_DECLARATION:Ze,PR_KEYWORD:T,PR_LITERAL:he,PR_NOCODE:oe,PR_PLAIN:Qe,PR_PUNCTUATION:Ue,PR_SOURCE:se,PR_STRING:O,PR_TAG:ke,PR_TYPE:be,prettyPrintOne:i?g.prettyPrintOne=cn:ce=cn,prettyPrint:j=i?g.prettyPrint=Je:j=Je},Ge=g.define;typeof Ge=="function"&&Ge.amd&&Ge("google-code-prettify",[],function(){return bt})})()},25769:function(Pn,Lt,u){"use strict";var i=u(98040),U={"text/plain":"Text","text/html":"Url",default:"Text"},L="Copy to clipboard: #{key}, Enter";function ce(g){var V=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return g.replace(/#{\s*key\s*}/g,V)}function j(g,V){var K,l,y,P,b,C,w=!1;V||(V={}),K=V.debug||!1;try{y=i(),P=document.createRange(),b=document.getSelection(),C=document.createElement("span"),C.textContent=g,C.ariaHidden="true",C.style.all="unset",C.style.position="fixed",C.style.top=0,C.style.clip="rect(0, 0, 0, 0)",C.style.whiteSpace="pre",C.style.webkitUserSelect="text",C.style.MozUserSelect="text",C.style.msUserSelect="text",C.style.userSelect="text",C.addEventListener("copy",function(W){if(W.stopPropagation(),V.format)if(W.preventDefault(),typeof W.clipboardData=="undefined"){K&&console.warn("unable to use e.clipboardData"),K&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var Y=U[V.format]||U.default;window.clipboardData.setData(Y,g)}else W.clipboardData.clearData(),W.clipboardData.setData(V.format,g);V.onCopy&&(W.preventDefault(),V.onCopy(W.clipboardData))}),document.body.appendChild(C),P.selectNodeContents(C),b.addRange(P);var z=document.execCommand("copy");if(!z)throw new Error("copy command was unsuccessful");w=!0}catch(W){K&&console.error("unable to copy using execCommand: ",W),K&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(V.format||"text",g),V.onCopy&&V.onCopy(window.clipboardData),w=!0}catch(Y){K&&console.error("unable to copy using clipboardData: ",Y),K&&console.error("falling back to prompt"),l=ce("message"in V?V.message:L),window.prompt(l,g)}}finally{b&&(typeof b.removeRange=="function"?b.removeRange(P):b.removeAllRanges()),C&&document.body.removeChild(C),y()}return w}Pn.exports=j},24334:function(Pn,Lt,u){var i,U;(function(L,ce){Pn.exports=ce(L)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof u.g!="undefined"?u.g:this,function(L){"use strict";L=L||{};var ce=L.Base64,j="2.6.4",g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",V=function(k){for(var I={},oe=0,ie=k.length;oe<ie;oe++)I[k.charAt(oe)]=oe;return I}(g),K=String.fromCharCode,l=function(k){if(k.length<2){var I=k.charCodeAt(0);return I<128?k:I<2048?K(192|I>>>6)+K(128|I&63):K(224|I>>>12&15)+K(128|I>>>6&63)+K(128|I&63)}else{var I=65536+(k.charCodeAt(0)-55296)*1024+(k.charCodeAt(1)-56320);return K(240|I>>>18&7)+K(128|I>>>12&63)+K(128|I>>>6&63)+K(128|I&63)}},y=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,P=function(k){return k.replace(y,l)},b=function(k){var I=[0,2,1][k.length%3],oe=k.charCodeAt(0)<<16|(k.length>1?k.charCodeAt(1):0)<<8|(k.length>2?k.charCodeAt(2):0),ie=[g.charAt(oe>>>18),g.charAt(oe>>>12&63),I>=2?"=":g.charAt(oe>>>6&63),I>=1?"=":g.charAt(oe&63)];return ie.join("")},C=L.btoa&&typeof L.btoa=="function"?function(k){return L.btoa(k)}:function(k){if(k.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return k.replace(/[\s\S]{1,3}/g,b)},w=function(k){return C(P(String(k)))},z=function(k){return k.replace(/[+\/]/g,function(I){return I=="+"?"-":"_"}).replace(/=/g,"")},W=function(k,I){return I?z(w(k)):w(k)},Y=function(k){return W(k,!0)},$;L.Uint8Array&&($=function(k,I){for(var oe="",ie=0,Ee=k.length;ie<Ee;ie+=3){var _=k[ie],A=k[ie+1],fe=k[ie+2],Be=_<<16|A<<8|fe;oe+=g.charAt(Be>>>18)+g.charAt(Be>>>12&63)+(typeof A!="undefined"?g.charAt(Be>>>6&63):"=")+(typeof fe!="undefined"?g.charAt(Be&63):"=")}return I?z(oe):oe});var R=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,G=function(k){switch(k.length){case 4:var I=(7&k.charCodeAt(0))<<18|(63&k.charCodeAt(1))<<12|(63&k.charCodeAt(2))<<6|63&k.charCodeAt(3),oe=I-65536;return K((oe>>>10)+55296)+K((oe&1023)+56320);case 3:return K((15&k.charCodeAt(0))<<12|(63&k.charCodeAt(1))<<6|63&k.charCodeAt(2));default:return K((31&k.charCodeAt(0))<<6|63&k.charCodeAt(1))}},O=function(k){return k.replace(R,G)},T=function(k){var I=k.length,oe=I%4,ie=(I>0?V[k.charAt(0)]<<18:0)|(I>1?V[k.charAt(1)]<<12:0)|(I>2?V[k.charAt(2)]<<6:0)|(I>3?V[k.charAt(3)]:0),Ee=[K(ie>>>16),K(ie>>>8&255),K(ie&255)];return Ee.length-=[0,0,2,1][oe],Ee.join("")},ue=L.atob&&typeof L.atob=="function"?function(k){return L.atob(k)}:function(k){return k.replace(/\S{1,4}/g,T)},be=function(k){return ue(String(k).replace(/[^A-Za-z0-9\+\/]/g,""))},he=function(k){return O(ue(k))},Ue=function(k){return String(k).replace(/[-_]/g,function(I){return I=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Qe=function(k){return he(Ue(k))},ke;L.Uint8Array&&(ke=function(k){return Uint8Array.from(be(Ue(k)),function(I){return I.charCodeAt(0)})});var Ze=function(){var k=L.Base64;return L.Base64=ce,k};if(L.Base64={VERSION:j,atob:be,btoa:C,fromBase64:Qe,toBase64:W,utob:P,encode:W,encodeURI:Y,btou:O,decode:Qe,noConflict:Ze,fromUint8Array:$,toUint8Array:ke},typeof Object.defineProperty=="function"){var se=function(k){return{value:k,enumerable:!1,writable:!0,configurable:!0}};L.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",se(function(){return Qe(this)})),Object.defineProperty(String.prototype,"toBase64",se(function(k){return W(this,k)})),Object.defineProperty(String.prototype,"toBase64URI",se(function(){return W(this,!0)}))}}return L.Meteor&&(Base64=L.Base64),Pn.exports?Pn.exports.Base64=L.Base64:(i=[],U=function(){return L.Base64}.apply(Lt,i),U!==void 0&&(Pn.exports=U)),{Base64:L.Base64}})},53184:function(Pn,Lt,u){"use strict";var i,U;function L(ce,j,g){var V=function(K,l){return ce.js_beautify(K,l)};return V.js=ce.js_beautify,V.css=j.css_beautify,V.html=g.html_beautify,V.js_beautify=ce.js_beautify,V.css_beautify=j.css_beautify,V.html_beautify=g.html_beautify,V}i=[u(58553),u(87804),u(40998)],U=function(ce,j,g){return L(ce,j,g)}.apply(Lt,i),U!==void 0&&(Pn.exports=U)},87804:function(Pn,Lt){var u,i;(function(){var U;(function(){"use strict";var ce=[,,function(K){function l(b){this.__parent=b,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=[]}l.prototype.clone_empty=function(){var b=new l(this.__parent);return b.set_indent(this.__indent_count,this.__alignment_count),b},l.prototype.item=function(b){return b<0?this.__items[this.__items.length+b]:this.__items[b]},l.prototype.has_match=function(b){for(var C=this.__items.length-1;C>=0;C--)if(this.__items[C].match(b))return!0;return!1},l.prototype.set_indent=function(b,C){this.is_empty()&&(this.__indent_count=b||0,this.__alignment_count=C||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},l.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)},l.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},l.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var b=this.__parent.current_line;return b.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),b.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),b.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,b.__items[0]===" "&&(b.__items.splice(0,1),b.__character_count-=1),!0}return!1},l.prototype.is_empty=function(){return this.__items.length===0},l.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},l.prototype.push=function(b){this.__items.push(b);var C=b.lastIndexOf(`
|
|
|
`);C!==-1?this.__character_count=b.length-C:this.__character_count+=b.length},l.prototype.pop=function(){var b=null;return this.is_empty()||(b=this.__items.pop(),this.__character_count-=b.length),b},l.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},l.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},l.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},l.prototype.toString=function(){var b="";return this.is_empty()?this.__parent.indent_empty_lines&&(b=this.__parent.get_indent_string(this.__indent_count)):(b=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),b+=this.__items.join("")),b};function y(b,C){this.__cache=[""],this.__indent_size=b.indent_size,this.__indent_string=b.indent_char,b.indent_with_tabs||(this.__indent_string=new Array(b.indent_size+1).join(b.indent_char)),C=C||"",b.indent_level>0&&(C=new Array(b.indent_level+1).join(this.__indent_string)),this.__base_string=C,this.__base_string_length=C.length}y.prototype.get_indent_size=function(b,C){var w=this.__base_string_length;return C=C||0,b<0&&(w=0),w+=b*this.__indent_size,w+=C,w},y.prototype.get_indent_string=function(b,C){var w=this.__base_string;return C=C||0,b<0&&(b=0,w=""),C+=b*this.__indent_size,this.__ensure_cache(C),w+=this.__cache[C],w},y.prototype.__ensure_cache=function(b){for(;b>=this.__cache.length;)this.__add_column()},y.prototype.__add_column=function(){var b=this.__cache.length,C=0,w="";this.__indent_size&&b>=this.__indent_size&&(C=Math.floor(b/this.__indent_size),b-=C*this.__indent_size,w=new Array(C+1).join(this.__indent_string)),b&&(w+=new Array(b+1).join(" ")),this.__cache.push(w)};function P(b,C){this.__indent_cache=new y(b,C),this.raw=!1,this._end_with_newline=b.end_with_newline,this.indent_size=b.indent_size,this.wrap_line_length=b.wrap_line_length,this.indent_empty_lines=b.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new l(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}P.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},P.prototype.get_line_number=function(){return this.__lines.length},P.prototype.get_indent_string=function(b,C){return this.__indent_cache.get_indent_string(b,C)},P.prototype.get_indent_size=function(b,C){return this.__indent_cache.get_indent_size(b,C)},P.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},P.prototype.add_new_line=function(b){return this.is_empty()||!b&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},P.prototype.get_code=function(b){this.trim(!0);var C=this.current_line.pop();C&&(C[C.length-1]===`
|
|
|
`&&(C=C.replace(/\n+$/g,"")),this.current_line.push(C)),this._end_with_newline&&this.__add_outputline();var w=this.__lines.join(`
|
|
|
`);return b!==`
|
|
|
`&&(w=w.replace(/[\n]/g,b)),w},P.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},P.prototype.set_indent=function(b,C){return b=b||0,C=C||0,this.next_line.set_indent(b,C),this.__lines.length>1?(this.current_line.set_indent(b,C),!0):(this.current_line.set_indent(),!1)},P.prototype.add_raw_token=function(b){for(var C=0;C<b.newlines;C++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(b.whitespace_before),this.current_line.push(b.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},P.prototype.add_token=function(b){this.__add_space_before_token(),this.current_line.push(b),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},P.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(" "))},P.prototype.remove_indent=function(b){for(var C=this.__lines.length;b<C;)this.__lines[b]._remove_indent(),b++;this.current_line._remove_wrap_indent()},P.prototype.trim=function(b){for(b=b===void 0?!1:b,this.current_line.trim();b&&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},P.prototype.just_added_newline=function(){return this.current_line.is_empty()},P.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},P.prototype.ensure_empty_line_above=function(b,C){for(var w=this.__lines.length-2;w>=0;){var z=this.__lines[w];if(z.is_empty())break;if(z.item(0).indexOf(b)!==0&&z.item(-1)!==C){this.__lines.splice(w+1,0,new l(this)),this.previous_line=this.__lines[this.__lines.length-2];break}w--}},K.exports.Output=P},,,,function(K){function l(b,C){this.raw_options=y(b,C),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"])}l.prototype._get_array=function(b,C){var w=this.raw_options[b],z=C||[];return typeof w=="object"?w!==null&&typeof w.concat=="function"&&(z=w.concat()):typeof w=="string"&&(z=w.split(/[^a-zA-Z0-9_\/\-]+/)),z},l.prototype._get_boolean=function(b,C){var w=this.raw_options[b],z=w===void 0?!!C:!!w;return z},l.prototype._get_characters=function(b,C){var w=this.raw_options[b],z=C||"";return typeof w=="string"&&(z=w.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),z},l.prototype._get_number=function(b,C){var w=this.raw_options[b];C=parseInt(C,10),isNaN(C)&&(C=0);var z=parseInt(w,10);return isNaN(z)&&(z=C),z},l.prototype._get_selection=function(b,C,w){var z=this._get_selection_list(b,C,w);if(z.length!==1)throw new Error("Invalid Option Value: The option '"+b+`' can only be one of the following values:
|
|
|
`+C+`
|
|
|
You passed in: '`+this.raw_options[b]+"'");return z[0]},l.prototype._get_selection_list=function(b,C,w){if(!C||C.length===0)throw new Error("Selection list cannot be empty.");if(w=w||[C[0]],!this._is_valid_selection(w,C))throw new Error("Invalid Default Value!");var z=this._get_array(b,w);if(!this._is_valid_selection(z,C))throw new Error("Invalid Option Value: The option '"+b+`' can contain only the following values:
|
|
|
`+C+`
|
|
|
You passed in: '`+this.raw_options[b]+"'");return z},l.prototype._is_valid_selection=function(b,C){return b.length&&C.length&&!b.some(function(w){return C.indexOf(w)===-1})};function y(b,C){var w={};b=P(b);var z;for(z in b)z!==C&&(w[z]=b[z]);if(C&&b[C])for(z in b[C])w[z]=b[C][z];return w}function P(b){var C={},w;for(w in b){var z=w.replace(/-/g,"_");C[z]=b[w]}return C}K.exports.Options=l,K.exports.normalizeOpts=P,K.exports.mergeOpts=y},,function(K){var l=RegExp.prototype.hasOwnProperty("sticky");function y(P){this.__input=P||"",this.__input_length=this.__input.length,this.__position=0}y.prototype.restart=function(){this.__position=0},y.prototype.back=function(){this.__position>0&&(this.__position-=1)},y.prototype.hasNext=function(){return this.__position<this.__input_length},y.prototype.next=function(){var P=null;return this.hasNext()&&(P=this.__input.charAt(this.__position),this.__position+=1),P},y.prototype.peek=function(P){var b=null;return P=P||0,P+=this.__position,P>=0&&P<this.__input_length&&(b=this.__input.charAt(P)),b},y.prototype.__match=function(P,b){P.lastIndex=b;var C=P.exec(this.__input);return C&&!(l&&P.sticky)&&C.index!==b&&(C=null),C},y.prototype.test=function(P,b){return b=b||0,b+=this.__position,b>=0&&b<this.__input_length?!!this.__match(P,b):!1},y.prototype.testChar=function(P,b){var C=this.peek(b);return P.lastIndex=0,C!==null&&P.test(C)},y.prototype.match=function(P){var b=this.__match(P,this.__position);return b?this.__position+=b[0].length:b=null,b},y.prototype.read=function(P,b,C){var w="",z;return P&&(z=this.match(P),z&&(w+=z[0])),b&&(z||!P)&&(w+=this.readUntil(b,C)),w},y.prototype.readUntil=function(P,b){var C="",w=this.__position;P.lastIndex=this.__position;var z=P.exec(this.__input);return z?(w=z.index,b&&(w+=z[0].length)):w=this.__input_length,C=this.__input.substring(this.__position,w),this.__position=w,C},y.prototype.readUntilAfter=function(P){return this.readUntil(P,!0)},y.prototype.get_regexp=function(P,b){var C=null,w="g";return b&&l&&(w="y"),typeof P=="string"&&P!==""?C=new RegExp(P,w):P&&(C=new RegExp(P.source,w)),C},y.prototype.get_literal_regexp=function(P){return RegExp(P.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},y.prototype.peekUntilAfter=function(P){var b=this.__position,C=this.readUntilAfter(P);return this.__position=b,C},y.prototype.lookBack=function(P){var b=this.__position-1;return b>=P.length&&this.__input.substring(b-P.length,b).toLowerCase()===P},K.exports.InputScanner=y},,,,,function(K){function l(y,P){y=typeof y=="string"?y:y.source,P=typeof P=="string"?P:P.source,this.__directives_block_pattern=new RegExp(y+/ beautify( \w+[:]\w+)+ /.source+P,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(y+/\sbeautify\signore:end\s/.source+P,"g")}l.prototype.get_directives=function(y){if(!y.match(this.__directives_block_pattern))return null;var P={};this.__directive_pattern.lastIndex=0;for(var b=this.__directive_pattern.exec(y);b;)P[b[1]]=b[2],b=this.__directive_pattern.exec(y);return P},l.prototype.readIgnored=function(y){return y.readUntilAfter(this.__directives_end_ignore_pattern)},K.exports.Directives=l},,function(K,l,y){var P=y(16).Beautifier,b=y(17).Options;function C(w,z){var W=new P(w,z);return W.beautify()}K.exports=C,K.exports.defaultOptions=function(){return new b}},function(K,l,y){var P=y(17).Options,b=y(2).Output,C=y(8).InputScanner,w=y(13).Directives,z=new w(/\/\*/,/\*\//),W=/\r\n|[\r\n]/,Y=/\r\n|[\r\n]/g,$=/\s/,R=/(?:\s|\n)+/g,G=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,O=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function T(ue,be){this._source_text=ue||"",this._options=new P(be),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"]}T.prototype.eatString=function(ue){var be="";for(this._ch=this._input.next();this._ch;){if(be+=this._ch,this._ch==="\\")be+=this._input.next();else if(ue.indexOf(this._ch)!==-1||this._ch===`
|
|
|
`)break;this._ch=this._input.next()}return be},T.prototype.eatWhitespace=function(ue){for(var be=$.test(this._input.peek()),he=0;$.test(this._input.peek());)this._ch=this._input.next(),ue&&this._ch===`
|
|
|
`&&(he===0||he<this._options.max_preserve_newlines)&&(he++,this._output.add_new_line(!0));return be},T.prototype.foundNestedPseudoClass=function(){for(var ue=0,be=1,he=this._input.peek(be);he;){if(he==="{")return!0;if(he==="(")ue+=1;else if(he===")"){if(ue===0)return!1;ue-=1}else if(he===";"||he==="}")return!1;be++,he=this._input.peek(be)}return!1},T.prototype.print_string=function(ue){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(ue)},T.prototype.preserveSingleSpace=function(ue){ue&&(this._output.space_before_token=!0)},T.prototype.indent=function(){this._indentLevel++},T.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},T.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var ue=this._source_text,be=this._options.eol;be==="auto"&&(be=`
|
|
|
`,ue&&W.test(ue||"")&&(be=ue.match(W)[0])),ue=ue.replace(Y,`
|
|
|
`);var he=ue.match(/^[\t ]*/)[0];this._output=new b(this._options,he),this._input=new C(ue),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var Ue=0,Qe=!1,ke=!1,Ze=!1,se=!1,k=!1,I=this._ch,oe=!1,ie,Ee,_;ie=this._input.read(R),Ee=ie!=="",_=I,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),I=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var A=this._input.read(G),fe=z.get_directives(A);fe&&fe.ignore==="start"&&(A+=z.readIgnored(this._input)),this.print_string(A),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(O)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(Ee),this.print_string(this._ch);var Be=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Be.match(/[ :]$/)&&(Be=this.eatString(": ").replace(/\s+$/,""),this.print_string(Be),this._output.space_before_token=!0),Ue===0&&Be.indexOf(":")!==-1&&(ke=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(Ee),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var ft=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);ft.match(/[ :]$/)&&(ft=this.eatString(": ").replace(/\s+$/,""),this.print_string(ft),this._output.space_before_token=!0),Ue===0&&ft.indexOf(":")!==-1?(ke=!0,this.indent()):ft in this.NESTED_AT_RULE?(this._nestedLevel+=1,ft in this.CONDITIONAL_GROUP_RULE&&(Ze=!0)):Ue===0&&!ke&&(se=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(Ee),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")ke&&(ke=!1,this.outdent()),se=!1,Ze?(Ze=!1,Qe=this._indentLevel>=this._nestedLevel):Qe=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&Qe&&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)):(_==="("?this._output.space_before_token=!1:_!==","&&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(),_==="{"&&this._output.trim(!0),ke&&(this.outdent(),ke=!1),this.print_string(this._ch),Qe=!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 At=0;At<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;At++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[At])){oe=!0;break}(Qe||Ze)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!se&&Ue===0?(this.print_string(":"),ke||(ke=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var Ie=_==='"'||_==="'";this.preserveSingleSpace(Ie||Ee),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")oe=!1,Ue===0?(ke&&(this.outdent(),ke=!1),se=!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(),Ue++,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(")")),Ue&&(Ue--,this.outdent()));else{var it=!1;this._input.lookBack("with")&&(it=!0),this.preserveSingleSpace(Ee||it),this.print_string(this._ch),ke&&_==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),k=!0):(this.eatWhitespace(),Ue++,this.indent())}else if(this._ch===")")Ue&&(Ue--,this.outdent()),k&&this._input.peek()===";"&&this._options.selector_separator_newline&&(k=!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&&(!ke||k)&&Ue===0&&!se?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!ke&&Ue===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&&$.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(Ee),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),$.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 ht=_==='"'||_==="'";this.preserveSingleSpace(ht||Ee),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
|
`&&oe&&this._output.add_new_line()}var Tt=this._output.get_code(be);return Tt},K.exports.Beautifier=T},function(K,l,y){var P=y(6).Options;function b(C){P.call(this,C,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var w=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||w;var z=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var W=0;W<z.length;W++)z[W]!=="expand"?this.brace_style="collapse":this.brace_style=z[W]}b.prototype=new P,K.exports.Options=b}],j={};function g(K){var l=j[K];if(l!==void 0)return l.exports;var y=j[K]={exports:{}};return ce[K](y,y.exports,g),y.exports}var V=g(15);U=V})();var L=U;u=[],i=function(){return{css_beautify:L}}.apply(Lt,u),i!==void 0&&(Pn.exports=i)})()},40998:function(Pn,Lt,u){var i,U;(function(){var L;(function(){"use strict";var V=[,,function(P){function b(z){this.__parent=z,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=[]}b.prototype.clone_empty=function(){var z=new b(this.__parent);return z.set_indent(this.__indent_count,this.__alignment_count),z},b.prototype.item=function(z){return z<0?this.__items[this.__items.length+z]:this.__items[z]},b.prototype.has_match=function(z){for(var W=this.__items.length-1;W>=0;W--)if(this.__items[W].match(z))return!0;return!1},b.prototype.set_indent=function(z,W){this.is_empty()&&(this.__indent_count=z||0,this.__alignment_count=W||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},b.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)},b.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},b.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var z=this.__parent.current_line;return z.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),z.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),z.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,z.__items[0]===" "&&(z.__items.splice(0,1),z.__character_count-=1),!0}return!1},b.prototype.is_empty=function(){return this.__items.length===0},b.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},b.prototype.push=function(z){this.__items.push(z);var W=z.lastIndexOf(`
|
|
|
`);W!==-1?this.__character_count=z.length-W:this.__character_count+=z.length},b.prototype.pop=function(){var z=null;return this.is_empty()||(z=this.__items.pop(),this.__character_count-=z.length),z},b.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},b.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},b.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},b.prototype.toString=function(){var z="";return this.is_empty()?this.__parent.indent_empty_lines&&(z=this.__parent.get_indent_string(this.__indent_count)):(z=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),z+=this.__items.join("")),z};function C(z,W){this.__cache=[""],this.__indent_size=z.indent_size,this.__indent_string=z.indent_char,z.indent_with_tabs||(this.__indent_string=new Array(z.indent_size+1).join(z.indent_char)),W=W||"",z.indent_level>0&&(W=new Array(z.indent_level+1).join(this.__indent_string)),this.__base_string=W,this.__base_string_length=W.length}C.prototype.get_indent_size=function(z,W){var Y=this.__base_string_length;return W=W||0,z<0&&(Y=0),Y+=z*this.__indent_size,Y+=W,Y},C.prototype.get_indent_string=function(z,W){var Y=this.__base_string;return W=W||0,z<0&&(z=0,Y=""),W+=z*this.__indent_size,this.__ensure_cache(W),Y+=this.__cache[W],Y},C.prototype.__ensure_cache=function(z){for(;z>=this.__cache.length;)this.__add_column()},C.prototype.__add_column=function(){var z=this.__cache.length,W=0,Y="";this.__indent_size&&z>=this.__indent_size&&(W=Math.floor(z/this.__indent_size),z-=W*this.__indent_size,Y=new Array(W+1).join(this.__indent_string)),z&&(Y+=new Array(z+1).join(" ")),this.__cache.push(Y)};function w(z,W){this.__indent_cache=new C(z,W),this.raw=!1,this._end_with_newline=z.end_with_newline,this.indent_size=z.indent_size,this.wrap_line_length=z.wrap_line_length,this.indent_empty_lines=z.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new b(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}w.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},w.prototype.get_line_number=function(){return this.__lines.length},w.prototype.get_indent_string=function(z,W){return this.__indent_cache.get_indent_string(z,W)},w.prototype.get_indent_size=function(z,W){return this.__indent_cache.get_indent_size(z,W)},w.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},w.prototype.add_new_line=function(z){return this.is_empty()||!z&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},w.prototype.get_code=function(z){this.trim(!0);var W=this.current_line.pop();W&&(W[W.length-1]===`
|
|
|
`&&(W=W.replace(/\n+$/g,"")),this.current_line.push(W)),this._end_with_newline&&this.__add_outputline();var Y=this.__lines.join(`
|
|
|
`);return z!==`
|
|
|
`&&(Y=Y.replace(/[\n]/g,z)),Y},w.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},w.prototype.set_indent=function(z,W){return z=z||0,W=W||0,this.next_line.set_indent(z,W),this.__lines.length>1?(this.current_line.set_indent(z,W),!0):(this.current_line.set_indent(),!1)},w.prototype.add_raw_token=function(z){for(var W=0;W<z.newlines;W++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(z.whitespace_before),this.current_line.push(z.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},w.prototype.add_token=function(z){this.__add_space_before_token(),this.current_line.push(z),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},w.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(" "))},w.prototype.remove_indent=function(z){for(var W=this.__lines.length;z<W;)this.__lines[z]._remove_indent(),z++;this.current_line._remove_wrap_indent()},w.prototype.trim=function(z){for(z=z===void 0?!1:z,this.current_line.trim();z&&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},w.prototype.just_added_newline=function(){return this.current_line.is_empty()},w.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},w.prototype.ensure_empty_line_above=function(z,W){for(var Y=this.__lines.length-2;Y>=0;){var $=this.__lines[Y];if($.is_empty())break;if($.item(0).indexOf(z)!==0&&$.item(-1)!==W){this.__lines.splice(Y+1,0,new b(this)),this.previous_line=this.__lines[this.__lines.length-2];break}Y--}},P.exports.Output=w},function(P){function b(C,w,z,W){this.type=C,this.text=w,this.comments_before=null,this.newlines=z||0,this.whitespace_before=W||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}P.exports.Token=b},,,function(P){function b(z,W){this.raw_options=C(z,W),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"])}b.prototype._get_array=function(z,W){var Y=this.raw_options[z],$=W||[];return typeof Y=="object"?Y!==null&&typeof Y.concat=="function"&&($=Y.concat()):typeof Y=="string"&&($=Y.split(/[^a-zA-Z0-9_\/\-]+/)),$},b.prototype._get_boolean=function(z,W){var Y=this.raw_options[z],$=Y===void 0?!!W:!!Y;return $},b.prototype._get_characters=function(z,W){var Y=this.raw_options[z],$=W||"";return typeof Y=="string"&&($=Y.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),$},b.prototype._get_number=function(z,W){var Y=this.raw_options[z];W=parseInt(W,10),isNaN(W)&&(W=0);var $=parseInt(Y,10);return isNaN($)&&($=W),$},b.prototype._get_selection=function(z,W,Y){var $=this._get_selection_list(z,W,Y);if($.length!==1)throw new Error("Invalid Option Value: The option '"+z+`' can only be one of the following values:
|
|
|
`+W+`
|
|
|
You passed in: '`+this.raw_options[z]+"'");return $[0]},b.prototype._get_selection_list=function(z,W,Y){if(!W||W.length===0)throw new Error("Selection list cannot be empty.");if(Y=Y||[W[0]],!this._is_valid_selection(Y,W))throw new Error("Invalid Default Value!");var $=this._get_array(z,Y);if(!this._is_valid_selection($,W))throw new Error("Invalid Option Value: The option '"+z+`' can contain only the following values:
|
|
|
`+W+`
|
|
|
You passed in: '`+this.raw_options[z]+"'");return $},b.prototype._is_valid_selection=function(z,W){return z.length&&W.length&&!z.some(function(Y){return W.indexOf(Y)===-1})};function C(z,W){var Y={};z=w(z);var $;for($ in z)$!==W&&(Y[$]=z[$]);if(W&&z[W])for($ in z[W])Y[$]=z[W][$];return Y}function w(z){var W={},Y;for(Y in z){var $=Y.replace(/-/g,"_");W[$]=z[Y]}return W}P.exports.Options=b,P.exports.normalizeOpts=w,P.exports.mergeOpts=C},,function(P){var b=RegExp.prototype.hasOwnProperty("sticky");function C(w){this.__input=w||"",this.__input_length=this.__input.length,this.__position=0}C.prototype.restart=function(){this.__position=0},C.prototype.back=function(){this.__position>0&&(this.__position-=1)},C.prototype.hasNext=function(){return this.__position<this.__input_length},C.prototype.next=function(){var w=null;return this.hasNext()&&(w=this.__input.charAt(this.__position),this.__position+=1),w},C.prototype.peek=function(w){var z=null;return w=w||0,w+=this.__position,w>=0&&w<this.__input_length&&(z=this.__input.charAt(w)),z},C.prototype.__match=function(w,z){w.lastIndex=z;var W=w.exec(this.__input);return W&&!(b&&w.sticky)&&W.index!==z&&(W=null),W},C.prototype.test=function(w,z){return z=z||0,z+=this.__position,z>=0&&z<this.__input_length?!!this.__match(w,z):!1},C.prototype.testChar=function(w,z){var W=this.peek(z);return w.lastIndex=0,W!==null&&w.test(W)},C.prototype.match=function(w){var z=this.__match(w,this.__position);return z?this.__position+=z[0].length:z=null,z},C.prototype.read=function(w,z,W){var Y="",$;return w&&($=this.match(w),$&&(Y+=$[0])),z&&($||!w)&&(Y+=this.readUntil(z,W)),Y},C.prototype.readUntil=function(w,z){var W="",Y=this.__position;w.lastIndex=this.__position;var $=w.exec(this.__input);return $?(Y=$.index,z&&(Y+=$[0].length)):Y=this.__input_length,W=this.__input.substring(this.__position,Y),this.__position=Y,W},C.prototype.readUntilAfter=function(w){return this.readUntil(w,!0)},C.prototype.get_regexp=function(w,z){var W=null,Y="g";return z&&b&&(Y="y"),typeof w=="string"&&w!==""?W=new RegExp(w,Y):w&&(W=new RegExp(w.source,Y)),W},C.prototype.get_literal_regexp=function(w){return RegExp(w.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},C.prototype.peekUntilAfter=function(w){var z=this.__position,W=this.readUntilAfter(w);return this.__position=z,W},C.prototype.lookBack=function(w){var z=this.__position-1;return z>=w.length&&this.__input.substring(z-w.length,z).toLowerCase()===w},P.exports.InputScanner=C},function(P,b,C){var w=C(8).InputScanner,z=C(3).Token,W=C(10).TokenStream,Y=C(11).WhitespacePattern,$={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},R=function(G,O){this._input=new w(G),this._options=O||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new Y(this._input)};R.prototype.tokenize=function(){this._input.restart(),this.__tokens=new W,this._reset();for(var G,O=new z($.START,""),T=null,ue=[],be=new W;O.type!==$.EOF;){for(G=this._get_next_token(O,T);this._is_comment(G);)be.add(G),G=this._get_next_token(O,T);be.isEmpty()||(G.comments_before=be,be=new W),G.parent=T,this._is_opening(G)?(ue.push(T),T=G):T&&this._is_closing(G,T)&&(G.opened=T,T.closed=G,T=ue.pop(),G.parent=T),G.previous=O,O.next=G,this.__tokens.add(G),O=G}return this.__tokens},R.prototype._is_first_token=function(){return this.__tokens.isEmpty()},R.prototype._reset=function(){},R.prototype._get_next_token=function(G,O){this._readWhitespace();var T=this._input.read(/.+/g);return T?this._create_token($.RAW,T):this._create_token($.EOF,"")},R.prototype._is_comment=function(G){return!1},R.prototype._is_opening=function(G){return!1},R.prototype._is_closing=function(G,O){return!1},R.prototype._create_token=function(G,O){var T=new z(G,O,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return T},R.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},P.exports.Tokenizer=R,P.exports.TOKEN=$},function(P){function b(C){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=C}b.prototype.restart=function(){this.__position=0},b.prototype.isEmpty=function(){return this.__tokens_length===0},b.prototype.hasNext=function(){return this.__position<this.__tokens_length},b.prototype.next=function(){var C=null;return this.hasNext()&&(C=this.__tokens[this.__position],this.__position+=1),C},b.prototype.peek=function(C){var w=null;return C=C||0,C+=this.__position,C>=0&&C<this.__tokens_length&&(w=this.__tokens[C]),w},b.prototype.add=function(C){this.__parent_token&&(C.parent=this.__parent_token),this.__tokens.push(C),this.__tokens_length+=1},P.exports.TokenStream=b},function(P,b,C){var w=C(12).Pattern;function z(W,Y){w.call(this,W,Y),Y?this._line_regexp=this._input.get_regexp(Y._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}z.prototype=new w,z.prototype.__set_whitespace_patterns=function(W,Y){W+="\\t ",Y+="\\n\\r",this._match_pattern=this._input.get_regexp("["+W+Y+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+Y+"]")},z.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var W=this._input.read(this._match_pattern);if(W===" ")this.whitespace_before_token=" ";else if(W){var Y=this.__split(this._newline_regexp,W);this.newline_count=Y.length-1,this.whitespace_before_token=Y[this.newline_count]}return W},z.prototype.matching=function(W,Y){var $=this._create();return $.__set_whitespace_patterns(W,Y),$._update(),$},z.prototype._create=function(){return new z(this._input,this)},z.prototype.__split=function(W,Y){W.lastIndex=0;for(var $=0,R=[],G=W.exec(Y);G;)R.push(Y.substring($,G.index)),$=G.index+G[0].length,G=W.exec(Y);return $<Y.length?R.push(Y.substring($,Y.length)):R.push(""),R},P.exports.WhitespacePattern=z},function(P){function b(C,w){this._input=C,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,w&&(this._starting_pattern=this._input.get_regexp(w._starting_pattern,!0),this._match_pattern=this._input.get_regexp(w._match_pattern,!0),this._until_pattern=this._input.get_regexp(w._until_pattern),this._until_after=w._until_after)}b.prototype.read=function(){var C=this._input.read(this._starting_pattern);return(!this._starting_pattern||C)&&(C+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),C},b.prototype.read_match=function(){return this._input.match(this._match_pattern)},b.prototype.until_after=function(C){var w=this._create();return w._until_after=!0,w._until_pattern=this._input.get_regexp(C),w._update(),w},b.prototype.until=function(C){var w=this._create();return w._until_after=!1,w._until_pattern=this._input.get_regexp(C),w._update(),w},b.prototype.starting_with=function(C){var w=this._create();return w._starting_pattern=this._input.get_regexp(C,!0),w._update(),w},b.prototype.matching=function(C){var w=this._create();return w._match_pattern=this._input.get_regexp(C,!0),w._update(),w},b.prototype._create=function(){return new b(this._input,this)},b.prototype._update=function(){},P.exports.Pattern=b},function(P){function b(C,w){C=typeof C=="string"?C:C.source,w=typeof w=="string"?w:w.source,this.__directives_block_pattern=new RegExp(C+/ beautify( \w+[:]\w+)+ /.source+w,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(C+/\sbeautify\signore:end\s/.source+w,"g")}b.prototype.get_directives=function(C){if(!C.match(this.__directives_block_pattern))return null;var w={};this.__directive_pattern.lastIndex=0;for(var z=this.__directive_pattern.exec(C);z;)w[z[1]]=z[2],z=this.__directive_pattern.exec(C);return w},b.prototype.readIgnored=function(C){return C.readUntilAfter(this.__directives_end_ignore_pattern)},P.exports.Directives=b},function(P,b,C){var w=C(12).Pattern,z={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function W(Y,$){w.call(this,Y,$),this.__template_pattern=null,this._disabled=Object.assign({},z),this._excluded=Object.assign({},z),$&&(this.__template_pattern=this._input.get_regexp($.__template_pattern),this._excluded=Object.assign(this._excluded,$._excluded),this._disabled=Object.assign(this._disabled,$._disabled));var R=new w(Y);this.__patterns={handlebars_comment:R.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:R.starting_with(/{{{/).until_after(/}}}/),handlebars:R.starting_with(/{{/).until_after(/}}/),php:R.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:R.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:R.starting_with(/{%/).until_after(/%}/),django_value:R.starting_with(/{{/).until_after(/}}/),django_comment:R.starting_with(/{#/).until_after(/#}/),smarty:R.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:R.starting_with(/{\*/).until_after(/\*}/),smarty_literal:R.starting_with(/{literal}/).until_after(/{\/literal}/)}}W.prototype=new w,W.prototype._create=function(){return new W(this._input,this)},W.prototype._update=function(){this.__set_templated_pattern()},W.prototype.disable=function(Y){var $=this._create();return $._disabled[Y]=!0,$._update(),$},W.prototype.read_options=function(Y){var $=this._create();for(var R in z)$._disabled[R]=Y.templating.indexOf(R)===-1;return $._update(),$},W.prototype.exclude=function(Y){var $=this._create();return $._excluded[Y]=!0,$._update(),$},W.prototype.read=function(){var Y="";this._match_pattern?Y=this._input.read(this._starting_pattern):Y=this._input.read(this._starting_pattern,this.__template_pattern);for(var $=this._read_template();$;)this._match_pattern?$+=this._input.read(this._match_pattern):$+=this._input.readUntil(this.__template_pattern),Y+=$,$=this._read_template();return this._until_after&&(Y+=this._input.readUntilAfter(this._until_pattern)),Y},W.prototype.__set_templated_pattern=function(){var Y=[];this._disabled.php||Y.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||Y.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||Y.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||Y.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(Y.push(this.__patterns.django._starting_pattern.source),Y.push(this.__patterns.django_value._starting_pattern.source),Y.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||Y.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&Y.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+Y.join("|")+")")},W.prototype._read_template=function(){var Y="",$=this._input.peek();if($==="<"){var R=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&R==="?"&&(Y=Y||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&R==="%"&&(Y=Y||this.__patterns.erb.read())}else $==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(Y=Y||this.__patterns.handlebars_comment.read(),Y=Y||this.__patterns.handlebars_unescaped.read(),Y=Y||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(Y=Y||this.__patterns.django_value.read()),this._excluded.django||(Y=Y||this.__patterns.django_comment.read(),Y=Y||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(Y=Y||this.__patterns.smarty_comment.read(),Y=Y||this.__patterns.smarty_literal.read(),Y=Y||this.__patterns.smarty.read()));return Y},P.exports.TemplatablePattern=W},,,,function(P,b,C){var w=C(19).Beautifier,z=C(20).Options;function W(Y,$,R,G){var O=new w(Y,$,R,G);return O.beautify()}P.exports=W,P.exports.defaultOptions=function(){return new z}},function(P,b,C){var w=C(20).Options,z=C(2).Output,W=C(21).Tokenizer,Y=C(21).TOKEN,$=/\r\n|[\r\n]/,R=/\r\n|[\r\n]/g,G=function(se,k){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=se.max_preserve_newlines,this.preserve_newlines=se.preserve_newlines,this._output=new z(se,k)};G.prototype.current_line_has_match=function(se){return this._output.current_line.has_match(se)},G.prototype.set_space_before_token=function(se,k){this._output.space_before_token=se,this._output.non_breaking_space=k},G.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},G.prototype.add_raw_token=function(se){this._output.add_raw_token(se)},G.prototype.print_preserved_newlines=function(se){var k=0;se.type!==Y.TEXT&&se.previous.type!==Y.TEXT&&(k=se.newlines?1:0),this.preserve_newlines&&(k=se.newlines<this.max_preserve_newlines+1?se.newlines:this.max_preserve_newlines+1);for(var I=0;I<k;I++)this.print_newline(I>0);return k!==0},G.prototype.traverse_whitespace=function(se){return se.whitespace_before||se.newlines?(this.print_preserved_newlines(se)||(this._output.space_before_token=!0),!0):!1},G.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},G.prototype.print_newline=function(se){this._output.add_new_line(se)},G.prototype.print_token=function(se){se.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(se.text))},G.prototype.indent=function(){this.indent_level++},G.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},G.prototype.get_full_indent=function(se){return se=this.indent_level+(se||0),se<1?"":this._output.get_indent_string(se)};var O=function(se){for(var k=null,I=se.next;I.type!==Y.EOF&&se.closed!==I;){if(I.type===Y.ATTRIBUTE&&I.text==="type"){I.next&&I.next.type===Y.EQUALS&&I.next.next&&I.next.next.type===Y.VALUE&&(k=I.next.next.text);break}I=I.next}return k},T=function(se,k){var I=null,oe=null;return k.closed?(se==="script"?I="text/javascript":se==="style"&&(I="text/css"),I=O(k)||I,I.search("text/css")>-1?oe="css":I.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?oe="javascript":I.search(/(text|application|dojo)\/(x-)?(html)/)>-1?oe="html":I.search(/test\/null/)>-1&&(oe="null"),oe):null};function ue(se,k){return k.indexOf(se)!==-1}function be(se,k,I){this.parent=se||null,this.tag=k?k.tag_name:"",this.indent_level=I||0,this.parser_token=k||null}function he(se){this._printer=se,this._current_frame=null}he.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},he.prototype.record_tag=function(se){var k=new be(this._current_frame,se,this._printer.indent_level);this._current_frame=k},he.prototype._try_pop_frame=function(se){var k=null;return se&&(k=se.parser_token,this._printer.indent_level=se.indent_level,this._current_frame=se.parent),k},he.prototype._get_frame=function(se,k){for(var I=this._current_frame;I&&se.indexOf(I.tag)===-1;){if(k&&k.indexOf(I.tag)!==-1){I=null;break}I=I.parent}return I},he.prototype.try_pop=function(se,k){var I=this._get_frame([se],k);return this._try_pop_frame(I)},he.prototype.indent_to_tag=function(se){var k=this._get_frame(se);k&&(this._printer.indent_level=k.indent_level)};function Ue(se,k,I,oe){this._source_text=se||"",k=k||{},this._js_beautify=I,this._css_beautify=oe,this._tag_stack=null;var ie=new w(k,"html");this._options=ie,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"}Ue.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var se=this._source_text,k=this._options.eol;this._options.eol==="auto"&&(k=`
|
|
|
`,se&&$.test(se)&&(k=se.match($)[0])),se=se.replace(R,`
|
|
|
`);var I=se.match(/^[\t ]*/)[0],oe={text:"",type:""},ie=new Qe(this._options),Ee=new G(this._options,I),_=new W(se,this._options).tokenize();this._tag_stack=new he(Ee);for(var A=null,fe=_.next();fe.type!==Y.EOF;)fe.type===Y.TAG_OPEN||fe.type===Y.COMMENT?(A=this._handle_tag_open(Ee,fe,ie,oe,_),ie=A):fe.type===Y.ATTRIBUTE||fe.type===Y.EQUALS||fe.type===Y.VALUE||fe.type===Y.TEXT&&!ie.tag_complete?A=this._handle_inside_tag(Ee,fe,ie,oe):fe.type===Y.TAG_CLOSE?A=this._handle_tag_close(Ee,fe,ie):fe.type===Y.TEXT?A=this._handle_text(Ee,fe,ie):fe.type===Y.CONTROL_FLOW_OPEN?A=this._handle_control_flow_open(Ee,fe):fe.type===Y.CONTROL_FLOW_CLOSE?A=this._handle_control_flow_close(Ee,fe):Ee.add_raw_token(fe),oe=A,fe=_.next();var Be=Ee._output.get_code(k);return Be},Ue.prototype._handle_control_flow_open=function(se,k){var I={text:k.text,type:k.type};return se.set_space_before_token(k.newlines||k.whitespace_before!=="",!0),k.newlines?se.print_preserved_newlines(k):se.set_space_before_token(k.newlines||k.whitespace_before!=="",!0),se.print_token(k),se.indent(),I},Ue.prototype._handle_control_flow_close=function(se,k){var I={text:k.text,type:k.type};return se.deindent(),k.newlines?se.print_preserved_newlines(k):se.set_space_before_token(k.newlines||k.whitespace_before!=="",!0),se.print_token(k),I},Ue.prototype._handle_tag_close=function(se,k,I){var oe={text:k.text,type:k.type};return se.alignment_size=0,I.tag_complete=!0,se.set_space_before_token(k.newlines||k.whitespace_before!=="",!0),I.is_unformatted?se.add_raw_token(k):(I.tag_start_char==="<"&&(se.set_space_before_token(k.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&I.has_wrapped_attrs&&se.print_newline(!1)),se.print_token(k)),I.indent_content&&!(I.is_unformatted||I.is_content_unformatted)&&(se.indent(),I.indent_content=!1),!I.is_inline_element&&!(I.is_unformatted||I.is_content_unformatted)&&se.set_wrap_point(),oe},Ue.prototype._handle_inside_tag=function(se,k,I,oe){var ie=I.has_wrapped_attrs,Ee={text:k.text,type:k.type};return se.set_space_before_token(k.newlines||k.whitespace_before!=="",!0),I.is_unformatted?se.add_raw_token(k):I.tag_start_char==="{"&&k.type===Y.TEXT?se.print_preserved_newlines(k)?(k.newlines=0,se.add_raw_token(k)):se.print_token(k):(k.type===Y.ATTRIBUTE?se.set_space_before_token(!0):(k.type===Y.EQUALS||k.type===Y.VALUE&&k.previous.type===Y.EQUALS)&&se.set_space_before_token(!1),k.type===Y.ATTRIBUTE&&I.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(se.traverse_whitespace(k),ie=ie||k.newlines!==0),this._is_wrap_attributes_force&&I.attr_count>=this._options.wrap_attributes_min_attrs&&(oe.type!==Y.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(se.print_newline(!1),ie=!0)),se.print_token(k),ie=ie||se.previous_token_wrapped(),I.has_wrapped_attrs=ie),Ee},Ue.prototype._handle_text=function(se,k,I){var oe={text:k.text,type:"TK_CONTENT"};return I.custom_beautifier_name?this._print_custom_beatifier_text(se,k,I):I.is_unformatted||I.is_content_unformatted?se.add_raw_token(k):(se.traverse_whitespace(k),se.print_token(k)),oe},Ue.prototype._print_custom_beatifier_text=function(se,k,I){var oe=this;if(k.text!==""){var ie=k.text,Ee,_=1,A="",fe="";I.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?Ee=this._js_beautify:I.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?Ee=this._css_beautify:I.custom_beautifier_name==="html"&&(Ee=function(ht,Tt){var ze=new Ue(ht,Tt,oe._js_beautify,oe._css_beautify);return ze.beautify()}),this._options.indent_scripts==="keep"?_=0:this._options.indent_scripts==="separate"&&(_=-se.indent_level);var Be=se.get_full_indent(_);if(ie=ie.replace(/\n[ \t]*$/,""),I.custom_beautifier_name!=="html"&&ie[0]==="<"&&ie.match(/^(<!--|<!\[CDATA\[)/)){var ft=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(ie);if(!ft){se.add_raw_token(k);return}A=Be+ft[1]+`
|
|
|
`,ie=ft[4],ft[5]&&(fe=Be+ft[5]),ie=ie.replace(/\n[ \t]*$/,""),(ft[2]||ft[3].indexOf(`
|
|
|
`)!==-1)&&(ft=ft[3].match(/[ \t]+$/),ft&&(k.whitespace_before=ft[0]))}if(ie)if(Ee){var At=function(){this.eol=`
|
|
|
`};At.prototype=this._options.raw_options;var Ie=new At;ie=Ee(Be+ie,Ie)}else{var it=k.whitespace_before;it&&(ie=ie.replace(new RegExp(`
|
|
|
(`+it+")?","g"),`
|
|
|
`)),ie=Be+ie.replace(/\n/g,`
|
|
|
`+Be)}A&&(ie?ie=A+ie+`
|
|
|
`+fe:ie=A+fe),se.print_newline(!1),ie&&(k.text=ie,k.whitespace_before="",k.newlines=0,se.add_raw_token(k),se.print_newline(!0))}},Ue.prototype._handle_tag_open=function(se,k,I,oe,ie){var Ee=this._get_tag_open_token(k);if((I.is_unformatted||I.is_content_unformatted)&&!I.is_empty_element&&k.type===Y.TAG_OPEN&&!Ee.is_start_tag?(se.add_raw_token(k),Ee.start_tag_token=this._tag_stack.try_pop(Ee.tag_name)):(se.traverse_whitespace(k),this._set_tag_position(se,k,Ee,I,oe),Ee.is_inline_element||se.set_wrap_point(),se.print_token(k)),Ee.is_start_tag&&this._is_wrap_attributes_force){var _=0,A;do A=ie.peek(_),A.type===Y.ATTRIBUTE&&(Ee.attr_count+=1),_+=1;while(A.type!==Y.EOF&&A.type!==Y.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(Ee.alignment_size=k.text.length+1),!Ee.tag_complete&&!Ee.is_unformatted&&(se.alignment_size=Ee.alignment_size),Ee};var Qe=function(se,k,I){if(this.parent=k||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="",!I)this.tag_complete=!0;else{var oe;this.tag_start_char=I.text[0],this.text=I.text,this.tag_start_char==="<"?(oe=I.text.match(/^<([^\s>]*)/),this.tag_check=oe?oe[1]:""):(oe=I.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=oe?oe[1]:"",(I.text.startsWith("{{#>")||I.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&I.next!==null?this.tag_check=I.next.text.split(" ")[0]:this.tag_check=I.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),I.type===Y.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||I.closed&&I.closed.text==="/>";var ie=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(ie=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!se.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(ie)))}};Ue.prototype._get_tag_open_token=function(se){var k=new Qe(this._options,this._tag_stack.get_parser_token(),se);return k.alignment_size=this._options.wrap_attributes_indent_size,k.is_end_tag=k.is_end_tag||ue(k.tag_check,this._options.void_elements),k.is_empty_element=k.tag_complete||k.is_start_tag&&k.is_end_tag,k.is_unformatted=!k.tag_complete&&ue(k.tag_check,this._options.unformatted),k.is_content_unformatted=!k.is_empty_element&&ue(k.tag_check,this._options.content_unformatted),k.is_inline_element=ue(k.tag_name,this._options.inline)||this._options.inline_custom_elements&&k.tag_name.includes("-")||k.tag_start_char==="{",k},Ue.prototype._set_tag_position=function(se,k,I,oe,ie){if(I.is_empty_element||(I.is_end_tag?I.start_tag_token=this._tag_stack.try_pop(I.tag_name):(this._do_optional_end_element(I)&&(I.is_inline_element||se.print_newline(!1)),this._tag_stack.record_tag(I),(I.tag_name==="script"||I.tag_name==="style")&&!(I.is_unformatted||I.is_content_unformatted)&&(I.custom_beautifier_name=T(I.tag_check,k)))),ue(I.tag_check,this._options.extra_liners)&&(se.print_newline(!1),se._output.just_added_blankline()||se.print_newline(!0)),I.is_empty_element){if(I.tag_start_char==="{"&&I.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),I.indent_content=!0;var Ee=se.current_line_has_match(/{{#if/);Ee||se.print_newline(!1)}I.tag_name==="!--"&&ie.type===Y.TAG_CLOSE&&oe.is_end_tag&&I.text.indexOf(`
|
|
|
`)===-1||(I.is_inline_element||I.is_unformatted||se.print_newline(!1),this._calcluate_parent_multiline(se,I))}else if(I.is_end_tag){var _=!1;_=I.start_tag_token&&I.start_tag_token.multiline_content,_=_||!I.is_inline_element&&!(oe.is_inline_element||oe.is_unformatted)&&!(ie.type===Y.TAG_CLOSE&&I.start_tag_token===oe)&&ie.type!=="TK_CONTENT",(I.is_content_unformatted||I.is_unformatted)&&(_=!1),_&&se.print_newline(!1)}else I.indent_content=!I.custom_beautifier_name,I.tag_start_char==="<"&&(I.tag_name==="html"?I.indent_content=this._options.indent_inner_html:I.tag_name==="head"?I.indent_content=this._options.indent_head_inner_html:I.tag_name==="body"&&(I.indent_content=this._options.indent_body_inner_html)),!(I.is_inline_element||I.is_unformatted)&&(ie.type!=="TK_CONTENT"||I.is_content_unformatted)&&se.print_newline(!1),this._calcluate_parent_multiline(se,I)},Ue.prototype._calcluate_parent_multiline=function(se,k){k.parent&&se._output.just_added_newline()&&!((k.is_inline_element||k.is_unformatted)&&k.parent.is_inline_element)&&(k.parent.multiline_content=!0)};var ke=["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"],Ze=["a","audio","del","ins","map","noscript","video"];Ue.prototype._do_optional_end_element=function(se){var k=null;if(!(se.is_empty_element||!se.is_start_tag||!se.parent)){if(se.tag_name==="body")k=k||this._tag_stack.try_pop("head");else if(se.tag_name==="li")k=k||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(se.tag_name==="dd"||se.tag_name==="dt")k=k||this._tag_stack.try_pop("dt",["dl"]),k=k||this._tag_stack.try_pop("dd",["dl"]);else if(se.parent.tag_name==="p"&&ke.indexOf(se.tag_name)!==-1){var I=se.parent.parent;(!I||Ze.indexOf(I.tag_name)===-1)&&(k=k||this._tag_stack.try_pop("p"))}else se.tag_name==="rp"||se.tag_name==="rt"?(k=k||this._tag_stack.try_pop("rt",["ruby","rtc"]),k=k||this._tag_stack.try_pop("rp",["ruby","rtc"])):se.tag_name==="optgroup"?k=k||this._tag_stack.try_pop("optgroup",["select"]):se.tag_name==="option"?k=k||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):se.tag_name==="colgroup"?k=k||this._tag_stack.try_pop("caption",["table"]):se.tag_name==="thead"?(k=k||this._tag_stack.try_pop("caption",["table"]),k=k||this._tag_stack.try_pop("colgroup",["table"])):se.tag_name==="tbody"||se.tag_name==="tfoot"?(k=k||this._tag_stack.try_pop("caption",["table"]),k=k||this._tag_stack.try_pop("colgroup",["table"]),k=k||this._tag_stack.try_pop("thead",["table"]),k=k||this._tag_stack.try_pop("tbody",["table"])):se.tag_name==="tr"?(k=k||this._tag_stack.try_pop("caption",["table"]),k=k||this._tag_stack.try_pop("colgroup",["table"]),k=k||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(se.tag_name==="th"||se.tag_name==="td")&&(k=k||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),k=k||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return se.parent=this._tag_stack.get_parser_token(),k}},P.exports.Beautifier=Ue},function(P,b,C){var w=C(6).Options;function z(W){w.call(this,W,"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"])}z.prototype=new w,P.exports.Options=z},function(P,b,C){var w=C(9).Tokenizer,z=C(9).TOKEN,W=C(13).Directives,Y=C(14).TemplatablePattern,$=C(12).Pattern,R={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:z.START,RAW:z.RAW,EOF:z.EOF},G=new W(/<\!--/,/-->/),O=function(T,ue){w.call(this,T,ue),this._current_tag_name="";var be=new Y(this._input).read_options(this._options),he=new $(this._input);if(this.__patterns={word:be.until(/[\n\r\t <]/),word_control_flow_close_excluded:be.until(/[\n\r\t <}]/),single_quote:be.until_after(/'/),double_quote:be.until_after(/"/),attribute:be.until(/[\n\r\t =>]|\/>/),element_name:be.until(/[\n\r\t >\/]/),angular_control_flow_start:he.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:he.starting_with(/{{!--/).until_after(/--}}/),handlebars:he.starting_with(/{{/).until_after(/}}/),handlebars_open:he.until(/[\n\r\t }]/),handlebars_raw_close:he.until(/}}/),comment:he.starting_with(/<!--/).until_after(/-->/),cdata:he.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:he.starting_with(/<!\[/).until_after(/]>/),processing:he.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 Ue=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=he.matching(Ue).until_after(Ue)}};O.prototype=new w,O.prototype._is_comment=function(T){return!1},O.prototype._is_opening=function(T){return T.type===R.TAG_OPEN||T.type===R.CONTROL_FLOW_OPEN},O.prototype._is_closing=function(T,ue){return T.type===R.TAG_CLOSE&&ue&&((T.text===">"||T.text==="/>")&&ue.text[0]==="<"||T.text==="}}"&&ue.text[0]==="{"&&ue.text[1]==="{")||T.type===R.CONTROL_FLOW_CLOSE&&T.text==="}"&&ue.text.endsWith("{")},O.prototype._reset=function(){this._current_tag_name=""},O.prototype._get_next_token=function(T,ue){var be=null;this._readWhitespace();var he=this._input.peek();return he===null?this._create_token(R.EOF,""):(be=be||this._read_open_handlebars(he,ue),be=be||this._read_attribute(he,T,ue),be=be||this._read_close(he,ue),be=be||this._read_script_and_style(he,T),be=be||this._read_control_flows(he,ue),be=be||this._read_raw_content(he,T,ue),be=be||this._read_content_word(he,ue),be=be||this._read_comment_or_cdata(he),be=be||this._read_processing(he),be=be||this._read_open(he,ue),be=be||this._create_token(R.UNKNOWN,this._input.next()),be)},O.prototype._read_comment_or_cdata=function(T){var ue=null,be=null,he=null;if(T==="<"){var Ue=this._input.peek(1);Ue==="!"&&(be=this.__patterns.comment.read(),be?(he=G.get_directives(be),he&&he.ignore==="start"&&(be+=G.readIgnored(this._input))):be=this.__patterns.cdata.read()),be&&(ue=this._create_token(R.COMMENT,be),ue.directives=he)}return ue},O.prototype._read_processing=function(T){var ue=null,be=null,he=null;if(T==="<"){var Ue=this._input.peek(1);(Ue==="!"||Ue==="?")&&(be=this.__patterns.conditional_comment.read(),be=be||this.__patterns.processing.read()),be&&(ue=this._create_token(R.COMMENT,be),ue.directives=he)}return ue},O.prototype._read_open=function(T,ue){var be=null,he=null;return(!ue||ue.type===R.CONTROL_FLOW_OPEN)&&T==="<"&&(be=this._input.next(),this._input.peek()==="/"&&(be+=this._input.next()),be+=this.__patterns.element_name.read(),he=this._create_token(R.TAG_OPEN,be)),he},O.prototype._read_open_handlebars=function(T,ue){var be=null,he=null;return(!ue||ue.type===R.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&T==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(be=this.__patterns.handlebars_comment.read(),be=be||this.__patterns.handlebars.read(),he=this._create_token(R.COMMENT,be)):(be=this.__patterns.handlebars_open.read(),he=this._create_token(R.TAG_OPEN,be))),he},O.prototype._read_control_flows=function(T,ue){var be="",he=null;if(!this._options.templating.includes("angular"))return he;if(T==="@"){if(be=this.__patterns.angular_control_flow_start.read(),be==="")return he;for(var Ue=be.endsWith("(")?1:0,Qe=0;!(be.endsWith("{")&&Ue===Qe);){var ke=this._input.next();if(ke===null)break;ke==="("?Ue++:ke===")"&&Qe++,be+=ke}he=this._create_token(R.CONTROL_FLOW_OPEN,be)}else T==="}"&&ue&&ue.type===R.CONTROL_FLOW_OPEN&&(be=this._input.next(),he=this._create_token(R.CONTROL_FLOW_CLOSE,be));return he},O.prototype._read_close=function(T,ue){var be=null,he=null;return ue&&ue.type===R.TAG_OPEN&&(ue.text[0]==="<"&&(T===">"||T==="/"&&this._input.peek(1)===">")?(be=this._input.next(),T==="/"&&(be+=this._input.next()),he=this._create_token(R.TAG_CLOSE,be)):ue.text[0]==="{"&&T==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),he=this._create_token(R.TAG_CLOSE,"}}"))),he},O.prototype._read_attribute=function(T,ue,be){var he=null,Ue="";if(be&&be.text[0]==="<")if(T==="=")he=this._create_token(R.EQUALS,this._input.next());else if(T==='"'||T==="'"){var Qe=this._input.next();T==='"'?Qe+=this.__patterns.double_quote.read():Qe+=this.__patterns.single_quote.read(),he=this._create_token(R.VALUE,Qe)}else Ue=this.__patterns.attribute.read(),Ue&&(ue.type===R.EQUALS?he=this._create_token(R.VALUE,Ue):he=this._create_token(R.ATTRIBUTE,Ue));return he},O.prototype._is_content_unformatted=function(T){return this._options.void_elements.indexOf(T)===-1&&(this._options.content_unformatted.indexOf(T)!==-1||this._options.unformatted.indexOf(T)!==-1)},O.prototype._read_raw_content=function(T,ue,be){var he="";if(be&&be.text[0]==="{")he=this.__patterns.handlebars_raw_close.read();else if(ue.type===R.TAG_CLOSE&&ue.opened.text[0]==="<"&&ue.text[0]!=="/"){var Ue=ue.opened.text.substr(1).toLowerCase();this._is_content_unformatted(Ue)&&(he=this._input.readUntil(new RegExp("</"+Ue+"[\\n\\r\\t ]*?>","ig")))}return he?this._create_token(R.TEXT,he):null},O.prototype._read_script_and_style=function(T,ue){if(ue.type===R.TAG_CLOSE&&ue.opened.text[0]==="<"&&ue.text[0]!=="/"){var be=ue.opened.text.substr(1).toLowerCase();if(be==="script"||be==="style"){var he=this._read_comment_or_cdata(T);if(he)return he.type=R.TEXT,he;var Ue=this._input.readUntil(new RegExp("</"+be+"[\\n\\r\\t ]*?>","ig"));if(Ue)return this._create_token(R.TEXT,Ue)}}return null},O.prototype._read_content_word=function(T,ue){var be="";return this._options.unformatted_content_delimiter&&T===this._options.unformatted_content_delimiter[0]&&(be=this.__patterns.unformatted_content_delimiter.read()),be||(be=ue&&ue.type===R.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),be?this._create_token(R.TEXT,be):null},P.exports.Tokenizer=O,P.exports.TOKEN=R}],K={};function l(P){var b=K[P];if(b!==void 0)return b.exports;var C=K[P]={exports:{}};return V[P](C,C.exports,l),C.exports}var y=l(18);L=y})();var ce=L;if(1)i=[u,u(58553),u(87804)],U=function(V){var K=u(58553),l=u(87804);return{html_beautify:function(y,P){return ce(y,P,K.js_beautify,l.css_beautify)}}}.apply(Lt,i),U!==void 0&&(Pn.exports=U);else var j,g})()},58553:function(Pn,Lt){var u,i;(function(){var U;(function(){"use strict";var ce=[function(K,l,y){var P=y(1).Beautifier,b=y(5).Options;function C(w,z){var W=new P(w,z);return W.beautify()}K.exports=C,K.exports.defaultOptions=function(){return new b}},function(K,l,y){var P=y(2).Output,b=y(3).Token,C=y(4),w=y(5).Options,z=y(7).Tokenizer,W=y(7).line_starters,Y=y(7).positionable_operators,$=y(7).TOKEN;function R(A,fe){return fe.indexOf(A)!==-1}function G(A){return A.replace(/^\s+/g,"")}function O(A){for(var fe={},Be=0;Be<A.length;Be++)fe[A[Be].replace(/-/g,"_")]=A[Be];return fe}function T(A,fe){return A&&A.type===$.RESERVED&&A.text===fe}function ue(A,fe){return A&&A.type===$.RESERVED&&R(A.text,fe)}var be=["case","return","do","if","throw","else","await","break","continue","async"],he=["before-newline","after-newline","preserve-newline"],Ue=O(he),Qe=[Ue.before_newline,Ue.preserve_newline],ke={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function Ze(A,fe){fe.multiline_frame||fe.mode===ke.ForInitializer||fe.mode===ke.Conditional||A.remove_indent(fe.start_line_index)}function se(A){A=A.replace(C.allLineBreaks,`
|
|
|
`);for(var fe=[],Be=A.indexOf(`
|
|
|
`);Be!==-1;)fe.push(A.substring(0,Be)),A=A.substring(Be+1),Be=A.indexOf(`
|
|
|
`);return A.length&&fe.push(A),fe}function k(A){return A===ke.ArrayLiteral}function I(A){return R(A,[ke.Expression,ke.ForInitializer,ke.Conditional])}function oe(A,fe){for(var Be=0;Be<A.length;Be++){var ft=A[Be].trim();if(ft.charAt(0)!==fe)return!1}return!0}function ie(A,fe){for(var Be=0,ft=A.length,At;Be<ft;Be++)if(At=A[Be],At&&At.indexOf(fe)!==0)return!1;return!0}function Ee(A,fe){fe=fe||{},this._source_text=A||"",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 w(fe)}Ee.prototype.create_flags=function(A,fe){var Be=0;A&&(Be=A.indentation_level,!this._output.just_added_newline()&&A.line_indent_level>Be&&(Be=A.line_indent_level));var ft={mode:fe,parent:A,last_token:A?A.last_token:new b($.START_BLOCK,""),last_word:A?A.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:Be,alignment:0,line_indent_level:A?A.line_indent_level:Be,start_line_index:this._output.get_line_number(),ternary_depth:0};return ft},Ee.prototype._reset=function(A){var fe=A.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new P(this._options,fe),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(ke.BlockStatement);var Be=new z(A,this._options);return this._tokens=Be.tokenize(),A},Ee.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var A,fe=this._reset(this._source_text),Be=this._options.eol;this._options.eol==="auto"&&(Be=`
|
|
|
`,fe&&C.lineBreak.test(fe||"")&&(Be=fe.match(C.lineBreak)[0]));for(var ft=this._tokens.next();ft;)this.handle_token(ft),this._last_last_text=this._flags.last_token.text,this._flags.last_token=ft,ft=this._tokens.next();return A=this._output.get_code(Be),A},Ee.prototype.handle_token=function(A,fe){A.type===$.START_EXPR?this.handle_start_expr(A):A.type===$.END_EXPR?this.handle_end_expr(A):A.type===$.START_BLOCK?this.handle_start_block(A):A.type===$.END_BLOCK?this.handle_end_block(A):A.type===$.WORD?this.handle_word(A):A.type===$.RESERVED?this.handle_word(A):A.type===$.SEMICOLON?this.handle_semicolon(A):A.type===$.STRING?this.handle_string(A):A.type===$.EQUALS?this.handle_equals(A):A.type===$.OPERATOR?this.handle_operator(A):A.type===$.COMMA?this.handle_comma(A):A.type===$.BLOCK_COMMENT?this.handle_block_comment(A,fe):A.type===$.COMMENT?this.handle_comment(A,fe):A.type===$.DOT?this.handle_dot(A):A.type===$.EOF?this.handle_eof(A):A.type===$.UNKNOWN?this.handle_unknown(A,fe):this.handle_unknown(A,fe)},Ee.prototype.handle_whitespace_and_comments=function(A,fe){var Be=A.newlines,ft=this._options.keep_array_indentation&&k(this._flags.mode);if(A.comments_before)for(var At=A.comments_before.next();At;)this.handle_whitespace_and_comments(At,fe),this.handle_token(At,fe),At=A.comments_before.next();if(ft)for(var Ie=0;Ie<Be;Ie+=1)this.print_newline(Ie>0,fe);else if(this._options.max_preserve_newlines&&Be>this._options.max_preserve_newlines&&(Be=this._options.max_preserve_newlines),this._options.preserve_newlines&&Be>1){this.print_newline(!1,fe);for(var it=1;it<Be;it+=1)this.print_newline(!0,fe)}};var _=["async","break","continue","return","throw","yield"];Ee.prototype.allow_wrap_or_preserved_newline=function(A,fe){if(fe=fe===void 0?!1:fe,!this._output.just_added_newline()){var Be=this._options.preserve_newlines&&A.newlines||fe,ft=R(this._flags.last_token.text,Y)||R(A.text,Y);if(ft){var At=R(this._flags.last_token.text,Y)&&R(this._options.operator_position,Qe)||R(A.text,Y);Be=Be&&At}if(Be)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(ue(this._flags.last_token,_))return;this._output.set_wrap_point()}}},Ee.prototype.print_newline=function(A,fe){if(!fe&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==$.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var Be=this._tokens.peek();this._flags.mode===ke.Statement&&!(this._flags.if_block&&T(Be,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(A)&&(this._flags.multiline_frame=!0)},Ee.prototype.print_token_line_indentation=function(A){this._output.just_added_newline()&&(this._options.keep_array_indentation&&A.newlines&&(A.text==="["||k(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(A.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))},Ee.prototype.print_token=function(A){if(this._output.raw){this._output.add_raw_token(A);return}if(this._options.comma_first&&A.previous&&A.previous.type===$.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var fe=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(fe),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(A),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(A),this._output.non_breaking_space=!0,this._output.add_token(A.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},Ee.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},Ee.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))},Ee.prototype.set_mode=function(A){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,A),this._flags=this.create_flags(this._previous_flags,A),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},Ee.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===ke.Statement&&Ze(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},Ee.prototype.start_of_object_property=function(){return this._flags.parent.mode===ke.ObjectLiteral&&this._flags.mode===ke.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||ue(this._flags.last_token,["get","set"]))},Ee.prototype.start_of_statement=function(A){var fe=!1;return fe=fe||ue(this._flags.last_token,["var","let","const"])&&A.type===$.WORD,fe=fe||T(this._flags.last_token,"do"),fe=fe||!(this._flags.parent.mode===ke.ObjectLiteral&&this._flags.mode===ke.Statement)&&ue(this._flags.last_token,_)&&!A.newlines,fe=fe||T(this._flags.last_token,"else")&&!(T(A,"if")&&!A.comments_before),fe=fe||this._flags.last_token.type===$.END_EXPR&&(this._previous_flags.mode===ke.ForInitializer||this._previous_flags.mode===ke.Conditional),fe=fe||this._flags.last_token.type===$.WORD&&this._flags.mode===ke.BlockStatement&&!this._flags.in_case&&!(A.text==="--"||A.text==="++")&&this._last_last_text!=="function"&&A.type!==$.WORD&&A.type!==$.RESERVED,fe=fe||this._flags.mode===ke.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||ue(this._flags.last_token,["get","set"])),fe?(this.set_mode(ke.Statement),this.indent(),this.handle_whitespace_and_comments(A,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(A,ue(A,["do","for","if","while"])),!0):!1},Ee.prototype.handle_start_expr=function(A){this.start_of_statement(A)||this.handle_whitespace_and_comments(A);var fe=ke.Expression;if(A.text==="["){if(this._flags.last_token.type===$.WORD||this._flags.last_token.text===")"){ue(this._flags.last_token,W)&&(this._output.space_before_token=!0),this.print_token(A),this.set_mode(fe),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}fe=ke.ArrayLiteral,k(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()),R(this._flags.last_token.type,[$.START_EXPR,$.END_EXPR,$.WORD,$.OPERATOR,$.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===$.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,fe=ke.ForInitializer):R(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,fe=ke.Conditional):R(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&A.whitespace_before===""?this._output.space_before_token=!1:(R(this._flags.last_token.text,W)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===$.EQUALS||this._flags.last_token.type===$.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(A);else if(this._flags.last_token.type===$.WORD){this._output.space_before_token=!1;var Be=this._tokens.peek(-3);if(this._options.space_after_named_function&&Be){var ft=this._tokens.peek(-4);ue(Be,["async","function"])||Be.text==="*"&&ue(ft,["async","function"])?this._output.space_before_token=!0:this._flags.mode===ke.ObjectLiteral?(Be.text==="{"||Be.text===","||Be.text==="*"&&(ft.text==="{"||ft.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(A);(this._flags.last_token.type===$.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(R(this._last_last_text,["function","yield"])||this._flags.mode===ke.ObjectLiteral&&R(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===$.START_BLOCK?this.print_newline():(this._flags.last_token.type===$.END_EXPR||this._flags.last_token.type===$.START_EXPR||this._flags.last_token.type===$.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===$.COMMA)&&this.allow_wrap_or_preserved_newline(A,A.newlines),this.print_token(A),this.set_mode(fe),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},Ee.prototype.handle_end_expr=function(A){for(;this._flags.mode===ke.Statement;)this.restore_mode();this.handle_whitespace_and_comments(A),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(A,A.text==="]"&&k(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===$.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(A),this.restore_mode(),Ze(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===ke.Conditional&&(this._previous_flags.mode=ke.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},Ee.prototype.handle_start_block=function(A){this.handle_whitespace_and_comments(A);var fe=this._tokens.peek(),Be=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===$.END_EXPR?(this.set_mode(ke.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(ke.BlockStatement):Be&&(R(Be.text,[":",","])&&R(fe.type,[$.STRING,$.WORD,$.RESERVED])||R(fe.text,["get","set","..."])&&R(Be.type,[$.WORD,$.RESERVED]))?R(this._last_last_text,["class","interface"])&&!R(Be.text,[":",","])?this.set_mode(ke.BlockStatement):this.set_mode(ke.ObjectLiteral):this._flags.last_token.type===$.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(ke.BlockStatement):R(this._flags.last_token.type,[$.EQUALS,$.START_EXPR,$.COMMA,$.OPERATOR])||ue(this._flags.last_token,["return","throw","import","default"])?this.set_mode(ke.ObjectLiteral):this.set_mode(ke.BlockStatement),this._flags.last_token&&ue(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var ft=!fe.comments_before&&fe.text==="}",At=ft&&this._flags.last_word==="function"&&this._flags.last_token.type===$.END_EXPR;if(this._options.brace_preserve_inline){var Ie=0,it=null;this._flags.inline_frame=!0;do if(Ie+=1,it=this._tokens.peek(Ie-1),it.newlines){this._flags.inline_frame=!1;break}while(it.type!==$.EOF&&!(it.type===$.END_BLOCK&&it.opened===A))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&A.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==$.OPERATOR&&(At||this._flags.last_token.type===$.EQUALS||ue(this._flags.last_token,be)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(k(this._previous_flags.mode)&&(this._flags.last_token.type===$.START_EXPR||this._flags.last_token.type===$.COMMA)&&((this._flags.last_token.type===$.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===$.COMMA||this._flags.last_token.type===$.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(A),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==$.OPERATOR&&this._flags.last_token.type!==$.START_EXPR&&(R(this._flags.last_token.type,[$.START_BLOCK,$.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(A),this.indent(),!ft&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},Ee.prototype.handle_end_block=function(A){for(this.handle_whitespace_and_comments(A);this._flags.mode===ke.Statement;)this.restore_mode();var fe=this._flags.last_token.type===$.START_BLOCK;this._flags.inline_frame&&!fe?this._output.space_before_token=!0:this._options.brace_style==="expand"?fe||this.print_newline():fe||(k(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(A)},Ee.prototype.handle_word=function(A){if(A.type===$.RESERVED){if(R(A.text,["set","get"])&&this._flags.mode!==ke.ObjectLiteral)A.type=$.WORD;else if(A.text==="import"&&R(this._tokens.peek().text,["(","."]))A.type=$.WORD;else if(R(A.text,["as","from"])&&!this._flags.import_block)A.type=$.WORD;else if(this._flags.mode===ke.ObjectLiteral){var fe=this._tokens.peek();fe.text===":"&&(A.type=$.WORD)}}if(this.start_of_statement(A)?ue(this._flags.last_token,["var","let","const"])&&A.type===$.WORD&&(this._flags.declaration_statement=!0):A.newlines&&!I(this._flags.mode)&&(this._flags.last_token.type!==$.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==$.EQUALS&&(this._options.preserve_newlines||!ue(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(A),this.print_newline()):this.handle_whitespace_and_comments(A),this._flags.do_block&&!this._flags.do_while)if(T(A,"while")){this._output.space_before_token=!0,this.print_token(A),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&&T(A,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===ke.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&ue(A,["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(A),this._flags.in_case=!0;return}if((this._flags.last_token.type===$.COMMA||this._flags.last_token.type===$.START_EXPR||this._flags.last_token.type===$.EQUALS||this._flags.last_token.type===$.OPERATOR)&&!this.start_of_object_property()&&!(R(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===ke.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(A),T(A,"function")){(R(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(R(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===$.OPERATOR))&&!this._output.just_added_blankline()&&!A.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===$.RESERVED||this._flags.last_token.type===$.WORD?ue(this._flags.last_token,["get","set","new","export"])||ue(this._flags.last_token,_)?this._output.space_before_token=!0:T(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===$.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(I(this._flags.mode)||k(this._flags.mode))||this.print_newline(),this.print_token(A),this._flags.last_word=A.text;return}var Be="NONE";if(this._flags.last_token.type===$.END_BLOCK?this._previous_flags.inline_frame?Be="SPACE":ue(A,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&A.newlines?Be="NEWLINE":(Be="SPACE",this._output.space_before_token=!0):Be="NEWLINE":this._flags.last_token.type===$.SEMICOLON&&this._flags.mode===ke.BlockStatement?Be="NEWLINE":this._flags.last_token.type===$.SEMICOLON&&I(this._flags.mode)?Be="SPACE":this._flags.last_token.type===$.STRING?Be="NEWLINE":this._flags.last_token.type===$.RESERVED||this._flags.last_token.type===$.WORD||this._flags.last_token.text==="*"&&(R(this._last_last_text,["function","yield"])||this._flags.mode===ke.ObjectLiteral&&R(this._last_last_text,["{",","]))?Be="SPACE":this._flags.last_token.type===$.START_BLOCK?this._flags.inline_frame?Be="SPACE":Be="NEWLINE":this._flags.last_token.type===$.END_EXPR&&(this._output.space_before_token=!0,Be="NEWLINE"),ue(A,W)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?Be="SPACE":Be="NEWLINE"),ue(A,["else","catch","finally"]))if((!(this._flags.last_token.type===$.END_BLOCK&&this._previous_flags.mode===ke.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&A.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var ft=this._output.current_line;ft.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else Be==="NEWLINE"?ue(this._flags.last_token,be)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&ue(A,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==$.END_EXPR?(this._flags.last_token.type!==$.START_EXPR||!ue(A,["var","let","const"]))&&this._flags.last_token.text!==":"&&(T(A,"if")&&T(A.previous,"else")?this._output.space_before_token=!0:this.print_newline()):ue(A,W)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&k(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():Be==="SPACE"&&(this._output.space_before_token=!0);A.previous&&(A.previous.type===$.WORD||A.previous.type===$.RESERVED)&&(this._output.space_before_token=!0),this.print_token(A),this._flags.last_word=A.text,A.type===$.RESERVED&&(A.text==="do"?this._flags.do_block=!0:A.text==="if"?this._flags.if_block=!0:A.text==="import"?this._flags.import_block=!0:this._flags.import_block&&T(A,"from")&&(this._flags.import_block=!1))},Ee.prototype.handle_semicolon=function(A){this.start_of_statement(A)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(A);for(var fe=this._tokens.peek();this._flags.mode===ke.Statement&&!(this._flags.if_block&&T(fe,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(A)},Ee.prototype.handle_string=function(A){A.text.startsWith("`")&&A.newlines===0&&A.whitespace_before===""&&(A.previous.text===")"||this._flags.last_token.type===$.WORD)||(this.start_of_statement(A)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(A),this._flags.last_token.type===$.RESERVED||this._flags.last_token.type===$.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===$.COMMA||this._flags.last_token.type===$.START_EXPR||this._flags.last_token.type===$.EQUALS||this._flags.last_token.type===$.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(A):A.text.startsWith("`")&&this._flags.last_token.type===$.END_EXPR&&(A.previous.text==="]"||A.previous.text===")")&&A.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(A)},Ee.prototype.handle_equals=function(A){this.start_of_statement(A)||this.handle_whitespace_and_comments(A),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(A),this._output.space_before_token=!0},Ee.prototype.handle_comma=function(A){this.handle_whitespace_and_comments(A,!0),this.print_token(A),this._output.space_before_token=!0,this._flags.declaration_statement?(I(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(A)):this._flags.mode===ke.ObjectLiteral||this._flags.mode===ke.Statement&&this._flags.parent.mode===ke.ObjectLiteral?(this._flags.mode===ke.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(A)},Ee.prototype.handle_operator=function(A){var fe=A.text==="*"&&(ue(this._flags.last_token,["function","yield"])||R(this._flags.last_token.type,[$.START_BLOCK,$.COMMA,$.END_BLOCK,$.SEMICOLON])),Be=R(A.text,["-","+"])&&(R(this._flags.last_token.type,[$.START_BLOCK,$.START_EXPR,$.EQUALS,$.OPERATOR])||R(this._flags.last_token.text,W)||this._flags.last_token.text===",");if(!this.start_of_statement(A)){var ft=!fe;this.handle_whitespace_and_comments(A,ft)}if(A.text==="*"&&this._flags.last_token.type===$.DOT){this.print_token(A);return}if(A.text==="::"){this.print_token(A);return}if(R(A.text,["-","+"])&&this.start_of_object_property()){this.print_token(A);return}if(this._flags.last_token.type===$.OPERATOR&&R(this._options.operator_position,Qe)&&this.allow_wrap_or_preserved_newline(A),A.text===":"&&this._flags.in_case){this.print_token(A),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==$.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 At=!0,Ie=!0,it=!1;if(A.text===":"?this._flags.ternary_depth===0?At=!1:(this._flags.ternary_depth-=1,it=!0):A.text==="?"&&(this._flags.ternary_depth+=1),!Be&&!fe&&this._options.preserve_newlines&&R(A.text,Y)){var ht=A.text===":",Tt=ht&&it,ze=ht&&!it;switch(this._options.operator_position){case Ue.before_newline:this._output.space_before_token=!ze,this.print_token(A),(!ht||Tt)&&this.allow_wrap_or_preserved_newline(A),this._output.space_before_token=!0;return;case Ue.after_newline:this._output.space_before_token=!0,!ht||Tt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(A):this._output.space_before_token=!1,this.print_token(A),this._output.space_before_token=!0;return;case Ue.preserve_newline:ze||this.allow_wrap_or_preserved_newline(A),At=!(this._output.just_added_newline()||ze),this._output.space_before_token=At,this.print_token(A),this._output.space_before_token=!0;return}}if(fe){this.allow_wrap_or_preserved_newline(A),At=!1;var Jt=this._tokens.peek();Ie=Jt&&R(Jt.type,[$.WORD,$.RESERVED])}else if(A.text==="...")this.allow_wrap_or_preserved_newline(A),At=this._flags.last_token.type===$.START_BLOCK,Ie=!1;else if(R(A.text,["--","++","!","~"])||Be){if((this._flags.last_token.type===$.COMMA||this._flags.last_token.type===$.START_EXPR)&&this.allow_wrap_or_preserved_newline(A),At=!1,Ie=!1,A.newlines&&(A.text==="--"||A.text==="++"||A.text==="~")){var yt=ue(this._flags.last_token,be)&&A.newlines;yt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(yt,!0)}this._flags.last_token.text===";"&&I(this._flags.mode)&&(At=!0),this._flags.last_token.type===$.RESERVED?At=!0:this._flags.last_token.type===$.END_EXPR?At=!(this._flags.last_token.text==="]"&&(A.text==="--"||A.text==="++")):this._flags.last_token.type===$.OPERATOR&&(At=R(A.text,["--","-","++","+"])&&R(this._flags.last_token.text,["--","-","++","+"]),R(A.text,["+","-"])&&R(this._flags.last_token.text,["--","++"])&&(Ie=!0)),(this._flags.mode===ke.BlockStatement&&!this._flags.inline_frame||this._flags.mode===ke.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||At,this.print_token(A),this._output.space_before_token=Ie},Ee.prototype.handle_block_comment=function(A,fe){if(this._output.raw){this._output.add_raw_token(A),A.directives&&A.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(A.directives){this.print_newline(!1,fe),this.print_token(A),A.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!C.newline.test(A.text)&&!A.newlines){this._output.space_before_token=!0,this.print_token(A),this._output.space_before_token=!0;return}else this.print_block_commment(A,fe)},Ee.prototype.print_block_commment=function(A,fe){var Be=se(A.text),ft,At=!1,Ie=!1,it=A.whitespace_before,ht=it.length;if(this.print_newline(!1,fe),this.print_token_line_indentation(A),this._output.add_token(Be[0]),this.print_newline(!1,fe),Be.length>1){for(Be=Be.slice(1),At=oe(Be,"*"),Ie=ie(Be,it),At&&(this._flags.alignment=1),ft=0;ft<Be.length;ft++)At?(this.print_token_line_indentation(A),this._output.add_token(G(Be[ft]))):Ie&&Be[ft]?(this.print_token_line_indentation(A),this._output.add_token(Be[ft].substring(ht))):(this._output.current_line.set_indent(-1),this._output.add_token(Be[ft])),this.print_newline(!1,fe);this._flags.alignment=0}},Ee.prototype.handle_comment=function(A,fe){A.newlines?this.print_newline(!1,fe):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(A),this.print_newline(!1,fe)},Ee.prototype.handle_dot=function(A){this.start_of_statement(A)||this.handle_whitespace_and_comments(A,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),ue(this._flags.last_token,be)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(A,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(A)},Ee.prototype.handle_unknown=function(A,fe){this.print_token(A),A.text[A.text.length-1]===`
|
|
|
`&&this.print_newline(!1,fe)},Ee.prototype.handle_eof=function(A){for(;this._flags.mode===ke.Statement;)this.restore_mode();this.handle_whitespace_and_comments(A)},K.exports.Beautifier=Ee},function(K){function l(b){this.__parent=b,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=[]}l.prototype.clone_empty=function(){var b=new l(this.__parent);return b.set_indent(this.__indent_count,this.__alignment_count),b},l.prototype.item=function(b){return b<0?this.__items[this.__items.length+b]:this.__items[b]},l.prototype.has_match=function(b){for(var C=this.__items.length-1;C>=0;C--)if(this.__items[C].match(b))return!0;return!1},l.prototype.set_indent=function(b,C){this.is_empty()&&(this.__indent_count=b||0,this.__alignment_count=C||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},l.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)},l.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},l.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var b=this.__parent.current_line;return b.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),b.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),b.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,b.__items[0]===" "&&(b.__items.splice(0,1),b.__character_count-=1),!0}return!1},l.prototype.is_empty=function(){return this.__items.length===0},l.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},l.prototype.push=function(b){this.__items.push(b);var C=b.lastIndexOf(`
|
|
|
`);C!==-1?this.__character_count=b.length-C:this.__character_count+=b.length},l.prototype.pop=function(){var b=null;return this.is_empty()||(b=this.__items.pop(),this.__character_count-=b.length),b},l.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},l.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},l.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},l.prototype.toString=function(){var b="";return this.is_empty()?this.__parent.indent_empty_lines&&(b=this.__parent.get_indent_string(this.__indent_count)):(b=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),b+=this.__items.join("")),b};function y(b,C){this.__cache=[""],this.__indent_size=b.indent_size,this.__indent_string=b.indent_char,b.indent_with_tabs||(this.__indent_string=new Array(b.indent_size+1).join(b.indent_char)),C=C||"",b.indent_level>0&&(C=new Array(b.indent_level+1).join(this.__indent_string)),this.__base_string=C,this.__base_string_length=C.length}y.prototype.get_indent_size=function(b,C){var w=this.__base_string_length;return C=C||0,b<0&&(w=0),w+=b*this.__indent_size,w+=C,w},y.prototype.get_indent_string=function(b,C){var w=this.__base_string;return C=C||0,b<0&&(b=0,w=""),C+=b*this.__indent_size,this.__ensure_cache(C),w+=this.__cache[C],w},y.prototype.__ensure_cache=function(b){for(;b>=this.__cache.length;)this.__add_column()},y.prototype.__add_column=function(){var b=this.__cache.length,C=0,w="";this.__indent_size&&b>=this.__indent_size&&(C=Math.floor(b/this.__indent_size),b-=C*this.__indent_size,w=new Array(C+1).join(this.__indent_string)),b&&(w+=new Array(b+1).join(" ")),this.__cache.push(w)};function P(b,C){this.__indent_cache=new y(b,C),this.raw=!1,this._end_with_newline=b.end_with_newline,this.indent_size=b.indent_size,this.wrap_line_length=b.wrap_line_length,this.indent_empty_lines=b.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new l(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}P.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},P.prototype.get_line_number=function(){return this.__lines.length},P.prototype.get_indent_string=function(b,C){return this.__indent_cache.get_indent_string(b,C)},P.prototype.get_indent_size=function(b,C){return this.__indent_cache.get_indent_size(b,C)},P.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},P.prototype.add_new_line=function(b){return this.is_empty()||!b&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},P.prototype.get_code=function(b){this.trim(!0);var C=this.current_line.pop();C&&(C[C.length-1]===`
|
|
|
`&&(C=C.replace(/\n+$/g,"")),this.current_line.push(C)),this._end_with_newline&&this.__add_outputline();var w=this.__lines.join(`
|
|
|
`);return b!==`
|
|
|
`&&(w=w.replace(/[\n]/g,b)),w},P.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},P.prototype.set_indent=function(b,C){return b=b||0,C=C||0,this.next_line.set_indent(b,C),this.__lines.length>1?(this.current_line.set_indent(b,C),!0):(this.current_line.set_indent(),!1)},P.prototype.add_raw_token=function(b){for(var C=0;C<b.newlines;C++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(b.whitespace_before),this.current_line.push(b.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},P.prototype.add_token=function(b){this.__add_space_before_token(),this.current_line.push(b),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},P.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(" "))},P.prototype.remove_indent=function(b){for(var C=this.__lines.length;b<C;)this.__lines[b]._remove_indent(),b++;this.current_line._remove_wrap_indent()},P.prototype.trim=function(b){for(b=b===void 0?!1:b,this.current_line.trim();b&&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},P.prototype.just_added_newline=function(){return this.current_line.is_empty()},P.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},P.prototype.ensure_empty_line_above=function(b,C){for(var w=this.__lines.length-2;w>=0;){var z=this.__lines[w];if(z.is_empty())break;if(z.item(0).indexOf(b)!==0&&z.item(-1)!==C){this.__lines.splice(w+1,0,new l(this)),this.previous_line=this.__lines[this.__lines.length-2];break}w--}},K.exports.Output=P},function(K){function l(y,P,b,C){this.type=y,this.text=P,this.comments_before=null,this.newlines=b||0,this.whitespace_before=C||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}K.exports.Token=l},function(K,l){var y="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",P="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",b="\\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\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",C="\\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",w="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",z="(?:"+w+"|["+y+b+"])",W="(?:"+w+"|["+P+b+C+"])*";l.identifier=new RegExp(z+W,"g"),l.identifierStart=new RegExp(z),l.identifierMatch=new RegExp("(?:"+w+"|["+P+b+C+"])+");var Y=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;l.newline=/[\n\r\u2028\u2029]/,l.lineBreak=new RegExp(`\r
|
|
|
|`+l.newline.source),l.allLineBreaks=new RegExp(l.lineBreak.source,"g")},function(K,l,y){var P=y(6).Options,b=["before-newline","after-newline","preserve-newline"];function C(w){P.call(this,w,"js");var z=this.raw_options.brace_style||null;z==="expand-strict"?this.raw_options.brace_style="expand":z==="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 W=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var Y=0;Y<W.length;Y++)W[Y]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=W[Y];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",b),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}C.prototype=new P,K.exports.Options=C},function(K){function l(b,C){this.raw_options=y(b,C),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"])}l.prototype._get_array=function(b,C){var w=this.raw_options[b],z=C||[];return typeof w=="object"?w!==null&&typeof w.concat=="function"&&(z=w.concat()):typeof w=="string"&&(z=w.split(/[^a-zA-Z0-9_\/\-]+/)),z},l.prototype._get_boolean=function(b,C){var w=this.raw_options[b],z=w===void 0?!!C:!!w;return z},l.prototype._get_characters=function(b,C){var w=this.raw_options[b],z=C||"";return typeof w=="string"&&(z=w.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),z},l.prototype._get_number=function(b,C){var w=this.raw_options[b];C=parseInt(C,10),isNaN(C)&&(C=0);var z=parseInt(w,10);return isNaN(z)&&(z=C),z},l.prototype._get_selection=function(b,C,w){var z=this._get_selection_list(b,C,w);if(z.length!==1)throw new Error("Invalid Option Value: The option '"+b+`' can only be one of the following values:
|
|
|
`+C+`
|
|
|
You passed in: '`+this.raw_options[b]+"'");return z[0]},l.prototype._get_selection_list=function(b,C,w){if(!C||C.length===0)throw new Error("Selection list cannot be empty.");if(w=w||[C[0]],!this._is_valid_selection(w,C))throw new Error("Invalid Default Value!");var z=this._get_array(b,w);if(!this._is_valid_selection(z,C))throw new Error("Invalid Option Value: The option '"+b+`' can contain only the following values:
|
|
|
`+C+`
|
|
|
You passed in: '`+this.raw_options[b]+"'");return z},l.prototype._is_valid_selection=function(b,C){return b.length&&C.length&&!b.some(function(w){return C.indexOf(w)===-1})};function y(b,C){var w={};b=P(b);var z;for(z in b)z!==C&&(w[z]=b[z]);if(C&&b[C])for(z in b[C])w[z]=b[C][z];return w}function P(b){var C={},w;for(w in b){var z=w.replace(/-/g,"_");C[z]=b[w]}return C}K.exports.Options=l,K.exports.normalizeOpts=P,K.exports.mergeOpts=y},function(K,l,y){var P=y(8).InputScanner,b=y(9).Tokenizer,C=y(9).TOKEN,w=y(13).Directives,z=y(4),W=y(12).Pattern,Y=y(14).TemplatablePattern;function $(oe,ie){return ie.indexOf(oe)!==-1}var R={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:C.START,RAW:C.RAW,EOF:C.EOF},G=new w(/\/\*/,/\*\//),O=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,T=/[0-9]/,ue=/[^\d\.]/,be=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),he=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";he=he.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),he="\\?\\.(?!\\d) "+he,he=he.replace(/ /g,"|");var Ue=new RegExp(he),Qe="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),ke=Qe.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),Ze=new RegExp("^(?:"+ke.join("|")+")$"),se,k=function(oe,ie){b.call(this,oe,ie),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var Ee=new W(this._input),_=new Y(this._input).read_options(this._options);this.__patterns={template:_,identifier:_.starting_with(z.identifier).matching(z.identifierMatch),number:Ee.matching(O),punct:Ee.matching(Ue),comment:Ee.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:Ee.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:Ee.matching(/<!--/),html_comment_end:Ee.matching(/-->/),include:Ee.starting_with(/#include/).until_after(z.lineBreak),shebang:Ee.starting_with(/#!/).until_after(z.lineBreak),xml:Ee.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:_.until(/['\\\n\r\u2028\u2029]/),double_quote:_.until(/["\\\n\r\u2028\u2029]/),template_text:_.until(/[`\\$]/),template_expression:_.until(/[`}\\]/)}};k.prototype=new b,k.prototype._is_comment=function(oe){return oe.type===R.COMMENT||oe.type===R.BLOCK_COMMENT||oe.type===R.UNKNOWN},k.prototype._is_opening=function(oe){return oe.type===R.START_BLOCK||oe.type===R.START_EXPR},k.prototype._is_closing=function(oe,ie){return(oe.type===R.END_BLOCK||oe.type===R.END_EXPR)&&ie&&(oe.text==="]"&&ie.text==="["||oe.text===")"&&ie.text==="("||oe.text==="}"&&ie.text==="{")},k.prototype._reset=function(){se=!1},k.prototype._get_next_token=function(oe,ie){var Ee=null;this._readWhitespace();var _=this._input.peek();return _===null?this._create_token(R.EOF,""):(Ee=Ee||this._read_non_javascript(_),Ee=Ee||this._read_string(_),Ee=Ee||this._read_pair(_,this._input.peek(1)),Ee=Ee||this._read_word(oe),Ee=Ee||this._read_singles(_),Ee=Ee||this._read_comment(_),Ee=Ee||this._read_regexp(_,oe),Ee=Ee||this._read_xml(_,oe),Ee=Ee||this._read_punctuation(),Ee=Ee||this._create_token(R.UNKNOWN,this._input.next()),Ee)},k.prototype._read_word=function(oe){var ie;if(ie=this.__patterns.identifier.read(),ie!=="")return ie=ie.replace(z.allLineBreaks,`
|
|
|
`),!(oe.type===R.DOT||oe.type===R.RESERVED&&(oe.text==="set"||oe.text==="get"))&&Ze.test(ie)?(ie==="in"||ie==="of")&&(oe.type===R.WORD||oe.type===R.STRING)?this._create_token(R.OPERATOR,ie):this._create_token(R.RESERVED,ie):this._create_token(R.WORD,ie);if(ie=this.__patterns.number.read(),ie!=="")return this._create_token(R.WORD,ie)},k.prototype._read_singles=function(oe){var ie=null;return oe==="("||oe==="["?ie=this._create_token(R.START_EXPR,oe):oe===")"||oe==="]"?ie=this._create_token(R.END_EXPR,oe):oe==="{"?ie=this._create_token(R.START_BLOCK,oe):oe==="}"?ie=this._create_token(R.END_BLOCK,oe):oe===";"?ie=this._create_token(R.SEMICOLON,oe):oe==="."&&ue.test(this._input.peek(1))?ie=this._create_token(R.DOT,oe):oe===","&&(ie=this._create_token(R.COMMA,oe)),ie&&this._input.next(),ie},k.prototype._read_pair=function(oe,ie){var Ee=null;return oe==="#"&&ie==="{"&&(Ee=this._create_token(R.START_BLOCK,oe+ie)),Ee&&(this._input.next(),this._input.next()),Ee},k.prototype._read_punctuation=function(){var oe=this.__patterns.punct.read();if(oe!=="")return oe==="="?this._create_token(R.EQUALS,oe):oe==="?."?this._create_token(R.DOT,oe):this._create_token(R.OPERATOR,oe)},k.prototype._read_non_javascript=function(oe){var ie="";if(oe==="#"){if(this._is_first_token()&&(ie=this.__patterns.shebang.read(),ie))return this._create_token(R.UNKNOWN,ie.trim()+`
|
|
|
`);if(ie=this.__patterns.include.read(),ie)return this._create_token(R.UNKNOWN,ie.trim()+`
|
|
|
`);oe=this._input.next();var Ee="#";if(this._input.hasNext()&&this._input.testChar(T)){do oe=this._input.next(),Ee+=oe;while(this._input.hasNext()&&oe!=="#"&&oe!=="=");return oe==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(Ee+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(Ee+="{}",this._input.next(),this._input.next())),this._create_token(R.WORD,Ee)}this._input.back()}else if(oe==="<"&&this._is_first_token()){if(ie=this.__patterns.html_comment_start.read(),ie){for(;this._input.hasNext()&&!this._input.testChar(z.newline);)ie+=this._input.next();return se=!0,this._create_token(R.COMMENT,ie)}}else if(se&&oe==="-"&&(ie=this.__patterns.html_comment_end.read(),ie))return se=!1,this._create_token(R.COMMENT,ie);return null},k.prototype._read_comment=function(oe){var ie=null;if(oe==="/"){var Ee="";if(this._input.peek(1)==="*"){Ee=this.__patterns.block_comment.read();var _=G.get_directives(Ee);_&&_.ignore==="start"&&(Ee+=G.readIgnored(this._input)),Ee=Ee.replace(z.allLineBreaks,`
|
|
|
`),ie=this._create_token(R.BLOCK_COMMENT,Ee),ie.directives=_}else this._input.peek(1)==="/"&&(Ee=this.__patterns.comment.read(),ie=this._create_token(R.COMMENT,Ee))}return ie},k.prototype._read_string=function(oe){if(oe==="`"||oe==="'"||oe==='"'){var ie=this._input.next();return this.has_char_escapes=!1,oe==="`"?ie+=this._read_string_recursive("`",!0,"${"):ie+=this._read_string_recursive(oe),this.has_char_escapes&&this._options.unescape_strings&&(ie=I(ie)),this._input.peek()===oe&&(ie+=this._input.next()),ie=ie.replace(z.allLineBreaks,`
|
|
|
`),this._create_token(R.STRING,ie)}return null},k.prototype._allow_regexp_or_xml=function(oe){return oe.type===R.RESERVED&&$(oe.text,["return","case","throw","else","do","typeof","yield"])||oe.type===R.END_EXPR&&oe.text===")"&&oe.opened.previous.type===R.RESERVED&&$(oe.opened.previous.text,["if","while","for"])||$(oe.type,[R.COMMENT,R.START_EXPR,R.START_BLOCK,R.START,R.END_BLOCK,R.OPERATOR,R.EQUALS,R.EOF,R.SEMICOLON,R.COMMA])},k.prototype._read_regexp=function(oe,ie){if(oe==="/"&&this._allow_regexp_or_xml(ie)){for(var Ee=this._input.next(),_=!1,A=!1;this._input.hasNext()&&(_||A||this._input.peek()!==oe)&&!this._input.testChar(z.newline);)Ee+=this._input.peek(),_?_=!1:(_=this._input.peek()==="\\",this._input.peek()==="["?A=!0:this._input.peek()==="]"&&(A=!1)),this._input.next();return this._input.peek()===oe&&(Ee+=this._input.next(),Ee+=this._input.read(z.identifier)),this._create_token(R.STRING,Ee)}return null},k.prototype._read_xml=function(oe,ie){if(this._options.e4x&&oe==="<"&&this._allow_regexp_or_xml(ie)){var Ee="",_=this.__patterns.xml.read_match();if(_){for(var A=_[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),fe=A.indexOf("{")===0,Be=0;_;){var ft=!!_[1],At=_[2],Ie=!!_[_.length-1]||At.slice(0,8)==="![CDATA[";if(!Ie&&(At===A||fe&&At.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(ft?--Be:++Be),Ee+=_[0],Be<=0)break;_=this.__patterns.xml.read_match()}return _||(Ee+=this._input.match(/[\s\S]*/g)[0]),Ee=Ee.replace(z.allLineBreaks,`
|
|
|
`),this._create_token(R.STRING,Ee)}}return null};function I(oe){for(var ie="",Ee=0,_=new P(oe),A=null;_.hasNext();)if(A=_.match(/([\s]|[^\\]|\\\\)+/g),A&&(ie+=A[0]),_.peek()==="\\"){if(_.next(),_.peek()==="x")A=_.match(/x([0-9A-Fa-f]{2})/g);else if(_.peek()==="u")A=_.match(/u([0-9A-Fa-f]{4})/g),A||(A=_.match(/u\{([0-9A-Fa-f]+)\}/g));else{ie+="\\",_.hasNext()&&(ie+=_.next());continue}if(!A||(Ee=parseInt(A[1],16),Ee>126&&Ee<=255&&A[0].indexOf("x")===0))return oe;Ee>=0&&Ee<32||Ee>1114111?ie+="\\"+A[0]:Ee===34||Ee===39||Ee===92?ie+="\\"+String.fromCharCode(Ee):ie+=String.fromCharCode(Ee)}return ie}k.prototype._read_string_recursive=function(oe,ie,Ee){var _,A;oe==="'"?A=this.__patterns.single_quote:oe==='"'?A=this.__patterns.double_quote:oe==="`"?A=this.__patterns.template_text:oe==="}"&&(A=this.__patterns.template_expression);for(var fe=A.read(),Be="";this._input.hasNext();){if(Be=this._input.next(),Be===oe||!ie&&z.newline.test(Be)){this._input.back();break}else Be==="\\"&&this._input.hasNext()?(_=this._input.peek(),_==="x"||_==="u"?this.has_char_escapes=!0:_==="\r"&&this._input.peek(1)===`
|
|
|
`&&this._input.next(),Be+=this._input.next()):Ee&&(Ee==="${"&&Be==="$"&&this._input.peek()==="{"&&(Be+=this._input.next()),Ee===Be&&(oe==="`"?Be+=this._read_string_recursive("}",ie,"`"):Be+=this._read_string_recursive("`",ie,"${"),this._input.hasNext()&&(Be+=this._input.next())));Be+=A.read(),fe+=Be}return fe},K.exports.Tokenizer=k,K.exports.TOKEN=R,K.exports.positionable_operators=be.slice(),K.exports.line_starters=Qe.slice()},function(K){var l=RegExp.prototype.hasOwnProperty("sticky");function y(P){this.__input=P||"",this.__input_length=this.__input.length,this.__position=0}y.prototype.restart=function(){this.__position=0},y.prototype.back=function(){this.__position>0&&(this.__position-=1)},y.prototype.hasNext=function(){return this.__position<this.__input_length},y.prototype.next=function(){var P=null;return this.hasNext()&&(P=this.__input.charAt(this.__position),this.__position+=1),P},y.prototype.peek=function(P){var b=null;return P=P||0,P+=this.__position,P>=0&&P<this.__input_length&&(b=this.__input.charAt(P)),b},y.prototype.__match=function(P,b){P.lastIndex=b;var C=P.exec(this.__input);return C&&!(l&&P.sticky)&&C.index!==b&&(C=null),C},y.prototype.test=function(P,b){return b=b||0,b+=this.__position,b>=0&&b<this.__input_length?!!this.__match(P,b):!1},y.prototype.testChar=function(P,b){var C=this.peek(b);return P.lastIndex=0,C!==null&&P.test(C)},y.prototype.match=function(P){var b=this.__match(P,this.__position);return b?this.__position+=b[0].length:b=null,b},y.prototype.read=function(P,b,C){var w="",z;return P&&(z=this.match(P),z&&(w+=z[0])),b&&(z||!P)&&(w+=this.readUntil(b,C)),w},y.prototype.readUntil=function(P,b){var C="",w=this.__position;P.lastIndex=this.__position;var z=P.exec(this.__input);return z?(w=z.index,b&&(w+=z[0].length)):w=this.__input_length,C=this.__input.substring(this.__position,w),this.__position=w,C},y.prototype.readUntilAfter=function(P){return this.readUntil(P,!0)},y.prototype.get_regexp=function(P,b){var C=null,w="g";return b&&l&&(w="y"),typeof P=="string"&&P!==""?C=new RegExp(P,w):P&&(C=new RegExp(P.source,w)),C},y.prototype.get_literal_regexp=function(P){return RegExp(P.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},y.prototype.peekUntilAfter=function(P){var b=this.__position,C=this.readUntilAfter(P);return this.__position=b,C},y.prototype.lookBack=function(P){var b=this.__position-1;return b>=P.length&&this.__input.substring(b-P.length,b).toLowerCase()===P},K.exports.InputScanner=y},function(K,l,y){var P=y(8).InputScanner,b=y(3).Token,C=y(10).TokenStream,w=y(11).WhitespacePattern,z={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},W=function(Y,$){this._input=new P(Y),this._options=$||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new w(this._input)};W.prototype.tokenize=function(){this._input.restart(),this.__tokens=new C,this._reset();for(var Y,$=new b(z.START,""),R=null,G=[],O=new C;$.type!==z.EOF;){for(Y=this._get_next_token($,R);this._is_comment(Y);)O.add(Y),Y=this._get_next_token($,R);O.isEmpty()||(Y.comments_before=O,O=new C),Y.parent=R,this._is_opening(Y)?(G.push(R),R=Y):R&&this._is_closing(Y,R)&&(Y.opened=R,R.closed=Y,R=G.pop(),Y.parent=R),Y.previous=$,$.next=Y,this.__tokens.add(Y),$=Y}return this.__tokens},W.prototype._is_first_token=function(){return this.__tokens.isEmpty()},W.prototype._reset=function(){},W.prototype._get_next_token=function(Y,$){this._readWhitespace();var R=this._input.read(/.+/g);return R?this._create_token(z.RAW,R):this._create_token(z.EOF,"")},W.prototype._is_comment=function(Y){return!1},W.prototype._is_opening=function(Y){return!1},W.prototype._is_closing=function(Y,$){return!1},W.prototype._create_token=function(Y,$){var R=new b(Y,$,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return R},W.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},K.exports.Tokenizer=W,K.exports.TOKEN=z},function(K){function l(y){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=y}l.prototype.restart=function(){this.__position=0},l.prototype.isEmpty=function(){return this.__tokens_length===0},l.prototype.hasNext=function(){return this.__position<this.__tokens_length},l.prototype.next=function(){var y=null;return this.hasNext()&&(y=this.__tokens[this.__position],this.__position+=1),y},l.prototype.peek=function(y){var P=null;return y=y||0,y+=this.__position,y>=0&&y<this.__tokens_length&&(P=this.__tokens[y]),P},l.prototype.add=function(y){this.__parent_token&&(y.parent=this.__parent_token),this.__tokens.push(y),this.__tokens_length+=1},K.exports.TokenStream=l},function(K,l,y){var P=y(12).Pattern;function b(C,w){P.call(this,C,w),w?this._line_regexp=this._input.get_regexp(w._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}b.prototype=new P,b.prototype.__set_whitespace_patterns=function(C,w){C+="\\t ",w+="\\n\\r",this._match_pattern=this._input.get_regexp("["+C+w+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+w+"]")},b.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var C=this._input.read(this._match_pattern);if(C===" ")this.whitespace_before_token=" ";else if(C){var w=this.__split(this._newline_regexp,C);this.newline_count=w.length-1,this.whitespace_before_token=w[this.newline_count]}return C},b.prototype.matching=function(C,w){var z=this._create();return z.__set_whitespace_patterns(C,w),z._update(),z},b.prototype._create=function(){return new b(this._input,this)},b.prototype.__split=function(C,w){C.lastIndex=0;for(var z=0,W=[],Y=C.exec(w);Y;)W.push(w.substring(z,Y.index)),z=Y.index+Y[0].length,Y=C.exec(w);return z<w.length?W.push(w.substring(z,w.length)):W.push(""),W},K.exports.WhitespacePattern=b},function(K){function l(y,P){this._input=y,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,P&&(this._starting_pattern=this._input.get_regexp(P._starting_pattern,!0),this._match_pattern=this._input.get_regexp(P._match_pattern,!0),this._until_pattern=this._input.get_regexp(P._until_pattern),this._until_after=P._until_after)}l.prototype.read=function(){var y=this._input.read(this._starting_pattern);return(!this._starting_pattern||y)&&(y+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),y},l.prototype.read_match=function(){return this._input.match(this._match_pattern)},l.prototype.until_after=function(y){var P=this._create();return P._until_after=!0,P._until_pattern=this._input.get_regexp(y),P._update(),P},l.prototype.until=function(y){var P=this._create();return P._until_after=!1,P._until_pattern=this._input.get_regexp(y),P._update(),P},l.prototype.starting_with=function(y){var P=this._create();return P._starting_pattern=this._input.get_regexp(y,!0),P._update(),P},l.prototype.matching=function(y){var P=this._create();return P._match_pattern=this._input.get_regexp(y,!0),P._update(),P},l.prototype._create=function(){return new l(this._input,this)},l.prototype._update=function(){},K.exports.Pattern=l},function(K){function l(y,P){y=typeof y=="string"?y:y.source,P=typeof P=="string"?P:P.source,this.__directives_block_pattern=new RegExp(y+/ beautify( \w+[:]\w+)+ /.source+P,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(y+/\sbeautify\signore:end\s/.source+P,"g")}l.prototype.get_directives=function(y){if(!y.match(this.__directives_block_pattern))return null;var P={};this.__directive_pattern.lastIndex=0;for(var b=this.__directive_pattern.exec(y);b;)P[b[1]]=b[2],b=this.__directive_pattern.exec(y);return P},l.prototype.readIgnored=function(y){return y.readUntilAfter(this.__directives_end_ignore_pattern)},K.exports.Directives=l},function(K,l,y){var P=y(12).Pattern,b={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function C(w,z){P.call(this,w,z),this.__template_pattern=null,this._disabled=Object.assign({},b),this._excluded=Object.assign({},b),z&&(this.__template_pattern=this._input.get_regexp(z.__template_pattern),this._excluded=Object.assign(this._excluded,z._excluded),this._disabled=Object.assign(this._disabled,z._disabled));var W=new P(w);this.__patterns={handlebars_comment:W.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:W.starting_with(/{{{/).until_after(/}}}/),handlebars:W.starting_with(/{{/).until_after(/}}/),php:W.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:W.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:W.starting_with(/{%/).until_after(/%}/),django_value:W.starting_with(/{{/).until_after(/}}/),django_comment:W.starting_with(/{#/).until_after(/#}/),smarty:W.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:W.starting_with(/{\*/).until_after(/\*}/),smarty_literal:W.starting_with(/{literal}/).until_after(/{\/literal}/)}}C.prototype=new P,C.prototype._create=function(){return new C(this._input,this)},C.prototype._update=function(){this.__set_templated_pattern()},C.prototype.disable=function(w){var z=this._create();return z._disabled[w]=!0,z._update(),z},C.prototype.read_options=function(w){var z=this._create();for(var W in b)z._disabled[W]=w.templating.indexOf(W)===-1;return z._update(),z},C.prototype.exclude=function(w){var z=this._create();return z._excluded[w]=!0,z._update(),z},C.prototype.read=function(){var w="";this._match_pattern?w=this._input.read(this._starting_pattern):w=this._input.read(this._starting_pattern,this.__template_pattern);for(var z=this._read_template();z;)this._match_pattern?z+=this._input.read(this._match_pattern):z+=this._input.readUntil(this.__template_pattern),w+=z,z=this._read_template();return this._until_after&&(w+=this._input.readUntilAfter(this._until_pattern)),w},C.prototype.__set_templated_pattern=function(){var w=[];this._disabled.php||w.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||w.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||w.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||w.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(w.push(this.__patterns.django._starting_pattern.source),w.push(this.__patterns.django_value._starting_pattern.source),w.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||w.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&w.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+w.join("|")+")")},C.prototype._read_template=function(){var w="",z=this._input.peek();if(z==="<"){var W=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&W==="?"&&(w=w||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&W==="%"&&(w=w||this.__patterns.erb.read())}else z==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(w=w||this.__patterns.handlebars_comment.read(),w=w||this.__patterns.handlebars_unescaped.read(),w=w||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(w=w||this.__patterns.django_value.read()),this._excluded.django||(w=w||this.__patterns.django_comment.read(),w=w||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(w=w||this.__patterns.smarty_comment.read(),w=w||this.__patterns.smarty_literal.read(),w=w||this.__patterns.smarty.read()));return w},K.exports.TemplatablePattern=C}],j={};function g(K){var l=j[K];if(l!==void 0)return l.exports;var y=j[K]={exports:{}};return ce[K](y,y.exports,g),y.exports}var V=g(0);U=V})();var L=U;u=[],i=function(){return{js_beautify:L}}.apply(Lt,u),i!==void 0&&(Pn.exports=i)})()},7861:function(Pn,Lt,u){var i=u(38710),U=function(j){var g=/[height|width]$/;return g.test(j)},L=function(j){var g="",V=Object.keys(j);return V.forEach(function(K,l){var y=j[K];K=i(K),U(K)&&typeof y=="number"&&(y=y+"px"),y===!0?g+=K:y===!1?g+="not "+K:g+="("+K+": "+y+")",l<V.length-1&&(g+=" and ")}),g},ce=function(j){var g="";return typeof j=="string"?j:j instanceof Array?(j.forEach(function(V,K){g+=L(V),K<j.length-1&&(g+=", ")}),g):L(j)};Pn.exports=ce},15342:function(Pn){(function(u,i){Pn.exports=i()})(typeof self!="undefined"?self:this,function(){return function(Lt){var u={};function i(U){if(u[U])return u[U].exports;var L=u[U]={i:U,l:!1,exports:{}};return Lt[U].call(L.exports,L,L.exports,i),L.l=!0,L.exports}return i.m=Lt,i.c=u,i.d=function(U,L,ce){i.o(U,L)||Object.defineProperty(U,L,{enumerable:!0,get:ce})},i.r=function(U){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(U,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(U,"__esModule",{value:!0})},i.t=function(U,L){if(L&1&&(U=i(U)),L&8||L&4&&typeof U=="object"&&U&&U.__esModule)return U;var ce=Object.create(null);if(i.r(ce),Object.defineProperty(ce,"default",{enumerable:!0,value:U}),L&2&&typeof U!="string")for(var j in U)i.d(ce,j,function(g){return U[g]}.bind(null,j));return ce},i.n=function(U){var L=U&&U.__esModule?function(){return U.default}:function(){return U};return i.d(L,"a",L),L},i.o=function(U,L){return Object.prototype.hasOwnProperty.call(U,L)},i.p="",i(i.s=1)}([function(Lt,u,i){},function(Lt,u,i){"use strict";i.r(u);var U=i(0),L=function(){function Z(c,f,h){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=c,this.start=f,this.end=h}return Z.range=function(f,h){return h?!f||!f.loc||!h.loc||f.loc.lexer!==h.loc.lexer?null:new Z(f.loc.lexer,f.loc.start,h.loc.end):f&&f.loc},Z}(),ce=function(){function Z(f,h){this.text=void 0,this.loc=void 0,this.text=f,this.loc=h}var c=Z.prototype;return c.range=function(h,x){return new Z(x,L.range(this,h))},Z}(),j=function Z(c,f){this.position=void 0;var h="KaTeX parse error: "+c,x,B=f&&f.loc;if(B&&B.start<=B.end){var Q=B.lexer.input;x=B.start;var Me=B.end;x===Q.length?h+=" at end of input: ":h+=" at position "+(x+1)+": ";var qe=Q.slice(x,Me).replace(/[^]/g,"$&\u0332"),Et;x>15?Et="\u2026"+Q.slice(x-15,x):Et=Q.slice(0,x);var Yt;Me+15<Q.length?Yt=Q.slice(Me,Me+15)+"\u2026":Yt=Q.slice(Me),h+=Et+qe+Yt}var hn=new Error(h);return hn.name="ParseError",hn.__proto__=Z.prototype,hn.position=x,hn};j.prototype.__proto__=Error.prototype;var g=j,V=function(c,f){return c.indexOf(f)!==-1},K=function(c,f){return c===void 0?f:c},l=/([A-Z])/g,y=function(c){return c.replace(l,"-$1").toLowerCase()},P={"&":"&",">":">","<":"<",'"':""","'":"'"},b=/[&><"']/g;function C(Z){return String(Z).replace(b,function(c){return P[c]})}var w=function Z(c){return c.type==="ordgroup"||c.type==="color"?c.body.length===1?Z(c.body[0]):c:c.type==="font"?Z(c.body):c},z=function(c){var f=w(c);return f.type==="mathord"||f.type==="textord"||f.type==="atom"},W=function(c){if(!c)throw new Error("Expected non-null, but got "+String(c));return c},Y=function(c){var f=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(c);return f!=null?f[1]:"_relative"},$={contains:V,deflt:K,escape:C,hyphenate:y,getBaseElem:w,isCharacterBox:z,protocolFromUrl:Y},R=function(){function Z(f){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,f=f||{},this.displayMode=$.deflt(f.displayMode,!1),this.output=$.deflt(f.output,"htmlAndMathml"),this.leqno=$.deflt(f.leqno,!1),this.fleqn=$.deflt(f.fleqn,!1),this.throwOnError=$.deflt(f.throwOnError,!0),this.errorColor=$.deflt(f.errorColor,"#cc0000"),this.macros=f.macros||{},this.minRuleThickness=Math.max(0,$.deflt(f.minRuleThickness,0)),this.colorIsTextColor=$.deflt(f.colorIsTextColor,!1),this.strict=$.deflt(f.strict,"warn"),this.trust=$.deflt(f.trust,!1),this.maxSize=Math.max(0,$.deflt(f.maxSize,1/0)),this.maxExpand=Math.max(0,$.deflt(f.maxExpand,1e3))}var c=Z.prototype;return c.reportNonstrict=function(h,x,B){var Q=this.strict;if(typeof Q=="function"&&(Q=Q(h,x,B)),!(!Q||Q==="ignore")){if(Q===!0||Q==="error")throw new g("LaTeX-incompatible input and strict mode is set to 'error': "+(x+" ["+h+"]"),B);Q==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(x+" ["+h+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Q+"': "+x+" ["+h+"]"))}},c.useStrictBehavior=function(h,x,B){var Q=this.strict;if(typeof Q=="function")try{Q=Q(h,x,B)}catch(Me){Q="error"}return!Q||Q==="ignore"?!1:Q===!0||Q==="error"?!0:Q==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(x+" ["+h+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Q+"': "+x+" ["+h+"]")),!1)},c.isTrusted=function(h){h.url&&!h.protocol&&(h.protocol=$.protocolFromUrl(h.url));var x=typeof this.trust=="function"?this.trust(h):this.trust;return!!x},Z}(),G=function(){function Z(f,h,x){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=f,this.size=h,this.cramped=x}var c=Z.prototype;return c.sup=function(){return Ze[se[this.id]]},c.sub=function(){return Ze[k[this.id]]},c.fracNum=function(){return Ze[I[this.id]]},c.fracDen=function(){return Ze[oe[this.id]]},c.cramp=function(){return Ze[ie[this.id]]},c.text=function(){return Ze[Ee[this.id]]},c.isTight=function(){return this.size>=2},Z}(),O=0,T=1,ue=2,be=3,he=4,Ue=5,Qe=6,ke=7,Ze=[new G(O,0,!1),new G(T,0,!0),new G(ue,1,!1),new G(be,1,!0),new G(he,2,!1),new G(Ue,2,!0),new G(Qe,3,!1),new G(ke,3,!0)],se=[he,Ue,he,Ue,Qe,ke,Qe,ke],k=[Ue,Ue,Ue,Ue,ke,ke,ke,ke],I=[ue,be,he,Ue,Qe,ke,Qe,ke],oe=[be,be,Ue,Ue,ke,ke,ke,ke],ie=[T,T,be,be,Ue,Ue,ke,ke],Ee=[O,T,ue,be,ue,be,ue,be],_={DISPLAY:Ze[O],TEXT:Ze[ue],SCRIPT:Ze[he],SCRIPTSCRIPT:Ze[Qe]},A=[{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 fe(Z){for(var c=0;c<A.length;c++)for(var f=A[c],h=0;h<f.blocks.length;h++){var x=f.blocks[h];if(Z>=x[0]&&Z<=x[1])return f.name}return null}var Be=[];A.forEach(function(Z){return Z.blocks.forEach(function(c){return Be.push.apply(Be,c)})});function ft(Z){for(var c=0;c<Be.length;c+=2)if(Z>=Be[c]&&Z<=Be[c+1])return!0;return!1}var At=80,Ie=function(c,f){return"M95,"+(622+c+f)+`
|
|
|
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`+c/2.075+" -"+c+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+c)+`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+c)+" "+f+"h400000v"+(40+c)+"h-400000z"},it=function(c,f){return"M263,"+(601+c+f)+`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`+c/2.084+" -"+c+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+c)+`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+c)+" "+f+"h400000v"+(40+c)+"h-400000z"},ht=function(c,f){return"M983 "+(10+c+f)+`
|
|
|
l`+c/3.13+" -"+c+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+c)+`
|
|
|
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+c)+" "+f+"h400000v"+(40+c)+"h-400000z"},Tt=function(c,f){return"M424,"+(2398+c+f)+`
|
|
|
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`+c/4.223+" -"+c+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+c)+`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+c)+" "+f+`
|
|
|
h400000v`+(40+c)+"h-400000z"},ze=function(c,f){return"M473,"+(2713+c+f)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+c/5.298+" -"+c+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+c)+`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+c)+" "+f+"h400000v"+(40+c)+"H1017.7z"},Jt=function(c,f,h){var x=h-54-f-c;return"M702 "+(c+f)+"H400000"+(40+c)+`
|
|
|
H742v`+x+`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 `+f+"H400000v"+(40+c)+"H742z"},yt=function(c,f,h){f=1e3*f;var x="";switch(c){case"sqrtMain":x=Ie(f,At);break;case"sqrtSize1":x=it(f,At);break;case"sqrtSize2":x=ht(f,At);break;case"sqrtSize3":x=Tt(f,At);break;case"sqrtSize4":x=ze(f,At);break;case"sqrtTall":x=Jt(f,At,h)}return x},cn={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`},Je=function(){function Z(f){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=f,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var c=Z.prototype;return c.hasClass=function(h){return $.contains(this.classes,h)},c.toNode=function(){for(var h=document.createDocumentFragment(),x=0;x<this.children.length;x++)h.appendChild(this.children[x].toNode());return h},c.toMarkup=function(){for(var h="",x=0;x<this.children.length;x++)h+=this.children[x].toMarkup();return h},c.toText=function(){var h=function(B){return B.toText()};return this.children.map(h).join("")},Z}(),bt=function(c){return c.filter(function(f){return f}).join(" ")},Ge=function(c,f,h){if(this.classes=c||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=h||{},f){f.style.isTight()&&this.classes.push("mtight");var x=f.getColor();x&&(this.style.color=x)}},Ne=function(c){var f=document.createElement(c);f.className=bt(this.classes);for(var h in this.style)this.style.hasOwnProperty(h)&&(f.style[h]=this.style[h]);for(var x in this.attributes)this.attributes.hasOwnProperty(x)&&f.setAttribute(x,this.attributes[x]);for(var B=0;B<this.children.length;B++)f.appendChild(this.children[B].toNode());return f},ne=function(c){var f="<"+c;this.classes.length&&(f+=' class="'+$.escape(bt(this.classes))+'"');var h="";for(var x in this.style)this.style.hasOwnProperty(x)&&(h+=$.hyphenate(x)+":"+this.style[x]+";");h&&(f+=' style="'+$.escape(h)+'"');for(var B in this.attributes)this.attributes.hasOwnProperty(B)&&(f+=" "+B+'="'+$.escape(this.attributes[B])+'"');f+=">";for(var Q=0;Q<this.children.length;Q++)f+=this.children[Q].toMarkup();return f+="</"+c+">",f},lt=function(){function Z(f,h,x,B){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,Ge.call(this,f,x,B),this.children=h||[]}var c=Z.prototype;return c.setAttribute=function(h,x){this.attributes[h]=x},c.hasClass=function(h){return $.contains(this.classes,h)},c.toNode=function(){return Ne.call(this,"span")},c.toMarkup=function(){return ne.call(this,"span")},Z}(),Ke=function(){function Z(f,h,x,B){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,Ge.call(this,h,B),this.children=x||[],this.setAttribute("href",f)}var c=Z.prototype;return c.setAttribute=function(h,x){this.attributes[h]=x},c.hasClass=function(h){return $.contains(this.classes,h)},c.toNode=function(){return Ne.call(this,"a")},c.toMarkup=function(){return ne.call(this,"a")},Z}(),H=function(){function Z(f,h,x){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=f,this.classes=["mord"],this.style=x}var c=Z.prototype;return c.hasClass=function(h){return $.contains(this.classes,h)},c.toNode=function(){var h=document.createElement("img");h.src=this.src,h.alt=this.alt,h.className="mord";for(var x in this.style)this.style.hasOwnProperty(x)&&(h.style[x]=this.style[x]);return h},c.toMarkup=function(){var h="<img src='"+this.src+" 'alt='"+this.alt+"' ",x="";for(var B in this.style)this.style.hasOwnProperty(B)&&(x+=$.hyphenate(B)+":"+this.style[B]+";");return x&&(h+=' style="'+$.escape(x)+'"'),h+="'/>",h},Z}(),M={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},_e=function(){function Z(f,h,x,B,Q,Me,qe,Et){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=f,this.height=h||0,this.depth=x||0,this.italic=B||0,this.skew=Q||0,this.width=Me||0,this.classes=qe||[],this.style=Et||{},this.maxFontSize=0;var Yt=fe(this.text.charCodeAt(0));Yt&&this.classes.push(Yt+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=M[this.text])}var c=Z.prototype;return c.hasClass=function(h){return $.contains(this.classes,h)},c.toNode=function(){var h=document.createTextNode(this.text),x=null;this.italic>0&&(x=document.createElement("span"),x.style.marginRight=this.italic+"em"),this.classes.length>0&&(x=x||document.createElement("span"),x.className=bt(this.classes));for(var B in this.style)this.style.hasOwnProperty(B)&&(x=x||document.createElement("span"),x.style[B]=this.style[B]);return x?(x.appendChild(h),x):h},c.toMarkup=function(){var h=!1,x="<span";this.classes.length&&(h=!0,x+=' class="',x+=$.escape(bt(this.classes)),x+='"');var B="";this.italic>0&&(B+="margin-right:"+this.italic+"em;");for(var Q in this.style)this.style.hasOwnProperty(Q)&&(B+=$.hyphenate(Q)+":"+this.style[Q]+";");B&&(h=!0,x+=' style="'+$.escape(B)+'"');var Me=$.escape(this.text);return h?(x+=">",x+=Me,x+="</span>",x):Me},Z}(),me=function(){function Z(f,h){this.children=void 0,this.attributes=void 0,this.children=f||[],this.attributes=h||{}}var c=Z.prototype;return c.toNode=function(){var h="http://www.w3.org/2000/svg",x=document.createElementNS(h,"svg");for(var B in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,B)&&x.setAttribute(B,this.attributes[B]);for(var Q=0;Q<this.children.length;Q++)x.appendChild(this.children[Q].toNode());return x},c.toMarkup=function(){var h="<svg";for(var x in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,x)&&(h+=" "+x+"='"+this.attributes[x]+"'");h+=">";for(var B=0;B<this.children.length;B++)h+=this.children[B].toMarkup();return h+="</svg>",h},Z}(),Te=function(){function Z(f,h){this.pathName=void 0,this.alternate=void 0,this.pathName=f,this.alternate=h}var c=Z.prototype;return c.toNode=function(){var h="http://www.w3.org/2000/svg",x=document.createElementNS(h,"path");return this.alternate?x.setAttribute("d",this.alternate):x.setAttribute("d",cn[this.pathName]),x},c.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+cn[this.pathName]+"'/>"},Z}(),Fe=function(){function Z(f){this.attributes=void 0,this.attributes=f||{}}var c=Z.prototype;return c.toNode=function(){var h="http://www.w3.org/2000/svg",x=document.createElementNS(h,"line");for(var B in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,B)&&x.setAttribute(B,this.attributes[B]);return x},c.toMarkup=function(){var h="<line";for(var x in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,x)&&(h+=" "+x+"='"+this.attributes[x]+"'");return h+="/>",h},Z}();function Xe(Z){if(Z instanceof _e)return Z;throw new Error("Expected symbolNode but got "+String(Z)+".")}function gt(Z){if(Z instanceof lt)return Z;throw new Error("Expected span<HtmlDomNode> but got "+String(Z)+".")}var de={"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]}},xe={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]},Pt={\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 xt(Z,c){de[Z]=c}function kt(Z,c,f){if(!de[c])throw new Error("Font metrics not found for font: "+c+".");var h=Z.charCodeAt(0),x=de[c][h];if(!x&&Z[0]in Pt&&(h=Pt[Z[0]].charCodeAt(0),x=de[c][h]),!x&&f==="text"&&ft(h)&&(x=de[c][77]),x)return{depth:x[0],height:x[1],italic:x[2],skew:x[3],width:x[4]}}var Mt={};function mt(Z){var c;if(Z>=5?c=0:Z>=3?c=1:c=2,!Mt[c]){var f=Mt[c]={cssEmPerMu:xe.quad[c]/18};for(var h in xe)xe.hasOwnProperty(h)&&(f[h]=xe[h][c])}return Mt[c]}var Gt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Zt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Re={math:{},text:{}},pt=Re;function E(Z,c,f,h,x,B){Re[Z][x]={font:c,group:f,replace:h},B&&h&&(Re[Z][h]=Re[Z][x])}var D="math",rt="text",te="main",Ae="ams",tn="accent-token",Ce="bin",Ve="close",ut="inner",ye="mathord",we="op-token",tt="open",et="punct",X="rel",St="spacing",Se="textord";E(D,te,X,"\u2261","\\equiv",!0),E(D,te,X,"\u227A","\\prec",!0),E(D,te,X,"\u227B","\\succ",!0),E(D,te,X,"\u223C","\\sim",!0),E(D,te,X,"\u22A5","\\perp"),E(D,te,X,"\u2AAF","\\preceq",!0),E(D,te,X,"\u2AB0","\\succeq",!0),E(D,te,X,"\u2243","\\simeq",!0),E(D,te,X,"\u2223","\\mid",!0),E(D,te,X,"\u226A","\\ll",!0),E(D,te,X,"\u226B","\\gg",!0),E(D,te,X,"\u224D","\\asymp",!0),E(D,te,X,"\u2225","\\parallel"),E(D,te,X,"\u22C8","\\bowtie",!0),E(D,te,X,"\u2323","\\smile",!0),E(D,te,X,"\u2291","\\sqsubseteq",!0),E(D,te,X,"\u2292","\\sqsupseteq",!0),E(D,te,X,"\u2250","\\doteq",!0),E(D,te,X,"\u2322","\\frown",!0),E(D,te,X,"\u220B","\\ni",!0),E(D,te,X,"\u221D","\\propto",!0),E(D,te,X,"\u22A2","\\vdash",!0),E(D,te,X,"\u22A3","\\dashv",!0),E(D,te,X,"\u220B","\\owns"),E(D,te,et,".","\\ldotp"),E(D,te,et,"\u22C5","\\cdotp"),E(D,te,Se,"#","\\#"),E(rt,te,Se,"#","\\#"),E(D,te,Se,"&","\\&"),E(rt,te,Se,"&","\\&"),E(D,te,Se,"\u2135","\\aleph",!0),E(D,te,Se,"\u2200","\\forall",!0),E(D,te,Se,"\u210F","\\hbar",!0),E(D,te,Se,"\u2203","\\exists",!0),E(D,te,Se,"\u2207","\\nabla",!0),E(D,te,Se,"\u266D","\\flat",!0),E(D,te,Se,"\u2113","\\ell",!0),E(D,te,Se,"\u266E","\\natural",!0),E(D,te,Se,"\u2663","\\clubsuit",!0),E(D,te,Se,"\u2118","\\wp",!0),E(D,te,Se,"\u266F","\\sharp",!0),E(D,te,Se,"\u2662","\\diamondsuit",!0),E(D,te,Se,"\u211C","\\Re",!0),E(D,te,Se,"\u2661","\\heartsuit",!0),E(D,te,Se,"\u2111","\\Im",!0),E(D,te,Se,"\u2660","\\spadesuit",!0),E(rt,te,Se,"\xA7","\\S",!0),E(rt,te,Se,"\xB6","\\P",!0),E(D,te,Se,"\u2020","\\dag"),E(rt,te,Se,"\u2020","\\dag"),E(rt,te,Se,"\u2020","\\textdagger"),E(D,te,Se,"\u2021","\\ddag"),E(rt,te,Se,"\u2021","\\ddag"),E(rt,te,Se,"\u2021","\\textdaggerdbl"),E(D,te,Ve,"\u23B1","\\rmoustache",!0),E(D,te,tt,"\u23B0","\\lmoustache",!0),E(D,te,Ve,"\u27EF","\\rgroup",!0),E(D,te,tt,"\u27EE","\\lgroup",!0),E(D,te,Ce,"\u2213","\\mp",!0),E(D,te,Ce,"\u2296","\\ominus",!0),E(D,te,Ce,"\u228E","\\uplus",!0),E(D,te,Ce,"\u2293","\\sqcap",!0),E(D,te,Ce,"\u2217","\\ast"),E(D,te,Ce,"\u2294","\\sqcup",!0),E(D,te,Ce,"\u25EF","\\bigcirc"),E(D,te,Ce,"\u2219","\\bullet"),E(D,te,Ce,"\u2021","\\ddagger"),E(D,te,Ce,"\u2240","\\wr",!0),E(D,te,Ce,"\u2A3F","\\amalg"),E(D,te,Ce,"&","\\And"),E(D,te,X,"\u27F5","\\longleftarrow",!0),E(D,te,X,"\u21D0","\\Leftarrow",!0),E(D,te,X,"\u27F8","\\Longleftarrow",!0),E(D,te,X,"\u27F6","\\longrightarrow",!0),E(D,te,X,"\u21D2","\\Rightarrow",!0),E(D,te,X,"\u27F9","\\Longrightarrow",!0),E(D,te,X,"\u2194","\\leftrightarrow",!0),E(D,te,X,"\u27F7","\\longleftrightarrow",!0),E(D,te,X,"\u21D4","\\Leftrightarrow",!0),E(D,te,X,"\u27FA","\\Longleftrightarrow",!0),E(D,te,X,"\u21A6","\\mapsto",!0),E(D,te,X,"\u27FC","\\longmapsto",!0),E(D,te,X,"\u2197","\\nearrow",!0),E(D,te,X,"\u21A9","\\hookleftarrow",!0),E(D,te,X,"\u21AA","\\hookrightarrow",!0),E(D,te,X,"\u2198","\\searrow",!0),E(D,te,X,"\u21BC","\\leftharpoonup",!0),E(D,te,X,"\u21C0","\\rightharpoonup",!0),E(D,te,X,"\u2199","\\swarrow",!0),E(D,te,X,"\u21BD","\\leftharpoondown",!0),E(D,te,X,"\u21C1","\\rightharpoondown",!0),E(D,te,X,"\u2196","\\nwarrow",!0),E(D,te,X,"\u21CC","\\rightleftharpoons",!0),E(D,Ae,X,"\u226E","\\nless",!0),E(D,Ae,X,"\uE010","\\@nleqslant"),E(D,Ae,X,"\uE011","\\@nleqq"),E(D,Ae,X,"\u2A87","\\lneq",!0),E(D,Ae,X,"\u2268","\\lneqq",!0),E(D,Ae,X,"\uE00C","\\@lvertneqq"),E(D,Ae,X,"\u22E6","\\lnsim",!0),E(D,Ae,X,"\u2A89","\\lnapprox",!0),E(D,Ae,X,"\u2280","\\nprec",!0),E(D,Ae,X,"\u22E0","\\npreceq",!0),E(D,Ae,X,"\u22E8","\\precnsim",!0),E(D,Ae,X,"\u2AB9","\\precnapprox",!0),E(D,Ae,X,"\u2241","\\nsim",!0),E(D,Ae,X,"\uE006","\\@nshortmid"),E(D,Ae,X,"\u2224","\\nmid",!0),E(D,Ae,X,"\u22AC","\\nvdash",!0),E(D,Ae,X,"\u22AD","\\nvDash",!0),E(D,Ae,X,"\u22EA","\\ntriangleleft"),E(D,Ae,X,"\u22EC","\\ntrianglelefteq",!0),E(D,Ae,X,"\u228A","\\subsetneq",!0),E(D,Ae,X,"\uE01A","\\@varsubsetneq"),E(D,Ae,X,"\u2ACB","\\subsetneqq",!0),E(D,Ae,X,"\uE017","\\@varsubsetneqq"),E(D,Ae,X,"\u226F","\\ngtr",!0),E(D,Ae,X,"\uE00F","\\@ngeqslant"),E(D,Ae,X,"\uE00E","\\@ngeqq"),E(D,Ae,X,"\u2A88","\\gneq",!0),E(D,Ae,X,"\u2269","\\gneqq",!0),E(D,Ae,X,"\uE00D","\\@gvertneqq"),E(D,Ae,X,"\u22E7","\\gnsim",!0),E(D,Ae,X,"\u2A8A","\\gnapprox",!0),E(D,Ae,X,"\u2281","\\nsucc",!0),E(D,Ae,X,"\u22E1","\\nsucceq",!0),E(D,Ae,X,"\u22E9","\\succnsim",!0),E(D,Ae,X,"\u2ABA","\\succnapprox",!0),E(D,Ae,X,"\u2246","\\ncong",!0),E(D,Ae,X,"\uE007","\\@nshortparallel"),E(D,Ae,X,"\u2226","\\nparallel",!0),E(D,Ae,X,"\u22AF","\\nVDash",!0),E(D,Ae,X,"\u22EB","\\ntriangleright"),E(D,Ae,X,"\u22ED","\\ntrianglerighteq",!0),E(D,Ae,X,"\uE018","\\@nsupseteqq"),E(D,Ae,X,"\u228B","\\supsetneq",!0),E(D,Ae,X,"\uE01B","\\@varsupsetneq"),E(D,Ae,X,"\u2ACC","\\supsetneqq",!0),E(D,Ae,X,"\uE019","\\@varsupsetneqq"),E(D,Ae,X,"\u22AE","\\nVdash",!0),E(D,Ae,X,"\u2AB5","\\precneqq",!0),E(D,Ae,X,"\u2AB6","\\succneqq",!0),E(D,Ae,X,"\uE016","\\@nsubseteqq"),E(D,Ae,Ce,"\u22B4","\\unlhd"),E(D,Ae,Ce,"\u22B5","\\unrhd"),E(D,Ae,X,"\u219A","\\nleftarrow",!0),E(D,Ae,X,"\u219B","\\nrightarrow",!0),E(D,Ae,X,"\u21CD","\\nLeftarrow",!0),E(D,Ae,X,"\u21CF","\\nRightarrow",!0),E(D,Ae,X,"\u21AE","\\nleftrightarrow",!0),E(D,Ae,X,"\u21CE","\\nLeftrightarrow",!0),E(D,Ae,X,"\u25B3","\\vartriangle"),E(D,Ae,Se,"\u210F","\\hslash"),E(D,Ae,Se,"\u25BD","\\triangledown"),E(D,Ae,Se,"\u25CA","\\lozenge"),E(D,Ae,Se,"\u24C8","\\circledS"),E(D,Ae,Se,"\xAE","\\circledR"),E(rt,Ae,Se,"\xAE","\\circledR"),E(D,Ae,Se,"\u2221","\\measuredangle",!0),E(D,Ae,Se,"\u2204","\\nexists"),E(D,Ae,Se,"\u2127","\\mho"),E(D,Ae,Se,"\u2132","\\Finv",!0),E(D,Ae,Se,"\u2141","\\Game",!0),E(D,Ae,Se,"\u2035","\\backprime"),E(D,Ae,Se,"\u25B2","\\blacktriangle"),E(D,Ae,Se,"\u25BC","\\blacktriangledown"),E(D,Ae,Se,"\u25A0","\\blacksquare"),E(D,Ae,Se,"\u29EB","\\blacklozenge"),E(D,Ae,Se,"\u2605","\\bigstar"),E(D,Ae,Se,"\u2222","\\sphericalangle",!0),E(D,Ae,Se,"\u2201","\\complement",!0),E(D,Ae,Se,"\xF0","\\eth",!0),E(D,Ae,Se,"\u2571","\\diagup"),E(D,Ae,Se,"\u2572","\\diagdown"),E(D,Ae,Se,"\u25A1","\\square"),E(D,Ae,Se,"\u25A1","\\Box"),E(D,Ae,Se,"\u25CA","\\Diamond"),E(D,Ae,Se,"\xA5","\\yen",!0),E(rt,Ae,Se,"\xA5","\\yen",!0),E(D,Ae,Se,"\u2713","\\checkmark",!0),E(rt,Ae,Se,"\u2713","\\checkmark"),E(D,Ae,Se,"\u2136","\\beth",!0),E(D,Ae,Se,"\u2138","\\daleth",!0),E(D,Ae,Se,"\u2137","\\gimel",!0),E(D,Ae,Se,"\u03DD","\\digamma",!0),E(D,Ae,Se,"\u03F0","\\varkappa"),E(D,Ae,tt,"\u250C","\\ulcorner",!0),E(D,Ae,Ve,"\u2510","\\urcorner",!0),E(D,Ae,tt,"\u2514","\\llcorner",!0),E(D,Ae,Ve,"\u2518","\\lrcorner",!0),E(D,Ae,X,"\u2266","\\leqq",!0),E(D,Ae,X,"\u2A7D","\\leqslant",!0),E(D,Ae,X,"\u2A95","\\eqslantless",!0),E(D,Ae,X,"\u2272","\\lesssim",!0),E(D,Ae,X,"\u2A85","\\lessapprox",!0),E(D,Ae,X,"\u224A","\\approxeq",!0),E(D,Ae,Ce,"\u22D6","\\lessdot"),E(D,Ae,X,"\u22D8","\\lll",!0),E(D,Ae,X,"\u2276","\\lessgtr",!0),E(D,Ae,X,"\u22DA","\\lesseqgtr",!0),E(D,Ae,X,"\u2A8B","\\lesseqqgtr",!0),E(D,Ae,X,"\u2251","\\doteqdot"),E(D,Ae,X,"\u2253","\\risingdotseq",!0),E(D,Ae,X,"\u2252","\\fallingdotseq",!0),E(D,Ae,X,"\u223D","\\backsim",!0),E(D,Ae,X,"\u22CD","\\backsimeq",!0),E(D,Ae,X,"\u2AC5","\\subseteqq",!0),E(D,Ae,X,"\u22D0","\\Subset",!0),E(D,Ae,X,"\u228F","\\sqsubset",!0),E(D,Ae,X,"\u227C","\\preccurlyeq",!0),E(D,Ae,X,"\u22DE","\\curlyeqprec",!0),E(D,Ae,X,"\u227E","\\precsim",!0),E(D,Ae,X,"\u2AB7","\\precapprox",!0),E(D,Ae,X,"\u22B2","\\vartriangleleft"),E(D,Ae,X,"\u22B4","\\trianglelefteq"),E(D,Ae,X,"\u22A8","\\vDash",!0),E(D,Ae,X,"\u22AA","\\Vvdash",!0),E(D,Ae,X,"\u2323","\\smallsmile"),E(D,Ae,X,"\u2322","\\smallfrown"),E(D,Ae,X,"\u224F","\\bumpeq",!0),E(D,Ae,X,"\u224E","\\Bumpeq",!0),E(D,Ae,X,"\u2267","\\geqq",!0),E(D,Ae,X,"\u2A7E","\\geqslant",!0),E(D,Ae,X,"\u2A96","\\eqslantgtr",!0),E(D,Ae,X,"\u2273","\\gtrsim",!0),E(D,Ae,X,"\u2A86","\\gtrapprox",!0),E(D,Ae,Ce,"\u22D7","\\gtrdot"),E(D,Ae,X,"\u22D9","\\ggg",!0),E(D,Ae,X,"\u2277","\\gtrless",!0),E(D,Ae,X,"\u22DB","\\gtreqless",!0),E(D,Ae,X,"\u2A8C","\\gtreqqless",!0),E(D,Ae,X,"\u2256","\\eqcirc",!0),E(D,Ae,X,"\u2257","\\circeq",!0),E(D,Ae,X,"\u225C","\\triangleq",!0),E(D,Ae,X,"\u223C","\\thicksim"),E(D,Ae,X,"\u2248","\\thickapprox"),E(D,Ae,X,"\u2AC6","\\supseteqq",!0),E(D,Ae,X,"\u22D1","\\Supset",!0),E(D,Ae,X,"\u2290","\\sqsupset",!0),E(D,Ae,X,"\u227D","\\succcurlyeq",!0),E(D,Ae,X,"\u22DF","\\curlyeqsucc",!0),E(D,Ae,X,"\u227F","\\succsim",!0),E(D,Ae,X,"\u2AB8","\\succapprox",!0),E(D,Ae,X,"\u22B3","\\vartriangleright"),E(D,Ae,X,"\u22B5","\\trianglerighteq"),E(D,Ae,X,"\u22A9","\\Vdash",!0),E(D,Ae,X,"\u2223","\\shortmid"),E(D,Ae,X,"\u2225","\\shortparallel"),E(D,Ae,X,"\u226C","\\between",!0),E(D,Ae,X,"\u22D4","\\pitchfork",!0),E(D,Ae,X,"\u221D","\\varpropto"),E(D,Ae,X,"\u25C0","\\blacktriangleleft"),E(D,Ae,X,"\u2234","\\therefore",!0),E(D,Ae,X,"\u220D","\\backepsilon"),E(D,Ae,X,"\u25B6","\\blacktriangleright"),E(D,Ae,X,"\u2235","\\because",!0),E(D,Ae,X,"\u22D8","\\llless"),E(D,Ae,X,"\u22D9","\\gggtr"),E(D,Ae,Ce,"\u22B2","\\lhd"),E(D,Ae,Ce,"\u22B3","\\rhd"),E(D,Ae,X,"\u2242","\\eqsim",!0),E(D,te,X,"\u22C8","\\Join"),E(D,Ae,X,"\u2251","\\Doteq",!0),E(D,Ae,Ce,"\u2214","\\dotplus",!0),E(D,Ae,Ce,"\u2216","\\smallsetminus"),E(D,Ae,Ce,"\u22D2","\\Cap",!0),E(D,Ae,Ce,"\u22D3","\\Cup",!0),E(D,Ae,Ce,"\u2A5E","\\doublebarwedge",!0),E(D,Ae,Ce,"\u229F","\\boxminus",!0),E(D,Ae,Ce,"\u229E","\\boxplus",!0),E(D,Ae,Ce,"\u22C7","\\divideontimes",!0),E(D,Ae,Ce,"\u22C9","\\ltimes",!0),E(D,Ae,Ce,"\u22CA","\\rtimes",!0),E(D,Ae,Ce,"\u22CB","\\leftthreetimes",!0),E(D,Ae,Ce,"\u22CC","\\rightthreetimes",!0),E(D,Ae,Ce,"\u22CF","\\curlywedge",!0),E(D,Ae,Ce,"\u22CE","\\curlyvee",!0),E(D,Ae,Ce,"\u229D","\\circleddash",!0),E(D,Ae,Ce,"\u229B","\\circledast",!0),E(D,Ae,Ce,"\u22C5","\\centerdot"),E(D,Ae,Ce,"\u22BA","\\intercal",!0),E(D,Ae,Ce,"\u22D2","\\doublecap"),E(D,Ae,Ce,"\u22D3","\\doublecup"),E(D,Ae,Ce,"\u22A0","\\boxtimes",!0),E(D,Ae,X,"\u21E2","\\dashrightarrow",!0),E(D,Ae,X,"\u21E0","\\dashleftarrow",!0),E(D,Ae,X,"\u21C7","\\leftleftarrows",!0),E(D,Ae,X,"\u21C6","\\leftrightarrows",!0),E(D,Ae,X,"\u21DA","\\Lleftarrow",!0),E(D,Ae,X,"\u219E","\\twoheadleftarrow",!0),E(D,Ae,X,"\u21A2","\\leftarrowtail",!0),E(D,Ae,X,"\u21AB","\\looparrowleft",!0),E(D,Ae,X,"\u21CB","\\leftrightharpoons",!0),E(D,Ae,X,"\u21B6","\\curvearrowleft",!0),E(D,Ae,X,"\u21BA","\\circlearrowleft",!0),E(D,Ae,X,"\u21B0","\\Lsh",!0),E(D,Ae,X,"\u21C8","\\upuparrows",!0),E(D,Ae,X,"\u21BF","\\upharpoonleft",!0),E(D,Ae,X,"\u21C3","\\downharpoonleft",!0),E(D,Ae,X,"\u22B8","\\multimap",!0),E(D,Ae,X,"\u21AD","\\leftrightsquigarrow",!0),E(D,Ae,X,"\u21C9","\\rightrightarrows",!0),E(D,Ae,X,"\u21C4","\\rightleftarrows",!0),E(D,Ae,X,"\u21A0","\\twoheadrightarrow",!0),E(D,Ae,X,"\u21A3","\\rightarrowtail",!0),E(D,Ae,X,"\u21AC","\\looparrowright",!0),E(D,Ae,X,"\u21B7","\\curvearrowright",!0),E(D,Ae,X,"\u21BB","\\circlearrowright",!0),E(D,Ae,X,"\u21B1","\\Rsh",!0),E(D,Ae,X,"\u21CA","\\downdownarrows",!0),E(D,Ae,X,"\u21BE","\\upharpoonright",!0),E(D,Ae,X,"\u21C2","\\downharpoonright",!0),E(D,Ae,X,"\u21DD","\\rightsquigarrow",!0),E(D,Ae,X,"\u21DD","\\leadsto"),E(D,Ae,X,"\u21DB","\\Rrightarrow",!0),E(D,Ae,X,"\u21BE","\\restriction"),E(D,te,Se,"\u2018","`"),E(D,te,Se,"$","\\$"),E(rt,te,Se,"$","\\$"),E(rt,te,Se,"$","\\textdollar"),E(D,te,Se,"%","\\%"),E(rt,te,Se,"%","\\%"),E(D,te,Se,"_","\\_"),E(rt,te,Se,"_","\\_"),E(rt,te,Se,"_","\\textunderscore"),E(D,te,Se,"\u2220","\\angle",!0),E(D,te,Se,"\u221E","\\infty",!0),E(D,te,Se,"\u2032","\\prime"),E(D,te,Se,"\u25B3","\\triangle"),E(D,te,Se,"\u0393","\\Gamma",!0),E(D,te,Se,"\u0394","\\Delta",!0),E(D,te,Se,"\u0398","\\Theta",!0),E(D,te,Se,"\u039B","\\Lambda",!0),E(D,te,Se,"\u039E","\\Xi",!0),E(D,te,Se,"\u03A0","\\Pi",!0),E(D,te,Se,"\u03A3","\\Sigma",!0),E(D,te,Se,"\u03A5","\\Upsilon",!0),E(D,te,Se,"\u03A6","\\Phi",!0),E(D,te,Se,"\u03A8","\\Psi",!0),E(D,te,Se,"\u03A9","\\Omega",!0),E(D,te,Se,"A","\u0391"),E(D,te,Se,"B","\u0392"),E(D,te,Se,"E","\u0395"),E(D,te,Se,"Z","\u0396"),E(D,te,Se,"H","\u0397"),E(D,te,Se,"I","\u0399"),E(D,te,Se,"K","\u039A"),E(D,te,Se,"M","\u039C"),E(D,te,Se,"N","\u039D"),E(D,te,Se,"O","\u039F"),E(D,te,Se,"P","\u03A1"),E(D,te,Se,"T","\u03A4"),E(D,te,Se,"X","\u03A7"),E(D,te,Se,"\xAC","\\neg",!0),E(D,te,Se,"\xAC","\\lnot"),E(D,te,Se,"\u22A4","\\top"),E(D,te,Se,"\u22A5","\\bot"),E(D,te,Se,"\u2205","\\emptyset"),E(D,Ae,Se,"\u2205","\\varnothing"),E(D,te,ye,"\u03B1","\\alpha",!0),E(D,te,ye,"\u03B2","\\beta",!0),E(D,te,ye,"\u03B3","\\gamma",!0),E(D,te,ye,"\u03B4","\\delta",!0),E(D,te,ye,"\u03F5","\\epsilon",!0),E(D,te,ye,"\u03B6","\\zeta",!0),E(D,te,ye,"\u03B7","\\eta",!0),E(D,te,ye,"\u03B8","\\theta",!0),E(D,te,ye,"\u03B9","\\iota",!0),E(D,te,ye,"\u03BA","\\kappa",!0),E(D,te,ye,"\u03BB","\\lambda",!0),E(D,te,ye,"\u03BC","\\mu",!0),E(D,te,ye,"\u03BD","\\nu",!0),E(D,te,ye,"\u03BE","\\xi",!0),E(D,te,ye,"\u03BF","\\omicron",!0),E(D,te,ye,"\u03C0","\\pi",!0),E(D,te,ye,"\u03C1","\\rho",!0),E(D,te,ye,"\u03C3","\\sigma",!0),E(D,te,ye,"\u03C4","\\tau",!0),E(D,te,ye,"\u03C5","\\upsilon",!0),E(D,te,ye,"\u03D5","\\phi",!0),E(D,te,ye,"\u03C7","\\chi",!0),E(D,te,ye,"\u03C8","\\psi",!0),E(D,te,ye,"\u03C9","\\omega",!0),E(D,te,ye,"\u03B5","\\varepsilon",!0),E(D,te,ye,"\u03D1","\\vartheta",!0),E(D,te,ye,"\u03D6","\\varpi",!0),E(D,te,ye,"\u03F1","\\varrho",!0),E(D,te,ye,"\u03C2","\\varsigma",!0),E(D,te,ye,"\u03C6","\\varphi",!0),E(D,te,Ce,"\u2217","*"),E(D,te,Ce,"+","+"),E(D,te,Ce,"\u2212","-"),E(D,te,Ce,"\u22C5","\\cdot",!0),E(D,te,Ce,"\u2218","\\circ"),E(D,te,Ce,"\xF7","\\div",!0),E(D,te,Ce,"\xB1","\\pm",!0),E(D,te,Ce,"\xD7","\\times",!0),E(D,te,Ce,"\u2229","\\cap",!0),E(D,te,Ce,"\u222A","\\cup",!0),E(D,te,Ce,"\u2216","\\setminus"),E(D,te,Ce,"\u2227","\\land"),E(D,te,Ce,"\u2228","\\lor"),E(D,te,Ce,"\u2227","\\wedge",!0),E(D,te,Ce,"\u2228","\\vee",!0),E(D,te,Se,"\u221A","\\surd"),E(D,te,tt,"(","("),E(D,te,tt,"[","["),E(D,te,tt,"\u27E8","\\langle",!0),E(D,te,tt,"\u2223","\\lvert"),E(D,te,tt,"\u2225","\\lVert"),E(D,te,Ve,")",")"),E(D,te,Ve,"]","]"),E(D,te,Ve,"?","?"),E(D,te,Ve,"!","!"),E(D,te,Ve,"\u27E9","\\rangle",!0),E(D,te,Ve,"\u2223","\\rvert"),E(D,te,Ve,"\u2225","\\rVert"),E(D,te,X,"=","="),E(D,te,X,"<","<"),E(D,te,X,">",">"),E(D,te,X,":",":"),E(D,te,X,"\u2248","\\approx",!0),E(D,te,X,"\u2245","\\cong",!0),E(D,te,X,"\u2265","\\ge"),E(D,te,X,"\u2265","\\geq",!0),E(D,te,X,"\u2190","\\gets"),E(D,te,X,">","\\gt"),E(D,te,X,"\u2208","\\in",!0),E(D,te,X,"\uE020","\\@not"),E(D,te,X,"\u2282","\\subset",!0),E(D,te,X,"\u2283","\\supset",!0),E(D,te,X,"\u2286","\\subseteq",!0),E(D,te,X,"\u2287","\\supseteq",!0),E(D,Ae,X,"\u2288","\\nsubseteq",!0),E(D,Ae,X,"\u2289","\\nsupseteq",!0),E(D,te,X,"\u22A8","\\models"),E(D,te,X,"\u2190","\\leftarrow",!0),E(D,te,X,"\u2264","\\le"),E(D,te,X,"\u2264","\\leq",!0),E(D,te,X,"<","\\lt"),E(D,te,X,"\u2192","\\rightarrow",!0),E(D,te,X,"\u2192","\\to"),E(D,Ae,X,"\u2271","\\ngeq",!0),E(D,Ae,X,"\u2270","\\nleq",!0),E(D,te,St,"\xA0","\\ "),E(D,te,St,"\xA0","~"),E(D,te,St,"\xA0","\\space"),E(D,te,St,"\xA0","\\nobreakspace"),E(rt,te,St,"\xA0","\\ "),E(rt,te,St,"\xA0","~"),E(rt,te,St,"\xA0","\\space"),E(rt,te,St,"\xA0","\\nobreakspace"),E(D,te,St,null,"\\nobreak"),E(D,te,St,null,"\\allowbreak"),E(D,te,et,",",","),E(D,te,et,";",";"),E(D,Ae,Ce,"\u22BC","\\barwedge",!0),E(D,Ae,Ce,"\u22BB","\\veebar",!0),E(D,te,Ce,"\u2299","\\odot",!0),E(D,te,Ce,"\u2295","\\oplus",!0),E(D,te,Ce,"\u2297","\\otimes",!0),E(D,te,Se,"\u2202","\\partial",!0),E(D,te,Ce,"\u2298","\\oslash",!0),E(D,Ae,Ce,"\u229A","\\circledcirc",!0),E(D,Ae,Ce,"\u22A1","\\boxdot",!0),E(D,te,Ce,"\u25B3","\\bigtriangleup"),E(D,te,Ce,"\u25BD","\\bigtriangledown"),E(D,te,Ce,"\u2020","\\dagger"),E(D,te,Ce,"\u22C4","\\diamond"),E(D,te,Ce,"\u22C6","\\star"),E(D,te,Ce,"\u25C3","\\triangleleft"),E(D,te,Ce,"\u25B9","\\triangleright"),E(D,te,tt,"{","\\{"),E(rt,te,Se,"{","\\{"),E(rt,te,Se,"{","\\textbraceleft"),E(D,te,Ve,"}","\\}"),E(rt,te,Se,"}","\\}"),E(rt,te,Se,"}","\\textbraceright"),E(D,te,tt,"{","\\lbrace"),E(D,te,Ve,"}","\\rbrace"),E(D,te,tt,"[","\\lbrack"),E(rt,te,Se,"[","\\lbrack"),E(D,te,Ve,"]","\\rbrack"),E(rt,te,Se,"]","\\rbrack"),E(D,te,tt,"(","\\lparen"),E(D,te,Ve,")","\\rparen"),E(rt,te,Se,"<","\\textless"),E(rt,te,Se,">","\\textgreater"),E(D,te,tt,"\u230A","\\lfloor",!0),E(D,te,Ve,"\u230B","\\rfloor",!0),E(D,te,tt,"\u2308","\\lceil",!0),E(D,te,Ve,"\u2309","\\rceil",!0),E(D,te,Se,"\\","\\backslash"),E(D,te,Se,"\u2223","|"),E(D,te,Se,"\u2223","\\vert"),E(rt,te,Se,"|","\\textbar"),E(D,te,Se,"\u2225","\\|"),E(D,te,Se,"\u2225","\\Vert"),E(rt,te,Se,"\u2225","\\textbardbl"),E(rt,te,Se,"~","\\textasciitilde"),E(rt,te,Se,"\\","\\textbackslash"),E(rt,te,Se,"^","\\textasciicircum"),E(D,te,X,"\u2191","\\uparrow",!0),E(D,te,X,"\u21D1","\\Uparrow",!0),E(D,te,X,"\u2193","\\downarrow",!0),E(D,te,X,"\u21D3","\\Downarrow",!0),E(D,te,X,"\u2195","\\updownarrow",!0),E(D,te,X,"\u21D5","\\Updownarrow",!0),E(D,te,we,"\u2210","\\coprod"),E(D,te,we,"\u22C1","\\bigvee"),E(D,te,we,"\u22C0","\\bigwedge"),E(D,te,we,"\u2A04","\\biguplus"),E(D,te,we,"\u22C2","\\bigcap"),E(D,te,we,"\u22C3","\\bigcup"),E(D,te,we,"\u222B","\\int"),E(D,te,we,"\u222B","\\intop"),E(D,te,we,"\u222C","\\iint"),E(D,te,we,"\u222D","\\iiint"),E(D,te,we,"\u220F","\\prod"),E(D,te,we,"\u2211","\\sum"),E(D,te,we,"\u2A02","\\bigotimes"),E(D,te,we,"\u2A01","\\bigoplus"),E(D,te,we,"\u2A00","\\bigodot"),E(D,te,we,"\u222E","\\oint"),E(D,te,we,"\u222F","\\oiint"),E(D,te,we,"\u2230","\\oiiint"),E(D,te,we,"\u2A06","\\bigsqcup"),E(D,te,we,"\u222B","\\smallint"),E(rt,te,ut,"\u2026","\\textellipsis"),E(D,te,ut,"\u2026","\\mathellipsis"),E(rt,te,ut,"\u2026","\\ldots",!0),E(D,te,ut,"\u2026","\\ldots",!0),E(D,te,ut,"\u22EF","\\@cdots",!0),E(D,te,ut,"\u22F1","\\ddots",!0),E(D,te,Se,"\u22EE","\\varvdots"),E(D,te,tn,"\u02CA","\\acute"),E(D,te,tn,"\u02CB","\\grave"),E(D,te,tn,"\xA8","\\ddot"),E(D,te,tn,"~","\\tilde"),E(D,te,tn,"\u02C9","\\bar"),E(D,te,tn,"\u02D8","\\breve"),E(D,te,tn,"\u02C7","\\check"),E(D,te,tn,"^","\\hat"),E(D,te,tn,"\u20D7","\\vec"),E(D,te,tn,"\u02D9","\\dot"),E(D,te,tn,"\u02DA","\\mathring"),E(D,te,ye,"\u0131","\\imath",!0),E(D,te,ye,"\u0237","\\jmath",!0),E(rt,te,Se,"\u0131","\\i",!0),E(rt,te,Se,"\u0237","\\j",!0),E(rt,te,Se,"\xDF","\\ss",!0),E(rt,te,Se,"\xE6","\\ae",!0),E(rt,te,Se,"\xE6","\\ae",!0),E(rt,te,Se,"\u0153","\\oe",!0),E(rt,te,Se,"\xF8","\\o",!0),E(rt,te,Se,"\xC6","\\AE",!0),E(rt,te,Se,"\u0152","\\OE",!0),E(rt,te,Se,"\xD8","\\O",!0),E(rt,te,tn,"\u02CA","\\'"),E(rt,te,tn,"\u02CB","\\`"),E(rt,te,tn,"\u02C6","\\^"),E(rt,te,tn,"\u02DC","\\~"),E(rt,te,tn,"\u02C9","\\="),E(rt,te,tn,"\u02D8","\\u"),E(rt,te,tn,"\u02D9","\\."),E(rt,te,tn,"\u02DA","\\r"),E(rt,te,tn,"\u02C7","\\v"),E(rt,te,tn,"\xA8",'\\"'),E(rt,te,tn,"\u02DD","\\H"),E(rt,te,tn,"\u25EF","\\textcircled");var Wt={"--":!0,"---":!0,"``":!0,"''":!0};E(rt,te,Se,"\u2013","--"),E(rt,te,Se,"\u2013","\\textendash"),E(rt,te,Se,"\u2014","---"),E(rt,te,Se,"\u2014","\\textemdash"),E(rt,te,Se,"\u2018","`"),E(rt,te,Se,"\u2018","\\textquoteleft"),E(rt,te,Se,"\u2019","'"),E(rt,te,Se,"\u2019","\\textquoteright"),E(rt,te,Se,"\u201C","``"),E(rt,te,Se,"\u201C","\\textquotedblleft"),E(rt,te,Se,"\u201D","''"),E(rt,te,Se,"\u201D","\\textquotedblright"),E(D,te,Se,"\xB0","\\degree",!0),E(rt,te,Se,"\xB0","\\degree"),E(rt,te,Se,"\xB0","\\textdegree",!0),E(D,te,ye,"\xA3","\\pounds"),E(D,te,ye,"\xA3","\\mathsterling",!0),E(rt,te,ye,"\xA3","\\pounds"),E(rt,te,ye,"\xA3","\\textsterling",!0),E(D,Ae,Se,"\u2720","\\maltese"),E(rt,Ae,Se,"\u2720","\\maltese"),E(rt,te,St,"\xA0","\\ "),E(rt,te,St,"\xA0"," "),E(rt,te,St,"\xA0","~");for(var Kt='0123456789/@."',Rt=0;Rt<Kt.length;Rt++){var le=Kt.charAt(Rt);E(D,te,Se,le,le)}for(var ae='0123456789!@*()-=+[]<>|";:?/.,',N=0;N<ae.length;N++){var _t=ae.charAt(N);E(rt,te,Se,_t,_t)}for(var dt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",nt=0;nt<dt.length;nt++){var Ft=dt.charAt(nt);E(D,te,ye,Ft,Ft),E(rt,te,Se,Ft,Ft)}E(D,Ae,Se,"C","\u2102"),E(rt,Ae,Se,"C","\u2102"),E(D,Ae,Se,"H","\u210D"),E(rt,Ae,Se,"H","\u210D"),E(D,Ae,Se,"N","\u2115"),E(rt,Ae,Se,"N","\u2115"),E(D,Ae,Se,"P","\u2119"),E(rt,Ae,Se,"P","\u2119"),E(D,Ae,Se,"Q","\u211A"),E(rt,Ae,Se,"Q","\u211A"),E(D,Ae,Se,"R","\u211D"),E(rt,Ae,Se,"R","\u211D"),E(D,Ae,Se,"Z","\u2124"),E(rt,Ae,Se,"Z","\u2124"),E(D,te,ye,"h","\u210E"),E(rt,te,ye,"h","\u210E");for(var Ot="",zt=0;zt<dt.length;zt++){var J=dt.charAt(zt);Ot=String.fromCharCode(55349,56320+zt),E(D,te,ye,J,Ot),E(rt,te,Se,J,Ot),Ot=String.fromCharCode(55349,56372+zt),E(D,te,ye,J,Ot),E(rt,te,Se,J,Ot),Ot=String.fromCharCode(55349,56424+zt),E(D,te,ye,J,Ot),E(rt,te,Se,J,Ot),Ot=String.fromCharCode(55349,56580+zt),E(D,te,ye,J,Ot),E(rt,te,Se,J,Ot),Ot=String.fromCharCode(55349,56736+zt),E(D,te,ye,J,Ot),E(rt,te,Se,J,Ot),Ot=String.fromCharCode(55349,56788+zt),E(D,te,ye,J,Ot),E(rt,te,Se,J,Ot),Ot=String.fromCharCode(55349,56840+zt),E(D,te,ye,J,Ot),E(rt,te,Se,J,Ot),Ot=String.fromCharCode(55349,56944+zt),E(D,te,ye,J,Ot),E(rt,te,Se,J,Ot),zt<26&&(Ot=String.fromCharCode(55349,56632+zt),E(D,te,ye,J,Ot),E(rt,te,Se,J,Ot),Ot=String.fromCharCode(55349,56476+zt),E(D,te,ye,J,Ot),E(rt,te,Se,J,Ot))}Ot="\u{1D55C}",E(D,te,ye,"k",Ot),E(rt,te,Se,"k",Ot);for(var pe=0;pe<10;pe++){var It=pe.toString();Ot=String.fromCharCode(55349,57294+pe),E(D,te,ye,It,Ot),E(rt,te,Se,It,Ot),Ot=String.fromCharCode(55349,57314+pe),E(D,te,ye,It,Ot),E(rt,te,Se,It,Ot),Ot=String.fromCharCode(55349,57324+pe),E(D,te,ye,It,Ot),E(rt,te,Se,It,Ot),Ot=String.fromCharCode(55349,57334+pe),E(D,te,ye,It,Ot),E(rt,te,Se,It,Ot)}for(var Pe="\xC7\xD0\xDE\xE7\xFE",Le=0;Le<Pe.length;Le++){var re=Pe.charAt(Le);E(D,te,ye,re,re),E(rt,te,Se,re,re)}E(rt,te,Se,"\xF0","\xF0"),E(rt,te,Se,"\u2013","\u2013"),E(rt,te,Se,"\u2014","\u2014"),E(rt,te,Se,"\u2018","\u2018"),E(rt,te,Se,"\u2019","\u2019"),E(rt,te,Se,"\u201C","\u201C"),E(rt,te,Se,"\u201D","\u201D");var De=[["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"]],$e=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],je=function(c,f){var h=c.charCodeAt(0),x=c.charCodeAt(1),B=(h-55296)*1024+(x-56320)+65536,Q=f==="math"?0:1;if(119808<=B&&B<120484){var Me=Math.floor((B-119808)/26);return[De[Me][2],De[Me][Q]]}else if(120782<=B&&B<=120831){var qe=Math.floor((B-120782)/10);return[$e[qe][2],$e[qe][Q]]}else{if(B===120485||B===120486)return[De[0][2],De[0][Q]];if(120486<B&&B<120782)return["",""];throw new g("Unsupported character: "+c)}},st=[[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]],qt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ln=function(c,f){return f.size<2?c:st[c-1][f.size-1]},Oe=function(){function Z(f){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=f.style,this.color=f.color,this.size=f.size||Z.BASESIZE,this.textSize=f.textSize||this.size,this.phantom=!!f.phantom,this.font=f.font||"",this.fontFamily=f.fontFamily||"",this.fontWeight=f.fontWeight||"",this.fontShape=f.fontShape||"",this.sizeMultiplier=qt[this.size-1],this.maxSize=f.maxSize,this.minRuleThickness=f.minRuleThickness,this._fontMetrics=void 0}var c=Z.prototype;return c.extend=function(h){var x={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 B in h)h.hasOwnProperty(B)&&(x[B]=h[B]);return new Z(x)},c.havingStyle=function(h){return this.style===h?this:this.extend({style:h,size:ln(this.textSize,h)})},c.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},c.havingSize=function(h){return this.size===h&&this.textSize===h?this:this.extend({style:this.style.text(),size:h,textSize:h,sizeMultiplier:qt[h-1]})},c.havingBaseStyle=function(h){h=h||this.style.text();var x=ln(Z.BASESIZE,h);return this.size===x&&this.textSize===Z.BASESIZE&&this.style===h?this:this.extend({style:h,size:x})},c.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})},c.withColor=function(h){return this.extend({color:h})},c.withPhantom=function(){return this.extend({phantom:!0})},c.withFont=function(h){return this.extend({font:h})},c.withTextFontFamily=function(h){return this.extend({fontFamily:h,font:""})},c.withTextFontWeight=function(h){return this.extend({fontWeight:h,font:""})},c.withTextFontShape=function(h){return this.extend({fontShape:h,font:""})},c.sizingClasses=function(h){return h.size!==this.size?["sizing","reset-size"+h.size,"size"+this.size]:[]},c.baseSizingClasses=function(){return this.size!==Z.BASESIZE?["sizing","reset-size"+this.size,"size"+Z.BASESIZE]:[]},c.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=mt(this.size)),this._fontMetrics},c.getColor=function(){return this.phantom?"transparent":this.color},Z}();Oe.BASESIZE=6;var ot=Oe,wt={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},Qt={ex:!0,em:!0,mu:!0},Xt=function(c){return typeof c!="string"&&(c=c.unit),c in wt||c in Qt||c==="ex"},Ye=function(c,f){var h;if(c.unit in wt)h=wt[c.unit]/f.fontMetrics().ptPerEm/f.sizeMultiplier;else if(c.unit==="mu")h=f.fontMetrics().cssEmPerMu;else{var x;if(f.style.isTight()?x=f.havingStyle(f.style.text()):x=f,c.unit==="ex")h=x.fontMetrics().xHeight;else if(c.unit==="em")h=x.fontMetrics().quad;else throw new g("Invalid unit: '"+c.unit+"'");x!==f&&(h*=x.sizeMultiplier/f.sizeMultiplier)}return Math.min(c.number*h,f.maxSize)},ct=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Nt=function(c,f,h){return pt[h][c]&&pt[h][c].replace&&(c=pt[h][c].replace),{value:c,metrics:kt(c,f,h)}},Bt=function(c,f,h,x,B){var Q=Nt(c,f,h),Me=Q.metrics;c=Q.value;var qe;if(Me){var Et=Me.italic;(h==="text"||x&&x.font==="mathit")&&(Et=0),qe=new _e(c,Me.height,Me.depth,Et,Me.skew,Me.width,B)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+c+"' in style '"+f+"' and mode '"+h+"'")),qe=new _e(c,0,0,0,0,0,B);if(x){qe.maxFontSize=x.sizeMultiplier,x.style.isTight()&&qe.classes.push("mtight");var Yt=x.getColor();Yt&&(qe.style.color=Yt)}return qe},Ht=function(c,f,h,x){return x===void 0&&(x=[]),h.font==="boldsymbol"&&Nt(c,"Main-Bold",f).metrics?Bt(c,"Main-Bold",f,h,x.concat(["mathbf"])):c==="\\"||pt[f][c].font==="main"?Bt(c,"Main-Regular",f,h,x):Bt(c,"AMS-Regular",f,h,x.concat(["amsrm"]))},vt=function(c,f,h,x){return/[0-9]/.test(c.charAt(0))||$.contains(ct,c)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},an=function(c,f,h,x){return $.contains(ct,c)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(c.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},sn=function(c,f,h,x){return Nt(c,"Math-BoldItalic",f).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},gn=function(c,f,h){var x=c.mode,B=c.text,Q=["mord"],Me=x==="math"||x==="text"&&f.font,qe=Me?f.font:f.fontFamily;if(B.charCodeAt(0)===55349){var Et=je(B,x),Yt=Et[0],hn=Et[1];return Bt(B,Yt,x,f,Q.concat(hn))}else if(qe){var Cn,kn;if(qe==="boldsymbol"||qe==="mathnormal"){var Hn=qe==="boldsymbol"?sn(B,x,f,Q):an(B,x,f,Q);Cn=Hn.fontName,kn=[Hn.fontClass]}else $.contains(ct,B)?(Cn="Main-Italic",kn=["mathit"]):Me?(Cn=Ln[qe].fontName,kn=[qe]):(Cn=Kn(qe,f.fontWeight,f.fontShape),kn=[qe,f.fontWeight,f.fontShape]);if(Nt(B,Cn,x).metrics)return Bt(B,Cn,x,f,Q.concat(kn));if(Wt.hasOwnProperty(B)&&Cn.substr(0,10)==="Typewriter"){for(var Wn=[],ir=0;ir<B.length;ir++)Wn.push(Bt(B[ir],Cn,x,f,Q.concat(kn)));return Rn(Wn)}}if(h==="mathord"){var Jn=vt(B,x,f,Q);return Bt(B,Jn.fontName,x,f,Q.concat([Jn.fontClass]))}else if(h==="textord"){var nr=pt[x][B]&&pt[x][B].font;if(nr==="ams"){var fr=Kn("amsrm",f.fontWeight,f.fontShape);return Bt(B,fr,x,f,Q.concat("amsrm",f.fontWeight,f.fontShape))}else if(nr==="main"||!nr){var Tr=Kn("textrm",f.fontWeight,f.fontShape);return Bt(B,Tr,x,f,Q.concat(f.fontWeight,f.fontShape))}else{var Pr=Kn(nr,f.fontWeight,f.fontShape);return Bt(B,Pr,x,f,Q.concat(Pr,f.fontWeight,f.fontShape))}}else throw new Error("unexpected type: "+h+" in makeOrd")},bn=function(c,f){if(bt(c.classes)!==bt(f.classes)||c.skew!==f.skew||c.maxFontSize!==f.maxFontSize)return!1;for(var h in c.style)if(c.style.hasOwnProperty(h)&&c.style[h]!==f.style[h])return!1;for(var x in f.style)if(f.style.hasOwnProperty(x)&&c.style[x]!==f.style[x])return!1;return!0},In=function(c){for(var f=0;f<c.length-1;f++){var h=c[f],x=c[f+1];h instanceof _e&&x instanceof _e&&bn(h,x)&&(h.text+=x.text,h.height=Math.max(h.height,x.height),h.depth=Math.max(h.depth,x.depth),h.italic=x.italic,c.splice(f+1,1),f--)}return c},wn=function(c){for(var f=0,h=0,x=0,B=0;B<c.children.length;B++){var Q=c.children[B];Q.height>f&&(f=Q.height),Q.depth>h&&(h=Q.depth),Q.maxFontSize>x&&(x=Q.maxFontSize)}c.height=f,c.depth=h,c.maxFontSize=x},An=function(c,f,h,x){var B=new lt(c,f,h,x);return wn(B),B},Fn=function(c,f,h,x){return new lt(c,f,h,x)},Mn=function(c,f,h){var x=An([c],[],f);return x.height=Math.max(h||f.fontMetrics().defaultRuleThickness,f.minRuleThickness),x.style.borderBottomWidth=x.height+"em",x.maxFontSize=1,x},rr=function(c,f,h,x){var B=new Ke(c,f,h,x);return wn(B),B},Rn=function(c){var f=new Je(c);return wn(f),f},jn=function(c,f){return c instanceof Je?An([],[c],f):c},Yn=function(c){if(c.positionType==="individualShift"){for(var f=c.children,h=[f[0]],x=-f[0].shift-f[0].elem.depth,B=x,Q=1;Q<f.length;Q++){var Me=-f[Q].shift-B-f[Q].elem.depth,qe=Me-(f[Q-1].elem.height+f[Q-1].elem.depth);B=B+Me,h.push({type:"kern",size:qe}),h.push(f[Q])}return{children:h,depth:x}}var Et;if(c.positionType==="top"){for(var Yt=c.positionData,hn=0;hn<c.children.length;hn++){var Cn=c.children[hn];Yt-=Cn.type==="kern"?Cn.size:Cn.elem.height+Cn.elem.depth}Et=Yt}else if(c.positionType==="bottom")Et=-c.positionData;else{var kn=c.children[0];if(kn.type!=="elem")throw new Error('First child must have type "elem".');if(c.positionType==="shift")Et=-kn.elem.depth-c.positionData;else if(c.positionType==="firstBaseline")Et=-kn.elem.depth;else throw new Error("Invalid positionType "+c.positionType+".")}return{children:c.children,depth:Et}},er=function(c,f){for(var h=Yn(c),x=h.children,B=h.depth,Q=0,Me=0;Me<x.length;Me++){var qe=x[Me];if(qe.type==="elem"){var Et=qe.elem;Q=Math.max(Q,Et.maxFontSize,Et.height)}}Q+=2;var Yt=An(["pstrut"],[]);Yt.style.height=Q+"em";for(var hn=[],Cn=B,kn=B,Hn=B,Wn=0;Wn<x.length;Wn++){var ir=x[Wn];if(ir.type==="kern")Hn+=ir.size;else{var Jn=ir.elem,nr=ir.wrapperClasses||[],fr=ir.wrapperStyle||{},Tr=An(nr,[Yt,Jn],void 0,fr);Tr.style.top=-Q-Hn-Jn.depth+"em",ir.marginLeft&&(Tr.style.marginLeft=ir.marginLeft),ir.marginRight&&(Tr.style.marginRight=ir.marginRight),hn.push(Tr),Hn+=Jn.height+Jn.depth}Cn=Math.min(Cn,Hn),kn=Math.max(kn,Hn)}var Pr=An(["vlist"],hn);Pr.style.height=kn+"em";var mr;if(Cn<0){var Yr=An([],[]),ni=An(["vlist"],[Yr]);ni.style.height=-Cn+"em";var Ri=An(["vlist-s"],[new _e("\u200B")]);mr=[An(["vlist-r"],[Pr,Ri]),An(["vlist-r"],[ni])]}else mr=[An(["vlist-r"],[Pr])];var xi=An(["vlist-t"],mr);return mr.length===2&&xi.classes.push("vlist-t2"),xi.height=kn,xi.depth=-Cn,xi},qn=function(c,f){var h=An(["mspace"],[],f),x=Ye(c,f);return h.style.marginRight=x+"em",h},Kn=function(c,f,h){var x="";switch(c){case"amsrm":x="AMS";break;case"textrm":x="Main";break;case"textsf":x="SansSerif";break;case"texttt":x="Typewriter";break;default:x=c}var B;return f==="textbf"&&h==="textit"?B="BoldItalic":f==="textbf"?B="Bold":f==="textit"?B="Italic":B="Regular",x+"-"+B},Ln={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"}},zn={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},hr=function(c,f){var h=zn[c],x=h[0],B=h[1],Q=h[2],Me=new Te(x),qe=new me([Me],{width:B+"em",height:Q+"em",style:"width:"+B+"em",viewBox:"0 0 "+1e3*B+" "+1e3*Q,preserveAspectRatio:"xMinYMin"}),Et=Fn(["overlay"],[qe],f);return Et.height=Q,Et.style.height=Q+"em",Et.style.width=B+"em",Et},rn={fontMap:Ln,makeSymbol:Bt,mathsym:Ht,makeSpan:An,makeSvgSpan:Fn,makeLineSpan:Mn,makeAnchor:rr,makeFragment:Rn,wrapFragment:jn,makeVList:er,makeOrd:gn,makeGlue:qn,staticSvg:hr,svgData:zn,tryCombineChars:In};function nn(Z,c){var f=pn(Z,c);if(!f)throw new Error("Expected node of type "+c+", but got "+(Z?"node of type "+Z.type:String(Z)));return f}function pn(Z,c){return Z&&Z.type===c?Z:null}function or(Z,c){var f=tr(Z,c);if(!f)throw new Error('Expected node of type "atom" and family "'+c+'", but got '+(Z?Z.type==="atom"?"atom of family "+Z.family:"node of type "+Z.type:String(Z)));return f}function tr(Z,c){return Z&&Z.type==="atom"&&Z.family===c?Z:null}function ur(Z){var c=lr(Z);if(!c)throw new Error("Expected node of symbol group type, but got "+(Z?"node of type "+Z.type:String(Z)));return c}function lr(Z){return Z&&(Z.type==="atom"||Zt.hasOwnProperty(Z.type))?Z:null}var Un={number:3,unit:"mu"},fn={number:4,unit:"mu"},dn={number:5,unit:"mu"},xn={mord:{mop:Un,mbin:fn,mrel:dn,minner:Un},mop:{mord:Un,mop:Un,mrel:dn,minner:Un},mbin:{mord:fn,mop:fn,mopen:fn,minner:fn},mrel:{mord:dn,mop:dn,mopen:dn,minner:dn},mopen:{},mclose:{mop:Un,mbin:fn,mrel:dn,minner:Un},mpunct:{mord:Un,mop:Un,mrel:dn,mopen:Un,mclose:Un,mpunct:Un,minner:Un},minner:{mord:Un,mop:Un,mbin:fn,mrel:dn,mopen:Un,mpunct:Un,minner:Un}},Gn={mord:{mop:Un},mop:{mord:Un,mop:Un},mbin:{},mrel:{},mopen:{},mclose:{mop:Un},mpunct:{},minner:{mop:Un}},Xn={},gr={},Er={};function Zn(Z){for(var c=Z.type,f=Z.names,h=Z.props,x=Z.handler,B=Z.htmlBuilder,Q=Z.mathmlBuilder,Me={type:c,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:x},qe=0;qe<f.length;++qe)Xn[f[qe]]=Me;c&&(B&&(gr[c]=B),Q&&(Er[c]=Q))}function Cr(Z){var c=Z.type,f=Z.htmlBuilder,h=Z.mathmlBuilder;Zn({type:c,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:f,mathmlBuilder:h})}var wr=function(c){var f=pn(c,"ordgroup");return f?f.body:[c]},Kr=rn.makeSpan,Fr=["leftmost","mbin","mopen","mrel","mop","mpunct"],Lr=["rightmost","mrel","mclose","mpunct"],Sr={display:_.DISPLAY,text:_.TEXT,script:_.SCRIPT,scriptscript:_.SCRIPTSCRIPT},Zr={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},_r=function(c,f,h,x){x===void 0&&(x=[null,null]);for(var B=[],Q=0;Q<c.length;Q++){var Me=En(c[Q],f);if(Me instanceof Je){var qe=Me.children;B.push.apply(B,qe)}else B.push(Me)}if(!h)return B;var Et=f;if(c.length===1){var Yt=pn(c[0],"sizing")||pn(c[0],"styling");Yt&&(Yt.type==="sizing"?Et=f.havingSize(Yt.size):Yt.type==="styling"&&(Et=f.havingStyle(Sr[Yt.style])))}var hn=Kr([x[0]||"leftmost"],[],f),Cn=Kr([x[1]||"rightmost"],[],f);return Xr(B,function(kn,Hn){var Wn=Hn.classes[0],ir=kn.classes[0];Wn==="mbin"&&$.contains(Lr,ir)?Hn.classes[0]="mord":ir==="mbin"&&$.contains(Fr,Wn)&&(kn.classes[0]="mord")},{node:hn},Cn),Xr(B,function(kn,Hn){var Wn=Nr(Hn),ir=Nr(kn),Jn=Wn&&ir?kn.hasClass("mtight")?Gn[Wn][ir]:xn[Wn][ir]:null;if(Jn)return rn.makeGlue(Jn,Et)},{node:hn},Cn),B},Xr=function Z(c,f,h,x){x&&c.push(x);for(var B=0;B<c.length;B++){var Q=c[B],Me=Ir(Q);if(Me){Z(Me.children,f,h);continue}if(Q.classes[0]!=="mspace"){var qe=f(Q,h.node);qe&&(h.insertAfter?h.insertAfter(qe):(c.unshift(qe),B++)),h.node=Q,h.insertAfter=function(Et){return function(Yt){c.splice(Et+1,0,Yt),B++}}(B)}}x&&c.pop()},Ir=function(c){return c instanceof Je||c instanceof Ke?c:null},Or=function Z(c,f){var h=Ir(c);if(h){var x=h.children;if(x.length){if(f==="right")return Z(x[x.length-1],"right");if(f==="left")return Z(x[0],"left")}}return c},Nr=function(c,f){return c?(f&&(c=Or(c,f)),Zr[c.classes[0]]||null):null},on=function(c,f){var h=["nulldelimiter"].concat(c.baseSizingClasses());return Kr(f.concat(h))},En=function(c,f,h){if(!c)return Kr();if(gr[c.type]){var x=gr[c.type](c,f);if(h&&f.size!==h.size){x=Kr(f.sizingClasses(h),[x],f);var B=f.sizeMultiplier/h.sizeMultiplier;x.height*=B,x.depth*=B}return x}else throw new g("Got group of unknown type: '"+c.type+"'")};function br(Z,c){var f=Kr(["base"],Z,c),h=Kr(["strut"]);return h.style.height=f.height+f.depth+"em",h.style.verticalAlign=-f.depth+"em",f.children.unshift(h),f}function Dr(Z,c){var f=null;Z.length===1&&Z[0].type==="tag"&&(f=Z[0].tag,Z=Z[0].body);for(var h=_r(Z,c,!0),x=[],B=[],Q=0;Q<h.length;Q++)if(B.push(h[Q]),h[Q].hasClass("mbin")||h[Q].hasClass("mrel")||h[Q].hasClass("allowbreak")){for(var Me=!1;Q<h.length-1&&h[Q+1].hasClass("mspace")&&!h[Q+1].hasClass("newline");)Q++,B.push(h[Q]),h[Q].hasClass("nobreak")&&(Me=!0);Me||(x.push(br(B,c)),B=[])}else h[Q].hasClass("newline")&&(B.pop(),B.length>0&&(x.push(br(B,c)),B=[]),x.push(h[Q]));B.length>0&&x.push(br(B,c));var qe;f&&(qe=br(_r(f,c,!0)),qe.classes=["tag"],x.push(qe));var Et=Kr(["katex-html"],x);if(Et.setAttribute("aria-hidden","true"),qe){var Yt=qe.children[0];Yt.style.height=Et.height+Et.depth+"em",Yt.style.verticalAlign=-Et.depth+"em"}return Et}function Qr(Z){return new Je(Z)}var Ar=function(){function Z(f,h){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=f,this.attributes={},this.children=h||[]}var c=Z.prototype;return c.setAttribute=function(h,x){this.attributes[h]=x},c.getAttribute=function(h){return this.attributes[h]},c.toNode=function(){var h=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var x in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,x)&&h.setAttribute(x,this.attributes[x]);for(var B=0;B<this.children.length;B++)h.appendChild(this.children[B].toNode());return h},c.toMarkup=function(){var h="<"+this.type;for(var x in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,x)&&(h+=" "+x+'="',h+=$.escape(this.attributes[x]),h+='"');h+=">";for(var B=0;B<this.children.length;B++)h+=this.children[B].toMarkup();return h+="</"+this.type+">",h},c.toText=function(){return this.children.map(function(h){return h.toText()}).join("")},Z}(),cr=function(){function Z(f){this.text=void 0,this.text=f}var c=Z.prototype;return c.toNode=function(){return document.createTextNode(this.text)},c.toMarkup=function(){return $.escape(this.toText())},c.toText=function(){return this.text},Z}(),hi=function(){function Z(f){this.width=void 0,this.character=void 0,this.width=f,f>=.05555&&f<=.05556?this.character="\u200A":f>=.1666&&f<=.1667?this.character="\u2009":f>=.2222&&f<=.2223?this.character="\u2005":f>=.2777&&f<=.2778?this.character="\u2005\u200A":f>=-.05556&&f<=-.05555?this.character="\u200A\u2063":f>=-.1667&&f<=-.1666?this.character="\u2009\u2063":f>=-.2223&&f<=-.2222?this.character="\u205F\u2063":f>=-.2778&&f<=-.2777?this.character="\u2005\u2063":this.character=null}var c=Z.prototype;return c.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},c.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},c.toText=function(){return this.character?this.character:" "},Z}(),ar={MathNode:Ar,TextNode:cr,SpaceNode:hi,newDocumentFragment:Qr},_i=function(c,f,h){return pt[f][c]&&pt[f][c].replace&&c.charCodeAt(0)!==55349&&!(Wt.hasOwnProperty(c)&&h&&(h.fontFamily&&h.fontFamily.substr(4,2)==="tt"||h.font&&h.font.substr(4,2)==="tt"))&&(c=pt[f][c].replace),new ar.TextNode(c)},Yi=function(c){return c.length===1?c[0]:new ar.MathNode("mrow",c)},$i=function(c,f){if(f.fontFamily==="texttt")return"monospace";if(f.fontFamily==="textsf")return f.fontShape==="textit"&&f.fontWeight==="textbf"?"sans-serif-bold-italic":f.fontShape==="textit"?"sans-serif-italic":f.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(f.fontShape==="textit"&&f.fontWeight==="textbf")return"bold-italic";if(f.fontShape==="textit")return"italic";if(f.fontWeight==="textbf")return"bold";var h=f.font;if(!h||h==="mathnormal")return null;var x=c.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 B=c.text;if($.contains(["\\imath","\\jmath"],B))return null;pt[x][B]&&pt[x][B].replace&&(B=pt[x][B].replace);var Q=rn.fontMap[h].fontName;return kt(B,Q,x)?rn.fontMap[h].variant:null},Mi=function(c,f,h){if(c.length===1){var x=Gr(c[0],f);return h&&x instanceof Ar&&x.type==="mo"&&(x.setAttribute("lspace","0em"),x.setAttribute("rspace","0em")),[x]}for(var B=[],Q,Me=0;Me<c.length;Me++){var qe=Gr(c[Me],f);if(qe instanceof Ar&&Q instanceof Ar){if(qe.type==="mtext"&&Q.type==="mtext"&&qe.getAttribute("mathvariant")===Q.getAttribute("mathvariant")){var Et;(Et=Q.children).push.apply(Et,qe.children);continue}else if(qe.type==="mn"&&Q.type==="mn"){var Yt;(Yt=Q.children).push.apply(Yt,qe.children);continue}else if(qe.type==="mi"&&qe.children.length===1&&Q.type==="mn"){var hn=qe.children[0];if(hn instanceof cr&&hn.text==="."){var Cn;(Cn=Q.children).push.apply(Cn,qe.children);continue}}else if(Q.type==="mi"&&Q.children.length===1){var kn=Q.children[0];if(kn instanceof cr&&kn.text==="\u0338"&&(qe.type==="mo"||qe.type==="mi"||qe.type==="mn")){var Hn=qe.children[0];Hn instanceof cr&&Hn.text.length>0&&(Hn.text=Hn.text.slice(0,1)+"\u0338"+Hn.text.slice(1),B.pop())}}}B.push(qe),Q=qe}return B},ki=function(c,f,h){return Yi(Mi(c,f,h))},Gr=function(c,f){if(!c)return new ar.MathNode("mrow");if(Er[c.type]){var h=Er[c.type](c,f);return h}else throw new g("Got group of unknown type: '"+c.type+"'")};function Di(Z,c,f,h){var x=Mi(Z,f),B;x.length===1&&x[0]instanceof Ar&&$.contains(["mrow","mtable"],x[0].type)?B=x[0]:B=new ar.MathNode("mrow",x);var Q=new ar.MathNode("annotation",[new ar.TextNode(c)]);Q.setAttribute("encoding","application/x-tex");var Me=new ar.MathNode("semantics",[B,Q]),qe=new ar.MathNode("math",[Me]);qe.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Et=h?"katex":"katex-mathml";return rn.makeSpan([Et],[qe])}var ra=function(c){return new ot({style:c.displayMode?_.DISPLAY:_.TEXT,maxSize:c.maxSize,minRuleThickness:c.minRuleThickness})},Zi=function(c,f){if(f.displayMode){var h=["katex-display"];f.leqno&&h.push("leqno"),f.fleqn&&h.push("fleqn"),c=rn.makeSpan(h,[c])}return c},pi=function(c,f,h){var x=ra(h),B;if(h.output==="mathml")return Di(c,f,x,!0);if(h.output==="html"){var Q=Dr(c,x);B=rn.makeSpan(["katex"],[Q])}else{var Me=Di(c,f,x,!1),qe=Dr(c,x);B=rn.makeSpan(["katex"],[Me,qe])}return Zi(B,h)},Ni=function(c,f,h){var x=ra(h),B=Dr(c,x),Q=rn.makeSpan(["katex"],[B]);return Zi(Q,h)},ji=pi,zr={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"},ri=function(c){var f=new ar.MathNode("mo",[new ar.TextNode(zr[c.substr(1)])]);return f.setAttribute("stretchy","true"),f},vr={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},yr=function(c){return c.type==="ordgroup"?c.body.length:1},Mr=function(c,f){function h(){var qe=4e5,Et=c.label.substr(1);if($.contains(["widehat","widecheck","widetilde","utilde"],Et)){var Yt=c,hn=yr(Yt.base),Cn,kn,Hn;if(hn>5)Et==="widehat"||Et==="widecheck"?(Cn=420,qe=2364,Hn=.42,kn=Et+"4"):(Cn=312,qe=2340,Hn=.34,kn="tilde4");else{var Wn=[1,1,2,2,3,3][hn];Et==="widehat"||Et==="widecheck"?(qe=[0,1062,2364,2364,2364][Wn],Cn=[0,239,300,360,420][Wn],Hn=[0,.24,.3,.3,.36,.42][Wn],kn=Et+Wn):(qe=[0,600,1033,2339,2340][Wn],Cn=[0,260,286,306,312][Wn],Hn=[0,.26,.286,.3,.306,.34][Wn],kn="tilde"+Wn)}var ir=new Te(kn),Jn=new me([ir],{width:"100%",height:Hn+"em",viewBox:"0 0 "+qe+" "+Cn,preserveAspectRatio:"none"});return{span:rn.makeSvgSpan([],[Jn],f),minWidth:0,height:Hn}}else{var nr=[],fr=vr[Et],Tr=fr[0],Pr=fr[1],mr=fr[2],Yr=mr/1e3,ni=Tr.length,Ri,xi;if(ni===1){var mn=fr[3];Ri=["hide-tail"],xi=[mn]}else if(ni===2)Ri=["halfarrow-left","halfarrow-right"],xi=["xMinYMin","xMaxYMin"];else if(ni===3)Ri=["brace-left","brace-center","brace-right"],xi=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+ni+" children.");for(var Oi=0;Oi<ni;Oi++){var va=new Te(Tr[Oi]),bi=new me([va],{width:"400em",height:Yr+"em",viewBox:"0 0 "+qe+" "+mr,preserveAspectRatio:xi[Oi]+" slice"}),ci=rn.makeSvgSpan([Ri[Oi]],[bi],f);if(ni===1)return{span:ci,minWidth:Pr,height:Yr};ci.style.height=Yr+"em",nr.push(ci)}return{span:rn.makeSpan(["stretchy"],nr,f),minWidth:Pr,height:Yr}}}var x=h(),B=x.span,Q=x.minWidth,Me=x.height;return B.height=Me,B.style.height=Me+"em",Q>0&&(B.style.minWidth=Q+"em"),B},Vr=function(c,f,h,x){var B,Q=c.height+c.depth+2*h;if(/fbox|color/.test(f)){if(B=rn.makeSpan(["stretchy",f],[],x),f==="fbox"){var Me=x.color&&x.getColor();Me&&(B.style.borderColor=Me)}}else{var qe=[];/^[bx]cancel$/.test(f)&&qe.push(new Fe({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(f)&&qe.push(new Fe({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Et=new me(qe,{width:"100%",height:Q+"em"});B=rn.makeSvgSpan([],[Et],x)}return B.height=Q,B.style.height=Q+"em",B},wi={encloseSpan:Vr,mathMLnode:ri,svgSpan:Mr},xr=function(c,f){var h,x,B=pn(c,"supsub"),Q;B?(x=nn(B.base,"accent"),h=x.base,B.base=h,Q=gt(En(B,f)),B.base=x):(x=nn(c,"accent"),h=x.base);var Me=En(h,f.havingCrampedStyle()),qe=x.isShifty&&$.isCharacterBox(h),Et=0;if(qe){var Yt=$.getBaseElem(h),hn=En(Yt,f.havingCrampedStyle());Et=Xe(hn).skew}var Cn=Math.min(Me.height,f.fontMetrics().xHeight),kn;if(x.isStretchy)kn=wi.svgSpan(x,f),kn=rn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Me},{type:"elem",elem:kn,wrapperClasses:["svg-align"],wrapperStyle:Et>0?{width:"calc(100% - "+2*Et+"em)",marginLeft:2*Et+"em"}:void 0}]},f);else{var Hn,Wn;x.label==="\\vec"?(Hn=rn.staticSvg("vec",f),Wn=rn.svgData.vec[1]):(Hn=rn.makeOrd({mode:x.mode,text:x.label},f,"textord"),Hn=Xe(Hn),Hn.italic=0,Wn=Hn.width),kn=rn.makeSpan(["accent-body"],[Hn]);var ir=x.label==="\\textcircled";ir&&(kn.classes.push("accent-full"),Cn=Me.height);var Jn=Et;ir||(Jn-=Wn/2),kn.style.left=Jn+"em",x.label==="\\textcircled"&&(kn.style.top=".2em"),kn=rn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Me},{type:"kern",size:-Cn},{type:"elem",elem:kn}]},f)}var nr=rn.makeSpan(["mord","accent"],[kn],f);return Q?(Q.children[0]=nr,Q.height=Math.max(nr.height,Q.height),Q.classes[0]="mord",Q):nr},Rr=function(c,f){var h=c.isStretchy?wi.mathMLnode(c.label):new ar.MathNode("mo",[_i(c.label,c.mode)]),x=new ar.MathNode("mover",[Gr(c.base,f),h]);return x.setAttribute("accent","true"),x},kr=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Z){return"\\"+Z}).join("|"));Zn({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(c,f){var h=f[0],x=!kr.test(c.funcName),B=!x||c.funcName==="\\widehat"||c.funcName==="\\widetilde"||c.funcName==="\\widecheck";return{type:"accent",mode:c.parser.mode,label:c.funcName,isStretchy:x,isShifty:B,base:h}},htmlBuilder:xr,mathmlBuilder:Rr}),Zn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(c,f){var h=f[0];return{type:"accent",mode:c.parser.mode,label:c.funcName,isStretchy:!1,isShifty:!0,base:h}},htmlBuilder:xr,mathmlBuilder:Rr}),Zn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(c,f){var h=c.parser,x=c.funcName,B=f[0];return{type:"accentUnder",mode:h.mode,label:x,base:B}},htmlBuilder:function(c,f){var h=En(c.base,f),x=wi.svgSpan(c,f),B=c.label==="\\utilde"?.12:0,Q=rn.makeVList({positionType:"bottom",positionData:x.height+B,children:[{type:"elem",elem:x,wrapperClasses:["svg-align"]},{type:"kern",size:B},{type:"elem",elem:h}]},f);return rn.makeSpan(["mord","accentunder"],[Q],f)},mathmlBuilder:function(c,f){var h=wi.mathMLnode(c.label),x=new ar.MathNode("munder",[Gr(c.base,f),h]);return x.setAttribute("accentunder","true"),x}});var jr=function(c){var f=new ar.MathNode("mpadded",c?[c]:[]);return f.setAttribute("width","+0.6em"),f.setAttribute("lspace","0.3em"),f};Zn({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(c,f,h){var x=c.parser,B=c.funcName;return{type:"xArrow",mode:x.mode,label:B,body:f[0],below:h[0]}},htmlBuilder:function(c,f){var h=f.style,x=f.havingStyle(h.sup()),B=rn.wrapFragment(En(c.body,x,f),f);B.classes.push("x-arrow-pad");var Q;c.below&&(x=f.havingStyle(h.sub()),Q=rn.wrapFragment(En(c.below,x,f),f),Q.classes.push("x-arrow-pad"));var Me=wi.svgSpan(c,f),qe=-f.fontMetrics().axisHeight+.5*Me.height,Et=-f.fontMetrics().axisHeight-.5*Me.height-.111;(B.depth>.25||c.label==="\\xleftequilibrium")&&(Et-=B.depth);var Yt;if(Q){var hn=-f.fontMetrics().axisHeight+Q.height+.5*Me.height+.111;Yt=rn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:B,shift:Et},{type:"elem",elem:Me,shift:qe},{type:"elem",elem:Q,shift:hn}]},f)}else Yt=rn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:B,shift:Et},{type:"elem",elem:Me,shift:qe}]},f);return Yt.children[0].children[0].children[1].classes.push("svg-align"),rn.makeSpan(["mrel","x-arrow"],[Yt],f)},mathmlBuilder:function(c,f){var h=wi.mathMLnode(c.label),x;if(c.body){var B=jr(Gr(c.body,f));if(c.below){var Q=jr(Gr(c.below,f));x=new ar.MathNode("munderover",[h,Q,B])}else x=new ar.MathNode("mover",[h,B])}else if(c.below){var Me=jr(Gr(c.below,f));x=new ar.MathNode("munder",[h,Me])}else x=jr(),x=new ar.MathNode("mover",[h,x]);return x}}),Zn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(c,f){for(var h=c.parser,x=nn(f[0],"ordgroup"),B=x.body,Q="",Me=0;Me<B.length;Me++){var qe=nn(B[Me],"textord");Q+=qe.text}var Et=parseInt(Q);if(isNaN(Et))throw new g("\\@char has non-numeric argument "+Q);return{type:"textord",mode:h.mode,text:String.fromCharCode(Et)}}});var ii=function(c,f){var h=_r(c.body,f.withColor(c.color),!1);return rn.makeFragment(h)},ma=function(c,f){var h=Mi(c.body,f.withColor(c.color)),x=new ar.MathNode("mstyle",h);return x.setAttribute("mathcolor",c.color),x};Zn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(c,f){var h=c.parser,x=nn(f[0],"color-token").color,B=f[1];return{type:"color",mode:h.mode,color:x,body:wr(B)}},htmlBuilder:ii,mathmlBuilder:ma}),Zn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(c,f){var h=c.parser,x=c.breakOnTokenText,B=nn(f[0],"color-token").color;h.gullet.macros.set("\\current@color",B);var Q=h.parseExpression(!0,x);return{type:"color",mode:h.mode,color:B,body:Q}},htmlBuilder:ii,mathmlBuilder:ma}),Zn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(c,f,h){var x=c.parser,B=c.funcName,Q=h[0],Me=B==="\\cr",qe=!1;return Me||(x.settings.displayMode&&x.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?qe=!1:qe=!0),{type:"cr",mode:x.mode,newLine:qe,newRow:Me,size:Q&&nn(Q,"size").value}},htmlBuilder:function(c,f){if(c.newRow)throw new g("\\cr valid only within a tabular/array environment");var h=rn.makeSpan(["mspace"],[],f);return c.newLine&&(h.classes.push("newline"),c.size&&(h.style.marginTop=Ye(c.size,f)+"em")),h},mathmlBuilder:function(c,f){var h=new ar.MathNode("mspace");return c.newLine&&(h.setAttribute("linebreak","newline"),c.size&&h.setAttribute("height",Ye(c.size,f)+"em")),h}});var Xi=function(c,f,h){var x=pt.math[c]&&pt.math[c].replace,B=kt(x||c,f,h);if(!B)throw new Error("Unsupported symbol "+c+" and font size "+f+".");return B},ua=function(c,f,h,x){var B=h.havingBaseStyle(f),Q=rn.makeSpan(x.concat(B.sizingClasses(h)),[c],h),Me=B.sizeMultiplier/h.sizeMultiplier;return Q.height*=Me,Q.depth*=Me,Q.maxFontSize=B.sizeMultiplier,Q},mi=function(c,f,h){var x=f.havingBaseStyle(h),B=(1-f.sizeMultiplier/x.sizeMultiplier)*f.fontMetrics().axisHeight;c.classes.push("delimcenter"),c.style.top=B+"em",c.height-=B,c.depth+=B},ai=function(c,f,h,x,B,Q){var Me=rn.makeSymbol(c,"Main-Regular",B,x),qe=ua(Me,f,x,Q);return h&&mi(qe,x,f),qe},Ai=function(c,f,h,x){return rn.makeSymbol(c,"Size"+f+"-Regular",h,x)},Li=function(c,f,h,x,B,Q){var Me=Ai(c,f,B,x),qe=ua(rn.makeSpan(["delimsizing","size"+f],[Me],x),_.TEXT,x,Q);return h&&mi(qe,x,_.TEXT),qe},ia=function(c,f,h){var x;f==="Size1-Regular"?x="delim-size1":x="delim-size4";var B=rn.makeSpan(["delimsizinginner",x],[rn.makeSpan([],[rn.makeSymbol(c,f,h)])]);return{type:"elem",elem:B}},ya={type:"kern",size:-.005},Ca=function(c,f,h,x,B,Q){var Me,qe,Et,Yt;Me=Et=Yt=c,qe=null;var hn="Size1-Regular";c==="\\uparrow"?Et=Yt="\u23D0":c==="\\Uparrow"?Et=Yt="\u2016":c==="\\downarrow"?Me=Et="\u23D0":c==="\\Downarrow"?Me=Et="\u2016":c==="\\updownarrow"?(Me="\\uparrow",Et="\u23D0",Yt="\\downarrow"):c==="\\Updownarrow"?(Me="\\Uparrow",Et="\u2016",Yt="\\Downarrow"):c==="["||c==="\\lbrack"?(Me="\u23A1",Et="\u23A2",Yt="\u23A3",hn="Size4-Regular"):c==="]"||c==="\\rbrack"?(Me="\u23A4",Et="\u23A5",Yt="\u23A6",hn="Size4-Regular"):c==="\\lfloor"||c==="\u230A"?(Et=Me="\u23A2",Yt="\u23A3",hn="Size4-Regular"):c==="\\lceil"||c==="\u2308"?(Me="\u23A1",Et=Yt="\u23A2",hn="Size4-Regular"):c==="\\rfloor"||c==="\u230B"?(Et=Me="\u23A5",Yt="\u23A6",hn="Size4-Regular"):c==="\\rceil"||c==="\u2309"?(Me="\u23A4",Et=Yt="\u23A5",hn="Size4-Regular"):c==="("||c==="\\lparen"?(Me="\u239B",Et="\u239C",Yt="\u239D",hn="Size4-Regular"):c===")"||c==="\\rparen"?(Me="\u239E",Et="\u239F",Yt="\u23A0",hn="Size4-Regular"):c==="\\{"||c==="\\lbrace"?(Me="\u23A7",qe="\u23A8",Yt="\u23A9",Et="\u23AA",hn="Size4-Regular"):c==="\\}"||c==="\\rbrace"?(Me="\u23AB",qe="\u23AC",Yt="\u23AD",Et="\u23AA",hn="Size4-Regular"):c==="\\lgroup"||c==="\u27EE"?(Me="\u23A7",Yt="\u23A9",Et="\u23AA",hn="Size4-Regular"):c==="\\rgroup"||c==="\u27EF"?(Me="\u23AB",Yt="\u23AD",Et="\u23AA",hn="Size4-Regular"):c==="\\lmoustache"||c==="\u23B0"?(Me="\u23A7",Yt="\u23AD",Et="\u23AA",hn="Size4-Regular"):(c==="\\rmoustache"||c==="\u23B1")&&(Me="\u23AB",Yt="\u23A9",Et="\u23AA",hn="Size4-Regular");var Cn=Xi(Me,hn,B),kn=Cn.height+Cn.depth,Hn=Xi(Et,hn,B),Wn=Hn.height+Hn.depth,ir=Xi(Yt,hn,B),Jn=ir.height+ir.depth,nr=0,fr=1;if(qe!==null){var Tr=Xi(qe,hn,B);nr=Tr.height+Tr.depth,fr=2}var Pr=kn+Jn+nr,mr=Math.max(0,Math.ceil((f-Pr)/(fr*Wn))),Yr=Pr+mr*fr*Wn,ni=x.fontMetrics().axisHeight;h&&(ni*=x.sizeMultiplier);var Ri=Yr/2-ni,xi=(mr+1)*.005-Wn,mn=[];if(mn.push(ia(Yt,hn,B)),qe===null)for(var Oi=0;Oi<mr;Oi++)mn.push(ya),mn.push(ia(Et,hn,B));else{for(var va=0;va<mr;va++)mn.push(ya),mn.push(ia(Et,hn,B));mn.push({type:"kern",size:xi}),mn.push(ia(Et,hn,B)),mn.push(ya),mn.push(ia(qe,hn,B));for(var bi=0;bi<mr;bi++)mn.push(ya),mn.push(ia(Et,hn,B))}mn.push({type:"kern",size:xi}),mn.push(ia(Et,hn,B)),mn.push(ya),mn.push(ia(Me,hn,B));var ci=x.havingBaseStyle(_.TEXT),ca=rn.makeVList({positionType:"bottom",positionData:Ri,children:mn},ci);return ua(rn.makeSpan(["delimsizing","mult"],[ca],ci),_.TEXT,x,Q)},Da=80,$a=.08,Aa=function(c,f,h,x,B){var Q=yt(c,x,h),Me=new Te(c,Q),qe=new me([Me],{width:"400em",height:f+"em",viewBox:"0 0 400000 "+h,preserveAspectRatio:"xMinYMin slice"});return rn.makeSvgSpan(["hide-tail"],[qe],B)},vs=function(c,f){var h=f.havingBaseSizing(),x=ds("\\surd",c*h.sizeMultiplier,$s,h),B=h.sizeMultiplier,Q=Math.max(0,f.minRuleThickness-f.fontMetrics().sqrtRuleThickness),Me,qe=0,Et=0,Yt=0,hn;return x.type==="small"?(Yt=1e3+1e3*Q+Da,c<1?B=1:c<1.4&&(B=.7),qe=(1+Q+$a)/B,Et=(1+Q)/B,Me=Aa("sqrtMain",qe,Yt,Q,f),Me.style.minWidth="0.853em",hn=.833/B):x.type==="large"?(Yt=(1e3+Da)*Rs[x.size],Et=(Rs[x.size]+Q)/B,qe=(Rs[x.size]+Q+$a)/B,Me=Aa("sqrtSize"+x.size,qe,Yt,Q,f),Me.style.minWidth="1.02em",hn=1/B):(qe=c+Q+$a,Et=c+Q,Yt=Math.floor(1e3*c+Q)+Da,Me=Aa("sqrtTall",qe,Yt,Q,f),Me.style.minWidth="0.742em",hn=1.056),Me.height=Et,Me.style.height=qe+"em",{span:Me,advanceWidth:hn,ruleWidth:(f.fontMetrics().sqrtRuleThickness+Q)*B}},ws=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Ds=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],za=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Rs=[0,1.2,1.8,2.4,3],Za=function(c,f,h,x,B){if(c==="<"||c==="\\lt"||c==="\u27E8"?c="\\langle":(c===">"||c==="\\gt"||c==="\u27E9")&&(c="\\rangle"),$.contains(ws,c)||$.contains(za,c))return Li(c,f,!1,h,x,B);if($.contains(Ds,c))return Ca(c,Rs[f],!1,h,x,B);throw new g("Illegal delimiter: '"+c+"'")},Fs=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],zs=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"stack"}],$s=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Vs=function(c){if(c.type==="small")return"Main-Regular";if(c.type==="large")return"Size"+c.size+"-Regular";if(c.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+c.type+"' here.")},ds=function(c,f,h,x){for(var B=Math.min(2,3-x.style.size),Q=B;Q<h.length&&h[Q].type!=="stack";Q++){var Me=Xi(c,Vs(h[Q]),"math"),qe=Me.height+Me.depth;if(h[Q].type==="small"){var Et=x.havingBaseStyle(h[Q].style);qe*=Et.sizeMultiplier}if(qe>f)return h[Q]}return h[h.length-1]},Ya=function(c,f,h,x,B,Q){c==="<"||c==="\\lt"||c==="\u27E8"?c="\\langle":(c===">"||c==="\\gt"||c==="\u27E9")&&(c="\\rangle");var Me;$.contains(za,c)?Me=Fs:$.contains(ws,c)?Me=$s:Me=zs;var qe=ds(c,f,Me,x);return qe.type==="small"?ai(c,qe.style,h,x,B,Q):qe.type==="large"?Li(c,qe.size,h,x,B,Q):Ca(c,f,h,x,B,Q)},Ti=function(c,f,h,x,B,Q){var Me=x.fontMetrics().axisHeight*x.sizeMultiplier,qe=901,Et=5/x.fontMetrics().ptPerEm,Yt=Math.max(f-Me,h+Me),hn=Math.max(Yt/500*qe,2*Yt-Et);return Ya(c,hn,!0,x,B,Q)},gi={sqrtImage:vs,sizedDelim:Za,customSizedDelim:Ya,leftRightDelim:Ti},Ta={"\\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}},Oa=["(","\\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 Ui(Z,c){var f=lr(Z);if(f&&$.contains(Oa,f.text))return f;throw new g("Invalid delimiter: '"+(f?f.text:JSON.stringify(Z))+"' after '"+c.funcName+"'",Z)}Zn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(c,f){var h=Ui(f[0],c);return{type:"delimsizing",mode:c.parser.mode,size:Ta[c.funcName].size,mclass:Ta[c.funcName].mclass,delim:h.text}},htmlBuilder:function(c,f){return c.delim==="."?rn.makeSpan([c.mclass]):gi.sizedDelim(c.delim,c.size,f,c.mode,[c.mclass])},mathmlBuilder:function(c){var f=[];c.delim!=="."&&f.push(_i(c.delim,c.mode));var h=new ar.MathNode("mo",f);return c.mclass==="mopen"||c.mclass==="mclose"?h.setAttribute("fence","true"):h.setAttribute("fence","false"),h}});function Ea(Z){if(!Z.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Zn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(c,f){var h=c.parser.gullet.macros.get("\\current@color");if(h&&typeof h!="string")throw new g("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:c.parser.mode,delim:Ui(f[0],c).text,color:h}}}),Zn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(c,f){var h=Ui(f[0],c),x=c.parser;++x.leftrightDepth;var B=x.parseExpression(!1);--x.leftrightDepth,x.expect("\\right",!1);var Q=nn(x.parseFunction(),"leftright-right");return{type:"leftright",mode:x.mode,body:B,left:h.text,right:Q.delim,rightColor:Q.color}},htmlBuilder:function(c,f){Ea(c);for(var h=_r(c.body,f,!0,["mopen","mclose"]),x=0,B=0,Q=!1,Me=0;Me<h.length;Me++)h[Me].isMiddle?Q=!0:(x=Math.max(h[Me].height,x),B=Math.max(h[Me].depth,B));x*=f.sizeMultiplier,B*=f.sizeMultiplier;var qe;if(c.left==="."?qe=on(f,["mopen"]):qe=gi.leftRightDelim(c.left,x,B,f,c.mode,["mopen"]),h.unshift(qe),Q)for(var Et=1;Et<h.length;Et++){var Yt=h[Et],hn=Yt.isMiddle;hn&&(h[Et]=gi.leftRightDelim(hn.delim,x,B,hn.options,c.mode,[]))}var Cn;if(c.right===".")Cn=on(f,["mclose"]);else{var kn=c.rightColor?f.withColor(c.rightColor):f;Cn=gi.leftRightDelim(c.right,x,B,kn,c.mode,["mclose"])}return h.push(Cn),rn.makeSpan(["minner"],h,f)},mathmlBuilder:function(c,f){Ea(c);var h=Mi(c.body,f);if(c.left!=="."){var x=new ar.MathNode("mo",[_i(c.left,c.mode)]);x.setAttribute("fence","true"),h.unshift(x)}if(c.right!=="."){var B=new ar.MathNode("mo",[_i(c.right,c.mode)]);B.setAttribute("fence","true"),c.rightColor&&B.setAttribute("mathcolor",c.rightColor),h.push(B)}return Yi(h)}}),Zn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(c,f){var h=Ui(f[0],c);if(!c.parser.leftrightDepth)throw new g("\\middle without preceding \\left",h);return{type:"middle",mode:c.parser.mode,delim:h.text}},htmlBuilder:function(c,f){var h;if(c.delim===".")h=on(f,[]);else{h=gi.sizedDelim(c.delim,1,f,c.mode,[]);var x={delim:c.delim,options:f};h.isMiddle=x}return h},mathmlBuilder:function(c,f){var h=c.delim==="\\vert"||c.delim==="|"?_i("|","text"):_i(c.delim,c.mode),x=new ar.MathNode("mo",[h]);return x.setAttribute("fence","true"),x.setAttribute("lspace","0.05em"),x.setAttribute("rspace","0.05em"),x}});var ja=function(c,f){var h=rn.wrapFragment(En(c.body,f),f),x=c.label.substr(1),B=f.sizeMultiplier,Q,Me=0,qe=$.isCharacterBox(c.body);if(x==="sout")Q=rn.makeSpan(["stretchy","sout"]),Q.height=f.fontMetrics().defaultRuleThickness/B,Me=-.5*f.fontMetrics().xHeight;else{/cancel/.test(x)?qe||h.classes.push("cancel-pad"):h.classes.push("boxpad");var Et=0,Yt=0;/box/.test(x)?(Yt=Math.max(f.fontMetrics().fboxrule,f.minRuleThickness),Et=f.fontMetrics().fboxsep+(x==="colorbox"?0:Yt)):Et=qe?.2:0,Q=wi.encloseSpan(h,x,Et,f),/fbox|boxed|fcolorbox/.test(x)&&(Q.style.borderStyle="solid",Q.style.borderWidth=Yt+"em"),Me=h.depth+Et,c.backgroundColor&&(Q.style.backgroundColor=c.backgroundColor,c.borderColor&&(Q.style.borderColor=c.borderColor))}var hn;return c.backgroundColor?hn=rn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Q,shift:Me},{type:"elem",elem:h,shift:0}]},f):hn=rn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:0},{type:"elem",elem:Q,shift:Me,wrapperClasses:/cancel/.test(x)?["svg-align"]:[]}]},f),/cancel/.test(x)&&(hn.height=h.height,hn.depth=h.depth),/cancel/.test(x)&&!qe?rn.makeSpan(["mord","cancel-lap"],[hn],f):rn.makeSpan(["mord"],[hn],f)},Ua=function(c,f){var h=0,x=new ar.MathNode(c.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Gr(c.body,f)]);switch(c.label){case"\\cancel":x.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":x.setAttribute("notation","downdiagonalstrike");break;case"\\sout":x.setAttribute("notation","horizontalstrike");break;case"\\fbox":x.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(h=f.fontMetrics().fboxsep*f.fontMetrics().ptPerEm,x.setAttribute("width","+"+2*h+"pt"),x.setAttribute("height","+"+2*h+"pt"),x.setAttribute("lspace",h+"pt"),x.setAttribute("voffset",h+"pt"),c.label==="\\fcolorbox"){var B=Math.max(f.fontMetrics().fboxrule,f.minRuleThickness);x.setAttribute("style","border: "+B+"em solid "+String(c.borderColor))}break;case"\\xcancel":x.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return c.backgroundColor&&x.setAttribute("mathbackground",c.backgroundColor),x};Zn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(c,f,h){var x=c.parser,B=c.funcName,Q=nn(f[0],"color-token").color,Me=f[1];return{type:"enclose",mode:x.mode,label:B,backgroundColor:Q,body:Me}},htmlBuilder:ja,mathmlBuilder:Ua}),Zn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(c,f,h){var x=c.parser,B=c.funcName,Q=nn(f[0],"color-token").color,Me=nn(f[1],"color-token").color,qe=f[2];return{type:"enclose",mode:x.mode,label:B,backgroundColor:Me,borderColor:Q,body:qe}},htmlBuilder:ja,mathmlBuilder:Ua}),Zn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(c,f){var h=c.parser;return{type:"enclose",mode:h.mode,label:"\\fbox",body:f[0]}}}),Zn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(c,f,h){var x=c.parser,B=c.funcName,Q=f[0];return{type:"enclose",mode:x.mode,label:B,body:Q}},htmlBuilder:ja,mathmlBuilder:Ua});var rs={};function Pa(Z){for(var c=Z.type,f=Z.names,h=Z.props,x=Z.handler,B=Z.htmlBuilder,Q=Z.mathmlBuilder,Me={type:c,numArgs:h.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:x},qe=0;qe<f.length;++qe)rs[f[qe]]=Me;B&&(gr[c]=B),Q&&(Er[c]=Q)}function ss(Z){var c=[];Z.consumeSpaces();for(var f=Z.fetch().text;f==="\\hline"||f==="\\hdashline";)Z.consume(),c.push(f==="\\hdashline"),Z.consumeSpaces(),f=Z.fetch().text;return c}function Xa(Z,c,f){var h=c.hskipBeforeAndAfter,x=c.addJot,B=c.cols,Q=c.arraystretch,Me=c.colSeparationType;if(Z.gullet.beginGroup(),Z.gullet.macros.set("\\\\","\\cr"),!Q){var qe=Z.gullet.expandMacroAsText("\\arraystretch");if(qe==null)Q=1;else if(Q=parseFloat(qe),!Q||Q<0)throw new g("Invalid \\arraystretch: "+qe)}Z.gullet.beginGroup();var Et=[],Yt=[Et],hn=[],Cn=[];for(Cn.push(ss(Z));;){var kn=Z.parseExpression(!1,"\\cr");Z.gullet.endGroup(),Z.gullet.beginGroup(),kn={type:"ordgroup",mode:Z.mode,body:kn},f&&(kn={type:"styling",mode:Z.mode,style:f,body:[kn]}),Et.push(kn);var Hn=Z.fetch().text;if(Hn==="&")Z.consume();else if(Hn==="\\end"){Et.length===1&&kn.type==="styling"&&kn.body[0].body.length===0&&Yt.pop(),Cn.length<Yt.length+1&&Cn.push([]);break}else if(Hn==="\\cr"){var Wn=nn(Z.parseFunction(),"cr");hn.push(Wn.size),Cn.push(ss(Z)),Et=[],Yt.push(Et)}else throw new g("Expected & or \\\\ or \\cr or \\end",Z.nextToken)}return Z.gullet.endGroup(),Z.gullet.endGroup(),{type:"array",mode:Z.mode,addJot:x,arraystretch:Q,body:Yt,cols:B,rowGaps:hn,hskipBeforeAndAfter:h,hLinesBeforeRow:Cn,colSeparationType:Me}}function fs(Z){return Z.substr(0,1)==="d"?"display":"text"}var hs=function(c,f){var h,x,B=c.body.length,Q=c.hLinesBeforeRow,Me=0,qe=new Array(B),Et=[],Yt=Math.max(f.fontMetrics().arrayRuleWidth,f.minRuleThickness),hn=1/f.fontMetrics().ptPerEm,Cn=5*hn;if(c.colSeparationType&&c.colSeparationType==="small"){var kn=f.havingStyle(_.SCRIPT).sizeMultiplier;Cn=.2778*(kn/f.sizeMultiplier)}var Hn=12*hn,Wn=3*hn,ir=c.arraystretch*Hn,Jn=.7*ir,nr=.3*ir,fr=0;function Tr(ta){for(var Fi=0;Fi<ta.length;++Fi)Fi>0&&(fr+=.25),Et.push({pos:fr,isDashed:ta[Fi]})}for(Tr(Q[0]),h=0;h<c.body.length;++h){var Pr=c.body[h],mr=Jn,Yr=nr;Me<Pr.length&&(Me=Pr.length);var ni=new Array(Pr.length);for(x=0;x<Pr.length;++x){var Ri=En(Pr[x],f);Yr<Ri.depth&&(Yr=Ri.depth),mr<Ri.height&&(mr=Ri.height),ni[x]=Ri}var xi=c.rowGaps[h],mn=0;xi&&(mn=Ye(xi,f),mn>0&&(mn+=nr,Yr<mn&&(Yr=mn),mn=0)),c.addJot&&(Yr+=Wn),ni.height=mr,ni.depth=Yr,fr+=mr,ni.pos=fr,fr+=Yr+mn,qe[h]=ni,Tr(Q[h+1])}var Oi=fr/2+f.fontMetrics().axisHeight,va=c.cols||[],bi=[],ci,ca;for(x=0,ca=0;x<Me||ca<va.length;++x,++ca){for(var da=va[ca]||{},qr=!0;da.type==="separator";){if(qr||(ci=rn.makeSpan(["arraycolsep"],[]),ci.style.width=f.fontMetrics().doubleRuleSep+"em",bi.push(ci)),da.separator==="|"||da.separator===":"){var yi=da.separator==="|"?"solid":"dashed",Ur=rn.makeSpan(["vertical-separator"],[],f);Ur.style.height=fr+"em",Ur.style.borderRightWidth=Yt+"em",Ur.style.borderRightStyle=yi,Ur.style.margin="0 -"+Yt/2+"em",Ur.style.verticalAlign=-(fr-Oi)+"em",bi.push(Ur)}else throw new g("Invalid separator type: "+da.separator);ca++,da=va[ca]||{},qr=!1}if(!(x>=Me)){var Jr=void 0;(x>0||c.hskipBeforeAndAfter)&&(Jr=$.deflt(da.pregap,Cn),Jr!==0&&(ci=rn.makeSpan(["arraycolsep"],[]),ci.style.width=Jr+"em",bi.push(ci)));var Si=[];for(h=0;h<B;++h){var Ii=qe[h],ea=Ii[x];if(ea){var Qi=Ii.pos-Oi;ea.depth=Ii.depth,ea.height=Ii.height,Si.push({type:"elem",elem:ea,shift:Qi})}}Si=rn.makeVList({positionType:"individualShift",children:Si},f),Si=rn.makeSpan(["col-align-"+(da.align||"c")],[Si]),bi.push(Si),(x<Me-1||c.hskipBeforeAndAfter)&&(Jr=$.deflt(da.postgap,Cn),Jr!==0&&(ci=rn.makeSpan(["arraycolsep"],[]),ci.style.width=Jr+"em",bi.push(ci)))}}if(qe=rn.makeSpan(["mtable"],bi),Et.length>0){for(var sa=rn.makeLineSpan("hline",f,Yt),Na=rn.makeLineSpan("hdashline",f,Yt),ei=[{type:"elem",elem:qe,shift:0}];Et.length>0;){var si=Et.pop(),Bi=si.pos-Oi;si.isDashed?ei.push({type:"elem",elem:Na,shift:Bi}):ei.push({type:"elem",elem:sa,shift:Bi})}qe=rn.makeVList({positionType:"individualShift",children:ei},f)}return rn.makeSpan(["mord"],[qe],f)},Gs={c:"center ",l:"left ",r:"right "},Ki=function(c,f){var h=new ar.MathNode("mtable",c.body.map(function(fr){return new ar.MathNode("mtr",fr.map(function(Tr){return new ar.MathNode("mtd",[Gr(Tr,f)])}))})),x=c.arraystretch===.5?.1:.16+c.arraystretch-1+(c.addJot?.09:0);h.setAttribute("rowspacing",x+"em");var B="",Q="";if(c.cols){var Me=c.cols,qe="",Et=!1,Yt=0,hn=Me.length;Me[0].type==="separator"&&(B+="top ",Yt=1),Me[Me.length-1].type==="separator"&&(B+="bottom ",hn-=1);for(var Cn=Yt;Cn<hn;Cn++)Me[Cn].type==="align"?(Q+=Gs[Me[Cn].align],Et&&(qe+="none "),Et=!0):Me[Cn].type==="separator"&&Et&&(qe+=Me[Cn].separator==="|"?"solid ":"dashed ",Et=!1);h.setAttribute("columnalign",Q.trim()),/[sd]/.test(qe)&&h.setAttribute("columnlines",qe.trim())}if(c.colSeparationType==="align"){for(var kn=c.cols||[],Hn="",Wn=1;Wn<kn.length;Wn++)Hn+=Wn%2?"0em ":"1em ";h.setAttribute("columnspacing",Hn.trim())}else c.colSeparationType==="alignat"?h.setAttribute("columnspacing","0em"):c.colSeparationType==="small"?h.setAttribute("columnspacing","0.2778em"):h.setAttribute("columnspacing","1em");var ir="",Jn=c.hLinesBeforeRow;B+=Jn[0].length>0?"left ":"",B+=Jn[Jn.length-1].length>0?"right ":"";for(var nr=1;nr<Jn.length-1;nr++)ir+=Jn[nr].length===0?"none ":Jn[nr][0]?"dashed ":"solid ";return/[sd]/.test(ir)&&h.setAttribute("rowlines",ir.trim()),B!==""&&(h=new ar.MathNode("menclose",[h]),h.setAttribute("notation",B.trim())),c.arraystretch&&c.arraystretch<1&&(h=new ar.MathNode("mstyle",[h]),h.setAttribute("scriptlevel","1")),h},Vi=function(c,f){var h=[],x=Xa(c.parser,{cols:h,addJot:!0},"display"),B,Q=0,Me={type:"ordgroup",mode:c.mode,body:[]},qe=pn(f[0],"ordgroup");if(qe){for(var Et="",Yt=0;Yt<qe.body.length;Yt++){var hn=nn(qe.body[Yt],"textord");Et+=hn.text}B=Number(Et),Q=B*2}var Cn=!Q;x.body.forEach(function(ir){for(var Jn=1;Jn<ir.length;Jn+=2){var nr=nn(ir[Jn],"styling"),fr=nn(nr.body[0],"ordgroup");fr.body.unshift(Me)}if(Cn)Q<ir.length&&(Q=ir.length);else{var Tr=ir.length/2;if(B<Tr)throw new g("Too many math in a row: "+("expected "+B+", but got "+Tr),ir[0])}});for(var kn=0;kn<Q;++kn){var Hn="r",Wn=0;kn%2===1?Hn="l":kn>0&&Cn&&(Wn=1),h[kn]={type:"align",align:Hn,pregap:Wn,postgap:0}}return x.colSeparationType=Cn?"align":"alignat",x};Pa({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(c,f){var h=lr(f[0]),x=h?[f[0]]:nn(f[0],"ordgroup").body,B=x.map(function(Me){var qe=ur(Me),Et=qe.text;if("lcr".indexOf(Et)!==-1)return{type:"align",align:Et};if(Et==="|")return{type:"separator",separator:"|"};if(Et===":")return{type:"separator",separator:":"};throw new g("Unknown column alignment: "+Et,Me)}),Q={cols:B,hskipBeforeAndAfter:!0};return Xa(c.parser,Q,fs(c.envName))},htmlBuilder:hs,mathmlBuilder:Ki}),Pa({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(c){var f={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[c.envName],h={hskipBeforeAndAfter:!1},x=Xa(c.parser,h,fs(c.envName));return f?{type:"leftright",mode:c.mode,body:[x],left:f[0],right:f[1],rightColor:void 0}:x},htmlBuilder:hs,mathmlBuilder:Ki}),Pa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(c){var f={arraystretch:.5},h=Xa(c.parser,f,"script");return h.colSeparationType="small",h},htmlBuilder:hs,mathmlBuilder:Ki}),Pa({type:"array",names:["subarray"],props:{numArgs:1},handler:function(c,f){var h=lr(f[0]),x=h?[f[0]]:nn(f[0],"ordgroup").body,B=x.map(function(Me){var qe=ur(Me),Et=qe.text;if("lc".indexOf(Et)!==-1)return{type:"align",align:Et};throw new g("Unknown column alignment: "+Et,Me)});if(B.length>1)throw new g("{subarray} can contain only one column");var Q={cols:B,hskipBeforeAndAfter:!1,arraystretch:.5};if(Q=Xa(c.parser,Q,"script"),Q.body[0].length>1)throw new g("{subarray} can contain only one column");return Q},htmlBuilder:hs,mathmlBuilder:Ki}),Pa({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(c){var f={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},h=Xa(c.parser,f,fs(c.envName));return{type:"leftright",mode:c.mode,body:[h],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:hs,mathmlBuilder:Ki}),Pa({type:"array",names:["aligned"],props:{numArgs:0},handler:Vi,htmlBuilder:hs,mathmlBuilder:Ki}),Pa({type:"array",names:["gathered"],props:{numArgs:0},handler:function(c){var f={cols:[{type:"align",align:"c"}],addJot:!0};return Xa(c.parser,f,"display")},htmlBuilder:hs,mathmlBuilder:Ki}),Pa({type:"array",names:["alignedat"],props:{numArgs:1},handler:Vi,htmlBuilder:hs,mathmlBuilder:Ki}),Zn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(c,f){throw new g(c.funcName+" valid only within array environment")}});var aa=rs,Ma=aa;Zn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(c,f){var h=c.parser,x=c.funcName,B=f[0];if(B.type!=="ordgroup")throw new g("Invalid environment name",B);for(var Q="",Me=0;Me<B.body.length;++Me)Q+=nn(B.body[Me],"textord").text;if(x==="\\begin"){if(!Ma.hasOwnProperty(Q))throw new g("No such environment: "+Q,B);var qe=Ma[Q],Et=h.parseArguments("\\begin{"+Q+"}",qe),Yt=Et.args,hn=Et.optArgs,Cn={mode:h.mode,envName:Q,parser:h},kn=qe.handler(Cn,Yt,hn);h.expect("\\end",!1);var Hn=h.nextToken,Wn=nn(h.parseFunction(),"environment");if(Wn.name!==Q)throw new g("Mismatch: \\begin{"+Q+"} matched by \\end{"+Wn.name+"}",Hn);return kn}return{type:"environment",mode:h.mode,name:Q,nameGroup:B}}});var Ka=rn.makeSpan;function _s(Z,c){var f=_r(Z.body,c,!0);return Ka([Z.mclass],f,c)}function Ls(Z,c){var f,h=Mi(Z.body,c);return Z.mclass==="minner"?ar.newDocumentFragment(h):(Z.mclass==="mord"?Z.isCharacterBox?(f=h[0],f.type="mi"):f=new ar.MathNode("mi",h):(Z.isCharacterBox?(f=h[0],f.type="mo"):f=new ar.MathNode("mo",h),Z.mclass==="mbin"?(f.attributes.lspace="0.22em",f.attributes.rspace="0.22em"):Z.mclass==="mpunct"?(f.attributes.lspace="0em",f.attributes.rspace="0.17em"):(Z.mclass==="mopen"||Z.mclass==="mclose")&&(f.attributes.lspace="0em",f.attributes.rspace="0em")),f)}Zn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(c,f){var h=c.parser,x=c.funcName,B=f[0];return{type:"mclass",mode:h.mode,mclass:"m"+x.substr(5),body:wr(B),isCharacterBox:$.isCharacterBox(B)}},htmlBuilder:_s,mathmlBuilder:Ls});var ys=function(c){var f=c.type==="ordgroup"&&c.body.length?c.body[0]:c;return f.type==="atom"&&(f.family==="bin"||f.family==="rel")?"m"+f.family:"mord"};Zn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(c,f){var h=c.parser;return{type:"mclass",mode:h.mode,mclass:ys(f[0]),body:[f[1]],isCharacterBox:$.isCharacterBox(f[1])}}}),Zn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(c,f){var h=c.parser,x=c.funcName,B=f[1],Q=f[0],Me;x!=="\\stackrel"?Me=ys(B):Me="mrel";var qe={type:"op",mode:B.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:x!=="\\stackrel",body:wr(B)},Et={type:"supsub",mode:Q.mode,base:qe,sup:x==="\\underset"?null:Q,sub:x==="\\underset"?Q:null};return{type:"mclass",mode:h.mode,mclass:Me,body:[Et],isCharacterBox:$.isCharacterBox(Et)}},htmlBuilder:_s,mathmlBuilder:Ls});var Ys=function(c,f){var h=c.font,x=f.withFont(h);return En(c.body,x)},Os=function(c,f){var h=c.font,x=f.withFont(h);return Gr(c.body,x)},Ps={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Zn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(c,f){var h=c.parser,x=c.funcName,B=f[0],Q=x;return Q in Ps&&(Q=Ps[Q]),{type:"font",mode:h.mode,font:Q.slice(1),body:B}},htmlBuilder:Ys,mathmlBuilder:Os}),Zn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(c,f){var h=c.parser,x=f[0],B=$.isCharacterBox(x);return{type:"mclass",mode:h.mode,mclass:ys(x),body:[{type:"font",mode:h.mode,font:"boldsymbol",body:x}],isCharacterBox:B}}}),Zn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(c,f){var h=c.parser,x=c.funcName,B=c.breakOnTokenText,Q=h.mode,Me=h.parseExpression(!0,B),qe="math"+x.slice(1);return{type:"font",mode:Q,font:qe,body:{type:"ordgroup",mode:h.mode,body:Me}}},htmlBuilder:Ys,mathmlBuilder:Os});var Xs=function(c,f){var h=f;return c==="display"?h=h.id>=_.SCRIPT.id?h.text():_.DISPLAY:c==="text"&&h.size===_.DISPLAY.size?h=_.TEXT:c==="script"?h=_.SCRIPT:c==="scriptscript"&&(h=_.SCRIPTSCRIPT),h},Zs=function(c,f){var h=Xs(c.size,f.style),x=h.fracNum(),B=h.fracDen(),Q;Q=f.havingStyle(x);var Me=En(c.numer,Q,f);if(c.continued){var qe=8.5/f.fontMetrics().ptPerEm,Et=3.5/f.fontMetrics().ptPerEm;Me.height=Me.height<qe?qe:Me.height,Me.depth=Me.depth<Et?Et:Me.depth}Q=f.havingStyle(B);var Yt=En(c.denom,Q,f),hn,Cn,kn;c.hasBarLine?(c.barSize?(Cn=Ye(c.barSize,f),hn=rn.makeLineSpan("frac-line",f,Cn)):hn=rn.makeLineSpan("frac-line",f),Cn=hn.height,kn=hn.height):(hn=null,Cn=0,kn=f.fontMetrics().defaultRuleThickness);var Hn,Wn,ir;h.size===_.DISPLAY.size||c.size==="display"?(Hn=f.fontMetrics().num1,Cn>0?Wn=3*kn:Wn=7*kn,ir=f.fontMetrics().denom1):(Cn>0?(Hn=f.fontMetrics().num2,Wn=kn):(Hn=f.fontMetrics().num3,Wn=3*kn),ir=f.fontMetrics().denom2);var Jn;if(hn){var fr=f.fontMetrics().axisHeight;Hn-Me.depth-(fr+.5*Cn)<Wn&&(Hn+=Wn-(Hn-Me.depth-(fr+.5*Cn))),fr-.5*Cn-(Yt.height-ir)<Wn&&(ir+=Wn-(fr-.5*Cn-(Yt.height-ir)));var Tr=-(fr-.5*Cn);Jn=rn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Yt,shift:ir},{type:"elem",elem:hn,shift:Tr},{type:"elem",elem:Me,shift:-Hn}]},f)}else{var nr=Hn-Me.depth-(Yt.height-ir);nr<Wn&&(Hn+=.5*(Wn-nr),ir+=.5*(Wn-nr)),Jn=rn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Yt,shift:ir},{type:"elem",elem:Me,shift:-Hn}]},f)}Q=f.havingStyle(h),Jn.height*=Q.sizeMultiplier/f.sizeMultiplier,Jn.depth*=Q.sizeMultiplier/f.sizeMultiplier;var Pr;h.size===_.DISPLAY.size?Pr=f.fontMetrics().delim1:Pr=f.fontMetrics().delim2;var mr,Yr;return c.leftDelim==null?mr=on(f,["mopen"]):mr=gi.customSizedDelim(c.leftDelim,Pr,!0,f.havingStyle(h),c.mode,["mopen"]),c.continued?Yr=rn.makeSpan([]):c.rightDelim==null?Yr=on(f,["mclose"]):Yr=gi.customSizedDelim(c.rightDelim,Pr,!0,f.havingStyle(h),c.mode,["mclose"]),rn.makeSpan(["mord"].concat(Q.sizingClasses(f)),[mr,rn.makeSpan(["mfrac"],[Jn]),Yr],f)},so=function(c,f){var h=new ar.MathNode("mfrac",[Gr(c.numer,f),Gr(c.denom,f)]);if(!c.hasBarLine)h.setAttribute("linethickness","0px");else if(c.barSize){var x=Ye(c.barSize,f);h.setAttribute("linethickness",x+"em")}var B=Xs(c.size,f.style);if(B.size!==f.style.size){h=new ar.MathNode("mstyle",[h]);var Q=B.size===_.DISPLAY.size?"true":"false";h.setAttribute("displaystyle",Q),h.setAttribute("scriptlevel","0")}if(c.leftDelim!=null||c.rightDelim!=null){var Me=[];if(c.leftDelim!=null){var qe=new ar.MathNode("mo",[new ar.TextNode(c.leftDelim.replace("\\",""))]);qe.setAttribute("fence","true"),Me.push(qe)}if(Me.push(h),c.rightDelim!=null){var Et=new ar.MathNode("mo",[new ar.TextNode(c.rightDelim.replace("\\",""))]);Et.setAttribute("fence","true"),Me.push(Et)}return Yi(Me)}return h};Zn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(c,f){var h=c.parser,x=c.funcName,B=f[0],Q=f[1],Me,qe=null,Et=null,Yt="auto";switch(x){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Me=!0;break;case"\\\\atopfrac":Me=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Me=!1,qe="(",Et=")";break;case"\\\\bracefrac":Me=!1,qe="\\{",Et="\\}";break;case"\\\\brackfrac":Me=!1,qe="[",Et="]";break;default:throw new Error("Unrecognized genfrac command")}switch(x){case"\\cfrac":case"\\dfrac":case"\\dbinom":Yt="display";break;case"\\tfrac":case"\\tbinom":Yt="text";break}return{type:"genfrac",mode:h.mode,continued:x==="\\cfrac",numer:B,denom:Q,hasBarLine:Me,leftDelim:qe,rightDelim:Et,size:Yt,barSize:null}},htmlBuilder:Zs,mathmlBuilder:so}),Zn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(c){var f=c.parser,h=c.funcName,x=c.token,B;switch(h){case"\\over":B="\\frac";break;case"\\choose":B="\\binom";break;case"\\atop":B="\\\\atopfrac";break;case"\\brace":B="\\\\bracefrac";break;case"\\brack":B="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:f.mode,replaceWith:B,token:x}}});var Ha=["display","text","script","scriptscript"],Qa=function(c){var f=null;return c.length>0&&(f=c,f=f==="."?null:f),f};Zn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(c,f){var h=c.parser,x=f[4],B=f[5],Q=pn(f[0],"atom");Q&&(Q=or(f[0],"open"));var Me=Q?Qa(Q.text):null,qe=pn(f[1],"atom");qe&&(qe=or(f[1],"close"));var Et=qe?Qa(qe.text):null,Yt=nn(f[2],"size"),hn,Cn=null;Yt.isBlank?hn=!0:(Cn=Yt.value,hn=Cn.number>0);var kn="auto",Hn=pn(f[3],"ordgroup");if(Hn){if(Hn.body.length>0){var Wn=nn(Hn.body[0],"textord");kn=Ha[Number(Wn.text)]}}else Hn=nn(f[3],"textord"),kn=Ha[Number(Hn.text)];return{type:"genfrac",mode:h.mode,numer:x,denom:B,continued:!1,hasBarLine:hn,barSize:Cn,leftDelim:Me,rightDelim:Et,size:kn}},htmlBuilder:Zs,mathmlBuilder:so}),Zn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(c,f){var h=c.parser,x=c.funcName,B=c.token;return{type:"infix",mode:h.mode,replaceWith:"\\\\abovefrac",size:nn(f[0],"size").value,token:B}}}),Zn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(c,f){var h=c.parser,x=c.funcName,B=f[0],Q=W(nn(f[1],"infix").size),Me=f[2],qe=Q.number>0;return{type:"genfrac",mode:h.mode,numer:B,denom:Me,continued:!1,hasBarLine:qe,barSize:Q,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Zs,mathmlBuilder:so});var Bo=function(c,f){var h=f.style,x,B,Q=pn(c,"supsub");Q?(x=Q.sup?En(Q.sup,f.havingStyle(h.sup()),f):En(Q.sub,f.havingStyle(h.sub()),f),B=nn(Q.base,"horizBrace")):B=nn(c,"horizBrace");var Me=En(B.base,f.havingBaseStyle(_.DISPLAY)),qe=wi.svgSpan(B,f),Et;if(B.isOver?(Et=rn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Me},{type:"kern",size:.1},{type:"elem",elem:qe}]},f),Et.children[0].children[0].children[1].classes.push("svg-align")):(Et=rn.makeVList({positionType:"bottom",positionData:Me.depth+.1+qe.height,children:[{type:"elem",elem:qe},{type:"kern",size:.1},{type:"elem",elem:Me}]},f),Et.children[0].children[0].children[0].classes.push("svg-align")),x){var Yt=rn.makeSpan(["mord",B.isOver?"mover":"munder"],[Et],f);B.isOver?Et=rn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Yt},{type:"kern",size:.2},{type:"elem",elem:x}]},f):Et=rn.makeVList({positionType:"bottom",positionData:Yt.depth+.2+x.height+x.depth,children:[{type:"elem",elem:x},{type:"kern",size:.2},{type:"elem",elem:Yt}]},f)}return rn.makeSpan(["mord",B.isOver?"mover":"munder"],[Et],f)},dr=function(c,f){var h=wi.mathMLnode(c.label);return new ar.MathNode(c.isOver?"mover":"munder",[Gr(c.base,f),h])};Zn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(c,f){var h=c.parser,x=c.funcName;return{type:"horizBrace",mode:h.mode,label:x,isOver:/^\\over/.test(x),base:f[0]}},htmlBuilder:Bo,mathmlBuilder:dr}),Zn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(c,f){var h=c.parser,x=f[1],B=nn(f[0],"url").url;return h.settings.isTrusted({command:"\\href",url:B})?{type:"href",mode:h.mode,href:B,body:wr(x)}:h.formatUnsupportedCmd("\\href")},htmlBuilder:function(c,f){var h=_r(c.body,f,!1);return rn.makeAnchor(c.href,[],h,f)},mathmlBuilder:function(c,f){var h=ki(c.body,f);return h instanceof Ar||(h=new Ar("mrow",[h])),h.setAttribute("href",c.href),h}}),Zn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(c,f){var h=c.parser,x=nn(f[0],"url").url;if(!h.settings.isTrusted({command:"\\url",url:x}))return h.formatUnsupportedCmd("\\url");for(var B=[],Q=0;Q<x.length;Q++){var Me=x[Q];Me==="~"&&(Me="\\textasciitilde"),B.push({type:"textord",mode:"text",text:Me})}var qe={type:"text",mode:h.mode,font:"\\texttt",body:B};return{type:"href",mode:h.mode,href:x,body:wr(qe)}}}),Zn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(c,f){var h=c.parser;return{type:"htmlmathml",mode:h.mode,html:wr(f[0]),mathml:wr(f[1])}},htmlBuilder:function(c,f){var h=_r(c.html,f,!1);return rn.makeFragment(h)},mathmlBuilder:function(c,f){return ki(c.mathml,f)}});var oo=function(c){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(c))return{number:+c,unit:"bp"};var f=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(c);if(!f)throw new g("Invalid size: '"+c+"' in \\includegraphics");var h={number:+(f[1]+f[2]),unit:f[3]};if(!Xt(h))throw new g("Invalid unit: '"+h.unit+"' in \\includegraphics.");return h};Zn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(c,f,h){var x=c.parser,B={number:0,unit:"em"},Q={number:.9,unit:"em"},Me={number:0,unit:"em"},qe="";if(h[0])for(var Et=nn(h[0],"raw").string,Yt=Et.split(","),hn=0;hn<Yt.length;hn++){var Cn=Yt[hn].split("=");if(Cn.length===2){var kn=Cn[1].trim();switch(Cn[0].trim()){case"alt":qe=kn;break;case"width":B=oo(kn);break;case"height":Q=oo(kn);break;case"totalheight":Me=oo(kn);break;default:throw new g("Invalid key: '"+Cn[0]+"' in \\includegraphics.")}}}var Hn=nn(f[0],"url").url;return qe===""&&(qe=Hn,qe=qe.replace(/^.*[\\/]/,""),qe=qe.substring(0,qe.lastIndexOf("."))),x.settings.isTrusted({command:"\\includegraphics",url:Hn})?{type:"includegraphics",mode:x.mode,alt:qe,width:B,height:Q,totalheight:Me,src:Hn}:x.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(c,f){var h=Ye(c.height,f),x=0;c.totalheight.number>0&&(x=Ye(c.totalheight,f)-h,x=Number(x.toFixed(2)));var B=0;c.width.number>0&&(B=Ye(c.width,f));var Q={height:h+x+"em"};B>0&&(Q.width=B+"em"),x>0&&(Q.verticalAlign=-x+"em");var Me=new H(c.src,c.alt,Q);return Me.height=h,Me.depth=x,Me},mathmlBuilder:function(c,f){var h=new ar.MathNode("mglyph",[]);h.setAttribute("alt",c.alt);var x=Ye(c.height,f),B=0;if(c.totalheight.number>0&&(B=Ye(c.totalheight,f)-x,B=B.toFixed(2),h.setAttribute("valign","-"+B+"em")),h.setAttribute("height",x+B+"em"),c.width.number>0){var Q=Ye(c.width,f);h.setAttribute("width",Q+"em")}return h.setAttribute("src",c.src),h}}),Zn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(c,f){var h=c.parser,x=c.funcName,B=nn(f[0],"size");if(h.settings.strict){var Q=x[1]==="m",Me=B.value.unit==="mu";Q?(Me||h.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+x+" supports only mu units, "+("not "+B.value.unit+" units")),h.mode!=="math"&&h.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+x+" works only in math mode")):Me&&h.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+x+" doesn't support mu units")}return{type:"kern",mode:h.mode,dimension:B.value}},htmlBuilder:function(c,f){return rn.makeGlue(c.dimension,f)},mathmlBuilder:function(c,f){var h=Ye(c.dimension,f);return new ar.SpaceNode(h)}}),Zn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(c,f){var h=c.parser,x=c.funcName,B=f[0];return{type:"lap",mode:h.mode,alignment:x.slice(5),body:B}},htmlBuilder:function(c,f){var h;c.alignment==="clap"?(h=rn.makeSpan([],[En(c.body,f)]),h=rn.makeSpan(["inner"],[h],f)):h=rn.makeSpan(["inner"],[En(c.body,f)]);var x=rn.makeSpan(["fix"],[]),B=rn.makeSpan([c.alignment],[h,x],f),Q=rn.makeSpan(["strut"]);return Q.style.height=B.height+B.depth+"em",Q.style.verticalAlign=-B.depth+"em",B.children.unshift(Q),B=rn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:B}]},f),rn.makeSpan(["mord"],[B],f)},mathmlBuilder:function(c,f){var h=new ar.MathNode("mpadded",[Gr(c.body,f)]);if(c.alignment!=="rlap"){var x=c.alignment==="llap"?"-1":"-0.5";h.setAttribute("lspace",x+"width")}return h.setAttribute("width","0px"),h}}),Zn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(c,f){var h=c.funcName,x=c.parser,B=x.mode;x.switchMode("math");var Q=h==="\\("?"\\)":"$",Me=x.parseExpression(!1,Q);return x.expect(Q),x.switchMode(B),{type:"styling",mode:x.mode,style:"text",body:Me}}}),Zn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(c,f){throw new g("Mismatched "+c.funcName)}});var di=function(c,f){switch(f.style.size){case _.DISPLAY.size:return c.display;case _.TEXT.size:return c.text;case _.SCRIPT.size:return c.script;case _.SCRIPTSCRIPT.size:return c.scriptscript;default:return c.text}};Zn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(c,f){var h=c.parser;return{type:"mathchoice",mode:h.mode,display:wr(f[0]),text:wr(f[1]),script:wr(f[2]),scriptscript:wr(f[3])}},htmlBuilder:function(c,f){var h=di(c,f),x=_r(h,f,!1);return rn.makeFragment(x)},mathmlBuilder:function(c,f){var h=di(c,f);return ki(h,f)}});var js=function(c,f,h,x,B,Q,Me){c=rn.makeSpan([],[c]);var qe,Et;if(f){var Yt=En(f,x.havingStyle(B.sup()),x);Et={elem:Yt,kern:Math.max(x.fontMetrics().bigOpSpacing1,x.fontMetrics().bigOpSpacing3-Yt.depth)}}if(h){var hn=En(h,x.havingStyle(B.sub()),x);qe={elem:hn,kern:Math.max(x.fontMetrics().bigOpSpacing2,x.fontMetrics().bigOpSpacing4-hn.height)}}var Cn;if(Et&&qe){var kn=x.fontMetrics().bigOpSpacing5+qe.elem.height+qe.elem.depth+qe.kern+c.depth+Me;Cn=rn.makeVList({positionType:"bottom",positionData:kn,children:[{type:"kern",size:x.fontMetrics().bigOpSpacing5},{type:"elem",elem:qe.elem,marginLeft:-Q+"em"},{type:"kern",size:qe.kern},{type:"elem",elem:c},{type:"kern",size:Et.kern},{type:"elem",elem:Et.elem,marginLeft:Q+"em"},{type:"kern",size:x.fontMetrics().bigOpSpacing5}]},x)}else if(qe){var Hn=c.height-Me;Cn=rn.makeVList({positionType:"top",positionData:Hn,children:[{type:"kern",size:x.fontMetrics().bigOpSpacing5},{type:"elem",elem:qe.elem,marginLeft:-Q+"em"},{type:"kern",size:qe.kern},{type:"elem",elem:c}]},x)}else if(Et){var Wn=c.depth+Me;Cn=rn.makeVList({positionType:"bottom",positionData:Wn,children:[{type:"elem",elem:c},{type:"kern",size:Et.kern},{type:"elem",elem:Et.elem,marginLeft:Q+"em"},{type:"kern",size:x.fontMetrics().bigOpSpacing5}]},x)}else return c;return rn.makeSpan(["mop","op-limits"],[Cn],x)},Qs=["\\smallint"],Ms=function(c,f){var h,x,B=!1,Q,Me=pn(c,"supsub");Me?(h=Me.sup,x=Me.sub,Q=nn(Me.base,"op"),B=!0):Q=nn(c,"op");var qe=f.style,Et=!1;qe.size===_.DISPLAY.size&&Q.symbol&&!$.contains(Qs,Q.name)&&(Et=!0);var Yt;if(Q.symbol){var hn=Et?"Size2-Regular":"Size1-Regular",Cn="";if((Q.name==="\\oiint"||Q.name==="\\oiiint")&&(Cn=Q.name.substr(1),Q.name=Cn==="oiint"?"\\iint":"\\iiint"),Yt=rn.makeSymbol(Q.name,hn,"math",f,["mop","op-symbol",Et?"large-op":"small-op"]),Cn.length>0){var kn=Yt.italic,Hn=rn.staticSvg(Cn+"Size"+(Et?"2":"1"),f);Yt=rn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Yt,shift:0},{type:"elem",elem:Hn,shift:Et?.08:0}]},f),Q.name="\\"+Cn,Yt.classes.unshift("mop"),Yt.italic=kn}}else if(Q.body){var Wn=_r(Q.body,f,!0);Wn.length===1&&Wn[0]instanceof _e?(Yt=Wn[0],Yt.classes[0]="mop"):Yt=rn.makeSpan(["mop"],rn.tryCombineChars(Wn),f)}else{for(var ir=[],Jn=1;Jn<Q.name.length;Jn++)ir.push(rn.mathsym(Q.name[Jn],Q.mode,f));Yt=rn.makeSpan(["mop"],ir,f)}var nr=0,fr=0;return(Yt instanceof _e||Q.name==="\\oiint"||Q.name==="\\oiiint")&&!Q.suppressBaseShift&&(nr=(Yt.height-Yt.depth)/2-f.fontMetrics().axisHeight,fr=Yt.italic),B?js(Yt,h,x,f,qe,fr,nr):(nr&&(Yt.style.position="relative",Yt.style.top=nr+"em"),Yt)},Js=function(c,f){var h;if(c.symbol)h=new Ar("mo",[_i(c.name,c.mode)]),$.contains(Qs,c.name)&&h.setAttribute("largeop","false");else if(c.body)h=new Ar("mo",Mi(c.body,f));else{h=new Ar("mi",[new cr(c.name.slice(1))]);var x=new Ar("mo",[_i("\u2061","text")]);c.parentIsSupSub?h=new Ar("mo",[h,x]):h=Qr([h,x])}return h},Cl={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Zn({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(c,f){var h=c.parser,x=c.funcName,B=x;return B.length===1&&(B=Cl[B]),{type:"op",mode:h.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:B}},htmlBuilder:Ms,mathmlBuilder:Js}),Zn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(c,f){var h=c.parser,x=f[0];return{type:"op",mode:h.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:wr(x)}},htmlBuilder:Ms,mathmlBuilder:Js});var rl={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Zn({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(c){var f=c.parser,h=c.funcName;return{type:"op",mode:f.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:h}},htmlBuilder:Ms,mathmlBuilder:Js}),Zn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(c){var f=c.parser,h=c.funcName;return{type:"op",mode:f.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:h}},htmlBuilder:Ms,mathmlBuilder:Js}),Zn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(c){var f=c.parser,h=c.funcName,x=h;return x.length===1&&(x=rl[x]),{type:"op",mode:f.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:x}},htmlBuilder:Ms,mathmlBuilder:Js});var xo=function(c,f){var h,x,B=!1,Q,Me=pn(c,"supsub");Me?(h=Me.sup,x=Me.sub,Q=nn(Me.base,"operatorname"),B=!0):Q=nn(c,"operatorname");var qe;if(Q.body.length>0){for(var Et=Q.body.map(function(kn){var Hn=kn.text;return typeof Hn=="string"?{type:"textord",mode:kn.mode,text:Hn}:kn}),Yt=_r(Et,f.withFont("mathrm"),!0),hn=0;hn<Yt.length;hn++){var Cn=Yt[hn];Cn instanceof _e&&(Cn.text=Cn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}qe=rn.makeSpan(["mop"],Yt,f)}else qe=rn.makeSpan(["mop"],[],f);return B?js(qe,h,x,f,f.style,0,0):qe},lo=function(c,f){for(var h=Mi(c.body,f.withFont("mathrm")),x=!0,B=0;B<h.length;B++){var Q=h[B];if(!(Q instanceof ar.SpaceNode))if(Q instanceof ar.MathNode)switch(Q.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Me=Q.children[0];Q.children.length===1&&Me instanceof ar.TextNode?Me.text=Me.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):x=!1;break}default:x=!1}else x=!1}if(x){var qe=h.map(function(hn){return hn.toText()}).join("");h=[new ar.TextNode(qe)]}var Et=new ar.MathNode("mi",h);Et.setAttribute("mathvariant","normal");var Yt=new ar.MathNode("mo",[_i("\u2061","text")]);return c.parentIsSupSub?new ar.MathNode("mo",[Et,Yt]):ar.newDocumentFragment([Et,Yt])};Zn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(c,f){var h=c.parser,x=c.funcName,B=f[0];return{type:"operatorname",mode:h.mode,body:wr(B),alwaysHandleSupSub:x==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:xo,mathmlBuilder:lo}),Cr({type:"ordgroup",htmlBuilder:function(c,f){return c.semisimple?rn.makeFragment(_r(c.body,f,!1)):rn.makeSpan(["mord"],_r(c.body,f,!0),f)},mathmlBuilder:function(c,f){return ki(c.body,f,!0)}}),Zn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(c,f){var h=c.parser,x=f[0];return{type:"overline",mode:h.mode,body:x}},htmlBuilder:function(c,f){var h=En(c.body,f.havingCrampedStyle()),x=rn.makeLineSpan("overline-line",f),B=f.fontMetrics().defaultRuleThickness,Q=rn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h},{type:"kern",size:3*B},{type:"elem",elem:x},{type:"kern",size:B}]},f);return rn.makeSpan(["mord","overline"],[Q],f)},mathmlBuilder:function(c,f){var h=new ar.MathNode("mo",[new ar.TextNode("\u203E")]);h.setAttribute("stretchy","true");var x=new ar.MathNode("mover",[Gr(c.body,f),h]);return x.setAttribute("accent","true"),x}}),Zn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(c,f){var h=c.parser,x=f[0];return{type:"phantom",mode:h.mode,body:wr(x)}},htmlBuilder:function(c,f){var h=_r(c.body,f.withPhantom(),!1);return rn.makeFragment(h)},mathmlBuilder:function(c,f){var h=Mi(c.body,f);return new ar.MathNode("mphantom",h)}}),Zn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(c,f){var h=c.parser,x=f[0];return{type:"hphantom",mode:h.mode,body:x}},htmlBuilder:function(c,f){var h=rn.makeSpan([],[En(c.body,f.withPhantom())]);if(h.height=0,h.depth=0,h.children)for(var x=0;x<h.children.length;x++)h.children[x].height=0,h.children[x].depth=0;return h=rn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h}]},f),rn.makeSpan(["mord"],[h],f)},mathmlBuilder:function(c,f){var h=Mi(wr(c.body),f),x=new ar.MathNode("mphantom",h),B=new ar.MathNode("mpadded",[x]);return B.setAttribute("height","0px"),B.setAttribute("depth","0px"),B}}),Zn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(c,f){var h=c.parser,x=f[0];return{type:"vphantom",mode:h.mode,body:x}},htmlBuilder:function(c,f){var h=rn.makeSpan(["inner"],[En(c.body,f.withPhantom())]),x=rn.makeSpan(["fix"],[]);return rn.makeSpan(["mord","rlap"],[h,x],f)},mathmlBuilder:function(c,f){var h=Mi(wr(c.body),f),x=new ar.MathNode("mphantom",h),B=new ar.MathNode("mpadded",[x]);return B.setAttribute("width","0px"),B}}),Zn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(c,f){var h=c.parser,x=nn(f[0],"size").value,B=f[1];return{type:"raisebox",mode:h.mode,dy:x,body:B}},htmlBuilder:function(c,f){var h=En(c.body,f),x=Ye(c.dy,f);return rn.makeVList({positionType:"shift",positionData:-x,children:[{type:"elem",elem:h}]},f)},mathmlBuilder:function(c,f){var h=new ar.MathNode("mpadded",[Gr(c.body,f)]),x=c.dy.number+c.dy.unit;return h.setAttribute("voffset",x),h}}),Zn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(c,f,h){var x=c.parser,B=h[0],Q=nn(f[0],"size"),Me=nn(f[1],"size");return{type:"rule",mode:x.mode,shift:B&&nn(B,"size").value,width:Q.value,height:Me.value}},htmlBuilder:function(c,f){var h=rn.makeSpan(["mord","rule"],[],f),x=Ye(c.width,f),B=Ye(c.height,f),Q=c.shift?Ye(c.shift,f):0;return h.style.borderRightWidth=x+"em",h.style.borderTopWidth=B+"em",h.style.bottom=Q+"em",h.width=x,h.height=B+Q,h.depth=-Q,h.maxFontSize=B*1.125*f.sizeMultiplier,h},mathmlBuilder:function(c,f){var h=Ye(c.width,f),x=Ye(c.height,f),B=c.shift?Ye(c.shift,f):0,Q=f.color&&f.getColor()||"black",Me=new ar.MathNode("mspace");Me.setAttribute("mathbackground",Q),Me.setAttribute("width",h+"em"),Me.setAttribute("height",x+"em");var qe=new ar.MathNode("mpadded",[Me]);return B>=0?qe.setAttribute("height","+"+B+"em"):(qe.setAttribute("height",B+"em"),qe.setAttribute("depth","+"+-B+"em")),qe.setAttribute("voffset",B+"em"),qe}});function qs(Z,c,f){for(var h=_r(Z,c,!1),x=c.sizeMultiplier/f.sizeMultiplier,B=0;B<h.length;B++){var Q=h[B].classes.indexOf("sizing");Q<0?Array.prototype.push.apply(h[B].classes,c.sizingClasses(f)):h[B].classes[Q+1]==="reset-size"+c.size&&(h[B].classes[Q+1]="reset-size"+f.size),h[B].height*=x,h[B].depth*=x}return rn.makeFragment(h)}var Fo=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],wl=function(c,f){var h=f.havingSize(c.size);return qs(c.body,h,f)};Zn({type:"sizing",names:Fo,props:{numArgs:0,allowedInText:!0},handler:function(c,f){var h=c.breakOnTokenText,x=c.funcName,B=c.parser,Q=B.parseExpression(!1,h);return{type:"sizing",mode:B.mode,size:Fo.indexOf(x)+1,body:Q}},htmlBuilder:wl,mathmlBuilder:function(c,f){var h=f.havingSize(c.size),x=Mi(c.body,h),B=new ar.MathNode("mstyle",x);return B.setAttribute("mathsize",h.sizeMultiplier+"em"),B}}),Zn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(c,f,h){var x=c.parser,B=!1,Q=!1,Me=h[0]&&nn(h[0],"ordgroup");if(Me)for(var qe="",Et=0;Et<Me.body.length;++Et){var Yt=Me.body[Et];if(qe=Yt.text,qe==="t")B=!0;else if(qe==="b")Q=!0;else{B=!1,Q=!1;break}}else B=!0,Q=!0;var hn=f[0];return{type:"smash",mode:x.mode,body:hn,smashHeight:B,smashDepth:Q}},htmlBuilder:function(c,f){var h=rn.makeSpan([],[En(c.body,f)]);if(!c.smashHeight&&!c.smashDepth)return h;if(c.smashHeight&&(h.height=0,h.children))for(var x=0;x<h.children.length;x++)h.children[x].height=0;if(c.smashDepth&&(h.depth=0,h.children))for(var B=0;B<h.children.length;B++)h.children[B].depth=0;var Q=rn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h}]},f);return rn.makeSpan(["mord"],[Q],f)},mathmlBuilder:function(c,f){var h=new ar.MathNode("mpadded",[Gr(c.body,f)]);return c.smashHeight&&h.setAttribute("height","0px"),c.smashDepth&&h.setAttribute("depth","0px"),h}}),Zn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(c,f,h){var x=c.parser,B=h[0],Q=f[0];return{type:"sqrt",mode:x.mode,body:Q,index:B}},htmlBuilder:function(c,f){var h=En(c.body,f.havingCrampedStyle());h.height===0&&(h.height=f.fontMetrics().xHeight),h=rn.wrapFragment(h,f);var x=f.fontMetrics(),B=x.defaultRuleThickness,Q=B;f.style.id<_.TEXT.id&&(Q=f.fontMetrics().xHeight);var Me=B+Q/4,qe=h.height+h.depth+Me+B,Et=gi.sqrtImage(qe,f),Yt=Et.span,hn=Et.ruleWidth,Cn=Et.advanceWidth,kn=Yt.height-hn;kn>h.height+h.depth+Me&&(Me=(Me+kn-h.height-h.depth)/2);var Hn=Yt.height-h.height-Me-hn;h.style.paddingLeft=Cn+"em";var Wn=rn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h,wrapperClasses:["svg-align"]},{type:"kern",size:-(h.height+Hn)},{type:"elem",elem:Yt},{type:"kern",size:hn}]},f);if(c.index){var ir=f.havingStyle(_.SCRIPTSCRIPT),Jn=En(c.index,ir,f),nr=.6*(Wn.height-Wn.depth),fr=rn.makeVList({positionType:"shift",positionData:-nr,children:[{type:"elem",elem:Jn}]},f),Tr=rn.makeSpan(["root"],[fr]);return rn.makeSpan(["mord","sqrt"],[Tr,Wn],f)}else return rn.makeSpan(["mord","sqrt"],[Wn],f)},mathmlBuilder:function(c,f){var h=c.body,x=c.index;return x?new ar.MathNode("mroot",[Gr(h,f),Gr(x,f)]):new ar.MathNode("msqrt",[Gr(h,f)])}});var zo={display:_.DISPLAY,text:_.TEXT,script:_.SCRIPT,scriptscript:_.SCRIPTSCRIPT};Zn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(c,f){var h=c.breakOnTokenText,x=c.funcName,B=c.parser,Q=B.parseExpression(!0,h),Me=x.slice(1,x.length-5);return{type:"styling",mode:B.mode,style:Me,body:Q}},htmlBuilder:function(c,f){var h=zo[c.style],x=f.havingStyle(h).withFont("");return qs(c.body,x,f)},mathmlBuilder:function(c,f){var h=zo[c.style],x=f.havingStyle(h),B=Mi(c.body,x),Q=new ar.MathNode("mstyle",B),Me={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},qe=Me[c.style];return Q.setAttribute("scriptlevel",qe[0]),Q.setAttribute("displaystyle",qe[1]),Q}});var _l=function(c,f){var h=c.base;if(h)if(h.type==="op"){var x=h.limits&&(f.style.size===_.DISPLAY.size||h.alwaysHandleSupSub);return x?Ms:null}else if(h.type==="operatorname"){var B=h.alwaysHandleSupSub&&(f.style.size===_.DISPLAY.size||h.limits);return B?xo:null}else{if(h.type==="accent")return $.isCharacterBox(h.base)?xr:null;if(h.type==="horizBrace"){var Q=!c.sub;return Q===h.isOver?Bo:null}else return null}else return null};Cr({type:"supsub",htmlBuilder:function(c,f){var h=_l(c,f);if(h)return h(c,f);var x=c.base,B=c.sup,Q=c.sub,Me=En(x,f),qe,Et,Yt=f.fontMetrics(),hn=0,Cn=0,kn=x&&$.isCharacterBox(x);if(B){var Hn=f.havingStyle(f.style.sup());qe=En(B,Hn,f),kn||(hn=Me.height-Hn.fontMetrics().supDrop*Hn.sizeMultiplier/f.sizeMultiplier)}if(Q){var Wn=f.havingStyle(f.style.sub());Et=En(Q,Wn,f),kn||(Cn=Me.depth+Wn.fontMetrics().subDrop*Wn.sizeMultiplier/f.sizeMultiplier)}var ir;f.style===_.DISPLAY?ir=Yt.sup1:f.style.cramped?ir=Yt.sup3:ir=Yt.sup2;var Jn=f.sizeMultiplier,nr=.5/Yt.ptPerEm/Jn+"em",fr=null;if(Et){var Tr=c.base&&c.base.type==="op"&&c.base.name&&(c.base.name==="\\oiint"||c.base.name==="\\oiiint");(Me instanceof _e||Tr)&&(fr=-Me.italic+"em")}var Pr;if(qe&&Et){hn=Math.max(hn,ir,qe.depth+.25*Yt.xHeight),Cn=Math.max(Cn,Yt.sub2);var mr=Yt.defaultRuleThickness,Yr=4*mr;if(hn-qe.depth-(Et.height-Cn)<Yr){Cn=Yr-(hn-qe.depth)+Et.height;var ni=.8*Yt.xHeight-(hn-qe.depth);ni>0&&(hn+=ni,Cn-=ni)}var Ri=[{type:"elem",elem:Et,shift:Cn,marginRight:nr,marginLeft:fr},{type:"elem",elem:qe,shift:-hn,marginRight:nr}];Pr=rn.makeVList({positionType:"individualShift",children:Ri},f)}else if(Et){Cn=Math.max(Cn,Yt.sub1,Et.height-.8*Yt.xHeight);var xi=[{type:"elem",elem:Et,marginLeft:fr,marginRight:nr}];Pr=rn.makeVList({positionType:"shift",positionData:Cn,children:xi},f)}else if(qe)hn=Math.max(hn,ir,qe.depth+.25*Yt.xHeight),Pr=rn.makeVList({positionType:"shift",positionData:-hn,children:[{type:"elem",elem:qe,marginRight:nr}]},f);else throw new Error("supsub must have either sup or sub.");var mn=Nr(Me,"right")||"mord";return rn.makeSpan([mn],[Me,rn.makeSpan(["msupsub"],[Pr])],f)},mathmlBuilder:function(c,f){var h=!1,x,B,Q=pn(c.base,"horizBrace");Q&&(B=!!c.sup,B===Q.isOver&&(h=!0,x=Q.isOver)),c.base&&(c.base.type==="op"||c.base.type==="operatorname")&&(c.base.parentIsSupSub=!0);var Me=[Gr(c.base,f)];c.sub&&Me.push(Gr(c.sub,f)),c.sup&&Me.push(Gr(c.sup,f));var qe;if(h)qe=x?"mover":"munder";else if(c.sub)if(c.sup){var hn=c.base;hn&&hn.type==="op"&&hn.limits&&f.style===_.DISPLAY||hn&&hn.type==="operatorname"&&hn.alwaysHandleSupSub&&(f.style===_.DISPLAY||hn.limits)?qe="munderover":qe="msubsup"}else{var Yt=c.base;Yt&&Yt.type==="op"&&Yt.limits&&(f.style===_.DISPLAY||Yt.alwaysHandleSupSub)||Yt&&Yt.type==="operatorname"&&Yt.alwaysHandleSupSub&&(Yt.limits||f.style===_.DISPLAY)?qe="munder":qe="msub"}else{var Et=c.base;Et&&Et.type==="op"&&Et.limits&&(f.style===_.DISPLAY||Et.alwaysHandleSupSub)||Et&&Et.type==="operatorname"&&Et.alwaysHandleSupSub&&(Et.limits||f.style===_.DISPLAY)?qe="mover":qe="msup"}var Cn=new ar.MathNode(qe,Me);return Cn}}),Cr({type:"atom",htmlBuilder:function(c,f){return rn.mathsym(c.text,c.mode,f,["m"+c.family])},mathmlBuilder:function(c,f){var h=new ar.MathNode("mo",[_i(c.text,c.mode)]);if(c.family==="bin"){var x=$i(c,f);x==="bold-italic"&&h.setAttribute("mathvariant",x)}else c.family==="punct"?h.setAttribute("separator","true"):(c.family==="open"||c.family==="close")&&h.setAttribute("stretchy","false");return h}});var Eo={mi:"italic",mn:"normal",mtext:"normal"};Cr({type:"mathord",htmlBuilder:function(c,f){return rn.makeOrd(c,f,"mathord")},mathmlBuilder:function(c,f){var h=new ar.MathNode("mi",[_i(c.text,c.mode,f)]),x=$i(c,f)||"italic";return x!==Eo[h.type]&&h.setAttribute("mathvariant",x),h}}),Cr({type:"textord",htmlBuilder:function(c,f){return rn.makeOrd(c,f,"textord")},mathmlBuilder:function(c,f){var h=_i(c.text,c.mode,f),x=$i(c,f)||"normal",B;return c.mode==="text"?B=new ar.MathNode("mtext",[h]):/[0-9]/.test(c.text)?B=new ar.MathNode("mn",[h]):c.text==="\\prime"?B=new ar.MathNode("mo",[h]):B=new ar.MathNode("mi",[h]),x!==Eo[B.type]&&B.setAttribute("mathvariant",x),B}});var po={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},eo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Cr({type:"spacing",htmlBuilder:function(c,f){if(eo.hasOwnProperty(c.text)){var h=eo[c.text].className||"";if(c.mode==="text"){var x=rn.makeOrd(c,f,"textord");return x.classes.push(h),x}else return rn.makeSpan(["mspace",h],[rn.mathsym(c.text,c.mode,f)],f)}else{if(po.hasOwnProperty(c.text))return rn.makeSpan(["mspace",po[c.text]],[],f);throw new g('Unknown type of space "'+c.text+'"')}},mathmlBuilder:function(c,f){var h;if(eo.hasOwnProperty(c.text))h=new ar.MathNode("mtext",[new ar.TextNode("\xA0")]);else{if(po.hasOwnProperty(c.text))return new ar.MathNode("mspace");throw new g('Unknown type of space "'+c.text+'"')}return h}});var uo=function(){var c=new ar.MathNode("mtd",[]);return c.setAttribute("width","50%"),c};Cr({type:"tag",mathmlBuilder:function(c,f){var h=new ar.MathNode("mtable",[new ar.MathNode("mtr",[uo(),new ar.MathNode("mtd",[ki(c.body,f)]),uo(),new ar.MathNode("mtd",[ki(c.tag,f)])])]);return h.setAttribute("width","100%"),h}});var Zo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},jo={"\\textbf":"textbf","\\textmd":"textmd"},Uo={"\\textit":"textit","\\textup":"textup"},So=function(c,f){var h=c.font;return h?Zo[h]?f.withTextFontFamily(Zo[h]):jo[h]?f.withTextFontWeight(jo[h]):f.withTextFontShape(Uo[h]):f};Zn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(c,f){var h=c.parser,x=c.funcName,B=f[0];return{type:"text",mode:h.mode,body:wr(B),font:x}},htmlBuilder:function(c,f){var h=So(c,f),x=_r(c.body,h,!0);return rn.makeSpan(["mord","text"],rn.tryCombineChars(x),h)},mathmlBuilder:function(c,f){var h=So(c,f);return ki(c.body,h)}}),Zn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(c,f){var h=c.parser;return{type:"underline",mode:h.mode,body:f[0]}},htmlBuilder:function(c,f){var h=En(c.body,f),x=rn.makeLineSpan("underline-line",f),B=f.fontMetrics().defaultRuleThickness,Q=rn.makeVList({positionType:"top",positionData:h.height,children:[{type:"kern",size:B},{type:"elem",elem:x},{type:"kern",size:3*B},{type:"elem",elem:h}]},f);return rn.makeSpan(["mord","underline"],[Q],f)},mathmlBuilder:function(c,f){var h=new ar.MathNode("mo",[new ar.TextNode("\u203E")]);h.setAttribute("stretchy","true");var x=new ar.MathNode("munder",[Gr(c.body,f),h]);return x.setAttribute("accentunder","true"),x}}),Zn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(c,f,h){throw new g("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(c,f){for(var h=Ko(c),x=[],B=f.havingStyle(f.style.text()),Q=0;Q<h.length;Q++){var Me=h[Q];Me==="~"&&(Me="\\textasciitilde"),x.push(rn.makeSymbol(Me,"Typewriter-Regular",c.mode,B,["mord","texttt"]))}return rn.makeSpan(["mord","text"].concat(B.sizingClasses(f)),rn.tryCombineChars(x),B)},mathmlBuilder:function(c,f){var h=new ar.TextNode(Ko(c)),x=new ar.MathNode("mtext",[h]);return x.setAttribute("mathvariant","monospace"),x}});var Ko=function(c){return c.body.replace(/ /g,c.star?"\u2423":"\xA0")},Co=Xn,co=Co,Ho=`[ \r
|
|
|
]`,wo="\\\\[a-zA-Z@]+",il="\\\\[^\uD800-\uDFFF]",al=""+wo+Ho+"*",sl=new RegExp("^("+wo+")"+Ho+"*$"),_o="[\u0300-\u036F]",Al=new RegExp(_o+"+$"),go="("+Ho+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(_o+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(_o+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+al)+("|"+il+")"),ol=function(){function Z(f,h){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=f,this.settings=h,this.tokenRegex=new RegExp(go,"g"),this.catcodes={"%":14}}var c=Z.prototype;return c.setCatcode=function(h,x){this.catcodes[h]=x},c.lex=function(){var h=this.input,x=this.tokenRegex.lastIndex;if(x===h.length)return new ce("EOF",new L(this,x,x));var B=this.tokenRegex.exec(h);if(B===null||B.index!==x)throw new g("Unexpected character: '"+h[x]+"'",new ce(h[x],new L(this,x,x+1)));var Q=B[2]||" ";if(this.catcodes[Q]===14){var Me=h.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return Me===-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=Me+1,this.lex()}var qe=Q.match(sl);return qe&&(Q=qe[1]),new ce(Q,new L(this,x,this.tokenRegex.lastIndex))},Z}(),ll=function(){function Z(f,h){f===void 0&&(f={}),h===void 0&&(h={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=h,this.builtins=f,this.undefStack=[]}var c=Z.prototype;return c.beginGroup=function(){this.undefStack.push({})},c.endGroup=function(){if(this.undefStack.length===0)throw new g("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var h=this.undefStack.pop();for(var x in h)h.hasOwnProperty(x)&&(h[x]===void 0?delete this.current[x]:this.current[x]=h[x])},c.has=function(h){return this.current.hasOwnProperty(h)||this.builtins.hasOwnProperty(h)},c.get=function(h){return this.current.hasOwnProperty(h)?this.current[h]:this.builtins[h]},c.set=function(h,x,B){if(B===void 0&&(B=!1),B){for(var Q=0;Q<this.undefStack.length;Q++)delete this.undefStack[Q][h];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][h]=x)}else{var Me=this.undefStack[this.undefStack.length-1];Me&&!Me.hasOwnProperty(h)&&(Me[h]=this.current[h])}this.current[h]=x},Z}(),Wo={},ul=Wo;function jt(Z,c){Wo[Z]=c}jt("\\@firstoftwo",function(Z){var c=Z.consumeArgs(2);return{tokens:c[0],numArgs:0}}),jt("\\@secondoftwo",function(Z){var c=Z.consumeArgs(2);return{tokens:c[1],numArgs:0}}),jt("\\@ifnextchar",function(Z){var c=Z.consumeArgs(3),f=Z.future();return c[0].length===1&&c[0][0].text===f.text?{tokens:c[1],numArgs:0}:{tokens:c[2],numArgs:0}}),jt("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),jt("\\TextOrMath",function(Z){var c=Z.consumeArgs(2);return Z.mode==="text"?{tokens:c[0],numArgs:0}:{tokens:c[1],numArgs:0}});var $o={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};jt("\\char",function(Z){var c=Z.popToken(),f,h="";if(c.text==="'")f=8,c=Z.popToken();else if(c.text==='"')f=16,c=Z.popToken();else if(c.text==="`")if(c=Z.popToken(),c.text[0]==="\\")h=c.text.charCodeAt(1);else{if(c.text==="EOF")throw new g("\\char` missing argument");h=c.text.charCodeAt(0)}else f=10;if(f){if(h=$o[c.text],h==null||h>=f)throw new g("Invalid base-"+f+" digit "+c.text);for(var x;(x=$o[Z.future().text])!=null&&x<f;)h*=f,h+=x,Z.popToken()}return"\\@char{"+h+"}"});var Ao=function(c,f){var h=c.consumeArgs(1)[0];if(h.length!==1)throw new g("\\gdef's first argument must be a macro name");var x=h[0].text,B=0;for(h=c.consumeArgs(1)[0];h.length===1&&h[0].text==="#";){if(h=c.consumeArgs(1)[0],h.length!==1)throw new g('Invalid argument number length "'+h.length+'"');if(!/^[1-9]$/.test(h[0].text))throw new g('Invalid argument number "'+h[0].text+'"');if(B++,parseInt(h[0].text)!==B)throw new g('Argument number "'+h[0].text+'" out of order');h=c.consumeArgs(1)[0]}return c.macros.set(x,{tokens:h,numArgs:B},f),""};jt("\\gdef",function(Z){return Ao(Z,!0)}),jt("\\def",function(Z){return Ao(Z,!1)}),jt("\\global",function(Z){var c=Z.consumeArgs(1)[0];if(c.length!==1)throw new g("Invalid command after \\global");var f=c[0].text;if(f==="\\def")return Ao(Z,!0);throw new g("Invalid command '"+f+"' after \\global")});var To=function(c,f,h){var x=c.consumeArgs(1)[0];if(x.length!==1)throw new g("\\newcommand's first argument must be a macro name");var B=x[0].text,Q=c.isDefined(B);if(Q&&!f)throw new g("\\newcommand{"+B+"} attempting to redefine "+(B+"; use \\renewcommand"));if(!Q&&!h)throw new g("\\renewcommand{"+B+"} when command "+B+" does not yet exist; use \\newcommand");var Me=0;if(x=c.consumeArgs(1)[0],x.length===1&&x[0].text==="["){for(var qe="",Et=c.expandNextToken();Et.text!=="]"&&Et.text!=="EOF";)qe+=Et.text,Et=c.expandNextToken();if(!qe.match(/^\s*[0-9]+\s*$/))throw new g("Invalid number of arguments: "+qe);Me=parseInt(qe),x=c.consumeArgs(1)[0]}return c.macros.set(B,{tokens:x,numArgs:Me}),""};jt("\\newcommand",function(Z){return To(Z,!1,!0)}),jt("\\renewcommand",function(Z){return To(Z,!0,!1)}),jt("\\providecommand",function(Z){return To(Z,!0,!0)}),jt("\\bgroup","{"),jt("\\egroup","}"),jt("\\lq","`"),jt("\\rq","'"),jt("\\aa","\\r a"),jt("\\AA","\\r A"),jt("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),jt("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),jt("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),jt("\u212C","\\mathscr{B}"),jt("\u2130","\\mathscr{E}"),jt("\u2131","\\mathscr{F}"),jt("\u210B","\\mathscr{H}"),jt("\u2110","\\mathscr{I}"),jt("\u2112","\\mathscr{L}"),jt("\u2133","\\mathscr{M}"),jt("\u211B","\\mathscr{R}"),jt("\u212D","\\mathfrak{C}"),jt("\u210C","\\mathfrak{H}"),jt("\u2128","\\mathfrak{Z}"),jt("\\Bbbk","\\Bbb{k}"),jt("\xB7","\\cdotp"),jt("\\llap","\\mathllap{\\textrm{#1}}"),jt("\\rlap","\\mathrlap{\\textrm{#1}}"),jt("\\clap","\\mathclap{\\textrm{#1}}"),jt("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),jt("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),jt("\\ne","\\neq"),jt("\u2260","\\neq"),jt("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),jt("\u2209","\\notin"),jt("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),jt("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),jt("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),jt("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),jt("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),jt("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),jt("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),jt("\u27C2","\\perp"),jt("\u203C","\\mathclose{!\\mkern-0.8mu!}"),jt("\u220C","\\notni"),jt("\u231C","\\ulcorner"),jt("\u231D","\\urcorner"),jt("\u231E","\\llcorner"),jt("\u231F","\\lrcorner"),jt("\xA9","\\copyright"),jt("\xAE","\\textregistered"),jt("\uFE0F","\\textregistered"),jt("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),jt("\u22EE","\\vdots"),jt("\\varGamma","\\mathit{\\Gamma}"),jt("\\varDelta","\\mathit{\\Delta}"),jt("\\varTheta","\\mathit{\\Theta}"),jt("\\varLambda","\\mathit{\\Lambda}"),jt("\\varXi","\\mathit{\\Xi}"),jt("\\varPi","\\mathit{\\Pi}"),jt("\\varSigma","\\mathit{\\Sigma}"),jt("\\varUpsilon","\\mathit{\\Upsilon}"),jt("\\varPhi","\\mathit{\\Phi}"),jt("\\varPsi","\\mathit{\\Psi}"),jt("\\varOmega","\\mathit{\\Omega}"),jt("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),jt("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),jt("\\boxed","\\fbox{$\\displaystyle{#1}$}"),jt("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),jt("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),jt("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Vo={",":"\\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"};jt("\\dots",function(Z){var c="\\dotso",f=Z.expandAfterFuture().text;return f in Vo?c=Vo[f]:(f.substr(0,4)==="\\not"||f in pt.math&&$.contains(["bin","rel"],pt.math[f].group))&&(c="\\dotsb"),c});var to={")":!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};jt("\\dotso",function(Z){var c=Z.future().text;return c in to?"\\ldots\\,":"\\ldots"}),jt("\\dotsc",function(Z){var c=Z.future().text;return c in to&&c!==","?"\\ldots\\,":"\\ldots"}),jt("\\cdots",function(Z){var c=Z.future().text;return c in to?"\\@cdots\\,":"\\@cdots"}),jt("\\dotsb","\\cdots"),jt("\\dotsm","\\cdots"),jt("\\dotsi","\\!\\cdots"),jt("\\dotsx","\\ldots\\,"),jt("\\DOTSI","\\relax"),jt("\\DOTSB","\\relax"),jt("\\DOTSX","\\relax"),jt("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),jt("\\,","\\tmspace+{3mu}{.1667em}"),jt("\\thinspace","\\,"),jt("\\>","\\mskip{4mu}"),jt("\\:","\\tmspace+{4mu}{.2222em}"),jt("\\medspace","\\:"),jt("\\;","\\tmspace+{5mu}{.2777em}"),jt("\\thickspace","\\;"),jt("\\!","\\tmspace-{3mu}{.1667em}"),jt("\\negthinspace","\\!"),jt("\\negmedspace","\\tmspace-{4mu}{.2222em}"),jt("\\negthickspace","\\tmspace-{5mu}{.277em}"),jt("\\enspace","\\kern.5em "),jt("\\enskip","\\hskip.5em\\relax"),jt("\\quad","\\hskip1em\\relax"),jt("\\qquad","\\hskip2em\\relax"),jt("\\tag","\\@ifstar\\tag@literal\\tag@paren"),jt("\\tag@paren","\\tag@literal{({#1})}"),jt("\\tag@literal",function(Z){if(Z.macros.get("\\df@tag"))throw new g("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),jt("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),jt("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),jt("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),jt("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),jt("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),jt("\\\\","\\newline"),jt("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var bs=de["Main-Regular"][84][1]-.7*de["Main-Regular"][65][1]+"em";jt("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+bs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),jt("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+bs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),jt("\\hspace","\\@ifstar\\@hspacer\\@hspace"),jt("\\@hspace","\\hskip #1\\relax"),jt("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),jt("\\ordinarycolon",":"),jt("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),jt("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),jt("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),jt("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),jt("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),jt("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),jt("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),jt("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),jt("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),jt("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),jt("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),jt("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),jt("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),jt("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),jt("\u2237","\\dblcolon"),jt("\u2239","\\eqcolon"),jt("\u2254","\\coloneqq"),jt("\u2255","\\eqqcolon"),jt("\u2A74","\\Coloneqq"),jt("\\ratio","\\vcentcolon"),jt("\\coloncolon","\\dblcolon"),jt("\\colonequals","\\coloneqq"),jt("\\coloncolonequals","\\Coloneqq"),jt("\\equalscolon","\\eqqcolon"),jt("\\equalscoloncolon","\\Eqqcolon"),jt("\\colonminus","\\coloneq"),jt("\\coloncolonminus","\\Coloneq"),jt("\\minuscolon","\\eqcolon"),jt("\\minuscoloncolon","\\Eqcolon"),jt("\\coloncolonapprox","\\Colonapprox"),jt("\\coloncolonsim","\\Colonsim"),jt("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),jt("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),jt("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),jt("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),jt("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),jt("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),jt("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),jt("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),jt("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),jt("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),jt("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),jt("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),jt("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),jt("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),jt("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),jt("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),jt("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),jt("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),jt("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),jt("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),jt("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),jt("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),jt("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),jt("\u27E6","\\llbracket"),jt("\u27E7","\\rrbracket"),jt("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),jt("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),jt("\u2983","\\lBrace"),jt("\u2984","\\rBrace"),jt("\\darr","\\downarrow"),jt("\\dArr","\\Downarrow"),jt("\\Darr","\\Downarrow"),jt("\\lang","\\langle"),jt("\\rang","\\rangle"),jt("\\uarr","\\uparrow"),jt("\\uArr","\\Uparrow"),jt("\\Uarr","\\Uparrow"),jt("\\N","\\mathbb{N}"),jt("\\R","\\mathbb{R}"),jt("\\Z","\\mathbb{Z}"),jt("\\alef","\\aleph"),jt("\\alefsym","\\aleph"),jt("\\Alpha","\\mathrm{A}"),jt("\\Beta","\\mathrm{B}"),jt("\\bull","\\bullet"),jt("\\Chi","\\mathrm{X}"),jt("\\clubs","\\clubsuit"),jt("\\cnums","\\mathbb{C}"),jt("\\Complex","\\mathbb{C}"),jt("\\Dagger","\\ddagger"),jt("\\diamonds","\\diamondsuit"),jt("\\empty","\\emptyset"),jt("\\Epsilon","\\mathrm{E}"),jt("\\Eta","\\mathrm{H}"),jt("\\exist","\\exists"),jt("\\harr","\\leftrightarrow"),jt("\\hArr","\\Leftrightarrow"),jt("\\Harr","\\Leftrightarrow"),jt("\\hearts","\\heartsuit"),jt("\\image","\\Im"),jt("\\infin","\\infty"),jt("\\Iota","\\mathrm{I}"),jt("\\isin","\\in"),jt("\\Kappa","\\mathrm{K}"),jt("\\larr","\\leftarrow"),jt("\\lArr","\\Leftarrow"),jt("\\Larr","\\Leftarrow"),jt("\\lrarr","\\leftrightarrow"),jt("\\lrArr","\\Leftrightarrow"),jt("\\Lrarr","\\Leftrightarrow"),jt("\\Mu","\\mathrm{M}"),jt("\\natnums","\\mathbb{N}"),jt("\\Nu","\\mathrm{N}"),jt("\\Omicron","\\mathrm{O}"),jt("\\plusmn","\\pm"),jt("\\rarr","\\rightarrow"),jt("\\rArr","\\Rightarrow"),jt("\\Rarr","\\Rightarrow"),jt("\\real","\\Re"),jt("\\reals","\\mathbb{R}"),jt("\\Reals","\\mathbb{R}"),jt("\\Rho","\\mathrm{P}"),jt("\\sdot","\\cdot"),jt("\\sect","\\S"),jt("\\spades","\\spadesuit"),jt("\\sub","\\subset"),jt("\\sube","\\subseteq"),jt("\\supe","\\supseteq"),jt("\\Tau","\\mathrm{T}"),jt("\\thetasym","\\vartheta"),jt("\\weierp","\\wp"),jt("\\Zeta","\\mathrm{Z}"),jt("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),jt("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),jt("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),jt("\\blue","\\textcolor{##6495ed}{#1}"),jt("\\orange","\\textcolor{##ffa500}{#1}"),jt("\\pink","\\textcolor{##ff00af}{#1}"),jt("\\red","\\textcolor{##df0030}{#1}"),jt("\\green","\\textcolor{##28ae7b}{#1}"),jt("\\gray","\\textcolor{gray}{#1}"),jt("\\purple","\\textcolor{##9d38bd}{#1}"),jt("\\blueA","\\textcolor{##ccfaff}{#1}"),jt("\\blueB","\\textcolor{##80f6ff}{#1}"),jt("\\blueC","\\textcolor{##63d9ea}{#1}"),jt("\\blueD","\\textcolor{##11accd}{#1}"),jt("\\blueE","\\textcolor{##0c7f99}{#1}"),jt("\\tealA","\\textcolor{##94fff5}{#1}"),jt("\\tealB","\\textcolor{##26edd5}{#1}"),jt("\\tealC","\\textcolor{##01d1c1}{#1}"),jt("\\tealD","\\textcolor{##01a995}{#1}"),jt("\\tealE","\\textcolor{##208170}{#1}"),jt("\\greenA","\\textcolor{##b6ffb0}{#1}"),jt("\\greenB","\\textcolor{##8af281}{#1}"),jt("\\greenC","\\textcolor{##74cf70}{#1}"),jt("\\greenD","\\textcolor{##1fab54}{#1}"),jt("\\greenE","\\textcolor{##0d923f}{#1}"),jt("\\goldA","\\textcolor{##ffd0a9}{#1}"),jt("\\goldB","\\textcolor{##ffbb71}{#1}"),jt("\\goldC","\\textcolor{##ff9c39}{#1}"),jt("\\goldD","\\textcolor{##e07d10}{#1}"),jt("\\goldE","\\textcolor{##a75a05}{#1}"),jt("\\redA","\\textcolor{##fca9a9}{#1}"),jt("\\redB","\\textcolor{##ff8482}{#1}"),jt("\\redC","\\textcolor{##f9685d}{#1}"),jt("\\redD","\\textcolor{##e84d39}{#1}"),jt("\\redE","\\textcolor{##bc2612}{#1}"),jt("\\maroonA","\\textcolor{##ffbde0}{#1}"),jt("\\maroonB","\\textcolor{##ff92c6}{#1}"),jt("\\maroonC","\\textcolor{##ed5fa6}{#1}"),jt("\\maroonD","\\textcolor{##ca337c}{#1}"),jt("\\maroonE","\\textcolor{##9e034e}{#1}"),jt("\\purpleA","\\textcolor{##ddd7ff}{#1}"),jt("\\purpleB","\\textcolor{##c6b9fc}{#1}"),jt("\\purpleC","\\textcolor{##aa87ff}{#1}"),jt("\\purpleD","\\textcolor{##7854ab}{#1}"),jt("\\purpleE","\\textcolor{##543b78}{#1}"),jt("\\mintA","\\textcolor{##f5f9e8}{#1}"),jt("\\mintB","\\textcolor{##edf2df}{#1}"),jt("\\mintC","\\textcolor{##e0e5cc}{#1}"),jt("\\grayA","\\textcolor{##f6f7f7}{#1}"),jt("\\grayB","\\textcolor{##f0f1f2}{#1}"),jt("\\grayC","\\textcolor{##e3e5e6}{#1}"),jt("\\grayD","\\textcolor{##d6d8da}{#1}"),jt("\\grayE","\\textcolor{##babec2}{#1}"),jt("\\grayF","\\textcolor{##888d93}{#1}"),jt("\\grayG","\\textcolor{##626569}{#1}"),jt("\\grayH","\\textcolor{##3b3e40}{#1}"),jt("\\grayI","\\textcolor{##21242c}{#1}"),jt("\\kaBlue","\\textcolor{##314453}{#1}"),jt("\\kaGreen","\\textcolor{##71B307}{#1}");var Io={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Go=function(){function Z(f,h,x){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(f),this.macros=new ll(ul,h.macros),this.mode=x,this.stack=[]}var c=Z.prototype;return c.feed=function(h){this.lexer=new ol(h,this.settings)},c.switchMode=function(h){this.mode=h},c.beginGroup=function(){this.macros.beginGroup()},c.endGroup=function(){this.macros.endGroup()},c.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},c.popToken=function(){return this.future(),this.stack.pop()},c.pushToken=function(h){this.stack.push(h)},c.pushTokens=function(h){var x;(x=this.stack).push.apply(x,h)},c.consumeSpaces=function(){for(;;){var h=this.future();if(h.text===" ")this.stack.pop();else break}},c.consumeArgs=function(h){for(var x=[],B=0;B<h;++B){this.consumeSpaces();var Q=this.popToken();if(Q.text==="{"){for(var Me=[],qe=1;qe!==0;){var Et=this.popToken();if(Me.push(Et),Et.text==="{")++qe;else if(Et.text==="}")--qe;else if(Et.text==="EOF")throw new g("End of input in macro argument",Q)}Me.pop(),Me.reverse(),x[B]=Me}else{if(Q.text==="EOF")throw new g("End of input expecting macro argument");x[B]=[Q]}}return x},c.expandOnce=function(){var h=this.popToken(),x=h.text,B=this._getExpansion(x);if(B==null)return this.pushToken(h),h;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new g("Too many expansions: infinite loop or need to increase maxExpand setting");var Q=B.tokens;if(B.numArgs){var Me=this.consumeArgs(B.numArgs);Q=Q.slice();for(var qe=Q.length-1;qe>=0;--qe){var Et=Q[qe];if(Et.text==="#"){if(qe===0)throw new g("Incomplete placeholder at end of macro body",Et);if(Et=Q[--qe],Et.text==="#")Q.splice(qe+1,1);else if(/^[1-9]$/.test(Et.text)){var Yt;(Yt=Q).splice.apply(Yt,[qe,2].concat(Me[+Et.text-1]))}else throw new g("Not a valid argument number",Et)}}}return this.pushTokens(Q),Q},c.expandAfterFuture=function(){return this.expandOnce(),this.future()},c.expandNextToken=function(){for(;;){var h=this.expandOnce();if(h instanceof ce)if(h.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},c.expandMacro=function(h){if(this.macros.get(h)){var x=[],B=this.stack.length;for(this.pushToken(new ce(h));this.stack.length>B;){var Q=this.expandOnce();Q instanceof ce&&x.push(this.stack.pop())}return x}},c.expandMacroAsText=function(h){var x=this.expandMacro(h);return x&&x.map(function(B){return B.text}).join("")},c._getExpansion=function(h){var x=this.macros.get(h);if(x==null)return x;var B=typeof x=="function"?x(this):x;if(typeof B=="string"){var Q=0;if(B.indexOf("#")!==-1)for(var Me=B.replace(/##/g,"");Me.indexOf("#"+(Q+1))!==-1;)++Q;for(var qe=new ol(B,this.settings),Et=[],Yt=qe.lex();Yt.text!=="EOF";)Et.push(Yt),Yt=qe.lex();Et.reverse();var hn={tokens:Et,numArgs:Q};return hn}return B},c.isDefined=function(h){return this.macros.has(h)||co.hasOwnProperty(h)||pt.math.hasOwnProperty(h)||pt.text.hasOwnProperty(h)||Io.hasOwnProperty(h)},Z}(),ve={"\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"}},ge={\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"},at=function(){function Z(f,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 Go(f,h,this.mode),this.settings=h,this.leftrightDepth=0}var c=Z.prototype;return c.expect=function(h,x){if(x===void 0&&(x=!0),this.fetch().text!==h)throw new g("Expected '"+h+"', got '"+this.fetch().text+"'",this.fetch());x&&this.consume()},c.consume=function(){this.nextToken=null},c.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},c.switchMode=function(h){this.mode=h,this.gullet.switchMode(h)},c.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},c.parseExpression=function(h,x){for(var B=[];;){this.mode==="math"&&this.consumeSpaces();var Q=this.fetch();if(Z.endOfExpression.indexOf(Q.text)!==-1||x&&Q.text===x||h&&co[Q.text]&&co[Q.text].infix)break;var Me=this.parseAtom(x);if(!Me)break;B.push(Me)}return this.mode==="text"&&this.formLigatures(B),this.handleInfixNodes(B)},c.handleInfixNodes=function(h){for(var x=-1,B,Q=0;Q<h.length;Q++){var Me=pn(h[Q],"infix");if(Me){if(x!==-1)throw new g("only one infix operator per group",Me.token);x=Q,B=Me.replaceWith}}if(x!==-1&&B){var qe,Et,Yt=h.slice(0,x),hn=h.slice(x+1);Yt.length===1&&Yt[0].type==="ordgroup"?qe=Yt[0]:qe={type:"ordgroup",mode:this.mode,body:Yt},hn.length===1&&hn[0].type==="ordgroup"?Et=hn[0]:Et={type:"ordgroup",mode:this.mode,body:hn};var Cn;return B==="\\\\abovefrac"?Cn=this.callFunction(B,[qe,h[x],Et],[]):Cn=this.callFunction(B,[qe,Et],[]),[Cn]}else return h},c.handleSupSubscript=function(h){var x=this.fetch(),B=x.text;this.consume();var Q=this.parseGroup(h,!1,Z.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Q)throw new g("Expected group after '"+B+"'",x);return Q},c.formatUnsupportedCmd=function(h){for(var x=[],B=0;B<h.length;B++)x.push({type:"textord",mode:"text",text:h[B]});var Q={type:"text",mode:this.mode,body:x},Me={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Q]};return Me},c.parseAtom=function(h){var x=this.parseGroup("atom",!1,null,h);if(this.mode==="text")return x;for(var B,Q;;){this.consumeSpaces();var Me=this.fetch();if(Me.text==="\\limits"||Me.text==="\\nolimits"){var qe=pn(x,"op");if(qe){var Et=Me.text==="\\limits";qe.limits=Et,qe.alwaysHandleSupSub=!0}else if(qe=pn(x,"operatorname"),qe&&qe.alwaysHandleSupSub){var Yt=Me.text==="\\limits";qe.limits=Yt}else throw new g("Limit controls must follow a math operator",Me);this.consume()}else if(Me.text==="^"){if(B)throw new g("Double superscript",Me);B=this.handleSupSubscript("superscript")}else if(Me.text==="_"){if(Q)throw new g("Double subscript",Me);Q=this.handleSupSubscript("subscript")}else if(Me.text==="'"){if(B)throw new g("Double superscript",Me);var hn={type:"textord",mode:this.mode,text:"\\prime"},Cn=[hn];for(this.consume();this.fetch().text==="'";)Cn.push(hn),this.consume();this.fetch().text==="^"&&Cn.push(this.handleSupSubscript("superscript")),B={type:"ordgroup",mode:this.mode,body:Cn}}else break}return B||Q?{type:"supsub",mode:this.mode,base:x,sup:B,sub:Q}:x},c.parseFunction=function(h,x,B){var Q=this.fetch(),Me=Q.text,qe=co[Me];if(!qe)return null;if(this.consume(),B!=null&&qe.greediness<=B)throw new g("Got function '"+Me+"' with no arguments"+(x?" as "+x:""),Q);if(this.mode==="text"&&!qe.allowedInText)throw new g("Can't use function '"+Me+"' in text mode",Q);if(this.mode==="math"&&qe.allowedInMath===!1)throw new g("Can't use function '"+Me+"' in math mode",Q);var Et=this.parseArguments(Me,qe),Yt=Et.args,hn=Et.optArgs;return this.callFunction(Me,Yt,hn,Q,h)},c.callFunction=function(h,x,B,Q,Me){var qe={funcName:h,parser:this,token:Q,breakOnTokenText:Me},Et=co[h];if(Et&&Et.handler)return Et.handler(qe,x,B);throw new g("No function handler for "+h)},c.parseArguments=function(h,x){var B=x.numArgs+x.numOptionalArgs;if(B===0)return{args:[],optArgs:[]};for(var Q=x.greediness,Me=[],qe=[],Et=0;Et<B;Et++){var Yt=x.argTypes&&x.argTypes[Et],hn=Et<x.numOptionalArgs,Cn=Et>0&&!hn||Et===0&&!hn&&this.mode==="math",kn=this.parseGroupOfType("argument to '"+h+"'",Yt,hn,Q,Cn);if(!kn){if(hn){qe.push(null);continue}throw new g("Expected group after '"+h+"'",this.fetch())}(hn?qe:Me).push(kn)}return{args:Me,optArgs:qe}},c.parseGroupOfType=function(h,x,B,Q,Me){switch(x){case"color":return Me&&this.consumeSpaces(),this.parseColorGroup(B);case"size":return Me&&this.consumeSpaces(),this.parseSizeGroup(B);case"url":return this.parseUrlGroup(B,Me);case"math":case"text":return this.parseGroup(h,B,Q,void 0,x,Me);case"hbox":{var qe=this.parseGroup(h,B,Q,void 0,"text",Me);if(!qe)return qe;var Et={type:"styling",mode:qe.mode,body:[qe],style:"text"};return Et}case"raw":{if(Me&&this.consumeSpaces(),B&&this.fetch().text==="{")return null;var Yt=this.parseStringGroup("raw",B,!0);if(Yt)return{type:"raw",mode:"text",string:Yt.text};throw new g("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(h,B,Q,void 0,void 0,Me);default:throw new g("Unknown group type as "+h,this.fetch())}},c.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},c.parseStringGroup=function(h,x,B){var Q=x?"[":"{",Me=x?"]":"}",qe=this.fetch();if(qe.text!==Q){if(x)return null;if(B&&qe.text!=="EOF"&&/[^{}[\]]/.test(qe.text))return this.consume(),qe}var Et=this.mode;this.mode="text",this.expect(Q);for(var Yt="",hn=this.fetch(),Cn=0,kn=hn,Hn;(Hn=this.fetch()).text!==Me||B&&Cn>0;){switch(Hn.text){case"EOF":throw new g("Unexpected end of input in "+h,hn.range(kn,Yt));case Q:Cn++;break;case Me:Cn--;break}kn=Hn,Yt+=kn.text,this.consume()}return this.expect(Me),this.mode=Et,hn.range(kn,Yt)},c.parseRegexGroup=function(h,x){var B=this.mode;this.mode="text";for(var Q=this.fetch(),Me=Q,qe="",Et;(Et=this.fetch()).text!=="EOF"&&h.test(qe+Et.text);)Me=Et,qe+=Me.text,this.consume();if(qe==="")throw new g("Invalid "+x+": '"+Q.text+"'",Q);return this.mode=B,Q.range(Me,qe)},c.parseColorGroup=function(h){var x=this.parseStringGroup("color",h);if(!x)return null;var B=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(x.text);if(!B)throw new g("Invalid color: '"+x.text+"'",x);var Q=B[0];return/^[0-9a-f]{6}$/i.test(Q)&&(Q="#"+Q),{type:"color-token",mode:this.mode,color:Q}},c.parseSizeGroup=function(h){var x,B=!1;if(!h&&this.fetch().text!=="{"?x=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):x=this.parseStringGroup("size",h),!x)return null;!h&&x.text.length===0&&(x.text="0pt",B=!0);var Q=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(x.text);if(!Q)throw new g("Invalid size: '"+x.text+"'",x);var Me={number:+(Q[1]+Q[2]),unit:Q[3]};if(!Xt(Me))throw new g("Invalid unit: '"+Me.unit+"'",x);return{type:"size",mode:this.mode,value:Me,isBlank:B}},c.parseUrlGroup=function(h,x){this.gullet.lexer.setCatcode("%",13);var B=this.parseStringGroup("url",h,!0);if(this.gullet.lexer.setCatcode("%",14),!B)return null;var Q=B.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Q}},c.parseGroup=function(h,x,B,Q,Me,qe){var Et=this.mode;Me&&this.switchMode(Me),qe&&this.consumeSpaces();var Yt=this.fetch(),hn=Yt.text,Cn;if(x?hn==="[":hn==="{"||hn==="\\begingroup"){this.consume();var kn=Z.endOfGroup[hn];this.gullet.beginGroup();var Hn=this.parseExpression(!1,kn),Wn=this.fetch();this.expect(kn),this.gullet.endGroup(),Cn={type:"ordgroup",mode:this.mode,loc:L.range(Yt,Wn),body:Hn,semisimple:hn==="\\begingroup"||void 0}}else if(x)Cn=null;else if(Cn=this.parseFunction(Q,h,B)||this.parseSymbol(),Cn==null&&hn[0]==="\\"&&!Io.hasOwnProperty(hn)){if(this.settings.throwOnError)throw new g("Undefined control sequence: "+hn,Yt);Cn=this.formatUnsupportedCmd(hn),this.consume()}return Me&&this.switchMode(Et),Cn},c.formLigatures=function(h){for(var x=h.length-1,B=0;B<x;++B){var Q=h[B],Me=Q.text;Me==="-"&&h[B+1].text==="-"&&(B+1<x&&h[B+2].text==="-"?(h.splice(B,3,{type:"textord",mode:"text",loc:L.range(Q,h[B+2]),text:"---"}),x-=2):(h.splice(B,2,{type:"textord",mode:"text",loc:L.range(Q,h[B+1]),text:"--"}),x-=1)),(Me==="'"||Me==="`")&&h[B+1].text===Me&&(h.splice(B,2,{type:"textord",mode:"text",loc:L.range(Q,h[B+1]),text:Me+Me}),x-=1)}},c.parseSymbol=function(){var h=this.fetch(),x=h.text;if(/^\\verb[^a-zA-Z]/.test(x)){this.consume();var B=x.slice(5),Q=B.charAt(0)==="*";if(Q&&(B=B.slice(1)),B.length<2||B.charAt(0)!==B.slice(-1))throw new g(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return B=B.slice(1,-1),{type:"verb",mode:"text",body:B,star:Q}}ge.hasOwnProperty(x[0])&&!pt[this.mode][x[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+x[0]+'" used in math mode',h),x=ge[x[0]]+x.substr(1));var Me=Al.exec(x);Me&&(x=x.substring(0,Me.index),x==="i"?x="\u0131":x==="j"&&(x="\u0237"));var qe;if(pt[this.mode][x]){this.settings.strict&&this.mode==="math"&&Pe.indexOf(x)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+x[0]+'" used in math mode',h);var Et=pt[this.mode][x].group,Yt=L.range(h),hn;if(Gt.hasOwnProperty(Et)){var Cn=Et;hn={type:"atom",mode:this.mode,family:Cn,loc:Yt,text:x}}else hn={type:Et,mode:this.mode,loc:Yt,text:x};qe=hn}else if(x.charCodeAt(0)>=128)this.settings.strict&&(ft(x.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+x[0]+'" used in math mode',h):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+x[0]+'"'+(" ("+x.charCodeAt(0)+")"),h)),qe={type:"textord",mode:"text",loc:L.range(h),text:x};else return null;if(this.consume(),Me)for(var kn=0;kn<Me[0].length;kn++){var Hn=Me[0][kn];if(!ve[Hn])throw new g("Unknown accent ' "+Hn+"'",h);var Wn=ve[Hn][this.mode];if(!Wn)throw new g("Accent "+Hn+" unsupported in "+this.mode+" mode",h);qe={type:"accent",mode:this.mode,loc:L.range(h),label:Wn,isStretchy:!1,isShifty:!0,base:qe}}return qe},Z}();at.endOfExpression=["}","\\endgroup","\\end","\\right","&"],at.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},at.SUPSUB_GREEDINESS=1;var Ct=function(c,f){if(!(typeof c=="string"||c instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var h=new at(c,f);delete h.gullet.macros.current["\\df@tag"];var x=h.parse();if(h.gullet.macros.get("\\df@tag")){if(!f.displayMode)throw new g("\\tag works only in display equations");h.gullet.feed("\\df@tag"),x=[{type:"tag",mode:"text",body:x,tag:h.parse()}]}return x},Vt=Ct,en=function(c,f,h){f.textContent="";var x=Sn(c,h).toNode();f.appendChild(x)};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."),en=function(){throw new g("KaTeX doesn't work in quirks mode.")});var vn=function(c,f){var h=Sn(c,f).toMarkup();return h},un=function(c,f){var h=new R(f);return Vt(c,h)},_n=function(c,f,h){if(h.throwOnError||!(c instanceof g))throw c;var x=rn.makeSpan(["katex-error"],[new _e(f)]);return x.setAttribute("title",c.toString()),x.setAttribute("style","color:"+h.errorColor),x},Sn=function(c,f){var h=new R(f);try{var x=Vt(c,h);return pi(x,c,h)}catch(B){return _n(B,c,h)}},Qn=function(c,f){var h=new R(f);try{var x=Vt(c,h);return Ni(x,c,h)}catch(B){return _n(B,c,h)}},Bn={version:"0.11.1",render:en,renderToString:vn,ParseError:g,__parse:un,__renderToDomTree:Sn,__renderToHTMLTree:Qn,__setFontMetrics:xt,__defineSymbol:E,__defineMacro:jt,__domTree:{Span:lt,Anchor:Ke,SymbolNode:_e,SvgNode:me,PathNode:Te,LineNode:Fe}},Nn=u.default=Bn}]).default})},32834:function(Pn){(function(Lt,u){Pn.exports=u()})(this,function(){"use strict";function Lt(Ce,Ve){for(var ut=0;ut<Ve.length;ut++){var ye=Ve[ut];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(Ce,ye.key,ye)}}function u(Ce,Ve,ut){return Ve&&Lt(Ce.prototype,Ve),ut&&Lt(Ce,ut),Ce}function i(Ce,Ve){if(Ce){if(typeof Ce=="string")return U(Ce,Ve);var ut=Object.prototype.toString.call(Ce).slice(8,-1);if(ut==="Object"&&Ce.constructor&&(ut=Ce.constructor.name),ut==="Map"||ut==="Set")return Array.from(Ce);if(ut==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ut))return U(Ce,Ve)}}function U(Ce,Ve){(Ve==null||Ve>Ce.length)&&(Ve=Ce.length);for(var ut=0,ye=new Array(Ve);ut<Ve;ut++)ye[ut]=Ce[ut];return ye}function L(Ce,Ve){var ut=typeof Symbol!="undefined"&&Ce[Symbol.iterator]||Ce["@@iterator"];if(ut)return(ut=ut.call(Ce)).next.bind(ut);if(Array.isArray(Ce)||(ut=i(Ce))||Ve&&Ce&&typeof Ce.length=="number"){ut&&(Ce=ut);var ye=0;return function(){return ye>=Ce.length?{done:!0}:{done:!1,value:Ce[ye++]}}}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 ce={exports:{}};function j(){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 g(Ce){ce.exports.defaults=Ce}ce.exports={defaults:j(),getDefaults:j,changeDefaults:g};var V=/[&<>"']/,K=/[&<>"']/g,l=/[<>"']|&(?!#?\w+;)/,y=/[<>"']|&(?!#?\w+;)/g,P={"&":"&","<":"<",">":">",'"':""","'":"'"},b=function(Ve){return P[Ve]};function C(Ce,Ve){if(Ve){if(V.test(Ce))return Ce.replace(K,b)}else if(l.test(Ce))return Ce.replace(y,b);return Ce}var w=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function z(Ce){return Ce.replace(w,function(Ve,ut){return ut=ut.toLowerCase(),ut==="colon"?":":ut.charAt(0)==="#"?ut.charAt(1)==="x"?String.fromCharCode(parseInt(ut.substring(2),16)):String.fromCharCode(+ut.substring(1)):""})}var W=/(^|[^\[])\^/g;function Y(Ce,Ve){Ce=Ce.source||Ce,Ve=Ve||"";var ut={replace:function(we,tt){return tt=tt.source||tt,tt=tt.replace(W,"$1"),Ce=Ce.replace(we,tt),ut},getRegex:function(){return new RegExp(Ce,Ve)}};return ut}var $=/[^\w:]/g,R=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function G(Ce,Ve,ut){if(Ce){var ye;try{ye=decodeURIComponent(z(ut)).replace($,"").toLowerCase()}catch(we){return null}if(ye.indexOf("javascript:")===0||ye.indexOf("vbscript:")===0||ye.indexOf("data:")===0)return null}Ve&&!R.test(ut)&&(ut=he(Ve,ut));try{ut=encodeURI(ut).replace(/%25/g,"%")}catch(we){return null}return ut}var O={},T=/^[^:]+:\/*[^/]*$/,ue=/^([^:]+:)[\s\S]*$/,be=/^([^:]+:\/*[^/]*)[\s\S]*$/;function he(Ce,Ve){O[" "+Ce]||(T.test(Ce)?O[" "+Ce]=Ce+"/":O[" "+Ce]=Ze(Ce,"/",!0)),Ce=O[" "+Ce];var ut=Ce.indexOf(":")===-1;return Ve.substring(0,2)==="//"?ut?Ve:Ce.replace(ue,"$1")+Ve:Ve.charAt(0)==="/"?ut?Ve:Ce.replace(be,"$1")+Ve:Ce+Ve}var Ue={exec:function(){}};function Qe(Ce){for(var Ve=1,ut,ye;Ve<arguments.length;Ve++){ut=arguments[Ve];for(ye in ut)Object.prototype.hasOwnProperty.call(ut,ye)&&(Ce[ye]=ut[ye])}return Ce}function ke(Ce,Ve){var ut=Ce.replace(/\|/g,function(tt,et,X){for(var St=!1,Se=et;--Se>=0&&X[Se]==="\\";)St=!St;return St?"|":" |"}),ye=ut.split(/ \|/),we=0;if(ye.length>Ve)ye.splice(Ve);else for(;ye.length<Ve;)ye.push("");for(;we<ye.length;we++)ye[we]=ye[we].trim().replace(/\\\|/g,"|");return ye}function Ze(Ce,Ve,ut){var ye=Ce.length;if(ye===0)return"";for(var we=0;we<ye;){var tt=Ce.charAt(ye-we-1);if(tt===Ve&&!ut)we++;else if(tt!==Ve&&ut)we++;else break}return Ce.substr(0,ye-we)}function se(Ce,Ve){if(Ce.indexOf(Ve[1])===-1)return-1;for(var ut=Ce.length,ye=0,we=0;we<ut;we++)if(Ce[we]==="\\")we++;else if(Ce[we]===Ve[0])ye++;else if(Ce[we]===Ve[1]&&(ye--,ye<0))return we;return-1}function k(Ce){Ce&&Ce.sanitize&&!Ce.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 I(Ce,Ve){if(Ve<1)return"";for(var ut="";Ve>1;)Ve&1&&(ut+=Ce),Ve>>=1,Ce+=Ce;return ut+Ce}var oe={escape:C,unescape:z,edit:Y,cleanUrl:G,resolveUrl:he,noopTest:Ue,merge:Qe,splitCells:ke,rtrim:Ze,findClosingBracket:se,checkSanitizeDeprecation:k,repeatString:I},ie=ce.exports.defaults,Ee=oe.rtrim,_=oe.splitCells,A=oe.escape,fe=oe.findClosingBracket;function Be(Ce,Ve,ut){var ye=Ve.href,we=Ve.title?A(Ve.title):null,tt=Ce[1].replace(/\\([\[\]])/g,"$1");return Ce[0].charAt(0)!=="!"?{type:"link",raw:ut,href:ye,title:we,text:tt}:{type:"image",raw:ut,href:ye,title:we,text:A(tt)}}function ft(Ce,Ve){var ut=Ce.match(/^(\s+)(?:```)/);if(ut===null)return Ve;var ye=ut[1];return Ve.split(`
|
|
|
`).map(function(we){var tt=we.match(/^\s+/);if(tt===null)return we;var et=tt[0];return et.length>=ye.length?we.slice(ye.length):we}).join(`
|
|
|
`)}var At=function(){function Ce(ut){this.options=ut||ie}var Ve=Ce.prototype;return Ve.space=function(ye){var we=this.rules.block.newline.exec(ye);if(we)return we[0].length>1?{type:"space",raw:we[0]}:{raw:`
|
|
|
`}},Ve.code=function(ye){var we=this.rules.block.code.exec(ye);if(we){var tt=we[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:we[0],codeBlockStyle:"indented",text:this.options.pedantic?tt:Ee(tt,`
|
|
|
`)}}},Ve.fences=function(ye){var we=this.rules.block.fences.exec(ye);if(we){var tt=we[0],et=ft(tt,we[3]||"");return{type:"code",raw:tt,lang:we[2]?we[2].trim():we[2],text:et}}},Ve.heading=function(ye){var we=this.rules.block.heading.exec(ye);if(we){var tt=we[2].trim();if(/#$/.test(tt)){var et=Ee(tt,"#");(this.options.pedantic||!et||/ $/.test(et))&&(tt=et.trim())}return{type:"heading",raw:we[0],depth:we[1].length,text:tt}}},Ve.nptable=function(ye){var we=this.rules.block.nptable.exec(ye);if(we){var tt={type:"table",header:_(we[1].replace(/^ *| *\| *$/g,"")),align:we[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:we[3]?we[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:we[0]};if(tt.header.length===tt.align.length){var et=tt.align.length,X;for(X=0;X<et;X++)/^ *-+: *$/.test(tt.align[X])?tt.align[X]="right":/^ *:-+: *$/.test(tt.align[X])?tt.align[X]="center":/^ *:-+ *$/.test(tt.align[X])?tt.align[X]="left":tt.align[X]=null;for(et=tt.cells.length,X=0;X<et;X++)tt.cells[X]=_(tt.cells[X],tt.header.length);return tt}}},Ve.hr=function(ye){var we=this.rules.block.hr.exec(ye);if(we)return{type:"hr",raw:we[0]}},Ve.blockquote=function(ye){var we=this.rules.block.blockquote.exec(ye);if(we){var tt=we[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:we[0],text:tt}}},Ve.list=function(ye){var we=this.rules.block.list.exec(ye);if(we){var tt=we[0],et=we[2],X=et.length>1,St={type:"list",raw:tt,ordered:X,start:X?+et.slice(0,-1):"",loose:!1,items:[]},Se=we[0].match(this.rules.block.item),Wt=!1,Kt,Rt,le,ae,N,_t,dt,nt,Ft,Ot=Se.length;le=this.rules.block.listItemStart.exec(Se[0]);for(var zt=0;zt<Ot;zt++){if(Kt=Se[zt],tt=Kt,this.options.pedantic||(Ft=Kt.match(new RegExp("\\n\\s*\\n {0,"+(le[0].length-1)+"}\\S")),Ft&&(N=Kt.length-Ft.index+Se.slice(zt+1).join(`
|
|
|
`).length,St.raw=St.raw.substring(0,St.raw.length-N),Kt=Kt.substring(0,Ft.index),tt=Kt,Ot=zt+1)),zt!==Ot-1){if(ae=this.rules.block.listItemStart.exec(Se[zt+1]),this.options.pedantic?ae[1].length>le[1].length:ae[1].length>=le[0].length||ae[1].length>3){Se.splice(zt,2,Se[zt]+(!this.options.pedantic&&ae[1].length<le[0].length&&!Se[zt].match(/\n$/)?"":`
|
|
|
`)+Se[zt+1]),zt--,Ot--;continue}else(!this.options.pedantic||this.options.smartLists?ae[2][ae[2].length-1]!==et[et.length-1]:X===(ae[2].length===1))&&(N=Se.slice(zt+1).join(`
|
|
|
`).length,St.raw=St.raw.substring(0,St.raw.length-N),zt=Ot-1);le=ae}Rt=Kt.length,Kt=Kt.replace(/^ *([*+-]|\d+[.)]) ?/,""),~Kt.indexOf(`
|
|
|
`)&&(Rt-=Kt.length,Kt=this.options.pedantic?Kt.replace(/^ {1,4}/gm,""):Kt.replace(new RegExp("^ {1,"+Rt+"}","gm"),"")),Kt=Ee(Kt,`
|
|
|
`),zt!==Ot-1&&(tt=tt+`
|
|
|
`),_t=Wt||/\n\n(?!\s*$)/.test(tt),zt!==Ot-1&&(Wt=tt.slice(-2)===`
|
|
|
|
|
|
`,_t||(_t=Wt)),_t&&(St.loose=!0),this.options.gfm&&(dt=/^\[[ xX]\] /.test(Kt),nt=void 0,dt&&(nt=Kt[1]!==" ",Kt=Kt.replace(/^\[[ xX]\] +/,""))),St.items.push({type:"list_item",raw:tt,task:dt,checked:nt,loose:_t,text:Kt})}return St}},Ve.html=function(ye){var we=this.rules.block.html.exec(ye);if(we)return{type:this.options.sanitize?"paragraph":"html",raw:we[0],pre:!this.options.sanitizer&&(we[1]==="pre"||we[1]==="script"||we[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(we[0]):A(we[0]):we[0]}},Ve.def=function(ye){var we=this.rules.block.def.exec(ye);if(we){we[3]&&(we[3]=we[3].substring(1,we[3].length-1));var tt=we[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:tt,raw:we[0],href:we[2],title:we[3]}}},Ve.table=function(ye){var we=this.rules.block.table.exec(ye);if(we){var tt={type:"table",header:_(we[1].replace(/^ *| *\| *$/g,"")),align:we[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:we[3]?we[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(tt.header.length===tt.align.length){tt.raw=we[0];var et=tt.align.length,X;for(X=0;X<et;X++)/^ *-+: *$/.test(tt.align[X])?tt.align[X]="right":/^ *:-+: *$/.test(tt.align[X])?tt.align[X]="center":/^ *:-+ *$/.test(tt.align[X])?tt.align[X]="left":tt.align[X]=null;for(et=tt.cells.length,X=0;X<et;X++)tt.cells[X]=_(tt.cells[X].replace(/^ *\| *| *\| *$/g,""),tt.header.length);return tt}}},Ve.lheading=function(ye){var we=this.rules.block.lheading.exec(ye);if(we)return{type:"heading",raw:we[0],depth:we[2].charAt(0)==="="?1:2,text:we[1]}},Ve.paragraph=function(ye){var we=this.rules.block.paragraph.exec(ye);if(we)return{type:"paragraph",raw:we[0],text:we[1].charAt(we[1].length-1)===`
|
|
|
`?we[1].slice(0,-1):we[1]}},Ve.text=function(ye){var we=this.rules.block.text.exec(ye);if(we)return{type:"text",raw:we[0],text:we[0]}},Ve.escape=function(ye){var we=this.rules.inline.escape.exec(ye);if(we)return{type:"escape",raw:we[0],text:A(we[1])}},Ve.tag=function(ye,we,tt){var et=this.rules.inline.tag.exec(ye);if(et)return!we&&/^<a /i.test(et[0])?we=!0:we&&/^<\/a>/i.test(et[0])&&(we=!1),!tt&&/^<(pre|code|kbd|script)(\s|>)/i.test(et[0])?tt=!0:tt&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(et[0])&&(tt=!1),{type:this.options.sanitize?"text":"html",raw:et[0],inLink:we,inRawBlock:tt,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(et[0]):A(et[0]):et[0]}},Ve.link=function(ye){var we=this.rules.inline.link.exec(ye);if(we){var tt=we[2].trim();if(!this.options.pedantic&&/^</.test(tt)){if(!/>$/.test(tt))return;var et=Ee(tt.slice(0,-1),"\\");if((tt.length-et.length)%2===0)return}else{var X=fe(we[2],"()");if(X>-1){var St=we[0].indexOf("!")===0?5:4,Se=St+we[1].length+X;we[2]=we[2].substring(0,X),we[0]=we[0].substring(0,Se).trim(),we[3]=""}}var Wt=we[2],Kt="";if(this.options.pedantic){var Rt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Wt);Rt&&(Wt=Rt[1],Kt=Rt[3])}else Kt=we[3]?we[3].slice(1,-1):"";return Wt=Wt.trim(),/^</.test(Wt)&&(this.options.pedantic&&!/>$/.test(tt)?Wt=Wt.slice(1):Wt=Wt.slice(1,-1)),Be(we,{href:Wt&&Wt.replace(this.rules.inline._escapes,"$1"),title:Kt&&Kt.replace(this.rules.inline._escapes,"$1")},we[0])}},Ve.reflink=function(ye,we){var tt;if((tt=this.rules.inline.reflink.exec(ye))||(tt=this.rules.inline.nolink.exec(ye))){var et=(tt[2]||tt[1]).replace(/\s+/g," ");if(et=we[et.toLowerCase()],!et||!et.href){var X=tt[0].charAt(0);return{type:"text",raw:X,text:X}}return Be(tt,et,tt[0])}},Ve.emStrong=function(ye,we,tt){tt===void 0&&(tt="");var et=this.rules.inline.emStrong.lDelim.exec(ye);if(et&&!(et[3]&&tt.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\u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\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\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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uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var X=et[1]||et[2]||"";if(!X||X&&(tt===""||this.rules.inline.punctuation.exec(tt))){var St=et[0].length-1,Se,Wt,Kt=St,Rt=0,le=et[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(le.lastIndex=0,we=we.slice(-1*ye.length+St);(et=le.exec(we))!=null;)if(Se=et[1]||et[2]||et[3]||et[4]||et[5]||et[6],!!Se){if(Wt=Se.length,et[3]||et[4]){Kt+=Wt;continue}else if((et[5]||et[6])&&St%3&&!((St+Wt)%3)){Rt+=Wt;continue}if(Kt-=Wt,!(Kt>0))return Wt=Math.min(Wt,Wt+Kt+Rt),Math.min(St,Wt)%2?{type:"em",raw:ye.slice(0,St+et.index+Wt+1),text:ye.slice(1,St+et.index+Wt)}:{type:"strong",raw:ye.slice(0,St+et.index+Wt+1),text:ye.slice(2,St+et.index+Wt-1)}}}}},Ve.codespan=function(ye){var we=this.rules.inline.code.exec(ye);if(we){var tt=we[2].replace(/\n/g," "),et=/[^ ]/.test(tt),X=/^ /.test(tt)&&/ $/.test(tt);return et&&X&&(tt=tt.substring(1,tt.length-1)),tt=A(tt,!0),{type:"codespan",raw:we[0],text:tt}}},Ve.br=function(ye){var we=this.rules.inline.br.exec(ye);if(we)return{type:"br",raw:we[0]}},Ve.del=function(ye){var we=this.rules.inline.del.exec(ye);if(we)return{type:"del",raw:we[0],text:we[2]}},Ve.autolink=function(ye,we){var tt=this.rules.inline.autolink.exec(ye);if(tt){var et,X;return tt[2]==="@"?(et=A(this.options.mangle?we(tt[1]):tt[1]),X="mailto:"+et):(et=A(tt[1]),X=et),{type:"link",raw:tt[0],text:et,href:X,tokens:[{type:"text",raw:et,text:et}]}}},Ve.url=function(ye,we){var tt;if(tt=this.rules.inline.url.exec(ye)){var et,X;if(tt[2]==="@")et=A(this.options.mangle?we(tt[0]):tt[0]),X="mailto:"+et;else{var St;do St=tt[0],tt[0]=this.rules.inline._backpedal.exec(tt[0])[0];while(St!==tt[0]);et=A(tt[0]),tt[1]==="www."?X="http://"+et:X=et}return{type:"link",raw:tt[0],text:et,href:X,tokens:[{type:"text",raw:et,text:et}]}}},Ve.inlineText=function(ye,we,tt){var et=this.rules.inline.text.exec(ye);if(et){var X;return we?X=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(et[0]):A(et[0]):et[0]:X=A(this.options.smartypants?tt(et[0]):et[0]),{type:"text",raw:et[0],text:X}}},Ce}(),Ie=oe.noopTest,it=oe.edit,ht=oe.merge,Tt={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:Ie,table:Ie,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};Tt._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,Tt._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,Tt.def=it(Tt.def).replace("label",Tt._label).replace("title",Tt._title).getRegex(),Tt.bullet=/(?:[*+-]|\d{1,9}[.)])/,Tt.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,Tt.item=it(Tt.item,"gm").replace(/bull/g,Tt.bullet).getRegex(),Tt.listItemStart=it(/^( *)(bull) */).replace("bull",Tt.bullet).getRegex(),Tt.list=it(Tt.list).replace(/bull/g,Tt.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Tt.def.source+")").getRegex(),Tt._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",Tt._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,Tt.html=it(Tt.html,"i").replace("comment",Tt._comment).replace("tag",Tt._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Tt.paragraph=it(Tt._paragraph).replace("hr",Tt.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",Tt._tag).getRegex(),Tt.blockquote=it(Tt.blockquote).replace("paragraph",Tt.paragraph).getRegex(),Tt.normal=ht({},Tt),Tt.gfm=ht({},Tt.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*|$)"}),Tt.gfm.nptable=it(Tt.gfm.nptable).replace("hr",Tt.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",Tt._tag).getRegex(),Tt.gfm.table=it(Tt.gfm.table).replace("hr",Tt.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",Tt._tag).getRegex(),Tt.pedantic=ht({},Tt.normal,{html:it(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Tt._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ie,paragraph:it(Tt.normal._paragraph).replace("hr",Tt.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",Tt.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var ze={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ie,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_*]*?\*[^_*]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^_*]*?\_[^_*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Ie,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};ze._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",ze.punctuation=it(ze.punctuation).replace(/punctuation/g,ze._punctuation).getRegex(),ze.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,ze.escapedEmSt=/\\\*|\\_/g,ze._comment=it(Tt._comment).replace("(?:-->|$)","-->").getRegex(),ze.emStrong.lDelim=it(ze.emStrong.lDelim).replace(/punct/g,ze._punctuation).getRegex(),ze.emStrong.rDelimAst=it(ze.emStrong.rDelimAst,"g").replace(/punct/g,ze._punctuation).getRegex(),ze.emStrong.rDelimUnd=it(ze.emStrong.rDelimUnd,"g").replace(/punct/g,ze._punctuation).getRegex(),ze._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,ze._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,ze._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])?)+(?![-_])/,ze.autolink=it(ze.autolink).replace("scheme",ze._scheme).replace("email",ze._email).getRegex(),ze._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,ze.tag=it(ze.tag).replace("comment",ze._comment).replace("attribute",ze._attribute).getRegex(),ze._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ze._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,ze._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,ze.link=it(ze.link).replace("label",ze._label).replace("href",ze._href).replace("title",ze._title).getRegex(),ze.reflink=it(ze.reflink).replace("label",ze._label).getRegex(),ze.reflinkSearch=it(ze.reflinkSearch,"g").replace("reflink",ze.reflink).replace("nolink",ze.nolink).getRegex(),ze.normal=ht({},ze),ze.pedantic=ht({},ze.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:it(/^!?\[(label)\]\((.*?)\)/).replace("label",ze._label).getRegex(),reflink:it(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ze._label).getRegex()}),ze.gfm=ht({},ze.normal,{escape:it(ze.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),ze.gfm.url=it(ze.gfm.url,"i").replace("email",ze.gfm._extended_email).getRegex(),ze.breaks=ht({},ze.gfm,{br:it(ze.br).replace("{2,}","*").getRegex(),text:it(ze.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Jt={block:Tt,inline:ze},yt=At,cn=ce.exports.defaults,Je=Jt.block,bt=Jt.inline,Ge=oe.repeatString;function Ne(Ce){return Ce.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 ne(Ce){var Ve="",ut,ye,we=Ce.length;for(ut=0;ut<we;ut++)ye=Ce.charCodeAt(ut),Math.random()>.5&&(ye="x"+ye.toString(16)),Ve+="&#"+ye+";";return Ve}var lt=function(){function Ce(ut){this.tokens=[],this.tokens.links=Object.create(null),this.options=ut||cn,this.options.tokenizer=this.options.tokenizer||new yt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var ye={block:Je.normal,inline:bt.normal};this.options.pedantic?(ye.block=Je.pedantic,ye.inline=bt.pedantic):this.options.gfm&&(ye.block=Je.gfm,this.options.breaks?ye.inline=bt.breaks:ye.inline=bt.gfm),this.tokenizer.rules=ye}Ce.lex=function(ye,we){var tt=new Ce(we);return tt.lex(ye)},Ce.lexInline=function(ye,we){var tt=new Ce(we);return tt.inlineTokens(ye)};var Ve=Ce.prototype;return Ve.lex=function(ye){return ye=ye.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(ye,this.tokens,!0),this.inline(this.tokens),this.tokens},Ve.blockTokens=function(ye,we,tt){we===void 0&&(we=[]),tt===void 0&&(tt=!0),this.options.pedantic&&(ye=ye.replace(/^ +$/gm,""));for(var et,X,St,Se;ye;){if(et=this.tokenizer.space(ye)){ye=ye.substring(et.raw.length),et.type&&we.push(et);continue}if(et=this.tokenizer.code(ye)){ye=ye.substring(et.raw.length),Se=we[we.length-1],Se&&Se.type==="paragraph"?(Se.raw+=`
|
|
|
`+et.raw,Se.text+=`
|
|
|
`+et.text):we.push(et);continue}if(et=this.tokenizer.fences(ye)){ye=ye.substring(et.raw.length),we.push(et);continue}if(et=this.tokenizer.heading(ye)){ye=ye.substring(et.raw.length),we.push(et);continue}if(et=this.tokenizer.nptable(ye)){ye=ye.substring(et.raw.length),we.push(et);continue}if(et=this.tokenizer.hr(ye)){ye=ye.substring(et.raw.length),we.push(et);continue}if(et=this.tokenizer.blockquote(ye)){ye=ye.substring(et.raw.length),et.tokens=this.blockTokens(et.text,[],tt),we.push(et);continue}if(et=this.tokenizer.list(ye)){for(ye=ye.substring(et.raw.length),St=et.items.length,X=0;X<St;X++)et.items[X].tokens=this.blockTokens(et.items[X].text,[],!1);we.push(et);continue}if(et=this.tokenizer.html(ye)){ye=ye.substring(et.raw.length),we.push(et);continue}if(tt&&(et=this.tokenizer.def(ye))){ye=ye.substring(et.raw.length),this.tokens.links[et.tag]||(this.tokens.links[et.tag]={href:et.href,title:et.title});continue}if(et=this.tokenizer.table(ye)){ye=ye.substring(et.raw.length),we.push(et);continue}if(et=this.tokenizer.lheading(ye)){ye=ye.substring(et.raw.length),we.push(et);continue}if(tt&&(et=this.tokenizer.paragraph(ye))){ye=ye.substring(et.raw.length),we.push(et);continue}if(et=this.tokenizer.text(ye)){ye=ye.substring(et.raw.length),Se=we[we.length-1],Se&&Se.type==="text"?(Se.raw+=`
|
|
|
`+et.raw,Se.text+=`
|
|
|
`+et.text):we.push(et);continue}if(ye){var Wt="Infinite loop on byte: "+ye.charCodeAt(0);if(this.options.silent){console.error(Wt);break}else throw new Error(Wt)}}return we},Ve.inline=function(ye){var we,tt,et,X,St,Se,Wt=ye.length;for(we=0;we<Wt;we++)switch(Se=ye[we],Se.type){case"paragraph":case"text":case"heading":{Se.tokens=[],this.inlineTokens(Se.text,Se.tokens);break}case"table":{for(Se.tokens={header:[],cells:[]},X=Se.header.length,tt=0;tt<X;tt++)Se.tokens.header[tt]=[],this.inlineTokens(Se.header[tt],Se.tokens.header[tt]);for(X=Se.cells.length,tt=0;tt<X;tt++)for(St=Se.cells[tt],Se.tokens.cells[tt]=[],et=0;et<St.length;et++)Se.tokens.cells[tt][et]=[],this.inlineTokens(St[et],Se.tokens.cells[tt][et]);break}case"blockquote":{this.inline(Se.tokens);break}case"list":{for(X=Se.items.length,tt=0;tt<X;tt++)this.inline(Se.items[tt].tokens);break}}return ye},Ve.inlineTokens=function(ye,we,tt,et){we===void 0&&(we=[]),tt===void 0&&(tt=!1),et===void 0&&(et=!1);var X,St,Se=ye,Wt,Kt,Rt;if(this.tokens.links){var le=Object.keys(this.tokens.links);if(le.length>0)for(;(Wt=this.tokenizer.rules.inline.reflinkSearch.exec(Se))!=null;)le.includes(Wt[0].slice(Wt[0].lastIndexOf("[")+1,-1))&&(Se=Se.slice(0,Wt.index)+"["+Ge("a",Wt[0].length-2)+"]"+Se.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Wt=this.tokenizer.rules.inline.blockSkip.exec(Se))!=null;)Se=Se.slice(0,Wt.index)+"["+Ge("a",Wt[0].length-2)+"]"+Se.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Wt=this.tokenizer.rules.inline.escapedEmSt.exec(Se))!=null;)Se=Se.slice(0,Wt.index)+"++"+Se.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;ye;){if(Kt||(Rt=""),Kt=!1,X=this.tokenizer.escape(ye)){ye=ye.substring(X.raw.length),we.push(X);continue}if(X=this.tokenizer.tag(ye,tt,et)){ye=ye.substring(X.raw.length),tt=X.inLink,et=X.inRawBlock;var ae=we[we.length-1];ae&&X.type==="text"&&ae.type==="text"?(ae.raw+=X.raw,ae.text+=X.text):we.push(X);continue}if(X=this.tokenizer.link(ye)){ye=ye.substring(X.raw.length),X.type==="link"&&(X.tokens=this.inlineTokens(X.text,[],!0,et)),we.push(X);continue}if(X=this.tokenizer.reflink(ye,this.tokens.links)){ye=ye.substring(X.raw.length);var N=we[we.length-1];X.type==="link"?(X.tokens=this.inlineTokens(X.text,[],!0,et),we.push(X)):N&&X.type==="text"&&N.type==="text"?(N.raw+=X.raw,N.text+=X.text):we.push(X);continue}if(X=this.tokenizer.emStrong(ye,Se,Rt)){ye=ye.substring(X.raw.length),X.tokens=this.inlineTokens(X.text,[],tt,et),we.push(X);continue}if(X=this.tokenizer.codespan(ye)){ye=ye.substring(X.raw.length),we.push(X);continue}if(X=this.tokenizer.br(ye)){ye=ye.substring(X.raw.length),we.push(X);continue}if(X=this.tokenizer.del(ye)){ye=ye.substring(X.raw.length),X.tokens=this.inlineTokens(X.text,[],tt,et),we.push(X);continue}if(X=this.tokenizer.autolink(ye,ne)){ye=ye.substring(X.raw.length),we.push(X);continue}if(!tt&&(X=this.tokenizer.url(ye,ne))){ye=ye.substring(X.raw.length),we.push(X);continue}if(X=this.tokenizer.inlineText(ye,et,Ne)){ye=ye.substring(X.raw.length),X.raw.slice(-1)!=="_"&&(Rt=X.raw.slice(-1)),Kt=!0,St=we[we.length-1],St&&St.type==="text"?(St.raw+=X.raw,St.text+=X.text):we.push(X);continue}if(ye){var _t="Infinite loop on byte: "+ye.charCodeAt(0);if(this.options.silent){console.error(_t);break}else throw new Error(_t)}}return we},u(Ce,null,[{key:"rules",get:function(){return{block:Je,inline:bt}}}]),Ce}(),Ke=ce.exports.defaults,H=oe.cleanUrl,M=oe.escape,_e=function(){function Ce(ut){this.options=ut||Ke}var Ve=Ce.prototype;return Ve.code=function(ye,we,tt){var et=(we||"").match(/\S*/)[0];if(this.options.highlight){var X=this.options.highlight(ye,et);X!=null&&X!==ye&&(tt=!0,ye=X)}return ye=ye.replace(/\n$/,"")+`
|
|
|
`,et?'<pre><code class="'+this.options.langPrefix+M(et,!0)+'">'+(tt?ye:M(ye,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(tt?ye:M(ye,!0))+`</code></pre>
|
|
|
`},Ve.blockquote=function(ye){return`<blockquote>
|
|
|
`+ye+`</blockquote>
|
|
|
`},Ve.html=function(ye){return ye},Ve.heading=function(ye,we,tt,et){return this.options.headerIds?"<h"+we+' id="'+this.options.headerPrefix+et.slug(tt)+'">'+ye+"</h"+we+`>
|
|
|
`:"<h"+we+">"+ye+"</h"+we+`>
|
|
|
`},Ve.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},Ve.list=function(ye,we,tt){var et=we?"ol":"ul",X=we&&tt!==1?' start="'+tt+'"':"";return"<"+et+X+`>
|
|
|
`+ye+"</"+et+`>
|
|
|
`},Ve.listitem=function(ye){return"<li>"+ye+`</li>
|
|
|
`},Ve.checkbox=function(ye){return"<input "+(ye?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Ve.paragraph=function(ye){return"<p>"+ye+`</p>
|
|
|
`},Ve.table=function(ye,we){return we&&(we="<tbody>"+we+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+ye+`</thead>
|
|
|
`+we+`</table>
|
|
|
`},Ve.tablerow=function(ye){return`<tr>
|
|
|
`+ye+`</tr>
|
|
|
`},Ve.tablecell=function(ye,we){var tt=we.header?"th":"td",et=we.align?"<"+tt+' align="'+we.align+'">':"<"+tt+">";return et+ye+"</"+tt+`>
|
|
|
`},Ve.strong=function(ye){return"<strong>"+ye+"</strong>"},Ve.em=function(ye){return"<em>"+ye+"</em>"},Ve.codespan=function(ye){return"<code>"+ye+"</code>"},Ve.br=function(){return this.options.xhtml?"<br/>":"<br>"},Ve.del=function(ye){return"<del>"+ye+"</del>"},Ve.link=function(ye,we,tt){if(ye=H(this.options.sanitize,this.options.baseUrl,ye),ye===null)return tt;var et='<a href="'+M(ye)+'"';return we&&(et+=' title="'+we+'"'),et+=">"+tt+"</a>",et},Ve.image=function(ye,we,tt){if(ye=H(this.options.sanitize,this.options.baseUrl,ye),ye===null)return tt;var et='<img src="'+ye+'" alt="'+tt+'"';return we&&(et+=' title="'+we+'"'),et+=this.options.xhtml?"/>":">",et},Ve.text=function(ye){return ye},Ce}(),me=function(){function Ce(){}var Ve=Ce.prototype;return Ve.strong=function(ye){return ye},Ve.em=function(ye){return ye},Ve.codespan=function(ye){return ye},Ve.del=function(ye){return ye},Ve.html=function(ye){return ye},Ve.text=function(ye){return ye},Ve.link=function(ye,we,tt){return""+tt},Ve.image=function(ye,we,tt){return""+tt},Ve.br=function(){return""},Ce}(),Te=function(){function Ce(){this.seen={}}var Ve=Ce.prototype;return Ve.serialize=function(ye){return ye.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},Ve.getNextSafeSlug=function(ye,we){var tt=ye,et=0;if(this.seen.hasOwnProperty(tt)){et=this.seen[ye];do et++,tt=ye+"-"+et;while(this.seen.hasOwnProperty(tt))}return we||(this.seen[ye]=et,this.seen[tt]=0),tt},Ve.slug=function(ye,we){we===void 0&&(we={});var tt=this.serialize(ye);return this.getNextSafeSlug(tt,we.dryrun)},Ce}(),Fe=_e,Xe=me,gt=Te,de=ce.exports.defaults,xe=oe.unescape,Pt=function(){function Ce(ut){this.options=ut||de,this.options.renderer=this.options.renderer||new Fe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Xe,this.slugger=new gt}Ce.parse=function(ye,we){var tt=new Ce(we);return tt.parse(ye)},Ce.parseInline=function(ye,we){var tt=new Ce(we);return tt.parseInline(ye)};var Ve=Ce.prototype;return Ve.parse=function(ye,we){we===void 0&&(we=!0);var tt="",et,X,St,Se,Wt,Kt,Rt,le,ae,N,_t,dt,nt,Ft,Ot,zt,J,pe,It=ye.length;for(et=0;et<It;et++)switch(N=ye[et],N.type){case"space":continue;case"hr":{tt+=this.renderer.hr();continue}case"heading":{tt+=this.renderer.heading(this.parseInline(N.tokens),N.depth,xe(this.parseInline(N.tokens,this.textRenderer)),this.slugger);continue}case"code":{tt+=this.renderer.code(N.text,N.lang,N.escaped);continue}case"table":{for(le="",Rt="",Se=N.header.length,X=0;X<Se;X++)Rt+=this.renderer.tablecell(this.parseInline(N.tokens.header[X]),{header:!0,align:N.align[X]});for(le+=this.renderer.tablerow(Rt),ae="",Se=N.cells.length,X=0;X<Se;X++){for(Kt=N.tokens.cells[X],Rt="",Wt=Kt.length,St=0;St<Wt;St++)Rt+=this.renderer.tablecell(this.parseInline(Kt[St]),{header:!1,align:N.align[St]});ae+=this.renderer.tablerow(Rt)}tt+=this.renderer.table(le,ae);continue}case"blockquote":{ae=this.parse(N.tokens),tt+=this.renderer.blockquote(ae);continue}case"list":{for(_t=N.ordered,dt=N.start,nt=N.loose,Se=N.items.length,ae="",X=0;X<Se;X++)Ot=N.items[X],zt=Ot.checked,J=Ot.task,Ft="",Ot.task&&(pe=this.renderer.checkbox(zt),nt?Ot.tokens.length>0&&Ot.tokens[0].type==="text"?(Ot.tokens[0].text=pe+" "+Ot.tokens[0].text,Ot.tokens[0].tokens&&Ot.tokens[0].tokens.length>0&&Ot.tokens[0].tokens[0].type==="text"&&(Ot.tokens[0].tokens[0].text=pe+" "+Ot.tokens[0].tokens[0].text)):Ot.tokens.unshift({type:"text",text:pe}):Ft+=pe),Ft+=this.parse(Ot.tokens,nt),ae+=this.renderer.listitem(Ft,J,zt);tt+=this.renderer.list(ae,_t,dt);continue}case"html":{tt+=this.renderer.html(N.text);continue}case"paragraph":{tt+=this.renderer.paragraph(this.parseInline(N.tokens));continue}case"text":{for(ae=N.tokens?this.parseInline(N.tokens):N.text;et+1<It&&ye[et+1].type==="text";)N=ye[++et],ae+=`
|
|
|
`+(N.tokens?this.parseInline(N.tokens):N.text);tt+=we?this.renderer.paragraph(ae):ae;continue}default:{var Pe='Token with "'+N.type+'" type was not found.';if(this.options.silent){console.error(Pe);return}else throw new Error(Pe)}}return tt},Ve.parseInline=function(ye,we){we=we||this.renderer;var tt="",et,X,St=ye.length;for(et=0;et<St;et++)switch(X=ye[et],X.type){case"escape":{tt+=we.text(X.text);break}case"html":{tt+=we.html(X.text);break}case"link":{tt+=we.link(X.href,X.title,this.parseInline(X.tokens,we));break}case"image":{tt+=we.image(X.href,X.title,X.text);break}case"strong":{tt+=we.strong(this.parseInline(X.tokens,we));break}case"em":{tt+=we.em(this.parseInline(X.tokens,we));break}case"codespan":{tt+=we.codespan(X.text);break}case"br":{tt+=we.br();break}case"del":{tt+=we.del(this.parseInline(X.tokens,we));break}case"text":{tt+=we.text(X.text);break}default:{var Se='Token with "'+X.type+'" type was not found.';if(this.options.silent){console.error(Se);return}else throw new Error(Se)}}return tt},Ce}(),xt=lt,kt=Pt,Mt=At,mt=_e,Gt=me,Zt=Te,Re=oe.merge,pt=oe.checkSanitizeDeprecation,E=oe.escape,D=ce.exports.getDefaults,rt=ce.exports.changeDefaults,te=ce.exports.defaults;function Ae(Ce,Ve,ut){if(typeof Ce=="undefined"||Ce===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Ce!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Ce)+", string expected");if(typeof Ve=="function"&&(ut=Ve,Ve=null),Ve=Re({},Ae.defaults,Ve||{}),pt(Ve),ut){var ye=Ve.highlight,we;try{we=xt.lex(Ce,Ve)}catch(St){return ut(St)}var tt=function(Se){var Wt;if(!Se)try{Ve.walkTokens&&Ae.walkTokens(we,Ve.walkTokens),Wt=kt.parse(we,Ve)}catch(Kt){Se=Kt}return Ve.highlight=ye,Se?ut(Se):ut(null,Wt)};if(!ye||ye.length<3||(delete Ve.highlight,!we.length))return tt();var et=0;Ae.walkTokens(we,function(St){St.type==="code"&&(et++,setTimeout(function(){ye(St.text,St.lang,function(Se,Wt){if(Se)return tt(Se);Wt!=null&&Wt!==St.text&&(St.text=Wt,St.escaped=!0),et--,et===0&&tt()})},0))}),et===0&&tt();return}try{var X=xt.lex(Ce,Ve);return Ve.walkTokens&&Ae.walkTokens(X,Ve.walkTokens),kt.parse(X,Ve)}catch(St){if(St.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Ve.silent)return"<p>An error occurred:</p><pre>"+E(St.message+"",!0)+"</pre>";throw St}}Ae.options=Ae.setOptions=function(Ce){return Re(Ae.defaults,Ce),rt(Ae.defaults),Ae},Ae.getDefaults=D,Ae.defaults=te,Ae.use=function(Ce){var Ve=Re({},Ce);if(Ce.renderer&&function(){var ye=Ae.defaults.renderer||new mt,we=function(X){var St=ye[X];ye[X]=function(){for(var Se=arguments.length,Wt=new Array(Se),Kt=0;Kt<Se;Kt++)Wt[Kt]=arguments[Kt];var Rt=Ce.renderer[X].apply(ye,Wt);return Rt===!1&&(Rt=St.apply(ye,Wt)),Rt}};for(var tt in Ce.renderer)we(tt);Ve.renderer=ye}(),Ce.tokenizer&&function(){var ye=Ae.defaults.tokenizer||new Mt,we=function(X){var St=ye[X];ye[X]=function(){for(var Se=arguments.length,Wt=new Array(Se),Kt=0;Kt<Se;Kt++)Wt[Kt]=arguments[Kt];var Rt=Ce.tokenizer[X].apply(ye,Wt);return Rt===!1&&(Rt=St.apply(ye,Wt)),Rt}};for(var tt in Ce.tokenizer)we(tt);Ve.tokenizer=ye}(),Ce.walkTokens){var ut=Ae.defaults.walkTokens;Ve.walkTokens=function(ye){Ce.walkTokens(ye),ut&&ut(ye)}}Ae.setOptions(Ve)},Ae.walkTokens=function(Ce,Ve){for(var ut=L(Ce),ye;!(ye=ut()).done;){var we=ye.value;switch(Ve(we),we.type){case"table":{for(var tt=L(we.tokens.header),et;!(et=tt()).done;){var X=et.value;Ae.walkTokens(X,Ve)}for(var St=L(we.tokens.cells),Se;!(Se=St()).done;)for(var Wt=Se.value,Kt=L(Wt),Rt;!(Rt=Kt()).done;){var le=Rt.value;Ae.walkTokens(le,Ve)}break}case"list":{Ae.walkTokens(we.items,Ve);break}default:we.tokens&&Ae.walkTokens(we.tokens,Ve)}}},Ae.parseInline=function(Ce,Ve){if(typeof Ce=="undefined"||Ce===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof Ce!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(Ce)+", string expected");Ve=Re({},Ae.defaults,Ve||{}),pt(Ve);try{var ut=xt.lexInline(Ce,Ve);return Ve.walkTokens&&Ae.walkTokens(ut,Ve.walkTokens),kt.parseInline(ut,Ve)}catch(ye){if(ye.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Ve.silent)return"<p>An error occurred:</p><pre>"+E(ye.message+"",!0)+"</pre>";throw ye}},Ae.Parser=kt,Ae.parser=kt.parse,Ae.Renderer=mt,Ae.TextRenderer=Gt,Ae.Lexer=xt,Ae.lexer=xt.lex,Ae.Tokenizer=Mt,Ae.Slugger=Zt,Ae.parse=Ae;var tn=Ae;return tn})},11690:function(Pn){const Lt=/[&<>"']/,u=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,U=/[<>"']|&(?!#?\w+;)/g,L={"&":"&","<":"<",">":">",'"':""","'":"'"},ce=he=>L[he];function j(he,Ue){if(Ue){if(Lt.test(he))return he.replace(u,ce)}else if(i.test(he))return he.replace(U,ce);return he}const g=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function V(he){return he.replace(g,(Ue,Qe)=>(Qe=Qe.toLowerCase(),Qe==="colon"?":":Qe.charAt(0)==="#"?Qe.charAt(1)==="x"?String.fromCharCode(parseInt(Qe.substring(2),16)):String.fromCharCode(+Qe.substring(1)):""))}const K=/(^|[^\[])\^/g;function l(he,Ue){he=he.source||he,Ue=Ue||"";const Qe={replace:(ke,Ze)=>(Ze=Ze.source||Ze,Ze=Ze.replace(K,"$1"),he=he.replace(ke,Ze),Qe),getRegex:()=>new RegExp(he,Ue)};return Qe}const y=/[^\w:]/g,P=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function b(he,Ue,Qe){if(he){let ke;try{ke=decodeURIComponent(V(Qe)).replace(y,"").toLowerCase()}catch(Ze){return null}if(ke.indexOf("javascript:")===0||ke.indexOf("vbscript:")===0||ke.indexOf("data:")===0)return null}Ue&&!P.test(Qe)&&(Qe=Y(Ue,Qe));try{Qe=encodeURI(Qe).replace(/%25/g,"%")}catch(ke){return null}return Qe}const C={},w=/^[^:]+:\/*[^/]*$/,z=/^([^:]+:)[\s\S]*$/,W=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Y(he,Ue){C[" "+he]||(w.test(he)?C[" "+he]=he+"/":C[" "+he]=O(he,"/",!0)),he=C[" "+he];const Qe=he.indexOf(":")===-1;return Ue.substring(0,2)==="//"?Qe?Ue:he.replace(z,"$1")+Ue:Ue.charAt(0)==="/"?Qe?Ue:he.replace(W,"$1")+Ue:he+Ue}const $={exec:function(){}};function R(he){let Ue=1,Qe,ke;for(;Ue<arguments.length;Ue++){Qe=arguments[Ue];for(ke in Qe)Object.prototype.hasOwnProperty.call(Qe,ke)&&(he[ke]=Qe[ke])}return he}function G(he,Ue){const Qe=he.replace(/\|/g,(se,k,I)=>{let oe=!1,ie=k;for(;--ie>=0&&I[ie]==="\\";)oe=!oe;return oe?"|":" |"}),ke=Qe.split(/ \|/);let Ze=0;if(ke.length>Ue)ke.splice(Ue);else for(;ke.length<Ue;)ke.push("");for(;Ze<ke.length;Ze++)ke[Ze]=ke[Ze].trim().replace(/\\\|/g,"|");return ke}function O(he,Ue,Qe){const ke=he.length;if(ke===0)return"";let Ze=0;for(;Ze<ke;){const se=he.charAt(ke-Ze-1);if(se===Ue&&!Qe)Ze++;else if(se!==Ue&&Qe)Ze++;else break}return he.substr(0,ke-Ze)}function T(he,Ue){if(he.indexOf(Ue[1])===-1)return-1;const Qe=he.length;let ke=0,Ze=0;for(;Ze<Qe;Ze++)if(he[Ze]==="\\")Ze++;else if(he[Ze]===Ue[0])ke++;else if(he[Ze]===Ue[1]&&(ke--,ke<0))return Ze;return-1}function ue(he){he&&he.sanitize&&!he.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function be(he,Ue){if(Ue<1)return"";let Qe="";for(;Ue>1;)Ue&1&&(Qe+=he),Ue>>=1,he+=he;return Qe+he}Pn.exports={escape:j,unescape:V,edit:l,cleanUrl:b,resolveUrl:Y,noopTest:$,merge:R,splitCells:G,rtrim:O,findClosingBracket:T,checkSanitizeDeprecation:ue,repeatString:be}},75918:function(Pn,Lt,u){"use strict";u.d(Lt,{Wi:function(){return g},Z0:function(){return V},aU:function(){return j},eZ:function(){return l},wY:function(){return K}});var i=u(4348),U=u(69323),L=u(13268),ce=function(y,P,b,C){function w(z){return z instanceof b?z:new b(function(W){W(z)})}return new(b||(b=Promise))(function(z,W){function Y(G){try{R(C.next(G))}catch(O){W(O)}}function $(G){try{R(C.throw(G))}catch(O){W(O)}}function R(G){G.done?z(G.value):w(G.value).then(Y,$)}R((C=C.apply(y,P||[])).next())})};class j extends U.JT{constructor(P,b="",C="",w=!0,z){super(),this._onDidChange=this._register(new i.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=P,this._label=b,this._cssClass=C,this._enabled=w,this._actionCallback=z}get id(){return this._id}get label(){return this._label}set label(P){this._setLabel(P)}_setLabel(P){this._label!==P&&(this._label=P,this._onDidChange.fire({label:P}))}get tooltip(){return this._tooltip||""}set tooltip(P){this._setTooltip(P)}_setTooltip(P){this._tooltip!==P&&(this._tooltip=P,this._onDidChange.fire({tooltip:P}))}get class(){return this._cssClass}set class(P){this._setClass(P)}_setClass(P){this._cssClass!==P&&(this._cssClass=P,this._onDidChange.fire({class:P}))}get enabled(){return this._enabled}set enabled(P){this._setEnabled(P)}_setEnabled(P){this._enabled!==P&&(this._enabled=P,this._onDidChange.fire({enabled:P}))}get checked(){return this._checked}set checked(P){this._setChecked(P)}_setChecked(P){this._checked!==P&&(this._checked=P,this._onDidChange.fire({checked:P}))}run(P,b){return ce(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(P))})}}class g extends U.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new i.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new i.Q5),this.onDidRun=this._onDidRun.event}run(P,b){return ce(this,void 0,void 0,function*(){if(!P.enabled)return;this._onBeforeRun.fire({action:P});let C;try{yield this.runAction(P,b)}catch(w){C=w}this._onDidRun.fire({action:P,error:C})})}runAction(P,b){return ce(this,void 0,void 0,function*(){yield P.run(b)})}}class V extends j{constructor(P){super(V.ID,P,P?"separator text":"separator"),this.checked=!1,this.enabled=!1}}V.ID="vs.actions.separator";class K{constructor(P,b,C,w){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=P,this.label=b,this.class=w,this._actions=C}get actions(){return this._actions}dispose(){}run(){return ce(this,void 0,void 0,function*(){})}}class l extends j{constructor(){super(l.ID,L.N("submenu.empty","(empty)"),void 0,!1)}}l.ID="vs.actions.empty"},76068:function(Pn,Lt,u){"use strict";u.d(Lt,{ok:function(){return i}});function i(U,L){if(!U)throw new Error(L?`Assertion failed (${L})`:"Assertion Failed")}},52615:function(Pn,Lt,u){"use strict";u.d(Lt,{CM:function(){return j},JL:function(){return g},dT:function(){return K},fK:function(){return ce},lA:function(){return V}});var i=u(4348);class U{constructor(){this._icons=new Map,this._onDidRegister=new i.Q5}add(y){const P=this._icons.get(y.id);P?y.description?P.description=y.description:console.error(`Duplicate registration of codicon ${y.id}`):(this._icons.set(y.id,y),this._onDidRegister.fire(y))}get(y){return this._icons.get(y)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const L=new U,ce=L;function j(l,y){return new V(l,y)}function g(l){return l?l.replace(/\$\((.*?)\)/g,(y,P)=>` ${P} `).trim():""}class V{constructor(y,P,b){this.id=y,this.definition=P,this.description=b,L.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var K;(function(l){l.iconNameSegment="[A-Za-z0-9]+",l.iconNameExpression="[A-Za-z0-9\\-]+",l.iconModifierExpression="~[A-Za-z]+";const y=new RegExp(`^(${l.iconNameExpression})(${l.iconModifierExpression})?$`);function P(w){if(w instanceof V)return["codicon","codicon-"+w.id];const z=y.exec(w.id);if(!z)return P(V.error);let[,W,Y]=z;const $=["codicon","codicon-"+W];return Y&&$.push("codicon-modifier-"+Y.substr(1)),$}l.asClassNameArray=P;function b(w){return P(w).join(" ")}l.asClassName=b;function C(w){return"."+P(w).join(".")}l.asCSSSelector=C})(K||(K={})),function(l){l.add=new l("add",{fontCharacter:"\\ea60"}),l.plus=new l("plus",l.add.definition),l.gistNew=new l("gist-new",l.add.definition),l.repoCreate=new l("repo-create",l.add.definition),l.lightbulb=new l("lightbulb",{fontCharacter:"\\ea61"}),l.lightBulb=new l("light-bulb",{fontCharacter:"\\ea61"}),l.repo=new l("repo",{fontCharacter:"\\ea62"}),l.repoDelete=new l("repo-delete",{fontCharacter:"\\ea62"}),l.gistFork=new l("gist-fork",{fontCharacter:"\\ea63"}),l.repoForked=new l("repo-forked",{fontCharacter:"\\ea63"}),l.gitPullRequest=new l("git-pull-request",{fontCharacter:"\\ea64"}),l.gitPullRequestAbandoned=new l("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),l.recordKeys=new l("record-keys",{fontCharacter:"\\ea65"}),l.keyboard=new l("keyboard",{fontCharacter:"\\ea65"}),l.tag=new l("tag",{fontCharacter:"\\ea66"}),l.tagAdd=new l("tag-add",{fontCharacter:"\\ea66"}),l.tagRemove=new l("tag-remove",{fontCharacter:"\\ea66"}),l.person=new l("person",{fontCharacter:"\\ea67"}),l.personFollow=new l("person-follow",{fontCharacter:"\\ea67"}),l.personOutline=new l("person-outline",{fontCharacter:"\\ea67"}),l.personFilled=new l("person-filled",{fontCharacter:"\\ea67"}),l.gitBranch=new l("git-branch",{fontCharacter:"\\ea68"}),l.gitBranchCreate=new l("git-branch-create",{fontCharacter:"\\ea68"}),l.gitBranchDelete=new l("git-branch-delete",{fontCharacter:"\\ea68"}),l.sourceControl=new l("source-control",{fontCharacter:"\\ea68"}),l.mirror=new l("mirror",{fontCharacter:"\\ea69"}),l.mirrorPublic=new l("mirror-public",{fontCharacter:"\\ea69"}),l.star=new l("star",{fontCharacter:"\\ea6a"}),l.starAdd=new l("star-add",{fontCharacter:"\\ea6a"}),l.starDelete=new l("star-delete",{fontCharacter:"\\ea6a"}),l.starEmpty=new l("star-empty",{fontCharacter:"\\ea6a"}),l.comment=new l("comment",{fontCharacter:"\\ea6b"}),l.commentAdd=new l("comment-add",{fontCharacter:"\\ea6b"}),l.alert=new l("alert",{fontCharacter:"\\ea6c"}),l.warning=new l("warning",{fontCharacter:"\\ea6c"}),l.search=new l("search",{fontCharacter:"\\ea6d"}),l.searchSave=new l("search-save",{fontCharacter:"\\ea6d"}),l.logOut=new l("log-out",{fontCharacter:"\\ea6e"}),l.signOut=new l("sign-out",{fontCharacter:"\\ea6e"}),l.logIn=new l("log-in",{fontCharacter:"\\ea6f"}),l.signIn=new l("sign-in",{fontCharacter:"\\ea6f"}),l.eye=new l("eye",{fontCharacter:"\\ea70"}),l.eyeUnwatch=new l("eye-unwatch",{fontCharacter:"\\ea70"}),l.eyeWatch=new l("eye-watch",{fontCharacter:"\\ea70"}),l.circleFilled=new l("circle-filled",{fontCharacter:"\\ea71"}),l.primitiveDot=new l("primitive-dot",{fontCharacter:"\\ea71"}),l.closeDirty=new l("close-dirty",{fontCharacter:"\\ea71"}),l.debugBreakpoint=new l("debug-breakpoint",{fontCharacter:"\\ea71"}),l.debugBreakpointDisabled=new l("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),l.debugHint=new l("debug-hint",{fontCharacter:"\\ea71"}),l.primitiveSquare=new l("primitive-square",{fontCharacter:"\\ea72"}),l.edit=new l("edit",{fontCharacter:"\\ea73"}),l.pencil=new l("pencil",{fontCharacter:"\\ea73"}),l.info=new l("info",{fontCharacter:"\\ea74"}),l.issueOpened=new l("issue-opened",{fontCharacter:"\\ea74"}),l.gistPrivate=new l("gist-private",{fontCharacter:"\\ea75"}),l.gitForkPrivate=new l("git-fork-private",{fontCharacter:"\\ea75"}),l.lock=new l("lock",{fontCharacter:"\\ea75"}),l.mirrorPrivate=new l("mirror-private",{fontCharacter:"\\ea75"}),l.close=new l("close",{fontCharacter:"\\ea76"}),l.removeClose=new l("remove-close",{fontCharacter:"\\ea76"}),l.x=new l("x",{fontCharacter:"\\ea76"}),l.repoSync=new l("repo-sync",{fontCharacter:"\\ea77"}),l.sync=new l("sync",{fontCharacter:"\\ea77"}),l.clone=new l("clone",{fontCharacter:"\\ea78"}),l.desktopDownload=new l("desktop-download",{fontCharacter:"\\ea78"}),l.beaker=new l("beaker",{fontCharacter:"\\ea79"}),l.microscope=new l("microscope",{fontCharacter:"\\ea79"}),l.vm=new l("vm",{fontCharacter:"\\ea7a"}),l.deviceDesktop=new l("device-desktop",{fontCharacter:"\\ea7a"}),l.file=new l("file",{fontCharacter:"\\ea7b"}),l.fileText=new l("file-text",{fontCharacter:"\\ea7b"}),l.more=new l("more",{fontCharacter:"\\ea7c"}),l.ellipsis=new l("ellipsis",{fontCharacter:"\\ea7c"}),l.kebabHorizontal=new l("kebab-horizontal",{fontCharacter:"\\ea7c"}),l.mailReply=new l("mail-reply",{fontCharacter:"\\ea7d"}),l.reply=new l("reply",{fontCharacter:"\\ea7d"}),l.organization=new l("organization",{fontCharacter:"\\ea7e"}),l.organizationFilled=new l("organization-filled",{fontCharacter:"\\ea7e"}),l.organizationOutline=new l("organization-outline",{fontCharacter:"\\ea7e"}),l.newFile=new l("new-file",{fontCharacter:"\\ea7f"}),l.fileAdd=new l("file-add",{fontCharacter:"\\ea7f"}),l.newFolder=new l("new-folder",{fontCharacter:"\\ea80"}),l.fileDirectoryCreate=new l("file-directory-create",{fontCharacter:"\\ea80"}),l.trash=new l("trash",{fontCharacter:"\\ea81"}),l.trashcan=new l("trashcan",{fontCharacter:"\\ea81"}),l.history=new l("history",{fontCharacter:"\\ea82"}),l.clock=new l("clock",{fontCharacter:"\\ea82"}),l.folder=new l("folder",{fontCharacter:"\\ea83"}),l.fileDirectory=new l("file-directory",{fontCharacter:"\\ea83"}),l.symbolFolder=new l("symbol-folder",{fontCharacter:"\\ea83"}),l.logoGithub=new l("logo-github",{fontCharacter:"\\ea84"}),l.markGithub=new l("mark-github",{fontCharacter:"\\ea84"}),l.github=new l("github",{fontCharacter:"\\ea84"}),l.terminal=new l("terminal",{fontCharacter:"\\ea85"}),l.console=new l("console",{fontCharacter:"\\ea85"}),l.repl=new l("repl",{fontCharacter:"\\ea85"}),l.zap=new l("zap",{fontCharacter:"\\ea86"}),l.symbolEvent=new l("symbol-event",{fontCharacter:"\\ea86"}),l.error=new l("error",{fontCharacter:"\\ea87"}),l.stop=new l("stop",{fontCharacter:"\\ea87"}),l.variable=new l("variable",{fontCharacter:"\\ea88"}),l.symbolVariable=new l("symbol-variable",{fontCharacter:"\\ea88"}),l.array=new l("array",{fontCharacter:"\\ea8a"}),l.symbolArray=new l("symbol-array",{fontCharacter:"\\ea8a"}),l.symbolModule=new l("symbol-module",{fontCharacter:"\\ea8b"}),l.symbolPackage=new l("symbol-package",{fontCharacter:"\\ea8b"}),l.symbolNamespace=new l("symbol-namespace",{fontCharacter:"\\ea8b"}),l.symbolObject=new l("symbol-object",{fontCharacter:"\\ea8b"}),l.symbolMethod=new l("symbol-method",{fontCharacter:"\\ea8c"}),l.symbolFunction=new l("symbol-function",{fontCharacter:"\\ea8c"}),l.symbolConstructor=new l("symbol-constructor",{fontCharacter:"\\ea8c"}),l.symbolBoolean=new l("symbol-boolean",{fontCharacter:"\\ea8f"}),l.symbolNull=new l("symbol-null",{fontCharacter:"\\ea8f"}),l.symbolNumeric=new l("symbol-numeric",{fontCharacter:"\\ea90"}),l.symbolNumber=new l("symbol-number",{fontCharacter:"\\ea90"}),l.symbolStructure=new l("symbol-structure",{fontCharacter:"\\ea91"}),l.symbolStruct=new l("symbol-struct",{fontCharacter:"\\ea91"}),l.symbolParameter=new l("symbol-parameter",{fontCharacter:"\\ea92"}),l.symbolTypeParameter=new l("symbol-type-parameter",{fontCharacter:"\\ea92"}),l.symbolKey=new l("symbol-key",{fontCharacter:"\\ea93"}),l.symbolText=new l("symbol-text",{fontCharacter:"\\ea93"}),l.symbolReference=new l("symbol-reference",{fontCharacter:"\\ea94"}),l.goToFile=new l("go-to-file",{fontCharacter:"\\ea94"}),l.symbolEnum=new l("symbol-enum",{fontCharacter:"\\ea95"}),l.symbolValue=new l("symbol-value",{fontCharacter:"\\ea95"}),l.symbolRuler=new l("symbol-ruler",{fontCharacter:"\\ea96"}),l.symbolUnit=new l("symbol-unit",{fontCharacter:"\\ea96"}),l.activateBreakpoints=new l("activate-breakpoints",{fontCharacter:"\\ea97"}),l.archive=new l("archive",{fontCharacter:"\\ea98"}),l.arrowBoth=new l("arrow-both",{fontCharacter:"\\ea99"}),l.arrowDown=new l("arrow-down",{fontCharacter:"\\ea9a"}),l.arrowLeft=new l("arrow-left",{fontCharacter:"\\ea9b"}),l.arrowRight=new l("arrow-right",{fontCharacter:"\\ea9c"}),l.arrowSmallDown=new l("arrow-small-down",{fontCharacter:"\\ea9d"}),l.arrowSmallLeft=new l("arrow-small-left",{fontCharacter:"\\ea9e"}),l.arrowSmallRight=new l("arrow-small-right",{fontCharacter:"\\ea9f"}),l.arrowSmallUp=new l("arrow-small-up",{fontCharacter:"\\eaa0"}),l.arrowUp=new l("arrow-up",{fontCharacter:"\\eaa1"}),l.bell=new l("bell",{fontCharacter:"\\eaa2"}),l.bold=new l("bold",{fontCharacter:"\\eaa3"}),l.book=new l("book",{fontCharacter:"\\eaa4"}),l.bookmark=new l("bookmark",{fontCharacter:"\\eaa5"}),l.debugBreakpointConditionalUnverified=new l("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),l.debugBreakpointConditional=new l("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),l.debugBreakpointConditionalDisabled=new l("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),l.debugBreakpointDataUnverified=new l("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),l.debugBreakpointData=new l("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),l.debugBreakpointDataDisabled=new l("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),l.debugBreakpointLogUnverified=new l("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),l.debugBreakpointLog=new l("debug-breakpoint-log",{fontCharacter:"\\eaab"}),l.debugBreakpointLogDisabled=new l("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),l.briefcase=new l("briefcase",{fontCharacter:"\\eaac"}),l.broadcast=new l("broadcast",{fontCharacter:"\\eaad"}),l.browser=new l("browser",{fontCharacter:"\\eaae"}),l.bug=new l("bug",{fontCharacter:"\\eaaf"}),l.calendar=new l("calendar",{fontCharacter:"\\eab0"}),l.caseSensitive=new l("case-sensitive",{fontCharacter:"\\eab1"}),l.check=new l("check",{fontCharacter:"\\eab2"}),l.checklist=new l("checklist",{fontCharacter:"\\eab3"}),l.chevronDown=new l("chevron-down",{fontCharacter:"\\eab4"}),l.dropDownButton=new l("drop-down-button",l.chevronDown.definition),l.chevronLeft=new l("chevron-left",{fontCharacter:"\\eab5"}),l.chevronRight=new l("chevron-right",{fontCharacter:"\\eab6"}),l.chevronUp=new l("chevron-up",{fontCharacter:"\\eab7"}),l.chromeClose=new l("chrome-close",{fontCharacter:"\\eab8"}),l.chromeMaximize=new l("chrome-maximize",{fontCharacter:"\\eab9"}),l.chromeMinimize=new l("chrome-minimize",{fontCharacter:"\\eaba"}),l.chromeRestore=new l("chrome-restore",{fontCharacter:"\\eabb"}),l.circleOutline=new l("circle-outline",{fontCharacter:"\\eabc"}),l.debugBreakpointUnverified=new l("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),l.circleSlash=new l("circle-slash",{fontCharacter:"\\eabd"}),l.circuitBoard=new l("circuit-board",{fontCharacter:"\\eabe"}),l.clearAll=new l("clear-all",{fontCharacter:"\\eabf"}),l.clippy=new l("clippy",{fontCharacter:"\\eac0"}),l.closeAll=new l("close-all",{fontCharacter:"\\eac1"}),l.cloudDownload=new l("cloud-download",{fontCharacter:"\\eac2"}),l.cloudUpload=new l("cloud-upload",{fontCharacter:"\\eac3"}),l.code=new l("code",{fontCharacter:"\\eac4"}),l.collapseAll=new l("collapse-all",{fontCharacter:"\\eac5"}),l.colorMode=new l("color-mode",{fontCharacter:"\\eac6"}),l.commentDiscussion=new l("comment-discussion",{fontCharacter:"\\eac7"}),l.compareChanges=new l("compare-changes",{fontCharacter:"\\eafd"}),l.creditCard=new l("credit-card",{fontCharacter:"\\eac9"}),l.dash=new l("dash",{fontCharacter:"\\eacc"}),l.dashboard=new l("dashboard",{fontCharacter:"\\eacd"}),l.database=new l("database",{fontCharacter:"\\eace"}),l.debugContinue=new l("debug-continue",{fontCharacter:"\\eacf"}),l.debugDisconnect=new l("debug-disconnect",{fontCharacter:"\\ead0"}),l.debugPause=new l("debug-pause",{fontCharacter:"\\ead1"}),l.debugRestart=new l("debug-restart",{fontCharacter:"\\ead2"}),l.debugStart=new l("debug-start",{fontCharacter:"\\ead3"}),l.debugStepInto=new l("debug-step-into",{fontCharacter:"\\ead4"}),l.debugStepOut=new l("debug-step-out",{fontCharacter:"\\ead5"}),l.debugStepOver=new l("debug-step-over",{fontCharacter:"\\ead6"}),l.debugStop=new l("debug-stop",{fontCharacter:"\\ead7"}),l.debug=new l("debug",{fontCharacter:"\\ead8"}),l.deviceCameraVideo=new l("device-camera-video",{fontCharacter:"\\ead9"}),l.deviceCamera=new l("device-camera",{fontCharacter:"\\eada"}),l.deviceMobile=new l("device-mobile",{fontCharacter:"\\eadb"}),l.diffAdded=new l("diff-added",{fontCharacter:"\\eadc"}),l.diffIgnored=new l("diff-ignored",{fontCharacter:"\\eadd"}),l.diffModified=new l("diff-modified",{fontCharacter:"\\eade"}),l.diffRemoved=new l("diff-removed",{fontCharacter:"\\eadf"}),l.diffRenamed=new l("diff-renamed",{fontCharacter:"\\eae0"}),l.diff=new l("diff",{fontCharacter:"\\eae1"}),l.discard=new l("discard",{fontCharacter:"\\eae2"}),l.editorLayout=new l("editor-layout",{fontCharacter:"\\eae3"}),l.emptyWindow=new l("empty-window",{fontCharacter:"\\eae4"}),l.exclude=new l("exclude",{fontCharacter:"\\eae5"}),l.extensions=new l("extensions",{fontCharacter:"\\eae6"}),l.eyeClosed=new l("eye-closed",{fontCharacter:"\\eae7"}),l.fileBinary=new l("file-binary",{fontCharacter:"\\eae8"}),l.fileCode=new l("file-code",{fontCharacter:"\\eae9"}),l.fileMedia=new l("file-media",{fontCharacter:"\\eaea"}),l.filePdf=new l("file-pdf",{fontCharacter:"\\eaeb"}),l.fileSubmodule=new l("file-submodule",{fontCharacter:"\\eaec"}),l.fileSymlinkDirectory=new l("file-symlink-directory",{fontCharacter:"\\eaed"}),l.fileSymlinkFile=new l("file-symlink-file",{fontCharacter:"\\eaee"}),l.fileZip=new l("file-zip",{fontCharacter:"\\eaef"}),l.files=new l("files",{fontCharacter:"\\eaf0"}),l.filter=new l("filter",{fontCharacter:"\\eaf1"}),l.flame=new l("flame",{fontCharacter:"\\eaf2"}),l.foldDown=new l("fold-down",{fontCharacter:"\\eaf3"}),l.foldUp=new l("fold-up",{fontCharacter:"\\eaf4"}),l.fold=new l("fold",{fontCharacter:"\\eaf5"}),l.folderActive=new l("folder-active",{fontCharacter:"\\eaf6"}),l.folderOpened=new l("folder-opened",{fontCharacter:"\\eaf7"}),l.gear=new l("gear",{fontCharacter:"\\eaf8"}),l.gift=new l("gift",{fontCharacter:"\\eaf9"}),l.gistSecret=new l("gist-secret",{fontCharacter:"\\eafa"}),l.gist=new l("gist",{fontCharacter:"\\eafb"}),l.gitCommit=new l("git-commit",{fontCharacter:"\\eafc"}),l.gitCompare=new l("git-compare",{fontCharacter:"\\eafd"}),l.gitMerge=new l("git-merge",{fontCharacter:"\\eafe"}),l.githubAction=new l("github-action",{fontCharacter:"\\eaff"}),l.githubAlt=new l("github-alt",{fontCharacter:"\\eb00"}),l.globe=new l("globe",{fontCharacter:"\\eb01"}),l.grabber=new l("grabber",{fontCharacter:"\\eb02"}),l.graph=new l("graph",{fontCharacter:"\\eb03"}),l.gripper=new l("gripper",{fontCharacter:"\\eb04"}),l.heart=new l("heart",{fontCharacter:"\\eb05"}),l.home=new l("home",{fontCharacter:"\\eb06"}),l.horizontalRule=new l("horizontal-rule",{fontCharacter:"\\eb07"}),l.hubot=new l("hubot",{fontCharacter:"\\eb08"}),l.inbox=new l("inbox",{fontCharacter:"\\eb09"}),l.issueClosed=new l("issue-closed",{fontCharacter:"\\eba4"}),l.issueReopened=new l("issue-reopened",{fontCharacter:"\\eb0b"}),l.issues=new l("issues",{fontCharacter:"\\eb0c"}),l.italic=new l("italic",{fontCharacter:"\\eb0d"}),l.jersey=new l("jersey",{fontCharacter:"\\eb0e"}),l.json=new l("json",{fontCharacter:"\\eb0f"}),l.kebabVertical=new l("kebab-vertical",{fontCharacter:"\\eb10"}),l.key=new l("key",{fontCharacter:"\\eb11"}),l.law=new l("law",{fontCharacter:"\\eb12"}),l.lightbulbAutofix=new l("lightbulb-autofix",{fontCharacter:"\\eb13"}),l.linkExternal=new l("link-external",{fontCharacter:"\\eb14"}),l.link=new l("link",{fontCharacter:"\\eb15"}),l.listOrdered=new l("list-ordered",{fontCharacter:"\\eb16"}),l.listUnordered=new l("list-unordered",{fontCharacter:"\\eb17"}),l.liveShare=new l("live-share",{fontCharacter:"\\eb18"}),l.loading=new l("loading",{fontCharacter:"\\eb19"}),l.location=new l("location",{fontCharacter:"\\eb1a"}),l.mailRead=new l("mail-read",{fontCharacter:"\\eb1b"}),l.mail=new l("mail",{fontCharacter:"\\eb1c"}),l.markdown=new l("markdown",{fontCharacter:"\\eb1d"}),l.megaphone=new l("megaphone",{fontCharacter:"\\eb1e"}),l.mention=new l("mention",{fontCharacter:"\\eb1f"}),l.milestone=new l("milestone",{fontCharacter:"\\eb20"}),l.mortarBoard=new l("mortar-board",{fontCharacter:"\\eb21"}),l.move=new l("move",{fontCharacter:"\\eb22"}),l.multipleWindows=new l("multiple-windows",{fontCharacter:"\\eb23"}),l.mute=new l("mute",{fontCharacter:"\\eb24"}),l.noNewline=new l("no-newline",{fontCharacter:"\\eb25"}),l.note=new l("note",{fontCharacter:"\\eb26"}),l.octoface=new l("octoface",{fontCharacter:"\\eb27"}),l.openPreview=new l("open-preview",{fontCharacter:"\\eb28"}),l.package_=new l("package",{fontCharacter:"\\eb29"}),l.paintcan=new l("paintcan",{fontCharacter:"\\eb2a"}),l.pin=new l("pin",{fontCharacter:"\\eb2b"}),l.play=new l("play",{fontCharacter:"\\eb2c"}),l.run=new l("run",{fontCharacter:"\\eb2c"}),l.plug=new l("plug",{fontCharacter:"\\eb2d"}),l.preserveCase=new l("preserve-case",{fontCharacter:"\\eb2e"}),l.preview=new l("preview",{fontCharacter:"\\eb2f"}),l.project=new l("project",{fontCharacter:"\\eb30"}),l.pulse=new l("pulse",{fontCharacter:"\\eb31"}),l.question=new l("question",{fontCharacter:"\\eb32"}),l.quote=new l("quote",{fontCharacter:"\\eb33"}),l.radioTower=new l("radio-tower",{fontCharacter:"\\eb34"}),l.reactions=new l("reactions",{fontCharacter:"\\eb35"}),l.references=new l("references",{fontCharacter:"\\eb36"}),l.refresh=new l("refresh",{fontCharacter:"\\eb37"}),l.regex=new l("regex",{fontCharacter:"\\eb38"}),l.remoteExplorer=new l("remote-explorer",{fontCharacter:"\\eb39"}),l.remote=new l("remote",{fontCharacter:"\\eb3a"}),l.remove=new l("remove",{fontCharacter:"\\eb3b"}),l.replaceAll=new l("replace-all",{fontCharacter:"\\eb3c"}),l.replace=new l("replace",{fontCharacter:"\\eb3d"}),l.repoClone=new l("repo-clone",{fontCharacter:"\\eb3e"}),l.repoForcePush=new l("repo-force-push",{fontCharacter:"\\eb3f"}),l.repoPull=new l("repo-pull",{fontCharacter:"\\eb40"}),l.repoPush=new l("repo-push",{fontCharacter:"\\eb41"}),l.report=new l("report",{fontCharacter:"\\eb42"}),l.requestChanges=new l("request-changes",{fontCharacter:"\\eb43"}),l.rocket=new l("rocket",{fontCharacter:"\\eb44"}),l.rootFolderOpened=new l("root-folder-opened",{fontCharacter:"\\eb45"}),l.rootFolder=new l("root-folder",{fontCharacter:"\\eb46"}),l.rss=new l("rss",{fontCharacter:"\\eb47"}),l.ruby=new l("ruby",{fontCharacter:"\\eb48"}),l.saveAll=new l("save-all",{fontCharacter:"\\eb49"}),l.saveAs=new l("save-as",{fontCharacter:"\\eb4a"}),l.save=new l("save",{fontCharacter:"\\eb4b"}),l.screenFull=new l("screen-full",{fontCharacter:"\\eb4c"}),l.screenNormal=new l("screen-normal",{fontCharacter:"\\eb4d"}),l.searchStop=new l("search-stop",{fontCharacter:"\\eb4e"}),l.server=new l("server",{fontCharacter:"\\eb50"}),l.settingsGear=new l("settings-gear",{fontCharacter:"\\eb51"}),l.settings=new l("settings",{fontCharacter:"\\eb52"}),l.shield=new l("shield",{fontCharacter:"\\eb53"}),l.smiley=new l("smiley",{fontCharacter:"\\eb54"}),l.sortPrecedence=new l("sort-precedence",{fontCharacter:"\\eb55"}),l.splitHorizontal=new l("split-horizontal",{fontCharacter:"\\eb56"}),l.splitVertical=new l("split-vertical",{fontCharacter:"\\eb57"}),l.squirrel=new l("squirrel",{fontCharacter:"\\eb58"}),l.starFull=new l("star-full",{fontCharacter:"\\eb59"}),l.starHalf=new l("star-half",{fontCharacter:"\\eb5a"}),l.symbolClass=new l("symbol-class",{fontCharacter:"\\eb5b"}),l.symbolColor=new l("symbol-color",{fontCharacter:"\\eb5c"}),l.symbolConstant=new l("symbol-constant",{fontCharacter:"\\eb5d"}),l.symbolEnumMember=new l("symbol-enum-member",{fontCharacter:"\\eb5e"}),l.symbolField=new l("symbol-field",{fontCharacter:"\\eb5f"}),l.symbolFile=new l("symbol-file",{fontCharacter:"\\eb60"}),l.symbolInterface=new l("symbol-interface",{fontCharacter:"\\eb61"}),l.symbolKeyword=new l("symbol-keyword",{fontCharacter:"\\eb62"}),l.symbolMisc=new l("symbol-misc",{fontCharacter:"\\eb63"}),l.symbolOperator=new l("symbol-operator",{fontCharacter:"\\eb64"}),l.symbolProperty=new l("symbol-property",{fontCharacter:"\\eb65"}),l.wrench=new l("wrench",{fontCharacter:"\\eb65"}),l.wrenchSubaction=new l("wrench-subaction",{fontCharacter:"\\eb65"}),l.symbolSnippet=new l("symbol-snippet",{fontCharacter:"\\eb66"}),l.tasklist=new l("tasklist",{fontCharacter:"\\eb67"}),l.telescope=new l("telescope",{fontCharacter:"\\eb68"}),l.textSize=new l("text-size",{fontCharacter:"\\eb69"}),l.threeBars=new l("three-bars",{fontCharacter:"\\eb6a"}),l.thumbsdown=new l("thumbsdown",{fontCharacter:"\\eb6b"}),l.thumbsup=new l("thumbsup",{fontCharacter:"\\eb6c"}),l.tools=new l("tools",{fontCharacter:"\\eb6d"}),l.triangleDown=new l("triangle-down",{fontCharacter:"\\eb6e"}),l.triangleLeft=new l("triangle-left",{fontCharacter:"\\eb6f"}),l.triangleRight=new l("triangle-right",{fontCharacter:"\\eb70"}),l.triangleUp=new l("triangle-up",{fontCharacter:"\\eb71"}),l.twitter=new l("twitter",{fontCharacter:"\\eb72"}),l.unfold=new l("unfold",{fontCharacter:"\\eb73"}),l.unlock=new l("unlock",{fontCharacter:"\\eb74"}),l.unmute=new l("unmute",{fontCharacter:"\\eb75"}),l.unverified=new l("unverified",{fontCharacter:"\\eb76"}),l.verified=new l("verified",{fontCharacter:"\\eb77"}),l.versions=new l("versions",{fontCharacter:"\\eb78"}),l.vmActive=new l("vm-active",{fontCharacter:"\\eb79"}),l.vmOutline=new l("vm-outline",{fontCharacter:"\\eb7a"}),l.vmRunning=new l("vm-running",{fontCharacter:"\\eb7b"}),l.watch=new l("watch",{fontCharacter:"\\eb7c"}),l.whitespace=new l("whitespace",{fontCharacter:"\\eb7d"}),l.wholeWord=new l("whole-word",{fontCharacter:"\\eb7e"}),l.window=new l("window",{fontCharacter:"\\eb7f"}),l.wordWrap=new l("word-wrap",{fontCharacter:"\\eb80"}),l.zoomIn=new l("zoom-in",{fontCharacter:"\\eb81"}),l.zoomOut=new l("zoom-out",{fontCharacter:"\\eb82"}),l.listFilter=new l("list-filter",{fontCharacter:"\\eb83"}),l.listFlat=new l("list-flat",{fontCharacter:"\\eb84"}),l.listSelection=new l("list-selection",{fontCharacter:"\\eb85"}),l.selection=new l("selection",{fontCharacter:"\\eb85"}),l.listTree=new l("list-tree",{fontCharacter:"\\eb86"}),l.debugBreakpointFunctionUnverified=new l("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),l.debugBreakpointFunction=new l("debug-breakpoint-function",{fontCharacter:"\\eb88"}),l.debugBreakpointFunctionDisabled=new l("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),l.debugStackframeActive=new l("debug-stackframe-active",{fontCharacter:"\\eb89"}),l.debugStackframeDot=new l("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),l.debugStackframe=new l("debug-stackframe",{fontCharacter:"\\eb8b"}),l.debugStackframeFocused=new l("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),l.debugBreakpointUnsupported=new l("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),l.symbolString=new l("symbol-string",{fontCharacter:"\\eb8d"}),l.debugReverseContinue=new l("debug-reverse-continue",{fontCharacter:"\\eb8e"}),l.debugStepBack=new l("debug-step-back",{fontCharacter:"\\eb8f"}),l.debugRestartFrame=new l("debug-restart-frame",{fontCharacter:"\\eb90"}),l.callIncoming=new l("call-incoming",{fontCharacter:"\\eb92"}),l.callOutgoing=new l("call-outgoing",{fontCharacter:"\\eb93"}),l.menu=new l("menu",{fontCharacter:"\\eb94"}),l.expandAll=new l("expand-all",{fontCharacter:"\\eb95"}),l.feedback=new l("feedback",{fontCharacter:"\\eb96"}),l.groupByRefType=new l("group-by-ref-type",{fontCharacter:"\\eb97"}),l.ungroupByRefType=new l("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),l.account=new l("account",{fontCharacter:"\\eb99"}),l.bellDot=new l("bell-dot",{fontCharacter:"\\eb9a"}),l.debugConsole=new l("debug-console",{fontCharacter:"\\eb9b"}),l.library=new l("library",{fontCharacter:"\\eb9c"}),l.output=new l("output",{fontCharacter:"\\eb9d"}),l.runAll=new l("run-all",{fontCharacter:"\\eb9e"}),l.syncIgnored=new l("sync-ignored",{fontCharacter:"\\eb9f"}),l.pinned=new l("pinned",{fontCharacter:"\\eba0"}),l.githubInverted=new l("github-inverted",{fontCharacter:"\\eba1"}),l.debugAlt=new l("debug-alt",{fontCharacter:"\\eb91"}),l.serverProcess=new l("server-process",{fontCharacter:"\\eba2"}),l.serverEnvironment=new l("server-environment",{fontCharacter:"\\eba3"}),l.pass=new l("pass",{fontCharacter:"\\eba4"}),l.stopCircle=new l("stop-circle",{fontCharacter:"\\eba5"}),l.playCircle=new l("play-circle",{fontCharacter:"\\eba6"}),l.record=new l("record",{fontCharacter:"\\eba7"}),l.debugAltSmall=new l("debug-alt-small",{fontCharacter:"\\eba8"}),l.vmConnect=new l("vm-connect",{fontCharacter:"\\eba9"}),l.cloud=new l("cloud",{fontCharacter:"\\ebaa"}),l.merge=new l("merge",{fontCharacter:"\\ebab"}),l.exportIcon=new l("export",{fontCharacter:"\\ebac"}),l.graphLeft=new l("graph-left",{fontCharacter:"\\ebad"}),l.magnet=new l("magnet",{fontCharacter:"\\ebae"}),l.notebook=new l("notebook",{fontCharacter:"\\ebaf"}),l.redo=new l("redo",{fontCharacter:"\\ebb0"}),l.checkAll=new l("check-all",{fontCharacter:"\\ebb1"}),l.pinnedDirty=new l("pinned-dirty",{fontCharacter:"\\ebb2"}),l.passFilled=new l("pass-filled",{fontCharacter:"\\ebb3"}),l.circleLargeFilled=new l("circle-large-filled",{fontCharacter:"\\ebb4"}),l.circleLargeOutline=new l("circle-large-outline",{fontCharacter:"\\ebb5"}),l.combine=new l("combine",{fontCharacter:"\\ebb6"}),l.gather=new l("gather",{fontCharacter:"\\ebb6"}),l.table=new l("table",{fontCharacter:"\\ebb7"}),l.variableGroup=new l("variable-group",{fontCharacter:"\\ebb8"}),l.typeHierarchy=new l("type-hierarchy",{fontCharacter:"\\ebb9"}),l.typeHierarchySub=new l("type-hierarchy-sub",{fontCharacter:"\\ebba"}),l.typeHierarchySuper=new l("type-hierarchy-super",{fontCharacter:"\\ebbb"}),l.gitPullRequestCreate=new l("git-pull-request-create",{fontCharacter:"\\ebbc"}),l.runAbove=new l("run-above",{fontCharacter:"\\ebbd"}),l.runBelow=new l("run-below",{fontCharacter:"\\ebbe"}),l.notebookTemplate=new l("notebook-template",{fontCharacter:"\\ebbf"}),l.debugRerun=new l("debug-rerun",{fontCharacter:"\\ebc0"}),l.workspaceTrusted=new l("workspace-trusted",{fontCharacter:"\\ebc1"}),l.workspaceUntrusted=new l("workspace-untrusted",{fontCharacter:"\\ebc2"}),l.workspaceUnspecified=new l("workspace-unspecified",{fontCharacter:"\\ebc3"}),l.terminalCmd=new l("terminal-cmd",{fontCharacter:"\\ebc4"}),l.terminalDebian=new l("terminal-debian",{fontCharacter:"\\ebc5"}),l.terminalLinux=new l("terminal-linux",{fontCharacter:"\\ebc6"}),l.terminalPowershell=new l("terminal-powershell",{fontCharacter:"\\ebc7"}),l.terminalTmux=new l("terminal-tmux",{fontCharacter:"\\ebc8"}),l.terminalUbuntu=new l("terminal-ubuntu",{fontCharacter:"\\ebc9"}),l.terminalBash=new l("terminal-bash",{fontCharacter:"\\ebca"}),l.arrowSwap=new l("arrow-swap",{fontCharacter:"\\ebcb"}),l.copy=new l("copy",{fontCharacter:"\\ebcc"}),l.personAdd=new l("person-add",{fontCharacter:"\\ebcd"}),l.filterFilled=new l("filter-filled",{fontCharacter:"\\ebce"}),l.wand=new l("wand",{fontCharacter:"\\ebcf"}),l.debugLineByLine=new l("debug-line-by-line",{fontCharacter:"\\ebd0"}),l.inspect=new l("inspect",{fontCharacter:"\\ebd1"}),l.layers=new l("layers",{fontCharacter:"\\ebd2"}),l.layersDot=new l("layers-dot",{fontCharacter:"\\ebd3"}),l.layersActive=new l("layers-active",{fontCharacter:"\\ebd4"}),l.compass=new l("compass",{fontCharacter:"\\ebd5"}),l.compassDot=new l("compass-dot",{fontCharacter:"\\ebd6"}),l.compassActive=new l("compass-active",{fontCharacter:"\\ebd7"}),l.azure=new l("azure",{fontCharacter:"\\ebd8"}),l.issueDraft=new l("issue-draft",{fontCharacter:"\\ebd9"}),l.gitPullRequestClosed=new l("git-pull-request-closed",{fontCharacter:"\\ebda"}),l.gitPullRequestDraft=new l("git-pull-request-draft",{fontCharacter:"\\ebdb"}),l.debugAll=new l("debug-all",{fontCharacter:"\\ebdc"}),l.debugCoverage=new l("debug-coverage",{fontCharacter:"\\ebdd"}),l.runErrors=new l("run-errors",{fontCharacter:"\\ebde"}),l.folderLibrary=new l("folder-library",{fontCharacter:"\\ebdf"}),l.debugContinueSmall=new l("debug-continue-small",{fontCharacter:"\\ebe0"}),l.beakerStop=new l("beaker-stop",{fontCharacter:"\\ebe1"}),l.graphLine=new l("graph-line",{fontCharacter:"\\ebe2"}),l.graphScatter=new l("graph-scatter",{fontCharacter:"\\ebe3"}),l.pieChart=new l("pie-chart",{fontCharacter:"\\ebe4"}),l.bracket=new l("bracket",l.json.definition),l.bracketDot=new l("bracket-dot",{fontCharacter:"\\ebe5"}),l.bracketError=new l("bracket-error",{fontCharacter:"\\ebe6"}),l.lockSmall=new l("lock-small",{fontCharacter:"\\ebe7"}),l.azureDevops=new l("azure-devops",{fontCharacter:"\\ebe8"}),l.verifiedFilled=new l("verified-filled",{fontCharacter:"\\ebe9"})}(V||(V={}))},79881:function(Pn,Lt,u){"use strict";u.d(Lt,{B8:function(){return P},Cp:function(){return ce},F0:function(){return K},L6:function(){return y},VV:function(){return V},b1:function(){return l},dL:function(){return L},ri:function(){return j}});class i{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(C){setTimeout(()=>{throw C.stack?new Error(C.message+`
|
|
|
|
|
|
`+C.stack):C},0)}}emit(C){this.listeners.forEach(w=>{w(C)})}onUnexpectedError(C){this.unexpectedErrorHandler(C),this.emit(C)}onUnexpectedExternalError(C){this.unexpectedErrorHandler(C)}}const U=new i;function L(b){V(b)||U.onUnexpectedError(b)}function ce(b){V(b)||U.onUnexpectedExternalError(b)}function j(b){if(b instanceof Error){let{name:C,message:w}=b;const z=b.stacktrace||b.stack;return{$isError:!0,name:C,message:w,stack:z}}return b}const g="Canceled";function V(b){return b instanceof Error&&b.name===g&&b.message===g}function K(){const b=new Error(g);return b.name=b.message,b}function l(b){return b?new Error(`Illegal argument: ${b}`):new Error("Illegal argument")}function y(b){return b?new Error(`Illegal state: ${b}`):new Error("Illegal state")}class P extends Error{constructor(C){super("NotSupported"),C&&(this.message=C)}}},4348:function(Pn,Lt,u){"use strict";u.d(Lt,{D0:function(){return P},E7:function(){return b},K3:function(){return y},Q5:function(){return l},ZD:function(){return C},ju:function(){return j}});var i=u(79881),U=u(69323),L=u(34502),ce=u(95830),j;(function(w){w.None=()=>U.JT.None;function z(I){return(oe,ie=null,Ee)=>{let _=!1,A;return A=I(fe=>{if(!_)return A?A.dispose():_=!0,oe.call(ie,fe)},null,Ee),_&&A.dispose(),A}}w.once=z;function W(I,oe){return T((ie,Ee=null,_)=>I(A=>ie.call(Ee,oe(A)),null,_))}w.map=W;function Y(I,oe){return T((ie,Ee=null,_)=>I(A=>{oe(A),ie.call(Ee,A)},null,_))}w.forEach=Y;function $(I,oe){return T((ie,Ee=null,_)=>I(A=>oe(A)&&ie.call(Ee,A),null,_))}w.filter=$;function R(I){return I}w.signal=R;function G(...I){return(oe,ie=null,Ee)=>(0,U.F8)(...I.map(_=>_(A=>oe.call(ie,A),null,Ee)))}w.any=G;function O(I,oe,ie){let Ee=ie;return W(I,_=>(Ee=oe(Ee,_),Ee))}w.reduce=O;function T(I){let oe;const ie=new l({onFirstListenerAdd(){oe=I(ie.fire,ie)},onLastListenerRemove(){oe.dispose()}});return ie.event}function ue(I,oe,ie=100,Ee=!1,_){let A,fe,Be,ft=0;const At=new l({leakWarningThreshold:_,onFirstListenerAdd(){A=I(Ie=>{ft++,fe=oe(fe,Ie),Ee&&!Be&&(At.fire(fe),fe=void 0),clearTimeout(Be),Be=setTimeout(()=>{const it=fe;fe=void 0,Be=void 0,(!Ee||ft>1)&&At.fire(it),ft=0},ie)})},onLastListenerRemove(){A.dispose()}});return At.event}w.debounce=ue;function be(I,oe=(ie,Ee)=>ie===Ee){let ie=!0,Ee;return $(I,_=>{const A=ie||!oe(_,Ee);return ie=!1,Ee=_,A})}w.latch=be;function he(I,oe){return[w.filter(I,oe),w.filter(I,ie=>!oe(ie))]}w.split=he;function Ue(I,oe=!1,ie=[]){let Ee=ie.slice(),_=I(Be=>{Ee?Ee.push(Be):fe.fire(Be)});const A=()=>{Ee&&Ee.forEach(Be=>fe.fire(Be)),Ee=null},fe=new l({onFirstListenerAdd(){_||(_=I(Be=>fe.fire(Be)))},onFirstListenerDidAdd(){Ee&&(oe?setTimeout(A):A())},onLastListenerRemove(){_&&_.dispose(),_=null}});return fe.event}w.buffer=Ue;class Qe{constructor(oe){this.event=oe}map(oe){return new Qe(W(this.event,oe))}forEach(oe){return new Qe(Y(this.event,oe))}filter(oe){return new Qe($(this.event,oe))}reduce(oe,ie){return new Qe(O(this.event,oe,ie))}latch(){return new Qe(be(this.event))}debounce(oe,ie=100,Ee=!1,_){return new Qe(ue(this.event,oe,ie,Ee,_))}on(oe,ie,Ee){return this.event(oe,ie,Ee)}once(oe,ie,Ee){return z(this.event)(oe,ie,Ee)}}function ke(I){return new Qe(I)}w.chain=ke;function Ze(I,oe,ie=Ee=>Ee){const Ee=(...Be)=>fe.fire(ie(...Be)),_=()=>I.on(oe,Ee),A=()=>I.removeListener(oe,Ee),fe=new l({onFirstListenerAdd:_,onLastListenerRemove:A});return fe.event}w.fromNodeEventEmitter=Ze;function se(I,oe,ie=Ee=>Ee){const Ee=(...Be)=>fe.fire(ie(...Be)),_=()=>I.addEventListener(oe,Ee),A=()=>I.removeEventListener(oe,Ee),fe=new l({onFirstListenerAdd:_,onLastListenerRemove:A});return fe.event}w.fromDOMEventEmitter=se;function k(I){return new Promise(oe=>z(I)(oe))}w.toPromise=k})(j||(j={}));class g{constructor(z){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${z}_${g._idPool++}`}start(z){this._stopWatch=new ce.G(!0),this._listenerCount=z}stop(){if(this._stopWatch){const z=this._stopWatch.elapsed();this._elapsedOverall+=z,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${z.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}g._idPool=0;let V=-1;class K{constructor(z,W=Math.random().toString(18).slice(2,5)){this.customThreshold=z,this.name=W,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(z){let W=V;if(typeof this.customThreshold=="number"&&(W=this.customThreshold),W<=0||z<W)return;this._stacks||(this._stacks=new Map);const Y=new Error().stack.split(`
|
|
|
`).slice(3).join(`
|
|
|
`),$=this._stacks.get(Y)||0;if(this._stacks.set(Y,$+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=W*.5;let R,G=0;for(const[O,T]of this._stacks)(!R||G<T)&&(R=O,G=T);console.warn(`[${this.name}] potential listener LEAK detected, having ${z} listeners already. MOST frequent listener (${G}):`),console.warn(R)}return()=>{const R=this._stacks.get(Y)||0;this._stacks.set(Y,R-1)}}}class l{constructor(z){var W;this._disposed=!1,this._options=z,this._leakageMon=V>0?new K(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((W=this._options)===null||W===void 0)&&W._profName?new g(this._options._profName):void 0}get event(){return this._event||(this._event=(z,W,Y)=>{var $;this._listeners||(this._listeners=new L.S);const R=this._listeners.isEmpty();R&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const G=this._listeners.push(W?[z,W]:z);R&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,z,W);const O=($=this._leakageMon)===null||$===void 0?void 0:$.check(this._listeners.size),T=(0,U.OF)(()=>{O&&O(),this._disposed||(G(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return Y instanceof U.SL?Y.add(T):Array.isArray(Y)&&Y.push(T),T}),this._event}fire(z){var W,Y;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new L.S);for(let $ of this._listeners)this._deliveryQueue.push([$,z]);for((W=this._perfMon)===null||W===void 0||W.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[$,R]=this._deliveryQueue.shift();try{typeof $=="function"?$.call(void 0,R):$[0].call($[1],R)}catch(G){(0,i.dL)(G)}}(Y=this._perfMon)===null||Y===void 0||Y.stop()}}dispose(){var z,W,Y,$,R;this._disposed||(this._disposed=!0,(z=this._listeners)===null||z===void 0||z.clear(),(W=this._deliveryQueue)===null||W===void 0||W.clear(),($=(Y=this._options)===null||Y===void 0?void 0:Y.onLastListenerRemove)===null||$===void 0||$.call(Y),(R=this._leakageMon)===null||R===void 0||R.dispose())}}class y extends l{constructor(z){super(z),this._isPaused=0,this._eventQueue=new L.S,this._mergeFn=z==null?void 0:z.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const z=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(z))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(z){this._listeners&&(this._isPaused!==0?this._eventQueue.push(z):super.fire(z))}}class P extends y{constructor(z){var W;super(z),this._delay=(W=z.delay)!==null&&W!==void 0?W:100}fire(z){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(z)}}class b{constructor(){this.buffers=[]}wrapEvent(z){return(W,Y,$)=>z(R=>{const G=this.buffers[this.buffers.length-1];G?G.push(()=>W.call(Y,R)):W.call(Y,R)},void 0,$)}bufferEvents(z){const W=[];this.buffers.push(W);const Y=z();return this.buffers.pop(),W.forEach($=>$()),Y}}class C{constructor(){this.listening=!1,this.inputEvent=j.None,this.inputEventListener=U.JT.None,this.emitter=new l({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(z){this.inputEvent=z,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=z(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(Pn,Lt,u){"use strict";u.d(Lt,{I:function(){return i}});function i(U){const L=this;let ce=!1,j;return function(){return ce||(ce=!0,j=U.apply(L,arguments)),j}}},88226:function(Pn,Lt,u){"use strict";u.d(Lt,{$:function(){return i}});var i;(function(U){function L(G){return G&&typeof G=="object"&&typeof G[Symbol.iterator]=="function"}U.is=L;const ce=Object.freeze([]);function j(){return ce}U.empty=j;function*g(G){yield G}U.single=g;function V(G){return G||ce}U.from=V;function K(G){return!G||G[Symbol.iterator]().next().done===!0}U.isEmpty=K;function l(G){return G[Symbol.iterator]().next().value}U.first=l;function y(G,O){for(const T of G)if(O(T))return!0;return!1}U.some=y;function P(G,O){for(const T of G)if(O(T))return T}U.find=P;function*b(G,O){for(const T of G)O(T)&&(yield T)}U.filter=b;function*C(G,O){let T=0;for(const ue of G)yield O(ue,T++)}U.map=C;function*w(...G){for(const O of G)for(const T of O)yield T}U.concat=w;function*z(G){for(const O of G)for(const T of O)yield T}U.concatNested=z;function W(G,O,T){let ue=T;for(const be of G)ue=O(ue,be);return ue}U.reduce=W;function*Y(G,O,T=G.length){for(O<0&&(O+=G.length),T<0?T+=G.length:T>G.length&&(T=G.length);O<T;O++)yield G[O]}U.slice=Y;function $(G,O=Number.POSITIVE_INFINITY){const T=[];if(O===0)return[T,G];const ue=G[Symbol.iterator]();for(let be=0;be<O;be++){const he=ue.next();if(he.done)return[T,U.empty()];T.push(he.value)}return[T,{[Symbol.iterator](){return ue}}]}U.consume=$;function R(G,O,T=(ue,be)=>ue===be){const ue=G[Symbol.iterator](),be=O[Symbol.iterator]();for(;;){const he=ue.next(),Ue=be.next();if(he.done!==Ue.done)return!1;if(he.done)return!0;if(!T(he.value,Ue.value))return!1}}U.equals=R})(i||(i={}))},69323:function(Pn,Lt,u){"use strict";u.d(Lt,{B9:function(){return C},F8:function(){return w},JT:function(){return Y},Jz:function(){return R},OF:function(){return z},SL:function(){return W},Wf:function(){return b},XK:function(){return $},dk:function(){return y}});var i=u(17845),U=u(88226);const L=!1;let ce=null;function j(G){ce=G}if(L){const G="__is_disposable_tracked__";j(new class{trackDisposable(O){const T=new Error("Potentially leaked disposable").stack;setTimeout(()=>{O[G]||console.log(T)},3e3)}setParent(O,T){if(O&&O!==Y.None)try{O[G]=!0}catch(ue){}}markAsDisposed(O){if(O&&O!==Y.None)try{O[G]=!0}catch(T){}}markAsSingleton(O){}})}function g(G){return ce==null||ce.trackDisposable(G),G}function V(G){ce==null||ce.markAsDisposed(G)}function K(G,O){ce==null||ce.setParent(G,O)}function l(G,O){if(ce)for(const T of G)ce.setParent(T,O)}function y(G){return ce==null||ce.markAsSingleton(G),G}class P extends Error{constructor(O){super(`Encountered errors while disposing of store. Errors: [${O.join(", ")}]`),this.errors=O}}function b(G){return typeof G.dispose=="function"&&G.dispose.length===0}function C(G){if(U.$.is(G)){let O=[];for(const T of G)if(T)try{T.dispose()}catch(ue){O.push(ue)}if(O.length===1)throw O[0];if(O.length>1)throw new P(O);return Array.isArray(G)?[]:G}else if(G)return G.dispose(),G}function w(...G){const O=z(()=>C(G));return l(G,O),O}function z(G){const O=g({dispose:(0,i.I)(()=>{V(O),G()})});return O}class W{constructor(){this._toDispose=new Set,this._isDisposed=!1,g(this)}dispose(){this._isDisposed||(V(this),this._isDisposed=!0,this.clear())}clear(){try{C(this._toDispose.values())}finally{this._toDispose.clear()}}add(O){if(!O)return O;if(O===this)throw new Error("Cannot register a disposable on itself!");return K(O,this),this._isDisposed?W.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(O),O}}W.DISABLE_DISPOSED_WARNING=!1;class Y{constructor(){this._store=new W,g(this),K(this._store,this)}dispose(){V(this),this._store.dispose()}_register(O){if(O===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(O)}}Y.None=Object.freeze({dispose(){}});class ${constructor(){this._isDisposed=!1,g(this)}get value(){return this._isDisposed?void 0:this._value}set value(O){var T;this._isDisposed||O===this._value||((T=this._value)===null||T===void 0||T.dispose(),O&&K(O,this),this._value=O)}clear(){this.value=void 0}dispose(){var O;this._isDisposed=!0,V(this),(O=this._value)===null||O===void 0||O.dispose(),this._value=void 0}clearAndLeak(){const O=this._value;return this._value=void 0,O&&K(O,null),O}}class R{constructor(O){this.object=O}dispose(){}}},34502:function(Pn,Lt,u){"use strict";u.d(Lt,{S:function(){return U}});class i{constructor(ce){this.element=ce,this.next=i.Undefined,this.prev=i.Undefined}}i.Undefined=new i(void 0);class U{constructor(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===i.Undefined}clear(){let ce=this._first;for(;ce!==i.Undefined;){const j=ce.next;ce.prev=i.Undefined,ce.next=i.Undefined,ce=j}this._first=i.Undefined,this._last=i.Undefined,this._size=0}unshift(ce){return this._insert(ce,!1)}push(ce){return this._insert(ce,!0)}_insert(ce,j){const g=new i(ce);if(this._first===i.Undefined)this._first=g,this._last=g;else if(j){const K=this._last;this._last=g,g.prev=K,K.next=g}else{const K=this._first;this._first=g,g.next=K,K.prev=g}this._size+=1;let V=!1;return()=>{V||(V=!0,this._remove(g))}}shift(){if(this._first!==i.Undefined){const ce=this._first.element;return this._remove(this._first),ce}}pop(){if(this._last!==i.Undefined){const ce=this._last.element;return this._remove(this._last),ce}}_remove(ce){if(ce.prev!==i.Undefined&&ce.next!==i.Undefined){const j=ce.prev;j.next=ce.next,ce.next.prev=j}else ce.prev===i.Undefined&&ce.next===i.Undefined?(this._first=i.Undefined,this._last=i.Undefined):ce.next===i.Undefined?(this._last=this._last.prev,this._last.next=i.Undefined):ce.prev===i.Undefined&&(this._first=this._first.next,this._first.prev=i.Undefined);this._size-=1}*[Symbol.iterator](){let ce=this._first;for(;ce!==i.Undefined;)yield ce.element,ce=ce.next}}},23345:function(Pn,Lt,u){"use strict";u.d(Lt,{$L:function(){return ue},ED:function(){return R},IJ:function(){return O},OS:function(){return Qe},WE:function(){return he},dz:function(){return G},gn:function(){return be},li:function(){return z},r:function(){return se},tY:function(){return T},xS:function(){return Ue}});var i=u(97671),U;const L="en";let ce=!1,j=!1,g=!1,V=!1,K=!1,l=!1,y=!1,P,b=null,C=null,w;const z=typeof self=="object"?self:typeof u.g=="object"?u.g:{};let W;typeof z.vscode!="undefined"&&typeof z.vscode.process!="undefined"?W=z.vscode.process:typeof i!="undefined"&&(W=i);const Y=typeof((U=W==null?void 0:W.versions)===null||U===void 0?void 0:U.electron)=="string"&&W.type==="renderer";if(typeof navigator=="object"&&!Y)w=navigator.userAgent,ce=w.indexOf("Windows")>=0,j=w.indexOf("Macintosh")>=0,y=(w.indexOf("Macintosh")>=0||w.indexOf("iPad")>=0||w.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,g=w.indexOf("Linux")>=0,l=!0,P=navigator.language,b=P;else if(typeof W=="object"){ce=W.platform==="win32",j=W.platform==="darwin",g=W.platform==="linux",V=g&&!!W.env.SNAP&&!!W.env.SNAP_REVISION,P=L,b=L;const k=W.env.VSCODE_NLS_CONFIG;if(k)try{const I=JSON.parse(k),oe=I.availableLanguages["*"];P=I.locale,b=oe||L,C=I._translationsConfigFile}catch(I){}K=!0}else console.error("Unable to resolve platform.");let $=0;j?$=1:ce?$=3:g&&($=2);const R=ce,G=j,O=g,T=K,ue=l,be=y,he=w,Ue=function(){if(z.setImmediate)return z.setImmediate.bind(z);if(typeof z.postMessage=="function"&&!z.importScripts){let oe=[];z.addEventListener("message",Ee=>{if(Ee.data&&Ee.data.vscodeSetImmediateId)for(let _=0,A=oe.length;_<A;_++){const fe=oe[_];if(fe.id===Ee.data.vscodeSetImmediateId){oe.splice(_,1),fe.callback();return}}});let ie=0;return Ee=>{const _=++ie;oe.push({id:_,callback:Ee}),z.postMessage({vscodeSetImmediateId:_},"*")}}if(typeof(W==null?void 0:W.nextTick)=="function")return W.nextTick.bind(W);const I=Promise.resolve();return oe=>I.then(oe)}(),Qe=j||y?2:ce?1:3;let ke=!0,Ze=!1;function se(){if(!Ze){Ze=!0;const k=new Uint8Array(2);k[0]=1,k[1]=2,ke=new Uint16Array(k.buffer)[0]===513}return ke}},95830:function(Pn,Lt,u){"use strict";u.d(Lt,{G:function(){return L}});var i=u(23345);const U=i.li.performance&&typeof i.li.performance.now=="function";class L{constructor(j){this._highResolution=U&&j,this._startTime=this._now(),this._stopTime=-1}static create(j=!0){return new L(j)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?i.li.performance.now():Date.now()}}},82983:function(Pn,Lt,u){"use strict";u.d(Lt,{$i:function(){return ft},C8:function(){return Tt},GF:function(){return P},HO:function(){return ie},IO:function(){return b},K7:function(){return ht},Kw:function(){return yt},LC:function(){return z},Mh:function(){return Ue},P1:function(){return Qe},PJ:function(){return cn},Qe:function(){return At},R1:function(){return y},RP:function(){return fe},S6:function(){return Je},TT:function(){return R},Ut:function(){return _},V8:function(){return W},WU:function(){return L},YK:function(){return Ze},YU:function(){return ce},ZG:function(){return ke},ZH:function(){return k},ab:function(){return Ie},c1:function(){return ze},df:function(){return ue},ec:function(){return j},fi:function(){return bt},fy:function(){return g},j3:function(){return V},j_:function(){return O},m5:function(){return i},mK:function(){return T},mr:function(){return C},oH:function(){return ne},oL:function(){return K},ok:function(){return he},ow:function(){return Y},qq:function(){return be},qu:function(){return $},rL:function(){return se},uS:function(){return Jt},un:function(){return l},uq:function(){return w},vH:function(){return oe},xe:function(){return it},zY:function(){return G}});function i(M){return!M||typeof M!="string"?!0:M.trim().length===0}const U=/{(\d+)}/g;function L(M,..._e){return _e.length===0?M:M.replace(U,function(me,Te){const Fe=parseInt(Te,10);return isNaN(Fe)||Fe<0||Fe>=_e.length?me:_e[Fe]})}function ce(M){return M.replace(/[<>&]/g,function(_e){switch(_e){case"<":return"<";case">":return">";case"&":return"&";default:return _e}})}function j(M){return M.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function g(M,_e=" "){const me=V(M,_e);return K(me,_e)}function V(M,_e){if(!M||!_e)return M;const me=_e.length;if(me===0||M.length===0)return M;let Te=0;for(;M.indexOf(_e,Te)===Te;)Te=Te+me;return M.substring(Te)}function K(M,_e){if(!M||!_e)return M;const me=_e.length,Te=M.length;if(me===0||Te===0)return M;let Fe=Te,Xe=-1;for(;Xe=M.lastIndexOf(_e,Fe-1),!(Xe===-1||Xe+me!==Fe);){if(Xe===0)return"";Fe=Xe}return M.substring(0,Fe)}function l(M){return M.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function y(M){return M.replace(/\*/g,"")}function P(M,_e,me={}){if(!M)throw new Error("Cannot create regex from empty string");_e||(M=j(M)),me.wholeWord&&(/\B/.test(M.charAt(0))||(M="\\b"+M),/\B/.test(M.charAt(M.length-1))||(M=M+"\\b"));let Te="";return me.global&&(Te+="g"),me.matchCase||(Te+="i"),me.multiline&&(Te+="m"),me.unicode&&(Te+="u"),new RegExp(M,Te)}function b(M){return M.source==="^"||M.source==="^$"||M.source==="$"||M.source==="^\\s*$"?!1:!!(M.exec("")&&M.lastIndex===0)}function C(M){return(M.global?"g":"")+(M.ignoreCase?"i":"")+(M.multiline?"m":"")+(M.unicode?"u":"")}function w(M){return M.split(/\r\n|\r|\n/)}function z(M){for(let _e=0,me=M.length;_e<me;_e++){const Te=M.charCodeAt(_e);if(Te!==32&&Te!==9)return _e}return-1}function W(M,_e=0,me=M.length){for(let Te=_e;Te<me;Te++){const Fe=M.charCodeAt(Te);if(Fe!==32&&Fe!==9)return M.substring(_e,Te)}return M.substring(_e,me)}function Y(M,_e=M.length-1){for(let me=_e;me>=0;me--){const Te=M.charCodeAt(me);if(Te!==32&&Te!==9)return me}return-1}function $(M,_e){return M<_e?-1:M>_e?1:0}function R(M,_e,me=0,Te=M.length,Fe=0,Xe=_e.length){for(;me<Te&&Fe<Xe;me++,Fe++){let xe=M.charCodeAt(me),Pt=_e.charCodeAt(Fe);if(xe<Pt)return-1;if(xe>Pt)return 1}const gt=Te-me,de=Xe-Fe;return gt<de?-1:gt>de?1:0}function G(M,_e){return O(M,_e,0,M.length,0,_e.length)}function O(M,_e,me=0,Te=M.length,Fe=0,Xe=_e.length){for(;me<Te&&Fe<Xe;me++,Fe++){let xe=M.charCodeAt(me),Pt=_e.charCodeAt(Fe);if(xe===Pt)continue;if(xe>=128||Pt>=128)return R(M.toLowerCase(),_e.toLowerCase(),me,Te,Fe,Xe);T(xe)&&(xe-=32),T(Pt)&&(Pt-=32);const xt=xe-Pt;if(xt!==0)return xt}const gt=Te-me,de=Xe-Fe;return gt<de?-1:gt>de?1:0}function T(M){return M>=97&&M<=122}function ue(M){return M>=65&&M<=90}function be(M,_e){return M.length===_e.length&&O(M,_e)===0}function he(M,_e){const me=_e.length;return _e.length>M.length?!1:O(M,_e,0,me)===0}function Ue(M,_e){let me,Te=Math.min(M.length,_e.length);for(me=0;me<Te;me++)if(M.charCodeAt(me)!==_e.charCodeAt(me))return me;return Te}function Qe(M,_e){let me,Te=Math.min(M.length,_e.length);const Fe=M.length-1,Xe=_e.length-1;for(me=0;me<Te;me++)if(M.charCodeAt(Fe-me)!==_e.charCodeAt(Xe-me))return me;return Te}function ke(M){return 55296<=M&&M<=56319}function Ze(M){return 56320<=M&&M<=57343}function se(M,_e){return(M-55296<<10)+(_e-56320)+65536}function k(M,_e,me){const Te=M.charCodeAt(me);if(ke(Te)&&me+1<_e){const Fe=M.charCodeAt(me+1);if(Ze(Fe))return se(Te,Fe)}return Te}function I(M,_e){const me=M.charCodeAt(_e-1);if(Ze(me)&&_e>1){const Te=M.charCodeAt(_e-2);if(ke(Te))return se(Te,me)}return me}function oe(M,_e){const me=Ge.getInstance(),Te=_e,Fe=M.length,Xe=k(M,Fe,_e);_e+=Xe>=65536?2:1;let gt=me.getGraphemeBreakType(Xe);for(;_e<Fe;){const de=k(M,Fe,_e),xe=me.getGraphemeBreakType(de);if(bt(gt,xe))break;_e+=de>=65536?2:1,gt=xe}return _e-Te}function ie(M,_e){const me=Ge.getInstance(),Te=_e,Fe=I(M,_e);_e-=Fe>=65536?2:1;let Xe=me.getGraphemeBreakType(Fe);for(;_e>0;){const gt=I(M,_e),de=me.getGraphemeBreakType(gt);if(bt(de,Xe))break;_e-=gt>=65536?2:1,Xe=de}return Te-_e}const Ee=/(?:[\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 _(M){return Ee.test(M)}const A=/(?:[\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 fe(M){return A.test(M)}const Be=/^[\t\n\r\x20-\x7E]*$/;function ft(M){return Be.test(M)}const At=/[\u2028\u2029]/;function Ie(M){return At.test(M)}function it(M){for(let _e=0,me=M.length;_e<me;_e++)if(ht(M.charCodeAt(_e)))return!0;return!1}function ht(M){return M=+M,M>=11904&&M<=55215||M>=63744&&M<=64255||M>=65281&&M<=65374}function Tt(M){return M>=127462&&M<=127487||M===8986||M===8987||M===9200||M===9203||M>=9728&&M<=10175||M===11088||M===11093||M>=127744&&M<=128591||M>=128640&&M<=128764||M>=128992&&M<=129003||M>=129280&&M<=129535||M>=129648&&M<=129750}const ze="\uFEFF";function Jt(M){return!!(M&&M.length>0&&M.charCodeAt(0)===65279)}function yt(M,_e=!1){return M?(_e&&(M=M.replace(/\\./g,"")),M.toLowerCase()!==M):!1}function cn(M){return M=M%(2*26),M<26?String.fromCharCode(97+M):String.fromCharCode(65+M-26)}function Je(M){return Ge.getInstance().getGraphemeBreakType(M)}function bt(M,_e){return M===0?_e!==5&&_e!==7:M===2&&_e===3?!1:M===4||M===2||M===3||_e===4||_e===2||_e===3?!0:!(M===8&&(_e===8||_e===9||_e===11||_e===12)||(M===11||M===9)&&(_e===9||_e===10)||(M===12||M===10)&&_e===10||_e===5||_e===13||_e===7||M===1||M===13&&_e===14||M===6&&_e===6)}class Ge{constructor(){this._data=Ne()}static getInstance(){return Ge._INSTANCE||(Ge._INSTANCE=new Ge),Ge._INSTANCE}getGraphemeBreakType(_e){if(_e<32)return _e===10?3:_e===13?2:4;if(_e<127)return 0;const me=this._data,Te=me.length/3;let Fe=1;for(;Fe<=Te;)if(_e<me[3*Fe])Fe=2*Fe;else if(_e>me[3*Fe+1])Fe=2*Fe+1;else return me[3*Fe+2];return 0}}Ge._INSTANCE=null;function Ne(){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 ne(M,_e){if(M===0)return 0;const me=lt(M,_e);if(me!==void 0)return me;const Te=I(_e,M);return M-=Ke(Te),M}function lt(M,_e){let me=I(_e,M);for(M-=Ke(me);H(me)||me===65039||me===8419;){if(M===0)return;me=I(_e,M),M-=Ke(me)}if(Tt(me)){if(M>=0){const Te=I(_e,M);Te===8205&&(M-=Ke(Te))}return M}}function Ke(M){return M>=65536?2:1}function H(M){return 127995<=M&&M<=127999}},72999:function(Pn,Lt,u){"use strict";u.d(Lt,{$E:function(){return z},$K:function(){return V},D8:function(){return b},HD:function(){return U},IU:function(){return W},Jp:function(){return K},Kn:function(){return L},cW:function(){return y},f6:function(){return Y},hj:function(){return ce},jn:function(){return j},kJ:function(){return i},mf:function(){return P},o8:function(){return g},p_:function(){return l},vE:function(){return $}});function i(R){return Array.isArray(R)}function U(R){return typeof R=="string"}function L(R){return typeof R=="object"&&R!==null&&!Array.isArray(R)&&!(R instanceof RegExp)&&!(R instanceof Date)}function ce(R){return typeof R=="number"&&!isNaN(R)}function j(R){return R===!0||R===!1}function g(R){return typeof R=="undefined"}function V(R){return!K(R)}function K(R){return g(R)||R===null}function l(R,G){if(!R)throw new Error(G?`Unexpected type, expected '${G}'`:"Unexpected type")}function y(R){if(K(R))throw new Error("Assertion Failed: argument is undefined or null");return R}function P(R){return typeof R=="function"}function b(R,G){const O=Math.min(R.length,G.length);for(let T=0;T<O;T++)C(R[T],G[T])}function C(R,G){if(U(G)){if(typeof R!==G)throw new Error(`argument does not match constraint: typeof ${G}`)}else if(P(G)){try{if(R instanceof G)return}catch(O){}if(!K(R)&&R.constructor===G||G.length===1&&G.call(void 0,R)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function w(R){let G=[],O=Object.getPrototypeOf(R);for(;Object.prototype!==O;)G=G.concat(Object.getOwnPropertyNames(O)),O=Object.getPrototypeOf(O);return G}function z(R){const G=[];for(const O of w(R))typeof R[O]=="function"&&G.push(O);return G}function W(R,G){const O=ue=>function(){const be=Array.prototype.slice.call(arguments,0);return G(ue,be)};let T={};for(const ue of R)T[ue]=O(ue);return T}function Y(R){return R===null?void 0:R}function $(R,G="Unreachable"){throw new Error(G)}},13268:function(Pn,Lt,u){"use strict";u.d(Lt,{N:function(){return U}});function i(L,ce){let j;return ce.length===0?j=L:j=L.replace(/\{(\d+)\}/g,function(g,V){const K=V[0];return typeof ce[K]!="undefined"?ce[K]:g}),j}function U(L,ce,...j){return i(ce,j)}},96236:function(Pn,Lt,u){"use strict";u.d(Lt,{BH:function(){return W},NZ:function(){return Y},U8:function(){return $},co:function(){return z},eH:function(){return w},vr:function(){return C}});var i=u(75918),U=u(52615),L=u(4348),ce=u(88226),j=u(69323),g=u(34502),V=u(35884),K=u(90689),l=u(16925),y=u(49055),P=function(R,G,O,T){var ue=arguments.length,be=ue<3?G:T===null?T=Object.getOwnPropertyDescriptor(G,O):T,he;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")be=Reflect.decorate(R,G,O,T);else for(var Ue=R.length-1;Ue>=0;Ue--)(he=R[Ue])&&(be=(ue<3?he(be):ue>3?he(G,O,be):he(G,O))||be);return ue>3&&be&&Object.defineProperty(G,O,be),be},b=function(R,G){return function(O,T){G(O,T,R)}};function C(R){return R.command!==void 0}class w{constructor(G){this.id=w._idPool++,this._debugName=G}}w._idPool=0,w.CommandPalette=new w("CommandPalette"),w.EditorContext=new w("EditorContext"),w.SimpleEditorContext=new w("SimpleEditorContext"),w.EditorContextCopy=new w("EditorContextCopy"),w.EditorContextPeek=new w("EditorContextPeek"),w.MenubarEditMenu=new w("MenubarEditMenu"),w.MenubarCopy=new w("MenubarCopy"),w.MenubarGoMenu=new w("MenubarGoMenu"),w.MenubarSelectionMenu=new w("MenubarSelectionMenu"),w.InlineCompletionsActions=new w("InlineCompletionsActions");const z=(0,l.yh)("menuService"),W=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new L.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:R=>R===w.CommandPalette}}addCommand(R){return this.addCommands(ce.$.single(R))}addCommands(R){for(const G of R)this._commands.set(G.id,G);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,j.OF)(()=>{let G=!1;for(const O of R)G=this._commands.delete(O.id)||G;G&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(R){return this._commands.get(R)}getCommands(){const R=new Map;return this._commands.forEach((G,O)=>R.set(O,G)),R}appendMenuItem(R,G){return this.appendMenuItems(ce.$.single({id:R,item:G}))}appendMenuItems(R){const G=new Set,O=new g.S;for(const{id:T,item:ue}of R){let be=this._menuItems.get(T);be||(be=new g.S,this._menuItems.set(T,be)),O.push(be.push(ue)),G.add(T)}return this._onDidChangeMenu.fire(G),(0,j.OF)(()=>{if(O.size>0){for(let T of O)T();this._onDidChangeMenu.fire(G),O.clear()}})}getMenuItems(R){let G;return this._menuItems.has(R)?G=[...this._menuItems.get(R)]:G=[],R===w.CommandPalette&&this._appendImplicitItems(G),G}_appendImplicitItems(R){const G=new Set;for(const O of R)C(O)&&(G.add(O.command.id),O.alt&&G.add(O.alt.id));this._commands.forEach((O,T)=>{G.has(T)||R.push({command:O})})}};class Y extends i.wY{constructor(G,O,T,ue){super(`submenuitem.${G.submenu.id}`,typeof G.title=="string"?G.title:G.title.value,[],"submenu"),this.item=G,this._menuService=O,this._contextKeyService=T,this._options=ue}get actions(){const G=[],O=this._menuService.createMenu(this.item.submenu,this._contextKeyService),T=O.getActions(this._options);O.dispose();for(const[,ue]of T)ue.length>0&&(G.push(...ue),G.push(new i.Z0));return G.length&&G.pop(),G}}let $=class cc{constructor(G,O,T,ue,be){var he,Ue;if(this._commandService=be,this.id=G.id,this.label=T!=null&&T.renderShortTitle&&G.shortTitle?typeof G.shortTitle=="string"?G.shortTitle:G.shortTitle.value:typeof G.title=="string"?G.title:G.title.value,this.tooltip=(Ue=typeof G.tooltip=="string"?G.tooltip:(he=G.tooltip)===null||he===void 0?void 0:he.value)!==null&&Ue!==void 0?Ue:"",this.enabled=!G.precondition||ue.contextMatchesRules(G.precondition),this.checked=void 0,G.toggled){const Qe=G.toggled.condition?G.toggled:{condition:G.toggled};this.checked=ue.contextMatchesRules(Qe.condition),this.checked&&Qe.tooltip&&(this.tooltip=typeof Qe.tooltip=="string"?Qe.tooltip:Qe.tooltip.value),Qe.title&&(this.label=typeof Qe.title=="string"?Qe.title:Qe.title.value)}this.item=G,this.alt=O?new cc(O,void 0,T,ue,be):void 0,this._options=T,y.kS.isThemeIcon(G.icon)&&(this.class=U.dT.asClassName(G.icon))}dispose(){}run(...G){var O,T;let ue=[];return!((O=this._options)===null||O===void 0)&&O.arg&&(ue=[...ue,this._options.arg]),!((T=this._options)===null||T===void 0)&&T.shouldForwardArgs&&(ue=[...ue,...G]),this._commandService.executeCommand(this.id,...ue)}};$=P([b(3,K.i6),b(4,V.H)],$)},35884:function(Pn,Lt,u){"use strict";u.d(Lt,{H:function(){return V},P:function(){return K}});var i=u(4348),U=u(88226),L=u(69323),ce=u(34502),j=u(72999),g=u(16925);const V=(0,g.yh)("commandService"),K=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new i.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(l,y){if(!l)throw new Error("invalid command");if(typeof l=="string"){if(!y)throw new Error("invalid command");return this.registerCommand({id:l,handler:y})}if(l.description){const z=[];for(let Y of l.description.args)z.push(Y.constraint);const W=l.handler;l.handler=function(Y,...$){return(0,j.D8)($,z),W(Y,...$)}}const{id:P}=l;let b=this._commands.get(P);b||(b=new ce.S,this._commands.set(P,b));let C=b.unshift(l),w=(0,L.OF)(()=>{C();const z=this._commands.get(P);z!=null&&z.isEmpty()&&this._commands.delete(P)});return this._onDidRegisterCommand.fire(P),w}registerCommandAlias(l,y){return K.registerCommand(l,(P,...b)=>P.get(V).executeCommand(y,...b))}getCommand(l){const y=this._commands.get(l);if(!(!y||y.isEmpty()))return U.$.first(y)}getCommands(){const l=new Map;for(const y of this._commands.keys()){const P=this.getCommand(y);P&&l.set(y,P)}return l}};K.registerCommand("noop",()=>{})},90689:function(Pn,Lt,u){"use strict";u.d(Lt,{Ao:function(){return V},Eq:function(){return se},Fb:function(){return K},K8:function(){return oe},i6:function(){return Ze},uy:function(){return ke}});var i=u(23345),U=u(82983),L=u(16925);let ce=i.WE||"";const j=new Map;j.set("false",!1),j.set("true",!0),j.set("isMac",i.dz),j.set("isLinux",i.IJ),j.set("isWindows",i.ED),j.set("isWeb",i.$L),j.set("isMacNative",i.dz&&!i.$L),j.set("isEdge",ce.indexOf("Edg/")>=0),j.set("isFirefox",ce.indexOf("Firefox")>=0),j.set("isChrome",ce.indexOf("Chrome")>=0),j.set("isSafari",ce.indexOf("Safari")>=0);const g=Object.prototype.hasOwnProperty;class V{static has(_){return b.create(_)}static equals(_,A){return C.create(_,A)}static regex(_,A){return ue.create(_,A)}static not(_){return Y.create(_)}static and(..._){return Ue.create(_,null)}static or(..._){return Qe.create(_,null,!0)}static deserialize(_,A=!1){if(_)return this._deserializeOrExpression(_,A)}static _deserializeOrExpression(_,A){let fe=_.split("||");return Qe.create(fe.map(Be=>this._deserializeAndExpression(Be,A)),null,!0)}static _deserializeAndExpression(_,A){let fe=_.split("&&");return Ue.create(fe.map(Be=>this._deserializeOne(Be,A)),null)}static _deserializeOne(_,A){if(_=_.trim(),_.indexOf("!=")>=0){let fe=_.split("!=");return W.create(fe[0].trim(),this._deserializeValue(fe[1],A))}if(_.indexOf("==")>=0){let fe=_.split("==");return C.create(fe[0].trim(),this._deserializeValue(fe[1],A))}if(_.indexOf("=~")>=0){let fe=_.split("=~");return ue.create(fe[0].trim(),this._deserializeRegexValue(fe[1],A))}if(_.indexOf(" in ")>=0){let fe=_.split(" in ");return w.create(fe[0].trim(),fe[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(_)){const fe=_.split(">=");return G.create(fe[0].trim(),fe[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(_)){const fe=_.split(">");return R.create(fe[0].trim(),fe[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(_)){const fe=_.split("<=");return T.create(fe[0].trim(),fe[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(_)){const fe=_.split("<");return O.create(fe[0].trim(),fe[1].trim())}return/^\!\s*/.test(_)?Y.create(_.substr(1).trim()):b.create(_)}static _deserializeValue(_,A){if(_=_.trim(),_==="true")return!0;if(_==="false")return!1;let fe=/^'([^']*)'$/.exec(_);return fe?fe[1].trim():_}static _deserializeRegexValue(_,A){if((0,U.m5)(_)){if(A)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let fe=_.indexOf("/"),Be=_.lastIndexOf("/");if(fe===Be||fe<0){if(A)throw new Error(`bad regexp-value '${_}', missing /-enclosure`);return console.warn(`bad regexp-value '${_}', missing /-enclosure`),null}let ft=_.slice(fe+1,Be),At=_[Be+1]==="i"?"i":"";try{return new RegExp(ft,At)}catch(Ie){if(A)throw new Error(`bad regexp-value '${_}', parse error: ${Ie}`);return console.warn(`bad regexp-value '${_}', parse error: ${Ie}`),null}}}function K(Ee,_){const A=Ee?Ee.substituteConstants():void 0,fe=_?_.substituteConstants():void 0;return!A&&!fe?!0:!A||!fe?!1:A.equals(fe)}function l(Ee,_){return Ee.cmp(_)}class y{constructor(){this.type=0}cmp(_){return this.type-_.type}equals(_){return _.type===this.type}substituteConstants(){return this}evaluate(_){return!1}serialize(){return"false"}keys(){return[]}negate(){return P.INSTANCE}}y.INSTANCE=new y;class P{constructor(){this.type=1}cmp(_){return this.type-_.type}equals(_){return _.type===this.type}substituteConstants(){return this}evaluate(_){return!0}serialize(){return"true"}keys(){return[]}negate(){return y.INSTANCE}}P.INSTANCE=new P;class b{constructor(_,A){this.key=_,this.negated=A,this.type=2}static create(_,A=null){const fe=j.get(_);return typeof fe=="boolean"?fe?P.INSTANCE:y.INSTANCE:new b(_,A)}cmp(_){return _.type!==this.type?this.type-_.type:k(this.key,_.key)}equals(_){return _.type===this.type?this.key===_.key:!1}substituteConstants(){const _=j.get(this.key);return typeof _=="boolean"?_?P.INSTANCE:y.INSTANCE:this}evaluate(_){return!!_.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=Y.create(this.key,this)),this.negated}}class C{constructor(_,A,fe){this.key=_,this.value=A,this.negated=fe,this.type=4}static create(_,A,fe=null){if(typeof A=="boolean")return A?b.create(_,fe):Y.create(_,fe);const Be=j.get(_);return typeof Be=="boolean"?A===(Be?"true":"false")?P.INSTANCE:y.INSTANCE:new C(_,A,fe)}cmp(_){return _.type!==this.type?this.type-_.type:I(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){const _=j.get(this.key);if(typeof _=="boolean"){const A=_?"true":"false";return this.value===A?P.INSTANCE:y.INSTANCE}return this}evaluate(_){return _.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=W.create(this.key,this.value,this)),this.negated}}class w{constructor(_,A){this.key=_,this.valueKey=A,this.type=10,this.negated=null}static create(_,A){return new w(_,A)}cmp(_){return _.type!==this.type?this.type-_.type:I(this.key,this.valueKey,_.key,_.valueKey)}equals(_){return _.type===this.type?this.key===_.key&&this.valueKey===_.valueKey:!1}substituteConstants(){return this}evaluate(_){const A=_.getValue(this.valueKey),fe=_.getValue(this.key);return Array.isArray(A)?A.indexOf(fe)>=0:typeof fe=="string"&&typeof A=="object"&&A!==null?g.call(A,fe):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=z.create(this)),this.negated}}class z{constructor(_){this._actual=_,this.type=11}static create(_){return new z(_)}cmp(_){return _.type!==this.type?this.type-_.type:this._actual.cmp(_._actual)}equals(_){return _.type===this.type?this._actual.equals(_._actual):!1}substituteConstants(){return this}evaluate(_){return!this._actual.evaluate(_)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class W{constructor(_,A,fe){this.key=_,this.value=A,this.negated=fe,this.type=5}static create(_,A,fe=null){if(typeof A=="boolean")return A?Y.create(_,fe):b.create(_,fe);const Be=j.get(_);return typeof Be=="boolean"?A===(Be?"true":"false")?y.INSTANCE:P.INSTANCE:new W(_,A,fe)}cmp(_){return _.type!==this.type?this.type-_.type:I(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){const _=j.get(this.key);if(typeof _=="boolean"){const A=_?"true":"false";return this.value===A?y.INSTANCE:P.INSTANCE}return this}evaluate(_){return _.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=C.create(this.key,this.value,this)),this.negated}}class Y{constructor(_,A){this.key=_,this.negated=A,this.type=3}static create(_,A=null){const fe=j.get(_);return typeof fe=="boolean"?fe?y.INSTANCE:P.INSTANCE:new Y(_,A)}cmp(_){return _.type!==this.type?this.type-_.type:k(this.key,_.key)}equals(_){return _.type===this.type?this.key===_.key:!1}substituteConstants(){const _=j.get(this.key);return typeof _=="boolean"?_?y.INSTANCE:P.INSTANCE:this}evaluate(_){return!_.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=b.create(this.key,this)),this.negated}}function $(Ee,_){if(typeof Ee=="string"){const A=parseFloat(Ee);isNaN(A)||(Ee=A)}return typeof Ee=="string"||typeof Ee=="number"?_(Ee):y.INSTANCE}class R{constructor(_,A,fe){this.key=_,this.value=A,this.negated=fe,this.type=12}static create(_,A,fe=null){return $(A,Be=>new R(_,Be,fe))}cmp(_){return _.type!==this.type?this.type-_.type:I(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){return this}evaluate(_){return typeof this.value=="string"?!1:parseFloat(_.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=T.create(this.key,this.value,this)),this.negated}}class G{constructor(_,A,fe){this.key=_,this.value=A,this.negated=fe,this.type=13}static create(_,A,fe=null){return $(A,Be=>new G(_,Be,fe))}cmp(_){return _.type!==this.type?this.type-_.type:I(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){return this}evaluate(_){return typeof this.value=="string"?!1:parseFloat(_.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=O.create(this.key,this.value,this)),this.negated}}class O{constructor(_,A,fe){this.key=_,this.value=A,this.negated=fe,this.type=14}static create(_,A,fe=null){return $(A,Be=>new O(_,Be,fe))}cmp(_){return _.type!==this.type?this.type-_.type:I(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){return this}evaluate(_){return typeof this.value=="string"?!1:parseFloat(_.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=G.create(this.key,this.value,this)),this.negated}}class T{constructor(_,A,fe){this.key=_,this.value=A,this.negated=fe,this.type=15}static create(_,A,fe=null){return $(A,Be=>new T(_,Be,fe))}cmp(_){return _.type!==this.type?this.type-_.type:I(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){return this}evaluate(_){return typeof this.value=="string"?!1:parseFloat(_.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=R.create(this.key,this.value,this)),this.negated}}class ue{constructor(_,A){this.key=_,this.regexp=A,this.type=7,this.negated=null}static create(_,A){return new ue(_,A)}cmp(_){if(_.type!==this.type)return this.type-_.type;if(this.key<_.key)return-1;if(this.key>_.key)return 1;const A=this.regexp?this.regexp.source:"",fe=_.regexp?_.regexp.source:"";return A<fe?-1:A>fe?1:0}equals(_){if(_.type===this.type){const A=this.regexp?this.regexp.source:"",fe=_.regexp?_.regexp.source:"";return this.key===_.key&&A===fe}return!1}substituteConstants(){return this}evaluate(_){let A=_.getValue(this.key);return this.regexp?this.regexp.test(A):!1}serialize(){const _=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${_}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=be.create(this)),this.negated}}class be{constructor(_){this._actual=_,this.type=8}static create(_){return new be(_)}cmp(_){return _.type!==this.type?this.type-_.type:this._actual.cmp(_._actual)}equals(_){return _.type===this.type?this._actual.equals(_._actual):!1}substituteConstants(){return this}evaluate(_){return!this._actual.evaluate(_)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function he(Ee){let _=null;for(let A=0,fe=Ee.length;A<fe;A++){const Be=Ee[A].substituteConstants();if(Ee[A]!==Be&&_===null){_=[];for(let ft=0;ft<A;ft++)_[ft]=Ee[ft]}_!==null&&(_[A]=Be)}return _===null?Ee:_}class Ue{constructor(_,A){this.expr=_,this.negated=A,this.type=6}static create(_,A){return Ue._normalizeArr(_,A)}cmp(_){if(_.type!==this.type)return this.type-_.type;if(this.expr.length<_.expr.length)return-1;if(this.expr.length>_.expr.length)return 1;for(let A=0,fe=this.expr.length;A<fe;A++){const Be=l(this.expr[A],_.expr[A]);if(Be!==0)return Be}return 0}equals(_){if(_.type===this.type){if(this.expr.length!==_.expr.length)return!1;for(let A=0,fe=this.expr.length;A<fe;A++)if(!this.expr[A].equals(_.expr[A]))return!1;return!0}return!1}substituteConstants(){const _=he(this.expr);return _===this.expr?this:Ue.create(_,this.negated)}evaluate(_){for(let A=0,fe=this.expr.length;A<fe;A++)if(!this.expr[A].evaluate(_))return!1;return!0}static _normalizeArr(_,A){const fe=[];let Be=!1;for(const ft of _)if(ft){if(ft.type===1){Be=!0;continue}if(ft.type===0)return y.INSTANCE;if(ft.type===6){fe.push(...ft.expr);continue}fe.push(ft)}if(fe.length===0&&Be)return P.INSTANCE;if(fe.length!==0){if(fe.length===1)return fe[0];fe.sort(l);for(let ft=1;ft<fe.length;ft++)fe[ft-1].equals(fe[ft])&&(fe.splice(ft,1),ft--);if(fe.length===1)return fe[0];for(;fe.length>1;){const ft=fe[fe.length-1];if(ft.type!==9)break;fe.pop();const At=fe.pop(),Ie=fe.length===0,it=Qe.create(ft.expr.map(ht=>Ue.create([ht,At],null)),null,Ie);it&&(fe.push(it),fe.sort(l))}return fe.length===1?fe[0]:new Ue(fe,A)}}serialize(){return this.expr.map(_=>_.serialize()).join(" && ")}keys(){const _=[];for(let A of this.expr)_.push(...A.keys());return _}negate(){if(!this.negated){const _=[];for(let A of this.expr)_.push(A.negate());this.negated=Qe.create(_,this,!0)}return this.negated}}class Qe{constructor(_,A){this.expr=_,this.negated=A,this.type=9}static create(_,A,fe){return Qe._normalizeArr(_,A,fe)}cmp(_){if(_.type!==this.type)return this.type-_.type;if(this.expr.length<_.expr.length)return-1;if(this.expr.length>_.expr.length)return 1;for(let A=0,fe=this.expr.length;A<fe;A++){const Be=l(this.expr[A],_.expr[A]);if(Be!==0)return Be}return 0}equals(_){if(_.type===this.type){if(this.expr.length!==_.expr.length)return!1;for(let A=0,fe=this.expr.length;A<fe;A++)if(!this.expr[A].equals(_.expr[A]))return!1;return!0}return!1}substituteConstants(){const _=he(this.expr);return _===this.expr?this:Qe.create(_,this.negated,!1)}evaluate(_){for(let A=0,fe=this.expr.length;A<fe;A++)if(this.expr[A].evaluate(_))return!0;return!1}static _normalizeArr(_,A,fe){let Be=[],ft=!1;if(_){for(let At=0,Ie=_.length;At<Ie;At++){const it=_[At];if(it){if(it.type===0){ft=!0;continue}if(it.type===1)return P.INSTANCE;if(it.type===9){Be=Be.concat(it.expr);continue}Be.push(it)}}if(Be.length===0&&ft)return y.INSTANCE;Be.sort(l)}if(Be.length!==0){if(Be.length===1)return Be[0];for(let At=1;At<Be.length;At++)Be[At-1].equals(Be[At])&&(Be.splice(At,1),At--);if(Be.length===1)return Be[0];if(fe){for(let At=0;At<Be.length;At++)for(let Ie=At+1;Ie<Be.length;Ie++)oe(Be[At],Be[Ie])&&(Be.splice(Ie,1),Ie--);if(Be.length===1)return Be[0]}return new Qe(Be,A)}}serialize(){return this.expr.map(_=>_.serialize()).join(" || ")}keys(){const _=[];for(let A of this.expr)_.push(...A.keys());return _}negate(){if(!this.negated){let _=[];for(let A of this.expr)_.push(A.negate());for(;_.length>1;){const A=_.shift(),fe=_.shift(),Be=[];for(const At of ie(A))for(const Ie of ie(fe))Be.push(Ue.create([At,Ie],null));const ft=_.length===0;_.unshift(Qe.create(Be,null,ft))}this.negated=_[0]}return this.negated}}class ke extends b{constructor(_,A,fe){super(_,null),this._defaultValue=A,typeof fe=="object"?ke._info.push(Object.assign(Object.assign({},fe),{key:_})):fe!==!0&&ke._info.push({key:_,description:fe,type:A!=null?typeof A:void 0})}static all(){return ke._info.values()}bindTo(_){return _.createKey(this.key,this._defaultValue)}getValue(_){return _.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(_){return C.create(this.key,_)}}ke._info=[];const Ze=(0,L.yh)("contextKeyService"),se="setContext";function k(Ee,_){return Ee<_?-1:Ee>_?1:0}function I(Ee,_,A,fe){return Ee<A?-1:Ee>A?1:_<fe?-1:_>fe?1:0}function oe(Ee,_){if(_.type===6&&Ee.type!==9&&Ee.type!==6){for(const Be of _.expr)if(Ee.equals(Be))return!0}const A=Ee.negate(),fe=ie(A).concat(ie(_));fe.sort(l);for(let Be=0;Be<fe.length;Be++){const At=fe[Be].negate();for(let Ie=Be+1;Ie<fe.length;Ie++){const it=fe[Ie];if(At.equals(it))return!0}}return!1}function ie(Ee){return Ee.type===9?Ee.expr:[Ee]}},16925:function(Pn,Lt,u){"use strict";u.d(Lt,{I8:function(){return i},TG:function(){return U},jt:function(){return j},yh:function(){return ce}});var i;(function(g){g.serviceIds=new Map,g.DI_TARGET="$di$target",g.DI_DEPENDENCIES="$di$dependencies";function V(K){return K[g.DI_DEPENDENCIES]||[]}g.getServiceDependencies=V})(i||(i={}));const U=ce("instantiationService");function L(g,V,K,l){V[i.DI_TARGET]===V?V[i.DI_DEPENDENCIES].push({id:g,index:K,optional:l}):(V[i.DI_DEPENDENCIES]=[{id:g,index:K,optional:l}],V[i.DI_TARGET]=V)}function ce(g){if(i.serviceIds.has(g))return i.serviceIds.get(g);const V=function(K,l,y){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");L(V,K,y,!1)};return V.toString=()=>g,i.serviceIds.set(g,V),V}function j(g){return function(V,K,l){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");L(g,V,l,!0)}}},44650:function(Pn,Lt,u){"use strict";u.d(Lt,{B:function(){return ce}});var i=u(76068),U=u(72999);class L{constructor(){this.data=new Map}add(g,V){i.ok(U.HD(g)),i.ok(U.Kn(V)),i.ok(!this.data.has(g),"There is already an extension with this id"),this.data.set(g,V)}as(g){return this.data.get(g)||null}}const ce=new L},66213:function(Pn,Lt,u){"use strict";u.d(Lt,{e:function(){return i}});var i;(function(U){U.DARK="dark",U.LIGHT="light",U.HIGH_CONTRAST="hc"})(i||(i={}))},49055:function(Pn,Lt,u){"use strict";u.d(Lt,{EN:function(){return l},IP:function(){return b},Ic:function(){return z},XE:function(){return V},bB:function(){return W},kS:function(){return y},m6:function(){return P}});var i=u(52615),U=u(4348),L=u(69323),ce=u(16925),j=u(44650),g=u(66213);const V=(0,ce.yh)("themeService");var K;(function(Y){function $(R){return R&&typeof R=="object"&&typeof R.id=="string"}Y.isThemeColor=$})(K||(K={}));function l(Y){return{id:Y}}var y;(function(Y){function $(be){return be&&typeof be=="object"&&typeof be.id=="string"&&(typeof be.color=="undefined"||K.isThemeColor(be.color))}Y.isThemeIcon=$;const R=new RegExp(`^\\$\\((${i.dT.iconNameExpression}(?:${i.dT.iconModifierExpression})?)\\)$`);function G(be){const he=R.exec(be);if(!he)return;let[,Ue]=he;return{id:Ue}}Y.fromString=G;function O(be,he){let Ue=be.id;const Qe=Ue.lastIndexOf("~");return Qe!==-1&&(Ue=Ue.substring(0,Qe)),he&&(Ue=`${Ue}~${he}`),{id:Ue}}Y.modify=O;function T(be,he){var Ue,Qe;return be.id===he.id&&((Ue=be.color)===null||Ue===void 0?void 0:Ue.id)===((Qe=he.color)===null||Qe===void 0?void 0:Qe.id)}Y.isEqual=T;function ue(be,he){return{id:be.id,color:he?l(he):void 0}}Y.asThemeIcon=ue,Y.asClassNameArray=i.dT.asClassNameArray,Y.asClassName=i.dT.asClassName,Y.asCSSSelector=i.dT.asCSSSelector})(y||(y={}));function P(Y){switch(Y){case g.e.DARK:return"vs-dark";case g.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const b={ThemingContribution:"base.contributions.theming"};class C{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new U.Q5}onColorThemeChange($){return this.themingParticipants.push($),this.onThemingParticipantAddedEmitter.fire($),(0,L.OF)(()=>{const R=this.themingParticipants.indexOf($);this.themingParticipants.splice(R,1)})}getThemingParticipants(){return this.themingParticipants}}let w=new C;j.B.add(b.ThemingContribution,w);function z(Y){return w.onColorThemeChange(Y)}class W extends L.JT{constructor($){super(),this.themeService=$,this.theme=$.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(R=>this.onThemeChange(R)))}onThemeChange($){this.theme=$,this.updateStyles()}updateStyles(){}}},16632:function(Pn,Lt,u){"use strict";var i=u(54476),U=u(33885),L=u(20068),ce=u(42978),j=u(75931),g=u(92310),V=u.n(g),K=u(18929),l=u(59301),y=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],P=(0,l.forwardRef)(function(b,C){var w=b.prefixCls,z=w===void 0?"rc-checkbox":w,W=b.className,Y=b.style,$=b.checked,R=b.disabled,G=b.defaultChecked,O=G===void 0?!1:G,T=b.type,ue=T===void 0?"checkbox":T,be=b.title,he=b.onChange,Ue=(0,j.Z)(b,y),Qe=(0,l.useRef)(null),ke=(0,l.useRef)(null),Ze=(0,K.Z)(O,{value:$}),se=(0,ce.Z)(Ze,2),k=se[0],I=se[1];(0,l.useImperativeHandle)(C,function(){return{focus:function(_){var A;(A=Qe.current)===null||A===void 0||A.focus(_)},blur:function(){var _;(_=Qe.current)===null||_===void 0||_.blur()},input:Qe.current,nativeElement:ke.current}});var oe=V()(z,W,(0,L.Z)((0,L.Z)({},"".concat(z,"-checked"),k),"".concat(z,"-disabled"),R)),ie=function(_){R||("checked"in b||I(_.target.checked),he==null||he({target:(0,U.Z)((0,U.Z)({},b),{},{type:ue,checked:_.target.checked}),stopPropagation:function(){_.stopPropagation()},preventDefault:function(){_.preventDefault()},nativeEvent:_.nativeEvent}))};return l.createElement("span",{className:oe,title:be,style:Y,ref:ke},l.createElement("input",(0,i.Z)({},Ue,{className:"".concat(z,"-input"),ref:Qe,onChange:ie,disabled:R,checked:!!k,type:ue})),l.createElement("span",{className:"".concat(z,"-inner")}))});Lt.Z=P},96478:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return be}});var i=u(54476),U=u(20068),L=u(42978),ce=u(75931),j=u(65030),g=u(92310),V=u.n(g),K=u(8654),l=u(59301),y=u(10228),P=u(16089),b=y.Z.ESC,C=y.Z.TAB;function w(he){var Ue=he.visible,Qe=he.triggerRef,ke=he.onVisibleChange,Ze=he.autoFocus,se=he.overlayRef,k=l.useRef(!1),I=function(){if(Ue){var _,A;(_=Qe.current)===null||_===void 0||(A=_.focus)===null||A===void 0||A.call(_),ke==null||ke(!1)}},oe=function(){var _;return(_=se.current)!==null&&_!==void 0&&_.focus?(se.current.focus(),k.current=!0,!0):!1},ie=function(_){switch(_.keyCode){case b:I();break;case C:{var A=!1;k.current||(A=oe()),A?_.preventDefault():I();break}}};l.useEffect(function(){return Ue?(window.addEventListener("keydown",ie),Ze&&(0,P.Z)(oe,3),function(){window.removeEventListener("keydown",ie),k.current=!1}):function(){k.current=!1}},[Ue])}var z=(0,l.forwardRef)(function(he,Ue){var Qe=he.overlay,ke=he.arrow,Ze=he.prefixCls,se=(0,l.useMemo)(function(){var I;return typeof Qe=="function"?I=Qe():I=Qe,I},[Qe]),k=(0,K.sQ)(Ue,(0,K.C4)(se));return l.createElement(l.Fragment,null,ke&&l.createElement("div",{className:"".concat(Ze,"-arrow")}),l.cloneElement(se,{ref:(0,K.Yr)(se)?k:void 0}))}),W=z,Y={adjustX:1,adjustY:1},$=[0,0],R={topLeft:{points:["bl","tl"],overflow:Y,offset:[0,-4],targetOffset:$},top:{points:["bc","tc"],overflow:Y,offset:[0,-4],targetOffset:$},topRight:{points:["br","tr"],overflow:Y,offset:[0,-4],targetOffset:$},bottomLeft:{points:["tl","bl"],overflow:Y,offset:[0,4],targetOffset:$},bottom:{points:["tc","bc"],overflow:Y,offset:[0,4],targetOffset:$},bottomRight:{points:["tr","br"],overflow:Y,offset:[0,4],targetOffset:$}},G=R,O=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function T(he,Ue){var Qe,ke=he.arrow,Ze=ke===void 0?!1:ke,se=he.prefixCls,k=se===void 0?"rc-dropdown":se,I=he.transitionName,oe=he.animation,ie=he.align,Ee=he.placement,_=Ee===void 0?"bottomLeft":Ee,A=he.placements,fe=A===void 0?G:A,Be=he.getPopupContainer,ft=he.showAction,At=he.hideAction,Ie=he.overlayClassName,it=he.overlayStyle,ht=he.visible,Tt=he.trigger,ze=Tt===void 0?["hover"]:Tt,Jt=he.autoFocus,yt=he.overlay,cn=he.children,Je=he.onVisibleChange,bt=(0,ce.Z)(he,O),Ge=l.useState(),Ne=(0,L.Z)(Ge,2),ne=Ne[0],lt=Ne[1],Ke="visible"in he?ht:ne,H=l.useRef(null),M=l.useRef(null),_e=l.useRef(null);l.useImperativeHandle(Ue,function(){return H.current});var me=function(kt){lt(kt),Je==null||Je(kt)};w({visible:Ke,triggerRef:_e,onVisibleChange:me,autoFocus:Jt,overlayRef:M});var Te=function(kt){var Mt=he.onOverlayClick;lt(!1),Mt&&Mt(kt)},Fe=function(){return l.createElement(W,{ref:M,overlay:yt,prefixCls:k,arrow:Ze})},Xe=function(){return typeof yt=="function"?Fe:Fe()},gt=function(){var kt=he.minOverlayWidthMatchTrigger,Mt=he.alignPoint;return"minOverlayWidthMatchTrigger"in he?kt:!Mt},de=function(){var kt=he.openClassName;return kt!==void 0?kt:"".concat(k,"-open")},xe=l.cloneElement(cn,{className:V()((Qe=cn.props)===null||Qe===void 0?void 0:Qe.className,Ke&&de()),ref:(0,K.Yr)(cn)?(0,K.sQ)(_e,(0,K.C4)(cn)):void 0}),Pt=At;return!Pt&&ze.indexOf("contextMenu")!==-1&&(Pt=["click"]),l.createElement(j.Z,(0,i.Z)({builtinPlacements:fe},bt,{prefixCls:k,ref:H,popupClassName:V()(Ie,(0,U.Z)({},"".concat(k,"-show-arrow"),Ze)),popupStyle:it,action:ze,showAction:ft,hideAction:Pt,popupPlacement:_,popupAlign:ie,popupTransitionName:I,popupAnimation:oe,popupVisible:Ke,stretch:gt()?"minWidth":"",popup:Xe(),onPopupVisibleChange:me,onPopupClick:Te,getPopupContainer:Be}),xe)}var ue=l.forwardRef(T),be=ue},66003:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return V}});var i=u(75931),U=u(33885),L=u(76190),ce=u(59301),j=["show"];function g(K,l){if(!l.max)return!0;var y=l.strategy(K);return y<=l.max}function V(K,l){return ce.useMemo(function(){var y={};l&&(y.show=(0,L.Z)(l)==="object"&&l.formatter?l.formatter:!!l),y=(0,U.Z)((0,U.Z)({},y),K);var P=y,b=P.show,C=(0,i.Z)(P,j);return(0,U.Z)((0,U.Z)({},C),{},{show:!!b,showFormatter:typeof b=="function"?b:void 0,strategy:C.strategy||function(w){return w.length}})},[K,l])}},36901:function(Pn,Lt,u){"use strict";u.r(Lt),u.d(Lt,{BaseInput:function(){return y},default:function(){return G}});var i=u(33885),U=u(54476),L=u(20068),ce=u(76190),j=u(92310),g=u.n(j),V=u(59301),K=u(30292),l=V.forwardRef(function(O,T){var ue,be,he,Ue=O.inputElement,Qe=O.children,ke=O.prefixCls,Ze=O.prefix,se=O.suffix,k=O.addonBefore,I=O.addonAfter,oe=O.className,ie=O.style,Ee=O.disabled,_=O.readOnly,A=O.focused,fe=O.triggerFocus,Be=O.allowClear,ft=O.value,At=O.handleReset,Ie=O.hidden,it=O.classes,ht=O.classNames,Tt=O.dataAttrs,ze=O.styles,Jt=O.components,yt=O.onClear,cn=Qe!=null?Qe:Ue,Je=(Jt==null?void 0:Jt.affixWrapper)||"span",bt=(Jt==null?void 0:Jt.groupWrapper)||"span",Ge=(Jt==null?void 0:Jt.wrapper)||"span",Ne=(Jt==null?void 0:Jt.groupAddon)||"span",ne=(0,V.useRef)(null),lt=function(Gt){var Zt;(Zt=ne.current)!==null&&Zt!==void 0&&Zt.contains(Gt.target)&&(fe==null||fe())},Ke=(0,K.X3)(O),H=(0,V.cloneElement)(cn,{value:ft,className:g()((ue=cn.props)===null||ue===void 0?void 0:ue.className,!Ke&&(ht==null?void 0:ht.variant))||null}),M=(0,V.useRef)(null);if(V.useImperativeHandle(T,function(){return{nativeElement:M.current||ne.current}}),Ke){var _e=null;if(Be){var me=!Ee&&!_&&ft,Te="".concat(ke,"-clear-icon"),Fe=(0,ce.Z)(Be)==="object"&&Be!==null&&Be!==void 0&&Be.clearIcon?Be.clearIcon:"\u2716";_e=V.createElement("button",{type:"button",tabIndex:-1,onClick:function(Gt){At==null||At(Gt),yt==null||yt()},onMouseDown:function(Gt){return Gt.preventDefault()},className:g()(Te,(0,L.Z)((0,L.Z)({},"".concat(Te,"-hidden"),!me),"".concat(Te,"-has-suffix"),!!se))},Fe)}var Xe="".concat(ke,"-affix-wrapper"),gt=g()(Xe,(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)({},"".concat(ke,"-disabled"),Ee),"".concat(Xe,"-disabled"),Ee),"".concat(Xe,"-focused"),A),"".concat(Xe,"-readonly"),_),"".concat(Xe,"-input-with-clear-btn"),se&&Be&&ft),it==null?void 0:it.affixWrapper,ht==null?void 0:ht.affixWrapper,ht==null?void 0:ht.variant),de=(se||Be)&&V.createElement("span",{className:g()("".concat(ke,"-suffix"),ht==null?void 0:ht.suffix),style:ze==null?void 0:ze.suffix},_e,se);H=V.createElement(Je,(0,U.Z)({className:gt,style:ze==null?void 0:ze.affixWrapper,onClick:lt},Tt==null?void 0:Tt.affixWrapper,{ref:ne}),Ze&&V.createElement("span",{className:g()("".concat(ke,"-prefix"),ht==null?void 0:ht.prefix),style:ze==null?void 0:ze.prefix},Ze),H,de)}if((0,K.He)(O)){var xe="".concat(ke,"-group"),Pt="".concat(xe,"-addon"),xt="".concat(xe,"-wrapper"),kt=g()("".concat(ke,"-wrapper"),xe,it==null?void 0:it.wrapper,ht==null?void 0:ht.wrapper),Mt=g()(xt,(0,L.Z)({},"".concat(xt,"-disabled"),Ee),it==null?void 0:it.group,ht==null?void 0:ht.groupWrapper);H=V.createElement(bt,{className:Mt,ref:M},V.createElement(Ge,{className:kt},k&&V.createElement(Ne,{className:Pt},k),H,I&&V.createElement(Ne,{className:Pt},I)))}return V.cloneElement(H,{className:g()((be=H.props)===null||be===void 0?void 0:be.className,oe)||null,style:(0,i.Z)((0,i.Z)({},(he=H.props)===null||he===void 0?void 0:he.style),ie),hidden:Ie})}),y=l,P=u(94480),b=u(42978),C=u(75931),w=u(18929),z=u(2738),W=u(66003),Y=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],$=(0,V.forwardRef)(function(O,T){var ue=O.autoComplete,be=O.onChange,he=O.onFocus,Ue=O.onBlur,Qe=O.onPressEnter,ke=O.onKeyDown,Ze=O.onKeyUp,se=O.prefixCls,k=se===void 0?"rc-input":se,I=O.disabled,oe=O.htmlSize,ie=O.className,Ee=O.maxLength,_=O.suffix,A=O.showCount,fe=O.count,Be=O.type,ft=Be===void 0?"text":Be,At=O.classes,Ie=O.classNames,it=O.styles,ht=O.onCompositionStart,Tt=O.onCompositionEnd,ze=(0,C.Z)(O,Y),Jt=(0,V.useState)(!1),yt=(0,b.Z)(Jt,2),cn=yt[0],Je=yt[1],bt=(0,V.useRef)(!1),Ge=(0,V.useRef)(!1),Ne=(0,V.useRef)(null),ne=(0,V.useRef)(null),lt=function(tn){Ne.current&&(0,K.nH)(Ne.current,tn)},Ke=(0,w.Z)(O.defaultValue,{value:O.value}),H=(0,b.Z)(Ke,2),M=H[0],_e=H[1],me=M==null?"":String(M),Te=(0,V.useState)(null),Fe=(0,b.Z)(Te,2),Xe=Fe[0],gt=Fe[1],de=(0,W.Z)(fe,A),xe=de.max||Ee,Pt=de.strategy(me),xt=!!xe&&Pt>xe;(0,V.useImperativeHandle)(T,function(){var Ae;return{focus:lt,blur:function(){var Ce;(Ce=Ne.current)===null||Ce===void 0||Ce.blur()},setSelectionRange:function(Ce,Ve,ut){var ye;(ye=Ne.current)===null||ye===void 0||ye.setSelectionRange(Ce,Ve,ut)},select:function(){var Ce;(Ce=Ne.current)===null||Ce===void 0||Ce.select()},input:Ne.current,nativeElement:((Ae=ne.current)===null||Ae===void 0?void 0:Ae.nativeElement)||Ne.current}}),(0,V.useEffect)(function(){Ge.current&&(Ge.current=!1),Je(function(Ae){return Ae&&I?!1:Ae})},[I]);var kt=function(tn,Ce,Ve){var ut=Ce;if(!bt.current&&de.exceedFormatter&&de.max&&de.strategy(Ce)>de.max){if(ut=de.exceedFormatter(Ce,{max:de.max}),Ce!==ut){var ye,we;gt([((ye=Ne.current)===null||ye===void 0?void 0:ye.selectionStart)||0,((we=Ne.current)===null||we===void 0?void 0:we.selectionEnd)||0])}}else if(Ve.source==="compositionEnd")return;_e(ut),Ne.current&&(0,K.rJ)(Ne.current,tn,be,ut)};(0,V.useEffect)(function(){if(Xe){var Ae;(Ae=Ne.current)===null||Ae===void 0||Ae.setSelectionRange.apply(Ae,(0,P.Z)(Xe))}},[Xe]);var Mt=function(tn){kt(tn,tn.target.value,{source:"change"})},mt=function(tn){bt.current=!1,kt(tn,tn.currentTarget.value,{source:"compositionEnd"}),Tt==null||Tt(tn)},Gt=function(tn){Qe&&tn.key==="Enter"&&!Ge.current&&(Ge.current=!0,Qe(tn)),ke==null||ke(tn)},Zt=function(tn){tn.key==="Enter"&&(Ge.current=!1),Ze==null||Ze(tn)},Re=function(tn){Je(!0),he==null||he(tn)},pt=function(tn){Ge.current&&(Ge.current=!1),Je(!1),Ue==null||Ue(tn)},E=function(tn){_e(""),lt(),Ne.current&&(0,K.rJ)(Ne.current,tn,be)},D=xt&&"".concat(k,"-out-of-range"),rt=function(){var tn=(0,z.Z)(O,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return V.createElement("input",(0,U.Z)({autoComplete:ue},tn,{onChange:Mt,onFocus:Re,onBlur:pt,onKeyDown:Gt,onKeyUp:Zt,className:g()(k,(0,L.Z)({},"".concat(k,"-disabled"),I),Ie==null?void 0:Ie.input),style:it==null?void 0:it.input,ref:Ne,size:oe,type:ft,onCompositionStart:function(Ve){bt.current=!0,ht==null||ht(Ve)},onCompositionEnd:mt}))},te=function(){var tn=Number(xe)>0;if(_||de.show){var Ce=de.showFormatter?de.showFormatter({value:me,count:Pt,maxLength:xe}):"".concat(Pt).concat(tn?" / ".concat(xe):"");return V.createElement(V.Fragment,null,de.show&&V.createElement("span",{className:g()("".concat(k,"-show-count-suffix"),(0,L.Z)({},"".concat(k,"-show-count-has-suffix"),!!_),Ie==null?void 0:Ie.count),style:(0,i.Z)({},it==null?void 0:it.count)},Ce),_)}return null};return V.createElement(y,(0,U.Z)({},ze,{prefixCls:k,className:g()(ie,D),handleReset:E,value:me,focused:cn,triggerFocus:lt,suffix:te(),disabled:I,classes:At,classNames:Ie,styles:it}),rt())}),R=$,G=R},30292:function(Pn,Lt,u){"use strict";u.d(Lt,{He:function(){return i},X3:function(){return U},nH:function(){return j},rJ:function(){return ce}});function i(g){return!!(g.addonBefore||g.addonAfter)}function U(g){return!!(g.prefix||g.suffix||g.allowClear)}function L(g,V,K){var l=V.cloneNode(!0),y=Object.create(g,{target:{value:l},currentTarget:{value:l}});return l.value=K,typeof V.selectionStart=="number"&&typeof V.selectionEnd=="number"&&(l.selectionStart=V.selectionStart,l.selectionEnd=V.selectionEnd),l.setSelectionRange=function(){V.setSelectionRange.apply(V,arguments)},y}function ce(g,V,K,l){if(K){var y=V;if(V.type==="click"){y=L(V,g,""),K(y);return}if(g.type!=="file"&&l!==void 0){y=L(V,g,l),K(y);return}K(y)}}function j(g,V){if(g){g.focus(V);var K=V||{},l=K.cursor;if(l){var y=g.value.length;switch(l){case"start":g.setSelectionRange(0,0);break;case"end":g.setSelectionRange(y,y);break;default:g.setSelectionRange(0,y)}}}}},28321:function(Pn,Lt,u){"use strict";u.d(Lt,{iz:function(){return Pe},ck:function(){return ut},BW:function(){return $e},sN:function(){return ut},Wd:function(){return pe},ZP:function(){return Xt},Xl:function(){return Qe}});var i=u(54476),U=u(20068),L=u(33885),ce=u(94480),j=u(42978),g=u(75931),V=u(92310),K=u.n(V),l=u(83836),y=u(18929),P=u(13697),b=u(48736),C=u(59301),w=u(4676),z=C.createContext(null);function W(Ye,ct){return Ye===void 0?null:"".concat(Ye,"-").concat(ct)}function Y(Ye){var ct=C.useContext(z);return W(ct,Ye)}var $=u(80547),R=["children","locked"],G=C.createContext(null);function O(Ye,ct){var Nt=(0,L.Z)({},Ye);return Object.keys(ct).forEach(function(Bt){var Ht=ct[Bt];Ht!==void 0&&(Nt[Bt]=Ht)}),Nt}function T(Ye){var ct=Ye.children,Nt=Ye.locked,Bt=(0,g.Z)(Ye,R),Ht=C.useContext(G),vt=(0,$.Z)(function(){return O(Ht,Bt)},[Ht,Bt],function(an,sn){return!Nt&&(an[0]!==sn[0]||!(0,P.Z)(an[1],sn[1],!0))});return C.createElement(G.Provider,{value:vt},ct)}var ue=[],be=C.createContext(null);function he(){return C.useContext(be)}var Ue=C.createContext(ue);function Qe(Ye){var ct=C.useContext(Ue);return C.useMemo(function(){return Ye!==void 0?[].concat((0,ce.Z)(ct),[Ye]):ct},[ct,Ye])}var ke=C.createContext(null),Ze=C.createContext({}),se=Ze,k=u(29194);function I(Ye){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,k.Z)(Ye)){var Nt=Ye.nodeName.toLowerCase(),Bt=["input","select","textarea","button"].includes(Nt)||Ye.isContentEditable||Nt==="a"&&!!Ye.getAttribute("href"),Ht=Ye.getAttribute("tabindex"),vt=Number(Ht),an=null;return Ht&&!Number.isNaN(vt)?an=vt:Bt&&an===null&&(an=0),Bt&&Ye.disabled&&(an=null),an!==null&&(an>=0||ct&&an<0)}return!1}function oe(Ye){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Nt=(0,ce.Z)(Ye.querySelectorAll("*")).filter(function(Bt){return I(Bt,ct)});return I(Ye,ct)&&Nt.unshift(Ye),Nt}var ie=null;function Ee(){ie=document.activeElement}function _(){ie=null}function A(){if(ie)try{ie.focus()}catch(Ye){}}function fe(Ye,ct){if(ct.keyCode===9){var Nt=oe(Ye),Bt=Nt[ct.shiftKey?0:Nt.length-1],Ht=Bt===document.activeElement||Ye===document.activeElement;if(Ht){var vt=Nt[ct.shiftKey?Nt.length-1:0];vt.focus(),ct.preventDefault()}}}var Be=u(10228),ft=u(16089),At=Be.Z.LEFT,Ie=Be.Z.RIGHT,it=Be.Z.UP,ht=Be.Z.DOWN,Tt=Be.Z.ENTER,ze=Be.Z.ESC,Jt=Be.Z.HOME,yt=Be.Z.END,cn=[it,ht,At,Ie];function Je(Ye,ct,Nt,Bt){var Ht,vt="prev",an="next",sn="children",gn="parent";if(Ye==="inline"&&Bt===Tt)return{inlineTrigger:!0};var bn=(0,U.Z)((0,U.Z)({},it,vt),ht,an),In=(0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)({},At,Nt?an:vt),Ie,Nt?vt:an),ht,sn),Tt,sn),wn=(0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)({},it,vt),ht,an),Tt,sn),ze,gn),At,Nt?sn:gn),Ie,Nt?gn:sn),An={inline:bn,horizontal:In,vertical:wn,inlineSub:bn,horizontalSub:wn,verticalSub:wn},Fn=(Ht=An["".concat(Ye).concat(ct?"":"Sub")])===null||Ht===void 0?void 0:Ht[Bt];switch(Fn){case vt:return{offset:-1,sibling:!0};case an:return{offset:1,sibling:!0};case gn:return{offset:-1,sibling:!1};case sn:return{offset:1,sibling:!1};default:return null}}function bt(Ye){for(var ct=Ye;ct;){if(ct.getAttribute("data-menu-list"))return ct;ct=ct.parentElement}return null}function Ge(Ye,ct){for(var Nt=Ye||document.activeElement;Nt;){if(ct.has(Nt))return Nt;Nt=Nt.parentElement}return null}function Ne(Ye,ct){var Nt=oe(Ye,!0);return Nt.filter(function(Bt){return ct.has(Bt)})}function ne(Ye,ct,Nt){var Bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Ye)return null;var Ht=Ne(Ye,ct),vt=Ht.length,an=Ht.findIndex(function(sn){return Nt===sn});return Bt<0?an===-1?an=vt-1:an-=1:Bt>0&&(an+=1),an=(an+vt)%vt,Ht[an]}var lt=function(ct,Nt){var Bt=new Set,Ht=new Map,vt=new Map;return ct.forEach(function(an){var sn=document.querySelector("[data-menu-id='".concat(W(Nt,an),"']"));sn&&(Bt.add(sn),vt.set(sn,an),Ht.set(an,sn))}),{elements:Bt,key2element:Ht,element2key:vt}};function Ke(Ye,ct,Nt,Bt,Ht,vt,an,sn,gn,bn){var In=C.useRef(),wn=C.useRef();wn.current=ct;var An=function(){ft.Z.cancel(In.current)};return C.useEffect(function(){return function(){An()}},[]),function(Fn){var Mn=Fn.which;if([].concat(cn,[Tt,ze,Jt,yt]).includes(Mn)){var rr=vt(),Rn=lt(rr,Bt),jn=Rn,Yn=jn.elements,er=jn.key2element,qn=jn.element2key,Kn=er.get(ct),Ln=Ge(Kn,Yn),zn=qn.get(Ln),hr=Je(Ye,an(zn,!0).length===1,Nt,Mn);if(!hr&&Mn!==Jt&&Mn!==yt)return;(cn.includes(Mn)||[Jt,yt].includes(Mn))&&Fn.preventDefault();var rn=function(fn){if(fn){var dn=fn,xn=fn.querySelector("a");xn!=null&&xn.getAttribute("href")&&(dn=xn);var Gn=qn.get(fn);sn(Gn),An(),In.current=(0,ft.Z)(function(){wn.current===Gn&&dn.focus()})}};if([Jt,yt].includes(Mn)||hr.sibling||!Ln){var nn;!Ln||Ye==="inline"?nn=Ht.current:nn=bt(Ln);var pn,or=Ne(nn,Yn);Mn===Jt?pn=or[0]:Mn===yt?pn=or[or.length-1]:pn=ne(nn,Yn,Ln,hr.offset),rn(pn)}else if(hr.inlineTrigger)gn(zn);else if(hr.offset>0)gn(zn,!0),An(),In.current=(0,ft.Z)(function(){Rn=lt(rr,Bt);var Un=Ln.getAttribute("aria-controls"),fn=document.getElementById(Un),dn=ne(fn,Rn.elements);rn(dn)},5);else if(hr.offset<0){var tr=an(zn,!0),ur=tr[tr.length-2],lr=er.get(ur);gn(ur,!1),rn(lr)}}bn==null||bn(Fn)}}function H(Ye){Promise.resolve().then(Ye)}var M="__RC_UTIL_PATH_SPLIT__",_e=function(ct){return ct.join(M)},me=function(ct){return ct.split(M)},Te="rc-menu-more";function Fe(){var Ye=C.useState({}),ct=(0,j.Z)(Ye,2),Nt=ct[1],Bt=(0,C.useRef)(new Map),Ht=(0,C.useRef)(new Map),vt=C.useState([]),an=(0,j.Z)(vt,2),sn=an[0],gn=an[1],bn=(0,C.useRef)(0),In=(0,C.useRef)(!1),wn=function(){In.current||Nt({})},An=(0,C.useCallback)(function(er,qn){var Kn=_e(qn);Ht.current.set(Kn,er),Bt.current.set(er,Kn),bn.current+=1;var Ln=bn.current;H(function(){Ln===bn.current&&wn()})},[]),Fn=(0,C.useCallback)(function(er,qn){var Kn=_e(qn);Ht.current.delete(Kn),Bt.current.delete(er)},[]),Mn=(0,C.useCallback)(function(er){gn(er)},[]),rr=(0,C.useCallback)(function(er,qn){var Kn=Bt.current.get(er)||"",Ln=me(Kn);return qn&&sn.includes(Ln[0])&&Ln.unshift(Te),Ln},[sn]),Rn=(0,C.useCallback)(function(er,qn){return er.filter(function(Kn){return Kn!==void 0}).some(function(Kn){var Ln=rr(Kn,!0);return Ln.includes(qn)})},[rr]),jn=function(){var qn=(0,ce.Z)(Bt.current.keys());return sn.length&&qn.push(Te),qn},Yn=(0,C.useCallback)(function(er){var qn="".concat(Bt.current.get(er)).concat(M),Kn=new Set;return(0,ce.Z)(Ht.current.keys()).forEach(function(Ln){Ln.startsWith(qn)&&Kn.add(Ht.current.get(Ln))}),Kn},[]);return C.useEffect(function(){return function(){In.current=!0}},[]),{registerPath:An,unregisterPath:Fn,refreshOverflowKeys:Mn,isSubPathKey:Rn,getKeyPath:rr,getKeys:jn,getSubPathKeys:Yn}}function Xe(Ye){var ct=C.useRef(Ye);ct.current=Ye;var Nt=C.useCallback(function(){for(var Bt,Ht=arguments.length,vt=new Array(Ht),an=0;an<Ht;an++)vt[an]=arguments[an];return(Bt=ct.current)===null||Bt===void 0?void 0:Bt.call.apply(Bt,[ct].concat(vt))},[]);return Ye?Nt:void 0}var gt=Math.random().toFixed(5).toString().slice(2),de=0;function xe(Ye){var ct=(0,y.Z)(Ye,{value:Ye}),Nt=(0,j.Z)(ct,2),Bt=Nt[0],Ht=Nt[1];return C.useEffect(function(){de+=1;var vt="".concat(gt,"-").concat(de);Ht("rc-menu-uuid-".concat(vt))},[]),Bt}var Pt=u(67732),xt=u(83652),kt=u(42403),Mt=u(158),mt=u(2738),Gt=u(8654);function Zt(Ye,ct,Nt,Bt){var Ht=C.useContext(G),vt=Ht.activeKey,an=Ht.onActive,sn=Ht.onInactive,gn={active:vt===Ye};return ct||(gn.onMouseEnter=function(bn){Nt==null||Nt({key:Ye,domEvent:bn}),an(Ye)},gn.onMouseLeave=function(bn){Bt==null||Bt({key:Ye,domEvent:bn}),sn(Ye)}),gn}function Re(Ye){var ct=C.useContext(G),Nt=ct.mode,Bt=ct.rtl,Ht=ct.inlineIndent;if(Nt!=="inline")return null;var vt=Ye;return Bt?{paddingRight:vt*Ht}:{paddingLeft:vt*Ht}}function pt(Ye){var ct=Ye.icon,Nt=Ye.props,Bt=Ye.children,Ht;return ct===null||ct===!1?null:(typeof ct=="function"?Ht=C.createElement(ct,(0,L.Z)({},Nt)):typeof ct!="boolean"&&(Ht=ct),Ht||Bt||null)}var E=["item"];function D(Ye){var ct=Ye.item,Nt=(0,g.Z)(Ye,E);return Object.defineProperty(Nt,"item",{get:function(){return(0,b.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),ct}}),Nt}var rt=["title","attribute","elementRef"],te=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Ae=["active"],tn=function(Ye){(0,kt.Z)(Nt,Ye);var ct=(0,Mt.Z)(Nt);function Nt(){return(0,Pt.Z)(this,Nt),ct.apply(this,arguments)}return(0,xt.Z)(Nt,[{key:"render",value:function(){var Ht=this.props,vt=Ht.title,an=Ht.attribute,sn=Ht.elementRef,gn=(0,g.Z)(Ht,rt),bn=(0,mt.Z)(gn,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,b.ZP)(!an,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),C.createElement(l.Z.Item,(0,i.Z)({},an,{title:typeof vt=="string"?vt:void 0},bn,{ref:sn}))}}]),Nt}(C.Component),Ce=C.forwardRef(function(Ye,ct){var Nt=Ye.style,Bt=Ye.className,Ht=Ye.eventKey,vt=Ye.warnKey,an=Ye.disabled,sn=Ye.itemIcon,gn=Ye.children,bn=Ye.role,In=Ye.onMouseEnter,wn=Ye.onMouseLeave,An=Ye.onClick,Fn=Ye.onKeyDown,Mn=Ye.onFocus,rr=(0,g.Z)(Ye,te),Rn=Y(Ht),jn=C.useContext(G),Yn=jn.prefixCls,er=jn.onItemClick,qn=jn.disabled,Kn=jn.overflowDisabled,Ln=jn.itemIcon,zn=jn.selectedKeys,hr=jn.onActive,rn=C.useContext(se),nn=rn._internalRenderMenuItem,pn="".concat(Yn,"-item"),or=C.useRef(),tr=C.useRef(),ur=qn||an,lr=(0,Gt.x1)(ct,tr),Un=Qe(Ht),fn=function(Sr){return{key:Ht,keyPath:(0,ce.Z)(Un).reverse(),item:or.current,domEvent:Sr}},dn=sn||Ln,xn=Zt(Ht,ur,In,wn),Gn=xn.active,Xn=(0,g.Z)(xn,Ae),gr=zn.includes(Ht),Er=Re(Un.length),Zn=function(Sr){if(!ur){var Zr=fn(Sr);An==null||An(D(Zr)),er(Zr)}},Cr=function(Sr){if(Fn==null||Fn(Sr),Sr.which===Be.Z.ENTER){var Zr=fn(Sr);An==null||An(D(Zr)),er(Zr)}},wr=function(Sr){hr(Ht),Mn==null||Mn(Sr)},Kr={};Ye.role==="option"&&(Kr["aria-selected"]=gr);var Fr=C.createElement(tn,(0,i.Z)({ref:or,elementRef:lr,role:bn===null?"none":bn||"menuitem",tabIndex:an?null:-1,"data-menu-id":Kn&&Rn?null:Rn},(0,mt.Z)(rr,["extra"]),Xn,Kr,{component:"li","aria-disabled":an,style:(0,L.Z)((0,L.Z)({},Er),Nt),className:K()(pn,(0,U.Z)((0,U.Z)((0,U.Z)({},"".concat(pn,"-active"),Gn),"".concat(pn,"-selected"),gr),"".concat(pn,"-disabled"),ur),Bt),onClick:Zn,onKeyDown:Cr,onFocus:wr}),gn,C.createElement(pt,{props:(0,L.Z)((0,L.Z)({},Ye),{},{isSelected:gr}),icon:dn}));return nn&&(Fr=nn(Fr,Ye,{selected:gr})),Fr});function Ve(Ye,ct){var Nt=Ye.eventKey,Bt=he(),Ht=Qe(Nt);return C.useEffect(function(){if(Bt)return Bt.registerPath(Nt,Ht),function(){Bt.unregisterPath(Nt,Ht)}},[Ht]),Bt?null:C.createElement(Ce,(0,i.Z)({},Ye,{ref:ct}))}var ut=C.forwardRef(Ve),ye=["className","children"],we=function(ct,Nt){var Bt=ct.className,Ht=ct.children,vt=(0,g.Z)(ct,ye),an=C.useContext(G),sn=an.prefixCls,gn=an.mode,bn=an.rtl;return C.createElement("ul",(0,i.Z)({className:K()(sn,bn&&"".concat(sn,"-rtl"),"".concat(sn,"-sub"),"".concat(sn,"-").concat(gn==="inline"?"inline":"vertical"),Bt),role:"menu"},vt,{"data-menu-list":!0,ref:Nt}),Ht)},tt=C.forwardRef(we);tt.displayName="SubMenuList";var et=tt,X=u(11592);function St(Ye,ct){return(0,X.Z)(Ye).map(function(Nt,Bt){if(C.isValidElement(Nt)){var Ht,vt,an=Nt.key,sn=(Ht=(vt=Nt.props)===null||vt===void 0?void 0:vt.eventKey)!==null&&Ht!==void 0?Ht:an,gn=sn==null;gn&&(sn="tmp_key-".concat([].concat((0,ce.Z)(ct),[Bt]).join("-")));var bn={key:sn,eventKey:sn};return C.cloneElement(Nt,bn)}return Nt})}var Se=u(65030),Wt={adjustX:1,adjustY:1},Kt={topLeft:{points:["bl","tl"],overflow:Wt},topRight:{points:["br","tr"],overflow:Wt},bottomLeft:{points:["tl","bl"],overflow:Wt},bottomRight:{points:["tr","br"],overflow:Wt},leftTop:{points:["tr","tl"],overflow:Wt},leftBottom:{points:["br","bl"],overflow:Wt},rightTop:{points:["tl","tr"],overflow:Wt},rightBottom:{points:["bl","br"],overflow:Wt}},Rt={topLeft:{points:["bl","tl"],overflow:Wt},topRight:{points:["br","tr"],overflow:Wt},bottomLeft:{points:["tl","bl"],overflow:Wt},bottomRight:{points:["tr","br"],overflow:Wt},rightTop:{points:["tr","tl"],overflow:Wt},rightBottom:{points:["br","bl"],overflow:Wt},leftTop:{points:["tl","tr"],overflow:Wt},leftBottom:{points:["bl","br"],overflow:Wt}},le=null;function ae(Ye,ct,Nt){if(ct)return ct;if(Nt)return Nt[Ye]||Nt.other}var N={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function _t(Ye){var ct=Ye.prefixCls,Nt=Ye.visible,Bt=Ye.children,Ht=Ye.popup,vt=Ye.popupStyle,an=Ye.popupClassName,sn=Ye.popupOffset,gn=Ye.disabled,bn=Ye.mode,In=Ye.onVisibleChange,wn=C.useContext(G),An=wn.getPopupContainer,Fn=wn.rtl,Mn=wn.subMenuOpenDelay,rr=wn.subMenuCloseDelay,Rn=wn.builtinPlacements,jn=wn.triggerSubMenuAction,Yn=wn.forceSubMenuRender,er=wn.rootClassName,qn=wn.motion,Kn=wn.defaultMotions,Ln=C.useState(!1),zn=(0,j.Z)(Ln,2),hr=zn[0],rn=zn[1],nn=Fn?(0,L.Z)((0,L.Z)({},Rt),Rn):(0,L.Z)((0,L.Z)({},Kt),Rn),pn=N[bn],or=ae(bn,qn,Kn),tr=C.useRef(or);bn!=="inline"&&(tr.current=or);var ur=(0,L.Z)((0,L.Z)({},tr.current),{},{leavedClassName:"".concat(ct,"-hidden"),removeOnLeave:!1,motionAppear:!0}),lr=C.useRef();return C.useEffect(function(){return lr.current=(0,ft.Z)(function(){rn(Nt)}),function(){ft.Z.cancel(lr.current)}},[Nt]),C.createElement(Se.Z,{prefixCls:ct,popupClassName:K()("".concat(ct,"-popup"),(0,U.Z)({},"".concat(ct,"-rtl"),Fn),an,er),stretch:bn==="horizontal"?"minWidth":null,getPopupContainer:An,builtinPlacements:nn,popupPlacement:pn,popupVisible:hr,popup:Ht,popupStyle:vt,popupAlign:sn&&{offset:sn},action:gn?[]:[jn],mouseEnterDelay:Mn,mouseLeaveDelay:rr,onPopupVisibleChange:In,forceRender:Yn,popupMotion:ur,fresh:!0},Bt)}var dt=u(77900);function nt(Ye){var ct=Ye.id,Nt=Ye.open,Bt=Ye.keyPath,Ht=Ye.children,vt="inline",an=C.useContext(G),sn=an.prefixCls,gn=an.forceSubMenuRender,bn=an.motion,In=an.defaultMotions,wn=an.mode,An=C.useRef(!1);An.current=wn===vt;var Fn=C.useState(!An.current),Mn=(0,j.Z)(Fn,2),rr=Mn[0],Rn=Mn[1],jn=An.current?Nt:!1;C.useEffect(function(){An.current&&Rn(!1)},[wn]);var Yn=(0,L.Z)({},ae(vt,bn,In));Bt.length>1&&(Yn.motionAppear=!1);var er=Yn.onVisibleChanged;return Yn.onVisibleChanged=function(qn){return!An.current&&!qn&&Rn(!0),er==null?void 0:er(qn)},rr?null:C.createElement(T,{mode:vt,locked:!An.current},C.createElement(dt.default,(0,i.Z)({visible:jn},Yn,{forceRender:gn,removeOnLeave:!1,leavedClassName:"".concat(sn,"-hidden")}),function(qn){var Kn=qn.className,Ln=qn.style;return C.createElement(et,{id:ct,className:Kn,style:Ln},Ht)}))}var Ft=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Ot=["active"],zt=C.forwardRef(function(Ye,ct){var Nt=Ye.style,Bt=Ye.className,Ht=Ye.title,vt=Ye.eventKey,an=Ye.warnKey,sn=Ye.disabled,gn=Ye.internalPopupClose,bn=Ye.children,In=Ye.itemIcon,wn=Ye.expandIcon,An=Ye.popupClassName,Fn=Ye.popupOffset,Mn=Ye.popupStyle,rr=Ye.onClick,Rn=Ye.onMouseEnter,jn=Ye.onMouseLeave,Yn=Ye.onTitleClick,er=Ye.onTitleMouseEnter,qn=Ye.onTitleMouseLeave,Kn=(0,g.Z)(Ye,Ft),Ln=Y(vt),zn=C.useContext(G),hr=zn.prefixCls,rn=zn.mode,nn=zn.openKeys,pn=zn.disabled,or=zn.overflowDisabled,tr=zn.activeKey,ur=zn.selectedKeys,lr=zn.itemIcon,Un=zn.expandIcon,fn=zn.onItemClick,dn=zn.onOpenChange,xn=zn.onActive,Gn=C.useContext(se),Xn=Gn._internalRenderSubMenuItem,gr=C.useContext(ke),Er=gr.isSubPathKey,Zn=Qe(),Cr="".concat(hr,"-submenu"),wr=pn||sn,Kr=C.useRef(),Fr=C.useRef(),Lr=In!=null?In:lr,Sr=wn!=null?wn:Un,Zr=nn.includes(vt),_r=!or&&Zr,Xr=Er(ur,vt),Ir=Zt(vt,wr,er,qn),Or=Ir.active,Nr=(0,g.Z)(Ir,Ot),on=C.useState(!1),En=(0,j.Z)(on,2),br=En[0],Dr=En[1],Qr=function(ji){wr||Dr(ji)},Ar=function(ji){Qr(!0),Rn==null||Rn({key:vt,domEvent:ji})},cr=function(ji){Qr(!1),jn==null||jn({key:vt,domEvent:ji})},hi=C.useMemo(function(){return Or||(rn!=="inline"?br||Er([tr],vt):!1)},[rn,Or,tr,br,vt,Er]),ar=Re(Zn.length),_i=function(ji){wr||(Yn==null||Yn({key:vt,domEvent:ji}),rn==="inline"&&dn(vt,!Zr))},Yi=Xe(function(Ni){rr==null||rr(D(Ni)),fn(Ni)}),$i=function(ji){rn!=="inline"&&dn(vt,ji)},Mi=function(){xn(vt)},ki=Ln&&"".concat(Ln,"-popup"),Gr=C.useMemo(function(){return C.createElement(pt,{icon:rn!=="horizontal"?Sr:void 0,props:(0,L.Z)((0,L.Z)({},Ye),{},{isOpen:_r,isSubMenu:!0})},C.createElement("i",{className:"".concat(Cr,"-arrow")}))},[rn,Sr,Ye,_r,Cr]),Di=C.createElement("div",(0,i.Z)({role:"menuitem",style:ar,className:"".concat(Cr,"-title"),tabIndex:wr?null:-1,ref:Kr,title:typeof Ht=="string"?Ht:null,"data-menu-id":or&&Ln?null:Ln,"aria-expanded":_r,"aria-haspopup":!0,"aria-controls":ki,"aria-disabled":wr,onClick:_i,onFocus:Mi},Nr),Ht,Gr),ra=C.useRef(rn);if(rn!=="inline"&&Zn.length>1?ra.current="vertical":ra.current=rn,!or){var Zi=ra.current;Di=C.createElement(_t,{mode:Zi,prefixCls:Cr,visible:!gn&&_r&&rn!=="inline",popupClassName:An,popupOffset:Fn,popupStyle:Mn,popup:C.createElement(T,{mode:Zi==="horizontal"?"vertical":Zi},C.createElement(et,{id:ki,ref:Fr},bn)),disabled:wr,onVisibleChange:$i},Di)}var pi=C.createElement(l.Z.Item,(0,i.Z)({ref:ct,role:"none"},Kn,{component:"li",style:Nt,className:K()(Cr,"".concat(Cr,"-").concat(rn),Bt,(0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)({},"".concat(Cr,"-open"),_r),"".concat(Cr,"-active"),hi),"".concat(Cr,"-selected"),Xr),"".concat(Cr,"-disabled"),wr)),onMouseEnter:Ar,onMouseLeave:cr}),Di,!or&&C.createElement(nt,{id:ki,open:_r,keyPath:Zn},bn));return Xn&&(pi=Xn(pi,Ye,{selected:Xr,active:hi,open:_r,disabled:wr})),C.createElement(T,{onItemClick:Yi,mode:rn==="horizontal"?"vertical":rn,itemIcon:Lr,expandIcon:Sr},pi)}),J=C.forwardRef(function(Ye,ct){var Nt=Ye.eventKey,Bt=Ye.children,Ht=Qe(Nt),vt=St(Bt,Ht),an=he();C.useEffect(function(){if(an)return an.registerPath(Nt,Ht),function(){an.unregisterPath(Nt,Ht)}},[Ht]);var sn;return an?sn=vt:sn=C.createElement(zt,(0,i.Z)({ref:ct},Ye),vt),C.createElement(Ue.Provider,{value:Ht},sn)}),pe=J,It=u(76190);function Pe(Ye){var ct=Ye.className,Nt=Ye.style,Bt=C.useContext(G),Ht=Bt.prefixCls,vt=he();return vt?null:C.createElement("li",{role:"separator",className:K()("".concat(Ht,"-item-divider"),ct),style:Nt})}var Le=["className","title","eventKey","children"],re=C.forwardRef(function(Ye,ct){var Nt=Ye.className,Bt=Ye.title,Ht=Ye.eventKey,vt=Ye.children,an=(0,g.Z)(Ye,Le),sn=C.useContext(G),gn=sn.prefixCls,bn="".concat(gn,"-item-group");return C.createElement("li",(0,i.Z)({ref:ct,role:"presentation"},an,{onClick:function(wn){return wn.stopPropagation()},className:K()(bn,Nt)}),C.createElement("div",{role:"presentation",className:"".concat(bn,"-title"),title:typeof Bt=="string"?Bt:void 0},Bt),C.createElement("ul",{role:"group",className:"".concat(bn,"-list")},vt))}),De=C.forwardRef(function(Ye,ct){var Nt=Ye.eventKey,Bt=Ye.children,Ht=Qe(Nt),vt=St(Bt,Ht),an=he();return an?vt:C.createElement(re,(0,i.Z)({ref:ct},(0,mt.Z)(Ye,["warnKey"])),vt)}),$e=De,je=["label","children","key","type","extra"];function st(Ye,ct,Nt){var Bt=ct.item,Ht=ct.group,vt=ct.submenu,an=ct.divider;return(Ye||[]).map(function(sn,gn){if(sn&&(0,It.Z)(sn)==="object"){var bn=sn,In=bn.label,wn=bn.children,An=bn.key,Fn=bn.type,Mn=bn.extra,rr=(0,g.Z)(bn,je),Rn=An!=null?An:"tmp-".concat(gn);return wn||Fn==="group"?Fn==="group"?C.createElement(Ht,(0,i.Z)({key:Rn},rr,{title:In}),st(wn,ct,Nt)):C.createElement(vt,(0,i.Z)({key:Rn},rr,{title:In}),st(wn,ct,Nt)):Fn==="divider"?C.createElement(an,(0,i.Z)({key:Rn},rr)):C.createElement(Bt,(0,i.Z)({key:Rn},rr,{extra:Mn}),In,(!!Mn||Mn===0)&&C.createElement("span",{className:"".concat(Nt,"-item-extra")},Mn))}return null}).filter(function(sn){return sn})}function qt(Ye,ct,Nt,Bt,Ht){var vt=Ye,an=(0,L.Z)({divider:Pe,item:ut,group:$e,submenu:pe},Bt);return ct&&(vt=st(ct,an,Ht)),St(vt,Nt)}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","_internalComponents"],Oe=[],ot=C.forwardRef(function(Ye,ct){var Nt,Bt=Ye,Ht=Bt.prefixCls,vt=Ht===void 0?"rc-menu":Ht,an=Bt.rootClassName,sn=Bt.style,gn=Bt.className,bn=Bt.tabIndex,In=bn===void 0?0:bn,wn=Bt.items,An=Bt.children,Fn=Bt.direction,Mn=Bt.id,rr=Bt.mode,Rn=rr===void 0?"vertical":rr,jn=Bt.inlineCollapsed,Yn=Bt.disabled,er=Bt.disabledOverflow,qn=Bt.subMenuOpenDelay,Kn=qn===void 0?.1:qn,Ln=Bt.subMenuCloseDelay,zn=Ln===void 0?.1:Ln,hr=Bt.forceSubMenuRender,rn=Bt.defaultOpenKeys,nn=Bt.openKeys,pn=Bt.activeKey,or=Bt.defaultActiveFirst,tr=Bt.selectable,ur=tr===void 0?!0:tr,lr=Bt.multiple,Un=lr===void 0?!1:lr,fn=Bt.defaultSelectedKeys,dn=Bt.selectedKeys,xn=Bt.onSelect,Gn=Bt.onDeselect,Xn=Bt.inlineIndent,gr=Xn===void 0?24:Xn,Er=Bt.motion,Zn=Bt.defaultMotions,Cr=Bt.triggerSubMenuAction,wr=Cr===void 0?"hover":Cr,Kr=Bt.builtinPlacements,Fr=Bt.itemIcon,Lr=Bt.expandIcon,Sr=Bt.overflowedIndicator,Zr=Sr===void 0?"...":Sr,_r=Bt.overflowedIndicatorPopupClassName,Xr=Bt.getPopupContainer,Ir=Bt.onClick,Or=Bt.onOpenChange,Nr=Bt.onKeyDown,on=Bt.openAnimation,En=Bt.openTransitionName,br=Bt._internalRenderMenuItem,Dr=Bt._internalRenderSubMenuItem,Qr=Bt._internalComponents,Ar=(0,g.Z)(Bt,ln),cr=C.useMemo(function(){return[qt(An,wn,Oe,Qr,vt),qt(An,wn,Oe,{},vt)]},[An,wn,Qr]),hi=(0,j.Z)(cr,2),ar=hi[0],_i=hi[1],Yi=C.useState(!1),$i=(0,j.Z)(Yi,2),Mi=$i[0],ki=$i[1],Gr=C.useRef(),Di=xe(Mn),ra=Fn==="rtl",Zi=(0,y.Z)(rn,{value:nn,postState:function(Vi){return Vi||Oe}}),pi=(0,j.Z)(Zi,2),Ni=pi[0],ji=pi[1],zr=function(Vi){var aa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Ma(){ji(Vi),Or==null||Or(Vi)}aa?(0,w.flushSync)(Ma):Ma()},ri=C.useState(Ni),vr=(0,j.Z)(ri,2),yr=vr[0],Mr=vr[1],Vr=C.useRef(!1),wi=C.useMemo(function(){return(Rn==="inline"||Rn==="vertical")&&jn?["vertical",jn]:[Rn,!1]},[Rn,jn]),xr=(0,j.Z)(wi,2),Rr=xr[0],kr=xr[1],jr=Rr==="inline",ii=C.useState(Rr),ma=(0,j.Z)(ii,2),Xi=ma[0],ua=ma[1],mi=C.useState(kr),ai=(0,j.Z)(mi,2),Ai=ai[0],Li=ai[1];C.useEffect(function(){ua(Rr),Li(kr),Vr.current&&(jr?ji(yr):zr(Oe))},[Rr,kr]);var ia=C.useState(0),ya=(0,j.Z)(ia,2),Ca=ya[0],Da=ya[1],$a=Ca>=ar.length-1||Xi!=="horizontal"||er;C.useEffect(function(){jr&&Mr(Ni)},[Ni]),C.useEffect(function(){return Vr.current=!0,function(){Vr.current=!1}},[]);var Aa=Fe(),vs=Aa.registerPath,ws=Aa.unregisterPath,Ds=Aa.refreshOverflowKeys,za=Aa.isSubPathKey,Rs=Aa.getKeyPath,Za=Aa.getKeys,Fs=Aa.getSubPathKeys,zs=C.useMemo(function(){return{registerPath:vs,unregisterPath:ws}},[vs,ws]),$s=C.useMemo(function(){return{isSubPathKey:za}},[za]);C.useEffect(function(){Ds($a?Oe:ar.slice(Ca+1).map(function(Ki){return Ki.key}))},[Ca,$a]);var Vs=(0,y.Z)(pn||or&&((Nt=ar[0])===null||Nt===void 0?void 0:Nt.key),{value:pn}),ds=(0,j.Z)(Vs,2),Ya=ds[0],Ti=ds[1],gi=Xe(function(Ki){Ti(Ki)}),Ta=Xe(function(){Ti(void 0)});(0,C.useImperativeHandle)(ct,function(){return{list:Gr.current,focus:function(Vi){var aa,Ma=Za(),Ka=lt(Ma,Di),_s=Ka.elements,Ls=Ka.key2element,ys=Ka.element2key,Ys=Ne(Gr.current,_s),Os=Ya!=null?Ya:Ys[0]?ys.get(Ys[0]):(aa=ar.find(function(Zs){return!Zs.props.disabled}))===null||aa===void 0?void 0:aa.key,Ps=Ls.get(Os);if(Os&&Ps){var Xs;Ps==null||(Xs=Ps.focus)===null||Xs===void 0||Xs.call(Ps,Vi)}}}});var Oa=(0,y.Z)(fn||[],{value:dn,postState:function(Vi){return Array.isArray(Vi)?Vi:Vi==null?Oe:[Vi]}}),Ui=(0,j.Z)(Oa,2),Ea=Ui[0],ja=Ui[1],Ua=function(Vi){if(ur){var aa=Vi.key,Ma=Ea.includes(aa),Ka;Un?Ma?Ka=Ea.filter(function(Ls){return Ls!==aa}):Ka=[].concat((0,ce.Z)(Ea),[aa]):Ka=[aa],ja(Ka);var _s=(0,L.Z)((0,L.Z)({},Vi),{},{selectedKeys:Ka});Ma?Gn==null||Gn(_s):xn==null||xn(_s)}!Un&&Ni.length&&Xi!=="inline"&&zr(Oe)},rs=Xe(function(Ki){Ir==null||Ir(D(Ki)),Ua(Ki)}),Pa=Xe(function(Ki,Vi){var aa=Ni.filter(function(Ka){return Ka!==Ki});if(Vi)aa.push(Ki);else if(Xi!=="inline"){var Ma=Fs(Ki);aa=aa.filter(function(Ka){return!Ma.has(Ka)})}(0,P.Z)(Ni,aa,!0)||zr(aa,!0)}),ss=function(Vi,aa){var Ma=aa!=null?aa:!Ni.includes(Vi);Pa(Vi,Ma)},Xa=Ke(Xi,Ya,ra,Di,Gr,Za,Rs,Ti,ss,Nr);C.useEffect(function(){ki(!0)},[]);var fs=C.useMemo(function(){return{_internalRenderMenuItem:br,_internalRenderSubMenuItem:Dr}},[br,Dr]),hs=Xi!=="horizontal"||er?ar:ar.map(function(Ki,Vi){return C.createElement(T,{key:Ki.key,overflowDisabled:Vi>Ca},Ki)}),Gs=C.createElement(l.Z,(0,i.Z)({id:Mn,ref:Gr,prefixCls:"".concat(vt,"-overflow"),component:"ul",itemComponent:ut,className:K()(vt,"".concat(vt,"-root"),"".concat(vt,"-").concat(Xi),gn,(0,U.Z)((0,U.Z)({},"".concat(vt,"-inline-collapsed"),Ai),"".concat(vt,"-rtl"),ra),an),dir:Fn,style:sn,role:"menu",tabIndex:In,data:hs,renderRawItem:function(Vi){return Vi},renderRawRest:function(Vi){var aa=Vi.length,Ma=aa?ar.slice(-aa):null;return C.createElement(pe,{eventKey:Te,title:Zr,disabled:$a,internalPopupClose:aa===0,popupClassName:_r},Ma)},maxCount:Xi!=="horizontal"||er?l.Z.INVALIDATE:l.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Vi){Da(Vi)},onKeyDown:Xa},Ar));return C.createElement(se.Provider,{value:fs},C.createElement(z.Provider,{value:Di},C.createElement(T,{prefixCls:vt,rootClassName:an,mode:Xi,openKeys:Ni,rtl:ra,disabled:Yn,motion:Mi?Er:null,defaultMotions:Mi?Zn:null,activeKey:Ya,onActive:gi,onInactive:Ta,selectedKeys:Ea,inlineIndent:gr,subMenuOpenDelay:Kn,subMenuCloseDelay:zn,forceSubMenuRender:hr,builtinPlacements:Kr,triggerSubMenuAction:wr,getPopupContainer:Xr,itemIcon:Fr,expandIcon:Lr,onItemClick:rs,onOpenChange:Pa},C.createElement(ke.Provider,{value:$s},Gs),C.createElement("div",{style:{display:"none"},"aria-hidden":!0},C.createElement(be.Provider,{value:zs},_i)))))}),wt=ot,Qt=wt;Qt.Item=ut,Qt.SubMenu=pe,Qt.ItemGroup=$e,Qt.Divider=Pe;var Xt=Qt},83836:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return Ee}});var i=u(54476),U=u(33885),L=u(42978),ce=u(75931),j=u(59301),g=u(92310),V=u.n(g),K=u(29301),l=u(34280),y=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],P=void 0;function b(_,A){var fe=_.prefixCls,Be=_.invalidate,ft=_.item,At=_.renderItem,Ie=_.responsive,it=_.responsiveDisabled,ht=_.registerSize,Tt=_.itemKey,ze=_.className,Jt=_.style,yt=_.children,cn=_.display,Je=_.order,bt=_.component,Ge=bt===void 0?"div":bt,Ne=(0,ce.Z)(_,y),ne=Ie&&!cn;function lt(me){ht(Tt,me)}j.useEffect(function(){return function(){lt(null)}},[]);var Ke=At&&ft!==P?At(ft,{index:Je}):yt,H;Be||(H={opacity:ne?0:1,height:ne?0:P,overflowY:ne?"hidden":P,order:Ie?Je:P,pointerEvents:ne?"none":P,position:ne?"absolute":P});var M={};ne&&(M["aria-hidden"]=!0);var _e=j.createElement(Ge,(0,i.Z)({className:V()(!Be&&fe,ze),style:(0,U.Z)((0,U.Z)({},H),Jt)},M,Ne,{ref:A}),Ke);return Ie&&(_e=j.createElement(K.Z,{onResize:function(Te){var Fe=Te.offsetWidth;lt(Fe)},disabled:it},_e)),_e}var C=j.forwardRef(b);C.displayName="Item";var w=C,z=u(6089),W=u(4676),Y=u(16089);function $(_){if(typeof MessageChannel=="undefined")(0,Y.Z)(_);else{var A=new MessageChannel;A.port1.onmessage=function(){return _()},A.port2.postMessage(void 0)}}function R(){var _=j.useRef(null),A=function(Be){_.current||(_.current=[],$(function(){(0,W.unstable_batchedUpdates)(function(){_.current.forEach(function(ft){ft()}),_.current=null})})),_.current.push(Be)};return A}function G(_,A){var fe=j.useState(A),Be=(0,L.Z)(fe,2),ft=Be[0],At=Be[1],Ie=(0,z.Z)(function(it){_(function(){At(it)})});return[ft,Ie]}var O=j.createContext(null),T=["component"],ue=["className"],be=["className"],he=function(A,fe){var Be=j.useContext(O);if(!Be){var ft=A.component,At=ft===void 0?"div":ft,Ie=(0,ce.Z)(A,T);return j.createElement(At,(0,i.Z)({},Ie,{ref:fe}))}var it=Be.className,ht=(0,ce.Z)(Be,ue),Tt=A.className,ze=(0,ce.Z)(A,be);return j.createElement(O.Provider,{value:null},j.createElement(w,(0,i.Z)({ref:fe,className:V()(it,Tt)},ht,ze)))},Ue=j.forwardRef(he);Ue.displayName="RawItem";var Qe=Ue,ke=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],Ze="responsive",se="invalidate";function k(_){return"+ ".concat(_.length," ...")}function I(_,A){var fe=_.prefixCls,Be=fe===void 0?"rc-overflow":fe,ft=_.data,At=ft===void 0?[]:ft,Ie=_.renderItem,it=_.renderRawItem,ht=_.itemKey,Tt=_.itemWidth,ze=Tt===void 0?10:Tt,Jt=_.ssr,yt=_.style,cn=_.className,Je=_.maxCount,bt=_.renderRest,Ge=_.renderRawRest,Ne=_.prefix,ne=_.suffix,lt=_.component,Ke=lt===void 0?"div":lt,H=_.itemComponent,M=_.onVisibleChange,_e=(0,ce.Z)(_,ke),me=Jt==="full",Te=R(),Fe=G(Te,null),Xe=(0,L.Z)(Fe,2),gt=Xe[0],de=Xe[1],xe=gt||0,Pt=G(Te,new Map),xt=(0,L.Z)(Pt,2),kt=xt[0],Mt=xt[1],mt=G(Te,0),Gt=(0,L.Z)(mt,2),Zt=Gt[0],Re=Gt[1],pt=G(Te,0),E=(0,L.Z)(pt,2),D=E[0],rt=E[1],te=G(Te,0),Ae=(0,L.Z)(te,2),tn=Ae[0],Ce=Ae[1],Ve=G(Te,0),ut=(0,L.Z)(Ve,2),ye=ut[0],we=ut[1],tt=(0,j.useState)(null),et=(0,L.Z)(tt,2),X=et[0],St=et[1],Se=(0,j.useState)(null),Wt=(0,L.Z)(Se,2),Kt=Wt[0],Rt=Wt[1],le=j.useMemo(function(){return Kt===null&&me?Number.MAX_SAFE_INTEGER:Kt||0},[Kt,gt]),ae=(0,j.useState)(!1),N=(0,L.Z)(ae,2),_t=N[0],dt=N[1],nt="".concat(Be,"-item"),Ft=Math.max(Zt,D),Ot=Je===Ze,zt=At.length&&Ot,J=Je===se,pe=zt||typeof Je=="number"&&At.length>Je,It=(0,j.useMemo)(function(){var Ht=At;return zt?gt===null&&me?Ht=At:Ht=At.slice(0,Math.min(At.length,xe/ze)):typeof Je=="number"&&(Ht=At.slice(0,Je)),Ht},[At,ze,gt,Je,zt]),Pe=(0,j.useMemo)(function(){return zt?At.slice(le+1):At.slice(It.length)},[At,It,zt,le]),Le=(0,j.useCallback)(function(Ht,vt){var an;return typeof ht=="function"?ht(Ht):(an=ht&&(Ht==null?void 0:Ht[ht]))!==null&&an!==void 0?an:vt},[ht]),re=(0,j.useCallback)(Ie||function(Ht){return Ht},[Ie]);function De(Ht,vt,an){Kt===Ht&&(vt===void 0||vt===X)||(Rt(Ht),an||(dt(Ht<At.length-1),M==null||M(Ht)),vt!==void 0&&St(vt))}function $e(Ht,vt){de(vt.clientWidth)}function je(Ht,vt){Mt(function(an){var sn=new Map(an);return vt===null?sn.delete(Ht):sn.set(Ht,vt),sn})}function st(Ht,vt){rt(vt),Re(D)}function qt(Ht,vt){Ce(vt)}function ln(Ht,vt){we(vt)}function Oe(Ht){return kt.get(Le(It[Ht],Ht))}(0,l.Z)(function(){if(xe&&typeof Ft=="number"&&It){var Ht=tn+ye,vt=It.length,an=vt-1;if(!vt){De(0,null);return}for(var sn=0;sn<vt;sn+=1){var gn=Oe(sn);if(me&&(gn=gn||0),gn===void 0){De(sn-1,void 0,!0);break}if(Ht+=gn,an===0&&Ht<=xe||sn===an-1&&Ht+Oe(an)<=xe){De(an,null);break}else if(Ht+Ft>xe){De(sn-1,Ht-gn-ye+D);break}}ne&&Oe(0)+ye>xe&&St(null)}},[xe,kt,D,tn,ye,Le,It]);var ot=_t&&!!Pe.length,wt={};X!==null&&zt&&(wt={position:"absolute",left:X,top:0});var Qt={prefixCls:nt,responsive:zt,component:H,invalidate:J},Xt=it?function(Ht,vt){var an=Le(Ht,vt);return j.createElement(O.Provider,{key:an,value:(0,U.Z)((0,U.Z)({},Qt),{},{order:vt,item:Ht,itemKey:an,registerSize:je,display:vt<=le})},it(Ht,vt))}:function(Ht,vt){var an=Le(Ht,vt);return j.createElement(w,(0,i.Z)({},Qt,{order:vt,key:an,item:Ht,renderItem:re,itemKey:an,registerSize:je,display:vt<=le}))},Ye={order:ot?le:Number.MAX_SAFE_INTEGER,className:"".concat(nt,"-rest"),registerSize:st,display:ot},ct=bt||k,Nt=Ge?j.createElement(O.Provider,{value:(0,U.Z)((0,U.Z)({},Qt),Ye)},Ge(Pe)):j.createElement(w,(0,i.Z)({},Qt,Ye),typeof ct=="function"?ct(Pe):ct),Bt=j.createElement(Ke,(0,i.Z)({className:V()(!J&&Be,cn),style:yt,ref:A},_e),Ne&&j.createElement(w,(0,i.Z)({},Qt,{responsive:Ot,responsiveDisabled:!zt,order:-1,className:"".concat(nt,"-prefix"),registerSize:qt,display:!0}),Ne),It.map(Xt),pe?Nt:null,ne&&j.createElement(w,(0,i.Z)({},Qt,{responsive:Ot,responsiveDisabled:!zt,order:le,className:"".concat(nt,"-suffix"),registerSize:ln,display:!0,style:wt}),ne));return Ot?j.createElement(K.Z,{onResize:$e,disabled:!zt},Bt):Bt}var oe=j.forwardRef(I);oe.displayName="Overflow",oe.Item=Qe,oe.RESPONSIVE=Ze,oe.INVALIDATE=se;var ie=oe,Ee=ie},29301:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return se}});var i=u(54476),U=u(59301),L=u(11592),ce=u(48736),j=u(33885),g=u(76190),V=u(76846),K=u(8654),l=U.createContext(null);function y(k){var I=k.children,oe=k.onBatchResize,ie=U.useRef(0),Ee=U.useRef([]),_=U.useContext(l),A=U.useCallback(function(fe,Be,ft){ie.current+=1;var At=ie.current;Ee.current.push({size:fe,element:Be,data:ft}),Promise.resolve().then(function(){At===ie.current&&(oe==null||oe(Ee.current),Ee.current=[])}),_==null||_(fe,Be,ft)},[oe,_]);return U.createElement(l.Provider,{value:A},I)}var P=u(76374),b=new Map;function C(k){k.forEach(function(I){var oe,ie=I.target;(oe=b.get(ie))===null||oe===void 0||oe.forEach(function(Ee){return Ee(ie)})})}var w=new P.Z(C),z=null,W=null;function Y(k,I){b.has(k)||(b.set(k,new Set),w.observe(k)),b.get(k).add(I)}function $(k,I){b.has(k)&&(b.get(k).delete(I),b.get(k).size||(w.unobserve(k),b.delete(k)))}var R=u(67732),G=u(83652),O=u(42403),T=u(158),ue=function(k){(0,O.Z)(oe,k);var I=(0,T.Z)(oe);function oe(){return(0,R.Z)(this,oe),I.apply(this,arguments)}return(0,G.Z)(oe,[{key:"render",value:function(){return this.props.children}}]),oe}(U.Component);function be(k,I){var oe=k.children,ie=k.disabled,Ee=U.useRef(null),_=U.useRef(null),A=U.useContext(l),fe=typeof oe=="function",Be=fe?oe(Ee):oe,ft=U.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),At=!fe&&U.isValidElement(Be)&&(0,K.Yr)(Be),Ie=At?(0,K.C4)(Be):null,it=(0,K.x1)(Ie,Ee),ht=function(){var yt;return(0,V.ZP)(Ee.current)||(Ee.current&&(0,g.Z)(Ee.current)==="object"?(0,V.ZP)((yt=Ee.current)===null||yt===void 0?void 0:yt.nativeElement):null)||(0,V.ZP)(_.current)};U.useImperativeHandle(I,function(){return ht()});var Tt=U.useRef(k);Tt.current=k;var ze=U.useCallback(function(Jt){var yt=Tt.current,cn=yt.onResize,Je=yt.data,bt=Jt.getBoundingClientRect(),Ge=bt.width,Ne=bt.height,ne=Jt.offsetWidth,lt=Jt.offsetHeight,Ke=Math.floor(Ge),H=Math.floor(Ne);if(ft.current.width!==Ke||ft.current.height!==H||ft.current.offsetWidth!==ne||ft.current.offsetHeight!==lt){var M={width:Ke,height:H,offsetWidth:ne,offsetHeight:lt};ft.current=M;var _e=ne===Math.round(Ge)?Ge:ne,me=lt===Math.round(Ne)?Ne:lt,Te=(0,j.Z)((0,j.Z)({},M),{},{offsetWidth:_e,offsetHeight:me});A==null||A(Te,Jt,Je),cn&&Promise.resolve().then(function(){cn(Te,Jt)})}},[]);return U.useEffect(function(){var Jt=ht();return Jt&&!ie&&Y(Jt,ze),function(){return $(Jt,ze)}},[Ee.current,ie]),U.createElement(ue,{ref:_},At?U.cloneElement(Be,{ref:it}):Be)}var he=U.forwardRef(be),Ue=he,Qe="rc-observer-key";function ke(k,I){var oe=k.children,ie=typeof oe=="function"?[oe]:(0,L.Z)(oe);return ie.map(function(Ee,_){var A=(Ee==null?void 0:Ee.key)||"".concat(Qe,"-").concat(_);return U.createElement(Ue,(0,i.Z)({},k,{key:A,ref:_===0?I:void 0}),Ee)})}var Ze=U.forwardRef(ke);Ze.Collection=y;var se=Ze},6551:function(Pn,Lt,u){"use strict";u.d(Lt,{ZP:function(){return V}});var i=u(42978),U=u(59301),L=u(47273),ce=0,j=(0,L.Z)();function g(){var K;return j?(K=ce,ce+=1):K="TEST_OR_SSR",K}function V(K){var l=U.useState(),y=(0,i.Z)(l,2),P=y[0],b=y[1];return U.useEffect(function(){b("rc_select_".concat(g()))},[]),K||P}},37463:function(Pn,Lt,u){"use strict";u.d(Lt,{Ac:function(){return mt},Xo:function(){return Zt},Wx:function(){return pt},ZP:function(){return It},lk:function(){return G}});var i=u(54476),U=u(94480),L=u(20068),ce=u(33885),j=u(42978),g=u(75931),V=u(76190),K=u(18929),l=u(48736),y=u(59301),P=u(92310),b=u.n(P),C=u(34280),w=u(49658),z=u(8654),W=function(Le){var re=Le.className,De=Le.customizeIcon,$e=Le.customizeIconProps,je=Le.children,st=Le.onMouseDown,qt=Le.onClick,ln=typeof De=="function"?De($e):De;return y.createElement("span",{className:re,onMouseDown:function(ot){ot.preventDefault(),st==null||st(ot)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:qt,"aria-hidden":!0},ln!==void 0?ln:y.createElement("span",{className:b()(re.split(/\s+/).map(function(Oe){return"".concat(Oe,"-icon")}))},je))},Y=W,$=function(Le,re,De,$e,je){var st=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,qt=arguments.length>6?arguments[6]:void 0,ln=arguments.length>7?arguments[7]:void 0,Oe=y.useMemo(function(){if((0,V.Z)($e)==="object")return $e.clearIcon;if(je)return je},[$e,je]),ot=y.useMemo(function(){return!!(!st&&$e&&(De.length||qt)&&!(ln==="combobox"&&qt===""))},[$e,st,De.length,qt,ln]);return{allowClear:ot,clearIcon:y.createElement(Y,{className:"".concat(Le,"-clear"),onMouseDown:re,customizeIcon:Oe},"\xD7")}},R=y.createContext(null);function G(){return y.useContext(R)}function O(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Le=y.useState(!1),re=(0,j.Z)(Le,2),De=re[0],$e=re[1],je=y.useRef(null),st=function(){window.clearTimeout(je.current)};y.useEffect(function(){return st},[]);var qt=function(Oe,ot){st(),je.current=window.setTimeout(function(){$e(Oe),ot&&ot()},Pe)};return[De,qt,st]}function T(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Le=y.useRef(null),re=y.useRef(null);y.useEffect(function(){return function(){window.clearTimeout(re.current)}},[]);function De($e){($e||Le.current===null)&&(Le.current=$e),window.clearTimeout(re.current),re.current=window.setTimeout(function(){Le.current=null},Pe)}return[function(){return Le.current},De]}function ue(Pe,Le,re,De){var $e=y.useRef(null);$e.current={open:Le,triggerOpen:re,customizedTrigger:De},y.useEffect(function(){function je(st){var qt;if(!((qt=$e.current)!==null&&qt!==void 0&&qt.customizedTrigger)){var ln=st.target;ln.shadowRoot&&st.composed&&(ln=st.composedPath()[0]||ln),$e.current.open&&Pe().filter(function(Oe){return Oe}).every(function(Oe){return!Oe.contains(ln)&&Oe!==ln})&&$e.current.triggerOpen(!1)}}return window.addEventListener("mousedown",je),function(){return window.removeEventListener("mousedown",je)}},[])}var be=u(10228);function he(Pe){return Pe&&![be.Z.ESC,be.Z.SHIFT,be.Z.BACKSPACE,be.Z.TAB,be.Z.WIN_KEY,be.Z.ALT,be.Z.META,be.Z.WIN_KEY_RIGHT,be.Z.CTRL,be.Z.SEMICOLON,be.Z.EQUALS,be.Z.CAPS_LOCK,be.Z.CONTEXT_MENU,be.Z.F1,be.Z.F2,be.Z.F3,be.Z.F4,be.Z.F5,be.Z.F6,be.Z.F7,be.Z.F8,be.Z.F9,be.Z.F10,be.Z.F11,be.Z.F12].includes(Pe)}var Ue=u(26112),Qe=u(83836);function ke(Pe,Le,re){var De=(0,ce.Z)((0,ce.Z)({},Pe),re?Le:{});return Object.keys(Le).forEach(function($e){var je=Le[$e];typeof je=="function"&&(De[$e]=function(){for(var st,qt=arguments.length,ln=new Array(qt),Oe=0;Oe<qt;Oe++)ln[Oe]=arguments[Oe];return je.apply(void 0,ln),(st=Pe[$e])===null||st===void 0?void 0:st.call.apply(st,[Pe].concat(ln))})}),De}var Ze=ke,se=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],k=function(Le,re){var De=Le.prefixCls,$e=Le.id,je=Le.inputElement,st=Le.autoFocus,qt=Le.autoComplete,ln=Le.editable,Oe=Le.activeDescendantId,ot=Le.value,wt=Le.open,Qt=Le.attrs,Xt=(0,g.Z)(Le,se),Ye=je||y.createElement("input",null),ct=Ye,Nt=ct.ref,Bt=ct.props;return(0,l.Kp)(!("maxLength"in Ye.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Ye=y.cloneElement(Ye,(0,ce.Z)((0,ce.Z)((0,ce.Z)({type:"search"},Ze(Xt,Bt,!0)),{},{id:$e,ref:(0,z.sQ)(re,Nt),autoComplete:qt||"off",autoFocus:st,className:b()("".concat(De,"-selection-search-input"),Bt==null?void 0:Bt.className),role:"combobox","aria-expanded":wt||!1,"aria-haspopup":"listbox","aria-owns":"".concat($e,"_list"),"aria-autocomplete":"list","aria-controls":"".concat($e,"_list"),"aria-activedescendant":wt?Oe:void 0},Qt),{},{value:ln?ot:"",readOnly:!ln,unselectable:ln?null:"on",style:(0,ce.Z)((0,ce.Z)({},Bt.style),{},{opacity:ln?null:0})})),Ye},I=y.forwardRef(k),oe=I;function ie(Pe){return Array.isArray(Pe)?Pe:Pe!==void 0?[Pe]:[]}var Ee=typeof window!="undefined"&&window.document&&window.document.documentElement,_=Ee;function A(Pe){return Pe!=null}function fe(Pe){return!Pe&&Pe!==0}function Be(Pe){return["string","number"].includes((0,V.Z)(Pe))}function ft(Pe){var Le=void 0;return Pe&&(Be(Pe.title)?Le=Pe.title.toString():Be(Pe.label)&&(Le=Pe.label.toString())),Le}function At(Pe,Le){_?y.useLayoutEffect(Pe,Le):y.useEffect(Pe,Le)}function Ie(Pe){var Le;return(Le=Pe.key)!==null&&Le!==void 0?Le:Pe.value}var it=function(Le){Le.preventDefault(),Le.stopPropagation()},ht=function(Le){var re=Le.id,De=Le.prefixCls,$e=Le.values,je=Le.open,st=Le.searchValue,qt=Le.autoClearSearchValue,ln=Le.inputRef,Oe=Le.placeholder,ot=Le.disabled,wt=Le.mode,Qt=Le.showSearch,Xt=Le.autoFocus,Ye=Le.autoComplete,ct=Le.activeDescendantId,Nt=Le.tabIndex,Bt=Le.removeIcon,Ht=Le.maxTagCount,vt=Le.maxTagTextLength,an=Le.maxTagPlaceholder,sn=an===void 0?function(Gn){return"+ ".concat(Gn.length," ...")}:an,gn=Le.tagRender,bn=Le.onToggleOpen,In=Le.onRemove,wn=Le.onInputChange,An=Le.onInputPaste,Fn=Le.onInputKeyDown,Mn=Le.onInputMouseDown,rr=Le.onInputCompositionStart,Rn=Le.onInputCompositionEnd,jn=Le.onInputBlur,Yn=y.useRef(null),er=(0,y.useState)(0),qn=(0,j.Z)(er,2),Kn=qn[0],Ln=qn[1],zn=(0,y.useState)(!1),hr=(0,j.Z)(zn,2),rn=hr[0],nn=hr[1],pn="".concat(De,"-selection"),or=je||wt==="multiple"&&qt===!1||wt==="tags"?st:"",tr=wt==="tags"||wt==="multiple"&&qt===!1||Qt&&(je||rn);At(function(){Ln(Yn.current.scrollWidth)},[or]);var ur=function(Xn,gr,Er,Zn,Cr){return y.createElement("span",{title:ft(Xn),className:b()("".concat(pn,"-item"),(0,L.Z)({},"".concat(pn,"-item-disabled"),Er))},y.createElement("span",{className:"".concat(pn,"-item-content")},gr),Zn&&y.createElement(Y,{className:"".concat(pn,"-item-remove"),onMouseDown:it,onClick:Cr,customizeIcon:Bt},"\xD7"))},lr=function(Xn,gr,Er,Zn,Cr,wr){var Kr=function(Lr){it(Lr),bn(!je)};return y.createElement("span",{onMouseDown:Kr},gn({label:gr,value:Xn,disabled:Er,closable:Zn,onClose:Cr,isMaxTag:!!wr}))},Un=function(Xn){var gr=Xn.disabled,Er=Xn.label,Zn=Xn.value,Cr=!ot&&!gr,wr=Er;if(typeof vt=="number"&&(typeof Er=="string"||typeof Er=="number")){var Kr=String(wr);Kr.length>vt&&(wr="".concat(Kr.slice(0,vt),"..."))}var Fr=function(Sr){Sr&&Sr.stopPropagation(),In(Xn)};return typeof gn=="function"?lr(Zn,wr,gr,Cr,Fr):ur(Xn,wr,gr,Cr,Fr)},fn=function(Xn){if(!$e.length)return null;var gr=typeof sn=="function"?sn(Xn):sn;return typeof gn=="function"?lr(void 0,gr,!1,!1,void 0,!0):ur({title:gr},gr,!1)},dn=y.createElement("div",{className:"".concat(pn,"-search"),style:{width:Kn},onFocus:function(){nn(!0)},onBlur:function(){nn(!1)}},y.createElement(oe,{ref:ln,open:je,prefixCls:De,id:re,inputElement:null,disabled:ot,autoFocus:Xt,autoComplete:Ye,editable:tr,activeDescendantId:ct,value:or,onKeyDown:Fn,onMouseDown:Mn,onChange:wn,onPaste:An,onCompositionStart:rr,onCompositionEnd:Rn,onBlur:jn,tabIndex:Nt,attrs:(0,Ue.Z)(Le,!0)}),y.createElement("span",{ref:Yn,className:"".concat(pn,"-search-mirror"),"aria-hidden":!0},or,"\xA0")),xn=y.createElement(Qe.Z,{prefixCls:"".concat(pn,"-overflow"),data:$e,renderItem:Un,renderRest:fn,suffix:dn,itemKey:Ie,maxCount:Ht});return y.createElement("span",{className:"".concat(pn,"-wrap")},xn,!$e.length&&!or&&y.createElement("span",{className:"".concat(pn,"-placeholder")},Oe))},Tt=ht,ze=function(Le){var re=Le.inputElement,De=Le.prefixCls,$e=Le.id,je=Le.inputRef,st=Le.disabled,qt=Le.autoFocus,ln=Le.autoComplete,Oe=Le.activeDescendantId,ot=Le.mode,wt=Le.open,Qt=Le.values,Xt=Le.placeholder,Ye=Le.tabIndex,ct=Le.showSearch,Nt=Le.searchValue,Bt=Le.activeValue,Ht=Le.maxLength,vt=Le.onInputKeyDown,an=Le.onInputMouseDown,sn=Le.onInputChange,gn=Le.onInputPaste,bn=Le.onInputCompositionStart,In=Le.onInputCompositionEnd,wn=Le.onInputBlur,An=Le.title,Fn=y.useState(!1),Mn=(0,j.Z)(Fn,2),rr=Mn[0],Rn=Mn[1],jn=ot==="combobox",Yn=jn||ct,er=Qt[0],qn=Nt||"";jn&&Bt&&!rr&&(qn=Bt),y.useEffect(function(){jn&&Rn(!1)},[jn,Bt]);var Kn=ot!=="combobox"&&!wt&&!ct?!1:!!qn,Ln=An===void 0?ft(er):An,zn=y.useMemo(function(){return er?null:y.createElement("span",{className:"".concat(De,"-selection-placeholder"),style:Kn?{visibility:"hidden"}:void 0},Xt)},[er,Kn,Xt,De]);return y.createElement("span",{className:"".concat(De,"-selection-wrap")},y.createElement("span",{className:"".concat(De,"-selection-search")},y.createElement(oe,{ref:je,prefixCls:De,id:$e,open:wt,inputElement:re,disabled:st,autoFocus:qt,autoComplete:ln,editable:Yn,activeDescendantId:Oe,value:qn,onKeyDown:vt,onMouseDown:an,onChange:function(rn){Rn(!0),sn(rn)},onPaste:gn,onCompositionStart:bn,onCompositionEnd:In,onBlur:wn,tabIndex:Ye,attrs:(0,Ue.Z)(Le,!0),maxLength:jn?Ht:void 0})),!jn&&er?y.createElement("span",{className:"".concat(De,"-selection-item"),title:Ln,style:Kn?{visibility:"hidden"}:void 0},er.label):null,zn)},Jt=ze,yt=function(Le,re){var De=(0,y.useRef)(null),$e=(0,y.useRef)(!1),je=Le.prefixCls,st=Le.open,qt=Le.mode,ln=Le.showSearch,Oe=Le.tokenWithEnter,ot=Le.disabled,wt=Le.prefix,Qt=Le.autoClearSearchValue,Xt=Le.onSearch,Ye=Le.onSearchSubmit,ct=Le.onToggleOpen,Nt=Le.onInputKeyDown,Bt=Le.onInputBlur,Ht=Le.domRef;y.useImperativeHandle(re,function(){return{focus:function(Ln){De.current.focus(Ln)},blur:function(){De.current.blur()}}});var vt=T(0),an=(0,j.Z)(vt,2),sn=an[0],gn=an[1],bn=function(Ln){var zn=Ln.which,hr=De.current instanceof HTMLTextAreaElement;!hr&&st&&(zn===be.Z.UP||zn===be.Z.DOWN)&&Ln.preventDefault(),Nt&&Nt(Ln),zn===be.Z.ENTER&&qt==="tags"&&!$e.current&&!st&&(Ye==null||Ye(Ln.target.value)),!(hr&&!st&&~[be.Z.UP,be.Z.DOWN,be.Z.LEFT,be.Z.RIGHT].indexOf(zn))&&he(zn)&&ct(!0)},In=function(){gn(!0)},wn=(0,y.useRef)(null),An=function(Ln){Xt(Ln,!0,$e.current)!==!1&&ct(!0)},Fn=function(){$e.current=!0},Mn=function(Ln){$e.current=!1,qt!=="combobox"&&An(Ln.target.value)},rr=function(Ln){var zn=Ln.target.value;if(Oe&&wn.current&&/[\r\n]/.test(wn.current)){var hr=wn.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");zn=zn.replace(hr,wn.current)}wn.current=null,An(zn)},Rn=function(Ln){var zn=Ln.clipboardData,hr=zn==null?void 0:zn.getData("text");wn.current=hr||""},jn=function(Ln){var zn=Ln.target;if(zn!==De.current){var hr=document.body.style.msTouchAction!==void 0;hr?setTimeout(function(){De.current.focus()}):De.current.focus()}},Yn=function(Ln){var zn=sn();Ln.target!==De.current&&!zn&&!(qt==="combobox"&&ot)&&Ln.preventDefault(),(qt!=="combobox"&&(!ln||!zn)||!st)&&(st&&Qt!==!1&&Xt("",!0,!1),ct())},er={inputRef:De,onInputKeyDown:bn,onInputMouseDown:In,onInputChange:rr,onInputPaste:Rn,onInputCompositionStart:Fn,onInputCompositionEnd:Mn,onInputBlur:Bt},qn=qt==="multiple"||qt==="tags"?y.createElement(Tt,(0,i.Z)({},Le,er)):y.createElement(Jt,(0,i.Z)({},Le,er));return y.createElement("div",{ref:Ht,className:"".concat(je,"-selector"),onClick:jn,onMouseDown:Yn},wt&&y.createElement("div",{className:"".concat(je,"-prefix")},wt),qn)},cn=y.forwardRef(yt),Je=cn,bt=u(65030),Ge=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Ne=function(Le){var re=Le===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:re,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:re,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:re,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:re,adjustY:1},htmlRegion:"scroll"}}},ne=function(Le,re){var De=Le.prefixCls,$e=Le.disabled,je=Le.visible,st=Le.children,qt=Le.popupElement,ln=Le.animation,Oe=Le.transitionName,ot=Le.dropdownStyle,wt=Le.dropdownClassName,Qt=Le.direction,Xt=Qt===void 0?"ltr":Qt,Ye=Le.placement,ct=Le.builtinPlacements,Nt=Le.dropdownMatchSelectWidth,Bt=Le.dropdownRender,Ht=Le.dropdownAlign,vt=Le.getPopupContainer,an=Le.empty,sn=Le.getTriggerDOMNode,gn=Le.onPopupVisibleChange,bn=Le.onPopupMouseEnter,In=(0,g.Z)(Le,Ge),wn="".concat(De,"-dropdown"),An=qt;Bt&&(An=Bt(qt));var Fn=y.useMemo(function(){return ct||Ne(Nt)},[ct,Nt]),Mn=ln?"".concat(wn,"-").concat(ln):Oe,rr=typeof Nt=="number",Rn=y.useMemo(function(){return rr?null:Nt===!1?"minWidth":"width"},[Nt,rr]),jn=ot;rr&&(jn=(0,ce.Z)((0,ce.Z)({},jn),{},{width:Nt}));var Yn=y.useRef(null);return y.useImperativeHandle(re,function(){return{getPopupElement:function(){var qn;return(qn=Yn.current)===null||qn===void 0?void 0:qn.popupElement}}}),y.createElement(bt.Z,(0,i.Z)({},In,{showAction:gn?["click"]:[],hideAction:gn?["click"]:[],popupPlacement:Ye||(Xt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Fn,prefixCls:wn,popupTransitionName:Mn,popup:y.createElement("div",{onMouseEnter:bn},An),ref:Yn,stretch:Rn,popupAlign:Ht,popupVisible:je,getPopupContainer:vt,popupClassName:b()(wt,(0,L.Z)({},"".concat(wn,"-empty"),an)),popupStyle:jn,getTriggerDOMNode:sn,onPopupVisibleChange:gn}),st)},lt=y.forwardRef(ne),Ke=lt,H=u(66712);function M(Pe,Le){var re=Pe.key,De;return"value"in Pe&&(De=Pe.value),re!=null?re:De!==void 0?De:"rc-index-key-".concat(Le)}function _e(Pe){return typeof Pe!="undefined"&&!Number.isNaN(Pe)}function me(Pe,Le){var re=Pe||{},De=re.label,$e=re.value,je=re.options,st=re.groupLabel,qt=De||(Le?"children":"label");return{label:qt,value:$e||"value",options:je||"options",groupLabel:st||qt}}function Te(Pe){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},re=Le.fieldNames,De=Le.childrenAsData,$e=[],je=me(re,!1),st=je.label,qt=je.value,ln=je.options,Oe=je.groupLabel;function ot(wt,Qt){Array.isArray(wt)&&wt.forEach(function(Xt){if(Qt||!(ln in Xt)){var Ye=Xt[qt];$e.push({key:M(Xt,$e.length),groupOption:Qt,data:Xt,label:Xt[st],value:Ye})}else{var ct=Xt[Oe];ct===void 0&&De&&(ct=Xt.label),$e.push({key:M(Xt,$e.length),group:!0,data:Xt,label:ct}),ot(Xt[ln],!0)}})}return ot(Pe,!1),$e}function Fe(Pe){var Le=(0,ce.Z)({},Pe);return"props"in Le||Object.defineProperty(Le,"props",{get:function(){return(0,l.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Le}}),Le}var Xe=function(Le,re,De){if(!re||!re.length)return null;var $e=!1,je=function qt(ln,Oe){var ot=(0,H.Z)(Oe),wt=ot[0],Qt=ot.slice(1);if(!wt)return[ln];var Xt=ln.split(wt);return $e=$e||Xt.length>1,Xt.reduce(function(Ye,ct){return[].concat((0,U.Z)(Ye),(0,U.Z)(qt(ct,Qt)))},[]).filter(Boolean)},st=je(Le,re);return $e?typeof De!="undefined"?st.slice(0,De):st:null},gt=y.createContext(null),de=gt;function xe(Pe){var Le=Pe.visible,re=Pe.values;if(!Le)return null;var De=50;return y.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(re.slice(0,De).map(function($e){var je=$e.label,st=$e.value;return["number","string"].includes((0,V.Z)(je))?je:st}).join(", ")),re.length>De?", ...":null)}var Pt=["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","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],xt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],kt=function(Le){return Le==="tags"||Le==="multiple"},Mt=y.forwardRef(function(Pe,Le){var re,De=Pe.id,$e=Pe.prefixCls,je=Pe.className,st=Pe.showSearch,qt=Pe.tagRender,ln=Pe.direction,Oe=Pe.omitDomProps,ot=Pe.displayValues,wt=Pe.onDisplayValuesChange,Qt=Pe.emptyOptions,Xt=Pe.notFoundContent,Ye=Xt===void 0?"Not Found":Xt,ct=Pe.onClear,Nt=Pe.mode,Bt=Pe.disabled,Ht=Pe.loading,vt=Pe.getInputElement,an=Pe.getRawInputElement,sn=Pe.open,gn=Pe.defaultOpen,bn=Pe.onDropdownVisibleChange,In=Pe.activeValue,wn=Pe.onActiveValueChange,An=Pe.activeDescendantId,Fn=Pe.searchValue,Mn=Pe.autoClearSearchValue,rr=Pe.onSearch,Rn=Pe.onSearchSplit,jn=Pe.tokenSeparators,Yn=Pe.allowClear,er=Pe.prefix,qn=Pe.suffixIcon,Kn=Pe.clearIcon,Ln=Pe.OptionList,zn=Pe.animation,hr=Pe.transitionName,rn=Pe.dropdownStyle,nn=Pe.dropdownClassName,pn=Pe.dropdownMatchSelectWidth,or=Pe.dropdownRender,tr=Pe.dropdownAlign,ur=Pe.placement,lr=Pe.builtinPlacements,Un=Pe.getPopupContainer,fn=Pe.showAction,dn=fn===void 0?[]:fn,xn=Pe.onFocus,Gn=Pe.onBlur,Xn=Pe.onKeyUp,gr=Pe.onKeyDown,Er=Pe.onMouseDown,Zn=(0,g.Z)(Pe,Pt),Cr=kt(Nt),wr=(st!==void 0?st:Cr)||Nt==="combobox",Kr=(0,ce.Z)({},Zn);xt.forEach(function(Ti){delete Kr[Ti]}),Oe==null||Oe.forEach(function(Ti){delete Kr[Ti]});var Fr=y.useState(!1),Lr=(0,j.Z)(Fr,2),Sr=Lr[0],Zr=Lr[1];y.useEffect(function(){Zr((0,w.Z)())},[]);var _r=y.useRef(null),Xr=y.useRef(null),Ir=y.useRef(null),Or=y.useRef(null),Nr=y.useRef(null),on=y.useRef(!1),En=O(),br=(0,j.Z)(En,3),Dr=br[0],Qr=br[1],Ar=br[2];y.useImperativeHandle(Le,function(){var Ti,gi;return{focus:(Ti=Or.current)===null||Ti===void 0?void 0:Ti.focus,blur:(gi=Or.current)===null||gi===void 0?void 0:gi.blur,scrollTo:function(Oa){var Ui;return(Ui=Nr.current)===null||Ui===void 0?void 0:Ui.scrollTo(Oa)},nativeElement:_r.current||Xr.current}});var cr=y.useMemo(function(){var Ti;if(Nt!=="combobox")return Fn;var gi=(Ti=ot[0])===null||Ti===void 0?void 0:Ti.value;return typeof gi=="string"||typeof gi=="number"?String(gi):""},[Fn,Nt,ot]),hi=Nt==="combobox"&&typeof vt=="function"&&vt()||null,ar=typeof an=="function"&&an(),_i=(0,z.x1)(Xr,ar==null||(re=ar.props)===null||re===void 0?void 0:re.ref),Yi=y.useState(!1),$i=(0,j.Z)(Yi,2),Mi=$i[0],ki=$i[1];(0,C.Z)(function(){ki(!0)},[]);var Gr=(0,K.Z)(!1,{defaultValue:gn,value:sn}),Di=(0,j.Z)(Gr,2),ra=Di[0],Zi=Di[1],pi=Mi?ra:!1,Ni=!Ye&&Qt;(Bt||Ni&&pi&&Nt==="combobox")&&(pi=!1);var ji=Ni?!1:pi,zr=y.useCallback(function(Ti){var gi=Ti!==void 0?Ti:!pi;Bt||(Zi(gi),pi!==gi&&(bn==null||bn(gi)))},[Bt,pi,Zi,bn]),ri=y.useMemo(function(){return(jn||[]).some(function(Ti){return[`
|
|
|
`,`\r
|
|
|
`].includes(Ti)})},[jn]),vr=y.useContext(de)||{},yr=vr.maxCount,Mr=vr.rawValues,Vr=function(gi,Ta,Oa){if(!(Cr&&_e(yr)&&(Mr==null?void 0:Mr.size)>=yr)){var Ui=!0,Ea=gi;wn==null||wn(null);var ja=Xe(gi,jn,_e(yr)?yr-Mr.size:void 0),Ua=Oa?null:ja;return Nt!=="combobox"&&Ua&&(Ea="",Rn==null||Rn(Ua),zr(!1),Ui=!1),rr&&cr!==Ea&&rr(Ea,{source:Ta?"typing":"effect"}),Ui}},wi=function(gi){!gi||!gi.trim()||rr(gi,{source:"submit"})};y.useEffect(function(){!pi&&!Cr&&Nt!=="combobox"&&Vr("",!1,!1)},[pi]),y.useEffect(function(){ra&&Bt&&Zi(!1),Bt&&!on.current&&Qr(!1)},[Bt]);var xr=T(),Rr=(0,j.Z)(xr,2),kr=Rr[0],jr=Rr[1],ii=y.useRef(!1),ma=function(gi){var Ta=kr(),Oa=gi.key,Ui=Oa==="Enter";if(Ui&&(Nt!=="combobox"&&gi.preventDefault(),pi||zr(!0)),jr(!!cr),Oa==="Backspace"&&!Ta&&Cr&&!cr&&ot.length){for(var Ea=(0,U.Z)(ot),ja=null,Ua=Ea.length-1;Ua>=0;Ua-=1){var rs=Ea[Ua];if(!rs.disabled){Ea.splice(Ua,1),ja=rs;break}}ja&&wt(Ea,{type:"remove",values:[ja]})}for(var Pa=arguments.length,ss=new Array(Pa>1?Pa-1:0),Xa=1;Xa<Pa;Xa++)ss[Xa-1]=arguments[Xa];if(pi&&(!Ui||!ii.current)){var fs;Ui&&(ii.current=!0),(fs=Nr.current)===null||fs===void 0||fs.onKeyDown.apply(fs,[gi].concat(ss))}gr==null||gr.apply(void 0,[gi].concat(ss))},Xi=function(gi){for(var Ta=arguments.length,Oa=new Array(Ta>1?Ta-1:0),Ui=1;Ui<Ta;Ui++)Oa[Ui-1]=arguments[Ui];if(pi){var Ea;(Ea=Nr.current)===null||Ea===void 0||Ea.onKeyUp.apply(Ea,[gi].concat(Oa))}gi.key==="Enter"&&(ii.current=!1),Xn==null||Xn.apply(void 0,[gi].concat(Oa))},ua=function(gi){var Ta=ot.filter(function(Oa){return Oa!==gi});wt(Ta,{type:"remove",values:[gi]})},mi=function(){ii.current=!1},ai=y.useRef(!1),Ai=function(){Qr(!0),Bt||(xn&&!ai.current&&xn.apply(void 0,arguments),dn.includes("focus")&&zr(!0)),ai.current=!0},Li=function(){on.current=!0,Qr(!1,function(){ai.current=!1,on.current=!1,zr(!1)}),!Bt&&(cr&&(Nt==="tags"?rr(cr,{source:"submit"}):Nt==="multiple"&&rr("",{source:"blur"})),Gn&&Gn.apply(void 0,arguments))},ia=[];y.useEffect(function(){return function(){ia.forEach(function(Ti){return clearTimeout(Ti)}),ia.splice(0,ia.length)}},[]);var ya=function(gi){var Ta,Oa=gi.target,Ui=(Ta=Ir.current)===null||Ta===void 0?void 0:Ta.getPopupElement();if(Ui&&Ui.contains(Oa)){var Ea=setTimeout(function(){var Pa=ia.indexOf(Ea);if(Pa!==-1&&ia.splice(Pa,1),Ar(),!Sr&&!Ui.contains(document.activeElement)){var ss;(ss=Or.current)===null||ss===void 0||ss.focus()}});ia.push(Ea)}for(var ja=arguments.length,Ua=new Array(ja>1?ja-1:0),rs=1;rs<ja;rs++)Ua[rs-1]=arguments[rs];Er==null||Er.apply(void 0,[gi].concat(Ua))},Ca=y.useState({}),Da=(0,j.Z)(Ca,2),$a=Da[1];function Aa(){$a({})}var vs;ar&&(vs=function(gi){zr(gi)}),ue(function(){var Ti;return[_r.current,(Ti=Ir.current)===null||Ti===void 0?void 0:Ti.getPopupElement()]},ji,zr,!!ar);var ws=y.useMemo(function(){return(0,ce.Z)((0,ce.Z)({},Pe),{},{notFoundContent:Ye,open:pi,triggerOpen:ji,id:De,showSearch:wr,multiple:Cr,toggleOpen:zr})},[Pe,Ye,ji,pi,De,wr,Cr,zr]),Ds=!!qn||Ht,za;Ds&&(za=y.createElement(Y,{className:b()("".concat($e,"-arrow"),(0,L.Z)({},"".concat($e,"-arrow-loading"),Ht)),customizeIcon:qn,customizeIconProps:{loading:Ht,searchValue:cr,open:pi,focused:Dr,showSearch:wr}}));var Rs=function(){var gi;ct==null||ct(),(gi=Or.current)===null||gi===void 0||gi.focus(),wt([],{type:"clear",values:ot}),Vr("",!1,!1)},Za=$($e,Rs,ot,Yn,Kn,Bt,cr,Nt),Fs=Za.allowClear,zs=Za.clearIcon,$s=y.createElement(Ln,{ref:Nr}),Vs=b()($e,je,(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)({},"".concat($e,"-focused"),Dr),"".concat($e,"-multiple"),Cr),"".concat($e,"-single"),!Cr),"".concat($e,"-allow-clear"),Yn),"".concat($e,"-show-arrow"),Ds),"".concat($e,"-disabled"),Bt),"".concat($e,"-loading"),Ht),"".concat($e,"-open"),pi),"".concat($e,"-customize-input"),hi),"".concat($e,"-show-search"),wr)),ds=y.createElement(Ke,{ref:Ir,disabled:Bt,prefixCls:$e,visible:ji,popupElement:$s,animation:zn,transitionName:hr,dropdownStyle:rn,dropdownClassName:nn,direction:ln,dropdownMatchSelectWidth:pn,dropdownRender:or,dropdownAlign:tr,placement:ur,builtinPlacements:lr,getPopupContainer:Un,empty:Qt,getTriggerDOMNode:function(gi){return Xr.current||gi},onPopupVisibleChange:vs,onPopupMouseEnter:Aa},ar?y.cloneElement(ar,{ref:_i}):y.createElement(Je,(0,i.Z)({},Pe,{domRef:Xr,prefixCls:$e,inputElement:hi,ref:Or,id:De,prefix:er,showSearch:wr,autoClearSearchValue:Mn,mode:Nt,activeDescendantId:An,tagRender:qt,values:ot,open:pi,onToggleOpen:zr,activeValue:In,searchValue:cr,onSearch:Vr,onSearchSubmit:wi,onRemove:ua,tokenWithEnter:ri,onInputBlur:mi}))),Ya;return ar?Ya=ds:Ya=y.createElement("div",(0,i.Z)({className:Vs},Kr,{ref:_r,onMouseDown:ya,onKeyDown:ma,onKeyUp:Xi,onFocus:Ai,onBlur:Li}),y.createElement(xe,{visible:Dr&&!pi,values:ot}),ds,za,Fs&&zs),y.createElement(R.Provider,{value:ws},Ya)}),mt=Mt,Gt=function(){return null};Gt.isSelectOptGroup=!0;var Zt=Gt,Re=function(){return null};Re.isSelectOption=!0;var pt=Re,E=u(80547),D=u(2738),rt=u(48911);function te(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Ae=["disabled","title","children","style","className"];function tn(Pe){return typeof Pe=="string"||typeof Pe=="number"}var Ce=function(Le,re){var De=G(),$e=De.prefixCls,je=De.id,st=De.open,qt=De.multiple,ln=De.mode,Oe=De.searchValue,ot=De.toggleOpen,wt=De.notFoundContent,Qt=De.onPopupScroll,Xt=y.useContext(de),Ye=Xt.maxCount,ct=Xt.flattenOptions,Nt=Xt.onActiveValue,Bt=Xt.defaultActiveFirstOption,Ht=Xt.onSelect,vt=Xt.menuItemSelectedIcon,an=Xt.rawValues,sn=Xt.fieldNames,gn=Xt.virtual,bn=Xt.direction,In=Xt.listHeight,wn=Xt.listItemHeight,An=Xt.optionRender,Fn="".concat($e,"-item"),Mn=(0,E.Z)(function(){return ct},[st,ct],function(fn,dn){return dn[0]&&fn[1]!==dn[1]}),rr=y.useRef(null),Rn=y.useMemo(function(){return qt&&_e(Ye)&&(an==null?void 0:an.size)>=Ye},[qt,Ye,an==null?void 0:an.size]),jn=function(dn){dn.preventDefault()},Yn=function(dn){var xn;(xn=rr.current)===null||xn===void 0||xn.scrollTo(typeof dn=="number"?{index:dn}:dn)},er=y.useCallback(function(fn){return ln==="combobox"?!1:an.has(fn)},[ln,(0,U.Z)(an).toString(),an.size]),qn=function(dn){for(var xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Gn=Mn.length,Xn=0;Xn<Gn;Xn+=1){var gr=(dn+Xn*xn+Gn)%Gn,Er=Mn[gr]||{},Zn=Er.group,Cr=Er.data;if(!Zn&&!(Cr!=null&&Cr.disabled)&&(er(Cr.value)||!Rn))return gr}return-1},Kn=y.useState(function(){return qn(0)}),Ln=(0,j.Z)(Kn,2),zn=Ln[0],hr=Ln[1],rn=function(dn){var xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;hr(dn);var Gn={source:xn?"keyboard":"mouse"},Xn=Mn[dn];if(!Xn){Nt(null,-1,Gn);return}Nt(Xn.value,dn,Gn)};(0,y.useEffect)(function(){rn(Bt!==!1?qn(0):-1)},[Mn.length,Oe]);var nn=y.useCallback(function(fn){return ln==="combobox"?String(fn).toLowerCase()===Oe.toLowerCase():an.has(fn)},[ln,Oe,(0,U.Z)(an).toString(),an.size]);(0,y.useEffect)(function(){var fn=setTimeout(function(){if(!qt&&st&&an.size===1){var xn=Array.from(an)[0],Gn=Mn.findIndex(function(Xn){var gr=Xn.data;return Oe?String(gr.value).startsWith(Oe):gr.value===xn});Gn!==-1&&(rn(Gn),Yn(Gn))}});if(st){var dn;(dn=rr.current)===null||dn===void 0||dn.scrollTo(void 0)}return function(){return clearTimeout(fn)}},[st,Oe]);var pn=function(dn){dn!==void 0&&Ht(dn,{selected:!an.has(dn)}),qt||ot(!1)};if(y.useImperativeHandle(re,function(){return{onKeyDown:function(dn){var xn=dn.which,Gn=dn.ctrlKey;switch(xn){case be.Z.N:case be.Z.P:case be.Z.UP:case be.Z.DOWN:{var Xn=0;if(xn===be.Z.UP?Xn=-1:xn===be.Z.DOWN?Xn=1:te()&&Gn&&(xn===be.Z.N?Xn=1:xn===be.Z.P&&(Xn=-1)),Xn!==0){var gr=qn(zn+Xn,Xn);Yn(gr),rn(gr,!0)}break}case be.Z.TAB:case be.Z.ENTER:{var Er,Zn=Mn[zn];Zn&&!(Zn!=null&&(Er=Zn.data)!==null&&Er!==void 0&&Er.disabled)&&!Rn?pn(Zn.value):pn(void 0),st&&dn.preventDefault();break}case be.Z.ESC:ot(!1),st&&dn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(dn){Yn(dn)}}}),Mn.length===0)return y.createElement("div",{role:"listbox",id:"".concat(je,"_list"),className:"".concat(Fn,"-empty"),onMouseDown:jn},wt);var or=Object.keys(sn).map(function(fn){return sn[fn]}),tr=function(dn){return dn.label};function ur(fn,dn){var xn=fn.group;return{role:xn?"presentation":"option",id:"".concat(je,"_list_").concat(dn)}}var lr=function(dn){var xn=Mn[dn];if(!xn)return null;var Gn=xn.data||{},Xn=Gn.value,gr=xn.group,Er=(0,Ue.Z)(Gn,!0),Zn=tr(xn);return xn?y.createElement("div",(0,i.Z)({"aria-label":typeof Zn=="string"&&!gr?Zn:null},Er,{key:dn},ur(xn,dn),{"aria-selected":nn(Xn)}),Xn):null},Un={role:"listbox",id:"".concat(je,"_list")};return y.createElement(y.Fragment,null,gn&&y.createElement("div",(0,i.Z)({},Un,{style:{height:0,width:0,overflow:"hidden"}}),lr(zn-1),lr(zn),lr(zn+1)),y.createElement(rt.Z,{itemKey:"key",ref:rr,data:Mn,height:In,itemHeight:wn,fullHeight:!1,onMouseDown:jn,onScroll:Qt,virtual:gn,direction:bn,innerProps:gn?null:Un},function(fn,dn){var xn=fn.group,Gn=fn.groupOption,Xn=fn.data,gr=fn.label,Er=fn.value,Zn=Xn.key;if(xn){var Cr,wr=(Cr=Xn.title)!==null&&Cr!==void 0?Cr:tn(gr)?gr.toString():void 0;return y.createElement("div",{className:b()(Fn,"".concat(Fn,"-group"),Xn.className),title:wr},gr!==void 0?gr:Zn)}var Kr=Xn.disabled,Fr=Xn.title,Lr=Xn.children,Sr=Xn.style,Zr=Xn.className,_r=(0,g.Z)(Xn,Ae),Xr=(0,D.Z)(_r,or),Ir=er(Er),Or=Kr||!Ir&&Rn,Nr="".concat(Fn,"-option"),on=b()(Fn,Nr,Zr,(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)({},"".concat(Nr,"-grouped"),Gn),"".concat(Nr,"-active"),zn===dn&&!Or),"".concat(Nr,"-disabled"),Or),"".concat(Nr,"-selected"),Ir)),En=tr(fn),br=!vt||typeof vt=="function"||Ir,Dr=typeof En=="number"?En:En||Er,Qr=tn(Dr)?Dr.toString():void 0;return Fr!==void 0&&(Qr=Fr),y.createElement("div",(0,i.Z)({},(0,Ue.Z)(Xr),gn?{}:ur(fn,dn),{"aria-selected":nn(Er),className:on,title:Qr,onMouseMove:function(){zn===dn||Or||rn(dn)},onClick:function(){Or||pn(Er)},style:Sr}),y.createElement("div",{className:"".concat(Nr,"-content")},typeof An=="function"?An(fn,{index:dn}):Dr),y.isValidElement(vt)||Ir,br&&y.createElement(Y,{className:"".concat(Fn,"-option-state"),customizeIcon:vt,customizeIconProps:{value:Er,disabled:Or,isSelected:Ir}},Ir?"\u2713":null))}))},Ve=y.forwardRef(Ce),ut=Ve,ye=function(Pe,Le){var re=y.useRef({values:new Map,options:new Map}),De=y.useMemo(function(){var je=re.current,st=je.values,qt=je.options,ln=Pe.map(function(wt){if(wt.label===void 0){var Qt;return(0,ce.Z)((0,ce.Z)({},wt),{},{label:(Qt=st.get(wt.value))===null||Qt===void 0?void 0:Qt.label})}return wt}),Oe=new Map,ot=new Map;return ln.forEach(function(wt){Oe.set(wt.value,wt),ot.set(wt.value,Le.get(wt.value)||qt.get(wt.value))}),re.current.values=Oe,re.current.options=ot,ln},[Pe,Le]),$e=y.useCallback(function(je){return Le.get(je)||re.current.options.get(je)},[Le]);return[De,$e]};function we(Pe,Le){return ie(Pe).join("").toUpperCase().includes(Le)}var tt=function(Pe,Le,re,De,$e){return y.useMemo(function(){if(!re||De===!1)return Pe;var je=Le.options,st=Le.label,qt=Le.value,ln=[],Oe=typeof De=="function",ot=re.toUpperCase(),wt=Oe?De:function(Xt,Ye){return $e?we(Ye[$e],ot):Ye[je]?we(Ye[st!=="children"?st:"label"],ot):we(Ye[qt],ot)},Qt=Oe?function(Xt){return Fe(Xt)}:function(Xt){return Xt};return Pe.forEach(function(Xt){if(Xt[je]){var Ye=wt(re,Qt(Xt));if(Ye)ln.push(Xt);else{var ct=Xt[je].filter(function(Nt){return wt(re,Qt(Nt))});ct.length&&ln.push((0,ce.Z)((0,ce.Z)({},Xt),{},(0,L.Z)({},je,ct)))}return}wt(re,Qt(Xt))&&ln.push(Xt)}),ln},[Pe,De,$e,re,Le])},et=u(6551),X=u(11592),St=["children","value"],Se=["children"];function Wt(Pe){var Le=Pe,re=Le.key,De=Le.props,$e=De.children,je=De.value,st=(0,g.Z)(De,St);return(0,ce.Z)({key:re,value:je!==void 0?je:re,children:$e},st)}function Kt(Pe){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,X.Z)(Pe).map(function(re,De){if(!y.isValidElement(re)||!re.type)return null;var $e=re,je=$e.type.isSelectOptGroup,st=$e.key,qt=$e.props,ln=qt.children,Oe=(0,g.Z)(qt,Se);return Le||!je?Wt(re):(0,ce.Z)((0,ce.Z)({key:"__RC_SELECT_GRP__".concat(st===null?De:st,"__"),label:st},Oe),{},{options:Kt(ln)})}).filter(function(re){return re})}var Rt=function(Le,re,De,$e,je){return y.useMemo(function(){var st=Le,qt=!Le;qt&&(st=Kt(re));var ln=new Map,Oe=new Map,ot=function(Xt,Ye,ct){ct&&typeof ct=="string"&&Xt.set(Ye[ct],Ye)},wt=function Qt(Xt){for(var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ct=0;ct<Xt.length;ct+=1){var Nt=Xt[ct];!Nt[De.options]||Ye?(ln.set(Nt[De.value],Nt),ot(Oe,Nt,De.label),ot(Oe,Nt,$e),ot(Oe,Nt,je)):Qt(Nt[De.options],!0)}};return wt(st),{options:st,valueOptions:ln,labelOptions:Oe}},[Le,re,De,$e,je])},le=Rt;function ae(Pe){var Le=y.useRef();Le.current=Pe;var re=y.useCallback(function(){return Le.current.apply(Le,arguments)},[]);return re}function N(Pe){var Le=Pe.mode,re=Pe.options,De=Pe.children,$e=Pe.backfill,je=Pe.allowClear,st=Pe.placeholder,qt=Pe.getInputElement,ln=Pe.showSearch,Oe=Pe.onSearch,ot=Pe.defaultOpen,wt=Pe.autoFocus,Qt=Pe.labelInValue,Xt=Pe.value,Ye=Pe.inputValue,ct=Pe.optionLabelProp,Nt=isMultiple(Le),Bt=ln!==void 0?ln:Nt||Le==="combobox",Ht=re||convertChildrenToData(De);if(warning(Le!=="tags"||Ht.every(function(gn){return!gn.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Le==="tags"||Le==="combobox"){var vt=Ht.some(function(gn){return gn.options?gn.options.some(function(bn){return typeof("value"in bn?bn.value:bn.key)=="number"}):typeof("value"in gn?gn.value:gn.key)=="number"});warning(!vt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Le!=="combobox"||!ct,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Le==="combobox"||!$e,"`backfill` only works with `combobox` mode."),warning(Le==="combobox"||!qt,"`getInputElement` only work with `combobox` mode."),noteOnce(Le!=="combobox"||!qt||!je||!st,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Oe&&!Bt&&Le!=="combobox"&&Le!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!ot||wt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Xt!=null){var an=toArray(Xt);warning(!Qt||an.every(function(gn){return _typeof(gn)==="object"&&("key"in gn||"value"in gn)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Nt||Array.isArray(Xt),"`value` should be array when `mode` is `multiple` or `tags`")}if(De){var sn=null;toNodeArray(De).some(function(gn){if(!React.isValidElement(gn)||!gn.type)return!1;var bn=gn,In=bn.type;if(In.isSelectOption)return!1;if(In.isSelectOptGroup){var wn=toNodeArray(gn.props.children).every(function(An){return!React.isValidElement(An)||!gn.type||An.type.isSelectOption?!0:(sn=An.type,!1)});return!wn}return sn=In,!0}),sn&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(sn.displayName||sn.name||sn,"`.")),warning(Ye===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function _t(Pe,Le){if(Pe){var re=function De($e){for(var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,st=0;st<$e.length;st++){var qt=$e[st];if(qt[Le==null?void 0:Le.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!je&&Array.isArray(qt[Le==null?void 0:Le.options])&&De(qt[Le==null?void 0:Le.options],!0))break}};re(Pe)}}var dt=null,nt=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Ft=["inputValue"];function Ot(Pe){return!Pe||(0,V.Z)(Pe)!=="object"}var zt=y.forwardRef(function(Pe,Le){var re=Pe.id,De=Pe.mode,$e=Pe.prefixCls,je=$e===void 0?"rc-select":$e,st=Pe.backfill,qt=Pe.fieldNames,ln=Pe.inputValue,Oe=Pe.searchValue,ot=Pe.onSearch,wt=Pe.autoClearSearchValue,Qt=wt===void 0?!0:wt,Xt=Pe.onSelect,Ye=Pe.onDeselect,ct=Pe.dropdownMatchSelectWidth,Nt=ct===void 0?!0:ct,Bt=Pe.filterOption,Ht=Pe.filterSort,vt=Pe.optionFilterProp,an=Pe.optionLabelProp,sn=Pe.options,gn=Pe.optionRender,bn=Pe.children,In=Pe.defaultActiveFirstOption,wn=Pe.menuItemSelectedIcon,An=Pe.virtual,Fn=Pe.direction,Mn=Pe.listHeight,rr=Mn===void 0?200:Mn,Rn=Pe.listItemHeight,jn=Rn===void 0?20:Rn,Yn=Pe.labelRender,er=Pe.value,qn=Pe.defaultValue,Kn=Pe.labelInValue,Ln=Pe.onChange,zn=Pe.maxCount,hr=(0,g.Z)(Pe,nt),rn=(0,et.ZP)(re),nn=kt(De),pn=!!(!sn&&bn),or=y.useMemo(function(){return Bt===void 0&&De==="combobox"?!1:Bt},[Bt,De]),tr=y.useMemo(function(){return me(qt,pn)},[JSON.stringify(qt),pn]),ur=(0,K.Z)("",{value:Oe!==void 0?Oe:ln,postState:function(ri){return ri||""}}),lr=(0,j.Z)(ur,2),Un=lr[0],fn=lr[1],dn=le(sn,bn,tr,vt,an),xn=dn.valueOptions,Gn=dn.labelOptions,Xn=dn.options,gr=y.useCallback(function(zr){var ri=ie(zr);return ri.map(function(vr){var yr,Mr,Vr,wi,xr;if(Ot(vr))yr=vr;else{var Rr;Vr=vr.key,Mr=vr.label,yr=(Rr=vr.value)!==null&&Rr!==void 0?Rr:Vr}var kr=xn.get(yr);if(kr){var jr;if(Mr===void 0&&(Mr=kr==null?void 0:kr[an||tr.label]),Vr===void 0&&(Vr=(jr=kr==null?void 0:kr.key)!==null&&jr!==void 0?jr:yr),wi=kr==null?void 0:kr.disabled,xr=kr==null?void 0:kr.title,0)var ii}return{label:Mr,value:yr,key:Vr,disabled:wi,title:xr}})},[tr,an,xn]),Er=(0,K.Z)(qn,{value:er}),Zn=(0,j.Z)(Er,2),Cr=Zn[0],wr=Zn[1],Kr=y.useMemo(function(){var zr,ri=nn&&Cr===null?[]:Cr,vr=gr(ri);return De==="combobox"&&fe((zr=vr[0])===null||zr===void 0?void 0:zr.value)?[]:vr},[Cr,gr,De,nn]),Fr=ye(Kr,xn),Lr=(0,j.Z)(Fr,2),Sr=Lr[0],Zr=Lr[1],_r=y.useMemo(function(){if(!De&&Sr.length===1){var zr=Sr[0];if(zr.value===null&&(zr.label===null||zr.label===void 0))return[]}return Sr.map(function(ri){var vr;return(0,ce.Z)((0,ce.Z)({},ri),{},{label:(vr=typeof Yn=="function"?Yn(ri):ri.label)!==null&&vr!==void 0?vr:ri.value})})},[De,Sr,Yn]),Xr=y.useMemo(function(){return new Set(Sr.map(function(zr){return zr.value}))},[Sr]);y.useEffect(function(){if(De==="combobox"){var zr,ri=(zr=Sr[0])===null||zr===void 0?void 0:zr.value;fn(A(ri)?String(ri):"")}},[Sr]);var Ir=ae(function(zr,ri){var vr=ri!=null?ri:zr;return(0,L.Z)((0,L.Z)({},tr.value,zr),tr.label,vr)}),Or=y.useMemo(function(){if(De!=="tags")return Xn;var zr=(0,U.Z)(Xn),ri=function(yr){return xn.has(yr)};return(0,U.Z)(Sr).sort(function(vr,yr){return vr.value<yr.value?-1:1}).forEach(function(vr){var yr=vr.value;ri(yr)||zr.push(Ir(yr,vr.label))}),zr},[Ir,Xn,xn,Sr,De]),Nr=tt(Or,tr,Un,or,vt),on=y.useMemo(function(){return De!=="tags"||!Un||Nr.some(function(zr){return zr[vt||"value"]===Un})||Nr.some(function(zr){return zr[tr.value]===Un})?Nr:[Ir(Un)].concat((0,U.Z)(Nr))},[Ir,vt,De,Nr,Un,tr]),En=function zr(ri){var vr=(0,U.Z)(ri).sort(function(yr,Mr){return Ht(yr,Mr,{searchValue:Un})});return vr.map(function(yr){return Array.isArray(yr.options)?(0,ce.Z)((0,ce.Z)({},yr),{},{options:yr.options.length>0?zr(yr.options):yr.options}):yr})},br=y.useMemo(function(){return Ht?En(on):on},[on,Ht,Un]),Dr=y.useMemo(function(){return Te(br,{fieldNames:tr,childrenAsData:pn})},[br,tr,pn]),Qr=function(ri){var vr=gr(ri);if(wr(vr),Ln&&(vr.length!==Sr.length||vr.some(function(Vr,wi){var xr;return((xr=Sr[wi])===null||xr===void 0?void 0:xr.value)!==(Vr==null?void 0:Vr.value)}))){var yr=Kn?vr:vr.map(function(Vr){return Vr.value}),Mr=vr.map(function(Vr){return Fe(Zr(Vr.value))});Ln(nn?yr:yr[0],nn?Mr:Mr[0])}},Ar=y.useState(null),cr=(0,j.Z)(Ar,2),hi=cr[0],ar=cr[1],_i=y.useState(0),Yi=(0,j.Z)(_i,2),$i=Yi[0],Mi=Yi[1],ki=In!==void 0?In:De!=="combobox",Gr=y.useCallback(function(zr,ri){var vr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},yr=vr.source,Mr=yr===void 0?"keyboard":yr;Mi(ri),st&&De==="combobox"&&zr!==null&&Mr==="keyboard"&&ar(String(zr))},[st,De]),Di=function(ri,vr,yr){var Mr=function(){var ua,mi=Zr(ri);return[Kn?{label:mi==null?void 0:mi[tr.label],value:ri,key:(ua=mi==null?void 0:mi.key)!==null&&ua!==void 0?ua:ri}:ri,Fe(mi)]};if(vr&&Xt){var Vr=Mr(),wi=(0,j.Z)(Vr,2),xr=wi[0],Rr=wi[1];Xt(xr,Rr)}else if(!vr&&Ye&&yr!=="clear"){var kr=Mr(),jr=(0,j.Z)(kr,2),ii=jr[0],ma=jr[1];Ye(ii,ma)}},ra=ae(function(zr,ri){var vr,yr=nn?ri.selected:!0;yr?vr=nn?[].concat((0,U.Z)(Sr),[zr]):[zr]:vr=Sr.filter(function(Mr){return Mr.value!==zr}),Qr(vr),Di(zr,yr),De==="combobox"?ar(""):(!kt||Qt)&&(fn(""),ar(""))}),Zi=function(ri,vr){Qr(ri);var yr=vr.type,Mr=vr.values;(yr==="remove"||yr==="clear")&&Mr.forEach(function(Vr){Di(Vr.value,!1,yr)})},pi=function(ri,vr){if(fn(ri),ar(null),vr.source==="submit"){var yr=(ri||"").trim();if(yr){var Mr=Array.from(new Set([].concat((0,U.Z)(Xr),[yr])));Qr(Mr),Di(yr,!0),fn("")}return}vr.source!=="blur"&&(De==="combobox"&&Qr(ri),ot==null||ot(ri))},Ni=function(ri){var vr=ri;De!=="tags"&&(vr=ri.map(function(Mr){var Vr=Gn.get(Mr);return Vr==null?void 0:Vr.value}).filter(function(Mr){return Mr!==void 0}));var yr=Array.from(new Set([].concat((0,U.Z)(Xr),(0,U.Z)(vr))));Qr(yr),yr.forEach(function(Mr){Di(Mr,!0)})},ji=y.useMemo(function(){var zr=An!==!1&&Nt!==!1;return(0,ce.Z)((0,ce.Z)({},dn),{},{flattenOptions:Dr,onActiveValue:Gr,defaultActiveFirstOption:ki,onSelect:ra,menuItemSelectedIcon:wn,rawValues:Xr,fieldNames:tr,virtual:zr,direction:Fn,listHeight:rr,listItemHeight:jn,childrenAsData:pn,maxCount:zn,optionRender:gn})},[zn,dn,Dr,Gr,ki,ra,wn,Xr,tr,An,Nt,Fn,rr,jn,pn,gn]);return y.createElement(de.Provider,{value:ji},y.createElement(mt,(0,i.Z)({},hr,{id:rn,prefixCls:je,ref:Le,omitDomProps:Ft,mode:De,displayValues:_r,onDisplayValuesChange:Zi,direction:Fn,searchValue:Un,onSearch:pi,autoClearSearchValue:Qt,onSearchSplit:Ni,dropdownMatchSelectWidth:Nt,OptionList:ut,emptyOptions:!Dr.length,activeValue:hi,activeDescendantId:"".concat(rn,"_list_").concat($i)})))}),J=zt;J.Option=pt,J.OptGroup=Zt;var pe=J,It=pe},22711:function(Pn,Lt,u){"use strict";u.r(Lt),u.d(Lt,{ResizableTextArea:function(){return Ze},default:function(){return oe}});var i=u(54476),U=u(20068),L=u(33885),ce=u(94480),j=u(42978),g=u(75931),V=u(92310),K=u.n(V),l=u(36901),y=u(66003),P=u(30292),b=u(18929),C=u(59301),w=u(76190),z=u(29301),W=u(34280),Y=u(16089),$=`
|
|
|
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;
|
|
|
`,R=["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"],G={},O;function T(ie){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=ie.getAttribute("id")||ie.getAttribute("data-reactid")||ie.getAttribute("name");if(Ee&&G[_])return G[_];var A=window.getComputedStyle(ie),fe=A.getPropertyValue("box-sizing")||A.getPropertyValue("-moz-box-sizing")||A.getPropertyValue("-webkit-box-sizing"),Be=parseFloat(A.getPropertyValue("padding-bottom"))+parseFloat(A.getPropertyValue("padding-top")),ft=parseFloat(A.getPropertyValue("border-bottom-width"))+parseFloat(A.getPropertyValue("border-top-width")),At=R.map(function(it){return"".concat(it,":").concat(A.getPropertyValue(it))}).join(";"),Ie={sizingStyle:At,paddingSize:Be,borderSize:ft,boxSizing:fe};return Ee&&_&&(G[_]=Ie),Ie}function ue(ie){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;O||(O=document.createElement("textarea"),O.setAttribute("tab-index","-1"),O.setAttribute("aria-hidden","true"),O.setAttribute("name","hiddenTextarea"),document.body.appendChild(O)),ie.getAttribute("wrap")?O.setAttribute("wrap",ie.getAttribute("wrap")):O.removeAttribute("wrap");var fe=T(ie,Ee),Be=fe.paddingSize,ft=fe.borderSize,At=fe.boxSizing,Ie=fe.sizingStyle;O.setAttribute("style","".concat(Ie,";").concat($)),O.value=ie.value||ie.placeholder||"";var it=void 0,ht=void 0,Tt,ze=O.scrollHeight;if(At==="border-box"?ze+=ft:At==="content-box"&&(ze-=Be),_!==null||A!==null){O.value=" ";var Jt=O.scrollHeight-Be;_!==null&&(it=Jt*_,At==="border-box"&&(it=it+Be+ft),ze=Math.max(it,ze)),A!==null&&(ht=Jt*A,At==="border-box"&&(ht=ht+Be+ft),Tt=ze>ht?"":"hidden",ze=Math.min(ht,ze))}var yt={height:ze,overflowY:Tt,resize:"none"};return it&&(yt.minHeight=it),ht&&(yt.maxHeight=ht),yt}var be=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],he=0,Ue=1,Qe=2,ke=C.forwardRef(function(ie,Ee){var _=ie,A=_.prefixCls,fe=_.defaultValue,Be=_.value,ft=_.autoSize,At=_.onResize,Ie=_.className,it=_.style,ht=_.disabled,Tt=_.onChange,ze=_.onInternalAutoSize,Jt=(0,g.Z)(_,be),yt=(0,b.Z)(fe,{value:Be,postState:function(pt){return pt!=null?pt:""}}),cn=(0,j.Z)(yt,2),Je=cn[0],bt=cn[1],Ge=function(pt){bt(pt.target.value),Tt==null||Tt(pt)},Ne=C.useRef();C.useImperativeHandle(Ee,function(){return{textArea:Ne.current}});var ne=C.useMemo(function(){return ft&&(0,w.Z)(ft)==="object"?[ft.minRows,ft.maxRows]:[]},[ft]),lt=(0,j.Z)(ne,2),Ke=lt[0],H=lt[1],M=!!ft,_e=function(){try{if(document.activeElement===Ne.current){var pt=Ne.current,E=pt.selectionStart,D=pt.selectionEnd,rt=pt.scrollTop;Ne.current.setSelectionRange(E,D),Ne.current.scrollTop=rt}}catch(te){}},me=C.useState(Qe),Te=(0,j.Z)(me,2),Fe=Te[0],Xe=Te[1],gt=C.useState(),de=(0,j.Z)(gt,2),xe=de[0],Pt=de[1],xt=function(){Xe(he)};(0,W.Z)(function(){M&&xt()},[Be,Ke,H,M]),(0,W.Z)(function(){if(Fe===he)Xe(Ue);else if(Fe===Ue){var Re=ue(Ne.current,!1,Ke,H);Xe(Qe),Pt(Re)}else _e()},[Fe]);var kt=C.useRef(),Mt=function(){Y.Z.cancel(kt.current)},mt=function(pt){Fe===Qe&&(At==null||At(pt),ft&&(Mt(),kt.current=(0,Y.Z)(function(){xt()})))};C.useEffect(function(){return Mt},[]);var Gt=M?xe:null,Zt=(0,L.Z)((0,L.Z)({},it),Gt);return(Fe===he||Fe===Ue)&&(Zt.overflowY="hidden",Zt.overflowX="hidden"),C.createElement(z.Z,{onResize:mt,disabled:!(ft||At)},C.createElement("textarea",(0,i.Z)({},Jt,{ref:Ne,style:Zt,className:K()(A,Ie,(0,U.Z)({},"".concat(A,"-disabled"),ht)),disabled:ht,value:Je,onChange:Ge})))}),Ze=ke,se=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],k=C.forwardRef(function(ie,Ee){var _,A=ie.defaultValue,fe=ie.value,Be=ie.onFocus,ft=ie.onBlur,At=ie.onChange,Ie=ie.allowClear,it=ie.maxLength,ht=ie.onCompositionStart,Tt=ie.onCompositionEnd,ze=ie.suffix,Jt=ie.prefixCls,yt=Jt===void 0?"rc-textarea":Jt,cn=ie.showCount,Je=ie.count,bt=ie.className,Ge=ie.style,Ne=ie.disabled,ne=ie.hidden,lt=ie.classNames,Ke=ie.styles,H=ie.onResize,M=ie.onClear,_e=ie.onPressEnter,me=ie.readOnly,Te=ie.autoSize,Fe=ie.onKeyDown,Xe=(0,g.Z)(ie,se),gt=(0,b.Z)(A,{value:fe,defaultValue:A}),de=(0,j.Z)(gt,2),xe=de[0],Pt=de[1],xt=xe==null?"":String(xe),kt=C.useState(!1),Mt=(0,j.Z)(kt,2),mt=Mt[0],Gt=Mt[1],Zt=C.useRef(!1),Re=C.useState(null),pt=(0,j.Z)(Re,2),E=pt[0],D=pt[1],rt=(0,C.useRef)(null),te=(0,C.useRef)(null),Ae=function(){var J;return(J=te.current)===null||J===void 0?void 0:J.textArea},tn=function(){Ae().focus()};(0,C.useImperativeHandle)(Ee,function(){var zt;return{resizableTextArea:te.current,focus:tn,blur:function(){Ae().blur()},nativeElement:((zt=rt.current)===null||zt===void 0?void 0:zt.nativeElement)||Ae()}}),(0,C.useEffect)(function(){Gt(function(zt){return!Ne&&zt})},[Ne]);var Ce=C.useState(null),Ve=(0,j.Z)(Ce,2),ut=Ve[0],ye=Ve[1];C.useEffect(function(){if(ut){var zt;(zt=Ae()).setSelectionRange.apply(zt,(0,ce.Z)(ut))}},[ut]);var we=(0,y.Z)(Je,cn),tt=(_=we.max)!==null&&_!==void 0?_:it,et=Number(tt)>0,X=we.strategy(xt),St=!!tt&&X>tt,Se=function(J,pe){var It=pe;!Zt.current&&we.exceedFormatter&&we.max&&we.strategy(pe)>we.max&&(It=we.exceedFormatter(pe,{max:we.max}),pe!==It&&ye([Ae().selectionStart||0,Ae().selectionEnd||0])),Pt(It),(0,P.rJ)(J.currentTarget,J,At,It)},Wt=function(J){Zt.current=!0,ht==null||ht(J)},Kt=function(J){Zt.current=!1,Se(J,J.currentTarget.value),Tt==null||Tt(J)},Rt=function(J){Se(J,J.target.value)},le=function(J){J.key==="Enter"&&_e&&_e(J),Fe==null||Fe(J)},ae=function(J){Gt(!0),Be==null||Be(J)},N=function(J){Gt(!1),ft==null||ft(J)},_t=function(J){Pt(""),tn(),(0,P.rJ)(Ae(),J,At)},dt=ze,nt;we.show&&(we.showFormatter?nt=we.showFormatter({value:xt,count:X,maxLength:tt}):nt="".concat(X).concat(et?" / ".concat(tt):""),dt=C.createElement(C.Fragment,null,dt,C.createElement("span",{className:K()("".concat(yt,"-data-count"),lt==null?void 0:lt.count),style:Ke==null?void 0:Ke.count},nt)));var Ft=function(J){var pe;H==null||H(J),(pe=Ae())!==null&&pe!==void 0&&pe.style.height&&D(!0)},Ot=!Te&&!cn&&!Ie;return C.createElement(l.BaseInput,{ref:rt,value:xt,allowClear:Ie,handleReset:_t,suffix:dt,prefixCls:yt,classNames:(0,L.Z)((0,L.Z)({},lt),{},{affixWrapper:K()(lt==null?void 0:lt.affixWrapper,(0,U.Z)((0,U.Z)({},"".concat(yt,"-show-count"),cn),"".concat(yt,"-textarea-allow-clear"),Ie))}),disabled:Ne,focused:mt,className:K()(bt,St&&"".concat(yt,"-out-of-range")),style:(0,L.Z)((0,L.Z)({},Ge),E&&!Ot?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof nt=="string"?nt:void 0}},hidden:ne,readOnly:me,onClear:M},C.createElement(Ze,(0,i.Z)({},Xe,{autoSize:Te,maxLength:it,onKeyDown:le,onChange:Rt,onFocus:ae,onBlur:N,onCompositionStart:Wt,onCompositionEnd:Kt,className:K()(lt==null?void 0:lt.textarea),style:(0,L.Z)((0,L.Z)({},Ke==null?void 0:Ke.textarea),{},{resize:Ge==null?void 0:Ge.resize}),disabled:Ne,prefixCls:yt,onResize:Ft,ref:te,readOnly:me})))}),I=k,oe=I},29125:function(Pn,Lt,u){"use strict";u.d(Lt,{G:function(){return ce},Z:function(){return $}});var i=u(92310),U=u.n(i),L=u(59301);function ce(R){var G=R.children,O=R.prefixCls,T=R.id,ue=R.overlayInnerStyle,be=R.bodyClassName,he=R.className,Ue=R.style;return L.createElement("div",{className:U()("".concat(O,"-content"),he),style:Ue},L.createElement("div",{className:U()("".concat(O,"-inner"),be),id:T,role:"tooltip",style:ue},typeof G=="function"?G():G))}var j=u(54476),g=u(33885),V=u(75931),K=u(65030),l={shiftX:64,adjustY:1},y={adjustX:1,shiftY:!0},P=[0,0],b={left:{points:["cr","cl"],overflow:y,offset:[-4,0],targetOffset:P},right:{points:["cl","cr"],overflow:y,offset:[4,0],targetOffset:P},top:{points:["bc","tc"],overflow:l,offset:[0,-4],targetOffset:P},bottom:{points:["tc","bc"],overflow:l,offset:[0,4],targetOffset:P},topLeft:{points:["bl","tl"],overflow:l,offset:[0,-4],targetOffset:P},leftTop:{points:["tr","tl"],overflow:y,offset:[-4,0],targetOffset:P},topRight:{points:["br","tr"],overflow:l,offset:[0,-4],targetOffset:P},rightTop:{points:["tl","tr"],overflow:y,offset:[4,0],targetOffset:P},bottomRight:{points:["tr","br"],overflow:l,offset:[0,4],targetOffset:P},rightBottom:{points:["bl","br"],overflow:y,offset:[4,0],targetOffset:P},bottomLeft:{points:["tl","bl"],overflow:l,offset:[0,4],targetOffset:P},leftBottom:{points:["br","bl"],overflow:y,offset:[-4,0],targetOffset:P}},C=null,w=u(80402),z=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],W=function(G,O){var T=G.overlayClassName,ue=G.trigger,be=ue===void 0?["hover"]:ue,he=G.mouseEnterDelay,Ue=he===void 0?0:he,Qe=G.mouseLeaveDelay,ke=Qe===void 0?.1:Qe,Ze=G.overlayStyle,se=G.prefixCls,k=se===void 0?"rc-tooltip":se,I=G.children,oe=G.onVisibleChange,ie=G.afterVisibleChange,Ee=G.transitionName,_=G.animation,A=G.motion,fe=G.placement,Be=fe===void 0?"right":fe,ft=G.align,At=ft===void 0?{}:ft,Ie=G.destroyTooltipOnHide,it=Ie===void 0?!1:Ie,ht=G.defaultVisible,Tt=G.getTooltipContainer,ze=G.overlayInnerStyle,Jt=G.arrowContent,yt=G.overlay,cn=G.id,Je=G.showArrow,bt=Je===void 0?!0:Je,Ge=G.classNames,Ne=G.styles,ne=(0,V.Z)(G,z),lt=(0,w.Z)(cn),Ke=(0,L.useRef)(null);(0,L.useImperativeHandle)(O,function(){return Ke.current});var H=(0,g.Z)({},ne);"visible"in G&&(H.popupVisible=G.visible);var M=function(){return L.createElement(ce,{key:"content",prefixCls:k,id:lt,bodyClassName:Ge==null?void 0:Ge.body,overlayInnerStyle:(0,g.Z)((0,g.Z)({},ze),Ne==null?void 0:Ne.body)},yt)},_e=function(){var Te=L.Children.only(I),Fe=(Te==null?void 0:Te.props)||{},Xe=(0,g.Z)((0,g.Z)({},Fe),{},{"aria-describedby":yt?lt:null});return L.cloneElement(I,Xe)};return L.createElement(K.Z,(0,j.Z)({popupClassName:U()(T,Ge==null?void 0:Ge.root),prefixCls:k,popup:M,action:be,builtinPlacements:b,popupPlacement:Be,ref:Ke,popupAlign:At,getPopupContainer:Tt,onPopupVisibleChange:oe,afterPopupVisibleChange:ie,popupTransitionName:Ee,popupAnimation:_,popupMotion:A,defaultPopupVisible:ht,autoDestroy:it,mouseLeaveDelay:ke,popupStyle:(0,g.Z)((0,g.Z)({},Ze),Ne==null?void 0:Ne.root),mouseEnterDelay:Ue,arrow:bt},H),_e())},Y=(0,L.forwardRef)(W),$=Y},639:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return G}});var i=u(54476),U=u(20068),L=u(33885),ce=u(42978),j=u(75931),g=u(59301),V=u(92310),K=u.n(V),l=u(26112),y=u(30699),P=function(T){for(var ue=T.prefixCls,be=T.level,he=T.isStart,Ue=T.isEnd,Qe="".concat(ue,"-indent-unit"),ke=[],Ze=0;Ze<be;Ze+=1)ke.push(g.createElement("span",{key:Ze,className:K()(Qe,(0,U.Z)((0,U.Z)({},"".concat(Qe,"-start"),he[Ze]),"".concat(Qe,"-end"),Ue[Ze]))}));return g.createElement("span",{"aria-hidden":"true",className:"".concat(ue,"-indent")},ke)},b=g.memo(P),C=u(65065),w=u(34061),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],W="open",Y="close",$="---",R=function(T){var ue,be,he,Ue=T.eventKey,Qe=T.className,ke=T.style,Ze=T.dragOver,se=T.dragOverGapTop,k=T.dragOverGapBottom,I=T.isLeaf,oe=T.isStart,ie=T.isEnd,Ee=T.expanded,_=T.selected,A=T.checked,fe=T.halfChecked,Be=T.loading,ft=T.domRef,At=T.active,Ie=T.data,it=T.onMouseMove,ht=T.selectable,Tt=(0,j.Z)(T,z),ze=g.useContext(y.k),Jt=g.useContext(y.y),yt=g.useRef(null),cn=g.useState(!1),Je=(0,ce.Z)(cn,2),bt=Je[0],Ge=Je[1],Ne=!!(ze.disabled||T.disabled||(ue=Jt.nodeDisabled)!==null&&ue!==void 0&&ue.call(Jt,Ie)),ne=g.useMemo(function(){return!ze.checkable||T.checkable===!1?!1:ze.checkable},[ze.checkable,T.checkable]),lt=function(X){Ne||ze.onNodeSelect(X,(0,w.F)(T))},Ke=function(X){Ne||!ne||T.disableCheckbox||ze.onNodeCheck(X,(0,w.F)(T),!A)},H=g.useMemo(function(){return typeof ht=="boolean"?ht:ze.selectable},[ht,ze.selectable]),M=function(X){ze.onNodeClick(X,(0,w.F)(T)),H?lt(X):Ke(X)},_e=function(X){ze.onNodeDoubleClick(X,(0,w.F)(T))},me=function(X){ze.onNodeMouseEnter(X,(0,w.F)(T))},Te=function(X){ze.onNodeMouseLeave(X,(0,w.F)(T))},Fe=function(X){ze.onNodeContextMenu(X,(0,w.F)(T))},Xe=g.useMemo(function(){return!!(ze.draggable&&(!ze.draggable.nodeDraggable||ze.draggable.nodeDraggable(Ie)))},[ze.draggable,Ie]),gt=function(X){X.stopPropagation(),Ge(!0),ze.onNodeDragStart(X,T);try{X.dataTransfer.setData("text/plain","")}catch(St){}},de=function(X){X.preventDefault(),X.stopPropagation(),ze.onNodeDragEnter(X,T)},xe=function(X){X.preventDefault(),X.stopPropagation(),ze.onNodeDragOver(X,T)},Pt=function(X){X.stopPropagation(),ze.onNodeDragLeave(X,T)},xt=function(X){X.stopPropagation(),Ge(!1),ze.onNodeDragEnd(X,T)},kt=function(X){X.preventDefault(),X.stopPropagation(),Ge(!1),ze.onNodeDrop(X,T)},Mt=function(X){Be||ze.onNodeExpand(X,(0,w.F)(T))},mt=g.useMemo(function(){var et=(0,C.Z)(ze.keyEntities,Ue)||{},X=et.children;return!!(X||[]).length},[ze.keyEntities,Ue]),Gt=g.useMemo(function(){return I===!1?!1:I||!ze.loadData&&!mt||ze.loadData&&T.loaded&&!mt},[I,ze.loadData,mt,T.loaded]);g.useEffect(function(){Be||typeof ze.loadData=="function"&&Ee&&!Gt&&!T.loaded&&ze.onNodeLoad((0,w.F)(T))},[Be,ze.loadData,ze.onNodeLoad,Ee,Gt,T]);var Zt=g.useMemo(function(){var et;return(et=ze.draggable)!==null&&et!==void 0&&et.icon?g.createElement("span",{className:"".concat(ze.prefixCls,"-draggable-icon")},ze.draggable.icon):null},[ze.draggable]),Re=function(X){var St=T.switcherIcon||ze.switcherIcon;return typeof St=="function"?St((0,L.Z)((0,L.Z)({},T),{},{isLeaf:X})):St},pt=function(){if(Gt){var X=Re(!0);return X!==!1?g.createElement("span",{className:K()("".concat(ze.prefixCls,"-switcher"),"".concat(ze.prefixCls,"-switcher-noop"))},X):null}var St=Re(!1);return St!==!1?g.createElement("span",{onClick:Mt,className:K()("".concat(ze.prefixCls,"-switcher"),"".concat(ze.prefixCls,"-switcher_").concat(Ee?W:Y))},St):null},E=g.useMemo(function(){if(!ne)return null;var et=typeof ne!="boolean"?ne:null;return g.createElement("span",{className:K()("".concat(ze.prefixCls,"-checkbox"),(0,U.Z)((0,U.Z)((0,U.Z)({},"".concat(ze.prefixCls,"-checkbox-checked"),A),"".concat(ze.prefixCls,"-checkbox-indeterminate"),!A&&fe),"".concat(ze.prefixCls,"-checkbox-disabled"),Ne||T.disableCheckbox)),onClick:Ke,role:"checkbox","aria-checked":fe?"mixed":A,"aria-disabled":Ne||T.disableCheckbox,"aria-label":"Select ".concat(typeof T.title=="string"?T.title:"tree node")},et)},[ne,A,fe,Ne,T.disableCheckbox,T.title]),D=g.useMemo(function(){return Gt?null:Ee?W:Y},[Gt,Ee]),rt=g.useMemo(function(){return g.createElement("span",{className:K()("".concat(ze.prefixCls,"-iconEle"),"".concat(ze.prefixCls,"-icon__").concat(D||"docu"),(0,U.Z)({},"".concat(ze.prefixCls,"-icon_loading"),Be))})},[ze.prefixCls,D,Be]),te=g.useMemo(function(){var et=!!ze.draggable,X=!T.disabled&&et&&ze.dragOverNodeKey===Ue;return X?ze.dropIndicatorRender({dropPosition:ze.dropPosition,dropLevelOffset:ze.dropLevelOffset,indent:ze.indent,prefixCls:ze.prefixCls,direction:ze.direction}):null},[ze.dropPosition,ze.dropLevelOffset,ze.indent,ze.prefixCls,ze.direction,ze.draggable,ze.dragOverNodeKey,ze.dropIndicatorRender]),Ae=g.useMemo(function(){var et=T.title,X=et===void 0?$:et,St="".concat(ze.prefixCls,"-node-content-wrapper"),Se;if(ze.showIcon){var Wt=T.icon||ze.icon;Se=Wt?g.createElement("span",{className:K()("".concat(ze.prefixCls,"-iconEle"),"".concat(ze.prefixCls,"-icon__customize"))},typeof Wt=="function"?Wt(T):Wt):rt}else ze.loadData&&Be&&(Se=rt);var Kt;return typeof X=="function"?Kt=X(Ie):ze.titleRender?Kt=ze.titleRender(Ie):Kt=X,g.createElement("span",{ref:yt,title:typeof X=="string"?X:"",className:K()(St,"".concat(St,"-").concat(D||"normal"),(0,U.Z)({},"".concat(ze.prefixCls,"-node-selected"),!Ne&&(_||bt))),onMouseEnter:me,onMouseLeave:Te,onContextMenu:Fe,onClick:M,onDoubleClick:_e},Se,g.createElement("span",{className:"".concat(ze.prefixCls,"-title")},Kt),te)},[ze.prefixCls,ze.showIcon,T,ze.icon,rt,ze.titleRender,Ie,D,me,Te,Fe,M,_e]),tn=(0,l.Z)(Tt,{aria:!0,data:!0}),Ce=(0,C.Z)(ze.keyEntities,Ue)||{},Ve=Ce.level,ut=ie[ie.length-1],ye=!Ne&&Xe,we=ze.draggingNodeKey===Ue,tt=ht!==void 0?{"aria-selected":!!ht}:void 0;return g.createElement("div",(0,i.Z)({ref:ft,role:"treeitem","aria-expanded":I?void 0:Ee,className:K()(Qe,"".concat(ze.prefixCls,"-treenode"),(he={},(0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)(he,"".concat(ze.prefixCls,"-treenode-disabled"),Ne),"".concat(ze.prefixCls,"-treenode-switcher-").concat(Ee?"open":"close"),!I),"".concat(ze.prefixCls,"-treenode-checkbox-checked"),A),"".concat(ze.prefixCls,"-treenode-checkbox-indeterminate"),fe),"".concat(ze.prefixCls,"-treenode-selected"),_),"".concat(ze.prefixCls,"-treenode-loading"),Be),"".concat(ze.prefixCls,"-treenode-active"),At),"".concat(ze.prefixCls,"-treenode-leaf-last"),ut),"".concat(ze.prefixCls,"-treenode-draggable"),Xe),"dragging",we),(0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)(he,"drop-target",ze.dropTargetKey===Ue),"drop-container",ze.dropContainerKey===Ue),"drag-over",!Ne&&Ze),"drag-over-gap-top",!Ne&&se),"drag-over-gap-bottom",!Ne&&k),"filter-node",(be=ze.filterTreeNode)===null||be===void 0?void 0:be.call(ze,(0,w.F)(T))),"".concat(ze.prefixCls,"-treenode-leaf"),Gt))),style:ke,draggable:ye,onDragStart:ye?gt:void 0,onDragEnter:Xe?de:void 0,onDragOver:Xe?xe:void 0,onDragLeave:Xe?Pt:void 0,onDrop:Xe?kt:void 0,onDragEnd:Xe?xt:void 0,onMouseMove:it},tt,tn),g.createElement(b,{prefixCls:ze.prefixCls,level:Ve,isStart:oe,isEnd:ie}),Zt,pt(),E,Ae)};R.isTreeNode=1;var G=R},30699:function(Pn,Lt,u){"use strict";u.d(Lt,{k:function(){return U},y:function(){return L}});var i=u(59301),U=i.createContext(null),L=i.createContext({})},3741:function(Pn,Lt,u){"use strict";u.d(Lt,{OF:function(){return Ue.Z},y6:function(){return Y.y},ZP:function(){return Ne}});var i=u(54476),U=u(76190),L=u(33885),ce=u(94480),j=u(67732),g=u(83652),V=u(31226),K=u(42403),l=u(158),y=u(20068),P=u(92310),b=u.n(P),C=u(10228),w=u(26112),z=u(48736),W=u(59301),Y=u(30699),$=function(lt){var Ke=lt.dropPosition,H=lt.dropLevelOffset,M=lt.indent,_e={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ke){case-1:_e.top=0,_e.left=-H*M;break;case 1:_e.bottom=0,_e.left=-H*M;break;case 0:_e.bottom=0,_e.left=M;break}return W.createElement("div",{style:_e})},R=$;function G(ne){if(ne==null)throw new TypeError("Cannot destructure "+ne)}var O=u(42978),T=u(75931),ue=u(34280),be=u(48911),he=u(77900),Ue=u(639);function Qe(ne,lt){var Ke=W.useState(!1),H=(0,O.Z)(Ke,2),M=H[0],_e=H[1];(0,ue.Z)(function(){if(M)return ne(),function(){lt()}},[M]),(0,ue.Z)(function(){return _e(!0),function(){_e(!1)}},[])}var ke=Qe,Ze=u(34061),se=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],k=W.forwardRef(function(ne,lt){var Ke=ne.className,H=ne.style,M=ne.motion,_e=ne.motionNodes,me=ne.motionType,Te=ne.onMotionStart,Fe=ne.onMotionEnd,Xe=ne.active,gt=ne.treeNodeRequiredProps,de=(0,T.Z)(ne,se),xe=W.useState(!0),Pt=(0,O.Z)(xe,2),xt=Pt[0],kt=Pt[1],Mt=W.useContext(Y.k),mt=Mt.prefixCls,Gt=_e&&me!=="hide";(0,ue.Z)(function(){_e&&Gt!==xt&&kt(Gt)},[_e]);var Zt=function(){_e&&Te()},Re=W.useRef(!1),pt=function(){_e&&!Re.current&&(Re.current=!0,Fe())};ke(Zt,pt);var E=function(rt){Gt===rt&&pt()};return _e?W.createElement(he.default,(0,i.Z)({ref:lt,visible:xt},M,{motionAppear:me==="show",onVisibleChanged:E}),function(D,rt){var te=D.className,Ae=D.style;return W.createElement("div",{ref:rt,className:b()("".concat(mt,"-treenode-motion"),te),style:Ae},_e.map(function(tn){var Ce=Object.assign({},(G(tn.data),tn.data)),Ve=tn.title,ut=tn.key,ye=tn.isStart,we=tn.isEnd;delete Ce.children;var tt=(0,Ze.H8)(ut,gt);return W.createElement(Ue.Z,(0,i.Z)({},Ce,tt,{title:Ve,active:Xe,data:tn.data,key:ut,isStart:ye,isEnd:we}))}))}):W.createElement(Ue.Z,(0,i.Z)({domRef:lt,className:Ke,style:H},de,{active:Xe}))}),I=k;function oe(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ke=ne.length,H=lt.length;if(Math.abs(Ke-H)!==1)return{add:!1,key:null};function M(_e,me){var Te=new Map;_e.forEach(function(Xe){Te.set(Xe,!0)});var Fe=me.filter(function(Xe){return!Te.has(Xe)});return Fe.length===1?Fe[0]:null}return Ke<H?{add:!0,key:M(ne,lt)}:{add:!1,key:M(lt,ne)}}function ie(ne,lt,Ke){var H=ne.findIndex(function(Te){return Te.key===Ke}),M=ne[H+1],_e=lt.findIndex(function(Te){return Te.key===Ke});if(M){var me=lt.findIndex(function(Te){return Te.key===M.key});return lt.slice(_e+1,me)}return lt.slice(_e+1)}var Ee=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],_={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},A=function(){},fe="RC_TREE_MOTION_".concat(Math.random()),Be={key:fe},ft={key:fe,level:0,index:0,pos:"0",node:Be,nodes:[Be]},At={parent:null,children:[],pos:ft.pos,data:Be,title:null,key:fe,isStart:[],isEnd:[]};function Ie(ne,lt,Ke,H){return lt===!1||!Ke?ne:ne.slice(0,Math.ceil(Ke/H)+1)}function it(ne){var lt=ne.key,Ke=ne.pos;return(0,Ze.km)(lt,Ke)}function ht(ne){for(var lt=String(ne.data.key),Ke=ne;Ke.parent;)Ke=Ke.parent,lt="".concat(Ke.data.key," > ").concat(lt);return lt}var Tt=W.forwardRef(function(ne,lt){var Ke=ne.prefixCls,H=ne.data,M=ne.selectable,_e=ne.checkable,me=ne.expandedKeys,Te=ne.selectedKeys,Fe=ne.checkedKeys,Xe=ne.loadedKeys,gt=ne.loadingKeys,de=ne.halfCheckedKeys,xe=ne.keyEntities,Pt=ne.disabled,xt=ne.dragging,kt=ne.dragOverNodeKey,Mt=ne.dropPosition,mt=ne.motion,Gt=ne.height,Zt=ne.itemHeight,Re=ne.virtual,pt=ne.scrollWidth,E=ne.focusable,D=ne.activeItem,rt=ne.focused,te=ne.tabIndex,Ae=ne.onKeyDown,tn=ne.onFocus,Ce=ne.onBlur,Ve=ne.onActiveChange,ut=ne.onListChangeStart,ye=ne.onListChangeEnd,we=(0,T.Z)(ne,Ee),tt=W.useRef(null),et=W.useRef(null);W.useImperativeHandle(lt,function(){return{scrollTo:function(qt){tt.current.scrollTo(qt)},getIndentWidth:function(){return et.current.offsetWidth}}});var X=W.useState(me),St=(0,O.Z)(X,2),Se=St[0],Wt=St[1],Kt=W.useState(H),Rt=(0,O.Z)(Kt,2),le=Rt[0],ae=Rt[1],N=W.useState(H),_t=(0,O.Z)(N,2),dt=_t[0],nt=_t[1],Ft=W.useState([]),Ot=(0,O.Z)(Ft,2),zt=Ot[0],J=Ot[1],pe=W.useState(null),It=(0,O.Z)(pe,2),Pe=It[0],Le=It[1],re=W.useRef(H);re.current=H;function De(){var st=re.current;ae(st),nt(st),J([]),Le(null),ye()}(0,ue.Z)(function(){Wt(me);var st=oe(Se,me);if(st.key!==null)if(st.add){var qt=le.findIndex(function(Xt){var Ye=Xt.key;return Ye===st.key}),ln=Ie(ie(le,H,st.key),Re,Gt,Zt),Oe=le.slice();Oe.splice(qt+1,0,At),nt(Oe),J(ln),Le("show")}else{var ot=H.findIndex(function(Xt){var Ye=Xt.key;return Ye===st.key}),wt=Ie(ie(H,le,st.key),Re,Gt,Zt),Qt=H.slice();Qt.splice(ot+1,0,At),nt(Qt),J(wt),Le("hide")}else le!==H&&(ae(H),nt(H))},[me,H]),W.useEffect(function(){xt||De()},[xt]);var $e=mt?dt:H,je={expandedKeys:me,selectedKeys:Te,loadedKeys:Xe,loadingKeys:gt,checkedKeys:Fe,halfCheckedKeys:de,dragOverNodeKey:kt,dropPosition:Mt,keyEntities:xe};return W.createElement(W.Fragment,null,rt&&D&&W.createElement("span",{style:_,"aria-live":"assertive"},ht(D)),W.createElement("div",null,W.createElement("input",{style:_,disabled:E===!1||Pt,tabIndex:E!==!1?te:null,onKeyDown:Ae,onFocus:tn,onBlur:Ce,value:"",onChange:A,"aria-label":"for screen reader"})),W.createElement("div",{className:"".concat(Ke,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},W.createElement("div",{className:"".concat(Ke,"-indent")},W.createElement("div",{ref:et,className:"".concat(Ke,"-indent-unit")}))),W.createElement(be.Z,(0,i.Z)({},we,{data:$e,itemKey:it,height:Gt,fullHeight:!1,virtual:Re,itemHeight:Zt,scrollWidth:pt,prefixCls:"".concat(Ke,"-list"),ref:tt,role:"tree",onVisibleChange:function(qt){qt.every(function(ln){return it(ln)!==fe})&&De()}}),function(st){var qt=st.pos,ln=Object.assign({},(G(st.data),st.data)),Oe=st.title,ot=st.key,wt=st.isStart,Qt=st.isEnd,Xt=(0,Ze.km)(ot,qt);delete ln.key,delete ln.children;var Ye=(0,Ze.H8)(Xt,je);return W.createElement(I,(0,i.Z)({},ln,Ye,{title:Oe,active:!!D&&ot===D.key,pos:qt,data:st.data,isStart:wt,isEnd:Qt,motion:mt,motionNodes:ot===fe?zt:null,motionType:Pe,onMotionStart:ut,onMotionEnd:De,treeNodeRequiredProps:je,onMouseMove:function(){Ve(null)}}))}))}),ze=Tt,Jt=u(82661),yt=u(34643),cn=u(65065),Je=10,bt=function(ne){(0,K.Z)(Ke,ne);var lt=(0,l.Z)(Ke);function Ke(){var H;(0,j.Z)(this,Ke);for(var M=arguments.length,_e=new Array(M),me=0;me<M;me++)_e[me]=arguments[me];return H=lt.call.apply(lt,[this].concat(_e)),(0,y.Z)((0,V.Z)(H),"destroyed",!1),(0,y.Z)((0,V.Z)(H),"delayedDragEnterLogic",void 0),(0,y.Z)((0,V.Z)(H),"loadingRetryTimes",{}),(0,y.Z)((0,V.Z)(H),"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,Ze.w$)()}),(0,y.Z)((0,V.Z)(H),"dragStartMousePosition",null),(0,y.Z)((0,V.Z)(H),"dragNodeProps",null),(0,y.Z)((0,V.Z)(H),"currentMouseOverDroppableNodeKey",null),(0,y.Z)((0,V.Z)(H),"listRef",W.createRef()),(0,y.Z)((0,V.Z)(H),"onNodeDragStart",function(Te,Fe){var Xe=H.state,gt=Xe.expandedKeys,de=Xe.keyEntities,xe=H.props.onDragStart,Pt=Fe.eventKey;H.dragNodeProps=Fe,H.dragStartMousePosition={x:Te.clientX,y:Te.clientY};var xt=(0,Jt._5)(gt,Pt);H.setState({draggingNodeKey:Pt,dragChildrenKeys:(0,Jt.wA)(Pt,de),indent:H.listRef.current.getIndentWidth()}),H.setExpandedKeys(xt),window.addEventListener("dragend",H.onWindowDragEnd),xe==null||xe({event:Te,node:(0,Ze.F)(Fe)})}),(0,y.Z)((0,V.Z)(H),"onNodeDragEnter",function(Te,Fe){var Xe=H.state,gt=Xe.expandedKeys,de=Xe.keyEntities,xe=Xe.dragChildrenKeys,Pt=Xe.flattenNodes,xt=Xe.indent,kt=H.props,Mt=kt.onDragEnter,mt=kt.onExpand,Gt=kt.allowDrop,Zt=kt.direction,Re=Fe.pos,pt=Fe.eventKey;if(H.currentMouseOverDroppableNodeKey!==pt&&(H.currentMouseOverDroppableNodeKey=pt),!H.dragNodeProps){H.resetDragState();return}var E=(0,Jt.OM)(Te,H.dragNodeProps,Fe,xt,H.dragStartMousePosition,Gt,Pt,de,gt,Zt),D=E.dropPosition,rt=E.dropLevelOffset,te=E.dropTargetKey,Ae=E.dropContainerKey,tn=E.dropTargetPos,Ce=E.dropAllowed,Ve=E.dragOverNodeKey;if(xe.includes(te)||!Ce){H.resetDragState();return}if(H.delayedDragEnterLogic||(H.delayedDragEnterLogic={}),Object.keys(H.delayedDragEnterLogic).forEach(function(ut){clearTimeout(H.delayedDragEnterLogic[ut])}),H.dragNodeProps.eventKey!==Fe.eventKey&&(Te.persist(),H.delayedDragEnterLogic[Re]=window.setTimeout(function(){if(H.state.draggingNodeKey!==null){var ut=(0,ce.Z)(gt),ye=(0,cn.Z)(de,Fe.eventKey);ye&&(ye.children||[]).length&&(ut=(0,Jt.L0)(gt,Fe.eventKey)),H.props.hasOwnProperty("expandedKeys")||H.setExpandedKeys(ut),mt==null||mt(ut,{node:(0,Ze.F)(Fe),expanded:!0,nativeEvent:Te.nativeEvent})}},800)),H.dragNodeProps.eventKey===te&&rt===0){H.resetDragState();return}H.setState({dragOverNodeKey:Ve,dropPosition:D,dropLevelOffset:rt,dropTargetKey:te,dropContainerKey:Ae,dropTargetPos:tn,dropAllowed:Ce}),Mt==null||Mt({event:Te,node:(0,Ze.F)(Fe),expandedKeys:gt})}),(0,y.Z)((0,V.Z)(H),"onNodeDragOver",function(Te,Fe){var Xe=H.state,gt=Xe.dragChildrenKeys,de=Xe.flattenNodes,xe=Xe.keyEntities,Pt=Xe.expandedKeys,xt=Xe.indent,kt=H.props,Mt=kt.onDragOver,mt=kt.allowDrop,Gt=kt.direction;if(H.dragNodeProps){var Zt=(0,Jt.OM)(Te,H.dragNodeProps,Fe,xt,H.dragStartMousePosition,mt,de,xe,Pt,Gt),Re=Zt.dropPosition,pt=Zt.dropLevelOffset,E=Zt.dropTargetKey,D=Zt.dropContainerKey,rt=Zt.dropTargetPos,te=Zt.dropAllowed,Ae=Zt.dragOverNodeKey;gt.includes(E)||!te||(H.dragNodeProps.eventKey===E&&pt===0?H.state.dropPosition===null&&H.state.dropLevelOffset===null&&H.state.dropTargetKey===null&&H.state.dropContainerKey===null&&H.state.dropTargetPos===null&&H.state.dropAllowed===!1&&H.state.dragOverNodeKey===null||H.resetDragState():Re===H.state.dropPosition&&pt===H.state.dropLevelOffset&&E===H.state.dropTargetKey&&D===H.state.dropContainerKey&&rt===H.state.dropTargetPos&&te===H.state.dropAllowed&&Ae===H.state.dragOverNodeKey||H.setState({dropPosition:Re,dropLevelOffset:pt,dropTargetKey:E,dropContainerKey:D,dropTargetPos:rt,dropAllowed:te,dragOverNodeKey:Ae}),Mt==null||Mt({event:Te,node:(0,Ze.F)(Fe)}))}}),(0,y.Z)((0,V.Z)(H),"onNodeDragLeave",function(Te,Fe){H.currentMouseOverDroppableNodeKey===Fe.eventKey&&!Te.currentTarget.contains(Te.relatedTarget)&&(H.resetDragState(),H.currentMouseOverDroppableNodeKey=null);var Xe=H.props.onDragLeave;Xe==null||Xe({event:Te,node:(0,Ze.F)(Fe)})}),(0,y.Z)((0,V.Z)(H),"onWindowDragEnd",function(Te){H.onNodeDragEnd(Te,null,!0),window.removeEventListener("dragend",H.onWindowDragEnd)}),(0,y.Z)((0,V.Z)(H),"onNodeDragEnd",function(Te,Fe){var Xe=H.props.onDragEnd;H.setState({dragOverNodeKey:null}),H.cleanDragState(),Xe==null||Xe({event:Te,node:(0,Ze.F)(Fe)}),H.dragNodeProps=null,window.removeEventListener("dragend",H.onWindowDragEnd)}),(0,y.Z)((0,V.Z)(H),"onNodeDrop",function(Te,Fe){var Xe,gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,de=H.state,xe=de.dragChildrenKeys,Pt=de.dropPosition,xt=de.dropTargetKey,kt=de.dropTargetPos,Mt=de.dropAllowed;if(Mt){var mt=H.props.onDrop;if(H.setState({dragOverNodeKey:null}),H.cleanDragState(),xt!==null){var Gt=(0,L.Z)((0,L.Z)({},(0,Ze.H8)(xt,H.getTreeNodeRequiredProps())),{},{active:((Xe=H.getActiveItem())===null||Xe===void 0?void 0:Xe.key)===xt,data:(0,cn.Z)(H.state.keyEntities,xt).node}),Zt=xe.includes(xt);(0,z.ZP)(!Zt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Re=(0,Jt.yx)(kt),pt={event:Te,node:(0,Ze.F)(Gt),dragNode:H.dragNodeProps?(0,Ze.F)(H.dragNodeProps):null,dragNodesKeys:[H.dragNodeProps.eventKey].concat(xe),dropToGap:Pt!==0,dropPosition:Pt+Number(Re[Re.length-1])};gt||mt==null||mt(pt),H.dragNodeProps=null}}}),(0,y.Z)((0,V.Z)(H),"cleanDragState",function(){var Te=H.state.draggingNodeKey;Te!==null&&H.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),H.dragStartMousePosition=null,H.currentMouseOverDroppableNodeKey=null}),(0,y.Z)((0,V.Z)(H),"triggerExpandActionExpand",function(Te,Fe){var Xe=H.state,gt=Xe.expandedKeys,de=Xe.flattenNodes,xe=Fe.expanded,Pt=Fe.key,xt=Fe.isLeaf;if(!(xt||Te.shiftKey||Te.metaKey||Te.ctrlKey)){var kt=de.filter(function(mt){return mt.key===Pt})[0],Mt=(0,Ze.F)((0,L.Z)((0,L.Z)({},(0,Ze.H8)(Pt,H.getTreeNodeRequiredProps())),{},{data:kt.data}));H.setExpandedKeys(xe?(0,Jt._5)(gt,Pt):(0,Jt.L0)(gt,Pt)),H.onNodeExpand(Te,Mt)}}),(0,y.Z)((0,V.Z)(H),"onNodeClick",function(Te,Fe){var Xe=H.props,gt=Xe.onClick,de=Xe.expandAction;de==="click"&&H.triggerExpandActionExpand(Te,Fe),gt==null||gt(Te,Fe)}),(0,y.Z)((0,V.Z)(H),"onNodeDoubleClick",function(Te,Fe){var Xe=H.props,gt=Xe.onDoubleClick,de=Xe.expandAction;de==="doubleClick"&&H.triggerExpandActionExpand(Te,Fe),gt==null||gt(Te,Fe)}),(0,y.Z)((0,V.Z)(H),"onNodeSelect",function(Te,Fe){var Xe=H.state.selectedKeys,gt=H.state,de=gt.keyEntities,xe=gt.fieldNames,Pt=H.props,xt=Pt.onSelect,kt=Pt.multiple,Mt=Fe.selected,mt=Fe[xe.key],Gt=!Mt;Gt?kt?Xe=(0,Jt.L0)(Xe,mt):Xe=[mt]:Xe=(0,Jt._5)(Xe,mt);var Zt=Xe.map(function(Re){var pt=(0,cn.Z)(de,Re);return pt?pt.node:null}).filter(Boolean);H.setUncontrolledState({selectedKeys:Xe}),xt==null||xt(Xe,{event:"select",selected:Gt,node:Fe,selectedNodes:Zt,nativeEvent:Te.nativeEvent})}),(0,y.Z)((0,V.Z)(H),"onNodeCheck",function(Te,Fe,Xe){var gt=H.state,de=gt.keyEntities,xe=gt.checkedKeys,Pt=gt.halfCheckedKeys,xt=H.props,kt=xt.checkStrictly,Mt=xt.onCheck,mt=Fe.key,Gt,Zt={event:"check",node:Fe,checked:Xe,nativeEvent:Te.nativeEvent};if(kt){var Re=Xe?(0,Jt.L0)(xe,mt):(0,Jt._5)(xe,mt),pt=(0,Jt._5)(Pt,mt);Gt={checked:Re,halfChecked:pt},Zt.checkedNodes=Re.map(function(tn){return(0,cn.Z)(de,tn)}).filter(Boolean).map(function(tn){return tn.node}),H.setUncontrolledState({checkedKeys:Re})}else{var E=(0,yt.S)([].concat((0,ce.Z)(xe),[mt]),!0,de),D=E.checkedKeys,rt=E.halfCheckedKeys;if(!Xe){var te=new Set(D);te.delete(mt);var Ae=(0,yt.S)(Array.from(te),{checked:!1,halfCheckedKeys:rt},de);D=Ae.checkedKeys,rt=Ae.halfCheckedKeys}Gt=D,Zt.checkedNodes=[],Zt.checkedNodesPositions=[],Zt.halfCheckedKeys=rt,D.forEach(function(tn){var Ce=(0,cn.Z)(de,tn);if(Ce){var Ve=Ce.node,ut=Ce.pos;Zt.checkedNodes.push(Ve),Zt.checkedNodesPositions.push({node:Ve,pos:ut})}}),H.setUncontrolledState({checkedKeys:D},!1,{halfCheckedKeys:rt})}Mt==null||Mt(Gt,Zt)}),(0,y.Z)((0,V.Z)(H),"onNodeLoad",function(Te){var Fe,Xe=Te.key,gt=H.state.keyEntities,de=(0,cn.Z)(gt,Xe);if(!(de!=null&&(Fe=de.children)!==null&&Fe!==void 0&&Fe.length)){var xe=new Promise(function(Pt,xt){H.setState(function(kt){var Mt=kt.loadedKeys,mt=Mt===void 0?[]:Mt,Gt=kt.loadingKeys,Zt=Gt===void 0?[]:Gt,Re=H.props,pt=Re.loadData,E=Re.onLoad;if(!pt||mt.includes(Xe)||Zt.includes(Xe))return null;var D=pt(Te);return D.then(function(){var rt=H.state.loadedKeys,te=(0,Jt.L0)(rt,Xe);E==null||E(te,{event:"load",node:Te}),H.setUncontrolledState({loadedKeys:te}),H.setState(function(Ae){return{loadingKeys:(0,Jt._5)(Ae.loadingKeys,Xe)}}),Pt()}).catch(function(rt){if(H.setState(function(Ae){return{loadingKeys:(0,Jt._5)(Ae.loadingKeys,Xe)}}),H.loadingRetryTimes[Xe]=(H.loadingRetryTimes[Xe]||0)+1,H.loadingRetryTimes[Xe]>=Je){var te=H.state.loadedKeys;(0,z.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),H.setUncontrolledState({loadedKeys:(0,Jt.L0)(te,Xe)}),Pt()}xt(rt)}),{loadingKeys:(0,Jt.L0)(Zt,Xe)}})});return xe.catch(function(){}),xe}}),(0,y.Z)((0,V.Z)(H),"onNodeMouseEnter",function(Te,Fe){var Xe=H.props.onMouseEnter;Xe==null||Xe({event:Te,node:Fe})}),(0,y.Z)((0,V.Z)(H),"onNodeMouseLeave",function(Te,Fe){var Xe=H.props.onMouseLeave;Xe==null||Xe({event:Te,node:Fe})}),(0,y.Z)((0,V.Z)(H),"onNodeContextMenu",function(Te,Fe){var Xe=H.props.onRightClick;Xe&&(Te.preventDefault(),Xe({event:Te,node:Fe}))}),(0,y.Z)((0,V.Z)(H),"onFocus",function(){var Te=H.props.onFocus;H.setState({focused:!0});for(var Fe=arguments.length,Xe=new Array(Fe),gt=0;gt<Fe;gt++)Xe[gt]=arguments[gt];Te==null||Te.apply(void 0,Xe)}),(0,y.Z)((0,V.Z)(H),"onBlur",function(){var Te=H.props.onBlur;H.setState({focused:!1}),H.onActiveChange(null);for(var Fe=arguments.length,Xe=new Array(Fe),gt=0;gt<Fe;gt++)Xe[gt]=arguments[gt];Te==null||Te.apply(void 0,Xe)}),(0,y.Z)((0,V.Z)(H),"getTreeNodeRequiredProps",function(){var Te=H.state,Fe=Te.expandedKeys,Xe=Te.selectedKeys,gt=Te.loadedKeys,de=Te.loadingKeys,xe=Te.checkedKeys,Pt=Te.halfCheckedKeys,xt=Te.dragOverNodeKey,kt=Te.dropPosition,Mt=Te.keyEntities;return{expandedKeys:Fe||[],selectedKeys:Xe||[],loadedKeys:gt||[],loadingKeys:de||[],checkedKeys:xe||[],halfCheckedKeys:Pt||[],dragOverNodeKey:xt,dropPosition:kt,keyEntities:Mt}}),(0,y.Z)((0,V.Z)(H),"setExpandedKeys",function(Te){var Fe=H.state,Xe=Fe.treeData,gt=Fe.fieldNames,de=(0,Ze.oH)(Xe,Te,gt);H.setUncontrolledState({expandedKeys:Te,flattenNodes:de},!0)}),(0,y.Z)((0,V.Z)(H),"onNodeExpand",function(Te,Fe){var Xe=H.state.expandedKeys,gt=H.state,de=gt.listChanging,xe=gt.fieldNames,Pt=H.props,xt=Pt.onExpand,kt=Pt.loadData,Mt=Fe.expanded,mt=Fe[xe.key];if(!de){var Gt=Xe.includes(mt),Zt=!Mt;if((0,z.ZP)(Mt&&Gt||!Mt&&!Gt,"Expand state not sync with index check"),Xe=Zt?(0,Jt.L0)(Xe,mt):(0,Jt._5)(Xe,mt),H.setExpandedKeys(Xe),xt==null||xt(Xe,{node:Fe,expanded:Zt,nativeEvent:Te.nativeEvent}),Zt&&kt){var Re=H.onNodeLoad(Fe);Re&&Re.then(function(){var pt=(0,Ze.oH)(H.state.treeData,Xe,xe);H.setUncontrolledState({flattenNodes:pt})}).catch(function(){var pt=H.state.expandedKeys,E=(0,Jt._5)(pt,mt);H.setExpandedKeys(E)})}}}),(0,y.Z)((0,V.Z)(H),"onListChangeStart",function(){H.setUncontrolledState({listChanging:!0})}),(0,y.Z)((0,V.Z)(H),"onListChangeEnd",function(){setTimeout(function(){H.setUncontrolledState({listChanging:!1})})}),(0,y.Z)((0,V.Z)(H),"onActiveChange",function(Te){var Fe=H.state.activeKey,Xe=H.props,gt=Xe.onActiveChange,de=Xe.itemScrollOffset,xe=de===void 0?0:de;Fe!==Te&&(H.setState({activeKey:Te}),Te!==null&&H.scrollTo({key:Te,offset:xe}),gt==null||gt(Te))}),(0,y.Z)((0,V.Z)(H),"getActiveItem",function(){var Te=H.state,Fe=Te.activeKey,Xe=Te.flattenNodes;return Fe===null?null:Xe.find(function(gt){var de=gt.key;return de===Fe})||null}),(0,y.Z)((0,V.Z)(H),"offsetActiveKey",function(Te){var Fe=H.state,Xe=Fe.flattenNodes,gt=Fe.activeKey,de=Xe.findIndex(function(xt){var kt=xt.key;return kt===gt});de===-1&&Te<0&&(de=Xe.length),de=(de+Te+Xe.length)%Xe.length;var xe=Xe[de];if(xe){var Pt=xe.key;H.onActiveChange(Pt)}else H.onActiveChange(null)}),(0,y.Z)((0,V.Z)(H),"onKeyDown",function(Te){var Fe=H.state,Xe=Fe.activeKey,gt=Fe.expandedKeys,de=Fe.checkedKeys,xe=Fe.fieldNames,Pt=H.props,xt=Pt.onKeyDown,kt=Pt.checkable,Mt=Pt.selectable;switch(Te.which){case C.Z.UP:{H.offsetActiveKey(-1),Te.preventDefault();break}case C.Z.DOWN:{H.offsetActiveKey(1),Te.preventDefault();break}}var mt=H.getActiveItem();if(mt&&mt.data){var Gt=H.getTreeNodeRequiredProps(),Zt=mt.data.isLeaf===!1||!!(mt.data[xe.children]||[]).length,Re=(0,Ze.F)((0,L.Z)((0,L.Z)({},(0,Ze.H8)(Xe,Gt)),{},{data:mt.data,active:!0}));switch(Te.which){case C.Z.LEFT:{Zt&>.includes(Xe)?H.onNodeExpand({},Re):mt.parent&&H.onActiveChange(mt.parent.key),Te.preventDefault();break}case C.Z.RIGHT:{Zt&&!gt.includes(Xe)?H.onNodeExpand({},Re):mt.children&&mt.children.length&&H.onActiveChange(mt.children[0].key),Te.preventDefault();break}case C.Z.ENTER:case C.Z.SPACE:{kt&&!Re.disabled&&Re.checkable!==!1&&!Re.disableCheckbox?H.onNodeCheck({},Re,!de.includes(Xe)):!kt&&Mt&&!Re.disabled&&Re.selectable!==!1&&H.onNodeSelect({},Re);break}}}xt==null||xt(Te)}),(0,y.Z)((0,V.Z)(H),"setUncontrolledState",function(Te){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!H.destroyed){var gt=!1,de=!0,xe={};Object.keys(Te).forEach(function(Pt){if(H.props.hasOwnProperty(Pt)){de=!1;return}gt=!0,xe[Pt]=Te[Pt]}),gt&&(!Fe||de)&&H.setState((0,L.Z)((0,L.Z)({},xe),Xe))}}),(0,y.Z)((0,V.Z)(H),"scrollTo",function(Te){H.listRef.current.scrollTo(Te)}),H}return(0,g.Z)(Ke,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var M=this.props,_e=M.activeKey,me=M.itemScrollOffset,Te=me===void 0?0:me;_e!==void 0&&_e!==this.state.activeKey&&(this.setState({activeKey:_e}),_e!==null&&this.scrollTo({key:_e,offset:Te}))}},{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 M=this.state,_e=M.focused,me=M.flattenNodes,Te=M.keyEntities,Fe=M.draggingNodeKey,Xe=M.activeKey,gt=M.dropLevelOffset,de=M.dropContainerKey,xe=M.dropTargetKey,Pt=M.dropPosition,xt=M.dragOverNodeKey,kt=M.indent,Mt=this.props,mt=Mt.prefixCls,Gt=Mt.className,Zt=Mt.style,Re=Mt.showLine,pt=Mt.focusable,E=Mt.tabIndex,D=E===void 0?0:E,rt=Mt.selectable,te=Mt.showIcon,Ae=Mt.icon,tn=Mt.switcherIcon,Ce=Mt.draggable,Ve=Mt.checkable,ut=Mt.checkStrictly,ye=Mt.disabled,we=Mt.motion,tt=Mt.loadData,et=Mt.filterTreeNode,X=Mt.height,St=Mt.itemHeight,Se=Mt.scrollWidth,Wt=Mt.virtual,Kt=Mt.titleRender,Rt=Mt.dropIndicatorRender,le=Mt.onContextMenu,ae=Mt.onScroll,N=Mt.direction,_t=Mt.rootClassName,dt=Mt.rootStyle,nt=(0,w.Z)(this.props,{aria:!0,data:!0}),Ft;Ce&&((0,U.Z)(Ce)==="object"?Ft=Ce:typeof Ce=="function"?Ft={nodeDraggable:Ce}:Ft={});var Ot={prefixCls:mt,selectable:rt,showIcon:te,icon:Ae,switcherIcon:tn,draggable:Ft,draggingNodeKey:Fe,checkable:Ve,checkStrictly:ut,disabled:ye,keyEntities:Te,dropLevelOffset:gt,dropContainerKey:de,dropTargetKey:xe,dropPosition:Pt,dragOverNodeKey:xt,indent:kt,direction:N,dropIndicatorRender:Rt,loadData:tt,filterTreeNode:et,titleRender:Kt,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};return W.createElement(Y.k.Provider,{value:Ot},W.createElement("div",{className:b()(mt,Gt,_t,(0,y.Z)((0,y.Z)((0,y.Z)({},"".concat(mt,"-show-line"),Re),"".concat(mt,"-focused"),_e),"".concat(mt,"-active-focused"),Xe!==null)),style:dt},W.createElement(ze,(0,i.Z)({ref:this.listRef,prefixCls:mt,style:Zt,data:me,disabled:ye,selectable:rt,checkable:!!Ve,motion:we,dragging:Fe!==null,height:X,itemHeight:St,virtual:Wt,focusable:pt,focused:_e,tabIndex:D,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:le,onScroll:ae,scrollWidth:Se},this.getTreeNodeRequiredProps(),nt))))}}],[{key:"getDerivedStateFromProps",value:function(M,_e){var me=_e.prevProps,Te={prevProps:M};function Fe(D){return!me&&M.hasOwnProperty(D)||me&&me[D]!==M[D]}var Xe,gt=_e.fieldNames;if(Fe("fieldNames")&&(gt=(0,Ze.w$)(M.fieldNames),Te.fieldNames=gt),Fe("treeData")?Xe=M.treeData:Fe("children")&&((0,z.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Xe=(0,Ze.zn)(M.children)),Xe){Te.treeData=Xe;var de=(0,Ze.I8)(Xe,{fieldNames:gt});Te.keyEntities=(0,L.Z)((0,y.Z)({},fe,ft),de.keyEntities)}var xe=Te.keyEntities||_e.keyEntities;if(Fe("expandedKeys")||me&&Fe("autoExpandParent"))Te.expandedKeys=M.autoExpandParent||!me&&M.defaultExpandParent?(0,Jt.r7)(M.expandedKeys,xe):M.expandedKeys;else if(!me&&M.defaultExpandAll){var Pt=(0,L.Z)({},xe);delete Pt[fe];var xt=[];Object.keys(Pt).forEach(function(D){var rt=Pt[D];rt.children&&rt.children.length&&xt.push(rt.key)}),Te.expandedKeys=xt}else!me&&M.defaultExpandedKeys&&(Te.expandedKeys=M.autoExpandParent||M.defaultExpandParent?(0,Jt.r7)(M.defaultExpandedKeys,xe):M.defaultExpandedKeys);if(Te.expandedKeys||delete Te.expandedKeys,Xe||Te.expandedKeys){var kt=(0,Ze.oH)(Xe||_e.treeData,Te.expandedKeys||_e.expandedKeys,gt);Te.flattenNodes=kt}if(M.selectable&&(Fe("selectedKeys")?Te.selectedKeys=(0,Jt.BT)(M.selectedKeys,M):!me&&M.defaultSelectedKeys&&(Te.selectedKeys=(0,Jt.BT)(M.defaultSelectedKeys,M))),M.checkable){var Mt;if(Fe("checkedKeys")?Mt=(0,Jt.E6)(M.checkedKeys)||{}:!me&&M.defaultCheckedKeys?Mt=(0,Jt.E6)(M.defaultCheckedKeys)||{}:Xe&&(Mt=(0,Jt.E6)(M.checkedKeys)||{checkedKeys:_e.checkedKeys,halfCheckedKeys:_e.halfCheckedKeys}),Mt){var mt=Mt,Gt=mt.checkedKeys,Zt=Gt===void 0?[]:Gt,Re=mt.halfCheckedKeys,pt=Re===void 0?[]:Re;if(!M.checkStrictly){var E=(0,yt.S)(Zt,!0,xe);Zt=E.checkedKeys,pt=E.halfCheckedKeys}Te.checkedKeys=Zt,Te.halfCheckedKeys=pt}}return Fe("loadedKeys")&&(Te.loadedKeys=M.loadedKeys),Te}}]),Ke}(W.Component);(0,y.Z)(bt,"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:R,allowDrop:function(){return!0},expandAction:!1}),(0,y.Z)(bt,"TreeNode",Ue.Z);var Ge=bt,Ne=Ge},82661:function(Pn,Lt,u){"use strict";u.d(Lt,{BT:function(){return W},E6:function(){return R},L0:function(){return y},OM:function(){return z},_5:function(){return l},r7:function(){return G},wA:function(){return b},yx:function(){return P}});var i=u(94480),U=u(76190),L=u(48736),ce=u(59301),j=u(639),g=u(65065),V=u(34061),K=null;function l(O,T){if(!O)return[];var ue=O.slice(),be=ue.indexOf(T);return be>=0&&ue.splice(be,1),ue}function y(O,T){var ue=(O||[]).slice();return ue.indexOf(T)===-1&&ue.push(T),ue}function P(O){return O.split("-")}function b(O,T){var ue=[],be=(0,g.Z)(T,O);function he(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ue.forEach(function(Qe){var ke=Qe.key,Ze=Qe.children;ue.push(ke),he(Ze)})}return he(be.children),ue}function C(O){if(O.parent){var T=P(O.pos);return Number(T[T.length-1])===O.parent.children.length-1}return!1}function w(O){var T=P(O.pos);return Number(T[T.length-1])===0}function z(O,T,ue,be,he,Ue,Qe,ke,Ze,se){var k,I=O.clientX,oe=O.clientY,ie=O.target.getBoundingClientRect(),Ee=ie.top,_=ie.height,A=(se==="rtl"?-1:1)*(((he==null?void 0:he.x)||0)-I),fe=(A-12)/be,Be=Ze.filter(function(Ne){var ne;return(ne=ke[Ne])===null||ne===void 0||(ne=ne.children)===null||ne===void 0?void 0:ne.length}),ft=(0,g.Z)(ke,ue.eventKey);if(oe<Ee+_/2){var At=Qe.findIndex(function(Ne){return Ne.key===ft.key}),Ie=At<=0?0:At-1,it=Qe[Ie].key;ft=(0,g.Z)(ke,it)}var ht=ft.key,Tt=ft,ze=ft.key,Jt=0,yt=0;if(!Be.includes(ht))for(var cn=0;cn<fe&&C(ft);cn+=1)ft=ft.parent,yt+=1;var Je=T.data,bt=ft.node,Ge=!0;return w(ft)&&ft.level===0&&oe<Ee+_/2&&Ue({dragNode:Je,dropNode:bt,dropPosition:-1})&&ft.key===ue.eventKey?Jt=-1:(Tt.children||[]).length&&Be.includes(ze)?Ue({dragNode:Je,dropNode:bt,dropPosition:0})?Jt=0:Ge=!1:yt===0?fe>-1.5?Ue({dragNode:Je,dropNode:bt,dropPosition:1})?Jt=1:Ge=!1:Ue({dragNode:Je,dropNode:bt,dropPosition:0})?Jt=0:Ue({dragNode:Je,dropNode:bt,dropPosition:1})?Jt=1:Ge=!1:Ue({dragNode:Je,dropNode:bt,dropPosition:1})?Jt=1:Ge=!1,{dropPosition:Jt,dropLevelOffset:yt,dropTargetKey:ft.key,dropTargetPos:ft.pos,dragOverNodeKey:ze,dropContainerKey:Jt===0?null:((k=ft.parent)===null||k===void 0?void 0:k.key)||null,dropAllowed:Ge}}function W(O,T){if(O){var ue=T.multiple;return ue?O.slice():O.length?[O[0]]:O}}var Y=function(T){return T};function $(O,T){if(!O)return[];var ue=T||{},be=ue.processProps,he=be===void 0?Y:be,Ue=Array.isArray(O)?O:[O];return Ue.map(function(Qe){var ke=Qe.children,Ze=_objectWithoutProperties(Qe,K),se=$(ke,T);return React.createElement(TreeNode,_extends({key:Ze.key},he(Ze)),se)})}function R(O){if(!O)return null;var T;if(Array.isArray(O))T={checkedKeys:O,halfCheckedKeys:void 0};else if((0,U.Z)(O)==="object")T={checkedKeys:O.checked||void 0,halfCheckedKeys:O.halfChecked||void 0};else return(0,L.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return T}function G(O,T){var ue=new Set;function be(he){if(!ue.has(he)){var Ue=(0,g.Z)(T,he);if(Ue){ue.add(he);var Qe=Ue.parent,ke=Ue.node;ke.disabled||Qe&&be(Qe.key)}}}return(O||[]).forEach(function(he){be(he)}),(0,i.Z)(ue)}},34643:function(Pn,Lt,u){"use strict";u.d(Lt,{S:function(){return V}});var i=u(48736),U=u(65065);function L(K,l){var y=new Set;return K.forEach(function(P){l.has(P)||y.add(P)}),y}function ce(K){var l=K||{},y=l.disabled,P=l.disableCheckbox,b=l.checkable;return!!(y||P)||b===!1}function j(K,l,y,P){for(var b=new Set(K),C=new Set,w=0;w<=y;w+=1){var z=l.get(w)||new Set;z.forEach(function(R){var G=R.key,O=R.node,T=R.children,ue=T===void 0?[]:T;b.has(G)&&!P(O)&&ue.filter(function(be){return!P(be.node)}).forEach(function(be){b.add(be.key)})})}for(var W=new Set,Y=y;Y>=0;Y-=1){var $=l.get(Y)||new Set;$.forEach(function(R){var G=R.parent,O=R.node;if(!(P(O)||!R.parent||W.has(R.parent.key))){if(P(R.parent.node)){W.add(G.key);return}var T=!0,ue=!1;(G.children||[]).filter(function(be){return!P(be.node)}).forEach(function(be){var he=be.key,Ue=b.has(he);T&&!Ue&&(T=!1),!ue&&(Ue||C.has(he))&&(ue=!0)}),T&&b.add(G.key),ue&&C.add(G.key),W.add(G.key)}})}return{checkedKeys:Array.from(b),halfCheckedKeys:Array.from(L(C,b))}}function g(K,l,y,P,b){for(var C=new Set(K),w=new Set(l),z=0;z<=P;z+=1){var W=y.get(z)||new Set;W.forEach(function(G){var O=G.key,T=G.node,ue=G.children,be=ue===void 0?[]:ue;!C.has(O)&&!w.has(O)&&!b(T)&&be.filter(function(he){return!b(he.node)}).forEach(function(he){C.delete(he.key)})})}w=new Set;for(var Y=new Set,$=P;$>=0;$-=1){var R=y.get($)||new Set;R.forEach(function(G){var O=G.parent,T=G.node;if(!(b(T)||!G.parent||Y.has(G.parent.key))){if(b(G.parent.node)){Y.add(O.key);return}var ue=!0,be=!1;(O.children||[]).filter(function(he){return!b(he.node)}).forEach(function(he){var Ue=he.key,Qe=C.has(Ue);ue&&!Qe&&(ue=!1),!be&&(Qe||w.has(Ue))&&(be=!0)}),ue||C.delete(O.key),be&&w.add(O.key),Y.add(O.key)}})}return{checkedKeys:Array.from(C),halfCheckedKeys:Array.from(L(w,C))}}function V(K,l,y,P){var b=[],C;P?C=P:C=ce;var w=new Set(K.filter(function($){var R=!!(0,U.Z)(y,$);return R||b.push($),R})),z=new Map,W=0;Object.keys(y).forEach(function($){var R=y[$],G=R.level,O=z.get(G);O||(O=new Set,z.set(G,O)),O.add(R),W=Math.max(W,G)}),(0,i.ZP)(!b.length,"Tree missing follow keys: ".concat(b.slice(0,100).map(function($){return"'".concat($,"'")}).join(", ")));var Y;return l===!0?Y=j(w,z,W,C):Y=g(w,l.halfCheckedKeys,z,W,C),Y}},65065:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return i}});function i(U,L){return U[L]}},34061:function(Pn,Lt,u){"use strict";u.d(Lt,{F:function(){return G},H8:function(){return R},I8:function(){return $},km:function(){return b},oH:function(){return W},w$:function(){return C},zn:function(){return z}});var i=u(76190),U=u(94480),L=u(33885),ce=u(75931),j=u(11592),g=u(2738),V=u(48736),K=u(65065),l=["children"];function y(O,T){return"".concat(O,"-").concat(T)}function P(O){return O&&O.type&&O.type.isTreeNode}function b(O,T){return O!=null?O:T}function C(O){var T=O||{},ue=T.title,be=T._title,he=T.key,Ue=T.children,Qe=ue||"title";return{title:Qe,_title:be||[Qe],key:he||"key",children:Ue||"children"}}function w(O,T){var ue=new Map;function be(he){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(he||[]).forEach(function(Qe){var ke=Qe[T.key],Ze=Qe[T.children];warning(ke!=null,"Tree node must have a certain key: [".concat(Ue).concat(ke,"]"));var se=String(ke);warning(!ue.has(se)||ke===null||ke===void 0,"Same 'key' exist in the Tree: ".concat(se)),ue.set(se,!0),be(Ze,"".concat(Ue).concat(se," > "))})}be(O)}function z(O){function T(ue){var be=(0,j.Z)(ue);return be.map(function(he){if(!P(he))return(0,V.ZP)(!he,"Tree/TreeNode can only accept TreeNode as children."),null;var Ue=he.key,Qe=he.props,ke=Qe.children,Ze=(0,ce.Z)(Qe,l),se=(0,L.Z)({key:Ue},Ze),k=T(ke);return k.length&&(se.children=k),se}).filter(function(he){return he})}return T(O)}function W(O,T,ue){var be=C(ue),he=be._title,Ue=be.key,Qe=be.children,ke=new Set(T===!0?[]:T),Ze=[];function se(k){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return k.map(function(oe,ie){for(var Ee=y(I?I.pos:"0",ie),_=b(oe[Ue],Ee),A,fe=0;fe<he.length;fe+=1){var Be=he[fe];if(oe[Be]!==void 0){A=oe[Be];break}}var ft=Object.assign((0,g.Z)(oe,[].concat((0,U.Z)(he),[Ue,Qe])),{title:A,key:_,parent:I,pos:Ee,children:null,data:oe,isStart:[].concat((0,U.Z)(I?I.isStart:[]),[ie===0]),isEnd:[].concat((0,U.Z)(I?I.isEnd:[]),[ie===k.length-1])});return Ze.push(ft),T===!0||ke.has(_)?ft.children=se(oe[Qe]||[],ft):ft.children=[],ft})}return se(O),Ze}function Y(O,T,ue){var be={};(0,i.Z)(ue)==="object"?be=ue:be={externalGetKey:ue},be=be||{};var he=be,Ue=he.childrenPropName,Qe=he.externalGetKey,ke=he.fieldNames,Ze=C(ke),se=Ze.key,k=Ze.children,I=Ue||k,oe;Qe?typeof Qe=="string"?oe=function(_){return _[Qe]}:typeof Qe=="function"&&(oe=function(_){return Qe(_)}):oe=function(_,A){return b(_[se],A)};function ie(Ee,_,A,fe){var Be=Ee?Ee[I]:O,ft=Ee?y(A.pos,_):"0",At=Ee?[].concat((0,U.Z)(fe),[Ee]):[];if(Ee){var Ie=oe(Ee,ft),it={node:Ee,index:_,pos:ft,key:Ie,parentPos:A.node?A.pos:null,level:A.level+1,nodes:At};T(it)}Be&&Be.forEach(function(ht,Tt){ie(ht,Tt,{node:Ee,pos:ft,level:A?A.level+1:-1},At)})}ie(null)}function $(O){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ue=T.initWrapper,be=T.processEntity,he=T.onProcessFinished,Ue=T.externalGetKey,Qe=T.childrenPropName,ke=T.fieldNames,Ze=arguments.length>2?arguments[2]:void 0,se=Ue||Ze,k={},I={},oe={posEntities:k,keyEntities:I};return ue&&(oe=ue(oe)||oe),Y(O,function(ie){var Ee=ie.node,_=ie.index,A=ie.pos,fe=ie.key,Be=ie.parentPos,ft=ie.level,At=ie.nodes,Ie={node:Ee,nodes:At,index:_,key:fe,pos:A,level:ft},it=b(fe,A);k[A]=Ie,I[it]=Ie,Ie.parent=k[Be],Ie.parent&&(Ie.parent.children=Ie.parent.children||[],Ie.parent.children.push(Ie)),be&&be(Ie,oe)},{externalGetKey:se,childrenPropName:Qe,fieldNames:ke}),he&&he(oe),oe}function R(O,T){var ue=T.expandedKeys,be=T.selectedKeys,he=T.loadedKeys,Ue=T.loadingKeys,Qe=T.checkedKeys,ke=T.halfCheckedKeys,Ze=T.dragOverNodeKey,se=T.dropPosition,k=T.keyEntities,I=(0,K.Z)(k,O),oe={eventKey:O,expanded:ue.indexOf(O)!==-1,selected:be.indexOf(O)!==-1,loaded:he.indexOf(O)!==-1,loading:Ue.indexOf(O)!==-1,checked:Qe.indexOf(O)!==-1,halfChecked:ke.indexOf(O)!==-1,pos:String(I?I.pos:""),dragOver:Ze===O&&se===0,dragOverGapTop:Ze===O&&se===-1,dragOverGapBottom:Ze===O&&se===1};return oe}function G(O){var T=O.data,ue=O.expanded,be=O.selected,he=O.checked,Ue=O.loaded,Qe=O.loading,ke=O.halfChecked,Ze=O.dragOver,se=O.dragOverGapTop,k=O.dragOverGapBottom,I=O.pos,oe=O.active,ie=O.eventKey,Ee=(0,L.Z)((0,L.Z)({},T),{},{expanded:ue,selected:be,checked:he,loaded:Ue,loading:Qe,halfChecked:ke,dragOver:Ze,dragOverGapTop:se,dragOverGapBottom:k,pos:I,active:oe,key:ie});return"props"in Ee||Object.defineProperty(Ee,"props",{get:function(){return(0,V.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),O}}),Ee}},8224:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return U}});var i=u(4676);function U(L,ce,j,g){var V=i.unstable_batchedUpdates?function(l){i.unstable_batchedUpdates(j,l)}:j;return L!=null&&L.addEventListener&&L.addEventListener(ce,V,g),{remove:function(){L!=null&&L.removeEventListener&&L.removeEventListener(ce,V,g)}}}},3465:function(Pn,Lt,u){"use strict";u.d(Lt,{G:function(){return ce}});var i=u(47273),U=function(g){if((0,i.Z)()&&window.document.documentElement){var V=Array.isArray(g)?g:[g],K=window.document.documentElement;return V.some(function(l){return l in K.style})}return!1},L=function(g,V){if(!U(g))return!1;var K=document.createElement("div"),l=K.style[g];return K.style[g]=V,K.style[g]!==l};function ce(j,g){return!Array.isArray(j)&&g!==void 0?L(j,g):U(j)}},49658:function(Pn,Lt){"use strict";Lt.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var u=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(u)||/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(u==null?void 0:u.substr(0,4))}},48911:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return Je}});var i=u(54476),U=u(76190),L=u(33885),ce=u(20068),j=u(42978),g=u(75931),V=u(92310),K=u.n(V),l=u(29301),y=u(70425),P=u(34280),b=u(59301),C=u(4676),w=b.forwardRef(function(bt,Ge){var Ne=bt.height,ne=bt.offsetY,lt=bt.offsetX,Ke=bt.children,H=bt.prefixCls,M=bt.onInnerResize,_e=bt.innerProps,me=bt.rtl,Te=bt.extra,Fe={},Xe={display:"flex",flexDirection:"column"};return ne!==void 0&&(Fe={height:Ne,position:"relative",overflow:"hidden"},Xe=(0,L.Z)((0,L.Z)({},Xe),{},(0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)({transform:"translateY(".concat(ne,"px)")},me?"marginRight":"marginLeft",-lt),"position","absolute"),"left",0),"right",0),"top",0))),b.createElement("div",{style:Fe},b.createElement(l.Z,{onResize:function(de){var xe=de.offsetHeight;xe&&M&&M()}},b.createElement("div",(0,i.Z)({style:Xe,className:K()((0,ce.Z)({},"".concat(H,"-holder-inner"),H)),ref:Ge},_e),Ke,Te)))});w.displayName="Filler";var z=w;function W(bt){var Ge=bt.children,Ne=bt.setRef,ne=b.useCallback(function(lt){Ne(lt)},[]);return b.cloneElement(Ge,{ref:ne})}function Y(bt,Ge,Ne,ne,lt,Ke,H,M){var _e=M.getKey;return bt.slice(Ge,Ne+1).map(function(me,Te){var Fe=Ge+Te,Xe=H(me,Fe,{style:{width:ne},offsetX:lt}),gt=_e(me);return b.createElement(W,{key:gt,setRef:function(xe){return Ke(me,xe)}},Xe)})}function $(bt,Ge,Ne,ne){var lt=Ne-bt,Ke=Ge-Ne,H=Math.min(lt,Ke)*2;if(ne<=H){var M=Math.floor(ne/2);return ne%2?Ne+M+1:Ne-M}return lt>Ke?Ne-(ne-Ke):Ne+(ne-lt)}function R(bt,Ge,Ne){var ne=bt.length,lt=Ge.length,Ke,H;if(ne===0&<===0)return null;ne<lt?(Ke=bt,H=Ge):(Ke=Ge,H=bt);var M={__EMPTY_ITEM__:!0};function _e(de){return de!==void 0?Ne(de):M}for(var me=null,Te=Math.abs(ne-lt)!==1,Fe=0;Fe<H.length;Fe+=1){var Xe=_e(Ke[Fe]),gt=_e(H[Fe]);if(Xe!==gt){me=Fe,Te=Te||Xe!==_e(H[Fe+1]);break}}return me===null?null:{index:me,multiple:Te}}function G(bt,Ge,Ne){var ne=b.useState(bt),lt=(0,j.Z)(ne,2),Ke=lt[0],H=lt[1],M=b.useState(null),_e=(0,j.Z)(M,2),me=_e[0],Te=_e[1];return b.useEffect(function(){var Fe=R(Ke||[],bt||[],Ge);(Fe==null?void 0:Fe.index)!==void 0&&(Ne==null||Ne(Fe.index),Te(bt[Fe.index])),H(bt)},[bt]),[me]}var O=u(16089),T=(typeof navigator=="undefined"?"undefined":(0,U.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),ue=T,be=function(bt,Ge,Ne,ne){var lt=(0,b.useRef)(!1),Ke=(0,b.useRef)(null);function H(){clearTimeout(Ke.current),lt.current=!0,Ke.current=setTimeout(function(){lt.current=!1},50)}var M=(0,b.useRef)({top:bt,bottom:Ge,left:Ne,right:ne});return M.current.top=bt,M.current.bottom=Ge,M.current.left=Ne,M.current.right=ne,function(_e,me){var Te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Fe=_e?me<0&&M.current.left||me>0&&M.current.right:me<0&&M.current.top||me>0&&M.current.bottom;return Te&&Fe?(clearTimeout(Ke.current),lt.current=!1):(!Fe||lt.current)&&H(),!lt.current&&Fe}};function he(bt,Ge,Ne,ne,lt,Ke,H){var M=(0,b.useRef)(0),_e=(0,b.useRef)(null),me=(0,b.useRef)(null),Te=(0,b.useRef)(!1),Fe=be(Ge,Ne,ne,lt);function Xe(kt,Mt){if(O.Z.cancel(_e.current),!Fe(!1,Mt)){var mt=kt;if(!mt._virtualHandled)mt._virtualHandled=!0;else return;M.current+=Mt,me.current=Mt,ue||mt.preventDefault(),_e.current=(0,O.Z)(function(){var Gt=Te.current?10:1;H(M.current*Gt,!1),M.current=0})}}function gt(kt,Mt){H(Mt,!0),ue||kt.preventDefault()}var de=(0,b.useRef)(null),xe=(0,b.useRef)(null);function Pt(kt){if(bt){O.Z.cancel(xe.current),xe.current=(0,O.Z)(function(){de.current=null},2);var Mt=kt.deltaX,mt=kt.deltaY,Gt=kt.shiftKey,Zt=Mt,Re=mt;(de.current==="sx"||!de.current&&Gt&&mt&&!Mt)&&(Zt=mt,Re=0,de.current="sx");var pt=Math.abs(Zt),E=Math.abs(Re);de.current===null&&(de.current=Ke&&pt>E?"x":"y"),de.current==="y"?Xe(kt,Re):gt(kt,Zt)}}function xt(kt){bt&&(Te.current=kt.detail===me.current)}return[Pt,xt]}function Ue(bt,Ge,Ne,ne){var lt=b.useMemo(function(){return[new Map,[]]},[bt,Ne.id,ne]),Ke=(0,j.Z)(lt,2),H=Ke[0],M=Ke[1],_e=function(Te){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Te,Xe=H.get(Te),gt=H.get(Fe);if(Xe===void 0||gt===void 0)for(var de=bt.length,xe=M.length;xe<de;xe+=1){var Pt,xt=bt[xe],kt=Ge(xt);H.set(kt,xe);var Mt=(Pt=Ne.get(kt))!==null&&Pt!==void 0?Pt:ne;if(M[xe]=(M[xe-1]||0)+Mt,kt===Te&&(Xe=xe),kt===Fe&&(gt=xe),Xe!==void 0&>!==void 0)break}return{top:M[Xe-1]||0,bottom:M[gt]}};return _e}var Qe=u(67732),ke=u(83652),Ze=function(){function bt(){(0,Qe.Z)(this,bt),(0,ce.Z)(this,"maps",void 0),(0,ce.Z)(this,"id",0),(0,ce.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,ke.Z)(bt,[{key:"set",value:function(Ne,ne){this.diffRecords.set(Ne,this.maps[Ne]),this.maps[Ne]=ne,this.id+=1}},{key:"get",value:function(Ne){return this.maps[Ne]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),bt}(),se=Ze;function k(bt){var Ge=parseFloat(bt);return isNaN(Ge)?0:Ge}function I(bt,Ge,Ne){var ne=b.useState(0),lt=(0,j.Z)(ne,2),Ke=lt[0],H=lt[1],M=(0,b.useRef)(new Map),_e=(0,b.useRef)(new se),me=(0,b.useRef)(0);function Te(){me.current+=1}function Fe(){var gt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Te();var de=function(){var xt=!1;M.current.forEach(function(kt,Mt){if(kt&&kt.offsetParent){var mt=kt.offsetHeight,Gt=getComputedStyle(kt),Zt=Gt.marginTop,Re=Gt.marginBottom,pt=k(Zt),E=k(Re),D=mt+pt+E;_e.current.get(Mt)!==D&&(_e.current.set(Mt,D),xt=!0)}}),xt&&H(function(kt){return kt+1})};if(gt)de();else{me.current+=1;var xe=me.current;Promise.resolve().then(function(){xe===me.current&&de()})}}function Xe(gt,de){var xe=bt(gt),Pt=M.current.get(xe);de?(M.current.set(xe,de),Fe()):M.current.delete(xe),!Pt!=!de&&(de?Ge==null||Ge(gt):Ne==null||Ne(gt))}return(0,b.useEffect)(function(){return Te},[]),[Xe,Fe,_e.current,Ke]}var oe=14/15;function ie(bt,Ge,Ne){var ne=(0,b.useRef)(!1),lt=(0,b.useRef)(0),Ke=(0,b.useRef)(0),H=(0,b.useRef)(null),M=(0,b.useRef)(null),_e,me=function(gt){if(ne.current){var de=Math.ceil(gt.touches[0].pageX),xe=Math.ceil(gt.touches[0].pageY),Pt=lt.current-de,xt=Ke.current-xe,kt=Math.abs(Pt)>Math.abs(xt);kt?lt.current=de:Ke.current=xe;var Mt=Ne(kt,kt?Pt:xt,!1,gt);Mt&>.preventDefault(),clearInterval(M.current),Mt&&(M.current=setInterval(function(){kt?Pt*=oe:xt*=oe;var mt=Math.floor(kt?Pt:xt);(!Ne(kt,mt,!0)||Math.abs(mt)<=.1)&&clearInterval(M.current)},16))}},Te=function(){ne.current=!1,_e()},Fe=function(gt){_e(),gt.touches.length===1&&!ne.current&&(ne.current=!0,lt.current=Math.ceil(gt.touches[0].pageX),Ke.current=Math.ceil(gt.touches[0].pageY),H.current=gt.target,H.current.addEventListener("touchmove",me,{passive:!1}),H.current.addEventListener("touchend",Te,{passive:!0}))};_e=function(){H.current&&(H.current.removeEventListener("touchmove",me),H.current.removeEventListener("touchend",Te))},(0,P.Z)(function(){return bt&&Ge.current.addEventListener("touchstart",Fe,{passive:!0}),function(){var Xe;(Xe=Ge.current)===null||Xe===void 0||Xe.removeEventListener("touchstart",Fe),_e(),clearInterval(M.current)}},[bt])}function Ee(bt){return Math.floor(Math.pow(bt,.5))}function _(bt,Ge){var Ne="touches"in bt?bt.touches[0]:bt;return Ne[Ge?"pageX":"pageY"]-window[Ge?"scrollX":"scrollY"]}function A(bt,Ge,Ne){b.useEffect(function(){var ne=Ge.current;if(bt&&ne){var lt=!1,Ke,H,M=function(){O.Z.cancel(Ke)},_e=function Xe(){M(),Ke=(0,O.Z)(function(){Ne(H),Xe()})},me=function(){lt=!1,M()},Te=function(gt){if(!(gt.target.draggable||gt.button!==0)){var de=gt;de._virtualHandled||(de._virtualHandled=!0,lt=!0)}},Fe=function(gt){if(lt){var de=_(gt,!1),xe=ne.getBoundingClientRect(),Pt=xe.top,xt=xe.bottom;if(de<=Pt){var kt=Pt-de;H=-Ee(kt),_e()}else if(de>=xt){var Mt=de-xt;H=Ee(Mt),_e()}else M()}};return ne.addEventListener("mousedown",Te),ne.ownerDocument.addEventListener("mouseup",me),ne.ownerDocument.addEventListener("mousemove",Fe),ne.ownerDocument.addEventListener("dragend",me),function(){ne.removeEventListener("mousedown",Te),ne.ownerDocument.removeEventListener("mouseup",me),ne.ownerDocument.removeEventListener("mousemove",Fe),ne.ownerDocument.removeEventListener("dragend",me),M()}}},[bt])}var fe=10;function Be(bt,Ge,Ne,ne,lt,Ke,H,M){var _e=b.useRef(),me=b.useState(null),Te=(0,j.Z)(me,2),Fe=Te[0],Xe=Te[1];return(0,P.Z)(function(){if(Fe&&Fe.times<fe){if(!bt.current){Xe(function(we){return(0,L.Z)({},we)});return}Ke();var gt=Fe.targetAlign,de=Fe.originAlign,xe=Fe.index,Pt=Fe.offset,xt=bt.current.clientHeight,kt=!1,Mt=gt,mt=null;if(xt){for(var Gt=gt||de,Zt=0,Re=0,pt=0,E=Math.min(Ge.length-1,xe),D=0;D<=E;D+=1){var rt=lt(Ge[D]);Re=Zt;var te=Ne.get(rt);pt=Re+(te===void 0?ne:te),Zt=pt}for(var Ae=Gt==="top"?Pt:xt-Pt,tn=E;tn>=0;tn-=1){var Ce=lt(Ge[tn]),Ve=Ne.get(Ce);if(Ve===void 0){kt=!0;break}if(Ae-=Ve,Ae<=0)break}switch(Gt){case"top":mt=Re-Pt;break;case"bottom":mt=pt-xt+Pt;break;default:{var ut=bt.current.scrollTop,ye=ut+xt;Re<ut?Mt="top":pt>ye&&(Mt="bottom")}}mt!==null&&H(mt),mt!==Fe.lastTop&&(kt=!0)}kt&&Xe((0,L.Z)((0,L.Z)({},Fe),{},{times:Fe.times+1,targetAlign:Mt,lastTop:mt}))}},[Fe,bt.current]),function(gt){if(gt==null){M();return}if(O.Z.cancel(_e.current),typeof gt=="number")H(gt);else if(gt&&(0,U.Z)(gt)==="object"){var de,xe=gt.align;"index"in gt?de=gt.index:de=Ge.findIndex(function(kt){return lt(kt)===gt.key});var Pt=gt.offset,xt=Pt===void 0?0:Pt;Xe({times:0,index:de,offset:xt,originAlign:xe})}}}var ft=b.forwardRef(function(bt,Ge){var Ne=bt.prefixCls,ne=bt.rtl,lt=bt.scrollOffset,Ke=bt.scrollRange,H=bt.onStartMove,M=bt.onStopMove,_e=bt.onScroll,me=bt.horizontal,Te=bt.spinSize,Fe=bt.containerSize,Xe=bt.style,gt=bt.thumbStyle,de=bt.showScrollBar,xe=b.useState(!1),Pt=(0,j.Z)(xe,2),xt=Pt[0],kt=Pt[1],Mt=b.useState(null),mt=(0,j.Z)(Mt,2),Gt=mt[0],Zt=mt[1],Re=b.useState(null),pt=(0,j.Z)(Re,2),E=pt[0],D=pt[1],rt=!ne,te=b.useRef(),Ae=b.useRef(),tn=b.useState(de),Ce=(0,j.Z)(tn,2),Ve=Ce[0],ut=Ce[1],ye=b.useRef(),we=function(){de===!0||de===!1||(clearTimeout(ye.current),ut(!0),ye.current=setTimeout(function(){ut(!1)},3e3))},tt=Ke-Fe||0,et=Fe-Te||0,X=b.useMemo(function(){if(lt===0||tt===0)return 0;var _t=lt/tt;return _t*et},[lt,tt,et]),St=function(dt){dt.stopPropagation(),dt.preventDefault()},Se=b.useRef({top:X,dragging:xt,pageY:Gt,startTop:E});Se.current={top:X,dragging:xt,pageY:Gt,startTop:E};var Wt=function(dt){kt(!0),Zt(_(dt,me)),D(Se.current.top),H(),dt.stopPropagation(),dt.preventDefault()};b.useEffect(function(){var _t=function(Ot){Ot.preventDefault()},dt=te.current,nt=Ae.current;return dt.addEventListener("touchstart",_t,{passive:!1}),nt.addEventListener("touchstart",Wt,{passive:!1}),function(){dt.removeEventListener("touchstart",_t),nt.removeEventListener("touchstart",Wt)}},[]);var Kt=b.useRef();Kt.current=tt;var Rt=b.useRef();Rt.current=et,b.useEffect(function(){if(xt){var _t,dt=function(Ot){var zt=Se.current,J=zt.dragging,pe=zt.pageY,It=zt.startTop;O.Z.cancel(_t);var Pe=te.current.getBoundingClientRect(),Le=Fe/(me?Pe.width:Pe.height);if(J){var re=(_(Ot,me)-pe)*Le,De=It;!rt&&me?De-=re:De+=re;var $e=Kt.current,je=Rt.current,st=je?De/je:0,qt=Math.ceil(st*$e);qt=Math.max(qt,0),qt=Math.min(qt,$e),_t=(0,O.Z)(function(){_e(qt,me)})}},nt=function(){kt(!1),M()};return window.addEventListener("mousemove",dt,{passive:!0}),window.addEventListener("touchmove",dt,{passive:!0}),window.addEventListener("mouseup",nt,{passive:!0}),window.addEventListener("touchend",nt,{passive:!0}),function(){window.removeEventListener("mousemove",dt),window.removeEventListener("touchmove",dt),window.removeEventListener("mouseup",nt),window.removeEventListener("touchend",nt),O.Z.cancel(_t)}}},[xt]),b.useEffect(function(){return we(),function(){clearTimeout(ye.current)}},[lt]),b.useImperativeHandle(Ge,function(){return{delayHidden:we}});var le="".concat(Ne,"-scrollbar"),ae={position:"absolute",visibility:Ve?null:"hidden"},N={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return me?(Object.assign(ae,{height:8,left:0,right:0,bottom:0}),Object.assign(N,(0,ce.Z)({height:"100%",width:Te},rt?"left":"right",X))):(Object.assign(ae,(0,ce.Z)({width:8,top:0,bottom:0},rt?"right":"left",0)),Object.assign(N,{width:"100%",height:Te,top:X})),b.createElement("div",{ref:te,className:K()(le,(0,ce.Z)((0,ce.Z)((0,ce.Z)({},"".concat(le,"-horizontal"),me),"".concat(le,"-vertical"),!me),"".concat(le,"-visible"),Ve)),style:(0,L.Z)((0,L.Z)({},ae),Xe),onMouseDown:St,onMouseMove:we},b.createElement("div",{ref:Ae,className:K()("".concat(le,"-thumb"),(0,ce.Z)({},"".concat(le,"-thumb-moving"),xt)),style:(0,L.Z)((0,L.Z)({},N),gt),onMouseDown:Wt}))}),At=ft,Ie=20;function it(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Ne=bt/Ge*bt;return isNaN(Ne)&&(Ne=0),Ne=Math.max(Ne,Ie),Math.floor(Ne)}var ht=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Tt=[],ze={overflowY:"auto",overflowAnchor:"none"};function Jt(bt,Ge){var Ne=bt.prefixCls,ne=Ne===void 0?"rc-virtual-list":Ne,lt=bt.className,Ke=bt.height,H=bt.itemHeight,M=bt.fullHeight,_e=M===void 0?!0:M,me=bt.style,Te=bt.data,Fe=bt.children,Xe=bt.itemKey,gt=bt.virtual,de=bt.direction,xe=bt.scrollWidth,Pt=bt.component,xt=Pt===void 0?"div":Pt,kt=bt.onScroll,Mt=bt.onVirtualScroll,mt=bt.onVisibleChange,Gt=bt.innerProps,Zt=bt.extraRender,Re=bt.styles,pt=bt.showScrollBar,E=pt===void 0?"optional":pt,D=(0,g.Z)(bt,ht),rt=b.useCallback(function(dn){return typeof Xe=="function"?Xe(dn):dn==null?void 0:dn[Xe]},[Xe]),te=I(rt,null,null),Ae=(0,j.Z)(te,4),tn=Ae[0],Ce=Ae[1],Ve=Ae[2],ut=Ae[3],ye=!!(gt!==!1&&Ke&&H),we=b.useMemo(function(){return Object.values(Ve.maps).reduce(function(dn,xn){return dn+xn},0)},[Ve.id,Ve.maps]),tt=ye&&Te&&(Math.max(H*Te.length,we)>Ke||!!xe),et=de==="rtl",X=K()(ne,(0,ce.Z)({},"".concat(ne,"-rtl"),et),lt),St=Te||Tt,Se=(0,b.useRef)(),Wt=(0,b.useRef)(),Kt=(0,b.useRef)(),Rt=(0,b.useState)(0),le=(0,j.Z)(Rt,2),ae=le[0],N=le[1],_t=(0,b.useState)(0),dt=(0,j.Z)(_t,2),nt=dt[0],Ft=dt[1],Ot=(0,b.useState)(!1),zt=(0,j.Z)(Ot,2),J=zt[0],pe=zt[1],It=function(){pe(!0)},Pe=function(){pe(!1)},Le={getKey:rt};function re(dn){N(function(xn){var Gn;typeof dn=="function"?Gn=dn(xn):Gn=dn;var Xn=In(Gn);return Se.current.scrollTop=Xn,Xn})}var De=(0,b.useRef)({start:0,end:St.length}),$e=(0,b.useRef)(),je=G(St,rt),st=(0,j.Z)(je,1),qt=st[0];$e.current=qt;var ln=b.useMemo(function(){if(!ye)return{scrollHeight:void 0,start:0,end:St.length-1,offset:void 0};if(!tt){var dn;return{scrollHeight:((dn=Wt.current)===null||dn===void 0?void 0:dn.offsetHeight)||0,start:0,end:St.length-1,offset:void 0}}for(var xn=0,Gn,Xn,gr,Er=St.length,Zn=0;Zn<Er;Zn+=1){var Cr=St[Zn],wr=rt(Cr),Kr=Ve.get(wr),Fr=xn+(Kr===void 0?H:Kr);Fr>=ae&&Gn===void 0&&(Gn=Zn,Xn=xn),Fr>ae+Ke&&gr===void 0&&(gr=Zn),xn=Fr}return Gn===void 0&&(Gn=0,Xn=0,gr=Math.ceil(Ke/H)),gr===void 0&&(gr=St.length-1),gr=Math.min(gr+1,St.length-1),{scrollHeight:xn,start:Gn,end:gr,offset:Xn}},[tt,ye,ae,St,ut,Ke]),Oe=ln.scrollHeight,ot=ln.start,wt=ln.end,Qt=ln.offset;De.current.start=ot,De.current.end=wt,b.useLayoutEffect(function(){var dn=Ve.getRecord();if(dn.size===1){var xn=Array.from(dn.keys())[0],Gn=dn.get(xn),Xn=St[ot];if(Xn&&Gn===void 0){var gr=rt(Xn);if(gr===xn){var Er=Ve.get(xn),Zn=Er-H;re(function(Cr){return Cr+Zn})}}}Ve.resetRecord()},[Oe]);var Xt=b.useState({width:0,height:Ke}),Ye=(0,j.Z)(Xt,2),ct=Ye[0],Nt=Ye[1],Bt=function(xn){Nt({width:xn.offsetWidth,height:xn.offsetHeight})},Ht=(0,b.useRef)(),vt=(0,b.useRef)(),an=b.useMemo(function(){return it(ct.width,xe)},[ct.width,xe]),sn=b.useMemo(function(){return it(ct.height,Oe)},[ct.height,Oe]),gn=Oe-Ke,bn=(0,b.useRef)(gn);bn.current=gn;function In(dn){var xn=dn;return Number.isNaN(bn.current)||(xn=Math.min(xn,bn.current)),xn=Math.max(xn,0),xn}var wn=ae<=0,An=ae>=gn,Fn=nt<=0,Mn=nt>=xe,rr=be(wn,An,Fn,Mn),Rn=function(){return{x:et?-nt:nt,y:ae}},jn=(0,b.useRef)(Rn()),Yn=(0,y.zX)(function(dn){if(Mt){var xn=(0,L.Z)((0,L.Z)({},Rn()),dn);(jn.current.x!==xn.x||jn.current.y!==xn.y)&&(Mt(xn),jn.current=xn)}});function er(dn,xn){var Gn=dn;xn?((0,C.flushSync)(function(){Ft(Gn)}),Yn()):re(Gn)}function qn(dn){var xn=dn.currentTarget.scrollTop;xn!==ae&&re(xn),kt==null||kt(dn),Yn()}var Kn=function(xn){var Gn=xn,Xn=xe?xe-ct.width:0;return Gn=Math.max(Gn,0),Gn=Math.min(Gn,Xn),Gn},Ln=(0,y.zX)(function(dn,xn){xn?((0,C.flushSync)(function(){Ft(function(Gn){var Xn=Gn+(et?-dn:dn);return Kn(Xn)})}),Yn()):re(function(Gn){var Xn=Gn+dn;return Xn})}),zn=he(ye,wn,An,Fn,Mn,!!xe,Ln),hr=(0,j.Z)(zn,2),rn=hr[0],nn=hr[1];ie(ye,Se,function(dn,xn,Gn,Xn){var gr=Xn;return rr(dn,xn,Gn)?!1:!gr||!gr._virtualHandled?(gr&&(gr._virtualHandled=!0),rn({preventDefault:function(){},deltaX:dn?xn:0,deltaY:dn?0:xn}),!0):!1}),A(tt,Se,function(dn){re(function(xn){return xn+dn})}),(0,P.Z)(function(){function dn(Gn){var Xn=wn&&Gn.detail<0,gr=An&&Gn.detail>0;ye&&!Xn&&!gr&&Gn.preventDefault()}var xn=Se.current;return xn.addEventListener("wheel",rn,{passive:!1}),xn.addEventListener("DOMMouseScroll",nn,{passive:!0}),xn.addEventListener("MozMousePixelScroll",dn,{passive:!1}),function(){xn.removeEventListener("wheel",rn),xn.removeEventListener("DOMMouseScroll",nn),xn.removeEventListener("MozMousePixelScroll",dn)}},[ye,wn,An]),(0,P.Z)(function(){if(xe){var dn=Kn(nt);Ft(dn),Yn({x:dn})}},[ct.width,xe]);var pn=function(){var xn,Gn;(xn=Ht.current)===null||xn===void 0||xn.delayHidden(),(Gn=vt.current)===null||Gn===void 0||Gn.delayHidden()},or=Be(Se,St,Ve,H,rt,function(){return Ce(!0)},re,pn);b.useImperativeHandle(Ge,function(){return{nativeElement:Kt.current,getScrollInfo:Rn,scrollTo:function(xn){function Gn(Xn){return Xn&&(0,U.Z)(Xn)==="object"&&("left"in Xn||"top"in Xn)}Gn(xn)?(xn.left!==void 0&&Ft(Kn(xn.left)),or(xn.top)):or(xn)}}}),(0,P.Z)(function(){if(mt){var dn=St.slice(ot,wt+1);mt(dn,St)}},[ot,wt,St]);var tr=Ue(St,rt,Ve,H),ur=Zt==null?void 0:Zt({start:ot,end:wt,virtual:tt,offsetX:nt,offsetY:Qt,rtl:et,getSize:tr}),lr=Y(St,ot,wt,xe,nt,tn,Fe,Le),Un=null;Ke&&(Un=(0,L.Z)((0,ce.Z)({},_e?"height":"maxHeight",Ke),ze),ye&&(Un.overflowY="hidden",xe&&(Un.overflowX="hidden"),J&&(Un.pointerEvents="none")));var fn={};return et&&(fn.dir="rtl"),b.createElement("div",(0,i.Z)({ref:Kt,style:(0,L.Z)((0,L.Z)({},me),{},{position:"relative"}),className:X},fn,D),b.createElement(l.Z,{onResize:Bt},b.createElement(xt,{className:"".concat(ne,"-holder"),style:Un,ref:Se,onScroll:qn,onMouseEnter:pn},b.createElement(z,{prefixCls:ne,height:Oe,offsetX:nt,offsetY:Qt,scrollWidth:xe,onInnerResize:Ce,ref:Wt,innerProps:Gt,rtl:et,extra:ur},lr))),tt&&Oe>Ke&&b.createElement(At,{ref:Ht,prefixCls:ne,scrollOffset:ae,scrollRange:Oe,rtl:et,onScroll:er,onStartMove:It,onStopMove:Pe,spinSize:sn,containerSize:ct.height,style:Re==null?void 0:Re.verticalScrollBar,thumbStyle:Re==null?void 0:Re.verticalScrollBarThumb,showScrollBar:E}),tt&&xe>ct.width&&b.createElement(At,{ref:vt,prefixCls:ne,scrollOffset:nt,scrollRange:xe,rtl:et,onScroll:er,onStartMove:It,onStopMove:Pe,spinSize:an,containerSize:ct.width,horizontal:!0,style:Re==null?void 0:Re.horizontalScrollBar,thumbStyle:Re==null?void 0:Re.horizontalScrollBarThumb,showScrollBar:E}))}var yt=b.forwardRef(Jt);yt.displayName="List";var cn=yt,Je=cn},83145:function(Pn,Lt,u){"use strict";Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.CopyToClipboard=void 0;var i=L(u(59301)),U=L(u(25769));function L(R){return R&&R.__esModule?R:{default:R}}function ce(R){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ce=function(O){return typeof O}:ce=function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},ce(R)}function j(R,G){var O=Object.keys(R);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(R);G&&(T=T.filter(function(ue){return Object.getOwnPropertyDescriptor(R,ue).enumerable})),O.push.apply(O,T)}return O}function g(R){for(var G=1;G<arguments.length;G++){var O=arguments[G]!=null?arguments[G]:{};G%2?j(O,!0).forEach(function(T){Y(R,T,O[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(O)):j(O).forEach(function(T){Object.defineProperty(R,T,Object.getOwnPropertyDescriptor(O,T))})}return R}function V(R,G){if(R==null)return{};var O=K(R,G),T,ue;if(Object.getOwnPropertySymbols){var be=Object.getOwnPropertySymbols(R);for(ue=0;ue<be.length;ue++)T=be[ue],!(G.indexOf(T)>=0)&&Object.prototype.propertyIsEnumerable.call(R,T)&&(O[T]=R[T])}return O}function K(R,G){if(R==null)return{};var O={},T=Object.keys(R),ue,be;for(be=0;be<T.length;be++)ue=T[be],!(G.indexOf(ue)>=0)&&(O[ue]=R[ue]);return O}function l(R,G){if(!(R instanceof G))throw new TypeError("Cannot call a class as a function")}function y(R,G){for(var O=0;O<G.length;O++){var T=G[O];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(R,T.key,T)}}function P(R,G,O){return G&&y(R.prototype,G),O&&y(R,O),R}function b(R,G){return G&&(ce(G)==="object"||typeof G=="function")?G:w(R)}function C(R){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)},C(R)}function w(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function z(R,G){if(typeof G!="function"&&G!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(G&&G.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),G&&W(R,G)}function W(R,G){return W=Object.setPrototypeOf||function(T,ue){return T.__proto__=ue,T},W(R,G)}function Y(R,G,O){return G in R?Object.defineProperty(R,G,{value:O,enumerable:!0,configurable:!0,writable:!0}):R[G]=O,R}var $=function(R){z(G,R);function G(){var O,T;l(this,G);for(var ue=arguments.length,be=new Array(ue),he=0;he<ue;he++)be[he]=arguments[he];return T=b(this,(O=C(G)).call.apply(O,[this].concat(be))),Y(w(T),"onClick",function(Ue){var Qe=T.props,ke=Qe.text,Ze=Qe.onCopy,se=Qe.children,k=Qe.options,I=i.default.Children.only(se),oe=(0,U.default)(ke,k);Ze&&Ze(ke,oe),I&&I.props&&typeof I.props.onClick=="function"&&I.props.onClick(Ue)}),T}return P(G,[{key:"render",value:function(){var T=this.props,ue=T.text,be=T.onCopy,he=T.options,Ue=T.children,Qe=V(T,["text","onCopy","options","children"]),ke=i.default.Children.only(Ue);return i.default.cloneElement(ke,g({},Qe,{onClick:this.onClick}))}}]),G}(i.default.PureComponent);Lt.CopyToClipboard=$,Y($,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Pn,Lt,u){"use strict";var i=u(83145),U=i.CopyToClipboard;U.CopyToClipboard=U,Pn.exports=U},76374:function(Pn,Lt,u){"use strict";var i=function(){if(typeof Map!="undefined")return Map;function se(k,I){var oe=-1;return k.some(function(ie,Ee){return ie[0]===I?(oe=Ee,!0):!1}),oe}return function(){function k(){this.__entries__=[]}return Object.defineProperty(k.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),k.prototype.get=function(I){var oe=se(this.__entries__,I),ie=this.__entries__[oe];return ie&&ie[1]},k.prototype.set=function(I,oe){var ie=se(this.__entries__,I);~ie?this.__entries__[ie][1]=oe:this.__entries__.push([I,oe])},k.prototype.delete=function(I){var oe=this.__entries__,ie=se(oe,I);~ie&&oe.splice(ie,1)},k.prototype.has=function(I){return!!~se(this.__entries__,I)},k.prototype.clear=function(){this.__entries__.splice(0)},k.prototype.forEach=function(I,oe){oe===void 0&&(oe=null);for(var ie=0,Ee=this.__entries__;ie<Ee.length;ie++){var _=Ee[ie];I.call(oe,_[1],_[0])}},k}()}(),U=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,L=function(){return typeof u.g!="undefined"&&u.g.Math===Math?u.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),ce=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(L):function(se){return setTimeout(function(){return se(Date.now())},1e3/60)}}(),j=2;function g(se,k){var I=!1,oe=!1,ie=0;function Ee(){I&&(I=!1,se()),oe&&A()}function _(){ce(Ee)}function A(){var fe=Date.now();if(I){if(fe-ie<j)return;oe=!0}else I=!0,oe=!1,setTimeout(_,k);ie=fe}return A}var V=20,K=["top","right","bottom","left","width","height","size","weight"],l=typeof MutationObserver!="undefined",y=function(){function se(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=g(this.refresh.bind(this),V)}return se.prototype.addObserver=function(k){~this.observers_.indexOf(k)||this.observers_.push(k),this.connected_||this.connect_()},se.prototype.removeObserver=function(k){var I=this.observers_,oe=I.indexOf(k);~oe&&I.splice(oe,1),!I.length&&this.connected_&&this.disconnect_()},se.prototype.refresh=function(){var k=this.updateObservers_();k&&this.refresh()},se.prototype.updateObservers_=function(){var k=this.observers_.filter(function(I){return I.gatherActive(),I.hasActive()});return k.forEach(function(I){return I.broadcastActive()}),k.length>0},se.prototype.connect_=function(){!U||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(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)},se.prototype.disconnect_=function(){!U||!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)},se.prototype.onTransitionEnd_=function(k){var I=k.propertyName,oe=I===void 0?"":I,ie=K.some(function(Ee){return!!~oe.indexOf(Ee)});ie&&this.refresh()},se.getInstance=function(){return this.instance_||(this.instance_=new se),this.instance_},se.instance_=null,se}(),P=function(se,k){for(var I=0,oe=Object.keys(k);I<oe.length;I++){var ie=oe[I];Object.defineProperty(se,ie,{value:k[ie],enumerable:!1,writable:!1,configurable:!0})}return se},b=function(se){var k=se&&se.ownerDocument&&se.ownerDocument.defaultView;return k||L},C=ue(0,0,0,0);function w(se){return parseFloat(se)||0}function z(se){for(var k=[],I=1;I<arguments.length;I++)k[I-1]=arguments[I];return k.reduce(function(oe,ie){var Ee=se["border-"+ie+"-width"];return oe+w(Ee)},0)}function W(se){for(var k=["top","right","bottom","left"],I={},oe=0,ie=k;oe<ie.length;oe++){var Ee=ie[oe],_=se["padding-"+Ee];I[Ee]=w(_)}return I}function Y(se){var k=se.getBBox();return ue(0,0,k.width,k.height)}function $(se){var k=se.clientWidth,I=se.clientHeight;if(!k&&!I)return C;var oe=b(se).getComputedStyle(se),ie=W(oe),Ee=ie.left+ie.right,_=ie.top+ie.bottom,A=w(oe.width),fe=w(oe.height);if(oe.boxSizing==="border-box"&&(Math.round(A+Ee)!==k&&(A-=z(oe,"left","right")+Ee),Math.round(fe+_)!==I&&(fe-=z(oe,"top","bottom")+_)),!G(se)){var Be=Math.round(A+Ee)-k,ft=Math.round(fe+_)-I;Math.abs(Be)!==1&&(A-=Be),Math.abs(ft)!==1&&(fe-=ft)}return ue(ie.left,ie.top,A,fe)}var R=function(){return typeof SVGGraphicsElement!="undefined"?function(se){return se instanceof b(se).SVGGraphicsElement}:function(se){return se instanceof b(se).SVGElement&&typeof se.getBBox=="function"}}();function G(se){return se===b(se).document.documentElement}function O(se){return U?R(se)?Y(se):$(se):C}function T(se){var k=se.x,I=se.y,oe=se.width,ie=se.height,Ee=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,_=Object.create(Ee.prototype);return P(_,{x:k,y:I,width:oe,height:ie,top:I,right:k+oe,bottom:ie+I,left:k}),_}function ue(se,k,I,oe){return{x:se,y:k,width:I,height:oe}}var be=function(){function se(k){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ue(0,0,0,0),this.target=k}return se.prototype.isActive=function(){var k=O(this.target);return this.contentRect_=k,k.width!==this.broadcastWidth||k.height!==this.broadcastHeight},se.prototype.broadcastRect=function(){var k=this.contentRect_;return this.broadcastWidth=k.width,this.broadcastHeight=k.height,k},se}(),he=function(){function se(k,I){var oe=T(I);P(this,{target:k,contentRect:oe})}return se}(),Ue=function(){function se(k,I,oe){if(this.activeObservations_=[],this.observations_=new i,typeof k!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=k,this.controller_=I,this.callbackCtx_=oe}return se.prototype.observe=function(k){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(k instanceof b(k).Element))throw new TypeError('parameter 1 is not of type "Element".');var I=this.observations_;I.has(k)||(I.set(k,new be(k)),this.controller_.addObserver(this),this.controller_.refresh())}},se.prototype.unobserve=function(k){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(k instanceof b(k).Element))throw new TypeError('parameter 1 is not of type "Element".');var I=this.observations_;I.has(k)&&(I.delete(k),I.size||this.controller_.removeObserver(this))}},se.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},se.prototype.gatherActive=function(){var k=this;this.clearActive(),this.observations_.forEach(function(I){I.isActive()&&k.activeObservations_.push(I)})},se.prototype.broadcastActive=function(){if(this.hasActive()){var k=this.callbackCtx_,I=this.activeObservations_.map(function(oe){return new he(oe.target,oe.broadcastRect())});this.callback_.call(k,I,k),this.clearActive()}},se.prototype.clearActive=function(){this.activeObservations_.splice(0)},se.prototype.hasActive=function(){return this.activeObservations_.length>0},se}(),Qe=typeof WeakMap!="undefined"?new WeakMap:new i,ke=function(){function se(k){if(!(this instanceof se))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var I=y.getInstance(),oe=new Ue(k,I,this);Qe.set(this,oe)}return se}();["observe","unobserve","disconnect"].forEach(function(se){ke.prototype[se]=function(){var k;return(k=Qe.get(this))[se].apply(k,arguments)}});var Ze=function(){return typeof L.ResizeObserver!="undefined"?L.ResizeObserver:ke}();Lt.Z=Ze},38710:function(Pn){var Lt=function(u){return u.replace(/[A-Z]/g,function(i){return"-"+i.toLowerCase()}).toLowerCase()};Pn.exports=Lt},98040:function(Pn){Pn.exports=function(){var Lt=document.getSelection();if(!Lt.rangeCount)return function(){};for(var u=document.activeElement,i=[],U=0;U<Lt.rangeCount;U++)i.push(Lt.getRangeAt(U));switch(u.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":u.blur();break;default:u=null;break}return Lt.removeAllRanges(),function(){Lt.type==="Caret"&&Lt.removeAllRanges(),Lt.rangeCount||i.forEach(function(L){Lt.addRange(L)}),u&&u.focus()}}},93314:function(Pn){"use strict";Pn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coq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tUgAAAAASUVORK5CYII="},19251:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return U}});var i=u(3208);function U(L,ce){var j=typeof Symbol!="undefined"&&L[Symbol.iterator]||L["@@iterator"];if(!j){if(Array.isArray(L)||(j=(0,i.Z)(L))||ce&&L&&typeof L.length=="number"){j&&(L=j);var g=0,V=function(){};return{s:V,n:function(){return g>=L.length?{done:!0}:{done:!1,value:L[g++]}},e:function(b){throw b},f:V}}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 K,l=!0,y=!1;return{s:function(){j=j.call(L)},n:function(){var b=j.next();return l=b.done,b},e:function(b){y=!0,K=b},f:function(){try{l||j.return==null||j.return()}finally{if(y)throw K}}}}},17030:function(Pn,Lt,u){"use strict";u.d(Lt,{ZP:function(){return bo}});const i=Number.isFinite||function(o){return typeof o=="number"&&isFinite(o)},U=Number.isSafeInteger||function(o){return typeof o=="number"&&Math.abs(o)<=L},L=Number.MAX_SAFE_INTEGER||9007199254740991;let ce=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}({}),j=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.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",o.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",o.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",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.ASSET_LIST_LOAD_ERROR="assetListLoadError",o.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",o.ASSET_LIST_PARSING_ERROR="assetListParsingError",o.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",o.INTERNAL_EXCEPTION="internalException",o.INTERNAL_ABORTED="aborted",o.ATTACH_MEDIA_ERROR="attachMediaError",o.UNKNOWN="unknown",o}({}),g=function(o){return o.MEDIA_ATTACHING="hlsMediaAttaching",o.MEDIA_ATTACHED="hlsMediaAttached",o.MEDIA_DETACHING="hlsMediaDetaching",o.MEDIA_DETACHED="hlsMediaDetached",o.MEDIA_ENDED="hlsMediaEnded",o.STALL_RESOLVED="hlsStallResolved",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.BUFFERED_TO_END="hlsBufferedToEnd",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.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",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_TRACK_UPDATED="hlsSubtitleTrackUpdated",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.ASSET_LIST_LOADING="hlsAssetListLoading",o.ASSET_LIST_LOADED="hlsAssetListLoaded",o.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",o.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",o.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",o.INTERSTITIAL_STARTED="hlsInterstitialStarted",o.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",o.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",o.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",o.INTERSTITIAL_ENDED="hlsInterstitialEnded",o.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",o.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",o.EVENT_CUE_ENTER="hlsEventCueEnter",o}({});var V={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},K={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};class l{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 y{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 l(e),this.fast_=new l(t),this.defaultTTFB_=r,this.ttfb_=new l(e)}update(e,t){const{slow_:n,fast_:r,ttfb_:a}=this;n.halfLife!==e&&(this.slow_=new l(e,n.getEstimate(),n.getTotalWeight())),r.halfLife!==t&&(this.fast_=new l(t,r.getEstimate(),r.getTotalWeight())),a.halfLife!==e&&(this.ttfb_=new l(e,a.getEstimate(),a.getTotalWeight()))}sample(e,t){e=Math.max(e,this.minDelayMs_);const n=8*t,r=e/1e3,a=n/r;this.fast_.sample(r,a),this.slow_.sample(r,a)}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_}get defaultEstimate(){return this.defaultEstimate_}destroy(){}}function P(o,e,t){return(e=W(e))in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function b(){return b=Object.assign?Object.assign.bind():function(o){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)({}).hasOwnProperty.call(t,n)&&(o[n]=t[n])}return o},b.apply(null,arguments)}function C(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 w(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?C(Object(t),!0).forEach(function(n){P(o,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):C(Object(t)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(t,n))})}return o}function z(o,e){if(typeof o!="object"||!o)return o;var t=o[Symbol.toPrimitive];if(t!==void 0){var n=t.call(o,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function W(o){var e=z(o,"string");return typeof e=="symbol"?e:e+""}class Y{constructor(e,t){this.trace=void 0,this.debug=void 0,this.log=void 0,this.warn=void 0,this.info=void 0,this.error=void 0;const n=`[${e}]:`;this.trace=$,this.debug=t.debug.bind(null,n),this.log=t.log.bind(null,n),this.warn=t.warn.bind(null,n),this.info=t.info.bind(null,n),this.error=t.error.bind(null,n)}}const $=function(){},R={trace:$,debug:$,log:$,warn:$,info:$,error:$};function G(){return b({},R)}function O(o,e){const t=self.console[o];return t?t.bind(self.console,`${e?"["+e+"] ":""}[${o}] >`):$}function T(o,e,t){return e[o]?e[o].bind(e):O(o,t)}const ue=G();function be(o,e,t){const n=G();if(typeof console=="object"&&o===!0||typeof o=="object"){const r=["debug","log","info","warn","error"];r.forEach(a=>{n[a]=T(a,o,t)});try{n.log(`Debug logs enabled for "${e}" in hls.js version 1.6.14`)}catch(a){return G()}r.forEach(a=>{ue[a]=T(a,o)})}else b(ue,n);return n}const he=ue;function Ue(o=!0){return typeof self=="undefined"?void 0:(o||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function Qe(o){return typeof self!="undefined"&&o===self.ManagedMediaSource}function ke(o,e){const t=Object.keys(o),n=Object.keys(e),r=t.length,a=n.length;return!r||!a||r===a&&!t.some(s=>n.indexOf(s)===-1)}function Ze(o,e=!1){if(typeof TextDecoder!="undefined"){const m=new TextDecoder("utf-8").decode(o);if(e){const v=m.indexOf("\0");return v!==-1?m.substring(0,v):m}return m.replace(/\0/g,"")}const t=o.length;let n,r,a,s="",d=0;for(;d<t;){if(n=o[d++],n===0&&e)return s;if(n===0||n===3)continue;switch(n>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:s+=String.fromCharCode(n);break;case 12:case 13:r=o[d++],s+=String.fromCharCode((n&31)<<6|r&63);break;case 14:r=o[d++],a=o[d++],s+=String.fromCharCode((n&15)<<12|(r&63)<<6|(a&63)<<0);break}}return s}function se(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}function k(o){return Uint8Array.from(o.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}function I(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var oe={exports:{}},ie;function Ee(){return ie||(ie=1,function(o,e){(function(t){var n=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,r=/^(?=([^\/?#]*))\1([^]*)$/,a=/(?:\/|^)\.(?=\/)/g,s=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,d={buildAbsoluteURL:function(p,m,v){if(v=v||{},p=p.trim(),m=m.trim(),!m){if(!v.alwaysNormalize)return p;var S=d.parseURL(p);if(!S)throw new Error("Error trying to parse base URL.");return S.path=d.normalizePath(S.path),d.buildURLFromParts(S)}var F=d.parseURL(m);if(!F)throw new Error("Error trying to parse relative URL.");if(F.scheme)return v.alwaysNormalize?(F.path=d.normalizePath(F.path),d.buildURLFromParts(F)):m;var q=d.parseURL(p);if(!q)throw new Error("Error trying to parse base URL.");if(!q.netLoc&&q.path&&q.path[0]!=="/"){var ee=r.exec(q.path);q.netLoc=ee[1],q.path=ee[2]}q.netLoc&&!q.path&&(q.path="/");var We={scheme:q.scheme,netLoc:F.netLoc,path:null,params:F.params,query:F.query,fragment:F.fragment};if(!F.netLoc&&(We.netLoc=q.netLoc,F.path[0]!=="/"))if(!F.path)We.path=q.path,F.params||(We.params=q.params,F.query||(We.query=q.query));else{var He=q.path,Dt=He.substring(0,He.lastIndexOf("/")+1)+F.path;We.path=d.normalizePath(Dt)}return We.path===null&&(We.path=v.alwaysNormalize?d.normalizePath(F.path):F.path),d.buildURLFromParts(We)},parseURL:function(p){var m=n.exec(p);return m?{scheme:m[1]||"",netLoc:m[2]||"",path:m[3]||"",params:m[4]||"",query:m[5]||"",fragment:m[6]||""}:null},normalizePath:function(p){for(p=p.split("").reverse().join("").replace(a,"");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=d})()}(oe)),oe.exports}var _=Ee();class A{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 fe={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class Be{constructor(e){this._byteRange=null,this._url=null,this._stats=null,this._streams=null,this.base=void 0,this.relurl=void 0,typeof e=="string"&&(e={url:e}),this.base=e,ht(this,"stats")}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 baseurl(){return this.base.url}get byteRange(){return this._byteRange===null?[]:this._byteRange}get byteRangeStartOffset(){return this.byteRange[0]}get byteRangeEndOffset(){return this.byteRange[1]}get elementaryStreams(){return this._streams===null&&(this._streams={[fe.AUDIO]:null,[fe.VIDEO]:null,[fe.AUDIOVIDEO]:null}),this._streams}set elementaryStreams(e){this._streams=e}get hasStats(){return this._stats!==null}get hasStreams(){return this._streams!==null}get stats(){return this._stats===null&&(this._stats=new A),this._stats}set stats(e){this._stats=e}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=_.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(e){this._url=e}clearElementaryStreamInfo(){const{elementaryStreams:e}=this;e[fe.AUDIO]=null,e[fe.VIDEO]=null,e[fe.AUDIOVIDEO]=null}}function ft(o){return o.sn!=="initSegment"}class At extends Be{constructor(e,t){super(t),this._decryptdata=null,this._programDateTime=null,this._ref=null,this._bitrate=void 0,this.rawProgramDateTime=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.playlistOffset=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,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 byteLength(){if(this.hasStats){const e=this.stats.total;if(e)return e}if(this.byteRange.length){const e=this.byteRange[0],t=this.byteRange[1];if(i(e)&&i(t))return t-e}return null}get bitrate(){return this.byteLength?this.byteLength*8/this.duration:this._bitrate?this._bitrate:null}set bitrate(e){this._bitrate=e}get decryptdata(){var e;const{levelkeys:t}=this;if(!t||t.NONE)return null;if(t.identity)this._decryptdata||(this._decryptdata=t.identity.getDecryptData(this.sn));else if(!((e=this._decryptdata)!=null&&e.keyId)){const n=Object.keys(t);if(n.length===1){const r=this._decryptdata=t[n[0]]||null;r&&(this._decryptdata=r.getDecryptData(this.sn,t))}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(this.programDateTime===null)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){var t;const n=Object.keys(this.levelkeys),r=n.length;if(r>1||r===1&&(t=this.levelkeys[n[0]])!=null&&t.encrypted)return!0}return!1}get programDateTime(){return this._programDateTime===null&&this.rawProgramDateTime&&(this.programDateTime=Date.parse(this.rawProgramDateTime)),this._programDateTime}set programDateTime(e){if(!i(e)){this._programDateTime=this.rawProgramDateTime=null;return}this._programDateTime=e}get ref(){return ft(this)?(this._ref||(this._ref={base:this.base,start:this.start,duration:this.duration,sn:this.sn,programDateTime:this.programDateTime}),this._ref):null}addStart(e){this.setStart(this.start+e)}setStart(e){this.start=e,this._ref&&(this._ref.start=e)}setDuration(e){this.duration=e,this._ref&&(this._ref.duration=e)}setKeyFormat(e){const t=this.levelkeys;if(t){var n;const r=t[e];r&&!((n=this._decryptdata)!=null&&n.keyId)&&(this._decryptdata=r.getDecryptData(this.sn,t))}}abortRequests(){var e,t;(e=this.loader)==null||e.abort(),(t=this.keyLoader)==null||t.abort()}setElementaryStreamInfo(e,t,n,r,a,s=!1){const{elementaryStreams:d}=this,p=d[e];if(!p){d[e]={startPTS:t,endPTS:n,startDTS:r,endDTS:a,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,a)}}class Ie extends Be{constructor(e,t,n,r,a){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.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,a),a&&(this.fragOffset=a.fragOffset+a.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)}}function it(o,e){const t=Object.getPrototypeOf(o);if(t){const n=Object.getOwnPropertyDescriptor(t,e);return n||it(t,e)}}function ht(o,e){const t=it(o,e);t&&(t.enumerable=!0,Object.defineProperty(o,e,t))}const Tt=Math.pow(2,32)-1,ze=[].push,Jt={video:1,audio:2,id3:3,text:4};function yt(o){return String.fromCharCode.apply(null,o)}function cn(o,e){const t=o[e]<<8|o[e+1];return t<0?65536+t:t}function Je(o,e){const t=Ge(o,e);return t<0?4294967296+t:t}function bt(o,e){let t=Je(o,e);return t*=Math.pow(2,32),t+=Je(o,e+4),t}function Ge(o,e){return o[e]<<24|o[e+1]<<16|o[e+2]<<8|o[e+3]}function Ne(o){const e=o.byteLength;for(let t=0;t<e;){const n=Je(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 ne(o,e){const t=[];if(!e.length)return t;const n=o.byteLength;for(let r=0;r<n;){const a=Je(o,r),s=yt(o.subarray(r+4,r+8)),d=a>1?r+a:n;if(s===e[0])if(e.length===1)t.push(o.subarray(r+8,d));else{const p=ne(o.subarray(r+8,d),e.slice(1));p.length&&ze.apply(t,p)}r=d}return t}function lt(o){const e=[],t=o[0];let n=8;const r=Je(o,n);n+=4;let a=0,s=0;t===0?(a=Je(o,n),s=Je(o,n+4),n+=8):(a=bt(o,n),s=bt(o,n+8),n+=16),n+=2;let d=o.length+s;const p=cn(o,n);n+=2;for(let m=0;m<p;m++){let v=n;const S=Je(o,v);v+=4;const F=S&2147483647;if((S&2147483648)>>>31===1)return he.warn("SIDX has hierarchical references (not supported)"),null;const ee=Je(o,v);v+=4,e.push({referenceSize:F,subsegmentDuration:ee,info:{duration:ee/r,start:d,end:d+F-1}}),d+=F,v+=4,n=v}return{earliestPresentationTime:a,timescale:r,version:t,referencesCount:p,references:e}}function Ke(o){const e=[],t=ne(o,["moov","trak"]);for(let r=0;r<t.length;r++){const a=t[r],s=ne(a,["tkhd"])[0];if(s){let d=s[0];const p=Je(s,d===0?12:20),m=ne(a,["mdia","mdhd"])[0];if(m){d=m[0];const v=Je(m,d===0?12:20),S=ne(a,["mdia","hdlr"])[0];if(S){const F=yt(S.subarray(8,12)),q={soun:fe.AUDIO,vide:fe.VIDEO}[F],ee=ne(a,["mdia","minf","stbl","stsd"])[0],We=H(ee);q?(e[p]={timescale:v,type:q,stsd:We},e[q]=w({timescale:v,id:p},We)):e[p]={timescale:v,type:F,stsd:We}}}}}return ne(o,["moov","mvex","trex"]).forEach(r=>{const a=Je(r,4),s=e[a];s&&(s.default={duration:Je(r,12),flags:Je(r,20)})}),e}function H(o){const e=o.subarray(8),t=e.subarray(86),n=yt(e.subarray(4,8));let r=n,a;const s=n==="enca"||n==="encv";if(s){const m=ne(e,[n])[0].subarray(n==="enca"?28:78);ne(m,["sinf"]).forEach(S=>{const F=ne(S,["schm"])[0];if(F){const q=yt(F.subarray(4,8));if(q==="cbcs"||q==="cenc"){const ee=ne(S,["frma"])[0];ee&&(r=yt(ee))}}})}const d=r;switch(r){case"avc1":case"avc2":case"avc3":case"avc4":{const p=ne(t,["avcC"])[0];p&&p.length>3&&(r+="."+Te(p[1])+Te(p[2])+Te(p[3]),a=M(d==="avc1"?"dva1":"dvav",t));break}case"mp4a":{const p=ne(e,[n])[0],m=ne(p.subarray(28),["esds"])[0];if(m&&m.length>7){let v=4;if(m[v++]!==3)break;v=me(m,v),v+=2;const S=m[v++];if(S&128&&(v+=2),S&64&&(v+=m[v++]),m[v++]!==4)break;v=me(m,v);const F=m[v++];if(F===64)r+="."+Te(F);else break;if(v+=12,m[v++]!==5)break;v=me(m,v);const q=m[v++];let ee=(q&248)>>3;ee===31&&(ee+=1+((q&7)<<3)+((m[v]&224)>>5)),r+="."+ee}break}case"hvc1":case"hev1":{const p=ne(t,["hvcC"])[0];if(p&&p.length>12){const m=p[1],v=["","A","B","C"][m>>6],S=m&31,F=Je(p,2),q=(m&32)>>5?"H":"L",ee=p[12],We=p.subarray(6,12);r+="."+v+S,r+="."+_e(F).toString(16).toUpperCase(),r+="."+q+ee;let He="";for(let Dt=We.length;Dt--;){const Ut=We[Dt];(Ut||He)&&(He="."+Ut.toString(16).toUpperCase()+He)}r+=He}a=M(d=="hev1"?"dvhe":"dvh1",t);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{r=M(r,t)||r;break}case"vp09":{const p=ne(t,["vpcC"])[0];if(p&&p.length>6){const m=p[4],v=p[5],S=p[6]>>4&15;r+="."+Fe(m)+"."+Fe(v)+"."+Fe(S)}break}case"av01":{const p=ne(t,["av1C"])[0];if(p&&p.length>2){const m=p[1]>>>5,v=p[1]&31,S=p[2]>>>7?"H":"M",F=(p[2]&64)>>6,q=(p[2]&32)>>5,ee=m===2&&F?q?12:10:F?10:8,We=(p[2]&16)>>4,He=(p[2]&8)>>3,Dt=(p[2]&4)>>2,Ut=p[2]&3;r+="."+m+"."+Fe(v)+S+"."+Fe(ee)+"."+We+"."+He+Dt+Ut+"."+Fe(1)+"."+Fe(1)+"."+Fe(1)+"."+0,a=M("dav1",t)}break}}return{codec:r,encrypted:s,supplemental:a}}function M(o,e){const t=ne(e,["dvvC"]),n=t.length?t[0]:ne(e,["dvcC"])[0];if(n){const r=n[2]>>1&127,a=n[2]<<5&32|n[3]>>3&31;return o+"."+Fe(r)+"."+Fe(a)}}function _e(o){let e=0;for(let t=0;t<32;t++)e|=(o>>t&1)<<31-t;return e>>>0}function me(o,e){const t=e+5;for(;o[e++]&128&&e<t;);return e}function Te(o){return("0"+o.toString(16).toUpperCase()).slice(-2)}function Fe(o){return(o<10?"0":"")+o}function Xe(o,e){if(!o||!e)return;const t=e.keyId;t&&e.isCommonEncryption&&de(o,(n,r)=>{const a=n.subarray(8,24);a.some(s=>s!==0)||(he.log(`[eme] Patching keyId in 'enc${r?"a":"v"}>sinf>>tenc' box: ${se(a)} -> ${se(t)}`),n.set(t,8))})}function gt(o){const e=[];return de(o,t=>e.push(t.subarray(8,24))),e}function de(o,e){ne(o,["moov","trak"]).forEach(n=>{const r=ne(n,["mdia","minf","stbl","stsd"])[0];if(!r)return;const a=r.subarray(8);let s=ne(a,["enca"]);const d=s.length>0;d||(s=ne(a,["encv"])),s.forEach(p=>{const m=d?p.subarray(28):p.subarray(78);ne(m,["sinf"]).forEach(S=>{const F=xe(S);F&&e(F,d)})})})}function xe(o){const e=ne(o,["schm"])[0];if(e){const t=yt(e.subarray(4,8));if(t==="cbcs"||t==="cenc"){const n=ne(o,["schi","tenc"])[0];if(n)return n}}}function Pt(o,e,t){const n={},r=ne(o,["moof","traf"]);for(let a=0;a<r.length;a++){const s=r[a],d=ne(s,["tfhd"])[0],p=Je(d,4),m=e[p];if(!m)continue;n[p]||(n[p]={start:NaN,duration:0,sampleCount:0,timescale:m.timescale,type:m.type});const v=n[p],S=ne(s,["tfdt"])[0];if(S){const $t=S[0];let yn=Je(S,4);$t===1&&(yn===Tt?t.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"):(yn*=Tt+1,yn+=Je(S,8))),i(yn)&&(!i(v.start)||yn<v.start)&&(v.start=yn)}const F=m.default,q=Je(d,0)|(F==null?void 0:F.flags);let ee=(F==null?void 0:F.duration)||0;q&8&&(q&2?ee=Je(d,12):ee=Je(d,8));const We=ne(s,["trun"]);let He=v.start||0,Dt=0,Ut=ee;for(let $t=0;$t<We.length;$t++){const yn=We[$t],Tn=Je(yn,4),sr=v.sampleCount;v.sampleCount+=Tn;const Dn=yn[3]&1,Vn=yn[3]&4,$n=yn[2]&1,On=yn[2]&2,pr=yn[2]&4,$r=yn[2]&8;let oi=8,vi=Tn;for(Dn&&(oi+=4),Vn&&Tn&&(!(yn[oi+1]&1)&&v.keyFrameIndex===void 0&&(v.keyFrameIndex=sr),oi+=4,$n?(Ut=Je(yn,oi),oi+=4):Ut=ee,On&&(oi+=4),$r&&(oi+=4),He+=Ut,Dt+=Ut,vi--);vi--;)$n?(Ut=Je(yn,oi),oi+=4):Ut=ee,On&&(oi+=4),pr&&(yn[oi+1]&1||v.keyFrameIndex===void 0&&(v.keyFrameIndex=v.sampleCount-(vi+1),v.keyFrameStart=He),oi+=4),$r&&(oi+=4),He+=Ut,Dt+=Ut;!Dt&&ee&&(Dt+=ee*Tn)}v.duration+=Dt}if(!Object.keys(n).some(a=>n[a].duration)){let a=1/0,s=0;const d=ne(o,["sidx"]);for(let p=0;p<d.length;p++){const m=lt(d[p]);if(m!=null&&m.references){a=Math.min(a,m.earliestPresentationTime/m.timescale);const v=m.references.reduce((S,F)=>S+F.info.duration||0,0);s=Math.max(s,v+m.earliestPresentationTime/m.timescale)}}s&&i(s)&&Object.keys(n).forEach(p=>{n[p].duration||(n[p].duration=s*n[p].timescale-n[p].start)})}return n}function xt(o){const e={valid:null,remainder:null},t=ne(o,["moof"]);if(t.length<2)return e.remainder=o,e;const n=t[t.length-1];return e.valid=o.slice(0,n.byteOffset-8),e.remainder=o.slice(n.byteOffset-8),e}function kt(o,e){const t=new Uint8Array(o.length+e.length);return t.set(o),t.set(e,o.length),t}function Mt(o,e){const t=[],n=e.samples,r=e.timescale,a=e.id;let s=!1;return ne(n,["moof"]).map(p=>{const m=p.byteOffset-8;ne(p,["traf"]).map(S=>{const F=ne(S,["tfdt"]).map(q=>{const ee=q[0];let We=Je(q,4);return ee===1&&(We*=Math.pow(2,32),We+=Je(q,8)),We/r})[0];return F!==void 0&&(o=F),ne(S,["tfhd"]).map(q=>{const ee=Je(q,4),We=Je(q,0)&16777215,He=(We&1)!==0,Dt=(We&2)!==0,Ut=(We&8)!==0;let $t=0;const yn=(We&16)!==0;let Tn=0;const sr=(We&32)!==0;let Dn=8;ee===a&&(He&&(Dn+=8),Dt&&(Dn+=4),Ut&&($t=Je(q,Dn),Dn+=4),yn&&(Tn=Je(q,Dn),Dn+=4),sr&&(Dn+=4),e.type==="video"&&(s=mt(e.codec)),ne(S,["trun"]).map(Vn=>{const $n=Vn[0],On=Je(Vn,0)&16777215,pr=(On&1)!==0;let $r=0;const oi=(On&4)!==0,vi=(On&256)!==0;let li=0;const Br=(On&512)!==0;let ui=0;const ti=(On&1024)!==0,fi=(On&2048)!==0;let Ci=0;const Hr=Je(Vn,4);let Wr=8;pr&&($r=Je(Vn,Wr),Wr+=4),oi&&(Wr+=4);let zi=$r+m;for(let xa=0;xa<Hr;xa++){if(vi?(li=Je(Vn,Wr),Wr+=4):li=$t,Br?(ui=Je(Vn,Wr),Wr+=4):ui=Tn,ti&&(Wr+=4),fi&&($n===0?Ci=Je(Vn,Wr):Ci=Ge(Vn,Wr),Wr+=4),e.type===fe.VIDEO){let Wi=0;for(;Wi<ui;){const na=Je(n,zi);if(zi+=4,Gt(s,n[zi])){const us=n.subarray(zi,zi+na);Zt(us,s?2:1,o+Ci/r,t)}zi+=na,Wi+=na+4}}o+=li/r}}))})})}),t}function mt(o){if(!o)return!1;const e=o.substring(0,4);return e==="hvc1"||e==="hev1"||e==="dvh1"||e==="dvhe"}function Gt(o,e){if(o){const t=e>>1&63;return t===39||t===40}else return(e&31)===6}function Zt(o,e,t,n){const r=Re(o);let a=0;a+=e;let s=0,d=0,p=0;for(;a<r.length;){s=0;do{if(a>=r.length)break;p=r[a++],s+=p}while(p===255);d=0;do{if(a>=r.length)break;p=r[a++],d+=p}while(p===255);const m=r.length-a;let v=a;if(d<m)a+=d;else if(d>m){he.error(`Malformed SEI payload. ${d} is too small, only ${m} bytes left to parse.`);break}if(s===4){if(r[v++]===181){const F=cn(r,v);if(v+=2,F===49){const q=Je(r,v);if(v+=4,q===1195456820){const ee=r[v++];if(ee===3){const We=r[v++],He=31&We,Dt=64&We,Ut=Dt?2+He*3:0,$t=new Uint8Array(Ut);if(Dt){$t[0]=We;for(let yn=1;yn<Ut;yn++)$t[yn]=r[v++]}n.push({type:ee,payloadType:s,pts:t,bytes:$t})}}}}}else if(s===5&&d>16){const S=[];for(let ee=0;ee<16;ee++){const We=r[v++].toString(16);S.push(We.length==1?"0"+We:We),(ee===3||ee===5||ee===7||ee===9)&&S.push("-")}const F=d-16,q=new Uint8Array(F);for(let ee=0;ee<F;ee++)q[ee]=r[v++];n.push({payloadType:s,pts:t,uuid:S.join(""),userData:Ze(q),userDataBytes:q})}}}function Re(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,a=new Uint8Array(r);let s=0;for(n=0;n<r;s++,n++)s===t[0]&&(s++,t.shift()),a[n]=o[s];return a}function pt(o){const e=o[0];let t="",n="",r=0,a=0,s=0,d=0,p=0,m=0;if(e===0){for(;yt(o.subarray(m,m+1))!=="\0";)t+=yt(o.subarray(m,m+1)),m+=1;for(t+=yt(o.subarray(m,m+1)),m+=1;yt(o.subarray(m,m+1))!=="\0";)n+=yt(o.subarray(m,m+1)),m+=1;n+=yt(o.subarray(m,m+1)),m+=1,r=Je(o,12),a=Je(o,16),d=Je(o,20),p=Je(o,24),m=28}else if(e===1){m+=4,r=Je(o,m),m+=4;const S=Je(o,m);m+=4;const F=Je(o,m);for(m+=4,s=lc(2,32)*S+F,U(s)||(s=Number.MAX_SAFE_INTEGER,he.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),d=Je(o,m),m+=4,p=Je(o,m),m+=4;yt(o.subarray(m,m+1))!=="\0";)t+=yt(o.subarray(m,m+1)),m+=1;for(t+=yt(o.subarray(m,m+1)),m+=1;yt(o.subarray(m,m+1))!=="\0";)n+=yt(o.subarray(m,m+1)),m+=1;n+=yt(o.subarray(m,m+1)),m+=1}const v=o.subarray(m,o.byteLength);return{schemeIdUri:t,value:n,timeScale:r,presentationTime:s,presentationTimeDelta:a,eventDuration:d,id:p,payload:v}}function E(o,...e){const t=e.length;let n=8,r=t;for(;r--;)n+=e[r].byteLength;const a=new Uint8Array(n);for(a[0]=n>>24&255,a[1]=n>>16&255,a[2]=n>>8&255,a[3]=n&255,a.set(o,4),r=0,n=8;r<t;r++)a.set(e[r],n),n+=e[r].byteLength;return a}function D(o,e,t){if(o.byteLength!==16)throw new RangeError("Invalid system id");let n,r;n=0,r=new Uint8Array;let a;n>0?(a=new Uint8Array(4),e.length>0&&new DataView(a.buffer).setUint32(0,e.length,!1)):a=new Uint8Array;const s=new Uint8Array(4);return t.byteLength>0&&new DataView(s.buffer).setUint32(0,t.byteLength,!1),E([112,115,115,104],new Uint8Array([n,0,0,0]),o,a,r,s,t)}function rt(o){const e=[];if(o instanceof ArrayBuffer){const t=o.byteLength;let n=0;for(;n+32<t;){const r=new DataView(o,n),a=te(r);e.push(a),n+=a.size}}return e}function te(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 a=o.getUint32(8)>>>24;if(a!==0&&a!==1)return{offset:t,size:e};const s=o.buffer,d=se(new Uint8Array(s,t+12,16));let p=null,m=null,v=0;if(a===0)v=28;else{const F=o.getUint32(28);if(!F||n<32+F*16)return{offset:t,size:e};p=[];for(let q=0;q<F;q++)p.push(new Uint8Array(s,t+32+q*16,16));v=32+F*16}if(!v)return{offset:t,size:e};const S=o.getUint32(v);return e-32<S?{offset:t,size:e}:(m=new Uint8Array(s,t+v+4,S),{version:a,systemId:d,kids:p,data:m,offset:t,size:e})}const Ae=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),tn={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,dav1:.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 Ce(o,e){const t=tn[e];return!!t&&!!t[o.slice(0,4)]}function Ve(o,e,t=!0){return!o.split(",").some(n=>!ut(n,e,t))}function ut(o,e,t=!0){var n;const r=Ue(t);return(n=r==null?void 0:r.isTypeSupported(ye(o,e)))!=null?n:!1}function ye(o,e){return`${e}/mp4;codecs=${o}`}function we(o){if(o){const e=o.substring(0,4);return tn.video[e]}return 2}function tt(o){const e=Ae();return o.split(",").reduce((t,n)=>{const a=e&&mt(n)?9:tn.video[n];return a?(a*2+t)/(t?3:2):(tn.audio[n]+t)/(t?2:1)},0)}const et={};function X(o,e=!0){if(et[o])return et[o];const t={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[o];for(let r=0;r<t.length;r++){var n;if(ut(t[r],"audio",e))return et[o]=t[r],t[r];if(t[r]==="mp3"&&(n=Ue(e))!=null&&n.isTypeSupported("audio/mpeg"))return""}return o}const St=/flac|opus|mp4a\.40\.34/i;function Se(o,e=!0){return o.replace(St,t=>X(t.toLowerCase(),e))}function Wt(o,e){const t=[];if(o){const n=o.split(",");for(let r=0;r<n.length;r++)Ce(n[r],"video")||t.push(n[r])}return e&&t.push(e),t.join(",")}function Kt(o,e){if(o&&(o.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(o)!==-1)&&(Rt(o,"audio")||Rt(o,"video")))return o;if(e){const t=e.split(",");if(t.length>1){if(o){for(let n=t.length;n--;)if(t[n].substring(0,4)===o.substring(0,4))return t[n]}return t[0]}}return e||o}function Rt(o,e){return Ce(o,e)&&ut(o,e)}function le(o){const e=o.split(",");for(let t=0;t<e.length;t++){const n=e[t].split(".");n.length>2&&n[0]==="avc1"&&(e[t]=`avc1.${parseInt(n[1]).toString(16)}${("000"+parseInt(n[2]).toString(16)).slice(-4)}`)}return e.join(",")}function ae(o){if(o.startsWith("av01.")){const e=o.split("."),t=["0","111","01","01","01","0"];for(let n=e.length;n>4&&n<10;n++)e[n]=t[n-4];return e.join(".")}return o}function N(o){const e=Ue(o)||{isTypeSupported:()=>!1};return{mpeg:e.isTypeSupported("audio/mpeg"),mp3:e.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:e.isTypeSupported('audio/mp4; codecs="ac-3"')}}function _t(o){return o.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const dt={supported:!0,powerEfficient:!0,smooth:!0},nt={supported:!1,smooth:!1,powerEfficient:!1},Ft={supported:!0,configurations:[],decodingInfoResults:[dt]};function Ot(o,e){return{supported:!1,configurations:e,decodingInfoResults:[nt],error:o}}function zt(o,e,t,n,r,a){const s=o.videoCodec,d=o.audioCodec?o.audioGroups:null,p=a==null?void 0:a.audioCodec,m=a==null?void 0:a.channels,v=m?parseInt(m):p?1/0:2;let S=null;if(d!=null&&d.length)try{d.length===1&&d[0]?S=e.groups[d[0]].channels:S=d.reduce((F,q)=>{if(q){const ee=e.groups[q];if(!ee)throw new Error(`Audio track group ${q} not found`);Object.keys(ee.channels).forEach(We=>{F[We]=(F[We]||0)+ee.channels[We]})}return F},{2:0})}catch(F){return!0}return s!==void 0&&(s.split(",").some(F=>mt(F))||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))||!!S&&i(v)&&Object.keys(S).some(F=>parseInt(F)>v)}function J(o,e,t,n={}){const r=o.videoCodec;if(!r&&!o.audioCodec||!t)return Promise.resolve(Ft);const a=[],s=pe(o),d=s.length,p=It(o,e,d>0),m=p.length;for(let v=d||1*m||1;v--;){const S={type:"media-source"};if(d&&(S.video=s[v%d]),m){S.audio=p[v%m];const F=S.audio.bitrate;S.video&&F&&(S.video.bitrate-=F)}a.push(S)}if(r){const v=navigator.userAgent;if(r.split(",").some(S=>mt(S))&&Ae())return Promise.resolve(Ot(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent string: (${v})`),a))}return Promise.all(a.map(v=>{const S=re(v);return n[S]||(n[S]=t.decodingInfo(v))})).then(v=>({supported:!v.some(S=>!S.supported),configurations:a,decodingInfoResults:v})).catch(v=>({supported:!1,configurations:a,decodingInfoResults:[],error:v}))}function pe(o){var e;const t=(e=o.videoCodec)==null?void 0:e.split(","),n=Le(o),r=o.width||640,a=o.height||480,s=o.frameRate||30,d=o.videoRange.toLowerCase();return t?t.map(p=>{const m={contentType:ye(ae(p),"video"),width:r,height:a,bitrate:n,framerate:s};return d!=="sdr"&&(m.transferFunction=d),m}):[]}function It(o,e,t){var n;const r=(n=o.audioCodec)==null?void 0:n.split(","),a=Le(o);return r&&o.audioGroups?o.audioGroups.reduce((s,d)=>{var p;const m=d?(p=e.groups[d])==null?void 0:p.tracks:null;return m?m.reduce((v,S)=>{if(S.groupId===d){const F=parseFloat(S.channels||"");r.forEach(q=>{const ee={contentType:ye(q,"audio"),bitrate:t?Pe(q,a):a};F&&(ee.channels=""+F),v.push(ee)})}return v},s):s},[]):[]}function Pe(o,e){if(e<=1)return 1;let t=128e3;return o==="ec-3"?t=768e3:o==="ac-3"&&(t=64e4),Math.min(e/2,t)}function Le(o){return Math.ceil(Math.max(o.bitrate*.9,o.averageBitrate)/1e3)*1e3||1}function re(o){let e="";const{audio:t,video:n}=o;if(n){const r=_t(n.contentType);e+=`${r}_r${n.height}x${n.width}f${Math.ceil(n.framerate)}${n.transferFunction||"sd"}_${Math.ceil(n.bitrate/1e5)}`}if(t){const r=_t(t.contentType);e+=`${n?"_":""}${r}_c${t.channels}`}return e}const De=["NONE","TYPE-0","TYPE-1",null];function $e(o){return De.indexOf(o)>-1}const je=["SDR","PQ","HLG"];function st(o){return!!o&&je.indexOf(o)>-1}var qt={No:"",Yes:"YES",v2:"v2"};function ln(o){const{canSkipUntil:e,canSkipDateRanges:t,age:n}=o,r=n<e/2;return e&&r?t?qt.v2:qt.Yes:qt.No}class Oe{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 ot{constructor(e){if(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.supplemental=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(n=>!!n).map(n=>n.substring(0,4)).join(","),"supplemental"in e){var t;this.supplemental=e.supplemental;const n=(t=e.supplemental)==null?void 0:t.videoCodec;n&&n!==e.videoCodec&&(this.codecSet+=`,${n.substring(0,4)}`)}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 wt(this._audioGroups,e)}hasSubtitleGroup(e){return wt(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 wt(o,e){return!e||!o?!1:o.indexOf(e)!==-1}function Qt(){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 Xt(o,e){let t=!1,n=[];if(o&&(t=o!=="SDR",n=[o]),e){n=e.allowedVideoRanges||je.slice(0);const r=n.join("")!=="SDR"&&!e.videoCodec;t=e.preferHDR!==void 0?e.preferHDR:r&&Qt(),t||(n=["SDR"])}return{preferHDR:t,allowedVideoRanges:n}}const Ye=o=>{const e=new WeakSet;return(t,n)=>{if(o&&(n=o(t,n)),typeof n=="object"&&n!==null){if(e.has(n))return;e.add(n)}return n}},ct=(o,e)=>JSON.stringify(o,Ye(e));function Nt(o,e,t,n,r){const a=Object.keys(o),s=n==null?void 0:n.channels,d=n==null?void 0:n.audioCodec,p=r==null?void 0:r.videoCodec,m=s&&parseInt(s)===2;let v=!1,S=!1,F=1/0,q=1/0,ee=1/0,We=1/0,He=0,Dt=[];const{preferHDR:Ut,allowedVideoRanges:$t}=Xt(e,r);for(let Vn=a.length;Vn--;){const $n=o[a[Vn]];v||(v=$n.channels[2]>0),F=Math.min(F,$n.minHeight),q=Math.min(q,$n.minFramerate),ee=Math.min(ee,$n.minBitrate),$t.filter(pr=>$n.videoRanges[pr]>0).length>0&&(S=!0)}F=i(F)?F:0,q=i(q)?q:0;const yn=Math.max(1080,F),Tn=Math.max(30,q);ee=i(ee)?ee:t,t=Math.max(ee,t),S||(e=void 0);const sr=a.length>1;return{codecSet:a.reduce((Vn,$n)=>{const On=o[$n];if($n===Vn)return Vn;if(Dt=S?$t.filter(pr=>On.videoRanges[pr]>0):[],sr){if(On.minBitrate>t)return Bt($n,`min bitrate of ${On.minBitrate} > current estimate of ${t}`),Vn;if(!On.hasDefaultAudio)return Bt($n,"no renditions with default or auto-select sound found"),Vn;if(d&&$n.indexOf(d.substring(0,4))%5!==0)return Bt($n,`audio codec preference "${d}" not found`),Vn;if(s&&!m){if(!On.channels[s])return Bt($n,`no renditions with ${s} channel sound found (channels options: ${Object.keys(On.channels)})`),Vn}else if((!d||m)&&v&&On.channels[2]===0)return Bt($n,"no renditions with stereo sound found"),Vn;if(On.minHeight>yn)return Bt($n,`min resolution of ${On.minHeight} > maximum of ${yn}`),Vn;if(On.minFramerate>Tn)return Bt($n,`min framerate of ${On.minFramerate} > maximum of ${Tn}`),Vn;if(!Dt.some(pr=>On.videoRanges[pr]>0))return Bt($n,`no variants with VIDEO-RANGE of ${ct(Dt)} found`),Vn;if(p&&$n.indexOf(p.substring(0,4))%5!==0)return Bt($n,`video codec preference "${p}" not found`),Vn;if(On.maxScore<He)return Bt($n,`max score of ${On.maxScore} < selected max of ${He}`),Vn}return Vn&&(tt($n)>=tt(Vn)||On.fragmentError>o[Vn].fragmentError)?Vn:(We=On.minIndex,He=On.maxScore,$n)},void 0),videoRanges:Dt,preferHDR:Ut,minFramerate:q,minBitrate:ee,minIndex:We}}function Bt(o,e){he.log(`[abr] start candidates with "${o}" ignored because ${e}`)}function Ht(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 vt(o,e,t,n){return o.slice(t,n+1).reduce((r,a,s)=>{if(!a.codecSet)return r;const d=a.audioGroups;let p=r[a.codecSet];p||(r[a.codecSet]=p={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:s,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!d,fragmentError:0}),p.minBitrate=Math.min(p.minBitrate,a.bitrate);const m=Math.min(a.height,a.width);return p.minHeight=Math.min(p.minHeight,m),p.minFramerate=Math.min(p.minFramerate,a.frameRate),p.minIndex=Math.min(p.minIndex,s),p.maxScore=Math.max(p.maxScore,a.score),p.fragmentError+=a.fragmentError,p.videoRanges[a.videoRange]=(p.videoRanges[a.videoRange]||0)+1,d&&d.forEach(v=>{if(!v)return;const S=e.groups[v];S&&(p.hasDefaultAudio=p.hasDefaultAudio||e.hasDefaultAudio?S.hasDefault:S.hasAutoSelect||!e.hasDefaultAudio&&!e.hasAutoSelectAudio,Object.keys(S.channels).forEach(F=>{p.channels[F]=(p.channels[F]||0)+S.channels[F]}))}),r},{})}function an(o){if(!o)return o;const{lang:e,assocLang:t,characteristics:n,channels:r,audioCodec:a}=o;return{lang:e,assocLang:t,characteristics:n,channels:r,audioCodec:a}}function sn(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(gn(o,r,t))return n}return-1}function gn(o,e,t){const{groupId:n,name:r,lang:a,assocLang:s,default:d}=o,p=o.forced;return(n===void 0||e.groupId===n)&&(r===void 0||e.name===r)&&(a===void 0||bn(a,e.lang))&&(a===void 0||e.assocLang===s)&&(d===void 0||e.default===d)&&(p===void 0||e.forced===p)&&(!("characteristics"in o)||In(o.characteristics||"",e.characteristics))&&(t===void 0||t(o,e))}function bn(o,e="--"){return o.length===e.length?o===e:o.startsWith(e)||e.startsWith(o)}function In(o,e=""){const t=o.split(","),n=e.split(",");return t.length===n.length&&!t.some(r=>n.indexOf(r)===-1)}function wn(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 An(o,e,t,n,r){const a=e[n],d=e.reduce((F,q,ee)=>{const We=q.uri;return(F[We]||(F[We]=[])).push(ee),F},{})[a.uri];d.length>1&&(n=Math.max.apply(Math,d));const p=a.videoRange,m=a.frameRate,v=a.codecSet.substring(0,4),S=Fn(e,n,F=>{if(F.videoRange!==p||F.frameRate!==m||F.codecSet.substring(0,4)!==v)return!1;const q=F.audioGroups,ee=t.filter(We=>!q||q.indexOf(We.groupId)!==-1);return sn(o,ee,r)>-1});return S>-1?S:Fn(e,n,F=>{const q=F.audioGroups,ee=t.filter(We=>!q||q.indexOf(We.groupId)!==-1);return sn(o,ee,r)>-1})}function Fn(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}function Mn(o,e){var t;return!!o&&o!==((t=e.loadLevelObj)==null?void 0:t.uri)}class rr extends Y{constructor(e){super("abr",e.logger),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.rebufferNotice=-1,this.supportedCache={},this.bwEstimator=void 0,this._abandonRulesCheck=t=>{var n;const{fragCurrent:r,partCurrent:a,hls:s}=this,{autoLevelEnabled:d,media:p}=s;if(!r||!p)return;const m=performance.now(),v=a?a.stats:r.stats,S=a?a.duration:r.duration,F=m-v.loading.start,q=s.minAutoLevel,ee=r.level,We=this._nextAutoLevel;if(v.aborted||v.loaded&&v.loaded===v.total||ee<=q){this.clearTimer(),this._nextAutoLevel=-1;return}if(!d)return;const He=We>-1&&We!==ee,Dt=!!t||He;if(!Dt&&(p.paused||!p.playbackRate||!p.readyState))return;const Ut=s.mainForwardBufferInfo;if(!Dt&&Ut===null)return;const $t=this.bwEstimator.getEstimateTTFB(),yn=Math.abs(p.playbackRate);if(F<=Math.max($t,1e3*(S/(yn*2))))return;const Tn=Ut?Ut.len/yn:0,sr=v.loading.first?v.loading.first-v.loading.start:-1,Dn=v.loaded&&sr>-1,Vn=this.getBwEstimate(),$n=s.levels,On=$n[ee],pr=Math.max(v.loaded,Math.round(S*(r.bitrate||On.averageBitrate)/8));let $r=Dn?F-sr:F;$r<1&&Dn&&($r=Math.min(F,v.loaded*8/Vn));const oi=Dn?v.loaded*1e3/$r:0,vi=$t/1e3,li=oi?(pr-v.loaded)/oi:pr*8/Vn+vi;if(li<=Tn)return;const Br=oi?oi*8:Vn,ui=((n=(t==null?void 0:t.details)||this.hls.latestLevelDetails)==null?void 0:n.live)===!0,ti=this.hls.config.abrBandWidthUpFactor;let fi=Number.POSITIVE_INFINITY,Ci;for(Ci=ee-1;Ci>q;Ci--){const xa=$n[Ci].maxBitrate,Wi=!$n[Ci].details||ui;if(fi=this.getTimeToLoadFrag(vi,Br,S*xa,Wi),fi<Math.min(Tn,S+vi))break}if(fi>=li||fi>S*10)return;Dn?this.bwEstimator.sample(F-Math.min($t,sr),v.loaded):this.bwEstimator.sampleTTFB(F);const Hr=$n[Ci].maxBitrate;this.getBwEstimate()*ti>Hr&&this.resetEstimator(Hr);const Wr=this.findBestLevel(Hr,q,Ci,0,Tn,1,1);Wr>-1&&(Ci=Wr),this.warn(`Fragment ${r.sn}${a?" part "+a.index:""} of level ${ee} is loading too slowly;
|
|
|
Fragment duration: ${r.duration.toFixed(3)}
|
|
|
Time to underbuffer: ${Tn.toFixed(3)} s
|
|
|
Estimated load time for current fragment: ${li.toFixed(3)} s
|
|
|
Estimated load time for down switch fragment: ${fi.toFixed(3)} s
|
|
|
TTFB estimate: ${sr|0} ms
|
|
|
Current BW estimate: ${i(Vn)?Vn|0:"Unknown"} bps
|
|
|
New BW estimate: ${this.getBwEstimate()|0} bps
|
|
|
Switching to level ${Ci} @ ${Hr|0} bps`),s.nextLoadLevel=s.nextAutoLevel=Ci,this.clearTimer();const zi=()=>{if(this.clearTimer(),this.fragCurrent===r&&this.hls.loadLevel===Ci&&Ci>0){const xa=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${Ci>0?"and switching down":""}
|
|
|
Fragment duration: ${r.duration.toFixed(3)} s
|
|
|
Time to underbuffer: ${xa.toFixed(3)} s`),r.abortRequests(),this.fragCurrent=this.partCurrent=null,Ci>q){let Wi=this.findBestLevel(this.hls.levels[q].bitrate,q,Ci,0,xa,1,1);Wi===-1&&(Wi=q),this.hls.nextLoadLevel=this.hls.nextAutoLevel=Wi,this.resetEstimator(this.hls.levels[Wi].bitrate)}}};He||li>fi*2?zi():this.timer=self.setInterval(zi,fi*1e3),s.trigger(g.FRAG_LOAD_EMERGENCY_ABORTED,{frag:r,part:a,stats:v})},this.hls=e,this.bwEstimator=this.initEstimator(),this.registerListeners()}resetEstimator(e){e&&(this.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 y(e.abrEwmaSlowVoD,e.abrEwmaFastVoD,e.abrEwmaDefaultEstimate)}registerListeners(){const{hls:e}=this;e.on(g.MANIFEST_LOADING,this.onManifestLoading,this),e.on(g.FRAG_LOADING,this.onFragLoading,this),e.on(g.FRAG_LOADED,this.onFragLoaded,this),e.on(g.FRAG_BUFFERED,this.onFragBuffered,this),e.on(g.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(g.LEVEL_LOADED,this.onLevelLoaded,this),e.on(g.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(g.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.on(g.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e&&(e.off(g.MANIFEST_LOADING,this.onManifestLoading,this),e.off(g.FRAG_LOADING,this.onFragLoading,this),e.off(g.FRAG_LOADED,this.onFragLoaded,this),e.off(g.FRAG_BUFFERED,this.onFragBuffered,this),e.off(g.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(g.LEVEL_LOADED,this.onLevelLoaded,this),e.off(g.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(g.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.off(g.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=this.supportedCache=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(e,t){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.supportedCache={},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 j.BUFFER_ADD_CODEC_ERROR:case j.BUFFER_APPEND_ERROR:this.lastLoadedFragLevel=-1,this.firstSelection=-1;break;case j.FRAG_LOAD_TIMEOUT:{const n=t.frag,{fragCurrent:r,partCurrent:a}=this;if(n&&r&&n.sn===r.sn&&n.level===r.level){const s=performance.now(),d=a?a.stats:n.stats,p=s-d.loading.start,m=d.loading.first?d.loading.first-d.loading.start:-1;if(d.loaded&&m>-1){const S=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(p-Math.min(S,m),d.loaded)}else this.bwEstimator.sampleTTFB(p)}break}}}getTimeToLoadFrag(e,t,n,r){const a=e+n/t,s=r?e+this.lastLevelLoadSec:0;return a+s}onLevelLoaded(e,t){const n=this.hls.config,{loading:r}=t.stats,a=r.end-r.first;i(a)&&(this.lastLevelLoadSec=a/1e3),t.details.live?this.bwEstimator.update(n.abrEwmaSlowLive,n.abrEwmaFastLive):this.bwEstimator.update(n.abrEwmaSlowVoD,n.abrEwmaFastVoD),this.timer>-1&&this._abandonRulesCheck(t.levelInfo)}onFragLoaded(e,{frag:t,part:n}){const r=n?n.stats:t.stats;if(t.type===K.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 a=n?n.duration:t.duration,s=this.hls.levels[t.level],d=(s.loaded?s.loaded.bytes:0)+r.loaded,p=(s.loaded?s.loaded.duration:0)+a;s.loaded={bytes:d,duration:p},s.realBitrate=Math.round(8*d/p)}if(t.bitrateTest){const a={stats:r,frag:t,part:n,id:t.type};this.onFragBuffered(g.FRAG_BUFFERED,a),t.bitrateTest=!1}else this.lastLoadedFragLevel=t.level}}onFragBuffered(e,t){const{frag:n,part:r}=t,a=r!=null&&r.stats.loaded?r.stats:n.stats;if(a.aborted||this.ignoreFragment(n))return;const s=a.parsing.end-a.loading.start-Math.min(a.loading.first-a.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(s,a.loaded),a.bwEstimate=this.getBwEstimate(),n.bitrateTest?this.bitrateTestDelay=s/1e3:this.bitrateTestDelay=0}ignoreFragment(e){return e.type!==K.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,a=this.findBestLevel(n,t,e,0,r,1,1);if(a>-1)return a;const s=this.hls.firstLevel,d=Math.min(Math.max(s,t),e);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${s} clamped to ${d}`),d}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 a=n&&r?this.getNextABRAutoLevel():this.firstAutoLevel;if(e!==-1){const s=this.hls.levels;if(s.length>Math.max(e,a)&&s[e].loadError<=s[a].loadError)return e}return this._nextAutoLevel=a,this.nextAutoLevelKey=this.getAutoLevelKey(),a}getAutoLevelKey(){return`${this.getBwEstimate()}_${this.getStarvationDelay().toFixed(2)}`}getNextABRAutoLevel(){const{fragCurrent:e,partCurrent:t,hls:n}=this;if(n.levels.length<=1)return n.loadLevel;const{maxAutoLevel:r,config:a,minAutoLevel:s}=n,d=t?t.duration:e?e.duration:0,p=this.getBwEstimate(),m=this.getStarvationDelay();let v=a.abrBandWidthFactor,S=a.abrBandWidthUpFactor;if(m){const He=this.findBestLevel(p,s,r,m,0,v,S);if(He>=0)return this.rebufferNotice=-1,He}let F=d?Math.min(d,a.maxStarvationDelay):a.maxStarvationDelay;if(!m){const He=this.bitrateTestDelay;He&&(F=(d?Math.min(d,a.maxLoadingDelay):a.maxLoadingDelay)-He,this.info(`bitrate test took ${Math.round(1e3*He)}ms, set first fragment max fetchDuration to ${Math.round(1e3*F)} ms`),v=S=1)}const q=this.findBestLevel(p,s,r,m,F,v,S);if(this.rebufferNotice!==q&&(this.rebufferNotice=q,this.info(`${m?"rebuffering expected":"buffer is empty"}, optimal quality level ${q}`)),q>-1)return q;const ee=n.levels[s],We=n.loadLevelObj;return We&&(ee==null?void 0:ee.bitrate)<We.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,a,s,d){var p;const m=r+a,v=this.lastLoadedFragLevel,S=v===-1?this.hls.firstLevel:v,{fragCurrent:F,partCurrent:q}=this,{levels:ee,allAudioTracks:We,loadLevel:He,config:Dt}=this.hls;if(ee.length===1)return 0;const Ut=ee[S],$t=!!((p=this.hls.latestLevelDetails)!=null&&p.live),yn=He===-1||v===-1;let Tn,sr="SDR",Dn=(Ut==null?void 0:Ut.frameRate)||0;const{audioPreference:Vn,videoPreference:$n}=Dt,On=this.audioTracksByGroup||(this.audioTracksByGroup=Ht(We));let pr=-1;if(yn){if(this.firstSelection!==-1)return this.firstSelection;const Br=this.codecTiers||(this.codecTiers=vt(ee,On,t,n)),ui=Nt(Br,sr,e,Vn,$n),{codecSet:ti,videoRanges:fi,minFramerate:Ci,minBitrate:Hr,minIndex:Wr,preferHDR:zi}=ui;pr=Wr,Tn=ti,sr=zi?fi[fi.length-1]:fi[0],Dn=Ci,e=Math.max(e,Hr),this.log(`picked start tier ${ct(ui)}`)}else Tn=Ut==null?void 0:Ut.codecSet,sr=Ut==null?void 0:Ut.videoRange;const $r=q?q.duration:F?F.duration:0,oi=this.bwEstimator.getEstimateTTFB()/1e3,vi=[];for(let Br=n;Br>=t;Br--){var li;const ui=ee[Br],ti=Br>S;if(!ui)continue;if(Dt.useMediaCapabilities&&!ui.supportedResult&&!ui.supportedPromise){const Wi=navigator.mediaCapabilities;typeof(Wi==null?void 0:Wi.decodingInfo)=="function"&&zt(ui,On,sr,Dn,e,Vn)?(ui.supportedPromise=J(ui,On,Wi,this.supportedCache),ui.supportedPromise.then(na=>{if(!this.hls)return;ui.supportedResult=na;const us=this.hls.levels,as=us.indexOf(ui);na.error?this.warn(`MediaCapabilities decodingInfo error: "${na.error}" for level ${as} ${ct(na)}`):na.supported?na.decodingInfoResults.some(ks=>ks.smooth===!1||ks.powerEfficient===!1)&&this.log(`MediaCapabilities decodingInfo for level ${as} not smooth or powerEfficient: ${ct(na)}`):(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${as} ${ct(na)}`),as>-1&&us.length>1&&(this.log(`Removing unsupported level ${as}`),this.hls.removeLevel(as),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))}).catch(na=>{this.warn(`Error handling MediaCapabilities decodingInfo: ${na}`)})):ui.supportedResult=Ft}if((Tn&&ui.codecSet!==Tn||sr&&ui.videoRange!==sr||ti&&Dn>ui.frameRate||!ti&&Dn>0&&Dn<ui.frameRate||(li=ui.supportedResult)!=null&&(li=li.decodingInfoResults)!=null&&li.some(Wi=>Wi.smooth===!1))&&(!yn||Br!==pr)){vi.push(Br);continue}const fi=ui.details,Ci=(q?fi==null?void 0:fi.partTarget:fi==null?void 0:fi.averagetargetduration)||$r;let Hr;ti?Hr=d*e:Hr=s*e;const Wr=$r&&r>=$r*2&&a===0?ui.averageBitrate:ui.maxBitrate,zi=this.getTimeToLoadFrag(oi,Hr,Wr*Ci,fi===void 0);if(Hr>=Wr&&(Br===v||ui.loadError===0&&ui.fragmentError===0)&&(zi<=oi||!i(zi)||$t&&!this.bitrateTestDelay||zi<m)){const Wi=this.forcedAutoLevel;return Br!==He&&(Wi===-1||Wi!==He)&&(vi.length&&this.trace(`Skipped level(s) ${vi.join(",")} of ${n} max with CODECS and VIDEO-RANGE:"${ee[vi[0]].codecs}" ${ee[vi[0]].videoRange}; not compatible with "${Tn}" ${sr}`),this.info(`switch candidate:${S}->${Br} adjustedbw(${Math.round(Hr)})-bitrate=${Math.round(Hr-Wr)} ttfb:${oi.toFixed(1)} avgDuration:${Ci.toFixed(1)} maxFetchDuration:${m.toFixed(1)} fetchDuration:${zi.toFixed(1)} firstSelection:${yn} codecSet:${ui.codecSet} videoRange:${ui.videoRange} hls.loadLevel:${He}`)),yn&&(this.firstSelection=Br),Br}}return-1}set nextAutoLevel(e){const t=this.deriveNextAutoLevel(e);this._nextAutoLevel!==t&&(this.nextAutoLevelKey="",this._nextAutoLevel=t)}deriveNextAutoLevel(e){const{maxAutoLevel:t,minAutoLevel:n}=this.hls;return Math.min(Math.max(e,n),t)}}const Rn={search:function(o,e){let t=0,n=o.length-1,r=null,a=null;for(;t<=n;){r=(t+n)/2|0,a=o[r];const s=e(a);if(s>0)t=r+1;else if(s<0)n=r-1;else return a}return null}};function jn(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;for(let a=0;a<o.length;++a){const s=o[a];if(Kn(e,t,s))return s}return null}function Yn(o,e,t=0,n=0,r=.005){let a=null;if(o){a=e[1+o.sn-e[0].sn]||null;const d=o.endDTS-t;d>0&&d<15e-7&&(t+=15e-7),a&&o.level!==a.level&&a.end<=o.end&&(a=e[2+o.sn-e[0].sn]||null)}else t===0&&e[0].start===0&&(a=e[0]);if(a&&((!o||o.level===a.level)&&qn(t,n,a)===0||er(a,o,Math.min(r,n))))return a;const s=Rn.search(e,qn.bind(null,t,n));return s&&(s!==o||!a)?s:a}function er(o,e,t){if(e&&e.start===0&&e.level<o.level&&(e.endPTS||0)>0){const n=e.tagList.reduce((r,a)=>(a[0]==="INF"&&(r+=parseFloat(a[1])),r),t);return o.start<=n}return!1}function qn(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 Kn(o,e,t){const n=Math.min(e,t.duration+(t.deltaPTS?t.deltaPTS:0))*1e3;return(t.endProgramDateTime||0)-n>o}function Ln(o,e,t){if(o&&o.startCC<=e&&o.endCC>=e){let n=o.fragments;const{fragmentHint:r}=o;r&&(n=n.concat(r));let a;return Rn.search(n,s=>s.cc<e?1:s.cc>e?-1:(a=s,s.end<=t?1:s.start>t?-1:0)),a||null}return null}function zn(o){switch(o.details){case j.FRAG_LOAD_TIMEOUT:case j.KEY_LOAD_TIMEOUT:case j.LEVEL_LOAD_TIMEOUT:case j.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function hr(o){return o.details.startsWith("key")}function rn(o){return hr(o)&&!!o.frag&&!o.frag.decryptdata}function nn(o,e){const t=zn(e);return o.default[`${t?"timeout":"error"}Retry`]}function pn(o,e){const t=o.backoff==="linear"?1:Math.pow(2,e);return Math.min(t*o.retryDelayMs,o.maxRetryDelayMs)}function or(o){return w(w({},o),{errorRetry:null,timeoutRetry:null})}function tr(o,e,t,n){if(!o)return!1;const r=n==null?void 0:n.code,a=e<o.maxNumRetry&&(ur(r)||!!t);return o.shouldRetry?o.shouldRetry(o,e,t,n,a):a}function ur(o){return lr(o)||!!o&&(o<400||o>499)}function lr(o){return o===0&&navigator.onLine===!1}var Un={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},fn={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,MoveAllAlternatesMatchingKey:4,SwitchToSDR:8};class dn extends Y{constructor(e){super("error-controller",e.logger),this.hls=void 0,this.playlistError=0,this.hls=e,this.registerListeners()}registerListeners(){const e=this.hls;e.on(g.ERROR,this.onError,this),e.on(g.MANIFEST_LOADING,this.onManifestLoading,this),e.on(g.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const e=this.hls;e&&(e.off(g.ERROR,this.onError,this),e.off(g.ERROR,this.onErrorOut,this),e.off(g.MANIFEST_LOADING,this.onManifestLoading,this),e.off(g.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null}startLoad(e){}stopLoad(){this.playlistError=0}getVariantLevelIndex(e){return(e==null?void 0:e.type)===K.MAIN?e.level:this.getVariantIndex()}getVariantIndex(){var e;const t=this.hls,n=t.currentLevel;return(e=t.loadLevelObj)!=null&&e.details||n===-1?t.loadLevel:n}variantHasKey(e,t){if(e){var n;if((n=e.details)!=null&&n.hasKey(t))return!0;const r=e.audioGroups;if(r)return this.hls.allAudioTracks.filter(s=>r.indexOf(s.groupId)>=0).some(s=>{var d;return(d=s.details)==null?void 0:d.hasKey(t)})}return!1}onManifestLoading(){this.playlistError=0}onLevelUpdated(){this.playlistError=0}onError(e,t){var n;if(t.fatal)return;const r=this.hls,a=t.context;switch(t.details){case j.FRAG_LOAD_ERROR:case j.FRAG_LOAD_TIMEOUT:case j.KEY_LOAD_ERROR:case j.KEY_LOAD_TIMEOUT:t.errorAction=this.getFragRetryOrSwitchAction(t);return;case j.FRAG_PARSING_ERROR:if((n=t.frag)!=null&&n.gap){t.errorAction=xn();return}case j.FRAG_GAP:case j.FRAG_DECRYPT_ERROR:{t.errorAction=this.getFragRetryOrSwitchAction(t),t.errorAction.action=Un.SendAlternateToPenaltyBox;return}case j.LEVEL_EMPTY_ERROR:case j.LEVEL_PARSING_ERROR:{var s;const p=t.parent===K.MAIN?t.level:r.loadLevel;t.details===j.LEVEL_EMPTY_ERROR&&((s=t.context)!=null&&(s=s.levelDetails)!=null&&s.live)?t.errorAction=this.getPlaylistRetryOrSwitchAction(t,p):(t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,p))}return;case j.LEVEL_LOAD_ERROR:case j.LEVEL_LOAD_TIMEOUT:typeof(a==null?void 0:a.level)=="number"&&(t.errorAction=this.getPlaylistRetryOrSwitchAction(t,a.level));return;case j.AUDIO_TRACK_LOAD_ERROR:case j.AUDIO_TRACK_LOAD_TIMEOUT:case j.SUBTITLE_LOAD_ERROR:case j.SUBTITLE_TRACK_LOAD_TIMEOUT:if(a){const p=r.loadLevelObj;if(p&&(a.type===V.AUDIO_TRACK&&p.hasAudioGroup(a.groupId)||a.type===V.SUBTITLE_TRACK&&p.hasSubtitleGroup(a.groupId))){t.errorAction=this.getPlaylistRetryOrSwitchAction(t,r.loadLevel),t.errorAction.action=Un.SendAlternateToPenaltyBox,t.errorAction.flags=fn.MoveAllAlternatesMatchingHost;return}}return;case j.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:t.errorAction={action:Un.SendAlternateToPenaltyBox,flags:fn.MoveAllAlternatesMatchingHDCP};return;case j.KEY_SYSTEM_SESSION_UPDATE_FAILED:case j.KEY_SYSTEM_STATUS_INTERNAL_ERROR:case j.KEY_SYSTEM_NO_SESSION:t.errorAction={action:Un.SendAlternateToPenaltyBox,flags:fn.MoveAllAlternatesMatchingKey};return;case j.BUFFER_ADD_CODEC_ERROR:case j.REMUX_ALLOC_ERROR:case j.BUFFER_APPEND_ERROR:if(!t.errorAction){var d;t.errorAction=this.getLevelSwitchAction(t,(d=t.level)!=null?d:r.loadLevel)}return;case j.INTERNAL_EXCEPTION:case j.BUFFER_APPENDING_ERROR:case j.BUFFER_FULL_ERROR:case j.LEVEL_SWITCH_ERROR:case j.BUFFER_STALLED_ERROR:case j.BUFFER_SEEK_OVER_HOLE:case j.BUFFER_NUDGE_ON_STALL:t.errorAction=xn();return}t.type===ce.KEY_SYSTEM_ERROR&&(t.levelRetry=!1,t.errorAction=xn())}getPlaylistRetryOrSwitchAction(e,t){const n=this.hls,r=nn(n.config.playlistLoadPolicy,e),a=this.playlistError++;if(tr(r,a,zn(e),e.response))return{action:Un.RetryRequest,flags:fn.None,retryConfig:r,retryCount:a};const d=this.getLevelSwitchAction(e,t);return r&&(d.retryConfig=r,d.retryCount=a),d}getFragRetryOrSwitchAction(e){const t=this.hls,n=this.getVariantLevelIndex(e.frag),r=t.levels[n],{fragLoadPolicy:a,keyLoadPolicy:s}=t.config,d=nn(hr(e)?s:a,e),p=t.levels.reduce((v,S)=>v+S.fragmentError,0);if(r&&(e.details!==j.FRAG_GAP&&r.fragmentError++,!rn(e)&&tr(d,p,zn(e),e.response)))return{action:Un.RetryRequest,flags:fn.None,retryConfig:d,retryCount:p};const m=this.getLevelSwitchAction(e,n);return d&&(m.retryConfig=d,m.retryCount=p),m}getLevelSwitchAction(e,t){const n=this.hls;t==null&&(t=n.loadLevel);const r=this.hls.levels[t];if(r){var a,s;const m=e.details;r.loadError++,m===j.BUFFER_APPEND_ERROR&&r.fragmentError++;let v=-1;const{levels:S,loadLevel:F,minAutoLevel:q,maxAutoLevel:ee}=n;!n.autoLevelEnabled&&!n.config.preserveManualLevelOnError&&(n.loadLevel=-1);const We=(a=e.frag)==null?void 0:a.type,Dt=(We===K.AUDIO&&m===j.FRAG_PARSING_ERROR||e.sourceBufferName==="audio"&&(m===j.BUFFER_ADD_CODEC_ERROR||m===j.BUFFER_APPEND_ERROR))&&S.some(({audioCodec:sr})=>r.audioCodec!==sr),$t=e.sourceBufferName==="video"&&(m===j.BUFFER_ADD_CODEC_ERROR||m===j.BUFFER_APPEND_ERROR)&&S.some(({codecSet:sr,audioCodec:Dn})=>r.codecSet!==sr&&r.audioCodec===Dn),{type:yn,groupId:Tn}=(s=e.context)!=null?s:{};for(let sr=S.length;sr--;){const Dn=(sr+F)%S.length;if(Dn!==F&&Dn>=q&&Dn<=ee&&S[Dn].loadError===0){var d,p;const Vn=S[Dn];if(m===j.FRAG_GAP&&We===K.MAIN&&e.frag){const $n=S[Dn].details;if($n){const On=Yn(e.frag,$n.fragments,e.frag.start);if(On!=null&&On.gap)continue}}else{if(yn===V.AUDIO_TRACK&&Vn.hasAudioGroup(Tn)||yn===V.SUBTITLE_TRACK&&Vn.hasSubtitleGroup(Tn))continue;if(We===K.AUDIO&&(d=r.audioGroups)!=null&&d.some($n=>Vn.hasAudioGroup($n))||We===K.SUBTITLE&&(p=r.subtitleGroups)!=null&&p.some($n=>Vn.hasSubtitleGroup($n))||Dt&&r.audioCodec===Vn.audioCodec||$t&&r.codecSet===Vn.codecSet||!Dt&&r.codecSet!==Vn.codecSet)continue}v=Dn;break}}if(v>-1&&n.loadLevel!==v)return e.levelRetry=!0,this.playlistError=0,{action:Un.SendAlternateToPenaltyBox,flags:fn.None,nextAutoLevel:v}}return{action:Un.SendAlternateToPenaltyBox,flags:fn.MoveAllAlternatesMatchingHost}}onErrorOut(e,t){var n;switch((n=t.errorAction)==null?void 0:n.action){case Un.DoNothing:break;case Un.SendAlternateToPenaltyBox:this.sendAlternateToPenaltyBox(t),!t.errorAction.resolved&&t.details!==j.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 Un.RetryRequest:break}if(t.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(e){const t=this.hls,n=e.errorAction;if(!n)return;const{flags:r}=n,a=n.nextAutoLevel;switch(r){case fn.None:this.switchLevel(e,a);break;case fn.MoveAllAlternatesMatchingHDCP:{const p=this.getVariantLevelIndex(e.frag),m=t.levels[p],v=m==null?void 0:m.attrs["HDCP-LEVEL"];if(n.hdcpLevel=v,v==="NONE")this.warn("HDCP policy resticted output with HDCP-LEVEL=NONE");else if(v){t.maxHdcpLevel=De[De.indexOf(v)-1],n.resolved=!0,this.warn(`Restricting playback to HDCP-LEVEL of "${t.maxHdcpLevel}" or lower`);break}}case fn.MoveAllAlternatesMatchingKey:{const p=e.decryptdata;if(p){const m=this.hls.levels,v=m.length;for(let F=v;F--;)if(this.variantHasKey(m[F],p)){var s,d;this.log(`Banned key found in level ${F} (${m[F].bitrate}bps) or audio group "${(s=m[F].audioGroups)==null?void 0:s.join(",")}" (${(d=e.frag)==null?void 0:d.type} fragment) ${se(p.keyId||[])}`),m[F].fragmentError++,m[F].loadError++,this.log(`Removing level ${F} with key error (${e.error})`),this.hls.removeLevel(F)}const S=e.frag;if(this.hls.levels.length<v)n.resolved=!0;else if(S&&S.type!==K.MAIN){const F=S.decryptdata;F&&!p.matches(F)&&(n.resolved=!0)}}break}}n.resolved||this.switchLevel(e,a)}switchLevel(e,t){if(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,e.details===j.BUFFER_ADD_CODEC_ERROR&&e.mimeType&&e.sourceBufferName!=="audiovideo")){const n=_t(e.mimeType),r=this.hls.levels;for(let a=r.length;a--;)r[a][`${e.sourceBufferName}Codec`]===n&&(this.log(`Removing level ${a} for ${e.details} ("${n}" not supported)`),this.hls.removeLevel(a))}}}function xn(o){const e={action:Un.DoNothing,flags:fn.None};return o&&(e.resolved=!0),e}var Gn={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Xn{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&&(e.on(g.MANIFEST_LOADING,this.onManifestLoading,this),e.on(g.BUFFER_APPENDED,this.onBufferAppended,this),e.on(g.FRAG_BUFFERED,this.onFragBuffered,this),e.on(g.FRAG_LOADED,this.onFragLoaded,this))}_unregisterListeners(){const{hls:e}=this;e&&(e.off(g.MANIFEST_LOADING,this.onManifestLoading,this),e.off(g.BUFFER_APPENDED,this.onBufferAppended,this),e.off(g.FRAG_BUFFERED,this.onFragBuffered,this),e.off(g.FRAG_LOADED,this.onFragLoaded,this))}destroy(){this._unregisterListeners(),this.hls=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 a=n[r];if(!a)break;if(a.start<=e&&e<=a.end&&a.loaded)return a}return this.getBufferedFrag(e,t)}getBufferedFrag(e,t){return this.getFragAtPos(e,t,!0)}getFragAtPos(e,t,n){const{fragments:r}=this,a=Object.keys(r);for(let s=a.length;s--;){const d=r[a[s]];if((d==null?void 0:d.body.type)===t&&(!n||d.buffered)){const p=d.body;if(p.start<=e&&e<=p.end)return p}}return null}detectEvictedFragments(e,t,n,r,a){this.timeRanges&&(this.timeRanges[e]=t);const s=(r==null?void 0:r.fragment.sn)||-1;Object.keys(this.fragments).forEach(d=>{const p=this.fragments[d];if(!p||s>=p.body.sn)return;if(!p.buffered&&(!p.loaded||a)){p.body.type===n&&this.removeFragment(p.body);return}const m=p.range[e];if(m){if(m.time.length===0){this.removeFragment(p.body);return}m.time.some(v=>{const S=!this.isTimeBuffered(v.startPTS,v.endPTS,t);return S&&this.removeFragment(p.body),S})}})}detectPartialFragments(e){const t=this.timeRanges;if(!t||e.frag.sn==="initSegment")return;const n=e.frag,r=Er(n),a=this.fragments[r];if(!a||a.buffered&&n.gap)return;const s=!n.relurl;Object.keys(t).forEach(d=>{const p=n.elementaryStreams[d];if(!p)return;const m=t[d],v=s||p.partial===!0;a.range[d]=this.getBufferedTimes(n,e.part,v,m)}),a.loaded=null,Object.keys(a.range).length?(a.buffered=!0,(a.body.endList=n.endList||a.body.endList)&&(this.endListFragments[a.body.type]=a),gr(a)||this.removeParts(n.sn-1,n.type)):this.removeFragment(a.body)}removeParts(e,t){const n=this.activePartLists[t];n&&(this.activePartLists[t]=Zn(n,r=>r.fragment.sn>=e))}fragBuffered(e,t){const n=Er(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 a={time:[],partial:n},s=e.start,d=e.end,p=e.minEndPTS||d,m=e.maxStartPTS||s;for(let v=0;v<r.length;v++){const S=r.start(v)-this.bufferPadding,F=r.end(v)+this.bufferPadding;if(m>=S&&p<=F){a.time.push({startPTS:Math.max(s,r.start(v)),endPTS:Math.min(d,r.end(v))});break}else if(s<F&&d>S){const q=Math.max(s,r.start(v)),ee=Math.min(d,r.end(v));ee>q&&(a.partial=!0,a.time.push({startPTS:q,endPTS:ee}))}else if(d<=S)break}return a}getPartialFragment(e){let t=null,n,r,a,s=0;const{bufferPadding:d,fragments:p}=this;return Object.keys(p).forEach(m=>{const v=p[m];v&&gr(v)&&(r=v.body.start-d,a=v.body.end+d,e>=r&&e<=a&&(n=Math.min(e-r,a-e),s<=n&&(t=v.body,s=n)))}),t}isEndListAppended(e){const t=this.endListFragments[e];return t!==void 0&&(t.buffered||gr(t))}getState(e){const t=Er(e),n=this.fragments[t];return n?n.buffered?gr(n)?Gn.PARTIAL:Gn.OK:Gn.APPENDING:Gn.NOT_LOADED}isTimeBuffered(e,t,n){let r,a;for(let s=0;s<n.length;s++){if(r=n.start(s)-this.bufferPadding,a=n.end(s)+this.bufferPadding,e>=r&&t<=a)return!0;if(t<=r)return!1}return!1}onManifestLoading(){this.removeAllFragments()}onFragLoaded(e,t){if(t.frag.sn==="initSegment"||t.frag.bitrateTest)return;const n=t.frag,r=t.part?null:t,a=Er(n);this.fragments[a]={body:n,appendedPTS:null,loaded:r,buffered:!1,range:Object.create(null)}}onBufferAppended(e,t){const{frag:n,part:r,timeRanges:a,type:s}=t;if(n.sn==="initSegment")return;const d=n.type;if(r){let m=this.activePartLists[d];m||(this.activePartLists[d]=m=[]),m.push(r)}this.timeRanges=a;const p=a[s];this.detectEvictedFragments(s,p,d,r)}onFragBuffered(e,t){this.detectPartialFragments(t)}hasFragment(e){const t=Er(e);return!!this.fragments[t]}hasFragments(e){const{fragments:t}=this,n=Object.keys(t);if(!e)return n.length>0;for(let r=n.length;r--;){const a=t[n[r]];if((a==null?void 0:a.body.type)===e)return!0}return!1}hasParts(e){var t;return!!((t=this.activePartLists[e])!=null&&t.length)}removeFragmentsInRange(e,t,n,r,a){r&&!this.hasGaps||Object.keys(this.fragments).forEach(s=>{const d=this.fragments[s];if(!d)return;const p=d.body;p.type!==n||r&&!p.gap||p.start<t&&p.end>e&&(d.buffered||a)&&this.removeFragment(p)})}removeFragment(e){const t=Er(e);e.clearElementaryStreamInfo();const n=this.activePartLists[e.type];if(n){const r=e.sn;this.activePartLists[e.type]=Zn(n,a=>a.fragment.sn!==r)}delete this.fragments[t],e.endList&&delete this.endListFragments[e.type]}removeAllFragments(){var e;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const t=(e=this.hls)==null||(e=e.latestLevelDetails)==null?void 0:e.partList;t&&t.forEach(n=>n.clearElementaryStreamInfo())}}function gr(o){var e,t,n;return o.buffered&&!!(o.body.gap||(e=o.range.video)!=null&&e.partial||(t=o.range.audio)!=null&&t.partial||(n=o.range.audiovideo)!=null&&n.partial)}function Er(o){return`${o.type}_${o.level}_${o.sn}`}function Zn(o,e){return o.filter(t=>{const n=e(t);return n||t.clearElementaryStreamInfo(),n})}var Cr={cbc:0,ctr:1};class wr{constructor(e,t,n){this.subtle=void 0,this.aesIV=void 0,this.aesMode=void 0,this.subtle=e,this.aesIV=t,this.aesMode=n}decrypt(e,t){switch(this.aesMode){case Cr.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},t,e);case Cr.ctr:return this.subtle.decrypt({name:"AES-CTR",counter:this.aesIV,length:64},t,e);default:throw new Error(`[AESCrypto] invalid aes mode ${this.aesMode}`)}}}function Kr(o){const e=o.byteLength,t=e&&new DataView(o.buffer).getUint8(e-1);return t?o.slice(0,e-t):o}class Fr{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],a=n[1],s=n[2],d=n[3],p=this.invSubMix,m=p[0],v=p[1],S=p[2],F=p[3],q=new Uint32Array(256);let ee=0,We=0,He=0;for(He=0;He<256;He++)He<128?q[He]=He<<1:q[He]=He<<1^283;for(He=0;He<256;He++){let Dt=We^We<<1^We<<2^We<<3^We<<4;Dt=Dt>>>8^Dt&255^99,e[ee]=Dt,t[Dt]=ee;const Ut=q[ee],$t=q[Ut],yn=q[$t];let Tn=q[Dt]*257^Dt*16843008;r[ee]=Tn<<24|Tn>>>8,a[ee]=Tn<<16|Tn>>>16,s[ee]=Tn<<8|Tn>>>24,d[ee]=Tn,Tn=yn*16843009^$t*65537^Ut*257^ee*16843008,m[Dt]=Tn<<24|Tn>>>8,v[Dt]=Tn<<16|Tn>>>16,S[Dt]=Tn<<8|Tn>>>24,F[Dt]=Tn,ee?(ee=Ut^q[q[q[yn^Ut]]],We^=q[q[We]]):ee=We=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 a=this.keySize=t.length;if(a!==4&&a!==6&&a!==8)throw new Error("Invalid aes key size="+a);const s=this.ksRows=(a+6+1)*4;let d,p;const m=this.keySchedule=new Uint32Array(s),v=this.invKeySchedule=new Uint32Array(s),S=this.sBox,F=this.rcon,q=this.invSubMix,ee=q[0],We=q[1],He=q[2],Dt=q[3];let Ut,$t;for(d=0;d<s;d++){if(d<a){Ut=m[d]=t[d];continue}$t=Ut,d%a===0?($t=$t<<8|$t>>>24,$t=S[$t>>>24]<<24|S[$t>>>16&255]<<16|S[$t>>>8&255]<<8|S[$t&255],$t^=F[d/a|0]<<24):a>6&&d%a===4&&($t=S[$t>>>24]<<24|S[$t>>>16&255]<<16|S[$t>>>8&255]<<8|S[$t&255]),m[d]=Ut=(m[d-a]^$t)>>>0}for(p=0;p<s;p++)d=s-p,p&3?$t=m[d]:$t=m[d-4],p<4||d<=4?v[p]=$t:v[p]=ee[S[$t>>>24]]^We[S[$t>>>16&255]]^He[S[$t>>>8&255]]^Dt[S[$t&255]],v[p]=v[p]>>>0}networkToHostOrderSwap(e){return e<<24|(e&65280)<<8|(e&16711680)>>8|e>>>24}decrypt(e,t,n){const r=this.keySize+6,a=this.invKeySchedule,s=this.invSBox,d=this.invSubMix,p=d[0],m=d[1],v=d[2],S=d[3],F=this.uint8ArrayToUint32Array_(n);let q=F[0],ee=F[1],We=F[2],He=F[3];const Dt=new Int32Array(e),Ut=new Int32Array(Dt.length);let $t,yn,Tn,sr,Dn,Vn,$n,On,pr,$r,oi,vi,li,Br;const ui=this.networkToHostOrderSwap;for(;t<Dt.length;){for(pr=ui(Dt[t]),$r=ui(Dt[t+1]),oi=ui(Dt[t+2]),vi=ui(Dt[t+3]),Dn=pr^a[0],Vn=vi^a[1],$n=oi^a[2],On=$r^a[3],li=4,Br=1;Br<r;Br++)$t=p[Dn>>>24]^m[Vn>>16&255]^v[$n>>8&255]^S[On&255]^a[li],yn=p[Vn>>>24]^m[$n>>16&255]^v[On>>8&255]^S[Dn&255]^a[li+1],Tn=p[$n>>>24]^m[On>>16&255]^v[Dn>>8&255]^S[Vn&255]^a[li+2],sr=p[On>>>24]^m[Dn>>16&255]^v[Vn>>8&255]^S[$n&255]^a[li+3],Dn=$t,Vn=yn,$n=Tn,On=sr,li=li+4;$t=s[Dn>>>24]<<24^s[Vn>>16&255]<<16^s[$n>>8&255]<<8^s[On&255]^a[li],yn=s[Vn>>>24]<<24^s[$n>>16&255]<<16^s[On>>8&255]<<8^s[Dn&255]^a[li+1],Tn=s[$n>>>24]<<24^s[On>>16&255]<<16^s[Dn>>8&255]<<8^s[Vn&255]^a[li+2],sr=s[On>>>24]<<24^s[Dn>>16&255]<<16^s[Vn>>8&255]<<8^s[$n&255]^a[li+3],Ut[t]=ui($t^q),Ut[t+1]=ui(sr^ee),Ut[t+2]=ui(Tn^We),Ut[t+3]=ui(yn^He),q=pr,ee=$r,We=oi,He=vi,t=t+4}return Ut.buffer}}class Lr{constructor(e,t,n){this.subtle=void 0,this.key=void 0,this.aesMode=void 0,this.subtle=e,this.key=t,this.aesMode=n}expandKey(){const e=Sr(this.aesMode);return this.subtle.importKey("raw",this.key,{name:e},!1,["encrypt","decrypt"])}}function Sr(o){switch(o){case Cr.cbc:return"AES-CBC";case Cr.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${o}`)}}const Zr=16;class _r{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.enableSoftwareAES=void 0,this.enableSoftwareAES=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?Kr(n):n}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(e,t,n,r){return this.useSoftware?new Promise((a,s)=>{const d=ArrayBuffer.isView(e)?e:new Uint8Array(e);this.softwareDecrypt(d,t,n,r);const p=this.flush();p?a(p.buffer):s(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(e),t,n,r)}softwareDecrypt(e,t,n,r){const{currentIV:a,currentResult:s,remainderData:d}=this;if(r!==Cr.cbc||t.byteLength!==16)return he.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),d&&(e=kt(d,e),this.remainderData=null);const p=this.getValidChunk(e);if(!p.length)return null;a&&(n=a);let m=this.softwareDecrypter;m||(m=this.softwareDecrypter=new Fr),m.expandKey(t);const v=s;return this.currentResult=m.decrypt(p.buffer,0,n),this.currentIV=p.slice(-16).buffer,v||null}webCryptoDecrypt(e,t,n,r){if(this.key!==t||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(e,t,n,r));this.key=t,this.fastAesKey=new Lr(this.subtle,t,r)}return this.fastAesKey.expandKey().then(a=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new wr(this.subtle,new Uint8Array(n),r).decrypt(e.buffer,a)):Promise.reject(new Error("web crypto not initialized"))).catch(a=>(he.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${a.name}: ${a.message}`),this.onWebCryptoError(e,t,n,r)))}onWebCryptoError(e,t,n,r){const a=this.enableSoftwareAES;if(a){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(e,t,n,r);const s=this.flush();if(s)return s.buffer}throw new Error("WebCrypto"+(a?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(e){let t=e;const n=e.length-e.length%Zr;return n!==e.length&&(t=e.slice(0,n),this.remainderData=e.slice(n)),t}logOnce(e){this.logEnabled&&(he.log(`[decrypter]: ${e}`),this.logEnabled=!1)}}const Xr=Math.pow(2,17);class Ir{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 En({type:ce.NETWORK_ERROR,details:j.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,a=r.fLoader,s=r.loader;return new Promise((d,p)=>{if(this.loader&&this.loader.destroy(),e.gap)if(e.tagList.some(ee=>ee[0]==="GAP")){p(Nr(e));return}else e.gap=!1;const m=this.loader=a?new a(r):new s(r),v=Or(e);e.loader=m;const S=or(r.fragLoadPolicy.default),F={loadPolicy:S,timeout:S.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:e.sn==="initSegment"?1/0:Xr};e.stats=m.stats;const q={onSuccess:(ee,We,He,Dt)=>{this.resetLoader(e,m);let Ut=ee.data;He.resetIV&&e.decryptdata&&(e.decryptdata.iv=new Uint8Array(Ut.slice(0,16)),Ut=Ut.slice(16)),d({frag:e,part:null,payload:Ut,networkDetails:Dt})},onError:(ee,We,He,Dt)=>{this.resetLoader(e,m),p(new En({type:ce.NETWORK_ERROR,details:j.FRAG_LOAD_ERROR,fatal:!1,frag:e,response:w({url:n,data:void 0},ee),error:new Error(`HTTP Error ${ee.code} ${ee.text}`),networkDetails:He,stats:Dt}))},onAbort:(ee,We,He)=>{this.resetLoader(e,m),p(new En({type:ce.NETWORK_ERROR,details:j.INTERNAL_ABORTED,fatal:!1,frag:e,error:new Error("Aborted"),networkDetails:He,stats:ee}))},onTimeout:(ee,We,He)=>{this.resetLoader(e,m),p(new En({type:ce.NETWORK_ERROR,details:j.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,error:new Error(`Timeout after ${F.timeout}ms`),networkDetails:He,stats:ee}))}};t&&(q.onProgress=(ee,We,He,Dt)=>t({frag:e,part:null,payload:He,networkDetails:Dt})),m.load(v,F,q)})}loadPart(e,t,n){this.abort();const r=this.config,a=r.fLoader,s=r.loader;return new Promise((d,p)=>{if(this.loader&&this.loader.destroy(),e.gap||t.gap){p(Nr(e,t));return}const m=this.loader=a?new a(r):new s(r),v=Or(e,t);e.loader=m;const S=or(r.fragLoadPolicy.default),F={loadPolicy:S,timeout:S.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:Xr};t.stats=m.stats,m.load(v,F,{onSuccess:(q,ee,We,He)=>{this.resetLoader(e,m),this.updateStatsFromPart(e,t);const Dt={frag:e,part:t,payload:q.data,networkDetails:He};n(Dt),d(Dt)},onError:(q,ee,We,He)=>{this.resetLoader(e,m),p(new En({type:ce.NETWORK_ERROR,details:j.FRAG_LOAD_ERROR,fatal:!1,frag:e,part:t,response:w({url:v.url,data:void 0},q),error:new Error(`HTTP Error ${q.code} ${q.text}`),networkDetails:We,stats:He}))},onAbort:(q,ee,We)=>{e.stats.aborted=t.stats.aborted,this.resetLoader(e,m),p(new En({type:ce.NETWORK_ERROR,details:j.INTERNAL_ABORTED,fatal:!1,frag:e,part:t,error:new Error("Aborted"),networkDetails:We,stats:q}))},onTimeout:(q,ee,We)=>{this.resetLoader(e,m),p(new En({type:ce.NETWORK_ERROR,details:j.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,part:t,error:new Error(`Timeout after ${F.timeout}ms`),networkDetails:We,stats:q}))}})})}updateStatsFromPart(e,t){const n=e.stats,r=t.stats,a=r.total;if(n.loaded+=r.loaded,a){const p=Math.round(e.duration/t.duration),m=Math.min(Math.round(n.loaded/a),p),S=(p-m)*Math.round(n.loaded/m);n.total=n.loaded+S}else n.total=Math.max(n.loaded,n.total);const s=n.loading,d=r.loading;s.start?s.first+=d.first-d.start:(s.start=d.start,s.first=d.first),s.end=d.end}resetLoader(e,t){e.loader=null,this.loader===t&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),t.destroy()}}function Or(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,a=t.byteRangeEndOffset;if(i(r)&&i(a)){var s;let d=r,p=a;if(o.sn==="initSegment"&&on((s=o.decryptdata)==null?void 0:s.method)){const m=a-r;m%16&&(p=a+(16-m%16)),r!==0&&(n.resetIV=!0,d=r-16)}n.rangeStart=d,n.rangeEnd=p}return n}function Nr(o,e){const t=new Error(`GAP ${o.gap?"tag":"attribute"} found`),n={type:ce.MEDIA_ERROR,details:j.FRAG_GAP,fatal:!1,frag:o,error:t,networkDetails:null};return e&&(n.part=e),(e||o).stats.aborted=!0,new En(n)}function on(o){return o==="AES-128"||o==="AES-256"}class En extends Error{constructor(e){super(e.error.message),this.data=void 0,this.data=e}}class br extends Y{constructor(e,t){super(e,t),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(){}}class Dr{constructor(e,t,n,r=0,a=-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=Qr(),this.buffering={audio:Qr(),video:Qr(),audiovideo:Qr()},this.level=e,this.sn=t,this.id=n,this.size=r,this.part=a,this.partial=s}}function Qr(){return{start:0,executeStart:0,executeEnd:0,end:0}}const Ar={length:0,start:()=>0,end:()=>0};class cr{static isBuffered(e,t){if(e){const n=cr.getBuffered(e);for(let r=n.length;r--;)if(t>=n.start(r)&&t<=n.end(r))return!0}return!1}static bufferedRanges(e){if(e){const t=cr.getBuffered(e);return cr.timeRangesToArray(t)}return[]}static timeRangesToArray(e){const t=[];for(let n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t}static bufferInfo(e,t,n){if(e){const r=cr.bufferedRanges(e);if(r.length)return cr.bufferedInfo(r,t,n)}return{len:0,start:t,end:t,bufferedIndex:-1}}static bufferedInfo(e,t,n){t=Math.max(0,t),e.length>1&&e.sort((v,S)=>v.start-S.start||S.end-v.end);let r=-1,a=[];if(n)for(let v=0;v<e.length;v++){t>=e[v].start&&t<=e[v].end&&(r=v);const S=a.length;if(S){const F=a[S-1].end;e[v].start-F<n?e[v].end>F&&(a[S-1].end=e[v].end):a.push(e[v])}else a.push(e[v])}else a=e;let s=0,d,p=t,m=t;for(let v=0;v<a.length;v++){const S=a[v].start,F=a[v].end;if(r===-1&&t>=S&&t<=F&&(r=v),t+n>=S&&t<F)p=S,m=F,s=m-t;else if(t+n<S){d=S;break}}return{len:s,start:p||0,end:m||0,nextStart:d,buffered:e,bufferedIndex:r}}static getBuffered(e){try{return e.buffered||Ar}catch(t){return he.log("failed to get media.buffered",t),Ar}}}const hi=/\{\$([a-zA-Z0-9-_]+)\}/g;function ar(o){return hi.test(o)}function _i(o,e){if(o.variableList!==null||o.hasVariableRefs){const t=o.variableList;return e.replace(hi,n=>{const r=n.substring(2,n.length-1),a=t==null?void 0:t[r];return a===void 0?(o.playlistParsingError||(o.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${r}"`)),n):a})}return e}function Yi(o,e,t){let n=o.variableList;n||(o.variableList=n={});let r,a;if("QUERYPARAM"in e){r=e.QUERYPARAM;try{const s=new self.URL(t).searchParams;if(s.has(r))a=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,a=e.VALUE;r in n?o.playlistParsingError||(o.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${r}"`)):n[r]=a||""}function $i(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}"`))}const Mi=/^(\d+)x(\d+)$/,ki=/(.+?)=(".*?"|.*?)(?:,|$)/g;class Gr{constructor(e,t){typeof e=="string"&&(e=Gr.parseAttrList(e,t)),b(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}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]}enumeratedStringList(e,t){const n=this[e];return(n?n.split(/[ ,]+/):[]).reduce((r,a)=>(r[a.toLowerCase()]=!0,r),t)}bool(e){return this[e]==="YES"}decimalResolution(e){const t=Mi.exec(this[e]);if(t!==null)return{width:parseInt(t[1],10),height:parseInt(t[2],10)}}static parseAttrList(e,t){let n;const r={},a='"';for(ki.lastIndex=0;(n=ki.exec(e))!==null;){const s=n[1].trim();let d=n[2];const p=d.indexOf(a)===0&&d.lastIndexOf(a)===d.length-1;let m=!1;if(p)d=d.slice(1,-1);else switch(s){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":m=!0}if(t&&(p||m))d=_i(t,d);else if(!m&&!p)switch(s){case"CLOSED-CAPTIONS":if(d==="NONE")break;case"ALLOWED-CPC":case"CLASS":case"ASSOC-LANGUAGE":case"AUDIO":case"BYTERANGE":case"CHANNELS":case"CHARACTERISTICS":case"CODECS":case"DATA-ID":case"END-DATE":case"GROUP-ID":case"ID":case"IMPORT":case"INSTREAM-ID":case"KEYFORMAT":case"KEYFORMATVERSIONS":case"LANGUAGE":case"NAME":case"PATHWAY-ID":case"QUERYPARAM":case"RECENTLY-REMOVED-DATERANGES":case"SERVER-URI":case"STABLE-RENDITION-ID":case"STABLE-VARIANT-ID":case"START-DATE":case"SUBTITLES":case"SUPPLEMENTAL-CODECS":case"URI":case"VALUE":case"VIDEO":case"X-ASSET-LIST":case"X-ASSET-URI":he.warn(`${e}: attribute ${s} is missing quotes`)}r[s]=d}return r}}const Di="com.apple.hls.interstitial";function ra(o){return o!=="ID"&&o!=="CLASS"&&o!=="CUE"&&o!=="START-DATE"&&o!=="DURATION"&&o!=="END-DATE"&&o!=="END-ON-NEXT"}function Zi(o){return o==="SCTE35-OUT"||o==="SCTE35-IN"||o==="SCTE35-CMD"}class pi{constructor(e,t,n=0){var r;if(this.attr=void 0,this.tagAnchor=void 0,this.tagOrder=void 0,this._startDate=void 0,this._endDate=void 0,this._dateAtEnd=void 0,this._cue=void 0,this._badValueForSameId=void 0,this.tagAnchor=(t==null?void 0:t.tagAnchor)||null,this.tagOrder=(r=t==null?void 0:t.tagOrder)!=null?r:n,t){const a=t.attr;for(const s in a)if(Object.prototype.hasOwnProperty.call(e,s)&&e[s]!==a[s]){he.warn(`DATERANGE tag attribute: "${s}" does not match for tags with ID: "${e.ID}"`),this._badValueForSameId=s;break}e=b(new Gr({}),a,e)}if(this.attr=e,t?(this._startDate=t._startDate,this._cue=t._cue,this._endDate=t._endDate,this._dateAtEnd=t._dateAtEnd):this._startDate=new Date(e["START-DATE"]),"END-DATE"in this.attr){const a=(t==null?void 0:t.endDate)||new Date(this.attr["END-DATE"]);i(a.getTime())&&(this._endDate=a)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get cue(){const e=this._cue;return e===void 0?this._cue=this.attr.enumeratedStringList(this.attr.CUE?"CUE":"X-CUE",{pre:!1,post:!1,once:!1}):e}get startTime(){const{tagAnchor:e}=this;return e===null||e.programDateTime===null?(he.warn(`Expected tagAnchor Fragment with PDT set for DateRange "${this.id}": ${e}`),NaN):e.start+(this.startDate.getTime()-e.programDateTime)/1e3}get startDate(){return this._startDate}get endDate(){const e=this._endDate||this._dateAtEnd;if(e)return e;const t=this.duration;return t!==null?this._dateAtEnd=new Date(this._startDate.getTime()+t*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 isInterstitial(){return this.class===Di}get isValid(){return!!this.id&&!this._badValueForSameId&&i(this.startDate.getTime())&&(this.duration===null||this.duration>=0)&&(!this.endOnNext||!!this.class)&&(!this.attr.CUE||!this.cue.pre&&!this.cue.post||this.cue.pre!==this.cue.post)&&(!this.isInterstitial||"X-ASSET-URI"in this.attr||"X-ASSET-LIST"in this.attr)}}const Ni=10;class ji{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.dateRangeTagCount=0,this.live=!0,this.requestScheduled=-1,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!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.appliedTimelineOffset=void 0,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}hasKey(e){return this.encryptedFragments.some(t=>{let n=t.decryptdata;return n||(t.setKeyFormat(e.keyFormat),n=t.decryptdata),!!n&&e.matches(n)})}get hasProgramDateTime(){return this.fragments.length?i(this.fragments[this.fragments.length-1].programDateTime):!1}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||Ni}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(){return this.fragments.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){return this.fragments.length?this.fragments[0].start: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 maxPartIndex(){const e=this.partList;if(e){const t=this.lastPartIndex;if(t!==-1){for(let n=e.length;n--;)if(e[n].index>t)return e[n].index;return t}}return 0}get lastPartSn(){var e;return(e=this.partList)!=null&&e.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}get expired(){if(this.live&&this.age&&this.misses<3){const e=this.partEnd-this.fragmentStart;return this.age>Math.max(e,this.totalduration)+this.levelTargetDuration}return!1}}function zr(o,e){return o.length===e.length?!o.some((t,n)=>t!==e[n]):!1}function ri(o,e){return!o&&!e?!0:!o||!e?!1:zr(o,e)}function vr(o){return o==="AES-128"||o==="AES-256"||o==="AES-256-CTR"}function yr(o){switch(o){case"AES-128":case"AES-256":return Cr.cbc;case"AES-256-CTR":return Cr.ctr;default:throw new Error(`invalid full segment method ${o}`)}}function Mr(o){return Uint8Array.from(atob(o),e=>e.charCodeAt(0))}function Vr(o){return Uint8Array.from(unescape(encodeURIComponent(o)),e=>e.charCodeAt(0))}function wi(o){const e=Vr(o).subarray(0,16),t=new Uint8Array(16);return t.set(e,16-e.length),t}function xr(o){const e=function(n,r,a){const s=n[r];n[r]=n[a],n[a]=s};e(o,0,3),e(o,1,2),e(o,4,5),e(o,6,7)}function Rr(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 a=r[0]==="base64",s=r[1];a?(n.splice(-1,1),t=Mr(s)):t=wi(s)}}return t}const kr=typeof self!="undefined"?self:void 0;var jr={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},ii={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function ma(o){switch(o){case ii.FAIRPLAY:return jr.FAIRPLAY;case ii.PLAYREADY:return jr.PLAYREADY;case ii.WIDEVINE:return jr.WIDEVINE;case ii.CLEARKEY:return jr.CLEARKEY}}function Xi(o){switch(o){case jr.FAIRPLAY:return ii.FAIRPLAY;case jr.PLAYREADY:return ii.PLAYREADY;case jr.WIDEVINE:return ii.WIDEVINE;case jr.CLEARKEY:return ii.CLEARKEY}}function ua(o){const{drmSystems:e,widevineLicenseUrl:t}=o,n=e?[jr.FAIRPLAY,jr.WIDEVINE,jr.PLAYREADY,jr.CLEARKEY].filter(r=>!!e[r]):[];return!n[jr.WIDEVINE]&&t&&n.push(jr.WIDEVINE),n}const mi=function(o){return kr!=null&&(o=kr.navigator)!=null&&o.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function ai(o,e,t,n){let r;switch(o){case jr.FAIRPLAY:r=["cenc","sinf"];break;case jr.WIDEVINE:case jr.PLAYREADY:r=["cenc"];break;case jr.CLEARKEY:r=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${o}`)}return Ai(r,e,t,n)}function Ai(o,e,t,n){return[{initDataTypes:o,persistentState:n.persistentState||"optional",distinctiveIdentifier:n.distinctiveIdentifier||"optional",sessionTypes:n.sessionTypes||[n.sessionType||"temporary"],audioCapabilities:e.map(a=>({contentType:`audio/mp4; codecs=${a}`,robustness:n.audioRobustness||"",encryptionScheme:n.audioEncryptionScheme||null})),videoCapabilities:t.map(a=>({contentType:`video/mp4; codecs=${a}`,robustness:n.videoRobustness||"",encryptionScheme:n.videoEncryptionScheme||null}))}]}function Li(o){var e;return!!o&&(o.sessionType==="persistent-license"||!!((e=o.sessionTypes)!=null&&e.some(t=>t==="persistent-license")))}function ia(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 d=s.childNodes[0]?s.childNodes[0].nodeValue:s.getAttribute("VALUE");if(d){const p=Mr(d).subarray(0,16);return xr(p),p}}return null}let ya={};class Ca{static clearKeyUriToKeyIdMap(){ya={}}static setKeyIdForUri(e,t){ya[e]=t}constructor(e,t,n,r=[1],a=null,s){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=a,this.encrypted=e?e!=="NONE":!1,this.isCommonEncryption=this.encrypted&&!vr(e),s!=null&&s.startsWith("0x")&&(this.keyId=new Uint8Array(k(s)))}matches(e){return e.uri===this.uri&&e.method===this.method&&e.encrypted===this.encrypted&&e.keyFormat===this.keyFormat&&zr(e.keyFormatVersions,this.keyFormatVersions)&&ri(e.iv,this.iv)&&ri(e.keyId,this.keyId)}isSupported(){if(this.method){if(vr(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case ii.FAIRPLAY:case ii.WIDEVINE:case ii.PLAYREADY:case ii.CLEARKEY:return["SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(e,t){if(!this.encrypted||!this.uri)return null;if(vr(this.method)){let a=this.iv;return a||(typeof e!="number"&&(he.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),e=0),a=Aa(e)),new Ca(this.method,this.uri,"identity",this.keyFormatVersions,a)}if(this.keyId){const a=ya[this.uri];if(a&&!zr(this.keyId,a)&&Ca.setKeyIdForUri(this.uri,this.keyId),this.pssh)return this}const n=Rr(this.uri);if(n)switch(this.keyFormat){case ii.WIDEVINE:if(this.pssh=n,!this.keyId){const a=rt(n.buffer);if(a.length){var r;const s=a[0];this.keyId=(r=s.kids)!=null&&r.length?s.kids[0]:null}}this.keyId||(this.keyId=$a(t));break;case ii.PLAYREADY:{const a=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=D(a,null,n),this.keyId=ia(n);break}default:{let a=n.subarray(0,16);if(a.length!==16){const s=new Uint8Array(16);s.set(a,16-a.length),a=s}this.keyId=a;break}}if(!this.keyId||this.keyId.byteLength!==16){let a;a=Da(t),a||(a=$a(t),a||(a=ya[this.uri])),a&&(this.keyId=a,Ca.setKeyIdForUri(this.uri,a))}return this}}function Da(o){const e=o==null?void 0:o[ii.WIDEVINE];return e?e.keyId:null}function $a(o){const e=o==null?void 0:o[ii.PLAYREADY];if(e){const t=Rr(e.uri);if(t)return ia(t)}return null}function Aa(o){const e=new Uint8Array(16);for(let t=12;t<16;t++)e[t]=o>>8*(15-t)&255;return e}const vs=/#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,ws=/#EXT-X-MEDIA:(.*)/g,Ds=/^#EXT(?:INF|-X-TARGETDURATION):/m,za=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),Rs=new RegExp([/#EXT-X-(PROGRAM-DATE-TIME|BYTERANGE|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 Za{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 _.buildAbsoluteURL(t,e,{alwaysNormalize:!0})}static isMediaPlaylist(e){return Ds.test(e)}static parseMasterPlaylist(e,t){const n=ar(e),r={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:n},a=[];if(vs.lastIndex=0,!e.startsWith("#EXTM3U"))return r.playlistParsingError=new Error("no EXTM3U delimiter"),r;let s;for(;(s=vs.exec(e))!=null;)if(s[1]){var d;const m=new Gr(s[1],r),v=_i(r,s[2]),S={attrs:m,bitrate:m.decimalInteger("BANDWIDTH")||m.decimalInteger("AVERAGE-BANDWIDTH"),name:m.NAME,url:Za.resolve(v,t)},F=m.decimalResolution("RESOLUTION");F&&(S.width=F.width,S.height=F.height),ds(m.CODECS,S);const q=m["SUPPLEMENTAL-CODECS"];q&&(S.supplemental={},ds(q,S.supplemental)),(d=S.unknownCodecs)!=null&&d.length||a.push(S),r.levels.push(S)}else if(s[3]){const m=s[3],v=s[4];switch(m){case"SESSION-DATA":{const S=new Gr(v,r),F=S["DATA-ID"];F&&(r.sessionData===null&&(r.sessionData={}),r.sessionData[F]=S);break}case"SESSION-KEY":{const S=$s(v,t,r);S.encrypted&&S.isSupported()?(r.sessionKeys===null&&(r.sessionKeys=[]),r.sessionKeys.push(S)):he.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${v}"`);break}case"DEFINE":{{const S=new Gr(v,r);Yi(r,S,t)}break}case"CONTENT-STEERING":{const S=new Gr(v,r);r.contentSteering={uri:Za.resolve(S["SERVER-URI"],t),pathwayId:S["PATHWAY-ID"]||"."};break}case"START":{r.startTimeOffset=Vs(v);break}}}const p=a.length>0&&a.length<r.levels.length;return r.levels=p?a:r.levels,r.levels.length===0&&(r.playlistParsingError=new Error("no levels found in manifest")),r}static parseMasterPlaylistMedia(e,t,n){let r;const a={},s=n.levels,d={AUDIO:s.map(m=>({id:m.attrs.AUDIO,audioCodec:m.audioCodec})),SUBTITLES:s.map(m=>({id:m.attrs.SUBTITLES,textCodec:m.textCodec})),"CLOSED-CAPTIONS":[]};let p=0;for(ws.lastIndex=0;(r=ws.exec(e))!==null;){const m=new Gr(r[1],n),v=m.TYPE;if(v){const S=d[v],F=a[v]||[];a[v]=F;const q=m.LANGUAGE,ee=m["ASSOC-LANGUAGE"],We=m.CHANNELS,He=m.CHARACTERISTICS,Dt=m["INSTREAM-ID"],Ut={attrs:m,bitrate:0,id:p++,groupId:m["GROUP-ID"]||"",name:m.NAME||q||"",type:v,default:m.bool("DEFAULT"),autoselect:m.bool("AUTOSELECT"),forced:m.bool("FORCED"),lang:q,url:m.URI?Za.resolve(m.URI,t):""};if(ee&&(Ut.assocLang=ee),We&&(Ut.channels=We),He&&(Ut.characteristics=He),Dt&&(Ut.instreamId=Dt),S!=null&&S.length){const $t=Za.findGroup(S,Ut.groupId)||S[0];Ya(Ut,$t,"audioCodec"),Ya(Ut,$t,"textCodec")}F.push(Ut)}}return a}static parseLevelPlaylist(e,t,n,r,a,s){var d;const p={url:t},m=new ji(t),v=m.fragments,S=[];let F=null,q=0,ee=0,We=0,He=0,Dt=0,Ut=null,$t=new At(r,p),yn,Tn,sr,Dn=-1,Vn=!1,$n=null,On;if(za.lastIndex=0,m.m3u8=e,m.hasVariableRefs=ar(e),((d=za.exec(e))==null?void 0:d[0])!=="#EXTM3U")return m.playlistParsingError=new Error("Missing format identifier #EXTM3U"),m;for(;(yn=za.exec(e))!==null;){Vn&&(Vn=!1,$t=new At(r,p),$t.playlistOffset=We,$t.setStart(We),$t.sn=q,$t.cc=He,Dt&&($t.bitrate=Dt),$t.level=n,F&&($t.initSegment=F,F.rawProgramDateTime&&($t.rawProgramDateTime=F.rawProgramDateTime,F.rawProgramDateTime=null),$n&&($t.setByteRange($n),$n=null)));const vi=yn[1];if(vi){$t.duration=parseFloat(vi);const li=(" "+yn[2]).slice(1);$t.title=li||null,$t.tagList.push(li?["INF",vi,li]:["INF",vi])}else if(yn[3]){if(i($t.duration)){$t.playlistOffset=We,$t.setStart(We),sr&&Oa($t,sr,m),$t.sn=q,$t.level=n,$t.cc=He,v.push($t);const li=(" "+yn[3]).slice(1);$t.relurl=_i(m,li),gi($t,Ut,S),Ut=$t,We+=$t.duration,q++,ee=0,Vn=!0}}else{if(yn=yn[0].match(Rs),!yn){he.warn("No matches on slow regex match for level playlist!");continue}for(Tn=1;Tn<yn.length&&yn[Tn]===void 0;Tn++);const li=(" "+yn[Tn]).slice(1),Br=(" "+yn[Tn+1]).slice(1),ui=yn[Tn+2]?(" "+yn[Tn+2]).slice(1):null;switch(li){case"BYTERANGE":Ut?$t.setByteRange(Br,Ut):$t.setByteRange(Br);break;case"PROGRAM-DATE-TIME":$t.rawProgramDateTime=Br,$t.tagList.push(["PROGRAM-DATE-TIME",Br]),Dn===-1&&(Dn=v.length);break;case"PLAYLIST-TYPE":m.type&&Ui(m,li,yn),m.type=Br.toUpperCase();break;case"MEDIA-SEQUENCE":m.startSN!==0?Ui(m,li,yn):v.length>0&&Ea(m,li,yn),q=m.startSN=parseInt(Br);break;case"SKIP":{m.skippedSegments&&Ui(m,li,yn);const ti=new Gr(Br,m),fi=ti.decimalInteger("SKIPPED-SEGMENTS");if(i(fi)){m.skippedSegments+=fi;for(let Hr=fi;Hr--;)v.push(null);q+=fi}const Ci=ti.enumeratedString("RECENTLY-REMOVED-DATERANGES");Ci&&(m.recentlyRemovedDateranges=(m.recentlyRemovedDateranges||[]).concat(Ci.split(" ")));break}case"TARGETDURATION":m.targetduration!==0&&Ui(m,li,yn),m.targetduration=Math.max(parseInt(Br),1);break;case"VERSION":m.version!==null&&Ui(m,li,yn),m.version=parseInt(Br);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":m.live||Ui(m,li,yn),m.live=!1;break;case"#":(Br||ui)&&$t.tagList.push(ui?[Br,ui]:[Br]);break;case"DISCONTINUITY":He++,$t.tagList.push(["DIS"]);break;case"GAP":$t.gap=!0,$t.tagList.push([li]);break;case"BITRATE":$t.tagList.push([li,Br]),Dt=parseInt(Br)*1e3,i(Dt)?$t.bitrate=Dt:Dt=0;break;case"DATERANGE":{const ti=new Gr(Br,m),fi=new pi(ti,m.dateRanges[ti.ID],m.dateRangeTagCount);m.dateRangeTagCount++,fi.isValid||m.skippedSegments?m.dateRanges[fi.id]=fi:he.warn(`Ignoring invalid DATERANGE tag: "${Br}"`),$t.tagList.push(["EXT-X-DATERANGE",Br]);break}case"DEFINE":{{const ti=new Gr(Br,m);"IMPORT"in ti?$i(m,ti,s):Yi(m,ti,t)}break}case"DISCONTINUITY-SEQUENCE":m.startCC!==0?Ui(m,li,yn):v.length>0&&Ea(m,li,yn),m.startCC=He=parseInt(Br);break;case"KEY":{const ti=$s(Br,t,m);if(ti.isSupported()){if(ti.method==="NONE"){sr=void 0;break}sr||(sr={});const fi=sr[ti.keyFormat];fi!=null&&fi.matches(ti)||(fi&&(sr=b({},sr)),sr[ti.keyFormat]=ti)}else he.warn(`[Keys] Ignoring unsupported EXT-X-KEY tag: "${Br}"`);break}case"START":m.startTimeOffset=Vs(Br);break;case"MAP":{const ti=new Gr(Br,m);if($t.duration){const fi=new At(r,p);Ta(fi,ti,n,sr),F=fi,$t.initSegment=F,F.rawProgramDateTime&&!$t.rawProgramDateTime&&($t.rawProgramDateTime=F.rawProgramDateTime)}else{const fi=$t.byteRangeEndOffset;if(fi){const Ci=$t.byteRangeStartOffset;$n=`${fi-Ci}@${Ci}`}else $n=null;Ta($t,ti,n,sr),F=$t,Vn=!0}F.cc=He;break}case"SERVER-CONTROL":{On&&Ui(m,li,yn),On=new Gr(Br),m.canBlockReload=On.bool("CAN-BLOCK-RELOAD"),m.canSkipUntil=On.optionalFloat("CAN-SKIP-UNTIL",0),m.canSkipDateRanges=m.canSkipUntil>0&&On.bool("CAN-SKIP-DATERANGES"),m.partHoldBack=On.optionalFloat("PART-HOLD-BACK",0),m.holdBack=On.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{m.partTarget&&Ui(m,li,yn);const ti=new Gr(Br);m.partTarget=ti.decimalFloatingPoint("PART-TARGET");break}case"PART":{let ti=m.partList;ti||(ti=m.partList=[]);const fi=ee>0?ti[ti.length-1]:void 0,Ci=ee++,Hr=new Gr(Br,m),Wr=new Ie(Hr,$t,p,Ci,fi);ti.push(Wr),$t.duration+=Wr.duration;break}case"PRELOAD-HINT":{const ti=new Gr(Br,m);m.preloadHint=ti;break}case"RENDITION-REPORT":{const ti=new Gr(Br,m);m.renditionReports=m.renditionReports||[],m.renditionReports.push(ti);break}default:he.warn(`line parsed but not handled: ${yn}`);break}}}Ut&&!Ut.relurl?(v.pop(),We-=Ut.duration,m.partList&&(m.fragmentHint=Ut)):m.partList&&(gi($t,Ut,S),$t.cc=He,m.fragmentHint=$t,sr&&Oa($t,sr,m)),m.targetduration||(m.playlistParsingError=new Error("Missing Target Duration"));const pr=v.length,$r=v[0],oi=v[pr-1];if(We+=m.skippedSegments*m.targetduration,We>0&&pr&&oi){m.averagetargetduration=We/pr;const vi=oi.sn;m.endSN=vi!=="initSegment"?vi:0,m.live||(oi.endList=!0),Dn>0&&(Ti(v,Dn),$r&&S.unshift($r))}return m.fragmentHint&&(We+=m.fragmentHint.duration),m.totalduration=We,S.length&&m.dateRangeTagCount&&$r&&Fs(S,m),m.endCC=He,m}}function Fs(o,e){let t=o.length;if(!t)if(e.hasProgramDateTime){const d=e.fragments[e.fragments.length-1];o.push(d),t++}else return;const n=o[t-1],r=e.live?1/0:e.totalduration,a=Object.keys(e.dateRanges);for(let d=a.length;d--;){const p=e.dateRanges[a[d]],m=p.startDate.getTime();p.tagAnchor=n.ref;for(let v=t;v--;){var s;if(((s=o[v])==null?void 0:s.sn)<e.startSN)break;const S=zs(e,m,o,v,r);if(S!==-1){p.tagAnchor=e.fragments[S].ref;break}}}}function zs(o,e,t,n,r){const a=t[n];if(a){const d=a.programDateTime;if(e>=d||n===0){var s;const p=(((s=t[n+1])==null?void 0:s.start)||r)-a.start;if(e<=d+p*1e3){const m=t[n].sn-o.startSN;if(m<0)return-1;const v=o.fragments;if(v.length>t.length){const F=(t[n+1]||v[v.length-1]).sn-o.startSN;for(let q=F;q>m;q--){const ee=v[q].programDateTime;if(e>=ee&&e<ee+v[q].duration*1e3)return q}}return m}}}return-1}function $s(o,e,t){var n,r;const a=new Gr(o,t),s=(n=a.METHOD)!=null?n:"",d=a.URI,p=a.hexadecimalInteger("IV"),m=a.KEYFORMATVERSIONS,v=(r=a.KEYFORMAT)!=null?r:"identity";d&&a.IV&&!p&&he.error(`Invalid IV: ${a.IV}`);const S=d?Za.resolve(d,e):"",F=(m||"1").split("/").map(Number).filter(Number.isFinite);return new Ca(s,S,v,F,p,a.KEYID)}function Vs(o){const t=new Gr(o).decimalFloatingPoint("TIME-OFFSET");return i(t)?t:null}function ds(o,e){let t=(o||"").split(/[ ,]+/).filter(n=>n);["video","audio","text"].forEach(n=>{const r=t.filter(a=>Ce(a,n));r.length&&(e[`${n}Codec`]=r.map(a=>a.split("/")[0]).join(","),t=t.filter(a=>r.indexOf(a)===-1))}),e.unknownCodecs=t}function Ya(o,e,t){const n=e[t];n&&(o[t]=n)}function Ti(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 gi(o,e,t){o.rawProgramDateTime?t.push(o):e!=null&&e.programDateTime&&(o.programDateTime=e.endProgramDateTime)}function Ta(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 Oa(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)}function Ui(o,e,t){o.playlistParsingError=new Error(`#EXT-X-${e} must not appear more than once (${t[0]})`)}function Ea(o,e,t){o.playlistParsingError=new Error(`#EXT-X-${e} must appear before the first Media Segment (${t[0]})`)}function ja(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.setDuration(n)}else e.sn>o.sn?o.cc===e.cc&&o.minEndPTS?e.setStart(o.start+(o.minEndPTS-o.start)):e.setStart(o.start+o.duration):e.setStart(Math.max(o.start-e.duration,0))}function Ua(o,e,t,n,r,a,s){n-t<=0&&(s.warn("Fragment should have a positive duration",e),n=t+e.duration,a=r+e.duration);let p=t,m=n;const v=e.startPTS,S=e.endPTS;if(i(v)){const Dt=Math.abs(v-t);o&&Dt>o.totalduration?s.warn(`media timestamps and playlist times differ by ${Dt}s for level ${e.level} ${o.url}`):i(e.deltaPTS)?e.deltaPTS=Math.max(Dt,e.deltaPTS):e.deltaPTS=Dt,p=Math.max(t,v),t=Math.min(t,v),r=e.startDTS!==void 0?Math.min(r,e.startDTS):r,m=Math.min(n,S),n=Math.max(n,S),a=e.endDTS!==void 0?Math.max(a,e.endDTS):a}const F=t-e.start;e.start!==0&&e.setStart(t),e.setDuration(n-e.start),e.startPTS=t,e.maxStartPTS=p,e.startDTS=r,e.endPTS=n,e.minEndPTS=m,e.endDTS=a;const q=e.sn;if(!o||q<o.startSN||q>o.endSN)return 0;let ee;const We=q-o.startSN,He=o.fragments;for(He[We]=e,ee=We;ee>0;ee--)ja(He[ee],He[ee-1]);for(ee=We;ee<He.length-1;ee++)ja(He[ee],He[ee+1]);return o.fragmentHint&&ja(He[He.length-1],o.fragmentHint),o.PTSKnown=o.alignedSliding=!0,F}function rs(o,e,t){if(o===e)return;let n=null;const r=o.fragments;for(let v=r.length-1;v>=0;v--){const S=r[v].initSegment;if(S){n=S;break}}o.fragmentHint&&delete o.fragmentHint.endPTS;let a;Xa(o,e,(v,S,F,q)=>{if((!e.startCC||e.skippedSegments)&&S.cc!==v.cc){const ee=v.cc-S.cc;for(let We=F;We<q.length;We++)q[We].cc+=ee;e.endCC=q[q.length-1].cc}i(v.startPTS)&&i(v.endPTS)&&(S.setStart(S.startPTS=v.startPTS),S.startDTS=v.startDTS,S.maxStartPTS=v.maxStartPTS,S.endPTS=v.endPTS,S.endDTS=v.endDTS,S.minEndPTS=v.minEndPTS,S.setDuration(v.endPTS-v.startPTS),S.duration&&(a=S),e.PTSKnown=e.alignedSliding=!0),v.hasStreams&&(S.elementaryStreams=v.elementaryStreams),S.loader=v.loader,v.hasStats&&(S.stats=v.stats),v.initSegment&&(S.initSegment=v.initSegment,n=v.initSegment)});const s=e.fragments,d=e.fragmentHint?s.concat(e.fragmentHint):s;if(n&&d.forEach(v=>{var S;v&&(!v.initSegment||v.initSegment.relurl===((S=n)==null?void 0:S.relurl))&&(v.initSegment=n)}),e.skippedSegments){if(e.deltaUpdateFailed=s.some(v=>!v),e.deltaUpdateFailed){t.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let v=e.skippedSegments;v--;)s.shift();e.startSN=s[0].sn}else{e.canSkipDateRanges&&(e.dateRanges=Pa(o.dateRanges,e,t));const v=o.fragments.filter(S=>S.rawProgramDateTime);if(o.hasProgramDateTime&&!e.hasProgramDateTime)for(let S=1;S<d.length;S++)d[S].programDateTime===null&&gi(d[S],d[S-1],v);Fs(v,e)}e.endCC=s[s.length-1].cc}if(!e.startCC){var p;const v=Vi(o,e.startSN-1);e.startCC=(p=v==null?void 0:v.cc)!=null?p:s[0].cc}ss(o.partList,e.partList,(v,S)=>{S.elementaryStreams=v.elementaryStreams,S.stats=v.stats}),a?Ua(e,a,a.startPTS,a.endPTS,a.startDTS,a.endDTS,t):hs(o,e),s.length&&(e.totalduration=e.edge-s[0].start),e.driftStartTime=o.driftStartTime,e.driftStart=o.driftStart;const m=e.advancedDateTime;if(e.advanced&&m){const v=e.edge;e.driftStart||(e.driftStartTime=m,e.driftStart=v),e.driftEndTime=m,e.driftEnd=v}else e.driftEndTime=o.driftEndTime,e.driftEnd=o.driftEnd,e.advancedDateTime=o.advancedDateTime;e.requestScheduled===-1&&(e.requestScheduled=o.requestScheduled)}function Pa(o,e,t){const{dateRanges:n,recentlyRemovedDateranges:r}=e,a=b({},o);r&&r.forEach(p=>{delete a[p]});const d=Object.keys(a).length;return d?(Object.keys(n).forEach(p=>{const m=a[p],v=new pi(n[p].attr,m);v.isValid?(a[p]=v,m||(v.tagOrder+=d)):t.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${ct(n[p].attr)}"`)}),a):n}function ss(o,e,t){if(o&&e){let n=0;for(let r=0,a=o.length;r<=a;r++){const s=o[r],d=e[r+n];s&&d&&s.index===d.index&&s.fragment.sn===d.fragment.sn?t(s,d):n--}}}function Xa(o,e,t){const n=e.skippedSegments,r=Math.max(o.startSN,e.startSN)-e.startSN,a=(o.fragmentHint?1:0)+(n?e.endSN:Math.min(o.endSN,e.endSN))-e.startSN,s=e.startSN-o.startSN,d=e.fragmentHint?e.fragments.concat(e.fragmentHint):e.fragments,p=o.fragmentHint?o.fragments.concat(o.fragmentHint):o.fragments;for(let m=r;m<=a;m++){const v=p[s+m];let S=d[m];if(n&&!S&&v&&(S=e.fragments[m]=v),v&&S){t(v,S,m,d);const F=v.relurl,q=S.relurl;if(F&&_s(F,q)){e.playlistParsingError=fs(`media sequence mismatch ${S.sn}:`,o,e,v,S);return}else if(v.cc!==S.cc){e.playlistParsingError=fs(`discontinuity sequence mismatch (${v.cc}!=${S.cc})`,o,e,v,S);return}}}}function fs(o,e,t,n,r){return new Error(`${o} ${r.url}
|
|
|
Playlist starting @${e.startSN}
|
|
|
${e.m3u8}
|
|
|
|
|
|
Playlist starting @${t.startSN}
|
|
|
${t.m3u8}`)}function hs(o,e,t=!0){const n=e.startSN+e.skippedSegments-o.startSN,r=o.fragments,a=n>=0;let s=0;if(a&&n<r.length)s=r[n].start;else if(a&&e.startSN===o.endSN+1)s=o.fragmentEnd;else if(a&&t)s=o.fragmentStart+n*e.levelTargetDuration;else if(!e.skippedSegments&&e.fragmentStart===0)s=o.fragmentStart;else return;Gs(e,s)}function Gs(o,e){if(e){const t=o.fragments;for(let n=o.skippedSegments;n<t.length;n++)t[n].addStart(e);o.fragmentHint&&o.fragmentHint.addStart(e)}}function Ki(o,e=1/0){let t=1e3*o.targetduration;if(o.updated){const n=o.fragments;if(n.length&&t*4>e){const a=n[n.length-1].duration*1e3;a<t&&(t=a)}}else t/=2;return Math.round(t)}function Vi(o,e,t){if(!o)return null;let n=o.fragments[e-o.startSN];return n||(n=o.fragmentHint,n&&n.sn===e)?n:e<o.startSN&&t&&t.sn===e?t:null}function aa(o,e,t){return o?Ma(o.partList,e,t):null}function Ma(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 Ka(o){o.forEach((e,t)=>{var n;(n=e.details)==null||n.fragments.forEach(r=>{r.level=t,r.initSegment&&(r.initSegment.level=t)})})}function _s(o,e){return o!==e&&e?Ls(o)!==Ls(e):!1}function Ls(o){return o.replace(/\?[^?]*$/,"")}function ys(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 Ys(o,e){return!!(o&&e.startCC<o.endCC&&e.endCC>o.startCC)}function Os(o,e){const t=o.start+e;o.startPTS=t,o.setStart(t),o.endPTS=t+o.duration}function Ps(o,e){const t=e.fragments;for(let n=0,r=t.length;n<r;n++)Os(t[n],o);e.fragmentHint&&Os(e.fragmentHint,o),e.alignedSliding=!0}function Xs(o,e){o&&(Zs(e,o),e.alignedSliding||so(e,o),!e.alignedSliding&&!e.skippedSegments&&hs(o,e,!1))}function Zs(o,e){if(!Ys(e,o))return;const t=Math.min(e.endCC,o.endCC),n=ys(e.fragments,t),r=ys(o.fragments,t);if(!n||!r)return;he.log(`Aligning playlist at start of dicontinuity sequence ${t}`);const a=n.start-r.start;Ps(a,o)}function so(o,e){if(!o.hasProgramDateTime||!e.hasProgramDateTime)return;const t=o.fragments,n=e.fragments;if(!t.length||!n.length)return;let r,a;const s=Math.min(e.endCC,o.endCC);e.startCC<s&&o.startCC<s&&(r=ys(n,s),a=ys(t,s)),(!r||!a)&&(r=n[Math.floor(n.length/2)],a=ys(t,r.cc)||t[Math.floor(t.length/2)]);const d=r.programDateTime,p=a.programDateTime;if(!d||!p)return;const m=(p-d)/1e3-(a.start-r.start);Ps(m,o)}function Ha(o,e,t){Qa(o,e,t),o.addEventListener(e,t)}function Qa(o,e,t){o.removeEventListener(e,t)}const Bo={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}},dr={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 oo extends br{constructor(e,t,n,r,a){super(r,e.logger),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=dr.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.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.loadingParts=!1,this.loopSn=void 0,this.onMediaSeeking=()=>{const{config:s,fragCurrent:d,media:p,mediaBuffer:m,state:v}=this,S=p?p.currentTime:0,F=cr.bufferInfo(m||p,S,s.maxBufferHole),q=!F.len;if(this.log(`Media seeking to ${i(S)?S.toFixed(3):S}, state: ${v}, ${q?"out of":"in"} buffer`),this.state===dr.ENDED)this.resetLoadingState();else if(d){const ee=s.maxFragLookUpTolerance,We=d.start-ee,He=d.start+d.duration+ee;if(q||He<F.start||We>F.end){const Dt=S>He;(S<We||Dt)&&(Dt&&d.loader&&(this.log(`Cancelling fragment load for seek (sn: ${d.sn})`),d.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(p){this.fragmentTracker.removeFragmentsInRange(S,1/0,this.playlistType,!0);const ee=this.lastCurrentTime;if(S>ee&&(this.lastCurrentTime=S),!this.loadingParts){const We=Math.max(F.end,S),He=this.shouldLoadParts(this.getLevelDetails(),We);He&&(this.log(`LL-Part loading ON after seeking to ${S.toFixed(2)} with buffer @${We.toFixed(2)}`),this.loadingParts=He)}}this.hls.hasEnoughToStart||(this.log(`Setting ${q?"startPosition":"nextLoadPosition"} to ${S} for seek without enough to start`),this.nextLoadPosition=S,q&&(this.startPosition=S)),q&&this.state===dr.IDLE&&this.tickImmediate()},this.onMediaEnded=()=>{this.log("setting startPosition to 0 because media ended"),this.startPosition=this.lastCurrentTime=0},this.playlistType=a,this.hls=e,this.fragmentLoader=new Ir(e.config),this.keyLoader=n,this.fragmentTracker=t,this.config=e.config,this.decrypter=new _r(e.config)}registerListeners(){const{hls:e}=this;e.on(g.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(g.MANIFEST_LOADING,this.onManifestLoading,this),e.on(g.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(g.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(g.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(g.MANIFEST_LOADING,this.onManifestLoading,this),e.off(g.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(g.ERROR,this.onError,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(e){}stopLoad(){if(this.state===dr.STOPPED)return;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=dr.STOPPED}get startPositionValue(){const{nextLoadPosition:e,startPosition:t}=this;return t===-1&&e?e:t}get bufferingEnabled(){return this.buffering}pauseBuffering(){this.buffering=!1}resumeBuffering(){this.buffering=!0}get inFlightFrag(){return{frag:this.fragCurrent,state:this.state}}_streamEnded(e,t){if(t.live||!this.media)return!1;const n=e.end||0,r=this.config.timelineOffset||0;if(n<=r)return!1;const a=e.buffered;this.config.maxBufferHole&&a&&a.length>1&&(e=cr.bufferedInfo(a,e.start,0));const s=e.nextStart;if(s&&s>r&&s<t.edge||this.media.currentTime<e.start)return!1;const p=t.partList;if(p!=null&&p.length){const v=p[p.length-1];return cr.isBuffered(this.media,v.start+v.duration/2)}const m=t.fragments[t.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(m)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null)return this.levelLastLoaded.details}get timelineOffset(){const e=this.config.timelineOffset;if(e){var t;return((t=this.getLevelDetails())==null?void 0:t.appliedTimelineOffset)||e}return 0}onMediaAttached(e,t){const n=this.media=this.mediaBuffer=t.media;Ha(n,"seeking",this.onMediaSeeking),Ha(n,"ended",this.onMediaEnded);const r=this.config;this.levels&&r.autoStartLoad&&this.state===dr.STOPPED&&this.startLoad(r.startPosition)}onMediaDetaching(e,t){const n=!!t.transferMedia,r=this.media;if(r!==null){if(r.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),Qa(r,"seeking",this.onMediaSeeking),Qa(r,"ended",this.onMediaEnded),this.keyLoader&&!n&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loopSn=void 0,n){this.resetLoadingState(),this.resetTransmuxer();return}this.loadingParts=!1,this.fragmentTracker.removeAllFragments(),this.stopLoad()}}onManifestLoading(){this.initPTS=[],this.levels=this.levelLastLoaded=this.fragCurrent=null,this.lastCurrentTime=this.startPosition=0,this.startFragRequested=!1}onError(e,t){}onManifestLoaded(e,t){this.startTimeOffset=t.startTimeOffset}onHandlerDestroying(){this.stopLoad(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),super.onHandlerDestroying(),this.hls=this.onMediaSeeking=this.onMediaEnded=null}onHandlerDestroyed(){this.state=dr.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.startFragRequested=!0,this._loadFragForPlayback(e,t,n)}_loadFragForPlayback(e,t,n){const r=a=>{const s=a.frag;if(this.fragContextChanged(s)){this.warn(`${s.type} sn: ${s.sn}${a.part?" part: "+a.part.index:""} of ${this.fragInfo(s,!1,a.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(s);return}s.stats.chunkCount++,this._handleFragmentLoadProgress(a)};this._doFragLoad(e,t,n,r).then(a=>{if(!a)return;const s=this.state,d=a.frag;if(this.fragContextChanged(d)){(s===dr.FRAG_LOADING||!this.fragCurrent&&s===dr.PARSING)&&(this.fragmentTracker.removeFragment(d),this.state=dr.IDLE);return}"payload"in a&&(this.log(`Loaded ${d.type} sn: ${d.sn} of ${this.playlistLabel()} ${d.level}`),this.hls.trigger(g.FRAG_LOADED,a)),this._handleFragmentLoadComplete(a)}).catch(a=>{this.state===dr.STOPPED||this.state===dr.ERROR||(this.warn(`Frag error: ${(a==null?void 0:a.message)||a}`),this.resetFragmentLoading(e))})}clearTrackerIfNeeded(e){var t;const{fragmentTracker:n}=this;if(n.getState(e)===Gn.APPENDING){const a=e.type,s=this.getFwdBufferInfo(this.mediaBuffer,a),d=Math.max(e.duration,s?s.len:this.config.maxBufferLength),p=this.backtrackFragment;((p?e.sn-p.sn:0)===1||this.reduceMaxBufferLength(d,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)===Gn.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)}waitForLive(e){const t=e.details;return(t==null?void 0:t.live)&&t.type!=="EVENT"&&(this.levelLastLoaded!==e||t.expired)}flushMainBuffer(e,t,n=null){if(!(e-t))return;const r={startOffset:e,endOffset:t,type:n};this.hls.trigger(g.BUFFER_FLUSHING,r)}_loadInitSegment(e,t){this._doFragLoad(e,t).then(n=>{const r=n==null?void 0:n.frag;if(!r||this.fragContextChanged(r)||!this.levels)throw new Error("init load aborted");return n}).then(n=>{const{hls:r}=this,{frag:a,payload:s}=n,d=a.decryptdata;if(s&&s.byteLength>0&&d!=null&&d.key&&d.iv&&vr(d.method)){const p=self.performance.now();return this.decrypter.decrypt(new Uint8Array(s),d.key.buffer,d.iv.buffer,yr(d.method)).catch(m=>{throw r.trigger(g.ERROR,{type:ce.MEDIA_ERROR,details:j.FRAG_DECRYPT_ERROR,fatal:!1,error:m,reason:m.message,frag:a}),m}).then(m=>{const v=self.performance.now();return r.trigger(g.FRAG_DECRYPTED,{frag:a,payload:m,stats:{tstart:p,tdecrypt:v}}),n.payload=m,this.completeInitSegmentLoad(n)})}return this.completeInitSegmentLoad(n)}).catch(n=>{this.state===dr.STOPPED||this.state===dr.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!==dr.STOPPED&&(this.state=dr.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()}unhandledEncryptionError(e,t){var n,r;const a=e.tracks;if(a&&!t.encrypted&&((n=a.audio)!=null&&n.encrypted||(r=a.video)!=null&&r.encrypted)&&(!this.config.emeEnabled||!this.keyLoader.emeController)){const s=this.media,d=new Error(`Encrypted track with no key in ${this.fragInfo(t)} (media ${s?"attached mediaKeys: "+s.mediaKeys:"detached"})`);return this.warn(d.message),!s||s.mediaKeys?!1:(this.hls.trigger(g.ERROR,{type:ce.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_NO_KEYS,fatal:!1,error:d,frag:t}),this.resetTransmuxer(),!0)}return!1}fragContextChanged(e){const{fragCurrent:t}=this;return!e||!t||e.sn!==t.sn||e.level!==t.level}fragBufferedComplete(e,t){const n=this.mediaBuffer?this.mediaBuffer:this.media;if(this.log(`Buffered ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.fragInfo(e,!1,t)} > buffer:${n?Bo.toString(cr.getBuffered(n)):"(detached)"})`),ft(e)){var r;if(e.type!==K.SUBTITLE){const s=e.elementaryStreams;if(!Object.keys(s).some(d=>!!s[d])){this.state=dr.IDLE;return}}const a=(r=this.levels)==null?void 0:r[e.level];a!=null&&a.fragmentError&&(this.log(`Resetting level fragment error count of ${a.fragmentError} on frag buffered`),a.fragmentError=0)}this.state=dr.IDLE}_handleFragmentLoadComplete(e){const{transmuxer:t}=this;if(!t)return;const{frag:n,part:r,partsLoaded:a}=e,s=!a||a.length===0||a.some(p=>!p),d=new Dr(n.level,n.sn,n.stats.chunkCount+1,0,r?r.index:-1,!s);t.flush(d)}_handleFragmentLoadProgress(e){}_doFragLoad(e,t,n=null,r){var a;this.fragCurrent=e;const s=t.details;if(!this.levels||!s)throw new Error(`frag load aborted, missing level${s?"":" detail"}s`);let d=null;if(e.encrypted&&!((a=e.decryptdata)!=null&&a.key)){if(this.log(`Loading key for ${e.sn} of [${s.startSN}-${s.endSN}], ${this.playlistLabel()} ${e.level}`),this.state=dr.KEY_LOADING,this.fragCurrent=e,d=this.keyLoader.load(e).then(F=>{if(!this.fragContextChanged(F.frag))return this.hls.trigger(g.KEY_LOADED,F),this.state===dr.KEY_LOADING&&(this.state=dr.IDLE),F}),this.hls.trigger(g.KEY_LOADING,{frag:e}),this.fragCurrent===null)return this.log("context changed in KEY_LOADING"),Promise.resolve(null)}else e.encrypted||(d=this.keyLoader.loadClear(e,s.encryptedFragments,this.startFragRequested),d&&this.log("[eme] blocking frag load until media-keys acquired"));const p=this.fragPrevious;if(ft(e)&&(!p||e.sn!==p.sn)){const F=this.shouldLoadParts(t.details,e.end);F!==this.loadingParts&&(this.log(`LL-Part loading ${F?"ON":"OFF"} loading sn ${p==null?void 0:p.sn}->${e.sn}`),this.loadingParts=F)}if(n=Math.max(e.start,n||0),this.loadingParts&&ft(e)){const F=s.partList;if(F&&r){n>s.fragmentEnd&&s.fragmentHint&&(e=s.fragmentHint);const q=this.getNextPart(F,e,n);if(q>-1){const ee=F[q];e=this.fragCurrent=ee.fragment,this.log(`Loading ${e.type} sn: ${e.sn} part: ${ee.index} (${q}/${F.length-1}) of ${this.fragInfo(e,!1,ee)}) cc: ${e.cc} [${s.startSN}-${s.endSN}], target: ${parseFloat(n.toFixed(3))}`),this.nextLoadPosition=ee.start+ee.duration,this.state=dr.FRAG_LOADING;let We;return d?We=d.then(He=>!He||this.fragContextChanged(He.frag)?null:this.doFragPartsLoad(e,ee,t,r)).catch(He=>this.handleFragLoadError(He)):We=this.doFragPartsLoad(e,ee,t,r).catch(He=>this.handleFragLoadError(He)),this.hls.trigger(g.FRAG_LOADING,{frag:e,part:ee,targetBufferTime:n}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):We}else if(!e.url||this.loadedEndOfParts(F,n))return Promise.resolve(null)}}if(ft(e)&&this.loadingParts){var m;this.log(`LL-Part loading OFF after next part miss @${n.toFixed(2)} Check buffer at sn: ${e.sn} loaded parts: ${(m=s.partList)==null?void 0:m.filter(F=>F.loaded).map(F=>`[${F.start}-${F.end}]`)}`),this.loadingParts=!1}else if(!e.url)return Promise.resolve(null);this.log(`Loading ${e.type} sn: ${e.sn} of ${this.fragInfo(e,!1)}) cc: ${e.cc} ${"["+s.startSN+"-"+s.endSN+"]"}, target: ${parseFloat(n.toFixed(3))}`),i(e.sn)&&!this.bitrateTest&&(this.nextLoadPosition=e.start+e.duration),this.state=dr.FRAG_LOADING;const v=this.config.progressive;let S;return v&&d?S=d.then(F=>!F||this.fragContextChanged(F.frag)?null:this.fragmentLoader.load(e,r)).catch(F=>this.handleFragLoadError(F)):S=Promise.all([this.fragmentLoader.load(e,v?r:void 0),d]).then(([F])=>(!v&&r&&r(F),F)).catch(F=>this.handleFragLoadError(F)),this.hls.trigger(g.FRAG_LOADING,{frag:e,targetBufferTime:n}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):S}doFragPartsLoad(e,t,n,r){return new Promise((a,s)=>{var d;const p=[],m=(d=n.details)==null?void 0:d.partList,v=S=>{this.fragmentLoader.loadPart(e,S,r).then(F=>{p[S.index]=F;const q=F.part;this.hls.trigger(g.FRAG_LOADED,F);const ee=aa(n.details,e.sn,S.index+1)||Ma(m,e.sn,S.index+1);if(ee)v(ee);else return a({frag:e,part:q,partsLoaded:p})}).catch(s)};v(t)})}handleFragLoadError(e){if("data"in e){const t=e.data;t.frag&&t.details===j.INTERNAL_ABORTED?this.handleFragLoadAborted(t.frag,t.part):t.frag&&t.type===ce.KEY_SYSTEM_ERROR?(t.frag.abortRequests(),this.resetStartWhenNotLoaded(),this.resetFragmentLoading(t.frag)):this.hls.trigger(g.ERROR,t)}else this.hls.trigger(g.ERROR,{type:ce.OTHER_ERROR,details:j.INTERNAL_EXCEPTION,err:e,error:e,fatal:!0});return null}_handleTransmuxerFlush(e){const t=this.getCurrentContext(e);if(!t||this.state!==dr.PARSING){!this.fragCurrent&&this.state!==dr.STOPPED&&this.state!==dr.ERROR&&(this.state=dr.IDLE);return}const{frag:n,part:r,level:a}=t,s=self.performance.now();n.stats.parsing.end=s,r&&(r.stats.parsing.end=s);const d=this.getLevelDetails(),m=d&&n.sn>d.endSN||this.shouldLoadParts(d,n.end);m!==this.loadingParts&&(this.log(`LL-Part loading ${m?"ON":"OFF"} after parsing segment ending @${n.end.toFixed(2)}`),this.loadingParts=m),this.updateLevelTiming(n,r,a,e.partial)}shouldLoadParts(e,t){if(this.config.lowLatencyMode){if(!e)return this.loadingParts;if(e.partList){var n;const a=e.partList[0];if(a.fragment.type===K.SUBTITLE)return!1;const s=a.end+(((n=e.fragmentHint)==null?void 0:n.duration)||0);if(t>=s){var r;if((this.hls.hasEnoughToStart?((r=this.media)==null?void 0:r.currentTime)||this.lastCurrentTime:this.getLoadPosition())>a.start-a.fragment.duration)return!0}}}return!1}getCurrentContext(e){const{levels:t,fragCurrent:n}=this,{level:r,sn:a,part:s}=e;if(!(t!=null&&t[r]))return this.warn(`Levels object was unset while buffering fragment ${a} of ${this.playlistLabel()} ${r}. The current chunk will not be buffered.`),null;const d=t[r],p=d.details,m=s>-1?aa(p,a,s):null,v=m?m.fragment:Vi(p,a,n);return v?(n&&n!==v&&(v.stats=n.stats),{frag:v,part:m,level:d}):null}bufferFragmentData(e,t,n,r,a){if(this.state!==dr.PARSING)return;const{data1:s,data2:d}=e;let p=s;if(d&&(p=kt(s,d)),!p.length)return;const m=this.initPTS[t.cc],v=m?-m.baseTime/m.timescale:void 0,S={type:e.type,frag:t,part:n,chunkMeta:r,offset:v,parent:t.type,data:p};if(this.hls.trigger(g.BUFFER_APPENDING,S),e.dropped&&e.independent&&!n){if(a)return;this.flushBufferGap(t)}}flushBufferGap(e){const t=this.media;if(!t)return;if(!cr.isBuffered(t,t.currentTime)){this.flushMainBuffer(0,e.start);return}const n=t.currentTime,r=cr.bufferInfo(t,n,0),a=e.duration,s=Math.min(this.config.maxFragLookUpTolerance*2,a*.25),d=Math.max(Math.min(e.start-s,r.end-s),n+s);e.start-d>s&&this.flushMainBuffer(d,e.start)}getFwdBufferInfo(e,t){var n;const r=this.getLoadPosition();if(!i(r))return null;const s=this.lastCurrentTime>r||(n=this.media)!=null&&n.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(e,r,t,s)}getFwdBufferInfoAtPos(e,t,n,r){const a=cr.bufferInfo(e,t,r);if(a.len===0&&a.nextStart!==void 0){const s=this.fragmentTracker.getBufferedFrag(t,n);if(s&&(a.nextStart<=s.end||s.gap)){const d=Math.max(Math.min(a.nextStart,s.end)-t,r);return cr.bufferInfo(e,t,d)}}return a}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),a=Math.max(e-t*3,n.maxMaxBufferLength/2,r);return a>=r?(n.maxMaxBufferLength=a,this.warn(`Reduce max buffer length to ${a}s`),!0):!1}getAppendedFrag(e,t=K.MAIN){const n=this.fragmentTracker?this.fragmentTracker.getAppendedFrag(e,t):null;return n&&"fragment"in n?n.fragment:n}getNextFragment(e,t){const n=t.fragments,r=n.length;if(!r)return null;const{config:a}=this,s=n[0].start,d=a.lowLatencyMode&&!!t.partList;let p=null;if(t.live){const S=a.initialLiveManifestSize;if(r<S)return this.warn(`Not enough fragments to start playback (have: ${r}, need: ${S})`),null;if(!t.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||e<s){var m;d&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),p=this.getInitialLiveFragment(t);const F=this.hls.startPosition,q=this.hls.liveSyncPosition,ee=p?(F!==-1&&F>=s?F:q)||p.start:e;this.log(`Setting startPosition to ${ee} to match start frag at live edge. mainStart: ${F} liveSyncPosition: ${q} frag.start: ${(m=p)==null?void 0:m.start}`),this.startPosition=this.nextLoadPosition=ee}}else e<=s&&(p=n[0]);if(!p){const S=this.loadingParts?t.partEnd:t.fragmentEnd;p=this.getFragmentAtPosition(e,S,t)}let v=this.filterReplacedPrimary(p,t);if(!v&&p){const S=p.sn-t.startSN;v=this.filterReplacedPrimary(n[S+1]||null,t)}return this.mapToInitFragWhenRequired(v)}isLoopLoading(e,t){const n=this.fragmentTracker.getState(e);return(n===Gn.OK||n===Gn.PARTIAL&&!!e.gap)&&this.nextLoadPosition>t}getNextFragmentLoopLoading(e,t,n,r,a){let s=null;if(e.gap&&(s=this.getNextFragment(this.nextLoadPosition,t),s&&!s.gap&&n.nextStart)){const d=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,n.nextStart,r,0);if(d!==null&&n.len+d.len>=a){const p=s.sn;return this.loopSn!==p&&(this.log(`buffer full after gaps in "${r}" playlist starting at sn: ${p}`),this.loopSn=p),null}}return this.loopSn=void 0,s}get primaryPrefetch(){if(di(this.config)){var e;if((e=this.hls.interstitialsManager)==null||(e=e.playingItem)==null?void 0:e.event)return!0}return!1}filterReplacedPrimary(e,t){if(!e)return e;if(di(this.config)&&e.type!==K.SUBTITLE){const n=this.hls.interstitialsManager,r=n==null?void 0:n.bufferingItem;if(r){const s=r.event;if(s){if(s.appendInPlace||Math.abs(e.start-r.start)>1||r.start===0)return null}else if(e.end<=r.start&&(t==null?void 0:t.live)===!1||e.start>r.end&&r.nextEvent&&(r.nextEvent.appendInPlace||e.start-r.end>1))return null}const a=n==null?void 0:n.playerQueue;if(a)for(let s=a.length;s--;){const d=a[s].interstitial;if(d.appendInPlace&&e.start>=d.startTime&&e.end<=d.resumeTime)return null}}return e}mapToInitFragWhenRequired(e){return e!=null&&e.initSegment&&!e.initSegment.data&&!this.bitrateTest?e.initSegment:e}getNextPart(e,t,n){let r=-1,a=!1,s=!0;for(let d=0,p=e.length;d<p;d++){const m=e[d];if(s=s&&!m.independent,r>-1&&n<m.start)break;const v=m.loaded;v?r=-1:(a||(m.independent||s)&&m.fragment===t)&&(m.fragment!==t&&this.warn(`Need buffer at ${n} but next unloaded part starts at ${m.start}`),r=d),a=v}return r}loadedEndOfParts(e,t){let n;for(let r=e.length;r--;){if(n=e[r],!n.loaded)return!1;if(t>n.start)return!0}return!1}getInitialLiveFragment(e){const t=e.fragments,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=jn(t,n.endProgramDateTime,this.config.maxFragLookUpTolerance)),!r){const a=n.sn+1;if(a>=e.startSN&&a<=e.endSN){const s=t[a-e.startSN];n.cc===s.cc&&(r=s,this.log(`Live playlist, switching playlist, load frag with next SN: ${r.sn}`))}r||(r=Ln(e,n.cc,n.end),r&&this.log(`Live playlist, switching playlist, load frag with same CC: ${r.sn}`))}}else{const a=this.hls.liveSyncPosition;a!==null&&(r=this.getFragmentAtPosition(a,this.bitrateTest?e.fragmentEnd:e.edge,e))}return r}getFragmentAtPosition(e,t,n){const{config:r}=this;let{fragPrevious:a}=this,{fragments:s,endSN:d}=n;const{fragmentHint:p}=n,{maxFragLookUpTolerance:m}=r,v=n.partList,S=!!(this.loadingParts&&v!=null&&v.length&&p);S&&!this.bitrateTest&&v[v.length-1].fragment.sn===p.sn&&(s=s.concat(p),d=p.sn);let F;if(e<t){var q;const We=e<this.lastCurrentTime||e>t-m||(q=this.media)!=null&&q.paused||!this.startFragRequested?0:m;F=Yn(a,s,e,We)}else F=s[s.length-1];if(F){const ee=F.sn-n.startSN,We=this.fragmentTracker.getState(F);if((We===Gn.OK||We===Gn.PARTIAL&&F.gap)&&(a=F),a&&F.sn===a.sn&&(!S||v[0].fragment.sn>F.sn||!n.live)&&F.level===a.level){const Dt=s[ee+1];F.sn<d&&this.fragmentTracker.getState(Dt)!==Gn.OK?F=Dt:F=null}}return F}alignPlaylists(e,t,n){const r=e.fragments.length;if(!r)return this.warn("No fragments in live playlist"),0;const a=e.fragmentStart,s=!t,d=e.alignedSliding&&i(a);if(s||!d&&!a){Xs(n,e);const p=e.fragmentStart;return this.log(`Live playlist sliding: ${p.toFixed(2)} start-sn: ${t?t.startSN:"na"}->${e.startSN} fragments: ${r}`),p}return a}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;n<t&&(n=-1);const r=this.timelineOffset;if(n===-1){const a=this.startTimeOffset!==null,s=a?this.startTimeOffset:e.startTimeOffset;s!==null&&i(s)?(n=t+s,s<0&&(n+=e.edge),n=Math.min(Math.max(t,n),t+e.totalduration),this.log(`Setting startPosition to ${n} for start time offset ${s} found in ${a?"multivariant":"media"} playlist`),this.startPosition=n):e.live?(n=this.hls.liveSyncPosition||t,this.log(`Setting startPosition to -1 to start at live edge ${n}`),this.startPosition=-1):(this.log("setting startPosition to 0 by default"),this.startPosition=n=0),this.lastCurrentTime=n+r}this.nextLoadPosition=n+r}getLoadPosition(){var e;const{media:t}=this;let n=0;return(e=this.hls)!=null&&e.hasEnoughToStart&&t?n=t.currentTime:this.nextLoadPosition>=0&&(n=this.nextLoadPosition),n}handleFragLoadAborted(e,t){this.transmuxer&&e.type===this.playlistType&&ft(e)&&e.stats.aborted&&(this.log(`Fragment ${e.sn}${t?" part "+t.index:""} of ${this.playlistLabel()} ${e.level} was aborted`),this.resetFragmentLoading(e))}resetFragmentLoading(e){(!this.fragCurrent||!this.fragContextChanged(e)&&this.state!==dr.FRAG_LOADING_WAITING_RETRY)&&(this.state=dr.IDLE)}onFragmentOrKeyLoadError(e,t){var n;if(t.chunkMeta&&!t.frag){const Dt=this.getCurrentContext(t.chunkMeta);Dt&&(t.frag=Dt.frag)}const r=t.frag;if(!r||r.type!==e||!this.levels)return;if(this.fragContextChanged(r)){var a;this.warn(`Frag load error must match current frag to retry ${r.url} > ${(a=this.fragCurrent)==null?void 0:a.url}`);return}const s=t.details===j.FRAG_GAP;s&&this.fragmentTracker.fragBuffered(r,!0);const d=t.errorAction;if(!d){this.state=dr.ERROR;return}const{action:p,flags:m,retryCount:v=0,retryConfig:S}=d,F=!!S,q=F&&p===Un.RetryRequest,ee=F&&!d.resolved&&m===fn.MoveAllAlternatesMatchingHost,We=(n=this.hls.latestLevelDetails)==null?void 0:n.live;if(!q&&ee&&ft(r)&&!r.endList&&We&&!rn(t))this.resetFragmentErrors(e),this.treatAsGap(r),d.resolved=!0;else if((q||ee)&&v<S.maxNumRetry){var He;const Dt=lr((He=t.response)==null?void 0:He.code),Ut=pn(S,v);if(this.resetStartWhenNotLoaded(),this.retryDate=self.performance.now()+Ut,this.state=dr.FRAG_LOADING_WAITING_RETRY,d.resolved=!0,Dt){this.log("Waiting for connection (offline)"),this.retryDate=1/0,t.reason="offline";return}this.warn(`Fragment ${r.sn} of ${e} ${r.level} errored with ${t.details}, retrying loading ${v+1}/${S.maxNumRetry} in ${Ut}ms`)}else if(S)if(this.resetFragmentErrors(e),v<S.maxNumRetry)!s&&p!==Un.RemoveAlternatePermanently&&(d.resolved=!0);else{this.warn(`${t.details} reached or exceeded max retry (${v})`);return}else p===Un.SendAlternateToPenaltyBox?this.state=dr.WAITING_LEVEL:this.state=dr.ERROR;this.tickImmediate()}checkRetryDate(){const e=self.performance.now(),t=this.retryDate,n=t===1/0;(!t||e>=t||n&&!lr(0))&&(n&&this.log("Connection restored (online)"),this.resetStartWhenNotLoaded(),this.state=dr.IDLE)}reduceLengthAndFlushBuffer(e){if(this.state===dr.PARSING||this.state===dr.PARSED){const t=e.frag,n=e.parent,r=this.getFwdBufferInfo(this.mediaBuffer,n),a=r&&r.len>.5;a&&this.reduceMaxBufferLength(r.len,(t==null?void 0:t.duration)||10);const s=!a;return s&&this.warn(`Buffer full error while media.currentTime (${this.getLoadPosition()}) is not buffered, flush ${n} buffer`),t&&(this.fragmentTracker.removeFragment(t),this.nextLoadPosition=t.start),this.resetLoadingState(),s}return!1}resetFragmentErrors(e){e===K.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==dr.STOPPED&&(this.state=dr.IDLE)}afterBufferFlushed(e,t,n){if(!e)return;const r=cr.getBuffered(e);this.fragmentTracker.detectEvictedFragments(t,r,n),this.state===dr.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==dr.STOPPED&&(this.state=dr.IDLE)}resetStartWhenNotLoaded(){if(!this.hls.hasEnoughToStart){this.startFragRequested=!1;const e=this.levelLastLoaded,t=e?e.details:null;t!=null&&t.live?(this.log("resetting startPosition for live start"),this.startPosition=-1,this.setStartPosition(t,t.fragmentStart),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(e){this.log(`Loading context changed while buffering sn ${e.sn} of ${this.playlistLabel()} ${e.level===-1?"<removed>":e.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(),this.resetLoadingState()}removeUnbufferedFrags(e=0){this.fragmentTracker.removeFragmentsInRange(e,1/0,this.playlistType,!1,!0)}updateLevelTiming(e,t,n,r){const a=n.details;if(!a){this.warn("level.details undefined");return}if(!Object.keys(e.elementaryStreams).reduce((p,m)=>{const v=e.elementaryStreams[m];if(v){const S=v.endPTS-v.startPTS;if(S<=0)return this.warn(`Could not parse fragment ${e.sn} ${m} duration reliably (${S})`),p||!1;const F=r?0:Ua(a,e,v.startPTS,v.endPTS,v.startDTS,v.endDTS,this);return this.hls.trigger(g.LEVEL_PTS_UPDATED,{details:a,level:n,drift:F,type:m,frag:e,start:v.startPTS,end:v.endPTS}),!0}return p},!1)){var d;if(n.fragmentError===0&&this.treatAsGap(e,n),((d=this.transmuxer)==null?void 0:d.error)===null){const p=new Error(`Found no media in fragment ${e.sn} of ${this.playlistLabel()} ${e.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(p.message),this.hls.trigger(g.ERROR,{type:ce.MEDIA_ERROR,details:j.FRAG_PARSING_ERROR,fatal:!1,error:p,frag:e,reason:`Found no media in msn ${e.sn} of ${this.playlistLabel()} "${n.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=dr.PARSED,this.log(`Parsed ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.fragInfo(e,!1,t)})`),this.hls.trigger(g.FRAG_PARSED,{frag:e,part:t})}playlistLabel(){return this.playlistType===K.MAIN?"level":"track"}fragInfo(e,t=!0,n){var r,a;return`${this.playlistLabel()} ${e.level} (${n?"part":"frag"}:[${((r=t&&!n?e.startPTS:(n||e).start)!=null?r:NaN).toFixed(3)}-${((a=t&&!n?e.endPTS:(n||e).end)!=null?a:NaN).toFixed(3)}]${n&&e.type==="main"?"INDEPENDENT="+(n.independent?"YES":"NO"):""}`}treatAsGap(e,t){t&&t.fragmentError++,e.gap=!0,this.fragmentTracker.removeFragment(e),this.fragmentTracker.fragBuffered(e,!0)}resetTransmuxer(){var e;(e=this.transmuxer)==null||e.reset()}recoverWorkerError(e){e.event==="demuxerWorker"&&(this.fragmentTracker.removeAllFragments(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),this.resetStartWhenNotLoaded(),this.resetLoadingState())}set state(e){const t=this._state;t!==e&&(this._state=e,this.log(`${t}->${e}`))}get state(){return this._state}}function di(o){return!!o.interstitialsController&&o.enableInterstitialPlayback!==!1}class js{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=Qs(e,t);else return new Uint8Array(0);return this.reset(),n}reset(){this.chunks.length=0,this.dataLength=0}}function Qs(o,e){const t=new Uint8Array(e);let n=0;for(let r=0;r<o.length;r++){const a=o[r];t.set(a,n),n+=a.length}return t}var Ms={exports:{}},Js;function Cl(){return Js||(Js=1,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,m,v){this.fn=p,this.context=m,this.once=v||!1}function a(p,m,v,S,F){if(typeof v!="function")throw new TypeError("The listener must be a function");var q=new r(v,S||p,F),ee=t?t+m:m;return p._events[ee]?p._events[ee].fn?p._events[ee]=[p._events[ee],q]:p._events[ee].push(q):(p._events[ee]=q,p._eventsCount++),p}function s(p,m){--p._eventsCount===0?p._events=new n:delete p._events[m]}function d(){this._events=new n,this._eventsCount=0}d.prototype.eventNames=function(){var m=[],v,S;if(this._eventsCount===0)return m;for(S in v=this._events)e.call(v,S)&&m.push(t?S.slice(1):S);return Object.getOwnPropertySymbols?m.concat(Object.getOwnPropertySymbols(v)):m},d.prototype.listeners=function(m){var v=t?t+m:m,S=this._events[v];if(!S)return[];if(S.fn)return[S.fn];for(var F=0,q=S.length,ee=new Array(q);F<q;F++)ee[F]=S[F].fn;return ee},d.prototype.listenerCount=function(m){var v=t?t+m:m,S=this._events[v];return S?S.fn?1:S.length:0},d.prototype.emit=function(m,v,S,F,q,ee){var We=t?t+m:m;if(!this._events[We])return!1;var He=this._events[We],Dt=arguments.length,Ut,$t;if(He.fn){switch(He.once&&this.removeListener(m,He.fn,void 0,!0),Dt){case 1:return He.fn.call(He.context),!0;case 2:return He.fn.call(He.context,v),!0;case 3:return He.fn.call(He.context,v,S),!0;case 4:return He.fn.call(He.context,v,S,F),!0;case 5:return He.fn.call(He.context,v,S,F,q),!0;case 6:return He.fn.call(He.context,v,S,F,q,ee),!0}for($t=1,Ut=new Array(Dt-1);$t<Dt;$t++)Ut[$t-1]=arguments[$t];He.fn.apply(He.context,Ut)}else{var yn=He.length,Tn;for($t=0;$t<yn;$t++)switch(He[$t].once&&this.removeListener(m,He[$t].fn,void 0,!0),Dt){case 1:He[$t].fn.call(He[$t].context);break;case 2:He[$t].fn.call(He[$t].context,v);break;case 3:He[$t].fn.call(He[$t].context,v,S);break;case 4:He[$t].fn.call(He[$t].context,v,S,F);break;default:if(!Ut)for(Tn=1,Ut=new Array(Dt-1);Tn<Dt;Tn++)Ut[Tn-1]=arguments[Tn];He[$t].fn.apply(He[$t].context,Ut)}}return!0},d.prototype.on=function(m,v,S){return a(this,m,v,S,!1)},d.prototype.once=function(m,v,S){return a(this,m,v,S,!0)},d.prototype.removeListener=function(m,v,S,F){var q=t?t+m:m;if(!this._events[q])return this;if(!v)return s(this,q),this;var ee=this._events[q];if(ee.fn)ee.fn===v&&(!F||ee.once)&&(!S||ee.context===S)&&s(this,q);else{for(var We=0,He=[],Dt=ee.length;We<Dt;We++)(ee[We].fn!==v||F&&!ee[We].once||S&&ee[We].context!==S)&&He.push(ee[We]);He.length?this._events[q]=He.length===1?He[0]:He:s(this,q)}return this},d.prototype.removeAllListeners=function(m){var v;return m?(v=t?t+m:m,this._events[v]&&s(this,v)):(this._events=new n,this._eventsCount=0),this},d.prototype.off=d.prototype.removeListener,d.prototype.addListener=d.prototype.on,d.prefixed=t,d.EventEmitter=d,o.exports=d}(Ms)),Ms.exports}var rl=Cl(),xo=I(rl);const lo="1.6.14",qs={};function Fo(){return typeof __HLS_WORKER_BUNDLE__=="function"}function wl(){const o=qs[lo];if(o)return o.clientCount++,o;const e=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),t=self.URL.createObjectURL(e),r={worker:new self.Worker(t),objectURL:t,clientCount:1};return qs[lo]=r,r}function zo(o){const e=qs[o];if(e)return e.clientCount++,e;const t=new self.URL(o,self.location.href).href,r={worker:new self.Worker(t),scriptURL:t,clientCount:1};return qs[o]=r,r}function _l(o){const e=qs[o||lo];if(e&&e.clientCount--===1){const{worker:n,objectURL:r}=e;delete qs[o||lo],r&&self.URL.revokeObjectURL(r),n.terminate()}}function Eo(o,e){return 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}function po(o,e){return 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}function eo(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}function uo(o,e){const t=e;let n=0;for(;po(o,e);){n+=10;const r=eo(o,e+6);n+=r,Eo(o,e+10)&&(n+=10),e+=n}if(n>0)return o.subarray(t,t+n)}function Zo(o,e,t,n){const r=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],a=e[t+2],s=a>>2&15;if(s>12){const q=new Error(`invalid ADTS sampling index:${s}`);o.emit(g.ERROR,g.ERROR,{type:ce.MEDIA_ERROR,details:j.FRAG_PARSING_ERROR,fatal:!0,error:q,reason:q.message});return}const d=(a>>6&3)+1,p=e[t+3]>>6&3|(a&1)<<2,m="mp4a.40."+d,v=r[s];let S=s;(d===5||d===29)&&(S-=3);const F=[d<<3|(S&14)>>1,(S&1)<<7|p<<3];return he.log(`manifest codec:${n}, parsed codec:${m}, channels:${p}, rate:${v} (ADTS object type:${d} sampling index:${s})`),{config:F,samplerate:v,channelCount:p,codec:m,parsedCodec:m,manifestCodec:n}}function jo(o,e){return o[e]===255&&(o[e+1]&246)===240}function Uo(o,e){return o[e+1]&1?7:9}function So(o,e){return(o[e+3]&3)<<11|o[e+4]<<3|(o[e+5]&224)>>>5}function Ko(o,e){return e+5<o.length}function Co(o,e){return e+1<o.length&&jo(o,e)}function co(o,e){return Ko(o,e)&&jo(o,e)&&So(o,e)<=o.length-e}function Ho(o,e){if(Co(o,e)){const t=Uo(o,e);if(e+t>=o.length)return!1;const n=So(o,e);if(n<=t)return!1;const r=e+n;return r===o.length||Co(o,r)}return!1}function wo(o,e,t,n,r){if(!o.samplerate){const a=Zo(e,t,n,r);if(!a)return;b(o,a)}}function il(o){return 1024*9e4/o}function al(o,e){const t=Uo(o,e);if(e+t<=o.length){const n=So(o,e)-t;if(n>0)return{headerLength:t,frameLength:n}}}function sl(o,e,t,n,r){const a=il(o.samplerate),s=n+r*a,d=al(e,t);let p;if(d){const{frameLength:S,headerLength:F}=d,q=F+S,ee=Math.max(0,t+q-e.length);ee?(p=new Uint8Array(q-F),p.set(e.subarray(t+F,e.length),0)):p=e.subarray(t+F,t+q);const We={unit:p,pts:s};return ee||o.samples.push(We),{sample:We,length:q,missing:ee}}const m=e.length-t;return p=new Uint8Array(m),p.set(e.subarray(t,e.length),0),{sample:{unit:p,pts:s},length:m,missing:-1}}function _o(o,e){return po(o,e)&&eo(o,e+6)+10<=o.length-e}function Al(o){return o instanceof ArrayBuffer?o:o.byteOffset==0&&o.byteLength==o.buffer.byteLength?o.buffer:new Uint8Array(o).buffer}function go(o,e=0,t=1/0){return ol(o,e,t,Uint8Array)}function ol(o,e,t,n){const r=ll(o);let a=1;"BYTES_PER_ELEMENT"in n&&(a=n.BYTES_PER_ELEMENT);const s=Wo(o)?o.byteOffset:0,d=(s+o.byteLength)/a,p=(s+e)/a,m=Math.floor(Math.max(0,Math.min(p,d))),v=Math.floor(Math.min(m+Math.max(t,0),d));return new n(r,m,v-m)}function ll(o){return o instanceof ArrayBuffer?o:o.buffer}function Wo(o){return o&&o.buffer instanceof ArrayBuffer&&o.byteLength!==void 0&&o.byteOffset!==void 0}function ul(o){const e={key:o.type,description:"",data:"",mimeType:null,pictureType:null},t=3;if(o.size<2)return;if(o.data[0]!==t){console.log("Ignore frame with unrecognized character encoding");return}const n=o.data.subarray(1).indexOf(0);if(n===-1)return;const r=Ze(go(o.data,1,n)),a=o.data[2+n],s=o.data.subarray(3+n).indexOf(0);if(s===-1)return;const d=Ze(go(o.data,3+n,s));let p;return r==="-->"?p=Ze(go(o.data,4+n+s)):p=Al(o.data.subarray(4+n+s)),e.mimeType=r,e.pictureType=a,e.description=d,e.data=p,e}function jt(o){if(o.size<2)return;const e=Ze(o.data,!0),t=new Uint8Array(o.data.subarray(e.length+1));return{key:o.type,info:e,data:t.buffer}}function $o(o){if(o.size<2)return;if(o.type==="TXXX"){let t=1;const n=Ze(o.data.subarray(t),!0);t+=n.length+1;const r=Ze(o.data.subarray(t));return{key:o.type,info:n,data:r}}const e=Ze(o.data.subarray(1));return{key:o.type,info:"",data:e}}function Ao(o){if(o.type==="WXXX"){if(o.size<2)return;let t=1;const n=Ze(o.data.subarray(t),!0);t+=n.length+1;const r=Ze(o.data.subarray(t));return{key:o.type,info:n,data:r}}const e=Ze(o.data);return{key:o.type,info:"",data:e}}function To(o){return o.type==="PRIV"?jt(o):o.type[0]==="W"?Ao(o):o.type==="APIC"?ul(o):$o(o)}function Vo(o){const e=String.fromCharCode(o[0],o[1],o[2],o[3]),t=eo(o,4),n=10;return{type:e,size:t,data:o.subarray(n,n+t)}}const to=10,bs=10;function Io(o){let e=0;const t=[];for(;po(o,e);){const n=eo(o,e+6);o[e+5]>>6&1&&(e+=to),e+=to;const r=e+n;for(;e+bs<r;){const a=Vo(o.subarray(e)),s=To(a);s&&t.push(s),e+=a.size+to}Eo(o,e)&&(e+=to)}return t}function Go(o){return o&&o.key==="PRIV"&&o.info==="com.apple.streaming.transportStreamTimestamp"}function ve(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)}}function ge(o){const e=Io(o);for(let t=0;t<e.length;t++){const n=e[t];if(Go(n))return ve(n)}}let at=function(o){return o.audioId3="org.id3",o.dateRange="com.apple.quicktime.HLS",o.emsg="https://aomedia.org/emsg/ID3",o.misbklv="urn:misb:KLV:bin:1910.1",o}({});function Ct(o="",e=9e4){return{type:o,id:-1,pid:-1,inputTimeScale:e,sequenceNumber:-1,samples:[],dropped:0}}class Vt{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=kt(this.cachedData,e),this.cachedData=null);let n=uo(e,0),r=n?n.length:0,a;const s=this._audioTrack,d=this._id3Track,p=n?ge(n):void 0,m=e.length;for((this.basePTS===null||this.frameIndex===0&&i(p))&&(this.basePTS=en(p,t,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),n&&n.length>0&&d.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:n,type:at.audioId3,duration:Number.POSITIVE_INFINITY});r<m;){if(this.canParse(e,r)){const v=this.appendFrame(s,e,r);v?(this.frameIndex++,this.lastPTS=v.sample.pts,r+=v.length,a=r):r=m}else _o(e,r)?(n=uo(e,r),d.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:n,type:at.audioId3,duration:Number.POSITIVE_INFINITY}),r+=n.length,a=r):r++;if(r===m&&a!==m){const v=e.slice(a);this.cachedData?this.cachedData=kt(this.cachedData,v):this.cachedData=v}}return{audioTrack:s,videoTrack:Ct(),id3Track:d,textTrack:Ct()}}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:Ct(),id3Track:this._id3Track,textTrack:Ct()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const en=(o,e,t)=>{if(i(o))return o*90;const n=t?t.baseTime*9e4/t.timescale:0;return e*9e4+n};let vn=null;const un=[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],_n=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Sn=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Qn=[0,1,1,4];function Bn(o,e,t,n,r){if(t+24>e.length)return;const a=Nn(e,t);if(a&&t+a.frameLength<=e.length){const s=a.samplesPerFrame*9e4/a.sampleRate,d=n+r*s,p={unit:e.subarray(t,t+a.frameLength),pts:d,dts:d};return o.config=[],o.channelCount=a.channelCount,o.samplerate=a.sampleRate,o.samples.push(p),{sample:p,length:a.frameLength,missing:0}}}function Nn(o,e){const t=o[e+1]>>3&3,n=o[e+1]>>1&3,r=o[e+2]>>4&15,a=o[e+2]>>2&3;if(t!==1&&r!==0&&r!==15&&a!==3){const s=o[e+2]>>1&1,d=o[e+3]>>6,p=t===3?3-n:n===3?3:4,m=un[p*14+r-1]*1e3,S=_n[(t===3?0:t===2?1:2)*3+a],F=d===3?1:2,q=Sn[t][n],ee=Qn[n],We=q*8*ee,He=Math.floor(q*m/S+s)*ee;if(vn===null){const $t=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);vn=$t?parseInt($t[1]):0}return!!vn&&vn<=87&&n===2&&m>=224e3&&d===0&&(o[e+3]=o[e+3]|128),{sampleRate:S,channelCount:F,frameLength:He,samplesPerFrame:We}}}function Z(o,e){return o[e]===255&&(o[e+1]&224)===224&&(o[e+1]&6)!==0}function c(o,e){return e+1<o.length&&Z(o,e)}function f(o,e){return Z(o,e)&&4<=o.length-e}function h(o,e){if(e+1<o.length&&Z(o,e)){const n=Nn(o,e);let r=4;n!=null&&n.frameLength&&(r=n.frameLength);const a=e+r;return a===o.length||c(o,a)}return!1}class x extends Vt{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,t){if(!e)return!1;const n=uo(e,0);let r=(n==null?void 0:n.length)||0;if(h(e,r))return!1;for(let a=e.length;r<a;r++)if(Ho(e,r))return t.log("ADTS sync word found !"),!0;return!1}canParse(e,t){return co(e,t)}appendFrame(e,t,n){wo(e,this.observer,t,n,e.manifestCodec);const r=sl(e,t,n,this.basePTS,this.frameIndex);if(r&&r.missing===0)return r}}const B=(o,e)=>{let t=0,n=5;e+=n;const r=new Uint32Array(1),a=new Uint32Array(1),s=new Uint8Array(1);for(;n>0;){s[0]=o[e];const d=Math.min(n,8),p=8-d;a[0]=4278190080>>>24+p<<p,r[0]=(s[0]&a[0])>>p,t=t?t<<d|r[0]:r[0],e+=1,n-=d}return t};class Q extends Vt{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=Me(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=uo(e,0);if(!t)return!1;const n=t.length;return e[n]===11&&e[n+1]===119&&ge(t)!==void 0&&B(e,n)<16}}function Me(o,e,t,n,r){if(t+8>e.length||e[t]!==11||e[t+1]!==119)return-1;const a=e[t+4]>>6;if(a>=3)return-1;const d=[48e3,44100,32e3][a],p=e[t+4]&63,v=[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+a]*2;if(t+v>e.length)return-1;const S=e[t+6]>>5;let F=0;S===2?F+=2:(S&1&&S!==1&&(F+=2),S&4&&(F+=2));const q=(e[t+6]<<8|e[t+7])>>12-F&1,We=[2,1,2,3,3,4,4,5][S]+q,He=e[t+5]>>3,Dt=e[t+5]&7,Ut=new Uint8Array([a<<6|He<<1|Dt>>2,(Dt&3)<<6|S<<3|q<<2|p>>4,p<<4&224]),$t=1536/d*9e4,yn=n+r*$t,Tn=e.subarray(t,t+v);return o.config=Ut,o.channelCount=We,o.samplerate=d,o.samples.push({unit:Tn,pts:yn}),v}class qe extends Vt{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=uo(e,0);let n=(t==null?void 0:t.length)||0;if(t&&e[n]===11&&e[n+1]===119&&ge(t)!==void 0&&B(e,n)<=16)return!1;for(let r=e.length;n<r;n++)if(h(e,n))return he.log("MPEG Audio sync word found !"),!0;return!1}canParse(e,t){return f(e,t)}appendFrame(e,t,n){if(this.basePTS!==null)return Bn(e,t,n,this.basePTS,this.frameIndex)}}const Et=/\/emsg[-/]ID3/i;class Yt{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 a=this.videoTrack=Ct("video",1),s=this.audioTrack=Ct("audio",1),d=this.txtTrack=Ct("text",1);if(this.id3Track=Ct("id3",1),this.timeOffset=0,!(e!=null&&e.byteLength))return;const p=Ke(e);if(p.video){const{id:m,timescale:v,codec:S,supplemental:F}=p.video;a.id=m,a.timescale=d.timescale=v,a.codec=S,a.supplemental=F}if(p.audio){const{id:m,timescale:v,codec:S}=p.audio;s.id=m,s.timescale=v,s.codec=S}d.id=Jt.text,a.sampleDuration=0,a.duration=s.duration=r}resetContiguity(){this.remainderData=null}static probe(e){return Ne(e)}demux(e,t){this.timeOffset=t;let n=e;const r=this.videoTrack,a=this.txtTrack;if(this.config.progressive){this.remainderData&&(n=kt(this.remainderData,e));const d=xt(n);this.remainderData=d.remainder,r.samples=d.valid||new Uint8Array}else r.samples=n;const s=this.extractID3Track(r,t);return a.samples=Mt(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=Mt(e,t),{videoTrack:t,audioTrack:Ct(),id3Track:r,textTrack:Ct()}}extractID3Track(e,t){const n=this.id3Track;if(e.samples.length){const r=ne(e.samples,["emsg"]);r&&r.forEach(a=>{const s=pt(a);if(Et.test(s.schemeIdUri)){const d=hn(s,t);let p=s.eventDuration===4294967295?Number.POSITIVE_INFINITY:s.eventDuration/s.timeScale;p<=.001&&(p=Number.POSITIVE_INFINITY);const m=s.payload;n.samples.push({data:m,len:m.byteLength,dts:d,pts:d,type:at.emsg,duration:p})}else if(this.config.enableEmsgKLVMetadata&&s.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const d=hn(s,t);n.samples.push({data:s.payload,len:s.payload.byteLength,dts:d,pts:d,type:at.misbklv,duration:Number.POSITIVE_INFINITY})}})}return n}demuxSampleAes(e,t,n){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))}destroy(){this.config=null,this.remainderData=null,this.videoTrack=this.audioTrack=this.id3Track=this.txtTrack=void 0}}function hn(o,e){return i(o.presentationTime)?o.presentationTime/o.timeScale:e+o.presentationTimeDelta/o.timeScale}class Cn{constructor(e,t,n){this.keyData=void 0,this.decrypter=void 0,this.keyData=n,this.decrypter=new _r(t,{removePKCS7Padding:!1})}decryptBuffer(e){return this.decrypter.decrypt(e,this.keyData.key.buffer,this.keyData.iv.buffer,Cr.cbc)}decryptAacSample(e,t,n){const r=e[t].unit;if(r.length<=16)return;const a=r.subarray(16,r.length-r.length%16),s=a.buffer.slice(a.byteOffset,a.byteOffset+a.length);this.decryptBuffer(s).then(d=>{const p=new Uint8Array(d);r.set(p,16),this.decrypter.isSync()||this.decryptAacSamples(e,t+1,n)}).catch(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 a=32;a<e.length-16;a+=160,r+=16)n.set(e.subarray(a,a+16),r);return n}getAvcDecryptedUnit(e,t){const n=new Uint8Array(t);let r=0;for(let a=32;a<e.length-16;a+=160,r+=16)e.set(n.subarray(r,r+16),a);return e}decryptAvcSample(e,t,n,r,a){const s=Re(a.data),d=this.getAvcEncryptedData(s);this.decryptBuffer(d.buffer).then(p=>{a.data=this.getAvcDecryptedUnit(s,p),this.decrypter.isSync()||this.decryptAvcSamples(e,t,n+1,r)}).catch(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 a=e[t].units;for(;!(n>=a.length);n++){const s=a[n];if(!(s.data.length<=48||s.type!==1&&s.type!==5)&&(this.decryptAvcSample(e,t,n,r,s),!this.decrypter.isSync()))return}}}}class kn{constructor(){this.VideoSample=null}createVideoSample(e,t,n){return{key:e,frame:!1,pts:t,dts:n,units:[],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 a=n.units;r=a[a.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 a=n[r-1];e.pts=a.pts,e.dts=a.dts}else{t.dropped++;return}}t.samples.push(e)}}parseNALu(e,t,n){const r=t.byteLength;let a=e.naluState||0;const s=a,d=[];let p=0,m,v,S,F=-1,q=0;for(a===-1&&(F=0,q=this.getNALuType(t,0),a=0,p=1);p<r;){if(m=t[p++],!a){a=m?0:1;continue}if(a===1){a=m?0:2;continue}if(!m)a=3;else if(m===1){if(v=p-a-1,F>=0){const ee={data:t.subarray(F,v),type:q};d.push(ee)}else{const ee=this.getLastNalUnit(e.samples);ee&&(s&&p<=4-s&&ee.state&&(ee.data=ee.data.subarray(0,ee.data.byteLength-s)),v>0&&(ee.data=kt(ee.data,t.subarray(0,v)),ee.state=0))}p<r?(S=this.getNALuType(t,p),F=p,q=S,a=0):a=-1}else a=0}if(F>=0&&a>=0){const ee={data:t.subarray(F,r),type:q,state:a};d.push(ee)}if(d.length===0){const ee=this.getLastNalUnit(e.samples);ee&&(ee.data=kt(ee.data,t))}return e.naluState=a,d}}class Hn{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),a=Math.min(4,t);if(a===0)throw new Error("no bytes available");r.set(e.subarray(n,n+a)),this.word=new DataView(r.buffer).getUint32(0),this.bitsAvailable=a*8,this.bytesAvailable-=a}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&&he.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)}}class Wn extends kn{parsePES(e,t,n,r){const a=this.parseNALu(e,n.data,r);let s=this.VideoSample,d,p=!1;n.data=null,s&&a.length&&!e.audFound&&(this.pushAccessUnit(s,e),s=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts)),a.forEach(m=>{var v,S;switch(m.type){case 1:{let We=!1;d=!0;const He=m.data;if(p&&He.length>4){const Dt=this.readSliceType(He);(Dt===2||Dt===4||Dt===7||Dt===9)&&(We=!0)}if(We){var F;(F=s)!=null&&F.frame&&!s.key&&(this.pushAccessUnit(s,e),s=this.VideoSample=null)}s||(s=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),s.frame=!0,s.key=We;break}case 5:d=!0,(v=s)!=null&&v.frame&&!s.key&&(this.pushAccessUnit(s,e),s=this.VideoSample=null),s||(s=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),s.key=!0,s.frame=!0;break;case 6:{d=!0,Zt(m.data,1,n.pts,t.samples);break}case 7:{var q,ee;d=!0,p=!0;const We=m.data,He=this.readSPS(We);if(!e.sps||e.width!==He.width||e.height!==He.height||((q=e.pixelRatio)==null?void 0:q[0])!==He.pixelRatio[0]||((ee=e.pixelRatio)==null?void 0:ee[1])!==He.pixelRatio[1]){e.width=He.width,e.height=He.height,e.pixelRatio=He.pixelRatio,e.sps=[We];const Dt=We.subarray(1,4);let Ut="avc1.";for(let $t=0;$t<3;$t++){let yn=Dt[$t].toString(16);yn.length<2&&(yn="0"+yn),Ut+=yn}e.codec=Ut}break}case 8:d=!0,e.pps=[m.data];break;case 9:d=!0,e.audFound=!0,(S=s)!=null&&S.frame&&(this.pushAccessUnit(s,e),s=null),s||(s=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts));break;case 12:d=!0;break;default:d=!1;break}s&&d&&s.units.push(m)}),r&&s&&(this.pushAccessUnit(s,e),this.VideoSample=null)}getNALuType(e,t){return e[t]&31}readSliceType(e){const t=new Hn(e);return t.readUByte(),t.readUEG(),t.readUEG()}skipScalingList(e,t){let n=8,r=8,a;for(let s=0;s<e;s++)r!==0&&(a=t.readEG(),r=(n+a+256)%256),n=r===0?n:r}readSPS(e){const t=new Hn(e);let n=0,r=0,a=0,s=0,d,p,m;const v=t.readUByte.bind(t),S=t.readBits.bind(t),F=t.readUEG.bind(t),q=t.readBoolean.bind(t),ee=t.skipBits.bind(t),We=t.skipEG.bind(t),He=t.skipUEG.bind(t),Dt=this.skipScalingList.bind(this);v();const Ut=v();if(S(5),ee(3),v(),He(),Ut===100||Ut===110||Ut===122||Ut===244||Ut===44||Ut===83||Ut===86||Ut===118||Ut===128){const Vn=F();if(Vn===3&&ee(1),He(),He(),ee(1),q())for(p=Vn!==3?8:12,m=0;m<p;m++)q()&&(m<6?Dt(16,t):Dt(64,t))}He();const $t=F();if($t===0)F();else if($t===1)for(ee(1),We(),We(),d=F(),m=0;m<d;m++)We();He(),ee(1);const yn=F(),Tn=F(),sr=S(1);sr===0&&ee(1),ee(1),q()&&(n=F(),r=F(),a=F(),s=F());let Dn=[1,1];if(q()&&q())switch(v()){case 1:Dn=[1,1];break;case 2:Dn=[12,11];break;case 3:Dn=[10,11];break;case 4:Dn=[16,11];break;case 5:Dn=[40,33];break;case 6:Dn=[24,11];break;case 7:Dn=[20,11];break;case 8:Dn=[32,11];break;case 9:Dn=[80,33];break;case 10:Dn=[18,11];break;case 11:Dn=[15,11];break;case 12:Dn=[64,33];break;case 13:Dn=[160,99];break;case 14:Dn=[4,3];break;case 15:Dn=[3,2];break;case 16:Dn=[2,1];break;case 255:{Dn=[v()<<8|v(),v()<<8|v()];break}}return{width:Math.ceil((yn+1)*16-n*2-r*2),height:(2-sr)*(Tn+1)*16-(sr?2:4)*(a+s),pixelRatio:Dn}}}class ir extends kn{constructor(...e){super(...e),this.initVPS=null}parsePES(e,t,n,r){const a=this.parseNALu(e,n.data,r);let s=this.VideoSample,d,p=!1;n.data=null,s&&a.length&&!e.audFound&&(this.pushAccessUnit(s,e),s=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts)),a.forEach(m=>{var v,S;switch(m.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:s||(s=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts)),s.frame=!0,d=!0;break;case 16:case 17:case 18:case 21:if(d=!0,p){var F;(F=s)!=null&&F.frame&&!s.key&&(this.pushAccessUnit(s,e),s=this.VideoSample=null)}s||(s=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),s.key=!0,s.frame=!0;break;case 19:case 20:d=!0,(v=s)!=null&&v.frame&&!s.key&&(this.pushAccessUnit(s,e),s=this.VideoSample=null),s||(s=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),s.key=!0,s.frame=!0;break;case 39:d=!0,Zt(m.data,2,n.pts,t.samples);break;case 32:d=!0,e.vps||(typeof e.params!="object"&&(e.params={}),e.params=b(e.params,this.readVPS(m.data)),this.initVPS=m.data),e.vps=[m.data];break;case 33:if(d=!0,p=!0,e.vps!==void 0&&e.vps[0]!==this.initVPS&&e.sps!==void 0&&!this.matchSPS(e.sps[0],m.data)&&(this.initVPS=e.vps[0],e.sps=e.pps=void 0),!e.sps){const q=this.readSPS(m.data);e.width=q.width,e.height=q.height,e.pixelRatio=q.pixelRatio,e.codec=q.codecString,e.sps=[],typeof e.params!="object"&&(e.params={});for(const ee in q.params)e.params[ee]=q.params[ee]}this.pushParameterSet(e.sps,m.data,e.vps),s||(s=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),s.key=!0;break;case 34:if(d=!0,typeof e.params=="object"){if(!e.pps){e.pps=[];const q=this.readPPS(m.data);for(const ee in q)e.params[ee]=q[ee]}this.pushParameterSet(e.pps,m.data,e.vps)}break;case 35:d=!0,e.audFound=!0,(S=s)!=null&&S.frame&&(this.pushAccessUnit(s,e),s=null),s||(s=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts));break;default:d=!1;break}s&&d&&s.units.push(m)}),r&&s&&(this.pushAccessUnit(s,e),this.VideoSample=null)}pushParameterSet(e,t,n){(n&&n[0]===this.initVPS||!n&&!e.length)&&e.push(t)}getNALuType(e,t){return(e[t]&126)>>>1}ebsp2rbsp(e){const t=new Uint8Array(e.byteLength);let n=0;for(let r=0;r<e.byteLength;r++)r>=2&&e[r]===3&&e[r-1]===0&&e[r-2]===0||(t[n]=e[r],n++);return new Uint8Array(t.buffer,0,n)}pushAccessUnit(e,t){super.pushAccessUnit(e,t),this.initVPS&&(this.initVPS=null)}readVPS(e){const t=new Hn(e);t.readUByte(),t.readUByte(),t.readBits(4),t.skipBits(2),t.readBits(6);const n=t.readBits(3),r=t.readBoolean();return{numTemporalLayers:n+1,temporalIdNested:r}}readSPS(e){const t=new Hn(this.ebsp2rbsp(e));t.readUByte(),t.readUByte(),t.readBits(4);const n=t.readBits(3);t.readBoolean();const r=t.readBits(2),a=t.readBoolean(),s=t.readBits(5),d=t.readUByte(),p=t.readUByte(),m=t.readUByte(),v=t.readUByte(),S=t.readUByte(),F=t.readUByte(),q=t.readUByte(),ee=t.readUByte(),We=t.readUByte(),He=t.readUByte(),Dt=t.readUByte(),Ut=[],$t=[];for(let ga=0;ga<n;ga++)Ut.push(t.readBoolean()),$t.push(t.readBoolean());if(n>0)for(let ga=n;ga<8;ga++)t.readBits(2);for(let ga=0;ga<n;ga++)Ut[ga]&&(t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte()),$t[ga]&&t.readUByte();t.readUEG();const yn=t.readUEG();yn==3&&t.skipBits(1);const Tn=t.readUEG(),sr=t.readUEG(),Dn=t.readBoolean();let Vn=0,$n=0,On=0,pr=0;Dn&&(Vn+=t.readUEG(),$n+=t.readUEG(),On+=t.readUEG(),pr+=t.readUEG());const $r=t.readUEG(),oi=t.readUEG(),vi=t.readUEG(),li=t.readBoolean();for(let ga=li?0:n;ga<=n;ga++)t.skipUEG(),t.skipUEG(),t.skipUEG();if(t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG(),t.readBoolean()&&t.readBoolean())for(let cs=0;cs<4;cs++)for(let Bs=0;Bs<(cs===3?2:6);Bs++)if(!t.readBoolean())t.readUEG();else{const Ws=Math.min(64,1<<4+(cs<<1));cs>1&&t.readEG();for(let nl=0;nl<Ws;nl++)t.readEG()}t.readBoolean(),t.readBoolean(),t.readBoolean()&&(t.readUByte(),t.skipUEG(),t.skipUEG(),t.readBoolean());const ti=t.readUEG();let fi=0;for(let ga=0;ga<ti;ga++){let cs=!1;if(ga!==0&&(cs=t.readBoolean()),cs){ga===ti&&t.readUEG(),t.readBoolean(),t.readUEG();let Bs=0;for(let No=0;No<=fi;No++){const Ws=t.readBoolean();let nl=!1;Ws||(nl=t.readBoolean()),(Ws||nl)&&Bs++}fi=Bs}else{const Bs=t.readUEG(),No=t.readUEG();fi=Bs+No;for(let Ws=0;Ws<Bs;Ws++)t.readUEG(),t.readBoolean();for(let Ws=0;Ws<No;Ws++)t.readUEG(),t.readBoolean()}}if(t.readBoolean()){const ga=t.readUEG();for(let cs=0;cs<ga;cs++){for(let Bs=0;Bs<vi+4;Bs++)t.readBits(1);t.readBits(1)}}let Hr=0,Wr=1,zi=1,xa=!0,Wi=1,na=0;t.readBoolean(),t.readBoolean();let us=!1;if(t.readBoolean()){if(t.readBoolean()){const ko=t.readUByte(),rc=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Xl=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];ko>0&&ko<16?(Wr=rc[ko-1],zi=Xl[ko-1]):ko===255&&(Wr=t.readBits(16),zi=t.readBits(16))}if(t.readBoolean()&&t.readBoolean(),t.readBoolean()&&(t.readBits(3),t.readBoolean(),t.readBoolean()&&(t.readUByte(),t.readUByte(),t.readUByte())),t.readBoolean()&&(t.readUEG(),t.readUEG()),t.readBoolean(),t.readBoolean(),t.readBoolean(),us=t.readBoolean(),us&&(t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG()),t.readBoolean()&&(Wi=t.readBits(32),na=t.readBits(32),t.readBoolean()&&t.readUEG(),t.readBoolean())){const Xl=t.readBoolean(),ic=t.readBoolean();let El=!1;(Xl||ic)&&(El=t.readBoolean(),El&&(t.readUByte(),t.readBits(5),t.readBoolean(),t.readBits(5)),t.readBits(4),t.readBits(4),El&&t.readBits(4),t.readBits(5),t.readBits(5),t.readBits(5));for(let ac=0;ac<=n;ac++){xa=t.readBoolean();const Vd=xa||t.readBoolean();let sc=!1;Vd?t.readEG():sc=t.readBoolean();const oc=sc?1:t.readUEG()+1;if(Xl)for(let Sl=0;Sl<oc;Sl++)t.readUEG(),t.readUEG(),El&&(t.readUEG(),t.readUEG()),t.skipBits(1);if(ic)for(let Sl=0;Sl<oc;Sl++)t.readUEG(),t.readUEG(),El&&(t.readUEG(),t.readUEG()),t.skipBits(1)}}t.readBoolean()&&(t.readBoolean(),t.readBoolean(),t.readBoolean(),Hr=t.readUEG())}let ks=Tn,ao=sr;if(Dn){let ga=1,cs=1;yn===1?ga=cs=2:yn==2&&(ga=2),ks=Tn-ga*$n-ga*Vn,ao=sr-cs*pr-cs*On}const Mo=r?["A","B","C"][r]:"",$d=d<<24|p<<16|m<<8|v;let bu=0;for(let ga=0;ga<32;ga++)bu=(bu|($d>>ga&1)<<31-ga)>>>0;let xu=bu.toString(16);return s===1&&xu==="2"&&(xu="6"),{codecString:`hvc1.${Mo}${s}.${xu}.${a?"H":"L"}${Dt}.B0`,params:{general_tier_flag:a,general_profile_idc:s,general_profile_space:r,general_profile_compatibility_flags:[d,p,m,v],general_constraint_indicator_flags:[S,F,q,ee,We,He],general_level_idc:Dt,bit_depth:$r+8,bit_depth_luma_minus8:$r,bit_depth_chroma_minus8:oi,min_spatial_segmentation_idc:Hr,chroma_format_idc:yn,frame_rate:{fixed:xa,fps:na/Wi}},width:ks,height:ao,pixelRatio:[Wr,zi]}}readPPS(e){const t=new Hn(this.ebsp2rbsp(e));t.readUByte(),t.readUByte(),t.skipUEG(),t.skipUEG(),t.skipBits(2),t.skipBits(3),t.skipBits(2),t.skipUEG(),t.skipUEG(),t.skipEG(),t.skipBits(2),t.readBoolean()&&t.skipUEG(),t.skipEG(),t.skipEG(),t.skipBits(4);const r=t.readBoolean(),a=t.readBoolean();let s=1;return a&&r?s=0:a?s=3:r&&(s=2),{parallelismType:s}}matchSPS(e,t){return String.fromCharCode.apply(null,e).substr(3)===String.fromCharCode.apply(null,t).substr(3)}}const Jn=188;class nr{constructor(e,t,n,r){this.logger=void 0,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._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.logger=r,this.videoParser=null}static probe(e,t){const n=nr.syncOffset(e);return n>0&&t.warn(`MPEG2-TS detected but first sync word found @ offset ${n}`),n!==-1}static syncOffset(e){const t=e.length;let n=Math.min(Jn*5,t-Jn)+1,r=0;for(;r<n;){let a=!1,s=-1,d=0;for(let p=r;p<t;p+=Jn)if(e[p]===71&&(t-p===Jn||e[p+Jn]===71)){if(d++,s===-1&&(s=p,s!==0&&(n=Math.min(s+Jn*99,e.length-Jn)+1)),a||(a=fr(e,p)===0),a&&d>1&&(s===0&&d>2||p+Jn>n))return s}else{if(d)return-1;break}r++}return-1}static createTrack(e,t){return{container:e==="video"||e==="audio"?"video/mp2t":void 0,type:e,id:Jt[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=nr.createTrack("video"),this._videoTrack.duration=r,this._audioTrack=nr.createTrack("audio",r),this._id3Track=nr.createTrack("id3"),this._txtTrack=nr.createTrack("text"),this._audioTrack.segmentCodec="aac",this.videoParser=null,this.aacOverFlow=null,this.remainderData=null,this.audioCodec=t,this.videoCodec=n}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 a;const s=this._videoTrack,d=this._audioTrack,p=this._id3Track,m=this._txtTrack;let v=s.pid,S=s.pesData,F=d.pid,q=p.pid,ee=d.pesData,We=p.pesData,He=null,Dt=this.pmtParsed,Ut=this._pmtId,$t=e.length;if(this.remainderData&&(e=kt(this.remainderData,e),$t=e.length,this.remainderData=null),$t<Jn&&!r)return this.remainderData=e,{audioTrack:d,videoTrack:s,id3Track:p,textTrack:m};const yn=Math.max(0,nr.syncOffset(e));$t-=($t-yn)%Jn,$t<e.byteLength&&!r&&(this.remainderData=new Uint8Array(e.buffer,$t,e.buffer.byteLength-$t));let Tn=0;for(let Dn=yn;Dn<$t;Dn+=Jn)if(e[Dn]===71){const Vn=!!(e[Dn+1]&64),$n=fr(e,Dn),On=(e[Dn+3]&48)>>4;let pr;if(On>1){if(pr=Dn+5+e[Dn+4],pr===Dn+Jn)continue}else pr=Dn+4;switch($n){case v:Vn&&(S&&(a=ni(S,this.logger))&&(this.readyVideoParser(s.segmentCodec),this.videoParser!==null&&this.videoParser.parsePES(s,m,a,!1)),S={data:[],size:0}),S&&(S.data.push(e.subarray(pr,Dn+Jn)),S.size+=Dn+Jn-pr);break;case F:if(Vn){if(ee&&(a=ni(ee,this.logger)))switch(d.segmentCodec){case"aac":this.parseAACPES(d,a);break;case"mp3":this.parseMPEGPES(d,a);break;case"ac3":this.parseAC3PES(d,a);break}ee={data:[],size:0}}ee&&(ee.data.push(e.subarray(pr,Dn+Jn)),ee.size+=Dn+Jn-pr);break;case q:Vn&&(We&&(a=ni(We,this.logger))&&this.parseID3PES(p,a),We={data:[],size:0}),We&&(We.data.push(e.subarray(pr,Dn+Jn)),We.size+=Dn+Jn-pr);break;case 0:Vn&&(pr+=e[pr]+1),Ut=this._pmtId=Tr(e,pr);break;case Ut:{Vn&&(pr+=e[pr]+1);const $r=Pr(e,pr,this.typeSupported,n,this.observer,this.logger);v=$r.videoPid,v>0&&(s.pid=v,s.segmentCodec=$r.segmentVideoCodec),F=$r.audioPid,F>0&&(d.pid=F,d.segmentCodec=$r.segmentAudioCodec),q=$r.id3Pid,q>0&&(p.pid=q),He!==null&&!Dt&&(this.logger.warn(`MPEG-TS PMT found at ${Dn} after unknown PID '${He}'. Backtracking to sync byte @${yn} to parse all TS packets.`),He=null,Dn=yn-188),Dt=this.pmtParsed=!0;break}case 17:case 8191:break;default:He=$n;break}}else Tn++;Tn>0&&mr(this.observer,new Error(`Found ${Tn} TS packet/s that do not start with 0x47`),void 0,this.logger),s.pesData=S,d.pesData=ee,p.pesData=We;const sr={audioTrack:d,videoTrack:s,id3Track:p,textTrack:m};return r&&this.extractRemainingSamples(sr),sr}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:a}=e,s=n.pesData,d=t.pesData,p=r.pesData;let m;if(s&&(m=ni(s,this.logger))?(this.readyVideoParser(n.segmentCodec),this.videoParser!==null&&(this.videoParser.parsePES(n,a,m,!0),n.pesData=null)):n.pesData=s,d&&(m=ni(d,this.logger))){switch(t.segmentCodec){case"aac":this.parseAACPES(t,m);break;case"mp3":this.parseMPEGPES(t,m);break;case"ac3":this.parseAC3PES(t,m);break}t.pesData=null}else d!=null&&d.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),t.pesData=d;p&&(m=ni(p,this.logger))?(this.parseID3PES(r,m),r.pesData=null):r.pesData=p}demuxSampleAes(e,t,n){const r=this.demux(e,n,!0,!this.config.progressive),a=this.sampleAes=new Cn(this.observer,this.config,t);return this.decrypt(r,a)}readyVideoParser(e){this.videoParser===null&&(e==="avc"?this.videoParser=new Wn:e==="hevc"&&(this.videoParser=new ir))}decrypt(e,t){return new Promise(n=>{const{audioTrack:r,videoTrack:a}=e;r.samples&&r.segmentCodec==="aac"?t.decryptAacSamples(r.samples,0,()=>{a.samples?t.decryptAvcSamples(a.samples,0,0,()=>{n(e)}):n(e)}):a.samples&&t.decryptAvcSamples(a.samples,0,0,()=>{n(e)})})}destroy(){this.observer&&this.observer.removeAllListeners(),this.config=this.logger=this.observer=null,this.aacOverFlow=this.videoParser=this.remainderData=this.sampleAes=null,this._videoTrack=this._audioTrack=this._id3Track=this._txtTrack=void 0}parseAACPES(e,t){let n=0;const r=this.aacOverFlow;let a=t.data;if(r){this.aacOverFlow=null;const S=r.missing,F=r.sample.unit.byteLength;if(S===-1)a=kt(r.sample.unit,a);else{const q=F-S;r.sample.unit.set(a.subarray(0,S),q),e.samples.push(r.sample),n=r.missing}}let s,d;for(s=n,d=a.length;s<d-1&&!Co(a,s);s++);if(s!==n){let S;const F=s<d-1;if(F?S=`AAC PES did not start with ADTS header,offset:${s}`:S="No ADTS header found in AAC PES",mr(this.observer,new Error(S),F,this.logger),!F)return}wo(e,this.observer,a,s,this.audioCodec);let p;if(t.pts!==void 0)p=t.pts;else if(r){const S=il(e.samplerate);p=r.sample.pts+S}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let m=0,v;for(;s<d;)if(v=sl(e,a,s,p,m),s+=v.length,v.missing){this.aacOverFlow=v;break}else for(m++;s<d-1&&!Co(a,s);s++);}parseMPEGPES(e,t){const n=t.data,r=n.length;let a=0,s=0;const d=t.pts;if(d===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;s<r;)if(c(n,s)){const p=Bn(e,n,s,d,a);if(p)s+=p.length,a++;else break}else s++}parseAC3PES(e,t){{const n=t.data,r=t.pts;if(r===void 0){this.logger.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const a=n.length;let s=0,d=0,p;for(;d<a&&(p=Me(e,n,d,r,s++))>0;)d+=p}}parseID3PES(e,t){if(t.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const n=b({},t,{type:this._videoTrack?at.emsg:at.audioId3,duration:Number.POSITIVE_INFINITY});e.samples.push(n)}}function fr(o,e){return((o[e+1]&31)<<8)+o[e+2]}function Tr(o,e){return(o[e+10]&31)<<8|o[e+11]}function Pr(o,e,t,n,r,a){const s={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},d=(o[e+1]&15)<<8|o[e+2],p=e+3+d-4,m=(o[e+10]&15)<<8|o[e+11];for(e+=12+m;e<p;){const v=fr(o,e),S=(o[e+3]&15)<<8|o[e+4];switch(o[e]){case 207:if(!n){Yr("ADTS AAC",a);break}case 15:s.audioPid===-1&&(s.audioPid=v);break;case 21:s.id3Pid===-1&&(s.id3Pid=v);break;case 219:if(!n){Yr("H.264",a);break}case 27:s.videoPid===-1&&(s.videoPid=v);break;case 3:case 4:!t.mpeg&&!t.mp3?a.log("MPEG audio found, not supported in this browser"):s.audioPid===-1&&(s.audioPid=v,s.segmentAudioCodec="mp3");break;case 193:if(!n){Yr("AC-3",a);break}case 129:t.ac3?s.audioPid===-1&&(s.audioPid=v,s.segmentAudioCodec="ac3"):a.log("AC-3 audio found, not supported in this browser");break;case 6:if(s.audioPid===-1&&S>0){let F=e+5,q=S;for(;q>2;){switch(o[F]){case 106:t.ac3!==!0?a.log("AC-3 audio found, not supported in this browser for now"):(s.audioPid=v,s.segmentAudioCodec="ac3");break}const We=o[F+1]+2;F+=We,q-=We}}break;case 194:case 135:return mr(r,new Error("Unsupported EC-3 in M2TS found"),void 0,a),s;case 36:s.videoPid===-1&&(s.videoPid=v,s.segmentVideoCodec="hevc",a.log("HEVC in M2TS found"));break}e+=S+5}return s}function mr(o,e,t,n){n.warn(`parsing error: ${e.message}`),o.emit(g.ERROR,g.ERROR,{type:ce.MEDIA_ERROR,details:j.FRAG_PARSING_ERROR,fatal:!1,levelRetry:t,error:e,reason:e.message})}function Yr(o,e){e.log(`${o} with AES-128-CBC encryption found in unencrypted stream`)}function ni(o,e){let t=0,n,r,a,s,d;const p=o.data;if(!o||o.size===0)return null;for(;p[0].length<19&&p.length>1;)p[0]=kt(p[0],p[1]),p.splice(1,1);if(n=p[0],(n[0]<<16)+(n[1]<<8)+n[2]===1){if(r=(n[4]<<8)+n[5],r&&r>o.size-6)return null;const v=n[7];v&192&&(s=(n[9]&14)*536870912+(n[10]&255)*4194304+(n[11]&254)*16384+(n[12]&255)*128+(n[13]&254)/2,v&64?(d=(n[14]&14)*536870912+(n[15]&255)*4194304+(n[16]&254)*16384+(n[17]&255)*128+(n[18]&254)/2,s-d>60*9e4&&(e.warn(`${Math.round((s-d)/9e4)}s delta between PTS and DTS, align them`),s=d)):d=s),a=n[8];let S=a+9;if(o.size<=S)return null;o.size-=S;const F=new Uint8Array(o.size);for(let q=0,ee=p.length;q<ee;q++){n=p[q];let We=n.byteLength;if(S)if(S>We){S-=We;continue}else n=n.subarray(S),We-=S,S=0;F.set(n,t),t+=We}return r&&(r-=a+3),{data:F,pts:s,dts:d,len:r}}return null}class Ri{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 xi=Math.pow(2,32)-1;class mn{static init(){mn.types={avc1:[],avcC:[],hvc1:[],hvcC:[],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 mn.types)mn.types.hasOwnProperty(e)&&(mn.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]);mn.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]),a=new Uint8Array([0,0,0,0,0,0,0,0]);mn.STTS=mn.STSC=mn.STCO=a,mn.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),mn.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),mn.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),mn.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const s=new Uint8Array([105,115,111,109]),d=new Uint8Array([97,118,99,49]),p=new Uint8Array([0,0,0,1]);mn.FTYP=mn.box(mn.types.ftyp,s,p,s,d),mn.DINF=mn.box(mn.types.dinf,mn.box(mn.types.dref,r))}static box(e,...t){let n=8,r=t.length;const a=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<a;r++)s.set(t[r],n),n+=t[r].byteLength;return s}static hdlr(e){return mn.box(mn.types.hdlr,mn.HDLR_TYPES[e])}static mdat(e){return mn.box(mn.types.mdat,e)}static mdhd(e,t){t*=e;const n=Math.floor(t/(xi+1)),r=Math.floor(t%(xi+1));return mn.box(mn.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 mn.box(mn.types.mdia,mn.mdhd(e.timescale||0,e.duration||0),mn.hdlr(e.type),mn.minf(e))}static mfhd(e){return mn.box(mn.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"?mn.box(mn.types.minf,mn.box(mn.types.smhd,mn.SMHD),mn.DINF,mn.stbl(e)):mn.box(mn.types.minf,mn.box(mn.types.vmhd,mn.VMHD),mn.DINF,mn.stbl(e))}static moof(e,t,n){return mn.box(mn.types.moof,mn.mfhd(e),mn.traf(n,t))}static moov(e){let t=e.length;const n=[];for(;t--;)n[t]=mn.trak(e[t]);return mn.box.apply(null,[mn.types.moov,mn.mvhd(e[0].timescale||0,e[0].duration||0)].concat(n).concat(mn.mvex(e)))}static mvex(e){let t=e.length;const n=[];for(;t--;)n[t]=mn.trex(e[t]);return mn.box.apply(null,[mn.types.mvex,...n])}static mvhd(e,t){t*=e;const n=Math.floor(t/(xi+1)),r=Math.floor(t%(xi+1)),a=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 mn.box(mn.types.mvhd,a)}static sdtp(e){const t=e.samples||[],n=new Uint8Array(4+t.length);let r,a;for(r=0;r<t.length;r++)a=t[r].flags,n[r+4]=a.dependsOn<<4|a.isDependedOn<<2|a.hasRedundancy;return mn.box(mn.types.sdtp,n)}static stbl(e){return mn.box(mn.types.stbl,mn.stsd(e),mn.box(mn.types.stts,mn.STTS),mn.box(mn.types.stsc,mn.STSC),mn.box(mn.types.stsz,mn.STSZ),mn.box(mn.types.stco,mn.STCO))}static avc1(e){let t=[],n=[],r,a,s;for(r=0;r<e.sps.length;r++)a=e.sps[r],s=a.byteLength,t.push(s>>>8&255),t.push(s&255),t=t.concat(Array.prototype.slice.call(a));for(r=0;r<e.pps.length;r++)a=e.pps[r],s=a.byteLength,n.push(s>>>8&255),n.push(s&255),n=n.concat(Array.prototype.slice.call(a));const d=mn.box(mn.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,m=e.height,v=e.pixelRatio[0],S=e.pixelRatio[1];return mn.box(mn.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,m>>8&255,m&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]),d,mn.box(mn.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),mn.box(mn.types.pasp,new Uint8Array([v>>24,v>>16&255,v>>8&255,v&255,S>>24,S>>16&255,S>>8&255,S&255])))}static esds(e){const t=e.config;return new Uint8Array([0,0,0,0,3,25,0,1,0,4,17,64,21,0,0,0,0,0,0,0,0,0,0,0,5,2,...t,6,1,2])}static audioStsd(e){const t=e.samplerate||0;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount||0,0,16,0,0,0,0,t>>8&255,t&255,0,0])}static mp4a(e){return mn.box(mn.types.mp4a,mn.audioStsd(e),mn.box(mn.types.esds,mn.esds(e)))}static mp3(e){return mn.box(mn.types[".mp3"],mn.audioStsd(e))}static ac3(e){return mn.box(mn.types["ac-3"],mn.audioStsd(e),mn.box(mn.types.dac3,e.config))}static stsd(e){const{segmentCodec:t}=e;if(e.type==="audio"){if(t==="aac")return mn.box(mn.types.stsd,mn.STSD,mn.mp4a(e));if(t==="ac3"&&e.config)return mn.box(mn.types.stsd,mn.STSD,mn.ac3(e));if(t==="mp3"&&e.codec==="mp3")return mn.box(mn.types.stsd,mn.STSD,mn.mp3(e))}else if(e.pps&&e.sps){if(t==="avc")return mn.box(mn.types.stsd,mn.STSD,mn.avc1(e));if(t==="hevc"&&e.vps)return mn.box(mn.types.stsd,mn.STSD,mn.hvc1(e))}else throw new Error("video track missing pps or sps");throw new Error(`unsupported ${e.type} segment codec (${t}/${e.codec})`)}static tkhd(e){const t=e.id,n=(e.duration||0)*(e.timescale||0),r=e.width||0,a=e.height||0,s=Math.floor(n/(xi+1)),d=Math.floor(n%(xi+1));return mn.box(mn.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,d>>24,d>>16&255,d>>8&255,d&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,a>>8&255,a&255,0,0]))}static traf(e,t){const n=mn.sdtp(e),r=e.id,a=Math.floor(t/(xi+1)),s=Math.floor(t%(xi+1));return mn.box(mn.types.traf,mn.box(mn.types.tfhd,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,r&255])),mn.box(mn.types.tfdt,new Uint8Array([1,0,0,0,a>>24,a>>16&255,a>>8&255,a&255,s>>24,s>>16&255,s>>8&255,s&255])),mn.trun(e,n.length+16+20+8+16+8+8),n)}static trak(e){return e.duration=e.duration||4294967295,mn.box(mn.types.trak,mn.tkhd(e),mn.mdia(e))}static trex(e){const t=e.id;return mn.box(mn.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,a=12+16*r,s=new Uint8Array(a);let d,p,m,v,S,F;for(t+=8+a,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),d=0;d<r;d++)p=n[d],m=p.duration,v=p.size,S=p.flags,F=p.cts,s.set([m>>>24&255,m>>>16&255,m>>>8&255,m&255,v>>>24&255,v>>>16&255,v>>>8&255,v&255,S.isLeading<<2|S.dependsOn,S.isDependedOn<<6|S.hasRedundancy<<4|S.paddingValue<<1|S.isNonSync,S.degradPrio&61440,S.degradPrio&15,F>>>24&255,F>>>16&255,F>>>8&255,F&255],12+16*d);return mn.box(mn.types.trun,s)}static initSegment(e){mn.types||mn.init();const t=mn.moov(e);return kt(mn.FTYP,t)}static hvc1(e){const t=e.params,n=[e.vps,e.sps,e.pps],r=4,a=new Uint8Array([1,t.general_profile_space<<6|(t.general_tier_flag?32:0)|t.general_profile_idc,t.general_profile_compatibility_flags[0],t.general_profile_compatibility_flags[1],t.general_profile_compatibility_flags[2],t.general_profile_compatibility_flags[3],t.general_constraint_indicator_flags[0],t.general_constraint_indicator_flags[1],t.general_constraint_indicator_flags[2],t.general_constraint_indicator_flags[3],t.general_constraint_indicator_flags[4],t.general_constraint_indicator_flags[5],t.general_level_idc,240|t.min_spatial_segmentation_idc>>8,255&t.min_spatial_segmentation_idc,252|t.parallelismType,252|t.chroma_format_idc,248|t.bit_depth_luma_minus8,248|t.bit_depth_chroma_minus8,0,parseInt(t.frame_rate.fps),r-1|t.temporal_id_nested<<2|t.num_temporal_layers<<3|(t.frame_rate.fixed?64:0),n.length]);let s=a.length;for(let ee=0;ee<n.length;ee+=1){s+=3;for(let We=0;We<n[ee].length;We+=1)s+=2+n[ee][We].length}const d=new Uint8Array(s);d.set(a,0),s=a.length;const p=n.length-1;for(let ee=0;ee<n.length;ee+=1){d.set(new Uint8Array([32+ee|(ee===p?128:0),0,n[ee].length]),s),s+=3;for(let We=0;We<n[ee].length;We+=1)d.set(new Uint8Array([n[ee][We].length>>8,n[ee][We].length&255]),s),s+=2,d.set(n[ee][We],s),s+=n[ee][We].length}const m=mn.box(mn.types.hvcC,d),v=e.width,S=e.height,F=e.pixelRatio[0],q=e.pixelRatio[1];return mn.box(mn.types.hvc1,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,v>>8&255,v&255,S>>8&255,S&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]),m,mn.box(mn.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),mn.box(mn.types.pasp,new Uint8Array([F>>24,F>>16&255,F>>8&255,F&255,q>>24,q>>16&255,q>>8&255,q&255])))}}mn.types=void 0,mn.HDLR_TYPES=void 0,mn.STTS=void 0,mn.STSC=void 0,mn.STCO=void 0,mn.STSZ=void 0,mn.VMHD=void 0,mn.SMHD=void 0,mn.STSD=void 0,mn.FTYP=void 0,mn.DINF=void 0;const Oi=9e4;function va(o,e,t=1,n=!1){const r=o*e*t;return n?Math.round(r):r}function bi(o,e,t=1,n=!1){return va(o,e,1/t,n)}function ci(o,e=!1){return va(o,1e3,1/Oi,e)}function ca(o,e=1){return va(o,Oi,1/e)}function da(o){const{baseTime:e,timescale:t,trackId:n}=o;return`${e/t} (${e}/${t}) trackId: ${n}`}const qr=10*1e3,yi=1024,Ur=1152,Jr=1536;let Si=null,Ii=null;function ea(o,e,t,n){return{duration:e,size:t,cts:n,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:o?2:1,isNonSync:o?0:1}}}class Qi extends Y{constructor(e,t,n,r){if(super("mp4-remuxer",r),this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextVideoTs=null,this.nextAudioTs=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,Si===null){const s=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Si=s?parseInt(s[1]):0}if(Ii===null){const a=navigator.userAgent.match(/Safari\/(\d+)/i);Ii=a?parseInt(a[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(e){const t=this._initPTS;(!t||!e||e.trackId!==t.trackId||e.baseTime!==t.baseTime||e.timescale!==t.timescale)&&this.log(`Reset initPTS: ${t&&da(t)} > ${e&&da(e)}`),this._initPTS=this._initDTS=e}resetNextTimestamp(){this.log("reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){this.log("ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(e){let t=!1;const n=e[0].pts,r=e.reduce((a,s)=>{let d=s.pts,p=d-a;return p<-4294967296&&(t=!0,d=sa(d,n),p=d-a),p>0?a:d},n);return t&&this.debug("PTS rollover detected"),r}remux(e,t,n,r,a,s,d,p){let m,v,S,F,q,ee,We=a,He=a;const Dt=e.pid>-1,Ut=t.pid>-1,$t=t.samples.length,yn=e.samples.length>0,Tn=d&&$t>0||$t>1;if((!Dt||yn)&&(!Ut||Tn)||this.ISGenerated||d){if(this.ISGenerated){var Dn,Vn,$n,On;const vi=this.videoTrackConfig;(vi&&(t.width!==vi.width||t.height!==vi.height||((Dn=t.pixelRatio)==null?void 0:Dn[0])!==((Vn=vi.pixelRatio)==null?void 0:Vn[0])||(($n=t.pixelRatio)==null?void 0:$n[1])!==((On=vi.pixelRatio)==null?void 0:On[1]))||!vi&&Tn||this.nextAudioTs===null&&yn)&&this.resetInitSegment()}this.ISGenerated||(S=this.generateIS(e,t,a,s));const pr=this.isVideoContiguous;let $r=-1,oi;if(Tn&&($r=Na(t.samples),!pr&&this.config.forceKeyFrameOnDiscontinuity))if(ee=!0,$r>0){this.warn(`Dropped ${$r} out of ${$t} video samples due to a missing keyframe`);const vi=this.getVideoStartPts(t.samples);t.samples=t.samples.slice($r),t.dropped+=$r,He+=(t.samples[0].pts-vi)/t.inputTimeScale,oi=He}else $r===-1&&(this.warn(`No keyframe found out of ${$t} video samples`),ee=!1);if(this.ISGenerated){if(yn&&Tn){const vi=this.getVideoStartPts(t.samples),Br=(sa(e.samples[0].pts,vi)-vi)/t.inputTimeScale;We+=Math.max(0,Br),He+=Math.max(0,-Br)}if(yn){if(e.samplerate||(this.warn("regenerate InitSegment as audio detected"),S=this.generateIS(e,t,a,s)),v=this.remuxAudio(e,We,this.isAudioContiguous,s,Ut||Tn||p===K.AUDIO?He:void 0),Tn){const vi=v?v.endPTS-v.startPTS:0;t.inputTimeScale||(this.warn("regenerate InitSegment as video detected"),S=this.generateIS(e,t,a,s)),m=this.remuxVideo(t,He,pr,vi)}}else Tn&&(m=this.remuxVideo(t,He,pr,0));m&&(m.firstKeyFrame=$r,m.independent=$r!==-1,m.firstKeyFramePTS=oi)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(n.samples.length&&(q=ei(n,a,this._initPTS,this._initDTS)),r.samples.length&&(F=si(r,a,this._initPTS))),{audio:v,video:m,initSegment:S,independent:ee,text:F,id3:q}}computeInitPts(e,t,n,r){const a=Math.round(n*t);let s=sa(e,a);if(s<a+t)for(this.log(`Adjusting PTS for rollover in timeline near ${(a-s)/t} ${r}`);s<a+t;)s+=8589934592;return s-a}generateIS(e,t,n,r){const a=e.samples,s=t.samples,d=this.typeSupported,p={},m=this._initPTS;let v=!m||r,S="audio/mp4",F,q,ee,We=-1;if(v&&(F=q=1/0),e.config&&a.length){switch(e.timescale=e.samplerate,e.segmentCodec){case"mp3":d.mpeg?(S="audio/mpeg",e.codec=""):d.mp3&&(e.codec="mp3");break;case"ac3":e.codec="ac-3";break}p.audio={id:"audio",container:S,codec:e.codec,initSegment:e.segmentCodec==="mp3"&&d.mpeg?new Uint8Array(0):mn.initSegment([e]),metadata:{channelCount:e.channelCount}},v&&(We=e.id,ee=e.inputTimeScale,!m||ee!==m.timescale?F=q=this.computeInitPts(a[0].pts,ee,n,"audio"):v=!1)}if(t.sps&&t.pps&&s.length){if(t.timescale=t.inputTimeScale,p.video={id:"main",container:"video/mp4",codec:t.codec,initSegment:mn.initSegment([t]),metadata:{width:t.width,height:t.height}},v)if(We=t.id,ee=t.inputTimeScale,!m||ee!==m.timescale){const He=this.getVideoStartPts(s),Dt=sa(s[0].dts,He),Ut=this.computeInitPts(Dt,ee,n,"video"),$t=this.computeInitPts(He,ee,n,"video");q=Math.min(q,Ut),F=Math.min(F,$t)}else v=!1;this.videoTrackConfig={width:t.width,height:t.height,pixelRatio:t.pixelRatio}}if(Object.keys(p).length)return this.ISGenerated=!0,v?(m&&this.warn(`Timestamps at playlist time: ${r?"":"~"}${n} ${F/ee} != initPTS: ${m.baseTime/m.timescale} (${m.baseTime}/${m.timescale}) trackId: ${m.trackId}`),this.log(`Found initPTS at playlist time: ${n} offset: ${F/ee} (${F}/${ee}) trackId: ${We}`),this._initPTS={baseTime:F,timescale:ee,trackId:We},this._initDTS={baseTime:q,timescale:ee,trackId:We}):F=ee=void 0,{tracks:p,initPTS:F,timescale:ee,trackId:We}}remuxVideo(e,t,n,r){const a=e.inputTimeScale,s=e.samples,d=[],p=s.length,m=this._initPTS,v=m.baseTime*a/m.timescale;let S=this.nextVideoTs,F=8,q=this.videoSampleDuration,ee,We,He=Number.POSITIVE_INFINITY,Dt=Number.NEGATIVE_INFINITY,Ut=!1;if(!n||S===null){const Hr=v+t*a,Wr=s[0].pts-sa(s[0].dts,s[0].pts);Si&&S!==null&&Math.abs(Hr-Wr-(S+v))<15e3?n=!0:S=Hr-Wr-v}const $t=S+v;for(let Hr=0;Hr<p;Hr++){const Wr=s[Hr];Wr.pts=sa(Wr.pts,$t),Wr.dts=sa(Wr.dts,$t),Wr.dts<s[Hr>0?Hr-1:Hr].dts&&(Ut=!0)}Ut&&s.sort(function(Hr,Wr){const zi=Hr.dts-Wr.dts,xa=Hr.pts-Wr.pts;return zi||xa}),ee=s[0].dts,We=s[s.length-1].dts;const yn=We-ee,Tn=yn?Math.round(yn/(p-1)):q||e.inputTimeScale/30;if(n){const Hr=ee-$t,Wr=Hr>Tn,zi=Hr<-1;if((Wr||zi)&&(Wr?this.warn(`${(e.segmentCodec||"").toUpperCase()}: ${ci(Hr,!0)} ms (${Hr}dts) hole between fragments detected at ${t.toFixed(3)}`):this.warn(`${(e.segmentCodec||"").toUpperCase()}: ${ci(-Hr,!0)} ms (${Hr}dts) overlapping between fragments detected at ${t.toFixed(3)}`),!zi||$t>=s[0].pts||Si)){ee=$t;const xa=s[0].pts-Hr;if(Wr)s[0].dts=ee,s[0].pts=xa;else{let Wi=!0;for(let na=0;na<s.length&&!(s[na].dts>xa&&Wi);na++){const us=s[na].pts;if(s[na].dts-=Hr,s[na].pts-=Hr,na<s.length-1){const as=s[na+1].pts,ks=s[na].pts,ao=as<=ks,Mo=as<=us;Wi=ao==Mo}}}this.log(`Video: Initial PTS/DTS adjusted: ${ci(xa,!0)}/${ci(ee,!0)}, delta: ${ci(Hr,!0)} ms`)}}ee=Math.max(0,ee);let sr=0,Dn=0,Vn=ee;for(let Hr=0;Hr<p;Hr++){const Wr=s[Hr],zi=Wr.units,xa=zi.length;let Wi=0;for(let na=0;na<xa;na++)Wi+=zi[na].data.length;Dn+=Wi,sr+=xa,Wr.length=Wi,Wr.dts<Vn?(Wr.dts=Vn,Vn+=Tn/4|0||1):Vn=Wr.dts,He=Math.min(Wr.pts,He),Dt=Math.max(Wr.pts,Dt)}We=s[p-1].dts;const $n=Dn+4*sr+8;let On;try{On=new Uint8Array($n)}catch(Hr){this.observer.emit(g.ERROR,g.ERROR,{type:ce.MUX_ERROR,details:j.REMUX_ALLOC_ERROR,fatal:!1,error:Hr,bytes:$n,reason:`fail allocating video mdat ${$n}`});return}const pr=new DataView(On.buffer);pr.setUint32(0,$n),On.set(mn.types.mdat,4);let $r=!1,oi=Number.POSITIVE_INFINITY,vi=Number.POSITIVE_INFINITY,li=Number.NEGATIVE_INFINITY,Br=Number.NEGATIVE_INFINITY;for(let Hr=0;Hr<p;Hr++){const Wr=s[Hr],zi=Wr.units;let xa=0;for(let us=0,as=zi.length;us<as;us++){const ks=zi[us],ao=ks.data,Mo=ks.data.byteLength;pr.setUint32(F,Mo),F+=4,On.set(ao,F),F+=Mo,xa+=4+Mo}let Wi;if(Hr<p-1)q=s[Hr+1].dts-Wr.dts,Wi=s[Hr+1].pts-Wr.pts;else{const us=this.config,as=Hr>0?Wr.dts-s[Hr-1].dts:Tn;if(Wi=Hr>0?Wr.pts-s[Hr-1].pts:Tn,us.stretchShortVideoTrack&&this.nextAudioTs!==null){const ks=Math.floor(us.maxBufferHole*a),ao=(r?He+r*a:this.nextAudioTs+v)-Wr.pts;ao>ks?(q=ao-as,q<0?q=as:$r=!0,this.log(`It is approximately ${ao/90} ms to the next segment; using duration ${q/90} ms for the last video frame.`)):q=as}else q=as}const na=Math.round(Wr.pts-Wr.dts);oi=Math.min(oi,q),li=Math.max(li,q),vi=Math.min(vi,Wi),Br=Math.max(Br,Wi),d.push(ea(Wr.key,q,xa,na))}if(d.length){if(Si){if(Si<70){const Hr=d[0].flags;Hr.dependsOn=2,Hr.isNonSync=0}}else if(Ii&&Br-vi<li-oi&&Tn/li<.025&&d[0].cts===0){this.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let Hr=ee;for(let Wr=0,zi=d.length;Wr<zi;Wr++){const xa=Hr+d[Wr].duration,Wi=Hr+d[Wr].cts;if(Wr<zi-1){const na=xa+d[Wr+1].cts;d[Wr].duration=na-Wi}else d[Wr].duration=Wr?d[Wr-1].duration:Tn;d[Wr].cts=0,Hr=xa}}}q=$r||!q?Tn:q;const ui=We+q;this.nextVideoTs=S=ui-v,this.videoSampleDuration=q,this.isVideoContiguous=!0;const Ci={data1:mn.moof(e.sequenceNumber++,ee,b(e,{samples:d})),data2:On,startPTS:(He-v)/a,endPTS:(Dt+q-v)/a,startDTS:(ee-v)/a,endDTS:S/a,type:"video",hasAudio:!1,hasVideo:!0,nb:d.length,dropped:e.dropped};return e.samples=[],e.dropped=0,Ci}getSamplesPerFrame(e){switch(e.segmentCodec){case"mp3":return Ur;case"ac3":return Jr;default:return yi}}remuxAudio(e,t,n,r,a){const s=e.inputTimeScale,d=e.samplerate?e.samplerate:s,p=s/d,m=this.getSamplesPerFrame(e),v=m*p,S=this._initPTS,F=e.segmentCodec==="mp3"&&this.typeSupported.mpeg,q=[],ee=a!==void 0;let We=e.samples,He=F?0:8,Dt=this.nextAudioTs||-1;const Ut=S.baseTime*s/S.timescale,$t=Ut+t*s;if(this.isAudioContiguous=n=n||We.length&&Dt>0&&(r&&Math.abs($t-(Dt+Ut))<9e3||Math.abs(sa(We[0].pts,$t)-(Dt+Ut))<20*v),We.forEach(function(Br){Br.pts=sa(Br.pts,$t)}),!n||Dt<0){const Br=We.length;if(We=We.filter(ui=>ui.pts>=0),Br!==We.length&&this.warn(`Removed ${We.length-Br} of ${Br} samples (initPTS ${Ut} / ${s})`),!We.length)return;a===0?Dt=0:r&&!ee?Dt=Math.max(0,$t-Ut):Dt=We[0].pts-Ut}if(e.segmentCodec==="aac"){const Br=this.config.maxAudioFramesDrift;for(let ui=0,ti=Dt+Ut;ui<We.length;ui++){const fi=We[ui],Ci=fi.pts,Hr=Ci-ti,Wr=Math.abs(1e3*Hr/s);if(Hr<=-Br*v&&ee)ui===0&&(this.warn(`Audio frame @ ${(Ci/s).toFixed(3)}s overlaps marker by ${Math.round(1e3*Hr/s)} ms.`),this.nextAudioTs=Dt=Ci-Ut,ti=Ci);else if(Hr>=Br*v&&Wr<qr&&ee){let zi=Math.round(Hr/v);for(ti=Ci-zi*v;ti<0&&zi&&v;)zi--,ti+=v;ui===0&&(this.nextAudioTs=Dt=ti-Ut),this.warn(`Injecting ${zi} audio frames @ ${((ti-Ut)/s).toFixed(3)}s due to ${Math.round(1e3*Hr/s)} ms gap.`);for(let xa=0;xa<zi;xa++){let Wi=Ri.getSilentFrame(e.parsedCodec||e.manifestCodec||e.codec,e.channelCount);Wi||(this.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),Wi=fi.unit.subarray()),We.splice(ui,0,{unit:Wi,pts:ti}),ti+=v,ui++}}fi.pts=ti,ti+=v}}let yn=null,Tn=null,sr,Dn=0,Vn=We.length;for(;Vn--;)Dn+=We[Vn].unit.byteLength;for(let Br=0,ui=We.length;Br<ui;Br++){const ti=We[Br],fi=ti.unit;let Ci=ti.pts;if(Tn!==null){const Wr=q[Br-1];Wr.duration=Math.round((Ci-Tn)/p)}else if(n&&e.segmentCodec==="aac"&&(Ci=Dt+Ut),yn=Ci,Dn>0){Dn+=He;try{sr=new Uint8Array(Dn)}catch(Wr){this.observer.emit(g.ERROR,g.ERROR,{type:ce.MUX_ERROR,details:j.REMUX_ALLOC_ERROR,fatal:!1,error:Wr,bytes:Dn,reason:`fail allocating audio mdat ${Dn}`});return}F||(new DataView(sr.buffer).setUint32(0,Dn),sr.set(mn.types.mdat,4))}else return;sr.set(fi,He);const Hr=fi.byteLength;He+=Hr,q.push(ea(!0,m,Hr,0)),Tn=Ci}const $n=q.length;if(!$n)return;const On=q[q.length-1];Dt=Tn-Ut,this.nextAudioTs=Dt+p*On.duration;const pr=F?new Uint8Array(0):mn.moof(e.sequenceNumber++,yn/p,b({},e,{samples:q}));e.samples=[];const $r=(yn-Ut)/s,oi=Dt/s,li={data1:pr,data2:sr,startPTS:$r,endPTS:oi,startDTS:$r,endDTS:oi,type:"audio",hasAudio:!0,hasVideo:!1,nb:$n};return this.isAudioContiguous=!0,li}}function sa(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 Na(o){for(let e=0;e<o.length;e++)if(o[e].key)return e;return-1}function ei(o,e,t,n){const r=o.samples.length;if(!r)return;const a=o.inputTimeScale;for(let d=0;d<r;d++){const p=o.samples[d];p.pts=sa(p.pts-t.baseTime*a/t.timescale,e*a)/a,p.dts=sa(p.dts-n.baseTime*a/n.timescale,e*a)/a}const s=o.samples;return o.samples=[],{samples:s}}function si(o,e,t){const n=o.samples.length;if(!n)return;const r=o.inputTimeScale;for(let s=0;s<n;s++){const d=o.samples[s];d.pts=sa(d.pts-t.baseTime*r/t.timescale,e*r)/r}o.samples.sort((s,d)=>s.pts-d.pts);const a=o.samples;return o.samples=[],{samples:a}}class Bi extends Y{constructor(e,t,n,r){super("passthrough-remuxer",r),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,this.isVideoContiguous=!1}destroy(){}resetTimeStamp(e){this.lastEndTime=null;const t=this.initPTS;t&&e&&t.baseTime===e.baseTime&&t.timescale===e.timescale||(this.initPTS=e)}resetNextTimestamp(){this.isVideoContiguous=!1,this.lastEndTime=null}resetInitSegment(e,t,n,r){this.audioCodec=t,this.videoCodec=n,this.generateInitSegment(e,r),this.emitInitSegment=!0}generateInitSegment(e,t){let{audioCodec:n,videoCodec:r}=this;if(!(e!=null&&e.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const{audio:a,video:s}=this.initData=Ke(e);if(t)Xe(e,t);else{const p=a||s;p!=null&&p.encrypted&&this.warn(`Init segment with encrypted track with has no key ("${p.codec}")!`)}a&&(n=Wa(a,fe.AUDIO,this)),s&&(r=Wa(s,fe.VIDEO,this));const d={};a&&s?d.audiovideo={container:"video/mp4",codec:n+","+r,supplemental:s.supplemental,encrypted:s.encrypted,initSegment:e,id:"main"}:a?d.audio={container:"audio/mp4",codec:n,encrypted:a.encrypted,initSegment:e,id:"audio"}:s?d.video={container:"video/mp4",codec:r,supplemental:s.supplemental,encrypted:s.encrypted,initSegment:e,id:"main"}:this.warn("initSegment does not contain moov or trak boxes."),this.initTracks=d}remux(e,t,n,r,a,s){var d,p;let{initPTS:m,lastEndTime:v}=this;const S={audio:void 0,video:void 0,text:r,id3:n,initSegment:void 0};i(v)||(v=this.lastEndTime=a||0);const F=t.samples;if(!F.length)return S;const q={initPTS:void 0,timescale:void 0,trackId:void 0};let ee=this.initData;if((d=ee)!=null&&d.length||(this.generateInitSegment(F),ee=this.initData),!((p=ee)!=null&&p.length))return this.warn("Failed to generate initSegment."),S;this.emitInitSegment&&(q.tracks=this.initTracks,this.emitInitSegment=!1);const We=Pt(F,ee,this),He=ee.audio?We[ee.audio.id]:null,Dt=ee.video?We[ee.video.id]:null,Ut=ta(Dt,1/0),$t=ta(He,1/0),yn=ta(Dt,0,!0),Tn=ta(He,0,!0);let sr=a,Dn=0;const Vn=He&&(!Dt||!m&&$t<Ut||m&&m.trackId===ee.audio.id),$n=Vn?He:Dt;if($n){const ti=$n.timescale,fi=$n.start-a*ti,Ci=Vn?ee.audio.id:ee.video.id;sr=$n.start/ti,Dn=Vn?Tn-$t:yn-Ut,(s||!m)&&(Fi(m,sr,a,Dn)||ti!==m.timescale)&&(m&&this.warn(`Timestamps at playlist time: ${s?"":"~"}${a} ${fi/ti} != initPTS: ${m.baseTime/m.timescale} (${m.baseTime}/${m.timescale}) trackId: ${m.trackId}`),this.log(`Found initPTS at playlist time: ${a} offset: ${sr-a} (${fi}/${ti}) trackId: ${Ci}`),m=null,q.initPTS=fi,q.timescale=ti,q.trackId=Ci)}else this.warn(`No audio or video samples found for initPTS at playlist time: ${a}`);m?(q.initPTS=m.baseTime,q.timescale=m.timescale,q.trackId=m.trackId):((!q.timescale||q.trackId===void 0||q.initPTS===void 0)&&(this.warn("Could not set initPTS"),q.initPTS=sr,q.timescale=1,q.trackId=-1),this.initPTS=m={baseTime:q.initPTS,timescale:q.timescale,trackId:q.trackId});const On=sr-m.baseTime/m.timescale,pr=On+Dn;Dn>0?this.lastEndTime=pr:(this.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const $r=!!ee.audio,oi=!!ee.video;let vi="";$r&&(vi+="audio"),oi&&(vi+="video");const li=(ee.audio?ee.audio.encrypted:!1)||(ee.video?ee.video.encrypted:!1),Br={data1:F,startPTS:On,startDTS:On,endPTS:pr,endDTS:pr,type:vi,hasAudio:$r,hasVideo:oi,nb:1,dropped:0,encrypted:li};S.audio=$r&&!oi?Br:void 0,S.video=oi?Br:void 0;const ui=Dt==null?void 0:Dt.sampleCount;if(ui){const ti=Dt.keyFrameIndex,fi=ti!==-1;Br.nb=ui,Br.dropped=ti===0||this.isVideoContiguous?0:fi?ti:ui,Br.independent=fi,Br.firstKeyFrame=ti,fi&&Dt.keyFrameStart&&(Br.firstKeyFramePTS=(Dt.keyFrameStart-m.baseTime)/m.timescale),this.isVideoContiguous||(S.independent=fi),this.isVideoContiguous||(this.isVideoContiguous=fi),Br.dropped&&this.warn(`fmp4 does not start with IDR: firstIDR ${ti}/${ui} dropped: ${Br.dropped} start: ${Br.firstKeyFramePTS||"NA"}`)}return S.initSegment=q,S.id3=ei(n,a,m,m),r.samples.length&&(S.text=si(r,a,m)),S}}function ta(o,e,t=!1){return(o==null?void 0:o.start)!==void 0?(o.start+(t?o.duration:0))/o.timescale:e}function Fi(o,e,t,n){if(o===null)return!0;const r=Math.max(n,1),a=e-o.baseTime/o.timescale;return Math.abs(a-t)>r}function Wa(o,e,t){const n=o.codec;return n&&n.length>4?n:e===fe.AUDIO?n==="ec-3"||n==="ac-3"||n==="alac"?n:n==="fLaC"||n==="Opus"?Se(n,!1):(t.warn(`Unhandled audio codec "${n}" in mp4 MAP`),n||"mp4a"):(t.warn(`Unhandled video codec "${n}" in mp4 MAP`),n||"avc1")}let pa;try{pa=self.performance.now.bind(self.performance)}catch(o){pa=Date.now}const os=[{demux:Yt,remux:Bi},{demux:nr,remux:Qi},{demux:x,remux:Qi},{demux:qe,remux:Qi}];os.splice(2,0,{demux:Q,remux:Qi});class ba{constructor(e,t,n,r,a,s){this.asyncResult=!1,this.logger=void 0,this.observer=void 0,this.typeSupported=void 0,this.config=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.id=a,this.logger=s}configure(e){this.transmuxConfig=e,this.decrypter&&this.decrypter.reset()}push(e,t,n,r){const a=n.transmuxing;a.executeStart=pa();let s=new Uint8Array(e);const{currentTransmuxState:d,transmuxConfig:p}=this;r&&(this.currentTransmuxState=r);const{contiguous:m,discontinuity:v,trackSwitch:S,accurateTimeOffset:F,timeOffset:q,initSegmentChange:ee}=r||d,{audioCodec:We,videoCodec:He,defaultInitPts:Dt,duration:Ut,initSegmentData:$t}=p,yn=Ji(s,t);if(yn&&vr(yn.method)){const Vn=this.getDecrypter(),$n=yr(yn.method);if(Vn.isSync()){let On=Vn.softwareDecrypt(s,yn.key.buffer,yn.iv.buffer,$n);if(n.part>-1){const $r=Vn.flush();On=$r&&$r.buffer}if(!On)return a.executeEnd=pa(),fa(n);s=new Uint8Array(On)}else return this.asyncResult=!0,this.decryptionPromise=Vn.webCryptoDecrypt(s,yn.key.buffer,yn.iv.buffer,$n).then(On=>{const pr=this.push(On,null,n);return this.decryptionPromise=null,pr}),this.decryptionPromise}const Tn=this.needsProbing(v,S);if(Tn){const Vn=this.configureTransmuxer(s);if(Vn)return this.logger.warn(`[transmuxer] ${Vn.message}`),this.observer.emit(g.ERROR,g.ERROR,{type:ce.MEDIA_ERROR,details:j.FRAG_PARSING_ERROR,fatal:!1,error:Vn,reason:Vn.message}),a.executeEnd=pa(),fa(n)}(v||S||ee||Tn)&&this.resetInitSegment($t,We,He,Ut,t),(v||ee||Tn)&&this.resetInitialTimestamp(Dt),m||this.resetContiguity();const sr=this.transmux(s,yn,q,F,n);this.asyncResult=oa(sr);const Dn=this.currentTransmuxState;return Dn.contiguous=!0,Dn.discontinuity=!1,Dn.trackSwitch=!1,a.executeEnd=pa(),sr}flush(e){const t=e.transmuxing;t.executeStart=pa();const{decrypter:n,currentTransmuxState:r,decryptionPromise:a}=this;if(a)return this.asyncResult=!0,a.then(()=>this.flush(e));const s=[],{timeOffset:d}=r;if(n){const S=n.flush();S&&s.push(this.push(S.buffer,null,e))}const{demuxer:p,remuxer:m}=this;if(!p||!m){t.executeEnd=pa();const S=[fa(e)];return this.asyncResult?Promise.resolve(S):S}const v=p.flush(d);return oa(v)?(this.asyncResult=!0,v.then(S=>(this.flushRemux(s,S,e),s))):(this.flushRemux(s,v,e),this.asyncResult?Promise.resolve(s):s)}flushRemux(e,t,n){const{audioTrack:r,videoTrack:a,id3Track:s,textTrack:d}=t,{accurateTimeOffset:p,timeOffset:m}=this.currentTransmuxState;this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${n.sn}${n.part>-1?" part: "+n.part:""} of ${this.id===K.MAIN?"level":"track"} ${n.level}`);const v=this.remuxer.remux(r,a,s,d,m,p,!0,this.id);e.push({remuxResult:v,chunkMeta:n}),n.transmuxing.executeEnd=pa()}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,a){const{demuxer:s,remuxer:d}=this;!s||!d||(s.resetInitSegment(e,t,n,r),d.resetInitSegment(e,t,n,a))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(e,t,n,r,a){let s;return t&&t.method==="SAMPLE-AES"?s=this.transmuxSampleAes(e,t,n,r,a):s=this.transmuxUnencrypted(e,n,r,a),s}transmuxUnencrypted(e,t,n,r){const{audioTrack:a,videoTrack:s,id3Track:d,textTrack:p}=this.demuxer.demux(e,t,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(a,s,d,p,t,n,!1,this.id),chunkMeta:r}}transmuxSampleAes(e,t,n,r,a){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:a}))}configureTransmuxer(e){const{config:t,observer:n,typeSupported:r}=this;let a;for(let S=0,F=os.length;S<F;S++){var s;if((s=os[S].demux)!=null&&s.probe(e,this.logger)){a=os[S];break}}if(!a)return new Error("Failed to find demuxer by probing fragment data");const d=this.demuxer,p=this.remuxer,m=a.remux,v=a.demux;(!p||!(p instanceof m))&&(this.remuxer=new m(n,t,r,this.logger)),(!d||!(d instanceof v))&&(this.demuxer=new v(n,t,r,this.logger),this.probe=v.probe)}needsProbing(e,t){return!this.demuxer||!this.remuxer||e||t}getDecrypter(){let e=this.decrypter;return e||(e=this.decrypter=new _r(this.config)),e}}function Ji(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 fa=o=>({remuxResult:{},chunkMeta:o});function oa(o){return"then"in o&&o.then instanceof Function}class ka{constructor(e,t,n,r,a){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=a||null}}class Ra{constructor(e,t,n,r,a,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=a,this.initSegmentChange=s}}let Gi=0;class wa{constructor(e,t,n,r){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=Gi++,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0,this.onWorkerMessage=p=>{const m=p.data,v=this.hls;if(!(!v||!(m!=null&&m.event)||m.instanceNo!==this.instanceNo))switch(m.event){case"init":{var S;const F=(S=this.workerContext)==null?void 0:S.objectURL;F&&self.URL.revokeObjectURL(F);break}case"transmuxComplete":{this.handleTransmuxComplete(m.data);break}case"flush":{this.onFlush(m.data);break}case"workerLog":{v.logger[m.data.logType]&&v.logger[m.data.logType](m.data.message);break}default:{m.data=m.data||{},m.data.frag=this.frag,m.data.part=this.part,m.data.id=this.id,v.trigger(m.event,m.data);break}}},this.onWorkerError=p=>{if(!this.hls)return;const m=new Error(`${p.message} (${p.filename}:${p.lineno})`);this.hls.config.enableWorker=!1,this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`),this.hls.trigger(g.ERROR,{type:ce.OTHER_ERROR,details:j.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:m})};const a=e.config;this.hls=e,this.id=t,this.useWorker=!!a.enableWorker,this.onTransmuxComplete=n,this.onFlush=r;const s=(p,m)=>{m=m||{},m.frag=this.frag||void 0,p===g.ERROR&&(m=m,m.parent=this.id,m.part=this.part,this.error=m.error),this.hls.trigger(p,m)};this.observer=new xo,this.observer.on(g.FRAG_DECRYPTED,s),this.observer.on(g.ERROR,s);const d=N(a.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const p=this.hls.logger;if(a.workerPath||Fo()){try{a.workerPath?(p.log(`loading Web Worker ${a.workerPath} for "${t}"`),this.workerContext=zo(a.workerPath)):(p.log(`injecting Web Worker for "${t}"`),this.workerContext=wl());const{worker:v}=this.workerContext;v.addEventListener("message",this.onWorkerMessage),v.addEventListener("error",this.onWorkerError),v.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:d,id:t,config:ct(a)})}catch(v){p.warn(`Error setting up "${t}" Web Worker, fallback to inline`,v),this.terminateWorker(),this.error=null,this.transmuxer=new ba(this.observer,d,a,"",t,e.logger)}return}}this.transmuxer=new ba(this.observer,d,a,"",t,e.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const e=this.instanceNo;this.instanceNo=Gi++;const t=this.hls.config,n=N(t.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:e,typeSupported:n,id:this.id,config:ct(t)})}}terminateWorker(){if(this.workerContext){const{worker:e}=this.workerContext;this.workerContext=null,e.removeEventListener("message",this.onWorkerMessage),e.removeEventListener("error",this.onWorkerError),_l(this.hls.config.workerPath)}}destroy(){if(this.workerContext)this.terminateWorker(),this.onWorkerMessage=this.onWorkerError=null;else{const t=this.transmuxer;t&&(t.destroy(),this.transmuxer=null)}const e=this.observer;e&&e.removeAllListeners(),this.frag=null,this.part=null,this.observer=null,this.hls=null}push(e,t,n,r,a,s,d,p,m,v){var S,F;m.transmuxing.start=self.performance.now();const{instanceNo:q,transmuxer:ee}=this,We=s?s.start:a.start,He=a.decryptdata,Dt=this.frag,Ut=!(Dt&&a.cc===Dt.cc),$t=!(Dt&&m.level===Dt.level),yn=Dt?m.sn-Dt.sn:-1,Tn=this.part?m.part-this.part.index:-1,sr=yn===0&&m.id>1&&m.id===(Dt==null?void 0:Dt.stats.chunkCount),Dn=!$t&&(yn===1||yn===0&&(Tn===1||sr&&Tn<=0)),Vn=self.performance.now();($t||yn||a.stats.parsing.start===0)&&(a.stats.parsing.start=Vn),s&&(Tn||!Dn)&&(s.stats.parsing.start=Vn);const $n=!(Dt&&((S=a.initSegment)==null?void 0:S.url)===((F=Dt.initSegment)==null?void 0:F.url)),On=new Ra(Ut,Dn,p,$t,We,$n);if(!Dn||Ut||$n){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${a.type} sn: ${m.sn}${m.part>-1?" part: "+m.part:""} ${this.id===K.MAIN?"level":"track"}: ${m.level} id: ${m.id}
|
|
|
discontinuity: ${Ut}
|
|
|
trackSwitch: ${$t}
|
|
|
contiguous: ${Dn}
|
|
|
accurateTimeOffset: ${p}
|
|
|
timeOffset: ${We}
|
|
|
initSegmentChange: ${$n}`);const pr=new ka(n,r,t,d,v);this.configureTransmuxer(pr)}if(this.frag=a,this.part=s,this.workerContext)this.workerContext.worker.postMessage({instanceNo:q,cmd:"demux",data:e,decryptdata:He,chunkMeta:m,state:On},e instanceof ArrayBuffer?[e]:[]);else if(ee){const pr=ee.push(e,He,m,On);oa(pr)?pr.then($r=>{this.handleTransmuxComplete($r)}).catch($r=>{this.transmuxerError($r,m,"transmuxer-interface push error")}):this.handleTransmuxComplete(pr)}}flush(e){e.transmuxing.start=self.performance.now();const{instanceNo:t,transmuxer:n}=this;if(this.workerContext)this.workerContext.worker.postMessage({instanceNo:t,cmd:"flush",chunkMeta:e});else if(n){const r=n.flush(e);oa(r)?r.then(a=>{this.handleFlushResult(a,e)}).catch(a=>{this.transmuxerError(a,e,"transmuxer-interface flush error")}):this.handleFlushResult(r,e)}}transmuxerError(e,t,n){this.hls&&(this.error=e,this.hls.trigger(g.ERROR,{type:ce.MEDIA_ERROR,details:j.FRAG_PARSING_ERROR,chunkMeta:t,frag:this.frag||void 0,part:this.part||void 0,fatal:!1,error:e,err:e,reason:n}))}handleFlushResult(e,t){e.forEach(n=>{this.handleTransmuxComplete(n)}),this.onFlush(t)}configureTransmuxer(e){const{instanceNo:t,transmuxer:n}=this;this.workerContext?this.workerContext.worker.postMessage({instanceNo:t,cmd:"configure",config:e}):n&&n.configure(e)}handleTransmuxComplete(e){e.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(e)}}const la=100;class Va extends oo{constructor(e,t,n){super(e,t,n,"audio-stream-controller",K.AUDIO),this.mainAnchor=null,this.mainFragLoading=null,this.audioOnly=!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.resetItem()}resetItem(){this.mainDetails=this.mainAnchor=this.mainFragLoading=this.bufferedTrack=this.switchingTrack=this.waitingData=this.cachedTrackLoadedData=null}registerListeners(){super.registerListeners();const{hls:e}=this;e.on(g.LEVEL_LOADED,this.onLevelLoaded,this),e.on(g.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.on(g.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(g.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(g.BUFFER_RESET,this.onBufferReset,this),e.on(g.BUFFER_CREATED,this.onBufferCreated,this),e.on(g.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(g.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(g.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(g.FRAG_LOADING,this.onFragLoading,this),e.on(g.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){const{hls:e}=this;e&&(super.unregisterListeners(),e.off(g.LEVEL_LOADED,this.onLevelLoaded,this),e.off(g.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.off(g.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(g.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(g.BUFFER_RESET,this.onBufferReset,this),e.off(g.BUFFER_CREATED,this.onBufferCreated,this),e.off(g.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(g.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(g.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(g.FRAG_LOADING,this.onFragLoading,this),e.off(g.FRAG_BUFFERED,this.onFragBuffered,this))}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:a,trackId:s}){if(n===K.MAIN){const d=t.cc,p=this.fragCurrent;if(this.initPTS[d]={baseTime:r,timescale:a,trackId:s},this.log(`InitPTS for cc: ${d} found from main: ${r/a} (${r}/${a}) trackId: ${s}`),this.mainAnchor=t,this.state===dr.WAITING_INIT_PTS){const m=this.waitingData;(!m&&!this.loadingParts||m&&m.frag.cc!==d)&&this.syncWithAnchor(t,m==null?void 0:m.frag)}else!this.hls.hasEnoughToStart&&p&&p.cc!==d?(p.abortRequests(),this.syncWithAnchor(t,p)):this.state===dr.IDLE&&this.tick()}}getLoadPosition(){return!this.startFragRequested&&this.nextLoadPosition>=0?this.nextLoadPosition:super.getLoadPosition()}syncWithAnchor(e,t){var n;const r=((n=this.mainFragLoading)==null?void 0:n.frag)||null;if(t&&(r==null?void 0:r.cc)===t.cc)return;const a=(r||e).cc,s=this.getLevelDetails(),d=this.getLoadPosition(),p=Ln(s,a,d);p&&(this.log(`Syncing with main frag at ${p.start} cc ${p.cc}`),this.startFragRequested=!1,this.nextLoadPosition=p.start,this.resetLoadingState(),this.state===dr.IDLE&&this.doTickIdle())}startLoad(e,t){if(!this.levels){this.startPosition=e,this.state=dr.STOPPED;return}const n=this.lastCurrentTime;this.stopLoad(),this.setInterval(la),n>0&&e===-1?(this.log(`Override startPosition with lastCurrentTime @${n.toFixed(3)}`),e=n,this.state=dr.IDLE):this.state=dr.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}doTick(){switch(this.state){case dr.IDLE:this.doTickIdle();break;case dr.WAITING_TRACK:{const{levels:e,trackId:t}=this,n=e==null?void 0:e[t],r=n==null?void 0:n.details;if(r&&!this.waitForLive(n)){if(this.waitForCdnTuneIn(r))break;this.state=dr.WAITING_INIT_PTS}break}case dr.FRAG_LOADING_WAITING_RETRY:{this.checkRetryDate();break}case dr.WAITING_INIT_PTS:{const e=this.waitingData;if(e){const{frag:t,part:n,cache:r,complete:a}=e,s=this.mainAnchor;if(this.initPTS[t.cc]!==void 0){this.waitingData=null,this.state=dr.FRAG_LOADING;const d=r.flush().buffer,p={frag:t,part:n,payload:d,networkDetails:null};this._handleFragmentLoadProgress(p),a&&super._handleFragmentLoadComplete(p)}else s&&s.cc!==e.frag.cc&&this.syncWithAnchor(s,e.frag)}else this.state=dr.IDLE}}this.onTickEnd()}resetLoadingState(){const e=this.waitingData;e&&(this.fragmentTracker.removeFragment(e.frag),this.waitingData=null),super.resetLoadingState()}onTickEnd(){const{media:e}=this;e!=null&&e.readyState&&(this.lastCurrentTime=e.currentTime)}doTickIdle(){var e;const{hls:t,levels:n,media:r,trackId:a}=this,s=t.config;if(!this.buffering||!r&&!this.primaryPrefetch&&(this.startFragRequested||!s.startFragPrefetch)||!(n!=null&&n[a]))return;const d=n[a],p=d.details;if(!p||this.waitForLive(d)||this.waitForCdnTuneIn(p)){this.state=dr.WAITING_TRACK,this.startFragRequested=!1;return}const m=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&m&&(this.bufferFlushed=!1,this.afterBufferFlushed(m,fe.AUDIO,K.AUDIO));const v=this.getFwdBufferInfo(m,K.AUDIO);if(v===null)return;if(!this.switchingTrack&&this._streamEnded(v,p)){t.trigger(g.BUFFER_EOS,{type:"audio"}),this.state=dr.ENDED;return}const S=v.len,F=t.maxBufferLength,q=p.fragments,ee=q[0].start,We=this.getLoadPosition(),He=this.flushing?We:v.end;if(this.switchingTrack&&r){const $t=We;p.PTSKnown&&$t<ee&&(v.end>ee||v.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),r.currentTime=ee+.05)}if(S>=F&&!this.switchingTrack&&He<q[q.length-1].start)return;let Dt=this.getNextFragment(He,p);if(Dt&&this.isLoopLoading(Dt,He)&&(Dt=this.getNextFragmentLoopLoading(Dt,p,v,K.MAIN,F)),!Dt){this.bufferFlushed=!0;return}let Ut=((e=this.mainFragLoading)==null?void 0:e.frag)||null;if(!this.audioOnly&&this.startFragRequested&&Ut&&ft(Dt)&&!Dt.endList&&(!p.live||!this.loadingParts&&He<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(Ut)===Gn.OK&&(this.mainFragLoading=Ut=null),Ut&&ft(Ut))){if(Dt.start>Ut.end){const yn=this.fragmentTracker.getFragAtPos(He,K.MAIN);yn&&yn.end>Ut.end&&(Ut=yn,this.mainFragLoading={frag:yn,targetBufferTime:null})}if(Dt.start>Ut.end)return}this.loadFragment(Dt,d,He)}onMediaDetaching(e,t){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(e,t)}onAudioTracksUpdated(e,{audioTracks:t}){this.resetTransmuxer(),this.levels=t.map(n=>new ot(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.switchingTrack=t,this.flushAudioIfNeeded(t),this.state!==dr.STOPPED&&(this.setInterval(la),this.state=dr.IDLE,this.tick())):(this.resetTransmuxer(),this.switchingTrack=null,this.bufferedTrack=t,this.clearInterval())}onManifestLoading(){super.onManifestLoading(),this.bufferFlushed=this.flushing=this.audioOnly=!1,this.resetItem(),this.trackId=-1}onLevelLoaded(e,t){this.mainDetails=t.details;const n=this.cachedTrackLoadedData;n&&(this.cachedTrackLoadedData=null,this.onAudioTrackLoaded(g.AUDIO_TRACK_LOADED,n))}onAudioTrackLoaded(e,t){var n;const{levels:r}=this,{details:a,id:s,groupId:d,track:p}=t;if(!r){this.warn(`Audio tracks reset while loading track ${s} "${p.name}" of "${d}"`);return}const m=this.mainDetails;if(!m||a.endCC>m.endCC||m.expired){this.cachedTrackLoadedData=t,this.state!==dr.STOPPED&&(this.state=dr.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${s} "${p.name}" of "${d}" loaded [${a.startSN},${a.endSN}]${a.lastPartSn?`[part-${a.lastPartSn}-${a.lastPartIndex}]`:""},duration:${a.totalduration}`);const v=r[s];let S=0;if(a.live||(n=v.details)!=null&&n.live){if(this.checkLiveUpdate(a),a.deltaUpdateFailed)return;if(v.details){var F;S=this.alignPlaylists(a,v.details,(F=this.levelLastLoaded)==null?void 0:F.details)}a.alignedSliding||(Zs(a,m),a.alignedSliding||so(a,m),S=a.fragmentStart)}v.details=a,this.levelLastLoaded=v,this.startFragRequested||this.setStartPosition(m,S),this.hls.trigger(g.AUDIO_TRACK_UPDATED,{details:a,id:s,groupId:t.groupId}),this.state===dr.WAITING_TRACK&&!this.waitForCdnTuneIn(a)&&(this.state=dr.IDLE),this.tick()}_handleFragmentLoadProgress(e){var t;const n=e.frag,{part:r,payload:a}=e,{config:s,trackId:d,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 m=p[d];if(!m){this.warn("Audio track is undefined on fragment load progress");return}const v=m.details;if(!v){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(n.start);return}const S=s.defaultAudioCodec||m.audioCodec||"mp4a.40.2";let F=this.transmuxer;F||(F=this.transmuxer=new wa(this.hls,K.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const q=this.initPTS[n.cc],ee=(t=n.initSegment)==null?void 0:t.data;if(q!==void 0){const He=r?r.index:-1,Dt=He!==-1,Ut=new Dr(n.level,n.sn,n.stats.chunkCount,a.byteLength,He,Dt);F.push(a,ee,S,"",n,r,v.totalduration,!1,Ut,q)}else{this.log(`Unknown video PTS for cc ${n.cc}, waiting for video PTS before demuxing audio frag ${n.sn} of [${v.startSN} ,${v.endSN}],track ${d}`);const{cache:We}=this.waitingData=this.waitingData||{frag:n,part:r,cache:new js,complete:!1};We.push(new Uint8Array(a)),this.state!==dr.STOPPED&&(this.state=dr.WAITING_INIT_PTS)}}_handleFragmentLoadComplete(e){if(this.waitingData){this.waitingData.complete=!0;return}super._handleFragmentLoadComplete(e)}onBufferReset(){this.mediaBuffer=null}onBufferCreated(e,t){this.bufferFlushed=this.flushing=!1;const n=t.tracks.audio;n&&(this.mediaBuffer=n.buffer||null)}onFragLoading(e,t){!this.audioOnly&&t.frag.type===K.MAIN&&ft(t.frag)&&(this.mainFragLoading=t,this.state===dr.IDLE&&this.tick())}onFragBuffered(e,t){const{frag:n,part:r}=t;if(n.type!==K.AUDIO){!this.audioOnly&&n.type===K.MAIN&&!n.elementaryStreams.video&&!n.elementaryStreams.audiovideo&&(this.audioOnly=!0,this.mainFragLoading=null);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(ft(n)){this.fragPrevious=n;const a=this.switchingTrack;a&&(this.bufferedTrack=a,this.switchingTrack=null,this.hls.trigger(g.AUDIO_TRACK_SWITCHED,w({},a)))}this.fragBufferedComplete(n,r),this.media&&this.tick()}onError(e,t){var n;if(t.fatal){this.state=dr.ERROR;return}switch(t.details){case j.FRAG_GAP:case j.FRAG_PARSING_ERROR:case j.FRAG_DECRYPT_ERROR:case j.FRAG_LOAD_ERROR:case j.FRAG_LOAD_TIMEOUT:case j.KEY_LOAD_ERROR:case j.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(K.AUDIO,t);break;case j.AUDIO_TRACK_LOAD_ERROR:case j.AUDIO_TRACK_LOAD_TIMEOUT:case j.LEVEL_PARSING_ERROR:!t.levelRetry&&this.state===dr.WAITING_TRACK&&((n=t.context)==null?void 0:n.type)===V.AUDIO_TRACK&&(this.state=dr.IDLE);break;case j.BUFFER_ADD_CODEC_ERROR:case j.BUFFER_APPEND_ERROR:if(t.parent!=="audio")return;this.reduceLengthAndFlushBuffer(t)||this.resetLoadingState();break;case j.BUFFER_FULL_ERROR:if(t.parent!=="audio")return;this.reduceLengthAndFlushBuffer(t)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case j.INTERNAL_EXCEPTION:this.recoverWorkerError(t);break}}onBufferFlushing(e,{type:t}){t!==fe.VIDEO&&(this.flushing=!0)}onBufferFlushed(e,{type:t}){if(t!==fe.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===dr.ENDED&&(this.state=dr.IDLE);const n=this.mediaBuffer||this.media;n&&(this.afterBufferFlushed(n,t,K.AUDIO),this.tick())}}_handleTransmuxComplete(e){var t;const n="audio",{hls:r}=this,{remuxResult:a,chunkMeta:s}=e,d=this.getCurrentContext(s);if(!d){this.resetWhenMissingContext(s);return}const{frag:p,part:m,level:v}=d,{details:S}=v,{audio:F,text:q,id3:ee,initSegment:We}=a;if(this.fragContextChanged(p)||!S){this.fragmentTracker.removeFragment(p);return}if(this.state=dr.PARSING,this.switchingTrack&&F&&this.completeAudioSwitch(this.switchingTrack),We!=null&&We.tracks){const He=p.initSegment||p;if(this.unhandledEncryptionError(We,p))return;this._bufferInitSegment(v,We.tracks,He,s),r.trigger(g.FRAG_PARSING_INIT_SEGMENT,{frag:He,id:n,tracks:We.tracks})}if(F){const{startPTS:He,endPTS:Dt,startDTS:Ut,endDTS:$t}=F;m&&(m.elementaryStreams[fe.AUDIO]={startPTS:He,endPTS:Dt,startDTS:Ut,endDTS:$t}),p.setElementaryStreamInfo(fe.AUDIO,He,Dt,Ut,$t),this.bufferFragmentData(F,p,m,s)}if(ee!=null&&(t=ee.samples)!=null&&t.length){const He=b({id:n,frag:p,details:S},ee);r.trigger(g.FRAG_PARSING_METADATA,He)}if(q){const He=b({id:n,frag:p,details:S},q);r.trigger(g.FRAG_PARSING_USERDATA,He)}}_bufferInitSegment(e,t,n,r){if(this.state!==dr.PARSING||(t.video&&delete t.video,t.audiovideo&&delete t.audiovideo,!t.audio))return;const a=t.audio;a.id=K.AUDIO;const s=e.audioCodec;this.log(`Init audio buffer, container:${a.container}, codecs[level/parsed]=[${s}/${a.codec}]`),s&&s.split(",").length===1&&(a.levelCodec=s),this.hls.trigger(g.BUFFER_CODECS,t);const d=a.initSegment;if(d!=null&&d.byteLength){const p={type:"audio",frag:n,part:null,chunkMeta:r,parent:n.type,data:d};this.hls.trigger(g.BUFFER_APPENDING,p)}this.tickImmediate()}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);if(this.switchingTrack||r===Gn.NOT_LOADED||r===Gn.PARTIAL){var a;if(!ft(e))this._loadInitSegment(e,t);else if((a=t.details)!=null&&a.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=dr.WAITING_INIT_PTS;const s=this.mainDetails;s&&s.fragmentStart!==t.details.fragmentStart&&so(t.details,s)}else super.loadFragment(e,t,n)}else this.clearTrackerIfNeeded(e)}flushAudioIfNeeded(e){if(this.media&&this.bufferedTrack){const{name:t,lang:n,assocLang:r,characteristics:a,audioCodec:s,channels:d}=this.bufferedTrack;gn({name:t,lang:n,assocLang:r,characteristics:a,audioCodec:s,channels:d},e,wn)||(Mn(e.url,this.hls)?(this.log("Switching audio track : flushing all audio"),super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"),this.bufferedTrack=null):this.bufferedTrack=e)}}completeAudioSwitch(e){const{hls:t}=this;this.flushAudioIfNeeded(e),this.bufferedTrack=e,this.switchingTrack=null,t.trigger(g.AUDIO_TRACK_SWITCHED,w({},e))}}class _a extends Y{constructor(e,t){super(t,e.logger),this.hls=void 0,this.canLoad=!1,this.timer=-1,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.loadPlaylist()}stopLoad(){this.canLoad=!1,this.clearTimer()}switchParams(e,t,n){const r=t==null?void 0:t.renditionReports;if(r){let a=-1;for(let s=0;s<r.length;s++){const d=r[s];let p;try{p=new self.URL(d.URI,t.url).href}catch(m){this.warn(`Could not construct new URL for Rendition Report: ${m}`),p=d.URI||""}if(p===e){a=s;break}else p===e.substring(0,p.length)&&(a=s)}if(a!==-1){const s=r[a],d=parseInt(s["LAST-MSN"])||t.lastPartSn;let p=parseInt(s["LAST-PART"])||t.lastPartIndex;if(this.hls.config.lowLatencyMode){const v=Math.min(t.age-t.partTarget,t.targetduration);p>=0&&v>t.partTarget&&(p+=1)}const m=n&&ln(n);return new Oe(d,p>=0?p:void 0,m)}}}loadPlaylist(e){this.clearTimer()}loadingPlaylist(e,t){this.clearTimer()}shouldLoadPlaylist(e){return this.canLoad&&!!e&&!!e.url&&(!e.details||e.details.live)}getUrlWithDirectives(e,t){if(t)try{return t.addDirectives(e)}catch(n){this.warn(`Could not construct new URL with HLS Delivery Directives: ${n}`)}return e}playlistLoaded(e,t,n){const{details:r,stats:a}=t,s=self.performance.now(),d=a.loading.first?Math.max(0,s-a.loading.first):0;r.advancedDateTime=Date.now()-d;const p=this.hls.config.timelineOffset;if(p!==r.appliedTimelineOffset){const v=Math.max(p||0,0);r.appliedTimelineOffset=v,r.fragments.forEach(S=>{S.setStart(S.playlistOffset+v)})}if(r.live||n!=null&&n.live){const v="levelInfo"in t?t.levelInfo:t.track;if(r.reloaded(n),n&&r.fragments.length>0){rs(n,r,this);const Ut=r.playlistParsingError;if(Ut){this.warn(Ut);const $t=this.hls;if(!$t.config.ignorePlaylistParsingErrors){var m;const{networkDetails:yn}=t;$t.trigger(g.ERROR,{type:ce.NETWORK_ERROR,details:j.LEVEL_PARSING_ERROR,fatal:!1,url:r.url,error:Ut,reason:Ut.message,level:t.level||void 0,parent:(m=r.fragments[0])==null?void 0:m.type,networkDetails:yn,stats:a});return}r.playlistParsingError=null}}r.requestScheduled===-1&&(r.requestScheduled=a.loading.start);const S=this.hls.mainForwardBufferInfo,F=S?S.end-S.len:0,q=(r.edge-F)*1e3,ee=Ki(r,q);if(r.requestScheduled+ee<s?r.requestScheduled=s:r.requestScheduled+=ee,this.log(`live playlist ${e} ${r.advanced?"REFRESHED "+r.lastPartSn+"-"+r.lastPartIndex:r.updated?"UPDATED":"MISSED"}`),!this.canLoad||!r.live)return;let We,He,Dt;if(r.canBlockReload&&r.endSN&&r.advanced){const Ut=this.hls.config.lowLatencyMode,$t=r.lastPartSn,yn=r.endSN,Tn=r.lastPartIndex,sr=Tn!==-1,Dn=$t===yn;sr?Dn?(He=yn+1,Dt=Ut?0:Tn):(He=$t,Dt=Ut?Tn+1:r.maxPartIndex):He=yn+1;const Vn=r.age,$n=Vn+r.ageHeader;let On=Math.min($n-r.partTarget,r.targetduration*1.5);if(On>0){if($n>r.targetduration*3)this.log(`Playlist last advanced ${Vn.toFixed(2)}s ago. Omitting segment and part directives.`),He=void 0,Dt=void 0;else if(n!=null&&n.tuneInGoal&&$n-r.partTarget>n.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${n.tuneInGoal} to: ${On} with playlist age: ${r.age}`),On=0;else{const pr=Math.floor(On/r.targetduration);if(He+=pr,Dt!==void 0){const $r=Math.round(On%r.targetduration/r.partTarget);Dt+=$r}this.log(`CDN Tune-in age: ${r.ageHeader}s last advanced ${Vn.toFixed(2)}s goal: ${On} skip sn ${pr} to part ${Dt}`)}r.tuneInGoal=On}if(We=this.getDeliveryDirectives(r,t.deliveryDirectives,He,Dt),Ut||!Dn){r.requestScheduled=s,this.loadingPlaylist(v,We);return}}else(r.canBlockReload||r.canSkipUntil)&&(We=this.getDeliveryDirectives(r,t.deliveryDirectives,He,Dt));We&&He!==void 0&&r.canBlockReload&&(r.requestScheduled=a.loading.first+Math.max(ee-d*2,ee/2)),this.scheduleLoading(v,We,r)}else this.clearTimer()}scheduleLoading(e,t,n){const r=n||e.details;if(!r){this.loadingPlaylist(e,t);return}const a=self.performance.now(),s=r.requestScheduled;if(a>=s){this.loadingPlaylist(e,t);return}const d=s-a;this.log(`reload live playlist ${e.name||e.bitrate+"bps"} in ${Math.round(d)} ms`),this.clearTimer(),this.timer=self.setTimeout(()=>this.loadingPlaylist(e,t),d)}getDeliveryDirectives(e,t,n,r){let a=ln(e);return t!=null&&t.skip&&e.deltaUpdateFailed&&(n=t.msn,r=t.part,a=qt.No),new Oe(n,r,a)}checkRetry(e){const t=e.details,n=zn(e),r=e.errorAction,{action:a,retryCount:s=0,retryConfig:d}=r||{},p=!!r&&!!d&&(a===Un.RetryRequest||!r.resolved&&a===Un.SendAlternateToPenaltyBox);if(p){var m;if(s>=d.maxNumRetry)return!1;if(n&&(m=e.context)!=null&&m.deliveryDirectives)this.warn(`Retrying playlist loading ${s+1}/${d.maxNumRetry} after "${t}" without delivery-directives`),this.loadPlaylist();else{const v=pn(d,s);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),v),this.warn(`Retrying playlist loading ${s+1}/${d.maxNumRetry} after "${t}" in ${v}ms`)}e.levelRetry=!0,r.resolved=!0}return p}}function Ja(o,e){if(o.length!==e.length)return!1;for(let t=0;t<o.length;t++)if(!xs(o[t].attrs,e[t].attrs))return!1;return!0}function xs(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 fo(o,e){return e.label.toLowerCase()===o.name.toLowerCase()&&(!e.language||e.language.toLowerCase()===(o.lang||"").toLowerCase())}class Sa extends _a{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(g.MANIFEST_LOADING,this.onManifestLoading,this),e.on(g.MANIFEST_PARSED,this.onManifestParsed,this),e.on(g.LEVEL_LOADING,this.onLevelLoading,this),e.on(g.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(g.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(g.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(g.MANIFEST_LOADING,this.onManifestLoading,this),e.off(g.MANIFEST_PARSED,this.onManifestParsed,this),e.off(g.LEVEL_LOADING,this.onLevelLoading,this),e.off(g.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(g.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(g.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:a}=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 d=s.details;s.details=t.details,this.log(`Audio track ${n} "${s.name}" lang:${s.lang} group:${r} loaded [${a.startSN}-${a.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,d)}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 a=this.currentTrack;if(!n||(r==null?void 0:r.length)!==(n==null?void 0:n.length)||n!=null&&n.some(d=>(r==null?void 0:r.indexOf(d))===-1)){this.groupIds=n,this.trackId=-1,this.currentTrack=null;const d=this.tracks.filter(F=>!n||n.indexOf(F.groupId)!==-1);if(d.length)this.selectDefaultTrack&&!d.some(F=>F.default)&&(this.selectDefaultTrack=!1),d.forEach((F,q)=>{F.id=q});else if(!a&&!this.tracksInGroup.length)return;this.tracksInGroup=d;const p=this.hls.config.audioPreference;if(!a&&p){const F=sn(p,d,wn);if(F>-1)a=d[F];else{const q=sn(p,this.tracks);a=this.tracks[q]}}let m=this.findTrackId(a);m===-1&&a&&(m=this.findTrackId(null));const v={audioTracks:d};this.log(`Updating audio tracks, ${d.length} track(s) found in group(s): ${n==null?void 0:n.join(",")}`),this.hls.trigger(g.AUDIO_TRACKS_UPDATED,v);const S=this.trackId;if(m!==-1&&S===-1)this.setAudioTrack(m);else if(d.length&&S===-1){var s;const F=new Error(`No audio track selected for current audio group-ID(s): ${(s=this.groupIds)==null?void 0:s.join(",")} track count: ${d.length}`);this.warn(F.message),this.hls.trigger(g.ERROR,{type:ce.MEDIA_ERROR,details:j.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:F})}}}onError(e,t){t.fatal||!t.context||t.context.type===V.AUDIO_TRACK&&t.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(t.context.groupId)!==-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&&gn(e,r,wn))return r;const a=sn(e,this.tracksInGroup,wn);if(a>-1){const s=this.tracksInGroup[a];return this.setAudioTrack(a),s}else if(r){let s=t.loadLevel;s===-1&&(s=t.firstAutoLevel);const d=An(e,t.levels,n,s,wn);if(d===-1)return null;t.nextLoadLevel=d}if(e.channels||e.audioCodec){const s=sn(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.selectDefaultTrack=!1;const n=this.currentTrack,r=t[e],a=r.details&&!r.details.live;if(e===this.trackId&&r===n&&a||(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(g.AUDIO_TRACK_SWITCHING,w({},r)),a))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||gn(e,r,wn)))return n}if(e){const{name:n,lang:r,assocLang:a,characteristics:s,audioCodec:d,channels:p}=e;for(let m=0;m<t.length;m++){const v=t[m];if(gn({name:n,lang:r,assocLang:a,characteristics:s,audioCodec:d,channels:p},v,wn))return m}for(let m=0;m<t.length;m++){const v=t[m];if(xs(e.attrs,v.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return m}for(let m=0;m<t.length;m++){const v=t[m];if(xs(e.attrs,v.attrs,["LANGUAGE"]))return m}}return-1}loadPlaylist(e){super.loadPlaylist();const t=this.currentTrack;this.shouldLoadPlaylist(t)&&Mn(t.url,this.hls)&&this.scheduleLoading(t,e)}loadingPlaylist(e,t){super.loadingPlaylist(e,t);const n=e.id,r=e.groupId,a=this.getUrlWithDirectives(e.url,t),s=e.details,d=s==null?void 0:s.age;this.log(`Loading audio-track ${n} "${e.name}" lang:${e.lang} group:${r}${(t==null?void 0:t.msn)!==void 0?" at sn "+t.msn+" part "+t.part:""}${d&&s.live?" age "+d.toFixed(1)+(s.type?" "+s.type||0:""):""} ${a}`),this.hls.trigger(g.AUDIO_TRACK_LOADING,{url:a,id:n,groupId:r,deliveryDirectives:t||null,track:e})}}class Do{constructor(e){this.tracks=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.tracks=e}destroy(){this.tracks=this.queues=null}append(e,t,n){if(this.queues===null||this.tracks===null)return;const r=this.queues[t];r.push(e),r.length===1&&!n&&this.executeNext(t)}appendBlocker(e){return new Promise(t=>{const n={label:"async-blocker",execute:t,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.append(n,e)})}prependBlocker(e){return new Promise(t=>{if(this.queues){const n={label:"async-blocker-prepend",execute:t,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.queues[e].unshift(n)}})}removeBlockers(){this.queues!==null&&[this.queues.video,this.queues.audio,this.queues.audiovideo].forEach(e=>{var t;const n=(t=e[0])==null?void 0:t.label;(n==="async-blocker"||n==="async-blocker-prepend")&&(e[0].execute(),e.splice(0,1))})}unblockAudio(e){if(this.queues===null)return;this.queues.audio[0]===e&&this.shiftAndExecuteNext("audio")}executeNext(e){if(this.queues===null||this.tracks===null)return;const t=this.queues[e];if(t.length){const r=t[0];try{r.execute()}catch(a){var n;if(r.onError(a),this.queues===null||this.tracks===null)return;const s=(n=this.tracks[e])==null?void 0:n.buffer;s!=null&&s.updating||this.shiftAndExecuteNext(e)}}}shiftAndExecuteNext(e){this.queues!==null&&(this.queues[e].shift(),this.executeNext(e))}current(e){var t;return((t=this.queues)==null?void 0:t[e][0])||null}toString(){const{queues:e,tracks:t}=this;return e===null||t===null?"<destroyed>":`
|
|
|
${this.list("video")}
|
|
|
${this.list("audio")}
|
|
|
${this.list("audiovideo")}}`}list(e){var t,n;return(t=this.queues)!=null&&t[e]||(n=this.tracks)!=null&&n[e]?`${e}: (${this.listSbInfo(e)}) ${this.listOps(e)}`:""}listSbInfo(e){var t;const n=(t=this.tracks)==null?void 0:t[e],r=n==null?void 0:n.buffer;return r?`SourceBuffer${r.updating?" updating":""}${n.ended?" ended":""}${n.ending?" ending":""}`:"none"}listOps(e){var t;return((t=this.queues)==null?void 0:t[e].map(n=>n.label).join(", "))||""}}const qa=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,ms="HlsJsTrackRemovedError";class ps extends Error{constructor(e){super(e),this.name=ms}}class is extends Y{constructor(e,t){super("buffer-controller",e.logger),this.hls=void 0,this.fragmentTracker=void 0,this.details=null,this._objectUrl=null,this.operationQueue=null,this.bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.blockedAudioAppend=null,this.lastVideoAppendEnd=0,this.appendSource=void 0,this.transferData=void 0,this.overrides=void 0,this.appendErrors={audio:0,video:0,audiovideo:0},this.tracks={},this.sourceBuffers=[[null,null],[null,null]],this._onEndStreaming=n=>{var r;this.hls&&((r=this.mediaSource)==null?void 0:r.readyState)==="open"&&this.hls.pauseBuffering()},this._onStartStreaming=n=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=n=>{const{media:r,mediaSource:a}=this;n&&this.log("Media source opened"),!(!r||!a)&&(a.removeEventListener("sourceopen",this._onMediaSourceOpen),r.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(g.MEDIA_ATTACHED,{media:r,mediaSource:a}),this.mediaSource!==null&&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&&this.error(`Media element src was set while attaching MediaSource (${r} > ${n})`)},this.hls=e,this.fragmentTracker=t,this.appendSource=Qe(Ue(e.config.preferManagedMediaSource)),this.initTracks(),this.registerListeners()}hasSourceTypes(){return Object.keys(this.tracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.transferData=this.overrides=void 0,this.operationQueue&&(this.operationQueue.destroy(),this.operationQueue=null),this.hls=this.fragmentTracker=null,this._onMediaSourceOpen=this._onMediaSourceClose=null,this._onMediaSourceEnded=null,this._onStartStreaming=this._onEndStreaming=null}registerListeners(){const{hls:e}=this;e.on(g.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(g.MANIFEST_LOADING,this.onManifestLoading,this),e.on(g.MANIFEST_PARSED,this.onManifestParsed,this),e.on(g.BUFFER_RESET,this.onBufferReset,this),e.on(g.BUFFER_APPENDING,this.onBufferAppending,this),e.on(g.BUFFER_CODECS,this.onBufferCodecs,this),e.on(g.BUFFER_EOS,this.onBufferEos,this),e.on(g.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(g.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(g.FRAG_PARSED,this.onFragParsed,this),e.on(g.FRAG_CHANGED,this.onFragChanged,this),e.on(g.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(g.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(g.MANIFEST_LOADING,this.onManifestLoading,this),e.off(g.MANIFEST_PARSED,this.onManifestParsed,this),e.off(g.BUFFER_RESET,this.onBufferReset,this),e.off(g.BUFFER_APPENDING,this.onBufferAppending,this),e.off(g.BUFFER_CODECS,this.onBufferCodecs,this),e.off(g.BUFFER_EOS,this.onBufferEos,this),e.off(g.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(g.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(g.FRAG_PARSED,this.onFragParsed,this),e.off(g.FRAG_CHANGED,this.onFragChanged,this),e.off(g.ERROR,this.onError,this)}transferMedia(){const{media:e,mediaSource:t}=this;if(!e)return null;const n={};if(this.operationQueue){const a=this.isUpdating();a||this.operationQueue.removeBlockers();const s=this.isQueued();(a||s)&&this.warn(`Transfering MediaSource with${s?" operations in queue":""}${a?" updating SourceBuffer(s)":""} ${this.operationQueue}`),this.operationQueue.destroy()}const r=this.transferData;return!this.sourceBufferCount&&r&&r.mediaSource===t?b(n,r.tracks):this.sourceBuffers.forEach(a=>{const[s]=a;s&&(n[s]=b({},this.tracks[s]),this.removeBuffer(s)),a[0]=a[1]=null}),{media:e,mediaSource:t,tracks:n}}initTracks(){const e={};this.sourceBuffers=[[null,null],[null,null]],this.tracks=e,this.resetQueue(),this.resetAppendErrors(),this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.lastVideoAppendEnd=0}onManifestLoading(){this.bufferCodecEventsTotal=0,this.details=null}onManifestParsed(e,t){var n;let r=2;(t.audio&&!t.video||!t.altAudio)&&(r=1),this.bufferCodecEventsTotal=r,this.log(`${r} bufferCodec event(s) expected.`),(n=this.transferData)!=null&&n.mediaSource&&this.sourceBufferCount&&r&&this.bufferCreated()}onMediaAttaching(e,t){const n=this.media=t.media;this.transferData=this.overrides=void 0;const r=Ue(this.appendSource);if(r){const a=!!t.mediaSource;(a||t.overrides)&&(this.transferData=t,this.overrides=t.overrides);const s=this.mediaSource=t.mediaSource||new r;if(this.assignMediaSource(s),a)this._objectUrl=n.src,this.attachTransferred();else{const d=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,es(n),Es(n,d),n.load()}catch(p){n.src=d}else n.src=d}n.addEventListener("emptied",this._onMediaEmptied)}}assignMediaSource(e){var t,n;this.log(`${((t=this.transferData)==null?void 0:t.mediaSource)===e?"transferred":"created"} media source: ${(n=e.constructor)==null?void 0:n.name}`),e.addEventListener("sourceopen",this._onMediaSourceOpen),e.addEventListener("sourceended",this._onMediaSourceEnded),e.addEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(e.addEventListener("startstreaming",this._onStartStreaming),e.addEventListener("endstreaming",this._onEndStreaming))}attachTransferred(){const e=this.media,t=this.transferData;if(!t||!e)return;const n=this.tracks,r=t.tracks,a=r?Object.keys(r):null,s=a?a.length:0,d=()=>{Promise.resolve().then(()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()})};if(r&&a&&s){if(!this.tracksReady){this.hls.config.startFragPrefetch=!0,this.log("attachTransferred: waiting for SourceBuffer track info");return}if(this.log(`attachTransferred: (bufferCodecEventsTotal ${this.bufferCodecEventsTotal})
|
|
|
required tracks: ${ct(n,(p,m)=>p==="initSegment"?void 0:m)};
|
|
|
transfer tracks: ${ct(r,(p,m)=>p==="initSegment"?void 0:m)}}`),!ke(r,n)){t.mediaSource=null,t.tracks=void 0;const p=e.currentTime,m=this.details,v=Math.max(p,(m==null?void 0:m.fragments[0].start)||0);if(v-p>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${p} -> ${v}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(r)}"->"${Object.keys(n)}") start time: ${v} currentTime: ${p}`),this.onMediaDetaching(g.MEDIA_DETACHING,{}),this.onMediaAttaching(g.MEDIA_ATTACHING,t),e.currentTime=v;return}this.transferData=void 0,a.forEach(p=>{const m=p,v=r[m];if(v){const S=v.buffer;if(S){const F=this.fragmentTracker,q=v.id;if(F.hasFragments(q)||F.hasParts(q)){const He=cr.getBuffered(S);F.detectEvictedFragments(m,He,q,null,!0)}const ee=Ns(m),We=[m,S];this.sourceBuffers[ee]=We,S.updating&&this.operationQueue&&this.operationQueue.prependBlocker(m),this.trackSourceBuffer(m,v)}}}),d(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),d()}get mediaSourceOpenOrEnded(){var e;const t=(e=this.mediaSource)==null?void 0:e.readyState;return t==="open"||t==="ended"}onMediaDetaching(e,t){const n=!!t.transferMedia;this.transferData=this.overrides=void 0;const{media:r,mediaSource:a,_objectUrl:s}=this;if(a){if(this.log(`media source ${n?"transferring":"detaching"}`),n)this.sourceBuffers.forEach(([d])=>{d&&this.removeBuffer(d)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const d=a.readyState==="open";try{const p=a.sourceBuffers;for(let m=p.length;m--;)d&&p[m].abort(),a.removeSourceBuffer(p[m]);d&&a.endOfStream()}catch(p){this.warn(`onMediaDetaching: ${p.message} while calling endOfStream`)}}this.sourceBufferCount&&this.onBufferReset()}a.removeEventListener("sourceopen",this._onMediaSourceOpen),a.removeEventListener("sourceended",this._onMediaSourceEnded),a.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(a.removeEventListener("startstreaming",this._onStartStreaming),a.removeEventListener("endstreaming",this._onEndStreaming)),this.mediaSource=null,this._objectUrl=null}r&&(r.removeEventListener("emptied",this._onMediaEmptied),n||(s&&self.URL.revokeObjectURL(s),this.mediaSrc===s?(r.removeAttribute("src"),this.appendSource&&es(r),r.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.media=null),this.hls.trigger(g.MEDIA_DETACHED,t)}onBufferReset(){this.sourceBuffers.forEach(([e])=>{e&&this.resetBuffer(e)}),this.initTracks()}resetBuffer(e){var t;const n=(t=this.tracks[e])==null?void 0:t.buffer;if(this.removeBuffer(e),n)try{var r;(r=this.mediaSource)!=null&&r.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(n)}catch(a){this.warn(`onBufferReset ${e}`,a)}delete this.tracks[e]}removeBuffer(e){this.removeBufferListeners(e),this.sourceBuffers[Ns(e)]=[null,null];const t=this.tracks[e];t&&(t.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new Do(this.tracks)}onBufferCodecs(e,t){var n;const r=this.tracks,a=Object.keys(t);this.log(`BUFFER_CODECS: "${a}" (current SB count ${this.sourceBufferCount})`);const s="audiovideo"in t&&(r.audio||r.video)||r.audiovideo&&("audio"in t||"video"in t),d=!s&&this.sourceBufferCount&&this.media&&a.some(p=>!r[p]);if(s||d){this.warn(`Unsupported transition between "${Object.keys(r)}" and "${a}" SourceBuffers`);return}a.forEach(p=>{var m,v;const S=t[p],{id:F,codec:q,levelCodec:ee,container:We,metadata:He,supplemental:Dt}=S;let Ut=r[p];const $t=(m=this.transferData)==null||(m=m.tracks)==null?void 0:m[p],yn=$t!=null&&$t.buffer?$t:Ut,Tn=(yn==null?void 0:yn.pendingCodec)||(yn==null?void 0:yn.codec),sr=yn==null?void 0:yn.levelCodec;Ut||(Ut=r[p]={buffer:void 0,listeners:[],codec:q,supplemental:Dt,container:We,levelCodec:ee,metadata:He,id:F});const Dn=Kt(Tn,sr),Vn=Dn==null?void 0:Dn.replace(qa,"$1");let $n=Kt(q,ee);const On=(v=$n)==null?void 0:v.replace(qa,"$1");$n&&Dn&&Vn!==On&&(p.slice(0,5)==="audio"&&($n=Se($n,this.appendSource)),this.log(`switching codec ${Tn} to ${$n}`),$n!==(Ut.pendingCodec||Ut.codec)&&(Ut.pendingCodec=$n),Ut.container=We,this.appendChangeType(p,We,$n))}),(this.tracksReady||this.sourceBufferCount)&&(t.tracks=this.sourceBufferTracks),!this.sourceBufferCount&&(this.bufferCodecEventsTotal>1&&!this.tracks.video&&!t.video&&((n=t.audio)==null?void 0:n.id)==="main"&&(this.log("Main audio-only"),this.bufferCodecEventsTotal=1),this.mediaSourceOpenOrEnded&&this.checkPendingTracks())}get sourceBufferTracks(){return Object.keys(this.tracks).reduce((e,t)=>{const n=this.tracks[t];return e[t]={id:n.id,container:n.container,codec:n.codec,levelCodec:n.levelCodec},e},{})}appendChangeType(e,t,n){const r=`${t};codecs=${n}`,a={label:`change-type=${r}`,execute:()=>{const s=this.tracks[e];if(s){const d=s.buffer;d!=null&&d.changeType&&(this.log(`changing ${e} sourceBuffer type to ${r}`),d.changeType(r),s.codec=n,s.container=t)}this.shiftAndExecuteNext(e)},onStart:()=>{},onComplete:()=>{},onError:s=>{this.warn(`Failed to change ${e} SourceBuffer type`,s)}};this.append(a,e,this.isPending(this.tracks[e]))}blockAudio(e){var t;const n=e.start,r=n+e.duration*.05;if(((t=this.fragmentTracker.getAppendedFrag(n,K.MAIN))==null?void 0:t.gap)===!0)return;const s={label:"block-audio",execute:()=>{var d;const p=this.tracks.video;(this.lastVideoAppendEnd>r||p!=null&&p.buffer&&cr.isBuffered(p.buffer,r)||((d=this.fragmentTracker.getAppendedFrag(r,K.MAIN))==null?void 0:d.gap)===!0)&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:d=>{this.warn("Error executing block-audio operation",d)}};this.blockedAudioAppend={op:s,frag:e},this.append(s,"audio",!0)}unblockAudio(){const{blockedAudioAppend:e,operationQueue:t}=this;e&&t&&(this.blockedAudioAppend=null,t.unblockAudio(e.op))}onBufferAppending(e,t){const{tracks:n}=this,{data:r,type:a,parent:s,frag:d,part:p,chunkMeta:m,offset:v}=t,S=m.buffering[a],{sn:F,cc:q}=d,ee=self.performance.now();S.start=ee;const We=d.stats.buffering,He=p?p.stats.buffering:null;We.start===0&&(We.start=ee),He&&He.start===0&&(He.start=ee);const Dt=n.audio;let Ut=!1;a==="audio"&&(Dt==null?void 0:Dt.container)==="audio/mpeg"&&(Ut=!this.lastMpegAudioChunk||m.id===1||this.lastMpegAudioChunk.sn!==m.sn,this.lastMpegAudioChunk=m);const $t=n.video,yn=$t==null?void 0:$t.buffer;if(yn&&F!=="initSegment"){const Dn=p||d,Vn=this.blockedAudioAppend;if(a==="audio"&&s!=="main"&&!this.blockedAudioAppend&&!($t.ending||$t.ended)){const On=Dn.start+Dn.duration*.05,pr=yn.buffered,$r=this.currentOp("video");!pr.length&&!$r?this.blockAudio(Dn):!$r&&!cr.isBuffered(yn,On)&&this.lastVideoAppendEnd<On&&this.blockAudio(Dn)}else if(a==="video"){const $n=Dn.end;if(Vn){const On=Vn.frag.start;($n>On||$n<this.lastVideoAppendEnd||cr.isBuffered(yn,On))&&this.unblockAudio()}this.lastVideoAppendEnd=$n}}const Tn=(p||d).start,sr={label:`append-${a}`,execute:()=>{var Dn;S.executeStart=self.performance.now();const Vn=(Dn=this.tracks[a])==null?void 0:Dn.buffer;Vn&&(Ut?this.updateTimestampOffset(Vn,Tn,.1,a,F,q):v!==void 0&&i(v)&&this.updateTimestampOffset(Vn,v,1e-6,a,F,q)),this.appendExecutor(r,a)},onStart:()=>{},onComplete:()=>{const Dn=self.performance.now();S.executeEnd=S.end=Dn,We.first===0&&(We.first=Dn),He&&He.first===0&&(He.first=Dn);const Vn={};this.sourceBuffers.forEach(([$n,On])=>{$n&&(Vn[$n]=cr.getBuffered(On))}),this.appendErrors[a]=0,a==="audio"||a==="video"?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(g.BUFFER_APPENDED,{type:a,frag:d,part:p,chunkMeta:m,parent:d.type,timeRanges:Vn})},onError:Dn=>{var Vn;const $n={type:ce.MEDIA_ERROR,parent:d.type,details:j.BUFFER_APPEND_ERROR,sourceBufferName:a,frag:d,part:p,chunkMeta:m,error:Dn,err:Dn,fatal:!1},On=(Vn=this.media)==null?void 0:Vn.error;if(Dn.code===DOMException.QUOTA_EXCEEDED_ERR||Dn.name=="QuotaExceededError"||"quota"in Dn)$n.details=j.BUFFER_FULL_ERROR;else if(Dn.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!On)$n.errorAction=xn(!0);else if(Dn.name===ms&&this.sourceBufferCount===0)$n.errorAction=xn(!0);else{const pr=++this.appendErrors[a];this.warn(`Failed ${pr}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${a}" sourceBuffer (${On||"no media error"})`),(pr>=this.hls.config.appendErrorMaxRetry||On)&&($n.fatal=!0)}this.hls.trigger(g.ERROR,$n)}};this.log(`queuing "${a}" append sn: ${F}${p?" p: "+p.index:""} of ${d.type===K.MAIN?"level":"track"} ${d.level} cc: ${q}`),this.append(sr,a,this.isPending(this.tracks[a]))}getFlushOp(e,t,n){return this.log(`queuing "${e}" remove ${t}-${n}`),{label:"remove",execute:()=>{this.removeExecutor(e,t,n)},onStart:()=>{},onComplete:()=>{this.hls.trigger(g.BUFFER_FLUSHED,{type:e})},onError:r=>{this.warn(`Failed to remove ${t}-${n} from "${e}" SourceBuffer`,r)}}}onBufferFlushing(e,t){const{type:n,startOffset:r,endOffset:a}=t;n?this.append(this.getFlushOp(n,r,a),n):this.sourceBuffers.forEach(([s])=>{s&&this.append(this.getFlushOp(s,r,a),s)})}onFragParsed(e,t){const{frag:n,part:r}=t,a=[],s=r?r.elementaryStreams:n.elementaryStreams;s[fe.AUDIOVIDEO]?a.push("audiovideo"):(s[fe.AUDIO]&&a.push("audio"),s[fe.VIDEO]&&a.push("video"));const d=()=>{const p=self.performance.now();n.stats.buffering.end=p,r&&(r.stats.buffering.end=p);const m=r?r.stats:n.stats;this.hls.trigger(g.FRAG_BUFFERED,{frag:n,part:r,stats:m,id:n.type})};a.length===0&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${n.type} level: ${n.level} sn: ${n.sn}`),this.blockBuffers(d,a).catch(p=>{this.warn(`Fragment buffered callback ${p}`),this.stepOperationQueue(this.sourceBufferTypes)})}onFragChanged(e,t){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([e])=>{if(e){const t=this.tracks[e];if(t)return!t.ended||t.ending}return!1})}onBufferEos(e,t){var n;this.sourceBuffers.forEach(([s])=>{if(s){const d=this.tracks[s];(!t.type||t.type===s)&&(d.ending=!0,d.ended||(d.ended=!0,this.log(`${s} buffer reached EOS`)))}});const r=((n=this.overrides)==null?void 0:n.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([s])=>{var d;return s&&!((d=this.tracks[s])!=null&&d.ended)})?r?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:s}=this;if(!s||s.readyState!=="open"){s&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${s.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),s.endOfStream(),this.hls.trigger(g.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(g.BUFFERED_TO_END,void 0)):t.type==="video"&&this.unblockAudio()}tracksEnded(){this.sourceBuffers.forEach(([e])=>{if(e!==null){const t=this.tracks[e];t&&(t.ending=!1)}})}onLevelUpdated(e,{details:t}){t.fragments.length&&(this.details=t,this.updateDuration())}updateDuration(){this.blockUntilOpen(()=>{const e=this.getDurationAndRange();e&&this.updateMediaSource(e)})}onError(e,t){if(t.details===j.BUFFER_APPEND_ERROR&&t.frag){var n;const r=(n=t.errorAction)==null?void 0:n.nextAutoLevel;i(r)&&r!==t.frag.level&&this.resetAppendErrors()}}resetAppendErrors(){this.appendErrors={audio:0,video:0,audiovideo:0}}trimBuffers(){const{hls:e,details:t,media:n}=this;if(!n||t===null||!this.sourceBufferCount)return;const r=e.config,a=n.currentTime,s=t.levelTargetDuration,d=t.live&&r.liveBackBufferLength!==null?r.liveBackBufferLength:r.backBufferLength;if(i(d)&&d>=0){const m=Math.max(d,s),v=Math.floor(a/s)*s-m;this.flushBackBuffer(a,s,v)}const p=r.frontBufferFlushThreshold;if(i(p)&&p>0){const m=Math.max(r.maxBufferLength,p),v=Math.max(m,s),S=Math.floor(a/s)*s+v;this.flushFrontBuffer(a,s,S)}}flushBackBuffer(e,t,n){this.sourceBuffers.forEach(([r,a])=>{if(a){const d=cr.getBuffered(a);if(d.length>0&&n>d.start(0)){var s;this.hls.trigger(g.BACK_BUFFER_REACHED,{bufferEnd:n});const p=this.tracks[r];if((s=this.details)!=null&&s.live)this.hls.trigger(g.LIVE_BACK_BUFFER_REACHED,{bufferEnd:n});else if(p!=null&&p.ended){this.log(`Cannot flush ${r} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(g.BUFFER_FLUSHING,{startOffset:0,endOffset:n,type:r})}}})}flushFrontBuffer(e,t,n){this.sourceBuffers.forEach(([r,a])=>{if(a){const s=cr.getBuffered(a),d=s.length;if(d<2)return;const p=s.start(d-1),m=s.end(d-1);if(n>p||e>=p&&e<=m)return;this.hls.trigger(g.BUFFER_FLUSHING,{startOffset:p,endOffset:1/0,type:r})}})}getDurationAndRange(){var e;const{details:t,mediaSource:n}=this;if(!t||!this.media||(n==null?void 0:n.readyState)!=="open")return null;const r=t.edge;if(t.live&&this.hls.config.liveDurationInfinity){if(t.fragments.length&&n.setLiveSeekableRange){const m=Math.max(0,t.fragmentStart),v=Math.max(m,r);return{duration:1/0,start:m,end:v}}return{duration:1/0}}const a=(e=this.overrides)==null?void 0:e.duration;if(a)return i(a)?{duration:a}:null;const s=this.media.duration,d=i(n.duration)?n.duration:0;return r>d&&r>s||!i(s)?{duration:r}:null}updateMediaSource({duration:e,start:t,end:n}){const r=this.mediaSource;!this.media||!r||r.readyState!=="open"||(r.duration!==e&&(i(e)&&this.log(`Updating MediaSource duration to ${e.toFixed(3)}`),r.duration=e),t!==void 0&&n!==void 0&&(this.log(`MediaSource duration is set to ${r.duration}. Setting seekable range to ${t}-${n}.`),r.setLiveSeekableRange(t,n)))}get tracksReady(){const e=this.pendingTrackCount;return e>0&&(e>=this.bufferCodecEventsTotal||this.isPending(this.tracks.audiovideo))}checkPendingTracks(){const{bufferCodecEventsTotal:e,pendingTrackCount:t,tracks:n}=this;if(this.log(`checkPendingTracks (pending: ${t} codec events expected: ${e}) ${ct(n)}`),this.tracksReady){var r;const a=(r=this.transferData)==null?void 0:r.tracks;a&&Object.keys(a).length?this.attachTransferred():this.createSourceBuffers()}}bufferCreated(){if(this.sourceBufferCount){const e={};this.sourceBuffers.forEach(([t,n])=>{if(t){const r=this.tracks[t];e[t]={buffer:n,container:r.container,codec:r.codec,supplemental:r.supplemental,levelCodec:r.levelCodec,id:r.id,metadata:r.metadata}}}),this.hls.trigger(g.BUFFER_CREATED,{tracks:e}),this.log(`SourceBuffers created. Running queue: ${this.operationQueue}`),this.sourceBuffers.forEach(([t])=>{this.executeNext(t)})}else{const e=new Error("could not create source buffer for media codec(s)");this.hls.trigger(g.ERROR,{type:ce.MEDIA_ERROR,details:j.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:e,reason:e.message})}}createSourceBuffers(){const{tracks:e,sourceBuffers:t,mediaSource:n}=this;if(!n)throw new Error("createSourceBuffers called when mediaSource was null");for(const a in e){const s=a,d=e[s];if(this.isPending(d)){const p=this.getTrackCodec(d,s),m=`${d.container};codecs=${p}`;d.codec=p,this.log(`creating sourceBuffer(${m})${this.currentOp(s)?" Queued":""} ${ct(d)}`);try{const v=n.addSourceBuffer(m),S=Ns(s),F=[s,v];t[S]=F,d.buffer=v}catch(v){var r;this.error(`error while trying to add sourceBuffer: ${v.message}`),this.shiftAndExecuteNext(s),(r=this.operationQueue)==null||r.removeBlockers(),delete this.tracks[s],this.hls.trigger(g.ERROR,{type:ce.MEDIA_ERROR,details:j.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:v,sourceBufferName:s,mimeType:m,parent:d.id});return}this.trackSourceBuffer(s,d)}}this.bufferCreated()}getTrackCodec(e,t){const n=e.supplemental;let r=e.codec;n&&(t==="video"||t==="audiovideo")&&Ve(n,"video")&&(r=Wt(r,n));const a=Kt(r,e.levelCodec);return a?t.slice(0,5)==="audio"?Se(a,this.appendSource):a:""}trackSourceBuffer(e,t){const n=t.buffer;if(!n)return;const r=this.getTrackCodec(t,e);this.tracks[e]={buffer:n,codec:r,container:t.container,levelCodec:t.levelCodec,supplemental:t.supplemental,metadata:t.metadata,id:t.id,listeners:[]},this.removeBufferListeners(e),this.addBufferListener(e,"updatestart",this.onSBUpdateStart),this.addBufferListener(e,"updateend",this.onSBUpdateEnd),this.addBufferListener(e,"error",this.onSBUpdateError),this.appendSource&&this.addBufferListener(e,"bufferedchange",(a,s)=>{const d=s.removedRanges;d!=null&&d.length&&this.hls.trigger(g.BUFFER_FLUSHED,{type:a})})}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 t=this.currentOp(e);t&&t.onStart()}onSBUpdateEnd(e){var t;if(((t=this.mediaSource)==null?void 0:t.readyState)==="closed"){this.resetBuffer(e);return}const n=this.currentOp(e);n&&(n.onComplete(),this.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(g.ERROR,{type:ce.MEDIA_ERROR,details:j.BUFFER_APPENDING_ERROR,sourceBufferName:e,error:r,fatal:!1});const a=this.currentOp(e);a&&a.onError(r)}updateTimestampOffset(e,t,n,r,a,s){const d=t-e.timestampOffset;Math.abs(d)>=n&&(this.log(`Updating ${r} SourceBuffer timestampOffset to ${t} (sn: ${a} cc: ${s})`),e.timestampOffset=t)}removeExecutor(e,t,n){const{media:r,mediaSource:a}=this,s=this.tracks[e],d=s==null?void 0:s.buffer;if(!r||!a||!d){this.warn(`Attempting to remove from the ${e} SourceBuffer, but it does not exist`),this.shiftAndExecuteNext(e);return}const p=i(r.duration)?r.duration:1/0,m=i(a.duration)?a.duration:1/0,v=Math.max(0,t),S=Math.min(n,p,m);S>v&&(!s.ending||s.ended)?(s.ended=!1,this.log(`Removing [${v},${S}] from the ${e} SourceBuffer`),d.remove(v,S)):this.shiftAndExecuteNext(e)}appendExecutor(e,t){const n=this.tracks[t],r=n==null?void 0:n.buffer;if(!r)throw new ps(`Attempting to append to the ${t} SourceBuffer, but it does not exist`);n.ending=!1,n.ended=!1,r.appendBuffer(e)}blockUntilOpen(e){if(this.isUpdating()||this.isQueued())this.blockBuffers(e).catch(t=>{this.warn(`SourceBuffer blocked callback ${t}`),this.stepOperationQueue(this.sourceBufferTypes)});else try{e()}catch(t){this.warn(`Callback run without blocking ${this.operationQueue} ${t}`)}}isUpdating(){return this.sourceBuffers.some(([e,t])=>e&&t.updating)}isQueued(){return this.sourceBuffers.some(([e])=>e&&!!this.currentOp(e))}isPending(e){return!!e&&!e.buffer}blockBuffers(e,t=this.sourceBufferTypes){if(!t.length)return this.log("Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(e);const{operationQueue:n}=this,r=t.map(s=>this.appendBlocker(s));return t.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(r).then(s=>{n===this.operationQueue&&(e(),this.stepOperationQueue(this.sourceBufferTypes))})}stepOperationQueue(e){e.forEach(t=>{var n;const r=(n=this.tracks[t])==null?void 0:n.buffer;!r||r.updating||this.shiftAndExecuteNext(t)})}append(e,t,n){this.operationQueue&&this.operationQueue.append(e,t,n)}appendBlocker(e){if(this.operationQueue)return this.operationQueue.appendBlocker(e)}currentOp(e){return this.operationQueue?this.operationQueue.current(e):null}executeNext(e){e&&this.operationQueue&&this.operationQueue.executeNext(e)}shiftAndExecuteNext(e){this.operationQueue&&this.operationQueue.shiftAndExecuteNext(e)}get pendingTrackCount(){return Object.keys(this.tracks).reduce((e,t)=>e+(this.isPending(this.tracks[t])?1:0),0)}get sourceBufferCount(){return this.sourceBuffers.reduce((e,[t])=>e+(t?1:0),0)}get sourceBufferTypes(){return this.sourceBuffers.map(([e])=>e).filter(e=>!!e)}addBufferListener(e,t,n){const r=this.tracks[e];if(!r)return;const a=r.buffer;if(!a)return;const s=n.bind(this,e);r.listeners.push({event:t,listener:s}),a.addEventListener(t,s)}removeBufferListeners(e){const t=this.tracks[e];if(!t)return;const n=t.buffer;n&&(t.listeners.forEach(r=>{n.removeEventListener(r.event,r.listener)}),t.listeners.length=0)}}function es(o){const e=o.querySelectorAll("source");[].slice.call(e).forEach(t=>{o.removeChild(t)})}function Es(o,e){const t=self.document.createElement("source");t.type="video/mp4",t.src=e,o.appendChild(t)}function Ns(o){return o==="audio"?1:0}class Ss{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(g.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.on(g.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(g.MANIFEST_PARSED,this.onManifestParsed,this),e.on(g.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(g.BUFFER_CODECS,this.onBufferCodecs,this),e.on(g.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:e}=this;e.off(g.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.off(g.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(g.MANIFEST_PARSED,this.onManifestParsed,this),e.off(g.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(g.BUFFER_CODECS,this.onBufferCodecs,this),e.off(g.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(),this.media=null}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&&t.logger.log(`Setting autoLevelCapping to ${n}: ${e[n].height}p@${e[n].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),t.autoLevelCapping=n,t.autoLevelEnabled&&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,a)=>this.isLevelAllowed(r)&&a<=e);return this.clientRect=null,Ss.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 Math.min(e,this.hls.config.maxDevicePixelRatio)}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=(d,p)=>p?d.width!==p.width||d.height!==p.height:!0;let a=e.length-1;const s=Math.max(t,n);for(let d=0;d<e.length;d+=1){const p=e[d];if((p.width>=s||p.height>=s)&&r(p,e[d+1])){a=d;break}}return a}}const ts={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},cl={HLS:"h"};class gs{constructor(e,t){Array.isArray(e)&&(e=e.map(n=>n instanceof gs?n:new gs(n))),this.value=e,this.params=t}}const dl="Dict";function Ei(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 qi(o,e,t,n){return new Error(`failed to ${o} "${Ei(e)}" as ${t}`,{cause:n})}function ha(o,e,t){return qi("serialize",o,e,t)}class La{constructor(e){this.description=e}}const ns="Bare Item",Cs="Boolean";function As(o){if(typeof o!="boolean")throw ha(o,Cs);return o?"?1":"?0"}function Ga(o){return btoa(String.fromCharCode(...o))}const Ql="Byte Sequence";function Il(o){if(ArrayBuffer.isView(o)===!1)throw ha(o,Ql);return`:${Ga(o)}:`}const Yo="Integer";function vo(o){return o<-999999999999999||999999999999999<o}function Dl(o){if(vo(o))throw ha(o,Yo);return o.toString()}function Rl(o){return`@${Dl(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}const Ol="Decimal";function Jl(o){const e=Ll(o,3);if(Math.floor(Math.abs(e)).toString().length>12)throw ha(o,Ol);const t=e.toString();return t.includes(".")?t:`${t}.0`}const Pl="String",Xo=/[\x00-\x1f\x7f]+/;function Ml(o){if(Xo.test(o))throw ha(o,Pl);return`"${o.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function ql(o){return o.description||o.toString().slice(7,-1)}const Nl="Token";function fl(o){const e=ql(o);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(e)===!1)throw ha(e,Nl);return e}function hl(o){switch(typeof o){case"number":if(!i(o))throw ha(o,ns);return Number.isInteger(o)?Dl(o):Jl(o);case"string":return Ml(o);case"symbol":return fl(o);case"boolean":return As(o);case"object":if(o instanceof Date)return Rl(o);if(o instanceof Uint8Array)return Il(o);if(o instanceof La)return fl(o);default:throw ha(o,ns)}}const eu="Key";function ml(o){if(/^[a-z*][a-z0-9\-_.*]*$/.test(o)===!1)throw ha(o,eu);return o}function Qo(o){return o==null?"":Object.entries(o).map(([e,t])=>t===!0?`;${ml(e)}`:`;${ml(e)}=${hl(t)}`).join("")}function Ro(o){return o instanceof gs?`${hl(o.value)}${Qo(o.params)}`:hl(o)}function pl(o){return`(${o.value.map(Ro).join(" ")})${Qo(o.params)}`}function gl(o,e={whitespace:!0}){if(typeof o!="object"||o==null)throw ha(o,dl);const t=o instanceof Map?o.entries():Object.entries(o),n=e!=null&&e.whitespace?" ":"";return Array.from(t).map(([r,a])=>{a instanceof gs||(a=new gs(a));let s=ml(r);return a.value===!0?s+=Qo(a.params):(s+="=",Array.isArray(a.value)?s+=pl(a):s+=Ro(a)),s}).join(`,${n}`)}function vl(o,e){return gl(o,e)}const Ts="CMCD-Object",Ia="CMCD-Request",no="CMCD-Session",ro="CMCD-Status",kl={br:Ts,ab:Ts,d:Ts,ot:Ts,tb:Ts,tpb:Ts,lb:Ts,tab:Ts,lab:Ts,url:Ts,pb:Ia,bl:Ia,tbl:Ia,dl:Ia,ltc:Ia,mtp:Ia,nor:Ia,nrr:Ia,rc:Ia,sn:Ia,sta:Ia,su:Ia,ttfb:Ia,ttfbb:Ia,ttlb:Ia,cmsdd:Ia,cmsds:Ia,smrt:Ia,df:Ia,cs:Ia,ts:Ia,cid:no,pr:no,sf:no,sid:no,st:no,v:no,msd:no,bs:ro,bsd:ro,cdn:ro,rtp:ro,bg:ro,pt:ro,ec:ro,e:ro},yl={REQUEST:Ia};function Bl(o){return Object.keys(o).reduce((e,t)=>{var n;return(n=o[t])===null||n===void 0||n.forEach(r=>e[r]=t),e},{})}function bl(o,e){const t={};if(!o)return t;const n=Object.keys(o),r=e?Bl(e):{};return n.reduce((a,s)=>{var d;const p=kl[s]||r[s]||yl.REQUEST,m=(d=a[p])!==null&&d!==void 0?d:a[p]={};return m[s]=o[s],a},t)}function Fl(o){return["ot","sf","st","e","sta"].includes(o)}function tu(o){return typeof o=="number"?i(o):o!=null&&o!==""&&o!==!1}const Pi="event";function Hi(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),a=n.pathname.split("/").slice(1,-1);for(;r[0]===a[0];)r.shift(),a.shift();for(;a.length;)a.shift(),r.unshift("..");return r.join("/")+t.search+t.hash}const Ba=o=>Math.round(o),ls=(o,e)=>Array.isArray(o)?o.map(t=>ls(t,e)):o instanceof gs&&typeof o.value=="string"?new gs(ls(o.value,e),o.params):(e.baseUrl&&(o=Hi(o,e.baseUrl)),e.version===1?encodeURIComponent(o):o),Fa=o=>Ba(o/100)*100,ho={br:Ba,d:Ba,bl:Fa,dl:Fa,mtp:Fa,nor:(o,e)=>{let t=o;return e.version>=2&&(o instanceof gs&&typeof o.value=="string"?t=new gs([o]):typeof o=="string"&&(t=[o])),ls(t,e)},rtp:Fa,tb:Ba},io="request",yo="response",Oo=["ab","bg","bl","br","bs","bsd","cdn","cid","cs","df","ec","lab","lb","ltc","msd","mtp","pb","pr","pt","sf","sid","sn","st","sta","tab","tb","tbl","tpb","ts","v"],dc=["e"],fc=/^[a-zA-Z0-9-.]+-[a-zA-Z0-9-.]+$/;function zl(o){return fc.test(o)}function hc(o){return Oo.includes(o)||dc.includes(o)||zl(o)}const Eu=["d","dl","nor","ot","rtp","su"];function mc(o){return Oo.includes(o)||Eu.includes(o)||zl(o)}const pc=["cmsdd","cmsds","rc","smrt","ttfb","ttfbb","ttlb","url"];function gc(o){return Oo.includes(o)||Eu.includes(o)||pc.includes(o)||zl(o)}const vc=["bl","br","bs","cid","d","dl","mtp","nor","nrr","ot","pr","rtp","sf","sid","st","su","tb","v"];function yc(o){return vc.includes(o)||zl(o)}const bc={[yo]:gc,[Pi]:hc,[io]:mc};function Su(o,e={}){const t={};if(o==null||typeof o!="object")return t;const n=e.version||o.v||1,r=e.reportingMode||io,a=n===1?yc:bc[r];let s=Object.keys(o).filter(a);const d=e.filter;typeof d=="function"&&(s=s.filter(d));const p=r===yo||r===Pi;p&&!s.includes("ts")&&s.push("ts"),n>1&&!s.includes("v")&&s.push("v");const m=b({},ho,e.formatters),v={version:n,reportingMode:r,baseUrl:e.baseUrl};return s.sort().forEach(S=>{let F=o[S];const q=m[S];if(typeof q=="function"&&(F=q(F,v)),S==="v"){if(n===1)return;F=n}S=="pr"&&F===1||(p&&S==="ts"&&!i(F)&&(F=Date.now()),tu(F)&&(Fl(S)&&typeof F=="string"&&(F=new La(F)),t[S]=F))}),t}function xc(o,e={}){const t={};if(!o)return t;const n=Su(o,e),r=bl(n,e==null?void 0:e.customHeaderMap);return Object.entries(r).reduce((a,[s,d])=>{const p=vl(d,{whitespace:!1});return p&&(a[s]=p),a},t)}function Ec(o,e,t){return b(o,xc(e,t))}const Sc="CMCD";function Cc(o,e={}){return o?vl(Su(o,e),{whitespace:!1}):""}function wc(o,e={}){if(!o)return"";const t=Cc(o,e);return encodeURIComponent(t)}function _c(o,e={}){if(!o)return"";const t=wc(o,e);return`${Sc}=${t}`}const Cu=/CMCD=[^&#]+/;function Ac(o,e,t){const n=_c(e,t);if(!n)return o;if(Cu.test(o))return o.replace(Cu,n);const r=o.includes("?")?"&":"?";return`${o}${r}${n}`}class Tc{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:ts.MANIFEST,su:!this.initialized})}catch(a){this.hls.logger.warn("Could not generate manifest CMCD data.",a)}},this.applyFragmentData=r=>{try{const{frag:a,part:s}=r,d=this.hls.levels[a.level],p=this.getObjectType(a),m={d:(s||a).duration*1e3,ot:p};(p===ts.VIDEO||p===ts.AUDIO||p==ts.MUXED)&&(m.br=d.bitrate/1e3,m.tb=this.getTopBandwidth(p)/1e3,m.bl=this.getBufferLength(p));const v=s?this.getNextPart(s):this.getNextFrag(a);v!=null&&v.url&&v.url!==a.url&&(m.nor=v.url),this.apply(r,m)}catch(a){this.hls.logger.warn("Could not generate segment CMCD data.",a)}},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||e.sessionId,this.cid=n.contentId,this.useHeaders=n.useHeaders===!0,this.includeKeys=n.includeKeys,this.registerListeners())}registerListeners(){const e=this.hls;e.on(g.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(g.MEDIA_DETACHED,this.onMediaDetached,this),e.on(g.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const e=this.hls;e.off(g.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(g.MEDIA_DETACHED,this.onMediaDetached,this),e.off(g.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null,this.onWaiting=this.onPlaying=this.media=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:cl.HLS,sid:this.sid,cid:this.cid,pr:(e=this.media)==null?void 0:e.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(e,t={}){b(t,this.createData());const n=t.ot===ts.INIT||t.ot===ts.VIDEO||t.ot===ts.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((s,d)=>(r.includes(d)&&(s[d]=t[d]),s),{}));const a={baseUrl:e.url};this.useHeaders?(e.headers||(e.headers={}),Ec(e.headers,t,a)):e.url=Ac(e.url,t,a)}getNextFrag(e){var t;const n=(t=this.hls.levels[e.level])==null?void 0:t.details;if(n){const r=e.sn-n.startSN;return n.fragments[r+1]}}getNextPart(e){var t;const{index:n,fragment:r}=e,a=(t=this.hls.levels[r.level])==null||(t=t.details)==null?void 0:t.partList;if(a){const{sn:s}=r;for(let d=a.length-1;d>=0;d--){const p=a[d];if(p.index===n&&p.fragment.sn===s)return a[d+1]}}}getObjectType(e){const{type:t}=e;if(t==="subtitle")return ts.TIMED_TEXT;if(e.sn==="initSegment")return ts.INIT;if(t==="audio")return ts.AUDIO;if(t==="main")return this.hls.audioTracks.length?ts.VIDEO:ts.MUXED}getTopBandwidth(e){let t=0,n;const r=this.hls;if(e===ts.AUDIO)n=r.audioTracks;else{const a=r.maxAutoLevel,s=a>-1?a+1:r.levels.length;n=r.levels.slice(0,s)}return n.forEach(a=>{a.bitrate>t&&(t=a.bitrate)}),t>0?t:NaN}getBufferLength(e){const t=this.media,n=e===ts.AUDIO?this.audioBuffer:this.videoBuffer;return!n||!t?NaN:cr.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(a){this.loader=void 0,this.loader=new n(a)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(a,s,d){t(a),this.loader.load(a,s,d)}}}createFragmentLoader(){const{fLoader:e}=this.config,t=this.applyFragmentData,n=e||this.config.loader;return class{constructor(a){this.loader=void 0,this.loader=new n(a)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(a,s,d){t(a),this.loader.load(a,s,d)}}}}const Ic=3e5;class Dc extends Y{constructor(e){super("content-steering",e.logger),this.hls=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.registerListeners()}registerListeners(){const e=this.hls;e.on(g.MANIFEST_LOADING,this.onManifestLoading,this),e.on(g.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(g.MANIFEST_PARSED,this.onManifestParsed,this),e.on(g.ERROR,this.onError,this)}unregisterListeners(){const e=this.hls;e&&(e.off(g.MANIFEST_LOADING,this.onManifestLoading,this),e.off(g.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(g.MANIFEST_PARSED,this.onManifestParsed,this),e.off(g.ERROR,this.onError,this))}pathways(){return(this.levels||[]).reduce((e,t)=>(e.indexOf(t.pathwayId)===-1&&e.push(t.pathwayId),e),[])}get pathwayPriority(){return this._pathwayPriority}set pathwayPriority(e){this.updatePathwayPriority(e)}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)===Un.SendAlternateToPenaltyBox&&n.flags===fn.MoveAllAlternatesMatchingHost){const r=this.levels;let a=this._pathwayPriority,s=this.pathwayId;if(t.context){const{groupId:d,pathwayId:p,type:m}=t.context;d&&r?s=this.getPathwayForGroupId(d,m,s):p&&(s=p)}s in this.penalizedPathways||(this.penalizedPathways[s]=performance.now()),!a&&r&&(a=this.pathways()),a&&a.length>1&&(this.updatePathwayPriority(a),n.resolved=this.pathwayId!==s),t.details===j.BUFFER_APPEND_ERROR&&!t.fatal?n.resolved=!0:n.resolved||this.warn(`Could not resolve ${t.details} ("${t.error.message}") with content-steering for Pathway: ${s} levels: ${r&&r.length} priorities: ${ct(a)} penalized: ${ct(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(a=>{r-n[a]>Ic&&delete n[a]});for(let a=0;a<e.length;a++){const s=e[a];if(s in n)continue;if(s===this.pathwayId)return;const d=this.hls.nextLoadLevel,p=this.hls.levels[d];if(t=this.getLevelsForPathway(s),t.length>0){this.log(`Setting Pathway to "${s}"`),this.pathwayId=s,Ka(t),this.hls.trigger(g.LEVELS_UPDATED,{levels:t});const m=this.hls.levels[d];p&&m&&this.levels&&(m.attrs["STABLE-VARIANT-ID"]!==p.attrs["STABLE-VARIANT-ID"]&&m.bitrate!==p.bitrate&&this.log(`Unstable Pathways change from bitrate ${p.bitrate} to ${m.bitrate}`),this.hls.nextLoadLevel=d);break}}}getPathwayForGroupId(e,t,n){const r=this.getLevelsForPathway(n).concat(this.levels||[]);for(let a=0;a<r.length;a++)if(t===V.AUDIO_TRACK&&r[a].hasAudioGroup(e)||t===V.SUBTITLE_TRACK&&r[a].hasSubtitleGroup(e))return r[a].pathwayId;return n}clonePathways(e){const t=this.levels;if(!t)return;const n={},r={};e.forEach(a=>{const{ID:s,"BASE-ID":d,"URI-REPLACEMENT":p}=a;if(t.some(v=>v.pathwayId===s))return;const m=this.getLevelsForPathway(d).map(v=>{const S=new Gr(v.attrs);S["PATHWAY-ID"]=s;const F=S.AUDIO&&`${S.AUDIO}_clone_${s}`,q=S.SUBTITLES&&`${S.SUBTITLES}_clone_${s}`;F&&(n[S.AUDIO]=F,S.AUDIO=F),q&&(r[S.SUBTITLES]=q,S.SUBTITLES=q);const ee=_u(v.uri,S["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",p),We=new ot({attrs:S,audioCodec:v.audioCodec,bitrate:v.bitrate,height:v.height,name:v.name,url:ee,videoCodec:v.videoCodec,width:v.width});if(v.audioGroups)for(let He=1;He<v.audioGroups.length;He++)We.addGroupId("audio",`${v.audioGroups[He]}_clone_${s}`);if(v.subtitleGroups)for(let He=1;He<v.subtitleGroups.length;He++)We.addGroupId("text",`${v.subtitleGroups[He]}_clone_${s}`);return We});t.push(...m),wu(this.audioTracks,n,p,s),wu(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(v){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${e}`);return}if(r.protocol!=="data:"){const v=(this.hls.bandwidthEstimate||t.abrEwmaDefaultEstimate)|0;r.searchParams.set("_HLS_pathway",this.pathwayId),r.searchParams.set("_HLS_throughput",""+v)}const a={responseType:"json",url:r.href},s=t.steeringManifestLoadPolicy.default,d=s.errorRetry||s.timeoutRetry||{},p={loadPolicy:s,timeout:s.maxLoadTimeMs,maxRetry:d.maxNumRetry||0,retryDelay:d.retryDelayMs||0,maxRetryDelay:d.maxRetryDelayMs||0},m={onSuccess:(v,S,F,q)=>{this.log(`Loaded steering manifest: "${r}"`);const ee=v.data;if((ee==null?void 0:ee.VERSION)!==1){this.log(`Steering VERSION ${ee.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=ee.TTL;const{"RELOAD-URI":We,"PATHWAY-CLONES":He,"PATHWAY-PRIORITY":Dt}=ee;if(We)try{this.uri=new self.URL(We,r).href}catch($t){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${We}`);return}this.scheduleRefresh(this.uri||F.url),He&&this.clonePathways(He);const Ut={steeringManifest:ee,url:r.toString()};this.hls.trigger(g.STEERING_MANIFEST_LOADED,Ut),Dt&&this.updatePathwayPriority(Dt)},onError:(v,S,F,q)=>{if(this.log(`Error loading steering manifest: ${v.code} ${v.text} (${S.url})`),this.stopLoad(),v.code===410){this.enabled=!1,this.log(`Steering manifest ${S.url} no longer available`);return}let ee=this.timeToLoad*1e3;if(v.code===429){const We=this.loader;if(typeof(We==null?void 0:We.getResponseHeader)=="function"){const He=We.getResponseHeader("Retry-After");He&&(ee=parseFloat(He)*1e3)}this.log(`Steering manifest ${S.url} rate limited`);return}this.scheduleRefresh(this.uri||S.url,ee)},onTimeout:(v,S,F)=>{this.log(`Timeout loading steering manifest (${S.url})`),this.scheduleRefresh(this.uri||S.url)}};this.log(`Requesting steering manifest: ${r}`),this.loader.load(a,p,m)}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 wu(o,e,t,n){o&&Object.keys(e).forEach(r=>{const a=o.filter(s=>s.groupId===r).map(s=>{const d=b({},s);return d.details=void 0,d.attrs=new Gr(d.attrs),d.url=d.attrs.URI=_u(s.url,s.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",t),d.groupId=d.attrs["GROUP-ID"]=e[r],d.attrs["PATHWAY-ID"]=n,d});o.push(...a)})}function _u(o,e,t,n){const{HOST:r,PARAMS:a,[t]:s}=n;let d;e&&(d=s==null?void 0:s[e],d&&(o=d));const p=new self.URL(o);return r&&!d&&(p.host=r),a&&Object.keys(a).sort().forEach(m=>{m&&p.searchParams.set(m,a[m])}),p.href}class Jo extends Y{constructor(e){super("eme",e.logger),this.hls=void 0,this.config=void 0,this.media=null,this.mediaResolved=void 0,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.mediaKeys=null,this.setMediaKeysQueue=Jo.CDMCleanupPromise?[Jo.CDMCleanupPromise]:[],this.bannedKeyIds={},this.onMediaEncrypted=t=>{const{initDataType:n,initData:r}=t,a=`"${t.type}" event: init data type: "${n}"`;if(this.debug(a),r!==null){if(!this.keyFormatPromise){let s=Object.keys(this.keySystemAccessPromises);s.length||(s=ua(this.config));const d=s.map(Xi).filter(p=>!!p);this.keyFormatPromise=this.getKeyFormatPromise(d)}this.keyFormatPromise.then(s=>{const d=ma(s);if(n!=="sinf"||d!==jr.FAIRPLAY){this.log(`Ignoring "${t.type}" event with init data type: "${n}" for selected key-system ${d}`);return}let p;try{const q=yt(new Uint8Array(r)),ee=Mr(JSON.parse(q).sinf),We=xe(ee);if(!We)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");p=new Uint8Array(We.subarray(8,24))}catch(q){this.warn(`${a} Failed to parse sinf: ${q}`);return}const m=se(p),{keyIdToKeySessionPromise:v,mediaKeySessions:S}=this;let F=v[m];for(let q=0;q<S.length;q++){const ee=S[q],We=ee.decryptdata;if(!We.keyId)continue;const He=se(We.keyId);if(zr(p,We.keyId)||We.uri.replace(/-/g,"").indexOf(m)!==-1){if(F=v[He],!F)continue;if(We.pssh)break;delete v[He],We.pssh=new Uint8Array(r),We.keyId=p,F=v[m]=F.then(()=>this.generateRequestWithPreferredKeySession(ee,n,r,"encrypted-event-key-match")),F.catch(Dt=>this.handleError(Dt));break}}F||this.handleError(new Error(`Key ID ${m} not encountered in playlist. Key-system sessions ${S.length}.`))}).catch(s=>this.handleError(s))}},this.onWaitingForKey=t=>{this.log(`"${t.type}" event`)},this.hls=e,this.config=e.config,this.registerListeners()}destroy(){this.onDestroying(),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(g.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(g.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(g.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(g.MANIFEST_LOADED,this.onManifestLoaded,this),this.hls.on(g.DESTROYING,this.onDestroying,this)}unregisterListeners(){this.hls.off(g.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(g.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(g.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(g.MANIFEST_LOADED,this.onManifestLoaded,this),this.hls.off(g.DESTROYING,this.onDestroying,this)}getLicenseServerUrl(e){const{drmSystems:t,widevineLicenseUrl:n}=this.config,r=t==null?void 0:t[e];if(r)return r.licenseUrl;if(e===jr.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==null?void 0: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,d,p)=>!!s&&p.indexOf(s)===d,r=t.map(s=>s.audioCodec).filter(n),a=t.map(s=>s.videoCodec).filter(n);return r.length+a.length===0&&a.push("avc1.42e01e"),new Promise((s,d)=>{const p=m=>{const v=m.shift();this.getMediaKeysPromise(v,r,a).then(S=>s({keySystem:v,mediaKeys:S})).catch(S=>{m.length?p(m):S instanceof Is?d(S):d(new Is({type:ce.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_NO_ACCESS,error:S,fatal:!0},S.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 mi===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){var r;const a=ai(e,t,n,this.config.drmSystemOptions||{});let s=this.keySystemAccessPromises[e],d=(r=s)==null?void 0:r.keySystemAccess;if(!d){this.log(`Requesting encrypted media "${e}" key-system access with config: ${ct(a)}`),d=this.requestMediaKeySystemAccess(e,a);const p=s=this.keySystemAccessPromises[e]={keySystemAccess:d};return d.catch(m=>{this.log(`Failed to obtain access to key-system "${e}": ${m}`)}),d.then(m=>{this.log(`Access for key-system "${m.keySystem}" obtained`);const v=this.fetchServerCertificate(e);this.log(`Create media-keys for "${e}"`);const S=p.mediaKeys=m.createMediaKeys().then(F=>(this.log(`Media-keys created for "${e}"`),p.hasMediaKeys=!0,v.then(q=>q?this.setMediaKeysServerCertificate(F,e,q):F)));return S.catch(F=>{this.error(`Failed to create media-keys for "${e}"}: ${F}`)}),S})}return d.then(()=>s.mediaKeys)}createMediaKeySessionContext({decryptdata:e,keySystem:t,mediaKeys:n}){this.log(`Creating key-system session "${t}" keyId: ${se(e.keyId||[])} keyUri: ${e.uri}`);const r=n.createSession(),a={decryptdata:e,keySystem:t,mediaKeys:n,mediaKeysSession:r,keyStatus:"status-pending"};return this.mediaKeySessions.push(a),a}renewKeySession(e){const t=e.decryptdata;if(t.pssh){const n=this.createMediaKeySessionContext(e),r=Zl(t),a="cenc";this.keyIdToKeySessionPromise[r]=this.generateRequestWithPreferredKeySession(n,a,t.pssh.buffer,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(e)}updateKeySession(e,t){const n=e.mediaKeysSession;return this.log(`Updating key-session "${n.sessionId}" for keyId ${se(e.decryptdata.keyId||[])}
|
|
|
} (data length: ${t.byteLength})`),n.update(t)}getSelectedKeySystemFormats(){return Object.keys(this.keySystemAccessPromises).map(e=>({keySystem:e,hasMediaKeys:this.keySystemAccessPromises[e].hasMediaKeys})).filter(({hasMediaKeys:e})=>!!e).map(({keySystem:e})=>Xi(e)).filter(e=>!!e)}getKeySystemAccess(e){return this.getKeySystemSelectionPromise(e).then(({keySystem:t,mediaKeys:n})=>this.attemptSetMediaKeys(t,n))}selectKeySystem(e){return new Promise((t,n)=>{this.getKeySystemSelectionPromise(e).then(({keySystem:r})=>{const a=Xi(r);a?t(a):n(new Error(`Unable to find format for key-system "${r}"`))}).catch(n)})}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){const t=ua(this.config),n=e.map(ma).filter(r=>!!r&&t.indexOf(r)!==-1);return this.selectKeySystem(n)}getKeyStatus(e){const{mediaKeySessions:t}=this;for(let n=0;n<t.length;n++){const r=Rc(e,t[n]);if(r)return r}}loadKey(e){const t=e.keyInfo.decryptdata,n=Zl(t),r=this.bannedKeyIds[n];if(r||this.getKeyStatus(t)==="internal-error"){const d=Au(r||"internal-error",t);return this.handleError(d,e.frag),Promise.reject(d)}const a=`(keyId: ${n} format: "${t.keyFormat}" method: ${t.method} uri: ${t.uri})`;this.log(`Starting session for key ${a}`);const s=this.keyIdToKeySessionPromise[n];if(!s){const d=this.getKeySystemForKeyPromise(t).then(({keySystem:p,mediaKeys:m})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${e.frag.sn} ${e.frag.type}: ${e.frag.level} using key ${a}`),this.attemptSetMediaKeys(p,m).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:p,mediaKeys:m,decryptdata:t}))))).then(p=>{const m="cenc",v=t.pssh?t.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(p,m,v,"playlist-key")});return d.catch(p=>this.handleError(p,e.frag)),this.keyIdToKeySessionPromise[n]=d,d}return s.catch(d=>{if(d instanceof Is){const p=w({},d.data);this.getKeyStatus(t)==="internal-error"&&(p.decryptdata=t);const m=new Is(p,d.message);this.handleError(m,e.frag)}}),s}throwIfDestroyed(e="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(e,t){if(this.hls)if(e instanceof Is){t&&(e.data.frag=t);const n=e.data.decryptdata;this.error(`${e.message}${n?` (${se(n.keyId||[])})`:""}`),this.hls.trigger(g.ERROR,e.data)}else this.error(e.message),this.hls.trigger(g.ERROR,{type:ce.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_NO_KEYS,error:e,fatal:!0})}getKeySystemForKeyPromise(e){const t=Zl(e),n=this.keyIdToKeySessionPromise[t];if(!n){const r=ma(e.keyFormat),a=r?[r]:ua(this.config);return this.attemptKeySystemAccess(a)}return n}getKeySystemSelectionPromise(e){if(e.length||(e=ua(this.config)),e.length===0)throw new Is({type:ce.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${ct({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(e)}attemptSetMediaKeys(e,t){if(this.mediaResolved=void 0,this.mediaKeys===t)return Promise.resolve();const n=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${e}"`);const r=Promise.all(n).then(()=>this.media?this.media.setMediaKeys(t):new Promise((a,s)=>{this.mediaResolved=()=>{if(this.mediaResolved=void 0,!this.media)return s(new Error("Attempted to set mediaKeys without media element attached"));this.mediaKeys=t,this.media.setMediaKeys(t).then(a).catch(s)}}));return this.mediaKeys=t,this.setMediaKeysQueue.push(r),r.then(()=>{this.log(`Media-keys set for "${e}"`),n.push(r),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(a=>n.indexOf(a)===-1)})}generateRequestWithPreferredKeySession(e,t,n,r){var a;const s=(a=this.config.drmSystems)==null||(a=a[e.keySystem])==null?void 0:a.generateRequest;if(s)try{const ee=s.call(this.hls,t,n,e);if(!ee)throw new Error("Invalid response from configured generateRequest filter");t=ee.initDataType,n=ee.initData?ee.initData:null,e.decryptdata.pssh=n?new Uint8Array(n):null}catch(ee){if(this.warn(ee.message),this.hls&&this.hls.config.debug)throw ee}if(n===null)return this.log(`Skipping key-session request for "${r}" (no initData)`),Promise.resolve(e);const d=Zl(e.decryptdata),p=e.decryptdata.uri;this.log(`Generating key-session request for "${r}" keyId: ${d} URI: ${p} (init data type: ${t} length: ${n.byteLength})`);const m=new xo,v=e._onmessage=ee=>{const We=e.mediaKeysSession;if(!We){m.emit("error",new Error("invalid state"));return}const{messageType:He,message:Dt}=ee;this.log(`"${He}" message event for session "${We.sessionId}" message size: ${Dt.byteLength}`),He==="license-request"||He==="license-renewal"?this.renewLicense(e,Dt).catch(Ut=>{m.eventNames().length?m.emit("error",Ut):this.handleError(Ut)}):He==="license-release"?e.keySystem===jr.FAIRPLAY&&this.updateKeySession(e,Vr("acknowledged")).then(()=>this.removeSession(e)).catch(Ut=>this.handleError(Ut)):this.warn(`unhandled media key message type "${He}"`)},S=(ee,We)=>{We.keyStatus=ee;let He;ee.startsWith("usable")?m.emit("resolved"):ee==="internal-error"||ee==="output-restricted"||ee==="output-downscaled"?He=Au(ee,We.decryptdata):ee==="expired"?He=new Error(`key expired (keyId: ${d})`):ee==="released"?He=new Error("key released"):ee==="status-pending"||this.warn(`unhandled key status change "${ee}" (keyId: ${d})`),He&&(m.eventNames().length?m.emit("error",He):this.handleError(He))},F=e._onkeystatuseschange=ee=>{if(!e.mediaKeysSession){m.emit("error",new Error("invalid state"));return}const He=this.getKeyStatuses(e);if(!Object.keys(He).some(yn=>He[yn]!=="status-pending"))return;if(He[d]==="expired"){this.log(`Expired key ${ct(He)} in key-session "${e.mediaKeysSession.sessionId}"`),this.renewKeySession(e);return}let Ut=He[d];if(Ut)S(Ut,e);else{var $t;e.keyStatusTimeouts||(e.keyStatusTimeouts={}),($t=e.keyStatusTimeouts)[d]||($t[d]=self.setTimeout(()=>{if(!e.mediaKeysSession||!this.mediaKeys)return;const Tn=this.getKeyStatus(e.decryptdata);if(Tn&&Tn!=="status-pending")return this.log(`No status for keyId ${d} in key-session "${e.mediaKeysSession.sessionId}". Using session key-status ${Tn} from other session.`),S(Tn,e);this.log(`key status for ${d} in key-session "${e.mediaKeysSession.sessionId}" timed out after 1000ms`),Ut="internal-error",S(Ut,e)},1e3)),this.log(`No status for keyId ${d} (${ct(He)}).`)}};Ha(e.mediaKeysSession,"message",v),Ha(e.mediaKeysSession,"keystatuseschange",F);const q=new Promise((ee,We)=>{m.on("error",We),m.on("resolved",ee)});return e.mediaKeysSession.generateRequest(t,n).then(()=>{this.log(`Request generated for key-session "${e.mediaKeysSession.sessionId}" keyId: ${d} URI: ${p}`)}).catch(ee=>{throw new Is({type:ce.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_NO_SESSION,error:ee,decryptdata:e.decryptdata,fatal:!1},`Error generating key-session request: ${ee}`)}).then(()=>q).catch(ee=>(m.removeAllListeners(),this.removeSession(e).then(()=>{throw ee}))).then(()=>(m.removeAllListeners(),e))}getKeyStatuses(e){const t={};return e.mediaKeysSession.keyStatuses.forEach((n,r)=>{if(typeof r=="string"&&typeof n=="object"){const d=r;r=n,n=d}const a="buffer"in r?new Uint8Array(r.buffer,r.byteOffset,r.byteLength):new Uint8Array(r);e.keySystem===jr.PLAYREADY&&a.length===16&&xr(a);const s=se(a);n==="internal-error"&&(this.bannedKeyIds[s]=n),this.log(`key status change "${n}" for keyStatuses keyId: ${s} key-session "${e.mediaKeysSession.sessionId}"`),t[s]=n}),t}fetchServerCertificate(e){const t=this.config,n=t.loader,r=new n(t),a=this.getServerCertificateUrl(e);return a?(this.log(`Fetching server certificate for "${e}"`),new Promise((s,d)=>{const p={responseType:"arraybuffer",url:a},m=t.certLoadPolicy.default,v={loadPolicy:m,timeout:m.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},S={onSuccess:(F,q,ee,We)=>{s(F.data)},onError:(F,q,ee,We)=>{d(new Is({type:ce.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:ee,response:w({url:p.url,data:void 0},F)},`"${e}" certificate request failed (${a}). Status: ${F.code} (${F.text})`))},onTimeout:(F,q,ee)=>{d(new Is({type:ce.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:ee,response:{url:p.url,data:void 0}},`"${e}" certificate request timed out (${a})`))},onAbort:(F,q,ee)=>{d(new Error("aborted"))}};r.load(p,v,S)})):Promise.resolve()}setMediaKeysServerCertificate(e,t,n){return new Promise((r,a)=>{e.setServerCertificate(n).then(s=>{this.log(`setServerCertificate ${s?"success":"not supported by CDM"} (${n.byteLength}) on "${t}"`),r(e)}).catch(s=>{a(new Is({type:ce.KEY_SYSTEM_ERROR,details:j.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 Is({type:ce.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_SESSION_UPDATE_FAILED,decryptdata:e.decryptdata,error:r,fatal:!1},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"),a=r.querySelectorAll("HttpHeader");if(a.length>0){let v;for(let S=0,F=a.length;S<F;S++){var s,d;v=a[S];const q=(s=v.querySelector("name"))==null?void 0:s.textContent,ee=(d=v.querySelector("value"))==null?void 0:d.textContent;q&&ee&&e.setRequestHeader(q,ee)}}const p=r.querySelector("Challenge"),m=p==null?void 0:p.textContent;if(!m)throw new Error("Cannot find <Challenge> in key message");return Vr(atob(m))}setupLicenseXHR(e,t,n,r){const a=this.config.licenseXhrSetup;return a?Promise.resolve().then(()=>{if(!n.decryptdata)throw new Error("Key removed");return a.call(this.hls,e,t,n,r)}).catch(s=>{if(!n.decryptdata)throw s;return e.open("POST",t,!0),a.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,a)=>{const s=this.getLicenseServerUrlOrThrow(e.keySystem);this.log(`Sending license request to URL: ${s}`);const d=new XMLHttpRequest;d.responseType="arraybuffer",d.onreadystatechange=()=>{if(!this.hls||!e.mediaKeysSession)return a(new Error("invalid state"));if(d.readyState===4)if(d.status===200){this._requestLicenseFailureCount=0;let p=d.response;this.log(`License received ${p instanceof ArrayBuffer?p.byteLength:p}`);const m=this.config.licenseResponseCallback;if(m)try{p=m.call(this.hls,d,s,e)}catch(v){this.error(v)}r(p)}else{const p=n.errorRetry,m=p?p.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>m||d.status>=400&&d.status<500)a(new Is({type:ce.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_LICENSE_REQUEST_FAILED,decryptdata:e.decryptdata,fatal:!0,networkDetails:d,response:{url:s,data:void 0,code:d.status,text:d.statusText}},`License Request XHR failed (${s}). Status: ${d.status} (${d.statusText})`));else{const v=m-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${v} attempts left`),this.requestLicense(e,t).then(r,a)}}},e.licenseXhr&&e.licenseXhr.readyState!==XMLHttpRequest.DONE&&e.licenseXhr.abort(),e.licenseXhr=d,this.setupLicenseXHR(d,s,e,t).then(({xhr:p,licenseChallenge:m})=>{e.keySystem==jr.PLAYREADY&&(m=this.unpackPlayReadyKeyMessage(p,m)),p.send(m)}).catch(a)})}onDestroying(){this.unregisterListeners(),this._clear()}onMediaAttached(e,t){if(!this.config.emeEnabled)return;const n=t.media;this.media=n,Ha(n,"encrypted",this.onMediaEncrypted),Ha(n,"waitingforkey",this.onWaitingForKey);const r=this.mediaResolved;r?r():this.mediaKeys=n.mediaKeys}onMediaDetached(){const e=this.media;e&&(Qa(e,"encrypted",this.onMediaEncrypted),Qa(e,"waitingforkey",this.onWaitingForKey),this.media=null,this.mediaKeys=null)}_clear(){var e;this._requestLicenseFailureCount=0,this.keyIdToKeySessionPromise={},this.bannedKeyIds={};const t=this.mediaResolved;if(t&&t(),!this.mediaKeys&&!this.mediaKeySessions.length)return;const n=this.media,r=this.mediaKeySessions.slice();this.mediaKeySessions=[],this.mediaKeys=null,Ca.clearKeyUriToKeyIdMap();const a=r.length;Jo.CDMCleanupPromise=Promise.all(r.map(s=>this.removeSession(s)).concat((n==null||(e=n.setMediaKeys(null))==null?void 0:e.catch(s=>{this.log(`Could not clear media keys: ${s}`),this.hls&&this.hls.trigger(g.ERROR,{type:ce.OTHER_ERROR,details:j.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,fatal:!1,error:new Error(`Could not clear media keys: ${s}`)})}))||Promise.resolve())).catch(s=>{this.log(`Could not close sessions and clear media keys: ${s}`),this.hls&&this.hls.trigger(g.ERROR,{type:ce.OTHER_ERROR,details:j.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close sessions and clear media keys: ${s}`)})}).then(()=>{a&&this.log("finished closing key sessions and clearing media keys")})}onManifestLoading(){this._clear()}onManifestLoaded(e,{sessionKeys:t}){if(!(!t||!this.config.emeEnabled)&&!this.keyFormatPromise){const n=t.reduce((r,a)=>(r.indexOf(a.keyFormat)===-1&&r.push(a.keyFormat),r),[]);this.log(`Selecting key-system from session-keys ${n.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(n)}}removeSession(e){const{mediaKeysSession:t,licenseXhr:n,decryptdata:r}=e;if(t){this.log(`Remove licenses and keys and close session "${t.sessionId}" keyId: ${se((r==null?void 0:r.keyId)||[])}`),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 a=this.mediaKeySessions.indexOf(e);a>-1&&this.mediaKeySessions.splice(a,1);const{keyStatusTimeouts:s}=e;s&&Object.keys(s).forEach(m=>self.clearTimeout(s[m]));const{drmSystemOptions:d}=this.config;return(Li(d)?new Promise((m,v)=>{self.setTimeout(()=>v(new Error("MediaKeySession.remove() timeout")),8e3),t.remove().then(m).catch(v)}):Promise.resolve()).catch(m=>{this.log(`Could not remove session: ${m}`),this.hls&&this.hls.trigger(g.ERROR,{type:ce.OTHER_ERROR,details:j.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${m}`)})}).then(()=>t.close()).catch(m=>{this.log(`Could not close session: ${m}`),this.hls&&this.hls.trigger(g.ERROR,{type:ce.OTHER_ERROR,details:j.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${m}`)})})}return Promise.resolve()}}Jo.CDMCleanupPromise=void 0;function Zl(o){if(!o)throw new Error("Could not read keyId of undefined decryptdata");if(o.keyId===null)throw new Error("keyId is null");return se(o.keyId)}function Rc(o,e){if(o.keyId&&e.mediaKeysSession.keyStatuses.has(o.keyId))return e.mediaKeysSession.keyStatuses.get(o.keyId);if(o.matches(e.decryptdata))return e.keyStatus}class Is 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}}function Au(o,e){const t=o==="output-restricted",n=t?j.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:j.KEY_SYSTEM_STATUS_INTERNAL_ERROR;return new Is({type:ce.KEY_SYSTEM_ERROR,details:n,fatal:!1,decryptdata:e},t?"HDCP level output restricted":`key status changed to "${o}"`)}class Lc{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(g.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.on(g.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListeners(){this.hls.off(g.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.off(g.MEDIA_DETACHING,this.onMediaDetaching,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)}}onMediaDetaching(){this.media=null}checkFPS(e,t,n){const r=performance.now();if(t){if(this.lastTime){const a=r-this.lastTime,s=n-this.lastDroppedFrames,d=t-this.lastDecodedFrames,p=1e3*s/a,m=this.hls;if(m.trigger(g.FPS_DROP,{currentDropped:s,currentDecoded:d,totalDroppedFrames:n}),p>0&&s>m.config.fpsDroppedMonitoringThreshold*d){let v=m.currentLevel;m.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+v),v>0&&(m.autoLevelCapping===-1||m.autoLevelCapping>=v)&&(v=v-1,m.trigger(g.FPS_DROP_LEVEL_CAPPING,{level:v,droppedLevel:m.currentLevel}),m.autoLevelCapping=v,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)}}function Tu(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 Iu(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){he.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){he.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${r}`)}}t==="disabled"&&(o.mode=t)}function qo(o,e){const t=o.mode;if(t==="disabled"&&(o.mode="hidden"),o.cues)for(let n=o.cues.length;n--;)e&&o.cues[n].removeEventListener("enter",e),o.removeCue(o.cues[n]);t==="disabled"&&(o.mode=t)}function nu(o,e,t,n){const r=o.mode;if(r==="disabled"&&(o.mode="hidden"),o.cues&&o.cues.length>0){const a=Pc(o.cues,e,t);for(let s=0;s<a.length;s++)(!n||n(a[s]))&&o.removeCue(a[s])}r==="disabled"&&(o.mode=r)}function Oc(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,a;for(;n<=r;)if(a=Math.floor((r+n)/2),e<o[a].startTime)r=a-1;else if(e>o[a].startTime&&n<t)n=a+1;else return a;return o[n].startTime-e<e-o[r].startTime?n:r}function Pc(o,e,t){const n=[],r=Oc(o,e);if(r>-1)for(let a=r,s=o.length;a<s;a++){const d=o[a];if(d.startTime>=e&&d.endTime<=t)n.push(d);else if(d.startTime>t)return n}return n}function jl(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}class Mc extends _a{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.useTextTrackPolling=!1,this.subtitlePollingInterval=-1,this._subtitleDisplay=!0,this.asyncPollTrackChange=()=>this.pollTrackChange(0),this.onTextTracksChanged=()=>{if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),!this.media||!this.hls.config.renderTextTracksNatively)return;let t=null;const n=jl(this.media.textTracks);for(let a=0;a<n.length;a++)if(n[a].mode==="hidden")t=n[a];else if(n[a].mode==="showing"){t=n[a];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(g.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(g.MANIFEST_LOADING,this.onManifestLoading,this),e.on(g.MANIFEST_PARSED,this.onManifestParsed,this),e.on(g.LEVEL_LOADING,this.onLevelLoading,this),e.on(g.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(g.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(g.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(g.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(g.MANIFEST_LOADING,this.onManifestLoading,this),e.off(g.MANIFEST_PARSED,this.onManifestParsed,this),e.off(g.LEVEL_LOADING,this.onLevelLoading,this),e.off(g.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(g.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(g.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(e,t){const n=this.media;if(!n)return;const r=!!t.transferMedia;if(self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||n.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),this.subtitleTrack=-1,this.media=null,r)return;jl(n.textTracks).forEach(s=>{qo(s)})}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:a}=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 d=s.details;s.details=t.details,this.log(`Subtitle track ${n} "${s.name}" lang:${s.lang} group:${r} loaded [${a.startSN}-${a.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,d)}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 a=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(v=>!n||n.indexOf(v.groupId)!==-1);if(s.length)this.selectDefaultTrack&&!s.some(v=>v.default)&&(this.selectDefaultTrack=!1),s.forEach((v,S)=>{v.id=S});else if(!a&&!this.tracksInGroup.length)return;this.tracksInGroup=s;const d=this.hls.config.subtitlePreference;if(!a&&d){this.selectDefaultTrack=!1;const v=sn(d,s);if(v>-1)a=s[v];else{const S=sn(d,this.tracks);a=this.tracks[S]}}let p=this.findTrackId(a);p===-1&&a&&(p=this.findTrackId(null));const m={subtitleTracks:s};this.log(`Updating subtitle tracks, ${s.length} track(s) found in "${n==null?void 0:n.join(",")}" group-id`),this.hls.trigger(g.SUBTITLE_TRACKS_UPDATED,m),p!==-1&&this.trackId===-1&&this.setSubtitleTrack(p)}}findTrackId(e){const t=this.tracksInGroup,n=this.selectDefaultTrack;for(let r=0;r<t.length;r++){const a=t[r];if(!(n&&!a.default||!n&&!e)&&(!e||gn(a,e)))return r}if(e){for(let r=0;r<t.length;r++){const a=t[r];if(xs(e.attrs,a.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return r}for(let r=0;r<t.length;r++){const a=t[r];if(xs(e.attrs,a.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(fo(r,e))return n}}return-1}onError(e,t){t.fatal||!t.context||t.context.type===V.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){if(e.id===-1)return this.setSubtitleTrack(-1),null;const t=this.allSubtitleTracks;if(this.selectDefaultTrack=!1,t.length){const n=this.currentTrack;if(n&&gn(e,n))return n;const r=sn(e,this.tracksInGroup);if(r>-1){const a=this.tracksInGroup[r];return this.setSubtitleTrack(r),a}else{if(n)return null;{const a=sn(e,t);if(a>-1)return t[a]}}}}return null}loadPlaylist(e){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentTrack)&&this.scheduleLoading(this.currentTrack,e)}loadingPlaylist(e,t){super.loadingPlaylist(e,t);const n=e.id,r=e.groupId,a=this.getUrlWithDirectives(e.url,t),s=e.details,d=s==null?void 0:s.age;this.log(`Loading subtitle ${n} "${e.name}" lang:${e.lang} group:${r}${(t==null?void 0:t.msn)!==void 0?" at sn "+t.msn+" part "+t.part:""}${d&&s.live?" age "+d.toFixed(1)+(s.type?" "+s.type||0:""):""} ${a}`),this.hls.trigger(g.SUBTITLE_TRACK_LOADING,{url:a,id:n,groupId:r,deliveryDirectives:t||null,track:e})}toggleTrackModes(){const{media:e}=this;if(!e)return;const t=jl(e.textTracks),n=this.currentTrack;let r;if(n&&(r=t.filter(a=>fo(n,a))[0],r||this.warn(`Unable to find subtitle TextTrack with name "${n.name}" and language "${n.lang}"`)),[].slice.call(t).forEach(a=>{a.mode!=="disabled"&&a!==r&&(a.mode="disabled")}),r){const a=this.subtitleDisplay?"showing":"hidden";r.mode!==a&&(r.mode=a)}}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.selectDefaultTrack=!1;const n=this.currentTrack,r=t[e]||null;if(this.trackId=e,this.currentTrack=r,this.toggleTrackModes(),!r){this.hls.trigger(g.SUBTITLE_TRACK_SWITCH,{id:e});return}const a=!!r.details&&!r.details.live;if(e===this.trackId&&r===n&&a)return;this.log(`Switching to subtitle-track ${e}`+(r?` "${r.name}" lang:${r.lang} group:${r.groupId}`:""));const{id:s,groupId:d="",name:p,type:m,url:v}=r;this.hls.trigger(g.SUBTITLE_TRACK_SWITCH,{id:s,groupId:d,name:p,type:m,url:v});const S=this.switchParams(r.url,n==null?void 0:n.details,r.details);this.loadPlaylist(S)}}function Nc(){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 a=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(r=="x"?a:a&3|8).toString(16)})}}}function xl(o){let e=5381,t=o.length;for(;t;)e=e*33^o.charCodeAt(--t);return(e>>>0).toString()}const el=.025;let Ul=function(o){return o[o.Point=0]="Point",o[o.Range=1]="Range",o}({});function kc(o,e,t){return`${o.identifier}-${t+1}-${xl(e)}`}class Bc{constructor(e,t){this.base=void 0,this._duration=null,this._timelineStart=null,this.appendInPlaceDisabled=void 0,this.appendInPlaceStarted=void 0,this.dateRange=void 0,this.hasPlayed=!1,this.cumulativeDuration=0,this.resumeOffset=NaN,this.playoutLimit=NaN,this.restrictions={skip:!1,jump:!1},this.snapOptions={out:!1,in:!1},this.assetList=[],this.assetListLoader=void 0,this.assetListResponse=null,this.resumeAnchor=void 0,this.error=void 0,this.resetOnResume=void 0,this.base=t,this.dateRange=e,this.setDateRange(e)}setDateRange(e){this.dateRange=e,this.resumeOffset=e.attr.optionalFloat("X-RESUME-OFFSET",this.resumeOffset),this.playoutLimit=e.attr.optionalFloat("X-PLAYOUT-LIMIT",this.playoutLimit),this.restrictions=e.attr.enumeratedStringList("X-RESTRICT",this.restrictions),this.snapOptions=e.attr.enumeratedStringList("X-SNAP",this.snapOptions)}reset(){var e;this.appendInPlaceStarted=!1,(e=this.assetListLoader)==null||e.destroy(),this.assetListLoader=void 0,this.supplementsPrimary||(this.assetListResponse=null,this.assetList=[],this._duration=null)}isAssetPastPlayoutLimit(e){var t;if(e>0&&e>=this.assetList.length)return!0;const n=this.playoutLimit;return e<=0||isNaN(n)?!1:n===0?!0:(((t=this.assetList[e])==null?void 0:t.startOffset)||0)>n}findAssetIndex(e){return this.assetList.indexOf(e)}get identifier(){return this.dateRange.id}get startDate(){return this.dateRange.startDate}get startTime(){const e=this.dateRange.startTime;if(this.snapOptions.out){const t=this.dateRange.tagAnchor;if(t)return ru(e,t)}return e}get startOffset(){return this.cue.pre?0:this.startTime}get startIsAligned(){if(this.startTime===0||this.snapOptions.out)return!0;const e=this.dateRange.tagAnchor;if(e){const t=this.dateRange.startTime,n=ru(t,e);return t-n<.1}return!1}get resumptionOffset(){const e=this.resumeOffset,t=i(e)?e:this.duration;return this.cumulativeDuration+t}get resumeTime(){const e=this.startOffset+this.resumptionOffset;if(this.snapOptions.in){const t=this.resumeAnchor;if(t)return ru(e,t)}return e}get appendInPlace(){return this.appendInPlaceStarted?!0:this.appendInPlaceDisabled?!1:!!(!this.cue.once&&!this.cue.pre&&this.startIsAligned&&(isNaN(this.playoutLimit)&&isNaN(this.resumeOffset)||this.resumeOffset&&this.duration&&Math.abs(this.resumeOffset-this.duration)<el))}set appendInPlace(e){if(this.appendInPlaceStarted){this.resetOnResume=!e;return}this.appendInPlaceDisabled=!e}get timelineStart(){return this._timelineStart!==null?this._timelineStart:this.startTime}set timelineStart(e){this._timelineStart=e}get duration(){const e=this.playoutLimit;let t;return this._duration!==null?t=this._duration:this.dateRange.duration?t=this.dateRange.duration:t=this.dateRange.plannedDuration||0,!isNaN(e)&&e<t&&(t=e),t}set duration(e){this._duration=e}get cue(){return this.dateRange.cue}get timelineOccupancy(){return this.dateRange.attr["X-TIMELINE-OCCUPIES"]==="RANGE"?Ul.Range:Ul.Point}get supplementsPrimary(){return this.dateRange.attr["X-TIMELINE-STYLE"]==="PRIMARY"}get contentMayVary(){return this.dateRange.attr["X-CONTENT-MAY-VARY"]!=="NO"}get assetUrl(){return this.dateRange.attr["X-ASSET-URI"]}get assetListUrl(){return this.dateRange.attr["X-ASSET-LIST"]}get baseUrl(){return this.base.url}get assetListLoaded(){return this.assetList.length>0||this.assetListResponse!==null}toString(){return Fc(this)}}function ru(o,e){return o-e.start<e.duration/2&&!(Math.abs(o-(e.start+e.duration))<el)?e.start:e.start+e.duration}function Du(o,e,t){const n=new self.URL(o,t);return n.protocol!=="data:"&&n.searchParams.set("_HLS_primary_id",e),n}function iu(o,e){for(;(t=o.assetList[++e])!=null&&t.error;)var t;return e}function Fc(o){return`["${o.identifier}" ${o.cue.pre?"<pre>":o.cue.post?"<post>":""}${o.timelineStart.toFixed(2)}-${o.resumeTime.toFixed(2)}]`}function tl(o){const e=o.timelineStart,t=o.duration||0;return`["${o.identifier}" ${e.toFixed(2)}-${(e+t).toFixed(2)}]`}class zc{constructor(e,t,n,r){this.hls=void 0,this.interstitial=void 0,this.assetItem=void 0,this.tracks=null,this.hasDetails=!1,this.mediaAttached=null,this._currentTime=void 0,this._bufferedEosTime=void 0,this.checkPlayout=()=>{this.reachedPlayout(this.currentTime)&&this.hls&&this.hls.trigger(g.PLAYOUT_LIMIT_REACHED,{})};const a=this.hls=new e(t);this.interstitial=n,this.assetItem=r;const s=()=>{this.hasDetails=!0};a.once(g.LEVEL_LOADED,s),a.once(g.AUDIO_TRACK_LOADED,s),a.once(g.SUBTITLE_TRACK_LOADED,s),a.on(g.MEDIA_ATTACHING,(d,{media:p})=>{this.removeMediaListeners(),this.mediaAttached=p,this.interstitial.playoutLimit&&(p.addEventListener("timeupdate",this.checkPlayout),this.appendInPlace&&a.on(g.BUFFER_APPENDED,()=>{const v=this.bufferedEnd;this.reachedPlayout(v)&&(this._bufferedEosTime=v,a.trigger(g.BUFFERED_TO_END,void 0))}))})}get appendInPlace(){return this.interstitial.appendInPlace}loadSource(){const e=this.hls;if(e)if(e.url)e.levels.length&&!e.started&&e.startLoad(-1,!0);else{let t=this.assetItem.uri;try{t=Du(t,e.config.primarySessionId||"").href}catch(n){}e.loadSource(t)}}bufferedInPlaceToEnd(e){var t;if(!this.appendInPlace)return!1;if((t=this.hls)!=null&&t.bufferedToEnd)return!0;if(!e)return!1;const n=Math.min(this._bufferedEosTime||1/0,this.duration),r=this.timelineOffset,a=cr.bufferInfo(e,r,0);return this.getAssetTime(a.end)>=n-.02}reachedPlayout(e){const n=this.interstitial.playoutLimit;return this.startOffset+e>=n}get destroyed(){var e;return!((e=this.hls)!=null&&e.userConfig)}get assetId(){return this.assetItem.identifier}get interstitialId(){return this.assetItem.parentIdentifier}get media(){var e;return((e=this.hls)==null?void 0:e.media)||null}get bufferedEnd(){const e=this.media||this.mediaAttached;if(!e)return this._bufferedEosTime?this._bufferedEosTime:this.currentTime;const t=cr.bufferInfo(e,e.currentTime,.001);return this.getAssetTime(t.end)}get currentTime(){const e=this.media||this.mediaAttached;return e?this.getAssetTime(e.currentTime):this._currentTime||0}get duration(){const e=this.assetItem.duration;if(!e)return 0;const t=this.interstitial.playoutLimit;if(t){const n=t-this.startOffset;if(n>0&&n<e)return n}return e}get remaining(){const e=this.duration;return e?Math.max(0,e-this.currentTime):0}get startOffset(){return this.assetItem.startOffset}get timelineOffset(){var e;return((e=this.hls)==null?void 0:e.config.timelineOffset)||0}set timelineOffset(e){const t=this.timelineOffset;if(e!==t){const n=e-t;if(Math.abs(n)>1/9e4&&this.hls){if(this.hasDetails)throw new Error("Cannot set timelineOffset after playlists are loaded");this.hls.config.timelineOffset=e}}}getAssetTime(e){const t=this.timelineOffset,n=this.duration;return Math.min(Math.max(0,e-t),n)}removeMediaListeners(){const e=this.mediaAttached;e&&(this._currentTime=e.currentTime,this.bufferSnapShot(),e.removeEventListener("timeupdate",this.checkPlayout))}bufferSnapShot(){if(this.mediaAttached){var e;(e=this.hls)!=null&&e.bufferedToEnd&&(this._bufferedEosTime=this.bufferedEnd)}}destroy(){this.removeMediaListeners(),this.hls&&this.hls.destroy(),this.hls=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(e){var t;this.loadSource(),(t=this.hls)==null||t.attachMedia(e)}detachMedia(){var e;this.removeMediaListeners(),this.mediaAttached=null,(e=this.hls)==null||e.detachMedia()}resumeBuffering(){var e;(e=this.hls)==null||e.resumeBuffering()}pauseBuffering(){var e;(e=this.hls)==null||e.pauseBuffering()}transferMedia(){var e;return this.bufferSnapShot(),((e=this.hls)==null?void 0:e.transferMedia())||null}resetDetails(){const e=this.hls;if(e&&this.hasDetails){e.stopLoad();const t=n=>delete n.details;e.levels.forEach(t),e.allAudioTracks.forEach(t),e.allSubtitleTracks.forEach(t),this.hasDetails=!1}}on(e,t,n){var r;(r=this.hls)==null||r.on(e,t)}once(e,t,n){var r;(r=this.hls)==null||r.once(e,t)}off(e,t,n){var r;(r=this.hls)==null||r.off(e,t)}toString(){var e;return`HlsAssetPlayer: ${tl(this.assetItem)} ${(e=this.hls)==null?void 0:e.sessionId} ${this.appendInPlace?"append-in-place":""}`}}const Ru=.033;class Zc extends Y{constructor(e,t){super("interstitials-sched",t),this.onScheduleUpdate=void 0,this.eventMap={},this.events=null,this.items=null,this.durations={primary:0,playout:0,integrated:0},this.onScheduleUpdate=e}destroy(){this.reset(),this.onScheduleUpdate=null}reset(){this.eventMap={},this.setDurations(0,0,0),this.events&&this.events.forEach(e=>e.reset()),this.events=this.items=null}resetErrorsInRange(e,t){return this.events?this.events.reduce((n,r)=>e<=r.startOffset&&t>r.startOffset?(delete r.error,n+1):n,0):0}get duration(){const e=this.items;return e?e[e.length-1].end:0}get length(){return this.items?this.items.length:0}getEvent(e){return e&&this.eventMap[e]||null}hasEvent(e){return e in this.eventMap}findItemIndex(e,t){if(e.event)return this.findEventIndex(e.event.identifier);let n=-1;e.nextEvent?n=this.findEventIndex(e.nextEvent.identifier)-1:e.previousEvent&&(n=this.findEventIndex(e.previousEvent.identifier)+1);const r=this.items;if(r)for(r[n]||(t===void 0&&(t=e.start),n=this.findItemIndexAtTime(t));n>=0&&(a=r[n])!=null&&a.event;){var a;n--}return n}findItemIndexAtTime(e,t){const n=this.items;if(n)for(let r=0;r<n.length;r++){let a=n[r];if(t&&t!=="primary"&&(a=a[t]),e===a.start||e>a.start&&e<a.end)return r}return-1}findJumpRestrictedIndex(e,t){const n=this.items;if(n)for(let r=e;r<=t&&n[r];r++){const a=n[r].event;if(a!=null&&a.restrictions.jump&&!a.appendInPlace)return r}return-1}findEventIndex(e){const t=this.items;if(t)for(let r=t.length;r--;){var n;if(((n=t[r].event)==null?void 0:n.identifier)===e)return r}return-1}findAssetIndex(e,t){const n=e.assetList,r=n.length;if(r>1)for(let a=0;a<r;a++){const s=n[a];if(!s.error){const d=s.timelineStart;if(t===d||t>d&&(t<d+(s.duration||0)||a===r-1))return a}}return 0}get assetIdAtEnd(){var e;const t=(e=this.items)==null||(e=e[this.length-1])==null?void 0:e.event;if(t){const n=t.assetList,r=n[n.length-1];if(r)return r.identifier}return null}parseInterstitialDateRanges(e,t){const n=e.main.details,{dateRanges:r}=n,a=this.events,s=this.parseDateRanges(r,{url:n.url},t),d=Object.keys(r),p=a?a.filter(m=>!d.includes(m.identifier)):[];s.length&&s.sort((m,v)=>{const S=m.cue.pre,F=m.cue.post,q=v.cue.pre,ee=v.cue.post;if(S&&!q)return-1;if(q&&!S||F&&!ee)return 1;if(ee&&!F)return-1;if(!S&&!q&&!F&&!ee){const We=m.startTime,He=v.startTime;if(We!==He)return We-He}return m.dateRange.tagOrder-v.dateRange.tagOrder}),this.events=s,p.forEach(m=>{this.removeEvent(m)}),this.updateSchedule(e,p)}updateSchedule(e,t=[],n=!1){const r=this.events||[];if(r.length||t.length||this.length<2){const a=this.items,s=this.parseSchedule(r,e);(n||t.length||(a==null?void 0:a.length)!==s.length||s.some((p,m)=>Math.abs(p.playout.start-a[m].playout.start)>.005||Math.abs(p.playout.end-a[m].playout.end)>.005))&&(this.items=s,this.onScheduleUpdate(t,a))}}parseDateRanges(e,t,n){const r=[],a=Object.keys(e);for(let s=0;s<a.length;s++){const d=a[s],p=e[d];if(p.isInterstitial){let m=this.eventMap[d];m?m.setDateRange(p):(m=new Bc(p,t),this.eventMap[d]=m,n===!1&&(m.appendInPlace=n)),r.push(m)}}return r}parseSchedule(e,t){const n=[],r=t.main.details,a=r.live?1/0:r.edge;let s=0;if(e=e.filter(p=>!p.error&&!(p.cue.once&&p.hasPlayed)),e.length){this.resolveOffsets(e,t);let p=0,m=0;if(e.forEach((v,S)=>{const F=v.cue.pre,q=v.cue.post,ee=e[S-1]||null,We=v.appendInPlace,He=q?a:v.startOffset,Dt=v.duration,Ut=v.timelineOccupancy===Ul.Range?Dt:0,$t=v.resumptionOffset,yn=(ee==null?void 0:ee.startTime)===He,Tn=He+v.cumulativeDuration;let sr=We?Tn+Dt:He+$t;if(F||!q&&He<=0){const Vn=m;m+=Ut,v.timelineStart=Tn;const $n=s;s+=Dt,n.push({event:v,start:Tn,end:sr,playout:{start:$n,end:s},integrated:{start:Vn,end:m}})}else if(He<=a){if(!yn){const On=He-p;if(On>Ru){const pr=p,$r=m;m+=On;const oi=s;s+=On;const vi={previousEvent:e[S-1]||null,nextEvent:v,start:pr,end:pr+On,playout:{start:oi,end:s},integrated:{start:$r,end:m}};n.push(vi)}else On>0&&ee&&(ee.cumulativeDuration+=On,n[n.length-1].end=He)}q&&(sr=Tn),v.timelineStart=Tn;const Vn=m;m+=Ut;const $n=s;s+=Dt,n.push({event:v,start:Tn,end:sr,playout:{start:$n,end:s},integrated:{start:Vn,end:m}})}else return;const Dn=v.resumeTime;q||Dn>a?p=a:p=Dn}),p<a){var d;const v=p,S=m,F=a-p;m+=F;const q=s;s+=F,n.push({previousEvent:((d=n[n.length-1])==null?void 0:d.event)||null,nextEvent:null,start:p,end:v+F,playout:{start:q,end:s},integrated:{start:S,end:m}})}this.setDurations(a,s,m)}else n.push({previousEvent:null,nextEvent:null,start:0,end:a,playout:{start:0,end:a},integrated:{start:0,end:a}}),this.setDurations(a,a,a);return n}setDurations(e,t,n){this.durations={primary:e,playout:t,integrated:n}}resolveOffsets(e,t){const n=t.main.details,r=n.live?1/0:n.edge;let a=0,s=-1;e.forEach((d,p)=>{const m=d.cue.pre,v=d.cue.post,S=m?0:v?r:d.startTime;this.updateAssetDurations(d),s===S?d.cumulativeDuration=a:(a=0,s=S),!v&&d.snapOptions.in&&(d.resumeAnchor=Yn(null,n.fragments,d.startOffset+d.resumptionOffset,0,0)||void 0),d.appendInPlace&&!d.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(d,t)||(d.appendInPlace=!1)),!d.appendInPlace&&p+1<e.length&&e[p+1].startTime-e[p].resumeTime<Ru&&(e[p+1].appendInPlace=!1,e[p+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${d}`));const q=i(d.resumeOffset)?d.resumeOffset:d.duration;a+=q})}primaryCanResumeInPlaceAt(e,t){const n=e.resumeTime,r=e.startTime+e.resumptionOffset;return Math.abs(n-r)>el?(this.log(`"${e.identifier}" resumption ${n} not aligned with estimated timeline end ${r}`),!1):!Object.keys(t).some(s=>{const d=t[s].details,p=d.edge;if(n>=p)return this.log(`"${e.identifier}" resumption ${n} past ${s} playlist end ${p}`),!1;const m=Yn(null,d.fragments,n);if(!m)return this.log(`"${e.identifier}" resumption ${n} does not align with any fragments in ${s} playlist (${d.fragStart}-${d.fragmentEnd})`),!0;const v=s==="audio"?.175:0;return Math.abs(m.start-n)<el+v||Math.abs(m.end-n)<el+v?!1:(this.log(`"${e.identifier}" resumption ${n} not aligned with ${s} fragment bounds (${m.start}-${m.end} sn: ${m.sn} cc: ${m.cc})`),!0)})}updateAssetDurations(e){if(!e.assetListLoaded)return;const t=e.timelineStart;let n=0,r=!1,a=!1;for(let s=0;s<e.assetList.length;s++){const d=e.assetList[s],p=t+n;d.startOffset=n,d.timelineStart=p,r||(r=d.duration===null),a||(a=!!d.error);const m=d.error?0:d.duration||0;n+=m}r&&!a?e.duration=Math.max(n,e.duration):e.duration=n}removeEvent(e){e.reset(),delete this.eventMap[e.identifier]}}function Ks(o){return`[${o.event?'"'+o.event.identifier+'"':"primary"}: ${o.start.toFixed(2)}-${o.end.toFixed(2)}]`}class jc{constructor(e){this.hls=void 0,this.hls=e}destroy(){this.hls=null}loadAssetList(e,t){const n=e.assetListUrl;let r;try{r=Du(n,this.hls.sessionId,e.baseUrl)}catch(F){const q=this.assignAssetListError(e,j.ASSET_LIST_LOAD_ERROR,F,n);this.hls.trigger(g.ERROR,q);return}t&&r.protocol!=="data:"&&r.searchParams.set("_HLS_start_offset",""+t);const a=this.hls.config,s=a.loader,d=new s(a),p={responseType:"json",url:r.href},m=a.interstitialAssetListLoadPolicy.default,v={loadPolicy:m,timeout:m.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},S={onSuccess:(F,q,ee,We)=>{const He=F.data,Dt=He==null?void 0:He.ASSETS;if(!Array.isArray(Dt)){const Ut=this.assignAssetListError(e,j.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),ee.url,q,We);this.hls.trigger(g.ERROR,Ut);return}e.assetListResponse=He,this.hls.trigger(g.ASSET_LIST_LOADED,{event:e,assetListResponse:He,networkDetails:We})},onError:(F,q,ee,We)=>{const He=this.assignAssetListError(e,j.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${F.code} ${F.text} (${q.url})`),q.url,We,ee);this.hls.trigger(g.ERROR,He)},onTimeout:(F,q,ee)=>{const We=this.assignAssetListError(e,j.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${q.url})`),q.url,F,ee);this.hls.trigger(g.ERROR,We)}};return d.load(p,v,S),this.hls.trigger(g.ASSET_LIST_LOADING,{event:e}),d}assignAssetListError(e,t,n,r,a,s){return e.error=n,{type:ce.NETWORK_ERROR,details:t,fatal:!1,interstitial:e,url:r,error:n,networkDetails:s,stats:a}}}function Lu(o){var e;o==null||(e=o.play())==null||e.catch(()=>{})}function Kl(o,e){return`[${o}] Advancing timeline position to ${e}`}class Uc extends Y{constructor(e,t){super("interstitials",e.logger),this.HlsPlayerClass=void 0,this.hls=void 0,this.assetListLoader=void 0,this.mediaSelection=null,this.altSelection=null,this.media=null,this.detachedData=null,this.requiredTracks=null,this.manager=null,this.playerQueue=[],this.bufferedPos=-1,this.timelinePos=-1,this.schedule=void 0,this.playingItem=null,this.bufferingItem=null,this.waitingItem=null,this.endedItem=null,this.playingAsset=null,this.endedAsset=null,this.bufferingAsset=null,this.shouldPlay=!1,this.onPlay=()=>{this.shouldPlay=!0},this.onPause=()=>{this.shouldPlay=!1},this.onSeeking=()=>{const n=this.currentTime;if(n===void 0||this.playbackDisabled||!this.schedule)return;const r=n-this.timelinePos;if(Math.abs(r)<1/7056e5)return;const s=r<=-.01;this.timelinePos=n,this.bufferedPos=n;const d=this.playingItem;if(!d){this.checkBuffer();return}if(s&&this.schedule.resetErrorsInRange(n,n-r)&&this.updateSchedule(!0),this.checkBuffer(),s&&n<d.start||n>=d.end){var p;const q=this.findItemIndex(d);let ee=this.schedule.findItemIndexAtTime(n);if(ee===-1&&(ee=q+(s?-1:1),this.log(`seeked ${s?"back ":""}to position not covered by schedule ${n} (resolving from ${q} to ${ee})`)),!this.isInterstitial(d)&&(p=this.media)!=null&&p.paused&&(this.shouldPlay=!1),!s&&ee>q){const We=this.schedule.findJumpRestrictedIndex(q+1,ee);if(We>q){this.setSchedulePosition(We);return}}this.setSchedulePosition(ee);return}const m=this.playingAsset;if(!m){if(this.playingLastItem&&this.isInterstitial(d)){const q=d.event.assetList[0];q&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(n,q))}return}const v=m.timelineStart,S=m.duration||0;if(s&&n<v||n>=v+S){var F;(F=d.event)!=null&&F.appendInPlace&&(this.clearInterstitial(d.event,d),this.flushFrontBuffer(n)),this.setScheduleToAssetAtTime(n,m)}},this.onTimeupdate=()=>{const n=this.currentTime;if(n===void 0||this.playbackDisabled)return;if(n>this.timelinePos)this.timelinePos=n,n>this.bufferedPos&&this.checkBuffer();else return;const r=this.playingItem;if(!r||this.playingLastItem)return;if(n>=r.end){this.timelinePos=r.end;const d=this.findItemIndex(r);this.setSchedulePosition(d+1)}const a=this.playingAsset;if(!a)return;const s=a.timelineStart+(a.duration||0);n>=s&&this.setScheduleToAssetAtTime(n,a)},this.onScheduleUpdate=(n,r)=>{const a=this.schedule;if(!a)return;const s=this.playingItem,d=a.events||[],p=a.items||[],m=a.durations,v=n.map(We=>We.identifier),S=!!(d.length||v.length);(S||r)&&this.log(`INTERSTITIALS_UPDATED (${d.length}): ${d}
|
|
|
Schedule: ${p.map(We=>Ks(We))} pos: ${this.timelinePos}`),v.length&&this.log(`Removed events ${v}`);let F=null,q=null;s&&(F=this.updateItem(s,this.timelinePos),this.itemsMatch(s,F)?this.playingItem=F:this.waitingItem=this.endedItem=null),this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const ee=this.bufferingItem;if(ee&&(q=this.updateItem(ee,this.bufferedPos),this.itemsMatch(ee,q)?this.bufferingItem=q:ee.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(ee.event,null))),n.forEach(We=>{We.assetList.forEach(He=>{this.clearAssetPlayer(He.identifier,null)})}),this.playerQueue.forEach(We=>{if(We.interstitial.appendInPlace){const He=We.assetItem.timelineStart,Dt=We.timelineOffset-He;if(Dt)try{We.timelineOffset=He}catch(Ut){Math.abs(Dt)>el&&this.warn(`${Ut} ("${We.assetId}" ${We.timelineOffset}->${He})`)}}}),S||r){if(this.hls.trigger(g.INTERSTITIALS_UPDATED,{events:d.slice(0),schedule:p.slice(0),durations:m,removedIds:v}),this.isInterstitial(s)&&v.includes(s.event.identifier)){this.warn(`Interstitial "${s.event.identifier}" removed while playing`),this.primaryFallback(s.event);return}s&&this.trimInPlace(F,s),ee&&q!==F&&this.trimInPlace(q,ee),this.checkBuffer()}},this.hls=e,this.HlsPlayerClass=t,this.assetListLoader=new jc(e),this.schedule=new Zc(this.onScheduleUpdate,e.logger),this.registerListeners()}registerListeners(){const e=this.hls;e&&(e.on(g.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(g.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(g.MANIFEST_LOADING,this.onManifestLoading,this),e.on(g.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(g.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(g.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),e.on(g.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(g.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),e.on(g.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),e.on(g.ASSET_LIST_LOADED,this.onAssetListLoaded,this),e.on(g.BUFFER_APPENDED,this.onBufferAppended,this),e.on(g.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(g.BUFFERED_TO_END,this.onBufferedToEnd,this),e.on(g.MEDIA_ENDED,this.onMediaEnded,this),e.on(g.ERROR,this.onError,this),e.on(g.DESTROYING,this.onDestroying,this))}unregisterListeners(){const e=this.hls;e&&(e.off(g.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(g.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(g.MANIFEST_LOADING,this.onManifestLoading,this),e.off(g.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(g.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(g.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),e.off(g.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(g.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),e.off(g.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),e.off(g.ASSET_LIST_LOADED,this.onAssetListLoaded,this),e.off(g.BUFFER_CODECS,this.onBufferCodecs,this),e.off(g.BUFFER_APPENDED,this.onBufferAppended,this),e.off(g.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(g.BUFFERED_TO_END,this.onBufferedToEnd,this),e.off(g.MEDIA_ENDED,this.onMediaEnded,this),e.off(g.ERROR,this.onError,this),e.off(g.DESTROYING,this.onDestroying,this))}startLoad(){this.resumeBuffering()}stopLoad(){this.pauseBuffering()}resumeBuffering(){var e;(e=this.getBufferingPlayer())==null||e.resumeBuffering()}pauseBuffering(){var e;(e=this.getBufferingPlayer())==null||e.pauseBuffering()}destroy(){this.unregisterListeners(),this.stopLoad(),this.assetListLoader&&this.assetListLoader.destroy(),this.emptyPlayerQueue(),this.clearScheduleState(),this.schedule&&this.schedule.destroy(),this.media=this.detachedData=this.mediaSelection=this.requiredTracks=this.altSelection=this.schedule=this.manager=null,this.hls=this.HlsPlayerClass=this.log=null,this.assetListLoader=null,this.onPlay=this.onPause=this.onSeeking=this.onTimeupdate=null,this.onScheduleUpdate=null}onDestroying(){const e=this.primaryMedia||this.media;e&&this.removeMediaListeners(e)}removeMediaListeners(e){Qa(e,"play",this.onPlay),Qa(e,"pause",this.onPause),Qa(e,"seeking",this.onSeeking),Qa(e,"timeupdate",this.onTimeupdate)}onMediaAttaching(e,t){const n=this.media=t.media;Ha(n,"seeking",this.onSeeking),Ha(n,"timeupdate",this.onTimeupdate),Ha(n,"play",this.onPlay),Ha(n,"pause",this.onPause)}onMediaAttached(e,t){const n=this.effectivePlayingItem,r=this.detachedData;if(this.detachedData=null,n===null)this.checkStart();else if(!r){this.clearScheduleState();const a=this.findItemIndex(n);this.setSchedulePosition(a)}}clearScheduleState(){this.log("clear schedule state"),this.playingItem=this.bufferingItem=this.waitingItem=this.endedItem=this.playingAsset=this.endedAsset=this.bufferingAsset=null}onMediaDetaching(e,t){const n=!!t.transferMedia,r=this.media;if(this.media=null,!n&&(r&&this.removeMediaListeners(r),this.detachedData)){const a=this.getBufferingPlayer();a&&(this.log(`Removing schedule state for detachedData and ${a}`),this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,a.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.hls)return null;if(this.manager)return this.manager;const e=this,t=()=>e.bufferingItem||e.waitingItem,n=S=>S&&e.getAssetPlayer(S.identifier),r=(S,F,q,ee,We)=>{if(S){let He=S[F].start;const Dt=S.event;if(Dt){if(F==="playout"||Dt.timelineOccupancy!==Ul.Point){const Ut=n(q);(Ut==null?void 0:Ut.interstitial)===Dt&&(He+=Ut.assetItem.startOffset+Ut[We])}}else{const Ut=ee==="bufferedPos"?s():e[ee];He+=Ut-S.start}return He}return 0},a=(S,F)=>{var q;if(S!==0&&F!=="primary"&&(q=e.schedule)!=null&&q.length){var ee;const We=e.schedule.findItemIndexAtTime(S),He=(ee=e.schedule.items)==null?void 0:ee[We];if(He){const Dt=He[F].start-He.start;return S+Dt}}return S},s=()=>{const S=e.bufferedPos;return S===Number.MAX_VALUE?d("primary"):Math.max(S,0)},d=S=>{var F,q;return(F=e.primaryDetails)!=null&&F.live?e.primaryDetails.edge:((q=e.schedule)==null?void 0:q.durations[S])||0},p=(S,F)=>{var q,ee;const We=e.effectivePlayingItem;if(We!=null&&(q=We.event)!=null&&q.restrictions.skip||!e.schedule)return;e.log(`seek to ${S} "${F}"`);const He=e.effectivePlayingItem,Dt=e.schedule.findItemIndexAtTime(S,F),Ut=(ee=e.schedule.items)==null?void 0:ee[Dt],$t=e.getBufferingPlayer(),yn=$t==null?void 0:$t.interstitial,Tn=yn==null?void 0:yn.appendInPlace,sr=He&&e.itemsMatch(He,Ut);if(He&&(Tn||sr)){const Dn=n(e.playingAsset),Vn=(Dn==null?void 0:Dn.media)||e.primaryMedia;if(Vn){const $n=F==="primary"?Vn.currentTime:r(He,F,e.playingAsset,"timelinePos","currentTime"),On=S-$n,pr=(Tn?$n:Vn.currentTime)+On;if(pr>=0&&(!Dn||Tn||pr<=Dn.duration)){Vn.currentTime=pr;return}}}if(Ut){let Dn=S;if(F!=="primary"){const $n=Ut[F].start,On=S-$n;Dn=Ut.start+On}const Vn=!e.isInterstitial(Ut);if((!e.isInterstitial(He)||He.event.appendInPlace)&&(Vn||Ut.event.appendInPlace)){const $n=e.media||(Tn?$t==null?void 0:$t.media:null);$n&&($n.currentTime=Dn)}else if(He){const $n=e.findItemIndex(He);if(Dt>$n){const pr=e.schedule.findJumpRestrictedIndex($n+1,Dt);if(pr>$n){e.setSchedulePosition(pr);return}}let On=0;if(Vn)e.timelinePos=Dn,e.checkBuffer();else{const pr=Ut.event.assetList,$r=S-(Ut[F]||Ut).start;for(let oi=pr.length;oi--;){const vi=pr[oi];if(vi.duration&&$r>=vi.startOffset&&$r<vi.startOffset+vi.duration){On=oi;break}}}e.setSchedulePosition(Dt,On)}}},m=()=>{const S=e.effectivePlayingItem;if(e.isInterstitial(S))return S;const F=t();return e.isInterstitial(F)?F:null},v={get bufferedEnd(){const S=t(),F=e.bufferingItem;if(F&&F===S){var q;return r(F,"playout",e.bufferingAsset,"bufferedPos","bufferedEnd")-F.playout.start||((q=e.bufferingAsset)==null?void 0:q.startOffset)||0}return 0},get currentTime(){const S=m(),F=e.effectivePlayingItem;return F&&F===S?r(F,"playout",e.effectivePlayingAsset,"timelinePos","currentTime")-F.playout.start:0},set currentTime(S){const F=m(),q=e.effectivePlayingItem;q&&q===F&&p(S+q.playout.start,"playout")},get duration(){const S=m();return S?S.playout.end-S.playout.start:0},get assetPlayers(){var S;const F=(S=m())==null?void 0:S.event.assetList;return F?F.map(q=>e.getAssetPlayer(q.identifier)):[]},get playingIndex(){var S;const F=(S=m())==null?void 0:S.event;return F&&e.effectivePlayingAsset?F.findAssetIndex(e.effectivePlayingAsset):-1},get scheduleItem(){return m()}};return this.manager={get events(){var S;return((S=e.schedule)==null||(S=S.events)==null?void 0:S.slice(0))||[]},get schedule(){var S;return((S=e.schedule)==null||(S=S.items)==null?void 0:S.slice(0))||[]},get interstitialPlayer(){return m()?v:null},get playerQueue(){return e.playerQueue.slice(0)},get bufferingAsset(){return e.bufferingAsset},get bufferingItem(){return t()},get bufferingIndex(){const S=t();return e.findItemIndex(S)},get playingAsset(){return e.effectivePlayingAsset},get playingItem(){return e.effectivePlayingItem},get playingIndex(){const S=e.effectivePlayingItem;return e.findItemIndex(S)},primary:{get bufferedEnd(){return s()},get currentTime(){const S=e.timelinePos;return S>0?S:0},set currentTime(S){p(S,"primary")},get duration(){return d("primary")},get seekableStart(){var S;return((S=e.primaryDetails)==null?void 0:S.fragmentStart)||0}},integrated:{get bufferedEnd(){return r(t(),"integrated",e.bufferingAsset,"bufferedPos","bufferedEnd")},get currentTime(){return r(e.effectivePlayingItem,"integrated",e.effectivePlayingAsset,"timelinePos","currentTime")},set currentTime(S){p(S,"integrated")},get duration(){return d("integrated")},get seekableStart(){var S;return a(((S=e.primaryDetails)==null?void 0:S.fragmentStart)||0,"integrated")}},skip:()=>{const S=e.effectivePlayingItem,F=S==null?void 0:S.event;if(F&&!F.restrictions.skip){const q=e.findItemIndex(S);if(F.appendInPlace){const ee=S.playout.start+S.event.duration;p(ee+.001,"playout")}else e.advanceAfterAssetEnded(F,q,1/0)}}}}get effectivePlayingItem(){return this.waitingItem||this.playingItem||this.endedItem}get effectivePlayingAsset(){return this.playingAsset||this.endedAsset}get playingLastItem(){var e;const t=this.playingItem,n=(e=this.schedule)==null?void 0:e.items;return!this.playbackStarted||!t||!n?!1:this.findItemIndex(t)===n.length-1}get playbackStarted(){return this.effectivePlayingItem!==null}get currentTime(){var e,t;if(this.mediaSelection===null)return;const n=this.waitingItem||this.playingItem;if(this.isInterstitial(n)&&!n.event.appendInPlace)return;let r=this.media;!r&&(e=this.bufferingItem)!=null&&(e=e.event)!=null&&e.appendInPlace&&(r=this.primaryMedia);const a=(t=r)==null?void 0:t.currentTime;if(!(a===void 0||!i(a)))return a}get primaryMedia(){var e;return this.media||((e=this.detachedData)==null?void 0:e.media)||null}isInterstitial(e){return!!(e!=null&&e.event)}retreiveMediaSource(e,t){const n=this.getAssetPlayer(e);n&&this.transferMediaFromPlayer(n,t)}transferMediaFromPlayer(e,t){const n=e.interstitial.appendInPlace,r=e.media;if(n&&r===this.primaryMedia){if(this.bufferingAsset=null,(!t||this.isInterstitial(t)&&!t.event.appendInPlace)&&t&&r){this.detachedData={media:r};return}const a=e.transferMedia();this.log(`transfer MediaSource from ${e} ${ct(a)}`),this.detachedData=a}else t&&r&&(this.shouldPlay||(this.shouldPlay=!r.paused))}transferMediaTo(e,t){var n,r;if(e.media===t)return;let a=null;const s=this.hls,d=e!==s,p=d&&e.interstitial.appendInPlace,m=(n=this.detachedData)==null?void 0:n.mediaSource;let v;if(s.media)p&&(a=s.transferMedia(),this.detachedData=a),v="Primary";else if(m){const ee=this.getBufferingPlayer();ee?(a=ee.transferMedia(),v=`${ee}`):v="detached MediaSource"}else v="detached media";if(!a){if(m)a=this.detachedData,this.log(`using detachedData: MediaSource ${ct(a)}`);else if(!this.detachedData||s.media===t){const ee=this.playerQueue;ee.length>1&&ee.forEach(We=>{if(d&&We.interstitial.appendInPlace!==p){const He=We.interstitial;this.clearInterstitial(We.interstitial,null),He.appendInPlace=!1,He.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${He}`)}}),this.hls.detachMedia(),this.detachedData={media:t}}}const S=a&&"mediaSource"in a&&((r=a.mediaSource)==null?void 0:r.readyState)!=="closed",F=S&&a?a:t;this.log(`${S?"transfering MediaSource":"attaching media"} to ${d?e:"Primary"} from ${v} (media.currentTime: ${t.currentTime})`);const q=this.schedule;if(F===a&&q){const ee=d&&e.assetId===q.assetIdAtEnd;F.overrides={duration:q.duration,endOfStream:!d||ee,cueRemoval:!d}}e.attachMedia(F)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const e=this.schedule,t=e==null?void 0:e.events;if(!t||this.playbackDisabled||!this.media)return;this.bufferedPos===-1&&(this.bufferedPos=0);const n=this.timelinePos,r=this.effectivePlayingItem;if(n===-1){const a=this.hls.startPosition;if(this.log(Kl("checkStart",a)),this.timelinePos=a,t.length&&t[0].cue.pre){const s=e.findEventIndex(t[0].identifier);this.setSchedulePosition(s)}else if(a>=0||!this.primaryLive){const s=this.timelinePos=a>0?a:0,d=e.findItemIndexAtTime(s);this.setSchedulePosition(d)}}else if(r&&!this.playingItem){const a=e.findItemIndex(r);this.setSchedulePosition(a)}}advanceAssetBuffering(e,t){const n=e.event,r=n.findAssetIndex(t),a=iu(n,r);if(!n.isAssetPastPlayoutLimit(a))this.bufferedToEvent(e,a);else if(this.schedule){var s;const d=(s=this.schedule.items)==null?void 0:s[this.findItemIndex(e)+1];d&&this.bufferedToItem(d)}}advanceAfterAssetEnded(e,t,n){const r=iu(e,n);if(e.isAssetPastPlayoutLimit(r)){if(this.schedule){const a=this.schedule.items;if(a){const s=t+1,d=a.length;if(s>=d){this.setSchedulePosition(-1);return}const p=e.resumeTime;this.timelinePos<p&&(this.log(Kl("advanceAfterAssetEnded",p)),this.timelinePos=p,e.appendInPlace&&this.advanceInPlace(p),this.checkBuffer(this.bufferedPos<p)),this.setSchedulePosition(s)}}}else{if(e.appendInPlace){const a=e.assetList[r];a&&this.advanceInPlace(a.timelineStart)}this.setSchedulePosition(t,r)}}setScheduleToAssetAtTime(e,t){const n=this.schedule;if(!n)return;const r=t.parentIdentifier,a=n.getEvent(r);if(a){const s=n.findEventIndex(r),d=n.findAssetIndex(a,e);this.advanceAfterAssetEnded(a,s,d-1)}}setSchedulePosition(e,t){var n;const r=(n=this.schedule)==null?void 0:n.items;if(!r||this.playbackDisabled)return;const a=e>=0?r[e]:null;this.log(`setSchedulePosition ${e}, ${t} (${a&&Ks(a)}) pos: ${this.timelinePos}`);const s=this.waitingItem||this.playingItem,d=this.playingLastItem;if(this.isInterstitial(s)){const v=s.event,S=this.playingAsset,F=S==null?void 0:S.identifier,q=F?this.getAssetPlayer(F):null;if(q&&F&&(!this.eventItemsMatch(s,a)||t!==void 0&&F!==v.assetList[t].identifier)){var p;const ee=v.findAssetIndex(S);if(this.log(`INTERSTITIAL_ASSET_ENDED ${ee+1}/${v.assetList.length} ${tl(S)}`),this.endedAsset=S,this.playingAsset=null,this.hls.trigger(g.INTERSTITIAL_ASSET_ENDED,{asset:S,assetListIndex:ee,event:v,schedule:r.slice(0),scheduleIndex:e,player:q}),s!==this.playingItem){this.itemsMatch(s,this.playingItem)&&!this.playingAsset&&this.advanceAfterAssetEnded(v,this.findItemIndex(this.playingItem),ee);return}this.retreiveMediaSource(F,a),q.media&&!((p=this.detachedData)!=null&&p.mediaSource)&&q.detachMedia()}if(!this.eventItemsMatch(s,a)&&(this.endedItem=s,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${v} ${Ks(s)}`),v.hasPlayed=!0,this.hls.trigger(g.INTERSTITIAL_ENDED,{event:v,schedule:r.slice(0),scheduleIndex:e}),v.cue.once)){var m;this.updateSchedule();const ee=(m=this.schedule)==null?void 0:m.items;if(a&&ee){const We=this.findItemIndex(a);this.advanceSchedule(We,ee,t,s,d)}return}}this.advanceSchedule(e,r,t,s,d)}advanceSchedule(e,t,n,r,a){const s=this.schedule;if(!s)return;const d=t[e]||null,p=this.primaryMedia,m=this.playerQueue;if(m.length&&m.forEach(v=>{const S=v.interstitial,F=s.findEventIndex(S.identifier);(F<e||F>e+1)&&this.clearInterstitial(S,d)}),this.isInterstitial(d)){this.timelinePos=Math.min(Math.max(this.timelinePos,d.start),d.end);const v=d.event;if(n===void 0){n=s.findAssetIndex(v,this.timelinePos);const ee=iu(v,n-1);if(v.isAssetPastPlayoutLimit(ee)||v.appendInPlace&&this.timelinePos===d.end){this.advanceAfterAssetEnded(v,e,n);return}n=ee}const S=this.waitingItem;this.assetsBuffered(d,p)||this.setBufferingItem(d);let F=this.preloadAssets(v,n);if(this.eventItemsMatch(d,S||r)||(this.waitingItem=d,this.log(`INTERSTITIAL_STARTED ${Ks(d)} ${v.appendInPlace?"append in place":""}`),this.hls.trigger(g.INTERSTITIAL_STARTED,{event:v,schedule:t.slice(0),scheduleIndex:e})),!v.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${v}`);return}if(v.assetListLoader&&(v.assetListLoader.destroy(),v.assetListLoader=void 0),!p){this.log(`Waiting for attachMedia to start Interstitial ${v}`);return}this.waitingItem=this.endedItem=null,this.playingItem=d;const q=v.assetList[n];if(!q){this.advanceAfterAssetEnded(v,e,n||0);return}if(F||(F=this.getAssetPlayer(q.identifier)),F===null||F.destroyed){const ee=v.assetList.length;this.warn(`asset ${n+1}/${ee} player destroyed ${v}`),F=this.createAssetPlayer(v,q,n),F.loadSource()}if(!this.eventItemsMatch(d,this.bufferingItem)&&v.appendInPlace&&this.isAssetBuffered(q))return;this.startAssetPlayer(F,n,t,e,p),this.shouldPlay&&Lu(F.media)}else d?(this.resumePrimary(d,e,r),this.shouldPlay&&Lu(this.hls.media)):a&&this.isInterstitial(r)&&(this.endedItem=null,this.playingItem=r,r.event.appendInPlace||this.attachPrimary(s.durations.primary,null))}get playbackDisabled(){return this.hls.config.enableInterstitialPlayback===!1}get primaryDetails(){var e;return(e=this.mediaSelection)==null?void 0:e.main.details}get primaryLive(){var e;return!!((e=this.primaryDetails)!=null&&e.live)}resumePrimary(e,t,n){var r,a;if(this.playingItem=e,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(e),this.log(`resuming ${Ks(e)}`),!((r=this.detachedData)!=null&&r.mediaSource)){let d=this.timelinePos;(d<e.start||d>=e.end)&&(d=this.getPrimaryResumption(e,t),this.log(Kl("resumePrimary",d)),this.timelinePos=d),this.attachPrimary(d,e)}if(!n)return;const s=(a=this.schedule)==null?void 0:a.items;s&&(this.log(`INTERSTITIALS_PRIMARY_RESUMED ${Ks(e)}`),this.hls.trigger(g.INTERSTITIALS_PRIMARY_RESUMED,{schedule:s.slice(0),scheduleIndex:t}),this.checkBuffer())}getPrimaryResumption(e,t){const n=e.start;if(this.primaryLive){const r=this.primaryDetails;if(t===0)return this.hls.startPosition;if(r&&(n<r.fragmentStart||n>r.edge))return this.hls.liveSyncPosition||-1}return n}isAssetBuffered(e){const t=this.getAssetPlayer(e.identifier);return t!=null&&t.hls?t.hls.bufferedToEnd:cr.bufferInfo(this.primaryMedia,this.timelinePos,0).end+1>=e.timelineStart+(e.duration||0)}attachPrimary(e,t,n){t?this.setBufferingItem(t):this.bufferingItem=this.playingItem,this.bufferingAsset=null;const r=this.primaryMedia;if(!r)return;const a=this.hls;a.media?this.checkBuffer():(this.transferMediaTo(a,r),n&&this.startLoadingPrimaryAt(e,n)),n||(this.log(Kl("attachPrimary",e)),this.timelinePos=e,this.startLoadingPrimaryAt(e,n))}startLoadingPrimaryAt(e,t){var n;const r=this.hls;!r.loadingEnabled||!r.media||Math.abs((((n=r.mainForwardBufferInfo)==null?void 0:n.start)||r.media.currentTime)-e)>.5?r.startLoad(e,t):r.bufferingEnabled||r.resumeBuffering()}onManifestLoading(){var e;this.stopLoad(),(e=this.schedule)==null||e.reset(),this.emptyPlayerQueue(),this.clearScheduleState(),this.shouldPlay=!1,this.bufferedPos=this.timelinePos=-1,this.mediaSelection=this.altSelection=this.manager=this.requiredTracks=null,this.hls.off(g.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(g.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(e,t){if(t.level===-1||!this.schedule)return;const n=this.hls.levels[t.level];if(!n.details)return;const r=w(w({},this.mediaSelection||this.altSelection),{},{main:n});this.mediaSelection=r,this.schedule.parseInterstitialDateRanges(r,this.hls.config.interstitialAppendInPlace),!this.effectivePlayingItem&&this.schedule.items&&this.checkStart()}onAudioTrackUpdated(e,t){const n=this.hls.audioTracks[t.id],r=this.mediaSelection;if(!r){this.altSelection=w(w({},this.altSelection),{},{audio:n});return}const a=w(w({},r),{},{audio:n});this.mediaSelection=a}onSubtitleTrackUpdated(e,t){const n=this.hls.subtitleTracks[t.id],r=this.mediaSelection;if(!r){this.altSelection=w(w({},this.altSelection),{},{subtitles:n});return}const a=w(w({},r),{},{subtitles:n});this.mediaSelection=a}onAudioTrackSwitching(e,t){const n=an(t);this.playerQueue.forEach(({hls:r})=>r&&(r.setAudioOption(t)||r.setAudioOption(n)))}onSubtitleTrackSwitch(e,t){const n=an(t);this.playerQueue.forEach(({hls:r})=>r&&(r.setSubtitleOption(t)||t.id!==-1&&r.setSubtitleOption(n)))}onBufferCodecs(e,t){const n=t.tracks;n&&(this.requiredTracks=n)}onBufferAppended(e,t){this.checkBuffer()}onBufferFlushed(e,t){const n=this.playingItem;if(n&&!this.itemsMatch(n,this.bufferingItem)&&!this.isInterstitial(n)){const r=this.timelinePos;this.bufferedPos=r,this.checkBuffer()}}onBufferedToEnd(e){if(!this.schedule)return;const t=this.schedule.events;if(this.bufferedPos<Number.MAX_VALUE&&t){for(let r=0;r<t.length;r++){const a=t[r];if(a.cue.post){var n;const s=this.schedule.findEventIndex(a.identifier),d=(n=this.schedule.items)==null?void 0:n[s];this.isInterstitial(d)&&this.eventItemsMatch(d,this.bufferingItem)&&this.bufferedToItem(d,0);break}}this.bufferedPos=Number.MAX_VALUE}}onMediaEnded(e){const t=this.playingItem;if(!this.playingLastItem&&t){const n=this.findItemIndex(t);this.setSchedulePosition(n+1)}else this.shouldPlay=!1}updateItem(e,t){var n;const r=(n=this.schedule)==null?void 0:n.items;if(e&&r){const a=this.findItemIndex(e,t);return r[a]||null}return null}trimInPlace(e,t){if(this.isInterstitial(e)&&e.event.appendInPlace&&t.end-e.end>.25){e.event.assetList.forEach((a,s)=>{e.event.isAssetPastPlayoutLimit(s)&&this.clearAssetPlayer(a.identifier,null)});const n=e.end+.25,r=cr.bufferInfo(this.primaryMedia,n,0);(r.end>n||(r.nextStart||0)>n)&&(this.log(`trim buffered interstitial ${Ks(e)} (was ${Ks(t)})`),this.attachPrimary(n,null,!0),this.flushFrontBuffer(n))}}itemsMatch(e,t){return!!t&&(e===t||e.event&&t.event&&this.eventItemsMatch(e,t)||!e.event&&!t.event&&this.findItemIndex(e)===this.findItemIndex(t))}eventItemsMatch(e,t){var n;return!!t&&(e===t||e.event.identifier===((n=t.event)==null?void 0:n.identifier))}findItemIndex(e,t){return e&&this.schedule?this.schedule.findItemIndex(e,t):-1}updateSchedule(e=!1){var t;const n=this.mediaSelection;n&&((t=this.schedule)==null||t.updateSchedule(n,[],e))}checkBuffer(e){var t;const n=(t=this.schedule)==null?void 0:t.items;if(!n)return;const r=cr.bufferInfo(this.primaryMedia,this.timelinePos,0);e&&(this.bufferedPos=this.timelinePos),e||(e=r.len<1),this.updateBufferedPos(r.end,n,e)}updateBufferedPos(e,t,n){const r=this.schedule,a=this.bufferingItem;if(this.bufferedPos>e||!r)return;if(t.length===1&&this.itemsMatch(t[0],a)){this.bufferedPos=e;return}const s=this.playingItem,d=this.findItemIndex(s);let p=r.findItemIndexAtTime(e);if(this.bufferedPos<e){var m;const v=this.findItemIndex(a),S=Math.min(v+1,t.length-1),F=t[S];if((p===-1&&a&&e>=a.end||(m=F.event)!=null&&m.appendInPlace&&e+.01>=F.start)&&(p=S),this.isInterstitial(a)){const q=a.event;if(S-d>1&&q.appendInPlace===!1||q.assetList.length===0&&q.assetListLoader)return}if(this.bufferedPos=e,p>v&&p>d)this.bufferedToItem(F);else{const q=this.primaryDetails;this.primaryLive&&q&&e>q.edge-q.targetduration&&F.start<q.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(F)&&this.preloadAssets(F.event,0)}}else n&&s&&!this.itemsMatch(s,a)&&(p===d?this.bufferedToItem(s):p===d+1&&this.bufferedToItem(t[p]))}assetsBuffered(e,t){return e.event.assetList.length===0?!1:!e.event.assetList.some(r=>{const a=this.getAssetPlayer(r.identifier);return!(a!=null&&a.bufferedInPlaceToEnd(t))})}setBufferingItem(e){const t=this.bufferingItem,n=this.schedule;if(!this.itemsMatch(e,t)&&n){const{items:r,events:a}=n;if(!r||!a)return t;const s=this.isInterstitial(e),d=this.getBufferingPlayer();this.bufferingItem=e,this.bufferedPos=Math.max(e.start,Math.min(e.end,this.timelinePos));const p=d?d.remaining:t?t.end-this.timelinePos:0;if(this.log(`INTERSTITIALS_BUFFERED_TO_BOUNDARY ${Ks(e)}`+(t?` (${p.toFixed(2)} remaining)`:"")),!this.playbackDisabled)if(s){const m=n.findAssetIndex(e.event,this.bufferedPos);e.event.assetList.forEach((v,S)=>{const F=this.getAssetPlayer(v.identifier);F&&(S===m&&F.loadSource(),F.resumeBuffering())})}else this.hls.resumeBuffering(),this.playerQueue.forEach(m=>m.pauseBuffering());this.hls.trigger(g.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:a.slice(0),schedule:r.slice(0),bufferingIndex:this.findItemIndex(e),playingIndex:this.findItemIndex(this.playingItem)})}else this.bufferingItem!==e&&(this.bufferingItem=e);return t}bufferedToItem(e,t=0){const n=this.setBufferingItem(e);if(!this.playbackDisabled){if(this.isInterstitial(e))this.bufferedToEvent(e,t);else if(n!==null){this.bufferingAsset=null;const r=this.detachedData;r?r.mediaSource?this.attachPrimary(e.start,e,!0):this.preloadPrimary(e):this.preloadPrimary(e)}}}preloadPrimary(e){const t=this.findItemIndex(e),n=this.getPrimaryResumption(e,t);this.startLoadingPrimaryAt(n)}bufferedToEvent(e,t){const n=e.event,r=n.assetList.length===0&&!n.assetListLoader,a=n.cue.once;if(r||!a){const s=this.preloadAssets(n,t);if(s!=null&&s.interstitial.appendInPlace){const d=this.primaryMedia;d&&this.bufferAssetPlayer(s,d)}}}preloadAssets(e,t){const n=e.assetUrl,r=e.assetList.length,a=r===0&&!e.assetListLoader,s=e.cue.once;if(a){const p=e.timelineStart;if(e.appendInPlace){var d;const F=this.playingItem;!this.isInterstitial(F)&&(F==null||(d=F.nextEvent)==null?void 0:d.identifier)===e.identifier&&this.flushFrontBuffer(p+.25)}let m,v=0;if(!this.playingItem&&this.primaryLive&&(v=this.hls.startPosition,v===-1&&(v=this.hls.liveSyncPosition||0)),v&&!(e.cue.pre||e.cue.post)){const F=v-p;F>0&&(m=Math.round(F*1e3)/1e3)}if(this.log(`Load interstitial asset ${t+1}/${n?1:r} ${e}${m?` live-start: ${v} start-offset: ${m}`:""}`),n)return this.createAsset(e,0,0,p,e.duration,n);const S=this.assetListLoader.loadAssetList(e,m);S&&(e.assetListLoader=S)}else if(!s&&r){for(let m=t;m<r;m++){const v=e.assetList[m],S=this.getAssetPlayerQueueIndex(v.identifier);(S===-1||this.playerQueue[S].destroyed)&&!v.error&&this.createAssetPlayer(e,v,m)}const p=e.assetList[t];if(p){const m=this.getAssetPlayer(p.identifier);return m&&m.loadSource(),m}}return null}flushFrontBuffer(e){const t=this.requiredTracks;if(!t)return;this.log(`Removing front buffer starting at ${e}`),Object.keys(t).forEach(r=>{this.hls.trigger(g.BUFFER_FLUSHING,{startOffset:e,endOffset:1/0,type:r})})}getAssetPlayerQueueIndex(e){const t=this.playerQueue;for(let n=0;n<t.length;n++)if(e===t[n].assetId)return n;return-1}getAssetPlayer(e){const t=this.getAssetPlayerQueueIndex(e);return this.playerQueue[t]||null}getBufferingPlayer(){const{playerQueue:e,primaryMedia:t}=this;if(t){for(let n=0;n<e.length;n++)if(e[n].media===t)return e[n]}return null}createAsset(e,t,n,r,a,s){const d={parentIdentifier:e.identifier,identifier:kc(e,s,t),duration:a,startOffset:n,timelineStart:r,uri:s};return this.createAssetPlayer(e,d,t)}createAssetPlayer(e,t,n){const r=this.hls,a=r.userConfig;let s=a.videoPreference;const d=r.loadLevelObj||r.levels[r.currentLevel];(s||d)&&(s=b({},s),d.videoCodec&&(s.videoCodec=d.videoCodec),d.videoRange&&(s.allowedVideoRanges=[d.videoRange]));const p=r.audioTracks[r.audioTrack],m=r.subtitleTracks[r.subtitleTrack];let v=0;if(this.primaryLive||e.appendInPlace){const yn=this.timelinePos-t.timelineStart;if(yn>1){const Tn=t.duration;Tn&&yn<Tn&&(v=yn)}}const S=t.identifier,F=w(w({},a),{},{maxMaxBufferLength:Math.min(180,r.config.maxMaxBufferLength),autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:r.sessionId,assetPlayerId:S,abrEwmaDefaultEstimate:r.bandwidthEstimate,interstitialsController:void 0,startPosition:v,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:s,audioPreference:p||a.audioPreference,subtitlePreference:m||a.subtitlePreference});e.appendInPlace&&(e.appendInPlaceStarted=!0,t.timelineStart&&(F.timelineOffset=t.timelineStart));const q=F.cmcd;q!=null&&q.sessionId&&q.contentId&&(F.cmcd=b({},q,{contentId:xl(t.uri)})),this.getAssetPlayer(S)&&this.warn(`Duplicate date range identifier ${e} and asset ${S}`);const ee=new zc(this.HlsPlayerClass,F,e,t);this.playerQueue.push(ee),e.assetList[n]=t;let We=!0;const He=yn=>{if(yn.live){var Tn;const Vn=new Error(`Interstitials MUST be VOD assets ${e}`),$n={fatal:!0,type:ce.OTHER_ERROR,details:j.INTERSTITIAL_ASSET_ITEM_ERROR,error:Vn},On=((Tn=this.schedule)==null?void 0:Tn.findEventIndex(e.identifier))||-1;this.handleAssetItemError($n,e,On,n,Vn.message);return}const sr=yn.edge-yn.fragmentStart,Dn=t.duration;(We||Dn===null||sr>Dn)&&(We=!1,this.log(`Interstitial asset "${S}" duration change ${Dn} > ${sr}`),t.duration=sr,this.updateSchedule())};ee.on(g.LEVEL_UPDATED,(yn,{details:Tn})=>He(Tn)),ee.on(g.LEVEL_PTS_UPDATED,(yn,{details:Tn})=>He(Tn)),ee.on(g.EVENT_CUE_ENTER,()=>this.onInterstitialCueEnter());const Dt=(yn,Tn)=>{const sr=this.getAssetPlayer(S);if(sr&&Tn.tracks){sr.off(g.BUFFER_CODECS,Dt),sr.tracks=Tn.tracks;const Dn=this.primaryMedia;this.bufferingAsset===sr.assetItem&&Dn&&!sr.media&&this.bufferAssetPlayer(sr,Dn)}};ee.on(g.BUFFER_CODECS,Dt);const Ut=()=>{var yn;const Tn=this.getAssetPlayer(S);if(this.log(`buffered to end of asset ${Tn}`),!Tn||!this.schedule)return;const sr=this.schedule.findEventIndex(e.identifier),Dn=(yn=this.schedule.items)==null?void 0:yn[sr];this.isInterstitial(Dn)&&this.advanceAssetBuffering(Dn,t)};ee.on(g.BUFFERED_TO_END,Ut);const $t=yn=>()=>{if(!this.getAssetPlayer(S)||!this.schedule)return;this.shouldPlay=!0;const sr=this.schedule.findEventIndex(e.identifier);this.advanceAfterAssetEnded(e,sr,yn)};return ee.once(g.MEDIA_ENDED,$t(n)),ee.once(g.PLAYOUT_LIMIT_REACHED,$t(1/0)),ee.on(g.ERROR,(yn,Tn)=>{if(!this.schedule)return;const sr=this.getAssetPlayer(S);if(Tn.details===j.BUFFER_STALLED_ERROR){if(sr!=null&&sr.appendInPlace){this.handleInPlaceStall(e);return}this.onTimeupdate(),this.checkBuffer(!0);return}this.handleAssetItemError(Tn,e,this.schedule.findEventIndex(e.identifier),n,`Asset player error ${Tn.error} ${e}`)}),ee.on(g.DESTROYING,()=>{if(!this.getAssetPlayer(S)||!this.schedule)return;const Tn=new Error(`Asset player destroyed unexpectedly ${S}`),sr={fatal:!0,type:ce.OTHER_ERROR,details:j.INTERSTITIAL_ASSET_ITEM_ERROR,error:Tn};this.handleAssetItemError(sr,e,this.schedule.findEventIndex(e.identifier),n,Tn.message)}),this.log(`INTERSTITIAL_ASSET_PLAYER_CREATED ${tl(t)}`),this.hls.trigger(g.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:t,assetListIndex:n,event:e,player:ee}),ee}clearInterstitial(e,t){e.assetList.forEach(n=>{this.clearAssetPlayer(n.identifier,t)}),e.reset()}resetAssetPlayer(e){const t=this.getAssetPlayerQueueIndex(e);if(t!==-1){this.log(`reset asset player "${e}" after error`);const n=this.playerQueue[t];this.transferMediaFromPlayer(n,null),n.resetDetails()}}clearAssetPlayer(e,t){const n=this.getAssetPlayerQueueIndex(e);if(n!==-1){const r=this.playerQueue[n];this.log(`clear ${r} toSegment: ${t&&Ks(t)}`),this.transferMediaFromPlayer(r,t),this.playerQueue.splice(n,1),r.destroy()}}emptyPlayerQueue(){let e;for(;e=this.playerQueue.pop();)e.destroy();this.playerQueue=[]}startAssetPlayer(e,t,n,r,a){const{interstitial:s,assetItem:d,assetId:p}=e,m=s.assetList.length,v=this.playingAsset;this.endedAsset=null,this.playingAsset=d,(!v||v.identifier!==p)&&(v&&(this.clearAssetPlayer(v.identifier,n[r]),delete v.error),this.log(`INTERSTITIAL_ASSET_STARTED ${t+1}/${m} ${tl(d)}`),this.hls.trigger(g.INTERSTITIAL_ASSET_STARTED,{asset:d,assetListIndex:t,event:s,schedule:n.slice(0),scheduleIndex:r,player:e})),this.bufferAssetPlayer(e,a)}bufferAssetPlayer(e,t){var n,r;if(!this.schedule)return;const{interstitial:a,assetItem:s}=e,d=this.schedule.findEventIndex(a.identifier),p=(n=this.schedule.items)==null?void 0:n[d];if(!p)return;e.loadSource(),this.setBufferingItem(p),this.bufferingAsset=s;const m=this.getBufferingPlayer();if(m===e)return;const v=a.appendInPlace;if(v&&(m==null?void 0:m.interstitial.appendInPlace)===!1)return;const S=(m==null?void 0:m.tracks)||((r=this.detachedData)==null?void 0:r.tracks)||this.requiredTracks;if(v&&s!==this.playingAsset){if(!e.tracks){this.log(`Waiting for track info before buffering ${e}`);return}if(S&&!ke(S,e.tracks)){const F=new Error(`Asset ${tl(s)} SourceBuffer tracks ('${Object.keys(e.tracks)}') are not compatible with primary content tracks ('${Object.keys(S)}')`),q={fatal:!0,type:ce.OTHER_ERROR,details:j.INTERSTITIAL_ASSET_ITEM_ERROR,error:F},ee=a.findAssetIndex(s);this.handleAssetItemError(q,a,d,ee,F.message);return}}this.transferMediaTo(e,t)}handleInPlaceStall(e){const t=this.schedule,n=this.primaryMedia;if(!t||!n)return;const r=n.currentTime,a=t.findAssetIndex(e,r),s=e.assetList[a];if(s){const d=this.getAssetPlayer(s.identifier);if(d){const p=d.currentTime||r-s.timelineStart,m=d.duration-p;if(this.warn(`Stalled at ${p} of ${p+m} in ${d} ${e} (media.currentTime: ${r})`),p&&(m/n.playbackRate<.5||d.bufferedInPlaceToEnd(n))&&d.hls){const v=t.findEventIndex(e.identifier);this.advanceAfterAssetEnded(e,v,a)}}}}advanceInPlace(e){const t=this.primaryMedia;t&&t.currentTime<e&&(t.currentTime=e)}handleAssetItemError(e,t,n,r,a){if(e.details===j.BUFFER_STALLED_ERROR)return;const s=t.assetList[r]||null;if(this.warn(`INTERSTITIAL_ASSET_ERROR ${s&&tl(s)} ${e.error}`),!this.schedule)return;const d=(s==null?void 0:s.identifier)||"",p=this.getAssetPlayerQueueIndex(d),m=this.playerQueue[p]||null,v=this.schedule.items,S=b({},e,{fatal:!1,errorAction:xn(!0),asset:s,assetListIndex:r,event:t,schedule:v,scheduleIndex:n,player:m});if(this.hls.trigger(g.INTERSTITIAL_ASSET_ERROR,S),!e.fatal)return;const F=this.playingAsset,q=this.bufferingAsset,ee=new Error(a);if(s&&(this.clearAssetPlayer(d,null),s.error=ee),!t.assetList.some(We=>!We.error))t.error=ee;else for(let We=r;We<t.assetList.length;We++)this.resetAssetPlayer(t.assetList[We].identifier);this.updateSchedule(!0),t.error?this.primaryFallback(t):F&&F.identifier===d?this.advanceAfterAssetEnded(t,n,r):q&&q.identifier===d&&this.isInterstitial(this.bufferingItem)&&this.advanceAssetBuffering(this.bufferingItem,q)}primaryFallback(e){const t=e.timelineStart,n=this.effectivePlayingItem;if(n){this.log(`Fallback to primary from event "${e.identifier}" start: ${t} pos: ${this.timelinePos} playing: ${Ks(n)} error: ${e.error}`);let r=this.timelinePos;r===-1&&(r=this.hls.startPosition);const a=this.updateItem(n,r);if(this.itemsMatch(n,a)&&this.clearInterstitial(e,null),e.appendInPlace&&(this.attachPrimary(t,null),this.flushFrontBuffer(t)),!this.schedule)return;const s=this.schedule.findItemIndexAtTime(r);this.setSchedulePosition(s)}else this.checkStart()}onAssetListLoaded(e,t){var n,r;const a=t.event,s=a.identifier,d=t.assetListResponse.ASSETS;if(!((n=this.schedule)!=null&&n.hasEvent(s)))return;const p=a.timelineStart,m=a.duration;let v=0;d.forEach((We,He)=>{const Dt=parseFloat(We.DURATION);this.createAsset(a,He,v,p+v,Dt,We.URI),v+=Dt}),a.duration=v,this.log(`Loaded asset-list with duration: ${v} (was: ${m}) ${a}`);const S=this.waitingItem,F=(S==null?void 0:S.event.identifier)===s;this.updateSchedule();const q=(r=this.bufferingItem)==null?void 0:r.event;if(F){var ee;const We=this.schedule.findEventIndex(s),He=(ee=this.schedule.items)==null?void 0:ee[We];if(He){if(!this.playingItem&&this.timelinePos>He.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==We){a.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${a}`),this.updateSchedule(!0),this.primaryFallback(a);return}this.setBufferingItem(He)}this.setSchedulePosition(We)}else if((q==null?void 0:q.identifier)===s){const We=a.assetList[0];if(We){const He=this.getAssetPlayer(We.identifier);if(q.appendInPlace){const Dt=this.primaryMedia;He&&Dt&&this.bufferAssetPlayer(He,Dt)}else He&&He.loadSource()}}}onError(e,t){if(this.schedule)switch(t.details){case j.ASSET_LIST_PARSING_ERROR:case j.ASSET_LIST_LOAD_ERROR:case j.ASSET_LIST_LOAD_TIMEOUT:{const n=t.interstitial;n&&(this.updateSchedule(!0),this.primaryFallback(n));break}case j.BUFFER_STALLED_ERROR:{const n=this.endedItem||this.waitingItem||this.playingItem;if(this.isInterstitial(n)&&n.event.appendInPlace){this.handleInPlaceStall(n.event);return}this.log(`Primary player stall @${this.timelinePos} bufferedPos: ${this.bufferedPos}`),this.onTimeupdate(),this.checkBuffer(!0);break}}}}const Ou=500;class Kc extends oo{constructor(e,t,n){super(e,t,n,"subtitle-stream-controller",K.SUBTITLE),this.currentTrackId=-1,this.tracksBuffered=[],this.mainDetails=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.mainDetails=null}registerListeners(){super.registerListeners();const{hls:e}=this;e.on(g.LEVEL_LOADED,this.onLevelLoaded,this),e.on(g.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(g.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(g.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(g.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.on(g.BUFFER_FLUSHING,this.onBufferFlushing,this)}unregisterListeners(){super.unregisterListeners();const{hls:e}=this;e.off(g.LEVEL_LOADED,this.onLevelLoaded,this),e.off(g.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(g.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(g.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(g.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.off(g.BUFFER_FLUSHING,this.onBufferFlushing,this)}startLoad(e,t){this.stopLoad(),this.state=dr.IDLE,this.setInterval(Ou),this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}onManifestLoading(){super.onManifestLoading(),this.mainDetails=null}onMediaDetaching(e,t){this.tracksBuffered=[],super.onMediaDetaching(e,t)}onLevelLoaded(e,t){this.mainDetails=t.details}onSubtitleFragProcessed(e,t){const{frag:n,success:r}=t;if(this.fragContextChanged(n)||(ft(n)&&(this.fragPrevious=n),this.state=dr.IDLE),!r)return;const a=this.tracksBuffered[this.currentTrackId];if(!a)return;let s;const d=n.start;for(let m=0;m<a.length;m++)if(d>=a[m].start&&d<=a[m].end){s=a[m];break}const p=n.start+n.duration;s?s.end=p:(s={start:d,end:p},a.push(s)),this.fragmentTracker.fragBuffered(n),this.fragBufferedComplete(n,null),this.media&&this.tick()}onBufferFlushing(e,t){const{startOffset:n,endOffset:r}=t;if(n===0&&r!==Number.POSITIVE_INFINITY){const a=r-1;if(a<=0)return;t.endOffsetSubtitles=Math.max(0,a),this.tracksBuffered.forEach(s=>{for(let d=0;d<s.length;){if(s[d].end<=a){s.shift();continue}else if(s[d].start<a)s[d].start=a;else break;d++}}),this.fragmentTracker.removeFragmentsInRange(n,a,K.SUBTITLE)}}onError(e,t){const n=t.frag;(n==null?void 0:n.type)===K.SUBTITLE&&(t.details===j.FRAG_GAP&&this.fragmentTracker.fragBuffered(n,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==dr.STOPPED&&(this.state=dr.IDLE))}onSubtitleTracksUpdated(e,{subtitleTracks:t}){if(this.levels&&Ja(this.levels,t)){this.levels=t.map(n=>new ot(n));return}this.tracksBuffered=[],this.levels=t.map(n=>{const r=new ot(n);return this.tracksBuffered[r.id]=[],r}),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,K.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.state!==dr.STOPPED&&this.setInterval(Ou)}onSubtitleTrackLoaded(e,t){var n;const{currentTrackId:r,levels:a}=this,{details:s,id:d}=t;if(!a){this.warn(`Subtitle tracks were reset while loading level ${d}`);return}const p=a[d];if(d>=a.length||!p)return;this.log(`Subtitle track ${d} loaded [${s.startSN},${s.endSN}]${s.lastPartSn?`[part-${s.lastPartSn}-${s.lastPartIndex}]`:""},duration:${s.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let m=0;if(s.live||(n=p.details)!=null&&n.live){if(s.deltaUpdateFailed)return;const S=this.mainDetails;if(!S){this.startFragRequested=!1;return}const F=S.fragments[0];if(!p.details)s.hasProgramDateTime&&S.hasProgramDateTime?(so(s,S),m=s.fragmentStart):F&&(m=F.start,Gs(s,m));else{var v;m=this.alignPlaylists(s,p.details,(v=this.levelLastLoaded)==null?void 0:v.details),m===0&&F&&(m=F.start,Gs(s,m))}S&&!this.startFragRequested&&this.setStartPosition(S,m)}p.details=s,this.levelLastLoaded=p,d===r&&(this.hls.trigger(g.SUBTITLE_TRACK_UPDATED,{details:s,id:d,groupId:t.groupId}),this.tick(),s.live&&!this.fragCurrent&&this.media&&this.state===dr.IDLE&&(Yn(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,a=this.hls;if(!this.fragContextChanged(t)&&n&&n.byteLength>0&&r!=null&&r.key&&r.iv&&vr(r.method)){const s=performance.now();this.decrypter.decrypt(new Uint8Array(n),r.key.buffer,r.iv.buffer,yr(r.method)).catch(d=>{throw a.trigger(g.ERROR,{type:ce.MEDIA_ERROR,details:j.FRAG_DECRYPT_ERROR,fatal:!1,error:d,reason:d.message,frag:t}),d}).then(d=>{const p=performance.now();a.trigger(g.FRAG_DECRYPTED,{frag:t,payload:d,stats:{tstart:s,tdecrypt:p}})}).catch(d=>{this.warn(`${d.name}: ${d.message}`),this.state=dr.IDLE})}}doTick(){if(!this.media){this.state=dr.IDLE;return}if(this.state===dr.IDLE){const{currentTrackId:e,levels:t}=this,n=t==null?void 0:t[e];if(!n||!t.length||!n.details||this.waitForLive(n))return;const{config:r}=this,a=this.getLoadPosition(),s=cr.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],a,r.maxBufferHole),{end:d,len:p}=s,m=n.details,v=this.hls.maxBufferLength+m.levelTargetDuration;if(p>v)return;const S=m.fragments,F=S.length,q=m.edge;let ee=null;const We=this.fragPrevious;if(d<q){const Ut=r.maxFragLookUpTolerance,$t=d>q-Ut?0:Ut;ee=Yn(We,S,Math.max(S[0].start,d),$t),!ee&&We&&We.start<S[0].start&&(ee=S[0])}else ee=S[F-1];if(ee=this.filterReplacedPrimary(ee,n.details),!ee)return;const He=ee.sn-m.startSN,Dt=S[He-1];if(Dt&&Dt.cc===ee.cc&&this.fragmentTracker.getState(Dt)===Gn.NOT_LOADED&&(ee=Dt),this.fragmentTracker.getState(ee)===Gn.NOT_LOADED){const Ut=this.mapToInitFragWhenRequired(ee);Ut&&this.loadFragment(Ut,n,d)}}}loadFragment(e,t,n){ft(e)?super.loadFragment(e,t,n):this._loadInitSegment(e,t)}get mediaBufferTimeRanges(){return new Hc(this.tracksBuffered[this.currentTrackId]||[])}}class Hc{constructor(e){this.buffered=void 0;const t=(n,r,a)=>{if(r=r>>>0,r>a-1)throw new DOMException(`Failed to execute '${n}' on 'TimeRanges': The index provided (${r}) is greater than the maximum bound (${a})`);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)}}}}const Wc={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},Pu=o=>String.fromCharCode(Wc[o]||o),Hs=15,mo=100,$c={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},Vc={17:2,18:4,21:6,22:8,23:10,19:13,20:15},Gc={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Yc={25:2,26:4,29:6,30:8,31:10,27:13,28:15},Xc=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Qc{constructor(){this.time=null,this.verboseLevel=0}log(e,t){if(this.verboseLevel>=e){const n=typeof t=="function"?t():t;he.log(`${this.time} [${e}] ${n}`)}}}const Po=function(e){const t=[];for(let n=0;n<e.length;n++)t.push(e[n].toString(16));return t};class Mu{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 Jc{constructor(){this.uchar=" ",this.penState=new Mu}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 qc{constructor(e){this.chars=[],this.pos=0,this.currPenState=new Mu,this.cueStartTime=null,this.logger=void 0;for(let t=0;t<mo;t++)this.chars.push(new Jc);this.logger=e}equals(e){for(let t=0;t<mo;t++)if(!this.chars[t].equals(e.chars[t]))return!1;return!0}copy(e){for(let t=0;t<mo;t++)this.chars[t].copy(e.chars[t])}isEmpty(){let e=!0;for(let t=0;t<mo;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>mo&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=mo)}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=Pu(e);if(this.pos>=mo){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<mo;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<mo;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 au{constructor(e){this.rows=[],this.currRow=Hs-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let t=0;t<Hs;t++)this.rows.push(new qc(e));this.logger=e}reset(){for(let e=0;e<Hs;e++)this.rows[e].clear();this.currRow=Hs-1}equals(e){let t=!0;for(let n=0;n<Hs;n++)if(!this.rows[n].equals(e.rows[n])){t=!1;break}return t}copy(e){for(let t=0;t<Hs;t++)this.rows[t].copy(e.rows[t])}isEmpty(){let e=!0;for(let t=0;t<Hs;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 = "+ct(e));let t=e.row-1;if(this.nrRollUpRows&&t<this.nrRollUpRows-1&&(t=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==t){for(let d=0;d<Hs;d++)this.rows[d].clear();const a=this.currRow+1-this.nrRollUpRows,s=this.lastOutputScreen;if(s){const d=s.rows[a].cueStartTime,p=this.logger.time;if(d!==null&&p!==null&&d<p)for(let m=0;m<this.nrRollUpRows;m++)this.rows[t-this.nrRollUpRows+m+1].copy(s.rows[a+m])}}this.currRow=t;const n=this.rows[this.currRow];if(e.indent!==null){const a=e.indent,s=Math.max(a-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 = "+ct(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 a=0;a<Hs;a++){const s=this.rows[a].getTextString();s&&(r=a+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 Nu{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 au(n),this.nonDisplayedMemory=new au(n),this.lastOutputScreen=new au(n),this.currRollUpRow=this.displayedMemory.rows[Hs-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[Hs-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: "+ct(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 ku{constructor(e,t,n){this.channels=void 0,this.currentChannel=0,this.cmdHistory=td(),this.logger=void 0;const r=this.logger=new Qc;this.channels=[null,new Nu(e,t,r),new Nu(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,a=t[n+1]&127;let s=!1,d=null;if(r===0&&a===0)continue;this.logger.log(3,()=>"["+Po([t[n],t[n+1]])+"] -> ("+Po([r,a])+")");const p=this.cmdHistory;if(r>=16&&r<=31){if(ed(r,a,p)){Hl(null,null,p),this.logger.log(3,()=>"Repeated command ("+Po([r,a])+") is dropped");continue}Hl(r,a,this.cmdHistory),s=this.parseCmd(r,a),s||(s=this.parseMidrow(r,a)),s||(s=this.parsePAC(r,a)),s||(s=this.parseBackgroundAttributes(r,a))}else Hl(null,null,p);if(!s&&(d=this.parseChars(r,a),d)){const v=this.currentChannel;v&&v>0?this.channels[v].insertChars(d):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!s&&!d&&this.logger.log(2,()=>"Couldn't parse cleaned data "+Po([r,a])+" orig: "+Po([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 a=e===20||e===21||e===23?1:2,s=this.channels[a];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=a,!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 ("+Po([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,a=(e===16||e===24)&&t>=64&&t<=95;if(!(r||a))return!1;const s=e<=23?1:2;t>=64&&t<=95?n=s===1?$c[e]:Gc[e]:n=s===1?Vc[e]:Yc[e];const d=this.channels[s];return d?(d.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,a=null;if(e>=25?(n=2,a=e-8):(n=1,a=e),a>=17&&a<=19){let s;a===17?s=t+80:a===18?s=t+112:s=t+144,this.logger.log(2,()=>"Special char '"+Pu(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 = "+Po(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 a;const s={};e===16||e===24?(a=Math.floor((t-32)/2),s.background=Xc[a],t%2===1&&(s.background=s.background+"_semi")):t===45?s.background="transparent":(s.foreground="black",t===47&&(s.underline=!0));const d=e<=23?1:2;return this.channels[d].setBkgData(s),!0}reset(){for(let e=0;e<Object.keys(this.channels).length;e++){const t=this.channels[e];t&&t.reset()}Hl(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 Hl(o,e,t){t.a=o,t.b=e}function ed(o,e,t){return t.a===o&&t.b===e}function td(){return{a:null,b:null}}var su=function(){if(kr!=null&&kr.VTTCue)return self.VTTCue;const o=["","lr","rl"],e=["start","middle","end","left","right"];function t(d,p){if(typeof p!="string"||!Array.isArray(d))return!1;const m=p.toLowerCase();return~d.indexOf(m)?m:!1}function n(d){return t(o,d)}function r(d){return t(e,d)}function a(d,...p){let m=1;for(;m<arguments.length;m++){const v=arguments[m];for(const S in v)d[S]=v[S]}return d}function s(d,p,m){const v=this,S={enumerable:!0};v.hasBeenReset=!1;let F="",q=!1,ee=d,We=p,He=m,Dt=null,Ut="",$t=!0,yn="auto",Tn="start",sr=50,Dn="middle",Vn=50,$n="middle";Object.defineProperty(v,"id",a({},S,{get:function(){return F},set:function(On){F=""+On}})),Object.defineProperty(v,"pauseOnExit",a({},S,{get:function(){return q},set:function(On){q=!!On}})),Object.defineProperty(v,"startTime",a({},S,{get:function(){return ee},set:function(On){if(typeof On!="number")throw new TypeError("Start time must be set to a number.");ee=On,this.hasBeenReset=!0}})),Object.defineProperty(v,"endTime",a({},S,{get:function(){return We},set:function(On){if(typeof On!="number")throw new TypeError("End time must be set to a number.");We=On,this.hasBeenReset=!0}})),Object.defineProperty(v,"text",a({},S,{get:function(){return He},set:function(On){He=""+On,this.hasBeenReset=!0}})),Object.defineProperty(v,"region",a({},S,{get:function(){return Dt},set:function(On){Dt=On,this.hasBeenReset=!0}})),Object.defineProperty(v,"vertical",a({},S,{get:function(){return Ut},set:function(On){const pr=n(On);if(pr===!1)throw new SyntaxError("An invalid or illegal string was specified.");Ut=pr,this.hasBeenReset=!0}})),Object.defineProperty(v,"snapToLines",a({},S,{get:function(){return $t},set:function(On){$t=!!On,this.hasBeenReset=!0}})),Object.defineProperty(v,"line",a({},S,{get:function(){return yn},set:function(On){if(typeof On!="number"&&On!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");yn=On,this.hasBeenReset=!0}})),Object.defineProperty(v,"lineAlign",a({},S,{get:function(){return Tn},set:function(On){const pr=r(On);if(!pr)throw new SyntaxError("An invalid or illegal string was specified.");Tn=pr,this.hasBeenReset=!0}})),Object.defineProperty(v,"position",a({},S,{get:function(){return sr},set:function(On){if(On<0||On>100)throw new Error("Position must be between 0 and 100.");sr=On,this.hasBeenReset=!0}})),Object.defineProperty(v,"positionAlign",a({},S,{get:function(){return Dn},set:function(On){const pr=r(On);if(!pr)throw new SyntaxError("An invalid or illegal string was specified.");Dn=pr,this.hasBeenReset=!0}})),Object.defineProperty(v,"size",a({},S,{get:function(){return Vn},set:function(On){if(On<0||On>100)throw new Error("Size must be between 0 and 100.");Vn=On,this.hasBeenReset=!0}})),Object.defineProperty(v,"align",a({},S,{get:function(){return $n},set:function(On){const pr=r(On);if(!pr)throw new SyntaxError("An invalid or illegal string was specified.");$n=pr,this.hasBeenReset=!0}})),v.displayState=void 0}return s.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},s}();class nd{decode(e,t){if(!e)return"";if(typeof e!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}function Bu(o){function e(n,r,a,s){return(n|0)*3600+(r|0)*60+(a|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 rd{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 Fu(o,e,t,n){const r=n?o.split(n):[o];for(const a in r){if(typeof r[a]!="string")continue;const s=r[a].split(t);if(s.length!==2)continue;const d=s[0],p=s[1];e(d,p)}}const ou=new su(0,0,""),Wl=ou.align==="middle"?"middle":"center";function id(o,e,t){const n=o;function r(){const d=Bu(o);if(d===null)throw new Error("Malformed timestamp: "+n);return o=o.replace(/^[^\sa-zA-Z-]+/,""),d}function a(d,p){const m=new rd;Fu(d,function(F,q){let ee;switch(F){case"region":for(let We=t.length-1;We>=0;We--)if(t[We].id===q){m.set(F,t[We].region);break}break;case"vertical":m.alt(F,q,["rl","lr"]);break;case"line":ee=q.split(","),m.integer(F,ee[0]),m.percent(F,ee[0])&&m.set("snapToLines",!1),m.alt(F,ee[0],["auto"]),ee.length===2&&m.alt("lineAlign",ee[1],["start",Wl,"end"]);break;case"position":ee=q.split(","),m.percent(F,ee[0]),ee.length===2&&m.alt("positionAlign",ee[1],["start",Wl,"end","line-left","line-right","auto"]);break;case"size":m.percent(F,q);break;case"align":m.alt(F,q,["start",Wl,"end","left","right"]);break}},/:/,/\s/),p.region=m.get("region",null),p.vertical=m.get("vertical","");let v=m.get("line","auto");v==="auto"&&ou.line===-1&&(v=-1),p.line=v,p.lineAlign=m.get("lineAlign","start"),p.snapToLines=m.get("snapToLines",!0),p.size=m.get("size",100),p.align=m.get("align",Wl);let S=m.get("position","auto");S==="auto"&&ou.position===50&&(S=p.align==="start"||p.align==="left"?0:p.align==="end"||p.align==="right"?100:50),p.position=S}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(),a(o,e)}function zu(o){return o.replace(/<br(?: \/)?>/gi,`
|
|
|
`)}class ad{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new nd,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 a=t.buffer,s=0;for(a=zu(a);s<a.length&&a[s]!=="\r"&&a[s]!==`
|
|
|
`;)++s;const d=a.slice(0,s);return a[s]==="\r"&&++s,a[s]===`
|
|
|
`&&++s,t.buffer=a.slice(s),d}function r(a){Fu(a,function(s,d){},/:/)}try{let a="";if(t.state==="INITIAL"){if(!/\r\n|\n/.test(t.buffer))return this;a=n();const d=a.match(/^()?WEBVTT([ \t].*)?$/);if(!(d!=null&&d[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:a=n(),t.state){case"HEADER":/:/.test(a)?r(a):a||(t.state="ID");continue;case"NOTE":a||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(a)){t.state="NOTE";break}if(!a)continue;if(t.cue=new su(0,0,""),t.state="CUE",a.indexOf("-->")===-1){t.cue.id=a;continue}case"CUE":if(!t.cue){t.state="BADCUE";continue}try{id(a,t.cue,t.regionList)}catch(d){t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":{const d=a.indexOf("-->")!==-1;if(!a||d&&(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+=a}continue;case"BADCUE":a||(t.state="ID")}}}catch(a){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 sd=/\r\n|\n\r|\n|\r/g,lu=function(e,t,n=0){return e.slice(n,n+t.length)===t},od=function(e){let t=parseInt(e.slice(-3));const n=parseInt(e.slice(-6,-4)),r=parseInt(e.slice(-9,-7)),a=e.length>9?parseInt(e.substring(0,e.indexOf(":"))):0;if(!i(t)||!i(n)||!i(r)||!i(a))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${e}`);return t+=1e3*n,t+=60*1e3*r,t+=60*60*1e3*a,t};function uu(o,e,t){return xl(o.toString())+xl(e.toString())+xl(t)}const ld=function(e,t,n){let r=e[t],a=e[r.prevCC];if(!a||!a.new&&r.new){e.ccOffset=e.presentationOffset=r.start,r.new=!1;return}for(;(s=a)!=null&&s.new;){var s;e.ccOffset+=r.start-a.start,r.new=!1,r=a,a=e[r.prevCC]}e.presentationOffset=n};function ud(o,e,t,n,r,a,s){const d=new ad,p=Ze(new Uint8Array(o)).trim().replace(sd,`
|
|
|
`).split(`
|
|
|
`),m=[],v=e?ca(e.baseTime,e.timescale):0;let S="00:00.000",F=0,q=0,ee,We=!0;d.oncue=function(He){const Dt=t[n];let Ut=t.ccOffset;const $t=(F-v)/9e4;if(Dt!=null&&Dt.new&&(q!==void 0?Ut=t.ccOffset=Dt.start:ld(t,n,$t)),$t){if(!e){ee=new Error("Missing initPTS for VTT MPEGTS");return}Ut=$t-t.presentationOffset}const yn=He.endTime-He.startTime,Tn=sa((He.startTime+Ut-q)*9e4,r*9e4)/9e4;He.startTime=Math.max(Tn,0),He.endTime=Math.max(Tn+yn,0);const sr=He.text.trim();He.text=decodeURIComponent(encodeURIComponent(sr)),He.id||(He.id=uu(He.startTime,He.endTime,sr)),He.endTime>0&&m.push(He)},d.onparsingerror=function(He){ee=He},d.onflush=function(){if(ee){s(ee);return}a(m)},p.forEach(He=>{if(We)if(lu(He,"X-TIMESTAMP-MAP=")){We=!1,He.slice(16).split(",").forEach(Dt=>{lu(Dt,"LOCAL:")?S=Dt.slice(6):lu(Dt,"MPEGTS:")&&(F=parseInt(Dt.slice(7)))});try{q=od(S)/1e3}catch(Dt){ee=Dt}return}else He===""&&(We=!1);d.parse(He+`
|
|
|
`)}),d.flush()}const cu="stpp.ttml.im1t",Zu=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,ju=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,cd={left:"start",center:"center",right:"end",start:"start",end:"end"};function Uu(o,e,t,n){const r=ne(new Uint8Array(o),["mdat"]);if(r.length===0){n(new Error("Could not parse IMSC1 mdat"));return}const a=r.map(d=>Ze(d)),s=bi(e.baseTime,1,e.timescale);try{a.forEach(d=>t(dd(d,s)))}catch(d){n(d)}}function dd(o,e){const r=new DOMParser().parseFromString(o,"text/xml").getElementsByTagName("tt")[0];if(!r)throw new Error("Invalid ttml");const a={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},s=Object.keys(a).reduce((S,F)=>(S[F]=r.getAttribute(`ttp:${F}`)||a[F],S),{}),d=r.getAttribute("xml:space")!=="preserve",p=Ku(du(r,"styling","style")),m=Ku(du(r,"layout","region")),v=du(r,"body","[begin]");return[].map.call(v,S=>{const F=Hu(S,d);if(!F||!S.hasAttribute("begin"))return null;const q=hu(S.getAttribute("begin"),s),ee=hu(S.getAttribute("dur"),s);let We=hu(S.getAttribute("end"),s);if(q===null)throw Wu(S);if(We===null){if(ee===null)throw Wu(S);We=q+ee}const He=new su(q-e,We-e,F);He.id=uu(He.startTime,He.endTime,He.text);const Dt=m[S.getAttribute("region")],Ut=p[S.getAttribute("style")],$t=fd(Dt,Ut,p),{textAlign:yn}=$t;if(yn){const Tn=cd[yn];Tn&&(He.lineAlign=Tn),He.align=yn}return b(He,$t),He}).filter(S=>S!==null)}function du(o,e,t){const n=o.getElementsByTagName(e)[0];return n?[].slice.call(n.querySelectorAll(t)):[]}function Ku(o){return o.reduce((e,t)=>{const n=t.getAttribute("xml:id");return n&&(e[n]=t),e},{})}function Hu(o,e){return[].slice.call(o.childNodes).reduce((t,n,r)=>{var a;return n.nodeName==="br"&&r?t+`
|
|
|
`:(a=n.childNodes)!=null&&a.length?Hu(n,e):e?t+n.textContent.trim().replace(/\s+/g," "):t+n.textContent},"")}function fd(o,e,t){const n="http://www.w3.org/ns/ttml#styling";let r=null;const a=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],s=o!=null&&o.hasAttribute("style")?o.getAttribute("style"):null;return s&&t.hasOwnProperty(s)&&(r=t[s]),a.reduce((d,p)=>{const m=fu(e,n,p)||fu(o,n,p)||fu(r,n,p);return m&&(d[p]=m),d},{})}function fu(o,e,t){return o&&o.hasAttributeNS(e,t)?o.getAttributeNS(e,t):null}function Wu(o){return new Error(`Could not parse ttml timestamp ${o}`)}function hu(o,e){if(!o)return null;let t=Bu(o);return t===null&&(Zu.test(o)?t=hd(o,e):ju.test(o)&&(t=md(o,e))),t}function hd(o,e){const t=Zu.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 md(o,e){const t=ju.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 $l{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}}class pd{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=Gu(),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(g.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(g.MANIFEST_LOADING,this.onManifestLoading,this),e.on(g.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(g.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(g.FRAG_LOADING,this.onFragLoading,this),e.on(g.FRAG_LOADED,this.onFragLoaded,this),e.on(g.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.on(g.FRAG_DECRYPTED,this.onFragDecrypted,this),e.on(g.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(g.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.on(g.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:e}=this;e.off(g.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(g.MANIFEST_LOADING,this.onManifestLoading,this),e.off(g.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(g.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(g.FRAG_LOADING,this.onFragLoading,this),e.off(g.FRAG_LOADED,this.onFragLoaded,this),e.off(g.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.off(g.FRAG_DECRYPTED,this.onFragDecrypted,this),e.off(g.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(g.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.off(g.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const e=new $l(this,"textTrack1"),t=new $l(this,"textTrack2"),n=new $l(this,"textTrack3"),r=new $l(this,"textTrack4");this.cea608Parser1=new ku(1,e,t),this.cea608Parser2=new ku(3,n,r)}addCues(e,t,n,r,a){let s=!1;for(let d=a.length;d--;){const p=a[d],m=gd(p[0],p[1],t,n);if(m>=0&&(p[0]=Math.min(p[0],t),p[1]=Math.max(p[1],n),s=!0,m/(n-t)>.5))return}if(s||a.push([t,n]),this.config.renderTextTracksNatively){const d=this.captionsTracks[e];this.Cues.newCue(d,t,n,r)}else{const d=this.Cues.newCue(null,t,n,r);this.hls.trigger(g.CUES_PARSED,{type:"captions",cues:d,track:e})}}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:a,trackId:s}){const{unparsedVttFrags:d}=this;n===K.MAIN&&(this.initPTS[t.cc]={baseTime:r,timescale:a,trackId:s}),d.length&&(this.unparsedVttFrags=[],d.forEach(p=>{this.initPTS[p.frag.cc]?this.onFragLoaded(g.FRAG_LOADED,p):this.hls.trigger(g.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:p.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(e,t){const{media:n}=this;if(n)for(let r=0;r<n.textTracks.length;r++){const a=n.textTracks[r];if(Vu(a,{name:e,lang:t,characteristics:"transcribes-spoken-dialog,describes-music-and-sound"}))return a}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:a,languageCode:s}=t[e],d=this.getExistingTrack(a,s);if(d)n[e]=d,qo(n[e]),Tu(n[e],r);else{const p=this.createTextTrack("captions",a,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(g.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,t.mediaSource||this._cleanTracks()}onMediaDetaching(e,t){const n=!!t.transferMedia;if(this.media=null,n)return;const{captionsTracks:r}=this;Object.keys(r).forEach(a=>{qo(r[a]),delete r[a]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Gu(),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++)qo(t[n])}onSubtitleTracksUpdated(e,t){const n=t.subtitleTracks||[],r=n.some(a=>a.textCodec===cu);if(this.config.enableWebVTT||r&&this.config.enableIMSC1){if(Ja(this.tracks,n)){this.tracks=n;return}if(this.textTracks=[],this.tracks=n,this.config.renderTextTracksNatively){const s=this.media,d=s?jl(s.textTracks):null;if(this.tracks.forEach((p,m)=>{let v;if(d){let S=null;for(let F=0;F<d.length;F++)if(d[F]&&Vu(d[F],p)){S=d[F],d[F]=null;break}S&&(v=S)}if(v)qo(v);else{const S=$u(p);v=this.createTextTrack(S,p.name,p.lang),v&&(v.mode="disabled")}v&&this.textTracks.push(v)}),d!=null&&d.length){const p=d.filter(m=>m!==null).map(m=>m.label);p.length&&this.hls.logger.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(d=>({label:d.name,kind:d.type.toLowerCase(),default:d.default,subtitleTrack:d}));this.hls.trigger(g.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 a=`textTrack${r[1]}`,s=this.captionsProperties[a];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===K.MAIN){var n,r;const{cea608Parser1:a,cea608Parser2:s,lastSn:d}=this,{cc:p,sn:m}=t.frag,v=(n=(r=t.part)==null?void 0:r.index)!=null?n:-1;a&&s&&(m!==d+1||m===d&&v!==this.lastPartIndex+1||p!==this.lastCc)&&(a.reset(),s.reset()),this.lastCc=p,this.lastSn=m,this.lastPartIndex=v}}onFragLoaded(e,t){const{frag:n,payload:r}=t;if(n.type===K.SUBTITLE)if(r.byteLength){const a=n.decryptdata,s="stats"in t;if(a==null||!a.encrypted||s){const d=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),d&&d.textCodec===cu?this._parseIMSC1(n,r):this._parseVTTs(t)}}else this.hls.trigger(g.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:new Error("Empty subtitle payload")})}_parseIMSC1(e,t){const n=this.hls;Uu(t,this.initPTS[e.cc],r=>{this._appendCues(r,e.level),n.trigger(g.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:e})},r=>{n.logger.log(`Failed to parse IMSC1: ${r}`),n.trigger(g.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e,error:r})})}_parseVTTs(e){var t;const{frag:n,payload:r}=e,{initPTS:a,unparsedVttFrags:s}=this,d=a.length-1;if(!a[n.cc]&&d===-1){s.push(e);return}const p=this.hls,m=(t=n.initSegment)!=null&&t.data?kt(n.initSegment.data,new Uint8Array(r)).buffer:r;ud(m,this.initPTS[n.cc],this.vttCCs,n.cc,n.start,v=>{this._appendCues(v,n.level),p.trigger(g.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:n})},v=>{const S=v.message==="Missing initPTS for VTT MPEGTS";S?s.push(e):this._fallbackToIMSC1(n,r),p.logger.log(`Failed to parse VTT cue: ${v}`),!(S&&d>n.cc)&&p.trigger(g.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:v})})}_fallbackToIMSC1(e,t){const n=this.tracks[e.level];n.textCodec||Uu(t,this.initPTS[e.cc],()=>{n.textCodec=cu,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(a=>Iu(r,a))}else{const r=this.tracks[t];if(!r)return;const a=r.default?"default":"subtitles"+t;n.trigger(g.CUES_PARSED,{type:"subtitles",cues:e,track:a})}}onFragDecrypted(e,t){const{frag:n}=t;n.type===K.SUBTITLE&&this.onFragLoaded(g.FRAG_LOADED,t)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(e,t){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:n,samples:r}=t;if(!(n.type===K.MAIN&&this.closedCaptionsForLevel(n)==="NONE"))for(let a=0;a<r.length;a++){const s=r[a].bytes;if(s){this.cea608Parser1||this.initCea608Parsers();const d=this.extractCea608Data(s);this.cea608Parser1.addData(r[a].pts,d[0]),this.cea608Parser2.addData(r[a].pts,d[1])}}}onBufferFlushing(e,{startOffset:t,endOffset:n,endOffsetSubtitles:r,type:a}){const{media:s}=this;if(!(!s||s.currentTime<n)){if(!a||a==="video"){const{captionsTracks:d}=this;Object.keys(d).forEach(p=>nu(d[p],t,n))}if(this.config.renderTextTracksNatively&&t===0&&r!==void 0){const{textTracks:d}=this;Object.keys(d).forEach(p=>nu(d[p],t,r))}}}extractCea608Data(e){const t=[[],[]],n=e[0]&31;let r=2;for(let a=0;a<n;a++){const s=e[r++],d=127&e[r++],p=127&e[r++];if(d===0&&p===0)continue;if((4&s)!==0){const v=3&s;(v===0||v===1)&&(t[v].push(d),t[v].push(p))}}return t}}function $u(o){return o.characteristics&&/transcribes-spoken-dialog/gi.test(o.characteristics)&&/describes-music-and-sound/gi.test(o.characteristics)?"captions":"subtitles"}function Vu(o,e){return!!o&&o.kind===$u(e)&&fo(e,o)}function gd(o,e,t,n){return Math.min(e,n)-Math.max(o,t)}function Gu(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const vd=/\s/,yd={newCue(o,e,t,n){const r=[];let a,s,d,p,m;const v=self.VTTCue||self.TextTrackCue;for(let F=0;F<n.rows.length;F++)if(a=n.rows[F],d=!0,p=0,m="",!a.isEmpty()){var S;for(let We=0;We<a.chars.length;We++)vd.test(a.chars[We].uchar)&&d?p++:(m+=a.chars[We].uchar,d=!1);a.cueStartTime=e,e===t&&(t+=1e-4),p>=16?p--:p++;const q=zu(m.trim()),ee=uu(e,t,q);o!=null&&(S=o.cues)!=null&&S.getCueById(ee)||(s=new v(e,t,q),s.id=ee,s.line=F+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((F,q)=>F.line==="auto"||q.line==="auto"?0:F.line>8&&q.line>8?q.line-F.line:F.line-q.line),r.forEach(F=>Iu(o,F))),r}};function bd(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(o){}return!1}const xd=/(\d+)-(\d+)\/(\d+)/;class Yu{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||wd,this.controller=new self.AbortController,this.stats=new A}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 a=Ed(e,this.controller.signal),s=e.responseType==="arraybuffer",d=s?"byteLength":"length",{maxTimeToFirstByteMs:p,maxLoadTimeMs:m}=t.loadPolicy;this.context=e,this.config=t,this.callbacks=n,this.request=this.fetchSetup(e,a),self.clearTimeout(this.requestTimeout),t.timeout=p&&i(p)?p:m,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(r,e,this.response))},t.timeout),(oa(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(S=>{var F;this.response=this.loader=S;const q=Math.max(self.performance.now(),r.loading.start);if(self.clearTimeout(this.requestTimeout),t.timeout=m,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(r,e,this.response))},m-(q-r.loading.start)),!S.ok){const{status:We,statusText:He}=S;throw new _d(He||"fetch, bad network response",We,S)}r.loading.first=q,r.total=Cd(S.headers)||r.total;const ee=(F=this.callbacks)==null?void 0:F.onProgress;return ee&&i(t.highWaterMark)?this.loadProgressively(S,r,e,t.highWaterMark,ee):s?S.arrayBuffer():e.responseType==="json"?S.json():S.text()}).then(S=>{var F,q;const ee=this.response;if(!ee)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),r.loading.end=Math.max(self.performance.now(),r.loading.first);const We=S[d];We&&(r.loaded=r.total=We);const He={url:ee.url,data:S,code:ee.status},Dt=(F=this.callbacks)==null?void 0:F.onProgress;Dt&&!i(t.highWaterMark)&&Dt(r,e,S,ee),(q=this.callbacks)==null||q.onSuccess(He,r,e,ee)}).catch(S=>{var F;if(self.clearTimeout(this.requestTimeout),r.aborted)return;const q=S&&S.code||0,ee=S?S.message:null;(F=this.callbacks)==null||F.onError({code:q,text:ee},e,S?S.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,a){const s=new js,d=e.body.getReader(),p=()=>d.read().then(m=>{if(m.done)return s.dataLength&&a(t,n,s.flush().buffer,e),Promise.resolve(new ArrayBuffer(0));const v=m.value,S=v.length;return t.loaded+=S,S<r||s.dataLength?(s.push(v),s.dataLength>=r&&a(t,n,s.flush().buffer,e)):a(t,n,v.buffer,e),p()}).catch(()=>Promise.reject());return p()}}function Ed(o,e){const t={method:"GET",mode:"cors",credentials:"same-origin",signal:e,headers:new self.Headers(b({},o.headers))};return o.rangeEnd&&t.headers.set("Range","bytes="+o.rangeStart+"-"+String(o.rangeEnd-1)),t}function Sd(o){const e=xd.exec(o);if(e)return parseInt(e[2])-parseInt(e[1])+1}function Cd(o){const e=o.get("Content-Range");if(e){const n=Sd(e);if(i(n))return n}const t=o.get("Content-Length");if(t)return parseInt(t)}function wd(o,e){return new self.Request(o.url,e)}class _d extends Error{constructor(e,t,n){super(e),this.code=void 0,this.details=void 0,this.code=t,this.details=n}}const Ad=/^age:\s*[\d.]+\s*$/im;class Xu{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 A,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 a=this.xhrSetup;a?Promise.resolve().then(()=>{if(!(this.loader!==n||this.stats.aborted))return a(n,t.url)}).catch(s=>{if(!(this.loader!==n||this.stats.aborted))return n.open("GET",t.url,!0),a(n,t.url)}).then(()=>{this.loader!==n||this.stats.aborted||this.openAndSendXhr(n,t,e)}).catch(s=>{var d;(d=this.callbacks)==null||d.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:a,maxLoadTimeMs:s}=n.loadPolicy;if(r)for(const d in r)e.setRequestHeader(d,r[d]);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=a&&i(a)?a: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,a=this.config;if(!n.aborted&&r>=2&&(n.loading.first===0&&(n.loading.first=Math.max(self.performance.now(),n.loading.start),a.timeout!==a.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),a.timeout=a.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),a.loadPolicy.maxLoadTimeMs-(n.loading.first-n.loading.start)))),r===4)){self.clearTimeout(this.requestTimeout),t.onreadystatechange=null,t.onprogress=null;const m=t.status,v=t.responseType==="text"?t.responseText:null;if(m>=200&&m<300){const ee=v!=null?v:t.response;if(ee!=null){var s,d;n.loading.end=Math.max(self.performance.now(),n.loading.first);const We=t.responseType==="arraybuffer"?ee.byteLength:ee.length;n.loaded=n.total=We,n.bwEstimate=n.total*8e3/(n.loading.end-n.loading.first);const He=(s=this.callbacks)==null?void 0:s.onProgress;He&&He(n,e,ee,t);const Dt={url:t.responseURL,data:ee,code:m};(d=this.callbacks)==null||d.onSuccess(Dt,n,e,t);return}}const S=a.loadPolicy.errorRetry,F=n.retry,q={url:e.url,data:void 0,code:m};if(tr(S,F,!1,q))this.retry(S);else{var p;he.error(`${m} while loading ${e.url}`),(p=this.callbacks)==null||p.onError({code:m,text:t.statusText},e,t,n)}}}loadtimeout(){if(!this.config)return;const e=this.config.loadPolicy.timeoutRetry,t=this.stats.retry;if(tr(e,t,!0))this.retry(e);else{var n;he.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=pn(e,n.retry),n.retry++,he.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&&Ad.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}}const Td={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Id=w(w({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,startOnSegmentBoundary:!1,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncMode:"edge",liveSyncDurationCount:3,liveSyncOnStallIncrease:1,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,ignorePlaylistParsingErrors:!1,loader:Xu,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:rr,bufferController:is,capLevelController:Ss,errorController:dn,fpsController:Lc,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:mi,requireKeySystemAccessOnStart:!1,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,preserveManualLevelOnError:!1,certLoadPolicy:{default:Td},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}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,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},Dd()),{},{subtitleStreamController:Kc,subtitleTrackController:Mc,timelineController:pd,audioStreamController:Va,audioTrackController:Sa,emeController:Jo,cmcdController:Tc,contentSteeringController:Dc,interstitialsController:Uc});function Dd(){return{cueHandler:yd,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 Rd(o,e,t){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 n=mu(o),r=["manifest","level","frag"],a=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return r.forEach(s=>{const d=`${s==="level"?"playlist":s}LoadPolicy`,p=e[d]===void 0,m=[];a.forEach(v=>{const S=`${s}Loading${v}`,F=e[S];if(F!==void 0&&p){m.push(S);const q=n[d].default;switch(e[d]={default:q},v){case"TimeOut":q.maxLoadTimeMs=F,q.maxTimeToFirstByteMs=F;break;case"MaxRetry":q.errorRetry.maxNumRetry=F,q.timeoutRetry.maxNumRetry=F;break;case"RetryDelay":q.errorRetry.retryDelayMs=F,q.timeoutRetry.retryDelayMs=F;break;case"MaxRetryTimeout":q.errorRetry.maxRetryDelayMs=F,q.timeoutRetry.maxRetryDelayMs=F;break}}}),m.length&&t.warn(`hls.js config: "${m.join('", "')}" setting(s) are deprecated, use "${d}": ${ct(e[d])}`)}),w(w({},n),e)}function mu(o){return o&&typeof o=="object"?Array.isArray(o)?o.map(mu):Object.keys(o).reduce((e,t)=>(e[t]=mu(o[t]),e),{}):o}function Ld(o,e){const t=o.loader;t!==Yu&&t!==Xu?(e.log("[config]: Custom loader detected, cannot enable progressive streaming"),o.progressive=!1):bd()&&(o.loader=Yu,o.progressive=!0,o.enableSoftwareAES=!0,e.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Vl=2,Od=.1,Pd=.05,Md=100;class Nd extends br{constructor(e,t){super("gap-controller",e.logger),this.hls=void 0,this.fragmentTracker=void 0,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var n;(n=this.media)!=null&&n.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var n;this.ended=((n=this.media)==null?void 0:n.currentTime)||1,this.hls.trigger(g.MEDIA_ENDED,{stalled:!1})}},this.hls=e,this.fragmentTracker=t,this.registerListeners()}registerListeners(){const{hls:e}=this;e&&(e.on(g.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(g.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:e}=this;e&&(e.off(g.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(g.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(e,t){this.setInterval(Md),this.mediaSource=t.mediaSource;const n=this.media=t.media;Ha(n,"playing",this.onMediaPlaying),Ha(n,"waiting",this.onMediaWaiting),Ha(n,"ended",this.onMediaEnded)}onMediaDetaching(e,t){this.clearInterval();const{media:n}=this;n&&(Qa(n,"playing",this.onMediaPlaying),Qa(n,"waiting",this.onMediaWaiting),Qa(n,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(e,t){this.buffered=t.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var e;if(!((e=this.media)!=null&&e.readyState)||!this.hasBuffered)return;const t=this.media.currentTime;this.poll(t,this.lastCurrentTime),this.lastCurrentTime=t}poll(e,t){var n,r;const a=(n=this.hls)==null?void 0:n.config;if(!a)return;const s=this.media;if(!s)return;const{seeking:d}=s,p=this.seeking&&!d,m=!this.seeking&&d,v=s.paused&&!d||s.ended||s.playbackRate===0;if(this.seeking=d,e!==t){t&&(this.ended=0),this.moved=!0,d||(this.nudgeRetry=0,a.nudgeOnVideoHole&&!v&&e>t&&this.nudgeOnVideoHole(e,t)),this.waiting===0&&this.stallResolved(e);return}if(m||p){p&&this.stallResolved(e);return}if(v){this.nudgeRetry=0,this.stallResolved(e),!this.ended&&s.ended&&this.hls&&(this.ended=e||1,this.hls.trigger(g.MEDIA_ENDED,{stalled:!1}));return}if(!cr.getBuffered(s).length){this.nudgeRetry=0;return}const S=cr.bufferInfo(s,e,0),F=S.nextStart||0,q=this.fragmentTracker;if(d&&q&&this.hls){const sr=Qu(this.hls.inFlightFragments,e),Dn=S.len>Vl,Vn=!F||sr||F-e>Vl&&!q.getPartialFragment(e);if(Dn||Vn)return;this.moved=!1}const ee=(r=this.hls)==null?void 0:r.latestLevelDetails;if(!this.moved&&this.stalled!==null&&q){if(!(S.len>0)&&!F)return;const Dn=Math.max(F,S.start||0)-e,$n=!!(ee!=null&&ee.live)?ee.targetduration*2:Vl,On=Gl(e,q);if(Dn>0&&(Dn<=$n||On)){s.paused||this._trySkipBufferHole(On);return}}const We=a.detectStallWithCurrentTimeMs,He=self.performance.now(),Dt=this.waiting;let Ut=this.stalled;if(Ut===null)if(Dt>0&&He-Dt<We)Ut=this.stalled=Dt;else{this.stalled=He;return}const $t=He-Ut;if(!d&&($t>=We||Dt)&&this.hls){var yn;if(((yn=this.mediaSource)==null?void 0:yn.readyState)==="ended"&&!(ee!=null&&ee.live)&&Math.abs(e-((ee==null?void 0:ee.edge)||0))<1){if(this.ended)return;this.ended=e||1,this.hls.trigger(g.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(S),!this.media||!this.hls)return}const Tn=cr.bufferInfo(s,e,a.maxBufferHole);this._tryFixBufferStall(Tn,$t,e)}stallResolved(e){const t=this.stalled;if(t&&this.hls&&(this.stalled=null,this.stallReported)){const n=self.performance.now()-t;this.log(`playback not stuck anymore @${e}, after ${Math.round(n)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(g.STALL_RESOLVED,{})}}nudgeOnVideoHole(e,t){var n;const r=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(n=this.buffered.audio)!=null&&n.length&&r&&r.length>1&&e>r.end(0)){const a=cr.bufferedInfo(cr.timeRangesToArray(this.buffered.audio),e,0);if(a.len>1&&t>=a.start){const s=cr.timeRangesToArray(r),d=cr.bufferedInfo(s,t,0).bufferedIndex;if(d>-1&&d<s.length-1){const p=cr.bufferedInfo(s,e,0).bufferedIndex,m=s[d].end,v=s[d+1].start;if((p===-1||p>d)&&v-m<1&&e-m<2){const S=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${e} hole: ${m} -> ${v} buffered index: ${p}`);this.warn(S.message),this.media.currentTime+=1e-6;let F=Gl(e,this.fragmentTracker);F&&"fragment"in F?F=F.fragment:F||(F=void 0);const q=cr.bufferInfo(this.media,e,0);this.hls.trigger(g.ERROR,{type:ce.MEDIA_ERROR,details:j.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:S,reason:S.message,frag:F,buffer:q.len,bufferInfo:q})}}}}}_tryFixBufferStall(e,t,n){var r,a;const{fragmentTracker:s,media:d}=this,p=(r=this.hls)==null?void 0:r.config;if(!d||!s||!p)return;const m=(a=this.hls)==null?void 0:a.latestLevelDetails,v=Gl(n,s);if((v||m!=null&&m.live&&n<m.fragmentStart)&&(this._trySkipBufferHole(v)||!this.media))return;const S=e.buffered,F=this.adjacentTraversal(e,n);(S&&S.length>1&&e.len>p.maxBufferHole||e.nextStart&&(e.nextStart-n<p.maxBufferHole||F))&&(t>p.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(e))}adjacentTraversal(e,t){const n=this.fragmentTracker,r=e.nextStart;if(n&&r){const a=n.getFragAtPos(t,K.MAIN),s=n.getFragAtPos(r,K.MAIN);if(a&&s)return s.sn-a.sn<2}return!1}_reportStall(e){const{hls:t,media:n,stallReported:r,stalled:a}=this;if(!r&&a!==null&&n&&t){this.stallReported=!0;const s=new Error(`Playback stalling at @${n.currentTime} due to low buffer (${ct(e)})`);this.warn(s.message),t.trigger(g.ERROR,{type:ce.MEDIA_ERROR,details:j.BUFFER_STALLED_ERROR,fatal:!1,error:s,buffer:e.len,bufferInfo:e,stalled:{start:a}})}}_trySkipBufferHole(e){var t;const{fragmentTracker:n,media:r}=this,a=(t=this.hls)==null?void 0:t.config;if(!r||!n||!a)return 0;const s=r.currentTime,d=cr.bufferInfo(r,s,0),p=s<d.start?d.start:d.nextStart;if(p&&this.hls){const v=d.len<=a.maxBufferHole,S=d.len>0&&d.len<1&&r.readyState<3,F=p-s;if(F>0&&(v||S)){if(F>a.maxBufferHole){let ee=!1;if(s===0){const We=n.getAppendedFrag(0,K.MAIN);We&&p<We.end&&(ee=!0)}if(!ee&&e){var m;if(!((m=this.hls.loadLevelObj)!=null&&m.details)||Qu(this.hls.inFlightFragments,p))return 0;let He=!1,Dt=e.end;for(;Dt<p;){const Ut=Gl(Dt,n);if(Ut)Dt+=Ut.duration;else{He=!0;break}}if(He)return 0}}const q=Math.max(p+Pd,s+Od);if(this.warn(`skipping hole, adjusting currentTime from ${s} to ${q}`),this.moved=!0,r.currentTime=q,!(e!=null&&e.gap)){const ee=new Error(`fragment loaded with buffer holes, seeking from ${s} to ${q}`),We={type:ce.MEDIA_ERROR,details:j.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ee,reason:ee.message,buffer:d.len,bufferInfo:d};e&&("fragment"in e?We.part=e:We.frag=e),this.hls.trigger(g.ERROR,We)}return q}}return 0}_tryNudgeBuffer(e){const{hls:t,media:n,nudgeRetry:r}=this,a=t==null?void 0:t.config;if(!n||!a)return 0;const s=n.currentTime;if(this.nudgeRetry++,r<a.nudgeMaxRetry){const d=s+(r+1)*a.nudgeOffset,p=new Error(`Nudging 'currentTime' from ${s} to ${d}`);this.warn(p.message),n.currentTime=d,t.trigger(g.ERROR,{type:ce.MEDIA_ERROR,details:j.BUFFER_NUDGE_ON_STALL,error:p,fatal:!1,buffer:e.len,bufferInfo:e})}else{const d=new Error(`Playhead still not moving while enough data buffered @${s} after ${a.nudgeMaxRetry} nudges`);this.error(d.message),t.trigger(g.ERROR,{type:ce.MEDIA_ERROR,details:j.BUFFER_STALLED_ERROR,error:d,fatal:!0,buffer:e.len,bufferInfo:e})}}}function Qu(o,e){const t=Ju(o.main);if(t&&t.start<=e)return t;const n=Ju(o.audio);return n&&n.start<=e?n:null}function Ju(o){if(!o)return null;switch(o.state){case dr.IDLE:case dr.STOPPED:case dr.ENDED:case dr.ERROR:return null}return o.frag}function Gl(o,e){return e.getAppendedFrag(o,K.MAIN)||e.getPartialFragment(o)}const kd=.25;function pu(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function gu(o,e,t,n,r){let a=new o(e,t,"");try{a.value=n,r&&(a.type=r)}catch(s){a=new o(e,t,ct(r?w({type:r},n):n))}return a}const Yl=(()=>{const o=pu();try{o&&new o(0,Number.POSITIVE_INFINITY,"")}catch(e){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class Bd{constructor(e){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(g.EVENT_CUE_ENTER,{})},this.hls=e,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:e}=this;e&&(e.on(g.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(g.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(g.MANIFEST_LOADING,this.onManifestLoading,this),e.on(g.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.on(g.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(g.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(g.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:e}=this;e&&(e.off(g.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(g.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(g.MANIFEST_LOADING,this.onManifestLoading,this),e.off(g.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.off(g.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(g.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(g.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}onMediaAttaching(e,t){var n;this.media=t.media,((n=t.overrides)==null?void 0:n.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){var e;const t=(e=this.hls)==null?void 0:e.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(e,t){this.media=null,!t.transferMedia&&(this.id3Track&&(this.removeCues&&qo(this.id3Track,this.onEventCueEnter),this.id3Track=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 Tu(n,this.media),n}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(e,t){if(!this.media||!this.hls)return;const{enableEmsgMetadataCues:n,enableID3MetadataCues:r}=this.hls.config;if(!n&&!r)return;const{samples:a}=t;this.id3Track||(this.id3Track=this.createTrack(this.media));const s=pu();if(s)for(let d=0;d<a.length;d++){const p=a[d].type;if(p===at.emsg&&!n||!r)continue;const m=Io(a[d].data),v=a[d].pts;let S=v+a[d].duration;S>Yl&&(S=Yl),S-v<=0&&(S=v+kd);for(let q=0;q<m.length;q++){const ee=m[q];if(!Go(ee)){this.updateId3CueEnds(v,p);const We=gu(s,v,S,ee,p);We&&this.id3Track.addCue(We)}}}}updateId3CueEnds(e,t){var n;const r=(n=this.id3Track)==null?void 0:n.cues;if(r)for(let a=r.length;a--;){const s=r[a];s.type===t&&s.startTime<e&&s.endTime===Yl&&(s.endTime=e)}}onBufferFlushing(e,{startOffset:t,endOffset:n,type:r}){const{id3Track:a,hls:s}=this;if(!s)return;const{config:{enableEmsgMetadataCues:d,enableID3MetadataCues:p}}=s;if(a&&(d||p)){let m;r==="audio"?m=v=>v.type===at.audioId3&&p:r==="video"?m=v=>v.type===at.emsg&&d:m=v=>v.type===at.audioId3&&p||v.type===at.emsg&&d,nu(a,t,n,m)}}onLevelUpdated(e,{details:t}){this.updateDateRangeCues(t,!0)}onLevelPtsUpdated(e,t){Math.abs(t.drift)>.01&&this.updateDateRangeCues(t.details)}updateDateRangeCues(e,t){if(!this.hls||!this.media)return;const{assetPlayerId:n,timelineOffset:r,enableDateRangeMetadataCues:a,interstitialsController:s}=this.hls.config;if(!a)return;const d=pu();if(n&&r&&!s){const{fragmentStart:We,fragmentEnd:He}=e;let Dt=this.assetCue;Dt?(Dt.startTime=We,Dt.endTime=He):d&&(Dt=this.assetCue=gu(d,We,He,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),Dt&&(Dt.id=n,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(Dt),Dt.addEventListener("enter",this.onEventCueEnter)))}if(!e.hasProgramDateTime)return;const{id3Track:p}=this,{dateRanges:m}=e,v=Object.keys(m);let S=this.dateRangeCuesAppended;if(p&&t){var F;if((F=p.cues)!=null&&F.length){const We=Object.keys(S).filter(He=>!v.includes(He));for(let He=We.length;He--;){var q;const Dt=We[He],Ut=(q=S[Dt])==null?void 0:q.cues;delete S[Dt],Ut&&Object.keys(Ut).forEach($t=>{const yn=Ut[$t];if(yn){yn.removeEventListener("enter",this.onEventCueEnter);try{p.removeCue(yn)}catch(Tn){}}})}}else S=this.dateRangeCuesAppended={}}const ee=e.fragments[e.fragments.length-1];if(!(v.length===0||!i(ee==null?void 0:ee.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let We=0;We<v.length;We++){const He=v[We],Dt=m[He],Ut=Dt.startTime,$t=S[He],yn=($t==null?void 0:$t.cues)||{};let Tn=($t==null?void 0:$t.durationKnown)||!1,sr=Yl;const{duration:Dn,endDate:Vn}=Dt;if(Vn&&Dn!==null)sr=Ut+Dn,Tn=!0;else if(Dt.endOnNext&&!Tn){const On=v.reduce((pr,$r)=>{if($r!==Dt.id){const oi=m[$r];if(oi.class===Dt.class&&oi.startDate>Dt.startDate&&(!pr||Dt.startDate<pr.startDate))return oi}return pr},null);On&&(sr=On.startTime,Tn=!0)}const $n=Object.keys(Dt.attr);for(let On=0;On<$n.length;On++){const pr=$n[On];if(!ra(pr))continue;const $r=yn[pr];if($r)Tn&&!($t!=null&&$t.durationKnown)?$r.endTime=sr:Math.abs($r.startTime-Ut)>.01&&($r.startTime=Ut,$r.endTime=sr);else if(d){let oi=Dt.attr[pr];Zi(pr)&&(oi=k(oi));const li=gu(d,Ut,sr,{key:pr,data:oi},at.dateRange);li&&(li.id=He,this.id3Track.addCue(li),yn[pr]=li,s&&(pr==="X-ASSET-LIST"||pr==="X-ASSET-URL")&&li.addEventListener("enter",this.onEventCueEnter))}}S[He]={cues:yn,dateRange:Dt,durationKnown:Tn}}}}}class Fd{constructor(e){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:t}=this,n=this.levelDetails;if(!t||!n)return;this.currentTime=t.currentTime;const r=this.computeLatency();if(r===null)return;this._latency=r;const{lowLatencyMode:a,maxLiveSyncPlaybackRate:s}=this.config;if(!a||s===1||!n.live)return;const d=this.targetLatency;if(d===null)return;const p=r-d,m=Math.min(this.maxLatency,d+n.targetduration);if(p<m&&p>.05&&this.forwardBufferLength>1){const S=Math.min(2,Math.max(1,s)),F=Math.round(2/(1+Math.exp(-.75*p-this.edgeStalled))*20)/20,q=Math.min(S,Math.max(1,F));this.changeMediaPlaybackRate(t,q)}else t.playbackRate!==1&&t.playbackRate!==0&&this.changeMediaPlaybackRate(t,1)},this.hls=e,this.config=e.config,this.registerListeners()}get levelDetails(){var e;return((e=this.hls)==null?void 0:e.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:e}=this;if(e.liveMaxLatencyDuration!==void 0)return e.liveMaxLatencyDuration;const t=this.levelDetails;return t?e.liveMaxLatencyDurationCount*t.targetduration:0}get targetLatency(){const e=this.levelDetails;if(e===null||this.hls===null)return null;const{holdBack:t,partHoldBack:n,targetduration:r}=e,{liveSyncDuration:a,liveSyncDurationCount:s,lowLatencyMode:d}=this.config,p=this.hls.userConfig;let m=d&&n||t;(this._targetLatencyUpdated||p.liveSyncDuration||p.liveSyncDurationCount||m===0)&&(m=a!==void 0?a:s*r);const v=r;return m+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,v)}set targetLatency(e){this.stallCount=0,this.config.liveSyncDuration=e,this._targetLatencyUpdated=!0}get liveSyncPosition(){const e=this.estimateLiveEdge(),t=this.targetLatency;if(e===null||t===null)return null;const n=this.levelDetails;if(n===null)return null;const r=n.edge,a=e-t-this.edgeStalled,s=r-n.totalduration,d=r-(this.config.lowLatencyMode&&n.partTarget||n.targetduration);return Math.min(Math.max(s,a),d)}get drift(){const e=this.levelDetails;return e===null?1:e.drift}get edgeStalled(){const e=this.levelDetails;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}=this,t=this.levelDetails;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.hls=null}registerListeners(){const{hls:e}=this;e&&(e.on(g.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(g.MANIFEST_LOADING,this.onManifestLoading,this),e.on(g.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(g.ERROR,this.onError,this))}unregisterListeners(){const{hls:e}=this;e&&(e.off(g.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(g.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(g.MANIFEST_LOADING,this.onManifestLoading,this),e.off(g.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(g.ERROR,this.onError,this))}onMediaAttached(e,t){this.media=t.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(e,{details:t}){t.advanced&&this.onTimeupdate(),!t.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(e,t){var n;t.details===j.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(n=this.levelDetails)!=null&&n.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(e,t){var n,r;e.playbackRate!==t&&((n=this.hls)==null||n.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(r=this.targetLatency)==null?void 0:r.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${e.playbackRate} to ${t}`),e.playbackRate=t)}estimateLiveEdge(){const e=this.levelDetails;return e===null?null:e.edge+e.age}computeLatency(){const e=this.estimateLiveEdge();return e===null?null:e-this.currentTime}}class zd extends _a{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(g.MANIFEST_LOADING,this.onManifestLoading,this),e.on(g.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(g.LEVEL_LOADED,this.onLevelLoaded,this),e.on(g.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(g.FRAG_BUFFERED,this.onFragBuffered,this),e.on(g.ERROR,this.onError,this)}_unregisterListeners(){const{hls:e}=this;e.off(g.MANIFEST_LOADING,this.onManifestLoading,this),e.off(g.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(g.LEVEL_LOADED,this.onLevelLoaded,this),e.off(g.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(g.FRAG_BUFFERED,this.onFragBuffered,this),e.off(g.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=[],a={},s={};let d=!1,p=!1,m=!1;t.levels.forEach(v=>{const S=v.attrs;let{audioCodec:F,videoCodec:q}=v;F&&(v.audioCodec=F=Se(F,n)||void 0),q&&(q=v.videoCodec=le(q));const{width:ee,height:We,unknownCodecs:He}=v,Dt=(He==null?void 0:He.length)||0;if(d||(d=!!(ee&&We)),p||(p=!!q),m||(m=!!F),Dt||F&&!this.isAudioSupported(F)||q&&!this.isVideoSupported(q)){this.log(`Some or all CODECS not supported "${S.CODECS}"`);return}const{CODECS:Ut,"FRAME-RATE":$t,"HDCP-LEVEL":yn,"PATHWAY-ID":Tn,RESOLUTION:sr,"VIDEO-RANGE":Dn}=S,$n=`${`${Tn||"."}-`}${v.bitrate}-${sr}-${$t}-${Ut}-${Dn}-${yn}`;if(a[$n])if(a[$n].uri!==v.url&&!v.attrs["PATHWAY-ID"]){const On=s[$n]+=1;v.attrs["PATHWAY-ID"]=new Array(On+1).join(".");const pr=this.createLevel(v);a[$n]=pr,r.push(pr)}else a[$n].addGroupId("audio",S.AUDIO),a[$n].addGroupId("text",S.SUBTITLES);else{const On=this.createLevel(v);a[$n]=On,s[$n]=1,r.push(On)}}),this.filterAndSortMediaOptions(r,t,d,p,m)}createLevel(e){const t=new ot(e),n=e.supplemental;if(n!=null&&n.videoCodec&&!this.isVideoSupported(n.videoCodec)){const r=new Error(`SUPPLEMENTAL-CODECS not supported "${n.videoCodec}"`);this.log(r.message),t.supportedResult=Ot(r,[])}return t}isAudioSupported(e){return Ve(e,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(e){return Ve(e,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(e,t,n,r,a){var s;let d=[],p=[],m=e;const v=((s=t.stats)==null?void 0:s.parsing)||{};if((n||r)&&a&&(m=m.filter(({videoCodec:Ut,videoRange:$t,width:yn,height:Tn})=>(!!Ut||!!(yn&&Tn))&&st($t))),m.length===0){Promise.resolve().then(()=>{if(this.hls){let Ut="no level with compatible codecs found in manifest",$t=Ut;t.levels.length&&($t=`one or more CODECS in variant not supported: ${ct(t.levels.map(Tn=>Tn.attrs.CODECS).filter((Tn,sr,Dn)=>Dn.indexOf(Tn)===sr))}`,this.warn($t),Ut+=` (${$t})`);const yn=new Error(Ut);this.hls.trigger(g.ERROR,{type:ce.MEDIA_ERROR,details:j.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:t.url,error:yn,reason:$t})}}),v.end=performance.now();return}t.audioTracks&&(d=t.audioTracks.filter(Ut=>!Ut.audioCodec||this.isAudioSupported(Ut.audioCodec)),qu(d)),t.subtitles&&(p=t.subtitles,qu(p));const S=m.slice(0);m.sort((Ut,$t)=>{if(Ut.attrs["HDCP-LEVEL"]!==$t.attrs["HDCP-LEVEL"])return(Ut.attrs["HDCP-LEVEL"]||"")>($t.attrs["HDCP-LEVEL"]||"")?1:-1;if(n&&Ut.height!==$t.height)return Ut.height-$t.height;if(Ut.frameRate!==$t.frameRate)return Ut.frameRate-$t.frameRate;if(Ut.videoRange!==$t.videoRange)return je.indexOf(Ut.videoRange)-je.indexOf($t.videoRange);if(Ut.videoCodec!==$t.videoCodec){const yn=we(Ut.videoCodec),Tn=we($t.videoCodec);if(yn!==Tn)return Tn-yn}if(Ut.uri===$t.uri&&Ut.codecSet!==$t.codecSet){const yn=tt(Ut.codecSet),Tn=tt($t.codecSet);if(yn!==Tn)return Tn-yn}return Ut.averageBitrate!==$t.averageBitrate?Ut.averageBitrate-$t.averageBitrate:0});let F=S[0];if(this.steering&&(m=this.steering.filterParsedLevels(m),m.length!==S.length)){for(let Ut=0;Ut<S.length;Ut++)if(S[Ut].pathwayId===m[0].pathwayId){F=S[Ut];break}}this._levels=m;for(let Ut=0;Ut<m.length;Ut++)if(m[Ut]===F){var q;this._firstLevel=Ut;const $t=F.bitrate,yn=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${m.length} level(s) found, first bitrate: ${$t}`),((q=this.hls.userConfig)==null?void 0:q.abrEwmaDefaultEstimate)===void 0){const Tn=Math.min($t,this.hls.config.abrEwmaDefaultEstimateMax);Tn>yn&&yn===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=Tn)}break}const ee=a&&!r,We=this.hls.config,He=!!(We.audioStreamController&&We.audioTrackController),Dt={levels:m,audioTracks:d,subtitleTracks:p,sessionData:t.sessionData,sessionKeys:t.sessionKeys,firstLevel:this._firstLevel,stats:t.stats,audio:a,video:r,altAudio:He&&!ee&&d.some(Ut=>!!Ut.url)};v.end=performance.now(),this.hls.trigger(g.MANIFEST_PARSED,Dt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(e){const t=this._levels;if(t.length===0)return;if(e<0||e>=t.length){const v=new Error("invalid level idx"),S=e<0;if(this.hls.trigger(g.ERROR,{type:ce.OTHER_ERROR,details:j.LEVEL_SWITCH_ERROR,level:e,fatal:S,error:v,reason:v.message}),S)return;e=Math.min(e,t.length-1)}const n=this.currentLevelIndex,r=this.currentLevel,a=r?r.attrs["PATHWAY-ID"]:void 0,s=t[e],d=s.attrs["PATHWAY-ID"];if(this.currentLevelIndex=e,this.currentLevel=s,n===e&&r&&a===d)return;this.log(`Switching to level ${e} (${s.height?s.height+"p ":""}${s.videoRange?s.videoRange+" ":""}${s.codecSet?s.codecSet+" ":""}@${s.bitrate})${d?" with Pathway "+d:""} from level ${n}${a?" with Pathway "+a:""}`);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(g.LEVEL_SWITCHING,p);const m=s.details;if(!m||m.live){const v=this.switchParams(s.uri,r==null?void 0:r.details,m);this.loadPlaylist(v)}}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}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(e){if(this.steering){const t=this.steering.pathways(),n=e.filter(r=>t.indexOf(r)!==-1);if(e.length<1){this.warn(`pathwayPriority ${e} should contain at least one pathway from list: ${t}`);return}this.steering.pathwayPriority=n}}onError(e,t){t.fatal||!t.context||t.context.type===V.LEVEL&&t.context.level===this.level&&this.checkRetry(t)}onFragBuffered(e,{frag:t}){if(t!==void 0&&t.type===K.MAIN){const n=t.elementaryStreams;if(!Object.keys(n).some(a=>!!n[a]))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:a}=t,s=t.levelInfo;if(!s){var d;this.warn(`Invalid level index ${r}`),(d=t.deliveryDirectives)!=null&&d.skip&&(a.deltaUpdateFailed=!0);return}if(s===this.currentLevel||t.withoutMultiVariant){s.fragmentError===0&&(s.loadError=0);let p=s.details;p===t.details&&p.advanced&&(p=void 0),this.playlistLoaded(r,t,p)}else(n=t.deliveryDirectives)!=null&&n.skip&&(a.deltaUpdateFailed=!0)}loadPlaylist(e){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,e)}loadingPlaylist(e,t){super.loadingPlaylist(e,t);const n=this.getUrlWithDirectives(e.uri,t),r=this.currentLevelIndex,a=e.attrs["PATHWAY-ID"],s=e.details,d=s==null?void 0:s.age;this.log(`Loading level index ${r}${(t==null?void 0:t.msn)!==void 0?" at sn "+t.msn+" part "+t.part:""}${a?" Pathway "+a:""}${d&&s.live?" age "+d.toFixed(1)+(s.type?" "+s.type||0:""):""} ${n}`),this.hls.trigger(g.LEVEL_LOADING,{url:n,level:r,levelInfo:e,pathwayId:e.attrs["PATHWAY-ID"],id:0,deliveryDirectives:t||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;if(this._levels.length===1)return;const n=this._levels.filter((a,s)=>s!==e?!0:(this.steering&&this.steering.removeLevel(a),a===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,a.details&&a.details.fragments.forEach(d=>d.level=-1)),!1));Ka(n),this._levels=n,this.currentLevelIndex>-1&&(t=this.currentLevel)!=null&&t.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const r=n.length-1;this._firstLevel=Math.min(this._firstLevel,r),this._startLevel&&(this._startLevel=Math.min(this._startLevel,r)),this.hls.trigger(g.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(g.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:e,levels:this.levels,maxAutoLevel:t,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:n}))}}function qu(o){const e={};o.forEach(t=>{const n=t.groupId||"";t.id=e[n]=e[n]||0,e[n]++})}function ec(){return self.SourceBuffer||self.WebKitSourceBuffer}function tc(){if(!Ue())return!1;const e=ec();return!e||e.prototype&&typeof e.prototype.appendBuffer=="function"&&typeof e.prototype.remove=="function"}function Zd(){if(!tc())return!1;const o=Ue();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(ye(e,"video")))||["mp4a.40.2","fLaC"].some(e=>o.isTypeSupported(ye(e,"audio"))))}function jd(){var o;const e=ec();return typeof(e==null||(o=e.prototype)==null?void 0:o.changeType)=="function"}const Ud=100;class Kd extends oo{constructor(e,t,n){super(e,t,n,"stream-controller",K.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const r=this.media,a=r?r.currentTime:null;if(a===null||!i(a)||(this.log(`Media seeked to ${a.toFixed(3)}`),!this.getBufferedFrag(a)))return;const s=this.getFwdBufferInfoAtPos(r,a,K.MAIN,0);if(s===null||s.len===0){this.warn(`Main forward buffer length at ${a} on "seeked" event ${s?s.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:e}=this;e.on(g.MANIFEST_PARSED,this.onManifestParsed,this),e.on(g.LEVEL_LOADING,this.onLevelLoading,this),e.on(g.LEVEL_LOADED,this.onLevelLoaded,this),e.on(g.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.on(g.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(g.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.on(g.BUFFER_CREATED,this.onBufferCreated,this),e.on(g.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(g.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(g.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:e}=this;e.off(g.MANIFEST_PARSED,this.onManifestParsed,this),e.off(g.LEVEL_LOADED,this.onLevelLoaded,this),e.off(g.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.off(g.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(g.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.off(g.BUFFER_CREATED,this.onBufferCreated,this),e.off(g.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(g.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(g.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(e,t){if(this.levels){const{lastCurrentTime:n,hls:r}=this;if(this.stopLoad(),this.setInterval(Ud),this.level=-1,!this.startFragRequested){let a=r.startLevel;a===-1&&(r.config.testBandwidth&&this.levels.length>1?(a=0,this.bitrateTest=!0):a=r.firstAutoLevel),r.nextLoadLevel=a,this.level=r.loadLevel,this._hasEnoughToStart=!!t}n>0&&e===-1&&!t&&(this.log(`Override startPosition with lastCurrentTime @${n.toFixed(3)}`),e=n),this.state=dr.IDLE,this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}else this._forceStartLoad=!0,this.state=dr.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case dr.WAITING_LEVEL:{const{levels:e,level:t}=this,n=e==null?void 0:e[t],r=n==null?void 0:n.details;if(r&&(!r.live||this.levelLastLoaded===n&&!this.waitForLive(n))){if(this.waitForCdnTuneIn(r))break;this.state=dr.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=dr.IDLE;break}break}case dr.FRAG_LOADING_WAITING_RETRY:this.checkRetryDate();break}this.state===dr.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var e;super.onTickEnd(),(e=this.media)!=null&&e.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:e,levelLastLoaded:t,levels:n,media:r}=this;if(t===null||!r&&!this.primaryPrefetch&&(this.startFragRequested||!e.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const a=this.buffering?e.nextLoadLevel:e.loadLevel;if(!(n!=null&&n[a]))return;const s=n[a],d=this.getMainFwdBufferInfo();if(d===null)return;const p=this.getLevelDetails();if(p&&this._streamEnded(d,p)){const We={};this.altAudio===2&&(We.type="video"),this.hls.trigger(g.BUFFER_EOS,We),this.state=dr.ENDED;return}if(!this.buffering)return;e.loadLevel!==a&&e.manualLevel===-1&&this.log(`Adapting to level ${a} from level ${this.level}`),this.level=e.nextLoadLevel=a;const m=s.details;if(!m||this.state===dr.WAITING_LEVEL||this.waitForLive(s)){this.level=a,this.state=dr.WAITING_LEVEL,this.startFragRequested=!1;return}const v=d.len,S=this.getMaxBufferLength(s.maxBitrate);if(v>=S)return;this.backtrackFragment&&this.backtrackFragment.start>d.end&&(this.backtrackFragment=null);const F=this.backtrackFragment?this.backtrackFragment.start:d.end;let q=this.getNextFragment(F,m);if(this.couldBacktrack&&!this.fragPrevious&&q&&ft(q)&&this.fragmentTracker.getState(q)!==Gn.OK){var ee;const He=((ee=this.backtrackFragment)!=null?ee:q).sn-m.startSN,Dt=m.fragments[He-1];Dt&&q.cc===Dt.cc&&(q=Dt,this.fragmentTracker.removeFragment(Dt))}else this.backtrackFragment&&d.len&&(this.backtrackFragment=null);if(q&&this.isLoopLoading(q,F)){if(!q.gap){const He=this.audioOnly&&!this.altAudio?fe.AUDIO:fe.VIDEO,Dt=(He===fe.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Dt&&this.afterBufferFlushed(Dt,He,K.MAIN)}q=this.getNextFragmentLoopLoading(q,m,d,K.MAIN,S)}q&&(q.initSegment&&!q.initSegment.data&&!this.bitrateTest&&(q=q.initSegment),this.loadFragment(q,s,F))}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);r===Gn.NOT_LOADED||r===Gn.PARTIAL?ft(e)?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)):super.loadFragment(e,t,n):this._loadInitSegment(e,t):this.clearTrackerIfNeeded(e)}getBufferedFrag(e){return this.fragmentTracker.getBufferedFrag(e,K.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 a=this.getLevelDetails();if(a!=null&&a.live){const d=this.getMainFwdBufferInfo();if(!d||d.len<a.targetduration*2)return}if(!t.paused&&e){const d=this.hls.nextLoadLevel,p=e[d],m=this.fragLastKbps;m&&this.fragCurrent?n=this.fragCurrent.duration*p.maxBitrate/(1e3*m)+1:n=0}else n=0;const s=this.getBufferedFrag(t.currentTime+n);if(s){const d=this.followingBufferedFrag(s);if(d){this.abortCurrentFrag();const p=d.maxStartPTS?d.maxStartPTS:d.start,m=d.duration,v=Math.max(s.end,p+Math.min(Math.max(m-this.config.maxFragLookUpTolerance,m*(this.couldBacktrack?.5:.125)),m*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(v,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 dr.KEY_LOADING:case dr.FRAG_LOADING:case dr.FRAG_LOADING_WAITING_RETRY:case dr.PARSING:case dr.PARSED:this.state=dr.IDLE;break}this.nextLoadPosition=this.getLoadPosition()}flushMainBuffer(e,t){super.flushMainBuffer(e,t,this.altAudio===2?"video":null)}onMediaAttached(e,t){super.onMediaAttached(e,t);const n=t.media;Ha(n,"playing",this.onMediaPlaying),Ha(n,"seeked",this.onMediaSeeked)}onMediaDetaching(e,t){const{media:n}=this;n&&(Qa(n,"playing",this.onMediaPlaying),Qa(n,"seeked",this.onMediaSeeked)),this.videoBuffer=null,this.fragPlaying=null,super.onMediaDetaching(e,t),!t.transferMedia&&(this._hasEnoughToStart=!1)}onManifestLoading(){super.onManifestLoading(),this.log("Trigger BUFFER_RESET"),this.hls.trigger(g.BUFFER_RESET,void 0),this.couldBacktrack=!1,this.fragLastKbps=0,this.fragPlaying=this.backtrackFragment=null,this.altAudio=0,this.audioOnly=!1}onManifestParsed(e,t){let n=!1,r=!1;for(let a=0;a<t.levels.length;a++){const s=t.levels[a].audioCodec;s&&(n=n||s.indexOf("mp4a.40.2")!==-1,r=r||s.indexOf("mp4a.40.5")!==-1)}this.audioCodecSwitch=n&&r&&!jd(),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!==dr.IDLE)return;const r=t.levelInfo;(!r.details||r.details.live&&(this.levelLastLoaded!==r||r.details.expired)||this.waitForCdnTuneIn(r.details))&&(this.state=dr.WAITING_LEVEL)}onLevelLoaded(e,t){var n;const{levels:r,startFragRequested:a}=this,s=t.level,d=t.details,p=d.totalduration;if(!r){this.warn(`Levels were reset while loading level ${s}`);return}this.log(`Level ${s} loaded [${d.startSN},${d.endSN}]${d.lastPartSn?`[part-${d.lastPartSn}-${d.lastPartIndex}]`:""}, cc [${d.startCC}, ${d.endCC}] duration:${p}`);const m=t.levelInfo,v=this.fragCurrent;v&&(this.state===dr.FRAG_LOADING||this.state===dr.FRAG_LOADING_WAITING_RETRY)&&v.level!==t.level&&v.loader&&this.abortCurrentFrag();let S=0;if(d.live||(n=m.details)!=null&&n.live){var F;if(this.checkLiveUpdate(d),d.deltaUpdateFailed)return;S=this.alignPlaylists(d,m.details,(F=this.levelLastLoaded)==null?void 0:F.details)}if(m.details=d,this.levelLastLoaded=m,a||this.setStartPosition(d,S),this.hls.trigger(g.LEVEL_UPDATED,{details:d,level:s}),this.state===dr.WAITING_LEVEL){if(this.waitForCdnTuneIn(d))return;this.state=dr.IDLE}a&&d.live&&this.synchronizeToLiveEdge(d),this.tick()}synchronizeToLiveEdge(e){const{config:t,media:n}=this;if(!n)return;const r=this.hls.liveSyncPosition,a=this.getLoadPosition(),s=e.fragmentStart,d=e.edge,p=a>=s-t.maxFragLookUpTolerance&&a<=d;if(r!==null&&n.duration>r&&(a<r||!p)){const v=t.liveMaxLatencyDuration!==void 0?t.liveMaxLatencyDuration:t.liveMaxLatencyDurationCount*e.targetduration;if((!p&&n.readyState<4||a<d-v)&&(this._hasEnoughToStart||(this.nextLoadPosition=r),n.readyState))if(this.warn(`Playback: ${a.toFixed(3)} is located too far from the end of live sliding playlist: ${d}, reset currentTime to : ${r.toFixed(3)}`),this.config.liveSyncMode==="buffered"){var m;const S=cr.bufferInfo(n,r,0);if(!((m=S.buffered)!=null&&m.length)){n.currentTime=r;return}if(S.start<=a){n.currentTime=r;return}const{nextStart:q}=cr.bufferedInfo(S.buffered,a,0);q&&(n.currentTime=q)}else n.currentTime=r}}_handleFragmentLoadProgress(e){var t;const n=e.frag,{part:r,payload:a}=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 d=s[n.level];if(!d){this.warn(`Level ${n.level} not found on progress`);return}const p=d.details;if(!p){this.warn(`Dropping fragment ${n.sn} of level ${n.level} after level details were reset`),this.fragmentTracker.removeFragment(n);return}const m=d.videoCodec,v=p.PTSKnown||!p.live,S=(t=n.initSegment)==null?void 0:t.data,F=this._getAudioCodec(d),q=this.transmuxer=this.transmuxer||new wa(this.hls,K.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),ee=r?r.index:-1,We=ee!==-1,He=new Dr(n.level,n.sn,n.stats.chunkCount,a.byteLength,ee,We),Dt=this.initPTS[n.cc];q.push(a,S,F,m,n,r,p.totalduration,v,He,Dt)}onAudioTrackSwitching(e,t){const n=this.hls,r=this.altAudio===2;if(Mn(t.url,n))this.altAudio=1;else{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();if(r){this.fragmentTracker.removeAllFragments(),n.once(g.BUFFER_FLUSHED,()=>{this.hls&&this.hls.trigger(g.AUDIO_TRACK_SWITCHED,t)}),n.trigger(g.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}n.trigger(g.AUDIO_TRACK_SWITCHED,t)}}onAudioTrackSwitched(e,t){const n=Mn(t.url,this.hls);if(n){const r=this.videoBuffer;r&&this.mediaBuffer!==r&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=r)}this.altAudio=n?2:0,this.tick()}onBufferCreated(e,t){const n=t.tracks;let r,a,s=!1;for(const d in n){const p=n[d];if(p.id==="main"){if(a=d,r=p,d==="video"){const m=n[d];m&&(this.videoBuffer=m.buffer)}}else s=!0}s&&r?(this.log(`Alternate track found, use ${a}.buffered to schedule main fragment loading`),this.mediaBuffer=r.buffer):this.mediaBuffer=this.media}onFragBuffered(e,t){const{frag:n,part:r}=t,a=n.type===K.MAIN;if(a){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===dr.PARSED&&(this.state=dr.IDLE);return}const d=r?r.stats:n.stats;this.fragLastKbps=Math.round(8*d.total/(d.buffering.end-d.loading.first)),ft(n)&&(this.fragPrevious=n),this.fragBufferedComplete(n,r)}const s=this.media;s&&(!this._hasEnoughToStart&&cr.getBuffered(s).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),a&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(e,t){var n;if(t.fatal){this.state=dr.ERROR;return}switch(t.details){case j.FRAG_GAP:case j.FRAG_PARSING_ERROR:case j.FRAG_DECRYPT_ERROR:case j.FRAG_LOAD_ERROR:case j.FRAG_LOAD_TIMEOUT:case j.KEY_LOAD_ERROR:case j.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(K.MAIN,t);break;case j.LEVEL_LOAD_ERROR:case j.LEVEL_LOAD_TIMEOUT:case j.LEVEL_PARSING_ERROR:!t.levelRetry&&this.state===dr.WAITING_LEVEL&&((n=t.context)==null?void 0:n.type)===V.LEVEL&&(this.state=dr.IDLE);break;case j.BUFFER_ADD_CODEC_ERROR:case j.BUFFER_APPEND_ERROR:if(t.parent!=="main")return;this.reduceLengthAndFlushBuffer(t)&&this.resetLoadingState();break;case j.BUFFER_FULL_ERROR:if(t.parent!=="main")return;this.reduceLengthAndFlushBuffer(t)&&(!this.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case j.INTERNAL_EXCEPTION:this.recoverWorkerError(t);break}}onFragLoadEmergencyAborted(){this.state=dr.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(e,{type:t}){if(t!==fe.AUDIO||!this.altAudio){const n=(t===fe.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;n&&(this.afterBufferFlushed(n,t,K.MAIN),this.tick())}}onLevelsUpdated(e,t){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),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=this.timelineOffset;r&&n&&(n+=r);const a=this.getLevelDetails(),s=cr.getBuffered(e),d=s.length?s.start(0):0,p=d-n,m=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);(this.config.startOnSegmentBoundary||p>0&&(p<m||this.loadingParts&&p<2*((a==null?void 0:a.partTarget)||0)))&&(this.log(`adjusting start position by ${p} to match buffer start`),n+=p,this.startPosition=n),t<n&&(this.log(`seek to target start position ${n} from current time ${t} buffer start ${d}`),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,a=n==null?void 0:n.frag;if(!a||this.fragContextChanged(a))return;t.fragmentError=0,this.state=dr.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const s=a.stats;s.parsing.start=s.parsing.end=s.buffering.start=s.buffering.end=self.performance.now(),r.trigger(g.FRAG_LOADED,n),a.bitrateTest=!1}).catch(n=>{this.state===dr.STOPPED||this.state===dr.ERROR||(this.warn(n),this.resetFragmentLoading(e))})}_handleTransmuxComplete(e){const t=this.playlistType,{hls:n}=this,{remuxResult:r,chunkMeta:a}=e,s=this.getCurrentContext(a);if(!s){this.resetWhenMissingContext(a);return}const{frag:d,part:p,level:m}=s,{video:v,text:S,id3:F,initSegment:q}=r,{details:ee}=m,We=this.altAudio?void 0:r.audio;if(this.fragContextChanged(d)){this.fragmentTracker.removeFragment(d);return}if(this.state=dr.PARSING,q){const He=q.tracks;if(He){const yn=d.initSegment||d;if(this.unhandledEncryptionError(q,d))return;this._bufferInitSegment(m,He,yn,a),n.trigger(g.FRAG_PARSING_INIT_SEGMENT,{frag:yn,id:t,tracks:He})}const Dt=q.initPTS,Ut=q.timescale,$t=this.initPTS[d.cc];if(i(Dt)&&(!$t||$t.baseTime!==Dt||$t.timescale!==Ut)){const yn=q.trackId;this.initPTS[d.cc]={baseTime:Dt,timescale:Ut,trackId:yn},n.trigger(g.INIT_PTS_FOUND,{frag:d,id:t,initPTS:Dt,timescale:Ut,trackId:yn})}}if(v&&ee){We&&v.type==="audiovideo"&&this.logMuxedErr(d);const He=ee.fragments[d.sn-1-ee.startSN],Dt=d.sn===ee.startSN,Ut=!He||d.cc>He.cc;if(r.independent!==!1){const{startPTS:$t,endPTS:yn,startDTS:Tn,endDTS:sr}=v;if(p)p.elementaryStreams[v.type]={startPTS:$t,endPTS:yn,startDTS:Tn,endDTS:sr};else if(v.firstKeyFrame&&v.independent&&a.id===1&&!Ut&&(this.couldBacktrack=!0),v.dropped&&v.independent){const Dn=this.getMainFwdBufferInfo(),Vn=(Dn?Dn.end:this.getLoadPosition())+this.config.maxBufferHole,$n=v.firstKeyFramePTS?v.firstKeyFramePTS:$t;if(!Dt&&Vn<$n-this.config.maxBufferHole&&!Ut){this.backtrack(d);return}else Ut&&(d.gap=!0);d.setElementaryStreamInfo(v.type,d.start,yn,d.start,sr,!0)}else Dt&&$t-(ee.appliedTimelineOffset||0)>Vl&&(d.gap=!0);d.setElementaryStreamInfo(v.type,$t,yn,Tn,sr),this.backtrackFragment&&(this.backtrackFragment=d),this.bufferFragmentData(v,d,p,a,Dt||Ut)}else if(Dt||Ut)d.gap=!0;else{this.backtrack(d);return}}if(We){const{startPTS:He,endPTS:Dt,startDTS:Ut,endDTS:$t}=We;p&&(p.elementaryStreams[fe.AUDIO]={startPTS:He,endPTS:Dt,startDTS:Ut,endDTS:$t}),d.setElementaryStreamInfo(fe.AUDIO,He,Dt,Ut,$t),this.bufferFragmentData(We,d,p,a)}if(ee&&F!=null&&F.samples.length){const He={id:t,frag:d,details:ee,samples:F.samples};n.trigger(g.FRAG_PARSING_METADATA,He)}if(ee&&S){const He={id:t,frag:d,details:ee,samples:S.samples};n.trigger(g.FRAG_PARSING_USERDATA,He)}}logMuxedErr(e){this.warn(`${ft(e)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${e.url}`)}_bufferInitSegment(e,t,n,r){if(this.state!==dr.PARSING)return;this.audioOnly=!!t.audio&&!t.video,this.altAudio&&!this.audioOnly&&(delete t.audio,t.audiovideo&&this.logMuxedErr(n));const{audio:a,video:s,audiovideo:d}=t;if(a){const m=e.audioCodec;let v=Kt(a.codec,m);v==="mp4a"&&(v="mp4a.40.5");const S=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){v&&(v.indexOf("mp4a.40.5")!==-1?v="mp4a.40.2":v="mp4a.40.5");const F=a.metadata;F&&"channelCount"in F&&(F.channelCount||1)!==1&&S.indexOf("firefox")===-1&&(v="mp4a.40.5")}v&&v.indexOf("mp4a.40.5")!==-1&&S.indexOf("android")!==-1&&a.container!=="audio/mpeg"&&(v="mp4a.40.2",this.log(`Android: force audio codec to ${v}`)),m&&m!==v&&this.log(`Swapping manifest audio codec "${m}" for "${v}"`),a.levelCodec=v,a.id=K.MAIN,this.log(`Init audio buffer, container:${a.container}, codecs[selected/level/parsed]=[${v||""}/${m||""}/${a.codec}]`),delete t.audiovideo}if(s){s.levelCodec=e.videoCodec,s.id=K.MAIN;const m=s.codec;if((m==null?void 0:m.length)===4)switch(m){case"hvc1":case"hev1":s.codec="hvc1.1.6.L120.90";break;case"av01":s.codec="av01.0.04M.08";break;case"avc1":s.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${s.container}, codecs[level/parsed]=[${e.videoCodec||""}/${m}]${s.codec!==m?" parsed-corrected="+s.codec:""}${s.supplemental?" supplemental="+s.supplemental:""}`),delete t.audiovideo}d&&(this.log(`Init audiovideo buffer, container:${d.container}, codecs[level/parsed]=[${e.codecs}/${d.codec}]`),delete t.video,delete t.audio);const p=Object.keys(t);if(p.length){if(this.hls.trigger(g.BUFFER_CODECS,t),!this.hls)return;p.forEach(m=>{const S=t[m].initSegment;S!=null&&S.byteLength&&this.hls.trigger(g.BUFFER_APPENDING,{type:m,data:S,frag:n,part:null,chunkMeta:r,parent:n.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const e=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(e,K.MAIN)}get maxBufferLength(){const{levels:e,level:t}=this,n=e==null?void 0:e[t];return n?this.getMaxBufferLength(n.maxBitrate):this.config.maxBufferLength}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=dr.IDLE}checkFragmentChanged(){const e=this.media;let t=null;if(e&&e.readyState>1&&e.seeking===!1){const n=e.currentTime;if(cr.isBuffered(e,n)?t=this.getAppendedFrag(n):cr.isBuffered(e,n+.1)&&(t=this.getAppendedFrag(n+.1)),t){this.backtrackFragment=null;const r=this.fragPlaying,a=t.level;(!r||t.sn!==r.sn||r.level!==a)&&(this.fragPlaying=t,this.hls.trigger(g.FRAG_CHANGED,{frag:t}),(!r||r.level!==a)&&this.hls.trigger(g.LEVEL_SWITCHED,{level:a}))}}}get nextLevel(){const e=this.nextBufferedFrag;return e?e.level:-1}get currentFrag(){var e;if(this.fragPlaying)return this.fragPlaying;const t=((e=this.media)==null?void 0:e.currentTime)||this.lastCurrentTime;return i(t)?this.getAppendedFrag(t):null}get currentProgramDateTime(){var e;const t=((e=this.media)==null?void 0:e.currentTime)||this.lastCurrentTime;if(i(t)){const n=this.getLevelDetails(),r=this.currentFrag||(n?Yn(null,n.fragments,t):null);if(r){const a=r.programDateTime;if(a!==null){const s=a+(t-r.start)*1e3;return new Date(s)}}}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 Hd extends Y{constructor(e,t){super("key-loader",t),this.config=void 0,this.keyIdToKeyInfo={},this.emeController=null,this.config=e}abort(e){for(const n in this.keyIdToKeyInfo){const r=this.keyIdToKeyInfo[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.keyIdToKeyInfo){const t=this.keyIdToKeyInfo[e];(t.mediaKeySessionContext||t.decryptdata.isCommonEncryption)&&delete this.keyIdToKeyInfo[e]}}destroy(){this.detach();for(const e in this.keyIdToKeyInfo){const t=this.keyIdToKeyInfo[e].loader;t&&t.destroy()}this.keyIdToKeyInfo={}}createKeyLoadError(e,t=j.KEY_LOAD_ERROR,n,r,a){return new En({type:ce.NETWORK_ERROR,details:t,fatal:!1,frag:e,response:a,error:n,networkDetails:r})}loadClear(e,t,n){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(t.length)for(let r=0,a=t.length;r<a;r++){const s=t[r];if(e.cc<=s.cc&&(!ft(e)||!ft(s)||e.sn<s.sn)||!n&&r==a-1)return this.emeController.selectKeySystemFormat(s).then(d=>{if(!this.emeController)return;s.setKeyFormat(d);const p=ma(d);if(p)return this.emeController.getKeySystemAccess([p])})}if(this.config.requireKeySystemAccessOnStart){const r=ua(this.config);if(r.length)return this.emeController.getKeySystemAccess(r)}}return null}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 a=e.decryptdata;if(!a){const m=new Error(t?`Expected frag.decryptdata to be defined after setting format ${t}`:`Missing decryption data on fragment in onKeyLoading (emeEnabled with controller: ${this.emeController&&this.config.emeEnabled})`);return Promise.reject(this.createKeyLoadError(e,j.KEY_LOAD_ERROR,m))}const s=a.uri;if(!s)return Promise.reject(this.createKeyLoadError(e,j.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${s}"`)));const d=vu(a);let p=this.keyIdToKeyInfo[d];if((n=p)!=null&&n.decryptdata.key)return a.key=p.decryptdata.key,Promise.resolve({frag:e,keyInfo:p});if(this.emeController&&(r=p)!=null&&r.keyLoadPromise)switch(this.emeController.getKeyStatus(p.decryptdata)){case"usable":case"usable-in-future":return p.keyLoadPromise.then(v=>{const{keyInfo:S}=v;return a.key=S.decryptdata.key,{frag:e,keyInfo:S}})}switch(this.log(`${this.keyIdToKeyInfo[d]?"Rel":"L"}oading${a.keyId?" keyId: "+se(a.keyId):""} URI: ${a.uri} from ${e.type} ${e.level}`),p=this.keyIdToKeyInfo[d]={decryptdata:a,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},a.method){case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return a.keyFormat==="identity"?this.loadKeyHTTP(p,e):this.loadKeyEME(p,e);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(p,e);default:return Promise.reject(this.createKeyLoadError(e,j.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${a.method}"`)))}}loadKeyEME(e,t){const n={frag:t,keyInfo:e};if(this.emeController&&this.config.emeEnabled){var r;if(!e.decryptdata.keyId&&(r=t.initSegment)!=null&&r.data){const s=gt(t.initSegment.data);if(s.length){const d=s[0];d.some(p=>p!==0)&&(this.log(`Using keyId found in init segment ${se(d)}`),e.decryptdata.keyId=d,Ca.setKeyIdForUri(e.decryptdata.uri,d))}}const a=this.emeController.loadKey(n);return(e.keyLoadPromise=a.then(s=>(e.mediaKeySessionContext=s,n))).catch(s=>{throw e.keyLoadPromise=null,"data"in s&&(s.data.frag=t),s})}return Promise.resolve(n)}loadKeyHTTP(e,t){const n=this.config,r=n.loader,a=new r(n);return t.keyLoader=e.loader=a,e.keyLoadPromise=new Promise((s,d)=>{const p={keyInfo:e,frag:t,responseType:"arraybuffer",url:e.decryptdata.uri},m=n.keyLoadPolicy.default,v={loadPolicy:m,timeout:m.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},S={onSuccess:(F,q,ee,We)=>{const{frag:He,keyInfo:Dt}=ee,Ut=vu(Dt.decryptdata);if(!He.decryptdata||Dt!==this.keyIdToKeyInfo[Ut])return d(this.createKeyLoadError(He,j.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),We));Dt.decryptdata.key=He.decryptdata.key=new Uint8Array(F.data),He.keyLoader=null,Dt.loader=null,s({frag:He,keyInfo:Dt})},onError:(F,q,ee,We)=>{this.resetLoader(q),d(this.createKeyLoadError(t,j.KEY_LOAD_ERROR,new Error(`HTTP Error ${F.code} loading key ${F.text}`),ee,w({url:p.url,data:void 0},F)))},onTimeout:(F,q,ee)=>{this.resetLoader(q),d(this.createKeyLoadError(t,j.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),ee))},onAbort:(F,q,ee)=>{this.resetLoader(q),d(this.createKeyLoadError(t,j.INTERNAL_ABORTED,new Error("key loading aborted"),ee))}};a.load(p,v,S)})}resetLoader(e){const{frag:t,keyInfo:n,url:r}=e,a=n.loader;t.keyLoader===a&&(t.keyLoader=null,n.loader=null);const s=vu(n.decryptdata)||r;delete this.keyIdToKeyInfo[s],a&&a.destroy()}}function vu(o){if(o.keyFormat!==ii.FAIRPLAY){const e=o.keyId;if(e)return se(e)}return o.uri}function nc(o){const{type:e}=o;switch(e){case V.AUDIO_TRACK:return K.AUDIO;case V.SUBTITLE_TRACK:return K.SUBTITLE;default:return K.MAIN}}function yu(o,e){let t=o.url;return(t===void 0||t.indexOf("data:")===0)&&(t=e.url),t}class Wd{constructor(e){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=e,this.registerListeners()}startLoad(e){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:e}=this;e.on(g.MANIFEST_LOADING,this.onManifestLoading,this),e.on(g.LEVEL_LOADING,this.onLevelLoading,this),e.on(g.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.on(g.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),e.on(g.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:e}=this;e.off(g.MANIFEST_LOADING,this.onManifestLoading,this),e.off(g.LEVEL_LOADING,this.onLevelLoading,this),e.off(g.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.off(g.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),e.off(g.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(e){const t=this.hls.config,n=t.pLoader,r=t.loader,a=n||r,s=new a(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:V.MANIFEST,url:n,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(e,t){const{id:n,level:r,pathwayId:a,url:s,deliveryDirectives:d,levelInfo:p}=t;this.load({id:n,level:r,pathwayId:a,responseType:"text",type:V.LEVEL,url:s,deliveryDirectives:d,levelOrTrack:p})}onAudioTrackLoading(e,t){const{id:n,groupId:r,url:a,deliveryDirectives:s,track:d}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:V.AUDIO_TRACK,url:a,deliveryDirectives:s,levelOrTrack:d})}onSubtitleTrackLoading(e,t){const{id:n,groupId:r,url:a,deliveryDirectives:s,track:d}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:V.SUBTITLE_TRACK,url:a,deliveryDirectives:s,levelOrTrack:d})}onLevelsUpdated(e,t){const n=this.loaders[V.LEVEL];if(n){const r=n.context;r&&!t.levels.some(a=>a===r.levelOrTrack)&&(n.abort(),delete this.loaders[V.LEVEL])}}load(e){var t;const n=this.hls.config;let r=this.getInternalLoader(e);if(r){const m=this.hls.logger,v=r.context;if(v&&v.levelOrTrack===e.levelOrTrack&&(v.url===e.url||v.deliveryDirectives&&!e.deliveryDirectives)){v.url===e.url?m.log(`[playlist-loader]: ignore ${e.url} ongoing request`):m.log(`[playlist-loader]: ignore ${e.url} in favor of ${v.url}`);return}m.log(`[playlist-loader]: aborting previous loader for type: ${e.type}`),r.abort()}let a;if(e.type===V.MANIFEST?a=n.manifestLoadPolicy.default:a=b({},n.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),r=this.createInternalLoader(e),i((t=e.deliveryDirectives)==null?void 0:t.part)){let m;if(e.type===V.LEVEL&&e.level!==null?m=this.hls.levels[e.level].details:e.type===V.AUDIO_TRACK&&e.id!==null?m=this.hls.audioTracks[e.id].details:e.type===V.SUBTITLE_TRACK&&e.id!==null&&(m=this.hls.subtitleTracks[e.id].details),m){const v=m.partTarget,S=m.targetduration;if(v&&S){const F=Math.max(v*3,S*.8)*1e3;a=b({},a,{maxTimeToFirstByteMs:Math.min(F,a.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(F,a.maxTimeToFirstByteMs)})}}}const s=a.errorRetry||a.timeoutRetry||{},d={loadPolicy:a,timeout:a.maxLoadTimeMs,maxRetry:s.maxNumRetry||0,retryDelay:s.retryDelayMs||0,maxRetryDelay:s.maxRetryDelayMs||0},p={onSuccess:(m,v,S,F)=>{const q=this.getInternalLoader(S);this.resetInternalLoader(S.type);const ee=m.data;v.parsing.start=performance.now(),Za.isMediaPlaylist(ee)||S.type!==V.MANIFEST?this.handleTrackOrLevelPlaylist(m,v,S,F||null,q):this.handleMasterPlaylist(m,v,S,F)},onError:(m,v,S,F)=>{this.handleNetworkError(v,S,!1,m,F)},onTimeout:(m,v,S)=>{this.handleNetworkError(v,S,!0,void 0,m)}};r.load(e,d,p)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:e,startPosition:t},forceStartLoad:n}=this.hls;(e||n)&&(this.hls.logger.log(`${e?"auto":"force"} startLoad with configured startPosition ${t}`),this.hls.startLoad(t))}handleMasterPlaylist(e,t,n,r){const a=this.hls,s=e.data,d=yu(e,n),p=Za.parseMasterPlaylist(s,d);if(p.playlistParsingError){t.parsing.end=performance.now(),this.handleManifestParsingError(e,n,p.playlistParsingError,r,t);return}const{contentSteering:m,levels:v,sessionData:S,sessionKeys:F,startTimeOffset:q,variableList:ee}=p;this.variableList=ee,v.forEach(Ut=>{const{unknownCodecs:$t}=Ut;if($t){const{preferManagedMediaSource:yn}=this.hls.config;let{audioCodec:Tn,videoCodec:sr}=Ut;for(let Dn=$t.length;Dn--;){const Vn=$t[Dn];Ve(Vn,"audio",yn)?(Ut.audioCodec=Tn=Tn?`${Tn},${Vn}`:Vn,tn.audio[Tn.substring(0,4)]=2,$t.splice(Dn,1)):Ve(Vn,"video",yn)&&(Ut.videoCodec=sr=sr?`${sr},${Vn}`:Vn,tn.video[sr.substring(0,4)]=2,$t.splice(Dn,1))}}});const{AUDIO:We=[],SUBTITLES:He,"CLOSED-CAPTIONS":Dt}=Za.parseMasterPlaylistMedia(s,d,p);We.length&&!We.some($t=>!$t.url)&&v[0].audioCodec&&!v[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),We.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Gr({}),bitrate:0,url:""})),a.trigger(g.MANIFEST_LOADED,{levels:v,audioTracks:We,subtitles:He,captions:Dt,contentSteering:m,url:d,stats:t,networkDetails:r,sessionData:S,sessionKeys:F,startTimeOffset:q,variableList:ee})}handleTrackOrLevelPlaylist(e,t,n,r,a){const s=this.hls,{id:d,level:p,type:m}=n,v=yu(e,n),S=i(p)?p:i(d)?d:0,F=nc(n),q=Za.parseLevelPlaylist(e.data,v,S,F,0,this.variableList);if(m===V.MANIFEST){const ee={attrs:new Gr({}),bitrate:0,details:q,name:"",url:v};q.requestScheduled=t.loading.start+Ki(q,0),s.trigger(g.MANIFEST_LOADED,{levels:[ee],audioTracks:[],url:v,stats:t,networkDetails:r,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}t.parsing.end=performance.now(),n.levelDetails=q,this.handlePlaylistLoaded(q,e,t,n,r,a)}handleManifestParsingError(e,t,n,r,a){this.hls.trigger(g.ERROR,{type:ce.NETWORK_ERROR,details:j.MANIFEST_PARSING_ERROR,fatal:t.type===V.MANIFEST,url:e.url,err:n,error:n,reason:n.message,response:e,context:t,networkDetails:r,stats:a})}handleNetworkError(e,t,n=!1,r,a){let s=`A network ${n?"timeout":"error"+(r?" (status "+r.code+")":"")} occurred while loading ${e.type}`;e.type===V.LEVEL?s+=`: ${e.level} id: ${e.id}`:(e.type===V.AUDIO_TRACK||e.type===V.SUBTITLE_TRACK)&&(s+=` id: ${e.id} group-id: "${e.groupId}"`);const d=new Error(s);this.hls.logger.warn(`[playlist-loader]: ${s}`);let p=j.UNKNOWN,m=!1;const v=this.getInternalLoader(e);switch(e.type){case V.MANIFEST:p=n?j.MANIFEST_LOAD_TIMEOUT:j.MANIFEST_LOAD_ERROR,m=!0;break;case V.LEVEL:p=n?j.LEVEL_LOAD_TIMEOUT:j.LEVEL_LOAD_ERROR,m=!1;break;case V.AUDIO_TRACK:p=n?j.AUDIO_TRACK_LOAD_TIMEOUT:j.AUDIO_TRACK_LOAD_ERROR,m=!1;break;case V.SUBTITLE_TRACK:p=n?j.SUBTITLE_TRACK_LOAD_TIMEOUT:j.SUBTITLE_LOAD_ERROR,m=!1;break}v&&this.resetInternalLoader(e.type);const S={type:ce.NETWORK_ERROR,details:p,fatal:m,url:e.url,loader:v,context:e,error:d,networkDetails:t,stats:a};if(r){const F=(t==null?void 0:t.url)||e.url;S.response=w({url:F,data:void 0},r)}this.hls.trigger(g.ERROR,S)}handlePlaylistLoaded(e,t,n,r,a,s){const d=this.hls,{type:p,level:m,levelOrTrack:v,id:S,groupId:F,deliveryDirectives:q}=r,ee=yu(t,r),We=nc(r);let He=typeof r.level=="number"&&We===K.MAIN?m:void 0;const Dt=e.playlistParsingError;if(Dt){if(this.hls.logger.warn(`${Dt} ${e.url}`),!d.config.ignorePlaylistParsingErrors){d.trigger(g.ERROR,{type:ce.NETWORK_ERROR,details:j.LEVEL_PARSING_ERROR,fatal:!1,url:ee,error:Dt,reason:Dt.message,response:t,context:r,level:He,parent:We,networkDetails:a,stats:n});return}e.playlistParsingError=null}if(!e.fragments.length){const Ut=e.playlistParsingError=new Error("No Segments found in Playlist");d.trigger(g.ERROR,{type:ce.NETWORK_ERROR,details:j.LEVEL_EMPTY_ERROR,fatal:!1,url:ee,error:Ut,reason:Ut.message,response:t,context:r,level:He,parent:We,networkDetails:a,stats:n});return}switch(e.live&&s&&(s.getCacheAge&&(e.ageHeader=s.getCacheAge()||0),(!s.getCacheAge||isNaN(e.ageHeader))&&(e.ageHeader=0)),p){case V.MANIFEST:case V.LEVEL:if(He){if(!v)He=0;else if(v!==d.levels[He]){const Ut=d.levels.indexOf(v);Ut>-1&&(He=Ut)}}d.trigger(g.LEVEL_LOADED,{details:e,levelInfo:v||d.levels[0],level:He||0,id:S||0,stats:n,networkDetails:a,deliveryDirectives:q,withoutMultiVariant:p===V.MANIFEST});break;case V.AUDIO_TRACK:d.trigger(g.AUDIO_TRACK_LOADED,{details:e,track:v,id:S||0,groupId:F||"",stats:n,networkDetails:a,deliveryDirectives:q});break;case V.SUBTITLE_TRACK:d.trigger(g.SUBTITLE_TRACK_LOADED,{details:e,track:v,id:S||0,groupId:F||"",stats:n,networkDetails:a,deliveryDirectives:q});break}}}class bo{static get version(){return lo}static isMSESupported(){return tc()}static isSupported(){return Zd()}static getMediaSource(){return Ue()}static get Events(){return g}static get MetadataSchema(){return at}static get ErrorTypes(){return ce}static get ErrorDetails(){return j}static get DefaultConfig(){return bo.defaultConfig?bo.defaultConfig:Id}static set DefaultConfig(e){bo.defaultConfig=e}constructor(e={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new xo,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.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const t=this.logger=be(e.debug||!1,"Hls instance",e.assetPlayerId),n=this.config=Rd(bo.DefaultConfig,e,t);this.userConfig=e,n.progressive&&Ld(n,t);const{abrController:r,bufferController:a,capLevelController:s,errorController:d,fpsController:p}=n,m=new d(this),v=this.abrController=new r(this),S=new Xn(this),F=n.interstitialsController,q=F?this.interstitialsController=new F(this,bo):null,ee=this.bufferController=new a(this,S),We=this.capLevelController=new s(this),He=new p(this),Dt=new Wd(this),Ut=n.contentSteeringController,$t=Ut?new Ut(this):null,yn=this.levelController=new zd(this,$t),Tn=new Bd(this),sr=new Hd(this.config,this.logger),Dn=this.streamController=new Kd(this,S,sr),Vn=this.gapController=new Nd(this,S);We.setStreamController(Dn),He.setStreamController(Dn);const $n=[Dt,yn,Dn];q&&$n.splice(1,0,q),$t&&$n.splice(1,0,$t),this.networkControllers=$n;const On=[v,ee,Vn,We,He,Tn,S];this.audioTrackController=this.createController(n.audioTrackController,$n);const pr=n.audioStreamController;pr&&$n.push(this.audioStreamController=new pr(this,S,sr)),this.subtitleTrackController=this.createController(n.subtitleTrackController,$n);const $r=n.subtitleStreamController;$r&&$n.push(this.subtititleStreamController=new $r(this,S,sr)),this.createController(n.timelineController,On),sr.emeController=this.emeController=this.createController(n.emeController,On),this.cmcdController=this.createController(n.cmcdController,On),this.latencyController=this.createController(Fd,On),this.coreComponents=On,$n.push(m);const oi=m.onErrorOut;typeof oi=="function"&&this.on(g.ERROR,oi,m),this.on(g.MANIFEST_LOADED,Dt.onManifestLoaded,Dt)}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(this.logger.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===g.ERROR;this.trigger(g.ERROR,{type:ce.OTHER_ERROR,details:j.INTERNAL_EXCEPTION,fatal:r,event:e,error:n}),this.triggeringException=!1}}return!1}listenerCount(e){return this._emitter.listenerCount(e)}destroy(){this.logger.log("destroy"),this.trigger(g.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){if(!e||"media"in e&&!e.media){const a=new Error(`attachMedia failed: invalid argument (${e})`);this.trigger(g.ERROR,{type:ce.OTHER_ERROR,details:j.ATTACH_MEDIA_ERROR,fatal:!0,error:a});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const t="media"in e,n=t?e.media:e,r=t?e:{media:n};this._media=n,this.trigger(g.MEDIA_ATTACHING,r)}detachMedia(){this.logger.log("detachMedia"),this.trigger(g.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const e=this.bufferController.transferMedia();return this.trigger(g.MEDIA_DETACHING,{transferMedia:e}),e}loadSource(e){this.stopLoad();const t=this.media,n=this._url,r=this._url=_.buildAbsoluteURL(self.location.href,e,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${r}`),t&&n&&(n!==r||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(t)),this.trigger(g.MANIFEST_LOADING,{url:e})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(e=-1,t){this.logger.log(`startLoad(${e+(t?", <skip seek to start>":"")})`),this.started=!0,this.resumeBuffering();for(let n=0;n<this.networkControllers.length&&(this.networkControllers[n].startLoad(e,t),!(!this.started||!this.networkControllers));n++);}stopLoad(){this.logger.log("stopLoad"),this.started=!1;for(let e=0;e<this.networkControllers.length&&(this.networkControllers[e].stopLoad(),!(this.started||!this.networkControllers));e++);}get loadingEnabled(){return this.started}get bufferingEnabled(){return this.streamController.bufferingEnabled}resumeBuffering(){this.bufferingEnabled||(this.logger.log("resume buffering"),this.networkControllers.forEach(e=>{e.resumeBuffering&&e.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(e=>{e.pauseBuffering&&e.pauseBuffering()}))}get inFlightFragments(){const e={[K.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(e[K.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(e[K.SUBTITLE]=this.subtititleStreamController.inFlightFrag),e}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const e=this._media,t=e==null?void 0:e.currentTime;this.detachMedia(),e&&(this.attachMedia(e),t&&this.startLoad(t))}removeLevel(e){this.levelController.removeLevel(e)}get sessionId(){let e=this._sessionId;return e||(e=this._sessionId=Nc()),e}get levels(){const e=this.levelController.levels;return e||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(e){this.logger.log(`set currentLevel:${e}`),this.levelController.manualLevel=e,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(e){this.logger.log(`set nextLevel:${e}`),this.levelController.manualLevel=e,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(e){this.logger.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){this.logger.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){this.logger.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 abrEwmaDefaultEstimate(){const{bwEstimator:e}=this.abrController;return e?e.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimateTTFB():NaN}set autoLevelCapping(e){this._autoLevelCapping!==e&&(this.logger.log(`set autoLevelCapping:${e}`),this._autoLevelCapping=e,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(e){$e(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 a=r;a--;){const s=e[a].attrs["HDCP-LEVEL"];if(s&&s<=n)return a}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()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(e){var t;return((t=this.audioTrackController)==null?void 0:t.setAudioOption(e))||null}setSubtitleOption(e){var t;return((t=this.subtitleTrackController)==null?void 0: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}set targetLatency(e){this.latencyController.targetLatency=e}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(e){this.levelController.pathwayPriority=e}get bufferedToEnd(){var e;return!!((e=this.bufferController)!=null&&e.bufferedToEnd)}get interstitialsManager(){var e;return((e=this.interstitialsController)==null?void 0:e.interstitialsManager)||null}getMediaDecodingInfo(e,t=this.allAudioTracks){const n=Ht(t);return J(e,n,navigator.mediaCapabilities)}}bo.defaultConfig=void 0},16722:function(Pn,Lt,u){"use strict";u.d(Lt,{Z:function(){return K}});const i=l=>typeof l=="object"&&l!=null&&l.nodeType===1,U=(l,y)=>(!y||l!=="hidden")&&l!=="visible"&&l!=="clip",L=(l,y)=>{if(l.clientHeight<l.scrollHeight||l.clientWidth<l.scrollWidth){const P=getComputedStyle(l,null);return U(P.overflowY,y)||U(P.overflowX,y)||(b=>{const C=(w=>{if(!w.ownerDocument||!w.ownerDocument.defaultView)return null;try{return w.ownerDocument.defaultView.frameElement}catch(z){return null}})(b);return!!C&&(C.clientHeight<b.scrollHeight||C.clientWidth<b.scrollWidth)})(l)}return!1},ce=(l,y,P,b,C,w,z,W)=>w<l&&z>y||w>l&&z<y?0:w<=l&&W<=P||z>=y&&W>=P?w-l-b:z>y&&W<P||w<l&&W>P?z-y+C:0,j=l=>{const y=l.parentElement;return y==null?l.getRootNode().host||null:y},g=(l,y)=>{var P,b,C,w;if(typeof document=="undefined")return[];const{scrollMode:z,block:W,inline:Y,boundary:$,skipOverflowHiddenElements:R}=y,G=typeof $=="function"?$:At=>At!==$;if(!i(l))throw new TypeError("Invalid target");const O=document.scrollingElement||document.documentElement,T=[];let ue=l;for(;i(ue)&&G(ue);){if(ue=j(ue),ue===O){T.push(ue);break}ue!=null&&ue===document.body&&L(ue)&&!L(document.documentElement)||ue!=null&&L(ue,R)&&T.push(ue)}const be=(b=(P=window.visualViewport)==null?void 0:P.width)!=null?b:innerWidth,he=(w=(C=window.visualViewport)==null?void 0:C.height)!=null?w:innerHeight,{scrollX:Ue,scrollY:Qe}=window,{height:ke,width:Ze,top:se,right:k,bottom:I,left:oe}=l.getBoundingClientRect(),{top:ie,right:Ee,bottom:_,left:A}=(At=>{const Ie=window.getComputedStyle(At);return{top:parseFloat(Ie.scrollMarginTop)||0,right:parseFloat(Ie.scrollMarginRight)||0,bottom:parseFloat(Ie.scrollMarginBottom)||0,left:parseFloat(Ie.scrollMarginLeft)||0}})(l);let fe=W==="start"||W==="nearest"?se-ie:W==="end"?I+_:se+ke/2-ie+_,Be=Y==="center"?oe+Ze/2-A+Ee:Y==="end"?k+Ee:oe-A;const ft=[];for(let At=0;At<T.length;At++){const Ie=T[At],{height:it,width:ht,top:Tt,right:ze,bottom:Jt,left:yt}=Ie.getBoundingClientRect();if(z==="if-needed"&&se>=0&&oe>=0&&I<=he&&k<=be&&(Ie===O&&!L(Ie)||se>=Tt&&I<=Jt&&oe>=yt&&k<=ze))return ft;const cn=getComputedStyle(Ie),Je=parseInt(cn.borderLeftWidth,10),bt=parseInt(cn.borderTopWidth,10),Ge=parseInt(cn.borderRightWidth,10),Ne=parseInt(cn.borderBottomWidth,10);let ne=0,lt=0;const Ke="offsetWidth"in Ie?Ie.offsetWidth-Ie.clientWidth-Je-Ge:0,H="offsetHeight"in Ie?Ie.offsetHeight-Ie.clientHeight-bt-Ne:0,M="offsetWidth"in Ie?Ie.offsetWidth===0?0:ht/Ie.offsetWidth:0,_e="offsetHeight"in Ie?Ie.offsetHeight===0?0:it/Ie.offsetHeight:0;if(O===Ie)ne=W==="start"?fe:W==="end"?fe-he:W==="nearest"?ce(Qe,Qe+he,he,bt,Ne,Qe+fe,Qe+fe+ke,ke):fe-he/2,lt=Y==="start"?Be:Y==="center"?Be-be/2:Y==="end"?Be-be:ce(Ue,Ue+be,be,Je,Ge,Ue+Be,Ue+Be+Ze,Ze),ne=Math.max(0,ne+Qe),lt=Math.max(0,lt+Ue);else{ne=W==="start"?fe-Tt-bt:W==="end"?fe-Jt+Ne+H:W==="nearest"?ce(Tt,Jt,it,bt,Ne+H,fe,fe+ke,ke):fe-(Tt+it/2)+H/2,lt=Y==="start"?Be-yt-Je:Y==="center"?Be-(yt+ht/2)+Ke/2:Y==="end"?Be-ze+Ge+Ke:ce(yt,ze,ht,Je,Ge+Ke,Be,Be+Ze,Ze);const{scrollLeft:me,scrollTop:Te}=Ie;ne=_e===0?0:Math.max(0,Math.min(Te+ne/_e,Ie.scrollHeight-it/_e+H)),lt=M===0?0:Math.max(0,Math.min(me+lt/M,Ie.scrollWidth-ht/M+Ke)),fe+=Te-ne,Be+=me-lt}ft.push({el:Ie,top:ne,left:lt})}return ft},V=l=>l===!1?{block:"end",inline:"nearest"}:(y=>y===Object(y)&&Object.keys(y).length!==0)(l)?l:{block:"start",inline:"nearest"};function K(l,y){if(!l.isConnected||!(C=>{let w=C;for(;w&&w.parentNode;){if(w.parentNode===document)return!0;w=w.parentNode instanceof ShadowRoot?w.parentNode.host:w.parentNode}return!1})(l))return;const P=(C=>{const w=window.getComputedStyle(C);return{top:parseFloat(w.scrollMarginTop)||0,right:parseFloat(w.scrollMarginRight)||0,bottom:parseFloat(w.scrollMarginBottom)||0,left:parseFloat(w.scrollMarginLeft)||0}})(l);if((C=>typeof C=="object"&&typeof C.behavior=="function")(y))return y.behavior(g(l,y));const b=typeof y=="boolean"||y==null?void 0:y.behavior;for(const{el:C,top:w,left:z}of g(l,V(y))){const W=w-P.top+P.bottom,Y=z-P.left+P.right;C.scroll({top:W,left:Y,behavior:b})}}}}]);
|
|
|
}()); |