diff --git a/p__Classrooms__Lists__ShixunHomeworks__Comment__index.78311084.chunk.css b/p__Classrooms__Lists__ShixunHomeworks__Comment__index.72000c1e.chunk.css similarity index 62% rename from p__Classrooms__Lists__ShixunHomeworks__Comment__index.78311084.chunk.css rename to p__Classrooms__Lists__ShixunHomeworks__Comment__index.72000c1e.chunk.css index ba48af853c..892675ef45 100644 --- a/p__Classrooms__Lists__ShixunHomeworks__Comment__index.78311084.chunk.css +++ b/p__Classrooms__Lists__ShixunHomeworks__Comment__index.72000c1e.chunk.css @@ -1 +1 @@ -.flex_box_center___KJUhi{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between____N4uH{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___yOdsz{align-items:center;box-align:center}.flex_box_center_end___seJB9{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___ihHC5{flex-direction:column;box-orient:block-axis}.title___JSmnB{display:flex;align-items:center}.score___ERcuI{display:flex;align-items:center;justify-content:space-between;padding-right:30px}.export___pgR1H{position:absolute;right:0;z-index:2}.title___JSmnB{font-size:16px;height:60px;line-height:60px;padding-left:30px;margin-bottom:0;display:box;display:flex;align-items:center;box-align:center}.title___JSmnB h1{flex:1 1}.title1_right___MdWJo,.title1_right___MdWJo button{display:box;display:flex;align-items:center;box-align:center}.userPic___UeG3e{width:91px;height:91px;border-radius:91px}.userInfo___TNu6l{list-style:none}.userInfo___TNu6l li{display:inline-block;font-size:14px;color:#333;min-width:200px;margin-top:5px}.listItem___wdbM_{display:flex;flex-direction:row;justify-content:space-between;list-style:none;font-size:0;vertical-align:top;width:100%}.listItem___wdbM_ li{display:inline-block;font-size:14px;color:#333;text-align:center;padding:16px 0}.rightInfo___Swqk5 ul{list-style:none;background:#e6f3ff;border:1px solid #eee;padding:10px 0}.rightInfo___Swqk5 ul li span:nth-child(1){width:100px;text-align:right;display:inline-block;color:#999}.rightInfo___Swqk5 p{margin-top:60px;color:#999}.shixunTitle___L2Tc4{display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between}.shixunTitle___L2Tc4 [class~=fa]{width:22px;height:22px;border-radius:22px;color:#fff;text-align:center;line-height:22px;background:#0152d9;margin-right:20px}.shixunWrp___ZoaTc{border:1px solid #eee;margin-top:20px}.shixunWrp___ZoaTc h2{font-size:14px;font-weight:400;padding:6px 20px;border-bottom:1px solid #eee;margin:0;position:relative;display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between}.footerBar___QW5rq{display:flex;justify-content:center;align-items:center;position:fixed;bottom:0;z-index:5}.footerBar___QW5rq [class=edu-container]{padding:0 20px;background:#fff;height:60px;box-shadow:0 -10px 10px #61616114}.footerBar___QW5rq [class=edu-container]>div{height:100%}.footerBarStatic___CRq8b{position:static}.exitComment___u4Rqt{background-color:#fff;border:1px solid #eee;height:32px;padding:5px 20px;color:#666}.nextComment___lvaID{background-color:#0152d9;height:32px;padding:5px 20px;color:#fff}.nextComment___lvaID:hover{color:#fff;background-color:#0152d9}.modal___g3B3L [class~=ant-btn]{display:none}.footer___eJCnt{margin-top:10px;display:flex;align-items:center;justify-content:space-between}.pingjia___X_ooM{background:#f6f7f9;padding:20px;color:#666;font-size:14px;margin-top:10px}.pj_close___PHP4h{width:60px;height:30px;background:#f8f9fc;border-radius:2px;border:1px solid #C3CFE0;opacity:.5;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:14px;color:#464f66;line-height:30px;text-align:center;font-style:normal;cursor:pointer;margin-left:auto;margin-right:20px}.pj_save___COfQy{width:60px;height:30px;background:#3061d0;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:14px;color:#fff;line-height:30px;text-align:center;font-style:normal;cursor:pointer}.fa____jywp{width:22px;height:22px;border-radius:22px;color:#fff;text-align:center;line-height:22px;background:#0152d9;margin-right:20px;display:inline-block}.my-monaco-editor div,.my-diff-editor div{font-size:unset}.my-error-line-wrp{width:calc(100% - 20px)!important;background:#f5000033!important;height:auto!important;color:#f50000}.noCopyPaste .quick-input-widget{display:none!important}.breakpoints-select{background:red;width:8px!important;height:8px!important;left:7px!important;top:7px;border-radius:4px;user-select:none;pointer-events:none}.breakpoints-fake{background:#ff000080;width:8px!important;height:8px!important;left:7px!important;top:7px;border-radius:4px;user-select:none;pointer-events:none}.highlighted-line{background:#4b4b18}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:#14ff1480;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;animation:blink 1.06s steps(1) infinite;background-color:#7e7}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;inset:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}#educoder .markdown-editor-wrapper{position:relative}#educoder .markdown-editor-body{display:flex;flex-flow:row nowrap;width:100%;height:calc(100% - 38px);align-items:center}#educoder .markdown-editor-body .codemirror-container{flex:1 0;height:100%;width:100%;overflow:hidden}#educoder .markdown-editor-body .preview-container{flex:1 0;height:100%;margin:10px 0;padding:8px 8px 50px;background:#fff;overflow-y:auto;box-sizing:border-box;border-left:1px solid #ccc;word-wrap:break-word;word-break:break-word;white-space:normal;font-size:16px;position:relative}#educoder .markdown-editor-container{border:1px solid #ccc;overflow:hidden;border-radius:4px;margin-bottom:12px;font-size:16px}#educoder .markdown-editor-container.full-screen{position:fixed;inset:0;height:100%!important;z-index:998}#educoder .markdown-editor-container.full-screen .preview-container>div{padding-bottom:180px!important}#educoder .markdown-editor-container.full-screen .CodeMirror-sizer>div{margin-bottom:90px}#educoder .markdown-editor-container.on-preview .codemirror-container,#educoder .markdown-editor-container.on-preview .preview-container{width:50%}#educoder .mini .markdown-editor-body{height:calc(100% - 28px)}#educoder .flex-end{justify-content:flex-end}#educoder .my-codemirror-container{border:1px solid #ccc;width:100%;margin-bottom:24px}#educoder .markdown-tip{color:#cdcdcd;font-size:12px;position:absolute;right:0;bottom:-28px;margin-bottom:7px}#educoder .CodeMirror-lines{padding:4px 0}#educoder .CodeMirror pre.CodeMirror-line,#educoder .CodeMirror pre.CodeMirror-line-like{padding:0 4px}#educoder .CodeMirror-scrollbar-filler,#educoder .CodeMirror-gutter-filler{background-color:#fff}#educoder .CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}#educoder .CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}#educoder .CodeMirror-guttermarker{color:#000}#educoder .CodeMirror-guttermarker-subtle{color:#999}#educoder .CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}#educoder .CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}#educoder .cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}#educoder .cm-fat-cursor div.CodeMirror-cursors{z-index:1}#educoder .cm-fat-cursor-mark{background-color:#14ff1480;animation:blink 1.06s steps(1) infinite}#educoder .cm-animate-fat-cursor{width:auto;border:0;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@keyframes blink{50%{background-color:transparent}}#educoder .cm-tab{display:inline-block;text-decoration:inherit}#educoder .CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}#educoder .CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}#educoder .cm-s-default .cm-header{color:#00f}#educoder .cm-s-default .cm-quote{color:#090}#educoder .cm-negative{color:#d44}#educoder .cm-positive{color:#292}#educoder .cm-header,#educoder .cm-strong{font-weight:700}#educoder .cm-em{font-style:italic}#educoder .cm-link{text-decoration:underline}#educoder .cm-strikethrough{text-decoration:line-through}#educoder .cm-s-default .cm-keyword{color:#708}#educoder .cm-s-default .cm-atom{color:#219}#educoder .cm-s-default .cm-number{color:#164}#educoder .cm-s-default .cm-def{color:#00f}#educoder .cm-s-default .cm-variable-2{color:#05a}#educoder .cm-s-default .cm-variable-3,#educoder .cm-s-default .cm-type{color:#085}#educoder .cm-s-default .cm-comment{color:#a50}#educoder .cm-s-default .cm-string{color:#a11}#educoder .cm-s-default .cm-string-2{color:#f50}#educoder .cm-s-default .cm-meta,#educoder .cm-s-default .cm-qualifier{color:#555}#educoder .cm-s-default .cm-builtin{color:#30a}#educoder .cm-s-default .cm-bracket{color:#997}#educoder .cm-s-default .cm-tag{color:#170}#educoder .cm-s-default .cm-attribute{color:#00c}#educoder .cm-s-default .cm-hr{color:#999}#educoder .cm-s-default .cm-link{color:#00c}#educoder .cm-s-default .cm-error,#educoder .cm-invalidchar{color:red}#educoder .CodeMirror-composing{border-bottom:2px solid}#educoder div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}#educoder div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}#educoder .CodeMirror-matchingtag{background:#ff96004d}#educoder .CodeMirror-activeline-background{background:#e8f2ff}#educoder .CodeMirror{position:relative;overflow:hidden;background:#fff}#educoder .CodeMirror-scroll{overflow:scroll!important;margin-bottom:0;margin-right:0;padding-bottom:5px;height:100%;outline:none;position:relative}#educoder .CodeMirror-sizer{position:relative;border-right:0px}#educoder .CodeMirror-vscrollbar,#educoder .CodeMirror-hscrollbar,#educoder .CodeMirror-scrollbar-filler,#educoder .CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}#educoder .CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}#educoder .CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}#educoder .CodeMirror-scrollbar-filler{right:0;bottom:0}#educoder .CodeMirror-gutter-filler{left:0;bottom:0}#educoder .CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}#educoder .CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}#educoder .CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}#educoder .CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}#educoder .CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}#educoder .CodeMirror-gutter-wrapper ::selection{background-color:transparent}#educoder .CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}#educoder .CodeMirror-lines{cursor:text;min-height:1px}#educoder .CodeMirror pre.CodeMirror-line,#educoder .CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}#educoder .CodeMirror-wrap pre.CodeMirror-line,#educoder .CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}#educoder .CodeMirror-linebackground{position:absolute;inset:0;height:100vh!important;z-index:1100}#educoder .CodeMirror-linebackground .preview-container>div{padding-bottom:180px!important}#educoder .CodeMirror-linebackground .CodeMirror-sizer>div{margin-bottom:90px}#educoder .CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}#educoder .CodeMirror-rtl pre{direction:rtl}#educoder .CodeMirror-code{outline:none}#educoder .CodeMirror-scroll,#educoder .CodeMirror-sizer,#educoder .CodeMirror-gutter,#educoder .CodeMirror-gutters,#educoder .CodeMirror-linenumber{box-sizing:content-box}#educoder .CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}#educoder .CodeMirror-cursor{position:absolute;pointer-events:none}#educoder .CodeMirror-measure pre{position:static}#educoder div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}#educoder div.CodeMirror-dragcursors,#educoder .CodeMirror-focused div.CodeMirror-cursors{visibility:visible}#educoder .CodeMirror-selected{background:#d9d9d9}#educoder .CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}#educoder .CodeMirror-crosshair{cursor:crosshair}#educoder .CodeMirror-line::selection,#educoder .CodeMirror-line>span::selection,#educoder .CodeMirror-line>span>span::selection{background:#d7d4f0}#educoder .CodeMirror-line::-moz-selection,#educoder .CodeMirror-line>span::-moz-selection,#educoder .CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}#educoder .cm-searching{background-color:#ffa;background-color:#ff06}#educoder .cm-force-border{padding-right:.1px}@media print{#educoder .CodeMirror div.CodeMirror-cursors{visibility:hidden}}#educoder .cm-tab-wrap-hack:after{content:""}#educoder span.CodeMirror-selectedtext{background:none}#educoder .CodeMirror-sizer{padding-top:10px;padding-bottom:10px!important}#educoder .CodeMirror-empty.CodeMirror-focused{outline:none}#educoder .CodeMirror pre.CodeMirror-placeholder{color:#999}#educoder .CodeMirror{position:relative;overflow:hidden;background:#fff;word-break:break-word}#educoder .CodeMirror pre.CodeMirror-line,#educoder .CodeMirror pre.CodeMirror-line-like{word-wrap:break-word;word-break:break-word;white-space:pre-wrap;line-height:1.6}@font-face{font-family:KaTeX_AMS;src:url(./static/KaTeX_AMS-Regular.e101fd3b.woff2) format("woff2"),url(./static/KaTeX_AMS-Regular.89a32939.woff) format("woff"),url(./static/KaTeX_AMS-Regular.76b481f1.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(./static/KaTeX_Caligraphic-Bold.804b0502.woff2) format("woff2"),url(./static/KaTeX_Caligraphic-Bold.ebf5447d.woff) format("woff"),url(./static/KaTeX_Caligraphic-Bold.28758623.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(./static/KaTeX_Caligraphic-Regular.7ca15b3a.woff2) format("woff2"),url(./static/KaTeX_Caligraphic-Regular.d642f1a8.woff) format("woff"),url(./static/KaTeX_Caligraphic-Regular.fe9310f0.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(./static/KaTeX_Fraktur-Bold.33bcfed3.woff2) format("woff2"),url(./static/KaTeX_Fraktur-Bold.fc482350.woff) format("woff"),url(./static/KaTeX_Fraktur-Bold.70f2abc1.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(./static/KaTeX_Fraktur-Regular.86cfbe4e.woff2) format("woff2"),url(./static/KaTeX_Fraktur-Regular.29abfb1c.woff) format("woff"),url(./static/KaTeX_Fraktur-Regular.51bff235.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(./static/KaTeX_Main-Bold.603892c5.woff2) format("woff2"),url(./static/KaTeX_Main-Bold.9f5bc66f.woff) format("woff"),url(./static/KaTeX_Main-Bold.da66c0ab.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(./static/KaTeX_Main-BoldItalic.bd95a810.woff2) format("woff2"),url(./static/KaTeX_Main-BoldItalic.c31eb616.woff) format("woff"),url(./static/KaTeX_Main-BoldItalic.962b328a.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(./static/KaTeX_Main-Italic.7662be2b.woff2) format("woff2"),url(./static/KaTeX_Main-Italic.3c94ae8c.woff) format("woff"),url(./static/KaTeX_Main-Italic.b1598925.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(./static/KaTeX_Main-Regular.7056d1df.woff2) format("woff2"),url(./static/KaTeX_Main-Regular.f23b28dc.woff) format("woff"),url(./static/KaTeX_Main-Regular.fe159c21.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url(./static/KaTeX_Math-BoldItalic.df742084.woff2) format("woff2"),url(./static/KaTeX_Math-BoldItalic.a6fde119.woff) format("woff"),url(./static/KaTeX_Math-BoldItalic.8ee92314.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url(./static/KaTeX_Math-Italic.912cb075.woff2) format("woff2"),url(./static/KaTeX_Math-Italic.ad043b21.woff) format("woff"),url(./static/KaTeX_Math-Italic.f4a2fd50.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(./static/KaTeX_SansSerif-Bold.198a2b19.woff2) format("woff2"),url(./static/KaTeX_SansSerif-Bold.2dee50c6.woff) format("woff"),url(./static/KaTeX_SansSerif-Bold.9ae5090b.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_SansSerif;src:url(./static/KaTeX_SansSerif-Italic.58452206.woff2) format("woff2"),url(./static/KaTeX_SansSerif-Italic.f88f16ed.woff) format("woff"),url(./static/KaTeX_SansSerif-Italic.363562bf.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(./static/KaTeX_SansSerif-Regular.50cd68ac.woff2) format("woff2"),url(./static/KaTeX_SansSerif-Regular.13e35ac8.woff) format("woff"),url(./static/KaTeX_SansSerif-Regular.d1c35243.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url(./static/KaTeX_Script-Regular.2fc42204.woff2) format("woff2"),url(./static/KaTeX_Script-Regular.8f35f84f.woff) format("woff"),url(./static/KaTeX_Script-Regular.d09e0cea.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url(./static/KaTeX_Size1-Regular.03ff84ee.woff2) format("woff2"),url(./static/KaTeX_Size1-Regular.2222c8c3.woff) format("woff"),url(./static/KaTeX_Size1-Regular.920c8080.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url(./static/KaTeX_Size2-Regular.fa296a19.woff2) format("woff2"),url(./static/KaTeX_Size2-Regular.45c74525.woff) format("woff"),url(./static/KaTeX_Size2-Regular.7d3e746e.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url(./static/KaTeX_Size3-Regular.d9075b2b.woff2) format("woff2"),url(./static/KaTeX_Size3-Regular.62bef299.woff) format("woff"),url(./static/KaTeX_Size3-Regular.39f7a039.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url(./static/KaTeX_Size4-Regular.93084eec.woff2) format("woff2"),url(./static/KaTeX_Size4-Regular.3ee0d868.woff) format("woff"),url(./static/KaTeX_Size4-Regular.cd3f02bf.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url(./static/KaTeX_Typewriter-Regular.65cd6476.woff2) format("woff2"),url(./static/KaTeX_Typewriter-Regular.3f215ba2.woff) format("woff"),url(./static/KaTeX_Typewriter-Regular.73468499.ttf) format("truetype");font-weight:400;font-style:normal}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.11.1"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathdefault{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:0 solid;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left}.wrp___dq7YK{display:flex;justify-content:center;align-items:center;position:fixed;width:100%;height:100%;left:0;top:0;z-index:108}.wrp___dq7YK.bgBlack___ARIUV{background:#00000080}.wrp___dq7YK img,.wrp___dq7YK video{max-width:100%;max-height:80%;text-align:center}.wrp___dq7YK iframe{width:100%;height:100%;position:absolute;left:0;top:0;background:#fff;border:none}.monaco___VnZC3{position:absolute;height:100%;width:100%}.darkBlue___UprA9 *{font-size:14px}.darkBlue___UprA9 [class~=margin],.darkBlue___UprA9 [class~=monaco-editor-background]{background:#0a0e2d!important}.darkBlue___UprA9 [class~=line-numbers]{color:#fff!important}@keyframes showClose___edZQA{to{opacity:1;visibility:visible}}.close___LKoWu{position:absolute;right:40px;top:40px;z-index:10;display:flex;visibility:hidden;animation:showClose___edZQA 0s linear 1s forwards}.close___LKoWu>span{background:#4a4a4a;color:#fff;width:40px;height:40px;border-radius:4px;display:flex;justify-content:center;align-items:center;cursor:pointer;margin-left:10px}.embed___hvpEJ{position:absolute;left:0;top:0;width:100%;height:100%}.mdBody___raKXb{position:relative}.button___Ch5Pc{position:absolute;display:flex;align-items:center;justify-content:center;background:#0000001a;display:none}.previewFlowChart___vY1dq{align-items:flex-start;justify-content:end;background:none!important}.previewFlowChart___vY1dq button{margin:20px}.markdown-toolbar-container{display:flex;flex-flow:row wrap;align-items:center;padding:0 28px 0 5px;margin:0;position:relative;list-style:none;background:#fff;border-bottom:1px solid #ccc;box-sizing:border-box;line-height:20px;width:100%;min-height:30px;height:38px;overflow:hidden}.markdown-toolbar-container .fill-tip{cursor:pointer;font-size:12px;display:inline-block;padding:5px;border:1px solid #E99237;border-radius:5px;box-sizing:border-box;line-height:16px;height:auto;color:#a65500;background-color:#fff1e2;position:relative;margin-left:10px}.markdown-toolbar-container .fill-tip:before{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #FFF1E2;position:absolute;left:-6px;top:6px;z-index:10}.markdown-toolbar-container .fill-tip:after{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #E99237;position:absolute;left:-7px;top:6px}.markdown-toolbar-container li{color:#666;padding:0 1px;height:100%;display:flex;height:38px;flex-flow:column nowrap;justify-content:center}.markdown-toolbar-container a,.markdown-toolbar-container span{display:block}.markdown-toolbar-container a{width:28px;color:#666;cursor:pointer;text-align:center;font-size:18px}.markdown-toolbar-container a i{font-size:18px}.markdown-toolbar-container a i:before{font-size:18px}.markdown-toolbar-container .btn-null{width:auto;display:flex;flex-flow:row nowrap;align-items:center}.markdown-toolbar-container .insert-blank{color:#e99237;font-size:18px}.markdown-toolbar-container span.v-line{margin:0 5px;height:65%;border-right:1px solid #ccc}.mini .markdown-toolbar-container li{height:28px}.editor-resize{display:block;width:120px;height:4px;left:54%;border-top:1px solid #ccc;border-bottom:1px solid #ccc;cursor:row-resize;white-space:nowrap;overflow:hidden;text-transform:capitalize;box-sizing:border-box;margin:0 auto}.btn-full-screen{position:absolute;right:5px}@font-face{font-family:md-iconfont;src:url(./static/iconfont.345f94c8.eot);src:url(./static/iconfont.345f94c8.eot#iefix) format("embedded-opentype"),url(./static/iconfont.deef216b.woff) format("woff"),url(./static/iconfont.42606faf.ttf) format("truetype"),url(./static/iconfont.504b881c.svg#iconfont) format("svg")}.md-iconfont{font-family:md-iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-uniE900:before{content:"\e900";font-size:14px;margin-left:5px}.icon-shrink:before{content:"\e728"}.icon-enlarge:before{content:"\e623"}.icon-code:before{content:"\e602"}.icon-italic:before{content:"\e718"}.icon-bold:before{content:"\e644"}.icon-picture:before{content:"\e606"}.icon-minus:before{content:"\e62c"}.icon-order-list:before{content:"\e655"}.icon-link:before{content:"\e7d4"}.icon-formula:before{content:"\e633"}.icon-unorder-list:before{content:"\e668"}.icon-edit:before{content:"\e603"}.icon-table:before{content:"\e7db"}.icon-sum:before{content:"\e667"}.icon-eye:before{content:"\e69f"}.icon-eye-slash:before{content:"\e601"}.icon-eraser:before{content:"\e8cd"}.icon-file-code:before{content:"\e9ec"}.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #A7A7A7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag,.cm-s-blackboard .cm-attribute{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.upload-button{width:106px;height:32px;line-height:32px;font-size:12px;display:block;position:relative;color:#0152d9}.upload-button input{opacity:0;width:160px;height:32px;position:absolute;top:0;left:0;z-index:-1}.imageDimensions___a7crR{display:flex;justify-content:center;align-items:center;position:fixed;width:100%;height:100vh;left:0;top:0;z-index:1005;background:#fff;overflow:hidden}.imageDimensions___a7crR .img___Kroat{visibility:hidden;max-width:80%;min-width:500px}.imageDimensions___a7crR [class*=_toolbox_colors]{position:fixed;left:0;bottom:0}.imageDimensions___a7crR.fullWidth___c492T .img___Kroat{max-width:100%;width:100%;height:100%}.myPaletteDiv___Xjz2I{position:relative;left:-15px;width:320px}.myPaletteDiv___Xjz2I canvas{margin-top:15px}.flowChartWrp____f45r [class^=goTXarea],.flowChartWrp____f45r textarea{min-width:70px;margin-left:-15px!important}.maxH60___Pd4Re [class^=ant-modal-content]{height:57px!important;overflow:hidden}.drawerWrap___MfDw8 [class~=ant-drawer-body]{padding:0!important}.lists___xhHyq{padding-bottom:10px}.lists___xhHyq code{background:none!important}.lists___xhHyq>div>div:first-child{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px 0;font-size:12px;cursor:pointer}.lists___xhHyq>div>div:first-child [class^=katex]{font-size:22px}.item___pWJAA{position:relative}.item___pWJAA:nth-last-child(-n+3) .children___sDG61{left:initial;right:5px}.item___pWJAA:hover{z-index:2147483648}.item___pWJAA:hover .children___sDG61{display:block}.children___sDG61{display:none;position:absolute;left:6px;top:70px;width:440px;max-height:400px;overflow:auto;background:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 0 6px #ccc;padding:15px}.children___sDG61 h1{font-size:14px;padding-top:6px}.children___sDG61 .diamond___FwgzD>div{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;height:50px;font-size:12px;padding:0 10px;min-width:80px}.children___sDG61 .diamond___FwgzD>div [class^=katex]{font-size:14px}.button___WPN6r{position:absolute;right:20px;bottom:20px}.mathWrap___FmnMJ{width:800px;height:550px}.mathFillWrap___PmY3H{cursor:pointer}.mathFillWrap___PmY3H ::part(menu-toggle){color:#00f;opacity:1;display:none}.mathFillWrap___PmY3H math-field{background:none}.mathFillWrap___PmY3H *{pointer-events:none}.md___TEmcT{border:none!important}.image-preview-container{display:flex;flex-flow:column nowrap;position:fixed;align-items:center;justify-content:center;inset:0;z-index:99999;background:#000c}.image-preview-container .image-preview{transition:transform .4s linear;max-width:86%}.image-preview-container .button-group{display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-end;position:absolute;z-index:101;right:10px;top:10px}.image-preview-container .button-group a,.image-preview-container .button-group button{color:#000000a6;margin-right:10px;display:flex;flex-flow:row nowrap;align-items:center}.preview-wrp-group{overflow:auto;width:100%;text-align:center}.flex_box_center___A3pzf{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___JBoa5{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___MJuIO{align-items:center;box-align:center}.flex_box_center_end___OcjUA{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___zSH4A{flex-direction:column;box-orient:block-axis}.list___KhJas .middle___IjlYi{display:flex;align-items:center}.list___KhJas .row___GGtIx{display:flex;align-items:center;margin:20px 0}.list___KhJas .row___GGtIx .title___o_xqf{display:flex;align-items:center;height:24px;background:#165dff0f;border-radius:12px;font-size:14px;color:#165dff;padding:5px 20px;cursor:pointer}.list___KhJas .row___GGtIx .title___o_xqf span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:760px}.list___KhJas .row___GGtIx .title___o_xqf i{font-size:13px;margin-right:8px}.list___KhJas .row___GGtIx .size___OVRoL{font-size:12px;color:#c5c5c5;margin-left:10px}.list___KhJas .row___GGtIx .download___ZLcIH{display:flex;align-items:center;font-size:14px;color:#165dff;margin-left:30px;cursor:pointer}.list___KhJas .row___GGtIx .download___ZLcIH i{font-size:14px;margin-right:5px}.list___KhJas .row___GGtIx .preview___gi0kI{display:flex;align-items:center;font-size:14px;color:#2fa34f;margin-left:20px;cursor:pointer}.list___KhJas .row___GGtIx .preview___gi0kI i{font-size:14px;margin-right:4px}.list___KhJas .row___GGtIx .annotation___KVSwj{display:flex;align-items:center;font-size:14px;color:#a77f1e;margin-left:20px;cursor:pointer}.list___KhJas .row___GGtIx .annotation___KVSwj i{font-size:14px;margin-right:4px}.greyText___nOpNq{color:#5f6367}.info___nBB3c{margin-bottom:30px}.info___nBB3c .label___P6my8{font-size:14px;font-weight:400;margin-right:10px}.info___nBB3c .blackContent___O4HnS{color:#000}.info___nBB3c .orangeContent___JBF44{color:#fa6400}.inputLabel___B2GAs{margin-bottom:10px}.tableTitle___IqAxM{display:flex;align-items:center;font-size:14px;font-weight:500;color:#000;margin-bottom:15px}.tableTitle___IqAxM:before{content:"";display:inline-block;width:2px;height:12px;background:#000;margin-right:4px}.scoreTable___RJvpU{max-height:280px;overflow:auto}.currentPrimary___NPWiR{cursor:pointer;user-select:none}.currentPrimary___NPWiR:hover{color:#165dff}.currentDelete___UEfhf{cursor:pointer;user-select:none}.currentDelete___UEfhf:hover{color:#e30000}.DirectoryTree___xPxCY{width:100%}.DirectoryTree___xPxCY .EditDom___seNxC{display:none}.DirectoryTree___xPxCY div[class~=ant-tree-treenode]{padding:4px 0}.DirectoryTree___xPxCY div[class~=ant-tree-treenode]:hover .EditDom___seNxC{display:block}.DirectoryTree___xPxCY span[class~=ant-tree-iconEle]{height:auto!important}.DirectoryTree___xPxCY div[class~=ant-tree-treenode-selected]:before{bottom:0!important;background:#f6f7f9!important;border-radius:4px!important}.DirectoryTree___xPxCY span[class~=ant-tree-node-content-wrapper]{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;padding:0!important;line-height:40px!important}.DirectoryTree___xPxCY span[class~=ant-tree-title]{flex:1 1;color:#191919!important;padding-right:25px!important;display:inline-flex!important;align-items:center!important}.flex_box_center___NeSU8{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ImTGl{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___BtRd9{align-items:center;box-align:center}.flex_box_center_end___qcLe3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Ze_3q{flex-direction:column;box-orient:block-axis}.banner___PoUBO{display:flex;align-items:center;justify-content:center}.banner___PoUBO .content___XoDjy{width:1200px;height:212px;display:flex;align-items:flex-start;justify-content:space-between}.banner___PoUBO .content___XoDjy aside{margin-top:56px}.banner___PoUBO .content___XoDjy aside p{display:flex;align-items:center}.banner___PoUBO .content___XoDjy aside p b{font-size:30px;font-weight:500;color:#000;letter-spacing:4px;margin-right:20px}.banner___PoUBO .content___XoDjy aside p span{font-size:16px;color:#000;letter-spacing:4px}.banner___PoUBO .content___XoDjy aside .btns___Pb35j{margin-top:35px}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div{display:inline-block;height:32px;background:#f6f7f9;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:4px;border:1px solid #dadbde;font-size:14px;color:#3b3e47;line-height:30px;margin-right:23px;padding:0 16px;position:relative;cursor:pointer}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div:hover{color:#165dff;border:1px solid #bacffe}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div span{position:absolute;z-index:1;top:-21px;right:22px}.flex_box_center___hG6RI{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ss3Fh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___K80p9{align-items:center;box-align:center}.flex_box_center_end___qmXX3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___GFV8F{flex-direction:column;box-orient:block-axis}.row___aXJjm{display:flex;align-items:flex-start;justify-content:flex-start}.row___aXJjm .title___HUKL0{font-size:14px;color:#9096a3;flex-shrink:0;width:41px;text-align-last:justify;margin-top:4px;margin-right:12px}.row___aXJjm .tagsWrap___XB2W3{flex:1 1;position:relative}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1{font-size:14px;color:#82a8ff;width:55px;position:absolute;z-index:2;bottom:20px;right:0;cursor:pointer}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1 i{display:inline-block;font-size:12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC{max-height:245px;overflow:hidden}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span{display:inline-flex;align-items:center;margin-left:8px;margin-bottom:17px;font-size:14px;cursor:pointer;padding:4px 12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .name___Hk1Ip{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:600px;display:inline-block}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .num___xQpcH{margin-left:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span:hover{color:#165dff!important}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft .active___XryTX{color:#165dff!important;border-radius:2px;background:#f6f7f9}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-thumb{background:#0000000d!important;border-radius:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-track{background-color:#f6f7f9!important;box-shadow:initial!important}.row___aXJjm .tagsBorderWrap___OMxjs .bar___t1kKC{padding-top:8px;border-radius:4px;border:1px solid rgba(219,220,224,.5)}.flex_box_center___aK2n3{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HX0Oh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___LJOJr{align-items:center;box-align:center}.flex_box_center_end___SCakF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___AYv4m{flex-direction:column;box-orient:block-axis}.tabs___GTqPV{height:32px;background:#f6f7f9;box-shadow:inset 0 1px 3px #d7d8d9;border-radius:16px;display:inline-block}.tabs___GTqPV span{display:inline-block;padding:0 20px;line-height:32px;font-size:14px;font-weight:400;color:#9096a3;position:relative;cursor:pointer}.tabs___GTqPV span:hover{color:#165dff}.tabs___GTqPV span:after{content:"";position:absolute;width:1px;height:calc(100% - 2px);background:#e2e2e2;border-radius:4px;z-index:1;left:0;top:1px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.tabs___GTqPV span:first-child:after,.tabs___GTqPV .active___F26E8+span:after{display:none}.tabs___GTqPV .active___F26E8{background:linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 0 2px #e8effb;border-radius:16px;border:1px solid #c8d2ea;color:#165dff;line-height:30px}.tabs___GTqPV .active___F26E8:after{display:none}.flex_box_center___yX6Oa{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___t7oqF{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___dEIHy{align-items:center;box-align:center}.flex_box_center_end___taQDF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___xY_Lr{flex-direction:column;box-orient:block-axis}.input___PW2zI{width:507px;height:38px;background:#f6f7f9;border-radius:19px;display:flex;align-items:center;padding:0 20px}.input___PW2zI .dropdown___vSy8B{position:relative;flex-shrink:0}.input___PW2zI .dropdown___vSy8B:hover .menu___NiyBu{display:block}.input___PW2zI .dropdown___vSy8B .text___Grueu{color:#000;font-size:14px;cursor:default;height:38px;display:flex;align-items:center}.input___PW2zI .dropdown___vSy8B .text___Grueu i{font-size:12px;display:inline-block;transform:translateY(1px) scale(.6);color:#979797}.input___PW2zI .dropdown___vSy8B .text___Grueu .b1___ZKryM{display:inline-block;width:1px;height:38px;margin-left:15px;margin-right:0;background:linear-gradient(180deg,#fff0,#fff,#fff0)}.input___PW2zI .dropdown___vSy8B .text___Grueu .b2___aKyGa{display:inline-block;width:1px;height:38px;margin-left:0;margin-right:8px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.input___PW2zI .dropdown___vSy8B .menu___NiyBu{display:none;position:absolute;z-index:999;width:auto;left:-16px;top:35px;padding:4px;background-color:#fff;border-radius:8px;box-shadow:0 10px 16px #cecece}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div{clear:both;margin:0;padding:5px 12px;color:#000000e0;font-weight:400;font-size:14px;text-align:left;line-height:1.57142857;cursor:pointer;transition:all .2s;white-space:nowrap}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div:hover{background-color:#f5f5f5}.input___PW2zI>input{flex:1 1;padding:4px 0}.flex_box_center___tol8o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___Z235C{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Wq1sZ{align-items:center;box-align:center}.flex_box_center_end___LLxom{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___DbMSN{flex-direction:column;box-orient:block-axis}.quickPager___GM30J{display:flex;align-items:center;justify-content:center}.quickPager___GM30J>div{width:60px;height:28px;line-height:26px;text-align:center;background:#f8f9fc;border-radius:2px;border:1px solid rgba(195,207,224,.5);font-size:12px;color:#464f66;margin:0 10px;user-select:none;cursor:pointer}.quickPager___GM30J>div:hover{color:#165dff}.quickPager___GM30J .disabled___Ozc8I{background:#f3f3f5;border:0;line-height:28px;cursor:not-allowed;color:#cecece}.flex_box_center___FO7TP{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___LotYx{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___bWdaw{align-items:center;box-align:center}.flex_box_center_end___mVJ1o{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___M83Mm{flex-direction:column;box-orient:block-axis}.list___oOsiS{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___oOsiS .wrap___G6T7F{height:277px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___oOsiS .wrap___G6T7F .lockWrap___Rl79E{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;flex-direction:column;border-radius:8px}.list___oOsiS .wrap___G6T7F .li___oZZ7l:hover .cover___b2bYW{transform:scale(1.1)}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w{overflow:hidden;height:calc(100% - 100px);border-radius:8px 8px 0 0;position:relative}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .cover___b2bYW{width:100%;transition:all .5s}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .sign___HkT6C{position:absolute;z-index:1;left:0;bottom:0;height:29px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8 .e___TMqq0{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo{height:45px;display:flex;align-items:center;color:#000f37;padding:0 12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo i{color:#7d8592}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo>span{margin-right:5px;font-size:12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7{display:flex;align-items:center;margin-left:auto}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]{font-size:13px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate]{font-size:12px;margin-top:-3px;color:#ffa100}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]:not(:last-child){margin-right:2px}.flex_box_center___AQ53o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___i2aIa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___sPEKB{align-items:center;box-align:center}.flex_box_center_end___GhSSH{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___R9_Hb{flex-direction:column;box-orient:block-axis}.list___jb2Ay{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___jb2Ay .wrap___VsQDr{height:308px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrap___VsQDr:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrap___VsQDr .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrap___VsQDr .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 131px);border-radius:8px 8px 0 0}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .movebq___mF7wt{display:none;position:absolute;z-index:1;padding:4px 8px;line-height:1;background:#fff3;border-radius:9px;color:#fff;font-size:12px;right:4px;top:4px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .movebq___mF7wt i{margin-right:2px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .movebq___mF7wt:hover{color:#e30000;background:#fff}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .bq___Bil0T{height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.list___jb2Ay .wrapisCurrent___qIfQT{height:280px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrapisCurrent___qIfQT:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrapisCurrent___qIfQT .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 105px);border-radius:8px 8px 0 0}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .tagsDom___COQg7{height:calc(100% - 105px)!important}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .bq___Bil0T{height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .name___l7FoJ{font-size:16px;font-weight:600;color:#000;padding:10px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.tagsDom___COQg7{display:flex;align-items:end;width:100%;padding:6px;position:absolute;top:0;left:0;height:calc(100% - 131px)}.movebq___mF7wt{display:none;position:absolute;top:0;right:95px!important;z-index:1;padding:4px 8px;line-height:1;background:#fff3;border-radius:9px;color:#fff;font-size:12px;right:4px;top:4px}.movebq___mF7wt i{margin-right:2px}.movebq___mF7wt:hover{color:#e30000;background:#fff}.hiddenbq___TqlUF{display:none;position:absolute;z-index:1;padding:4px 8px;line-height:1;background:#fff3;border-radius:9px;color:#fff;font-size:12px;right:4px;top:4px}.hiddenbq___TqlUF i{margin-right:2px}.hiddenbq___TqlUF:hover{color:#3061d0;background:#fff}.flex_box_center___eMcr7{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HcNca{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZnvVN{align-items:center;box-align:center}.flex_box_center_end___fdgDf{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___SEKvd{flex-direction:column;box-orient:block-axis}.list___L1hmU{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___L1hmU .hidden___NniIi{display:none;position:absolute;z-index:1;padding:4px 8px;line-height:1;background:#9999991a;border-radius:9px;color:#999;font-size:12px;right:4px;top:4px}.list___L1hmU .hidden___NniIi i{margin-right:2px}.list___L1hmU .hidden___NniIi:hover{color:#3061d0;background:#3061d01a}.list___L1hmU .wrap___pKgcW{height:270px;background:#fff;box-shadow:0 1px 4px #d6dae1;border-radius:8px;position:relative}.list___L1hmU .wrap___pKgcW .btnsTop___Lrm6T{position:absolute;right:0;top:0;font-size:16px;color:#0152d9;z-index:5;padding:0;cursor:pointer}.list___L1hmU .wrap___pKgcW .btnsTop___Lrm6T span{margin:0!important;top:1px!important;right:3px!important;border-radius:6px}.list___L1hmU .wrap___pKgcW:hover .lockWrap___SMhkK{display:flex}.list___L1hmU .wrap___pKgcW:hover .hidden___NniIi{display:inline-block}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK{position:absolute;z-index:10;left:0;top:0;width:100%;height:100%;background:#0009;box-shadow:0 2px 5px #0000000d;border-radius:8px;display:none;flex-direction:column;justify-content:center;align-items:center}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div{width:116px;height:36px;border-radius:18px;border:1px solid #ffffff;font-size:14px;font-weight:600;color:#fff;line-height:34px;text-align:center;margin:10px 0;cursor:pointer}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div:hover{box-shadow:0 0 4px #4f85ff;border:1px solid #c2d3f8}.list___L1hmU .wrap___pKgcW .top___udHSB{height:calc(100% - 50px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:0 24px;position:relative}.list___L1hmU .wrap___pKgcW .top___udHSB .sign___uwRpq{position:absolute;z-index:1;width:44px;height:22px;background:#ffe9c1;border-radius:8px 0 13px;left:0;top:0;color:#a45204;text-align:center;line-height:22px}.list___L1hmU .wrap___pKgcW .top___udHSB .name___Fpf90{font-weight:600;color:#333;margin-top:25px;font-size:16px;white-space:normal;text-align:center;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden;line-height:26px;height:48px}.list___L1hmU .wrap___pKgcW .top___udHSB .img___AMLhL{width:60px;height:60px;border-radius:30px;margin-top:14px}.list___L1hmU .wrap___pKgcW .top___udHSB .text___KiTb7{font-size:14px;color:#333;margin-top:8px;width:98%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ{display:flex;align-items:center;margin-top:12px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ div{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #d6f7ef;font-size:14px;color:#01795d;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ aside{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #ffe9c1;font-size:14px;color:#a45204;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .bottom____k2sh{height:50px;border-top:1px solid #f5f5f5;display:flex;align-items:center;padding:0 12px}.list___L1hmU .wrap___pKgcW .bottom____k2sh>div{margin-left:auto}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span{display:flex;align-items:center;margin-right:12px;color:#999}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span i{font-size:14px;font-size:12px;color:#999;margin-right:6px}.flex_box_center___d27mZ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___qfRU9{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___fCRld{align-items:center;box-align:center}.flex_box_center_end___ORMV8{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___PNKtZ{flex-direction:column;box-orient:block-axis}.tabs___alpa7{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dbdce0;height:54px}.tabs___alpa7 .tabsWrap___aCQjw{display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4{display:flex;align-items:center;margin-right:40px;height:100%;cursor:pointer}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4>div{position:relative;font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v{font-weight:500;color:#202124}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v:after{position:absolute;content:"";width:100%;z-index:4;left:0;bottom:0;height:3px;background:#202124;border-radius:100px 100px 0 0}.flex_box_center___e6HxQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___RnXYe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___lVxPk{align-items:center;box-align:center}.flex_box_center_end___bu8yv{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___JczGj{flex-direction:column;box-orient:block-axis}.orderWrap___ZfyGX{display:box;display:flex;align-items:center}.orderIconWrap___XTB_O{display:box;display:flex;flex-direction:column;height:40px;line-height:40px;color:#999}.orderAsc___KWHmA{flex-direction:column;text-align:center;height:10px;line-height:10px;display:inline-block;margin-top:9px;transform:translateY(2px)}.orderDesc___rHdbB{flex-direction:column;text-align:center;height:10px;line-height:10px;display:table}.active___a7eSP{color:#232b40!important}.cursorPointer___gs9kL{cursor:pointer;color:#d8d8d8;height:10px}.orderTextWrap___teAKn{font-size:14px;color:#3b3e47;cursor:pointer;margin-right:5px}.flex_box_center___LCi0B{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___hzONe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZyQRE{align-items:center;box-align:center}.flex_box_center_end___XKM74{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___p8LCU{flex-direction:column;box-orient:block-axis}.btn___In02G.mediacy-round___uveEv{height:36px;border-radius:36px}.btn___In02G.mediacy-default___dDxsd{height:36px;border-radius:4px}.btn___In02G .default___K791v{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G:hover{color:#165dff;border:1px solid #165dff}button[class~=ant-btn-default]:disabled.btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none;opacity:50%;cursor:not-allowed}.flex_box_center___TB7bQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___oBlTb{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___b5XbB{align-items:center;box-align:center}.flex_box_center_end___CNhe7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___yHXKW{flex-direction:column;box-orient:block-axis}.head___ghH72{height:54px;border-bottom:1px solid #DBDCE0;display:flex;align-items:center}.head___ghH72>span{color:#999;font-size:12px;cursor:pointer;flex-shrink:0}.head___ghH72>b{font-weight:500;color:#232b40;margin-left:30px;font-size:14px;flex:1 1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.head___ghH72 .node___mjPEy{margin-left:auto;flex-shrink:0}.flex_box_center___AlHuF{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vN2LW{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Ac7D2{align-items:center;box-align:center}.flex_box_center_end___y38I7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___iQE6P{flex-direction:column;box-orient:block-axis}.btns___sNgTb{display:flex;align-items:center}.btns___sNgTb .confirm___Ozirl{height:38px;background:#3061d0;border-radius:2px;color:#fff;padding:0 34px}.btns___sNgTb .cancel___aiq1I{height:38px;background:#f8f9fc;border-radius:2px;opacity:.5;border:1px solid #C3CFE0;font-size:14px;color:#464f66;margin-left:20px}.flex_box_center___jkpdr{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___OtsL8{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___rbcb_{align-items:center;box-align:center}.flex_box_center_end___zBR21{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___nS_eP{flex-direction:column;box-orient:block-axis}.fixedBottom___oJl7m{width:100%;height:70px;background:#fff;box-shadow:0 -3px 16px #dbdbdb80;position:fixed;z-index:1000;bottom:0;left:0}.fixedBottom___oJl7m .wrap___A3Oq1{width:1200px;height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between}.fixedBottom___oJl7m .wrap___A3Oq1 .center____VL1y{flex:1 1}.flex_box_center___tY8Yn{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vHdYA{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___pa61F{align-items:center;box-align:center}.flex_box_center_end___HyDXt{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___UjZek{flex-direction:column;box-orient:block-axis}.crumbs___V41Oe{margin:15px auto 25px;width:1200px;cursor:default}.crumbs___V41Oe span{font-size:12px;color:#c5c5c5}.crumbs___V41Oe .hover___bEIVd{cursor:pointer}.crumbs___V41Oe .hover___bEIVd:hover{color:#5f6368}.wrap___LZOi9{padding:20px 30px 0;border-bottom:1px solid #EDEDED}.line___oju0L{width:100%;margin-top:20px;margin-bottom:20px;height:1px;background-color:#ededed}.flex_box_center___swvFl{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___AqPFV{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___XWInJ{align-items:center;box-align:center}.flex_box_center_end___GB61t{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___dJnz1{flex-direction:column;box-orient:block-axis}.analysis___xyV_c .title___DQ3VK{display:flex;align-items:center;margin-bottom:20px}.analysis___xyV_c .title___DQ3VK b{width:6px;height:14px;background:#3061d0;border-radius:1px;display:inline-block;margin-right:8px}.analysis___xyV_c .title___DQ3VK span{font-size:16px;font-weight:500;color:#191919;line-height:16px}.analysis___xyV_c .itemWrap___vFE5r{display:flex;justify-content:space-between}.analysis___xyV_c .itemWrap___vFE5r .item___NjeOt{width:23%;height:145px;border-radius:4px;border:1px solid #EDEDED}.list___BbMrm{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___BbMrm .wrap___UQTTb{width:100px;height:254px;background:#fff;box-shadow:0 4px 8px #c1cad480;border-radius:12px}.list___BbMrm .wrap___UQTTb .img___tNvUo{height:184px;position:relative;overflow:hidden;border-radius:12px 12px 0 0}.list___BbMrm .wrap___UQTTb .img___tNvUo img{width:100%}.list___BbMrm .wrap___UQTTb .img___tNvUo .tips___Eu4wH{padding-left:16px;padding-top:10px;height:57px;color:#fff;width:100%;position:absolute;z-index:10;bottom:0;left:0;background:linear-gradient(180deg,#0000,#000000a8)}.list___BbMrm .wrap___UQTTb .footer___ZbR9W{height:70px;padding:15px}.list___BbMrm .wrap___UQTTb .footer___ZbR9W ul{display:flex;align-items:center;padding:0}.list___BbMrm .wrap___UQTTb .footer___ZbR9W ul li{width:50%;color:#7d7d7d}.list___BbMrm .wrap___UQTTb .footer___ZbR9W ul li i{margin-right:5px;font-size:14px}.noData___mLlw0 .title___DQ3VK{display:flex;align-items:center;margin-bottom:20px}.noData___mLlw0 .title___DQ3VK b{width:6px;height:14px;background:#3061d0;border-radius:1px;display:inline-block;margin-right:8px}.noData___mLlw0 .title___DQ3VK span{font-size:16px;font-weight:500;color:#191919;line-height:16px}.archiveTip___ZP0rt{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:14px;color:#000;text-align:left;font-style:normal} +.flex_box_center___KJUhi{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between____N4uH{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___yOdsz{align-items:center;box-align:center}.flex_box_center_end___seJB9{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___ihHC5{flex-direction:column;box-orient:block-axis}.title___JSmnB{display:flex;align-items:center}.score___ERcuI{display:flex;align-items:center;justify-content:space-between;padding-right:30px}.export___pgR1H{position:absolute;right:0;z-index:2}.title___JSmnB{font-size:16px;height:60px;line-height:60px;padding-left:30px;margin-bottom:0;display:box;display:flex;align-items:center;box-align:center}.title___JSmnB h1{flex:1 1}.title1_right___MdWJo,.title1_right___MdWJo button{display:box;display:flex;align-items:center;box-align:center}.userPic___UeG3e{width:91px;height:91px;border-radius:91px}.userInfo___TNu6l{list-style:none}.userInfo___TNu6l li{display:inline-block;font-size:14px;color:#333;min-width:200px;margin-top:5px}.listItem___wdbM_{display:flex;flex-direction:row;justify-content:space-between;list-style:none;font-size:0;vertical-align:top;width:100%}.listItem___wdbM_ li{display:inline-block;font-size:14px;color:#333;text-align:center;padding:16px 0}.rightInfo___Swqk5 ul{list-style:none;background:#e6f3ff;border:1px solid #eee;padding:10px 0}.rightInfo___Swqk5 ul li span:nth-child(1){width:100px;text-align:right;display:inline-block;color:#999}.rightInfo___Swqk5 p{margin-top:60px;color:#999}.shixunTitle___L2Tc4{display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between}.shixunTitle___L2Tc4 [class~=fa]{width:22px;height:22px;border-radius:22px;color:#fff;text-align:center;line-height:22px;background:#0152d9;margin-right:20px}.shixunWrp___ZoaTc{border:1px solid #eee;margin-top:20px}.shixunWrp___ZoaTc h2{font-size:14px;font-weight:400;padding:6px 20px;border-bottom:1px solid #eee;margin:0;position:relative;display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between}.footerBar___QW5rq{display:flex;justify-content:center;align-items:center;position:fixed;bottom:0;z-index:5}.footerBar___QW5rq [class=edu-container]{padding:0 20px;background:#fff;height:60px;box-shadow:0 -10px 10px #61616114}.footerBar___QW5rq [class=edu-container]>div{height:100%}.footerBarStatic___CRq8b{position:static}.exitComment___u4Rqt{background-color:#fff;border:1px solid #eee;height:32px;padding:5px 20px;color:#666}.nextComment___lvaID{background-color:#0152d9;height:32px;padding:5px 20px;color:#fff}.nextComment___lvaID:hover{color:#fff;background-color:#0152d9}.modal___g3B3L [class~=ant-btn]{display:none}.footer___eJCnt{margin-top:10px;display:flex;align-items:center;justify-content:space-between}.pingjia___X_ooM{background:#f6f7f9;padding:20px;color:#666;font-size:14px;margin-top:10px}.pj_close___PHP4h{width:60px;height:30px;background:#f8f9fc;border-radius:2px;border:1px solid #C3CFE0;opacity:.5;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:14px;color:#464f66;line-height:30px;text-align:center;font-style:normal;cursor:pointer;margin-left:auto;margin-right:20px}.pj_save___COfQy{width:60px;height:30px;background:#3061d0;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:14px;color:#fff;line-height:30px;text-align:center;font-style:normal;cursor:pointer}.fa____jywp{width:22px;height:22px;border-radius:22px;color:#fff;text-align:center;line-height:22px;background:#0152d9;margin-right:20px;display:inline-block}.my-monaco-editor div,.my-diff-editor div{font-size:unset}.my-error-line-wrp{width:calc(100% - 20px)!important;background:#f5000033!important;height:auto!important;color:#f50000}.noCopyPaste .quick-input-widget{display:none!important}.breakpoints-select{background:red;width:8px!important;height:8px!important;left:7px!important;top:7px;border-radius:4px;user-select:none;pointer-events:none}.breakpoints-fake{background:#ff000080;width:8px!important;height:8px!important;left:7px!important;top:7px;border-radius:4px;user-select:none;pointer-events:none}.highlighted-line{background:#4b4b18}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:#14ff1480;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;animation:blink 1.06s steps(1) infinite;background-color:#7e7}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;inset:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}#educoder .markdown-editor-wrapper{position:relative}#educoder .markdown-editor-body{display:flex;flex-flow:row nowrap;width:100%;height:calc(100% - 38px);align-items:center}#educoder .markdown-editor-body .codemirror-container{flex:1 0;height:100%;width:100%;overflow:hidden}#educoder .markdown-editor-body .preview-container{flex:1 0;height:100%;margin:10px 0;padding:8px 8px 50px;background:#fff;overflow-y:auto;box-sizing:border-box;border-left:1px solid #ccc;word-wrap:break-word;word-break:break-word;white-space:normal;font-size:16px;position:relative}#educoder .markdown-editor-container{border:1px solid #ccc;overflow:hidden;border-radius:4px;margin-bottom:12px;font-size:16px}#educoder .markdown-editor-container.full-screen{position:fixed;inset:0;height:100%!important;z-index:998}#educoder .markdown-editor-container.full-screen .preview-container>div{padding-bottom:180px!important}#educoder .markdown-editor-container.full-screen .CodeMirror-sizer>div{margin-bottom:90px}#educoder .markdown-editor-container.on-preview .codemirror-container,#educoder .markdown-editor-container.on-preview .preview-container{width:50%}#educoder .mini .markdown-editor-body{height:calc(100% - 28px)}#educoder .flex-end{justify-content:flex-end}#educoder .my-codemirror-container{border:1px solid #ccc;width:100%;margin-bottom:24px}#educoder .markdown-tip{color:#cdcdcd;font-size:12px;position:absolute;right:0;bottom:-28px;margin-bottom:7px}#educoder .CodeMirror-lines{padding:4px 0}#educoder .CodeMirror pre.CodeMirror-line,#educoder .CodeMirror pre.CodeMirror-line-like{padding:0 4px}#educoder .CodeMirror-scrollbar-filler,#educoder .CodeMirror-gutter-filler{background-color:#fff}#educoder .CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}#educoder .CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}#educoder .CodeMirror-guttermarker{color:#000}#educoder .CodeMirror-guttermarker-subtle{color:#999}#educoder .CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}#educoder .CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}#educoder .cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}#educoder .cm-fat-cursor div.CodeMirror-cursors{z-index:1}#educoder .cm-fat-cursor-mark{background-color:#14ff1480;animation:blink 1.06s steps(1) infinite}#educoder .cm-animate-fat-cursor{width:auto;border:0;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@keyframes blink{50%{background-color:transparent}}#educoder .cm-tab{display:inline-block;text-decoration:inherit}#educoder .CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}#educoder .CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}#educoder .cm-s-default .cm-header{color:#00f}#educoder .cm-s-default .cm-quote{color:#090}#educoder .cm-negative{color:#d44}#educoder .cm-positive{color:#292}#educoder .cm-header,#educoder .cm-strong{font-weight:700}#educoder .cm-em{font-style:italic}#educoder .cm-link{text-decoration:underline}#educoder .cm-strikethrough{text-decoration:line-through}#educoder .cm-s-default .cm-keyword{color:#708}#educoder .cm-s-default .cm-atom{color:#219}#educoder .cm-s-default .cm-number{color:#164}#educoder .cm-s-default .cm-def{color:#00f}#educoder .cm-s-default .cm-variable-2{color:#05a}#educoder .cm-s-default .cm-variable-3,#educoder .cm-s-default .cm-type{color:#085}#educoder .cm-s-default .cm-comment{color:#a50}#educoder .cm-s-default .cm-string{color:#a11}#educoder .cm-s-default .cm-string-2{color:#f50}#educoder .cm-s-default .cm-meta,#educoder .cm-s-default .cm-qualifier{color:#555}#educoder .cm-s-default .cm-builtin{color:#30a}#educoder .cm-s-default .cm-bracket{color:#997}#educoder .cm-s-default .cm-tag{color:#170}#educoder .cm-s-default .cm-attribute{color:#00c}#educoder .cm-s-default .cm-hr{color:#999}#educoder .cm-s-default .cm-link{color:#00c}#educoder .cm-s-default .cm-error,#educoder .cm-invalidchar{color:red}#educoder .CodeMirror-composing{border-bottom:2px solid}#educoder div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}#educoder div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}#educoder .CodeMirror-matchingtag{background:#ff96004d}#educoder .CodeMirror-activeline-background{background:#e8f2ff}#educoder .CodeMirror{position:relative;overflow:hidden;background:#fff}#educoder .CodeMirror-scroll{overflow:scroll!important;margin-bottom:0;margin-right:0;padding-bottom:5px;height:100%;outline:none;position:relative}#educoder .CodeMirror-sizer{position:relative;border-right:0px}#educoder .CodeMirror-vscrollbar,#educoder .CodeMirror-hscrollbar,#educoder .CodeMirror-scrollbar-filler,#educoder .CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}#educoder .CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}#educoder .CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}#educoder .CodeMirror-scrollbar-filler{right:0;bottom:0}#educoder .CodeMirror-gutter-filler{left:0;bottom:0}#educoder .CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}#educoder .CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}#educoder .CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}#educoder .CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}#educoder .CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}#educoder .CodeMirror-gutter-wrapper ::selection{background-color:transparent}#educoder .CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}#educoder .CodeMirror-lines{cursor:text;min-height:1px}#educoder .CodeMirror pre.CodeMirror-line,#educoder .CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}#educoder .CodeMirror-wrap pre.CodeMirror-line,#educoder .CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}#educoder .CodeMirror-linebackground{position:absolute;inset:0;height:100vh!important;z-index:1100}#educoder .CodeMirror-linebackground .preview-container>div{padding-bottom:180px!important}#educoder .CodeMirror-linebackground .CodeMirror-sizer>div{margin-bottom:90px}#educoder .CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}#educoder .CodeMirror-rtl pre{direction:rtl}#educoder .CodeMirror-code{outline:none}#educoder .CodeMirror-scroll,#educoder .CodeMirror-sizer,#educoder .CodeMirror-gutter,#educoder .CodeMirror-gutters,#educoder .CodeMirror-linenumber{box-sizing:content-box}#educoder .CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}#educoder .CodeMirror-cursor{position:absolute;pointer-events:none}#educoder .CodeMirror-measure pre{position:static}#educoder div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}#educoder div.CodeMirror-dragcursors,#educoder .CodeMirror-focused div.CodeMirror-cursors{visibility:visible}#educoder .CodeMirror-selected{background:#d9d9d9}#educoder .CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}#educoder .CodeMirror-crosshair{cursor:crosshair}#educoder .CodeMirror-line::selection,#educoder .CodeMirror-line>span::selection,#educoder .CodeMirror-line>span>span::selection{background:#d7d4f0}#educoder .CodeMirror-line::-moz-selection,#educoder .CodeMirror-line>span::-moz-selection,#educoder .CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}#educoder .cm-searching{background-color:#ffa;background-color:#ff06}#educoder .cm-force-border{padding-right:.1px}@media print{#educoder .CodeMirror div.CodeMirror-cursors{visibility:hidden}}#educoder .cm-tab-wrap-hack:after{content:""}#educoder span.CodeMirror-selectedtext{background:none}#educoder .CodeMirror-sizer{padding-top:10px;padding-bottom:10px!important}#educoder .CodeMirror-empty.CodeMirror-focused{outline:none}#educoder .CodeMirror pre.CodeMirror-placeholder{color:#999}#educoder .CodeMirror{position:relative;overflow:hidden;background:#fff;word-break:break-word}#educoder .CodeMirror pre.CodeMirror-line,#educoder .CodeMirror pre.CodeMirror-line-like{word-wrap:break-word;word-break:break-word;white-space:pre-wrap;line-height:1.6}@font-face{font-family:KaTeX_AMS;src:url(./static/KaTeX_AMS-Regular.e101fd3b.woff2) format("woff2"),url(./static/KaTeX_AMS-Regular.89a32939.woff) format("woff"),url(./static/KaTeX_AMS-Regular.76b481f1.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(./static/KaTeX_Caligraphic-Bold.804b0502.woff2) format("woff2"),url(./static/KaTeX_Caligraphic-Bold.ebf5447d.woff) format("woff"),url(./static/KaTeX_Caligraphic-Bold.28758623.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(./static/KaTeX_Caligraphic-Regular.7ca15b3a.woff2) format("woff2"),url(./static/KaTeX_Caligraphic-Regular.d642f1a8.woff) format("woff"),url(./static/KaTeX_Caligraphic-Regular.fe9310f0.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(./static/KaTeX_Fraktur-Bold.33bcfed3.woff2) format("woff2"),url(./static/KaTeX_Fraktur-Bold.fc482350.woff) format("woff"),url(./static/KaTeX_Fraktur-Bold.70f2abc1.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(./static/KaTeX_Fraktur-Regular.86cfbe4e.woff2) format("woff2"),url(./static/KaTeX_Fraktur-Regular.29abfb1c.woff) format("woff"),url(./static/KaTeX_Fraktur-Regular.51bff235.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(./static/KaTeX_Main-Bold.603892c5.woff2) format("woff2"),url(./static/KaTeX_Main-Bold.9f5bc66f.woff) format("woff"),url(./static/KaTeX_Main-Bold.da66c0ab.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(./static/KaTeX_Main-BoldItalic.bd95a810.woff2) format("woff2"),url(./static/KaTeX_Main-BoldItalic.c31eb616.woff) format("woff"),url(./static/KaTeX_Main-BoldItalic.962b328a.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(./static/KaTeX_Main-Italic.7662be2b.woff2) format("woff2"),url(./static/KaTeX_Main-Italic.3c94ae8c.woff) format("woff"),url(./static/KaTeX_Main-Italic.b1598925.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(./static/KaTeX_Main-Regular.7056d1df.woff2) format("woff2"),url(./static/KaTeX_Main-Regular.f23b28dc.woff) format("woff"),url(./static/KaTeX_Main-Regular.fe159c21.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url(./static/KaTeX_Math-BoldItalic.df742084.woff2) format("woff2"),url(./static/KaTeX_Math-BoldItalic.a6fde119.woff) format("woff"),url(./static/KaTeX_Math-BoldItalic.8ee92314.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url(./static/KaTeX_Math-Italic.912cb075.woff2) format("woff2"),url(./static/KaTeX_Math-Italic.ad043b21.woff) format("woff"),url(./static/KaTeX_Math-Italic.f4a2fd50.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(./static/KaTeX_SansSerif-Bold.198a2b19.woff2) format("woff2"),url(./static/KaTeX_SansSerif-Bold.2dee50c6.woff) format("woff"),url(./static/KaTeX_SansSerif-Bold.9ae5090b.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_SansSerif;src:url(./static/KaTeX_SansSerif-Italic.58452206.woff2) format("woff2"),url(./static/KaTeX_SansSerif-Italic.f88f16ed.woff) format("woff"),url(./static/KaTeX_SansSerif-Italic.363562bf.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(./static/KaTeX_SansSerif-Regular.50cd68ac.woff2) format("woff2"),url(./static/KaTeX_SansSerif-Regular.13e35ac8.woff) format("woff"),url(./static/KaTeX_SansSerif-Regular.d1c35243.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url(./static/KaTeX_Script-Regular.2fc42204.woff2) format("woff2"),url(./static/KaTeX_Script-Regular.8f35f84f.woff) format("woff"),url(./static/KaTeX_Script-Regular.d09e0cea.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url(./static/KaTeX_Size1-Regular.03ff84ee.woff2) format("woff2"),url(./static/KaTeX_Size1-Regular.2222c8c3.woff) format("woff"),url(./static/KaTeX_Size1-Regular.920c8080.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url(./static/KaTeX_Size2-Regular.fa296a19.woff2) format("woff2"),url(./static/KaTeX_Size2-Regular.45c74525.woff) format("woff"),url(./static/KaTeX_Size2-Regular.7d3e746e.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url(./static/KaTeX_Size3-Regular.d9075b2b.woff2) format("woff2"),url(./static/KaTeX_Size3-Regular.62bef299.woff) format("woff"),url(./static/KaTeX_Size3-Regular.39f7a039.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url(./static/KaTeX_Size4-Regular.93084eec.woff2) format("woff2"),url(./static/KaTeX_Size4-Regular.3ee0d868.woff) format("woff"),url(./static/KaTeX_Size4-Regular.cd3f02bf.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url(./static/KaTeX_Typewriter-Regular.65cd6476.woff2) format("woff2"),url(./static/KaTeX_Typewriter-Regular.3f215ba2.woff) format("woff"),url(./static/KaTeX_Typewriter-Regular.73468499.ttf) format("truetype");font-weight:400;font-style:normal}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.11.1"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathdefault{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:0 solid;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left}.wrp___dq7YK{display:flex;justify-content:center;align-items:center;position:fixed;width:100%;height:100%;left:0;top:0;z-index:108}.wrp___dq7YK.bgBlack___ARIUV{background:#00000080}.wrp___dq7YK img,.wrp___dq7YK video{max-width:100%;max-height:80%;text-align:center}.wrp___dq7YK iframe{width:100%;height:100%;position:absolute;left:0;top:0;background:#fff;border:none}.monaco___VnZC3{position:absolute;height:100%;width:100%}.darkBlue___UprA9 *{font-size:14px}.darkBlue___UprA9 [class~=margin],.darkBlue___UprA9 [class~=monaco-editor-background]{background:#0a0e2d!important}.darkBlue___UprA9 [class~=line-numbers]{color:#fff!important}@keyframes showClose___edZQA{to{opacity:1;visibility:visible}}.close___LKoWu{position:absolute;right:40px;top:40px;z-index:10;display:flex;visibility:hidden;animation:showClose___edZQA 0s linear 1s forwards}.close___LKoWu>span{background:#4a4a4a;color:#fff;width:40px;height:40px;border-radius:4px;display:flex;justify-content:center;align-items:center;cursor:pointer;margin-left:10px}.embed___hvpEJ{position:absolute;left:0;top:0;width:100%;height:100%}.mdBody___raKXb{position:relative}.button___Ch5Pc{position:absolute;display:flex;align-items:center;justify-content:center;background:#0000001a;display:none}.previewFlowChart___vY1dq{align-items:flex-start;justify-content:end;background:none!important}.previewFlowChart___vY1dq button{margin:20px}.markdown-toolbar-container{display:flex;flex-flow:row wrap;align-items:center;padding:0 28px 0 5px;margin:0;position:relative;list-style:none;background:#fff;border-bottom:1px solid #ccc;box-sizing:border-box;line-height:20px;width:100%;min-height:30px;height:38px;overflow:hidden}.markdown-toolbar-container .fill-tip{cursor:pointer;font-size:12px;display:inline-block;padding:5px;border:1px solid #E99237;border-radius:5px;box-sizing:border-box;line-height:16px;height:auto;color:#a65500;background-color:#fff1e2;position:relative;margin-left:10px}.markdown-toolbar-container .fill-tip:before{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #FFF1E2;position:absolute;left:-6px;top:6px;z-index:10}.markdown-toolbar-container .fill-tip:after{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #E99237;position:absolute;left:-7px;top:6px}.markdown-toolbar-container li{color:#666;padding:0 1px;height:100%;display:flex;height:38px;flex-flow:column nowrap;justify-content:center}.markdown-toolbar-container a,.markdown-toolbar-container span{display:block}.markdown-toolbar-container a{width:28px;color:#666;cursor:pointer;text-align:center;font-size:18px}.markdown-toolbar-container a i{font-size:18px}.markdown-toolbar-container a i:before{font-size:18px}.markdown-toolbar-container .btn-null{width:auto;display:flex;flex-flow:row nowrap;align-items:center}.markdown-toolbar-container .insert-blank{color:#e99237;font-size:18px}.markdown-toolbar-container span.v-line{margin:0 5px;height:65%;border-right:1px solid #ccc}.mini .markdown-toolbar-container li{height:28px}.editor-resize{display:block;width:120px;height:4px;left:54%;border-top:1px solid #ccc;border-bottom:1px solid #ccc;cursor:row-resize;white-space:nowrap;overflow:hidden;text-transform:capitalize;box-sizing:border-box;margin:0 auto}.btn-full-screen{position:absolute;right:5px}@font-face{font-family:md-iconfont;src:url(./static/iconfont.345f94c8.eot);src:url(./static/iconfont.345f94c8.eot#iefix) format("embedded-opentype"),url(./static/iconfont.deef216b.woff) format("woff"),url(./static/iconfont.42606faf.ttf) format("truetype"),url(./static/iconfont.504b881c.svg#iconfont) format("svg")}.md-iconfont{font-family:md-iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-uniE900:before{content:"\e900";font-size:14px;margin-left:5px}.icon-shrink:before{content:"\e728"}.icon-enlarge:before{content:"\e623"}.icon-code:before{content:"\e602"}.icon-italic:before{content:"\e718"}.icon-bold:before{content:"\e644"}.icon-picture:before{content:"\e606"}.icon-minus:before{content:"\e62c"}.icon-order-list:before{content:"\e655"}.icon-link:before{content:"\e7d4"}.icon-formula:before{content:"\e633"}.icon-unorder-list:before{content:"\e668"}.icon-edit:before{content:"\e603"}.icon-table:before{content:"\e7db"}.icon-sum:before{content:"\e667"}.icon-eye:before{content:"\e69f"}.icon-eye-slash:before{content:"\e601"}.icon-eraser:before{content:"\e8cd"}.icon-file-code:before{content:"\e9ec"}.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #A7A7A7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag,.cm-s-blackboard .cm-attribute{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.upload-button{width:106px;height:32px;line-height:32px;font-size:12px;display:block;position:relative;color:#0152d9}.upload-button input{opacity:0;width:160px;height:32px;position:absolute;top:0;left:0;z-index:-1}.imageDimensions___a7crR{display:flex;justify-content:center;align-items:center;position:fixed;width:100%;height:100vh;left:0;top:0;z-index:1005;background:#fff;overflow:hidden}.imageDimensions___a7crR .img___Kroat{visibility:hidden;max-width:80%;min-width:500px}.imageDimensions___a7crR [class*=_toolbox_colors]{position:fixed;left:0;bottom:0}.imageDimensions___a7crR.fullWidth___c492T .img___Kroat{max-width:100%;width:100%;height:100%}.myPaletteDiv___Xjz2I{position:relative;left:-15px;width:320px}.myPaletteDiv___Xjz2I canvas{margin-top:15px}.flowChartWrp____f45r [class^=goTXarea],.flowChartWrp____f45r textarea{min-width:70px;margin-left:-15px!important}.maxH60___Pd4Re [class^=ant-modal-content]{height:57px!important;overflow:hidden}.drawerWrap___MfDw8 [class~=ant-drawer-body]{padding:0!important}.lists___xhHyq{padding-bottom:10px}.lists___xhHyq code{background:none!important}.lists___xhHyq>div>div:first-child{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px 0;font-size:12px;cursor:pointer}.lists___xhHyq>div>div:first-child [class^=katex]{font-size:22px}.item___pWJAA{position:relative}.item___pWJAA:nth-last-child(-n+3) .children___sDG61{left:initial;right:5px}.item___pWJAA:hover{z-index:2147483648}.item___pWJAA:hover .children___sDG61{display:block}.children___sDG61{display:none;position:absolute;left:6px;top:70px;width:440px;max-height:400px;overflow:auto;background:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 0 6px #ccc;padding:15px}.children___sDG61 h1{font-size:14px;padding-top:6px}.children___sDG61 .diamond___FwgzD>div{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;height:50px;font-size:12px;padding:0 10px;min-width:80px}.children___sDG61 .diamond___FwgzD>div [class^=katex]{font-size:14px}.button___WPN6r{position:absolute;right:20px;bottom:20px}.mathWrap___FmnMJ{width:800px;height:550px}.mathFillWrap___PmY3H{cursor:pointer}.mathFillWrap___PmY3H ::part(menu-toggle){color:#00f;opacity:1;display:none}.mathFillWrap___PmY3H math-field{background:none}.mathFillWrap___PmY3H *{pointer-events:none}.md___TEmcT{border:none!important}.image-preview-container{display:flex;flex-flow:column nowrap;position:fixed;align-items:center;justify-content:center;inset:0;z-index:99999;background:#000c}.image-preview-container .image-preview{transition:transform .4s linear;max-width:86%}.image-preview-container .button-group{display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-end;position:absolute;z-index:101;right:10px;top:10px}.image-preview-container .button-group a,.image-preview-container .button-group button{color:#000000a6;margin-right:10px;display:flex;flex-flow:row nowrap;align-items:center}.preview-wrp-group{overflow:auto;width:100%;text-align:center}.flex_box_center___A3pzf{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___JBoa5{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___MJuIO{align-items:center;box-align:center}.flex_box_center_end___OcjUA{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___zSH4A{flex-direction:column;box-orient:block-axis}.list___KhJas .middle___IjlYi{display:flex;align-items:center}.list___KhJas .row___GGtIx{display:flex;align-items:center;margin:20px 0}.list___KhJas .row___GGtIx .title___o_xqf{display:flex;align-items:center;height:24px;background:#165dff0f;border-radius:12px;font-size:14px;color:#165dff;padding:5px 20px;cursor:pointer}.list___KhJas .row___GGtIx .title___o_xqf span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:760px}.list___KhJas .row___GGtIx .title___o_xqf i{font-size:13px;margin-right:8px}.list___KhJas .row___GGtIx .size___OVRoL{font-size:12px;color:#c5c5c5;margin-left:10px}.list___KhJas .row___GGtIx .download___ZLcIH{display:flex;align-items:center;font-size:14px;color:#165dff;margin-left:30px;cursor:pointer}.list___KhJas .row___GGtIx .download___ZLcIH i{font-size:14px;margin-right:5px}.list___KhJas .row___GGtIx .preview___gi0kI{display:flex;align-items:center;font-size:14px;color:#2fa34f;margin-left:20px;cursor:pointer}.list___KhJas .row___GGtIx .preview___gi0kI i{font-size:14px;margin-right:4px}.list___KhJas .row___GGtIx .annotation___KVSwj{display:flex;align-items:center;font-size:14px;color:#a77f1e;margin-left:20px;cursor:pointer}.list___KhJas .row___GGtIx .annotation___KVSwj i{font-size:14px;margin-right:4px}.archiveTip___k77Pl{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:14px;color:#000;text-align:left;font-style:normal}.greyText___nOpNq{color:#5f6367}.info___nBB3c{margin-bottom:30px}.info___nBB3c .label___P6my8{font-size:14px;font-weight:400;margin-right:10px}.info___nBB3c .blackContent___O4HnS{color:#000}.info___nBB3c .orangeContent___JBF44{color:#fa6400}.inputLabel___B2GAs{margin-bottom:10px}.tableTitle___IqAxM{display:flex;align-items:center;font-size:14px;font-weight:500;color:#000;margin-bottom:15px}.tableTitle___IqAxM:before{content:"";display:inline-block;width:2px;height:12px;background:#000;margin-right:4px}.scoreTable___RJvpU{max-height:280px;overflow:auto}.currentPrimary___NPWiR{cursor:pointer;user-select:none}.currentPrimary___NPWiR:hover{color:#165dff}.currentDelete___UEfhf{cursor:pointer;user-select:none}.currentDelete___UEfhf:hover{color:#e30000}.DirectoryTree___xPxCY{width:100%}.DirectoryTree___xPxCY .EditDom___seNxC{display:none}.DirectoryTree___xPxCY div[class~=ant-tree-treenode]{padding:4px 0}.DirectoryTree___xPxCY div[class~=ant-tree-treenode]:hover .EditDom___seNxC{display:block}.DirectoryTree___xPxCY span[class~=ant-tree-iconEle]{height:auto!important}.DirectoryTree___xPxCY div[class~=ant-tree-treenode-selected]:before{bottom:0!important;background:#f6f7f9!important;border-radius:4px!important}.DirectoryTree___xPxCY span[class~=ant-tree-node-content-wrapper]{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;padding:0!important;line-height:40px!important}.DirectoryTree___xPxCY span[class~=ant-tree-title]{flex:1 1;color:#191919!important;padding-right:25px!important;display:inline-flex!important;align-items:center!important}.flex_box_center___NeSU8{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ImTGl{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___BtRd9{align-items:center;box-align:center}.flex_box_center_end___qcLe3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Ze_3q{flex-direction:column;box-orient:block-axis}.banner___PoUBO{display:flex;align-items:center;justify-content:center}.banner___PoUBO .content___XoDjy{width:1200px;height:212px;display:flex;align-items:flex-start;justify-content:space-between}.banner___PoUBO .content___XoDjy aside{margin-top:56px}.banner___PoUBO .content___XoDjy aside p{display:flex;align-items:center}.banner___PoUBO .content___XoDjy aside p b{font-size:30px;font-weight:500;color:#000;letter-spacing:4px;margin-right:20px}.banner___PoUBO .content___XoDjy aside p span{font-size:16px;color:#000;letter-spacing:4px}.banner___PoUBO .content___XoDjy aside .btns___Pb35j{margin-top:35px}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div{display:inline-block;height:32px;background:#f6f7f9;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:4px;border:1px solid #dadbde;font-size:14px;color:#3b3e47;line-height:30px;margin-right:23px;padding:0 16px;position:relative;cursor:pointer}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div:hover{color:#165dff;border:1px solid #bacffe}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div span{position:absolute;z-index:1;top:-21px;right:22px}.flex_box_center___hG6RI{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ss3Fh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___K80p9{align-items:center;box-align:center}.flex_box_center_end___qmXX3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___GFV8F{flex-direction:column;box-orient:block-axis}.row___aXJjm{display:flex;align-items:flex-start;justify-content:flex-start}.row___aXJjm .title___HUKL0{font-size:14px;color:#9096a3;flex-shrink:0;width:41px;text-align-last:justify;margin-top:4px;margin-right:12px}.row___aXJjm .tagsWrap___XB2W3{flex:1 1;position:relative}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1{font-size:14px;color:#82a8ff;width:55px;position:absolute;z-index:2;bottom:20px;right:0;cursor:pointer}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1 i{display:inline-block;font-size:12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC{max-height:245px;overflow:hidden}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span{display:inline-flex;align-items:center;margin-left:8px;margin-bottom:17px;font-size:14px;cursor:pointer;padding:4px 12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .name___Hk1Ip{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:600px;display:inline-block}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .num___xQpcH{margin-left:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span:hover{color:#165dff!important}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft .active___XryTX{color:#165dff!important;border-radius:2px;background:#f6f7f9}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-thumb{background:#0000000d!important;border-radius:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-track{background-color:#f6f7f9!important;box-shadow:initial!important}.row___aXJjm .tagsBorderWrap___OMxjs .bar___t1kKC{padding-top:8px;border-radius:4px;border:1px solid rgba(219,220,224,.5)}.flex_box_center___aK2n3{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HX0Oh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___LJOJr{align-items:center;box-align:center}.flex_box_center_end___SCakF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___AYv4m{flex-direction:column;box-orient:block-axis}.tabs___GTqPV{height:32px;background:#f6f7f9;box-shadow:inset 0 1px 3px #d7d8d9;border-radius:16px;display:inline-block}.tabs___GTqPV span{display:inline-block;padding:0 20px;line-height:32px;font-size:14px;font-weight:400;color:#9096a3;position:relative;cursor:pointer}.tabs___GTqPV span:hover{color:#165dff}.tabs___GTqPV span:after{content:"";position:absolute;width:1px;height:calc(100% - 2px);background:#e2e2e2;border-radius:4px;z-index:1;left:0;top:1px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.tabs___GTqPV span:first-child:after,.tabs___GTqPV .active___F26E8+span:after{display:none}.tabs___GTqPV .active___F26E8{background:linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 0 2px #e8effb;border-radius:16px;border:1px solid #c8d2ea;color:#165dff;line-height:30px}.tabs___GTqPV .active___F26E8:after{display:none}.flex_box_center___yX6Oa{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___t7oqF{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___dEIHy{align-items:center;box-align:center}.flex_box_center_end___taQDF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___xY_Lr{flex-direction:column;box-orient:block-axis}.input___PW2zI{width:507px;height:38px;background:#f6f7f9;border-radius:19px;display:flex;align-items:center;padding:0 20px}.input___PW2zI .dropdown___vSy8B{position:relative;flex-shrink:0}.input___PW2zI .dropdown___vSy8B:hover .menu___NiyBu{display:block}.input___PW2zI .dropdown___vSy8B .text___Grueu{color:#000;font-size:14px;cursor:default;height:38px;display:flex;align-items:center}.input___PW2zI .dropdown___vSy8B .text___Grueu i{font-size:12px;display:inline-block;transform:translateY(1px) scale(.6);color:#979797}.input___PW2zI .dropdown___vSy8B .text___Grueu .b1___ZKryM{display:inline-block;width:1px;height:38px;margin-left:15px;margin-right:0;background:linear-gradient(180deg,#fff0,#fff,#fff0)}.input___PW2zI .dropdown___vSy8B .text___Grueu .b2___aKyGa{display:inline-block;width:1px;height:38px;margin-left:0;margin-right:8px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.input___PW2zI .dropdown___vSy8B .menu___NiyBu{display:none;position:absolute;z-index:999;width:auto;left:-16px;top:35px;padding:4px;background-color:#fff;border-radius:8px;box-shadow:0 10px 16px #cecece}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div{clear:both;margin:0;padding:5px 12px;color:#000000e0;font-weight:400;font-size:14px;text-align:left;line-height:1.57142857;cursor:pointer;transition:all .2s;white-space:nowrap}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div:hover{background-color:#f5f5f5}.input___PW2zI>input{flex:1 1;padding:4px 0}.flex_box_center___tol8o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___Z235C{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Wq1sZ{align-items:center;box-align:center}.flex_box_center_end___LLxom{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___DbMSN{flex-direction:column;box-orient:block-axis}.quickPager___GM30J{display:flex;align-items:center;justify-content:center}.quickPager___GM30J>div{width:60px;height:28px;line-height:26px;text-align:center;background:#f8f9fc;border-radius:2px;border:1px solid rgba(195,207,224,.5);font-size:12px;color:#464f66;margin:0 10px;user-select:none;cursor:pointer}.quickPager___GM30J>div:hover{color:#165dff}.quickPager___GM30J .disabled___Ozc8I{background:#f3f3f5;border:0;line-height:28px;cursor:not-allowed;color:#cecece}.flex_box_center___FO7TP{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___LotYx{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___bWdaw{align-items:center;box-align:center}.flex_box_center_end___mVJ1o{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___M83Mm{flex-direction:column;box-orient:block-axis}.list___oOsiS{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___oOsiS .wrap___G6T7F{height:277px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___oOsiS .wrap___G6T7F .lockWrap___Rl79E{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;flex-direction:column;border-radius:8px}.list___oOsiS .wrap___G6T7F .li___oZZ7l:hover .cover___b2bYW{transform:scale(1.1)}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w{overflow:hidden;height:calc(100% - 100px);border-radius:8px 8px 0 0;position:relative}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .cover___b2bYW{width:100%;transition:all .5s}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .sign___HkT6C{position:absolute;z-index:1;left:0;bottom:0;height:29px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8 .e___TMqq0{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo{height:45px;display:flex;align-items:center;color:#000f37;padding:0 12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo i{color:#7d8592}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo>span{margin-right:5px;font-size:12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7{display:flex;align-items:center;margin-left:auto}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]{font-size:13px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate]{font-size:12px;margin-top:-3px;color:#ffa100}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]:not(:last-child){margin-right:2px}.flex_box_center___AQ53o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___i2aIa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___sPEKB{align-items:center;box-align:center}.flex_box_center_end___GhSSH{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___R9_Hb{flex-direction:column;box-orient:block-axis}.list___jb2Ay{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___jb2Ay .wrap___VsQDr{height:308px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrap___VsQDr:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrap___VsQDr .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrap___VsQDr .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 131px);border-radius:8px 8px 0 0}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .movebq___mF7wt{display:none;position:absolute;z-index:1;padding:4px 8px;line-height:1;background:#fff3;border-radius:9px;color:#fff;font-size:12px;right:4px;top:4px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .movebq___mF7wt i{margin-right:2px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .movebq___mF7wt:hover{color:#e30000;background:#fff}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .bq___Bil0T{height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.list___jb2Ay .wrapisCurrent___qIfQT{height:280px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrapisCurrent___qIfQT:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrapisCurrent___qIfQT .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 105px);border-radius:8px 8px 0 0}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .tagsDom___COQg7{height:calc(100% - 105px)!important}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .bq___Bil0T{height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .name___l7FoJ{font-size:16px;font-weight:600;color:#000;padding:10px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.tagsDom___COQg7{display:flex;align-items:end;width:100%;padding:6px;position:absolute;top:0;left:0;height:calc(100% - 131px)}.movebq___mF7wt{display:none;position:absolute;top:0;right:95px!important;z-index:1;padding:4px 8px;line-height:1;background:#fff3;border-radius:9px;color:#fff;font-size:12px;right:4px;top:4px}.movebq___mF7wt i{margin-right:2px}.movebq___mF7wt:hover{color:#e30000;background:#fff}.hiddenbq___TqlUF{display:none;position:absolute;z-index:1;padding:4px 8px;line-height:1;background:#fff3;border-radius:9px;color:#fff;font-size:12px;right:4px;top:4px}.hiddenbq___TqlUF i{margin-right:2px}.hiddenbq___TqlUF:hover{color:#3061d0;background:#fff}.flex_box_center___eMcr7{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HcNca{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZnvVN{align-items:center;box-align:center}.flex_box_center_end___fdgDf{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___SEKvd{flex-direction:column;box-orient:block-axis}.list___L1hmU{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___L1hmU .hidden___NniIi{display:none;position:absolute;z-index:1;padding:4px 8px;line-height:1;background:#9999991a;border-radius:9px;color:#999;font-size:12px;right:4px;top:4px}.list___L1hmU .hidden___NniIi i{margin-right:2px}.list___L1hmU .hidden___NniIi:hover{color:#3061d0;background:#3061d01a}.list___L1hmU .wrap___pKgcW{height:270px;background:#fff;box-shadow:0 1px 4px #d6dae1;border-radius:8px;position:relative}.list___L1hmU .wrap___pKgcW .btnsTop___Lrm6T{position:absolute;right:0;top:0;font-size:16px;color:#0152d9;z-index:5;padding:0;cursor:pointer}.list___L1hmU .wrap___pKgcW .btnsTop___Lrm6T span{margin:0!important;top:1px!important;right:3px!important;border-radius:6px}.list___L1hmU .wrap___pKgcW:hover .lockWrap___SMhkK{display:flex}.list___L1hmU .wrap___pKgcW:hover .hidden___NniIi{display:inline-block}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK{position:absolute;z-index:10;left:0;top:0;width:100%;height:100%;background:#0009;box-shadow:0 2px 5px #0000000d;border-radius:8px;display:none;flex-direction:column;justify-content:center;align-items:center}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div{width:116px;height:36px;border-radius:18px;border:1px solid #ffffff;font-size:14px;font-weight:600;color:#fff;line-height:34px;text-align:center;margin:10px 0;cursor:pointer}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div:hover{box-shadow:0 0 4px #4f85ff;border:1px solid #c2d3f8}.list___L1hmU .wrap___pKgcW .top___udHSB{height:calc(100% - 50px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:0 24px;position:relative}.list___L1hmU .wrap___pKgcW .top___udHSB .sign___uwRpq{position:absolute;z-index:1;width:44px;height:22px;background:#ffe9c1;border-radius:8px 0 13px;left:0;top:0;color:#a45204;text-align:center;line-height:22px}.list___L1hmU .wrap___pKgcW .top___udHSB .name___Fpf90{font-weight:600;color:#333;margin-top:25px;font-size:16px;white-space:normal;text-align:center;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden;line-height:26px;height:48px}.list___L1hmU .wrap___pKgcW .top___udHSB .img___AMLhL{width:60px;height:60px;border-radius:30px;margin-top:14px}.list___L1hmU .wrap___pKgcW .top___udHSB .text___KiTb7{font-size:14px;color:#333;margin-top:8px;width:98%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ{display:flex;align-items:center;margin-top:12px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ div{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #d6f7ef;font-size:14px;color:#01795d;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ aside{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #ffe9c1;font-size:14px;color:#a45204;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .bottom____k2sh{height:50px;border-top:1px solid #f5f5f5;display:flex;align-items:center;padding:0 12px}.list___L1hmU .wrap___pKgcW .bottom____k2sh>div{margin-left:auto}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span{display:flex;align-items:center;margin-right:12px;color:#999}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span i{font-size:14px;font-size:12px;color:#999;margin-right:6px}.flex_box_center___d27mZ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___qfRU9{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___fCRld{align-items:center;box-align:center}.flex_box_center_end___ORMV8{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___PNKtZ{flex-direction:column;box-orient:block-axis}.tabs___alpa7{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dbdce0;height:54px}.tabs___alpa7 .tabsWrap___aCQjw{display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4{display:flex;align-items:center;margin-right:40px;height:100%;cursor:pointer}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4>div{position:relative;font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v{font-weight:500;color:#202124}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v:after{position:absolute;content:"";width:100%;z-index:4;left:0;bottom:0;height:3px;background:#202124;border-radius:100px 100px 0 0}.flex_box_center___e6HxQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___RnXYe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___lVxPk{align-items:center;box-align:center}.flex_box_center_end___bu8yv{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___JczGj{flex-direction:column;box-orient:block-axis}.orderWrap___ZfyGX{display:box;display:flex;align-items:center}.orderIconWrap___XTB_O{display:box;display:flex;flex-direction:column;height:40px;line-height:40px;color:#999}.orderAsc___KWHmA{flex-direction:column;text-align:center;height:10px;line-height:10px;display:inline-block;margin-top:9px;transform:translateY(2px)}.orderDesc___rHdbB{flex-direction:column;text-align:center;height:10px;line-height:10px;display:table}.active___a7eSP{color:#232b40!important}.cursorPointer___gs9kL{cursor:pointer;color:#d8d8d8;height:10px}.orderTextWrap___teAKn{font-size:14px;color:#3b3e47;cursor:pointer;margin-right:5px}.flex_box_center___LCi0B{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___hzONe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZyQRE{align-items:center;box-align:center}.flex_box_center_end___XKM74{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___p8LCU{flex-direction:column;box-orient:block-axis}.btn___In02G.mediacy-round___uveEv{height:36px;border-radius:36px}.btn___In02G.mediacy-default___dDxsd{height:36px;border-radius:4px}.btn___In02G .default___K791v{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G:hover{color:#165dff;border:1px solid #165dff}button[class~=ant-btn-default]:disabled.btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none;opacity:50%;cursor:not-allowed}.flex_box_center___TB7bQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___oBlTb{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___b5XbB{align-items:center;box-align:center}.flex_box_center_end___CNhe7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___yHXKW{flex-direction:column;box-orient:block-axis}.head___ghH72{height:54px;border-bottom:1px solid #DBDCE0;display:flex;align-items:center}.head___ghH72>span{color:#999;font-size:12px;cursor:pointer;flex-shrink:0}.head___ghH72>b{font-weight:500;color:#232b40;margin-left:30px;font-size:14px;flex:1 1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.head___ghH72 .node___mjPEy{margin-left:auto;flex-shrink:0}.flex_box_center___AlHuF{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vN2LW{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Ac7D2{align-items:center;box-align:center}.flex_box_center_end___y38I7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___iQE6P{flex-direction:column;box-orient:block-axis}.btns___sNgTb{display:flex;align-items:center}.btns___sNgTb .confirm___Ozirl{height:38px;background:#3061d0;border-radius:2px;color:#fff;padding:0 34px}.btns___sNgTb .cancel___aiq1I{height:38px;background:#f8f9fc;border-radius:2px;opacity:.5;border:1px solid #C3CFE0;font-size:14px;color:#464f66;margin-left:20px}.flex_box_center___jkpdr{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___OtsL8{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___rbcb_{align-items:center;box-align:center}.flex_box_center_end___zBR21{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___nS_eP{flex-direction:column;box-orient:block-axis}.fixedBottom___oJl7m{width:100%;height:70px;background:#fff;box-shadow:0 -3px 16px #dbdbdb80;position:fixed;z-index:1000;bottom:0;left:0}.fixedBottom___oJl7m .wrap___A3Oq1{width:1200px;height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between}.fixedBottom___oJl7m .wrap___A3Oq1 .center____VL1y{flex:1 1}.flex_box_center___tY8Yn{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vHdYA{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___pa61F{align-items:center;box-align:center}.flex_box_center_end___HyDXt{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___UjZek{flex-direction:column;box-orient:block-axis}.crumbs___V41Oe{margin:15px auto 25px;width:1200px;cursor:default}.crumbs___V41Oe span{font-size:12px;color:#c5c5c5}.crumbs___V41Oe .hover___bEIVd{cursor:pointer}.crumbs___V41Oe .hover___bEIVd:hover{color:#5f6368}.wrap___LZOi9{padding:20px 30px 0;border-bottom:1px solid #EDEDED}.line___oju0L{width:100%;margin-top:20px;margin-bottom:20px;height:1px;background-color:#ededed}.flex_box_center___swvFl{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___AqPFV{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___XWInJ{align-items:center;box-align:center}.flex_box_center_end___GB61t{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___dJnz1{flex-direction:column;box-orient:block-axis}.analysis___xyV_c .title___DQ3VK{display:flex;align-items:center;margin-bottom:20px}.analysis___xyV_c .title___DQ3VK b{width:6px;height:14px;background:#3061d0;border-radius:1px;display:inline-block;margin-right:8px}.analysis___xyV_c .title___DQ3VK span{font-size:16px;font-weight:500;color:#191919;line-height:16px}.analysis___xyV_c .itemWrap___vFE5r{display:flex;justify-content:space-between}.analysis___xyV_c .itemWrap___vFE5r .item___NjeOt{width:23%;height:145px;border-radius:4px;border:1px solid #EDEDED}.list___BbMrm{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___BbMrm .wrap___UQTTb{width:100px;height:254px;background:#fff;box-shadow:0 4px 8px #c1cad480;border-radius:12px}.list___BbMrm .wrap___UQTTb .img___tNvUo{height:184px;position:relative;overflow:hidden;border-radius:12px 12px 0 0}.list___BbMrm .wrap___UQTTb .img___tNvUo img{width:100%}.list___BbMrm .wrap___UQTTb .img___tNvUo .tips___Eu4wH{padding-left:16px;padding-top:10px;height:57px;color:#fff;width:100%;position:absolute;z-index:10;bottom:0;left:0;background:linear-gradient(180deg,#0000,#000000a8)}.list___BbMrm .wrap___UQTTb .footer___ZbR9W{height:70px;padding:15px}.list___BbMrm .wrap___UQTTb .footer___ZbR9W ul{display:flex;align-items:center;padding:0}.list___BbMrm .wrap___UQTTb .footer___ZbR9W ul li{width:50%;color:#7d7d7d}.list___BbMrm .wrap___UQTTb .footer___ZbR9W ul li i{margin-right:5px;font-size:14px}.noData___mLlw0 .title___DQ3VK{display:flex;align-items:center;margin-bottom:20px}.noData___mLlw0 .title___DQ3VK b{width:6px;height:14px;background:#3061d0;border-radius:1px;display:inline-block;margin-right:8px}.noData___mLlw0 .title___DQ3VK span{font-size:16px;font-weight:500;color:#191919;line-height:16px}.archiveTip___ZP0rt{font-family:PingFangSC,PingFang SC;font-weight:400;font-size:14px;color:#000;text-align:left;font-style:normal} diff --git a/p__Classrooms__Lists__ShixunHomeworks__Comment__index.aa984e6f.async.js b/p__Classrooms__Lists__ShixunHomeworks__Comment__index.aa984e6f.async.js new file mode 100644 index 0000000000..526968754b --- /dev/null +++ b/p__Classrooms__Lists__ShixunHomeworks__Comment__index.aa984e6f.async.js @@ -0,0 +1,1353 @@ +!(function(){var k1=Object.defineProperty,M1=Object.defineProperties;var U1=Object.getOwnPropertyDescriptors;var Qm=Object.getOwnPropertySymbols;var Lv=Object.prototype.hasOwnProperty,Dv=Object.prototype.propertyIsEnumerable;var S0=(Xn,Mt,ae)=>Mt in Xn?k1(Xn,Mt,{enumerable:!0,configurable:!0,writable:!0,value:ae}):Xn[Mt]=ae,wf=(Xn,Mt)=>{for(var ae in Mt||(Mt={}))Lv.call(Mt,ae)&&S0(Xn,ae,Mt[ae]);if(Qm)for(var ae of Qm(Mt))Dv.call(Mt,ae)&&S0(Xn,ae,Mt[ae]);return Xn},F0=(Xn,Mt)=>M1(Xn,U1(Mt));var Nv=(Xn,Mt)=>{var ae={};for(var x in Xn)Lv.call(Xn,x)&&Mt.indexOf(x)<0&&(ae[x]=Xn[x]);if(Xn!=null&&Qm)for(var x of Qm(Xn))Mt.indexOf(x)<0&&Dv.call(Xn,x)&&(ae[x]=Xn[x]);return ae};var Nl=(Xn,Mt,ae)=>S0(Xn,typeof Mt!="symbol"?Mt+"":Mt,ae);(self.webpackChunk=self.webpackChunk||[]).push([[342],{27812:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},89489:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},59477:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},40001:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},26227:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},49198:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},87169:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},73331:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},15277:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},52671:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},8657:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},56082:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},33853:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},15075:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},43531:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},61485:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},47472:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},95869:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},87395:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},72660:function(){"use strict"},49689:function(){"use strict"},53385:function(Xn,Mt){"use strict";Mt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},94685:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Xn={},Mt="5.0",ae={},x=null,dt=!1,Le=!1,qe=null,He=!1,Fe=null,Me=null,fe=0;fe4?parseFloat(nt):5};Xn.setHTML5Codebase=function(nt,Pt){Me=nt,At(nt,Pt)},Xn.setJavaCodebase=Xn.setJavaCodebaseVersion=Xn.isCompiledInstalled=Xn.setPreCompiledScriptPath=Xn.setPreCompiledResourcePath=function(){},Xn.setHTML5CodebaseVersion=function(nt,Pt){var Rt=parseFloat(nt);if(Rt!==NaN&&Rt<5){console.log("The GeoGebra HTML5 codebase version "+Rt+" is deprecated. Using version latest instead.");return}Fe=nt,ke(nt,Pt)},Xn.getHTML5CodebaseVersion=function(){return Se},Xn.getParameters=function(){return ae},Xn.setFontsCSSURL=function(nt){Ke=nt},Xn.setGiacJSURL=function(nt){},Xn.setJNLPFile=function(nt){oe=nt},Xn.setJNLPBaseDir=function(nt){},Xn.inject=function(){function nt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Pt="auto",Rt=ae.id,hn,Tt=!1,mn=0;mn=5)return!0;var nt=Xn.getAppletObject();return nt&&typeof nt.recalculateEnvironments=="function"?(nt.recalculateEnvironments(),!0):!1},Xn.startAnimation=function(){var nt=Xn.getAppletObject();return nt&&typeof nt.startAnimation=="function"?(nt.startAnimation(),!0):!1},Xn.stopAnimation=function(){var nt=Xn.getAppletObject();return nt&&typeof nt.stopAnimation=="function"?(nt.stopAnimation(),!0):!1},Xn.getAppletObject=function(){var nt=ae.id!==void 0?ae.id:"ggbApplet";return window[nt]},Xn.resize=function(){};var Ct=function(nt,Pt,Rt){var hn=document.createElement("param");hn.setAttribute("name",Pt),hn.setAttribute("value",Rt),nt.appendChild(hn)},ze=function(nt){return nt&&nt!=="false"},pt=function(nt,Pt,Rt){_e(Se)<=4.2&&(Rt=!0);var hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Se||ggbHTML5LoadedCodebaseIsWebSimple&&!ve)&&(hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Tt=document.createElement("div");Tt.classList.add("appletParameters","notranslate");var mn=Pt.width,kt=Pt.height;if(Pt.disableAutoScale=Pt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Pt.disableAutoScale,Pt.width!==void 0)if(_e(Se)<=4.4)ze(Pt.showToolBar)&&(Pt.height-=7),ze(Pt.showAlgebraInput)&&(Pt.height-=37),Pt.width<605&&ze(Pt.showToolBar)&&(Pt.width=605,mn=605);else{var Fn=100;(ze(Pt.showToolBar)||ze(Pt.showMenuBar))&&(Pt.hasOwnProperty("customToolBar")&&(Pt.customToolbar=Pt.customToolBar),Fn=ze(Pt.showMenuBar)?245:155),mn=5?(Pt.appletOnLoad=function(Dt){var Qt=nt.querySelector(".ggb_preview");Qt&&Qt.parentNode.removeChild(Qt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ge),window.GGBT_wsf_view&&$(window).trigger("resize"),de(Dt)},ie||ge.appendChild(ee)):Tt.appendChild(ee),ge.appendChild(Tt),ie||nt.appendChild(ge),setTimeout(function(){Xn.resize()},1)}else{var se=document.createElement("div");se.className="applet_scaler",se.style.position="relative",se.style.display="block",se.appendChild(Tt),nt.appendChild(se),Pt.appletOnLoad=function(Dt){Xn.resize(),de(Dt)}}function le(Dt,Qt){Qt&&typeof Qt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Dt,Qt.appletOnLoad):renderGGBElement(Dt),Kt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Qt)}function Be(Dt,Qt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Dt,params:Qt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(xt){le(xt.article,xt.params)}),html5AppletsToProcess=null)},_e(Se)<5&&(Dt.className+=" geogebraweb")):le(Dt,Qt)}if(hn){scriptLoadStarted=!0;for(var Ge=0;Ge0?(an.remove(),ge.attr("id","fullscreencontent").show(),jQuery(de).append(ge),window.dispatchEvent(new Event("resize"))):pt(an,Pt,!1),window.GGBT_wsf_view.launchFullScreen(de)}else Re=hn,pt(nt,Pt,!1);if(!window.GGBT_wsf_view)for(kt=0;ktnt/4*3&&(an=nt/4*3),de=an/5.8,Fn.setAttribute("src",Ee),Fn.setAttribute("width",an),Fn.setAttribute("height",de);var ge=(nt-an)/2,ie=(Pt-de)/2;Fn.style.left=ge+"px",Fn.style.top=ie+"px",Tt.appendChild(Fn)}}return Tt.appendChild(kt),Tt},Bt=function(nt){return nt=nt.toLowerCase(),nt==="html5"||nt==="screenshot"?nt:"html5"},We=["web","webSimple","web3d","tablet","tablet3d","phone"],ke=function(nt,Pt){if(Se=nt,Pt){At(Se,!0);return}var Rt=!dt;if(Rt){var hn=_e(Se);!isNaN(hn)&&hn<4.4&&(Rt=!1)}var Tt,mn;window.location.protocol.substr(0,4)==="http"?Tt=window.location.protocol:Tt="http:";var kt=Se.indexOf("//");kt>0?mn=Se:kt===0?mn=Tt+Se:mn="https://www.geogebra.org/apps/5.2.814.0/";for(var Fn in We)if(Se.slice(We[Fn].length*-1)===We[Fn]||Se.slice((We[Fn].length+1)*-1)===We[Fn]+"/"){At(mn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Rt&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!ze(ae.showToolBar)&&!ze(ae.showMenuBar)&&!ze(ae.showAlgebraInput)&&!ze(ae.enableRightClick)&&(!ae.appName||ae.appName=="classic")?mn+="webSimple/":mn+="web3d/",At(mn,!1)},At=function(nt,Pt){if(nt.requirejs){Pe=nt;return}nt.slice(-1)!=="/"&&(nt+="/"),Pe=nt,Pt===null&&(Pt=nt.indexOf("http")===-1),ye=Pt,Ie="web.nocache.js",ve=!1;var Rt=Pe.split("/");Rt.length>1&&(!Pt&&Rt[Rt.length-2]==="webSimple"?(Ie="webSimple.nocache.js",ve=!0):We.indexOf(Rt[Rt.length-2])>=0&&(Ie=Rt[Rt.length-2]+".nocache.js")),Rt=nt.split("/"),Se=Rt[Rt.length-3],Se.substr(0,4)==="test"?Se=Se.substr(4,1)+"."+Se.substr(5,1):(Se.substr(0,3)==="war"||Se.substr(0,4)==="beta")&&(Se="5.0");var hn=parseFloat(Se);hn!==NaN&&hn<5&&nt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+hn+" is deprecated. Using version latest instead."),ke("5.0",Pt))},Kt=function(nt,Pt){window.console&&window.console.log&&(!Pt||typeof Pt.showLogging=="undefined"||Pt.showLogging&&Pt.showLogging!=="false")&&console.log(nt)};ae.material_id!==void 0?st(Ht):Ht();function Ht(){var nt=Mt;Fe!==null?nt=Fe:parseFloat(nt)<5&&(nt="5.0"),ke(nt,!1),Me!==null&&At(Me,ye),He=!0}return Xn},GGBAppletUtils=function(){"use strict";function Xn(){return window.GGBT_wsf_edit!==void 0}function Mt(He,Fe){Fe!=1?(He.style.transformOrigin="0% 0% 0px",He.style.webkitTransformOrigin="0% 0% 0px",He.style.transform="scale("+Fe+","+Fe+")",He.style.webkitTransform="scale("+Fe+","+Fe+")",He.style.maxWidth="initial",He.querySelector(".ggb_preview")!==null&&(He.querySelector(".ggb_preview").style.maxWidth="initial"),He.querySelectorAll(".ggb_preview img")[0]!==void 0&&(He.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),He.querySelectorAll(".ggb_preview img")[1]!==void 0&&(He.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(He.style.transform="none",He.style.webkitTransform="none")}function ae(He,Fe,Me,fe,xe,oe){var Pe=null;if(oe!=null&&oe!="")for(var ye=He.parentNode;ye!=null;)if((" "+ye.className+" ").indexOf(" "+oe+" ")>-1){Pe=ye;break}else ye=ye.parentNode;var Re=0,Se=0,Ie=0,ve=0,we=0,Ee=0,Oe=0;if(Pe)Re=Pe.offsetWidth,Se=Math.max(fe?Pe.offsetWidth:0,Pe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Re=Math.min(window.innerWidth,document.documentElement.clientWidth),Se=Math.min(window.innerHeight,document.documentElement.clientHeight),Ie=Re):(Re=window.innerWidth,Se=window.innerHeight,Ie=window.innerWidth),He){var Ke=He.getBoundingClientRect();Ke.left>0&&Ke.left<=Re&&(xe===void 0||!xe)&&(document.dir==="rtl"?(we=Re-Ke.width-Ke.left,Ee=Ie<=480?10:30):(Ee=Ke.left,we=Ie<=480?10:30),ve=Ee+we)}if(He&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var je=He.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ve=40,Oe=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ve=0,Oe=40)}}return He&&((Me===void 0||!Me)&&Fe>0&&Fe+ve1&&(oe=!0)),Fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(oe=!0),!(He.hasOwnProperty("disableAutoScale")&&He.disableAutoScale))xe=x(He,Fe,oe,Me,He.scaleContainerClass);else return fe;return oe&&(!He.hasOwnProperty("scale")||fe===1)?xe:Math.min(fe,xe)}function Le(He){var Fe=Math.min(window.innerWidth,document.documentElement.clientWidth),Me=Math.min(window.innerHeight,document.documentElement.clientHeight),fe=He.getBoundingClientRect(),xe=(Fe-fe.width)/2,oe=(Me-fe.height)/2;oe<0&&(oe=0),He.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(xe<40?He.style.left="40px":He.style.left=xe+"px",He.style.top=oe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(oe<40?He.style.top="40px":He.style.top=oe+"px",He.style.left=xe+"px")}function qe(He,Fe){var Me=He.querySelector(".appletParameters");if(Me){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Fe.id!==Me.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(He)}if(Me.parentElement&&/fullscreen/.test(Me.parentElement.className))return;var fe=dt(Fe,He);Xn()&&Me.setAttribute("data-param-scale",fe);for(var xe=null,oe=0;oe=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Xn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Xn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Xn){var Mt=c[Xn];return Mt==null?null:Mt},r=d,webModule.__errFn=e}function B(){function Xn(He){var Fe=He.lastIndexOf(rb);Fe==-1&&(Fe=He.length);var Me=He.indexOf(sb);Me==-1&&(Me=He.length);var fe=He.lastIndexOf(tb,Math.min(Me,Fe));return fe>=O?He.substring(O,fe+P):W}function Mt(He){if(!He.match(/^\w+:\/\//)){var Fe=o.createElement(ub);Fe.src=He+vb,He=Xn(Fe.src)}return He}function ae(){var He=__gwt_getMetaProperty(wb);return He!=null?He:W}function x(){for(var He=o.getElementsByTagName(_),Fe=O;FeO?He[He.length-P].href:W}function Le(){var He=o.location;return He.href==He.protocol+zb+He.host+He.pathname+He.search+He.hash}var qe=ae();return qe==W&&(qe=x()),qe==W&&(qe=dt()),qe==W&&Le()&&(qe=Xn(o.location.href)),qe=Mt(qe),qe}function C(Xn){return Xn.match(/^\//)||Xn.match(/^[a-zA-Z]+:\/\//)?Xn:webModule.__moduleBase+Xn}function D(){var Xn=[],Mt=O,ae=[],x=[];function dt(He){var Fe=x[He](),Me=ae[He];if(Fe in Me)return Fe;var fe=[];for(var xe in Me)fe[Me[xe]]=xe;throw r&&r(He,fe,Fe),null}if(__gwt_isKnownPropertyValue=function(He,Fe){return Fe in ae[He]},webModule.__getPropMap=function(){var He={};for(var Fe in ae)ae.hasOwnProperty(Fe)&&(He[Fe]=dt(Fe));return He},webModule.__computePropValue=dt,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Le;try{Le=Cb;var qe=Le.indexOf(Db);qe!=-1&&(Mt=parseInt(Le.substring(qe+P),$),Le=Le.substring(O,qe))}catch(He){}return webModule.__softPermutationId=Mt,C(Le+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},75656:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Ax:function(){return qe},Ds:function(){return He},KI:function(){return Me},SI:function(){return Le},f1:function(){return dt}});var x=ae(88018);function dt(fe){let xe=!0;if(fe.length>0){for(let oe=0;oeve in Ie?Le(Ie,ve,{enumerable:!0,configurable:!0,writable:!0,value:we}):Ie[ve]=we,oe=(Ie,ve)=>{for(var we in ve||(ve={}))Me.call(ve,we)&&xe(Ie,we,ve[we]);if(Fe)for(var we of Fe(ve))fe.call(ve,we)&&xe(Ie,we,ve[we]);return Ie},Pe=(Ie,ve)=>qe(Ie,He(ve)),ye=(Ie,ve)=>{var we={};for(var Ee in Ie)Me.call(Ie,Ee)&&ve.indexOf(Ee)<0&&(we[Ee]=Ie[Ee]);if(Ie!=null&&Fe)for(var Ee of Fe(Ie))ve.indexOf(Ee)<0&&fe.call(Ie,Ee)&&(we[Ee]=Ie[Ee]);return we},Re=(Ie,ve,we)=>new Promise((Ee,Oe)=>{var Ke=Je=>{try{_e(we.next(Je))}catch(Ve){Oe(Ve)}},je=Je=>{try{_e(we.throw(Je))}catch(Ve){Oe(Ve)}},_e=Je=>Je.done?Ee(Je.value):Promise.resolve(Je.value).then(Ke,je);_e((we=we.apply(Ie,ve)).next())});const Se=Ie=>{var ve=Ie,{children:we}=ve,Ee=ye(ve,["children"]);const[Oe,Ke]=(0,dt.useState)(!1);return dt.createElement(x.ZP,Pe(oe({},Ee),{loading:Oe,onClick:je=>Re(void 0,null,function*(){try{Ke(!0),yield Ee.onClick(je),Ke(!1)}catch(_e){console.error(_e),Ke(!1)}})}),we)}},79875:function(Xn,Mt,ae){"use strict";ae.d(Mt,{ij:function(){return Oe},_s:function(){return Ee},Uf:function(){return we},ZP:function(){return je}});var x=ae(59301),dt={flex_box_center:"flex_box_center___swvFl",flex_space_between:"flex_space_between___AqPFV",flex_box_vertical_center:"flex_box_vertical_center___XWInJ",flex_box_center_end:"flex_box_center_end___GB61t",flex_box_column:"flex_box_column___dJnz1",analysis:"analysis___xyV_c",title:"title___DQ3VK",itemWrap:"itemWrap___vFE5r",item:"item___NjeOt",list:"list___BbMrm",wrap:"wrap___UQTTb",img:"img___tNvUo",tips:"tips___Eu4wH",footer:"footer___ZbR9W",noData:"noData___mLlw0"},Le=ae(92310),qe=ae.n(Le),He=ae(42441),Fe=ae(25399),Me=ae(458),fe=ae(29787),xe=ae(53052),oe=ae(88018),Pe=Object.defineProperty,ye=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Ie=(_e,Je,Ve)=>Je in _e?Pe(_e,Je,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):_e[Je]=Ve,ve=(_e,Je)=>{for(var Ve in Je||(Je={}))Re.call(Je,Ve)&&Ie(_e,Ve,Je[Ve]);if(ye)for(var Ve of ye(Je))Se.call(Je,Ve)&&Ie(_e,Ve,Je[Ve]);return _e};const we=(_e={})=>{var Je,Ve,st,at;let ht=(Je=_e==null?void 0:_e.emotion)==null?void 0:Je.map(Ne=>ve({value:Ne==null?void 0:Ne.rate},Ne)),Ct=(Ve=_e==null?void 0:_e.focus)==null?void 0:Ve.map(Ne=>ve({value:Ne==null?void 0:Ne.rate},Ne)),ze=(st=_e==null?void 0:_e.action)==null?void 0:st.map(Ne=>ve({value:Ne==null?void 0:Ne.rate},Ne)),pt=(at=_e==null?void 0:_e.intention)==null?void 0:at.map(Ne=>ve({value:Ne==null?void 0:Ne.rate},Ne));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:ht||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:Ct||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:ze||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:pt||[]}]},Ee=({className:_e,dataSource:Je=[],col:Ve=4,right:st,bottom:at=23,precision:ht=0,wrapWidth:Ct=1200})=>{const ze=(Ne="",Qe,Ot="--")=>Ne?(Ne==null?void 0:Ne.length)>Qe?(Ne==null?void 0:Ne.slice(0,Qe-1))+"...":Ne:Ot,pt=Math.floor((Ct-(Ve-1)*st)/Ve);return x.createElement("div",{className:qe()(dt.list,_e)},!!(Je!=null&&Je.length)&&(Je==null?void 0:Je.map((Ne,Qe)=>{const{cover_pic:Ot,created_at:ot,emotion:lt,action:Bt,intention:We,focus:ke}=Ne;return x.createElement("div",{key:Qe,className:dt.wrap,style:{width:pt,marginRight:(1+Qe)%Ve===0?0:st+ht,marginBottom:at}},x.createElement("div",{className:dt.img},x.createElement("img",{src:`${oe.Z.API_SERVER}${Ot}`}),x.createElement("div",{className:dt.tips},x.createElement("div",null,x.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),x.createElement("span",null,ot))),x.createElement("div",{className:dt.footer},x.createElement("ul",null,x.createElement("li",null,x.createElement("i",{className:"iconfont icon-biaoqing"}),x.createElement("span",null,"\u8868\u60C5\uFF1A",x.createElement(Fe.Z,{title:lt},x.createElement("span",{className:"c-grey-333"},ze(lt,4))))),x.createElement("li",null,x.createElement("i",{className:"iconfont icon-hangwei"}),x.createElement("span",null,"\u884C\u4E3A\uFF1A",x.createElement(Fe.Z,{title:Bt},x.createElement("span",{className:"c-grey-333"},ze(Bt,4)))))),x.createElement("ul",null,x.createElement("li",null,x.createElement("i",{className:"iconfont icon-yitu"}),x.createElement("span",null,"\u610F\u56FE\uFF1A",x.createElement(Fe.Z,{title:We},x.createElement("span",{className:"c-grey-333"},ze(We,4))))),x.createElement("li",null,x.createElement("i",{className:"iconfont icon-zhuangtai"}),x.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",x.createElement(Fe.Z,{title:ke},x.createElement("span",{className:"c-grey-333"},ze(ke,3))))))))})))},Oe=({className:_e,style:Je,title:Ve,hideBar:st=!1,children:at,customText:ht="",noDataText:Ct="",emptyData:ze=[],loading:pt,actionAnalysis:Ne})=>{var Qe,Ot;const ot=((Qe=ze==null?void 0:ze[0])==null?void 0:Qe.every(Bt=>{var We;return!((We=Bt==null?void 0:Bt.data)!=null&&We.length)}))&&!((Ot=ze==null?void 0:ze[1])!=null&&Ot.length)||!Ne,lt=Ne?Ct:ht;return x.createElement(Me.Z,{loading:pt,active:!0},ot&&x.createElement("div",{className:qe()(dt.noData,_e),style:Je},!!Ve&&x.createElement("div",{className:dt.title},!st&&x.createElement("b",null),x.createElement("span",null,Ve)),x.createElement("div",{className:dt.itemWrap},x.createElement(xe.Z,{customText:lt}))),!ot&&at)};var je=({className:_e,style:Je,data:Ve=[],title:st,hideBar:at=!1,loading:ht=!1})=>x.createElement("div",{className:qe()(dt.analysis,_e),style:Je},!!st&&x.createElement("div",{className:dt.title},!at&&x.createElement("b",null),x.createElement("span",null,st)),x.createElement(fe.Z,{spinning:ht},x.createElement("div",{className:dt.itemWrap},Ve==null?void 0:Ve.map((Ct,ze)=>x.createElement("div",{className:dt.item,key:ze},x.createElement(He.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:Ct==null?void 0:Ct.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(pt){for(let Ne in Ct==null?void 0:Ct.data)if(pt==(Ct==null?void 0:Ct.data[Ne].name))return pt+" "+(Ct==null?void 0:Ct.data[Ne].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:Ct==null?void 0:Ct.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:Ct==null?void 0:Ct.data}]},style:{height:145}}))))))},48610:function(Xn,Mt,ae){"use strict";var x=ae(86204),dt=ae.n(x),Le=Object.defineProperty,qe=(fe,xe,oe)=>xe in fe?Le(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:oe}):fe[xe]=oe,He=(fe,xe,oe)=>qe(fe,typeof xe!="symbol"?xe+"":xe,oe),Fe=(fe,xe,oe)=>new Promise((Pe,ye)=>{var Re=ve=>{try{Ie(oe.next(ve))}catch(we){ye(we)}},Se=ve=>{try{Ie(oe.throw(ve))}catch(we){ye(we)}},Ie=ve=>ve.done?Pe(ve.value):Promise.resolve(ve.value).then(Re,Se);Ie((oe=oe.apply(fe,xe)).next())});class Me extends x.EventEmitter{constructor(xe,oe){super(),He(this,"url"),He(this,"body"),He(this,"fullContent",""),He(this,"controller",null),He(this,"buffer",""),this.url=xe,this.body=oe}startStream(){return Fe(this,null,function*(){this.controller=new AbortController;const{signal:xe}=this.controller;try{const oe=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:xe});if(!oe.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${oe.status}`);const Pe=oe.headers.get("content-type");if(!Pe)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Pe.includes("application/json")){const Se=yield oe.json();this.emit("error",Se);return}if(!Pe.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const ye=oe.body.getReader(),Re=new TextDecoder("utf-8");for(;;){const{done:Se,value:Ie}=yield ye.read();if(Se)break;const ve=Re.decode(Ie,{stream:!0});this.buffer+=ve;const we=this.buffer.split(` +`);this.buffer=we.pop()||"";for(const Ee of we)if(Ee.startsWith("data:")){const Oe=Ee.slice(5).trim();if(Oe==="[DONE]")break;try{const Ke=JSON.parse(Oe);Ke.data&&this.handleData(Ke.data)}catch(Ke){this.buffer=Ee+` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",Ke)}}}this.emit("done",this.fullContent)}catch(oe){oe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",oe.message)}})}handleData(xe){xe.content&&(this.fullContent+=xe.content,this.emit("data",{chunk:xe,full:this.fullContent}))}cancelRequest(){var xe;(xe=this.controller)==null||xe.abort()}}Mt.Z=Me},48826:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ie}});var x=ae(59301),dt={flex_box_center:"flex_box_center___A3pzf",flex_space_between:"flex_space_between___JBoa5",flex_box_vertical_center:"flex_box_vertical_center___MJuIO",flex_box_center_end:"flex_box_center_end___OcjUA",flex_box_column:"flex_box_column___zSH4A",list:"list___KhJas",middle:"middle___IjlYi",row:"row___GGtIx",title:"title___o_xqf",size:"size___OVRoL",download:"download___ZLcIH",preview:"preview___gi0kI",annotation:"annotation___KVSwj"},Le=ae(92310),qe=ae.n(Le),He=ae(57579),Fe=ae(57786),Me=ae(15936),fe=ae(88018),xe=ae(769),oe=ae(91587),Pe=ae(39074),ye=ae(6767),Re=(ve,we,Ee)=>new Promise((Oe,Ke)=>{var je=Ve=>{try{Je(Ee.next(Ve))}catch(st){Ke(st)}},_e=Ve=>{try{Je(Ee.throw(Ve))}catch(st){Ke(st)}},Je=Ve=>Ve.done?Oe(Ve.value):Promise.resolve(Ve.value).then(je,_e);Je((Ee=Ee.apply(ve,we)).next())});const Se=({className:ve,style:we,dataSource:Ee=[],authority:Oe=!1,callback:Ke,showDimensions:je=!0,classroomList:_e})=>{var Je;const[Ve,st]=(0,x.useState)({content:"",type:""}),[at,ht]=(0,x.useState)({}),[Ct,ze]=(0,x.useState)(!1),[pt,Ne]=(0,x.useState)({title:"",visible:!1,src:"",snapshotData:{}}),Qe=(0,x.useRef)(),Ot=We=>Re(void 0,null,function*(){if(ht(We),We.file_type==="txt"){const ke=yield(0,xe.ZP)(We.url,{method:"get",headers:{"Content-Type":"application/xml"}});Qe.current=ke}st({type:We.file_type,content:fe.Z.API_SERVER+We.url})}),ot=We=>{var ke;Ne({visible:!0,src:fe.Z.API_SERVER+We.url,id:We.id,title:We.title,snapshotData:(ke=We==null?void 0:We.subitem)==null?void 0:ke.settings})},lt=We=>Re(void 0,null,function*(){var ke;st({type:We.file_type,content:fe.Z.API_SERVER+((ke=We==null?void 0:We.subitem)==null?void 0:ke.url)})}),Bt=()=>{Ke(),Ne({visible:!1})};return Ee!=null&&Ee.length?x.createElement(x.Fragment,null,x.createElement("div",{className:qe()(dt.list,ve),style:we},Ee.map((We,ke)=>{var At,Kt,Ht;return x.createElement("div",{key:ke,className:dt.row},x.createElement("div",{className:dt.title,onClick:()=>Ot(We)},x.createElement("i",{className:"iconfont icon-fujian1"}),x.createElement("span",{title:We.title},We.title)),x.createElement("div",{className:dt.size},We.filesize),x.createElement("div",{className:dt.download,onClick:()=>{var nt,Pt;if((0,oe.Rm)()&&!((nt=_e.AssistantObject.normal)!=null&&nt.can_download)){ye.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,Me.Nd)("",`${fe.Z.API_SERVER}${(Pt=We.url)==null?void 0:Pt.replace("disposition=inline","")}`)}},x.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D"),!["other","download"].includes(We==null?void 0:We.file_type)&&x.createElement("div",{className:dt.preview,onClick:()=>Ot(We)},x.createElement("i",{className:"iconfont icon-yulan"}),"\u9884\u89C8"),["image"].includes(We==null?void 0:We.file_type)&&je&&(Oe?x.createElement("div",{className:dt.annotation,onClick:()=>ot(We)},x.createElement("i",{className:"iconfont icon-pizhu"}),(At=We.subitem)!=null&&At.id?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"):((Kt=We.subitem)==null?void 0:Kt.id)&&x.createElement("div",{className:dt.annotation,onClick:()=>lt(We)},x.createElement("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8")),["image"].includes(We==null?void 0:We.file_type)&&((Ht=We.subitem)==null?void 0:Ht.id)&&x.createElement("div",{className:dt.download,style:{marginLeft:20},onClick:()=>{var nt,Pt;(0,Me.Nd)("",`${fe.Z.API_SERVER}${(Pt=(nt=We==null?void 0:We.subitem)==null?void 0:nt.url)==null?void 0:Pt.replace("disposition=inline","")}`)}},x.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D\u6279\u6CE8\u6587\u4EF6"),["office"].includes(We==null?void 0:We.file_type)&&(0,oe.eB)()&&["xlsx","docx","pptx"].includes(We==null?void 0:We.file_sub)&&je&&x.createElement("div",{className:dt.annotation,onClick:()=>{ze(!0),Ot(We)}},x.createElement("i",{className:"iconfont icon-pizhu"}),We.is_edit?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"),We.is_edit&&(0,oe.dE)()&&je&&x.createElement("div",{className:dt.annotation,onClick:()=>{Ot(We)}},x.createElement("i",{className:"iconfont icon-sousuo7"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8"))})),x.createElement(He.Z,{close:!0,data:Ve==null?void 0:Ve.content,type:Ve==null?void 0:Ve.type,hasMask:!0,disabledDownload:(0,oe.Rm)()&&!((Je=_e.AssistantObject.normal)!=null&&Je.can_download),editOffice:Ct?"edit":"view",monacoEditor:{value:Qe.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:Oe&&je&&Ve.type==="image"?()=>ot(at):null,onClose:()=>{Ke(),ze(!1),st({content:"",type:""})}}),x.createElement(Fe.Z,{onOk:Bt,onClose:()=>Ne({visible:!1}),data:pt,showFullTools:!0})):null};var Ie=(0,Pe.connect)(({classroomList:ve})=>({classroomList:ve}))(Se)},57786:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Pe}});var x=ae(59301),dt={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Le=ae(92310),qe=ae.n(Le),He=ae(29787),Fe=ae(2859),Me=ae(769),fe=ae(15936),xe=(ye,Re,Se)=>new Promise((Ie,ve)=>{var we=Ke=>{try{Oe(Se.next(Ke))}catch(je){ve(je)}},Ee=Ke=>{try{Oe(Se.throw(Ke))}catch(je){ve(je)}},Oe=Ke=>Ke.done?Ie(Ke.value):Promise.resolve(Ke.value).then(we,Ee);Oe((Se=Se.apply(ye,Re)).next())}),Pe=({data:ye,className:Re,fullWidth:Se,style:Ie={},onClose:ve,onOk:we,showFullTools:Ee,noAssociationId:Oe})=>{const Ke=(0,x.useRef)(null),je=(0,x.useRef)(null),_e=(0,x.useRef)(null),Je=(0,x.useRef)(null),[Ve,st]=(0,x.useState)(!1),[at,ht]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>(_e.current||(_e.current=document.createElement("style"),document.head.appendChild(_e.current)),ye!=null&&ye.visible?(document.body.setAttribute("data-custom","y-hidden"),_e.current.innerHTML=" html { overflow-y: hidden; }",ye!=null&&ye.src&&Ct()):(document.body.removeAttribute("data-custom"),_e.current&&(document.head.removeChild(_e.current),_e.current=null)),()=>{document.body.removeAttribute("data-custom"),_e.current&&(document.head.removeChild(_e.current),_e.current=null)}),[ye==null?void 0:ye.visible]);const Ct=()=>xe(void 0,null,function*(){st(!0),ht("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Qe=yield(0,fe.ZJ)(ye==null?void 0:ye.src);Ke.current.src="",Ke.current.src=Qe,Ke.current.onload=function(){Ne()},st(!1),ht("")}),ze=Qe=>xe(void 0,null,function*(){st(!0),ht("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ot=yield(0,Me.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ye.title,file:Qe.dataUrl}});Ot!=null&&Ot.id&&!Oe?(yield(0,Me.ZP)(`/api/attachments/${ye.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ot==null?void 0:Ot.id,settings:JSON.stringify(Qe.state)}})).status===0&&we():Ot!=null&&Ot.id&&we(Ot),st(!1),ht("")}),pt=()=>{const Qe=document.querySelector('a[href="https://markerjs.com/"]');Qe&&Qe.parentNode&&(Qe.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(ot=>{const lt=document.querySelector(ot.name);lt&<.setAttribute("title",ot.title)})},Ne=()=>{je.current=new Fe.hP(Ke.current),je.current.targetRoot=Je.current,je.current.addEventListener("render",ze),je.current.addEventListener("beforeclose",ve),Ee&&(je.current.availableMarkerTypes=je.current.ALL_MARKER_TYPES,je.current.uiStyleSettings.redoButtonVisible=!0,je.current.uiStyleSettings.notesButtonVisible=!0,je.current.uiStyleSettings.zoomButtonVisible=!0,je.current.uiStyleSettings.zoomOutButtonVisible=!0,je.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=je.current.uiStyleSettings,je.current.show(),ye!=null&&ye.snapshotData&&je.current.restoreState(ye.snapshotData),setTimeout(()=>{window.scrollTo(0,0),pt()},300)};return x.createElement(x.Fragment,null,(ye==null?void 0:ye.visible)&&x.createElement(He.Z,{spinning:Ve,tip:at,style:{position:"absolute",width:"100vw"}},x.createElement("div",{ref:Je,className:qe()(dt.imageDimensions,Re,Se?dt.fullWidth:""),style:Ie},x.createElement("img",{className:dt.img,ref:Ke}))))}},53463:function(Xn,Mt,ae){"use strict";var x=ae(59301),dt=ae(77019),Le=ae(5269),qe=ae(31691),He=ae(7939),Fe=ae(89826),Me=ae(53385),fe=ae(48136),xe=ae(59301);const oe=(0,x.forwardRef)(({callback:Pe,showSaveButton:ye,value:Re=""},Se)=>{const Ie=(0,x.useRef)(),ve=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],we=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r + x=a + r\\text{cos}\\theta \\ \r + y=b + r\\text{sin}\\theta \r +\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r + \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r + \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r + x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r + x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r +\\end{array} `},{value:`\\begin{array}{l} \r + a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r + \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r + \\left\\{\\begin{matrix} \r + \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r + \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r + \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r +\\end{matrix}\\right. \r +\\end{array} `},{value:`\\begin{array}{l} \r + a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r + \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r + \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r + \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r + \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r + \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r +\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r + a \\perp \\alpha \\ \r + b \\perp \\alpha \r +\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r + \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r + a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r + a \\parallel \\partial ,b \\parallel \\partial \r +\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r + m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r + a \\perp m,a \\perp n \r +\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r + \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r + a^{2}+b^{2}=c^{2} \r +\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r + a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r + a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r +\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r + a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r + \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r +\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r +\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r + a,b \\in R^{+} \\ \r + \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r + \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r +\\end{array}`},{value:`\\begin{array}{c} \r + a,b \\in R \\ \r + \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r + \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r +\\end{array}`},{value:`\\begin{array}{c} \r + H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r +\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r + \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r + \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r +\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r + P \\left( \\emptyset \\right) =0 \\\\ \r + P \\left( S \\right) =1 \r +\\end{array}`},{value:`\\begin{array}{c} \r + \\forall A \\in S \\\\ \r + P \\left( A \\right) \\ge 0 \r +\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r + S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r + P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r +\\end{array}`},{value:`\\begin{array}{c} \r + P_{n}=n! \\\\ \r + A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r +\\end{array}`}]}]}],Ee=je=>{Ie.current.setValue(Ie.current.getValue()+" "+je.value+" ")},Oe=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:xe.createElement(dt.Z,{className:Me.Z.lists,gutter:[10,10]},ve.map((je,_e)=>xe.createElement(Le.Z,{flex:"110px",className:Me.Z.item},xe.createElement("div",null,xe.createElement(Fe.Z,{value:`$$${je.value}$$`}),je.name),xe.createElement("div",{className:Me.Z.children},je.children.map((Je,Ve)=>xe.createElement("div",{key:Ve},xe.createElement("h1",null,Je.name),xe.createElement(dt.Z,{gutter:[10,10]},Je.data.map((st,at)=>xe.createElement(Le.Z,{key:at,onClick:()=>Ee(st),className:Me.Z.diamond},xe.createElement(Fe.Z,{value:"`$$"+st.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:xe.createElement(dt.Z,{className:Me.Z.lists,gutter:[10,10]},we.map((je,_e)=>xe.createElement(Le.Z,{flex:"110px",className:Me.Z.item},xe.createElement("div",null,xe.createElement(Fe.Z,{value:"`$$"+je.value+"$$`"}),je.name),xe.createElement("div",{className:Me.Z.children},je.children.map((Je,Ve)=>xe.createElement("div",{key:Ve},Je.name&&xe.createElement("h1",null,Je.name),xe.createElement(dt.Z,{gutter:[10,10]},Je.data.map((st,at)=>xe.createElement(Le.Z,{key:at,onClick:()=>Ee(st),className:Me.Z.diamond},xe.createElement(Fe.Z,{value:"`$$"+st.value+"$$`"}))))))))))}],Ke=()=>{var je=document.createElement("div");je.innerHTML=Ie.current.getValue();var _e=je.innerText;return Pe&&Pe(_e),_e};return(0,x.useImperativeHandle)(Se,()=>({getData:Ke})),xe.createElement("div",{className:Me.Z.mathWrap},xe.createElement(qe.default,{defaultActiveKey:"1",items:Oe}),xe.createElement("math-field",{locale:"zh_cn",className:Me.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Ie,style:{width:800,marginTop:30,fontSize:18}},Re||""),ye&&xe.createElement("div",{className:Me.Z.button},xe.createElement(He.ZP,{size:"large",onClick:Ke,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Mt.Z=oe},53052:function(Xn,Mt,ae){"use strict";var x=ae(59301),dt=ae(4977),Le=ae(7939),qe=Object.defineProperty,He=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,oe=(Se,Ie,ve)=>Ie in Se?qe(Se,Ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Se[Ie]=ve,Pe=(Se,Ie)=>{for(var ve in Ie||(Ie={}))fe.call(Ie,ve)&&oe(Se,ve,Ie[ve]);if(Me)for(var ve of Me(Ie))xe.call(Ie,ve)&&oe(Se,ve,Ie[ve]);return Se},ye=(Se,Ie)=>He(Se,Fe(Ie));const Re=({img:Se,buttonProps:Ie={},styles:ve={},customText:we,ButtonText:Ee,ButtonClick:Oe,Buttonclass:Ke,ButtonTwo:je,imgStyles:_e,loading:Je=!1,className:Ve=""})=>x.createElement("section",{className:`tc animated fadeIn ${Ve}`,style:Pe({color:"#999",margin:"100px auto",visibility:Je?"hidden":"visible"},ve)},x.createElement("img",{src:Se||dt,style:ye(Pe({},_e),{pointerEvents:"none",userSelect:"none"})}),x.createElement("p",{className:"mt20 font14"},we||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Ee&&x.createElement(Le.ZP,Pe({className:Ke,onClick:Oe},Ie),Ee),je&&je);Mt.Z=Re},57579:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ke}});var x=ae(59301),dt={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},Le=ae(7939),qe=ae(70557),He=ae(13933),Fe=ae(25399),Me=ae(15936),fe=ae(17811),xe=ae(53052),oe=ae(88018),Pe=ae(81651),ye=ae(59301),Re=Object.defineProperty,Se=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,we=(je,_e,Je)=>_e in je?Re(je,_e,{enumerable:!0,configurable:!0,writable:!0,value:Je}):je[_e]=Je,Ee=(je,_e)=>{for(var Je in _e||(_e={}))Ie.call(_e,Je)&&we(je,Je,_e[Je]);if(Se)for(var Je of Se(_e))ve.call(_e,Je)&&we(je,Je,_e[Je]);return je},Oe=(je,_e,Je)=>new Promise((Ve,st)=>{var at=ze=>{try{Ct(Je.next(ze))}catch(pt){st(pt)}},ht=ze=>{try{Ct(Je.throw(ze))}catch(pt){st(pt)}},Ct=ze=>ze.done?Ve(ze.value):Promise.resolve(ze.value).then(at,ht);Ct((Je=Je.apply(je,_e)).next())}),Ke=({editOffice:je="view",data:_e,issaver:Je,onSaver:Ve,theme:st,type:at,filename:ht,monacoEditor:Ct,className:ze,style:pt,close:Ne,onClose:Qe,hasMask:Ot,disabledDownload:ot,onImgDimensions:lt,showNodata:Bt,recordInfo:We})=>{const[ke,At]=(0,x.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Kt,Ht]=(0,x.useState)(""),[nt,Pt]=(0,x.useState)(),Rt=window.ENV==="build"?"/react/build":"",hn=location.host.startsWith("localhost")?oe.Z.PROXY_SERVER:oe.Z.API_SERVER,mn=10*(1024*1024),kt=(0,x.useRef)();_e!=null&&_e.startsWith("/api")&&at!=="txt"&&(_e=oe.Z.API_SERVER+_e);const Fn=se=>se.substring(se.lastIndexOf("/")+1).split(".").pop();ht&&Ct&&(Ct.filename=ht),(0,x.useEffect)(()=>{var se,le;const Be=(le=(se=document.cookie)==null?void 0:se.replace(/\s/g,""))==null?void 0:le.split(";");Be==null||Be.map(Ge=>{let ut=Ge.split("=");ut[0]==="_educoder_session"&&Ht(ut[1])})},[]),(0,x.useEffect)(()=>{at==="office"&&(_e.indexOf("bigfilescdn.")>-1||_e.indexOf("bigfiles1")>-1?Pt({url:_e,fileType:Fn(_e),model:_e.indexOf("model=edit")?"edit":"view"}):_e.indexOf("coze")>-1?Pt({url:_e,fileType:"doc",model:"view"}):de())},[at,_e]);function an(se){return Oe(this,null,function*(){se.data.type==="pdfdata"&&(Ve(se.data.data),window.removeEventListener("message",an,!1)),console.log("mess---:",se.data)})}const de=()=>Oe(void 0,null,function*(){console.log("data:",_e);let se=_e;_e.startsWith("http")||(se=location.origin+se);let le=new URL(se).pathname.split("/").pop();const Be=yield(0,fe.gJ)({attachment_id:le});Be.url=hn+Be.url,Pt(Be)}),ge=()=>{if(_e.startsWith("http")||_e.startsWith("blob:")){ie();return}(0,Me.Sv)(ht||"educoder",_e,ht)},ie=()=>{We&&(0,Pe.fc)({id:We==null?void 0:We.id,watch_type:1,course_id:We==null?void 0:We.course_id}),(0,Me.Nd)(ht||"educoder",decodeURIComponent(_e))};(0,x.useEffect)(()=>(window.addEventListener("message",ee),()=>{window.removeEventListener("message",ee)}),[]);const ee=se=>{var le;((le=se==null?void 0:se.data)==null?void 0:le.type)==="closePop"&&Qe()};return ye.createElement("div",{style:Ee({},pt||{}),className:`${Ot&&dt.bgBlack} ${at?dt.wrp:"hide"}`},!!at&&Ne&&ye.createElement("div",{id:"closePop",className:dt.close,ref:kt},!!lt&&ye.createElement(Fe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>kt.current},ye.createElement("span",{onClick:()=>{Qe(),lt()}},ye.createElement("i",{className:"icon-yulanpizhu"}))),!ot&&window.parent===window&&ye.createElement(Fe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>kt.current},ye.createElement("span",{onClick:ie},ye.createElement("i",{className:"icon-quxiaozhiding"}))),Je&&ye.createElement(Fe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>kt.current},ye.createElement("span",{className:"",onClick:()=>{const se=document.getElementById("pdfiframe");window.addEventListener("message",an,!1),setTimeout(()=>{se.contentWindow.postMessage("getData","*")},300)}},ye.createElement("i",{className:"icon-baocun"}))),ye.createElement(Fe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>kt.current},ye.createElement("span",{className:"",onClick:()=>{Qe()}},ye.createElement("i",{className:"icon-guanbi1"})))),ye.createElement("div",{className:`${dt[ze]} ${ze} ${dt.monaco} ${at==="txt"?"show":"hide"}`},at==="txt"&&ye.createElement(ye.Fragment,null,ye.createElement(He.ZP,Ee({},Ct)))),at==="audio"&&ye.createElement("audio",{controls:!0,src:`${(_e==null?void 0:_e.indexOf("http://"))>-1||(_e==null?void 0:_e.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${_e}`,autoPlay:!0}),at==="video"&&ye.createElement(ye.Fragment,null,(_e==null?void 0:_e.indexOf("http"))>-1?ye.createElement("video",{controls:!0,src:`${_e}`,autoPlay:!0}):ye.createElement("video",{controls:!0,src:`data:video/mp4;base64,${_e}`,autoPlay:!0})),at==="office"&&nt&&ye.createElement("iframe",{src:`${Rt}/office.html?key=${nt.key}&url=${btoa(nt.url)}&callbackUrl=${hn+(nt.callbackUrl||"")}&fileType=${nt.fileType}&title=${nt.title||""}&model=${je}&officeServer=${oe.Z.ONLYOFFICE}&disabledDownload=${!!ot}`}),at==="html"&&ye.createElement("iframe",{src:_e+"&disposition=inline"}),at==="pdf"&&ye.createElement("iframe",{id:"pdfiframe",src:`${Rt}/js/pdf/index.html?filename=${ht||"educoder.pdf"}&url=${encodeURIComponent(_e)}&disabledDownload=${!!ot}&model=${je}`}),at==="image"&&ye.createElement("img",{src:`${(_e==null?void 0:_e.indexOf("http://"))>-1||(_e==null?void 0:_e.indexOf("https://"))>-1?"":"data:image/png;base64,"}${_e}`}),(at==="other"||at==="download")&&ye.createElement(ye.Fragment,null,Bt?ye.createElement(xe.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:ye.createElement(Le.ZP,{icon:ye.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ge,disabled:ot},"\u4E0B\u8F7D")}):ye.createElement(Le.ZP,{type:"primary",size:"middle",onClick:ge,disabled:ot},ye.createElement(qe.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),at==="flowChart"&&ye.createElement("div",{className:"embed"},ye.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${_e||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},89826:function(Xn,Mt,ae){"use strict";ae.d(Mt,{z:function(){return Ct},Z:function(){return ze}});var x=ae(59301),dt=ae(35272),Le=ae(11390),qe=ae(64018),He=ae(16471),Fe=ae(88018),Me=ae(15936),fe=ae(15342),xe=ae(44104),oe=ae(7939),Pe=ae(1012),ye=ae(57579),Re=ae(59301),Ie=({html:pt})=>{const Ne=(0,x.useRef)(null),Qe=(0,x.useRef)(null),Ot=`.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,x.useEffect)(()=>{const ot=Ne.current.attachShadow({mode:"open"});Qe.current=document.createElement("div"),Qe.current.className="markdown-body",Qe.current.innerHTML=pt,ot.appendChild(Qe.current);const lt=document.createElement("style");return lt.textContent=Ot,ot.appendChild(lt),()=>{ot.innerHTML=""}},[]),(0,x.useEffect)(()=>{Qe.current&&(Qe.current.innerHTML=pt)},[pt]),Re.createElement("div",{ref:Ne})};function ve(pt){const Ne=["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"],Qe=new RegExp(`\\b(${Ne.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),Ot=/]*>/gi;return pt.replace(Qe,"").replace(Ot,"").trim()}var we={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Ee=Object.defineProperty,Oe=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,_e=(pt,Ne,Qe)=>Ne in pt?Ee(pt,Ne,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):pt[Ne]=Qe,Je=(pt,Ne)=>{for(var Qe in Ne||(Ne={}))Ke.call(Ne,Qe)&&_e(pt,Qe,Ne[Qe]);if(Oe)for(var Qe of Oe(Ne))je.call(Ne,Qe)&&_e(pt,Qe,Ne[Qe]);return pt};const Ve="@\u2581\u2581@",st="@\u2581@",at=/]*>/g;function ht(pt){let Ne=document.createElement("div");return Ne.innerHTML=pt,Ne.childNodes.length===0?"":Ne.childNodes[0].nodeValue}const Ct=(pt,Ne)=>{pt=pt||"";const Qe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ot=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ot=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,lt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Ne?pt.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Qe,(Bt,We,ke,At,Kt,Ht,nt)=>{const Pt=We||At||Ht,Rt=ke||Kt||nt||"?";return Fe.Z.API_SERVER+"/api/attachments/"+Pt+Rt+"&t="+(0,Me.Jn)(Pt,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(pt=pt.replace(lt,(Bt,We,ke,At,Kt,Ht,nt)=>{const Pt=We||At||Ht,Rt=ke||Kt||nt||"?";return Fe.Z.API_SERVER+"/attachments/download/"+Pt+Rt+"&t="+(0,Me.Jn)(Pt,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replace(Qe,(Bt,We,ke,At,Kt,Ht,nt)=>{const Pt=We||At||Ht,Rt=ke||Kt||nt||"?";return Fe.Z.API_SERVER+"/api/attachments/"+Pt+Rt+"&t="+(0,Me.Jn)(Pt,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replace(Ot,(Bt,We,ke,At,Kt)=>{const Ht=We||At,nt=ke||Kt||"";return'"'+Fe.Z.API_SERVER+"/api/attachments/"+Ht+nt+Ht+nt+"&t="+(0,Me.Jn)(Ht,Date.now())}).replace(ot,(Bt,We,ke,At,Kt)=>{const Ht=We||At,nt=ke||Kt||"";return"("+Fe.Z.API_SERVER+"/files/uploads/"+Ht+nt+Ht+nt+"&t="+(0,Me.Jn)(Ht,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,` +`),pt)};var ze=({value:pt="",edit:Ne=!1,className:Qe,showTextOnly:Ot,showLines:ot,style:lt={},stylesPrev:Bt={},highlightKeywords:We,showProgramFill:ke,isProgramFill:At,disabledFill:Kt=!1,programFillValue:Ht,openEditor:nt=()=>{},onFillChange:Pt=Tt=>{},onFillBlur:Rt=()=>{},onFillFocus:hn=()=>{}})=>{let Tt=ve(String(pt||""));const mn=(0,x.useRef)(),kt=(0,x.useRef)(),[Fn,an]=(0,x.useState)(""),[de,ge]=(0,x.useState)("office"),[ie,ee]=(0,x.useState)([]),se=(0,x.useRef)("a"+(0,Pe.Z)()),le={},Be=nn=>//i.test(nn||""),Ge=(nn,zn,Ln)=>{const _t=document.createElement(nn===st?"input":"textarea");_t.style.width="100%",_t.style.height=nn===st?"40px":"151px",_t.rows=5,_t.spellcheck=!1,_t.name="edu-program-fill",_t.placeholder="\u8BF7\u8F93\u5165",_t.dataset.id=zn;const un=Object.keys(le).length;return le[un]=_t,`${_t.outerHTML}`};function ut(nn){return nn=nn.replace(/!\[.*?\]\(.*?\)/g,""),nn=nn.replace(/\[.*?\]\(.*?\)/g,""),nn=nn.replace(new RegExp("","gs"),""),nn=nn.replace(//g,""),nn=nn.replace(//g,""),nn=nn.replace(new RegExp(".*?<\\/video>","gs"),""),nn=nn.replace(new RegExp(".*?<\\/audio>","gs"),""),nn=nn.replace(new RegExp(".*?<\\/style>","gs"),""),nn=nn.replace(new RegExp(".*?<\\/script>","gs"),""),nn}const mt=nn=>!Ot&&Be(Tt)?nn:nn.replace(/([\s\S]+?)<\/style>/gim,function(zn,Ln){let _t=Ln.replace(/(\n|\r)/g,"").split("}"),un=[];return _t.map(Pn=>{Pn!=""&&un.push(`.${se.current} ${Pn}`)}),``}),vt=(0,x.useMemo)(()=>{(0,Le.Iy)();try{const _t=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,un=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Pn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Vn=/\(\/attachments\/download\//g;Tt=Tt.replace(Vn,"("+Fe.Z.API_SERVER+"/attachments/download/").replace(_t,"("+Fe.Z.API_SERVER+"/api/attachments/").replace(un,'"'+Fe.Z.API_SERVER+"/api/attachments/").replace(Pn,'"'+Fe.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,` +`),mn.current.style.display="none"}catch(_t){}if(ke){let _t=-1;return Tt=Tt.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(un,Pn,Vn){var Lt;return++_t,Ge(un,_t,(Lt=Ht==null?void 0:Ht[_t])==null?void 0:Lt.value.replaceAll("<","<").replaceAll(">",">"))}),`
${mt(Tt||"")}
`}let nn=mt(Tt);nn=(0,Le.ZP)(nn);const zn=(0,Le.ez)();Tt.match(/\[TOC\]/)&&(nn=nn.replace("

[TOC]

",(0,Le.Qv)()),(0,Le.Iy)()),nn=nn.replace(/(__special_katext_id_\d+__)/g,(_t,un)=>{const{type:Pn,expression:Vn}=zn[un];return(0,fe.renderToString)(ht(Vn)||"",{displayMode:Pn==="block",throwOnError:!1,output:"html"})}),nn=nn.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,Le.AL)();const Ln=document.createElement("div");if(Ln.innerHTML=nn,Ot)return Ln.innerText;if(We){const _t=We.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return xt(Ln,_t),Ln.innerHTML}return setTimeout(()=>Wt(),500),Ln.innerHTML},[Tt,We]);(0,x.useEffect)(()=>{ct.current&&ct.current.querySelectorAll(["input","textarea"]).forEach(zn=>{zn.oninput=St,zn.onblur=Dt,zn.onfocus=Qt})},[ie]),(0,x.useEffect)(()=>{var nn,zn,Ln,_t,un;if(Ht!=null&&Ht.length)try{const Pn=ct.current.querySelectorAll(".edu-program-fill-score"),Vn=ct.current.querySelectorAll('[name="edu-program-fill"]');for(const[Lt,Gt]of Vn.entries())Gt.value=((nn=Ht==null?void 0:Ht[Lt])==null?void 0:nn.value)||"",((zn=Ht==null?void 0:Ht[Lt])==null?void 0:zn.type)==="warning"?Gt.className="program-fill-warning":((Ln=Ht==null?void 0:Ht[Lt])==null?void 0:Ln.type)==="success"?Gt.className="program-fill-success":Gt.className="";for(const[Lt,Gt]of Pn.entries())Gt.innerHTML=(_t=Ht==null?void 0:Ht[Lt])!=null&&_t.score?`${(un=Ht==null?void 0:Ht[Lt])==null?void 0:un.score}\u5206`:"";ee(Ht)}catch(Pn){console.log(Pn,"error")}},[Ht]);const St=nn=>{ie[nn.target.dataset.id]=ie[nn.target.dataset.id]||{},ie[nn.target.dataset.id].value=nn.target.value,ee([...ie]),Pt(ie,nn.target.dataset.id)},Dt=nn=>{ie[nn.target.dataset.id]=ie[nn.target.dataset.id]||{},ie[nn.target.dataset.id].value=nn.target.value,ee([...ie]),Rt(ie,nn.target.dataset.id)},Qt=nn=>{ie[nn.target.dataset.id]=ie[nn.target.dataset.id]||{},ie[nn.target.dataset.id].value=nn.target.value,ee([...ie]),hn(ie,nn.target.dataset.id)};function xt(nn,zn){return nn.childNodes.forEach(Ln=>{var _t;if(Ln.childNodes.length>0)xt(Ln,zn);else if(Ln.nodeName!=="IMG")if(Ln.innerHTML)Ln.innerHTML=(_t=Ln.innerHTML)==null?void 0:_t.replace(new RegExp(zn,"gi"),'$&');else{const un=document.createElement("span");un.innerHTML=Ln.textContent.replace(new RegExp(zn,"gi"),'$&'),Ln.replaceWith(un)}})}const ct=(0,x.useRef)();Le.jb.WebkitLineClamp=ot,ot&&(lt=Je(Je({},lt),Le.jb));function Xt(nn){let zn=nn.target;if(zn.tagName.toUpperCase()==="A"){let Ln=zn.getAttribute("href");if(Ln.indexOf("office")>-1)nn.preventDefault(),an(Ln),ge("office");else if(Ln.indexOf("application/pdf")>-1)nn.preventDefault(),an(Ln),ge("pdf");else if(Ln.indexOf("text/html")>-1)nn.preventDefault(),an(Ln),ge("html");else if(Ln.startsWith("#")){nn.preventDefault();let _t=document.getElementById(Ln.replace("#",""));_t&&_t.scrollIntoView(!0)}}}const Wt=()=>{var nn;const zn=(nn=ct.current)==null?void 0:nn.querySelectorAll("video");zn==null||zn.forEach(Ln=>{if(Ln.oncontextmenu=()=>!1,Ln.src.indexOf(".m3u8")>-1&&!Ln.canPlayType("application/vnd.apple.mpegurl")){if(He.ZP.isSupported()){var _t=new He.ZP;_t.loadSource(Ln.src),_t.attachMedia(Ln)}}})};(0,x.useEffect)(()=>{if(ct.current&&vt&&vt.match(at)&&window.PR.prettyPrint(),ct.current)return ct.current.addEventListener("click",Xt),()=>{var nn;(nn=ct.current)==null||nn.removeEventListener("click",Xt),(0,Le.AL)(),(0,Le.Iy)()}},[vt,ct.current,Xt]);const wn=nn=>{nn.target.nodeName==="IMG"&&nn.target.className.indexOf("draw-flowchart")>-1?(mn.current.style.zIndex=1,mn.current.style.display="flex",mn.current.style.width=nn.target.clientWidth+"px",mn.current.style.height=nn.target.clientHeight+"px",mn.current.style.top=nn.target.offsetTop+"px",mn.current.style.left=nn.target.offsetLeft+"px",nn.target.id&&(kt.current=nn.target.id)):mn.current.style.display="none"},ln=()=>{mn.current.style.display="none"};return(0,x.useEffect)(()=>{var nn;const zn=Ln=>{Ln.preventDefault(),Ln.clipboardData.setData("text",window.getSelection().toString())};return(nn=ct.current)==null||nn.addEventListener("copy",zn),()=>{var Ln;(Ln=ct.current)==null||Ln.removeEventListener("copy",zn)}},[ct.current]),x.createElement("div",{style:{position:"relative"},onMouseLeave:ln},Ot&&x.createElement("div",{ref:ct,className:`${we.mdBody} `},vt),!Ot&&!Be(vt)&&x.createElement("div",{ref:ct,style:Je({},lt),onMouseOver:wn,className:`${Qe||""} ${Kt?"disabled-fill":""} markdown-body ${we.mdBody} ${se.current}`,dangerouslySetInnerHTML:{__html:vt}}),!Ot&&Be(vt)&&x.createElement(Ie,{html:vt}),x.createElement("div",{ref:mn,className:`${we.button} ${Ne?"":we.previewFlowChart}`},x.createElement(xe.Z,null,x.createElement(oe.ZP,{onClick:()=>{Ne?nt(kt.current):(an(kt.current),ge("flowChart"))}},Ne?"\u7F16\u8F91":"\u9884\u89C8"))),x.createElement(ye.Z,{close:!0,data:Fn,type:Fn!=null&&Fn.length?de:"",style:Je({},Bt),onClose:()=>an("")}))}},49877:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return ve}});var x=ae(39074),dt=ae(62957),Le=ae(7939),qe=ae(769),He={archiveTip:"archiveTip___k77Pl"},Fe=ae(50180),Me=ae(59301),fe=Object.defineProperty,xe=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,ye=(we,Ee,Oe)=>Ee in we?fe(we,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):we[Ee]=Oe,Re=(we,Ee)=>{for(var Oe in Ee||(Ee={}))oe.call(Ee,Oe)&&ye(we,Oe,Ee[Oe]);if(xe)for(var Oe of xe(Ee))Pe.call(Ee,Oe)&&ye(we,Oe,Ee[Oe]);return we},Se=(we,Ee,Oe)=>new Promise((Ke,je)=>{var _e=st=>{try{Ve(Oe.next(st))}catch(at){je(at)}},Je=st=>{try{Ve(Oe.throw(st))}catch(at){je(at)}},Ve=st=>st.done?Ke(st.value):Promise.resolve(st.value).then(_e,Je);Ve((Oe=Oe.apply(we,Ee)).next())});const Ie=({globalSetting:we,loading:Ee,dispatch:Oe,user:Ke,shixunHomeworks:je})=>{var _e;return Me.createElement(dt.default,{centered:!0,open:je.actionTabs.key=="\u91CD\u7F6E\u4ED3\u5E93\u63D0\u793A",title:"\u63D0\u793A",width:550,onCancel:()=>{je.actionTabs.goToBack(),Oe({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},footer:Me.createElement("div",null,Me.createElement(Le.ZP,{onClick:()=>{var Je;((Je=je.actionTabs.params)==null?void 0:Je.type)=="\u9000\u51FA\u5B9E\u8BAD"&&je.actionTabs.goToBack(),Oe({type:"shixunHomeworks/setActionTabs",payload:{key:""}})}},((_e=je.actionTabs.params)==null?void 0:_e.type)=="\u9000\u51FA\u5B9E\u8BAD"?"\u9000\u51FA\u5B9E\u8BAD":"\u6211\u77E5\u9053\u4E86"),Me.createElement(Fe.Z,{type:"primary",onClick:()=>Se(void 0,null,function*(){let Je={};const Ve=yield(0,qe.ZP)(`/api/myshixuns/${je.actionTabs.params.roleInfo}/reset_repository.json`,{method:"post",body:Re({},Je)});(Ve==null?void 0:Ve.status)==0&&(Oe({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),je.actionTabs.goToDetail())})},"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"))},Me.createElement("div",null,Me.createElement("div",{className:He.archiveTip},"\u4F60\u6B63\u5728\u8BBF\u95EE\u7684\u5B9E\u8BAD\u4EE3\u7801\u4ED3\u5E93\u5DF2\u7ECF\u957F\u671F\u672A\u4F7F\u7528\uFF08\u8D85\u8FC7 1 \u5E74\uFF09\uFF0C"),Me.createElement("div",{className:He.archiveTip},"\u5E73\u53F0\u5DF2\u6309\u89C4\u5219\u5BF9\u8FD9\u7C7B\u5386\u53F2\u6570\u636E\u8FDB\u884C\u6E05\u7406\u3002"),Me.createElement("div",{className:He.archiveTip,style:{marginTop:"30px"}},"\u4F46\u4E0D\u5F71\u54CD\u4F60\u7EE7\u7EED\u4F7F\u7528\uFF0C\u53EF\u70B9\u51FB\u4E0B\u65B9\u6309\u94AE\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93\u5E76\u8FDB\u5165\u5B9E\u8BAD\u3002")))};var ve=(0,x.connect)(({loading:we,globalSetting:Ee,shixunHomeworks:Oe,user:Ke})=>({globalSetting:Ee,loading:we.effects,shixunHomeworks:Oe,user:Ke}))(Ie)},76361:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return pt}});var x=ae(59301),dt=ae(39074),Le=ae(62957),qe=ae(28284),He=ae(6767),Fe=ae(29787),Me=ae(18287),fe=ae(77019),xe=ae(5269),oe=ae(25399),Pe=ae(37568),ye={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},Re=ae(64379),Se=ae(59219),Ie=ae(53052),ve=ae(59581),we=Object.defineProperty,Ee=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Je=(Ne,Qe,Ot)=>Qe in Ne?we(Ne,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):Ne[Qe]=Ot,Ve=(Ne,Qe)=>{for(var Ot in Qe||(Qe={}))je.call(Qe,Ot)&&Je(Ne,Ot,Qe[Ot]);if(Ke)for(var Ot of Ke(Qe))_e.call(Qe,Ot)&&Je(Ne,Ot,Qe[Ot]);return Ne},st=(Ne,Qe)=>Ee(Ne,Oe(Qe)),at=(Ne,Qe)=>{var Ot={};for(var ot in Ne)je.call(Ne,ot)&&Qe.indexOf(ot)<0&&(Ot[ot]=Ne[ot]);if(Ne!=null&&Ke)for(var ot of Ke(Ne))Qe.indexOf(ot)<0&&_e.call(Ne,ot)&&(Ot[ot]=Ne[ot]);return Ot},ht=(Ne,Qe,Ot)=>new Promise((ot,lt)=>{var Bt=At=>{try{ke(Ot.next(At))}catch(Kt){lt(Kt)}},We=At=>{try{ke(Ot.throw(At))}catch(Kt){lt(Kt)}},ke=At=>At.done?ot(At.value):Promise.resolve(At.value).then(Bt,We);ke((Ot=Ot.apply(Ne,Qe)).next())});const Ct=(Ne=[])=>Ne==null?void 0:Ne.map(Qe=>st(Ve({},Qe),{title:(Qe==null?void 0:Qe.value)||"",key:Qe==null?void 0:Qe.id,isLeaf:!0})),ze=Ne=>{var Qe=Ne,{user:Ot,children:ot,isShowComponent:lt=!0,ModalProps:Bt={},onDataSelect:We}=Qe,ke=at(Qe,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[At,Kt]=Le.default.useModal(),[Ht]=qe.default.useForm(),[nt,Pt]=(0,x.useState)([]),[Rt,hn]=(0,x.useState)(!1),[Tt,mn]=(0,x.useState)(!1),[,kt,Fn,an]=(0,Re.U)(Se.qE,{page:1,limit:9999}),[,,de]=(0,Re.U)(Se.V8,{}),[,,ge]=(0,Re.U)(Se.B$,{}),[,,ie]=(0,Re.U)(Se.DH,{}),[,,ee]=(0,Re.U)(Se.bJ,{}),se=()=>{hn(!1),Ht.resetFields(),mn(!1)},le=Ge=>ht(void 0,null,function*(){const{node:ut,dragNode:mt,event:vt}=Ge,St=Ge.node.pos.split("-"),Dt=Ge.dropPosition-Number(St[St.length-1]);if(Dt==0){He.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(Dt==1&&(mt==null?void 0:mt.item_index)==(ut==null?void 0:ut.item_index)+1){He.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Qt=yield ee({id:mt==null?void 0:mt.key,position:Dt==-1?1:(mt==null?void 0:mt.item_index)>(ut==null?void 0:ut.item_index)?(ut==null?void 0:ut.item_index)+1:ut==null?void 0:ut.item_index});(Qt==null?void 0:Qt.status)===0&&(He.ZP.success("\u79FB\u52A8\u6210\u529F"),Fn({},!0))}),Be=Ge=>ht(void 0,null,function*(){let ut={};Tt?ut=yield ge(Ve({},Ge)):ut=yield ie(Ve({},Ge)),(ut==null?void 0:ut.status)==0&&(He.ZP.success((ut==null?void 0:ut.message)||(Tt?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Fn({},!0),se())});return(0,x.useEffect)(()=>{Bt!=null&&Bt.open&&Fn({},!0)},[Bt==null?void 0:Bt.open]),(0,x.useEffect)(()=>{var Ge;Pt(Ct((Ge=an==null?void 0:an.data)==null?void 0:Ge.list))},[an]),lt?x.createElement(x.Fragment,null,Kt,ot,x.createElement(Le.default,Ve({},Ve({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},Bt)),x.createElement(Fe.Z,{spinning:kt},(nt==null?void 0:nt.length)>0?x.createElement(x.Fragment,null,x.createElement(Me.default.DirectoryTree,{height:500,className:ye.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:We,treeData:nt,onDrop:le,titleRender:Ge=>x.createElement(x.Fragment,null,x.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},Ge==null?void 0:Ge.title),x.createElement("div",{className:`${ye.EditDom}`},x.createElement(fe.Z,{wrap:!1,align:"middle",gutter:16},x.createElement(xe.Z,null,x.createElement(oe.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},x.createElement("i",{className:`iconfont icon-tuodong1 font12 ${ye.currentPrimary}`}))),x.createElement(xe.Z,null,x.createElement(oe.Z,{title:"\u7F16\u8F91"},x.createElement("i",{className:`iconfont icon-bianji11 font12 ${ye.currentPrimary}`,onClick:ut=>{ut.stopPropagation(),Ht.setFieldsValue(Ve({},Ge)),hn(!0)}}))),x.createElement(xe.Z,null,x.createElement(oe.Z,{title:"\u5220\u9664"},x.createElement("i",{className:`iconfont icon-shanchu14 font12 ${ye.currentDelete}`,onClick:ut=>{ut.stopPropagation(),At.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>ht(void 0,null,function*(){const mt=yield de({id:Ge==null?void 0:Ge.key});(mt==null?void 0:mt.status)==0&&(He.ZP.success((mt==null?void 0:mt.message)||"\u5220\u9664\u6210\u529F"),Fn({},!0))})})}}))))))}),x.createElement(ve.op,{className:"ml20 mt20",icon:x.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{mn(!0),hn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):x.createElement(Ie.Z,{styles:{margin:"30px auto"},customText:x.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",x.createElement("a",{onClick:()=>{mn(!0),hn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),x.createElement(Le.default,{title:Tt?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:Rt,okText:Tt?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{se()},onOk:()=>{Ht.submit()}},x.createElement(qe.default,{form:Ht,onFinish:Be},Tt&&x.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),x.createElement(qe.default.Item,{hidden:!0,name:"id"}),x.createElement(qe.default.Item,{className:"mt10",name:"value"},x.createElement(Pe.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var pt=(0,dt.connect)(({loading:Ne,user:Qe})=>({user:Qe,loading:Ne.effects}))(ze)},10965:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return qe}});var x=ae(59301),dt=ae(84397),Le=ae(75786),qe=()=>{const[He,Fe]=(0,x.useState)(""),[Me,fe]=(0,x.useState)(0);let[xe,oe]=(0,x.useState)(),[Pe,ye]=(0,x.useState)();const[Re,Se]=(0,x.useState)(!1),Ie=(0,x.useRef)("");(0,x.useEffect)(()=>dt.Z.subscribe("preview-image",at=>{Fe(at),console.log(Je.current)}),[]),(0,x.useEffect)(()=>(document.addEventListener("keydown",ve),()=>{document.removeEventListener("keydown",ve)}),[]),(0,x.useEffect)(()=>{Ie.current=He},[He]);function ve(st){console.log("e====",st),st.keyCode==27&&Ie.current&&we()}function we(){document.body.style.overflow="auto",oe(void 0),ye(void 0),fe(0),Fe("")}function Ee(){fe(Me+90)}function Oe(){xe=Je.current.width*1.1,Pe=Je.current.height*1.1,ye(Pe),oe(xe)}function Ke(){xe=Je.current.width/1.1,Pe=Je.current.height/1.1,ye(Pe),oe(xe)}const je=(0,x.useRef)(),_e=(0,x.useRef)(),Je=(0,x.useRef)(),Ve=st=>{(st.nativeEvent.target===je.current||st.nativeEvent.target===_e.current)&&we()};return x.createElement(x.Fragment,null,He?x.createElement("div",null,x.createElement("div",{className:"preview-wrp-group",ref:_e},x.createElement(Le.Z,{className:"image-preview",src:He,style:{display:"none"},preview:{visible:!0,src:He,onVisibleChange:st=>{Fe("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},51692:function(Xn,Mt,ae){"use strict";ae.d(Mt,{h:function(){return je}});var x=ae(59301),dt=ae(82326),Le=ae(28284),qe=ae(7939),He=ae(89780),Fe=ae.n(He),Me=ae(72660),fe=ae(49689),xe=Object.defineProperty,oe=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Ie=(_e,Je,Ve)=>Je in _e?xe(_e,Je,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):_e[Je]=Ve,ve=(_e,Je)=>{for(var Ve in Je||(Je={}))Re.call(Je,Ve)&&Ie(_e,Ve,Je[Ve]);if(ye)for(var Ve of ye(Je))Se.call(Je,Ve)&&Ie(_e,Ve,Je[Ve]);return _e},we=(_e,Je)=>oe(_e,Pe(Je));const Ee=dt.default.Option,Oe={labelCol:{span:4},wrapperCol:{span:20}},Ke={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Mt.Z=({callback:_e,onCancel:Je})=>{const[Ve,st]=(0,x.useState)("python");function at(Ct){st(Ke[Ct][1])}function ht(Ct){_e(Ct)}return x.createElement(Le.default,we(ve({},Oe),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ht,style:{width:500}}),x.createElement(Le.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(dt.default,{getPopupContainer:Ct=>Ct.parentNode,onChange:at},Object.keys(Ke).map(Ct=>x.createElement(Ee,{key:Ct,value:Ct},Ke[Ct][0])))),x.createElement(Le.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},x.createElement(je,{mode:Ve})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(qe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(qe.ZP,{type:"ghost",onClick:Je},"\u53D6\u6D88")))};function je({value:_e,onChange:Je,mode:Ve,options:st={}}){const at=(0,x.useRef)(),[ht,Ct]=(0,x.useState)();return(0,x.useEffect)(()=>{if(ht){let ze=function(pt){const Ne=pt.getValue();Je&&Je(Ne)};return ht.on("change",ze),()=>{ht.off("change",ze)}}},[ht,Je]),(0,x.useEffect)(()=>{ht&&ht.setOption("mode",Ve)},[ht,Ve]),(0,x.useEffect)(()=>{ht&&(_e!==ht.getValue()||_e==="")&&setTimeout(()=>{ht.setValue(_e||"")},300)},[ht,_e]),(0,x.useEffect)(()=>{if(at.current&&!ht){const ze=Fe().fromTextArea(at.current,ve({mode:Ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},st));Ct(ze)}},[at.current,ht]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:at}))}},67436:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return rr}});var x=ae(59301),dt=ae(39074),Le=ae(89780),qe=ae.n(Le),He=ae(76374),Fe=ae(72660),Me=ae(6313),fe=ae(25717),xe=ae(99498),oe=ae(25419),Pe=ae(67549),ye=ae(89826),Re=({value:Zn="",className:br,showTextOnly:Br,showLines:Or,style:ci={}})=>{const Ai=(0,x.useMemo)(()=>"",[Zn]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:Ai}}))},Se=Object.defineProperty,Ie=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Ke=(Zn,br,Br)=>br in Zn?Se(Zn,br,{enumerable:!0,configurable:!0,writable:!0,value:Br}):Zn[br]=Br,je=(Zn,br)=>{for(var Br in br||(br={}))Ee.call(br,Br)&&Ke(Zn,Br,br[Br]);if(we)for(var Br of we(br))Oe.call(br,Br)&&Ke(Zn,Br,br[Br]);return Zn},_e=(Zn,br)=>Ie(Zn,ve(br));let Je=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Ve({onActionCallback:Zn,title:br,icon:Br,actionName:Or,className:ci="",children:Ai}){function di(){Zn(Or)}return x.createElement("a",{title:br,className:ci,onClick:di},x.createElement("i",{className:`${Br}`}),Ai)}var st=({watch:Zn,showNullButton:br,showNullProgramButton:Br,onActionCallback:Or,fullScreen:ci,insertTemp:Ai,hidetoolBar:di,extraUse:Pi})=>{const yi=[...Je,{title:`${Zn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Zn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return x.createElement("ul",{className:"markdown-toolbar-container"},!di&&yi.map((oo,Gi)=>x.createElement("li",{key:Gi},oo.actionName?x.createElement(Ve,_e(je({},oo),{onActionCallback:Or})):x.createElement("span",{className:"v-line"}))),br?x.createElement("li",null,x.createElement(Ve,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Or},x.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Br?x.createElement(x.Fragment,null,x.createElement("li",null,x.createElement(Ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Or},x.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),x.createElement("li",null,x.createElement(Ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Or},x.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Ai&&x.createElement("li",null,x.createElement(Ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Ai}`,onActionCallback:Or},x.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Pi&&x.createElement("li",null,Pi),x.createElement("li",{className:"btn-full-screen"},x.createElement(Ve,{icon:`${ci?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:ci?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Or})))},at=ae(8368),ht=ae(28284),Ct=ae(37568),ze=ae(7939),pt=Object.defineProperty,Ne=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,Ot=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,Bt=(Zn,br,Br)=>br in Zn?pt(Zn,br,{enumerable:!0,configurable:!0,writable:!0,value:Br}):Zn[br]=Br,We=(Zn,br)=>{for(var Br in br||(br={}))ot.call(br,Br)&&Bt(Zn,Br,br[Br]);if(Ot)for(var Br of Ot(br))lt.call(br,Br)&&Bt(Zn,Br,br[Br]);return Zn},ke=(Zn,br)=>Ne(Zn,Qe(br));const At={labelCol:{span:4},wrapperCol:{span:20}};var Kt=({callback:Zn,onCancel:br})=>{function Br(Or){Zn(Or)}return x.createElement(ht.default,ke(We({},At),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Br,style:{width:500}}),x.createElement(ht.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(Ct.default,null)),x.createElement(ht.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(Ct.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(ze.ZP,{type:"ghost",onClick:br},"\u53D6\u6D88")))},Ht=ae(51692),nt=ae(32533),Pt=ae(62957),Rt=ae(77019),hn=ae(57786),Tt=ae(59301),mn=({callback:Zn,onCancel:br})=>{const Br=document.createElement("canvas"),Or=Br.getContext("2d");Br.width=1e3,Br.height=800,Or.fillStyle="#ffffff",Or.fillRect(0,0,Br.width,Br.height);const ci=Br.toDataURL("image/png");return Tt.createElement(Pt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Tt.createElement(Rt.Z,{style:{height:"100vh"}},Tt.createElement(hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:ci,visible:!0,title:String(Date.now())},onOk:Ai=>{Zn({src:Ai.url})},onClose:br})))},kt=ae(36207),Fn=ae(5269),an=ae(6767),de={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ge=ae(59301),ee=(0,x.forwardRef)(({onCancel:Zn,editImgId:br,callback:Br},Or)=>{let ci=(0,x.useRef)(),Ai=(0,x.useRef)(),di=(0,x.useRef)(),Pi=(0,x.useRef)(!1);const yi=(0,x.useRef)(!1);console.log("ref:",Or);const[oo,Gi]=(0,x.useState)(0),[ar,Dr]=(0,x.useState)("100vh");return(0,x.useEffect)(()=>{Gi(1)},[]),(0,x.useImperativeHandle)(Or,()=>({setHeight:Dr})),ge.createElement("div",{ref:yi,className:"body-overflow-initial"},ge.createElement(kt.Z,{width:"100vw",height:ar,footer:null,closable:!0,placement:"bottom",open:!!oo,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${de.drawerWrap}`,onClose:()=>{window.saveDrawData(gi=>{Br({src:`/api/attachments/${gi}`,id:gi})})},title:ge.createElement(Rt.Z,{align:"middle"},ge.createElement(Fn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ge.createElement(Fn.Z,{onClick:()=>{Dr(ar==="60px"?"100vh":"60px")}},ge.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ge.createElement(Fn.Z,{onClick:()=>{window.saveDrawData(gi=>{if(gi===null){an.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}an.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Br({src:`/api/attachments/${gi}`,id:gi,disabledClose:!0})})}},ge.createElement(ze.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ge.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${br||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Ai})))}),se=ae(88018),le=ae(47889),Be=ae(4875);const Ge=le.ZP.Group,ut={margin:"0 8px"};var mt=({callback:Zn,onCancel:br})=>{function Br(Or){Zn(Or)}return x.createElement(ht.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Br},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:ut},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:ut},"\u884C\u6570"),x.createElement(ht.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(Be.Z,null)),x.createElement("span",{style:ut},"\u5217\u6570"),x.createElement(ht.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(Be.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:ut},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(ht.default.Item,{name:"align"},x.createElement(Ge,null,x.createElement(le.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(le.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(le.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(le.ZP,{value:"right"},x.createElement("i",{className:"fa fa-align-right"}))))),x.createElement("div",{className:"flex-container flex-end"},x.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(ze.ZP,{type:"ghost",onClick:br},"\u53D6\u6D88")))},vt=ae(58755),St=ae(94685),Dt=ae.n(St),xt=(0,x.forwardRef)(({use3d:Zn,width:br,height:Br,callback:Or,showSaveButton:ci},Ai)=>{const di=(0,x.useRef)(),Pi=(0,x.useRef)(),[yi,oo]=(0,x.useState)(!1),Gi=(0,x.useRef)({id:di,appName:"graphing",width:br||1e3,height:Br||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,x.useEffect)(()=>{Pi.current=new(Dt())(Gi.current,!0),window.onload=function(){Pi.current.inject("applet_container")}},[]);const ar=()=>{var Dr=window.ggbApplet.getPNGBase64(1,!0,72);return Or&&Or(Dr),Dr};return(0,x.useEffect)(()=>{Gi.current.appName=yi?"3D":"graphing",Pi.current.inject("applet_container")},[yi]),(0,x.useEffect)(()=>{oo(Zn)},[Zn]),(0,x.useImperativeHandle)(Ai,()=>({getImgData:ar})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:di}),x.createElement(Rt.Z,{align:"middle"},x.createElement(Fn.Z,{flex:1},x.createElement(vt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:yi,onChange:Dr=>oo(Dr)})),x.createElement(Fn.Z,null,x.createElement(ze.ZP,{size:"large",onClick:ar,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),ct=ae(53463);const Xt="link",Wt="upload-image",wn="add-flowchart",ln="draw-image",nn="add-flowchart",zn="code-block",Ln="add-table",_t="------------",un={default:_t,left:`:${_t}`,center:`:${_t}:`,right:`${_t}:`};var Pn=ae(28122),Vn=ae(15936);function Lt(){}let Gt=0;const sn=1e4,bn="\u2581",Yn="@\u2581\u2581@",pr="@\u2581@",ti=` +**\u6A21\u677F\u6807\u9898** +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,si=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Cr(Zn){return/^\d+$/.test(Zn)?`${Zn}px`:Zn}const dr=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",yn={[dr+"-B"]:"bold",[dr+"-I"]:"italic"},$n={[Xt]:"\u6DFB\u52A0\u94FE\u63A5",[zn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Wt]:"\u6DFB\u52A0\u56FE\u7247",[ln]:"\u6DFB\u52A0\u753B\u56FE",[wn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Ln]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var rr=({defaultValue:Zn="",onChange:br,width:Br="100%",height:Or=400,miniToolbar:ci=!1,isFocus:Ai=!1,watch:di,insertTemp:Pi,mode:yi="markdown",id:oo="markdown-editor-id",showResizeBar:Gi=!1,noStorage:ar=!1,showNullButton:Dr=!1,showNullProgramButton:gi=!1,hidetoolBar:ni=!1,fullScreen:An=!1,onBlur:Cn,onCMBeforeChange:tt,onFullScreen:pn,className:Zt="",disablePaste:vn=!1,disabled:On=!1,disabledFill:Rr=!1,placeholder:Xr="",values:li="",extraUse:nr,onAddBlank:or})=>{const[er,_r]=(0,x.useState)(null),[Ti,bi]=(0,x.useState)(Zn),[Xi,Er]=(0,x.useState)(di),[tn,$t]=(0,x.useState)(An),[jn,lr]=(0,x.useState)(""),[gr,Ir]=(0,x.useState)(0),[Kr,zr]=(0,x.useState)(Or),[pi,Ci]=(0,x.useState)(!1),[xi,hi]=(0,x.useState)(0),[Ii,Di]=(0,x.useState)(0),$i=(0,x.useRef)(),no=(0,x.useRef)(),Hi=(0,x.useRef)(),ai=(0,x.useRef)(),ao=(0,x.useRef)(),ki=(0,x.useRef)(),So=(0,dt.useDispatch)();(0,x.useEffect)(()=>{const jr=window.scrollY||window.pageYOffset;bi(li),er==null||er.setValue(li),window.scrollTo(0,jr)},[li]),(0,x.useEffect)(()=>{pn==null||pn(tn)},[tn]),(0,x.useEffect)(()=>{if($i.current){let jr=function(Bi,_i){var Ro;if(vn){_i.preventDefault();return}const ya=_i.clipboardData;if(ya){const $o=ya.types.toString(),Ea=ya.items;if($o==="Files"||ya.types.indexOf("Files")>-1){if(_i.preventDefault(),yi=="stex")return;try{let da=Ea[1];((Ro=Ea[0])==null?void 0:Ro.kind)==="file"&&(da=Ea[0]);const wa=da.getAsFile(),Wr=wa.name.split(".").pop();(0,nt.I)(wa,Ji=>{var xo,ba,Xa;Ji.id?((xo=wa==null?void 0:wa.type)==null?void 0:xo.indexOf("image"))>-1?Yr.replaceSelection(``):((ba=wa==null?void 0:wa.type)==null?void 0:ba.indexOf("video"))>-1?Yr.replaceSelection(``):((Xa=wa==null?void 0:wa.type)==null?void 0:Xa.indexOf("pdf"))>-1?Yr.replaceSelection(`${wa.name}`):si.includes(Wr)?Yr.replaceSelection(`${wa.name}`):Yr.replaceSelection(`[${wa.name}](/api/attachments/${Ji.id}?type=${Ji.content_type})`):(Ji==null?void 0:Ji.status)===401&&(document.location.href="/user/login")})}catch(da){an.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Yr=qe().fromTextArea($i.current,{mode:yi,lineNumbers:!ci,lineWrapping:!0,value:Zn,autoCloseTags:!0,autoCloseBrackets:!0});return Yr.on("keyup",function(Bi,_i){_i.keyCode===8&&(Bi.getValue()==""?Yr.setOption("placeholder",Xr):Yr.setOption("placeholder",null))}),Yr.on("keydown",function(Bi,_i){if(_i.keyCode===8){var Ro=Do(Bi);Ro&&_i.preventDefault()}}),Ai&&Yr.focus(),Yr.on("paste",jr),On&&Yr.on("beforeChange",function(Bi,_i){(_i.origin==="paste"||_i.origin==="+input")&&_i.cancel()}),_r(Yr),()=>{Yr.off("paste",jr)}}},[]);const uo=(0,x.useCallback)(()=>{if(no.current)try{}catch(jr){console.log(jr,"---- to set md editor body height")}},[Kr,no,tn]);(0,x.useEffect)(()=>{function jr(){let Yr=new He.Z(Bi=>{for(let _i of Bi)(_i.target.offsetHeight>0||_i.target.offsetWidth>0)&&(uo(),er.setSize("100%","100%"),er.refresh())});return Yr.observe($i.current.parentElement),Yr}if(er){const Yr=jr();return()=>{var Bi,_i;(Bi=$i.current)!=null&&Bi.parentElement&&Yr.unobserve((_i=$i.current)==null?void 0:_i.parentElement)}}},[er,uo]),(0,x.useEffect)(()=>{if(er){let jr=[];for(const[Yr,Bi]of Object.entries(yn)){let _i={[Yr]:()=>{Co(Bi)}};jr.push(_i),er.addKeyMap(_i)}return()=>{for(let Yr of jr)er.removeKeyMap(Yr)}}},[er]),(0,x.useEffect)(()=>{An!==tn&&$t(An)},[An]),(0,Pn.Z)(()=>{if(!ar&&gr>0){let jr=new Date().getTime(),Yr=window.sessionStorage.getItem(oo);jr>=gr+sn&&(!Yr||Yr!==Ti)&&(window.sessionStorage.setItem(oo,Ti),Ci(!0))}},sn),(0,x.useEffect)(()=>{Er(di)},[er,di]),(0,x.useEffect)(()=>{er&&Ai&&er.focus()},[er,Ai]),(0,x.useEffect)(()=>{if(Xi&&er){let jr=function(Bi){let _i=Bi.target;if(ai.current){let Ro=_i.scrollTop/_i.scrollHeight;ai.current.scrollTop=ai.current.scrollHeight*Ro}};const Yr=er.getScrollerElement();return Yr.addEventListener("scroll",jr),()=>{Yr.removeEventListener("scroll",jr)}}},[er,Xi]),(0,x.useEffect)(()=>{if(er&&tt){let jr=function(Yr,Bi){tt(Yr,Bi)};return er.on("beforeChange",jr),()=>{er.off("beforeChange",jr)}}},[er,tt]),(0,x.useEffect)(()=>{if(er&&Cn){let jr=function(){Cn(er.getValue())};return er.on("blur",jr),()=>{er.off("blur",jr)}}},[er,Cn]);function Do(jr,Yr){var Bi=jr.getDoc(),_i=Bi.getCursor(),Ro=Bi.getLine(_i.line),ya=Ro.charAt(_i.ch-1),$o=Ro.lastIndexOf("@\u2581@",_i.ch),Ea=Ro.lastIndexOf("@\u2581\u2581@",_i.ch),da=$o>Ea?$o:Ea,wa=$o>Ea?3:4;if(Yn.indexOf(ya)===-1)return null;if(console.log("change1:",Yr,jr,Ro,_i,da,$o,Ea,ya),da>=0&&_i.ch-da<5){var Wr=da+wa;return Bi.replaceRange("",{line:_i.line,ch:da},{line:_i.line,ch:Wr}),{line:_i.line,ch:Wr}}return null}(0,x.useEffect)(()=>{if(er){let jr=function(Yr,Bi){const _i=Yr.getValue();bi(_i),Ir(new Date().getTime()),Yr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),br&&(gi?br(_i,$r(_i)):br(_i))};return er.on("change",jr),()=>{er.off("change",jr)}}},[er,br]),(0,x.useEffect)(()=>{if(er)if(Zn==null)er.setValue(""),bi("");else{const jr=window.scrollY||window.pageYOffset;Zn!==er.getValue()&&(er.setValue(Zn),bi(Zn),er.setCursor(On?1:er.lineCount(),0),window.scrollTo(0,jr))}},[er,Zn]);const Co=(0,x.useCallback)(jr=>{const Yr=er.getCursor(),Bi=er.getSelection();let _i=Bi.split(` +`);switch(jr){case"bold":return er.replaceSelection("**"+Bi+"**"),Bi===""&&er.setCursor(Yr.line,Yr.ch+2),er.focus();case"italic":return er.replaceSelection("*"+Bi+"*"),Bi===""&&er.setCursor(Yr.line,Yr.ch+1),er.focus();case"code":return er.replaceSelection("`"+Bi+"`"),Bi===""&&er.setCursor(Yr.line,Yr.ch+1),er.focus();case"inline-latex":return(0,Vn.Ye)(So)?void 0:(lr("inline-latex"),er.focus());case"latex":return er.replaceSelection("```latex\n"+Bi+"\n```"),er.setCursor(Yr.line+1,Bi.length+1),er.focus();case"line-break":return er.replaceSelection(`
+`),er.focus();case"list-ul":return Bi===""?er.replaceSelection("- "+Bi):er.replaceSelection(_i.map(Ro=>Ro===""?"":`- ${Ro}`).join(` +`)),er.focus();case"list-ol":return Bi===""?er.replaceSelection("1. "+Bi):er.replaceSelection(_i.map((Ro,ya)=>Ro===""?"":`${ya+1}. ${Ro}`).join(` +`)),er.focus();case"add-null-ch":or==null||or();return;case"add-signal":return Bi===""&&er.setCursor(Yr.line,Yr.ch),er.replaceSelection(pr),er.focus();case"add-multiple":return Bi===""&&er.setCursor(Yr.line,Yr.ch),er.replaceSelection(Yn),er.focus();case"inster-template-1":return Bi===""&&er.setCursor(Yr.line,Yr.ch),er.replaceSelection(ti),er.focus();case"eraser":return er.setValue(""),er.focus();case"trigger-watch":return Er(!Xi),er.focus();case"trigger-full-screen":return $t(!tn),er.focus();case Xt:lr(Xt);return;case zn:lr(zn);return;case Wt:lr(Wt);return;case ln:lr(ln);return;case"maths-latex":if((0,Vn.Ye)(So))return;lr("maths-latex");return;case wn:ao.current="",sessionStorage.removeItem("file_id"),lr(wn);return;case Ln:lr(Ln);return;default:throw new Error}},[er,Xi,tn]),to=(0,x.useCallback)((jr,Yr)=>{var Bi,_i,Ro,ya,$o,Ea;jr!=null&&jr.disabledClose||lr("");const{src:da,alt:wa,id:Wr}=jr||{};switch(jn){case Xt:const{title:ns,link:Ta}=jr;return er.replaceSelection(`[${ns}](${Ta})`),er.focus();case zn:const{language:Za,content:Fo}=jr;return er.replaceSelection(["```"+Za,Fo,"```"].join(` +`)),er.focus();case"maths-latex":for(var Ji=atob(jr),xo=new Uint8Array(Ji.length),ba=0;ba{tu.id?er.replaceSelection(`![,](/api/attachments/${tu.id}?type=${tu.content_type})`):(tu==null?void 0:tu.status)===401&&(document.location.href="/user/login")}),er.focus();case"inline-latex":return(0,Vn.Ye)(So)?void 0:(er.replaceSelection("`$$"+jr+"$$`"),er.focus());case nn:return Wr?(er.getValue().indexOf(da)===-1?er.replaceSelection(`
${wa||
`):document.getElementById(Wr).src=se.Z.API_SERVER+da+"?t="+Date.now(),er.focus()):void 0;case Wt:case ln:const vo=Yr,qo=(Ro=(_i=(Bi=vo==null?void 0:vo.name)==null?void 0:Bi.split("."))==null?void 0:_i.pop)==null?void 0:Ro.call(_i);return((ya=vo==null?void 0:vo.type)==null?void 0:ya.indexOf("image"))>-1||!(vo!=null&&vo.type)?vo!=null&&vo.align||vo!=null&&vo.width?er.replaceSelection(`

${wa||

`):er.replaceSelection(`${wa||`):(($o=vo==null?void 0:vo.type)==null?void 0:$o.indexOf("video"))>-1?er.replaceSelection(``):((Ea=vo==null?void 0:vo.type)==null?void 0:Ea.indexOf("pdf"))>-1?er.replaceSelection(`${vo.name}`):si.includes(qo)?er.replaceSelection(`${vo.name}`):er.replaceSelection(`[${vo.name}](${da})`),er.focus();case Ln:const{row:ja,col:ls,align:Fs}=jr;let il=` +`;for(let tu=0;tu{switch(jn){case Xt:return x.createElement(Kt,{callback:to,onCancel:Go});case zn:return x.createElement(Ht.Z,{callback:to,onCancel:Go});case Wt:return x.createElement(nt.Z,{callback:to,onCancel:Go});case wn:return x.createElement(ee,{editImgId:ao.current,callback:to,onCancel:Go});case Ln:return x.createElement(mt,{callback:to,onCancel:Go});case"maths-latex":return x.createElement(xt,{showSaveButton:!0,callback:to});case"inline-latex":return x.createElement(ct.Z,{showSaveButton:!0,callback:to});default:return null}},[jn]);function Go(){lr("")}(0,x.useEffect)(()=>{if(Hi.current){let jr=function($o){Ro=!0,ya=$o.pageY},Yr=function(){Ro=!1},Bi=function($o){if(Ro){let Ea=$o.pageY-ya;Ea<0&&(Ea=0),Ea>300&&(Ea=300);let da=Or+Ea+"px";zr(da)}},_i=Hi.current,Ro=!1,ya=0;return _i.addEventListener("mousedown",jr),document.addEventListener("mousemove",Bi),document.addEventListener("mouseup",Yr),()=>{_i.removeEventListener("mousedown",jr),document.removeEventListener("mousemove",Bi),document.removeEventListener("mouseup",Yr)}}},[er,Hi]),(0,x.useEffect)(()=>{zr(Or)},[Or]);const zo=Cr(Br),No=Cr(Kr),zi={width:zo,height:No},Vt=(0,x.useMemo)(()=>{if(gr){let jr=new Date(gr),Yr=jr.getHours(),Bi=jr.getMinutes(),_i=jr.getSeconds();return Yr=Yr<10?"0"+Yr:Yr,Bi=Bi<10?"0"+Bi:Bi,_i=_i<10?"0"+_i:_i,`${Yr}:${Bi}:${_i}`}return 0},[gr]),$r=jr=>{const Yr=[];if(gi){let Bi=-1;jr=jr.replace(/(@▁▁@|@▁@)/g,function(_i,Ro,ya){Yr.push({multiLine:_i!==pr})})}return Yr};function ui(){window.sessionStorage.removeItem(oo),Ci(!1),Ir(0)}function Zr(){Ci(!1),Ir(0),er.setValue(window.sessionStorage.getItem(oo))}(0,x.useEffect)(()=>{$n[jn]&&jn!==ln&&jn!==wn&&setTimeout(()=>{const jr=document.getElementsByClassName("markdown-popup-form")[0],Yr=window.innerWidth/2-jr.offsetWidth/2,Bi=window.innerHeight/2-jr.offsetHeight/2;hi(Yr),Di(Bi)},0)},[jn]);const Ri=jr=>{jr.preventDefault();const Yr=jr.clientX-xi,Bi=jr.clientY-Ii;document.body.onmousemove=_i=>{let Ro=_i.clientX-Yr,ya=_i.clientY-Bi;const $o=document.getElementsByClassName("markdown-popup-form")[0],Ea=window.innerWidth-$o.offsetWidth,da=window.innerHeight-$o.offsetHeight;Ro=Math.max(0,Math.min(Ro,Ea)),ya=Math.max(0,Math.min(ya,da)),ro(_i.clientX,_i.clientY,Yr,Bi)&&(hi(Ro),Di(ya))},document.body.onmouseup=function(){document.body.onmousemove=null}},ro=(jr,Yr,Bi,_i)=>{const Ro=document.body.clientHeight,ya=document.body.clientWidth;return jr<20&&Bi>jr||jr>ya-20&&BiYr||Yr>Ro-20&&_i{var Yr;ao.current=jr,(Yr=ki.current)==null||Yr.setHeight("100vh"),setTimeout(()=>{lr("add-flowchart")},150)}})):null))),Gi?x.createElement("a",{ref:Hi,className:"editor-resize"}):null,jn===ln&&x.createElement(mn,{callback:to,onCancel:Go}),jn===wn&&x.createElement(ee,{ref:ki,editImgId:ao.current,callback:to,onCancel:Go}),x.createElement(at.Z,null,$n[jn]&&jn!==ln&&jn!==wn?x.createElement(Pt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:xi,top:Ii},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:Ri},$n[jn]),open:!0,onCancel:Go,footer:null,destroyOnClose:!0,width:jn===wn?"1200px":null,height:jn===wn?"80vh":null,className:"markdown-popup-form"},Mo):null))}},32533:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Je},I:function(){return st}});var x=ae(28284),dt=ae(6767),Le=ae(37568),qe=ae(44104),He=ae(4875),Fe=ae(47889),Me=ae(7939),fe=ae(75656),xe=ae(59301),oe=ae(59301),Pe=Object.defineProperty,ye=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,Se=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,we=(at,ht,Ct)=>ht in at?Pe(at,ht,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):at[ht]=Ct,Ee=(at,ht)=>{for(var Ct in ht||(ht={}))Ie.call(ht,Ct)&&we(at,Ct,ht[Ct]);if(Se)for(var Ct of Se(ht))ve.call(ht,Ct)&&we(at,Ct,ht[Ct]);return at},Oe=(at,ht)=>ye(at,Re(ht));const{useForm:Ke}=x.default,je={width:280,marginRight:10},_e={labelCol:{span:5},wrapperCol:{span:19}};var Je=({callback:at,onCancel:ht})=>{const[Ct]=Ke();let ze=(0,xe.useRef)();function pt(Ot){ze.current.width=Ct.getFieldValue("width"),ze.current.align=Ct.getFieldValue("align"),at(Ot,ze.current)}function Ne(Ot,ot){if(Ot.status===-1){dt.ZP.error(Ot.message);return}Ct.setFieldsValue({src:`/api/attachments/${Ot.id}`,type:ot.type})}function Qe(Ot){let ot=Ot.target.files[0];ze.current=ot,st(ot,Ne)}return oe.createElement(x.default,Oe(Ee({form:Ct},_e),{className:"upload-image-panel",onFinish:pt,style:{width:470,overflow:"hidden"}}),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},oe.createElement("div",{className:"flex-container"},oe.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},oe.createElement(Le.default,{style:je})),oe.createElement(Ve,{onFileChange:Qe}))),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},oe.createElement(Le.default,{style:{width:264}})),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},oe.createElement(qe.Z,null,oe.createElement(x.default.Item,{name:"width",style:{margin:0}},oe.createElement(He.Z,{style:{width:264}})),oe.createElement("span",{className:"ml8"},"%"))),oe.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},oe.createElement(Fe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),oe.createElement("aside",null,oe.createElement(x.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},oe.createElement(Me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(Me.ZP,{type:"default",onClick:ht},"\u53D6\u6D88"))))};function Ve({onFileChange:at}){return oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",oe.createElement("input",{type:"file",onChange:at}))}function st(at,ht){if(!at)throw new String("\u6CA1\u6709\u6587\u4EF6");let Ct=new FormData;Ct.append("editormd-image-file",at),Ct.append("file_param_name","editormd-image-file"),Ct.append("byxhr","true");var ze=new window.XMLHttpRequest;ze.withCredentials=!0,ze.addEventListener("load",function(pt){ht(JSON.parse(pt.target.responseText),at)},!1),ze.addEventListener("error",function(pt){console.error(pt)},!1),ze.open("POST",`${fe.KI}/api/attachments.json`),ze.send(Ct)}},8368:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Le}});var x=ae(59301),dt=ae(4676);class Le extends x.Component{constructor(He){super(He);const Fe=window.document;this.node=Fe.createElement("div"),Fe.body.appendChild(this.node)}render(){const{children:He}=this.props;return(0,dt.createPortal)(He,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},13933:function(Xn,Mt,ae){"use strict";ae.d(Mt,{SV:function(){return mn},ZP:function(){return Tt}});var x=ae(59301),dt=ae(76374);const Le={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"]},qe={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"]},He={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 ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)}]},Fe={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(` +`)}]},Me={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 fe=ae(53184),xe=ae.n(fe),oe=(kt,Fn,an)=>new Promise((de,ge)=>{var ie=le=>{try{se(an.next(le))}catch(Be){ge(Be)}},ee=le=>{try{se(an.throw(le))}catch(Be){ge(Be)}},se=le=>le.done?de(le.value):Promise.resolve(le.value).then(ie,ee);se((an=an.apply(kt,Fn)).next())});const Pe={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"]}},ye=(kt,Fn,an,de)=>{const ge=Fn.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:an.lineNumber,endColumn:an.column});return Array.from(new Set(ge.match(/\b\w{2,}\b/g)||[])).map(ee=>({label:ee,kind:kt.languages.CompletionItemKind.Text,insertText:ee,range:de}))},Re=(kt,Fn,an,de)=>{kt.languages.registerCompletionItemProvider(Fn,{provideCompletionItems(ge,ie){const ee=ge.getWordUntilPosition(ie),se={startLineNumber:ie.lineNumber,endLineNumber:ie.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},le=ge.getLineContent(ie.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...ye(kt,ge,ie,se),...an.map(Ge=>({label:Ge,kind:kt.languages.CompletionItemKind.Keyword,documentation:Ge,insertText:Ge,insertTextRules:kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:se})),...de.map(Ge=>({label:Ge.label,kind:kt.languages.CompletionItemKind.Snippet,documentation:Ge.content,insertText:le.startsWith("#")?Ge.content.replace(/#/,""):Ge.content,insertTextRules:kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:se}))]}}})};var Se=kt=>{Pe.languages.forEach(Fn=>{kt.languages.registerDocumentFormattingEditProvider(Fn,{provideDocumentFormattingEdits(an){return oe(this,null,function*(){const de=xe()(an.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:an.getFullModelRange(),text:de}]})}})}),Re(kt,"java",qe.keywords,qe.quickKey),Re(kt,"cpp",He.keywords,He.quickKey),Re(kt,"c",Le.keywords,[]),Re(kt,"python",Fe.keywords,Fe.quickKey),Re(kt,"scala",Me.keywords,Me.quickKey)};const Ie="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ve=Object.defineProperty,we=(kt,Fn,an)=>Fn in kt?ve(kt,Fn,{enumerable:!0,configurable:!0,writable:!0,value:an}):kt[Fn]=an,Ee=(kt,Fn,an)=>we(kt,typeof Fn!="symbol"?Fn+"":Fn,an);const Oe=class Ov{constructor(Fn,an,de){this.placeholder=Fn,this.editor=an,this.monaco=de,an.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Ov.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)}};Ee(Oe,"ID","editor.widget.placeholderHint");var je=Oe,_e=ae(96236),Je=ae(6767),Ve=ae(25399),st=ae(78267),at=ae(84397),ht=ae(56102),Ct=Object.defineProperty,ze=Object.defineProperties,pt=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,ot=(kt,Fn,an)=>Fn in kt?Ct(kt,Fn,{enumerable:!0,configurable:!0,writable:!0,value:an}):kt[Fn]=an,lt=(kt,Fn)=>{for(var an in Fn||(Fn={}))Qe.call(Fn,an)&&ot(kt,an,Fn[an]);if(Ne)for(var an of Ne(Fn))Ot.call(Fn,an)&&ot(kt,an,Fn[an]);return kt},Bt=(kt,Fn)=>ze(kt,pt(Fn)),We=(kt,Fn)=>{var an={};for(var de in kt)Qe.call(kt,de)&&Fn.indexOf(de)<0&&(an[de]=kt[de]);if(kt!=null&&Ne)for(var de of Ne(kt))Fn.indexOf(de)<0&&Ot.call(kt,de)&&(an[de]=kt[de]);return an},ke=(kt,Fn,an)=>new Promise((de,ge)=>{var ie=le=>{try{se(an.next(le))}catch(Be){ge(Be)}},ee=le=>{try{se(an.throw(le))}catch(Be){ge(Be)}},se=le=>le.done?de(le.value):Promise.resolve(le.value).then(ie,ee);se((an=an.apply(kt,Fn)).next())});function At(kt){return/^\d+$/.test(kt)?`${kt}px`:kt}function Kt(){}let Ht=!1;const nt={"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 Pt(kt=[]){let Fn=kt;if(Array.isArray(kt)){for(let an=0;anke(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(kt){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",kt)}});var Tt=kt=>{var Fn=kt,{width:an="100%",height:de="100%",value:ge,language:ie="javascript",style:ee={},options:se={},overrideServices:le={},theme:Be="vs-dark",onEditBlur:Ge,isCopy:ut=!1,onSave:mt,autoHeight:vt=!1,forbidCopy:St=!1,forbidCopyTips:Dt,onChange:Qt=Kt,editorDidMount:xt=Kt,onFocus:ct=Kt,onBreakPoint:Xt=Kt,breakPointValue:Wt=[],filename:wn="educoder.txt",errorLine:ln,errorContent:nn="",highlightLine:zn,openBreakPoint:Ln=!1,placeholder:_t="",showMiniMap:un=!0}=Fn,Pn=We(Fn,["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 Vn=(0,x.useRef)(),Lt=(0,x.useRef)({}),Gt=(0,x.useRef)(),sn=(0,x.useRef)(),bn=(0,x.useRef)([]),Yn=(0,x.useRef)(!1),pr=(0,x.useRef)(),ti=(0,x.useRef)(),si=(0,x.useRef)(!1),[Cr,ur]=(0,x.useState)(!1);function dr(){let ar;return Vn.current&&(ar=new dt.Z(Dr=>{for(let gi of Dr)(gi.target.offsetHeight>0||gi.target.offsetWidth>0)&&Lt.current.instance.layout()}),ar.observe(Vn.current)),ar}function yn(){Je.ZP.warning({content:decodeURIComponent(Dt||Ie),key:"monaco-editor-tip"})}const $n=()=>{let ar=Lt.current.instance;if(ge!=null&&ar&&Cr){const Dr=ar.getModel();Dr&&ge!==Dr.getValue()&&(Ht=!0,Dr.setValue(ge),ar.layout(),Ht=!1)}};(0,x.useEffect)(()=>{const ar=at.Z.subscribe("formatDocument",Dr=>{var gi;let ni=Lt.current.instance;(gi=ni==null?void 0:ni.getAction)==null||gi.call(ni,"editor.action.formatDocument").run()});return window.updateMonacoValue=Dr=>{Qt(Dr)},ar},[]),(0,x.useEffect)(()=>{var ar;let Dr=Lt.current.instance;sn.current&&clearTimeout(sn.current),sn.current=setTimeout(()=>{$n()},500),ge&&(ge!=null&&ge.length)&&((ar=Dr==null?void 0:Dr.updateOptions)==null||ar.call(Dr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ge.split(/\r\n|\r|\n/g).length))+3,5)}))},[ge,Cr,Lt.current]),(0,x.useEffect)(()=>{if(ln&&Lt.current&&Lt.current.instance){let Dr=Lt.current.instance;Dr.changeViewZones(function(gi){var ni=document.createElement("div");ni.style.padding="10px 20px",ni.style.width="calc(100% - 20px)",ni.className="my-error-line-wrp",ni.innerHTML=nn,gi.addZone({afterLineNumber:ln||11,heightInLines:3,domNode:ni})});var ar={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}};Dr.addOverlayWidget(ar),Dr.revealPositionInCenter({lineNumber:20,column:1})}},[ln,Lt.current,Cr]);const rr=(ar="",Dr)=>{if(!ar||ar.trim()==="")return!0;const ni=Lt.current.instance.getModel().getLineTokens(Dr);let An=!1;for(let Cn=0;Cn<2;Cn++)ni.getStandardTokenType(Cn)===1&&(An=!0);return An};(0,x.useEffect)(()=>{var ar;const Dr=(ar=Lt.current)==null?void 0:ar.instance;if(Dr&&Cr&&St){const gi=Dr.onDidBlurEditorWidget(()=>{si.current=!1}),ni=Dr.onDidFocusEditorText(()=>{si.current=!0});return()=>{gi.dispose(),ni.dispose()}}},[Lt.current,Cr,St]),(0,x.useEffect)(()=>{var ar;if((ar=Lt.current)!=null&&ar.instance&&Cr&&Ln){let Dr=Lt.current.instance,gi=Dr.getModel();if(!gi)return;(()=>{var nr;let or=[],er=[];const _r=gi.getAllDecorations();for(let bi of _r)bi.options.className==="highlighted-line"&&(or.push((nr=bi==null?void 0:bi.range)==null?void 0:nr.startLineNumber),er.push(bi==null?void 0:bi.id));if(zn===or[0])return;gi.deltaDecorations(er,[]);const Ti=gi.getLineCount();zn&&zn<=Ti&&(Dr.deltaDecorations([],[{range:new Rt.Range(zn,1,zn,gi.getLineMaxColumn(zn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Dr.revealLineInCenter(zn))})();const An=(nr=!1)=>{var or;let er=[],_r=[];const Ti=gi.getAllDecorations();for(let bi of Ti)bi.options.linesDecorationsClassName==="breakpoints-select"&&(er.push((or=bi==null?void 0:bi.range)==null?void 0:or.startLineNumber),_r.push(bi==null?void 0:bi.id));if(nr)return{lines:er,ids:_r};Xt(er)},Cn=nr=>ke(void 0,null,function*(){let or={range:new Rt.Range(nr,1,nr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield gi.deltaDecorations([],[or]),An()}),tt=nr=>ke(void 0,null,function*(){let or=[];const er=Dr.getLineDecorations(nr);for(let _r of er)_r.options.linesDecorationsClassName==="breakpoints-select"&&or.push(_r.id);yield gi.deltaDecorations(or,[]),An()}),pn=nr=>{let or=Dr.getLineDecorations(nr);for(let er of or)if(er.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,st.isEqual)(Wt,An(!0).lines)){gi.deltaDecorations(An(!0).ids,[]);const nr=Wt.map(or=>({range:new Rt.Range(or,1,or,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));gi.deltaDecorations([],nr)}const Zt=Dr.onDidChangeModelContent(nr=>{let or=Dr.getPosition();if(or){let er=or.lineNumber;clearTimeout(ti.current),ti.current=setTimeout(()=>{rr(gi.getLineContent(er),er)?tt(er):pn(er)?(tt(er),Cn(er)):An()},100)}}),vn=Dr.onMouseDown(nr=>{var or,er,_r;if(nr.target.detail&&((_r=(er=(or=nr.target)==null?void 0:or.element)==null?void 0:er.className)!=null&&_r.includes("line-numbers"))){let Ti=nr.target.position.lineNumber;if(rr(gi.getLineContent(Ti),Ti))return;pn(Ti)?tt(Ti):Cn(Ti)}}),On=nr=>{let or={range:new Rt.Range(nr,1,nr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};bn.current=Dr.deltaDecorations(bn.current,[or])},Rr=()=>{bn.current=Dr.deltaDecorations(bn.current,[])},Xr=Dr.onMouseMove(nr=>{var or,er,_r;if(Rr(),nr.target.detail&&((_r=(er=(or=nr.target)==null?void 0:or.element)==null?void 0:er.className)!=null&&_r.includes("line-numbers"))){let Ti=nr.target.position.lineNumber;if(rr(gi.getLineContent(Ti),Ti))return;On(Ti)}}),li=Dr.onMouseLeave(()=>{Rr()});return()=>{Zt.dispose(),vn.dispose(),Xr.dispose(),li.dispose()}}},[Lt.current,Cr,Wt,zn,Ln,ie]),(0,x.useEffect)(()=>{var ar;(ar=Lt.current)!=null&&ar.instance&&Ln&&Lt.current.instance.setPosition({lineNumber:0,column:0})},[zn]);function Zn(){let ar=Lt.current.instance;if(ar){const Dr=ar.getSelection(),gi=Lt.current.pastePos||{},ni=new Rt.Range(gi.startLineNumber||Dr.endLineNumber,gi.startColumn||Dr.endColumn,gi.endLineNumber||Dr.endLineNumber,gi.endColumn||Dr.endColumn);setTimeout(()=>{ar.executeEdits("",[{range:ni,text:""}])},300)}}function br(ar){(window.navigator.platform.match("Mac")?ar.metaKey:ar.ctrlKey)&&ar.keyCode==83&&(ar.preventDefault(),mt())}const Br=()=>{if(vt&&Lt.current.instance){const ar=Lt.current.instance.getContentHeight();oo(ar{if(!si.current)return;const{keyCode:Dr,ctrlKey:gi,metaKey:ni,target:An,type:Cn}=ar;return(Cn==="paste"||(Dr===67||Dr===86)&&(ni||gi))&&An.nodeName==="TEXTAREA"&&(yn(),ar.preventDefault()),!1};function Ai(ar,Dr){var gi=window.URL||window.webkitURL||window,ni=new Blob([Dr]),An=document.createElementNS("http://www.w3.org/1999/xhtml","a");An.href=gi.createObjectURL(ni),An.download=ar,Or(An)}(0,x.useEffect)(()=>{Br()},[Br]),(0,x.useEffect)(()=>{Vn.current&&!Cr&&Promise.all([ae.e(8909),ae.e(7161)]).then(ae.bind(ae,71448)).then(ar=>{try{Rt=ar,Lt.current.instance=Rt.editor.create(Vn.current,{value:ge,language:Pt(ie),theme:Be,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:un||!1}},le);const Dr=Lt.current.instance;let An=[..._e.BH._menuItems].find(Zt=>Zt[0]._debugName=="EditorContext")[1],Cn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],tt=(Zt,vn)=>{var On,Rr;let Xr=Zt._first;do vn.includes((Rr=(On=Xr.element)==null?void 0:On.command)==null?void 0:Rr.id)&&Zt._remove(Xr);while(Xr=Xr.next)};if(xt(Dr,Rt),setTimeout(()=>{Br(),Lt.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Ai(wn||"educoder.txt",Dr.getValue())}})},500),Lt.current.subscription=Dr.onDidChangeModelContent(Zt=>{Yn.current?clearTimeout(pr.current):(Br(),Qt(Dr.getValue(),Zt)),pr.current=setTimeout(()=>{Yn.current=!1},500)}),window.Monaco||Se(Rt,Pt(ie)),St&&(tt(An,Cn),Vn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",ci),window.removeEventListener("paste",ci),window.addEventListener("keydown",ci),window.addEventListener("paste",ci)),window.Monaco=Rt,Ge&&Dr.onDidBlurEditorWidget(()=>{Ge(Dr.getValue())}),ct&&Dr.onDidFocusEditorText(()=>{St&&hn(),ct(Dr.getValue())}),St){hn();try{Dr.onDidPaste(Zt=>{const vn=Dr.getSelection(),On=Lt.current.pastePos||{},Rr=new Rt.Range(On.startLineNumber||vn.endLineNumber,On.startColumn||vn.endColumn,On.endLineNumber||vn.endLineNumber,On.endColumn||vn.endColumn);Dr.executeEdits("",[{range:Zt.range,text:""}])})}catch(Zt){}}let pn=dr();return _t&&typeof _t=="string"&&new je(_t,Dr,Rt),ur(!0),()=>{const Zt=Lt.current.instance;Zt.dispose();const vn=Zt.getModel();vn&&vn.dispose(),Lt.current.subscription&&Lt.current.subscription.dispose(),pn.unobserve(Vn.current)}}catch(Dr){}})},[]),(0,x.useEffect)(()=>{if(Lt.current.instance&&Cr)return document.addEventListener("keydown",br,!1),()=>{document.removeEventListener("keydown",br)}},[mt,Cr]),(0,x.useEffect)(()=>{let ar=Lt.current.instance;if(ar&&Cr){let Dr=Pt(ie);Rt.editor.setModelLanguage(ar.getModel(),Dr)}},[ie,Cr]),(0,x.useEffect)(()=>{Lt.current.instance&&Cr&&Rt.editor.setTheme(Be)},[Be,Cr]),(0,x.useEffect)(()=>{let ar=Lt.current.instance;Gt.current=se,ar&&Cr&&(ar.updateOptions(lt({},se)),setTimeout(()=>{ar.getModel().updateOptions(lt({},se))},200))},[JSON.stringify(se),Cr]),(0,x.useEffect)(()=>{let ar=Lt.current.instance;ar&&Cr&&ar.layout()},[an,de,Cr]);const[di,Pi]=(0,x.useState)(At(an)),[yi,oo]=(0,x.useState)(At(de)),Gi=Bt(lt({},ee),{width:di,height:yi,position:"relative"});return x.createElement("div",{className:"my-monaco-editor",ref:Vn,style:Gi,onFocus:()=>{St&&hn()}},ut&&x.createElement(ht.CopyToClipboard,{text:ge,onCopy:()=>Je.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(Ve.Z,{title:"\u590D\u5236\u4EE3\u7801"},x.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},x.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function mn({width:kt="100%",height:Fn="100%",original:an,modified:de,language:ge,options:ie={}}){const ee=(0,x.useRef)(),[se,le]=(0,x.useState)(null);function Be(vt){let St;return ee.current&&(St=new dt.Z(Dt=>{for(let Qt of Dt)(Qt.target.offsetHeight>0||Qt.target.offsetWidth>0)&&vt.layout()}),St.observe(ee.current)),St}(0,x.useEffect)(()=>(ee.current&&Promise.all([ae.e(8909),ae.e(9404)]).then(ae.bind(ae,2550)).then(vt=>{Rt=vt;const St=Rt.editor.createDiffEditor(ee.current,Bt(lt({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},ie),{wordWrap:!0}));le(St);let Dt=Be(St);return()=>{St.dispose();const Qt=St.getModel();Qt&&Qt.dispose(),Dt.unobserve(ee.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,x.useEffect)(()=>{se&&se.setModel({original:Rt.editor.createModel(an,ge),modified:Rt.editor.createModel(de,ge)})},[an,de,ge,se]);const Ge=At(kt),ut=At(Fn),mt={width:Ge,height:ut};return x.createElement("div",{className:"my-diff-editor",ref:ee,style:mt})}},30511:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Pe}});var x={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"},dt=ae(29787),Le=ae(25399),qe=ae(89787),He=ae(92310),Fe=ae.n(He),Me=ae(15936),fe=ae(53052),xe=ae(59301),Pe=({className:ye,dataSource:Re=[],col:Se=4,right:Ie,bottom:ve=23,precision:we=0,wrapWidth:Ee=1200,trackEventItems:Oe,loading:Ke,onRemove:je=()=>{},isCurrent:_e=!0,showProgress:Je=!1,showAlias:Ve=!1,category:st="notDisplay",hiddenClick:at=()=>{}})=>{const ht=Math.floor((Ee-(Se-1)*Ie)/Se),Ct=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png",ptclass:"sprite-70",swclass:"sprite-68"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png",ptclass:"sprite-60",swclass:"sprite-65"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png",ptclass:"sprite-58",swclass:"sprite-63"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png",ptclass:"sprite-62",swclass:"sprite-67"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png",ptclass:"sprite-61",swclass:"sprite-66"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png",ptclass:"sprite-59",swclass:"sprite-64"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png",ptclass:"sprite-71",swclass:"sprite-69"}];return xe.createElement(dt.Z,{spinning:Ke},xe.createElement("div",{className:Fe()(x.list,ye)},!!(Re!=null&&Re.length)&&(Re==null?void 0:Re.map((ze,pt)=>{var Ne,Qe,Ot,ot,lt,Bt,We;const{name:ke,id:At,identifier:Kt,featured:Ht,school_name:nt,image_url:Pt,excellent:Rt,is_plan:hn}=ze;return xe.createElement("div",{key:At,className:_e&&Je?x.wrapisCurrent:x.wrap,style:{width:ht,marginRight:(1+pt)%Se===0?0:Ie+we,marginBottom:ve}},xe.createElement("a",{className:x.li,onClick:Tt=>{Tt.preventDefault(),Tt.stopPropagation(),Oe&&(0,Me.L9)([Oe]),(0,Me.xg)(`/paths/${Kt}`)}},xe.createElement("div",{className:x.img},xe.createElement("img",{className:x.cover,src:`${Pt}`}),(Ne=ze==null?void 0:ze.subject_tags)==null?void 0:Ne.map((Tt,mn)=>{var kt,Fn;if(mn===0){const de=(kt=Ct.find(ge=>ge.name==Tt))==null?void 0:kt.swclass;return xe.createElement("span",{className:`sprite ${de} ${x.sign}`,style:{left:"-4px"}})}const an=(Fn=Ct.find(de=>de.name==Tt))==null?void 0:Fn.ptclass;return xe.createElement("span",{className:`sprite ${an} ${x.sign}`,style:{left:`${48+52*(mn-1)+2*mn}px`}})}),xe.createElement("div",{className:x.tagsDom},xe.createElement("div",{className:"flex flex-wrap item-center",style:{gap:"0 6px"}},(ze==null?void 0:ze.excellent)&&xe.createElement("div",{className:x.bq},"\u5F00\u653E\u8BFE\u7A0B"),((Qe=ze==null?void 0:ze.custom_tags)==null?void 0:Qe.length)>0&&(ze==null?void 0:ze.custom_tags.map((Tt,mn)=>{var kt;return xe.createElement(Le.Z,{title:Tt==null?void 0:Tt.tag_name,key:mn},xe.createElement("div",{className:"font12 rounded-2px c-white flex item-center",style:{height:22,padding:"0 6px",maxWidth:((kt=ze==null?void 0:ze.custom_tags)==null?void 0:kt.length)>2?"60px":"71px",background:"rgba(48, 97, 208, .6)",border:"1px solid #8FAFF8"}},xe.createElement("span",{className:"multi-llipsis1e"},Tt==null?void 0:Tt.tag_name)))})))),st=="hide"&&(ze==null?void 0:ze.studying)&&_e&&xe.createElement("div",{className:`${x.movebq} user-path-items`,onClick:Tt=>{Tt.stopPropagation(),je(ze)}},xe.createElement("i",{className:"iconfont icon-yichu1 font12"}),xe.createElement("span",null,"\u79FB\u9664")),!["notDisplay","collect","payed"].includes(st)&&_e&&xe.createElement("div",{className:`${x.hiddenbq} user-path-items`,onClick:Tt=>{Tt.stopPropagation(),at(ze)}},xe.createElement("i",{className:`iconfont ${st=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),xe.createElement("span",null,st=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),xe.createElement("div",{className:x.name},xe.createElement(Le.Z,{title:Ve&&(ze!=null&&ze.excellent_alias_name)?xe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${ke}`,xe.createElement("br",null),xe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${ze==null?void 0:ze.excellent_alias_name}`)):ke},xe.createElement("span",{className:x.e},Ve&&(ze==null?void 0:ze.excellent_alias_name)||ke))),_e&&Je&&((Ot=ze==null?void 0:ze.progress)==null?void 0:Ot.all_score)!=0&&xe.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},xe.createElement(qe.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((ot=ze==null?void 0:ze.progress)==null?void 0:ot.my_score)/((lt=ze==null?void 0:ze.progress)==null?void 0:lt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Bt=ze==null?void 0:ze.progress)==null?void 0:Bt.my_score,"/",(We=ze==null?void 0:ze.progress)==null?void 0:We.all_score),(!_e||!Je)&&xe.createElement(Le.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${nt}`},xe.createElement("div",{className:x.unit},xe.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),nt)),(!_e||!Je)&&xe.createElement("div",{className:x.tags},xe.createElement("div",null,xe.createElement(Le.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),xe.createElement("span",null,ze.stages_count))),xe.createElement(Le.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),xe.createElement("span",null,ze.members_count)))))))})),!Re.length&&xe.createElement(fe.Z,null)))}},59581:function(Xn,Mt,ae){"use strict";ae.d(Mt,{jL:function(){return qe},w9:function(){return ke},QD:function(){return Wt},cQ:function(){return pt.Z},op:function(){return St},O5:function(){return dr},_b:function(){return _t},t7:function(){return we},Gi:function(){return Rt},YG:function(){return nt},qp:function(){return oe},vr:function(){return nn},qE:function(){return xt},Je:function(){return Ke},wb:function(){return ze},cq:function(){return an},tp:function(){return Re}});var x=ae(59301),dt={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"},qe=({dataSource:yn=[],img:$n,imgWidth:rr=346,title:Zn,sunTitle:br,bannerExtraContent:Br})=>x.createElement("div",{className:dt.banner},x.createElement("div",{className:dt.content},x.createElement("aside",null,x.createElement("p",null,x.createElement("b",null,Zn),x.createElement("span",null,br)),yn.length>0&&x.createElement("div",{className:dt.btns},yn.map((Or,ci)=>x.createElement("div",{key:ci,onClick:Or.click},Or.name,Or.sign?x.createElement("span",{className:"sprite sprite-33"}):null))),Br),$n&&x.createElement("img",{style:{marginTop:33,marginRight:38},src:$n,width:rr}))),He={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"},Fe=ae(92310),Me=ae.n(Fe),fe=ae(78267),oe=({dataSource:yn=[],value:$n,onChange:rr,onTitleChange:Zn,className:br,title:Br,titleWidth:Or=41,style:ci={},fontColor:Ai="#6A7283",showCount:di})=>{const[Pi,yi]=(0,x.useState)(1),[oo,Gi]=(0,x.useState)(!1),ar=(0,x.useRef)(null),Dr=(0,x.useRef)(null);return(0,x.useEffect)(()=>{var gi;yn.length!==0&&(((gi=ar==null?void 0:ar.current)==null?void 0:gi.clientHeight)>97?yi(1):yi(0)),yn.length===0&&yi(0),Gi(!1)},[yn]),x.createElement("div",{className:Me()(He.row,br,"fadeIn","animated"),style:ci},x.createElement("div",{onClick:(0,fe.throttle)(()=>Zn==null?void 0:Zn(),2e3),style:{width:Or,marginTop:oo?12:4},className:`${He.title} ${Zn?"current":""}`},Br),x.createElement("div",{className:oo?`${He.tagsWrap} ${He.tagsBorderWrap}`:He.tagsWrap},x.createElement("div",{className:He.bar,ref:Dr,style:Pi>0?{height:Pi===1?97:"auto",overflow:Pi===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},x.createElement("div",{className:He.tag,ref:ar},yn==null?void 0:yn.map(gi=>x.createElement("span",{onClick:()=>rr(gi.id),key:gi.id,style:{color:Ai},className:$n===gi.id?He.active:""},x.createElement("span",{title:gi.name,className:He.name},gi.name),!!di&&x.createElement("span",{className:He.num},gi.count))))),!!Pi&&x.createElement(x.Fragment,null,Pi===1?x.createElement("div",{onClick:()=>{var gi;yi(2),((gi=ar==null?void 0:ar.current)==null?void 0:gi.clientHeight)>245?Gi(!0):Gi(!1)},className:He.action},"\u5C55\u5F00",x.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):x.createElement("div",{onClick:()=>{Dr.current.scrollTop=0,yi(1),Gi(!1)},className:He.action},"\u6536\u8D77",x.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Pe={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"},Re=({dataSource:yn=[],value:$n,onChange:rr,className:Zn,style:br={}})=>x.createElement("div",{style:br,className:Me()(Pe.tabs,Zn)},yn.map(Br=>x.createElement("span",{onClick:()=>rr(Br.id),className:$n===Br.id?Pe.active:"",key:Br.id},Br.name))),Se={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"},Ie=ae(37568),we=({dataSource:yn=[],value:$n="",onChange:rr,onInputChange:Zn=()=>{},className:br,style:Br={},placeholder:Or,allowClear:ci=!1})=>{var Ai;const[di,Pi]=(0,x.useState)(""),[yi,oo]=(0,x.useState)("");(0,x.useEffect)(()=>{var Dr;let gi=$n;(Dr=JSON.stringify($n))!=null&&Dr.includes("{")&&(Pi($n.id),gi=$n.value||"");try{oo(decodeURIComponent(gi||""))}catch(ni){oo(decodeURIComponent(gi||""))}},[$n]);const Gi=()=>{rr(encodeURIComponent(yi),di||null)},ar=Dr=>{Dr!==di&&(Pi(Dr),rr(encodeURIComponent(yi),Dr))};return x.createElement("div",{className:Me()(Se.input,br),style:Br},!!yn.length&&x.createElement("div",{className:Se.dropdown},x.createElement("div",{className:Se.text},(Ai=yn.find(Dr=>Dr.id===di))==null?void 0:Ai.name,x.createElement("i",{className:"iconfont icon-zhankai4"}),x.createElement("b",{className:Se.b1}),x.createElement("b",{className:Se.b2})),x.createElement("div",{className:Se.menu},yn.map((Dr,gi)=>x.createElement("div",{key:gi,onClick:()=>ar(Dr.id)},Dr.name)))),x.createElement(Ie.default,{onPressEnter:Gi,value:yi,onChange:Dr=>{oo(Dr.target.value),Zn(encodeURIComponent(Dr.target.value),di||null)},placeholder:Or,variant:"borderless",allowClear:ci,onClear:()=>rr("",di||null)}),x.createElement("i",{onClick:Gi,className:"iconfont icon-sousuo9 font14 current"}))},Ee={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"},Ke=({value:yn,onChange:$n,className:rr,total:Zn,pageSize:br,style:Br={}})=>{const Or=yn<2,ci=yn>=Math.ceil(Zn/br);return Zn<=br?x.createElement(x.Fragment,null):x.createElement("div",{className:Me()(Ee.quickPager,rr),style:Br},x.createElement("div",{onClick:()=>{Or||$n(yn-1,"prev")},className:Or?Ee.disabled:""},"\u4E0A\u4E00\u9875"),x.createElement("div",{onClick:()=>{ci||$n(yn+1,"next")},className:ci?Ee.disabled:""},"\u4E0B\u4E00\u9875"))},je={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"},_e=ae(29787),Je=ae(25399),Ve=ae(63139),st=ae(88018),at=ae(15936),ht=ae(53052),ze=({className:yn,dataSource:$n=[],col:rr=4,right:Zn,bottom:br=23,precision:Br=0,wrapWidth:Or=1200,trackEventItems:ci,loading:Ai})=>{const di=Math.floor((Or-(rr-1)*Zn)/rr);return x.createElement(_e.Z,{spinning:Ai},x.createElement("div",{className:Me()(je.list,yn)},!!$n.length&&$n.map((Pi,yi)=>{const{name:oo,id:Gi,identifier:ar,power:Dr,cover_image_id:gi,pic:ni}=Pi;return x.createElement("div",{className:je.wrap,key:Gi,style:{width:di,marginRight:(1+yi)%rr===0?0:Zn+Br,marginBottom:br}},x.createElement("a",{target:"_blank",href:`/shixuns/${ar}/challenges`,className:je.li,onClick:An=>{An.preventDefault(),ci&&(0,at.L9)([ci]),Dr&&(0,at.xg)(`/shixuns/${ar}/challenges`)}},x.createElement("div",{className:je.img},x.createElement("img",{className:je.cover,src:`${ni}`}),Pi.is_jupyter&&x.createElement("span",{className:`sprite sprite-43 ${je.sign}`}),Pi.is_jupyter_lab&&x.createElement("span",{className:`sprite sprite-42 ${je.sign}`}),Pi.is_unity_3d&&x.createElement("span",{className:`sprite sprite-44 ${je.sign}`})),x.createElement("div",{className:je.name},x.createElement(Je.Z,{title:oo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:je.e},oo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{className:je.tags},x.createElement(Je.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),x.createElement("span",null,Pi.challenges_count))),!!Pi.myshixuns_count&&x.createElement(Je.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),x.createElement("span",null,Pi.myshixuns_count))),x.createElement(Je.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,Pi.level))),x.createElement("div",{className:je.rate},x.createElement(Ve.Z,{allowHalf:!0,disabled:!0,defaultValue:Pi.score_info}),x.createElement("span",null,"\xA0",Pi.score_info?`${Pi.score_info}\u5206`:"5\u5206")))),!Dr&&x.createElement("div",{className:je.lockWrap},x.createElement("img",{src:`${st.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),x.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!$n.length&&x.createElement(ht.Z,null)))},pt=ae(30511),Ne={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",btnsTop:"btnsTop___Lrm6T",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Qe=ae(62957),Ot=ae(96599),ot="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/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",lt=ae(59301),Bt=(yn,$n,rr)=>new Promise((Zn,br)=>{var Br=Ai=>{try{ci(rr.next(Ai))}catch(di){br(di)}},Or=Ai=>{try{ci(rr.throw(Ai))}catch(di){br(di)}},ci=Ai=>Ai.done?Zn(Ai.value):Promise.resolve(Ai.value).then(Br,Or);ci((rr=rr.apply(yn,$n)).next())}),ke=({className:yn,dataSource:$n=[],col:rr=4,right:Zn,bottom:br=23,precision:Br=0,wrapWidth:Or=1200,trackEventItems:ci,loading:Ai,category:di,hiddenClick:Pi,handleVery:yi=()=>!0,isCurrent:oo})=>{const[Gi,ar]=Qe.default.useModal(),Dr=Math.floor((Or-(rr-1)*Zn)/rr),gi=ni=>Bt(void 0,null,function*(){Gi.confirm({title:"\u7F6E\u9876",width:500,content:lt.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",lt.createElement("span",{className:"c-blue"},"\u201C",ni.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return lt.createElement(_e.Z,{spinning:Ai},ar,lt.createElement("div",{className:Me()(Ne.list,yn)},!!$n.length&&$n.map((ni,An)=>{const{subject_identifier:Cn,id:tt,identifier:pn,power:Zt}=ni,vn=ni.is_public!=0&&ni.is_public;return lt.createElement("div",{className:Ne.wrap,key:tt,style:{width:Dr,marginRight:(1+An)%rr===0?0:Zn+Br,marginBottom:br}},ni.homepage_show&<.createElement("div",{className:Ne.btnsTop},lt.createElement(Ot.default,{color:"red"},"\u7F6E\u9876")),lt.createElement("a",{className:Ne.li,onClick:On=>{On.preventDefault(),yi(ni==null?void 0:ni.first_category_url)&&(ci&&(0,at.L9)([ci]),(0,at.xg)(ni.first_category_url))}},lt.createElement("div",{className:Ne.top},lt.createElement(Je.Z,{title:ni.name},lt.createElement("div",{className:Ne.name},ni.name)),lt.createElement("img",{className:Ne.img,src:st.Z.IMG_SERVER+"/images/"+ni.avatar_url}),lt.createElement("div",{className:Ne.text,title:ni.creator},ni.creator),Cn&<.createElement("div",{className:Ne.btns},lt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),lt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),vn&<.createElement("div",{className:Ne.sign},"\u516C\u5F00"),oo&<.createElement("div",{className:Ne.hidden,onClick:On=>{On.stopPropagation(),Pi(ni)}},lt.createElement("i",{className:`iconfont ${di=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),di=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),lt.createElement("div",{className:Ne.bottom},ni.visits>0&<.createElement(Je.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},lt.createElement("span",null,lt.createElement("i",{className:"iconfont icon-liulanyan"}),lt.createElement("span",null,ni.visits))),ni.course_members_count>0&<.createElement(Je.Z,{title:"\u6210\u5458",placement:"bottom"},lt.createElement("span",null,lt.createElement("i",{className:"iconfont icon-chengyuan"}),ni.course_members_count)),ni.tasks_count>0&<.createElement(Je.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},lt.createElement("span",null,lt.createElement("i",{className:"iconfont icon-zuoye"}),ni.tasks_count)),ni.is_end?lt.createElement("div",{style:{color:"#6B758B"}}):lt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ni.is_accessible&<.createElement("div",{className:Ne.lockWrap},lt.createElement("img",{src:`${st.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),lt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!$n.length&<.createElement(ht.Z,null)))},At={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"},Kt=ae(39074),nt=({dataSource:yn=[],value:$n,onChange:rr,className:Zn,style:br={},tabBarExtraContent:Br})=>x.createElement("div",{className:Me()(At.tabs,Zn),style:br},x.createElement("div",{className:At.tabsWrap},yn.map((Or,ci)=>!(Or!=null&&Or.hide)&&x.createElement("aside",{className:At.tab,onClick:()=>{rr(Or.id),Or.link&&Kt.history.push(Or.link)},key:ci},x.createElement("div",{className:$n===Or.id?At.active:""},Or.name),(Or==null?void 0:Or.resetCount)==null&&(Or==null?void 0:Or.total)!==void 0&&x.createElement("span",null,"\uFF08",Or==null?void 0:Or.total,"\uFF09"),(Or==null?void 0:Or.resetCount)!==void 0&&(Or==null?void 0:Or.total)!==void 0&&x.createElement(Je.Z,{title:(Or==null?void 0:Or.tip)!=null?Or==null?void 0:Or.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},Or==null?void 0:Or.resetCount),"/",x.createElement("span",null,Or==null?void 0:Or.total),"\uFF09"))))),x.createElement("div",{className:At.tabBar},Br)),Rt=({className:yn,style:$n={},children:rr})=>x.createElement("div",{className:Me()(yn),style:$n},rr),hn={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"},Tt=ae(75727),mn=ae(93041);const kt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var an=({sortValue:yn,dropValue:$n,className:rr,onSort:Zn,onDrop:br,dataSource:Br=kt})=>{var Or;return x.createElement("div",{className:Me()(hn.orderWrap,rr)},x.createElement(Tt.Z,{dropdownRender:()=>x.createElement(mn.default,null,Br.map((ci,Ai)=>x.createElement(mn.default.Item,{key:Ai,onClick:()=>br(ci.id)},ci.name)))},x.createElement("span",{className:hn.orderTextWrap},(Or=Br.find(ci=>$n===ci.id))==null?void 0:Or.name)),x.createElement("span",{className:hn.orderIconWrap},x.createElement("span",{className:hn.orderAsc},x.createElement("i",{className:yn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${hn.cursorPointer} ${hn.active}`:`iconfont icon-sanjiaoxing-up font12 ${hn.cursorPointer}`,onClick:()=>Zn(yn==="asc"?"desc":"asc")})),x.createElement("span",{className:hn.orderDesc},x.createElement("i",{className:yn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${hn.cursorPointer} ${hn.active}`:`iconfont icon-sanjiaoxing-down font12 ${hn.cursorPointer}`,onClick:()=>Zn(yn==="asc"?"desc":"asc")}))))},de={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"},ge=ae(7939),ie=Object.defineProperty,ee=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,Be=(yn,$n,rr)=>$n in yn?ie(yn,$n,{enumerable:!0,configurable:!0,writable:!0,value:rr}):yn[$n]=rr,Ge=(yn,$n)=>{for(var rr in $n||($n={}))se.call($n,rr)&&Be(yn,rr,$n[rr]);if(ee)for(var rr of ee($n))le.call($n,rr)&&Be(yn,rr,$n[rr]);return yn},ut=(yn,$n)=>{var rr={};for(var Zn in yn)se.call(yn,Zn)&&$n.indexOf(Zn)<0&&(rr[Zn]=yn[Zn]);if(yn!=null&&ee)for(var Zn of ee(yn))$n.indexOf(Zn)<0&&le.call(yn,Zn)&&(rr[Zn]=yn[Zn]);return rr},mt=(yn,$n,rr)=>new Promise((Zn,br)=>{var Br=Ai=>{try{ci(rr.next(Ai))}catch(di){br(di)}},Or=Ai=>{try{ci(rr.throw(Ai))}catch(di){br(di)}},ci=Ai=>Ai.done?Zn(Ai.value):Promise.resolve(Ai.value).then(Br,Or);ci((rr=rr.apply(yn,$n)).next())}),St=yn=>{var $n=yn,{className:rr,style:Zn,children:br,loading:Br=!1,openLoading:Or,onClick:ci=()=>{},size:Ai="middle",shape:di="round"}=$n,Pi=ut($n,["className","style","children","loading","openLoading","onClick","size","shape"]);const[yi,oo]=(0,x.useState)(!1);return x.createElement(ge.ZP,Ge({onClick:(0,fe.throttle)(Gi=>mt(void 0,null,function*(){Or&&oo(!0);try{yield ci(Gi)}catch(ar){console.log("error",ar)}Or&&oo(!1)}),2e3,{leading:!0,trailing:!1}),className:Me()(de.btn,de[`${Ai}-${di}`],rr),style:Zn,size:Ai,shape:di,loading:yi||Br},Pi),br)},Dt={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"},xt=({className:yn,style:$n,children:rr=null,onClick:Zn,title:br})=>x.createElement("div",{className:Me()(Dt.head,yn),style:$n},x.createElement("span",{className:"primary-hover",onClick:Zn},x.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),x.createElement("b",{title:br},br),x.createElement("div",{className:Dt.node},rr)),ct={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"},Wt=({confirmShow:yn=!0,confirmTitle:$n,confirmClick:rr,cancelShow:Zn=!0,cancelTitle:br,cancelClick:Br,className:Or,style:ci,confirmLoading:Ai=!1})=>x.createElement("div",{className:Me()(ct.btns,Or),style:ci},yn&&x.createElement(ge.ZP,{loading:Ai,onClick:rr,type:"primary",className:ct.confirm},$n),Zn&&x.createElement(ge.ZP,{onClick:Br,className:ct.cancel},br)),wn={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"},nn=({className:yn,style:$n={},LeftContent:rr,children:Zn,RightContent:br})=>x.createElement("div",{className:Me()(wn.fixedBottom,yn),style:$n},x.createElement("div",{className:wn.wrap},x.createElement("div",{className:wn.left},rr),x.createElement("div",{className:wn.center},Zn),x.createElement("div",{className:wn.right},br))),zn={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"},_t=({className:yn,style:$n={},dataSource:rr=[]})=>x.createElement("div",{className:Me()(zn.crumbs,yn),style:$n},rr.map((Zn,br)=>brKt.history.push(Zn.path)},Zn.name):x.createElement("span",null,Zn.name),x.createElement("span",null,"\xA0",">","\xA0")):x.createElement("span",{key:br,style:{color:"#5F6368"}},Zn.name))),un=ae(11938),Pn=Object.defineProperty,Vn=Object.defineProperties,Lt=Object.getOwnPropertyDescriptors,Gt=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,Yn=(yn,$n,rr)=>$n in yn?Pn(yn,$n,{enumerable:!0,configurable:!0,writable:!0,value:rr}):yn[$n]=rr,pr=(yn,$n)=>{for(var rr in $n||($n={}))sn.call($n,rr)&&Yn(yn,rr,$n[rr]);if(Gt)for(var rr of Gt($n))bn.call($n,rr)&&Yn(yn,rr,$n[rr]);return yn},ti=(yn,$n)=>Vn(yn,Lt($n)),si=(yn,$n)=>{var rr={};for(var Zn in yn)sn.call(yn,Zn)&&$n.indexOf(Zn)<0&&(rr[Zn]=yn[Zn]);if(yn!=null&&Gt)for(var Zn of Gt(yn))$n.indexOf(Zn)<0&&bn.call(yn,Zn)&&(rr[Zn]=yn[Zn]);return rr};const{Countdown:Cr}=un.default;var dr=yn=>{var $n=yn,{onChange:rr}=$n,Zn=si($n,["onChange"]);const[br,Br]=(0,x.useState)(null);(0,x.useEffect)(()=>{typeof br=="number"&&br>=0&&rr(br)},[br]);const Or=ci=>{const Ai=Math.floor(ci/1e3);Br(Ai)};return x.createElement(Cr,ti(pr({},Zn),{onChange:Or}))}},28122:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return dt}});var x=ae(59301);function dt(Le,qe){const He=(0,x.useRef)();(0,x.useEffect)(()=>{He.current=Le}),(0,x.useEffect)(()=>{function Fe(){He.current()}if(qe!==null){let Me=setInterval(Fe,qe);return()=>clearInterval(Me)}},[qe])}},25099:function(Xn,Mt,ae){"use strict";ae.r(Mt),ae.d(Mt,{default:function(){return Xi}});var x=ae(59301),dt=ae(66649),Le=ae.n(dt),qe=ae(86129),He=ae.n(qe),Fe=ae(769),Me=ae(39074),fe=ae(62957),xe=ae(6767),oe=ae(458),Pe=ae(91882),ye=ae(77019),Re=ae(5269),Se=ae(7939),Ie=ae(25399),ve=ae(37285),we=ae(37568),Ee=ae(70858),Oe=ae(82326),Ke=ae(31709),je=ae(27812),_e=ae(95869),Je=ae(87169),Ve=ae(26227),st=ae(88018),at=ae(91587),ht=ae(15936),Ct=ae(42441),ze={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt",pingjia:"pingjia___X_ooM",pj_close:"pj_close___PHP4h",pj_save:"pj_save___COfQy",fa:"fa____jywp"},pt={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Ne=({shixunHomeworks:Er,data:tn,globalSetting:$t,loading:jn,dispatch:lr})=>{var gr;const{shixunWorkReport:Ir}=Er;let Kr=((gr=tn==null?void 0:tn.efficiency_list)==null?void 0:gr.length)-parseInt(tn==null?void 0:tn.myself_eff[0]);const zr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(Ci){return Ci.name===Ir.username?"\u59D3\u540D\uFF1A"+Ir.username+"
\u5B66\u53F7\uFF1A "+Ir.user_id+"
\u6548\u7387\uFF1A"+(tn==null?void 0:tn.myself_eff[1]):Ci.name+":"+Ci.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:tn==null?void 0:tn.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Ir.username,xAxis:Kr,yAxis:tn==null?void 0:tn.myself_eff[1],value:tn==null?void 0:tn.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),pi=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(Ci){var xi=Ci.value;if(Ci.name===Ir.username)return"\u59D3\u540D\uFF1A"+Ir.username+"
\u5B66\u53F7\uFF1A "+Ir.user_id+"
\u5F97\u5206\uFF1A"+(tn==null?void 0:tn.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:pt,data:tn==null?void 0:tn.consume_list,symbolSize:function(Ci){return Math.round(Ci[2])},markPoint:{data:[{name:Ir.username,xAxis:tn==null?void 0:tn.myself_object[0],yAxis:tn==null?void 0:tn.myself_object[1],value:tn==null?void 0:tn.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return x.createElement(x.Fragment,null,x.createElement("aside",{className:"ml60 pr30"},x.createElement(ye.Z,null,x.createElement(Re.Z,{flex:"800px"},x.createElement(Ct.Z,{style:{width:750,height:580},option:zr()})),x.createElement(Re.Z,{flex:"1"},x.createElement("aside",{className:ze.rightInfo},x.createElement("ul",null,x.createElement("li",null,x.createElement("span",null,"\u59D3\u540D")," ",x.createElement("span",{className:"ml30"},Ir.username)),x.createElement("li",null,x.createElement("span",null,"\u5B66\u53F7")," ",x.createElement("span",{className:"ml30"},Ir.student_id||"--")),x.createElement("li",null,x.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",x.createElement("span",{className:"ml30 c-orange"},tn==null?void 0:tn.myself_eff[1])),x.createElement("li",null,x.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",x.createElement("span",{className:"ml30 c-orange"},tn==null?void 0:tn.myself_eff[0]))),x.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",x.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",x.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",x.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),x.createElement("aside",{className:"ml60 pr30"},x.createElement(ye.Z,null,x.createElement(Re.Z,{flex:"800px"},x.createElement(Ct.Z,{style:{width:750,height:580},option:pi()})),x.createElement(Re.Z,{flex:"1"},x.createElement("aside",{className:ze.rightInfo},x.createElement("ul",null,x.createElement("li",null,x.createElement("span",null,"\u59D3\u540D")," ",x.createElement("span",{className:"ml30"},Ir.username)),x.createElement("li",null,x.createElement("span",null,"\u5B66\u53F7")," ",x.createElement("span",{className:"ml30"},Ir.student_id||"--")),x.createElement("li",null,x.createElement("span",null,"\u80FD\u529B")," ",x.createElement("span",{className:"ml30 c-orange"},tn==null?void 0:tn.myself_object[1]))),x.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",x.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",x.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",x.createElement("br",null)))))))};var Qe=(0,Me.connect)(({shixunHomeworks:Er,loading:tn,globalSetting:$t})=>({shixunHomeworks:Er,globalSetting:$t,loading:tn.effects}))(Ne),Ot=ae(13933),ot=ae(4875),lt=({defaultValue:Er,onBlur:tn,max:$t,className:jn="game-score",style:lr,disabled:gr=!1})=>{const[Ir,Kr]=(0,x.useState)(Er);(0,x.useEffect)(()=>{Kr(Er)},[Er]);function zr(Ci){Kr(Ci)}function pi(){Ir!==Er&&tn(Ir>$t?$t:Ir)}return x.createElement(ot.Z,{max:$t,min:0,className:jn,style:lr,value:Ir,disabled:gr,onChange:zr,onBlur:pi})},Bt=ae(67436),We={md:"md___TEmcT"},ke=ae(59301),At=Object.defineProperty,Kt=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,Pt=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,hn=(Er,tn,$t)=>tn in Er?At(Er,tn,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Er[tn]=$t,Tt=(Er,tn)=>{for(var $t in tn||(tn={}))Pt.call(tn,$t)&&hn(Er,$t,tn[$t]);if(nt)for(var $t of nt(tn))Rt.call(tn,$t)&&hn(Er,$t,tn[$t]);return Er},mn=(Er,tn)=>Kt(Er,Ht(tn));const kt=Oe.default.Option,Fn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var an=(Er=>(Er[Er.SET_PATH=0]="SET_PATH",Er[Er.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Er))(an||{});function de(Er,tn){switch(tn.type){case 0:return mn(Tt({},Er),{selectedPath:tn.payload});case 1:return mn(Tt({},Er),{passedContent:tn.payload});default:throw new Error}}var ge=({path:Er,game_id:tn,onPathChange:$t,autoHeight:jn,diff_code_count:lr,data:gr,game_codes_cn:Ir})=>{var Kr,zr,pi,Ci;const xi=Er.split("\uFF1B").filter(ai=>!!ai),[hi,Ii]=(0,x.useReducer)(de,{selectedPath:xi[0],passedContent:{language:"python",content:""}}),{selectedPath:Di,passedContent:$i}=hi;function no(ai){Ii({type:0,payload:ai})}const Hi={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return ke.createElement(ke.Fragment,null,ke.createElement("h2",null," ",ke.createElement("span",null,Ir,ke.createElement(Ie.Z,{title:ke.createElement("div",null,ke.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),ke.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),ke.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),ke.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},ke.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),lr&&ke.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",lr),ke.createElement("span",null,ke.createElement(Oe.default,{style:{width:200},value:Di,onChange:no}," ",xi.map(ai=>ke.createElement(kt,{key:ai,value:ai},ai))," "))," "),(Di==null?void 0:Di.split(".")[1])==="md"&&ke.createElement(Bt.Z,{height:300,autoHeight:jn,defaultValue:((zr=(Kr=gr==null?void 0:gr.filter(ai=>ai.path===Di))==null?void 0:Kr[0])==null?void 0:zr.content)||"",className:We.md}),(Di==null?void 0:Di.split(".")[1])!=="md"&&ke.createElement(Ot.ZP,{height:300,language:$i.language,value:((Ci=(pi=gr==null?void 0:gr.filter(ai=>ai.path===Di))==null?void 0:pi[0])==null?void 0:Ci.content)||"",autoHeight:jn,theme:"default",isCopy:!0,options:Fn}))},ie=ae(49704),ee=ae(96249),se=ae.n(ee),le=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,mt=(Er,tn,$t)=>tn in Er?le(Er,tn,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Er[tn]=$t,vt=(Er,tn)=>{for(var $t in tn||(tn={}))Ge.call(tn,$t)&&mt(Er,$t,tn[$t]);if(Be)for(var $t of Be(tn))ut.call(tn,$t)&&mt(Er,$t,tn[$t]);return Er};const St=Er=>React.createElement("svg",vt({className:"scai_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},Er),React.createElement("path",{d:"M512 327.68c245.76 0 445.44 153.6 445.44 348.16C957.44 870.4 757.76 1024 512 1024c-245.76-5.12-445.44-153.6-445.44-348.16 0-194.56 199.68-348.16 445.44-348.16z",fill:"#DBDCFF"}),React.createElement("path",{d:"M645.12 947.2c117.76-10.24 158.72-143.36 163.84-266.24 0-128-128-174.08-291.84-174.08-163.84 0-291.84 46.08-291.84 174.08 0 112.64 35.84 240.64 143.36 261.12 30.72 5.12 261.12 10.24 276.48 5.12z",fill:"#111ACC"}),React.createElement("path",{d:"M404.48 686.08c15.36 0 25.6 10.24 25.6 25.6v61.44c0 15.36-10.24 25.6-25.6 25.6-15.36 0-25.6-10.24-25.6-25.6v-61.44c-5.12-10.24 10.24-25.6 25.6-25.6zm220.16 0c15.36 0 25.6 10.24 25.6 25.6v61.44c0 15.36-10.24 25.6-25.6 25.6-15.36 0-25.6-10.24-25.6-25.6v-61.44c0-10.24 10.24-25.6 25.6-25.6z",fill:"#FFF"}),React.createElement("path",{d:"M916.48 527.36c56.32 0 107.52 71.68 107.52 153.6 0 87.04-61.44 153.6-117.76 153.6 0 0 51.2-76.8 51.2-158.72s-40.96-148.48-40.96-148.48zm-808.96 5.12-5.12 5.12c-10.24 20.48-35.84 76.8-35.84 138.24 0 76.8 35.84 138.24 51.2 158.72C61.44 834.56 0 768 0 680.96c0-81.92 51.2-148.48 107.52-148.48z",fill:"#8187FF"}),React.createElement("path",{d:"M512 0c20.48 0 30.72 15.36 30.72 30.72v220.16c0 20.48-15.36 30.72-30.72 30.72s-30.72-10.24-30.72-30.72V30.72C481.28 15.36 496.64 0 512 0z",fill:"#701CDC"}),React.createElement("path",{d:"M384 46.08c20.48 0 30.72 15.36 30.72 30.72v133.12c0 20.48-15.36 30.72-30.72 30.72s-35.84-15.36-35.84-30.72V76.8c0-20.48 15.36-30.72 35.84-30.72z",fill:"#371CDC"}),React.createElement("path",{d:"M645.12 46.08c20.48 0 30.72 15.36 30.72 30.72v133.12c0 20.48-15.36 30.72-30.72 30.72s-30.72-15.36-30.72-30.72V76.8c0-20.48 15.36-30.72 30.72-30.72z",fill:"#AB2FF0"}),React.createElement("path",{d:"M250.88 87.04c20.48 0 30.72 15.36 30.72 30.72v46.08c0 20.48-15.36 30.72-30.72 30.72s-35.84-10.24-35.84-30.72v-40.96c0-20.48 15.36-35.84 35.84-35.84z",fill:"#6D57F2"}),React.createElement("path",{d:"M778.24 87.04c20.48 0 30.72 15.36 30.72 30.72v46.08c0 20.48-15.36 30.72-30.72 30.72s-30.72-15.36-30.72-30.72v-40.96c0-20.48 15.36-35.84 30.72-35.84z",fill:"#C86FFA"}));var Dt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMzI3LjY4YzI0NS43NiAwIDQ0NS40NCAxNTMuNiA0NDUuNDQgMzQ4LjE2Qzk1Ny40NCA4NzAuNCA3NTcuNzYgMTAyNCA1MTIgMTAyNGMtMjQ1Ljc2LTUuMTItNDQ1LjQ0LTE1My42LTQ0NS40NC0zNDguMTYgMC0xOTQuNTYgMTk5LjY4LTM0OC4xNiA0NDUuNDQtMzQ4LjE2eiIgZmlsbD0iI0RCRENGRiIvPjxwYXRoIGQ9Ik02NDUuMTIgOTQ3LjJjMTE3Ljc2LTEwLjI0IDE1OC43Mi0xNDMuMzYgMTYzLjg0LTI2Ni4yNCAwLTEyOC0xMjgtMTc0LjA4LTI5MS44NC0xNzQuMDgtMTYzLjg0IDAtMjkxLjg0IDQ2LjA4LTI5MS44NCAxNzQuMDggMCAxMTIuNjQgMzUuODQgMjQwLjY0IDE0My4zNiAyNjEuMTIgMzAuNzIgNS4xMiAyNjEuMTIgMTAuMjQgMjc2LjQ4IDUuMTJ6IiBmaWxsPSIjMTExQUNDIi8+PHBhdGggZD0iTTQwNC40OCA2ODYuMDhjMTUuMzYgMCAyNS42IDEwLjI0IDI1LjYgMjUuNnY2MS40NGMwIDE1LjM2LTEwLjI0IDI1LjYtMjUuNiAyNS42LTE1LjM2IDAtMjUuNi0xMC4yNC0yNS42LTI1LjZ2LTYxLjQ0Yy01LjEyLTEwLjI0IDEwLjI0LTI1LjYgMjUuNi0yNS42em0yMjAuMTYgMGMxNS4zNiAwIDI1LjYgMTAuMjQgMjUuNiAyNS42djYxLjQ0YzAgMTUuMzYtMTAuMjQgMjUuNi0yNS42IDI1LjYtMTUuMzYgMC0yNS42LTEwLjI0LTI1LjYtMjUuNnYtNjEuNDRjMC0xMC4yNCAxMC4yNC0yNS42IDI1LjYtMjUuNnoiIGZpbGw9IiNGRkYiLz48cGF0aCBkPSJNOTE2LjQ4IDUyNy4zNmM1Ni4zMiAwIDEwNy41MiA3MS42OCAxMDcuNTIgMTUzLjYgMCA4Ny4wNC02MS40NCAxNTMuNi0xMTcuNzYgMTUzLjYgMCAwIDUxLjItNzYuOCA1MS4yLTE1OC43MnMtNDAuOTYtMTQ4LjQ4LTQwLjk2LTE0OC40OHptLTgwOC45NiA1LjEyLTUuMTIgNS4xMmMtMTAuMjQgMjAuNDgtMzUuODQgNzYuOC0zNS44NCAxMzguMjQgMCA3Ni44IDM1Ljg0IDEzOC4yNCA1MS4yIDE1OC43MkM2MS40NCA4MzQuNTYgMCA3NjggMCA2ODAuOTZjMC04MS45MiA1MS4yLTE0OC40OCAxMDcuNTItMTQ4LjQ4eiIgZmlsbD0iIzgxODdGRiIvPjxwYXRoIGQ9Ik01MTIgMGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjIyMC4xNmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xMC4yNC0zMC43Mi0zMC43MlYzMC43MkM0ODEuMjggMTUuMzYgNDk2LjY0IDAgNTEyIDB6IiBmaWxsPSIjNzAxQ0RDIi8+PHBhdGggZD0iTTM4NCA0Ni4wOGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjEzMy4xMmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zNS44NC0xNS4zNi0zNS44NC0zMC43MlY3Ni44YzAtMjAuNDggMTUuMzYtMzAuNzIgMzUuODQtMzAuNzJ6IiBmaWxsPSIjMzcxQ0RDIi8+PHBhdGggZD0iTTY0NS4xMiA0Ni4wOGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjEzMy4xMmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xNS4zNi0zMC43Mi0zMC43MlY3Ni44YzAtMjAuNDggMTUuMzYtMzAuNzIgMzAuNzItMzAuNzJ6IiBmaWxsPSIjQUIyRkYwIi8+PHBhdGggZD0iTTI1MC44OCA4Ny4wNGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjQ2LjA4YzAgMjAuNDgtMTUuMzYgMzAuNzItMzAuNzIgMzAuNzJzLTM1Ljg0LTEwLjI0LTM1Ljg0LTMwLjcydi00MC45NmMwLTIwLjQ4IDE1LjM2LTM1Ljg0IDM1Ljg0LTM1Ljg0eiIgZmlsbD0iIzZENTdGMiIvPjxwYXRoIGQ9Ik03NzguMjQgODcuMDRjMjAuNDggMCAzMC43MiAxNS4zNiAzMC43MiAzMC43MnY0Ni4wOGMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xNS4zNi0zMC43Mi0zMC43MnYtNDAuOTZjMC0yMC40OCAxNS4zNi0zNS44NCAzMC43Mi0zNS44NHoiIGZpbGw9IiNDODZGRkEiLz48L3N2Zz4=",Qt=ae(48610),xt=ae(89826),ct=ae(10965),Xt=ae(84397),Wt=ae(48826),wn=ae(53052);const ln=({shixunHomeworks:Er,classroomList:tn,items:$t,dispatch:jn})=>{var lr;const{shixunWorkReport:gr}=Er,Ir=(0,x.useRef)(null),[Kr,zr]=(0,x.useState)(!1),[pi,Ci]=(0,x.useState)(!1);(0,x.useEffect)(()=>{if(Ir.current)return Ir.current.addEventListener("mousedown",xi),()=>{var hi;(hi=Ir.current)==null||hi.removeEventListener("mousedown",xi)}},[Ir.current]),(0,x.useEffect)(()=>{setTimeout(()=>{Ir.current&&Ir.current.clientHeight>=500&&zr(!0)},500)},[(lr=gr==null?void 0:gr.student_work_test_result_info)==null?void 0:lr.content,Ir.current]);function xi(hi){const Ii=(no,Hi)=>{if(no.localName===Hi)return no;for(let ai=0,ao=no;ao=ao.parentNode;ai++){if(ao.localName===Hi)return ao;if(ao==document.documentElement)return!1}},Di=hi.target,$i=Ii(Di,"a");if(console.log([$i],$i==null?void 0:$i.href,44),!($i!=null&&$i.href)&&Di.tagName.toUpperCase()==="IMG"){let no=Di.src||Di.getAttribute("src");no&&no.indexOf("/images/avatars/User")===-1&&(hi.stopPropagation(),hi.preventDefault(),Xt.Z.publish("preview-image",no))}}return x.createElement("div",null,(gr==null?void 0:gr.is_open_submit_test_result)&&x.createElement(x.Fragment,null,x.createElement(ct.Z,null),x.createElement("strong",{className:"c-black font14"},"\u5B9E\u9A8C\u7ED3\u679C"),$t?x.createElement("div",{style:{marginTop:10},className:""},x.createElement("div",{className:"py-20px px-36px",style:{background:"#F6F7F9"}},x.createElement("div",{ref:Ir,style:{maxHeight:!pi&&"500px",overflow:"hidden"}},x.createElement(xt.Z,{value:$t==null?void 0:$t.content})),Kr&&x.createElement("div",{className:"w-full current",onClick:()=>{Ci(!pi)}},x.createElement(ve.Z,{variant:"dashed",style:{borderColor:"#3061D0",marginBottom:"0px"},dashed:!0},x.createElement("span",{style:{color:"#3061D0"}},pi?"\u6536\u8D77":"\u5C55\u5F00")))),x.createElement(Wt.Z,{className:"px-36px",showDimensions:!1,dataSource:$t==null?void 0:$t.test_result_files,callback:()=>{}})):x.createElement(wn.Z,{customText:"\u5B66\u751F\u672A\u63D0\u4EA4\u5B9E\u9A8C\u7ED3\u679C"})))};var nn=(0,Me.connect)(({shixunHomeworks:Er,loading:tn,globalSetting:$t,classroomList:jn})=>({shixunHomeworks:Er,globalSetting:$t,loading:tn.effects,classroomList:jn}))(ln),zn=ae(57579),Ln=ae(49877),_t=Object.defineProperty,un=Object.defineProperties,Pn=Object.getOwnPropertyDescriptors,Vn=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,sn=(Er,tn,$t)=>tn in Er?_t(Er,tn,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Er[tn]=$t,bn=(Er,tn)=>{for(var $t in tn||(tn={}))Lt.call(tn,$t)&&sn(Er,$t,tn[$t]);if(Vn)for(var $t of Vn(tn))Gt.call(tn,$t)&&sn(Er,$t,tn[$t]);return Er},Yn=(Er,tn)=>un(Er,Pn(tn)),pr=(Er,tn,$t)=>new Promise((jn,lr)=>{var gr=zr=>{try{Kr($t.next(zr))}catch(pi){lr(pi)}},Ir=zr=>{try{Kr($t.throw(zr))}catch(pi){lr(pi)}},Kr=zr=>zr.done?jn(zr.value):Promise.resolve(zr.value).then(gr,Ir);Kr(($t=$t.apply(Er,tn)).next())});const ti=({shixunHomeworks:Er,autoHeight:tn,classroomList:$t,dispatch:jn})=>{var lr,gr,Ir,Kr,zr,pi,Ci,xi;const{shixunWorkReport:hi}=Er,{stage_list:Ii,work_id:Di,ai_code_evaluation_promote:$i}=hi,[no,Hi]=(0,x.useState)(!1),[ai,ao]=(0,x.useState)(!0),[ki,So]=(0,x.useState)({left:0,top:0,bottom:0,right:0}),uo=(0,x.useRef)(null),[Do,Co]=(0,x.useState)(!1),[to,Mo]=(0,x.useState)(""),[Go,zo]=(0,x.useState)({}),No=(0,x.useRef)(null),zi=(Wr,Ji)=>{var xo;const{clientWidth:ba,clientHeight:Xa}=window.document.documentElement,ns=(xo=uo.current)==null?void 0:xo.getBoundingClientRect();ns&&So({left:-ns.left+Ji.x,right:ba-(ns.right-Ji.x),top:-ns.top+Ji.y,bottom:Xa-(ns.bottom-Ji.y)})},Vt=(0,Me.useParams)(),$r=(0,at.GJ)(),ui={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,x.useEffect)(()=>{console.log(Vt)},[]);const Zr=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Wr,Ji,xo)=>x.createElement("div",null,Wr,Ji.is_work_end_evaluate&&x.createElement(ht.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:Wr=>Le()(Wr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Wr,Ji)=>x.createElement("span",{className:"c-blue current",onClick:()=>pr(void 0,null,function*(){var xo,ba;const Xa=yield(0,ie.Lk)(Ji.game_identifier,{path:(ba=(xo=Ji.path)==null?void 0:xo.replace(/\;/g,";"))==null?void 0:ba.split(";")[0],query_index:Ji.query_index,homework_common_id:Vt.categoryId});(Xa==null?void 0:Xa.status)===0&&(Co(Xa),Hi(!0))})},Ji.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Ri=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Wr,Ji)=>{var xo;return x.createElement("span",null,x.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:st.Z.IMG_SERVER+"/images/"+((xo=Ji==null?void 0:Ji.user)==null?void 0:xo.image_url)}),Wr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Wr=>x.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Wr=>x.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Wr=>x.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Wr?Le()(Wr).format("YYYY-MM-DD HH:mm"):"--")}];function ro(Wr,Ji){return pr(this,null,function*(){const{challenge_id:xo}=Ii[Wr],ba=yield jn({type:"shixunHomeworks/changeScore",payload:{categoryId:Vt.homeworkId,type:"report",score:Ji,challenge_id:xo}});yield jn({type:"shixunHomeworks/getShixunWorkReport",payload:bn({},Vt)}),ba.status===0&&xe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function jr(Wr,Ji){return(0,Fe.U2)(`student_works/${Di}/rep_passed_content.json`,{path:Ji,game_id:Wr})}const[Yr,Bi]=(0,x.useState)((lr=hi==null?void 0:hi.shixun_detail)==null?void 0:lr.map(Wr=>Yn(bn({},Wr),{commentEdit:!1}))),_i=Wr=>Wr.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[Ro,ya]=(0,x.useState)(!1),$o=(Wr,Ji)=>pr(void 0,null,function*(){var xo,ba;ya(!0),No.current=new Qt.Z(st.Z.API_SERVER+"/api/stream/intelligent_imports/chat_messages.json",{response_mode:"streaming",model:"qwen-plus-latest",scene_awareness:!1,thinking_enabled:!1,image_generator:!1,file_ids:[],history:[],prompt:$i,shixun_id:hi==null?void 0:hi.myshixun_identifier,game_id:Wr==null?void 0:Wr.id,source:"shixun",is_chat:!1,type:9,description:Wr==null?void 0:Wr.challenge_description,query:(ba=(xo=Wr==null?void 0:Wr.game_codes)==null?void 0:xo[0])==null?void 0:ba.content,homework_common_id:Vt.categoryId}),yield new Promise((Xa,ns)=>{No.current.on("data",Ta=>{const Za=[...Yr];Za[Ji].comment=_i(Ta==null?void 0:Ta.full),Bi(Za)}),No.current.on("done",()=>pr(void 0,null,function*(){var Ta;ya(!1);const Za=[...Yr],Fo=yield(0,Fe.ZP)(`/api/student_works/${Vt==null?void 0:Vt.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Wr==null?void 0:Wr.challenge_id,comment:Za[Ji].comment}});if((Fo==null?void 0:Fo.status)==0){xe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const vo=[...Yr];vo[Ji].comment_updated_at=(Ta=Fo==null?void 0:Fo.data)==null?void 0:Ta.comment_updated_at,Bi(vo)}})),No.current.startStream()})}),Ea=(0,x.useRef)(null),da=(0,x.useRef)(!1),wa=Wr=>pr(void 0,null,function*(){return!Wr||da.current?!1:(Ea.current&&clearTimeout(Ea.current),new Promise(Ji=>{Ea.current=setTimeout(()=>pr(void 0,null,function*(){da.current=!0;try{const xo=yield(0,Fe.ZP)(`/api/myshixuns/${Wr}/version_repository_delete.json`,{method:"get"});xo!=null&&xo.delete_expired?Ji(!0):Ji(!1)}catch(xo){Ji(!1)}finally{da.current=!1}}),300)}))});return x.createElement(x.Fragment,null,Yr==null?void 0:Yr.map(function(Wr,Ji){var xo,ba,Xa,ns,Ta,Za,Fo;const vo=!!((xo=Wr==null?void 0:Wr.game_extension_attachments)!=null&&xo.length);return x.createElement("div",{key:Ji},x.createElement("aside",{className:"pl30 pr30",key:Ji},x.createElement("div",{className:`${ze.shixunTitle} mt10`},x.createElement("div",null,x.createElement("span",{className:"fa fa-code "}),x.createElement("strong",{className:"c-black"},"\u7B2C",Ji+1,"\u5173",x.createElement("span",{style:{cursor:"pointer",marginLeft:"3px"},onClick:()=>pr(this,null,function*(){(yield wa(Wr.myshixun_id))?jn({type:"shixunHomeworks/setActionTabs",payload:{key:"\u91CD\u7F6E\u4ED3\u5E93\u63D0\u793A",params:{roleInfo:Wr.myshixun_id},goToBack:()=>{},goToDetail:()=>pr(this,null,function*(){(0,ht.xg)(`/tasks/${Vt.coursesId}/${Vt.categoryId}/${Wr.game_identifier}`)})}}):(0,ht.xg)(`/tasks/${Vt.coursesId}/${Vt.categoryId}/${Wr.game_identifier}`)})},Wr.subject))),$r?x.createElement("span",null,"\u8C03\u5206\uFF1A",x.createElement(lt,{className:"game-score",max:Ii[Ji].game_score_full,defaultValue:Ii[Ji].game_score,disabled:!((ba=Ii==null?void 0:Ii[Ji])!=null&&ba.checked)&&((Xa=Ii==null?void 0:Ii[Ji])==null?void 0:Xa.is_show),onBlur:qo=>{var ja;if((0,at.Rm)()&&!((ja=$t.AssistantObject.practice)!=null&&ja.can_appraise)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ro(Ji,qo)}})):null),vo&&x.createElement("div",{className:"font16 mt10 mb10"},x.createElement("div",null,"\u5B66\u5458\u97F3\u9891\u6587\u4EF6"),x.createElement("a",{className:"current",onClick:()=>{var qo,ja,ls,Fs;zo({url:st.Z.API_SERVER+((ja=(qo=Wr==null?void 0:Wr.game_extension_attachments)==null?void 0:qo[0])==null?void 0:ja.url),file_type:(Fs=(ls=Wr==null?void 0:Wr.game_extension_attachments)==null?void 0:ls[0])==null?void 0:Fs.file_type})}},(Ta=(ns=Wr==null?void 0:Wr.game_extension_attachments)==null?void 0:ns[0])==null?void 0:Ta.title)),!vo&&x.createElement(x.Fragment,null,x.createElement("div",{className:"font16 mt10"},Wr.st===0&&(Wr.path?typeof(Wr==null?void 0:Wr.game_codes_cn)=="string"?x.createElement("aside",{className:ze.shixunWrp},x.createElement(ge,{game_codes_cn:Wr==null?void 0:Wr.game_codes_cn,autoHeight:tn,path:Wr.path,game_id:Wr.id,data:Wr.game_codes,diff_code_count:Wr.diff_code_count,onPathChange:jr})):x.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Wr.st===1&&(Wr.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),x.createElement("aside",{className:"mt10 font16"},(Za=Wr.outputs)!=null&&Za.length?x.createElement(Ee.default,{columns:Zr,pagination:{hideOnSinglePage:!0},dataSource:Wr.outputs.map(qo=>bn(bn({},Wr),qo))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55")),x.createElement(nn,{items:Wr==null?void 0:Wr.student_work_test_result_info}),x.createElement("aside",{className:"mt10"},x.createElement("div",null,x.createElement("div",{style:{display:"flex",alignItems:"center"}},x.createElement("strong",{className:"c-black font14"},"\u4EE3\u7801\u8BC4\u4EF7"),!(Wr!=null&&Wr.commentEdit)&&!(0,at.dE)()&&(Wr!=null&&Wr.comment?x.createElement(x.Fragment,null,x.createElement("div",{style:{color:"#666666",fontSize:"12px",marginLeft:"auto"}},"\u6700\u65B0\u8BC4\u4EF7\u65F6\u95F4\uFF1A",Wr!=null&&Wr.comment_updated_at?Le()(Wr==null?void 0:Wr.comment_updated_at).format("YYYY-MM-DD HH:mm:ss"):"--"),x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"40px",cursor:"pointer"},onClick:()=>pr(this,null,function*(){Ro?xe.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):fe.default.confirm({title:"\u63D0\u793A",content:"\u786E\u8BA4\u662F\u5426\u91CD\u65B0\u751F\u6210\u8BC4\u8BBA\uFF1F",okText:"\u786E\u8BA4",icon:null,cancelText:"\u53D6\u6D88",onOk:()=>pr(this,null,function*(){$o(Wr,Ji)})})})},x.createElement("i",{className:"iconfont icon-zhongxinshengcheng1 mr8 font14"}),"\u91CD\u65B0\u751F\u6210")):x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"auto",cursor:"pointer"},onClick:()=>pr(this,null,function*(){Ro?xe.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):$o(Wr,Ji)})},x.createElement("img",{src:Dt,className:"mr8"}),"\u4E00\u952EAI\u751F\u6210")),!(Wr!=null&&Wr.commentEdit)&&!(0,at.dE)()&&x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"20px",cursor:"pointer"},onClick:()=>{const qo=[...Yr];qo[Ji].commentEdit=!0,Bi(qo),Mo(Wr==null?void 0:Wr.comment)}},x.createElement("i",{className:"iconfont icon-bianji-moren mr8 font14"}),"\u7F16\u8F91"),(Wr==null?void 0:Wr.commentEdit)&&x.createElement(x.Fragment,null,x.createElement("div",{className:ze.pj_close,onClick:()=>{const qo=[...Yr];qo[Ji].commentEdit=!1,Bi(qo)}},"\u53D6\u6D88"),x.createElement("div",{className:ze.pj_save,onClick:()=>pr(this,null,function*(){var qo;const ja=yield(0,Fe.ZP)(`/api/student_works/${Vt==null?void 0:Vt.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Wr==null?void 0:Wr.challenge_id,comment:to}});if((ja==null?void 0:ja.status)==0){xe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const ls=[...Yr];ls[Ji].commentEdit=!1,ls[Ji].comment=to,ls[Ji].comment_updated_at=(qo=ja==null?void 0:ja.data)==null?void 0:qo.comment_updated_at,Bi(ls)}})},"\u4FDD\u5B58"))),!(Wr!=null&&Wr.commentEdit)&&x.createElement("div",{className:ze.pingjia},Wr!=null&&Wr.comment?x.createElement(xt.Z,{value:Wr==null?void 0:Wr.comment,style:{fontSize:"14px"}}):"\u6682\u65E0\u8BC4\u4EF7~"),(Wr==null?void 0:Wr.commentEdit)&&x.createElement(we.default.TextArea,{defaultValue:to,style:{borderRadius:"5px",marginTop:"10px"},rows:5,onChange:qo=>Mo(qo.target.value)}))),x.createElement("aside",{className:"mt10 font16"},((Fo=Wr==null?void 0:Wr.adjust_review_score_list)==null?void 0:Fo.length)>0&&(0,at.GJ)()&&x.createElement("div",null,x.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),x.createElement(Ee.default,{columns:Ri,pagination:{hideOnSinglePage:!0},dataSource:Wr.adjust_review_score_list,showHeader:!1})))))}),x.createElement(fe.default,{open:no,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Co({}),Hi(!1)},onCancel:()=>{Co({}),Hi(!1)},title:x.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{ai&&ao(!1)},onMouseOut:()=>{ao(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Wr=>x.createElement(se(),{disabled:ai,bounds:ki,nodeRef:uo,onStart:(Ji,xo)=>zi(Ji,xo)},x.createElement("div",{ref:uo},Wr))},x.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},x.createElement("div",{style:{display:"flex",alignItems:"center"}},((gr=Do==null?void 0:Do.data)==null?void 0:gr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?x.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):x.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),x.createElement("div",{style:{color:((Ir=Do==null?void 0:Do.data)==null?void 0:Ir.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Kr=Do==null?void 0:Do.data)==null?void 0:Kr.output_detail)),x.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Le()((zr=Do==null?void 0:Do.data)==null?void 0:zr.created_at).format("YYYY-MM-DD HH:mm:ss"))),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(pi=Do==null?void 0:Do.data)==null?void 0:pi.ts_time,"s")),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Ci=Do==null?void 0:Do.data)==null?void 0:Ci.ts_mem,"mb")),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((xi=Do==null?void 0:Do.data)==null?void 0:xi.test_set_passed_rate)*100,"%")))),x.createElement(Ot.ZP,{height:500,autoHeight:tn,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((Do==null?void 0:Do.content)||""))),options:ui})),x.createElement(Ln.Z,null),x.createElement(zn.Z,{close:!0,hasMask:!0,style:{zIndex:9999},data:Go==null?void 0:Go.url,type:Go==null?void 0:Go.file_type,onClose:()=>zo({})}))};var si=(0,Me.connect)(({shixunHomeworks:Er,loading:tn,globalSetting:$t,classroomList:jn})=>({shixunHomeworks:Er,globalSetting:$t,loading:tn.effects,classroomList:jn}))(ti),Cr=ae(28284),ur={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},dr=ae(76361),yn=ae(59301),$n=Object.defineProperty,rr=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable,Br=(Er,tn,$t)=>tn in Er?$n(Er,tn,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Er[tn]=$t,Or=(Er,tn)=>{for(var $t in tn||(tn={}))Zn.call(tn,$t)&&Br(Er,$t,tn[$t]);if(rr)for(var $t of rr(tn))br.call(tn,$t)&&Br(Er,$t,tn[$t]);return Er},ci=(Er,tn,$t)=>new Promise((jn,lr)=>{var gr=zr=>{try{Kr($t.next(zr))}catch(pi){lr(pi)}},Ir=zr=>{try{Kr($t.throw(zr))}catch(pi){lr(pi)}},Kr=zr=>zr.done?jn(zr.value):Promise.resolve(zr.value).then(gr,Ir);Kr(($t=$t.apply(Er,tn)).next())});const Ai=({shixunHomeworks:Er,dispatch:tn,classroomList:$t})=>{const{shixunWorkReport:jn}=Er,lr=(0,Me.useParams)(),[gr,Ir]=(0,x.useState)(!1),[Kr]=Cr.default.useForm(),[zr,pi]=fe.default.useModal(),[Ci,xi]=(0,x.useState)(!1),[hi,Ii]=(0,x.useState)(!1),Di=[{label:"\u5FC5\u505A",value:"required",color:"#1B8565"},{label:"\u9009\u505A",value:"optional",color:"#1E96F4"},{label:"\u4E0D\u505A",value:"hidden",color:"#5F6368"}];(0,x.useEffect)(()=>{var Hi,ai,ao,ki;Er.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Kr.setFieldsValue({comment:(ai=(Hi=Er.actionTabs.selectArrs)==null?void 0:Hi.data)==null?void 0:ai.work_comment,hidden_comment:(ki=(ao=Er.actionTabs.selectArrs)==null?void 0:ao.data)==null?void 0:ki.work_comment_hidden})},[Er.actionTabs.key]);const $i=()=>ci(void 0,null,function*(){const Hi=Kr.getFieldsValue();(yield(0,Fe.ZP)(`/api/student_works/${lr.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Hi.hidden_comment,comment:Hi.comment}})).status===0&&(xe.ZP.success("\u8BC4\u9605\u6210\u529F"),Kr.resetFields(),tn({type:"shixunHomeworks/setActionTabs",payload:{}}),tn({type:"shixunHomeworks/getShixunWorkReport",payload:Or({},lr)}))}),no=[{title:"\u5173\u5361",dataIndex:"name",render:(Hi,ai,ao)=>ao+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Hi,ai,ao)=>yn.createElement("div",null,Hi,ai.complete_status===4&&yn.createElement(ht.vA,{status:ai.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5173\u5361\u8981\u6C42",dataIndex:"checked",render:Hi=>{var ai,ao;return yn.createElement("span",{style:{color:(ai=Di==null?void 0:Di.find(ki=>(ki==null?void 0:ki.value)==Hi))==null?void 0:ai.color}},(ao=Di==null?void 0:Di.find(ki=>(ki==null?void 0:ki.value)==Hi))==null?void 0:ao.label)}},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:Hi=>Hi?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Hi,ai)=>yn.createElement("div",null,yn.createElement("span",{style:{color:parseFloat(ai.game_score_full)!==parseFloat(Hi)?"#E30000":"#53C41B"}},Hi),"/",ai.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Hi,ai)=>(0,at.GJ)()?yn.createElement(lt,{max:ai.game_score_full,defaultValue:parseFloat(Hi),onBlur:ao=>ci(void 0,null,function*(){var ki,So;if((0,at.Rm)()&&!((ki=$t.AssistantObject.practice)!=null&&ki.can_appraise)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const uo=yield tn({type:"shixunHomeworks/changeScore",payload:{categoryId:lr.homeworkId,type:"report",score:ao,challenge_id:ai.challenge_id}});(So=Er==null?void 0:Er.actionTabs)==null||So.fn(),yield tn({type:"shixunHomeworks/getShixunWorkReport",payload:Or({},lr)}),uo.status===0&&xe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Hi}];return yn.createElement(yn.Fragment,null,pi,yn.createElement(fe.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Er.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ci(void 0,null,function*(){var Hi;if((0,at.Rm)()&&!((Hi=$t.AssistantObject.practice)!=null&&Hi.can_appraise)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ai=Kr.getFieldsValue();JSON.stringify(ai)==="{}"||ai.hidden_comment===""&&ai.comment===""?Ir(!0):$i()}),onCancel:()=>{tn({type:"shixunHomeworks/setActionTabs",payload:{}})}},yn.createElement(ye.Z,{justify:"space-between",className:ur.info},yn.createElement(Re.Z,null,yn.createElement("span",{className:`${ur.label} ${ur.greyText}`},"\u59D3\u540D"),yn.createElement("span",{className:ur.blackContent},jn==null?void 0:jn.username)),yn.createElement(Re.Z,null,yn.createElement("span",{className:`${ur.label} ${ur.greyText}`},"\u5B66\u53F7"),yn.createElement("span",{className:ur.blackContent},(jn==null?void 0:jn.student_id)||"--")),yn.createElement(Re.Z,null,yn.createElement("span",{className:`${ur.label} ${ur.greyText}`},"\u73ED\u7EA7"),yn.createElement("span",{className:ur.blackContent},(jn==null?void 0:jn.group_name)||"--")),yn.createElement(Re.Z,null,yn.createElement("span",{className:`${ur.label} ${ur.greyText}`},"\u5173\u5361\u5F97\u5206"),yn.createElement("span",{className:ur.orangeContent},(jn==null?void 0:jn.challenge_score)||"--")),yn.createElement(Re.Z,null,yn.createElement("span",{className:`${ur.label} ${ur.greyText}`},"\u6548\u7387\u5206"),yn.createElement("span",{className:ur.orangeContent},(jn==null?void 0:jn.eff_score)||"--")),yn.createElement(Re.Z,null,yn.createElement("span",{className:`${ur.label} ${ur.greyText}`},"\u8865\u4EA4\u6263\u5206"),yn.createElement("span",{className:ur.orangeContent},(jn==null?void 0:jn.late_penalty)||"--")),yn.createElement(Re.Z,null,yn.createElement("span",{className:`${ur.label} ${ur.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),yn.createElement("span",{className:ur.orangeContent},(jn==null?void 0:jn.work_score)||"--"))),yn.createElement(Cr.default,{form:Kr,onChange:()=>{gr&&Ir(!1)}},yn.createElement(ye.Z,{wrap:!1,align:"middle",justify:"space-between"},yn.createElement(Re.Z,null,yn.createElement("div",{className:`${ur.inputLabel} ${ur.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),yn.createElement(Re.Z,null,yn.createElement(dr.Z,{isShowComponent:(0,at.G5)(),ModalProps:{open:Ci,onCancel:()=>{xi(!1)}},onDataSelect:(Hi,ai)=>ci(void 0,[Hi,ai],function*(ao,{node:ki}){const So=()=>{Kr.setFieldsValue({comment:ki==null?void 0:ki.value}),xi(!1)};if(Kr.getFieldValue("comment")){zr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:So});return}So()})},yn.createElement(Se.ZP,{style:{padding:0,height:"auto"},icon:yn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Hi=>{xi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),yn.createElement(Cr.default.Item,{name:"comment"},yn.createElement(we.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),yn.createElement(ye.Z,{wrap:!1,align:"middle",justify:"space-between"},yn.createElement(Re.Z,null,yn.createElement("div",{className:`${ur.inputLabel} ${ur.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),yn.createElement(Re.Z,null,yn.createElement(dr.Z,{isShowComponent:(0,at.G5)(),ModalProps:{open:hi,onCancel:()=>{Ii(!1)}},onDataSelect:(Hi,ai)=>ci(void 0,[Hi,ai],function*(ao,{node:ki}){const So=()=>{Kr.setFieldsValue({hidden_comment:ki==null?void 0:ki.value}),Ii(!1)};if(Kr.getFieldValue("hidden_comment")){zr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:So});return}So()})},yn.createElement(Se.ZP,{style:{padding:0,height:"auto"},icon:yn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Hi=>{Ii(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),yn.createElement(Cr.default.Item,{name:"hidden_comment"},yn.createElement(we.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),gr&&yn.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),yn.createElement("div",{className:ur.tableTitle},"\u5173\u5361\u6210\u7EE9"),yn.createElement(Ee.default,{className:ur.scoreTable,dataSource:jn.stage_list,rowKey:"challenge_id",pagination:!1,columns:no,scroll:{x:"max-content"}})))};var di=(0,Me.connect)(({shixunHomeworks:Er,classroomList:tn})=>({shixunHomeworks:Er,classroomList:tn}))(Ai),Pi=ae(45476),yi=ae(81821),oo=ae(44164),Gi=ae.n(oo),ar={wrap:"wrap___LZOi9",line:"line___oju0L"},Dr=ae(79875),ni=({detailData:Er})=>{var tn;return x.createElement("div",{className:ar.wrap},x.createElement(Dr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Dr.Uf)(Er),(Er==null?void 0:Er.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},x.createElement(Dr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Dr.Uf)(Er)}),!!((tn=Er==null?void 0:Er.photos)!=null&&tn.length)&&x.createElement(x.Fragment,null,x.createElement("div",{className:ar.line}),x.createElement(Dr._s,{dataSource:Er==null?void 0:Er.photos,right:21,col:4,wrapWidth:1140}))))},An=ae(33384),Cn=ae(71787),tt=ae(59301),pn=Object.defineProperty,Zt=Object.defineProperties,vn=Object.getOwnPropertyDescriptors,On=Object.getOwnPropertySymbols,Rr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,li=(Er,tn,$t)=>tn in Er?pn(Er,tn,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Er[tn]=$t,nr=(Er,tn)=>{for(var $t in tn||(tn={}))Rr.call(tn,$t)&&li(Er,$t,tn[$t]);if(On)for(var $t of On(tn))Xr.call(tn,$t)&&li(Er,$t,tn[$t]);return Er},or=(Er,tn)=>Zt(Er,vn(tn)),er=(Er,tn)=>{var $t={};for(var jn in Er)Rr.call(Er,jn)&&tn.indexOf(jn)<0&&($t[jn]=Er[jn]);if(Er!=null&&On)for(var jn of On(Er))tn.indexOf(jn)<0&&Xr.call(Er,jn)&&($t[jn]=Er[jn]);return $t},_r=(Er,tn,$t)=>new Promise((jn,lr)=>{var gr=zr=>{try{Kr($t.next(zr))}catch(pi){lr(pi)}},Ir=zr=>{try{Kr($t.throw(zr))}catch(pi){lr(pi)}},Kr=zr=>zr.done?jn(zr.value):Promise.resolve(zr.value).then(gr,Ir);Kr(($t=$t.apply(Er,tn)).next())});function Ti(Er){const tn=(lr,gr)=>{if(lr.localName===gr)return lr;for(let Ir=0,Kr=lr;Kr=Kr.parentNode;Ir++){if(Kr.localName===gr)return Kr;if(Kr==document.documentElement)return!1}},$t=Er.target,jn=tn($t,"a");if(console.log([jn],jn==null?void 0:jn.href,44),!(jn!=null&&jn.href)&&$t.tagName.toUpperCase()==="IMG"){let lr=$t.src||$t.getAttribute("src");lr&&lr.indexOf("/images/avatars/User")===-1&&(Er.stopPropagation(),Er.preventDefault(),Xt.Z.publish("preview-image",lr))}}const bi=Er=>{var tn=Er,{shixunHomeworks:$t,classroomList:jn,globalSetting:lr,loading:gr,user:Ir,dispatch:Kr}=tn,zr=er(tn,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),pi,Ci,xi,hi;const[Ii,Di]=(0,x.useState)(nr({},(0,Me.useParams)())),$i=(0,Me.useParams)(),[no,Hi]=(0,x.useState)({page:1,page_size:10}),ai=(0,Me.useLocation)(),[]=(0,x.useState)([]),[ao,ki]=(0,x.useState)(),So=(0,x.useRef)(),uo=(0,x.useRef)(),[Do,Co]=(0,x.useState)(!1),[to,Mo]=(0,x.useState)(!0),[Go,zo]=(0,x.useState)(!1),[No,zi]=(0,x.useState)(!1),{shixunWorkReport:Vt}=$t,[$r,ui]=(0,x.useState)(),[Zr,Ri]=(0,x.useState)([]),[ro,jr]=(0,x.useState)(),[Yr,Bi]=(0,x.useState)("all"),_i=(0,at.GJ)(),[Ro,ya]=(0,x.useState)(new(He())),[$o,Ea]=(0,x.useState)(0),[da,wa]=(0,x.useState)(!1),[Wr,Ji]=(0,x.useState)(!1),[xo,ba]=(0,x.useState)(!1),[Xa,ns]=(0,x.useState)(""),[Ta,Za]=(0,x.useState)(!1),[Fo,vo]=(0,x.useState)(!0),[qo,ja]=(0,x.useState)(0),ls=(0,x.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Fs=(0,x.useRef)(),[il,tu]=(0,x.useState)(!1),[Au,tl]=(0,x.useState)(!1),fl=(0,x.useRef)(null),wu={required:{tag:"\u5FC5\u505A",color:"#1B8565"},optional:{tag:"\u9009\u505A",color:"#1E96F4"},hidden:{tag:"\u4E0D\u505A",color:"#5F6368"}},Lu=()=>_r(void 0,null,function*(){(Ir.userInfo.is_teacher||Ir.userInfo.admin)&&(Za(!0),vo(!1))});(0,x.useEffect)(()=>{var Qi;(0,at.Rm)()&&jn.AssistantObject.practice&&!((Qi=jn.AssistantObject.practice)!=null&&Qi.can_view)&&Me.history.replace("/403")},[(pi=jn.AssistantObject.practice)==null?void 0:pi.can_view]),(0,x.useEffect)(()=>{Lu(),console.log("\u6253\u5370\u7684------",Vt),Fs.current=Vt==null?void 0:Vt.next_student_work_id,ns(Vt.repeat_minus_score)},[Vt,Ir]),(0,x.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Vt.work_score),ja(Vt.work_score)},[Vt.work_score,Xa]),(0,x.useEffect)(()=>(Kr({type:"globalSetting/footerToggle",payload:!1}),()=>{Kr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,x.useEffect)(()=>{if(fl.current)return fl.current.addEventListener("mousedown",Ti),()=>{var Qi;(Qi=fl.current)==null||Qi.removeEventListener("mousedown",Ti)}},[fl.current]),(0,x.useEffect)(()=>{setTimeout(()=>{fl.current&&fl.current.clientHeight>=500&&tl(!0)},500)},[(Ci=Vt==null?void 0:Vt.student_work_test_result_info)==null?void 0:Ci.content,fl.current]),(0,x.useEffect)(()=>{var Qi;if(Vt){let Bo=[];(Qi=Vt==null?void 0:Vt.target_test_sets)==null||Qi.map((Wa,ol)=>{var kc;(kc=Wa==null?void 0:Wa.targets)==null||kc.map((nu,Cu)=>{var ps;nu.name=Wa==null?void 0:Wa.name,nu.total_target_score=Wa==null?void 0:Wa.total_target_score,nu.actual_target_score=Wa==null?void 0:Wa.actual_target_score,nu.rowSpan=Cu===0?(ps=Wa==null?void 0:Wa.targets)==null?void 0:ps.length:0,nu.order=ol+1,Bo.push(nu)})}),ui(Bo),(0,at.Rm)()&&Kr({type:"classroomList/getAssistantPermissions",payload:{course_id:Ii.coursesId}})}},[Vt]),(0,x.useEffect)(()=>{$t.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Vt==null?void 0:Vt.students_count)>0&&!to&&setTimeout(()=>{es("all")},800)},[Vt==null?void 0:Vt.homework_common_id,to]),(0,x.useEffect)(()=>{Di(nr({},$i))},[ai.pathname]);const hl=()=>{document.body.scrollIntoView()},vc=Qi=>{no.page=Qi,Hi(nr({},no)),Du(no,Yr)},Du=(Qi,Bo)=>_r(void 0,null,function*(){zo(!0);const Wa=yield(0,Fe.ZP)(`/api/student_works/${Ii==null?void 0:Ii.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:or(nr({},Qi),{challenge_id:Bo=="all"?null:Bo})});(Wa==null?void 0:Wa.status)===0&&(Ri(Wa==null?void 0:Wa.list),jr(Wa==null?void 0:Wa.count)),zo(!1)});function fa(){return _r(this,null,function*(){ls.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const La=()=>{document.querySelectorAll("canvas").forEach(Qi=>{(!Qi.clientWidth||!Qi.clientHeight)&&Qi.remove()})},ha=()=>{So.current.offsetHeight>62e3?zi(!1):zi(!0)},ga=Qi=>_r(void 0,null,function*(){const Bo=yield(0,yi.t1)({homeworkId:Qi||Ii.homeworkId});ki(Bo==null?void 0:Bo.data)}),es=Qi=>_r(void 0,null,function*(){var Bo,Wa,ol,kc;tu(!0);let nu=0,Cu;Cu=fe.default.info({width:460,title:tt.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",tt.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:tt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",tt.createElement("span",{className:"c-blue"},nu+1),"/",Qi!=="all"?1:Vt==null?void 0:Vt.students_count,tt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:ze.modal,onOk:()=>{}});const ps={margin:[0,0],filename:`${Vt!=null&&Vt.student_id&&(Vt==null?void 0:Vt.student_id)!="--"?Vt==null?void 0:Vt.student_id:""}${Vt.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},oc=Ro.folder(Vt==null?void 0:Vt.shixun_name);function td(Vc){return _r(this,null,function*(){yield ga(Vc||Fs.current);const ka=yield Kr({type:"shixunHomeworks/getShixunWorkReport",payload:nr({homeworkId:Vc||Fs.current},ls.current||{})});Fs.current=ka==null?void 0:ka.next_student_work_id,hl(),nu++,setTimeout(()=>_r(this,null,function*(){var Xu,yc,Nu,Ns;La();const Pl=oc.folder(`${ka==null?void 0:ka.group_name}`).folder(`${ka!=null&&ka.student_id&&(ka==null?void 0:ka.student_id)!="--"?ka.student_id+"+":""}${ka==null?void 0:ka.username}`),ml=document.querySelector("#export-all").children;let Tl=Gi()();for(let xu=0;xu_r(this,null,function*(){xu0&&((Nu=(yc=ka==null?void 0:ka.shixun_detail)==null?void 0:yc.filter(xu=>{var $u;return(($u=xu==null?void 0:xu.game_codes)==null?void 0:$u.length)>0}))==null?void 0:Nu.length)>0){const xu=Pl.folder("\u4EE3\u7801\u6587\u4EF6");(Ns=ka==null?void 0:ka.shixun_detail)==null||Ns.map(($u,ru)=>{var fu,Fa;if(((fu=$u==null?void 0:$u.game_codes)==null?void 0:fu.length)>0){const Ma=xu.folder(`\u7B2C${ru+1}\u5173-${$u.subject}-${$u.id}`);(Fa=$u==null?void 0:$u.game_codes)==null||Fa.map(bs=>{Ma.file(`${bs.filename}.txt`,bs==null?void 0:bs.content)})}})}Cu.update({content:tt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",tt.createElement("span",{className:"c-blue"},nu),"/",ka==null?void 0:ka.students_count,tt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),nu==(ka==null?void 0:ka.students_count)?(Cu.destroy(),Ya()):td()}),2200)})}if(Qi!=="all"||(Vt==null?void 0:Vt.students_count)<2){La(),hl();const Vc=uo.current.children;let ka=Gi()();const yc=oc.folder(`${Vt==null?void 0:Vt.group_name}`).folder(`${Vt!=null&&Vt.student_id&&(Vt==null?void 0:Vt.student_id)!="--"?(Vt==null?void 0:Vt.student_id)+"+":""}${Vt==null?void 0:Vt.username}`);for(let Nu=0;Nu_r(void 0,null,function*(){Nu0&&((ol=(Wa=Vt==null?void 0:Vt.shixun_detail)==null?void 0:Wa.filter(Nu=>{var Ns;return((Ns=Nu==null?void 0:Nu.game_codes)==null?void 0:Ns.length)>0}))==null?void 0:ol.length)>0){const Nu=yc.folder("\u4EE3\u7801\u6587\u4EF6");(kc=Vt==null?void 0:Vt.shixun_detail)==null||kc.map((Ns,Yu)=>{var Pl,ml;if(((Pl=Ns==null?void 0:Ns.game_codes)==null?void 0:Pl.length)>0){const Tl=Nu.folder(`\u7B2C${Yu+1}\u5173-${Ns.subject}-${Ns.id}`);(ml=Ns==null?void 0:Ns.game_codes)==null||ml.map(xu=>{Tl.file(`${xu.filename}.txt`,xu==null?void 0:xu.content)})}})}Cu.destroy(),Ya();return}else td(Vt==null?void 0:Vt.first_student_work_id)}),Ya=()=>{Ro.generateAsync({type:"blob"}).then(function(Qi){console.log(Vt,"shixunWorkReport");const Bo=document.createElement("a");Bo.href=window.URL.createObjectURL(Qi),Bo.download=(Vt==null?void 0:Vt.shixun_name)+".zip",document.body.appendChild(Bo);const Wa=document.createEvent("MouseEvents");Wa.initEvent("click",!1,!1),Bo.dispatchEvent(Wa),document.body.removeChild(Bo),ya(new(He()))}),zi(!1)};(0,x.useEffect)(()=>{$a()},[Ii.homeworkId]);const $a=()=>_r(void 0,null,function*(){Mo(!0);const Qi=yield Kr({type:"shixunHomeworks/getShixunWorkReport",payload:nr(nr({},Ii),ls.current||{})});if((Qi==null?void 0:Qi.status)==-100&&!(0,at.Ny)()){const Bo=yield(0,Fe.ZP)("/api/users/check_archive_view.json",{method:"get",params:{container_id:Ii.categoryId,container_type:"HomeworkCommon"}});(Bo==null?void 0:Bo.status)==0&&(Bo==null?void 0:Bo.code)==1&&Kr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5F52\u6863\u63D0\u793A",params:{roleInfo:Bo,homework_id:Ii.categoryId},goToBack:()=>{Me.history.push(`/classrooms/${Ii.coursesId}/shixun_homework`)},goToDetail:()=>{window.location.reload()}}})}ga(),(0,at.GJ)()&&fa(),Mo(!1)}),Kl=[{title:"\u5173\u5361",width:50,dataIndex:"name",render:(Qi,Bo,Wa)=>Wa+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Qi,Bo,Wa)=>tt.createElement("div",null,Qi,Bo.complete_status===4&&tt.createElement(ht.vA,{status:Bo.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Qi,Bo,Wa)=>Qi||"- -"},{title:"\u5173\u5361\u8981\u6C42",dataIndex:"status",render:Qi=>{var Bo,Wa;return tt.createElement("span",{style:{color:(Bo=wu[Qi])==null?void 0:Bo.color}},(Wa=wu[Qi])==null?void 0:Wa.tag)}},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:Qi=>Qi?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Qi,Bo)=>tt.createElement("div",null,tt.createElement("span",{style:{color:parseFloat(Bo.myself_experience)!==parseFloat(Qi)?"red":"green"}},Bo.myself_experience),"/",Qi)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Qi,Bo)=>tt.createElement("div",null,tt.createElement("span",{style:{color:parseFloat(Bo.game_score_full)!==parseFloat(Qi)?"red":"green"}},Qi),"/",Bo.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Qi,Bo)=>_i?tt.createElement(lt,{style:{width:80},max:Bo.game_score_full,defaultValue:parseFloat(Qi),onBlur:Wa=>_r(void 0,null,function*(){var ol;if((0,at.Rm)()&&!((ol=jn.AssistantObject.practice)!=null&&ol.can_appraise)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const kc=yield Kr({type:"shixunHomeworks/changeScore",payload:{categoryId:Ii.homeworkId,type:"report",score:Wa,challenge_id:Bo.challenge_id}});Du({page:1,page_size:10},"all"),yield Kr({type:"shixunHomeworks/getShixunWorkReport",payload:nr(nr({},Ii),ls.current||{})}),kc.status===0&&xe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Qi}];let su=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Qi,Bo,Wa)=>({children:Qi,props:{rowSpan:Bo.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Qi,Bo,Wa)=>({children:Qi,props:{rowSpan:Bo.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(Qi,Bo,Wa)=>tt.createElement("div",null,tt.createElement("span",{style:{color:parseFloat(Bo.actual_test_score)!==parseFloat(Qi)?"red":"green"}},Bo.actual_test_score),"/",Qi)},{title:"\u6307\u6807\u603B\u5206",render:(Qi,Bo,Wa)=>({children:tt.createElement("div",null,tt.createElement("span",{style:{color:parseFloat(Bo.actual_target_score)!==parseFloat(Qi)?"red":"green"}},Bo.actual_target_score),"/",Qi),props:{rowSpan:Bo.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Ol=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:Qi=>tt.createElement("span",null,Qi?Le()(Qi).format("YYYY-MM-DD HH:mm"):"--")}],bu=Qi=>{Kr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Qi==="next"?Me.history.push(`/classrooms/${Ii.coursesId}/shixun_homework/${Ii.categoryId}/${Vt==null?void 0:Vt.next_student_work_id}/comment`):Me.history.push(`/classrooms/${Ii.coursesId}/shixun_homework/${Ii.categoryId}/${Vt==null?void 0:Vt.pre_student_work_id}/comment`)},200)},du=Qi=>{ns(""),Qi.target.value&&(console.log("\u8FDB\u6765",Vt),Qi.target.value=Qi.target.value>Vt.repeat_setting_score?Vt.repeat_setting_score:Qi.target.value,ns(Qi.target.value))},Gu=()=>_r(void 0,null,function*(){const Qi=yield(0,Fe.ZP)(`/api/student_works/${Vt==null?void 0:Vt.work_id}/update_repeat_score`,{method:"put",body:{score:Xa}});yield Kr({type:"shixunHomeworks/getShixunWorkReport",payload:nr(nr({},Ii),ls.current||{})}),Qi.status===0&&xe.ZP.info("\u64CD\u4F5C\u6210\u529F")});return tt.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},tt.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},tt.createElement(oe.Z,{loading:gr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},tt.createElement("div",{className:"edu-container"},Vt.course_id&&tt.createElement("section",{className:"animated fadeIn"},tt.createElement("aside",{className:""},Vt.category&&tt.createElement(Pe.Z,{separator:">"},tt.createElement(Pe.Z.Item,null,tt.createElement(Me.Link,{to:`/classrooms/${Vt.course_id}/shixun_homework`},Vt.course_name)),tt.createElement(Pe.Z.Item,null,tt.createElement(Me.Link,{to:`/classrooms/${Vt.course_id}/shixun_homework/${Vt.category.main?"":Vt.category.category_id}`},Vt.category.category_name)),tt.createElement(Pe.Z.Item,null,tt.createElement(Me.Link,{to:`/classrooms/${Vt.course_id}/shixun_homework/${Vt.homework_common_id}/detail${(0,at.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),tt.createElement(Pe.Z.Item,null,Vt.username))),tt.createElement("aside",{className:[ze.title1,"mt20"].join(" ")},tt.createElement(ye.Z,{align:"middle"},tt.createElement(Re.Z,{flex:1},tt.createElement(Me.Link,{to:`/classrooms/${Vt.course_id}/shixun_homework/${Vt.homework_common_id}/detail`},tt.createElement(je.Z,{className:"font16 c-black"})),tt.createElement("strong",{className:"font20 ml5"},Vt==null?void 0:Vt.homework_name),tt.createElement(ht.VV,{temporary:!0,status:Vt.homework_status})),tt.createElement(Re.Z,{className:ze.title1_right},Vt.view_tpi&&tt.createElement(Se.ZP,{onClick:()=>{var Qi,Bo;(0,ht.xg)(`/tasks/${Vt==null?void 0:Vt.course_id}/${Vt==null?void 0:Vt.homework_common_id}/${(Bo=(Qi=Vt==null?void 0:Vt.shixun_detail)==null?void 0:Qi[0])==null?void 0:Bo.game_identifier}`)}},tt.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,at.GJ)()&&Vt.homework_end===!1&&!!Vt.myshixun_id&&tt.createElement(Se.ZP,{className:"ml10",onClick:()=>_r(void 0,null,function*(){yield Kr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Vt.myshixun_identifier},homework_common_id:$i.categoryId}})})},tt.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),tt.createElement(Se.ZP,{className:"ml10",onClick:()=>{var Qi,Bo;if(!(!(Vt!=null&&Vt.is_old_data_for_time)&&(Vt==null?void 0:Vt.user_id)!==((Qi=Ir==null?void 0:Ir.userInfo)==null?void 0:Qi.user_id)&&(0,ht.Ye)(Kr))){if((0,at.Rm)()&&!((Bo=jn.AssistantObject.practice)!=null&&Bo.can_download)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}es("")}},loading:Do},tt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,at.GJ)()&&(Vt==null?void 0:Vt.students_count)>1&&tt.createElement(Se.ZP,{className:"ml10",onClick:()=>{var Qi;if(!(!(Vt!=null&&Vt.is_old_data_for_time)&&(0,ht.Ye)(Kr))){if((0,at.Rm)()&&!((Qi=jn.AssistantObject.practice)!=null&&Qi.can_download)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}fe.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:tt.createElement(Ie.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:tt.createElement(Ie.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{es("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,An.jj)({categoryId:Ii.categoryId,coursesId:Ii.coursesId},"shixun_report")}}})}}},tt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),tt.createElement("aside",{className:"mt30 relative"})),tt.createElement("aside",{className:"edu-container bg-white",ref:So},tt.createElement("div",{id:"export-all",ref:uo},tt.createElement("div",{id:"export-all-1"},tt.createElement("div",{className:ze.title},tt.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),tt.createElement("div",null,(0,at.GJ)()&&tt.createElement(Se.ZP,{className:"mr20",type:"primary",onClick:()=>{Kr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Vt.user_id,data:nr({},Vt)},fn:()=>Du({page:1,page_size:10},"all")}})}},tt.createElement(_e.Z,null),Vt.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),tt.createElement(ve.Z,{style:{marginTop:0}}),tt.createElement(ye.Z,{className:"pl30 pr30"},tt.createElement(Re.Z,null,tt.createElement("img",{className:ze.userPic,src:`${st.Z.IMG_SERVER}/images/${Vt.image_url}`,alt:Vt.username})),tt.createElement(Re.Z,null,tt.createElement("span",{className:"font16 ml40"},Vt.username),tt.createElement(ht.vA,{status:Vt.compelete_status}),tt.createElement("ul",{className:ze.userInfo},tt.createElement("li",null,"\u5B66\u53F7\uFF1A",Vt.student_id||"--"),tt.createElement("li",null,"\u5206\u73ED\uFF1A",Vt.group_name||"--"),tt.createElement("br",null),tt.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",tt.createElement("span",{className:"c-red"},Vt.complete_count),"/",tt.createElement("span",{className:"c-red"},Vt.checked_challenge_count)),tt.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",tt.createElement("span",{className:"c-red"},Vt.current_complete_count||"-"),"/",tt.createElement("span",{className:"c-red"},Vt.checked_challenge_count)),tt.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",Vt&&Vt.efficiency===null?"--":Vt&&Vt.efficiency),tt.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",Vt&&Vt.max_efficiency===null?"--":Vt&&Vt.max_efficiency))),tt.createElement("ul",{className:[ze.listItem,"mt10"].join(" ")},tt.createElement("li",null,tt.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),tt.createElement("div",{className:"c-light-black mt20"},Vt&&Vt.passed_time===null||Vt&&Vt.passed_time==="--"?"--":Le()(Vt&&Vt.passed_time).format("YYYY-MM-DD HH:mm"))),tt.createElement("li",null,tt.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",tt.createElement("i",{onClick:Qi=>{Qi.stopPropagation(),Qi.preventDefault(),wa(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),tt.createElement("div",{className:"c-light-black mt20"},Vt==null?void 0:Vt.human_training_time_rules)),tt.createElement("li",null,tt.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",tt.createElement("i",{onClick:Qi=>{Qi.stopPropagation(),Qi.preventDefault(),Ji(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),tt.createElement("div",{className:"c-light-black mt20"},Vt.time_consuming)),tt.createElement("li",null,tt.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),tt.createElement("div",{className:"mt20"},Vt.evaluate_count)),(Vt==null?void 0:Vt.eff_score_full)&&tt.createElement(tt.Fragment,null,tt.createElement("li",null,tt.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),tt.createElement("div",{className:"mt20"},tt.createElement("span",{className:"c-orange"},Vt.challenge_score),"/",tt.createElement("span",{className:"c-light-black"},Vt.challenge_score_full))),tt.createElement("li",null,tt.createElement("strong",null,"\u6548\u7387\u5206"),tt.createElement("div",{className:"mt20"},tt.createElement("span",{className:"c-orange"},Vt.eff_score),"/",tt.createElement("span",{className:"c-light-black"},Vt.eff_score_full)))),(Vt==null?void 0:Vt.have_repeat)&&(Vt==null?void 0:Vt.repeat_minus_score)!==0&&tt.createElement("li",{style:{position:"relative"}},tt.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},tt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),tt.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},Vt!=null&&Vt.review_rate?tt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(Vt!=null&&Vt.review_id&&Ta)localStorage.setItem("studentDetial",window.location.pathname),Me.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${Ii.categoryId}/review_detail/${Vt==null?void 0:Vt.review_id}`});else return}},Vt.review_rate.toFixed(1),"%"):tt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),Ta?tt.createElement("div",{className:"mt20"},tt.createElement(we.default,{style:{width:"45px",height:"22px"},value:Xa,onChange:Qi=>{du(Qi)},onBlur:Gu,disabled:Fo})," / ",Vt==null?void 0:Vt.repeat_setting_score):tt.createElement("div",{className:"mt20"},Vt==null?void 0:Vt.repeat_minus_score," / ",Vt==null?void 0:Vt.repeat_setting_score)),console.log("sssssssssssssssssssssss",Vt==null?void 0:Vt.have_repeat,Vt==null?void 0:Vt.repeat_minus_score),(Vt==null?void 0:Vt.have_repeat)&&(Vt==null?void 0:Vt.repeat_minus_score)===0&&tt.createElement("li",null,tt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),tt.createElement("div",{className:"mt20"}," - -")),!(Vt!=null&&Vt.have_repeat)&&tt.createElement("li",null,tt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),tt.createElement("div",{className:"mt20"}," - -")),tt.createElement("li",null,tt.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),tt.createElement("div",{className:"mt20"},tt.createElement("span",null,Vt.late_penalty||"- -"))),Vt.extra_score>0&&tt.createElement("li",null,tt.createElement("strong",null,"\u9644\u52A0\u5F97\u5206"),tt.createElement("div",{className:"mt20"},tt.createElement("span",null,Vt.extra_score||"- -"))),tt.createElement("li",null,tt.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),tt.createElement("div",{className:"mt20"},tt.createElement("span",{className:"c-orange"},qo),"/",tt.createElement("span",{className:"c-light-black"},Vt.all_work_score))),tt.createElement("li",null,tt.createElement("strong",null,"\u603B\u8BC4"),tt.createElement("div",{className:"mt20"},tt.createElement("span",{className:"c-orange"},Vt.overall_appraisal))))),tt.createElement(ve.Z,{style:{margin:0}}),(Vt.work_comment_hidden||Vt.work_comment)&&tt.createElement("div",null,tt.createElement(ye.Z,{align:"middle"},tt.createElement(Re.Z,{flex:1},tt.createElement("h1",{className:ze.title},"\u70B9\u8BC4\u5185\u5BB9")),tt.createElement(Re.Z,{className:"pr30"},(0,at.GJ)()&&tt.createElement(Se.ZP,{onClick:()=>_r(void 0,null,function*(){fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:tt.createElement(Je.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return _r(this,null,function*(){(yield(0,yi.gZ)({comment_id:Vt.comment_id,homeworkId:Ii.homeworkId})).status===0&&(xe.ZP.success("\u5220\u9664\u6210\u529F"),Kr({type:"shixunHomeworks/getShixunWorkReport",payload:nr(nr({},Ii),ls.current||{})}))})}})})},tt.createElement(Ve.Z,null),"\u5220\u9664"))),tt.createElement(ve.Z,{style:{margin:0}}),Vt.work_comment&&tt.createElement("aside",{className:"pl30 pr30 mt20"},tt.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),tt.createElement("br",null),tt.createElement(xt.Z,{value:Vt.work_comment})),Vt.work_comment_hidden&&tt.createElement("aside",{className:"pl30 pr30 mt20"},tt.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),tt.createElement("br",null),tt.createElement(xt.Z,{value:Vt.work_comment_hidden}))),(Vt==null?void 0:Vt.action_analysis)&&tt.createElement(ni,{detailData:Vt}),tt.createElement("div",{className:ze.score},tt.createElement("h1",{className:ze.title},"\u9636\u6BB5\u6210\u7EE9"),(Vt==null?void 0:Vt.adjust_review_score_count)>0&&(0,at.GJ)()&&tt.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{ba(!0),Du({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Vt==null?void 0:Vt.adjust_review_score_count,"\u6B21\uFF09")),tt.createElement("aside",{className:"pl30 pr30"},tt.createElement(Ee.default,{dataSource:Vt.stage_list,rowKey:Qi=>Qi==null?void 0:Qi.challenge_id,pagination:!1,columns:Kl})),((xi=Vt==null?void 0:Vt.target_test_sets)==null?void 0:xi.length)>0&&tt.createElement("div",null,tt.createElement("h1",{className:ze.title},"\u6307\u6807\u6210\u7EE9"),tt.createElement("aside",{className:"pl30 pr30"},tt.createElement(Ee.default,{dataSource:$r,rowKey:Qi=>Qi==null?void 0:Qi.challenge_id,pagination:!1,bordered:!0,columns:su}))),(Vt==null?void 0:Vt.work_description)&&tt.createElement(tt.Fragment,null,tt.createElement("h1",{className:ze.title},"\u4E2A\u4EBA\u603B\u7ED3"),tt.createElement("aside",{className:"pl30 pr30"},tt.createElement(xt.Z,{value:Vt==null?void 0:Vt.work_description}))),tt.createElement("h1",{className:ze.title},"\u56FE\u5F62\u7EDF\u8BA1"),tt.createElement(Qe,{data:ao}),(Vt==null?void 0:Vt.is_open_submit_test_result)&&tt.createElement(tt.Fragment,null),tt.createElement("h1",{className:ze.title},"\u5B9E\u8BAD\u8BE6\u60C5")),tt.createElement(si,{autoHeight:No}))),(0,at.GJ)()&&tt.createElement("aside",{className:`${ze.footerBar} ${Do?ze.footerBarStatic:""}`},tt.createElement("aside",{className:"edu-container"},tt.createElement(ye.Z,{align:"middle"},tt.createElement(Re.Z,{flex:"1"},tt.createElement(Me.Link,{className:ze.exitComment,to:`/classrooms/${Ii.coursesId}/shixun_homework/${Ii.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),tt.createElement(Re.Z,{flex:"1",className:"tr"},tt.createElement(Se.ZP,{type:"default",disabled:!(Vt!=null&&Vt.pre_student_work_id),onClick:()=>bu()},"\u4E0A\u4E00\u4E2A"),tt.createElement(Se.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(Vt!=null&&Vt.next_student_work_id),onClick:()=>bu("next")},"\u4E0B\u4E00\u4E2A"),(0,at.GJ)()&&tt.createElement(Se.ZP,{type:"primary",onClick:()=>_r(void 0,null,function*(){Kr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Vt.user_id,data:nr({},Vt)},fn:()=>Du({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),tt.createElement(di,null),tt.createElement(Pi.Z,null),tt.createElement(fe.default,{open:da,width:860,centered:!0,onCancel:()=>{wa(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},tt.createElement("div",{style:{color:"#333333",fontWeight:400}},tt.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),tt.createElement("br",null),tt.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),tt.createElement("br",null),tt.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),tt.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),tt.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),tt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},tt.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),tt.createElement("br",null),tt.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),tt.createElement("br",null),tt.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),tt.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),tt.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),tt.createElement("br",null),tt.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),tt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},tt.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),tt.createElement("br",null),tt.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),tt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},tt.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),tt.createElement("br",null),tt.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),tt.createElement(fe.default,{open:Wr,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Ji(!1)},width:600},tt.createElement("div",{style:{fontWeight:400,color:"#333333"}},tt.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",tt.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5FC5\u505A\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),tt.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",tt.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5FC5\u505A\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),tt.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",tt.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),tt.createElement(fe.default,{open:xo,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{Bi("all"),ba(!1)},destroyOnClose:!0,width:900},tt.createElement("div",{style:{fontWeight:400,color:"#333333"}},tt.createElement("div",null,tt.createElement("span",null,"\u5173\u5361\uFF1A"),tt.createElement(Oe.default,{style:{width:300},value:Yr,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Qi=>_r(void 0,null,function*(){Bi(Qi),Du({page:1,page_size:10},Qi)})},tt.createElement(Oe.default.Option,{value:"all"}," \u5168\u90E8 "),(hi=Vt==null?void 0:Vt.stage_list)==null?void 0:hi.map((Qi,Bo)=>tt.createElement(Oe.default.Option,{key:Bo,value:Qi==null?void 0:Qi.challenge_id},"\u7B2C",(0,ht.EM)(Bo+1),"\u5173")))),tt.createElement("div",{className:"mt20"},tt.createElement(Ee.default,{dataSource:Zr,rowKey:Qi=>Qi==null?void 0:Qi.id,pagination:!1,columns:Ol,loading:Go})),tt.createElement("div",{className:ze.footer},tt.createElement("div",null,tt.createElement("span",{style:{color:"#656F87"}},"\u5171",tt.createElement("span",{className:"c-light-primary"},ro),"\u6761\u6570\u636E")),tt.createElement(Ke.Z,{defaultCurrent:1,defaultPageSize:10,current:(no==null?void 0:no.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:ro,onChange:vc})))),tt.createElement(Cn.Z,{onClose:()=>{},onSuccess:()=>{}}))};var Xi=(0,Me.connect)(({shixunHomeworks:Er,classroomList:tn,loading:$t,globalSetting:jn,user:lr})=>({shixunHomeworks:Er,classroomList:tn,globalSetting:jn,loading:$t.effects,user:lr}))(bi)},45476:function(Xn,Mt,ae){"use strict";var x=ae(62957),dt=ae(6767),Le=ae(769),qe=ae(39074),He=ae(91587),Fe=ae(59301),Me=(xe,oe,Pe)=>new Promise((ye,Re)=>{var Se=we=>{try{ve(Pe.next(we))}catch(Ee){Re(Ee)}},Ie=we=>{try{ve(Pe.throw(we))}catch(Ee){Re(Ee)}},ve=we=>we.done?ye(we.value):Promise.resolve(we.value).then(Se,Ie);ve((Pe=Pe.apply(xe,oe)).next())});const fe=({shixunHomeworks:xe,classroomList:oe,dispatch:Pe})=>{const ye=(0,qe.useParams)();return Fe.createElement(x.default,{centered:!0,title:"\u63D0\u793A",open:xe.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Me(void 0,null,function*(){var Re,Se,Ie,ve;if((0,He.Rm)()&&!((Re=oe.AssistantObject.practice)!=null&&Re.can_redo)){dt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const we=yield(0,Le.ZP)(`/api/myshixuns/${xe.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:ye.coursesId,homework_common_id:xe.actionTabs.homework_common_id}});if(we.shixun_identifier){dt.ZP.success("\u64CD\u4F5C\u6210\u529F"),Pe({type:"shixunHomeworks/setActionTabs",payload:{}});const Ee=(Ie=(Se=we==null?void 0:we.new_works)==null?void 0:Se.find(Oe=>`${Oe.homework_common_id}`===ye.categoryId))==null?void 0:Ie.id;if((0,He.Rm)()&&!((ve=oe.AssistantObject.practice)!=null&&ve.can_view))return;qe.history.replace(`/classrooms/${ye.coursesId}/shixun_homework/${ye.categoryId}/${Ee}/comment`)}}),onCancel:()=>{Pe({type:"shixunHomeworks/setActionTabs",payload:{}})}},Fe.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Fe.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Mt.Z=(0,qe.connect)(({shixunHomeworks:xe,classroomList:oe})=>({shixunHomeworks:xe,classroomList:oe}))(fe)},71787:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return oe}});var x=ae(39074),dt=ae(62957),Le=ae(7939),qe=ae(25399),He=ae(769),Fe={archiveTip:"archiveTip___ZP0rt"},Me=ae(59301),fe=(Pe,ye,Re)=>new Promise((Se,Ie)=>{var ve=Oe=>{try{Ee(Re.next(Oe))}catch(Ke){Ie(Ke)}},we=Oe=>{try{Ee(Re.throw(Oe))}catch(Ke){Ie(Ke)}},Ee=Oe=>Oe.done?Se(Oe.value):Promise.resolve(Oe.value).then(ve,we);Ee((Re=Re.apply(Pe,ye)).next())});const xe=({globalSetting:Pe,loading:ye,dispatch:Re,user:Se,shixunHomeworks:Ie,onClose:ve=()=>{},onSuccess:we=()=>{}})=>{var Ee,Oe,Ke,je,_e,Je,Ve,st,at,ht,Ct,ze,pt,Ne,Qe,Ot,ot,lt,Bt,We,ke,At,Kt,Ht,nt,Pt;return Me.createElement(dt.default,{centered:!0,open:Ie.actionTabs.key=="\u5F52\u6863\u63D0\u793A",title:"\u63D0\u793A",width:550,onCancel:()=>{Ie.actionTabs.goToBack(),Re({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},footer:Me.createElement("div",null,((Ke=[0,1])==null?void 0:Ke.includes((Oe=(Ee=Ie.actionTabs.params)==null?void 0:Ee.roleInfo)==null?void 0:Oe.version_type))&&Me.createElement(Le.ZP,{onClick:()=>{var Rt;Re({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),x.history.push(`/users/${(Rt=Se.userInfo)==null?void 0:Rt.login}/memberCenter`)}},"\u5347\u7EA7\u7248\u672C"),!((Je=[0,1,2])!=null&&Je.includes((_e=(je=Ie.actionTabs.params)==null?void 0:je.roleInfo)==null?void 0:_e.version_type))&&Me.createElement(qe.Z,{title:Me.createElement("div",null,Me.createElement("img",{src:ae(89242),width:150,height:150,alt:""}))},Me.createElement(Le.ZP,null,"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458")),Me.createElement(Le.ZP,{type:"primary",disabled:((st=(Ve=Ie.actionTabs.params)==null?void 0:Ve.roleInfo)==null?void 0:st.surplus_archive_view_count)==0,style:((ht=(at=Ie.actionTabs.params)==null?void 0:at.roleInfo)==null?void 0:ht.surplus_archive_view_count)==0?{marginLeft:"20px"}:{},onClick:()=>fe(void 0,null,function*(){var Rt;const hn=yield(0,He.ZP)("/api/users/archive_view.json",{method:"post",body:{container_id:(Rt=Ie.actionTabs.params)==null?void 0:Rt.homework_id,container_type:"HomeworkCommon"}});(hn==null?void 0:hn.status)==0&&(Re({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),Ie.actionTabs.goToDetail())})},"\u786E\u8BA4",((Ct=Ie.actionTabs.params)==null?void 0:Ct.type)=="\u64CD\u4F5C"?"\u64CD\u4F5C":"\u67E5\u770B"))},Me.createElement("div",null,Me.createElement("div",{className:Fe.archiveTip},"\u8BE5\u8BFE\u5802\u5B9E\u9A8C\u5DF2\u8D85\u8FC7 1 \u5E74\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u5F52\u6863\u3002"),Me.createElement("div",{className:Fe.archiveTip},((ze=Ie.actionTabs.params)==null?void 0:ze.type)=="\u64CD\u4F5C"?"\u8BE5\u64CD\u4F5C":"\u67E5\u770B\u5386\u53F2\u5F52\u6863\u6570\u636E","\u5C06\u6D88\u8017",Me.createElement("span",{style:{color:"#FA6400"}}," 1 "),"\u6B21\u67E5\u770B\u989D\u5EA6\uFF08\u5F53\u5929 24 \u70B9\u4E4B\u524D\u91CD\u590D",((pt=Ie.actionTabs.params)==null?void 0:pt.type)=="\u64CD\u4F5C"?"\u64CD\u4F5C":"\u67E5\u770B","\u4E0D\u91CD\u590D\u6263\u51CF\uFF09\u3002"),Me.createElement("div",{className:Fe.archiveTip,style:{marginTop:"20px"}},"\u60A8\u5F53\u524D\u4E3A",Me.createElement("span",{style:{color:"#3061D0"}}," ",((Qe=(Ne=Ie.actionTabs.params)==null?void 0:Ne.roleInfo)==null?void 0:Qe.version_type)==0?"\u57FA\u7840\u7248":((ot=(Ot=Ie.actionTabs.params)==null?void 0:Ot.roleInfo)==null?void 0:ot.version_type)==1?"\u6807\u51C6\u7248":((Bt=(lt=Ie.actionTabs.params)==null?void 0:lt.roleInfo)==null?void 0:Bt.version_type)==2?"\u4E13\u4E1A\u7248":"\u514D\u8D39\u7248","\u7528\u6237"),"\uFF0C\u6BCF\u5E74\u9ED8\u8BA4\u53EF\u67E5\u770B",Me.createElement("span",{style:{color:"#3061D0"}}," ",(ke=(We=Ie.actionTabs.params)==null?void 0:We.roleInfo)==null?void 0:ke.archive_view_year_count," "),"\u6B21\u5386\u53F2\u5F52\u6863\u6570\u636E\u3002"),Me.createElement("div",{className:Fe.archiveTip},"\u5269\u4F59\u53EF\u7528\uFF1A",Me.createElement("span",{style:{color:"#FA6400"}},(Kt=(At=Ie.actionTabs.params)==null?void 0:At.roleInfo)==null?void 0:Kt.surplus_archive_view_count," "),"\u6B21\u3002"),((Pt=[0,1])==null?void 0:Pt.includes((nt=(Ht=Ie.actionTabs.params)==null?void 0:Ht.roleInfo)==null?void 0:nt.version_type))&&Me.createElement("div",{className:Fe.archiveTip,style:{marginTop:"20px",color:"#3061D0"}},"\u5347\u7EA7\u7248\u672C\u53EF\u83B7\u5F97\u66F4\u591A\u67E5\u770B\u989D\u5EA6\u3002")))};var oe=(0,x.connect)(({loading:Pe,globalSetting:ye,shixunHomeworks:Re,user:Se})=>({globalSetting:ye,loading:Pe.effects,shixunHomeworks:Re,user:Se}))(xe)},33384:function(Xn,Mt,ae){"use strict";ae.d(Mt,{AD:function(){return Qe},BA:function(){return ie},D9:function(){return At},Hp:function(){return Je},IM:function(){return Ht},Iy:function(){return st},KM:function(){return ge},KU:function(){return hn},MJ:function(){return Ve},Ne:function(){return Kt},ON:function(){return mn},Uj:function(){return an},VY:function(){return Rt},YO:function(){return Fn},YX:function(){return kt},Zn:function(){return Ie},_g:function(){return Ke},_k:function(){return We},c6:function(){return pt},cr:function(){return ve},eV:function(){return Ne},fi:function(){return we},gh:function(){return Ct},hS:function(){return nt},iA:function(){return Ee},j6:function(){return je},je:function(){return lt},jj:function(){return _e},kS:function(){return Tt},lS:function(){return Bt},o6:function(){return ze},pO:function(){return de},rQ:function(){return Ot},sA:function(){return ht},xm:function(){return ke},xo:function(){return Pt},y8:function(){return ot},yd:function(){return Oe}});var x=ae(49704),dt=ae(39074),Le=ae(15936),qe=ae(6767),He=ae(88018),Fe=Object.defineProperty,Me=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,oe=(ee,se,le)=>se in ee?Fe(ee,se,{enumerable:!0,configurable:!0,writable:!0,value:le}):ee[se]=le,Pe=(ee,se)=>{for(var le in se||(se={}))fe.call(se,le)&&oe(ee,le,se[le]);if(Me)for(var le of Me(se))xe.call(se,le)&&oe(ee,le,se[le]);return ee},ye=(ee,se,le)=>new Promise((Be,Ge)=>{var ut=St=>{try{vt(le.next(St))}catch(Dt){Ge(Dt)}},mt=St=>{try{vt(le.throw(St))}catch(Dt){Ge(Dt)}},vt=St=>St.done?Be(St.value):Promise.resolve(St.value).then(ut,mt);vt((le=le.apply(ee,se)).next())});const Re=()=>{(0,dt.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},Se=()=>{(0,dt.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},Ie=ee=>ye(void 0,null,function*(){Re(),(yield(0,x.YR)(Pe({},ee))).status===0&&(yield(0,Le.QH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_couser_info.json`,query:ee}))),Se()}),ve=ee=>ye(void 0,null,function*(){const se=yield(0,x.yS)(Pe({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_member_act_score`);else{if(se.status===-2)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_member_act_score`))}}),we=ee=>ye(void 0,null,function*(){const se=yield(0,x.W0)(Pe({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_score`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_score`))}}),Ee=ee=>ye(void 0,null,function*(){const se=yield(0,x.Nl)(Pe({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`))}}),Oe=ee=>ye(void 0,null,function*(){const se=yield(0,x.IU)(Pe({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/export_star_user`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/export_star_user`))}}),Ke=ee=>ye(void 0,null,function*(){const se=yield(0,x.td)(Pe({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else{if(se.status===-2)return se;if(se.status===-3)(0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else if(se.status===-4)return se}}),je=ee=>ye(void 0,null,function*(){const se=yield(0,x.QX)(Pe({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_homework`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_homework`))}}),_e=(ee,se)=>ye(void 0,null,function*(){const le=yield(0,x.o_)(Pe({},ee));le.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),Je=(ee,se)=>ye(void 0,null,function*(){const le=yield(0,x.ZL)(Pe({},ee));le.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),Ve=(ee,se)=>ye(void 0,null,function*(){const le=yield(0,x.vV)(Pe({},ee));le.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),st=(ee,se)=>ye(void 0,null,function*(){const le=yield(0,x.aP)(Pe({},ee));le.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),at=ee=>ye(void 0,null,function*(){Re(),(yield exportCourseWorkListAppendix(Pe({},ee))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${ee.categoryId}/works_list.zip`,query:ee}))),Se()}),ht=ee=>ye(void 0,null,function*(){Re(),yield(0,Le.FH)("",He.Z.API_SERVER+`/api/polls/${ee.categoryId}/commit_result.xlsx`),Se()}),Ct=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/attendances/export_xlsx_data.xlsx`,query:ee}))}),ze=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/video_study_statics.xlsx`,query:ee}))}),pt=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_video_study.xlsx`,query:ee}))}),Ne=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_course_students_info.xlsx`,query:ee}))}),Qe=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/school_manages/students.xlsx",query:ee}))}),Ot=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/item_banks/export.xlsx",query:ee}))}),ot=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:ee}))}),lt=ee=>ye(void 0,null,function*(){const se=yield(0,x.Uy)(Pe({},ee));se.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_users`)):se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Bt=ee=>ye(void 0,null,function*(){const se=yield(0,x.tg)(Pe({},ee));se.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_report`)):se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_report`))}),We=ee=>ye(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/export_records/${ee.id}.xlsx`,query:ee}))}),ke=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:ee}))}),At=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee==null?void 0:ee.coursesId}/${ee.menuKey}_statistic.xlsx?${ee.checkedList.map(se=>`course_group_id[]=${se}`).join("&")}`,query:ee}))}),Kt=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_training_objectives.xlsx`,query:ee}))}),Ht=ee=>ye(void 0,null,function*(){yield(0,Le.FH)(ee==null?void 0:ee.name,(0,Le.NY)({url:He.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:ee}))}),nt=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_courses.xlsx`,query:ee}))}),Pt=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_graduation_requirements.xlsx`,query:ee}))}),Rt=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:ee}))}),hn=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/exercises/${ee.categoryId}/rank_list.xlsx`,query:ee}))}),Tt=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:ee}))}),mn=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/examination_banks/${ee.id}.json`,query:ee}))}),kt=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/exercises/${ee.categoryId}.json`,query:ee}))}),Fn=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/polls/${ee==null?void 0:ee.id}/commit_result.json`,query:ee}))}),an=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/paths/get_task_pass.json",query:ee}))}),de=(ee,se)=>ye(void 0,null,function*(){yield(0,Le.FH)(se||"",(0,Le.NY)({url:He.Z.API_SERVER+`/api/exercises/${ee==null?void 0:ee.exercise_id}/consult_exercise.json`,query:ee}))}),ge=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/competitions/${ee==null?void 0:ee.identifier}/competition_commit_records/member_works.xlsx`,query:ee}))}),ie=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee==null?void 0:ee.coursesId}/group_homeworks/import_group_template.xlsx`,query:ee}))})},64379:function(Xn,Mt,ae){"use strict";ae.d(Mt,{U:function(){return xe}});var x=ae(59301),dt=Object.defineProperty,Le=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Fe=(oe,Pe,ye)=>Pe in oe?dt(oe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):oe[Pe]=ye,Me=(oe,Pe)=>{for(var ye in Pe||(Pe={}))qe.call(Pe,ye)&&Fe(oe,ye,Pe[ye]);if(Le)for(var ye of Le(Pe))He.call(Pe,ye)&&Fe(oe,ye,Pe[ye]);return oe},fe=(oe,Pe,ye)=>new Promise((Re,Se)=>{var Ie=Ee=>{try{we(ye.next(Ee))}catch(Oe){Se(Oe)}},ve=Ee=>{try{we(ye.throw(Ee))}catch(Oe){Se(Oe)}},we=Ee=>Ee.done?Re(Ee.value):Promise.resolve(Ee.value).then(Ie,ve);we((ye=ye.apply(oe,Pe)).next())});function xe(oe,Pe){const[ye,Re]=(0,x.useState)(Pe),[Se,Ie]=(0,x.useState)(!1),[ve,we]=(0,x.useState)();return[ye,Se,(Oe,Ke=!1)=>fe(this,null,function*(){const je=Ke?Pe:Me(Me({},ye),Oe);Ie(!0),Re(je);const _e=yield oe(je);return Ie(!1),we(_e),_e}),ve,we]}},11390:function(Xn,Mt,ae){"use strict";ae.d(Mt,{AL:function(){return je},Iy:function(){return Pe},Qv:function(){return Se},ez:function(){return Ke},jb:function(){return ye}});var x=ae(32834),dt=ae.n(x),Le=ae(11690),qe=ae.n(Le);let He=1;function Fe(at,ht){const Ct=at.match(/^(\s+)(?:```)/);if(Ct===null)return ht;const ze=Ct[1];return ht.split(` +`).map(pt=>{const Ne=pt.match(/^\s+/);if(Ne===null)return pt;const[Qe]=Ne;return Qe.length>=ze.length?pt.slice(ze.length):pt}).join(` +`)}let Me=[],fe=["
    "];const xe=new(dt()).Renderer,oe=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Pe(){Me.length=0,fe=["
      "]}const ye={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Re(at,ht,Ct,ze){if(ht>=at.length||at[ht].level<=Ct)return ht;var pt=at[ht];ze.push("
    • "+pt.text+""),ht++;var Ne=[];return ht=Re(at,ht,pt.level,Ne),Ne.length>0&&(ze.push("
        "),Ne.forEach(function(Qe){ze.push(Qe)}),ze.push("
      ")),ze.push("
    • "),ht=Re(at,ht,Ct,ze),ht}function Se(){return Re(Me,0,0,fe),fe.push("
    "),fe.join("")}const Ie={heading(at){const ht=oe.exec(at);if(He+=1,ht)return{type:"heading",raw:ht[0],depth:ht[1].length,text:ht[2]}},fences(at){const ht=this.rules.block.fences.exec(at);if(ht){const Ct=ht[0];let ze=Fe(Ct,ht[3]||"");const pt=ht[2]?ht[2].trim():ht[2];if(["latex","katex","math"].indexOf(pt)>=0){const Ne=Ee(),Qe=ze;ze=Ne,Oe[Ne]={type:"block",expression:Qe}}return{type:"code",raw:Ct,lang:pt,text:ze}}}},ve=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let we=0;const Ee=()=>`__special_katext_id_${we++}__`;let Oe={};function Ke(){return Oe}function je(){we=0,Oe={}}function _e(at){return at=at.replace(ve,(ht,Ct)=>{const ze=Ee();return Oe[ze]={type:"inline",expression:Ct},ze}),at}const Je=xe.listitem;xe.listitem=function(at){return Je(_e(at))};const Ve=xe.paragraph;xe.paragraph=function(at){return Ve(_e(at))};const st=xe.tablecell;xe.tablecell=function(at,ht){return st(_e(at),ht)},xe.code=function(at,ht,Ct){const ze=(ht||"").match(/\S*/)[0];return ze?["latex","katex","math"].indexOf(ze)>=0?`

    ${at}

    `:`
    ${Ct?at:(0,Le.escape)(at,!0)}
    +`:'
    '+(Ct?at:(0,Le.escape)(at,!0))+"
    "},xe.heading=function(at,ht,Ct){let ze=this.options.headerPrefix+Ct.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Me.push({anchor:ze,level:ht,text:at}),"'+at+""},dt().setOptions({silent:!0,gfm:!0,pedantic:!1}),dt().use({tokenizer:Ie,renderer:xe}),Mt.ZP=dt()},9981:function(Xn,Mt){"use strict";const ae=function(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let dt=1;dt{const He=Le[qe];He!==void 0&&(x[qe]=He)})}return x};Mt.Z=ae},86013:function(Xn,Mt,ae){"use strict";var x=ae(59301),dt=ae(19248);const Le=qe=>{let He;return typeof qe=="object"&&(qe!=null&&qe.clearIcon)?He=qe:qe&&(He={clearIcon:x.createElement(dt.Z,null)}),He};Mt.Z=Le},97224:function(Xn,Mt,ae){"use strict";ae.d(Mt,{F:function(){return x}});function x(Le){return Le!=null&&Le===Le.window}const dt=Le=>{var qe,He;if(typeof window=="undefined")return 0;let Fe=0;return x(Le)?Fe=Le.pageYOffset:Le instanceof Document?Fe=Le.documentElement.scrollTop:(Le instanceof HTMLElement||Le)&&(Fe=Le.scrollTop),Le&&!x(Le)&&typeof Fe!="number"&&(Fe=(He=((qe=Le.ownerDocument)!==null&&qe!==void 0?qe:Le).documentElement)===null||He===void 0?void 0:He.scrollTop),Fe};Mt.Z=dt},83010:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return qe}});var x=ae(16089);function dt(He,Fe,Me,fe){const xe=Me-Fe;return He/=fe/2,He<1?xe/2*He*He*He+Fe:xe/2*((He-=2)*He*He+2)+Fe}var Le=ae(97224);function qe(He){let Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Me=()=>window,callback:fe,duration:xe=450}=Fe,oe=Me(),Pe=(0,Le.Z)(oe),ye=Date.now(),Re=()=>{const Ie=Date.now()-ye,ve=dt(Ie>xe?xe:Ie,Pe,He,xe);(0,Le.F)(oe)?oe.scrollTo(window.pageXOffset,ve):oe instanceof Document||oe.constructor.name==="HTMLDocument"?oe.documentElement.scrollTop=ve:oe.scrollTop=ve,Ie{let{children:Bt}=lt;const{getPrefixCls:We}=x.useContext(Me.E_),ke=We("breadcrumb");return x.createElement("li",{className:`${ke}-separator`,"aria-hidden":"true"},Bt===""?Bt:Bt||"/")};oe.__ANT_BREADCRUMB_SEPARATOR=!0;var Pe=oe,ye=function(lt,Bt){var We={};for(var ke in lt)Object.prototype.hasOwnProperty.call(lt,ke)&&Bt.indexOf(ke)<0&&(We[ke]=lt[ke]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,ke=Object.getOwnPropertySymbols(lt);AtBt[At]||ke)}function Se(lt,Bt,We,ke){if(We==null)return null;const{className:At,onClick:Kt}=Bt,Ht=ye(Bt,["className","onClick"]),nt=Object.assign(Object.assign({},(0,He.Z)(Ht,{data:!0,aria:!0})),{onClick:Kt});return ke!==void 0?x.createElement("a",Object.assign({},nt,{className:Le()(`${lt}-link`,At),href:ke}),We):x.createElement("span",Object.assign({},nt,{className:Le()(`${lt}-link`,At)}),We)}function Ie(lt,Bt){return(ke,At,Kt,Ht,nt)=>{if(Bt)return Bt(ke,At,Kt,Ht);const Pt=Re(ke,At);return Se(lt,ke,Pt,nt)}}var ve=function(lt,Bt){var We={};for(var ke in lt)Object.prototype.hasOwnProperty.call(lt,ke)&&Bt.indexOf(ke)<0&&(We[ke]=lt[ke]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,ke=Object.getOwnPropertySymbols(lt);At{const{prefixCls:Bt,separator:We="/",children:ke,menu:At,overlay:Kt,dropdownProps:Ht,href:nt}=lt,Rt=(hn=>{if(At||Kt){const Tt=Object.assign({},Ht);if(At){const mn=At||{},{items:kt}=mn,Fn=ve(mn,["items"]);Tt.menu=Object.assign(Object.assign({},Fn),{items:kt==null?void 0:kt.map((an,de)=>{var{key:ge,title:ie,label:ee,path:se}=an,le=ve(an,["key","title","label","path"]);let Be=ee!=null?ee:ie;return se&&(Be=x.createElement("a",{href:`${nt}${se}`},Be)),Object.assign(Object.assign({},le),{key:ge!=null?ge:de,label:Be})})})}else Kt&&(Tt.overlay=Kt);return x.createElement(xe.Z,Object.assign({placement:"bottom"},Tt),x.createElement("span",{className:`${Bt}-overlay-link`},hn,x.createElement(fe.Z,null)))}return hn})(ke);return Rt!=null?x.createElement(x.Fragment,null,x.createElement("li",null,Rt),We&&x.createElement(Pe,null,We)):null},Ee=lt=>{const{prefixCls:Bt,children:We,href:ke}=lt,At=ve(lt,["prefixCls","children","href"]),{getPrefixCls:Kt}=x.useContext(Me.E_),Ht=Kt("breadcrumb",Bt);return x.createElement(we,Object.assign({},At,{prefixCls:Ht}),Se(Ht,At,We,ke))};Ee.__ANT_BREADCRUMB_ITEM=!0;var Oe=Ee,Ke=ae(36237),je=ae(63356),_e=ae(16931),Je=ae(51636);const Ve=lt=>{const{componentCls:Bt,iconCls:We,calc:ke}=lt;return{[Bt]:Object.assign(Object.assign({},(0,je.Wf)(lt)),{color:lt.itemColor,fontSize:lt.fontSize,[We]:{fontSize:lt.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:lt.linkColor,transition:`color ${lt.motionDurationMid}`,padding:`0 ${(0,Ke.unit)(lt.paddingXXS)}`,borderRadius:lt.borderRadiusSM,height:lt.fontHeight,display:"inline-block",marginInline:ke(lt.marginXXS).mul(-1).equal(),"&:hover":{color:lt.linkHoverColor,backgroundColor:lt.colorBgTextHover}},(0,je.Qy)(lt)),"li:last-child":{color:lt.lastItemColor},[`${Bt}-separator`]:{marginInline:lt.separatorMargin,color:lt.separatorColor},[`${Bt}-link`]:{[` + > ${We} + span, + > ${We} + a + `]:{marginInlineStart:lt.marginXXS}},[`${Bt}-overlay-link`]:{borderRadius:lt.borderRadiusSM,height:lt.fontHeight,display:"inline-block",padding:`0 ${(0,Ke.unit)(lt.paddingXXS)}`,marginInline:ke(lt.marginXXS).mul(-1).equal(),[`> ${We}`]:{marginInlineStart:lt.marginXXS,fontSize:lt.fontSizeIcon},"&:hover":{color:lt.linkHoverColor,backgroundColor:lt.colorBgTextHover,a:{color:lt.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${lt.componentCls}-rtl`]:{direction:"rtl"}})}},st=lt=>({itemColor:lt.colorTextDescription,lastItemColor:lt.colorText,iconFontSize:lt.fontSize,linkColor:lt.colorTextDescription,linkHoverColor:lt.colorText,separatorColor:lt.colorTextDescription,separatorMargin:lt.marginXS});var at=(0,_e.I$)("Breadcrumb",lt=>{const Bt=(0,Je.mergeToken)(lt,{});return Ve(Bt)},st),ht=function(lt,Bt){var We={};for(var ke in lt)Object.prototype.hasOwnProperty.call(lt,ke)&&Bt.indexOf(ke)<0&&(We[ke]=lt[ke]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,ke=Object.getOwnPropertySymbols(lt);At{var{breadcrumbName:Ht}=Kt,nt=ht(Kt,["breadcrumbName"]);return Object.assign(Object.assign({},nt),{title:Ht})})}),At}function ze(lt,Bt){return(0,x.useMemo)(()=>lt||(Bt?Bt.map(Ct):null),[lt,Bt])}var pt=function(lt,Bt){var We={};for(var ke in lt)Object.prototype.hasOwnProperty.call(lt,ke)&&Bt.indexOf(ke)<0&&(We[ke]=lt[ke]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,ke=Object.getOwnPropertySymbols(lt);At{if(Bt===void 0)return Bt;let We=(Bt||"").replace(/^\//,"");return Object.keys(lt).forEach(ke=>{We=We.replace(`:${ke}`,lt[ke])}),We},Qe=lt=>{const{prefixCls:Bt,separator:We="/",style:ke,className:At,rootClassName:Kt,routes:Ht,items:nt,children:Pt,itemRender:Rt,params:hn={}}=lt,Tt=pt(lt,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:mn,direction:kt,breadcrumb:Fn}=x.useContext(Me.E_);let an;const de=mn("breadcrumb",Bt),[ge,ie,ee]=at(de),se=ze(nt,Ht),le=Ie(de,Rt);if(se&&se.length>0){const ut=[],mt=nt||Ht;an=se.map((vt,St)=>{const{path:Dt,key:Qt,type:xt,menu:ct,overlay:Xt,onClick:Wt,className:wn,separator:ln,dropdownProps:nn}=vt,zn=Ne(hn,Dt);zn!==void 0&&ut.push(zn);const Ln=Qt!=null?Qt:St;if(xt==="separator")return x.createElement(Pe,{key:Ln},ln);const _t={},un=St===se.length-1;ct?_t.menu=ct:Xt&&(_t.overlay=Xt);let{href:Pn}=vt;return ut.length&&zn!==void 0&&(Pn=`#/${ut.join("/")}`),x.createElement(we,Object.assign({key:Ln},_t,(0,He.Z)(vt,{data:!0,aria:!0}),{className:wn,dropdownProps:nn,href:Pn,separator:un?"":We,onClick:Wt,prefixCls:de}),le(vt,hn,mt,ut,Pn))})}else if(Pt){const ut=(0,qe.Z)(Pt).length;an=(0,qe.Z)(Pt).map((mt,vt)=>{if(!mt)return mt;const St=vt===ut-1;return(0,Fe.Tm)(mt,{separator:St?"":We,key:vt})})}const Be=Le()(de,Fn==null?void 0:Fn.className,{[`${de}-rtl`]:kt==="rtl"},At,Kt,ie,ee),Ge=Object.assign(Object.assign({},Fn==null?void 0:Fn.style),ke);return ge(x.createElement("nav",Object.assign({className:Be,style:Ge},Tt),x.createElement("ol",null,an)))};Qe.Item=Oe,Qe.Separator=Pe;var Ot=Qe,ot=Ot},62673:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return at}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(16632),He=ae(8654),Fe=ae(12919),Me=ae(63872),fe=ae(48755),xe=ae(2171),oe=ae(83397),Pe=ae(56553),Re=x.createContext(null),Se=ae(36170),Ie=ae(74632),ve=function(ht,Ct){var ze={};for(var pt in ht)Object.prototype.hasOwnProperty.call(ht,pt)&&Ct.indexOf(pt)<0&&(ze[pt]=ht[pt]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,pt=Object.getOwnPropertySymbols(ht);Ne{var ze;const{prefixCls:pt,className:Ne,rootClassName:Qe,children:Ot,indeterminate:ot=!1,style:lt,onMouseEnter:Bt,onMouseLeave:We,skipGroup:ke=!1,disabled:At}=ht,Kt=ve(ht,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ht,direction:nt,checkbox:Pt}=x.useContext(fe.E_),Rt=x.useContext(Re),{isFormItemInput:hn}=x.useContext(Pe.aM),Tt=x.useContext(xe.Z),mn=(ze=(Rt==null?void 0:Rt.disabled)||At)!==null&&ze!==void 0?ze:Tt,kt=x.useRef(Kt.value),Fn=x.useRef(null),an=(0,He.sQ)(Ct,Fn);x.useEffect(()=>{Rt==null||Rt.registerValue(Kt.value)},[]),x.useEffect(()=>{if(!ke)return Kt.value!==kt.current&&(Rt==null||Rt.cancelValue(kt.current),Rt==null||Rt.registerValue(Kt.value),kt.current=Kt.value),()=>Rt==null?void 0:Rt.cancelValue(Kt.value)},[Kt.value]),x.useEffect(()=>{var vt;!((vt=Fn.current)===null||vt===void 0)&&vt.input&&(Fn.current.input.indeterminate=ot)},[ot]);const de=Ht("checkbox",pt),ge=(0,oe.Z)(de),[ie,ee,se]=(0,Se.ZP)(de,ge),le=Object.assign({},Kt);Rt&&!ke&&(le.onChange=function(){Kt.onChange&&Kt.onChange.apply(Kt,arguments),Rt.toggleOption&&Rt.toggleOption({label:Ot,value:Kt.value})},le.name=Rt.name,le.checked=Rt.value.includes(Kt.value));const Be=Le()(`${de}-wrapper`,{[`${de}-rtl`]:nt==="rtl",[`${de}-wrapper-checked`]:le.checked,[`${de}-wrapper-disabled`]:mn,[`${de}-wrapper-in-form-item`]:hn},Pt==null?void 0:Pt.className,Ne,Qe,se,ge,ee),Ge=Le()({[`${de}-indeterminate`]:ot},Me.A,ee),[ut,mt]=(0,Ie.Z)(le.onClick);return ie(x.createElement(Fe.Z,{component:"Checkbox",disabled:mn},x.createElement("label",{className:Be,style:Object.assign(Object.assign({},Pt==null?void 0:Pt.style),lt),onMouseEnter:Bt,onMouseLeave:We,onClick:ut},x.createElement(qe.Z,Object.assign({},le,{onClick:mt,prefixCls:de,className:Ge,disabled:mn,ref:an})),Ot!==void 0&&x.createElement("span",{className:`${de}-label`},Ot))))};var Oe=x.forwardRef(we),Ke=ae(77654),je=ae(2738),_e=function(ht,Ct){var ze={};for(var pt in ht)Object.prototype.hasOwnProperty.call(ht,pt)&&Ct.indexOf(pt)<0&&(ze[pt]=ht[pt]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,pt=Object.getOwnPropertySymbols(ht);Ne{const{defaultValue:ze,children:pt,options:Ne=[],prefixCls:Qe,className:Ot,rootClassName:ot,style:lt,onChange:Bt}=ht,We=_e(ht,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:ke,direction:At}=x.useContext(fe.E_),[Kt,Ht]=x.useState(We.value||ze||[]),[nt,Pt]=x.useState([]);x.useEffect(()=>{"value"in We&&Ht(We.value||[])},[We.value]);const Rt=x.useMemo(()=>Ne.map(Ge=>typeof Ge=="string"||typeof Ge=="number"?{label:Ge,value:Ge}:Ge),[Ne]),hn=Ge=>{Pt(ut=>ut.filter(mt=>mt!==Ge))},Tt=Ge=>{Pt(ut=>[].concat((0,Ke.Z)(ut),[Ge]))},mn=Ge=>{const ut=Kt.indexOf(Ge.value),mt=(0,Ke.Z)(Kt);ut===-1?mt.push(Ge.value):mt.splice(ut,1),"value"in We||Ht(mt),Bt==null||Bt(mt.filter(vt=>nt.includes(vt)).sort((vt,St)=>{const Dt=Rt.findIndex(xt=>xt.value===vt),Qt=Rt.findIndex(xt=>xt.value===St);return Dt-Qt}))},kt=ke("checkbox",Qe),Fn=`${kt}-group`,an=(0,oe.Z)(kt),[de,ge,ie]=(0,Se.ZP)(kt,an),ee=(0,je.Z)(We,["value","disabled"]),se=Ne.length?Rt.map(Ge=>x.createElement(Oe,{prefixCls:kt,key:Ge.value.toString(),disabled:"disabled"in Ge?Ge.disabled:We.disabled,value:Ge.value,checked:Kt.includes(Ge.value),onChange:Ge.onChange,className:`${Fn}-item`,style:Ge.style,title:Ge.title,id:Ge.id,required:Ge.required},Ge.label)):pt,le={toggleOption:mn,value:Kt,disabled:We.disabled,name:We.name,registerValue:Tt,cancelValue:hn},Be=Le()(Fn,{[`${Fn}-rtl`]:At==="rtl"},Ot,ot,ie,an,ge);return de(x.createElement("div",Object.assign({className:Be,style:lt},ee,{ref:Ct}),x.createElement(Re.Provider,{value:le},se)))});const st=Oe;st.Group=Ve,st.__ANT_CHECKBOX=!0;var at=st},36170:function(Xn,Mt,ae){"use strict";ae.d(Mt,{C2:function(){return Fe}});var x=ae(36237),dt=ae(63356),Le=ae(51636),qe=ae(16931);const He=Me=>{const{checkboxCls:fe}=Me,xe=`${fe}-wrapper`;return[{[`${fe}-group`]:Object.assign(Object.assign({},(0,dt.Wf)(Me)),{display:"inline-flex",flexWrap:"wrap",columnGap:Me.marginXS,[`> ${Me.antCls}-row`]:{flex:1}}),[xe]:Object.assign(Object.assign({},(0,dt.Wf)(Me)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${xe}`]:{marginInlineStart:0},[`&${xe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[fe]:Object.assign(Object.assign({},(0,dt.Wf)(Me)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Me.borderRadiusSM,alignSelf:"center",[`${fe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${fe}-inner`]:Object.assign({},(0,dt.oN)(Me))},[`${fe}-inner`]:{boxSizing:"border-box",display:"block",width:Me.checkboxSize,height:Me.checkboxSize,direction:"ltr",backgroundColor:Me.colorBgContainer,border:`${(0,x.unit)(Me.lineWidth)} ${Me.lineType} ${Me.colorBorder}`,borderRadius:Me.borderRadiusSM,borderCollapse:"separate",transition:`all ${Me.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:Me.calc(Me.checkboxSize).div(14).mul(5).equal(),height:Me.calc(Me.checkboxSize).div(14).mul(8).equal(),border:`${(0,x.unit)(Me.lineWidthBold)} solid ${Me.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Me.motionDurationFast} ${Me.motionEaseInBack}, opacity ${Me.motionDurationFast}`}},"& + span":{paddingInlineStart:Me.paddingXS,paddingInlineEnd:Me.paddingXS}})},{[` + ${xe}:not(${xe}-disabled), + ${fe}:not(${fe}-disabled) + `]:{[`&:hover ${fe}-inner`]:{borderColor:Me.colorPrimary}},[`${xe}:not(${xe}-disabled)`]:{[`&:hover ${fe}-checked:not(${fe}-disabled) ${fe}-inner`]:{backgroundColor:Me.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${fe}-checked:not(${fe}-disabled):after`]:{borderColor:Me.colorPrimaryHover}}},{[`${fe}-checked`]:{[`${fe}-inner`]:{backgroundColor:Me.colorPrimary,borderColor:Me.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Me.motionDurationMid} ${Me.motionEaseOutBack} ${Me.motionDurationFast}`}}},[` + ${xe}-checked:not(${xe}-disabled), + ${fe}-checked:not(${fe}-disabled) + `]:{[`&:hover ${fe}-inner`]:{backgroundColor:Me.colorPrimaryHover,borderColor:"transparent"}}},{[fe]:{"&-indeterminate":{[`${fe}-inner`]:{backgroundColor:`${Me.colorBgContainer} !important`,borderColor:`${Me.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:Me.calc(Me.fontSizeLG).div(2).equal(),height:Me.calc(Me.fontSizeLG).div(2).equal(),backgroundColor:Me.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${fe}-inner`]:{backgroundColor:`${Me.colorBgContainer} !important`,borderColor:`${Me.colorPrimary} !important`}}}},{[`${xe}-disabled`]:{cursor:"not-allowed"},[`${fe}-disabled`]:{[`&, ${fe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${fe}-inner`]:{background:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,"&:after":{borderColor:Me.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Me.colorTextDisabled},[`&${fe}-indeterminate ${fe}-inner::after`]:{background:Me.colorTextDisabled}}}]};function Fe(Me,fe){const xe=(0,Le.mergeToken)(fe,{checkboxCls:`.${Me}`,checkboxSize:fe.controlInteractiveSize});return[He(xe)]}Mt.ZP=(0,qe.I$)("Checkbox",(Me,fe)=>{let{prefixCls:xe}=fe;return[Fe(xe,Me)]})},38406:function(Xn,Mt,ae){"use strict";var x=ae(59301),dt=ae(48755),Le=ae(584);const qe=He=>{const{componentName:Fe}=He,{getPrefixCls:Me}=(0,x.useContext)(dt.E_),fe=Me("empty");switch(Fe){case"Table":case"List":return x.createElement(Le.Z,{image:Le.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return x.createElement(Le.Z,{image:Le.Z.PRESENTED_IMAGE_SIMPLE,className:`${fe}-small`});case"Table.filter":return null;default:return x.createElement(Le.Z,null)}};Mt.Z=qe},37285:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Se}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(48755),He=ae(36237),Fe=ae(63356),Me=ae(16931),fe=ae(51636);const xe=Ie=>{const{componentCls:ve,sizePaddingEdgeHorizontal:we,colorSplit:Ee,lineWidth:Oe,textPaddingInline:Ke,orientationMargin:je,verticalMarginInline:_e}=Ie;return{[ve]:Object.assign(Object.assign({},(0,Fe.Wf)(Ie)),{borderBlockStart:`${(0,He.unit)(Oe)} solid ${Ee}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:_e,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,He.unit)(Oe)} solid ${Ee}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,He.unit)(Ie.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${ve}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,He.unit)(Ie.dividerHorizontalWithTextGutterMargin)} 0`,color:Ie.colorTextHeading,fontWeight:500,fontSize:Ie.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Ee}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,He.unit)(Oe)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ve}-with-text-start`]:{"&::before":{width:`calc(${je} * 100%)`},"&::after":{width:`calc(100% - ${je} * 100%)`}},[`&-horizontal${ve}-with-text-end`]:{"&::before":{width:`calc(100% - ${je} * 100%)`},"&::after":{width:`calc(${je} * 100%)`}},[`${ve}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Ke},"&-dashed":{background:"none",borderColor:Ee,borderStyle:"dashed",borderWidth:`${(0,He.unit)(Oe)} 0 0`},[`&-horizontal${ve}-with-text${ve}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ve}-dashed`]:{borderInlineStartWidth:Oe,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:Ee,borderStyle:"dotted",borderWidth:`${(0,He.unit)(Oe)} 0 0`},[`&-horizontal${ve}-with-text${ve}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${ve}-dotted`]:{borderInlineStartWidth:Oe,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ve}-with-text`]:{color:Ie.colorText,fontWeight:"normal",fontSize:Ie.fontSize},[`&-horizontal${ve}-with-text-start${ve}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ve}-inner-text`]:{paddingInlineStart:we}},[`&-horizontal${ve}-with-text-end${ve}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ve}-inner-text`]:{paddingInlineEnd:we}}})}},oe=Ie=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ie.marginXS});var Pe=(0,Me.I$)("Divider",Ie=>{const ve=(0,fe.mergeToken)(Ie,{dividerHorizontalWithTextGutterMargin:Ie.margin,dividerHorizontalGutterMargin:Ie.marginLG,sizePaddingEdgeHorizontal:0});return[xe(ve)]},oe,{unitless:{orientationMargin:!0}}),ye=function(Ie,ve){var we={};for(var Ee in Ie)Object.prototype.hasOwnProperty.call(Ie,Ee)&&ve.indexOf(Ee)<0&&(we[Ee]=Ie[Ee]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Ee=Object.getOwnPropertySymbols(Ie);Oe{const{getPrefixCls:ve,direction:we,className:Ee,style:Oe}=(0,qe.dj)("divider"),{prefixCls:Ke,type:je="horizontal",orientation:_e="center",orientationMargin:Je,className:Ve,rootClassName:st,children:at,dashed:ht,variant:Ct="solid",plain:ze,style:pt}=Ie,Ne=ye(Ie,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),Qe=ve("divider",Ke),[Ot,ot,lt]=Pe(Qe),Bt=!!at,We=x.useMemo(()=>_e==="left"?we==="rtl"?"end":"start":_e==="right"?we==="rtl"?"start":"end":_e,[we,_e]),ke=We==="start"&&Je!=null,At=We==="end"&&Je!=null,Kt=Le()(Qe,Ee,ot,lt,`${Qe}-${je}`,{[`${Qe}-with-text`]:Bt,[`${Qe}-with-text-${We}`]:Bt,[`${Qe}-dashed`]:!!ht,[`${Qe}-${Ct}`]:Ct!=="solid",[`${Qe}-plain`]:!!ze,[`${Qe}-rtl`]:we==="rtl",[`${Qe}-no-default-orientation-margin-start`]:ke,[`${Qe}-no-default-orientation-margin-end`]:At},Ve,st),Ht=x.useMemo(()=>typeof Je=="number"?Je:/^\d+$/.test(Je)?Number(Je):Je,[Je]),nt={marginInlineStart:ke?Ht:void 0,marginInlineEnd:At?Ht:void 0};return Ot(x.createElement("div",Object.assign({className:Kt,style:Object.assign(Object.assign({},Oe),pt)},Ne,{role:"separator"}),at&&je!=="vertical"&&x.createElement("span",{className:`${Qe}-inner-text`,style:nt},at)))}},36207:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return ut}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(85899),He=ae(72190),Fe=ae(43403),Me=ae(34280),fe=x.createContext(null),xe=x.createContext({}),oe=fe,Pe=ae(18642),ye=ae(60499),Re=ae(77900),Se=ae(10228),Ie=ae(26112),ve=ae(42244),we=ae(8654),Ee=["prefixCls","className","containerRef"],Oe=function(vt){var St=vt.prefixCls,Dt=vt.className,Qt=vt.containerRef,xt=(0,ve.Z)(vt,Ee),ct=x.useContext(xe),Xt=ct.panel,Wt=(0,we.x1)(Xt,Qt);return x.createElement("div",(0,ye.Z)({className:Le()("".concat(St,"-content"),Dt),role:"dialog",ref:Wt},(0,Ie.Z)(vt,{aria:!0}),{"aria-modal":"true"},xt))},Ke=Oe,je=ae(48736);function _e(mt){return typeof mt=="string"&&String(Number(mt))===mt?((0,je.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(mt)):mt}function Je(mt){warning(!("wrapperClassName"in mt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!mt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Ve={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function st(mt,vt){var St,Dt,Qt,xt=mt.prefixCls,ct=mt.open,Xt=mt.placement,Wt=mt.inline,wn=mt.push,ln=mt.forceRender,nn=mt.autoFocus,zn=mt.keyboard,Ln=mt.classNames,_t=mt.rootClassName,un=mt.rootStyle,Pn=mt.zIndex,Vn=mt.className,Lt=mt.id,Gt=mt.style,sn=mt.motion,bn=mt.width,Yn=mt.height,pr=mt.children,ti=mt.mask,si=mt.maskClosable,Cr=mt.maskMotion,ur=mt.maskClassName,dr=mt.maskStyle,yn=mt.afterOpenChange,$n=mt.onClose,rr=mt.onMouseEnter,Zn=mt.onMouseOver,br=mt.onMouseLeave,Br=mt.onClick,Or=mt.onKeyDown,ci=mt.onKeyUp,Ai=mt.styles,di=mt.drawerRender,Pi=x.useRef(),yi=x.useRef(),oo=x.useRef();x.useImperativeHandle(vt,function(){return Pi.current});var Gi=function(or){var er=or.keyCode,_r=or.shiftKey;switch(er){case Se.Z.TAB:{if(er===Se.Z.TAB){if(!_r&&document.activeElement===oo.current){var Ti;(Ti=yi.current)===null||Ti===void 0||Ti.focus({preventScroll:!0})}else if(_r&&document.activeElement===yi.current){var bi;(bi=oo.current)===null||bi===void 0||bi.focus({preventScroll:!0})}}break}case Se.Z.ESC:{$n&&zn&&(or.stopPropagation(),$n(or));break}}};x.useEffect(function(){if(ct&&nn){var nr;(nr=Pi.current)===null||nr===void 0||nr.focus({preventScroll:!0})}},[ct]);var ar=x.useState(!1),Dr=(0,He.Z)(ar,2),gi=Dr[0],ni=Dr[1],An=x.useContext(oe),Cn;typeof wn=="boolean"?Cn=wn?{}:{distance:0}:Cn=wn||{};var tt=(St=(Dt=(Qt=Cn)===null||Qt===void 0?void 0:Qt.distance)!==null&&Dt!==void 0?Dt:An==null?void 0:An.pushDistance)!==null&&St!==void 0?St:180,pn=x.useMemo(function(){return{pushDistance:tt,push:function(){ni(!0)},pull:function(){ni(!1)}}},[tt]);x.useEffect(function(){if(ct){var nr;An==null||(nr=An.push)===null||nr===void 0||nr.call(An)}else{var or;An==null||(or=An.pull)===null||or===void 0||or.call(An)}},[ct]),x.useEffect(function(){return function(){var nr;An==null||(nr=An.pull)===null||nr===void 0||nr.call(An)}},[]);var Zt=ti&&x.createElement(Re.default,(0,ye.Z)({key:"mask"},Cr,{visible:ct}),function(nr,or){var er=nr.className,_r=nr.style;return x.createElement("div",{className:Le()("".concat(xt,"-mask"),er,Ln==null?void 0:Ln.mask,ur),style:(0,qe.Z)((0,qe.Z)((0,qe.Z)({},_r),dr),Ai==null?void 0:Ai.mask),onClick:si&&ct?$n:void 0,ref:or})}),vn=typeof sn=="function"?sn(Xt):sn,On={};if(gi&&tt)switch(Xt){case"top":On.transform="translateY(".concat(tt,"px)");break;case"bottom":On.transform="translateY(".concat(-tt,"px)");break;case"left":On.transform="translateX(".concat(tt,"px)");break;default:On.transform="translateX(".concat(-tt,"px)");break}Xt==="left"||Xt==="right"?On.width=_e(bn):On.height=_e(Yn);var Rr={onMouseEnter:rr,onMouseOver:Zn,onMouseLeave:br,onClick:Br,onKeyDown:Or,onKeyUp:ci},Xr=x.createElement(Re.default,(0,ye.Z)({key:"panel"},vn,{visible:ct,forceRender:ln,onVisibleChanged:function(or){yn==null||yn(or)},removeOnLeave:!1,leavedClassName:"".concat(xt,"-content-wrapper-hidden")}),function(nr,or){var er=nr.className,_r=nr.style,Ti=x.createElement(Ke,(0,ye.Z)({id:Lt,containerRef:or,prefixCls:xt,className:Le()(Vn,Ln==null?void 0:Ln.content),style:(0,qe.Z)((0,qe.Z)({},Gt),Ai==null?void 0:Ai.content)},(0,Ie.Z)(mt,{aria:!0}),Rr),pr);return x.createElement("div",(0,ye.Z)({className:Le()("".concat(xt,"-content-wrapper"),Ln==null?void 0:Ln.wrapper,er),style:(0,qe.Z)((0,qe.Z)((0,qe.Z)({},On),_r),Ai==null?void 0:Ai.wrapper)},(0,Ie.Z)(mt,{data:!0})),di?di(Ti):Ti)}),li=(0,qe.Z)({},un);return Pn&&(li.zIndex=Pn),x.createElement(oe.Provider,{value:pn},x.createElement("div",{className:Le()(xt,"".concat(xt,"-").concat(Xt),_t,(0,Pe.Z)((0,Pe.Z)({},"".concat(xt,"-open"),ct),"".concat(xt,"-inline"),Wt)),style:li,tabIndex:-1,ref:Pi,onKeyDown:Gi},Zt,x.createElement("div",{tabIndex:0,ref:yi,style:Ve,"aria-hidden":"true","data-sentinel":"start"}),Xr,x.createElement("div",{tabIndex:0,ref:oo,style:Ve,"aria-hidden":"true","data-sentinel":"end"})))}var at=x.forwardRef(st),ht=at,Ct=function(vt){var St=vt.open,Dt=St===void 0?!1:St,Qt=vt.prefixCls,xt=Qt===void 0?"rc-drawer":Qt,ct=vt.placement,Xt=ct===void 0?"right":ct,Wt=vt.autoFocus,wn=Wt===void 0?!0:Wt,ln=vt.keyboard,nn=ln===void 0?!0:ln,zn=vt.width,Ln=zn===void 0?378:zn,_t=vt.mask,un=_t===void 0?!0:_t,Pn=vt.maskClosable,Vn=Pn===void 0?!0:Pn,Lt=vt.getContainer,Gt=vt.forceRender,sn=vt.afterOpenChange,bn=vt.destroyOnClose,Yn=vt.onMouseEnter,pr=vt.onMouseOver,ti=vt.onMouseLeave,si=vt.onClick,Cr=vt.onKeyDown,ur=vt.onKeyUp,dr=vt.panelRef,yn=x.useState(!1),$n=(0,He.Z)(yn,2),rr=$n[0],Zn=$n[1],br=x.useState(!1),Br=(0,He.Z)(br,2),Or=Br[0],ci=Br[1];(0,Me.Z)(function(){ci(!0)},[]);var Ai=Or?Dt:!1,di=x.useRef(),Pi=x.useRef();(0,Me.Z)(function(){Ai&&(Pi.current=document.activeElement)},[Ai]);var yi=function(gi){var ni;if(Zn(gi),sn==null||sn(gi),!gi&&Pi.current&&!((ni=di.current)!==null&&ni!==void 0&&ni.contains(Pi.current))){var An;(An=Pi.current)===null||An===void 0||An.focus({preventScroll:!0})}},oo=x.useMemo(function(){return{panel:dr}},[dr]);if(!Gt&&!rr&&!Ai&&bn)return null;var Gi={onMouseEnter:Yn,onMouseOver:pr,onMouseLeave:ti,onClick:si,onKeyDown:Cr,onKeyUp:ur},ar=(0,qe.Z)((0,qe.Z)({},vt),{},{open:Ai,prefixCls:xt,placement:Xt,autoFocus:wn,keyboard:nn,width:Ln,mask:un,maskClosable:Vn,inline:Lt===!1,afterOpenChange:yi,ref:di},Gi);return x.createElement(xe.Provider,{value:oo},x.createElement(Fe.Z,{open:Ai||Gt||rr,autoDestroy:!1,getContainer:Lt,autoLock:un&&(Ai||rr)},x.createElement(ht,ar)))},ze=Ct,pt=ze,Ne=ae(62487),Qe=ae(75030),Ot=ae(86641),ot=ae(55743),lt=ae(48755),Bt=ae(91190),We=ae(78776),ke=ae(458),Kt=mt=>{var vt,St;const{prefixCls:Dt,title:Qt,footer:xt,extra:ct,loading:Xt,onClose:Wt,headerStyle:wn,bodyStyle:ln,footerStyle:nn,children:zn,classNames:Ln,styles:_t}=mt,un=(0,lt.dj)("drawer"),Pn=x.useCallback(bn=>x.createElement("button",{type:"button",onClick:Wt,"aria-label":"Close",className:`${Dt}-close`},bn),[Wt]),[Vn,Lt]=(0,We.Z)((0,We.w)(mt),(0,We.w)(un),{closable:!0,closeIconRender:Pn}),Gt=x.useMemo(()=>{var bn,Yn;return!Qt&&!Vn?null:x.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(bn=un.styles)===null||bn===void 0?void 0:bn.header),wn),_t==null?void 0:_t.header),className:Le()(`${Dt}-header`,{[`${Dt}-header-close-only`]:Vn&&!Qt&&!ct},(Yn=un.classNames)===null||Yn===void 0?void 0:Yn.header,Ln==null?void 0:Ln.header)},x.createElement("div",{className:`${Dt}-header-title`},Lt,Qt&&x.createElement("div",{className:`${Dt}-title`},Qt)),ct&&x.createElement("div",{className:`${Dt}-extra`},ct))},[Vn,Lt,ct,wn,Dt,Qt]),sn=x.useMemo(()=>{var bn,Yn;if(!xt)return null;const pr=`${Dt}-footer`;return x.createElement("div",{className:Le()(pr,(bn=un.classNames)===null||bn===void 0?void 0:bn.footer,Ln==null?void 0:Ln.footer),style:Object.assign(Object.assign(Object.assign({},(Yn=un.styles)===null||Yn===void 0?void 0:Yn.footer),nn),_t==null?void 0:_t.footer)},xt)},[xt,nn,Dt]);return x.createElement(x.Fragment,null,Gt,x.createElement("div",{className:Le()(`${Dt}-body`,Ln==null?void 0:Ln.body,(vt=un.classNames)===null||vt===void 0?void 0:vt.body),style:Object.assign(Object.assign(Object.assign({},(St=un.styles)===null||St===void 0?void 0:St.body),ln),_t==null?void 0:_t.body)},Xt?x.createElement(ke.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Dt}-body-skeleton`}):zn),sn)},Ht=ae(36237),nt=ae(63356),Pt=ae(16931),Rt=ae(51636);const hn=mt=>{const vt="100%";return{left:`translateX(-${vt})`,right:`translateX(${vt})`,top:`translateY(-${vt})`,bottom:`translateY(${vt})`}[mt]},Tt=(mt,vt)=>({"&-enter, &-appear":Object.assign(Object.assign({},mt),{"&-active":vt}),"&-leave":Object.assign(Object.assign({},vt),{"&-active":mt})}),mn=(mt,vt)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${vt}`}}},Tt({opacity:mt},{opacity:1})),kt=(mt,vt)=>[mn(.7,vt),Tt({transform:hn(mt)},{transform:"none"})];var an=mt=>{const{componentCls:vt,motionDurationSlow:St}=mt;return{[vt]:{[`${vt}-mask-motion`]:mn(0,St),[`${vt}-panel-motion`]:["left","right","top","bottom"].reduce((Dt,Qt)=>Object.assign(Object.assign({},Dt),{[`&-${Qt}`]:kt(Qt,St)}),{})}}};const de=mt=>{const{borderRadiusSM:vt,componentCls:St,zIndexPopup:Dt,colorBgMask:Qt,colorBgElevated:xt,motionDurationSlow:ct,motionDurationMid:Xt,paddingXS:Wt,padding:wn,paddingLG:ln,fontSizeLG:nn,lineHeightLG:zn,lineWidth:Ln,lineType:_t,colorSplit:un,marginXS:Pn,colorIcon:Vn,colorIconHover:Lt,colorBgTextHover:Gt,colorBgTextActive:sn,colorText:bn,fontWeightStrong:Yn,footerPaddingBlock:pr,footerPaddingInline:ti,calc:si}=mt,Cr=`${St}-content-wrapper`;return{[St]:{position:"fixed",inset:0,zIndex:Dt,pointerEvents:"none",color:bn,"&-pure":{position:"relative",background:xt,display:"flex",flexDirection:"column",[`&${St}-left`]:{boxShadow:mt.boxShadowDrawerLeft},[`&${St}-right`]:{boxShadow:mt.boxShadowDrawerRight},[`&${St}-top`]:{boxShadow:mt.boxShadowDrawerUp},[`&${St}-bottom`]:{boxShadow:mt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${St}-mask`]:{position:"absolute",inset:0,zIndex:Dt,background:Qt,pointerEvents:"auto"},[Cr]:{position:"absolute",zIndex:Dt,maxWidth:"100vw",transition:`all ${ct}`,"&-hidden":{display:"none"}},[`&-left > ${Cr}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:mt.boxShadowDrawerLeft},[`&-right > ${Cr}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:mt.boxShadowDrawerRight},[`&-top > ${Cr}`]:{top:0,insetInline:0,boxShadow:mt.boxShadowDrawerUp},[`&-bottom > ${Cr}`]:{bottom:0,insetInline:0,boxShadow:mt.boxShadowDrawerDown},[`${St}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:xt,pointerEvents:"auto"},[`${St}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,Ht.unit)(wn)} ${(0,Ht.unit)(ln)}`,fontSize:nn,lineHeight:zn,borderBottom:`${(0,Ht.unit)(Ln)} ${_t} ${un}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${St}-extra`]:{flex:"none"},[`${St}-close`]:Object.assign({display:"inline-flex",width:si(nn).add(Wt).equal(),height:si(nn).add(Wt).equal(),borderRadius:vt,justifyContent:"center",alignItems:"center",marginInlineEnd:Pn,color:Vn,fontWeight:Yn,fontSize:nn,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Xt}`,textRendering:"auto","&:hover":{color:Lt,backgroundColor:Gt,textDecoration:"none"},"&:active":{backgroundColor:sn}},(0,nt.Qy)(mt)),[`${St}-title`]:{flex:1,margin:0,fontWeight:mt.fontWeightStrong,fontSize:nn,lineHeight:zn},[`${St}-body`]:{flex:1,minWidth:0,minHeight:0,padding:ln,overflow:"auto",[`${St}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${St}-footer`]:{flexShrink:0,padding:`${(0,Ht.unit)(pr)} ${(0,Ht.unit)(ti)}`,borderTop:`${(0,Ht.unit)(Ln)} ${_t} ${un}`},"&-rtl":{direction:"rtl"}}}},ge=mt=>({zIndexPopup:mt.zIndexPopupBase,footerPaddingBlock:mt.paddingXS,footerPaddingInline:mt.padding});var ie=(0,Pt.I$)("Drawer",mt=>{const vt=(0,Rt.mergeToken)(mt,{});return[de(vt),an(vt)]},ge),ee=function(mt,vt){var St={};for(var Dt in mt)Object.prototype.hasOwnProperty.call(mt,Dt)&&vt.indexOf(Dt)<0&&(St[Dt]=mt[Dt]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,Dt=Object.getOwnPropertySymbols(mt);Qt{var vt;const{rootClassName:St,width:Dt,height:Qt,size:xt="default",mask:ct=!0,push:Xt=le,open:Wt,afterOpenChange:wn,onClose:ln,prefixCls:nn,getContainer:zn,style:Ln,className:_t,visible:un,afterVisibleChange:Pn,maskStyle:Vn,drawerStyle:Lt,contentWrapperStyle:Gt}=mt,sn=ee(mt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:bn,getPrefixCls:Yn,direction:pr,className:ti,style:si,classNames:Cr,styles:ur}=(0,lt.dj)("drawer"),dr=Yn("drawer",nn),[yn,$n,rr]=ie(dr),Zn=zn===void 0&&bn?()=>bn(document.body):zn,br=Le()({"no-mask":!ct,[`${dr}-rtl`]:pr==="rtl"},St,$n,rr),Br=x.useMemo(()=>Dt!=null?Dt:xt==="large"?736:378,[Dt,xt]),Or=x.useMemo(()=>Qt!=null?Qt:xt==="large"?736:378,[Qt,xt]),ci={motionName:(0,Ot.m)(dr,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Ai=ar=>({motionName:(0,Ot.m)(dr,`panel-motion-${ar}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),di=(0,Bt.H)(),[Pi,yi]=(0,Qe.Cn)("Drawer",sn.zIndex),{classNames:oo={},styles:Gi={}}=sn;return yn(x.createElement(Ne.Z,{form:!0,space:!0},x.createElement(ot.Z.Provider,{value:yi},x.createElement(pt,Object.assign({prefixCls:dr,onClose:ln,maskMotion:ci,motion:Ai},sn,{classNames:{mask:Le()(oo.mask,Cr.mask),content:Le()(oo.content,Cr.content),wrapper:Le()(oo.wrapper,Cr.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Gi.mask),Vn),ur.mask),content:Object.assign(Object.assign(Object.assign({},Gi.content),Lt),ur.content),wrapper:Object.assign(Object.assign(Object.assign({},Gi.wrapper),Gt),ur.wrapper)},open:Wt!=null?Wt:un,mask:ct,push:Xt,width:Br,height:Or,style:Object.assign(Object.assign({},si),Ln),className:Le()(ti,_t),rootClassName:br,getContainer:Zn,afterOpenChange:wn!=null?wn:Pn,panelRef:di,zIndex:Pi}),x.createElement(Kt,Object.assign({prefixCls:dr},sn,{onClose:ln}))))))},Ge=mt=>{const{prefixCls:vt,style:St,className:Dt,placement:Qt="right"}=mt,xt=ee(mt,["prefixCls","style","className","placement"]),{getPrefixCls:ct}=x.useContext(lt.E_),Xt=ct("drawer",vt),[Wt,wn,ln]=ie(Xt),nn=Le()(Xt,`${Xt}-pure`,`${Xt}-${Qt}`,wn,ln,Dt);return Wt(x.createElement("div",{className:nn,style:St},x.createElement(Kt,Object.assign({prefixCls:Xt},xt))))};Be._InternalPanelDoNotUseOrYouWillBeFired=Ge;var ut=Be},19563:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ht}});var x=ae(59301),dt=ae(33853),Le=ae(38819),qe=ae(92310),He=ae.n(qe),Fe=ae(96478),Me=ae(6089),fe=ae(18929),xe=ae(2738),oe=ae(75030),ye=nt=>typeof nt!="object"&&typeof nt!="function"||nt===null,Re=ae(52838),Se=ae(45915),Ie=ae(22703),ve=ae(32383),we=ae(55743),Ee=ae(48755),Oe=ae(83397),Ke=ae(93041),je=ae(78857),_e=ae(57700),Je=ae(36237),Ve=ae(63356),st=ae(46e3),at=ae(93873),ht=ae(34925),Ct=ae(37645),ze=ae(36305),pt=ae(16931),Ne=ae(51636),Ot=nt=>{const{componentCls:Pt,menuCls:Rt,colorError:hn,colorTextLightSolid:Tt}=nt,mn=`${Rt}-item`;return{[`${Pt}, ${Pt}-menu-submenu`]:{[`${Rt} ${mn}`]:{[`&${mn}-danger:not(${mn}-disabled)`]:{color:hn,"&:hover":{color:Tt,backgroundColor:hn}}}}}};const ot=nt=>{const{componentCls:Pt,menuCls:Rt,zIndexPopup:hn,dropdownArrowDistance:Tt,sizePopupArrow:mn,antCls:kt,iconCls:Fn,motionDurationMid:an,paddingBlock:de,fontSize:ge,dropdownEdgeChildPadding:ie,colorTextDisabled:ee,fontSizeIcon:se,controlPaddingHorizontal:le,colorBgElevated:Be}=nt;return[{[Pt]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:hn,display:"block","&::before":{position:"absolute",insetBlock:nt.calc(mn).div(2).sub(Tt).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${kt}-btn`]:{[`& > ${Fn}-down, & > ${kt}-btn-icon > ${Fn}-down`]:{fontSize:se}},[`${Pt}-wrap`]:{position:"relative",[`${kt}-btn > ${Fn}-down`]:{fontSize:se},[`${Fn}-down::before`]:{transition:`transform ${an}`}},[`${Pt}-wrap-open`]:{[`${Fn}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${kt}-slide-down-enter${kt}-slide-down-enter-active${Pt}-placement-bottomLeft, + &${kt}-slide-down-appear${kt}-slide-down-appear-active${Pt}-placement-bottomLeft, + &${kt}-slide-down-enter${kt}-slide-down-enter-active${Pt}-placement-bottom, + &${kt}-slide-down-appear${kt}-slide-down-appear-active${Pt}-placement-bottom, + &${kt}-slide-down-enter${kt}-slide-down-enter-active${Pt}-placement-bottomRight, + &${kt}-slide-down-appear${kt}-slide-down-appear-active${Pt}-placement-bottomRight`]:{animationName:st.fJ},[`&${kt}-slide-up-enter${kt}-slide-up-enter-active${Pt}-placement-topLeft, + &${kt}-slide-up-appear${kt}-slide-up-appear-active${Pt}-placement-topLeft, + &${kt}-slide-up-enter${kt}-slide-up-enter-active${Pt}-placement-top, + &${kt}-slide-up-appear${kt}-slide-up-appear-active${Pt}-placement-top, + &${kt}-slide-up-enter${kt}-slide-up-enter-active${Pt}-placement-topRight, + &${kt}-slide-up-appear${kt}-slide-up-appear-active${Pt}-placement-topRight`]:{animationName:st.Qt},[`&${kt}-slide-down-leave${kt}-slide-down-leave-active${Pt}-placement-bottomLeft, + &${kt}-slide-down-leave${kt}-slide-down-leave-active${Pt}-placement-bottom, + &${kt}-slide-down-leave${kt}-slide-down-leave-active${Pt}-placement-bottomRight`]:{animationName:st.Uw},[`&${kt}-slide-up-leave${kt}-slide-up-leave-active${Pt}-placement-topLeft, + &${kt}-slide-up-leave${kt}-slide-up-leave-active${Pt}-placement-top, + &${kt}-slide-up-leave${kt}-slide-up-leave-active${Pt}-placement-topRight`]:{animationName:st.ly}}},(0,Ct.ZP)(nt,Be,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Pt} ${Rt}`]:{position:"relative",margin:0},[`${Rt}-submenu-popup`]:{position:"absolute",zIndex:hn,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Pt}, ${Pt}-menu-submenu`]:Object.assign(Object.assign({},(0,Ve.Wf)(nt)),{[Rt]:Object.assign(Object.assign({padding:ie,listStyleType:"none",backgroundColor:Be,backgroundClip:"padding-box",borderRadius:nt.borderRadiusLG,outline:"none",boxShadow:nt.boxShadowSecondary},(0,Ve.Qy)(nt)),{"&:empty":{padding:0,boxShadow:"none"},[`${Rt}-item-group-title`]:{padding:`${(0,Je.unit)(de)} ${(0,Je.unit)(le)}`,color:nt.colorTextDescription,transition:`all ${an}`},[`${Rt}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Rt}-item-icon`]:{minWidth:ge,marginInlineEnd:nt.marginXS,fontSize:nt.fontSizeSM},[`${Rt}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${an}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${Rt}-item-extra`]:{paddingInlineStart:nt.padding,marginInlineStart:"auto",fontSize:nt.fontSizeSM,color:nt.colorTextDescription}},[`${Rt}-item, ${Rt}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,Je.unit)(de)} ${(0,Je.unit)(le)}`,color:nt.colorText,fontWeight:"normal",fontSize:ge,lineHeight:nt.lineHeight,cursor:"pointer",transition:`all ${an}`,borderRadius:nt.borderRadiusSM,"&:hover, &-active":{backgroundColor:nt.controlItemBgHover}},(0,Ve.Qy)(nt)),{"&-selected":{color:nt.colorPrimary,backgroundColor:nt.controlItemBgActive,"&:hover, &-active":{backgroundColor:nt.controlItemBgActiveHover}},"&-disabled":{color:ee,cursor:"not-allowed","&:hover":{color:ee,backgroundColor:Be,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,Je.unit)(nt.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:nt.colorSplit},[`${Pt}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:nt.paddingXS,[`${Pt}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:nt.colorTextDescription,fontSize:se,fontStyle:"normal"}}}),[`${Rt}-item-group-list`]:{margin:`0 ${(0,Je.unit)(nt.marginXS)}`,padding:0,listStyle:"none"},[`${Rt}-submenu-title`]:{paddingInlineEnd:nt.calc(le).add(nt.fontSizeSM).equal()},[`${Rt}-submenu-vertical`]:{position:"relative"},[`${Rt}-submenu${Rt}-submenu-disabled ${Pt}-menu-submenu-title`]:{[`&, ${Pt}-menu-submenu-arrow-icon`]:{color:ee,backgroundColor:Be,cursor:"not-allowed"}},[`${Rt}-submenu-selected ${Pt}-menu-submenu-title`]:{color:nt.colorPrimary}})})},[(0,st.oN)(nt,"slide-up"),(0,st.oN)(nt,"slide-down"),(0,at.Fm)(nt,"move-up"),(0,at.Fm)(nt,"move-down"),(0,ht._y)(nt,"zoom-big")]]},lt=nt=>Object.assign(Object.assign({zIndexPopup:nt.zIndexPopupBase+50,paddingBlock:(nt.controlHeight-nt.fontSize*nt.lineHeight)/2},(0,Ct.wZ)({contentRadius:nt.borderRadiusLG,limitVerticalRadius:!0})),(0,ze.w)(nt));var Bt=(0,pt.I$)("Dropdown",nt=>{const{marginXXS:Pt,sizePopupArrow:Rt,paddingXXS:hn,componentCls:Tt}=nt,mn=(0,Ne.mergeToken)(nt,{menuCls:`${Tt}-menu`,dropdownArrowDistance:nt.calc(Rt).div(2).add(Pt).equal(),dropdownEdgeChildPadding:hn});return[ot(mn),Ot(mn)]},lt,{resetStyle:!1});const We=null,ke=nt=>{var Pt;const{menu:Rt,arrow:hn,prefixCls:Tt,children:mn,trigger:kt,disabled:Fn,dropdownRender:an,getPopupContainer:de,overlayClassName:ge,rootClassName:ie,overlayStyle:ee,open:se,onOpenChange:le,visible:Be,onVisibleChange:Ge,mouseEnterDelay:ut=.15,mouseLeaveDelay:mt=.1,autoAdjustOverflow:vt=!0,placement:St="",overlay:Dt,transitionName:Qt}=nt,{getPopupContainer:xt,getPrefixCls:ct,direction:Xt,dropdown:Wt}=x.useContext(Ee.E_),wn=(0,ve.ln)("Dropdown"),ln=x.useMemo(()=>{const Zn=ct();return Qt!==void 0?Qt:St.includes("top")?`${Zn}-slide-down`:`${Zn}-slide-up`},[ct,St,Qt]),nn=x.useMemo(()=>St?St.includes("Center")?St.slice(0,St.indexOf("Center")):St:Xt==="rtl"?"bottomRight":"bottomLeft",[St,Xt]),zn=ct("dropdown",Tt),Ln=(0,Oe.Z)(zn),[_t,un,Pn]=Bt(zn,Ln),[,Vn]=(0,_e.ZP)(),Lt=x.Children.only(ye(mn)?x.createElement("span",null,mn):mn),Gt=(0,Ie.Tm)(Lt,{className:He()(`${zn}-trigger`,{[`${zn}-rtl`]:Xt==="rtl"},Lt.props.className),disabled:(Pt=Lt.props.disabled)!==null&&Pt!==void 0?Pt:Fn}),sn=Fn?[]:kt,bn=!!(sn!=null&&sn.includes("contextMenu")),[Yn,pr]=(0,fe.Z)(!1,{value:se!=null?se:Be}),ti=(0,Me.Z)(Zn=>{le==null||le(Zn,{source:"trigger"}),Ge==null||Ge(Zn),pr(Zn)}),si=He()(ge,ie,un,Pn,Ln,Wt==null?void 0:Wt.className,{[`${zn}-rtl`]:Xt==="rtl"}),Cr=(0,Re.Z)({arrowPointAtCenter:typeof hn=="object"&&hn.pointAtCenter,autoAdjustOverflow:vt,offset:Vn.marginXXS,arrowWidth:hn?Vn.sizePopupArrow:0,borderRadius:Vn.borderRadius}),ur=x.useCallback(()=>{Rt!=null&&Rt.selectable&&(Rt!=null&&Rt.multiple)||(le==null||le(!1,{source:"menu"}),pr(!1))},[Rt==null?void 0:Rt.selectable,Rt==null?void 0:Rt.multiple]),dr=()=>{let Zn;return Rt!=null&&Rt.items?Zn=x.createElement(Ke.default,Object.assign({},Rt)):typeof Dt=="function"?Zn=Dt():Zn=Dt,an&&(Zn=an(Zn)),Zn=x.Children.only(typeof Zn=="string"?x.createElement("span",null,Zn):Zn),x.createElement(je.J,{prefixCls:`${zn}-menu`,rootClassName:He()(Pn,Ln),expandIcon:x.createElement("span",{className:`${zn}-menu-submenu-arrow`},Xt==="rtl"?x.createElement(dt.Z,{className:`${zn}-menu-submenu-arrow-icon`}):x.createElement(Le.Z,{className:`${zn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ur,validator:br=>{let{mode:Br}=br}},Zn)},[yn,$n]=(0,oe.Cn)("Dropdown",ee==null?void 0:ee.zIndex);let rr=x.createElement(Fe.Z,Object.assign({alignPoint:bn},(0,xe.Z)(nt,["rootClassName"]),{mouseEnterDelay:ut,mouseLeaveDelay:mt,visible:Yn,builtinPlacements:Cr,arrow:!!hn,overlayClassName:si,prefixCls:zn,getPopupContainer:de||xt,transitionName:ln,trigger:sn,overlay:dr,placement:nn,onVisibleChange:ti,overlayStyle:Object.assign(Object.assign(Object.assign({},Wt==null?void 0:Wt.style),ee),{zIndex:yn})}),Gt);return yn&&(rr=x.createElement(we.Z.Provider,{value:$n},rr)),_t(rr)},At=(0,Se.Z)(ke,"align",void 0,"dropdown",nt=>nt),Kt=nt=>x.createElement(At,Object.assign({},nt),x.createElement("span",null));ke._InternalPanelDoNotUseOrYouWillBeFired=Kt;var Ht=ke},75727:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Se}});var x=ae(19563),dt=ae(59301),Le=ae(18785),qe=ae(92310),He=ae.n(qe),Fe=ae(7939),Me=ae(48755),fe=ae(44104),xe=ae(70045),oe=function(Ie,ve){var we={};for(var Ee in Ie)Object.prototype.hasOwnProperty.call(Ie,Ee)&&ve.indexOf(Ee)<0&&(we[Ee]=Ie[Ee]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Ee=Object.getOwnPropertySymbols(Ie);Oe{const{getPopupContainer:ve,getPrefixCls:we,direction:Ee}=dt.useContext(Me.E_),{prefixCls:Oe,type:Ke="default",danger:je,disabled:_e,loading:Je,onClick:Ve,htmlType:st,children:at,className:ht,menu:Ct,arrow:ze,autoFocus:pt,overlay:Ne,trigger:Qe,align:Ot,open:ot,onOpenChange:lt,placement:Bt,getPopupContainer:We,href:ke,icon:At=dt.createElement(Le.Z,null),title:Kt,buttonsRender:Ht=ut=>ut,mouseEnterDelay:nt,mouseLeaveDelay:Pt,overlayClassName:Rt,overlayStyle:hn,destroyPopupOnHide:Tt,dropdownRender:mn}=Ie,kt=oe(Ie,["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"]),Fn=we("dropdown",Oe),an=`${Fn}-button`,de={menu:Ct,arrow:ze,autoFocus:pt,align:Ot,disabled:_e,trigger:_e?[]:Qe,onOpenChange:lt,getPopupContainer:We||ve,mouseEnterDelay:nt,mouseLeaveDelay:Pt,overlayClassName:Rt,overlayStyle:hn,destroyPopupOnHide:Tt,dropdownRender:mn},{compactSize:ge,compactItemClassnames:ie}=(0,xe.ri)(Fn,Ee),ee=He()(an,ie,ht);"overlay"in Ie&&(de.overlay=Ne),"open"in Ie&&(de.open=ot),"placement"in Ie?de.placement=Bt:de.placement=Ee==="rtl"?"bottomLeft":"bottomRight";const se=dt.createElement(Fe.ZP,{type:Ke,danger:je,disabled:_e,loading:Je,onClick:Ve,htmlType:st,href:ke,title:Kt},at),le=dt.createElement(Fe.ZP,{type:Ke,danger:je,icon:At}),[Be,Ge]=Ht([se,le]);return dt.createElement(fe.Z.Compact,Object.assign({className:ee,size:ge,block:!0},kt),Be,dt.createElement(x.Z,Object.assign({},de),Ge))};Pe.__ANT_BUTTON=!0;var ye=Pe;const Re=x.Z;Re.Button=ye;var Se=Re},584:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ke}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(9017),He=ae(17835),Fe=ae(57700),fe=()=>{const[,je]=(0,Fe.ZP)(),[_e]=(0,qe.Z)("Empty"),Ve=new He.FastColor(je.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return x.createElement("svg",{style:Ve,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},x.createElement("title",null,(_e==null?void 0:_e.description)||"Empty"),x.createElement("g",{fill:"none",fillRule:"evenodd"},x.createElement("g",{transform:"translate(24 31.67)"},x.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),x.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),x.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),x.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),x.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),x.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),x.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},x.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),x.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},oe=()=>{const[,je]=(0,Fe.ZP)(),[_e]=(0,qe.Z)("Empty"),{colorFill:Je,colorFillTertiary:Ve,colorFillQuaternary:st,colorBgContainer:at}=je,{borderColor:ht,shadowColor:Ct,contentColor:ze}=(0,x.useMemo)(()=>({borderColor:new He.FastColor(Je).onBackground(at).toHexString(),shadowColor:new He.FastColor(Ve).onBackground(at).toHexString(),contentColor:new He.FastColor(st).onBackground(at).toHexString()}),[Je,Ve,st,at]);return x.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},x.createElement("title",null,(_e==null?void 0:_e.description)||"Empty"),x.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},x.createElement("ellipse",{fill:Ct,cx:"32",cy:"33",rx:"32",ry:"7"}),x.createElement("g",{fillRule:"nonzero",stroke:ht},x.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),x.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:ze}))))},Pe=ae(16931),ye=ae(51636);const Re=je=>{const{componentCls:_e,margin:Je,marginXS:Ve,marginXL:st,fontSize:at,lineHeight:ht}=je;return{[_e]:{marginInline:Ve,fontSize:at,lineHeight:ht,textAlign:"center",[`${_e}-image`]:{height:je.emptyImgHeight,marginBottom:Ve,opacity:je.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${_e}-description`]:{color:je.colorTextDescription},[`${_e}-footer`]:{marginTop:Je},"&-normal":{marginBlock:st,color:je.colorTextDescription,[`${_e}-description`]:{color:je.colorTextDescription},[`${_e}-image`]:{height:je.emptyImgHeightMD}},"&-small":{marginBlock:Ve,color:je.colorTextDescription,[`${_e}-image`]:{height:je.emptyImgHeightSM}}}}};var Se=(0,Pe.I$)("Empty",je=>{const{componentCls:_e,controlHeightLG:Je,calc:Ve}=je,st=(0,ye.mergeToken)(je,{emptyImgCls:`${_e}-img`,emptyImgHeight:Ve(Je).mul(2.5).equal(),emptyImgHeightMD:Je,emptyImgHeightSM:Ve(Je).mul(.875).equal()});return[Re(st)]}),Ie=ae(48755),ve=function(je,_e){var Je={};for(var Ve in je)Object.prototype.hasOwnProperty.call(je,Ve)&&_e.indexOf(Ve)<0&&(Je[Ve]=je[Ve]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,Ve=Object.getOwnPropertySymbols(je);st{const{className:_e,rootClassName:Je,prefixCls:Ve,image:st=we,description:at,children:ht,imageStyle:Ct,style:ze,classNames:pt,styles:Ne}=je,Qe=ve(je,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Ot,direction:ot,className:lt,style:Bt,classNames:We,styles:ke}=(0,Ie.dj)("empty"),At=Ot("empty",Ve),[Kt,Ht,nt]=Se(At),[Pt]=(0,qe.Z)("Empty"),Rt=typeof at!="undefined"?at:Pt==null?void 0:Pt.description,hn=typeof Rt=="string"?Rt:"empty";let Tt=null;return typeof st=="string"?Tt=x.createElement("img",{alt:hn,src:st}):Tt=st,Kt(x.createElement("div",Object.assign({className:Le()(Ht,nt,At,lt,{[`${At}-normal`]:st===Ee,[`${At}-rtl`]:ot==="rtl"},_e,Je,We.root,pt==null?void 0:pt.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},ke.root),Bt),Ne==null?void 0:Ne.root),ze)},Qe),x.createElement("div",{className:Le()(`${At}-image`,We.image,pt==null?void 0:pt.image),style:Object.assign(Object.assign(Object.assign({},Ct),ke.image),Ne==null?void 0:Ne.image)},Tt),Rt&&x.createElement("div",{className:Le()(`${At}-description`,We.description,pt==null?void 0:pt.description),style:Object.assign(Object.assign({},ke.description),Ne==null?void 0:Ne.description)},Rt),ht&&x.createElement("div",{className:Le()(`${At}-footer`,We.footer,pt==null?void 0:pt.footer),style:Object.assign(Object.assign({},ke.footer),Ne==null?void 0:Ne.footer)},ht)))};Oe.PRESENTED_IMAGE_DEFAULT=we,Oe.PRESENTED_IMAGE_SIMPLE=Ee;var Ke=Oe},28284:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return Cn}});var x=ae(56553),dt=ae(77654),Le=ae(59301),qe=ae(92310),He=ae.n(qe),Fe=ae(77900),Me=ae(86641),fe=ae(83397);function xe(tt){const[pn,Zt]=Le.useState(tt);return Le.useEffect(()=>{const vn=setTimeout(()=>{Zt(tt)},tt.length?0:10);return()=>{clearTimeout(vn)}},[tt]),pn}var oe=ae(36237),Pe=ae(63356),ye=ae(34925),Re=ae(34961),Se=ae(51636),Ie=ae(16931),we=tt=>{const{componentCls:pn}=tt,Zt=`${pn}-show-help`,vn=`${pn}-show-help-item`;return{[Zt]:{transition:`opacity ${tt.motionDurationFast} ${tt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[vn]:{overflow:"hidden",transition:`height ${tt.motionDurationFast} ${tt.motionEaseInOut}, + opacity ${tt.motionDurationFast} ${tt.motionEaseInOut}, + transform ${tt.motionDurationFast} ${tt.motionEaseInOut} !important`,[`&${vn}-appear, &${vn}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${vn}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ee=tt=>({legend:{display:"block",width:"100%",marginBottom:tt.marginLG,padding:0,color:tt.colorTextDescription,fontSize:tt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,oe.unit)(tt.lineWidth)} ${tt.lineType} ${tt.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,oe.unit)(tt.controlOutlineWidth)} ${tt.controlOutline}`},output:{display:"block",paddingTop:15,color:tt.colorText,fontSize:tt.fontSize,lineHeight:tt.lineHeight}}),Oe=(tt,pn)=>{const{formItemCls:Zt}=tt;return{[Zt]:{[`${Zt}-label > label`]:{height:pn},[`${Zt}-control-input`]:{minHeight:pn}}}},Ke=tt=>{const{componentCls:pn}=tt;return{[tt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Pe.Wf)(tt)),Ee(tt)),{[`${pn}-text`]:{display:"inline-block",paddingInlineEnd:tt.paddingSM},"&-small":Object.assign({},Oe(tt,tt.controlHeightSM)),"&-large":Object.assign({},Oe(tt,tt.controlHeightLG))})}},je=tt=>{const{formItemCls:pn,iconCls:Zt,rootPrefixCls:vn,antCls:On,labelRequiredMarkColor:Rr,labelColor:Xr,labelFontSize:li,labelHeight:nr,labelColonMarginInlineStart:or,labelColonMarginInlineEnd:er,itemMarginBottom:_r}=tt;return{[pn]:Object.assign(Object.assign({},(0,Pe.Wf)(tt)),{marginBottom:_r,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden${On}-row`]:{display:"none"},"&-has-warning":{[`${pn}-split`]:{color:tt.colorError}},"&-has-error":{[`${pn}-split`]:{color:tt.colorWarning}},[`${pn}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:tt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:nr,color:Xr,fontSize:li,[`> ${Zt}`]:{fontSize:tt.fontSize,verticalAlign:"top"},[`&${pn}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:tt.marginXXS,color:Rr,fontSize:tt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${pn}-required-mark-hidden, &${pn}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${pn}-optional`]:{display:"inline-block",marginInlineStart:tt.marginXXS,color:tt.colorTextDescription,[`&${pn}-required-mark-hidden`]:{display:"none"}},[`${pn}-tooltip`]:{color:tt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:tt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:or,marginInlineEnd:er},[`&${pn}-no-colon::after`]:{content:'"\\a0"'}}},[`${pn}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${vn}-col-'"]):not([class*="' ${vn}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:tt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[pn]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:tt.colorTextDescription,fontSize:tt.fontSize,lineHeight:tt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:tt.controlHeightSM,transition:`color ${tt.motionDurationMid} ${tt.motionEaseOut}`},"&-explain":{"&-error":{color:tt.colorError},"&-warning":{color:tt.colorWarning}}},[`&-with-help ${pn}-explain`]:{height:"auto",opacity:1},[`${pn}-feedback-icon`]:{fontSize:tt.fontSize,textAlign:"center",visibility:"visible",animationName:ye.kr,animationDuration:tt.motionDurationMid,animationTimingFunction:tt.motionEaseOutBack,pointerEvents:"none","&-success":{color:tt.colorSuccess},"&-error":{color:tt.colorError},"&-warning":{color:tt.colorWarning},"&-validating":{color:tt.colorPrimary}}})}},_e=(tt,pn)=>{const{formItemCls:Zt}=tt;return{[`${pn}-horizontal`]:{[`${Zt}-label`]:{flexGrow:0},[`${Zt}-control`]:{flex:"1 1 0",minWidth:0},[`${Zt}-label[class$='-24'], ${Zt}-label[class*='-24 ']`]:{[`& + ${Zt}-control`]:{minWidth:"unset"}}}}},Je=tt=>{const{componentCls:pn,formItemCls:Zt,inlineItemMarginBottom:vn}=tt;return{[`${pn}-inline`]:{display:"flex",flexWrap:"wrap",[Zt]:{flex:"none",marginInlineEnd:tt.margin,marginBottom:vn,"&-row":{flexWrap:"nowrap"},[`> ${Zt}-label, + > ${Zt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Zt}-label`]:{flex:"none"},[`${pn}-text`]:{display:"inline-block"},[`${Zt}-has-feedback`]:{display:"inline-block"}}}}},Ve=tt=>({padding:tt.verticalLabelPadding,margin:tt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),st=tt=>{const{componentCls:pn,formItemCls:Zt,rootPrefixCls:vn}=tt;return{[`${Zt} ${Zt}-label`]:Ve(tt),[`${pn}:not(${pn}-inline)`]:{[Zt]:{flexWrap:"wrap",[`${Zt}-label, ${Zt}-control`]:{[`&:not([class*=" ${vn}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},at=tt=>{const{componentCls:pn,formItemCls:Zt,antCls:vn}=tt;return{[`${pn}-vertical`]:{[`${Zt}:not(${Zt}-horizontal)`]:{[`${Zt}-row`]:{flexDirection:"column"},[`${Zt}-label > label`]:{height:"auto"},[`${Zt}-control`]:{width:"100%"},[`${Zt}-label, + ${vn}-col-24${Zt}-label, + ${vn}-col-xl-24${Zt}-label`]:Ve(tt)}},[`@media (max-width: ${(0,oe.unit)(tt.screenXSMax)})`]:[st(tt),{[pn]:{[`${Zt}:not(${Zt}-horizontal)`]:{[`${vn}-col-xs-24${Zt}-label`]:Ve(tt)}}}],[`@media (max-width: ${(0,oe.unit)(tt.screenSMMax)})`]:{[pn]:{[`${Zt}:not(${Zt}-horizontal)`]:{[`${vn}-col-sm-24${Zt}-label`]:Ve(tt)}}},[`@media (max-width: ${(0,oe.unit)(tt.screenMDMax)})`]:{[pn]:{[`${Zt}:not(${Zt}-horizontal)`]:{[`${vn}-col-md-24${Zt}-label`]:Ve(tt)}}},[`@media (max-width: ${(0,oe.unit)(tt.screenLGMax)})`]:{[pn]:{[`${Zt}:not(${Zt}-horizontal)`]:{[`${vn}-col-lg-24${Zt}-label`]:Ve(tt)}}}}},ht=tt=>{const{formItemCls:pn,antCls:Zt}=tt;return{[`${pn}-vertical`]:{[`${pn}-row`]:{flexDirection:"column"},[`${pn}-label > label`]:{height:"auto"},[`${pn}-control`]:{width:"100%"}},[`${pn}-vertical ${pn}-label, + ${Zt}-col-24${pn}-label, + ${Zt}-col-xl-24${pn}-label`]:Ve(tt),[`@media (max-width: ${(0,oe.unit)(tt.screenXSMax)})`]:[st(tt),{[pn]:{[`${Zt}-col-xs-24${pn}-label`]:Ve(tt)}}],[`@media (max-width: ${(0,oe.unit)(tt.screenSMMax)})`]:{[pn]:{[`${Zt}-col-sm-24${pn}-label`]:Ve(tt)}},[`@media (max-width: ${(0,oe.unit)(tt.screenMDMax)})`]:{[pn]:{[`${Zt}-col-md-24${pn}-label`]:Ve(tt)}},[`@media (max-width: ${(0,oe.unit)(tt.screenLGMax)})`]:{[pn]:{[`${Zt}-col-lg-24${pn}-label`]:Ve(tt)}}}},Ct=tt=>({labelRequiredMarkColor:tt.colorError,labelColor:tt.colorTextHeading,labelFontSize:tt.fontSize,labelHeight:tt.controlHeight,labelColonMarginInlineStart:tt.marginXXS/2,labelColonMarginInlineEnd:tt.marginXS,itemMarginBottom:tt.marginLG,verticalLabelPadding:`0 0 ${tt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),ze=(tt,pn)=>(0,Se.mergeToken)(tt,{formItemCls:`${tt.componentCls}-item`,rootPrefixCls:pn});var pt=(0,Ie.I$)("Form",(tt,pn)=>{let{rootPrefixCls:Zt}=pn;const vn=ze(tt,Zt);return[Ke(vn),je(vn),we(vn),_e(vn,vn.componentCls),_e(vn,vn.formItemCls),Je(vn),at(vn),ht(vn),(0,Re.Z)(vn),ye.kr]},Ct,{order:-1e3});const Ne=[];function Qe(tt,pn,Zt){let vn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof tt=="string"?tt:`${pn}-${vn}`,error:tt,errorStatus:Zt}}var ot=tt=>{let{help:pn,helpStatus:Zt,errors:vn=Ne,warnings:On=Ne,className:Rr,fieldId:Xr,onVisibleChanged:li}=tt;const{prefixCls:nr}=Le.useContext(x.Rk),or=`${nr}-item-explain`,er=(0,fe.Z)(nr),[_r,Ti,bi]=pt(nr,er),Xi=Le.useMemo(()=>(0,Me.Z)(nr),[nr]),Er=xe(vn),tn=xe(On),$t=Le.useMemo(()=>pn!=null?[Qe(pn,"help",Zt)]:[].concat((0,dt.Z)(Er.map((gr,Ir)=>Qe(gr,"error","error",Ir))),(0,dt.Z)(tn.map((gr,Ir)=>Qe(gr,"warning","warning",Ir)))),[pn,Zt,Er,tn]),jn=Le.useMemo(()=>{const gr={};return $t.forEach(Ir=>{let{key:Kr}=Ir;gr[Kr]=(gr[Kr]||0)+1}),$t.map((Ir,Kr)=>Object.assign(Object.assign({},Ir),{key:gr[Ir.key]>1?`${Ir.key}-fallback-${Kr}`:Ir.key}))},[$t]),lr={};return Xr&&(lr.id=`${Xr}_help`),_r(Le.createElement(Fe.default,{motionDeadline:Xi.motionDeadline,motionName:`${nr}-show-help`,visible:!!jn.length,onVisibleChanged:li},gr=>{const{className:Ir,style:Kr}=gr;return Le.createElement("div",Object.assign({},lr,{className:He()(or,Ir,bi,er,Rr,Ti),style:Kr}),Le.createElement(Fe.CSSMotionList,Object.assign({keys:jn},(0,Me.Z)(nr),{motionName:`${nr}-show-help-item`,component:!1}),zr=>{const{key:pi,error:Ci,errorStatus:xi,className:hi,style:Ii}=zr;return Le.createElement("div",{key:pi,className:He()(hi,{[`${or}-${xi}`]:xi}),style:Ii},Ci)}))}))},lt=ae(69180),Bt=ae(48755),We=ae(2171),ke=ae(31756),At=ae(23069),Kt=ae(76846),Ht=ae(16722);const nt=["parentNode"],Pt="form_item";function Rt(tt){return tt===void 0||tt===!1?[]:Array.isArray(tt)?tt:[tt]}function hn(tt,pn){if(!tt.length)return;const Zt=tt.join("_");return pn?`${pn}_${Zt}`:nt.includes(Zt)?`${Pt}_${Zt}`:Zt}function Tt(tt,pn,Zt,vn,On,Rr){let Xr=vn;return Rr!==void 0?Xr=Rr:Zt.validating?Xr="validating":tt.length?Xr="error":pn.length?Xr="warning":(Zt.touched||On&&Zt.validated)&&(Xr="success"),Xr}var mn=function(tt,pn){var Zt={};for(var vn in tt)Object.prototype.hasOwnProperty.call(tt,vn)&&pn.indexOf(vn)<0&&(Zt[vn]=tt[vn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,vn=Object.getOwnPropertySymbols(tt);Ontt!=null?tt:Object.assign(Object.assign({},pn),{__INTERNAL__:{itemRef:On=>Rr=>{const Xr=kt(On);Rr?Zt.current[Xr]=Rr:delete Zt.current[Xr]}},scrollToField:function(On){let Rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:Xr}=Rr,li=mn(Rr,["focus"]),nr=Fn(On,vn);nr&&((0,Ht.Z)(nr,Object.assign({scrollMode:"if-needed",block:"nearest"},li)),Xr&&vn.focusField(On))},focusField:On=>{var Rr,Xr;const li=vn.getFieldInstance(On);typeof(li==null?void 0:li.focus)=="function"?li.focus():(Xr=(Rr=Fn(On,vn))===null||Rr===void 0?void 0:Rr.focus)===null||Xr===void 0||Xr.call(Rr)},getFieldInstance:On=>{const Rr=kt(On);return Zt.current[Rr]}}),[tt,pn]);return[vn]}var de=ae(98350),ge=function(tt,pn){var Zt={};for(var vn in tt)Object.prototype.hasOwnProperty.call(tt,vn)&&pn.indexOf(vn)<0&&(Zt[vn]=tt[vn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,vn=Object.getOwnPropertySymbols(tt);On{const Zt=Le.useContext(We.Z),{getPrefixCls:vn,direction:On,requiredMark:Rr,colon:Xr,scrollToFirstError:li,className:nr,style:or}=(0,Bt.dj)("form"),{prefixCls:er,className:_r,rootClassName:Ti,size:bi,disabled:Xi=Zt,form:Er,colon:tn,labelAlign:$t,labelWrap:jn,labelCol:lr,wrapperCol:gr,hideRequiredMark:Ir,layout:Kr="horizontal",scrollToFirstError:zr,requiredMark:pi,onFinishFailed:Ci,name:xi,style:hi,feedbackIcons:Ii,variant:Di}=tt,$i=ge(tt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),no=(0,ke.Z)(bi),Hi=Le.useContext(de.Z),ai=Le.useMemo(()=>pi!==void 0?pi:Ir?!1:Rr!==void 0?Rr:!0,[Ir,pi,Rr]),ao=tn!=null?tn:Xr,ki=vn("form",er),So=(0,fe.Z)(ki),[uo,Do,Co]=pt(ki,So),to=He()(ki,`${ki}-${Kr}`,{[`${ki}-hide-required-mark`]:ai===!1,[`${ki}-rtl`]:On==="rtl",[`${ki}-${no}`]:no},Co,So,Do,nr,_r,Ti),[Mo]=an(Er),{__INTERNAL__:Go}=Mo;Go.name=xi;const zo=Le.useMemo(()=>({name:xi,labelAlign:$t,labelCol:lr,labelWrap:jn,wrapperCol:gr,vertical:Kr==="vertical",colon:ao,requiredMark:ai,itemRef:Go.itemRef,form:Mo,feedbackIcons:Ii}),[xi,$t,lr,gr,Kr,ao,ai,Mo,Ii]),No=Le.useRef(null);Le.useImperativeHandle(pn,()=>{var $r;return Object.assign(Object.assign({},Mo),{nativeElement:($r=No.current)===null||$r===void 0?void 0:$r.nativeElement})});const zi=($r,ui)=>{if($r){let Zr={block:"nearest"};typeof $r=="object"&&(Zr=Object.assign(Object.assign({},Zr),$r)),Mo.scrollToField(ui,Zr)}},Vt=$r=>{if(Ci==null||Ci($r),$r.errorFields.length){const ui=$r.errorFields[0].name;if(zr!==void 0){zi(zr,ui);return}li!==void 0&&zi(li,ui)}};return uo(Le.createElement(x.pg.Provider,{value:Di},Le.createElement(We.n,{disabled:Xi},Le.createElement(At.Z.Provider,{value:no},Le.createElement(x.RV,{validateMessages:Hi},Le.createElement(x.q3.Provider,{value:zo},Le.createElement(lt.default,Object.assign({id:xi},$i,{name:xi,onFinishFailed:Vt,form:Mo,ref:No,style:Object.assign(Object.assign({},or),hi),className:to}))))))))};var se=Le.forwardRef(ie),le=ae(41799),Be=ae(8654),Ge=ae(22703),ut=ae(32383),mt=ae(11592);function vt(tt){if(typeof tt=="function")return tt;const pn=(0,mt.Z)(tt);return pn.length<=1?pn[0]:pn}const St=()=>{const{status:tt,errors:pn=[],warnings:Zt=[]}=Le.useContext(x.aM);return{status:tt,errors:pn,warnings:Zt}};St.Context=x.aM;var Dt=St,Qt=ae(16089);function xt(tt){const[pn,Zt]=Le.useState(tt),vn=Le.useRef(null),On=Le.useRef([]),Rr=Le.useRef(!1);Le.useEffect(()=>(Rr.current=!1,()=>{Rr.current=!0,Qt.Z.cancel(vn.current),vn.current=null}),[]);function Xr(li){Rr.current||(vn.current===null&&(On.current=[],vn.current=(0,Qt.Z)(()=>{vn.current=null,Zt(nr=>{let or=nr;return On.current.forEach(er=>{or=er(or)}),or})})),On.current.push(li))}return[pn,Xr]}function ct(){const{itemRef:tt}=Le.useContext(x.q3),pn=Le.useRef({});function Zt(vn,On){const Rr=On&&typeof On=="object"&&(0,Be.C4)(On),Xr=vn.join("_");return(pn.current.name!==Xr||pn.current.originRef!==Rr)&&(pn.current.name=Xr,pn.current.originRef=Rr,pn.current.ref=(0,Be.sQ)(tt(vn),Rr)),pn.current.ref}return Zt}var Xt=ae(29194),Wt=ae(34280),wn=ae(2738),ln=ae(65970),nn=ae(70425),zn=ae(5472);const Ln=tt=>{const{formItemCls:pn}=tt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${pn}-control`]:{display:"flex"}}}};var _t=(0,Ie.bk)(["Form","item-item"],(tt,pn)=>{let{rootPrefixCls:Zt}=pn;const vn=ze(tt,Zt);return[Ln(vn)]}),un=function(tt,pn){var Zt={};for(var vn in tt)Object.prototype.hasOwnProperty.call(tt,vn)&&pn.indexOf(vn)<0&&(Zt[vn]=tt[vn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,vn=Object.getOwnPropertySymbols(tt);On{const{prefixCls:pn,status:Zt,labelCol:vn,wrapperCol:On,children:Rr,errors:Xr,warnings:li,_internalItemRender:nr,extra:or,help:er,fieldId:_r,marginBottom:Ti,onErrorVisibleChanged:bi,label:Xi}=tt,Er=`${pn}-item`,tn=Le.useContext(x.q3),$t=Le.useMemo(()=>{let $i=Object.assign({},On||tn.wrapperCol||{});return Xi===null&&!vn&&!On&&tn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(Hi=>{const ai=Hi?[Hi]:[],ao=(0,nn.U2)(tn.labelCol,ai),ki=typeof ao=="object"?ao:{},So=(0,nn.U2)($i,ai),uo=typeof So=="object"?So:{};"span"in ki&&!("offset"in uo)&&ki.span{const{labelCol:$i,wrapperCol:no}=tn;return un(tn,["labelCol","wrapperCol"])},[tn]),gr=Le.useRef(null),[Ir,Kr]=Le.useState(0);(0,Wt.Z)(()=>{or&&gr.current?Kr(gr.current.clientHeight):Kr(0)},[or]);const zr=Le.createElement("div",{className:`${Er}-control-input`},Le.createElement("div",{className:`${Er}-control-input-content`},Rr)),pi=Le.useMemo(()=>({prefixCls:pn,status:Zt}),[pn,Zt]),Ci=Ti!==null||Xr.length||li.length?Le.createElement(x.Rk.Provider,{value:pi},Le.createElement(ot,{fieldId:_r,errors:Xr,warnings:li,help:er,helpStatus:Zt,className:`${Er}-explain-connected`,onVisibleChanged:bi})):null,xi={};_r&&(xi.id=`${_r}_extra`);const hi=or?Le.createElement("div",Object.assign({},xi,{className:`${Er}-extra`,ref:gr}),or):null,Ii=Ci||hi?Le.createElement("div",{className:`${Er}-additional`,style:Ti?{minHeight:Ti+Ir}:{}},Ci,hi):null,Di=nr&&nr.mark==="pro_table_render"&&nr.render?nr.render(tt,{input:zr,errorList:Ci,extra:hi}):Le.createElement(Le.Fragment,null,zr,Ii);return Le.createElement(x.q3.Provider,{value:lr},Le.createElement(zn.Z,Object.assign({},$t,{className:jn}),Di),Le.createElement(_t,{prefixCls:pn}))},Gt=ae(61485),sn=ae(9017),bn=ae(85981),Yn=ae(25399),pr=function(tt,pn){var Zt={};for(var vn in tt)Object.prototype.hasOwnProperty.call(tt,vn)&&pn.indexOf(vn)<0&&(Zt[vn]=tt[vn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,vn=Object.getOwnPropertySymbols(tt);On{let{prefixCls:pn,label:Zt,htmlFor:vn,labelCol:On,labelAlign:Rr,colon:Xr,required:li,requiredMark:nr,tooltip:or,vertical:er}=tt;var _r;const[Ti]=(0,sn.Z)("Form"),{labelAlign:bi,labelCol:Xi,labelWrap:Er,colon:tn}=Le.useContext(x.q3);if(!Zt)return null;const $t=On||Xi||{},jn=Rr||bi,lr=`${pn}-item-label`,gr=He()(lr,jn==="left"&&`${lr}-left`,$t.className,{[`${lr}-wrap`]:!!Er});let Ir=Zt;const Kr=Xr===!0||tn!==!1&&Xr!==!1;Kr&&!er&&typeof Zt=="string"&&Zt.trim()&&(Ir=Zt.replace(/[:|:]\s*$/,""));const pi=ti(or);if(pi){const{icon:$i=Le.createElement(Gt.Z,null)}=pi,no=pr(pi,["icon"]),Hi=Le.createElement(Yn.Z,Object.assign({},no),Le.cloneElement($i,{className:`${pn}-item-tooltip`,title:"",onClick:ai=>{ai.preventDefault()},tabIndex:null}));Ir=Le.createElement(Le.Fragment,null,Ir,Hi)}const Ci=nr==="optional",xi=typeof nr=="function",hi=nr===!1;xi?Ir=nr(Ir,{required:!!li}):Ci&&!li&&(Ir=Le.createElement(Le.Fragment,null,Ir,Le.createElement("span",{className:`${pn}-item-optional`,title:""},(Ti==null?void 0:Ti.optional)||((_r=bn.Z.Form)===null||_r===void 0?void 0:_r.optional))));let Ii;hi?Ii="hidden":(Ci||xi)&&(Ii="optional");const Di=He()({[`${pn}-item-required`]:li,[`${pn}-item-required-mark-${Ii}`]:Ii,[`${pn}-item-no-colon`]:!Kr});return Le.createElement(zn.Z,Object.assign({},$t,{className:gr}),Le.createElement("label",{htmlFor:vn,className:Di,title:typeof Zt=="string"?Zt:""},Ir))},ur=ae(29679),dr=ae(19248),yn=ae(96512),$n=ae(58617);const rr={success:ur.Z,warning:yn.Z,error:dr.Z,validating:$n.Z};function Zn(tt){let{children:pn,errors:Zt,warnings:vn,hasFeedback:On,validateStatus:Rr,prefixCls:Xr,meta:li,noStyle:nr}=tt;const or=`${Xr}-item`,{feedbackIcons:er}=Le.useContext(x.q3),_r=Tt(Zt,vn,li,null,!!On,Rr),{isFormItemInput:Ti,status:bi,hasFeedback:Xi,feedbackIcon:Er}=Le.useContext(x.aM),tn=Le.useMemo(()=>{var $t;let jn;if(On){const gr=On!==!0&&On.icons||er,Ir=_r&&(($t=gr==null?void 0:gr({status:_r,errors:Zt,warnings:vn}))===null||$t===void 0?void 0:$t[_r]),Kr=_r&&rr[_r];jn=Ir!==!1&&Kr?Le.createElement("span",{className:He()(`${or}-feedback-icon`,`${or}-feedback-icon-${_r}`)},Ir||Le.createElement(Kr,null)):null}const lr={status:_r||"",errors:Zt,warnings:vn,hasFeedback:!!On,feedbackIcon:jn,isFormItemInput:!0};return nr&&(lr.status=(_r!=null?_r:bi)||"",lr.isFormItemInput=Ti,lr.hasFeedback=!!(On!=null?On:Xi),lr.feedbackIcon=On!==void 0?lr.feedbackIcon:Er),lr},[_r,On,nr,Ti,bi]);return Le.createElement(x.aM.Provider,{value:tn},pn)}var br=function(tt,pn){var Zt={};for(var vn in tt)Object.prototype.hasOwnProperty.call(tt,vn)&&pn.indexOf(vn)<0&&(Zt[vn]=tt[vn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,vn=Object.getOwnPropertySymbols(tt);On{if(hi&&zr.current){const ki=getComputedStyle(zr.current);$i(parseInt(ki.marginBottom,10))}},[hi,Ii]);const no=ki=>{ki||$i(null)},ai=function(){let ki=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const So=ki?pi:or.errors,uo=ki?Ci:or.warnings;return Tt(So,uo,or,"",!!er,nr)}(),ao=He()(lr,Zt,vn,{[`${lr}-with-help`]:xi||pi.length||Ci.length,[`${lr}-has-feedback`]:ai&&er,[`${lr}-has-success`]:ai==="success",[`${lr}-has-warning`]:ai==="warning",[`${lr}-has-error`]:ai==="error",[`${lr}-is-validating`]:ai==="validating",[`${lr}-hidden`]:_r,[`${lr}-${$t}`]:$t});return Le.createElement("div",{className:ao,style:On,ref:zr},Le.createElement(ln.Z,Object.assign({className:`${lr}-row`},(0,wn.Z)(jn,["_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"])),Le.createElement(Cr,Object.assign({htmlFor:bi},tt,{requiredMark:gr,required:Xi!=null?Xi:Er,prefixCls:pn,vertical:Kr})),Le.createElement(Lt,Object.assign({},tt,or,{errors:pi,warnings:Ci,prefixCls:pn,status:ai,help:Rr,marginBottom:Di,onErrorVisibleChanged:no}),Le.createElement(x.qI.Provider,{value:tn},Le.createElement(Zn,{prefixCls:pn,meta:or,errors:or.errors,warnings:or.warnings,hasFeedback:er,validateStatus:ai},Ti)))),!!Di&&Le.createElement("div",{className:`${lr}-margin-offset`,style:{marginBottom:-Di}}))}const Or="__SPLIT__",ci=null;function Ai(tt,pn){const Zt=Object.keys(tt),vn=Object.keys(pn);return Zt.length===vn.length&&Zt.every(On=>{const Rr=tt[On],Xr=pn[On];return Rr===Xr||typeof Rr=="function"||typeof Xr=="function"})}const di=Le.memo(tt=>{let{children:pn}=tt;return pn},(tt,pn)=>Ai(tt.control,pn.control)&&tt.update===pn.update&&tt.childProps.length===pn.childProps.length&&tt.childProps.every((Zt,vn)=>Zt===pn.childProps[vn]));function Pi(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function yi(tt){const{name:pn,noStyle:Zt,className:vn,dependencies:On,prefixCls:Rr,shouldUpdate:Xr,rules:li,children:nr,required:or,label:er,messageVariables:_r,trigger:Ti="onChange",validateTrigger:bi,hidden:Xi,help:Er,layout:tn}=tt,{getPrefixCls:$t}=Le.useContext(Bt.E_),{name:jn}=Le.useContext(x.q3),lr=vt(nr),gr=typeof lr=="function",Ir=Le.useContext(x.qI),{validateTrigger:Kr}=Le.useContext(lt.FieldContext),zr=bi!==void 0?bi:Kr,pi=pn!=null,Ci=$t("form",Rr),xi=(0,fe.Z)(Ci),[hi,Ii,Di]=pt(Ci,xi),$i=(0,ut.ln)("Form.Item"),no=Le.useContext(lt.ListContext),Hi=Le.useRef(null),[ai,ao]=xt({}),[ki,So]=(0,le.Z)(()=>Pi()),uo=No=>{const zi=no==null?void 0:no.getKey(No.name);if(So(No.destroy?Pi():No,!0),Zt&&Er!==!1&&Ir){let Vt=No.name;if(No.destroy)Vt=Hi.current||Vt;else if(zi!==void 0){const[$r,ui]=zi;Vt=[$r].concat((0,dt.Z)(ui)),Hi.current=Vt}Ir(No,Vt)}},Do=(No,zi)=>{ao(Vt=>{const $r=Object.assign({},Vt),Zr=[].concat((0,dt.Z)(No.name.slice(0,-1)),(0,dt.Z)(zi)).join(Or);return No.destroy?delete $r[Zr]:$r[Zr]=No,$r})},[Co,to]=Le.useMemo(()=>{const No=(0,dt.Z)(ki.errors),zi=(0,dt.Z)(ki.warnings);return Object.values(ai).forEach(Vt=>{No.push.apply(No,(0,dt.Z)(Vt.errors||[])),zi.push.apply(zi,(0,dt.Z)(Vt.warnings||[]))}),[No,zi]},[ai,ki.errors,ki.warnings]),Mo=ct();function Go(No,zi,Vt){return Zt&&!Xi?Le.createElement(Zn,{prefixCls:Ci,hasFeedback:tt.hasFeedback,validateStatus:tt.validateStatus,meta:ki,errors:Co,warnings:to,noStyle:!0},No):Le.createElement(Br,Object.assign({key:"row"},tt,{className:He()(vn,Di,xi,Ii),prefixCls:Ci,fieldId:zi,isRequired:Vt,errors:Co,warnings:to,meta:ki,onSubItemMetaChange:Do,layout:tn}),No)}if(!pi&&!gr&&!On)return hi(Go(lr));let zo={};return typeof er=="string"?zo.label=er:pn&&(zo.label=String(pn)),_r&&(zo=Object.assign(Object.assign({},zo),_r)),hi(Le.createElement(lt.Field,Object.assign({},tt,{messageVariables:zo,trigger:Ti,validateTrigger:zr,onMetaChange:uo}),(No,zi,Vt)=>{const $r=Rt(pn).length&&zi?zi.name:[],ui=hn($r,jn),Zr=or!==void 0?or:!!(li!=null&&li.some(jr=>{if(jr&&typeof jr=="object"&&jr.required&&!jr.warningOnly)return!0;if(typeof jr=="function"){const Yr=jr(Vt);return(Yr==null?void 0:Yr.required)&&!(Yr!=null&&Yr.warningOnly)}return!1})),Ri=Object.assign({},No);let ro=null;if(Array.isArray(lr)&&pi)ro=lr;else if(!(gr&&(!(Xr||On)||pi))){if(!(On&&!gr&&!pi))if(Le.isValidElement(lr)){const jr=Object.assign(Object.assign({},lr.props),Ri);if(jr.id||(jr.id=ui),Er||Co.length>0||to.length>0||tt.extra){const _i=[];(Er||Co.length>0)&&_i.push(`${ui}_help`),tt.extra&&_i.push(`${ui}_extra`),jr["aria-describedby"]=_i.join(" ")}Co.length>0&&(jr["aria-invalid"]="true"),Zr&&(jr["aria-required"]="true"),(0,Be.Yr)(lr)&&(jr.ref=Mo($r,lr)),new Set([].concat((0,dt.Z)(Rt(Ti)),(0,dt.Z)(Rt(zr)))).forEach(_i=>{jr[_i]=function(){for(var Ro,ya,$o,Ea,da,wa=arguments.length,Wr=new Array(wa),Ji=0;Ji{var{prefixCls:pn,children:Zt}=tt,vn=ar(tt,["prefixCls","children"]);const{getPrefixCls:On}=Le.useContext(Bt.E_),Rr=On("form",pn),Xr=Le.useMemo(()=>({prefixCls:Rr,status:"error"}),[Rr]);return Le.createElement(lt.List,Object.assign({},vn),(li,nr,or)=>Le.createElement(x.Rk.Provider,{value:Xr},Zt(li.map(er=>Object.assign(Object.assign({},er),{fieldKey:er.key})),nr,{errors:or.errors,warnings:or.warnings})))};function ni(){const{form:tt}=Le.useContext(x.q3);return tt}const An=se;An.Item=Gi,An.List=gi,An.ErrorList=ot,An.useForm=an,An.useFormInstance=ni,An.useWatch=lt.useWatch,An.Provider=x.RV,An.create=()=>{};var Cn=An},75786:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Er}});var x=ae(59301),dt=ae(15277),Le=ae(92310),qe=ae.n(Le),He=ae(60499),Fe=ae(85899),Me=ae(18642),fe=ae(72190),xe=ae(43749),oe=ae(42244),Pe=/margin|padding|width|height|max|min|offset/,ye={left:!0,top:!0},Re={cssFloat:1,styleFloat:1,float:1};function Se(tn){return tn.nodeType===1?tn.ownerDocument.defaultView.getComputedStyle(tn,null):{}}function Ie(tn,$t,jn){if($t=$t.toLowerCase(),jn==="auto"){if($t==="height")return tn.offsetHeight;if($t==="width")return tn.offsetWidth}return $t in ye||(ye[$t]=Pe.test($t)),ye[$t]?parseFloat(jn)||0:jn}function ve(tn,$t){var jn=arguments.length,lr=Se(tn);return $t=Re[$t]?"cssFloat"in tn.style?"cssFloat":"styleFloat":$t,jn===1?lr:Ie(tn,$t,lr[$t]||tn.style[$t])}function we(tn,$t,jn){var lr=arguments.length;if($t=Re[$t]?"cssFloat"in tn.style?"cssFloat":"styleFloat":$t,lr===3)return typeof jn=="number"&&Pe.test($t)&&(jn="".concat(jn,"px")),tn.style[$t]=jn,jn;for(var gr in $t)$t.hasOwnProperty(gr)&&we(tn,gr,$t[gr]);return Se(tn)}function Ee(tn){return tn===document.body?document.documentElement.clientWidth:tn.offsetWidth}function Oe(tn){return tn===document.body?window.innerHeight||document.documentElement.clientHeight:tn.offsetHeight}function Ke(){var tn=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),$t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:tn,height:$t}}function je(){var tn=document.documentElement.clientWidth,$t=window.innerHeight||document.documentElement.clientHeight;return{width:tn,height:$t}}function _e(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Je(tn){var $t=tn.getBoundingClientRect(),jn=document.documentElement;return{left:$t.left+(window.pageXOffset||jn.scrollLeft)-(jn.clientLeft||document.body.clientLeft||0),top:$t.top+(window.pageYOffset||jn.scrollTop)-(jn.clientTop||document.body.clientTop||0)}}var Ve=ae(18929),st=ae(55311),at=ae(8224),ht=ae(10228),Ct=ae(43403),ze=ae(77900),pt=x.createContext(null),Ne=function($t){var jn=$t.visible,lr=$t.maskTransitionName,gr=$t.getContainer,Ir=$t.prefixCls,Kr=$t.rootClassName,zr=$t.icons,pi=$t.countRender,Ci=$t.showSwitch,xi=$t.showProgress,hi=$t.current,Ii=$t.transform,Di=$t.count,$i=$t.scale,no=$t.minScale,Hi=$t.maxScale,ai=$t.closeIcon,ao=$t.onActive,ki=$t.onClose,So=$t.onZoomIn,uo=$t.onZoomOut,Do=$t.onRotateRight,Co=$t.onRotateLeft,to=$t.onFlipX,Mo=$t.onFlipY,Go=$t.onReset,zo=$t.toolbarRender,No=$t.zIndex,zi=$t.image,Vt=(0,x.useContext)(pt),$r=zr.rotateLeft,ui=zr.rotateRight,Zr=zr.zoomIn,Ri=zr.zoomOut,ro=zr.close,jr=zr.left,Yr=zr.right,Bi=zr.flipX,_i=zr.flipY,Ro="".concat(Ir,"-operations-operation");x.useEffect(function(){var Ta=function(Fo){Fo.keyCode===ht.Z.ESC&&ki()};return jn&&window.addEventListener("keydown",Ta),function(){window.removeEventListener("keydown",Ta)}},[jn]);var ya=function(Za,Fo){Za.preventDefault(),Za.stopPropagation(),ao(Fo)},$o=x.useCallback(function(Ta){var Za=Ta.type,Fo=Ta.disabled,vo=Ta.onClick,qo=Ta.icon;return x.createElement("div",{key:Za,className:qe()(Ro,"".concat(Ir,"-operations-operation-").concat(Za),(0,Me.Z)({},"".concat(Ir,"-operations-operation-disabled"),!!Fo)),onClick:vo},qo)},[Ro,Ir]),Ea=Ci?$o({icon:jr,onClick:function(Za){return ya(Za,-1)},type:"prev",disabled:hi===0}):void 0,da=Ci?$o({icon:Yr,onClick:function(Za){return ya(Za,1)},type:"next",disabled:hi===Di-1}):void 0,wa=$o({icon:_i,onClick:Mo,type:"flipY"}),Wr=$o({icon:Bi,onClick:to,type:"flipX"}),Ji=$o({icon:$r,onClick:Co,type:"rotateLeft"}),xo=$o({icon:ui,onClick:Do,type:"rotateRight"}),ba=$o({icon:Ri,onClick:uo,type:"zoomOut",disabled:$i<=no}),Xa=$o({icon:Zr,onClick:So,type:"zoomIn",disabled:$i===Hi}),ns=x.createElement("div",{className:"".concat(Ir,"-operations")},wa,Wr,Ji,xo,ba,Xa);return x.createElement(ze.default,{visible:jn,motionName:lr},function(Ta){var Za=Ta.className,Fo=Ta.style;return x.createElement(Ct.Z,{open:!0,getContainer:gr!=null?gr:document.body},x.createElement("div",{className:qe()("".concat(Ir,"-operations-wrapper"),Za,Kr),style:(0,Fe.Z)((0,Fe.Z)({},Fo),{},{zIndex:No})},ai===null?null:x.createElement("button",{className:"".concat(Ir,"-close"),onClick:ki},ai||ro),Ci&&x.createElement(x.Fragment,null,x.createElement("div",{className:qe()("".concat(Ir,"-switch-left"),(0,Me.Z)({},"".concat(Ir,"-switch-left-disabled"),hi===0)),onClick:function(qo){return ya(qo,-1)}},jr),x.createElement("div",{className:qe()("".concat(Ir,"-switch-right"),(0,Me.Z)({},"".concat(Ir,"-switch-right-disabled"),hi===Di-1)),onClick:function(qo){return ya(qo,1)}},Yr)),x.createElement("div",{className:"".concat(Ir,"-footer")},xi&&x.createElement("div",{className:"".concat(Ir,"-progress")},pi?pi(hi+1,Di):"".concat(hi+1," / ").concat(Di)),zo?zo(ns,(0,Fe.Z)((0,Fe.Z)({icons:{prevIcon:Ea,nextIcon:da,flipYIcon:wa,flipXIcon:Wr,rotateLeftIcon:Ji,rotateRightIcon:xo,zoomOutIcon:ba,zoomInIcon:Xa},actions:{onActive:ao,onFlipY:Mo,onFlipX:to,onRotateLeft:Co,onRotateRight:Do,onZoomOut:uo,onZoomIn:So,onReset:Go,onClose:ki},transform:Ii},Vt?{current:hi,total:Di}:{}),{},{image:zi})):ns)))})},Qe=Ne,Ot=ae(13697),ot=ae(16089),lt={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Bt(tn,$t,jn,lr){var gr=(0,x.useRef)(null),Ir=(0,x.useRef)([]),Kr=(0,x.useState)(lt),zr=(0,fe.Z)(Kr,2),pi=zr[0],Ci=zr[1],xi=function($i){Ci(lt),(0,Ot.Z)(lt,pi)||lr==null||lr({transform:lt,action:$i})},hi=function($i,no){gr.current===null&&(Ir.current=[],gr.current=(0,ot.Z)(function(){Ci(function(Hi){var ai=Hi;return Ir.current.forEach(function(ao){ai=(0,Fe.Z)((0,Fe.Z)({},ai),ao)}),gr.current=null,lr==null||lr({transform:ai,action:no}),ai})})),Ir.current.push((0,Fe.Z)((0,Fe.Z)({},pi),$i))},Ii=function($i,no,Hi,ai,ao){var ki=tn.current,So=ki.width,uo=ki.height,Do=ki.offsetWidth,Co=ki.offsetHeight,to=ki.offsetLeft,Mo=ki.offsetTop,Go=$i,zo=pi.scale*$i;zo>jn?(zo=jn,Go=jn/pi.scale):zo<$t&&(zo=ao?zo:$t,Go=zo/pi.scale);var No=Hi!=null?Hi:innerWidth/2,zi=ai!=null?ai:innerHeight/2,Vt=Go-1,$r=Vt*So*.5,ui=Vt*uo*.5,Zr=Vt*(No-pi.x-to),Ri=Vt*(zi-pi.y-Mo),ro=pi.x-(Zr-$r),jr=pi.y-(Ri-ui);if($i<1&&zo===1){var Yr=Do*zo,Bi=Co*zo,_i=je(),Ro=_i.width,ya=_i.height;Yr<=Ro&&Bi<=ya&&(ro=0,jr=0)}hi({x:ro,y:jr,scale:zo},no)};return{transform:pi,resetTransform:xi,updateTransform:hi,dispatchZoomChange:Ii}}var We=ae(48736);function ke(tn,$t,jn,lr){var gr=$t+jn,Ir=(jn-lr)/2;if(jn>lr){if($t>0)return(0,Me.Z)({},tn,Ir);if($t<0&&grlr)return(0,Me.Z)({},tn,$t<0?Ir:-Ir);return{}}function At(tn,$t,jn,lr){var gr=je(),Ir=gr.width,Kr=gr.height,zr=null;return tn<=Ir&&$t<=Kr?zr={x:0,y:0}:(tn>Ir||$t>Kr)&&(zr=(0,Fe.Z)((0,Fe.Z)({},ke("x",jn,tn,Ir)),ke("y",lr,$t,Kr))),zr}var Kt=1,Ht=1;function nt(tn,$t,jn,lr,gr,Ir,Kr){var zr=gr.rotate,pi=gr.scale,Ci=gr.x,xi=gr.y,hi=(0,x.useState)(!1),Ii=(0,fe.Z)(hi,2),Di=Ii[0],$i=Ii[1],no=(0,x.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),Hi=function(uo){!$t||uo.button!==0||(uo.preventDefault(),uo.stopPropagation(),no.current={diffX:uo.pageX-Ci,diffY:uo.pageY-xi,transformX:Ci,transformY:xi},$i(!0))},ai=function(uo){jn&&Di&&Ir({x:uo.pageX-no.current.diffX,y:uo.pageY-no.current.diffY},"move")},ao=function(){if(jn&&Di){$i(!1);var uo=no.current,Do=uo.transformX,Co=uo.transformY,to=Ci!==Do&&xi!==Co;if(!to)return;var Mo=tn.current.offsetWidth*pi,Go=tn.current.offsetHeight*pi,zo=tn.current.getBoundingClientRect(),No=zo.left,zi=zo.top,Vt=zr%180!==0,$r=At(Vt?Go:Mo,Vt?Mo:Go,No,zi);$r&&Ir((0,Fe.Z)({},$r),"dragRebound")}},ki=function(uo){if(!(!jn||uo.deltaY==0)){var Do=Math.abs(uo.deltaY/100),Co=Math.min(Do,Ht),to=Kt+Co*lr;uo.deltaY>0&&(to=Kt/to),Kr(to,"wheel",uo.clientX,uo.clientY)}};return(0,x.useEffect)(function(){var So,uo,Do,Co;if($t){Do=(0,at.Z)(window,"mouseup",ao,!1),Co=(0,at.Z)(window,"mousemove",ai,!1);try{window.top!==window.self&&(So=(0,at.Z)(window.top,"mouseup",ao,!1),uo=(0,at.Z)(window.top,"mousemove",ai,!1))}catch(to){(0,We.Kp)(!1,"[rc-image] ".concat(to))}}return function(){var to,Mo,Go,zo;(to=Do)===null||to===void 0||to.remove(),(Mo=Co)===null||Mo===void 0||Mo.remove(),(Go=So)===null||Go===void 0||Go.remove(),(zo=uo)===null||zo===void 0||zo.remove()}},[jn,Di,Ci,xi,zr,$t]),{isMoving:Di,onMouseDown:Hi,onMouseMove:ai,onMouseUp:ao,onWheel:ki}}function Pt(tn){return new Promise(function($t){if(!tn){$t(!1);return}var jn=document.createElement("img");jn.onerror=function(){return $t(!1)},jn.onload=function(){return $t(!0)},jn.src=tn})}function Rt(tn){var $t=tn.src,jn=tn.isCustomPlaceholder,lr=tn.fallback,gr=(0,x.useState)(jn?"loading":"normal"),Ir=(0,fe.Z)(gr,2),Kr=Ir[0],zr=Ir[1],pi=(0,x.useRef)(!1),Ci=Kr==="error";(0,x.useEffect)(function(){var Di=!0;return Pt($t).then(function($i){!$i&&Di&&zr("error")}),function(){Di=!1}},[$t]),(0,x.useEffect)(function(){jn&&!pi.current?zr("loading"):Ci&&zr("normal")},[$t]);var xi=function(){zr("normal")},hi=function($i){pi.current=!1,Kr==="loading"&&$i!==null&&$i!==void 0&&$i.complete&&($i.naturalWidth||$i.naturalHeight)&&(pi.current=!0,xi())},Ii=Ci&&lr?{src:lr}:{onLoad:xi,src:$t};return[hi,Ii,Kr]}function hn(tn,$t){var jn=tn.x-$t.x,lr=tn.y-$t.y;return Math.hypot(jn,lr)}function Tt(tn,$t,jn,lr){var gr=hn(tn,jn),Ir=hn($t,lr);if(gr===0&&Ir===0)return[tn.x,tn.y];var Kr=gr/(gr+Ir),zr=tn.x+Kr*($t.x-tn.x),pi=tn.y+Kr*($t.y-tn.y);return[zr,pi]}function mn(tn,$t,jn,lr,gr,Ir,Kr){var zr=gr.rotate,pi=gr.scale,Ci=gr.x,xi=gr.y,hi=(0,x.useState)(!1),Ii=(0,fe.Z)(hi,2),Di=Ii[0],$i=Ii[1],no=(0,x.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),Hi=function(uo){no.current=(0,Fe.Z)((0,Fe.Z)({},no.current),uo)},ai=function(uo){if($t){uo.stopPropagation(),$i(!0);var Do=uo.touches,Co=Do===void 0?[]:Do;Co.length>1?Hi({point1:{x:Co[0].clientX,y:Co[0].clientY},point2:{x:Co[1].clientX,y:Co[1].clientY},eventType:"touchZoom"}):Hi({point1:{x:Co[0].clientX-Ci,y:Co[0].clientY-xi},eventType:"move"})}},ao=function(uo){var Do=uo.touches,Co=Do===void 0?[]:Do,to=no.current,Mo=to.point1,Go=to.point2,zo=to.eventType;if(Co.length>1&&zo==="touchZoom"){var No={x:Co[0].clientX,y:Co[0].clientY},zi={x:Co[1].clientX,y:Co[1].clientY},Vt=Tt(Mo,Go,No,zi),$r=(0,fe.Z)(Vt,2),ui=$r[0],Zr=$r[1],Ri=hn(No,zi)/hn(Mo,Go);Kr(Ri,"touchZoom",ui,Zr,!0),Hi({point1:No,point2:zi,eventType:"touchZoom"})}else zo==="move"&&(Ir({x:Co[0].clientX-Mo.x,y:Co[0].clientY-Mo.y},"move"),Hi({eventType:"move"}))},ki=function(){if(jn){if(Di&&$i(!1),Hi({eventType:"none"}),lr>pi)return Ir({x:0,y:0,scale:lr},"touchZoom");var uo=tn.current.offsetWidth*pi,Do=tn.current.offsetHeight*pi,Co=tn.current.getBoundingClientRect(),to=Co.left,Mo=Co.top,Go=zr%180!==0,zo=At(Go?Do:uo,Go?uo:Do,to,Mo);zo&&Ir((0,Fe.Z)({},zo),"dragRebound")}};return(0,x.useEffect)(function(){var So;return jn&&$t&&(So=(0,at.Z)(window,"touchmove",function(uo){return uo.preventDefault()},{passive:!1})),function(){var uo;(uo=So)===null||uo===void 0||uo.remove()}},[jn,$t]),{isTouching:Di,onTouchStart:ai,onTouchMove:ao,onTouchEnd:ki}}var kt=["fallback","src","imgRef"],Fn=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],an=function($t){var jn=$t.fallback,lr=$t.src,gr=$t.imgRef,Ir=(0,oe.Z)($t,kt),Kr=Rt({src:lr,fallback:jn}),zr=(0,fe.Z)(Kr,2),pi=zr[0],Ci=zr[1];return x.createElement("img",(0,He.Z)({ref:function(hi){gr.current=hi,pi(hi)}},Ir,Ci))},de=function($t){var jn=$t.prefixCls,lr=$t.src,gr=$t.alt,Ir=$t.imageInfo,Kr=$t.fallback,zr=$t.movable,pi=zr===void 0?!0:zr,Ci=$t.onClose,xi=$t.visible,hi=$t.icons,Ii=hi===void 0?{}:hi,Di=$t.rootClassName,$i=$t.closeIcon,no=$t.getContainer,Hi=$t.current,ai=Hi===void 0?0:Hi,ao=$t.count,ki=ao===void 0?1:ao,So=$t.countRender,uo=$t.scaleStep,Do=uo===void 0?.5:uo,Co=$t.minScale,to=Co===void 0?1:Co,Mo=$t.maxScale,Go=Mo===void 0?50:Mo,zo=$t.transitionName,No=zo===void 0?"zoom":zo,zi=$t.maskTransitionName,Vt=zi===void 0?"fade":zi,$r=$t.imageRender,ui=$t.imgCommonProps,Zr=$t.toolbarRender,Ri=$t.onTransform,ro=$t.onChange,jr=(0,oe.Z)($t,Fn),Yr=(0,x.useRef)(),Bi=(0,x.useContext)(pt),_i=Bi&&ki>1,Ro=Bi&&ki>=1,ya=(0,x.useState)(!0),$o=(0,fe.Z)(ya,2),Ea=$o[0],da=$o[1],wa=Bt(Yr,to,Go,Ri),Wr=wa.transform,Ji=wa.resetTransform,xo=wa.updateTransform,ba=wa.dispatchZoomChange,Xa=nt(Yr,pi,xi,Do,Wr,xo,ba),ns=Xa.isMoving,Ta=Xa.onMouseDown,Za=Xa.onWheel,Fo=mn(Yr,pi,xi,to,Wr,xo,ba),vo=Fo.isTouching,qo=Fo.onTouchStart,ja=Fo.onTouchMove,ls=Fo.onTouchEnd,Fs=Wr.rotate,il=Wr.scale,tu=qe()((0,Me.Z)({},"".concat(jn,"-moving"),ns));(0,x.useEffect)(function(){Ea||da(!0)},[Ea]);var Au=function(){Ji("close")},tl=function(){ba(Kt+Do,"zoomIn")},fl=function(){ba(Kt/(Kt+Do),"zoomOut")},wu=function(){xo({rotate:Fs+90},"rotateRight")},Lu=function(){xo({rotate:Fs-90},"rotateLeft")},hl=function(){xo({flipX:!Wr.flipX},"flipX")},vc=function(){xo({flipY:!Wr.flipY},"flipY")},Du=function(){Ji("reset")},fa=function($a){var Kl=ai+$a;!Number.isInteger(Kl)||Kl<0||Kl>ki-1||(da(!1),Ji($a<0?"prev":"next"),ro==null||ro(Kl,ai))},La=function($a){!xi||!_i||($a.keyCode===ht.Z.LEFT?fa(-1):$a.keyCode===ht.Z.RIGHT&&fa(1))},ha=function($a){xi&&(il!==1?xo({x:0,y:0,scale:1},"doubleClick"):ba(Kt+Do,"doubleClick",$a.clientX,$a.clientY))};(0,x.useEffect)(function(){var Ya=(0,at.Z)(window,"keydown",La,!1);return function(){Ya.remove()}},[xi,_i,ai]);var ga=x.createElement(an,(0,He.Z)({},ui,{width:$t.width,height:$t.height,imgRef:Yr,className:"".concat(jn,"-img"),alt:gr,style:{transform:"translate3d(".concat(Wr.x,"px, ").concat(Wr.y,"px, 0) scale3d(").concat(Wr.flipX?"-":"").concat(il,", ").concat(Wr.flipY?"-":"").concat(il,", 1) rotate(").concat(Fs,"deg)"),transitionDuration:(!Ea||vo)&&"0s"},fallback:Kr,src:lr,onWheel:Za,onMouseDown:Ta,onDoubleClick:ha,onTouchStart:qo,onTouchMove:ja,onTouchEnd:ls,onTouchCancel:ls})),es=(0,Fe.Z)({url:lr,alt:gr},Ir);return x.createElement(x.Fragment,null,x.createElement(st.Z,(0,He.Z)({transitionName:No,maskTransitionName:Vt,closable:!1,keyboard:!0,prefixCls:jn,onClose:Ci,visible:xi,classNames:{wrapper:tu},rootClassName:Di,getContainer:no},jr,{afterClose:Au}),x.createElement("div",{className:"".concat(jn,"-img-wrapper")},$r?$r(ga,(0,Fe.Z)({transform:Wr,image:es},Bi?{current:ai}:{})):ga)),x.createElement(Qe,{visible:xi,transform:Wr,maskTransitionName:Vt,closeIcon:$i,getContainer:no,prefixCls:jn,rootClassName:Di,icons:Ii,countRender:So,showSwitch:_i,showProgress:Ro,current:ai,count:ki,scale:il,minScale:to,maxScale:Go,toolbarRender:Zr,onActive:fa,onZoomIn:tl,onZoomOut:fl,onRotateRight:wu,onRotateLeft:Lu,onFlipX:hl,onFlipY:vc,onClose:Ci,onReset:Du,zIndex:jr.zIndex!==void 0?jr.zIndex+1:void 0,image:es}))},ge=de,ie=ae(77654),ee=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function se(tn){var $t=x.useState({}),jn=(0,fe.Z)($t,2),lr=jn[0],gr=jn[1],Ir=x.useCallback(function(zr,pi){return gr(function(Ci){return(0,Fe.Z)((0,Fe.Z)({},Ci),{},(0,Me.Z)({},zr,pi))}),function(){gr(function(Ci){var xi=(0,Fe.Z)({},Ci);return delete xi[zr],xi})}},[]),Kr=x.useMemo(function(){return tn?tn.map(function(zr){if(typeof zr=="string")return{data:{src:zr}};var pi={};return Object.keys(zr).forEach(function(Ci){["src"].concat((0,ie.Z)(ee)).includes(Ci)&&(pi[Ci]=zr[Ci])}),{data:pi}}):Object.keys(lr).reduce(function(zr,pi){var Ci=lr[pi],xi=Ci.canPreview,hi=Ci.data;return xi&&zr.push({data:hi,id:pi}),zr},[])},[tn,lr]);return[Kr,Ir,!!tn]}var le=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Be=["src"],Ge=function($t){var jn,lr=$t.previewPrefixCls,gr=lr===void 0?"rc-image-preview":lr,Ir=$t.children,Kr=$t.icons,zr=Kr===void 0?{}:Kr,pi=$t.items,Ci=$t.preview,xi=$t.fallback,hi=(0,xe.Z)(Ci)==="object"?Ci:{},Ii=hi.visible,Di=hi.onVisibleChange,$i=hi.getContainer,no=hi.current,Hi=hi.movable,ai=hi.minScale,ao=hi.maxScale,ki=hi.countRender,So=hi.closeIcon,uo=hi.onChange,Do=hi.onTransform,Co=hi.toolbarRender,to=hi.imageRender,Mo=(0,oe.Z)(hi,le),Go=se(pi),zo=(0,fe.Z)(Go,3),No=zo[0],zi=zo[1],Vt=zo[2],$r=(0,Ve.Z)(0,{value:no}),ui=(0,fe.Z)($r,2),Zr=ui[0],Ri=ui[1],ro=(0,x.useState)(!1),jr=(0,fe.Z)(ro,2),Yr=jr[0],Bi=jr[1],_i=((jn=No[Zr])===null||jn===void 0?void 0:jn.data)||{},Ro=_i.src,ya=(0,oe.Z)(_i,Be),$o=(0,Ve.Z)(!!Ii,{value:Ii,onChange:function(vo,qo){Di==null||Di(vo,qo,Zr)}}),Ea=(0,fe.Z)($o,2),da=Ea[0],wa=Ea[1],Wr=(0,x.useState)(null),Ji=(0,fe.Z)(Wr,2),xo=Ji[0],ba=Ji[1],Xa=x.useCallback(function(Fo,vo,qo,ja){var ls=Vt?No.findIndex(function(Fs){return Fs.data.src===vo}):No.findIndex(function(Fs){return Fs.id===Fo});Ri(ls<0?0:ls),wa(!0),ba({x:qo,y:ja}),Bi(!0)},[No,Vt]);x.useEffect(function(){da?Yr||Ri(0):Bi(!1)},[da]);var ns=function(vo,qo){Ri(vo),uo==null||uo(vo,qo)},Ta=function(){wa(!1),ba(null)},Za=x.useMemo(function(){return{register:zi,onPreview:Xa}},[zi,Xa]);return x.createElement(pt.Provider,{value:Za},Ir,x.createElement(ge,(0,He.Z)({"aria-hidden":!da,movable:Hi,visible:da,prefixCls:gr,closeIcon:So,onClose:Ta,mousePosition:xo,imgCommonProps:ya,src:Ro,fallback:xi,icons:zr,minScale:ai,maxScale:ao,getContainer:$i,current:Zr,count:No.length,countRender:ki,onTransform:Do,toolbarRender:Co,imageRender:to,onChange:ns},Mo)))},ut=Ge,mt=0;function vt(tn,$t){var jn=x.useState(function(){return mt+=1,String(mt)}),lr=(0,fe.Z)(jn,1),gr=lr[0],Ir=x.useContext(pt),Kr={data:$t,canPreview:tn};return x.useEffect(function(){if(Ir)return Ir.register(gr,Kr)},[]),x.useEffect(function(){Ir&&Ir.register(gr,Kr)},[tn,$t]),gr}var St=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Dt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Qt=function($t){var jn=$t.src,lr=$t.alt,gr=$t.onPreviewClose,Ir=$t.prefixCls,Kr=Ir===void 0?"rc-image":Ir,zr=$t.previewPrefixCls,pi=zr===void 0?"".concat(Kr,"-preview"):zr,Ci=$t.placeholder,xi=$t.fallback,hi=$t.width,Ii=$t.height,Di=$t.style,$i=$t.preview,no=$i===void 0?!0:$i,Hi=$t.className,ai=$t.onClick,ao=$t.onError,ki=$t.wrapperClassName,So=$t.wrapperStyle,uo=$t.rootClassName,Do=(0,oe.Z)($t,St),Co=Ci&&Ci!==!0,to=(0,xe.Z)(no)==="object"?no:{},Mo=to.src,Go=to.visible,zo=Go===void 0?void 0:Go,No=to.onVisibleChange,zi=No===void 0?gr:No,Vt=to.getContainer,$r=Vt===void 0?void 0:Vt,ui=to.mask,Zr=to.maskClassName,Ri=to.movable,ro=to.icons,jr=to.scaleStep,Yr=to.minScale,Bi=to.maxScale,_i=to.imageRender,Ro=to.toolbarRender,ya=(0,oe.Z)(to,Dt),$o=Mo!=null?Mo:jn,Ea=(0,Ve.Z)(!!zo,{value:zo,onChange:zi}),da=(0,fe.Z)(Ea,2),wa=da[0],Wr=da[1],Ji=Rt({src:jn,isCustomPlaceholder:Co,fallback:xi}),xo=(0,fe.Z)(Ji,3),ba=xo[0],Xa=xo[1],ns=xo[2],Ta=(0,x.useState)(null),Za=(0,fe.Z)(Ta,2),Fo=Za[0],vo=Za[1],qo=(0,x.useContext)(pt),ja=!!no,ls=function(){Wr(!1),vo(null)},Fs=qe()(Kr,ki,uo,(0,Me.Z)({},"".concat(Kr,"-error"),ns==="error")),il=(0,x.useMemo)(function(){var fl={};return ee.forEach(function(wu){$t[wu]!==void 0&&(fl[wu]=$t[wu])}),fl},ee.map(function(fl){return $t[fl]})),tu=(0,x.useMemo)(function(){return(0,Fe.Z)((0,Fe.Z)({},il),{},{src:$o})},[$o,il]),Au=vt(ja,tu),tl=function(wu){var Lu=Je(wu.target),hl=Lu.left,vc=Lu.top;qo?qo.onPreview(Au,$o,hl,vc):(vo({x:hl,y:vc}),Wr(!0)),ai==null||ai(wu)};return x.createElement(x.Fragment,null,x.createElement("div",(0,He.Z)({},Do,{className:Fs,onClick:ja?tl:ai,style:(0,Fe.Z)({width:hi,height:Ii},So)}),x.createElement("img",(0,He.Z)({},il,{className:qe()("".concat(Kr,"-img"),(0,Me.Z)({},"".concat(Kr,"-img-placeholder"),Ci===!0),Hi),style:(0,Fe.Z)({height:Ii},Di),ref:ba},Xa,{width:hi,height:Ii,onError:ao})),ns==="loading"&&x.createElement("div",{"aria-hidden":"true",className:"".concat(Kr,"-placeholder")},Ci),ui&&ja&&x.createElement("div",{className:qe()("".concat(Kr,"-mask"),Zr),style:{display:(Di==null?void 0:Di.display)==="none"?"none":void 0}},ui)),!qo&&ja&&x.createElement(ge,(0,He.Z)({"aria-hidden":!wa,visible:wa,prefixCls:pi,onClose:ls,mousePosition:Fo,src:$o,alt:lr,imageInfo:{width:hi,height:Ii},fallback:xi,getContainer:$r,icons:ro,movable:Ri,scaleStep:jr,minScale:Yr,maxScale:Bi,rootClassName:uo,imageRender:_i,imgCommonProps:il,toolbarRender:Ro},ya)))};Qt.PreviewGroup=ut;var xt=Qt,ct=xt,Xt=ae(75030),Wt=ae(86641),wn=ae(48755),ln=ae(83397),nn=ae(9017),zn=ae(99267),Ln=ae(33853),_t=ae(38819),un={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Pn=un,Vn=ae(7657),Lt=function($t,jn){return x.createElement(Vn.Z,(0,He.Z)({},$t,{ref:jn,icon:Pn}))},Gt=x.forwardRef(Lt),sn=Gt,bn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Yn=bn,pr=function($t,jn){return x.createElement(Vn.Z,(0,He.Z)({},$t,{ref:jn,icon:Yn}))},ti=x.forwardRef(pr),si=ti,Cr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},ur=Cr,dr=function($t,jn){return x.createElement(Vn.Z,(0,He.Z)({},$t,{ref:jn,icon:ur}))},yn=x.forwardRef(dr),$n=yn,rr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Zn=rr,br=function($t,jn){return x.createElement(Vn.Z,(0,He.Z)({},$t,{ref:jn,icon:Zn}))},Br=x.forwardRef(br),Or=Br,ci={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},Ai=ci,di=function($t,jn){return x.createElement(Vn.Z,(0,He.Z)({},$t,{ref:jn,icon:Ai}))},Pi=x.forwardRef(di),yi=Pi,oo=ae(36237),Gi=ae(17835),ar=ae(64427),Dr=ae(63356),gi=ae(34925),ni=ae(99495),An=ae(16931),Cn=ae(51636);const tt=tn=>({position:tn||"absolute",inset:0}),pn=tn=>{const{iconCls:$t,motionDurationSlow:jn,paddingXXS:lr,marginXXS:gr,prefixCls:Ir,colorTextLightSolid:Kr}=tn;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Kr,background:new Gi.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${jn}`,[`.${Ir}-mask-info`]:Object.assign(Object.assign({},Dr.vS),{padding:`0 ${(0,oo.unit)(lr)}`,[$t]:{marginInlineEnd:gr,svg:{verticalAlign:"baseline"}}})}},Zt=tn=>{const{previewCls:$t,modalMaskBg:jn,paddingSM:lr,marginXL:gr,margin:Ir,paddingLG:Kr,previewOperationColorDisabled:zr,previewOperationHoverColor:pi,motionDurationSlow:Ci,iconCls:xi,colorTextLightSolid:hi}=tn,Ii=new Gi.FastColor(jn).setA(.1),Di=Ii.clone().setA(.2);return{[`${$t}-footer`]:{position:"fixed",bottom:gr,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:tn.previewOperationColor,transform:"translateX(-50%)"},[`${$t}-progress`]:{marginBottom:Ir},[`${$t}-close`]:{position:"fixed",top:gr,right:{_skip_check_:!0,value:gr},display:"flex",color:hi,backgroundColor:Ii.toRgbString(),borderRadius:"50%",padding:lr,outline:0,border:0,cursor:"pointer",transition:`all ${Ci}`,"&:hover":{backgroundColor:Di.toRgbString()},[`& > ${xi}`]:{fontSize:tn.previewOperationSize}},[`${$t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,oo.unit)(Kr)}`,backgroundColor:Ii.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:lr,padding:lr,cursor:"pointer",transition:`all ${Ci}`,userSelect:"none",[`&:not(${$t}-operations-operation-disabled):hover > ${xi}`]:{color:pi},"&-disabled":{color:zr,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${xi}`]:{fontSize:tn.previewOperationSize}}}}},vn=tn=>{const{modalMaskBg:$t,iconCls:jn,previewOperationColorDisabled:lr,previewCls:gr,zIndexPopup:Ir,motionDurationSlow:Kr}=tn,zr=new Gi.FastColor($t).setA(.1),pi=zr.clone().setA(.2);return{[`${gr}-switch-left, ${gr}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:tn.calc(Ir).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:tn.imagePreviewSwitchSize,height:tn.imagePreviewSwitchSize,marginTop:tn.calc(tn.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:tn.previewOperationColor,background:zr.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Kr}`,userSelect:"none","&:hover":{background:pi.toRgbString()},"&-disabled":{"&, &:hover":{color:lr,background:"transparent",cursor:"not-allowed",[`> ${jn}`]:{cursor:"not-allowed"}}},[`> ${jn}`]:{fontSize:tn.previewOperationSize}},[`${gr}-switch-left`]:{insetInlineStart:tn.marginSM},[`${gr}-switch-right`]:{insetInlineEnd:tn.marginSM}}},On=tn=>{const{motionEaseOut:$t,previewCls:jn,motionDurationSlow:lr,componentCls:gr}=tn;return[{[`${gr}-preview-root`]:{[jn]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${jn}-body`]:Object.assign(Object.assign({},tt()),{overflow:"hidden"}),[`${jn}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${lr} ${$t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},tt()),{transition:`transform ${lr} ${$t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${jn}-moving`]:{[`${jn}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${gr}-preview-root`]:{[`${jn}-wrap`]:{zIndex:tn.zIndexPopup}}},{[`${gr}-preview-operations-wrapper`]:{position:"fixed",zIndex:tn.calc(tn.zIndexPopup).add(1).equal()},"&":[Zt(tn),vn(tn)]}]},Rr=tn=>{const{componentCls:$t}=tn;return{[$t]:{position:"relative",display:"inline-block",[`${$t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${$t}-img-placeholder`]:{backgroundColor:tn.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${$t}-mask`]:Object.assign({},pn(tn)),[`${$t}-mask:hover`]:{opacity:1},[`${$t}-placeholder`]:Object.assign({},tt())}}},Xr=tn=>{const{previewCls:$t}=tn;return{[`${$t}-root`]:(0,gi._y)(tn,"zoom"),"&":(0,ni.J$)(tn,!0)}},li=tn=>({zIndexPopup:tn.zIndexPopupBase+80,previewOperationColor:new Gi.FastColor(tn.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Gi.FastColor(tn.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Gi.FastColor(tn.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:tn.fontSizeIcon*1.5});var nr=(0,An.I$)("Image",tn=>{const $t=`${tn.componentCls}-preview`,jn=(0,Cn.mergeToken)(tn,{previewCls:$t,modalMaskBg:new Gi.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:tn.controlHeightLG});return[Rr(jn),On(jn),(0,ar.QA)((0,Cn.mergeToken)(jn,{componentCls:$t})),Xr(jn)]},li),or=function(tn,$t){var jn={};for(var lr in tn)Object.prototype.hasOwnProperty.call(tn,lr)&&$t.indexOf(lr)<0&&(jn[lr]=tn[lr]);if(tn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gr=0,lr=Object.getOwnPropertySymbols(tn);gr{var{previewPrefixCls:$t,preview:jn}=tn,lr=or(tn,["previewPrefixCls","preview"]);const{getPrefixCls:gr}=x.useContext(wn.E_),Ir=gr("image",$t),Kr=`${Ir}-preview`,zr=gr(),pi=(0,ln.Z)(Ir),[Ci,xi,hi]=nr(Ir,pi),[Ii]=(0,Xt.Cn)("ImagePreview",typeof jn=="object"?jn.zIndex:void 0),Di=x.useMemo(()=>{var $i;if(jn===!1)return jn;const no=typeof jn=="object"?jn:{},Hi=qe()(xi,hi,pi,($i=no.rootClassName)!==null&&$i!==void 0?$i:"");return Object.assign(Object.assign({},no),{transitionName:(0,Wt.m)(zr,"zoom",no.transitionName),maskTransitionName:(0,Wt.m)(zr,"fade",no.maskTransitionName),rootClassName:Hi,zIndex:Ii})},[jn]);return Ci(x.createElement(ct.PreviewGroup,Object.assign({preview:Di,previewPrefixCls:Kr,icons:er},lr)))},bi=function(tn,$t){var jn={};for(var lr in tn)Object.prototype.hasOwnProperty.call(tn,lr)&&$t.indexOf(lr)<0&&(jn[lr]=tn[lr]);if(tn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gr=0,lr=Object.getOwnPropertySymbols(tn);gr{const{prefixCls:$t,preview:jn,className:lr,rootClassName:gr,style:Ir}=tn,Kr=bi(tn,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:zr,getPopupContainer:pi,className:Ci,style:xi,preview:hi}=(0,wn.dj)("image"),[Ii]=(0,nn.Z)("Image"),Di=zr("image",$t),$i=zr(),no=(0,ln.Z)(Di),[Hi,ai,ao]=nr(Di,no),ki=qe()(gr,ai,ao,no),So=qe()(lr,ai,Ci),[uo]=(0,Xt.Cn)("ImagePreview",typeof jn=="object"?jn.zIndex:void 0),Do=x.useMemo(()=>{if(jn===!1)return jn;const to=typeof jn=="object"?jn:{},{getContainer:Mo,closeIcon:Go,rootClassName:zo}=to,No=bi(to,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:x.createElement("div",{className:`${Di}-mask-info`},x.createElement(dt.Z,null),Ii==null?void 0:Ii.preview),icons:er},No),{rootClassName:qe()(ki,zo),getContainer:Mo!=null?Mo:pi,transitionName:(0,Wt.m)($i,"zoom",to.transitionName),maskTransitionName:(0,Wt.m)($i,"fade",to.maskTransitionName),zIndex:uo,closeIcon:Go!=null?Go:hi==null?void 0:hi.closeIcon})},[jn,Ii,hi==null?void 0:hi.closeIcon]),Co=Object.assign(Object.assign({},xi),Ir);return Hi(x.createElement(ct,Object.assign({prefixCls:Di,preview:Do,rootClassName:ki,className:So,style:Co},Kr)))};Xi.PreviewGroup=Ti;var Er=Xi},4875:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Vn}});var x=ae(59301),dt=ae(84105),Le=ae(87395),qe=ae(92310),He=ae.n(qe),Fe=ae(60499),Me=ae(18642),fe=ae(43749),xe=ae(72190),oe=ae(42244),Pe=ae(38705),ye=ae(17212);function Re(){return typeof BigInt=="function"}function Se(Lt){return!Lt&&Lt!==0&&!Number.isNaN(Lt)||!String(Lt).trim()}function Ie(Lt){var Gt=Lt.trim(),sn=Gt.startsWith("-");sn&&(Gt=Gt.slice(1)),Gt=Gt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Gt.startsWith(".")&&(Gt="0".concat(Gt));var bn=Gt||"0",Yn=bn.split("."),pr=Yn[0]||"0",ti=Yn[1]||"0";pr==="0"&&ti==="0"&&(sn=!1);var si=sn?"-":"";return{negative:sn,negativeStr:si,trimStr:bn,integerStr:pr,decimalStr:ti,fullStr:"".concat(si).concat(bn)}}function ve(Lt){var Gt=String(Lt);return!Number.isNaN(Number(Gt))&&Gt.includes("e")}function we(Lt){var Gt=String(Lt);if(ve(Lt)){var sn=Number(Gt.slice(Gt.indexOf("e-")+2)),bn=Gt.match(/\.(\d+)/);return bn!=null&&bn[1]&&(sn+=bn[1].length),sn}return Gt.includes(".")&&Oe(Gt)?Gt.length-Gt.indexOf(".")-1:0}function Ee(Lt){var Gt=String(Lt);if(ve(Lt)){if(Lt>Number.MAX_SAFE_INTEGER)return String(Re()?BigInt(Lt).toString():Number.MAX_SAFE_INTEGER);if(Lt0&&arguments[0]!==void 0?arguments[0]:!0;return sn?this.isInvalidate()?"":Ie("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Lt}(),je=function(){function Lt(Gt){if((0,Pe.Z)(this,Lt),(0,Me.Z)(this,"origin",""),(0,Me.Z)(this,"number",void 0),(0,Me.Z)(this,"empty",void 0),Se(Gt)){this.empty=!0;return}this.origin=String(Gt),this.number=Number(Gt)}return(0,ye.Z)(Lt,[{key:"negate",value:function(){return new Lt(-this.toNumber())}},{key:"add",value:function(sn){if(this.isInvalidate())return new Lt(sn);var bn=Number(sn);if(Number.isNaN(bn))return this;var Yn=this.number+bn;if(Yn>Number.MAX_SAFE_INTEGER)return new Lt(Number.MAX_SAFE_INTEGER);if(YnNumber.MAX_SAFE_INTEGER)return new Lt(Number.MAX_SAFE_INTEGER);if(Yn0&&arguments[0]!==void 0?arguments[0]:!0;return sn?this.isInvalidate()?"":Ee(this.number):this.origin}}]),Lt}();function _e(Lt){return Re()?new Ke(Lt):new je(Lt)}function Je(Lt,Gt,sn){var bn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Lt==="")return"";var Yn=Ie(Lt),pr=Yn.negativeStr,ti=Yn.integerStr,si=Yn.decimalStr,Cr="".concat(Gt).concat(si),ur="".concat(pr).concat(ti);if(sn>=0){var dr=Number(si[sn]);if(dr>=5&&!bn){var yn=_e(Lt).add("".concat(pr,"0.").concat("0".repeat(sn)).concat(10-dr));return Je(yn.toString(),Gt,sn,bn)}return sn===0?ur:"".concat(ur).concat(Gt).concat(si.padEnd(sn,"0").slice(0,sn))}return Cr===".0"?ur:"".concat(ur).concat(Cr)}var Ve=_e,st=ae(36901),at=ae(34280);function ht(Lt,Gt){return typeof Proxy!="undefined"&&Lt?new Proxy(Lt,{get:function(bn,Yn){if(Gt[Yn])return Gt[Yn];var pr=bn[Yn];return typeof pr=="function"?pr.bind(bn):pr}}):Lt}var Ct=ae(8654),ze=ae(48736);function pt(Lt,Gt){var sn=(0,x.useRef)(null);function bn(){try{var pr=Lt.selectionStart,ti=Lt.selectionEnd,si=Lt.value,Cr=si.substring(0,pr),ur=si.substring(ti);sn.current={start:pr,end:ti,value:si,beforeTxt:Cr,afterTxt:ur}}catch(dr){}}function Yn(){if(Lt&&sn.current&&Gt)try{var pr=Lt.value,ti=sn.current,si=ti.beforeTxt,Cr=ti.afterTxt,ur=ti.start,dr=pr.length;if(pr.startsWith(si))dr=si.length;else if(pr.endsWith(Cr))dr=pr.length-sn.current.afterTxt.length;else{var yn=si[ur-1],$n=pr.indexOf(yn,ur-1);$n!==-1&&(dr=$n+1)}Lt.setSelectionRange(dr,dr)}catch(rr){(0,ze.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(rr.message))}}return[bn,Yn]}var Ne=ae(49658),Qe=function(){var Gt=(0,x.useState)(!1),sn=(0,xe.Z)(Gt,2),bn=sn[0],Yn=sn[1];return(0,at.Z)(function(){Yn((0,Ne.Z)())},[]),bn},Ot=Qe,ot=ae(16089),lt=200,Bt=600;function We(Lt){var Gt=Lt.prefixCls,sn=Lt.upNode,bn=Lt.downNode,Yn=Lt.upDisabled,pr=Lt.downDisabled,ti=Lt.onStep,si=x.useRef(),Cr=x.useRef([]),ur=x.useRef();ur.current=ti;var dr=function(){clearTimeout(si.current)},yn=function(Ai,di){Ai.preventDefault(),dr(),ur.current(di);function Pi(){ur.current(di),si.current=setTimeout(Pi,lt)}si.current=setTimeout(Pi,Bt)};x.useEffect(function(){return function(){dr(),Cr.current.forEach(function(ci){return ot.Z.cancel(ci)})}},[]);var $n=Ot();if($n)return null;var rr="".concat(Gt,"-handler"),Zn=He()(rr,"".concat(rr,"-up"),(0,Me.Z)({},"".concat(rr,"-up-disabled"),Yn)),br=He()(rr,"".concat(rr,"-down"),(0,Me.Z)({},"".concat(rr,"-down-disabled"),pr)),Br=function(){return Cr.current.push((0,ot.Z)(dr))},Or={unselectable:"on",role:"button",onMouseUp:Br,onMouseLeave:Br};return x.createElement("div",{className:"".concat(rr,"-wrap")},x.createElement("span",(0,Fe.Z)({},Or,{onMouseDown:function(Ai){yn(Ai,!0)},"aria-label":"Increase Value","aria-disabled":Yn,className:Zn}),sn||x.createElement("span",{unselectable:"on",className:"".concat(Gt,"-handler-up-inner")})),x.createElement("span",(0,Fe.Z)({},Or,{onMouseDown:function(Ai){yn(Ai,!1)},"aria-label":"Decrease Value","aria-disabled":pr,className:br}),bn||x.createElement("span",{unselectable:"on",className:"".concat(Gt,"-handler-down-inner")})))}function ke(Lt){var Gt=typeof Lt=="number"?Ee(Lt):Ie(Lt).fullStr,sn=Gt.includes(".");return sn?Ie(Gt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Lt+"0"}var At=ae(30292),Kt=function(){var Lt=(0,x.useRef)(0),Gt=function(){ot.Z.cancel(Lt.current)};return(0,x.useEffect)(function(){return Gt},[]),function(sn){Gt(),Lt.current=(0,ot.Z)(function(){sn()})}},Ht=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],nt=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Pt=function(Gt,sn){return Gt||sn.isEmpty()?sn.toString():sn.toNumber()},Rt=function(Gt){var sn=Ve(Gt);return sn.isInvalidate()?null:sn},hn=x.forwardRef(function(Lt,Gt){var sn=Lt.prefixCls,bn=Lt.className,Yn=Lt.style,pr=Lt.min,ti=Lt.max,si=Lt.step,Cr=si===void 0?1:si,ur=Lt.defaultValue,dr=Lt.value,yn=Lt.disabled,$n=Lt.readOnly,rr=Lt.upHandler,Zn=Lt.downHandler,br=Lt.keyboard,Br=Lt.changeOnWheel,Or=Br===void 0?!1:Br,ci=Lt.controls,Ai=ci===void 0?!0:ci,di=Lt.classNames,Pi=Lt.stringMode,yi=Lt.parser,oo=Lt.formatter,Gi=Lt.precision,ar=Lt.decimalSeparator,Dr=Lt.onChange,gi=Lt.onInput,ni=Lt.onPressEnter,An=Lt.onStep,Cn=Lt.changeOnBlur,tt=Cn===void 0?!0:Cn,pn=Lt.domRef,Zt=(0,oe.Z)(Lt,Ht),vn="".concat(sn,"-input"),On=x.useRef(null),Rr=x.useState(!1),Xr=(0,xe.Z)(Rr,2),li=Xr[0],nr=Xr[1],or=x.useRef(!1),er=x.useRef(!1),_r=x.useRef(!1),Ti=x.useState(function(){return Ve(dr!=null?dr:ur)}),bi=(0,xe.Z)(Ti,2),Xi=bi[0],Er=bi[1];function tn(ui){dr===void 0&&Er(ui)}var $t=x.useCallback(function(ui,Zr){if(!Zr)return Gi>=0?Gi:Math.max(we(ui),we(Cr))},[Gi,Cr]),jn=x.useCallback(function(ui){var Zr=String(ui);if(yi)return yi(Zr);var Ri=Zr;return ar&&(Ri=Ri.replace(ar,".")),Ri.replace(/[^\w.-]+/g,"")},[yi,ar]),lr=x.useRef(""),gr=x.useCallback(function(ui,Zr){if(oo)return oo(ui,{userTyping:Zr,input:String(lr.current)});var Ri=typeof ui=="number"?Ee(ui):ui;if(!Zr){var ro=$t(Ri,Zr);if(Oe(Ri)&&(ar||ro>=0)){var jr=ar||".";Ri=Je(Ri,jr,ro)}}return Ri},[oo,$t,ar]),Ir=x.useState(function(){var ui=ur!=null?ur:dr;return Xi.isInvalidate()&&["string","number"].includes((0,fe.Z)(ui))?Number.isNaN(ui)?"":ui:gr(Xi.toString(),!1)}),Kr=(0,xe.Z)(Ir,2),zr=Kr[0],pi=Kr[1];lr.current=zr;function Ci(ui,Zr){pi(gr(ui.isInvalidate()?ui.toString(!1):ui.toString(!Zr),Zr))}var xi=x.useMemo(function(){return Rt(ti)},[ti,Gi]),hi=x.useMemo(function(){return Rt(pr)},[pr,Gi]),Ii=x.useMemo(function(){return!xi||!Xi||Xi.isInvalidate()?!1:xi.lessEquals(Xi)},[xi,Xi]),Di=x.useMemo(function(){return!hi||!Xi||Xi.isInvalidate()?!1:Xi.lessEquals(hi)},[hi,Xi]),$i=pt(On.current,li),no=(0,xe.Z)($i,2),Hi=no[0],ai=no[1],ao=function(Zr){return xi&&!Zr.lessEquals(xi)?xi:hi&&!hi.lessEquals(Zr)?hi:null},ki=function(Zr){return!ao(Zr)},So=function(Zr,Ri){var ro=Zr,jr=ki(ro)||ro.isEmpty();if(!ro.isEmpty()&&!Ri&&(ro=ao(ro)||ro,jr=!0),!$n&&!yn&&jr){var Yr=ro.toString(),Bi=$t(Yr,Ri);return Bi>=0&&(ro=Ve(Je(Yr,".",Bi)),ki(ro)||(ro=Ve(Je(Yr,".",Bi,!0)))),ro.equals(Xi)||(tn(ro),Dr==null||Dr(ro.isEmpty()?null:Pt(Pi,ro)),dr===void 0&&Ci(ro,Ri)),ro}return Xi},uo=Kt(),Do=function ui(Zr){if(Hi(),lr.current=Zr,pi(Zr),!er.current){var Ri=jn(Zr),ro=Ve(Ri);ro.isNaN()||So(ro,!0)}gi==null||gi(Zr),uo(function(){var jr=Zr;yi||(jr=Zr.replace(/。/g,".")),jr!==Zr&&ui(jr)})},Co=function(){er.current=!0},to=function(){er.current=!1,Do(On.current.value)},Mo=function(Zr){Do(Zr.target.value)},Go=function(Zr){var Ri;if(!(Zr&&Ii||!Zr&&Di)){or.current=!1;var ro=Ve(_r.current?ke(Cr):Cr);Zr||(ro=ro.negate());var jr=(Xi||Ve(0)).add(ro.toString()),Yr=So(jr,!1);An==null||An(Pt(Pi,Yr),{offset:_r.current?ke(Cr):Cr,type:Zr?"up":"down"}),(Ri=On.current)===null||Ri===void 0||Ri.focus()}},zo=function(Zr){var Ri=Ve(jn(zr)),ro;Ri.isNaN()?ro=So(Xi,Zr):ro=So(Ri,Zr),dr!==void 0?Ci(Xi,!1):ro.isNaN()||Ci(ro,!1)},No=function(){or.current=!0},zi=function(Zr){var Ri=Zr.key,ro=Zr.shiftKey;or.current=!0,_r.current=ro,Ri==="Enter"&&(er.current||(or.current=!1),zo(!1),ni==null||ni(Zr)),br!==!1&&!er.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ri)&&(Go(Ri==="Up"||Ri==="ArrowUp"),Zr.preventDefault())},Vt=function(){or.current=!1,_r.current=!1};x.useEffect(function(){if(Or&&li){var ui=function(ro){Go(ro.deltaY<0),ro.preventDefault()},Zr=On.current;if(Zr)return Zr.addEventListener("wheel",ui,{passive:!1}),function(){return Zr.removeEventListener("wheel",ui)}}});var $r=function(){tt&&zo(!1),nr(!1),or.current=!1};return(0,at.o)(function(){Xi.isInvalidate()||Ci(Xi,!1)},[Gi,oo]),(0,at.o)(function(){var ui=Ve(dr);Er(ui);var Zr=Ve(jn(zr));(!ui.equals(Zr)||!or.current||oo)&&Ci(ui,or.current)},[dr]),(0,at.o)(function(){oo&&ai()},[zr]),x.createElement("div",{ref:pn,className:He()(sn,bn,(0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)({},"".concat(sn,"-focused"),li),"".concat(sn,"-disabled"),yn),"".concat(sn,"-readonly"),$n),"".concat(sn,"-not-a-number"),Xi.isNaN()),"".concat(sn,"-out-of-range"),!Xi.isInvalidate()&&!ki(Xi))),style:Yn,onFocus:function(){nr(!0)},onBlur:$r,onKeyDown:zi,onKeyUp:Vt,onCompositionStart:Co,onCompositionEnd:to,onBeforeInput:No},Ai&&x.createElement(We,{prefixCls:sn,upNode:rr,downNode:Zn,upDisabled:Ii,downDisabled:Di,onStep:Go}),x.createElement("div",{className:"".concat(vn,"-wrap")},x.createElement("input",(0,Fe.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":pr,"aria-valuemax":ti,"aria-valuenow":Xi.isInvalidate()?null:Xi.toString(),step:Cr},Zt,{ref:(0,Ct.sQ)(On,Gt),className:vn,value:zr,onChange:Mo,disabled:yn,readOnly:$n}))))}),Tt=x.forwardRef(function(Lt,Gt){var sn=Lt.disabled,bn=Lt.style,Yn=Lt.prefixCls,pr=Yn===void 0?"rc-input-number":Yn,ti=Lt.value,si=Lt.prefix,Cr=Lt.suffix,ur=Lt.addonBefore,dr=Lt.addonAfter,yn=Lt.className,$n=Lt.classNames,rr=(0,oe.Z)(Lt,nt),Zn=x.useRef(null),br=x.useRef(null),Br=x.useRef(null),Or=function(Ai){Br.current&&(0,At.nH)(Br.current,Ai)};return x.useImperativeHandle(Gt,function(){return ht(Br.current,{focus:Or,nativeElement:Zn.current.nativeElement||br.current})}),x.createElement(st.BaseInput,{className:yn,triggerFocus:Or,prefixCls:pr,value:ti,disabled:sn,style:bn,prefix:si,suffix:Cr,addonAfter:dr,addonBefore:ur,classNames:$n,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:Zn},x.createElement(hn,(0,Fe.Z)({prefixCls:pr,disabled:sn,ref:Br,domRef:br,className:$n==null?void 0:$n.input},rr)))}),mn=Tt,kt=mn,Fn=ae(62487),an=ae(82855),de=ae(48755),ge=ae(60840),ie=ae(2171),ee=ae(83397),se=ae(31756),le=ae(56553),Be=ae(24971),Ge=ae(70045),ut=ae(36237),mt=ae(53075),vt=ae(64910),St=ae(39082),Dt=ae(63356),Qt=ae(56119),xt=ae(16931),ct=ae(51636),Xt=ae(17835);const Wt=Lt=>{var Gt;const sn=(Gt=Lt.handleVisible)!==null&&Gt!==void 0?Gt:"auto",bn=Lt.controlHeightSM-Lt.lineWidth*2;return Object.assign(Object.assign({},(0,vt.T)(Lt)),{controlWidth:90,handleWidth:bn,handleFontSize:Lt.fontSize/2,handleVisible:sn,handleActiveBg:Lt.colorFillAlter,handleBg:Lt.colorBgContainer,filledHandleBg:new Xt.FastColor(Lt.colorFillSecondary).onBackground(Lt.colorBgContainer).toHexString(),handleHoverColor:Lt.colorPrimary,handleBorderColor:Lt.colorBorder,handleOpacity:sn===!0?1:0,handleVisibleWidth:sn===!0?bn:0})},wn=(Lt,Gt)=>{let{componentCls:sn,borderRadiusSM:bn,borderRadiusLG:Yn}=Lt;const pr=Gt==="lg"?Yn:bn;return{[`&-${Gt}`]:{[`${sn}-handler-wrap`]:{borderStartEndRadius:pr,borderEndEndRadius:pr},[`${sn}-handler-up`]:{borderStartEndRadius:pr},[`${sn}-handler-down`]:{borderEndEndRadius:pr}}}},ln=Lt=>{const{componentCls:Gt,lineWidth:sn,lineType:bn,borderRadius:Yn,inputFontSizeSM:pr,inputFontSizeLG:ti,controlHeightLG:si,controlHeightSM:Cr,colorError:ur,paddingInlineSM:dr,paddingBlockSM:yn,paddingBlockLG:$n,paddingInlineLG:rr,colorTextDescription:Zn,motionDurationMid:br,handleHoverColor:Br,handleOpacity:Or,paddingInline:ci,paddingBlock:Ai,handleBg:di,handleActiveBg:Pi,colorTextDisabled:yi,borderRadiusSM:oo,borderRadiusLG:Gi,controlWidth:ar,handleBorderColor:Dr,filledHandleBg:gi,lineHeightLG:ni,calc:An}=Lt;return[{[Gt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Dt.Wf)(Lt)),(0,mt.ik)(Lt)),{display:"inline-block",width:ar,margin:0,padding:0,borderRadius:Yn}),(0,St.qG)(Lt,{[`${Gt}-handler-wrap`]:{background:di,[`${Gt}-handler-down`]:{borderBlockStart:`${(0,ut.unit)(sn)} ${bn} ${Dr}`}}})),(0,St.H8)(Lt,{[`${Gt}-handler-wrap`]:{background:gi,[`${Gt}-handler-down`]:{borderBlockStart:`${(0,ut.unit)(sn)} ${bn} ${Dr}`}},"&:focus-within":{[`${Gt}-handler-wrap`]:{background:di}}})),(0,St.vc)(Lt,{[`${Gt}-handler-wrap`]:{background:di,[`${Gt}-handler-down`]:{borderBlockStart:`${(0,ut.unit)(sn)} ${bn} ${Dr}`}}})),(0,St.Mu)(Lt)),{"&-rtl":{direction:"rtl",[`${Gt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:ti,lineHeight:ni,borderRadius:Gi,[`input${Gt}-input`]:{height:An(si).sub(An(sn).mul(2)).equal(),padding:`${(0,ut.unit)($n)} ${(0,ut.unit)(rr)}`}},"&-sm":{padding:0,fontSize:pr,borderRadius:oo,[`input${Gt}-input`]:{height:An(Cr).sub(An(sn).mul(2)).equal(),padding:`${(0,ut.unit)(yn)} ${(0,ut.unit)(dr)}`}},"&-out-of-range":{[`${Gt}-input-wrap`]:{input:{color:ur}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Dt.Wf)(Lt)),(0,mt.s7)(Lt)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Gt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Gt}-group-addon`]:{borderRadius:Gi,fontSize:Lt.fontSizeLG}},"&-sm":{[`${Gt}-group-addon`]:{borderRadius:oo}}},(0,St.ir)(Lt)),(0,St.S5)(Lt)),{[`&:not(${Gt}-compact-first-item):not(${Gt}-compact-last-item)${Gt}-compact-item`]:{[`${Gt}, ${Gt}-group-addon`]:{borderRadius:0}},[`&:not(${Gt}-compact-last-item)${Gt}-compact-first-item`]:{[`${Gt}, ${Gt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Gt}-compact-first-item)${Gt}-compact-last-item`]:{[`${Gt}, ${Gt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Gt}-input`]:{cursor:"not-allowed"},[Gt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Dt.Wf)(Lt)),{width:"100%",padding:`${(0,ut.unit)(Ai)} ${(0,ut.unit)(ci)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Yn,outline:0,transition:`all ${br} linear`,appearance:"textfield",fontSize:"inherit"}),(0,mt.nz)(Lt.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Gt}-handler-wrap, &-focused ${Gt}-handler-wrap`]:{width:Lt.handleWidth,opacity:1}})},{[Gt]:Object.assign(Object.assign(Object.assign({[`${Gt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Lt.handleVisibleWidth,opacity:Or,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Yn,borderEndEndRadius:Yn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${br}`,overflow:"hidden",[`${Gt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${Gt}-handler-up-inner, + ${Gt}-handler-down-inner + `]:{marginInlineEnd:0,fontSize:Lt.handleFontSize}}},[`${Gt}-handler`]:{height:"50%",overflow:"hidden",color:Zn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,ut.unit)(sn)} ${bn} ${Dr}`,transition:`all ${br} linear`,"&:active":{background:Pi},"&:hover":{height:"60%",[` + ${Gt}-handler-up-inner, + ${Gt}-handler-down-inner + `]:{color:Br}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Dt.Ro)()),{color:Zn,transition:`all ${br} linear`,userSelect:"none"})},[`${Gt}-handler-up`]:{borderStartEndRadius:Yn},[`${Gt}-handler-down`]:{borderEndEndRadius:Yn}},wn(Lt,"lg")),wn(Lt,"sm")),{"&-disabled, &-readonly":{[`${Gt}-handler-wrap`]:{display:"none"},[`${Gt}-input`]:{color:"inherit"}},[` + ${Gt}-handler-up-disabled, + ${Gt}-handler-down-disabled + `]:{cursor:"not-allowed"},[` + ${Gt}-handler-up-disabled:hover &-handler-up-inner, + ${Gt}-handler-down-disabled:hover &-handler-down-inner + `]:{color:yi}})}]},nn=Lt=>{const{componentCls:Gt,paddingBlock:sn,paddingInline:bn,inputAffixPadding:Yn,controlWidth:pr,borderRadiusLG:ti,borderRadiusSM:si,paddingInlineLG:Cr,paddingInlineSM:ur,paddingBlockLG:dr,paddingBlockSM:yn,motionDurationMid:$n}=Lt;return{[`${Gt}-affix-wrapper`]:Object.assign(Object.assign({[`input${Gt}-input`]:{padding:`${(0,ut.unit)(sn)} 0`}},(0,mt.ik)(Lt)),{position:"relative",display:"inline-flex",alignItems:"center",width:pr,padding:0,paddingInlineStart:bn,"&-lg":{borderRadius:ti,paddingInlineStart:Cr,[`input${Gt}-input`]:{padding:`${(0,ut.unit)(dr)} 0`}},"&-sm":{borderRadius:si,paddingInlineStart:ur,[`input${Gt}-input`]:{padding:`${(0,ut.unit)(yn)} 0`}},[`&:not(${Gt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Gt}-disabled`]:{background:"transparent"},[`> div${Gt}`]:{width:"100%",border:"none",outline:"none",[`&${Gt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Gt}-handler-wrap`]:{zIndex:2},[Gt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Yn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:bn,marginInlineStart:Yn,transition:`margin ${$n}`}},[`&:hover ${Gt}-handler-wrap, &-focused ${Gt}-handler-wrap`]:{width:Lt.handleWidth,opacity:1},[`&:not(${Gt}-affix-wrapper-without-controls):hover ${Gt}-suffix`]:{marginInlineEnd:Lt.calc(Lt.handleWidth).add(bn).equal()}})}};var zn=(0,xt.I$)("InputNumber",Lt=>{const Gt=(0,ct.mergeToken)(Lt,(0,vt.e)(Lt));return[ln(Gt),nn(Gt),(0,Qt.c)(Gt)]},Wt,{unitless:{handleOpacity:!0}}),Ln=function(Lt,Gt){var sn={};for(var bn in Lt)Object.prototype.hasOwnProperty.call(Lt,bn)&&Gt.indexOf(bn)<0&&(sn[bn]=Lt[bn]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yn=0,bn=Object.getOwnPropertySymbols(Lt);Yn{const{getPrefixCls:sn,direction:bn}=x.useContext(de.E_),Yn=x.useRef(null);x.useImperativeHandle(Gt,()=>Yn.current);const{className:pr,rootClassName:ti,size:si,disabled:Cr,prefixCls:ur,addonBefore:dr,addonAfter:yn,prefix:$n,suffix:rr,bordered:Zn,readOnly:br,status:Br,controls:Or,variant:ci}=Lt,Ai=Ln(Lt,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),di=sn("input-number",ur),Pi=(0,ee.Z)(di),[yi,oo,Gi]=zn(di,Pi),{compactSize:ar,compactItemClassnames:Dr}=(0,Ge.ri)(di,bn);let gi=x.createElement(Le.Z,{className:`${di}-handler-up-inner`}),ni=x.createElement(dt.Z,{className:`${di}-handler-down-inner`});const An=typeof Or=="boolean"?Or:void 0;typeof Or=="object"&&(gi=typeof Or.upIcon=="undefined"?gi:x.createElement("span",{className:`${di}-handler-up-inner`},Or.upIcon),ni=typeof Or.downIcon=="undefined"?ni:x.createElement("span",{className:`${di}-handler-down-inner`},Or.downIcon));const{hasFeedback:Cn,status:tt,isFormItemInput:pn,feedbackIcon:Zt}=x.useContext(le.aM),vn=(0,an.F)(tt,Br),On=(0,se.Z)(bi=>{var Xi;return(Xi=si!=null?si:ar)!==null&&Xi!==void 0?Xi:bi}),Rr=x.useContext(ie.Z),Xr=Cr!=null?Cr:Rr,[li,nr]=(0,Be.Z)("inputNumber",ci,Zn),or=Cn&&x.createElement(x.Fragment,null,Zt),er=He()({[`${di}-lg`]:On==="large",[`${di}-sm`]:On==="small",[`${di}-rtl`]:bn==="rtl",[`${di}-in-form-item`]:pn},oo),_r=`${di}-group`,Ti=x.createElement(kt,Object.assign({ref:Yn,disabled:Xr,className:He()(Gi,Pi,pr,ti,Dr),upHandler:gi,downHandler:ni,prefixCls:di,readOnly:br,controls:An,prefix:$n,suffix:or||rr,addonBefore:dr&&x.createElement(Fn.Z,{form:!0,space:!0},dr),addonAfter:yn&&x.createElement(Fn.Z,{form:!0,space:!0},yn),classNames:{input:er,variant:He()({[`${di}-${li}`]:nr},(0,an.Z)(di,vn,Cn)),affixWrapper:He()({[`${di}-affix-wrapper-sm`]:On==="small",[`${di}-affix-wrapper-lg`]:On==="large",[`${di}-affix-wrapper-rtl`]:bn==="rtl",[`${di}-affix-wrapper-without-controls`]:Or===!1||Xr},oo),wrapper:He()({[`${_r}-rtl`]:bn==="rtl"},oo),groupWrapper:He()({[`${di}-group-wrapper-sm`]:On==="small",[`${di}-group-wrapper-lg`]:On==="large",[`${di}-group-wrapper-rtl`]:bn==="rtl",[`${di}-group-wrapper-${li}`]:nr},(0,an.Z)(`${di}-group-wrapper`,vn,Cn),oo)}},Ai));return yi(Ti)}),un=_t,Pn=Lt=>x.createElement(ge.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},x.createElement(_t,Object.assign({},Lt)));un._InternalPanelDoNotUseOrYouWillBeFired=Pn;var Vn=un},49397:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return je}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(36901),He=ae(8654),Fe=ae(62487),Me=ae(86013),fe=ae(82855),xe=ae(48755),oe=ae(2171),Pe=ae(83397),ye=ae(31756),Re=ae(56553),Se=ae(24971),Ie=ae(70045),ve=ae(23826),we=ae(53075);function Ee(_e){return!!(_e.prefix||_e.suffix||_e.allowClear||_e.showCount)}var Oe=function(_e,Je){var Ve={};for(var st in _e)Object.prototype.hasOwnProperty.call(_e,st)&&Je.indexOf(st)<0&&(Ve[st]=_e[st]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,st=Object.getOwnPropertySymbols(_e);at{const{prefixCls:Ve,bordered:st=!0,status:at,size:ht,disabled:Ct,onBlur:ze,onFocus:pt,suffix:Ne,allowClear:Qe,addonAfter:Ot,addonBefore:ot,className:lt,style:Bt,styles:We,rootClassName:ke,onChange:At,classNames:Kt,variant:Ht}=_e,nt=Oe(_e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Pt,direction:Rt,allowClear:hn,autoComplete:Tt,className:mn,style:kt,classNames:Fn,styles:an}=(0,xe.dj)("input"),de=Pt("input",Ve),ge=(0,x.useRef)(null),ie=(0,Pe.Z)(de),[ee,se,le]=(0,we.TI)(de,ke),[Be]=(0,we.ZP)(de,ie),{compactSize:Ge,compactItemClassnames:ut}=(0,Ie.ri)(de,Rt),mt=(0,ye.Z)(Vn=>{var Lt;return(Lt=ht!=null?ht:Ge)!==null&&Lt!==void 0?Lt:Vn}),vt=x.useContext(oe.Z),St=Ct!=null?Ct:vt,{status:Dt,hasFeedback:Qt,feedbackIcon:xt}=(0,x.useContext)(Re.aM),ct=(0,fe.F)(Dt,at),Xt=Ee(_e)||!!Qt,Wt=(0,x.useRef)(Xt),wn=(0,ve.Z)(ge,!0),ln=Vn=>{wn(),ze==null||ze(Vn)},nn=Vn=>{wn(),pt==null||pt(Vn)},zn=Vn=>{wn(),At==null||At(Vn)},Ln=(Qt||Ne)&&x.createElement(x.Fragment,null,Ne,Qt&&xt),_t=(0,Me.Z)(Qe!=null?Qe:hn),[un,Pn]=(0,Se.Z)("input",Ht,st);return ee(Be(x.createElement(qe.default,Object.assign({ref:(0,He.sQ)(Je,ge),prefixCls:de,autoComplete:Tt},nt,{disabled:St,onBlur:ln,onFocus:nn,style:Object.assign(Object.assign({},kt),Bt),styles:Object.assign(Object.assign({},an),We),suffix:Ln,allowClear:_t,className:Le()(lt,ke,le,ie,ut,mn),onChange:zn,addonBefore:ot&&x.createElement(Fe.Z,{form:!0,space:!0},ot),addonAfter:Ot&&x.createElement(Fe.Z,{form:!0,space:!0},Ot),classNames:Object.assign(Object.assign(Object.assign({},Kt),Fn),{input:Le()({[`${de}-sm`]:mt==="small",[`${de}-lg`]:mt==="large",[`${de}-rtl`]:Rt==="rtl"},Kt==null?void 0:Kt.input,Fn.input,se),variant:Le()({[`${de}-${un}`]:Pn},(0,fe.Z)(de,ct)),affixWrapper:Le()({[`${de}-affix-wrapper-sm`]:mt==="small",[`${de}-affix-wrapper-lg`]:mt==="large",[`${de}-affix-wrapper-rtl`]:Rt==="rtl"},se),wrapper:Le()({[`${de}-group-rtl`]:Rt==="rtl"},se),groupWrapper:Le()({[`${de}-group-wrapper-sm`]:mt==="small",[`${de}-group-wrapper-lg`]:mt==="large",[`${de}-group-wrapper-rtl`]:Rt==="rtl",[`${de}-group-wrapper-${un}`]:Pn},(0,fe.Z)(`${de}-group-wrapper`,ct,Qt),se)})}))))})},79809:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Je}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(22711),He=ae(86013),Fe=ae(82855),Me=ae(48755),fe=ae(2171),xe=ae(83397),oe=ae(31756),Pe=ae(56553),ye=ae(24971),Re=ae(70045),Se=ae(30292),Ie=ae(53075),ve=ae(16931),we=ae(51636),Ee=ae(64910);const Oe=Ve=>{const{componentCls:st,paddingLG:at}=Ve,ht=`${st}-textarea`;return{[`textarea${st}`]:{maxWidth:"100%",height:"auto",minHeight:Ve.controlHeight,lineHeight:Ve.lineHeight,verticalAlign:"bottom",transition:`all ${Ve.motionDurationSlow}`,resize:"vertical",[`&${st}-mouse-active`]:{transition:`all ${Ve.motionDurationSlow}, height 0s, width 0s`}},[`${st}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[ht]:{position:"relative","&-show-count":{[`> ${st}`]:{height:"100%"},[`${st}-data-count`]:{position:"absolute",bottom:Ve.calc(Ve.fontSize).mul(Ve.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Ve.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` + &-allow-clear > ${st}, + &-affix-wrapper${ht}-has-feedback ${st} + `]:{paddingInlineEnd:at},[`&-affix-wrapper${st}-affix-wrapper`]:{padding:0,[`> textarea${st}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Ve.calc(Ve.controlHeight).sub(Ve.calc(Ve.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${st}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${st}-clear-icon`]:{position:"absolute",insetInlineEnd:Ve.paddingInline,insetBlockStart:Ve.paddingXS},[`${ht}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Ve.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${st}-affix-wrapper-sm`]:{[`${st}-suffix`]:{[`${st}-clear-icon`]:{insetInlineEnd:Ve.paddingInlineSM}}}}}};var Ke=(0,ve.I$)(["Input","TextArea"],Ve=>{const st=(0,we.mergeToken)(Ve,(0,Ee.e)(Ve));return[Oe(st)]},Ee.T,{resetFont:!1}),je=function(Ve,st){var at={};for(var ht in Ve)Object.prototype.hasOwnProperty.call(Ve,ht)&&st.indexOf(ht)<0&&(at[ht]=Ve[ht]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,ht=Object.getOwnPropertySymbols(Ve);Ct{var at;const{prefixCls:ht,bordered:Ct=!0,size:ze,disabled:pt,status:Ne,allowClear:Qe,classNames:Ot,rootClassName:ot,className:lt,style:Bt,styles:We,variant:ke,showCount:At,onMouseDown:Kt,onResize:Ht}=Ve,nt=je(Ve,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Pt,direction:Rt,allowClear:hn,autoComplete:Tt,className:mn,style:kt,classNames:Fn,styles:an}=(0,Me.dj)("textArea"),de=x.useContext(fe.Z),ge=pt!=null?pt:de,{status:ie,hasFeedback:ee,feedbackIcon:se}=x.useContext(Pe.aM),le=(0,Fe.F)(ie,Ne),Be=x.useRef(null);x.useImperativeHandle(st,()=>{var Pn;return{resizableTextArea:(Pn=Be.current)===null||Pn===void 0?void 0:Pn.resizableTextArea,focus:Vn=>{var Lt,Gt;(0,Se.nH)((Gt=(Lt=Be.current)===null||Lt===void 0?void 0:Lt.resizableTextArea)===null||Gt===void 0?void 0:Gt.textArea,Vn)},blur:()=>{var Vn;return(Vn=Be.current)===null||Vn===void 0?void 0:Vn.blur()}}});const Ge=Pt("input",ht),ut=(0,xe.Z)(Ge),[mt,vt,St]=(0,Ie.TI)(Ge,ot),[Dt]=Ke(Ge,ut),{compactSize:Qt,compactItemClassnames:xt}=(0,Re.ri)(Ge,Rt),ct=(0,oe.Z)(Pn=>{var Vn;return(Vn=ze!=null?ze:Qt)!==null&&Vn!==void 0?Vn:Pn}),[Xt,Wt]=(0,ye.Z)("textArea",ke,Ct),wn=(0,He.Z)(Qe!=null?Qe:hn),[ln,nn]=x.useState(!1),[zn,Ln]=x.useState(!1),_t=Pn=>{nn(!0),Kt==null||Kt(Pn);const Vn=()=>{nn(!1),document.removeEventListener("mouseup",Vn)};document.addEventListener("mouseup",Vn)},un=Pn=>{var Vn,Lt;if(Ht==null||Ht(Pn),ln&&typeof getComputedStyle=="function"){const Gt=(Lt=(Vn=Be.current)===null||Vn===void 0?void 0:Vn.nativeElement)===null||Lt===void 0?void 0:Lt.querySelector("textarea");Gt&&getComputedStyle(Gt).resize==="both"&&Ln(!0)}};return mt(Dt(x.createElement(qe.default,Object.assign({autoComplete:Tt},nt,{style:Object.assign(Object.assign({},kt),Bt),styles:Object.assign(Object.assign({},an),We),disabled:ge,allowClear:wn,className:Le()(St,ut,lt,ot,xt,mn,zn&&`${Ge}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Ot),Fn),{textarea:Le()({[`${Ge}-sm`]:ct==="small",[`${Ge}-lg`]:ct==="large"},vt,Ot==null?void 0:Ot.textarea,Fn.textarea,ln&&`${Ge}-mouse-active`),variant:Le()({[`${Ge}-${Xt}`]:Wt},(0,Fe.Z)(Ge,le)),affixWrapper:Le()(`${Ge}-textarea-affix-wrapper`,{[`${Ge}-affix-wrapper-rtl`]:Rt==="rtl",[`${Ge}-affix-wrapper-sm`]:ct==="small",[`${Ge}-affix-wrapper-lg`]:ct==="large",[`${Ge}-textarea-show-count`]:At||((at=Ve.count)===null||at===void 0?void 0:at.show)},vt)}),prefixCls:Ge,suffix:ee&&x.createElement("span",{className:`${Ge}-textarea-suffix`},se),showCount:At,ref:Be,onResize:un,onMouseDown:_t}))))})},23826:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return dt}});var x=ae(59301);function dt(Le,qe){const He=(0,x.useRef)([]),Fe=()=>{He.current.push(setTimeout(()=>{var Me,fe,xe,oe;!((Me=Le.current)===null||Me===void 0)&&Me.input&&((fe=Le.current)===null||fe===void 0?void 0:fe.input.getAttribute("type"))==="password"&&(!((xe=Le.current)===null||xe===void 0)&&xe.input.hasAttribute("value"))&&((oe=Le.current)===null||oe===void 0||oe.input.removeAttribute("value"))}))};return(0,x.useEffect)(()=>(qe&&Fe(),()=>He.current.forEach(Me=>{Me&&clearTimeout(Me)})),[]),Fe}},37568:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return Fn}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(48755),He=ae(56553),Fe=ae(53075),fe=an=>{const{getPrefixCls:de,direction:ge}=(0,x.useContext)(qe.E_),{prefixCls:ie,className:ee}=an,se=de("input-group",ie),le=de("input"),[Be,Ge,ut]=(0,Fe.ZP)(le),mt=Le()(se,ut,{[`${se}-lg`]:an.size==="large",[`${se}-sm`]:an.size==="small",[`${se}-compact`]:an.compact,[`${se}-rtl`]:ge==="rtl"},Ge,ee),vt=(0,x.useContext)(He.aM),St=(0,x.useMemo)(()=>Object.assign(Object.assign({},vt),{isFormItemInput:!1}),[vt]);return Be(x.createElement("span",{className:mt,style:an.style,onMouseEnter:an.onMouseEnter,onMouseLeave:an.onMouseLeave,onFocus:an.onFocus,onBlur:an.onBlur},x.createElement(He.aM.Provider,{value:St},an.children)))},xe=ae(49397),oe=ae(77654),Pe=ae(6089),ye=ae(26112),Re=ae(82855),Se=ae(31756),Ie=ae(16931),ve=ae(51636),we=ae(64910);const Ee=an=>{const{componentCls:de,paddingXS:ge}=an;return{[de]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ge,"&-rtl":{direction:"rtl"},[`${de}-input`]:{textAlign:"center",paddingInline:an.paddingXXS},[`&${de}-sm ${de}-input`]:{paddingInline:an.calc(an.paddingXXS).div(2).equal()},[`&${de}-lg ${de}-input`]:{paddingInline:an.paddingXS}}}};var Oe=(0,Ie.I$)(["Input","OTP"],an=>{const de=(0,ve.mergeToken)(an,(0,we.e)(an));return[Ee(de)]},we.T),Ke=ae(16089),je=function(an,de){var ge={};for(var ie in an)Object.prototype.hasOwnProperty.call(an,ie)&&de.indexOf(ie)<0&&(ge[ie]=an[ie]);if(an!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(an);ee{const{value:ge,onChange:ie,onActiveChange:ee,index:se,mask:le}=an,Be=je(an,["value","onChange","onActiveChange","index","mask"]),Ge=ge&&typeof le=="string"?le:ge,ut=Qt=>{ie(se,Qt.target.value)},mt=x.useRef(null);x.useImperativeHandle(de,()=>mt.current);const vt=()=>{(0,Ke.Z)(()=>{var Qt;const xt=(Qt=mt.current)===null||Qt===void 0?void 0:Qt.input;document.activeElement===xt&&xt&&xt.select()})},St=Qt=>{const{key:xt,ctrlKey:ct,metaKey:Xt}=Qt;xt==="ArrowLeft"?ee(se-1):xt==="ArrowRight"?ee(se+1):xt==="z"&&(ct||Xt)&&Qt.preventDefault(),vt()},Dt=Qt=>{Qt.key==="Backspace"&&!ge&&ee(se-1),vt()};return x.createElement(xe.Z,Object.assign({type:le===!0?"password":"text"},Be,{ref:mt,value:Ge,onInput:ut,onFocus:vt,onKeyDown:St,onKeyUp:Dt,onMouseDown:vt,onMouseUp:vt}))}),Ve=function(an,de){var ge={};for(var ie in an)Object.prototype.hasOwnProperty.call(an,ie)&&de.indexOf(ie)<0&&(ge[ie]=an[ie]);if(an!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(an);ee{const{index:de,prefixCls:ge,separator:ie}=an,ee=typeof ie=="function"?ie(de):ie;return ee?x.createElement("span",{className:`${ge}-separator`},ee):null};var Ct=x.forwardRef((an,de)=>{const{prefixCls:ge,length:ie=6,size:ee,defaultValue:se,value:le,onChange:Be,formatter:Ge,separator:ut,variant:mt,disabled:vt,status:St,autoFocus:Dt,mask:Qt,type:xt,onInput:ct,inputMode:Xt}=an,Wt=Ve(an,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:wn,direction:ln}=x.useContext(qe.E_),nn=wn("otp",ge),zn=(0,ye.Z)(Wt,{aria:!0,data:!0,attr:!0}),[Ln,_t,un]=Oe(nn),Pn=(0,Se.Z)($n=>ee!=null?ee:$n),Vn=x.useContext(He.aM),Lt=(0,Re.F)(Vn.status,St),Gt=x.useMemo(()=>Object.assign(Object.assign({},Vn),{status:Lt,hasFeedback:!1,feedbackIcon:null}),[Vn,Lt]),sn=x.useRef(null),bn=x.useRef({});x.useImperativeHandle(de,()=>({focus:()=>{var $n;($n=bn.current[0])===null||$n===void 0||$n.focus()},blur:()=>{var $n;for(let rr=0;rrGe?Ge($n):$n,[pr,ti]=x.useState(()=>st(Yn(se||"")));x.useEffect(()=>{le!==void 0&&ti(st(le))},[le]);const si=(0,Pe.Z)($n=>{ti($n),ct&&ct($n),Be&&$n.length===ie&&$n.every(rr=>rr)&&$n.some((rr,Zn)=>pr[Zn]!==rr)&&Be($n.join(""))}),Cr=(0,Pe.Z)(($n,rr)=>{let Zn=(0,oe.Z)(pr);for(let Br=0;Br<$n;Br+=1)Zn[Br]||(Zn[Br]="");rr.length<=1?Zn[$n]=rr:Zn=Zn.slice(0,$n).concat(st(rr)),Zn=Zn.slice(0,ie);for(let Br=Zn.length-1;Br>=0&&!Zn[Br];Br-=1)Zn.pop();const br=Yn(Zn.map(Br=>Br||" ").join(""));return Zn=st(br).map((Br,Or)=>Br===" "&&!Zn[Or]?Zn[Or]:Br),Zn}),ur=($n,rr)=>{var Zn;const br=Cr($n,rr),Br=Math.min($n+rr.length,ie-1);Br!==$n&&br[$n]!==void 0&&((Zn=bn.current[Br])===null||Zn===void 0||Zn.focus()),si(br)},dr=$n=>{var rr;(rr=bn.current[$n])===null||rr===void 0||rr.focus()},yn={variant:mt,disabled:vt,status:Lt,mask:Qt,type:xt,inputMode:Xt};return Ln(x.createElement("div",Object.assign({},zn,{ref:sn,className:Le()(nn,{[`${nn}-sm`]:Pn==="small",[`${nn}-lg`]:Pn==="large",[`${nn}-rtl`]:ln==="rtl"},un,_t)}),x.createElement(He.aM.Provider,{value:Gt},Array.from({length:ie}).map(($n,rr)=>{const Zn=`otp-${rr}`,br=pr[rr]||"";return x.createElement(x.Fragment,{key:Zn},x.createElement(Je,Object.assign({ref:Br=>{bn.current[rr]=Br},index:rr,size:Pn,htmlSize:1,className:`${nn}-input`,onChange:ur,value:br,onActiveChange:dr,autoFocus:rr===0&&Dt},yn)),rran?x.createElement(pt.Z,null):x.createElement(ze.Z,null),We={click:"onClick",hover:"onMouseOver"};var At=x.forwardRef((an,de)=>{const{disabled:ge,action:ie="click",visibilityToggle:ee=!0,iconRender:se=Bt}=an,le=x.useContext(Ot.Z),Be=ge!=null?ge:le,Ge=typeof ee=="object"&&ee.visible!==void 0,[ut,mt]=(0,x.useState)(()=>Ge?ee.visible:!1),vt=(0,x.useRef)(null);x.useEffect(()=>{Ge&&mt(ee.visible)},[Ge,ee]);const St=(0,ot.Z)(vt),Dt=()=>{var Pn;if(Be)return;ut&&St();const Vn=!ut;mt(Vn),typeof ee=="object"&&((Pn=ee.onVisibleChange)===null||Pn===void 0||Pn.call(ee,Vn))},Qt=Pn=>{const Vn=We[ie]||"",Lt=se(ut),Gt={[Vn]:Dt,className:`${Pn}-icon`,key:"passwordIcon",onMouseDown:sn=>{sn.preventDefault()},onMouseUp:sn=>{sn.preventDefault()}};return x.cloneElement(x.isValidElement(Lt)?Lt:x.createElement("span",null,Lt),Gt)},{className:xt,prefixCls:ct,inputPrefixCls:Xt,size:Wt}=an,wn=lt(an,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:ln}=x.useContext(qe.E_),nn=ln("input",Xt),zn=ln("input-password",ct),Ln=ee&&Qt(zn),_t=Le()(zn,xt,{[`${zn}-${Wt}`]:!!Wt}),un=Object.assign(Object.assign({},(0,Ne.Z)(wn,["suffix","iconRender","visibilityToggle"])),{type:ut?"text":"password",className:_t,prefixCls:nn,suffix:Ln});return Wt&&(un.size=Wt),x.createElement(xe.Z,Object.assign({ref:(0,Qe.sQ)(de,vt)},un))}),Kt=ae(47472),Ht=ae(22703),nt=ae(7939),Pt=ae(70045),Rt=function(an,de){var ge={};for(var ie in an)Object.prototype.hasOwnProperty.call(an,ie)&&de.indexOf(ie)<0&&(ge[ie]=an[ie]);if(an!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(an);ee{const{prefixCls:ge,inputPrefixCls:ie,className:ee,size:se,suffix:le,enterButton:Be=!1,addonAfter:Ge,loading:ut,disabled:mt,onSearch:vt,onChange:St,onCompositionStart:Dt,onCompositionEnd:Qt}=an,xt=Rt(an,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:ct,direction:Xt}=x.useContext(qe.E_),Wt=x.useRef(!1),wn=ct("input-search",ge),ln=ct("input",ie),{compactSize:nn}=(0,Pt.ri)(wn,Xt),zn=(0,Se.Z)(ur=>{var dr;return(dr=se!=null?se:nn)!==null&&dr!==void 0?dr:ur}),Ln=x.useRef(null),_t=ur=>{ur!=null&&ur.target&&ur.type==="click"&&vt&&vt(ur.target.value,ur,{source:"clear"}),St==null||St(ur)},un=ur=>{var dr;document.activeElement===((dr=Ln.current)===null||dr===void 0?void 0:dr.input)&&ur.preventDefault()},Pn=ur=>{var dr,yn;vt&&vt((yn=(dr=Ln.current)===null||dr===void 0?void 0:dr.input)===null||yn===void 0?void 0:yn.value,ur,{source:"input"})},Vn=ur=>{Wt.current||ut||Pn(ur)},Lt=typeof Be=="boolean"?x.createElement(Kt.Z,null):null,Gt=`${wn}-button`;let sn;const bn=Be||{},Yn=bn.type&&bn.type.__ANT_BUTTON===!0;Yn||bn.type==="button"?sn=(0,Ht.Tm)(bn,Object.assign({onMouseDown:un,onClick:ur=>{var dr,yn;(yn=(dr=bn==null?void 0:bn.props)===null||dr===void 0?void 0:dr.onClick)===null||yn===void 0||yn.call(dr,ur),Pn(ur)},key:"enterButton"},Yn?{className:Gt,size:zn}:{})):sn=x.createElement(nt.ZP,{className:Gt,type:Be?"primary":void 0,size:zn,disabled:mt,key:"enterButton",onMouseDown:un,onClick:Pn,loading:ut,icon:Lt},Be),Ge&&(sn=[sn,(0,Ht.Tm)(Ge,{key:"addonAfter"})]);const pr=Le()(wn,{[`${wn}-rtl`]:Xt==="rtl",[`${wn}-${zn}`]:!!zn,[`${wn}-with-button`]:!!Be},ee),ti=Object.assign(Object.assign({},xt),{className:pr,prefixCls:ln,type:"search"}),si=ur=>{Wt.current=!0,Dt==null||Dt(ur)},Cr=ur=>{Wt.current=!1,Qt==null||Qt(ur)};return x.createElement(xe.Z,Object.assign({ref:(0,Qe.sQ)(Ln,de),onPressEnter:Vn},ti,{size:zn,onCompositionStart:si,onCompositionEnd:Cr,addonAfter:sn,suffix:le,onChange:_t,disabled:mt}))}),mn=ae(79809);const kt=xe.Z;kt.Group=fe,kt.Search=Tt,kt.TextArea=mn.Z,kt.Password=At,kt.OTP=Ct;var Fn=kt},24303:function(Xn,Mt,ae){"use strict";ae.d(Mt,{D:function(){return Ve},Z:function(){return ht}});var x=ae(59301),dt=ae(60499),Le={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"},qe=Le,He=ae(7657),Fe=function(ze,pt){return x.createElement(He.Z,(0,dt.Z)({},ze,{ref:pt,icon:qe}))},Me=x.forwardRef(Fe),fe=Me,xe=ae(33853),oe=ae(38819),Pe=ae(92310),ye=ae.n(Pe),Re=ae(2738),Se=ae(48755),Ie=ae(6989),ve=ae(36237),we=ae(48923),Ee=ae(16931);const Oe=Ct=>{const{componentCls:ze,siderBg:pt,motionDurationMid:Ne,motionDurationSlow:Qe,antCls:Ot,triggerHeight:ot,triggerColor:lt,triggerBg:Bt,headerHeight:We,zeroTriggerWidth:ke,zeroTriggerHeight:At,borderRadiusLG:Kt,lightSiderBg:Ht,lightTriggerColor:nt,lightTriggerBg:Pt,bodyBg:Rt}=Ct;return{[ze]:{position:"relative",minWidth:0,background:pt,transition:`all ${Ne}, background 0s`,"&-has-trigger":{paddingBottom:ot},"&-right":{order:1},[`${ze}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ot}-menu${Ot}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${ze}-children`]:{overflow:"hidden"},[`${ze}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:ot,color:lt,lineHeight:(0,ve.unit)(ot),textAlign:"center",background:Bt,cursor:"pointer",transition:`all ${Ne}`},[`${ze}-zero-width-trigger`]:{position:"absolute",top:We,insetInlineEnd:Ct.calc(ke).mul(-1).equal(),zIndex:1,width:ke,height:At,color:lt,fontSize:Ct.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:pt,borderRadius:`0 ${(0,ve.unit)(Kt)} ${(0,ve.unit)(Kt)} 0`,cursor:"pointer",transition:`background ${Qe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Qe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:Ct.calc(ke).mul(-1).equal(),borderRadius:`${(0,ve.unit)(Kt)} 0 0 ${(0,ve.unit)(Kt)}`}},"&-light":{background:Ht,[`${ze}-trigger`]:{color:nt,background:Pt},[`${ze}-zero-width-trigger`]:{color:nt,background:Pt,border:`1px solid ${Rt}`,borderInlineStart:0}}}}};var Ke=(0,Ee.I$)(["Layout","Sider"],Ct=>[Oe(Ct)],we.eh,{deprecatedTokens:we.jn}),je=function(Ct,ze){var pt={};for(var Ne in Ct)Object.prototype.hasOwnProperty.call(Ct,Ne)&&ze.indexOf(Ne)<0&&(pt[Ne]=Ct[Ne]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ne=Object.getOwnPropertySymbols(Ct);Qe!Number.isNaN(Number.parseFloat(Ct))&&isFinite(Ct),Ve=x.createContext({}),st=(()=>{let Ct=0;return function(){let ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ct+=1,`${ze}${Ct}`}})();var ht=x.forwardRef((Ct,ze)=>{const{prefixCls:pt,className:Ne,trigger:Qe,children:Ot,defaultCollapsed:ot=!1,theme:lt="dark",style:Bt={},collapsible:We=!1,reverseArrow:ke=!1,width:At=200,collapsedWidth:Kt=80,zeroWidthTriggerStyle:Ht,breakpoint:nt,onCollapse:Pt,onBreakpoint:Rt}=Ct,hn=je(Ct,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Tt}=(0,x.useContext)(Ie.V),[mn,kt]=(0,x.useState)("collapsed"in Ct?Ct.collapsed:ot),[Fn,an]=(0,x.useState)(!1);(0,x.useEffect)(()=>{"collapsed"in Ct&&kt(Ct.collapsed)},[Ct.collapsed]);const de=(zn,Ln)=>{"collapsed"in Ct||kt(zn),Pt==null||Pt(zn,Ln)},{getPrefixCls:ge,direction:ie}=(0,x.useContext)(Se.E_),ee=ge("layout-sider",pt),[se,le,Be]=Ke(ee),Ge=(0,x.useRef)(null);Ge.current=zn=>{an(zn.matches),Rt==null||Rt(zn.matches),mn!==zn.matches&&de(zn.matches,"responsive")},(0,x.useEffect)(()=>{function zn(_t){return Ge.current(_t)}let Ln;if(typeof window!="undefined"){const{matchMedia:_t}=window;if(_t&&nt&&nt in _e){Ln=_t(`screen and (max-width: ${_e[nt]})`);try{Ln.addEventListener("change",zn)}catch(un){Ln.addListener(zn)}zn(Ln)}}return()=>{try{Ln==null||Ln.removeEventListener("change",zn)}catch(_t){Ln==null||Ln.removeListener(zn)}}},[nt]),(0,x.useEffect)(()=>{const zn=st("ant-sider-");return Tt.addSider(zn),()=>Tt.removeSider(zn)},[]);const ut=()=>{de(!mn,"clickTrigger")},mt=(0,Re.Z)(hn,["collapsed"]),vt=mn?Kt:At,St=Je(vt)?`${vt}px`:String(vt),Dt=parseFloat(String(Kt||0))===0?x.createElement("span",{onClick:ut,className:ye()(`${ee}-zero-width-trigger`,`${ee}-zero-width-trigger-${ke?"right":"left"}`),style:Ht},Qe||x.createElement(fe,null)):null,Qt=ie==="rtl"==!ke,Xt={expanded:Qt?x.createElement(oe.Z,null):x.createElement(xe.Z,null),collapsed:Qt?x.createElement(xe.Z,null):x.createElement(oe.Z,null)}[mn?"collapsed":"expanded"],Wt=Qe!==null?Dt||x.createElement("div",{className:`${ee}-trigger`,onClick:ut,style:{width:St}},Qe||Xt):null,wn=Object.assign(Object.assign({},Bt),{flex:`0 0 ${St}`,maxWidth:St,minWidth:St,width:St}),ln=ye()(ee,`${ee}-${lt}`,{[`${ee}-collapsed`]:!!mn,[`${ee}-has-trigger`]:We&&Qe!==null&&!Dt,[`${ee}-below`]:!!Fn,[`${ee}-zero-width`]:parseFloat(St)===0},Ne,le,Be),nn=x.useMemo(()=>({siderCollapsed:mn}),[mn]);return se(x.createElement(Ve.Provider,{value:nn},x.createElement("aside",Object.assign({className:ln},mt,{style:wn,ref:ze}),x.createElement("div",{className:`${ee}-children`},Ot),We||Fn&&Dt?Wt:null)))})},6989:function(Xn,Mt,ae){"use strict";ae.d(Mt,{V:function(){return dt}});var x=ae(59301);const dt=x.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Xn,Mt,ae){"use strict";ae.d(Mt,{eh:function(){return qe},jn:function(){return He}});var x=ae(36237),dt=ae(16931);const Le=Fe=>{const{antCls:Me,componentCls:fe,colorText:xe,footerBg:oe,headerHeight:Pe,headerPadding:ye,headerColor:Re,footerPadding:Se,fontSize:Ie,bodyBg:ve,headerBg:we}=Fe;return{[fe]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:ve,"&, *":{boxSizing:"border-box"},[`&${fe}-has-sider`]:{flexDirection:"row",[`> ${fe}, > ${fe}-content`]:{width:0}},[`${fe}-header, &${fe}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${fe}-header`]:{height:Pe,padding:ye,color:Re,lineHeight:(0,x.unit)(Pe),background:we,[`${Me}-menu`]:{lineHeight:"inherit"}},[`${fe}-footer`]:{padding:Se,color:xe,fontSize:Ie,background:oe},[`${fe}-content`]:{flex:"auto",color:xe,minHeight:0}}},qe=Fe=>{const{colorBgLayout:Me,controlHeight:fe,controlHeightLG:xe,colorText:oe,controlHeightSM:Pe,marginXXS:ye,colorTextLightSolid:Re,colorBgContainer:Se}=Fe,Ie=xe*1.25;return{colorBgHeader:"#001529",colorBgBody:Me,colorBgTrigger:"#002140",bodyBg:Me,headerBg:"#001529",headerHeight:fe*2,headerPadding:`0 ${Ie}px`,headerColor:oe,footerPadding:`${Pe}px ${Ie}px`,footerBg:Me,siderBg:"#001529",triggerHeight:xe+ye*2,triggerBg:"#002140",triggerColor:Re,zeroTriggerWidth:xe,zeroTriggerHeight:xe,lightSiderBg:Se,lightTriggerBg:Se,lightTriggerColor:oe}},He=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Mt.ZP=(0,dt.I$)("Layout",Fe=>[Le(Fe)],qe,{deprecatedTokens:He})},78857:function(Xn,Mt,ae){"use strict";ae.d(Mt,{J:function(){return Fe}});var x=ae(59301),dt=ae(8654),Le=ae(62487),qe=function(Me,fe){var xe={};for(var oe in Me)Object.prototype.hasOwnProperty.call(Me,oe)&&fe.indexOf(oe)<0&&(xe[oe]=Me[oe]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,oe=Object.getOwnPropertySymbols(Me);Pe{const{children:xe}=Me,oe=qe(Me,["children"]),Pe=x.useContext(He),ye=x.useMemo(()=>Object.assign(Object.assign({},Pe),oe),[Pe,oe.prefixCls,oe.mode,oe.selectable,oe.rootClassName]),Re=(0,dt.t4)(xe),Se=(0,dt.x1)(fe,Re?(0,dt.C4)(xe):null);return x.createElement(He.Provider,{value:ye},x.createElement(Le.Z,{space:!0},Re?x.cloneElement(xe,{ref:Se}):xe))});Mt.Z=He},93041:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return se}});var x=ae(59301),dt=ae(28321),Le=ae(24303),qe=ae(18785),He=ae(92310),Fe=ae.n(He),Me=ae(6089),fe=ae(2738),xe=ae(86641),oe=ae(22703),Pe=ae(48755),ye=ae(83397),Se=(0,x.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ie=function(le,Be){var Ge={};for(var ut in le)Object.prototype.hasOwnProperty.call(le,ut)&&Be.indexOf(ut)<0&&(Ge[ut]=le[ut]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,ut=Object.getOwnPropertySymbols(le);mt{const{prefixCls:Be,className:Ge,dashed:ut}=le,mt=Ie(le,["prefixCls","className","dashed"]),{getPrefixCls:vt}=x.useContext(Pe.E_),St=vt("menu",Be),Dt=Fe()({[`${St}-item-divider-dashed`]:!!ut},Ge);return x.createElement(dt.iz,Object.assign({className:Dt},mt))},Ee=ae(11592),Oe=ae(25399),je=le=>{var Be;const{className:Ge,children:ut,icon:mt,title:vt,danger:St,extra:Dt}=le,{prefixCls:Qt,firstLevel:xt,direction:ct,disableMenuItemTitleTooltip:Xt,inlineCollapsed:Wt}=x.useContext(Se),wn=un=>{const Pn=ut==null?void 0:ut[0],Vn=x.createElement("span",{className:Fe()(`${Qt}-title-content`,{[`${Qt}-title-content-with-extra`]:!!Dt||Dt===0})},ut);return(!mt||x.isValidElement(ut)&&ut.type==="span")&&ut&&un&&xt&&typeof Pn=="string"?x.createElement("div",{className:`${Qt}-inline-collapsed-noicon`},Pn.charAt(0)):Vn},{siderCollapsed:ln}=x.useContext(Le.D);let nn=vt;typeof vt=="undefined"?nn=xt?ut:"":vt===!1&&(nn="");const zn={title:nn};!ln&&!Wt&&(zn.title=null,zn.open=!1);const Ln=(0,Ee.Z)(ut).length;let _t=x.createElement(dt.ck,Object.assign({},(0,fe.Z)(le,["title","icon","danger"]),{className:Fe()({[`${Qt}-item-danger`]:St,[`${Qt}-item-only-child`]:(mt?Ln+1:Ln)===1},Ge),title:typeof vt=="string"?vt:void 0}),(0,oe.Tm)(mt,{className:Fe()(x.isValidElement(mt)?(Be=mt.props)===null||Be===void 0?void 0:Be.className:"",`${Qt}-item-icon`)}),wn(Wt));return Xt||(_t=x.createElement(Oe.Z,Object.assign({},zn,{placement:ct==="rtl"?"left":"right",classNames:{root:`${Qt}-inline-collapsed-tooltip`}}),_t)),_t},_e=ae(78857),Je=ae(36237),Ve=ae(17835),st=ae(63356),at=ae(34961),ht=ae(46e3),Ct=ae(34925),ze=ae(16931),pt=ae(51636),Qe=le=>{const{componentCls:Be,motionDurationSlow:Ge,horizontalLineHeight:ut,colorSplit:mt,lineWidth:vt,lineType:St,itemPaddingInline:Dt}=le;return{[`${Be}-horizontal`]:{lineHeight:ut,border:0,borderBottom:`${(0,Je.unit)(vt)} ${St} ${mt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Be}-item, ${Be}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Dt},[`> ${Be}-item:hover, + > ${Be}-item-active, + > ${Be}-submenu ${Be}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Be}-item, ${Be}-submenu-title`]:{transition:[`border-color ${Ge}`,`background ${Ge}`].join(",")},[`${Be}-submenu-arrow`]:{display:"none"}}}},ot=le=>{let{componentCls:Be,menuArrowOffset:Ge,calc:ut}=le;return{[`${Be}-rtl`]:{direction:"rtl"},[`${Be}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Be}-rtl${Be}-vertical, + ${Be}-submenu-rtl ${Be}-vertical`]:{[`${Be}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,Je.unit)(ut(Ge).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Je.unit)(Ge)})`}}}}};const lt=le=>Object.assign({},(0,st.oN)(le));var We=(le,Be)=>{const{componentCls:Ge,itemColor:ut,itemSelectedColor:mt,subMenuItemSelectedColor:vt,groupTitleColor:St,itemBg:Dt,subMenuItemBg:Qt,itemSelectedBg:xt,activeBarHeight:ct,activeBarWidth:Xt,activeBarBorderWidth:Wt,motionDurationSlow:wn,motionEaseInOut:ln,motionEaseOut:nn,itemPaddingInline:zn,motionDurationMid:Ln,itemHoverColor:_t,lineType:un,colorSplit:Pn,itemDisabledColor:Vn,dangerItemColor:Lt,dangerItemHoverColor:Gt,dangerItemSelectedColor:sn,dangerItemActiveBg:bn,dangerItemSelectedBg:Yn,popupBg:pr,itemHoverBg:ti,itemActiveBg:si,menuSubMenuBg:Cr,horizontalItemSelectedColor:ur,horizontalItemSelectedBg:dr,horizontalItemBorderRadius:yn,horizontalItemHoverBg:$n}=le;return{[`${Ge}-${Be}, ${Ge}-${Be} > ${Ge}`]:{color:ut,background:Dt,[`&${Ge}-root:focus-visible`]:Object.assign({},lt(le)),[`${Ge}-item`]:{"&-group-title, &-extra":{color:St}},[`${Ge}-submenu-selected > ${Ge}-submenu-title`]:{color:vt},[`${Ge}-item, ${Ge}-submenu-title`]:{color:ut,[`&:not(${Ge}-item-disabled):focus-visible`]:Object.assign({},lt(le))},[`${Ge}-item-disabled, ${Ge}-submenu-disabled`]:{color:`${Vn} !important`},[`${Ge}-item:not(${Ge}-item-selected):not(${Ge}-submenu-selected)`]:{[`&:hover, > ${Ge}-submenu-title:hover`]:{color:_t}},[`&:not(${Ge}-horizontal)`]:{[`${Ge}-item:not(${Ge}-item-selected)`]:{"&:hover":{backgroundColor:ti},"&:active":{backgroundColor:si}},[`${Ge}-submenu-title`]:{"&:hover":{backgroundColor:ti},"&:active":{backgroundColor:si}}},[`${Ge}-item-danger`]:{color:Lt,[`&${Ge}-item:hover`]:{[`&:not(${Ge}-item-selected):not(${Ge}-submenu-selected)`]:{color:Gt}},[`&${Ge}-item:active`]:{background:bn}},[`${Ge}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ge}-item-selected`]:{color:mt,[`&${Ge}-item-danger`]:{color:sn},"a, a:hover":{color:"inherit"}},[`& ${Ge}-item-selected`]:{backgroundColor:xt,[`&${Ge}-item-danger`]:{backgroundColor:Yn}},[`&${Ge}-submenu > ${Ge}`]:{backgroundColor:Cr},[`&${Ge}-popup > ${Ge}`]:{backgroundColor:pr},[`&${Ge}-submenu-popup > ${Ge}`]:{backgroundColor:pr},[`&${Ge}-horizontal`]:Object.assign(Object.assign({},Be==="dark"?{borderBottom:0}:{}),{[`> ${Ge}-item, > ${Ge}-submenu`]:{top:Wt,marginTop:le.calc(Wt).mul(-1).equal(),marginBottom:0,borderRadius:yn,"&::after":{position:"absolute",insetInline:zn,bottom:0,borderBottom:`${(0,Je.unit)(ct)} solid transparent`,transition:`border-color ${wn} ${ln}`,content:'""'},"&:hover, &-active, &-open":{background:$n,"&::after":{borderBottomWidth:ct,borderBottomColor:ur}},"&-selected":{color:ur,backgroundColor:dr,"&:hover":{backgroundColor:dr},"&::after":{borderBottomWidth:ct,borderBottomColor:ur}}}}),[`&${Ge}-root`]:{[`&${Ge}-inline, &${Ge}-vertical`]:{borderInlineEnd:`${(0,Je.unit)(Wt)} ${un} ${Pn}`}},[`&${Ge}-inline`]:{[`${Ge}-sub${Ge}-inline`]:{background:Qt},[`${Ge}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,Je.unit)(Xt)} solid ${mt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ln} ${nn}`,`opacity ${Ln} ${nn}`].join(","),content:'""'},[`&${Ge}-item-danger`]:{"&::after":{borderInlineEndColor:sn}}},[`${Ge}-selected, ${Ge}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ln} ${ln}`,`opacity ${Ln} ${ln}`].join(",")}}}}}};const ke=le=>{const{componentCls:Be,itemHeight:Ge,itemMarginInline:ut,padding:mt,menuArrowSize:vt,marginXS:St,itemMarginBlock:Dt,itemWidth:Qt,itemPaddingInline:xt}=le,ct=le.calc(vt).add(mt).add(St).equal();return{[`${Be}-item`]:{position:"relative",overflow:"hidden"},[`${Be}-item, ${Be}-submenu-title`]:{height:Ge,lineHeight:(0,Je.unit)(Ge),paddingInline:xt,overflow:"hidden",textOverflow:"ellipsis",marginInline:ut,marginBlock:Dt,width:Qt},[`> ${Be}-item, + > ${Be}-submenu > ${Be}-submenu-title`]:{height:Ge,lineHeight:(0,Je.unit)(Ge)},[`${Be}-item-group-list ${Be}-submenu-title, + ${Be}-submenu-title`]:{paddingInlineEnd:ct}}};var Kt=le=>{const{componentCls:Be,iconCls:Ge,itemHeight:ut,colorTextLightSolid:mt,dropdownWidth:vt,controlHeightLG:St,motionEaseOut:Dt,paddingXL:Qt,itemMarginInline:xt,fontSizeLG:ct,motionDurationFast:Xt,motionDurationSlow:Wt,paddingXS:wn,boxShadowSecondary:ln,collapsedWidth:nn,collapsedIconSize:zn}=le,Ln={height:ut,lineHeight:(0,Je.unit)(ut),listStylePosition:"inside",listStyleType:"disc"};return[{[Be]:{"&-inline, &-vertical":Object.assign({[`&${Be}-root`]:{boxShadow:"none"}},ke(le))},[`${Be}-submenu-popup`]:{[`${Be}-vertical`]:Object.assign(Object.assign({},ke(le)),{boxShadow:ln})}},{[`${Be}-submenu-popup ${Be}-vertical${Be}-sub`]:{minWidth:vt,maxHeight:`calc(100vh - ${(0,Je.unit)(le.calc(St).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Be}-inline`]:{width:"100%",[`&${Be}-root`]:{[`${Be}-item, ${Be}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Wt}`,`background ${Wt}`,`padding ${Xt} ${Dt}`].join(","),[`> ${Be}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Be}-sub${Be}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Be}-submenu > ${Be}-submenu-title`]:Ln,[`& ${Be}-item-group-title`]:{paddingInlineStart:Qt}},[`${Be}-item`]:Ln}},{[`${Be}-inline-collapsed`]:{width:nn,[`&${Be}-root`]:{[`${Be}-item, ${Be}-submenu ${Be}-submenu-title`]:{[`> ${Be}-inline-collapsed-noicon`]:{fontSize:ct,textAlign:"center"}}},[`> ${Be}-item, + > ${Be}-item-group > ${Be}-item-group-list > ${Be}-item, + > ${Be}-item-group > ${Be}-item-group-list > ${Be}-submenu > ${Be}-submenu-title, + > ${Be}-submenu > ${Be}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,Je.unit)(le.calc(zn).div(2).equal())} - ${(0,Je.unit)(xt)})`,textOverflow:"clip",[` + ${Be}-submenu-arrow, + ${Be}-submenu-expand-icon + `]:{opacity:0},[`${Be}-item-icon, ${Ge}`]:{margin:0,fontSize:zn,lineHeight:(0,Je.unit)(ut),"+ span":{display:"inline-block",opacity:0}}},[`${Be}-item-icon, ${Ge}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Be}-item-icon, ${Ge}`]:{display:"none"},"a, a:hover":{color:mt}},[`${Be}-item-group-title`]:Object.assign(Object.assign({},st.vS),{paddingInline:wn})}}]};const Ht=le=>{const{componentCls:Be,motionDurationSlow:Ge,motionDurationMid:ut,motionEaseInOut:mt,motionEaseOut:vt,iconCls:St,iconSize:Dt,iconMarginInlineEnd:Qt}=le;return{[`${Be}-item, ${Be}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ge}`,`background ${Ge}`,`padding calc(${Ge} + 0.1s) ${mt}`].join(","),[`${Be}-item-icon, ${St}`]:{minWidth:Dt,fontSize:Dt,transition:[`font-size ${ut} ${vt}`,`margin ${Ge} ${mt}`,`color ${Ge}`].join(","),"+ span":{marginInlineStart:Qt,opacity:1,transition:[`opacity ${Ge} ${mt}`,`margin ${Ge}`,`color ${Ge}`].join(",")}},[`${Be}-item-icon`]:Object.assign({},(0,st.Ro)()),[`&${Be}-item-only-child`]:{[`> ${St}, > ${Be}-item-icon`]:{marginInlineEnd:0}}},[`${Be}-item-disabled, ${Be}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${Be}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},nt=le=>{const{componentCls:Be,motionDurationSlow:Ge,motionEaseInOut:ut,borderRadius:mt,menuArrowSize:vt,menuArrowOffset:St}=le;return{[`${Be}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:le.margin,width:vt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ge} ${ut}, opacity ${Ge}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:le.calc(vt).mul(.6).equal(),height:le.calc(vt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:mt,transition:[`background ${Ge} ${ut}`,`transform ${Ge} ${ut}`,`top ${Ge} ${ut}`,`color ${Ge} ${ut}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,Je.unit)(le.calc(St).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,Je.unit)(St)})`}}}}},Pt=le=>{const{antCls:Be,componentCls:Ge,fontSize:ut,motionDurationSlow:mt,motionDurationMid:vt,motionEaseInOut:St,paddingXS:Dt,padding:Qt,colorSplit:xt,lineWidth:ct,zIndexPopup:Xt,borderRadiusLG:Wt,subMenuItemBorderRadius:wn,menuArrowSize:ln,menuArrowOffset:nn,lineType:zn,groupTitleLineHeight:Ln,groupTitleFontSize:_t}=le;return[{"":{[Ge]:Object.assign(Object.assign({},(0,st.dF)()),{"&-hidden":{display:"none"}})},[`${Ge}-submenu-hidden`]:{display:"none"}},{[Ge]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,st.Wf)(le)),(0,st.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ut,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${mt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ge}-item`]:{flex:"none"}},[`${Ge}-item, ${Ge}-submenu, ${Ge}-submenu-title`]:{borderRadius:le.itemBorderRadius},[`${Ge}-item-group-title`]:{padding:`${(0,Je.unit)(Dt)} ${(0,Je.unit)(Qt)}`,fontSize:_t,lineHeight:Ln,transition:`all ${mt}`},[`&-horizontal ${Ge}-submenu`]:{transition:[`border-color ${mt} ${St}`,`background ${mt} ${St}`].join(",")},[`${Ge}-submenu, ${Ge}-submenu-inline`]:{transition:[`border-color ${mt} ${St}`,`background ${mt} ${St}`,`padding ${vt} ${St}`].join(",")},[`${Ge}-submenu ${Ge}-sub`]:{cursor:"initial",transition:[`background ${mt} ${St}`,`padding ${mt} ${St}`].join(",")},[`${Ge}-title-content`]:{transition:`color ${mt}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${Be}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${Ge}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:le.padding}},[`${Ge}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ge}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:xt,borderStyle:zn,borderWidth:0,borderTopWidth:ct,marginBlock:ct,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ht(le)),{[`${Ge}-item-group`]:{[`${Ge}-item-group-list`]:{margin:0,padding:0,[`${Ge}-item, ${Ge}-submenu-title`]:{paddingInline:`${(0,Je.unit)(le.calc(ut).mul(2).equal())} ${(0,Je.unit)(Qt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Xt,borderRadius:Wt,boxShadow:"none",transformOrigin:"0 0",[`&${Ge}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${Ge}`]:Object.assign(Object.assign(Object.assign({borderRadius:Wt},Ht(le)),nt(le)),{[`${Ge}-item, ${Ge}-submenu > ${Ge}-submenu-title`]:{borderRadius:wn},[`${Ge}-submenu-title::after`]:{transition:`transform ${mt} ${St}`}})},"\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:le.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:le.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:le.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:le.paddingXS}}}),nt(le)),{[`&-inline-collapsed ${Ge}-submenu-arrow, + &-inline ${Ge}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Je.unit)(nn)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Je.unit)(le.calc(nn).mul(-1).equal())})`}},[`${Ge}-submenu-open${Ge}-submenu-inline > ${Ge}-submenu-title > ${Ge}-submenu-arrow`]:{transform:`translateY(${(0,Je.unit)(le.calc(ln).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Je.unit)(le.calc(nn).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Je.unit)(nn)})`}}})},{[`${Be}-layout-header`]:{[Ge]:{lineHeight:"inherit"}}}]},Rt=le=>{var Be,Ge,ut;const{colorPrimary:mt,colorError:vt,colorTextDisabled:St,colorErrorBg:Dt,colorText:Qt,colorTextDescription:xt,colorBgContainer:ct,colorFillAlter:Xt,colorFillContent:Wt,lineWidth:wn,lineWidthBold:ln,controlItemBgActive:nn,colorBgTextHover:zn,controlHeightLG:Ln,lineHeight:_t,colorBgElevated:un,marginXXS:Pn,padding:Vn,fontSize:Lt,controlHeightSM:Gt,fontSizeLG:sn,colorTextLightSolid:bn,colorErrorHover:Yn}=le,pr=(Be=le.activeBarWidth)!==null&&Be!==void 0?Be:0,ti=(Ge=le.activeBarBorderWidth)!==null&&Ge!==void 0?Ge:wn,si=(ut=le.itemMarginInline)!==null&&ut!==void 0?ut:le.marginXXS,Cr=new Ve.FastColor(bn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:le.zIndexPopupBase+50,radiusItem:le.borderRadiusLG,itemBorderRadius:le.borderRadiusLG,radiusSubMenuItem:le.borderRadiusSM,subMenuItemBorderRadius:le.borderRadiusSM,colorItemText:Qt,itemColor:Qt,colorItemTextHover:Qt,itemHoverColor:Qt,colorItemTextHoverHorizontal:mt,horizontalItemHoverColor:mt,colorGroupTitle:xt,groupTitleColor:xt,colorItemTextSelected:mt,itemSelectedColor:mt,subMenuItemSelectedColor:mt,colorItemTextSelectedHorizontal:mt,horizontalItemSelectedColor:mt,colorItemBg:ct,itemBg:ct,colorItemBgHover:zn,itemHoverBg:zn,colorItemBgActive:Wt,itemActiveBg:nn,colorSubItemBg:Xt,subMenuItemBg:Xt,colorItemBgSelected:nn,itemSelectedBg:nn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:pr,colorActiveBarHeight:ln,activeBarHeight:ln,colorActiveBarBorderSize:wn,activeBarBorderWidth:ti,colorItemTextDisabled:St,itemDisabledColor:St,colorDangerItemText:vt,dangerItemColor:vt,colorDangerItemTextHover:vt,dangerItemHoverColor:vt,colorDangerItemTextSelected:vt,dangerItemSelectedColor:vt,colorDangerItemBgActive:Dt,dangerItemActiveBg:Dt,colorDangerItemBgSelected:Dt,dangerItemSelectedBg:Dt,itemMarginInline:si,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ln,groupTitleLineHeight:_t,collapsedWidth:Ln*2,popupBg:un,itemMarginBlock:Pn,itemPaddingInline:Vn,horizontalLineHeight:`${Ln*1.15}px`,iconSize:Lt,iconMarginInlineEnd:Gt-Lt,collapsedIconSize:sn,groupTitleFontSize:Lt,darkItemDisabledColor:new Ve.FastColor(bn).setA(.25).toRgbString(),darkItemColor:Cr,darkDangerItemColor:vt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:bn,darkItemSelectedBg:mt,darkDangerItemSelectedBg:vt,darkItemHoverBg:"transparent",darkGroupTitleColor:Cr,darkItemHoverColor:bn,darkDangerItemHoverColor:Yn,darkDangerItemSelectedColor:bn,darkDangerItemActiveBg:vt,itemWidth:pr?`calc(100% + ${ti}px)`:`calc(100% - ${si*2}px)`}};var hn=function(le){let Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le,Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,ze.I$)("Menu",mt=>{const{colorBgElevated:vt,controlHeightLG:St,fontSize:Dt,darkItemColor:Qt,darkDangerItemColor:xt,darkItemBg:ct,darkSubMenuItemBg:Xt,darkItemSelectedColor:Wt,darkItemSelectedBg:wn,darkDangerItemSelectedBg:ln,darkItemHoverBg:nn,darkGroupTitleColor:zn,darkItemHoverColor:Ln,darkItemDisabledColor:_t,darkDangerItemHoverColor:un,darkDangerItemSelectedColor:Pn,darkDangerItemActiveBg:Vn,popupBg:Lt,darkPopupBg:Gt}=mt,sn=mt.calc(Dt).div(7).mul(5).equal(),bn=(0,pt.mergeToken)(mt,{menuArrowSize:sn,menuHorizontalHeight:mt.calc(St).mul(1.15).equal(),menuArrowOffset:mt.calc(sn).mul(.25).equal(),menuSubMenuBg:vt,calc:mt.calc,popupBg:Lt}),Yn=(0,pt.mergeToken)(bn,{itemColor:Qt,itemHoverColor:Ln,groupTitleColor:zn,itemSelectedColor:Wt,subMenuItemSelectedColor:Wt,itemBg:ct,popupBg:Gt,subMenuItemBg:Xt,itemActiveBg:"transparent",itemSelectedBg:wn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:nn,itemDisabledColor:_t,dangerItemColor:xt,dangerItemHoverColor:un,dangerItemSelectedColor:Pn,dangerItemActiveBg:Vn,dangerItemSelectedBg:ln,menuSubMenuBg:Xt,horizontalItemSelectedColor:Wt,horizontalItemSelectedBg:wn});return[Pt(bn),Qe(bn),Kt(bn),We(bn,"light"),We(Yn,"dark"),ot(bn),(0,at.Z)(bn),(0,ht.oN)(bn,"slide-up"),(0,ht.oN)(bn,"slide-down"),(0,Ct._y)(bn,"zoom-big")]},Rt,{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:Ge,unitless:{groupTitleLineHeight:!0}})(le,Be)},Tt=ae(75030),kt=le=>{var Be;const{popupClassName:Ge,icon:ut,title:mt,theme:vt}=le,St=x.useContext(Se),{prefixCls:Dt,inlineCollapsed:Qt,theme:xt}=St,ct=(0,dt.Xl)();let Xt;if(!ut)Xt=Qt&&!ct.length&&mt&&typeof mt=="string"?x.createElement("div",{className:`${Dt}-inline-collapsed-noicon`},mt.charAt(0)):x.createElement("span",{className:`${Dt}-title-content`},mt);else{const ln=x.isValidElement(mt)&&mt.type==="span";Xt=x.createElement(x.Fragment,null,(0,oe.Tm)(ut,{className:Fe()(x.isValidElement(ut)?(Be=ut.props)===null||Be===void 0?void 0:Be.className:"",`${Dt}-item-icon`)}),ln?mt:x.createElement("span",{className:`${Dt}-title-content`},mt))}const Wt=x.useMemo(()=>Object.assign(Object.assign({},St),{firstLevel:!1}),[St]),[wn]=(0,Tt.Cn)("Menu");return x.createElement(Se.Provider,{value:Wt},x.createElement(dt.Wd,Object.assign({},(0,fe.Z)(le,["icon"]),{title:Xt,popupClassName:Fe()(Dt,Ge,`${Dt}-${vt||xt}`),popupStyle:Object.assign({zIndex:wn},le.popupStyle)})))},Fn=function(le,Be){var Ge={};for(var ut in le)Object.prototype.hasOwnProperty.call(le,ut)&&Be.indexOf(ut)<0&&(Ge[ut]=le[ut]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,ut=Object.getOwnPropertySymbols(le);mt{var Ge;const ut=x.useContext(_e.Z),mt=ut||{},{getPrefixCls:vt,getPopupContainer:St,direction:Dt,menu:Qt}=x.useContext(Pe.E_),xt=vt(),{prefixCls:ct,className:Xt,style:Wt,theme:wn="light",expandIcon:ln,_internalDisableMenuItemTitleTooltip:nn,inlineCollapsed:zn,siderCollapsed:Ln,rootClassName:_t,mode:un,selectable:Pn,onClick:Vn,overflowedIndicatorPopupClassName:Lt}=le,Gt=Fn(le,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),sn=(0,fe.Z)(Gt,["collapsedWidth"]);(Ge=mt.validator)===null||Ge===void 0||Ge.call(mt,{mode:un});const bn=(0,Me.Z)(function(){var Br;Vn==null||Vn.apply(void 0,arguments),(Br=mt.onClick)===null||Br===void 0||Br.call(mt)}),Yn=mt.mode||un,pr=Pn!=null?Pn:mt.selectable,ti=zn!=null?zn:Ln,si={horizontal:{motionName:`${xt}-slide-up`},inline:(0,xe.Z)(xt),other:{motionName:`${xt}-zoom-big`}},Cr=vt("menu",ct||mt.prefixCls),ur=(0,ye.Z)(Cr),[dr,yn,$n]=hn(Cr,ur,!ut),rr=Fe()(`${Cr}-${wn}`,Qt==null?void 0:Qt.className,Xt),Zn=x.useMemo(()=>{var Br,Or;if(typeof ln=="function"||an(ln))return ln||null;if(typeof mt.expandIcon=="function"||an(mt.expandIcon))return mt.expandIcon||null;if(typeof(Qt==null?void 0:Qt.expandIcon)=="function"||an(Qt==null?void 0:Qt.expandIcon))return(Qt==null?void 0:Qt.expandIcon)||null;const ci=(Br=ln!=null?ln:mt==null?void 0:mt.expandIcon)!==null&&Br!==void 0?Br:Qt==null?void 0:Qt.expandIcon;return(0,oe.Tm)(ci,{className:Fe()(`${Cr}-submenu-expand-icon`,x.isValidElement(ci)?(Or=ci.props)===null||Or===void 0?void 0:Or.className:void 0)})},[ln,mt==null?void 0:mt.expandIcon,Qt==null?void 0:Qt.expandIcon,Cr]),br=x.useMemo(()=>({prefixCls:Cr,inlineCollapsed:ti||!1,direction:Dt,firstLevel:!0,theme:wn,mode:Yn,disableMenuItemTitleTooltip:nn}),[Cr,ti,Dt,nn,wn]);return dr(x.createElement(_e.Z.Provider,{value:null},x.createElement(Se.Provider,{value:br},x.createElement(dt.ZP,Object.assign({getPopupContainer:St,overflowedIndicator:x.createElement(qe.Z,null),overflowedIndicatorPopupClassName:Fe()(Cr,`${Cr}-${wn}`,Lt),mode:Yn,selectable:pr,onClick:bn},sn,{inlineCollapsed:ti,style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),Wt),className:rr,prefixCls:Cr,direction:Dt,defaultMotions:si,expandIcon:Zn,ref:Be,rootClassName:Fe()(_t,yn,mt.rootClassName,$n,ur),_internalComponents:de})))))});const ee=(0,x.forwardRef)((le,Be)=>{const Ge=(0,x.useRef)(null),ut=x.useContext(Le.D);return(0,x.useImperativeHandle)(Be,()=>({menu:Ge.current,focus:mt=>{var vt;(vt=Ge.current)===null||vt===void 0||vt.focus(mt)}})),x.createElement(ie,Object.assign({ref:Ge},le,ut))});ee.Item=je,ee.SubMenu=kt,ee.Divider=we,ee.ItemGroup=dt.BW;var se=ee},31709:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Qt}});var x=ae(59301),dt=ae(60499),Le={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"},qe=Le,He=ae(7657),Fe=function(ct,Xt){return x.createElement(He.Z,(0,dt.Z)({},ct,{ref:Xt,icon:qe}))},Me=x.forwardRef(Fe),fe=Me,xe=ae(49198),oe=ae(33853),Pe=ae(38819),ye=ae(92310),Re=ae.n(ye),Se=ae(18642),Ie=ae(43749),ve=ae(85899),we=ae(72190),Ee=ae(18929),Oe=ae(10228),Ke=ae(26112),je=ae(48736),_e=ae(17119),Je=[10,20,50,100],Ve=function(ct){var Xt=ct.pageSizeOptions,Wt=Xt===void 0?Je:Xt,wn=ct.locale,ln=ct.changeSize,nn=ct.pageSize,zn=ct.goButton,Ln=ct.quickGo,_t=ct.rootPrefixCls,un=ct.disabled,Pn=ct.buildOptionText,Vn=ct.showSizeChanger,Lt=ct.sizeChangerRender,Gt=x.useState(""),sn=(0,we.Z)(Gt,2),bn=sn[0],Yn=sn[1],pr=function(){return!bn||Number.isNaN(bn)?void 0:Number(bn)},ti=typeof Pn=="function"?Pn:function(br){return"".concat(br," ").concat(wn.items_per_page)},si=function(Br){Yn(Br.target.value)},Cr=function(Br){zn||bn===""||(Yn(""),!(Br.relatedTarget&&(Br.relatedTarget.className.indexOf("".concat(_t,"-item-link"))>=0||Br.relatedTarget.className.indexOf("".concat(_t,"-item"))>=0))&&(Ln==null||Ln(pr())))},ur=function(Br){bn!==""&&(Br.keyCode===Oe.Z.ENTER||Br.type==="click")&&(Yn(""),Ln==null||Ln(pr()))},dr=function(){return Wt.some(function(Br){return Br.toString()===nn.toString()})?Wt:Wt.concat([nn]).sort(function(Br,Or){var ci=Number.isNaN(Number(Br))?0:Number(Br),Ai=Number.isNaN(Number(Or))?0:Number(Or);return ci-Ai})},yn="".concat(_t,"-options");if(!Vn&&!Ln)return null;var $n=null,rr=null,Zn=null;return Vn&&Lt&&($n=Lt({disabled:un,size:nn,onSizeChange:function(Br){ln==null||ln(Number(Br))},"aria-label":wn.page_size,className:"".concat(yn,"-size-changer"),options:dr().map(function(br){return{label:ti(br),value:br}})})),Ln&&(zn&&(Zn=typeof zn=="boolean"?x.createElement("button",{type:"button",onClick:ur,onKeyUp:ur,disabled:un,className:"".concat(yn,"-quick-jumper-button")},wn.jump_to_confirm):x.createElement("span",{onClick:ur,onKeyUp:ur},zn)),rr=x.createElement("div",{className:"".concat(yn,"-quick-jumper")},wn.jump_to,x.createElement("input",{disabled:un,type:"text",value:bn,onChange:si,onKeyUp:ur,onBlur:Cr,"aria-label":wn.page}),wn.page,Zn)),x.createElement("li",{className:yn},$n,rr)},st=Ve,at=function(ct){var Xt=ct.rootPrefixCls,Wt=ct.page,wn=ct.active,ln=ct.className,nn=ct.showTitle,zn=ct.onClick,Ln=ct.onKeyPress,_t=ct.itemRender,un="".concat(Xt,"-item"),Pn=Re()(un,"".concat(un,"-").concat(Wt),(0,Se.Z)((0,Se.Z)({},"".concat(un,"-active"),wn),"".concat(un,"-disabled"),!Wt),ln),Vn=function(){zn(Wt)},Lt=function(bn){Ln(bn,zn,Wt)},Gt=_t(Wt,"page",x.createElement("a",{rel:"nofollow"},Wt));return Gt?x.createElement("li",{title:nn?String(Wt):null,className:Pn,onClick:Vn,onKeyDown:Lt,tabIndex:0},Gt):null},ht=at,Ct=function(ct,Xt,Wt){return Wt};function ze(){}function pt(xt){var ct=Number(xt);return typeof ct=="number"&&!Number.isNaN(ct)&&isFinite(ct)&&Math.floor(ct)===ct}function Ne(xt,ct,Xt){var Wt=typeof xt=="undefined"?ct:xt;return Math.floor((Xt-1)/Wt)+1}var Qe=function(ct){var Xt=ct.prefixCls,Wt=Xt===void 0?"rc-pagination":Xt,wn=ct.selectPrefixCls,ln=wn===void 0?"rc-select":wn,nn=ct.className,zn=ct.current,Ln=ct.defaultCurrent,_t=Ln===void 0?1:Ln,un=ct.total,Pn=un===void 0?0:un,Vn=ct.pageSize,Lt=ct.defaultPageSize,Gt=Lt===void 0?10:Lt,sn=ct.onChange,bn=sn===void 0?ze:sn,Yn=ct.hideOnSinglePage,pr=ct.align,ti=ct.showPrevNextJumpers,si=ti===void 0?!0:ti,Cr=ct.showQuickJumper,ur=ct.showLessItems,dr=ct.showTitle,yn=dr===void 0?!0:dr,$n=ct.onShowSizeChange,rr=$n===void 0?ze:$n,Zn=ct.locale,br=Zn===void 0?_e.Z:Zn,Br=ct.style,Or=ct.totalBoundaryShowSizeChanger,ci=Or===void 0?50:Or,Ai=ct.disabled,di=ct.simple,Pi=ct.showTotal,yi=ct.showSizeChanger,oo=yi===void 0?Pn>ci:yi,Gi=ct.sizeChangerRender,ar=ct.pageSizeOptions,Dr=ct.itemRender,gi=Dr===void 0?Ct:Dr,ni=ct.jumpPrevIcon,An=ct.jumpNextIcon,Cn=ct.prevIcon,tt=ct.nextIcon,pn=x.useRef(null),Zt=(0,Ee.Z)(10,{value:Vn,defaultValue:Gt}),vn=(0,we.Z)(Zt,2),On=vn[0],Rr=vn[1],Xr=(0,Ee.Z)(1,{value:zn,defaultValue:_t,postState:function(vo){return Math.max(1,Math.min(vo,Ne(void 0,On,Pn)))}}),li=(0,we.Z)(Xr,2),nr=li[0],or=li[1],er=x.useState(nr),_r=(0,we.Z)(er,2),Ti=_r[0],bi=_r[1];(0,x.useEffect)(function(){bi(nr)},[nr]);var Xi=bn!==ze,Er="current"in ct,tn=Math.max(1,nr-(ur?3:5)),$t=Math.min(Ne(void 0,On,Pn),nr+(ur?3:5));function jn(Fo,vo){var qo=Fo||x.createElement("button",{type:"button","aria-label":vo,className:"".concat(Wt,"-item-link")});return typeof Fo=="function"&&(qo=x.createElement(Fo,(0,ve.Z)({},ct))),qo}function lr(Fo){var vo=Fo.target.value,qo=Ne(void 0,On,Pn),ja;return vo===""?ja=vo:Number.isNaN(Number(vo))?ja=Ti:vo>=qo?ja=qo:ja=Number(vo),ja}function gr(Fo){return pt(Fo)&&Fo!==nr&&pt(Pn)&&Pn>0}var Ir=Pn>On?Cr:!1;function Kr(Fo){(Fo.keyCode===Oe.Z.UP||Fo.keyCode===Oe.Z.DOWN)&&Fo.preventDefault()}function zr(Fo){var vo=lr(Fo);switch(vo!==Ti&&bi(vo),Fo.keyCode){case Oe.Z.ENTER:xi(vo);break;case Oe.Z.UP:xi(vo-1);break;case Oe.Z.DOWN:xi(vo+1);break;default:break}}function pi(Fo){xi(lr(Fo))}function Ci(Fo){var vo=Ne(Fo,On,Pn),qo=nr>vo&&vo!==0?vo:nr;Rr(Fo),bi(qo),rr==null||rr(nr,Fo),or(qo),bn==null||bn(qo,Fo)}function xi(Fo){if(gr(Fo)&&!Ai){var vo=Ne(void 0,On,Pn),qo=Fo;return Fo>vo?qo=vo:Fo<1&&(qo=1),qo!==Ti&&bi(qo),or(qo),bn==null||bn(qo,On),qo}return nr}var hi=nr>1,Ii=nr2?qo-2:0),ls=2;lsPn?Pn:nr*On])),No=null,zi=Ne(void 0,On,Pn);if(Yn&&Pn<=On)return null;var Vt=[],$r={rootPrefixCls:Wt,onClick:xi,onKeyPress:ai,showTitle:yn,itemRender:gi,page:-1},ui=nr-1>0?nr-1:0,Zr=nr+1=Bi*2&&nr!==3&&(Vt[0]=x.cloneElement(Vt[0],{className:Re()("".concat(Wt,"-item-after-jump-prev"),Vt[0].props.className)}),Vt.unshift(Mo)),zi-nr>=Bi*2&&nr!==zi-2){var Ji=Vt[Vt.length-1];Vt[Vt.length-1]=x.cloneElement(Ji,{className:Re()("".concat(Wt,"-item-before-jump-next"),Ji.props.className)}),Vt.push(No)}da!==1&&Vt.unshift(x.createElement(ht,(0,dt.Z)({},$r,{key:1,page:1}))),wa!==zi&&Vt.push(x.createElement(ht,(0,dt.Z)({},$r,{key:zi,page:zi})))}var xo=Do(ui);if(xo){var ba=!hi||!zi;xo=x.createElement("li",{title:yn?br.prev_page:null,onClick:Di,tabIndex:ba?null:0,onKeyDown:ao,className:Re()("".concat(Wt,"-prev"),(0,Se.Z)({},"".concat(Wt,"-disabled"),ba)),"aria-disabled":ba},xo)}var Xa=Co(Zr);if(Xa){var ns,Ta;di?(ns=!Ii,Ta=hi?0:null):(ns=!Ii||!zi,Ta=ns?null:0),Xa=x.createElement("li",{title:yn?br.next_page:null,onClick:$i,tabIndex:Ta,onKeyDown:ki,className:Re()("".concat(Wt,"-next"),(0,Se.Z)({},"".concat(Wt,"-disabled"),ns)),"aria-disabled":ns},Xa)}var Za=Re()(Wt,nn,(0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)({},"".concat(Wt,"-start"),pr==="start"),"".concat(Wt,"-center"),pr==="center"),"".concat(Wt,"-end"),pr==="end"),"".concat(Wt,"-simple"),di),"".concat(Wt,"-disabled"),Ai));return x.createElement("ul",(0,dt.Z)({className:Za,style:Br,ref:pn},Go),zo,xo,di?Yr:Vt,Xa,x.createElement(st,{locale:br,rootPrefixCls:Wt,disabled:Ai,selectPrefixCls:ln,changeSize:Ci,pageSize:On,pageSizeOptions:ar,quickGo:Ir?xi:null,goButton:jr,showSizeChanger:oo,sizeChangerRender:Gi}))},Ot=Qe,ot=ae(61852),lt=ae(48755),Bt=ae(31756),We=ae(13783),ke=ae(9017),At=ae(82326),Kt=ae(57700),Ht=ae(36237),nt=ae(53075),Pt=ae(64910),Rt=ae(39082),hn=ae(63356),Tt=ae(51636),mn=ae(16931);const kt=xt=>{const{componentCls:ct}=xt;return{[`${ct}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ct}-item-link`]:{color:xt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ct}-item-link`]:{color:xt.colorTextDisabled,cursor:"not-allowed"}}},[`&${ct}-disabled`]:{cursor:"not-allowed",[`${ct}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:xt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:xt.colorBorder,backgroundColor:xt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:xt.itemActiveBgDisabled},a:{color:xt.itemActiveColorDisabled}}},[`${ct}-item-link`]:{color:xt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ct}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ct}-simple-pager`]:{color:xt.colorTextDisabled},[`${ct}-jump-prev, ${ct}-jump-next`]:{[`${ct}-item-link-icon`]:{opacity:0},[`${ct}-item-ellipsis`]:{opacity:1}}},[`&${ct}-simple`]:{[`${ct}-prev, ${ct}-next`]:{[`&${ct}-disabled ${ct}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Fn=xt=>{const{componentCls:ct}=xt;return{[`&${ct}-mini ${ct}-total-text, &${ct}-mini ${ct}-simple-pager`]:{height:xt.itemSizeSM,lineHeight:(0,Ht.unit)(xt.itemSizeSM)},[`&${ct}-mini ${ct}-item`]:{minWidth:xt.itemSizeSM,height:xt.itemSizeSM,margin:0,lineHeight:(0,Ht.unit)(xt.calc(xt.itemSizeSM).sub(2).equal())},[`&${ct}-mini ${ct}-prev, &${ct}-mini ${ct}-next`]:{minWidth:xt.itemSizeSM,height:xt.itemSizeSM,margin:0,lineHeight:(0,Ht.unit)(xt.itemSizeSM)},[`&${ct}-mini:not(${ct}-disabled)`]:{[`${ct}-prev, ${ct}-next`]:{[`&:hover ${ct}-item-link`]:{backgroundColor:xt.colorBgTextHover},[`&:active ${ct}-item-link`]:{backgroundColor:xt.colorBgTextActive},[`&${ct}-disabled:hover ${ct}-item-link`]:{backgroundColor:"transparent"}}},[` + &${ct}-mini ${ct}-prev ${ct}-item-link, + &${ct}-mini ${ct}-next ${ct}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:xt.itemSizeSM,lineHeight:(0,Ht.unit)(xt.itemSizeSM)}},[`&${ct}-mini ${ct}-jump-prev, &${ct}-mini ${ct}-jump-next`]:{height:xt.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Ht.unit)(xt.itemSizeSM)},[`&${ct}-mini ${ct}-options`]:{marginInlineStart:xt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:xt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:xt.itemSizeSM,lineHeight:(0,Ht.unit)(xt.itemSizeSM),input:Object.assign(Object.assign({},(0,nt.x0)(xt)),{width:xt.paginationMiniQuickJumperInputWidth,height:xt.controlHeightSM})}}}},an=xt=>{const{componentCls:ct}=xt;return{[` + &${ct}-simple ${ct}-prev, + &${ct}-simple ${ct}-next + `]:{height:xt.itemSizeSM,lineHeight:(0,Ht.unit)(xt.itemSizeSM),verticalAlign:"top",[`${ct}-item-link`]:{height:xt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:xt.colorBgTextHover},"&:active":{backgroundColor:xt.colorBgTextActive},"&::after":{height:xt.itemSizeSM,lineHeight:(0,Ht.unit)(xt.itemSizeSM)}}},[`&${ct}-simple ${ct}-simple-pager`]:{display:"inline-block",height:xt.itemSizeSM,marginInlineEnd:xt.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,Ht.unit)(xt.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:xt.itemInputBg,border:`${(0,Ht.unit)(xt.lineWidth)} ${xt.lineType} ${xt.colorBorder}`,borderRadius:xt.borderRadius,outline:"none",transition:`border-color ${xt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:xt.colorPrimary},"&:focus":{borderColor:xt.colorPrimaryHover,boxShadow:`${(0,Ht.unit)(xt.inputOutlineOffset)} 0 ${(0,Ht.unit)(xt.controlOutlineWidth)} ${xt.controlOutline}`},"&[disabled]":{color:xt.colorTextDisabled,backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,cursor:"not-allowed"}}}}},de=xt=>{const{componentCls:ct}=xt;return{[`${ct}-jump-prev, ${ct}-jump-next`]:{outline:0,[`${ct}-item-container`]:{position:"relative",[`${ct}-item-link-icon`]:{color:xt.colorPrimary,fontSize:xt.fontSizeSM,opacity:0,transition:`all ${xt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${ct}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:xt.colorTextDisabled,letterSpacing:xt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:xt.paginationEllipsisTextIndent,opacity:1,transition:`all ${xt.motionDurationMid}`}},"&:hover":{[`${ct}-item-link-icon`]:{opacity:1},[`${ct}-item-ellipsis`]:{opacity:0}}},[` + ${ct}-prev, + ${ct}-jump-prev, + ${ct}-jump-next + `]:{marginInlineEnd:xt.marginXS},[` + ${ct}-prev, + ${ct}-next, + ${ct}-jump-prev, + ${ct}-jump-next + `]:{display:"inline-block",minWidth:xt.itemSize,height:xt.itemSize,color:xt.colorText,fontFamily:xt.fontFamily,lineHeight:(0,Ht.unit)(xt.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:xt.borderRadius,cursor:"pointer",transition:`all ${xt.motionDurationMid}`},[`${ct}-prev, ${ct}-next`]:{outline:0,button:{color:xt.colorText,cursor:"pointer",userSelect:"none"},[`${ct}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:xt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Ht.unit)(xt.lineWidth)} ${xt.lineType} transparent`,borderRadius:xt.borderRadius,outline:"none",transition:`all ${xt.motionDurationMid}`},[`&:hover ${ct}-item-link`]:{backgroundColor:xt.colorBgTextHover},[`&:active ${ct}-item-link`]:{backgroundColor:xt.colorBgTextActive},[`&${ct}-disabled:hover`]:{[`${ct}-item-link`]:{backgroundColor:"transparent"}}},[`${ct}-slash`]:{marginInlineEnd:xt.paginationSlashMarginInlineEnd,marginInlineStart:xt.paginationSlashMarginInlineStart},[`${ct}-options`]:{display:"inline-block",marginInlineStart:xt.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:xt.controlHeight,marginInlineStart:xt.marginXS,lineHeight:(0,Ht.unit)(xt.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,nt.ik)(xt)),(0,Rt.$U)(xt,{borderColor:xt.colorBorder,hoverBorderColor:xt.colorPrimaryHover,activeBorderColor:xt.colorPrimary,activeShadow:xt.activeShadow})),{"&[disabled]":Object.assign({},(0,Rt.Xy)(xt)),width:xt.calc(xt.controlHeightLG).mul(1.25).equal(),height:xt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:xt.marginXS,marginInlineEnd:xt.marginXS})}}}},ge=xt=>{const{componentCls:ct}=xt;return{[`${ct}-item`]:{display:"inline-block",minWidth:xt.itemSize,height:xt.itemSize,marginInlineEnd:xt.marginXS,fontFamily:xt.fontFamily,lineHeight:(0,Ht.unit)(xt.calc(xt.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:xt.itemBg,border:`${(0,Ht.unit)(xt.lineWidth)} ${xt.lineType} transparent`,borderRadius:xt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Ht.unit)(xt.paginationItemPaddingInline)}`,color:xt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ct}-item-active)`]:{"&:hover":{transition:`all ${xt.motionDurationMid}`,backgroundColor:xt.colorBgTextHover},"&:active":{backgroundColor:xt.colorBgTextActive}},"&-active":{fontWeight:xt.fontWeightStrong,backgroundColor:xt.itemActiveBg,borderColor:xt.colorPrimary,a:{color:xt.colorPrimary},"&:hover":{borderColor:xt.colorPrimaryHover},"&:hover a":{color:xt.colorPrimaryHover}}}}},ie=xt=>{const{componentCls:ct}=xt;return{[ct]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,hn.Wf)(xt)),{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:'""'},[`${ct}-total-text`]:{display:"inline-block",height:xt.itemSize,marginInlineEnd:xt.marginXS,lineHeight:(0,Ht.unit)(xt.calc(xt.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ge(xt)),de(xt)),an(xt)),Fn(xt)),kt(xt)),{[`@media only screen and (max-width: ${xt.screenLG}px)`]:{[`${ct}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${xt.screenSM}px)`]:{[`${ct}-options`]:{display:"none"}}}),[`&${xt.componentCls}-rtl`]:{direction:"rtl"}}},ee=xt=>{const{componentCls:ct}=xt;return{[`${ct}:not(${ct}-disabled)`]:{[`${ct}-item`]:Object.assign({},(0,hn.Qy)(xt)),[`${ct}-jump-prev, ${ct}-jump-next`]:{"&:focus-visible":Object.assign({[`${ct}-item-link-icon`]:{opacity:1},[`${ct}-item-ellipsis`]:{opacity:0}},(0,hn.oN)(xt))},[`${ct}-prev, ${ct}-next`]:{[`&:focus-visible ${ct}-item-link`]:Object.assign({},(0,hn.oN)(xt))}}}},se=xt=>Object.assign({itemBg:xt.colorBgContainer,itemSize:xt.controlHeight,itemSizeSM:xt.controlHeightSM,itemActiveBg:xt.colorBgContainer,itemLinkBg:xt.colorBgContainer,itemActiveColorDisabled:xt.colorTextDisabled,itemActiveBgDisabled:xt.controlItemBgActiveDisabled,itemInputBg:xt.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Pt.T)(xt)),le=xt=>(0,Tt.mergeToken)(xt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:xt.calc(xt.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:xt.calc(xt.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:xt.calc(xt.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:xt.calc(xt.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:xt.marginSM,paginationSlashMarginInlineEnd:xt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Pt.e)(xt));var Be=(0,mn.I$)("Pagination",xt=>{const ct=le(xt);return[ie(ct),ee(ct)]},se);const Ge=xt=>{const{componentCls:ct}=xt;return{[`${ct}${ct}-bordered${ct}-disabled:not(${ct}-mini)`]:{"&, &:hover":{[`${ct}-item-link`]:{borderColor:xt.colorBorder}},"&:focus-visible":{[`${ct}-item-link`]:{borderColor:xt.colorBorder}},[`${ct}-item, ${ct}-item-link`]:{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,[`&:hover:not(${ct}-item-active)`]:{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,a:{color:xt.colorTextDisabled}},[`&${ct}-item-active`]:{backgroundColor:xt.itemActiveBgDisabled}},[`${ct}-prev, ${ct}-next`]:{"&:hover button":{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,color:xt.colorTextDisabled},[`${ct}-item-link`]:{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder}}},[`${ct}${ct}-bordered:not(${ct}-mini)`]:{[`${ct}-prev, ${ct}-next`]:{"&:hover button":{borderColor:xt.colorPrimaryHover,backgroundColor:xt.itemBg},[`${ct}-item-link`]:{backgroundColor:xt.itemLinkBg,borderColor:xt.colorBorder},[`&:hover ${ct}-item-link`]:{borderColor:xt.colorPrimary,backgroundColor:xt.itemBg,color:xt.colorPrimary},[`&${ct}-disabled`]:{[`${ct}-item-link`]:{borderColor:xt.colorBorder,color:xt.colorTextDisabled}}},[`${ct}-item`]:{backgroundColor:xt.itemBg,border:`${(0,Ht.unit)(xt.lineWidth)} ${xt.lineType} ${xt.colorBorder}`,[`&:hover:not(${ct}-item-active)`]:{borderColor:xt.colorPrimary,backgroundColor:xt.itemBg,a:{color:xt.colorPrimary}},"&-active":{borderColor:xt.colorPrimary}}}}};var ut=(0,mn.bk)(["Pagination","bordered"],xt=>{const ct=le(xt);return[Ge(ct)]},se);function mt(xt){return(0,x.useMemo)(()=>typeof xt=="boolean"?[xt,{}]:xt&&typeof xt=="object"?[!0,xt]:[void 0,void 0],[xt])}var vt=function(xt,ct){var Xt={};for(var Wt in xt)Object.prototype.hasOwnProperty.call(xt,Wt)&&ct.indexOf(Wt)<0&&(Xt[Wt]=xt[Wt]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wn=0,Wt=Object.getOwnPropertySymbols(xt);wn{const{align:ct,prefixCls:Xt,selectPrefixCls:Wt,className:wn,rootClassName:ln,style:nn,size:zn,locale:Ln,responsive:_t,showSizeChanger:un,selectComponentClass:Pn,pageSizeOptions:Vn}=xt,Lt=vt(xt,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Gt}=(0,We.Z)(_t),[,sn]=(0,Kt.ZP)(),{getPrefixCls:bn,direction:Yn,showSizeChanger:pr,className:ti,style:si}=(0,lt.dj)("pagination"),Cr=bn("pagination",Xt),[ur,dr,yn]=Be(Cr),$n=(0,Bt.Z)(zn),rr=$n==="small"||!!(Gt&&!$n&&_t),[Zn]=(0,ke.Z)("Pagination",ot.Z),br=Object.assign(Object.assign({},Zn),Ln),[Br,Or]=mt(un),[ci,Ai]=mt(pr),di=Br!=null?Br:ci,Pi=Or!=null?Or:Ai,yi=Pn||At.default,oo=x.useMemo(()=>Vn?Vn.map(An=>Number(An)):void 0,[Vn]),Gi=An=>{var Cn;const{disabled:tt,size:pn,onSizeChange:Zt,"aria-label":vn,className:On,options:Rr}=An,{className:Xr,onChange:li}=Pi||{},nr=(Cn=Rr.find(or=>String(or.value)===String(pn)))===null||Cn===void 0?void 0:Cn.value;return x.createElement(yi,Object.assign({disabled:tt,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:or=>or.parentNode,"aria-label":vn,options:Rr},Pi,{value:nr,onChange:(or,er)=>{Zt==null||Zt(or),li==null||li(or,er)},size:rr?"small":"middle",className:Re()(On,Xr)}))},ar=x.useMemo(()=>{const An=x.createElement("span",{className:`${Cr}-item-ellipsis`},"\u2022\u2022\u2022"),Cn=x.createElement("button",{className:`${Cr}-item-link`,type:"button",tabIndex:-1},Yn==="rtl"?x.createElement(Pe.Z,null):x.createElement(oe.Z,null)),tt=x.createElement("button",{className:`${Cr}-item-link`,type:"button",tabIndex:-1},Yn==="rtl"?x.createElement(oe.Z,null):x.createElement(Pe.Z,null)),pn=x.createElement("a",{className:`${Cr}-item-link`},x.createElement("div",{className:`${Cr}-item-container`},Yn==="rtl"?x.createElement(xe.Z,{className:`${Cr}-item-link-icon`}):x.createElement(fe,{className:`${Cr}-item-link-icon`}),An)),Zt=x.createElement("a",{className:`${Cr}-item-link`},x.createElement("div",{className:`${Cr}-item-container`},Yn==="rtl"?x.createElement(fe,{className:`${Cr}-item-link-icon`}):x.createElement(xe.Z,{className:`${Cr}-item-link-icon`}),An));return{prevIcon:Cn,nextIcon:tt,jumpPrevIcon:pn,jumpNextIcon:Zt}},[Yn,Cr]),Dr=bn("select",Wt),gi=Re()({[`${Cr}-${ct}`]:!!ct,[`${Cr}-mini`]:rr,[`${Cr}-rtl`]:Yn==="rtl",[`${Cr}-bordered`]:sn.wireframe},ti,wn,ln,dr,yn),ni=Object.assign(Object.assign({},si),nn);return ur(x.createElement(x.Fragment,null,sn.wireframe&&x.createElement(ut,{prefixCls:Cr}),x.createElement(Ot,Object.assign({},ar,Lt,{style:ni,prefixCls:Cr,selectPrefixCls:Dr,className:gi,locale:br,pageSizeOptions:oo,showSizeChanger:di,sizeChangerRender:Gi}))))},Qt=Dt},89787:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ln}});var x=ae(59301),dt=ae(17835),Le=ae(29679),qe=ae(40001),He=ae(19248),Fe=ae(99267),Me=ae(92310),fe=ae.n(Me),xe=ae(2738),oe=ae(48755),Pe=ae(60499),ye=ae(85899),Re=ae(42244),Se={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Ie=function(){var un=(0,x.useRef)([]),Pn=(0,x.useRef)(null);return(0,x.useEffect)(function(){var Vn=Date.now(),Lt=!1;un.current.forEach(function(Gt){if(Gt){Lt=!0;var sn=Gt.style;sn.transitionDuration=".3s, .3s, .3s, .06s",Pn.current&&Vn-Pn.current<100&&(sn.transitionDuration="0s, 0s")}}),Lt&&(Pn.current=Date.now())}),un.current},ve=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],we=function(un){var Pn=(0,ye.Z)((0,ye.Z)({},Se),un),Vn=Pn.className,Lt=Pn.percent,Gt=Pn.prefixCls,sn=Pn.strokeColor,bn=Pn.strokeLinecap,Yn=Pn.strokeWidth,pr=Pn.style,ti=Pn.trailColor,si=Pn.trailWidth,Cr=Pn.transition,ur=(0,Re.Z)(Pn,ve);delete ur.gapPosition;var dr=Array.isArray(Lt)?Lt:[Lt],yn=Array.isArray(sn)?sn:[sn],$n=Ie(),rr=Yn/2,Zn=100-Yn/2,br="M ".concat(bn==="round"?rr:0,",").concat(rr,` + L `).concat(bn==="round"?Zn:100,",").concat(rr),Br="0 0 100 ".concat(Yn),Or=0;return x.createElement("svg",(0,Pe.Z)({className:fe()("".concat(Gt,"-line"),Vn),viewBox:Br,preserveAspectRatio:"none",style:pr},ur),x.createElement("path",{className:"".concat(Gt,"-line-trail"),d:br,strokeLinecap:bn,stroke:ti,strokeWidth:si||Yn,fillOpacity:"0"}),dr.map(function(ci,Ai){var di=1;switch(bn){case"round":di=1-Yn/100;break;case"square":di=1-Yn/2/100;break;default:di=1;break}var Pi={strokeDasharray:"".concat(ci*di,"px, 100px"),strokeDashoffset:"-".concat(Or,"px"),transition:Cr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},yi=yn[Ai]||yn[yn.length-1];return Or+=ci,x.createElement("path",{key:Ai,className:"".concat(Gt,"-line-path"),d:br,strokeLinecap:bn,stroke:yi,strokeWidth:Yn,fillOpacity:"0",ref:function(Gi){$n[Ai]=Gi},style:Pi})}))},Ee=we,Oe=ae(43749),Ke=ae(72190),je=ae(47273),_e=0,Je=(0,je.Z)();function Ve(){var _t;return Je?(_t=_e,_e+=1):_t="TEST_OR_SSR",_t}var st=function(_t){var un=x.useState(),Pn=(0,Ke.Z)(un,2),Vn=Pn[0],Lt=Pn[1];return x.useEffect(function(){Lt("rc_progress_".concat(Ve()))},[]),_t||Vn},at=function(un){var Pn=un.bg,Vn=un.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:Pn}},Vn)};function ht(_t,un){return Object.keys(_t).map(function(Pn){var Vn=parseFloat(Pn),Lt="".concat(Math.floor(Vn*un),"%");return"".concat(_t[Pn]," ").concat(Lt)})}var Ct=x.forwardRef(function(_t,un){var Pn=_t.prefixCls,Vn=_t.color,Lt=_t.gradientId,Gt=_t.radius,sn=_t.style,bn=_t.ptg,Yn=_t.strokeLinecap,pr=_t.strokeWidth,ti=_t.size,si=_t.gapDegree,Cr=Vn&&(0,Oe.Z)(Vn)==="object",ur=Cr?"#FFF":void 0,dr=ti/2,yn=x.createElement("circle",{className:"".concat(Pn,"-circle-path"),r:Gt,cx:dr,cy:dr,stroke:ur,strokeLinecap:Yn,strokeWidth:pr,opacity:bn===0?0:1,style:sn,ref:un});if(!Cr)return yn;var $n="".concat(Lt,"-conic"),rr=si?"".concat(180+si/2,"deg"):"0deg",Zn=ht(Vn,(360-si)/360),br=ht(Vn,1),Br="conic-gradient(from ".concat(rr,", ").concat(Zn.join(", "),")"),Or="linear-gradient(to ".concat(si?"bottom":"top",", ").concat(br.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:$n},yn),x.createElement("foreignObject",{x:0,y:0,width:ti,height:ti,mask:"url(#".concat($n,")")},x.createElement(at,{bg:Or},x.createElement(at,{bg:Br}))))}),ze=Ct,pt=100,Ne=function(un,Pn,Vn,Lt,Gt,sn,bn,Yn,pr,ti){var si=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Cr=Vn/100*360*((360-sn)/360),ur=sn===0?0:{bottom:0,top:180,left:90,right:-90}[bn],dr=(100-Lt)/100*Pn;pr==="round"&&Lt!==100&&(dr+=ti/2,dr>=Pn&&(dr=Pn-.01));var yn=pt/2;return{stroke:typeof Yn=="string"?Yn:void 0,strokeDasharray:"".concat(Pn,"px ").concat(un),strokeDashoffset:dr+si,transform:"rotate(".concat(Gt+Cr+ur,"deg)"),transformOrigin:"".concat(yn,"px ").concat(yn,"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}},Qe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ot(_t){var un=_t!=null?_t:[];return Array.isArray(un)?un:[un]}var ot=function(un){var Pn=(0,ye.Z)((0,ye.Z)({},Se),un),Vn=Pn.id,Lt=Pn.prefixCls,Gt=Pn.steps,sn=Pn.strokeWidth,bn=Pn.trailWidth,Yn=Pn.gapDegree,pr=Yn===void 0?0:Yn,ti=Pn.gapPosition,si=Pn.trailColor,Cr=Pn.strokeLinecap,ur=Pn.style,dr=Pn.className,yn=Pn.strokeColor,$n=Pn.percent,rr=(0,Re.Z)(Pn,Qe),Zn=pt/2,br=st(Vn),Br="".concat(br,"-gradient"),Or=Zn-sn/2,ci=Math.PI*2*Or,Ai=pr>0?90+pr/2:-90,di=ci*((360-pr)/360),Pi=(0,Oe.Z)(Gt)==="object"?Gt:{count:Gt,gap:2},yi=Pi.count,oo=Pi.gap,Gi=Ot($n),ar=Ot(yn),Dr=ar.find(function(Zt){return Zt&&(0,Oe.Z)(Zt)==="object"}),gi=Dr&&(0,Oe.Z)(Dr)==="object",ni=gi?"butt":Cr,An=Ne(ci,di,0,100,Ai,pr,ti,si,ni,sn),Cn=Ie(),tt=function(){var vn=0;return Gi.map(function(On,Rr){var Xr=ar[Rr]||ar[ar.length-1],li=Ne(ci,di,vn,On,Ai,pr,ti,Xr,ni,sn);return vn+=On,x.createElement(ze,{key:Rr,color:Xr,ptg:On,radius:Or,prefixCls:Lt,gradientId:Br,style:li,strokeLinecap:ni,strokeWidth:sn,gapDegree:pr,ref:function(or){Cn[Rr]=or},size:pt})}).reverse()},pn=function(){var vn=Math.round(yi*(Gi[0]/100)),On=100/yi,Rr=0;return new Array(yi).fill(null).map(function(Xr,li){var nr=li<=vn-1?ar[0]:si,or=nr&&(0,Oe.Z)(nr)==="object"?"url(#".concat(Br,")"):void 0,er=Ne(ci,di,Rr,On,Ai,pr,ti,nr,"butt",sn,oo);return Rr+=(di-er.strokeDashoffset+oo)*100/di,x.createElement("circle",{key:li,className:"".concat(Lt,"-circle-path"),r:Or,cx:Zn,cy:Zn,stroke:or,strokeWidth:sn,opacity:1,style:er,ref:function(Ti){Cn[li]=Ti}})})};return x.createElement("svg",(0,Pe.Z)({className:fe()("".concat(Lt,"-circle"),dr),viewBox:"0 0 ".concat(pt," ").concat(pt),style:ur,id:Vn,role:"presentation"},rr),!yi&&x.createElement("circle",{className:"".concat(Lt,"-circle-trail"),r:Or,cx:Zn,cy:Zn,stroke:si,strokeLinecap:ni,strokeWidth:bn||sn,style:An}),yi?pn():tt())},lt=ot,Bt={Line:Ee,Circle:lt},We=ae(25399),ke=ae(68361);function At(_t){return!_t||_t<0?0:_t>100?100:_t}function Kt(_t){let{success:un,successPercent:Pn}=_t,Vn=Pn;return un&&"progress"in un&&(Vn=un.progress),un&&"percent"in un&&(Vn=un.percent),Vn}const Ht=_t=>{let{percent:un,success:Pn,successPercent:Vn}=_t;const Lt=At(Kt({success:Pn,successPercent:Vn}));return[Lt,At(At(un)-Lt)]},nt=_t=>{let{success:un={},strokeColor:Pn}=_t;const{strokeColor:Vn}=un;return[Vn||ke.presetPrimaryColors.green,Pn||null]},Pt=(_t,un,Pn)=>{var Vn,Lt,Gt,sn;let bn=-1,Yn=-1;if(un==="step"){const pr=Pn.steps,ti=Pn.strokeWidth;typeof _t=="string"||typeof _t=="undefined"?(bn=_t==="small"?2:14,Yn=ti!=null?ti:8):typeof _t=="number"?[bn,Yn]=[_t,_t]:[bn=14,Yn=8]=Array.isArray(_t)?_t:[_t.width,_t.height],bn*=pr}else if(un==="line"){const pr=Pn==null?void 0:Pn.strokeWidth;typeof _t=="string"||typeof _t=="undefined"?Yn=pr||(_t==="small"?6:8):typeof _t=="number"?[bn,Yn]=[_t,_t]:[bn=-1,Yn=8]=Array.isArray(_t)?_t:[_t.width,_t.height]}else(un==="circle"||un==="dashboard")&&(typeof _t=="string"||typeof _t=="undefined"?[bn,Yn]=_t==="small"?[60,60]:[120,120]:typeof _t=="number"?[bn,Yn]=[_t,_t]:Array.isArray(_t)&&(bn=(Lt=(Vn=_t[0])!==null&&Vn!==void 0?Vn:_t[1])!==null&&Lt!==void 0?Lt:120,Yn=(sn=(Gt=_t[0])!==null&&Gt!==void 0?Gt:_t[1])!==null&&sn!==void 0?sn:120));return[bn,Yn]},Rt=3,hn=_t=>Rt/_t*100;var mn=_t=>{const{prefixCls:un,trailColor:Pn=null,strokeLinecap:Vn="round",gapPosition:Lt,gapDegree:Gt,width:sn=120,type:bn,children:Yn,success:pr,size:ti=sn,steps:si}=_t,[Cr,ur]=Pt(ti,"circle");let{strokeWidth:dr}=_t;dr===void 0&&(dr=Math.max(hn(Cr),6));const yn={width:Cr,height:ur,fontSize:Cr*.15+6},$n=x.useMemo(()=>{if(Gt||Gt===0)return Gt;if(bn==="dashboard")return 75},[Gt,bn]),rr=Ht(_t),Zn=Lt||bn==="dashboard"&&"bottom"||void 0,br=Object.prototype.toString.call(_t.strokeColor)==="[object Object]",Br=nt({success:pr,strokeColor:_t.strokeColor}),Or=fe()(`${un}-inner`,{[`${un}-circle-gradient`]:br}),ci=x.createElement(lt,{steps:si,percent:si?rr[1]:rr,strokeWidth:dr,trailWidth:dr,strokeColor:si?Br[1]:Br,strokeLinecap:Vn,trailColor:Pn,prefixCls:un,gapDegree:$n,gapPosition:Zn}),Ai=Cr<=20,di=x.createElement("div",{className:Or,style:yn},ci,!Ai&&Yn);return Ai?x.createElement(We.Z,{title:Yn},di):di},kt=ae(36237),Fn=ae(63356),an=ae(16931),de=ae(51636);const ge="--progress-line-stroke-color",ie="--progress-percent",ee=_t=>{const un=_t?"100%":"-100%";return new kt.Keyframes(`antProgress${_t?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${un}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${un}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},se=_t=>{const{componentCls:un,iconCls:Pn}=_t;return{[un]:Object.assign(Object.assign({},(0,Fn.Wf)(_t)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:_t.fontSize},[`${un}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${un}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:_t.remainingColor,borderRadius:_t.lineBorderRadius},[`${un}-inner:not(${un}-circle-gradient)`]:{[`${un}-circle-path`]:{stroke:_t.defaultColor}},[`${un}-success-bg, ${un}-bg`]:{position:"relative",background:_t.defaultColor,borderRadius:_t.lineBorderRadius,transition:`all ${_t.motionDurationSlow} ${_t.motionEaseInOutCirc}`},[`${un}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${un}-text`]:{width:"max-content",marginInlineStart:0,marginTop:_t.marginXXS}},[`${un}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ge})`]},height:"100%",width:`calc(1 / var(${ie}) * 100%)`,display:"block"},[`&${un}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${un}-text-inner`]:{color:_t.colorWhite,[`&${un}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${un}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:_t.colorSuccess},[`${un}-text`]:{display:"inline-block",marginInlineStart:_t.marginXS,color:_t.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Pn]:{fontSize:_t.fontSize},[`&${un}-text-outer`]:{width:"max-content"},[`&${un}-text-outer${un}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:_t.marginXS}},[`${un}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,kt.unit)(_t.paddingXXS)}`,[`&${un}-text-start`]:{justifyContent:"start"},[`&${un}-text-end`]:{justifyContent:"end"}},[`&${un}-status-active`]:{[`${un}-bg::before`]:{position:"absolute",inset:0,backgroundColor:_t.colorBgContainer,borderRadius:_t.lineBorderRadius,opacity:0,animationName:ee(),animationDuration:_t.progressActiveMotionDuration,animationTimingFunction:_t.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${un}-rtl${un}-status-active`]:{[`${un}-bg::before`]:{animationName:ee(!0)}},[`&${un}-status-exception`]:{[`${un}-bg`]:{backgroundColor:_t.colorError},[`${un}-text`]:{color:_t.colorError}},[`&${un}-status-exception ${un}-inner:not(${un}-circle-gradient)`]:{[`${un}-circle-path`]:{stroke:_t.colorError}},[`&${un}-status-success`]:{[`${un}-bg`]:{backgroundColor:_t.colorSuccess},[`${un}-text`]:{color:_t.colorSuccess}},[`&${un}-status-success ${un}-inner:not(${un}-circle-gradient)`]:{[`${un}-circle-path`]:{stroke:_t.colorSuccess}}})}},le=_t=>{const{componentCls:un,iconCls:Pn}=_t;return{[un]:{[`${un}-circle-trail`]:{stroke:_t.remainingColor},[`&${un}-circle ${un}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${un}-circle ${un}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:_t.circleTextColor,fontSize:_t.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Pn]:{fontSize:_t.circleIconFontSize}},[`${un}-circle&-status-exception`]:{[`${un}-text`]:{color:_t.colorError}},[`${un}-circle&-status-success`]:{[`${un}-text`]:{color:_t.colorSuccess}}},[`${un}-inline-circle`]:{lineHeight:1,[`${un}-inner`]:{verticalAlign:"bottom"}}}},Be=_t=>{const{componentCls:un}=_t;return{[un]:{[`${un}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:_t.progressStepMinWidth,marginInlineEnd:_t.progressStepMarginInlineEnd,backgroundColor:_t.remainingColor,transition:`all ${_t.motionDurationSlow}`,"&-active":{backgroundColor:_t.defaultColor}}}}}},Ge=_t=>{const{componentCls:un,iconCls:Pn}=_t;return{[un]:{[`${un}-small&-line, ${un}-small&-line ${un}-text ${Pn}`]:{fontSize:_t.fontSizeSM}}}},ut=_t=>({circleTextColor:_t.colorText,defaultColor:_t.colorInfo,remainingColor:_t.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${_t.fontSize/_t.fontSizeSM}em`});var mt=(0,an.I$)("Progress",_t=>{const un=_t.calc(_t.marginXXS).div(2).equal(),Pn=(0,de.mergeToken)(_t,{progressStepMarginInlineEnd:un,progressStepMinWidth:un,progressActiveMotionDuration:"2.4s"});return[se(Pn),le(Pn),Be(Pn),Ge(Pn)]},ut),vt=function(_t,un){var Pn={};for(var Vn in _t)Object.prototype.hasOwnProperty.call(_t,Vn)&&un.indexOf(Vn)<0&&(Pn[Vn]=_t[Vn]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Vn=Object.getOwnPropertySymbols(_t);Lt{let un=[];return Object.keys(_t).forEach(Pn=>{const Vn=parseFloat(Pn.replace(/%/g,""));Number.isNaN(Vn)||un.push({key:Vn,value:_t[Pn]})}),un=un.sort((Pn,Vn)=>Pn.key-Vn.key),un.map(Pn=>{let{key:Vn,value:Lt}=Pn;return`${Lt} ${Vn}%`}).join(", ")},Dt=(_t,un)=>{const{from:Pn=ke.presetPrimaryColors.blue,to:Vn=ke.presetPrimaryColors.blue,direction:Lt=un==="rtl"?"to left":"to right"}=_t,Gt=vt(_t,["from","to","direction"]);if(Object.keys(Gt).length!==0){const bn=St(Gt),Yn=`linear-gradient(${Lt}, ${bn})`;return{background:Yn,[ge]:Yn}}const sn=`linear-gradient(${Lt}, ${Pn}, ${Vn})`;return{background:sn,[ge]:sn}};var xt=_t=>{const{prefixCls:un,direction:Pn,percent:Vn,size:Lt,strokeWidth:Gt,strokeColor:sn,strokeLinecap:bn="round",children:Yn,trailColor:pr=null,percentPosition:ti,success:si}=_t,{align:Cr,type:ur}=ti,dr=sn&&typeof sn!="string"?Dt(sn,Pn):{[ge]:sn,background:sn},yn=bn==="square"||bn==="butt"?0:void 0,$n=Lt!=null?Lt:[-1,Gt||(Lt==="small"?6:8)],[rr,Zn]=Pt($n,"line",{strokeWidth:Gt}),br={backgroundColor:pr||void 0,borderRadius:yn},Br=Object.assign(Object.assign({width:`${At(Vn)}%`,height:Zn,borderRadius:yn},dr),{[ie]:At(Vn)/100}),Or=Kt(_t),ci={width:`${At(Or)}%`,height:Zn,borderRadius:yn,backgroundColor:si==null?void 0:si.strokeColor},Ai={width:rr<0?"100%":rr},di=x.createElement("div",{className:`${un}-inner`,style:br},x.createElement("div",{className:fe()(`${un}-bg`,`${un}-bg-${ur}`),style:Br},ur==="inner"&&Yn),Or!==void 0&&x.createElement("div",{className:`${un}-success-bg`,style:ci})),Pi=ur==="outer"&&Cr==="start",yi=ur==="outer"&&Cr==="end";return ur==="outer"&&Cr==="center"?x.createElement("div",{className:`${un}-layout-bottom`},di,Yn):x.createElement("div",{className:`${un}-outer`,style:Ai},Pi&&Yn,di,yi&&Yn)},Xt=_t=>{const{size:un,steps:Pn,rounding:Vn=Math.round,percent:Lt=0,strokeWidth:Gt=8,strokeColor:sn,trailColor:bn=null,prefixCls:Yn,children:pr}=_t,ti=Vn(Pn*(Lt/100)),si=un==="small"?2:14,Cr=un!=null?un:[si,Gt],[ur,dr]=Pt(Cr,"step",{steps:Pn,strokeWidth:Gt}),yn=ur/Pn,$n=Array.from({length:Pn});for(let rr=0;rr{const{prefixCls:Pn,className:Vn,rootClassName:Lt,steps:Gt,strokeColor:sn,percent:bn=0,size:Yn="default",showInfo:pr=!0,type:ti="line",status:si,format:Cr,style:ur,percentPosition:dr={}}=_t,yn=Wt(_t,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:$n="end",type:rr="outer"}=dr,Zn=Array.isArray(sn)?sn[0]:sn,br=typeof sn=="string"||Array.isArray(sn)?sn:void 0,Br=x.useMemo(()=>{if(Zn){const tt=typeof Zn=="string"?Zn:Object.values(Zn)[0];return new dt.FastColor(tt).isLight()}return!1},[sn]),Or=x.useMemo(()=>{var tt,pn;const Zt=Kt(_t);return parseInt(Zt!==void 0?(tt=Zt!=null?Zt:0)===null||tt===void 0?void 0:tt.toString():(pn=bn!=null?bn:0)===null||pn===void 0?void 0:pn.toString(),10)},[bn,_t.success,_t.successPercent]),ci=x.useMemo(()=>!ln.includes(si)&&Or>=100?"success":si||"normal",[si,Or]),{getPrefixCls:Ai,direction:di,progress:Pi}=x.useContext(oe.E_),yi=Ai("progress",Pn),[oo,Gi,ar]=mt(yi),Dr=ti==="line",gi=Dr&&!Gt,ni=x.useMemo(()=>{if(!pr)return null;const tt=Kt(_t);let pn;const Zt=Cr||(On=>`${On}%`),vn=Dr&&Br&&rr==="inner";return rr==="inner"||Cr||ci!=="exception"&&ci!=="success"?pn=Zt(At(bn),At(tt)):ci==="exception"?pn=Dr?x.createElement(He.Z,null):x.createElement(Fe.Z,null):ci==="success"&&(pn=Dr?x.createElement(Le.Z,null):x.createElement(qe.Z,null)),x.createElement("span",{className:fe()(`${yi}-text`,{[`${yi}-text-bright`]:vn,[`${yi}-text-${$n}`]:gi,[`${yi}-text-${rr}`]:gi}),title:typeof pn=="string"?pn:void 0},pn)},[pr,bn,Or,ci,ti,yi,Cr]);let An;ti==="line"?An=Gt?x.createElement(Xt,Object.assign({},_t,{strokeColor:br,prefixCls:yi,steps:typeof Gt=="object"?Gt.count:Gt}),ni):x.createElement(xt,Object.assign({},_t,{strokeColor:Zn,prefixCls:yi,direction:di,percentPosition:{align:$n,type:rr}}),ni):(ti==="circle"||ti==="dashboard")&&(An=x.createElement(mn,Object.assign({},_t,{strokeColor:Zn,prefixCls:yi,progressStatus:ci}),ni));const Cn=fe()(yi,`${yi}-status-${ci}`,{[`${yi}-${ti==="dashboard"&&"circle"||ti}`]:ti!=="line",[`${yi}-inline-circle`]:ti==="circle"&&Pt(Yn,"circle")[0]<=20,[`${yi}-line`]:gi,[`${yi}-line-align-${$n}`]:gi,[`${yi}-line-position-${rr}`]:gi,[`${yi}-steps`]:Gt,[`${yi}-show-info`]:pr,[`${yi}-${Yn}`]:typeof Yn=="string",[`${yi}-rtl`]:di==="rtl"},Pi==null?void 0:Pi.className,Vn,Lt,Gi,ar);return oo(x.createElement("div",Object.assign({ref:un,style:Object.assign(Object.assign({},Pi==null?void 0:Pi.style),ur),className:Cn,role:"progressbar","aria-valuenow":Or,"aria-valuemin":0,"aria-valuemax":100},(0,xe.Z)(yn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),An))}),Ln=zn},63139:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ht}});var x=ae(59301),dt=ae(60499),Le={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"},qe=Le,He=ae(7657),Fe=function(Pt,Rt){return x.createElement(He.Z,(0,dt.Z)({},Pt,{ref:Rt,icon:qe}))},Me=x.forwardRef(Fe),fe=Me,xe=ae(92310),oe=ae.n(xe),Pe=ae(18642),ye=ae(72190),Re=ae(42244),Se=ae(18929),Ie=ae(10228),ve=ae(26112);function we(nt,Pt){var Rt=nt.disabled,hn=nt.prefixCls,Tt=nt.character,mn=nt.characterRender,kt=nt.index,Fn=nt.count,an=nt.value,de=nt.allowHalf,ge=nt.focused,ie=nt.onHover,ee=nt.onClick,se=function(Dt){ie(Dt,kt)},le=function(Dt){ee(Dt,kt)},Be=function(Dt){Dt.keyCode===Ie.Z.ENTER&&ee(Dt,kt)},Ge=kt+1,ut=new Set([hn]);an===0&&kt===0&&ge?ut.add("".concat(hn,"-focused")):de&&an+.5>=Ge&&ankt?"true":"false","aria-posinset":kt+1,"aria-setsize":Fn,tabIndex:Rt?-1:0},x.createElement("div",{className:"".concat(hn,"-first")},mt),x.createElement("div",{className:"".concat(hn,"-second")},mt)));return mn&&(vt=mn(vt,nt)),vt}var Ee=x.forwardRef(we);function Oe(){var nt=x.useRef({});function Pt(hn){return nt.current[hn]}function Rt(hn){return function(Tt){nt.current[hn]=Tt}}return[Pt,Rt]}function Ke(nt){var Pt=nt.pageXOffset,Rt="scrollLeft";if(typeof Pt!="number"){var hn=nt.document;Pt=hn.documentElement[Rt],typeof Pt!="number"&&(Pt=hn.body[Rt])}return Pt}function je(nt){var Pt,Rt,hn=nt.ownerDocument,Tt=hn.body,mn=hn&&hn.documentElement,kt=nt.getBoundingClientRect();return Pt=kt.left,Rt=kt.top,Pt-=mn.clientLeft||Tt.clientLeft||0,Rt-=mn.clientTop||Tt.clientTop||0,{left:Pt,top:Rt}}function _e(nt){var Pt=je(nt),Rt=nt.ownerDocument,hn=Rt.defaultView||Rt.parentWindow;return Pt.left+=Ke(hn),Pt.left}var Je=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Ve(nt,Pt){var Rt=nt.prefixCls,hn=Rt===void 0?"rc-rate":Rt,Tt=nt.className,mn=nt.defaultValue,kt=nt.value,Fn=nt.count,an=Fn===void 0?5:Fn,de=nt.allowHalf,ge=de===void 0?!1:de,ie=nt.allowClear,ee=ie===void 0?!0:ie,se=nt.keyboard,le=se===void 0?!0:se,Be=nt.character,Ge=Be===void 0?"\u2605":Be,ut=nt.characterRender,mt=nt.disabled,vt=nt.direction,St=vt===void 0?"ltr":vt,Dt=nt.tabIndex,Qt=Dt===void 0?0:Dt,xt=nt.autoFocus,ct=nt.onHoverChange,Xt=nt.onChange,Wt=nt.onFocus,wn=nt.onBlur,ln=nt.onKeyDown,nn=nt.onMouseLeave,zn=(0,Re.Z)(nt,Je),Ln=Oe(),_t=(0,ye.Z)(Ln,2),un=_t[0],Pn=_t[1],Vn=x.useRef(null),Lt=function(){if(!mt){var ni;(ni=Vn.current)===null||ni===void 0||ni.focus()}};x.useImperativeHandle(Pt,function(){return{focus:Lt,blur:function(){if(!mt){var ni;(ni=Vn.current)===null||ni===void 0||ni.blur()}}}});var Gt=(0,Se.Z)(mn||0,{value:kt}),sn=(0,ye.Z)(Gt,2),bn=sn[0],Yn=sn[1],pr=(0,Se.Z)(null),ti=(0,ye.Z)(pr,2),si=ti[0],Cr=ti[1],ur=function(ni,An){var Cn=St==="rtl",tt=ni+1;if(ge){var pn=un(ni),Zt=_e(pn),vn=pn.clientWidth;(Cn&&An-Zt>vn/2||!Cn&&An-Zt0&&!Cn||An===Ie.Z.RIGHT&&bn>0&&Cn?(dr(bn-tt),ni.preventDefault()):An===Ie.Z.LEFT&&bn{const{componentCls:Pt}=nt;return{[`${Pt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:nt.marginXS},"> div":{transition:`all ${nt.motionDurationMid}, outline 0s`,"&:hover":{transform:nt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,ze.unit)(nt.lineWidth)} dashed ${nt.starColor}`,transform:nt.starHoverScale}},"&-first, &-second":{color:nt.starBg,transition:`all ${nt.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Pt}-star-first, &-half ${Pt}-star-second`]:{opacity:1},[`&-half ${Pt}-star-first, &-full ${Pt}-star-second`]:{color:"inherit"}}}},ot=nt=>({[`&-rtl${nt.componentCls}`]:{direction:"rtl"}}),lt=nt=>{const{componentCls:Pt}=nt;return{[Pt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,pt.Wf)(nt)),{display:"inline-block",margin:0,padding:0,color:nt.starColor,fontSize:nt.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Pt} ${Pt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ot(nt)),ot(nt))}},Bt=nt=>({starColor:nt.yellow6,starSize:nt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:nt.colorFillContent});var We=(0,Ne.I$)("Rate",nt=>{const Pt=(0,Qe.mergeToken)(nt,{});return[lt(Pt)]},Bt),ke=ae(2171),At=function(nt,Pt){var Rt={};for(var hn in nt)Object.prototype.hasOwnProperty.call(nt,hn)&&Pt.indexOf(hn)<0&&(Rt[hn]=nt[hn]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,hn=Object.getOwnPropertySymbols(nt);Tt{const{prefixCls:Rt,className:hn,rootClassName:Tt,style:mn,tooltips:kt,character:Fn=x.createElement(fe,null),disabled:an}=nt,de=At(nt,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ge=(Dt,Qt)=>{let{index:xt}=Qt;return kt?x.createElement(Ct.Z,{title:kt[xt]},Dt):Dt},{getPrefixCls:ie,direction:ee,rate:se}=x.useContext(ht.E_),le=ie("rate",Rt),[Be,Ge,ut]=We(le),mt=Object.assign(Object.assign({},se==null?void 0:se.style),mn),vt=x.useContext(ke.Z),St=an!=null?an:vt;return Be(x.createElement(at,Object.assign({ref:Pt,character:Fn,characterRender:ge,disabled:St},de,{className:oe()(hn,Tt,Ge,ut,se==null?void 0:se.className),style:mt,prefixCls:le,direction:ee})))})},82326:function(Xn,Mt,ae){"use strict";var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(37463),He=ae(2738),Fe=ae(75030),Me=ae(86641),fe=ae(45915),xe=ae(82855),oe=ae(48755),Pe=ae(38406),ye=ae(2171),Re=ae(83397),Se=ae(31756),Ie=ae(56553),ve=ae(24971),we=ae(70045),Ee=ae(57700),Oe=ae(1722),Ke=ae(90376),je=ae(68525),_e=ae(90005),Je=function(Ct,ze){var pt={};for(var Ne in Ct)Object.prototype.hasOwnProperty.call(Ct,Ne)&&ze.indexOf(Ne)<0&&(pt[Ne]=Ct[Ne]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ne=Object.getOwnPropertySymbols(Ct);Qe{var pt;const{prefixCls:Ne,bordered:Qe,className:Ot,rootClassName:ot,getPopupContainer:lt,popupClassName:Bt,dropdownClassName:We,listHeight:ke=256,placement:At,listItemHeight:Kt,size:Ht,disabled:nt,notFoundContent:Pt,status:Rt,builtinPlacements:hn,dropdownMatchSelectWidth:Tt,popupMatchSelectWidth:mn,direction:kt,style:Fn,allowClear:an,variant:de,dropdownStyle:ge,transitionName:ie,tagRender:ee,maxCount:se,prefix:le}=Ct,Be=Je(Ct,["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:Ge,getPrefixCls:ut,renderEmpty:mt,direction:vt,virtual:St,popupMatchSelectWidth:Dt,popupOverflow:Qt}=x.useContext(oe.E_),xt=(0,oe.dj)("select"),[,ct]=(0,Ee.ZP)(),Xt=Kt!=null?Kt:ct==null?void 0:ct.controlHeight,Wt=ut("select",Ne),wn=ut(),ln=kt!=null?kt:vt,{compactSize:nn,compactItemClassnames:zn}=(0,we.ri)(Wt,ln),[Ln,_t]=(0,ve.Z)("select",de,Qe),un=(0,Re.Z)(Wt),[Pn,Vn,Lt]=(0,Ke.Z)(Wt,un),Gt=x.useMemo(()=>{const{mode:Gi}=Ct;if(Gi!=="combobox")return Gi===Ve?"combobox":Gi},[Ct.mode]),sn=Gt==="multiple"||Gt==="tags",bn=(0,_e.Z)(Ct.suffixIcon,Ct.showArrow),Yn=(pt=mn!=null?mn:Tt)!==null&&pt!==void 0?pt:Dt,{status:pr,hasFeedback:ti,isFormItemInput:si,feedbackIcon:Cr}=x.useContext(Ie.aM),ur=(0,xe.F)(pr,Rt);let dr;Pt!==void 0?dr=Pt:Gt==="combobox"?dr=null:dr=(mt==null?void 0:mt("Select"))||x.createElement(Pe.Z,{componentName:"Select"});const{suffixIcon:yn,itemIcon:$n,removeIcon:rr,clearIcon:Zn}=(0,je.Z)(Object.assign(Object.assign({},Be),{multiple:sn,hasFeedback:ti,feedbackIcon:Cr,showSuffixIcon:bn,prefixCls:Wt,componentName:"Select"})),br=an===!0?{clearIcon:Zn}:an,Br=(0,He.Z)(Be,["suffixIcon","itemIcon"]),Or=Le()(Bt||We,{[`${Wt}-dropdown-${ln}`]:ln==="rtl"},ot,Lt,un,Vn),ci=(0,Se.Z)(Gi=>{var ar;return(ar=Ht!=null?Ht:nn)!==null&&ar!==void 0?ar:Gi}),Ai=x.useContext(ye.Z),di=nt!=null?nt:Ai,Pi=Le()({[`${Wt}-lg`]:ci==="large",[`${Wt}-sm`]:ci==="small",[`${Wt}-rtl`]:ln==="rtl",[`${Wt}-${Ln}`]:_t,[`${Wt}-in-form-item`]:si},(0,xe.Z)(Wt,ur,ti),zn,xt.className,Ot,ot,Lt,un,Vn),yi=x.useMemo(()=>At!==void 0?At:ln==="rtl"?"bottomRight":"bottomLeft",[At,ln]),[oo]=(0,Fe.Cn)("SelectLike",ge==null?void 0:ge.zIndex);return Pn(x.createElement(qe.ZP,Object.assign({ref:ze,virtual:St,showSearch:xt.showSearch},Br,{style:Object.assign(Object.assign({},xt.style),Fn),dropdownMatchSelectWidth:Yn,transitionName:(0,Me.m)(wn,"slide-up",ie),builtinPlacements:(0,Oe.Z)(hn,Qt),listHeight:ke,listItemHeight:Xt,mode:Gt,prefixCls:Wt,placement:yi,direction:ln,prefix:le,suffixIcon:yn,menuItemSelectedIcon:$n,removeIcon:rr,allowClear:br,notFoundContent:dr,className:Pi,getPopupContainer:lt||Ge,dropdownClassName:Or,disabled:di,dropdownStyle:Object.assign(Object.assign({},ge),{zIndex:oo}),maxCount:sn?se:void 0,tagRender:sn?ee:void 0})))},at=x.forwardRef(st),ht=(0,fe.Z)(at,"dropdownAlign");at.SECRET_COMBOBOX_MODE_DO_NOT_USE=Ve,at.Option=qe.Wx,at.OptGroup=qe.Xo,at._InternalPanelDoNotUseOrYouWillBeFired=ht,Mt.default=at},1722:function(Xn,Mt){"use strict";const ae=dt=>{const qe={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:dt==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},qe),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},qe),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},qe),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},qe),{points:["br","tr"],offset:[0,-4]})}};function x(dt,Le){return dt||ae(Le)}Mt.Z=x},90376:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ne}});var x=ae(63356),dt=ae(56119),Le=ae(16931),qe=ae(51636),He=ae(46e3),Fe=ae(93873);const Me=Qe=>{const{optionHeight:Ot,optionFontSize:ot,optionLineHeight:lt,optionPadding:Bt}=Qe;return{position:"relative",display:"block",minHeight:Ot,padding:Bt,color:Qe.colorText,fontWeight:"normal",fontSize:ot,lineHeight:lt,boxSizing:"border-box"}};var xe=Qe=>{const{antCls:Ot,componentCls:ot}=Qe,lt=`${ot}-item`,Bt=`&${Ot}-slide-up-enter${Ot}-slide-up-enter-active`,We=`&${Ot}-slide-up-appear${Ot}-slide-up-appear-active`,ke=`&${Ot}-slide-up-leave${Ot}-slide-up-leave-active`,At=`${ot}-dropdown-placement-`,Kt=`${lt}-option-selected`;return[{[`${ot}-dropdown`]:Object.assign(Object.assign({},(0,x.Wf)(Qe)),{position:"absolute",top:-9999,zIndex:Qe.zIndexPopup,boxSizing:"border-box",padding:Qe.paddingXXS,overflow:"hidden",fontSize:Qe.fontSize,fontVariant:"initial",backgroundColor:Qe.colorBgElevated,borderRadius:Qe.borderRadiusLG,outline:"none",boxShadow:Qe.boxShadowSecondary,[` + ${Bt}${At}bottomLeft, + ${We}${At}bottomLeft + `]:{animationName:He.fJ},[` + ${Bt}${At}topLeft, + ${We}${At}topLeft, + ${Bt}${At}topRight, + ${We}${At}topRight + `]:{animationName:He.Qt},[`${ke}${At}bottomLeft`]:{animationName:He.Uw},[` + ${ke}${At}topLeft, + ${ke}${At}topRight + `]:{animationName:He.ly},"&-hidden":{display:"none"},[lt]:Object.assign(Object.assign({},Me(Qe)),{cursor:"pointer",transition:`background ${Qe.motionDurationSlow} ease`,borderRadius:Qe.borderRadiusSM,"&-group":{color:Qe.colorTextDescription,fontSize:Qe.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},x.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${lt}-option-disabled)`]:{backgroundColor:Qe.optionActiveBg},[`&-selected:not(${lt}-option-disabled)`]:{color:Qe.optionSelectedColor,fontWeight:Qe.optionSelectedFontWeight,backgroundColor:Qe.optionSelectedBg,[`${lt}-option-state`]:{color:Qe.colorPrimary}},"&-disabled":{[`&${lt}-option-selected`]:{backgroundColor:Qe.colorBgContainerDisabled},color:Qe.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:Qe.calc(Qe.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Me(Qe)),{color:Qe.colorTextDisabled})}),[`${Kt}:has(+ ${Kt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Kt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,He.oN)(Qe,"slide-up"),(0,He.oN)(Qe,"slide-down"),(0,Fe.Fm)(Qe,"move-up"),(0,Fe.Fm)(Qe,"move-down")]},oe=ae(26743),Pe=ae(36237);function ye(Qe,Ot){const{componentCls:ot,inputPaddingHorizontalBase:lt,borderRadius:Bt}=Qe,We=Qe.calc(Qe.controlHeight).sub(Qe.calc(Qe.lineWidth).mul(2)).equal(),ke=Ot?`${ot}-${Ot}`:"";return{[`${ot}-single${ke}`]:{fontSize:Qe.fontSize,height:Qe.controlHeight,[`${ot}-selector`]:Object.assign(Object.assign({},(0,x.Wf)(Qe,!0)),{display:"flex",borderRadius:Bt,flex:"1 1 auto",[`${ot}-selection-wrap:after`]:{lineHeight:(0,Pe.unit)(We)},[`${ot}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[` + ${ot}-selection-item, + ${ot}-selection-placeholder + `]:{display:"block",padding:0,lineHeight:(0,Pe.unit)(We),transition:`all ${Qe.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${ot}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${ot}-selection-item:empty:after`,`${ot}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${ot}-show-arrow ${ot}-selection-item, + &${ot}-show-arrow ${ot}-selection-search, + &${ot}-show-arrow ${ot}-selection-placeholder + `]:{paddingInlineEnd:Qe.showArrowPaddingInlineEnd},[`&${ot}-open ${ot}-selection-item`]:{color:Qe.colorTextPlaceholder},[`&:not(${ot}-customize-input)`]:{[`${ot}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Pe.unit)(lt)}`,[`${ot}-selection-search-input`]:{height:We,fontSize:Qe.fontSize},"&:after":{lineHeight:(0,Pe.unit)(We)}}},[`&${ot}-customize-input`]:{[`${ot}-selector`]:{"&:after":{display:"none"},[`${ot}-selection-search`]:{position:"static",width:"100%"},[`${ot}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Pe.unit)(lt)}`,"&:after":{display:"none"}}}}}}}function Re(Qe){const{componentCls:Ot}=Qe,ot=Qe.calc(Qe.controlPaddingHorizontalSM).sub(Qe.lineWidth).equal();return[ye(Qe),ye((0,qe.mergeToken)(Qe,{controlHeight:Qe.controlHeightSM,borderRadius:Qe.borderRadiusSM}),"sm"),{[`${Ot}-single${Ot}-sm`]:{[`&:not(${Ot}-customize-input)`]:{[`${Ot}-selector`]:{padding:`0 ${(0,Pe.unit)(ot)}`},[`&${Ot}-show-arrow ${Ot}-selection-search`]:{insetInlineEnd:Qe.calc(ot).add(Qe.calc(Qe.fontSize).mul(1.5)).equal()},[` + &${Ot}-show-arrow ${Ot}-selection-item, + &${Ot}-show-arrow ${Ot}-selection-placeholder + `]:{paddingInlineEnd:Qe.calc(Qe.fontSize).mul(1.5).equal()}}}},ye((0,qe.mergeToken)(Qe,{controlHeight:Qe.singleItemHeightLG,fontSize:Qe.fontSizeLG,borderRadius:Qe.borderRadiusLG}),"lg")]}const Se=Qe=>{const{fontSize:Ot,lineHeight:ot,lineWidth:lt,controlHeight:Bt,controlHeightSM:We,controlHeightLG:ke,paddingXXS:At,controlPaddingHorizontal:Kt,zIndexPopupBase:Ht,colorText:nt,fontWeightStrong:Pt,controlItemBgActive:Rt,controlItemBgHover:hn,colorBgContainer:Tt,colorFillSecondary:mn,colorBgContainerDisabled:kt,colorTextDisabled:Fn,colorPrimaryHover:an,colorPrimary:de,controlOutline:ge}=Qe,ie=At*2,ee=lt*2,se=Math.min(Bt-ie,Bt-ee),le=Math.min(We-ie,We-ee),Be=Math.min(ke-ie,ke-ee);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(At/2),zIndexPopup:Ht+50,optionSelectedColor:nt,optionSelectedFontWeight:Pt,optionSelectedBg:Rt,optionActiveBg:hn,optionPadding:`${(Bt-Ot*ot)/2}px ${Kt}px`,optionFontSize:Ot,optionLineHeight:ot,optionHeight:Bt,selectorBg:Tt,clearBg:Tt,singleItemHeightLG:ke,multipleItemBg:mn,multipleItemBorderColor:"transparent",multipleItemHeight:se,multipleItemHeightSM:le,multipleItemHeightLG:Be,multipleSelectorBgDisabled:kt,multipleItemColorDisabled:Fn,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(Qe.fontSize*1.25),hoverBorderColor:an,activeBorderColor:de,activeOutlineColor:ge,selectAffixPadding:At}},Ie=(Qe,Ot)=>{const{componentCls:ot,antCls:lt,controlOutlineWidth:Bt}=Qe;return{[`&:not(${ot}-customize-input) ${ot}-selector`]:{border:`${(0,Pe.unit)(Qe.lineWidth)} ${Qe.lineType} ${Ot.borderColor}`,background:Qe.selectorBg},[`&:not(${ot}-disabled):not(${ot}-customize-input):not(${lt}-pagination-size-changer)`]:{[`&:hover ${ot}-selector`]:{borderColor:Ot.hoverBorderHover},[`${ot}-focused& ${ot}-selector`]:{borderColor:Ot.activeBorderColor,boxShadow:`0 0 0 ${(0,Pe.unit)(Bt)} ${Ot.activeOutlineColor}`,outline:0},[`${ot}-prefix`]:{color:Ot.color}}}},ve=(Qe,Ot)=>({[`&${Qe.componentCls}-status-${Ot.status}`]:Object.assign({},Ie(Qe,Ot))}),we=Qe=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Ie(Qe,{borderColor:Qe.colorBorder,hoverBorderHover:Qe.hoverBorderColor,activeBorderColor:Qe.activeBorderColor,activeOutlineColor:Qe.activeOutlineColor,color:Qe.colorText})),ve(Qe,{status:"error",borderColor:Qe.colorError,hoverBorderHover:Qe.colorErrorHover,activeBorderColor:Qe.colorError,activeOutlineColor:Qe.colorErrorOutline,color:Qe.colorError})),ve(Qe,{status:"warning",borderColor:Qe.colorWarning,hoverBorderHover:Qe.colorWarningHover,activeBorderColor:Qe.colorWarning,activeOutlineColor:Qe.colorWarningOutline,color:Qe.colorWarning})),{[`&${Qe.componentCls}-disabled`]:{[`&:not(${Qe.componentCls}-customize-input) ${Qe.componentCls}-selector`]:{background:Qe.colorBgContainerDisabled,color:Qe.colorTextDisabled}},[`&${Qe.componentCls}-multiple ${Qe.componentCls}-selection-item`]:{background:Qe.multipleItemBg,border:`${(0,Pe.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.multipleItemBorderColor}`}})}),Ee=(Qe,Ot)=>{const{componentCls:ot,antCls:lt}=Qe;return{[`&:not(${ot}-customize-input) ${ot}-selector`]:{background:Ot.bg,border:`${(0,Pe.unit)(Qe.lineWidth)} ${Qe.lineType} transparent`,color:Ot.color},[`&:not(${ot}-disabled):not(${ot}-customize-input):not(${lt}-pagination-size-changer)`]:{[`&:hover ${ot}-selector`]:{background:Ot.hoverBg},[`${ot}-focused& ${ot}-selector`]:{background:Qe.selectorBg,borderColor:Ot.activeBorderColor,outline:0}}}},Oe=(Qe,Ot)=>({[`&${Qe.componentCls}-status-${Ot.status}`]:Object.assign({},Ee(Qe,Ot))}),Ke=Qe=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ee(Qe,{bg:Qe.colorFillTertiary,hoverBg:Qe.colorFillSecondary,activeBorderColor:Qe.activeBorderColor,color:Qe.colorText})),Oe(Qe,{status:"error",bg:Qe.colorErrorBg,hoverBg:Qe.colorErrorBgHover,activeBorderColor:Qe.colorError,color:Qe.colorError})),Oe(Qe,{status:"warning",bg:Qe.colorWarningBg,hoverBg:Qe.colorWarningBgHover,activeBorderColor:Qe.colorWarning,color:Qe.colorWarning})),{[`&${Qe.componentCls}-disabled`]:{[`&:not(${Qe.componentCls}-customize-input) ${Qe.componentCls}-selector`]:{borderColor:Qe.colorBorder,background:Qe.colorBgContainerDisabled,color:Qe.colorTextDisabled}},[`&${Qe.componentCls}-multiple ${Qe.componentCls}-selection-item`]:{background:Qe.colorBgContainer,border:`${(0,Pe.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.colorSplit}`}})}),je=Qe=>({"&-borderless":{[`${Qe.componentCls}-selector`]:{background:"transparent",border:`${(0,Pe.unit)(Qe.lineWidth)} ${Qe.lineType} transparent`},[`&${Qe.componentCls}-disabled`]:{[`&:not(${Qe.componentCls}-customize-input) ${Qe.componentCls}-selector`]:{color:Qe.colorTextDisabled}},[`&${Qe.componentCls}-multiple ${Qe.componentCls}-selection-item`]:{background:Qe.multipleItemBg,border:`${(0,Pe.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.multipleItemBorderColor}`},[`&${Qe.componentCls}-status-error`]:{[`${Qe.componentCls}-prefix, ${Qe.componentCls}-selection-item`]:{color:Qe.colorError}},[`&${Qe.componentCls}-status-warning`]:{[`${Qe.componentCls}-prefix, ${Qe.componentCls}-selection-item`]:{color:Qe.colorWarning}}}}),_e=(Qe,Ot)=>{const{componentCls:ot,antCls:lt}=Qe;return{[`&:not(${ot}-customize-input) ${ot}-selector`]:{borderWidth:`0 0 ${(0,Pe.unit)(Qe.lineWidth)} 0`,borderStyle:`none none ${Qe.lineType} none`,borderColor:Ot.borderColor,background:Qe.selectorBg,borderRadius:0},[`&:not(${ot}-disabled):not(${ot}-customize-input):not(${lt}-pagination-size-changer)`]:{[`&:hover ${ot}-selector`]:{borderColor:Ot.hoverBorderHover},[`${ot}-focused& ${ot}-selector`]:{borderColor:Ot.activeBorderColor,outline:0},[`${ot}-prefix`]:{color:Ot.color}}}},Je=(Qe,Ot)=>({[`&${Qe.componentCls}-status-${Ot.status}`]:Object.assign({},_e(Qe,Ot))}),Ve=Qe=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},_e(Qe,{borderColor:Qe.colorBorder,hoverBorderHover:Qe.hoverBorderColor,activeBorderColor:Qe.activeBorderColor,activeOutlineColor:Qe.activeOutlineColor,color:Qe.colorText})),Je(Qe,{status:"error",borderColor:Qe.colorError,hoverBorderHover:Qe.colorErrorHover,activeBorderColor:Qe.colorError,activeOutlineColor:Qe.colorErrorOutline,color:Qe.colorError})),Je(Qe,{status:"warning",borderColor:Qe.colorWarning,hoverBorderHover:Qe.colorWarningHover,activeBorderColor:Qe.colorWarning,activeOutlineColor:Qe.colorWarningOutline,color:Qe.colorWarning})),{[`&${Qe.componentCls}-disabled`]:{[`&:not(${Qe.componentCls}-customize-input) ${Qe.componentCls}-selector`]:{color:Qe.colorTextDisabled}},[`&${Qe.componentCls}-multiple ${Qe.componentCls}-selection-item`]:{background:Qe.multipleItemBg,border:`${(0,Pe.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.multipleItemBorderColor}`}})});var at=Qe=>({[Qe.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},we(Qe)),Ke(Qe)),je(Qe)),Ve(Qe))});const ht=Qe=>{const{componentCls:Ot}=Qe;return{position:"relative",transition:`all ${Qe.motionDurationMid} ${Qe.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ot}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Ot}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Ct=Qe=>{const{componentCls:Ot}=Qe;return{[`${Ot}-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=Qe=>{const{antCls:Ot,componentCls:ot,inputPaddingHorizontalBase:lt,iconCls:Bt}=Qe;return{[ot]:Object.assign(Object.assign({},(0,x.Wf)(Qe)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${ot}-customize-input) ${ot}-selector`]:Object.assign(Object.assign({},ht(Qe)),Ct(Qe)),[`${ot}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},x.vS),{[`> ${Ot}-typography`]:{display:"inline"}}),[`${ot}-selection-placeholder`]:Object.assign(Object.assign({},x.vS),{flex:1,color:Qe.colorTextPlaceholder,pointerEvents:"none"}),[`${ot}-arrow`]:Object.assign(Object.assign({},(0,x.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:lt,height:Qe.fontSizeIcon,marginTop:Qe.calc(Qe.fontSizeIcon).mul(-1).div(2).equal(),color:Qe.colorTextQuaternary,fontSize:Qe.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${Qe.motionDurationSlow} ease`,[Bt]:{verticalAlign:"top",transition:`transform ${Qe.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${ot}-suffix)`]:{pointerEvents:"auto"}},[`${ot}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${ot}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${ot}-prefix`]:{flex:"none",marginInlineEnd:Qe.selectAffixPadding},[`${ot}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:lt,zIndex:1,display:"inline-block",width:Qe.fontSizeIcon,height:Qe.fontSizeIcon,marginTop:Qe.calc(Qe.fontSizeIcon).mul(-1).div(2).equal(),color:Qe.colorTextQuaternary,fontSize:Qe.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${Qe.motionDurationMid} ease, opacity ${Qe.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:Qe.colorTextTertiary}},[`&:hover ${ot}-clear`]:{opacity:1,background:Qe.colorBgBase,borderRadius:"50%"}}),[`${ot}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${ot}-has-feedback`]:{[`${ot}-clear`]:{insetInlineEnd:Qe.calc(lt).add(Qe.fontSize).add(Qe.paddingXS).equal()}}}}}},pt=Qe=>{const{componentCls:Ot}=Qe;return[{[Ot]:{[`&${Ot}-in-form-item`]:{width:"100%"}}},ze(Qe),Re(Qe),(0,oe.ZP)(Qe),xe(Qe),{[`${Ot}-rtl`]:{direction:"rtl"}},(0,dt.c)(Qe,{borderElCls:`${Ot}-selector`,focusElCls:`${Ot}-focused`})]};var Ne=(0,Le.I$)("Select",(Qe,Ot)=>{let{rootPrefixCls:ot}=Ot;const lt=(0,qe.mergeToken)(Qe,{rootPrefixCls:ot,inputPaddingHorizontalBase:Qe.calc(Qe.paddingSM).sub(1).equal(),multipleSelectItemHeight:Qe.multipleItemHeight,selectHeight:Qe.controlHeight});return[pt(lt),at(lt)]},Se,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Xn,Mt,ae){"use strict";ae.d(Mt,{_z:function(){return Fe},gp:function(){return qe}});var x=ae(36237),dt=ae(63356),Le=ae(51636);const qe=oe=>{const{multipleSelectItemHeight:Pe,paddingXXS:ye,lineWidth:Re,INTERNAL_FIXED_ITEM_MARGIN:Se}=oe,Ie=oe.max(oe.calc(ye).sub(Re).equal(),0),ve=oe.max(oe.calc(Ie).sub(Se).equal(),0);return{basePadding:Ie,containerPadding:ve,itemHeight:(0,x.unit)(Pe),itemLineHeight:(0,x.unit)(oe.calc(Pe).sub(oe.calc(oe.lineWidth).mul(2)).equal())}},He=oe=>{const{multipleSelectItemHeight:Pe,selectHeight:ye,lineWidth:Re}=oe;return oe.calc(ye).sub(Pe).div(2).sub(Re).equal()},Fe=oe=>{const{componentCls:Pe,iconCls:ye,borderRadiusSM:Re,motionDurationSlow:Se,paddingXS:Ie,multipleItemColorDisabled:ve,multipleItemBorderColorDisabled:we,colorIcon:Ee,colorIconHover:Oe,INTERNAL_FIXED_ITEM_MARGIN:Ke}=oe;return{[`${Pe}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Pe}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Ke,borderRadius:Re,cursor:"default",transition:`font-size ${Se}, line-height ${Se}, height ${Se}`,marginInlineEnd:oe.calc(Ke).mul(2).equal(),paddingInlineStart:Ie,paddingInlineEnd:oe.calc(Ie).div(2).equal(),[`${Pe}-disabled&`]:{color:ve,borderColor:we,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:oe.calc(Ie).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,dt.Ro)()),{display:"inline-flex",alignItems:"center",color:Ee,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ye}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Oe}})}}}},Me=(oe,Pe)=>{const{componentCls:ye,INTERNAL_FIXED_ITEM_MARGIN:Re}=oe,Se=`${ye}-selection-overflow`,Ie=oe.multipleSelectItemHeight,ve=He(oe),we=Pe?`${ye}-${Pe}`:"",Ee=qe(oe);return{[`${ye}-multiple${we}`]:Object.assign(Object.assign({},Fe(oe)),{[`${ye}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Ee.basePadding,paddingBlock:Ee.containerPadding,borderRadius:oe.borderRadius,[`${ye}-disabled&`]:{background:oe.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,x.unit)(Re)} 0`,lineHeight:(0,x.unit)(Ie),visibility:"hidden",content:'"\\a0"'}},[`${ye}-selection-item`]:{height:Ee.itemHeight,lineHeight:(0,x.unit)(Ee.itemLineHeight)},[`${ye}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,x.unit)(Ie),marginBlock:Re}},[`${ye}-prefix`]:{marginInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(Ee.basePadding).equal()},[`${Se}-item + ${Se}-item, + ${ye}-prefix + ${ye}-selection-wrap + `]:{[`${ye}-selection-search`]:{marginInlineStart:0},[`${ye}-selection-placeholder`]:{insetInlineStart:0}},[`${Se}-item-suffix`]:{minHeight:Ee.itemHeight,marginBlock:Re},[`${ye}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(ve).equal(),"\n &-input,\n &-mirror\n ":{height:Ie,fontFamily:oe.fontFamily,lineHeight:(0,x.unit)(Ie),transition:`all ${oe.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${ye}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(Ee.basePadding).equal(),insetInlineEnd:oe.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${oe.motionDurationSlow}`}})}};function fe(oe,Pe){const{componentCls:ye}=oe,Re=Pe?`${ye}-${Pe}`:"",Se={[`${ye}-multiple${Re}`]:{fontSize:oe.fontSize,[`${ye}-selector`]:{[`${ye}-show-search&`]:{cursor:"text"}},[` + &${ye}-show-arrow ${ye}-selector, + &${ye}-allow-clear ${ye}-selector + `]:{paddingInlineEnd:oe.calc(oe.fontSizeIcon).add(oe.controlPaddingHorizontal).equal()}}};return[Me(oe,Pe),Se]}const xe=oe=>{const{componentCls:Pe}=oe,ye=(0,Le.mergeToken)(oe,{selectHeight:oe.controlHeightSM,multipleSelectItemHeight:oe.multipleItemHeightSM,borderRadius:oe.borderRadiusSM,borderRadiusSM:oe.borderRadiusXS}),Re=(0,Le.mergeToken)(oe,{fontSize:oe.fontSizeLG,selectHeight:oe.controlHeightLG,multipleSelectItemHeight:oe.multipleItemHeightLG,borderRadius:oe.borderRadiusLG,borderRadiusSM:oe.borderRadius});return[fe(oe),fe(ye,"sm"),{[`${Pe}-multiple${Pe}-sm`]:{[`${Pe}-selection-placeholder`]:{insetInline:oe.calc(oe.controlPaddingHorizontalSM).sub(oe.lineWidth).equal()},[`${Pe}-selection-search`]:{marginInlineStart:2}}},fe(Re,"lg")]};Mt.ZP=xe},68525:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(59301),dt=ae(40001),Le=ae(19248),qe=ae(99267),He=ae(84105),Fe=ae(58617),Me=ae(47472);function fe(xe){let{suffixIcon:oe,clearIcon:Pe,menuItemSelectedIcon:ye,removeIcon:Re,loading:Se,multiple:Ie,hasFeedback:ve,prefixCls:we,showSuffixIcon:Ee,feedbackIcon:Oe,showArrow:Ke,componentName:je}=xe;const _e=Pe!=null?Pe:x.createElement(Le.Z,null),Je=ht=>oe===null&&!ve&&!Ke?null:x.createElement(x.Fragment,null,Ee!==!1&&ht,ve&&Oe);let Ve=null;if(oe!==void 0)Ve=Je(oe);else if(Se)Ve=Je(x.createElement(Fe.Z,{spin:!0}));else{const ht=`${we}-suffix`;Ve=Ct=>{let{open:ze,showSearch:pt}=Ct;return Je(ze&&pt?x.createElement(Me.Z,{className:ht}):x.createElement(He.Z,{className:ht}))}}let st=null;ye!==void 0?st=ye:Ie?st=x.createElement(dt.Z,null):st=null;let at=null;return Re!==void 0?at=Re:at=x.createElement(qe.Z,null),{clearIcon:_e,suffixIcon:Ve,itemIcon:st,removeIcon:at}}},90005:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return x}});function x(dt,Le){return Le!==void 0?Le:dt!==null}},11938:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return Ct}});var x=ae(59301),dt=ae(40192),Le=ae(22703),qe=ae(92310),He=ae.n(qe),Fe=ae(26112),Me=ae(48755),fe=ae(458),oe=ze=>{const{value:pt,formatter:Ne,precision:Qe,decimalSeparator:Ot,groupSeparator:ot="",prefixCls:lt}=ze;let Bt;if(typeof Ne=="function")Bt=Ne(pt);else{const We=String(pt),ke=We.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ke||We==="-")Bt=We;else{const At=ke[1];let Kt=ke[2]||"0",Ht=ke[4]||"";Kt=Kt.replace(/\B(?=(\d{3})+(?!\d))/g,ot),typeof Qe=="number"&&(Ht=Ht.padEnd(Qe,"0").slice(0,Qe>0?Qe:0)),Ht&&(Ht=`${Ot}${Ht}`),Bt=[x.createElement("span",{key:"int",className:`${lt}-content-value-int`},At,Kt),Ht&&x.createElement("span",{key:"decimal",className:`${lt}-content-value-decimal`},Ht)]}}return x.createElement("span",{className:`${lt}-content-value`},Bt)},Pe=ae(63356),ye=ae(16931),Re=ae(51636);const Se=ze=>{const{componentCls:pt,marginXXS:Ne,padding:Qe,colorTextDescription:Ot,titleFontSize:ot,colorTextHeading:lt,contentFontSize:Bt,fontFamily:We}=ze;return{[pt]:Object.assign(Object.assign({},(0,Pe.Wf)(ze)),{[`${pt}-title`]:{marginBottom:Ne,color:Ot,fontSize:ot},[`${pt}-skeleton`]:{paddingTop:Qe},[`${pt}-content`]:{color:lt,fontSize:Bt,fontFamily:We,[`${pt}-content-value`]:{display:"inline-block",direction:"ltr"},[`${pt}-content-prefix, ${pt}-content-suffix`]:{display:"inline-block"},[`${pt}-content-prefix`]:{marginInlineEnd:Ne},[`${pt}-content-suffix`]:{marginInlineStart:Ne}}})}},Ie=ze=>{const{fontSizeHeading3:pt,fontSize:Ne}=ze;return{titleFontSize:Ne,contentFontSize:pt}};var ve=(0,ye.I$)("Statistic",ze=>{const pt=(0,Re.mergeToken)(ze,{});return[Se(pt)]},Ie),we=function(ze,pt){var Ne={};for(var Qe in ze)Object.prototype.hasOwnProperty.call(ze,Qe)&&pt.indexOf(Qe)<0&&(Ne[Qe]=ze[Qe]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Qe=Object.getOwnPropertySymbols(ze);Ot{const{prefixCls:pt,className:Ne,rootClassName:Qe,style:Ot,valueStyle:ot,value:lt=0,title:Bt,valueRender:We,prefix:ke,suffix:At,loading:Kt=!1,formatter:Ht,precision:nt,decimalSeparator:Pt=".",groupSeparator:Rt=",",onMouseEnter:hn,onMouseLeave:Tt}=ze,mn=we(ze,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:kt,direction:Fn,className:an,style:de}=(0,Me.dj)("statistic"),ge=kt("statistic",pt),[ie,ee,se]=ve(ge),le=x.createElement(oe,{decimalSeparator:Pt,groupSeparator:Rt,prefixCls:ge,formatter:Ht,precision:nt,value:lt}),Be=He()(ge,{[`${ge}-rtl`]:Fn==="rtl"},an,Ne,Qe,ee,se),Ge=(0,Fe.Z)(mn,{aria:!0,data:!0});return ie(x.createElement("div",Object.assign({},Ge,{className:Be,style:Object.assign(Object.assign({},de),Ot),onMouseEnter:hn,onMouseLeave:Tt}),Bt&&x.createElement("div",{className:`${ge}-title`},Bt),x.createElement(fe.Z,{paragraph:!1,loading:Kt,className:`${ge}-skeleton`},x.createElement("div",{style:ot,className:`${ge}-content`},ke&&x.createElement("span",{className:`${ge}-content-prefix`},ke),We?We(le):le,At&&x.createElement("span",{className:`${ge}-content-suffix`},At)))))};const Ke=[["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 je(ze,pt){let Ne=ze;const Qe=/\[[^\]]*]/g,Ot=(pt.match(Qe)||[]).map(We=>We.slice(1,-1)),ot=pt.replace(Qe,"[]"),lt=Ke.reduce((We,ke)=>{let[At,Kt]=ke;if(We.includes(At)){const Ht=Math.floor(Ne/Kt);return Ne-=Ht*Kt,We.replace(new RegExp(`${At}+`,"g"),nt=>{const Pt=nt.length;return Ht.toString().padStart(Pt,"0")})}return We},ot);let Bt=0;return lt.replace(Qe,()=>{const We=Ot[Bt];return Bt+=1,We})}function _e(ze,pt){const{format:Ne=""}=pt,Qe=new Date(ze).getTime(),Ot=Date.now(),ot=Math.max(Qe-Ot,0);return je(ot,Ne)}var Je=function(ze,pt){var Ne={};for(var Qe in ze)Object.prototype.hasOwnProperty.call(ze,Qe)&&pt.indexOf(Qe)<0&&(Ne[Qe]=ze[Qe]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Qe=Object.getOwnPropertySymbols(ze);Ot{const{value:pt,format:Ne="HH:mm:ss",onChange:Qe,onFinish:Ot}=ze,ot=Je(ze,["value","format","onChange","onFinish"]),lt=(0,dt.Z)(),Bt=x.useRef(null),We=()=>{Ot==null||Ot(),Bt.current&&(clearInterval(Bt.current),Bt.current=null)},ke=()=>{const Ht=st(pt);Ht>=Date.now()&&(Bt.current=setInterval(()=>{lt(),Qe==null||Qe(Ht-Date.now()),Ht(ke(),()=>{Bt.current&&(clearInterval(Bt.current),Bt.current=null)}),[pt]);const At=(Ht,nt)=>_e(Ht,Object.assign(Object.assign({},nt),{format:Ne})),Kt=Ht=>(0,Le.Tm)(Ht,{title:void 0});return x.createElement(Oe,Object.assign({},ot,{value:pt,valueRender:Kt,formatter:At}))};var ht=x.memo(at);Oe.Countdown=ht;var Ct=Oe},58755:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ot}});var x=ae(59301),dt=ae(58617),Le=ae(92310),qe=ae.n(Le),He=ae(60499),Fe=ae(18642),Me=ae(72190),fe=ae(42244),xe=ae(18929),oe=ae(10228),Pe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ye=x.forwardRef(function(ot,lt){var Bt,We=ot.prefixCls,ke=We===void 0?"rc-switch":We,At=ot.className,Kt=ot.checked,Ht=ot.defaultChecked,nt=ot.disabled,Pt=ot.loadingIcon,Rt=ot.checkedChildren,hn=ot.unCheckedChildren,Tt=ot.onClick,mn=ot.onChange,kt=ot.onKeyDown,Fn=(0,fe.Z)(ot,Pe),an=(0,xe.Z)(!1,{value:Kt,defaultValue:Ht}),de=(0,Me.Z)(an,2),ge=de[0],ie=de[1];function ee(Ge,ut){var mt=ge;return nt||(mt=Ge,ie(mt),mn==null||mn(mt,ut)),mt}function se(Ge){Ge.which===oe.Z.LEFT?ee(!1,Ge):Ge.which===oe.Z.RIGHT&&ee(!0,Ge),kt==null||kt(Ge)}function le(Ge){var ut=ee(!ge,Ge);Tt==null||Tt(ut,Ge)}var Be=qe()(ke,At,(Bt={},(0,Fe.Z)(Bt,"".concat(ke,"-checked"),ge),(0,Fe.Z)(Bt,"".concat(ke,"-disabled"),nt),Bt));return x.createElement("button",(0,He.Z)({},Fn,{type:"button",role:"switch","aria-checked":ge,disabled:nt,className:Be,ref:lt,onKeyDown:se,onClick:le}),Pt,x.createElement("span",{className:"".concat(ke,"-inner")},x.createElement("span",{className:"".concat(ke,"-inner-checked")},Rt),x.createElement("span",{className:"".concat(ke,"-inner-unchecked")},hn)))});ye.displayName="Switch";var Re=ye,Se=ae(12919),Ie=ae(48755),ve=ae(2171),we=ae(31756),Ee=ae(36237),Oe=ae(17835),Ke=ae(63356),je=ae(16931),_e=ae(51636);const Je=ot=>{const{componentCls:lt,trackHeightSM:Bt,trackPadding:We,trackMinWidthSM:ke,innerMinMarginSM:At,innerMaxMarginSM:Kt,handleSizeSM:Ht,calc:nt}=ot,Pt=`${lt}-inner`,Rt=(0,Ee.unit)(nt(Ht).add(nt(We).mul(2)).equal()),hn=(0,Ee.unit)(nt(Kt).mul(2).equal());return{[lt]:{[`&${lt}-small`]:{minWidth:ke,height:Bt,lineHeight:(0,Ee.unit)(Bt),[`${lt}-inner`]:{paddingInlineStart:Kt,paddingInlineEnd:At,[`${Pt}-checked, ${Pt}-unchecked`]:{minHeight:Bt},[`${Pt}-checked`]:{marginInlineStart:`calc(-100% + ${Rt} - ${hn})`,marginInlineEnd:`calc(100% - ${Rt} + ${hn})`},[`${Pt}-unchecked`]:{marginTop:nt(Bt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${lt}-handle`]:{width:Ht,height:Ht},[`${lt}-loading-icon`]:{top:nt(nt(Ht).sub(ot.switchLoadingIconSize)).div(2).equal(),fontSize:ot.switchLoadingIconSize},[`&${lt}-checked`]:{[`${lt}-inner`]:{paddingInlineStart:At,paddingInlineEnd:Kt,[`${Pt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Pt}-unchecked`]:{marginInlineStart:`calc(100% - ${Rt} + ${hn})`,marginInlineEnd:`calc(-100% + ${Rt} - ${hn})`}},[`${lt}-handle`]:{insetInlineStart:`calc(100% - ${(0,Ee.unit)(nt(Ht).add(We).equal())})`}},[`&:not(${lt}-disabled):active`]:{[`&:not(${lt}-checked) ${Pt}`]:{[`${Pt}-unchecked`]:{marginInlineStart:nt(ot.marginXXS).div(2).equal(),marginInlineEnd:nt(ot.marginXXS).mul(-1).div(2).equal()}},[`&${lt}-checked ${Pt}`]:{[`${Pt}-checked`]:{marginInlineStart:nt(ot.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:nt(ot.marginXXS).div(2).equal()}}}}}}},Ve=ot=>{const{componentCls:lt,handleSize:Bt,calc:We}=ot;return{[lt]:{[`${lt}-loading-icon${ot.iconCls}`]:{position:"relative",top:We(We(Bt).sub(ot.fontSize)).div(2).equal(),color:ot.switchLoadingIconColor,verticalAlign:"top"},[`&${lt}-checked ${lt}-loading-icon`]:{color:ot.switchColor}}}},st=ot=>{const{componentCls:lt,trackPadding:Bt,handleBg:We,handleShadow:ke,handleSize:At,calc:Kt}=ot,Ht=`${lt}-handle`;return{[lt]:{[Ht]:{position:"absolute",top:Bt,insetInlineStart:Bt,width:At,height:At,transition:`all ${ot.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:We,borderRadius:Kt(At).div(2).equal(),boxShadow:ke,transition:`all ${ot.switchDuration} ease-in-out`,content:'""'}},[`&${lt}-checked ${Ht}`]:{insetInlineStart:`calc(100% - ${(0,Ee.unit)(Kt(At).add(Bt).equal())})`},[`&:not(${lt}-disabled):active`]:{[`${Ht}::before`]:{insetInlineEnd:ot.switchHandleActiveInset,insetInlineStart:0},[`&${lt}-checked ${Ht}::before`]:{insetInlineEnd:0,insetInlineStart:ot.switchHandleActiveInset}}}}},at=ot=>{const{componentCls:lt,trackHeight:Bt,trackPadding:We,innerMinMargin:ke,innerMaxMargin:At,handleSize:Kt,calc:Ht}=ot,nt=`${lt}-inner`,Pt=(0,Ee.unit)(Ht(Kt).add(Ht(We).mul(2)).equal()),Rt=(0,Ee.unit)(Ht(At).mul(2).equal());return{[lt]:{[nt]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:At,paddingInlineEnd:ke,transition:`padding-inline-start ${ot.switchDuration} ease-in-out, padding-inline-end ${ot.switchDuration} ease-in-out`,[`${nt}-checked, ${nt}-unchecked`]:{display:"block",color:ot.colorTextLightSolid,fontSize:ot.fontSizeSM,transition:`margin-inline-start ${ot.switchDuration} ease-in-out, margin-inline-end ${ot.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Bt},[`${nt}-checked`]:{marginInlineStart:`calc(-100% + ${Pt} - ${Rt})`,marginInlineEnd:`calc(100% - ${Pt} + ${Rt})`},[`${nt}-unchecked`]:{marginTop:Ht(Bt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${lt}-checked ${nt}`]:{paddingInlineStart:ke,paddingInlineEnd:At,[`${nt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${nt}-unchecked`]:{marginInlineStart:`calc(100% - ${Pt} + ${Rt})`,marginInlineEnd:`calc(-100% + ${Pt} - ${Rt})`}},[`&:not(${lt}-disabled):active`]:{[`&:not(${lt}-checked) ${nt}`]:{[`${nt}-unchecked`]:{marginInlineStart:Ht(We).mul(2).equal(),marginInlineEnd:Ht(We).mul(-1).mul(2).equal()}},[`&${lt}-checked ${nt}`]:{[`${nt}-checked`]:{marginInlineStart:Ht(We).mul(-1).mul(2).equal(),marginInlineEnd:Ht(We).mul(2).equal()}}}}}},ht=ot=>{const{componentCls:lt,trackHeight:Bt,trackMinWidth:We}=ot;return{[lt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ke.Wf)(ot)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:We,height:Bt,lineHeight:(0,Ee.unit)(Bt),verticalAlign:"middle",background:ot.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${ot.motionDurationMid}`,userSelect:"none",[`&:hover:not(${lt}-disabled)`]:{background:ot.colorTextTertiary}}),(0,Ke.Qy)(ot)),{[`&${lt}-checked`]:{background:ot.switchColor,[`&:hover:not(${lt}-disabled)`]:{background:ot.colorPrimaryHover}},[`&${lt}-loading, &${lt}-disabled`]:{cursor:"not-allowed",opacity:ot.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${lt}-rtl`]:{direction:"rtl"}})}},Ct=ot=>{const{fontSize:lt,lineHeight:Bt,controlHeight:We,colorWhite:ke}=ot,At=lt*Bt,Kt=We/2,Ht=2,nt=At-Ht*2,Pt=Kt-Ht*2;return{trackHeight:At,trackHeightSM:Kt,trackMinWidth:nt*2+Ht*4,trackMinWidthSM:Pt*2+Ht*2,trackPadding:Ht,handleBg:ke,handleSize:nt,handleSizeSM:Pt,handleShadow:`0 2px 4px 0 ${new Oe.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:nt/2,innerMaxMargin:nt+Ht+Ht*2,innerMinMarginSM:Pt/2,innerMaxMarginSM:Pt+Ht+Ht*2}};var ze=(0,je.I$)("Switch",ot=>{const lt=(0,_e.mergeToken)(ot,{switchDuration:ot.motionDurationMid,switchColor:ot.colorPrimary,switchDisabledOpacity:ot.opacityLoading,switchLoadingIconSize:ot.calc(ot.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${ot.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ht(lt),at(lt),st(lt),Ve(lt),Je(lt)]},Ct),pt=function(ot,lt){var Bt={};for(var We in ot)Object.prototype.hasOwnProperty.call(ot,We)&<.indexOf(We)<0&&(Bt[We]=ot[We]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,We=Object.getOwnPropertySymbols(ot);ke{const{prefixCls:Bt,size:We,disabled:ke,loading:At,className:Kt,rootClassName:Ht,style:nt,checked:Pt,value:Rt,defaultChecked:hn,defaultValue:Tt,onChange:mn}=ot,kt=pt(ot,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[Fn,an]=(0,xe.Z)(!1,{value:Pt!=null?Pt:Rt,defaultValue:hn!=null?hn:Tt}),{getPrefixCls:de,direction:ge,switch:ie}=x.useContext(Ie.E_),ee=x.useContext(ve.Z),se=(ke!=null?ke:ee)||At,le=de("switch",Bt),Be=x.createElement("div",{className:`${le}-handle`},At&&x.createElement(dt.Z,{className:`${le}-loading-icon`})),[Ge,ut,mt]=ze(le),vt=(0,we.Z)(We),St=qe()(ie==null?void 0:ie.className,{[`${le}-small`]:vt==="small",[`${le}-loading`]:At,[`${le}-rtl`]:ge==="rtl"},Kt,Ht,ut,mt),Dt=Object.assign(Object.assign({},ie==null?void 0:ie.style),nt),Qt=function(){an(arguments.length<=0?void 0:arguments[0]),mn==null||mn.apply(void 0,arguments)};return Ge(x.createElement(Se.Z,{component:"Switch"},x.createElement(Re,Object.assign({},kt,{checked:Fn,onChange:Qt,prefixCls:le,className:St,style:Dt,disabled:se,ref:lt,loadingIcon:Be}))))});Qe.__ANT_SWITCH=!0;var Ot=Qe},70858:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return hp}});var x=ae(59301),dt={},Le="rc-table-internal-hook",qe=ae(72190),He=ae(6089),Fe=ae(34280),Me=ae(13697),fe=ae(4676);function xe(bt){var wt=x.createContext(void 0),Yt=function(In){var Un=In.value,tr=In.children,Jn=x.useRef(Un);Jn.current=Un;var mr=x.useState(function(){return{getValue:function(){return Jn.current},listeners:new Set}}),cr=(0,qe.Z)(mr,1),ii=cr[0];return(0,Fe.Z)(function(){(0,fe.unstable_batchedUpdates)(function(){ii.listeners.forEach(function(Mr){Mr(Un)})})},[Un]),x.createElement(wt.Provider,{value:ii},tr)};return{Context:wt,Provider:Yt,defaultValue:bt}}function oe(bt,wt){var Yt=(0,He.Z)(typeof wt=="function"?wt:function(Mr){if(wt===void 0)return Mr;if(!Array.isArray(wt))return Mr[wt];var Ur={};return wt.forEach(function(Lr){Ur[Lr]=Mr[Lr]}),Ur}),dn=x.useContext(bt==null?void 0:bt.Context),In=dn||{},Un=In.listeners,tr=In.getValue,Jn=x.useRef();Jn.current=Yt(dn?tr():bt==null?void 0:bt.defaultValue);var mr=x.useState({}),cr=(0,qe.Z)(mr,2),ii=cr[1];return(0,Fe.Z)(function(){if(!dn)return;function Mr(Ur){var Lr=Yt(Ur);(0,Me.Z)(Jn.current,Lr,!0)||ii({})}return Un.add(Mr),function(){Un.delete(Mr)}},[dn]),Jn.current}var Pe=ae(60499),ye=ae(8654);function Re(){var bt=x.createContext(null);function wt(){return x.useContext(bt)}function Yt(In,Un){var tr=(0,ye.Yr)(In),Jn=function(cr,ii){var Mr=tr?{ref:ii}:{},Ur=x.useRef(0),Lr=x.useRef(cr),Sr=wt();return Sr!==null?x.createElement(In,(0,Pe.Z)({},cr,Mr)):((!Un||Un(Lr.current,cr))&&(Ur.current+=1),Lr.current=cr,x.createElement(bt.Provider,{value:Ur.current},x.createElement(In,(0,Pe.Z)({},cr,Mr))))};return tr?x.forwardRef(Jn):Jn}function dn(In,Un){var tr=(0,ye.Yr)(In),Jn=function(cr,ii){var Mr=tr?{ref:ii}:{};return wt(),x.createElement(In,(0,Pe.Z)({},cr,Mr))};return tr?x.memo(x.forwardRef(Jn),Un):x.memo(Jn,Un)}return{makeImmutable:Yt,responseImmutable:dn,useImmutableMark:wt}}var Se=Re(),Ie=Se.makeImmutable,ve=Se.responseImmutable,we=Se.useImmutableMark,Ee=Re(),Oe=Ee.makeImmutable,Ke=Ee.responseImmutable,je=Ee.useImmutableMark,_e=xe(),Je=_e;function Ve(bt,wt){var Yt=React.useRef(0);Yt.current+=1;var dn=React.useRef(bt),In=[];Object.keys(bt||{}).map(function(tr){var Jn;(bt==null?void 0:bt[tr])!==((Jn=dn.current)===null||Jn===void 0?void 0:Jn[tr])&&In.push(tr)}),dn.current=bt;var Un=React.useRef([]);return In.length&&(Un.current=In),React.useDebugValue(Yt.current),React.useDebugValue(Un.current.join(", ")),wt&&console.log("".concat(wt,":"),Yt.current,Un.current),Yt.current}var st=null,at=null,ht=ae(43749),Ct=ae(85899),ze=ae(18642),pt=ae(92310),Ne=ae.n(pt),Qe=ae(80547),Ot=ae(97938),ot=ae(48736),lt=x.createContext({renderWithProps:!1}),Bt=lt,We="RC_TABLE_KEY";function ke(bt){return bt==null?[]:Array.isArray(bt)?bt:[bt]}function At(bt){var wt=[],Yt={};return bt.forEach(function(dn){for(var In=dn||{},Un=In.key,tr=In.dataIndex,Jn=Un||ke(tr).join("-")||We;Yt[Jn];)Jn="".concat(Jn,"_next");Yt[Jn]=!0,wt.push(Jn)}),wt}function Kt(bt){return bt!=null}function Ht(bt){return typeof bt=="number"&&!Number.isNaN(bt)}function nt(bt){return bt&&(0,ht.Z)(bt)==="object"&&!Array.isArray(bt)&&!x.isValidElement(bt)}function Pt(bt,wt,Yt,dn,In,Un){var tr=x.useContext(Bt),Jn=je(),mr=(0,Qe.Z)(function(){if(Kt(dn))return[dn];var cr=wt==null||wt===""?[]:Array.isArray(wt)?wt:[wt],ii=(0,Ot.Z)(bt,cr),Mr=ii,Ur=void 0;if(In){var Lr=In(ii,bt,Yt);nt(Lr)?(Mr=Lr.children,Ur=Lr.props,tr.renderWithProps=!0):Mr=Lr}return[Mr,Ur]},[Jn,bt,dn,wt,In,Yt],function(cr,ii){if(Un){var Mr=(0,qe.Z)(cr,2),Ur=Mr[1],Lr=(0,qe.Z)(ii,2),Sr=Lr[1];return Un(Sr,Ur)}return tr.renderWithProps?!0:!(0,Me.Z)(cr,ii,!0)});return mr}function Rt(bt,wt,Yt,dn){var In=bt+wt-1;return bt<=dn&&In>=Yt}function hn(bt,wt){return oe(Je,function(Yt){var dn=Rt(bt,wt||1,Yt.hoverStartRow,Yt.hoverEndRow);return[dn,Yt.onHover]})}var Tt=ae(70425),mn=function(wt){var Yt=wt.ellipsis,dn=wt.rowType,In=wt.children,Un,tr=Yt===!0?{showTitle:!0}:Yt;return tr&&(tr.showTitle||dn==="header")&&(typeof In=="string"||typeof In=="number"?Un=In.toString():x.isValidElement(In)&&typeof In.props.children=="string"&&(Un=In.props.children)),Un};function kt(bt){var wt,Yt,dn,In,Un,tr,Jn,mr,cr=bt.component,ii=bt.children,Mr=bt.ellipsis,Ur=bt.scope,Lr=bt.prefixCls,Sr=bt.className,Wi=bt.align,mi=bt.record,eo=bt.render,co=bt.dataIndex,qi=bt.renderIndex,po=bt.shouldCellUpdate,Io=bt.index,jo=bt.rowType,Uo=bt.colSpan,Da=bt.rowSpan,oa=bt.fixLeft,ta=bt.fixRight,Zo=bt.firstFixLeft,Ho=bt.lastFixLeft,Ko=bt.firstFixRight,yo=bt.lastFixRight,ho=bt.appendNode,_o=bt.additionalProps,Xo=_o===void 0?{}:_o,na=bt.isSticky,bo="".concat(Lr,"-cell"),rs=oe(Je,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Va=rs.supportSticky,kl=rs.allColumnsFixedLeft,xl=rs.rowHoverable,al=Pt(mi,co,qi,ii,eo,po),Ao=(0,qe.Z)(al,2),Vl=Ao[0],ds=Ao[1],us={},nl=typeof oa=="number"&&Va,uu=typeof ta=="number"&&Va;nl&&(us.position="sticky",us.left=oa),uu&&(us.position="sticky",us.right=ta);var ra=(wt=(Yt=(dn=ds==null?void 0:ds.colSpan)!==null&&dn!==void 0?dn:Xo.colSpan)!==null&&Yt!==void 0?Yt:Uo)!==null&&wt!==void 0?wt:1,Ca=(In=(Un=(tr=ds==null?void 0:ds.rowSpan)!==null&&tr!==void 0?tr:Xo.rowSpan)!==null&&Un!==void 0?Un:Da)!==null&&In!==void 0?In:1,Yo=hn(Io,Ca),To=(0,qe.Z)(Yo,2),vs=To[0],Os=To[1],Gs=(0,Tt.zX)(function(Js){var Xs;mi&&Os(Io,Io+Ca-1),Xo==null||(Xs=Xo.onMouseEnter)===null||Xs===void 0||Xs.call(Xo,Js)}),Ks=(0,Tt.zX)(function(Js){var Xs;mi&&Os(-1,-1),Xo==null||(Xs=Xo.onMouseLeave)===null||Xs===void 0||Xs.call(Xo,Js)});if(ra===0||Ca===0)return null;var sl=(Jn=Xo.title)!==null&&Jn!==void 0?Jn:mn({rowType:jo,ellipsis:Mr,children:Vl}),hu=Ne()(bo,Sr,(mr={},(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)(mr,"".concat(bo,"-fix-left"),nl&&Va),"".concat(bo,"-fix-left-first"),Zo&&Va),"".concat(bo,"-fix-left-last"),Ho&&Va),"".concat(bo,"-fix-left-all"),Ho&&kl&&Va),"".concat(bo,"-fix-right"),uu&&Va),"".concat(bo,"-fix-right-first"),Ko&&Va),"".concat(bo,"-fix-right-last"),yo&&Va),"".concat(bo,"-ellipsis"),Mr),"".concat(bo,"-with-append"),ho),"".concat(bo,"-fix-sticky"),(nl||uu)&&na&&Va),(0,ze.Z)(mr,"".concat(bo,"-row-hover"),!ds&&vs)),Xo.className,ds==null?void 0:ds.className),aa={};Wi&&(aa.textAlign=Wi);var ea=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},ds==null?void 0:ds.style),us),aa),Xo.style),Is=Vl;return(0,ht.Z)(Is)==="object"&&!Array.isArray(Is)&&!x.isValidElement(Is)&&(Is=null),Mr&&(Ho||Ko)&&(Is=x.createElement("span",{className:"".concat(bo,"-content")},Is)),x.createElement(cr,(0,Pe.Z)({},ds,Xo,{className:hu,style:ea,title:sl,scope:Ur,onMouseEnter:xl?Gs:void 0,onMouseLeave:xl?Ks:void 0,colSpan:ra!==1?ra:null,rowSpan:Ca!==1?Ca:null}),ho,Is)}var Fn=x.memo(kt);function an(bt,wt,Yt,dn,In){var Un=Yt[bt]||{},tr=Yt[wt]||{},Jn,mr;Un.fixed==="left"?Jn=dn.left[In==="rtl"?wt:bt]:tr.fixed==="right"&&(mr=dn.right[In==="rtl"?bt:wt]);var cr=!1,ii=!1,Mr=!1,Ur=!1,Lr=Yt[wt+1],Sr=Yt[bt-1],Wi=Lr&&!Lr.fixed||Sr&&!Sr.fixed||Yt.every(function(po){return po.fixed==="left"});if(In==="rtl"){if(Jn!==void 0){var mi=Sr&&Sr.fixed==="left";Ur=!mi&&Wi}else if(mr!==void 0){var eo=Lr&&Lr.fixed==="right";Mr=!eo&&Wi}}else if(Jn!==void 0){var co=Lr&&Lr.fixed==="left";cr=!co&&Wi}else if(mr!==void 0){var qi=Sr&&Sr.fixed==="right";ii=!qi&&Wi}return{fixLeft:Jn,fixRight:mr,lastFixLeft:cr,firstFixRight:ii,lastFixRight:Mr,firstFixLeft:Ur,isSticky:dn.isSticky}}var de=x.createContext({}),ge=de;function ie(bt){var wt=bt.className,Yt=bt.index,dn=bt.children,In=bt.colSpan,Un=In===void 0?1:In,tr=bt.rowSpan,Jn=bt.align,mr=oe(Je,["prefixCls","direction"]),cr=mr.prefixCls,ii=mr.direction,Mr=x.useContext(ge),Ur=Mr.scrollColumnIndex,Lr=Mr.stickyOffsets,Sr=Mr.flattenColumns,Wi=Yt+Un-1,mi=Wi+1===Ur?Un+1:Un,eo=an(Yt,Yt+mi-1,Sr,Lr,ii);return x.createElement(Fn,(0,Pe.Z)({className:wt,index:Yt,component:"td",prefixCls:cr,record:null,dataIndex:null,align:Jn,colSpan:mi,rowSpan:tr,render:function(){return dn}},eo))}var ee=ae(42244),se=["children"];function le(bt){var wt=bt.children,Yt=(0,ee.Z)(bt,se);return x.createElement("tr",Yt,wt)}function Be(bt){var wt=bt.children;return wt}Be.Row=le,Be.Cell=ie;var Ge=Be;function ut(bt){var wt=bt.children,Yt=bt.stickyOffsets,dn=bt.flattenColumns,In=oe(Je,"prefixCls"),Un=dn.length-1,tr=dn[Un],Jn=x.useMemo(function(){return{stickyOffsets:Yt,flattenColumns:dn,scrollColumnIndex:tr!=null&&tr.scrollbar?Un:null}},[tr,dn,Un,Yt]);return x.createElement(ge.Provider,{value:Jn},x.createElement("tfoot",{className:"".concat(In,"-summary")},wt))}var mt=Ke(ut),vt=Ge,St=ae(29301),Dt=ae(24514),Qt=ae(75152),xt=ae(26112);function ct(bt,wt,Yt,dn,In,Un,tr){bt.push({record:wt,indent:Yt,index:tr});var Jn=Un(wt),mr=In==null?void 0:In.has(Jn);if(wt&&Array.isArray(wt[dn])&&mr)for(var cr=0;cr1?Zo-1:0),Ko=1;Ko=1)),style:(0,Ct.Z)((0,Ct.Z)({},Yt),eo==null?void 0:eo.style)}),Sr.map(function(oa,ta){var Zo=oa.render,Ho=oa.dataIndex,Ko=oa.className,yo=_t(Ur,oa,ta,mr,In),ho=yo.key,_o=yo.fixedInfo,Xo=yo.appendCellNode,na=yo.additionalCellProps;return x.createElement(Fn,(0,Pe.Z)({className:Ko,ellipsis:oa.ellipsis,align:oa.align,scope:oa.rowScope,component:oa.rowScope?Mr:ii,prefixCls:Lr,key:ho,record:dn,index:In,renderIndex:Un,dataIndex:Ho,render:Zo,shouldCellUpdate:oa.shouldCellUpdate},_o,{appendNode:Xo,additionalProps:na}))})),Uo;if(qi&&(po.current||co)){var Da=mi(dn,In,mr+1,co);Uo=x.createElement(ln,{expanded:co,className:Ne()("".concat(Lr,"-expanded-row"),"".concat(Lr,"-expanded-row-level-").concat(mr+1),Io),prefixCls:Lr,component:cr,cellComponent:ii,colSpan:Sr.length,isEmpty:!1},Da)}return x.createElement(x.Fragment,null,jo,Uo)}var Pn=Ke(un);function Vn(bt){var wt=bt.columnKey,Yt=bt.onColumnResize,dn=x.useRef();return(0,Fe.Z)(function(){dn.current&&Yt(wt,dn.current.offsetWidth)},[]),x.createElement(St.Z,{data:wt},x.createElement("td",{ref:dn,style:{padding:0,border:0,height:0}},x.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Lt=ae(29194);function Gt(bt){var wt=bt.prefixCls,Yt=bt.columnsKey,dn=bt.onColumnResize,In=x.useRef(null);return x.createElement("tr",{"aria-hidden":"true",className:"".concat(wt,"-measure-row"),style:{height:0,fontSize:0},ref:In},x.createElement(St.Z.Collection,{onBatchResize:function(tr){(0,Lt.Z)(In.current)&&tr.forEach(function(Jn){var mr=Jn.data,cr=Jn.size;dn(mr,cr.offsetWidth)})}},Yt.map(function(Un){return x.createElement(Vn,{key:Un,columnKey:Un,onColumnResize:dn})})))}function sn(bt){var wt=bt.data,Yt=bt.measureColumnWidth,dn=oe(Je,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),In=dn.prefixCls,Un=dn.getComponent,tr=dn.onColumnResize,Jn=dn.flattenColumns,mr=dn.getRowKey,cr=dn.expandedKeys,ii=dn.childrenColumnName,Mr=dn.emptyNode,Ur=Xt(wt,ii,cr,mr),Lr=x.useRef({renderWithProps:!1}),Sr=Un(["body","wrapper"],"tbody"),Wi=Un(["body","row"],"tr"),mi=Un(["body","cell"],"td"),eo=Un(["body","cell"],"th"),co;wt.length?co=Ur.map(function(po,Io){var jo=po.record,Uo=po.indent,Da=po.index,oa=mr(jo,Io);return x.createElement(Pn,{key:oa,rowKey:oa,record:jo,index:Io,renderIndex:Da,rowComponent:Wi,cellComponent:mi,scopeCellComponent:eo,indent:Uo})}):co=x.createElement(ln,{expanded:!0,className:"".concat(In,"-placeholder"),prefixCls:In,component:Wi,cellComponent:mi,colSpan:Jn.length,isEmpty:!0},Mr);var qi=At(Jn);return x.createElement(Bt.Provider,{value:Lr.current},x.createElement(Sr,{className:"".concat(In,"-tbody")},Yt&&x.createElement(Gt,{prefixCls:In,columnsKey:qi,onColumnResize:tr}),co))}var bn=Ke(sn),Yn=["expandable"],pr="RC_TABLE_INTERNAL_COL_DEFINE";function ti(bt){var wt=bt.expandable,Yt=(0,ee.Z)(bt,Yn),dn;return"expandable"in bt?dn=(0,Ct.Z)((0,Ct.Z)({},Yt),wt):dn=Yt,dn.showExpandColumn===!1&&(dn.expandIconColumnIndex=-1),dn}var si=["columnType"];function Cr(bt){for(var wt=bt.colWidths,Yt=bt.columns,dn=bt.columCount,In=oe(Je,["tableLayout"]),Un=In.tableLayout,tr=[],Jn=dn||Yt.length,mr=!1,cr=Jn-1;cr>=0;cr-=1){var ii=wt[cr],Mr=Yt&&Yt[cr],Ur=void 0,Lr=void 0;if(Mr&&(Ur=Mr[pr],Un==="auto"&&(Lr=Mr.minWidth)),ii||Lr||Ur||mr){var Sr=Ur||{},Wi=Sr.columnType,mi=(0,ee.Z)(Sr,si);tr.unshift(x.createElement("col",(0,Pe.Z)({key:cr,style:{width:ii,minWidth:Lr}},mi))),mr=!0}}return x.createElement("colgroup",null,tr)}var ur=Cr,dr=ae(77654),yn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function $n(bt,wt){return(0,x.useMemo)(function(){for(var Yt=[],dn=0;dn1?"colgroup":"col":null,ellipsis:mi.ellipsis,align:mi.align,component:tr,prefixCls:ii,key:Lr[Wi]},eo,{additionalProps:co,rowType:"header"}))}))},Br=br;function Or(bt){var wt=[];function Yt(tr,Jn){var mr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;wt[mr]=wt[mr]||[];var cr=Jn,ii=tr.filter(Boolean).map(function(Mr){var Ur={key:Mr.key,className:Mr.className||"",children:Mr.title,column:Mr,colStart:cr},Lr=1,Sr=Mr.children;return Sr&&Sr.length>0&&(Lr=Yt(Sr,cr,mr+1).reduce(function(Wi,mi){return Wi+mi},0),Ur.hasSubColumns=!0),"colSpan"in Mr&&(Lr=Mr.colSpan),"rowSpan"in Mr&&(Ur.rowSpan=Mr.rowSpan),Ur.colSpan=Lr,Ur.colEnd=Ur.colStart+Lr-1,wt[mr].push(Ur),cr+=Lr,Lr});return ii}Yt(bt,0);for(var dn=wt.length,In=function(Jn){wt[Jn].forEach(function(mr){!("rowSpan"in mr)&&!mr.hasSubColumns&&(mr.rowSpan=dn-Jn)})},Un=0;Un1&&arguments[1]!==void 0?arguments[1]:"";return typeof wt=="number"?wt:wt.endsWith("%")?bt*parseFloat(wt)/100:null}function yi(bt,wt,Yt){return x.useMemo(function(){if(wt&&wt>0){var dn=0,In=0;bt.forEach(function(Ur){var Lr=Pi(wt,Ur.width);Lr?dn+=Lr:In+=1});var Un=Math.max(wt,Yt),tr=Math.max(Un-dn,In),Jn=In,mr=tr/In,cr=0,ii=bt.map(function(Ur){var Lr=(0,Ct.Z)({},Ur),Sr=Pi(wt,Lr.width);if(Sr)Lr.width=Sr;else{var Wi=Math.floor(mr);Lr.width=Jn===1?tr:Wi,tr-=Wi,Jn-=1}return cr+=Lr.width,Lr});if(cr0?(0,Ct.Z)((0,Ct.Z)({},wt),{},{children:Dr(Yt)}):wt})}function gi(bt){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return bt.filter(function(Yt){return Yt&&(0,ht.Z)(Yt)==="object"}).reduce(function(Yt,dn,In){var Un=dn.fixed,tr=Un===!0?"left":Un,Jn="".concat(wt,"-").concat(In),mr=dn.children;return mr&&mr.length>0?[].concat((0,dr.Z)(Yt),(0,dr.Z)(gi(mr,Jn).map(function(cr){return(0,Ct.Z)({fixed:tr},cr)}))):[].concat((0,dr.Z)(Yt),[(0,Ct.Z)((0,Ct.Z)({key:Jn},dn),{},{fixed:tr})])},[])}function ni(bt){return bt.map(function(wt){var Yt=wt.fixed,dn=(0,ee.Z)(wt,Gi),In=Yt;return Yt==="left"?In="right":Yt==="right"&&(In="left"),(0,Ct.Z)({fixed:In},dn)})}function An(bt,wt){var Yt=bt.prefixCls,dn=bt.columns,In=bt.children,Un=bt.expandable,tr=bt.expandedKeys,Jn=bt.columnTitle,mr=bt.getRowKey,cr=bt.onTriggerExpand,ii=bt.expandIcon,Mr=bt.rowExpandable,Ur=bt.expandIconColumnIndex,Lr=bt.direction,Sr=bt.expandRowByClick,Wi=bt.columnWidth,mi=bt.fixed,eo=bt.scrollWidth,co=bt.clientWidth,qi=x.useMemo(function(){var Ho=dn||ar(In)||[];return Dr(Ho.slice())},[dn,In]),po=x.useMemo(function(){if(Un){var Ho=qi.slice();if(!Ho.includes(dt)){var Ko=Ur||0;Ko>=0&&(Ko||mi==="left"||!mi)&&Ho.splice(Ko,0,dt),mi==="right"&&Ho.splice(qi.length,0,dt)}var yo=Ho.indexOf(dt);Ho=Ho.filter(function(na,bo){return na!==dt||bo===yo});var ho=qi[yo],_o;mi?_o=mi:_o=ho?ho.fixed:null;var Xo=(0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)({},pr,{className:"".concat(Yt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Jn),"fixed",_o),"className","".concat(Yt,"-row-expand-icon-cell")),"width",Wi),"render",function(bo,rs,Va){var kl=mr(rs,Va),xl=tr.has(kl),al=Mr?Mr(rs):!0,Ao=ii({prefixCls:Yt,expanded:xl,expandable:al,record:rs,onExpand:cr});return Sr?x.createElement("span",{onClick:function(ds){return ds.stopPropagation()}},Ao):Ao});return Ho.map(function(na){return na===dt?Xo:na})}return qi.filter(function(na){return na!==dt})},[Un,qi,mr,tr,ii,Lr]),Io=x.useMemo(function(){var Ho=po;return wt&&(Ho=wt(Ho)),Ho.length||(Ho=[{render:function(){return null}}]),Ho},[wt,po,Lr]),jo=x.useMemo(function(){return Lr==="rtl"?ni(gi(Io)):gi(Io)},[Io,Lr,eo]),Uo=x.useMemo(function(){for(var Ho=-1,Ko=jo.length-1;Ko>=0;Ko-=1){var yo=jo[Ko].fixed;if(yo==="left"||yo===!0){Ho=Ko;break}}if(Ho>=0)for(var ho=0;ho<=Ho;ho+=1){var _o=jo[ho].fixed;if(_o!=="left"&&_o!==!0)return!0}var Xo=jo.findIndex(function(rs){var Va=rs.fixed;return Va==="right"});if(Xo>=0)for(var na=Xo;na=Xo-Jn?co(function(na){return(0,Ct.Z)((0,Ct.Z)({},na),{},{isHiddenScrollBar:!0})}):co(function(na){return(0,Ct.Z)((0,Ct.Z)({},na),{},{isHiddenScrollBar:!1})})}})},Ko=function(ho){co(function(_o){return(0,Ct.Z)((0,Ct.Z)({},_o),{},{scrollLeft:ho/Mr*Ur||0})})};return x.useImperativeHandle(Yt,function(){return{setScrollLeft:Ko,checkScrollBarVisible:Ho}}),x.useEffect(function(){var yo=(0,Ti.Z)(document.body,"mouseup",oa,!1),ho=(0,Ti.Z)(document.body,"mousemove",Zo,!1);return Ho(),function(){yo.remove(),ho.remove()}},[Lr,jo]),x.useEffect(function(){if(Un.current){for(var yo=[],ho=(0,Xi.bn)(Un.current);ho;)yo.push(ho),ho=ho.parentElement;return yo.forEach(function(_o){return _o.addEventListener("scroll",Ho,!1)}),window.addEventListener("resize",Ho,!1),window.addEventListener("scroll",Ho,!1),mr.addEventListener("scroll",Ho,!1),function(){yo.forEach(function(_o){return _o.removeEventListener("scroll",Ho)}),window.removeEventListener("resize",Ho),window.removeEventListener("scroll",Ho),mr.removeEventListener("scroll",Ho)}}},[mr]),x.useEffect(function(){eo.isHiddenScrollBar||co(function(yo){var ho=Un.current;return ho?(0,Ct.Z)((0,Ct.Z)({},yo),{},{scrollLeft:ho.scrollLeft/ho.scrollWidth*ho.clientWidth}):yo})},[eo.isHiddenScrollBar]),Mr<=Ur||!Lr||eo.isHiddenScrollBar?null:x.createElement("div",{style:{height:(0,Qt.Z)(),width:Ur,bottom:Jn},className:"".concat(ii,"-sticky-scroll")},x.createElement("div",{onMouseDown:ta,ref:Sr,className:Ne()("".concat(ii,"-sticky-scroll-bar"),(0,ze.Z)({},"".concat(ii,"-sticky-scroll-bar-active"),jo)),style:{width:"".concat(Lr,"px"),transform:"translate3d(".concat(eo.scrollLeft,"px, 0, 0)")}}))},$t=x.forwardRef(tn);function jn(bt){return null}var lr=jn;function gr(bt){return null}var Ir=gr,Kr="rc-table",zr=[],pi={};function Ci(){return"No Data"}function xi(bt,wt){var Yt=(0,Ct.Z)({rowKey:"key",prefixCls:Kr,emptyText:Ci},bt),dn=Yt.prefixCls,In=Yt.className,Un=Yt.rowClassName,tr=Yt.style,Jn=Yt.data,mr=Yt.rowKey,cr=Yt.scroll,ii=Yt.tableLayout,Mr=Yt.direction,Ur=Yt.title,Lr=Yt.footer,Sr=Yt.summary,Wi=Yt.caption,mi=Yt.id,eo=Yt.showHeader,co=Yt.components,qi=Yt.emptyText,po=Yt.onRow,Io=Yt.onHeaderRow,jo=Yt.onScroll,Uo=Yt.internalHooks,Da=Yt.transformColumns,oa=Yt.internalRefs,ta=Yt.tailor,Zo=Yt.getContainerWidth,Ho=Yt.sticky,Ko=Yt.rowHoverable,yo=Ko===void 0?!0:Ko,ho=Jn||zr,_o=!!ho.length,Xo=Uo===Le,na=x.useCallback(function(ws,ks){return(0,Ot.Z)(co,ws)||ks},[co]),bo=x.useMemo(function(){return typeof mr=="function"?mr:function(ws){var ks=ws&&ws[mr];return ks}},[mr]),rs=na(["body"]),Va=On(),kl=(0,qe.Z)(Va,3),xl=kl[0],al=kl[1],Ao=kl[2],Vl=tt(Yt,ho,bo),ds=(0,qe.Z)(Vl,6),us=ds[0],nl=ds[1],uu=ds[2],ra=ds[3],Ca=ds[4],Yo=ds[5],To=cr==null?void 0:cr.x,vs=x.useState(0),Os=(0,qe.Z)(vs,2),Gs=Os[0],Ks=Os[1],sl=Cn((0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},Yt),us),{},{expandable:!!us.expandedRowRender,columnTitle:us.columnTitle,expandedKeys:uu,getRowKey:bo,onTriggerExpand:Yo,expandIcon:ra,expandIconColumnIndex:us.expandIconColumnIndex,direction:Mr,scrollWidth:Xo&&ta&&typeof To=="number"?To:null,clientWidth:Gs}),Xo?Da:null),hu=(0,qe.Z)(sl,4),aa=hu[0],ea=hu[1],Is=hu[2],Js=hu[3],Xs=Is!=null?Is:To,pu=x.useMemo(function(){return{columns:aa,flattenColumns:ea}},[aa,ea]),Ml=x.useRef(),Ac=x.useRef(),Bl=x.useRef(),Cs=x.useRef();x.useImperativeHandle(wt,function(){return{nativeElement:Ml.current,scrollTo:function(ks){var mu;if(Bl.current instanceof HTMLElement){var Hu=ks.index,zu=ks.top,Ad=ks.key;if(Ht(zu)){var XA;(XA=Bl.current)===null||XA===void 0||XA.scrollTo({top:zu})}else{var RA,dd=Ad!=null?Ad:bo(ho[Hu]);(RA=Bl.current.querySelector('[data-row-key="'.concat(dd,'"]')))===null||RA===void 0||RA.scrollIntoView()}}else(mu=Bl.current)!==null&&mu!==void 0&&mu.scrollTo&&Bl.current.scrollTo(ks)}}});var ll=x.useRef(),ul=x.useState(!1),cu=(0,qe.Z)(ul,2),Ul=cu[0],xs=cu[1],vl=x.useState(!1),Ps=(0,qe.Z)(vl,2),yl=Ps[0],Gl=Ps[1],ku=x.useState(new Map),Mu=(0,qe.Z)(ku,2),$c=Mu[0],cl=Mu[1],Dd=At(ea),_u=Dd.map(function(ws){return $c.get(ws)}),qu=x.useMemo(function(){return _u},[_u.join("_")]),Qu=or(qu,ea,Mr),ec=cr&&Kt(cr.y),Al=cr&&Kt(Xs)||!!us.fixed,Cc=Al&&ea.some(function(ws){var ks=ws.fixed;return ks}),xA=x.useRef(),Rc=li(Ho,dn),Jc=Rc.isSticky,Jd=Rc.offsetHeader,qd=Rc.offsetSummary,Ts=Rc.offsetScroll,ld=Rc.stickyClassName,Ef=Rc.container,Ga=x.useMemo(function(){return Sr==null?void 0:Sr(ho)},[Sr,ho]),ys=(ec||Jc)&&x.isValidElement(Ga)&&Ga.type===Ge&&Ga.props.fixed,_l,iu,Bu;ec&&(iu={overflowY:_o?"scroll":"auto",maxHeight:cr.y}),Al&&(_l={overflowX:"auto"},ec||(iu={overflowY:"hidden"}),Bu={width:Xs===!0?"auto":Xs,minWidth:"100%"});var Eu=x.useCallback(function(ws,ks){cl(function(mu){if(mu.get(ws)!==ks){var Hu=new Map(mu);return Hu.set(ws,ks),Hu}return mu})},[]),tc=vn(null),ju=(0,qe.Z)(tc,2),ZA=ju[0],Sf=ju[1];function WA(ws,ks){ks&&(typeof ks=="function"?ks(ws):ks.scrollLeft!==ws&&(ks.scrollLeft=ws,ks.scrollLeft!==ws&&setTimeout(function(){ks.scrollLeft=ws},0)))}var VA=(0,He.Z)(function(ws){var ks=ws.currentTarget,mu=ws.scrollLeft,Hu=Mr==="rtl",zu=typeof mu=="number"?mu:ks.scrollLeft,Ad=ks||pi;if(!Sf()||Sf()===Ad){var XA;ZA(Ad),WA(zu,Ac.current),WA(zu,Bl.current),WA(zu,ll.current),WA(zu,(XA=xA.current)===null||XA===void 0?void 0:XA.setScrollLeft)}var RA=ks||Ac.current;if(RA){var dd=Xo&&ta&&typeof Xs=="number"?Xs:RA.scrollWidth,YA=RA.clientWidth;if(dd===YA){xs(!1),Gl(!1);return}Hu?(xs(-zu0)):(xs(zu>0),Gl(zu1?mi-yo:0,_o=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},Da),cr),{},{flex:"0 0 ".concat(yo,"px"),width:"".concat(yo,"px"),marginRight:ho,pointerEvents:"auto"}),Xo=x.useMemo(function(){return Mr?Ho<=1:ta===0||Ho===0||Ho>1},[Ho,ta,Mr]);Xo?_o.visibility="hidden":Mr&&(_o.height=Ur==null?void 0:Ur(Ho));var na=Xo?function(){return null}:Lr,bo={};return(Ho===0||ta===0)&&(bo.rowSpan=1,bo.colSpan=1),x.createElement(Fn,(0,Pe.Z)({className:Ne()(Wi,ii),ellipsis:Yt.ellipsis,align:Yt.align,scope:Yt.rowScope,component:tr,prefixCls:wt.prefixCls,key:po,record:mr,index:Un,renderIndex:Jn,dataIndex:Sr,render:na,shouldCellUpdate:Yt.shouldCellUpdate},Io,{appendNode:jo,additionalProps:(0,Ct.Z)((0,Ct.Z)({},Uo),{},{style:_o},bo)}))}var So=ki,uo=["data","index","className","rowKey","style","extra","getHeight"],Do=x.forwardRef(function(bt,wt){var Yt=bt.data,dn=bt.index,In=bt.className,Un=bt.rowKey,tr=bt.style,Jn=bt.extra,mr=bt.getHeight,cr=(0,ee.Z)(bt,uo),ii=Yt.record,Mr=Yt.indent,Ur=Yt.index,Lr=oe(Je,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Sr=Lr.scrollX,Wi=Lr.flattenColumns,mi=Lr.prefixCls,eo=Lr.fixColumn,co=Lr.componentWidth,qi=oe(Hi,["getComponent"]),po=qi.getComponent,Io=Wt(ii,Un,dn,Mr),jo=po(["body","row"],"div"),Uo=po(["body","cell"],"div"),Da=Io.rowSupportExpand,oa=Io.expanded,ta=Io.rowProps,Zo=Io.expandedRowRender,Ho=Io.expandedRowClassName,Ko;if(Da&&oa){var yo=Zo(ii,dn,Mr+1,oa),ho=Ln(Ho,ii,dn,Mr),_o={};eo&&(_o={style:(0,ze.Z)({},"--virtual-width","".concat(co,"px"))});var Xo="".concat(mi,"-expanded-row-cell");Ko=x.createElement(jo,{className:Ne()("".concat(mi,"-expanded-row"),"".concat(mi,"-expanded-row-level-").concat(Mr+1),ho)},x.createElement(Fn,{component:Uo,prefixCls:mi,className:Ne()(Xo,(0,ze.Z)({},"".concat(Xo,"-fixed"),eo)),additionalProps:_o},yo))}var na=(0,Ct.Z)((0,Ct.Z)({},tr),{},{width:Sr});Jn&&(na.position="absolute",na.pointerEvents="none");var bo=x.createElement(jo,(0,Pe.Z)({},ta,cr,{"data-row-key":Un,ref:Da?null:wt,className:Ne()(In,"".concat(mi,"-row"),ta==null?void 0:ta.className,(0,ze.Z)({},"".concat(mi,"-row-extra"),Jn)),style:(0,Ct.Z)((0,Ct.Z)({},na),ta==null?void 0:ta.style)}),Wi.map(function(rs,Va){return x.createElement(So,{key:Va,component:Uo,rowInfo:Io,column:rs,colIndex:Va,indent:Mr,index:dn,renderIndex:Ur,record:ii,inverse:Jn,getHeight:mr})}));return Da?x.createElement("div",{ref:wt},bo,Ko):bo}),Co=Ke(Do),to=Co,Mo=x.forwardRef(function(bt,wt){var Yt=bt.data,dn=bt.onScroll,In=oe(Je,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),Un=In.flattenColumns,tr=In.onColumnResize,Jn=In.getRowKey,mr=In.expandedKeys,cr=In.prefixCls,ii=In.childrenColumnName,Mr=In.scrollX,Ur=In.direction,Lr=oe(Hi),Sr=Lr.sticky,Wi=Lr.scrollY,mi=Lr.listItemHeight,eo=Lr.getComponent,co=Lr.onScroll,qi=x.useRef(),po=Xt(Yt,ii,mr,Jn),Io=x.useMemo(function(){var Ko=0;return Un.map(function(yo){var ho=yo.width,_o=yo.key;return Ko+=ho,[_o,ho,Ko]})},[Un]),jo=x.useMemo(function(){return Io.map(function(Ko){return Ko[2]})},[Io]);x.useEffect(function(){Io.forEach(function(Ko){var yo=(0,qe.Z)(Ko,2),ho=yo[0],_o=yo[1];tr(ho,_o)})},[Io]),x.useImperativeHandle(wt,function(){var Ko,yo={scrollTo:function(_o){var Xo;(Xo=qi.current)===null||Xo===void 0||Xo.scrollTo(_o)},nativeElement:(Ko=qi.current)===null||Ko===void 0?void 0:Ko.nativeElement};return Object.defineProperty(yo,"scrollLeft",{get:function(){var _o;return((_o=qi.current)===null||_o===void 0?void 0:_o.getScrollInfo().x)||0},set:function(_o){var Xo;(Xo=qi.current)===null||Xo===void 0||Xo.scrollTo({left:_o})}}),yo});var Uo=function(yo,ho){var _o,Xo=(_o=po[ho])===null||_o===void 0?void 0:_o.record,na=yo.onCell;if(na){var bo,rs=na(Xo,ho);return(bo=rs==null?void 0:rs.rowSpan)!==null&&bo!==void 0?bo:1}return 1},Da=function(yo){var ho=yo.start,_o=yo.end,Xo=yo.getSize,na=yo.offsetY;if(_o<0)return null;for(var bo=Un.filter(function(ra){return Uo(ra,ho)===0}),rs=ho,Va=function(Ca){if(bo=bo.filter(function(Yo){return Uo(Yo,Ca)===0}),!bo.length)return rs=Ca,1},kl=ho;kl>=0&&!Va(kl);kl-=1);for(var xl=Un.filter(function(ra){return Uo(ra,_o)!==1}),al=_o,Ao=function(Ca){if(xl=xl.filter(function(Yo){return Uo(Yo,Ca)!==1}),!xl.length)return al=Math.max(Ca-1,_o),1},Vl=_o;Vl1})&&ds.push(Ca)},nl=rs;nl<=al;nl+=1)us(nl);var uu=ds.map(function(ra){var Ca=po[ra],Yo=Jn(Ca.record,ra),To=function(Gs){var Ks=ra+Gs-1,sl=Jn(po[Ks].record,Ks),hu=Xo(Yo,sl);return hu.bottom-hu.top},vs=Xo(Yo);return x.createElement(to,{key:ra,data:Ca,rowKey:Yo,index:ra,style:{top:-na+vs.top},extra:!0,getHeight:To})});return uu},oa=x.useMemo(function(){return{columnsOffset:jo}},[jo]),ta="".concat(cr,"-tbody"),Zo=eo(["body","wrapper"]),Ho={};return Sr&&(Ho.position="sticky",Ho.bottom=0,(0,ht.Z)(Sr)==="object"&&Sr.offsetScroll&&(Ho.bottom=Sr.offsetScroll)),x.createElement(ai.Provider,{value:oa},x.createElement(no.Z,{fullHeight:!1,ref:qi,prefixCls:"".concat(ta,"-virtual"),styles:{horizontalScrollBar:Ho},className:ta,height:Wi,itemHeight:mi||24,data:po,itemKey:function(yo){return Jn(yo.record)},component:Zo,scrollWidth:Mr,direction:Ur,onVirtualScroll:function(yo){var ho,_o=yo.x;dn({currentTarget:(ho=qi.current)===null||ho===void 0?void 0:ho.nativeElement,scrollLeft:_o})},onScroll:co,extraRender:Da},function(Ko,yo,ho){var _o=Jn(Ko.record,yo);return x.createElement(to,{data:Ko,rowKey:_o,index:yo,style:ho.style})}))}),Go=Ke(Mo),zo=Go,No=function(wt,Yt){var dn=Yt.ref,In=Yt.onScroll;return x.createElement(zo,{ref:dn,data:wt,onScroll:In})};function zi(bt,wt){var Yt=bt.data,dn=bt.columns,In=bt.scroll,Un=bt.sticky,tr=bt.prefixCls,Jn=tr===void 0?Kr:tr,mr=bt.className,cr=bt.listItemHeight,ii=bt.components,Mr=bt.onScroll,Ur=In||{},Lr=Ur.x,Sr=Ur.y;typeof Lr!="number"&&(Lr=1),typeof Sr!="number"&&(Sr=500);var Wi=(0,Tt.zX)(function(co,qi){return(0,Ot.Z)(ii,co)||qi}),mi=(0,Tt.zX)(Mr),eo=x.useMemo(function(){return{sticky:Un,scrollY:Sr,listItemHeight:cr,getComponent:Wi,onScroll:mi}},[Un,Sr,cr,Wi,mi]);return x.createElement(Hi.Provider,{value:eo},x.createElement($i,(0,Pe.Z)({},bt,{className:Ne()(mr,"".concat(Jn,"-virtual")),scroll:(0,Ct.Z)((0,Ct.Z)({},In),{},{x:Lr}),components:(0,Ct.Z)((0,Ct.Z)({},ii),{},{body:Yt!=null&&Yt.length?No:void 0}),columns:dn,internalHooks:Le,tailor:!0,ref:wt})))}var Vt=x.forwardRef(zi);function $r(bt){return Oe(Vt,bt)}var ui=$r(),Zr=null,ro=bt=>null,Yr=bt=>null,Bi=ae(84105),_i=ae(82661),Ro=ae(34643),ya=ae(34061),$o=ae(18929);function Ea(bt){const[wt,Yt]=(0,x.useState)(null);return[(0,x.useCallback)((Un,tr,Jn)=>{const mr=wt!=null?wt:Un,cr=Math.min(mr||0,Un),ii=Math.max(mr||0,Un),Mr=tr.slice(cr,ii+1).map(Sr=>bt(Sr)),Ur=Mr.some(Sr=>!Jn.has(Sr)),Lr=[];return Mr.forEach(Sr=>{Ur?(Jn.has(Sr)||Lr.push(Sr),Jn.add(Sr)):(Jn.delete(Sr),Lr.push(Sr))}),Yt(Ur?ii:null),Lr},[wt]),Un=>{Yt(Un)}]}var da=ae(32383),wa=ae(62673),Wr=ae(75727),Ji=ae(47889);const xo={},ba="SELECT_ALL",Xa="SELECT_INVERT",ns="SELECT_NONE",Ta=[],Za=(bt,wt)=>{let Yt=[];return(wt||[]).forEach(dn=>{Yt.push(dn),dn&&typeof dn=="object"&&bt in dn&&(Yt=[].concat((0,dr.Z)(Yt),(0,dr.Z)(Za(bt,dn[bt]))))}),Yt};var vo=(bt,wt)=>{const{preserveSelectedRowKeys:Yt,selectedRowKeys:dn,defaultSelectedRowKeys:In,getCheckboxProps:Un,onChange:tr,onSelect:Jn,onSelectAll:mr,onSelectInvert:cr,onSelectNone:ii,onSelectMultiple:Mr,columnWidth:Ur,type:Lr,selections:Sr,fixed:Wi,renderCell:mi,hideSelectAll:eo,checkStrictly:co=!0}=wt||{},{prefixCls:qi,data:po,pageData:Io,getRecordByKey:jo,getRowKey:Uo,expandType:Da,childrenColumnName:oa,locale:ta,getPopupContainer:Zo}=bt,Ho=(0,da.ln)("Table"),[Ko,yo]=Ea(ra=>ra),[ho,_o]=(0,$o.Z)(dn||In||Ta,{value:dn}),Xo=x.useRef(new Map),na=(0,x.useCallback)(ra=>{if(Yt){const Ca=new Map;ra.forEach(Yo=>{let To=jo(Yo);!To&&Xo.current.has(Yo)&&(To=Xo.current.get(Yo)),Ca.set(Yo,To)}),Xo.current=Ca}},[jo,Yt]);x.useEffect(()=>{na(ho)},[ho]);const bo=(0,x.useMemo)(()=>Za(oa,Io),[oa,Io]),{keyEntities:rs}=(0,x.useMemo)(()=>{if(co)return{keyEntities:null};let ra=po;if(Yt){const Ca=new Set(bo.map((To,vs)=>Uo(To,vs))),Yo=Array.from(Xo.current).reduce((To,vs)=>{let[Os,Gs]=vs;return Ca.has(Os)?To:To.concat(Gs)},[]);ra=[].concat((0,dr.Z)(ra),(0,dr.Z)(Yo))}return(0,ya.I8)(ra,{externalGetKey:Uo,childrenPropName:oa})},[po,Uo,co,oa,Yt,bo]),Va=(0,x.useMemo)(()=>{const ra=new Map;return bo.forEach((Ca,Yo)=>{const To=Uo(Ca,Yo),vs=(Un?Un(Ca):null)||{};ra.set(To,vs)}),ra},[bo,Uo,Un]),kl=(0,x.useCallback)(ra=>{const Ca=Uo(ra);let Yo;return Va.has(Ca)?Yo=Va.get(Uo(ra)):Yo=Un?Un(ra):void 0,!!(Yo!=null&&Yo.disabled)},[Va,Uo]),[xl,al]=(0,x.useMemo)(()=>{if(co)return[ho||[],[]];const{checkedKeys:ra,halfCheckedKeys:Ca}=(0,Ro.S)(ho,!0,rs,kl);return[ra||[],Ca]},[ho,co,rs,kl]),Ao=(0,x.useMemo)(()=>{const ra=Lr==="radio"?xl.slice(0,1):xl;return new Set(ra)},[xl,Lr]),Vl=(0,x.useMemo)(()=>Lr==="radio"?new Set:new Set(al),[al,Lr]);x.useEffect(()=>{wt||_o(Ta)},[!!wt]);const ds=(0,x.useCallback)((ra,Ca)=>{let Yo,To;na(ra),Yt?(Yo=ra,To=ra.map(vs=>Xo.current.get(vs))):(Yo=[],To=[],ra.forEach(vs=>{const Os=jo(vs);Os!==void 0&&(Yo.push(vs),To.push(Os))})),_o(Yo),tr==null||tr(Yo,To,{type:Ca})},[_o,jo,tr,Yt]),us=(0,x.useCallback)((ra,Ca,Yo,To)=>{if(Jn){const vs=Yo.map(Os=>jo(Os));Jn(jo(ra),Ca,vs,To)}ds(Yo,"single")},[Jn,jo,ds]),nl=(0,x.useMemo)(()=>!Sr||eo?null:(Sr===!0?[ba,Xa,ns]:Sr).map(Ca=>Ca===ba?{key:"all",text:ta.selectionAll,onSelect(){ds(po.map((Yo,To)=>Uo(Yo,To)).filter(Yo=>{const To=Va.get(Yo);return!(To!=null&&To.disabled)||Ao.has(Yo)}),"all")}}:Ca===Xa?{key:"invert",text:ta.selectInvert,onSelect(){const Yo=new Set(Ao);Io.forEach((vs,Os)=>{const Gs=Uo(vs,Os),Ks=Va.get(Gs);Ks!=null&&Ks.disabled||(Yo.has(Gs)?Yo.delete(Gs):Yo.add(Gs))});const To=Array.from(Yo);cr&&(Ho.deprecated(!1,"onSelectInvert","onChange"),cr(To)),ds(To,"invert")}}:Ca===ns?{key:"none",text:ta.selectNone,onSelect(){ii==null||ii(),ds(Array.from(Ao).filter(Yo=>{const To=Va.get(Yo);return To==null?void 0:To.disabled}),"none")}}:Ca).map(Ca=>Object.assign(Object.assign({},Ca),{onSelect:function(){for(var Yo,To,vs=arguments.length,Os=new Array(vs),Gs=0;Gs{var Ca;if(!wt)return ra.filter(Cs=>Cs!==xo);let Yo=(0,dr.Z)(ra);const To=new Set(Ao),vs=bo.map(Uo).filter(Cs=>!Va.get(Cs).disabled),Os=vs.every(Cs=>To.has(Cs)),Gs=vs.some(Cs=>To.has(Cs)),Ks=()=>{const Cs=[];Os?vs.forEach(ul=>{To.delete(ul),Cs.push(ul)}):vs.forEach(ul=>{To.has(ul)||(To.add(ul),Cs.push(ul))});const ll=Array.from(To);mr==null||mr(!Os,ll.map(ul=>jo(ul)),Cs.map(ul=>jo(ul))),ds(ll,"all"),yo(null)};let sl,hu;if(Lr!=="radio"){let Cs;if(nl){const xs={getPopupContainer:Zo,items:nl.map((vl,Ps)=>{const{key:yl,text:Gl,onSelect:ku}=vl;return{key:yl!=null?yl:Ps,onClick:()=>{ku==null||ku(vs)},label:Gl}})};Cs=x.createElement("div",{className:`${qi}-selection-extra`},x.createElement(Wr.Z,{menu:xs,getPopupContainer:Zo},x.createElement("span",null,x.createElement(Bi.Z,null))))}const ll=bo.map((xs,vl)=>{const Ps=Uo(xs,vl),yl=Va.get(Ps)||{};return Object.assign({checked:To.has(Ps)},yl)}).filter(xs=>{let{disabled:vl}=xs;return vl}),ul=!!ll.length&&ll.length===bo.length,cu=ul&&ll.every(xs=>{let{checked:vl}=xs;return vl}),Ul=ul&&ll.some(xs=>{let{checked:vl}=xs;return vl});hu=x.createElement(wa.default,{checked:ul?cu:!!bo.length&&Os,indeterminate:ul?!cu&&Ul:!Os&&Gs,onChange:Ks,disabled:bo.length===0||ul,"aria-label":Cs?"Custom selection":"Select all",skipGroup:!0}),sl=!eo&&x.createElement("div",{className:`${qi}-selection`},hu,Cs)}let aa;Lr==="radio"?aa=(Cs,ll,ul)=>{const cu=Uo(ll,ul),Ul=To.has(cu),xs=Va.get(cu);return{node:x.createElement(Ji.ZP,Object.assign({},xs,{checked:Ul,onClick:vl=>{var Ps;vl.stopPropagation(),(Ps=xs==null?void 0:xs.onClick)===null||Ps===void 0||Ps.call(xs,vl)},onChange:vl=>{var Ps;To.has(cu)||us(cu,!0,[cu],vl.nativeEvent),(Ps=xs==null?void 0:xs.onChange)===null||Ps===void 0||Ps.call(xs,vl)}})),checked:Ul}}:aa=(Cs,ll,ul)=>{var cu;const Ul=Uo(ll,ul),xs=To.has(Ul),vl=Vl.has(Ul),Ps=Va.get(Ul);let yl;return Da==="nest"?yl=vl:yl=(cu=Ps==null?void 0:Ps.indeterminate)!==null&&cu!==void 0?cu:vl,{node:x.createElement(wa.default,Object.assign({},Ps,{indeterminate:yl,checked:xs,skipGroup:!0,onClick:Gl=>{var ku;Gl.stopPropagation(),(ku=Ps==null?void 0:Ps.onClick)===null||ku===void 0||ku.call(Ps,Gl)},onChange:Gl=>{var ku;const{nativeEvent:Mu}=Gl,{shiftKey:$c}=Mu,cl=vs.findIndex(_u=>_u===Ul),Dd=xl.some(_u=>vs.includes(_u));if($c&&co&&Dd){const _u=Ko(cl,vs,To),qu=Array.from(To);Mr==null||Mr(!xs,qu.map(Qu=>jo(Qu)),_u.map(Qu=>jo(Qu))),ds(qu,"multiple")}else{const _u=xl;if(co){const qu=xs?(0,_i._5)(_u,Ul):(0,_i.L0)(_u,Ul);us(Ul,!xs,qu,Mu)}else{const qu=(0,Ro.S)([].concat((0,dr.Z)(_u),[Ul]),!0,rs,kl),{checkedKeys:Qu,halfCheckedKeys:ec}=qu;let Al=Qu;if(xs){const Cc=new Set(Qu);Cc.delete(Ul),Al=(0,Ro.S)(Array.from(Cc),{checked:!1,halfCheckedKeys:ec},rs,kl).checkedKeys}us(Ul,!xs,Al,Mu)}}yo(xs?null:cl),(ku=Ps==null?void 0:Ps.onChange)===null||ku===void 0||ku.call(Ps,Gl)}})),checked:xs}};const ea=(Cs,ll,ul)=>{const{node:cu,checked:Ul}=aa(Cs,ll,ul);return mi?mi(Ul,ll,ul,cu):cu};if(!Yo.includes(xo))if(Yo.findIndex(Cs=>{var ll;return((ll=Cs[pr])===null||ll===void 0?void 0:ll.columnType)==="EXPAND_COLUMN"})===0){const[Cs,...ll]=Yo;Yo=[Cs,xo].concat((0,dr.Z)(ll))}else Yo=[xo].concat((0,dr.Z)(Yo));const Is=Yo.indexOf(xo);Yo=Yo.filter((Cs,ll)=>Cs!==xo||ll===Is);const Js=Yo[Is-1],Xs=Yo[Is+1];let pu=Wi;pu===void 0&&((Xs==null?void 0:Xs.fixed)!==void 0?pu=Xs.fixed:(Js==null?void 0:Js.fixed)!==void 0&&(pu=Js.fixed)),pu&&Js&&((Ca=Js[pr])===null||Ca===void 0?void 0:Ca.columnType)==="EXPAND_COLUMN"&&Js.fixed===void 0&&(Js.fixed=pu);const Ml=Ne()(`${qi}-selection-col`,{[`${qi}-selection-col-with-dropdown`]:Sr&&Lr==="checkbox"}),Ac=()=>wt!=null&&wt.columnTitle?typeof wt.columnTitle=="function"?wt.columnTitle(hu):wt.columnTitle:sl,Bl={fixed:pu,width:Ur,className:`${qi}-selection-column`,title:Ac(),render:ea,onCell:wt.onCell,[pr]:{className:Ml}};return Yo.map(Cs=>Cs===xo?Bl:Cs)},[Uo,bo,wt,xl,Ao,Vl,Ur,nl,Da,Va,Mr,us,kl]),Ao]},qo=ae(2738);function ja(bt,wt){return bt._antProxy=bt._antProxy||{},Object.keys(wt).forEach(Yt=>{if(!(Yt in bt._antProxy)){const dn=bt[Yt];bt._antProxy[Yt]=dn,bt[Yt]=wt[Yt]}}),bt}function ls(bt,wt){return(0,x.useImperativeHandle)(bt,()=>{const Yt=wt(),{nativeElement:dn}=Yt;return typeof Proxy!="undefined"?new Proxy(dn,{get(In,Un){return Yt[Un]?Yt[Un]:Reflect.get(In,Un)}}):ja(dn,Yt)})}var Fs=ae(83010),il=ae(48755),tu=ae(38406),Au=ae(83397),tl=ae(31756),fl=ae(13783),wu=ae(85981),Lu=ae(31709),hl=ae(29787),vc=ae(57700);function Du(bt){return wt=>{const{prefixCls:Yt,onExpand:dn,record:In,expanded:Un,expandable:tr}=wt,Jn=`${Yt}-row-expand-icon`;return x.createElement("button",{type:"button",onClick:mr=>{dn(In,mr),mr.stopPropagation()},className:Ne()(Jn,{[`${Jn}-spaced`]:!tr,[`${Jn}-expanded`]:tr&&Un,[`${Jn}-collapsed`]:tr&&!Un}),"aria-label":Un?bt.collapse:bt.expand,"aria-expanded":Un})}}var fa=Du;function La(bt){return(Yt,dn)=>{const In=Yt.querySelector(`.${bt}-container`);let Un=dn;if(In){const tr=getComputedStyle(In),Jn=parseInt(tr.borderLeftWidth,10),mr=parseInt(tr.borderRightWidth,10);Un=dn-Jn-mr}return Un}}const ha=(bt,wt)=>"key"in bt&&bt.key!==void 0&&bt.key!==null?bt.key:bt.dataIndex?Array.isArray(bt.dataIndex)?bt.dataIndex.join("."):bt.dataIndex:wt;function ga(bt,wt){return wt?`${wt}-${bt}`:`${bt}`}const es=(bt,wt)=>typeof bt=="function"?bt(wt):bt,Ya=(bt,wt)=>{const Yt=es(bt,wt);return Object.prototype.toString.call(Yt)==="[object Object]"?"":Yt};var $a={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"},Kl=$a,su=ae(7657),Ol=function(wt,Yt){return x.createElement(su.Z,(0,Pe.Z)({},wt,{ref:Yt,icon:Kl}))},bu=x.forwardRef(Ol),du=bu,Gu=ae(9981),Qi=ae(40192);function Bo(bt){const wt=x.useRef(bt),Yt=(0,Qi.Z)();return[()=>wt.current,dn=>{wt.current=dn,Yt()}]}var Wa=ae(7939),ol=ae(584),kc=ae(93041),nu=ae(78857),Cu=ae(18287),ps=ae(47472),oc=ae(49397),Vc=bt=>{const{value:wt,filterSearch:Yt,tablePrefixCls:dn,locale:In,onChange:Un}=bt;return Yt?x.createElement("div",{className:`${dn}-filter-dropdown-search`},x.createElement(oc.Z,{prefix:x.createElement(ps.Z,null),placeholder:In.filterSearchPlaceholder,onChange:Un,value:wt,htmlSize:1,className:`${dn}-filter-dropdown-search-input`})):null},ka=ae(10228);const Xu=bt=>{const{keyCode:wt}=bt;wt===ka.Z.ENTER&&bt.stopPropagation()};var Nu=x.forwardRef((bt,wt)=>x.createElement("div",{className:bt.className,onClick:Yt=>Yt.stopPropagation(),onKeyDown:Xu,ref:wt},bt.children));function Ns(bt){let wt=[];return(bt||[]).forEach(Yt=>{let{value:dn,children:In}=Yt;wt.push(dn),In&&(wt=[].concat((0,dr.Z)(wt),(0,dr.Z)(Ns(In))))}),wt}function Yu(bt){return bt.some(wt=>{let{children:Yt}=wt;return Yt})}function Pl(bt,wt){return typeof wt=="string"||typeof wt=="number"?wt==null?void 0:wt.toString().toLowerCase().includes(bt.trim().toLowerCase()):!1}function ml(bt){let{filters:wt,prefixCls:Yt,filteredKeys:dn,filterMultiple:In,searchValue:Un,filterSearch:tr}=bt;return wt.map((Jn,mr)=>{const cr=String(Jn.value);if(Jn.children)return{key:cr||mr,label:Jn.text,popupClassName:`${Yt}-dropdown-submenu`,children:ml({filters:Jn.children,prefixCls:Yt,filteredKeys:dn,filterMultiple:In,searchValue:Un,filterSearch:tr})};const ii=In?wa.default:Ji.ZP,Mr={key:Jn.value!==void 0?cr:mr,label:x.createElement(x.Fragment,null,x.createElement(ii,{checked:dn.includes(cr)}),x.createElement("span",null,Jn.text))};return Un.trim()?typeof tr=="function"?tr(Un,Jn)?Mr:null:Pl(Un,Jn.text)?Mr:null:Mr})}function Tl(bt){return bt||[]}var $u=bt=>{var wt,Yt,dn,In;const{tablePrefixCls:Un,prefixCls:tr,column:Jn,dropdownPrefixCls:mr,columnKey:cr,filterOnClose:ii,filterMultiple:Mr,filterMode:Ur="menu",filterSearch:Lr=!1,filterState:Sr,triggerFilter:Wi,locale:mi,children:eo,getPopupContainer:co,rootClassName:qi}=bt,{filterResetToDefaultFilteredValue:po,defaultFilteredValue:Io,filterDropdownProps:jo={},filterDropdownOpen:Uo,filterDropdownVisible:Da,onFilterDropdownVisibleChange:oa,onFilterDropdownOpenChange:ta}=Jn,[Zo,Ho]=x.useState(!1),Ko=!!(Sr&&(!((wt=Sr.filteredKeys)===null||wt===void 0)&&wt.length||Sr.forceFiltered)),yo=aa=>{var ea;Ho(aa),(ea=jo.onOpenChange)===null||ea===void 0||ea.call(jo,aa),ta==null||ta(aa),oa==null||oa(aa)},ho=(In=(dn=(Yt=jo.open)!==null&&Yt!==void 0?Yt:Uo)!==null&&dn!==void 0?dn:Da)!==null&&In!==void 0?In:Zo,_o=Sr==null?void 0:Sr.filteredKeys,[Xo,na]=Bo(Tl(_o)),bo=aa=>{let{selectedKeys:ea}=aa;na(ea)},rs=(aa,ea)=>{let{node:Is,checked:Js}=ea;bo(Mr?{selectedKeys:aa}:{selectedKeys:Js&&Is.key?[Is.key]:[]})};x.useEffect(()=>{Zo&&bo({selectedKeys:Tl(_o)})},[_o]);const[Va,kl]=x.useState([]),xl=aa=>{kl(aa)},[al,Ao]=x.useState(""),Vl=aa=>{const{value:ea}=aa.target;Ao(ea)};x.useEffect(()=>{Zo||Ao("")},[Zo]);const ds=aa=>{const ea=aa!=null&&aa.length?aa:null;if(ea===null&&(!Sr||!Sr.filteredKeys)||(0,Me.Z)(ea,Sr==null?void 0:Sr.filteredKeys,!0))return null;Wi({column:Jn,key:cr,filteredKeys:ea})},us=()=>{yo(!1),ds(Xo())},nl=function(){let{confirm:aa,closeDropdown:ea}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};aa&&ds([]),ea&&yo(!1),Ao(""),na(po?(Io||[]).map(Is=>String(Is)):[])},uu=function(){let{closeDropdown:aa}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};aa&&yo(!1),ds(Xo())},ra=(aa,ea)=>{ea.source==="trigger"&&(aa&&_o!==void 0&&na(Tl(_o)),yo(aa),!aa&&!Jn.filterDropdown&&ii&&us())},Ca=Ne()({[`${mr}-menu-without-submenu`]:!Yu(Jn.filters||[])}),Yo=aa=>{if(aa.target.checked){const ea=Ns(Jn==null?void 0:Jn.filters).map(Is=>String(Is));na(ea)}else na([])},To=aa=>{let{filters:ea}=aa;return(ea||[]).map((Is,Js)=>{const Xs=String(Is.value),pu={title:Is.text,key:Is.value!==void 0?Xs:String(Js)};return Is.children&&(pu.children=To({filters:Is.children})),pu})},vs=aa=>{var ea;return Object.assign(Object.assign({},aa),{text:aa.title,value:aa.key,children:((ea=aa.children)===null||ea===void 0?void 0:ea.map(Is=>vs(Is)))||[]})};let Os;const{direction:Gs,renderEmpty:Ks}=x.useContext(il.E_);if(typeof Jn.filterDropdown=="function")Os=Jn.filterDropdown({prefixCls:`${mr}-custom`,setSelectedKeys:aa=>bo({selectedKeys:aa}),selectedKeys:Xo(),confirm:uu,clearFilters:nl,filters:Jn.filters,visible:ho,close:()=>{yo(!1)}});else if(Jn.filterDropdown)Os=Jn.filterDropdown;else{const aa=Xo()||[],ea=()=>{var Js,Xs;const pu=(Js=Ks==null?void 0:Ks("Table.filter"))!==null&&Js!==void 0?Js:x.createElement(ol.Z,{image:ol.Z.PRESENTED_IMAGE_SIMPLE,description:mi.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((Jn.filters||[]).length===0)return pu;if(Ur==="tree")return x.createElement(x.Fragment,null,x.createElement(Vc,{filterSearch:Lr,value:al,onChange:Vl,tablePrefixCls:Un,locale:mi}),x.createElement("div",{className:`${Un}-filter-dropdown-tree`},Mr?x.createElement(wa.default,{checked:aa.length===Ns(Jn.filters).length,indeterminate:aa.length>0&&aa.lengthtypeof Lr=="function"?Lr(al,vs(Bl)):Pl(al,Bl.title):void 0})));const Ml=ml({filters:Jn.filters||[],filterSearch:Lr,prefixCls:tr,filteredKeys:Xo(),filterMultiple:Mr,searchValue:al}),Ac=Ml.every(Bl=>Bl===null);return x.createElement(x.Fragment,null,x.createElement(Vc,{filterSearch:Lr,value:al,onChange:Vl,tablePrefixCls:Un,locale:mi}),Ac?pu:x.createElement(kc.default,{selectable:!0,multiple:Mr,prefixCls:`${mr}-menu`,className:Ca,onSelect:bo,onDeselect:bo,selectedKeys:aa,getPopupContainer:co,openKeys:Va,onOpenChange:xl,items:Ml}))},Is=()=>po?(0,Me.Z)((Io||[]).map(Js=>String(Js)),aa,!0):aa.length===0;Os=x.createElement(x.Fragment,null,ea(),x.createElement("div",{className:`${tr}-dropdown-btns`},x.createElement(Wa.ZP,{type:"link",size:"small",disabled:Is(),onClick:()=>nl()},mi.filterReset),x.createElement(Wa.ZP,{type:"primary",size:"small",onClick:us},mi.filterConfirm)))}Jn.filterDropdown&&(Os=x.createElement(nu.J,{selectable:void 0},Os)),Os=x.createElement(Nu,{className:`${tr}-dropdown`},Os);const sl=()=>{let aa;return typeof Jn.filterIcon=="function"?aa=Jn.filterIcon(Ko):Jn.filterIcon?aa=Jn.filterIcon:aa=x.createElement(du,null),x.createElement("span",{role:"button",tabIndex:-1,className:Ne()(`${tr}-trigger`,{active:Ko}),onClick:ea=>{ea.stopPropagation()}},aa)},hu=(0,Gu.Z)({trigger:["click"],placement:Gs==="rtl"?"bottomLeft":"bottomRight",children:sl(),getPopupContainer:co},Object.assign(Object.assign({},jo),{rootClassName:Ne()(qi,jo.rootClassName),open:ho,onOpenChange:ra,dropdownRender:()=>typeof(jo==null?void 0:jo.dropdownRender)=="function"?jo.dropdownRender(Os):Os}));return x.createElement("div",{className:`${tr}-column`},x.createElement("span",{className:`${Un}-column-title`},eo),x.createElement(Wr.Z,Object.assign({},hu)))};const ru=(bt,wt,Yt)=>{let dn=[];return(bt||[]).forEach((In,Un)=>{var tr;const Jn=ga(Un,Yt);if(In.filters||"filterDropdown"in In||"onFilter"in In)if("filteredValue"in In){let mr=In.filteredValue;"filterDropdown"in In||(mr=(tr=mr==null?void 0:mr.map(String))!==null&&tr!==void 0?tr:mr),dn.push({column:In,key:ha(In,Jn),filteredKeys:mr,forceFiltered:In.filtered})}else dn.push({column:In,key:ha(In,Jn),filteredKeys:wt&&In.defaultFilteredValue?In.defaultFilteredValue:void 0,forceFiltered:In.filtered});"children"in In&&(dn=[].concat((0,dr.Z)(dn),(0,dr.Z)(ru(In.children,wt,Jn))))}),dn};function fu(bt,wt,Yt,dn,In,Un,tr,Jn,mr){return Yt.map((cr,ii)=>{const Mr=ga(ii,Jn),{filterOnClose:Ur=!0,filterMultiple:Lr=!0,filterMode:Sr,filterSearch:Wi}=cr;let mi=cr;if(mi.filters||mi.filterDropdown){const eo=ha(mi,Mr),co=dn.find(qi=>{let{key:po}=qi;return eo===po});mi=Object.assign(Object.assign({},mi),{title:qi=>x.createElement($u,{tablePrefixCls:bt,prefixCls:`${bt}-filter`,dropdownPrefixCls:wt,column:mi,columnKey:eo,filterState:co,filterOnClose:Ur,filterMultiple:Lr,filterMode:Sr,filterSearch:Wi,triggerFilter:Un,locale:In,getPopupContainer:tr,rootClassName:mr},es(cr.title,qi))})}return"children"in mi&&(mi=Object.assign(Object.assign({},mi),{children:fu(bt,wt,mi.children,dn,In,Un,tr,Mr,mr)})),mi})}const Fa=bt=>{const wt={};return bt.forEach(Yt=>{let{key:dn,filteredKeys:In,column:Un}=Yt;const tr=dn,{filters:Jn,filterDropdown:mr}=Un;if(mr)wt[tr]=In||null;else if(Array.isArray(In)){const cr=Ns(Jn);wt[tr]=cr.filter(ii=>In.includes(String(ii)))}else wt[tr]=null}),wt},Ma=(bt,wt,Yt)=>wt.reduce((In,Un)=>{const{column:{onFilter:tr,filters:Jn},filteredKeys:mr}=Un;return tr&&mr&&mr.length?In.map(cr=>Object.assign({},cr)).filter(cr=>mr.some(ii=>{const Mr=Ns(Jn),Ur=Mr.findIndex(Sr=>String(Sr)===String(ii)),Lr=Ur!==-1?Mr[Ur]:ii;return cr[Yt]&&(cr[Yt]=Ma(cr[Yt],wt,Yt)),tr(Lr,cr)})):In},bt),bs=bt=>bt.flatMap(wt=>"children"in wt?[wt].concat((0,dr.Z)(bs(wt.children||[]))):[wt]);var Zl=bt=>{const{prefixCls:wt,dropdownPrefixCls:Yt,mergedColumns:dn,onFilterChange:In,getPopupContainer:Un,locale:tr,rootClassName:Jn}=bt,mr=(0,da.ln)("Table"),cr=x.useMemo(()=>bs(dn||[]),[dn]),[ii,Mr]=x.useState(()=>ru(cr,!0)),Ur=x.useMemo(()=>{const mi=ru(cr,!1);if(mi.length===0)return mi;let eo=!0,co=!0;if(mi.forEach(qi=>{let{filteredKeys:po}=qi;po!==void 0?eo=!1:co=!1}),eo){const qi=(cr||[]).map((po,Io)=>ha(po,ga(Io)));return ii.filter(po=>{let{key:Io}=po;return qi.includes(Io)}).map(po=>{const Io=cr[qi.findIndex(jo=>jo===po.key)];return Object.assign(Object.assign({},po),{column:Object.assign(Object.assign({},po.column),Io),forceFiltered:Io.filtered})})}return mi},[cr,ii]),Lr=x.useMemo(()=>Fa(Ur),[Ur]),Sr=mi=>{const eo=Ur.filter(co=>{let{key:qi}=co;return qi!==mi.key});eo.push(mi),Mr(eo),In(Fa(eo),eo)};return[mi=>fu(wt,Yt,mi,Ur,tr,Sr,Un,void 0,Jn),Ur,Lr]},Gc=(bt,wt,Yt)=>{const dn=x.useRef({});function In(Un){var tr;if(!dn.current||dn.current.data!==bt||dn.current.childrenColumnName!==wt||dn.current.getRowKey!==Yt){let mr=function(cr){cr.forEach((ii,Mr)=>{const Ur=Yt(ii,Mr);Jn.set(Ur,ii),ii&&typeof ii=="object"&&wt in ii&&mr(ii[wt]||[])})};const Jn=new Map;mr(bt),dn.current={data:bt,childrenColumnName:wt,kvMap:Jn,getRowKey:Yt}}return(tr=dn.current.kvMap)===null||tr===void 0?void 0:tr.get(Un)}return[In]},wc=function(bt,wt){var Yt={};for(var dn in bt)Object.prototype.hasOwnProperty.call(bt,dn)&&wt.indexOf(dn)<0&&(Yt[dn]=bt[dn]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,dn=Object.getOwnPropertySymbols(bt);In{const Un=bt[In];typeof Un!="function"&&(Yt[In]=Un)}),Yt}function bc(bt,wt,Yt){const dn=Yt&&typeof Yt=="object"?Yt:{},{total:In=0}=dn,Un=wc(dn,["total"]),[tr,Jn]=(0,x.useState)(()=>({current:"defaultCurrent"in Un?Un.defaultCurrent:1,pageSize:"defaultPageSize"in Un?Un.defaultPageSize:pA})),mr=(0,Gu.Z)(tr,Un,{total:In>0?In:bt}),cr=Math.ceil((In||bt)/mr.pageSize);mr.current>cr&&(mr.current=cr||1);const ii=(Ur,Lr)=>{Jn({current:Ur!=null?Ur:1,pageSize:Lr||mr.pageSize})},Mr=(Ur,Lr)=>{var Sr;Yt&&((Sr=Yt.onChange)===null||Sr===void 0||Sr.call(Yt,Ur,Lr)),ii(Ur,Lr),wt(Ur,Lr||(mr==null?void 0:mr.pageSize))};return Yt===!1?[{},()=>{}]:[Object.assign(Object.assign({},mr),{onChange:Mr}),ii]}var iA=bc,oA=ae(89489),Ed=ae(59477),Jf=ae(25399);const nd="ascend",PA="descend",gA=bt=>typeof bt.sorter=="object"&&typeof bt.sorter.multiple=="number"?bt.sorter.multiple:!1,Ou=bt=>typeof bt=="function"?bt:bt&&typeof bt=="object"&&bt.compare?bt.compare:!1,TA=(bt,wt)=>wt?bt[bt.indexOf(wt)+1]:bt[0],aA=(bt,wt,Yt)=>{let dn=[];const In=(Un,tr)=>{dn.push({column:Un,key:ha(Un,tr),multiplePriority:gA(Un),sortOrder:Un.sortOrder})};return(bt||[]).forEach((Un,tr)=>{const Jn=ga(tr,Yt);Un.children?("sortOrder"in Un&&In(Un,Jn),dn=[].concat((0,dr.Z)(dn),(0,dr.Z)(aA(Un.children,wt,Jn)))):Un.sorter&&("sortOrder"in Un?In(Un,Jn):wt&&Un.defaultSortOrder&&dn.push({column:Un,key:ha(Un,Jn),multiplePriority:gA(Un),sortOrder:Un.defaultSortOrder}))}),dn},Sd=(bt,wt,Yt,dn,In,Un,tr,Jn)=>(wt||[]).map((cr,ii)=>{const Mr=ga(ii,Jn);let Ur=cr;if(Ur.sorter){const Lr=Ur.sortDirections||In,Sr=Ur.showSorterTooltip===void 0?tr:Ur.showSorterTooltip,Wi=ha(Ur,Mr),mi=Yt.find(oa=>{let{key:ta}=oa;return ta===Wi}),eo=mi?mi.sortOrder:null,co=TA(Lr,eo);let qi;if(cr.sortIcon)qi=cr.sortIcon({sortOrder:eo});else{const oa=Lr.includes(nd)&&x.createElement(Ed.Z,{className:Ne()(`${bt}-column-sorter-up`,{active:eo===nd})}),ta=Lr.includes(PA)&&x.createElement(oA.Z,{className:Ne()(`${bt}-column-sorter-down`,{active:eo===PA})});qi=x.createElement("span",{className:Ne()(`${bt}-column-sorter`,{[`${bt}-column-sorter-full`]:!!(oa&&ta)})},x.createElement("span",{className:`${bt}-column-sorter-inner`,"aria-hidden":"true"},oa,ta))}const{cancelSort:po,triggerAsc:Io,triggerDesc:jo}=Un||{};let Uo=po;co===PA?Uo=jo:co===nd&&(Uo=Io);const Da=typeof Sr=="object"?Object.assign({title:Uo},Sr):{title:Uo};Ur=Object.assign(Object.assign({},Ur),{className:Ne()(Ur.className,{[`${bt}-column-sort`]:eo}),title:oa=>{const ta=`${bt}-column-sorters`,Zo=x.createElement("span",{className:`${bt}-column-title`},es(cr.title,oa)),Ho=x.createElement("div",{className:ta},Zo,qi);return Sr?typeof Sr!="boolean"&&(Sr==null?void 0:Sr.target)==="sorter-icon"?x.createElement("div",{className:`${ta} ${bt}-column-sorters-tooltip-target-sorter`},Zo,x.createElement(Jf.Z,Object.assign({},Da),qi)):x.createElement(Jf.Z,Object.assign({},Da),Ho):Ho},onHeaderCell:oa=>{var ta;const Zo=((ta=cr.onHeaderCell)===null||ta===void 0?void 0:ta.call(cr,oa))||{},Ho=Zo.onClick,Ko=Zo.onKeyDown;Zo.onClick=_o=>{dn({column:cr,key:Wi,sortOrder:co,multiplePriority:gA(cr)}),Ho==null||Ho(_o)},Zo.onKeyDown=_o=>{_o.keyCode===ka.Z.ENTER&&(dn({column:cr,key:Wi,sortOrder:co,multiplePriority:gA(cr)}),Ko==null||Ko(_o))};const yo=Ya(cr.title,{}),ho=yo==null?void 0:yo.toString();return eo&&(Zo["aria-sort"]=eo==="ascend"?"ascending":"descending"),Zo["aria-label"]=ho||"",Zo.className=Ne()(Zo.className,`${bt}-column-has-sorters`),Zo.tabIndex=0,cr.ellipsis&&(Zo.title=(yo!=null?yo:"").toString()),Zo}})}return"children"in Ur&&(Ur=Object.assign(Object.assign({},Ur),{children:Sd(bt,Ur.children,Yt,dn,In,Un,tr,Mr)})),Ur}),qf=bt=>{const{column:wt,sortOrder:Yt}=bt;return{column:wt,order:Yt,field:wt.dataIndex,columnKey:wt.key}},Ms=bt=>{const wt=bt.filter(Yt=>{let{sortOrder:dn}=Yt;return dn}).map(qf);if(wt.length===0&&bt.length){const Yt=bt.length-1;return Object.assign(Object.assign({},qf(bt[Yt])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return wt.length<=1?wt[0]||{}:wt},Ju=(bt,wt,Yt)=>{const dn=wt.slice().sort((tr,Jn)=>Jn.multiplePriority-tr.multiplePriority),In=bt.slice(),Un=dn.filter(tr=>{let{column:{sorter:Jn},sortOrder:mr}=tr;return Ou(Jn)&&mr});return Un.length?In.sort((tr,Jn)=>{for(let mr=0;mr{const Jn=tr[Yt];return Jn?Object.assign(Object.assign({},tr),{[Yt]:Ju(Jn,wt,Yt)}):tr}):In};var Th=bt=>{const{prefixCls:wt,mergedColumns:Yt,sortDirections:dn,tableLocale:In,showSorterTooltip:Un,onSorterChange:tr}=bt,[Jn,mr]=x.useState(aA(Yt,!0)),cr=(Wi,mi)=>{const eo=[];return Wi.forEach((co,qi)=>{const po=ga(qi,mi);if(eo.push(ha(co,po)),Array.isArray(co.children)){const Io=cr(co.children,po);eo.push.apply(eo,(0,dr.Z)(Io))}}),eo},ii=x.useMemo(()=>{let Wi=!0;const mi=aA(Yt,!1);if(!mi.length){const po=cr(Yt);return Jn.filter(Io=>{let{key:jo}=Io;return po.includes(jo)})}const eo=[];function co(po){Wi?eo.push(po):eo.push(Object.assign(Object.assign({},po),{sortOrder:null}))}let qi=null;return mi.forEach(po=>{qi===null?(co(po),po.sortOrder&&(po.multiplePriority===!1?Wi=!1:qi=!0)):(qi&&po.multiplePriority!==!1||(Wi=!1),co(po))}),eo},[Yt,Jn]),Mr=x.useMemo(()=>{var Wi,mi;const eo=ii.map(co=>{let{column:qi,sortOrder:po}=co;return{column:qi,order:po}});return{sortColumns:eo,sortColumn:(Wi=eo[0])===null||Wi===void 0?void 0:Wi.column,sortOrder:(mi=eo[0])===null||mi===void 0?void 0:mi.order}},[ii]),Ur=Wi=>{let mi;Wi.multiplePriority===!1||!ii.length||ii[0].multiplePriority===!1?mi=[Wi]:mi=[].concat((0,dr.Z)(ii.filter(eo=>{let{key:co}=eo;return co!==Wi.key})),[Wi]),mr(mi),tr(Ms(mi),mi)};return[Wi=>Sd(wt,Wi,ii,Ur,dn,In,Un),ii,Mr,()=>Ms(ii)]};const Xc=(bt,wt)=>bt.map(dn=>{const In=Object.assign({},dn);return In.title=es(dn.title,wt),"children"in In&&(In.children=Xc(In.children,wt)),In});var Fd=bt=>[x.useCallback(Yt=>Xc(Yt,bt),[bt])],bf=Ii((bt,wt)=>{const{_renderTimes:Yt}=bt,{_renderTimes:dn}=wt;return Yt!==dn}),Yc=$r((bt,wt)=>{const{_renderTimes:Yt}=bt,{_renderTimes:dn}=wt;return Yt!==dn}),ma=ae(36237),Rl=ae(17835),Mc=ae(63356),rd=ae(16931),kA=ae(51636),MA=bt=>{const{componentCls:wt,lineWidth:Yt,lineType:dn,tableBorderColor:In,tableHeaderBg:Un,tablePaddingVertical:tr,tablePaddingHorizontal:Jn,calc:mr}=bt,cr=`${(0,ma.unit)(Yt)} ${dn} ${In}`,ii=(Mr,Ur,Lr)=>({[`&${wt}-${Mr}`]:{[`> ${wt}-container`]:{[`> ${wt}-content, > ${wt}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${wt}-expanded-row-fixed`]:{margin:`${(0,ma.unit)(mr(Ur).mul(-1).equal())} + ${(0,ma.unit)(mr(mr(Lr).add(Yt)).mul(-1).equal())}`}}}}}});return{[`${wt}-wrapper`]:{[`${wt}${wt}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${wt}-title`]:{border:cr,borderBottom:0},[`> ${wt}-container`]:{borderInlineStart:cr,borderTop:cr,[` + > ${wt}-content, + > ${wt}-header, + > ${wt}-body, + > ${wt}-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:cr},"> thead":{"> tr:not(:last-child) > th":{borderBottom:cr},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${wt}-cell-fix-right-first::after`]:{borderInlineEnd:cr}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${wt}-expanded-row-fixed`]:{margin:`${(0,ma.unit)(mr(tr).mul(-1).equal())} ${(0,ma.unit)(mr(mr(Jn).add(Yt)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:Yt,bottom:0,borderInlineEnd:cr,content:'""'}}}}}},[`&${wt}-scroll-horizontal`]:{[`> ${wt}-container > ${wt}-body`]:{"> table > tbody":{[` + > tr${wt}-expanded-row, + > tr${wt}-placeholder + `]:{"> th, > td":{borderInlineEnd:0}}}}}},ii("middle",bt.tablePaddingVerticalMiddle,bt.tablePaddingHorizontalMiddle)),ii("small",bt.tablePaddingVerticalSmall,bt.tablePaddingHorizontalSmall)),{[`> ${wt}-footer`]:{border:cr,borderTop:0}}),[`${wt}-cell`]:{[`${wt}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,ma.unit)(Yt)} 0 ${(0,ma.unit)(Yt)} ${Un}`}},[`${wt}-bordered ${wt}-cell-scrollbar`]:{borderInlineEnd:cr}}}},Uc=bt=>{const{componentCls:wt}=bt;return{[`${wt}-wrapper`]:{[`${wt}-cell-ellipsis`]:Object.assign(Object.assign({},Mc.vS),{wordBreak:"keep-all",[` + &${wt}-cell-fix-left-last, + &${wt}-cell-fix-right-first + `]:{overflow:"visible",[`${wt}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${wt}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Zp=bt=>{const{componentCls:wt}=bt;return{[`${wt}-wrapper`]:{[`${wt}-tbody > tr${wt}-placeholder`]:{textAlign:"center",color:bt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:bt.colorBgContainer}}}}},Dc=bt=>{const{componentCls:wt,antCls:Yt,motionDurationSlow:dn,lineWidth:In,paddingXS:Un,lineType:tr,tableBorderColor:Jn,tableExpandIconBg:mr,tableExpandColumnWidth:cr,borderRadius:ii,tablePaddingVertical:Mr,tablePaddingHorizontal:Ur,tableExpandedRowBg:Lr,paddingXXS:Sr,expandIconMarginTop:Wi,expandIconSize:mi,expandIconHalfInner:eo,expandIconScale:co,calc:qi}=bt,po=`${(0,ma.unit)(In)} ${tr} ${Jn}`,Io=qi(Sr).sub(In).equal();return{[`${wt}-wrapper`]:{[`${wt}-expand-icon-col`]:{width:cr},[`${wt}-row-expand-icon-cell`]:{textAlign:"center",[`${wt}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${wt}-row-indent`]:{height:1,float:"left"},[`${wt}-row-expand-icon`]:Object.assign(Object.assign({},(0,Mc.Nd)(bt)),{position:"relative",float:"left",width:mi,height:mi,color:"inherit",lineHeight:(0,ma.unit)(mi),background:mr,border:po,borderRadius:ii,transform:`scale(${co})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${dn} ease-out`,content:'""'},"&::before":{top:eo,insetInlineEnd:Io,insetInlineStart:Io,height:In},"&::after":{top:Io,bottom:Io,insetInlineStart:eo,width:In,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"}}),[`${wt}-row-indent + ${wt}-row-expand-icon`]:{marginTop:Wi,marginInlineEnd:Un},[`tr${wt}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Lr}},[`${Yt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${wt}-expanded-row-fixed`]:{position:"relative",margin:`${(0,ma.unit)(qi(Mr).mul(-1).equal())} ${(0,ma.unit)(qi(Ur).mul(-1).equal())}`,padding:`${(0,ma.unit)(Mr)} ${(0,ma.unit)(Ur)}`}}}},zs=bt=>{const{componentCls:wt,antCls:Yt,iconCls:dn,tableFilterDropdownWidth:In,tableFilterDropdownSearchWidth:Un,paddingXXS:tr,paddingXS:Jn,colorText:mr,lineWidth:cr,lineType:ii,tableBorderColor:Mr,headerIconColor:Ur,fontSizeSM:Lr,tablePaddingHorizontal:Sr,borderRadius:Wi,motionDurationSlow:mi,colorTextDescription:eo,colorPrimary:co,tableHeaderFilterActiveBg:qi,colorTextDisabled:po,tableFilterDropdownBg:Io,tableFilterDropdownHeight:jo,controlItemBgHover:Uo,controlItemBgActive:Da,boxShadowSecondary:oa,filterDropdownMenuBg:ta,calc:Zo}=bt,Ho=`${Yt}-dropdown`,Ko=`${wt}-filter-dropdown`,yo=`${Yt}-tree`,ho=`${(0,ma.unit)(cr)} ${ii} ${Mr}`;return[{[`${wt}-wrapper`]:{[`${wt}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${wt}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Zo(tr).mul(-1).equal(),marginInline:`${(0,ma.unit)(tr)} ${(0,ma.unit)(Zo(Sr).div(2).mul(-1).equal())}`,padding:`0 ${(0,ma.unit)(tr)}`,color:Ur,fontSize:Lr,borderRadius:Wi,cursor:"pointer",transition:`all ${mi}`,"&:hover":{color:eo,background:qi},"&.active":{color:co}}}},{[`${Yt}-dropdown`]:{[Ko]:Object.assign(Object.assign({},(0,Mc.Wf)(bt)),{minWidth:In,backgroundColor:Io,borderRadius:Wi,boxShadow:oa,overflow:"hidden",[`${Ho}-menu`]:{maxHeight:jo,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ta,"&:empty::after":{display:"block",padding:`${(0,ma.unit)(Jn)} 0`,color:po,fontSize:Lr,textAlign:"center",content:'"Not Found"'}},[`${Ko}-tree`]:{paddingBlock:`${(0,ma.unit)(Jn)} 0`,paddingInline:Jn,[yo]:{padding:0},[`${yo}-treenode ${yo}-node-content-wrapper:hover`]:{backgroundColor:Uo},[`${yo}-treenode-checkbox-checked ${yo}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Da}}},[`${Ko}-search`]:{padding:Jn,borderBottom:ho,"&-input":{input:{minWidth:Un},[dn]:{color:po}}},[`${Ko}-checkall`]:{width:"100%",marginBottom:tr,marginInlineStart:tr},[`${Ko}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,ma.unit)(Zo(Jn).sub(cr).equal())} ${(0,ma.unit)(Jn)}`,overflow:"hidden",borderTop:ho}})}},{[`${Yt}-dropdown ${Ko}, ${Ko}-submenu`]:{[`${Yt}-checkbox-wrapper + span`]:{paddingInlineStart:Jn,color:mr},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},od=bt=>{const{componentCls:wt,lineWidth:Yt,colorSplit:dn,motionDurationSlow:In,zIndexTableFixed:Un,tableBg:tr,zIndexTableSticky:Jn,calc:mr}=bt,cr=dn;return{[`${wt}-wrapper`]:{[` + ${wt}-cell-fix-left, + ${wt}-cell-fix-right + `]:{position:"sticky !important",zIndex:Un,background:tr},[` + ${wt}-cell-fix-left-first::after, + ${wt}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:mr(Yt).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${In}`,content:'""',pointerEvents:"none"},[`${wt}-cell-fix-left-all::after`]:{display:"none"},[` + ${wt}-cell-fix-right-first::after, + ${wt}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:mr(Yt).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${In}`,content:'""',pointerEvents:"none"},[`${wt}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:mr(Jn).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${In}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${wt}-ping-left`]:{[`&:not(${wt}-has-fix-left) ${wt}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${cr}`},[` + ${wt}-cell-fix-left-first::after, + ${wt}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${cr}`},[`${wt}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${wt}-ping-right`]:{[`&:not(${wt}-has-fix-right) ${wt}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${cr}`},[` + ${wt}-cell-fix-right-first::after, + ${wt}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${cr}`}},[`${wt}-fixed-column-gapped`]:{[` + ${wt}-cell-fix-left-first::after, + ${wt}-cell-fix-left-last::after, + ${wt}-cell-fix-right-first::after, + ${wt}-cell-fix-right-last::after + `]:{boxShadow:"none"}}}}},wA=bt=>{const{componentCls:wt,antCls:Yt,margin:dn}=bt;return{[`${wt}-wrapper`]:{[`${wt}-pagination${Yt}-pagination`]:{margin:`${(0,ma.unit)(dn)} 0`},[`${wt}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:bt.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},xf=bt=>{const{componentCls:wt,tableRadius:Yt}=bt;return{[`${wt}-wrapper`]:{[wt]:{[`${wt}-title, ${wt}-header`]:{borderRadius:`${(0,ma.unit)(Yt)} ${(0,ma.unit)(Yt)} 0 0`},[`${wt}-title + ${wt}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${wt}-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:Yt,borderStartEndRadius:Yt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Yt},"> *:last-child":{borderStartEndRadius:Yt}}},"&-footer":{borderRadius:`0 0 ${(0,ma.unit)(Yt)} ${(0,ma.unit)(Yt)}`}}}}},Mh=bt=>{const{componentCls:wt}=bt;return{[`${wt}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${wt}-pagination-left`]:{justifyContent:"flex-end"},[`${wt}-pagination-right`]:{justifyContent:"flex-start"},[`${wt}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${wt}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${wt}-row-indent`]:{float:"right"}}}}},lc=bt=>{const{componentCls:wt,antCls:Yt,iconCls:dn,fontSizeIcon:In,padding:Un,paddingXS:tr,headerIconColor:Jn,headerIconHoverColor:mr,tableSelectionColumnWidth:cr,tableSelectedRowBg:ii,tableSelectedRowHoverBg:Mr,tableRowHoverBg:Ur,tablePaddingHorizontal:Lr,calc:Sr}=bt;return{[`${wt}-wrapper`]:{[`${wt}-selection-col`]:{width:cr,[`&${wt}-selection-col-with-dropdown`]:{width:Sr(cr).add(In).add(Sr(Un).div(4)).equal()}},[`${wt}-bordered ${wt}-selection-col`]:{width:Sr(cr).add(Sr(tr).mul(2)).equal(),[`&${wt}-selection-col-with-dropdown`]:{width:Sr(cr).add(In).add(Sr(Un).div(4)).add(Sr(tr).mul(2)).equal()}},[` + table tr th${wt}-selection-column, + table tr td${wt}-selection-column, + ${wt}-selection-column + `]:{paddingInlineEnd:bt.paddingXS,paddingInlineStart:bt.paddingXS,textAlign:"center",[`${Yt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${wt}-selection-column${wt}-cell-fix-left`]:{zIndex:Sr(bt.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${wt}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${wt}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${wt}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${bt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,ma.unit)(Sr(Lr).div(4).equal()),[dn]:{color:Jn,fontSize:In,verticalAlign:"baseline","&:hover":{color:mr}}},[`${wt}-tbody`]:{[`${wt}-row`]:{[`&${wt}-row-selected`]:{[`> ${wt}-cell`]:{background:ii,"&-row-hover":{background:Mr}}},[`> ${wt}-cell-row-hover`]:{background:Ur}}}}}},up=bt=>{const{componentCls:wt,tableExpandColumnWidth:Yt,calc:dn}=bt,In=(Un,tr,Jn,mr)=>({[`${wt}${wt}-${Un}`]:{fontSize:mr,[` + ${wt}-title, + ${wt}-footer, + ${wt}-cell, + ${wt}-thead > tr > th, + ${wt}-tbody > tr > th, + ${wt}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{padding:`${(0,ma.unit)(tr)} ${(0,ma.unit)(Jn)}`},[`${wt}-filter-trigger`]:{marginInlineEnd:(0,ma.unit)(dn(Jn).div(2).mul(-1).equal())},[`${wt}-expanded-row-fixed`]:{margin:`${(0,ma.unit)(dn(tr).mul(-1).equal())} ${(0,ma.unit)(dn(Jn).mul(-1).equal())}`},[`${wt}-tbody`]:{[`${wt}-wrapper:only-child ${wt}`]:{marginBlock:(0,ma.unit)(dn(tr).mul(-1).equal()),marginInline:`${(0,ma.unit)(dn(Yt).sub(Jn).equal())} ${(0,ma.unit)(dn(Jn).mul(-1).equal())}`}},[`${wt}-selection-extra`]:{paddingInlineStart:(0,ma.unit)(dn(Jn).div(4).equal())}}});return{[`${wt}-wrapper`]:Object.assign(Object.assign({},In("middle",bt.tablePaddingVerticalMiddle,bt.tablePaddingHorizontalMiddle,bt.tableFontSizeMiddle)),In("small",bt.tablePaddingVerticalSmall,bt.tablePaddingHorizontalSmall,bt.tableFontSizeSmall))}},Xd=bt=>{const{componentCls:wt,marginXXS:Yt,fontSizeIcon:dn,headerIconColor:In,headerIconHoverColor:Un}=bt;return{[`${wt}-wrapper`]:{[`${wt}-thead th${wt}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${bt.motionDurationSlow}, left 0s`,"&:hover":{background:bt.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:bt.colorPrimary},[` + &${wt}-cell-fix-left:hover, + &${wt}-cell-fix-right:hover + `]:{background:bt.tableFixedHeaderSortActiveBg}},[`${wt}-thead th${wt}-column-sort`]:{background:bt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${wt}-column-sort`]:{background:bt.tableBodySortBg},[`${wt}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${wt}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${wt}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${wt}-column-sorter`]:{marginInlineStart:Yt,color:In,fontSize:0,transition:`color ${bt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:dn,"&.active":{color:bt.colorPrimary}},[`${wt}-column-sorter-up + ${wt}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${wt}-column-sorters:hover ${wt}-column-sorter`]:{color:Un}}}},Yd=bt=>{const{componentCls:wt,opacityLoading:Yt,tableScrollThumbBg:dn,tableScrollThumbBgHover:In,tableScrollThumbSize:Un,tableScrollBg:tr,zIndexTableSticky:Jn,stickyScrollBarBorderRadius:mr,lineWidth:cr,lineType:ii,tableBorderColor:Mr}=bt,Ur=`${(0,ma.unit)(cr)} ${ii} ${Mr}`;return{[`${wt}-wrapper`]:{[`${wt}-sticky`]:{"&-holder":{position:"sticky",zIndex:Jn,background:bt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,ma.unit)(Un)} !important`,zIndex:Jn,display:"flex",alignItems:"center",background:tr,borderTop:Ur,opacity:Yt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Un,backgroundColor:dn,borderRadius:mr,transition:`all ${bt.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:In}}}}}}},uc=bt=>{const{componentCls:wt,lineWidth:Yt,tableBorderColor:dn,calc:In}=bt,Un=`${(0,ma.unit)(Yt)} ${bt.lineType} ${dn}`;return{[`${wt}-wrapper`]:{[`${wt}-summary`]:{position:"relative",zIndex:bt.zIndexTableFixed,background:bt.tableBg,"> tr":{"> th, > td":{borderBottom:Un}}},[`div${wt}-summary`]:{boxShadow:`0 ${(0,ma.unit)(In(Yt).mul(-1).equal())} 0 ${dn}`}}}},cc=bt=>{const{componentCls:wt,motionDurationMid:Yt,lineWidth:dn,lineType:In,tableBorderColor:Un,calc:tr}=bt,Jn=`${(0,ma.unit)(dn)} ${In} ${Un}`,mr=`${wt}-expanded-row-cell`;return{[`${wt}-wrapper`]:{[`${wt}-tbody-virtual`]:{[`${wt}-tbody-virtual-holder-inner`]:{[` + & > ${wt}-row, + & > div:not(${wt}-row) > ${wt}-row + `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${wt}-cell`]:{borderBottom:Jn,transition:`background ${Yt}`},[`${wt}-expanded-row`]:{[`${mr}${mr}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,ma.unit)(dn)})`,borderInlineEnd:"none"}}},[`${wt}-bordered`]:{[`${wt}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Jn,position:"absolute"},[`${wt}-cell`]:{borderInlineEnd:Jn,[`&${wt}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:tr(dn).mul(-1).equal(),borderInlineStart:Jn}}},[`&${wt}-virtual`]:{[`${wt}-placeholder ${wt}-cell`]:{borderInlineEnd:Jn,borderBottom:Jn}}}}}};const Tu=bt=>{const{componentCls:wt,fontWeightStrong:Yt,tablePaddingVertical:dn,tablePaddingHorizontal:In,tableExpandColumnWidth:Un,lineWidth:tr,lineType:Jn,tableBorderColor:mr,tableFontSize:cr,tableBg:ii,tableRadius:Mr,tableHeaderTextColor:Ur,motionDurationMid:Lr,tableHeaderBg:Sr,tableHeaderCellSplitColor:Wi,tableFooterTextColor:mi,tableFooterBg:eo,calc:co}=bt,qi=`${(0,ma.unit)(tr)} ${Jn} ${mr}`;return{[`${wt}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Mc.dF)()),{[wt]:Object.assign(Object.assign({},(0,Mc.Wf)(bt)),{fontSize:cr,background:ii,borderRadius:`${(0,ma.unit)(Mr)} ${(0,ma.unit)(Mr)} 0 0`,scrollbarColor:`${bt.tableScrollThumbBg} ${bt.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,ma.unit)(Mr)} ${(0,ma.unit)(Mr)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` + ${wt}-cell, + ${wt}-thead > tr > th, + ${wt}-tbody > tr > th, + ${wt}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{position:"relative",padding:`${(0,ma.unit)(dn)} ${(0,ma.unit)(In)}`,overflowWrap:"break-word"},[`${wt}-title`]:{padding:`${(0,ma.unit)(dn)} ${(0,ma.unit)(In)}`},[`${wt}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Ur,fontWeight:Yt,textAlign:"start",background:Sr,borderBottom:qi,transition:`background ${Lr} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${wt}-selection-column):not(${wt}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Wi,transform:"translateY(-50%)",transition:`background-color ${Lr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${wt}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Lr}, border-color ${Lr}`,borderBottom:qi,[` + > ${wt}-wrapper:only-child, + > ${wt}-expanded-row-fixed > ${wt}-wrapper:only-child + `]:{[wt]:{marginBlock:(0,ma.unit)(co(dn).mul(-1).equal()),marginInline:`${(0,ma.unit)(co(Un).sub(In).equal())} + ${(0,ma.unit)(co(In).mul(-1).equal())}`,[`${wt}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Ur,fontWeight:Yt,textAlign:"start",background:Sr,borderBottom:qi,transition:`background ${Lr} ease`}}},[`${wt}-footer`]:{padding:`${(0,ma.unit)(dn)} ${(0,ma.unit)(In)}`,color:mi,background:eo}})}},sd=bt=>{const{colorFillAlter:wt,colorBgContainer:Yt,colorTextHeading:dn,colorFillSecondary:In,colorFillContent:Un,controlItemBgActive:tr,controlItemBgActiveHover:Jn,padding:mr,paddingSM:cr,paddingXS:ii,colorBorderSecondary:Mr,borderRadiusLG:Ur,controlHeight:Lr,colorTextPlaceholder:Sr,fontSize:Wi,fontSizeSM:mi,lineHeight:eo,lineWidth:co,colorIcon:qi,colorIconHover:po,opacityLoading:Io,controlInteractiveSize:jo}=bt,Uo=new Rl.FastColor(In).onBackground(Yt).toHexString(),Da=new Rl.FastColor(Un).onBackground(Yt).toHexString(),oa=new Rl.FastColor(wt).onBackground(Yt).toHexString(),ta=new Rl.FastColor(qi),Zo=new Rl.FastColor(po),Ho=jo/2-co,Ko=Ho*2+co*3;return{headerBg:oa,headerColor:dn,headerSortActiveBg:Uo,headerSortHoverBg:Da,bodySortBg:oa,rowHoverBg:oa,rowSelectedBg:tr,rowSelectedHoverBg:Jn,rowExpandedBg:wt,cellPaddingBlock:mr,cellPaddingInline:mr,cellPaddingBlockMD:cr,cellPaddingInlineMD:ii,cellPaddingBlockSM:ii,cellPaddingInlineSM:ii,borderColor:Mr,headerBorderRadius:Ur,footerBg:oa,footerColor:dn,cellFontSize:Wi,cellFontSizeMD:Wi,cellFontSizeSM:Wi,headerSplitColor:Mr,fixedHeaderSortActiveBg:Uo,headerFilterHoverBg:Un,filterDropdownMenuBg:Yt,filterDropdownBg:Yt,expandIconBg:Yt,selectionColumnWidth:Lr,stickyScrollBarBg:Sr,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Wi*eo-co*3)/2-Math.ceil((mi*1.4-co*3)/2),headerIconColor:ta.clone().setA(ta.a*Io).toRgbString(),headerIconHoverColor:Zo.clone().setA(Zo.a*Io).toRgbString(),expandIconHalfInner:Ho,expandIconSize:Ko,expandIconScale:jo/Ko}},$d=2;var Bf=(0,rd.I$)("Table",bt=>{const{colorTextHeading:wt,colorSplit:Yt,colorBgContainer:dn,controlInteractiveSize:In,headerBg:Un,headerColor:tr,headerSortActiveBg:Jn,headerSortHoverBg:mr,bodySortBg:cr,rowHoverBg:ii,rowSelectedBg:Mr,rowSelectedHoverBg:Ur,rowExpandedBg:Lr,cellPaddingBlock:Sr,cellPaddingInline:Wi,cellPaddingBlockMD:mi,cellPaddingInlineMD:eo,cellPaddingBlockSM:co,cellPaddingInlineSM:qi,borderColor:po,footerBg:Io,footerColor:jo,headerBorderRadius:Uo,cellFontSize:Da,cellFontSizeMD:oa,cellFontSizeSM:ta,headerSplitColor:Zo,fixedHeaderSortActiveBg:Ho,headerFilterHoverBg:Ko,filterDropdownBg:yo,expandIconBg:ho,selectionColumnWidth:_o,stickyScrollBarBg:Xo,calc:na}=bt,bo=(0,kA.mergeToken)(bt,{tableFontSize:Da,tableBg:dn,tableRadius:Uo,tablePaddingVertical:Sr,tablePaddingHorizontal:Wi,tablePaddingVerticalMiddle:mi,tablePaddingHorizontalMiddle:eo,tablePaddingVerticalSmall:co,tablePaddingHorizontalSmall:qi,tableBorderColor:po,tableHeaderTextColor:tr,tableHeaderBg:Un,tableFooterTextColor:jo,tableFooterBg:Io,tableHeaderCellSplitColor:Zo,tableHeaderSortBg:Jn,tableHeaderSortHoverBg:mr,tableBodySortBg:cr,tableFixedHeaderSortActiveBg:Ho,tableHeaderFilterActiveBg:Ko,tableFilterDropdownBg:yo,tableRowHoverBg:ii,tableSelectedRowBg:Mr,tableSelectedRowHoverBg:Ur,zIndexTableFixed:$d,zIndexTableSticky:na($d).add(1).equal({unit:!1}),tableFontSizeMiddle:oa,tableFontSizeSmall:ta,tableSelectionColumnWidth:_o,tableExpandIconBg:ho,tableExpandColumnWidth:na(In).add(na(bt.padding).mul(2)).equal(),tableExpandedRowBg:Lr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Xo,tableScrollThumbBgHover:wt,tableScrollBg:Yt});return[Tu(bo),wA(bo),uc(bo),Xd(bo),zs(bo),MA(bo),xf(bo),Dc(bo),uc(bo),Zp(bo),lc(bo),od(bo),Yd(bo),Uc(bo),up(bo),Mh(bo),cc(bo)]},sd,{unitless:{expandIconScale:!0}});const Ap=[],dp=(bt,wt)=>{var Yt,dn;const{prefixCls:In,className:Un,rootClassName:tr,style:Jn,size:mr,bordered:cr,dropdownPrefixCls:ii,dataSource:Mr,pagination:Ur,rowSelection:Lr,rowKey:Sr="key",rowClassName:Wi,columns:mi,children:eo,childrenColumnName:co,onChange:qi,getPopupContainer:po,loading:Io,expandIcon:jo,expandable:Uo,expandedRowRender:Da,expandIconColumnIndex:oa,indentSize:ta,scroll:Zo,sortDirections:Ho,locale:Ko,showSorterTooltip:yo={target:"full-header"},virtual:ho}=bt,_o=(0,da.ln)("Table"),Xo=x.useMemo(()=>mi||ar(eo),[mi,eo]),na=x.useMemo(()=>Xo.some(Ga=>Ga.responsive),[Xo]),bo=(0,fl.Z)(na),rs=x.useMemo(()=>{const Ga=new Set(Object.keys(bo).filter(ys=>bo[ys]));return Xo.filter(ys=>!ys.responsive||ys.responsive.some(_l=>Ga.has(_l)))},[Xo,bo]),Va=(0,qo.Z)(bt,["className","style","columns"]),{locale:kl=wu.Z,direction:xl,table:al,renderEmpty:Ao,getPrefixCls:Vl,getPopupContainer:ds}=x.useContext(il.E_),us=(0,tl.Z)(mr),nl=Object.assign(Object.assign({},kl.Table),Ko),uu=Mr||Ap,ra=Vl("table",In),Ca=Vl("dropdown",ii),[,Yo]=(0,vc.ZP)(),To=(0,Au.Z)(ra),[vs,Os,Gs]=Bf(ra,To),Ks=Object.assign(Object.assign({childrenColumnName:co,expandIconColumnIndex:oa},Uo),{expandIcon:(Yt=Uo==null?void 0:Uo.expandIcon)!==null&&Yt!==void 0?Yt:(dn=al==null?void 0:al.expandable)===null||dn===void 0?void 0:dn.expandIcon}),{childrenColumnName:sl="children"}=Ks,hu=x.useMemo(()=>uu.some(Ga=>Ga==null?void 0:Ga[sl])?"nest":Da||Uo!=null&&Uo.expandedRowRender?"row":null,[uu]),aa={body:x.useRef(null)},ea=La(ra),Is=x.useRef(null),Js=x.useRef(null);ls(wt,()=>Object.assign(Object.assign({},Js.current),{nativeElement:Is.current}));const Xs=x.useMemo(()=>typeof Sr=="function"?Sr:Ga=>Ga==null?void 0:Ga[Sr],[Sr]),[pu]=Gc(uu,sl,Xs),Ml={},Ac=function(Ga,ys){let _l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var iu,Bu,Eu,tc;const ju=Object.assign(Object.assign({},Ml),Ga);_l&&((iu=Ml.resetPagination)===null||iu===void 0||iu.call(Ml),!((Bu=ju.pagination)===null||Bu===void 0)&&Bu.current&&(ju.pagination.current=1),Ur&&((Eu=Ur.onChange)===null||Eu===void 0||Eu.call(Ur,1,(tc=ju.pagination)===null||tc===void 0?void 0:tc.pageSize))),Zo&&Zo.scrollToFirstRowOnChange!==!1&&aa.body.current&&(0,Fs.Z)(0,{getContainer:()=>aa.body.current}),qi==null||qi(ju.pagination,ju.filters,ju.sorter,{currentDataSource:Ma(Ju(uu,ju.sorterStates,sl),ju.filterStates,sl),action:ys})},Bl=(Ga,ys)=>{Ac({sorter:Ga,sorterStates:ys},"sort",!1)},[Cs,ll,ul,cu]=Th({prefixCls:ra,mergedColumns:rs,onSorterChange:Bl,sortDirections:Ho||["ascend","descend"],tableLocale:nl,showSorterTooltip:yo}),Ul=x.useMemo(()=>Ju(uu,ll,sl),[uu,ll]);Ml.sorter=cu(),Ml.sorterStates=ll;const xs=(Ga,ys)=>{Ac({filters:Ga,filterStates:ys},"filter",!0)},[vl,Ps,yl]=Zl({prefixCls:ra,locale:nl,dropdownPrefixCls:Ca,mergedColumns:rs,onFilterChange:xs,getPopupContainer:po||ds,rootClassName:Ne()(tr,To)}),Gl=Ma(Ul,Ps,sl);Ml.filters=yl,Ml.filterStates=Ps;const ku=x.useMemo(()=>{const Ga={};return Object.keys(yl).forEach(ys=>{yl[ys]!==null&&(Ga[ys]=yl[ys])}),Object.assign(Object.assign({},ul),{filters:Ga})},[ul,yl]),[Mu]=Fd(ku),$c=(Ga,ys)=>{Ac({pagination:Object.assign(Object.assign({},Ml.pagination),{current:Ga,pageSize:ys})},"paginate")},[cl,Dd]=iA(Gl.length,$c,Ur);Ml.pagination=Ur===!1?{}:Wl(cl,Ur),Ml.resetPagination=Dd;const _u=x.useMemo(()=>{if(Ur===!1||!cl.pageSize)return Gl;const{current:Ga=1,total:ys,pageSize:_l=pA}=cl;return Gl.length_l?Gl.slice((Ga-1)*_l,Ga*_l):Gl:Gl.slice((Ga-1)*_l,Ga*_l)},[!!Ur,Gl,cl==null?void 0:cl.current,cl==null?void 0:cl.pageSize,cl==null?void 0:cl.total]),[qu,Qu]=vo({prefixCls:ra,data:Gl,pageData:_u,getRowKey:Xs,getRecordByKey:pu,expandType:hu,childrenColumnName:sl,locale:nl,getPopupContainer:po||ds},Lr),ec=(Ga,ys,_l)=>{let iu;return typeof Wi=="function"?iu=Ne()(Wi(Ga,ys,_l)):iu=Ne()(Wi),Ne()({[`${ra}-row-selected`]:Qu.has(Xs(Ga,ys))},iu)};Ks.__PARENT_RENDER_ICON__=Ks.expandIcon,Ks.expandIcon=Ks.expandIcon||jo||fa(nl),hu==="nest"&&Ks.expandIconColumnIndex===void 0?Ks.expandIconColumnIndex=Lr?1:0:Ks.expandIconColumnIndex>0&&Lr&&(Ks.expandIconColumnIndex-=1),typeof Ks.indentSize!="number"&&(Ks.indentSize=typeof ta=="number"?ta:15);const Al=x.useCallback(Ga=>Mu(qu(vl(Cs(Ga)))),[Cs,vl,qu]);let Cc,xA;if(Ur!==!1&&(cl!=null&&cl.total)){let Ga;cl.size?Ga=cl.size:Ga=us==="small"||us==="middle"?"small":void 0;const ys=Bu=>x.createElement(Lu.Z,Object.assign({},cl,{className:Ne()(`${ra}-pagination ${ra}-pagination-${Bu}`,cl.className),size:Ga})),_l=xl==="rtl"?"left":"right",{position:iu}=cl;if(iu!==null&&Array.isArray(iu)){const Bu=iu.find(ju=>ju.includes("top")),Eu=iu.find(ju=>ju.includes("bottom")),tc=iu.every(ju=>`${ju}`=="none");!Bu&&!Eu&&!tc&&(xA=ys(_l)),Bu&&(Cc=ys(Bu.toLowerCase().replace("top",""))),Eu&&(xA=ys(Eu.toLowerCase().replace("bottom","")))}else xA=ys(_l)}let Rc;typeof Io=="boolean"?Rc={spinning:Io}:typeof Io=="object"&&(Rc=Object.assign({spinning:!0},Io));const Jc=Ne()(Gs,To,`${ra}-wrapper`,al==null?void 0:al.className,{[`${ra}-wrapper-rtl`]:xl==="rtl"},Un,tr,Os),Jd=Object.assign(Object.assign({},al==null?void 0:al.style),Jn),qd=typeof(Ko==null?void 0:Ko.emptyText)!="undefined"?Ko.emptyText:(Ao==null?void 0:Ao("Table"))||x.createElement(tu.Z,{componentName:"Table"}),Ts=ho?Yc:bf,ld={},Ef=x.useMemo(()=>{const{fontSize:Ga,lineHeight:ys,lineWidth:_l,padding:iu,paddingXS:Bu,paddingSM:Eu}=Yo,tc=Math.floor(Ga*ys);switch(us){case"middle":return Eu*2+tc+_l;case"small":return Bu*2+tc+_l;default:return iu*2+tc+_l}},[Yo,us]);return ho&&(ld.listItemHeight=Ef),vs(x.createElement("div",{ref:Is,className:Jc,style:Jd},x.createElement(hl.Z,Object.assign({spinning:!1},Rc),Cc,x.createElement(Ts,Object.assign({},ld,Va,{ref:Js,columns:rs,direction:xl,expandable:Ks,prefixCls:ra,className:Ne()({[`${ra}-middle`]:us==="middle",[`${ra}-small`]:us==="small",[`${ra}-bordered`]:cr,[`${ra}-empty`]:uu.length===0},Gs,To,Os),data:_u,rowKey:Xs,rowClassName:ec,emptyText:qd,internalHooks:Le,internalRefs:aa,transformColumns:Al,getContainerWidth:ea})),xA)))};var fp=x.forwardRef(dp);const nh=(bt,wt)=>{const Yt=x.useRef(0);return Yt.current+=1,x.createElement(fp,Object.assign({},bt,{ref:wt,_renderTimes:Yt.current}))},CA=x.forwardRef(nh);CA.SELECTION_COLUMN=xo,CA.EXPAND_COLUMN=dt,CA.SELECTION_ALL=ba,CA.SELECTION_INVERT=Xa,CA.SELECTION_NONE=ns,CA.Column=ro,CA.ColumnGroup=Yr,CA.Summary=vt;var Ld=CA,hp=Ld},96599:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return Ne}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(2738),He=ae(29509),Fe=ae(78776),Me=ae(22703),fe=ae(12919),xe=ae(48755),oe=ae(36237),Pe=ae(17835),ye=ae(63356),Re=ae(51636),Se=ae(16931);const Ie=Qe=>{const{paddingXXS:Ot,lineWidth:ot,tagPaddingHorizontal:lt,componentCls:Bt,calc:We}=Qe,ke=We(lt).sub(ot).equal(),At=We(Ot).sub(ot).equal();return{[Bt]:Object.assign(Object.assign({},(0,ye.Wf)(Qe)),{display:"inline-block",height:"auto",marginInlineEnd:Qe.marginXS,paddingInline:ke,fontSize:Qe.tagFontSize,lineHeight:Qe.tagLineHeight,whiteSpace:"nowrap",background:Qe.defaultBg,border:`${(0,oe.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.colorBorder}`,borderRadius:Qe.borderRadiusSM,opacity:1,transition:`all ${Qe.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Bt}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Qe.defaultColor},[`${Bt}-close-icon`]:{marginInlineStart:At,fontSize:Qe.tagIconSize,color:Qe.colorTextDescription,cursor:"pointer",transition:`all ${Qe.motionDurationMid}`,"&:hover":{color:Qe.colorTextHeading}},[`&${Bt}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Qe.iconCls}-close, ${Qe.iconCls}-close:hover`]:{color:Qe.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Bt}-checkable-checked):hover`]:{color:Qe.colorPrimary,backgroundColor:Qe.colorFillSecondary},"&:active, &-checked":{color:Qe.colorTextLightSolid},"&-checked":{backgroundColor:Qe.colorPrimary,"&:hover":{backgroundColor:Qe.colorPrimaryHover}},"&:active":{backgroundColor:Qe.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Qe.iconCls} + span, > span + ${Qe.iconCls}`]:{marginInlineStart:ke}}),[`${Bt}-borderless`]:{borderColor:"transparent",background:Qe.tagBorderlessBg}}},ve=Qe=>{const{lineWidth:Ot,fontSizeIcon:ot,calc:lt}=Qe,Bt=Qe.fontSizeSM;return(0,Re.mergeToken)(Qe,{tagFontSize:Bt,tagLineHeight:(0,oe.unit)(lt(Qe.lineHeightSM).mul(Bt).equal()),tagIconSize:lt(ot).sub(lt(Ot).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:Qe.defaultBg})},we=Qe=>({defaultBg:new Pe.FastColor(Qe.colorFillQuaternary).onBackground(Qe.colorBgContainer).toHexString(),defaultColor:Qe.colorText});var Ee=(0,Se.I$)("Tag",Qe=>{const Ot=ve(Qe);return Ie(Ot)},we),Oe=function(Qe,Ot){var ot={};for(var lt in Qe)Object.prototype.hasOwnProperty.call(Qe,lt)&&Ot.indexOf(lt)<0&&(ot[lt]=Qe[lt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,lt=Object.getOwnPropertySymbols(Qe);Bt{const{prefixCls:ot,style:lt,className:Bt,checked:We,onChange:ke,onClick:At}=Qe,Kt=Oe(Qe,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Ht,tag:nt}=x.useContext(xe.E_),Pt=Fn=>{ke==null||ke(!We),At==null||At(Fn)},Rt=Ht("tag",ot),[hn,Tt,mn]=Ee(Rt),kt=Le()(Rt,`${Rt}-checkable`,{[`${Rt}-checkable-checked`]:We},nt==null?void 0:nt.className,Bt,Tt,mn);return hn(x.createElement("span",Object.assign({},Kt,{ref:Ot,style:Object.assign(Object.assign({},lt),nt==null?void 0:nt.style),className:kt,onClick:Pt})))}),_e=ae(93427);const Je=Qe=>(0,_e.Z)(Qe,(Ot,ot)=>{let{textColor:lt,lightBorderColor:Bt,lightColor:We,darkColor:ke}=ot;return{[`${Qe.componentCls}${Qe.componentCls}-${Ot}`]:{color:lt,background:We,borderColor:Bt,"&-inverse":{color:Qe.colorTextLightSolid,background:ke,borderColor:ke},[`&${Qe.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Ve=(0,Se.bk)(["Tag","preset"],Qe=>{const Ot=ve(Qe);return Je(Ot)},we);function st(Qe){return typeof Qe!="string"?Qe:Qe.charAt(0).toUpperCase()+Qe.slice(1)}const at=(Qe,Ot,ot)=>{const lt=st(ot);return{[`${Qe.componentCls}${Qe.componentCls}-${Ot}`]:{color:Qe[`color${ot}`],background:Qe[`color${lt}Bg`],borderColor:Qe[`color${lt}Border`],[`&${Qe.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ht=(0,Se.bk)(["Tag","status"],Qe=>{const Ot=ve(Qe);return[at(Ot,"success","Success"),at(Ot,"processing","Info"),at(Ot,"error","Error"),at(Ot,"warning","Warning")]},we),Ct=function(Qe,Ot){var ot={};for(var lt in Qe)Object.prototype.hasOwnProperty.call(Qe,lt)&&Ot.indexOf(lt)<0&&(ot[lt]=Qe[lt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,lt=Object.getOwnPropertySymbols(Qe);Bt{const{prefixCls:ot,className:lt,rootClassName:Bt,style:We,children:ke,icon:At,color:Kt,onClose:Ht,bordered:nt=!0,visible:Pt}=Qe,Rt=Ct(Qe,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:hn,direction:Tt,tag:mn}=x.useContext(xe.E_),[kt,Fn]=x.useState(!0),an=(0,qe.Z)(Rt,["closeIcon","closable"]);x.useEffect(()=>{Pt!==void 0&&Fn(Pt)},[Pt]);const de=(0,He.o2)(Kt),ge=(0,He.yT)(Kt),ie=de||ge,ee=Object.assign(Object.assign({backgroundColor:Kt&&!ie?Kt:void 0},mn==null?void 0:mn.style),We),se=hn("tag",ot),[le,Be,Ge]=Ee(se),ut=Le()(se,mn==null?void 0:mn.className,{[`${se}-${Kt}`]:ie,[`${se}-has-color`]:Kt&&!ie,[`${se}-hidden`]:!kt,[`${se}-rtl`]:Tt==="rtl",[`${se}-borderless`]:!nt},lt,Bt,Be,Ge),mt=ct=>{ct.stopPropagation(),Ht==null||Ht(ct),!ct.defaultPrevented&&Fn(!1)},[,vt]=(0,Fe.Z)((0,Fe.w)(Qe),(0,Fe.w)(mn),{closable:!1,closeIconRender:ct=>{const Xt=x.createElement("span",{className:`${se}-close-icon`,onClick:mt},ct);return(0,Me.wm)(ct,Xt,Wt=>({onClick:wn=>{var ln;(ln=Wt==null?void 0:Wt.onClick)===null||ln===void 0||ln.call(Wt,wn),mt(wn)},className:Le()(Wt==null?void 0:Wt.className,`${se}-close-icon`)}))}}),St=typeof Rt.onClick=="function"||ke&&ke.type==="a",Dt=At||null,Qt=Dt?x.createElement(x.Fragment,null,Dt,ke&&x.createElement("span",null,ke)):ke,xt=x.createElement("span",Object.assign({},an,{ref:Ot,className:ut,style:ee}),Qt,vt,de&&x.createElement(Ve,{key:"preset",prefixCls:se}),ge&&x.createElement(ht,{key:"status",prefixCls:se}));return le(St?x.createElement(fe.Z,{component:"Tag"},xt):xt)});pt.CheckableTag=je;var Ne=pt},18287:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return Ht}});var x=ae(87632),dt=ae(77654),Le=ae(59301),qe=ae(52671),He=ae(8657),Fe=ae(60499),Me={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"},fe=Me,xe=ae(7657),oe=function(Pt,Rt){return Le.createElement(xe.Z,(0,Fe.Z)({},Pt,{ref:Rt,icon:fe}))},Pe=Le.forwardRef(oe),ye=Pe,Re=ae(92310),Se=ae.n(Re),Ie=ae(82661),ve=ae(34061),we=ae(48755),Ee=ae(56082),Oe=ae(86641),Ke=ae(57700),je=ae(12425);const _e=4;function Je(nt){const{dropPosition:Pt,dropLevelOffset:Rt,prefixCls:hn,indent:Tt,direction:mn="ltr"}=nt,kt=mn==="ltr"?"left":"right",Fn=mn==="ltr"?"right":"left",an={[kt]:-Rt*Tt+_e,[Fn]:0};switch(Pt){case-1:an.top=-3;break;case 1:an.bottom=-3;break;default:an.bottom=-3,an[kt]=Tt+_e;break}return Le.createElement("div",{style:an,className:`${hn}-drop-indicator`})}var Ve=Je,st=ae(85278),ht=Le.forwardRef((nt,Pt)=>{var Rt;const{getPrefixCls:hn,direction:Tt,virtual:mn,tree:kt}=Le.useContext(we.E_),{prefixCls:Fn,className:an,showIcon:de=!1,showLine:ge,switcherIcon:ie,switcherLoadingIcon:ee,blockNode:se=!1,children:le,checkable:Be=!1,selectable:Ge=!0,draggable:ut,motion:mt,style:vt}=nt,St=hn("tree",Fn),Dt=hn(),Qt=mt!=null?mt:Object.assign(Object.assign({},(0,Oe.Z)(Dt)),{motionAppear:!1}),xt=Object.assign(Object.assign({},nt),{checkable:Be,selectable:Ge,showIcon:de,motion:Qt,blockNode:se,showLine:!!ge,dropIndicatorRender:Ve}),[ct,Xt,Wt]=(0,je.ZP)(St),[,wn]=(0,Ke.ZP)(),ln=wn.paddingXS/2+(((Rt=wn.Tree)===null||Rt===void 0?void 0:Rt.titleHeight)||wn.controlHeightSM),nn=Le.useMemo(()=>{if(!ut)return!1;let Ln={};switch(typeof ut){case"function":Ln.nodeDraggable=ut;break;case"object":Ln=Object.assign({},ut);break;default:break}return Ln.icon!==!1&&(Ln.icon=Ln.icon||Le.createElement(Ee.Z,null)),Ln},[ut]),zn=Ln=>Le.createElement(st.Z,{prefixCls:St,switcherIcon:ie,switcherLoadingIcon:ee,treeNodeProps:Ln,showLine:ge});return ct(Le.createElement(x.ZP,Object.assign({itemHeight:ln,ref:Pt,virtual:mn},xt,{style:Object.assign(Object.assign({},kt==null?void 0:kt.style),vt),prefixCls:St,className:Se()({[`${St}-icon-hide`]:!de,[`${St}-block-node`]:se,[`${St}-unselectable`]:!Ge,[`${St}-rtl`]:Tt==="rtl"},kt==null?void 0:kt.className,an,Xt,Wt),direction:Tt,checkable:Be&&Le.createElement("span",{className:`${St}-checkbox-inner`}),selectable:Ge,switcherIcon:zn,draggable:nn}),le))});const Ct=0,ze=1,pt=2;function Ne(nt,Pt,Rt){const{key:hn,children:Tt}=Rt;function mn(kt){const Fn=kt[hn],an=kt[Tt];Pt(Fn,kt)!==!1&&Ne(an||[],Pt,Rt)}nt.forEach(mn)}function Qe(nt){let{treeData:Pt,expandedKeys:Rt,startKey:hn,endKey:Tt,fieldNames:mn}=nt;const kt=[];let Fn=Ct;if(hn&&hn===Tt)return[hn];if(!hn||!Tt)return[];function an(de){return de===hn||de===Tt}return Ne(Pt,de=>{if(Fn===pt)return!1;if(an(de)){if(kt.push(de),Fn===Ct)Fn=ze;else if(Fn===ze)return Fn=pt,!1}else Fn===ze&&kt.push(de);return Rt.includes(de)},(0,ve.w$)(mn)),kt}function Ot(nt,Pt,Rt){const hn=(0,dt.Z)(Pt),Tt=[];return Ne(nt,(mn,kt)=>{const Fn=hn.indexOf(mn);return Fn!==-1&&(Tt.push(kt),hn.splice(Fn,1)),!!hn.length},(0,ve.w$)(Rt)),Tt}var ot=function(nt,Pt){var Rt={};for(var hn in nt)Object.prototype.hasOwnProperty.call(nt,hn)&&Pt.indexOf(hn)<0&&(Rt[hn]=nt[hn]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,hn=Object.getOwnPropertySymbols(nt);Tt{var{defaultExpandAll:Rt,defaultExpandParent:hn,defaultExpandedKeys:Tt}=nt,mn=ot(nt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const kt=Le.useRef(null),Fn=Le.useRef(null),an=()=>{const{keyEntities:ct}=(0,ve.I8)(Bt(mn));let Xt;return Rt?Xt=Object.keys(ct):hn?Xt=(0,Ie.r7)(mn.expandedKeys||Tt||[],ct):Xt=mn.expandedKeys||Tt||[],Xt},[de,ge]=Le.useState(mn.selectedKeys||mn.defaultSelectedKeys||[]),[ie,ee]=Le.useState(()=>an());Le.useEffect(()=>{"selectedKeys"in mn&&ge(mn.selectedKeys)},[mn.selectedKeys]),Le.useEffect(()=>{"expandedKeys"in mn&&ee(mn.expandedKeys)},[mn.expandedKeys]);const se=(ct,Xt)=>{var Wt;return"expandedKeys"in mn||ee(ct),(Wt=mn.onExpand)===null||Wt===void 0?void 0:Wt.call(mn,ct,Xt)},le=(ct,Xt)=>{var Wt;const{multiple:wn,fieldNames:ln}=mn,{node:nn,nativeEvent:zn}=Xt,{key:Ln=""}=nn,_t=Bt(mn),un=Object.assign(Object.assign({},Xt),{selected:!0}),Pn=(zn==null?void 0:zn.ctrlKey)||(zn==null?void 0:zn.metaKey),Vn=zn==null?void 0:zn.shiftKey;let Lt;wn&&Pn?(Lt=ct,kt.current=Ln,Fn.current=Lt,un.selectedNodes=Ot(_t,Lt,ln)):wn&&Vn?(Lt=Array.from(new Set([].concat((0,dt.Z)(Fn.current||[]),(0,dt.Z)(Qe({treeData:_t,expandedKeys:ie,startKey:Ln,endKey:kt.current,fieldNames:ln}))))),un.selectedNodes=Ot(_t,Lt,ln)):(Lt=[Ln],kt.current=Ln,Fn.current=Lt,un.selectedNodes=Ot(_t,Lt,ln)),(Wt=mn.onSelect)===null||Wt===void 0||Wt.call(mn,Lt,un),"selectedKeys"in mn||ge(Lt)},{getPrefixCls:Be,direction:Ge}=Le.useContext(we.E_),{prefixCls:ut,className:mt,showIcon:vt=!0,expandAction:St="click"}=mn,Dt=ot(mn,["prefixCls","className","showIcon","expandAction"]),Qt=Be("tree",ut),xt=Se()(`${Qt}-directory`,{[`${Qt}-directory-rtl`]:Ge==="rtl"},mt);return Le.createElement(ht,Object.assign({icon:lt,ref:Pt,blockNode:!0},Dt,{showIcon:vt,expandAction:St,prefixCls:Qt,className:xt,expandedKeys:ie,selectedKeys:de,onSelect:le,onExpand:se}))};var At=Le.forwardRef(We);const Kt=ht;Kt.DirectoryTree=At,Kt.TreeNode=x.OF;var Ht=Kt},12425:function(Xn,Mt,ae){"use strict";ae.d(Mt,{ZP:function(){return Ie},Yk:function(){return ye},TM:function(){return Re}});var x=ae(36237),dt=ae(36170),Le=ae(63356),qe=ae(34961),He=ae(51636),Fe=ae(16931);const Me=ve=>{let{treeCls:we,treeNodeCls:Ee,directoryNodeSelectedBg:Oe,directoryNodeSelectedColor:Ke,motionDurationMid:je,borderRadius:_e,controlItemBgHover:Je}=ve;return{[`${we}${we}-directory ${Ee}`]:{[`${we}-node-content-wrapper`]:{position:"static",[`> *:not(${we}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${je}`,content:'""',borderRadius:_e},"&:hover:before":{background:Je}},[`${we}-switcher, ${we}-checkbox, ${we}-draggable-icon`]:{zIndex:1},"&-selected":{[`${we}-switcher, ${we}-draggable-icon`]:{color:Ke},[`${we}-node-content-wrapper`]:{color:Ke,background:"transparent","&:before, &:hover:before":{background:Oe}}}}}},fe=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),xe=(ve,we)=>({[`.${ve}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${we.motionDurationSlow}`}}}),oe=(ve,we)=>({[`.${ve}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:we.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,x.unit)(we.lineWidthBold)} solid ${we.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Pe=(ve,we)=>{const{treeCls:Ee,treeNodeCls:Oe,treeNodePadding:Ke,titleHeight:je,indentSize:_e,nodeSelectedBg:Je,nodeHoverBg:Ve,colorTextQuaternary:st,controlItemBgActiveDisabled:at}=we;return{[Ee]:Object.assign(Object.assign({},(0,Le.Wf)(we)),{background:we.colorBgContainer,borderRadius:we.borderRadius,transition:`background-color ${we.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Ee}-rtl ${Ee}-switcher_close ${Ee}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Ee}-active-focused)`]:Object.assign({},(0,Le.oN)(we)),[`${Ee}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ee}-block-node`]:{[`${Ee}-list-holder-inner`]:{alignItems:"stretch",[`${Ee}-node-content-wrapper`]:{flex:"auto"},[`${Oe}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${we.colorPrimary}`,opacity:0,animationName:fe,animationDuration:we.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:we.borderRadius}}},[Oe]:{display:"flex",alignItems:"flex-start",marginBottom:Ke,lineHeight:(0,x.unit)(je),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Ke},[`&-disabled ${Ee}-node-content-wrapper`]:{color:we.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Ee}-checkbox-disabled + ${Ee}-node-selected,&${Oe}-disabled${Oe}-selected ${Ee}-node-content-wrapper`]:{backgroundColor:at},[`${Ee}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Oe}-disabled)`]:{[`${Ee}-node-content-wrapper`]:{"&:hover":{color:we.nodeHoverColor}}},[`&-active ${Ee}-node-content-wrapper`]:{background:we.controlItemBgHover},[`&:not(${Oe}-disabled).filter-node ${Ee}-title`]:{color:we.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Ee}-draggable-icon`]:{flexShrink:0,width:je,textAlign:"center",visibility:"visible",color:st},[`&${Oe}-disabled ${Ee}-draggable-icon`]:{visibility:"hidden"}}},[`${Ee}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:_e}},[`${Ee}-draggable-icon`]:{visibility:"hidden"},[`${Ee}-switcher, ${Ee}-checkbox`]:{marginInlineEnd:we.calc(we.calc(je).sub(we.controlInteractiveSize)).div(2).equal()},[`${Ee}-switcher`]:Object.assign(Object.assign({},xe(ve,we)),{position:"relative",flex:"none",alignSelf:"stretch",width:je,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${we.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:je,height:je,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:we.borderRadius,transition:`all ${we.motionDurationSlow}`},[`&:not(${Ee}-switcher-noop):hover:before`]:{backgroundColor:we.colorBgTextHover},[`&_close ${Ee}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:we.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:we.calc(je).div(2).equal(),bottom:we.calc(Ke).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${we.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:we.calc(we.calc(je).div(2).equal()).mul(.8).equal(),height:we.calc(je).div(2).equal(),borderBottom:`1px solid ${we.colorBorder}`,content:'""'}}}),[`${Ee}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:je,paddingBlock:0,paddingInline:we.paddingXS,background:"transparent",borderRadius:we.borderRadius,cursor:"pointer",transition:`all ${we.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},oe(ve,we)),{"&:hover":{backgroundColor:Ve},[`&${Ee}-node-selected`]:{color:we.nodeSelectedColor,backgroundColor:Je},[`${Ee}-iconEle`]:{display:"inline-block",width:je,height:je,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Ee}-unselectable ${Ee}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Oe}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${we.colorPrimary}`},"&-show-line":{[`${Ee}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:we.calc(je).div(2).equal(),bottom:we.calc(Ke).mul(-1).equal(),borderInlineEnd:`1px solid ${we.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Ee}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Oe}-leaf-last ${Ee}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,x.unit)(we.calc(je).div(2).equal())} !important`}})}},ye=function(ve,we){let Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Oe=`.${ve}`,Ke=`${Oe}-treenode`,je=we.calc(we.paddingXS).div(2).equal(),_e=(0,He.mergeToken)(we,{treeCls:Oe,treeNodeCls:Ke,treeNodePadding:je});return[Pe(ve,_e),Ee&&Me(_e)].filter(Boolean)},Re=ve=>{const{controlHeightSM:we,controlItemBgHover:Ee,controlItemBgActive:Oe}=ve,Ke=we;return{titleHeight:Ke,indentSize:Ke,nodeHoverBg:Ee,nodeHoverColor:ve.colorText,nodeSelectedBg:Oe,nodeSelectedColor:ve.colorText}},Se=ve=>{const{colorTextLightSolid:we,colorPrimary:Ee}=ve;return Object.assign(Object.assign({},Re(ve)),{directoryNodeSelectedColor:we,directoryNodeSelectedBg:Ee})};var Ie=(0,Fe.I$)("Tree",(ve,we)=>{let{prefixCls:Ee}=we;return[{[ve.componentCls]:(0,dt.C2)(`${Ee}-checkbox`,ve)},ye(Ee,ve),(0,qe.Z)(ve)]},Se)},85278:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return we}});var x=ae(59301),dt=ae(60499),Le={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"},qe=Le,He=ae(7657),Fe=function(Oe,Ke){return x.createElement(He.Z,(0,dt.Z)({},Oe,{ref:Ke,icon:qe}))},Me=x.forwardRef(Fe),fe=Me,xe=ae(52671),oe=ae(58617),Pe=ae(15075),ye=ae(43531),Re=ae(92310),Se=ae.n(Re),Ie=ae(22703),we=Ee=>{const{prefixCls:Oe,switcherIcon:Ke,treeNodeProps:je,showLine:_e,switcherLoadingIcon:Je}=Ee,{isLeaf:Ve,expanded:st,loading:at}=je;if(at)return x.isValidElement(Je)?Je:x.createElement(oe.Z,{className:`${Oe}-switcher-loading-icon`});let ht;if(_e&&typeof _e=="object"&&(ht=_e.showLeafIcon),Ve){if(!_e)return null;if(typeof ht!="boolean"&&ht){const pt=typeof ht=="function"?ht(je):ht,Ne=`${Oe}-switcher-line-custom-icon`;return x.isValidElement(pt)?(0,Ie.Tm)(pt,{className:Se()(pt.props.className||"",Ne)}):pt}return ht?x.createElement(xe.Z,{className:`${Oe}-switcher-line-icon`}):x.createElement("span",{className:`${Oe}-switcher-leaf-line`})}const Ct=`${Oe}-switcher-icon`,ze=typeof Ke=="function"?Ke(je):Ke;return x.isValidElement(ze)?(0,Ie.Tm)(ze,{className:Se()(ze.props.className||"",Ct)}):ze!==void 0?ze:_e?st?x.createElement(Pe.Z,{className:`${Oe}-switcher-line-icon`}):x.createElement(ye.Z,{className:`${Oe}-switcher-line-icon`}):x.createElement(fe,{className:Ct})}},86251:function(Xn,Mt){"use strict";Mt.byteLength=Me,Mt.toByteArray=xe,Mt.fromByteArray=ye;for(var ae=[],x=[],dt=typeof Uint8Array!="undefined"?Uint8Array:Array,Le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qe=0,He=Le.length;qe0)throw new Error("Invalid string. Length must be a multiple of 4");var Ie=Re.indexOf("=");Ie===-1&&(Ie=Se);var ve=Ie===Se?0:4-Ie%4;return[Ie,ve]}function Me(Re){var Se=Fe(Re),Ie=Se[0],ve=Se[1];return(Ie+ve)*3/4-ve}function fe(Re,Se,Ie){return(Se+Ie)*3/4-Ie}function xe(Re){var Se,Ie=Fe(Re),ve=Ie[0],we=Ie[1],Ee=new dt(fe(Re,ve,we)),Oe=0,Ke=we>0?ve-4:ve,je;for(je=0;je>16&255,Ee[Oe++]=Se>>8&255,Ee[Oe++]=Se&255;return we===2&&(Se=x[Re.charCodeAt(je)]<<2|x[Re.charCodeAt(je+1)]>>4,Ee[Oe++]=Se&255),we===1&&(Se=x[Re.charCodeAt(je)]<<10|x[Re.charCodeAt(je+1)]<<4|x[Re.charCodeAt(je+2)]>>2,Ee[Oe++]=Se>>8&255,Ee[Oe++]=Se&255),Ee}function oe(Re){return ae[Re>>18&63]+ae[Re>>12&63]+ae[Re>>6&63]+ae[Re&63]}function Pe(Re,Se,Ie){for(var ve,we=[],Ee=Se;EeKe?Ke:Oe+Ee));return ve===1?(Se=Re[Ie-1],we.push(ae[Se>>2]+ae[Se<<4&63]+"==")):ve===2&&(Se=(Re[Ie-2]<<8)+Re[Ie-1],we.push(ae[Se>>10]+ae[Se>>4&63]+ae[Se<<2&63]+"=")),we.join("")}},19208:function(Xn,Mt,ae){"use strict";var x;var dt=ae(86251),Le=ae(67467),qe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Mt.lW=fe,x=Oe,Mt.h2=50;var He=2147483647;x=He,fe.TYPED_ARRAY_SUPPORT=Fe(),!fe.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Fe(){try{var ie=new Uint8Array(1),ee={foo:function(){return 42}};return Object.setPrototypeOf(ee,Uint8Array.prototype),Object.setPrototypeOf(ie,ee),ie.foo()===42}catch(se){return!1}}Object.defineProperty(fe.prototype,"parent",{enumerable:!0,get:function(){if(fe.isBuffer(this))return this.buffer}}),Object.defineProperty(fe.prototype,"offset",{enumerable:!0,get:function(){if(fe.isBuffer(this))return this.byteOffset}});function Me(ie){if(ie>He)throw new RangeError('The value "'+ie+'" is invalid for option "size"');var ee=new Uint8Array(ie);return Object.setPrototypeOf(ee,fe.prototype),ee}function fe(ie,ee,se){if(typeof ie=="number"){if(typeof ee=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ye(ie)}return xe(ie,ee,se)}fe.poolSize=8192;function xe(ie,ee,se){if(typeof ie=="string")return Re(ie,ee);if(ArrayBuffer.isView(ie))return Ie(ie);if(ie==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie);if(an(ie,ArrayBuffer)||ie&&an(ie.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(an(ie,SharedArrayBuffer)||ie&&an(ie.buffer,SharedArrayBuffer)))return ve(ie,ee,se);if(typeof ie=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var le=ie.valueOf&&ie.valueOf();if(le!=null&&le!==ie)return fe.from(le,ee,se);var Be=we(ie);if(Be)return Be;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof ie[Symbol.toPrimitive]=="function")return fe.from(ie[Symbol.toPrimitive]("string"),ee,se);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie)}fe.from=function(ie,ee,se){return xe(ie,ee,se)},Object.setPrototypeOf(fe.prototype,Uint8Array.prototype),Object.setPrototypeOf(fe,Uint8Array);function oe(ie){if(typeof ie!="number")throw new TypeError('"size" argument must be of type number');if(ie<0)throw new RangeError('The value "'+ie+'" is invalid for option "size"')}function Pe(ie,ee,se){return oe(ie),ie<=0?Me(ie):ee!==void 0?typeof se=="string"?Me(ie).fill(ee,se):Me(ie).fill(ee):Me(ie)}fe.alloc=function(ie,ee,se){return Pe(ie,ee,se)};function ye(ie){return oe(ie),Me(ie<0?0:Ee(ie)|0)}fe.allocUnsafe=function(ie){return ye(ie)},fe.allocUnsafeSlow=function(ie){return ye(ie)};function Re(ie,ee){if((typeof ee!="string"||ee==="")&&(ee="utf8"),!fe.isEncoding(ee))throw new TypeError("Unknown encoding: "+ee);var se=Ke(ie,ee)|0,le=Me(se),Be=le.write(ie,ee);return Be!==se&&(le=le.slice(0,Be)),le}function Se(ie){for(var ee=ie.length<0?0:Ee(ie.length)|0,se=Me(ee),le=0;le=He)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+He.toString(16)+" bytes");return ie|0}function Oe(ie){return+ie!=ie&&(ie=0),fe.alloc(+ie)}fe.isBuffer=function(ee){return ee!=null&&ee._isBuffer===!0&&ee!==fe.prototype},fe.compare=function(ee,se){if(an(ee,Uint8Array)&&(ee=fe.from(ee,ee.offset,ee.byteLength)),an(se,Uint8Array)&&(se=fe.from(se,se.offset,se.byteLength)),!fe.isBuffer(ee)||!fe.isBuffer(se))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ee===se)return 0;for(var le=ee.length,Be=se.length,Ge=0,ut=Math.min(le,Be);GeBe.length?fe.from(ut).copy(Be,Ge):Uint8Array.prototype.set.call(Be,ut,Ge);else if(fe.isBuffer(ut))ut.copy(Be,Ge);else throw new TypeError('"list" argument must be an Array of Buffers');Ge+=ut.length}return Be};function Ke(ie,ee){if(fe.isBuffer(ie))return ie.length;if(ArrayBuffer.isView(ie)||an(ie,ArrayBuffer))return ie.byteLength;if(typeof ie!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ie);var se=ie.length,le=arguments.length>2&&arguments[2]===!0;if(!le&&se===0)return 0;for(var Be=!1;;)switch(ee){case"ascii":case"latin1":case"binary":return se;case"utf8":case"utf-8":return hn(ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se*2;case"hex":return se>>>1;case"base64":return kt(ie).length;default:if(Be)return le?-1:hn(ie).length;ee=(""+ee).toLowerCase(),Be=!0}}fe.byteLength=Ke;function je(ie,ee,se){var le=!1;if((ee===void 0||ee<0)&&(ee=0),ee>this.length||((se===void 0||se>this.length)&&(se=this.length),se<=0)||(se>>>=0,ee>>>=0,se<=ee))return"";for(ie||(ie="utf8");;)switch(ie){case"hex":return Bt(this,ee,se);case"utf8":case"utf-8":return Ne(this,ee,se);case"ascii":return ot(this,ee,se);case"latin1":case"binary":return lt(this,ee,se);case"base64":return pt(this,ee,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return We(this,ee,se);default:if(le)throw new TypeError("Unknown encoding: "+ie);ie=(ie+"").toLowerCase(),le=!0}}fe.prototype._isBuffer=!0;function _e(ie,ee,se){var le=ie[ee];ie[ee]=ie[se],ie[se]=le}fe.prototype.swap16=function(){var ee=this.length;if(ee%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var se=0;sese&&(ee+=" ... "),""},qe&&(fe.prototype[qe]=fe.prototype.inspect),fe.prototype.compare=function(ee,se,le,Be,Ge){if(an(ee,Uint8Array)&&(ee=fe.from(ee,ee.offset,ee.byteLength)),!fe.isBuffer(ee))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ee);if(se===void 0&&(se=0),le===void 0&&(le=ee?ee.length:0),Be===void 0&&(Be=0),Ge===void 0&&(Ge=this.length),se<0||le>ee.length||Be<0||Ge>this.length)throw new RangeError("out of range index");if(Be>=Ge&&se>=le)return 0;if(Be>=Ge)return-1;if(se>=le)return 1;if(se>>>=0,le>>>=0,Be>>>=0,Ge>>>=0,this===ee)return 0;for(var ut=Ge-Be,mt=le-se,vt=Math.min(ut,mt),St=this.slice(Be,Ge),Dt=ee.slice(se,le),Qt=0;Qt2147483647?se=2147483647:se<-2147483648&&(se=-2147483648),se=+se,de(se)&&(se=Be?0:ie.length-1),se<0&&(se=ie.length+se),se>=ie.length){if(Be)return-1;se=ie.length-1}else if(se<0)if(Be)se=0;else return-1;if(typeof ee=="string"&&(ee=fe.from(ee,le)),fe.isBuffer(ee))return ee.length===0?-1:Ve(ie,ee,se,le,Be);if(typeof ee=="number")return ee=ee&255,typeof Uint8Array.prototype.indexOf=="function"?Be?Uint8Array.prototype.indexOf.call(ie,ee,se):Uint8Array.prototype.lastIndexOf.call(ie,ee,se):Ve(ie,[ee],se,le,Be);throw new TypeError("val must be string, number or Buffer")}function Ve(ie,ee,se,le,Be){var Ge=1,ut=ie.length,mt=ee.length;if(le!==void 0&&(le=String(le).toLowerCase(),le==="ucs2"||le==="ucs-2"||le==="utf16le"||le==="utf-16le")){if(ie.length<2||ee.length<2)return-1;Ge=2,ut/=2,mt/=2,se/=2}function vt(ct,Xt){return Ge===1?ct[Xt]:ct.readUInt16BE(Xt*Ge)}var St;if(Be){var Dt=-1;for(St=se;Stut&&(se=ut-mt),St=se;St>=0;St--){for(var Qt=!0,xt=0;xtBe&&(le=Be)):le=Be;var Ge=ee.length;le>Ge/2&&(le=Ge/2);for(var ut=0;ut>>0,isFinite(le)?(le=le>>>0,Be===void 0&&(Be="utf8")):(Be=le,le=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ge=this.length-se;if((le===void 0||le>Ge)&&(le=Ge),ee.length>0&&(le<0||se<0)||se>this.length)throw new RangeError("Attempt to write outside buffer bounds");Be||(Be="utf8");for(var ut=!1;;)switch(Be){case"hex":return st(this,ee,se,le);case"utf8":case"utf-8":return at(this,ee,se,le);case"ascii":case"latin1":case"binary":return ht(this,ee,se,le);case"base64":return Ct(this,ee,se,le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ze(this,ee,se,le);default:if(ut)throw new TypeError("Unknown encoding: "+Be);Be=(""+Be).toLowerCase(),ut=!0}},fe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function pt(ie,ee,se){return ee===0&&se===ie.length?dt.fromByteArray(ie):dt.fromByteArray(ie.slice(ee,se))}function Ne(ie,ee,se){se=Math.min(ie.length,se);for(var le=[],Be=ee;Be239?4:Ge>223?3:Ge>191?2:1;if(Be+mt<=se){var vt,St,Dt,Qt;switch(mt){case 1:Ge<128&&(ut=Ge);break;case 2:vt=ie[Be+1],(vt&192)===128&&(Qt=(Ge&31)<<6|vt&63,Qt>127&&(ut=Qt));break;case 3:vt=ie[Be+1],St=ie[Be+2],(vt&192)===128&&(St&192)===128&&(Qt=(Ge&15)<<12|(vt&63)<<6|St&63,Qt>2047&&(Qt<55296||Qt>57343)&&(ut=Qt));break;case 4:vt=ie[Be+1],St=ie[Be+2],Dt=ie[Be+3],(vt&192)===128&&(St&192)===128&&(Dt&192)===128&&(Qt=(Ge&15)<<18|(vt&63)<<12|(St&63)<<6|Dt&63,Qt>65535&&Qt<1114112&&(ut=Qt))}}ut===null?(ut=65533,mt=1):ut>65535&&(ut-=65536,le.push(ut>>>10&1023|55296),ut=56320|ut&1023),le.push(ut),Be+=mt}return Ot(le)}var Qe=4096;function Ot(ie){var ee=ie.length;if(ee<=Qe)return String.fromCharCode.apply(String,ie);for(var se="",le=0;lele)&&(se=le);for(var Be="",Ge=ee;Gele&&(ee=le),se<0?(se+=le,se<0&&(se=0)):se>le&&(se=le),sese)throw new RangeError("Trying to access beyond buffer length")}fe.prototype.readUintLE=fe.prototype.readUIntLE=function(ee,se,le){ee=ee>>>0,se=se>>>0,le||ke(ee,se,this.length);for(var Be=this[ee],Ge=1,ut=0;++ut>>0,se=se>>>0,le||ke(ee,se,this.length);for(var Be=this[ee+--se],Ge=1;se>0&&(Ge*=256);)Be+=this[ee+--se]*Ge;return Be},fe.prototype.readUint8=fe.prototype.readUInt8=function(ee,se){return ee=ee>>>0,se||ke(ee,1,this.length),this[ee]},fe.prototype.readUint16LE=fe.prototype.readUInt16LE=function(ee,se){return ee=ee>>>0,se||ke(ee,2,this.length),this[ee]|this[ee+1]<<8},fe.prototype.readUint16BE=fe.prototype.readUInt16BE=function(ee,se){return ee=ee>>>0,se||ke(ee,2,this.length),this[ee]<<8|this[ee+1]},fe.prototype.readUint32LE=fe.prototype.readUInt32LE=function(ee,se){return ee=ee>>>0,se||ke(ee,4,this.length),(this[ee]|this[ee+1]<<8|this[ee+2]<<16)+this[ee+3]*16777216},fe.prototype.readUint32BE=fe.prototype.readUInt32BE=function(ee,se){return ee=ee>>>0,se||ke(ee,4,this.length),this[ee]*16777216+(this[ee+1]<<16|this[ee+2]<<8|this[ee+3])},fe.prototype.readIntLE=function(ee,se,le){ee=ee>>>0,se=se>>>0,le||ke(ee,se,this.length);for(var Be=this[ee],Ge=1,ut=0;++ut=Ge&&(Be-=Math.pow(2,8*se)),Be},fe.prototype.readIntBE=function(ee,se,le){ee=ee>>>0,se=se>>>0,le||ke(ee,se,this.length);for(var Be=se,Ge=1,ut=this[ee+--Be];Be>0&&(Ge*=256);)ut+=this[ee+--Be]*Ge;return Ge*=128,ut>=Ge&&(ut-=Math.pow(2,8*se)),ut},fe.prototype.readInt8=function(ee,se){return ee=ee>>>0,se||ke(ee,1,this.length),this[ee]&128?(255-this[ee]+1)*-1:this[ee]},fe.prototype.readInt16LE=function(ee,se){ee=ee>>>0,se||ke(ee,2,this.length);var le=this[ee]|this[ee+1]<<8;return le&32768?le|4294901760:le},fe.prototype.readInt16BE=function(ee,se){ee=ee>>>0,se||ke(ee,2,this.length);var le=this[ee+1]|this[ee]<<8;return le&32768?le|4294901760:le},fe.prototype.readInt32LE=function(ee,se){return ee=ee>>>0,se||ke(ee,4,this.length),this[ee]|this[ee+1]<<8|this[ee+2]<<16|this[ee+3]<<24},fe.prototype.readInt32BE=function(ee,se){return ee=ee>>>0,se||ke(ee,4,this.length),this[ee]<<24|this[ee+1]<<16|this[ee+2]<<8|this[ee+3]},fe.prototype.readFloatLE=function(ee,se){return ee=ee>>>0,se||ke(ee,4,this.length),Le.read(this,ee,!0,23,4)},fe.prototype.readFloatBE=function(ee,se){return ee=ee>>>0,se||ke(ee,4,this.length),Le.read(this,ee,!1,23,4)},fe.prototype.readDoubleLE=function(ee,se){return ee=ee>>>0,se||ke(ee,8,this.length),Le.read(this,ee,!0,52,8)},fe.prototype.readDoubleBE=function(ee,se){return ee=ee>>>0,se||ke(ee,8,this.length),Le.read(this,ee,!1,52,8)};function At(ie,ee,se,le,Be,Ge){if(!fe.isBuffer(ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(ee>Be||eeie.length)throw new RangeError("Index out of range")}fe.prototype.writeUintLE=fe.prototype.writeUIntLE=function(ee,se,le,Be){if(ee=+ee,se=se>>>0,le=le>>>0,!Be){var Ge=Math.pow(2,8*le)-1;At(this,ee,se,le,Ge,0)}var ut=1,mt=0;for(this[se]=ee&255;++mt>>0,le=le>>>0,!Be){var Ge=Math.pow(2,8*le)-1;At(this,ee,se,le,Ge,0)}var ut=le-1,mt=1;for(this[se+ut]=ee&255;--ut>=0&&(mt*=256);)this[se+ut]=ee/mt&255;return se+le},fe.prototype.writeUint8=fe.prototype.writeUInt8=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,1,255,0),this[se]=ee&255,se+1},fe.prototype.writeUint16LE=fe.prototype.writeUInt16LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,2,65535,0),this[se]=ee&255,this[se+1]=ee>>>8,se+2},fe.prototype.writeUint16BE=fe.prototype.writeUInt16BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,2,65535,0),this[se]=ee>>>8,this[se+1]=ee&255,se+2},fe.prototype.writeUint32LE=fe.prototype.writeUInt32LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,4,4294967295,0),this[se+3]=ee>>>24,this[se+2]=ee>>>16,this[se+1]=ee>>>8,this[se]=ee&255,se+4},fe.prototype.writeUint32BE=fe.prototype.writeUInt32BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,4,4294967295,0),this[se]=ee>>>24,this[se+1]=ee>>>16,this[se+2]=ee>>>8,this[se+3]=ee&255,se+4},fe.prototype.writeIntLE=function(ee,se,le,Be){if(ee=+ee,se=se>>>0,!Be){var Ge=Math.pow(2,8*le-1);At(this,ee,se,le,Ge-1,-Ge)}var ut=0,mt=1,vt=0;for(this[se]=ee&255;++ut>0)-vt&255;return se+le},fe.prototype.writeIntBE=function(ee,se,le,Be){if(ee=+ee,se=se>>>0,!Be){var Ge=Math.pow(2,8*le-1);At(this,ee,se,le,Ge-1,-Ge)}var ut=le-1,mt=1,vt=0;for(this[se+ut]=ee&255;--ut>=0&&(mt*=256);)ee<0&&vt===0&&this[se+ut+1]!==0&&(vt=1),this[se+ut]=(ee/mt>>0)-vt&255;return se+le},fe.prototype.writeInt8=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,1,127,-128),ee<0&&(ee=255+ee+1),this[se]=ee&255,se+1},fe.prototype.writeInt16LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,2,32767,-32768),this[se]=ee&255,this[se+1]=ee>>>8,se+2},fe.prototype.writeInt16BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,2,32767,-32768),this[se]=ee>>>8,this[se+1]=ee&255,se+2},fe.prototype.writeInt32LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,4,2147483647,-2147483648),this[se]=ee&255,this[se+1]=ee>>>8,this[se+2]=ee>>>16,this[se+3]=ee>>>24,se+4},fe.prototype.writeInt32BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,4,2147483647,-2147483648),ee<0&&(ee=4294967295+ee+1),this[se]=ee>>>24,this[se+1]=ee>>>16,this[se+2]=ee>>>8,this[se+3]=ee&255,se+4};function Kt(ie,ee,se,le,Be,Ge){if(se+le>ie.length)throw new RangeError("Index out of range");if(se<0)throw new RangeError("Index out of range")}function Ht(ie,ee,se,le,Be){return ee=+ee,se=se>>>0,Be||Kt(ie,ee,se,4,34028234663852886e22,-34028234663852886e22),Le.write(ie,ee,se,le,23,4),se+4}fe.prototype.writeFloatLE=function(ee,se,le){return Ht(this,ee,se,!0,le)},fe.prototype.writeFloatBE=function(ee,se,le){return Ht(this,ee,se,!1,le)};function nt(ie,ee,se,le,Be){return ee=+ee,se=se>>>0,Be||Kt(ie,ee,se,8,17976931348623157e292,-17976931348623157e292),Le.write(ie,ee,se,le,52,8),se+8}fe.prototype.writeDoubleLE=function(ee,se,le){return nt(this,ee,se,!0,le)},fe.prototype.writeDoubleBE=function(ee,se,le){return nt(this,ee,se,!1,le)},fe.prototype.copy=function(ee,se,le,Be){if(!fe.isBuffer(ee))throw new TypeError("argument should be a Buffer");if(le||(le=0),!Be&&Be!==0&&(Be=this.length),se>=ee.length&&(se=ee.length),se||(se=0),Be>0&&Be=this.length)throw new RangeError("Index out of range");if(Be<0)throw new RangeError("sourceEnd out of bounds");Be>this.length&&(Be=this.length),ee.length-se>>0,le=le===void 0?this.length:le>>>0,ee||(ee=0);var ut;if(typeof ee=="number")for(ut=se;ut55295&&se<57344){if(!Be){if(se>56319){(ee-=3)>-1&&Ge.push(239,191,189);continue}else if(ut+1===le){(ee-=3)>-1&&Ge.push(239,191,189);continue}Be=se;continue}if(se<56320){(ee-=3)>-1&&Ge.push(239,191,189),Be=se;continue}se=(Be-55296<<10|se-56320)+65536}else Be&&(ee-=3)>-1&&Ge.push(239,191,189);if(Be=null,se<128){if((ee-=1)<0)break;Ge.push(se)}else if(se<2048){if((ee-=2)<0)break;Ge.push(se>>6|192,se&63|128)}else if(se<65536){if((ee-=3)<0)break;Ge.push(se>>12|224,se>>6&63|128,se&63|128)}else if(se<1114112){if((ee-=4)<0)break;Ge.push(se>>18|240,se>>12&63|128,se>>6&63|128,se&63|128)}else throw new Error("Invalid code point")}return Ge}function Tt(ie){for(var ee=[],se=0;se>8,Be=se%256,Ge.push(Be),Ge.push(le);return Ge}function kt(ie){return dt.toByteArray(Rt(ie))}function Fn(ie,ee,se,le){for(var Be=0;Be=ee.length||Be>=ie.length);++Be)ee[Be+se]=ie[Be];return Be}function an(ie,ee){return ie instanceof ee||ie!=null&&ie.constructor!=null&&ie.constructor.name!=null&&ie.constructor.name===ee.name}function de(ie){return ie!==ie}var ge=function(){for(var ie="0123456789abcdef",ee=new Array(256),se=0;se<16;++se)for(var le=se*16,Be=0;Be<16;++Be)ee[le+Be]=ie[se]+ie[Be];return ee}()},14625:function(Xn){function Mt(x){var dt,Le,qe="";if(typeof x=="string"||typeof x=="number")qe+=x;else if(typeof x=="object")if(Array.isArray(x)){var He=x.length;for(dt=0;dt`,triples:"",explode:"[]{}"},Le=x.Pos;x.defineOption("autoCloseBrackets",!1,function(Ie,ve,we){we&&we!=x.Init&&(Ie.removeKeyMap(He),Ie.state.closeBrackets=null),ve&&(Fe(qe(ve,"pairs")),Ie.state.closeBrackets=ve,Ie.addKeyMap(He))});function qe(Ie,ve){return ve=="pairs"&&typeof Ie=="string"?Ie:typeof Ie=="object"&&Ie[ve]!=null?Ie[ve]:dt[ve]}var He={Backspace:xe,Enter:oe};function Fe(Ie){for(var ve=0;ve=0;Oe--){var je=Ee[Oe].head;Ie.replaceRange("",Le(je.line,je.ch-1),Le(je.line,je.ch+1),"+delete")}}function oe(Ie){var ve=fe(Ie),we=ve&&qe(ve,"explode");if(!we||Ie.getOption("disableInput"))return x.Pass;for(var Ee=Ie.listSelections(),Oe=0;Oe0;return{anchor:new Le(Ie.anchor.line,Ie.anchor.ch+(ve?-1:1)),head:new Le(Ie.head.line,Ie.head.ch+(ve?1:-1))}}function ye(Ie,ve){var we=fe(Ie);if(!we||Ie.getOption("disableInput"))return x.Pass;var Ee=qe(we,"pairs"),Oe=Ee.indexOf(ve);if(Oe==-1)return x.Pass;for(var Ke=qe(we,"closeBefore"),je=qe(we,"triples"),_e=Ee.charAt(Oe+1)==ve,Je=Ie.listSelections(),Ve=Oe%2==0,st,at=0;at=0&&Ie.getRange(Ct,Le(Ct.line,Ct.ch+3))==ve+ve+ve?ze="skipThree":ze="skip";else if(_e&&Ct.ch>1&&je.indexOf(ve)>=0&&Ie.getRange(Le(Ct.line,Ct.ch-2),Ct)==ve+ve){if(Ct.ch>2&&/\bstring/.test(Ie.getTokenTypeAt(Le(Ct.line,Ct.ch-2))))return x.Pass;ze="addFour"}else if(_e){var Ne=Ct.ch==0?" ":Ie.getRange(Le(Ct.line,Ct.ch-1),Ct);if(!x.isWordChar(pt)&&Ne!=ve&&!x.isWordChar(Ne))ze="both";else return x.Pass}else if(Ve&&(pt.length===0||/\s/.test(pt)||Ke.indexOf(pt)>-1))ze="both";else return x.Pass;if(!st)st=ze;else if(st!=ze)return x.Pass}var Qe=Oe%2?Ee.charAt(Oe-1):ve,Ot=Oe%2?ve:Ee.charAt(Oe+1);Ie.operation(function(){if(st=="skip")Ie.execCommand("goCharRight");else if(st=="skipThree")for(var ot=0;ot<3;ot++)Ie.execCommand("goCharRight");else if(st=="surround"){for(var lt=Ie.getSelections(),ot=0;ot'"]=function(Re){return qe(Re)}),xe.addKeyMap(ye)}});var dt=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Le=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function qe(xe){if(xe.getOption("disableInput"))return x.Pass;for(var oe=xe.listSelections(),Pe=[],ye=xe.getOption("autoCloseTags"),Re=0;ReSe.ch&&(Oe=Oe.slice(0,Oe.length-Ie.end+Se.ch));var Je=Oe.toLowerCase();if(!Oe||Ie.type=="string"&&(Ie.end!=Se.ch||!/[\"\']/.test(Ie.string.charAt(Ie.string.length-1))||Ie.string.length==1)||Ie.type=="tag"&&Ee.close||Ie.string.indexOf("/")==Se.ch-Ie.start-1||je&&Me(je,Je)>-1||fe(xe,ve.mode.xmlCurrentContext&&ve.mode.xmlCurrentContext(we)||[],Oe,Se,!0))return x.Pass;var Ve=typeof ye=="object"&&ye.emptyTags;if(Ve&&Me(Ve,Oe)>-1){Pe[Re]={text:"/>",newPos:x.Pos(Se.line,Se.ch+2)};continue}var st=_e&&Me(_e,Je)>-1;Pe[Re]={indent:st,text:">"+(st?` + +`:"")+"",newPos:st?x.Pos(Se.line+1,0):x.Pos(Se.line,Se.ch+1)}}for(var at=typeof ye=="object"&&ye.dontIndentOnAutoClose,Re=oe.length-1;Re>=0;Re--){var ht=Pe[Re];xe.replaceRange(ht.text,oe[Re].head,oe[Re].anchor,"+insert");var Ct=xe.listSelections().slice(0);Ct[Re]={head:ht.newPos,anchor:ht.newPos},xe.setSelections(Ct),!at&&ht.indent&&(xe.indentLine(ht.newPos.line,null,!0),xe.indentLine(ht.newPos.line+1,null,!0))}}function He(xe,oe){for(var Pe=xe.listSelections(),ye=[],Re=oe?"/":""&&(je+=">"),ye[ve]=je}if(xe.replaceSelections(ye),Pe=xe.listSelections(),!Ie)for(var ve=0;ve=0&&oe[we]==Pe;we--)++ve;ye=Ie.to;for(var we=1;we=we.max))return we.ch=0,we.text=we.cm.getLine(++we.line),!0}function oe(we){if(!(we.line<=we.min))return we.text=we.cm.getLine(--we.line),we.ch=we.text.length,!0}function Pe(we){for(;;){var Ee=we.text.indexOf(">",we.ch);if(Ee==-1){if(xe(we))continue;return}if(!fe(we,Ee+1)){we.ch=Ee+1;continue}var Oe=we.text.lastIndexOf("/",Ee),Ke=Oe>-1&&!/\S/.test(we.text.slice(Oe+1,Ee));return we.ch=Ee+1,Ke?"selfClose":"regular"}}function ye(we){for(;;){var Ee=we.ch?we.text.lastIndexOf("<",we.ch-1):-1;if(Ee==-1){if(oe(we))continue;return}if(!fe(we,Ee+1)){we.ch=Ee;continue}Fe.lastIndex=Ee,we.ch=Ee;var Oe=Fe.exec(we.text);if(Oe&&Oe.index==Ee)return Oe}}function Re(we){for(;;){Fe.lastIndex=we.ch;var Ee=Fe.exec(we.text);if(!Ee){if(xe(we))continue;return}if(!fe(we,Ee.index+1)){we.ch=Ee.index+1;continue}return we.ch=Ee.index+Ee[0].length,Ee}}function Se(we){for(;;){var Ee=we.ch?we.text.lastIndexOf(">",we.ch-1):-1;if(Ee==-1){if(oe(we))continue;return}if(!fe(we,Ee+1)){we.ch=Ee;continue}var Oe=we.text.lastIndexOf("/",Ee),Ke=Oe>-1&&!/\S/.test(we.text.slice(Oe+1,Ee));return we.ch=Ee+1,Ke?"selfClose":"regular"}}function Ie(we,Ee){for(var Oe=[];;){var Ke=Re(we),je,_e=we.line,Je=we.ch-(Ke?Ke[0].length:0);if(!Ke||!(je=Pe(we)))return;if(je!="selfClose")if(Ke[1]){for(var Ve=Oe.length-1;Ve>=0;--Ve)if(Oe[Ve]==Ke[2]){Oe.length=Ve;break}if(Ve<0&&(!Ee||Ee==Ke[2]))return{tag:Ke[2],from:dt(_e,Je),to:dt(we.line,we.ch)}}else Oe.push(Ke[2])}}function ve(we,Ee){for(var Oe=[];;){var Ke=Se(we);if(!Ke)return;if(Ke=="selfClose"){ye(we);continue}var je=we.line,_e=we.ch,Je=ye(we);if(!Je)return;if(Je[1])Oe.push(Je[2]);else{for(var Ve=Oe.length-1;Ve>=0;--Ve)if(Oe[Ve]==Je[2]){Oe.length=Ve;break}if(Ve<0&&(!Ee||Ee==Je[2]))return{tag:Je[2],from:dt(we.line,we.ch),to:dt(je,_e)}}}}x.registerHelper("fold","xml",function(we,Ee){for(var Oe=new Me(we,Ee.line,0);;){var Ke=Re(Oe);if(!Ke||Oe.line!=Ee.line)return;var je=Pe(Oe);if(!je)return;if(!Ke[1]&&je!="selfClose"){var _e=dt(Oe.line,Oe.ch),Je=Ie(Oe,Ke[2]);return Je&&Le(Je.from,_e)>0?{from:_e,to:Je.from}:null}}}),x.findMatchingTag=function(we,Ee,Oe){var Ke=new Me(we,Ee.line,Ee.ch,Oe);if(!(Ke.text.indexOf(">")==-1&&Ke.text.indexOf("<")==-1)){var je=Pe(Ke),_e=je&&dt(Ke.line,Ke.ch),Je=je&&ye(Ke);if(!(!je||!Je||Le(Ke,Ee)>0)){var Ve={from:dt(Ke.line,Ke.ch),to:_e,tag:Je[2]};return je=="selfClose"?{open:Ve,close:null,at:"open"}:Je[1]?{open:ve(Ke,Je[2]),close:Ve,at:"close"}:(Ke=new Me(we,_e.line,_e.ch,Oe),{open:Ve,close:Ie(Ke,Je[2]),at:"open"})}}},x.findEnclosingTag=function(we,Ee,Oe,Ke){for(var je=new Me(we,Ee.line,Ee.ch,Oe);;){var _e=ve(je,Ke);if(!_e)break;var Je=new Me(we,Ee.line,Ee.ch,Oe),Ve=Ie(Je,_e.tag);if(Ve)return{open:_e,close:Ve}}},x.scanForClosingTag=function(we,Ee,Oe,Ke){var je=new Me(we,Ee.line,Ee.ch,Ke?{from:0,to:Ke}:null);return Ie(je,Oe)}})},89780:function(Xn){(function(Mt,ae){Xn.exports=ae()})(this,function(){"use strict";var Mt=navigator.userAgent,ae=navigator.platform,x=/gecko\/\d/i.test(Mt),dt=/MSIE \d/.test(Mt),Le=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Mt),qe=/Edge\/(\d+)/.exec(Mt),He=dt||Le||qe,Fe=He&&(dt?document.documentMode||6:+(qe||Le)[1]),Me=!qe&&/WebKit\//.test(Mt),fe=Me&&/Qt\/\d+\.\d+/.test(Mt),xe=!qe&&/Chrome\//.test(Mt),oe=/Opera\//.test(Mt),Pe=/Apple Computer/.test(navigator.vendor),ye=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Mt),Re=/PhantomJS/.test(Mt),Se=!qe&&/AppleWebKit/.test(Mt)&&/Mobile\/\w+/.test(Mt),Ie=/Android/.test(Mt),ve=Se||Ie||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Mt),we=Se||/Mac/.test(ae),Ee=/\bCrOS\b/.test(Mt),Oe=/win/i.test(ae),Ke=oe&&Mt.match(/Version\/(\d*\.\d*)/);Ke&&(Ke=Number(Ke[1])),Ke&&Ke>=15&&(oe=!1,Me=!0);var je=we&&(fe||oe&&(Ke==null||Ke<12.11)),_e=x||He&&Fe>=9;function Je(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Ve=function(a,b){var ne=a.className,te=Je(b).exec(ne);if(te){var ue=ne.slice(te.index+te[0].length);a.className=ne.slice(0,te.index)+(ue?te[1]+ue:"")}};function st(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function at(a,b){return st(a).appendChild(b)}function ht(a,b,ne,te){var ue=document.createElement(a);if(ne&&(ue.className=ne),te&&(ue.style.cssText=te),typeof b=="string")ue.appendChild(document.createTextNode(b));else if(b)for(var Te=0;Te=b)return et+(b-Te);et+=yt-Te,et+=ne-et%ne,Te=yt+1}}var ke=function(){this.id=null,this.f=null,this.time=0,this.handler=lt(this.onTimeout,this)};ke.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},ke.prototype.set=function(a,b){this.f=b;var ne=+new Date+a;(!this.id||ne=b)return te+Math.min(et,b-ue);if(ue+=Te-te,ue+=ne-ue%ne,te=Te+1,ue>=b)return te}}var Tt=[""];function mn(a){for(;Tt.length<=a;)Tt.push(kt(Tt)+" ");return Tt[a]}function kt(a){return a[a.length-1]}function Fn(a,b){for(var ne=[],te=0;te"\x80"&&(a.toUpperCase()!=a.toLowerCase()||ie.test(a))}function se(a,b){return b?b.source.indexOf("\\w")>-1&&ee(a)?!0:b.test(a):ee(a)}function le(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}var Be=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ge(a){return a.charCodeAt(0)>=768&&Be.test(a)}function ut(a,b,ne){for(;(ne<0?b>0:bne?-1:1;;){if(b==ne)return b;var ue=(b+ne)/2,Te=te<0?Math.ceil(ue):Math.floor(ue);if(Te==b)return a(Te)?b:ne;a(Te)?ne=Te:b=Te+te}}function vt(a,b,ne,te){if(!a)return te(b,ne,"ltr",0);for(var ue=!1,Te=0;Teb||b==ne&&et.to==b)&&(te(Math.max(et.from,b),Math.min(et.to,ne),et.level==1?"rtl":"ltr",Te),ue=!0)}ue||te(b,ne,"ltr")}var St=null;function Dt(a,b,ne){var te;St=null;for(var ue=0;ueb)return ue;Te.to==b&&(Te.from!=Te.to&&ne=="before"?te=ue:St=ue),Te.from==b&&(Te.from!=Te.to&&ne!="before"?te=ue:St=ue)}return te!=null?te:St}var Qt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",b="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ne(Nt){return Nt<=247?a.charAt(Nt):1424<=Nt&&Nt<=1524?"R":1536<=Nt&&Nt<=1785?b.charAt(Nt-1536):1774<=Nt&&Nt<=2220?"r":8192<=Nt&&Nt<=8203?"w":Nt==8204?"b":"L"}var te=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ue=/[stwN]/,Te=/[LRr]/,et=/[Lb1n]/,yt=/[1n]/;function Ft(Nt,Nn,Hn){this.level=Nt,this.from=Nn,this.to=Hn}return function(Nt,Nn){var Hn=Nn=="ltr"?"L":"R";if(Nt.length==0||Nn=="ltr"&&!te.test(Nt))return!1;for(var Pr=Nt.length,wr=[],vi=0;vi-1&&(te[b]=ue.slice(0,Te).concat(ue.slice(Te+1)))}}}function ln(a,b){var ne=Wt(a,b);if(ne.length)for(var te=Array.prototype.slice.call(arguments,2),ue=0;ue0}function _t(a){a.prototype.on=function(b,ne){Xt(this,b,ne)},a.prototype.off=function(b,ne){wn(this,b,ne)}}function un(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Pn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Vn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Lt(a){un(a),Pn(a)}function Gt(a){return a.target||a.srcElement}function sn(a){var b=a.which;return b==null&&(a.button&1?b=1:a.button&2?b=3:a.button&4&&(b=2)),we&&a.ctrlKey&&b==1&&(b=3),b}var bn=function(){if(He&&Fe<9)return!1;var a=ht("div");return"draggable"in a||"dragDrop"in a}(),Yn;function pr(a){if(Yn==null){var b=ht("span","\u200B");at(a,ht("span",[b,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Yn=b.offsetWidth<=1&&b.offsetHeight>2&&!(He&&Fe<8))}var ne=Yn?ht("span","\u200B"):ht("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ne.setAttribute("cm-text",""),ne}var ti;function si(a){if(ti!=null)return ti;var b=at(a,document.createTextNode("A\u062EA")),ne=ze(b,0,1).getBoundingClientRect(),te=ze(b,1,2).getBoundingClientRect();return st(a),!ne||ne.left==ne.right?!1:ti=te.right-ne.right<3}var Cr=` + +b`.split(/\n/).length!=3?function(a){for(var b=0,ne=[],te=a.length;b<=te;){var ue=a.indexOf(` +`,b);ue==-1&&(ue=a.length);var Te=a.slice(b,a.charAt(ue-1)=="\r"?ue-1:ue),et=Te.indexOf("\r");et!=-1?(ne.push(Te.slice(0,et)),b+=et+1):(ne.push(Te),b=ue+1)}return ne}:function(a){return a.split(/\r\n?|\n/)},ur=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){var b;try{b=a.ownerDocument.selection.createRange()}catch(ne){}return!b||b.parentElement()!=a?!1:b.compareEndPoints("StartToEnd",b)!=0},dr=function(){var a=ht("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),yn=null;function $n(a){if(yn!=null)return yn;var b=at(a,ht("span","x")),ne=b.getBoundingClientRect(),te=ze(b,0,1).getBoundingClientRect();return yn=Math.abs(ne.left-te.left)>1}var rr={},Zn={};function br(a,b){arguments.length>2&&(b.dependencies=Array.prototype.slice.call(arguments,2)),rr[a]=b}function Br(a,b){Zn[a]=b}function Or(a){if(typeof a=="string"&&Zn.hasOwnProperty(a))a=Zn[a];else if(a&&typeof a.name=="string"&&Zn.hasOwnProperty(a.name)){var b=Zn[a.name];typeof b=="string"&&(b={name:b}),a=ge(b,a),a.name=b.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Or("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Or("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function ci(a,b){b=Or(b);var ne=rr[b.name];if(!ne)return ci(a,"text/plain");var te=ne(a,b);if(Ai.hasOwnProperty(b.name)){var ue=Ai[b.name];for(var Te in ue)ue.hasOwnProperty(Te)&&(te.hasOwnProperty(Te)&&(te["_"+Te]=te[Te]),te[Te]=ue[Te])}if(te.name=b.name,b.helperType&&(te.helperType=b.helperType),b.modeProps)for(var et in b.modeProps)te[et]=b.modeProps[et];return te}var Ai={};function di(a,b){var ne=Ai.hasOwnProperty(a)?Ai[a]:Ai[a]={};Bt(b,ne)}function Pi(a,b){if(b===!0)return b;if(a.copyState)return a.copyState(b);var ne={};for(var te in b){var ue=b[te];ue instanceof Array&&(ue=ue.concat([])),ne[te]=ue}return ne}function yi(a,b){for(var ne;a.innerMode&&(ne=a.innerMode(b),!(!ne||ne.mode==a));)b=ne.state,a=ne.mode;return ne||{mode:a,state:b}}function oo(a,b,ne){return a.startState?a.startState(b,ne):!0}var Gi=function(a,b,ne){this.pos=this.start=0,this.string=a,this.tabSize=b||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ne};Gi.prototype.eol=function(){return this.pos>=this.string.length},Gi.prototype.sol=function(){return this.pos==this.lineStart},Gi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Gi.prototype.next=function(){if(this.posb},Gi.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Gi.prototype.skipToEnd=function(){this.pos=this.string.length},Gi.prototype.skipTo=function(a){var b=this.string.indexOf(a,this.pos);if(b>-1)return this.pos=b,!0},Gi.prototype.backUp=function(a){this.pos-=a},Gi.prototype.column=function(){return this.lastColumnPos0?null:(Te&&b!==!1&&(this.pos+=Te[0].length),Te)}},Gi.prototype.current=function(){return this.string.slice(this.start,this.pos)},Gi.prototype.hideFirstChars=function(a,b){this.lineStart+=a;try{return b()}finally{this.lineStart-=a}},Gi.prototype.lookAhead=function(a){var b=this.lineOracle;return b&&b.lookAhead(a)},Gi.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function ar(a,b){if(b-=a.first,b<0||b>=a.size)throw new Error("There is no line "+(b+a.first)+" in the document.");for(var ne=a;!ne.lines;)for(var te=0;;++te){var ue=ne.children[te],Te=ue.chunkSize();if(b=a.first&&bne?Zt(ne,ar(a,ne).text.length):er(b,ar(a,b.line).text.length)}function er(a,b){var ne=a.ch;return ne==null||ne>b?Zt(a.line,b):ne<0?Zt(a.line,0):a}function _r(a,b){for(var ne=[],te=0;tethis.maxLookAhead&&(this.maxLookAhead=a),b},bi.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var b=this.baseTokens[this.baseTokenPos+1];return{type:b&&b.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},bi.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},bi.fromSaved=function(a,b,ne){return b instanceof Ti?new bi(a,Pi(a.mode,b.state),ne,b.lookAhead):new bi(a,Pi(a.mode,b),ne)},bi.prototype.save=function(a){var b=a!==!1?Pi(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Ti(b,this.maxLookAhead):b};function Xi(a,b,ne,te){var ue=[a.state.modeGen],Te={};zr(a,b.text,a.doc.mode,ne,function(Nt,Nn){return ue.push(Nt,Nn)},Te,te);for(var et=ne.state,yt=function(Nt){ne.baseTokens=ue;var Nn=a.state.overlays[Nt],Hn=1,Pr=0;ne.state=!0,zr(a,b.text,Nn.mode,ne,function(wr,vi){for(var Ki=Hn;Prwr&&ue.splice(Hn,1,wr,ue[Hn+1],fo),Hn+=2,Pr=Math.min(wr,fo)}if(vi)if(Nn.opaque)ue.splice(Ki,Hn-Ki,wr,"overlay "+vi),Hn=Ki+2;else for(;Kia.options.maxHighlightLength&&Pi(a.doc.mode,te.state),Te=Xi(a,b,te);ue&&(te.state=ue),b.stateAfter=te.save(!ue),b.styles=Te.styles,Te.classes?b.styleClasses=Te.classes:b.styleClasses&&(b.styleClasses=null),ne===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return b.styles}function tn(a,b,ne){var te=a.doc,ue=a.display;if(!te.mode.startState)return new bi(te,!0,b);var Te=pi(a,b,ne),et=Te>te.first&&ar(te,Te-1).stateAfter,yt=et?bi.fromSaved(te,et,Te):new bi(te,oo(te.mode),Te);return te.iter(Te,b,function(Ft){$t(a,Ft.text,yt);var Nt=yt.line;Ft.stateAfter=Nt==b-1||Nt%5==0||Nt>=ue.viewFrom&&Ntb.start)return Te}throw new Error("Mode "+a.name+" failed to advance stream.")}var gr=function(a,b,ne){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=b||null,this.state=ne};function Ir(a,b,ne,te){var ue=a.doc,Te=ue.mode,et;b=or(ue,b);var yt=ar(ue,b.line),Ft=tn(a,b.line,ne),Nt=new Gi(yt.text,a.options.tabSize,Ft),Nn;for(te&&(Nn=[]);(te||Nt.posa.options.maxHighlightLength?(yt=!1,et&&$t(a,b,te,Nn.pos),Nn.pos=b.length,Hn=null):Hn=Kr(lr(ne,Nn,te.state,Pr),Te),Pr){var wr=Pr[0].name;wr&&(Hn="m-"+(Hn?wr+" "+Hn:wr))}if(!yt||Nt!=Hn){for(;Ftet;--yt){if(yt<=Te.first)return Te.first;var Ft=ar(Te,yt-1),Nt=Ft.stateAfter;if(Nt&&(!ne||yt+(Nt instanceof Ti?Nt.lookAhead:0)<=Te.modeFrontier))return yt;var Nn=We(Ft.text,null,a.options.tabSize);(ue==null||te>Nn)&&(ue=yt-1,te=Nn)}return ue}function Ci(a,b){if(a.modeFrontier=Math.min(a.modeFrontier,b),!(a.highlightFrontierne;te--){var ue=ar(a,te).stateAfter;if(ue&&(!(ue instanceof Ti)||te+ue.lookAhead=b:Te.to>b);(te||(te=[])).push(new $i(et,Te.from,Ft?null:Te.to))}}return te}function ki(a,b,ne){var te;if(a)for(var ue=0;ue=b:Te.to>b);if(yt||Te.from==b&&et.type=="bookmark"&&(!ne||Te.marker.insertLeft)){var Ft=Te.from==null||(et.inclusiveLeft?Te.from<=b:Te.from0&&yt)for(var la=0;la0)){var Nn=[Ft,1],Hn=vn(Nt.from,yt.from),Pr=vn(Nt.to,yt.to);(Hn<0||!et.inclusiveLeft&&!Hn)&&Nn.push({from:Nt.from,to:yt.from}),(Pr>0||!et.inclusiveRight&&!Pr)&&Nn.push({from:yt.to,to:Nt.to}),ue.splice.apply(ue,Nn),Ft+=Nn.length-3}}return ue}function Co(a){var b=a.markedSpans;if(b){for(var ne=0;neb)&&(!te||zo(te,Te.marker)<0)&&(te=Te.marker)}return te}function ui(a,b,ne,te,ue){var Te=ar(a,b),et=hi&&Te.markedSpans;if(et)for(var yt=0;yt=0&&Hn<=0||Nn<=0&&Hn>=0)&&(Nn<=0&&(Ft.marker.inclusiveRight&&ue.inclusiveLeft?vn(Nt.to,ne)>=0:vn(Nt.to,ne)>0)||Nn>=0&&(Ft.marker.inclusiveRight&&ue.inclusiveLeft?vn(Nt.from,te)<=0:vn(Nt.from,te)<0)))return!0}}}function Zr(a){for(var b;b=zi(a);)a=b.find(-1,!0).line;return a}function Ri(a){for(var b;b=Vt(a);)a=b.find(1,!0).line;return a}function ro(a){for(var b,ne;b=Vt(a);)a=b.find(1,!0).line,(ne||(ne=[])).push(a);return ne}function jr(a,b){var ne=ar(a,b),te=Zr(ne);return ne==te?b:An(te)}function Yr(a,b){if(b>a.lastLine())return b;var ne=ar(a,b),te;if(!Bi(a,ne))return b;for(;te=Vt(ne);)ne=te.find(1,!0).line;return An(ne)+1}function Bi(a,b){var ne=hi&&b.markedSpans;if(ne){for(var te=void 0,ue=0;ueb.maxLineLength&&(b.maxLineLength=ue,b.maxLine=te)})}var Ea=function(a,b,ne){this.text=a,to(this,b),this.height=ne?ne(this):1};Ea.prototype.lineNo=function(){return An(this)},_t(Ea);function da(a,b,ne,te){a.text=b,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),Co(a),to(a,ne);var ue=te?te(a):1;ue!=a.height&&ni(a,ue)}function wa(a){a.parent=null,Co(a)}var Wr={},Ji={};function xo(a,b){if(!a||/^\s*$/.test(a))return null;var ne=b.addModeClass?Ji:Wr;return ne[a]||(ne[a]=a.replace(/\S+/g,"cm-$&"))}function ba(a,b){var ne=Ct("span",null,null,Me?"padding-right: .1px":null),te={pre:Ct("pre",[ne],"CodeMirror-line"),content:ne,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};b.measure={};for(var ue=0;ue<=(b.rest?b.rest.length:0);ue++){var Te=ue?b.rest[ue-1]:b.line,et=void 0;te.pos=0,te.addToken=ns,si(a.display.measure)&&(et=xt(Te,a.doc.direction))&&(te.addToken=Za(te.addToken,et)),te.map=[];var yt=b!=a.display.externalMeasured&&An(Te);vo(Te,te,Er(a,Te,yt)),Te.styleClasses&&(Te.styleClasses.bgClass&&(te.bgClass=Ot(Te.styleClasses.bgClass,te.bgClass||"")),Te.styleClasses.textClass&&(te.textClass=Ot(Te.styleClasses.textClass,te.textClass||""))),te.map.length==0&&te.map.push(0,0,te.content.appendChild(pr(a.display.measure))),ue==0?(b.measure.map=te.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(te.map),(b.measure.caches||(b.measure.caches=[])).push({}))}if(Me){var Ft=te.content.lastChild;(/\bcm-tab\b/.test(Ft.className)||Ft.querySelector&&Ft.querySelector(".cm-tab"))&&(te.content.className="cm-tab-wrap-hack")}return ln(a,"renderLine",a,b.line,te.pre),te.pre.className&&(te.textClass=Ot(te.pre.className,te.textClass||"")),te}function Xa(a){var b=ht("span","\u2022","cm-invalidchar");return b.title="\\u"+a.charCodeAt(0).toString(16),b.setAttribute("aria-label",b.title),b}function ns(a,b,ne,te,ue,Te,et){if(b){var yt=a.splitSpaces?Ta(b,a.trailingSpace):b,Ft=a.cm.state.specialChars,Nt=!1,Nn;if(!Ft.test(b))a.col+=b.length,Nn=document.createTextNode(yt),a.map.push(a.pos,a.pos+b.length,Nn),He&&Fe<9&&(Nt=!0),a.pos+=b.length;else{Nn=document.createDocumentFragment();for(var Hn=0;;){Ft.lastIndex=Hn;var Pr=Ft.exec(b),wr=Pr?Pr.index-Hn:b.length-Hn;if(wr){var vi=document.createTextNode(yt.slice(Hn,Hn+wr));He&&Fe<9?Nn.appendChild(ht("span",[vi])):Nn.appendChild(vi),a.map.push(a.pos,a.pos+wr,vi),a.col+=wr,a.pos+=wr}if(!Pr)break;Hn+=wr+1;var Ki=void 0;if(Pr[0]==" "){var fo=a.cm.options.tabSize,Oo=fo-a.col%fo;Ki=Nn.appendChild(ht("span",mn(Oo),"cm-tab")),Ki.setAttribute("role","presentation"),Ki.setAttribute("cm-text"," "),a.col+=Oo}else Pr[0]=="\r"||Pr[0]==` +`?(Ki=Nn.appendChild(ht("span",Pr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ki.setAttribute("cm-text",Pr[0]),a.col+=1):(Ki=a.cm.options.specialCharPlaceholder(Pr[0]),Ki.setAttribute("cm-text",Pr[0]),He&&Fe<9?Nn.appendChild(ht("span",[Ki])):Nn.appendChild(Ki),a.col+=1);a.map.push(a.pos,a.pos+1,Ki),a.pos++}}if(a.trailingSpace=yt.charCodeAt(b.length-1)==32,ne||te||ue||Nt||Te||et){var Wo=ne||"";te&&(Wo+=te),ue&&(Wo+=ue);var Po=ht("span",[Nn],Wo,Te);if(et)for(var la in et)et.hasOwnProperty(la)&&la!="style"&&la!="class"&&Po.setAttribute(la,et[la]);return a.content.appendChild(Po)}a.content.appendChild(Nn)}}function Ta(a,b){if(a.length>1&&!/ /.test(a))return a;for(var ne=b,te="",ue=0;ueNt&&Hn.from<=Nt));Pr++);if(Hn.to>=Nn)return a(ne,te,ue,Te,et,yt,Ft);a(ne,te.slice(0,Hn.to-Nt),ue,Te,null,yt,Ft),Te=null,te=te.slice(Hn.to-Nt),Nt=Hn.to}}}function Fo(a,b,ne,te){var ue=!te&&ne.widgetNode;ue&&a.map.push(a.pos,a.pos+b,ue),!te&&a.cm.display.input.needsContentAttribute&&(ue||(ue=a.content.appendChild(document.createElement("span"))),ue.setAttribute("cm-marker",ne.id)),ue&&(a.cm.display.input.setUneditable(ue),a.content.appendChild(ue)),a.pos+=b,a.trailingSpace=!1}function vo(a,b,ne){var te=a.markedSpans,ue=a.text,Te=0;if(!te){for(var et=1;etFt||Ha.collapsed&&xa.to==Ft&&xa.from==Ft)){if(xa.to!=null&&xa.to!=Ft&&wr>xa.to&&(wr=xa.to,Ki=""),Ha.className&&(vi+=" "+Ha.className),Ha.css&&(Pr=(Pr?Pr+";":"")+Ha.css),Ha.startStyle&&xa.from==Ft&&(fo+=" "+Ha.startStyle),Ha.endStyle&&xa.to==wr&&(la||(la=[])).push(Ha.endStyle,xa.to),Ha.title&&((Wo||(Wo={})).title=Ha.title),Ha.attributes)for(var Sl in Ha.attributes)(Wo||(Wo={}))[Sl]=Ha.attributes[Sl];Ha.collapsed&&(!Oo||zo(Oo.marker,Ha)<0)&&(Oo=xa)}else xa.from>Ft&&wr>xa.from&&(wr=xa.from)}if(la)for(var Ku=0;Ku=yt)break;for(var xc=Math.min(yt,wr);;){if(Nn){var nc=Ft+Nn.length;if(!Oo){var Uu=nc>xc?Nn.slice(0,xc-Ft):Nn;b.addToken(b,Uu,Hn?Hn+vi:vi,fo,Ft+Uu.length==wr?Ki:"",Pr,Wo)}if(nc>=xc){Nn=Nn.slice(xc-Ft),Ft=xc;break}Ft=nc,fo=""}Nn=ue.slice(Te,Te=ne[Nt++]),Hn=xo(ne[Nt++],b.cm.options)}}}function qo(a,b,ne){this.line=b,this.rest=ro(b),this.size=this.rest?An(kt(this.rest))-ne+1:1,this.node=this.text=null,this.hidden=Bi(a,b)}function ja(a,b,ne){for(var te=[],ue,Te=b;Te2&&Te.push((Ft.bottom+Nt.top)/2-ne.top)}}Te.push(ne.bottom-ne.top)}}function ol(a,b,ne){if(a.line==b)return{map:a.measure.map,cache:a.measure.cache};for(var te=0;tene)return{map:a.measure.maps[ue],cache:a.measure.caches[ue],before:!0}}function kc(a,b){b=Zr(b);var ne=An(b),te=a.display.externalMeasured=new qo(a.doc,b,ne);te.lineN=ne;var ue=te.built=ba(a,te);return te.text=ue.pre,at(a.display.lineMeasure,ue.pre),te}function nu(a,b,ne,te){return oc(a,ps(a,b),ne,te)}function Cu(a,b){if(b>=a.display.viewFrom&&b=ne.lineN&&bb)&&(Te=Ft-yt,ue=Te-1,b>=Ft&&(et="right")),ue!=null){if(te=a[Nt+2],yt==Ft&&ne==(te.insertLeft?"left":"right")&&(et=ne),ne=="left"&&ue==0)for(;Nt&&a[Nt-2]==a[Nt-3]&&a[Nt-1].insertLeft;)te=a[(Nt-=3)+2],et="left";if(ne=="right"&&ue==Ft-yt)for(;Nt=0&&(ne=a[ue]).left==ne.right;ue--);return ne}function Xu(a,b,ne,te){var ue=Vc(b.map,ne,te),Te=ue.node,et=ue.start,yt=ue.end,Ft=ue.collapse,Nt;if(Te.nodeType==3){for(var Nn=0;Nn<4;Nn++){for(;et&&Ge(b.line.text.charAt(ue.coverStart+et));)--et;for(;ue.coverStart+yt0&&(Ft=te="right");var Hn;a.options.lineWrapping&&(Hn=Te.getClientRects()).length>1?Nt=Hn[te=="right"?Hn.length-1:0]:Nt=Te.getBoundingClientRect()}if(He&&Fe<9&&!et&&(!Nt||!Nt.left&&!Nt.right)){var Pr=Te.parentNode.getClientRects()[0];Pr?Nt={left:Pr.left,right:Pr.left+iA(a.display),top:Pr.top,bottom:Pr.bottom}:Nt=td}for(var wr=Nt.top-b.rect.top,vi=Nt.bottom-b.rect.top,Ki=(wr+vi)/2,fo=b.view.measure.heights,Oo=0;Oo=te.text.length?(Ft=te.text.length,Nt="before"):Ft<=0&&(Ft=0,Nt="after"),!yt)return et(Nt=="before"?Ft-1:Ft,Nt=="before");function Nn(vi,Ki,fo){var Oo=yt[Ki],Wo=Oo.level==1;return et(fo?vi-1:vi,Wo!=fo)}var Hn=Dt(yt,Ft,Nt),Pr=St,wr=Nn(Ft,Hn,Nt=="before");return Pr!=null&&(wr.other=Nn(Ft,Pr,Nt!="before")),wr}function Fa(a,b){var ne=0;b=or(a.doc,b),a.options.lineWrapping||(ne=iA(a.display)*b.ch);var te=ar(a.doc,b.line),ue=Ro(te)+Ol(a.display);return{left:ne,right:ne,top:ue,bottom:ue+te.height}}function Ma(a,b,ne,te,ue){var Te=Zt(a,b,ne);return Te.xRel=ue,te&&(Te.outside=te),Te}function bs(a,b,ne){var te=a.doc;if(ne+=a.display.viewOffset,ne<0)return Ma(te.first,0,null,-1,-1);var ue=Cn(te,ne),Te=te.first+te.size-1;if(ue>Te)return Ma(te.first+te.size-1,ar(te,Te).text.length,null,1,1);b<0&&(b=0);for(var et=ar(te,ue);;){var yt=Gc(a,et,ue,b,ne),Ft=$r(et,yt.ch+(yt.xRel>0||yt.outside>0?1:0));if(!Ft)return yt;var Nt=Ft.find(1);if(Nt.line==ue)return Nt;et=ar(te,ue=Nt.line)}}function ac(a,b,ne,te){te-=Tl(b);var ue=b.text.length,Te=mt(function(et){return oc(a,ne,et-1).bottom<=te},ue,0);return ue=mt(function(et){return oc(a,ne,et).top>te},Te,ue),{begin:Te,end:ue}}function Zl(a,b,ne,te){ne||(ne=ps(a,b));var ue=xu(a,b,oc(a,ne,te),"line").top;return ac(a,b,ne,ue)}function lu(a,b,ne,te){return a.bottom<=ne?!1:a.top>ne?!0:(te?a.left:a.right)>b}function Gc(a,b,ne,te,ue){ue-=Ro(b);var Te=ps(a,b),et=Tl(b),yt=0,Ft=b.text.length,Nt=!0,Nn=xt(b,a.doc.direction);if(Nn){var Hn=(a.options.lineWrapping?pA:wc)(a,b,ne,Te,Nn,te,ue);Nt=Hn.level!=1,yt=Nt?Hn.from:Hn.to-1,Ft=Nt?Hn.to:Hn.from-1}var Pr=null,wr=null,vi=mt(function(Ua){var xa=oc(a,Te,Ua);return xa.top+=et,xa.bottom+=et,lu(xa,te,ue,!1)?(xa.top<=ue&&xa.left<=te&&(Pr=Ua,wr=xa),!0):!1},yt,Ft),Ki,fo,Oo=!1;if(wr){var Wo=te-wr.left=la.bottom?1:0}return vi=ut(b.text,vi,1),Ma(ne,vi,fo,Oo,te-Ki)}function wc(a,b,ne,te,ue,Te,et){var yt=mt(function(Hn){var Pr=ue[Hn],wr=Pr.level!=1;return lu(fu(a,Zt(ne,wr?Pr.to:Pr.from,wr?"before":"after"),"line",b,te),Te,et,!0)},0,ue.length-1),Ft=ue[yt];if(yt>0){var Nt=Ft.level!=1,Nn=fu(a,Zt(ne,Nt?Ft.from:Ft.to,Nt?"after":"before"),"line",b,te);lu(Nn,Te,et,!0)&&Nn.top>et&&(Ft=ue[yt-1])}return Ft}function pA(a,b,ne,te,ue,Te,et){var yt=ac(a,b,te,et),Ft=yt.begin,Nt=yt.end;/\s/.test(b.text.charAt(Nt-1))&&Nt--;for(var Nn=null,Hn=null,Pr=0;Pr=Nt||wr.to<=Ft)){var vi=wr.level!=1,Ki=oc(a,te,vi?Math.min(Nt,wr.to)-1:Math.max(Ft,wr.from)).right,fo=Kifo)&&(Nn=wr,Hn=fo)}}return Nn||(Nn=ue[ue.length-1]),Nn.fromNt&&(Nn={from:Nn.from,to:Nt,level:Nn.level}),Nn}var Wl;function bc(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Wl==null){Wl=ht("pre",null,"CodeMirror-line-like");for(var b=0;b<49;++b)Wl.appendChild(document.createTextNode("x")),Wl.appendChild(ht("br"));Wl.appendChild(document.createTextNode("x"))}at(a.measure,Wl);var ne=Wl.offsetHeight/50;return ne>3&&(a.cachedTextHeight=ne),st(a.measure),ne||1}function iA(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var b=ht("span","xxxxxxxxxx"),ne=ht("pre",[b],"CodeMirror-line-like");at(a.measure,ne);var te=b.getBoundingClientRect(),ue=(te.right-te.left)/10;return ue>2&&(a.cachedCharWidth=ue),ue||10}function oA(a){for(var b=a.display,ne={},te={},ue=b.gutters.clientLeft,Te=b.gutters.firstChild,et=0;Te;Te=Te.nextSibling,++et){var yt=a.display.gutterSpecs[et].className;ne[yt]=Te.offsetLeft+Te.clientLeft+ue,te[yt]=Te.clientWidth}return{fixedPos:Ed(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:ne,gutterWidth:te,wrapperWidth:b.wrapper.clientWidth}}function Ed(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Jf(a){var b=bc(a.display),ne=a.options.lineWrapping,te=ne&&Math.max(5,a.display.scroller.clientWidth/iA(a.display)-3);return function(ue){if(Bi(a.doc,ue))return 0;var Te=0;if(ue.widgets)for(var et=0;et0&&(Nt=ar(a.doc,Ft.line).text).length==Ft.ch){var Nn=We(Nt,Nt.length,a.options.tabSize)-Nt.length;Ft=Zt(Ft.line,Math.max(0,Math.round((Te-du(a.display).left)/iA(a.display))-Nn))}return Ft}function gA(a,b){if(b>=a.display.viewTo||(b-=a.display.viewFrom,b<0))return null;for(var ne=a.display.view,te=0;teb)&&(ue.updateLineNumbers=b),a.curOp.viewChanged=!0,b>=ue.viewTo)hi&&jr(a.doc,b)ue.viewFrom?aA(a):(ue.viewFrom+=te,ue.viewTo+=te);else if(b<=ue.viewFrom&&ne>=ue.viewTo)aA(a);else if(b<=ue.viewFrom){var Te=Sd(a,ne,ne+te,1);Te?(ue.view=ue.view.slice(Te.index),ue.viewFrom=Te.lineN,ue.viewTo+=te):aA(a)}else if(ne>=ue.viewTo){var et=Sd(a,b,b,-1);et?(ue.view=ue.view.slice(0,et.index),ue.viewTo=et.lineN):aA(a)}else{var yt=Sd(a,b,b,-1),Ft=Sd(a,ne,ne+te,1);yt&&Ft?(ue.view=ue.view.slice(0,yt.index).concat(ja(a,yt.lineN,Ft.lineN)).concat(ue.view.slice(Ft.index)),ue.viewTo+=te):aA(a)}var Nt=ue.externalMeasured;Nt&&(ne=ue.lineN&&b=te.viewTo)){var Te=te.view[gA(a,b)];if(Te.node!=null){var et=Te.changes||(Te.changes=[]);At(et,ne)==-1&&et.push(ne)}}}function aA(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Sd(a,b,ne,te){var ue=gA(a,b),Te,et=a.display.view;if(!hi||ne==a.doc.first+a.doc.size)return{index:ue,lineN:ne};for(var yt=a.display.viewFrom,Ft=0;Ft0){if(ue==et.length-1)return null;Te=yt+et[ue].size-b,ue++}else Te=yt-b;b+=Te,ne+=Te}for(;jr(a.doc,ne)!=ne;){if(ue==(te<0?0:et.length-1))return null;ne+=te*et[ue-(te<0?1:0)].size,ue+=te}return{index:ue,lineN:ne}}function qf(a,b,ne){var te=a.display,ue=te.view;ue.length==0||b>=te.viewTo||ne<=te.viewFrom?(te.view=ja(a,b,ne),te.viewFrom=b):(te.viewFrom>b?te.view=ja(a,b,te.viewFrom).concat(te.view):te.viewFromne&&(te.view=te.view.slice(0,gA(a,ne)))),te.viewTo=ne}function Ms(a){for(var b=a.display.view,ne=0,te=0;te=a.display.viewTo||yt.to().line0?b.blinker=setInterval(function(){a.hasFocus()||Yc(a),b.cursorDiv.style.visibility=(ne=!ne)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(b.cursorDiv.style.visibility="hidden")}}function eh(a){a.state.focused||(a.display.input.focus(),Cf(a))}function bf(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,Yc(a))},100)}function Cf(a,b){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(ln(a,"focus",a,b),a.state.focused=!0,Qe(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Me&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Fd(a))}function Yc(a,b){a.state.delayingBlurEvent||(a.state.focused&&(ln(a,"blur",a,b),a.state.focused=!1,Ve(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function ma(a){for(var b=a.display,ne=b.lineDiv.offsetTop,te=0;te.005||Nn<-.005)&&(ni(ue.line,et),Rl(ue.line),ue.rest))for(var Hn=0;Hna.display.sizerWidth){var Pr=Math.ceil(yt/iA(a.display));Pr>a.display.maxLineLength&&(a.display.maxLineLength=Pr,a.display.maxLine=ue.line,a.display.maxLineChanged=!0)}}}}function Rl(a){if(a.widgets)for(var b=0;b=et&&(Te=Cn(b,Ro(ar(b,Ft))-a.wrapper.clientHeight),et=Ft)}return{from:Te,to:Math.max(et,Te+1)}}function rd(a,b){if(!nn(a,"scrollCursorIntoView")){var ne=a.display,te=ne.sizer.getBoundingClientRect(),ue=null;if(b.top+te.top<0?ue=!0:b.bottom+te.top>(window.innerHeight||document.documentElement.clientHeight)&&(ue=!1),ue!=null&&!Re){var Te=ht("div","\u200B",null,`position: absolute; + top: `+(b.top-ne.viewOffset-Ol(a.display))+`px; + height: `+(b.bottom-b.top+Gu(a)+ne.barHeight)+`px; + left: `+b.left+"px; width: "+Math.max(2,b.right-b.left)+"px;");a.display.lineSpace.appendChild(Te),Te.scrollIntoView(ue),a.display.lineSpace.removeChild(Te)}}}function kA(a,b,ne,te){te==null&&(te=0);var ue;!a.options.lineWrapping&&b==ne&&(b=b.ch?Zt(b.line,b.sticky=="before"?b.ch-1:b.ch,"after"):b,ne=b.sticky=="before"?Zt(b.line,b.ch+1,"before"):b);for(var Te=0;Te<5;Te++){var et=!1,yt=fu(a,b),Ft=!ne||ne==b?yt:fu(a,ne);ue={left:Math.min(yt.left,Ft.left),top:Math.min(yt.top,Ft.top)-te,right:Math.max(yt.left,Ft.left),bottom:Math.max(yt.bottom,Ft.bottom)+te};var Nt=MA(a,ue),Nn=a.doc.scrollTop,Hn=a.doc.scrollLeft;if(Nt.scrollTop!=null&&(sc(a,Nt.scrollTop),Math.abs(a.doc.scrollTop-Nn)>1&&(et=!0)),Nt.scrollLeft!=null&&(yA(a,Nt.scrollLeft),Math.abs(a.doc.scrollLeft-Hn)>1&&(et=!0)),!et)break}return ue}function Kp(a,b){var ne=MA(a,b);ne.scrollTop!=null&&sc(a,ne.scrollTop),ne.scrollLeft!=null&&yA(a,ne.scrollLeft)}function MA(a,b){var ne=a.display,te=bc(a.display);b.top<0&&(b.top=0);var ue=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:ne.scroller.scrollTop,Te=Bo(a),et={};b.bottom-b.top>Te&&(b.bottom=b.top+Te);var yt=a.doc.height+bu(ne),Ft=b.topyt-te;if(b.topue+Te){var Nn=Math.min(b.top,(Nt?yt:b.bottom)-Te);Nn!=ue&&(et.scrollTop=Nn)}var Hn=a.options.fixedGutter?0:ne.gutters.offsetWidth,Pr=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:ne.scroller.scrollLeft-Hn,wr=Qi(a)-ne.gutters.offsetWidth,vi=b.right-b.left>wr;return vi&&(b.right=b.left+wr),b.left<10?et.scrollLeft=0:b.leftwr+Pr-3&&(et.scrollLeft=b.right+(vi?0:10)-wr),et}function th(a,b){b!=null&&(vA(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+b)}function Uc(a){vA(a);var b=a.getCursor();a.curOp.scrollToPos={from:b,to:b,margin:a.options.cursorScrollMargin}}function id(a,b,ne){(b!=null||ne!=null)&&vA(a),b!=null&&(a.curOp.scrollLeft=b),ne!=null&&(a.curOp.scrollTop=ne)}function Zp(a,b){vA(a),a.curOp.scrollToPos=b}function vA(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var ne=Fa(a,b.from),te=Fa(a,b.to);Dc(a,ne,te,b.margin)}}function Dc(a,b,ne,te){var ue=MA(a,{left:Math.min(b.left,ne.left),top:Math.min(b.top,ne.top)-te,right:Math.max(b.right,ne.right),bottom:Math.max(b.bottom,ne.bottom)+te});id(a,ue.scrollLeft,ue.scrollTop)}function sc(a,b){Math.abs(a.doc.scrollTop-b)<2||(x||Ld(a,{top:b}),zs(a,b,!0),x&&Ld(a),sd(a,100))}function zs(a,b,ne){b=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,b)),!(a.display.scroller.scrollTop==b&&!ne)&&(a.doc.scrollTop=b,a.display.scrollbars.setScrollTop(b),a.display.scroller.scrollTop!=b&&(a.display.scroller.scrollTop=b))}function yA(a,b,ne,te){b=Math.max(0,Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((ne?b==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-b)<2)&&!te)&&(a.doc.scrollLeft=b,Yt(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function od(a){var b=a.display,ne=b.gutters.offsetWidth,te=Math.round(a.doc.height+bu(a.display));return{clientHeight:b.scroller.clientHeight,viewHeight:b.wrapper.clientHeight,scrollWidth:b.scroller.scrollWidth,clientWidth:b.scroller.clientWidth,viewWidth:b.wrapper.clientWidth,barLeft:a.options.fixedGutter?ne:0,docHeight:te,scrollHeight:te+Gu(a)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:ne}}var ad=function(a,b,ne){this.cm=ne;var te=this.vert=ht("div",[ht("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ue=this.horiz=ht("div",[ht("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");te.tabIndex=ue.tabIndex=-1,a(te),a(ue),Xt(te,"scroll",function(){te.clientHeight&&b(te.scrollTop,"vertical")}),Xt(ue,"scroll",function(){ue.clientWidth&&b(ue.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,He&&Fe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ad.prototype.update=function(a){var b=a.scrollWidth>a.clientWidth+1,ne=a.scrollHeight>a.clientHeight+1,te=a.nativeBarWidth;if(ne){this.vert.style.display="block",this.vert.style.bottom=b?te+"px":"0";var ue=a.viewHeight-(b?te:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ue)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(b){this.horiz.style.display="block",this.horiz.style.right=ne?te+"px":"0",this.horiz.style.left=a.barLeft+"px";var Te=a.viewWidth-a.barLeft-(ne?te:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+Te)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(te==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ne?te:0,bottom:b?te:0}},ad.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ad.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ad.prototype.zeroWidthHack=function(){var a=we&&!ye?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new ke,this.disableVert=new ke},ad.prototype.enableZeroWidthBar=function(a,b,ne){a.style.pointerEvents="auto";function te(){var ue=a.getBoundingClientRect(),Te=ne=="vert"?document.elementFromPoint(ue.right-1,(ue.top+ue.bottom)/2):document.elementFromPoint((ue.right+ue.left)/2,ue.bottom-1);Te!=a?a.style.pointerEvents="none":b.set(1e3,te)}b.set(1e3,te)},ad.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var wA=function(){};wA.prototype.update=function(){return{bottom:0,right:0}},wA.prototype.setScrollLeft=function(){},wA.prototype.setScrollTop=function(){},wA.prototype.clear=function(){};function UA(a,b){b||(b=od(a));var ne=a.display.barWidth,te=a.display.barHeight;xf(a,b);for(var ue=0;ue<4&&ne!=a.display.barWidth||te!=a.display.barHeight;ue++)ne!=a.display.barWidth&&a.options.lineWrapping&&ma(a),xf(a,od(a)),ne=a.display.barWidth,te=a.display.barHeight}function xf(a,b){var ne=a.display,te=ne.scrollbars.update(b);ne.sizer.style.paddingRight=(ne.barWidth=te.right)+"px",ne.sizer.style.paddingBottom=(ne.barHeight=te.bottom)+"px",ne.heightForcer.style.borderBottom=te.bottom+"px solid transparent",te.right&&te.bottom?(ne.scrollbarFiller.style.display="block",ne.scrollbarFiller.style.height=te.bottom+"px",ne.scrollbarFiller.style.width=te.right+"px"):ne.scrollbarFiller.style.display="",te.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(ne.gutterFiller.style.display="block",ne.gutterFiller.style.height=te.bottom+"px",ne.gutterFiller.style.width=b.gutterWidth+"px"):ne.gutterFiller.style.display=""}var Id={native:ad,null:wA};function Mh(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Ve(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Id[a.options.scrollbarStyle](function(b){a.display.wrapper.insertBefore(b,a.display.scrollbarFiller),Xt(b,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),b.setAttribute("cm-not-content","true")},function(b,ne){ne=="horizontal"?yA(a,b):sc(a,b)},a),a.display.scrollbars.addClass&&Qe(a.display.wrapper,a.display.scrollbars.addClass)}var Wp=0;function lc(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Wp},Fs(a.curOp)}function bA(a){var b=a.curOp;b&&tu(b,function(ne){for(var te=0;te=ne.viewTo)||ne.maxLineChanged&&b.options.lineWrapping,a.update=a.mustUpdate&&new Bf(b,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Xd(a){a.updatedDisplay=a.mustUpdate&&nh(a.cm,a.update)}function cp(a){var b=a.cm,ne=b.display;a.updatedDisplay&&ma(b),a.barMeasure=od(b),ne.maxLineChanged&&!b.options.lineWrapping&&(a.adjustWidthTo=nu(b,ne.maxLine,ne.maxLine.text.length).left+3,b.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(ne.scroller.clientWidth,ne.sizer.offsetLeft+a.adjustWidthTo+Gu(b)+b.display.barWidth),a.maxScrollLeft=Math.max(0,ne.sizer.offsetLeft+a.adjustWidthTo-Qi(b))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=ne.input.prepareSelection())}function Yd(a){var b=a.cm;a.adjustWidthTo!=null&&(b.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft=a.display.viewTo)){var ne=+new Date+a.options.workTime,te=tn(a,b.highlightFrontier),ue=[];b.iter(te.line,Math.min(b.first+b.size,a.display.viewTo+500),function(Te){if(te.line>=a.display.viewFrom){var et=Te.styles,yt=Te.text.length>a.options.maxHighlightLength?Pi(b.mode,te.state):null,Ft=Xi(a,Te,te,!0);yt&&(te.state=yt),Te.styles=Ft.styles;var Nt=Te.styleClasses,Nn=Ft.classes;Nn?Te.styleClasses=Nn:Nt&&(Te.styleClasses=null);for(var Hn=!et||et.length!=Te.styles.length||Nt!=Nn&&(!Nt||!Nn||Nt.bgClass!=Nn.bgClass||Nt.textClass!=Nn.textClass),Pr=0;!Hn&&Prne)return sd(a,a.options.workDelay),!0}),b.highlightFrontier=te.line,b.modeFrontier=Math.max(b.modeFrontier,te.line),ue.length&&uc(a,function(){for(var Te=0;Te=ne.viewFrom&&b.visible.to<=ne.viewTo&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo)&&ne.renderedView==ne.view&&Ms(a)==0)return!1;dn(a)&&(aA(a),b.dims=oA(a));var ue=te.first+te.size,Te=Math.max(b.visible.from-a.options.viewportMargin,te.first),et=Math.min(ue,b.visible.to+a.options.viewportMargin);ne.viewFromet&&ne.viewTo-et<20&&(et=Math.min(ue,ne.viewTo)),hi&&(Te=jr(a.doc,Te),et=Yr(a.doc,et));var yt=Te!=ne.viewFrom||et!=ne.viewTo||ne.lastWrapHeight!=b.wrapperHeight||ne.lastWrapWidth!=b.wrapperWidth;qf(a,Te,et),ne.viewOffset=Ro(ar(a.doc,ne.viewFrom)),a.display.mover.style.top=ne.viewOffset+"px";var Ft=Ms(a);if(!yt&&Ft==0&&!b.force&&ne.renderedView==ne.view&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo))return!1;var Nt=dp(a);return Ft>4&&(ne.lineDiv.style.display="none"),hp(a,ne.updateLineNumbers,b.dims),Ft>4&&(ne.lineDiv.style.display=""),ne.renderedView=ne.view,fp(Nt),st(ne.cursorDiv),st(ne.selectionDiv),ne.gutters.style.height=ne.sizer.style.minHeight=0,yt&&(ne.lastWrapHeight=b.wrapperHeight,ne.lastWrapWidth=b.wrapperWidth,sd(a,400)),ne.updateLineNumbers=null,!0}function CA(a,b){for(var ne=b.viewport,te=!0;;te=!1){if(!te||!a.options.lineWrapping||b.oldDisplayWidth==Qi(a)){if(ne&&ne.top!=null&&(ne={top:Math.min(a.doc.height+bu(a.display)-Bo(a),ne.top)}),b.visible=Mc(a.display,a.doc,ne),b.visible.from>=a.display.viewFrom&&b.visible.to<=a.display.viewTo)break}else te&&(b.visible=Mc(a.display,a.doc,ne));if(!nh(a,b))break;ma(a);var ue=od(a);Ju(a),UA(a,ue),wt(a,ue),b.force=!1}b.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(b.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Ld(a,b){var ne=new Bf(a,b);if(nh(a,ne)){ma(a),CA(a,ne);var te=od(a);Ju(a),UA(a,te),wt(a,te),ne.finish()}}function hp(a,b,ne){var te=a.display,ue=a.options.lineNumbers,Te=te.lineDiv,et=Te.firstChild;function yt(vi){var Ki=vi.nextSibling;return Me&&we&&a.display.currentWheelTarget==vi?vi.style.display="none":vi.parentNode.removeChild(vi),Ki}for(var Ft=te.view,Nt=te.viewFrom,Nn=0;Nn-1&&(wr=!1),wu(a,Hn,Nt,ne)),wr&&(st(Hn.lineNumber),Hn.lineNumber.appendChild(document.createTextNode(pn(a.options,Nt)))),et=Hn.node.nextSibling}Nt+=Hn.size}for(;et;)et=yt(et)}function bt(a){var b=a.gutters.offsetWidth;a.sizer.style.marginLeft=b+"px"}function wt(a,b){a.display.sizer.style.minHeight=b.docHeight+"px",a.display.heightForcer.style.top=b.docHeight+"px",a.display.gutters.style.height=b.docHeight+a.display.barHeight+Gu(a)+"px"}function Yt(a){var b=a.display,ne=b.view;if(!(!b.alignWidgets&&(!b.gutters.firstChild||!a.options.fixedGutter))){for(var te=Ed(b)-b.scroller.scrollLeft+a.doc.scrollLeft,ue=b.gutters.offsetWidth,Te=te+"px",et=0;etet.clientWidth,Ft=et.scrollHeight>et.clientHeight;if(te&&yt||ue&&Ft){if(ue&&we&&Me){e:for(var Nt=b.target,Nn=Te.view;Nt!=et;Nt=Nt.parentNode)for(var Hn=0;Hn=0&&vn(a,te.to())<=0)return ne}return-1};var Sr=function(a,b){this.anchor=a,this.head=b};Sr.prototype.from=function(){return li(this.anchor,this.head)},Sr.prototype.to=function(){return Xr(this.anchor,this.head)},Sr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Wi(a,b,ne){var te=a&&a.options.selectionsMayTouch,ue=b[ne];b.sort(function(Pr,wr){return vn(Pr.from(),wr.from())}),ne=At(b,ue);for(var Te=1;Te0:Ft>=0){var Nt=li(yt.from(),et.from()),Nn=Xr(yt.to(),et.to()),Hn=yt.empty()?et.from()==et.head:yt.from()==yt.head;Te<=ne&&--ne,b.splice(--Te,2,new Sr(Hn?Nn:Nt,Hn?Nt:Nn))}}return new Lr(b,ne)}function mi(a,b){return new Lr([new Sr(a,b||a)],0)}function eo(a){return a.text?Zt(a.from.line+a.text.length-1,kt(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function co(a,b){if(vn(a,b.from)<0)return a;if(vn(a,b.to)<=0)return eo(b);var ne=a.line+b.text.length-(b.to.line-b.from.line)-1,te=a.ch;return a.line==b.to.line&&(te+=eo(b).ch-b.to.ch),Zt(ne,te)}function qi(a,b){for(var ne=[],te=0;te1&&a.remove(yt.line+1,vi-1),a.insert(yt.line+1,Oo)}tl(a,"change",a,b)}function ta(a,b,ne){function te(ue,Te,et){if(ue.linked)for(var yt=0;yt1&&!a.done[a.done.length-2].ranges)return a.done.pop(),kt(a.done)}function na(a,b,ne,te){var ue=a.history;ue.undone.length=0;var Te=+new Date,et,yt;if((ue.lastOp==te||ue.lastOrigin==b.origin&&b.origin&&(b.origin.charAt(0)=="+"&&ue.lastModTime>Te-(a.cm?a.cm.options.historyEventDelay:500)||b.origin.charAt(0)=="*"))&&(et=Xo(ue,ue.lastOp==te)))yt=kt(et.changes),vn(b.from,b.to)==0&&vn(b.from,yt.to)==0?yt.to=eo(b):et.changes.push(ho(a,b));else{var Ft=kt(ue.done);for((!Ft||!Ft.ranges)&&Va(a.sel,ue.done),et={changes:[ho(a,b)],generation:ue.generation},ue.done.push(et);ue.done.length>ue.undoDepth;)ue.done.shift(),ue.done[0].ranges||ue.done.shift()}ue.done.push(ne),ue.generation=++ue.maxGeneration,ue.lastModTime=ue.lastSelTime=Te,ue.lastOp=ue.lastSelOp=te,ue.lastOrigin=ue.lastSelOrigin=b.origin,yt||ln(a,"historyAdded")}function bo(a,b,ne,te){var ue=b.charAt(0);return ue=="*"||ue=="+"&&ne.ranges.length==te.ranges.length&&ne.somethingSelected()==te.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function rs(a,b,ne,te){var ue=a.history,Te=te&&te.origin;ne==ue.lastSelOp||Te&&ue.lastSelOrigin==Te&&(ue.lastModTime==ue.lastSelTime&&ue.lastOrigin==Te||bo(a,Te,kt(ue.done),b))?ue.done[ue.done.length-1]=b:Va(b,ue.done),ue.lastSelTime=+new Date,ue.lastSelOrigin=Te,ue.lastSelOp=ne,te&&te.clearRedo!==!1&&_o(ue.undone)}function Va(a,b){var ne=kt(b);ne&&ne.ranges&&ne.equals(a)||b.push(a)}function kl(a,b,ne,te){var ue=b["spans_"+a.id],Te=0;a.iter(Math.max(a.first,ne),Math.min(a.first+a.size,te),function(et){et.markedSpans&&((ue||(ue=b["spans_"+a.id]={}))[Te]=et.markedSpans),++Te})}function xl(a){if(!a)return null;for(var b,ne=0;ne-1&&(kt(yt)[Hn]=Nt[Hn],delete Nt[Hn])}}return te}function ds(a,b,ne,te){if(te){var ue=a.anchor;if(ne){var Te=vn(b,ue)<0;Te!=vn(ne,ue)<0?(ue=b,b=ne):Te!=vn(b,ne)<0&&(b=ne)}return new Sr(ue,b)}else return new Sr(ne||b,b)}function us(a,b,ne,te,ue){ue==null&&(ue=a.cm&&(a.cm.display.shift||a.extend)),To(a,new Lr([ds(a.sel.primary(),b,ne,ue)],0),te)}function nl(a,b,ne){for(var te=[],ue=a.cm&&(a.cm.display.shift||a.extend),Te=0;Te=b.ch:yt.to>b.ch))){if(ue&&(ln(Ft,"beforeCursorEnter"),Ft.explicitlyCleared))if(Te.markedSpans){--et;continue}else break;if(!Ft.atomic)continue;if(ne){var Hn=Ft.find(te<0?1:-1),Pr=void 0;if((te<0?Nn:Nt)&&(Hn=aa(a,Hn,-te,Hn&&Hn.line==b.line?Te:null)),Hn&&Hn.line==b.line&&(Pr=vn(Hn,ne))&&(te<0?Pr<0:Pr>0))return sl(a,Hn,b,te,ue)}var wr=Ft.find(te<0?-1:1);return(te<0?Nt:Nn)&&(wr=aa(a,wr,te,wr.line==b.line?Te:null)),wr?sl(a,wr,b,te,ue):null}}return b}function hu(a,b,ne,te,ue){var Te=te||1,et=sl(a,b,ne,Te,ue)||!ue&&sl(a,b,ne,Te,!0)||sl(a,b,ne,-Te,ue)||!ue&&sl(a,b,ne,-Te,!0);return et||(a.cantEdit=!0,Zt(a.first,0))}function aa(a,b,ne,te){return ne<0&&b.ch==0?b.line>a.first?or(a,Zt(b.line-1)):null:ne>0&&b.ch==(te||ar(a,b.line)).text.length?b.line=0;--ue)Xs(a,{from:te[ue].from,to:te[ue].to,text:ue?[""]:b.text,origin:b.origin});else Xs(a,b)}}function Xs(a,b){if(!(b.text.length==1&&b.text[0]==""&&vn(b.from,b.to)==0)){var ne=qi(a,b);na(a,b,ne,a.cm?a.cm.curOp.id:NaN),Ac(a,b,ne,So(a,b));var te=[];ta(a,function(ue,Te){!Te&&At(te,ue.history)==-1&&(cu(ue.history,b),te.push(ue.history)),Ac(ue,b,null,So(ue,b))})}}function pu(a,b,ne){var te=a.cm&&a.cm.state.suppressEdits;if(!(te&&!ne)){for(var ue=a.history,Te,et=a.sel,yt=b=="undo"?ue.done:ue.undone,Ft=b=="undo"?ue.undone:ue.done,Nt=0;Nt=0;--wr){var vi=Pr(wr);if(vi)return vi.v}}}}function Ml(a,b){if(b!=0&&(a.first+=b,a.sel=new Lr(Fn(a.sel.ranges,function(ue){return new Sr(Zt(ue.anchor.line+b,ue.anchor.ch),Zt(ue.head.line+b,ue.head.ch))}),a.sel.primIndex),a.cm)){Ou(a.cm,a.first,a.first-b,b);for(var ne=a.cm.display,te=ne.viewFrom;tea.lastLine())){if(b.from.lineTe&&(b={from:b.from,to:Zt(Te,ar(a,Te).text.length),text:[b.text[0]],origin:b.origin}),b.removed=Dr(a,b.from,b.to),ne||(ne=qi(a,b)),a.cm?Bl(a.cm,b,te):oa(a,b,te),vs(a,ne,nt),a.cantEdit&&hu(a,Zt(a.firstLine(),0))&&(a.cantEdit=!1)}}function Bl(a,b,ne){var te=a.doc,ue=a.display,Te=b.from,et=b.to,yt=!1,Ft=Te.line;a.options.lineWrapping||(Ft=An(Zr(ar(te,Te.line))),te.iter(Ft,et.line+1,function(wr){if(wr==ue.maxLine)return yt=!0,!0})),te.sel.contains(b.from,b.to)>-1&&zn(a),oa(te,b,ne,Jf(a)),a.options.lineWrapping||(te.iter(Ft,Te.line+b.text.length,function(wr){var vi=ya(wr);vi>ue.maxLineLength&&(ue.maxLine=wr,ue.maxLineLength=vi,ue.maxLineChanged=!0,yt=!1)}),yt&&(a.curOp.updateMaxLine=!0)),Ci(te,Te.line),sd(a,400);var Nt=b.text.length-(et.line-Te.line)-1;b.full?Ou(a):Te.line==et.line&&b.text.length==1&&!Da(a.doc,b)?TA(a,Te.line,"text"):Ou(a,Te.line,et.line+1,Nt);var Nn=Ln(a,"changes"),Hn=Ln(a,"change");if(Hn||Nn){var Pr={from:Te,to:et,text:b.text,removed:b.removed,origin:b.origin};Hn&&tl(a,"change",a,Pr),Nn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Pr)}a.display.selForContextMenu=null}function Cs(a,b,ne,te,ue){var Te;te||(te=ne),vn(te,ne)<0&&(Te=[te,ne],ne=Te[0],te=Te[1]),typeof b=="string"&&(b=a.splitLines(b)),Js(a,{from:ne,to:te,text:b,origin:ue})}function ll(a,b,ne,te){ne1||!(this.children[0]instanceof xs))){var yt=[];this.collapse(yt),this.children=[new xs(yt)],this.children[0].parent=this}},collapse:function(a){for(var b=0;b50){for(var et=ue.lines.length%25+25,yt=et;yt10);a.parent.maybeSpill()}},iterN:function(a,b,ne){for(var te=0;tea.display.maxLineLength&&(a.display.maxLine=Nt,a.display.maxLineLength=Nn,a.display.maxLineChanged=!0)}te!=null&&a&&this.collapsed&&Ou(a,te,ue+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Gs(a.doc)),a&&tl(a,"markerCleared",a,this,te,ue),b&&bA(a),this.parent&&this.parent.clear()}},Mu.prototype.find=function(a,b){a==null&&this.type=="bookmark"&&(a=1);for(var ne,te,ue=0;ue0||et==0&&Te.clearWhenEmpty!==!1)return Te;if(Te.replacedWith&&(Te.collapsed=!0,Te.widgetNode=Ct("span",[Te.replacedWith],"CodeMirror-widget"),te.handleMouseEvents||Te.widgetNode.setAttribute("cm-ignore-events","true"),te.insertLeft&&(Te.widgetNode.insertLeft=!0)),Te.collapsed){if(ui(a,b.line,b,ne,Te)||b.line!=ne.line&&ui(a,ne.line,b,ne,Te))throw new Error("Inserting collapsed marker partially overlapping an existing one");Di()}Te.addToHistory&&na(a,{from:b,to:ne,origin:"markText"},a.sel,NaN);var yt=b.line,Ft=a.cm,Nt;if(a.iter(yt,ne.line+1,function(Hn){Ft&&Te.collapsed&&!Ft.options.lineWrapping&&Zr(Hn)==Ft.display.maxLine&&(Nt=!0),Te.collapsed&&yt!=b.line&&ni(Hn,0),ai(Hn,new $i(Te,yt==b.line?b.ch:null,yt==ne.line?ne.ch:null)),++yt}),Te.collapsed&&a.iter(b.line,ne.line+1,function(Hn){Bi(a,Hn)&&ni(Hn,0)}),Te.clearOnEnter&&Xt(Te,"beforeCursorEnter",function(){return Te.clear()}),Te.readOnly&&(Ii(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),Te.collapsed&&(Te.id=++ku,Te.atomic=!0),Ft){if(Nt&&(Ft.curOp.updateMaxLine=!0),Te.collapsed)Ou(Ft,b.line,ne.line+1);else if(Te.className||Te.startStyle||Te.endStyle||Te.css||Te.attributes||Te.title)for(var Nn=b.line;Nn<=ne.line;Nn++)TA(Ft,Nn,"text");Te.atomic&&Gs(Ft.doc),tl(Ft,"markerAdded",Ft,Te)}return Te}var cl=function(a,b){this.markers=a,this.primary=b;for(var ne=0;ne=0;Ft--)Js(this,te[Ft]);yt?Yo(this,yt):this.cm&&Uc(this.cm)}),undo:Tu(function(){pu(this,"undo")}),redo:Tu(function(){pu(this,"redo")}),undoSelection:Tu(function(){pu(this,"undo",!0)}),redoSelection:Tu(function(){pu(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,b=0,ne=0,te=0;te=a.ch)&&b.push(ue.marker.parent||ue.marker)}return b},findMarks:function(a,b,ne){a=or(this,a),b=or(this,b);var te=[],ue=a.line;return this.iter(a.line,b.line+1,function(Te){var et=Te.markedSpans;if(et)for(var yt=0;yt=Ft.to||Ft.from==null&&ue!=a.line||Ft.from!=null&&ue==b.line&&Ft.from>=b.ch)&&(!ne||ne(Ft.marker))&&te.push(Ft.marker.parent||Ft.marker)}++ue}),te},getAllMarks:function(){var a=[];return this.iter(function(b){var ne=b.markedSpans;if(ne)for(var te=0;tea)return b=a,!0;a-=Te,++ne}),or(this,Zt(ne,b))},indexFromPos:function(a){a=or(this,a);var b=a.ch;if(a.lineb&&(b=a.from),a.to!=null&&a.to-1){b.state.draggingText(a),setTimeout(function(){return b.display.input.focus()},20);return}try{var Nn=a.dataTransfer.getData("Text");if(Nn){var Hn;if(b.state.draggingText&&!b.state.draggingText.copy&&(Hn=b.listSelections()),vs(b.doc,mi(ne,ne)),Hn)for(var Pr=0;Pr=0;yt--)Cs(a.doc,"",te[yt].from,te[yt].to,"+delete");Uc(a)})}function ef(a,b,ne){var te=ut(a.text,b+ne,ne);return te<0||te>a.text.length?null:te}function Ff(a,b,ne){var te=ef(a,b.ch,ne);return te==null?null:new Zt(b.line,te,ne<0?"after":"before")}function tf(a,b,ne,te,ue){if(a){b.doc.direction=="rtl"&&(ue=-ue);var Te=xt(ne,b.doc.direction);if(Te){var et=ue<0?kt(Te):Te[0],yt=ue<0==(et.level==1),Ft=yt?"after":"before",Nt;if(et.level>0||b.doc.direction=="rtl"){var Nn=ps(b,ne);Nt=ue<0?ne.text.length-1:0;var Hn=oc(b,Nn,Nt).top;Nt=mt(function(Pr){return oc(b,Nn,Pr).top==Hn},ue<0==(et.level==1)?et.from:et.to-1,Nt),Ft=="before"&&(Nt=ef(ne,Nt,1))}else Nt=ue<0?et.to:et.from;return new Zt(te,Nt,Ft)}}return new Zt(te,ue<0?ne.text.length:0,ue<0?"before":"after")}function If(a,b,ne,te){var ue=xt(b,a.doc.direction);if(!ue)return Ff(b,ne,te);ne.ch>=b.text.length?(ne.ch=b.text.length,ne.sticky="before"):ne.ch<=0&&(ne.ch=0,ne.sticky="after");var Te=Dt(ue,ne.ch,ne.sticky),et=ue[Te];if(a.doc.direction=="ltr"&&et.level%2==0&&(te>0?et.to>ne.ch:et.from=et.from&&Pr>=Nn.begin)){var wr=Hn?"before":"after";return new Zt(ne.line,Pr,wr)}}var vi=function(Oo,Wo,Po){for(var la=function(Sl,Ku){return Ku?new Zt(ne.line,yt(Sl,1),"before"):new Zt(ne.line,Sl,"after")};Oo>=0&&Oo0==(Ua.level!=1),Ha=xa?Po.begin:yt(Po.end,-1);if(Ua.from<=Ha&&Ha0?Nn.end:yt(Nn.begin,-1);return fo!=null&&!(te>0&&fo==b.text.length)&&(Ki=vi(te>0?0:ue.length-1,te,Nt(fo)),Ki)?Ki:null}var GA={selectAll:ea,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),nt)},killLine:function(a){return _c(a,function(b){if(b.empty()){var ne=ar(a.doc,b.head.line).text.length;return b.head.ch==ne&&b.head.line0)ue=new Zt(ue.line,ue.ch+1),a.replaceRange(Te.charAt(ue.ch-1)+Te.charAt(ue.ch-2),Zt(ue.line,ue.ch-2),ue,"+transpose");else if(ue.line>a.doc.first){var et=ar(a.doc,ue.line-1).text;et&&(ue=new Zt(ue.line,1),a.replaceRange(Te.charAt(0)+a.doc.lineSeparator()+et.charAt(et.length-1),Zt(ue.line-1,et.length-1),ue,"+transpose"))}}ne.push(new Sr(ue,ue))}a.setSelections(ne)})},newlineAndIndent:function(a){return uc(a,function(){for(var b=a.listSelections(),ne=b.length-1;ne>=0;ne--)a.replaceRange(a.doc.lineSeparator(),b[ne].anchor,b[ne].head,"+input");b=a.listSelections();for(var te=0;tea&&vn(b,this.pos)==0&&ne==this.button};var EA,SA;function Pd(a,b){var ne=+new Date;return SA&&SA.compare(ne,a,b)?(EA=SA=null,"triple"):EA&&EA.compare(ne,a,b)?(SA=new ud(ne,a,b),EA=null,"double"):(EA=new ud(ne,a,b),SA=null,"single")}function cd(a){var b=this,ne=b.display;if(!(nn(b,a)||ne.activeTouch&&ne.input.supportsTouch())){if(ne.input.ensurePolled(),ne.shift=a.shiftKey,su(ne,a)){Me||(ne.scroller.draggable=!1,setTimeout(function(){return ne.scroller.draggable=!0},100));return}if(!RA(b,a)){var te=PA(b,a),ue=sn(a),Te=te?Pd(te,ue):"single";window.focus(),ue==1&&b.state.selectingText&&b.state.selectingText(a),!(te&&Rh(b,ue,te,Te,a))&&(ue==1?te?ks(b,te,Te,a):Gt(a)==ne.scroller&&un(a):ue==2?(te&&us(b.doc,te),setTimeout(function(){return ne.input.focus()},20)):ue==3&&(_e?b.display.input.onContextMenu(a):bf(b)))}}}function Rh(a,b,ne,te,ue){var Te="Click";return te=="double"?Te="Double"+Te:te=="triple"&&(Te="Triple"+Te),Te=(b==1?"Left":b==2?"Middle":"Right")+Te,rf(a,WA(Te,ue),ue,function(et){if(typeof et=="string"&&(et=GA[et]),!et)return!1;var yt=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),yt=et(a,ne)!=Ht}finally{a.state.suppressEdits=!1}return yt})}function ws(a,b,ne){var te=a.getOption("configureMouse"),ue=te?te(a,b,ne):{};if(ue.unit==null){var Te=Ee?ne.shiftKey&&ne.metaKey:ne.altKey;ue.unit=Te?"rectangle":b=="single"?"char":b=="double"?"word":"line"}return(ue.extend==null||a.doc.extend)&&(ue.extend=a.doc.extend||ne.shiftKey),ue.addNew==null&&(ue.addNew=we?ne.metaKey:ne.ctrlKey),ue.moveOnDrag==null&&(ue.moveOnDrag=!(we?ne.altKey:ne.ctrlKey)),ue}function ks(a,b,ne,te){He?setTimeout(lt(eh,a),0):a.curOp.focus=Ne();var ue=ws(a,ne,te),Te=a.doc.sel,et;a.options.dragDrop&&bn&&!a.isReadOnly()&&ne=="single"&&(et=Te.contains(b))>-1&&(vn((et=Te.ranges[et]).from(),b)<0||b.xRel>0)&&(vn(et.to(),b)>0||b.xRel<0)?mu(a,te,b,ue):zu(a,te,b,ue)}function mu(a,b,ne,te){var ue=a.display,Te=!1,et=Pu(a,function(Nt){Me&&(ue.scroller.draggable=!1),a.state.draggingText=!1,wn(ue.wrapper.ownerDocument,"mouseup",et),wn(ue.wrapper.ownerDocument,"mousemove",yt),wn(ue.scroller,"dragstart",Ft),wn(ue.scroller,"drop",et),Te||(un(Nt),te.addNew||us(a.doc,ne,null,null,te.extend),Me&&!Pe||He&&Fe==9?setTimeout(function(){ue.wrapper.ownerDocument.body.focus({preventScroll:!0}),ue.input.focus()},20):ue.input.focus())}),yt=function(Nt){Te=Te||Math.abs(b.clientX-Nt.clientX)+Math.abs(b.clientY-Nt.clientY)>=10},Ft=function(){return Te=!0};Me&&(ue.scroller.draggable=!0),a.state.draggingText=et,et.copy=!te.moveOnDrag,ue.scroller.dragDrop&&ue.scroller.dragDrop(),Xt(ue.wrapper.ownerDocument,"mouseup",et),Xt(ue.wrapper.ownerDocument,"mousemove",yt),Xt(ue.scroller,"dragstart",Ft),Xt(ue.scroller,"drop",et),bf(a),setTimeout(function(){return ue.input.focus()},20)}function Hu(a,b,ne){if(ne=="char")return new Sr(b,b);if(ne=="word")return a.findWordAt(b);if(ne=="line")return new Sr(Zt(b.line,0),or(a.doc,Zt(b.line+1,0)));var te=ne(a,b);return new Sr(te.from,te.to)}function zu(a,b,ne,te){var ue=a.display,Te=a.doc;un(b);var et,yt,Ft=Te.sel,Nt=Ft.ranges;if(te.addNew&&!te.extend?(yt=Te.sel.contains(ne),yt>-1?et=Nt[yt]:et=new Sr(ne,ne)):(et=Te.sel.primary(),yt=Te.sel.primIndex),te.unit=="rectangle")te.addNew||(et=new Sr(ne,ne)),ne=PA(a,b,!0,!0),yt=-1;else{var Nn=Hu(a,ne,te.unit);te.extend?et=ds(et,Nn.anchor,Nn.head,te.extend):et=Nn}te.addNew?yt==-1?(yt=Nt.length,To(Te,Wi(a,Nt.concat([et]),yt),{scroll:!1,origin:"*mouse"})):Nt.length>1&&Nt[yt].empty()&&te.unit=="char"&&!te.extend?(To(Te,Wi(a,Nt.slice(0,yt).concat(Nt.slice(yt+1)),0),{scroll:!1,origin:"*mouse"}),Ft=Te.sel):uu(Te,yt,et,Pt):(yt=0,To(Te,new Lr([et],0),Pt),Ft=Te.sel);var Hn=ne;function Pr(Po){if(vn(Hn,Po)!=0)if(Hn=Po,te.unit=="rectangle"){for(var la=[],Ua=a.options.tabSize,xa=We(ar(Te,ne.line).text,ne.ch,Ua),Ha=We(ar(Te,Po.line).text,Po.ch,Ua),Sl=Math.min(xa,Ha),Ku=Math.max(xa,Ha),Xl=Math.min(ne.line,Po.line),xc=Math.min(a.lastLine(),Math.max(ne.line,Po.line));Xl<=xc;Xl++){var nc=ar(Te,Xl).text,Uu=hn(nc,Sl,Ua);Sl==Ku?la.push(new Sr(Zt(Xl,Uu),Zt(Xl,Uu))):nc.length>Uu&&la.push(new Sr(Zt(Xl,Uu),Zt(Xl,hn(nc,Ku,Ua))))}la.length||la.push(new Sr(ne,ne)),To(Te,Wi(a,Ft.ranges.slice(0,yt).concat(la),yt),{origin:"*mouse",scroll:!1}),a.scrollIntoView(Po)}else{var Bc=et,dc=Hu(a,Po,te.unit),Lo=Bc.anchor,Hl;vn(dc.anchor,Lo)>0?(Hl=dc.head,Lo=li(Bc.from(),dc.anchor)):(Hl=dc.anchor,Lo=Xr(Bc.to(),dc.head));var Yl=Ft.ranges.slice(0);Yl[yt]=Ad(a,new Sr(or(Te,Lo),Hl)),To(Te,Wi(a,Yl,yt),Pt)}}var wr=ue.wrapper.getBoundingClientRect(),vi=0;function Ki(Po){var la=++vi,Ua=PA(a,Po,!0,te.unit=="rectangle");if(Ua)if(vn(Ua,Hn)!=0){a.curOp.focus=Ne(),Pr(Ua);var xa=Mc(ue,Te);(Ua.line>=xa.to||Ua.linewr.bottom?20:0;Ha&&setTimeout(Pu(a,function(){vi==la&&(ue.scroller.scrollTop+=Ha,Ki(Po))}),50)}}function fo(Po){a.state.selectingText=!1,vi=1/0,Po&&(un(Po),ue.input.focus()),wn(ue.wrapper.ownerDocument,"mousemove",Oo),wn(ue.wrapper.ownerDocument,"mouseup",Wo),Te.history.lastSelOrigin=null}var Oo=Pu(a,function(Po){Po.buttons===0||!sn(Po)?fo(Po):Ki(Po)}),Wo=Pu(a,fo);a.state.selectingText=Wo,Xt(ue.wrapper.ownerDocument,"mousemove",Oo),Xt(ue.wrapper.ownerDocument,"mouseup",Wo)}function Ad(a,b){var ne=b.anchor,te=b.head,ue=ar(a.doc,ne.line);if(vn(ne,te)==0&&ne.sticky==te.sticky)return b;var Te=xt(ue);if(!Te)return b;var et=Dt(Te,ne.ch,ne.sticky),yt=Te[et];if(yt.from!=ne.ch&&yt.to!=ne.ch)return b;var Ft=et+(yt.from==ne.ch==(yt.level!=1)?0:1);if(Ft==0||Ft==Te.length)return b;var Nt;if(te.line!=ne.line)Nt=(te.line-ne.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var Nn=Dt(Te,te.ch,te.sticky),Hn=Nn-et||(te.ch-ne.ch)*(yt.level==1?-1:1);Nn==Ft-1||Nn==Ft?Nt=Hn<0:Nt=Hn>0}var Pr=Te[Ft+(Nt?-1:0)],wr=Nt==(Pr.level==1),vi=wr?Pr.from:Pr.to,Ki=wr?"after":"before";return ne.ch==vi&&ne.sticky==Ki?b:new Sr(new Zt(ne.line,vi,Ki),te)}function XA(a,b,ne,te){var ue,Te;if(b.touches)ue=b.touches[0].clientX,Te=b.touches[0].clientY;else try{ue=b.clientX,Te=b.clientY}catch(Pr){return!1}if(ue>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;te&&un(b);var et=a.display,yt=et.lineDiv.getBoundingClientRect();if(Te>yt.bottom||!Ln(a,ne))return Vn(b);Te-=yt.top-et.viewOffset;for(var Ft=0;Ft=ue){var Nn=Cn(a.doc,Te),Hn=a.display.gutterSpecs[Ft];return ln(a,ne,a,Nn,Hn.className,b),Vn(b)}}}function RA(a,b){return XA(a,b,"gutterClick",!0)}function dd(a,b){su(a.display,b)||YA(a,b)||nn(a,b,"contextmenu")||_e||a.display.input.onContextMenu(b)}function YA(a,b){return Ln(a,"gutterContextMenu")?XA(a,b,"gutterContextMenu",!1):!1}function _h(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Yu(a)}var fd={toString:function(){return"CodeMirror.Init"}},Xp={},Qh={};function gg(a){var b=a.optionHandlers;function ne(te,ue,Te,et){a.defaults[te]=ue,Te&&(b[te]=et?function(yt,Ft,Nt){Nt!=fd&&Te(yt,Ft,Nt)}:Te)}a.defineOption=ne,a.Init=fd,ne("value","",function(te,ue){return te.setValue(ue)},!0),ne("mode",null,function(te,ue){te.doc.modeOption=ue,jo(te)},!0),ne("indentUnit",2,jo,!0),ne("indentWithTabs",!1),ne("smartIndent",!0),ne("tabSize",4,function(te){Uo(te),Yu(te),Ou(te)},!0),ne("lineSeparator",null,function(te,ue){if(te.doc.lineSep=ue,!!ue){var Te=[],et=te.doc.first;te.doc.iter(function(Ft){for(var Nt=0;;){var Nn=Ft.text.indexOf(ue,Nt);if(Nn==-1)break;Nt=Nn+ue.length,Te.push(Zt(et,Nn))}et++});for(var yt=Te.length-1;yt>=0;yt--)Cs(te.doc,ue,Te[yt],Zt(Te[yt].line,Te[yt].ch+ue.length))}}),ne("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(te,ue,Te){te.state.specialChars=new RegExp(ue.source+(ue.test(" ")?"":"| "),"g"),Te!=fd&&te.refresh()}),ne("specialCharPlaceholder",Xa,function(te){return te.refresh()},!0),ne("electricChars",!0),ne("inputStyle",ve?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ne("spellcheck",!1,function(te,ue){return te.getInputField().spellcheck=ue},!0),ne("autocorrect",!1,function(te,ue){return te.getInputField().autocorrect=ue},!0),ne("autocapitalize",!1,function(te,ue){return te.getInputField().autocapitalize=ue},!0),ne("rtlMoveVisually",!Oe),ne("wholeLineUpdateBefore",!0),ne("theme","default",function(te){_h(te),tr(te)},!0),ne("keyMap","default",function(te,ue,Te){var et=gu(ue),yt=Te!=fd&&gu(Te);yt&&yt.detach&&yt.detach(te,et),et.attach&&et.attach(te,yt||null)}),ne("extraKeys",null),ne("configureMouse",null),ne("lineWrapping",!1,Yp,!0),ne("gutters",[],function(te,ue){te.display.gutterSpecs=In(ue,te.options.lineNumbers),tr(te)},!0),ne("fixedGutter",!0,function(te,ue){te.display.gutters.style.left=ue?Ed(te.display)+"px":"0",te.refresh()},!0),ne("coverGutterNextToScrollbar",!1,function(te){return UA(te)},!0),ne("scrollbarStyle","native",function(te){Mh(te),UA(te),te.display.scrollbars.setScrollTop(te.doc.scrollTop),te.display.scrollbars.setScrollLeft(te.doc.scrollLeft)},!0),ne("lineNumbers",!1,function(te,ue){te.display.gutterSpecs=In(te.options.gutters,ue),tr(te)},!0),ne("firstLineNumber",1,tr,!0),ne("lineNumberFormatter",function(te){return te},tr,!0),ne("showCursorWhenSelecting",!1,Ju,!0),ne("resetSelectionOnContextMenu",!0),ne("lineWiseCopyCut",!0),ne("pasteLinesPerSelection",!0),ne("selectionsMayTouch",!1),ne("readOnly",!1,function(te,ue){ue=="nocursor"&&(Yc(te),te.display.input.blur()),te.display.input.readOnlyChanged(ue)}),ne("screenReaderLabel",null,function(te,ue){ue=ue===""?null:ue,te.display.input.screenReaderLabelChanged(ue)}),ne("disableInput",!1,function(te,ue){ue||te.display.input.reset()},!0),ne("dragDrop",!0,mg),ne("allowDropFileTypes",null),ne("cursorBlinkRate",530),ne("cursorScrollMargin",0),ne("cursorHeight",1,Ju,!0),ne("singleCursorHeightPerLine",!0,Ju,!0),ne("workTime",100),ne("workDelay",100),ne("flattenSpans",!0,Uo,!0),ne("addModeClass",!1,Uo,!0),ne("pollInterval",100),ne("undoDepth",200,function(te,ue){return te.doc.history.undoDepth=ue}),ne("historyEventDelay",1250),ne("viewportMargin",10,function(te){return te.refresh()},!0),ne("maxHighlightLength",1e4,Uo,!0),ne("moveInputWithCursor",!0,function(te,ue){ue||te.display.input.resetPosition()}),ne("tabindex",null,function(te,ue){return te.display.input.getField().tabIndex=ue||""}),ne("autofocus",null),ne("direction","ltr",function(te,ue){return te.doc.setDirection(ue)},!0),ne("phrases",null)}function mg(a,b,ne){var te=ne&&ne!=fd;if(!b!=!te){var ue=a.display.dragFunctions,Te=b?Xt:wn;Te(a.display.scroller,"dragstart",ue.start),Te(a.display.scroller,"dragenter",ue.enter),Te(a.display.scroller,"dragover",ue.over),Te(a.display.scroller,"dragleave",ue.leave),Te(a.display.scroller,"drop",ue.drop)}}function Yp(a){a.options.lineWrapping?(Qe(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Ve(a.display.wrapper,"CodeMirror-wrap"),$o(a)),nd(a),Ou(a),Yu(a),setTimeout(function(){return UA(a)},100)}function Ql(a,b){var ne=this;if(!(this instanceof Ql))return new Ql(a,b);this.options=b=b?Bt(b):{},Bt(Xp,b,!1);var te=b.value;typeof te=="string"?te=new Al(te,b.mode,null,b.lineSeparator,b.direction):b.mode&&(te.modeOption=b.mode),this.doc=te;var ue=new Ql.inputStyles[b.inputStyle](this),Te=this.display=new Jn(a,te,ue,b);Te.wrapper.CodeMirror=this,_h(this),b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Mh(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new ke,keySeq:null,specialChars:null},b.autofocus&&!ve&&Te.input.focus(),He&&Fe<11&&setTimeout(function(){return ne.display.input.reset(!0)},20),$p(this),ld(),lc(this),this.curOp.forceUpdate=!0,Zo(this,te),b.autofocus&&!ve||this.hasFocus()?setTimeout(function(){ne.hasFocus()&&!ne.state.focused&&Cf(ne)},20):Yc(this);for(var et in Qh)Qh.hasOwnProperty(et)&&Qh[et](this,b[et],fd);dn(this),b.finishInit&&b.finishInit(this);for(var yt=0;yt20*20}Xt(b.scroller,"touchstart",function(Ft){if(!nn(a,Ft)&&!Te(Ft)&&!RA(a,Ft)){b.input.ensurePolled(),clearTimeout(ne);var Nt=+new Date;b.activeTouch={start:Nt,moved:!1,prev:Nt-te.end<=300?te:null},Ft.touches.length==1&&(b.activeTouch.left=Ft.touches[0].pageX,b.activeTouch.top=Ft.touches[0].pageY)}}),Xt(b.scroller,"touchmove",function(){b.activeTouch&&(b.activeTouch.moved=!0)}),Xt(b.scroller,"touchend",function(Ft){var Nt=b.activeTouch;if(Nt&&!su(b,Ft)&&Nt.left!=null&&!Nt.moved&&new Date-Nt.start<300){var Nn=a.coordsChar(b.activeTouch,"page"),Hn;!Nt.prev||et(Nt,Nt.prev)?Hn=new Sr(Nn,Nn):!Nt.prev.prev||et(Nt,Nt.prev.prev)?Hn=a.findWordAt(Nn):Hn=new Sr(Zt(Nn.line,0),or(a.doc,Zt(Nn.line+1,0))),a.setSelection(Hn.anchor,Hn.head),a.focus(),un(Ft)}ue()}),Xt(b.scroller,"touchcancel",ue),Xt(b.scroller,"scroll",function(){b.scroller.clientHeight&&(sc(a,b.scroller.scrollTop),yA(a,b.scroller.scrollLeft,!0),ln(a,"scroll",a))}),Xt(b.scroller,"mousewheel",function(Ft){return Ur(a,Ft)}),Xt(b.scroller,"DOMMouseScroll",function(Ft){return Ur(a,Ft)}),Xt(b.wrapper,"scroll",function(){return b.wrapper.scrollTop=b.wrapper.scrollLeft=0}),b.dragFunctions={enter:function(Ft){nn(a,Ft)||Lt(Ft)},over:function(Ft){nn(a,Ft)||(Jc(a,Ft),Lt(Ft))},start:function(Ft){return Rc(a,Ft)},drop:Pu(a,xA),leave:function(Ft){nn(a,Ft)||Jd(a)}};var yt=b.input.getField();Xt(yt,"keyup",function(Ft){return oh.call(a,Ft)}),Xt(yt,"keydown",Pu(a,of)),Xt(yt,"keypress",Pu(a,ah)),Xt(yt,"focus",function(Ft){return Cf(a,Ft)}),Xt(yt,"blur",function(Ft){return Yc(a,Ft)})}var jh=[];Ql.defineInitHook=function(a){return jh.push(a)};function af(a,b,ne,te){var ue=a.doc,Te;ne==null&&(ne="add"),ne=="smart"&&(ue.mode.indent?Te=tn(a,b).state:ne="prev");var et=a.options.tabSize,yt=ar(ue,b),Ft=We(yt.text,null,et);yt.stateAfter&&(yt.stateAfter=null);var Nt=yt.text.match(/^\s*/)[0],Nn;if(!te&&!/\S/.test(yt.text))Nn=0,ne="not";else if(ne=="smart"&&(Nn=ue.mode.indent(Te,yt.text.slice(Nt.length),yt.text),Nn==Ht||Nn>150)){if(!te)return;ne="prev"}ne=="prev"?b>ue.first?Nn=We(ar(ue,b-1).text,null,et):Nn=0:ne=="add"?Nn=Ft+a.options.indentUnit:ne=="subtract"?Nn=Ft-a.options.indentUnit:typeof ne=="number"&&(Nn=Ft+ne),Nn=Math.max(0,Nn);var Hn="",Pr=0;if(a.options.indentWithTabs)for(var wr=Math.floor(Nn/et);wr;--wr)Pr+=et,Hn+=" ";if(Pret,Ft=Cr(b),Nt=null;if(yt&&te.ranges.length>1)if(FA&&FA.text.join(` +`)==b){if(te.ranges.length%FA.text.length==0){Nt=[];for(var Nn=0;Nn=0;Pr--){var wr=te.ranges[Pr],vi=wr.from(),Ki=wr.to();wr.empty()&&(ne&&ne>0?vi=Zt(vi.line,vi.ch-ne):a.state.overwrite&&!yt?Ki=Zt(Ki.line,Math.min(ar(Te,Ki.line).text.length,Ki.ch+kt(Ft).length)):yt&&FA&&FA.lineWise&&FA.text.join(` +`)==Ft.join(` +`)&&(vi=Ki=Zt(vi.line,0)));var fo={from:vi,to:Ki,text:Nt?Nt[Pr%Nt.length]:Ft,origin:ue||(yt?"paste":a.state.cutIncoming>et?"cut":"+input")};Js(a.doc,fo),tl(a,"inputRead",a,fo)}b&&!yt&&uh(a,b),Uc(a),a.curOp.updateInput<2&&(a.curOp.updateInput=Hn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Nf(a,b){var ne=a.clipboardData&&a.clipboardData.getData("Text");if(ne)return a.preventDefault(),!b.isReadOnly()&&!b.options.disableInput&&uc(b,function(){return lh(b,ne,0,null,"paste")}),!0}function uh(a,b){if(!(!a.options.electricChars||!a.options.smartIndent))for(var ne=a.doc.sel,te=ne.ranges.length-1;te>=0;te--){var ue=ne.ranges[te];if(!(ue.head.ch>100||te&&ne.ranges[te-1].head.line==ue.head.line)){var Te=a.getModeAt(ue.head),et=!1;if(Te.electricChars){for(var yt=0;yt-1){et=af(a,ue.head.line,"smart");break}}else Te.electricInput&&Te.electricInput.test(ar(a.doc,ue.head.line).text.slice(0,ue.head.ch))&&(et=af(a,ue.head.line,"smart"));et&&tl(a,"electricInput",a,ue.head.line)}}}function vp(a){for(var b=[],ne=[],te=0;teTe&&(af(this,yt.head.line,te,!0),Te=yt.head.line,et==this.doc.sel.primIndex&&Uc(this));else{var Ft=yt.from(),Nt=yt.to(),Nn=Math.max(Te,Ft.line);Te=Math.min(this.lastLine(),Nt.line-(Nt.ch?0:1))+1;for(var Hn=Nn;Hn0&&uu(this.doc,et,new Sr(Ft,Pr[et].to()),nt)}}}),getTokenAt:function(te,ue){return Ir(this,te,ue)},getLineTokens:function(te,ue){return Ir(this,Zt(te),ue,!0)},getTokenTypeAt:function(te){te=or(this.doc,te);var ue=Er(this,ar(this.doc,te.line)),Te=0,et=(ue.length-1)/2,yt=te.ch,Ft;if(yt==0)Ft=ue[2];else for(;;){var Nt=Te+et>>1;if((Nt?ue[Nt*2-1]:0)>=yt)et=Nt;else if(ue[Nt*2+1]Ft&&(te=Ft,et=!0),yt=ar(this.doc,te)}else yt=te;return xu(this,yt,{top:0,left:0},ue||"page",Te||et).top+(et?this.doc.height-Ro(yt):0)},defaultTextHeight:function(){return bc(this.display)},defaultCharWidth:function(){return iA(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(te,ue,Te,et,yt){var Ft=this.display;te=fu(this,or(this.doc,te));var Nt=te.bottom,Nn=te.left;if(ue.style.position="absolute",ue.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ue),Ft.sizer.appendChild(ue),et=="over")Nt=te.top;else if(et=="above"||et=="near"){var Hn=Math.max(Ft.wrapper.clientHeight,this.doc.height),Pr=Math.max(Ft.sizer.clientWidth,Ft.lineSpace.clientWidth);(et=="above"||te.bottom+ue.offsetHeight>Hn)&&te.top>ue.offsetHeight?Nt=te.top-ue.offsetHeight:te.bottom+ue.offsetHeight<=Hn&&(Nt=te.bottom),Nn+ue.offsetWidth>Pr&&(Nn=Pr-ue.offsetWidth)}ue.style.top=Nt+"px",ue.style.left=ue.style.right="",yt=="right"?(Nn=Ft.sizer.clientWidth-ue.offsetWidth,ue.style.right="0px"):(yt=="left"?Nn=0:yt=="middle"&&(Nn=(Ft.sizer.clientWidth-ue.offsetWidth)/2),ue.style.left=Nn+"px"),Te&&Kp(this,{left:Nn,top:Nt,right:Nn+ue.offsetWidth,bottom:Nt+ue.offsetHeight})},triggerOnKeyDown:cc(of),triggerOnKeyPress:cc(ah),triggerOnKeyUp:oh,triggerOnMouseDown:cc(cd),execCommand:function(te){if(GA.hasOwnProperty(te))return GA[te].call(null,this)},triggerElectric:cc(function(te){uh(this,te)}),findPosH:function(te,ue,Te,et){var yt=1;ue<0&&(yt=-1,ue=-ue);for(var Ft=or(this.doc,te),Nt=0;Nt0&&Nn(Te.charAt(et-1));)--et;for(;yt.5||this.options.lineWrapping)&&nd(this),ln(this,"refresh",this)}),swapDoc:cc(function(te){var ue=this.doc;return ue.cm=null,this.state.selectingText&&this.state.selectingText(),Zo(this,te),Yu(this),this.display.input.reset(),id(this,te.scrollLeft,te.scrollTop),this.curOp.forceScroll=!0,tl(this,"swapDoc",this,ue),ue}),phrase:function(te){var ue=this.options.phrases;return ue&&Object.prototype.hasOwnProperty.call(ue,te)?ue[te]:te},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},_t(a),a.registerHelper=function(te,ue,Te){ne.hasOwnProperty(te)||(ne[te]=a[te]={_global:[]}),ne[te][ue]=Te},a.registerGlobalHelper=function(te,ue,Te,et){a.registerHelper(te,ue,et),ne[te]._global.push({pred:Te,val:et})}}function ch(a,b,ne,te,ue){var Te=b,et=ne,yt=ar(a,b.line),Ft=ue&&a.direction=="rtl"?-ne:ne;function Nt(){var Wo=b.line+Ft;return Wo=a.first+a.size?!1:(b=new Zt(Wo,b.ch,b.sticky),yt=ar(a,Wo))}function Nn(Wo){var Po;if(te=="codepoint"){var la=yt.text.charCodeAt(b.ch+(te>0?0:-1));isNaN(la)?Po=null:Po=new Zt(b.line,Math.max(0,Math.min(yt.text.length,b.ch+ne*(la>=55296&&la<56320?2:1))),-ne)}else ue?Po=If(a.cm,yt,b,ne):Po=Ff(yt,b,ne);if(Po==null)if(!Wo&&Nt())b=tf(ue,a.cm,yt,b.line,Ft);else return!1;else b=Po;return!0}if(te=="char"||te=="codepoint")Nn();else if(te=="column")Nn(!0);else if(te=="word"||te=="group")for(var Hn=null,Pr=te=="group",wr=a.cm&&a.cm.getHelper(b,"wordChars"),vi=!0;!(ne<0&&!Nn(!vi));vi=!1){var Ki=yt.text.charAt(b.ch)||` +`,fo=se(Ki,wr)?"w":Pr&&Ki==` +`?"n":!Pr||/\s/.test(Ki)?null:"p";if(Pr&&!vi&&!fo&&(fo="s"),Hn&&Hn!=fo){ne<0&&(ne=1,Nn(),b.sticky="after");break}if(fo&&(Hn=fo),ne>0&&!Nn(!vi))break}var Oo=hu(a,b,Te,et,!0);return On(Te,Oo)&&(Oo.hitSide=!0),Oo}function Jp(a,b,ne,te){var ue=a.doc,Te=b.left,et;if(te=="page"){var yt=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ft=Math.max(yt-.5*bc(a.display),3);et=(ne>0?b.bottom:b.top)+ne*Ft}else te=="line"&&(et=ne>0?b.bottom+3:b.top-3);for(var Nt;Nt=bs(a,Te,et),!!Nt.outside;){if(ne<0?et<=0:et>=ue.height){Nt.hitSide=!0;break}et+=ne*5}return Nt}var wl=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ke,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};wl.prototype.init=function(a){var b=this,ne=this,te=ne.cm,ue=ne.div=a.lineDiv;yp(ue,te.options.spellcheck,te.options.autocorrect,te.options.autocapitalize);function Te(yt){for(var Ft=yt.target;Ft;Ft=Ft.parentNode){if(Ft==ue)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ft.className))break}return!1}Xt(ue,"paste",function(yt){!Te(yt)||nn(te,yt)||Nf(yt,te)||Fe<=11&&setTimeout(Pu(te,function(){return b.updateFromDOM()}),20)}),Xt(ue,"compositionstart",function(yt){b.composing={data:yt.data,done:!1}}),Xt(ue,"compositionupdate",function(yt){b.composing||(b.composing={data:yt.data,done:!1})}),Xt(ue,"compositionend",function(yt){b.composing&&(yt.data!=b.composing.data&&b.readFromDOMSoon(),b.composing.done=!0)}),Xt(ue,"touchstart",function(){return ne.forceCompositionEnd()}),Xt(ue,"input",function(){b.composing||b.readFromDOMSoon()});function et(yt){if(!(!Te(yt)||nn(te,yt))){if(te.somethingSelected())sh({lineWise:!1,text:te.getSelections()}),yt.type=="cut"&&te.replaceSelection("",null,"cut");else if(te.options.lineWiseCopyCut){var Ft=vp(te);sh({lineWise:!0,text:Ft.text}),yt.type=="cut"&&te.operation(function(){te.setSelections(Ft.ranges,0,nt),te.replaceSelection("",null,"cut")})}else return;if(yt.clipboardData){yt.clipboardData.clearData();var Nt=FA.text.join(` +`);if(yt.clipboardData.setData("Text",Nt),yt.clipboardData.getData("Text")==Nt){yt.preventDefault();return}}var Nn=vg(),Hn=Nn.firstChild;te.display.lineSpace.insertBefore(Nn,te.display.lineSpace.firstChild),Hn.value=FA.text.join(` +`);var Pr=document.activeElement;ot(Hn),setTimeout(function(){te.display.lineSpace.removeChild(Nn),Pr.focus(),Pr==ue&&ne.showPrimarySelection()},50)}}Xt(ue,"copy",et),Xt(ue,"cut",et)},wl.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},wl.prototype.prepareSelection=function(){var a=mA(this.cm,!1);return a.focus=document.activeElement==this.div,a},wl.prototype.showSelection=function(a,b){!a||!this.cm.display.view.length||((a.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(a))},wl.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},wl.prototype.showPrimarySelection=function(){var a=this.getSelection(),b=this.cm,ne=b.doc.sel.primary(),te=ne.from(),ue=ne.to();if(b.display.viewTo==b.display.viewFrom||te.line>=b.display.viewTo||ue.line=b.display.viewFrom&&Td(b,te)||{node:yt[0].measure.map[2],offset:0},Nt=ue.linea.firstLine()&&(te=Zt(te.line-1,ar(a.doc,te.line-1).length)),ue.ch==ar(a.doc,ue.line).text.length&&ue.lineb.viewTo-1)return!1;var Te,et,yt;te.line==b.viewFrom||(Te=gA(a,te.line))==0?(et=An(b.view[0].line),yt=b.view[0].node):(et=An(b.view[Te].line),yt=b.view[Te-1].node.nextSibling);var Ft=gA(a,ue.line),Nt,Nn;if(Ft==b.view.length-1?(Nt=b.viewTo-1,Nn=b.lineDiv.lastChild):(Nt=An(b.view[Ft+1].line)-1,Nn=b.view[Ft+1].node.previousSibling),!yt)return!1;for(var Hn=a.doc.splitLines(kd(a,yt,Nn,et,Nt)),Pr=Dr(a.doc,Zt(et,0),Zt(Nt,ar(a.doc,Nt).text.length));Hn.length>1&&Pr.length>1;)if(kt(Hn)==kt(Pr))Hn.pop(),Pr.pop(),Nt--;else if(Hn[0]==Pr[0])Hn.shift(),Pr.shift(),et++;else break;for(var wr=0,vi=0,Ki=Hn[0],fo=Pr[0],Oo=Math.min(Ki.length,fo.length);wrte.ch&&Wo.charCodeAt(Wo.length-vi-1)==Po.charCodeAt(Po.length-vi-1);)wr--,vi++;Hn[Hn.length-1]=Wo.slice(0,Wo.length-vi).replace(/^\u200b+/,""),Hn[0]=Hn[0].slice(wr).replace(/\u200b+$/,"");var Ua=Zt(et,wr),xa=Zt(Nt,Pr.length?kt(Pr).length-vi:0);if(Hn.length>1||Hn[0]||vn(Ua,xa))return Cs(a.doc,Hn,Ua,xa,"+input"),!0},wl.prototype.ensurePolled=function(){this.forceCompositionEnd()},wl.prototype.reset=function(){this.forceCompositionEnd()},wl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},wl.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},wl.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&uc(this.cm,function(){return Ou(a.cm)})},wl.prototype.setUneditable=function(a){a.contentEditable="false"},wl.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Pu(this.cm,lh)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},wl.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},wl.prototype.onContextMenu=function(){},wl.prototype.resetPosition=function(){},wl.prototype.needsContentAttribute=!0;function Td(a,b){var ne=Cu(a,b.line);if(!ne||ne.hidden)return null;var te=ar(a.doc,b.line),ue=ol(ne,te,b.line),Te=xt(te,a.doc.direction),et="left";if(Te){var yt=Dt(Te,b.ch);et=yt%2?"right":"left"}var Ft=Vc(ue.map,b.ch,et);return Ft.offset=Ft.collapse=="right"?Ft.end:Ft.start,Ft}function yg(a){for(var b=a;b;b=b.parentNode)if(/CodeMirror-gutter-wrapper/.test(b.className))return!0;return!1}function jl(a,b){return b&&(a.bad=!0),a}function kd(a,b,ne,te,ue){var Te="",et=!1,yt=a.doc.lineSeparator(),Ft=!1;function Nt(wr){return function(vi){return vi.id==wr}}function Nn(){et&&(Te+=yt,Ft&&(Te+=yt),et=Ft=!1)}function Hn(wr){wr&&(Nn(),Te+=wr)}function Pr(wr){if(wr.nodeType==1){var vi=wr.getAttribute("cm-text");if(vi){Hn(vi);return}var Ki=wr.getAttribute("cm-marker"),fo;if(Ki){var Oo=a.findMarks(Zt(te,0),Zt(ue+1,0),Nt(+Ki));Oo.length&&(fo=Oo[0].find(0))&&Hn(Dr(a.doc,fo.from,fo.to).join(yt));return}if(wr.getAttribute("contenteditable")=="false")return;var Wo=/^(pre|div|p|li|table|br)$/i.test(wr.nodeName);if(!/^br$/i.test(wr.nodeName)&&wr.textContent.length==0)return;Wo&&Nn();for(var Po=0;Po=9&&b.hasSelection&&(b.hasSelection=null),ne.poll()}),Xt(ue,"paste",function(et){nn(te,et)||Nf(et,te)||(te.state.pasteIncoming=+new Date,ne.fastPoll())});function Te(et){if(!nn(te,et)){if(te.somethingSelected())sh({lineWise:!1,text:te.getSelections()});else if(te.options.lineWiseCopyCut){var yt=vp(te);sh({lineWise:!0,text:yt.text}),et.type=="cut"?te.setSelections(yt.ranges,null,nt):(ne.prevInput="",ue.value=yt.text.join(` +`),ot(ue))}else return;et.type=="cut"&&(te.state.cutIncoming=+new Date)}}Xt(ue,"cut",Te),Xt(ue,"copy",Te),Xt(a.scroller,"paste",function(et){if(!(su(a,et)||nn(te,et))){if(!ue.dispatchEvent){te.state.pasteIncoming=+new Date,ne.focus();return}var yt=new Event("paste");yt.clipboardData=et.clipboardData,ue.dispatchEvent(yt)}}),Xt(a.lineSpace,"selectstart",function(et){su(a,et)||un(et)}),Xt(ue,"compositionstart",function(){var et=te.getCursor("from");ne.composing&&ne.composing.range.clear(),ne.composing={start:et,range:te.markText(et,te.getCursor("to"),{className:"CodeMirror-composing"})}}),Xt(ue,"compositionend",function(){ne.composing&&(ne.poll(),ne.composing.range.clear(),ne.composing=null)})},El.prototype.createField=function(a){this.wrapper=vg(),this.textarea=this.wrapper.firstChild},El.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},El.prototype.prepareSelection=function(){var a=this.cm,b=a.display,ne=a.doc,te=mA(a);if(a.options.moveInputWithCursor){var ue=fu(a,ne.sel.primary().head,"div"),Te=b.wrapper.getBoundingClientRect(),et=b.lineDiv.getBoundingClientRect();te.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,ue.top+et.top-Te.top)),te.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,ue.left+et.left-Te.left))}return te},El.prototype.showSelection=function(a){var b=this.cm,ne=b.display;at(ne.cursorDiv,a.cursors),at(ne.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},El.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var b=this.cm;if(b.somethingSelected()){this.prevInput="";var ne=b.getSelection();this.textarea.value=ne,b.state.focused&&ot(this.textarea),He&&Fe>=9&&(this.hasSelection=ne)}else a||(this.prevInput=this.textarea.value="",He&&Fe>=9&&(this.hasSelection=null))}},El.prototype.getField=function(){return this.textarea},El.prototype.supportsTouch=function(){return!1},El.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ve||Ne()!=this.textarea))try{this.textarea.focus()}catch(a){}},El.prototype.blur=function(){this.textarea.blur()},El.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},El.prototype.receivedFocus=function(){this.slowPoll()},El.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},El.prototype.fastPoll=function(){var a=!1,b=this;b.pollingFast=!0;function ne(){var te=b.poll();!te&&!a?(a=!0,b.polling.set(60,ne)):(b.pollingFast=!1,b.slowPoll())}b.polling.set(20,ne)},El.prototype.poll=function(){var a=this,b=this.cm,ne=this.textarea,te=this.prevInput;if(this.contextMenuPending||!b.state.focused||ur(ne)&&!te&&!this.composing||b.isReadOnly()||b.options.disableInput||b.state.keySeq)return!1;var ue=ne.value;if(ue==te&&!b.somethingSelected())return!1;if(He&&Fe>=9&&this.hasSelection===ue||we&&/[\uf700-\uf7ff]/.test(ue))return b.display.input.reset(),!1;if(b.doc.sel==b.display.selForContextMenu){var Te=ue.charCodeAt(0);if(Te==8203&&!te&&(te="\u200B"),Te==8666)return this.reset(),this.cm.execCommand("undo")}for(var et=0,yt=Math.min(te.length,ue.length);et1e3||ue.indexOf(` +`)>-1?ne.value=a.prevInput="":a.prevInput=ue,a.composing&&(a.composing.range.clear(),a.composing.range=b.markText(a.composing.start,b.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},El.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},El.prototype.onKeyPress=function(){He&&Fe>=9&&(this.hasSelection=null),this.fastPoll()},El.prototype.onContextMenu=function(a){var b=this,ne=b.cm,te=ne.display,ue=b.textarea;b.contextMenuPending&&b.contextMenuPending();var Te=PA(ne,a),et=te.scroller.scrollTop;if(!Te||oe)return;var yt=ne.options.resetSelectionOnContextMenu;yt&&ne.doc.sel.contains(Te)==-1&&Pu(ne,To)(ne.doc,mi(Te),nt);var Ft=ue.style.cssText,Nt=b.wrapper.style.cssText,Nn=b.wrapper.offsetParent.getBoundingClientRect();b.wrapper.style.cssText="position: static",ue.style.cssText=`position: absolute; width: 30px; height: 30px; + top: `+(a.clientY-Nn.top-5)+"px; left: "+(a.clientX-Nn.left-5)+`px; + z-index: 1000; background: `+(He?"rgba(255, 255, 255, .05)":"transparent")+`; + outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Hn;Me&&(Hn=window.scrollY),te.input.focus(),Me&&window.scrollTo(null,Hn),te.input.reset(),ne.somethingSelected()||(ue.value=b.prevInput=" "),b.contextMenuPending=wr,te.selForContextMenu=ne.doc.sel,clearTimeout(te.detectingSelectAll);function Pr(){if(ue.selectionStart!=null){var Ki=ne.somethingSelected(),fo="\u200B"+(Ki?ue.value:"");ue.value="\u21DA",ue.value=fo,b.prevInput=Ki?"":"\u200B",ue.selectionStart=1,ue.selectionEnd=fo.length,te.selForContextMenu=ne.doc.sel}}function wr(){if(b.contextMenuPending==wr&&(b.contextMenuPending=!1,b.wrapper.style.cssText=Nt,ue.style.cssText=Ft,He&&Fe<9&&te.scrollbars.setScrollTop(te.scroller.scrollTop=et),ue.selectionStart!=null)){(!He||He&&Fe<9)&&Pr();var Ki=0,fo=function(){te.selForContextMenu==ne.doc.sel&&ue.selectionStart==0&&ue.selectionEnd>0&&b.prevInput=="\u200B"?Pu(ne,ea)(ne):Ki++<10?te.detectingSelectAll=setTimeout(fo,500):(te.selForContextMenu=null,te.input.reset())};te.detectingSelectAll=setTimeout(fo,200)}}if(He&&Fe>=9&&Pr(),_e){Lt(a);var vi=function(){wn(window,"mouseup",vi),setTimeout(wr,20)};Xt(window,"mouseup",vi)}else setTimeout(wr,50)},El.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},El.prototype.setUneditable=function(){},El.prototype.needsContentAttribute=!1;function Ah(a,b){if(b=b?Bt(b):{},b.value=a.value,!b.tabindex&&a.tabIndex&&(b.tabindex=a.tabIndex),!b.placeholder&&a.placeholder&&(b.placeholder=a.placeholder),b.autofocus==null){var ne=Ne();b.autofocus=ne==a||a.getAttribute("autofocus")!=null&&ne==document.body}function te(){a.value=yt.getValue()}var ue;if(a.form&&(Xt(a.form,"submit",te),!b.leaveSubmitMethodAlone)){var Te=a.form;ue=Te.submit;try{var et=Te.submit=function(){te(),Te.submit=ue,Te.submit(),Te.submit=et}}catch(Ft){}}b.finishInit=function(Ft){Ft.save=te,Ft.getTextArea=function(){return a},Ft.toTextArea=function(){Ft.toTextArea=isNaN,te(),a.parentNode.removeChild(Ft.getWrapperElement()),a.style.display="",a.form&&(wn(a.form,"submit",te),!b.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ue))}},a.style.display="none";var yt=Ql(function(Ft){return a.parentNode.insertBefore(Ft,a.nextSibling)},b);return yt}function pd(a){a.off=wn,a.on=Xt,a.wheelEventPixels=Mr,a.Doc=Al,a.splitLines=Cr,a.countColumn=We,a.findColumn=hn,a.isWordChar=ee,a.Pass=Ht,a.signal=ln,a.Line=Ea,a.changeEnd=eo,a.scrollbarModel=Id,a.Pos=Zt,a.cmpPos=vn,a.modes=rr,a.mimeModes=Zn,a.resolveMode=Or,a.getMode=ci,a.modeExtensions=Ai,a.extendMode=di,a.copyState=Pi,a.startState=oo,a.innerMode=yi,a.commands=GA,a.keyMap=Eu,a.keyName=VA,a.isModifierKey=Sf,a.lookupKey=ZA,a.normalizeKeyMap=ju,a.StringStream=Gi,a.SharedTextMarker=cl,a.TextMarker=Mu,a.LineWidget=Ps,a.e_preventDefault=un,a.e_stopPropagation=Pn,a.e_stop=Lt,a.addClass=Qe,a.contains=pt,a.rmClass=Ve,a.keyNames=ys}gg(Ql),wp(Ql);var qp="iter insert remove copy getEditor constructor".split(" ");for(var Hh in Al.prototype)Al.prototype.hasOwnProperty(Hh)&&At(qp,Hh)<0&&(Ql.prototype[Hh]=function(a){return function(){return a.apply(this.doc,arguments)}}(Al.prototype[Hh]));return _t(Al),Ql.inputStyles={textarea:El,contenteditable:wl},Ql.defineMode=function(a){!Ql.defaults.mode&&a!="null"&&(Ql.defaults.mode=a),br.apply(this,arguments)},Ql.defineMIME=Br,Ql.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Ql.defineMIME("text/plain","null"),Ql.defineExtension=function(a,b){Ql.prototype[a]=b},Ql.defineDocExtension=function(a,b){Al.prototype[a]=b},Ql.fromTextArea=Ah,pd(Ql),Ql.version="5.58.2",Ql})},25419:function(Xn,Mt,ae){(function(x){x(ae(89780),ae(15525),ae(98101))})(function(x){"use strict";x.defineMode("markdown",function(dt,Le){var qe=x.getMode(dt,"text/html"),He=qe.name=="null";function Fe(We){if(x.findModeByName){var ke=x.findModeByName(We);ke&&(We=ke.mime||ke.mimes[0])}var At=x.getMode(dt,We);return At.name=="null"?null:At}Le.highlightFormatting===void 0&&(Le.highlightFormatting=!1),Le.maxBlockquoteDepth===void 0&&(Le.maxBlockquoteDepth=0),Le.taskLists===void 0&&(Le.taskLists=!1),Le.strikethrough===void 0&&(Le.strikethrough=!1),Le.emoji===void 0&&(Le.emoji=!1),Le.fencedCodeBlockHighlighting===void 0&&(Le.fencedCodeBlockHighlighting=!0),Le.fencedCodeBlockDefaultMode===void 0&&(Le.fencedCodeBlockDefaultMode="text/plain"),Le.xml===void 0&&(Le.xml=!0),Le.tokenTypeOverrides===void 0&&(Le.tokenTypeOverrides={});var Me={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var fe in Me)Me.hasOwnProperty(fe)&&Le.tokenTypeOverrides[fe]&&(Me[fe]=Le.tokenTypeOverrides[fe]);var xe=/^([*\-_])(?:\s*\1){2,}\s*$/,oe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Pe=/^\[(x| )\](?=\s)/i,ye=Le.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Re=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Se=/^[^#!\[\]*_\\<>` "'(~:]+/,Ie=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ve=/^\s*\[[^\]]+?\]:.*$/,we=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Ee=" ";function Oe(We,ke,At){return ke.f=ke.inline=At,At(We,ke)}function Ke(We,ke,At){return ke.f=ke.block=At,At(We,ke)}function je(We){return!We||!/\S/.test(We.string)}function _e(We){if(We.linkTitle=!1,We.linkHref=!1,We.linkText=!1,We.em=!1,We.strong=!1,We.strikethrough=!1,We.quote=0,We.indentedCode=!1,We.f==Ve){var ke=He;if(!ke){var At=x.innerMode(qe,We.htmlState);ke=At.mode.name=="xml"&&At.state.tagStart===null&&!At.state.context&&At.state.tokenize.isInText}ke&&(We.f=Ct,We.block=Je,We.htmlState=null)}return We.trailingSpace=0,We.trailingSpaceNewLine=!1,We.prevLine=We.thisLine,We.thisLine={stream:null},null}function Je(We,ke){var At=We.column()===ke.indentation,Kt=je(ke.prevLine.stream),Ht=ke.indentedCode,nt=ke.prevLine.hr,Pt=ke.list!==!1,Rt=(ke.listStack[ke.listStack.length-1]||0)+3;ke.indentedCode=!1;var hn=ke.indentation;if(ke.indentationDiff===null&&(ke.indentationDiff=ke.indentation,Pt)){for(ke.list=null;hn=4&&(Ht||ke.prevLine.fencedCodeEnd||ke.prevLine.header||Kt))return We.skipToEnd(),ke.indentedCode=!0,Me.code;if(We.eatSpace())return null;if(At&&ke.indentation<=Rt&&(kt=We.match(ye))&&kt[1].length<=6)return ke.quote=0,ke.header=kt[1].length,ke.thisLine.header=!0,Le.highlightFormatting&&(ke.formatting="header"),ke.f=ke.inline,at(ke);if(ke.indentation<=Rt&&We.eat(">"))return ke.quote=At?1:ke.quote+1,Le.highlightFormatting&&(ke.formatting="quote"),We.eatSpace(),at(ke);if(!mn&&!ke.setext&&At&&ke.indentation<=Rt&&(kt=We.match(oe))){var Fn=kt[1]?"ol":"ul";return ke.indentation=hn+We.current().length,ke.list=!0,ke.quote=0,ke.listStack.push(ke.indentation),ke.em=!1,ke.strong=!1,ke.code=!1,ke.strikethrough=!1,Le.taskLists&&We.match(Pe,!1)&&(ke.taskList=!0),ke.f=ke.inline,Le.highlightFormatting&&(ke.formatting=["list","list-"+Fn]),at(ke)}else{if(At&&ke.indentation<=Rt&&(kt=We.match(Ie,!0)))return ke.quote=0,ke.fencedEndRE=new RegExp(kt[1]+"+ *$"),ke.localMode=Le.fencedCodeBlockHighlighting&&Fe(kt[2]||Le.fencedCodeBlockDefaultMode),ke.localMode&&(ke.localState=x.startState(ke.localMode)),ke.f=ke.block=st,Le.highlightFormatting&&(ke.formatting="code-block"),ke.code=-1,at(ke);if(ke.setext||(!Tt||!Pt)&&!ke.quote&&ke.list===!1&&!ke.code&&!mn&&!ve.test(We.string)&&(kt=We.lookAhead(1))&&(kt=kt.match(Re)))return ke.setext?(ke.header=ke.setext,ke.setext=0,We.skipToEnd(),Le.highlightFormatting&&(ke.formatting="header")):(ke.header=kt[0].charAt(0)=="="?1:2,ke.setext=ke.header),ke.thisLine.header=!0,ke.f=ke.inline,at(ke);if(mn)return We.skipToEnd(),ke.hr=!0,ke.thisLine.hr=!0,Me.hr;if(We.peek()==="[")return Oe(We,ke,Ot)}return Oe(We,ke,ke.inline)}function Ve(We,ke){var At=qe.token(We,ke.htmlState);if(!He){var Kt=x.innerMode(qe,ke.htmlState);(Kt.mode.name=="xml"&&Kt.state.tagStart===null&&!Kt.state.context&&Kt.state.tokenize.isInText||ke.md_inside&&We.current().indexOf(">")>-1)&&(ke.f=Ct,ke.block=Je,ke.htmlState=null)}return At}function st(We,ke){var At=ke.listStack[ke.listStack.length-1]||0,Kt=ke.indentation=We.quote?ke.push(Me.formatting+"-"+We.formatting[At]+"-"+We.quote):ke.push("error"))}if(We.taskOpen)return ke.push("meta"),ke.length?ke.join(" "):null;if(We.taskClosed)return ke.push("property"),ke.length?ke.join(" "):null;if(We.linkHref?ke.push(Me.linkHref,"url"):(We.strong&&ke.push(Me.strong),We.em&&ke.push(Me.em),We.strikethrough&&ke.push(Me.strikethrough),We.emoji&&ke.push(Me.emoji),We.linkText&&ke.push(Me.linkText),We.code&&ke.push(Me.code),We.image&&ke.push(Me.image),We.imageAltText&&ke.push(Me.imageAltText,"link"),We.imageMarker&&ke.push(Me.imageMarker)),We.header&&ke.push(Me.header,Me.header+"-"+We.header),We.quote&&(ke.push(Me.quote),!Le.maxBlockquoteDepth||Le.maxBlockquoteDepth>=We.quote?ke.push(Me.quote+"-"+We.quote):ke.push(Me.quote+"-"+Le.maxBlockquoteDepth)),We.list!==!1){var Kt=(We.listStack.length-1)%3;Kt?Kt===1?ke.push(Me.list2):ke.push(Me.list3):ke.push(Me.list1)}return We.trailingSpaceNewLine?ke.push("trailing-space-new-line"):We.trailingSpace&&ke.push("trailing-space-"+(We.trailingSpace%2?"a":"b")),ke.length?ke.join(" "):null}function ht(We,ke){if(We.match(Se,!0))return at(ke)}function Ct(We,ke){var At=ke.text(We,ke);if(typeof At!="undefined")return At;if(ke.list)return ke.list=null,at(ke);if(ke.taskList){var Kt=We.match(Pe,!0)[1]===" ";return Kt?ke.taskOpen=!0:ke.taskClosed=!0,Le.highlightFormatting&&(ke.formatting="task"),ke.taskList=!1,at(ke)}if(ke.taskOpen=!1,ke.taskClosed=!1,ke.header&&We.match(/^#+$/,!0))return Le.highlightFormatting&&(ke.formatting="header"),at(ke);var Ht=We.next();if(ke.linkTitle){ke.linkTitle=!1;var nt=Ht;Ht==="("&&(nt=")"),nt=(nt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Pt="^\\s*(?:[^"+nt+"\\\\]+|\\\\\\\\|\\\\.)"+nt;if(We.match(new RegExp(Pt),!0))return Me.linkHref}if(Ht==="`"){var Rt=ke.formatting;Le.highlightFormatting&&(ke.formatting="code"),We.eatWhile("`");var hn=We.current().length;if(ke.code==0&&(!ke.quote||hn==1))return ke.code=hn,at(ke);if(hn==ke.code){var Tt=at(ke);return ke.code=0,Tt}else return ke.formatting=Rt,at(ke)}else if(ke.code)return at(ke);if(Ht==="\\"&&(We.next(),Le.highlightFormatting)){var mn=at(ke),kt=Me.formatting+"-escape";return mn?mn+" "+kt:kt}if(Ht==="!"&&We.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return ke.imageMarker=!0,ke.image=!0,Le.highlightFormatting&&(ke.formatting="image"),at(ke);if(Ht==="["&&ke.imageMarker&&We.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return ke.imageMarker=!1,ke.imageAltText=!0,Le.highlightFormatting&&(ke.formatting="image"),at(ke);if(Ht==="]"&&ke.imageAltText){Le.highlightFormatting&&(ke.formatting="image");var mn=at(ke);return ke.imageAltText=!1,ke.image=!1,ke.inline=ke.f=pt,mn}if(Ht==="["&&!ke.image)return ke.linkText&&We.match(/^.*?\]/)||(ke.linkText=!0,Le.highlightFormatting&&(ke.formatting="link")),at(ke);if(Ht==="]"&&ke.linkText){Le.highlightFormatting&&(ke.formatting="link");var mn=at(ke);return ke.linkText=!1,ke.inline=ke.f=We.match(/\(.*?\)| ?\[.*?\]/,!1)?pt:Ct,mn}if(Ht==="<"&&We.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){ke.f=ke.inline=ze,Le.highlightFormatting&&(ke.formatting="link");var mn=at(ke);return mn?mn+=" ":mn="",mn+Me.linkInline}if(Ht==="<"&&We.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){ke.f=ke.inline=ze,Le.highlightFormatting&&(ke.formatting="link");var mn=at(ke);return mn?mn+=" ":mn="",mn+Me.linkEmail}if(Le.xml&&Ht==="<"&&We.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Fn=We.string.indexOf(">",We.pos);if(Fn!=-1){var an=We.string.substring(We.start,Fn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(an)&&(ke.md_inside=!0)}return We.backUp(1),ke.htmlState=x.startState(qe),Ke(We,ke,Ve)}if(Le.xml&&Ht==="<"&&We.match(/^\/\w*?>/))return ke.md_inside=!1,"tag";if(Ht==="*"||Ht==="_"){for(var de=1,ge=We.pos==1?" ":We.string.charAt(We.pos-2);de<3&&We.eat(Ht);)de++;var ie=We.peek()||" ",ee=!/\s/.test(ie)&&(!we.test(ie)||/\s/.test(ge)||we.test(ge)),se=!/\s/.test(ge)&&(!we.test(ge)||/\s/.test(ie)||we.test(ie)),le=null,Be=null;if(de%2&&(!ke.em&&ee&&(Ht==="*"||!se||we.test(ge))?le=!0:ke.em==Ht&&se&&(Ht==="*"||!ee||we.test(ie))&&(le=!1)),de>1&&(!ke.strong&&ee&&(Ht==="*"||!se||we.test(ge))?Be=!0:ke.strong==Ht&&se&&(Ht==="*"||!ee||we.test(ie))&&(Be=!1)),Be!=null||le!=null){Le.highlightFormatting&&(ke.formatting=le==null?"strong":Be==null?"em":"strong em"),le===!0&&(ke.em=Ht),Be===!0&&(ke.strong=Ht);var Tt=at(ke);return le===!1&&(ke.em=!1),Be===!1&&(ke.strong=!1),Tt}}else if(Ht===" "&&(We.eat("*")||We.eat("_"))){if(We.peek()===" ")return at(ke);We.backUp(1)}if(Le.strikethrough){if(Ht==="~"&&We.eatWhile(Ht)){if(ke.strikethrough){Le.highlightFormatting&&(ke.formatting="strikethrough");var Tt=at(ke);return ke.strikethrough=!1,Tt}else if(We.match(/^[^\s]/,!1))return ke.strikethrough=!0,Le.highlightFormatting&&(ke.formatting="strikethrough"),at(ke)}else if(Ht===" "&&We.match(/^~~/,!0)){if(We.peek()===" ")return at(ke);We.backUp(2)}}if(Le.emoji&&Ht===":"&&We.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){ke.emoji=!0,Le.highlightFormatting&&(ke.formatting="emoji");var Ge=at(ke);return ke.emoji=!1,Ge}return Ht===" "&&(We.match(/^ +$/,!1)?ke.trailingSpace++:ke.trailingSpace&&(ke.trailingSpaceNewLine=!0)),at(ke)}function ze(We,ke){var At=We.next();if(At===">"){ke.f=ke.inline=Ct,Le.highlightFormatting&&(ke.formatting="link");var Kt=at(ke);return Kt?Kt+=" ":Kt="",Kt+Me.linkInline}return We.match(/^[^>]+/,!0),Me.linkInline}function pt(We,ke){if(We.eatSpace())return null;var At=We.next();return At==="("||At==="["?(ke.f=ke.inline=Qe(At==="("?")":"]"),Le.highlightFormatting&&(ke.formatting="link-string"),ke.linkHref=!0,at(ke)):"error"}var Ne={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Qe(We){return function(ke,At){var Kt=ke.next();if(Kt===We){At.f=At.inline=Ct,Le.highlightFormatting&&(At.formatting="link-string");var Ht=at(At);return At.linkHref=!1,Ht}return ke.match(Ne[We]),At.linkHref=!0,at(At)}}function Ot(We,ke){return We.match(/^([^\]\\]|\\.)*\]:/,!1)?(ke.f=ot,We.next(),Le.highlightFormatting&&(ke.formatting="link"),ke.linkText=!0,at(ke)):Oe(We,ke,Ct)}function ot(We,ke){if(We.match(/^\]:/,!0)){ke.f=ke.inline=lt,Le.highlightFormatting&&(ke.formatting="link");var At=at(ke);return ke.linkText=!1,At}return We.match(/^([^\]\\]|\\.)+/,!0),Me.linkText}function lt(We,ke){return We.eatSpace()?null:(We.match(/^[^\s]+/,!0),We.peek()===void 0?ke.linkTitle=!0:We.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),ke.f=ke.inline=Ct,Me.linkHref+" url")}var Bt={startState:function(){return{f:Je,prevLine:{stream:null},thisLine:{stream:null},block:Je,htmlState:null,indentation:0,inline:Ct,text:ht,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(We){return{f:We.f,prevLine:We.prevLine,thisLine:We.thisLine,block:We.block,htmlState:We.htmlState&&x.copyState(qe,We.htmlState),indentation:We.indentation,localMode:We.localMode,localState:We.localMode?x.copyState(We.localMode,We.localState):null,inline:We.inline,text:We.text,formatting:!1,linkText:We.linkText,linkTitle:We.linkTitle,linkHref:We.linkHref,code:We.code,em:We.em,strong:We.strong,strikethrough:We.strikethrough,emoji:We.emoji,header:We.header,setext:We.setext,hr:We.hr,taskList:We.taskList,list:We.list,listStack:We.listStack.slice(0),quote:We.quote,indentedCode:We.indentedCode,trailingSpace:We.trailingSpace,trailingSpaceNewLine:We.trailingSpaceNewLine,md_inside:We.md_inside,fencedEndRE:We.fencedEndRE}},token:function(We,ke){if(ke.formatting=!1,We!=ke.thisLine.stream){if(ke.header=0,ke.hr=!1,We.match(/^\s*$/,!0))return _e(ke),null;if(ke.prevLine=ke.thisLine,ke.thisLine={stream:We},ke.taskList=!1,ke.trailingSpace=0,ke.trailingSpaceNewLine=!1,!ke.localState&&(ke.f=ke.block,ke.f!=Ve)){var At=We.match(/^\s*/,!0)[0].replace(/\t/g,Ee).length;if(ke.indentation=At,ke.indentationDiff=null,At>0)return null}}return ke.f(We,ke)},innerMode:function(We){return We.block==Ve?{state:We.htmlState,mode:qe}:We.localState?{state:We.localState,mode:We.localMode}:{state:We,mode:Bt}},indent:function(We,ke,At){return We.block==Ve&&qe.indent?qe.indent(We.htmlState,ke,At):We.localState&&We.localMode.indent?We.localMode.indent(We.localState,ke,At):x.Pass},blankLine:_e,getType:at,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Bt},"xml"),x.defineMIME("text/markdown","markdown"),x.defineMIME("text/x-markdown","markdown")})},98101:function(Xn,Mt,ae){(function(x){x(ae(89780))})(function(x){"use strict";x.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var dt=0;dt-1&&qe.substring(Me+1,qe.length);if(fe)return x.findModeByExtension(fe)},x.findModeByName=function(qe){qe=qe.toLowerCase();for(var He=0;He0?Se.cmdState[Se.cmdState.length-1]:null}function Fe(Se){var Ie=Se.cmdState.pop();Ie&&Ie.closeBracket()}function Me(Se){for(var Ie=Se.cmdState,ve=Ie.length-1;ve>=0;ve--){var we=Ie[ve];if(we.name!="DEFAULT")return we}return{styleIdentifier:function(){return null}}}function fe(Se,Ie,ve){return function(){this.name=Se,this.bracketNo=0,this.style=Ie,this.styles=ve,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var xe={};xe.importmodule=fe("importmodule","tag",["string","builtin"]),xe.documentclass=fe("documentclass","tag",["","atom"]),xe.usepackage=fe("usepackage","tag",["atom"]),xe.begin=fe("begin","tag",["atom"]),xe.end=fe("end","tag",["atom"]),xe.label=fe("label","tag",["atom"]),xe.ref=fe("ref","tag",["atom"]),xe.eqref=fe("eqref","tag",["atom"]),xe.cite=fe("cite","tag",["atom"]),xe.bibitem=fe("bibitem","tag",["atom"]),xe.Bibitem=fe("Bibitem","tag",["atom"]),xe.RBibitem=fe("RBibitem","tag",["atom"]),xe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function oe(Se,Ie){Se.f=Ie}function Pe(Se,Ie){var ve;if(Se.match(/^\\[a-zA-Z@]+/)){var we=Se.current().slice(1);return ve=xe.hasOwnProperty(we)?xe[we]:xe.DEFAULT,ve=new ve,qe(Ie,ve),oe(Ie,Re),ve.style}if(Se.match(/^\\[$&%#{}_]/)||Se.match(/^\\[,;!\/\\]/))return"tag";if(Se.match("\\["))return oe(Ie,function(Oe,Ke){return ye(Oe,Ke,"\\]")}),"keyword";if(Se.match("\\("))return oe(Ie,function(Oe,Ke){return ye(Oe,Ke,"\\)")}),"keyword";if(Se.match("$$"))return oe(Ie,function(Oe,Ke){return ye(Oe,Ke,"$$")}),"keyword";if(Se.match("$"))return oe(Ie,function(Oe,Ke){return ye(Oe,Ke,"$")}),"keyword";var Ee=Se.next();if(Ee=="%")return Se.skipToEnd(),"comment";if(Ee=="}"||Ee=="]"){if(ve=He(Ie),ve)ve.closeBracket(Ee),oe(Ie,Re);else return"error";return"bracket"}else return Ee=="{"||Ee=="["?(ve=xe.DEFAULT,ve=new ve,qe(Ie,ve),"bracket"):/\d/.test(Ee)?(Se.eatWhile(/[\w.%]/),"atom"):(Se.eatWhile(/[\w\-_]/),ve=Me(Ie),ve.name=="begin"&&(ve.argument=Se.current()),ve.styleIdentifier())}function ye(Se,Ie,ve){if(Se.eatSpace())return null;if(ve&&Se.match(ve))return oe(Ie,Pe),"keyword";if(Se.match(/^\\[a-zA-Z@]+/))return"tag";if(Se.match(/^[a-zA-Z]+/))return"variable-2";if(Se.match(/^\\[$&%#{}_]/)||Se.match(/^\\[,;!\/]/)||Se.match(/^[\^_&]/))return"tag";if(Se.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Se.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var we=Se.next();return we=="{"||we=="}"||we=="["||we=="]"||we=="("||we==")"?"bracket":we=="%"?(Se.skipToEnd(),"comment"):"error"}function Re(Se,Ie){var ve=Se.peek(),we;return ve=="{"||ve=="["?(we=He(Ie),we.openBracket(ve),Se.eat(ve),oe(Ie,Pe),"bracket"):/[ \t\r]/.test(ve)?(Se.eat(ve),null):(oe(Ie,Pe),Fe(Ie),Pe(Se,Ie))}return{startState:function(){var Se=Le.inMathMode?function(Ie,ve){return ye(Ie,ve)}:Pe;return{cmdState:[],f:Se}},copyState:function(Se){return{cmdState:Se.cmdState.slice(),f:Se.f}},token:function(Se,Ie){return Ie.f(Se,Ie)},blankLine:function(Se){Se.f=Pe,Se.cmdState.length=0},lineComment:"%"}}),x.defineMIME("text/x-stex","stex"),x.defineMIME("text/x-latex","stex")})},15525:function(Xn,Mt,ae){(function(x){x(ae(89780))})(function(x){"use strict";var dt={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},Le={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};x.defineMode("xml",function(qe,He){var Fe=qe.indentUnit,Me={},fe=He.htmlMode?dt:Le;for(var xe in fe)Me[xe]=fe[xe];for(var xe in He)Me[xe]=He[xe];var oe,Pe;function ye(ze,pt){function Ne(ot){return pt.tokenize=ot,ot(ze,pt)}var Qe=ze.next();if(Qe=="<")return ze.eat("!")?ze.eat("[")?ze.match("CDATA[")?Ne(Ie("atom","]]>")):null:ze.match("--")?Ne(Ie("comment","-->")):ze.match("DOCTYPE",!0,!0)?(ze.eatWhile(/[\w\._\-]/),Ne(ve(1))):null:ze.eat("?")?(ze.eatWhile(/[\w\._\-]/),pt.tokenize=Ie("meta","?>"),"meta"):(oe=ze.eat("/")?"closeTag":"openTag",pt.tokenize=Re,"tag bracket");if(Qe=="&"){var Ot;return ze.eat("#")?ze.eat("x")?Ot=ze.eatWhile(/[a-fA-F\d]/)&&ze.eat(";"):Ot=ze.eatWhile(/[\d]/)&&ze.eat(";"):Ot=ze.eatWhile(/[\w\.\-:]/)&&ze.eat(";"),Ot?"atom":"error"}else return ze.eatWhile(/[^&<]/),null}ye.isInText=!0;function Re(ze,pt){var Ne=ze.next();if(Ne==">"||Ne=="/"&&ze.eat(">"))return pt.tokenize=ye,oe=Ne==">"?"endTag":"selfcloseTag","tag bracket";if(Ne=="=")return oe="equals",null;if(Ne=="<"){pt.tokenize=ye,pt.state=Ke,pt.tagName=pt.tagStart=null;var Qe=pt.tokenize(ze,pt);return Qe?Qe+" tag error":"tag error"}else return/[\'\"]/.test(Ne)?(pt.tokenize=Se(Ne),pt.stringStartCol=ze.column(),pt.tokenize(ze,pt)):(ze.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Se(ze){var pt=function(Ne,Qe){for(;!Ne.eol();)if(Ne.next()==ze){Qe.tokenize=Re;break}return"string"};return pt.isInAttribute=!0,pt}function Ie(ze,pt){return function(Ne,Qe){for(;!Ne.eol();){if(Ne.match(pt)){Qe.tokenize=ye;break}Ne.next()}return ze}}function ve(ze){return function(pt,Ne){for(var Qe;(Qe=pt.next())!=null;){if(Qe=="<")return Ne.tokenize=ve(ze+1),Ne.tokenize(pt,Ne);if(Qe==">")if(ze==1){Ne.tokenize=ye;break}else return Ne.tokenize=ve(ze-1),Ne.tokenize(pt,Ne)}return"meta"}}function we(ze,pt,Ne){this.prev=ze.context,this.tagName=pt,this.indent=ze.indented,this.startOfLine=Ne,(Me.doNotIndent.hasOwnProperty(pt)||ze.context&&ze.context.noIndent)&&(this.noIndent=!0)}function Ee(ze){ze.context&&(ze.context=ze.context.prev)}function Oe(ze,pt){for(var Ne;;){if(!ze.context||(Ne=ze.context.tagName,!Me.contextGrabbers.hasOwnProperty(Ne)||!Me.contextGrabbers[Ne].hasOwnProperty(pt)))return;Ee(ze)}}function Ke(ze,pt,Ne){return ze=="openTag"?(Ne.tagStart=pt.column(),je):ze=="closeTag"?_e:Ke}function je(ze,pt,Ne){return ze=="word"?(Ne.tagName=pt.current(),Pe="tag",st):Me.allowMissingTagName&&ze=="endTag"?(Pe="tag bracket",st(ze,pt,Ne)):(Pe="error",je)}function _e(ze,pt,Ne){if(ze=="word"){var Qe=pt.current();return Ne.context&&Ne.context.tagName!=Qe&&Me.implicitlyClosed.hasOwnProperty(Ne.context.tagName)&&Ee(Ne),Ne.context&&Ne.context.tagName==Qe||Me.matchClosing===!1?(Pe="tag",Je):(Pe="tag error",Ve)}else return Me.allowMissingTagName&&ze=="endTag"?(Pe="tag bracket",Je(ze,pt,Ne)):(Pe="error",Ve)}function Je(ze,pt,Ne){return ze!="endTag"?(Pe="error",Je):(Ee(Ne),Ke)}function Ve(ze,pt,Ne){return Pe="error",Je(ze,pt,Ne)}function st(ze,pt,Ne){if(ze=="word")return Pe="attribute",at;if(ze=="endTag"||ze=="selfcloseTag"){var Qe=Ne.tagName,Ot=Ne.tagStart;return Ne.tagName=Ne.tagStart=null,ze=="selfcloseTag"||Me.autoSelfClosers.hasOwnProperty(Qe)?Oe(Ne,Qe):(Oe(Ne,Qe),Ne.context=new we(Ne,Qe,Ot==Ne.indented)),Ke}return Pe="error",st}function at(ze,pt,Ne){return ze=="equals"?ht:(Me.allowMissing||(Pe="error"),st(ze,pt,Ne))}function ht(ze,pt,Ne){return ze=="string"?Ct:ze=="word"&&Me.allowUnquoted?(Pe="string",st):(Pe="error",st(ze,pt,Ne))}function Ct(ze,pt,Ne){return ze=="string"?Ct:st(ze,pt,Ne)}return{startState:function(ze){var pt={tokenize:ye,state:Ke,indented:ze||0,tagName:null,tagStart:null,context:null};return ze!=null&&(pt.baseIndent=ze),pt},token:function(ze,pt){if(!pt.tagName&&ze.sol()&&(pt.indented=ze.indentation()),ze.eatSpace())return null;oe=null;var Ne=pt.tokenize(ze,pt);return(Ne||oe)&&Ne!="comment"&&(Pe=null,pt.state=pt.state(oe||Ne,ze,pt),Pe&&(Ne=Pe=="error"?Ne+" error":Pe)),Ne},indent:function(ze,pt,Ne){var Qe=ze.context;if(ze.tokenize.isInAttribute)return ze.tagStart==ze.indented?ze.stringStartCol+1:ze.indented+Fe;if(Qe&&Qe.noIndent)return x.Pass;if(ze.tokenize!=Re&&ze.tokenize!=ye)return Ne?Ne.match(/^(\s*)/)[0].length:0;if(ze.tagName)return Me.multilineTagIndentPastTag!==!1?ze.tagStart+ze.tagName.length+2:ze.tagStart+Fe*(Me.multilineTagIndentFactor||1);if(Me.alignCDATA&&/$/,blockCommentStart:"",configuration:Me.htmlMode?"html":"xml",helperType:Me.htmlMode?"html":"xml",skipAttribute:function(ze){ze.state==ht&&(ze.state=st)},xmlCurrentTag:function(ze){return ze.tagName?{name:ze.tagName,close:ze.type=="closeTag"}:null},xmlCurrentContext:function(ze){for(var pt=[],Ne=ze.context;Ne;Ne=Ne.prev)Ne.tagName&&pt.push(Ne.tagName);return pt.reverse()}}}),x.defineMIME("text/xml","xml"),x.defineMIME("application/xml","xml"),x.mimeModes.hasOwnProperty("text/html")||x.defineMIME("text/html",{name:"xml",htmlMode:!0})})},97774:function(Xn,Mt,ae){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.default=void 0;var x=Object.assign||function(ve){for(var we=1;we0&&(st=je[0]),st instanceof Error)throw st;var at=new Error("Unhandled error."+(st?" ("+st.message+")":""));throw at.context=st,at}var ht=Ve[Ke];if(ht===void 0)return!1;if(typeof ht=="function")ae(ht,this,je);else for(var Ct=ht.length,ze=Re(ht,Ct),_e=0;_e0&&st.length>Je&&!st.warned){st.warned=!0;var at=new Error("Possible EventEmitter memory leak detected. "+st.length+" "+String(Ke)+" listeners added. Use emitter.setMaxListeners() to increase limit");at.name="MaxListenersExceededWarning",at.emitter=Oe,at.type=Ke,at.count=st.length,dt(at)}return Oe}qe.prototype.addListener=function(Ke,je){return fe(this,Ke,je,!1)},qe.prototype.on=qe.prototype.addListener,qe.prototype.prependListener=function(Ke,je){return fe(this,Ke,je,!0)};function xe(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function oe(Oe,Ke,je){var _e={fired:!1,wrapFn:void 0,target:Oe,type:Ke,listener:je},Je=xe.bind(_e);return Je.listener=je,_e.wrapFn=Je,Je}qe.prototype.once=function(Ke,je){return Fe(je),this.on(Ke,oe(this,Ke,je)),this},qe.prototype.prependOnceListener=function(Ke,je){return Fe(je),this.prependListener(Ke,oe(this,Ke,je)),this},qe.prototype.removeListener=function(Ke,je){var _e,Je,Ve,st,at;if(Fe(je),Je=this._events,Je===void 0)return this;if(_e=Je[Ke],_e===void 0)return this;if(_e===je||_e.listener===je)--this._eventsCount===0?this._events=Object.create(null):(delete Je[Ke],Je.removeListener&&this.emit("removeListener",Ke,_e.listener||je));else if(typeof _e!="function"){for(Ve=-1,st=_e.length-1;st>=0;st--)if(_e[st]===je||_e[st].listener===je){at=_e[st].listener,Ve=st;break}if(Ve<0)return this;Ve===0?_e.shift():Se(_e,Ve),_e.length===1&&(Je[Ke]=_e[0]),Je.removeListener!==void 0&&this.emit("removeListener",Ke,at||je)}return this},qe.prototype.off=qe.prototype.removeListener,qe.prototype.removeAllListeners=function(Ke){var je,_e,Je;if(_e=this._events,_e===void 0)return this;if(_e.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):_e[Ke]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete _e[Ke]),this;if(arguments.length===0){var Ve=Object.keys(_e),st;for(Je=0;Je=0;Je--)this.removeListener(Ke,je[Je]);return this};function Pe(Oe,Ke,je){var _e=Oe._events;if(_e===void 0)return[];var Je=_e[Ke];return Je===void 0?[]:typeof Je=="function"?je?[Je.listener||Je]:[Je]:je?Ie(Je):Re(Je,Je.length)}qe.prototype.listeners=function(Ke){return Pe(this,Ke,!0)},qe.prototype.rawListeners=function(Ke){return Pe(this,Ke,!1)},qe.listenerCount=function(Oe,Ke){return typeof Oe.listenerCount=="function"?Oe.listenerCount(Ke):ye.call(Oe,Ke)},qe.prototype.listenerCount=ye;function ye(Oe){var Ke=this._events;if(Ke!==void 0){var je=Ke[Oe];if(typeof je=="function")return 1;if(je!==void 0)return je.length}return 0}qe.prototype.eventNames=function(){return this._eventsCount>0?x(this._events):[]};function Re(Oe,Ke){for(var je=new Array(Ke),_e=0;_e0&&It[It.length-1])&&(yr[0]===6||yr[0]===2)){Ce=0;continue}if(yr[0]===3&&(!It||yr[1]>It[0]&&yr[1]=55296&&rt<=56319&&Ce>10)+55296,Jt%1024+56320)),(rt+1===Ce||be.length>16384)&&(It+=String.fromCharCode.apply(String,be),be.length=0)}return It},oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pe=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ye=0;ye>4,Nr[rt++]=(Jt&15)<<4|Sn>>2,Nr[rt++]=(Sn&3)<<6|En&63;return yr},we=function(me){for(var Ae=me.length,Ce=[],be=0;be>Oe,Ve=1<>Oe,ht=Je+at,Ct=ht,ze=32,pt=Ct+ze,Ne=65536>>Ke,Qe=1<<_e,Ot=Qe-1,ot=function(me,Ae,Ce){return me.slice?me.slice(Ae,Ce):new Uint16Array(Array.prototype.slice.call(me,Ae,Ce))},lt=function(me,Ae,Ce){return me.slice?me.slice(Ae,Ce):new Uint32Array(Array.prototype.slice.call(me,Ae,Ce))},Bt=function(me,Ae){var Ce=ve(me),be=Array.isArray(Ce)?Ee(Ce):new Uint32Array(Ce),rt=Array.isArray(Ce)?we(Ce):new Uint16Array(Ce),It=24,Jt=ot(rt,It/2,be[4]/2),Sn=be[5]===2?ot(rt,(It+be[4])/2):lt(be,Math.ceil((It+be[4])/4));return new We(be[0],be[1],be[2],be[3],Jt,Sn)},We=function(){function me(Ae,Ce,be,rt,It,Jt){this.initialValue=Ae,this.errorValue=Ce,this.highStart=be,this.highValueIndex=rt,this.index=It,this.data=Jt}return me.prototype.get=function(Ae){var Ce;if(Ae>=0){if(Ae<55296||Ae>56319&&Ae<=65535)return Ce=this.index[Ae>>Oe],Ce=(Ce<>Oe)],Ce=(Ce<>Ke),Ce=this.index[Ce],Ce+=Ae>>Oe&Ot,Ce=this.index[Ce],Ce=(Ce<nt?(rt.push(!0),Sn-=nt):rt.push(!1),["normal","auto","loose"].indexOf(Ae)!==-1&&[8208,8211,12316,12448].indexOf(It)!==-1)return be.push(Jt),Ce.push(Be);if(Sn===Tt||Sn===ge){if(Jt===0)return be.push(Jt),Ce.push(nn);var En=Ce[Jt-1];return Br.indexOf(En)===-1?(be.push(be[Jt-1]),Ce.push(En)):(be.push(Jt),Ce.push(nn))}if(be.push(Jt),Sn===zn)return Ce.push(Ae==="strict"?St:Lt);if(Sn===pr||Sn===ln)return Ce.push(nn);if(Sn===ti)return It>=131072&&It<=196605||It>=196608&&It<=262141?Ce.push(Lt):Ce.push(nn);Ce.push(Sn)}),[be,Ce,rt]},di=function(me,Ae,Ce,be){var rt=be[Ce];if(Array.isArray(me)?me.indexOf(rt)!==-1:me===rt)for(var It=Ce;It<=be.length;){It++;var Jt=be[It];if(Jt===Ae)return!0;if(Jt!==de)break}if(rt===de)for(var It=Ce;It>0;){It--;var Sn=be[It];if(Array.isArray(me)?me.indexOf(Sn)!==-1:me===Sn)for(var En=Ce;En<=be.length;){En++;var Jt=be[En];if(Jt===Ae)return!0;if(Jt!==de)break}if(Sn!==de)break}return!1},Pi=function(me,Ae){for(var Ce=me;Ce>=0;){var be=Ae[Ce];if(be===de)Ce--;else return be}return 0},yi=function(me,Ae,Ce,be,rt){if(Ce[be]===0)return ur;var It=be-1;if(Array.isArray(rt)&&rt[It]===!0)return ur;var Jt=It-1,Sn=It+1,En=Ae[It],yr=Jt>=0?Ae[Jt]:0,Nr=Ae[Sn];if(En===Rt&&Nr===hn)return ur;if(rr.indexOf(En)!==-1)return Cr;if(rr.indexOf(Nr)!==-1||Zn.indexOf(Nr)!==-1)return ur;if(Pi(It,Ae)===Fn)return dr;if(yn.get(me[It])===ge||(En===Ln||En===_t)&&yn.get(me[Sn])===ge||En===kt||Nr===kt||En===an||[de,ee,le].indexOf(En)===-1&&Nr===an||[Ge,ut,mt,xt,wn].indexOf(Nr)!==-1||Pi(It,Ae)===Dt||di(Qt,Dt,It,Ae)||di([Ge,ut],St,It,Ae)||di(ie,ie,It,Ae))return ur;if(En===de)return dr;if(En===Qt||Nr===Qt)return ur;if(Nr===Be||En===Be)return dr;if([ee,le,St].indexOf(Nr)!==-1||En===se||yr===Vn&&ci.indexOf(En)!==-1||En===wn&&Nr===Vn||Nr===vt||$n.indexOf(Nr)!==-1&&En===ct||$n.indexOf(En)!==-1&&Nr===ct||En===Wt&&[Lt,Ln,_t].indexOf(Nr)!==-1||[Lt,Ln,_t].indexOf(En)!==-1&&Nr===Xt||$n.indexOf(En)!==-1&&br.indexOf(Nr)!==-1||br.indexOf(En)!==-1&&$n.indexOf(Nr)!==-1||[Wt,Xt].indexOf(En)!==-1&&(Nr===ct||[Dt,le].indexOf(Nr)!==-1&&Ae[Sn+1]===ct)||[Dt,le].indexOf(En)!==-1&&Nr===ct||En===ct&&[ct,wn,xt].indexOf(Nr)!==-1)return ur;if([ct,wn,xt,Ge,ut].indexOf(Nr)!==-1)for(var Qr=It;Qr>=0;){var Oi=Ae[Qr];if(Oi===ct)return ur;if([wn,xt].indexOf(Oi)!==-1)Qr--;else break}if([Wt,Xt].indexOf(Nr)!==-1)for(var Qr=[Ge,ut].indexOf(En)!==-1?Jt:It;Qr>=0;){var Oi=Ae[Qr];if(Oi===ct)return ur;if([wn,xt].indexOf(Oi)!==-1)Qr--;else break}if(Gt===En&&[Gt,sn,un,Pn].indexOf(Nr)!==-1||[sn,un].indexOf(En)!==-1&&[sn,bn].indexOf(Nr)!==-1||[bn,Pn].indexOf(En)!==-1&&Nr===bn||Or.indexOf(En)!==-1&&[vt,Xt].indexOf(Nr)!==-1||Or.indexOf(Nr)!==-1&&En===Wt||$n.indexOf(En)!==-1&&$n.indexOf(Nr)!==-1||En===xt&&$n.indexOf(Nr)!==-1||$n.concat(ct).indexOf(En)!==-1&&Nr===Dt&&si.indexOf(me[Sn])===-1||$n.concat(ct).indexOf(Nr)!==-1&&En===ut)return ur;if(En===Yn&&Nr===Yn){for(var Aa=Ce[It],go=1;Aa>0&&(Aa--,Ae[Aa]===Yn);)go++;if(go%2!==0)return ur}return En===Ln&&Nr===_t?ur:dr},oo=function(me,Ae){Ae||(Ae={lineBreak:"normal",wordBreak:"normal"});var Ce=Ai(me,Ae.lineBreak),be=Ce[0],rt=Ce[1],It=Ce[2];(Ae.wordBreak==="break-all"||Ae.wordBreak==="break-word")&&(rt=rt.map(function(Sn){return[ct,nn,pr].indexOf(Sn)!==-1?Lt:Sn}));var Jt=Ae.wordBreak==="keep-all"?It.map(function(Sn,En){return Sn&&me[En]>=19968&&me[En]<=40959}):void 0;return[be,rt,Jt]},Gi=function(){function me(Ae,Ce,be,rt){this.codePoints=Ae,this.required=Ce===Cr,this.start=be,this.end=rt}return me.prototype.slice=function(){return xe.apply(void 0,this.codePoints.slice(this.start,this.end))},me}(),ar=function(me,Ae){var Ce=fe(me),be=oo(Ce,Ae),rt=be[0],It=be[1],Jt=be[2],Sn=Ce.length,En=0,yr=0;return{next:function(){if(yr>=Sn)return{done:!0,value:null};for(var Nr=ur;yr=Mo&&me<=57},Yr=function(me){return me>=55296&&me<=57343},Bi=function(me){return jr(me)||me>=$r&&me<=Zr||me>=Go&&me<=No},_i=function(me){return me>=Go&&me<=Vt},Ro=function(me){return me>=$r&&me<=ro},ya=function(me){return _i(me)||Ro(me)},$o=function(me){return me>=xi},Ea=function(me){return me===Cn||me===Zt||me===vn},da=function(me){return ya(me)||$o(me)||me===Ti},wa=function(me){return da(me)||jr(me)||me===bi},Wr=function(me){return me>=ao&&me<=ki||me===So||me>=uo&&me<=Do||me===Co},Ji=function(me,Ae){return me!==pn?!1:Ae!==Cn},xo=function(me,Ae,Ce){return me===bi?da(Ae)||Ji(Ae,Ce):da(me)?!0:!!(me===pn&&Ji(me,Ae))},ba=function(me,Ae,Ce){return me===Di||me===bi?jr(Ae)?!0:Ae===ai&&jr(Ce):jr(me===ai?Ae:me)},Xa=function(me){var Ae=0,Ce=1;(me[Ae]===Di||me[Ae]===bi)&&(me[Ae]===bi&&(Ce=-1),Ae++);for(var be=[];jr(me[Ae]);)be.push(me[Ae++]);var rt=be.length?parseInt(xe.apply(void 0,be),10):0;me[Ae]===ai&&Ae++;for(var It=[];jr(me[Ae]);)It.push(me[Ae++]);var Jt=It.length,Sn=Jt?parseInt(xe.apply(void 0,It),10):0;(me[Ae]===ui||me[Ae]===zo)&&Ae++;var En=1;(me[Ae]===Di||me[Ae]===bi)&&(me[Ae]===bi&&(En=-1),Ae++);for(var yr=[];jr(me[Ae]);)yr.push(me[Ae++]);var Nr=yr.length?parseInt(xe.apply(void 0,yr),10):0;return Ce*(rt+Sn*Math.pow(10,-Jt))*Math.pow(10,En*Nr)},ns={type:2},Ta={type:3},Za={type:4},Fo={type:13},vo={type:8},qo={type:21},ja={type:9},ls={type:10},Fs={type:11},il={type:12},tu={type:14},Au={type:23},tl={type:1},fl={type:25},wu={type:24},Lu={type:26},hl={type:27},vc={type:28},Du={type:29},fa={type:31},La={type:32},ha=function(){function me(){this._value=[]}return me.prototype.write=function(Ae){this._value=this._value.concat(fe(Ae))},me.prototype.read=function(){for(var Ae=[],Ce=this.consumeToken();Ce!==La;)Ae.push(Ce),Ce=this.consumeToken();return Ae},me.prototype.consumeToken=function(){var Ae=this.consumeCodePoint();switch(Ae){case On:return this.consumeStringToken(On);case Xr:var Ce=this.peekCodePoint(0),be=this.peekCodePoint(1),rt=this.peekCodePoint(2);if(wa(Ce)||Ji(be,rt)){var It=xo(Ce,be,rt)?gi:Dr,Jt=this.consumeName();return{type:5,value:Jt,flags:It}}break;case li:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),Fo;break;case or:return this.consumeStringToken(or);case er:return ns;case _r:return Ta;case Ii:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),tu;break;case Di:if(ba(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case $i:return Za;case bi:var Sn=Ae,En=this.peekCodePoint(0),yr=this.peekCodePoint(1);if(ba(Sn,En,yr))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();if(xo(Sn,En,yr))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();if(En===bi&&yr===tn)return this.consumeCodePoint(),this.consumeCodePoint(),wu;break;case ai:if(ba(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case tt:if(this.peekCodePoint(0)===Ii)for(this.consumeCodePoint();;){var Nr=this.consumeCodePoint();if(Nr===Ii&&(Nr=this.consumeCodePoint(),Nr===tt))return this.consumeToken();if(Nr===to)return this.consumeToken()}break;case no:return Lu;case Hi:return hl;case Er:if(this.peekCodePoint(0)===Xi&&this.peekCodePoint(1)===bi&&this.peekCodePoint(2)===bi)return this.consumeCodePoint(),this.consumeCodePoint(),fl;break;case $t:var Qr=this.peekCodePoint(0),Oi=this.peekCodePoint(1),Aa=this.peekCodePoint(2);if(xo(Qr,Oi,Aa)){var Jt=this.consumeName();return{type:7,value:Jt}}break;case jn:return vc;case pn:if(Ji(Ae,this.peekCodePoint(0)))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();break;case lr:return Du;case gr:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),vo;break;case Ir:return Fs;case zr:return il;case zi:case Ri:var go=this.peekCodePoint(0),Vo=this.peekCodePoint(1);return go===Di&&(Bi(Vo)||Vo===Kr)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();case pi:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),ja;if(this.peekCodePoint(0)===pi)return this.consumeCodePoint(),qo;break;case Ci:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),ls;break;case to:return La}return Ea(Ae)?(this.consumeWhiteSpace(),fa):jr(Ae)?(this.reconsumeCodePoint(Ae),this.consumeNumericToken()):da(Ae)?(this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken()):{type:6,value:xe(Ae)}},me.prototype.consumeCodePoint=function(){var Ae=this._value.shift();return typeof Ae=="undefined"?-1:Ae},me.prototype.reconsumeCodePoint=function(Ae){this._value.unshift(Ae)},me.prototype.peekCodePoint=function(Ae){return Ae>=this._value.length?-1:this._value[Ae]},me.prototype.consumeUnicodeRangeToken=function(){for(var Ae=[],Ce=this.consumeCodePoint();Bi(Ce)&&Ae.length<6;)Ae.push(Ce),Ce=this.consumeCodePoint();for(var be=!1;Ce===Kr&&Ae.length<6;)Ae.push(Ce),Ce=this.consumeCodePoint(),be=!0;if(be){var rt=parseInt(xe.apply(void 0,Ae.map(function(En){return En===Kr?Mo:En})),16),It=parseInt(xe.apply(void 0,Ae.map(function(En){return En===Kr?Zr:En})),16);return{type:30,start:rt,end:It}}var Jt=parseInt(xe.apply(void 0,Ae),16);if(this.peekCodePoint(0)===bi&&Bi(this.peekCodePoint(1))){this.consumeCodePoint(),Ce=this.consumeCodePoint();for(var Sn=[];Bi(Ce)&&Sn.length<6;)Sn.push(Ce),Ce=this.consumeCodePoint();var It=parseInt(xe.apply(void 0,Sn),16);return{type:30,start:Jt,end:It}}else return{type:30,start:Jt,end:Jt}},me.prototype.consumeIdentLikeToken=function(){var Ae=this.consumeName();return Ae.toLowerCase()==="url"&&this.peekCodePoint(0)===er?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===er?(this.consumeCodePoint(),{type:19,value:Ae}):{type:20,value:Ae}},me.prototype.consumeUrlToken=function(){var Ae=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===to)return{type:22,value:""};var Ce=this.peekCodePoint(0);if(Ce===or||Ce===On){var be=this.consumeStringToken(this.consumeCodePoint());return be.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===to||this.peekCodePoint(0)===_r)?(this.consumeCodePoint(),{type:22,value:be.value}):(this.consumeBadUrlRemnants(),Au)}for(;;){var rt=this.consumeCodePoint();if(rt===to||rt===_r)return{type:22,value:xe.apply(void 0,Ae)};if(Ea(rt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===to||this.peekCodePoint(0)===_r?(this.consumeCodePoint(),{type:22,value:xe.apply(void 0,Ae)}):(this.consumeBadUrlRemnants(),Au);if(rt===On||rt===or||rt===er||Wr(rt))return this.consumeBadUrlRemnants(),Au;if(rt===pn)if(Ji(rt,this.peekCodePoint(0)))Ae.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Au;else Ae.push(rt)}},me.prototype.consumeWhiteSpace=function(){for(;Ea(this.peekCodePoint(0));)this.consumeCodePoint()},me.prototype.consumeBadUrlRemnants=function(){for(;;){var Ae=this.consumeCodePoint();if(Ae===_r||Ae===to)return;Ji(Ae,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},me.prototype.consumeStringSlice=function(Ae){for(var Ce=5e4,be="";Ae>0;){var rt=Math.min(Ce,Ae);be+=xe.apply(void 0,this._value.splice(0,rt)),Ae-=rt}return this._value.shift(),be},me.prototype.consumeStringToken=function(Ae){var Ce="",be=0;do{var rt=this._value[be];if(rt===to||rt===void 0||rt===Ae)return Ce+=this.consumeStringSlice(be),{type:0,value:Ce};if(rt===Cn)return this._value.splice(0,be),tl;if(rt===pn){var It=this._value[be+1];It!==to&&It!==void 0&&(It===Cn?(Ce+=this.consumeStringSlice(be),be=-1,this._value.shift()):Ji(rt,It)&&(Ce+=this.consumeStringSlice(be),Ce+=xe(this.consumeEscapedCodePoint()),be=-1))}be++}while(!0)},me.prototype.consumeNumber=function(){var Ae=[],Ce=ni,be=this.peekCodePoint(0);for((be===Di||be===bi)&&Ae.push(this.consumeCodePoint());jr(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());be=this.peekCodePoint(0);var rt=this.peekCodePoint(1);if(be===ai&&jr(rt))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),Ce=An;jr(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());be=this.peekCodePoint(0),rt=this.peekCodePoint(1);var It=this.peekCodePoint(2);if((be===ui||be===zo)&&((rt===Di||rt===bi)&&jr(It)||jr(rt)))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),Ce=An;jr(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());return[Xa(Ae),Ce]},me.prototype.consumeNumericToken=function(){var Ae=this.consumeNumber(),Ce=Ae[0],be=Ae[1],rt=this.peekCodePoint(0),It=this.peekCodePoint(1),Jt=this.peekCodePoint(2);if(xo(rt,It,Jt)){var Sn=this.consumeName();return{type:15,number:Ce,flags:be,unit:Sn}}return rt===nr?(this.consumeCodePoint(),{type:16,number:Ce,flags:be}):{type:17,number:Ce,flags:be}},me.prototype.consumeEscapedCodePoint=function(){var Ae=this.consumeCodePoint();if(Bi(Ae)){for(var Ce=xe(Ae);Bi(this.peekCodePoint(0))&&Ce.length<6;)Ce+=xe(this.consumeCodePoint());Ea(this.peekCodePoint(0))&&this.consumeCodePoint();var be=parseInt(Ce,16);return be===0||Yr(be)||be>1114111?hi:be}return Ae===to?hi:Ae},me.prototype.consumeName=function(){for(var Ae="";;){var Ce=this.consumeCodePoint();if(wa(Ce))Ae+=xe(Ce);else if(Ji(Ce,this.peekCodePoint(0)))Ae+=xe(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Ce),Ae}},me}(),ga=function(){function me(Ae){this._tokens=Ae}return me.create=function(Ae){var Ce=new ha;return Ce.write(Ae),new me(Ce.read())},me.parseValue=function(Ae){return me.create(Ae).parseComponentValue()},me.parseValues=function(Ae){return me.create(Ae).parseComponentValues()},me.prototype.parseComponentValue=function(){for(var Ae=this.consumeToken();Ae.type===31;)Ae=this.consumeToken();if(Ae.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(Ae);var Ce=this.consumeComponentValue();do Ae=this.consumeToken();while(Ae.type===31);if(Ae.type===32)return Ce;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},me.prototype.parseComponentValues=function(){for(var Ae=[];;){var Ce=this.consumeComponentValue();if(Ce.type===32)return Ae;Ae.push(Ce),Ae.push()}},me.prototype.consumeComponentValue=function(){var Ae=this.consumeToken();switch(Ae.type){case 11:case 28:case 2:return this.consumeSimpleBlock(Ae.type);case 19:return this.consumeFunction(Ae)}return Ae},me.prototype.consumeSimpleBlock=function(Ae){for(var Ce={type:Ae,values:[]},be=this.consumeToken();;){if(be.type===32||Gu(be,Ae))return Ce;this.reconsumeToken(be),Ce.values.push(this.consumeComponentValue()),be=this.consumeToken()}},me.prototype.consumeFunction=function(Ae){for(var Ce={name:Ae.value,values:[],type:18};;){var be=this.consumeToken();if(be.type===32||be.type===3)return Ce;this.reconsumeToken(be),Ce.values.push(this.consumeComponentValue())}},me.prototype.consumeToken=function(){var Ae=this._tokens.shift();return typeof Ae=="undefined"?La:Ae},me.prototype.reconsumeToken=function(Ae){this._tokens.unshift(Ae)},me}(),es=function(me){return me.type===15},Ya=function(me){return me.type===17},$a=function(me){return me.type===20},Kl=function(me){return me.type===0},su=function(me,Ae){return $a(me)&&me.value===Ae},Ol=function(me){return me.type!==31},bu=function(me){return me.type!==31&&me.type!==4},du=function(me){var Ae=[],Ce=[];return me.forEach(function(be){if(be.type===4){if(Ce.length===0)throw new Error("Error parsing function args, zero tokens for arg");Ae.push(Ce),Ce=[];return}be.type!==31&&Ce.push(be)}),Ce.length&&Ae.push(Ce),Ae},Gu=function(me,Ae){return Ae===11&&me.type===12||Ae===28&&me.type===29?!0:Ae===2&&me.type===3},Qi=function(me){return me.type===17||me.type===15},Bo=function(me){return me.type===16||Qi(me)},Wa=function(me){return me.length>1?[me[0],me[1]]:[me[0]]},ol={type:17,number:0,flags:ni},kc={type:16,number:50,flags:ni},nu={type:16,number:100,flags:ni},Cu=function(me,Ae,Ce){var be=me[0],rt=me[1];return[ps(be,Ae),ps(typeof rt!="undefined"?rt:be,Ce)]},ps=function(me,Ae){if(me.type===16)return me.number/100*Ae;if(es(me))switch(me.unit){case"rem":case"em":return 16*me.number;case"px":default:return me.number}return me.number},oc="deg",td="grad",Vc="rad",ka="turn",Xu={name:"angle",parse:function(me,Ae){if(Ae.type===15)switch(Ae.unit){case oc:return Math.PI*Ae.number/180;case td:return Math.PI/200*Ae.number;case Vc:return Ae.number;case ka:return Math.PI*2*Ae.number}throw new Error("Unsupported angle type")}},yc=function(me){return me.type===15&&(me.unit===oc||me.unit===td||me.unit===Vc||me.unit===ka)},Nu=function(me){var Ae=me.filter($a).map(function(Ce){return Ce.value}).join(" ");switch(Ae){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ol,ol];case"to top":case"bottom":return Ns(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ol,nu];case"to right":case"left":return Ns(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[nu,nu];case"to bottom":case"top":return Ns(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[nu,ol];case"to left":case"right":return Ns(270)}return 0},Ns=function(me){return Math.PI*me/180},Yu={name:"color",parse:function(me,Ae){if(Ae.type===18){var Ce=Fa[Ae.name];if(typeof Ce=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Ae.name+'"');return Ce(me,Ae.values)}if(Ae.type===5){if(Ae.value.length===3){var be=Ae.value.substring(0,1),rt=Ae.value.substring(1,2),It=Ae.value.substring(2,3);return Tl(parseInt(be+be,16),parseInt(rt+rt,16),parseInt(It+It,16),1)}if(Ae.value.length===4){var be=Ae.value.substring(0,1),rt=Ae.value.substring(1,2),It=Ae.value.substring(2,3),Jt=Ae.value.substring(3,4);return Tl(parseInt(be+be,16),parseInt(rt+rt,16),parseInt(It+It,16),parseInt(Jt+Jt,16)/255)}if(Ae.value.length===6){var be=Ae.value.substring(0,2),rt=Ae.value.substring(2,4),It=Ae.value.substring(4,6);return Tl(parseInt(be,16),parseInt(rt,16),parseInt(It,16),1)}if(Ae.value.length===8){var be=Ae.value.substring(0,2),rt=Ae.value.substring(2,4),It=Ae.value.substring(4,6),Jt=Ae.value.substring(6,8);return Tl(parseInt(be,16),parseInt(rt,16),parseInt(It,16),parseInt(Jt,16)/255)}}if(Ae.type===20){var Sn=bs[Ae.value.toUpperCase()];if(typeof Sn!="undefined")return Sn}return bs.TRANSPARENT}},Pl=function(me){return(255&me)===0},ml=function(me){var Ae=255&me,Ce=255&me>>8,be=255&me>>16,rt=255&me>>24;return Ae<255?"rgba("+rt+","+be+","+Ce+","+Ae/255+")":"rgb("+rt+","+be+","+Ce+")"},Tl=function(me,Ae,Ce,be){return(me<<24|Ae<<16|Ce<<8|Math.round(be*255)<<0)>>>0},xu=function(me,Ae){if(me.type===17)return me.number;if(me.type===16){var Ce=Ae===3?1:255;return Ae===3?me.number/100*Ce:Math.round(me.number/100*Ce)}return 0},$u=function(me,Ae){var Ce=Ae.filter(bu);if(Ce.length===3){var be=Ce.map(xu),rt=be[0],It=be[1],Jt=be[2];return Tl(rt,It,Jt,1)}if(Ce.length===4){var Sn=Ce.map(xu),rt=Sn[0],It=Sn[1],Jt=Sn[2],En=Sn[3];return Tl(rt,It,Jt,En)}return 0};function ru(me,Ae,Ce){return Ce<0&&(Ce+=1),Ce>=1&&(Ce-=1),Ce<1/6?(Ae-me)*Ce*6+me:Ce<1/2?Ae:Ce<2/3?(Ae-me)*6*(2/3-Ce)+me:me}var fu=function(me,Ae){var Ce=Ae.filter(bu),be=Ce[0],rt=Ce[1],It=Ce[2],Jt=Ce[3],Sn=(be.type===17?Ns(be.number):Xu.parse(me,be))/(Math.PI*2),En=Bo(rt)?rt.number/100:0,yr=Bo(It)?It.number/100:0,Nr=typeof Jt!="undefined"&&Bo(Jt)?ps(Jt,1):1;if(En===0)return Tl(yr*255,yr*255,yr*255,1);var Qr=yr<=.5?yr*(En+1):yr+En-yr*En,Oi=yr*2-Qr,Aa=ru(Oi,Qr,Sn+1/3),go=ru(Oi,Qr,Sn),Vo=ru(Oi,Qr,Sn-1/3);return Tl(Aa*255,go*255,Vo*255,Nr)},Fa={hsl:fu,hsla:fu,rgb:$u,rgba:$u},Ma=function(me,Ae){return Yu.parse(me,ga.create(Ae).parseComponentValue())},bs={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},ac={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(me,Ae){return Ae.map(function(Ce){if($a(Ce))switch(Ce.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Zl={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},lu=function(me,Ae){var Ce=Yu.parse(me,Ae[0]),be=Ae[1];return be&&Bo(be)?{color:Ce,stop:be}:{color:Ce,stop:null}},Gc=function(me,Ae){var Ce=me[0],be=me[me.length-1];Ce.stop===null&&(Ce.stop=ol),be.stop===null&&(be.stop=nu);for(var rt=[],It=0,Jt=0;JtIt?rt.push(En):rt.push(It),It=En}else rt.push(null)}for(var yr=null,Jt=0;JtJt.optimumDistance)?{optimumCorner:Sn,optimumDistance:Nr}:Jt},{optimumDistance:rt?1/0:-1/0,optimumCorner:null}).optimumCorner},iA=function(me,Ae,Ce,be,rt){var It=0,Jt=0;switch(me.size){case 0:me.shape===0?It=Jt=Math.min(Math.abs(Ae),Math.abs(Ae-be),Math.abs(Ce),Math.abs(Ce-rt)):me.shape===1&&(It=Math.min(Math.abs(Ae),Math.abs(Ae-be)),Jt=Math.min(Math.abs(Ce),Math.abs(Ce-rt)));break;case 2:if(me.shape===0)It=Jt=Math.min(Wl(Ae,Ce),Wl(Ae,Ce-rt),Wl(Ae-be,Ce),Wl(Ae-be,Ce-rt));else if(me.shape===1){var Sn=Math.min(Math.abs(Ce),Math.abs(Ce-rt))/Math.min(Math.abs(Ae),Math.abs(Ae-be)),En=bc(be,rt,Ae,Ce,!0),yr=En[0],Nr=En[1];It=Wl(yr-Ae,(Nr-Ce)/Sn),Jt=Sn*It}break;case 1:me.shape===0?It=Jt=Math.max(Math.abs(Ae),Math.abs(Ae-be),Math.abs(Ce),Math.abs(Ce-rt)):me.shape===1&&(It=Math.max(Math.abs(Ae),Math.abs(Ae-be)),Jt=Math.max(Math.abs(Ce),Math.abs(Ce-rt)));break;case 3:if(me.shape===0)It=Jt=Math.max(Wl(Ae,Ce),Wl(Ae,Ce-rt),Wl(Ae-be,Ce),Wl(Ae-be,Ce-rt));else if(me.shape===1){var Sn=Math.max(Math.abs(Ce),Math.abs(Ce-rt))/Math.max(Math.abs(Ae),Math.abs(Ae-be)),Qr=bc(be,rt,Ae,Ce,!1),yr=Qr[0],Nr=Qr[1];It=Wl(yr-Ae,(Nr-Ce)/Sn),Jt=Sn*It}break}return Array.isArray(me.size)&&(It=ps(me.size[0],be),Jt=me.size.length===2?ps(me.size[1],rt):It),[It,Jt]},oA=function(me,Ae){var Ce=Ns(180),be=[];return du(Ae).forEach(function(rt,It){if(It===0){var Jt=rt[0];if(Jt.type===20&&Jt.value==="to"){Ce=Nu(rt);return}else if(yc(Jt)){Ce=Xu.parse(me,Jt);return}}var Sn=lu(me,rt);be.push(Sn)}),{angle:Ce,stops:be,type:1}},Ed=function(me,Ae){var Ce=Ns(180),be=[];return du(Ae).forEach(function(rt,It){if(It===0){var Jt=rt[0];if(Jt.type===20&&["top","left","right","bottom"].indexOf(Jt.value)!==-1){Ce=Nu(rt);return}else if(yc(Jt)){Ce=(Xu.parse(me,Jt)+Ns(270))%Ns(360);return}}var Sn=lu(me,rt);be.push(Sn)}),{angle:Ce,stops:be,type:1}},Jf=function(me,Ae){var Ce=Ns(180),be=[],rt=1,It=0,Jt=3,Sn=[];return du(Ae).forEach(function(En,yr){var Nr=En[0];if(yr===0){if($a(Nr)&&Nr.value==="linear"){rt=1;return}else if($a(Nr)&&Nr.value==="radial"){rt=2;return}}if(Nr.type===18){if(Nr.name==="from"){var Qr=Yu.parse(me,Nr.values[0]);be.push({stop:ol,color:Qr})}else if(Nr.name==="to"){var Qr=Yu.parse(me,Nr.values[0]);be.push({stop:nu,color:Qr})}else if(Nr.name==="color-stop"){var Oi=Nr.values.filter(bu);if(Oi.length===2){var Qr=Yu.parse(me,Oi[1]),Aa=Oi[0];Ya(Aa)&&be.push({stop:{type:16,number:Aa.number*100,flags:Aa.flags},color:Qr})}}}}),rt===1?{angle:(Ce+Ns(180))%Ns(360),stops:be,type:rt}:{size:Jt,shape:It,stops:be,position:Sn,type:rt}},nd="closest-side",PA="farthest-side",gA="closest-corner",Ou="farthest-corner",TA="circle",aA="ellipse",Sd="cover",qf="contain",Ms=function(me,Ae){var Ce=0,be=3,rt=[],It=[];return du(Ae).forEach(function(Jt,Sn){var En=!0;if(Sn===0){var yr=!1;En=Jt.reduce(function(Qr,Oi){if(yr)if($a(Oi))switch(Oi.value){case"center":return It.push(kc),Qr;case"top":case"left":return It.push(ol),Qr;case"right":case"bottom":return It.push(nu),Qr}else(Bo(Oi)||Qi(Oi))&&It.push(Oi);else if($a(Oi))switch(Oi.value){case TA:return Ce=0,!1;case aA:return Ce=1,!1;case"at":return yr=!0,!1;case nd:return be=0,!1;case Sd:case PA:return be=1,!1;case qf:case gA:return be=2,!1;case Ou:return be=3,!1}else if(Qi(Oi)||Bo(Oi))return Array.isArray(be)||(be=[]),be.push(Oi),!1;return Qr},En)}if(En){var Nr=lu(me,Jt);rt.push(Nr)}}),{size:be,shape:Ce,stops:rt,position:It,type:2}},Ju=function(me,Ae){var Ce=0,be=3,rt=[],It=[];return du(Ae).forEach(function(Jt,Sn){var En=!0;if(Sn===0?En=Jt.reduce(function(Nr,Qr){if($a(Qr))switch(Qr.value){case"center":return It.push(kc),!1;case"top":case"left":return It.push(ol),!1;case"right":case"bottom":return It.push(nu),!1}else if(Bo(Qr)||Qi(Qr))return It.push(Qr),!1;return Nr},En):Sn===1&&(En=Jt.reduce(function(Nr,Qr){if($a(Qr))switch(Qr.value){case TA:return Ce=0,!1;case aA:return Ce=1,!1;case qf:case nd:return be=0,!1;case PA:return be=1,!1;case gA:return be=2,!1;case Sd:case Ou:return be=3,!1}else if(Qi(Qr)||Bo(Qr))return Array.isArray(be)||(be=[]),be.push(Qr),!1;return Nr},En)),En){var yr=lu(me,Jt);rt.push(yr)}}),{size:be,shape:Ce,stops:rt,position:It,type:2}},mA=function(me){return me.type===1},Th=function(me){return me.type===2},Xc={name:"image",parse:function(me,Ae){if(Ae.type===22){var Ce={url:Ae.value,type:0};return me.cache.addImage(Ae.value),Ce}if(Ae.type===18){var be=Fd[Ae.name];if(typeof be=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Ae.name+'"');return be(me,Ae.values)}throw new Error("Unsupported image type "+Ae.type)}};function kh(me){return!(me.type===20&&me.value==="none")&&(me.type!==18||!!Fd[me.name])}var Fd={"linear-gradient":oA,"-moz-linear-gradient":Ed,"-ms-linear-gradient":Ed,"-o-linear-gradient":Ed,"-webkit-linear-gradient":Ed,"radial-gradient":Ms,"-moz-radial-gradient":Ju,"-ms-radial-gradient":Ju,"-o-radial-gradient":Ju,"-webkit-radial-gradient":Ju,"-webkit-gradient":Jf},eh={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(me,Ae){if(Ae.length===0)return[];var Ce=Ae[0];return Ce.type===20&&Ce.value==="none"?[]:Ae.filter(function(be){return bu(be)&&kh(be)}).map(function(be){return Xc.parse(me,be)})}},bf={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(me,Ae){return Ae.map(function(Ce){if($a(Ce))switch(Ce.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Cf={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(me,Ae){return du(Ae).map(function(Ce){return Ce.filter(Bo)}).map(Wa)}},Yc={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(me,Ae){return du(Ae).map(function(Ce){return Ce.filter($a).map(function(be){return be.value}).join(" ")}).map(ma)}},ma=function(me){switch(me){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Rl;(function(me){me.AUTO="auto",me.CONTAIN="contain",me.COVER="cover"})(Rl||(Rl={}));var Mc={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(me,Ae){return du(Ae).map(function(Ce){return Ce.filter(rd)})}},rd=function(me){return $a(me)||Bo(me)},kA=function(me){return{name:"border-"+me+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Kp=kA("top"),MA=kA("right"),th=kA("bottom"),Uc=kA("left"),id=function(me){return{name:"border-radius-"+me,initialValue:"0 0",prefix:!1,type:1,parse:function(Ae,Ce){return Wa(Ce.filter(Bo))}}},Zp=id("top-left"),vA=id("top-right"),Dc=id("bottom-right"),sc=id("bottom-left"),zs=function(me){return{name:"border-"+me+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Ae,Ce){switch(Ce){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},yA=zs("top"),od=zs("right"),ad=zs("bottom"),wA=zs("left"),UA=function(me){return{name:"border-"+me+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Ae,Ce){return es(Ce)?Ce.number:0}}},xf=UA("top"),Id=UA("right"),Mh=UA("bottom"),Wp=UA("left"),lc={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},bA={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"rtl":return 1;case"ltr":default:return 0}}},up={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(me,Ae){return Ae.filter($a).reduce(function(Ce,be){return Ce|Vp(be.value)},0)}},Vp=function(me){switch(me){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Xd={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},cp={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(me,Ae){return Ae.type===20&&Ae.value==="normal"?0:Ae.type===17||Ae.type===15?Ae.number:0}},Yd;(function(me){me.NORMAL="normal",me.STRICT="strict"})(Yd||(Yd={}));var Gp={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"strict":return Yd.STRICT;case"normal":default:return Yd.NORMAL}}},uc={name:"line-height",initialValue:"normal",prefix:!1,type:4},Pu=function(me,Ae){return $a(me)&&me.value==="normal"?1.2*Ae:me.type===17?Ae*me.number:Bo(me)?ps(me,Ae):Ae},cc={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(me,Ae){return Ae.type===20&&Ae.value==="none"?null:Xc.parse(me,Ae)}},Tu={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"inside":return 0;case"outside":default:return 1}}},sd={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},$d=function(me){return{name:"margin-"+me,initialValue:"0",prefix:!1,type:4}},Bf=$d("top"),Ap=$d("right"),dp=$d("bottom"),fp=$d("left"),nh={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(me,Ae){return Ae.filter($a).map(function(Ce){switch(Ce.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},CA={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ld=function(me){return{name:"padding-"+me,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},hp=Ld("top"),bt=Ld("right"),wt=Ld("bottom"),Yt=Ld("left"),dn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},In={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Un={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(me,Ae){return Ae.length===1&&su(Ae[0],"none")?[]:du(Ae).map(function(Ce){for(var be={color:bs.TRANSPARENT,offsetX:ol,offsetY:ol,blur:ol},rt=0,It=0;It1?1:0],this.overflowWrap=Ao(Ae,CA,Ce.overflowWrap),this.paddingTop=Ao(Ae,hp,Ce.paddingTop),this.paddingRight=Ao(Ae,bt,Ce.paddingRight),this.paddingBottom=Ao(Ae,wt,Ce.paddingBottom),this.paddingLeft=Ao(Ae,Yt,Ce.paddingLeft),this.paintOrder=Ao(Ae,bo,Ce.paintOrder),this.position=Ao(Ae,In,Ce.position),this.textAlign=Ao(Ae,dn,Ce.textAlign),this.textDecorationColor=Ao(Ae,po,(be=Ce.textDecorationColor)!==null&&be!==void 0?be:Ce.color),this.textDecorationLine=Ao(Ae,Io,(rt=Ce.textDecorationLine)!==null&&rt!==void 0?rt:Ce.textDecoration),this.textShadow=Ao(Ae,Un,Ce.textShadow),this.textTransform=Ao(Ae,tr,Ce.textTransform),this.transform=Ao(Ae,Jn,Ce.transform),this.transformOrigin=Ao(Ae,Lr,Ce.transformOrigin),this.visibility=Ao(Ae,Sr,Ce.visibility),this.webkitTextStrokeColor=Ao(Ae,rs,Ce.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ao(Ae,Va,Ce.webkitTextStrokeWidth),this.wordBreak=Ao(Ae,mi,Ce.wordBreak),this.zIndex=Ao(Ae,eo,Ce.zIndex)}return me.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},me.prototype.isTransparent=function(){return Pl(this.backgroundColor)},me.prototype.isTransformed=function(){return this.transform!==null},me.prototype.isPositioned=function(){return this.position!==0},me.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},me.prototype.isFloating=function(){return this.float!==0},me.prototype.isInlineLevel=function(){return Zo(this.display,4)||Zo(this.display,33554432)||Zo(this.display,268435456)||Zo(this.display,536870912)||Zo(this.display,67108864)||Zo(this.display,134217728)},me}(),xl=function(){function me(Ae,Ce){this.content=Ao(Ae,Ho,Ce.content),this.quotes=Ao(Ae,_o,Ce.quotes)}return me}(),al=function(){function me(Ae,Ce){this.counterIncrement=Ao(Ae,Ko,Ce.counterIncrement),this.counterReset=Ao(Ae,yo,Ce.counterReset)}return me}(),Ao=function(me,Ae,Ce){var be=new ha,rt=Ce!==null&&typeof Ce!="undefined"?Ce.toString():Ae.initialValue;be.write(rt);var It=new ga(be.read());switch(Ae.type){case 2:var Jt=It.parseComponentValue();return Ae.parse(me,$a(Jt)?Jt.value:Ae.initialValue);case 0:return Ae.parse(me,It.parseComponentValue());case 1:return Ae.parse(me,It.parseComponentValues());case 4:return It.parseComponentValue();case 3:switch(Ae.format){case"angle":return Xu.parse(me,It.parseComponentValue());case"color":return Yu.parse(me,It.parseComponentValue());case"image":return Xc.parse(me,It.parseComponentValue());case"length":var Sn=It.parseComponentValue();return Qi(Sn)?Sn:ol;case"length-percentage":var En=It.parseComponentValue();return Bo(En)?En:ol;case"time":return co.parse(me,It.parseComponentValue())}break}},Vl="data-html2canvas-debug",ds=function(me){var Ae=me.getAttribute(Vl);switch(Ae){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},us=function(me,Ae){var Ce=ds(me);return Ce===1||Ae===Ce},nl=function(){function me(Ae,Ce){if(this.context=Ae,this.textNodes=[],this.elements=[],this.flags=0,us(Ce,3))debugger;this.styles=new kl(Ae,window.getComputedStyle(Ce,null)),_h(Ce)&&(this.styles.animationDuration.some(function(be){return be>0})&&(Ce.style.animationDuration="0s"),this.styles.transform!==null&&(Ce.style.transform="none")),this.bounds=Fe(this.context,Ce),us(Ce,4)&&(this.flags|=16)}return me}(),uu="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",ra="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ca=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Yo=0;Yo>4,Nr[rt++]=(Jt&15)<<4|Sn>>2,Nr[rt++]=(Sn&3)<<6|En&63;return yr},vs=function(me){for(var Ae=me.length,Ce=[],be=0;be>Gs,ea=1<>Gs,Xs=aa+Js,pu=Xs,Ml=32,Ac=pu+Ml,Bl=65536>>Ks,Cs=1<=0){if(Ae<55296||Ae>56319&&Ae<=65535)return Ce=this.index[Ae>>Gs],Ce=(Ce<>Gs)],Ce=(Ce<>Ks),Ce=this.index[Ce],Ce+=Ae>>Gs&ll,Ce=this.index[Ce],Ce=(Ce<=55296&&rt<=56319&&Ce>10)+55296,Jt%1024+56320)),(rt+1===Ce||be.length>16384)&&(It+=String.fromCharCode.apply(String,be),be.length=0)}return It},qd=Ul(uu),Ts="\xD7",ld="\xF7",Ef=function(me){return qd.get(me)},Ga=function(me,Ae,Ce){var be=Ce-2,rt=Ae[be],It=Ae[Ce-1],Jt=Ae[Ce];if(It===ku&&Jt===Mu)return Ts;if(It===ku||It===Mu||It===$c||Jt===ku||Jt===Mu||Jt===$c)return ld;if(It===_u&&[_u,qu,ec,Al].indexOf(Jt)!==-1||(It===ec||It===qu)&&(Jt===qu||Jt===Qu)||(It===Al||It===Qu)&&Jt===Qu||Jt===Cc||Jt===cl||Jt===Dd||It===Gl)return Ts;if(It===Cc&&Jt===xA){for(;rt===cl;)rt=Ae[--be];if(rt===xA)return Ts}if(It===Rc&&Jt===Rc){for(var Sn=0;rt===Rc;)Sn++,rt=Ae[--be];if(Sn%2===0)return Ts}return ld},ys=function(me){var Ae=Jc(me),Ce=Ae.length,be=0,rt=0,It=Ae.map(Ef);return{next:function(){if(be>=Ce)return{done:!0,value:null};for(var Jt=Ts;beJt.x||Nr.y>Jt.y;return Jt=Nr,yr===0?!0:Qr});return me.body.removeChild(Ae),Sn},Eu=function(){return typeof new Image().crossOrigin!="undefined"},tc=function(){return typeof new XMLHttpRequest().responseType=="string"},ju=function(me){var Ae=new Image,Ce=me.createElement("canvas"),be=Ce.getContext("2d");if(!be)return!1;Ae.src="data:image/svg+xml,";try{be.drawImage(Ae,0,0),Ce.toDataURL()}catch(rt){return!1}return!0},ZA=function(me){return me[0]===0&&me[1]===255&&me[2]===0&&me[3]===255},Sf=function(me){var Ae=me.createElement("canvas"),Ce=100;Ae.width=Ce,Ae.height=Ce;var be=Ae.getContext("2d");if(!be)return Promise.reject(!1);be.fillStyle="rgb(0, 255, 0)",be.fillRect(0,0,Ce,Ce);var rt=new Image,It=Ae.toDataURL();rt.src=It;var Jt=WA(Ce,Ce,0,0,rt);return be.fillStyle="red",be.fillRect(0,0,Ce,Ce),VA(Jt).then(function(Sn){be.drawImage(Sn,0,0);var En=be.getImageData(0,0,Ce,Ce).data;be.fillStyle="red",be.fillRect(0,0,Ce,Ce);var yr=me.createElement("div");return yr.style.backgroundImage="url("+It+")",yr.style.height=Ce+"px",ZA(En)?VA(WA(Ce,Ce,0,0,yr)):Promise.reject(!1)}).then(function(Sn){return be.drawImage(Sn,0,0),ZA(be.getImageData(0,0,Ce,Ce).data)}).catch(function(){return!1})},WA=function(me,Ae,Ce,be,rt){var It="http://www.w3.org/2000/svg",Jt=document.createElementNS(It,"svg"),Sn=document.createElementNS(It,"foreignObject");return Jt.setAttributeNS(null,"width",me.toString()),Jt.setAttributeNS(null,"height",Ae.toString()),Sn.setAttributeNS(null,"width","100%"),Sn.setAttributeNS(null,"height","100%"),Sn.setAttributeNS(null,"x",Ce.toString()),Sn.setAttributeNS(null,"y",be.toString()),Sn.setAttributeNS(null,"externalResourcesRequired","true"),Jt.appendChild(Sn),Sn.appendChild(rt),Jt},VA=function(me){return new Promise(function(Ae,Ce){var be=new Image;be.onload=function(){return Ae(be)},be.onerror=Ce,be.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(me))})},gu={get SUPPORT_RANGE_BOUNDS(){var me=iu(document);return Object.defineProperty(gu,"SUPPORT_RANGE_BOUNDS",{value:me}),me},get SUPPORT_WORD_BREAKING(){var me=gu.SUPPORT_RANGE_BOUNDS&&Bu(document);return Object.defineProperty(gu,"SUPPORT_WORD_BREAKING",{value:me}),me},get SUPPORT_SVG_DRAWING(){var me=ju(document);return Object.defineProperty(gu,"SUPPORT_SVG_DRAWING",{value:me}),me},get SUPPORT_FOREIGNOBJECT_DRAWING(){var me=typeof Array.from=="function"&&typeof window.fetch=="function"?Sf(document):Promise.resolve(!1);return Object.defineProperty(gu,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:me}),me},get SUPPORT_CORS_IMAGES(){var me=Eu();return Object.defineProperty(gu,"SUPPORT_CORS_IMAGES",{value:me}),me},get SUPPORT_RESPONSE_TYPE(){var me=tc();return Object.defineProperty(gu,"SUPPORT_RESPONSE_TYPE",{value:me}),me},get SUPPORT_CORS_XHR(){var me="withCredentials"in new XMLHttpRequest;return Object.defineProperty(gu,"SUPPORT_CORS_XHR",{value:me}),me},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var me=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(gu,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:me}),me}},_c=function(){function me(Ae,Ce){this.text=Ae,this.bounds=Ce}return me}(),ef=function(me,Ae,Ce,be){var rt=rh(Ae,Ce),It=[],Jt=0;return rt.forEach(function(Sn){if(Ce.textDecorationLine.length||Sn.trim().length>0)if(gu.SUPPORT_RANGE_BOUNDS){var En=tf(be,Jt,Sn.length).getClientRects();if(En.length>1){var yr=If(Sn),Nr=0;yr.forEach(function(Oi){It.push(new _c(Oi,He.fromDOMRectList(me,tf(be,Nr+Jt,Oi.length).getClientRects()))),Nr+=Oi.length})}else It.push(new _c(Sn,He.fromDOMRectList(me,En)))}else{var Qr=be.splitText(Sn.length);It.push(new _c(Sn,Ff(me,be))),be=Qr}else gu.SUPPORT_RANGE_BOUNDS||(be=be.splitText(Sn.length));Jt+=Sn.length}),It},Ff=function(me,Ae){var Ce=Ae.ownerDocument;if(Ce){var be=Ce.createElement("html2canvaswrapper");be.appendChild(Ae.cloneNode(!0));var rt=Ae.parentNode;if(rt){rt.replaceChild(be,Ae);var It=Fe(me,be);return be.firstChild&&rt.replaceChild(be.firstChild,be),It}}return He.EMPTY},tf=function(me,Ae,Ce){var be=me.ownerDocument;if(!be)throw new Error("Node has no owner document");var rt=be.createRange();return rt.setStart(me,Ae),rt.setEnd(me,Ae+Ce),rt},If=function(me){if(gu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Ae=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(Ae.segment(me)).map(function(Ce){return Ce.segment})}return _l(me)},GA=function(me,Ae){if(gu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Ce=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(Ce.segment(me)).map(function(be){return be.segment})}return ih(me,Ae)},rh=function(me,Ae){return Ae.letterSpacing!==0?If(me):GA(me,Ae)},pp=[32,160,4961,65792,65793,4153,4241],ih=function(me,Ae){for(var Ce=ar(me,{lineBreak:Ae.lineBreak,wordBreak:Ae.overflowWrap==="break-word"?"break-word":Ae.wordBreak}),be=[],rt,It=function(){if(rt.value){var Jt=rt.value.slice(),Sn=fe(Jt),En="";Sn.forEach(function(yr){pp.indexOf(yr)===-1?En+=xe(yr):(En.length&&be.push(En),be.push(xe(yr)),En="")}),En.length&&be.push(En)}};!(rt=Ce.next()).done;)It();return be},nf=function(){function me(Ae,Ce,be){this.text=gp(Ce.data,be.textTransform),this.textBounds=ef(Ae,this.text,be,Ce)}return me}(),gp=function(me,Ae){switch(Ae){case 1:return me.toLowerCase();case 3:return me.replace(mp,rf);case 2:return me.toUpperCase();default:return me}},mp=/(^|\s|:|-|\(|\))([a-z])/g,rf=function(me,Ae,Ce){return me.length>0?Ae+Ce.toUpperCase():me},Lf=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this;return rt.src=be.currentSrc||be.src,rt.intrinsicWidth=be.naturalWidth,rt.intrinsicHeight=be.naturalHeight,rt.context.cache.addImage(rt.src),rt}return Ae}(nl),Nd=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this;return rt.canvas=be,rt.intrinsicWidth=be.width,rt.intrinsicHeight=be.height,rt}return Ae}(nl),Df=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this,It=new XMLSerializer,Jt=Fe(Ce,be);return be.setAttribute("width",Jt.width+"px"),be.setAttribute("height",Jt.height+"px"),rt.svg="data:image/svg+xml,"+encodeURIComponent(It.serializeToString(be)),rt.intrinsicWidth=be.width.baseVal.value,rt.intrinsicHeight=be.height.baseVal.value,rt.context.cache.addImage(rt.svg),rt}return Ae}(nl),Od=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this;return rt.value=be.value,rt}return Ae}(nl),of=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this;return rt.start=be.start,rt.reversed=typeof be.reversed=="boolean"&&be.reversed===!0,rt}return Ae}(nl),BA=[{type:15,flags:0,unit:"px",number:3}],oh=[{type:16,flags:0,number:50}],ah=function(me){return me.width>me.height?new He(me.left+(me.width-me.height)/2,me.top,me.height,me.height):me.width0)Ce.textNodes.push(new nf(me,rt,Ce.styles));else if(YA(rt))if(vp(rt)&&rt.assignedNodes)rt.assignedNodes().forEach(function(Sn){return Hu(me,Sn,Ce,be)});else{var Jt=zu(me,rt);Jt.styles.isVisible()&&(XA(rt,Jt,be)?Jt.flags|=4:RA(Jt.styles)&&(Jt.flags|=2),mu.indexOf(rt.tagName)!==-1&&(Jt.flags|=8),Ce.elements.push(Jt),rt.slot,rt.shadowRoot?Hu(me,rt.shadowRoot,Jt,be):!Nf(rt)&&!Yp(rt)&&!uh(rt)&&Hu(me,rt,Jt,be))}},zu=function(me,Ae){return af(Ae)?new Lf(me,Ae):$p(Ae)?new Nd(me,Ae):Yp(Ae)?new Df(me,Ae):Xp(Ae)?new Od(me,Ae):Qh(Ae)?new of(me,Ae):gg(Ae)?new cd(me,Ae):uh(Ae)?new Rh(me,Ae):Nf(Ae)?new ws(me,Ae):FA(Ae)?new ks(me,Ae):new nl(me,Ae)},Ad=function(me,Ae){var Ce=zu(me,Ae);return Ce.flags|=4,Hu(me,Ae,Ce,Ce),Ce},XA=function(me,Ae,Ce){return Ae.styles.isPositionedWithZIndex()||Ae.styles.opacity<1||Ae.styles.isTransformed()||Ql(me)&&Ce.styles.isTransparent()},RA=function(me){return me.isPositioned()||me.isFloating()},dd=function(me){return me.nodeType===Node.TEXT_NODE},YA=function(me){return me.nodeType===Node.ELEMENT_NODE},_h=function(me){return YA(me)&&typeof me.style!="undefined"&&!fd(me)},fd=function(me){return typeof me.className=="object"},Xp=function(me){return me.tagName==="LI"},Qh=function(me){return me.tagName==="OL"},gg=function(me){return me.tagName==="INPUT"},mg=function(me){return me.tagName==="HTML"},Yp=function(me){return me.tagName==="svg"},Ql=function(me){return me.tagName==="BODY"},$p=function(me){return me.tagName==="CANVAS"},jh=function(me){return me.tagName==="VIDEO"},af=function(me){return me.tagName==="IMG"},FA=function(me){return me.tagName==="IFRAME"},sh=function(me){return me.tagName==="STYLE"},lh=function(me){return me.tagName==="SCRIPT"},Nf=function(me){return me.tagName==="TEXTAREA"},uh=function(me){return me.tagName==="SELECT"},vp=function(me){return me.tagName==="SLOT"},yp=function(me){return me.tagName.indexOf("-")>0},vg=function(){function me(){this.counters={}}return me.prototype.getCounterValue=function(Ae){var Ce=this.counters[Ae];return Ce&&Ce.length?Ce[Ce.length-1]:1},me.prototype.getCounterValues=function(Ae){var Ce=this.counters[Ae];return Ce||[]},me.prototype.pop=function(Ae){var Ce=this;Ae.forEach(function(be){return Ce.counters[be].pop()})},me.prototype.parse=function(Ae){var Ce=this,be=Ae.counterIncrement,rt=Ae.counterReset,It=!0;be!==null&&be.forEach(function(Sn){var En=Ce.counters[Sn.counter];En&&Sn.increment!==0&&(It=!1,En.length||En.push(1),En[Math.max(0,En.length-1)]+=Sn.increment)});var Jt=[];return It&&rt.forEach(function(Sn){var En=Ce.counters[Sn.counter];Jt.push(Sn.counter),En||(En=Ce.counters[Sn.counter]=[]),En.push(Sn.reset)}),Jt},me}(),wp={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ch={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Jp={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},wl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Td=function(me,Ae,Ce,be,rt,It){return meCe?ne(me,rt,It.length>0):be.integers.reduce(function(Jt,Sn,En){for(;me>=Sn;)me-=Sn,Jt+=be.values[En];return Jt},"")+It},yg=function(me,Ae,Ce,be){var rt="";do Ce||me--,rt=be(me)+rt,me/=Ae;while(me*Ae>=Ae);return rt},jl=function(me,Ae,Ce,be,rt){var It=Ce-Ae+1;return(me<0?"-":"")+(yg(Math.abs(me),It,be,function(Jt){return xe(Math.floor(Jt%It)+Ae)})+rt)},kd=function(me,Ae,Ce){Ce===void 0&&(Ce=". ");var be=Ae.length;return yg(Math.abs(me),be,!1,function(rt){return Ae[Math.floor(rt%be)]})+Ce},$A=1,hd=2,El=4,Ah=8,pd=function(me,Ae,Ce,be,rt,It){if(me<-9999||me>9999)return ne(me,4,rt.length>0);var Jt=Math.abs(me),Sn=rt;if(Jt===0)return Ae[0]+Sn;for(var En=0;Jt>0&&En<=4;En++){var yr=Jt%10;yr===0&&Zo(It,$A)&&Sn!==""?Sn=Ae[yr]+Sn:yr>1||yr===1&&En===0||yr===1&&En===1&&Zo(It,hd)||yr===1&&En===1&&Zo(It,El)&&me>100||yr===1&&En>1&&Zo(It,Ah)?Sn=Ae[yr]+(En>0?Ce[En-1]:"")+Sn:yr===1&&En>0&&(Sn=Ce[En-1]+Sn),Jt=Math.floor(Jt/10)}return(me<0?be:"")+Sn},qp="\u5341\u767E\u5343\u842C",Hh="\u62FE\u4F70\u4EDF\u842C",a="\u30DE\u30A4\u30CA\u30B9",b="\uB9C8\uC774\uB108\uC2A4",ne=function(me,Ae,Ce){var be=Ce?". ":"",rt=Ce?"\u3001":"",It=Ce?", ":"",Jt=Ce?" ":"";switch(Ae){case 0:return"\u2022"+Jt;case 1:return"\u25E6"+Jt;case 2:return"\u25FE"+Jt;case 5:var Sn=jl(me,48,57,!0,be);return Sn.length<4?"0"+Sn:Sn;case 4:return kd(me,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",rt);case 6:return Td(me,1,3999,wp,3,be).toLowerCase();case 7:return Td(me,1,3999,wp,3,be);case 8:return jl(me,945,969,!1,be);case 9:return jl(me,97,122,!1,be);case 10:return jl(me,65,90,!1,be);case 11:return jl(me,1632,1641,!0,be);case 12:case 49:return Td(me,1,9999,ch,3,be);case 35:return Td(me,1,9999,ch,3,be).toLowerCase();case 13:return jl(me,2534,2543,!0,be);case 14:case 30:return jl(me,6112,6121,!0,be);case 15:return kd(me,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",rt);case 16:return kd(me,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",rt);case 17:case 48:return pd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",qp,"\u8CA0",rt,hd|El|Ah);case 47:return pd(me,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Hh,"\u8CA0",rt,$A|hd|El|Ah);case 42:return pd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",qp,"\u8D1F",rt,hd|El|Ah);case 41:return pd(me,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Hh,"\u8D1F",rt,$A|hd|El|Ah);case 26:return pd(me,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",a,rt,0);case 25:return pd(me,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",a,rt,$A|hd|El);case 31:return pd(me,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",b,It,$A|hd|El);case 33:return pd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",b,It,0);case 32:return pd(me,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",b,It,$A|hd|El);case 18:return jl(me,2406,2415,!0,be);case 20:return Td(me,1,19999,wl,3,be);case 21:return jl(me,2790,2799,!0,be);case 22:return jl(me,2662,2671,!0,be);case 22:return Td(me,1,10999,Jp,3,be);case 23:return kd(me,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return kd(me,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return jl(me,3302,3311,!0,be);case 28:return kd(me,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",rt);case 29:return kd(me,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",rt);case 34:return jl(me,3792,3801,!0,be);case 37:return jl(me,6160,6169,!0,be);case 38:return jl(me,4160,4169,!0,be);case 39:return jl(me,2918,2927,!0,be);case 40:return jl(me,1776,1785,!0,be);case 43:return jl(me,3046,3055,!0,be);case 44:return jl(me,3174,3183,!0,be);case 45:return jl(me,3664,3673,!0,be);case 46:return jl(me,3872,3881,!0,be);case 3:default:return jl(me,48,57,!0,be)}},te="data-html2canvas-ignore",ue=function(){function me(Ae,Ce,be){if(this.context=Ae,this.options=be,this.scrolledElements=[],this.referenceElement=Ce,this.counters=new vg,this.quoteDepth=0,!Ce.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(Ce.ownerDocument.documentElement,!1)}return me.prototype.toIFrame=function(Ae,Ce){var be=this,rt=et(Ae,Ce);if(!rt.contentWindow)return Promise.reject("Unable to find iframe window");var It=Ae.defaultView.pageXOffset,Jt=Ae.defaultView.pageYOffset,Sn=rt.contentWindow,En=Sn.document,yr=Nt(rt).then(function(){return dt(be,void 0,void 0,function(){var Nr,Qr;return Le(this,function(Oi){switch(Oi.label){case 0:return this.scrolledElements.forEach(vi),Sn&&(Sn.scrollTo(Ce.left,Ce.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Sn.scrollY!==Ce.top||Sn.scrollX!==Ce.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Sn.scrollX-Ce.left,Sn.scrollY-Ce.top,0,0))),Nr=this.options.onclone,Qr=this.clonedReferenceElement,typeof Qr=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:En.fonts&&En.fonts.ready?[4,En.fonts.ready]:[3,2];case 1:Oi.sent(),Oi.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ft(En)]:[3,4];case 3:Oi.sent(),Oi.label=4;case 4:return typeof Nr=="function"?[2,Promise.resolve().then(function(){return Nr(En,Qr)}).then(function(){return rt})]:[2,rt]}})})});return En.open(),En.write(Pr(document.doctype)+""),wr(this.referenceElement.ownerDocument,It,Jt),En.replaceChild(En.adoptNode(this.documentElement),En.documentElement),En.close(),yr},me.prototype.createElementClone=function(Ae){if(us(Ae,2))debugger;if($p(Ae))return this.createCanvasClone(Ae);if(jh(Ae))return this.createVideoClone(Ae);if(sh(Ae))return this.createStyleClone(Ae);var Ce=Ae.cloneNode(!1);return af(Ce)&&(af(Ae)&&Ae.currentSrc&&Ae.currentSrc!==Ae.src&&(Ce.src=Ae.currentSrc,Ce.srcset=""),Ce.loading==="lazy"&&(Ce.loading="eager")),yp(Ce)?this.createCustomElementClone(Ce):Ce},me.prototype.createCustomElementClone=function(Ae){var Ce=document.createElement("html2canvascustomelement");return Hn(Ae.style,Ce),Ce},me.prototype.createStyleClone=function(Ae){try{var Ce=Ae.sheet;if(Ce&&Ce.cssRules){var be=[].slice.call(Ce.cssRules,0).reduce(function(It,Jt){return Jt&&typeof Jt.cssText=="string"?It+Jt.cssText:It},""),rt=Ae.cloneNode(!1);return rt.textContent=be,rt}}catch(It){if(this.context.logger.error("Unable to access cssRules property",It),It.name!=="SecurityError")throw It}return Ae.cloneNode(!1)},me.prototype.createCanvasClone=function(Ae){var Ce;if(this.options.inlineImages&&Ae.ownerDocument){var be=Ae.ownerDocument.createElement("img");try{return be.src=Ae.toDataURL(),be}catch(yr){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",Ae)}}var rt=Ae.cloneNode(!1);try{rt.width=Ae.width,rt.height=Ae.height;var It=Ae.getContext("2d"),Jt=rt.getContext("2d");if(Jt)if(!this.options.allowTaint&&It)Jt.putImageData(It.getImageData(0,0,Ae.width,Ae.height),0,0);else{var Sn=(Ce=Ae.getContext("webgl2"))!==null&&Ce!==void 0?Ce:Ae.getContext("webgl");if(Sn){var En=Sn.getContextAttributes();(En==null?void 0:En.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",Ae)}Jt.drawImage(Ae,0,0)}return rt}catch(yr){this.context.logger.info("Unable to clone canvas as it is tainted",Ae)}return rt},me.prototype.createVideoClone=function(Ae){var Ce=Ae.ownerDocument.createElement("canvas");Ce.width=Ae.offsetWidth,Ce.height=Ae.offsetHeight;var be=Ce.getContext("2d");try{return be&&(be.drawImage(Ae,0,0,Ce.width,Ce.height),this.options.allowTaint||be.getImageData(0,0,Ce.width,Ce.height)),Ce}catch(It){this.context.logger.info("Unable to clone video as it is tainted",Ae)}var rt=Ae.ownerDocument.createElement("canvas");return rt.width=Ae.offsetWidth,rt.height=Ae.offsetHeight,rt},me.prototype.appendChildNode=function(Ae,Ce,be){(!YA(Ce)||!lh(Ce)&&!Ce.hasAttribute(te)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(Ce)))&&(!this.options.copyStyles||!YA(Ce)||!sh(Ce))&&Ae.appendChild(this.cloneNode(Ce,be))},me.prototype.cloneChildNodes=function(Ae,Ce,be){for(var rt=this,It=Ae.shadowRoot?Ae.shadowRoot.firstChild:Ae.firstChild;It;It=It.nextSibling)if(YA(It)&&vp(It)&&typeof It.assignedNodes=="function"){var Jt=It.assignedNodes();Jt.length&&Jt.forEach(function(Sn){return rt.appendChildNode(Ce,Sn,be)})}else this.appendChildNode(Ce,It,be)},me.prototype.cloneNode=function(Ae,Ce){if(dd(Ae))return document.createTextNode(Ae.data);if(!Ae.ownerDocument)return Ae.cloneNode(!1);var be=Ae.ownerDocument.defaultView;if(be&&YA(Ae)&&(_h(Ae)||fd(Ae))){var rt=this.createElementClone(Ae);rt.style.transitionProperty="none";var It=be.getComputedStyle(Ae),Jt=be.getComputedStyle(Ae,":before"),Sn=be.getComputedStyle(Ae,":after");this.referenceElement===Ae&&_h(rt)&&(this.clonedReferenceElement=rt),Ql(rt)&&la(rt);var En=this.counters.parse(new al(this.context,It)),yr=this.resolvePseudoContent(Ae,rt,Jt,Te.BEFORE);yp(Ae)&&(Ce=!0),jh(Ae)||this.cloneChildNodes(Ae,rt,Ce),yr&&rt.insertBefore(yr,rt.firstChild);var Nr=this.resolvePseudoContent(Ae,rt,Sn,Te.AFTER);return Nr&&rt.appendChild(Nr),this.counters.pop(En),(It&&(this.options.copyStyles||fd(Ae))&&!FA(Ae)||Ce)&&Hn(It,rt),(Ae.scrollTop!==0||Ae.scrollLeft!==0)&&this.scrolledElements.push([rt,Ae.scrollLeft,Ae.scrollTop]),(Nf(Ae)||uh(Ae))&&(Nf(rt)||uh(rt))&&(rt.value=Ae.value),rt}return Ae.cloneNode(!1)},me.prototype.resolvePseudoContent=function(Ae,Ce,be,rt){var It=this;if(be){var Jt=be.content,Sn=Ce.ownerDocument;if(!(!Sn||!Jt||Jt==="none"||Jt==="-moz-alt-content"||be.display==="none")){this.counters.parse(new al(this.context,be));var En=new xl(this.context,be),yr=Sn.createElement("html2canvaspseudoelement");Hn(be,yr),En.content.forEach(function(Qr){if(Qr.type===0)yr.appendChild(Sn.createTextNode(Qr.value));else if(Qr.type===22){var Oi=Sn.createElement("img");Oi.src=Qr.value,Oi.style.opacity="1",yr.appendChild(Oi)}else if(Qr.type===18){if(Qr.name==="attr"){var Aa=Qr.values.filter($a);Aa.length&&yr.appendChild(Sn.createTextNode(Ae.getAttribute(Aa[0].value)||""))}else if(Qr.name==="counter"){var go=Qr.values.filter(bu),Vo=go[0],gs=go[1];if(Vo&&$a(Vo)){var va=It.counters.getCounterValue(Vo.value),pa=gs&&$a(gs)?sd.parse(It.context,gs.value):3;yr.appendChild(Sn.createTextNode(ne(va,pa,!1)))}}else if(Qr.name==="counters"){var os=Qr.values.filter(bu),Vo=os[0],Es=os[1],gs=os[2];if(Vo&&$a(Vo)){var Ja=It.counters.getCounterValues(Vo.value),ia=gs&&$a(gs)?sd.parse(It.context,gs.value):3,Ys=Es&&Es.type===0?Es.value:"",Us=Ja.map(function(DA){return ne(DA,ia,!1)}).join(Ys);yr.appendChild(Sn.createTextNode(Us))}}}else if(Qr.type===20)switch(Qr.value){case"open-quote":yr.appendChild(Sn.createTextNode(Xo(En.quotes,It.quoteDepth++,!0)));break;case"close-quote":yr.appendChild(Sn.createTextNode(Xo(En.quotes,--It.quoteDepth,!1)));break;default:yr.appendChild(Sn.createTextNode(Qr.value))}}),yr.className=Oo+" "+Wo;var Nr=rt===Te.BEFORE?" "+Oo:" "+Wo;return fd(Ce)?Ce.className.baseValue+=Nr:Ce.className+=Nr,yr}}},me.destroy=function(Ae){return Ae.parentNode?(Ae.parentNode.removeChild(Ae),!0):!1},me}(),Te;(function(me){me[me.BEFORE=0]="BEFORE",me[me.AFTER=1]="AFTER"})(Te||(Te={}));var et=function(me,Ae){var Ce=me.createElement("iframe");return Ce.className="html2canvas-container",Ce.style.visibility="hidden",Ce.style.position="fixed",Ce.style.left="-10000px",Ce.style.top="0px",Ce.style.border="0",Ce.width=Ae.width.toString(),Ce.height=Ae.height.toString(),Ce.scrolling="no",Ce.setAttribute(te,"true"),me.body.appendChild(Ce),Ce},yt=function(me){return new Promise(function(Ae){if(me.complete){Ae();return}if(!me.src){Ae();return}me.onload=Ae,me.onerror=Ae})},Ft=function(me){return Promise.all([].slice.call(me.images,0).map(yt))},Nt=function(me){return new Promise(function(Ae,Ce){var be=me.contentWindow;if(!be)return Ce("No window assigned for iframe");var rt=be.document;be.onload=me.onload=function(){be.onload=me.onload=null;var It=setInterval(function(){rt.body.childNodes.length>0&&rt.readyState==="complete"&&(clearInterval(It),Ae(me))},50)}})},Nn=["all","d","content"],Hn=function(me,Ae){for(var Ce=me.length-1;Ce>=0;Ce--){var be=me.item(Ce);Nn.indexOf(be)===-1&&Ae.style.setProperty(be,me.getPropertyValue(be))}return Ae},Pr=function(me){var Ae="";return me&&(Ae+=""),Ae},wr=function(me,Ae,Ce){me&&me.defaultView&&(Ae!==me.defaultView.pageXOffset||Ce!==me.defaultView.pageYOffset)&&me.defaultView.scrollTo(Ae,Ce)},vi=function(me){var Ae=me[0],Ce=me[1],be=me[2];Ae.scrollLeft=Ce,Ae.scrollTop=be},Ki=":before",fo=":after",Oo="___html2canvas___pseudoelement_before",Wo="___html2canvas___pseudoelement_after",Po=`{ + content: "" !important; + display: none !important; +}`,la=function(me){Ua(me,"."+Oo+Ki+Po+` + .`+Wo+fo+Po)},Ua=function(me,Ae){var Ce=me.ownerDocument;if(Ce){var be=Ce.createElement("style");be.textContent=Ae,me.appendChild(be)}},xa=function(){function me(){}return me.getOrigin=function(Ae){var Ce=me._link;return Ce?(Ce.href=Ae,Ce.href=Ce.href,Ce.protocol+Ce.hostname+Ce.port):"about:blank"},me.isSameOrigin=function(Ae){return me.getOrigin(Ae)===me._origin},me.setContext=function(Ae){me._link=Ae.document.createElement("a"),me._origin=me.getOrigin(Ae.location.href)},me._origin="about:blank",me}(),Ha=function(){function me(Ae,Ce){this.context=Ae,this._options=Ce,this._cache={}}return me.prototype.addImage=function(Ae){var Ce=Promise.resolve();return this.has(Ae)||(Bc(Ae)||xc(Ae))&&(this._cache[Ae]=this.loadImage(Ae)).catch(function(){}),Ce},me.prototype.match=function(Ae){return this._cache[Ae]},me.prototype.loadImage=function(Ae){return dt(this,void 0,void 0,function(){var Ce,be,rt,It,Jt=this;return Le(this,function(Sn){switch(Sn.label){case 0:return Ce=xa.isSameOrigin(Ae),be=!nc(Ae)&&this._options.useCORS===!0&&gu.SUPPORT_CORS_IMAGES&&!Ce,rt=!nc(Ae)&&!Ce&&!Bc(Ae)&&typeof this._options.proxy=="string"&&gu.SUPPORT_CORS_XHR&&!be,!Ce&&this._options.allowTaint===!1&&!nc(Ae)&&!Bc(Ae)&&!rt&&!be?[2]:(It=Ae,rt?[4,this.proxy(It)]:[3,2]);case 1:It=Sn.sent(),Sn.label=2;case 2:return this.context.logger.debug("Added image "+Ae.substring(0,256)),[4,new Promise(function(En,yr){var Nr=new Image;Nr.onload=function(){return En(Nr)},Nr.onerror=yr,(Uu(It)||be)&&(Nr.crossOrigin="anonymous"),Nr.src=It,Nr.complete===!0&&setTimeout(function(){return En(Nr)},500),Jt._options.imageTimeout>0&&setTimeout(function(){return yr("Timed out ("+Jt._options.imageTimeout+"ms) loading image")},Jt._options.imageTimeout)})];case 3:return[2,Sn.sent()]}})})},me.prototype.has=function(Ae){return typeof this._cache[Ae]!="undefined"},me.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},me.prototype.proxy=function(Ae){var Ce=this,be=this._options.proxy;if(!be)throw new Error("No proxy defined");var rt=Ae.substring(0,256);return new Promise(function(It,Jt){var Sn=gu.SUPPORT_RESPONSE_TYPE?"blob":"text",En=new XMLHttpRequest;En.onload=function(){if(En.status===200)if(Sn==="text")It(En.response);else{var Qr=new FileReader;Qr.addEventListener("load",function(){return It(Qr.result)},!1),Qr.addEventListener("error",function(Oi){return Jt(Oi)},!1),Qr.readAsDataURL(En.response)}else Jt("Failed to proxy resource "+rt+" with status code "+En.status)},En.onerror=Jt;var yr=be.indexOf("?")>-1?"&":"?";if(En.open("GET",""+be+yr+"url="+encodeURIComponent(Ae)+"&responseType="+Sn),Sn!=="text"&&En instanceof XMLHttpRequest&&(En.responseType=Sn),Ce._options.imageTimeout){var Nr=Ce._options.imageTimeout;En.timeout=Nr,En.ontimeout=function(){return Jt("Timed out ("+Nr+"ms) proxying "+rt)}}En.send()})},me}(),Sl=/^data:image\/svg\+xml/i,Ku=/^data:image\/.*;base64,/i,Xl=/^data:image\/.*/i,xc=function(me){return gu.SUPPORT_SVG_DRAWING||!dc(me)},nc=function(me){return Xl.test(me)},Uu=function(me){return Ku.test(me)},Bc=function(me){return me.substr(0,4)==="blob"},dc=function(me){return me.substr(-3).toLowerCase()==="svg"||Sl.test(me)},Lo=function(){function me(Ae,Ce){this.type=0,this.x=Ae,this.y=Ce}return me.prototype.add=function(Ae,Ce){return new me(this.x+Ae,this.y+Ce)},me}(),Hl=function(me,Ae,Ce){return new Lo(me.x+(Ae.x-me.x)*Ce,me.y+(Ae.y-me.y)*Ce)},Yl=function(){function me(Ae,Ce,be,rt){this.type=1,this.start=Ae,this.startControl=Ce,this.endControl=be,this.end=rt}return me.prototype.subdivide=function(Ae,Ce){var be=Hl(this.start,this.startControl,Ae),rt=Hl(this.startControl,this.endControl,Ae),It=Hl(this.endControl,this.end,Ae),Jt=Hl(be,rt,Ae),Sn=Hl(rt,It,Ae),En=Hl(Jt,Sn,Ae);return Ce?new me(this.start,be,Jt,En):new me(En,Sn,It,this.end)},me.prototype.add=function(Ae,Ce){return new me(this.start.add(Ae,Ce),this.startControl.add(Ae,Ce),this.endControl.add(Ae,Ce),this.end.add(Ae,Ce))},me.prototype.reverse=function(){return new me(this.end,this.endControl,this.startControl,this.start)},me}(),$l=function(me){return me.type===1},Of=function(){function me(Ae){var Ce=Ae.styles,be=Ae.bounds,rt=Cu(Ce.borderTopLeftRadius,be.width,be.height),It=rt[0],Jt=rt[1],Sn=Cu(Ce.borderTopRightRadius,be.width,be.height),En=Sn[0],yr=Sn[1],Nr=Cu(Ce.borderBottomRightRadius,be.width,be.height),Qr=Nr[0],Oi=Nr[1],Aa=Cu(Ce.borderBottomLeftRadius,be.width,be.height),go=Aa[0],Vo=Aa[1],gs=[];gs.push((It+En)/be.width),gs.push((go+Qr)/be.width),gs.push((Jt+Vo)/be.height),gs.push((yr+Oi)/be.height);var va=Math.max.apply(Math,gs);va>1&&(It/=va,Jt/=va,En/=va,yr/=va,Qr/=va,Oi/=va,go/=va,Vo/=va);var pa=be.width-En,os=be.height-Oi,Es=be.width-Qr,Ja=be.height-Vo,ia=Ce.borderTopWidth,Ys=Ce.borderRightWidth,Us=Ce.borderBottomWidth,as=Ce.borderLeftWidth,Qo=ps(Ce.paddingTop,Ae.bounds.width),DA=ps(Ce.paddingRight,Ae.bounds.width),QA=ps(Ce.paddingBottom,Ae.bounds.width),zl=ps(Ce.paddingLeft,Ae.bounds.width);this.topLeftBorderDoubleOuterBox=It>0||Jt>0?Ls(be.left+as/3,be.top+ia/3,It-as/3,Jt-ia/3,Zs.TOP_LEFT):new Lo(be.left+as/3,be.top+ia/3),this.topRightBorderDoubleOuterBox=It>0||Jt>0?Ls(be.left+pa,be.top+ia/3,En-Ys/3,yr-ia/3,Zs.TOP_RIGHT):new Lo(be.left+be.width-Ys/3,be.top+ia/3),this.bottomRightBorderDoubleOuterBox=Qr>0||Oi>0?Ls(be.left+Es,be.top+os,Qr-Ys/3,Oi-Us/3,Zs.BOTTOM_RIGHT):new Lo(be.left+be.width-Ys/3,be.top+be.height-Us/3),this.bottomLeftBorderDoubleOuterBox=go>0||Vo>0?Ls(be.left+as/3,be.top+Ja,go-as/3,Vo-Us/3,Zs.BOTTOM_LEFT):new Lo(be.left+as/3,be.top+be.height-Us/3),this.topLeftBorderDoubleInnerBox=It>0||Jt>0?Ls(be.left+as*2/3,be.top+ia*2/3,It-as*2/3,Jt-ia*2/3,Zs.TOP_LEFT):new Lo(be.left+as*2/3,be.top+ia*2/3),this.topRightBorderDoubleInnerBox=It>0||Jt>0?Ls(be.left+pa,be.top+ia*2/3,En-Ys*2/3,yr-ia*2/3,Zs.TOP_RIGHT):new Lo(be.left+be.width-Ys*2/3,be.top+ia*2/3),this.bottomRightBorderDoubleInnerBox=Qr>0||Oi>0?Ls(be.left+Es,be.top+os,Qr-Ys*2/3,Oi-Us*2/3,Zs.BOTTOM_RIGHT):new Lo(be.left+be.width-Ys*2/3,be.top+be.height-Us*2/3),this.bottomLeftBorderDoubleInnerBox=go>0||Vo>0?Ls(be.left+as*2/3,be.top+Ja,go-as*2/3,Vo-Us*2/3,Zs.BOTTOM_LEFT):new Lo(be.left+as*2/3,be.top+be.height-Us*2/3),this.topLeftBorderStroke=It>0||Jt>0?Ls(be.left+as/2,be.top+ia/2,It-as/2,Jt-ia/2,Zs.TOP_LEFT):new Lo(be.left+as/2,be.top+ia/2),this.topRightBorderStroke=It>0||Jt>0?Ls(be.left+pa,be.top+ia/2,En-Ys/2,yr-ia/2,Zs.TOP_RIGHT):new Lo(be.left+be.width-Ys/2,be.top+ia/2),this.bottomRightBorderStroke=Qr>0||Oi>0?Ls(be.left+Es,be.top+os,Qr-Ys/2,Oi-Us/2,Zs.BOTTOM_RIGHT):new Lo(be.left+be.width-Ys/2,be.top+be.height-Us/2),this.bottomLeftBorderStroke=go>0||Vo>0?Ls(be.left+as/2,be.top+Ja,go-as/2,Vo-Us/2,Zs.BOTTOM_LEFT):new Lo(be.left+as/2,be.top+be.height-Us/2),this.topLeftBorderBox=It>0||Jt>0?Ls(be.left,be.top,It,Jt,Zs.TOP_LEFT):new Lo(be.left,be.top),this.topRightBorderBox=En>0||yr>0?Ls(be.left+pa,be.top,En,yr,Zs.TOP_RIGHT):new Lo(be.left+be.width,be.top),this.bottomRightBorderBox=Qr>0||Oi>0?Ls(be.left+Es,be.top+os,Qr,Oi,Zs.BOTTOM_RIGHT):new Lo(be.left+be.width,be.top+be.height),this.bottomLeftBorderBox=go>0||Vo>0?Ls(be.left,be.top+Ja,go,Vo,Zs.BOTTOM_LEFT):new Lo(be.left,be.top+be.height),this.topLeftPaddingBox=It>0||Jt>0?Ls(be.left+as,be.top+ia,Math.max(0,It-as),Math.max(0,Jt-ia),Zs.TOP_LEFT):new Lo(be.left+as,be.top+ia),this.topRightPaddingBox=En>0||yr>0?Ls(be.left+Math.min(pa,be.width-Ys),be.top+ia,pa>be.width+Ys?0:Math.max(0,En-Ys),Math.max(0,yr-ia),Zs.TOP_RIGHT):new Lo(be.left+be.width-Ys,be.top+ia),this.bottomRightPaddingBox=Qr>0||Oi>0?Ls(be.left+Math.min(Es,be.width-as),be.top+Math.min(os,be.height-Us),Math.max(0,Qr-Ys),Math.max(0,Oi-Us),Zs.BOTTOM_RIGHT):new Lo(be.left+be.width-Ys,be.top+be.height-Us),this.bottomLeftPaddingBox=go>0||Vo>0?Ls(be.left+as,be.top+Math.min(Ja,be.height-Us),Math.max(0,go-as),Math.max(0,Vo-Us),Zs.BOTTOM_LEFT):new Lo(be.left+as,be.top+be.height-Us),this.topLeftContentBox=It>0||Jt>0?Ls(be.left+as+zl,be.top+ia+Qo,Math.max(0,It-(as+zl)),Math.max(0,Jt-(ia+Qo)),Zs.TOP_LEFT):new Lo(be.left+as+zl,be.top+ia+Qo),this.topRightContentBox=En>0||yr>0?Ls(be.left+Math.min(pa,be.width+as+zl),be.top+ia+Qo,pa>be.width+as+zl?0:En-as+zl,yr-(ia+Qo),Zs.TOP_RIGHT):new Lo(be.left+be.width-(Ys+DA),be.top+ia+Qo),this.bottomRightContentBox=Qr>0||Oi>0?Ls(be.left+Math.min(Es,be.width-(as+zl)),be.top+Math.min(os,be.height+ia+Qo),Math.max(0,Qr-(Ys+DA)),Oi-(Us+QA),Zs.BOTTOM_RIGHT):new Lo(be.left+be.width-(Ys+DA),be.top+be.height-(Us+QA)),this.bottomLeftContentBox=go>0||Vo>0?Ls(be.left+as+zl,be.top+Ja,Math.max(0,go-(as+zl)),Vo-(Us+QA),Zs.BOTTOM_LEFT):new Lo(be.left+as+zl,be.top+be.height-(Us+QA))}return me}(),Zs;(function(me){me[me.TOP_LEFT=0]="TOP_LEFT",me[me.TOP_RIGHT=1]="TOP_RIGHT",me[me.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",me[me.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Zs||(Zs={}));var Ls=function(me,Ae,Ce,be,rt){var It=4*((Math.sqrt(2)-1)/3),Jt=Ce*It,Sn=be*It,En=me+Ce,yr=Ae+be;switch(rt){case Zs.TOP_LEFT:return new Yl(new Lo(me,yr),new Lo(me,yr-Sn),new Lo(En-Jt,Ae),new Lo(En,Ae));case Zs.TOP_RIGHT:return new Yl(new Lo(me,Ae),new Lo(me+Jt,Ae),new Lo(En,yr-Sn),new Lo(En,yr));case Zs.BOTTOM_RIGHT:return new Yl(new Lo(En,Ae),new Lo(En,Ae+Sn),new Lo(me+Jt,yr),new Lo(me,yr));case Zs.BOTTOM_LEFT:default:return new Yl(new Lo(En,yr),new Lo(En-Jt,yr),new Lo(me,Ae+Sn),new Lo(me,Ae))}},sA=function(me){return[me.topLeftBorderBox,me.topRightBorderBox,me.bottomRightBorderBox,me.bottomLeftBorderBox]},fc=function(me){return[me.topLeftContentBox,me.topRightContentBox,me.bottomRightContentBox,me.bottomLeftContentBox]},dh=function(me){return[me.topLeftPaddingBox,me.topRightPaddingBox,me.bottomRightPaddingBox,me.bottomLeftPaddingBox]},Ra=function(){function me(Ae,Ce,be){this.offsetX=Ae,this.offsetY=Ce,this.matrix=be,this.type=0,this.target=6}return me}(),IA=function(){function me(Ae,Ce){this.path=Ae,this.target=Ce,this.type=1}return me}(),dl=function(){function me(Ae){this.opacity=Ae,this.type=2,this.target=6}return me}(),hc=function(me){return me.type===0},Md=function(me){return me.type===1},Pf=function(me){return me.type===2},Tf=function(me,Ae){return me.length===Ae.length?me.some(function(Ce,be){return Ce===Ae[be]}):!1},Jg=function(me,Ae,Ce,be,rt){return me.map(function(It,Jt){switch(Jt){case 0:return It.add(Ae,Ce);case 1:return It.add(Ae+be,Ce);case 2:return It.add(Ae+be,Ce+rt);case 3:return It.add(Ae,Ce+rt)}return It})},bp=function(){function me(Ae){this.element=Ae,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return me}(),wg=function(){function me(Ae,Ce){if(this.container=Ae,this.parent=Ce,this.effects=[],this.curves=new Of(this.container),this.container.styles.opacity<1&&this.effects.push(new dl(this.container.styles.opacity)),this.container.styles.transform!==null){var be=this.container.bounds.left+this.container.styles.transformOrigin[0].number,rt=this.container.bounds.top+this.container.styles.transformOrigin[1].number,It=this.container.styles.transform;this.effects.push(new Ra(be,rt,It))}if(this.container.styles.overflowX!==0){var Jt=sA(this.curves),Sn=dh(this.curves);Tf(Jt,Sn)?this.effects.push(new IA(Jt,6)):(this.effects.push(new IA(Jt,2)),this.effects.push(new IA(Sn,4)))}}return me.prototype.getEffects=function(Ae){for(var Ce=[2,3].indexOf(this.container.styles.position)===-1,be=this.parent,rt=this.effects.slice(0);be;){var It=be.effects.filter(function(En){return!Md(En)});if(Ce||be.container.styles.position!==0||!be.parent){if(rt.unshift.apply(rt,It),Ce=[2,3].indexOf(be.container.styles.position)===-1,be.container.styles.overflowX!==0){var Jt=sA(be.curves),Sn=dh(be.curves);Tf(Jt,Sn)||rt.unshift(new IA(Sn,6))}}else rt.unshift.apply(rt,It);be=be.parent}return rt.filter(function(En){return Zo(En.target,Ae)})},me}(),Cp=function(me,Ae,Ce,be){me.container.elements.forEach(function(rt){var It=Zo(rt.flags,4),Jt=Zo(rt.flags,2),Sn=new wg(rt,me);Zo(rt.styles.display,2048)&&be.push(Sn);var En=Zo(rt.flags,8)?[]:be;if(It||Jt){var yr=It||rt.styles.isPositioned()?Ce:Ae,Nr=new bp(Sn);if(rt.styles.isPositioned()||rt.styles.opacity<1||rt.styles.isTransformed()){var Qr=rt.styles.zIndex.order;if(Qr<0){var Oi=0;yr.negativeZIndex.some(function(go,Vo){return Qr>go.element.container.styles.zIndex.order?(Oi=Vo,!1):Oi>0}),yr.negativeZIndex.splice(Oi,0,Nr)}else if(Qr>0){var Aa=0;yr.positiveZIndex.some(function(go,Vo){return Qr>=go.element.container.styles.zIndex.order?(Aa=Vo+1,!1):Aa>0}),yr.positiveZIndex.splice(Aa,0,Nr)}else yr.zeroOrAutoZIndexOrTransformedOrOpacity.push(Nr)}else rt.styles.isFloating()?yr.nonPositionedFloats.push(Nr):yr.nonPositionedInlineLevel.push(Nr);Cp(Sn,Nr,It?Nr:Ce,En)}else rt.styles.isInlineLevel()?Ae.inlineLevel.push(Sn):Ae.nonInlineLevel.push(Sn),Cp(Sn,Ae,Ce,En);Zo(rt.flags,8)&&xp(rt,En)})},xp=function(me,Ae){for(var Ce=me instanceof of?me.start:1,be=me instanceof of?me.reversed:!1,rt=0;rt0&&Ce.intrinsicHeight>0){var It=tg(Ce),Jt=dh(be);this.path(Jt),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(rt,0,0,Ce.intrinsicWidth,Ce.intrinsicHeight,It.left,It.top,It.width,It.height),this.ctx.restore()}},Ae.prototype.renderNodeContent=function(Ce){return dt(this,void 0,void 0,function(){var be,rt,It,Jt,Sn,En,pa,pa,yr,Nr,Qr,Oi,Es,Aa,go,Ja,Vo,gs,va,pa,os,Es,Ja;return Le(this,function(ia){switch(ia.label){case 0:this.applyEffects(Ce.getEffects(4)),be=Ce.container,rt=Ce.curves,It=be.styles,Jt=0,Sn=be.textNodes,ia.label=1;case 1:return Jt0&&Nc>0&&(Us=It.ctx.createPattern(Ja,"repeat"),It.renderRepeat(Qo,Us,nA,lA))):Th(Nr)&&(as=Ud(Ce,be,[null,null,null]),Qo=as[0],DA=as[1],QA=as[2],zl=as[3],Nc=as[4],sf=Nr.position.length===0?[kc]:Nr.position,nA=ps(sf[0],zl),lA=ps(sf[sf.length-1],Nc),hh=iA(Nr,nA,lA,zl,Nc),JA=hh[0],lf=hh[1],JA>0&&lf>0&&(ph=It.ctx.createRadialGradient(DA+nA,QA+lA,0,DA+nA,QA+lA,JA),Gc(Nr.stops,JA*2).forEach(function(jf){return ph.addColorStop(jf.stop,ml(jf.color))}),It.path(Qo),It.ctx.fillStyle=ph,JA!==lf?(_f=Ce.bounds.left+.5*Ce.bounds.width,_d=Ce.bounds.top+.5*Ce.bounds.height,Qf=lf/JA,uf=1/Qf,It.ctx.save(),It.ctx.translate(_f,_d),It.ctx.transform(1,0,0,Qf,0,0),It.ctx.translate(-_f,-_d),It.ctx.fillRect(DA,uf*(QA-_d)+_d,zl,Nc*uf),It.ctx.restore()):It.ctx.fill())),Zh.label=6;case 6:return be--,[2]}})},It=this,Jt=0,Sn=Ce.styles.backgroundImage.slice(0).reverse(),yr.label=1;case 1:return Jt0?Nr.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Nr.color,Nr.width,Sn,Ce.curves,2)]:[3,11]):[3,13];case 4:return Oi.sent(),[3,11];case 5:return Nr.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Nr.color,Nr.width,Sn,Ce.curves,3)];case 6:return Oi.sent(),[3,11];case 7:return Nr.style!==4?[3,9]:[4,this.renderDoubleBorder(Nr.color,Nr.width,Sn,Ce.curves)];case 8:return Oi.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Nr.color,Sn,Ce.curves)];case 10:Oi.sent(),Oi.label=11;case 11:Sn++,Oi.label=12;case 12:return En++,[3,3];case 13:return[2]}})})},Ae.prototype.renderDashedDottedBorder=function(Ce,be,rt,It,Jt){return dt(this,void 0,void 0,function(){var Sn,En,yr,Nr,Qr,Oi,Aa,go,Vo,gs,va,pa,os,Es,Ja,ia,Ja,ia;return Le(this,function(Ys){return this.ctx.save(),Sn=qg(It,rt),En=Qc(It,rt),Jt===2&&(this.path(En),this.ctx.clip()),$l(En[0])?(yr=En[0].start.x,Nr=En[0].start.y):(yr=En[0].x,Nr=En[0].y),$l(En[1])?(Qr=En[1].end.x,Oi=En[1].end.y):(Qr=En[1].x,Oi=En[1].y),rt===0||rt===2?Aa=Math.abs(yr-Qr):Aa=Math.abs(Nr-Oi),this.ctx.beginPath(),Jt===3?this.formatPath(Sn):this.formatPath(En.slice(0,2)),go=be<3?be*3:be*2,Vo=be<3?be*2:be,Jt===3&&(go=be,Vo=be),gs=!0,Aa<=go*2?gs=!1:Aa<=go*2+Vo?(va=Aa/(2*go+Vo),go*=va,Vo*=va):(pa=Math.floor((Aa+Vo)/(go+Vo)),os=(Aa-pa*go)/(pa-1),Es=(Aa-(pa+1)*go)/pa,Vo=Es<=0||Math.abs(Vo-os)lt){var We=Bt;Bt=lt,lt=We}}else if(Ct==="l"||Ct==="landscape"){if(Ct="l",lt>Bt){var We=Bt;Bt=lt,lt=We}}else throw"Invalid orientation: "+Ct;var ke={width:Bt,height:lt,unit:ze,k:ot};return ke},xe.default=st.jsPDF},"./src/plugin/pagebreaks.js":function(fe,xe,oe){"use strict";oe.r(xe);var Pe=oe("./node_modules/core-js/modules/es.array.concat.js"),ye=oe.n(Pe),Re=oe("./node_modules/core-js/modules/es.array.slice.js"),Se=oe.n(Re),Ie=oe("./node_modules/core-js/modules/es.array.join.js"),ve=oe.n(Ie),we=oe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ee=oe.n(we),Oe=oe("./node_modules/core-js/modules/es.object.keys.js"),Ke=oe.n(Oe),je=oe("./src/worker.js"),_e=oe("./src/utils.js"),Je={toContainer:je.default.prototype.toContainer};je.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},je.default.prototype.toContainer=function(){return Je.toContainer.call(this).then(function(){var at=this.prop.container,ht=this.prop.pageSize.inner.px.height,Ct=[].concat(this.opt.pagebreak.mode),ze={avoidAll:Ct.indexOf("avoid-all")!==-1,css:Ct.indexOf("css")!==-1,legacy:Ct.indexOf("legacy")!==-1},pt={},Ne=this;["before","after","avoid"].forEach(function(ot){var lt=ze.avoidAll&&ot==="avoid";pt[ot]=lt?[]:[].concat(Ne.opt.pagebreak[ot]||[]),pt[ot].length>0&&(pt[ot]=Array.prototype.slice.call(at.querySelectorAll(pt[ot].join(", "))))});var Qe=at.querySelectorAll(".html2pdf__page-break");Qe=Array.prototype.slice.call(Qe);var Ot=at.querySelectorAll("*");Array.prototype.forEach.call(Ot,function(lt){var Bt={before:!1,after:ze.legacy&&Qe.indexOf(lt)!==-1,avoid:ze.avoidAll};if(ze.css){var We=window.getComputedStyle(lt),ke=["always","page","left","right"],At=["avoid","avoid-page"];Bt={before:Bt.before||ke.indexOf(We.breakBefore||We.pageBreakBefore)!==-1,after:Bt.after||ke.indexOf(We.breakAfter||We.pageBreakAfter)!==-1,avoid:Bt.avoid||At.indexOf(We.breakInside||We.pageBreakInside)!==-1}}Object.keys(Bt).forEach(function(hn){Bt[hn]=Bt[hn]||pt[hn].indexOf(lt)!==-1});var Kt=lt.getBoundingClientRect();if(Bt.avoid&&!Bt.before){var Ht=Math.floor(Kt.top/ht),nt=Math.floor(Kt.bottom/ht),Pt=Math.abs(Kt.bottom-Kt.top)/ht;nt!==Ht&&Pt<=1&&(Bt.before=!0)}if(Bt.before){var Rt=(0,_e.createElement)("div",{style:{display:"block",height:ht-Kt.top%ht+"px"}});lt.parentNode.insertBefore(Rt,lt)}if(Bt.after){var Rt=(0,_e.createElement)("div",{style:{display:"block",height:ht-Kt.bottom%ht+"px"}});lt.parentNode.insertBefore(Rt,lt.nextSibling)}})})}},"./src/utils.js":function(fe,xe,oe){"use strict";oe.r(xe),oe.d(xe,{objType:function(){return Ct},createElement:function(){return ze},cloneNode:function(){return pt},unitConvert:function(){return Ne},toPx:function(){return Qe}});var Pe=oe("./node_modules/core-js/modules/es.number.constructor.js"),ye=oe.n(Pe),Re=oe("./node_modules/core-js/modules/es.symbol.js"),Se=oe.n(Re),Ie=oe("./node_modules/core-js/modules/es.symbol.description.js"),ve=oe.n(Ie),we=oe("./node_modules/core-js/modules/es.object.to-string.js"),Ee=oe.n(we),Oe=oe("./node_modules/core-js/modules/es.symbol.iterator.js"),Ke=oe.n(Oe),je=oe("./node_modules/core-js/modules/es.array.iterator.js"),_e=oe.n(je),Je=oe("./node_modules/core-js/modules/es.string.iterator.js"),Ve=oe.n(Je),st=oe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),at=oe.n(st);function ht(Ot){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ht=function(lt){return typeof lt}:ht=function(lt){return lt&&typeof Symbol=="function"&<.constructor===Symbol&<!==Symbol.prototype?"symbol":typeof lt},ht(Ot)}var Ct=function(ot){var lt=ht(ot);return lt==="undefined"?"undefined":lt==="string"||ot instanceof String?"string":lt==="number"||ot instanceof Number?"number":lt==="function"||ot instanceof Function?"function":ot&&ot.constructor===Array?"array":ot&&ot.nodeType===1?"element":lt==="object"?"object":"unknown"},ze=function(ot,lt){var Bt=document.createElement(ot);if(lt.className&&(Bt.className=lt.className),lt.innerHTML){Bt.innerHTML=lt.innerHTML;for(var We=Bt.getElementsByTagName("script"),ke=We.length;ke-- >0;null)We[ke].parentNode.removeChild(We[ke])}for(var At in lt.style)Bt.style[At]=lt.style[At];return Bt},pt=function Ot(ot,lt){for(var Bt=ot.nodeType===3?document.createTextNode(ot.nodeValue):ot.cloneNode(!1),We=ot.firstChild;We;We=We.nextSibling)(lt===!0||We.nodeType!==1||We.nodeName!=="SCRIPT")&&Bt.appendChild(Ot(We,lt));return ot.nodeType===1&&(ot.nodeName==="CANVAS"?(Bt.width=ot.width,Bt.height=ot.height,Bt.getContext("2d").drawImage(ot,0,0)):(ot.nodeName==="TEXTAREA"||ot.nodeName==="SELECT")&&(Bt.value=ot.value),Bt.addEventListener("load",function(){Bt.scrollTop=ot.scrollTop,Bt.scrollLeft=ot.scrollLeft},!0)),Bt},Ne=function(ot,lt){if(Ct(ot)==="number")return ot*72/96/lt;var Bt={};for(var We in ot)Bt[We]=ot[We]*72/96/lt;return Bt},Qe=function(ot,lt){return Math.floor(ot*lt/72*96)}},"./src/worker.js":function(fe,xe,oe){"use strict";oe.r(xe);var Pe=oe("./node_modules/core-js/modules/es.object.assign.js"),ye=oe.n(Pe),Re=oe("./node_modules/core-js/modules/es.array.map.js"),Se=oe.n(Re),Ie=oe("./node_modules/core-js/modules/es.object.keys.js"),ve=oe.n(Ie),we=oe("./node_modules/core-js/modules/es.array.concat.js"),Ee=oe.n(we),Oe=oe("./node_modules/core-js/modules/es.object.to-string.js"),Ke=oe.n(Oe),je=oe("./node_modules/core-js/modules/es.regexp.to-string.js"),_e=oe.n(je),Je=oe("./node_modules/core-js/modules/es.function.name.js"),Ve=oe.n(Je),st=oe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),at=oe.n(st),ht=oe("jspdf"),Ct=oe.n(ht),ze=oe("html2canvas"),pt=oe.n(ze),Ne=oe("./src/utils.js"),Qe=oe("./node_modules/es6-promise/dist/es6-promise.js"),Ot=oe.n(Qe),ot=Ot().Promise,lt=function Bt(We){var ke=Object.assign(Bt.convert(ot.resolve()),JSON.parse(JSON.stringify(Bt.template))),At=Bt.convert(ot.resolve(),ke);return At=At.setProgress(1,Bt,1,[Bt]),At=At.set(We),At};lt.prototype=Object.create(ot.prototype),lt.prototype.constructor=lt,lt.convert=function(We,ke){return We.__proto__=ke||lt.prototype,We},lt.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},lt.prototype.from=function(We,ke){function At(Kt){switch((0,Ne.objType)(Kt)){case"string":return"string";case"element":return Kt.nodeName.toLowerCase&&Kt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(ke=ke||At(We),ke){case"string":return this.set({src:(0,Ne.createElement)("div",{innerHTML:We})});case"element":return this.set({src:We});case"canvas":return this.set({canvas:We});case"img":return this.set({img:We});default:return this.error("Unknown source type.")}})},lt.prototype.to=function(We){switch(We){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},lt.prototype.toContainer=function(){var We=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(We).then(function(){var At={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Kt={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};At.opacity=0;var Ht=(0,Ne.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Ne.createElement)("div",{className:"html2pdf__overlay",style:At}),this.prop.container=(0,Ne.createElement)("div",{className:"html2pdf__container",style:Kt}),this.prop.container.appendChild(Ht),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},lt.prototype.toCanvas=function(){var We=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(We).then(function(){var At=Object.assign({},this.opt.html2canvas);return delete At.onrendered,ze(this.prop.container,At)}).then(function(At){var Kt=this.opt.html2canvas.onrendered||function(){};Kt(At),this.prop.canvas=At,document.body.removeChild(this.prop.overlay)})},lt.prototype.toImg=function(){var We=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(We).then(function(){var At=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=At})},lt.prototype.toPdf=function(){var We=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(We).then(function(){var At=this.prop.canvas,Kt=this.opt,Ht=At.height,nt=Math.floor(At.width*this.prop.pageSize.inner.ratio),Pt=Math.ceil(Ht/nt),Rt=this.prop.pageSize.inner.height,hn=document.createElement("canvas"),Tt=hn.getContext("2d");hn.width=At.width,hn.height=nt,this.prop.pdf=this.prop.pdf||new ht.jsPDF(Kt.jsPDF);for(var mn=0;mn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-indexed-object.js"),ye=oe("./node_modules/core-js/internals/to-length.js"),Re=oe("./node_modules/core-js/internals/to-absolute-index.js"),Se=function(Ie){return function(ve,we,Ee){var Oe=Pe(ve),Ke=ye(Oe.length),je=Re(Ee,Ke),_e;if(Ie&&we!=we){for(;Ke>je;)if(_e=Oe[je++],_e!=_e)return!0}else for(;Ke>je;je++)if((Ie||je in Oe)&&Oe[je]===we)return Ie||je||0;return!Ie&&-1}};fe.exports={includes:Se(!0),indexOf:Se(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/function-bind-context.js"),ye=oe("./node_modules/core-js/internals/indexed-object.js"),Re=oe("./node_modules/core-js/internals/to-object.js"),Se=oe("./node_modules/core-js/internals/to-length.js"),Ie=oe("./node_modules/core-js/internals/array-species-create.js"),ve=[].push,we=function(Ee){var Oe=Ee==1,Ke=Ee==2,je=Ee==3,_e=Ee==4,Je=Ee==6,Ve=Ee==7,st=Ee==5||Je;return function(at,ht,Ct,ze){for(var pt=Re(at),Ne=ye(pt),Qe=Pe(ht,Ct,3),Ot=Se(Ne.length),ot=0,lt=ze||Ie,Bt=Oe?lt(at,Ot):Ke||Ve?lt(at,0):void 0,We,ke;Ot>ot;ot++)if((st||ot in Ne)&&(We=Ne[ot],ke=Qe(We,ot,pt),Ee))if(Oe)Bt[ot]=ke;else if(ke)switch(Ee){case 3:return!0;case 5:return We;case 6:return ot;case 2:ve.call(Bt,We)}else switch(Ee){case 4:return!1;case 7:ve.call(Bt,We)}return Je?-1:je||_e?_e:Bt}};fe.exports={forEach:we(0),map:we(1),filter:we(2),some:we(3),every:we(4),find:we(5),findIndex:we(6),filterReject:we(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/fails.js"),ye=oe("./node_modules/core-js/internals/well-known-symbol.js"),Re=oe("./node_modules/core-js/internals/engine-v8-version.js"),Se=ye("species");fe.exports=function(Ie){return Re>=51||!Pe(function(){var ve=[],we=ve.constructor={};return we[Se]=function(){return{foo:1}},ve[Ie](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/fails.js");fe.exports=function(ye,Re){var Se=[][ye];return!!Se&&Pe(function(){Se.call(null,Re||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/is-object.js"),ye=oe("./node_modules/core-js/internals/is-array.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol.js"),Se=Re("species");fe.exports=function(Ie){var ve;return ye(Ie)&&(ve=Ie.constructor,typeof ve=="function"&&(ve===Array||ye(ve.prototype))?ve=void 0:Pe(ve)&&(ve=ve[Se],ve===null&&(ve=void 0))),ve===void 0?Array:ve}},"./node_modules/core-js/internals/array-species-create.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/array-species-constructor.js");fe.exports=function(ye,Re){return new(Pe(ye))(Re===0?0:Re)}},"./node_modules/core-js/internals/classof-raw.js":function(fe){var xe={}.toString;fe.exports=function(oe){return xe.call(oe).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ye=oe("./node_modules/core-js/internals/classof-raw.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol.js"),Se=Re("toStringTag"),Ie=ye(function(){return arguments}())=="Arguments",ve=function(we,Ee){try{return we[Ee]}catch(Oe){}};fe.exports=Pe?ye:function(we){var Ee,Oe,Ke;return we===void 0?"Undefined":we===null?"Null":typeof(Oe=ve(Ee=Object(we),Se))=="string"?Oe:Ie?ye(Ee):(Ke=ye(Ee))=="Object"&&typeof Ee.callee=="function"?"Arguments":Ke}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/has.js"),ye=oe("./node_modules/core-js/internals/own-keys.js"),Re=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),Se=oe("./node_modules/core-js/internals/object-define-property.js");fe.exports=function(Ie,ve){for(var we=ye(ve),Ee=Se.f,Oe=Re.f,Ke=0;Ke"+Ee+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,ye=oe("./node_modules/core-js/internals/object-create.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Se=oe("./node_modules/core-js/internals/set-to-string-tag.js"),Ie=oe("./node_modules/core-js/internals/iterators.js"),ve=function(){return this};fe.exports=function(we,Ee,Oe){var Ke=Ee+" Iterator";return we.prototype=ye(Pe,{next:Re(1,Oe)}),Se(we,Ke,!1,!0),Ie[Ke]=ve,we}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/object-define-property.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js");fe.exports=Pe?function(Se,Ie,ve){return ye.f(Se,Ie,Re(1,ve))}:function(Se,Ie,ve){return Se[Ie]=ve,Se}},"./node_modules/core-js/internals/create-property-descriptor.js":function(fe){fe.exports=function(xe,oe){return{enumerable:!(xe&1),configurable:!(xe&2),writable:!(xe&4),value:oe}}},"./node_modules/core-js/internals/create-property.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/to-property-key.js"),ye=oe("./node_modules/core-js/internals/object-define-property.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js");fe.exports=function(Se,Ie,ve){var we=Pe(Ie);we in Se?ye.f(Se,we,Re(0,ve)):Se[we]=ve}},"./node_modules/core-js/internals/define-iterator.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/create-iterator-constructor.js"),Re=oe("./node_modules/core-js/internals/object-get-prototype-of.js"),Se=oe("./node_modules/core-js/internals/object-set-prototype-of.js"),Ie=oe("./node_modules/core-js/internals/set-to-string-tag.js"),ve=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),we=oe("./node_modules/core-js/internals/redefine.js"),Ee=oe("./node_modules/core-js/internals/well-known-symbol.js"),Oe=oe("./node_modules/core-js/internals/is-pure.js"),Ke=oe("./node_modules/core-js/internals/iterators.js"),je=oe("./node_modules/core-js/internals/iterators-core.js"),_e=je.IteratorPrototype,Je=je.BUGGY_SAFARI_ITERATORS,Ve=Ee("iterator"),st="keys",at="values",ht="entries",Ct=function(){return this};fe.exports=function(ze,pt,Ne,Qe,Ot,ot,lt){ye(Ne,pt,Qe);var Bt=function(Tt){if(Tt===Ot&&Ht)return Ht;if(!Je&&Tt in At)return At[Tt];switch(Tt){case st:return function(){return new Ne(this,Tt)};case at:return function(){return new Ne(this,Tt)};case ht:return function(){return new Ne(this,Tt)}}return function(){return new Ne(this)}},We=pt+" Iterator",ke=!1,At=ze.prototype,Kt=At[Ve]||At["@@iterator"]||Ot&&At[Ot],Ht=!Je&&Kt||Bt(Ot),nt=pt=="Array"&&At.entries||Kt,Pt,Rt,hn;if(nt&&(Pt=Re(nt.call(new ze)),_e!==Object.prototype&&Pt.next&&(!Oe&&Re(Pt)!==_e&&(Se?Se(Pt,_e):typeof Pt[Ve]!="function"&&ve(Pt,Ve,Ct)),Ie(Pt,We,!0,!0),Oe&&(Ke[We]=Ct))),Ot==at&&Kt&&Kt.name!==at&&(ke=!0,Ht=function(){return Kt.call(this)}),(!Oe||lt)&&At[Ve]!==Ht&&ve(At,Ve,Ht),Ke[pt]=Ht,Ot)if(Rt={values:Bt(at),keys:ot?Ht:Bt(st),entries:Bt(ht)},lt)for(hn in Rt)(Je||ke||!(hn in At))&&we(At,hn,Rt[hn]);else Pe({target:pt,proto:!0,forced:Je||ke},Rt);return Rt}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/path.js"),ye=oe("./node_modules/core-js/internals/has.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Se=oe("./node_modules/core-js/internals/object-define-property.js").f;fe.exports=function(Ie){var ve=Pe.Symbol||(Pe.Symbol={});ye(ve,Ie)||Se(ve,Ie,{value:Re.f(Ie)})}},"./node_modules/core-js/internals/descriptors.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/fails.js");fe.exports=!Pe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/is-object.js"),Re=Pe.document,Se=ye(Re)&&ye(Re.createElement);fe.exports=function(Ie){return Se?Re.createElement(Ie):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(fe){fe.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/get-built-in.js");fe.exports=Pe("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/engine-user-agent.js"),Re=Pe.process,Se=Pe.Deno,Ie=Re&&Re.versions||Se&&Se.version,ve=Ie&&Ie.v8,we,Ee;ve?(we=ve.split("."),Ee=we[0]<4?1:we[0]+we[1]):ye&&(we=ye.match(/Edge\/(\d+)/),(!we||we[1]>=74)&&(we=ye.match(/Chrome\/(\d+)/),we&&(Ee=we[1]))),fe.exports=Ee&&+Ee},"./node_modules/core-js/internals/enum-bug-keys.js":function(fe){fe.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Re=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Se=oe("./node_modules/core-js/internals/redefine.js"),Ie=oe("./node_modules/core-js/internals/set-global.js"),ve=oe("./node_modules/core-js/internals/copy-constructor-properties.js"),we=oe("./node_modules/core-js/internals/is-forced.js");fe.exports=function(Ee,Oe){var Ke=Ee.target,je=Ee.global,_e=Ee.stat,Je,Ve,st,at,ht,Ct;if(je?Ve=Pe:_e?Ve=Pe[Ke]||Ie(Ke,{}):Ve=(Pe[Ke]||{}).prototype,Ve)for(st in Oe){if(ht=Oe[st],Ee.noTargetGet?(Ct=ye(Ve,st),at=Ct&&Ct.value):at=Ve[st],Je=we(je?st:Ke+(_e?".":"#")+st,Ee.forced),!Je&&at!==void 0){if(typeof ht==typeof at)continue;ve(ht,at)}(Ee.sham||at&&at.sham)&&Re(ht,"sham",!0),Se(Ve,st,ht,Ee)}}},"./node_modules/core-js/internals/fails.js":function(fe){fe.exports=function(xe){try{return!!xe()}catch(oe){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/a-function.js");fe.exports=function(ye,Re,Se){if(Pe(ye),Re===void 0)return ye;switch(Se){case 0:return function(){return ye.call(Re)};case 1:return function(Ie){return ye.call(Re,Ie)};case 2:return function(Ie,ve){return ye.call(Re,Ie,ve)};case 3:return function(Ie,ve,we){return ye.call(Re,Ie,ve,we)}}return function(){return ye.apply(Re,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=function(Re){return typeof Re=="function"?Re:void 0};fe.exports=function(Re,Se){return arguments.length<2?ye(Pe[Re]):Pe[Re]&&Pe[Re][Se]}},"./node_modules/core-js/internals/global.js":function(fe){var xe=function(oe){return oe&&oe.Math==Math&&oe};fe.exports=xe(typeof globalThis=="object"&&globalThis)||xe(typeof window=="object"&&window)||xe(typeof self=="object"&&self)||xe(typeof ae.g=="object"&&ae.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-object.js"),ye={}.hasOwnProperty;fe.exports=Object.hasOwn||function(Se,Ie){return ye.call(Pe(Se),Ie)}},"./node_modules/core-js/internals/hidden-keys.js":function(fe){fe.exports={}},"./node_modules/core-js/internals/html.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/get-built-in.js");fe.exports=Pe("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/fails.js"),Re=oe("./node_modules/core-js/internals/document-create-element.js");fe.exports=!Pe&&!ye(function(){return Object.defineProperty(Re("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/fails.js"),ye=oe("./node_modules/core-js/internals/classof-raw.js"),Re="".split;fe.exports=Pe(function(){return!Object("z").propertyIsEnumerable(0)})?function(Se){return ye(Se)=="String"?Re.call(Se,""):Object(Se)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/is-object.js"),ye=oe("./node_modules/core-js/internals/object-set-prototype-of.js");fe.exports=function(Re,Se,Ie){var ve,we;return ye&&typeof(ve=Se.constructor)=="function"&&ve!==Ie&&Pe(we=ve.prototype)&&we!==Ie.prototype&&ye(Re,we),Re}},"./node_modules/core-js/internals/inspect-source.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/shared-store.js"),ye=Function.toString;typeof Pe.inspectSource!="function"&&(Pe.inspectSource=function(Re){return ye.call(Re)}),fe.exports=Pe.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/native-weak-map.js"),ye=oe("./node_modules/core-js/internals/global.js"),Re=oe("./node_modules/core-js/internals/is-object.js"),Se=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ie=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/shared-store.js"),we=oe("./node_modules/core-js/internals/shared-key.js"),Ee=oe("./node_modules/core-js/internals/hidden-keys.js"),Oe="Object already initialized",Ke=ye.WeakMap,je,_e,Je,Ve=function(Ne){return Je(Ne)?_e(Ne):je(Ne,{})},st=function(Ne){return function(Qe){var Ot;if(!Re(Qe)||(Ot=_e(Qe)).type!==Ne)throw TypeError("Incompatible receiver, "+Ne+" required");return Ot}};if(Pe||ve.state){var at=ve.state||(ve.state=new Ke),ht=at.get,Ct=at.has,ze=at.set;je=function(Ne,Qe){if(Ct.call(at,Ne))throw new TypeError(Oe);return Qe.facade=Ne,ze.call(at,Ne,Qe),Qe},_e=function(Ne){return ht.call(at,Ne)||{}},Je=function(Ne){return Ct.call(at,Ne)}}else{var pt=we("state");Ee[pt]=!0,je=function(Ne,Qe){if(Ie(Ne,pt))throw new TypeError(Oe);return Qe.facade=Ne,Se(Ne,pt,Qe),Qe},_e=function(Ne){return Ie(Ne,pt)?Ne[pt]:{}},Je=function(Ne){return Ie(Ne,pt)}}fe.exports={set:je,get:_e,has:Je,enforce:Ve,getterFor:st}},"./node_modules/core-js/internals/is-array.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/classof-raw.js");fe.exports=Array.isArray||function(Re){return Pe(Re)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/fails.js"),ye=/#|\.prototype\./,Re=function(Ee,Oe){var Ke=Ie[Se(Ee)];return Ke==we?!0:Ke==ve?!1:typeof Oe=="function"?Pe(Oe):!!Oe},Se=Re.normalize=function(Ee){return String(Ee).replace(ye,".").toLowerCase()},Ie=Re.data={},ve=Re.NATIVE="N",we=Re.POLYFILL="P";fe.exports=Re},"./node_modules/core-js/internals/is-object.js":function(fe){fe.exports=function(xe){return typeof xe=="object"?xe!==null:typeof xe=="function"}},"./node_modules/core-js/internals/is-pure.js":function(fe){fe.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/get-built-in.js"),ye=oe("./node_modules/core-js/internals/use-symbol-as-uid.js");fe.exports=ye?function(Re){return typeof Re=="symbol"}:function(Re){var Se=Pe("Symbol");return typeof Se=="function"&&Object(Re)instanceof Se}},"./node_modules/core-js/internals/iterators-core.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/fails.js"),ye=oe("./node_modules/core-js/internals/object-get-prototype-of.js"),Re=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Se=oe("./node_modules/core-js/internals/has.js"),Ie=oe("./node_modules/core-js/internals/well-known-symbol.js"),ve=oe("./node_modules/core-js/internals/is-pure.js"),we=Ie("iterator"),Ee=!1,Oe=function(){return this},Ke,je,_e;[].keys&&(_e=[].keys(),"next"in _e?(je=ye(ye(_e)),je!==Object.prototype&&(Ke=je)):Ee=!0);var Je=Ke==null||Pe(function(){var Ve={};return Ke[we].call(Ve)!==Ve});Je&&(Ke={}),(!ve||Je)&&!Se(Ke,we)&&Re(Ke,we,Oe),fe.exports={IteratorPrototype:Ke,BUGGY_SAFARI_ITERATORS:Ee}},"./node_modules/core-js/internals/iterators.js":function(fe){fe.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/engine-v8-version.js"),ye=oe("./node_modules/core-js/internals/fails.js");fe.exports=!!Object.getOwnPropertySymbols&&!ye(function(){var Re=Symbol();return!String(Re)||!(Object(Re)instanceof Symbol)||!Symbol.sham&&Pe&&Pe<41})},"./node_modules/core-js/internals/native-weak-map.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/inspect-source.js"),Re=Pe.WeakMap;fe.exports=typeof Re=="function"&&/native code/.test(ye(Re))},"./node_modules/core-js/internals/object-assign.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/fails.js"),Re=oe("./node_modules/core-js/internals/object-keys.js"),Se=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ie=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),ve=oe("./node_modules/core-js/internals/to-object.js"),we=oe("./node_modules/core-js/internals/indexed-object.js"),Ee=Object.assign,Oe=Object.defineProperty;fe.exports=!Ee||ye(function(){if(Pe&&Ee({b:1},Ee(Oe({},"a",{enumerable:!0,get:function(){Oe(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var Ke={},je={},_e=Symbol(),Je="abcdefghijklmnopqrst";return Ke[_e]=7,Je.split("").forEach(function(Ve){je[Ve]=Ve}),Ee({},Ke)[_e]!=7||Re(Ee({},je)).join("")!=Je})?function(je,_e){for(var Je=ve(je),Ve=arguments.length,st=1,at=Se.f,ht=Ie.f;Ve>st;)for(var Ct=we(arguments[st++]),ze=at?Re(Ct).concat(at(Ct)):Re(Ct),pt=ze.length,Ne=0,Qe;pt>Ne;)Qe=ze[Ne++],(!Pe||ht.call(Ct,Qe))&&(Je[Qe]=Ct[Qe]);return Je}:Ee},"./node_modules/core-js/internals/object-create.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/an-object.js"),ye=oe("./node_modules/core-js/internals/object-define-properties.js"),Re=oe("./node_modules/core-js/internals/enum-bug-keys.js"),Se=oe("./node_modules/core-js/internals/hidden-keys.js"),Ie=oe("./node_modules/core-js/internals/html.js"),ve=oe("./node_modules/core-js/internals/document-create-element.js"),we=oe("./node_modules/core-js/internals/shared-key.js"),Ee=">",Oe="<",Ke="prototype",je="script",_e=we("IE_PROTO"),Je=function(){},Ve=function(ze){return Oe+je+Ee+ze+Oe+"/"+je+Ee},st=function(ze){ze.write(Ve("")),ze.close();var pt=ze.parentWindow.Object;return ze=null,pt},at=function(){var ze=ve("iframe"),pt="java"+je+":",Ne;if(ze.style)return ze.style.display="none",Ie.appendChild(ze),ze.src=String(pt),Ne=ze.contentWindow.document,Ne.open(),Ne.write(Ve("document.F=Object")),Ne.close(),Ne.F},ht,Ct=function(){try{ht=new ActiveXObject("htmlfile")}catch(pt){}Ct=document.domain&&ht?st(ht):at()||st(ht);for(var ze=Re.length;ze--;)delete Ct[Ke][Re[ze]];return Ct()};Se[_e]=!0,fe.exports=Object.create||function(pt,Ne){var Qe;return pt!==null?(Je[Ke]=Pe(pt),Qe=new Je,Je[Ke]=null,Qe[_e]=pt):Qe=Ct(),Ne===void 0?Qe:ye(Qe,Ne)}},"./node_modules/core-js/internals/object-define-properties.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/object-define-property.js"),Re=oe("./node_modules/core-js/internals/an-object.js"),Se=oe("./node_modules/core-js/internals/object-keys.js");fe.exports=Pe?Object.defineProperties:function(ve,we){Re(ve);for(var Ee=Se(we),Oe=Ee.length,Ke=0,je;Oe>Ke;)ye.f(ve,je=Ee[Ke++],we[je]);return ve}},"./node_modules/core-js/internals/object-define-property.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/ie8-dom-define.js"),Re=oe("./node_modules/core-js/internals/an-object.js"),Se=oe("./node_modules/core-js/internals/to-property-key.js"),Ie=Object.defineProperty;xe.f=Pe?Ie:function(we,Ee,Oe){if(Re(we),Ee=Se(Ee),Re(Oe),ye)try{return Ie(we,Ee,Oe)}catch(Ke){}if("get"in Oe||"set"in Oe)throw TypeError("Accessors not supported");return"value"in Oe&&(we[Ee]=Oe.value),we}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Se=oe("./node_modules/core-js/internals/to-indexed-object.js"),Ie=oe("./node_modules/core-js/internals/to-property-key.js"),ve=oe("./node_modules/core-js/internals/has.js"),we=oe("./node_modules/core-js/internals/ie8-dom-define.js"),Ee=Object.getOwnPropertyDescriptor;xe.f=Pe?Ee:function(Ke,je){if(Ke=Se(Ke),je=Ie(je),we)try{return Ee(Ke,je)}catch(_e){}if(ve(Ke,je))return Re(!ye.f.call(Ke,je),Ke[je])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-indexed-object.js"),ye=oe("./node_modules/core-js/internals/object-get-own-property-names.js").f,Re={}.toString,Se=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ie=function(ve){try{return ye(ve)}catch(we){return Se.slice()}};fe.exports.f=function(we){return Se&&Re.call(we)=="[object Window]"?Ie(we):ye(Pe(we))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/object-keys-internal.js"),ye=oe("./node_modules/core-js/internals/enum-bug-keys.js"),Re=ye.concat("length","prototype");xe.f=Object.getOwnPropertyNames||function(Ie){return Pe(Ie,Re)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(fe,xe){xe.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/has.js"),ye=oe("./node_modules/core-js/internals/to-object.js"),Re=oe("./node_modules/core-js/internals/shared-key.js"),Se=oe("./node_modules/core-js/internals/correct-prototype-getter.js"),Ie=Re("IE_PROTO"),ve=Object.prototype;fe.exports=Se?Object.getPrototypeOf:function(we){return we=ye(we),Pe(we,Ie)?we[Ie]:typeof we.constructor=="function"&&we instanceof we.constructor?we.constructor.prototype:we instanceof Object?ve:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/has.js"),ye=oe("./node_modules/core-js/internals/to-indexed-object.js"),Re=oe("./node_modules/core-js/internals/array-includes.js").indexOf,Se=oe("./node_modules/core-js/internals/hidden-keys.js");fe.exports=function(Ie,ve){var we=ye(Ie),Ee=0,Oe=[],Ke;for(Ke in we)!Pe(Se,Ke)&&Pe(we,Ke)&&Oe.push(Ke);for(;ve.length>Ee;)Pe(we,Ke=ve[Ee++])&&(~Re(Oe,Ke)||Oe.push(Ke));return Oe}},"./node_modules/core-js/internals/object-keys.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/object-keys-internal.js"),ye=oe("./node_modules/core-js/internals/enum-bug-keys.js");fe.exports=Object.keys||function(Se){return Pe(Se,ye)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(fe,xe){"use strict";var oe={}.propertyIsEnumerable,Pe=Object.getOwnPropertyDescriptor,ye=Pe&&!oe.call({1:2},1);xe.f=ye?function(Se){var Ie=Pe(this,Se);return!!Ie&&Ie.enumerable}:oe},"./node_modules/core-js/internals/object-set-prototype-of.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/an-object.js"),ye=oe("./node_modules/core-js/internals/a-possible-prototype.js");fe.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Re=!1,Se={},Ie;try{Ie=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,Ie.call(Se,[]),Re=Se instanceof Array}catch(ve){}return function(we,Ee){return Pe(we),ye(Ee),Re?Ie.call(we,Ee):we.__proto__=Ee,we}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ye=oe("./node_modules/core-js/internals/classof.js");fe.exports=Pe?{}.toString:function(){return"[object "+ye(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/is-object.js");fe.exports=function(ye,Re){var Se,Ie;if(Re==="string"&&typeof(Se=ye.toString)=="function"&&!Pe(Ie=Se.call(ye))||typeof(Se=ye.valueOf)=="function"&&!Pe(Ie=Se.call(ye))||Re!=="string"&&typeof(Se=ye.toString)=="function"&&!Pe(Ie=Se.call(ye)))return Ie;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/get-built-in.js"),ye=oe("./node_modules/core-js/internals/object-get-own-property-names.js"),Re=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Se=oe("./node_modules/core-js/internals/an-object.js");fe.exports=Pe("Reflect","ownKeys")||function(ve){var we=ye.f(Se(ve)),Ee=Re.f;return Ee?we.concat(Ee(ve)):we}},"./node_modules/core-js/internals/path.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js");fe.exports=Pe},"./node_modules/core-js/internals/redefine.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Re=oe("./node_modules/core-js/internals/has.js"),Se=oe("./node_modules/core-js/internals/set-global.js"),Ie=oe("./node_modules/core-js/internals/inspect-source.js"),ve=oe("./node_modules/core-js/internals/internal-state.js"),we=ve.get,Ee=ve.enforce,Oe=String(String).split("String");(fe.exports=function(Ke,je,_e,Je){var Ve=Je?!!Je.unsafe:!1,st=Je?!!Je.enumerable:!1,at=Je?!!Je.noTargetGet:!1,ht;if(typeof _e=="function"&&(typeof je=="string"&&!Re(_e,"name")&&ye(_e,"name",je),ht=Ee(_e),ht.source||(ht.source=Oe.join(typeof je=="string"?je:""))),Ke===Pe){st?Ke[je]=_e:Se(je,_e);return}else Ve?!at&&Ke[je]&&(st=!0):delete Ke[je];st?Ke[je]=_e:ye(Ke,je,_e)})(Function.prototype,"toString",function(){return typeof this=="function"&&we(this).source||Ie(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/an-object.js");fe.exports=function(){var ye=Pe(this),Re="";return ye.global&&(Re+="g"),ye.ignoreCase&&(Re+="i"),ye.multiline&&(Re+="m"),ye.dotAll&&(Re+="s"),ye.unicode&&(Re+="u"),ye.sticky&&(Re+="y"),Re}},"./node_modules/core-js/internals/require-object-coercible.js":function(fe){fe.exports=function(xe){if(xe==null)throw TypeError("Can't call method on "+xe);return xe}},"./node_modules/core-js/internals/set-global.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js");fe.exports=function(ye,Re){try{Object.defineProperty(Pe,ye,{value:Re,configurable:!0,writable:!0})}catch(Se){Pe[ye]=Re}return Re}},"./node_modules/core-js/internals/set-to-string-tag.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/object-define-property.js").f,ye=oe("./node_modules/core-js/internals/has.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol.js"),Se=Re("toStringTag");fe.exports=function(Ie,ve,we){Ie&&!ye(Ie=we?Ie:Ie.prototype,Se)&&Pe(Ie,Se,{configurable:!0,value:ve})}},"./node_modules/core-js/internals/shared-key.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/shared.js"),ye=oe("./node_modules/core-js/internals/uid.js"),Re=Pe("keys");fe.exports=function(Se){return Re[Se]||(Re[Se]=ye(Se))}},"./node_modules/core-js/internals/shared-store.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/set-global.js"),Re="__core-js_shared__",Se=Pe[Re]||ye(Re,{});fe.exports=Se},"./node_modules/core-js/internals/shared.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/is-pure.js"),ye=oe("./node_modules/core-js/internals/shared-store.js");(fe.exports=function(Re,Se){return ye[Re]||(ye[Re]=Se!==void 0?Se:{})})("versions",[]).push({version:"3.16.0",mode:Pe?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/fails.js");fe.exports=function(ye){return Pe(function(){var Re=""[ye]('"');return Re!==Re.toLowerCase()||Re.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-integer.js"),ye=oe("./node_modules/core-js/internals/to-string.js"),Re=oe("./node_modules/core-js/internals/require-object-coercible.js"),Se=function(Ie){return function(ve,we){var Ee=ye(Re(ve)),Oe=Pe(we),Ke=Ee.length,je,_e;return Oe<0||Oe>=Ke?Ie?"":void 0:(je=Ee.charCodeAt(Oe),je<55296||je>56319||Oe+1===Ke||(_e=Ee.charCodeAt(Oe+1))<56320||_e>57343?Ie?Ee.charAt(Oe):je:Ie?Ee.slice(Oe,Oe+2):(je-55296<<10)+(_e-56320)+65536)}};fe.exports={codeAt:Se(!1),charAt:Se(!0)}},"./node_modules/core-js/internals/string-trim.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/require-object-coercible.js"),ye=oe("./node_modules/core-js/internals/to-string.js"),Re=oe("./node_modules/core-js/internals/whitespaces.js"),Se="["+Re+"]",Ie=RegExp("^"+Se+Se+"*"),ve=RegExp(Se+Se+"*$"),we=function(Ee){return function(Oe){var Ke=ye(Pe(Oe));return Ee&1&&(Ke=Ke.replace(Ie,"")),Ee&2&&(Ke=Ke.replace(ve,"")),Ke}};fe.exports={start:we(1),end:we(2),trim:we(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-integer.js"),ye=Math.max,Re=Math.min;fe.exports=function(Se,Ie){var ve=Pe(Se);return ve<0?ye(ve+Ie,0):Re(ve,Ie)}},"./node_modules/core-js/internals/to-indexed-object.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/indexed-object.js"),ye=oe("./node_modules/core-js/internals/require-object-coercible.js");fe.exports=function(Re){return Pe(ye(Re))}},"./node_modules/core-js/internals/to-integer.js":function(fe){var xe=Math.ceil,oe=Math.floor;fe.exports=function(Pe){return isNaN(Pe=+Pe)?0:(Pe>0?oe:xe)(Pe)}},"./node_modules/core-js/internals/to-length.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-integer.js"),ye=Math.min;fe.exports=function(Re){return Re>0?ye(Pe(Re),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/require-object-coercible.js");fe.exports=function(ye){return Object(Pe(ye))}},"./node_modules/core-js/internals/to-primitive.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/is-object.js"),ye=oe("./node_modules/core-js/internals/is-symbol.js"),Re=oe("./node_modules/core-js/internals/ordinary-to-primitive.js"),Se=oe("./node_modules/core-js/internals/well-known-symbol.js"),Ie=Se("toPrimitive");fe.exports=function(ve,we){if(!Pe(ve)||ye(ve))return ve;var Ee=ve[Ie],Oe;if(Ee!==void 0){if(we===void 0&&(we="default"),Oe=Ee.call(ve,we),!Pe(Oe)||ye(Oe))return Oe;throw TypeError("Can't convert object to primitive value")}return we===void 0&&(we="number"),Re(ve,we)}},"./node_modules/core-js/internals/to-property-key.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-primitive.js"),ye=oe("./node_modules/core-js/internals/is-symbol.js");fe.exports=function(Re){var Se=Pe(Re,"string");return ye(Se)?Se:String(Se)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/well-known-symbol.js"),ye=Pe("toStringTag"),Re={};Re[ye]="z",fe.exports=String(Re)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/is-symbol.js");fe.exports=function(ye){if(Pe(ye))throw TypeError("Cannot convert a Symbol value to a string");return String(ye)}},"./node_modules/core-js/internals/uid.js":function(fe){var xe=0,oe=Math.random();fe.exports=function(Pe){return"Symbol("+String(Pe===void 0?"":Pe)+")_"+(++xe+oe).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/native-symbol.js");fe.exports=Pe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/well-known-symbol.js");xe.f=Pe},"./node_modules/core-js/internals/well-known-symbol.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/shared.js"),Re=oe("./node_modules/core-js/internals/has.js"),Se=oe("./node_modules/core-js/internals/uid.js"),Ie=oe("./node_modules/core-js/internals/native-symbol.js"),ve=oe("./node_modules/core-js/internals/use-symbol-as-uid.js"),we=ye("wks"),Ee=Pe.Symbol,Oe=ve?Ee:Ee&&Ee.withoutSetter||Se;fe.exports=function(Ke){return(!Re(we,Ke)||!(Ie||typeof we[Ke]=="string"))&&(Ie&&Re(Ee,Ke)?we[Ke]=Ee[Ke]:we[Ke]=Oe("Symbol."+Ke)),we[Ke]}},"./node_modules/core-js/internals/whitespaces.js":function(fe){fe.exports=` +\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/fails.js"),Re=oe("./node_modules/core-js/internals/is-array.js"),Se=oe("./node_modules/core-js/internals/is-object.js"),Ie=oe("./node_modules/core-js/internals/to-object.js"),ve=oe("./node_modules/core-js/internals/to-length.js"),we=oe("./node_modules/core-js/internals/create-property.js"),Ee=oe("./node_modules/core-js/internals/array-species-create.js"),Oe=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ke=oe("./node_modules/core-js/internals/well-known-symbol.js"),je=oe("./node_modules/core-js/internals/engine-v8-version.js"),_e=Ke("isConcatSpreadable"),Je=9007199254740991,Ve="Maximum allowed index exceeded",st=je>=51||!ye(function(){var ze=[];return ze[_e]=!1,ze.concat()[0]!==ze}),at=Oe("concat"),ht=function(ze){if(!Se(ze))return!1;var pt=ze[_e];return pt!==void 0?!!pt:Re(ze)},Ct=!st||!at;Pe({target:"Array",proto:!0,forced:Ct},{concat:function(pt){var Ne=Ie(this),Qe=Ee(Ne,0),Ot=0,ot,lt,Bt,We,ke;for(ot=-1,Bt=arguments.length;otJe)throw TypeError(Ve);for(lt=0;lt=Je)throw TypeError(Ve);we(Qe,Ot++,ke)}return Qe.length=Ot,Qe}})},"./node_modules/core-js/modules/es.array.iterator.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/to-indexed-object.js"),ye=oe("./node_modules/core-js/internals/add-to-unscopables.js"),Re=oe("./node_modules/core-js/internals/iterators.js"),Se=oe("./node_modules/core-js/internals/internal-state.js"),Ie=oe("./node_modules/core-js/internals/define-iterator.js"),ve="Array Iterator",we=Se.set,Ee=Se.getterFor(ve);fe.exports=Ie(Array,"Array",function(Oe,Ke){we(this,{type:ve,target:Pe(Oe),index:0,kind:Ke})},function(){var Oe=Ee(this),Ke=Oe.target,je=Oe.kind,_e=Oe.index++;return!Ke||_e>=Ke.length?(Oe.target=void 0,{value:void 0,done:!0}):je=="keys"?{value:_e,done:!1}:je=="values"?{value:Ke[_e],done:!1}:{value:[_e,Ke[_e]],done:!1}},"values"),Re.Arguments=Re.Array,ye("keys"),ye("values"),ye("entries")},"./node_modules/core-js/modules/es.array.join.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/indexed-object.js"),Re=oe("./node_modules/core-js/internals/to-indexed-object.js"),Se=oe("./node_modules/core-js/internals/array-method-is-strict.js"),Ie=[].join,ve=ye!=Object,we=Se("join",",");Pe({target:"Array",proto:!0,forced:ve||!we},{join:function(Oe){return Ie.call(Re(this),Oe===void 0?",":Oe)}})},"./node_modules/core-js/modules/es.array.map.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/array-iteration.js").map,Re=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),Se=Re("map");Pe({target:"Array",proto:!0,forced:!Se},{map:function(ve){return ye(this,ve,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/is-object.js"),Re=oe("./node_modules/core-js/internals/is-array.js"),Se=oe("./node_modules/core-js/internals/to-absolute-index.js"),Ie=oe("./node_modules/core-js/internals/to-length.js"),ve=oe("./node_modules/core-js/internals/to-indexed-object.js"),we=oe("./node_modules/core-js/internals/create-property.js"),Ee=oe("./node_modules/core-js/internals/well-known-symbol.js"),Oe=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ke=Oe("slice"),je=Ee("species"),_e=[].slice,Je=Math.max;Pe({target:"Array",proto:!0,forced:!Ke},{slice:function(st,at){var ht=ve(this),Ct=Ie(ht.length),ze=Se(st,Ct),pt=Se(at===void 0?Ct:at,Ct),Ne,Qe,Ot;if(Re(ht)&&(Ne=ht.constructor,typeof Ne=="function"&&(Ne===Array||Re(Ne.prototype))?Ne=void 0:ye(Ne)&&(Ne=Ne[je],Ne===null&&(Ne=void 0)),Ne===Array||Ne===void 0))return _e.call(ht,ze,pt);for(Qe=new(Ne===void 0?Array:Ne)(Je(pt-ze,0)),Ot=0;ze2){if(Bt=st(Bt),We=Bt.charCodeAt(0),We===43||We===45){if(ke=Bt.charCodeAt(2),ke===88||ke===120)return NaN}else if(We===48){switch(Bt.charCodeAt(1)){case 66:case 98:At=2,Kt=49;break;case 79:case 111:At=8,Kt=55;break;default:return+Bt}for(Ht=Bt.slice(2),nt=Ht.length,Pt=0;PtKt)return NaN;return parseInt(Ht,At)}}return+Bt};if(Re(at,!ht(" 0o1")||!ht("0b1")||ht("+0x1"))){for(var Ne=function(Bt){var We=arguments.length<1?0:Bt,ke=this;return ke instanceof Ne&&(ze?Ke(function(){Ct.valueOf.call(ke)}):ve(ke)!=at)?we(new ht(pt(We)),ke,Ne):pt(We)},Qe=Pe?_e(ht):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Ot=0,ot;Qe.length>Ot;Ot++)Ie(ht,ot=Qe[Ot])&&!Ie(Ne,ot)&&Ve(Ne,ot,Je(ht,ot));Ne.prototype=Ct,Ct.constructor=Ne,Se(ye,at,Ne)}},"./node_modules/core-js/modules/es.object.assign.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/object-assign.js");Pe({target:"Object",stat:!0,forced:Object.assign!==ye},{assign:ye})},"./node_modules/core-js/modules/es.object.keys.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/to-object.js"),Re=oe("./node_modules/core-js/internals/object-keys.js"),Se=oe("./node_modules/core-js/internals/fails.js"),Ie=Se(function(){Re(1)});Pe({target:"Object",stat:!0,forced:Ie},{keys:function(we){return Re(ye(we))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ye=oe("./node_modules/core-js/internals/redefine.js"),Re=oe("./node_modules/core-js/internals/object-to-string.js");Pe||ye(Object.prototype,"toString",Re,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/redefine.js"),ye=oe("./node_modules/core-js/internals/an-object.js"),Re=oe("./node_modules/core-js/internals/to-string.js"),Se=oe("./node_modules/core-js/internals/fails.js"),Ie=oe("./node_modules/core-js/internals/regexp-flags.js"),ve="toString",we=RegExp.prototype,Ee=we[ve],Oe=Se(function(){return Ee.call({source:"a",flags:"b"})!="/a/b"}),Ke=Ee.name!=ve;(Oe||Ke)&&Pe(RegExp.prototype,ve,function(){var _e=ye(this),Je=Re(_e.source),Ve=_e.flags,st=Re(Ve===void 0&&_e instanceof RegExp&&!("flags"in we)?Ie.call(_e):Ve);return"/"+Je+"/"+st},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/string-multibyte.js").charAt,ye=oe("./node_modules/core-js/internals/to-string.js"),Re=oe("./node_modules/core-js/internals/internal-state.js"),Se=oe("./node_modules/core-js/internals/define-iterator.js"),Ie="String Iterator",ve=Re.set,we=Re.getterFor(Ie);Se(String,"String",function(Ee){ve(this,{type:Ie,string:ye(Ee),index:0})},function(){var Oe=we(this),Ke=Oe.string,je=Oe.index,_e;return je>=Ke.length?{value:void 0,done:!0}:(_e=Pe(Ke,je),Oe.index+=_e.length,{value:_e,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/create-html.js"),Re=oe("./node_modules/core-js/internals/string-html-forced.js");Pe({target:"String",proto:!0,forced:Re("link")},{link:function(Ie){return ye(this,"a","href",Ie)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/descriptors.js"),Re=oe("./node_modules/core-js/internals/global.js"),Se=oe("./node_modules/core-js/internals/has.js"),Ie=oe("./node_modules/core-js/internals/is-object.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js").f,we=oe("./node_modules/core-js/internals/copy-constructor-properties.js"),Ee=Re.Symbol;if(ye&&typeof Ee=="function"&&(!("description"in Ee.prototype)||Ee().description!==void 0)){var Oe={},Ke=function(){var at=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),ht=this instanceof Ke?new Ee(at):at===void 0?Ee():Ee(at);return at===""&&(Oe[ht]=!0),ht};we(Ke,Ee);var je=Ke.prototype=Ee.prototype;je.constructor=Ke;var _e=je.toString,Je=String(Ee("test"))=="Symbol(test)",Ve=/^Symbol\((.*)\)[^)]+$/;ve(je,"description",{configurable:!0,get:function(){var at=Ie(this)?this.valueOf():this,ht=_e.call(at);if(Se(Oe,at))return"";var Ct=Je?ht.slice(7,-1):ht.replace(Ve,"$1");return Ct===""?void 0:Ct}}),Pe({global:!0,forced:!0},{Symbol:Ke})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/define-well-known-symbol.js");Pe("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/global.js"),Re=oe("./node_modules/core-js/internals/get-built-in.js"),Se=oe("./node_modules/core-js/internals/is-pure.js"),Ie=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/native-symbol.js"),we=oe("./node_modules/core-js/internals/fails.js"),Ee=oe("./node_modules/core-js/internals/has.js"),Oe=oe("./node_modules/core-js/internals/is-array.js"),Ke=oe("./node_modules/core-js/internals/is-object.js"),je=oe("./node_modules/core-js/internals/is-symbol.js"),_e=oe("./node_modules/core-js/internals/an-object.js"),Je=oe("./node_modules/core-js/internals/to-object.js"),Ve=oe("./node_modules/core-js/internals/to-indexed-object.js"),st=oe("./node_modules/core-js/internals/to-property-key.js"),at=oe("./node_modules/core-js/internals/to-string.js"),ht=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Ct=oe("./node_modules/core-js/internals/object-create.js"),ze=oe("./node_modules/core-js/internals/object-keys.js"),pt=oe("./node_modules/core-js/internals/object-get-own-property-names.js"),Ne=oe("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Qe=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ot=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ot=oe("./node_modules/core-js/internals/object-define-property.js"),lt=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Bt=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),We=oe("./node_modules/core-js/internals/redefine.js"),ke=oe("./node_modules/core-js/internals/shared.js"),At=oe("./node_modules/core-js/internals/shared-key.js"),Kt=oe("./node_modules/core-js/internals/hidden-keys.js"),Ht=oe("./node_modules/core-js/internals/uid.js"),nt=oe("./node_modules/core-js/internals/well-known-symbol.js"),Pt=oe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Rt=oe("./node_modules/core-js/internals/define-well-known-symbol.js"),hn=oe("./node_modules/core-js/internals/set-to-string-tag.js"),Tt=oe("./node_modules/core-js/internals/internal-state.js"),mn=oe("./node_modules/core-js/internals/array-iteration.js").forEach,kt=At("hidden"),Fn="Symbol",an="prototype",de=nt("toPrimitive"),ge=Tt.set,ie=Tt.getterFor(Fn),ee=Object[an],se=ye.Symbol,le=Re("JSON","stringify"),Be=Ot.f,Ge=ot.f,ut=Ne.f,mt=lt.f,vt=ke("symbols"),St=ke("op-symbols"),Dt=ke("string-to-symbol-registry"),Qt=ke("symbol-to-string-registry"),xt=ke("wks"),ct=ye.QObject,Xt=!ct||!ct[an]||!ct[an].findChild,Wt=Ie&&we(function(){return Ct(Ge({},"a",{get:function(){return Ge(this,"a",{value:7}).a}})).a!=7})?function(Lt,Gt,sn){var bn=Be(ee,Gt);bn&&delete ee[Gt],Ge(Lt,Gt,sn),bn&&Lt!==ee&&Ge(ee,Gt,bn)}:Ge,wn=function(Lt,Gt){var sn=vt[Lt]=Ct(se[an]);return ge(sn,{type:Fn,tag:Lt,description:Gt}),Ie||(sn.description=Gt),sn},ln=function(Gt,sn,bn){Gt===ee&&ln(St,sn,bn),_e(Gt);var Yn=st(sn);return _e(bn),Ee(vt,Yn)?(bn.enumerable?(Ee(Gt,kt)&&Gt[kt][Yn]&&(Gt[kt][Yn]=!1),bn=Ct(bn,{enumerable:ht(0,!1)})):(Ee(Gt,kt)||Ge(Gt,kt,ht(1,{})),Gt[kt][Yn]=!0),Wt(Gt,Yn,bn)):Ge(Gt,Yn,bn)},nn=function(Gt,sn){_e(Gt);var bn=Ve(sn),Yn=ze(bn).concat(Pn(bn));return mn(Yn,function(pr){(!Ie||Ln.call(bn,pr))&&ln(Gt,pr,bn[pr])}),Gt},zn=function(Gt,sn){return sn===void 0?Ct(Gt):nn(Ct(Gt),sn)},Ln=function(Gt){var sn=st(Gt),bn=mt.call(this,sn);return this===ee&&Ee(vt,sn)&&!Ee(St,sn)?!1:bn||!Ee(this,sn)||!Ee(vt,sn)||Ee(this,kt)&&this[kt][sn]?bn:!0},_t=function(Gt,sn){var bn=Ve(Gt),Yn=st(sn);if(!(bn===ee&&Ee(vt,Yn)&&!Ee(St,Yn))){var pr=Be(bn,Yn);return pr&&Ee(vt,Yn)&&!(Ee(bn,kt)&&bn[kt][Yn])&&(pr.enumerable=!0),pr}},un=function(Gt){var sn=ut(Ve(Gt)),bn=[];return mn(sn,function(Yn){!Ee(vt,Yn)&&!Ee(Kt,Yn)&&bn.push(Yn)}),bn},Pn=function(Gt){var sn=Gt===ee,bn=ut(sn?St:Ve(Gt)),Yn=[];return mn(bn,function(pr){Ee(vt,pr)&&(!sn||Ee(ee,pr))&&Yn.push(vt[pr])}),Yn};if(ve||(se=function(){if(this instanceof se)throw TypeError("Symbol is not a constructor");var Gt=!arguments.length||arguments[0]===void 0?void 0:at(arguments[0]),sn=Ht(Gt),bn=function(Yn){this===ee&&bn.call(St,Yn),Ee(this,kt)&&Ee(this[kt],sn)&&(this[kt][sn]=!1),Wt(this,sn,ht(1,Yn))};return Ie&&Xt&&Wt(ee,sn,{configurable:!0,set:bn}),wn(sn,Gt)},We(se[an],"toString",function(){return ie(this).tag}),We(se,"withoutSetter",function(Lt){return wn(Ht(Lt),Lt)}),lt.f=Ln,ot.f=ln,Ot.f=_t,pt.f=Ne.f=un,Qe.f=Pn,Pt.f=function(Lt){return wn(nt(Lt),Lt)},Ie&&(Ge(se[an],"description",{configurable:!0,get:function(){return ie(this).description}}),Se||We(ee,"propertyIsEnumerable",Ln,{unsafe:!0}))),Pe({global:!0,wrap:!0,forced:!ve,sham:!ve},{Symbol:se}),mn(ze(xt),function(Lt){Rt(Lt)}),Pe({target:Fn,stat:!0,forced:!ve},{for:function(Lt){var Gt=at(Lt);if(Ee(Dt,Gt))return Dt[Gt];var sn=se(Gt);return Dt[Gt]=sn,Qt[sn]=Gt,sn},keyFor:function(Gt){if(!je(Gt))throw TypeError(Gt+" is not a symbol");if(Ee(Qt,Gt))return Qt[Gt]},useSetter:function(){Xt=!0},useSimple:function(){Xt=!1}}),Pe({target:"Object",stat:!0,forced:!ve,sham:!Ie},{create:zn,defineProperty:ln,defineProperties:nn,getOwnPropertyDescriptor:_t}),Pe({target:"Object",stat:!0,forced:!ve},{getOwnPropertyNames:un,getOwnPropertySymbols:Pn}),Pe({target:"Object",stat:!0,forced:we(function(){Qe.f(1)})},{getOwnPropertySymbols:function(Gt){return Qe.f(Je(Gt))}}),le){var Vn=!ve||we(function(){var Lt=se();return le([Lt])!="[null]"||le({a:Lt})!="{}"||le(Object(Lt))!="{}"});Pe({target:"JSON",stat:!0,forced:Vn},{stringify:function(Gt,sn,bn){for(var Yn=[Gt],pr=1,ti;arguments.length>pr;)Yn.push(arguments[pr++]);if(ti=sn,!(!Ke(sn)&&Gt===void 0||je(Gt)))return Oe(sn)||(sn=function(si,Cr){if(typeof ti=="function"&&(Cr=ti.call(this,si,Cr)),!je(Cr))return Cr}),Yn[1]=sn,le.apply(null,Yn)}})}se[an][de]||Bt(se[an],de,se[an].valueOf),hn(se,Fn),Kt[kt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/dom-iterables.js"),Re=oe("./node_modules/core-js/internals/array-for-each.js"),Se=oe("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var Ie in ye){var ve=Pe[Ie],we=ve&&ve.prototype;if(we&&we.forEach!==Re)try{Se(we,"forEach",Re)}catch(Ee){we.forEach=Re}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/dom-iterables.js"),Re=oe("./node_modules/core-js/modules/es.array.iterator.js"),Se=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ie=oe("./node_modules/core-js/internals/well-known-symbol.js"),ve=Ie("iterator"),we=Ie("toStringTag"),Ee=Re.values;for(var Oe in ye){var Ke=Pe[Oe],je=Ke&&Ke.prototype;if(je){if(je[ve]!==Ee)try{Se(je,ve,Ee)}catch(Je){je[ve]=Ee}if(je[we]||Se(je,we,Oe),ye[Oe]){for(var _e in Re)if(je[_e]!==Re[_e])try{Se(je,_e,Re[_e])}catch(Je){je[_e]=Re[_e]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(fe){(function(xe,oe){fe.exports=oe()})(this,function(){"use strict";function xe(ct){var Xt=typeof ct;return ct!==null&&(Xt==="object"||Xt==="function")}function oe(ct){return typeof ct=="function"}var Pe=void 0;Array.isArray?Pe=Array.isArray:Pe=function(ct){return Object.prototype.toString.call(ct)==="[object Array]"};var ye=Pe,Re=0,Se=void 0,Ie=void 0,ve=function(Xt,Wt){ze[Re]=Xt,ze[Re+1]=Wt,Re+=2,Re===2&&(Ie?Ie(pt):Qe())};function we(ct){Ie=ct}function Ee(ct){ve=ct}var Oe=typeof window!="undefined"?window:void 0,Ke=Oe||{},je=Ke.MutationObserver||Ke.WebKitMutationObserver,_e=typeof self=="undefined"&&typeof x!="undefined"&&{}.toString.call(x)==="[object process]",Je=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Ve(){return function(){return x.nextTick(pt)}}function st(){return typeof Se!="undefined"?function(){Se(pt)}:Ct()}function at(){var ct=0,Xt=new je(pt),Wt=document.createTextNode("");return Xt.observe(Wt,{characterData:!0}),function(){Wt.data=ct=++ct%2}}function ht(){var ct=new MessageChannel;return ct.port1.onmessage=pt,function(){return ct.port2.postMessage(0)}}function Ct(){var ct=setTimeout;return function(){return ct(pt,1)}}var ze=new Array(1e3);function pt(){for(var ct=0;ct>1,oe=-7,Pe=dt?qe-1:0,ye=dt?-1:1,Re=ae[x+Pe];for(Pe+=ye,He=Re&(1<<-oe)-1,Re>>=-oe,oe+=Me;oe>0;He=He*256+ae[x+Pe],Pe+=ye,oe-=8);for(Fe=He&(1<<-oe)-1,He>>=-oe,oe+=Le;oe>0;Fe=Fe*256+ae[x+Pe],Pe+=ye,oe-=8);if(He===0)He=1-xe;else{if(He===fe)return Fe?NaN:(Re?-1:1)*(1/0);Fe=Fe+Math.pow(2,Le),He=He-xe}return(Re?-1:1)*Fe*Math.pow(2,He-Le)},Mt.write=function(ae,x,dt,Le,qe,He){var Fe,Me,fe,xe=He*8-qe-1,oe=(1<>1,ye=qe===23?Math.pow(2,-24)-Math.pow(2,-77):0,Re=Le?0:He-1,Se=Le?1:-1,Ie=x<0||x===0&&1/x<0?1:0;for(x=Math.abs(x),isNaN(x)||x===1/0?(Me=isNaN(x)?1:0,Fe=oe):(Fe=Math.floor(Math.log(x)/Math.LN2),x*(fe=Math.pow(2,-Fe))<1&&(Fe--,fe*=2),Fe+Pe>=1?x+=ye/fe:x+=ye*Math.pow(2,1-Pe),x*fe>=2&&(Fe++,fe/=2),Fe+Pe>=oe?(Me=0,Fe=oe):Fe+Pe>=1?(Me=(x*fe-1)*Math.pow(2,qe),Fe=Fe+Pe):(Me=x*Math.pow(2,Pe-1)*Math.pow(2,qe),Fe=0));qe>=8;ae[dt+Re]=Me&255,Re+=Se,Me/=256,qe-=8);for(Fe=Fe<0;ae[dt+Re]=Fe&255,Re+=Se,Fe/=256,xe-=8);ae[dt+Re-Se]|=Ie*128}},53307:function(Xn,Mt,ae){"use strict";ae.r(Mt),ae.d(Mt,{AcroForm:function(){return QA},AcroFormAppearance:function(){return Qo},AcroFormButton:function(){return os},AcroFormCheckBox:function(){return Ys},AcroFormChoiceField:function(){return Vo},AcroFormComboBox:function(){return va},AcroFormEditBox:function(){return pa},AcroFormListBox:function(){return gs},AcroFormPasswordField:function(){return as},AcroFormPushButton:function(){return Es},AcroFormRadioButton:function(){return Ja},AcroFormTextField:function(){return Us},GState:function(){return Ep},ShadingPattern:function(){return Mf},TilingPattern:function(){return Uf},default:function(){return Na},jsPDF:function(){return Na}});var x=ae(43749),dt={},Le=function(y,z,E,re,ce){var he=new Worker(dt[z]||(dt[z]=URL.createObjectURL(new Blob([y+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return he.onmessage=function(Ze){var Ue=Ze.data,Xe=Ue.$e$;if(Xe){var $e=new Error(Xe[0]);$e.code=Xe[1],$e.stack=Xe[2],ce($e,null)}else ce(null,Ue)},he.postMessage(E,re),he},qe=Uint8Array,He=Uint16Array,Fe=Int32Array,Me=new qe([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),fe=new qe([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),xe=new qe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),oe=function(y,z){for(var E=new He(31),re=0;re<31;++re)E[re]=z+=1<>1|(Ee&21845)<<1;Oe=(Oe&52428)>>2|(Oe&13107)<<2,Oe=(Oe&61680)>>4|(Oe&3855)<<4,we[Ee]=((Oe&65280)>>8|(Oe&255)<<8)>>1}for(var Ke=function(y,z,E){for(var re=y.length,ce=0,he=new He(z);ce>Xe]=$e}else for(Ue=new He(re),ce=0;ce>15-y[ce]);return Ue},je=new qe(288),Ee=0;Ee<144;++Ee)je[Ee]=8;for(var Ee=144;Ee<256;++Ee)je[Ee]=9;for(var Ee=256;Ee<280;++Ee)je[Ee]=7;for(var Ee=280;Ee<288;++Ee)je[Ee]=8;for(var _e=new qe(32),Ee=0;Ee<32;++Ee)_e[Ee]=5;var Je=Ke(je,9,0),Ve=null,st=Ke(_e,5,0),at=null,ht=function(y){for(var z=y[0],E=1;Ez&&(z=y[E]);return z},Ct=function(y,z,E){var re=z/8|0;return(y[re]|y[re+1]<<8)>>(z&7)&E},ze=function(y,z){var E=z/8|0;return(y[E]|y[E+1]<<8|y[E+2]<<16)>>(z&7)},pt=function(y){return(y+7)/8|0},Ne=function(y,z,E){return(z==null||z<0)&&(z=0),(E==null||E>y.length)&&(E=y.length),new qe(y.subarray(z,E))},Qe={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},Ot=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],ot=function(y,z,E){var re=new Error(z||Ot[y]);if(re.code=y,Error.captureStackTrace&&Error.captureStackTrace(re,ot),!E)throw re;return re},lt=function(y,z,E,re){var ce=y.length,he=re?re.length:0;if(!ce||z.f&&!z.l)return E||new qe(0);var Ze=!E,Ue=Ze||z.i!=2,Xe=z.i;Ze&&(E=new qe(ce*3));var $e=function(Eo){var ua=E.length;if(Eo>ua){var sa=new qe(Math.max(ua*2,Eo));sa.set(E),E=sa}},gt=z.f||0,Ut=z.p||0,qt=z.b||0,ft=z.l,Dn=z.d,Bn=z.m,Tn=z.n,fn=ce*8;do{if(!ft){gt=Ct(y,Ut,1);var hr=Ct(y,Ut+1,3);if(Ut+=3,hr)if(hr==1)ft=Ve,Dn=at,Bn=9,Tn=5;else if(hr==2){var Ui=Ct(y,Ut,31)+257,Ei=Ct(y,Ut+10,15)+4,Fr=Ui+Ct(y,Ut+5,31)+1;Ut+=14;for(var Gn=new qe(Fr),Vr=new qe(19),cn=0;cn>4;if(ir<16)Gn[cn++]=ir;else{var wi=0,Fi=0;for(ir==16?(Fi=3+Ct(y,Ut,3),Ut+=2,wi=Gn[cn-1]):ir==17?(Fi=3+Ct(y,Ut,7),Ut+=3):ir==18&&(Fi=11+Ct(y,Ut,127),Ut+=7);Fi--;)Gn[cn++]=wi}}var ei=Gn.subarray(0,Ui),Ni=Gn.subarray(Ui);Bn=ht(ei),Tn=ht(Ni),ft=Ke(ei,Bn,1),Dn=Ke(Ni,Tn,1)}else ot(1);else{var ir=pt(Ut)+4,Wn=y[ir-4]|y[ir-3]<<8,oi=ir+Wn;if(oi>ce){Xe&&ot(0);break}Ue&&$e(qt+Wn),E.set(y.subarray(ir,oi),qt),z.b=qt+=Wn,z.p=Ut=oi*8,z.f=gt;continue}if(Ut>fn){Xe&&ot(0);break}}Ue&&$e(qt+131072);for(var ko=(1<>4;if(Ut+=wi&15,Ut>fn){Xe&&ot(0);break}if(wi||ot(2),Kn<256)E[qt++]=Kn;else if(Kn==256){on=Ut,ft=null;break}else{var qn=Kn-254;if(Kn>264){var cn=Kn-257,vr=Me[cn];qn=Ct(y,Ut,(1<>4;kr||ot(3),Ut+=kr&15;var Ni=Ie[Jr];if(Jr>3){var vr=fe[Jr];Ni+=ze(y,Ut)&(1<fn){Xe&&ot(0);break}Ue&&$e(qt+131072);var Si=qt+qn;if(qt>8},We=function(y,z,E){E<<=z&7;var re=z/8|0;y[re]|=E,y[re+1]|=E>>8,y[re+2]|=E>>16},ke=function(y,z){for(var E=[],re=0;reqt&&(qt=he[re].s);var ft=new He(qt+1),Dn=At(E[gt-1],ft,0);if(Dn>z){var re=0,Bn=0,Tn=Dn-z,fn=1<z)Bn+=fn-(1<>=Tn;Bn>0;){var ir=he[re].s;ft[ir]=0&&Bn;--re){var Wn=he[re].s;ft[Wn]==z&&(--ft[Wn],++Bn)}Dn=z}return{t:new qe(ft),l:Dn}},At=function(y,z,E){return y.s==-1?Math.max(At(y.l,z,E+1),At(y.r,z,E+1)):z[y.s]=E},Kt=function(y){for(var z=y.length;z&&!y[--z];);for(var E=new He(++z),re=0,ce=y[0],he=1,Ze=function(Xe){E[re++]=Xe},Ue=1;Ue<=z;++Ue)if(y[Ue]==ce&&Ue!=z)++he;else{if(!ce&&he>2){for(;he>138;he-=138)Ze(32754);he>2&&(Ze(he>10?he-11<<5|28690:he-3<<5|12305),he=0)}else if(he>3){for(Ze(ce),--he;he>6;he-=6)Ze(8304);he>2&&(Ze(he-3<<5|8208),he=0)}for(;he--;)Ze(ce);he=1,ce=y[Ue]}return{c:E.subarray(0,re),n:z}},Ht=function(y,z){for(var E=0,re=0;re>8,y[ce+2]=y[ce]^255,y[ce+3]=y[ce+1]^255;for(var he=0;he4&&!Vr[xe[kn-1]];--kn);var fr=$e+5<<3,sr=Ht(ce,je)+Ht(he,_e)+Ze,fi=Ht(ce,qt)+Ht(he,Bn)+Ze+14+3*kn+Ht(Ei,Vr)+2*Ei[16]+3*Ei[17]+7*Ei[18];if(Xe>=0&&fr<=sr&&fr<=fi)return nt(z,gt,y.subarray(Xe,Xe+$e));var wi,Fi,ei,Ni;if(Bt(z,gt,1+(fi15&&(Bt(z,gt,Kn[Fr]>>5&127),gt+=Kn[Fr]>>12)}}else wi=Je,Fi=je,ei=st,Ni=_e;for(var Fr=0;Fr255){var qn=vr>>18&31;We(z,gt,wi[qn+257]),gt+=Fi[qn+257],qn>7&&(Bt(z,gt,vr>>23&31),gt+=Me[qn]);var kr=vr&31;We(z,gt,ei[kr]),gt+=Ni[kr],kr>3&&(We(z,gt,vr>>5&8191),gt+=fe[kr])}else We(z,gt,wi[vr]),gt+=Fi[vr]}return We(z,gt,wi[256]),gt+Fi[256]},Rt=new Fe([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),hn=new qe(0),Tt=function(y,z,E,re,ce,he){var Ze=he.z||y.length,Ue=new qe(re+Ze+5*(1+Math.ceil(Ze/7e3))+ce),Xe=Ue.subarray(re,Ue.length-ce),$e=he.l,gt=(he.r||0)&7;if(z){gt&&(Xe[0]=he.r>>3);for(var Ut=Rt[z-1],qt=Ut>>13,ft=Ut&8191,Dn=(1<7e3||Vr>24576)&&(wi>423||!$e)){gt=Pt(y,Xe,0,Wn,oi,Ui,Fr,Vr,kn,Gn-kn,gt),Vr=Ei=Fr=0,kn=Gn;for(var Fi=0;Fi<286;++Fi)oi[Fi]=0;for(var Fi=0;Fi<30;++Fi)Ui[Fi]=0}var ei=2,Ni=0,ko=ft,io=sr-fi&32767;if(wi>2&&fr==ir(Gn-io))for(var on=Math.min(qt,wi)-1,Kn=Math.min(32767,Gn),qn=Math.min(258,wi);io<=Kn&&--ko&&sr!=fi;){if(y[Gn+ei]==y[Gn+ei-io]){for(var vr=0;vrei){if(ei=vr,Ni=io,vr>on)break;for(var kr=Math.min(io,vr-2),Jr=0,Fi=0;FiJr&&(Jr=Yi,fi=Si)}}}sr=fi,fi=Bn[sr],io+=sr-fi&32767}if(Ni){Wn[Vr++]=268435456|Re[ei]<<18|ve[Ni];var Eo=Re[ei]&31,ua=ve[Ni]&31;Fr+=Me[Eo]+fe[ua],++oi[257+Eo],++Ui[ua],cn=Gn+ei,++Ei}else Wn[Vr++]=y[Gn],++oi[y[Gn]]}}for(Gn=Math.max(Gn,cn);Gn=Ze&&(Xe[gt/8|0]=$e,sa=Ze),gt=nt(Xe,gt+1,y.subarray(Gn,sa))}he.i=Ze}return Ne(Ue,0,re+pt(gt)+ce)},mn=null,kt=function(){var y=-1;return{p:function(z){for(var E=y,re=0;re>>8;y=E},d:function(){return~y}}},Fn=function(){var y=1,z=0;return{p:function(E){for(var re=y,ce=z,he=E.length|0,Ze=0;Ze!=he;){for(var Ue=Math.min(Ze+2655,he);Ze>16),ce=(ce&65535)+15*(ce>>16)}y=re,z=ce},d:function(){return y%=65521,z%=65521,(y&255)<<24|(y&65280)<<8|(z&255)<<8|z>>8}}},an=function(y,z,E,re,ce){if(!ce&&(ce={l:1},z.dictionary)){var he=z.dictionary.subarray(-32768),Ze=new qe(he.length+y.length);Ze.set(he),Ze.set(y,he.length),y=Ze,ce.w=he.length}return Tt(y,z.level==null?6:z.level,z.mem==null?ce.l?Math.ceil(Math.max(8,Math.min(13,Math.log(y.length)))*1.5):20:12+z.mem,E,re,ce)},de=function(y,z){var E={};for(var re in y)E[re]=y[re];for(var re in z)E[re]=z[re];return E},ge=function(y,z,E){for(var re=y(),ce=y.toString(),he=ce.slice(ce.indexOf("[")+1,ce.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ze=0;Ze>>0},wn=function(y,z){return Wt(y,z)+Wt(y,z+4)*4294967296},ln=function(y,z,E){for(;E;++z)y[z]=E,E>>>=8},nn=function(y,z){var E=z.filename;if(y[0]=31,y[1]=139,y[2]=8,y[8]=z.level<2?4:z.level==9?2:0,y[9]=3,z.mtime!=0&&ln(y,4,Math.floor(new Date(z.mtime||Date.now())/1e3)),E){y[3]=8;for(var re=0;re<=E.length;++re)y[re+10]=E.charCodeAt(re)}},zn=function(y){(y[0]!=31||y[1]!=139||y[2]!=8)&&ot(6,"invalid gzip data");var z=y[3],E=10;z&4&&(E+=(y[10]|y[11]<<8)+2);for(var re=(z>>3&1)+(z>>4&1);re>0;re-=!y[E++]);return E+(z&2)},Ln=function(y){var z=y.length;return(y[z-4]|y[z-3]<<8|y[z-2]<<16|y[z-1]<<24)>>>0},_t=function(y){return 10+(y.filename?y.filename.length+1:0)},un=function(y,z){var E=z.level,re=E==0?0:E<6?1:E==9?3:2;if(y[0]=120,y[1]=re<<6|(z.dictionary&&32),y[1]|=31-(y[0]<<8|y[1])%31,z.dictionary){var ce=Fn();ce.p(z.dictionary),ln(y,2,ce.d())}},Pn=function(y,z){return((y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31)&&ot(6,"invalid zlib data"),(y[1]>>5&1)==+!z&&ot(6,"invalid zlib data: "+(y[1]&32?"need":"unexpected")+" dictionary"),(y[1]>>3&4)+2};function Vn(y,z){return typeof y=="function"&&(z=y,y={}),this.ondata=z,y}var Lt=null,Gt=null;function sn(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Qt(y,z,[Be],function(re){return St(bn(re.data[0],re.data[1]))},0,E)}function bn(y,z){return an(y,z||{},0,0)}var Yn=null,pr=null;function ti(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Qt(y,z,[le],function(re){return St(si(re.data[0],Dt(re.data[1])))},1,E)}function si(y,z){return lt(y,{i:2},z&&z.out,z&&z.dictionary)}var Cr=null,ur=null;function dr(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Qt(y,z,[Be,Ge,function(){return[yn]}],function(re){return St(yn(re.data[0],re.data[1]))},2,E)}function yn(y,z){z||(z={});var E=kt(),re=y.length;E.p(y);var ce=an(y,z,_t(z),8),he=ce.length;return nn(ce,z),ln(ce,he-8,E.d()),ln(ce,he-4,re),ce}var $n=null,rr=null;function Zn(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Qt(y,z,[le,ut,function(){return[br]}],function(re){return St(br(re.data[0],re.data[1]))},3,E)}function br(y,z){var E=zn(y);return E+8>y.length&&ot(6,"invalid gzip data"),lt(y.subarray(E,-8),{i:2},z&&z.out||new qe(Ln(y)),z&&z.dictionary)}var Br=null,Or=null;function ci(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Qt(y,z,[Be,mt,function(){return[Ai]}],function(re){return St(Ai(re.data[0],re.data[1]))},4,E)}function Ai(y,z){z||(z={});var E=Fn();E.p(y);var re=an(y,z,z.dictionary?6:2,4);return un(re,z),ln(re,re.length-4,E.d()),re}var di=null,Pi=null;function yi(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Qt(y,z,[le,vt,function(){return[oo]}],function(re){return St(oo(re.data[0],Dt(re.data[1])))},5,E)}function oo(y,z){return lt(y.subarray(Pn(y,z&&z.dictionary),-4),{i:2},z&&z.out,z&&z.dictionary)}var Gi=null,ar=null;function Dr(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),y[0]==31&&y[1]==139&&y[2]==8?Zn(y,z,E):(y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31?ti(y,z,E):yi(y,z,E)}function gi(y,z){return y[0]==31&&y[1]==139&&y[2]==8?br(y,z):(y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31?si(y,z):oo(y,z)}var ni=function(y,z,E,re){for(var ce in y){var he=y[ce],Ze=z+ce,Ue=re;Array.isArray(he)&&(Ue=de(re,he[1]),he=he[0]),he instanceof qe?E[Ze]=[he,Ue]:(E[Ze+="/"]=[new qe(0),Ue],ni(he,Ze,E,re))}},An=typeof TextEncoder!="undefined"&&new TextEncoder,Cn=typeof TextDecoder!="undefined"&&new TextDecoder,tt=0;try{Cn.decode(hn,{stream:!0}),tt=1}catch(y){}var pn=function(y){for(var z="",E=0;;){var re=y[E++],ce=(re>127)+(re>223)+(re>239);if(E+ce>y.length)return{s:z,r:Ne(y,E-1)};ce?ce==3?(re=((re&15)<<18|(y[E++]&63)<<12|(y[E++]&63)<<6|y[E++]&63)-65536,z+=String.fromCharCode(55296|re>>10,56320|re&1023)):ce&1?z+=String.fromCharCode((re&31)<<6|y[E++]&63):z+=String.fromCharCode((re&15)<<12|(y[E++]&63)<<6|y[E++]&63):z+=String.fromCharCode(re)}},Zt=null,vn=null;function On(y,z){if(z){for(var E=new qe(y.length),re=0;re>1)),Ze=0,Ue=function(gt){he[Ze++]=gt},re=0;rehe.length){var Xe=new qe(Ze+8+(ce-re<<1));Xe.set(he),he=Xe}var $e=y.charCodeAt(re);$e<128||z?Ue($e):$e<2048?(Ue(192|$e>>6),Ue(128|$e&63)):$e>55295&&$e<57344?($e=65536+($e&1047552)|y.charCodeAt(++re)&1023,Ue(240|$e>>18),Ue(128|$e>>12&63),Ue(128|$e>>6&63),Ue(128|$e&63)):(Ue(224|$e>>12),Ue(128|$e>>6&63),Ue(128|$e&63))}return Ne(he,0,Ze)}function Rr(y,z){if(z){for(var E="",re=0;re65535&&ot(9),z+=re+4}return z},_r=function(y,z,E,re,ce,he,Ze,Ue){var Xe=re.length,$e=E.extra,gt=Ue&&Ue.length,Ut=er($e);ln(y,z,Ze!=null?33639248:67324752),z+=4,Ze!=null&&(y[z++]=20,y[z++]=E.os),y[z]=20,z+=2,y[z++]=E.flag<<1|(he<0&&8),y[z++]=ce&&8,y[z++]=E.compression&255,y[z++]=E.compression>>8;var qt=new Date(E.mtime==null?Date.now():E.mtime),ft=qt.getFullYear()-1980;if((ft<0||ft>119)&&ot(10),ln(y,z,ft<<25|qt.getMonth()+1<<21|qt.getDate()<<16|qt.getHours()<<11|qt.getMinutes()<<5|qt.getSeconds()>>1),z+=4,he!=-1&&(ln(y,z,E.crc),ln(y,z+4,he<0?-he-2:he),ln(y,z+8,E.size)),ln(y,z+12,Xe),ln(y,z+14,Ut),z+=16,Ze!=null&&(ln(y,z,gt),ln(y,z+6,E.attrs),ln(y,z+10,Ze),z+=14),y.set(re,z),z+=Xe,Ut)for(var Dn in $e){var Bn=$e[Dn],Tn=Bn.length;ln(y,z,+Dn),ln(y,z+2,Tn),y.set(Bn,z+4),z+=4+Tn}return gt&&(y.set(Ue,z),z+=gt),z},Ti=function(y,z,E,re,ce){ln(y,z,101010256),ln(y,z+8,E),ln(y,z+10,E),ln(y,z+12,re),ln(y,z+16,ce)},bi=null,Xi=null,Er=null,tn=null;function $t(y,z,E){E||(E=z,z={}),typeof E!="function"&&ot(7);var re={};ni(y,"",re,z);var ce=Object.keys(re),he=ce.length,Ze=0,Ue=0,Xe=he,$e=new Array(he),gt=[],Ut=function(){for(var Tn=0;Tn65535&&sr(ot(11,0,1),null),!fr)sr(null,ir);else if(Ui<16e4)try{sr(null,bn(ir,Wn))}catch(fi){sr(fi,null)}else gt.push(sn(ir,Wn,sr))},Bn=0;Bn65535&&ot(11);var fn=gt?bn(Xe,$e):Xe,hr=fn.length,ir=kt();ir.p(Xe),re.push(de($e,{size:Xe.length,crc:ir.d(),c:fn,f:Ut,m:Dn,u:qt!=Ze.length||Dn&&ft.length!=Bn,o:ce,compression:gt})),ce+=30+qt+Tn+hr,he+=76+2*(qt+Tn)+(Bn||0)+hr}for(var Wn=new qe(he+22),oi=ce,Ui=he-ce,Ei=0;Ei65558)return Ze(ot(13,0,1),null),ce;var Xe=Xt(y,Ue+8);if(Xe){var $e=Xe,gt=Wt(y,Ue+16),Ut=gt==4294967295||$e==65535;if(Ut){var qt=Wt(y,Ue-12);Ut=Wt(y,qt)==101075792,Ut&&($e=Xe=Wt(y,qt+32),gt=Wt(y,qt+48))}for(var ft=z&&z.filter,Dn=function(Tn){var fn=nr(y,gt,Ut),hr=fn[0],ir=fn[1],Wn=fn[2],oi=fn[3],Ui=fn[4],Ei=fn[5],Fr=li(y,Ei);gt=Ui;var Gn=function(cn,kn){cn?(ce(),Ze(cn,null)):(kn&&(he[oi]=kn),--Xe||Ze(null,he))};if(!ft||ft({name:oi,size:ir,originalSize:Wn,compression:hr}))if(!hr)Gn(null,Ne(y,Fr,Fr+ir));else if(hr==8){var Vr=y.subarray(Fr,Fr+ir);if(Wn<524288||ir>.8*Wn)try{Gn(null,si(Vr,{out:new qe(Wn)}))}catch(cn){Gn(cn,null)}else re.push(ti(Vr,{size:Wn},Gn))}else Gn(ot(14,"unknown compression type "+hr,1),null);else Gn(null,null)},Bn=0;Bn<$e;++Bn)Dn(Bn)}else Ze(null,{});return ce}function Ci(y,z){for(var E={},re=y.length-22;Wt(y,re)!=101010256;--re)(!re||y.length-re>65558)&&ot(13);var ce=Xt(y,re+8);if(!ce)return{};var he=Wt(y,re+16),Ze=he==4294967295||ce==65535;if(Ze){var Ue=Wt(y,re-12);Ze=Wt(y,Ue)==101075792,Ze&&(ce=Wt(y,Ue+32),he=Wt(y,Ue+48))}for(var Xe=z&&z.filter,$e=0;$e{const y=new Uint8Array(4),z=new Uint32Array(y.buffer);return!((z[0]=1)&y[0])})(),Hi={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class ai{constructor(z=$i,E={}){Nl(this,"buffer");Nl(this,"byteLength");Nl(this,"byteOffset");Nl(this,"length");Nl(this,"offset");Nl(this,"lastWrittenByte");Nl(this,"littleEndian");Nl(this,"_data");Nl(this,"_mark");Nl(this,"_marks");let re=!1;typeof z=="number"?z=new ArrayBuffer(z):(re=!0,this.lastWrittenByte=z.byteLength);const ce=E.offset?E.offset>>>0:0,he=z.byteLength-ce;let Ze=ce;(ArrayBuffer.isView(z)||z instanceof ai)&&(z.byteLength!==z.buffer.byteLength&&(Ze=z.byteOffset+ce),z=z.buffer),re?this.lastWrittenByte=he:this.lastWrittenByte=0,this.buffer=z,this.length=he,this.byteLength=he,this.byteOffset=Ze,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,Ze,he),this._mark=0,this._marks=[]}available(z=1){return this.offset+z<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(z=1){return this.offset+=z,this}back(z=1){return this.offset-=z,this}seek(z){return this.offset=z,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const z=this._marks.pop();if(z===void 0)throw new Error("Mark stack empty");return this.seek(z),this}rewind(){return this.offset=0,this}ensureAvailable(z=1){if(!this.available(z)){const re=(this.offset+z)*2,ce=new Uint8Array(re);ce.set(new Uint8Array(this.buffer)),this.buffer=ce.buffer,this.length=re,this.byteLength=re,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(z=1){return this.readArray(z,"uint8")}readArray(z,E){const re=Hi[E].BYTES_PER_ELEMENT*z,ce=this.byteOffset+this.offset,he=this.buffer.slice(ce,ce+re);if(this.littleEndian===no&&E!=="uint8"&&E!=="int8"){const Ue=new Uint8Array(this.buffer.slice(ce,ce+re));Ue.reverse();const Xe=new Hi[E](Ue.buffer);return this.offset+=re,Xe.reverse(),Xe}const Ze=new Hi[E](he);return this.offset+=re,Ze}readInt16(){const z=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,z}readUint16(){const z=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,z}readInt32(){const z=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,z}readUint32(){const z=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat32(){const z=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat64(){const z=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,z}readBigInt64(){const z=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,z}readBigUint64(){const z=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,z}readChar(){return String.fromCharCode(this.readInt8())}readChars(z=1){let E="";for(let re=0;rethis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const ao=4,ki=0,So=1,uo=2;function Do(y){let z=y.length;for(;--z>=0;)y[z]=0}const Co=0,to=1,Mo=2,Go=3,zo=258,No=29,zi=256,Vt=zi+1+No,$r=30,ui=19,Zr=2*Vt+1,Ri=15,ro=16,jr=7,Yr=256,Bi=16,_i=17,Ro=18,ya=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),$o=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),Ea=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),da=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),wa=512,Wr=new Array((Vt+2)*2);Do(Wr);const Ji=new Array($r*2);Do(Ji);const xo=new Array(wa);Do(xo);const ba=new Array(zo-Go+1);Do(ba);const Xa=new Array(No);Do(Xa);const ns=new Array($r);Do(ns);function Ta(y,z,E,re,ce){this.static_tree=y,this.extra_bits=z,this.extra_base=E,this.elems=re,this.max_length=ce,this.has_stree=y&&y.length}let Za,Fo,vo;function qo(y,z){this.dyn_tree=y,this.max_code=0,this.stat_desc=z}const ja=y=>y<256?xo[y]:xo[256+(y>>>7)],ls=(y,z)=>{y.pending_buf[y.pending++]=z&255,y.pending_buf[y.pending++]=z>>>8&255},Fs=(y,z,E)=>{y.bi_valid>ro-E?(y.bi_buf|=z<>ro-y.bi_valid,y.bi_valid+=E-ro):(y.bi_buf|=z<{Fs(y,E[z*2],E[z*2+1])},tu=(y,z)=>{let E=0;do E|=y&1,y>>>=1,E<<=1;while(--z>0);return E>>>1},Au=y=>{y.bi_valid===16?(ls(y,y.bi_buf),y.bi_buf=0,y.bi_valid=0):y.bi_valid>=8&&(y.pending_buf[y.pending++]=y.bi_buf&255,y.bi_buf>>=8,y.bi_valid-=8)},tl=(y,z)=>{const E=z.dyn_tree,re=z.max_code,ce=z.stat_desc.static_tree,he=z.stat_desc.has_stree,Ze=z.stat_desc.extra_bits,Ue=z.stat_desc.extra_base,Xe=z.stat_desc.max_length;let $e,gt,Ut,qt,ft,Dn,Bn=0;for(qt=0;qt<=Ri;qt++)y.bl_count[qt]=0;for(E[y.heap[y.heap_max]*2+1]=0,$e=y.heap_max+1;$eXe&&(qt=Xe,Bn++),E[gt*2+1]=qt,!(gt>re)&&(y.bl_count[qt]++,ft=0,gt>=Ue&&(ft=Ze[gt-Ue]),Dn=E[gt*2],y.opt_len+=Dn*(qt+ft),he&&(y.static_len+=Dn*(ce[gt*2+1]+ft)));if(Bn!==0){do{for(qt=Xe-1;y.bl_count[qt]===0;)qt--;y.bl_count[qt]--,y.bl_count[qt+1]+=2,y.bl_count[Xe]--,Bn-=2}while(Bn>0);for(qt=Xe;qt!==0;qt--)for(gt=y.bl_count[qt];gt!==0;)Ut=y.heap[--$e],!(Ut>re)&&(E[Ut*2+1]!==qt&&(y.opt_len+=(qt-E[Ut*2+1])*E[Ut*2],E[Ut*2+1]=qt),gt--)}},fl=(y,z,E)=>{const re=new Array(Ri+1);let ce=0,he,Ze;for(he=1;he<=Ri;he++)ce=ce+E[he-1]<<1,re[he]=ce;for(Ze=0;Ze<=z;Ze++){let Ue=y[Ze*2+1];Ue!==0&&(y[Ze*2]=tu(re[Ue]++,Ue))}},wu=()=>{let y,z,E,re,ce;const he=new Array(Ri+1);for(E=0,re=0;re>=7;re<$r;re++)for(ns[re]=ce<<7,y=0;y<1<<$o[re]-7;y++)xo[256+ce++]=re;for(z=0;z<=Ri;z++)he[z]=0;for(y=0;y<=143;)Wr[y*2+1]=8,y++,he[8]++;for(;y<=255;)Wr[y*2+1]=9,y++,he[9]++;for(;y<=279;)Wr[y*2+1]=7,y++,he[7]++;for(;y<=287;)Wr[y*2+1]=8,y++,he[8]++;for(fl(Wr,Vt+1,he),y=0;y<$r;y++)Ji[y*2+1]=5,Ji[y*2]=tu(y,5);Za=new Ta(Wr,ya,zi+1,Vt,Ri),Fo=new Ta(Ji,$o,0,$r,Ri),vo=new Ta(new Array(0),Ea,0,ui,jr)},Lu=y=>{let z;for(z=0;z{y.bi_valid>8?ls(y,y.bi_buf):y.bi_valid>0&&(y.pending_buf[y.pending++]=y.bi_buf),y.bi_buf=0,y.bi_valid=0},vc=(y,z,E,re)=>{const ce=z*2,he=E*2;return y[ce]{const re=y.heap[E];let ce=E<<1;for(;ce<=y.heap_len&&(ce{let re,ce,he=0,Ze,Ue;if(y.sym_next!==0)do re=y.pending_buf[y.sym_buf+he++]&255,re+=(y.pending_buf[y.sym_buf+he++]&255)<<8,ce=y.pending_buf[y.sym_buf+he++],re===0?il(y,ce,z):(Ze=ba[ce],il(y,Ze+zi+1,z),Ue=ya[Ze],Ue!==0&&(ce-=Xa[Ze],Fs(y,ce,Ue)),re--,Ze=ja(re),il(y,Ze,E),Ue=$o[Ze],Ue!==0&&(re-=ns[Ze],Fs(y,re,Ue)));while(he{const E=z.dyn_tree,re=z.stat_desc.static_tree,ce=z.stat_desc.has_stree,he=z.stat_desc.elems;let Ze,Ue,Xe=-1,$e;for(y.heap_len=0,y.heap_max=Zr,Ze=0;Ze>1;Ze>=1;Ze--)Du(y,E,Ze);$e=he;do Ze=y.heap[1],y.heap[1]=y.heap[y.heap_len--],Du(y,E,1),Ue=y.heap[1],y.heap[--y.heap_max]=Ze,y.heap[--y.heap_max]=Ue,E[$e*2]=E[Ze*2]+E[Ue*2],y.depth[$e]=(y.depth[Ze]>=y.depth[Ue]?y.depth[Ze]:y.depth[Ue])+1,E[Ze*2+1]=E[Ue*2+1]=$e,y.heap[1]=$e++,Du(y,E,1);while(y.heap_len>=2);y.heap[--y.heap_max]=y.heap[1],tl(y,z),fl(E,Xe,y.bl_count)},ha=(y,z,E)=>{let re,ce=-1,he,Ze=z[0*2+1],Ue=0,Xe=7,$e=4;for(Ze===0&&(Xe=138,$e=3),z[(E+1)*2+1]=65535,re=0;re<=E;re++)he=Ze,Ze=z[(re+1)*2+1],!(++Ue{let re,ce=-1,he,Ze=z[0*2+1],Ue=0,Xe=7,$e=4;for(Ze===0&&(Xe=138,$e=3),re=0;re<=E;re++)if(he=Ze,Ze=z[(re+1)*2+1],!(++Ue{let z;for(ha(y,y.dyn_ltree,y.l_desc.max_code),ha(y,y.dyn_dtree,y.d_desc.max_code),La(y,y.bl_desc),z=ui-1;z>=3&&y.bl_tree[da[z]*2+1]===0;z--);return y.opt_len+=3*(z+1)+5+5+4,z},Ya=(y,z,E,re)=>{let ce;for(Fs(y,z-257,5),Fs(y,E-1,5),Fs(y,re-4,4),ce=0;ce{let z=4093624447,E;for(E=0;E<=31;E++,z>>>=1)if(z&1&&y.dyn_ltree[E*2]!==0)return ki;if(y.dyn_ltree[9*2]!==0||y.dyn_ltree[10*2]!==0||y.dyn_ltree[13*2]!==0)return So;for(E=32;E{Kl||(wu(),Kl=!0),y.l_desc=new qo(y.dyn_ltree,Za),y.d_desc=new qo(y.dyn_dtree,Fo),y.bl_desc=new qo(y.bl_tree,vo),y.bi_buf=0,y.bi_valid=0,Lu(y)},Ol=(y,z,E,re)=>{Fs(y,(Co<<1)+(re?1:0),3),hl(y),ls(y,E),ls(y,~E),E&&y.pending_buf.set(y.window.subarray(z,z+E),y.pending),y.pending+=E},bu=y=>{Fs(y,to<<1,3),il(y,Yr,Wr),Au(y)},du=(y,z,E,re)=>{let ce,he,Ze=0;y.level>0?(y.strm.data_type===uo&&(y.strm.data_type=$a(y)),La(y,y.l_desc),La(y,y.d_desc),Ze=es(y),ce=y.opt_len+3+7>>>3,he=y.static_len+3+7>>>3,he<=ce&&(ce=he)):ce=he=E+5,E+4<=ce&&z!==-1?Ol(y,z,E,re):y.strategy===ao||he===ce?(Fs(y,(to<<1)+(re?1:0),3),fa(y,Wr,Ji)):(Fs(y,(Mo<<1)+(re?1:0),3),Ya(y,y.l_desc.max_code+1,y.d_desc.max_code+1,Ze+1),fa(y,y.dyn_ltree,y.dyn_dtree)),Lu(y),re&&hl(y)},Gu=(y,z,E)=>(y.pending_buf[y.sym_buf+y.sym_next++]=z,y.pending_buf[y.sym_buf+y.sym_next++]=z>>8,y.pending_buf[y.sym_buf+y.sym_next++]=E,z===0?y.dyn_ltree[E*2]++:(y.matches++,z--,y.dyn_ltree[(ba[E]+zi+1)*2]++,y.dyn_dtree[ja(z)*2]++),y.sym_next===y.sym_end);var Qi=su,Bo=Ol,Wa=du,ol=Gu,kc=bu,nu={_tr_init:Qi,_tr_stored_block:Bo,_tr_flush_block:Wa,_tr_tally:ol,_tr_align:kc},ps=(y,z,E,re)=>{let ce=y&65535|0,he=y>>>16&65535|0,Ze=0;for(;E!==0;){Ze=E>2e3?2e3:E,E-=Ze;do ce=ce+z[re++]|0,he=he+ce|0;while(--Ze);ce%=65521,he%=65521}return ce|he<<16|0};const oc=()=>{let y,z=[];for(var E=0;E<256;E++){y=E;for(var re=0;re<8;re++)y=y&1?3988292384^y>>>1:y>>>1;z[E]=y}return z},td=new Uint32Array(oc());var ka=(y,z,E,re)=>{const ce=td,he=re+E;y^=-1;for(let Ze=re;Ze>>8^ce[(y^z[Ze])&255];return y^-1},Xu={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},yc={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Nu,_tr_stored_block:Ns,_tr_flush_block:Yu,_tr_tally:Pl,_tr_align:ml}=nu,{Z_NO_FLUSH:Tl,Z_PARTIAL_FLUSH:xu,Z_FULL_FLUSH:$u,Z_FINISH:ru,Z_BLOCK:fu,Z_OK:Fa,Z_STREAM_END:Ma,Z_STREAM_ERROR:bs,Z_DATA_ERROR:ac,Z_BUF_ERROR:Zl,Z_DEFAULT_COMPRESSION:lu,Z_FILTERED:Gc,Z_HUFFMAN_ONLY:wc,Z_RLE:pA,Z_FIXED:Wl,Z_DEFAULT_STRATEGY:bc,Z_UNKNOWN:iA,Z_DEFLATED:oA}=yc,Ed=9,Jf=15,nd=8,Ou=256+1+29,TA=30,aA=19,Sd=2*Ou+1,qf=15,Ms=3,Ju=258,mA=Ju+Ms+1,Th=32,Xc=42,kh=57,Fd=69,eh=73,bf=91,Cf=103,Yc=113,ma=666,Rl=1,Mc=2,rd=3,kA=4,Kp=3,MA=(y,z)=>(y.msg=Xu[z],z),th=y=>y*2-(y>4?9:0),Uc=y=>{let z=y.length;for(;--z>=0;)y[z]=0},id=y=>{let z,E,re,ce=y.w_size;z=y.hash_size,re=z;do E=y.head[--re],y.head[re]=E>=ce?E-ce:0;while(--z);z=ce,re=z;do E=y.prev[--re],y.prev[re]=E>=ce?E-ce:0;while(--z)};let vA=(y,z,E)=>(z<{const z=y.state;let E=z.pending;E>y.avail_out&&(E=y.avail_out),E!==0&&(y.output.set(z.pending_buf.subarray(z.pending_out,z.pending_out+E),y.next_out),y.next_out+=E,z.pending_out+=E,y.total_out+=E,y.avail_out-=E,z.pending-=E,z.pending===0&&(z.pending_out=0))},sc=(y,z)=>{Yu(y,y.block_start>=0?y.block_start:-1,y.strstart-y.block_start,z),y.block_start=y.strstart,Dc(y.strm)},zs=(y,z)=>{y.pending_buf[y.pending++]=z},yA=(y,z)=>{y.pending_buf[y.pending++]=z>>>8&255,y.pending_buf[y.pending++]=z&255},od=(y,z,E,re)=>{let ce=y.avail_in;return ce>re&&(ce=re),ce===0?0:(y.avail_in-=ce,z.set(y.input.subarray(y.next_in,y.next_in+ce),E),y.state.wrap===1?y.adler=ps(y.adler,z,ce,E):y.state.wrap===2&&(y.adler=ka(y.adler,z,ce,E)),y.next_in+=ce,y.total_in+=ce,ce)},ad=(y,z)=>{let E=y.max_chain_length,re=y.strstart,ce,he,Ze=y.prev_length,Ue=y.nice_match;const Xe=y.strstart>y.w_size-mA?y.strstart-(y.w_size-mA):0,$e=y.window,gt=y.w_mask,Ut=y.prev,qt=y.strstart+Ju;let ft=$e[re+Ze-1],Dn=$e[re+Ze];y.prev_length>=y.good_match&&(E>>=2),Ue>y.lookahead&&(Ue=y.lookahead);do if(ce=z,!($e[ce+Ze]!==Dn||$e[ce+Ze-1]!==ft||$e[ce]!==$e[re]||$e[++ce]!==$e[re+1])){re+=2,ce++;do;while($e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&reZe){if(y.match_start=z,Ze=he,he>=Ue)break;ft=$e[re+Ze-1],Dn=$e[re+Ze]}}while((z=Ut[z>])>Xe&&--E!==0);return Ze<=y.lookahead?Ze:y.lookahead},wA=y=>{const z=y.w_size;let E,re,ce;do{if(re=y.window_size-y.lookahead-y.strstart,y.strstart>=z+(z-mA)&&(y.window.set(y.window.subarray(z,z+z-re),0),y.match_start-=z,y.strstart-=z,y.block_start-=z,y.insert>y.strstart&&(y.insert=y.strstart),id(y),re+=z),y.strm.avail_in===0)break;if(E=od(y.strm,y.window,y.strstart+y.lookahead,re),y.lookahead+=E,y.lookahead+y.insert>=Ms)for(ce=y.strstart-y.insert,y.ins_h=y.window[ce],y.ins_h=vA(y,y.ins_h,y.window[ce+1]);y.insert&&(y.ins_h=vA(y,y.ins_h,y.window[ce+Ms-1]),y.prev[ce&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=ce,ce++,y.insert--,!(y.lookahead+y.insert{let E=y.pending_buf_size-5>y.w_size?y.w_size:y.pending_buf_size-5,re,ce,he,Ze=0,Ue=y.strm.avail_in;do{if(re=65535,he=y.bi_valid+42>>3,y.strm.avail_outce+y.strm.avail_in&&(re=ce+y.strm.avail_in),re>he&&(re=he),re>8,y.pending_buf[y.pending-2]=~re,y.pending_buf[y.pending-1]=~re>>8,Dc(y.strm),ce&&(ce>re&&(ce=re),y.strm.output.set(y.window.subarray(y.block_start,y.block_start+ce),y.strm.next_out),y.strm.next_out+=ce,y.strm.avail_out-=ce,y.strm.total_out+=ce,y.block_start+=ce,re-=ce),re&&(od(y.strm,y.strm.output,y.strm.next_out,re),y.strm.next_out+=re,y.strm.avail_out-=re,y.strm.total_out+=re)}while(Ze===0);return Ue-=y.strm.avail_in,Ue&&(Ue>=y.w_size?(y.matches=2,y.window.set(y.strm.input.subarray(y.strm.next_in-y.w_size,y.strm.next_in),0),y.strstart=y.w_size,y.insert=y.strstart):(y.window_size-y.strstart<=Ue&&(y.strstart-=y.w_size,y.window.set(y.window.subarray(y.w_size,y.w_size+y.strstart),0),y.matches<2&&y.matches++,y.insert>y.strstart&&(y.insert=y.strstart)),y.window.set(y.strm.input.subarray(y.strm.next_in-Ue,y.strm.next_in),y.strstart),y.strstart+=Ue,y.insert+=Ue>y.w_size-y.insert?y.w_size-y.insert:Ue),y.block_start=y.strstart),y.high_waterhe&&y.block_start>=y.w_size&&(y.block_start-=y.w_size,y.strstart-=y.w_size,y.window.set(y.window.subarray(y.w_size,y.w_size+y.strstart),0),y.matches<2&&y.matches++,he+=y.w_size,y.insert>y.strstart&&(y.insert=y.strstart)),he>y.strm.avail_in&&(he=y.strm.avail_in),he&&(od(y.strm,y.window,y.strstart,he),y.strstart+=he,y.insert+=he>y.w_size-y.insert?y.w_size-y.insert:he),y.high_water>3,he=y.pending_buf_size-he>65535?65535:y.pending_buf_size-he,E=he>y.w_size?y.w_size:he,ce=y.strstart-y.block_start,(ce>=E||(ce||z===ru)&&z!==Tl&&y.strm.avail_in===0&&ce<=he)&&(re=ce>he?he:ce,Ze=z===ru&&y.strm.avail_in===0&&re===ce?1:0,Ns(y,y.block_start,re,Ze),y.block_start+=re,Dc(y.strm)),Ze?rd:Rl)},xf=(y,z)=>{let E,re;for(;;){if(y.lookahead=Ms&&(y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ms-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),E!==0&&y.strstart-E<=y.w_size-mA&&(y.match_length=ad(y,E)),y.match_length>=Ms)if(re=Pl(y,y.strstart-y.match_start,y.match_length-Ms),y.lookahead-=y.match_length,y.match_length<=y.max_lazy_match&&y.lookahead>=Ms){y.match_length--;do y.strstart++,y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ms-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart;while(--y.match_length!==0);y.strstart++}else y.strstart+=y.match_length,y.match_length=0,y.ins_h=y.window[y.strstart],y.ins_h=vA(y,y.ins_h,y.window[y.strstart+1]);else re=Pl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++;if(re&&(sc(y,!1),y.strm.avail_out===0))return Rl}return y.insert=y.strstart{let E,re,ce;for(;;){if(y.lookahead=Ms&&(y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ms-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),y.prev_length=y.match_length,y.prev_match=y.match_start,y.match_length=Ms-1,E!==0&&y.prev_length4096)&&(y.match_length=Ms-1)),y.prev_length>=Ms&&y.match_length<=y.prev_length){ce=y.strstart+y.lookahead-Ms,re=Pl(y,y.strstart-1-y.prev_match,y.prev_length-Ms),y.lookahead-=y.prev_length-1,y.prev_length-=2;do++y.strstart<=ce&&(y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ms-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart);while(--y.prev_length!==0);if(y.match_available=0,y.match_length=Ms-1,y.strstart++,re&&(sc(y,!1),y.strm.avail_out===0))return Rl}else if(y.match_available){if(re=Pl(y,0,y.window[y.strstart-1]),re&&sc(y,!1),y.strstart++,y.lookahead--,y.strm.avail_out===0)return Rl}else y.match_available=1,y.strstart++,y.lookahead--}return y.match_available&&(re=Pl(y,0,y.window[y.strstart-1]),y.match_available=0),y.insert=y.strstart{let E,re,ce,he;const Ze=y.window;for(;;){if(y.lookahead<=Ju){if(wA(y),y.lookahead<=Ju&&z===Tl)return Rl;if(y.lookahead===0)break}if(y.match_length=0,y.lookahead>=Ms&&y.strstart>0&&(ce=y.strstart-1,re=Ze[ce],re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce])){he=y.strstart+Ju;do;while(re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&cey.lookahead&&(y.match_length=y.lookahead)}if(y.match_length>=Ms?(E=Pl(y,1,y.match_length-Ms),y.lookahead-=y.match_length,y.strstart+=y.match_length,y.match_length=0):(E=Pl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++),E&&(sc(y,!1),y.strm.avail_out===0))return Rl}return y.insert=0,z===ru?(sc(y,!0),y.strm.avail_out===0?rd:kA):y.sym_next&&(sc(y,!1),y.strm.avail_out===0)?Rl:Mc},Wp=(y,z)=>{let E;for(;;){if(y.lookahead===0&&(wA(y),y.lookahead===0)){if(z===Tl)return Rl;break}if(y.match_length=0,E=Pl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++,E&&(sc(y,!1),y.strm.avail_out===0))return Rl}return y.insert=0,z===ru?(sc(y,!0),y.strm.avail_out===0?rd:kA):y.sym_next&&(sc(y,!1),y.strm.avail_out===0)?Rl:Mc};function lc(y,z,E,re,ce){this.good_length=y,this.max_lazy=z,this.nice_length=E,this.max_chain=re,this.func=ce}const bA=[new lc(0,0,0,0,UA),new lc(4,4,8,4,xf),new lc(4,5,16,8,xf),new lc(4,6,32,32,xf),new lc(4,4,16,16,Id),new lc(8,16,32,32,Id),new lc(8,16,128,128,Id),new lc(8,32,128,256,Id),new lc(32,128,258,1024,Id),new lc(32,258,258,4096,Id)],up=y=>{y.window_size=2*y.w_size,Uc(y.head),y.max_lazy_match=bA[y.level].max_lazy,y.good_match=bA[y.level].good_length,y.nice_match=bA[y.level].nice_length,y.max_chain_length=bA[y.level].max_chain,y.strstart=0,y.block_start=0,y.lookahead=0,y.insert=0,y.match_length=y.prev_length=Ms-1,y.match_available=0,y.ins_h=0};function Vp(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=oA,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Sd*2),this.dyn_dtree=new Uint16Array((2*TA+1)*2),this.bl_tree=new Uint16Array((2*aA+1)*2),Uc(this.dyn_ltree),Uc(this.dyn_dtree),Uc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(qf+1),this.heap=new Uint16Array(2*Ou+1),Uc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Ou+1),Uc(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Xd=y=>{if(!y)return 1;const z=y.state;return!z||z.strm!==y||z.status!==Xc&&z.status!==kh&&z.status!==Fd&&z.status!==eh&&z.status!==bf&&z.status!==Cf&&z.status!==Yc&&z.status!==ma?1:0},cp=y=>{if(Xd(y))return MA(y,bs);y.total_in=y.total_out=0,y.data_type=iA;const z=y.state;return z.pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap===2?kh:z.wrap?Xc:Yc,y.adler=z.wrap===2?0:1,z.last_flush=-2,Nu(z),Fa},Yd=y=>{const z=cp(y);return z===Fa&&up(y.state),z},Gp=(y,z)=>Xd(y)||y.state.wrap!==2?bs:(y.state.gzhead=z,Fa),uc=(y,z,E,re,ce,he)=>{if(!y)return bs;let Ze=1;if(z===lu&&(z=6),re<0?(Ze=0,re=-re):re>15&&(Ze=2,re-=16),ce<1||ce>Ed||E!==oA||re<8||re>15||z<0||z>9||he<0||he>Wl||re===8&&Ze!==1)return MA(y,bs);re===8&&(re=9);const Ue=new Vp;return y.state=Ue,Ue.strm=y,Ue.status=Xc,Ue.wrap=Ze,Ue.gzhead=null,Ue.w_bits=re,Ue.w_size=1<uc(y,z,oA,Jf,nd,bc),cc=(y,z)=>{if(Xd(y)||z>fu||z<0)return y?MA(y,bs):bs;const E=y.state;if(!y.output||y.avail_in!==0&&!y.input||E.status===ma&&z!==ru)return MA(y,y.avail_out===0?Zl:bs);const re=E.last_flush;if(E.last_flush=z,E.pending!==0){if(Dc(y),y.avail_out===0)return E.last_flush=-1,Fa}else if(y.avail_in===0&&th(z)<=th(re)&&z!==ru)return MA(y,Zl);if(E.status===ma&&y.avail_in!==0)return MA(y,Zl);if(E.status===Xc&&E.wrap===0&&(E.status=Yc),E.status===Xc){let ce=oA+(E.w_bits-8<<4)<<8,he=-1;if(E.strategy>=wc||E.level<2?he=0:E.level<6?he=1:E.level===6?he=2:he=3,ce|=he<<6,E.strstart!==0&&(ce|=Th),ce+=31-ce%31,yA(E,ce),E.strstart!==0&&(yA(E,y.adler>>>16),yA(E,y.adler&65535)),y.adler=1,E.status=Yc,Dc(y),E.pending!==0)return E.last_flush=-1,Fa}if(E.status===kh){if(y.adler=0,zs(E,31),zs(E,139),zs(E,8),E.gzhead)zs(E,(E.gzhead.text?1:0)+(E.gzhead.hcrc?2:0)+(E.gzhead.extra?4:0)+(E.gzhead.name?8:0)+(E.gzhead.comment?16:0)),zs(E,E.gzhead.time&255),zs(E,E.gzhead.time>>8&255),zs(E,E.gzhead.time>>16&255),zs(E,E.gzhead.time>>24&255),zs(E,E.level===9?2:E.strategy>=wc||E.level<2?4:0),zs(E,E.gzhead.os&255),E.gzhead.extra&&E.gzhead.extra.length&&(zs(E,E.gzhead.extra.length&255),zs(E,E.gzhead.extra.length>>8&255)),E.gzhead.hcrc&&(y.adler=ka(y.adler,E.pending_buf,E.pending,0)),E.gzindex=0,E.status=Fd;else if(zs(E,0),zs(E,0),zs(E,0),zs(E,0),zs(E,0),zs(E,E.level===9?2:E.strategy>=wc||E.level<2?4:0),zs(E,Kp),E.status=Yc,Dc(y),E.pending!==0)return E.last_flush=-1,Fa}if(E.status===Fd){if(E.gzhead.extra){let ce=E.pending,he=(E.gzhead.extra.length&65535)-E.gzindex;for(;E.pending+he>E.pending_buf_size;){let Ue=E.pending_buf_size-E.pending;if(E.pending_buf.set(E.gzhead.extra.subarray(E.gzindex,E.gzindex+Ue),E.pending),E.pending=E.pending_buf_size,E.gzhead.hcrc&&E.pending>ce&&(y.adler=ka(y.adler,E.pending_buf,E.pending-ce,ce)),E.gzindex+=Ue,Dc(y),E.pending!==0)return E.last_flush=-1,Fa;ce=0,he-=Ue}let Ze=new Uint8Array(E.gzhead.extra);E.pending_buf.set(Ze.subarray(E.gzindex,E.gzindex+he),E.pending),E.pending+=he,E.gzhead.hcrc&&E.pending>ce&&(y.adler=ka(y.adler,E.pending_buf,E.pending-ce,ce)),E.gzindex=0}E.status=eh}if(E.status===eh){if(E.gzhead.name){let ce=E.pending,he;do{if(E.pending===E.pending_buf_size){if(E.gzhead.hcrc&&E.pending>ce&&(y.adler=ka(y.adler,E.pending_buf,E.pending-ce,ce)),Dc(y),E.pending!==0)return E.last_flush=-1,Fa;ce=0}E.gzindexce&&(y.adler=ka(y.adler,E.pending_buf,E.pending-ce,ce)),E.gzindex=0}E.status=bf}if(E.status===bf){if(E.gzhead.comment){let ce=E.pending,he;do{if(E.pending===E.pending_buf_size){if(E.gzhead.hcrc&&E.pending>ce&&(y.adler=ka(y.adler,E.pending_buf,E.pending-ce,ce)),Dc(y),E.pending!==0)return E.last_flush=-1,Fa;ce=0}E.gzindexce&&(y.adler=ka(y.adler,E.pending_buf,E.pending-ce,ce))}E.status=Cf}if(E.status===Cf){if(E.gzhead.hcrc){if(E.pending+2>E.pending_buf_size&&(Dc(y),E.pending!==0))return E.last_flush=-1,Fa;zs(E,y.adler&255),zs(E,y.adler>>8&255),y.adler=0}if(E.status=Yc,Dc(y),E.pending!==0)return E.last_flush=-1,Fa}if(y.avail_in!==0||E.lookahead!==0||z!==Tl&&E.status!==ma){let ce=E.level===0?UA(E,z):E.strategy===wc?Wp(E,z):E.strategy===pA?Mh(E,z):bA[E.level].func(E,z);if((ce===rd||ce===kA)&&(E.status=ma),ce===Rl||ce===rd)return y.avail_out===0&&(E.last_flush=-1),Fa;if(ce===Mc&&(z===xu?ml(E):z!==fu&&(Ns(E,0,0,!1),z===$u&&(Uc(E.head),E.lookahead===0&&(E.strstart=0,E.block_start=0,E.insert=0))),Dc(y),y.avail_out===0))return E.last_flush=-1,Fa}return z!==ru?Fa:E.wrap<=0?Ma:(E.wrap===2?(zs(E,y.adler&255),zs(E,y.adler>>8&255),zs(E,y.adler>>16&255),zs(E,y.adler>>24&255),zs(E,y.total_in&255),zs(E,y.total_in>>8&255),zs(E,y.total_in>>16&255),zs(E,y.total_in>>24&255)):(yA(E,y.adler>>>16),yA(E,y.adler&65535)),Dc(y),E.wrap>0&&(E.wrap=-E.wrap),E.pending!==0?Fa:Ma)},Tu=y=>{if(Xd(y))return bs;const z=y.state.status;return y.state=null,z===Yc?MA(y,ac):Fa},sd=(y,z)=>{let E=z.length;if(Xd(y))return bs;const re=y.state,ce=re.wrap;if(ce===2||ce===1&&re.status!==Xc||re.lookahead)return bs;if(ce===1&&(y.adler=ps(y.adler,z,E,0)),re.wrap=0,E>=re.w_size){ce===0&&(Uc(re.head),re.strstart=0,re.block_start=0,re.insert=0);let Xe=new Uint8Array(re.w_size);Xe.set(z.subarray(E-re.w_size,E),0),z=Xe,E=re.w_size}const he=y.avail_in,Ze=y.next_in,Ue=y.input;for(y.avail_in=E,y.next_in=0,y.input=z,wA(re);re.lookahead>=Ms;){let Xe=re.strstart,$e=re.lookahead-(Ms-1);do re.ins_h=vA(re,re.ins_h,re.window[Xe+Ms-1]),re.prev[Xe&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=Xe,Xe++;while(--$e);re.strstart=Xe,re.lookahead=Ms-1,wA(re)}return re.strstart+=re.lookahead,re.block_start=re.strstart,re.insert=re.lookahead,re.lookahead=0,re.match_length=re.prev_length=Ms-1,re.match_available=0,y.next_in=Ze,y.input=Ue,y.avail_in=he,re.wrap=ce,Fa};var $d=Pu,Bf=uc,Ap=Yd,dp=cp,fp=Gp,nh=cc,CA=Tu,Ld=sd,hp="pako deflate (from Nodeca project)",bt={deflateInit:$d,deflateInit2:Bf,deflateReset:Ap,deflateResetKeep:dp,deflateSetHeader:fp,deflate:nh,deflateEnd:CA,deflateSetDictionary:Ld,deflateInfo:hp};const wt=(y,z)=>Object.prototype.hasOwnProperty.call(y,z);var Yt=function(y){const z=Array.prototype.slice.call(arguments,1);for(;z.length;){const E=z.shift();if(E){if(typeof E!="object")throw new TypeError(E+"must be non-object");for(const re in E)wt(E,re)&&(y[re]=E[re])}}return y},dn=y=>{let z=0;for(let re=0,ce=y.length;re=252?6:y>=248?5:y>=240?4:y>=224?3:y>=192?2:1;tr[254]=tr[254]=1;var Jn=y=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(y);let z,E,re,ce,he,Ze=y.length,Ue=0;for(ce=0;ce>>6,z[he++]=128|E&63):E<65536?(z[he++]=224|E>>>12,z[he++]=128|E>>>6&63,z[he++]=128|E&63):(z[he++]=240|E>>>18,z[he++]=128|E>>>12&63,z[he++]=128|E>>>6&63,z[he++]=128|E&63);return z};const mr=(y,z)=>{if(z<65534&&y.subarray&&Un)return String.fromCharCode.apply(null,y.length===z?y:y.subarray(0,z));let E="";for(let re=0;re{const E=z||y.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(y.subarray(0,z));let re,ce;const he=new Array(E*2);for(ce=0,re=0;re4){he[ce++]=65533,re+=Ue-1;continue}for(Ze&=Ue===2?31:Ue===3?15:7;Ue>1&&re1){he[ce++]=65533;continue}Ze<65536?he[ce++]=Ze:(Ze-=65536,he[ce++]=55296|Ze>>10&1023,he[ce++]=56320|Ze&1023)}return mr(he,ce)},ii=(y,z)=>{z=z||y.length,z>y.length&&(z=y.length);let E=z-1;for(;E>=0&&(y[E]&192)===128;)E--;return E<0||E===0?z:E+tr[y[E]]>z?E:z},Mr={string2buf:Jn,buf2string:cr,utf8border:ii};function Ur(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Lr=Ur;const Sr=Object.prototype.toString,{Z_NO_FLUSH:Wi,Z_SYNC_FLUSH:mi,Z_FULL_FLUSH:eo,Z_FINISH:co,Z_OK:qi,Z_STREAM_END:po,Z_DEFAULT_COMPRESSION:Io,Z_DEFAULT_STRATEGY:jo,Z_DEFLATED:Uo}=yc;function Da(y){this.options=In.assign({level:Io,method:Uo,chunkSize:16384,windowBits:15,memLevel:8,strategy:jo},y||{});let z=this.options;z.raw&&z.windowBits>0?z.windowBits=-z.windowBits:z.gzip&&z.windowBits>0&&z.windowBits<16&&(z.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Lr,this.strm.avail_out=0;let E=bt.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(E!==qi)throw new Error(Xu[E]);if(z.header&&bt.deflateSetHeader(this.strm,z.header),z.dictionary){let re;if(typeof z.dictionary=="string"?re=Mr.string2buf(z.dictionary):Sr.call(z.dictionary)==="[object ArrayBuffer]"?re=new Uint8Array(z.dictionary):re=z.dictionary,E=bt.deflateSetDictionary(this.strm,re),E!==qi)throw new Error(Xu[E]);this._dict_set=!0}}Da.prototype.push=function(y,z){const E=this.strm,re=this.options.chunkSize;let ce,he;if(this.ended)return!1;for(z===~~z?he=z:he=z===!0?co:Wi,typeof y=="string"?E.input=Mr.string2buf(y):Sr.call(y)==="[object ArrayBuffer]"?E.input=new Uint8Array(y):E.input=y,E.next_in=0,E.avail_in=E.input.length;;){if(E.avail_out===0&&(E.output=new Uint8Array(re),E.next_out=0,E.avail_out=re),(he===mi||he===eo)&&E.avail_out<=6){this.onData(E.output.subarray(0,E.next_out)),E.avail_out=0;continue}if(ce=bt.deflate(E,he),ce===po)return E.next_out>0&&this.onData(E.output.subarray(0,E.next_out)),ce=bt.deflateEnd(this.strm),this.onEnd(ce),this.ended=!0,ce===qi;if(E.avail_out===0){this.onData(E.output);continue}if(he>0&&E.next_out>0){this.onData(E.output.subarray(0,E.next_out)),E.avail_out=0;continue}if(E.avail_in===0)break}return!0},Da.prototype.onData=function(y){this.chunks.push(y)},Da.prototype.onEnd=function(y){y===qi&&(this.result=In.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg};function oa(y,z){const E=new Da(z);if(E.push(y,!0),E.err)throw E.msg||Xu[E.err];return E.result}function ta(y,z){return z=z||{},z.raw=!0,oa(y,z)}function Zo(y,z){return z=z||{},z.gzip=!0,oa(y,z)}var Ho=Da,Ko=oa,yo=ta,ho=Zo,_o=yc,Xo={Deflate:Ho,deflate:Ko,deflateRaw:yo,gzip:ho,constants:_o};const na=16209,bo=16191;var rs=function(z,E){let re,ce,he,Ze,Ue,Xe,$e,gt,Ut,qt,ft,Dn,Bn,Tn,fn,hr,ir,Wn,oi,Ui,Ei,Fr,Gn,Vr;const cn=z.state;re=z.next_in,Gn=z.input,ce=re+(z.avail_in-5),he=z.next_out,Vr=z.output,Ze=he-(E-z.avail_out),Ue=he+(z.avail_out-257),Xe=cn.dmax,$e=cn.wsize,gt=cn.whave,Ut=cn.wnext,qt=cn.window,ft=cn.hold,Dn=cn.bits,Bn=cn.lencode,Tn=cn.distcode,fn=(1<>>24,ft>>>=Wn,Dn-=Wn,Wn=ir>>>16&255,Wn===0)Vr[he++]=ir&65535;else if(Wn&16){oi=ir&65535,Wn&=15,Wn&&(Dn>>=Wn,Dn-=Wn),Dn<15&&(ft+=Gn[re++]<>>24,ft>>>=Wn,Dn-=Wn,Wn=ir>>>16&255,Wn&16){if(Ui=ir&65535,Wn&=15,DnXe){z.msg="invalid distance too far back",cn.mode=na;break e}if(ft>>>=Wn,Dn-=Wn,Wn=he-Ze,Ui>Wn){if(Wn=Ui-Wn,Wn>gt&&cn.sane){z.msg="invalid distance too far back",cn.mode=na;break e}if(Ei=0,Fr=qt,Ut===0){if(Ei+=$e-Wn,Wn2;)Vr[he++]=Fr[Ei++],Vr[he++]=Fr[Ei++],Vr[he++]=Fr[Ei++],oi-=3;oi&&(Vr[he++]=Fr[Ei++],oi>1&&(Vr[he++]=Fr[Ei++]))}else{Ei=he-Ui;do Vr[he++]=Vr[Ei++],Vr[he++]=Vr[Ei++],Vr[he++]=Vr[Ei++],oi-=3;while(oi>2);oi&&(Vr[he++]=Vr[Ei++],oi>1&&(Vr[he++]=Vr[Ei++]))}}else if(Wn&64){z.msg="invalid distance code",cn.mode=na;break e}else{ir=Tn[(ir&65535)+(ft&(1<>3,re-=oi,Dn-=oi<<3,ft&=(1<{const Xe=Ue.bits;let $e=0,gt=0,Ut=0,qt=0,ft=0,Dn=0,Bn=0,Tn=0,fn=0,hr=0,ir,Wn,oi,Ui,Ei,Fr=null,Gn;const Vr=new Uint16Array(Va+1),cn=new Uint16Array(Va+1);let kn=null,fr,sr,fi;for($e=0;$e<=Va;$e++)Vr[$e]=0;for(gt=0;gt=1&&Vr[qt]===0;qt--);if(ft>qt&&(ft=qt),qt===0)return ce[he++]=1<<24|64<<16|0,ce[he++]=1<<24|64<<16|0,Ue.bits=1,0;for(Ut=1;Ut0&&(y===al||qt!==1))return-1;for(cn[1]=0,$e=1;$ekl||y===Vl&&fn>xl)return 1;for(;;){fr=$e-Bn,Ze[gt]+1=Gn?(sr=kn[Ze[gt]-Gn],fi=Fr[Ze[gt]-Gn]):(sr=96,fi=0),ir=1<<$e-Bn,Wn=1<>Bn)+Wn]=fr<<24|sr<<16|fi|0;while(Wn!==0);for(ir=1<<$e-1;hr&ir;)ir>>=1;if(ir!==0?(hr&=ir-1,hr+=ir):hr=0,gt++,--Vr[$e]===0){if($e===qt)break;$e=z[E+Ze[gt]]}if($e>ft&&(hr&Ui)!==oi){for(Bn===0&&(Bn=ft),Ei+=Ut,Dn=$e-Bn,Tn=1<kl||y===Vl&&fn>xl)return 1;oi=hr&Ui,ce[oi]=ft<<24|Dn<<16|Ei-he|0}}return hr!==0&&(ce[Ei+hr]=$e-Bn<<24|64<<16|0),Ue.bits=ft,0};const Yo=0,To=1,vs=2,{Z_FINISH:Os,Z_BLOCK:Gs,Z_TREES:Ks,Z_OK:sl,Z_STREAM_END:hu,Z_NEED_DICT:aa,Z_STREAM_ERROR:ea,Z_DATA_ERROR:Is,Z_MEM_ERROR:Js,Z_BUF_ERROR:Xs,Z_DEFLATED:pu}=yc,Ml=16180,Ac=16181,Bl=16182,Cs=16183,ll=16184,ul=16185,cu=16186,Ul=16187,xs=16188,vl=16189,Ps=16190,yl=16191,Gl=16192,ku=16193,Mu=16194,$c=16195,cl=16196,Dd=16197,_u=16198,qu=16199,Qu=16200,ec=16201,Al=16202,Cc=16203,xA=16204,Rc=16205,Jc=16206,Jd=16207,qd=16208,Ts=16209,ld=16210,Ef=16211,Ga=852,ys=592,iu=15,Bu=y=>(y>>>24&255)+(y>>>8&65280)+((y&65280)<<8)+((y&255)<<24);function Eu(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const tc=y=>{if(!y)return 1;const z=y.state;return!z||z.strm!==y||z.modeEf?1:0},ju=y=>{if(tc(y))return ea;const z=y.state;return y.total_in=y.total_out=z.total=0,y.msg="",z.wrap&&(y.adler=z.wrap&1),z.mode=Ml,z.last=0,z.havedict=0,z.flags=-1,z.dmax=32768,z.head=null,z.hold=0,z.bits=0,z.lencode=z.lendyn=new Int32Array(Ga),z.distcode=z.distdyn=new Int32Array(ys),z.sane=1,z.back=-1,sl},ZA=y=>{if(tc(y))return ea;const z=y.state;return z.wsize=0,z.whave=0,z.wnext=0,ju(y)},Sf=(y,z)=>{let E;if(tc(y))return ea;const re=y.state;return z<0?(E=0,z=-z):(E=(z>>4)+5,z<48&&(z&=15)),z&&(z<8||z>15)?ea:(re.window!==null&&re.wbits!==z&&(re.window=null),re.wrap=E,re.wbits=z,ZA(y))},WA=(y,z)=>{if(!y)return ea;const E=new Eu;y.state=E,E.strm=y,E.window=null,E.mode=Ml;const re=Sf(y,z);return re!==sl&&(y.state=null),re},VA=y=>WA(y,iu);let gu=!0,_c,ef;const Ff=y=>{if(gu){_c=new Int32Array(512),ef=new Int32Array(32);let z=0;for(;z<144;)y.lens[z++]=8;for(;z<256;)y.lens[z++]=9;for(;z<280;)y.lens[z++]=7;for(;z<288;)y.lens[z++]=8;for(Ca(To,y.lens,0,288,_c,0,y.work,{bits:9}),z=0;z<32;)y.lens[z++]=5;Ca(vs,y.lens,0,32,ef,0,y.work,{bits:5}),gu=!1}y.lencode=_c,y.lenbits=9,y.distcode=ef,y.distbits=5},tf=(y,z,E,re)=>{let ce;const he=y.state;return he.window===null&&(he.wsize=1<=he.wsize?(he.window.set(z.subarray(E-he.wsize,E),0),he.wnext=0,he.whave=he.wsize):(ce=he.wsize-he.wnext,ce>re&&(ce=re),he.window.set(z.subarray(E-re,E-re+ce),he.wnext),re-=ce,re?(he.window.set(z.subarray(E-re,E),0),he.wnext=re,he.whave=he.wsize):(he.wnext+=ce,he.wnext===he.wsize&&(he.wnext=0),he.whave{let E,re,ce,he,Ze,Ue,Xe,$e,gt,Ut,qt,ft,Dn,Bn,Tn=0,fn,hr,ir,Wn,oi,Ui,Ei,Fr;const Gn=new Uint8Array(4);let Vr,cn;const kn=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(tc(y)||!y.output||!y.input&&y.avail_in!==0)return ea;E=y.state,E.mode===yl&&(E.mode=Gl),Ze=y.next_out,ce=y.output,Xe=y.avail_out,he=y.next_in,re=y.input,Ue=y.avail_in,$e=E.hold,gt=E.bits,Ut=Ue,qt=Xe,Fr=sl;e:for(;;)switch(E.mode){case Ml:if(E.wrap===0){E.mode=Gl;break}for(;gt<16;){if(Ue===0)break e;Ue--,$e+=re[he++]<>>8&255,E.check=ka(E.check,Gn,2,0),$e=0,gt=0,E.mode=Ac;break}if(E.head&&(E.head.done=!1),!(E.wrap&1)||((($e&255)<<8)+($e>>8))%31){y.msg="incorrect header check",E.mode=Ts;break}if(($e&15)!==pu){y.msg="unknown compression method",E.mode=Ts;break}if($e>>>=4,gt-=4,Ei=($e&15)+8,E.wbits===0&&(E.wbits=Ei),Ei>15||Ei>E.wbits){y.msg="invalid window size",E.mode=Ts;break}E.dmax=1<>8&1),E.flags&512&&E.wrap&4&&(Gn[0]=$e&255,Gn[1]=$e>>>8&255,E.check=ka(E.check,Gn,2,0)),$e=0,gt=0,E.mode=Bl;case Bl:for(;gt<32;){if(Ue===0)break e;Ue--,$e+=re[he++]<>>8&255,Gn[2]=$e>>>16&255,Gn[3]=$e>>>24&255,E.check=ka(E.check,Gn,4,0)),$e=0,gt=0,E.mode=Cs;case Cs:for(;gt<16;){if(Ue===0)break e;Ue--,$e+=re[he++]<>8),E.flags&512&&E.wrap&4&&(Gn[0]=$e&255,Gn[1]=$e>>>8&255,E.check=ka(E.check,Gn,2,0)),$e=0,gt=0,E.mode=ll;case ll:if(E.flags&1024){for(;gt<16;){if(Ue===0)break e;Ue--,$e+=re[he++]<>>8&255,E.check=ka(E.check,Gn,2,0)),$e=0,gt=0}else E.head&&(E.head.extra=null);E.mode=ul;case ul:if(E.flags&1024&&(ft=E.length,ft>Ue&&(ft=Ue),ft&&(E.head&&(Ei=E.head.extra_len-E.length,E.head.extra||(E.head.extra=new Uint8Array(E.head.extra_len)),E.head.extra.set(re.subarray(he,he+ft),Ei)),E.flags&512&&E.wrap&4&&(E.check=ka(E.check,re,ft,he)),Ue-=ft,he+=ft,E.length-=ft),E.length))break e;E.length=0,E.mode=cu;case cu:if(E.flags&2048){if(Ue===0)break e;ft=0;do Ei=re[he+ft++],E.head&&Ei&&E.length<65536&&(E.head.name+=String.fromCharCode(Ei));while(Ei&&ft>9&1,E.head.done=!0),y.adler=E.check=0,E.mode=yl;break;case vl:for(;gt<32;){if(Ue===0)break e;Ue--,$e+=re[he++]<>>=gt&7,gt-=gt&7,E.mode=Jc;break}for(;gt<3;){if(Ue===0)break e;Ue--,$e+=re[he++]<>>=1,gt-=1,$e&3){case 0:E.mode=ku;break;case 1:if(Ff(E),E.mode=qu,z===Ks){$e>>>=2,gt-=2;break e}break;case 2:E.mode=cl;break;case 3:y.msg="invalid block type",E.mode=Ts}$e>>>=2,gt-=2;break;case ku:for($e>>>=gt&7,gt-=gt&7;gt<32;){if(Ue===0)break e;Ue--,$e+=re[he++]<>>16^65535)){y.msg="invalid stored block lengths",E.mode=Ts;break}if(E.length=$e&65535,$e=0,gt=0,E.mode=Mu,z===Ks)break e;case Mu:E.mode=$c;case $c:if(ft=E.length,ft){if(ft>Ue&&(ft=Ue),ft>Xe&&(ft=Xe),ft===0)break e;ce.set(re.subarray(he,he+ft),Ze),Ue-=ft,he+=ft,Xe-=ft,Ze+=ft,E.length-=ft;break}E.mode=yl;break;case cl:for(;gt<14;){if(Ue===0)break e;Ue--,$e+=re[he++]<>>=5,gt-=5,E.ndist=($e&31)+1,$e>>>=5,gt-=5,E.ncode=($e&15)+4,$e>>>=4,gt-=4,E.nlen>286||E.ndist>30){y.msg="too many length or distance symbols",E.mode=Ts;break}E.have=0,E.mode=Dd;case Dd:for(;E.have>>=3,gt-=3}for(;E.have<19;)E.lens[kn[E.have++]]=0;if(E.lencode=E.lendyn,E.lenbits=7,Vr={bits:E.lenbits},Fr=Ca(Yo,E.lens,0,19,E.lencode,0,E.work,Vr),E.lenbits=Vr.bits,Fr){y.msg="invalid code lengths set",E.mode=Ts;break}E.have=0,E.mode=_u;case _u:for(;E.have>>24,hr=Tn>>>16&255,ir=Tn&65535,!(fn<=gt);){if(Ue===0)break e;Ue--,$e+=re[he++]<>>=fn,gt-=fn,E.lens[E.have++]=ir;else{if(ir===16){for(cn=fn+2;gt>>=fn,gt-=fn,E.have===0){y.msg="invalid bit length repeat",E.mode=Ts;break}Ei=E.lens[E.have-1],ft=3+($e&3),$e>>>=2,gt-=2}else if(ir===17){for(cn=fn+3;gt>>=fn,gt-=fn,Ei=0,ft=3+($e&7),$e>>>=3,gt-=3}else{for(cn=fn+7;gt>>=fn,gt-=fn,Ei=0,ft=11+($e&127),$e>>>=7,gt-=7}if(E.have+ft>E.nlen+E.ndist){y.msg="invalid bit length repeat",E.mode=Ts;break}for(;ft--;)E.lens[E.have++]=Ei}}if(E.mode===Ts)break;if(E.lens[256]===0){y.msg="invalid code -- missing end-of-block",E.mode=Ts;break}if(E.lenbits=9,Vr={bits:E.lenbits},Fr=Ca(To,E.lens,0,E.nlen,E.lencode,0,E.work,Vr),E.lenbits=Vr.bits,Fr){y.msg="invalid literal/lengths set",E.mode=Ts;break}if(E.distbits=6,E.distcode=E.distdyn,Vr={bits:E.distbits},Fr=Ca(vs,E.lens,E.nlen,E.ndist,E.distcode,0,E.work,Vr),E.distbits=Vr.bits,Fr){y.msg="invalid distances set",E.mode=Ts;break}if(E.mode=qu,z===Ks)break e;case qu:E.mode=Qu;case Qu:if(Ue>=6&&Xe>=258){y.next_out=Ze,y.avail_out=Xe,y.next_in=he,y.avail_in=Ue,E.hold=$e,E.bits=gt,rs(y,qt),Ze=y.next_out,ce=y.output,Xe=y.avail_out,he=y.next_in,re=y.input,Ue=y.avail_in,$e=E.hold,gt=E.bits,E.mode===yl&&(E.back=-1);break}for(E.back=0;Tn=E.lencode[$e&(1<>>24,hr=Tn>>>16&255,ir=Tn&65535,!(fn<=gt);){if(Ue===0)break e;Ue--,$e+=re[he++]<>Wn)],fn=Tn>>>24,hr=Tn>>>16&255,ir=Tn&65535,!(Wn+fn<=gt);){if(Ue===0)break e;Ue--,$e+=re[he++]<>>=Wn,gt-=Wn,E.back+=Wn}if($e>>>=fn,gt-=fn,E.back+=fn,E.length=ir,hr===0){E.mode=Rc;break}if(hr&32){E.back=-1,E.mode=yl;break}if(hr&64){y.msg="invalid literal/length code",E.mode=Ts;break}E.extra=hr&15,E.mode=ec;case ec:if(E.extra){for(cn=E.extra;gt>>=E.extra,gt-=E.extra,E.back+=E.extra}E.was=E.length,E.mode=Al;case Al:for(;Tn=E.distcode[$e&(1<>>24,hr=Tn>>>16&255,ir=Tn&65535,!(fn<=gt);){if(Ue===0)break e;Ue--,$e+=re[he++]<>Wn)],fn=Tn>>>24,hr=Tn>>>16&255,ir=Tn&65535,!(Wn+fn<=gt);){if(Ue===0)break e;Ue--,$e+=re[he++]<>>=Wn,gt-=Wn,E.back+=Wn}if($e>>>=fn,gt-=fn,E.back+=fn,hr&64){y.msg="invalid distance code",E.mode=Ts;break}E.offset=ir,E.extra=hr&15,E.mode=Cc;case Cc:if(E.extra){for(cn=E.extra;gt>>=E.extra,gt-=E.extra,E.back+=E.extra}if(E.offset>E.dmax){y.msg="invalid distance too far back",E.mode=Ts;break}E.mode=xA;case xA:if(Xe===0)break e;if(ft=qt-Xe,E.offset>ft){if(ft=E.offset-ft,ft>E.whave&&E.sane){y.msg="invalid distance too far back",E.mode=Ts;break}ft>E.wnext?(ft-=E.wnext,Dn=E.wsize-ft):Dn=E.wnext-ft,ft>E.length&&(ft=E.length),Bn=E.window}else Bn=ce,Dn=Ze-E.offset,ft=E.length;ft>Xe&&(ft=Xe),Xe-=ft,E.length-=ft;do ce[Ze++]=Bn[Dn++];while(--ft);E.length===0&&(E.mode=Qu);break;case Rc:if(Xe===0)break e;ce[Ze++]=E.length,Xe--,E.mode=Qu;break;case Jc:if(E.wrap){for(;gt<32;){if(Ue===0)break e;Ue--,$e|=re[he++]<{if(tc(y))return ea;let z=y.state;return z.window&&(z.window=null),y.state=null,sl},rh=(y,z)=>{if(tc(y))return ea;const E=y.state;return E.wrap&2?(E.head=z,z.done=!1,sl):ea},pp=(y,z)=>{const E=z.length;let re,ce,he;return tc(y)||(re=y.state,re.wrap!==0&&re.mode!==Ps)?ea:re.mode===Ps&&(ce=1,ce=ps(ce,z,E,0),ce!==re.check)?Is:(he=tf(y,z,E,E),he?(re.mode=ld,Js):(re.havedict=1,sl))};var ih=ZA,nf=Sf,gp=ju,mp=VA,rf=WA,Lf=If,Nd=GA,Df=rh,Od=pp,of="pako inflate (from Nodeca project)",BA={inflateReset:ih,inflateReset2:nf,inflateResetKeep:gp,inflateInit:mp,inflateInit2:rf,inflate:Lf,inflateEnd:Nd,inflateGetHeader:Df,inflateSetDictionary:Od,inflateInfo:of};function oh(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var ah=oh;const Uh=Object.prototype.toString,{Z_NO_FLUSH:ud,Z_FINISH:EA,Z_OK:SA,Z_STREAM_END:Pd,Z_NEED_DICT:cd,Z_STREAM_ERROR:Rh,Z_DATA_ERROR:ws,Z_MEM_ERROR:ks}=yc;function mu(y){this.options=In.assign({chunkSize:1024*64,windowBits:15,to:""},y||{});const z=this.options;z.raw&&z.windowBits>=0&&z.windowBits<16&&(z.windowBits=-z.windowBits,z.windowBits===0&&(z.windowBits=-15)),z.windowBits>=0&&z.windowBits<16&&!(y&&y.windowBits)&&(z.windowBits+=32),z.windowBits>15&&z.windowBits<48&&(z.windowBits&15||(z.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Lr,this.strm.avail_out=0;let E=BA.inflateInit2(this.strm,z.windowBits);if(E!==SA)throw new Error(Xu[E]);if(this.header=new ah,BA.inflateGetHeader(this.strm,this.header),z.dictionary&&(typeof z.dictionary=="string"?z.dictionary=Mr.string2buf(z.dictionary):Uh.call(z.dictionary)==="[object ArrayBuffer]"&&(z.dictionary=new Uint8Array(z.dictionary)),z.raw&&(E=BA.inflateSetDictionary(this.strm,z.dictionary),E!==SA)))throw new Error(Xu[E])}mu.prototype.push=function(y,z){const E=this.strm,re=this.options.chunkSize,ce=this.options.dictionary;let he,Ze,Ue;if(this.ended)return!1;for(z===~~z?Ze=z:Ze=z===!0?EA:ud,Uh.call(y)==="[object ArrayBuffer]"?E.input=new Uint8Array(y):E.input=y,E.next_in=0,E.avail_in=E.input.length;;){for(E.avail_out===0&&(E.output=new Uint8Array(re),E.next_out=0,E.avail_out=re),he=BA.inflate(E,Ze),he===cd&&ce&&(he=BA.inflateSetDictionary(E,ce),he===SA?he=BA.inflate(E,Ze):he===ws&&(he=cd));E.avail_in>0&&he===Pd&&E.state.wrap>0&&y[E.next_in]!==0;)BA.inflateReset(E),he=BA.inflate(E,Ze);switch(he){case Rh:case ws:case cd:case ks:return this.onEnd(he),this.ended=!0,!1}if(Ue=E.avail_out,E.next_out&&(E.avail_out===0||he===Pd))if(this.options.to==="string"){let Xe=Mr.utf8border(E.output,E.next_out),$e=E.next_out-Xe,gt=Mr.buf2string(E.output,Xe);E.next_out=$e,E.avail_out=re-$e,$e&&E.output.set(E.output.subarray(Xe,Xe+$e),0),this.onData(gt)}else this.onData(E.output.length===E.next_out?E.output:E.output.subarray(0,E.next_out));if(!(he===SA&&Ue===0)){if(he===Pd)return he=BA.inflateEnd(this.strm),this.onEnd(he),this.ended=!0,!0;if(E.avail_in===0)break}}return!0},mu.prototype.onData=function(y){this.chunks.push(y)},mu.prototype.onEnd=function(y){y===SA&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=In.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg};function Hu(y,z){const E=new mu(z);if(E.push(y),E.err)throw E.msg||Xu[E.err];return E.result}function zu(y,z){return z=z||{},z.raw=!0,Hu(y,z)}var Ad=mu,XA=Hu,RA=zu,dd=Hu,YA=yc,_h={Inflate:Ad,inflate:XA,inflateRaw:RA,ungzip:dd,constants:YA};const{Deflate:fd,deflate:Xp,deflateRaw:Qh,gzip:gg}=Xo,{Inflate:mg,inflate:Yp,inflateRaw:Ql,ungzip:$p}=_h;var jh=fd,af=Xp,FA=Qh,sh=gg,lh=mg,Nf=Yp,uh=Ql,vp=$p,yp=yc,vg={Deflate:jh,deflate:af,deflateRaw:FA,gzip:sh,Inflate:lh,inflate:Nf,inflateRaw:uh,ungzip:vp,constants:yp};const wp=[];for(let y=0;y<256;y++){let z=y;for(let E=0;E<8;E++)z&1?z=3988292384^z>>>1:z=z>>>1;wp[y]=z}const ch=4294967295;function Jp(y,z,E){let re=y;for(let ce=0;ce>>8;return re}function wl(y,z){return(Jp(ch,y,z)^ch)>>>0}function Td(y,z,E){const re=y.readUint32(),ce=wl(new Uint8Array(y.buffer,y.byteOffset+y.offset-z-4,z),z);if(ce!==re)throw new Error(`CRC mismatch for chunk ${E}. Expected ${re}, found ${ce}`)}function yg(y,z){y.writeUint32(wl(new Uint8Array(y.buffer,y.byteOffset+y.offset-z,z),z))}function jl(y,z,E){for(let re=0;re>1)&255}else{for(;he>1)&255;for(;he>1)&255}}function El(y,z,E,re,ce){let he=0;if(E.length===0){for(;he=E||Ui>=re))for(let Ei=0;Ei>8&255}const te=new Uint16Array([255]),Te=new Uint8Array(te.buffer)[0]===255,et=new Uint8Array(0);function yt(y){const{data:z,width:E,height:re,channels:ce,depth:he}=y,Ze=Math.ceil(he/8)*ce,Ue=Math.ceil(he/8*ce*E),Xe=new Uint8Array(re*Ue);let $e=et,gt=0,Ut,qt;for(let ft=0;ft>8&255}const Nt=Uint8Array.of(137,80,78,71,13,10,26,10);function Nn(y){y.writeBytes(Nt)}function Hn(y){if(!Pr(y.readBytes(Nt.length)))throw new Error("wrong PNG signature")}function Pr(y){if(y.length79)throw new Error("keyword length must be between 1 and 79")}const Oo=/^[\u0000-\u00FF]*$/;function Wo(y){if(!Oo.test(y))throw new Error("invalid latin1 text")}function Po(y,z,E){const re=Ua(z);y[re]=xa(z,E-re.length-1)}function la(y,z,E){fo(z),Wo(E);const re=z.length+1+E.length;y.writeUint32(re),y.writeChars(wr),y.writeChars(z),y.writeByte(vi),y.writeChars(E),writeCrc(y,re+4)}function Ua(y){for(y.mark();y.readByte()!==vi;);const z=y.offset;y.reset();const E=Ki.decode(y.readBytes(z-y.offset-1));return y.skip(1),fo(E),E}function xa(y,z){return Ki.decode(y.readBytes(z))}const Ha={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},Sl={UNKNOWN:-1,DEFLATE:0},Ku={UNKNOWN:-1,ADAPTIVE:0},Xl={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},xc={NONE:0,BACKGROUND:1,PREVIOUS:2},nc={SOURCE:0,OVER:1};class Uu extends ai{constructor(E,re={}){super(E);Nl(this,"_checkCrc");Nl(this,"_inflator");Nl(this,"_png");Nl(this,"_apng");Nl(this,"_end");Nl(this,"_hasPalette");Nl(this,"_palette");Nl(this,"_hasTransparency");Nl(this,"_transparency");Nl(this,"_compressionMethod");Nl(this,"_filterMethod");Nl(this,"_interlaceMethod");Nl(this,"_colorType");Nl(this,"_isAnimated");Nl(this,"_numberOfFrames");Nl(this,"_numberOfPlays");Nl(this,"_frames");Nl(this,"_writingDataChunks");const{checkCrc:ce=!1}=re;this._checkCrc=ce,this._inflator=new lh,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=Sl.UNKNOWN,this._filterMethod=Ku.UNKNOWN,this._interlaceMethod=Xl.UNKNOWN,this._colorType=Ha.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Hn(this);!this._end;){const E=this.readUint32(),re=this.readChars(4);this.decodeChunk(E,re)}return this.decodeImage(),this._png}decodeApng(){for(Hn(this);!this._end;){const E=this.readUint32(),re=this.readChars(4);this.decodeApngChunk(E,re)}return this.decodeApngImage(),this._apng}decodeChunk(E,re){const ce=this.offset;switch(re){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(E);break;case"IDAT":this.decodeIDAT(E);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(E);break;case"iCCP":this.decodeiCCP(E);break;case wr:Po(this._png.text,this,E);break;case"pHYs":this.decodepHYs();break;default:this.skip(E);break}if(this.offset-ce!==E)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Td(this,E+4,re):this.skip(4)}decodeApngChunk(E,re){const ce=this.offset;switch(re!=="fdAT"&&re!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),re){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(E);break;default:this.decodeChunk(E,re),this.offset=ce+E;break}if(this.offset-ce!==E)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Td(this,E+4,re):this.skip(4)}decodeIHDR(){const E=this._png;E.width=this.readUint32(),E.height=this.readUint32(),E.depth=Bc(this.readUint8());const re=this.readUint8();this._colorType=re;let ce;switch(re){case Ha.GREYSCALE:ce=1;break;case Ha.TRUECOLOUR:ce=3;break;case Ha.INDEXED_COLOUR:ce=1;break;case Ha.GREYSCALE_ALPHA:ce=2;break;case Ha.TRUECOLOUR_ALPHA:ce=4;break;case Ha.UNKNOWN:default:throw new Error(`Unknown color type: ${re}`)}if(this._png.channels=ce,this._compressionMethod=this.readUint8(),this._compressionMethod!==Sl.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const E={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(E)}decodePLTE(E){if(E%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${E}`);const re=E/3;this._hasPalette=!0;const ce=[];this._palette=ce;for(let he=0;hethis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${E/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(E/2);for(let re=0;rethis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${E} vs ${this._palette.length})`);let re=0;for(;re{const Xe=((Ze+re.yOffset)*this._png.width+re.xOffset+Ue)*this._png.channels,$e=(Ze*re.width+Ue)*this._png.channels;return{index:Xe,frameIndex:$e}};switch(re.blendOp){case nc.SOURCE:for(let Ze=0;Zere.at(-1)!==255);this.writeUint32(E.length),this.writeChars("tRNS");for(const re of E)this.writeByte(re.at(-1));writeCrc(this,4+E.length)}encodeIDAT(E){this.writeUint32(E.length),this.writeChars("IDAT"),this.writeBytes(E),writeCrc(this,E.length+4)}encodeData(){const{width:E,height:re,channels:ce,depth:he,data:Ze}=this._png,Ue=he<=8?Math.ceil(E*he/8)*ce:Math.ceil(E*he/8*ce/2),Xe=new IOBuffer().setBigEndian();let $e=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let qt=0;qt0)return y;throw new TypeError(`${z} must be a positive integer`)}function Yl(y,z){const{channels:E=4,depth:re=8}=y;if(E!==4&&E!==3&&E!==2&&E!==1)throw new RangeError(`unsupported number of channels: ${E}`);const ce={channels:E,depth:re,colorType:ColorType.UNKNOWN};switch(E){case 4:ce.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:ce.colorType=ColorType.TRUECOLOUR;break;case 1:z?ce.colorType=ColorType.INDEXED_COLOUR:ce.colorType=ColorType.GREYSCALE;break;case 2:ce.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return ce}function $l(y,z,E,re){for(let ce=0;ce>8&255),E.writeByte(ir&255)}}return re}function Zs(y,z,E,re){for(let ce=0;ce=200&&z.status<=299}function Pf(y){try{y.dispatchEvent(new MouseEvent("click"))}catch(E){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),y.dispatchEvent(z)}}var Tf=Ra.saveAs||((typeof window=="undefined"?"undefined":(0,x.Z)(window))!=="object"||window!==Ra?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(y,z,E){var re=Ra.URL||Ra.webkitURL,ce=document.createElement("a");z=z||y.name||"download",ce.download=z,ce.rel="noopener",typeof y=="string"?(ce.href=y,ce.origin!==location.origin?Md(ce.href)?hc(y,z,E):Pf(ce,ce.target="_blank"):Pf(ce)):(ce.href=re.createObjectURL(y),setTimeout(function(){re.revokeObjectURL(ce.href)},4e4),setTimeout(function(){Pf(ce)},0))}:"msSaveOrOpenBlob"in navigator?function(y,z,E){if(z=z||y.name||"download",typeof y=="string")if(Md(y))hc(y,z,E);else{var re=document.createElement("a");re.href=y,re.target="_blank",setTimeout(function(){Pf(re)})}else navigator.msSaveOrOpenBlob(function(ce,he){return he===void 0?he={autoBom:!1}:(0,x.Z)(he)!=="object"&&(dl.warn("Deprecated: Expected third argument to be a object"),he={autoBom:!he}),he.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(ce.type)?new Blob(["\uFEFF",ce],{type:ce.type}):ce}(y,E),z)}:function(y,z,E,re){if((re=re||open("","_blank"))&&(re.document.title=re.document.body.innerText="downloading..."),typeof y=="string")return hc(y,z,E);var ce=y.type==="application/octet-stream",he=/constructor/i.test(Ra.HTMLElement)||Ra.safari,Ze=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ze||ce&&he)&&(typeof FileReader=="undefined"?"undefined":(0,x.Z)(FileReader))==="object"){var Ue=new FileReader;Ue.onloadend=function(){var gt=Ue.result;gt=Ze?gt:gt.replace(/^data:[^;]*;/,"data:attachment/file;"),re?re.location.href=gt:location=gt,re=null},Ue.readAsDataURL(y)}else{var Xe=Ra.URL||Ra.webkitURL,$e=Xe.createObjectURL(y);re?re.location=$e:location.href=$e,re=null,setTimeout(function(){Xe.revokeObjectURL($e)},4e4)}});function Jg(y){var z;y=y||"",this.ok=!1,y.charAt(0)=="#"&&(y=y.substr(1,6)),y={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[y=(y=y.replace(/ /g,"")).toLowerCase()]||y;for(var E=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Ue){return[parseInt(Ue[1]),parseInt(Ue[2]),parseInt(Ue[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Ue){return[parseInt(Ue[1],16),parseInt(Ue[2],16),parseInt(Ue[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Ue){return[parseInt(Ue[1]+Ue[1],16),parseInt(Ue[2]+Ue[2],16),parseInt(Ue[3]+Ue[3],16)]}}],re=0;re255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var Ue=this.r.toString(16),Xe=this.g.toString(16),$e=this.b.toString(16);return Ue.length==1&&(Ue="0"+Ue),Xe.length==1&&(Xe="0"+Xe),$e.length==1&&($e="0"+$e),"#"+Ue+Xe+$e}}var bp=Ra.atob.bind(Ra),wg=Ra.btoa.bind(Ra);function Cp(y,z){var E=y[0],re=y[1],ce=y[2],he=y[3];E=qc(E,re,ce,he,z[0],7,-680876936),he=qc(he,E,re,ce,z[1],12,-389564586),ce=qc(ce,he,E,re,z[2],17,606105819),re=qc(re,ce,he,E,z[3],22,-1044525330),E=qc(E,re,ce,he,z[4],7,-176418897),he=qc(he,E,re,ce,z[5],12,1200080426),ce=qc(ce,he,E,re,z[6],17,-1473231341),re=qc(re,ce,he,E,z[7],22,-45705983),E=qc(E,re,ce,he,z[8],7,1770035416),he=qc(he,E,re,ce,z[9],12,-1958414417),ce=qc(ce,he,E,re,z[10],17,-42063),re=qc(re,ce,he,E,z[11],22,-1990404162),E=qc(E,re,ce,he,z[12],7,1804603682),he=qc(he,E,re,ce,z[13],12,-40341101),ce=qc(ce,he,E,re,z[14],17,-1502002290),E=Qc(E,re=qc(re,ce,he,E,z[15],22,1236535329),ce,he,z[1],5,-165796510),he=Qc(he,E,re,ce,z[6],9,-1069501632),ce=Qc(ce,he,E,re,z[11],14,643717713),re=Qc(re,ce,he,E,z[0],20,-373897302),E=Qc(E,re,ce,he,z[5],5,-701558691),he=Qc(he,E,re,ce,z[10],9,38016083),ce=Qc(ce,he,E,re,z[15],14,-660478335),re=Qc(re,ce,he,E,z[4],20,-405537848),E=Qc(E,re,ce,he,z[9],5,568446438),he=Qc(he,E,re,ce,z[14],9,-1019803690),ce=Qc(ce,he,E,re,z[3],14,-187363961),re=Qc(re,ce,he,E,z[8],20,1163531501),E=Qc(E,re,ce,he,z[13],5,-1444681467),he=Qc(he,E,re,ce,z[2],9,-51403784),ce=Qc(ce,he,E,re,z[7],14,1735328473),E=eA(E,re=Qc(re,ce,he,E,z[12],20,-1926607734),ce,he,z[5],4,-378558),he=eA(he,E,re,ce,z[8],11,-2022574463),ce=eA(ce,he,E,re,z[11],16,1839030562),re=eA(re,ce,he,E,z[14],23,-35309556),E=eA(E,re,ce,he,z[1],4,-1530992060),he=eA(he,E,re,ce,z[4],11,1272893353),ce=eA(ce,he,E,re,z[7],16,-155497632),re=eA(re,ce,he,E,z[10],23,-1094730640),E=eA(E,re,ce,he,z[13],4,681279174),he=eA(he,E,re,ce,z[0],11,-358537222),ce=eA(ce,he,E,re,z[3],16,-722521979),re=eA(re,ce,he,E,z[6],23,76029189),E=eA(E,re,ce,he,z[9],4,-640364487),he=eA(he,E,re,ce,z[12],11,-421815835),ce=eA(ce,he,E,re,z[15],16,530742520),E=tA(E,re=eA(re,ce,he,E,z[2],23,-995338651),ce,he,z[0],6,-198630844),he=tA(he,E,re,ce,z[7],10,1126891415),ce=tA(ce,he,E,re,z[14],15,-1416354905),re=tA(re,ce,he,E,z[5],21,-57434055),E=tA(E,re,ce,he,z[12],6,1700485571),he=tA(he,E,re,ce,z[3],10,-1894986606),ce=tA(ce,he,E,re,z[10],15,-1051523),re=tA(re,ce,he,E,z[1],21,-2054922799),E=tA(E,re,ce,he,z[8],6,1873313359),he=tA(he,E,re,ce,z[15],10,-30611744),ce=tA(ce,he,E,re,z[6],15,-1560198380),re=tA(re,ce,he,E,z[13],21,1309151649),E=tA(E,re,ce,he,z[4],6,-145523070),he=tA(he,E,re,ce,z[11],10,-1120210379),ce=tA(ce,he,E,re,z[2],15,718787259),re=tA(re,ce,he,E,z[9],21,-343485551),y[0]=Ud(E,y[0]),y[1]=Ud(re,y[1]),y[2]=Ud(ce,y[2]),y[3]=Ud(he,y[3])}function xp(y,z,E,re,ce,he){return z=Ud(Ud(z,y),Ud(re,he)),Ud(z<>>32-ce,E)}function qc(y,z,E,re,ce,he,Ze){return xp(z&E|~z&re,y,z,ce,he,Ze)}function Qc(y,z,E,re,ce,he,Ze){return xp(z&re|E&~re,y,z,ce,he,Ze)}function eA(y,z,E,re,ce,he,Ze){return xp(z^E^re,y,z,ce,he,Ze)}function tA(y,z,E,re,ce,he,Ze){return xp(E^(z|~re),y,z,ce,he,Ze)}function qg(y){var z,E=y.length,re=[1732584193,-271733879,-1732584194,271733878];for(z=64;z<=y.length;z+=64)Cp(re,eg(y.substring(z-64,z)));y=y.substring(z-64);var ce=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(z=0;z>2]|=y.charCodeAt(z)<<(z%4<<3);if(ce[z>>2]|=128<<(z%4<<3),z>55)for(Cp(re,ce),z=0;z<16;z++)ce[z]=0;return ce[14]=8*E,Cp(re,ce),re}function eg(y){var z,E=[];for(z=0;z<64;z+=4)E[z>>2]=y.charCodeAt(z)+(y.charCodeAt(z+1)<<8)+(y.charCodeAt(z+2)<<16)+(y.charCodeAt(z+3)<<24);return E}var _A="0123456789abcdef".split("");function em(y){for(var z="",E=0;E<4;E++)z+=_A[y>>8*E+4&15]+_A[y>>8*E&15];return z}function tg(y){return String.fromCharCode(255&y,(65280&y)>>8,(16711680&y)>>16,(4278190080&y)>>24)}function bg(y){return qg(y).map(tg).join("")}var jm=function(y){for(var z=0;z>16)+(z>>16)+(E>>16)<<16|65535&E}return y+z&4294967295}function kf(y,z){var E,re,ce,he;if(y!==E){for(var Ze=(ce=y,he=1+(256/y.length|0),new Array(he+1).join(ce)),Ue=[],Xe=0;Xe<256;Xe++)Ue[Xe]=Xe;var $e=0;for(Xe=0;Xe<256;Xe++){var gt=Ue[Xe];$e=($e+gt+Ze.charCodeAt(Xe))%256,Ue[Xe]=Ue[$e],Ue[$e]=gt}E=y,re=Ue}else Ue=re;var Ut=z.length,qt=0,ft=0,Dn="";for(Xe=0;Xe\x80/\f\xA9\xFEdSiz";var he=(z+this.padding).substr(0,32),Ze=(E+this.padding).substr(0,32);this.O=this.processOwnerPassword(he,Ze),this.P=-(1+(255^ce)),this.encryptionKey=bg(he+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(re)).substr(0,5),this.U=kf(this.encryptionKey,this.padding)}function gd(y){if(/[^\u0000-\u00ff]/.test(y))throw new Error("Invalid PDF Name Object: "+y+", Only accept ASCII characters.");for(var z="",E=y.length,re=0;re126?"#"+("0"+ce.toString(16)).slice(-2):y[re]}return z}function tm(y){if((0,x.Z)(y)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var z={};this.subscribe=function(E,re,ce){if(ce=ce||!1,typeof E!="string"||typeof re!="function"||typeof ce!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");z.hasOwnProperty(E)||(z[E]={});var he=Math.random().toString(35);return z[E][he]=[re,!!ce],he},this.unsubscribe=function(E){for(var re in z)if(z[re][E])return delete z[re][E],Object.keys(z[re]).length===0&&delete z[re],!0;return!1},this.publish=function(E){if(z.hasOwnProperty(E)){var re=Array.prototype.slice.call(arguments,1),ce=[];for(var he in z[E]){var Ze=z[E][he];try{Ze[0].apply(y,re)}catch(Ue){Ra.console&&dl.error("jsPDF PubSub Error",Ue.message,Ue)}Ze[1]&&ce.push(he)}ce.length&&ce.forEach(this.unsubscribe)}},this.getTopics=function(){return z}}function Ep(y){if(!(this instanceof Ep))return new Ep(y);var z="opacity,stroke-opacity".split(",");for(var E in y)y.hasOwnProperty(E)&&z.indexOf(E)>=0&&(this[E]=y[E]);this.id="",this.objectNumber=-1}function Cg(y,z){this.gState=y,this.matrix=z,this.id="",this.objectNumber=-1}function Mf(y,z,E,re,ce){if(!(this instanceof Mf))return new Mf(y,z,E,re,ce);this.type=y==="axial"?2:3,this.coords=z,this.colors=E,Cg.call(this,re,ce)}function Uf(y,z,E,re,ce){if(!(this instanceof Uf))return new Uf(y,z,E,re,ce);this.boundingBox=y,this.xStep=z,this.yStep=E,this.stream="",this.cloneIndex=0,Cg.call(this,re,ce)}function Na(y){var z,E=typeof arguments[0]=="string"?arguments[0]:"p",re=arguments[1],ce=arguments[2],he=arguments[3],Ze=[],Ue=1,Xe=16,$e="S",gt=null;(0,x.Z)(y=y||{})==="object"&&(E=y.orientation,re=y.unit||re,ce=y.format||ce,he=y.compress||y.compressPdf||he,(gt=y.encryption||null)!==null&&(gt.userPassword=gt.userPassword||"",gt.ownerPassword=gt.ownerPassword||"",gt.userPermissions=gt.userPermissions||[]),Ue=typeof y.userUnit=="number"?Math.abs(y.userUnit):1,y.precision!==void 0&&(z=y.precision),y.floatPrecision!==void 0&&(Xe=y.floatPrecision),$e=y.defaultPathOperation||"S"),Ze=y.filters||(he===!0?["FlateEncode"]:Ze),re=re||"mm",E=(""+(E||"P")).toLowerCase();var Ut=y.putOnlyUsedFonts||!1,qt={},ft={internal:{},__private__:{}};ft.__private__.PubSub=tm;var Dn="1.3",Bn=ft.__private__.getPdfVersion=function(){return Dn};ft.__private__.setPdfVersion=function(Ye){Dn=Ye};var Tn={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};ft.__private__.getPageFormats=function(){return Tn};var fn=ft.__private__.getPageFormat=function(Ye){return Tn[Ye]};ce=ce||"a4";var hr="compat",ir="advanced",Wn=hr;function oi(){this.saveGraphicsState(),Mn(new hs(js,0,0,-js,0,Tp()*js).toString()+" cm"),this.setFontSize(this.getFontSize()/js),$e="n",Wn=ir}function Ui(){this.restoreGraphicsState(),$e="S",Wn=hr}var Ei=ft.__private__.combineFontStyleAndFontWeight=function(Ye,jt){if(Ye=="bold"&&jt=="normal"||Ye=="bold"&&jt==400||Ye=="normal"&&jt=="italic"||Ye=="bold"&&jt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return jt&&(Ye=jt==400||jt==="normal"?Ye==="italic"?"italic":"normal":jt!=700&&jt!=="bold"||Ye!=="normal"?(jt==700?"bold":jt)+""+Ye:"bold"),Ye};ft.advancedAPI=function(Ye){var jt=Wn===hr;return jt&&oi.call(this),typeof Ye!="function"||(Ye(this),jt&&Ui.call(this)),this},ft.compatAPI=function(Ye){var jt=Wn===ir;return jt&&Ui.call(this),typeof Ye!="function"||(Ye(this),jt&&oi.call(this)),this},ft.isAdvancedAPI=function(){return Wn===ir};var Fr,Gn=function(Ye){if(Wn!==ir)throw new Error(Ye+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Vr=ft.roundToPrecision=ft.__private__.roundToPrecision=function(Ye,jt){var Qn=z||jt;if(isNaN(Ye)||isNaN(Qn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Ye.toFixed(Qn).replace(/0+$/,"")};Fr=ft.hpf=ft.__private__.hpf=typeof Xe=="number"?function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.hpf");return Vr(Ye,Xe)}:Xe==="smart"?function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.hpf");return Vr(Ye,Ye>-1&&Ye<1?16:5)}:function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.hpf");return Vr(Ye,16)};var cn=ft.f2=ft.__private__.f2=function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.f2");return Vr(Ye,2)},kn=ft.__private__.f3=function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.f3");return Vr(Ye,3)},fr=ft.scale=ft.__private__.scale=function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.scale");return Wn===hr?Ye*js:Wn===ir?Ye:void 0},sr=function(Ye){return fr(function(jt){return Wn===hr?Tp()-jt:Wn===ir?jt:void 0}(Ye))};ft.__private__.setPrecision=ft.setPrecision=function(Ye){typeof parseInt(Ye,10)=="number"&&(z=parseInt(Ye,10))};var fi,wi="00000000000000000000000000000000",Fi=ft.__private__.getFileId=function(){return wi},ei=ft.__private__.setFileId=function(Ye){return wi=Ye!==void 0&&/^[a-fA-F0-9]{32}$/.test(Ye)?Ye.toUpperCase():wi.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),gt!==null&&(jc=new zh(gt.userPermissions,gt.userPassword,gt.ownerPassword,wi)),wi};ft.setFileId=function(Ye){return ei(Ye),this},ft.getFileId=function(){return Fi()};var Ni=ft.__private__.convertDateToPDFDate=function(Ye){var jt=Ye.getTimezoneOffset(),Qn=jt<0?"+":"-",Ar=Math.floor(Math.abs(jt/60)),Hr=Math.abs(jt%60),Zi=[Qn,qn(Ar),"'",qn(Hr),"'"].join("");return["D:",Ye.getFullYear(),qn(Ye.getMonth()+1),qn(Ye.getDate()),qn(Ye.getHours()),qn(Ye.getMinutes()),qn(Ye.getSeconds()),Zi].join("")},ko=ft.__private__.convertPDFDateToDate=function(Ye){var jt=parseInt(Ye.substr(2,4),10),Qn=parseInt(Ye.substr(6,2),10)-1,Ar=parseInt(Ye.substr(8,2),10),Hr=parseInt(Ye.substr(10,2),10),Zi=parseInt(Ye.substr(12,2),10),so=parseInt(Ye.substr(14,2),10);return new Date(jt,Qn,Ar,Hr,Zi,so,0)},io=ft.__private__.setCreationDate=function(Ye){var jt;if(Ye===void 0&&(Ye=new Date),Ye instanceof Date)jt=Ni(Ye);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(Ye))throw new Error("Invalid argument passed to jsPDF.setCreationDate");jt=Ye}return fi=jt},on=ft.__private__.getCreationDate=function(Ye){var jt=fi;return Ye==="jsDate"&&(jt=ko(fi)),jt};ft.setCreationDate=function(Ye){return io(Ye),this},ft.getCreationDate=function(Ye){return on(Ye)};var Kn,qn=ft.__private__.padd2=function(Ye){return("0"+parseInt(Ye)).slice(-2)},vr=ft.__private__.padd2Hex=function(Ye){return("00"+(Ye=Ye.toString())).substr(Ye.length)},kr=0,Jr=[],Si=[],Li=0,Yi=[],Eo=[],ua=!1,sa=Si;ft.__private__.setCustomOutputDestination=function(Ye){ua=!0,sa=Ye};var qa=function(Ye){ua||(sa=Ye)};ft.__private__.resetCustomOutputDestination=function(){ua=!1,sa=Si};var Mn=ft.__private__.out=function(Ye){return Ye=Ye.toString(),Li+=Ye.length+1,sa.push(Ye),sa},ca=ft.__private__.write=function(Ye){return Mn(arguments.length===1?Ye.toString():Array.prototype.join.call(arguments," "))},$s=ft.__private__.getArrayBuffer=function(Ye){for(var jt=Ye.length,Qn=new ArrayBuffer(jt),Ar=new Uint8Array(Qn);jt--;)Ar[jt]=Ye.charCodeAt(jt);return Qn},cs=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];ft.__private__.getStandardFonts=function(){return cs};var mo=y.fontSize||16;ft.__private__.setFontSize=ft.setFontSize=function(Ye){return mo=Wn===ir?Ye/js:Ye,this};var As,Sa=ft.__private__.getFontSize=ft.getFontSize=function(){return Wn===hr?mo:mo*js},ss=y.R2L||!1;ft.__private__.setR2L=ft.setR2L=function(Ye){return ss=Ye,this},ft.__private__.getR2L=ft.getR2L=function(){return ss};var ts,Jl=ft.__private__.setZoomMode=function(Ye){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Ye))As=Ye;else if(isNaN(Ye)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(Ye)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Ye+'" is not recognized.');As=Ye}else As=parseInt(Ye,10)};ft.__private__.getZoomMode=function(){return As};var pl,Rs=ft.__private__.setPageMode=function(Ye){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Ye)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Ye+'" is not recognized.');ts=Ye};ft.__private__.getPageMode=function(){return ts};var bl=ft.__private__.setLayoutMode=function(Ye){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Ye)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Ye+'" is not recognized.');pl=Ye};ft.__private__.getLayoutMode=function(){return pl},ft.__private__.setDisplayMode=ft.setDisplayMode=function(Ye,jt,Qn){return Jl(Ye),bl(jt),Rs(Qn),this};var gl={title:"",subject:"",author:"",keywords:"",creator:""};ft.__private__.getDocumentProperty=function(Ye){if(Object.keys(gl).indexOf(Ye)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return gl[Ye]},ft.__private__.getDocumentProperties=function(){return gl},ft.__private__.setDocumentProperties=ft.setProperties=ft.setDocumentProperties=function(Ye){for(var jt in gl)gl.hasOwnProperty(jt)&&Ye[jt]&&(gl[jt]=Ye[jt]);return this},ft.__private__.setDocumentProperty=function(Ye,jt){if(Object.keys(gl).indexOf(Ye)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return gl[Ye]=jt};var _a,js,Ka,Ec,Il,qs={},el={},Wu=[],is={},Su={},ms={},_s={},Vu=null,rl=0,fs=[],ql=new tm(ft),Sp=y.hotfixes||[],NA={},gh={},zf=[],hs=function Ye(jt,Qn,Ar,Hr,Zi,so){if(!(this instanceof Ye))return new Ye(jt,Qn,Ar,Hr,Zi,so);isNaN(jt)&&(jt=1),isNaN(Qn)&&(Qn=0),isNaN(Ar)&&(Ar=0),isNaN(Hr)&&(Hr=1),isNaN(Zi)&&(Zi=0),isNaN(so)&&(so=0),this._matrix=[jt,Qn,Ar,Hr,Zi,so]};Object.defineProperty(hs.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Ye){this._matrix[0]=Ye}}),Object.defineProperty(hs.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Ye){this._matrix[1]=Ye}}),Object.defineProperty(hs.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Ye){this._matrix[2]=Ye}}),Object.defineProperty(hs.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Ye){this._matrix[3]=Ye}}),Object.defineProperty(hs.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Ye){this._matrix[4]=Ye}}),Object.defineProperty(hs.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Ye){this._matrix[5]=Ye}}),Object.defineProperty(hs.prototype,"a",{get:function(){return this._matrix[0]},set:function(Ye){this._matrix[0]=Ye}}),Object.defineProperty(hs.prototype,"b",{get:function(){return this._matrix[1]},set:function(Ye){this._matrix[1]=Ye}}),Object.defineProperty(hs.prototype,"c",{get:function(){return this._matrix[2]},set:function(Ye){this._matrix[2]=Ye}}),Object.defineProperty(hs.prototype,"d",{get:function(){return this._matrix[3]},set:function(Ye){this._matrix[3]=Ye}}),Object.defineProperty(hs.prototype,"e",{get:function(){return this._matrix[4]},set:function(Ye){this._matrix[4]=Ye}}),Object.defineProperty(hs.prototype,"f",{get:function(){return this._matrix[5]},set:function(Ye){this._matrix[5]=Ye}}),Object.defineProperty(hs.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(hs.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(hs.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(hs.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),hs.prototype.join=function(Ye){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Fr).join(Ye)},hs.prototype.multiply=function(Ye){var jt=Ye.sx*this.sx+Ye.shy*this.shx,Qn=Ye.sx*this.shy+Ye.shy*this.sy,Ar=Ye.shx*this.sx+Ye.sy*this.shx,Hr=Ye.shx*this.shy+Ye.sy*this.sy,Zi=Ye.tx*this.sx+Ye.ty*this.shx+this.tx,so=Ye.tx*this.shy+Ye.ty*this.sy+this.ty;return new hs(jt,Qn,Ar,Hr,Zi,so)},hs.prototype.decompose=function(){var Ye=this.sx,jt=this.shy,Qn=this.shx,Ar=this.sy,Hr=this.tx,Zi=this.ty,so=Math.sqrt(Ye*Ye+jt*jt),Ia=(Ye/=so)*Qn+(jt/=so)*Ar;Qn-=Ye*Ia,Ar-=jt*Ia;var Qa=Math.sqrt(Qn*Qn+Ar*Ar);return Ia/=Qa,Ye*(Ar/=Qa)>16&255,Ar=Qa>>8&255,Hr=255&Qa}if(Ar===void 0||Zi===void 0&&Qn===Ar&&Ar===Hr)jt=typeof Qn=="string"?Qn+" "+so[0]:Ye.precision===2?cn(Qn/255)+" "+so[0]:kn(Qn/255)+" "+so[0];else if(Zi===void 0||(0,x.Z)(Zi)==="object"){if(Zi&&!isNaN(Zi.a)&&Zi.a===0)return["1.","1.","1.",so[1]].join(" ");jt=typeof Qn=="string"?[Qn,Ar,Hr,so[1]].join(" "):Ye.precision===2?[cn(Qn/255),cn(Ar/255),cn(Hr/255),so[1]].join(" "):[kn(Qn/255),kn(Ar/255),kn(Hr/255),so[1]].join(" ")}else jt=typeof Qn=="string"?[Qn,Ar,Hr,Zi,so[2]].join(" "):Ye.precision===2?[cn(Qn),cn(Ar),cn(Hr),cn(Zi),so[2]].join(" "):[kn(Qn),kn(Ar),kn(Hr),kn(Zi),so[2]].join(" ");return jt},hf=ft.__private__.getFilters=function(){return Ze},Hd=ft.__private__.putStream=function(Ye){var jt=(Ye=Ye||{}).data||"",Qn=Ye.filters||hf(),Ar=Ye.alreadyAppliedFilters||[],Hr=Ye.addLength1||!1,Zi=jt.length,so=Ye.objectId,Ia=function(Hc){return Hc};if(gt!==null&&so===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");gt!==null&&(Ia=jc.encryptor(so,0));var Qa={};Qn===!0&&(Qn=["FlateEncode"]);var Ss=Ye.additionalKeyValues||[],Hs=(Qa=Na.API.processDataByFilters!==void 0?Na.API.processDataByFilters(jt,Qn):{data:jt,reverseChain:[]}).reverseChain+(Array.isArray(Ar)?Ar.join(" "):Ar.toString());if(Qa.data.length!==0&&(Ss.push({key:"Length",value:Qa.data.length}),Hr===!0&&Ss.push({key:"Length1",value:Zi})),Hs.length!=0)if(Hs.split("/").length-1==1)Ss.push({key:"Filter",value:Hs});else{Ss.push({key:"Filter",value:"["+Hs+"]"});for(var Ll=0;Ll>"),Qa.data.length!==0&&(Mn("stream"),Mn(Ia(Qa.data)),Mn("endstream"))},Ip=ft.__private__.putPage=function(Ye){var jt=Ye.number,Qn=Ye.data,Ar=Ye.objId,Hr=Ye.contentsObjId;uA(Ar,!0),Mn("<>"),Mn("endobj");var Zi=Qn.join(` +`);return Wn===ir&&(Zi+=` +Q`),uA(Hr,!0),Hd({data:Zi,filters:hf(),objectId:Hr}),Mn("endobj"),Ar},Zf=ft.__private__.putPages=function(){var Ye,jt,Qn=[];for(Ye=1;Ye<=rl;Ye++)fs[Ye].objId=rA(),fs[Ye].contentsObjId=rA();for(Ye=1;Ye<=rl;Ye++)Qn.push(Ip({number:Ye,data:Eo[Ye],objId:fs[Ye].objId,contentsObjId:fs[Ye].contentsObjId,mediaBox:fs[Ye].mediaBox,cropBox:fs[Ye].cropBox,bleedBox:fs[Ye].bleedBox,trimBox:fs[Ye].trimBox,artBox:fs[Ye].artBox,userUnit:fs[Ye].userUnit,rootDictionaryObjId:Vh,resourceDictionaryObjId:df}));uA(Vh,!0),Mn("<>"),Mn("endobj"),ql.publish("postPutPages")},Lp=function(Ye){ql.publish("putFont",{font:Ye,out:Mn,newObject:pc,putStream:Hd}),Ye.isAlreadyPutted!==!0&&(Ye.objectNumber=pc(),Mn("<<"),Mn("/Type /Font"),Mn("/BaseFont /"+gd(Ye.postScriptName)),Mn("/Subtype /Type1"),typeof Ye.encoding=="string"&&Mn("/Encoding /"+Ye.encoding),Mn("/FirstChar 32"),Mn("/LastChar 255"),Mn(">>"),Mn("endobj"))},rg=function(Ye){Ye.objectNumber=pc();var jt=[];jt.push({key:"Type",value:"/XObject"}),jt.push({key:"Subtype",value:"/Form"}),jt.push({key:"BBox",value:"["+[Fr(Ye.x),Fr(Ye.y),Fr(Ye.x+Ye.width),Fr(Ye.y+Ye.height)].join(" ")+"]"}),jt.push({key:"Matrix",value:"["+Ye.matrix.toString()+"]"});var Qn=Ye.pages[1].join(` +`);Hd({data:Qn,additionalKeyValues:jt,objectId:Ye.objectNumber}),Mn("endobj")},ig=function(Ye,jt){jt||(jt=21);var Qn=pc(),Ar=function(so,Ia){var Qa,Ss=[],Hs=1/(Ia-1);for(Qa=0;Qa<1;Qa+=Hs)Ss.push(Qa);if(Ss.push(1),so[0].offset!=0){var Ll={offset:0,color:so[0].color};so.unshift(Ll)}if(so[so.length-1].offset!=1){var ic={offset:1,color:so[so.length-1].color};so.push(ic)}for(var Pc="",Fu=0,Hc=0;Hcso[Fu+1].offset;)Fu++;var Tc=so[Fu].offset,cA=(Qa-Tc)/(so[Fu+1].offset-Tc),Sh=so[Fu].color,gf=so[Fu+1].color;Pc+=vr(Math.round((1-cA)*Sh[0]+cA*gf[0]).toString(16))+vr(Math.round((1-cA)*Sh[1]+cA*gf[1]).toString(16))+vr(Math.round((1-cA)*Sh[2]+cA*gf[2]).toString(16))}return Pc.trim()}(Ye.colors,jt),Hr=[];Hr.push({key:"FunctionType",value:"0"}),Hr.push({key:"Domain",value:"[0.0 1.0]"}),Hr.push({key:"Size",value:"["+jt+"]"}),Hr.push({key:"BitsPerSample",value:"8"}),Hr.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Hr.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Hd({data:Ar,additionalKeyValues:Hr,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Qn}),Mn("endobj"),Ye.objectNumber=pc(),Mn("<< /ShadingType "+Ye.type),Mn("/ColorSpace /DeviceRGB");var Zi="/Coords ["+Fr(parseFloat(Ye.coords[0]))+" "+Fr(parseFloat(Ye.coords[1]))+" ";Ye.type===2?Zi+=Fr(parseFloat(Ye.coords[2]))+" "+Fr(parseFloat(Ye.coords[3])):Zi+=Fr(parseFloat(Ye.coords[2]))+" "+Fr(parseFloat(Ye.coords[3]))+" "+Fr(parseFloat(Ye.coords[4]))+" "+Fr(parseFloat(Ye.coords[5])),Mn(Zi+="]"),Ye.matrix&&Mn("/Matrix ["+Ye.matrix.toString()+"]"),Mn("/Function "+Qn+" 0 R"),Mn("/Extend [true true]"),Mn(">>"),Mn("endobj")},og=function(Ye,jt){var Qn=rA(),Ar=pc();jt.push({resourcesOid:Qn,objectOid:Ar}),Ye.objectNumber=Ar;var Hr=[];Hr.push({key:"Type",value:"/Pattern"}),Hr.push({key:"PatternType",value:"1"}),Hr.push({key:"PaintType",value:"1"}),Hr.push({key:"TilingType",value:"1"}),Hr.push({key:"BBox",value:"["+Ye.boundingBox.map(Fr).join(" ")+"]"}),Hr.push({key:"XStep",value:Fr(Ye.xStep)}),Hr.push({key:"YStep",value:Fr(Ye.yStep)}),Hr.push({key:"Resources",value:Qn+" 0 R"}),Ye.matrix&&Hr.push({key:"Matrix",value:"["+Ye.matrix.toString()+"]"}),Hd({data:Ye.stream,additionalKeyValues:Hr,objectId:Ye.objectNumber}),Mn("endobj")},Gm=function(Ye){for(var jt in Ye.objectNumber=pc(),Mn("<<"),Ye)switch(jt){case"opacity":Mn("/ca "+cn(Ye[jt]));break;case"stroke-opacity":Mn("/CA "+cn(Ye[jt]))}Mn(">>"),Mn("endobj")},Bg=function(Ye){uA(Ye.resourcesOid,!0),Mn("<<"),Mn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var jt in Mn("/Font <<"),qs)qs.hasOwnProperty(jt)&&(Ut===!1||Ut===!0&&qt.hasOwnProperty(jt))&&Mn("/"+jt+" "+qs[jt].objectNumber+" 0 R");Mn(">>")}(),function(){if(Object.keys(is).length>0){for(var jt in Mn("/Shading <<"),is)is.hasOwnProperty(jt)&&is[jt]instanceof Mf&&is[jt].objectNumber>=0&&Mn("/"+jt+" "+is[jt].objectNumber+" 0 R");ql.publish("putShadingPatternDict"),Mn(">>")}}(),function(jt){if(Object.keys(is).length>0){for(var Qn in Mn("/Pattern <<"),is)is.hasOwnProperty(Qn)&&is[Qn]instanceof ft.TilingPattern&&is[Qn].objectNumber>=0&&is[Qn].objectNumber>")}}(Ye.objectOid),function(){if(Object.keys(ms).length>0){var jt;for(jt in Mn("/ExtGState <<"),ms)ms.hasOwnProperty(jt)&&ms[jt].objectNumber>=0&&Mn("/"+jt+" "+ms[jt].objectNumber+" 0 R");ql.publish("putGStateDict"),Mn(">>")}}(),function(){for(var jt in Mn("/XObject <<"),NA)NA.hasOwnProperty(jt)&&NA[jt].objectNumber>=0&&Mn("/"+jt+" "+NA[jt].objectNumber+" 0 R");ql.publish("putXobjectDict"),Mn(">>")}(),Mn(">>"),Mn("endobj")},im=function(Ye){el[Ye.fontName]=el[Ye.fontName]||{},el[Ye.fontName][Ye.fontStyle]=Ye.id},om=function(Ye,jt,Qn,Ar,Hr){var Zi={id:"F"+(Object.keys(qs).length+1).toString(10),postScriptName:Ye,fontName:jt,fontStyle:Qn,encoding:Ar,isStandardFont:Hr||!1,metadata:{}};return ql.publish("addFont",{font:Zi,instance:this}),qs[Zi.id]=Zi,im(Zi),Zi.id},zd=ft.__private__.pdfEscape=ft.pdfEscape=function(Ye,jt){return function(Qn,Ar){var Hr,Zi,so,Ia,Qa,Ss,Hs,Ll,ic;if(so=(Ar=Ar||{}).sourceEncoding||"Unicode",Qa=Ar.outputEncoding,(Ar.autoencode||Qa)&&qs[_a].metadata&&qs[_a].metadata[so]&&qs[_a].metadata[so].encoding&&(Ia=qs[_a].metadata[so].encoding,!Qa&&qs[_a].encoding&&(Qa=qs[_a].encoding),!Qa&&Ia.codePages&&(Qa=Ia.codePages[0]),typeof Qa=="string"&&(Qa=Ia[Qa]),Qa)){for(Hs=!1,Ss=[],Hr=0,Zi=Qn.length;Hr>8&&(Hs=!0);Qn=Ss.join("")}for(Hr=Qn.length;Hs===void 0&&Hr!==0;)Qn.charCodeAt(Hr-1)>>8&&(Hs=!0),Hr--;if(!Hs)return Qn;for(Ss=Ar.noBOM?[]:[254,255],Hr=0,Zi=Qn.length;Hr>8)>>8)throw new Error("Character at position "+Hr+" of string '"+Qn+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ss.push(ic),Ss.push(Ll-(ic<<8))}return String.fromCharCode.apply(void 0,Ss)}(Ye,jt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Eg=ft.__private__.beginPage=function(Ye){Eo[++rl]=[],fs[rl]={objId:0,contentsObjId:0,userUnit:Number(Ue),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Ye[0]),topRightY:Number(Ye[1])}},sm(rl),qa(Eo[Kn])},am=function(Ye,jt){var Qn,Ar,Hr;switch(E=jt||E,typeof Ye=="string"&&(Qn=fn(Ye.toLowerCase()),Array.isArray(Qn)&&(Ar=Qn[0],Hr=Qn[1])),Array.isArray(Ye)&&(Ar=Ye[0]*js,Hr=Ye[1]*js),isNaN(Ar)&&(Ar=ce[0],Hr=ce[1]),(Ar>14400||Hr>14400)&&(dl.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Ar=Math.min(14400,Ar),Hr=Math.min(14400,Hr)),ce=[Ar,Hr],E.substr(0,1)){case"l":Hr>Ar&&(ce=[Hr,Ar]);break;case"p":Ar>Hr&&(ce=[Hr,Ar])}Eg(ce),Ds(Ig),Mn(ug),Dg!==0&&Mn(Dg+" J"),Ng!==0&&Mn(Ng+" j"),ql.publish("addPage",{pageNumber:rl})},Sg=function(Ye){Ye>0&&Ye<=rl&&(Eo.splice(Ye,1),fs.splice(Ye,1),rl--,Kn>rl&&(Kn=rl),this.setPage(Kn))},sm=function(Ye){Ye>0&&Ye<=rl&&(Kn=Ye)},lm=ft.__private__.getNumberOfPages=ft.getNumberOfPages=function(){return Eo.length-1},um=function(Ye,jt,Qn){var Ar,Hr=void 0;return Qn=Qn||{},Ye=Ye!==void 0?Ye:qs[_a].fontName,jt=jt!==void 0?jt:qs[_a].fontStyle,Ar=Ye.toLowerCase(),el[Ar]!==void 0&&el[Ar][jt]!==void 0?Hr=el[Ar][jt]:el[Ye]!==void 0&&el[Ye][jt]!==void 0?Hr=el[Ye][jt]:Qn.disableWarning===!1&&dl.warn("Unable to look up font label for font '"+Ye+"', '"+jt+"'. Refer to getFontList() for available fonts."),Hr||Qn.noFallback||(Hr=el.times[jt])==null&&(Hr=el.times.normal),Hr},Wf=ft.__private__.putInfo=function(){var Ye=pc(),jt=function(Ar){return Ar};for(var Qn in gt!==null&&(jt=jc.encryptor(Ye,0)),Mn("<<"),Mn("/Producer ("+zd(jt("jsPDF "+Na.version))+")"),gl)gl.hasOwnProperty(Qn)&&gl[Qn]&&Mn("/"+Qn.substr(0,1).toUpperCase()+Qn.substr(1)+" ("+zd(jt(gl[Qn]))+")");Mn("/CreationDate ("+zd(jt(fi))+")"),Mn(">>"),Mn("endobj")},ag=ft.__private__.putCatalog=function(Ye){var jt=(Ye=Ye||{}).rootDictionaryObjId||Vh;switch(pc(),Mn("<<"),Mn("/Type /Catalog"),Mn("/Pages "+jt+" 0 R"),As||(As="fullwidth"),As){case"fullwidth":Mn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Mn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Mn("/OpenAction [3 0 R /Fit]");break;case"original":Mn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Qn=""+As;Qn.substr(Qn.length-1)==="%"&&(As=parseInt(As)/100),typeof As=="number"&&Mn("/OpenAction [3 0 R /XYZ null null "+cn(As)+"]")}switch(pl||(pl="continuous"),pl){case"continuous":Mn("/PageLayout /OneColumn");break;case"single":Mn("/PageLayout /SinglePage");break;case"two":case"twoleft":Mn("/PageLayout /TwoColumnLeft");break;case"tworight":Mn("/PageLayout /TwoColumnRight")}ts&&Mn("/PageMode /"+ts),ql.publish("putCatalog"),Mn(">>"),Mn("endobj")},Xm=ft.__private__.putTrailer=function(){Mn("trailer"),Mn("<<"),Mn("/Size "+(kr+1)),Mn("/Root "+kr+" 0 R"),Mn("/Info "+(kr-1)+" 0 R"),gt!==null&&Mn("/Encrypt "+jc.oid+" 0 R"),Mn("/ID [ <"+wi+"> <"+wi+"> ]"),Mn(">>")},Oc=ft.__private__.putHeader=function(){Mn("%PDF-"+Dn),Mn("%\xBA\xDF\xAC\xE0")},cm=ft.__private__.putXRef=function(){var Ye="0000000000";Mn("xref"),Mn("0 "+(kr+1)),Mn("0000000000 65535 f ");for(var jt=1;jt<=kr;jt++)typeof Jr[jt]=="function"?Mn((Ye+Jr[jt]()).slice(-10)+" 00000 n "):Jr[jt]!==void 0?Mn((Ye+Jr[jt]).slice(-10)+" 00000 n "):Mn("0000000000 00000 n ")},Vf=ft.__private__.buildDocument=function(){var Ye;kr=0,Li=0,Si=[],Jr=[],Yi=[],Vh=rA(),df=rA(),qa(Si),ql.publish("buildDocument"),Oc(),Zf(),function(){ql.publish("putAdditionalObjects");for(var Qn=0;Qn"),Mn("/O <"+jc.toHexString(jc.O)+">"),Mn("/P "+jc.P),Mn(">>"),Mn("endobj")),Wf(),ag();var jt=Li;return cm(),Xm(),Mn("startxref"),Mn(""+jt),Mn("%%EOF"),qa(Eo[Kn]),Si.join(` +`)},sg=ft.__private__.getBlob=function(Ye){return new Blob([$s(Ye)],{type:"application/pdf"})},Am=ft.output=ft.__private__.output=(jd=function(Ye,jt){switch(typeof(jt=jt||{})=="string"?jt={filename:jt}:jt.filename=jt.filename||"generated.pdf",Ye){case void 0:return Vf();case"save":ft.save(jt.filename);break;case"arraybuffer":return $s(Vf());case"blob":return sg(Vf());case"bloburi":case"bloburl":if(Ra.URL!==void 0&&typeof Ra.URL.createObjectURL=="function")return Ra.URL&&Ra.URL.createObjectURL(sg(Vf()))||void 0;dl.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Qn="",Ar=Vf();try{Qn=wg(Ar)}catch(Pc){Qn=wg(unescape(encodeURIComponent(Ar)))}return"data:application/pdf;filename="+jt.filename+";base64,"+Qn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Ra)==="[object Window]"){var Hr="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Zi=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';jt.pdfObjectUrl&&(Hr=jt.pdfObjectUrl,Zi="");var so='