diff --git a/index.html b/index.html index 6cd245d270..5e878de20c 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/p__Classrooms__Lists__OnlineLearning__index.af0ed6a3.chunk.css b/p__Classrooms__Lists__OnlineLearning__index.af0ed6a3.chunk.css new file mode 100644 index 0000000000..8c43bc373b --- /dev/null +++ b/p__Classrooms__Lists__OnlineLearning__index.af0ed6a3.chunk.css @@ -0,0 +1 @@ +.flex_box_center___Eli3_{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___b9mMZ{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___HDlqC{align-items:center;box-align:center}.flex_box_center_end___wxSjo{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___riQIC{flex-direction:column;box-orient:block-axis}.icons___fU5ZJ{color:#0152d9;width:18px;height:18px;text-align:center;line-height:18px;border-radius:18px;display:inline-block}.icons___fU5ZJ img{width:14px}.shixuns___HhH4T [class~=ant-row]{min-height:40px;padding:0 20px;cursor:pointer}.shixuns___HhH4T [class~=ant-row] aside{display:none}.shixuns___HhH4T [class~=ant-row]:hover{background-color:#f2f8ff}.shixuns___HhH4T [class~=ant-row]:hover aside{display:inline}.shixuns___HhH4T [class~=ant-row]:hover [class~=experiment-number]{display:none}.buttons___Xd62N{text-align:right;padding-bottom:30px;padding-right:20px}.buttons___Xd62N button{width:130px;text-align:center;margin-left:25px}.addStage___Ap4gr{margin-top:10px;text-align:center;height:90px;line-height:90px;background-color:#fff;cursor:pointer;color:#999}.color4CA___dMAG4{color:#0152d9}.color204___ySVKY{color:#ccc}.completed___pNt1x{font-size:12px;padding:2px;color:#07b318;border:1px solid #07b318;margin-left:5px}.actionTabs___x3cPl{height:76px;display:flex;align-items:center;justify-content:flex-start;font-size:16px;background-color:#fff;border-bottom:1px solid #f5f5f5}.actionTabs___x3cPl .tab___BFnIn{margin:0 20px 0 30px}.actionTabs___x3cPl .tab___BFnIn .s1___O6K2P{cursor:pointer}.actionTabs___x3cPl .tabActive___v3_qF{margin:0 20px 0 30px;position:relative}.actionTabs___x3cPl .tabActive___v3_qF .s1___O6K2P{cursor:pointer}.actionTabs___x3cPl .tabActive___v3_qF .s1___O6K2P{color:#0152d9}.actionTabs___x3cPl .tabActive___v3_qF:after{content:"";height:3px;background-color:#0152d9;position:absolute;left:0;bottom:-25px;z-index:1;width:100%}.total___oZdqK{padding:20px 0 0 30px;font-size:14px;color:#333;background-color:#fff}.total___oZdqK>span{color:#0152d9;margin:0 4px}.introContent___dSvDD{text-align:justify}.introContentMaxHeight___NxSzO{max-height:110px;overflow:hidden}.flex_box_center___bI3gK{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ZyemH{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___vOG6y{align-items:center;box-align:center}.flex_box_center_end___g0YQU{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___a7oLH{flex-direction:column;box-orient:block-axis}.wrp___wYwtQ{background:#fff;box-shadow:0 4px 8px #0000000a;padding-top:10px}.drawer___UVA9h [class=ant-drawer-content]{background:#f5f5f5!important}.menu___s5Hi1{padding:0;margin:15px 0;position:relative;z-index:2}.menu___s5Hi1:hover{z-index:3}.menu___s5Hi1>li{display:inline-block;position:relative;margin-right:10px;font-size:14px;font-weight:600;cursor:pointer;height:32px;line-height:32px;border-radius:32px;padding:0 18px}.menu___s5Hi1>li a{color:#4b4b4b}.menu___s5Hi1>li strong{cursor:pointer;font-size:14px}.menu___s5Hi1>li:hover{color:#fff;background:#0152d9}.actived___GavBb{background:#0152d9;color:#fff}.actived2___XNyxe{color:#0152d9!important}.listItem___OyHb7{padding:25px 30px;display:box;display:flex;background:#fff;margin-top:20px;cursor:pointer}.listItem___OyHb7>div{flex:1 1}.listItem___OyHb7:hover{box-shadow:0 0 10px #ccc}.info___UU9rA{margin-left:20px}.info___UU9rA p{margin-top:18px}.title___CmRLc{display:box;display:flex;align-items:center;box-align:center}.title___CmRLc strong{color:#333}.titleLeft___xWCXz{flex:1 1}.titleRight___PeYdC{margin-top:18px}.titleRight___PeYdC a{margin-right:20px;font-weight:700}.search___CzPOL{width:600px;margin:30px 0}.search___CzPOL input,.search___CzPOL [class=ant-input-group-addon] button{height:50px!important;line-height:50px!important;padding:0 30px!important;font-size:16px!important}.description___TEI_C{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.menuCourse___Z8Z9h{color:#999}.menuCourse___Z8Z9h ul,.menuCourse___Z8Z9h li{margin:0;padding:0;list-style:none}.menuCourse___Z8Z9h li{display:inline-block;margin-right:30px}.wrap___UWG0f{background-color:#fff;padding:30px;border-bottom:1px solid #eeeeee}.name___LIQSC{height:40px;text-align:center;font-size:19px;color:#212121}.button___CSggN{height:40px}.progress___AQo_Y{width:400px}.havaLearn___fq9Cb{height:40px;font-size:19px;color:#212121}.modal___EKlPQ [class~=ant-modal-body]{padding-left:60px;padding-right:60px}.uploadWrap___YGxav{display:flex;flex-flow:row;align-items:center}.upload___ouqG9{display:flex;align-items:center;justify-content:center;margin-right:10px;height:31px;width:120px;padding:3px 11px;font-size:14px;color:#fff;background:#0152d9;border-color:#0152d9;text-align:center;cursor:pointer;border-radius:2px}.uploadLink___nuif6{color:#0152d9;background:#fff;border:1px solid #0152d9}.fileProgress___tf4qy{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.fileCancel___Bh3Wh{cursor:pointer;font-size:14px;color:red}.videoName___Ra0NM{color:#0152d9}.contentItem___zMdIq [class~=ant-form-item-label] label:before{display:inline-block;margin-right:4px;color:#ff4d4f;font-size:12px;font-family:SimSun,sans-serif;line-height:1;content:"*"}.tagsList-content___sDVph{margin-left:78px}.img___BgL9D{position:relative;width:400px;height:auto;background-color:#f4f3f4;display:flex;align-items:center;justify-content:center}.img___BgL9D>div{position:absolute;right:-6px;top:-6px;cursor:pointer;background-color:#fff;width:16px;height:16px;border-radius:50%}.upload___jpwPD{display:inline-block}.upload_button{width:108px;height:40px!important;background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9)!important;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80!important;border-radius:2px;border:1px solid #BACFFE!important;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#3061d0!important;display:inline-block;text-align:center;align-items:center;align-content:center}.upload_button .aBtn_img{width:14px;height:14px;margin-top:-3px;margin-right:8px}.upload_button:hover{width:108px;height:40px!important;background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;border:1px solid #3061D0!important;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#3061d0!important}.upload_button:active{width:108px;height:40px!important;background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;border:1px solid #3061D0!important;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#3061d0}.upload_text{width:129px;height:20px;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#5f6367;line-height:20px;margin-left:16px}#educoder .tree___SHCwq [class~=ant-tree-switcher]{display:none}#educoder .tree___SHCwq [class~=ant-tree-indent]{line-height:0;height:0}#educoder .tree___SHCwq [class~=ant-tree-node-content-wrapper]{padding:0!important;min-height:0!important}#educoder .tree___SHCwq [class~=drag-over] *{color:#fff}#educoder .tree___SHCwq [class~=ant-tree-treenode]:has([class~=ant-tree-title]:empty){display:none}#educoder .tree___SHCwq [class~=ant-tree-draggable-icon]{visibility:hidden}#educoder .tree___SHCwq [class~=ant-row]{min-height:40px;padding:0 20px 0 0;cursor:pointer}#educoder .tree___SHCwq [class~=ant-row] aside{display:none}#educoder .tree___SHCwq [class~=ant-row]:hover{background-color:#f2f8ff}#educoder .tree___SHCwq [class~=ant-row]:hover aside{display:inline}#educoder .tree___SHCwq [class~=ant-row]:hover [class~=experiment-number]{display:none}#educoder .tree___SHCwq .learn___buOG9{display:inline-flex;align-items:center}#educoder .tree___SHCwq .learn___buOG9 .name___dwQwe{display:inline-block;max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#educoder .tree___SHCwq .learn___buOG9 .sign___aQzc5{display:inline-block;width:54px;height:18px;background:#f8b023;border-radius:8px;font-size:12px;color:#fff;line-height:18px;margin-left:5px;text-align:center}#educoder .pdf_name___m1wEX{display:inline-block;max-width:650px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3061d0!important}#educoder .name_style___CnJ7d{display:inline-block;max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#333!important}#educoder .color333___TbHdH{color:#333!important}.pagination-container{padding:12px 0 0}.discuss-warp-container .CodeMirror-scroll,.discuss-warp-container .CodeMirror-sizer,.discuss-warp-container .CodeMirror-gutter,.discuss-warp-container .CodeMirror-gutters,.discuss-warp-container .CodeMirror-linenumber{box-sizing:content-box!important}.ldsRing___mpBZC{position:relative;width:40px;height:40px;margin:0 auto}.idsRingWrapper___Of9_n{position:absolute;z-index:1000;width:100%;height:100%;left:0;top:0;display:flex;flex-flow:column nowrap;justify-content:center}.idsRingWrapper___Of9_n p{text-align:center;margin-top:12px}.ldsRing___mpBZC div{box-sizing:border-box;display:block;position:absolute;width:32px;height:32px;margin:4px;border:4px solid #1976d2;border-radius:50%;animation:ldsring___o0w2t 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#1976d2 transparent transparent transparent}.ldsRing___mpBZC div:nth-child(1){animation-delay:-.45s}.ldsRing___mpBZC div:nth-child(2){animation-delay:-.3s}.ldsRing___mpBZC div:nth-child(3){animation-delay:-.15s}@keyframes ldsring___o0w2t{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.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}.markdown-editor-wrapper{position:relative;margin-bottom:12px}.markdown-editor-body{display:flex;flex-flow:row nowrap;width:100%;height:calc(100% - 38px);align-items:center;overflow:hidden}.markdown-editor-body .codemirror-container{flex:1 0;height:100%;width:100%;overflow:hidden}.markdown-editor-body .CodeMirror-wrap{padding-bottom:15px}.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}.markdown-editor-container{border:1px solid #ccc;overflow:hidden;border-radius:4px;font-size:16px}.markdown-editor-container.full-screen{position:fixed;inset:0;height:100vh!important;z-index:998}.markdown-editor-container.full-screen .preview-container>div{padding-bottom:180px!important}.markdown-editor-container.full-screen .CodeMirror-sizer>div{margin-bottom:90px}.markdown-editor-container.on-preview .codemirror-container,.markdown-editor-container.on-preview .preview-container{width:50%}.mini .markdown-editor-body{height:calc(100% - 28px)}.flex-end{justify-content:flex-end}.my-codemirror-container{border:1px solid #ccc;width:100%;margin-bottom:24px}.markdown-tip{color:#cdcdcd;font-size:12px;position:absolute;right:0;bottom:-28px;margin-bottom:7px}.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}@keyframes blink{50%{background-color:transparent}}.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:0;margin-right:0;padding-bottom:5px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:0px}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display: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}.CodeMirror-sizer{padding-top:10px;padding-bottom:10px!important}.CodeMirror-empty.CodeMirror-focused{outline:none}.CodeMirror pre.CodeMirror-placeholder{color:#999}.CodeMirror{position:relative;overflow:hidden;background:#fff;word-break:break-word}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{word-wrap:break-word;word-break:break-word;white-space:pre-wrap;line-height:1.6}.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}.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}.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}.discuss-item-editor{width:100%;overflow:hidden}.discuss-item-editor .btn-send{cursor:pointer;border:none;padding:0 12px;color:#fff;letter-spacing:1px;text-align:center;font-size:14px;height:30px;line-height:30px;border-radius:2px;font-weight:400;margin-right:22px;margin-top:6px;background:#0152d9;float:right}.discuss-item-container{display:flex;flex-flow:row nowrap;width:100%;padding:15px;border-bottom:1px solid #e3e3e3;overflow:hidden}.discuss-item-container section{margin-left:15px;flex:1 1 auto;width:100%}.discuss-item-container .grey{color:#ccc}.discuss-content{margin:4px 0;word-break:break-word;word-wrap:break-word}.discuss-content img{max-width:200px}.discuss-info{display:flex;flex-flow:row wrap;align-items:center;color:#999;line-height:16px;font-size:12px}.discuss-info .top{color:#fff;padding:0 8px;background:#ff4343;border-radius:8px;text-align:center}.discuss-info .gift{cursor:default}.discuss-info .view-code{color:#4cacff}.discuss-info a{color:#999}.discuss-info a,.discuss-info span{margin-right:15px}.hidden{display:none}.btn-group{display:flex;flex-flow:row nowrap;justify-content:flex-end;margin-bottom:8px}.btn-group .btn-top .iconfont{transform:rotate(180deg);display:inline-block}.btn-group a{width:31px;text-align:center;color:#888}.btn-group a .iconfont{font-size:14px!important}.second-level-discuss{padding:2px 8px}.second-level-discuss .btn-group{opacity:0}.second-level-discuss:hover{background:#ebebeb}.second-level-discuss:hover .btn-group{opacity:1}.discuss-info-body{display:flex;flex-flow:row wrap;align-items:center;justify-content:space-between}.reply-discuss-container{background:#f4f4f4;border-radius:4px;margin-bottom:6px;position:relative;margin-top:6px}.reply-discuss-container:before{content:" ";position:absolute;border-color:#000;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;left:13px;top:-9px;border-bottom:10px solid #f4f4f4}.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___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 img{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:30px}.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;top:0;right:0;width:70px;height:32px;background:#0000004d;color:#d9c7ab;padding:0 8px;font-size:16px;line-height:32px;border-top-right-radius:8px;border-bottom-left-radius:8px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .bq___Bil0T{margin-right:10px;width:64px;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}.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 .wrap___pKgcW{height:270px;background:#fff;box-shadow:0 1px 4px #d6dae1;border-radius:8px;position:relative}.list___L1hmU .wrap___pKgcW:hover .lockWrap___SMhkK{display:flex}.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} diff --git a/p__Classrooms__Lists__OnlineLearning__index.b99a0824.async.js b/p__Classrooms__Lists__OnlineLearning__index.b99a0824.async.js new file mode 100644 index 0000000000..c7f3f4e202 --- /dev/null +++ b/p__Classrooms__Lists__OnlineLearning__index.b99a0824.async.js @@ -0,0 +1,236 @@ +(self.webpackChunk=self.webpackChunk||[]).push([[8827],{26227:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(92413),ve=oe(59301),Je={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"},Ne=Je,Ie=oe(7657),Te=function(st,pt){return ve.createElement(Ie.Z,(0,ne.Z)({},st,{ref:pt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye},49198:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(92413),ve=oe(59301),Je={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"},Ne=Je,Ie=oe(7657),Te=function(st,pt){return ve.createElement(Ie.Z,(0,ne.Z)({},st,{ref:pt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye},41464:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(92413),ve=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ne=Je,Ie=oe(7657),Te=function(st,pt){return ve.createElement(Ie.Z,(0,ne.Z)({},st,{ref:pt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye},87169:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(92413),ve=oe(59301),Je={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"},Ne=Je,Ie=oe(7657),Te=function(st,pt){return ve.createElement(Ie.Z,(0,ne.Z)({},st,{ref:pt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye},52671:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(92413),ve=oe(59301),Je={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"},Ne=Je,Ie=oe(7657),Te=function(st,pt){return ve.createElement(Ie.Z,(0,ne.Z)({},st,{ref:pt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye},8657:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(92413),ve=oe(59301),Je={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"},Ne=Je,Ie=oe(7657),Te=function(st,pt){return ve.createElement(Ie.Z,(0,ne.Z)({},st,{ref:pt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye},10906:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(92413),ve=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"},Ne=Je,Ie=oe(7657),Te=function(st,pt){return ve.createElement(Ie.Z,(0,ne.Z)({},st,{ref:pt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye},56082:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(92413),ve=oe(59301),Je={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"},Ne=Je,Ie=oe(7657),Te=function(st,pt){return ve.createElement(Ie.Z,(0,ne.Z)({},st,{ref:pt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye},61481:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(92413),ve=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Ne=Je,Ie=oe(7657),Te=function(st,pt){return ve.createElement(Ie.Z,(0,ne.Z)({},st,{ref:pt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye},33853:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(92413),ve=oe(59301),Je={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"},Ne=Je,Ie=oe(7657),Te=function(st,pt){return ve.createElement(Ie.Z,(0,ne.Z)({},st,{ref:pt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye},15075:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(92413),ve=oe(59301),Je={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"},Ne=Je,Ie=oe(7657),Te=function(st,pt){return ve.createElement(Ie.Z,(0,ne.Z)({},st,{ref:pt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye},43531:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(92413),ve=oe(59301),Je={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"},Ne=Je,Ie=oe(7657),Te=function(st,pt){return ve.createElement(Ie.Z,(0,ne.Z)({},st,{ref:pt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye},38819:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(92413),ve=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ne=Je,Ie=oe(7657),Te=function(st,pt){return ve.createElement(Ie.Z,(0,ne.Z)({},st,{ref:pt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye},32050:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(92413),ve=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},Ne=Je,Ie=oe(7657),Te=function(st,pt){return ve.createElement(Ie.Z,(0,ne.Z)({},st,{ref:pt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye},11570:function(xt,Tt){"use strict";Tt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},29277:function(){"use strict";function xt(le,y,a,E){a===void 0&&(a=0),E===void 0&&(E=1/0),this._name=le,this._defaultValue=y,this._minimum=a,this._maximum=E}Object.defineProperty(xt.prototype,"name",{get:function(){return this._name},set:function(le){if(typeof le!="string"||le==="")throw new Error("Shape name must be a valid string.");this._name=le}}),Object.defineProperty(xt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("The default value must be a real number, not: "+le);this._defaultValue=le}}),Object.defineProperty(xt.prototype,"minimum",{get:function(){return this._minimum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Minimum must be a real number, not: "+le);this._minimum=le}}),Object.defineProperty(xt.prototype,"maximum",{get:function(){return this._maximum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Maximum must be a real number, not: "+le);this._maximum=le}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(le,y){var a=go.Shape._FigureParameters[le];return a?a[y]:null},go.Shape.setFigureParameter=function(le,y,a){if(!(a instanceof xt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var E=go.Shape._FigureParameters[le];E||(E=[],go.Shape._FigureParameters[le]=E),E[y]=a};var Tt=[];function oe(le,y){var a=Tt.pop();return a===void 0?new go.Point(le,y):(a.x=le,a.y=y,a)}function ne(){var le=Tt.pop();return le===void 0?new go.Point:le}function ve(le){Tt.push(le)}function Je(le,y,a,E,b,x,te,ae,ie){ie||(ie=new go.Point);var ue=le-a,de=b-te,fe=NaN,Ce=NaN;if(ue===0)if(de===0)le===a&&(fe=le,Ce=y);else{var Pe=(x-ae)/de,je=x-Pe*b;fe=le,Ce=Pe*fe+je}else if(de===0){var Se=(y-E)/ue,Qe=y-Se*le;fe=b,Ce=Se*fe+Qe}else{var Se=(y-E)/ue,Pe=(x-ae)/de,Qe=y-Se*le,je=x-Pe*b;fe=(je-Qe)/(Se-Pe),Ce=Se*fe+Qe}return ie.x=fe,ie.y=Ce,ie}function Ne(le,y,a,E,b,x,te,ae,ie,ue,de,fe,Ce,Pe){var je=1-ie,Se=ie,Qe=le*je+a*Se,Bt=y*je+E*Se,Ot=a*je+b*Se,Ve=E*je+x*Se,ft=b*je+te*Se,Dt=x*je+ae*Se,Vt=Qe*je+Ot*Se,Rt=Bt*je+Ve*Se,St=Ot*je+ft*Se,ke=Ve*je+Dt*Se,rt=Vt*je+St*Se,Lt=Rt*je+ke*Se;ue.x=Qe,ue.y=Bt,de.x=Vt,de.y=Rt,fe.x=rt,fe.y=Lt,Ce.x=St,Ce.y=ke,Pe.x=ft,Pe.y=Dt}var Ie=new go.Spot(.156,.156),Te=new go.Spot(.844,.844),ye=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new xt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(le,y,a){var E=le?le.parameter1:NaN;(isNaN(E)||E<0)&&(E=5),E=Math.min(E,y/3),E=Math.min(E,a/3);var b=E*ye,x=new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,E,y-b,0,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,a-E)).add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-b,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()));return b>1&&(x.spot1=new go.Spot(0,0,b,b),x.spot2=new go.Spot(1,1,-b,-b)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(le,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(le,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(le,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=a/2,E.endX=y,E.endY=a/2,E}),go.Shape.defineFigureGenerator("LineV",function(le,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=y/2,E.startY=0,E.endX=y/2,E.endY=a,E}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(le,y,a){var E=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(E*y,(1-E)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,E*a)).add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(le,y,a){var E=y/2,b=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close()));return b.spot1=Ie,b.spot2=Te,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(le,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}),go.Shape.defineFigureGenerator("Line2",function(le,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=y,E.startY=0,E.endX=0,E.endY=a,E}),go.Shape.defineFigureGenerator("Curve1",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,ye*y,0,y,(1-ye)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,ye*a,(1-ye)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(le,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,ye*a,ye*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(le,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-ye)*y,0,0,(1-ye)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(le,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new xt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)?E=.1:E<-1?E=-1:E>1&&(E=1);var b=Math.abs(E)*y;if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b.5&&(E=.5);var b=Math.abs(E)*y;if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y/2);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y/2);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b0&&(te.add(new go.PathSegment(go.PathSegment.Move,y/2+ae,y/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ae,ae).close())),x.spot1=Ie,x.spot2=Te,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(le,y,a){var E=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(E*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,E*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Line,E*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Line,0,E*a).close())).setSpots(E/2,E/2,1-E/2,1-E/2)}),go.Shape.setFigureParameter("Pie",0,new xt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new xt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(le,y,a){var E=le?le.parameter1:NaN,b=le?le.parameter2:NaN;isNaN(E)&&(E=0),isNaN(b)&&(b=315);var x=E%360;x<0&&(x+=360);var te=b%360,ae=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,x,te,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(le,y,a){var E=ye/Math.SQRT2*.5,b=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*y,x*a,y,(1-E)*a,(b+E)*y,(x+E)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new xt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(le,y,a){var E=le?le.parameter1:NaN;(isNaN(E)||E<0)&&(E=30);var b=Math.min(E,y)/2,x=y/2,te=a/2;return new go.Geometry().add(new go.PathFigure(x-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+b,0)).add(new go.PathSegment(go.PathSegment.Line,x+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,x-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new xt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(le,y,a){var E=le?le.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=Math.min(E,y)/2,x=y/2,te=a/2;return new go.Geometry().add(new go.PathFigure(x-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+b,0)).add(new go.PathSegment(go.PathSegment.Line,x+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,x-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new xt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(le,y,a){var E=le?le.parameter1:NaN;if((isNaN(E)||E<0)&&(E=30),y===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}else{var x=y/2,te=a/2,ae=Math.atan2(a,y),ie=E-Math.min(Math.cos(ae)*E/2,x),ue=E-Math.min(Math.sin(ae)*E/2,te),b=new go.Geometry,de=new go.PathFigure(ie,0,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),de.add(new go.PathSegment(go.PathSegment.Line,y-ie,0)),de.add(new go.PathSegment(go.PathSegment.Line,y,ue)),de.add(new go.PathSegment(go.PathSegment.Line,.8*y,te)),de.add(new go.PathSegment(go.PathSegment.Line,y,a-ue)),de.add(new go.PathSegment(go.PathSegment.Line,y-ie,a)),de.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),de.add(new go.PathSegment(go.PathSegment.Line,ie,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,a-ue)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),de.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new xt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(le,y,a){var E=le?le.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=new go.Geometry,x=new go.PathFigure(.1*y,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new xt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new xt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=.5);var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-E)*y,.25*a,Math.abs(1-E)*y,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*y,.75*a,E*y,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,ye*y,0,y,(.5-ye/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+ye/2)*a,ye*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.4*y,.6*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var x=.2,te=.3,ae=0,ie=x*ye;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+x+ae)*a,(.5-x+te)*y,(.5+ie+ae)*a,(.5-ie+te)*y,(.5+x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+te)*y,(.5+ae)*a,(.5+ie+te)*y,(.5+x+ae)*a,(.5+x+te)*y,(.5+ie+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-x+ae)*a,(1-.5+x+te)*y,(.5-ie+ae)*a,(.5+ie+te)*y,(.5-x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ie+te)*y,(.5-x+ae)*a,(.5-x+te+.05)*y,(.5-ie+ae-.02)*a)),x=.2,te=0,ae=-.3,ie=x*ye,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+te)*y,(.5+ae)*a,(.5+ie+te)*y,(.5+x+ae)*a,(.5+x+te)*y,(.5+ie+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-x+ae)*a,(1-.5+x+te)*y,(.5-ie+ae)*a,(.5+ie+te)*y,(.5-x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+te)*y,(.5+ae)*a,(.5-ie+te)*y,(.5-x+ae)*a,(.5-x+te)*y,(.5-ie+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ie+te)*y,(.5+x+ae)*a,(.5-x+te)*y,(.5+ie+ae)*a,(.5-ie+te)*y,(.5+x+ae)*a)),x=.2,te=-.3,ae=0,ie=x*ye,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-x+ae)*a,(1-.5+x+te-.05)*y,(.5-ie+ae-.02)*a,(.5+ie+te)*y,(.5-x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+te)*y,(.5+ae)*a,(.5-ie+te)*y,(.5-x+ae)*a,(.5-x+te)*y,(.5-ie+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+x+ae)*a,(.5-x+te)*y,(.5+ie+ae)*a,(.5-ie+te)*y,(.5+x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ie+te)*y,(.5+x+ae)*a,(.5+x+te)*y,(.5+ie+ae)*a).close()),E.setSpots(.06,.33,.93,.68),E}),go.Shape.defineFigureGenerator("YinYang",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.5,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var x=.1,te=.5,ae=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+x)*y,ae*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*te,a*ae,x*y,x*y).close()),b=new go.PathFigure(y*.5,0,!1),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ae=.75,b=new go.PathFigure((te+x)*y,ae*a,!0),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*te,a*ae,x*y,x*y).close()),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Peace",function(le,y,a){var E=.8535533905932737,b=.5*y,x=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,x,b,x)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,x)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,E*a)).add(new go.PathSegment(go.PathSegment.Move,b,x)).add(new go.PathSegment(go.PathSegment.Line,E*y,E*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(le,y,a){var E=new go.Geometry,b=ye*.5,x=.5,te=.5,ae=.5,ie=new go.PathFigure(te*y,(ae-x)*a);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),x=.4,b=ye*.4;var ue=ne(),de=ne(),fe=ne(),Ce=ne();Ne(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.42,ue,de,fe,Ce,Ce);var Pe=ne(),je=ne(),Se=ne();Ne(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.58,Ce,Ce,Se,Pe,je);var Qe=ne(),Bt=ne(),Ot=ne();Ne(te,ae+x,te-b,ae+x,te-x,ae+b,te-x,ae,.42,Qe,Bt,Ot,Ce,Ce);var Ve=ne(),ft=ne(),Dt=ne();return Ne(te,ae+x,te-b,ae+x,te-x,ae+b,te-x,ae,.58,Ce,Ce,Dt,Ve,ft),ie.add(new go.PathSegment(go.PathSegment.Move,Dt.x*y,Dt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,Ve.x*y,Ve.y*a,ft.x*y,ft.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te-x)*y,(ae-b)*a,(te-b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*y,fe.y*a,ue.x*y,ue.y*a,de.x*y,de.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,Dt.x*y,Dt.y*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,Ot.x*y,Ot.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,Se.x*y,Se.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,Pe.x*y,Pe.y*a,je.x*y,je.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ot.x*y,Ot.y*a,Qe.x*y,Qe.y*a,Bt.x*y,Bt.y*a).close()),ve(ue),ve(de),ve(fe),ve(Ce),ve(Pe),ve(je),ve(Se),ve(Qe),ve(Bt),ve(Ot),ve(Ve),ve(ft),ve(Dt),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Fragile",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new xt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(le,y,a){var E=le?le.parameter1:NaN;(isNaN(E)||E<0)&&(E=30),E>y&&(E=y);var b=(y-E)/2,x=b+E;return new go.Geometry().add(new go.PathFigure(x,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(le,y,a){var E=new go.Geometry,b=ye*.4,x=.4,te=.5,ae=.5,ie=ne(),ue=ne(),de=ne(),fe=ne(),Ce=new go.PathFigure((te-x)*y,ae*a,!1);E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te-x)*y,(ae-b)*a,(te-b)*y,(ae-x)*a)),Ne(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.44,de,fe,ue,ie,ie),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ue.x*y,ue.y*a,de.x*y,de.y*a,fe.x*y,fe.y*a));var Pe=oe(ue.x,ue.y);Ne(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.56,ie,ie,ue,de,fe);var je=oe(ue.x,ue.y);Ce.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.95*.9)*y,Pe.y*.1*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*y,Pe.y*.1*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,y,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,(je.x*.1+.9)*y,.15*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,(je.x*.1+.9)*y,(je.y*.1+.05*.9)*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,je.x*y,je.y*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,de.x*y,de.y*a,fe.x*y,fe.y*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae+x)*a,(te-x)*y,(ae+b)*a)),x=.35,b=ye*.35;var Se=new go.PathFigure(te*y,(ae-x)*a,!1);E.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a));var Qe=new go.PathFigure((te-x)*y,ae*a,!1);return E.add(Qe),ve(ie),ve(ue),ve(de),ve(fe),ve(Pe),ve(je),E.spot1=new go.Spot(.202,.257),E.spot2=new go.Spot(.792,.739),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("GenderFemale",function(le,y,a){var E=new go.Geometry,b=.375,x=0,te=-.125,ae=b*ye,ie=new go.PathFigure((.525+x)*y,(.5+b+te)*a,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+x)*y,(.5+te)*a,(.5+ae+x)*y,(.5+b+te)*a,(.5+b+x)*y,(.5+ae+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-b+te)*a,(1-.5+b+x)*y,(.5-ae+te)*a,(.5+ae+x)*y,(.5-b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+te)*a,(.5-ae+x)*y,(.5-b+te)*a,(.5-b+x)*y,(.5-ae+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*y,(.5+b+te)*a,(.5-b+x)*y,(.5+ae+te)*a,(.5-ae+x)*y,(.5+b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,x=0,te=-.125,ae=b*ye;var ie=new go.PathFigure((1-.5+b+x)*y,(.5+te)*a,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5+b+te)*a,(.5+b+x)*y,(.5+ae+te)*a,(.5+ae+x)*y,(.5+b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+te)*a,(.5-ae+x)*y,(.5+b+te)*a,(.5-b+x)*y,(.5+ae+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-b+te)*a,(.5-b+x)*y,(.5-ae+te)*a,(.5-ae+x)*y,(.5-b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+x)*y,(.5+te)*a,(.5+ae+x)*y,(.5-b+te)*a,(1-.5+b+x)*y,(.5-ae+te)*a));var ie=new go.PathFigure((.525+x)*y,(.5+b+te)*a,!1);return E.add(ie),E.spot1=new go.Spot(.232,.136),E.spot2=new go.Spot(.682,.611),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicImplies",function(le,y,a){var E=le?le.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(le,y,a){var E=le?le.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(le,y,a){var E=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicTruth",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(le,y,a){var E=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,E*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,E*y,E*a,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(le,y,a){var E=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,E*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,E*y,E*a,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new xt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new xt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=.3);var b=le?le.parameter2:NaN;isNaN(b)&&(b=.3);var x=(1-E)*y,te=(.5-b/2)*a,ae=(.5+b/2)*a,ie=new go.Geometry,ue=new go.PathFigure(0,te,!0);ie.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,x,te)),ue.add(new go.PathSegment(go.PathSegment.Line,x,0)),ue.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ue.add(new go.PathSegment(go.PathSegment.Line,x,a)),ue.add(new go.PathSegment(go.PathSegment.Line,x,ae)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),ie.spot1=new go.Spot(0,te/a);var de=Je(0,ae/a,1,ae/a,x/y,1,1,.5,ne());return ie.spot2=new go.Spot(de.x,de.y),ve(de),ie}),go.Shape.setFigureParameter("Arrow2",0,new xt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new xt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=30),E>y&&(E=y);var b=le?le.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var x=y-E,te=(a-b)/2,ae=te+b,ie=new go.Geometry,ue=new go.PathFigure(0,te,!0);ie.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,x,te)),ue.add(new go.PathSegment(go.PathSegment.Line,x,0)),ue.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ue.add(new go.PathSegment(go.PathSegment.Line,x,a)),ue.add(new go.PathSegment(go.PathSegment.Line,x,ae)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),ie.spot1=new go.Spot(0,te/a);var de=Je(0,ae/a,1,ae/a,x/y,1,1,.5,ne());return ie.spot2=new go.Spot(de.x,de.y),ve(de),ie}),go.Shape.defineFigureGenerator("Chevron",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("DoubleArrow",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),E}),go.Shape.setFigureParameter("DoubleEndArrow",0,new xt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*a,x=(.5+E/2)*a,te=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var ie=Je(0,.5,.3,0,0,b/a,.1,b/a,ne());return te.spot1=new go.Spot(ie.x,ie.y),ie=Je(.7,1,1,.5,0,x/a,1,x/a,ie),te.spot2=new go.Spot(ie.x,ie.y),ve(ie),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new xt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new xt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=40);var b=le?le.parameter2:NaN;isNaN(b)&&(b=100);var x=(a-E)/2,te=x+E,ae=(a-b)/2,ie=ae+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,te=x+E,ae=0,ie=a):(x=0,te=a,ae=0,ie=a));var ue=new go.Geometry,de=new go.PathFigure(y,.5*a,!0);ue.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ie)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,ie)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close());var fe=Je(0,.5,.3,ae/a,0,x/a,1,x/a,ne());return ue.spot1=new go.Spot(fe.x,fe.y),fe=Je(.7,ie/a,1,.5,0,te/a,1,te/a,fe),ue.spot2=new go.Spot(fe.x,fe.y),ve(fe),ue}),go.Shape.setFigureParameter("IBeamArrow",0,new xt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*a,x=(.5+E/2)*a,te=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),te.spot1=new go.Spot(0,b/a);var ie=Je(.7,1,1,.5,0,x/a,1,x/a,ne());return te.spot2=new go.Spot(ie.x,ie.y),ve(ie),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new xt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new xt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=40);var b=le?le.parameter2:NaN;isNaN(b)&&(b=100);var x=(a-E)/2,te=x+E,ae=(a-b)/2,ie=ae+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,te=x+E,ae=0,ie=a):(x=0,te=a,ae=0,ie=a));var ue=new go.Geometry,de=new go.PathFigure(y,.5*a,!0);ue.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ie)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,ie)),de.add(new go.PathSegment(go.PathSegment.Line,0,ie)),de.add(new go.PathSegment(go.PathSegment.Line,0,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close()),ue.spot1=new go.Spot(0,x/a);var fe=Je(.7,ie/a,1,.5,0,te/a,1,te/a,ne());return ue.spot2=new go.Spot(fe.x,fe.y),ve(fe),ue}),go.Shape.setFigureParameter("Pointer",0,new xt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(E,.35);var te=Je(.2,.65,1,.65,0,1,1,.5,ne());return b.spot2=new go.Spot(te.x,te.y),ve(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new xt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=.3);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*y,.75*a,E*y,.25*a).close()),b.spot1=new go.Spot(E,.35);var te=Je(0,.65,1,.65,0,1,1,.5,ne());return b.spot2=new go.Spot(te.x,te.y),ve(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new xt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=.4);var b=(.5-E/2)*a,x=(.5+E/2)*a,te=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),te.spot1=new go.Spot(.2,.3);var ie=Je(.7,1,1,.5,0,x/a,1,x/a,ne());return te.spot2=new go.Spot(ie.x,ie.y),ve(ie),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new xt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=50);var b=(a-E)/2,x=b+E;E>a&&(b=0,x=a);var te=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),te.spot1=new go.Spot(.2,b/a);var ie=Je(.7,1,1,.5,0,x/a,1,x/a,ne());return te.spot2=new go.Spot(ie.x,ie.y),ve(ie),te}),go.Shape.setFigureParameter("SquareArrow",0,new xt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=.7);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(E,1),b}),go.Shape.defineFigureGenerator("Cone1",function(le,y,a){var E=new go.Geometry,b=ye*.5,x=ye*.1,te=new go.PathFigure(0,.9*a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a).close()),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.97),E}),go.Shape.defineFigureGenerator("Cone2",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var x=new go.PathFigure(0,.9*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.82),E}),go.Shape.defineFigureGenerator("Cube1",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.5,.85),E}),go.Shape.defineFigureGenerator("Cube2",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var x=new go.PathFigure(0,.3*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.7,1),E}),go.Shape.defineFigureGenerator("Cylinder1",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,x=ye*.5,te=new go.PathFigure(0,E,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,ye*E,(.5-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*y,E,(.5+x)*y,0,1*y,ye*E)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-ye*E,(.5+x)*y,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,(.5-x)*y,1*a,0,a-ye*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,E));var ae=new go.PathFigure(y,E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*E,1*y,2*E-ye*E,(.5+x)*y,2*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,E,(.5-x)*y,2*E,0,2*E-ye*E)),b.spot1=new go.Spot(0,0,0,2*E),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,x=ye*.5,te=new go.PathFigure(0,a-E,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,ye*E,(.5-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,E,(.5+x)*y,0,y,ye*E)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-ye*E,(.5+x)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,(.5-x)*y,a,0,a-ye*E));var ae=new go.PathFigure(0,a-E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*E,0,a-E-ye*E,(.5-x)*y,a-2*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,a-E,(.5+x)*y,a-2*E,y,a-E-ye*E)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*E),b}),go.Shape.defineFigureGenerator("Cylinder3",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,x=ye*.5,te=new go.PathFigure(E,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y-E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-ye*E,0,y,(.5-x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,(.5+x)*a,y-ye*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,ye*E,a,0,(.5+x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*a,ye*E,0));var ae=new go.PathFigure(E,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*E,.5*a,E+ye*E,0,2*E,(.5-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,a,2*E,(.5+x)*a,E+ye*E,a)),b.spot1=new go.Spot(0,0,2*E,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,x=ye*.5,te=new go.PathFigure(y-E,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-ye*E,0,y,(.5-x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,(.5+x)*a,y-ye*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,ye*E,a,0,(.5+x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*a,ye*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,y-E,0));var ae=new go.PathFigure(y-E,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-2*E,.5*a,y-E-ye*E,0,y-2*E,(.5-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y-2*E,(.5+x)*a,y-E-ye*E,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*E,0),b}),go.Shape.defineFigureGenerator("Prism1",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,.25*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.25*y,.25*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.408,.172),E.spot2=new go.Spot(.833,.662),E}),go.Shape.defineFigureGenerator("Prism2",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("Pyramid1",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var x=new go.PathFigure(.5*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Pyramid2",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Actor",function(le,y,a){var E=new go.Geometry,b=.2,x=.1,te=ye*b,ae=ye*x,ie=.5,ue=.1,de=new go.PathFigure(ie*y,(ue+x)*a,!0);E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ie-b)*y,ue*a,(ie-te)*y,(ue+x)*a,(ie-b)*y,(ue+ae)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-x)*a,(ie-b)*y,(ue-ae)*a,(ie-te)*y,(ue-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ie+b)*y,ue*a,(ie+te)*y,(ue-x)*a,(ie+b)*y,(ue-ae)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue+x)*a,(ie+b)*y,(ue+ae)*a,(ie+te)*y,(ue+x)*a));var fe=.05,Ce=ye*fe;ie=.05,ue=.25;var Pe=new go.PathFigure(.5*y,.2*a,!0);return E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ie=.95,ue=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+fe)*y,ue*a,(ie+Ce)*y,(ue-fe)*a,(ie+fe)*y,(ue-Ce)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),fe=.025,Ce=ye*fe,ie=.825,ue=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-fe)*a,(ie+fe)*y,(ue-Ce)*a,(ie+Ce)*y,(ue-fe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-fe)*y,ue*a,(ie-Ce)*y,(ue-fe)*a,(ie-fe)*y,(ue-Ce)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),fe=.05,Ce=ye*fe,ie=.5,ue=.7,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-fe)*a,(ie+fe)*y,(ue-Ce)*a,(ie+Ce)*y,(ue-fe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-fe)*y,ue*a,(ie-Ce)*y,(ue-fe)*a,(ie-fe)*y,(ue-Ce)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),fe=.025,Ce=ye*fe,ie=.175,ue=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-fe)*a,(ie+fe)*y,(ue-Ce)*a,(ie+Ce)*y,(ue-fe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-fe)*y,ue*a,(ie-Ce)*y,(ue-fe)*a,(ie-fe)*y,(ue-Ce)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),fe=.05,Ce=ye*fe,ie=.05,ue=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-fe)*a,(ie-fe)*y,(ue-Ce)*a,(ie-Ce)*y,(ue-fe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.spot1=new go.Spot(.2,.2),E.spot2=new go.Spot(.8,.65),E}),go.Shape.setFigureParameter("Card",0,new xt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(le,y,a){var E=le?le.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,x=new go.PathFigure(y,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,0).close()),b.spot1=new go.Spot(0,E),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var x=new go.PathFigure(.5*y,.5*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,.25),E}),go.Shape.defineFigureGenerator("CreateRequest",function(le,y,a){var E=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),E}),go.Shape.defineFigureGenerator("Database",function(le,y,a){var E=new go.Geometry,b=ye*.5,x=ye*.1,te=new go.PathFigure(y,.1*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-x)*a));var ae=new go.PathFigure(y,.1*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+b)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+b)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+x)*a,(.5+b)*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*y,.4*a,0,(.3+x)*a)),E.spot1=new go.Spot(0,.4),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("DataStorage",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),E.spot1=new go.Spot(.226,0),E.spot2=new go.Spot(.81,1),E}),go.Shape.defineFigureGenerator("DiskStorage",function(le,y,a){var E=new go.Geometry,b=ye*.5,x=ye*.1,te=new go.PathFigure(y,.1*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-x)*a));var ae=new go.PathFigure(y,.1*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+b)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+b)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+x)*a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("Display",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("DividedEvent",function(le,y,a){var E=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var x=ye*.2,te=new go.PathFigure(0,.2*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-x)*a,(.2-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+x)*y,0,y,(.2-x)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+x)*a,(.8+x)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-x)*y,a,0,(.8+x)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ae=new go.PathFigure(0,b*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),E}),go.Shape.defineFigureGenerator("DividedProcess",function(le,y,a){var E=new go.Geometry,b=le?le.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),E}),go.Shape.defineFigureGenerator("Document",function(le,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("ExternalOrganization",function(le,y,a){var E=new go.Geometry,b=le?le.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*y,0,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),E}),go.Shape.defineFigureGenerator("ExternalProcess",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(.1*y,.4*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("File",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.75*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Interrupt",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var x=new go.PathFigure(y,.5*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a));var te=new go.PathFigure(y,.5*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("InternalStorage",function(le,y,a){var E=new go.Geometry,b=le?le.parameter1:NaN,x=le?le.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.1);var te=new go.PathFigure(0,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ae=new go.PathFigure(b*y,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),ae.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),E}),go.Shape.defineFigureGenerator("Junction",function(le,y,a){var E=new go.Geometry,b=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,te=ye*.5,ae=.5,ie=new go.PathFigure(y,ae*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,a,y,(ae+te)*a,(ae+te)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-te)*y,a,0,(ae+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,0,0,(ae-te)*a,(ae-te)*y,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,y,ae*a,(ae+te)*y,0,y,(ae-te)*a));var ue=new go.PathFigure((x+b)*y,(x+b)*a,!1);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)),ue.add(new go.PathSegment(go.PathSegment.Move,x*y,(x+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Line,(x+b)*y,x*a)),E}),go.Shape.defineFigureGenerator("LinedDocument",function(le,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var x=new go.PathFigure(.1*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),E.spot1=new go.Spot(.1,0),E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("LoopLimit",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MagneticTape",function(le,y,a){var E=new go.Geometry,b=ye*.5,x=.5,te=new go.PathFigure(.5*y,a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*y,.9*a,y,(x+b)*a,(x+b)*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.8),E}),go.Shape.defineFigureGenerator("ManualInput",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MessageFromUser",function(le,y,a){var E=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.7);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("MicroformProcessing",function(le,y,a){var E=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.25);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("MicroformRecording",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("MultiDocument",function(le,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var x=new go.PathFigure(.1*y,.2*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.8,.77),E}),go.Shape.defineFigureGenerator("MultiProcess",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,.1*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var x=new go.PathFigure(.2*y,.1*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.spot1=new go.Spot(0,.2),E.spot2=new go.Spot(.8,1),E}),go.Shape.defineFigureGenerator("OfflineStorage",function(le,y,a){var E=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var x=1-b,te=new go.PathFigure(0,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var ae=new go.PathFigure(.5*b*y,b*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*y,b*a)),E}),go.Shape.defineFigureGenerator("OffPageConnector",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("Or",function(le,y,a){var E=new go.Geometry,b=ye*.5,x=.5,te=new go.PathFigure(y,x*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+b)*a,(x+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a));var ae=new go.PathFigure(y,.5*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E}),go.Shape.defineFigureGenerator("PaperTape",function(le,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),E.spot1=new go.Spot(0,.49),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(le,y,a){var E=new go.Geometry,b=le?le.parameter1:NaN,x=le?le.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.3);var te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(le,y,a){var E=new go.Geometry,b=le?le.parameter1:NaN,x=le?le.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.3);var te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("Procedure",function(le,y,a){var E=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure((1-b)*y,0,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,b*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),E}),go.Shape.defineFigureGenerator("Process",function(le,y,a){var E=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*y,0,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Sort",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(0,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.5),E}),go.Shape.defineFigureGenerator("Start",function(le,y,a){var E=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.25);var x=new go.PathFigure(b*y,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var te=new go.PathFigure(b*y,0,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),E.spot1=new go.Spot(b,0),E.spot2=new go.Spot(1-b,1),E}),go.Shape.defineFigureGenerator("Terminator",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),E.spot1=new go.Spot(.23,0),E.spot2=new go.Spot(.77,1),E}),go.Shape.defineFigureGenerator("TransmittalTape",function(le,y,a){var E=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("AndGate",function(le,y,a){var E=new go.Geometry,b=ye*.5,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+b)*y,0,y,(.5-b)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+b)*a,(.5+b)*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.55,1),E}),go.Shape.defineFigureGenerator("Buffer",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Clock",function(le,y,a){var E=new go.Geometry,b=ye*.5,x=.5,te=new go.PathFigure(y,x*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+b)*a,(x+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a));var ae=new go.PathFigure(y,x*a,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,x*a));var ie=new go.PathFigure(.8*y,.75*a,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),E}),go.Shape.defineFigureGenerator("Ground",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E}),go.Shape.defineFigureGenerator("Inverter",function(le,y,a){var E=new go.Geometry,b=ye*.1,x=.1,te=.9,ae=.5,ie=new go.PathFigure(.8*y,.5*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,0,a)),ie.add(new go.PathSegment(go.PathSegment.Line,0,0)),ie.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var ue=new go.PathFigure((te+x)*y,ae*a,!0);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae+x)*a,(te-x)*y,(ae+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te-x)*y,(ae-b)*a,(te-b)*y,(ae-x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae-x)*a,(te+x)*y,(ae-b)*a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.4,.75),E}),go.Shape.defineFigureGenerator("NandGate",function(le,y,a){var E=new go.Geometry,b=ye*.5,x=ye*.4,te=ye*.1,ae=.1,ie=.9,ue=.5,de=new go.PathFigure(.8*y,.5*a,!0);E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+x)*a,(.4+b)*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+b)*y,0,.8*y,(.5-x)*a));var fe=new go.PathFigure((ie+ae)*y,ue*a,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue+ae)*a,(ie+ae)*y,(ue+te)*a,(ie+te)*y,(ue+ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*y,ue*a,(ie-te)*y,(ue+ae)*a,(ie-ae)*y,(ue+te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-ae)*a,(ie-ae)*y,(ue-te)*a,(ie-te)*y,(ue-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*y,ue*a,(ie+te)*y,(ue-ae)*a,(ie+ae)*y,(ue-te)*a)),E.spot1=new go.Spot(0,.05),E.spot2=new go.Spot(.55,.95),E}),go.Shape.defineFigureGenerator("NorGate",function(le,y,a){var E=new go.Geometry,b=.5,x=ye*b,te=0,ae=.5,ie=new go.PathFigure(.8*y,.5*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(te+x)*y,(ae-b)*a,.7*y,(ae-x)*a)),b=.1,x=ye*.1,te=.9,ae=.5;var ue=new go.PathFigure((te-b)*y,ae*a,!0);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.6,.75),E}),go.Shape.defineFigureGenerator("OrGate",function(le,y,a){var E=new go.Geometry,b=.5,x=ye*b,te=0,ae=.5,ie=new go.PathFigure(0,0,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(te+x+x)*y,(ae-b)*a,.8*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ae+x)*a,(te+x+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("XnorGate",function(le,y,a){var E=new go.Geometry,b=.5,x=ye*b,te=.2,ae=.5,ie=new go.PathFigure(.1*y,0,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ue=new go.PathFigure(.8*y,.5*a,!0);E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(te+x)*y,(ae-b)*a,.7*y,(ae-x)*a)),b=.1,x=ye*.1,te=.9,ae=.5;var de=new go.PathFigure((te-b)*y,ae*a,!0);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.65,.75),E}),go.Shape.defineFigureGenerator("XorGate",function(le,y,a){var E=new go.Geometry,b=.5,x=ye*b,te=.2,ae=.5,ie=new go.PathFigure(.1*y,0,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ue=new go.PathFigure(.2*y,0,!0);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(te+x)*y,(ae-b)*a,.9*y,(ae-x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.8,.75),E}),go.Shape.defineFigureGenerator("Capacitor",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("Resistor",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E}),go.Shape.defineFigureGenerator("Inductor",function(le,y,a){var E=new go.Geometry,b=ye*.1,x=.1,te=.1,ae=.5,ie=new go.PathFigure((te-b*.5)*y,a,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,0,(te-b)*y,a,(te-x)*y,0)),te=.3,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+x)*y,0,(te+b)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,0,(te-b)*y,a,(te-x)*y,0)),te=.5,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+x)*y,0,(te+b)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,0,(te-b)*y,a,(te-x)*y,0)),te=.7,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+x)*y,0,(te+b)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,0,(te-b)*y,a,(te-x)*y,0)),te=.9,ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*y,a,(te+x)*y,0,(te+b)*y,a)),E}),go.Shape.defineFigureGenerator("ACvoltageSource",function(le,y,a){var E=new go.Geometry,b=ye*.5,x=.5,te=.5,ae=.5,ie=new go.PathFigure((te-x)*y,ae*a,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te-x)*y,(ae-b)*a,(te-b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae-x)*a,(te+x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae+x)*a,(te-x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Move,(te-x+.1)*y,ae*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x-.1)*y,ae*a,te*y,(ae-x)*a,te*y,(ae+x)*a)),E}),go.Shape.defineFigureGenerator("DCvoltageSource",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("Diode",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Wifi",function(le,y,a){var E=new go.Geometry,b=y,x=a;y=y*.38,a=a*.6;var te=ye*.8,ae=.8,ie=0,ue=.5,de=(b-y)/2,fe=(x-a)/2,Ce=new go.PathFigure(ie*y+de,(ue+ae)*a+fe,!0);E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*y+de,ue*a+fe,(ie-te)*y+de,(ue+ae)*a+fe,(ie-ae)*y+de,(ue+te)*a+fe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue-ae)*a+fe,(ie-ae)*y+de,(ue-te)*a+fe,(ie-te)*y+de,(ue-ae)*a+fe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae+te*.5)*y+de,ue*a+fe,ie*y+de,(ue-ae)*a+fe,(ie-ae+te*.5)*y+de,(ue-te)*a+fe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue+ae)*a+fe,(ie-ae+te*.5)*y+de,(ue+te)*a+fe,ie*y+de,(ue+ae)*a+fe).close()),te=ye*.4,ae=.4,ie=.2,ue=.5;var Pe=new go.PathFigure(ie*y+de,(ue+ae)*a+fe,!0);E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*y+de,ue*a+fe,(ie-te)*y+de,(ue+ae)*a+fe,(ie-ae)*y+de,(ue+te)*a+fe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue-ae)*a+fe,(ie-ae)*y+de,(ue-te)*a+fe,(ie-te)*y+de,(ue-ae)*a+fe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae+te*.5)*y+de,ue*a+fe,ie*y+de,(ue-ae)*a+fe,(ie-ae+te*.5)*y+de,(ue-te)*a+fe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue+ae)*a+fe,(ie-ae+te*.5)*y+de,(ue+te)*a+fe,ie*y+de,(ue+ae)*a+fe).close()),te=ye*.2,ae=.2,ie=.5,ue=.5;var je=new go.PathFigure((ie-ae)*y+de,ue*a+fe,!0);E.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue-ae)*a+fe,(ie-ae)*y+de,(ue-te)*a+fe,(ie-te)*y+de,(ue-ae)*a+fe)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*y+de,ue*a+fe,(ie+te)*y+de,(ue-ae)*a+fe,(ie+ae)*y+de,(ue-te)*a+fe)),je.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue+ae)*a+fe,(ie+ae)*y+de,(ue+te)*a+fe,(ie+te)*y+de,(ue+ae)*a+fe)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*y+de,ue*a+fe,(ie-te)*y+de,(ue+ae)*a+fe,(ie-ae)*y+de,(ue+te)*a+fe)),te=ye*.4,ae=.4,ie=.8,ue=.5;var Se=new go.PathFigure(ie*y+de,(ue-ae)*a+fe,!0);E.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*y+de,ue*a+fe,(ie+te)*y+de,(ue-ae)*a+fe,(ie+ae)*y+de,(ue-te)*a+fe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue+ae)*a+fe,(ie+ae)*y+de,(ue+te)*a+fe,(ie+te)*y+de,(ue+ae)*a+fe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae-te*.5)*y+de,ue*a+fe,ie*y+de,(ue+ae)*a+fe,(ie+ae-te*.5)*y+de,(ue+te)*a+fe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue-ae)*a+fe,(ie+ae-te*.5)*y+de,(ue-te)*a+fe,ie*y+de,(ue-ae)*a+fe).close()),te=ye*.8,ae=.8,ie=1,ue=.5;var Qe=new go.PathFigure(ie*y+de,(ue-ae)*a+fe,!0);return E.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*y+de,ue*a+fe,(ie+te)*y+de,(ue-ae)*a+fe,(ie+ae)*y+de,(ue-te)*a+fe)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue+ae)*a+fe,(ie+ae)*y+de,(ue+te)*a+fe,(ie+te)*y+de,(ue+ae)*a+fe)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae-te*.5)*y+de,ue*a+fe,ie*y+de,(ue+ae)*a+fe,(ie+ae-te*.5)*y+de,(ue+te)*a+fe)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue-ae)*a+fe,(ie+ae-te*.5)*y+de,(ue-te)*a+fe,ie*y+de,(ue-ae)*a+fe).close()),E}),go.Shape.defineFigureGenerator("Email",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),E}),go.Shape.defineFigureGenerator("Ethernet",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.35*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var x=new go.PathFigure(.1*y,a,!0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var te=new go.PathFigure(.6*y,a,!0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var ae=new go.PathFigure(0,.5*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),E}),go.Shape.defineFigureGenerator("Power",function(le,y,a){var E=new go.Geometry,b=ye*.4,x=.4,te=.5,ae=.5,ie=ne(),ue=ne(),de=ne(),fe=ne();Ne(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.5,ie,ie,ue,de,fe);var Ce=oe(ue.x,ue.y),Pe=new go.PathFigure(ue.x*y,ue.y*a,!0);E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,de.x*y,de.y*a,fe.x*y,fe.y*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae+x)*a,(te-x)*y,(ae+b)*a)),Ne(te-x,ae,te-x,ae-b,te-b,ae-x,te,ae-x,.5,de,fe,ue,ie,ie),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue.x*y,ue.y*a,de.x*y,de.y*a,fe.x*y,fe.y*a)),b=ye*.3,x=.3,Ne(te-x,ae,te-x,ae-b,te-b,ae-x,te,ae-x,.5,de,fe,ue,ie,ie),Pe.add(new go.PathSegment(go.PathSegment.Line,ue.x*y,ue.y*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,fe.x*y,fe.y*a,de.x*y,de.y*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),Ne(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.5,ie,ie,ue,de,fe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue.x*y,ue.y*a,fe.x*y,fe.y*a,de.x*y,de.y*a).close());var Pe=new go.PathFigure(.45*y,0,!0);return E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ve(ie),ve(ue),ve(de),ve(fe),ve(Ce),E.spot1=new go.Spot(.25,.45),E.spot2=new go.Spot(.75,.8),E}),go.Shape.defineFigureGenerator("Fallout",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a/2,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function x(te,ae,ie){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*y,(.8+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*y,(.5+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*y,(.5+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*y,(.8+ie)*a).close())}return x(b,0,0),x(b,.4,0),x(b,.2,-.3),E}),go.Shape.defineFigureGenerator("IrritationHazard",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.2*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),E.spot1=new go.Spot(.3,.3),E.spot2=new go.Spot(.7,.7),E}),go.Shape.defineFigureGenerator("ElectricalHazard",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.37*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),E}),go.Shape.defineFigureGenerator("FireHazard",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),E.spot1=new go.Spot(.07,.445),E.spot2=new go.Spot(.884,.958),E}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(le,y,a){var E=new go.Geometry,b=.5,x=0,te=0,ae=b*ye,ie=.4*Math.SQRT2/2+.5,ue=.5-.5*Math.SQRT2/2,de=1,fe=.5,Ce=.5,Pe=0,je=new go.PathFigure(ie*y,(1-ue)*a,!1);return E.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,de*y,fe*a,de*y,.7*a,de*y,fe*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+x)*y,(Pe+x)*a,(.5+b+x)*y,(.5-ae+x)*a,(.5+ae+x)*y,(.5-b+x)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+te)*a,(.5-ae+x)*y,(.5-b+te)*a,(.5-b+x)*y,(.5-ae+te)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*y,.9*a,(.5-b+x)*y,(.5+ae+te)*a,(.5-ae+x)*y,.9*a)),je.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*y,.8*a)),je.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*y,.9*a)),je.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*y,.95*a)),E}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(y,a,!1);E.add(x);var te=new go.PathFigure(0,.5*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),E}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),E}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.7*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var x=new go.PathFigure(.45*y,.73*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),x.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),x.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),E}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(.335*y,(1-.555)*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),x.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var te=.5-.285,ae=.5,ie=te,ue=Math.PI/4,de=4*(1-Math.cos(ue))/(3*Math.sin(ue)),fe=de*.5,Ce=te,Pe=te,je=de*Ce,Se=de*Pe;x.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Ce)*y,ie*a,(ae-(je+Ce)/2)*y,(ie+(Pe+Se)/2)*a,(ae-Ce)*y,(ie+Se)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie-Pe)*a,(ae-Ce)*y,(ie-Se)*a,(ae-je)*y,(ie-Pe)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ae+Ce)*y,ie*a,(ae+je)*y,(ie-Pe)*a,(ae+Ce)*y,(ie-Se)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ae+Ce)*y,(ie+Se)*a,(ae+(je+Ce)/2)*y,(ie+(Pe+Se)/2)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var Qe=new go.PathFigure(.2*y,a,!1);E.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Bt=new go.PathFigure(.8*y,a,!1);return E.add(Bt),Bt.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),E}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var x=new go.PathFigure(.2*y,.2*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),E}),go.Shape.defineFigureGenerator("BpmnEventError",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(y,a,!1);E.add(x);var te=new go.PathFigure(.1*y,a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("Caution",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.05*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var x=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*y,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,x*y,x*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),E}),go.Shape.defineFigureGenerator("Recycle",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.45*y,.95*a,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var x=new go.PathFigure(.475*y,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),x.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var te=new go.PathFigure(.675*y,.575*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),E}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(le,y,a){var E=new go.Geometry,b=.5,x=ye*.5,te=new go.PathFigure(y,b*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*y,a,y,(b+x)*a,(b+x)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-x)*y,a,0,(b+x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*y,0,0,(b-x)*a,(b-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,b*a,(b+x)*y,0,y,(b-x)*a));var ae=new go.PathFigure(b*y,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,.15*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),E}),go.Shape.defineFigureGenerator("Package",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,.15*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),E.spot1=new go.Spot(0,.1),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Class",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var te=new go.PathFigure(0,.5*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),E}),go.Shape.defineFigureGenerator("Component",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var x=new go.PathFigure(0,.2*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var te=new go.PathFigure(0,.6*a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),E}),go.Shape.defineFigureGenerator("Boat Shipment",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.15*y,.6*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var x=new go.PathFigure(.15*y,.6*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E}),go.Shape.defineFigureGenerator("Customer/Supplier",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E}),go.Shape.defineFigureGenerator("Workcell",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("Supermarket",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),E}),go.Shape.defineFigureGenerator("TruckShipment",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(y,.8*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var te=.1,ae=ye*.1,ie=.2,ue=.9,de=new go.PathFigure((ie-te)*y,ue*a,!0);E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-te)*a,(ie-te)*y,(ue-ae)*a,(ie-ae)*y,(ue-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ie+te)*y,ue*a,(ie+ae)*y,(ue-te)*a,(ie+te)*y,(ue-ae)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue+te)*a,(ie+te)*y,(ue+ae)*a,(ie+ae)*y,(ue+te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ie-te)*y,ue*a,(ie-ae)*y,(ue+te)*a,(ie-te)*y,(ue+ae)*a).close()),te=.1,ae=ye*.1,ie=.8,ue=.9;var fe=new go.PathFigure((ie-te)*y,ue*a,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-te)*a,(ie-te)*y,(ue-ae)*a,(ie-ae)*y,(ue-te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+te)*y,ue*a,(ie+ae)*y,(ue-te)*a,(ie+te)*y,(ue-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue+te)*a,(ie+te)*y,(ue+ae)*a,(ie+ae)*y,(ue+te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-te)*y,ue*a,(ie-ae)*y,(ue+te)*a,(ie-te)*y,(ue+ae)*a).close()),E}),go.Shape.defineFigureGenerator("KanbanPost",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.2*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E}),go.Shape.defineFigureGenerator("Forklift",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.5*y,.8*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ae=new go.PathFigure(.5*y,.7*a,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ie=.1,ue=ye*.1,de=.1,fe=.9,Ce=new go.PathFigure((de-ie)*y,fe*a,!0);E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(fe-ie)*a,(de-ie)*y,(fe-ue)*a,(de-ue)*y,(fe-ie)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(de+ie)*y,fe*a,(de+ue)*y,(fe-ie)*a,(de+ie)*y,(fe-ue)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(fe+ie)*a,(de+ie)*y,(fe+ue)*a,(de+ue)*y,(fe+ie)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(de-ie)*y,fe*a,(de-ue)*y,(fe+ie)*a,(de-ie)*y,(fe+ue)*a)),ie=.1,ue=ye*.1,de=.4,fe=.9;var Pe=new go.PathFigure((de-ie)*y,fe*a,!0);return E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(fe-ie)*a,(de-ie)*y,(fe-ue)*a,(de-ue)*y,(fe-ie)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ie)*y,fe*a,(de+ue)*y,(fe-ie)*a,(de+ie)*y,(fe-ue)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(fe+ie)*a,(de+ie)*y,(fe+ue)*a,(de+ue)*y,(fe+ie)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ie)*y,fe*a,(de-ue)*y,(fe+ie)*a,(de-ie)*y,(fe+ue)*a)),E}),go.Shape.defineFigureGenerator("RailShipment",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,.4*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var x=new go.PathFigure(.45*y,.7*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var te=new go.PathFigure(.55*y,.4*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var de=.05,fe=ye*.05,Ce=.175,Pe=.95,ae=new go.PathFigure((Ce-de)*y,Pe*a,!0);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Pe-de)*a,(Ce-de)*y,(Pe-fe)*a,(Ce-fe)*y,(Pe-de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+de)*y,Pe*a,(Ce+fe)*y,(Pe-de)*a,(Ce+de)*y,(Pe-fe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Pe+de)*a,(Ce+de)*y,(Pe+fe)*a,(Ce+fe)*y,(Pe+de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-de)*y,Pe*a,(Ce-fe)*y,(Pe+de)*a,(Ce-de)*y,(Pe+fe)*a));var de=.05,fe=ye*.05,Ce=.375,Pe=.95,ie=new go.PathFigure((Ce-de)*y,Pe*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Pe-de)*a,(Ce-de)*y,(Pe-fe)*a,(Ce-fe)*y,(Pe-de)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+de)*y,Pe*a,(Ce+fe)*y,(Pe-de)*a,(Ce+de)*y,(Pe-fe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Pe+de)*a,(Ce+de)*y,(Pe+fe)*a,(Ce+fe)*y,(Pe+de)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-de)*y,Pe*a,(Ce-fe)*y,(Pe+de)*a,(Ce-de)*y,(Pe+fe)*a));var de=.05,fe=ye*.05,Ce=.625,Pe=.95,ue=new go.PathFigure((Ce-de)*y,Pe*a,!0);E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Pe-de)*a,(Ce-de)*y,(Pe-fe)*a,(Ce-fe)*y,(Pe-de)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+de)*y,Pe*a,(Ce+fe)*y,(Pe-de)*a,(Ce+de)*y,(Pe-fe)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Pe+de)*a,(Ce+de)*y,(Pe+fe)*a,(Ce+fe)*y,(Pe+de)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-de)*y,Pe*a,(Ce-fe)*y,(Pe+de)*a,(Ce-de)*y,(Pe+fe)*a));var de=.05,fe=ye*.05,Ce=.825,Pe=.95,je=new go.PathFigure((Ce-de)*y,Pe*a,!0);E.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Pe-de)*a,(Ce-de)*y,(Pe-fe)*a,(Ce-fe)*y,(Pe-de)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+de)*y,Pe*a,(Ce+fe)*y,(Pe-de)*a,(Ce+de)*y,(Pe-fe)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Pe+de)*a,(Ce+de)*y,(Pe+fe)*a,(Ce+fe)*y,(Pe+de)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-de)*y,Pe*a,(Ce-fe)*y,(Pe+de)*a,(Ce-de)*y,(Pe+fe)*a).close());var Se=new go.PathFigure(0,a,!1);return E.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E}),go.Shape.defineFigureGenerator("Warehouse",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var te=new go.PathFigure(.15*y,a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ae=.05,ie=ye*.05,ue=.35,de=.775,fe=new go.PathFigure((ue-ae)*y,de*a,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*y,(de-ae)*a,(ue-ae)*y,(de-ie)*a,(ue-ie)*y,(de-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ae)*y,de*a,(ue+ie)*y,(de-ae)*a,(ue+ae)*y,(de-ie)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*y,(de+ae)*a,(ue+ae)*y,(de+ie)*a,(ue+ie)*y,(de+ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ae)*y,de*a,(ue-ie)*y,(de+ae)*a,(ue-ae)*y,(de+ie)*a).close()),E}),go.Shape.defineFigureGenerator("ControlCenter",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),E}),go.Shape.defineFigureGenerator("Bluetooth",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E}),go.Shape.defineFigureGenerator("Bookmark",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E}),go.Shape.defineFigureGenerator("Bookmark",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E}),go.Shape.defineFigureGenerator("Globe",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),E}),go.Shape.defineFigureGenerator("Wave",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),E}),go.Shape.defineFigureGenerator("Operator",function(le,y,a){var E=new go.Geometry,b=.3,x=ye*.3,te=.5,ae=.7,ie=new go.PathFigure((te-b)*y,ae*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a));var ue=new go.PathFigure(0,.7*a,!1);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),E}),go.Shape.defineFigureGenerator("TripleFanBlades",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),E}),go.Shape.defineFigureGenerator("CentrifugalPump",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),E}),go.Shape.defineFigureGenerator("Battery",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var x=new go.PathFigure(0,.6*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E}),go.Shape.defineFigureGenerator("Delete",function(le,y,a){var E=new go.Geometry,b=.5,x=ye*.5,te=.5,ae=.5,ie=new go.PathFigure((te-b)*y,ae*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a));var ue=new go.PathFigure(.15*y,.5*a,!1);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),E}),go.Shape.defineFigureGenerator("Flag",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),E}),go.Shape.defineFigureGenerator("Help",function(le,y,a){var E=new go.Geometry,b=.5,x=ye*.5,te=.5,ae=.5,ie=new go.PathFigure((te-b)*y,ae*a,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a).close()),b=.05,x=ye*.05,te=.5,ae=.8;var ue=new go.PathFigure((te-b)*y,ae*a,!1);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a).close()),ue.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),E}),go.Shape.defineFigureGenerator("Location",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),E}),go.Shape.defineFigureGenerator("Unlocked",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),E}),go.Shape.defineFigureGenerator("Gear",function(le,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),E}),go.Shape.defineFigureGenerator("Map",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E}),go.Shape.defineFigureGenerator("Eject",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var x=new go.PathFigure(0,a*.6,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),E}),go.Shape.defineFigureGenerator("Pencil",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y*1,a*1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var x=new go.PathFigure(.126*y,.85*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var te=new go.PathFigure(.402*y,.85*a,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var ae=new go.PathFigure(.678*y,.85*a,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var ie=new go.PathFigure(.5*y,.1*a,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),E}),go.Shape.defineFigureGenerator("Staircase",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),E}),go.Shape.defineFigureGenerator("5Bars",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a*1,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var x=new go.PathFigure(y*.204,a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var te=new go.PathFigure(y*.408,a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var ae=new go.PathFigure(y*.612,a,!0);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var ie=new go.PathFigure(y*.816,a,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),E}),go.Shape.defineFigureGenerator("PC",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var x=new go.PathFigure(y*.055,.07*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var te=new go.PathFigure(y*.055,.13*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),te.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var ae=new go.PathFigure(y*.055,.18*a,!0);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var ie=new go.PathFigure(y*1,0,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),E}),go.Shape.defineFigureGenerator("Plane",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(.55*y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),E}),go.Shape.defineFigureGenerator("Key",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y*1,a*.5,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),E}),go.Shape.defineFigureGenerator("FilmTape",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var x=new go.PathFigure(0,0,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var te=new go.PathFigure(y*.11,a*.1,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var ae=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var ie=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),E}),go.Shape.defineFigureGenerator("FloppyDisk",function(le,y,a){var E=new go.Geometry,b=8,x=b*ye,te=new go.PathFigure(b,0,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-x,y-x,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,x,a,0,a-x)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,x,x,0).close());var ae=new go.PathFigure(y*.83,0,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var ie=new go.PathFigure(y*.83,a*1,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var ue=new go.PathFigure(y*.78,a*.05,!1);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),ue.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),ue.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),E}),go.Shape.defineFigureGenerator("SpeechBubble",function(le,y,a){var E=le?le.parameter1:NaN;(isNaN(E)||E<0)&&(E=15),E=Math.min(E,y/3),E=Math.min(E,a/3);var b=E*ye,x=a*.8,te=new go.Geometry,ae=new go.PathFigure(E,0,!0);return te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y-E,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,E,y-b,0,y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,y,x-E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-E,x,y,x-b,y-b,x)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,x)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.55,x)),ae.add(new go.PathSegment(go.PathSegment.Line,E,x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,x-E,b,x,0,x-b)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*.45,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var x=new go.PathFigure(y*1,a*.55,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),E}),go.Shape.defineFigureGenerator("Windows",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*.1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var x=new go.PathFigure(y*.1,a*.2,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var te=new go.PathFigure(y*.28,a*.37,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),E}),go.Shape.defineFigureGenerator("Beaker",function(le,y,a){var E=new go.Geometry,b=15,x=b*ye,te=new go.PathFigure(y*.62,a*.475,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-x,y-x,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,x,a,0,a-x)),te.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),x>1?(E.spot1=new go.Spot(0,0,x,x),E.spot2=new go.Spot(1,1,-x,-x)):(E.spot1=go.Spot.TopLeft,E.spot2=go.Spot.BottomRight),E}),go.Shape.defineFigureGenerator("Download",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var te=new go.PathFigure(y*.4,a*0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),E}),go.Shape.defineFigureGenerator("Bin",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close()),E}),go.Shape.defineFigureGenerator("Upload",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var te=new go.PathFigure(y*.5,a*0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),E}),go.Shape.defineFigureGenerator("EmptyDrink",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),E}),go.Shape.defineFigureGenerator("Drink",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var x=new go.PathFigure(y*.235,a*.28,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),x.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),x.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),E}),go.Shape.defineFigureGenerator("4Arrows",function(le,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.5,a*0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),E}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},5559: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 xt={},Tt="5.0",oe={},ne=null,ve=!1,Je=!1,Ne=null,Ie=!1,Te=null,ye=null,Ye=0;Ye4?parseFloat(De):5};xt.setHTML5Codebase=function(De,tt){ye=De,ke(De,tt)},xt.setJavaCodebase=xt.setJavaCodebaseVersion=xt.isCompiledInstalled=xt.setPreCompiledScriptPath=xt.setPreCompiledResourcePath=function(){},xt.setHTML5CodebaseVersion=function(De,tt){var Ft=parseFloat(De);if(Ft!==NaN&&Ft<5){console.log("The GeoGebra HTML5 codebase version "+Ft+" is deprecated. Using version latest instead.");return}Te=De,St(De,tt)},xt.getHTML5CodebaseVersion=function(){return le},xt.getParameters=function(){return oe},xt.setFontsCSSURL=function(De){te=De},xt.setGiacJSURL=function(De){},xt.setJNLPFile=function(De){st=De},xt.setJNLPBaseDir=function(De){},xt.inject=function(){function De(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var tt="auto",Ft=oe.id,tn,gt=!1,Yt=0;Yt=5)return!0;var De=xt.getAppletObject();return De&&typeof De.recalculateEnvironments=="function"?(De.recalculateEnvironments(),!0):!1},xt.startAnimation=function(){var De=xt.getAppletObject();return De&&typeof De.startAnimation=="function"?(De.startAnimation(),!0):!1},xt.stopAnimation=function(){var De=xt.getAppletObject();return De&&typeof De.stopAnimation=="function"?(De.stopAnimation(),!0):!1},xt.getAppletObject=function(){var De=oe.id!==void 0?oe.id:"ggbApplet";return window[De]},xt.resize=function(){};var je=function(De,tt,Ft){var tn=document.createElement("param");tn.setAttribute("name",tt),tn.setAttribute("value",Ft),De.appendChild(tn)},Se=function(De){return De&&De!=="false"},Qe=function(De,tt,Ft){ie(le)<=4.2&&(Ft=!0);var tn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==le||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(tn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var gt=document.createElement("div");gt.classList.add("appletParameters","notranslate");var Yt=tt.width,Fe=tt.height;if(tt.disableAutoScale=tt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():tt.disableAutoScale,tt.width!==void 0)if(ie(le)<=4.4)Se(tt.showToolBar)&&(tt.height-=7),Se(tt.showAlgebraInput)&&(tt.height-=37),tt.width<605&&Se(tt.showToolBar)&&(tt.width=605,Yt=605);else{var it=100;(Se(tt.showToolBar)||Se(tt.showMenuBar))&&(tt.hasOwnProperty("customToolBar")&&(tt.customToolbar=tt.customToolBar),it=Se(tt.showMenuBar)?245:155),Yt=5?(tt.appletOnLoad=function(xe){var Ge=De.querySelector(".ggb_preview");Ge&&Ge.parentNode.removeChild(Ge),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(zt),window.GGBT_wsf_view&&$(window).trigger("resize"),nn(xe)},Ke||zt.appendChild(Ue)):gt.appendChild(Ue),zt.appendChild(gt),Ke||De.appendChild(zt),setTimeout(function(){xt.resize()},1)}else{var we=document.createElement("div");we.className="applet_scaler",we.style.position="relative",we.style.display="block",we.appendChild(gt),De.appendChild(we),tt.appletOnLoad=function(xe){xt.resize(),nn(xe)}}function ge(xe,Ge){Ge&&typeof Ge.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(xe,Ge.appletOnLoad):renderGGBElement(xe),rt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ge)}function ze(xe,Ge){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:xe,params:Ge}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(wt){ge(wt.article,wt.params)}),html5AppletsToProcess=null)},ie(le)<5&&(xe.className+=" geogebraweb")):ge(xe,Ge)}if(tn){scriptLoadStarted=!0;for(var Re=0;Re0?(Pt.remove(),zt.attr("id","fullscreencontent").show(),jQuery(nn).append(zt),window.dispatchEvent(new Event("resize"))):Qe(Pt,tt,!1),window.GGBT_wsf_view.launchFullScreen(nn)}else Xe=tn,Qe(De,tt,!1);if(!window.GGBT_wsf_view)for(Fe=0;FeDe/4*3&&(Pt=De/4*3),nn=Pt/5.8,it.setAttribute("src",b),it.setAttribute("width",Pt),it.setAttribute("height",nn);var zt=(De-Pt)/2,Ke=(tt-nn)/2;it.style.left=zt+"px",it.style.top=Ke+"px",gt.appendChild(it)}}return gt.appendChild(Fe),gt},Vt=function(De){return De=De.toLowerCase(),De==="html5"||De==="screenshot"?De:"html5"},Rt=["web","webSimple","web3d","tablet","tablet3d","phone"],St=function(De,tt){if(le=De,tt){ke(le,!0);return}var Ft=!ve;if(Ft){var tn=ie(le);!isNaN(tn)&&tn<4.4&&(Ft=!1)}var gt,Yt;window.location.protocol.substr(0,4)==="http"?gt=window.location.protocol:gt="http:";var Fe=le.indexOf("//");Fe>0?Yt=le:Fe===0?Yt=gt+le:Yt="https://www.geogebra.org/apps/5.2.814.0/";for(var it in Rt)if(le.slice(Rt[it].length*-1)===Rt[it]||le.slice((Rt[it].length+1)*-1)===Rt[it]+"/"){ke(Yt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ft&&!ne.is3D&&!ne.AV&&!ne.SV&&!ne.CV&&!ne.EV2&&!ne.CP&&!ne.PC&&!ne.DA&&!ne.FI&&!ne.PV&&!Se(oe.showToolBar)&&!Se(oe.showMenuBar)&&!Se(oe.showAlgebraInput)&&!Se(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?Yt+="webSimple/":Yt+="web3d/",ke(Yt,!1)},ke=function(De,tt){if(De.requirejs){pt=De;return}De.slice(-1)!=="/"&&(De+="/"),pt=De,tt===null&&(tt=De.indexOf("http")===-1),$e=tt,y="web.nocache.js",a=!1;var Ft=pt.split("/");Ft.length>1&&(!tt&&Ft[Ft.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Rt.indexOf(Ft[Ft.length-2])>=0&&(y=Ft[Ft.length-2]+".nocache.js")),Ft=De.split("/"),le=Ft[Ft.length-3],le.substr(0,4)==="test"?le=le.substr(4,1)+"."+le.substr(5,1):(le.substr(0,3)==="war"||le.substr(0,4)==="beta")&&(le="5.0");var tn=parseFloat(le);tn!==NaN&&tn<5&&De.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+tn+" is deprecated. Using version latest instead."),St("5.0",tt))},rt=function(De,tt){window.console&&window.console.log&&(!tt||typeof tt.showLogging=="undefined"||tt.showLogging&&tt.showLogging!=="false")&&console.log(De)};oe.material_id!==void 0?fe(Lt):Lt();function Lt(){var De=Tt;Te!==null?De=Te:parseFloat(De)<5&&(De="5.0"),St(De,!1),ye!==null&&ke(ye,$e),Ie=!0}return xt},GGBAppletUtils=function(){"use strict";function xt(){return window.GGBT_wsf_edit!==void 0}function Tt(Ie,Te){Te!=1?(Ie.style.transformOrigin="0% 0% 0px",Ie.style.webkitTransformOrigin="0% 0% 0px",Ie.style.transform="scale("+Te+","+Te+")",Ie.style.webkitTransform="scale("+Te+","+Te+")",Ie.style.maxWidth="initial",Ie.querySelector(".ggb_preview")!==null&&(Ie.querySelector(".ggb_preview").style.maxWidth="initial"),Ie.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ie.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ie.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ie.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ie.style.transform="none",Ie.style.webkitTransform="none")}function oe(Ie,Te,ye,Ye,_e,st){var pt=null;if(st!=null&&st!="")for(var $e=Ie.parentNode;$e!=null;)if((" "+$e.className+" ").indexOf(" "+st+" ")>-1){pt=$e;break}else $e=$e.parentNode;var Xe=0,le=0,y=0,a=0,E=0,b=0,x=0;if(pt)Xe=pt.offsetWidth,le=Math.max(Ye?pt.offsetWidth:0,pt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Xe=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Xe):(Xe=window.innerWidth,le=window.innerHeight,y=window.innerWidth),Ie){var te=Ie.getBoundingClientRect();te.left>0&&te.left<=Xe&&(_e===void 0||!_e)&&(document.dir==="rtl"?(E=Xe-te.width-te.left,b=y<=480?10:30):(b=te.left,E=y<=480?10:30),a=b+E)}if(Ie&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=Ie.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return Ie&&((ye===void 0||!ye)&&Te>0&&Te+a1&&(st=!0)),Te&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(st=!0),!(Ie.hasOwnProperty("disableAutoScale")&&Ie.disableAutoScale))_e=ne(Ie,Te,st,ye,Ie.scaleContainerClass);else return Ye;return st&&(!Ie.hasOwnProperty("scale")||Ye===1)?_e:Math.min(Ye,_e)}function Je(Ie){var Te=Math.min(window.innerWidth,document.documentElement.clientWidth),ye=Math.min(window.innerHeight,document.documentElement.clientHeight),Ye=Ie.getBoundingClientRect(),_e=(Te-Ye.width)/2,st=(ye-Ye.height)/2;st<0&&(st=0),Ie.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(_e<40?Ie.style.left="40px":Ie.style.left=_e+"px",Ie.style.top=st+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(st<40?Ie.style.top="40px":Ie.style.top=st+"px",Ie.style.left=_e+"px")}function Ne(Ie,Te){var ye=Ie.querySelector(".appletParameters");if(ye){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Te.id!==ye.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ie)}if(ye.parentElement&&/fullscreen/.test(ye.parentElement.className))return;var Ye=ve(Te,Ie);xt()&&ye.setAttribute("data-param-scale",Ye);for(var _e=null,st=0;st=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(xt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(xt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(xt){var Tt=c[xt];return Tt==null?null:Tt},r=d,webModule.__errFn=e}function B(){function xt(Ie){var Te=Ie.lastIndexOf(rb);Te==-1&&(Te=Ie.length);var ye=Ie.indexOf(sb);ye==-1&&(ye=Ie.length);var Ye=Ie.lastIndexOf(tb,Math.min(ye,Te));return Ye>=O?Ie.substring(O,Ye+P):W}function Tt(Ie){if(!Ie.match(/^\w+:\/\//)){var Te=o.createElement(ub);Te.src=Ie+vb,Ie=xt(Te.src)}return Ie}function oe(){var Ie=__gwt_getMetaProperty(wb);return Ie!=null?Ie:W}function ne(){for(var Ie=o.getElementsByTagName(_),Te=O;TeO?Ie[Ie.length-P].href:W}function Je(){var Ie=o.location;return Ie.href==Ie.protocol+zb+Ie.host+Ie.pathname+Ie.search+Ie.hash}var Ne=oe();return Ne==W&&(Ne=ne()),Ne==W&&(Ne=ve()),Ne==W&&Je()&&(Ne=xt(o.location.href)),Ne=Tt(Ne),Ne}function C(xt){return xt.match(/^\//)||xt.match(/^[a-zA-Z]+:\/\//)?xt:webModule.__moduleBase+xt}function D(){var xt=[],Tt=O,oe=[],ne=[];function ve(Ie){var Te=ne[Ie](),ye=oe[Ie];if(Te in ye)return Te;var Ye=[];for(var _e in ye)Ye[ye[_e]]=_e;throw r&&r(Ie,Ye,Te),null}if(__gwt_isKnownPropertyValue=function(Ie,Te){return Te in oe[Ie]},webModule.__getPropMap=function(){var Ie={};for(var Te in oe)oe.hasOwnProperty(Te)&&(Ie[Te]=ve(Te));return Ie},webModule.__computePropValue=ve,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Je;try{Je=Cb;var Ne=Je.indexOf(Db);Ne!=-1&&(Tt=parseInt(Je.substring(Ne+P),$),Je=Je.substring(O,Ne))}catch(Ie){}return webModule.__softPermutationId=Tt,C(Je+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/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})()},51555:function(xt,Tt,oe){"use strict";oe.d(Tt,{$Y:function(){return Yt},A0:function(){return tt},EP:function(){return Ie},F_:function(){return Ye},Fk:function(){return ge},G9:function(){return ye},GB:function(){return ke},GR:function(){return b},GW:function(){return tn},Hh:function(){return ze},Hp:function(){return Xe},Ir:function(){return ve},N$:function(){return rt},NZ:function(){return Ot},Nv:function(){return we},OA:function(){return zt},OJ:function(){return Dt},QF:function(){return Ge},RS:function(){return ue},RY:function(){return Me},Rj:function(){return Ve},SX:function(){return Ce},Tp:function(){return Fe},Ui:function(){return De},V1:function(){return Rt},Vn:function(){return fe},dL:function(){return Ue},fo:function(){return je},gG:function(){return Se},gK:function(){return E},hK:function(){return le},i3:function(){return st},ib:function(){return y},lS:function(){return a},m5:function(){return Te},n4:function(){return ne},n_:function(){return pt},oP:function(){return it},p2:function(){return Ft},pl:function(){return Bt},rM:function(){return ae},sM:function(){return $e},t2:function(){return de},tD:function(){return x},u8:function(){return te},um:function(){return xe},vm:function(){return Ke},wQ:function(){return _e},wj:function(){return Vt},wt:function(){return Qe},yS:function(){return ie},yi:function(){return Je},ym:function(){return ft},z2:function(){return Ne}});const ne="FETCH_TASK_START",ve="FETCH_TASK_FAILURE",Je="FETCH_TASK_SUCCESS",Ne="UPDATE_TASK_DATA",Ie="HIDE_EVALUATE_RESULT",Te="SHOW_EVALUATE_RESULT",ye="UPDATE_TIMESTRAP",Ye="MOVE_X",_e="MOVE_Y",st="TRIGGER_RIGHT_PANEL_MASK ",pt="SET_ACTIVE_INDEX",$e="GET_TASK_LIST",Xe="SHOW_TASK_LIST",le="HIDE_TASK_LIST",y="SET_TASK_STAR",a="TRIGGER_ENLARGE_UNITY3D ",E="TRIGGER_TAB_FIXED ",b="GET_DISCUSSES",x="SHOW_DISCUSSES_LOADING",te="TOP_OR_DOWN_DISCUSS",ae="PLUS_DISCUSS",ie="SET_ACTION_TYPE",ue="SHOW_REWARD_DIALOG",de="CANCEL_REWARD_DIALOG",fe="SET_REWARD",Ce="ACTIVE_DISCUSS_INDEX",Pe="CREATE_DISCUSS",je="DISABLE_DISCUSS",Se="CHANGE_PAGE",Qe="SHOW_ANSWER_LOADING",Bt="FETCH_ANSWER_INFO",Ot="HIGH_TIP_MODAL",Ve="SHOW_TIP_MODAL",ft="SELECT_UNLOCK_ANSWER",Dt="SET_CHOOSE_ANSWERS",Vt="EVAL_CHOOSE_START",Rt="EVAL_CHOOSE_END",St="SHOW_REP_loading",ke="FETCH_REP_CONTENT",rt="EDIT_REP_CONTENT",Lt="SET_REP_PATH",De="SHOW_EVALUATE_LOADING",tt="HIDE_EVALUATE_LOADING",Ft="SET_EVALUATE_MESSAGE",tn="SET_SHOW_DIR",gt="SET_EDITOR_SETTING",Yt="SET_EDITOR_THEME",Fe="SET_EDITOR_FONTSIZE",it="SET_REPOS",Pt="SHOW_PATH_LIST",nn="HIDE_PATH_LIST",zt="HIDE_PICTURE_VIEW",Ke="SHOW_PICTURE_VIEW",Ue="SHOW_NOTICE",we="HIDE_NOTICE",ge="SHOW_CASE_NOTICE",ze="HIDE_CASE_NOTICE",Re="SET_TAB_INDEX",Ee="SET_SSH_TABS",he="SET_SSH_CONFIGDATA",nt="SET_SSH_CONFIGDATAARR",Me="SET_VNC_LOADING ",xe="ON_TAB_TO_SPACE ",Ge="ON_AUTO_FORMAT "},49291:function(xt,Tt,oe){"use strict";oe.d(Tt,{Ax:function(){return Ne},Ds:function(){return Ie},KI:function(){return ye},SI:function(){return Je},f1:function(){return ve}});var ne=oe(38446);function ve(Ye){let _e=!0;if(Ye.length>0){for(let st=0;sta in y?Je(y,a,{enumerable:!0,configurable:!0,writable:!0,value:E}):y[a]=E,st=(y,a)=>{for(var E in a||(a={}))ye.call(a,E)&&_e(y,E,a[E]);if(Te)for(var E of Te(a))Ye.call(a,E)&&_e(y,E,a[E]);return y},pt=(y,a)=>Ne(y,Ie(a)),$e=(y,a)=>{var E={};for(var b in y)ye.call(y,b)&&a.indexOf(b)<0&&(E[b]=y[b]);if(y!=null&&Te)for(var b of Te(y))a.indexOf(b)<0&&Ye.call(y,b)&&(E[b]=y[b]);return E},Xe=(y,a,E)=>new Promise((b,x)=>{var te=ue=>{try{ie(E.next(ue))}catch(de){x(de)}},ae=ue=>{try{ie(E.throw(ue))}catch(de){x(de)}},ie=ue=>ue.done?b(ue.value):Promise.resolve(ue.value).then(te,ae);ie((E=E.apply(y,a)).next())});const le=y=>{var a=y,{children:E}=a,b=$e(a,["children"]);const[x,te]=(0,ve.useState)(!1);return ve.createElement(ne.ZP,pt(st({},b),{loading:x,onClick:ae=>Xe(void 0,null,function*(){try{te(!0),yield b.onClick(ae),te(!1)}catch(ie){console.error(ie),te(!1)}})}),E)}},77659:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return b}});var ne=oe(59301),ve=oe(7660),Je=oe(1012),Ne=oe(92310),Ie=oe.n(Ne),Te={upload:"upload___jpwPD"},ye=Object.defineProperty,Ye=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,Xe=(x,te,ae)=>te in x?ye(x,te,{enumerable:!0,configurable:!0,writable:!0,value:ae}):x[te]=ae,le=(x,te)=>{for(var ae in te||(te={}))pt.call(te,ae)&&Xe(x,ae,te[ae]);if(st)for(var ae of st(te))$e.call(te,ae)&&Xe(x,ae,te[ae]);return x},y=(x,te)=>Ye(x,_e(te)),a=(x,te,ae)=>new Promise((ie,ue)=>{var de=Pe=>{try{Ce(ae.next(Pe))}catch(je){ue(je)}},fe=Pe=>{try{Ce(ae.throw(Pe))}catch(je){ue(je)}},Ce=Pe=>Pe.done?ie(Pe.value):Promise.resolve(Pe.value).then(de,fe);Ce((ae=ae.apply(x,te)).next())});const E=({chunkSize:x=1024*1024*2,options:te={},onCancel:ae,onComplete:ie,onError:ue,onProgress:de,onBefore:fe,onBeginInitFile:Ce,children:Pe,accept:je,className:Se,style:Qe={},concurrency:Bt=4},Ot)=>{let[Ve,ft]=(0,ne.useState)("ready");const[Dt,Vt]=(0,ne.useState)(0),[Rt,St]=(0,ne.useState)(""),[ke,rt]=(0,ne.useState)(null),Lt=(0,ne.useRef)(null),De=(0,ne.useRef)((0,Je.Z)()),tt=(0,ne.useRef)(!1);(0,ne.useImperativeHandle)(Ot,()=>({cancel:gt,file:ke,uploadStatus:Ve}));const Ft=()=>{const Fe=document.getElementById(De.current);Fe&&(Fe.value="")},tn=Fe=>a(void 0,null,function*(){var it;if(Ve==="uploading")return;Ce&&Ce(Fe);const Pt=Fe.size,nn=Math.ceil(Pt/x);tt.current=!1,ft("uploading"),Vt(0),St("");try{const zt=yield(0,ve.ZP)("/api/attachments/multipart_upload_start",{method:"POST",body:le({fileName:Fe.name,chunkCount:nn},te)});if(tt.current||(zt==null?void 0:zt.status)!==0)throw new Error;const{upload_id:Ke}=zt;Lt.current=new AbortController;const Ue=[];let we=0;for(let Ee=0;Ee(0,ve.ZP)("/api/attachments/multipart_upload",{method:"POST",body:xe,signal:Lt.current.signal},!0).then(Ge=>{console.log(Ge,444),we++;const wt=Math.round(we/nn*100);Vt(wt),de&&de(y(le({},Ge),{file:Fe,percent:wt}))}))}let ge=0,ze=Bt;for(console.log(Ue,"promises");gehe());if(Ee.length>0){const he=yield Promise.all(Ee);ge+=ze}}const Re=yield(0,ve.ZP)("/api/attachments/multipart_upload_end",{method:"POST",body:le({fileName:Fe.name,chunkCount:nn,uploadId:Ke},te)});Re.object?(ft("success"),Ft(),ie&&ie(y(le({},Re),{file:Fe,percent:100}))):(ft("error"),St("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"),Ft(),ue&&ue(Fe.name))}catch(zt){ft("error"),St("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"),Ft(),ue&&ue(Fe.name)}}),gt=(0,ne.useCallback)(()=>{tt.current=!0,Lt.current&&(Lt.current.abort(),ae&&ae())},[ae]),Yt=Fe=>{var it,Pt;const nn=(Pt=(it=Fe==null?void 0:Fe.target)==null?void 0:it.files)==null?void 0:Pt[0];if(rt(nn),Ve="ready",!!nn){if(fe){fe(nn)||tn(nn),Ft();return}tn(nn)}};return ne.createElement(ne.Fragment,null,ne.createElement("input",{type:"file",id:De.current,style:{display:"none"},onChange:Yt,accept:je}),ne.createElement("label",{className:Ie()(Te.upload,Se),htmlFor:De.current,style:Qe},Pe))};var b=(0,ne.forwardRef)(E)},66701:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return st}});var ne=oe(59301),ve=oe(3113),Je=oe(8591),Ne=oe(54580),Ie=oe(32050),Te=oe(19248),ye=oe(38446),Ye={img:"img___BgL9D"},st=({value:pt,onChange:$e,getFileProgress:Xe})=>{const[le,y]=(0,ne.useState)(!1),a=ne.createElement(ve.ZP,{loading:le,icon:ne.createElement(Ie.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),E=()=>ne.createElement("div",{className:Ye.img},ne.createElement("img",{src:ye.Z.API_SERVER+"/api/attachments/"+pt,alt:"avatar",style:{width:288}}),ne.createElement("div",null,ne.createElement(Te.Z,{onClick:()=>$e(""),style:{fontSize:"16px",color:"red"}}))),b=x=>{var te,ae,ie,ue,de,fe;if(Xe&&Xe(x),x.file.status==="uploading"){y(!0);return}if(x.file.status==="done"){if(y(!1),x.file.status==="done"&&((ae=(te=x.file)==null?void 0:te.response)==null?void 0:ae.status)===-1){Je.ZP.error((ue=(ie=x.file)==null?void 0:ie.response)==null?void 0:ue.message);return}$e((fe=(de=x==null?void 0:x.file)==null?void 0:de.response)==null?void 0:fe.id)}};return ne.createElement(ne.Fragment,null,pt?E():ne.createElement("div",null,ne.createElement(Ne.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${ye.Z.API_SERVER}/api/attachments.json`,onChange:b,accept:"image/*"},a),ne.createElement("div",{className:"mt20 c-light-black"},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u7528288*158\u50CF\u7D20\uFF1B"),ne.createElement("div",{className:"c-light-black"},"\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002")))}},14573:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return pt}});var ne=oe(59301),ve={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Je=oe(92310),Ne=oe.n(Je),Ie=oe(71418),Te=oe(2859),ye=oe(7660),Ye=oe(88230),_e=($e,Xe,le)=>new Promise((y,a)=>{var E=te=>{try{x(le.next(te))}catch(ae){a(ae)}},b=te=>{try{x(le.throw(te))}catch(ae){a(ae)}},x=te=>te.done?y(te.value):Promise.resolve(te.value).then(E,b);x((le=le.apply($e,Xe)).next())}),pt=({data:$e,className:Xe,fullWidth:le,style:y={},onClose:a,onOk:E,showFullTools:b,noAssociationId:x})=>{const te=(0,ne.useRef)(null),ae=(0,ne.useRef)(null),ie=(0,ne.useRef)(null),ue=(0,ne.useRef)(null),[de,fe]=(0,ne.useState)(!1),[Ce,Pe]=(0,ne.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ne.useEffect)(()=>{ie.current||(ie.current=document.createElement("style"),document.head.appendChild(ie.current)),$e!=null&&$e.visible?(document.body.setAttribute("data-custom","y-hidden"),ie.current.innerHTML=" html { overflow-y: hidden; }",$e!=null&&$e.src&&je()):(document.body.removeAttribute("data-custom"),ie.current&&(document.head.removeChild(ie.current),ie.current=null))},[$e==null?void 0:$e.visible]);const je=()=>_e(void 0,null,function*(){fe(!0),Pe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ve=yield(0,Ye.ZJ)($e==null?void 0:$e.src);te.current.src="",te.current.src=Ve,te.current.onload=function(){Ot()},fe(!1),Pe("")}),Se=()=>{document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",a()},Qe=Ve=>_e(void 0,null,function*(){fe(!0),Pe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ft=yield(0,ye.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:$e.title,file:Ve.dataUrl}});ft!=null&&ft.id&&!x?(yield(0,ye.ZP)(`/api/attachments/${$e.id}/add_subitem.json`,{method:"post",body:{subitem_id:ft==null?void 0:ft.id,settings:JSON.stringify(Ve.state)}})).status===0&&E():ft!=null&&ft.id&&E(ft),document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",fe(!1),Pe("")}),Bt=()=>{const Ve=document.querySelector('a[href="https://markerjs.com/"]');Ve&&Ve.parentNode&&(Ve.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(Dt=>{const Vt=document.querySelector(Dt.name);Vt&&Vt.setAttribute("title",Dt.title)})},Ot=()=>{ae.current=new Te.hP(te.current),ae.current.targetRoot=ue.current,ae.current.addEventListener("render",Qe),ae.current.addEventListener("beforeclose",Se),b&&(ae.current.availableMarkerTypes=ae.current.ALL_MARKER_TYPES,ae.current.uiStyleSettings.redoButtonVisible=!0,ae.current.uiStyleSettings.notesButtonVisible=!0,ae.current.uiStyleSettings.zoomButtonVisible=!0,ae.current.uiStyleSettings.zoomOutButtonVisible=!0,ae.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ae.current.uiStyleSettings,ae.current.show(),$e!=null&&$e.snapshotData&&ae.current.restoreState($e.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Bt()},300)};return ne.createElement(ne.Fragment,null,($e==null?void 0:$e.visible)&&ne.createElement(Ie.Z,{spinning:de,tip:Ce,style:{position:"absolute"}},ne.createElement("div",{ref:ue,className:Ne()(ve.imageDimensions,Xe,le?ve.fullWidth:""),style:y},ne.createElement("img",{className:ve.img,ref:te}))))}},46531:function(xt,Tt,oe){"use strict";var ne=oe(59301),ve=oe(95237),Je=oe(43604),Ne=oe(99313),Ie=oe(3113),Te=oe(99325),ye=oe(11570),Ye=oe(48136),_e=oe(59301);const st=(0,ne.forwardRef)(({callback:pt,showSaveButton:$e,value:Xe=""},le)=>{const y=(0,ne.useRef)(),a=[{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 "}]}]}],E=[{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}`}]}]}],b=ae=>{y.current.setValue(y.current.getValue()+" "+ae.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:_e.createElement(ve.Z,{className:ye.Z.lists,gutter:[10,10]},a.map((ae,ie)=>_e.createElement(Je.Z,{flex:"110px",className:ye.Z.item},_e.createElement("div",null,_e.createElement(Te.Z,{value:`$$${ae.value}$$`}),ae.name),_e.createElement("div",{className:ye.Z.children},ae.children.map((ue,de)=>_e.createElement("div",{key:de},_e.createElement("h1",null,ue.name),_e.createElement(ve.Z,{gutter:[10,10]},ue.data.map((fe,Ce)=>_e.createElement(Je.Z,{key:Ce,onClick:()=>b(fe),className:ye.Z.diamond},_e.createElement(Te.Z,{value:"`$$"+fe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:_e.createElement(ve.Z,{className:ye.Z.lists,gutter:[10,10]},E.map((ae,ie)=>_e.createElement(Je.Z,{flex:"110px",className:ye.Z.item},_e.createElement("div",null,_e.createElement(Te.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),_e.createElement("div",{className:ye.Z.children},ae.children.map((ue,de)=>_e.createElement("div",{key:de},ue.name&&_e.createElement("h1",null,ue.name),_e.createElement(ve.Z,{gutter:[10,10]},ue.data.map((fe,Ce)=>_e.createElement(Je.Z,{key:Ce,onClick:()=>b(fe),className:ye.Z.diamond},_e.createElement(Te.Z,{value:"`$$"+fe.value+"$$`"}))))))))))}],te=()=>{var ae=document.createElement("div");ae.innerHTML=y.current.getValue();var ie=ae.innerText;return pt&&pt(ie),ie};return(0,ne.useImperativeHandle)(le,()=>({getData:te})),_e.createElement("div",{className:ye.Z.mathWrap},_e.createElement(Ne.default,{defaultActiveKey:"1",items:x}),_e.createElement("math-field",{locale:"zh_cn",className:ye.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Xe||""),$e&&_e.createElement("div",{className:ye.Z.button},_e.createElement(Ie.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Tt.Z=st},17696:function(xt,Tt,oe){"use strict";oe.d(Tt,{z:function(){return Vt},Z:function(){return Rt}});var ne=oe(59301),ve=oe(54580),Je=oe(8591),Ne=oe(43418),Ie=oe(3113),Te=oe(38446),ye=oe(59674),Ye=Object.defineProperty,_e=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,$e=(St,ke,rt)=>ke in St?Ye(St,ke,{enumerable:!0,configurable:!0,writable:!0,value:rt}):St[ke]=rt,Xe=(St,ke)=>{for(var rt in ke||(ke={}))st.call(ke,rt)&&$e(St,rt,ke[rt]);if(_e)for(var rt of _e(ke))pt.call(ke,rt)&&$e(St,rt,ke[rt]);return St},le=(St,ke,rt)=>new Promise((Lt,De)=>{var tt=gt=>{try{tn(rt.next(gt))}catch(Yt){De(Yt)}},Ft=gt=>{try{tn(rt.throw(gt))}catch(Yt){De(Yt)}},tn=gt=>gt.done?Lt(gt.value):Promise.resolve(gt.value).then(tt,Ft);tn((rt=rt.apply(St,ke)).next())});const y="\u3000\u3000";function a(St){var ke=["Bytes","KB","MB","GB","TB"];if(St==0)return"0 Byte";var rt=parseInt(""+Math.floor(Math.log(St)/Math.log(1024)),10);return(St/Math.pow(1024,rt)).toFixed(1)+" "+ke[rt]}var E=({value:St=[],action:ke,onChange:rt,className:Lt,maxSize:De=150,title:tt="\u6587\u4EF6\u4E0A\u4F20",accept:Ft=null})=>{const tn={multiple:!1,fileList:St,accept:Ft,withCredentials:!0,beforeUpload:Yt=>Yt.size/1024/1024(Ke.name.indexOf(y)===-1&&(Ke.name=`${Ke.name}${y}${a(Ke.size)}`),Xe({},Ke))),Yt.file.status==="done"&&((it=(Fe=Yt.file)==null?void 0:Fe.response)==null?void 0:it.status)===-1){message.error((nn=(Pt=Yt.file)==null?void 0:Pt.response)==null?void 0:nn.message),rt([]);return}rt(zt)},onRemove:Yt=>le(void 0,null,function*(){const Fe=Yt.size/1024/1024;return Yt.status==="uploading"?!0:Fe0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:St.length>0,ghost:!0},tt),React.createElement("span",{onClick:gt,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",De,"M)"," ")))},b=oe(61481),x=oe(89392),te=Object.defineProperty,ae=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,de=(St,ke,rt)=>ke in St?te(St,ke,{enumerable:!0,configurable:!0,writable:!0,value:rt}):St[ke]=rt,fe=(St,ke)=>{for(var rt in ke||(ke={}))ie.call(ke,rt)&&de(St,rt,ke[rt]);if(ae)for(var rt of ae(ke))ue.call(ke,rt)&&de(St,rt,ke[rt]);return St};const Ce=St=>React.createElement("svg",fe({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},St),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Pe="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",je=Object.defineProperty,Se=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,Ot=(St,ke,rt)=>ke in St?je(St,ke,{enumerable:!0,configurable:!0,writable:!0,value:rt}):St[ke]=rt,Ve=(St,ke)=>{for(var rt in ke||(ke={}))Qe.call(ke,rt)&&Ot(St,rt,ke[rt]);if(Se)for(var rt of Se(ke))Bt.call(ke,rt)&&Ot(St,rt,ke[rt]);return St},ft=(St,ke,rt)=>new Promise((Lt,De)=>{var tt=gt=>{try{tn(rt.next(gt))}catch(Yt){De(Yt)}},Ft=gt=>{try{tn(rt.throw(gt))}catch(Yt){De(Yt)}},tn=gt=>gt.done?Lt(gt.value):Promise.resolve(gt.value).then(tt,Ft);tn((rt=rt.apply(St,ke)).next())});const{Dragger:Dt}=ve.default;function Vt(St){let ke=[];return St&&St.length>0&&(ke=St.map(rt=>({uid:rt.id,id:rt.id,name:rt.title+y+rt.filesize,url:rt.url,filesize:rt.filesize,status:"done",response:{id:rt.id}}))),ke}var Rt=({value:St,onChange:ke,action:rt,data:Lt,className:De,maxSize:tt=150,title:Ft="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:tn=!1,accept:gt="",additionalText:Yt,isDragger:Fe,number:it=1e3,aloneClear:Pt=!1,realTimeRemove:nn=!0,uploadText:zt,setFileProgress:Ke,showFileProgress:Ue})=>{const[we,ge]=(0,ne.useState)(!1);let[ze,Re]=(0,ne.useState)(St||[]),[Ee,he]=(0,ne.useState)(1);(0,ne.useEffect)(()=>{St&&(Ee===1&&Re([...St]),he(2),it===(St==null?void 0:St.length)&&ge(!0))},[St]);const nt=()=>{setTimeout(()=>{ze.pop(),Re([...ze])},500)};Ue&&Ke(ze.some(Ge=>Ge.status==="uploading"));const Me={multiple:!0,disabled:we,accept:gt,withCredentials:!0,fileList:ze,beforeUpload:(Ge,wt)=>{const ht=Ge.size/1024/1024;return ze.concat(wt).length>it?(ze.pop(),Re([...ze]),Je.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${it}\u4E2A\u6587\u4EF6`),Pt?Promise.reject():(nt(),!1)):ht=it?ge(!0):ge(!1),Re([...ze]),ze=ze.map(Nt=>{var Le,ot;return(Le=Nt==null?void 0:Nt.response)!=null&&Le.id&&(Nt.url=(ot=Nt==null?void 0:Nt.response)==null?void 0:ot.url),Nt.name.indexOf(y)===-1&&(Nt.name=`${Nt.name}${y}${a(Nt.size)}`),Ve({},Nt)}),console.log("info:",Ge,ze),ke(ze)},onRemove:Ge=>ft(void 0,null,function*(){if(!nn)return!0;const wt=()=>ft(void 0,null,function*(){if(Ge.response?Ge.response.id:Ge.id){let Gt=yield(0,ye.JZ)(Ge.response?Ge.response.id:Ge.uid);return Promise.resolve(Gt)}else return!0});return tn?new Promise((ht,Gt)=>{Ne.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:ne.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>ft(void 0,null,function*(){const kt=yield wt();Je.ZP.success("\u5220\u9664\u6210\u529F"),ht(!0)}),onCancel:()=>ht(!1)})}):yield wt()})};function xe(Ge){Ge.preventDefault(),Ge.stopPropagation()}return ne.createElement("div",{className:`multi-upload ${De||""}`},Fe&&ne.createElement(Dt,Ve({},Me),ne.createElement("p",{className:"ant-upload-drag-icon"},ne.createElement(b.Z,null)),ne.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",ne.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",tt,"MB)"," "),Yt),!Fe&&ne.createElement(ve.default,Ve({},Me),ne.createElement(Ie.ZP,{disabled:we,className:"upload_button"},ne.createElement("img",{className:"aBtn_img",src:Pe}),Ft),ne.createElement("span",{onClick:xe,className:"upload_text"},zt||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${tt}MB)`)))}},7651:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ne}});var ne=oe(24459),ve={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},Je=oe(59301),Ne=({message:Ie,className:Te,children:ye,style:Ye={}})=>Je.createElement("div",{className:`custom-spinner ${ve.idsRingWrapper} ${Te}`},Je.createElement("div",{className:ve.ldsRing},Je.createElement("div",null),Je.createElement("div",null),Je.createElement("div",null),Je.createElement("div",null)),Ie?Je.createElement("p",{style:Ye},Ie):null,ye,Je.createElement(ne.Outlet,null))},85469:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Vn}});var ne=oe(59301),ve=oe(50484),Je=oe(15277),Ne=oe(92310),Ie=oe.n(Ne),Te=oe(92413),ye=oe(33708),Ye=oe(400),_e=oe(33606),st=oe(39559),pt=oe(37061),$e=oe(55468),Xe=oe(18929),le=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],y=ne.createContext(null),a=0;function E(_t,be){var qt=ne.useState(function(){return a+=1,String(a)}),yn=(0,_e.Z)(qt,1),hn=yn[0],Cn=ne.useContext(y),Be={data:be,canPreview:_t};return ne.useEffect(function(){if(Cn)return Cn.register(hn,Be)},[]),ne.useEffect(function(){Cn&&Cn.register(hn,Be)},[_t,be]),hn}function b(_t){return new Promise(function(be){var qt=document.createElement("img");qt.onerror=function(){return be(!1)},qt.onload=function(){return be(!0)},qt.src=_t})}function x(_t){var be=_t.src,qt=_t.isCustomPlaceholder,yn=_t.fallback,hn=(0,ne.useState)(qt?"loading":"normal"),Cn=(0,_e.Z)(hn,2),Be=Cn[0],vt=Cn[1],Ct=(0,ne.useRef)(!1),Et=Be==="error";(0,ne.useEffect)(function(){b(be).then(function(Kt){Kt||vt("error")})},[be]),(0,ne.useEffect)(function(){qt&&!Ct.current?vt("loading"):Et&&vt("normal")},[be]);var Qt=function(){vt("normal")},jt=function(Gn){Ct.current=!1,Be==="loading"&&Gn!=null&&Gn.complete&&(Gn.naturalWidth||Gn.naturalHeight)&&(Ct.current=!0,Qt())},Ht=Et&&yn?{src:yn}:{onLoad:Qt,src:be};return[jt,Ht,Be]}var te=oe(86923),ae=oe(8224),ie=oe(10228),ue=oe(48736);function de(_t,be,qt,yn){var hn=be+qt,Cn=(qt-yn)/2;if(qt>yn){if(be>0)return(0,Ye.Z)({},_t,Cn);if(be<0&&hnyn)return(0,Ye.Z)({},_t,be<0?Cn:-Cn);return{}}function fe(_t,be,qt,yn){var hn=(0,$e.g1)(),Cn=hn.width,Be=hn.height,vt=null;return _t<=Cn&&be<=Be?vt={x:0,y:0}:(_t>Cn||be>Be)&&(vt=(0,ye.Z)((0,ye.Z)({},de("x",qt,_t,Cn)),de("y",yn,be,Be))),vt}var Ce=oe(13697),Pe=oe(16089),je={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Se(_t,be,qt,yn){var hn=(0,ne.useRef)(null),Cn=(0,ne.useRef)([]),Be=(0,ne.useState)(je),vt=(0,_e.Z)(Be,2),Ct=vt[0],Et=vt[1],Qt=function(Gn){Et(je),yn&&!(0,Ce.Z)(je,Ct)&&yn({transform:je,action:Gn})},jt=function(Gn,lt){hn.current===null&&(Cn.current=[],hn.current=(0,Pe.Z)(function(){Et(function(Oe){var bt=Oe;return Cn.current.forEach(function(an){bt=(0,ye.Z)((0,ye.Z)({},bt),an)}),hn.current=null,yn==null||yn({transform:bt,action:lt}),bt})})),Cn.current.push((0,ye.Z)((0,ye.Z)({},Ct),Gn))},Ht=function(Gn,lt,Oe,bt){var an=_t.current,Dn=an.width,jn=an.height,Mt=an.offsetWidth,Jt=an.offsetHeight,Ut=an.offsetLeft,It=an.offsetTop,En=Gn,sn=Ct.scale*Gn;sn>qt?(En=qt/Ct.scale,sn=qt):sn1,ka=Ea&&an>=1,ea=Se(Pa,Ut,En,Na),ra=ea.transform,na=ea.resetTransform,za=ea.updateTransform,Ma=ea.dispatchZoomChange,Va=(0,ne.useState)(!0),xa=(0,_e.Z)(Va,2),Xa=xa[0],oa=xa[1],Un=ra.rotate,ma=ra.scale,Zt=ra.x,ia=ra.y,ha=Ie()((0,Ye.Z)({},"".concat(qt,"-moving"),Ra));(0,ne.useEffect)(function(){Xa||oa(!0)},[Xa]);var Pn=function(){na("close")},cn=function(){Ma(ft+Mt,"zoomIn")},Bn=function(){Ma(ft/(ft+Mt),"zoomOut")},xn=function(){za({rotate:Un+90},"rotateRight")},ba=function(){za({rotate:Un-90},"rotateLeft")},$t=function(){za({flipX:!ra.flipX},"flipX")},La=function(){za({flipY:!ra.flipY},"flipY")},Aa=function(ga){ga==null||ga.preventDefault(),ga==null||ga.stopPropagation(),Oe>0&&(oa(!1),na("prev"),On==null||On(Oe-1,Oe))},wa=function(ga){ga==null||ga.preventDefault(),ga==null||ga.stopPropagation(),Oe0&&(Ja=ft/Ja),Ma(Ja,"wheel",ga.clientX,ga.clientY)}},la=function(ga){!Et||!Da||(ga.keyCode===ie.Z.LEFT?Aa():ga.keyCode===ie.Z.RIGHT&&wa())},Za=function(ga){Et&&(ma!==1?za({x:0,y:0,scale:1},"doubleClick"):Ma(ft+Mt,"doubleClick",ga.clientX,ga.clientY))};(0,ne.useEffect)(function(){var pa,ga,Ya,_a;if(vt){Ya=(0,ae.Z)(window,"mouseup",Ia,!1),_a=(0,ae.Z)(window,"mousemove",Ua,!1);try{window.top!==window.self&&(pa=(0,ae.Z)(window.top,"mouseup",Ia,!1),ga=(0,ae.Z)(window.top,"mousemove",Ua,!1))}catch(Ja){(0,ue.Kp)(!1,"[rc-image] ".concat(Ja))}}return function(){var Ja,ir,sr,nr;(Ja=Ya)===null||Ja===void 0||Ja.remove(),(ir=_a)===null||ir===void 0||ir.remove(),(sr=pa)===null||sr===void 0||sr.remove(),(nr=ga)===null||nr===void 0||nr.remove()}},[Et,Ra,Zt,ia,Un,vt]),(0,ne.useEffect)(function(){var pa=(0,ae.Z)(window,"keydown",la,!1);return function(){pa.remove()}},[Et,Da,Oe]);var Ta=ne.createElement(St,(0,Te.Z)({},va,{width:be.width,height:be.height,imgRef:Pa,className:"".concat(qt,"-img"),alt:hn,style:{transform:"translate3d(".concat(ra.x,"px, ").concat(ra.y,"px, 0) scale3d(").concat(ra.flipX?"-":"").concat(ma,", ").concat(ra.flipY?"-":"").concat(ma,", 1) rotate(").concat(Un,"deg)"),transitionDuration:!Xa&&"0s"},fallback:Cn,src:yn,onWheel:fa,onMouseDown:Fa,onDoubleClick:Za}));return ne.createElement(ne.Fragment,null,ne.createElement(te.Z,(0,Te.Z)({transitionName:In,maskTransitionName:bn,closable:!1,keyboard:!0,prefixCls:qt,onClose:Ct,visible:Et,wrapClassName:ha,rootClassName:Ht,getContainer:Gn},ya,{afterClose:Pn}),ne.createElement("div",{className:"".concat(qt,"-img-wrapper")},wn?wn(Ta,(0,ye.Z)({transform:ra},Ea?{current:Oe}:{})):Ta)),ne.createElement(Ve,{visible:Et,transform:ra,maskTransitionName:bn,closeIcon:Kt,getContainer:Gn,prefixCls:qt,rootClassName:Ht,icons:jt,countRender:Dn,showSwitch:Da,showProgress:ka,current:Oe,count:an,scale:ma,minScale:Ut,maxScale:En,toolbarRender:Sa,onSwitchLeft:Aa,onSwitchRight:wa,onZoomIn:cn,onZoomOut:Bn,onRotateRight:xn,onRotateLeft:ba,onFlipX:$t,onFlipY:La,onClose:Ct}))},rt=ke,Lt=oe(26407);function De(_t){var be=ne.useState({}),qt=(0,_e.Z)(be,2),yn=qt[0],hn=qt[1],Cn=ne.useCallback(function(vt,Ct){return hn(function(Et){return(0,ye.Z)((0,ye.Z)({},Et),{},(0,Ye.Z)({},vt,Ct))}),function(){hn(function(Et){var Qt=(0,ye.Z)({},Et);return delete Qt[vt],Qt})}},[]),Be=ne.useMemo(function(){return _t?_t.map(function(vt){if(typeof vt=="string")return{data:{src:vt}};var Ct={};return Object.keys(vt).forEach(function(Et){["src"].concat((0,Lt.Z)(le)).includes(Et)&&(Ct[Et]=vt[Et])}),{data:Ct}}):Object.keys(yn).reduce(function(vt,Ct){var Et=yn[Ct],Qt=Et.canPreview,jt=Et.data;return Qt&&vt.push({data:jt,id:Ct}),vt},[])},[_t,yn]);return[Be,Cn]}var tt=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Ft=["src"],tn=function(be){var qt,yn=be.previewPrefixCls,hn=yn===void 0?"rc-image-preview":yn,Cn=be.children,Be=be.icons,vt=Be===void 0?{}:Be,Ct=be.items,Et=be.preview,Qt=be.fallback,jt=(0,st.Z)(Et)==="object"?Et:{},Ht=jt.visible,Kt=jt.onVisibleChange,Gn=jt.getContainer,lt=jt.current,Oe=jt.movable,bt=jt.minScale,an=jt.maxScale,Dn=jt.countRender,jn=jt.closeIcon,Mt=jt.onChange,Jt=jt.onTransform,Ut=jt.toolbarRender,It=jt.imageRender,En=(0,pt.Z)(jt,tt),sn=De(Ct),In=(0,_e.Z)(sn,2),Hn=In[0],bn=In[1],wn=(0,Xe.Z)(0,{value:lt}),va=(0,_e.Z)(wn,2),Sa=va[0],Na=va[1],On=(0,ne.useState)(!1),ya=(0,_e.Z)(On,2),Pa=ya[0],qn=ya[1],aa=((qt=Hn[Sa])===null||qt===void 0?void 0:qt.data)||{},ja=aa.src,Ra=(0,pt.Z)(aa,Ft),Wa=(0,Xe.Z)(!!Ht,{value:Ht,onChange:function(Un,ma){Kt==null||Kt(Un,ma,Sa)}}),Ea=(0,_e.Z)(Wa,2),Da=Ea[0],ka=Ea[1],ea=(0,ne.useState)(null),ra=(0,_e.Z)(ea,2),na=ra[0],za=ra[1],Ma=ne.useCallback(function(oa,Un,ma){var Zt=Hn.findIndex(function(ia){return ia.id===oa});ka(!0),za({x:Un,y:ma}),Na(Zt<0?0:Zt),qn(!0)},[Hn]);ne.useEffect(function(){Da?Pa||Na(0):qn(!1)},[Da]);var Va=function(Un,ma){Na(Un),Mt==null||Mt(Un,ma)},xa=function(){ka(!1),za(null)},Xa=ne.useMemo(function(){return{register:bn,onPreview:Ma}},[bn,Ma]);return ne.createElement(y.Provider,{value:Xa},Cn,ne.createElement(rt,(0,Te.Z)({"aria-hidden":!Da,movable:Oe,visible:Da,prefixCls:hn,closeIcon:jn,onClose:xa,mousePosition:na,imgCommonProps:Ra,src:ja,fallback:Qt,icons:vt,minScale:bt,maxScale:an,getContainer:Gn,current:Sa,count:Hn.length,countRender:Dn,onTransform:Jt,toolbarRender:Ut,imageRender:It,onChange:Va},En)))},gt=tn,Yt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Fe=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],it=function(be){var qt=be.src,yn=be.alt,hn=be.onPreviewClose,Cn=be.prefixCls,Be=Cn===void 0?"rc-image":Cn,vt=be.previewPrefixCls,Ct=vt===void 0?"".concat(Be,"-preview"):vt,Et=be.placeholder,Qt=be.fallback,jt=be.width,Ht=be.height,Kt=be.style,Gn=be.preview,lt=Gn===void 0?!0:Gn,Oe=be.className,bt=be.onClick,an=be.onError,Dn=be.wrapperClassName,jn=be.wrapperStyle,Mt=be.rootClassName,Jt=(0,pt.Z)(be,Yt),Ut=Et&&Et!==!0,It=(0,st.Z)(lt)==="object"?lt:{},En=It.src,sn=It.visible,In=sn===void 0?void 0:sn,Hn=It.onVisibleChange,bn=Hn===void 0?hn:Hn,wn=It.getContainer,va=wn===void 0?void 0:wn,Sa=It.mask,Na=It.maskClassName,On=It.movable,ya=It.icons,Pa=It.scaleStep,qn=It.minScale,aa=It.maxScale,ja=It.imageRender,Ra=It.toolbarRender,Wa=(0,pt.Z)(It,Fe),Ea=En!=null?En:qt,Da=(0,Xe.Z)(!!In,{value:In,onChange:bn}),ka=(0,_e.Z)(Da,2),ea=ka[0],ra=ka[1],na=x({src:qt,isCustomPlaceholder:Ut,fallback:Qt}),za=(0,_e.Z)(na,3),Ma=za[0],Va=za[1],xa=za[2],Xa=(0,ne.useState)(null),oa=(0,_e.Z)(Xa,2),Un=oa[0],ma=oa[1],Zt=(0,ne.useContext)(y),ia=!!lt,ha=function(){ra(!1),ma(null)},Pn=Ie()(Be,Dn,Mt,(0,Ye.Z)({},"".concat(Be,"-error"),xa==="error")),cn=(0,ne.useMemo)(function(){var $t={};return le.forEach(function(La){be[La]!==void 0&&($t[La]=be[La])}),$t},le.map(function($t){return be[$t]})),Bn=(0,ne.useMemo)(function(){return(0,ye.Z)((0,ye.Z)({},cn),{},{src:Ea})},[Ea,cn]),xn=E(ia,Bn),ba=function(La){var Aa=(0,$e.os)(La.target),wa=Aa.left,Ia=Aa.top;Zt?Zt.onPreview(xn,wa,Ia):(ma({x:wa,y:Ia}),ra(!0)),bt==null||bt(La)};return ne.createElement(ne.Fragment,null,ne.createElement("div",(0,Te.Z)({},Jt,{className:Pn,onClick:ia?ba:bt,style:(0,ye.Z)({width:jt,height:Ht},jn)}),ne.createElement("img",(0,Te.Z)({},cn,{className:Ie()("".concat(Be,"-img"),(0,Ye.Z)({},"".concat(Be,"-img-placeholder"),Et===!0),Oe),style:(0,ye.Z)({height:Ht},Kt),ref:Ma},Va,{width:jt,height:Ht,onError:an})),xa==="loading"&&ne.createElement("div",{"aria-hidden":"true",className:"".concat(Be,"-placeholder")},Et),Sa&&ia&&ne.createElement("div",{className:Ie()("".concat(Be,"-mask"),Na),style:{display:(Kt==null?void 0:Kt.display)==="none"?"none":void 0}},Sa)),!Zt&&ia&&ne.createElement(rt,(0,Te.Z)({"aria-hidden":!ea,visible:ea,prefixCls:Ct,onClose:ha,mousePosition:Un,src:Ea,alt:yn,fallback:Qt,getContainer:va,icons:ya,movable:On,scaleStep:Pa,minScale:qn,maxScale:aa,rootClassName:Mt,imageRender:ja,imgCommonProps:cn,toolbarRender:Ra},Wa)))};it.PreviewGroup=gt,it.displayName="Image";var Pt=it,nn=Pt,zt=oe(62892),Ke=oe(36355),Ue=oe(31724),we=oe(99267),ge=oe(33853),ze=oe(38819),Re={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"},Ee=Re,he=oe(7657),nt=function(be,qt){return ne.createElement(he.Z,(0,Te.Z)({},be,{ref:qt,icon:Ee}))},Me=ne.forwardRef(nt),xe=Me,Ge={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"},wt=Ge,ht=function(be,qt){return ne.createElement(he.Z,(0,Te.Z)({},be,{ref:qt,icon:wt}))},Gt=ne.forwardRef(ht),kt=Gt,Nt={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"},Le=Nt,ot=function(be,qt){return ne.createElement(he.Z,(0,Te.Z)({},be,{ref:qt,icon:Le}))},At=ne.forwardRef(ot),ct=At,yt={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"},on=yt,mn=function(be,qt){return ne.createElement(he.Z,(0,Te.Z)({},be,{ref:qt,icon:on}))},dn=ne.forwardRef(mn),vn=dn,Wn={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"},fn=Wn,Zn=function(be,qt){return ne.createElement(he.Z,(0,Te.Z)({},be,{ref:qt,icon:fn}))},$n=ne.forwardRef(Zn),ta=$n,Mn=oe(64993),ua=oe(73819),Qn=oe(17313),Yn=oe(29878),ca=oe(1950),Ca=oe(83116),ln=oe(37613);const gn=_t=>({position:_t||"absolute",inset:0}),An=_t=>{const{iconCls:be,motionDurationSlow:qt,paddingXXS:yn,marginXXS:hn,prefixCls:Cn,colorTextLightSolid:Be}=_t;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Be,background:new Mn.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${qt}`,[`.${Cn}-mask-info`]:Object.assign(Object.assign({},Qn.vS),{padding:`0 ${yn}px`,[be]:{marginInlineEnd:hn,svg:{verticalAlign:"baseline"}}})}},Sn=_t=>{const{previewCls:be,modalMaskBg:qt,paddingSM:yn,marginXL:hn,margin:Cn,paddingLG:Be,previewOperationColorDisabled:vt,previewOperationHoverColor:Ct,motionDurationSlow:Et,iconCls:Qt,colorTextLightSolid:jt}=_t,Ht=new Mn.C(qt).setAlpha(.1),Kt=Ht.clone().setAlpha(.2);return{[`${be}-footer`]:{position:"fixed",bottom:hn,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:_t.previewOperationColor},[`${be}-progress`]:{marginBottom:Cn},[`${be}-close`]:{position:"fixed",top:hn,right:{_skip_check_:!0,value:hn},display:"flex",color:jt,backgroundColor:Ht.toRgbString(),borderRadius:"50%",padding:yn,outline:0,border:0,cursor:"pointer",transition:`all ${Et}`,"&:hover":{backgroundColor:Kt.toRgbString()},[`& > ${Qt}`]:{fontSize:_t.previewOperationSize}},[`${be}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${Be}px`,backgroundColor:Ht.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:yn,padding:yn,cursor:"pointer",transition:`all ${Et}`,userSelect:"none",[`&:not(${be}-operations-operation-disabled):hover > ${Qt}`]:{color:Ct},"&-disabled":{color:vt,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Qt}`]:{fontSize:_t.previewOperationSize}}}}},Fn=_t=>{const{modalMaskBg:be,iconCls:qt,previewOperationColorDisabled:yn,previewCls:hn,zIndexPopup:Cn,motionDurationSlow:Be}=_t,vt=new Mn.C(be).setAlpha(.1),Ct=vt.clone().setAlpha(.2);return{[`${hn}-switch-left, ${hn}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Cn+1,display:"flex",alignItems:"center",justifyContent:"center",width:_t.imagePreviewSwitchSize,height:_t.imagePreviewSwitchSize,marginTop:-_t.imagePreviewSwitchSize/2,color:_t.previewOperationColor,background:vt.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Be}`,userSelect:"none","&:hover":{background:Ct.toRgbString()},"&-disabled":{"&, &:hover":{color:yn,background:"transparent",cursor:"not-allowed",[`> ${qt}`]:{cursor:"not-allowed"}}},[`> ${qt}`]:{fontSize:_t.previewOperationSize}},[`${hn}-switch-left`]:{insetInlineStart:_t.marginSM},[`${hn}-switch-right`]:{insetInlineEnd:_t.marginSM}}},Kn=_t=>{const{motionEaseOut:be,previewCls:qt,motionDurationSlow:yn,componentCls:hn}=_t;return[{[`${hn}-preview-root`]:{[qt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${qt}-body`]:Object.assign(Object.assign({},gn()),{overflow:"hidden"}),[`${qt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${yn} ${be} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},gn()),{transition:`transform ${yn} ${be} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${qt}-moving`]:{[`${qt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${hn}-preview-root`]:{[`${qt}-wrap`]:{zIndex:_t.zIndexPopup}}},{[`${hn}-preview-operations-wrapper`]:{position:"fixed",zIndex:_t.zIndexPopup+1},"&":[Sn(_t),Fn(_t)]}]},Rn=_t=>{const{componentCls:be}=_t;return{[be]:{position:"relative",display:"inline-block",[`${be}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${be}-img-placeholder`]:{backgroundColor:_t.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${be}-mask`]:Object.assign({},An(_t)),[`${be}-mask:hover`]:{opacity:1},[`${be}-placeholder`]:Object.assign({},gn())}}},at=_t=>{const{previewCls:be}=_t;return{[`${be}-root`]:(0,Yn._y)(_t,"zoom"),"&":(0,ca.J$)(_t,!0)}};var mt=(0,Ca.Z)("Image",_t=>{const be=`${_t.componentCls}-preview`,qt=(0,ln.TS)(_t,{previewCls:be,modalMaskBg:new Mn.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:_t.controlHeightLG});return[Rn(qt),Kn(qt),(0,ua.QA)((0,ln.TS)(qt,{componentCls:be})),at(qt)]},_t=>({zIndexPopup:_t.zIndexPopupBase+80,previewOperationColor:new Mn.C(_t.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Mn.C(_t.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Mn.C(_t.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:_t.fontSizeIcon*1.5})),dt=function(_t,be){var qt={};for(var yn in _t)Object.prototype.hasOwnProperty.call(_t,yn)&&be.indexOf(yn)<0&&(qt[yn]=_t[yn]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,yn=Object.getOwnPropertySymbols(_t);hn{var{previewPrefixCls:be,preview:qt}=_t,yn=dt(_t,["previewPrefixCls","preview"]);const{getPrefixCls:hn}=ne.useContext(Ke.E_),Cn=hn("image",be),Be=`${Cn}-preview`,vt=hn(),[Ct,Et]=mt(Cn),Qt=ne.useMemo(()=>{var jt;if(qt===!1)return qt;const Ht=typeof qt=="object"?qt:{},Kt=Ie()(Et,(jt=Ht.rootClassName)!==null&&jt!==void 0?jt:"");return Object.assign(Object.assign({},Ht),{transitionName:(0,zt.m)(vt,"zoom",Ht.transitionName),maskTransitionName:(0,zt.m)(vt,"fade",Ht.maskTransitionName),rootClassName:Kt})},[qt]);return Ct(ne.createElement(nn.PreviewGroup,Object.assign({preview:Qt,previewPrefixCls:Be,icons:Xt},yn)))},Xn=function(_t,be){var qt={};for(var yn in _t)Object.prototype.hasOwnProperty.call(_t,yn)&&be.indexOf(yn)<0&&(qt[yn]=_t[yn]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,yn=Object.getOwnPropertySymbols(_t);hn{const{prefixCls:be,preview:qt,className:yn,rootClassName:hn,style:Cn}=_t,Be=Xn(_t,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:vt,locale:Ct=Ue.Z,getPopupContainer:Et,image:Qt}=ne.useContext(Ke.E_),jt=vt("image",be),Ht=vt(),Kt=Ct.Image||Ue.Z.Image,[Gn,lt]=mt(jt),Oe=Ie()(hn,lt),bt=Ie()(yn,lt,Qt==null?void 0:Qt.className),an=ne.useMemo(()=>{if(qt===!1)return qt;const jn=typeof qt=="object"?qt:{},{getContainer:Mt}=jn,Jt=Xn(jn,["getContainer"]);return Object.assign(Object.assign({mask:ne.createElement("div",{className:`${jt}-mask-info`},ne.createElement(Je.Z,null),Kt==null?void 0:Kt.preview),icons:Xt},Jt),{getContainer:Mt||Et,transitionName:(0,zt.m)(Ht,"zoom",jn.transitionName),maskTransitionName:(0,zt.m)(Ht,"fade",jn.maskTransitionName)})},[qt,Kt]),Dn=Object.assign(Object.assign({},Qt==null?void 0:Qt.style),Cn);return Gn(ne.createElement(nn,Object.assign({prefixCls:jt,preview:an,rootClassName:Oe,className:bt,style:Dn},Be)))};kn.PreviewGroup=rn;var pn=kn,Vn=()=>{const[_t,be]=(0,ne.useState)(""),[qt,yn]=(0,ne.useState)(0);let[hn,Cn]=(0,ne.useState)(),[Be,vt]=(0,ne.useState)();const[Ct,Et]=(0,ne.useState)(!1),Qt=(0,ne.useRef)("");(0,ne.useEffect)(()=>ve.Z.subscribe("preview-image",Mt=>{be(Mt),console.log(an.current),document.body.style.overflow="hidden"}),[]),(0,ne.useEffect)(()=>(document.addEventListener("keydown",jt),()=>{document.removeEventListener("keydown",jt)}),[]),(0,ne.useEffect)(()=>{Qt.current=_t},[_t]);function jt(jn){jn.keyCode==27&&Qt.current&&Ht()}function Ht(){document.body.style.overflow="auto",Cn(void 0),vt(void 0),yn(0),be("")}function Kt(){yn(qt+90)}function Gn(){hn=an.current.width*1.1,Be=an.current.height*1.1,vt(Be),Cn(hn)}function lt(){hn=an.current.width/1.1,Be=an.current.height/1.1,vt(Be),Cn(hn)}const Oe=(0,ne.useRef)(),bt=(0,ne.useRef)(),an=(0,ne.useRef)(),Dn=jn=>{(jn.nativeEvent.target===Oe.current||jn.nativeEvent.target===bt.current)&&Ht()};return ne.createElement(ne.Fragment,null,_t?ne.createElement("div",null,ne.createElement("div",{className:"preview-wrp-group",ref:bt},ne.createElement(pn,{className:"image-preview",src:_t,style:{display:"none"},preview:{visible:!0,src:_t,movable:!1,onVisibleChange:jn=>{be("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},73278:function(xt,Tt,oe){"use strict";oe.d(Tt,{h:function(){return ae}});var ne=oe(59301),ve=oe(57809),Je=oe(78241),Ne=oe(3113),Ie=oe(89780),Te=oe.n(Ie),ye=oe(78780),Ye=oe(19136),_e=Object.defineProperty,st=Object.defineProperties,pt=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,y=(ie,ue,de)=>ue in ie?_e(ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:de}):ie[ue]=de,a=(ie,ue)=>{for(var de in ue||(ue={}))Xe.call(ue,de)&&y(ie,de,ue[de]);if($e)for(var de of $e(ue))le.call(ue,de)&&y(ie,de,ue[de]);return ie},E=(ie,ue)=>st(ie,pt(ue));const b=ve.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},te={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"]};Tt.Z=({callback:ie,onCancel:ue})=>{const[de,fe]=(0,ne.useState)("python");function Ce(je){fe(te[je][1])}function Pe(je){ie(je)}return ne.createElement(Je.default,E(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Pe,style:{width:500}}),ne.createElement(Je.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ne.createElement(ve.default,{getPopupContainer:je=>je.parentNode,onChange:Ce},Object.keys(te).map(je=>ne.createElement(b,{key:je,value:je},te[je][0])))),ne.createElement(Je.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ne.createElement(ae,{mode:de})),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(Ne.ZP,{type:"ghost",onClick:ue},"\u53D6\u6D88")))};function ae({value:ie,onChange:ue,mode:de,options:fe={}}){const Ce=(0,ne.useRef)(),[Pe,je]=(0,ne.useState)();return(0,ne.useEffect)(()=>{if(Pe){let Se=function(Qe){const Bt=Qe.getValue();ue&&ue(Bt)};return Pe.on("change",Se),()=>{Pe.off("change",Se)}}},[Pe,ue]),(0,ne.useEffect)(()=>{Pe&&Pe.setOption("mode",de)},[Pe,de]),(0,ne.useEffect)(()=>{Pe&&(ie!==Pe.getValue()||ie==="")&&setTimeout(()=>{Pe.setValue(ie||"")},300)},[Pe,ie]),(0,ne.useEffect)(()=>{if(Ce.current&&!Pe){const Se=Te().fromTextArea(Ce.current,a({mode:de,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},fe));je(Se)}},[Ce.current,Pe]),ne.createElement("div",{className:"my-codemirror-container"},ne.createElement("textarea",{ref:Ce}))}},64726:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Rn}});var ne=oe(59301),ve=oe(89780),Je=oe.n(ve),Ne=oe(76374),Ie=oe(78780),Te=oe(6313),ye=oe(25717),Ye=oe(99498),_e=oe(25419),st=oe(67549),pt=oe(99325),$e=({value:at="",className:mt,showTextOnly:dt,showLines:Xt,style:un={}})=>{const rn=(0,ne.useMemo)(()=>"",[at]);return ne.createElement(ne.Fragment,null,ne.createElement("div",{dangerouslySetInnerHTML:{__html:rn}}))},Xe=oe(59301),le=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,te=(at,mt,dt)=>mt in at?le(at,mt,{enumerable:!0,configurable:!0,writable:!0,value:dt}):at[mt]=dt,ae=(at,mt)=>{for(var dt in mt||(mt={}))b.call(mt,dt)&&te(at,dt,mt[dt]);if(E)for(var dt of E(mt))x.call(mt,dt)&&te(at,dt,mt[dt]);return at},ie=(at,mt)=>y(at,a(mt));let ue=[{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\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",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 de({onActionCallback:at,title:mt,icon:dt,actionName:Xt,className:un="",children:rn}){function Xn(){at(Xt)}return Xe.createElement("a",{title:mt,className:un,onClick:Xn},Xe.createElement("i",{className:`${dt}`}),rn)}var fe=({watch:at,showNullButton:mt,showNullProgramButton:dt,onActionCallback:Xt,fullScreen:un,insertTemp:rn,hidetoolBar:Xn,extraUse:kn})=>{const pn=[...ue,{title:`${at?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${at?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Xe.createElement("ul",{className:"markdown-toolbar-container"},!Xn&&pn.map((Vn,_t)=>Xe.createElement("li",{key:_t},Vn.actionName?Xe.createElement(de,ie(ae({},Vn),{onActionCallback:Xt})):Xe.createElement("span",{className:"v-line"}))),mt?Xe.createElement("li",null,Xe.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Xt},Xe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,dt?Xe.createElement(Xe.Fragment,null,Xe.createElement("li",null,Xe.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Xt},Xe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Xe.createElement("li",null,Xe.createElement(de,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Xt},Xe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,rn&&Xe.createElement("li",null,Xe.createElement(de,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${rn}`,onActionCallback:Xt},Xe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),kn&&Xe.createElement("li",null,kn),Xe.createElement("li",{className:"btn-full-screen"},Xe.createElement(de,{icon:`${un?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:un?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Xt})))},Ce=oe(19647),Pe=oe(78241),je=oe(92832),Se=oe(3113),Qe=Object.defineProperty,Bt=Object.defineProperties,Ot=Object.getOwnPropertyDescriptors,Ve=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,Vt=(at,mt,dt)=>mt in at?Qe(at,mt,{enumerable:!0,configurable:!0,writable:!0,value:dt}):at[mt]=dt,Rt=(at,mt)=>{for(var dt in mt||(mt={}))ft.call(mt,dt)&&Vt(at,dt,mt[dt]);if(Ve)for(var dt of Ve(mt))Dt.call(mt,dt)&&Vt(at,dt,mt[dt]);return at},St=(at,mt)=>Bt(at,Ot(mt));const ke={labelCol:{span:4},wrapperCol:{span:20}};var rt=({callback:at,onCancel:mt})=>{function dt(Xt){at(Xt)}return ne.createElement(Pe.default,St(Rt({},ke),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:dt,style:{width:500}}),ne.createElement(Pe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ne.createElement(je.default,null)),ne.createElement(Pe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ne.createElement(je.default,null)),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(Se.ZP,{type:"ghost",onClick:mt},"\u53D6\u6D88")))},Lt=oe(73278),De=oe(56030),tt=oe(43418),Ft=oe(95237),tn=oe(14573),gt=oe(59301),Yt=({callback:at,onCancel:mt})=>{const dt=document.createElement("canvas"),Xt=dt.getContext("2d");dt.width=1e3,dt.height=800,Xt.fillStyle="#ffffff",Xt.fillRect(0,0,dt.width,dt.height);const un=dt.toDataURL("image/png");return gt.createElement(tt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},gt.createElement(Ft.Z,{style:{height:"100vh"}},gt.createElement(tn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:un,visible:!0,title:String(Date.now())},onOk:rn=>{at({src:rn.url})},onClose:mt})))},Fe=oe(12378);function it(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(it,go.CommandHandler),it.prototype.canAlignSelection=function(){var at=this.diagram;return!(at===null||at.isReadOnly||at.isModelReadOnly||at.selection.count<2)},it.prototype.alignLeft=function(){var at=this.diagram;at.startTransaction("aligning left");var mt=1/0;at.selection.each(function(dt){dt instanceof go.Link||(mt=Math.min(dt.position.x,mt))}),at.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(mt,dt.position.y))}),at.commitTransaction("aligning left")},it.prototype.alignRight=function(){var at=this.diagram;at.startTransaction("aligning right");var mt=-1/0;at.selection.each(function(dt){if(!(dt instanceof go.Link)){var Xt=dt.actualBounds.x+dt.actualBounds.width;mt=Math.max(Xt,mt)}}),at.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(mt-dt.actualBounds.width,dt.position.y))}),at.commitTransaction("aligning right")},it.prototype.alignTop=function(){var at=this.diagram;at.startTransaction("alignTop");var mt=1/0;at.selection.each(function(dt){dt instanceof go.Link||(mt=Math.min(dt.position.y,mt))}),at.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.position.x,mt))}),at.commitTransaction("alignTop")},it.prototype.alignBottom=function(){var at=this.diagram;at.startTransaction("aligning bottom");var mt=-1/0;at.selection.each(function(dt){if(!(dt instanceof go.Link)){var Xt=dt.actualBounds.y+dt.actualBounds.height;mt=Math.max(Xt,mt)}}),at.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.actualBounds.x,mt-dt.actualBounds.height))}),at.commitTransaction("aligning bottom")},it.prototype.alignCenterX=function(){var at=this.diagram,mt=at.selection.first();if(mt){at.startTransaction("aligning Center X");var dt=mt.actualBounds.x+mt.actualBounds.width/2;at.selection.each(function(Xt){Xt instanceof go.Link||Xt.move(new go.Point(dt-Xt.actualBounds.width/2,Xt.actualBounds.y))}),at.commitTransaction("aligning Center X")}},it.prototype.alignCenterY=function(){var at=this.diagram,mt=at.selection.first();if(mt){at.startTransaction("aligning Center Y");var dt=mt.actualBounds.y+mt.actualBounds.height/2;at.selection.each(function(Xt){Xt instanceof go.Link||Xt.move(new go.Point(Xt.actualBounds.x,dt-Xt.actualBounds.height/2))}),at.commitTransaction("aligning Center Y")}},it.prototype.alignColumn=function(at){var mt=this.diagram;mt.startTransaction("align Column"),at===void 0&&(at=0),at=parseFloat(at);var dt=new Array;mt.selection.each(function(kn){kn instanceof go.Link||dt.push(kn)});for(var Xt=0;Xt0){for(var kn=rn.elt(Xn-1);kn!==null&&kn.isTreeExpanded&&!kn.isTreeLeaf;){var pn=this._sortTreeChildrenByY(kn);kn=pn.last()}kn!==null&&at.select(kn)}else at.select(un)}}else if(dt.key==="Down")if(mt.isTreeExpanded&&!mt.isTreeLeaf){var Xt=this._sortTreeChildrenByY(mt).first();Xt!==null&&at.select(Xt)}else for(;mt!==null;){var un=mt.findTreeParentNode();if(un===null)break;var rn=this._sortTreeChildrenByY(un),Xn=rn.indexOf(mt);if(Xnrn.y?1:un.xrn.x?1:0}),mt},it.prototype.copyToClipboard=function(at){go.CommandHandler.prototype.copyToClipboard.call(this,at),this._lastPasteOffset.set(this.pasteOffset)},it.prototype.pasteFromClipboard=function(){var at=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(at,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),at},Object.defineProperty(it.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(at){if(at!=="move"&&at!=="select"&&at!=="scroll"&&at!=="tree"&&at!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+at);this._arrowKeyBehavior=at}}),Object.defineProperty(it.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(at){if(!(at instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+at);this._pasteOffset.set(at)}});var Pt=it,nn=oe(29277),zt=oe(43604),Ke=oe(7660),Ue={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},we=oe(59301),ge=(at,mt,dt)=>new Promise((Xt,un)=>{var rn=pn=>{try{kn(dt.next(pn))}catch(Vn){un(Vn)}},Xn=pn=>{try{kn(dt.throw(pn))}catch(Vn){un(Vn)}},kn=pn=>pn.done?Xt(pn.value):Promise.resolve(pn.value).then(rn,Xn);kn((dt=dt.apply(at,mt)).next())});function ze({onCancel:at,callback:mt}){let dt=(0,ne.useRef)(),Xt=(0,ne.useRef)(),un=(0,ne.useRef)(),rn=(0,ne.useRef)(!1);const Xn=(0,ne.useRef)(!1),[kn,pn]=(0,ne.useState)(0);function Vn(){const be=Fe.bx.make,qt={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};dt.current=new Fe.S0(Xt.current,{padding:20,grid:be(Fe.s_,"Grid",be(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),be(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Mt=>{var Jt=Mt.diagram.commandHandler.addTopLevelParts(Mt.diagram.selection,!0);Jt||Mt.diagram.currentTool.doCancel()},commandHandler:be(Pt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Mt=>{var Jt=Mt.subject;Jt.location=Jt.location.copy().snapToGridPoint(Mt.diagram.grid.gridOrigin,Mt.diagram.grid.gridCellSize),setTimeout(()=>{Mt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Mt=>{var Jt=Mt.subject;setTimeout(()=>{Mt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Mt=>{var Jt=Mt.parameter.part;Jt.invalidateConnectedLinks();var Ut=Mt.subject;Mt.diagram.toolManager.linkingTool.isForwards?Ut.toNode.invalidateConnectedLinks():Ut.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),dt.current.nodeTemplate=be(Fe.NB,"Auto",{locationSpot:Fe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Fe.$u(120,60),minSize:new Fe.$u(40,40),resizable:!0,resizeCellSize:new Fe.$u(10,10),rotatable:!0},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),new Fe.KX("desiredSize","size",Fe.$u.parse).makeTwoWay(Fe.$u.stringify),be(Fe.bn,{name:"SHAPE",fill:qt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Fe.z6.AllSides,toSpot:Fe.z6.AllSides},new Fe.KX("figure"),new Fe.KX("fill"),new Fe.KX("stroke","borderColor"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),be(Fe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),be(Fe.al,{margin:1,textAlign:"center",overflow:Fe.al.OverflowEllipsis,editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),dt.current.nodeTemplate.toolTip=be("ToolTip",be(Fe.s_,"Vertical",{maxSize:new Fe.$u(200,NaN)},be(Fe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Fe.KX("text")),be(Fe.al,{font:"10pt sans-serif",textAlign:"center"},new Fe.KX("text","details"))));function yn(Mt,Jt){var Ut=(It,En)=>{It.handled=!0,It.diagram.model.commit(sn=>{var In=En.part.adornedPart,Hn=new Fe.E9().setRectSpot(In.actualBounds,Mt);Hn.subtract(In.location),Hn.scale(2,2),Hn.x+=Math.sign(Hn.x)*130,Hn.y+=Math.sign(Hn.y)*130,Hn.add(In.location),Hn.snapToGridPoint(It.diagram.grid.gridOrigin,It.diagram.grid.gridCellSize);var bn=sn.copyNodeData(In.data);sn.setGroupKeyForNodeData(bn,sn.getGroupKeyForNodeData(In.data)),sn.addNodeData(bn);var wn={from:In.key,to:sn.getKeyForNodeData(bn)};sn.addLinkData(wn);var va=It.diagram.findNodeForData(bn);va.location=Hn,It.diagram.select(va),setTimeout(()=>{It.diagram.commandHandler.editTextBlock()},20)})};return be(Fe.bn,{figure:Jt,alignment:Mt,alignmentFocus:Mt.opposite(),width:Mt.equals(Fe.z6.Top)||Mt.equals(Fe.z6.Bottom)?25:18,height:Mt.equals(Fe.z6.Top)||Mt.equals(Fe.z6.Bottom)?18:25,fill:"orange",stroke:qt.white,strokeWidth:4,mouseEnter:(It,En)=>En.fill="dodgerblue",mouseLeave:(It,En)=>En.fill="orange",isActionable:!0,click:Ut,contextClick:Ut})}function hn(Mt){return be(Fe.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Jt,Ut)=>Ut.fill="dodgerblue",mouseLeave:(Jt,Ut)=>Ut.fill="orange",click:(Jt,Ut)=>{Jt.diagram.commandHandler.showContextMenu(Ut.part.adornedPart)}},Mt||{})}dt.current.nodeTemplate.selectionAdornmentTemplate=be(Fe.uz,"Spot",be(Fe.Vm,{padding:10}),yn(Fe.z6.Top,"TriangleUp"),yn(Fe.z6.Left,"TriangleLeft"),yn(Fe.z6.Right,"TriangleRight"),yn(Fe.z6.Bottom,"TriangleDown"),hn({alignment:new Fe.z6(.75,0)}));function Cn(Mt,Jt){return(Ut,It)=>{Ut.handled=!0,Ut.diagram.model.commit(En=>{En.set(It.part.adornedPart.data,Mt,Jt)})}}function Be(Mt,Jt){return Jt||(Jt="color"),be(Fe.bn,{width:16,height:16,stroke:"lightgray",fill:Mt,margin:1,background:"transparent",mouseEnter:(Ut,It)=>It.stroke="dodgerblue",mouseLeave:(Ut,It)=>It.stroke="lightgray",click:Cn(Jt,Mt),contextClick:Cn(Jt,Mt)})}function vt(){return[be("ContextMenuButton",be(Fe.s_,"Horizontal",Be(qt.white,"fill"),Be(qt.beige,"fill"),Be(qt.extralightblue,"fill"),Be(qt.extralightred,"fill"))),be("ContextMenuButton",be(Fe.s_,"Horizontal",Be(qt.lightgray,"fill"),Be(qt.lightgreen,"fill"),Be(qt.lightblue,"fill"),Be(qt.lightred,"fill")))]}function Ct(){return[be("ContextMenuButton",be(Fe.s_,"Horizontal",Be(qt.black),Be(qt.green),Be(qt.blue),Be(qt.red))),be("ContextMenuButton",be(Fe.s_,"Horizontal",Be(qt.white),Be(qt.magenta),Be(qt.purple),Be(qt.orange)))]}function Et(Mt,Jt){return Jt||(Jt="thickness"),be(Fe.bn,"LineH",{width:16,height:16,strokeWidth:Mt,margin:1,background:"transparent",mouseEnter:(Ut,It)=>It.background="dodgerblue",mouseLeave:(Ut,It)=>It.background="transparent",click:Cn(Jt,Mt),contextClick:Cn(Jt,Mt)})}function Qt(Mt,Jt){return Jt||(Jt="dash"),be(Fe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Mt,margin:1,background:"transparent",mouseEnter:(Ut,It)=>It.background="dodgerblue",mouseLeave:(Ut,It)=>It.background="transparent",click:Cn(Jt,Mt),contextClick:Cn(Jt,Mt)})}function jt(){return[be("ContextMenuButton",be(Fe.s_,"Horizontal",Et(1),Et(2),Et(3),Et(4))),be("ContextMenuButton",be(Fe.s_,"Horizontal",Qt(null),Qt([2,4]),Qt([4,4])))]}function Ht(Mt,Jt){return Jt||(Jt="figure"),be(Fe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Mt,margin:1,background:"transparent",mouseEnter:(Ut,It)=>It.fill="dodgerblue",mouseLeave:(Ut,It)=>It.fill="lightgray",click:Cn(Jt,Mt),contextClick:Cn(Jt,Mt)})}dt.current.nodeTemplate.contextMenu=be("ContextMenu",be("ContextMenuButton",be(Fe.s_,"Horizontal",Ht("Rectangle"),Ht("RoundedRectangle"),Ht("Ellipse"),Ht("Diamond"))),be("ContextMenuButton",be(Fe.s_,"Horizontal",Ht("Parallelogram2"),Ht("ManualOperation"),Ht("Procedure"),Ht("Cylinder1"))),be("ContextMenuButton",be(Fe.s_,"Horizontal",Ht("Terminator"),Ht("CreateRequest"),Ht("Document"),Ht("TriangleDown"))),vt(),Ct(),jt()),dt.current.groupTemplate=be(Fe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Fe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Mt,Jt)=>{var Ut=Jt.addMembers(Jt.diagram.selection,!0);Ut||Jt.diagram.currentTool.doCancel()},avoidable:!1},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),be(Fe.s_,"Auto",{name:"BODY"},be(Fe.bn,{parameter1:10,fill:qt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Fe.z6.AllSides,toSpot:Fe.z6.AllSides},new Fe.KX("fill"),new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),be(Fe.Vm,{background:"transparent",margin:20})),be(Fe.al,{alignment:Fe.z6.Top,alignmentFocus:Fe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Fe.KX("text"),new Fe.KX("stroke","color"))),dt.current.groupTemplate.selectionAdornmentTemplate=be(Fe.uz,"Spot",be(Fe.s_,"Auto",be(Fe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),be(Fe.Vm,{margin:1.5})),hn({alignment:Fe.z6.TopRight,alignmentFocus:Fe.z6.BottomRight})),dt.current.groupTemplate.contextMenu=be("ContextMenu",vt(),Ct(),jt()),dt.current.linkTemplate=be(Fe.rU,{layerName:"Foreground",routing:Fe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Fe.KX("fromSpot","fromSpot",Fe.z6.parse),new Fe.KX("toSpot","toSpot",Fe.z6.parse),new Fe.KX("fromShortLength","dir",Mt=>Mt>=1?10:0),new Fe.KX("toShortLength","dir",Mt=>Mt>=1?10:0),new Fe.KX("points").makeTwoWay(),be(Fe.bn,{strokeWidth:2},new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),be(Fe.bn,{segmentIndex:0,segmentOffset:new Fe.E9(15,0),segmentOrientation:Fe.rU.OrientAlong,alignmentFocus:Fe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",Mt=>Mt===1)),be(Fe.bn,{segmentIndex:-1,segmentOffset:new Fe.E9(-10,6),segmentOrientation:Fe.rU.OrientPlus90,alignmentFocus:Fe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",Mt=>Mt>=1),new Fe.KX("width","thickness",Mt=>7+3*Mt),new Fe.KX("height","thickness",Mt=>7+3*Mt),new Fe.KX("segmentOffset","thickness",Mt=>new Fe.E9(-15,4+1.5*Mt))),be(Fe.bn,{segmentIndex:0,segmentOffset:new Fe.E9(15,-6),segmentOrientation:Fe.rU.OrientMinus90,alignmentFocus:Fe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",Mt=>Mt===2),new Fe.KX("width","thickness",Mt=>7+3*Mt),new Fe.KX("height","thickness",Mt=>7+3*Mt),new Fe.KX("segmentOffset","thickness",Mt=>new Fe.E9(-15,4+1.5*Mt))),be(Fe.al,{alignmentFocus:new Fe.z6(0,1,-4,0),editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),dt.current.linkTemplate.selectionAdornmentTemplate=be(Fe.uz,be(Fe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Kt(2)},new Fe.KX("pathPattern","thickness",Kt)),hn({alignmentFocus:new Fe.z6(0,0,-6,-4)}));function Kt(Mt){return be(Fe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Mt+4).toString()+" H3"})}function Gn(Mt){var Jt="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Mt===0?Jt="M0 0 M16 16 M0 8 L16 8":Mt===2&&(Jt="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),be(Fe.bn,{geometryString:Jt,margin:2,background:"transparent",mouseEnter:(Ut,It)=>It.background="dodgerblue",mouseLeave:(Ut,It)=>It.background="transparent",click:Cn("dir",Mt),contextClick:Cn("dir",Mt)})}function lt(Mt){var Jt=(Ut,It)=>{Ut.handled=!0,Ut.diagram.model.commit(En=>{var sn=It.part.adornedPart;En.set(sn.data,Mt?"toSpot":"fromSpot",Fe.z6.stringify(Fe.z6.AllSides)),(Mt?sn.toNode:sn.fromNode).invalidateConnectedLinks()})};return be(Fe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ut,It)=>It.background="dodgerblue",mouseLeave:(Ut,It)=>It.background="transparent",click:Jt,contextClick:Jt})}function Oe(Mt,Jt){var Ut=0,It=Fe.z6.RightSide;Mt.equals(Fe.z6.Top)?(Ut=270,It=Fe.z6.TopSide):Mt.equals(Fe.z6.Left)?(Ut=180,It=Fe.z6.LeftSide):Mt.equals(Fe.z6.Bottom)&&(Ut=90,It=Fe.z6.BottomSide),Jt||(Ut-=180);var En=(sn,In)=>{sn.handled=!0,sn.diagram.model.commit(Hn=>{var bn=In.part.adornedPart;Hn.set(bn.data,Jt?"toSpot":"fromSpot",Fe.z6.stringify(It)),(Jt?bn.toNode:bn.fromNode).invalidateConnectedLinks()})};return be(Fe.bn,{alignment:Mt,alignmentFocus:Mt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ut,background:"transparent",mouseEnter:(sn,In)=>In.background="dodgerblue",mouseLeave:(sn,In)=>In.background="transparent",click:En,contextClick:En})}dt.current.linkTemplate.contextMenu=be("ContextMenu",Ct(),jt(),be("ContextMenuButton",be(Fe.s_,"Horizontal",Gn(0),Gn(1),Gn(2))),be("ContextMenuButton",be(Fe.s_,"Horizontal",be(Fe.s_,"Spot",lt(!1),Oe(Fe.z6.Top,!1),Oe(Fe.z6.Left,!1),Oe(Fe.z6.Right,!1),Oe(Fe.z6.Bottom,!1)),be(Fe.s_,"Spot",{margin:new Fe.Zt(0,0,0,2)},lt(!0),Oe(Fe.z6.Top,!0),Oe(Fe.z6.Left,!0),Oe(Fe.z6.Right,!0),Oe(Fe.z6.Bottom,!0)))));const bt=`{ "class": "GraphLinksModel", + "nodeDataArray": [ +{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, +{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, +{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"}, +{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"}, +{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"}, +{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3}, +{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, +{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, +{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"} +], + "linkDataArray": [ +{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1}, +{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1}, +{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]}, +{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2}, +{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, +{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, +{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} +]}`;var an=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Dn(Mt){return console.log("shapeName:",Mt),an.indexOf(Mt)>=0}var jn=new Fe.YI(un.current,{maxSelectionCount:1,linkTemplate:be(Fe.rU,{locationSpot:Fe.z6.Center,selectionAdornmentTemplate:be(Fe.uz,"Link",{locationSpot:Fe.z6.Center},be(Fe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),be(Fe.bn,{toArrow:"Standard",stroke:null}))},{routing:Fe.rU.AvoidsNodes,curve:Fe.rU.JumpOver,corner:5,toShortLength:4},new Fe.KX("points"),be(Fe.bn,{isPanelMain:!0,strokeWidth:2}),be(Fe.bn,{toArrow:"Standard",stroke:null})),model:new Fe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Fe.bn.getFigureGenerators().toArray().map(Mt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Mt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return dt.current.addDiagramListener("TextEdited",function(Mt){var Jt;const Ut=Mt.subject.part;var It=(Jt=document.activeElement)==null?void 0:Jt.value;typeof It=="string"&&It.trim()===""&&dt.current.model.commit(function(En){En.set(Ut.data,"text","\u672A\u547D\u540D"),dt.current.commandHandler.stopCommand()},"increment")}),jn.nodeTemplate=be(Fe.NB,"Auto",{locationSpot:Fe.z6.Center},new Fe.KX("location","location",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),be(Fe.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Fe.KX("stroke").makeTwoWay(),new Fe.KX("fill").makeTwoWay(),new Fe.KX("figure")),be(Fe.al,{margin:new Fe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Fe.$u(16,16),maxSize:new Fe.$u(10,NaN),textAlign:"center",editable:!0},new Fe.KX("key").makeTwoWay())),setTimeout(()=>{dt.current.grid=be(Fe.s_,"Grid",be(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),be(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),dt.current.grid.visible=!0,dt.current.grid.gridCellStroke="darkgray",dt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=dt.current,dt.current}const _t=()=>ge(this,null,function*(){var be=dt.current.makeImage();const qt=yield(0,Ke.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:be.src}});mt({src:qt.url})});return(0,ne.useEffect)(()=>(setTimeout(()=>{Vn()},500),pn(kn+1),()=>{dt.current=null}),[]),we.createElement("div",{ref:Xn,className:rn.current?`${Ue.maxH60} body-overflow-initial`:"body-overflow-initial"},we.createElement(tt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!kn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:we.createElement(Ft.Z,null,we.createElement(zt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),we.createElement(zt.Z,{onClick:()=>{var be,qt,yn=dt.current.selection.first();if(rn.current=!rn.current,document.activeElement&&yn){let hn=(qt=(be=document.activeElement)==null?void 0:be.value)==null?void 0:qt.trim();typeof hn=="string"&&dt.current.model.commit(function(Cn){Cn.set(yn.data,"text",hn||"\u672A\u547D\u540D"),dt.current.commandHandler.stopCommand()},"increment")}pn(kn+1)}},we.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:at},we.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ue.flowChartWrp},we.createElement("div",{style:{display:"flex",height:"100%"}},we.createElement("div",{style:{width:"300px",height:"100%"}},we.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),we.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ue.myPaletteDiv,ref:un})),we.createElement("div",{style:{flex:1,position:"relative"}},we.createElement("div",{ref:Xt,style:{height:"80vh"}}))),we.createElement("div",{className:"tr"},we.createElement(Se.ZP,{size:"large",onClick:_t,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Re=ze,Ee=oe(5112),he=oe(5871);const nt=Ee.ZP.Group,Me={margin:"0 8px"};var xe=({callback:at,onCancel:mt})=>{function dt(Xt){at(Xt)}return ne.createElement(Pe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:dt},ne.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ne.createElement("span",{style:Me},"\u5355\u5143\u683C\u6570\uFF1A"),ne.createElement("span",{style:Me},"\u884C\u6570"),ne.createElement(Pe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ne.createElement(he.Z,null)),ne.createElement("span",{style:Me},"\u5217\u6570"),ne.createElement(Pe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ne.createElement(he.Z,null))),ne.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ne.createElement("span",{style:Me},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ne.createElement(Pe.default.Item,{name:"align"},ne.createElement(nt,null,ne.createElement(Ee.ZP,{value:"default"},ne.createElement("i",{className:"fa fa-align-justify"})),ne.createElement(Ee.ZP,{value:"left"},ne.createElement("i",{className:"fa fa-align-left"})),ne.createElement(Ee.ZP,{value:"center"},ne.createElement("i",{className:"fa fa-align-center"})),ne.createElement(Ee.ZP,{value:"right"},ne.createElement("i",{className:"fa fa-align-right"}))))),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(Se.ZP,{type:"ghost",onClick:mt},"\u53D6\u6D88")))},Ge=oe(78673),wt=oe(5559),ht=oe.n(wt),kt=(0,ne.forwardRef)(({use3d:at,width:mt,height:dt,callback:Xt,showSaveButton:un},rn)=>{const Xn=(0,ne.useRef)(),kn=(0,ne.useRef)(),[pn,Vn]=(0,ne.useState)(!1),_t=(0,ne.useRef)({id:Xn,appName:"graphing",width:mt||1e3,height:dt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ne.useEffect)(()=>{kn.current=new(ht())(_t.current,!0),window.onload=function(){kn.current.inject("applet_container")}},[]);const be=()=>{var qt=window.ggbApplet.getPNGBase64(1,!0,72);return Xt&&Xt(qt),qt};return(0,ne.useEffect)(()=>{_t.current.appName=pn?"3D":"graphing",kn.current.inject("applet_container")},[pn]),(0,ne.useEffect)(()=>{Vn(at)},[at]),(0,ne.useImperativeHandle)(rn,()=>({getImgData:be})),ne.createElement(ne.Fragment,null,ne.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Xn}),ne.createElement(Ft.Z,{align:"middle"},ne.createElement(zt.Z,{flex:1},ne.createElement(Ge.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:pn,onChange:qt=>Vn(qt)})),ne.createElement(zt.Z,null,ne.createElement(Se.ZP,{size:"large",onClick:be,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Nt=oe(46531),Le=oe(1012),ot=oe(8591);const At="link",ct="upload-image",yt="add-flowchart",on="draw-image",mn="add-flowchart",dn="code-block",vn="add-table",Wn="------------",fn={default:Wn,left:`:${Wn}`,center:`:${Wn}:`,right:`${Wn}:`};var Zn=oe(50505),$n=(at,mt,dt)=>new Promise((Xt,un)=>{var rn=pn=>{try{kn(dt.next(pn))}catch(Vn){un(Vn)}},Xn=pn=>{try{kn(dt.throw(pn))}catch(Vn){un(Vn)}},kn=pn=>pn.done?Xt(pn.value):Promise.resolve(pn.value).then(rn,Xn);kn((dt=dt.apply(at,mt)).next())});function ta(){}let Mn=0;const ua=1e4,Qn="\u2581",Yn="@\u2581\u2581@",ca="@\u2581@",Ca=` +**\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`,ln=["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 gn(at){return/^\d+$/.test(at)?`${at}px`:at}const Sn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Fn={[Sn+"-B"]:"bold",[Sn+"-I"]:"italic"},Kn={[At]:"\u6DFB\u52A0\u94FE\u63A5",[dn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[ct]:"\u6DFB\u52A0\u56FE\u7247",[on]:"\u6DFB\u52A0\u753B\u56FE",[yt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[vn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Rn=({defaultValue:at="",onChange:mt,width:dt="100%",height:Xt=400,miniToolbar:un=!1,isFocus:rn=!1,watch:Xn,insertTemp:kn,mode:pn="markdown",id:Vn="markdown-editor-id",showResizeBar:_t=!1,noStorage:be=!1,showNullButton:qt=!1,showNullProgramButton:yn=!1,hidetoolBar:hn=!1,fullScreen:Cn=!1,onBlur:Be,onCMBeforeChange:vt,onFullScreen:Ct,className:Et="",disablePaste:Qt=!1,disabled:jt=!1,disabledFill:Ht=!1,placeholder:Kt="",values:Gn="",extraUse:lt})=>{const[Oe,bt]=(0,ne.useState)(null),[an,Dn]=(0,ne.useState)(at),[jn,Mt]=(0,ne.useState)(Xn),[Jt,Ut]=(0,ne.useState)(Cn),[It,En]=(0,ne.useState)(""),[sn,In]=(0,ne.useState)(0),[Hn,bn]=(0,ne.useState)(Xt),[wn,va]=(0,ne.useState)(!1),Sa=(0,ne.useRef)((0,Le.Z)()),Na=(0,ne.useRef)(!1),On=(0,ne.useRef)(),[ya,Pa]=(0,ne.useState)(0),[qn,aa]=(0,ne.useState)(0),ja=(0,ne.useRef)(),Ra=(0,ne.useRef)(),Wa=(0,ne.useRef)(),Ea=(0,ne.useRef)(),Da=()=>$n(void 0,null,function*(){var Pn;const cn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Sa.current}});(Pn=cn==null?void 0:cn.attachments)!=null&&Pn.length&&(console.log("cm:",Oe,ja),cn.attachments.map(Bn=>{Bn.content_type.indexOf("image")>-1?Oe.replaceSelection(`![,](/api/attachments/${Bn.id}?type=${Bn.content_type})`):Bn.content_type.indexOf("video")>-1?Oe.replaceSelection(``):Bn.content_type.indexOf("pdf")>-1?Oe.replaceSelection(`${Bn.name}`):Oe.replaceSelection(`[${Bn.name}](${ENV.API_SERVER}/api/attachments/${Bn.id}?type=${Bn.content_type})`)}))});(0,ne.useEffect)(()=>{const Pn=window.scrollY||window.pageYOffset;Dn(Gn),Oe==null||Oe.setValue(Gn),window.scrollTo(0,Pn)},[Gn]),(0,ne.useEffect)(()=>{Ct==null||Ct(Jt)},[Jt]),(0,ne.useEffect)(()=>{if(ja.current){let Pn=function(Bn,xn){var ba;if(Qt){xn.preventDefault();return}const $t=xn.clipboardData;if($t){const La=$t.types.toString(),Aa=$t.items;if(La==="Files"||$t.types.indexOf("Files")>-1){if(xn.preventDefault(),pn=="stex")return;try{let wa=Aa[1];((ba=Aa[0])==null?void 0:ba.kind)==="file"&&(wa=Aa[0]);const Ia=wa.getAsFile(),Fa=Ia.name.split(".").pop();(0,De.I)(Ia,Ua=>{var fa,la,Za;Ua.id?((fa=Ia==null?void 0:Ia.type)==null?void 0:fa.indexOf("image"))>-1?cn.replaceSelection(`![,](/api/attachments/${Ua.id}?type=${Ua.content_type})`):((la=Ia==null?void 0:Ia.type)==null?void 0:la.indexOf("video"))>-1?cn.replaceSelection(``):((Za=Ia==null?void 0:Ia.type)==null?void 0:Za.indexOf("pdf"))>-1?cn.replaceSelection(`${Ia.name}`):ln.includes(Fa)?cn.replaceSelection(`${Ia.name}`):cn.replaceSelection(`[${Ia.name}](/api/attachments/${Ua.id}?type=${Ua.content_type})`):(Ua==null?void 0:Ua.status)===401&&(ot.ZP.warning((Ua==null?void 0:Ua.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(wa){ot.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const cn=Je().fromTextArea(ja.current,{mode:pn,lineNumbers:!un,lineWrapping:!0,value:at,autoCloseTags:!yn,autoCloseBrackets:!0});return cn.on("keyup",function(Bn,xn){xn.keyCode===8&&(Bn.getValue()==""?cn.setOption("placeholder",Kt):cn.setOption("placeholder",null))}),cn.on("keydown",function(Bn,xn){if(xn.keyCode===8){var ba=ea(Bn);ba&&xn.preventDefault()}}),rn&&cn.focus(),cn.on("paste",Pn),cn.on("dragleave",function(Bn,xn){Ra.current.classList.remove("mouse-hover-md")}),jt&&cn.on("beforeChange",function(Bn,xn){(xn.origin==="paste"||xn.origin==="+input")&&xn.cancel()}),bt(cn),()=>{cn.off("paste",Pn)}}},[]);const ka=(0,ne.useCallback)(()=>{if(Ra.current)try{}catch(Pn){console.log(Pn,"---- to set md editor body height")}},[Hn,Ra,Jt]);(0,ne.useEffect)(()=>{function Pn(){let cn=new Ne.Z(Bn=>{for(let xn of Bn)(xn.target.offsetHeight>0||xn.target.offsetWidth>0)&&(ka(),Oe.setSize("100%","100%"),Oe.refresh())});return cn.observe(ja.current.parentElement),cn}if(Oe){const cn=Pn();return()=>{var Bn,xn;(Bn=ja.current)!=null&&Bn.parentElement&&cn.unobserve((xn=ja.current)==null?void 0:xn.parentElement)}}},[Oe,ka]),(0,ne.useEffect)(()=>{if(Oe){let Pn=[];for(const[cn,Bn]of Object.entries(Fn)){let xn={[cn]:()=>{ra(Bn)}};Pn.push(xn),Oe.addKeyMap(xn)}return On.current=setInterval(()=>{Na.current&&Da()},4e3),()=>{clearInterval(On.current);for(let cn of Pn)Oe.removeKeyMap(cn)}}},[Oe]),(0,ne.useEffect)(()=>{Cn!==Jt&&Ut(Cn)},[Cn]),(0,Zn.Z)(()=>{if(!be&&sn>0){let Pn=new Date().getTime(),cn=window.sessionStorage.getItem(Vn);Pn>=sn+ua&&(!cn||cn!==an)&&(window.sessionStorage.setItem(Vn,an),va(!0))}},ua),(0,ne.useEffect)(()=>{Mt(Xn)},[Oe,Xn]),(0,ne.useEffect)(()=>{Oe&&rn&&Oe.focus()},[Oe,rn]),(0,ne.useEffect)(()=>{if(jn&&Oe){let Pn=function(Bn){let xn=Bn.target;if(Ea.current){let ba=xn.scrollTop/xn.scrollHeight;Ea.current.scrollTop=Ea.current.scrollHeight*ba}};const cn=Oe.getScrollerElement();return cn.addEventListener("scroll",Pn),()=>{cn.removeEventListener("scroll",Pn)}}},[Oe,jn]),(0,ne.useEffect)(()=>{if(Oe&&vt){let Pn=function(cn,Bn){vt(cn,Bn)};return Oe.on("beforeChange",Pn),()=>{Oe.off("beforeChange",Pn)}}},[Oe,vt]),(0,ne.useEffect)(()=>{if(Oe&&Be){let Pn=function(){Be(Oe.getValue())};return Oe.on("blur",Pn),()=>{Oe.off("blur",Pn)}}},[Oe,Be]);function ea(Pn,cn){var Bn=Pn.getDoc(),xn=Bn.getCursor(),ba=Bn.getLine(xn.line),$t=ba.charAt(xn.ch-1),La=ba.lastIndexOf("@\u2581@",xn.ch),Aa=ba.lastIndexOf("@\u2581\u2581@",xn.ch),wa=La>Aa?La:Aa,Ia=La>Aa?3:4;if(Yn.indexOf($t)===-1)return null;if(console.log("change1:",cn,Pn,ba,xn,wa,La,Aa,$t),wa>=0&&xn.ch-wa<5){var Fa=wa+Ia;return Bn.replaceRange("",{line:xn.line,ch:wa},{line:xn.line,ch:Fa}),{line:xn.line,ch:Fa}}return null}(0,ne.useEffect)(()=>{if(Oe){let Pn=function(cn,Bn){const xn=cn.getValue();Dn(xn),In(new Date().getTime()),cn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),mt&&(yn?mt(xn,Un(xn)):mt(xn))};return Oe.on("change",Pn),()=>{Oe.off("change",Pn)}}},[Oe,mt]),(0,ne.useEffect)(()=>{if(Oe)if(at==null)Oe.setValue(""),Dn("");else{const Pn=window.scrollY||window.pageYOffset;at!==Oe.getValue()&&(Oe.setValue(at),Dn(at),Oe.setCursor(jt?1:Oe.lineCount(),0),window.scrollTo(0,Pn))}},[Oe,at]);const ra=(0,ne.useCallback)(Pn=>{const cn=Oe.getCursor(),Bn=Oe.getSelection();let xn=Bn.split(` +`);switch(Pn){case"bold":return Oe.replaceSelection("**"+Bn+"**"),Bn===""&&Oe.setCursor(cn.line,cn.ch+2),Oe.focus();case"italic":return Oe.replaceSelection("*"+Bn+"*"),Bn===""&&Oe.setCursor(cn.line,cn.ch+1),Oe.focus();case"code":return Oe.replaceSelection("`"+Bn+"`"),Bn===""&&Oe.setCursor(cn.line,cn.ch+1),Oe.focus();case"inline-latex":return En("inline-latex"),Oe.focus();case"latex":return Oe.replaceSelection("```latex\n"+Bn+"\n```"),Oe.setCursor(cn.line+1,Bn.length+1),Oe.focus();case"line-break":return Oe.replaceSelection(`
+`),Oe.focus();case"list-ul":return Bn===""?Oe.replaceSelection("- "+Bn):Oe.replaceSelection(xn.map(ba=>ba===""?"":`- ${ba}`).join(` +`)),Oe.focus();case"list-ol":return Bn===""?Oe.replaceSelection("1. "+Bn):Oe.replaceSelection(xn.map((ba,$t)=>ba===""?"":`${$t+1}. ${ba}`).join(` +`)),Oe.focus();case"add-null-ch":return Bn===""&&Oe.setCursor(cn.line,cn.ch),Oe.replaceSelection(Qn),Oe.focus();case"add-signal":return Bn===""&&Oe.setCursor(cn.line,cn.ch),Oe.replaceSelection(ca),Oe.focus();case"add-multiple":return Bn===""&&Oe.setCursor(cn.line,cn.ch),Oe.replaceSelection(Yn),Oe.focus();case"inster-template-1":return Bn===""&&Oe.setCursor(cn.line,cn.ch),Oe.replaceSelection(Ca),Oe.focus();case"eraser":return Oe.setValue(""),Oe.focus();case"trigger-watch":return Mt(!jn),Oe.focus();case"trigger-full-screen":return Ut(!Jt),Oe.focus();case At:En(At);return;case dn:En(dn);return;case ct:En(ct);return;case on:En(on);return;case"maths-latex":En("maths-latex");return;case yt:En(yt);return;case vn:En(vn);return;default:throw new Error}},[Oe,jn,Jt]),na=(0,ne.useCallback)((Pn,cn)=>{var Bn,xn,ba,$t,La,Aa;switch(En(""),It){case At:const{title:fa,link:la}=Pn;return Oe.replaceSelection(`[${fa}](${la})`),Oe.focus();case dn:const{language:Za,content:Ta}=Pn;return Oe.replaceSelection(["```"+Za,Ta,"```"].join(` +`)),Oe.focus();case"maths-latex":for(var wa=atob(Pn),Ia=new Uint8Array(wa.length),Fa=0;Fa{ar.id?Oe.replaceSelection(`![,](/api/attachments/${ar.id}?type=${ar.content_type})`):(ar==null?void 0:ar.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Oe.replaceSelection("`$$"+Pn+"$$`");break;case ct:case on:case mn:const{src:pa,alt:ga}=Pn,Ya=cn,_a=(ba=(xn=(Bn=Ya==null?void 0:Ya.name)==null?void 0:Bn.split("."))==null?void 0:xn.pop)==null?void 0:ba.call(xn);return(($t=Ya==null?void 0:Ya.type)==null?void 0:$t.indexOf("image"))>-1||!(Ya!=null&&Ya.type)?ga?Oe.replaceSelection(`![ ${ga} ]( ${pa} "${ga}" )`):Oe.replaceSelection(`![,](${pa})`):((La=Ya==null?void 0:Ya.type)==null?void 0:La.indexOf("video"))>-1?Oe.replaceSelection(``):((Aa=Ya==null?void 0:Ya.type)==null?void 0:Aa.indexOf("pdf"))>-1?Oe.replaceSelection(`${Ya.name}`):ln.includes(_a)?Oe.replaceSelection(`${Ya.name}`):Oe.replaceSelection(`[${Ya.name}](${pa})`),Oe.focus();case vn:const{row:Ja,col:ir,align:sr}=Pn;let nr=` +`;for(let ar=0;ar{switch(It){case At:return ne.createElement(rt,{callback:na,onCancel:Ma});case dn:return ne.createElement(Lt.Z,{callback:na,onCancel:Ma});case ct:return ne.createElement(De.Z,{callback:na,onCancel:Ma});case yt:return ne.createElement(Re,{callback:na,onCancel:Ma});case vn:return ne.createElement(xe,{callback:na,onCancel:Ma});case"maths-latex":return ne.createElement(kt,{showSaveButton:!0,callback:na});case"inline-latex":return ne.createElement(Nt.Z,{showSaveButton:!0,callback:na});default:return null}},[It]);function Ma(){En("")}(0,ne.useEffect)(()=>{if(Wa.current){let Pn=function(La){ba=!0,$t=La.pageY},cn=function(){ba=!1},Bn=function(La){if(ba){let Aa=La.pageY-$t;Aa<0&&(Aa=0),Aa>300&&(Aa=300);let wa=Xt+Aa+"px";bn(wa)}},xn=Wa.current,ba=!1,$t=0;return xn.addEventListener("mousedown",Pn),document.addEventListener("mousemove",Bn),document.addEventListener("mouseup",cn),()=>{xn.removeEventListener("mousedown",Pn),document.removeEventListener("mousemove",Bn),document.removeEventListener("mouseup",cn)}}},[Oe,Wa]),(0,ne.useEffect)(()=>{bn(Xt)},[Xt]);const Va=gn(dt),xa=gn(Hn),Xa={width:Va,height:xa},oa=(0,ne.useMemo)(()=>{if(sn){let Pn=new Date(sn),cn=Pn.getHours(),Bn=Pn.getMinutes(),xn=Pn.getSeconds();return cn=cn<10?"0"+cn:cn,Bn=Bn<10?"0"+Bn:Bn,xn=xn<10?"0"+xn:xn,`${cn}:${Bn}:${xn}`}return 0},[sn]),Un=Pn=>{const cn=[];if(yn){let Bn=-1;Pn=Pn.replace(/(@▁▁@|@▁@)/g,function(xn,ba,$t){cn.push({multiLine:xn!==ca})})}return cn};function ma(){window.sessionStorage.removeItem(Vn),va(!1),In(0)}function Zt(){va(!1),In(0),Oe.setValue(window.sessionStorage.getItem(Vn))}(0,ne.useEffect)(()=>{Kn[It]&&It!==on&&It!==yt&&setTimeout(()=>{const Pn=document.getElementsByClassName("markdown-popup-form")[0],cn=window.innerWidth/2-Pn.offsetWidth/2,Bn=window.innerHeight/2-Pn.offsetHeight/2;Pa(cn),aa(Bn)},0)},[It]);const ia=Pn=>{Pn.preventDefault();const cn=Pn.clientX-ya,Bn=Pn.clientY-qn;document.body.onmousemove=xn=>{let ba=xn.clientX-cn,$t=xn.clientY-Bn;const La=document.getElementsByClassName("markdown-popup-form")[0],Aa=window.innerWidth-La.offsetWidth,wa=window.innerHeight-La.offsetHeight;ba=Math.max(0,Math.min(ba,Aa)),$t=Math.max(0,Math.min($t,wa)),ha(xn.clientX,xn.clientY,cn,Bn)&&(Pa(ba),aa($t))},document.body.onmouseup=function(){document.body.onmousemove=null}},ha=(Pn,cn,Bn,xn)=>{const ba=document.body.clientHeight,$t=document.body.clientWidth;return Pn<20&&Bn>Pn||Pn>$t-20&&Bncn||cn>ba-20&&xnfe in de?_e(de,fe,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):de[fe]=Ce,a=(de,fe)=>{for(var Ce in fe||(fe={}))Xe.call(fe,Ce)&&y(de,Ce,fe[Ce]);if($e)for(var Ce of $e(fe))le.call(fe,Ce)&&y(de,Ce,fe[Ce]);return de},E=(de,fe)=>st(de,pt(fe));const{useForm:b}=ne.default,x={width:280,marginRight:10},te={labelCol:{span:5},wrapperCol:{span:19}};var ae=({callback:de,onCancel:fe})=>{const[Ce]=b();let Pe=(0,Te.useRef)();function je(Bt){de(Bt,Pe.current)}function Se(Bt,Ot){if(Bt.status===-1){ve.ZP.error(Bt.message);return}Ce.setFieldsValue({src:`/api/attachments/${Bt.id}`,type:Ot.type})}function Qe(Bt){let Ot=Bt.target.files[0];Pe.current=Ot,ue(Ot,Se)}return Ye.createElement(ne.default,E(a({form:Ce},te),{className:"upload-image-panel",onFinish:je,style:{width:470,overflow:"hidden"}}),Ye.createElement(ne.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ye.createElement("div",{className:"flex-container"},Ye.createElement(ne.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ye.createElement(Je.default,{style:x})),Ye.createElement(ie,{onFileChange:Qe}))),Ye.createElement(ne.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ye.createElement(Je.default,{style:{width:264}})),Ye.createElement(ne.default.Item,{style:{textAlign:"right"}},Ye.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ye.createElement(Ne.ZP,{type:"default",onClick:fe},"\u53D6\u6D88")))};function ie({onFileChange:de}){return Ye.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ye.createElement("input",{type:"file",onChange:de}))}function ue(de,fe){if(!de)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ye.bg)())throw ve.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ce=new FormData;Ce.append("editormd-image-file",de),Ce.append("file_param_name","editormd-image-file"),Ce.append("byxhr","true");var Pe=new window.XMLHttpRequest;Pe.withCredentials=!0,Pe.addEventListener("load",function(je){fe(JSON.parse(je.target.responseText),de)},!1),Pe.addEventListener("error",function(je){console.error(je)},!1),Pe.open("POST",`${Ie.KI}/api/attachments.json`),Pe.send(Ce)}},19647:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Je}});var ne=oe(59301),ve=oe(4676);class Je extends ne.Component{constructor(Ie){super(Ie);const Te=window.document;this.node=Te.createElement("div"),Te.body.appendChild(this.node)}render(){const{children:Ie}=this.props;return(0,ve.createPortal)(Ie,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},55785:function(xt,Tt,oe){"use strict";oe.d(Tt,{i:function(){return ie},Z:function(){return de}});var ne={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"},ve=oe(71418),Je=oe(6848),Ne=oe(92310),Ie=oe.n(Ne),Te=oe(88230),ye=oe(57816),Ye=oe(73898),_e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhvLBLrQsXw+r5Ognn8LGk4IoPiiQhB1vzCQ+XjHNeP2/AUkZU8JpgCRWr1yxinFy9bu+IyYZrAH8sP3ECsVOBwx1nGCPGyTN8kDg/ReYxDaFf41Vkr46F0C8MLRihmCFCyT6zNDyU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B66",ptimg:_e,swimg:st},{name:"101\u8BA1\u5212",ptimg:pt,swimg:$e},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Xe,swimg:le},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:E,swimg:b},{name:"\u519B\u961F\u4E00\u6D41",ptimg:x,swimg:te}];var de=({className:fe,dataSource:Ce=[],col:Pe=4,right:je,bottom:Se=23,precision:Qe=0,wrapWidth:Bt=1200,trackEventItems:Ot,loading:Ve,onRemove:ft=()=>{},isCurrent:Dt=!0,showAlias:Vt=!1})=>{const Rt=Math.floor((Bt-(Pe-1)*je)/Pe),St=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return ae.createElement(ve.Z,{spinning:Ve},ae.createElement("div",{className:Ie()(ne.list,fe)},!!(Ce!=null&&Ce.length)&&(Ce==null?void 0:Ce.map((ke,rt)=>{var Lt;const{name:De,id:tt,identifier:Ft,featured:tn,school_name:gt,image_url:Yt,excellent:Fe,is_plan:it}=ke;return ae.createElement("div",{key:tt,className:ne.wrap,style:{width:Rt,marginRight:(1+rt)%Pe===0?0:je+Qe,marginBottom:Se}},ae.createElement("a",{className:ne.li,onClick:Pt=>{Pt.preventDefault(),Pt.stopPropagation(),Ot&&(0,Te.L9)([Ot]),(0,Te.xg)(`/paths/${Ft}`)}},ae.createElement("div",{className:ne.img},ae.createElement("img",{className:ne.cover,src:`${Yt}`}),Dt&&(0,Ye.bg)()&&(ke==null?void 0:ke.studying)&&ae.createElement("div",{className:`${ne.movebq} user-path-items`,onClick:Pt=>{Pt.stopPropagation(),ft(ke)}},ae.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ae.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Lt=ke==null?void 0:ke.subject_tags)==null?void 0:Lt.map((Pt,nn)=>{var zt,Ke;if(nn===0){const we=(zt=St.find(ge=>ge.name==Pt))==null?void 0:zt.swimg;return ae.createElement("img",{className:ne.sign,src:we,style:{left:"-4px"}})}const Ue=(Ke=St.find(we=>we.name==Pt))==null?void 0:Ke.ptimg;return ae.createElement("img",{className:ne.sign,src:Ue,style:{left:`${48+52*(nn-1)+2*nn}px`}})}),ae.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(ke==null?void 0:ke.excellent)&&ae.createElement("div",{className:ne.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:ne.name},ae.createElement(Je.Z,{title:Vt&&(ke!=null&&ke.excellent_alias_name)?ae.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${De}`,ae.createElement("br",null),ae.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${ke==null?void 0:ke.excellent_alias_name}`)):De},ae.createElement("span",{className:ne.e},Vt&&(ke==null?void 0:ke.excellent_alias_name)||De))),ae.createElement("div",{className:ne.tags},ae.createElement("div",null,ae.createElement(Je.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ae.createElement("span",null,ke.stages_count))),ae.createElement(Je.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ae.createElement("span",null,ke.members_count)))))))})),!Ce.length&&ae.createElement(ye.Z,null)))}},11420:function(xt,Tt,oe){"use strict";oe.d(Tt,{jL:function(){return Ie},w9:function(){return ke},QD:function(){return Nt},cQ:function(){return ft.Z},op:function(){return xe},O5:function(){return Ca},_b:function(){return on},t7:function(){return b},Gi:function(){return tn},YG:function(){return tt},qp:function(){return pt},vr:function(){return At},qE:function(){return ht},Je:function(){return ae},wb:function(){return Ve},cq:function(){return nn},tp:function(){return le}});var ne=oe(59301),ve={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"},Je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJ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Ex8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ie=({dataSource:ln=[],img:gn,imgWidth:An=346,title:Sn,sunTitle:Fn,bannerExtraContent:Kn})=>ne.createElement("div",{className:ve.banner},ne.createElement("div",{className:ve.content},ne.createElement("aside",null,ne.createElement("p",null,ne.createElement("b",null,Sn),ne.createElement("span",null,Fn)),ln.length>0&&ne.createElement("div",{className:ve.btns},ln.map((Rn,at)=>ne.createElement("div",{key:at,onClick:Rn.click},Rn.name,Rn.sign?ne.createElement("img",{src:Je,width:39}):null))),Kn),gn&&ne.createElement("img",{style:{marginTop:33,marginRight:38},src:gn,width:An}))),Te={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"},ye=oe(92310),Ye=oe.n(ye),_e=oe(89392),pt=({dataSource:ln=[],value:gn,onChange:An,onTitleChange:Sn,className:Fn,title:Kn,titleWidth:Rn=41,style:at={},fontColor:mt="#6A7283",showCount:dt})=>{const[Xt,un]=(0,ne.useState)(0),[rn,Xn]=(0,ne.useState)(!1),kn=(0,ne.useRef)(null),pn=(0,ne.useRef)(null);return(0,ne.useEffect)(()=>{var Vn;ln.length!==0&&(((Vn=kn==null?void 0:kn.current)==null?void 0:Vn.clientHeight)>97?un(1):un(0)),ln.length===0&&un(0),Xn(!1)},[ln]),ne.createElement("div",{className:Ye()(Te.row,Fn),style:at},ne.createElement("div",{onClick:(0,_e.throttle)(()=>Sn==null?void 0:Sn(),2e3),style:{width:Rn,marginTop:rn?12:4},className:`${Te.title} ${Sn?"current":""}`},Kn),ne.createElement("div",{className:rn?`${Te.tagsWrap} ${Te.tagsBorderWrap}`:Te.tagsWrap},ne.createElement("div",{className:Te.bar,ref:pn,style:Xt>0?{height:Xt===1?97:"auto",overflow:Xt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ne.createElement("div",{className:Te.tag,ref:kn},ln==null?void 0:ln.map(Vn=>ne.createElement("span",{onClick:()=>An(Vn.id),key:Vn.id,style:{color:mt},className:gn===Vn.id?Te.active:""},ne.createElement("span",{title:Vn.name,className:Te.name},Vn.name),!!dt&&ne.createElement("span",{className:Te.num},Vn.count))))),!!Xt&&ne.createElement(ne.Fragment,null,Xt===1?ne.createElement("div",{onClick:()=>{var Vn;un(2),((Vn=kn==null?void 0:kn.current)==null?void 0:Vn.clientHeight)>245?Xn(!0):Xn(!1)},className:Te.action},"\u5C55\u5F00",ne.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ne.createElement("div",{onClick:()=>{pn.current.scrollTop=0,un(1),Xn(!1)},className:Te.action},"\u6536\u8D77",ne.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},$e={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"},le=({dataSource:ln=[],value:gn,onChange:An,className:Sn,style:Fn={}})=>ne.createElement("div",{style:Fn,className:Ye()($e.tabs,Sn)},ln.map(Kn=>ne.createElement("span",{onClick:()=>An(Kn.id),className:gn===Kn.id?$e.active:"",key:Kn.id},Kn.name))),y={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"},a=oe(92832),b=({dataSource:ln=[],value:gn="",onChange:An,onInputChange:Sn=()=>{},className:Fn,style:Kn={},placeholder:Rn,allowClear:at=!1})=>{var mt;const[dt,Xt]=(0,ne.useState)(""),[un,rn]=(0,ne.useState)("");(0,ne.useEffect)(()=>{var pn;let Vn=gn;(pn=JSON.stringify(gn))!=null&&pn.includes("{")&&(Xt(gn.id),Vn=gn.value||"");try{rn(decodeURIComponent(Vn||""))}catch(_t){rn(decodeURIComponent(Vn||""))}},[gn]);const Xn=()=>{An(encodeURIComponent(un),dt||null)},kn=pn=>{pn!==dt&&(Xt(pn),An(encodeURIComponent(un),pn))};return ne.createElement("div",{className:Ye()(y.input,Fn),style:Kn},!!ln.length&&ne.createElement("div",{className:y.dropdown},ne.createElement("div",{className:y.text},(mt=ln.find(pn=>pn.id===dt))==null?void 0:mt.name,ne.createElement("i",{className:"iconfont icon-zhankai4"}),ne.createElement("b",{className:y.b1}),ne.createElement("b",{className:y.b2})),ne.createElement("div",{className:y.menu},ln.map((pn,Vn)=>ne.createElement("div",{key:Vn,onClick:()=>kn(pn.id)},pn.name)))),ne.createElement(a.default,{onPressEnter:Xn,value:un,onChange:pn=>{rn(pn.target.value),Sn(encodeURIComponent(pn.target.value),dt||null)},bordered:!1,placeholder:Rn}),ne.createElement("i",{onClick:Xn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},x={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"},ae=({value:ln,onChange:gn,className:An,total:Sn,pageSize:Fn,style:Kn={}})=>{const Rn=ln<2,at=ln>=Math.ceil(Sn/Fn);return Sn<=Fn?ne.createElement(ne.Fragment,null):ne.createElement("div",{className:Ye()(x.quickPager,An),style:Kn},ne.createElement("div",{onClick:()=>{Rn||gn(ln-1,"prev")},className:Rn?x.disabled:""},"\u4E0A\u4E00\u9875"),ne.createElement("div",{onClick:()=>{at||gn(ln+1,"next")},className:at?x.disabled:""},"\u4E0B\u4E00\u9875"))},ie={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},ue=oe(71418),de=oe(6848),fe=oe(13570),Ce=oe(38446),Pe=oe(88230),je=oe(96908),Se=oe(57177),Qe=oe(81378),Bt=oe(57816),Ve=({className:ln,dataSource:gn=[],col:An=4,right:Sn,bottom:Fn=23,precision:Kn=0,wrapWidth:Rn=1200,trackEventItems:at,loading:mt})=>{const dt=Math.floor((Rn-(An-1)*Sn)/An);return ne.createElement(ue.Z,{spinning:mt},ne.createElement("div",{className:Ye()(ie.list,ln)},!!gn.length&&gn.map((Xt,un)=>{const{name:rn,id:Xn,identifier:kn,power:pn,cover_image_id:Vn,pic:_t}=Xt;return ne.createElement("div",{className:ie.wrap,key:Xn,style:{width:dt,marginRight:(1+un)%An===0?0:Sn+Kn,marginBottom:Fn}},ne.createElement("a",{target:"_blank",href:`/shixuns/${kn}/challenges`,className:ie.li,onClick:be=>{be.preventDefault(),at&&(0,Pe.L9)([at]),pn&&(0,Pe.xg)(`/shixuns/${kn}/challenges`)}},ne.createElement("div",{className:ie.img},ne.createElement("img",{className:ie.cover,src:`${_t}`}),Xt.is_jupyter&&ne.createElement("img",{className:ie.sign,src:je}),Xt.is_jupyter_lab&&ne.createElement("img",{className:ie.sign,src:Se}),Xt.is_unity_3d&&ne.createElement("img",{className:ie.sign,src:Qe})),ne.createElement("div",{className:ie.name},ne.createElement(de.Z,{title:rn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ne.createElement("span",{className:ie.e},rn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ne.createElement("div",{className:ie.tags},ne.createElement(de.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ne.createElement("span",null,Xt.challenges_count))),!!Xt.myshixuns_count&&ne.createElement(de.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ne.createElement("span",null,Xt.myshixuns_count))),ne.createElement(de.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ne.createElement("span",null,ne.createElement("span",null,Xt.level))),ne.createElement("div",{className:ie.rate},ne.createElement(fe.Z,{allowHalf:!0,disabled:!0,defaultValue:Xt.score_info}),ne.createElement("span",null,"\xA0",Xt.score_info?`${Xt.score_info}\u5206`:"5\u5206")))),!pn&&ne.createElement("div",{className:ie.lockWrap},ne.createElement("img",{src:`${Ce.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ne.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!gn.length&&ne.createElement(Bt.Z,null)))},ft=oe(55785),Dt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Vt="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/7JqKnFfiziUT0iV731aj9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EHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Rt=oe(59301),ke=({className:ln,dataSource:gn=[],col:An=4,right:Sn,bottom:Fn=23,precision:Kn=0,wrapWidth:Rn=1200,trackEventItems:at,loading:mt})=>{const dt=Math.floor((Rn-(An-1)*Sn)/An);return Rt.createElement(ue.Z,{spinning:mt},Rt.createElement("div",{className:Ye()(Dt.list,ln)},!!gn.length&&gn.map((Xt,un)=>{const{subject_identifier:rn,id:Xn,identifier:kn,power:pn}=Xt,Vn=Xt.is_public!=0&&Xt.is_public;return Rt.createElement("div",{className:Dt.wrap,key:Xn,style:{width:dt,marginRight:(1+un)%An===0?0:Sn+Kn,marginBottom:Fn}},Rt.createElement("a",{className:Dt.li,onClick:_t=>{_t.preventDefault(),at&&(0,Pe.L9)([at]),(0,Pe.xg)(Xt.first_category_url)}},Rt.createElement("div",{className:Dt.top},Rt.createElement(de.Z,{title:Xt.name},Rt.createElement("div",{className:Dt.name},Xt.name)),Rt.createElement("img",{className:Dt.img,src:Ce.Z.IMG_SERVER+"/images/"+Xt.avatar_url}),Rt.createElement("div",{className:Dt.text,title:Xt.creator},Xt.creator),rn&&Rt.createElement("div",{className:Dt.btns},Rt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Rt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Vn&&Rt.createElement("div",{className:Dt.sign},"\u516C\u5F00")),Rt.createElement("div",{className:Dt.bottom},Xt.visits>0&&Rt.createElement(de.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Rt.createElement("span",null,Rt.createElement("i",{className:"iconfont icon-liulanyan"}),Rt.createElement("span",null,Xt.visits))),Xt.course_members_count>0&&Rt.createElement(de.Z,{title:"\u6210\u5458",placement:"bottom"},Rt.createElement("span",null,Rt.createElement("i",{className:"iconfont icon-chengyuan"}),Xt.course_members_count)),Xt.tasks_count>0&&Rt.createElement(de.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Rt.createElement("span",null,Rt.createElement("i",{className:"iconfont icon-zuoye"}),Xt.tasks_count)),Xt.is_end?Rt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Rt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Xt.is_accessible&&Rt.createElement("div",{className:Dt.lockWrap},Rt.createElement("img",{src:`${Ce.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Rt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!gn.length&&Rt.createElement(Bt.Z,null)))},rt={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"},Lt=oe(24459),tt=({dataSource:ln=[],value:gn,onChange:An,className:Sn,style:Fn={},tabBarExtraContent:Kn})=>ne.createElement("div",{className:Ye()(rt.tabs,Sn),style:Fn},ne.createElement("div",{className:rt.tabsWrap},ln.map((Rn,at)=>ne.createElement("aside",{className:rt.tab,onClick:()=>{An(Rn.id),Rn.link&&Lt.history.push(Rn.link)},key:at},ne.createElement("div",{className:gn===Rn.id?rt.active:""},Rn.name),(Rn==null?void 0:Rn.resetCount)==null&&(Rn==null?void 0:Rn.total)!==void 0&&ne.createElement("span",null,"\uFF08",Rn==null?void 0:Rn.total,"\uFF09"),(Rn==null?void 0:Rn.resetCount)!==void 0&&(Rn==null?void 0:Rn.total)!==void 0&&ne.createElement(de.Z,{title:(Rn==null?void 0:Rn.tip)!=null?Rn==null?void 0:Rn.tip:""},ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ne.createElement("span",{style:{color:"#000"}},Rn==null?void 0:Rn.resetCount),"/",ne.createElement("span",null,Rn==null?void 0:Rn.total),"\uFF09"))))),ne.createElement("div",{className:rt.tabBar},Kn)),tn=({className:ln,style:gn={},children:An})=>ne.createElement("div",{className:Ye()(ln),style:gn},An),gt={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"},Yt=oe(38854),Fe=oe(20834);const it=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var nn=({sortValue:ln,dropValue:gn,className:An,onSort:Sn,onDrop:Fn,dataSource:Kn=it})=>{var Rn;return ne.createElement("div",{className:Ye()(gt.orderWrap,An)},ne.createElement(Yt.Z,{dropdownRender:()=>ne.createElement(Fe.default,null,Kn.map((at,mt)=>ne.createElement(Fe.default.Item,{key:mt,onClick:()=>Fn(at.id)},at.name)))},ne.createElement("span",{className:gt.orderTextWrap},(Rn=Kn.find(at=>gn===at.id))==null?void 0:Rn.name)),ne.createElement("span",{className:gt.orderIconWrap},ne.createElement("span",{className:gt.orderAsc},ne.createElement("i",{className:ln==="asc"?`iconfont icon-sanjiaoxing-up font12 ${gt.cursorPointer} ${gt.active}`:`iconfont icon-sanjiaoxing-up font12 ${gt.cursorPointer}`,onClick:()=>Sn(ln==="asc"?"desc":"asc")})),ne.createElement("span",{className:gt.orderDesc},ne.createElement("i",{className:ln==="desc"?`iconfont icon-sanjiaoxing-down font12 ${gt.cursorPointer} ${gt.active}`:`iconfont icon-sanjiaoxing-down font12 ${gt.cursorPointer}`,onClick:()=>Sn(ln==="asc"?"desc":"asc")}))))},zt={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"},Ke=oe(3113),Ue=Object.defineProperty,we=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Re=(ln,gn,An)=>gn in ln?Ue(ln,gn,{enumerable:!0,configurable:!0,writable:!0,value:An}):ln[gn]=An,Ee=(ln,gn)=>{for(var An in gn||(gn={}))ge.call(gn,An)&&Re(ln,An,gn[An]);if(we)for(var An of we(gn))ze.call(gn,An)&&Re(ln,An,gn[An]);return ln},he=(ln,gn)=>{var An={};for(var Sn in ln)ge.call(ln,Sn)&&gn.indexOf(Sn)<0&&(An[Sn]=ln[Sn]);if(ln!=null&&we)for(var Sn of we(ln))gn.indexOf(Sn)<0&&ze.call(ln,Sn)&&(An[Sn]=ln[Sn]);return An},nt=(ln,gn,An)=>new Promise((Sn,Fn)=>{var Kn=mt=>{try{at(An.next(mt))}catch(dt){Fn(dt)}},Rn=mt=>{try{at(An.throw(mt))}catch(dt){Fn(dt)}},at=mt=>mt.done?Sn(mt.value):Promise.resolve(mt.value).then(Kn,Rn);at((An=An.apply(ln,gn)).next())}),xe=ln=>{var gn=ln,{className:An,style:Sn,children:Fn,loading:Kn=!1,openLoading:Rn,onClick:at=()=>{},size:mt="middle",shape:dt="round"}=gn,Xt=he(gn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[un,rn]=(0,ne.useState)(!1);return ne.createElement(Ke.ZP,Ee({onClick:(0,_e.throttle)(Xn=>nt(void 0,null,function*(){Rn&&rn(!0);try{yield at(Xn)}catch(kn){console.log("error",kn)}Rn&&rn(!1)}),2e3,{leading:!0,trailing:!1}),className:Ye()(zt.btn,zt[`${mt}-${dt}`],An),style:Sn,size:mt,shape:dt,loading:un||Kn},Xt),Fn)},Ge={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"},ht=({className:ln,style:gn,children:An=null,onClick:Sn,title:Fn})=>ne.createElement("div",{className:Ye()(Ge.head,ln),style:gn},ne.createElement("span",{className:"primary-hover",onClick:Sn},ne.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ne.createElement("b",{title:Fn},Fn),ne.createElement("div",{className:Ge.node},An)),Gt={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"},Nt=({confirmShow:ln=!0,confirmTitle:gn,confirmClick:An,cancelShow:Sn=!0,cancelTitle:Fn,cancelClick:Kn,className:Rn,style:at,confirmLoading:mt=!1})=>ne.createElement("div",{className:Ye()(Gt.btns,Rn),style:at},ln&&ne.createElement(Ke.ZP,{loading:mt,onClick:An,type:"primary",className:Gt.confirm},gn),Sn&&ne.createElement(Ke.ZP,{onClick:Kn,className:Gt.cancel},Fn)),Le={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"},At=({className:ln,style:gn={},LeftContent:An,children:Sn,RightContent:Fn})=>ne.createElement("div",{className:Ye()(Le.fixedBottom,ln),style:gn},ne.createElement("div",{className:Le.wrap},ne.createElement("div",{className:Le.left},An),ne.createElement("div",{className:Le.center},Sn),ne.createElement("div",{className:Le.right},Fn))),ct={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"},on=({className:ln,style:gn={},dataSource:An=[]})=>ne.createElement("div",{className:Ye()(ct.crumbs,ln),style:gn},An.map((Sn,Fn)=>FnLt.history.push(Sn.path)},Sn.name):ne.createElement("span",null,Sn.name),ne.createElement("span",null,"\xA0",">","\xA0")):ne.createElement("span",{key:Fn,style:{color:"#5F6368"}},Sn.name))),mn=oe(31797),dn=Object.defineProperty,vn=Object.defineProperties,Wn=Object.getOwnPropertyDescriptors,fn=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,$n=Object.prototype.propertyIsEnumerable,ta=(ln,gn,An)=>gn in ln?dn(ln,gn,{enumerable:!0,configurable:!0,writable:!0,value:An}):ln[gn]=An,Mn=(ln,gn)=>{for(var An in gn||(gn={}))Zn.call(gn,An)&&ta(ln,An,gn[An]);if(fn)for(var An of fn(gn))$n.call(gn,An)&&ta(ln,An,gn[An]);return ln},ua=(ln,gn)=>vn(ln,Wn(gn)),Qn=(ln,gn)=>{var An={};for(var Sn in ln)Zn.call(ln,Sn)&&gn.indexOf(Sn)<0&&(An[Sn]=ln[Sn]);if(ln!=null&&fn)for(var Sn of fn(ln))gn.indexOf(Sn)<0&&$n.call(ln,Sn)&&(An[Sn]=ln[Sn]);return An};const{Countdown:Yn}=mn.default;var Ca=ln=>{var gn=ln,{onChange:An}=gn,Sn=Qn(gn,["onChange"]);const[Fn,Kn]=(0,ne.useState)(null);(0,ne.useEffect)(()=>{typeof Fn=="number"&&Fn>=0&&An(Fn)},[Fn]);const Rn=at=>{const mt=Math.floor(at/1e3);Kn(mt)};return ne.createElement(Yn,ua(Mn({},Sn),{onChange:Rn}))}},50505:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return ve}});var ne=oe(59301);function ve(Je,Ne){const Ie=(0,ne.useRef)();(0,ne.useEffect)(()=>{Ie.current=Je}),(0,ne.useEffect)(()=>{function Te(){Ie.current()}if(Ne!==null){let ye=setInterval(Te,Ne);return()=>clearInterval(ye)}},[Ne])}},41867:function(xt,Tt,oe){"use strict";oe.r(Tt),oe.d(Tt,{default:function(){return Gn}});var ne=oe(59301),ve=oe(24459),Je=oe(78241),Ne=oe(8591),Ie=oe(43418),Te=oe(95237),ye=oe(43604),Ye=oe(6848),_e=oe(3113),st=oe(28103),pt=oe(92832),$e=oe(61621),Xe=oe(5112),le=oe(78113),y=oe(49898),a=oe(88230),E=oe(61186),b=oe.n(E),x={flex_box_center:"flex_box_center___Eli3_",flex_space_between:"flex_space_between___b9mMZ",flex_box_vertical_center:"flex_box_vertical_center___HDlqC",flex_box_center_end:"flex_box_center_end___wxSjo",flex_box_column:"flex_box_column___riQIC",icons:"icons___fU5ZJ",shixuns:"shixuns___HhH4T",buttons:"buttons___Xd62N",addStage:"addStage___Ap4gr",color4CA:"color4CA___dMAG4",color204:"color204___ySVKY",completed:"completed___pNt1x",actionTabs:"actionTabs___x3cPl",tab:"tab___BFnIn",s1:"s1___O6K2P",tabActive:"tabActive___v3_qF",total:"total___oZdqK",introContent:"introContent___dSvDD",introContentMaxHeight:"introContentMaxHeight___NxSzO"},te=oe(43428),ae=oe(24905),ie=oe(58421),ue=oe(7660),de=oe(6347),fe=oe(73898),Ce={flex_box_center:"flex_box_center___bI3gK",flex_space_between:"flex_space_between___ZyemH",flex_box_vertical_center:"flex_box_vertical_center___vOG6y",flex_box_center_end:"flex_box_center_end___g0YQU",flex_box_column:"flex_box_column___a7oLH",wrp:"wrp___wYwtQ",drawer:"drawer___UVA9h",menu:"menu___s5Hi1",actived:"actived___GavBb",actived2:"actived2___XNyxe",listItem:"listItem___OyHb7",info:"info___UU9rA",title:"title___CmRLc",titleLeft:"titleLeft___xWCXz",titleRight:"titleRight___PeYdC",search:"search___CzPOL",description:"description___TEI_C",menuCourse:"menuCourse___Z8Z9h"},Pe=oe(59301),je=Object.defineProperty,Se=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,Ot=(lt,Oe,bt)=>Oe in lt?je(lt,Oe,{enumerable:!0,configurable:!0,writable:!0,value:bt}):lt[Oe]=bt,Ve=(lt,Oe)=>{for(var bt in Oe||(Oe={}))Qe.call(Oe,bt)&&Ot(lt,bt,Oe[bt]);if(Se)for(var bt of Se(Oe))Bt.call(Oe,bt)&&Ot(lt,bt,Oe[bt]);return lt},ft=(lt,Oe,bt)=>new Promise((an,Dn)=>{var jn=Ut=>{try{Jt(bt.next(Ut))}catch(It){Dn(It)}},Mt=Ut=>{try{Jt(bt.throw(Ut))}catch(It){Dn(It)}},Jt=Ut=>Ut.done?an(Ut.value):Promise.resolve(Ut.value).then(jn,Mt);Jt((bt=bt.apply(lt,Oe)).next())});const{Search:Dt}=pt.default,Vt=[{id:"type",name:"\u7B5B\u9009",children:[{name:"\u5168\u90E8\u5B9E\u8BAD",id:"all",type:"type"},{name:"\u6211\u7684\u5B9E\u8BAD",id:"mine",type:"type"}]},{id:"diff",name:"\u96BE\u5EA6",children:[{name:"\u5168\u90E8",id:"",type:"diff"},{name:"\u521D\u7EA7",id:1,type:"diff"},{name:"\u4E2D\u7EA7",id:2,type:"diff"},{name:"\u4E2D\u9AD8\u7EA7",id:3,type:"diff"},{name:"\u9AD8\u7EA7",id:4,type:"diff"}]}],Rt=({classroomList:lt,loading:Oe,dispatch:bt,cb:an,shixunIds:Dn=[]})=>{var jn;const Mt=(0,ve.useParams)(),Jt=(0,ve.useLocation)(),{actionTabs:Ut}=lt,[It]=Je.default.useForm(),{shixunLists:En}=lt,[sn,In]=(0,ne.useState)([]),[Hn,bn]=(0,ne.useState)([]),[wn,va]=(0,ne.useState)({page:1,type:"all",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",load_jupyter_evaluate:!0,group_id:null});(0,ne.useEffect)(()=>{lt.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"&&(wn.page=1,bt({type:"classroomList/getShixunLists",payload:Ve({},wn)}))},[lt.actionTabs.key]),(0,ne.useEffect)(()=>{Sa()},[Mt]);const Sa=()=>ft(void 0,null,function*(){const On=yield(0,ue.ZP)("/api/users/user_setting_groups.json",{method:"get",params:{type:"Shixun"}});In([{id:null,name:"\u5168\u90E8"},{id:-1,name:"\u672A\u52A0\u5165\u76EE\u5F55"},...(On==null?void 0:On.groups)||[]])}),Na=()=>{bt({type:"classroomList/setActionTabs",payload:{}}),va({page:1,type:"all",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",load_jupyter_evaluate:!0,group_id:null})};return lt.actionTabs.key!=="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"?null:Pe.createElement(te.Z,{placement:"bottom",height:"100%",closable:!1,open:lt.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",key:"bottom",rootClassName:Ce.drawer,footer:Pe.createElement("div",{className:"tc"},Pe.createElement(_e.ZP,{size:"middle",onClick:()=>{Na(),bn([]),an("\u53D6\u6D88")},style:{marginRight:8}},"\u53D6\u6D88"),Pe.createElement(_e.ZP,{size:"middle",onClick:()=>ft(void 0,null,function*(){var On,ya;for(let qn=0;qn<(Hn==null?void 0:Hn.length);qn++){const aa=Hn[qn];if(Dn.includes(aa)){Ne.ZP.info(`\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\uFF1A${(ya=(On=En==null?void 0:En.shixun_list)==null?void 0:On.find(ja=>ja.id===aa))==null?void 0:ya.title}`);return}}const Pa=yield(0,de.Ep)({id:lt.actionTabs.id,course_id:lt.actionTabs.course_id,shixun_ids:[...Hn]});bn([]),Pa!=null&&Pa.shixuns_list&&(Na(),an(Pa.shixuns_list))}),type:"primary"},"\u786E\u5B9A"))},Pe.createElement("section",{className:"tc"},Pe.createElement(Dt,{placeholder:"\u5B9E\u8BAD\u4FE1\u606F/\u9662\u6821\u540D\u79F0/\u521B\u5EFA\u8005",enterButton:"\u641C\u7D22",size:"middle",className:Ce.search,onSearch:On=>{wn.keyword=On,wn.page=1,bt({type:"classroomList/getShixunLists",payload:Ve({},wn)})}})),Pe.createElement("section",{className:"edu-container"},Vt.map(function(On,ya){var Pa;return Pe.createElement("ul",{className:Ce.menu,key:ya},Pe.createElement("li",null,On.name),(Pa=On==null?void 0:On.children)==null?void 0:Pa.map(function(qn,aa){return Pe.createElement("li",{className:wn[On.id]==qn.id?Ce.actived:"",onClick:()=>{wn[On.id]=qn.id,wn.page=1,va(Ve({},wn)),bt({type:"classroomList/getShixunLists",payload:Ve({},wn)})}},Pe.createElement("strong",null,qn.name))}))}),wn.type==="mine"&&Pe.createElement("ul",{className:Ce.menu},Pe.createElement("li",null,"\u76EE\u5F55"),sn==null?void 0:sn.map((On,ya)=>Pe.createElement("li",{className:wn.group_id==On.id?Ce.actived:"",key:On.name,onClick:()=>{wn.group_id=On.id,wn.page=1,va(Ve({},wn)),bt({type:"classroomList/getShixunLists",payload:Ve({},wn)})}},Pe.createElement("strong",null,On.name)))),(jn=En==null?void 0:En.shixun_list)==null?void 0:jn.map(function(On,ya){return Pe.createElement("div",{className:Ce.listItem,key:ya},Pe.createElement(ae.default,{checked:Hn.includes(On.id),value:On.id,onChange:Pa=>{let qn=Hn.indexOf(On.id);Hn.indexOf(On.id)>-1?bn(Hn.filter(aa=>aa!==On.id)):bn(Hn.concat(On.id))}}),Pe.createElement("div",{className:Ce.info},Pe.createElement("div",{className:Ce.title},Pe.createElement("div",{className:Ce.titleLeft},Pe.createElement("a",{className:"c-black",href:`/shixuns/${On==null?void 0:On.identifier}/challenges`,target:"_blank"},Pe.createElement("strong",{className:"font16",dangerouslySetInnerHTML:{__html:On.title}})),(0,fe.Ny)()&&(On==null?void 0:On.mark_status)===1&&Pe.createElement(Ye.Z,{title:On==null?void 0:On.mark_content},Pe.createElement("span",{style:{marginRight:"auto",background:"#2FA34F"},className:"tag-style current ml10"},"\u6B63\u5E38")),(0,fe.Ny)()&&(On==null?void 0:On.mark_status)===2&&Pe.createElement(Ye.Z,{title:On==null?void 0:On.mark_content},Pe.createElement("span",{style:{marginRight:"auto",background:"#FF8C29"},className:"tag-style current ml10"},"\u9700\u5B8C\u5584")),(0,fe.Ny)()&&(On==null?void 0:On.mark_status)===3&&Pe.createElement(Ye.Z,{title:On==null?void 0:On.mark_content},Pe.createElement("span",{style:{marginRight:"auto",background:"#E53333"},className:"tag-style current ml10"},"\u65E0\u6CD5\u4F7F\u7528")))),Pe.createElement("div",{className:"flex-wrp mt10 font14 c-light-black"},Pe.createElement("span",{className:Ce.description,dangerouslySetInnerHTML:{__html:On.description}})),Pe.createElement("div",{className:"flex-wrp mt15"},On.challenge_names.map(function(Pa,qn){return Pe.createElement("span",{key:qn,className:"mr30 font12"},"\u7B2C",qn+1,"\u5173 ",Pa," ")})),Pe.createElement(st.Z,{dashed:!0}),Pe.createElement("div",{className:"c-light-black mt20 font12"},Pe.createElement("span",null,On.author_name),Pe.createElement("span",{className:"ml15 mr15"},"|"),Pe.createElement("span",null,On.author_school_name),Pe.createElement("span",{className:"ml15 mr15"},"|"),Pe.createElement("span",null,"\u96BE\u5EA6\u7CFB\u6570:",On.level),Pe.createElement("span",{className:"ml15 mr15"},"|"),Pe.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570:"),Pe.createElement("span",null,On.study_count))))}),Pe.createElement("p",null)),Pe.createElement("div",{className:"tc"},Pe.createElement(ie.Z,{current:wn.page||1,hideOnSinglePage:!0,showSizeChanger:!1,defaultPageSize:20,showQuickJumper:!0,total:En==null?void 0:En.shixuns_count,onChange:On=>{wn.page=On,bt({type:"classroomList/getShixunLists",payload:Ve({},wn)})}})))};var St=(0,ve.connect)(({classroomList:lt,loading:Oe})=>({classroomList:lt,loading:Oe}))(Rt),ke=oe(82309),rt=oe(93948),Lt={wrap:"wrap___UWG0f",name:"name___LIQSC",button:"button___CSggN",progress:"progress___AQo_Y",havaLearn:"havaLearn___fq9Cb"},De=(lt,Oe,bt)=>new Promise((an,Dn)=>{var jn=Ut=>{try{Jt(bt.next(Ut))}catch(It){Dn(It)}},Mt=Ut=>{try{Jt(bt.throw(Ut))}catch(It){Dn(It)}},Jt=Ut=>Ut.done?an(Ut.value):Promise.resolve(Ut.value).then(jn,Mt);Jt((bt=bt.apply(lt,Oe)).next())}),Ft=({data:lt={},dispatch:Oe=()=>{},onReloadData:bt=()=>{}})=>{const an=()=>{var Jt,Ut,It;if(!(0,ke.tJ)(Oe)||(0,fe.Jd)())return;let En;for(let sn=0;sn<((Jt=lt==null?void 0:lt.stages)==null?void 0:Jt.length);sn++){const In=(Ut=lt==null?void 0:lt.stages)==null?void 0:Ut[sn],Hn=(It=In==null?void 0:In.shixuns_list)==null?void 0:It.find(bn=>(bn==null?void 0:bn.shixun_status)!=="\u6682\u672A\u516C\u5F00");if(Hn){En=Hn.identifier;break}}En?Mt(En):Ne.ZP.info("\u5B9E\u8BAD\u6682\u672A\u516C\u5F00!")},Dn=Jt=>{Jt=Jt!=null&&Jt.includes(".json")?Jt:`${Jt}.json`,Ie.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ne.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>De(void 0,null,function*(){const Ut=yield(0,y.$Q)({url:Jt});if(!Ut)return;Ne.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const It=yield(0,y.Ir)({id:Ut.shixun_identifier});if(It!=null&&It.game_identifier){(0,a.xg)(`/tasks/${It.game_identifier}`),bt();return}(It==null?void 0:It.status)===2?Dn(It==null?void 0:It.message):(It==null?void 0:It.status)===3&&jn(It==null?void 0:It.message)})})},jn=Jt=>{Ie.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ne.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Jt,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Mt=Jt=>De(void 0,null,function*(){const Ut=yield(0,y.Ir)({id:Jt});if(Ut!=null&&Ut.game_identifier){(0,a.xg)(`/tasks/${Ut.game_identifier}`),bt();return}(Ut==null?void 0:Ut.status)===2?Dn(Ut==null?void 0:Ut.message):(Ut==null?void 0:Ut.status)===3&&jn(Ut==null?void 0:Ut.message)});return ne.createElement("section",null,!(0,fe.GJ)()&&ne.createElement(ne.Fragment,null,lt!=null&<.start_learning?ne.createElement(Te.Z,{className:Lt.wrap,align:"middle"},ne.createElement(ye.Z,{flex:"1"},ne.createElement("div",{className:`mt5 ${Lt.havaLearn}`},ne.createElement("span",null,"\u5DF2\u5B66",lt==null?void 0:lt.learned,"%")),ne.createElement("div",{className:`mt5 ${Lt.progress}`},ne.createElement(rt.Z,{percent:lt==null?void 0:lt.learned,showInfo:!1})),ne.createElement("div",{className:"mt5"},ne.createElement("span",{className:"font16"},"\u4E0A\u6B21\u5B66\u4E60\u5185\u5BB9"),ne.createElement("span",{className:"ml20 c-blue-4ca"},lt==null?void 0:lt.last_shixun))),ne.createElement(ye.Z,null,ne.createElement(_e.ZP,{className:Lt.button,type:"primary",onClick:()=>Mt(lt==null?void 0:lt.last_shixun_identifier)},"\u5F00\u59CB\u5B66\u4E60"))):ne.createElement(Te.Z,{className:Lt.wrap,align:"middle"},ne.createElement(ye.Z,{flex:"1"},ne.createElement("span",{className:Lt.name},"\u8FD8\u672A\u5F00\u59CB\u5B66\u4E60")),ne.createElement(ye.Z,null,ne.createElement(_e.ZP,{className:Lt.button,type:"primary",onClick:an},"\u5F00\u59CB\u5B66\u4E60")))))},tn=oe(30897),gt=oe(843),Yt=oe(17696),Fe=oe(17574),it=oe(10906),Pt=oe(22663),nn=oe(53816),zt={tree:"tree___SHCwq",learn:"learn___buOG9",name:"name___dwQwe",sign:"sign___aQzc5",pdf_name:"pdf_name___m1wEX",name_style:"name_style___CnJ7d",color333:"color333___TbHdH"},Ke=oe(89392),Ue=oe(84105),we=oe(38819),ge=oe(38446),ze=oe(75872),Re=oe(59301),Ee=Object.defineProperty,he=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,xe=(lt,Oe,bt)=>Oe in lt?Ee(lt,Oe,{enumerable:!0,configurable:!0,writable:!0,value:bt}):lt[Oe]=bt,Ge=(lt,Oe)=>{for(var bt in Oe||(Oe={}))nt.call(Oe,bt)&&xe(lt,bt,Oe[bt]);if(he)for(var bt of he(Oe))Me.call(Oe,bt)&&xe(lt,bt,Oe[bt]);return lt},wt=(lt,Oe)=>{var bt={};for(var an in lt)nt.call(lt,an)&&Oe.indexOf(an)<0&&(bt[an]=lt[an]);if(lt!=null&&he)for(var an of he(lt))Oe.indexOf(an)<0&&Me.call(lt,an)&&(bt[an]=lt[an]);return bt},ht=(lt,Oe,bt)=>new Promise((an,Dn)=>{var jn=Ut=>{try{Jt(bt.next(Ut))}catch(It){Dn(It)}},Mt=Ut=>{try{Jt(bt.throw(Ut))}catch(It){Dn(It)}},Jt=Ut=>Ut.done?an(Ut.value):Promise.resolve(Ut.value).then(jn,Mt);Jt((bt=bt.apply(lt,Oe)).next())});const Gt=(lt={})=>{var Oe,bt;switch(lt==null?void 0:lt.item_type){case"Challenge":return Re.createElement(Ye.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u4EFB\u52A1\u5173\u5361"},Re.createElement("i",{className:"iconfont icon-renwuguanka1 font20",style:{color:"#39B97E"}}));case"VideoItem":return Re.createElement(Ye.Z,{title:"\u6559\u5B66\u89C6\u9891"},Re.createElement("i",{className:"iconfont icon-shipin2 c-purple-8C1 font20"}));case"StageCatalog":return Re.createElement("i",{className:"iconfont icon-kongbai c-brilliant-blue font20"});case"SubjectHomework":if((lt==null?void 0:lt.homework_type)==="group")return Re.createElement(Ye.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u5206\u7EC4\u4F5C\u4E1A"},Re.createElement("i",{className:"iconfont icon-fenzuzuoye3 font20",style:{color:"#acc218"}}));if((lt==null?void 0:lt.homework_type)==="normal")return Re.createElement(Ye.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u56FE\u6587\u4F5C\u4E1A"},Re.createElement("i",{className:"iconfont icon-tuwenzuoye font20",style:{color:"#1db37f"}}));break;case"ExaminationBank":return Re.createElement(Ye.Z,{title:"\u6D4B\u9A8C\u5F62\u5F0F\uFF1A\u5728\u7EBF\u8003\u8BD5"},Re.createElement("i",{className:"iconfont icon-zhangjieceshibeifen font20",style:{color:"#e9a318"}}));case"HomeworkCommon":if((lt==null?void 0:lt.homework_type)==="hack")return Re.createElement(Ye.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u7F16\u7A0B\u4F5C\u4E1A"},Re.createElement("i",{className:"iconfont icon-bianchengzuoye1 font20",style:{color:"#E99237"}}));break;case"Shixun":return lt!=null&<.is_all_choice?Re.createElement(Ye.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898"},Re.createElement("i",{className:"iconfont icon-xuanzeti4 c-lake-blue font20"})):lt!=null&<.is_unity_3d?((Oe=lt==null?void 0:lt.challenge_types)==null?void 0:Oe.length)<=1?Re.createElement(Ye.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u865A\u62DF\u4EFF\u771F"},Re.createElement("i",{className:"iconfont icon-xunifangzhenti1 font20",style:{color:"#A504D8"}})):Re.createElement(Ye.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898\uFF0B\u865A\u62DF\u4EFF\u771F"},Re.createElement("i",{className:"iconfont icon-rongheti1 font20",style:{color:"#44B7D7"}})):((bt=lt==null?void 0:lt.challenge_types)==null?void 0:bt.length)>1?Re.createElement(Ye.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898\uFF0B\u7F16\u7A0B\u5F00\u53D1"},Re.createElement("i",{className:"iconfont icon-rongheti1 font20",style:{color:"#44B7D7"}})):Re.createElement(Ye.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u7F16\u7A0B\u5F00\u53D1"},Re.createElement("i",{className:"iconfont icon-shixunti2 c-light-primary font20"}));default:return Re.createElement(Ye.Z,{title:"\u6559\u5B66\u8BFE\u4EF6"},Re.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"}))}},kt=lt=>{var Oe=lt,{pathsDetail:bt,globalSetting:an,user:Dn,loading:jn,visibleType:Mt,subjectHomeworkType:Jt,updateSort:Ut,isPaths:It,dispatch:En,keywords:sn,isShowSchedule:In,getData:Hn}=Oe,bn=wt(Oe,["pathsDetail","globalSetting","user","loading","visibleType","subjectHomeworkType","updateSort","isPaths","dispatch","keywords","isShowSchedule","getData"]);let[wn,va]=(0,ne.useState)([]),[Sa,Na]=(0,ne.useState)([]);const On=(0,ve.useParams)(),[ya,Pa]=(0,ne.useState)([]),[qn,aa]=(0,ne.useState)({}),[ja,Ra]=(0,ne.useState)({name:"",filename:"",type:"",className:"",data:"",close:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}});(0,ne.useEffect)(()=>{if(bn.data&&!(0,Ke.isEqual)(bn.data,ya)){Sa=[];const Zt=JSON.parse(JSON.stringify(bn.data));ra(Zt,0),Pa([...Zt]),bn!=null&&bn.expandAll||Mt!="All"?va([...Sa]):va([])}},[bn.data,Mt,bn==null?void 0:bn.expandAll]),(0,ne.useEffect)(()=>{var Zt,ia,ha,Pn,cn,Bn,xn,ba,$t,La;let Aa;if((Zt=bt.detail)!=null&&Zt.has_start){const wa=(ha=(ia=bt.detail)==null?void 0:ia.courses)==null?void 0:ha.findIndex(Ia=>{var Fa;return parseInt((Fa=Ia.course_status)==null?void 0:Fa.status)===1});Aa=wa>-1?wa:0}else{let wa=(Bn=(cn=(Pn=bt.detail)==null?void 0:Pn.courses)==null?void 0:cn.map(Ia=>{var Fa;return parseInt((Fa=Ia.course_status)==null?void 0:Fa.status)}))==null?void 0:Bn.lastIndexOf(2);Aa=wa>-1?wa:0,wa=(ba=(xn=bt.detail)==null?void 0:xn.courses)==null?void 0:ba.findIndex(Ia=>{var Fa;return parseInt((Fa=Ia.course_status)==null?void 0:Fa.status)===0}),Aa=wa>-1?wa:Aa}($t=bt.detail)!=null&&$t.courses&&aa(((La=bt.detail)==null?void 0:La.courses[Aa])||{})},[bt.detail]);const Wa=(Zt,ia,...ha)=>ht(void 0,[Zt,ia,...ha],function*(Pn,cn,Bn={}){const xn=cn?yield(0,y.BK)({id:Pn,challenge_id:Bn==null?void 0:Bn.challenge_id,subject_id:On.pathId}):yield(0,y.Ir)({id:Pn,challenge_id:Bn==null?void 0:Bn.challenge_id,subject_id:On.pathId});if(xn!=null&&xn.game_identifier||xn!=null&&xn.identifier){(0,a.xg)(cn?`/tasks/${xn==null?void 0:xn.identifier}/jupyter`:`/tasks/${xn.game_identifier}?subject_id=${On.pathId||""}`);return}(xn==null?void 0:xn.status)===-3?(0,a.eF)():(xn==null?void 0:xn.status)===2?Ea(xn==null?void 0:xn.message):(xn==null?void 0:xn.status)===3&&Da(xn==null?void 0:xn.message)}),Ea=Zt=>{Zt=Zt!=null&&Zt.includes(".json")?Zt:`${Zt}.json`,Ie.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Re.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>ht(void 0,null,function*(){const ia=yield(0,tn.L8)({url:Zt});if(!ia)return;Ne.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const ha=yield(0,y.Ir)({id:ia.shixun_identifier});if(ha!=null&&ha.game_identifier){(0,a.xg)(`/tasks/${ha.game_identifier}`);return}(ha==null?void 0:ha.status)===2?Ea(ha==null?void 0:ha.message):(ha==null?void 0:ha.status)===3&&Da(ha==null?void 0:ha.message)})})},Da=Zt=>{Ie.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Re.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Zt,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},ka=Zt=>{console.log("onDragEnter:",Zt)},ea=Zt=>ht(void 0,null,function*(){var ia,ha,Pn,cn;console.log("onDrop:",Zt);const Bn=Zt.node.props.eventKey,xn=Zt.dragNode.props.eventKey,ba=Zt.node.props.pos.split("-"),$t=Zt.dropPosition-Number(ba[ba.length-1]);if(ba.length>3&&!Zt.node.dragOverGapBottom&&!Zt.node.dragOverGapTop||Zt.node.dragOver&&Zt.dragNodesKeys.length>1||ba.length>2&&Zt.dragNodesKeys.length>1)return!1;let La=["Attachment","Hack","Shixun","SubjectHomework","Videoltem"];if(La.includes((ia=Zt.dragNode)==null?void 0:ia.item_type)&&((ha=Zt.node)==null?void 0:ha.item_type)!="StageCatalog"&&$t===0||((Pn=Zt.dragNode)==null?void 0:Pn.item_type)==="StageCatalog"&&La.includes((cn=Zt.node)==null?void 0:cn.item_type)&&$t===0)return!1;const Aa=(Fa,Ua,fa)=>{for(let la=0;la{fa.splice(Ua,1),Ia=Fa}),!Zt.dropToGap)Aa(wa,Bn,Fa=>{Fa.children=Fa.children||[],Fa.children.unshift(Ia)});else if((Zt.node.props.children||[]).length>0&&Zt.node.props.expanded&&$t===1)Aa(wa,Bn,Fa=>{Fa.children=Fa.children||[],Fa.children.unshift(Ia)});else{let Fa,Ua;Aa(wa,Bn,(fa,la,Za)=>{Fa=Za,Ua=la}),$t===-1?Fa.splice(Ua,0,Ia):Fa.splice(Ua+1,0,Ia)}yield Ut({stage_id:bn.stage_id,list:wa}),ra(wa,0,0,!0),console.log("data:",wa),Pa([...wa]),va([...wn,Zt.node.key])}),ra=(Zt,ia,ha,Pn)=>{ia=ia||0,Zt.map((cn,Bn)=>{var xn;try{return cn.key2=ia+1+"-"+(Bn+1),cn.key3=bn.index+1+"-"+(Bn+1),cn.title="",Pn||(cn.key=ia+1+"-"+(Bn+1)),ia?cn.index=ha+"-"+(Bn+1):cn.index=cn.key3,(xn=cn.children)!=null&&xn.length&&(Sa.push(cn.key2),ra(cn.children,cn.key2,cn.index,Pn)),cn}catch(ba){}})},na=Zt=>{Zt=Zt||"";let ia=new RegExp(sn,"ig");const ha=Zt.replace(ia,'$&');return sn?Re.createElement("span",{dangerouslySetInnerHTML:{__html:ha}}):Zt},za=(Zt,ia)=>{const{learning_status:ha,name:Pn}=Zt;return(ha==null?void 0:ha[0])==="can"&&(ha==null?void 0:ha[1])==="try"?Re.createElement("div",{className:zt.learn},Re.createElement("span",{className:zt.name},ia?Pn:na(Pn)),Re.createElement("span",{className:zt.sign},"\u514D\u8D39\u8BD5\u5B66")):ia?Pn:na(Pn)},Ma=Zt=>{Mt==="All"&&(wn.includes(Zt)?va(wn.filter(ia=>ia!=Zt)):va(wn.concat(Zt)))},Va=(Zt,ia)=>ht(void 0,null,function*(){if((0,ke.tJ)(En,!0)){if(Zt!=null&&Zt.need_authorize){(0,ke.rX)(!1);return}yield Wa(Zt.identifier,Zt.is_jupyter||Zt.is_jupyter_lab,Zt),ia(),qn!=null&&qn.course_id&&(0,Pt.JS)({id:qn==null?void 0:qn.course_id})}}),xa=Zt=>ht(void 0,null,function*(){var ia,ha,Pn,cn,Bn;if(!(0,ke.tJ)(En))return;if(!((ia=Dn.userInfo)!=null&&ia.admin)&&!((ha=Dn.userInfo)!=null&&ha.business)&&!Zt.can_view&&Zt.item_type!=="Attachment")return Ie.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:Re.createElement("div",{className:"tc font14"},"\u5F53\u524D\u89C6\u9891\u4E3A\u521B\u5EFA\u8005\u6240\u5C5E\u5355\u4F4D\u5185\u90E8\u6559\u5B66\u8D44\u6599\uFF0C\u5916\u5355\u4F4D\u7528\u6237\u65E0\u89C2\u770B\u6743\u9650")});Zt.link&&(0,nn.DH)({is_f:1,id:Zt.id,point:0,total:0});const xn=bn!=null&&bn.course_id?`course_id=${bn==null?void 0:bn.course_id}`:`subject_id=${On.pathId||bn.subject_id}`;if(((cn=Zt==null?void 0:Zt.name)==null?void 0:cn.substr((Pn=Zt==null?void 0:Zt.name)==null?void 0:Pn.lastIndexOf("."))).toUpperCase()===".ZIP"){if(!((Bn=bt.detail)!=null&&Bn.allow_download)){Ne.ZP.info("\u6559\u5B66\u8BFE\u4EF6\u4E0D\u652F\u6301\u4E0B\u8F7D");return}(0,a.FH)(Zt.name,ge.Z.API_SERVER+Zt.url)}else(0,a.xg)(Zt.link||`/video/${Zt.id}?${xn}`);if(Zt.item_type==="Attachment"&&Zt.complete_status!=2){const $t=yield(0,Pt.rS)({attachment_id:Zt.id,status:2})}(Zt.item_type==="Attachment"||Zt.item_type==="VideoItem")&&Hn()}),[Xa,oa]=(0,ne.useState)(!1),Un=Zt=>{Xa||oa(!0)},ma=(0,ne.useMemo)(()=>(console.log("doms:"),Re.createElement(Fe.default,{className:zt.tree,disabled:bn.disabled,expandedKeys:[...wn],draggable:!0,onDragEnter:ka,onDrop:ea,onExpand:Ma,blockNode:!0,titleRender:Zt=>{var ia,ha,Pn,cn,Bn,xn,ba;let $t=Zt;if(Mt=="SubjectHomework"){if(Jt=="group_count"&&($t==null?void 0:$t.homework_type)!="group"||Jt=="normal_count"&&($t==null?void 0:$t.homework_type)!="normal")return null}else if($t.item_type!==Mt&&Mt!=="All")return null;const La=((ia=Zt==null?void 0:Zt.learning_status)==null?void 0:ia[0])==="can";return Re.createElement(Te.Z,{align:"middle",className:"font14",onClick:()=>Ma($t.key),style:{flexWrap:"nowrap",whiteSpace:"nowrap"},onMouseOver:()=>Un($t.key)},Re.createElement(ye.Z,{flex:"30px",style:{display:"flex",alignItems:"center"}},Gt(Zt)),Re.createElement(ye.Z,{flex:"1",className:zt.color333,style:{display:"flex",alignItems:"center",width:300}},bn.cust_seq&&Re.createElement("span",{className:`${zt.color333} mr10`},Zt.index),Zt.item_type!=="Attachment"&&Re.createElement("div",{className:zt.name_style},Re.createElement(Ye.Z,{placement:"topLeft",title:Zt.name},za(Zt,!1))),Zt.item_type==="Attachment"&&Re.createElement("a",{target:"_blank",className:zt.pdf_name,title:Zt.name,onClick:()=>ht(void 0,null,function*(){if((0,ke.tJ)(En)){if(qn!=null&&qn.course_id){const Aa=yield(0,Pt.JS)({id:qn==null?void 0:qn.course_id})}switch(Zt.item_type){case"Attachment":xa($t);break;case"VideoItem":xa(Zt);break;case"ExaminationBank":xa(Zt);break;case"HomeworkCommon":xa(Zt);break;case"SubjectHomework":(Zt.homework_type=="group"||Zt.homework_type=="normal")&&xa(Zt);break;case"Shixun":Va(Zt);break}}})},Zt.name),(Zt.item_type==="Shixun"||Zt.item_type==="Challenge")&&Zt.is_unity_3d&&Re.createElement("span",{style:{background:"#a300d8",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"68px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"\u865A\u62DF\u4EFF\u771F"),(Zt.item_type==="Shixun"||Zt.item_type==="Challenge")&&Zt.is_jupyter_lab&&Re.createElement("span",{style:{background:"#ff6802",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"76px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"JupyterLab"),(Zt.item_type==="Shixun"||Zt.item_type==="Challenge")&&Zt.is_jupyter&&Re.createElement("span",{style:{background:"#ff6802",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"112px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"Jupyter Notebook"),(Zt.item_type==="Shixun"||Zt.item_type==="Challenge")&&((ha=Zt==null?void 0:Zt.shixun_marks)==null?void 0:ha.length)>0&&(((Pn=Dn==null?void 0:Dn.userInfo)==null?void 0:Pn.role)==1||((cn=Dn==null?void 0:Dn.userInfo)==null?void 0:cn.role)==2)&&(Zt==null?void 0:Zt.shixun_marks.map((Aa,wa)=>Re.createElement(Ye.Z,{title:`${Aa}`,key:wa},Re.createElement("span",{style:{background:"#43a2ff",color:"#fff",borderRadius:"13px",marginLeft:"5px",height:"20px",textAlign:"center",fontSize:"12px",maxWidth:"70px",padding:"0px 13px",overflow:"hidden",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",justifyContent:"center",textOverflow:"ellipsis"}},Aa)))),!!((Bn=Zt.schools)!=null&&Bn.length)&&Re.createElement(Ye.Z,{title:"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E"},Re.createElement("i",{className:"iconfont icon-zhidinggongkai1 ml10 c-orange",style:{transform:"translateY(1px)",display:"inline-block"}})),(Zt.item_type==="Shixun"||Zt.item_type==="Challenge")&&!!(Zt!=null&&Zt.finished_challenges_count)&&Re.createElement(Ye.Z,{title:`\u5B8C\u6210\u5EA6:${Math.round((Zt==null?void 0:Zt.finished_challenges_count)/(Zt==null?void 0:Zt.challenges_count)*100)}%`},Re.createElement("i",{className:`iconfont icon-a-wanchengdu100 ml10 ${(Zt==null?void 0:Zt.finished_challenges_count)-(Zt==null?void 0:Zt.challenges_count)===0?"c-light-green":"c-grey-333"}`,style:{transform:"translateY(1px)",display:"inline-block"}}))),!bn.disabled&&Re.createElement("aside",{style:{color:"#0152d9",fontSize:"14px",marginRight:"20px"}},"\u62D6\u52A8\u53EF\u4EE5\u6539\u53D8\u9879\u76EE\u663E\u793A\u987A\u5E8F"),Xa&&Re.createElement(ye.Z,{className:"tr"},($t.item_type==="VideoItem"||($t==null?void 0:$t.item_type)==="Attachment"||($t==null?void 0:$t.item_type)==="StageCatalog"||($t==null?void 0:$t.item_type)==="SubjectHomework"||($t==null?void 0:$t.item_type)==="ExaminationBank"||($t==null?void 0:$t.item_type)==="HomeworkCommon")&&!bn.disabled&&!bn.hiddenEditBtn&&Re.createElement(Ye.Z,{title:"\u7F16\u8F91"},Re.createElement("span",{onClick:()=>{bn.editVidoItem(Ge({stage_id:bn.stage_id},$t))},style:{color:"#ccc",marginRight:"10px"}},Re.createElement(it.Z,null))),!bn.disabled&&Re.createElement(Re.Fragment,null,Re.createElement(Ye.Z,{title:"\u5220\u9664"},Re.createElement("span",{onClick:()=>{bn.deleteStages({id:$t.stage_item_id,stage_id:bn.stage_id})},className:"iconfont icon-shanchu c-grey-c"}))),bn.showVideoPlay&&bn.disabled&&$t.item_type==="SubjectHomework"&&La&&Re.createElement("aside",null,!(0,fe.JA)()&&It&&((0,fe.Ny)()||($t==null?void 0:$t.is_free)||!($t!=null&&$t.is_free)&&($t==null?void 0:$t.is_trial_study))&&Re.createElement(_e.ZP,{className:"mr10",type:"primary",onClick:()=>ht(void 0,null,function*(){(0,ke.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:$t.stage_item_id,title:($t==null?void 0:$t.homework_type)=="group"?"\u5206\u7EC4\u4F5C\u4E1A":"\u56FE\u6587\u4F5C\u4E1A"}}})})},"\u53D1\u9001"),!(0,fe.JA)()&&It&&Re.createElement(_e.ZP,{type:"primary",onClick:()=>ht(void 0,null,function*(){(0,ke.tJ)(En)&&bn.showInfoModal(Ge({stage_id:bn.stage_id},$t))})},"\u67E5\u770B\u8BE6\u60C5")),bn.showVideoPlay&&bn.disabled&&$t.item_type==="ExaminationBank"&&La&&Re.createElement("aside",null,!(0,fe.JA)()&&It&&((0,fe.Ny)()||($t==null?void 0:$t.is_free)||!($t!=null&&$t.is_free)&&($t==null?void 0:$t.is_trial_study))&&Re.createElement(_e.ZP,{className:"mr10",type:"primary",onClick:()=>ht(void 0,null,function*(){(0,ke.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:$t.stage_item_id,title:"\u6D4B\u9A8C",examinationid:$t.id}}})})},"\u53D1\u9001"),!(0,fe.JA)()&&It&&Re.createElement(_e.ZP,{type:"primary",onClick:()=>ht(void 0,null,function*(){(0,ke.tJ)(En)&&window.open(`/paperlibrary/see/${$t.id}?defaultActiveKey=1`)})},"\u67E5\u770B\u8BE6\u60C5")),bn.showVideoPlay&&bn.disabled&&$t.item_type==="HomeworkCommon"&&La&&Re.createElement("aside",null,!(0,fe.JA)()&&It&&((0,fe.Ny)()||($t==null?void 0:$t.is_free)||!($t!=null&&$t.is_free)&&($t==null?void 0:$t.is_trial_study))&&Re.createElement(_e.ZP,{className:"mr10",type:"primary",onClick:()=>ht(void 0,null,function*(){(0,ke.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:$t.stage_item_id,title:"\u7F16\u7A0B\u4F5C\u4E1A",examinationid:$t.id}}})})},"\u53D1\u9001"),!(0,fe.JA)()&&It&&Re.createElement(_e.ZP,{type:"primary",onClick:()=>ht(void 0,null,function*(){(0,ke.tJ)(En)&&bn.showInfoModal(Ge({stage_id:bn.stage_id},$t))})},"\u67E5\u770B\u8BE6\u60C5")),bn.showVideoPlay&&bn.disabled&&$t.item_type==="VideoItem"&&La&&Re.createElement("aside",null,!(0,fe.JA)()&&It&&((0,fe.Ny)()||($t==null?void 0:$t.is_free)||!($t!=null&&$t.is_free)&&($t==null?void 0:$t.is_trial_study))&&Re.createElement(_e.ZP,{className:"mr10",type:"primary",onClick:()=>ht(void 0,null,function*(){(0,ke.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:$t.stage_item_id,title:"\u89C6\u9891"}}})})},"\u53D1\u9001"),Re.createElement(_e.ZP,{type:"primary",className:"mr10",onClick:()=>ht(void 0,null,function*(){xa($t)})},$t.last_point>0?"\u7EE7\u7EED\u5B66\u4E60":"\u5F00\u59CB\u5B66\u4E60")),($t.allow_visit||$t.to_be_built||!$t.shixun_status)&&bn.disabled&&($t.item_type==="Shixun"||$t.item_type==="Challenge")&&La&&Re.createElement("aside",null,!(0,fe.JA)()&&It&&!$t.shixun_status&&((0,fe.Ny)()||($t==null?void 0:$t.is_free)||!($t!=null&&$t.is_free)&&($t==null?void 0:$t.is_trial_study))&&Re.createElement(_e.ZP,{className:"ml10",type:"primary",onClick:()=>ht(void 0,null,function*(){(0,ke.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:$t.stage_item_id,title:"\u5B9E\u8BAD",is_jupyter:$t==null?void 0:$t.is_jupyter,identifier:$t==null?void 0:$t.identifier}}})})},"\u53D1\u9001"),Re.createElement(_e.ZP,{className:"ml10",type:"primary",onClick:()=>ht(void 0,null,function*(){(0,ke.tJ)(En)&&(qn!=null&&qn.course_id&&(yield(0,Pt.JS)({id:qn==null?void 0:qn.course_id})),window.open(`/shixuns/${$t.identifier}/challenges`))})},"\u67E5\u770B\u8BE6\u60C5"),!$t.shixun_status&&Re.createElement(ze.Z,{className:"ml10",type:"primary",onClick:()=>ht(void 0,null,function*(){return new Promise(Aa=>ht(void 0,null,function*(){Va($t,Aa)}))})},$t!=null&&$t.need_authorize?"\u9700\u6388\u6743":Zt!=null&&Zt.finished_challenges_count?(Zt==null?void 0:Zt.finished_challenges_count)-(Zt==null?void 0:Zt.challenges_count)===0?"\u518D\u6B21\u5B9E\u6218":"\u7EE7\u7EED\u5B9E\u6218":"\u5F00\u59CB\u5B9E\u6218")),bn.showVideoPlay&&bn.disabled&&$t.item_type==="Attachment"&&La&&Re.createElement("aside",null,((xn=bt.detail)==null?void 0:xn.allow_download)&&Re.createElement(_e.ZP,{className:"mr10",type:"primary",onClick:()=>ht(void 0,null,function*(){var Aa;(0,ke.tJ)(En)&&(0,a.Nd)("",`${ge.Z.API_SERVER}${(Aa=$t.url)==null?void 0:Aa.replace("disposition=inline","")}`)})},"\u4E0B\u8F7D\u8D44\u6E90"),Re.createElement(_e.ZP,{type:"primary",className:"mr10",onClick:()=>ht(void 0,null,function*(){(0,ke.tJ)(En)&&(0,a.xg)(`/video/${$t.id}?subject_id=${On.pathId||""}`)})},"\u5F00\u59CB\u5B66\u4E60"))),Re.createElement(ye.Z,null,bn.disabled&&$t.shixun_status==="\u6682\u672A\u516C\u5F00"&&Re.createElement("span",{className:`${zt.color204} ml5`},"\u6682\u672A\u53D1\u5E03"),$t.shixun_status==="\u5DF2\u5220\u9664"&&Re.createElement("span",{className:`${zt.color204} ml5`},"\u5DF2\u5220\u9664"),bn.disabled&&!In&&($t.item_type==="Shixun"||$t.item_type==="Challenge")&&!!$t.challenges_count&&Re.createElement("span",{className:"exper\u02C6iment-number ml5 c-grey-999"},"\u5B9E\u9A8C\u6570 ",$t.challenges_count),bn.disabled&&In&&($t.item_type==="Shixun"||$t.item_type==="Challenge")&&!!$t.challenges_count&&$t.shixun_status!=="\u6682\u672A\u516C\u5F00"&&$t.shixun_status!=="\u5DF2\u5220\u9664"&&Re.createElement(Re.Fragment,null,Re.createElement("i",{className:"iconfont icon-wanchenggouxuan font14",style:{marginLeft:"5px",color:$t.finished_challenges_count===$t.challenges_count?"#50DAAE":"#DEDEDE"}}),Re.createElement("span",{style:{marginLeft:"4px"}},Re.createElement("span",{style:{color:"#165DFF",fontSize:"14px"}},$t.finished_challenges_count),Re.createElement("span",{style:{color:"#DEDEDE",fontSize:"14px"}},"/",$t.challenges_count))),bn.disabled&&In&&($t.item_type==="VideoItem"||$t.item_type==="Attachment")&&($t.complete_status==0?Re.createElement("i",{className:"iconfont icon-weidianjixuexi font14",style:{color:"#DEDEDE"}}):$t.complete_status==1?Re.createElement("i",{className:"iconfont icon-yidianjixuexiweiwancheng font14",style:{color:"#50DAAE"}}):Re.createElement("i",{className:"iconfont icon-xuexiwancheng font14",style:{color:"#50DAAE"}})),Mt==="All"&&!!((ba=Zt.children)!=null&&ba.length)&&Re.createElement("span",{className:"ml10"},wn.includes(Zt.key)?Re.createElement(Ue.Z,null):Re.createElement(we.Z,null))))},treeData:ya})),[ya,Sa,wn,Mt,Xa]);return Re.createElement(Re.Fragment,null,ma)};var Nt=(0,ve.connect)(({pathsDetail:lt,loading:Oe,user:bt,globalSetting:an})=>({pathsDetail:lt,globalSetting:an,user:bt,loading:Oe.effects}))(kt),Le=oe(7651),ot=oe(19647),At=oe(57816),ct=oe(5871),yt=oe(64726);const on=({user:lt,onReplyDiscuss:Oe,dispatch:bt,id:an,activeDiscussIndex:Dn,params:jn})=>{const[Mt,Jt]=(0,ne.useState)("");function Ut(En){Jt(En)}console.log(jn,"params33");function It(){if(!Mt){Ne.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}Oe(an,Mt),Jt("")}return ne.createElement("div",{key:an,className:"discuss-item-editor",style:{display:Dn===an?"block":"none",width:"100%"}},ne.createElement(yt.Z,{miniToolbar:!0,startInit:Dn===an,defaultValue:Mt,id:an,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:Ut}),ne.createElement("a",{onClick:It,className:"btn-send"},"\u53D1\u9001"))};var mn=(0,ve.connect)(({shixunsDetail:lt,loading:Oe,globalSetting:bt})=>({shixunsDetail:lt,globalSetting:bt,loading:Oe.models.index}))(on),dn=(lt,Oe,bt)=>new Promise((an,Dn)=>{var jn=Ut=>{try{Jt(bt.next(Ut))}catch(It){Dn(It)}},Mt=Ut=>{try{Jt(bt.throw(Ut))}catch(It){Dn(It)}},Jt=Ut=>Ut.done?an(Ut.value):Promise.resolve(Ut.value).then(jn,Mt);Jt((bt=bt.apply(lt,Oe)).next())});const vn=({user:lt,upDataList:Oe,params:bt,page:an,getTypeNumber:Dn,dispatch:jn,keywords:Mt})=>{const Jt=(Ut,It)=>dn(void 0,null,function*(){const En=yield(0,Pt.ke)({id:Ut,content:It});(En==null?void 0:En.status)===0&&Oe(1,Mt)});return ne.createElement("div",{className:"discuss-item-container bg-white"},ne.createElement("a",{href:`/users/${lt.login}`,target:"_blank"},ne.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",src:`${ge.Z.IMG_SERVER}/images/${lt.image_url}`,width:"50"})),ne.createElement("section",null,ne.createElement(mn,{id:bt.pathId,params:bt,activeDiscussIndex:bt.pathId,onReplyDiscuss:Jt})))};var Wn=(0,ve.connect)(({shixunsDetail:lt,loading:Oe,globalSetting:bt})=>({shixunsDetail:lt,globalSetting:bt,loading:Oe.models.index}))(vn),fn=oe(51555);function Zn(lt,Oe=1){return get("/discusses.json",{page:Oe-1,container_identifier:lt,container_type:"Shixun"})}function $n(lt,Oe){return(0,ue.v_)(`/discusses/${lt}/top_or_down_discuss.json`,{top:Oe})}function ta(lt,Oe){return(0,ue.v_)(`/discusses/${lt}/plus.json`,{container_type:"Discuss",type:Oe?1:0})}function Mn(lt,Oe){return(0,ue.v_)(`/discusses/${lt}/hidden.json`,Oe)}function ua(lt,Oe){return(0,ue.v_)(`/discusses/${lt}/reward_code.json`,Oe)}function Qn(lt){return(0,ue.ZP)(`/api/discusses/${lt}.json`,{method:"delete"})}function Yn(lt,Oe){return(0,ue.v_)(`/discusses/${lt}/reply.json`,{container_type:"Shixun",content:Oe})}function ca(lt){return post("/discusses.json",lt)}var Ca=oe(99325),ln=oe(85469),gn=oe(50484);function An({data:lt,index:Oe,adminOrOperator:bt,parentDiscussIndex:an,shixunIdentifier:Dn,isDelete:jn,user:Mt,onSetRewardData:Jt,onSetActionType:Ut,params:It,deleteCommentAlert:En,shixunName:sn,keywords:In}){const{author:Hn,can_delete:bn,manage:wn,content:va,hidden:Sa,id:Na,reward:On,time:ya}=lt;function Pa(){Jt({id:Na,index:Oe,user_id:Hn.user_id,parentDiscussIndex:an})}function qn(){Ut({id:Na,index:Oe,params:{hidden:Sa?"0":"1",container_identifier:Dn},type:"hidden-discuss",parentDiscussIndex:an,message:Sa?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}function aa(){if(En){Ie.default.info({title:"\u63D0\u793A",content:ne.createElement("div",{className:"tc"}," ","\u8BE5\u6761\u8BC4\u8BBA\u6765\u81EA\u300A",sn,"\u300B\u5B9E\u8DF5\u9879\u76EE\uFF0C\u60A8\u4E0D\u662F\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u7BA1\u7406\u8005\uFF0C\u4E0D\u80FD\u5220\u9664\u8BC4\u8BBA\uFF01"),onOk(){}});return}Ut({id:Na,index:Oe,type:"delete-discuss",parentDiscussIndex:an,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}return ne.createElement("div",{className:"second-level-discuss"},ne.createElement("div",{className:"discuss-info-body"},ne.createElement("div",{className:"discuss-info"},ne.createElement("a",{href:`/users/${Hn.login}`,target:"_blank"},Hn.name),ne.createElement("span",{className:"grey"},ya),On?ne.createElement("a",{className:"c-orange gift",title:`\u5DF2\u5956\u52B1\u91D1\u5E01${On}`},ne.createElement("i",{className:"iconfont icon-gift c-orange "}),ne.createElement("span",null,On)):null),ne.createElement("div",{className:In?"hidden":"btn-group"},bt?ne.createElement("a",{onClick:Pa,title:"\u7ED9TA\u5956\u52B1\u91D1\u5E01"},ne.createElement("i",{className:"iconfont icon-jiangli"})):null,bt?ne.createElement("a",{onClick:qn,title:Sa?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ne.createElement("i",{className:Sa?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,wn?ne.createElement("a",{onClick:aa,title:"\u5220\u9664"},ne.createElement("i",{className:"iconfont icon-shanchu"})):null)),ne.createElement(Ca.Z,{className:"discuss-content",value:va,highlightKeywords:In}))}var Sn=({data:lt,index:Oe,shixunIdentifier:bt,adminOrOperator:an,identity:Dn,onTopOrDownDiscuss:jn,onPlusDiscuss:Mt,onSetActionType:Jt,onSetRewardData:Ut,user:It,isDelete:En,activeDiscussIndex:sn,onReplyDiscuss:In,onSetActiveDiscussIndex:Hn,params:bn,keywords:wn})=>{const{content:va,children:Sa,game_url:Na,hidden:On,id:ya,position:Pa,praise_count:qn,reward:aa,sticky:ja,time:Ra,user_praise:Wa,game_passed:Ea,delete_comment_alert:Da,author:ka,shixun_name:ea,manage:ra}=lt;function na(){Hn(ya)}function za(){jn(ya,!ja,Oe)}function Ma(){Mt(ya,!Wa,Oe)}function Va(){Ut({id:ya,index:Oe,user_id:ka.user_id})}function xa(){if(Da){Ie.default.info({title:"\u63D0\u793A",content:ne.createElement("div",{className:"tc"}," ","\u8BE5\u6761\u8BC4\u8BBA\u6765\u81EA\u300A",ea,"\u300B\u5B9E\u8DF5\u9879\u76EE\uFF0C\u60A8\u4E0D\u662F\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u7BA1\u7406\u8005\uFF0C\u4E0D\u80FD\u5220\u9664\u8BC4\u8BBA\uFF01"),onOk(){}});return}Jt({id:ya,index:Oe,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function Xa(){Jt({id:ya,index:Oe,params:{hidden:On?"0":"1",container_identifier:bt},type:"hidden-discuss",message:On?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const oa=Un=>{let{nodeName:ma,src:Zt}=Un.target;ma==="IMG"&&(gn.Z.publish("preview-image",Zt),console.log("src:",Zt))};return ne.createElement("div",{className:"discuss-item-container",key:ya},ne.createElement("a",{href:`/users/${ka.login}`,target:"_blank"},ne.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",src:`${ge.Z.IMG_SERVER}/images/${ka.image_url}`,width:"50"})),ne.createElement("section",null,ne.createElement("div",{className:"discuss-info"},ne.createElement("a",{href:`/users/${ka.login}`,target:"_blank"},ka.name),ne.createElement("span",{className:"grey"},Ra),Pa?ne.createElement("span",{className:"c-green"}," [\u7B2C",Pa,"\u5173] "):null,Na?ne.createElement("a",{href:Na,target:"_blank",className:"view-code",title:"\u70B9\u51FB\u67E5\u770BTA\u7684\u4EE3\u7801\u9875\u9762"},"\u67E5\u770B"):null,aa?ne.createElement("a",{className:"c-orange gift",title:`\u5DF2\u5956\u52B1\u91D1\u5E01${aa}`},ne.createElement("i",{className:"iconfont icon-gift c-orange "}),ne.createElement("span",null,aa)):null,Dn<=5?ne.createElement("span",{style:{flex:"1",textAlign:"right",color:Ea===1?"#29bd8b":""}},Ea||Ea===0?Ea===1?"\u5DF2\u901A\u5173":"\u672A\u901A\u5173":""):null),ne.createElement("div",{onClick:oa},ne.createElement(Ca.Z,{className:"discuss-content",value:va,highlightKeywords:wn})),Sa&&Sa.length>0?ne.createElement("div",{className:"reply-discuss-container",onClick:oa},Sa.map((Un,ma)=>ne.createElement(An,{key:Un.id,data:Un,index:ma,deleteCommentAlert:Da,shixunName:ea,shixunIdentifier:bt,adminOrOperator:an,user:It,isDelete:En,onSetRewardData:Ut,onSetActionType:Jt,parentDiscussIndex:Oe,keywords:wn}))):null,ne.createElement("div",{className:wn?"hidden":"btn-group"},an?ne.createElement("a",{onClick:Va,title:"\u7ED9TA\u5956\u52B1\u91D1\u5E01"},ne.createElement("i",{className:"iconfont icon-jiangli"})):null,an?ne.createElement("a",{onClick:Xa,title:On?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ne.createElement("i",{className:On?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,ra&&(!Sa||Sa.length==0)&&ne.createElement("a",{onClick:xa,title:"\u5220\u9664"},ne.createElement("i",{className:"iconfont icon-shanchu"})),ne.createElement("a",{onClick:na,title:"\u56DE\u590D"},ne.createElement("i",{className:"iconfont icon-huifu1"})),ne.createElement("a",{onClick:Ma,className:Wa?"c-orange":""},ne.createElement("i",{className:Wa?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ne.createElement("span",null,qn||""))),ne.createElement(mn,{id:ya,params:bn,activeDiscussIndex:sn,onReplyDiscuss:In})))},Fn=Object.defineProperty,Kn=Object.defineProperties,Rn=Object.getOwnPropertyDescriptors,at=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,Xt=(lt,Oe,bt)=>Oe in lt?Fn(lt,Oe,{enumerable:!0,configurable:!0,writable:!0,value:bt}):lt[Oe]=bt,un=(lt,Oe)=>{for(var bt in Oe||(Oe={}))mt.call(Oe,bt)&&Xt(lt,bt,Oe[bt]);if(at)for(var bt of at(Oe))dt.call(Oe,bt)&&Xt(lt,bt,Oe[bt]);return lt},rn=(lt,Oe)=>Kn(lt,Rn(Oe)),Xn=(lt,Oe,bt)=>new Promise((an,Dn)=>{var jn=Ut=>{try{Jt(bt.next(Ut))}catch(It){Dn(It)}},Mt=Ut=>{try{Jt(bt.throw(Ut))}catch(It){Dn(It)}},Jt=Ut=>Ut.done?an(Ut.value):Promise.resolve(Ut.value).then(jn,Mt);Jt((bt=bt.apply(lt,Oe)).next())});const kn={showRewardDialog:!1,data:null,page:1,loading:!1,actionType:null,activeDiscussIndex:null};function pn(lt,Oe){switch(Oe.type){case fn.tD:return rn(un({},lt),{loading:!0});case fn.RS:return rn(un({},lt),{showRewardDialog:!0});case fn.t2:return rn(un({},lt),{showRewardDialog:!1});case fn.GR:return un(un({},lt),Oe.payload);case fn.u8:return un(un({},lt),Oe.payload);case fn.rM:return un(un({},lt),Oe.payload);case fn.yS:return un(un({},lt),Oe.payload);case fn.Vn:return un(un({},lt),Oe.payload);case fn.SX:return un(un({},lt),Oe.payload);default:throw new Error}}var Vn=({shixunIdentifier:lt,identity:Oe,activeIndex:bt,user:an,isShixunDetail:Dn=!1,isDelete:jn,getTypeNumber:Mt,params:Jt,getData:Ut,isNotDiscuss:It,keywords:En,setTypeCount:sn})=>{const[In,Hn]=(0,ne.useReducer)(pn,kn),{page:bn,loading:wn,data:va,actionType:Sa,showRewardDialog:Na,activeDiscussIndex:On}=In,ya=(0,ne.useRef)(),Pa=(0,ne.useRef)();function qn(Un){return Xn(this,null,function*(){if(!wn)try{Hn({type:fn.tD});const ma=yield(0,Pt.Mu)({coursesId:Jt==null?void 0:Jt.pathId,page:Un,keywords:En});sn(ma==null?void 0:ma.disscuss_count),Hn({type:fn.GR,payload:{activeDiscussIndex:null,page:Un,data:ma,loading:!1}})}catch(ma){console.log(ma)}})}function aa(Un){document.body.scrollIntoView(),qn(Un)}function ja(Un,ma,Zt){return Xn(this,null,function*(){try{const ia=yield ta(Un,ma);xa[Zt].user_praise=ma,xa[Zt].praise_count=ia.praise_count,Hn({type:fn.rM,payload:{data:rn(un({},va),{comments:xa})}})}catch(ia){console.log(ia)}})}function Ra(Un,ma,Zt){return Xn(this,null,function*(){try{yield $n(Un,ma),xa[Zt].sticky=ma,Hn({type:fn.u8,payload:{data:rn(un({},va),{comments:xa})}})}catch(ia){console.log(ia)}})}function Wa(){Hn({type:fn.yS,payload:{actionType:null}})}function Ea(){return Xn(this,null,function*(){const{id:Un,params:ma,type:Zt,index:ia,parentDiscussIndex:ha}=Sa;if(Zt==="hidden-discuss"&&(yield Mn(Un,ma),ha?xa[ha].children[ia].hidden=ma.hidden==1:xa[ia].hidden=ma.hidden==1,Hn({type:fn.yS,payload:{actionType:null,data:rn(un({},va),{comments:xa})}})),Zt==="delete-discuss"){if(yield Qn(Un),ha||ha===0){let Pn=xa[ha].children;for(let cn=Pn.length-1;cn>=0;cn--)if(Pn[cn].id===Un){Pn.splice(cn,1);break}xa[ha].children=Pn}else for(let Pn=xa.length-1;Pn>=0;Pn--)if(xa[Pn].id===Un){xa.splice(Pn,1);break}Hn({type:fn.yS,payload:{actionType:null,data:rn(un({},va),{comments:xa})}})}})}function Da(Un){Hn({type:fn.yS,payload:{actionType:Un}})}function ka(){Hn({type:fn.t2})}function ea(){return Xn(this,null,function*(){const{id:Un,index:ma,score:Zt,user_id:ia,parentDiscussIndex:ha}=ya.current,Pn=yield ua(Un,{container_type:"Discusses",score:Zt,user_id:ia});ha?xa[ha].children[ma].reward=Pn.code:xa[ma].reward=Pn.code,Hn({type:fn.Vn,payload:{showRewardDialog:!1,data:rn(un({},va),{comments:xa})}}),ya.current=null})}function ra(Un){ya.current=Un,Hn({type:fn.RS})}function na(Un){ya.current.score=Un}function za(Un,ma){return Xn(this,null,function*(){try{yield Yn(Un,ma),qn(bn),Ut()}catch(Zt){console.log(Zt)}})}function Ma(Un){Hn(On===Un?{type:fn.SX,payload:{activeDiscussIndex:null}}:{type:fn.SX,payload:{activeDiscussIndex:Un}})}if((0,ne.useEffect)(()=>{function Un(){return Xn(this,null,function*(){bt===3&&!va&<&&(yield qn(bn))})}Un()},[Jt.pathId,En]),(0,ne.useEffect)(()=>{qn()},[En]),!va)return!Dn&&ne.createElement(Le.Z,null);const{disscuss_count:Va,comments:xa,all:Xa,can_hidden:oa}=va;return ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"discuss-container discuss-warp-container",ref:Pa},!Dn&&wn?ne.createElement(Le.Z,null):null,Va===0?ne.createElement("div",{style:{display:"flex"}},ne.createElement(At.Z,null)):null,(0,fe.bg)()&&!It&&!En&&ne.createElement(Wn,{getTypeNumber:Mt,upDataList:qn,page:bn,user:an,params:Jt,keywords:En}),ne.createElement("aside",{className:"bg-white"},xa==null?void 0:xa.map((Un,ma)=>ne.createElement(Sn,{user:an,key:Un.id,data:Un,index:ma,identity:Oe,onPaginationChange:aa,shixunIdentifier:lt,isDelete:jn,onSetActionType:Da,onTopOrDownDiscuss:Ra,adminOrOperator:oa,onPlusDiscuss:ja,onSetRewardData:ra,activeDiscussIndex:On,onSetActiveDiscussIndex:Ma,onReplyDiscuss:za,keywords:En}))),Va>10?ne.createElement("div",{className:"pagination-container tc"},ne.createElement(ie.Z,{showQuickJumper:!0,showSizeChanger:!1,onChange:aa,current:bn,total:Va})):null),ne.createElement(ot.Z,null,ne.createElement(Ie.default,{centered:!0,title:"\u63D0\u793A",open:!!Sa,onOk:Ea,onCancel:Wa},ne.createElement("p",null,Sa?Sa.message:"")),ne.createElement(Ie.default,{centered:!0,width:400,title:"\u5956\u52B1\u8BBE\u7F6E",open:Na,onCancel:ka,onOk:ea},ne.createElement(ct.Z,{placeholder:"\u8BF7\u8F93\u5165\u5956\u52B1\u7684\u91D1\u5E01\u6570\u91CF",min:1,onChange:na,style:{width:"228px"}}))))},_t=oe(11420),be=oe(59301),qt=Object.defineProperty,yn=Object.defineProperties,hn=Object.getOwnPropertyDescriptors,Cn=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,Ct=(lt,Oe,bt)=>Oe in lt?qt(lt,Oe,{enumerable:!0,configurable:!0,writable:!0,value:bt}):lt[Oe]=bt,Et=(lt,Oe)=>{for(var bt in Oe||(Oe={}))Be.call(Oe,bt)&&Ct(lt,bt,Oe[bt]);if(Cn)for(var bt of Cn(Oe))vt.call(Oe,bt)&&Ct(lt,bt,Oe[bt]);return lt},Qt=(lt,Oe)=>yn(lt,hn(Oe)),jt=(lt,Oe)=>{var bt={};for(var an in lt)Be.call(lt,an)&&Oe.indexOf(an)<0&&(bt[an]=lt[an]);if(lt!=null&&Cn)for(var an of Cn(lt))Oe.indexOf(an)<0&&vt.call(lt,an)&&(bt[an]=lt[an]);return bt},Ht=(lt,Oe,bt)=>new Promise((an,Dn)=>{var jn=Ut=>{try{Jt(bt.next(Ut))}catch(It){Dn(It)}},Mt=Ut=>{try{Jt(bt.throw(Ut))}catch(It){Dn(It)}},Jt=Ut=>Ut.done?an(Ut.value):Promise.resolve(Ut.value).then(jn,Mt);Jt((bt=bt.apply(lt,Oe)).next())});const Kt=lt=>{var Oe=lt,{classroomList:bt,user:an,globalSetting:Dn,loading:jn,dispatch:Mt}=Oe,Jt=jt(Oe,["classroomList","user","globalSetting","loading","dispatch"]),Ut;const It=(0,ve.useParams)(),{detailTopBanner:En}=bt,[sn,In]=(0,ne.useState)([]),[Hn,bn]=(0,ne.useState)({}),[wn,va]=(0,ne.useState)(-1),[Sa,Na]=(0,ne.useState)(!1),[On,ya]=(0,ne.useState)({name:"",is_jupyter:!1}),[Pa]=Je.default.useForm(),[qn]=Je.default.useForm(),[aa]=Je.default.useForm(),[ja,Ra]=(0,ne.useState)(!1),[Wa,Ea]=(0,ne.useState)(),[Da,ka]=(0,ne.useState)([]),[ea,ra]=(0,ne.useState)(),[na,za]=(0,ne.useState)("All"),[Ma,Va]=(0,ne.useState)(!0),[xa,Xa]=(0,ne.useState)(0),[oa,Un]=(0,ne.useState)(""),[ma,Zt]=(0,ne.useState)(0),[ia,ha]=(0,ne.useState)([{name:"\u5168\u90E8",totalName:"\u8BFE\u7A0B\u5B66\u4E60",type:"All",number:0},{name:"\u5B9E\u8DF5\u9879\u76EE",totalName:"\u5B9E\u8DF5\u9879\u76EE",type:"Shixun",number:0},{name:"\u89C6\u9891\u9879\u76EE",totalName:"\u89C6\u9891\u9879\u76EE",type:"VideoItem",number:0},{name:"\u6559\u5B66\u8BFE\u4EF6",totalName:"\u6559\u5B66\u8BFE\u4EF6",type:"Attachment",number:0},{name:"\u8BA8\u8BBA",totalName:"\u8BA8\u8BBA",type:"Discusses",number:0},{name:"\u5173\u5361",totalName:"\u5173\u5361",type:"challenges_count",number:0}]),Pn=(0,ne.useRef)();(0,ne.useEffect)(()=>{la()},[It==null?void 0:It.coursesId]),(0,ne.useEffect)(()=>{bt.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&la()},[bt.actionTabs.key]),(0,ne.useEffect)(()=>{Bn()},[Hn]),(0,ne.useEffect)(()=>{const en=sn.map(sa=>sa.items);let Nn=0;en.map(sa=>{sa.map(Ga=>{new RegExp(oa,"ig").test(Ga.name)&&(Ga.item_type===na||na==="All")&&Nn++})}),Nn>ia.find(sa=>sa.type===na).number&&(Nn=ia.find(sa=>sa.type===na).number),Zt(Nn)},[sn,na,oa]),(0,ne.useEffect)(()=>{if(!Pn.current)return;function en(){var sa;let Ga=new ResizeObserver(er=>{for(let pr of er);});return Ga.observe((sa=Pn.current)==null?void 0:sa.firstElementChild),Ga}const Nn=en();return()=>{var sa,Ga;(sa=Pn.current)!=null&&sa.firstElementChild&&Nn.unobserve((Ga=Pn.current)==null?void 0:Ga.firstElementChild)}},[Pn.current,sn]);const cn=en=>Ht(void 0,null,function*(){const Nn=yield(0,de.Ex)(Et({},en));return sn[wn].items=en.list,Nn}),Bn=()=>{const{shixuns_count:en=0,videos_count:Nn=0,pdf_attachments_count:sa=0,disscuss_count:Ga=0,challenges_count:er=0}=Hn,pr={All:en+Nn+sa+er,Shixun:en,VideoItem:Nn,Attachment:sa,Discusses:Ga,challenges_count:er},Er=ia.map(Qa=>Qt(Et({},Qa),{number:pr[Qa.type]}));ha(Er)},xn=en=>{var Nn;wn===-1?(Un((Nn=decodeURIComponent(en))==null?void 0:Nn.trim()),va(-1)):Ne.ZP.warning("\u8BF7\u5148\u53D6\u6D88\u7F16\u8F91\u72B6\u6001")},ba=en=>Ht(void 0,null,function*(){Mt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const Nn=yield(0,y.Ir)({id:en});if(Mt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),Nn!=null&&Nn.game_identifier){(0,a.xg)(`/tasks/${Nn.game_identifier}`);return}(Nn==null?void 0:Nn.status)===2?$t(Nn==null?void 0:Nn.message):(Nn==null?void 0:Nn.status)===3&&La(Nn==null?void 0:Nn.message)}),$t=en=>{en=en!=null&&en.includes(".json")?en:`${en}.json`,Ie.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:be.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Ht(void 0,null,function*(){const Nn=yield(0,tn.L8)({url:en});if(!Nn)return;Ne.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const sa=yield(0,y.Ir)({id:Nn.shixun_identifier});if(sa!=null&&sa.game_identifier){(0,a.xg)(`/tasks/${sa.game_identifier}`);return}(sa==null?void 0:sa.status)===2?$t(sa==null?void 0:sa.message):(sa==null?void 0:sa.status)===3&&La(sa==null?void 0:sa.message)})})},La=en=>{Ie.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:be.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",en,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Aa=()=>{const en={shixuns_list:[],items:[]};Ia(sn.length,en),In([...sn,en]),Ea(!0)},wa=()=>{wn===sn.length-1&&Wa&&(fr(),In(sn.filter((en,Nn)=>Nn!==sn.length-1))),la(),va(-1)},Ia=(en,Nn)=>{nr()&&(va(en),Pa.setFieldsValue({name:Nn.stage_name,description:Nn.stage_description}))},Fa=en=>{var Nn;setTimeout(()=>{document.documentElement.scrollTop=xa},300),en!=="\u53D6\u6D88"&&(sn[wn].items=(Nn=sn[wn].items)==null?void 0:Nn.concat(en),In([...sn]))},Ua=en=>{var Nn;en.map(sa=>(sa.type="Attachment",sa.id=sa.id||sa.response.id,sa.url=`/api/attachments/${sa.id||sa.response.id}`,sa)),sn[wn].items=(Nn=sn[wn].items)==null?void 0:Nn.concat(en),In([...sn])},fa=en=>Ht(void 0,null,function*(){const Nn=yield(0,de.A2)(Et({id:sn[wn].stage_id,course_id:It.coursesId},en));if(Nn.id){ra(!1);const sa=[Et({},Nn)];sn[wn].items=sn[wn].items.concat(sa),In([...sn])}return Nn}),la=()=>Ht(void 0,null,function*(){Va(!0);const en=yield(0,de.R7)({coursesId:It==null?void 0:It.coursesId});en!=null&&en.stages&&In(en!=null&&en.stages?[...en==null?void 0:en.stages]:[]),bn(en?Et({},en):{}),Va(!1),fr(),va(-1)}),Za=(en,Nn)=>Ht(void 0,null,function*(){var sa;if(!(en!=null&&en.name))return Ne.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");fr();const Ga=[];if((sa=sn[wn][Nn||"shixuns_list"])==null||sa.map(er=>{Ga.push({type:er.item_type,id:er.id})}),Wa){const er=yield(0,de.CI)(Qt(Et({},en),{coursesId:It.coursesId,list:Ga}));er&&(sn[wn]=Et(Et({},sn[wn]),er))}else{const er=yield(0,de.xn)(Qt(Et({},en),{id:sn[wn].stage_id,type:Array.from(new Set(Ga.map(pr=>pr.type))),list:Ga}));er&&(sn[wn]=Et(Et({},sn[wn]),er))}}),Ta=(en,Nn,sa)=>{const Ga=Array.from(en),[er]=Ga.splice(Nn,1);return Ga.splice(sa,0,er),Ga},pa=(en,Nn)=>{Ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u5B9E\u8BAD\u5417\uFF1F",onOk:()=>{sn[wn][Nn||"shixuns_list"].splice(en,1),Ne.ZP.success("\u5220\u9664\u6210\u529F"),In([...sn]),Za(Pa.getFieldsValue(),Nn)}})},ga=en=>{Ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u7AE0\u8282\u5417\uFF1F",onOk:()=>Ht(void 0,null,function*(){(yield(0,de._V)({id:en})).status===0&&(va(-1),Ne.ZP.success("\u5220\u9664\u6210\u529F"),la())})})},Ya=en=>{Ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u7AE0\u8282\u5417\uFF1F",onOk:()=>Ht(void 0,null,function*(){(yield(0,de.WW)(Et({},en))).status===0&&(va(-1),Ne.ZP.success("\u5220\u9664\u6210\u529F"),la())})})},_a=()=>{ya({name:"",is_jupyter:!1}),qn.setFieldsValue({name:"",is_jupyter:!1}),Na(!1)},Ja=(en,Nn)=>{if(!en.destination)return;const sa=Ta(sn[wn][Nn||"shixuns_list"],en.source.index,en.destination.index);sn[wn][Nn||"shixuns_list"]=sa,In([...sn]),Za(Pa.getFieldsValue(),Nn)},ir=en=>Ht(void 0,null,function*(){if(!nr())return;(yield(0,de.ms)({id:en})).status===0&&la()}),sr=en=>Ht(void 0,null,function*(){if(!nr())return;(yield(0,de.yy)({id:en})).status===0&&la()}),nr=()=>wn!==-1?(Ie.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,title:"\u63D0\u793A",content:be.createElement("div",{className:"tc font14"},"\u5F53\u524D\u5355\u5143\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\u8BB0\u5F55\uFF0C\u8BF7\u5148\u4FDD\u5B58\uFF01"),onOk:()=>{const en=`Edit_${wn}`;let Nn=document.getElementById(en);Nn&&setTimeout(()=>Nn.scrollIntoView({block:"start",behavior:"smooth"}))}}),!1):!0,ar=()=>{Za(Pa.getFieldsValue())},fr=()=>{Ea(!1)},vr=(en,Nn,sa)=>be.createElement(Te.Z,{className:"list-item-row",align:"middle",key:Nn,gutter:[5,10]},be.createElement(ye.Z,null,en.item_type==="Shixun"?be.createElement("i",{className:"iconfont c-green-shixun c-light-primary font20"}):be.createElement("i",{className:"iconfont icon-shipin2 c-purple-8C1 font20"})),be.createElement(ye.Z,{flex:1,className:!en.allow_visit&&!en.to_be_built&&(en.shixun_status==="\u6682\u672A\u516C\u5F00"||en.shixun_status==="\u5DF2\u5220\u9664")?x.color204:""},sa+1,"-",Nn+1,"\xA0\xA0",en.name,wn===-1&&en.complete_status===1&&be.createElement("span",{className:x.completed},be.createElement("i",{className:"iconfont icon-duigou1 mr5 font12"}),"\u5DF2\u5B8C\u6210")),be.createElement(ye.Z,null,wn===sa&&be.createElement("div",null,be.createElement(Ye.Z,{title:"\u5220\u9664"},be.createElement("span",{onClick:()=>{pa(Nn,"shixuns_list")},className:"iconfont icon-shanchu c-grey-c"}))),wn!==sa&&en.item_type==="VideoItem"&&be.createElement("aside",null,be.createElement(_e.ZP,{type:"primary",href:en.link||`/video/${en.id}?course_id=${It==null?void 0:It.coursesId}`,target:"_blank"},en.last_point>0?"\u7EE7\u7EED\u5B66\u4E60":"\u5F00\u59CB\u5B66\u4E60")),(en.allow_visit||en.to_be_built||en.shixun_status!=="\u6682\u672A\u516C\u5F00"&&en.shixun_status!=="\u5DF2\u5220\u9664")&&wn!==sa&&en.item_type==="Shixun"&&be.createElement("aside",null,be.createElement(ve.Link,{to:`/shixuns/${en.identifier}/challenges`,target:"_blank"},"\u67E5\u770B\u8BE6\u60C5"),en.shixun_status!=="\u6682\u672A\u516C\u5F00"&&be.createElement(_e.ZP,{className:"ml20",type:"primary",onClick:()=>{(0,ke.tJ)(Mt)&&ba(en.identifier)}},"\u5F00\u59CB\u5B9E\u6218")),wn===-1&&!en.allow_visit&&en.shixun_status==="\u6682\u672A\u516C\u5F00"&&be.createElement("span",{className:x.color204},"\u6682\u672A\u516C\u5F00"),wn===-1&&!en.allow_visit&&en.shixun_status==="\u5DF2\u5220\u9664"&&be.createElement("span",{className:x.color204},"\u5DF2\u5220\u9664"),wn===-1&&en.allow_visit&&en.item_type==="Shixun"&&be.createElement("span",{className:`${x.color204} ml5 experiment-number`},"\u5B9E\u9A8C\u6570 ",en.challenges_count))),Ar=(en,Nn)=>{var sa,Ga,er,pr;if(na!=="All"&&!((sa=en.stage_tag)!=null&&sa.includes(na)))return null;const Er=en.items.filter(Qa=>{var lr,Fr;return new RegExp(oa,"ig").test(Qa.name)&&(Qa.item_type===na||na==="All"||((Fr=(lr=Qa==null?void 0:Qa.children)==null?void 0:lr.filter(gr=>{var xr,Gr;return gr.item_type===na||na==="All"||((Gr=(xr=gr==null?void 0:gr.children)==null?void 0:xr.filter(yo=>yo.item_type===na||na==="All"))==null?void 0:Gr.length)>0}))==null?void 0:Fr.length)>0)});return oa&&(Er!=null&&Er.length)||!oa?be.createElement("section",{key:Nn,className:"bg-white pt30 mb20 pb20 pl10 pr10"},be.createElement("aside",{className:"pl20 pr20"},be.createElement(Te.Z,{gutter:[5,20],align:"middle",style:{lineHeight:"16px"}},be.createElement(ye.Z,{flex:"22px"},be.createElement("span",{className:x.icons},be.createElement("i",{className:"iconfont icon-zhangjie2 font18"}))),be.createElement(ye.Z,{flex:1,className:"tl font18 bold c-grey-333"},en.stage_name||`\u7B2C${sn==null?void 0:sn.length}\u90E8\u5206`),be.createElement(ye.Z,null,(0,fe.GJ)()&&wn===Nn&&!Wa&&be.createElement(Ye.Z,{title:"\u5220\u9664"},be.createElement("span",{onClick:()=>{ga(en.stage_id)},className:"iconfont icon-shanchu c-grey-c"})),(0,fe.GJ)()&&wn!==Nn&&na==="All"&&!oa&&be.createElement("div",null,Nn>0&&be.createElement(Ye.Z,{title:"\u5411\u4E0A\u79FB\u52A8"},be.createElement("span",{onClick:()=>ir(en.stage_id),className:"iconfont icon-xiangshangyi c-light-green font18 current"})),Nnsr(en.stage_id),className:"iconfont icon-xiangxiayi c-light-green font18 current ml5"})),!Wa&&be.createElement(Ye.Z,{title:"\u7F16\u8F91"},be.createElement("span",{onClick:()=>Ia(Nn,en),className:"iconfont icon-bianjidaibeijing c-light-green font20 current ml5"}))))),!!en.stage_description&&be.createElement("div",{style:{marginTop:12}},be.createElement("div",{ref:Pn,className:`${x.introContent} ${en!=null&&en.showReadFull?"":x.introContentMaxHeight}`},be.createElement(Ca.Z,{value:en==null?void 0:en.stage_description})),(en==null?void 0:en.showExpansion)&&be.createElement("div",{onClick:Qa=>{sn[Nn].showReadFull=!(en!=null&&en.showReadFull),In([...sn])}},be.createElement(st.Z,{dashed:!1,className:"",style:{cursor:"pointer"}},be.createElement("a",{className:`font14 ${x.color999}`},en!=null&&en.showReadFull?"\u6536\u8D77\u5168\u6587 ":"\u9605\u8BFB\u5168\u6587 ",be.createElement("i",{className:`iconfont font14 ${en!=null&&en.showReadFull?"icon-changyongtubiao-xianxingdaochu-zhuanqu-":"icon-jiantou9"}`})))))),wn===Nn&&be.createElement("div",{className:"pl20 pr20 pt20"},be.createElement("aside",null,be.createElement(Je.default.Item,{name:"name",label:"\u540D\u79F0",rules:[{required:!0,message:"\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}]},be.createElement(pt.default,{size:"middle",maxLength:60,placeholder:`\u8BF7\u8F93\u5165\u7B2C${sn==null?void 0:sn.length}\u9636\u6BB5\u540D\u79F0,\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26`,onBlur:ar})),be.createElement(Je.default.Item,{name:"description",label:"\u63CF\u8FF0",rules:[{required:!0,message:"\u63CF\u8FF0\u4E0D\u80FD\u4E3A\u7A7A"}]},be.createElement(pt.default.TextArea,{rows:5,maxLength:300,placeholder:`\u8BF7\u8F93\u5165\u7B2C${sn==null?void 0:sn.length}\u9636\u6BB5\u63CF\u8FF0`,onBlur:ar}))),be.createElement("aside",{style:{display:"flex",justifyContent:"space-evenly"}},be.createElement(_e.ZP,{size:"middle",className:"mt10",onClick:()=>{if(!sn[wn].stage_id)return Ne.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");(0,ke.tJ)(Mt)&&(0,ke.xY)()&&(Na(!0),qn.setFieldsValue({name:"",is_jupyter:!1}))}},be.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE"),be.createElement("br",null),be.createElement(_e.ZP,{size:"middle",className:"mt10",onClick:()=>{var Qa;if(!sn[wn].stage_id)return Ne.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");Xa(document.documentElement.scrollTop),Mt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",id:sn[wn].stage_id,course_id:It.coursesId}}),ka((Qa=en==null?void 0:en.shixuns_list)==null?void 0:Qa.map(lr=>lr.id))}},be.createElement("span",{className:"iconfont icon-tianjiafangda mr5"}),"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"),be.createElement("br",null),!((Ga=Dn==null?void 0:Dn.setting)!=null&&Ga.is_local)&&be.createElement(be.Fragment,null,be.createElement(_e.ZP,{size:"middle",className:"mt10",onClick:()=>{var Qa,lr;if(!sn[wn].stage_id)return Ne.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");((Qa=an.userInfo)!=null&&Qa.admin||(lr=an.userInfo)!=null&&lr.is_teacher&&(0,ke.O5)())&&ra(!0)}},be.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE"),be.createElement("br",null)),be.createElement(_e.ZP,{size:"middle",className:"mt10",onClick:()=>{if(!sn[wn].stage_id)return Ne.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");(0,ke.tJ)(Mt)&&(0,ke.xY)()&&(Ra(!0),aa.resetFields())}},be.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u6559\u5B66\u8BFE\u4EF6"),be.createElement("br",null)),be.createElement("aside",{className:"c-light-black mt10 pb20",id:`Edit_${Nn}`},"\u4E0B\u9762\u5B9E\u8BAD\u53EF\u4EE5\u901A\u8FC7\u62D6\u62FD\u8FDB\u884C\u6392\u5E8F\u8C03\u6574")),!!((er=en.attachments_list)!=null&&er.length)&&be.createElement(st.Z,null),be.createElement("aside",{className:x.shixuns},wn===Nn?be.createElement(le.Z5,{onDragEnd:Qa=>Ja(Qa,"attachments_list")},be.createElement(le.bK,{droppableId:"droppable-id2"},(Qa,lr)=>{var Fr;return be.createElement("div",Qt(Et({className:"mt20",ref:Qa.innerRef},Qa.droppableProps),{onScroll:()=>{}}),(Fr=en.attachments_list)==null?void 0:Fr.map(function(Cr,gr){return be.createElement(le._l,{draggableId:`${Cr.id.toString()}-${Nn}-${gr}`,index:gr,key:Cr.id},(xr,Gr)=>be.createElement("div",Et(Et({ref:xr.innerRef},xr.draggableProps),xr.dragHandleProps),be.createElement(Te.Z,{className:"list-item-row",align:"middle",key:gr,gutter:[5,10]},be.createElement(ye.Z,null,be.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"})),be.createElement(ye.Z,{flex:"1"},be.createElement("a",{className:"c-grey-333",href:ge.Z.IMG_SERVER+Cr.url,target:"_blank"},Cr.name)),be.createElement(ye.Z,null,wn===Nn&&be.createElement("div",null,be.createElement(Ye.Z,{title:"\u5220\u9664"},be.createElement("span",{onClick:()=>{pa(gr,"attachments_list")},className:"iconfont icon-shanchu c-grey-c"})))))))}))})):be.createElement("div",{className:"mt20"},(pr=en.attachments_list)==null?void 0:pr.map(function(Qa,lr){return be.createElement("div",null,be.createElement(Te.Z,{className:"list-item-row",align:"middle",key:lr,gutter:[5,10]},be.createElement(ye.Z,null,be.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"})),be.createElement(ye.Z,null,be.createElement("a",{className:"c-grey-333",href:ge.Z.IMG_SERVER+Qa.url,target:"_blank"},Qa.name))))}))),!!(Er!=null&&Er.length)&&be.createElement(Nt,{visibleType:na,data:[...Er],stage_id:en.stage_id,disabled:wn!==Nn,deleteStages:Ya,updateSort:cn,subject_id:Hn==null?void 0:Hn.subject_id,course_id:It==null?void 0:It.coursesId,index:Nn,cust_seq:!0,hiddenEditBtn:!0,keywords:oa,isShowSchedule:Hn==null?void 0:Hn.is_show_schedule,getData:la,showVideoPlay:!0}),wn===Nn&&be.createElement("aside",{className:x.buttons},be.createElement(_e.ZP,{onClick:wa,type:"primary",size:"middle",ghost:!0},"\u53D6\u6D88"),be.createElement(_e.ZP,{onClick:wa,size:"middle",type:"primary"},"\u4FDD\u5B58"))):null},Mr=en=>{if(en){let sa=0;for(var Nn=0;Nn127||en.charCodeAt(Nn)==94?sa+=2:sa++;return sa}else return 0},eo=()=>{var en;for(let Nn in sn)Mr((en=sn[Nn])==null?void 0:en.stage_description)>424?sn[Nn].showExpansion=!0:sn[Nn].showExpansion=!1;return sn==null?void 0:sn.map(function(Nn,sa){return be.createElement("div",{key:sa},Ar(Nn,sa))})},{start_date:to,course_end:ho}=En,So=ho||b()(b()().format("L")).valueOf(){};return be.createElement("section",{className:"mb50"},be.createElement(Ft,{data:Hn,dispatch:Mt,onReloadData:la}),be.createElement("aside",{style:{justifyContent:"space-between",display:"flex",background:"#fff",alignItems:"center",paddingRight:"20px"}},be.createElement("div",{className:x.actionTabs},ia.map(function(en,Nn){if(sn!=null&&sn.some(sa=>{var Ga;return(Ga=sa.stage_tag)==null?void 0:Ga.includes(en.type)})||en.type=="All"||en.type==="Discusses")return be.createElement("div",{key:Nn,className:en.type===na?x.tabActive:x.tab,onClick:()=>{wn===-1?(za(en.type),va(-1)):Ne.ZP.warning("\u8BF7\u5148\u53D6\u6D88\u7F16\u8F91\u72B6\u6001")}},be.createElement("div",{className:x.s1},en.name))})),be.createElement("div",{style:{display:"flex",justifyContent:"center"}},be.createElement(_t.t7,{style:{width:222,marginTop:"-3px"},className:(0,fe.G5)()?"mr20":"",placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onChange:xn}),(0,fe.G5)()&&be.createElement(_e.ZP,{type:"primary",onClick:()=>Ht(void 0,null,function*(){Ie.default.confirm({title:"\u63D0\u793A",content:"\u540C\u6B65\u5F00\u653E\u8BFE\u7A0B\u8D44\u6E90\u540E\uFF0C\u4F1A\u9020\u6210\u5728\u7EBF\u5B66\u4E60\u5185\u6240\u6709\u8D44\u6E90\u5F3A\u5236\u540C\u6B65\u4E3A\u6700\u65B0\u5F00\u653E\u8BFE\u7A0B\u5185\u5BB9\uFF0C\u662F\u5426\u7EE7\u7EED\u540C\u6B65\uFF1F",okText:"\u540C\u6B65",cancelText:"\u53D6\u6D88",onOk:()=>Ht(void 0,null,function*(){(yield(0,ue.ZP)("/api/courses/sync_stages.json",{method:"post",body:{classroom_identifier:It==null?void 0:It.coursesId}})).status===0&&la()})})})},"\u66F4\u65B0"))),be.createElement("div",{className:x.total},"\u5171",be.createElement("span",null,oa?ma:ia.find(en=>en.type===na).number),"\u4E2A",ia.find(en=>en.type===na).totalName),oa&&ma===0&&na!=="Discusses"&&be.createElement(At.Z,{styles:{margin:"0 auto",padding:"100px 0",backgroundColor:"#fff"}}),be.createElement($e.Z,{loading:Ma,active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},na!=="Discusses"&&be.createElement(be.Fragment,null,be.createElement(Je.default,{form:Pa,onFinish:Za},eo),(0,fe.GJ)()&&!Wa&&na==="All"&&wn===-1&&!oa&&be.createElement("div",{className:x.addStage,onClick:Aa},be.createElement("span",{className:x.color4CA},"+\u70B9\u51FB\u65B0\u5EFA\u9636\u6BB5"),"\uFF08\u6DFB\u52A0\u4E00\u4E2A\u6216\u591A\u4E2A\u5B9E\u8BAD/\u89C6\u9891\u9879\u76EE\uFF0C\u7EC4\u6210\u4E00\u4E2A\u9636\u6BB5\uFF09"))),na==="Discusses"&&be.createElement("aside",{style:{paddingTop:25,background:"#fff"}},be.createElement(Vn,{activeIndex:3,isNotDiscuss:So,getData:la,shixunIdentifier:11,coursesId:It==null?void 0:It.coursesId,params:{pathId:It==null?void 0:It.coursesId},identity:(Ut=an.userInfo)==null?void 0:Ut.role,getTypeNumber:Bn,user:an.userInfo,isShixunDetail:!0,keywords:oa,setTypeCount:Zt})),be.createElement(Ie.default,{centered:!0,title:"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE",open:Sa,onOk:()=>Ht(void 0,null,function*(){yield qn.validateFields();const en=yield(0,de.vf)(Et({id:sn[wn].stage_id,course_id:It.coursesId},On));_a(),en.id&&(Ne.ZP.success("\u6DFB\u52A0\u6210\u529F"),Fa([en]))}),onCancel:_a},be.createElement(Je.default,{form:qn,onValuesChange:en=>{ya(Et(Et({},On),en))}},be.createElement(Je.default.Item,{label:"\u5B9E\u8BAD\u7C7B\u578B",name:"is_jupyter",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B9E\u8BAD\u7C7B\u578B"}]},be.createElement(Xe.ZP.Group,null,be.createElement(Xe.ZP,{defaultChecked:!0,value:!1},"\u666E\u901A\u5B9E\u8BAD"),be.createElement(Xe.ZP,{value:!0},"jupyter\u5B9E\u8BAD"))),be.createElement(Je.default.Item,{label:"\u5B9E\u8BAD\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u540D\u79F0"}]},be.createElement(pt.default,{maxLength:60,suffix:be.createElement("span",null,On.name.length,"/60")})))),be.createElement(Ie.default,{centered:!0,title:"\u65B0\u5EFA\u6559\u5B66\u8BFE\u4EF6",open:ja,onOk:()=>Ht(void 0,null,function*(){yield aa.validateFields();const en=yield aa.getFieldsValue();(yield(0,de.s0)({id:sn[wn].stage_id,course_id:It.coursesId,attachment_ids:en.files.map(sa=>sa.response.id)})).status===0&&(Ne.ZP.success("\u6DFB\u52A0\u6210\u529F"),Ra(!1),Ua([...en.files]))}),onCancel:()=>Ra(!1)},be.createElement(Je.default,{form:aa},be.createElement(Je.default.Item,{label:"\u8BFE\u4EF6\u5185\u5BB9",name:"files",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u8BFE\u4EF6\u5185\u5BB9"}]},be.createElement(Yt.Z,{maxSize:100,accept:"application/pdf",number:10})),be.createElement(Je.default.Item,{label:"\u77E5\u8BC6\u6807\u7B7E",name:"test_lyl"},be.createElement(pt.default,{onClick:()=>Po})),be.createElement("div",null,be.createElement("span",{className:"c-red"},"\u6CE8\u610F\uFF1A"),be.createElement("br",null),"1\u3001\u4E0A\u4F20\u8BFE\u4EF6\uFF0C\u5373\u8868\u793A\u60A8\u5DF2\u540C\u610F",be.createElement(ve.Link,{target:"_blank",to:"/users/mmipb3zhj/videos/protocol"},"\u4E0A\u4F20\u5185\u5BB9\u534F\u8BAE"),"\uFF0C\u4E0D\u5F97\u4E0A\u4F20\u672A\u7ECF\u4ED6\u4EBA\u6388\u6743\u7684\u4F5C\u54C1\uFF1B",be.createElement("br",null),"2\u3001\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u5355\u4E2A\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7100M\uFF1B",be.createElement("br",null),"3\u3001\u5F53\u524D\u4EC5\u9650\u652F\u6301pdf\u6587\u4EF6\uFF1B",be.createElement("br",null),"4\u3001\u6587\u4EF6\u540D\u5C06\u88AB\u81EA\u52A8\u8BFB\u53D6\u4E3A\u7CFB\u7EDF\u5185\u8BE5\u8BFE\u4EF6\u7684\u540D\u79F0\uFF0C\u4E0A\u4F20\u524D\u8BF7\u6CE8\u610F\u8FD9\u4E00\u70B9\uFF1B",be.createElement("br",null),"5\u3001\u4E00\u6B21\u6700\u591A\u4E0A\u4F2010\u4E2A\u6587\u4EF6\u3002"))),be.createElement(St,{shixunIds:Da,cb:Fa}),be.createElement(gt.Z,{visible:ea,onCancel:()=>ra(!1),onOk:fa}))};var Gn=(0,ve.connect)(({classroomList:lt,user:Oe,loading:bt,globalSetting:an})=>({classroomList:lt,user:Oe,globalSetting:an,loading:bt.models.index}))(Kt)},59674:function(xt,Tt,oe){"use strict";oe.d(Tt,{$J:function(){return Je},JZ:function(){return Ie},bN:function(){return ye},jP:function(){return Te},rO:function(){return Ne}});var ne=oe(7660),ve=(Ye,_e,st)=>new Promise((pt,$e)=>{var Xe=a=>{try{y(st.next(a))}catch(E){$e(E)}},le=a=>{try{y(st.throw(a))}catch(E){$e(E)}},y=a=>a.done?pt(a.value):Promise.resolve(a.value).then(Xe,le);y((st=st.apply(Ye,_e)).next())});function Je(Ye){return(0,ne.U2)(`libraries/${Ye}.json`)}function Ne(Ye){return(0,ne.U2)("library_tags.json",Ye)}function Ie(Ye){return ve(this,null,function*(){return(yield(0,ne.IV)(`attachments/${Ye}.json`)).status===0})}function Te(Ye){return(0,ne.v_)("libraries.json",Ye)}function ye(Ye,_e){return(0,ne.gz)(`libraries/${Ye}.json`,_e)}},843:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Pe}});var ne=oe(59301),ve=oe(24459),Je=oe(92832),Ne=oe(78241),Ie=oe(8591),Te=oe(43418),ye=oe(93948),Ye=oe(12563),_e=oe(24905),st={modal:"modal___EKlPQ",uploadWrap:"uploadWrap___YGxav",upload:"upload___ouqG9",uploadLink:"uploadLink___nuif6",fileProgress:"fileProgress___tf4qy",fileCancel:"fileCancel___Bh3Wh",videoName:"videoName___Ra0NM",contentItem:"contentItem___zMdIq","tagsList-content":"tagsList-content___sDVph"},pt=oe(66701),$e=oe(73898),Xe=oe(77659),le=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,te=(je,Se,Qe)=>Se in je?le(je,Se,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):je[Se]=Qe,ae=(je,Se)=>{for(var Qe in Se||(Se={}))b.call(Se,Qe)&&te(je,Qe,Se[Qe]);if(E)for(var Qe of E(Se))x.call(Se,Qe)&&te(je,Qe,Se[Qe]);return je},ie=(je,Se)=>y(je,a(Se)),ue=(je,Se,Qe)=>new Promise((Bt,Ot)=>{var Ve=Vt=>{try{Dt(Qe.next(Vt))}catch(Rt){Ot(Rt)}},ft=Vt=>{try{Dt(Qe.throw(Vt))}catch(Rt){Ot(Rt)}},Dt=Vt=>Vt.done?Bt(Vt.value):Promise.resolve(Vt.value).then(Ve,ft);Dt((Qe=Qe.apply(je,Se)).next())});const{TextArea:de}=Je.default,fe=1024,Ce=({user:je,globalSetting:Se,loading:Qe,dispatch:Bt,visible:Ot,editData:Ve,onCancel:ft=()=>{},onOk:Dt=()=>{},queryParams:Vt={}})=>{var Rt,St;const ke=(0,ve.useParams)(),[rt]=Ne.default.useForm(),[Lt,De]=(0,ne.useState)([]),[tt,Ft]=(0,ne.useState)(!1),tn=(0,ne.useRef)(),[gt,Yt]=(0,ne.useState)(),[Fe,it]=(0,ne.useState)(!1),[Pt,nn]=(0,ne.useState)(!1),zt=(0,$e.Ny)()?3:1;(0,ne.useEffect)(()=>{var Ge,wt,ht,Gt,kt;Ot&&Ve&&(it(Ve.is_link),Yt(Ve.link),!Ve.is_link&&De([{name:(Ge=Ve==null?void 0:Ve.video_item)==null?void 0:Ge.file_name,loaded:100,videoId:(wt=Ve==null?void 0:Ve.video_item)==null?void 0:wt.video_id}]),he(((ht=Ve==null?void 0:Ve.tags)==null?void 0:ht.map(Nt=>Nt==null?void 0:Nt.name))||[]),rt.setFieldsValue({name:Ve.name,description:Ve.description,attachment_id:(Gt=Ve==null?void 0:Ve.video_item)==null?void 0:Gt.attachment_id,allow_skip:(kt=Ve==null?void 0:Ve.video_item)==null?void 0:kt.allow_skip}))},[Ve,Ot]);const Ke=Ge=>{it(!1);const wt=Ge.name.toLowerCase();return wt&&wt.indexOf(".avi")==-1&&wt.indexOf(".flv")==-1&&wt.indexOf(".f4v")==-1&&wt.indexOf(".m4v")==-1&&wt.indexOf(".mov")==-1&&wt.indexOf(".mp4")==-1&&wt.indexOf(".rmvb")==-1&&wt.indexOf(".swf")==-1&&wt.indexOf(".webm")==-1&&wt.indexOf(".wmv")==-1?(Ie.ZP.info("\u4E0D\u652F\u6301\u7684\u89C6\u9891\u683C\u5F0F"),!0):Ge.size>fe*zt*1024*1024?(Ie.ZP.info(`\u89C6\u9891\u5927\u5C0F\u8D85\u8FC7${zt}G`),!0):Lt!=null&&Lt.find(ht=>ht.name===Ge.name)?(Ie.ZP.info("\u4F60\u4E0D\u80FD\u4E0A\u4F20\u540C\u4E00\u4E2A\u89C6\u9891\u6587\u4EF6\u540D\u79F0\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u3002"),!0):!1},Ue=(Ge,wt)=>{Te.default.confirm({title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ne.createElement("div",{className:"tc"},"\u60A8\u786E\u8BA4\u8981",wt?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20","\u8BE5\u89C6\u9891\u5417\uFF1F"),onOk:()=>{wt?De([]):(tn.current.cancel(),De([]))}})},we=()=>ue(void 0,null,function*(){if(yield rt.validateFields(),!Fe&&!(Lt!=null&&Lt.length)||Fe&&!gt){Ie.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u89C6\u9891\u6216\u8005\u6DFB\u52A0\u5916\u94FE");return}nn(!0);const Ge=Fe?{link:gt}:{video_id:Lt==null?void 0:Lt[0].videoId},wt=yield Dt(ae(ae(ae({},Ge),Vt),{name:rt.getFieldValue("name"),attachment_id:rt.getFieldValue("attachment_id"),description:rt.getFieldValue("description"),tags:Ee,allow_skip:rt.getFieldValue("allow_skip")}));nn(!1),console.log("res"),console.log(wt),wt!=null&&wt.id&&ge()}),ge=()=>{rt.resetFields(),De([]),Yt(null),he([]),it(null)},ze=()=>{ft(),ge()},Re=()=>{var Ge,wt,ht,Gt,kt;return ne.createElement(ne.Fragment,null,!Fe&&!!(Lt!=null&&Lt.length)&&ne.createElement("div",{className:st.fileProgress},((Ge=Lt==null?void 0:Lt[0])==null?void 0:Ge.loaded)==100?ne.createElement("div",{className:`${st.videoName} font14`},(wt=Lt==null?void 0:Lt[0])==null?void 0:wt.name):ne.createElement(ye.Z,{style:{width:"80%"},percent:(ht=Lt==null?void 0:Lt[0])==null?void 0:ht.loaded,status:((Gt=Lt==null?void 0:Lt[0])==null?void 0:Gt.loaded)==100?"normal":"active"}),ne.createElement("div",{className:st.fileCancel,onClick:()=>{var Nt,Le;return Ue((Nt=Lt==null?void 0:Lt[0])==null?void 0:Nt.name,((Le=Lt==null?void 0:Lt[0])==null?void 0:Le.loaded)==100)}},((kt=Lt==null?void 0:Lt[0])==null?void 0:kt.loaded)===100?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20")),ne.createElement("div",{className:st.uploadWrap,style:{display:Lt!=null&&Lt.length?"none":"flex"}},ne.createElement(Xe.Z,ie(ae({},xe),{ref:tn}),ne.createElement("div",{className:st.upload},ne.createElement("i",{className:"iconfont icon-shangchuanshipin1 mr5"}),"\u4E0A\u4F20\u89C6\u9891")),ne.createElement("label",{className:`${st.upload} ${st.uploadLink}`,onClick:()=>it(!0)},ne.createElement("i",{className:"iconfont icon-lianjie1 mr5"}),"\u6DFB\u52A0\u5916\u94FE")),Fe&&ne.createElement(Je.default,{className:"mt5",placeholder:"\u8BF7\u8F93\u5165\u89C6\u9891\u94FE\u63A5",value:gt,onChange:Nt=>Yt(Nt.target.value)}))},[Ee,he]=(0,ne.useState)([]),nt=Ge=>{if(Ge.key=="Enter"){const wt=rt.getFieldValue("tag");if(rt.setFieldsValue({tag:""}),!wt){Ie.ZP.info("\u6807\u7B7E\u4E0D\u80FD\u4E3A\u7A7A");return}if(Ee.filter(ht=>ht===wt).length>0){Ie.ZP.info("\u5DF2\u6709\u76F8\u540C\u540D\u79F0\u6807\u7B7E");return}Ee.push(wt),he([...Ee])}},Me=(Ge,wt)=>{Ge.preventDefault(),he([...Ee.filter(ht=>ht!=wt)])},xe={accept:".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*",onBefore:Ke,onBeginInitFile:Ge=>{De([{name:Ge.filename,loaded:0}])},onComplete:Ge=>{De([{name:Ge.filename,loaded:Ge.percent,videoId:Ge.id}])},onError:()=>{De([])},onProgress:Ge=>{De([{name:Ge.filename,loaded:Ge.percent}])},chunkSize:1024*1024*2,options:{user_id:(Rt=je==null?void 0:je.userInfo)==null?void 0:Rt.user_id}};return ne.createElement(Te.default,{centered:!0,maskClosable:!1,title:Ve?"\u7F16\u8F91\u89C6\u9891\u9879\u76EE":"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE",width:740,className:st.modal,open:Ot,confirmLoading:Pt,onOk:we,onCancel:ze},ne.createElement(Ne.default,{form:rt},ne.createElement(Ne.default.Item,{label:"\u9879\u76EE\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"}]},ne.createElement(Je.default,{maxLength:40,placeholder:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC740\u5B57\u7684\u9879\u76EE\u540D\u79F0"})),ne.createElement(Ne.default.Item,{label:"\u9879\u76EE\u5185\u5BB9",name:"content",className:st.contentItem},Re()),ne.createElement(Ne.default.Item,{name:"attachment_id",label:"\u4E0A\u4F20\u5C01\u9762\u56FE:"},ne.createElement(pt.Z,{getFileProgress:Ge=>{if(Ge.file.status==="uploading"){nn(!0);return}Ge.file.status==="done"&&nn(!1)}})),ne.createElement(Ne.default.Item,{label:"\u9879\u76EE\u7B80\u4ECB",name:"description",className:"ml8"},ne.createElement(de,{rows:5,maxLength:800,placeholder:"\u8BF7\u8F93\u5165\u672C\u89C6\u9891\u7B80\u4ECB\uFF0C\u6700\u591A\u4E0D\u8D85\u8FC7800\u5B57"})),ne.createElement(Ne.default.Item,{label:"\u77E5\u8BC6\u6807\u7B7E",name:"tag",className:"ml8"},ne.createElement(Je.default,{onKeyUp:nt})),ne.createElement("div",{className:st["tagsList-content"]},Ee.map((Ge,wt)=>ne.createElement(Ye.default,{key:wt+Ge,closable:!0,onClose:ht=>{Me(ht,Ge)}},Ge))),ne.createElement(Ne.default.Item,{label:"\u64AD\u653E\u8BBE\u7F6E",name:"allow_skip",valuePropName:"checked",className:"ml8",initialValue:!0},ne.createElement(_e.default,null,"\u5141\u8BB8\u5FEB\u8FDB\u64AD\u653E")),ne.createElement("div",{className:"c-grey-999"},ne.createElement("div",null,"\u6CE8\u610F\uFF1A"),ne.createElement("div",null,"1\u3001\u4E0A\u4F20\u89C6\u9891\uFF0C\u5373\u8868\u793A\u60A8\u5DF2\u540C\u610F",ne.createElement(ve.Link,{to:`/users/${(St=je.userInfo)==null?void 0:St.login}/videos/protocol`,target:"_blank",className:st.colorBlue},"\u4E0A\u4F20\u5185\u5BB9\u534F\u8BAE"),"\uFF0C\u4E0D\u5F97\u4E0A\u4F20\u672A\u7ECF\u4ED6\u4EBA\u6388\u6743\u7684\u4F5C\u54C1\uFF1B"),ne.createElement("div",null,"2\u3001\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7",zt,"G\uFF1B"),ne.createElement("div",null,"3\u3001\u652F\u6301\u6587\u4EF6\u683C\u5F0F\uFF1Aavi\u3001flv\u3001f4v\u3001m4v\u3001mov\u3001mp4\u3001rmvb\u3001swf\u3001webm\u3001wmv\uFF1B"),ne.createElement("div",null,"4\u3001\u5982\u679C\u89C6\u9891\u6765\u81EA\u4E8E\u5916\u90E8\u94FE\u63A5\uFF0C\u672C\u7F51\u7AD9\u4E0D\u63D0\u4F9B\u64AD\u653E\u9875\u9762\uFF0C\u65E0\u6CD5\u63D0\u4F9B\u7EDF\u8BA1\u6570\u636E\u3002"))))};var Pe=(0,ve.connect)(({user:je,loading:Se,globalSetting:Qe})=>({user:je,globalSetting:Qe,loading:Se}))(Ce)},82309:function(xt,Tt,oe){"use strict";oe.d(Tt,{rX:function(){return ae},pW:function(){return ie},gy:function(){return ue},xY:function(){return te},O5:function(){return x},tJ:function(){return le},o1:function(){return y},Rd:function(){return b}});var ne=oe(24459),ve=oe(43418),Je=oe(28103),Ne=oe(8591),Ie=oe(73898),Te=oe(88230),ye=oe(87169),Ye=oe(25510),_e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJ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AyEFgAQAYCCwDIMFutYefOnRUVFVa3ctWqVStXrjT4ZtsqK+RE5Ql7K1BpvAtHmdhWI8S2QhcWDWswG1gVFRVVVVVWtCxbOBy2ehMA4H44JQQAMhBYAEAGAgsAyEBgAQAZCCwAIMOSSShM3tFsaWkp+J1HZx+RN75O23pkRWEGk5wdEWJFN0023mTdEWfH9xjvZl5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIsGRYg7NIP99vRd+tKDlg2zutYLxJzk7/Ydv+dOEcKwPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",st=oe.p+"static/newqrcode.a8740efb.png",pt=oe(32637),$e=oe(59301),Xe=(de,fe,Ce)=>new Promise((Pe,je)=>{var Se=Ot=>{try{Bt(Ce.next(Ot))}catch(Ve){je(Ve)}},Qe=Ot=>{try{Bt(Ce.throw(Ot))}catch(Ve){je(Ve)}},Bt=Ot=>Ot.done?Pe(Ot.value):Promise.resolve(Ot.value).then(Se,Qe);Bt((Ce=Ce.apply(de,fe)).next())});const le=(de,fe=!1)=>!!(y(de)&&a(fe)),y=de=>(0,Ie.bg)()?!0:(de({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),a=(de=!1)=>{var fe;const{user:Ce}=(0,ne.getDvaApp)()._store.getState();return(fe=Ce.userInfo)!=null&&fe.profile_completed?!0:(ve.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Te.xg)("/account/profile/edit"),E()}}),!1)},E=()=>{ve.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},b=()=>{ve.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:$e.createElement("div",{style:{textAlign:"center"}},$e.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),$e.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:pt}),$e.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},x=()=>{var de;const{user:fe}=(0,ne.getDvaApp)()._store.getState();return(de=fe.userInfo)!=null&&de.professional_certification?!0:(ve.default.confirm({title:"\u63D0\u793A",centered:!0,content:$e.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Te.xg)("/account/certification")}}),!1)},te=()=>(0,Ie.V9)()?!0:(ve.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:$e.createElement("div",{className:"tc",style:{marginLeft:-38}},$e.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),$e.createElement("img",{src:st,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ae=(de,fe)=>de?!0:(ve.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:$e.createElement("div",null,$e.createElement("p",null,fe||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),$e.createElement("div",{style:{marginLeft:"110px"}},$e.createElement("img",{src:_e,width:200}),$e.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Te.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),ie=de=>{ve.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:$e.createElement("div",null,$e.createElement("div",null,$e.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),$e.createElement(Je.Z,null),$e.createElement("p",{style:{color:"#666666",fontSize:12}}," ",$e.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",$e.createElement("a",null,de),"\u5929\u3002"),$e.createElement("p",{style:{color:"#666666",fontSize:12}}," ",$e.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),$e.createElement("div",{style:{textAlign:"center",marginTop:30}},$e.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Ye,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ue=(de,fe="")=>{const{shixunsDetail:{detail:Ce}}=(0,ne.getDvaApp)()._store.getState();if((Ce==null?void 0:Ce.public)===2||(Ce==null?void 0:Ce.public)===1||(Ce==null?void 0:Ce.shixun_status)===3){let Pe="";return(Ce==null?void 0:Ce.public)===2&&(Pe="\u5DF2\u516C\u5F00"),(Ce==null?void 0:Ce.public)===1&&(Pe="\u5F85\u5BA1\u6838"),(Ce==null?void 0:Ce.shixun_status)===3&&(Pe="\u5DF2\u5173\u95ED"),ve.default.info({centered:!0,icon:$e.createElement(ye.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:$e.createElement("div",{className:"tc",style:{marginLeft:-38}},$e.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},$e.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Pe,"\uFF0C",fe,"\u3002"),$e.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),$e.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Ye,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ce==null?void 0:Ce.shixun_status)===2?(ve.default.confirm({centered:!0,icon:$e.createElement(ye.Z,null),title:"\u63D0\u793A",content:$e.createElement("div",null,$e.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",fe,"\u3002"),$e.createElement("br",null),$e.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{ve.default.confirm({width:440,centered:!0,icon:$e.createElement(ye.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>Xe(void 0,null,function*(){(yield de({type:"shixunsDetail/cancelRelease",payload:{id:Ce==null?void 0:Ce.identifier}})).status!==401&&(Ne.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),de({type:"shixunsDetail/getShixunsDetail",payload:{id:Ce==null?void 0:Ce.identifier}}),de({type:"practiceSetting/getCommonData",payload:{id:Ce==null?void 0:Ce.identifier}}))})})}}),!0):!1}},56762:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return ve}});var ne=oe(59301);function ve(){const[,Je]=ne.useReducer(Ne=>Ne+1,0);return Je}},24905:function(xt,Tt,oe){"use strict";oe.d(Tt,{default:function(){return de}});var ne=oe(92310),ve=oe.n(ne),Je=oe(5630),Ne=oe(59301),Ie=oe(36355),Te=oe(1684),ye=oe(32441),_e=Ne.createContext(null),st=oe(98447),pt=oe(14088),$e=oe(4572),Xe=function(fe,Ce){var Pe={};for(var je in fe)Object.prototype.hasOwnProperty.call(fe,je)&&Ce.indexOf(je)<0&&(Pe[je]=fe[je]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,je=Object.getOwnPropertySymbols(fe);Se{var Pe;const{prefixCls:je,className:Se,rootClassName:Qe,children:Bt,indeterminate:Ot=!1,style:Ve,onMouseEnter:ft,onMouseLeave:Dt,skipGroup:Vt=!1,disabled:Rt}=fe,St=Xe(fe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ke,direction:rt,checkbox:Lt}=Ne.useContext(Ie.E_),De=Ne.useContext(_e),{isFormItemInput:tt}=Ne.useContext(ye.aM),Ft=Ne.useContext(Te.Z),tn=(Pe=(De==null?void 0:De.disabled)||Rt)!==null&&Pe!==void 0?Pe:Ft,gt=Ne.useRef(St.value);Ne.useEffect(()=>{De==null||De.registerValue(St.value)},[]),Ne.useEffect(()=>{if(!Vt)return St.value!==gt.current&&(De==null||De.cancelValue(gt.current),De==null||De.registerValue(St.value),gt.current=St.value),()=>De==null?void 0:De.cancelValue(St.value)},[St.value]);const Yt=ke("checkbox",je),[Fe,it]=(0,st.ZP)(Yt),Pt=Object.assign({},St);De&&!Vt&&(Pt.onChange=function(){St.onChange&&St.onChange.apply(St,arguments),De.toggleOption&&De.toggleOption({label:Bt,value:St.value})},Pt.name=De.name,Pt.checked=De.value.includes(St.value));const nn=ve()(`${Yt}-wrapper`,{[`${Yt}-rtl`]:rt==="rtl",[`${Yt}-wrapper-checked`]:Pt.checked,[`${Yt}-wrapper-disabled`]:tn,[`${Yt}-wrapper-in-form-item`]:tt},Lt==null?void 0:Lt.className,Se,Qe,it),zt=ve()({[`${Yt}-indeterminate`]:Ot},$e.A,it),Ke=Ot?"mixed":void 0;return Fe(Ne.createElement(pt.Z,{component:"Checkbox",disabled:tn},Ne.createElement("label",{className:nn,style:Object.assign(Object.assign({},Lt==null?void 0:Lt.style),Ve),onMouseEnter:ft,onMouseLeave:Dt},Ne.createElement(Je.Z,Object.assign({"aria-checked":Ke},Pt,{prefixCls:Yt,className:zt,disabled:tn,ref:Ce})),Bt!==void 0&&Ne.createElement("span",null,Bt))))};var a=Ne.forwardRef(le),E=oe(26407),b=oe(2738),x=function(fe,Ce){var Pe={};for(var je in fe)Object.prototype.hasOwnProperty.call(fe,je)&&Ce.indexOf(je)<0&&(Pe[je]=fe[je]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,je=Object.getOwnPropertySymbols(fe);Se{const{defaultValue:Pe,children:je,options:Se=[],prefixCls:Qe,className:Bt,rootClassName:Ot,style:Ve,onChange:ft}=fe,Dt=x(fe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Vt,direction:Rt}=Ne.useContext(Ie.E_),[St,ke]=Ne.useState(Dt.value||Pe||[]),[rt,Lt]=Ne.useState([]);Ne.useEffect(()=>{"value"in Dt&&ke(Dt.value||[])},[Dt.value]);const De=Ne.useMemo(()=>Se.map(Ue=>typeof Ue=="string"||typeof Ue=="number"?{label:Ue,value:Ue}:Ue),[Se]),tt=Ue=>{Lt(we=>we.filter(ge=>ge!==Ue))},Ft=Ue=>{Lt(we=>[].concat((0,E.Z)(we),[Ue]))},tn=Ue=>{const we=St.indexOf(Ue.value),ge=(0,E.Z)(St);we===-1?ge.push(Ue.value):ge.splice(we,1),"value"in Dt||ke(ge),ft==null||ft(ge.filter(ze=>rt.includes(ze)).sort((ze,Re)=>{const Ee=De.findIndex(nt=>nt.value===ze),he=De.findIndex(nt=>nt.value===Re);return Ee-he}))},gt=Vt("checkbox",Qe),Yt=`${gt}-group`,[Fe,it]=(0,st.ZP)(gt),Pt=(0,b.Z)(Dt,["value","disabled"]),nn=Se.length?De.map(Ue=>Ne.createElement(a,{prefixCls:gt,key:Ue.value.toString(),disabled:"disabled"in Ue?Ue.disabled:Dt.disabled,value:Ue.value,checked:St.includes(Ue.value),onChange:Ue.onChange,className:`${Yt}-item`,style:Ue.style,title:Ue.title},Ue.label)):je,zt={toggleOption:tn,value:St,disabled:Dt.disabled,name:Dt.name,registerValue:Ft,cancelValue:tt},Ke=ve()(Yt,{[`${Yt}-rtl`]:Rt==="rtl"},Bt,Ot,it);return Fe(Ne.createElement("div",Object.assign({className:Ke,style:Ve},Pt,{ref:Ce}),Ne.createElement(_e.Provider,{value:zt},nn)))},ae=Ne.forwardRef(te);var ie=Ne.memo(ae);const ue=a;ue.Group=ie,ue.__ANT_CHECKBOX=!0;var de=ue},98447:function(xt,Tt,oe){"use strict";oe.d(Tt,{C2:function(){return Ie}});var ne=oe(17313),ve=oe(37613),Je=oe(83116);const Ne=Te=>{const{checkboxCls:ye}=Te,Ye=`${ye}-wrapper`;return[{[`${ye}-group`]:Object.assign(Object.assign({},(0,ne.Wf)(Te)),{display:"inline-flex",flexWrap:"wrap",columnGap:Te.marginXS,[`> ${Te.antCls}-row`]:{flex:1}}),[Ye]:Object.assign(Object.assign({},(0,ne.Wf)(Te)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ye}`]:{marginInlineStart:0},[`&${Ye}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ye]:Object.assign(Object.assign({},(0,ne.Wf)(Te)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Te.borderRadiusSM,alignSelf:"center",[`${ye}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ye}-inner`]:Object.assign({},(0,ne.oN)(Te))},[`${ye}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Te.checkboxSize,height:Te.checkboxSize,direction:"ltr",backgroundColor:Te.colorBgContainer,border:`${Te.lineWidth}px ${Te.lineType} ${Te.colorBorder}`,borderRadius:Te.borderRadiusSM,borderCollapse:"separate",transition:`all ${Te.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Te.checkboxSize/14*5,height:Te.checkboxSize/14*8,border:`${Te.lineWidthBold}px solid ${Te.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Te.motionDurationFast} ${Te.motionEaseInBack}, opacity ${Te.motionDurationFast}`}},"& + span":{paddingInlineStart:Te.paddingXS,paddingInlineEnd:Te.paddingXS}})},{[` + ${Ye}:not(${Ye}-disabled), + ${ye}:not(${ye}-disabled) + `]:{[`&:hover ${ye}-inner`]:{borderColor:Te.colorPrimary}},[`${Ye}:not(${Ye}-disabled)`]:{[`&:hover ${ye}-checked:not(${ye}-disabled) ${ye}-inner`]:{backgroundColor:Te.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ye}-checked:not(${ye}-disabled):after`]:{borderColor:Te.colorPrimaryHover}}},{[`${ye}-checked`]:{[`${ye}-inner`]:{backgroundColor:Te.colorPrimary,borderColor:Te.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Te.motionDurationMid} ${Te.motionEaseOutBack} ${Te.motionDurationFast}`}}},[` + ${Ye}-checked:not(${Ye}-disabled), + ${ye}-checked:not(${ye}-disabled) + `]:{[`&:hover ${ye}-inner`]:{backgroundColor:Te.colorPrimaryHover,borderColor:"transparent"}}},{[ye]:{"&-indeterminate":{[`${ye}-inner`]:{backgroundColor:Te.colorBgContainer,borderColor:Te.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Te.fontSizeLG/2,height:Te.fontSizeLG/2,backgroundColor:Te.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Ye}-disabled`]:{cursor:"not-allowed"},[`${ye}-disabled`]:{[`&, ${ye}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ye}-inner`]:{background:Te.colorBgContainerDisabled,borderColor:Te.colorBorder,"&:after":{borderColor:Te.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Te.colorTextDisabled},[`&${ye}-indeterminate ${ye}-inner::after`]:{background:Te.colorTextDisabled}}}]};function Ie(Te,ye){const Ye=(0,ve.TS)(ye,{checkboxCls:`.${Te}`,checkboxSize:ye.controlInteractiveSize});return[Ne(Ye)]}Tt.ZP=(0,Je.Z)("Checkbox",(Te,ye)=>{let{prefixCls:Ye}=ye;return[Ie(Ye,Te)]})},28103:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return $e}});var ne=oe(92310),ve=oe.n(ne),Je=oe(59301),Ne=oe(36355),Ie=oe(17313),Te=oe(83116),ye=oe(37613);const Ye=Xe=>{const{componentCls:le,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:E,textPaddingInline:b,orientationMargin:x,verticalMarginInline:te}=Xe;return{[le]:Object.assign(Object.assign({},(0,Ie.Wf)(Xe)),{borderBlockStart:`${E}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${E}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Xe.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${le}-with-text`]:{display:"flex",alignItems:"center",margin:`${Xe.dividerHorizontalWithTextGutterMargin}px 0`,color:Xe.colorTextHeading,fontWeight:500,fontSize:Xe.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${E}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${le}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${le}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${le}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${E}px 0 0`},[`&-horizontal${le}-with-text${le}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${le}-dashed`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${le}-with-text`]:{color:Xe.colorText,fontWeight:"normal",fontSize:Xe.fontSize},[`&-horizontal${le}-with-text-left${le}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${le}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${le}-with-text-right${le}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${le}-inner-text`]:{paddingInlineEnd:y}}})}};var _e=(0,Te.Z)("Divider",Xe=>{const le=(0,ye.TS)(Xe,{dividerHorizontalWithTextGutterMargin:Xe.margin,dividerHorizontalGutterMargin:Xe.marginLG,sizePaddingEdgeHorizontal:0});return[Ye(le)]},Xe=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Xe.marginXS})),st=function(Xe,le){var y={};for(var a in Xe)Object.prototype.hasOwnProperty.call(Xe,a)&&le.indexOf(a)<0&&(y[a]=Xe[a]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,a=Object.getOwnPropertySymbols(Xe);E{const{getPrefixCls:le,direction:y,divider:a}=Je.useContext(Ne.E_),{prefixCls:E,type:b="horizontal",orientation:x="center",orientationMargin:te,className:ae,rootClassName:ie,children:ue,dashed:de,plain:fe,style:Ce}=Xe,Pe=st(Xe,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),je=le("divider",E),[Se,Qe]=_e(je),Bt=x.length>0?`-${x}`:x,Ot=!!ue,Ve=x==="left"&&te!=null,ft=x==="right"&&te!=null,Dt=ve()(je,a==null?void 0:a.className,Qe,`${je}-${b}`,{[`${je}-with-text`]:Ot,[`${je}-with-text${Bt}`]:Ot,[`${je}-dashed`]:!!de,[`${je}-plain`]:!!fe,[`${je}-rtl`]:y==="rtl",[`${je}-no-default-orientation-margin-left`]:Ve,[`${je}-no-default-orientation-margin-right`]:ft},ae,ie),Vt=Je.useMemo(()=>typeof te=="number"?te:/^\d+$/.test(te)?Number(te):te,[te]),Rt=Object.assign(Object.assign({},Ve&&{marginLeft:Vt}),ft&&{marginRight:Vt});return Se(Je.createElement("div",Object.assign({className:Dt,style:Object.assign(Object.assign({},a==null?void 0:a.style),Ce)},Pe,{role:"separator"}),ue&&b!=="vertical"&&Je.createElement("span",{className:`${je}-inner-text`,style:Rt},ue)))}},43428:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Fe}});var ne=oe(92310),ve=oe.n(ne),Je=oe(33708),Ne=oe(33606),Ie=oe(43403),Te=oe(34280),ye=oe(59301),Ye=ye.createContext(null),_e=ye.createContext({}),st=Ye,pt=oe(400),$e=oe(92413),Xe=oe(77900),le=oe(10228),y=oe(26112),a=oe(70425),E=function(Pt){var nn=Pt.prefixCls,zt=Pt.className,Ke=Pt.style,Ue=Pt.children,we=Pt.containerRef,ge=Pt.id,ze=Pt.onMouseEnter,Re=Pt.onMouseOver,Ee=Pt.onMouseLeave,he=Pt.onClick,nt=Pt.onKeyDown,Me=Pt.onKeyUp,xe={onMouseEnter:ze,onMouseOver:Re,onMouseLeave:Ee,onClick:he,onKeyDown:nt,onKeyUp:Me},Ge=ye.useContext(_e),wt=Ge.panel,ht=(0,a.useComposeRef)(wt,we);return ye.createElement(ye.Fragment,null,ye.createElement("div",(0,$e.Z)({id:ge,className:ve()("".concat(nn,"-content"),zt),style:(0,Je.Z)({},Ke),"aria-modal":"true",role:"dialog",ref:ht},xe),Ue))},b=E,x=oe(48736);function te(it){return typeof it=="string"&&String(Number(it))===it?((0,x.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(it)):it}function ae(it){warning(!("wrapperClassName"in it),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!it.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ie={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ue(it,Pt){var nn,zt,Ke,Ue,we=it.prefixCls,ge=it.open,ze=it.placement,Re=it.inline,Ee=it.push,he=it.forceRender,nt=it.autoFocus,Me=it.keyboard,xe=it.rootClassName,Ge=it.rootStyle,wt=it.zIndex,ht=it.className,Gt=it.id,kt=it.style,Nt=it.motion,Le=it.width,ot=it.height,At=it.children,ct=it.contentWrapperStyle,yt=it.mask,on=it.maskClosable,mn=it.maskMotion,dn=it.maskClassName,vn=it.maskStyle,Wn=it.afterOpenChange,fn=it.onClose,Zn=it.onMouseEnter,$n=it.onMouseOver,ta=it.onMouseLeave,Mn=it.onClick,ua=it.onKeyDown,Qn=it.onKeyUp,Yn=ye.useRef(),ca=ye.useRef(),Ca=ye.useRef();ye.useImperativeHandle(Pt,function(){return Yn.current});var ln=function(Vn){var _t=Vn.keyCode,be=Vn.shiftKey;switch(_t){case le.Z.TAB:{if(_t===le.Z.TAB){if(!be&&document.activeElement===Ca.current){var qt;(qt=ca.current)===null||qt===void 0||qt.focus({preventScroll:!0})}else if(be&&document.activeElement===ca.current){var yn;(yn=Ca.current)===null||yn===void 0||yn.focus({preventScroll:!0})}}break}case le.Z.ESC:{fn&&Me&&(Vn.stopPropagation(),fn(Vn));break}}};ye.useEffect(function(){if(ge&&nt){var pn;(pn=Yn.current)===null||pn===void 0||pn.focus({preventScroll:!0})}},[ge]);var gn=ye.useState(!1),An=(0,Ne.Z)(gn,2),Sn=An[0],Fn=An[1],Kn=ye.useContext(st),Rn;Ee===!1?Rn={distance:0}:Ee===!0?Rn={}:Rn=Ee||{};var at=(nn=(zt=(Ke=Rn)===null||Ke===void 0?void 0:Ke.distance)!==null&&zt!==void 0?zt:Kn==null?void 0:Kn.pushDistance)!==null&&nn!==void 0?nn:180,mt=ye.useMemo(function(){return{pushDistance:at,push:function(){Fn(!0)},pull:function(){Fn(!1)}}},[at]);ye.useEffect(function(){if(ge){var pn;Kn==null||(pn=Kn.push)===null||pn===void 0||pn.call(Kn)}else{var Vn;Kn==null||(Vn=Kn.pull)===null||Vn===void 0||Vn.call(Kn)}},[ge]),ye.useEffect(function(){return function(){var pn;Kn==null||(pn=Kn.pull)===null||pn===void 0||pn.call(Kn)}},[]);var dt=yt&&ye.createElement(Xe.default,(0,$e.Z)({key:"mask"},mn,{visible:ge}),function(pn,Vn){var _t=pn.className,be=pn.style;return ye.createElement("div",{className:ve()("".concat(we,"-mask"),_t,dn),style:(0,Je.Z)((0,Je.Z)({},be),vn),onClick:on&&ge?fn:void 0,ref:Vn})}),Xt=typeof Nt=="function"?Nt(ze):Nt,un={};if(Sn&&at)switch(ze){case"top":un.transform="translateY(".concat(at,"px)");break;case"bottom":un.transform="translateY(".concat(-at,"px)");break;case"left":un.transform="translateX(".concat(at,"px)");break;default:un.transform="translateX(".concat(-at,"px)");break}ze==="left"||ze==="right"?un.width=te(Le):un.height=te(ot);var rn={onMouseEnter:Zn,onMouseOver:$n,onMouseLeave:ta,onClick:Mn,onKeyDown:ua,onKeyUp:Qn},Xn=ye.createElement(Xe.default,(0,$e.Z)({key:"panel"},Xt,{visible:ge,forceRender:he,onVisibleChanged:function(Vn){Wn==null||Wn(Vn)},removeOnLeave:!1,leavedClassName:"".concat(we,"-content-wrapper-hidden")}),function(pn,Vn){var _t=pn.className,be=pn.style;return ye.createElement("div",(0,$e.Z)({className:ve()("".concat(we,"-content-wrapper"),_t),style:(0,Je.Z)((0,Je.Z)((0,Je.Z)({},un),be),ct)},(0,y.Z)(it,{data:!0})),ye.createElement(b,(0,$e.Z)({id:Gt,containerRef:Vn,prefixCls:we,className:ht,style:kt},rn),At))}),kn=(0,Je.Z)({},Ge);return wt&&(kn.zIndex=wt),ye.createElement(st.Provider,{value:mt},ye.createElement("div",{className:ve()(we,"".concat(we,"-").concat(ze),xe,(Ue={},(0,pt.Z)(Ue,"".concat(we,"-open"),ge),(0,pt.Z)(Ue,"".concat(we,"-inline"),Re),Ue)),style:kn,tabIndex:-1,ref:Yn,onKeyDown:ln},dt,ye.createElement("div",{tabIndex:0,ref:ca,style:ie,"aria-hidden":"true","data-sentinel":"start"}),Xn,ye.createElement("div",{tabIndex:0,ref:Ca,style:ie,"aria-hidden":"true","data-sentinel":"end"})))}var de=ye.forwardRef(ue),fe=de,Ce=function(Pt){var nn=Pt.open,zt=nn===void 0?!1:nn,Ke=Pt.prefixCls,Ue=Ke===void 0?"rc-drawer":Ke,we=Pt.placement,ge=we===void 0?"right":we,ze=Pt.autoFocus,Re=ze===void 0?!0:ze,Ee=Pt.keyboard,he=Ee===void 0?!0:Ee,nt=Pt.width,Me=nt===void 0?378:nt,xe=Pt.mask,Ge=xe===void 0?!0:xe,wt=Pt.maskClosable,ht=wt===void 0?!0:wt,Gt=Pt.getContainer,kt=Pt.forceRender,Nt=Pt.afterOpenChange,Le=Pt.destroyOnClose,ot=Pt.onMouseEnter,At=Pt.onMouseOver,ct=Pt.onMouseLeave,yt=Pt.onClick,on=Pt.onKeyDown,mn=Pt.onKeyUp,dn=Pt.panelRef,vn=ye.useState(!1),Wn=(0,Ne.Z)(vn,2),fn=Wn[0],Zn=Wn[1],$n=ye.useState(!1),ta=(0,Ne.Z)($n,2),Mn=ta[0],ua=ta[1];(0,Te.Z)(function(){ua(!0)},[]);var Qn=Mn?zt:!1,Yn=ye.useRef(),ca=ye.useRef();(0,Te.Z)(function(){Qn&&(ca.current=document.activeElement)},[Qn]);var Ca=function(Fn){var Kn;if(Zn(Fn),Nt==null||Nt(Fn),!Fn&&ca.current&&!((Kn=Yn.current)!==null&&Kn!==void 0&&Kn.contains(ca.current))){var Rn;(Rn=ca.current)===null||Rn===void 0||Rn.focus({preventScroll:!0})}},ln=ye.useMemo(function(){return{panel:dn}},[dn]);if(!kt&&!fn&&!Qn&&Le)return null;var gn={onMouseEnter:ot,onMouseOver:At,onMouseLeave:ct,onClick:yt,onKeyDown:on,onKeyUp:mn},An=(0,Je.Z)((0,Je.Z)({},Pt),{},{open:Qn,prefixCls:Ue,placement:ge,autoFocus:Re,keyboard:he,width:Me,mask:Ge,maskClosable:ht,inline:Gt===!1,afterOpenChange:Ca,ref:Yn},gn);return ye.createElement(_e.Provider,{value:ln},ye.createElement(Ie.Z,{open:Qn||kt||fn,autoDestroy:!1,getContainer:Gt,autoLock:Ge&&(Qn||fn)},ye.createElement(fe,An)))},Pe=Ce,je=Pe,Se=oe(62892),Qe=oe(36355),Bt=oe(32441),Ot=oe(47729),ft=it=>{const{prefixCls:Pt,title:nn,footer:zt,extra:Ke,closeIcon:Ue,closable:we,onClose:ge,headerStyle:ze,drawerStyle:Re,bodyStyle:Ee,footerStyle:he,children:nt}=it,Me=ye.useCallback(Gt=>ye.createElement("button",{type:"button",onClick:ge,"aria-label":"Close",className:`${Pt}-close`},Gt),[ge]),[xe,Ge]=(0,Ot.Z)(we,Ue,Me,void 0,!0),wt=ye.useMemo(()=>!nn&&!xe?null:ye.createElement("div",{style:ze,className:ve()(`${Pt}-header`,{[`${Pt}-header-close-only`]:xe&&!nn&&!Ke})},ye.createElement("div",{className:`${Pt}-header-title`},Ge,nn&&ye.createElement("div",{className:`${Pt}-title`},nn)),Ke&&ye.createElement("div",{className:`${Pt}-extra`},Ke)),[xe,Ge,Ke,ze,Pt,nn]),ht=ye.useMemo(()=>{if(!zt)return null;const Gt=`${Pt}-footer`;return ye.createElement("div",{className:Gt,style:he},zt)},[zt,he,Pt]);return ye.createElement("div",{className:`${Pt}-wrapper-body`,style:Re},wt,ye.createElement("div",{className:`${Pt}-body`,style:Ee},nt),ht)},Dt=oe(33234),Vt=oe(83116),Rt=oe(37613),ke=it=>{const{componentCls:Pt,motionDurationSlow:nn}=it,zt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${nn}`}}};return{[Pt]:{[`${Pt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${nn}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Pt}-panel-motion`]:{"&-left":[zt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[zt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[zt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[zt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const rt=it=>{const{componentCls:Pt,zIndexPopup:nn,colorBgMask:zt,colorBgElevated:Ke,motionDurationSlow:Ue,motionDurationMid:we,padding:ge,paddingLG:ze,fontSizeLG:Re,lineHeightLG:Ee,lineWidth:he,lineType:nt,colorSplit:Me,marginSM:xe,colorIcon:Ge,colorIconHover:wt,colorText:ht,fontWeightStrong:Gt,footerPaddingBlock:kt,footerPaddingInline:Nt}=it,Le=`${Pt}-content-wrapper`;return{[Pt]:{position:"fixed",inset:0,zIndex:nn,pointerEvents:"none","&-pure":{position:"relative",background:Ke,[`&${Pt}-left`]:{boxShadow:it.boxShadowDrawerLeft},[`&${Pt}-right`]:{boxShadow:it.boxShadowDrawerRight},[`&${Pt}-top`]:{boxShadow:it.boxShadowDrawerUp},[`&${Pt}-bottom`]:{boxShadow:it.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Pt}-mask`]:{position:"absolute",inset:0,zIndex:nn,background:zt,pointerEvents:"auto"},[Le]:{position:"absolute",zIndex:nn,maxWidth:"100vw",transition:`all ${Ue}`,"&-hidden":{display:"none"}},[`&-left > ${Le}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:it.boxShadowDrawerLeft},[`&-right > ${Le}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:it.boxShadowDrawerRight},[`&-top > ${Le}`]:{top:0,insetInline:0,boxShadow:it.boxShadowDrawerUp},[`&-bottom > ${Le}`]:{bottom:0,insetInline:0,boxShadow:it.boxShadowDrawerDown},[`${Pt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Ke,pointerEvents:"auto"},[`${Pt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Pt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${ge}px ${ze}px`,fontSize:Re,lineHeight:Ee,borderBottom:`${he}px ${nt} ${Me}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Pt}-extra`]:{flex:"none"},[`${Pt}-close`]:{display:"inline-block",marginInlineEnd:xe,color:Ge,fontWeight:Gt,fontSize:Re,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${we}`,textRendering:"auto","&:focus, &:hover":{color:wt,textDecoration:"none"}},[`${Pt}-title`]:{flex:1,margin:0,color:ht,fontWeight:it.fontWeightStrong,fontSize:Re,lineHeight:Ee},[`${Pt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:ze,overflow:"auto"},[`${Pt}-footer`]:{flexShrink:0,padding:`${kt}px ${Nt}px`,borderTop:`${he}px ${nt} ${Me}`},"&-rtl":{direction:"rtl"}}}};var Lt=(0,Vt.Z)("Drawer",it=>{const Pt=(0,Rt.TS)(it,{});return[rt(Pt),ke(Pt)]},it=>({zIndexPopup:it.zIndexPopupBase,footerPaddingBlock:it.paddingXS,footerPaddingInline:it.padding})),De=oe(11575),tt=function(it,Pt){var nn={};for(var zt in it)Object.prototype.hasOwnProperty.call(it,zt)&&Pt.indexOf(zt)<0&&(nn[zt]=it[zt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,zt=Object.getOwnPropertySymbols(it);Ke{var Pt;const{rootClassName:nn,width:zt,height:Ke,size:Ue="default",mask:we=!0,push:ge=tn,open:ze,afterOpenChange:Re,onClose:Ee,prefixCls:he,getContainer:nt,style:Me,className:xe,visible:Ge,afterVisibleChange:wt}=it,ht=tt(it,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Gt,getPrefixCls:kt,direction:Nt,drawer:Le}=ye.useContext(Qe.E_),ot=kt("drawer",he),[At,ct]=Lt(ot),yt=nt===void 0&&Gt?()=>Gt(document.body):nt,on=ve()({"no-mask":!we,[`${ot}-rtl`]:Nt==="rtl"},nn,ct),mn=ye.useMemo(()=>zt!=null?zt:Ue==="large"?736:378,[zt,Ue]),dn=ye.useMemo(()=>Ke!=null?Ke:Ue==="large"?736:378,[Ke,Ue]),vn={motionName:(0,Se.m)(ot,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Wn=Zn=>({motionName:(0,Se.m)(ot,`panel-motion-${Zn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),fn=(0,De.H)();return At(ye.createElement(Dt.BR,null,ye.createElement(Bt.Ux,{status:!0,override:!0},ye.createElement(je,Object.assign({prefixCls:ot,onClose:Ee,maskMotion:vn,motion:Wn},ht,{open:ze!=null?ze:Ge,mask:we,push:ge,width:mn,height:dn,style:Object.assign(Object.assign({},Le==null?void 0:Le.style),Me),className:ve()(Le==null?void 0:Le.className,xe),rootClassName:on,getContainer:yt,afterOpenChange:Re!=null?Re:wt,panelRef:fn}),ye.createElement(ft,Object.assign({prefixCls:ot},ht,{onClose:Ee}))))))},Yt=it=>{const{prefixCls:Pt,style:nn,className:zt,placement:Ke="right"}=it,Ue=tt(it,["prefixCls","style","className","placement"]),{getPrefixCls:we}=ye.useContext(Qe.E_),ge=we("drawer",Pt),[ze,Re]=Lt(ge),Ee=ve()(ge,`${ge}-pure`,`${ge}-${Ke}`,Re,zt);return ze(ye.createElement("div",{className:Ee,style:nn},ye.createElement(ft,Object.assign({prefixCls:ge},Ue))))};gt._InternalPanelDoNotUseOrYouWillBeFired=Yt;var Fe=gt},91857:function(xt,Tt,oe){"use strict";var ne=oe(59301),ve=oe(38819),Je=oe(92310),Ne=oe.n(Je),Ie=oe(31561),Te=oe(70425),ye=oe(18929),Ye=oe(2738),_e=oe(79676),st=oe(53487),pt=oe(92343),$e=oe(36355),Xe=oe(20834),le=oe(40875),y=oe(88088),a=oe(47211);const E=null,b=ie=>{const{menu:ue,arrow:de,prefixCls:fe,children:Ce,trigger:Pe,disabled:je,dropdownRender:Se,getPopupContainer:Qe,overlayClassName:Bt,rootClassName:Ot,open:Ve,onOpenChange:ft,visible:Dt,onVisibleChange:Vt,mouseEnterDelay:Rt=.15,mouseLeaveDelay:St=.1,autoAdjustOverflow:ke=!0,placement:rt="",overlay:Lt,transitionName:De}=ie,{getPopupContainer:tt,getPrefixCls:Ft,direction:tn}=ne.useContext($e.E_),gt=ne.useMemo(()=>{const xe=Ft();return De!==void 0?De:rt.includes("top")?`${xe}-slide-down`:`${xe}-slide-up`},[Ft,rt,De]),Yt=ne.useMemo(()=>rt?rt.includes("Center")?rt.slice(0,rt.indexOf("Center")):rt:tn==="rtl"?"bottomRight":"bottomLeft",[rt,tn]),Fe=Ft("dropdown",fe),[it,Pt]=(0,a.Z)(Fe),[,nn]=(0,y.Z)(),zt=ne.Children.only(Ce),Ke=(0,pt.Tm)(zt,{className:Ne()(`${Fe}-trigger`,{[`${Fe}-rtl`]:tn==="rtl"},zt.props.className),disabled:je}),Ue=je?[]:Pe;let we;Ue&&Ue.includes("contextMenu")&&(we=!0);const[ge,ze]=(0,ye.Z)(!1,{value:Ve!=null?Ve:Dt}),Re=(0,Te.useEvent)(xe=>{ft==null||ft(xe),Vt==null||Vt(xe),ze(xe)}),Ee=Ne()(Bt,Ot,Pt,{[`${Fe}-rtl`]:tn==="rtl"}),he=(0,_e.Z)({arrowPointAtCenter:typeof de=="object"&&de.pointAtCenter,autoAdjustOverflow:ke,offset:nn.marginXXS,arrowWidth:de?nn.sizePopupArrow:0,borderRadius:nn.borderRadius}),nt=ne.useCallback(()=>{ze(!1)},[]),Me=()=>{let xe;return ue!=null&&ue.items?xe=ne.createElement(Xe.default,Object.assign({},ue)):typeof Lt=="function"?xe=Lt():xe=Lt,Se&&(xe=Se(xe)),xe=ne.Children.only(typeof xe=="string"?ne.createElement("span",null,xe):xe),ne.createElement(le.J,{prefixCls:`${Fe}-menu`,expandIcon:ne.createElement("span",{className:`${Fe}-menu-submenu-arrow`},ne.createElement(ve.Z,{className:`${Fe}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:nt,validator:Ge=>{let{mode:wt}=Ge}},xe)};return it(ne.createElement(Ie.Z,Object.assign({alignPoint:we},(0,Ye.Z)(ie,["rootClassName"]),{mouseEnterDelay:Rt,mouseLeaveDelay:St,visible:ge,builtinPlacements:he,arrow:!!de,overlayClassName:Ee,prefixCls:Fe,getPopupContainer:Qe||tt,transitionName:gt,trigger:Ue,overlay:Me,placement:Yt,onVisibleChange:Re}),Ke))};function x(ie){return Object.assign(Object.assign({},ie),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const te=(0,st.Z)(b,"dropdown",ie=>ie,x),ae=ie=>ne.createElement(te,Object.assign({},ie),ne.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ae,Tt.Z=b},38854:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return y}});var ne=oe(91857),ve=oe(92310),Je=oe.n(ve),Ne=oe(59301),Ie=oe(18785),Te=oe(3113),ye=oe(36355),Ye=oe(81327),_e=oe(33234),st=oe(47211),pt=function(a,E){var b={};for(var x in a)Object.prototype.hasOwnProperty.call(a,x)&&E.indexOf(x)<0&&(b[x]=a[x]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,x=Object.getOwnPropertySymbols(a);te{const{getPopupContainer:E,getPrefixCls:b,direction:x}=Ne.useContext(ye.E_),{prefixCls:te,type:ae="default",danger:ie,disabled:ue,loading:de,onClick:fe,htmlType:Ce,children:Pe,className:je,menu:Se,arrow:Qe,autoFocus:Bt,overlay:Ot,trigger:Ve,align:ft,open:Dt,onOpenChange:Vt,placement:Rt,getPopupContainer:St,href:ke,icon:rt=Ne.createElement(Ie.Z,null),title:Lt,buttonsRender:De=Me=>Me,mouseEnterDelay:tt,mouseLeaveDelay:Ft,overlayClassName:tn,overlayStyle:gt,destroyPopupOnHide:Yt,dropdownRender:Fe}=a,it=pt(a,["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"]),Pt=b("dropdown",te),nn=`${Pt}-button`,[zt,Ke]=(0,st.Z)(Pt),Ue={menu:Se,arrow:Qe,autoFocus:Bt,align:ft,disabled:ue,trigger:ue?[]:Ve,onOpenChange:Vt,getPopupContainer:St||E,mouseEnterDelay:tt,mouseLeaveDelay:Ft,overlayClassName:tn,overlayStyle:gt,destroyPopupOnHide:Yt,dropdownRender:Fe},{compactSize:we,compactItemClassnames:ge}=(0,_e.ri)(Pt,x),ze=Je()(nn,ge,je,Ke);"overlay"in a&&(Ue.overlay=Ot),"open"in a&&(Ue.open=Dt),"placement"in a?Ue.placement=Rt:Ue.placement=x==="rtl"?"bottomLeft":"bottomRight";const Re=Ne.createElement(Te.ZP,{type:ae,danger:ie,disabled:ue,loading:de,onClick:fe,htmlType:Ce,href:ke,title:Lt},Pe),Ee=Ne.createElement(Te.ZP,{type:ae,danger:ie,icon:rt}),[he,nt]=De([Re,Ee]);return zt(Ne.createElement(Ye.Z.Compact,Object.assign({className:ze,size:we,block:!0},it),he,Ne.createElement(ne.Z,Object.assign({},Ue),nt)))};$e.__ANT_BUTTON=!0;var Xe=$e;const le=ne.Z;le.Button=Xe;var y=le},47211:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return pt}});var ne=oe(17313),ve=oe(13826),Je=oe(92899),Ne=oe(29878),Ie=oe(19447),Te=oe(83116),ye=oe(37613),_e=$e=>{const{componentCls:Xe,menuCls:le,colorError:y,colorTextLightSolid:a}=$e,E=`${le}-item`;return{[`${Xe}, ${Xe}-menu-submenu`]:{[`${le} ${E}`]:{[`&${E}-danger:not(${E}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const st=$e=>{const{componentCls:Xe,menuCls:le,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:E,antCls:b,iconCls:x,motionDurationMid:te,dropdownPaddingVertical:ae,fontSize:ie,dropdownEdgeChildPadding:ue,colorTextDisabled:de,fontSizeIcon:fe,controlPaddingHorizontal:Ce,colorBgElevated:Pe}=$e;return[{[Xe]:Object.assign(Object.assign({},(0,ne.Wf)($e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+E/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${x}-down, & > ${b}-btn-icon > ${x}-down`]:{fontSize:fe}},[`${Xe}-wrap`]:{position:"relative",[`${b}-btn > ${x}-down`]:{fontSize:fe},[`${x}-down::before`]:{transition:`transform ${te}`}},[`${Xe}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${Xe}-placement-bottomLeft, + &${b}-slide-down-appear${b}-slide-down-appear-active${Xe}-placement-bottomLeft, + &${b}-slide-down-enter${b}-slide-down-enter-active${Xe}-placement-bottom, + &${b}-slide-down-appear${b}-slide-down-appear-active${Xe}-placement-bottom, + &${b}-slide-down-enter${b}-slide-down-enter-active${Xe}-placement-bottomRight, + &${b}-slide-down-appear${b}-slide-down-appear-active${Xe}-placement-bottomRight`]:{animationName:ve.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${Xe}-placement-topLeft, + &${b}-slide-up-appear${b}-slide-up-appear-active${Xe}-placement-topLeft, + &${b}-slide-up-enter${b}-slide-up-enter-active${Xe}-placement-top, + &${b}-slide-up-appear${b}-slide-up-appear-active${Xe}-placement-top, + &${b}-slide-up-enter${b}-slide-up-enter-active${Xe}-placement-topRight, + &${b}-slide-up-appear${b}-slide-up-appear-active${Xe}-placement-topRight`]:{animationName:ve.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${Xe}-placement-bottomLeft, + &${b}-slide-down-leave${b}-slide-down-leave-active${Xe}-placement-bottom, + &${b}-slide-down-leave${b}-slide-down-leave-active${Xe}-placement-bottomRight`]:{animationName:ve.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${Xe}-placement-topLeft, + &${b}-slide-up-leave${b}-slide-up-leave-active${Xe}-placement-top, + &${b}-slide-up-leave${b}-slide-up-leave-active${Xe}-placement-topRight`]:{animationName:ve.ly}})},(0,Ie.ZP)($e,{colorBg:Pe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Xe} ${le}`]:{position:"relative",margin:0},[`${le}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Xe}, ${Xe}-menu-submenu`]:{[le]:Object.assign(Object.assign({padding:ue,listStyleType:"none",backgroundColor:Pe,backgroundClip:"padding-box",borderRadius:$e.borderRadiusLG,outline:"none",boxShadow:$e.boxShadowSecondary},(0,ne.Qy)($e)),{[`${le}-item-group-title`]:{padding:`${ae}px ${Ce}px`,color:$e.colorTextDescription,transition:`all ${te}`},[`${le}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${le}-item-icon`]:{minWidth:ie,marginInlineEnd:$e.marginXS,fontSize:$e.fontSizeSM},[`${le}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${le}-item, ${le}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ae}px ${Ce}px`,color:$e.colorText,fontWeight:"normal",fontSize:ie,lineHeight:$e.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:$e.borderRadiusSM,"&:hover, &-active":{backgroundColor:$e.controlItemBgHover}},(0,ne.Qy)($e)),{"&-selected":{color:$e.colorPrimary,backgroundColor:$e.controlItemBgActive,"&:hover, &-active":{backgroundColor:$e.controlItemBgActiveHover}},"&-disabled":{color:de,cursor:"not-allowed","&:hover":{color:de,backgroundColor:Pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${$e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:$e.colorSplit},[`${Xe}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:$e.paddingXS,[`${Xe}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:$e.colorTextDescription,fontSize:fe,fontStyle:"normal"}}}),[`${le}-item-group-list`]:{margin:`0 ${$e.marginXS}px`,padding:0,listStyle:"none"},[`${le}-submenu-title`]:{paddingInlineEnd:Ce+$e.fontSizeSM},[`${le}-submenu-vertical`]:{position:"relative"},[`${le}-submenu${le}-submenu-disabled ${Xe}-menu-submenu-title`]:{[`&, ${Xe}-menu-submenu-arrow-icon`]:{color:de,backgroundColor:Pe,cursor:"not-allowed"}},[`${le}-submenu-selected ${Xe}-menu-submenu-title`]:{color:$e.colorPrimary}})}},[(0,ve.oN)($e,"slide-up"),(0,ve.oN)($e,"slide-down"),(0,Je.Fm)($e,"move-up"),(0,Je.Fm)($e,"move-down"),(0,Ne._y)($e,"zoom-big")]]};var pt=(0,Te.Z)("Dropdown",($e,Xe)=>{let{rootPrefixCls:le}=Xe;const{marginXXS:y,sizePopupArrow:a,controlHeight:E,fontSize:b,lineHeight:x,paddingXXS:te,componentCls:ae,borderRadiusLG:ie}=$e,ue=(E-b*x)/2,{dropdownArrowOffset:de}=(0,Ie.fS)({contentRadius:ie}),fe=(0,ye.TS)($e,{menuCls:`${ae}-menu`,rootPrefixCls:le,dropdownArrowDistance:a/2+y,dropdownArrowOffset:de,dropdownPaddingVertical:ue,dropdownEdgeChildPadding:te});return[st(fe),_e(fe)]},$e=>({zIndexPopup:$e.zIndexPopupBase+50}))},8628:function(xt,Tt,oe){"use strict";var ne=oe(59301),ve=oe(34280),Je=oe(56762),Ne=oe(69507);function Ie(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ye=(0,ne.useRef)({}),Ye=(0,Je.Z)(),_e=(0,Ne.ZP)();return(0,ve.Z)(()=>{const st=_e.subscribe(pt=>{ye.current=pt,Te&&Ye()});return()=>_e.unsubscribe(st)},[]),ye.current}Tt.Z=Ie},45818:function(xt,Tt,oe){"use strict";oe.d(Tt,{D:function(){return te},Z:function(){return ue}});var ne=oe(92413),ve=oe(59301),Je={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"},Ne=Je,Ie=oe(7657),Te=function(fe,Ce){return ve.createElement(Ie.Z,(0,ne.Z)({},fe,{ref:Ce,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye,_e=oe(33853),st=oe(38819),pt=oe(92310),$e=oe.n(pt),Xe=oe(2738),y=de=>!isNaN(parseFloat(de))&&isFinite(de),a=oe(36355),E=oe(84966),b=function(de,fe){var Ce={};for(var Pe in de)Object.prototype.hasOwnProperty.call(de,Pe)&&fe.indexOf(Pe)<0&&(Ce[Pe]=de[Pe]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Pe=Object.getOwnPropertySymbols(de);je{let de=0;return function(){let fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return de+=1,`${fe}${de}`}})();var ue=ve.forwardRef((de,fe)=>{const{prefixCls:Ce,className:Pe,trigger:je,children:Se,defaultCollapsed:Qe=!1,theme:Bt="dark",style:Ot={},collapsible:Ve=!1,reverseArrow:ft=!1,width:Dt=200,collapsedWidth:Vt=80,zeroWidthTriggerStyle:Rt,breakpoint:St,onCollapse:ke,onBreakpoint:rt}=de,Lt=b(de,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:De}=(0,ve.useContext)(E.Gs),[tt,Ft]=(0,ve.useState)("collapsed"in de?de.collapsed:Qe),[tn,gt]=(0,ve.useState)(!1);(0,ve.useEffect)(()=>{"collapsed"in de&&Ft(de.collapsed)},[de.collapsed]);const Yt=(Ke,Ue)=>{"collapsed"in de||Ft(Ke),ke==null||ke(Ke,Ue)},Fe=(0,ve.useRef)();Fe.current=Ke=>{gt(Ke.matches),rt==null||rt(Ke.matches),tt!==Ke.matches&&Yt(Ke.matches,"responsive")},(0,ve.useEffect)(()=>{function Ke(we){return Fe.current(we)}let Ue;if(typeof window!="undefined"){const{matchMedia:we}=window;if(we&&St&&St in x){Ue=we(`(max-width: ${x[St]})`);try{Ue.addEventListener("change",Ke)}catch(ge){Ue.addListener(Ke)}Ke(Ue)}}return()=>{try{Ue==null||Ue.removeEventListener("change",Ke)}catch(we){Ue==null||Ue.removeListener(Ke)}}},[St]),(0,ve.useEffect)(()=>{const Ke=ae("ant-sider-");return De.addSider(Ke),()=>De.removeSider(Ke)},[]);const it=()=>{Yt(!tt,"clickTrigger")},{getPrefixCls:Pt}=(0,ve.useContext)(a.E_),nn=()=>{const Ke=Pt("layout-sider",Ce),Ue=(0,Xe.Z)(Lt,["collapsed"]),we=tt?Vt:Dt,ge=y(we)?`${we}px`:String(we),ze=parseFloat(String(Vt||0))===0?ve.createElement("span",{onClick:it,className:$e()(`${Ke}-zero-width-trigger`,`${Ke}-zero-width-trigger-${ft?"right":"left"}`),style:Rt},je||ve.createElement(Ye,null)):null,he={expanded:ft?ve.createElement(st.Z,null):ve.createElement(_e.Z,null),collapsed:ft?ve.createElement(_e.Z,null):ve.createElement(st.Z,null)}[tt?"collapsed":"expanded"],nt=je!==null?ze||ve.createElement("div",{className:`${Ke}-trigger`,onClick:it,style:{width:ge}},je||he):null,Me=Object.assign(Object.assign({},Ot),{flex:`0 0 ${ge}`,maxWidth:ge,minWidth:ge,width:ge}),xe=$e()(Ke,`${Ke}-${Bt}`,{[`${Ke}-collapsed`]:!!tt,[`${Ke}-has-trigger`]:Ve&&je!==null&&!ze,[`${Ke}-below`]:!!tn,[`${Ke}-zero-width`]:parseFloat(ge)===0},Pe);return ve.createElement("aside",Object.assign({className:xe},Ue,{style:Me,ref:fe}),ve.createElement("div",{className:`${Ke}-children`},Se),Ve||tn&&ze?nt:null)},zt=ve.useMemo(()=>({siderCollapsed:tt}),[tt]);return ve.createElement(te.Provider,{value:zt},nn())})},84966:function(xt,Tt,oe){"use strict";oe.d(Tt,{VY:function(){return te},$_:function(){return x},h4:function(){return b},Gs:function(){return Xe},ZP:function(){return ae}});var ne=oe(26407),ve=oe(92310),Je=oe.n(ve),Ne=oe(2738),Ie=oe(59301),Te=oe(36355),ye=oe(83116),_e=ie=>{const{componentCls:ue,bodyBg:de,lightSiderBg:fe,lightTriggerBg:Ce,lightTriggerColor:Pe}=ie;return{[`${ue}-sider-light`]:{background:fe,[`${ue}-sider-trigger`]:{color:Pe,background:Ce},[`${ue}-sider-zero-width-trigger`]:{color:Pe,background:Ce,border:`1px solid ${de}`,borderInlineStart:0}}}};const st=ie=>{const{antCls:ue,componentCls:de,colorText:fe,triggerColor:Ce,footerBg:Pe,triggerBg:je,headerHeight:Se,headerPadding:Qe,headerColor:Bt,footerPadding:Ot,triggerHeight:Ve,zeroTriggerHeight:ft,zeroTriggerWidth:Dt,motionDurationMid:Vt,motionDurationSlow:Rt,fontSize:St,borderRadius:ke,bodyBg:rt,headerBg:Lt,siderBg:De}=ie;return{[de]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:rt,"&, *":{boxSizing:"border-box"},[`&${de}-has-sider`]:{flexDirection:"row",[`> ${de}, > ${de}-content`]:{width:0}},[`${de}-header, &${de}-footer`]:{flex:"0 0 auto"},[`${de}-sider`]:{position:"relative",minWidth:0,background:De,transition:`all ${Vt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ue}-menu${ue}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ve},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ve,color:Ce,lineHeight:`${Ve}px`,textAlign:"center",background:je,cursor:"pointer",transition:`all ${Vt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Se,insetInlineEnd:-Dt,zIndex:1,width:Dt,height:ft,color:Ce,fontSize:ie.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:De,borderStartStartRadius:0,borderStartEndRadius:ke,borderEndEndRadius:ke,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Rt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Rt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Dt,borderStartStartRadius:ke,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ke}}}}},_e(ie)),{"&-rtl":{direction:"rtl"}}),[`${de}-header`]:{height:Se,padding:Qe,color:Bt,lineHeight:`${Se}px`,background:Lt,[`${ue}-menu`]:{lineHeight:"inherit"}},[`${de}-footer`]:{padding:Ot,color:fe,fontSize:St,background:Pe},[`${de}-content`]:{flex:"auto",minHeight:0}}};var pt=(0,ye.Z)("Layout",ie=>[st(ie)],ie=>{const{colorBgLayout:ue,controlHeight:de,controlHeightLG:fe,colorText:Ce,controlHeightSM:Pe,marginXXS:je,colorTextLightSolid:Se,colorBgContainer:Qe}=ie,Bt=fe*1.25;return{colorBgHeader:"#001529",colorBgBody:ue,colorBgTrigger:"#002140",bodyBg:ue,headerBg:"#001529",headerHeight:de*2,headerPadding:`0 ${Bt}px`,headerColor:Ce,footerPadding:`${Pe}px ${Bt}px`,footerBg:ue,siderBg:"#001529",triggerHeight:fe+je*2,triggerBg:"#002140",triggerColor:Se,zeroTriggerWidth:fe,zeroTriggerHeight:fe,lightSiderBg:Qe,lightTriggerBg:Qe,lightTriggerColor:Ce}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),$e=function(ie,ue){var de={};for(var fe in ie)Object.prototype.hasOwnProperty.call(ie,fe)&&ue.indexOf(fe)<0&&(de[fe]=ie[fe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,fe=Object.getOwnPropertySymbols(ie);Cenull,removeSider:()=>null}});function le(ie){let{suffixCls:ue,tagName:de,displayName:fe}=ie;return Ce=>Ie.forwardRef((je,Se)=>Ie.createElement(Ce,Object.assign({ref:Se,suffixCls:ue,tagName:de},je)))}const y=Ie.forwardRef((ie,ue)=>{const{prefixCls:de,suffixCls:fe,className:Ce,tagName:Pe}=ie,je=$e(ie,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Se}=Ie.useContext(Te.E_),Qe=Se("layout",de),[Bt,Ot]=pt(Qe),Ve=fe?`${Qe}-${fe}`:Qe;return Bt(Ie.createElement(Pe,Object.assign({className:Je()(de||Ve,Ce,Ot),ref:ue},je)))}),a=Ie.forwardRef((ie,ue)=>{const{direction:de}=Ie.useContext(Te.E_),[fe,Ce]=Ie.useState([]),{prefixCls:Pe,className:je,rootClassName:Se,children:Qe,hasSider:Bt,tagName:Ot,style:Ve}=ie,ft=$e(ie,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Dt=(0,Ne.Z)(ft,["suffixCls"]),{getPrefixCls:Vt,layout:Rt}=Ie.useContext(Te.E_),St=Vt("layout",Pe),[ke,rt]=pt(St),Lt=Je()(St,{[`${St}-has-sider`]:typeof Bt=="boolean"?Bt:fe.length>0,[`${St}-rtl`]:de==="rtl"},Rt==null?void 0:Rt.className,je,Se,rt),De=Ie.useMemo(()=>({siderHook:{addSider:tt=>{Ce(Ft=>[].concat((0,ne.Z)(Ft),[tt]))},removeSider:tt=>{Ce(Ft=>Ft.filter(tn=>tn!==tt))}}}),[]);return ke(Ie.createElement(Xe.Provider,{value:De},Ie.createElement(Ot,Object.assign({ref:ue,className:Lt,style:Object.assign(Object.assign({},Rt==null?void 0:Rt.style),Ve)},Dt),Qe)))}),E=le({tagName:"div",displayName:"Layout"})(a),b=le({suffixCls:"header",tagName:"header",displayName:"Header"})(y),x=le({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),te=le({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ae=E},40875:function(xt,Tt,oe){"use strict";oe.d(Tt,{J:function(){return Te}});var ne=oe(59301),ve=oe(33234),Je=oe(70425),Ne=function(ye,Ye){var _e={};for(var st in ye)Object.prototype.hasOwnProperty.call(ye,st)&&Ye.indexOf(st)<0&&(_e[st]=ye[st]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,st=Object.getOwnPropertySymbols(ye);pt{const{children:_e}=ye,st=Ne(ye,["children"]),pt=ne.useContext(Ie),$e=ne.useMemo(()=>Object.assign(Object.assign({},pt),st),[pt,st.prefixCls,st.mode,st.selectable]);return ne.createElement(Ie.Provider,{value:$e},ne.createElement(ve.BR,null,(0,Je.supportNodeRef)(_e)?ne.cloneElement(_e,{ref:Ye}):_e))});Tt.Z=Ie},20834:function(xt,Tt,oe){"use strict";oe.d(Tt,{default:function(){return zt}});var ne=oe(15285),ve=oe(59301),Je=oe(45818),Ne=oe(92310),Ie=oe.n(Ne),Te=oe(36355),ye=function(Ke,Ue){var we={};for(var ge in Ke)Object.prototype.hasOwnProperty.call(Ke,ge)&&Ue.indexOf(ge)<0&&(we[ge]=Ke[ge]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,ge=Object.getOwnPropertySymbols(Ke);ze{const{prefixCls:Ue,className:we,dashed:ge}=Ke,ze=ye(Ke,["prefixCls","className","dashed"]),{getPrefixCls:Re}=ve.useContext(Te.E_),Ee=Re("menu",Ue),he=Ie()({[`${Ee}-item-divider-dashed`]:!!ge},we);return ve.createElement(ne.iz,Object.assign({className:he},ze))},st=oe(11592),pt=oe(2738),$e=oe(6848),Xe=oe(92343),y=(0,ve.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),E=Ke=>{var Ue;const{className:we,children:ge,icon:ze,title:Re,danger:Ee}=Ke,{prefixCls:he,firstLevel:nt,direction:Me,disableMenuItemTitleTooltip:xe,inlineCollapsed:Ge}=ve.useContext(y),wt=ot=>{const At=ve.createElement("span",{className:`${he}-title-content`},ge);return(!ze||(0,Xe.l$)(ge)&&ge.type==="span")&&ge&&ot&&nt&&typeof ge=="string"?ve.createElement("div",{className:`${he}-inline-collapsed-noicon`},ge.charAt(0)):At},{siderCollapsed:ht}=ve.useContext(Je.D);let Gt=Re;typeof Re=="undefined"?Gt=nt?ge:"":Re===!1&&(Gt="");const kt={title:Gt};!ht&&!Ge&&(kt.title=null,kt.open=!1);const Nt=(0,st.Z)(ge).length;let Le=ve.createElement(ne.ck,Object.assign({},(0,pt.Z)(Ke,["title","icon","danger"]),{className:Ie()({[`${he}-item-danger`]:Ee,[`${he}-item-only-child`]:(ze?Nt+1:Nt)===1},we),title:typeof Re=="string"?Re:void 0}),(0,Xe.Tm)(ze,{className:Ie()((0,Xe.l$)(ze)?(Ue=ze.props)===null||Ue===void 0?void 0:Ue.className:"",`${he}-item-icon`)}),wt(Ge));return xe||(Le=ve.createElement($e.Z,Object.assign({},kt,{placement:Me==="rtl"?"left":"right",overlayClassName:`${he}-inline-collapsed-tooltip`}),Le)),Le},x=Ke=>{var Ue;const{popupClassName:we,icon:ge,title:ze,theme:Re}=Ke,Ee=ve.useContext(y),{prefixCls:he,inlineCollapsed:nt,theme:Me}=Ee,xe=(0,ne.Xl)();let Ge;if(!ge)Ge=nt&&!xe.length&&ze&&typeof ze=="string"?ve.createElement("div",{className:`${he}-inline-collapsed-noicon`},ze.charAt(0)):ve.createElement("span",{className:`${he}-title-content`},ze);else{const ht=(0,Xe.l$)(ze)&&ze.type==="span";Ge=ve.createElement(ve.Fragment,null,(0,Xe.Tm)(ge,{className:Ie()((0,Xe.l$)(ge)?(Ue=ge.props)===null||Ue===void 0?void 0:Ue.className:"",`${he}-item-icon`)}),ht?ze:ve.createElement("span",{className:`${he}-title-content`},ze))}const wt=ve.useMemo(()=>Object.assign(Object.assign({},Ee),{firstLevel:!1}),[Ee]);return ve.createElement(y.Provider,{value:wt},ve.createElement(ne.Wd,Object.assign({},(0,pt.Z)(Ke,["icon"]),{title:Ge,popupClassName:Ie()(he,we,`${he}-${Re||Me}`)})))},te=oe(18785),ae=oe(70425),ie=oe(62892),ue=oe(40875),de=function(Ke,Ue){var we={};for(var ge in Ke)Object.prototype.hasOwnProperty.call(Ke,ge)&&Ue.indexOf(ge)<0&&(we[ge]=Ke[ge]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,ge=Object.getOwnPropertySymbols(Ke);ze{if(Ue&&typeof Ue=="object"){const ge=Ue,{label:ze,children:Re,key:Ee,type:he}=ge,nt=de(ge,["label","children","key","type"]),Me=Ee!=null?Ee:`tmp-${we}`;return Re||he==="group"?he==="group"?ve.createElement(ne.BW,Object.assign({key:Me},nt,{title:ze}),fe(Re)):ve.createElement(x,Object.assign({key:Me},nt,{title:ze}),fe(Re)):he==="divider"?ve.createElement(_e,Object.assign({key:Me},nt)):ve.createElement(E,Object.assign({key:Me},nt),ze)}return null}).filter(Ue=>Ue)}function Ce(Ke){return ve.useMemo(()=>Ke&&fe(Ke),[Ke])}var Pe=oe(64993),je=oe(17313),Se=oe(8378),Qe=oe(13826),Bt=oe(29878),Ot=oe(83116),Ve=oe(37613),Dt=Ke=>{const{componentCls:Ue,motionDurationSlow:we,horizontalLineHeight:ge,colorSplit:ze,lineWidth:Re,lineType:Ee,itemPaddingInline:he}=Ke;return{[`${Ue}-horizontal`]:{lineHeight:ge,border:0,borderBottom:`${Re}px ${Ee} ${ze}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ue}-item, ${Ue}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:he},[`> ${Ue}-item:hover, + > ${Ue}-item-active, + > ${Ue}-submenu ${Ue}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ue}-item, ${Ue}-submenu-title`]:{transition:[`border-color ${we}`,`background ${we}`].join(",")},[`${Ue}-submenu-arrow`]:{display:"none"}}}},Rt=Ke=>{let{componentCls:Ue,menuArrowOffset:we}=Ke;return{[`${Ue}-rtl`]:{direction:"rtl"},[`${Ue}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ue}-rtl${Ue}-vertical, + ${Ue}-submenu-rtl ${Ue}-vertical`]:{[`${Ue}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${we})`},"&::after":{transform:`rotate(45deg) translateY(${we})`}}}}};const St=Ke=>Object.assign({},(0,je.oN)(Ke));var rt=(Ke,Ue)=>{const{componentCls:we,itemColor:ge,itemSelectedColor:ze,groupTitleColor:Re,itemBg:Ee,subMenuItemBg:he,itemSelectedBg:nt,activeBarHeight:Me,activeBarWidth:xe,activeBarBorderWidth:Ge,motionDurationSlow:wt,motionEaseInOut:ht,motionEaseOut:Gt,itemPaddingInline:kt,motionDurationMid:Nt,itemHoverColor:Le,lineType:ot,colorSplit:At,itemDisabledColor:ct,dangerItemColor:yt,dangerItemHoverColor:on,dangerItemSelectedColor:mn,dangerItemActiveBg:dn,dangerItemSelectedBg:vn,itemHoverBg:Wn,itemActiveBg:fn,menuSubMenuBg:Zn,horizontalItemSelectedColor:$n,horizontalItemSelectedBg:ta,horizontalItemBorderRadius:Mn,horizontalItemHoverBg:ua,popupBg:Qn}=Ke;return{[`${we}-${Ue}, ${we}-${Ue} > ${we}`]:{color:ge,background:Ee,[`&${we}-root:focus-visible`]:Object.assign({},St(Ke)),[`${we}-item-group-title`]:{color:Re},[`${we}-submenu-selected`]:{[`> ${we}-submenu-title`]:{color:ze}},[`${we}-item-disabled, ${we}-submenu-disabled`]:{color:`${ct} !important`},[`${we}-item:not(${we}-item-selected):not(${we}-submenu-selected)`]:{[`&:hover, > ${we}-submenu-title:hover`]:{color:Le}},[`&:not(${we}-horizontal)`]:{[`${we}-item:not(${we}-item-selected)`]:{"&:hover":{backgroundColor:Wn},"&:active":{backgroundColor:fn}},[`${we}-submenu-title`]:{"&:hover":{backgroundColor:Wn},"&:active":{backgroundColor:fn}}},[`${we}-item-danger`]:{color:yt,[`&${we}-item:hover`]:{[`&:not(${we}-item-selected):not(${we}-submenu-selected)`]:{color:on}},[`&${we}-item:active`]:{background:dn}},[`${we}-item a`]:{"&, &:hover":{color:"inherit"}},[`${we}-item-selected`]:{color:ze,[`&${we}-item-danger`]:{color:mn},"a, a:hover":{color:"inherit"}},[`& ${we}-item-selected`]:{backgroundColor:nt,[`&${we}-item-danger`]:{backgroundColor:vn}},[`${we}-item, ${we}-submenu-title`]:{[`&:not(${we}-item-disabled):focus-visible`]:Object.assign({},St(Ke))},[`&${we}-submenu > ${we}`]:{backgroundColor:Zn},[`&${we}-popup > ${we}`]:{backgroundColor:Qn},[`&${we}-horizontal`]:Object.assign(Object.assign({},Ue==="dark"?{borderBottom:0}:{}),{[`> ${we}-item, > ${we}-submenu`]:{top:Ge,marginTop:-Ge,marginBottom:0,borderRadius:Mn,"&::after":{position:"absolute",insetInline:kt,bottom:0,borderBottom:`${Me}px solid transparent`,transition:`border-color ${wt} ${ht}`,content:'""'},"&:hover, &-active, &-open":{background:ua,"&::after":{borderBottomWidth:Me,borderBottomColor:$n}},"&-selected":{color:$n,backgroundColor:ta,"&:hover":{backgroundColor:ta},"&::after":{borderBottomWidth:Me,borderBottomColor:$n}}}}),[`&${we}-root`]:{[`&${we}-inline, &${we}-vertical`]:{borderInlineEnd:`${Ge}px ${ot} ${At}`}},[`&${we}-inline`]:{[`${we}-sub${we}-inline`]:{background:he},[`${we}-item, ${we}-submenu-title`]:Ge&&xe?{width:`calc(100% + ${Ge}px)`}:{},[`${we}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${xe}px solid ${ze}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Nt} ${Gt}`,`opacity ${Nt} ${Gt}`].join(","),content:'""'},[`&${we}-item-danger`]:{"&::after":{borderInlineEndColor:mn}}},[`${we}-selected, ${we}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Nt} ${ht}`,`opacity ${Nt} ${ht}`].join(",")}}}}}};const Lt=Ke=>{const{componentCls:Ue,itemHeight:we,itemMarginInline:ge,padding:ze,menuArrowSize:Re,marginXS:Ee,itemMarginBlock:he}=Ke,nt=ze+Re+Ee;return{[`${Ue}-item`]:{position:"relative",overflow:"hidden"},[`${Ue}-item, ${Ue}-submenu-title`]:{height:we,lineHeight:`${we}px`,paddingInline:ze,overflow:"hidden",textOverflow:"ellipsis",marginInline:ge,marginBlock:he,width:`calc(100% - ${ge*2}px)`},[`> ${Ue}-item, + > ${Ue}-submenu > ${Ue}-submenu-title`]:{height:we,lineHeight:`${we}px`},[`${Ue}-item-group-list ${Ue}-submenu-title, + ${Ue}-submenu-title`]:{paddingInlineEnd:nt}}};var tt=Ke=>{const{componentCls:Ue,iconCls:we,itemHeight:ge,colorTextLightSolid:ze,dropdownWidth:Re,controlHeightLG:Ee,motionDurationMid:he,motionEaseOut:nt,paddingXL:Me,itemMarginInline:xe,fontSizeLG:Ge,motionDurationSlow:wt,paddingXS:ht,boxShadowSecondary:Gt,collapsedWidth:kt,collapsedIconSize:Nt}=Ke,Le={height:ge,lineHeight:`${ge}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ue]:{"&-inline, &-vertical":Object.assign({[`&${Ue}-root`]:{boxShadow:"none"}},Lt(Ke))},[`${Ue}-submenu-popup`]:{[`${Ue}-vertical`]:Object.assign(Object.assign({},Lt(Ke)),{boxShadow:Gt})}},{[`${Ue}-submenu-popup ${Ue}-vertical${Ue}-sub`]:{minWidth:Re,maxHeight:`calc(100vh - ${Ee*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ue}-inline`]:{width:"100%",[`&${Ue}-root`]:{[`${Ue}-item, ${Ue}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${wt}`,`background ${wt}`,`padding ${he} ${nt}`].join(","),[`> ${Ue}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ue}-sub${Ue}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ue}-submenu > ${Ue}-submenu-title`]:Le,[`& ${Ue}-item-group-title`]:{paddingInlineStart:Me}},[`${Ue}-item`]:Le}},{[`${Ue}-inline-collapsed`]:{width:kt,[`&${Ue}-root`]:{[`${Ue}-item, ${Ue}-submenu ${Ue}-submenu-title`]:{[`> ${Ue}-inline-collapsed-noicon`]:{fontSize:Ge,textAlign:"center"}}},[`> ${Ue}-item, + > ${Ue}-item-group > ${Ue}-item-group-list > ${Ue}-item, + > ${Ue}-item-group > ${Ue}-item-group-list > ${Ue}-submenu > ${Ue}-submenu-title, + > ${Ue}-submenu > ${Ue}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Ge/2}px - ${xe}px)`,textOverflow:"clip",[` + ${Ue}-submenu-arrow, + ${Ue}-submenu-expand-icon + `]:{opacity:0},[`${Ue}-item-icon, ${we}`]:{margin:0,fontSize:Nt,lineHeight:`${ge}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ue}-item-icon, ${we}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ue}-item-icon, ${we}`]:{display:"none"},"a, a:hover":{color:ze}},[`${Ue}-item-group-title`]:Object.assign(Object.assign({},je.vS),{paddingInline:ht})}}]};const Ft=Ke=>{const{componentCls:Ue,motionDurationSlow:we,motionDurationMid:ge,motionEaseInOut:ze,motionEaseOut:Re,iconCls:Ee,iconSize:he,iconMarginInlineEnd:nt}=Ke;return{[`${Ue}-item, ${Ue}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${we}`,`background ${we}`,`padding ${we} ${ze}`].join(","),[`${Ue}-item-icon, ${Ee}`]:{minWidth:he,fontSize:he,transition:[`font-size ${ge} ${Re}`,`margin ${we} ${ze}`,`color ${we}`].join(","),"+ span":{marginInlineStart:nt,opacity:1,transition:[`opacity ${we} ${ze}`,`margin ${we}`,`color ${we}`].join(",")}},[`${Ue}-item-icon`]:Object.assign({},(0,je.Ro)()),[`&${Ue}-item-only-child`]:{[`> ${Ee}, > ${Ue}-item-icon`]:{marginInlineEnd:0}}},[`${Ue}-item-disabled, ${Ue}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ue}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},tn=Ke=>{const{componentCls:Ue,motionDurationSlow:we,motionEaseInOut:ge,borderRadius:ze,menuArrowSize:Re,menuArrowOffset:Ee}=Ke;return{[`${Ue}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ke.margin,width:Re,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${we} ${ge}, opacity ${we}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Re*.6,height:Re*.15,backgroundColor:"currentcolor",borderRadius:ze,transition:[`background ${we} ${ge}`,`transform ${we} ${ge}`,`top ${we} ${ge}`,`color ${we} ${ge}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Ee})`},"&::after":{transform:`rotate(-45deg) translateY(${Ee})`}}}}},gt=Ke=>{const{antCls:Ue,componentCls:we,fontSize:ge,motionDurationSlow:ze,motionDurationMid:Re,motionEaseInOut:Ee,paddingXS:he,padding:nt,colorSplit:Me,lineWidth:xe,zIndexPopup:Ge,borderRadiusLG:wt,subMenuItemBorderRadius:ht,menuArrowSize:Gt,menuArrowOffset:kt,lineType:Nt,menuPanelMaskInset:Le,groupTitleLineHeight:ot,groupTitleFontSize:At}=Ke;return[{"":{[`${we}`]:Object.assign(Object.assign({},(0,je.dF)()),{"&-hidden":{display:"none"}})},[`${we}-submenu-hidden`]:{display:"none"}},{[we]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,je.Wf)(Ke)),(0,je.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ge,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${ze} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${we}-item`]:{flex:"none"}},[`${we}-item, ${we}-submenu, ${we}-submenu-title`]:{borderRadius:Ke.itemBorderRadius},[`${we}-item-group-title`]:{padding:`${he}px ${nt}px`,fontSize:At,lineHeight:ot,transition:`all ${ze}`},[`&-horizontal ${we}-submenu`]:{transition:[`border-color ${ze} ${Ee}`,`background ${ze} ${Ee}`].join(",")},[`${we}-submenu, ${we}-submenu-inline`]:{transition:[`border-color ${ze} ${Ee}`,`background ${ze} ${Ee}`,`padding ${Re} ${Ee}`].join(",")},[`${we}-submenu ${we}-sub`]:{cursor:"initial",transition:[`background ${ze} ${Ee}`,`padding ${ze} ${Ee}`].join(",")},[`${we}-title-content`]:{transition:`color ${ze}`},[`${we}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${we}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Me,borderStyle:Nt,borderWidth:0,borderTopWidth:xe,marginBlock:xe,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ft(Ke)),{[`${we}-item-group`]:{[`${we}-item-group-list`]:{margin:0,padding:0,[`${we}-item, ${we}-submenu-title`]:{paddingInline:`${ge*2}px ${nt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ge,borderRadius:wt,boxShadow:"none",transformOrigin:"0 0",[`&${we}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Le}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Le},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Ke.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ke.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ke.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ke.paddingXS},[`> ${we}`]:Object.assign(Object.assign(Object.assign({borderRadius:wt},Ft(Ke)),tn(Ke)),{[`${we}-item, ${we}-submenu > ${we}-submenu-title`]:{borderRadius:ht},[`${we}-submenu-title::after`]:{transition:`transform ${ze} ${Ee}`}})}}),tn(Ke)),{[`&-inline-collapsed ${we}-submenu-arrow, + &-inline ${we}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${kt})`},"&::after":{transform:`rotate(45deg) translateX(-${kt})`}},[`${we}-submenu-open${we}-submenu-inline > ${we}-submenu-title > ${we}-submenu-arrow`]:{transform:`translateY(-${Gt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${kt})`},"&::before":{transform:`rotate(45deg) translateX(${kt})`}}})},{[`${Ue}-layout-header`]:{[we]:{lineHeight:"inherit"}}}]};var Yt=(Ke,Ue)=>(0,Ot.Z)("Menu",ge=>{if(Ue===!1)return[];const{colorBgElevated:ze,colorPrimary:Re,colorTextLightSolid:Ee,controlHeightLG:he,fontSize:nt,darkItemColor:Me,darkDangerItemColor:xe,darkItemBg:Ge,darkSubMenuItemBg:wt,darkItemSelectedColor:ht,darkItemSelectedBg:Gt,darkDangerItemSelectedBg:kt,darkItemHoverBg:Nt,darkGroupTitleColor:Le,darkItemHoverColor:ot,darkItemDisabledColor:At,darkDangerItemHoverColor:ct,darkDangerItemSelectedColor:yt,darkDangerItemActiveBg:on}=ge,mn=nt/7*5,dn=(0,Ve.TS)(ge,{menuArrowSize:mn,menuHorizontalHeight:he*1.15,menuArrowOffset:`${mn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:ze}),vn=(0,Ve.TS)(dn,{itemColor:Me,itemHoverColor:ot,groupTitleColor:Le,itemSelectedColor:ht,itemBg:Ge,popupBg:Ge,subMenuItemBg:wt,itemActiveBg:"transparent",itemSelectedBg:Gt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Nt,itemDisabledColor:At,dangerItemColor:xe,dangerItemHoverColor:ct,dangerItemSelectedColor:yt,dangerItemActiveBg:on,dangerItemSelectedBg:kt,menuSubMenuBg:wt,horizontalItemSelectedColor:Ee,horizontalItemSelectedBg:Re});return[gt(dn),Dt(dn),tt(dn),rt(dn,"light"),rt(vn,"dark"),Rt(dn),(0,Se.Z)(dn),(0,Qe.oN)(dn,"slide-up"),(0,Qe.oN)(dn,"slide-down"),(0,Bt._y)(dn,"zoom-big")]},ge=>{const{colorPrimary:ze,colorError:Re,colorTextDisabled:Ee,colorErrorBg:he,colorText:nt,colorTextDescription:Me,colorBgContainer:xe,colorFillAlter:Ge,colorFillContent:wt,lineWidth:ht,lineWidthBold:Gt,controlItemBgActive:kt,colorBgTextHover:Nt,controlHeightLG:Le,lineHeight:ot,colorBgElevated:At,marginXXS:ct,padding:yt,fontSize:on,controlHeightSM:mn,fontSizeLG:dn,colorTextLightSolid:vn,colorErrorHover:Wn}=ge,fn=new Pe.C(vn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ge.zIndexPopupBase+50,radiusItem:ge.borderRadiusLG,itemBorderRadius:ge.borderRadiusLG,radiusSubMenuItem:ge.borderRadiusSM,subMenuItemBorderRadius:ge.borderRadiusSM,colorItemText:nt,itemColor:nt,colorItemTextHover:nt,itemHoverColor:nt,colorItemTextHoverHorizontal:ze,horizontalItemHoverColor:ze,colorGroupTitle:Me,groupTitleColor:Me,colorItemTextSelected:ze,itemSelectedColor:ze,colorItemTextSelectedHorizontal:ze,horizontalItemSelectedColor:ze,colorItemBg:xe,itemBg:xe,colorItemBgHover:Nt,itemHoverBg:Nt,colorItemBgActive:wt,itemActiveBg:kt,colorSubItemBg:Ge,subMenuItemBg:Ge,colorItemBgSelected:kt,itemSelectedBg:kt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Gt,activeBarHeight:Gt,colorActiveBarBorderSize:ht,activeBarBorderWidth:ht,colorItemTextDisabled:Ee,itemDisabledColor:Ee,colorDangerItemText:Re,dangerItemColor:Re,colorDangerItemTextHover:Re,dangerItemHoverColor:Re,colorDangerItemTextSelected:Re,dangerItemSelectedColor:Re,colorDangerItemBgActive:he,dangerItemActiveBg:he,colorDangerItemBgSelected:he,dangerItemSelectedBg:he,itemMarginInline:ge.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Le,groupTitleLineHeight:ot,collapsedWidth:Le*2,popupBg:At,itemMarginBlock:ct,itemPaddingInline:yt,horizontalLineHeight:`${Le*1.15}px`,iconSize:on,iconMarginInlineEnd:mn-on,collapsedIconSize:dn,groupTitleFontSize:on,darkItemDisabledColor:new Pe.C(vn).setAlpha(.25).toRgbString(),darkItemColor:fn,darkDangerItemColor:Re,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:vn,darkItemSelectedBg:ze,darkDangerItemSelectedBg:Re,darkItemHoverBg:"transparent",darkGroupTitleColor:fn,darkItemHoverColor:vn,darkDangerItemHoverColor:Wn,darkDangerItemSelectedColor:vn,darkDangerItemActiveBg:Re}},{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"]]})(Ke),Fe=function(Ke,Ue){var we={};for(var ge in Ke)Object.prototype.hasOwnProperty.call(Ke,ge)&&Ue.indexOf(ge)<0&&(we[ge]=Ke[ge]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,ge=Object.getOwnPropertySymbols(Ke);ze{var we,ge;const ze=ve.useContext(ue.Z),Re=ze||{},{getPrefixCls:Ee,getPopupContainer:he,direction:nt,menu:Me}=ve.useContext(Te.E_),xe=Ee(),{prefixCls:Ge,className:wt,style:ht,theme:Gt="light",expandIcon:kt,_internalDisableMenuItemTitleTooltip:Nt,inlineCollapsed:Le,siderCollapsed:ot,items:At,children:ct,rootClassName:yt,mode:on,selectable:mn,onClick:dn,overflowedIndicatorPopupClassName:vn}=Ke,Wn=Fe(Ke,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),fn=(0,pt.Z)(Wn,["collapsedWidth"]),Zn=Ce(At)||ct;(we=Re.validator)===null||we===void 0||we.call(Re,{mode:on});const $n=(0,ae.useEvent)(function(){var Sn;dn==null||dn.apply(void 0,arguments),(Sn=Re.onClick)===null||Sn===void 0||Sn.call(Re)}),ta=Re.mode||on,Mn=mn!=null?mn:Re.selectable,ua=ve.useMemo(()=>ot!==void 0?ot:Le,[Le,ot]),Qn={horizontal:{motionName:`${xe}-slide-up`},inline:(0,ie.Z)(xe),other:{motionName:`${xe}-zoom-big`}},Yn=Ee("menu",Ge||Re.prefixCls),[ca,Ca]=Yt(Yn,!ze),ln=Ie()(`${Yn}-${Gt}`,Me==null?void 0:Me.className,wt);let gn;if(typeof kt=="function")gn=kt;else if(kt===null||kt===!1)gn=null;else if(Re.expandIcon===null||Re.expandIcon===!1)gn=null;else{const Sn=kt!=null?kt:Re.expandIcon;gn=(0,Xe.Tm)(Sn,{className:Ie()(`${Yn}-submenu-expand-icon`,(0,Xe.l$)(Sn)?(ge=Sn.props)===null||ge===void 0?void 0:ge.className:"")})}const An=ve.useMemo(()=>({prefixCls:Yn,inlineCollapsed:ua||!1,direction:nt,firstLevel:!0,theme:Gt,mode:ta,disableMenuItemTitleTooltip:Nt}),[Yn,ua,nt,Nt,Gt]);return ca(ve.createElement(ue.Z.Provider,{value:null},ve.createElement(y.Provider,{value:An},ve.createElement(ne.ZP,Object.assign({getPopupContainer:he,overflowedIndicator:ve.createElement(te.Z,null),overflowedIndicatorPopupClassName:Ie()(Yn,`${Yn}-${Gt}`,vn),mode:ta,selectable:Mn,onClick:$n},fn,{inlineCollapsed:ua,style:Object.assign(Object.assign({},Me==null?void 0:Me.style),ht),className:ln,prefixCls:Yn,direction:nt,defaultMotions:Qn,expandIcon:gn,ref:Ue,rootClassName:Ie()(yt,Ca)}),Zn))))});const nn=(0,ve.forwardRef)((Ke,Ue)=>{const we=(0,ve.useRef)(null),ge=ve.useContext(Je.D);return(0,ve.useImperativeHandle)(Ue,()=>({menu:we.current,focus:ze=>{var Re;(Re=we.current)===null||Re===void 0||Re.focus(ze)}})),ve.createElement(Pt,Object.assign({ref:we},Ke,ge))});nn.Item=E,nn.SubMenu=x,nn.Divider=_e,nn.ItemGroup=ne.BW;var zt=nn},58421:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Re}});var ne=oe(92413),ve=oe(59301),Je={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"},Ne=Je,Ie=oe(7657),Te=function(he,nt){return ve.createElement(Ie.Z,(0,ne.Z)({},he,{ref:nt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye,_e=oe(49198),st=oe(33853),pt=oe(38819),$e=oe(92310),Xe=oe.n($e),le=oe(400),y=oe(33708),a=oe(6909),E=oe(4771),b=oe(9427),x=oe(25440),te=oe(26112),ae={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ie=ae,ue=oe(91735),de=function(Ee){(0,b.Z)(nt,Ee);var he=(0,x.Z)(nt);function nt(){var Me;(0,a.Z)(this,nt);for(var xe=arguments.length,Ge=new Array(xe),wt=0;wt=0||ht.relatedTarget.className.indexOf("".concat(Le,"-item"))>=0))&&Nt(Me.getValidValue()))},Me.go=function(ht){var Gt=Me.state.goInputText;Gt!==""&&(ht.keyCode===ie.ENTER||ht.type==="click")&&(Me.setState({goInputText:""}),Me.props.quickGo(Me.getValidValue()))},Me}return(0,E.Z)(nt,[{key:"getPageSizeOptions",value:function(){var xe=this.props,Ge=xe.pageSize,wt=xe.pageSizeOptions;return wt.some(function(ht){return ht.toString()===Ge.toString()})?wt:wt.concat([Ge.toString()]).sort(function(ht,Gt){var kt=Number.isNaN(Number(ht))?0:Number(ht),Nt=Number.isNaN(Number(Gt))?0:Number(Gt);return kt-Nt})}},{key:"render",value:function(){var xe=this,Ge=this.props,wt=Ge.pageSize,ht=Ge.locale,Gt=Ge.rootPrefixCls,kt=Ge.changeSize,Nt=Ge.quickGo,Le=Ge.goButton,ot=Ge.selectComponentClass,At=Ge.buildOptionText,ct=Ge.selectPrefixCls,yt=Ge.disabled,on=this.state.goInputText,mn="".concat(Gt,"-options"),dn=ot,vn=null,Wn=null,fn=null;if(!kt&&!Nt)return null;var Zn=this.getPageSizeOptions();if(kt&&dn){var $n=Zn.map(function(ta,Mn){return ve.createElement(dn.Option,{key:Mn,value:ta.toString()},(At||xe.buildOptionText)(ta))});vn=ve.createElement(dn,{disabled:yt,prefixCls:ct,showSearch:!1,className:"".concat(mn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(wt||Zn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Mn){return Mn.parentNode},"aria-label":ht.page_size,defaultOpen:!1},$n)}return Nt&&(Le&&(fn=typeof Le=="boolean"?ve.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:yt,className:"".concat(mn,"-quick-jumper-button")},ht.jump_to_confirm):ve.createElement("span",{onClick:this.go,onKeyUp:this.go},Le)),Wn=ve.createElement("div",{className:"".concat(mn,"-quick-jumper")},ht.jump_to,ve.createElement("input",{disabled:yt,type:"text",value:on,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ht.page}),ht.page,fn)),ve.createElement("li",{className:"".concat(mn)},vn,Wn)}}]),nt}(ve.Component);de.defaultProps={pageSizeOptions:["10","20","50","100"]};var fe=de,Ce=function(he){var nt,Me=he.rootPrefixCls,xe=he.page,Ge=he.active,wt=he.className,ht=he.showTitle,Gt=he.onClick,kt=he.onKeyPress,Nt=he.itemRender,Le="".concat(Me,"-item"),ot=Xe()(Le,"".concat(Le,"-").concat(xe),(nt={},(0,le.Z)(nt,"".concat(Le,"-active"),Ge),(0,le.Z)(nt,"".concat(Le,"-disabled"),!xe),(0,le.Z)(nt,he.className,wt),nt)),At=function(){Gt(xe)},ct=function(mn){kt(mn,Gt,xe)},yt=Nt(xe,"page",ve.createElement("a",{rel:"nofollow"},xe));return yt?ve.createElement("li",{title:ht?xe.toString():null,className:ot,onClick:At,onKeyPress:ct,tabIndex:0},yt):null},Pe=Ce;function je(){}function Se(Ee){var he=Number(Ee);return typeof he=="number"&&!Number.isNaN(he)&&isFinite(he)&&Math.floor(he)===he}var Qe=function(he,nt,Me){return Me};function Bt(Ee,he,nt){var Me=typeof Ee=="undefined"?he.pageSize:Ee;return Math.floor((nt.total-1)/Me)+1}var Ot=function(Ee){(0,b.Z)(nt,Ee);var he=(0,x.Z)(nt);function nt(Me){var xe;(0,a.Z)(this,nt),xe=he.call(this,Me),xe.paginationNode=ve.createRef(),xe.getJumpPrevPage=function(){return Math.max(1,xe.state.current-(xe.props.showLessItems?3:5))},xe.getJumpNextPage=function(){return Math.min(Bt(void 0,xe.state,xe.props),xe.state.current+(xe.props.showLessItems?3:5))},xe.getItemIcon=function(kt,Nt){var Le=xe.props.prefixCls,ot=kt||ve.createElement("button",{type:"button","aria-label":Nt,className:"".concat(Le,"-item-link")});return typeof kt=="function"&&(ot=ve.createElement(kt,(0,y.Z)({},xe.props))),ot},xe.isValid=function(kt){var Nt=xe.props.total;return Se(kt)&&kt!==xe.state.current&&Se(Nt)&&Nt>0},xe.shouldDisplayQuickJumper=function(){var kt=xe.props,Nt=kt.showQuickJumper,Le=kt.total,ot=xe.state.pageSize;return Le<=ot?!1:Nt},xe.handleKeyDown=function(kt){(kt.keyCode===ie.ARROW_UP||kt.keyCode===ie.ARROW_DOWN)&&kt.preventDefault()},xe.handleKeyUp=function(kt){var Nt=xe.getValidValue(kt),Le=xe.state.currentInputValue;Nt!==Le&&xe.setState({currentInputValue:Nt}),kt.keyCode===ie.ENTER?xe.handleChange(Nt):kt.keyCode===ie.ARROW_UP?xe.handleChange(Nt-1):kt.keyCode===ie.ARROW_DOWN&&xe.handleChange(Nt+1)},xe.handleBlur=function(kt){var Nt=xe.getValidValue(kt);xe.handleChange(Nt)},xe.changePageSize=function(kt){var Nt=xe.state.current,Le=Bt(kt,xe.state,xe.props);Nt=Nt>Le?Le:Nt,Le===0&&(Nt=xe.state.current),typeof kt=="number"&&("pageSize"in xe.props||xe.setState({pageSize:kt}),"current"in xe.props||xe.setState({current:Nt,currentInputValue:Nt})),xe.props.onShowSizeChange(Nt,kt),"onChange"in xe.props&&xe.props.onChange&&xe.props.onChange(Nt,kt)},xe.handleChange=function(kt){var Nt=xe.props,Le=Nt.disabled,ot=Nt.onChange,At=xe.state,ct=At.pageSize,yt=At.current,on=At.currentInputValue;if(xe.isValid(kt)&&!Le){var mn=Bt(void 0,xe.state,xe.props),dn=kt;return kt>mn?dn=mn:kt<1&&(dn=1),"current"in xe.props||xe.setState({current:dn}),dn!==on&&xe.setState({currentInputValue:dn}),ot(dn,ct),dn}return yt},xe.prev=function(){xe.hasPrev()&&xe.handleChange(xe.state.current-1)},xe.next=function(){xe.hasNext()&&xe.handleChange(xe.state.current+1)},xe.jumpPrev=function(){xe.handleChange(xe.getJumpPrevPage())},xe.jumpNext=function(){xe.handleChange(xe.getJumpNextPage())},xe.hasPrev=function(){return xe.state.current>1},xe.hasNext=function(){return xe.state.current2?Le-2:0),At=2;At=wt?Gt=wt:Gt=Number(Ge),Gt}},{key:"getShowSizeChanger",value:function(){var xe=this.props,Ge=xe.showSizeChanger,wt=xe.total,ht=xe.totalBoundaryShowSizeChanger;return typeof Ge!="undefined"?Ge:wt>ht}},{key:"render",value:function(){var xe=this.props,Ge=xe.prefixCls,wt=xe.className,ht=xe.style,Gt=xe.disabled,kt=xe.hideOnSinglePage,Nt=xe.total,Le=xe.locale,ot=xe.showQuickJumper,At=xe.showLessItems,ct=xe.showTitle,yt=xe.showTotal,on=xe.simple,mn=xe.itemRender,dn=xe.showPrevNextJumpers,vn=xe.jumpPrevIcon,Wn=xe.jumpNextIcon,fn=xe.selectComponentClass,Zn=xe.selectPrefixCls,$n=xe.pageSizeOptions,ta=this.state,Mn=ta.current,ua=ta.pageSize,Qn=ta.currentInputValue;if(kt===!0&&Nt<=ua)return null;var Yn=Bt(void 0,this.state,this.props),ca=[],Ca=null,ln=null,gn=null,An=null,Sn=null,Fn=ot&&ot.goButton,Kn=At?1:2,Rn=Mn-1>0?Mn-1:0,at=Mn+1Nt?Nt:Mn*ua]));if(on){Fn&&(typeof Fn=="boolean"?Sn=ve.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Le.jump_to_confirm):Sn=ve.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Fn),Sn=ve.createElement("li",{title:ct?"".concat(Le.jump_to).concat(Mn,"/").concat(Yn):null,className:"".concat(Ge,"-simple-pager")},Sn));var Xt=this.renderPrev(Rn);return ve.createElement("ul",(0,ne.Z)({className:Xe()(Ge,"".concat(Ge,"-simple"),(0,le.Z)({},"".concat(Ge,"-disabled"),Gt),wt),style:ht,ref:this.paginationNode},mt),dt,Xt?ve.createElement("li",{title:ct?Le.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Xe()("".concat(Ge,"-prev"),(0,le.Z)({},"".concat(Ge,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Xt):null,ve.createElement("li",{title:ct?"".concat(Mn,"/").concat(Yn):null,className:"".concat(Ge,"-simple-pager")},ve.createElement("input",{type:"text",value:Qn,disabled:Gt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ve.createElement("span",{className:"".concat(Ge,"-slash")},"/"),Yn),ve.createElement("li",{title:ct?Le.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Xe()("".concat(Ge,"-next"),(0,le.Z)({},"".concat(Ge,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(at)),Sn)}if(Yn<=3+Kn*2){var un={locale:Le,rootPrefixCls:Ge,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:ct,itemRender:mn};Yn||ca.push(ve.createElement(Pe,(0,ne.Z)({},un,{key:"noPager",page:1,className:"".concat(Ge,"-item-disabled")})));for(var rn=1;rn<=Yn;rn+=1){var Xn=Mn===rn;ca.push(ve.createElement(Pe,(0,ne.Z)({},un,{key:rn,page:rn,active:Xn})))}}else{var kn=At?Le.prev_3:Le.prev_5,pn=At?Le.next_3:Le.next_5,Vn=mn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(vn,"prev page")),_t=mn(this.getJumpNextPage(),"jump-next",this.getItemIcon(Wn,"next page"));dn&&(Ca=Vn?ve.createElement("li",{title:ct?kn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Xe()("".concat(Ge,"-jump-prev"),(0,le.Z)({},"".concat(Ge,"-jump-prev-custom-icon"),!!vn))},Vn):null,ln=_t?ve.createElement("li",{title:ct?pn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Xe()("".concat(Ge,"-jump-next"),(0,le.Z)({},"".concat(Ge,"-jump-next-custom-icon"),!!Wn))},_t):null),An=ve.createElement(Pe,{locale:Le,last:!0,rootPrefixCls:Ge,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Yn,page:Yn,active:!1,showTitle:ct,itemRender:mn}),gn=ve.createElement(Pe,{locale:Le,rootPrefixCls:Ge,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:ct,itemRender:mn});var be=Math.max(1,Mn-Kn),qt=Math.min(Mn+Kn,Yn);Mn-1<=Kn&&(qt=1+Kn*2),Yn-Mn<=Kn&&(be=Yn-Kn*2);for(var yn=be;yn<=qt;yn+=1){var hn=Mn===yn;ca.push(ve.createElement(Pe,{locale:Le,rootPrefixCls:Ge,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:yn,page:yn,active:hn,showTitle:ct,itemRender:mn}))}Mn-1>=Kn*2&&Mn!==3&&(ca[0]=(0,ve.cloneElement)(ca[0],{className:"".concat(Ge,"-item-after-jump-prev")}),ca.unshift(Ca)),Yn-Mn>=Kn*2&&Mn!==Yn-2&&(ca[ca.length-1]=(0,ve.cloneElement)(ca[ca.length-1],{className:"".concat(Ge,"-item-before-jump-next")}),ca.push(ln)),be!==1&&ca.unshift(gn),qt!==Yn&&ca.push(An)}var Cn=!this.hasPrev()||!Yn,Be=!this.hasNext()||!Yn,vt=this.renderPrev(Rn),Ct=this.renderNext(at);return ve.createElement("ul",(0,ne.Z)({className:Xe()(Ge,wt,(0,le.Z)({},"".concat(Ge,"-disabled"),Gt)),style:ht,ref:this.paginationNode},mt),dt,vt?ve.createElement("li",{title:ct?Le.prev_page:null,onClick:this.prev,tabIndex:Cn?null:0,onKeyPress:this.runIfEnterPrev,className:Xe()("".concat(Ge,"-prev"),(0,le.Z)({},"".concat(Ge,"-disabled"),Cn)),"aria-disabled":Cn},vt):null,ca,Ct?ve.createElement("li",{title:ct?Le.next_page:null,onClick:this.next,tabIndex:Be?null:0,onKeyPress:this.runIfEnterNext,className:Xe()("".concat(Ge,"-next"),(0,le.Z)({},"".concat(Ge,"-disabled"),Be)),"aria-disabled":Be},Ct):null,ve.createElement(fe,{disabled:Gt,locale:Le,rootPrefixCls:Ge,selectComponentClass:fn,selectPrefixCls:Zn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Mn,pageSize:ua,pageSizeOptions:$n,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Fn}))}}],[{key:"getDerivedStateFromProps",value:function(xe,Ge){var wt={};if("current"in xe&&(wt.current=xe.current,xe.current!==Ge.current&&(wt.currentInputValue=wt.current)),"pageSize"in xe&&xe.pageSize!==Ge.pageSize){var ht=Ge.current,Gt=Bt(xe.pageSize,Ge,xe);ht=ht>Gt?Gt:ht,"current"in xe||(wt.current=ht,wt.currentInputValue=ht),wt.pageSize=xe.pageSize}return wt}}]),nt}(ve.Component);Ot.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:je,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:je,locale:ue.Z,style:{},itemRender:Qe,totalBoundaryShowSizeChanger:50};var Ve=Ot,ft=oe(22075),Dt=oe(36355),Vt=oe(19716),Rt=oe(8628),St=oe(9763),ke=oe(57809);const rt=Ee=>ve.createElement(ke.default,Object.assign({},Ee,{showSearch:!0,size:"small"})),Lt=Ee=>ve.createElement(ke.default,Object.assign({},Ee,{showSearch:!0,size:"middle"}));rt.Option=ke.default.Option,Lt.Option=ke.default.Option;var De=oe(9937),tt=oe(17313),Ft=oe(83116),tn=oe(37613);const gt=Ee=>{const{componentCls:he}=Ee;return{[`${he}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${he}-item-link`]:{color:Ee.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${he}-item-link`]:{color:Ee.colorTextDisabled,cursor:"not-allowed"}}},[`&${he}-disabled`]:{cursor:"not-allowed",[`${he}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Ee.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Ee.colorBorder,backgroundColor:Ee.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Ee.itemActiveBgDisabled},a:{color:Ee.itemActiveColorDisabled}}},[`${he}-item-link`]:{color:Ee.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${he}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${he}-simple-pager`]:{color:Ee.colorTextDisabled},[`${he}-jump-prev, ${he}-jump-next`]:{[`${he}-item-link-icon`]:{opacity:0},[`${he}-item-ellipsis`]:{opacity:1}}},[`&${he}-simple`]:{[`${he}-prev, ${he}-next`]:{[`&${he}-disabled ${he}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Yt=Ee=>{const{componentCls:he}=Ee;return{[`&${he}-mini ${he}-total-text, &${he}-mini ${he}-simple-pager`]:{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`},[`&${he}-mini ${he}-item`]:{minWidth:Ee.itemSizeSM,height:Ee.itemSizeSM,margin:0,lineHeight:`${Ee.itemSizeSM-2}px`},[`&${he}-mini:not(${he}-disabled) ${he}-item:not(${he}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Ee.colorBgTextHover},"&:active":{backgroundColor:Ee.colorBgTextActive}},[`&${he}-mini ${he}-prev, &${he}-mini ${he}-next`]:{minWidth:Ee.itemSizeSM,height:Ee.itemSizeSM,margin:0,lineHeight:`${Ee.itemSizeSM}px`},[`&${he}-mini:not(${he}-disabled)`]:{[`${he}-prev, ${he}-next`]:{[`&:hover ${he}-item-link`]:{backgroundColor:Ee.colorBgTextHover},[`&:active ${he}-item-link`]:{backgroundColor:Ee.colorBgTextActive},[`&${he}-disabled:hover ${he}-item-link`]:{backgroundColor:"transparent"}}},[` + &${he}-mini ${he}-prev ${he}-item-link, + &${he}-mini ${he}-next ${he}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`}},[`&${he}-mini ${he}-jump-prev, &${he}-mini ${he}-jump-next`]:{height:Ee.itemSizeSM,marginInlineEnd:0,lineHeight:`${Ee.itemSizeSM}px`},[`&${he}-mini ${he}-options`]:{marginInlineStart:Ee.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Ee.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,De.x0)(Ee)),{width:Ee.paginationMiniQuickJumperInputWidth,height:Ee.controlHeightSM})}}}},Fe=Ee=>{const{componentCls:he}=Ee;return{[` + &${he}-simple ${he}-prev, + &${he}-simple ${he}-next + `]:{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`,verticalAlign:"top",[`${he}-item-link`]:{height:Ee.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Ee.colorBgTextHover},"&:active":{backgroundColor:Ee.colorBgTextActive},"&::after":{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`}}},[`&${he}-simple ${he}-simple-pager`]:{display:"inline-block",height:Ee.itemSizeSM,marginInlineEnd:Ee.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Ee.marginXS,padding:`0 ${Ee.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Ee.itemInputBg,border:`${Ee.lineWidth}px ${Ee.lineType} ${Ee.colorBorder}`,borderRadius:Ee.borderRadius,outline:"none",transition:`border-color ${Ee.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Ee.colorPrimary},"&:focus":{borderColor:Ee.colorPrimaryHover,boxShadow:`${Ee.inputOutlineOffset}px 0 ${Ee.controlOutlineWidth}px ${Ee.controlOutline}`},"&[disabled]":{color:Ee.colorTextDisabled,backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,cursor:"not-allowed"}}}}},it=Ee=>{const{componentCls:he}=Ee;return{[`${he}-jump-prev, ${he}-jump-next`]:{outline:0,[`${he}-item-container`]:{position:"relative",[`${he}-item-link-icon`]:{color:Ee.colorPrimary,fontSize:Ee.fontSizeSM,opacity:0,transition:`all ${Ee.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${he}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Ee.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Ee.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Ee.paginationEllipsisTextIndent,opacity:1,transition:`all ${Ee.motionDurationMid}`}},"&:hover":{[`${he}-item-link-icon`]:{opacity:1},[`${he}-item-ellipsis`]:{opacity:0}}},[` + ${he}-prev, + ${he}-jump-prev, + ${he}-jump-next + `]:{marginInlineEnd:Ee.marginXS},[` + ${he}-prev, + ${he}-next, + ${he}-jump-prev, + ${he}-jump-next + `]:{display:"inline-block",minWidth:Ee.itemSize,height:Ee.itemSize,color:Ee.colorText,fontFamily:Ee.fontFamily,lineHeight:`${Ee.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Ee.borderRadius,cursor:"pointer",transition:`all ${Ee.motionDurationMid}`},[`${he}-prev, ${he}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Ee.colorText,cursor:"pointer",userSelect:"none"},[`${he}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Ee.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Ee.lineWidth}px ${Ee.lineType} transparent`,borderRadius:Ee.borderRadius,outline:"none",transition:`all ${Ee.motionDurationMid}`},[`&:hover ${he}-item-link`]:{backgroundColor:Ee.colorBgTextHover},[`&:active ${he}-item-link`]:{backgroundColor:Ee.colorBgTextActive},[`&${he}-disabled:hover`]:{[`${he}-item-link`]:{backgroundColor:"transparent"}}},[`${he}-slash`]:{marginInlineEnd:Ee.paginationSlashMarginInlineEnd,marginInlineStart:Ee.paginationSlashMarginInlineStart},[`${he}-options`]:{display:"inline-block",marginInlineStart:Ee.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Ee.controlHeight,marginInlineStart:Ee.marginXS,lineHeight:`${Ee.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,De.ik)(Ee)),{width:Ee.controlHeightLG*1.25,height:Ee.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Ee.marginXS,marginInlineEnd:Ee.marginXS})}}}},Pt=Ee=>{const{componentCls:he}=Ee;return{[`${he}-item`]:{display:"inline-block",minWidth:Ee.itemSize,height:Ee.itemSize,marginInlineEnd:Ee.marginXS,fontFamily:Ee.fontFamily,lineHeight:`${Ee.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Ee.lineWidth}px ${Ee.lineType} transparent`,borderRadius:Ee.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Ee.paginationItemPaddingInline}px`,color:Ee.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${he}-item-active)`]:{"&:hover":{transition:`all ${Ee.motionDurationMid}`,backgroundColor:Ee.colorBgTextHover},"&:active":{backgroundColor:Ee.colorBgTextActive}},"&-active":{fontWeight:Ee.fontWeightStrong,backgroundColor:Ee.itemActiveBg,borderColor:Ee.colorPrimary,a:{color:Ee.colorPrimary},"&:hover":{borderColor:Ee.colorPrimaryHover},"&:hover a":{color:Ee.colorPrimaryHover}}}}},nn=Ee=>{const{componentCls:he}=Ee;return{[he]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,tt.Wf)(Ee)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${he}-total-text`]:{display:"inline-block",height:Ee.itemSize,marginInlineEnd:Ee.marginXS,lineHeight:`${Ee.itemSize-2}px`,verticalAlign:"middle"}}),Pt(Ee)),it(Ee)),Fe(Ee)),Yt(Ee)),gt(Ee)),{[`@media only screen and (max-width: ${Ee.screenLG}px)`]:{[`${he}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Ee.screenSM}px)`]:{[`${he}-options`]:{display:"none"}}}),[`&${Ee.componentCls}-rtl`]:{direction:"rtl"}}},zt=Ee=>{const{componentCls:he}=Ee;return{[`${he}${he}-disabled:not(${he}-mini)`]:{"&, &:hover":{[`${he}-item-link`]:{borderColor:Ee.colorBorder}},"&:focus-visible":{[`${he}-item-link`]:{borderColor:Ee.colorBorder}},[`${he}-item, ${he}-item-link`]:{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,[`&:hover:not(${he}-item-active)`]:{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,a:{color:Ee.colorTextDisabled}},[`&${he}-item-active`]:{backgroundColor:Ee.itemActiveBgDisabled}},[`${he}-prev, ${he}-next`]:{"&:hover button":{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,color:Ee.colorTextDisabled},[`${he}-item-link`]:{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder}}},[`${he}:not(${he}-mini)`]:{[`${he}-prev, ${he}-next`]:{"&:hover button":{borderColor:Ee.colorPrimaryHover,backgroundColor:Ee.itemBg},[`${he}-item-link`]:{backgroundColor:Ee.itemLinkBg,borderColor:Ee.colorBorder},[`&:hover ${he}-item-link`]:{borderColor:Ee.colorPrimary,backgroundColor:Ee.itemBg,color:Ee.colorPrimary},[`&${he}-disabled`]:{[`${he}-item-link`]:{borderColor:Ee.colorBorder,color:Ee.colorTextDisabled}}},[`${he}-item`]:{backgroundColor:Ee.itemBg,border:`${Ee.lineWidth}px ${Ee.lineType} ${Ee.colorBorder}`,[`&:hover:not(${he}-item-active)`]:{borderColor:Ee.colorPrimary,backgroundColor:Ee.itemBg,a:{color:Ee.colorPrimary}},"&-active":{borderColor:Ee.colorPrimary}}}}},Ke=Ee=>{const{componentCls:he}=Ee;return{[`${he}:not(${he}-disabled)`]:{[`${he}-item`]:Object.assign({},(0,tt.Qy)(Ee)),[`${he}-jump-prev, ${he}-jump-next`]:{"&:focus-visible":Object.assign({[`${he}-item-link-icon`]:{opacity:1},[`${he}-item-ellipsis`]:{opacity:0}},(0,tt.oN)(Ee))},[`${he}-prev, ${he}-next`]:{[`&:focus-visible ${he}-item-link`]:Object.assign({},(0,tt.oN)(Ee))}}}};var Ue=(0,Ft.Z)("Pagination",Ee=>{const he=(0,tn.TS)(Ee,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Ee.marginXXS/2,paginationMiniQuickJumperInputWidth:Ee.controlHeightLG*1.1,paginationItemPaddingInline:Ee.marginXXS*1.5,paginationEllipsisLetterSpacing:Ee.marginXXS/2,paginationSlashMarginInlineStart:Ee.marginXXS,paginationSlashMarginInlineEnd:Ee.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,De.e5)(Ee),(0,De.TM)(Ee));return[nn(he),Ke(he),Ee.wireframe&&zt(he)]},Ee=>({itemBg:Ee.colorBgContainer,itemSize:Ee.controlHeight,itemSizeSM:Ee.controlHeightSM,itemActiveBg:Ee.colorBgContainer,itemLinkBg:Ee.colorBgContainer,itemActiveColorDisabled:Ee.colorTextDisabled,itemActiveBgDisabled:Ee.controlItemBgActiveDisabled,itemInputBg:Ee.colorBgContainer,miniOptionsSizeChangerTop:0})),we=function(Ee,he){var nt={};for(var Me in Ee)Object.prototype.hasOwnProperty.call(Ee,Me)&&he.indexOf(Me)<0&&(nt[Me]=Ee[Me]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,Me=Object.getOwnPropertySymbols(Ee);xe{const{prefixCls:he,selectPrefixCls:nt,className:Me,rootClassName:xe,style:Ge,size:wt,locale:ht,selectComponentClass:Gt,responsive:kt,showSizeChanger:Nt}=Ee,Le=we(Ee,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:ot}=(0,Rt.Z)(kt),{getPrefixCls:At,direction:ct,pagination:yt={}}=ve.useContext(Dt.E_),on=At("pagination",he),[mn,dn]=Ue(on),vn=Nt!=null?Nt:yt.showSizeChanger,Wn=ve.useMemo(()=>{const Yn=ve.createElement("span",{className:`${on}-item-ellipsis`},"\u2022\u2022\u2022"),ca=ve.createElement("button",{className:`${on}-item-link`,type:"button",tabIndex:-1},ct==="rtl"?ve.createElement(pt.Z,null):ve.createElement(st.Z,null)),Ca=ve.createElement("button",{className:`${on}-item-link`,type:"button",tabIndex:-1},ct==="rtl"?ve.createElement(st.Z,null):ve.createElement(pt.Z,null)),ln=ve.createElement("a",{className:`${on}-item-link`},ve.createElement("div",{className:`${on}-item-container`},ct==="rtl"?ve.createElement(_e.Z,{className:`${on}-item-link-icon`}):ve.createElement(Ye,{className:`${on}-item-link-icon`}),Yn)),gn=ve.createElement("a",{className:`${on}-item-link`},ve.createElement("div",{className:`${on}-item-container`},ct==="rtl"?ve.createElement(Ye,{className:`${on}-item-link-icon`}):ve.createElement(_e.Z,{className:`${on}-item-link-icon`}),Yn));return{prevIcon:ca,nextIcon:Ca,jumpPrevIcon:ln,jumpNextIcon:gn}},[ct,on]),[fn]=(0,St.Z)("Pagination",ft.Z),Zn=Object.assign(Object.assign({},fn),ht),$n=(0,Vt.Z)(wt),ta=$n==="small"||!!(ot&&!$n&&kt),Mn=At("select",nt),ua=Xe()({[`${on}-mini`]:ta,[`${on}-rtl`]:ct==="rtl"},yt==null?void 0:yt.className,Me,xe,dn),Qn=Object.assign(Object.assign({},yt==null?void 0:yt.style),Ge);return mn(ve.createElement(Ve,Object.assign({},Wn,Le,{style:Qn,prefixCls:on,selectPrefixCls:Mn,className:ua,selectComponentClass:Gt||(ta?rt:Lt),locale:Zn,showSizeChanger:vn})))},Re=ze},93948:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Nt}});var ne=oe(59301),ve=oe(29679),Je=oe(40001),Ne=oe(19248),Ie=oe(99267),Te=oe(92310),ye=oe.n(Te),Ye=oe(2738),_e=oe(36355),st=oe(92413),pt=oe(33708),$e=oe(37061),Xe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},le=function(){var ot=(0,ne.useRef)([]),At=(0,ne.useRef)(null);return(0,ne.useEffect)(function(){var ct=Date.now(),yt=!1;ot.current.forEach(function(on){if(on){yt=!0;var mn=on.style;mn.transitionDuration=".3s, .3s, .3s, .06s",At.current&&ct-At.current<100&&(mn.transitionDuration="0s, 0s")}}),yt&&(At.current=Date.now())}),ot.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(ot){var At=(0,pt.Z)((0,pt.Z)({},Xe),ot),ct=At.className,yt=At.percent,on=At.prefixCls,mn=At.strokeColor,dn=At.strokeLinecap,vn=At.strokeWidth,Wn=At.style,fn=At.trailColor,Zn=At.trailWidth,$n=At.transition,ta=(0,$e.Z)(At,y);delete ta.gapPosition;var Mn=Array.isArray(yt)?yt:[yt],ua=Array.isArray(mn)?mn:[mn],Qn=le(),Yn=vn/2,ca=100-vn/2,Ca="M ".concat(dn==="round"?Yn:0,",").concat(Yn,` + L `).concat(dn==="round"?ca:100,",").concat(Yn),ln="0 0 100 ".concat(vn),gn=0;return ne.createElement("svg",(0,st.Z)({className:ye()("".concat(on,"-line"),ct),viewBox:ln,preserveAspectRatio:"none",style:Wn},ta),ne.createElement("path",{className:"".concat(on,"-line-trail"),d:Ca,strokeLinecap:dn,stroke:fn,strokeWidth:Zn||vn,fillOpacity:"0"}),Mn.map(function(An,Sn){var Fn=1;switch(dn){case"round":Fn=1-vn/100;break;case"square":Fn=1-vn/2/100;break;default:Fn=1;break}var Kn={strokeDasharray:"".concat(An*Fn,"px, 100px"),strokeDashoffset:"-".concat(gn,"px"),transition:$n||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Rn=ua[Sn]||ua[ua.length-1];return gn+=An,ne.createElement("path",{key:Sn,className:"".concat(on,"-line-path"),d:Ca,strokeLinecap:dn,stroke:Rn,strokeWidth:vn,fillOpacity:"0",ref:function(mt){Qn[Sn]=mt},style:Kn})}))},E=a,b=oe(39559),x=oe(33606),te=oe(47273),ae=0,ie=(0,te.Z)();function ue(){var Le;return ie?(Le=ae,ae+=1):Le="TEST_OR_SSR",Le}var de=function(Le){var ot=ne.useState(),At=(0,x.Z)(ot,2),ct=At[0],yt=At[1];return ne.useEffect(function(){yt("rc_progress_".concat(ue()))},[]),Le||ct},fe=function(ot){var At=ot.bg,ct=ot.children;return ne.createElement("div",{style:{width:"100%",height:"100%",background:At}},ct)};function Ce(Le,ot){return Object.keys(Le).map(function(At){var ct=parseFloat(At),yt="".concat(Math.floor(ct*ot),"%");return"".concat(Le[At]," ").concat(yt)})}var Pe=ne.forwardRef(function(Le,ot){var At=Le.prefixCls,ct=Le.color,yt=Le.gradientId,on=Le.radius,mn=Le.style,dn=Le.ptg,vn=Le.strokeLinecap,Wn=Le.strokeWidth,fn=Le.size,Zn=Le.gapDegree,$n=ct&&(0,b.Z)(ct)==="object",ta=$n?"#FFF":void 0,Mn=fn/2,ua=ne.createElement("circle",{className:"".concat(At,"-circle-path"),r:on,cx:Mn,cy:Mn,stroke:ta,strokeLinecap:vn,strokeWidth:Wn,opacity:dn===0?0:1,style:mn,ref:ot});if(!$n)return ua;var Qn="".concat(yt,"-conic"),Yn=Zn?"".concat(180+Zn/2,"deg"):"0deg",ca=Ce(ct,(360-Zn)/360),Ca=Ce(ct,1),ln="conic-gradient(from ".concat(Yn,", ").concat(ca.join(", "),")"),gn="linear-gradient(to ".concat(Zn?"bottom":"top",", ").concat(Ca.join(", "),")");return ne.createElement(ne.Fragment,null,ne.createElement("mask",{id:Qn},ua),ne.createElement("foreignObject",{x:0,y:0,width:fn,height:fn,mask:"url(#".concat(Qn,")")},ne.createElement(fe,{bg:gn},ne.createElement(fe,{bg:ln}))))}),je=Pe,Se=100,Qe=function(ot,At,ct,yt,on,mn,dn,vn,Wn,fn){var Zn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,$n=ct/100*360*((360-mn)/360),ta=mn===0?0:{bottom:0,top:180,left:90,right:-90}[dn],Mn=(100-yt)/100*At;Wn==="round"&&yt!==100&&(Mn+=fn/2,Mn>=At&&(Mn=At-.01));var ua=Se/2;return{stroke:typeof vn=="string"?vn:void 0,strokeDasharray:"".concat(At,"px ").concat(ot),strokeDashoffset:Mn+Zn,transform:"rotate(".concat(on+$n+ta,"deg)"),transformOrigin:"".concat(ua,"px ").concat(ua,"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}},Bt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ot(Le){var ot=Le!=null?Le:[];return Array.isArray(ot)?ot:[ot]}var Ve=function(ot){var At=(0,pt.Z)((0,pt.Z)({},Xe),ot),ct=At.id,yt=At.prefixCls,on=At.steps,mn=At.strokeWidth,dn=At.trailWidth,vn=At.gapDegree,Wn=vn===void 0?0:vn,fn=At.gapPosition,Zn=At.trailColor,$n=At.strokeLinecap,ta=At.style,Mn=At.className,ua=At.strokeColor,Qn=At.percent,Yn=(0,$e.Z)(At,Bt),ca=Se/2,Ca=de(ct),ln="".concat(Ca,"-gradient"),gn=ca-mn/2,An=Math.PI*2*gn,Sn=Wn>0?90+Wn/2:-90,Fn=An*((360-Wn)/360),Kn=(0,b.Z)(on)==="object"?on:{count:on,space:2},Rn=Kn.count,at=Kn.space,mt=Ot(Qn),dt=Ot(ua),Xt=dt.find(function(_t){return _t&&(0,b.Z)(_t)==="object"}),un=Xt&&(0,b.Z)(Xt)==="object",rn=un?"butt":$n,Xn=Qe(An,Fn,0,100,Sn,Wn,fn,Zn,rn,mn),kn=le(),pn=function(){var be=0;return mt.map(function(qt,yn){var hn=dt[yn]||dt[dt.length-1],Cn=Qe(An,Fn,be,qt,Sn,Wn,fn,hn,rn,mn);return be+=qt,ne.createElement(je,{key:yn,color:hn,ptg:qt,radius:gn,prefixCls:yt,gradientId:ln,style:Cn,strokeLinecap:rn,strokeWidth:mn,gapDegree:Wn,ref:function(vt){kn[yn]=vt},size:Se})}).reverse()},Vn=function(){var be=Math.round(Rn*(mt[0]/100)),qt=100/Rn,yn=0;return new Array(Rn).fill(null).map(function(hn,Cn){var Be=Cn<=be-1?dt[0]:Zn,vt=Be&&(0,b.Z)(Be)==="object"?"url(#".concat(ln,")"):void 0,Ct=Qe(An,Fn,yn,qt,Sn,Wn,fn,Be,"butt",mn,at);return yn+=(Fn-Ct.strokeDashoffset+at)*100/Fn,ne.createElement("circle",{key:Cn,className:"".concat(yt,"-circle-path"),r:gn,cx:ca,cy:ca,stroke:vt,strokeWidth:mn,opacity:1,style:Ct,ref:function(Qt){kn[Cn]=Qt}})})};return ne.createElement("svg",(0,st.Z)({className:ye()("".concat(yt,"-circle"),Mn),viewBox:"0 0 ".concat(Se," ").concat(Se),style:ta,id:ct,role:"presentation"},Yn),!Rn&&ne.createElement("circle",{className:"".concat(yt,"-circle-trail"),r:gn,cx:ca,cy:ca,stroke:Zn,strokeLinecap:rn,strokeWidth:dn||mn,style:Xn}),Rn?Vn():pn())},ft=Ve,Dt={Line:E,Circle:ft},Vt=oe(6848),Rt=oe(93398);function St(Le){return!Le||Le<0?0:Le>100?100:Le}function ke(Le){let{success:ot,successPercent:At}=Le,ct=At;return ot&&"progress"in ot&&(ct=ot.progress),ot&&"percent"in ot&&(ct=ot.percent),ct}const rt=Le=>{let{percent:ot,success:At,successPercent:ct}=Le;const yt=St(ke({success:At,successPercent:ct}));return[yt,St(St(ot)-yt)]},Lt=Le=>{let{success:ot={},strokeColor:At}=Le;const{strokeColor:ct}=ot;return[ct||Rt.presetPrimaryColors.green,At||null]},De=(Le,ot,At)=>{var ct,yt,on,mn;let dn=-1,vn=-1;if(ot==="step"){const Wn=At.steps,fn=At.strokeWidth;typeof Le=="string"||typeof Le=="undefined"?(dn=Le==="small"?2:14,vn=fn!=null?fn:8):typeof Le=="number"?[dn,vn]=[Le,Le]:[dn=14,vn=8]=Le,dn*=Wn}else if(ot==="line"){const Wn=At==null?void 0:At.strokeWidth;typeof Le=="string"||typeof Le=="undefined"?vn=Wn||(Le==="small"?6:8):typeof Le=="number"?[dn,vn]=[Le,Le]:[dn=-1,vn=8]=Le}else(ot==="circle"||ot==="dashboard")&&(typeof Le=="string"||typeof Le=="undefined"?[dn,vn]=Le==="small"?[60,60]:[120,120]:typeof Le=="number"?[dn,vn]=[Le,Le]:(dn=(yt=(ct=Le[0])!==null&&ct!==void 0?ct:Le[1])!==null&&yt!==void 0?yt:120,vn=(mn=(on=Le[0])!==null&&on!==void 0?on:Le[1])!==null&&mn!==void 0?mn:120));return[dn,vn]},tt=3,Ft=Le=>tt/Le*100;var gt=Le=>{const{prefixCls:ot,trailColor:At=null,strokeLinecap:ct="round",gapPosition:yt,gapDegree:on,width:mn=120,type:dn,children:vn,success:Wn,size:fn=mn}=Le,[Zn,$n]=De(fn,"circle");let{strokeWidth:ta}=Le;ta===void 0&&(ta=Math.max(Ft(Zn),6));const Mn={width:Zn,height:$n,fontSize:Zn*.15+6},ua=ne.useMemo(()=>{if(on||on===0)return on;if(dn==="dashboard")return 75},[on,dn]),Qn=yt||dn==="dashboard"&&"bottom"||void 0,Yn=Object.prototype.toString.call(Le.strokeColor)==="[object Object]",ca=Lt({success:Wn,strokeColor:Le.strokeColor}),Ca=ye()(`${ot}-inner`,{[`${ot}-circle-gradient`]:Yn}),ln=ne.createElement(ft,{percent:rt(Le),strokeWidth:ta,trailWidth:ta,strokeColor:ca,strokeLinecap:ct,trailColor:At,prefixCls:ot,gapDegree:ua,gapPosition:Qn});return ne.createElement("div",{className:Ca,style:Mn},Zn<=20?ne.createElement(Vt.Z,{title:vn},ne.createElement("span",null,ln)):ne.createElement(ne.Fragment,null,ln,vn))},Yt=function(Le,ot){var At={};for(var ct in Le)Object.prototype.hasOwnProperty.call(Le,ct)&&ot.indexOf(ct)<0&&(At[ct]=Le[ct]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,ct=Object.getOwnPropertySymbols(Le);yt{let ot=[];return Object.keys(Le).forEach(At=>{const ct=parseFloat(At.replace(/%/g,""));isNaN(ct)||ot.push({key:ct,value:Le[At]})}),ot=ot.sort((At,ct)=>At.key-ct.key),ot.map(At=>{let{key:ct,value:yt}=At;return`${yt} ${ct}%`}).join(", ")},it=(Le,ot)=>{const{from:At=Rt.presetPrimaryColors.blue,to:ct=Rt.presetPrimaryColors.blue,direction:yt=ot==="rtl"?"to left":"to right"}=Le,on=Yt(Le,["from","to","direction"]);if(Object.keys(on).length!==0){const mn=Fe(on);return{backgroundImage:`linear-gradient(${yt}, ${mn})`}}return{backgroundImage:`linear-gradient(${yt}, ${At}, ${ct})`}};var nn=Le=>{const{prefixCls:ot,direction:At,percent:ct,size:yt,strokeWidth:on,strokeColor:mn,strokeLinecap:dn="round",children:vn,trailColor:Wn=null,success:fn}=Le,Zn=mn&&typeof mn!="string"?it(mn,At):{backgroundColor:mn},$n=dn==="square"||dn==="butt"?0:void 0,ta={backgroundColor:Wn||void 0,borderRadius:$n},Mn=yt!=null?yt:[-1,on||(yt==="small"?6:8)],[ua,Qn]=De(Mn,"line",{strokeWidth:on}),Yn=Object.assign({width:`${St(ct)}%`,height:Qn,borderRadius:$n},Zn),ca=ke(Le),Ca={width:`${St(ca)}%`,height:Qn,borderRadius:$n,backgroundColor:fn==null?void 0:fn.strokeColor},ln={width:ua<0?"100%":ua,height:Qn};return ne.createElement(ne.Fragment,null,ne.createElement("div",{className:`${ot}-outer`,style:ln},ne.createElement("div",{className:`${ot}-inner`,style:ta},ne.createElement("div",{className:`${ot}-bg`,style:Yn}),ca!==void 0?ne.createElement("div",{className:`${ot}-success-bg`,style:Ca}):null)),vn)},Ke=Le=>{const{size:ot,steps:At,percent:ct=0,strokeWidth:yt=8,strokeColor:on,trailColor:mn=null,prefixCls:dn,children:vn}=Le,Wn=Math.round(At*(ct/100)),fn=ot==="small"?2:14,Zn=ot!=null?ot:[fn,yt],[$n,ta]=De(Zn,"step",{steps:At,strokeWidth:yt}),Mn=$n/At,ua=new Array(At);for(let Qn=0;Qn{const ot=Le?"100%":"-100%";return new Ue.Keyframes(`antProgress${Le?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${ot}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${ot}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ee=Le=>{const{componentCls:ot,iconCls:At}=Le;return{[ot]:Object.assign(Object.assign({},(0,we.Wf)(Le)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Le.fontSize,marginInlineEnd:Le.marginXS,marginBottom:Le.marginXS},[`${ot}-outer`]:{display:"inline-block",width:"100%"},[`&${ot}-show-info`]:{[`${ot}-outer`]:{marginInlineEnd:`calc(-2em - ${Le.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Le.paddingXS}px)`}},[`${ot}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Le.remainingColor,borderRadius:Le.lineBorderRadius},[`${ot}-inner:not(${ot}-circle-gradient)`]:{[`${ot}-circle-path`]:{stroke:Le.defaultColor}},[`${ot}-success-bg, ${ot}-bg`]:{position:"relative",backgroundColor:Le.defaultColor,borderRadius:Le.lineBorderRadius,transition:`all ${Le.motionDurationSlow} ${Le.motionEaseInOutCirc}`},[`${ot}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Le.colorSuccess},[`${ot}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Le.marginXS,color:Le.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[At]:{fontSize:Le.fontSize}},[`&${ot}-status-active`]:{[`${ot}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Le.colorBgContainer,borderRadius:Le.lineBorderRadius,opacity:0,animationName:Re(),animationDuration:Le.progressActiveMotionDuration,animationTimingFunction:Le.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${ot}-rtl${ot}-status-active`]:{[`${ot}-bg::before`]:{animationName:Re(!0)}},[`&${ot}-status-exception`]:{[`${ot}-bg`]:{backgroundColor:Le.colorError},[`${ot}-text`]:{color:Le.colorError}},[`&${ot}-status-exception ${ot}-inner:not(${ot}-circle-gradient)`]:{[`${ot}-circle-path`]:{stroke:Le.colorError}},[`&${ot}-status-success`]:{[`${ot}-bg`]:{backgroundColor:Le.colorSuccess},[`${ot}-text`]:{color:Le.colorSuccess}},[`&${ot}-status-success ${ot}-inner:not(${ot}-circle-gradient)`]:{[`${ot}-circle-path`]:{stroke:Le.colorSuccess}}})}},he=Le=>{const{componentCls:ot,iconCls:At}=Le;return{[ot]:{[`${ot}-circle-trail`]:{stroke:Le.remainingColor},[`&${ot}-circle ${ot}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${ot}-circle ${ot}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Le.circleTextColor,fontSize:Le.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[At]:{fontSize:`${Le.fontSize/Le.fontSizeSM}em`}},[`${ot}-circle&-status-exception`]:{[`${ot}-text`]:{color:Le.colorError}},[`${ot}-circle&-status-success`]:{[`${ot}-text`]:{color:Le.colorSuccess}}},[`${ot}-inline-circle`]:{lineHeight:1,[`${ot}-inner`]:{verticalAlign:"bottom"}}}},nt=Le=>{const{componentCls:ot}=Le;return{[ot]:{[`${ot}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Le.progressStepMinWidth,marginInlineEnd:Le.progressStepMarginInlineEnd,backgroundColor:Le.remainingColor,transition:`all ${Le.motionDurationSlow}`,"&-active":{backgroundColor:Le.defaultColor}}}}}},Me=Le=>{const{componentCls:ot,iconCls:At}=Le;return{[ot]:{[`${ot}-small&-line, ${ot}-small&-line ${ot}-text ${At}`]:{fontSize:Le.fontSizeSM}}}};var xe=(0,ge.Z)("Progress",Le=>{const ot=Le.marginXXS/2,At=(0,ze.TS)(Le,{progressStepMarginInlineEnd:ot,progressStepMinWidth:ot,progressActiveMotionDuration:"2.4s"});return[Ee(At),he(At),nt(At),Me(At)]},Le=>({circleTextColor:Le.colorText,defaultColor:Le.colorInfo,remainingColor:Le.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Ge=function(Le,ot){var At={};for(var ct in Le)Object.prototype.hasOwnProperty.call(Le,ct)&&ot.indexOf(ct)<0&&(At[ct]=Le[ct]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,ct=Object.getOwnPropertySymbols(Le);yt{const{prefixCls:At,className:ct,rootClassName:yt,steps:on,strokeColor:mn,percent:dn=0,size:vn="default",showInfo:Wn=!0,type:fn="line",status:Zn,format:$n,style:ta}=Le,Mn=Ge(Le,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),ua=ne.useMemo(()=>{var mt,dt;const Xt=ke(Le);return parseInt(Xt!==void 0?(mt=Xt!=null?Xt:0)===null||mt===void 0?void 0:mt.toString():(dt=dn!=null?dn:0)===null||dt===void 0?void 0:dt.toString(),10)},[dn,Le.success,Le.successPercent]),Qn=ne.useMemo(()=>!ht.includes(Zn)&&ua>=100?"success":Zn||"normal",[Zn,ua]),{getPrefixCls:Yn,direction:ca,progress:Ca}=ne.useContext(_e.E_),ln=Yn("progress",At),[gn,An]=xe(ln),Sn=ne.useMemo(()=>{if(!Wn)return null;const mt=ke(Le);let dt;const Xt=$n||(rn=>`${rn}%`),un=fn==="line";return $n||Qn!=="exception"&&Qn!=="success"?dt=Xt(St(dn),St(mt)):Qn==="exception"?dt=un?ne.createElement(Ne.Z,null):ne.createElement(Ie.Z,null):Qn==="success"&&(dt=un?ne.createElement(ve.Z,null):ne.createElement(Je.Z,null)),ne.createElement("span",{className:`${ln}-text`,title:typeof dt=="string"?dt:void 0},dt)},[Wn,dn,ua,Qn,fn,ln,$n]),Fn=Array.isArray(mn)?mn[0]:mn,Kn=typeof mn=="string"||Array.isArray(mn)?mn:void 0;let Rn;fn==="line"?Rn=on?ne.createElement(Ke,Object.assign({},Le,{strokeColor:Kn,prefixCls:ln,steps:on}),Sn):ne.createElement(nn,Object.assign({},Le,{strokeColor:Fn,prefixCls:ln,direction:ca}),Sn):(fn==="circle"||fn==="dashboard")&&(Rn=ne.createElement(gt,Object.assign({},Le,{strokeColor:Fn,prefixCls:ln,progressStatus:Qn}),Sn));const at=ye()(ln,`${ln}-status-${Qn}`,`${ln}-${fn==="dashboard"&&"circle"||on&&"steps"||fn}`,{[`${ln}-inline-circle`]:fn==="circle"&&De(vn,"circle")[0]<=20,[`${ln}-show-info`]:Wn,[`${ln}-${vn}`]:typeof vn=="string",[`${ln}-rtl`]:ca==="rtl"},Ca==null?void 0:Ca.className,ct,yt,An);return gn(ne.createElement("div",Object.assign({ref:ot,style:Object.assign(Object.assign({},Ca==null?void 0:Ca.style),ta),className:at,role:"progressbar","aria-valuenow":ua},(0,Ye.Z)(Mn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Rn))}),Nt=kt},13570:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return St}});var ne=oe(92413),ve=oe(59301),Je={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"},Ne=Je,Ie=oe(7657),Te=function(rt,Lt){return ve.createElement(Ie.Z,(0,ne.Z)({},rt,{ref:Lt,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye,_e=oe(92310),st=oe.n(_e),pt=oe(400),$e=oe(33606),Xe=oe(37061),le=oe(18929),y=oe(10228),a=oe(26112);function E(ke,rt){var Lt=ke.disabled,De=ke.prefixCls,tt=ke.character,Ft=ke.characterRender,tn=ke.index,gt=ke.count,Yt=ke.value,Fe=ke.allowHalf,it=ke.focused,Pt=ke.onHover,nn=ke.onClick,zt=function(he){Pt(he,tn)},Ke=function(he){nn(he,tn)},Ue=function(he){he.keyCode===y.Z.ENTER&&nn(he,tn)},we=tn+1,ge=new Set([De]);Yt===0&&tn===0&&it?ge.add("".concat(De,"-focused")):Fe&&Yt+.5>=we&&Yttn?"true":"false","aria-posinset":tn+1,"aria-setsize":gt,tabIndex:Lt?-1:0},ve.createElement("div",{className:"".concat(De,"-first")},ze),ve.createElement("div",{className:"".concat(De,"-second")},ze)));return Ft&&(Re=Ft(Re,ke)),Re}var b=ve.forwardRef(E);function x(){var ke=ve.useRef({});function rt(De){return ke.current[De]}function Lt(De){return function(tt){ke.current[De]=tt}}return[rt,Lt]}function te(ke){var rt=ke.pageXOffset,Lt="scrollLeft";if(typeof rt!="number"){var De=ke.document;rt=De.documentElement[Lt],typeof rt!="number"&&(rt=De.body[Lt])}return rt}function ae(ke){var rt,Lt,De=ke.ownerDocument,tt=De.body,Ft=De&&De.documentElement,tn=ke.getBoundingClientRect();return rt=tn.left,Lt=tn.top,rt-=Ft.clientLeft||tt.clientLeft||0,Lt-=Ft.clientTop||tt.clientTop||0,{left:rt,top:Lt}}function ie(ke){var rt=ae(ke),Lt=ke.ownerDocument,De=Lt.defaultView||Lt.parentWindow;return rt.left+=te(De),rt.left}var ue=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function de(ke,rt){var Lt,De=ke.prefixCls,tt=De===void 0?"rc-rate":De,Ft=ke.className,tn=ke.defaultValue,gt=ke.value,Yt=ke.count,Fe=Yt===void 0?5:Yt,it=ke.allowHalf,Pt=it===void 0?!1:it,nn=ke.allowClear,zt=nn===void 0?!0:nn,Ke=ke.character,Ue=Ke===void 0?"\u2605":Ke,we=ke.characterRender,ge=ke.disabled,ze=ke.direction,Re=ze===void 0?"ltr":ze,Ee=ke.tabIndex,he=Ee===void 0?0:Ee,nt=ke.autoFocus,Me=ke.onHoverChange,xe=ke.onChange,Ge=ke.onFocus,wt=ke.onBlur,ht=ke.onKeyDown,Gt=ke.onMouseLeave,kt=(0,Xe.Z)(ke,ue),Nt=x(),Le=(0,$e.Z)(Nt,2),ot=Le[0],At=Le[1],ct=ve.useRef(null),yt=function(){if(!ge){var rn;(rn=ct.current)===null||rn===void 0||rn.focus()}};ve.useImperativeHandle(rt,function(){return{focus:yt,blur:function(){if(!ge){var rn;(rn=ct.current)===null||rn===void 0||rn.blur()}}}});var on=(0,le.Z)(tn||0,{value:gt}),mn=(0,$e.Z)(on,2),dn=mn[0],vn=mn[1],Wn=(0,le.Z)(null),fn=(0,$e.Z)(Wn,2),Zn=fn[0],$n=fn[1],ta=function(rn,Xn){var kn=Re==="rtl",pn=rn+1;if(Pt){var Vn=ot(rn),_t=ie(Vn),be=Vn.clientWidth;(kn&&Xn-_t>be/2||!kn&&Xn-_t0&&!kn||Xn===y.Z.RIGHT&&pn>0&&kn?(Pt?pn-=.5:pn-=1,Mn(pn),rn.preventDefault()):Xn===y.Z.LEFT&&pn{const{componentCls:rt}=ke;return{[`${rt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:ke.marginXS},"> div":{transition:`all ${ke.motionDurationMid}, outline 0s`,"&:hover":{transform:ke.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${ke.lineWidth}px dashed ${ke.starColor}`,transform:ke.starHoverScale}},"&-first, &-second":{color:ke.starBg,transition:`all ${ke.motionDurationMid}`,userSelect:"none",[ke.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${rt}-star-first, &-half ${rt}-star-second`]:{opacity:1},[`&-half ${rt}-star-first, &-full ${rt}-star-second`]:{color:"inherit"}}}},Ve=ke=>({[`&-rtl${ke.componentCls}`]:{direction:"rtl"}}),ft=ke=>{const{componentCls:rt}=ke;return{[rt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Se.Wf)(ke)),{display:"inline-block",margin:0,padding:0,color:ke.starColor,fontSize:ke.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${rt} ${rt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ot(ke)),{[`+ ${rt}-text`]:{display:"inline-block",marginInlineStart:ke.marginXS,fontSize:ke.fontSize}}),Ve(ke))}};var Dt=(0,Qe.Z)("Rate",ke=>{const rt=(0,Bt.TS)(ke,{});return[ft(rt)]},ke=>({starColor:ke.yellow6,starSize:ke.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:ke.colorFillContent})),Vt=function(ke,rt){var Lt={};for(var De in ke)Object.prototype.hasOwnProperty.call(ke,De)&&rt.indexOf(De)<0&&(Lt[De]=ke[De]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,De=Object.getOwnPropertySymbols(ke);tt{const{prefixCls:Lt,className:De,rootClassName:tt,style:Ft,tooltips:tn,character:gt=ve.createElement(Ye,null)}=ke,Yt=Vt(ke,["prefixCls","className","rootClassName","style","tooltips","character"]),Fe=(ge,ze)=>{let{index:Re}=ze;return tn?ve.createElement(je.Z,{title:tn[Re]},ge):ge},{getPrefixCls:it,direction:Pt,rate:nn}=ve.useContext(Pe.E_),zt=it("rate",Lt),[Ke,Ue]=Dt(zt),we=Object.assign(Object.assign({},nn==null?void 0:nn.style),Ft);return Ke(ve.createElement(Ce,Object.assign({ref:rt,character:gt,characterRender:Fe},Yt,{className:st()(De,tt,Ue,nn==null?void 0:nn.className),style:we,prefixCls:zt,direction:Pt})))})},61621:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ue}});var ne=oe(92310),ve=oe.n(ne),Je=oe(59301),Ne=oe(36355),Ie=oe(2738),ye=we=>{const{prefixCls:ge,className:ze,style:Re,size:Ee,shape:he}=we,nt=ve()({[`${ge}-lg`]:Ee==="large",[`${ge}-sm`]:Ee==="small"}),Me=ve()({[`${ge}-circle`]:he==="circle",[`${ge}-square`]:he==="square",[`${ge}-round`]:he==="round"}),xe=Je.useMemo(()=>typeof Ee=="number"?{width:Ee,height:Ee,lineHeight:`${Ee}px`}:{},[Ee]);return Je.createElement("span",{className:ve()(ge,nt,Me,ze),style:Object.assign(Object.assign({},xe),Re)})},Ye=oe(93083),_e=oe(83116),st=oe(37613);const pt=new Ye.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),$e=we=>({height:we,lineHeight:`${we}px`}),Xe=we=>Object.assign({width:we},$e(we)),le=we=>({background:we.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:pt,animationDuration:we.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=we=>Object.assign({width:we*5,minWidth:we*5},$e(we)),a=we=>{const{skeletonAvatarCls:ge,gradientFromColor:ze,controlHeight:Re,controlHeightLG:Ee,controlHeightSM:he}=we;return{[`${ge}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ze},Xe(Re)),[`${ge}${ge}-circle`]:{borderRadius:"50%"},[`${ge}${ge}-lg`]:Object.assign({},Xe(Ee)),[`${ge}${ge}-sm`]:Object.assign({},Xe(he))}},E=we=>{const{controlHeight:ge,borderRadiusSM:ze,skeletonInputCls:Re,controlHeightLG:Ee,controlHeightSM:he,gradientFromColor:nt}=we;return{[`${Re}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:nt,borderRadius:ze},y(ge)),[`${Re}-lg`]:Object.assign({},y(Ee)),[`${Re}-sm`]:Object.assign({},y(he))}},b=we=>Object.assign({width:we},$e(we)),x=we=>{const{skeletonImageCls:ge,imageSizeBase:ze,gradientFromColor:Re,borderRadiusSM:Ee}=we;return{[`${ge}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Re,borderRadius:Ee},b(ze*2)),{[`${ge}-path`]:{fill:"#bfbfbf"},[`${ge}-svg`]:Object.assign(Object.assign({},b(ze)),{maxWidth:ze*4,maxHeight:ze*4}),[`${ge}-svg${ge}-svg-circle`]:{borderRadius:"50%"}}),[`${ge}${ge}-circle`]:{borderRadius:"50%"}}},te=(we,ge,ze)=>{const{skeletonButtonCls:Re}=we;return{[`${ze}${Re}-circle`]:{width:ge,minWidth:ge,borderRadius:"50%"},[`${ze}${Re}-round`]:{borderRadius:ge}}},ae=we=>Object.assign({width:we*2,minWidth:we*2},$e(we)),ie=we=>{const{borderRadiusSM:ge,skeletonButtonCls:ze,controlHeight:Re,controlHeightLG:Ee,controlHeightSM:he,gradientFromColor:nt}=we;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:nt,borderRadius:ge,width:Re*2,minWidth:Re*2},ae(Re))},te(we,Re,ze)),{[`${ze}-lg`]:Object.assign({},ae(Ee))}),te(we,Ee,`${ze}-lg`)),{[`${ze}-sm`]:Object.assign({},ae(he))}),te(we,he,`${ze}-sm`))},ue=we=>{const{componentCls:ge,skeletonAvatarCls:ze,skeletonTitleCls:Re,skeletonParagraphCls:Ee,skeletonButtonCls:he,skeletonInputCls:nt,skeletonImageCls:Me,controlHeight:xe,controlHeightLG:Ge,controlHeightSM:wt,gradientFromColor:ht,padding:Gt,marginSM:kt,borderRadius:Nt,titleHeight:Le,blockRadius:ot,paragraphLiHeight:At,controlHeightXS:ct,paragraphMarginTop:yt}=we;return{[`${ge}`]:{display:"table",width:"100%",[`${ge}-header`]:{display:"table-cell",paddingInlineEnd:Gt,verticalAlign:"top",[`${ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ht},Xe(xe)),[`${ze}-circle`]:{borderRadius:"50%"},[`${ze}-lg`]:Object.assign({},Xe(Ge)),[`${ze}-sm`]:Object.assign({},Xe(wt))},[`${ge}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Re}`]:{width:"100%",height:Le,background:ht,borderRadius:ot,[`+ ${Ee}`]:{marginBlockStart:wt}},[`${Ee}`]:{padding:0,"> li":{width:"100%",height:At,listStyle:"none",background:ht,borderRadius:ot,"+ li":{marginBlockStart:ct}}},[`${Ee}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ge}-content`]:{[`${Re}, ${Ee} > li`]:{borderRadius:Nt}}},[`${ge}-with-avatar ${ge}-content`]:{[`${Re}`]:{marginBlockStart:kt,[`+ ${Ee}`]:{marginBlockStart:yt}}},[`${ge}${ge}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ie(we)),a(we)),E(we)),x(we)),[`${ge}${ge}-block`]:{width:"100%",[`${he}`]:{width:"100%"},[`${nt}`]:{width:"100%"}},[`${ge}${ge}-active`]:{[` + ${Re}, + ${Ee} > li, + ${ze}, + ${he}, + ${nt}, + ${Me} + `]:Object.assign({},le(we))}}};var de=(0,_e.Z)("Skeleton",we=>{const{componentCls:ge}=we,ze=(0,st.TS)(we,{skeletonAvatarCls:`${ge}-avatar`,skeletonTitleCls:`${ge}-title`,skeletonParagraphCls:`${ge}-paragraph`,skeletonButtonCls:`${ge}-button`,skeletonInputCls:`${ge}-input`,skeletonImageCls:`${ge}-image`,imageSizeBase:we.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${we.gradientFromColor} 25%, ${we.gradientToColor} 37%, ${we.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ue(ze)]},we=>{const{colorFillContent:ge,colorFill:ze}=we,Re=ge,Ee=ze;return{color:Re,colorGradientEnd:Ee,gradientFromColor:Re,gradientToColor:Ee,titleHeight:we.controlHeight/2,blockRadius:we.borderRadiusSM,paragraphMarginTop:we.marginLG+we.marginXXS,paragraphLiHeight:we.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ce=we=>{const{prefixCls:ge,className:ze,rootClassName:Re,active:Ee,shape:he="circle",size:nt="default"}=we,{getPrefixCls:Me}=Je.useContext(Ne.E_),xe=Me("skeleton",ge),[Ge,wt]=de(xe),ht=(0,Ie.Z)(we,["prefixCls","className"]),Gt=ve()(xe,`${xe}-element`,{[`${xe}-active`]:Ee},ze,Re,wt);return Ge(Je.createElement("div",{className:Gt},Je.createElement(ye,Object.assign({prefixCls:`${xe}-avatar`,shape:he,size:nt},ht))))},je=we=>{const{prefixCls:ge,className:ze,rootClassName:Re,active:Ee,block:he=!1,size:nt="default"}=we,{getPrefixCls:Me}=Je.useContext(Ne.E_),xe=Me("skeleton",ge),[Ge,wt]=de(xe),ht=(0,Ie.Z)(we,["prefixCls"]),Gt=ve()(xe,`${xe}-element`,{[`${xe}-active`]:Ee,[`${xe}-block`]:he},ze,Re,wt);return Ge(Je.createElement("div",{className:Gt},Je.createElement(ye,Object.assign({prefixCls:`${xe}-button`,size:nt},ht))))};const Se="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Bt=we=>{const{prefixCls:ge,className:ze,rootClassName:Re,style:Ee,active:he}=we,{getPrefixCls:nt}=Je.useContext(Ne.E_),Me=nt("skeleton",ge),[xe,Ge]=de(Me),wt=ve()(Me,`${Me}-element`,{[`${Me}-active`]:he},ze,Re,Ge);return xe(Je.createElement("div",{className:wt},Je.createElement("div",{className:ve()(`${Me}-image`,ze),style:Ee},Je.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Me}-image-svg`},Je.createElement("path",{d:Se,className:`${Me}-image-path`})))))},Ve=we=>{const{prefixCls:ge,className:ze,rootClassName:Re,active:Ee,block:he,size:nt="default"}=we,{getPrefixCls:Me}=Je.useContext(Ne.E_),xe=Me("skeleton",ge),[Ge,wt]=de(xe),ht=(0,Ie.Z)(we,["prefixCls"]),Gt=ve()(xe,`${xe}-element`,{[`${xe}-active`]:Ee,[`${xe}-block`]:he},ze,Re,wt);return Ge(Je.createElement("div",{className:Gt},Je.createElement(ye,Object.assign({prefixCls:`${xe}-input`,size:nt},ht))))},ft=oe(92413),Dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Vt=Dt,Rt=oe(7657),St=function(ge,ze){return Je.createElement(Rt.Z,(0,ft.Z)({},ge,{ref:ze,icon:Vt}))},ke=Je.forwardRef(St),rt=ke,De=we=>{const{prefixCls:ge,className:ze,rootClassName:Re,style:Ee,active:he,children:nt}=we,{getPrefixCls:Me}=Je.useContext(Ne.E_),xe=Me("skeleton",ge),[Ge,wt]=de(xe),ht=ve()(xe,`${xe}-element`,{[`${xe}-active`]:he},wt,ze,Re),Gt=nt!=null?nt:Je.createElement(rt,null);return Ge(Je.createElement("div",{className:ht},Je.createElement("div",{className:ve()(`${xe}-image`,ze),style:Ee},Gt)))},tt=oe(26407),tn=we=>{const ge=Me=>{const{width:xe,rows:Ge=2}=we;if(Array.isArray(xe))return xe[Me];if(Ge-1===Me)return xe},{prefixCls:ze,className:Re,style:Ee,rows:he}=we,nt=(0,tt.Z)(Array(he)).map((Me,xe)=>Je.createElement("li",{key:xe,style:{width:ge(xe)}}));return Je.createElement("ul",{className:ve()(ze,Re),style:Ee},nt)},Yt=we=>{let{prefixCls:ge,className:ze,width:Re,style:Ee}=we;return Je.createElement("h3",{className:ve()(ge,ze),style:Object.assign({width:Re},Ee)})};function Fe(we){return we&&typeof we=="object"?we:{}}function it(we,ge){return we&&!ge?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Pt(we,ge){return!we&&ge?{width:"38%"}:we&&ge?{width:"50%"}:{}}function nn(we,ge){const ze={};return(!we||!ge)&&(ze.width="61%"),!we&&ge?ze.rows=3:ze.rows=2,ze}const zt=we=>{const{prefixCls:ge,loading:ze,className:Re,rootClassName:Ee,style:he,children:nt,avatar:Me=!1,title:xe=!0,paragraph:Ge=!0,active:wt,round:ht}=we,{getPrefixCls:Gt,direction:kt,skeleton:Nt}=Je.useContext(Ne.E_),Le=Gt("skeleton",ge),[ot,At]=de(Le);if(ze||!("loading"in we)){const ct=!!Me,yt=!!xe,on=!!Ge;let mn;if(ct){const Wn=Object.assign(Object.assign({prefixCls:`${Le}-avatar`},it(yt,on)),Fe(Me));mn=Je.createElement("div",{className:`${Le}-header`},Je.createElement(ye,Object.assign({},Wn)))}let dn;if(yt||on){let Wn;if(yt){const Zn=Object.assign(Object.assign({prefixCls:`${Le}-title`},Pt(ct,on)),Fe(xe));Wn=Je.createElement(Yt,Object.assign({},Zn))}let fn;if(on){const Zn=Object.assign(Object.assign({prefixCls:`${Le}-paragraph`},nn(ct,yt)),Fe(Ge));fn=Je.createElement(tn,Object.assign({},Zn))}dn=Je.createElement("div",{className:`${Le}-content`},Wn,fn)}const vn=ve()(Le,{[`${Le}-with-avatar`]:ct,[`${Le}-active`]:wt,[`${Le}-rtl`]:kt==="rtl",[`${Le}-round`]:ht},Nt==null?void 0:Nt.className,Re,Ee,At);return ot(Je.createElement("div",{className:vn,style:Object.assign(Object.assign({},Nt==null?void 0:Nt.style),he)},mn,dn))}return typeof nt!="undefined"?nt:null};zt.Button=je,zt.Avatar=Ce,zt.Input=Ve,zt.Image=Bt,zt.Node=De;var Ke=zt,Ue=Ke},81327:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return E}});var ne=oe(59301),ve=oe(92310),Je=oe.n(ve),Ne=oe(11592),Ie=oe(36355),Te=oe(33234);const ye=ne.createContext({latestIndex:0}),Ye=ye.Provider;var st=b=>{let{className:x,index:te,children:ae,split:ie,style:ue}=b;const{latestIndex:de}=ne.useContext(ye);return ae==null?null:ne.createElement(ne.Fragment,null,ne.createElement("div",{className:x,style:ue},ae),te{var te,ae;const{getPrefixCls:ie,space:ue,direction:de}=ne.useContext(Ie.E_),{size:fe=(ue==null?void 0:ue.size)||"small",align:Ce,className:Pe,rootClassName:je,children:Se,direction:Qe="horizontal",prefixCls:Bt,split:Ot,style:Ve,wrap:ft=!1,classNames:Dt,styles:Vt}=b,Rt=le(b,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[St,ke]=Array.isArray(fe)?fe:[fe,fe],rt=$e(ke),Lt=$e(St),De=Xe(ke),tt=Xe(St),Ft=(0,Ne.Z)(Se,{keepEmpty:!0}),tn=Ce===void 0&&Qe==="horizontal"?"center":Ce,gt=ie("space",Bt),[Yt,Fe]=(0,pt.Z)(gt),it=Je()(gt,ue==null?void 0:ue.className,Fe,`${gt}-${Qe}`,{[`${gt}-rtl`]:de==="rtl",[`${gt}-align-${tn}`]:tn,[`${gt}-gap-row-${ke}`]:rt,[`${gt}-gap-col-${St}`]:Lt},Pe,je),Pt=Je()(`${gt}-item`,(te=Dt==null?void 0:Dt.item)!==null&&te!==void 0?te:(ae=ue==null?void 0:ue.classNames)===null||ae===void 0?void 0:ae.item);let nn=0;const zt=Ft.map((we,ge)=>{var ze,Re;we!=null&&(nn=ge);const Ee=we&&we.key||`${Pt}-${ge}`;return ne.createElement(st,{className:Pt,key:Ee,index:ge,split:Ot,style:(ze=Vt==null?void 0:Vt.item)!==null&&ze!==void 0?ze:(Re=ue==null?void 0:ue.styles)===null||Re===void 0?void 0:Re.item},we)}),Ke=ne.useMemo(()=>({latestIndex:nn}),[nn]);if(Ft.length===0)return null;const Ue={};return ft&&(Ue.flexWrap="wrap"),!Lt&&tt&&(Ue.columnGap=St),!rt&&De&&(Ue.rowGap=ke),Yt(ne.createElement("div",Object.assign({ref:x,className:it,style:Object.assign(Object.assign(Object.assign({},Ue),ue==null?void 0:ue.style),Ve)},Rt),ne.createElement(Ye,{value:Ke},zt)))});a.Compact=Te.ZP;var E=a},31797:function(xt,Tt,oe){"use strict";oe.d(Tt,{default:function(){return de}});var ne=oe(59301),ve=oe(56762),Je=oe(92343),Ne=oe(92310),Ie=oe.n(Ne),Te=oe(36355),ye=oe(61621),_e=fe=>{const{value:Ce,formatter:Pe,precision:je,decimalSeparator:Se,groupSeparator:Qe="",prefixCls:Bt}=fe;let Ot;if(typeof Pe=="function")Ot=Pe(Ce);else{const Ve=String(Ce),ft=Ve.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ft||Ve==="-")Ot=Ve;else{const Dt=ft[1];let Vt=ft[2]||"0",Rt=ft[4]||"";Vt=Vt.replace(/\B(?=(\d{3})+(?!\d))/g,Qe),typeof je=="number"&&(Rt=Rt.padEnd(je,"0").slice(0,je>0?je:0)),Rt&&(Rt=`${Se}${Rt}`),Ot=[ne.createElement("span",{key:"int",className:`${Bt}-content-value-int`},Dt,Vt),Rt&&ne.createElement("span",{key:"decimal",className:`${Bt}-content-value-decimal`},Rt)]}}return ne.createElement("span",{className:`${Bt}-content-value`},Ot)},st=oe(17313),pt=oe(83116),$e=oe(37613);const Xe=fe=>{const{componentCls:Ce,marginXXS:Pe,padding:je,colorTextDescription:Se,titleFontSize:Qe,colorTextHeading:Bt,contentFontSize:Ot,fontFamily:Ve}=fe;return{[`${Ce}`]:Object.assign(Object.assign({},(0,st.Wf)(fe)),{[`${Ce}-title`]:{marginBottom:Pe,color:Se,fontSize:Qe},[`${Ce}-skeleton`]:{paddingTop:je},[`${Ce}-content`]:{color:Bt,fontSize:Ot,fontFamily:Ve,[`${Ce}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ce}-content-prefix, ${Ce}-content-suffix`]:{display:"inline-block"},[`${Ce}-content-prefix`]:{marginInlineEnd:Pe},[`${Ce}-content-suffix`]:{marginInlineStart:Pe}}})}};var le=(0,pt.Z)("Statistic",fe=>{const Ce=(0,$e.TS)(fe,{});return[Xe(Ce)]},fe=>{const{fontSizeHeading3:Ce,fontSize:Pe}=fe;return{titleFontSize:Pe,contentFontSize:Ce}}),a=fe=>{const{prefixCls:Ce,className:Pe,rootClassName:je,style:Se,valueStyle:Qe,value:Bt=0,title:Ot,valueRender:Ve,prefix:ft,suffix:Dt,loading:Vt=!1,onMouseEnter:Rt,onMouseLeave:St,decimalSeparator:ke=".",groupSeparator:rt=","}=fe,{getPrefixCls:Lt,direction:De,statistic:tt}=ne.useContext(Te.E_),Ft=Lt("statistic",Ce),[tn,gt]=le(Ft),Yt=ne.createElement(_e,Object.assign({decimalSeparator:ke,groupSeparator:rt,prefixCls:Ft},fe,{value:Bt})),Fe=Ie()(Ft,{[`${Ft}-rtl`]:De==="rtl"},tt==null?void 0:tt.className,Pe,je,gt);return tn(ne.createElement("div",{className:Fe,style:Object.assign(Object.assign({},tt==null?void 0:tt.style),Se),onMouseEnter:Rt,onMouseLeave:St},Ot&&ne.createElement("div",{className:`${Ft}-title`},Ot),ne.createElement(ye.Z,{paragraph:!1,loading:Vt,className:`${Ft}-skeleton`},ne.createElement("div",{style:Qe,className:`${Ft}-content`},ft&&ne.createElement("span",{className:`${Ft}-content-prefix`},ft),Ve?Ve(Yt):Yt,Dt&&ne.createElement("span",{className:`${Ft}-content-suffix`},Dt)))))};const E=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(fe,Ce){let Pe=fe;const je=/\[[^\]]*]/g,Se=(Ce.match(je)||[]).map(Ve=>Ve.slice(1,-1)),Qe=Ce.replace(je,"[]"),Bt=E.reduce((Ve,ft)=>{let[Dt,Vt]=ft;if(Ve.includes(Dt)){const Rt=Math.floor(Pe/Vt);return Pe-=Rt*Vt,Ve.replace(new RegExp(`${Dt}+`,"g"),St=>{const ke=St.length;return Rt.toString().padStart(ke,"0")})}return Ve},Qe);let Ot=0;return Bt.replace(je,()=>{const Ve=Se[Ot];return Ot+=1,Ve})}function x(fe,Ce){const{format:Pe=""}=Ce,je=new Date(fe).getTime(),Se=Date.now(),Qe=Math.max(je-Se,0);return b(Qe,Pe)}const te=1e3/30;function ae(fe){return new Date(fe).getTime()}const ie=fe=>{const{value:Ce,format:Pe="HH:mm:ss",onChange:je,onFinish:Se}=fe,Qe=(0,ve.Z)(),Bt=ne.useRef(null),Ot=()=>{Se==null||Se(),Bt.current&&(clearInterval(Bt.current),Bt.current=null)},Ve=()=>{const Vt=ae(Ce);Vt>=Date.now()&&(Bt.current=setInterval(()=>{Qe(),je==null||je(Vt-Date.now()),Vt(Ve(),()=>{Bt.current&&(clearInterval(Bt.current),Bt.current=null)}),[Ce]);const ft=(Vt,Rt)=>x(Vt,Object.assign(Object.assign({},Rt),{format:Pe})),Dt=Vt=>(0,Je.Tm)(Vt,{title:void 0});return ne.createElement(a,Object.assign({},fe,{valueRender:Dt,formatter:ft}))};var ue=ne.memo(ie);a.Countdown=ue;var de=a},12563:function(xt,Tt,oe){"use strict";oe.d(Tt,{default:function(){return je}});var ne=oe(59301),ve=oe(99267),Je=oe(92310),Ne=oe.n(Je),Ie=oe(36785),Te=oe(47729),ye=oe(14088),Ye=oe(36355),_e=oe(17313),st=oe(37613),pt=oe(83116);const $e=Se=>{const{paddingXXS:Qe,lineWidth:Bt,tagPaddingHorizontal:Ot,componentCls:Ve}=Se,ft=Ot-Bt,Dt=Qe-Bt;return{[Ve]:Object.assign(Object.assign({},(0,_e.Wf)(Se)),{display:"inline-block",height:"auto",marginInlineEnd:Se.marginXS,paddingInline:ft,fontSize:Se.tagFontSize,lineHeight:Se.tagLineHeight,whiteSpace:"nowrap",background:Se.defaultBg,border:`${Se.lineWidth}px ${Se.lineType} ${Se.colorBorder}`,borderRadius:Se.borderRadiusSM,opacity:1,transition:`all ${Se.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ve}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Se.defaultColor},[`${Ve}-close-icon`]:{marginInlineStart:Dt,color:Se.colorTextDescription,fontSize:Se.tagIconSize,cursor:"pointer",transition:`all ${Se.motionDurationMid}`,"&:hover":{color:Se.colorTextHeading}},[`&${Ve}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Se.iconCls}-close, ${Se.iconCls}-close:hover`]:{color:Se.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ve}-checkable-checked):hover`]:{color:Se.colorPrimary,backgroundColor:Se.colorFillSecondary},"&:active, &-checked":{color:Se.colorTextLightSolid},"&-checked":{backgroundColor:Se.colorPrimary,"&:hover":{backgroundColor:Se.colorPrimaryHover}},"&:active":{backgroundColor:Se.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Se.iconCls} + span, > span + ${Se.iconCls}`]:{marginInlineStart:ft}}),[`${Ve}-borderless`]:{borderColor:"transparent",background:Se.tagBorderlessBg}}},Xe=Se=>{const{lineWidth:Qe,fontSizeIcon:Bt}=Se,Ot=Se.fontSizeSM,Ve=`${Se.lineHeightSM*Ot}px`;return(0,st.TS)(Se,{tagFontSize:Ot,tagLineHeight:Ve,tagIconSize:Bt-2*Qe,tagPaddingHorizontal:8,tagBorderlessBg:Se.colorFillTertiary})},le=Se=>({defaultBg:Se.colorFillQuaternary,defaultColor:Se.colorText});var y=(0,pt.Z)("Tag",Se=>{const Qe=Xe(Se);return $e(Qe)},le),a=function(Se,Qe){var Bt={};for(var Ot in Se)Object.prototype.hasOwnProperty.call(Se,Ot)&&Qe.indexOf(Ot)<0&&(Bt[Ot]=Se[Ot]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Ot=Object.getOwnPropertySymbols(Se);Ve{const{prefixCls:Qe,style:Bt,className:Ot,checked:Ve,onChange:ft,onClick:Dt}=Se,Vt=a(Se,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Rt,tag:St}=ne.useContext(Ye.E_),ke=Ft=>{ft==null||ft(!Ve),Dt==null||Dt(Ft)},rt=Rt("tag",Qe),[Lt,De]=y(rt),tt=Ne()(rt,`${rt}-checkable`,{[`${rt}-checkable-checked`]:Ve},St==null?void 0:St.className,Ot,De);return Lt(ne.createElement("span",Object.assign({},Vt,{style:Object.assign(Object.assign({},Bt),St==null?void 0:St.style),className:tt,onClick:ke})))},x=oe(45157);const te=Se=>(0,x.Z)(Se,(Qe,Bt)=>{let{textColor:Ot,lightBorderColor:Ve,lightColor:ft,darkColor:Dt}=Bt;return{[`${Se.componentCls}-${Qe}`]:{color:Ot,background:ft,borderColor:Ve,"&-inverse":{color:Se.colorTextLightSolid,background:Dt,borderColor:Dt},[`&${Se.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ae=(0,pt.b)(["Tag","preset"],Se=>{const Qe=Xe(Se);return te(Qe)},le);function ie(Se){return typeof Se!="string"?Se:Se.charAt(0).toUpperCase()+Se.slice(1)}const ue=(Se,Qe,Bt)=>{const Ot=ie(Bt);return{[`${Se.componentCls}-${Qe}`]:{color:Se[`color${Bt}`],background:Se[`color${Ot}Bg`],borderColor:Se[`color${Ot}Border`],[`&${Se.componentCls}-borderless`]:{borderColor:"transparent"}}}};var de=(0,pt.b)(["Tag","status"],Se=>{const Qe=Xe(Se);return[ue(Qe,"success","Success"),ue(Qe,"processing","Info"),ue(Qe,"error","Error"),ue(Qe,"warning","Warning")]},le),fe=function(Se,Qe){var Bt={};for(var Ot in Se)Object.prototype.hasOwnProperty.call(Se,Ot)&&Qe.indexOf(Ot)<0&&(Bt[Ot]=Se[Ot]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Ot=Object.getOwnPropertySymbols(Se);Ve{const{prefixCls:Bt,className:Ot,rootClassName:Ve,style:ft,children:Dt,icon:Vt,color:Rt,onClose:St,closeIcon:ke,closable:rt,bordered:Lt=!0}=Se,De=fe(Se,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:tt,direction:Ft,tag:tn}=ne.useContext(Ye.E_),[gt,Yt]=ne.useState(!0);ne.useEffect(()=>{"visible"in De&&Yt(De.visible)},[De.visible]);const Fe=(0,Ie.o2)(Rt),it=(0,Ie.yT)(Rt),Pt=Fe||it,nn=Object.assign(Object.assign({backgroundColor:Rt&&!Pt?Rt:void 0},tn==null?void 0:tn.style),ft),zt=tt("tag",Bt),[Ke,Ue]=y(zt),we=Ne()(zt,tn==null?void 0:tn.className,{[`${zt}-${Rt}`]:Pt,[`${zt}-has-color`]:Rt&&!Pt,[`${zt}-hidden`]:!gt,[`${zt}-rtl`]:Ft==="rtl",[`${zt}-borderless`]:!Lt},Ot,Ve,Ue),ge=Me=>{Me.stopPropagation(),St==null||St(Me),!Me.defaultPrevented&&Yt(!1)},[,ze]=(0,Te.Z)(rt,ke,Me=>Me===null?ne.createElement(ve.Z,{className:`${zt}-close-icon`,onClick:ge}):ne.createElement("span",{className:`${zt}-close-icon`,onClick:ge},Me),null,!1),Re=typeof De.onClick=="function"||Dt&&Dt.type==="a",Ee=Vt||null,he=Ee?ne.createElement(ne.Fragment,null,Ee,Dt&&ne.createElement("span",null,Dt)):Dt,nt=ne.createElement("span",Object.assign({},De,{ref:Qe,className:we,style:nn}),he,ze,Fe&&ne.createElement(ae,{key:"preset",prefixCls:zt}),it&&ne.createElement(de,{key:"status",prefixCls:zt}));return Ke(Re?ne.createElement(ye.Z,{component:"Tag"},nt):nt)},Pe=ne.forwardRef(Ce);Pe.CheckableTag=b;var je=Pe},17574:function(xt,Tt,oe){"use strict";oe.d(Tt,{default:function(){return Rt}});var ne=oe(23130),ve=oe(26407),Je=oe(52671),Ne=oe(8657),Ie=oe(92413),Te=oe(59301),ye={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"},Ye=ye,_e=oe(7657),st=function(ke,rt){return Te.createElement(_e.Z,(0,Ie.Z)({},ke,{ref:rt,icon:Ye}))},pt=Te.forwardRef(st),$e=pt,Xe=oe(92310),le=oe.n(Xe),y=oe(35654),a=oe(71430),E=oe(36355),b=oe(56082),x=oe(62892),te=oe(20648);const ae=4;function ie(St){const{dropPosition:ke,dropLevelOffset:rt,prefixCls:Lt,indent:De,direction:tt="ltr"}=St,Ft=tt==="ltr"?"left":"right",tn=tt==="ltr"?"right":"left",gt={[Ft]:-rt*De+ae,[tn]:0};switch(ke){case-1:gt.top=-3;break;case 1:gt.bottom=-3;break;default:gt.bottom=-3,gt[Ft]=De+ae;break}return Te.createElement("div",{style:gt,className:`${Lt}-drop-indicator`})}var ue=oe(71997),fe=Te.forwardRef((St,ke)=>{const{getPrefixCls:rt,direction:Lt,virtual:De,tree:tt}=Te.useContext(E.E_),{prefixCls:Ft,className:tn,showIcon:gt=!1,showLine:Yt,switcherIcon:Fe,blockNode:it=!1,children:Pt,checkable:nn=!1,selectable:zt=!0,draggable:Ke,motion:Ue,style:we}=St,ge=rt("tree",Ft),ze=rt(),Re=Ue!=null?Ue:Object.assign(Object.assign({},(0,x.Z)(ze)),{motionAppear:!1}),Ee=Object.assign(Object.assign({},St),{checkable:nn,selectable:zt,showIcon:gt,motion:Re,blockNode:it,showLine:!!Yt,dropIndicatorRender:ie}),[he,nt]=(0,te.ZP)(ge),Me=Te.useMemo(()=>{if(!Ke)return!1;let Ge={};switch(typeof Ke){case"function":Ge.nodeDraggable=Ke;break;case"object":Ge=Object.assign({},Ke);break;default:break}return Ge.icon!==!1&&(Ge.icon=Ge.icon||Te.createElement(b.Z,null)),Ge},[Ke]),xe=Ge=>Te.createElement(ue.Z,{prefixCls:ge,switcherIcon:Fe,treeNodeProps:Ge,showLine:Yt});return he(Te.createElement(ne.Z,Object.assign({itemHeight:20,ref:ke,virtual:De},Ee,{style:Object.assign(Object.assign({},tt==null?void 0:tt.style),we),prefixCls:ge,className:le()({[`${ge}-icon-hide`]:!gt,[`${ge}-block-node`]:it,[`${ge}-unselectable`]:!zt,[`${ge}-rtl`]:Lt==="rtl"},tt==null?void 0:tt.className,tn,nt),direction:Lt,checkable:nn&&Te.createElement("span",{className:`${ge}-checkbox-inner`}),selectable:zt,switcherIcon:xe,draggable:Me}),Pt))}),Ce;(function(St){St[St.None=0]="None",St[St.Start=1]="Start",St[St.End=2]="End"})(Ce||(Ce={}));function Pe(St,ke){function rt(Lt){const{key:De,children:tt}=Lt;ke(De,Lt)!==!1&&Pe(tt||[],ke)}St.forEach(rt)}function je(St){let{treeData:ke,expandedKeys:rt,startKey:Lt,endKey:De}=St;const tt=[];let Ft=Ce.None;if(Lt&&Lt===De)return[Lt];if(!Lt||!De)return[];function tn(gt){return gt===Lt||gt===De}return Pe(ke,gt=>{if(Ft===Ce.End)return!1;if(tn(gt)){if(tt.push(gt),Ft===Ce.None)Ft=Ce.Start;else if(Ft===Ce.Start)return Ft=Ce.End,!1}else Ft===Ce.Start&&tt.push(gt);return rt.includes(gt)}),tt}function Se(St,ke){const rt=(0,ve.Z)(ke),Lt=[];return Pe(St,(De,tt)=>{const Ft=rt.indexOf(De);return Ft!==-1&&(Lt.push(tt),rt.splice(Ft,1)),!!rt.length}),Lt}var Qe=function(St,ke){var rt={};for(var Lt in St)Object.prototype.hasOwnProperty.call(St,Lt)&&ke.indexOf(Lt)<0&&(rt[Lt]=St[Lt]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Lt=Object.getOwnPropertySymbols(St);De{var{defaultExpandAll:rt,defaultExpandParent:Lt,defaultExpandedKeys:De}=St,tt=Qe(St,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ft=Te.useRef(),tn=Te.useRef(),gt=()=>{const{keyEntities:Me}=(0,a.I8)(Ot(tt));let xe;return rt?xe=Object.keys(Me):Lt?xe=(0,y.r7)(tt.expandedKeys||De||[],Me):xe=tt.expandedKeys||De,xe},[Yt,Fe]=Te.useState(tt.selectedKeys||tt.defaultSelectedKeys||[]),[it,Pt]=Te.useState(()=>gt());Te.useEffect(()=>{"selectedKeys"in tt&&Fe(tt.selectedKeys)},[tt.selectedKeys]),Te.useEffect(()=>{"expandedKeys"in tt&&Pt(tt.expandedKeys)},[tt.expandedKeys]);const nn=(Me,xe)=>{var Ge;return"expandedKeys"in tt||Pt(Me),(Ge=tt.onExpand)===null||Ge===void 0?void 0:Ge.call(tt,Me,xe)},zt=(Me,xe)=>{var Ge;const{multiple:wt}=tt,{node:ht,nativeEvent:Gt}=xe,{key:kt=""}=ht,Nt=Ot(tt),Le=Object.assign(Object.assign({},xe),{selected:!0}),ot=(Gt==null?void 0:Gt.ctrlKey)||(Gt==null?void 0:Gt.metaKey),At=Gt==null?void 0:Gt.shiftKey;let ct;wt&&ot?(ct=Me,Ft.current=kt,tn.current=ct,Le.selectedNodes=Se(Nt,ct)):wt&&At?(ct=Array.from(new Set([].concat((0,ve.Z)(tn.current||[]),(0,ve.Z)(je({treeData:Nt,expandedKeys:it,startKey:kt,endKey:Ft.current}))))),Le.selectedNodes=Se(Nt,ct)):(ct=[kt],Ft.current=kt,tn.current=ct,Le.selectedNodes=Se(Nt,ct)),(Ge=tt.onSelect)===null||Ge===void 0||Ge.call(tt,ct,Le),"selectedKeys"in tt||Fe(ct)},{getPrefixCls:Ke,direction:Ue}=Te.useContext(E.E_),{prefixCls:we,className:ge,showIcon:ze=!0,expandAction:Re="click"}=tt,Ee=Qe(tt,["prefixCls","className","showIcon","expandAction"]),he=Ke("tree",we),nt=le()(`${he}-directory`,{[`${he}-directory-rtl`]:Ue==="rtl"},ge);return Te.createElement(fe,Object.assign({icon:Bt,ref:ke,blockNode:!0},Ee,{showIcon:ze,expandAction:Re,prefixCls:he,className:nt,expandedKeys:it,selectedKeys:Yt,onSelect:zt,onExpand:nn}))};var Dt=Te.forwardRef(Ve);const Vt=fe;Vt.DirectoryTree=Dt,Vt.TreeNode=ne.O;var Rt=Vt},20648:function(xt,Tt,oe){"use strict";oe.d(Tt,{TM:function(){return Xe},Yk:function(){return $e}});var ne=oe(93083),ve=oe(98447),Je=oe(17313),Ne=oe(8378),Ie=oe(37613),Te=oe(83116);const ye=new ne.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ye=(le,y)=>({[`.${le}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),_e=(le,y)=>({[`.${le}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),st=(le,y)=>{const{treeCls:a,treeNodeCls:E,treeNodePadding:b,titleHeight:x,nodeSelectedBg:te,nodeHoverBg:ae}=y,ie=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Je.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Je.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${E}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:ye,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${E}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Je.oN)(y)),[`&:not(${E}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:x,lineHeight:`${x}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${E}:hover &`]:{opacity:.45}},[`&${E}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:x}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},Ye(le,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:x,margin:0,lineHeight:`${x}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:x/2*.8,height:x/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ie},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:x,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${x}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ae},[`&${a}-node-selected`]:{backgroundColor:te},[`${a}-iconEle`]:{display:"inline-block",width:x,height:x,lineHeight:`${x}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${x}px`,userSelect:"none"},_e(le,y)),[`${E}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-b,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${E}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${x/2}px !important`}}}}})}},pt=le=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:E,directoryNodeSelectedBg:b,directoryNodeSelectedColor:x}=le;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,transition:`background-color ${le.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:le.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${le.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:x,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${y}-switcher`]:{color:x},[`${y}-node-content-wrapper`]:{color:x,background:"transparent"}}}}}},$e=(le,y)=>{const a=`.${le}`,E=`${a}-treenode`,b=y.paddingXS/2,x=(0,Ie.TS)(y,{treeCls:a,treeNodeCls:E,treeNodePadding:b});return[st(le,x),pt(x)]},Xe=le=>{const{controlHeightSM:y}=le;return{titleHeight:y,nodeHoverBg:le.controlItemBgHover,nodeSelectedBg:le.controlItemBgActive}};Tt.ZP=(0,Te.Z)("Tree",(le,y)=>{let{prefixCls:a}=y;return[{[le.componentCls]:(0,ve.C2)(`${a}-checkbox`,le)},$e(a,le),(0,Ne.Z)(le)]},le=>{const{colorTextLightSolid:y,colorPrimary:a}=le;return Object.assign(Object.assign({},Xe(le)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return E}});var ne=oe(92413),ve=oe(59301),Je={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"},Ne=Je,Ie=oe(7657),Te=function(x,te){return ve.createElement(Ie.Z,(0,ne.Z)({},x,{ref:te,icon:Ne}))},ye=ve.forwardRef(Te),Ye=ye,_e=oe(52671),st=oe(58617),pt=oe(15075),$e=oe(43531),Xe=oe(92310),le=oe.n(Xe),y=oe(92343),E=b=>{const{prefixCls:x,switcherIcon:te,treeNodeProps:ae,showLine:ie}=b,{isLeaf:ue,expanded:de,loading:fe}=ae;if(fe)return ve.createElement(st.Z,{className:`${x}-switcher-loading-icon`});let Ce;if(ie&&typeof ie=="object"&&(Ce=ie.showLeafIcon),ue){if(!ie)return null;if(typeof Ce!="boolean"&&Ce){const Se=typeof Ce=="function"?Ce(ae):Ce,Qe=`${x}-switcher-line-custom-icon`;return(0,y.l$)(Se)?(0,y.Tm)(Se,{className:le()(Se.props.className||"",Qe)}):Se}return Ce?ve.createElement(_e.Z,{className:`${x}-switcher-line-icon`}):ve.createElement("span",{className:`${x}-switcher-leaf-line`})}const Pe=`${x}-switcher-icon`,je=typeof te=="function"?te(ae):te;return(0,y.l$)(je)?(0,y.Tm)(je,{className:le()(je.props.className||"",Pe)}):je!==void 0?je:ie?de?ve.createElement(pt.Z,{className:`${x}-switcher-line-icon`}):ve.createElement($e.Z,{className:`${x}-switcher-line-icon`}):ve.createElement(Ye,{className:Pe})}},54580:function(xt,Tt,oe){"use strict";oe.d(Tt,{default:function(){return Cn}});var ne=oe(59301),ve=oe(26407),Je=oe(92310),Ne=oe.n(Je),Ie=oe(92413),Te=oe(6909),ye=oe(4771),Ye=oe(9427),_e=oe(25440),st=oe(400),pt=oe(37061),$e=oe(85195),Xe=oe(39559),le=oe(20569),y=oe(26112);function a(Be,vt){var Ct="cannot ".concat(Be.method," ").concat(Be.action," ").concat(vt.status,"'"),Et=new Error(Ct);return Et.status=vt.status,Et.method=Be.method,Et.url=Be.action,Et}function E(Be){var vt=Be.responseText||Be.response;if(!vt)return vt;try{return JSON.parse(vt)}catch(Ct){return vt}}function b(Be){var vt=new XMLHttpRequest;Be.onProgress&&vt.upload&&(vt.upload.onprogress=function(jt){jt.total>0&&(jt.percent=jt.loaded/jt.total*100),Be.onProgress(jt)});var Ct=new FormData;Be.data&&Object.keys(Be.data).forEach(function(Qt){var jt=Be.data[Qt];if(Array.isArray(jt)){jt.forEach(function(Ht){Ct.append("".concat(Qt,"[]"),Ht)});return}Ct.append(Qt,jt)}),Be.file instanceof Blob?Ct.append(Be.filename,Be.file,Be.file.name):Ct.append(Be.filename,Be.file),vt.onerror=function(jt){Be.onError(jt)},vt.onload=function(){return vt.status<200||vt.status>=300?Be.onError(a(Be,vt),E(vt)):Be.onSuccess(E(vt),vt)},vt.open(Be.method,Be.action,!0),Be.withCredentials&&"withCredentials"in vt&&(vt.withCredentials=!0);var Et=Be.headers||{};return Et["X-Requested-With"]!==null&&vt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Et).forEach(function(Qt){Et[Qt]!==null&&vt.setRequestHeader(Qt,Et[Qt])}),vt.send(Ct),{abort:function(){vt.abort()}}}var x=+new Date,te=0;function ae(){return"rc-upload-".concat(x,"-").concat(++te)}var ie=oe(48736),ue=function(Be,vt){if(Be&&vt){var Ct=Array.isArray(vt)?vt:vt.split(","),Et=Be.name||"",Qt=Be.type||"",jt=Qt.replace(/\/.*$/,"");return Ct.some(function(Ht){var Kt=Ht.trim();if(/^\*(\/\*)?$/.test(Ht))return!0;if(Kt.charAt(0)==="."){var Gn=Et.toLowerCase(),lt=Kt.toLowerCase(),Oe=[lt];return(lt===".jpg"||lt===".jpeg")&&(Oe=[".jpg",".jpeg"]),Oe.some(function(bt){return Gn.endsWith(bt)})}return/\/\*$/.test(Kt)?jt===Kt.replace(/\/.*$/,""):Qt===Kt?!0:/^\w+$/.test(Kt)?((0,ie.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Kt,"'.Skip for check.")),!0):!1})}return!0};function de(Be,vt){var Ct=Be.createReader(),Et=[];function Qt(){Ct.readEntries(function(jt){var Ht=Array.prototype.slice.apply(jt);Et=Et.concat(Ht);var Kt=!Ht.length;Kt?vt(Et):Qt()})}Qt()}var fe=function(vt,Ct,Et){var Qt=function jt(Ht,Kt){Ht&&(Ht.path=Kt||"",Ht.isFile?Ht.file(function(Gn){Et(Gn)&&(Ht.fullPath&&!Gn.webkitRelativePath&&(Object.defineProperties(Gn,{webkitRelativePath:{writable:!0}}),Gn.webkitRelativePath=Ht.fullPath.replace(/^\//,""),Object.defineProperties(Gn,{webkitRelativePath:{writable:!1}})),Ct([Gn]))}):Ht.isDirectory&&de(Ht,function(Gn){Gn.forEach(function(lt){jt(lt,"".concat(Kt).concat(Ht.name,"/"))})}))};vt.forEach(function(jt){Qt(jt.webkitGetAsEntry())})},Ce=fe,Pe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],je=function(Be){(0,Ye.Z)(Ct,Be);var vt=(0,_e.Z)(Ct);function Ct(){var Et;(0,Te.Z)(this,Ct);for(var Qt=arguments.length,jt=new Array(Qt),Ht=0;Ht{let{uid:jt}=Qt;return jt===Be.uid});return Et===-1?Ct.push(Be):Ct[Et]=Be,Ct}function Ge(Be,vt){const Ct=Be.uid!==void 0?"uid":"name";return vt.filter(Et=>Et[Ct]===Be[Ct])[0]}function wt(Be,vt){const Ct=Be.uid!==void 0?"uid":"name",Et=vt.filter(Qt=>Qt[Ct]!==Be[Ct]);return Et.length===vt.length?null:Et}const ht=function(){const vt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Et=vt[vt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Et)||[""])[0]},Gt=Be=>Be.indexOf("image/")===0,kt=Be=>{if(Be.type&&!Be.thumbUrl)return Gt(Be.type);const vt=Be.thumbUrl||Be.url||"",Ct=ht(vt);return/^data:image\//.test(vt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Ct)?!0:!(/^data:/.test(vt)||Ct)},Nt=200;function Le(Be){return new Promise(vt=>{if(!Be.type||!Gt(Be.type)){vt("");return}const Ct=document.createElement("canvas");Ct.width=Nt,Ct.height=Nt,Ct.style.cssText=`position: fixed; left: 0; top: 0; width: ${Nt}px; height: ${Nt}px; z-index: 9999; display: none;`,document.body.appendChild(Ct);const Et=Ct.getContext("2d"),Qt=new Image;if(Qt.onload=()=>{const{width:jt,height:Ht}=Qt;let Kt=Nt,Gn=Nt,lt=0,Oe=0;jt>Ht?(Gn=Ht*(Nt/jt),Oe=-(Gn-Kt)/2):(Kt=jt*(Nt/Ht),lt=-(Kt-Gn)/2),Et.drawImage(Qt,lt,Oe,Kt,Gn);const bt=Ct.toDataURL();document.body.removeChild(Ct),window.URL.revokeObjectURL(Qt.src),vt(bt)},Qt.crossOrigin="anonymous",Be.type.startsWith("image/svg+xml")){const jt=new FileReader;jt.onload=()=>{jt.result&&(Qt.src=jt.result)},jt.readAsDataURL(Be)}else if(Be.type.startsWith("image/gif")){const jt=new FileReader;jt.onload=()=>{jt.result&&vt(jt.result)},jt.readAsDataURL(Be)}else Qt.src=window.URL.createObjectURL(Be)})}var ot=oe(26227),At=oe(41464),ct=oe(15277),yt=oe(93948),on=oe(6848),dn=ne.forwardRef((Be,vt)=>{let{prefixCls:Ct,className:Et,style:Qt,locale:jt,listType:Ht,file:Kt,items:Gn,progress:lt,iconRender:Oe,actionIconRender:bt,itemRender:an,isImgUrl:Dn,showPreviewIcon:jn,showRemoveIcon:Mt,showDownloadIcon:Jt,previewIcon:Ut,removeIcon:It,downloadIcon:En,onPreview:sn,onDownload:In,onClose:Hn}=Be;var bn,wn;const{status:va}=Kt,[Sa,Na]=ne.useState(va);ne.useEffect(()=>{va!=="removed"&&Na(va)},[va]);const[On,ya]=ne.useState(!1);ne.useEffect(()=>{const oa=setTimeout(()=>{ya(!0)},300);return()=>{clearTimeout(oa)}},[]);const Pa=Oe(Kt);let qn=ne.createElement("div",{className:`${Ct}-icon`},Pa);if(Ht==="picture"||Ht==="picture-card"||Ht==="picture-circle")if(Sa==="uploading"||!Kt.thumbUrl&&!Kt.url){const oa=Ne()(`${Ct}-list-item-thumbnail`,{[`${Ct}-list-item-file`]:Sa!=="uploading"});qn=ne.createElement("div",{className:oa},Pa)}else{const oa=Dn!=null&&Dn(Kt)?ne.createElement("img",{src:Kt.thumbUrl||Kt.url,alt:Kt.name,className:`${Ct}-list-item-image`,crossOrigin:Kt.crossOrigin}):Pa,Un=Ne()(`${Ct}-list-item-thumbnail`,{[`${Ct}-list-item-file`]:Dn&&!Dn(Kt)});qn=ne.createElement("a",{className:Un,onClick:ma=>sn(Kt,ma),href:Kt.url||Kt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},oa)}const aa=Ne()(`${Ct}-list-item`,`${Ct}-list-item-${Sa}`),ja=typeof Kt.linkProps=="string"?JSON.parse(Kt.linkProps):Kt.linkProps,Ra=Mt?bt((typeof It=="function"?It(Kt):It)||ne.createElement(ot.Z,null),()=>Hn(Kt),Ct,jt.removeFile):null,Wa=Jt&&Sa==="done"?bt((typeof En=="function"?En(Kt):En)||ne.createElement(At.Z,null),()=>In(Kt),Ct,jt.downloadFile):null,Ea=Ht!=="picture-card"&&Ht!=="picture-circle"&&ne.createElement("span",{key:"download-delete",className:Ne()(`${Ct}-list-item-actions`,{picture:Ht==="picture"})},Wa,Ra),Da=Ne()(`${Ct}-list-item-name`),ka=Kt.url?[ne.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Da,title:Kt.name},ja,{href:Kt.url,onClick:oa=>sn(Kt,oa)}),Kt.name),Ea]:[ne.createElement("span",{key:"view",className:Da,onClick:oa=>sn(Kt,oa),title:Kt.name},Kt.name),Ea],ea={pointerEvents:"none",opacity:.5},ra=jn?ne.createElement("a",{href:Kt.url||Kt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Kt.url||Kt.thumbUrl?void 0:ea,onClick:oa=>sn(Kt,oa),title:jt.previewFile},typeof Ut=="function"?Ut(Kt):Ut||ne.createElement(ct.Z,null)):null,na=(Ht==="picture-card"||Ht==="picture-circle")&&Sa!=="uploading"&&ne.createElement("span",{className:`${Ct}-list-item-actions`},ra,Sa==="done"&&Wa,Ra),{getPrefixCls:za}=ne.useContext(Vt.E_),Ma=za(),Va=ne.createElement("div",{className:aa},qn,ka,na,On&&ne.createElement(ze.default,{motionName:`${Ma}-fade`,visible:Sa==="uploading",motionDeadline:2e3},oa=>{let{className:Un}=oa;const ma="percent"in Kt?ne.createElement(yt.Z,Object.assign({},lt,{type:"line",percent:Kt.percent,"aria-label":Kt["aria-label"],"aria-labelledby":Kt["aria-labelledby"]})):null;return ne.createElement("div",{className:Ne()(`${Ct}-list-item-progress`,Un)},ma)})),xa=Kt.response&&typeof Kt.response=="string"?Kt.response:((bn=Kt.error)===null||bn===void 0?void 0:bn.statusText)||((wn=Kt.error)===null||wn===void 0?void 0:wn.message)||jt.uploadError,Xa=Sa==="error"?ne.createElement(on.Z,{title:xa,getPopupContainer:oa=>oa.parentNode},Va):Va;return ne.createElement("div",{className:Ne()(`${Ct}-list-item-container`,Et),style:Qt,ref:vt},an?an(Xa,Kt,Gn,{download:In.bind(null,Kt),preview:sn.bind(null,Kt),remove:Hn.bind(null,Kt)}):Xa)});const vn=(Be,vt)=>{const{listType:Ct="text",previewFile:Et=Le,onPreview:Qt,onDownload:jt,onRemove:Ht,locale:Kt,iconRender:Gn,isImageUrl:lt=kt,prefixCls:Oe,items:bt=[],showPreviewIcon:an=!0,showRemoveIcon:Dn=!0,showDownloadIcon:jn=!1,removeIcon:Mt,previewIcon:Jt,downloadIcon:Ut,progress:It={size:[-1,2],showInfo:!1},appendAction:En,appendActionVisible:sn=!0,itemRender:In,disabled:Hn}=Be,bn=(0,Re.Z)(),[wn,va]=ne.useState(!1);ne.useEffect(()=>{Ct!=="picture"&&Ct!=="picture-card"&&Ct!=="picture-circle"||(bt||[]).forEach(ea=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ea.originFileObj instanceof File||ea.originFileObj instanceof Blob)||ea.thumbUrl!==void 0||(ea.thumbUrl="",Et&&Et(ea.originFileObj).then(ra=>{ea.thumbUrl=ra||"",bn()}))})},[Ct,bt,Et]),ne.useEffect(()=>{va(!0)},[]);const Sa=(ea,ra)=>{if(Qt)return ra==null||ra.preventDefault(),Qt(ea)},Na=ea=>{typeof jt=="function"?jt(ea):ea.url&&window.open(ea.url)},On=ea=>{Ht==null||Ht(ea)},ya=ea=>{if(Gn)return Gn(ea,Ct);const ra=ea.status==="uploading",na=lt&<(ea)?ne.createElement(ge,null):ne.createElement(tn,null);let za=ra?ne.createElement(gt.Z,null):ne.createElement(nn,null);return Ct==="picture"?za=ra?ne.createElement(gt.Z,null):na:(Ct==="picture-card"||Ct==="picture-circle")&&(za=ra?Kt.uploading:na),za},Pa=(ea,ra,na,za)=>{const Ma={type:"text",size:"small",title:za,onClick:Va=>{ra(),(0,he.l$)(ea)&&ea.props.onClick&&ea.props.onClick(Va)},className:`${na}-list-item-action`,disabled:Hn};if((0,he.l$)(ea)){const Va=(0,he.Tm)(ea,Object.assign(Object.assign({},ea.props),{onClick:()=>{}}));return ne.createElement(nt.ZP,Object.assign({},Ma,{icon:Va}))}return ne.createElement(nt.ZP,Object.assign({},Ma),ne.createElement("span",null,ea))};ne.useImperativeHandle(vt,()=>({handlePreview:Sa,handleDownload:Na}));const{getPrefixCls:qn}=ne.useContext(Vt.E_),aa=qn("upload",Oe),ja=qn(),Ra=Ne()(`${aa}-list`,`${aa}-list-${Ct}`),Wa=(0,ve.Z)(bt.map(ea=>({key:ea.uid,file:ea})));let Da={motionDeadline:2e3,motionName:`${aa}-${Ct==="picture-card"||Ct==="picture-circle"?"animate-inline":"animate"}`,keys:Wa,motionAppear:wn};const ka=ne.useMemo(()=>{const ea=Object.assign({},(0,Ee.Z)(ja));return delete ea.onAppearEnd,delete ea.onEnterEnd,delete ea.onLeaveEnd,ea},[ja]);return Ct!=="picture-card"&&Ct!=="picture-circle"&&(Da=Object.assign(Object.assign({},ka),Da)),ne.createElement("div",{className:Ra},ne.createElement(ze.CSSMotionList,Object.assign({},Da,{component:!1}),ea=>{let{key:ra,file:na,className:za,style:Ma}=ea;return ne.createElement(dn,{key:ra,locale:Kt,prefixCls:aa,className:za,style:Ma,file:na,items:bt,progress:It,listType:Ct,isImgUrl:lt,showPreviewIcon:an,showRemoveIcon:Dn,showDownloadIcon:jn,removeIcon:Mt,previewIcon:Jt,downloadIcon:Ut,iconRender:ya,actionIconRender:Pa,itemRender:In,onPreview:Sa,onDownload:Na,onClose:On})}),En&&ne.createElement(ze.default,Object.assign({},Da,{visible:sn,forceRender:!0}),ea=>{let{className:ra,style:na}=ea;return(0,he.Tm)(En,za=>({className:Ne()(za.className,ra),style:Object.assign(Object.assign(Object.assign({},na),{pointerEvents:ra?"none":void 0}),za.style)}))}))};var fn=ne.forwardRef(vn),Zn=oe(17313),$n=oe(8378),ta=oe(83116),Mn=oe(37613),Qn=Be=>{const{componentCls:vt,iconCls:Ct}=Be;return{[`${vt}-wrapper`]:{[`${vt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Be.colorFillAlter,border:`${Be.lineWidth}px dashed ${Be.colorBorder}`,borderRadius:Be.borderRadiusLG,cursor:"pointer",transition:`border-color ${Be.motionDurationSlow}`,[vt]:{padding:`${Be.padding}px 0`},[`${vt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${vt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${vt}-disabled):hover`]:{borderColor:Be.colorPrimaryHover},[`p${vt}-drag-icon`]:{marginBottom:Be.margin,[Ct]:{color:Be.colorPrimary,fontSize:Be.uploadThumbnailSize}},[`p${vt}-text`]:{margin:`0 0 ${Be.marginXXS}px`,color:Be.colorTextHeading,fontSize:Be.fontSizeLG},[`p${vt}-hint`]:{color:Be.colorTextDescription,fontSize:Be.fontSize},[`&${vt}-disabled`]:{cursor:"not-allowed",[`p${vt}-drag-icon ${Ct}, + p${vt}-text, + p${vt}-hint + `]:{color:Be.colorTextDisabled}}}}}},ca=Be=>{const{componentCls:vt,antCls:Ct,iconCls:Et,fontSize:Qt,lineHeight:jt}=Be,Ht=`${vt}-list-item`,Kt=`${Ht}-actions`,Gn=`${Ht}-action`,lt=Math.round(Qt*jt);return{[`${vt}-wrapper`]:{[`${vt}-list`]:Object.assign(Object.assign({},(0,Zn.dF)()),{lineHeight:Be.lineHeight,[Ht]:{position:"relative",height:Be.lineHeight*Qt,marginTop:Be.marginXS,fontSize:Qt,display:"flex",alignItems:"center",transition:`background-color ${Be.motionDurationSlow}`,"&:hover":{backgroundColor:Be.controlItemBgHover},[`${Ht}-name`]:Object.assign(Object.assign({},Zn.vS),{padding:`0 ${Be.paddingXS}px`,lineHeight:jt,flex:"auto",transition:`all ${Be.motionDurationSlow}`}),[Kt]:{[Gn]:{opacity:0},[`${Gn}${Ct}-btn-sm`]:{height:lt,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + ${Gn}:focus-visible, + &.picture ${Gn} + `]:{opacity:1},[Et]:{color:Be.actionsColor,transition:`all ${Be.motionDurationSlow}`},[`&:hover ${Et}`]:{color:Be.colorText}},[`${vt}-icon ${Et}`]:{color:Be.colorTextDescription,fontSize:Qt},[`${Ht}-progress`]:{position:"absolute",bottom:-Be.uploadProgressOffset,width:"100%",paddingInlineStart:Qt+Be.paddingXS,fontSize:Qt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Ht}:hover ${Gn}`]:{opacity:1,color:Be.colorText},[`${Ht}-error`]:{color:Be.colorError,[`${Ht}-name, ${vt}-icon ${Et}`]:{color:Be.colorError},[Kt]:{[`${Et}, ${Et}:hover`]:{color:Be.colorError},[Gn]:{opacity:1}}},[`${vt}-list-item-container`]:{transition:`opacity ${Be.motionDurationSlow}, height ${Be.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Ca=oe(93083),ln=oe(1950);const gn=new Ca.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),An=new Ca.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Fn=Be=>{const{componentCls:vt}=Be,Ct=`${vt}-animate-inline`;return[{[`${vt}-wrapper`]:{[`${Ct}-appear, ${Ct}-enter, ${Ct}-leave`]:{animationDuration:Be.motionDurationSlow,animationTimingFunction:Be.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Ct}-appear, ${Ct}-enter`]:{animationName:gn},[`${Ct}-leave`]:{animationName:An}}},{[`${vt}-wrapper`]:(0,ln.J$)(Be)},gn,An]},Kn=oe(93398),Rn=oe(64993);const at=Be=>{const{componentCls:vt,iconCls:Ct,uploadThumbnailSize:Et,uploadProgressOffset:Qt}=Be,jt=`${vt}-list`,Ht=`${jt}-item`;return{[`${vt}-wrapper`]:{[` + ${jt}${jt}-picture, + ${jt}${jt}-picture-card, + ${jt}${jt}-picture-circle + `]:{[Ht]:{position:"relative",height:Et+Be.lineWidth*2+Be.paddingXS*2,padding:Be.paddingXS,border:`${Be.lineWidth}px ${Be.lineType} ${Be.colorBorder}`,borderRadius:Be.borderRadiusLG,"&:hover":{background:"transparent"},[`${Ht}-thumbnail`]:Object.assign(Object.assign({},Zn.vS),{width:Et,height:Et,lineHeight:`${Et+Be.paddingSM}px`,textAlign:"center",flex:"none",[Ct]:{fontSize:Be.fontSizeHeading2,color:Be.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Ht}-progress`]:{bottom:Qt,width:`calc(100% - ${Be.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Et+Be.paddingXS}},[`${Ht}-error`]:{borderColor:Be.colorError,[`${Ht}-thumbnail ${Ct}`]:{[`svg path[fill='${Kn.blue[0]}']`]:{fill:Be.colorErrorBg},[`svg path[fill='${Kn.blue.primary}']`]:{fill:Be.colorError}}},[`${Ht}-uploading`]:{borderStyle:"dashed",[`${Ht}-name`]:{marginBottom:Qt}}},[`${jt}${jt}-picture-circle ${Ht}`]:{[`&, &::before, ${Ht}-thumbnail`]:{borderRadius:"50%"}}}}},mt=Be=>{const{componentCls:vt,iconCls:Ct,fontSizeLG:Et,colorTextLightSolid:Qt}=Be,jt=`${vt}-list`,Ht=`${jt}-item`,Kt=Be.uploadPicCardSize;return{[` + ${vt}-wrapper${vt}-picture-card-wrapper, + ${vt}-wrapper${vt}-picture-circle-wrapper + `]:Object.assign(Object.assign({},(0,Zn.dF)()),{display:"inline-block",width:"100%",[`${vt}${vt}-select`]:{width:Kt,height:Kt,marginInlineEnd:Be.marginXS,marginBottom:Be.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Be.colorFillAlter,border:`${Be.lineWidth}px dashed ${Be.colorBorder}`,borderRadius:Be.borderRadiusLG,cursor:"pointer",transition:`border-color ${Be.motionDurationSlow}`,[`> ${vt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${vt}-disabled):hover`]:{borderColor:Be.colorPrimary}},[`${jt}${jt}-picture-card, ${jt}${jt}-picture-circle`]:{[`${jt}-item-container`]:{display:"inline-block",width:Kt,height:Kt,marginBlock:`0 ${Be.marginXS}px`,marginInline:`0 ${Be.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Ht]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Be.paddingXS*2}px)`,height:`calc(100% - ${Be.paddingXS*2}px)`,backgroundColor:Be.colorBgMask,opacity:0,transition:`all ${Be.motionDurationSlow}`,content:'" "'}},[`${Ht}:hover`]:{[`&::before, ${Ht}-actions`]:{opacity:1}},[`${Ht}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Be.motionDurationSlow}`,[`${Ct}-eye, ${Ct}-download, ${Ct}-delete`]:{zIndex:10,width:Et,margin:`0 ${Be.marginXXS}px`,fontSize:Et,cursor:"pointer",transition:`all ${Be.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Ht}-actions, ${Ht}-actions:hover`]:{[`${Ct}-eye, ${Ct}-download, ${Ct}-delete`]:{color:new Rn.C(Qt).setAlpha(.65).toRgbString(),"&:hover":{color:Qt}}},[`${Ht}-thumbnail, ${Ht}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Ht}-name`]:{display:"none",textAlign:"center"},[`${Ht}-file + ${Ht}-name`]:{position:"absolute",bottom:Be.margin,display:"block",width:`calc(100% - ${Be.paddingXS*2}px)`},[`${Ht}-uploading`]:{[`&${Ht}`]:{backgroundColor:Be.colorFillAlter},[`&::before, ${Ct}-eye, ${Ct}-download, ${Ct}-delete`]:{display:"none"}},[`${Ht}-progress`]:{bottom:Be.marginXL,width:`calc(100% - ${Be.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${vt}-wrapper${vt}-picture-circle-wrapper`]:{[`${vt}${vt}-select`]:{borderRadius:"50%"}}}};var Xt=Be=>{const{componentCls:vt}=Be;return{[`${vt}-rtl`]:{direction:"rtl"}}};const un=Be=>{const{componentCls:vt,colorTextDisabled:Ct}=Be;return{[`${vt}-wrapper`]:Object.assign(Object.assign({},(0,Zn.Wf)(Be)),{[vt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${vt}-select`]:{display:"inline-block"},[`${vt}-disabled`]:{color:Ct,cursor:"not-allowed"}})}};var rn=(0,ta.Z)("Upload",Be=>{const{fontSizeHeading3:vt,fontSize:Ct,lineHeight:Et,lineWidth:Qt,controlHeightLG:jt}=Be,Ht=Math.round(Ct*Et),Kt=(0,Mn.TS)(Be,{uploadThumbnailSize:vt*2,uploadProgressOffset:Ht/2+Qt,uploadPicCardSize:jt*2.55});return[un(Kt),Qn(Kt),at(Kt),mt(Kt),ca(Kt),Fn(Kt),Xt(Kt),(0,$n.Z)(Kt)]},Be=>({actionsColor:Be.colorTextDescription})),Xn=function(Be,vt,Ct,Et){function Qt(jt){return jt instanceof Ct?jt:new Ct(function(Ht){Ht(jt)})}return new(Ct||(Ct=Promise))(function(jt,Ht){function Kt(Oe){try{lt(Et.next(Oe))}catch(bt){Ht(bt)}}function Gn(Oe){try{lt(Et.throw(Oe))}catch(bt){Ht(bt)}}function lt(Oe){Oe.done?jt(Oe.value):Qt(Oe.value).then(Kt,Gn)}lt((Et=Et.apply(Be,vt||[])).next())})};const kn=`__LIST_IGNORE_${Date.now()}__`,pn=(Be,vt)=>{const{fileList:Ct,defaultFileList:Et,onRemove:Qt,showUploadList:jt=!0,listType:Ht="text",onPreview:Kt,onDownload:Gn,onChange:lt,onDrop:Oe,previewFile:bt,disabled:an,locale:Dn,iconRender:jn,isImageUrl:Mt,progress:Jt,prefixCls:Ut,className:It,type:En="select",children:sn,style:In,itemRender:Hn,maxCount:bn,data:wn={},multiple:va=!1,action:Sa="",accept:Na="",supportServerRender:On=!0,rootClassName:ya}=Be,Pa=ne.useContext(Rt.Z),qn=an!=null?an:Pa,[aa,ja]=(0,ft.Z)(Et||[],{value:Ct,postState:fa=>fa!=null?fa:[]}),[Ra,Wa]=ne.useState("drop"),Ea=ne.useRef(null);ne.useMemo(()=>{const fa=Date.now();(Ct||[]).forEach((la,Za)=>{!la.uid&&!Object.isFrozen(la)&&(la.uid=`__AUTO__${fa}_${Za}__`)})},[Ct]);const Da=(fa,la,Za)=>{let Ta=(0,ve.Z)(la),pa=!1;bn===1?Ta=Ta.slice(-1):bn&&(pa=Ta.length>bn,Ta=Ta.slice(0,bn)),(0,Dt.flushSync)(()=>{ja(Ta)});const ga={file:fa,fileList:Ta};Za&&(ga.event=Za),(!pa||Ta.some(Ya=>Ya.uid===fa.uid))&&(0,Dt.flushSync)(()=>{lt==null||lt(ga)})},ka=(fa,la)=>Xn(void 0,void 0,void 0,function*(){const{beforeUpload:Za,transformFile:Ta}=Be;let pa=fa;if(Za){const ga=yield Za(fa,la);if(ga===!1)return!1;if(delete fa[kn],ga===kn)return Object.defineProperty(fa,kn,{value:!0,configurable:!0}),!1;typeof ga=="object"&&ga&&(pa=ga)}return Ta&&(pa=yield Ta(pa)),pa}),ea=fa=>{const la=fa.filter(pa=>!pa.file[kn]);if(!la.length)return;const Za=la.map(pa=>Me(pa.file));let Ta=(0,ve.Z)(aa);Za.forEach(pa=>{Ta=xe(pa,Ta)}),Za.forEach((pa,ga)=>{let Ya=pa;if(la[ga].parsedFile)pa.status="uploading";else{const{originFileObj:_a}=pa;let Ja;try{Ja=new File([_a],_a.name,{type:_a.type})}catch(ir){Ja=new Blob([_a],{type:_a.type}),Ja.name=_a.name,Ja.lastModifiedDate=new Date,Ja.lastModified=new Date().getTime()}Ja.uid=pa.uid,Ya=Ja}Da(Ya,Ta)})},ra=(fa,la,Za)=>{try{typeof fa=="string"&&(fa=JSON.parse(fa))}catch(ga){}if(!Ge(la,aa))return;const Ta=Me(la);Ta.status="done",Ta.percent=100,Ta.response=fa,Ta.xhr=Za;const pa=xe(Ta,aa);Da(Ta,pa)},na=(fa,la)=>{if(!Ge(la,aa))return;const Za=Me(la);Za.status="uploading",Za.percent=fa.percent;const Ta=xe(Za,aa);Da(Za,Ta,fa)},za=(fa,la,Za)=>{if(!Ge(Za,aa))return;const Ta=Me(Za);Ta.error=fa,Ta.response=la,Ta.status="error";const pa=xe(Ta,aa);Da(Ta,pa)},Ma=fa=>{let la;Promise.resolve(typeof Qt=="function"?Qt(fa):Qt).then(Za=>{var Ta;if(Za===!1)return;const pa=wt(fa,aa);pa&&(la=Object.assign(Object.assign({},fa),{status:"removed"}),aa==null||aa.forEach(ga=>{const Ya=la.uid!==void 0?"uid":"name";ga[Ya]===la[Ya]&&!Object.isFrozen(ga)&&(ga.status="removed")}),(Ta=Ea.current)===null||Ta===void 0||Ta.abort(la),Da(la,pa))})},Va=fa=>{Wa(fa.type),fa.type==="drop"&&(Oe==null||Oe(fa))};ne.useImperativeHandle(vt,()=>({onBatchStart:ea,onSuccess:ra,onProgress:na,onError:za,fileList:aa,upload:Ea.current}));const{getPrefixCls:xa,direction:Xa,upload:oa}=ne.useContext(Vt.E_),Un=xa("upload",Ut),ma=Object.assign(Object.assign({onBatchStart:ea,onError:za,onProgress:na,onSuccess:ra},Be),{data:wn,multiple:va,action:Sa,accept:Na,supportServerRender:On,prefixCls:Un,disabled:qn,beforeUpload:ka,onChange:void 0});delete ma.className,delete ma.style,(!sn||qn)&&delete ma.id;const[Zt,ia]=rn(Un),[ha]=(0,St.Z)("Upload",ke.Z.Upload),{showRemoveIcon:Pn,showPreviewIcon:cn,showDownloadIcon:Bn,removeIcon:xn,previewIcon:ba,downloadIcon:$t}=typeof jt=="boolean"?{}:jt,La=(fa,la)=>jt?ne.createElement(fn,{prefixCls:Un,listType:Ht,items:aa,previewFile:bt,onPreview:Kt,onDownload:Gn,onRemove:Ma,showRemoveIcon:!qn&&Pn,showPreviewIcon:cn,showDownloadIcon:Bn,removeIcon:xn,previewIcon:ba,downloadIcon:$t,iconRender:jn,locale:Object.assign(Object.assign({},ha),Dn),isImageUrl:Mt,progress:Jt,appendAction:fa,appendActionVisible:la,itemRender:Hn,disabled:qn}):fa,Aa=Ne()(`${Un}-wrapper`,It,ya,ia,oa==null?void 0:oa.className,{[`${Un}-rtl`]:Xa==="rtl",[`${Un}-picture-card-wrapper`]:Ht==="picture-card",[`${Un}-picture-circle-wrapper`]:Ht==="picture-circle"}),wa=Object.assign(Object.assign({},oa==null?void 0:oa.style),In);if(En==="drag"){const fa=Ne()(ia,Un,`${Un}-drag`,{[`${Un}-drag-uploading`]:aa.some(la=>la.status==="uploading"),[`${Un}-drag-hover`]:Ra==="dragover",[`${Un}-disabled`]:qn,[`${Un}-rtl`]:Xa==="rtl"});return Zt(ne.createElement("span",{className:Aa},ne.createElement("div",{className:fa,style:wa,onDrop:Va,onDragOver:Va,onDragLeave:Va},ne.createElement(Ve,Object.assign({},ma,{ref:Ea,className:`${Un}-btn`}),ne.createElement("div",{className:`${Un}-drag-container`},sn))),La()))}const Ia=Ne()(Un,`${Un}-select`,{[`${Un}-disabled`]:qn}),Ua=(fa=>ne.createElement("div",{className:Ia,style:fa},ne.createElement(Ve,Object.assign({},ma,{ref:Ea}))))(sn?void 0:{display:"none"});return Zt(Ht==="picture-card"||Ht==="picture-circle"?ne.createElement("span",{className:Aa},La(Ua,!!sn)):ne.createElement("span",{className:Aa},Ua,La()))};var _t=ne.forwardRef(pn),be=function(Be,vt){var Ct={};for(var Et in Be)Object.prototype.hasOwnProperty.call(Be,Et)&&vt.indexOf(Et)<0&&(Ct[Et]=Be[Et]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,Et=Object.getOwnPropertySymbols(Be);Qt{var{style:Ct,height:Et}=Be,Qt=be(Be,["style","height"]);return ne.createElement(_t,Object.assign({ref:vt},Qt,{type:"drag",style:Object.assign(Object.assign({},Ct),{height:Et})}))});const hn=_t;hn.Dragger=yn,hn.LIST_IGNORE=kn;var Cn=hn},39417:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return fe}});var ne=oe(92413),ve=oe(400),Je=oe(37061),Ne=oe(33708),Ie=oe(6909),Te=oe(4771),ye=oe(25314),Ye=oe(9427),_e=oe(25440),st=oe(92310),pt=oe.n(st),$e=oe(26112),Xe=oe(59301),le=oe(39378),y=function(Pe){for(var je=Pe.prefixCls,Se=Pe.level,Qe=Pe.isStart,Bt=Pe.isEnd,Ot="".concat(je,"-indent-unit"),Ve=[],ft=0;ft0&&arguments[0]!==void 0?arguments[0]:[],Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],we=Ke.length,ge=Ue.length;if(Math.abs(we-ge)!==1)return{add:!1,key:null};function ze(Re,Ee){var he=new Map;Re.forEach(function(Me){he.set(Me,!0)});var nt=Ee.filter(function(Me){return!he.has(Me)});return nt.length===1?nt[0]:null}return we ").concat(Ue);return Ue}var Ft=a.forwardRef(function(Ke,Ue){var we=Ke.prefixCls,ge=Ke.data,ze=Ke.selectable,Re=Ke.checkable,Ee=Ke.expandedKeys,he=Ke.selectedKeys,nt=Ke.checkedKeys,Me=Ke.loadedKeys,xe=Ke.loadingKeys,Ge=Ke.halfCheckedKeys,wt=Ke.keyEntities,ht=Ke.disabled,Gt=Ke.dragging,kt=Ke.dragOverNodeKey,Nt=Ke.dropPosition,Le=Ke.motion,ot=Ke.height,At=Ke.itemHeight,ct=Ke.virtual,yt=Ke.focusable,on=Ke.activeItem,mn=Ke.focused,dn=Ke.tabIndex,vn=Ke.onKeyDown,Wn=Ke.onFocus,fn=Ke.onBlur,Zn=Ke.onActiveChange,$n=Ke.onListChangeStart,ta=Ke.onListChangeEnd,Mn=(0,ae.Z)(Ke,ft),ua=a.useRef(null),Qn=a.useRef(null);a.useImperativeHandle(Ue,function(){return{scrollTo:function(Cn){ua.current.scrollTo(Cn)},getIndentWidth:function(){return Qn.current.offsetWidth}}});var Yn=a.useState(Ee),ca=(0,te.Z)(Yn,2),Ca=ca[0],ln=ca[1],gn=a.useState(ge),An=(0,te.Z)(gn,2),Sn=An[0],Fn=An[1],Kn=a.useState(ge),Rn=(0,te.Z)(Kn,2),at=Rn[0],mt=Rn[1],dt=a.useState([]),Xt=(0,te.Z)(dt,2),un=Xt[0],rn=Xt[1],Xn=a.useState(null),kn=(0,te.Z)(Xn,2),pn=kn[0],Vn=kn[1],_t=a.useRef(ge);_t.current=ge;function be(){var hn=_t.current;Fn(hn),mt(hn),rn([]),Vn(null),ta()}(0,ie.Z)(function(){ln(Ee);var hn=Ot(Ca,Ee);if(hn.key!==null)if(hn.add){var Cn=Sn.findIndex(function(jt){var Ht=jt.key;return Ht===hn.key}),Be=Lt(Ve(Sn,ge,hn.key),ct,ot,At),vt=Sn.slice();vt.splice(Cn+1,0,rt),mt(vt),rn(Be),Vn("show")}else{var Ct=ge.findIndex(function(jt){var Ht=jt.key;return Ht===hn.key}),Et=Lt(Ve(ge,Sn,hn.key),ct,ot,At),Qt=ge.slice();Qt.splice(Ct+1,0,rt),mt(Qt),rn(Et),Vn("hide")}else Sn!==ge&&(Fn(ge),mt(ge))},[Ee,ge]),a.useEffect(function(){Gt||be()},[Gt]);var qt=Le?at:ge,yn={expandedKeys:Ee,selectedKeys:he,loadedKeys:Me,loadingKeys:xe,checkedKeys:nt,halfCheckedKeys:Ge,dragOverNodeKey:kt,dropPosition:Nt,keyEntities:wt};return a.createElement(a.Fragment,null,mn&&on&&a.createElement("span",{style:Dt,"aria-live":"assertive"},tt(on)),a.createElement("div",null,a.createElement("input",{style:Dt,disabled:yt===!1||ht,tabIndex:yt!==!1?dn:null,onKeyDown:vn,onFocus:Wn,onBlur:fn,value:"",onChange:Vt,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(we,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(we,"-indent")},a.createElement("div",{ref:Qn,className:"".concat(we,"-indent-unit")}))),a.createElement(ue.Z,(0,ne.Z)({},Mn,{data:qt,itemKey:De,height:ot,fullHeight:!1,virtual:ct,itemHeight:At,prefixCls:"".concat(we,"-list"),ref:ua,onVisibleChange:function(Cn,Be){var vt=new Set(Cn),Ct=Be.filter(function(Et){return!vt.has(Et)});Ct.some(function(Et){return De(Et)===Rt})&&be()}}),function(hn){var Cn=hn.pos,Be=(0,ne.Z)({},(x(hn.data),hn.data)),vt=hn.title,Ct=hn.key,Et=hn.isStart,Qt=hn.isEnd,jt=(0,Pe.km)(Ct,Cn);delete Be.key,delete Be.children;var Ht=(0,Pe.H8)(jt,yn);return a.createElement(Bt,(0,ne.Z)({},Be,Ht,{title:vt,active:!!on&&Ct===on.key,pos:Cn,data:hn.data,isStart:Et,isEnd:Qt,motion:Le,motionNodes:Ct===Rt?un:null,motionType:pn,onMotionStart:$n,onMotionEnd:be,treeNodeRequiredProps:yn,onMouseMove:function(){Zn(null)}}))}))});Ft.displayName="NodeList";var tn=Ft,gt=oe(35654),Yt=oe(90782),Fe=oe(67841),it=10,Pt=function(Ke){(0,_e.Z)(we,Ke);var Ue=(0,st.Z)(we);function we(){var ge;(0,Te.Z)(this,we);for(var ze=arguments.length,Re=new Array(ze),Ee=0;Ee2&&arguments[2]!==void 0?arguments[2]:!1,Ge=ge.state,wt=Ge.dragChildrenKeys,ht=Ge.dropPosition,Gt=Ge.dropTargetKey,kt=Ge.dropTargetPos,Nt=Ge.dropAllowed;if(Nt){var Le=ge.props.onDrop;if(ge.setState({dragOverNodeKey:null}),ge.cleanDragState(),Gt!==null){var ot=(0,Ne.Z)((0,Ne.Z)({},(0,Pe.H8)(Gt,ge.getTreeNodeRequiredProps())),{},{active:((Me=ge.getActiveItem())===null||Me===void 0?void 0:Me.key)===Gt,data:(0,Fe.Z)(ge.state.keyEntities,Gt).node}),At=wt.indexOf(Gt)!==-1;(0,y.ZP)(!At,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ct=(0,gt.yx)(kt),yt={event:he,node:(0,Pe.F)(ot),dragNode:ge.dragNode?(0,Pe.F)(ge.dragNode.props):null,dragNodesKeys:[ge.dragNode.props.eventKey].concat(wt),dropToGap:ht!==0,dropPosition:ht+Number(ct[ct.length-1])};xe||Le==null||Le(yt),ge.dragNode=null}}},ge.cleanDragState=function(){var he=ge.state.draggingNodeKey;he!==null&&ge.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ge.dragStartMousePosition=null,ge.currentMouseOverDroppableNodeKey=null},ge.triggerExpandActionExpand=function(he,nt){var Me=ge.state,xe=Me.expandedKeys,Ge=Me.flattenNodes,wt=nt.expanded,ht=nt.key,Gt=nt.isLeaf;if(!(Gt||he.shiftKey||he.metaKey||he.ctrlKey)){var kt=Ge.filter(function(Le){return Le.key===ht})[0],Nt=(0,Pe.F)((0,Ne.Z)((0,Ne.Z)({},(0,Pe.H8)(ht,ge.getTreeNodeRequiredProps())),{},{data:kt.data}));ge.setExpandedKeys(wt?(0,gt._5)(xe,ht):(0,gt.L0)(xe,ht)),ge.onNodeExpand(he,Nt)}},ge.onNodeClick=function(he,nt){var Me=ge.props,xe=Me.onClick,Ge=Me.expandAction;Ge==="click"&&ge.triggerExpandActionExpand(he,nt),xe==null||xe(he,nt)},ge.onNodeDoubleClick=function(he,nt){var Me=ge.props,xe=Me.onDoubleClick,Ge=Me.expandAction;Ge==="doubleClick"&&ge.triggerExpandActionExpand(he,nt),xe==null||xe(he,nt)},ge.onNodeSelect=function(he,nt){var Me=ge.state.selectedKeys,xe=ge.state,Ge=xe.keyEntities,wt=xe.fieldNames,ht=ge.props,Gt=ht.onSelect,kt=ht.multiple,Nt=nt.selected,Le=nt[wt.key],ot=!Nt;ot?kt?Me=(0,gt.L0)(Me,Le):Me=[Le]:Me=(0,gt._5)(Me,Le);var At=Me.map(function(ct){var yt=(0,Fe.Z)(Ge,ct);return yt?yt.node:null}).filter(function(ct){return ct});ge.setUncontrolledState({selectedKeys:Me}),Gt==null||Gt(Me,{event:"select",selected:ot,node:nt,selectedNodes:At,nativeEvent:he.nativeEvent})},ge.onNodeCheck=function(he,nt,Me){var xe=ge.state,Ge=xe.keyEntities,wt=xe.checkedKeys,ht=xe.halfCheckedKeys,Gt=ge.props,kt=Gt.checkStrictly,Nt=Gt.onCheck,Le=nt.key,ot,At={event:"check",node:nt,checked:Me,nativeEvent:he.nativeEvent};if(kt){var ct=Me?(0,gt.L0)(wt,Le):(0,gt._5)(wt,Le),yt=(0,gt._5)(ht,Le);ot={checked:ct,halfChecked:yt},At.checkedNodes=ct.map(function(fn){return(0,Fe.Z)(Ge,fn)}).filter(function(fn){return fn}).map(function(fn){return fn.node}),ge.setUncontrolledState({checkedKeys:ct})}else{var on=(0,Yt.S)([].concat((0,Ie.Z)(wt),[Le]),!0,Ge),mn=on.checkedKeys,dn=on.halfCheckedKeys;if(!Me){var vn=new Set(mn);vn.delete(Le);var Wn=(0,Yt.S)(Array.from(vn),{checked:!1,halfCheckedKeys:dn},Ge);mn=Wn.checkedKeys,dn=Wn.halfCheckedKeys}ot=mn,At.checkedNodes=[],At.checkedNodesPositions=[],At.halfCheckedKeys=dn,mn.forEach(function(fn){var Zn=(0,Fe.Z)(Ge,fn);if(Zn){var $n=Zn.node,ta=Zn.pos;At.checkedNodes.push($n),At.checkedNodesPositions.push({node:$n,pos:ta})}}),ge.setUncontrolledState({checkedKeys:mn},!1,{halfCheckedKeys:dn})}Nt==null||Nt(ot,At)},ge.onNodeLoad=function(he){var nt=he.key,Me=new Promise(function(xe,Ge){ge.setState(function(wt){var ht=wt.loadedKeys,Gt=ht===void 0?[]:ht,kt=wt.loadingKeys,Nt=kt===void 0?[]:kt,Le=ge.props,ot=Le.loadData,At=Le.onLoad;if(!ot||Gt.indexOf(nt)!==-1||Nt.indexOf(nt)!==-1)return null;var ct=ot(he);return ct.then(function(){var yt=ge.state.loadedKeys,on=(0,gt.L0)(yt,nt);At==null||At(on,{event:"load",node:he}),ge.setUncontrolledState({loadedKeys:on}),ge.setState(function(mn){return{loadingKeys:(0,gt._5)(mn.loadingKeys,nt)}}),xe()}).catch(function(yt){if(ge.setState(function(mn){return{loadingKeys:(0,gt._5)(mn.loadingKeys,nt)}}),ge.loadingRetryTimes[nt]=(ge.loadingRetryTimes[nt]||0)+1,ge.loadingRetryTimes[nt]>=it){var on=ge.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ge.setUncontrolledState({loadedKeys:(0,gt.L0)(on,nt)}),xe()}Ge(yt)}),{loadingKeys:(0,gt.L0)(Nt,nt)}})});return Me.catch(function(){}),Me},ge.onNodeMouseEnter=function(he,nt){var Me=ge.props.onMouseEnter;Me==null||Me({event:he,node:nt})},ge.onNodeMouseLeave=function(he,nt){var Me=ge.props.onMouseLeave;Me==null||Me({event:he,node:nt})},ge.onNodeContextMenu=function(he,nt){var Me=ge.props.onRightClick;Me&&(he.preventDefault(),Me({event:he,node:nt}))},ge.onFocus=function(){var he=ge.props.onFocus;ge.setState({focused:!0});for(var nt=arguments.length,Me=new Array(nt),xe=0;xe1&&arguments[1]!==void 0?arguments[1]:!1,Me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ge.destroyed){var xe=!1,Ge=!0,wt={};Object.keys(he).forEach(function(ht){if(ht in ge.props){Ge=!1;return}xe=!0,wt[ht]=he[ht]}),xe&&(!nt||Ge)&&ge.setState((0,Ne.Z)((0,Ne.Z)({},wt),Me))}},ge.scrollTo=function(he){ge.listRef.current.scrollTo(he)},ge}return(0,ye.Z)(we,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var ze=this.props.activeKey;ze!==void 0&&ze!==this.state.activeKey&&(this.setState({activeKey:ze}),ze!==null&&this.scrollTo({key:ze}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var ze,Re=this.state,Ee=Re.focused,he=Re.flattenNodes,nt=Re.keyEntities,Me=Re.draggingNodeKey,xe=Re.activeKey,Ge=Re.dropLevelOffset,wt=Re.dropContainerKey,ht=Re.dropTargetKey,Gt=Re.dropPosition,kt=Re.dragOverNodeKey,Nt=Re.indent,Le=this.props,ot=Le.prefixCls,At=Le.className,ct=Le.style,yt=Le.showLine,on=Le.focusable,mn=Le.tabIndex,dn=mn===void 0?0:mn,vn=Le.selectable,Wn=Le.showIcon,fn=Le.icon,Zn=Le.switcherIcon,$n=Le.draggable,ta=Le.checkable,Mn=Le.checkStrictly,ua=Le.disabled,Qn=Le.motion,Yn=Le.loadData,ca=Le.filterTreeNode,Ca=Le.height,ln=Le.itemHeight,gn=Le.virtual,An=Le.titleRender,Sn=Le.dropIndicatorRender,Fn=Le.onContextMenu,Kn=Le.onScroll,Rn=Le.direction,at=Le.rootClassName,mt=Le.rootStyle,dt=(0,le.Z)(this.props,{aria:!0,data:!0}),Xt;return $n&&((0,Je.Z)($n)==="object"?Xt=$n:typeof $n=="function"?Xt={nodeDraggable:$n}:Xt={}),a.createElement(E.k.Provider,{value:{prefixCls:ot,selectable:vn,showIcon:Wn,icon:fn,switcherIcon:Zn,draggable:Xt,draggingNodeKey:Me,checkable:ta,checkStrictly:Mn,disabled:ua,keyEntities:nt,dropLevelOffset:Ge,dropContainerKey:wt,dropTargetKey:ht,dropPosition:Gt,dragOverNodeKey:kt,indent:Nt,direction:Rn,dropIndicatorRender:Sn,loadData:Yn,filterTreeNode:ca,titleRender:An,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{role:"tree",className:$e()(ot,At,at,(ze={},(0,ve.Z)(ze,"".concat(ot,"-show-line"),yt),(0,ve.Z)(ze,"".concat(ot,"-focused"),Ee),(0,ve.Z)(ze,"".concat(ot,"-active-focused"),xe!==null),ze)),style:mt},a.createElement(tn,(0,ne.Z)({ref:this.listRef,prefixCls:ot,style:ct,data:he,disabled:ua,selectable:vn,checkable:!!ta,motion:Qn,dragging:Me!==null,height:Ca,itemHeight:ln,virtual:gn,focusable:on,focused:Ee,tabIndex:dn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Fn,onScroll:Kn},this.getTreeNodeRequiredProps(),dt))))}}],[{key:"getDerivedStateFromProps",value:function(ze,Re){var Ee=Re.prevProps,he={prevProps:ze};function nt(on){return!Ee&&on in ze||Ee&&Ee[on]!==ze[on]}var Me,xe=Re.fieldNames;if(nt("fieldNames")&&(xe=(0,Pe.w$)(ze.fieldNames),he.fieldNames=xe),nt("treeData")?Me=ze.treeData:nt("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Me=(0,Pe.zn)(ze.children)),Me){he.treeData=Me;var Ge=(0,Pe.I8)(Me,{fieldNames:xe});he.keyEntities=(0,Ne.Z)((0,ve.Z)({},Rt,ke),Ge.keyEntities)}var wt=he.keyEntities||Re.keyEntities;if(nt("expandedKeys")||Ee&&nt("autoExpandParent"))he.expandedKeys=ze.autoExpandParent||!Ee&&ze.defaultExpandParent?(0,gt.r7)(ze.expandedKeys,wt):ze.expandedKeys;else if(!Ee&&ze.defaultExpandAll){var ht=(0,Ne.Z)({},wt);delete ht[Rt],he.expandedKeys=Object.keys(ht).map(function(on){return ht[on].key})}else!Ee&&ze.defaultExpandedKeys&&(he.expandedKeys=ze.autoExpandParent||ze.defaultExpandParent?(0,gt.r7)(ze.defaultExpandedKeys,wt):ze.defaultExpandedKeys);if(he.expandedKeys||delete he.expandedKeys,Me||he.expandedKeys){var Gt=(0,Pe.oH)(Me||Re.treeData,he.expandedKeys||Re.expandedKeys,xe);he.flattenNodes=Gt}if(ze.selectable&&(nt("selectedKeys")?he.selectedKeys=(0,gt.BT)(ze.selectedKeys,ze):!Ee&&ze.defaultSelectedKeys&&(he.selectedKeys=(0,gt.BT)(ze.defaultSelectedKeys,ze))),ze.checkable){var kt;if(nt("checkedKeys")?kt=(0,gt.E6)(ze.checkedKeys)||{}:!Ee&&ze.defaultCheckedKeys?kt=(0,gt.E6)(ze.defaultCheckedKeys)||{}:Me&&(kt=(0,gt.E6)(ze.checkedKeys)||{checkedKeys:Re.checkedKeys,halfCheckedKeys:Re.halfCheckedKeys}),kt){var Nt=kt,Le=Nt.checkedKeys,ot=Le===void 0?[]:Le,At=Nt.halfCheckedKeys,ct=At===void 0?[]:At;if(!ze.checkStrictly){var yt=(0,Yt.S)(ot,!0,wt);ot=yt.checkedKeys,ct=yt.halfCheckedKeys}he.checkedKeys=ot,he.halfCheckedKeys=ct}}return nt("loadedKeys")&&(he.loadedKeys=ze.loadedKeys),he}}]),we}(a.Component);Pt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:b,allowDrop:function(){return!0},expandAction:!1},Pt.TreeNode=fe.Z;var nn=Pt,zt=nn},35654:function(xt,Tt,oe){"use strict";oe.d(Tt,{BT:function(){return a},E6:function(){return x},L0:function(){return st},OM:function(){return y},_5:function(){return _e},r7:function(){return te},wA:function(){return $e},yx:function(){return pt}});var ne=oe(26407),ve=oe(39559),Je=oe(48736),Ne=oe(59301),Ie=oe(39417),Te=oe(67841),ye=oe(71430),Ye=null;function _e(ae,ie){if(!ae)return[];var ue=ae.slice(),de=ue.indexOf(ie);return de>=0&&ue.splice(de,1),ue}function st(ae,ie){var ue=(ae||[]).slice();return ue.indexOf(ie)===-1&&ue.push(ie),ue}function pt(ae){return ae.split("-")}function $e(ae,ie){var ue=[],de=(0,Te.Z)(ie,ae);function fe(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ce.forEach(function(Pe){var je=Pe.key,Se=Pe.children;ue.push(je),fe(Se)})}return fe(de.children),ue}function Xe(ae){if(ae.parent){var ie=pt(ae.pos);return Number(ie[ie.length-1])===ae.parent.children.length-1}return!1}function le(ae){var ie=pt(ae.pos);return Number(ie[ie.length-1])===0}function y(ae,ie,ue,de,fe,Ce,Pe,je,Se,Qe){var Bt,Ot=ae.clientX,Ve=ae.clientY,ft=ae.target.getBoundingClientRect(),Dt=ft.top,Vt=ft.height,Rt=(Qe==="rtl"?-1:1)*(((fe==null?void 0:fe.x)||0)-Ot),St=(Rt-12)/de,ke=(0,Te.Z)(je,ue.props.eventKey);if(Ve-1.5?Ce({dragNode:it,dropNode:Pt,dropPosition:1})?gt=1:nn=!1:Ce({dragNode:it,dropNode:Pt,dropPosition:0})?gt=0:Ce({dragNode:it,dropNode:Pt,dropPosition:1})?gt=1:nn=!1:Ce({dragNode:it,dropNode:Pt,dropPosition:1})?gt=1:nn=!1,{dropPosition:gt,dropLevelOffset:Yt,dropTargetKey:ke.key,dropTargetPos:ke.pos,dragOverNodeKey:tn,dropContainerKey:gt===0?null:((Bt=ke.parent)===null||Bt===void 0?void 0:Bt.key)||null,dropAllowed:nn}}function a(ae,ie){if(ae){var ue=ie.multiple;return ue?ae.slice():ae.length?[ae[0]]:ae}}var E=function(ie){return ie};function b(ae,ie){if(!ae)return[];var ue=ie||{},de=ue.processProps,fe=de===void 0?E:de,Ce=Array.isArray(ae)?ae:[ae];return Ce.map(function(Pe){var je=Pe.children,Se=_objectWithoutProperties(Pe,Ye),Qe=b(je,ie);return React.createElement(TreeNode,_extends({key:Se.key},fe(Se)),Qe)})}function x(ae){if(!ae)return null;var ie;if(Array.isArray(ae))ie={checkedKeys:ae,halfCheckedKeys:void 0};else if((0,ve.Z)(ae)==="object")ie={checkedKeys:ae.checked||void 0,halfCheckedKeys:ae.halfChecked||void 0};else return(0,Je.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ie}function te(ae,ie){var ue=new Set;function de(fe){if(!ue.has(fe)){var Ce=(0,Te.Z)(ie,fe);if(Ce){ue.add(fe);var Pe=Ce.parent,je=Ce.node;je.disabled||Pe&&de(Pe.key)}}}return(ae||[]).forEach(function(fe){de(fe)}),(0,ne.Z)(ue)}},90782:function(xt,Tt,oe){"use strict";oe.d(Tt,{S:function(){return ye}});var ne=oe(48736),ve=oe(67841);function Je(Ye,_e){var st=new Set;return Ye.forEach(function(pt){_e.has(pt)||st.add(pt)}),st}function Ne(Ye){var _e=Ye||{},st=_e.disabled,pt=_e.disableCheckbox,$e=_e.checkable;return!!(st||pt)||$e===!1}function Ie(Ye,_e,st,pt){for(var $e=new Set(Ye),Xe=new Set,le=0;le<=st;le+=1){var y=_e.get(le)||new Set;y.forEach(function(x){var te=x.key,ae=x.node,ie=x.children,ue=ie===void 0?[]:ie;$e.has(te)&&!pt(ae)&&ue.filter(function(de){return!pt(de.node)}).forEach(function(de){$e.add(de.key)})})}for(var a=new Set,E=st;E>=0;E-=1){var b=_e.get(E)||new Set;b.forEach(function(x){var te=x.parent,ae=x.node;if(!(pt(ae)||!x.parent||a.has(x.parent.key))){if(pt(x.parent.node)){a.add(te.key);return}var ie=!0,ue=!1;(te.children||[]).filter(function(de){return!pt(de.node)}).forEach(function(de){var fe=de.key,Ce=$e.has(fe);ie&&!Ce&&(ie=!1),!ue&&(Ce||Xe.has(fe))&&(ue=!0)}),ie&&$e.add(te.key),ue&&Xe.add(te.key),a.add(te.key)}})}return{checkedKeys:Array.from($e),halfCheckedKeys:Array.from(Je(Xe,$e))}}function Te(Ye,_e,st,pt,$e){for(var Xe=new Set(Ye),le=new Set(_e),y=0;y<=pt;y+=1){var a=st.get(y)||new Set;a.forEach(function(te){var ae=te.key,ie=te.node,ue=te.children,de=ue===void 0?[]:ue;!Xe.has(ae)&&!le.has(ae)&&!$e(ie)&&de.filter(function(fe){return!$e(fe.node)}).forEach(function(fe){Xe.delete(fe.key)})})}le=new Set;for(var E=new Set,b=pt;b>=0;b-=1){var x=st.get(b)||new Set;x.forEach(function(te){var ae=te.parent,ie=te.node;if(!($e(ie)||!te.parent||E.has(te.parent.key))){if($e(te.parent.node)){E.add(ae.key);return}var ue=!0,de=!1;(ae.children||[]).filter(function(fe){return!$e(fe.node)}).forEach(function(fe){var Ce=fe.key,Pe=Xe.has(Ce);ue&&!Pe&&(ue=!1),!de&&(Pe||le.has(Ce))&&(de=!0)}),ue||Xe.delete(ae.key),de&&le.add(ae.key),E.add(ae.key)}})}return{checkedKeys:Array.from(Xe),halfCheckedKeys:Array.from(Je(le,Xe))}}function ye(Ye,_e,st,pt){var $e=[],Xe;pt?Xe=pt:Xe=Ne;var le=new Set(Ye.filter(function(b){var x=!!(0,ve.Z)(st,b);return x||$e.push(b),x})),y=new Map,a=0;Object.keys(st).forEach(function(b){var x=st[b],te=x.level,ae=y.get(te);ae||(ae=new Set,y.set(te,ae)),ae.add(x),a=Math.max(a,te)}),(0,ne.ZP)(!$e.length,"Tree missing follow keys: ".concat($e.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var E;return _e===!0?E=Ie(le,y,a,Xe):E=Te(le,_e.halfCheckedKeys,y,a,Xe),E}},67841:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return ne}});function ne(ve,Je){return ve[Je]}},71430:function(xt,Tt,oe){"use strict";oe.d(Tt,{F:function(){return te},H8:function(){return x},I8:function(){return b},km:function(){return $e},oH:function(){return a},w$:function(){return Xe},zn:function(){return y}});var ne=oe(39559),ve=oe(26407),Je=oe(33708),Ne=oe(37061),Ie=oe(11592),Te=oe(2738),ye=oe(48736),Ye=oe(67841),_e=["children"];function st(ae,ie){return"".concat(ae,"-").concat(ie)}function pt(ae){return ae&&ae.type&&ae.type.isTreeNode}function $e(ae,ie){return ae!=null?ae:ie}function Xe(ae){var ie=ae||{},ue=ie.title,de=ie._title,fe=ie.key,Ce=ie.children,Pe=ue||"title";return{title:Pe,_title:de||[Pe],key:fe||"key",children:Ce||"children"}}function le(ae,ie){var ue=new Map;function de(fe){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(fe||[]).forEach(function(Pe){var je=Pe[ie.key],Se=Pe[ie.children];warning(je!=null,"Tree node must have a certain key: [".concat(Ce).concat(je,"]"));var Qe=String(je);warning(!ue.has(Qe)||je===null||je===void 0,"Same 'key' exist in the Tree: ".concat(Qe)),ue.set(Qe,!0),de(Se,"".concat(Ce).concat(Qe," > "))})}de(ae)}function y(ae){function ie(ue){var de=(0,Ie.Z)(ue);return de.map(function(fe){if(!pt(fe))return(0,ye.ZP)(!fe,"Tree/TreeNode can only accept TreeNode as children."),null;var Ce=fe.key,Pe=fe.props,je=Pe.children,Se=(0,Ne.Z)(Pe,_e),Qe=(0,Je.Z)({key:Ce},Se),Bt=ie(je);return Bt.length&&(Qe.children=Bt),Qe}).filter(function(fe){return fe})}return ie(ae)}function a(ae,ie,ue){var de=Xe(ue),fe=de._title,Ce=de.key,Pe=de.children,je=new Set(ie===!0?[]:ie),Se=[];function Qe(Bt){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Bt.map(function(Ve,ft){for(var Dt=st(Ot?Ot.pos:"0",ft),Vt=$e(Ve[Ce],Dt),Rt,St=0;St1&&arguments[1]!==void 0?arguments[1]:{},ue=ie.initWrapper,de=ie.processEntity,fe=ie.onProcessFinished,Ce=ie.externalGetKey,Pe=ie.childrenPropName,je=ie.fieldNames,Se=arguments.length>2?arguments[2]:void 0,Qe=Ce||Se,Bt={},Ot={},Ve={posEntities:Bt,keyEntities:Ot};return ue&&(Ve=ue(Ve)||Ve),E(ae,function(ft){var Dt=ft.node,Vt=ft.index,Rt=ft.pos,St=ft.key,ke=ft.parentPos,rt=ft.level,Lt=ft.nodes,De={node:Dt,nodes:Lt,index:Vt,key:St,pos:Rt,level:rt},tt=$e(St,Rt);Bt[Rt]=De,Ot[tt]=De,De.parent=Bt[ke],De.parent&&(De.parent.children=De.parent.children||[],De.parent.children.push(De)),de&&de(De,Ve)},{externalGetKey:Qe,childrenPropName:Pe,fieldNames:je}),fe&&fe(Ve),Ve}function x(ae,ie){var ue=ie.expandedKeys,de=ie.selectedKeys,fe=ie.loadedKeys,Ce=ie.loadingKeys,Pe=ie.checkedKeys,je=ie.halfCheckedKeys,Se=ie.dragOverNodeKey,Qe=ie.dropPosition,Bt=ie.keyEntities,Ot=(0,Ye.Z)(Bt,ae),Ve={eventKey:ae,expanded:ue.indexOf(ae)!==-1,selected:de.indexOf(ae)!==-1,loaded:fe.indexOf(ae)!==-1,loading:Ce.indexOf(ae)!==-1,checked:Pe.indexOf(ae)!==-1,halfChecked:je.indexOf(ae)!==-1,pos:String(Ot?Ot.pos:""),dragOver:Se===ae&&Qe===0,dragOverGapTop:Se===ae&&Qe===-1,dragOverGapBottom:Se===ae&&Qe===1};return Ve}function te(ae){var ie=ae.data,ue=ae.expanded,de=ae.selected,fe=ae.checked,Ce=ae.loaded,Pe=ae.loading,je=ae.halfChecked,Se=ae.dragOver,Qe=ae.dragOverGapTop,Bt=ae.dragOverGapBottom,Ot=ae.pos,Ve=ae.active,ft=ae.eventKey,Dt=(0,Je.Z)((0,Je.Z)({},ie),{},{expanded:ue,selected:de,checked:fe,loaded:Ce,loading:Pe,halfChecked:je,dragOver:Se,dragOverGapTop:Qe,dragOverGapBottom:Bt,pos:Ot,active:Ve,key:ft});return"props"in Dt||Object.defineProperty(Dt,"props",{get:function(){return(0,ye.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ae}}),Dt}},8224:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return ve}});var ne=oe(4676);function ve(Je,Ne,Ie,Te){var ye=ne.unstable_batchedUpdates?function(_e){ne.unstable_batchedUpdates(Ie,_e)}:Ie;return Je!=null&&Je.addEventListener&&Je.addEventListener(Ne,ye,Te),{remove:function(){Je!=null&&Je.removeEventListener&&Je.removeEventListener(Ne,ye,Te)}}}},55468:function(xt,Tt,oe){"use strict";oe.d(Tt,{g1:function(){return pt},os:function(){return Xe}});var ne=/margin|padding|width|height|max|min|offset/,ve={left:!0,top:!0},Je={cssFloat:1,styleFloat:1,float:1};function Ne(le){return le.nodeType===1?le.ownerDocument.defaultView.getComputedStyle(le,null):{}}function Ie(le,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return le.offsetHeight;if(y==="width")return le.offsetWidth}return y in ve||(ve[y]=ne.test(y)),ve[y]?parseFloat(a)||0:a}function Te(le,y){var a=arguments.length,E=Ne(le);return y=Je[y]?"cssFloat"in le.style?"cssFloat":"styleFloat":y,a===1?E:Ie(le,y,E[y]||le.style[y])}function ye(le,y,a){var E=arguments.length;if(y=Je[y]?"cssFloat"in le.style?"cssFloat":"styleFloat":y,E===3)return typeof a=="number"&&ne.test(y)&&(a="".concat(a,"px")),le.style[y]=a,a;for(var b in y)y.hasOwnProperty(b)&&ye(le,b,y[b]);return Ne(le)}function Ye(le){return le===document.body?document.documentElement.clientWidth:le.offsetWidth}function _e(le){return le===document.body?window.innerHeight||document.documentElement.clientHeight:le.offsetHeight}function st(){var le=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:le,height:y}}function pt(){var le=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:le,height:y}}function $e(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Xe(le){var y=le.getBoundingClientRect(),a=document.documentElement;return{left:y.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:y.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},78113:function(xt,Tt,oe){"use strict";oe.d(Tt,{Z5:function(){return Jd},_l:function(){return zu},bK:function(){return al}});var ne=oe(59301),ve=oe(2505);function Je(z,ee){z.prototype=Object.create(ee.prototype),z.prototype.constructor=z,(0,ve.Z)(z,ee)}var Ne=oe(92413),Ie=oe(59781),Te=ne.createContext(null),ye=null;function Ye(z){z()}var _e=Ye,st=function(ee){return _e=ee},pt=function(){return _e};function $e(){var z=pt(),ee=null,re=null;return{clear:function(){ee=null,re=null},notify:function(){z(function(){for(var ce=ee;ce;)ce.callback(),ce=ce.next})},get:function(){for(var ce=[],me=ee;me;)ce.push(me),me=me.next;return ce},subscribe:function(ce){var me=!0,pe=re={callback:ce,next:null,prev:re};return pe.prev?pe.prev.next=pe:ee=pe,function(){!me||ee===null||(me=!1,pe.next?pe.next.prev=pe.prev:re=pe.prev,pe.prev?pe.prev.next=pe.next:ee=pe.next)}}}}var Xe={notify:function(){},get:function(){return[]}};function le(z,ee){var re,se=Xe;function ce(We){return He(),se.subscribe(We)}function me(){se.notify()}function pe(){qe.onStateChange&&qe.onStateChange()}function Ae(){return!!re}function He(){re||(re=ee?ee.addNestedSub(pe):z.subscribe(pe),se=$e())}function et(){re&&(re(),re=void 0,se.clear(),se=Xe)}var qe={addNestedSub:ce,notifyNestedSubs:me,handleChangeWrapper:pe,isSubscribed:Ae,trySubscribe:He,tryUnsubscribe:et,getListeners:function(){return se}};return qe}var y=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?ne.useLayoutEffect:ne.useEffect;function a(z){var ee=z.store,re=z.context,se=z.children,ce=(0,ne.useMemo)(function(){var Ae=le(ee);return{store:ee,subscription:Ae}},[ee]),me=(0,ne.useMemo)(function(){return ee.getState()},[ee]);y(function(){var Ae=ce.subscription;return Ae.onStateChange=Ae.notifyNestedSubs,Ae.trySubscribe(),me!==ee.getState()&&Ae.notifyNestedSubs(),function(){Ae.tryUnsubscribe(),Ae.onStateChange=null}},[ce,me]);var pe=re||Te;return ne.createElement(pe.Provider,{value:ce},se)}var E=a,b=oe(96529),x=oe(94266),te=oe.n(x),ae=oe(53410),ie=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ue=["reactReduxForwardedRef"],de=[],fe=[null,null],Ce=function(ee){try{return JSON.stringify(ee)}catch(re){return String(ee)}};function Pe(z,ee){var re=z[1];return[ee.payload,re+1]}function je(z,ee,re){y(function(){return z.apply(void 0,ee)},re)}function Se(z,ee,re,se,ce,me,pe){z.current=se,ee.current=ce,re.current=!1,me.current&&(me.current=null,pe())}function Qe(z,ee,re,se,ce,me,pe,Ae,He,et){if(z){var qe=!1,We=null,Ze=function(){if(!qe){var Ln=ee.getState(),Tn,zn;try{Tn=se(Ln,ce.current)}catch(Jn){zn=Jn,We=Jn}zn||(We=null),Tn===me.current?pe.current||He():(me.current=Tn,Ae.current=Tn,pe.current=!0,et({type:"STORE_UPDATED",payload:{error:zn}}))}};re.onStateChange=Ze,re.trySubscribe(),Ze();var ut=function(){if(qe=!0,re.tryUnsubscribe(),re.onStateChange=null,We)throw We};return ut}}var Bt=function(){return[null,0]};function Ot(z,ee){ee===void 0&&(ee={});var re=ee,se=re.getDisplayName,ce=se===void 0?function(Ba){return"ConnectAdvanced("+Ba+")"}:se,me=re.methodName,pe=me===void 0?"connectAdvanced":me,Ae=re.renderCountProp,He=Ae===void 0?void 0:Ae,et=re.shouldHandleStateChanges,qe=et===void 0?!0:et,We=re.storeKey,Ze=We===void 0?"store":We,ut=re.withRef,Wt=ut===void 0?!1:ut,Ln=re.forwardRef,Tn=Ln===void 0?!1:Ln,zn=re.context,Jn=zn===void 0?Te:zn,_n=(0,b.Z)(re,ie);if(0)var da;var Oa=Jn;return function(Ha){var qa=Ha.displayName||Ha.name||"Component",Ka=ce(qa),$a=(0,Ne.Z)({},_n,{getDisplayName:ce,methodName:pe,renderCountProp:He,shouldHandleStateChanges:qe,storeKey:Ze,displayName:Ka,wrappedComponentName:qa,WrappedComponent:Ha}),tr=_n.pure;function rr(or){return z(or.dispatch,$a)}var hr=tr?ne.useMemo:function(or){return or()};function mr(or){var Br=(0,ne.useMemo)(function(){var _r=or.reactReduxForwardedRef,ei=(0,b.Z)(or,ue);return[or.context,_r,ei]},[or]),Pr=Br[0],qr=Br[1],Or=Br[2],Lr=(0,ne.useMemo)(function(){return Pr&&Pr.Consumer&&(0,ae.isContextConsumer)(ne.createElement(Pr.Consumer,null))?Pr:Oa},[Pr,Oa]),yr=(0,ne.useContext)(Lr),Nr=!!or.store&&!!or.store.getState&&!!or.store.dispatch,uo=!!yr&&!!yr.store,br=Nr?or.store:yr.store,$r=(0,ne.useMemo)(function(){return rr(br)},[br]),co=(0,ne.useMemo)(function(){if(!qe)return fe;var _r=le(br,Nr?null:yr.subscription),ei=_r.notifyNestedSubs.bind(_r);return[_r,ei]},[br,Nr,yr]),zr=co[0],mo=co[1],fo=(0,ne.useMemo)(function(){return Nr?yr:(0,Ne.Z)({},yr,{subscription:zr})},[Nr,yr,zr]),rl=(0,ne.useReducer)(Pe,de,Bt),Ku=rl[0],vo=Ku[0],Uu=rl[1];if(vo&&vo.error)throw vo.error;var ol=(0,ne.useRef)(),qo=(0,ne.useRef)(Or),po=(0,ne.useRef)(),il=(0,ne.useRef)(!1),$o=hr(function(){return po.current&&Or===qo.current?po.current:$r(br.getState(),Or)},[br,vo,Or]);je(Se,[qo,ol,il,Or,$o,po,mo]),je(Qe,[qe,br,zr,$r,qo,ol,il,po,mo,Uu],[br,zr,$r]);var _o=(0,ne.useMemo)(function(){return ne.createElement(Ha,(0,Ne.Z)({},$o,{ref:qr}))},[qr,Ha,$o]),Vu=(0,ne.useMemo)(function(){return qe?ne.createElement(Lr.Provider,{value:fo},_o):_o},[Lr,_o,fo]);return Vu}var cr=tr?ne.memo(mr):mr;if(cr.WrappedComponent=Ha,cr.displayName=mr.displayName=Ka,Tn){var Sr=ne.forwardRef(function(Br,Pr){return ne.createElement(cr,(0,Ne.Z)({},Br,{reactReduxForwardedRef:Pr}))});return Sr.displayName=Ka,Sr.WrappedComponent=Ha,te()(Sr,Ha)}return te()(cr,Ha)}}function Ve(z,ee){return z===ee?z!==0||ee!==0||1/z===1/ee:z!==z&&ee!==ee}function ft(z,ee){if(Ve(z,ee))return!0;if(typeof z!="object"||z===null||typeof ee!="object"||ee===null)return!1;var re=Object.keys(z),se=Object.keys(ee);if(re.length!==se.length)return!1;for(var ce=0;ce=0;se--){var ce=ee[se](z);if(ce)return ce}return function(me,pe){throw new Error("Invalid value of type "+typeof z+" for "+re+" argument when connecting component "+pe.wrappedComponentName+".")}}function ze(z,ee){return z===ee}function Re(z){var ee=z===void 0?{}:z,re=ee.connectHOC,se=re===void 0?Ot:re,ce=ee.mapStateToPropsFactories,me=ce===void 0?tn:ce,pe=ee.mapDispatchToPropsFactories,Ae=pe===void 0?De:pe,He=ee.mergePropsFactories,et=He===void 0?Pt:He,qe=ee.selectorFactory,We=qe===void 0?Ue:qe;return function(ut,Wt,Ln,Tn){Tn===void 0&&(Tn={});var zn=Tn,Jn=zn.pure,_n=Jn===void 0?!0:Jn,da=zn.areStatesEqual,Oa=da===void 0?ze:da,Ba=zn.areOwnPropsEqual,Ha=Ba===void 0?ft:Ba,qa=zn.areStatePropsEqual,Ka=qa===void 0?ft:qa,$a=zn.areMergedPropsEqual,tr=$a===void 0?ft:$a,rr=(0,b.Z)(zn,we),hr=ge(ut,me,"mapStateToProps"),mr=ge(Wt,Ae,"mapDispatchToProps"),cr=ge(Ln,et,"mergeProps");return se(We,(0,Ne.Z)({methodName:"connect",getDisplayName:function(or){return"Connect("+or+")"},shouldHandleStateChanges:!!ut,initMapStateToProps:hr,initMapDispatchToProps:mr,initMergeProps:cr,pure:_n,areStatesEqual:Oa,areOwnPropsEqual:Ha,areStatePropsEqual:Ka,areMergedPropsEqual:tr},rr))}}var Ee=Re();function he(){var z=useContext(ReactReduxContext);return z}function nt(z){z===void 0&&(z=ReactReduxContext);var ee=z===ReactReduxContext?useDefaultReduxContext:function(){return useContext(z)};return function(){var se=ee(),ce=se.store;return ce}}var Me=null;function xe(z){z===void 0&&(z=ReactReduxContext);var ee=z===ReactReduxContext?useDefaultStore:createStoreHook(z);return function(){var se=ee();return se.dispatch}}var Ge=null,wt=function(ee,re){return ee===re};function ht(z,ee,re,se){var ce=useReducer(function(Wt){return Wt+1},0),me=ce[1],pe=useMemo(function(){return createSubscription(re,se)},[re,se]),Ae=useRef(),He=useRef(),et=useRef(),qe=useRef(),We=re.getState(),Ze;try{if(z!==He.current||We!==et.current||Ae.current){var ut=z(We);qe.current===void 0||!ee(ut,qe.current)?Ze=ut:Ze=qe.current}else Ze=qe.current}catch(Wt){throw Ae.current&&(Wt.message+=` +The error may be correlated with this previous error: +`+Ae.current.stack+` + +`),Wt}return useIsomorphicLayoutEffect(function(){He.current=z,et.current=We,qe.current=Ze,Ae.current=void 0}),useIsomorphicLayoutEffect(function(){function Wt(){try{var Ln=re.getState();if(Ln===et.current)return;var Tn=He.current(Ln);if(ee(Tn,qe.current))return;qe.current=Tn,et.current=Ln}catch(zn){Ae.current=zn}me()}return pe.onStateChange=Wt,pe.trySubscribe(),Wt(),function(){return pe.tryUnsubscribe()}},[re,pe]),Ze}function Gt(z){z===void 0&&(z=ReactReduxContext);var ee=z===ReactReduxContext?useDefaultReduxContext:function(){return useContext(z)};return function(se,ce){ce===void 0&&(ce=wt);var me=ee(),pe=me.store,Ae=me.subscription,He=ht(se,ce,pe,Ae);return useDebugValue(He),He}}var kt=null,Nt=oe(4676);st(Nt.unstable_batchedUpdates);function Le(z,ee){if(z.length!==ee.length)return!1;for(var re=0;re");return se.callbacks},se.setCallbacks=function(Ae){se.callbacks=Ae},se}var re=ee.prototype;return re.componentDidMount=function(){this.unbind=qt(window,[{eventName:"error",fn:this.onWindowError}])},re.componentWillUnmount=function(){this.unbind()},re.componentDidCatch=function(ce){if(ce instanceof Cn){this.setState({});return}throw ce},re.render=function(){return this.props.children(this.setCallbacks)},ee}(ne.Component),Ct=` + Press space bar to start a drag. + When dragging you can use the arrow keys to move the item around and escape to cancel. + Some screen readers may require you to be in focus mode or to use your pass through key +`,Et=function(ee){return ee+1},Qt=function(ee){return` + You have lifted an item in position `+Et(ee.source.index)+` +`},jt=function(ee,re){var se=ee.droppableId===re.droppableId,ce=Et(ee.index),me=Et(re.index);return se?` + You have moved the item from position `+ce+` + to position `+me+` + `:` + You have moved the item from position `+ce+` + in list `+ee.droppableId+` + to list `+re.droppableId+` + in position `+me+` + `},Ht=function(ee,re,se){var ce=re.droppableId===se.droppableId;return ce?` + The item `+ee+` + has been combined with `+se.draggableId:` + The item `+ee+` + in list `+re.droppableId+` + has been combined with `+se.draggableId+` + in list `+se.droppableId+` + `},Kt=function(ee){var re=ee.destination;if(re)return jt(ee.source,re);var se=ee.combine;return se?Ht(ee.draggableId,ee.source,se):"You are over an area that cannot be dropped on"},Gn=function(ee){return` + The item has returned to its starting position + of `+Et(ee.index)+` +`},lt=function(ee){if(ee.reason==="CANCEL")return` + Movement cancelled. + `+Gn(ee.source)+` + `;var re=ee.destination,se=ee.combine;return re?` + You have dropped the item. + `+jt(ee.source,re)+` + `:se?` + You have dropped the item. + `+Ht(ee.draggableId,ee.source,se)+` + `:` + The item has been dropped while not over a drop area. + `+Gn(ee.source)+` + `},Oe={dragHandleUsageInstructions:Ct,onDragStart:Qt,onDragUpdate:Kt,onDragEnd:lt},bt={x:0,y:0},an=function(ee,re){return{x:ee.x+re.x,y:ee.y+re.y}},Dn=function(ee,re){return{x:ee.x-re.x,y:ee.y-re.y}},jn=function(ee,re){return ee.x===re.x&&ee.y===re.y},Mt=function(ee){return{x:ee.x!==0?-ee.x:0,y:ee.y!==0?-ee.y:0}},Jt=function(ee,re,se){var ce;return se===void 0&&(se=0),ce={},ce[ee]=re,ce[ee==="x"?"y":"x"]=se,ce},Ut=function(ee,re){return Math.sqrt(Math.pow(re.x-ee.x,2)+Math.pow(re.y-ee.y,2))},It=function(ee,re){return Math.min.apply(Math,re.map(function(se){return Ut(ee,se)}))},En=function(ee){return function(re){return{x:ee(re.x),y:ee(re.y)}}},sn=function(z,ee){var re=vn({top:Math.max(ee.top,z.top),right:Math.min(ee.right,z.right),bottom:Math.min(ee.bottom,z.bottom),left:Math.max(ee.left,z.left)});return re.width<=0||re.height<=0?null:re},In=function(ee,re){return{top:ee.top+re.y,left:ee.left+re.x,bottom:ee.bottom+re.y,right:ee.right+re.x}},Hn=function(ee){return[{x:ee.left,y:ee.top},{x:ee.right,y:ee.top},{x:ee.left,y:ee.bottom},{x:ee.right,y:ee.bottom}]},bn={top:0,right:0,bottom:0,left:0},wn=function(ee,re){return re?In(ee,re.scroll.diff.displacement):ee},va=function(ee,re,se){if(se&&se.increasedBy){var ce;return(0,Ne.Z)({},ee,(ce={},ce[re.end]=ee[re.end]+se.increasedBy[re.line],ce))}return ee},Sa=function(ee,re){return re&&re.shouldClipSubject?sn(re.pageMarginBox,ee):vn(ee)},Na=function(z){var ee=z.page,re=z.withPlaceholder,se=z.axis,ce=z.frame,me=wn(ee.marginBox,ce),pe=va(me,se,re),Ae=Sa(pe,ce);return{page:ee,withPlaceholder:re,active:Ae}},On=function(z,ee){z.frame||Be(!1);var re=z.frame,se=Dn(ee,re.scroll.initial),ce=Mt(se),me=(0,Ne.Z)({},re,{scroll:{initial:re.scroll.initial,current:ee,diff:{value:se,displacement:ce},max:re.scroll.max}}),pe=Na({page:z.subject.page,withPlaceholder:z.subject.withPlaceholder,axis:z.axis,frame:me}),Ae=(0,Ne.Z)({},z,{frame:me,subject:pe});return Ae};function ya(z){return Number.isInteger?Number.isInteger(z):typeof z=="number"&&isFinite(z)&&Math.floor(z)===z}function Pa(z){return Object.values?Object.values(z):Object.keys(z).map(function(ee){return z[ee]})}function qn(z,ee){if(z.findIndex)return z.findIndex(ee);for(var re=0;rez.bottom,et=se.leftz.right,qe=He&&et;if(qe)return!0;var We=He&&pe||et&&me;return We}},ma=function(z){var ee=oa(z.top,z.bottom),re=oa(z.left,z.right);return function(se){var ce=ee(se.top)&&ee(se.bottom)&&re(se.left)&&re(se.right);return ce}},Zt={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ia={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ha=function(z){return function(ee){var re=oa(ee.top,ee.bottom),se=oa(ee.left,ee.right);return function(ce){return z===Zt?re(ce.top)&&re(ce.bottom):se(ce.left)&&se(ce.right)}}},Pn=function(ee,re){var se=re.frame?re.frame.scroll.diff.displacement:bt;return In(ee,se)},cn=function(ee,re,se){return re.subject.active?se(re.subject.active)(ee):!1},Bn=function(ee,re,se){return se(re)(ee)},xn=function(ee){var re=ee.target,se=ee.destination,ce=ee.viewport,me=ee.withDroppableDisplacement,pe=ee.isVisibleThroughFrameFn,Ae=me?Pn(re,se):re;return cn(Ae,se,pe)&&Bn(Ae,ce,pe)},ba=function(ee){return xn((0,Ne.Z)({},ee,{isVisibleThroughFrameFn:Un}))},$t=function(ee){return xn((0,Ne.Z)({},ee,{isVisibleThroughFrameFn:ma}))},La=function(ee){return xn((0,Ne.Z)({},ee,{isVisibleThroughFrameFn:ha(ee.destination.axis)}))},Aa=function(ee,re,se){if(typeof se=="boolean")return se;if(!re)return!0;var ce=re.invisible,me=re.visible;if(ce[ee])return!1;var pe=me[ee];return pe?pe.shouldAnimate:!0};function wa(z,ee){var re=z.page.marginBox,se={top:ee.point.y,right:0,bottom:0,left:ee.point.x};return vn(Wn(re,se))}function Ia(z){var ee=z.afterDragging,re=z.destination,se=z.displacedBy,ce=z.viewport,me=z.forceShouldAnimate,pe=z.last;return ee.reduce(function(He,et){var qe=wa(et,se),We=et.descriptor.id;He.all.push(We);var Ze=ba({target:qe,destination:re,viewport:ce,withDroppableDisplacement:!0});if(!Ze)return He.invisible[et.descriptor.id]=!0,He;var ut=Aa(We,pe,me),Wt={draggableId:We,shouldAnimate:ut};return He.visible[We]=Wt,He},{all:[],visible:{},invisible:{}})}function Fa(z,ee){if(!z.length)return 0;var re=z[z.length-1].descriptor.index;return ee.inHomeList?re:re+1}function Ua(z){var ee=z.insideDestination,re=z.inHomeList,se=z.displacedBy,ce=z.destination,me=Fa(ee,{inHomeList:re});return{displaced:xa,displacedBy:se,at:{type:"REORDER",destination:{droppableId:ce.descriptor.id,index:me}}}}function fa(z){var ee=z.draggable,re=z.insideDestination,se=z.destination,ce=z.viewport,me=z.displacedBy,pe=z.last,Ae=z.index,He=z.forceShouldAnimate,et=Ma(ee,se);if(Ae==null)return Ua({insideDestination:re,inHomeList:et,displacedBy:me,destination:se});var qe=aa(re,function(Ln){return Ln.descriptor.index===Ae});if(!qe)return Ua({insideDestination:re,inHomeList:et,displacedBy:me,destination:se});var We=na(ee,re),Ze=re.indexOf(qe),ut=We.slice(Ze),Wt=Ia({afterDragging:ut,destination:se,displacedBy:me,last:pe,viewport:ce.frame,forceShouldAnimate:He});return{displaced:Wt,displacedBy:me,at:{type:"REORDER",destination:{droppableId:se.descriptor.id,index:Ae}}}}function la(z,ee){return!!ee.effected[z]}var Za=function(z){var ee=z.isMovingForward,re=z.destination,se=z.draggables,ce=z.combine,me=z.afterCritical;if(!re.isCombineEnabled)return null;var pe=ce.draggableId,Ae=se[pe],He=Ae.descriptor.index,et=la(pe,me);return et?ee?He:He-1:ee?He+1:He},Ta=function(z){var ee=z.isMovingForward,re=z.isInHomeList,se=z.insideDestination,ce=z.location;if(!se.length)return null;var me=ce.index,pe=ee?me+1:me-1,Ae=se[0].descriptor.index,He=se[se.length-1].descriptor.index,et=re?He:He+1;return peet?null:pe},pa=function(z){var ee=z.isMovingForward,re=z.isInHomeList,se=z.draggable,ce=z.draggables,me=z.destination,pe=z.insideDestination,Ae=z.previousImpact,He=z.viewport,et=z.afterCritical,qe=Ae.at;if(qe||Be(!1),qe.type==="REORDER"){var We=Ta({isMovingForward:ee,isInHomeList:re,location:qe.destination,insideDestination:pe});return We==null?null:fa({draggable:se,insideDestination:pe,destination:me,viewport:He,last:Ae.displaced,displacedBy:Ae.displacedBy,index:We})}var Ze=Za({isMovingForward:ee,destination:me,displaced:Ae.displaced,draggables:ce,combine:qe.combine,afterCritical:et});return Ze==null?null:fa({draggable:se,insideDestination:pe,destination:me,viewport:He,last:Ae.displaced,displacedBy:Ae.displacedBy,index:Ze})},ga=function(z){var ee=z.displaced,re=z.afterCritical,se=z.combineWith,ce=z.displacedBy,me=!!(ee.visible[se]||ee.invisible[se]);return la(se,re)?me?bt:Mt(ce.point):me?ce.point:bt},Ya=function(z){var ee=z.afterCritical,re=z.impact,se=z.draggables,ce=ra(re);ce||Be(!1);var me=ce.draggableId,pe=se[me].page.borderBox.center,Ae=ga({displaced:re.displaced,afterCritical:ee,combineWith:me,displacedBy:re.displacedBy});return an(pe,Ae)},_a=function(ee,re){return re.margin[ee.start]+re.borderBox[ee.size]/2},Ja=function(ee,re){return re.margin[ee.end]+re.borderBox[ee.size]/2},ir=function(ee,re,se){return re[ee.crossAxisStart]+se.margin[ee.crossAxisStart]+se.borderBox[ee.crossAxisSize]/2},sr=function(ee){var re=ee.axis,se=ee.moveRelativeTo,ce=ee.isMoving;return Jt(re.line,se.marginBox[re.end]+_a(re,ce),ir(re,se.marginBox,ce))},nr=function(ee){var re=ee.axis,se=ee.moveRelativeTo,ce=ee.isMoving;return Jt(re.line,se.marginBox[re.start]-Ja(re,ce),ir(re,se.marginBox,ce))},ar=function(ee){var re=ee.axis,se=ee.moveInto,ce=ee.isMoving;return Jt(re.line,se.contentBox[re.start]+_a(re,ce),ir(re,se.contentBox,ce))},fr=function(z){var ee=z.impact,re=z.draggable,se=z.draggables,ce=z.droppable,me=z.afterCritical,pe=ka(ce.descriptor.id,se),Ae=re.page,He=ce.axis;if(!pe.length)return ar({axis:He,moveInto:ce.page,isMoving:Ae});var et=ee.displaced,qe=ee.displacedBy,We=et.all[0];if(We){var Ze=se[We];if(la(We,me))return nr({axis:He,moveRelativeTo:Ze.page,isMoving:Ae});var ut=Qn(Ze.page,qe.point);return nr({axis:He,moveRelativeTo:ut,isMoving:Ae})}var Wt=pe[pe.length-1];if(Wt.descriptor.id===re.descriptor.id)return Ae.borderBox.center;if(la(Wt.descriptor.id,me)){var Ln=Qn(Wt.page,Mt(me.displacedBy.point));return sr({axis:He,moveRelativeTo:Ln,isMoving:Ae})}return sr({axis:He,moveRelativeTo:Wt.page,isMoving:Ae})},vr=function(z,ee){var re=z.frame;return re?an(ee,re.scroll.diff.displacement):ee},Ar=function(ee){var re=ee.impact,se=ee.draggable,ce=ee.droppable,me=ee.draggables,pe=ee.afterCritical,Ae=se.page.borderBox.center,He=re.at;return!ce||!He?Ae:He.type==="REORDER"?fr({impact:re,draggable:se,draggables:me,droppable:ce,afterCritical:pe}):Ya({impact:re,draggables:me,afterCritical:pe})},Mr=function(z){var ee=Ar(z),re=z.droppable,se=re?vr(re,ee):ee;return se},eo=function(z,ee){var re=Dn(ee,z.scroll.initial),se=Mt(re),ce=vn({top:ee.y,bottom:ee.y+z.frame.height,left:ee.x,right:ee.x+z.frame.width}),me={frame:ce,scroll:{initial:z.scroll.initial,max:z.scroll.max,current:ee,diff:{value:re,displacement:se}}};return me};function to(z,ee){return z.map(function(re){return ee[re]})}function ho(z,ee){for(var re=0;re1?qe.sort(function(We,Ze){return Ga(We)[Ae.start]-Ga(Ze)[Ae.start]})[0]:et.sort(function(We,Ze){var ut=It(re,Hn(Ga(We))),Wt=It(re,Hn(Ga(Ze)));return ut!==Wt?ut-Wt:Ga(We)[Ae.start]-Ga(Ze)[Ae.start]})[0]},pr=function(ee,re){var se=ee.page.borderBox.center;return la(ee.descriptor.id,re)?Dn(se,re.displacedBy.point):se},Er=function(ee,re){var se=ee.page.borderBox;return la(ee.descriptor.id,re)?In(se,Mt(re.displacedBy.point)):se},Qa=function(z){var ee=z.pageBorderBoxCenter,re=z.viewport,se=z.destination,ce=z.insideDestination,me=z.afterCritical,pe=ce.filter(function(Ae){return $t({target:Er(Ae,me),destination:se,viewport:re.frame,withDroppableDisplacement:!0})}).sort(function(Ae,He){var et=Ut(ee,vr(se,pr(Ae,me))),qe=Ut(ee,vr(se,pr(He,me)));return etee.left&&z.topee.top}function ul(z){var ee=z.pageBorderBox,re=z.draggable,se=z.candidates,ce=re.page.borderBox.center,me=se.map(function(pe){var Ae=pe.axis,He=Jt(pe.axis.line,ee.center[Ae.line],pe.page.borderBox.center[Ae.crossAxisLine]);return{id:pe.descriptor.id,distance:Ut(ce,He)}}).sort(function(pe,Ae){return Ae.distance-pe.distance});return me[0]?me[0].id:null}function cl(z){var ee=z.pageBorderBox,re=z.draggable,se=z.droppables,ce=Ea(se).filter(function(me){if(!me.isEnabled)return!1;var pe=me.subject.active;if(!pe||!dl(ee,pe))return!1;if(ti(pe)(ee.center))return!0;var Ae=me.axis,He=pe.center[Ae.crossAxisLine],et=ee[Ae.crossAxisStart],qe=ee[Ae.crossAxisEnd],We=oa(pe[Ae.crossAxisStart],pe[Ae.crossAxisEnd]),Ze=We(et),ut=We(qe);return!Ze&&!ut?!0:Ze?etHe});return ce.length?ce.length===1?ce[0].descriptor.id:ul({pageBorderBox:ee,draggable:re,candidates:ce}):null}var ni=function(ee,re){return vn(In(ee,re))},gl=function(z,ee){var re=z.frame;return re?ni(ee,re.scroll.diff.value):ee};function ai(z){var ee=z.displaced,re=z.id;return!!(ee.visible[re]||ee.invisible[re])}function ml(z){var ee=z.draggable,re=z.closest,se=z.inHomeList;return re?se&&re.descriptor.index>ee.descriptor.index?re.descriptor.index-1:re.descriptor.index:null}var fl=function(z){var ee=z.pageBorderBoxWithDroppableScroll,re=z.draggable,se=z.destination,ce=z.insideDestination,me=z.last,pe=z.viewport,Ae=z.afterCritical,He=se.axis,et=lr(se.axis,re.displaceBy),qe=et.value,We=ee[He.start],Ze=ee[He.end],ut=na(re,ce),Wt=aa(ut,function(Tn){var zn=Tn.descriptor.id,Jn=Tn.page.borderBox.center[He.line],_n=la(zn,Ae),da=ai({displaced:me,id:zn});return _n?da?Ze<=Jn:Wezn[Ae.start]+_n&&Wezn[Ae.start]-et+_n&&qezn[Ae.start]+et+_n&&Wezn[Ae.start]+_n&&qe=vi)return fi;var me=ce/vi,pe=Do+Vl*me,Ae=se==="CANCEL"?pe*Yl:pe;return Number(Ae.toFixed(2))},Jl=function(z){var ee=z.impact,re=z.draggable,se=z.dimensions,ce=z.viewport,me=z.afterCritical,pe=se.draggables,Ae=se.droppables,He=dr(ee),et=He?Ae[He]:null,qe=Ae[re.descriptor.droppableId],We=ii({impact:ee,draggable:re,draggables:pe,afterCritical:me,droppable:et||qe,viewport:ce}),Ze=Dn(We,re.client.borderBox.center);return Ze},Ql=function(z){var ee=z.draggables,re=z.reason,se=z.lastImpact,ce=z.home,me=z.viewport,pe=z.onLiftImpact;if(!se.at||re!=="DROP"){var Ae=oi({draggables:ee,impact:pe,destination:ce,viewport:me,forceShouldAnimate:!0});return{impact:Ae,didDropInsideDroppable:!1}}if(se.at.type==="REORDER")return{impact:se,didDropInsideDroppable:!0};var He=(0,Ne.Z)({},se,{displaced:xa});return{impact:He,didDropInsideDroppable:!0}},ql=function(z){var ee=z.getState,re=z.dispatch;return function(se){return function(ce){if(ce.type!=="DROP"){se(ce);return}var me=ee(),pe=ce.payload.reason;if(me.phase==="COLLECTING"){re(Zl({reason:pe}));return}if(me.phase!=="IDLE"){var Ae=me.phase==="DROP_PENDING"&&me.isWaiting;Ae&&Be(!1),me.phase==="DRAGGING"||me.phase==="DROP_PENDING"||Be(!1);var He=me.critical,et=me.dimensions,qe=et.draggables[me.critical.draggable.id],We=Ql({reason:pe,lastImpact:me.impact,afterCritical:me.afterCritical,onLiftImpact:me.onLiftImpact,home:me.dimensions.droppables[me.critical.droppable.id],viewport:me.viewport,draggables:me.dimensions.draggables}),Ze=We.impact,ut=We.didDropInsideDroppable,Wt=ut?ea(Ze):null,Ln=ut?ra(Ze):null,Tn={index:He.draggable.index,droppableId:He.droppable.id},zn={draggableId:qe.descriptor.id,type:qe.descriptor.type,source:Tn,reason:pe,mode:me.movementMode,destination:Wt,combine:Ln},Jn=Jl({impact:Ze,draggable:qe,dimensions:et,viewport:me.viewport,afterCritical:me.afterCritical}),_n={critical:me.critical,afterCritical:me.afterCritical,result:zn,impact:Ze},da=!jn(me.current.client.offset,Jn)||!!zn.combine;if(!da){re(wo({completed:_n}));return}var Oa=Xl({current:me.current.client.offset,destination:Jn,reason:pe}),Ba={newHomeClientOffset:Jn,dropDuration:Oa,completed:_n};re(Wl(Ba))}}}},pi=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function $l(z){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(re){re.target!==window&&re.target!==window.document||z()}}}function _l(z){var ee=z.onWindowScroll;function re(){ee(pi())}var se=Rn(re),ce=$l(se),me=_t;function pe(){return me!==_t}function Ae(){pe()&&Be(!1),me=qt(window,[ce])}function He(){pe()||Be(!1),se.cancel(),me(),me=_t}return{start:Ae,stop:He,isActive:pe}}var es=function(ee){return ee.type==="DROP_COMPLETE"||ee.type==="DROP_ANIMATE"||ee.type==="FLUSH"},ts=function(z){var ee=_l({onWindowScroll:function(se){z.dispatch(Tl({newScroll:se}))}});return function(re){return function(se){!ee.isActive()&&se.type==="INITIAL_PUBLISH"&&ee.start(),ee.isActive()&&es(se)&&ee.stop(),re(se)}}},ns=function(z){var ee=!1,re=!1,se=setTimeout(function(){re=!0}),ce=function(pe){ee||re||(ee=!0,z(pe),clearTimeout(se))};return ce.wasCalled=function(){return ee},ce},as=function(){var z=[],ee=function(me){var pe=qn(z,function(et){return et.timerId===me});pe===-1&&Be(!1);var Ae=z.splice(pe,1),He=Ae[0];He.callback()},re=function(me){var pe=setTimeout(function(){return ee(pe)}),Ae={timerId:pe,callback:me};z.push(Ae)},se=function(){if(z.length){var me=[].concat(z);z.length=0,me.forEach(function(pe){clearTimeout(pe.timerId),pe.callback()})}};return{add:re,flush:se}},rs=function(ee,re){return ee==null&&re==null?!0:ee==null||re==null?!1:ee.droppableId===re.droppableId&&ee.index===re.index},os=function(ee,re){return ee==null&&re==null?!0:ee==null||re==null?!1:ee.draggableId===re.draggableId&&ee.droppableId===re.droppableId},is=function(ee,re){if(ee===re)return!0;var se=ee.draggable.id===re.draggable.id&&ee.draggable.droppableId===re.draggable.droppableId&&ee.draggable.type===re.draggable.type&&ee.draggable.index===re.draggable.index,ce=ee.droppable.id===re.droppable.id&&ee.droppable.type===re.droppable.type;return se&&ce},Ur=function(ee,re){Wr(),re(),Zr()},no=function(ee,re){return{draggableId:ee.draggable.id,type:ee.droppable.type,source:{droppableId:ee.droppable.id,index:ee.draggable.index},mode:re}},Io=function(ee,re,se,ce){if(!ee){se(ce(re));return}var me=ns(se),pe={announce:me};ee(re,pe),me.wasCalled()||se(ce(re))},ls=function(z,ee){var re=as(),se=null,ce=function(Ze,ut){se&&Be(!1),Ur("onBeforeCapture",function(){var Wt=z().onBeforeCapture;if(Wt){var Ln={draggableId:Ze,mode:ut};Wt(Ln)}})},me=function(Ze,ut){se&&Be(!1),Ur("onBeforeDragStart",function(){var Wt=z().onBeforeDragStart;Wt&&Wt(no(Ze,ut))})},pe=function(Ze,ut){se&&Be(!1);var Wt=no(Ze,ut);se={mode:ut,lastCritical:Ze,lastLocation:Wt.source,lastCombine:null},re.add(function(){Ur("onDragStart",function(){return Io(z().onDragStart,Wt,ee,Oe.onDragStart)})})},Ae=function(Ze,ut){var Wt=ea(ut),Ln=ra(ut);se||Be(!1);var Tn=!is(Ze,se.lastCritical);Tn&&(se.lastCritical=Ze);var zn=!rs(se.lastLocation,Wt);zn&&(se.lastLocation=Wt);var Jn=!os(se.lastCombine,Ln);if(Jn&&(se.lastCombine=Ln),!(!Tn&&!zn&&!Jn)){var _n=(0,Ne.Z)({},no(Ze,se.mode),{combine:Ln,destination:Wt});re.add(function(){Ur("onDragUpdate",function(){return Io(z().onDragUpdate,_n,ee,Oe.onDragUpdate)})})}},He=function(){se||Be(!1),re.flush()},et=function(Ze){se||Be(!1),se=null,Ur("onDragEnd",function(){return Io(z().onDragEnd,Ze,ee,Oe.onDragEnd)})},qe=function(){if(se){var Ze=(0,Ne.Z)({},no(se.lastCritical,se.mode),{combine:null,destination:null,reason:"CANCEL"});et(Ze)}};return{beforeCapture:ce,beforeStart:me,start:pe,update:Ae,flush:He,drop:et,abort:qe}},ss=function(z,ee){var re=ls(z,ee);return function(se){return function(ce){return function(me){if(me.type==="BEFORE_INITIAL_CAPTURE"){re.beforeCapture(me.payload.draggableId,me.payload.movementMode);return}if(me.type==="INITIAL_PUBLISH"){var pe=me.payload.critical;re.beforeStart(pe,me.payload.movementMode),ce(me),re.start(pe,me.payload.movementMode);return}if(me.type==="DROP_COMPLETE"){var Ae=me.payload.completed.result;re.flush(),ce(me),re.drop(Ae);return}if(ce(me),me.type==="FLUSH"){re.abort();return}var He=se.getState();He.phase==="DRAGGING"&&re.update(He.critical,He.impact)}}}},ds=function(z){return function(ee){return function(re){if(re.type!=="DROP_ANIMATION_FINISHED"){ee(re);return}var se=z.getState();se.phase!=="DROP_ANIMATING"&&Be(!1),z.dispatch(wo({completed:se.completed}))}}},us=function(z){var ee=null,re=null;function se(){re&&(cancelAnimationFrame(re),re=null),ee&&(ee(),ee=null)}return function(ce){return function(me){if((me.type==="FLUSH"||me.type==="DROP_COMPLETE"||me.type==="DROP_ANIMATION_FINISHED")&&se(),ce(me),me.type==="DROP_ANIMATE"){var pe={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var He=z.getState();He.phase==="DROP_ANIMATING"&&z.dispatch(gi())}};re=requestAnimationFrame(function(){re=null,ee=qt(window,[pe])})}}}},cs=function(z){return function(){return function(ee){return function(re){(re.type==="DROP_COMPLETE"||re.type==="FLUSH"||re.type==="DROP_ANIMATE")&&z.stopPublishing(),ee(re)}}}},gs=function(z){var ee=!1;return function(){return function(re){return function(se){if(se.type==="INITIAL_PUBLISH"){ee=!0,z.tryRecordFocus(se.payload.critical.draggable.id),re(se),z.tryRestoreFocusRecorded();return}if(re(se),!!ee){if(se.type==="FLUSH"){ee=!1,z.tryRestoreFocusRecorded();return}if(se.type==="DROP_COMPLETE"){ee=!1;var ce=se.payload.completed.result;ce.combine&&z.tryShiftRecord(ce.draggableId,ce.combine.draggableId),z.tryRestoreFocusRecorded()}}}}}},ms=function(ee){return ee.type==="DROP_COMPLETE"||ee.type==="DROP_ANIMATE"||ee.type==="FLUSH"},fs=function(z){return function(ee){return function(re){return function(se){if(ms(se)){z.stop(),re(se);return}if(se.type==="INITIAL_PUBLISH"){re(se);var ce=ee.getState();ce.phase!=="DRAGGING"&&Be(!1),z.start(ce);return}re(se),z.scroll(ee.getState())}}}},vs=function(z){return function(ee){return function(re){if(ee(re),re.type==="PUBLISH_WHILE_DRAGGING"){var se=z.getState();se.phase==="DROP_PENDING"&&(se.isWaiting||z.dispatch(ci({reason:se.reason})))}}}},ps=Ie.qC,hs=function(z){var ee=z.dimensionMarshal,re=z.focusMarshal,se=z.styleMarshal,ce=z.getResponders,me=z.announce,pe=z.autoScroller;return(0,Ie.MT)(wl,ps((0,Ie.md)(Ul(se),cs(ee),Kl(ee),ql,ds,us,vs,fs(pe),ts,gs(re),ss(ce,me))))},Oo=function(){return{additions:{},removals:{},modified:{}}};function Ss(z){var ee=z.registry,re=z.callbacks,se=Oo(),ce=null,me=function(){ce||(re.collectionStarting(),ce=requestAnimationFrame(function(){ce=null,Wr();var qe=se,We=qe.additions,Ze=qe.removals,ut=qe.modified,Wt=Object.keys(We).map(function(zn){return ee.draggable.getById(zn).getDimension(bt)}).sort(function(zn,Jn){return zn.descriptor.index-Jn.descriptor.index}),Ln=Object.keys(ut).map(function(zn){var Jn=ee.droppable.getById(zn),_n=Jn.callbacks.getScrollWhileDragging();return{droppableId:zn,scroll:_n}}),Tn={additions:Wt,removals:Object.keys(Ze),modified:Ln};se=Oo(),Zr(),re.publish(Tn)}))},pe=function(qe){var We=qe.descriptor.id;se.additions[We]=qe,se.modified[qe.descriptor.droppableId]=!0,se.removals[We]&&delete se.removals[We],me()},Ae=function(qe){var We=qe.descriptor;se.removals[We.id]=!0,se.modified[We.droppableId]=!0,se.additions[We.id]&&delete se.additions[We.id],me()},He=function(){ce&&(cancelAnimationFrame(ce),ce=null,se=Oo())};return{add:pe,remove:Ae,stop:He}}var hi=function(z){var ee=z.scrollHeight,re=z.scrollWidth,se=z.height,ce=z.width,me=Dn({x:re,y:ee},{x:ce,y:se}),pe={x:Math.max(0,me.x),y:Math.max(0,me.y)};return pe},Si=function(){var z=document.documentElement;return z||Be(!1),z},Pi=function(){var z=Si(),ee=hi({scrollHeight:z.scrollHeight,scrollWidth:z.scrollWidth,width:z.clientWidth,height:z.clientHeight});return ee},Ps=function(){var z=pi(),ee=Pi(),re=z.y,se=z.x,ce=Si(),me=ce.clientWidth,pe=ce.clientHeight,Ae=se+me,He=re+pe,et=vn({top:re,left:se,right:Ae,bottom:He}),qe={frame:et,scroll:{initial:z,current:z,max:ee,diff:{value:bt,displacement:bt}}};return qe},ys=function(z){var ee=z.critical,re=z.scrollOptions,se=z.registry;Wr();var ce=Ps(),me=ce.scroll.current,pe=ee.droppable,Ae=se.droppable.getAllByType(pe.type).map(function(We){return We.callbacks.getDimensionAndWatchScroll(me,re)}),He=se.draggable.getAllByType(ee.draggable.type).map(function(We){return We.getDimension(me)}),et={draggables:Wa(He),droppables:Ra(Ae)};Zr();var qe={dimensions:et,critical:ee,viewport:ce};return qe};function yi(z,ee,re){if(re.descriptor.id===ee.id||re.descriptor.type!==ee.type)return!1;var se=z.droppable.getById(re.descriptor.droppableId);return se.descriptor.mode==="virtual"}var bs=function(z,ee){var re=null,se=Ss({callbacks:{publish:ee.publishWhileDragging,collectionStarting:ee.collectionStarting},registry:z}),ce=function(ut,Wt){z.droppable.exists(ut)||Be(!1),re&&ee.updateDroppableIsEnabled({id:ut,isEnabled:Wt})},me=function(ut,Wt){re&&(z.droppable.exists(ut)||Be(!1),ee.updateDroppableIsCombineEnabled({id:ut,isCombineEnabled:Wt}))},pe=function(ut,Wt){re&&(z.droppable.exists(ut)||Be(!1),ee.updateDroppableScroll({id:ut,newScroll:Wt}))},Ae=function(ut,Wt){re&&z.droppable.getById(ut).callbacks.scroll(Wt)},He=function(){if(re){se.stop();var ut=re.critical.droppable;z.droppable.getAllByType(ut.type).forEach(function(Wt){return Wt.callbacks.dragStopped()}),re.unsubscribe(),re=null}},et=function(ut){re||Be(!1);var Wt=re.critical.draggable;ut.type==="ADDITION"&&yi(z,Wt,ut.value)&&se.add(ut.value),ut.type==="REMOVAL"&&yi(z,Wt,ut.value)&&se.remove(ut.value)},qe=function(ut){re&&Be(!1);var Wt=z.draggable.getById(ut.draggableId),Ln=z.droppable.getById(Wt.descriptor.droppableId),Tn={draggable:Wt.descriptor,droppable:Ln.descriptor},zn=z.subscribe(et);return re={critical:Tn,unsubscribe:zn},ys({critical:Tn,registry:z,scrollOptions:ut.scrollOptions})},We={updateDroppableIsEnabled:ce,updateDroppableIsCombineEnabled:me,scrollDroppable:Ae,updateDroppableScroll:pe,startPublishing:qe,stopPublishing:He};return We},bi=function(z,ee){return z.phase==="IDLE"?!0:z.phase!=="DROP_ANIMATING"||z.completed.result.draggableId===ee?!1:z.completed.result.reason==="DROP"},As=function(z){window.scrollBy(z.x,z.y)},Es=Fn(function(z){return Ea(z).filter(function(ee){return!(!ee.isEnabled||!ee.frame)})}),Cs=function(ee,re){var se=aa(Es(re),function(ce){return ce.frame||Be(!1),ti(ce.frame.pageMarginBox)(ee)});return se},xs=function(z){var ee=z.center,re=z.destination,se=z.droppables;if(re){var ce=se[re];return ce.frame?ce:null}var me=Cs(ee,se);return me},wr={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ee){return Math.pow(ee,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},ws=function(z,ee){var re=z[ee.size]*wr.startFromPercentage,se=z[ee.size]*wr.maxScrollAtPercentage,ce={startScrollingFrom:re,maxScrollValueAt:se};return ce},Ai=function(z){var ee=z.startOfRange,re=z.endOfRange,se=z.current,ce=re-ee;if(ce===0)return 0;var me=se-ee,pe=me/ce;return pe},No=1,Bs=function(z,ee){if(z>ee.startScrollingFrom)return 0;if(z<=ee.maxScrollValueAt)return wr.maxPixelScroll;if(z===ee.startScrollingFrom)return No;var re=Ai({startOfRange:ee.maxScrollValueAt,endOfRange:ee.startScrollingFrom,current:z}),se=1-re,ce=wr.maxPixelScroll*wr.ease(se);return Math.ceil(ce)},Ei=wr.durationDampening.accelerateAt,Ci=wr.durationDampening.stopDampeningAt,Ls=function(z,ee){var re=ee,se=Ci,ce=Date.now(),me=ce-re;if(me>=Ci)return z;if(meee.height,me=re.width>ee.width;return!me&&!ce?se:me&&ce?null:{x:me?0:se.x,y:ce?0:se.y}},Ds=En(function(z){return z===0?0:z}),Bi=function(z){var ee=z.dragStartTime,re=z.container,se=z.subject,ce=z.center,me=z.shouldUseTimeDampening,pe={top:ce.y-re.top,right:re.right-ce.x,bottom:re.bottom-ce.y,left:ce.x-re.left},Ae=wi({container:re,distanceToEdges:pe,dragStartTime:ee,axis:Zt,shouldUseTimeDampening:me}),He=wi({container:re,distanceToEdges:pe,dragStartTime:ee,axis:ia,shouldUseTimeDampening:me}),et=Ds({x:He,y:Ae});if(jn(et,bt))return null;var qe=Fs({container:re,subject:se,proposedScroll:et});return qe?jn(qe,bt)?null:qe:null},Is=En(function(z){return z===0?0:z>0?1:-1}),Mo=function(){var z=function(re,se){return re<0?re:re>se?re-se:0};return function(ee){var re=ee.current,se=ee.max,ce=ee.change,me=an(re,ce),pe={x:z(me.x,se.x),y:z(me.y,se.y)};return jn(pe,bt)?null:pe}}(),Li=function(ee){var re=ee.max,se=ee.current,ce=ee.change,me={x:Math.max(se.x,re.x),y:Math.max(se.y,re.y)},pe=Is(ce),Ae=Mo({max:me,current:se,change:pe});return!Ae||pe.x!==0&&Ae.x===0||pe.y!==0&&Ae.y===0},To=function(ee,re){return Li({current:ee.scroll.current,max:ee.scroll.max,change:re})},Os=function(ee,re){if(!To(ee,re))return null;var se=ee.scroll.max,ce=ee.scroll.current;return Mo({current:ce,max:se,change:re})},Ro=function(ee,re){var se=ee.frame;return se?Li({current:se.scroll.current,max:se.scroll.max,change:re}):!1},Ns=function(ee,re){var se=ee.frame;return!se||!Ro(ee,re)?null:Mo({current:se.scroll.current,max:se.scroll.max,change:re})},Ms=function(z){var ee=z.viewport,re=z.subject,se=z.center,ce=z.dragStartTime,me=z.shouldUseTimeDampening,pe=Bi({dragStartTime:ce,container:ee.frame,subject:re,center:se,shouldUseTimeDampening:me});return pe&&To(ee,pe)?pe:null},Ts=function(z){var ee=z.droppable,re=z.subject,se=z.center,ce=z.dragStartTime,me=z.shouldUseTimeDampening,pe=ee.frame;if(!pe)return null;var Ae=Bi({dragStartTime:ce,container:pe.pageMarginBox,subject:re,center:se,shouldUseTimeDampening:me});return Ae&&Ro(ee,Ae)?Ae:null},Fi=function(z){var ee=z.state,re=z.dragStartTime,se=z.shouldUseTimeDampening,ce=z.scrollWindow,me=z.scrollDroppable,pe=ee.current.page.borderBoxCenter,Ae=ee.dimensions.draggables[ee.critical.draggable.id],He=Ae.page.marginBox;if(ee.isWindowScrollAllowed){var et=ee.viewport,qe=Ms({dragStartTime:re,viewport:et,subject:He,center:pe,shouldUseTimeDampening:se});if(qe){ce(qe);return}}var We=xs({center:pe,destination:dr(ee.impact),droppables:ee.dimensions.droppables});if(We){var Ze=Ts({dragStartTime:re,droppable:We,subject:He,center:pe,shouldUseTimeDampening:se});Ze&&me(We.descriptor.id,Ze)}},Rs=function(z){var ee=z.scrollWindow,re=z.scrollDroppable,se=Rn(ee),ce=Rn(re),me=null,pe=function(qe){me||Be(!1);var We=me,Ze=We.shouldUseTimeDampening,ut=We.dragStartTime;Fi({state:qe,scrollWindow:se,scrollDroppable:ce,dragStartTime:ut,shouldUseTimeDampening:Ze})},Ae=function(qe){Wr(),me&&Be(!1);var We=Date.now(),Ze=!1,ut=function(){Ze=!0};Fi({state:qe,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:ut,scrollDroppable:ut}),me={dragStartTime:We,shouldUseTimeDampening:Ze},Zr(),Ze&&pe(qe)},He=function(){me&&(se.cancel(),ce.cancel(),me=null)};return{start:Ae,stop:He,scroll:pe}},ks=function(z){var ee=z.move,re=z.scrollDroppable,se=z.scrollWindow,ce=function(et,qe){var We=an(et.current.client.selection,qe);ee({client:We})},me=function(et,qe){if(!Ro(et,qe))return qe;var We=Ns(et,qe);if(!We)return re(et.descriptor.id,qe),null;var Ze=Dn(qe,We);re(et.descriptor.id,Ze);var ut=Dn(qe,Ze);return ut},pe=function(et,qe,We){if(!et||!To(qe,We))return We;var Ze=Os(qe,We);if(!Ze)return se(We),null;var ut=Dn(We,Ze);se(ut);var Wt=Dn(We,ut);return Wt},Ae=function(et){var qe=et.scrollJumpRequest;if(qe){var We=dr(et.impact);We||Be(!1);var Ze=me(et.dimensions.droppables[We],qe);if(Ze){var ut=et.viewport,Wt=pe(et.isWindowScrollAllowed,ut,Ze);Wt&&ce(et,Wt)}}};return Ae},zs=function(z){var ee=z.scrollDroppable,re=z.scrollWindow,se=z.move,ce=Rs({scrollWindow:re,scrollDroppable:ee}),me=ks({move:se,scrollWindow:re,scrollDroppable:ee}),pe=function(et){if(et.phase==="DRAGGING"){if(et.movementMode==="FLUID"){ce.scroll(et);return}et.scrollJumpRequest&&me(et)}},Ae={scroll:pe,start:ce.start,stop:ce.stop};return Ae},Tr="data-rbd",Rr=function(){var z=Tr+"-drag-handle";return{base:z,draggableId:z+"-draggable-id",contextId:z+"-context-id"}}(),ko=function(){var z=Tr+"-draggable";return{base:z,contextId:z+"-context-id",id:z+"-id"}}(),Gs=function(){var z=Tr+"-droppable";return{base:z,contextId:z+"-context-id",id:z+"-id"}}(),Di={contextId:Tr+"-scroll-container-context-id"},Hs=function(ee){return function(re){return"["+re+'="'+ee+'"]'}},Vr=function(ee,re){return ee.map(function(se){var ce=se.styles[re];return ce?se.selector+" { "+ce+" }":""}).join(" ")},Ws="pointer-events: none;",Zs=function(z){var ee=Hs(z),re=function(){var Ae=` + cursor: -webkit-grab; + cursor: grab; + `;return{selector:ee(Rr.contextId),styles:{always:` + -webkit-touch-callout: none; + -webkit-tap-highlight-color: rgba(0,0,0,0); + touch-action: manipulation; + `,resting:Ae,dragging:Ws,dropAnimating:Ae}}}(),se=function(){var Ae=` + transition: `+Kr.outOfTheWay+`; + `;return{selector:ee(ko.contextId),styles:{dragging:Ae,dropAnimating:Ae,userCancel:Ae}}}(),ce={selector:ee(Gs.contextId),styles:{always:"overflow-anchor: none;"}},me={selector:"body",styles:{dragging:` + cursor: grabbing; + cursor: -webkit-grabbing; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + overflow-anchor: none; + `}},pe=[se,re,ce,me];return{always:Vr(pe,"always"),resting:Vr(pe,"resting"),dragging:Vr(pe,"dragging"),dropAnimating:Vr(pe,"dropAnimating"),userCancel:Vr(pe,"userCancel")}},ur=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?ne.useLayoutEffect:ne.useEffect,zo=function(){var ee=document.querySelector("head");return ee||Be(!1),ee},Ii=function(ee){var re=document.createElement("style");return ee&&re.setAttribute("nonce",ee),re.type="text/css",re};function js(z,ee){var re=ct(function(){return Zs(z)},[z]),se=(0,ne.useRef)(null),ce=(0,ne.useRef)(null),me=yt(Fn(function(We){var Ze=ce.current;Ze||Be(!1),Ze.textContent=We}),[]),pe=yt(function(We){var Ze=se.current;Ze||Be(!1),Ze.textContent=We},[]);ur(function(){!se.current&&!ce.current||Be(!1);var We=Ii(ee),Ze=Ii(ee);return se.current=We,ce.current=Ze,We.setAttribute(Tr+"-always",z),Ze.setAttribute(Tr+"-dynamic",z),zo().appendChild(We),zo().appendChild(Ze),pe(re.always),me(re.resting),function(){var ut=function(Ln){var Tn=Ln.current;Tn||Be(!1),zo().removeChild(Tn),Ln.current=null};ut(se),ut(ce)}},[ee,pe,me,re.always,re.resting,z]);var Ae=yt(function(){return me(re.dragging)},[me,re.dragging]),He=yt(function(We){if(We==="DROP"){me(re.dropAnimating);return}me(re.userCancel)},[me,re.dropAnimating,re.userCancel]),et=yt(function(){ce.current&&me(re.resting)},[me,re.resting]),qe=ct(function(){return{dragging:Ae,dropping:He,resting:et}},[Ae,He,et]);return qe}var Oi=function(z){return z&&z.ownerDocument?z.ownerDocument.defaultView:window};function Yr(z){return z instanceof Oi(z).HTMLElement}function Ni(z,ee){var re="["+Rr.contextId+'="'+z+'"]',se=ja(document.querySelectorAll(re));if(!se.length)return null;var ce=aa(se,function(me){return me.getAttribute(Rr.draggableId)===ee});return!ce||!Yr(ce)?null:ce}function Ks(z){var ee=(0,ne.useRef)({}),re=(0,ne.useRef)(null),se=(0,ne.useRef)(null),ce=(0,ne.useRef)(!1),me=yt(function(Ze,ut){var Wt={id:Ze,focus:ut};return ee.current[Ze]=Wt,function(){var Tn=ee.current,zn=Tn[Ze];zn!==Wt&&delete Tn[Ze]}},[]),pe=yt(function(Ze){var ut=Ni(z,Ze);ut&&ut!==document.activeElement&&ut.focus()},[z]),Ae=yt(function(Ze,ut){re.current===Ze&&(re.current=ut)},[]),He=yt(function(){se.current||ce.current&&(se.current=requestAnimationFrame(function(){se.current=null;var Ze=re.current;Ze&&pe(Ze)}))},[pe]),et=yt(function(Ze){re.current=null;var ut=document.activeElement;ut&&ut.getAttribute(Rr.draggableId)===Ze&&(re.current=Ze)},[]);ur(function(){return ce.current=!0,function(){ce.current=!1;var Ze=se.current;Ze&&cancelAnimationFrame(Ze)}},[]);var qe=ct(function(){return{register:me,tryRecordFocus:et,tryRestoreFocusRecorded:He,tryShiftRecord:Ae}},[me,et,He,Ae]);return qe}function Us(){var z={draggables:{},droppables:{}},ee=[];function re(We){return ee.push(We),function(){var ut=ee.indexOf(We);ut!==-1&&ee.splice(ut,1)}}function se(We){ee.length&&ee.forEach(function(Ze){return Ze(We)})}function ce(We){return z.draggables[We]||null}function me(We){var Ze=ce(We);return Ze||Be(!1),Ze}var pe={register:function(Ze){z.draggables[Ze.descriptor.id]=Ze,se({type:"ADDITION",value:Ze})},update:function(Ze,ut){var Wt=z.draggables[ut.descriptor.id];Wt&&Wt.uniqueId===Ze.uniqueId&&(delete z.draggables[ut.descriptor.id],z.draggables[Ze.descriptor.id]=Ze)},unregister:function(Ze){var ut=Ze.descriptor.id,Wt=ce(ut);Wt&&Ze.uniqueId===Wt.uniqueId&&(delete z.draggables[ut],se({type:"REMOVAL",value:Ze}))},getById:me,findById:ce,exists:function(Ze){return!!ce(Ze)},getAllByType:function(Ze){return Pa(z.draggables).filter(function(ut){return ut.descriptor.type===Ze})}};function Ae(We){return z.droppables[We]||null}function He(We){var Ze=Ae(We);return Ze||Be(!1),Ze}var et={register:function(Ze){z.droppables[Ze.descriptor.id]=Ze},unregister:function(Ze){var ut=Ae(Ze.descriptor.id);ut&&Ze.uniqueId===ut.uniqueId&&delete z.droppables[Ze.descriptor.id]},getById:He,findById:Ae,exists:function(Ze){return!!Ae(Ze)},getAllByType:function(Ze){return Pa(z.droppables).filter(function(ut){return ut.descriptor.type===Ze})}};function qe(){z.draggables={},z.droppables={},ee.length=0}return{draggable:pe,droppable:et,subscribe:re,clean:qe}}function Vs(){var z=ct(Us,[]);return(0,ne.useEffect)(function(){return function(){requestAnimationFrame(z.clean)}},[z]),z}var Go=ne.createContext(null),Xr=function(){var z=document.body;return z||Be(!1),z},Ys={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Xs=function(ee){return"rbd-announcement-"+ee};function Js(z){var ee=ct(function(){return Xs(z)},[z]),re=(0,ne.useRef)(null);(0,ne.useEffect)(function(){var me=document.createElement("div");return re.current=me,me.id=ee,me.setAttribute("aria-live","assertive"),me.setAttribute("aria-atomic","true"),(0,Ne.Z)(me.style,Ys),Xr().appendChild(me),function(){setTimeout(function(){var He=Xr();He.contains(me)&&He.removeChild(me),me===re.current&&(re.current=null)})}},[ee]);var se=yt(function(ce){var me=re.current;if(me){me.textContent=ce;return}},[]);return se}var Mi=0,Qs={separator:"::"};function qs(){Mi=0}function Ho(z,ee){return ee===void 0&&(ee=Qs),ct(function(){return""+z+ee.separator+Mi++},[ee.separator,z])}function $s(z){var ee=z.contextId,re=z.uniqueId;return"rbd-hidden-text-"+ee+"-"+re}function _s(z){var ee=z.contextId,re=z.text,se=Ho("hidden-text",{separator:"-"}),ce=ct(function(){return $s({contextId:ee,uniqueId:se})},[se,ee]);return(0,ne.useEffect)(function(){var pe=document.createElement("div");return pe.id=ce,pe.textContent=re,pe.style.display="none",Xr().appendChild(pe),function(){var He=Xr();He.contains(pe)&&He.removeChild(pe)}},[ce,re]),ce}var ao=ne.createContext(null),ed={react:"^16.8.5","react-dom":"^16.8.5"},td=/(\d+)\.(\d+)\.(\d+)/,Ti=function(ee){var re=td.exec(ee);re==null&&Be(!1);var se=Number(re[1]),ce=Number(re[2]),me=Number(re[3]);return{major:se,minor:ce,patch:me,raw:ee}},nd=function(ee,re){return re.major>ee.major?!0:re.majoree.minor?!0:re.minor=ee.patch},ad=function(z,ee){var re=Ti(z),se=Ti(ee);nd(re,se)},Xu=` + We expect a html5 doctype: + This is to ensure consistent browser layout and measurement + + More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md +`,rd=function(z){var ee=z.doctype;ee&&(ee.name.toLowerCase(),ee.publicId)};function Ju(z){}function Jr(z,ee){}function od(){Jr(function(){ad(ed.react,ne.version),rd(document)},[])}function Wo(z){var ee=(0,ne.useRef)(z);return(0,ne.useEffect)(function(){ee.current=z}),ee}function id(){var z=null;function ee(){return!!z}function re(pe){return pe===z}function se(pe){z&&Be(!1);var Ae={abandon:pe};return z=Ae,Ae}function ce(){z||Be(!1),z=null}function me(){z&&(z.abandon(),ce())}return{isClaimed:ee,isActive:re,claim:se,release:ce,tryAbandon:me}}var ld=9,sd=13,Zo=27,Ri=32,dd=33,ud=34,cd=35,gd=36,md=37,fd=38,vd=39,pd=40,ro,hd=(ro={},ro[sd]=!0,ro[ld]=!0,ro),ki=function(z){hd[z.keyCode]&&z.preventDefault()},oo=function(){var z="visibilitychange";if(typeof document=="undefined")return z;var ee=[z,"ms"+z,"webkit"+z,"moz"+z,"o"+z],re=aa(ee,function(se){return"on"+se in document});return re||z}(),zi=0,Gi=5;function Sd(z,ee){return Math.abs(ee.x-z.x)>=Gi||Math.abs(ee.y-z.y)>=Gi}var Hi={type:"IDLE"};function Pd(z){var ee=z.cancel,re=z.completed,se=z.getPhase,ce=z.setPhase;return[{eventName:"mousemove",fn:function(pe){var Ae=pe.button,He=pe.clientX,et=pe.clientY;if(Ae===zi){var qe={x:He,y:et},We=se();if(We.type==="DRAGGING"){pe.preventDefault(),We.actions.move(qe);return}We.type!=="PENDING"&&Be(!1);var Ze=We.point;if(Sd(Ze,qe)){pe.preventDefault();var ut=We.actions.fluidLift(qe);ce({type:"DRAGGING",actions:ut})}}}},{eventName:"mouseup",fn:function(pe){var Ae=se();if(Ae.type!=="DRAGGING"){ee();return}pe.preventDefault(),Ae.actions.drop({shouldBlockNextClick:!0}),re()}},{eventName:"mousedown",fn:function(pe){se().type==="DRAGGING"&&pe.preventDefault(),ee()}},{eventName:"keydown",fn:function(pe){var Ae=se();if(Ae.type==="PENDING"){ee();return}if(pe.keyCode===Zo){pe.preventDefault(),ee();return}ki(pe)}},{eventName:"resize",fn:ee},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){se().type==="PENDING"&&ee()}},{eventName:"webkitmouseforcedown",fn:function(pe){var Ae=se();if(Ae.type==="IDLE"&&Be(!1),Ae.actions.shouldRespectForcePress()){ee();return}pe.preventDefault()}},{eventName:oo,fn:ee}]}function yd(z){var ee=(0,ne.useRef)(Hi),re=(0,ne.useRef)(_t),se=ct(function(){return{eventName:"mousedown",fn:function(We){if(!We.defaultPrevented&&We.button===zi&&!(We.ctrlKey||We.metaKey||We.shiftKey||We.altKey)){var Ze=z.findClosestDraggableId(We);if(Ze){var ut=z.tryGetLock(Ze,pe,{sourceEvent:We});if(ut){We.preventDefault();var Wt={x:We.clientX,y:We.clientY};re.current(),et(ut,Wt)}}}}}},[z]),ce=ct(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(We){if(!We.defaultPrevented){var Ze=z.findClosestDraggableId(We);if(Ze){var ut=z.findOptionsForDraggable(Ze);ut&&(ut.shouldRespectForcePress||z.canGetLock(Ze)&&We.preventDefault())}}}}},[z]),me=yt(function(){var We={passive:!1,capture:!0};re.current=qt(window,[ce,se],We)},[ce,se]),pe=yt(function(){var qe=ee.current;qe.type!=="IDLE"&&(ee.current=Hi,re.current(),me())},[me]),Ae=yt(function(){var qe=ee.current;pe(),qe.type==="DRAGGING"&&qe.actions.cancel({shouldBlockNextClick:!0}),qe.type==="PENDING"&&qe.actions.abort()},[pe]),He=yt(function(){var We={capture:!0,passive:!1},Ze=Pd({cancel:Ae,completed:pe,getPhase:function(){return ee.current},setPhase:function(Wt){ee.current=Wt}});re.current=qt(window,Ze,We)},[Ae,pe]),et=yt(function(We,Ze){ee.current.type!=="IDLE"&&Be(!1),ee.current={type:"PENDING",point:Ze,actions:We},He()},[He]);ur(function(){return me(),function(){re.current()}},[me])}var kr;function bd(){}var Ad=(kr={},kr[ud]=!0,kr[dd]=!0,kr[gd]=!0,kr[cd]=!0,kr);function Ed(z,ee){function re(){ee(),z.cancel()}function se(){ee(),z.drop()}return[{eventName:"keydown",fn:function(me){if(me.keyCode===Zo){me.preventDefault(),re();return}if(me.keyCode===Ri){me.preventDefault(),se();return}if(me.keyCode===pd){me.preventDefault(),z.moveDown();return}if(me.keyCode===fd){me.preventDefault(),z.moveUp();return}if(me.keyCode===vd){me.preventDefault(),z.moveRight();return}if(me.keyCode===md){me.preventDefault(),z.moveLeft();return}if(Ad[me.keyCode]){me.preventDefault();return}ki(me)}},{eventName:"mousedown",fn:re},{eventName:"mouseup",fn:re},{eventName:"click",fn:re},{eventName:"touchstart",fn:re},{eventName:"resize",fn:re},{eventName:"wheel",fn:re,options:{passive:!0}},{eventName:oo,fn:re}]}function Cd(z){var ee=(0,ne.useRef)(bd),re=ct(function(){return{eventName:"keydown",fn:function(me){if(me.defaultPrevented||me.keyCode!==Ri)return;var pe=z.findClosestDraggableId(me);if(!pe)return;var Ae=z.tryGetLock(pe,qe,{sourceEvent:me});if(!Ae)return;me.preventDefault();var He=!0,et=Ae.snapLift();ee.current();function qe(){He||Be(!1),He=!1,ee.current(),se()}ee.current=qt(window,Ed(et,qe),{capture:!0,passive:!1})}}},[z]),se=yt(function(){var me={passive:!1,capture:!0};ee.current=qt(window,[re],me)},[re]);ur(function(){return se(),function(){ee.current()}},[se])}var jo={type:"IDLE"},xd=120,wd=.15;function Bd(z){var ee=z.cancel,re=z.getPhase;return[{eventName:"orientationchange",fn:ee},{eventName:"resize",fn:ee},{eventName:"contextmenu",fn:function(ce){ce.preventDefault()}},{eventName:"keydown",fn:function(ce){if(re().type!=="DRAGGING"){ee();return}ce.keyCode===Zo&&ce.preventDefault(),ee()}},{eventName:oo,fn:ee}]}function Ld(z){var ee=z.cancel,re=z.completed,se=z.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(me){var pe=se();if(pe.type!=="DRAGGING"){ee();return}pe.hasMoved=!0;var Ae=me.touches[0],He=Ae.clientX,et=Ae.clientY,qe={x:He,y:et};me.preventDefault(),pe.actions.move(qe)}},{eventName:"touchend",fn:function(me){var pe=se();if(pe.type!=="DRAGGING"){ee();return}me.preventDefault(),pe.actions.drop({shouldBlockNextClick:!0}),re()}},{eventName:"touchcancel",fn:function(me){if(se().type!=="DRAGGING"){ee();return}me.preventDefault(),ee()}},{eventName:"touchforcechange",fn:function(me){var pe=se();pe.type==="IDLE"&&Be(!1);var Ae=me.touches[0];if(Ae){var He=Ae.force>=wd;if(He){var et=pe.actions.shouldRespectForcePress();if(pe.type==="PENDING"){et&&ee();return}if(et){if(pe.hasMoved){me.preventDefault();return}ee();return}me.preventDefault()}}}},{eventName:oo,fn:ee}]}function Fd(z){var ee=(0,ne.useRef)(jo),re=(0,ne.useRef)(_t),se=yt(function(){return ee.current},[]),ce=yt(function(ut){ee.current=ut},[]),me=ct(function(){return{eventName:"touchstart",fn:function(ut){if(!ut.defaultPrevented){var Wt=z.findClosestDraggableId(ut);if(Wt){var Ln=z.tryGetLock(Wt,Ae,{sourceEvent:ut});if(Ln){var Tn=ut.touches[0],zn=Tn.clientX,Jn=Tn.clientY,_n={x:zn,y:Jn};re.current(),We(Ln,_n)}}}}}},[z]),pe=yt(function(){var ut={capture:!0,passive:!1};re.current=qt(window,[me],ut)},[me]),Ae=yt(function(){var Ze=ee.current;Ze.type!=="IDLE"&&(Ze.type==="PENDING"&&clearTimeout(Ze.longPressTimerId),ce(jo),re.current(),pe())},[pe,ce]),He=yt(function(){var Ze=ee.current;Ae(),Ze.type==="DRAGGING"&&Ze.actions.cancel({shouldBlockNextClick:!0}),Ze.type==="PENDING"&&Ze.actions.abort()},[Ae]),et=yt(function(){var ut={capture:!0,passive:!1},Wt={cancel:He,completed:Ae,getPhase:se},Ln=qt(window,Ld(Wt),ut),Tn=qt(window,Bd(Wt),ut);re.current=function(){Ln(),Tn()}},[He,se,Ae]),qe=yt(function(){var ut=se();ut.type!=="PENDING"&&Be(!1);var Wt=ut.actions.fluidLift(ut.point);ce({type:"DRAGGING",actions:Wt,hasMoved:!1})},[se,ce]),We=yt(function(ut,Wt){se().type!=="IDLE"&&Be(!1);var Ln=setTimeout(qe,xd);ce({type:"PENDING",point:Wt,actions:ut,longPressTimerId:Ln}),et()},[et,se,ce,qe]);ur(function(){return pe(),function(){re.current();var Wt=se();Wt.type==="PENDING"&&(clearTimeout(Wt.longPressTimerId),ce(jo))}},[se,pe,ce]),ur(function(){var ut=qt(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return ut},[])}function Dd(z){}var Id={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Wi(z,ee){if(ee==null)return!1;var re=!!Id[ee.tagName.toLowerCase()];if(re)return!0;var se=ee.getAttribute("contenteditable");return se==="true"||se===""?!0:ee===z?!1:Wi(z,ee.parentElement)}function Od(z,ee){var re=ee.target;return Yr(re)?Wi(z,re):!1}var Nd=function(z){return vn(z.getBoundingClientRect()).center};function Md(z){return z instanceof Oi(z).Element}var Td=function(){var z="matches";if(typeof document=="undefined")return z;var ee=[z,"msMatchesSelector","webkitMatchesSelector"],re=aa(ee,function(se){return se in Element.prototype});return re||z}();function Zi(z,ee){return z==null?null:z[Td](ee)?z:Zi(z.parentElement,ee)}function Rd(z,ee){return z.closest?z.closest(ee):Zi(z,ee)}function kd(z){return"["+Rr.contextId+'="'+z+'"]'}function zd(z,ee){var re=ee.target;if(!Md(re))return null;var se=kd(z),ce=Rd(re,se);return!ce||!Yr(ce)?null:ce}function Gd(z,ee){var re=zd(z,ee);return re?re.getAttribute(Rr.draggableId):null}function Hd(z,ee){var re="["+ko.contextId+'="'+z+'"]',se=ja(document.querySelectorAll(re)),ce=aa(se,function(me){return me.getAttribute(ko.id)===ee});return!ce||!Yr(ce)?null:ce}function Wd(z){z.preventDefault()}function io(z){var ee=z.expected,re=z.phase,se=z.isLockActive,ce=z.shouldWarn;return!(!se()||ee!==re)}function ji(z){var ee=z.lockAPI,re=z.store,se=z.registry,ce=z.draggableId;if(ee.isClaimed())return!1;var me=se.draggable.findById(ce);return!(!me||!me.options.isEnabled||!bi(re.getState(),ce))}function Zd(z){var ee=z.lockAPI,re=z.contextId,se=z.store,ce=z.registry,me=z.draggableId,pe=z.forceSensorStop,Ae=z.sourceEvent,He=ji({lockAPI:ee,store:se,registry:ce,draggableId:me});if(!He)return null;var et=ce.draggable.getById(me),qe=Hd(re,et.descriptor.id);if(!qe||Ae&&!et.options.canDragInteractiveElements&&Od(qe,Ae))return null;var We=ee.claim(pe||_t),Ze="PRE_DRAG";function ut(){return et.options.shouldRespectForcePress}function Wt(){return ee.isActive(We)}function Ln(Ba,Ha){io({expected:Ba,phase:Ze,isLockActive:Wt,shouldWarn:!0})&&se.dispatch(Ha())}var Tn=Ln.bind(null,"DRAGGING");function zn(Ba){function Ha(){ee.release(),Ze="COMPLETED"}Ze!=="PRE_DRAG"&&(Ha(),Ze!=="PRE_DRAG"&&Be(!1)),se.dispatch(Ll(Ba.liftActionArgs)),Ze="DRAGGING";function qa(Ka,$a){if($a===void 0&&($a={shouldBlockNextClick:!1}),Ba.cleanup(),$a.shouldBlockNextClick){var tr=qt(window,[{eventName:"click",fn:Wd,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(tr)}Ha(),se.dispatch(ci({reason:Ka}))}return(0,Ne.Z)({isActive:function(){return io({expected:"DRAGGING",phase:Ze,isLockActive:Wt,shouldWarn:!1})},shouldRespectForcePress:ut,drop:function($a){return qa("DROP",$a)},cancel:function($a){return qa("CANCEL",$a)}},Ba.actions)}function Jn(Ba){var Ha=Rn(function(Ka){Tn(function(){return ui({client:Ka})})}),qa=zn({liftActionArgs:{id:me,clientSelection:Ba,movementMode:"FLUID"},cleanup:function(){return Ha.cancel()},actions:{move:Ha}});return(0,Ne.Z)({},qa,{move:Ha})}function _n(){var Ba={moveUp:function(){return Tn(kl)},moveRight:function(){return Tn(Gl)},moveDown:function(){return Tn(zl)},moveLeft:function(){return Tn(Hl)}};return zn({liftActionArgs:{id:me,clientSelection:Nd(qe),movementMode:"SNAP"},cleanup:_t,actions:Ba})}function da(){var Ba=io({expected:"PRE_DRAG",phase:Ze,isLockActive:Wt,shouldWarn:!0});Ba&&ee.release()}var Oa={isActive:function(){return io({expected:"PRE_DRAG",phase:Ze,isLockActive:Wt,shouldWarn:!1})},shouldRespectForcePress:ut,fluidLift:Jn,snapLift:_n,abort:da};return Oa}var jd=[yd,Cd,Fd];function Kd(z){var ee=z.contextId,re=z.store,se=z.registry,ce=z.customSensors,me=z.enableDefaultSensors,pe=[].concat(me?jd:[],ce||[]),Ae=(0,ne.useState)(function(){return id()})[0],He=yt(function(Jn,_n){Jn.isDragging&&!_n.isDragging&&Ae.tryAbandon()},[Ae]);ur(function(){var Jn=re.getState(),_n=re.subscribe(function(){var da=re.getState();He(Jn,da),Jn=da});return _n},[Ae,re,He]),ur(function(){return Ae.tryAbandon},[Ae.tryAbandon]);var et=yt(function(zn){return ji({lockAPI:Ae,registry:se,store:re,draggableId:zn})},[Ae,se,re]),qe=yt(function(zn,Jn,_n){return Zd({lockAPI:Ae,registry:se,contextId:ee,store:re,draggableId:zn,forceSensorStop:Jn,sourceEvent:_n&&_n.sourceEvent?_n.sourceEvent:null})},[ee,Ae,se,re]),We=yt(function(zn){return Gd(ee,zn)},[ee]),Ze=yt(function(zn){var Jn=se.draggable.findById(zn);return Jn?Jn.options:null},[se.draggable]),ut=yt(function(){Ae.isClaimed()&&(Ae.tryAbandon(),re.getState().phase!=="IDLE"&&re.dispatch(xo()))},[Ae,re]),Wt=yt(Ae.isClaimed,[Ae]),Ln=ct(function(){return{canGetLock:et,tryGetLock:qe,findClosestDraggableId:We,findOptionsForDraggable:Ze,tryReleaseLock:ut,isLockClaimed:Wt}},[et,qe,We,Ze,ut,Wt]);Dd(pe);for(var Tn=0;Tna.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var E=go.Shape._FigureParameters[te];E||(E=[],go.Shape._FigureParameters[te]=E),E[y]=a};var Ht=[];function Le(te,y){var a=Ht.pop();return a===void 0?new go.Point(te,y):(a.x=te,a.y=y,a)}function pe(){var te=Ht.pop();return te===void 0?new go.Point:te}function re(te){Ht.push(te)}function Ie(te,y,a,E,b,x,z,ee,ne){ne||(ne=new go.Point);var de=te-a,he=b-z,we=NaN,ve=NaN;if(de===0)if(he===0)te===a&&(we=te,ve=y);else{var Oe=(x-ee)/he,Fe=x-Oe*b;we=te,ve=Oe*we+Fe}else if(he===0){var Ce=(y-E)/de,ze=y-Ce*te;we=b,ve=Ce*we+ze}else{var Ce=(y-E)/de,Oe=(x-ee)/he,ze=y-Ce*te,Fe=x-Oe*b;we=(Fe-ze)/(Ce-Oe),ve=Ce*we+ze}return ne.x=we,ne.y=ve,ne}function Ae(te,y,a,E,b,x,z,ee,ne,de,he,we,ve,Oe){var Fe=1-ne,Ce=ne,ze=te*Fe+a*Ce,Ze=y*Fe+E*Ce,rt=a*Fe+b*Ce,Je=E*Fe+x*Ce,dt=b*Fe+z*Ce,Xe=x*Fe+ee*Ce,ht=ze*Fe+rt*Ce,ct=Ze*Fe+Je*Ce,Ye=rt*Fe+dt*Ce,Te=Je*Fe+Xe*Ce,Me=ht*Fe+Ye*Ce,He=ct*Fe+Te*Ce;de.x=ze,de.y=Ze,he.x=ht,he.y=ct,we.x=Me,we.y=He,ve.x=Ye,ve.y=Te,Oe.x=dt,Oe.y=Xe}var Se=new go.Spot(.156,.156),Pe=new go.Spot(.844,.844),oe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Gt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(te,y,a){var E=te?te.parameter1:NaN;(isNaN(E)||E<0)&&(E=5),E=Math.min(E,y/3),E=Math.min(E,a/3);var b=E*oe,x=new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,E,y-b,0,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,a-E)).add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-b,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()));return b>1&&(x.spot1=new go.Spot(0,0,b,b),x.spot2=new go.Spot(1,1,-b,-b)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(te,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(te,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(te,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(te,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=a/2,E.endX=y,E.endY=a/2,E}),go.Shape.defineFigureGenerator("LineV",function(te,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=y/2,E.startY=0,E.endX=y/2,E.endY=a,E}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(te,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(te,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(te,y,a){var E=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(E*y,(1-E)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,E*a)).add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(te,y,a){var E=y/2,b=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close()));return b.spot1=Se,b.spot2=Pe,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(te,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}),go.Shape.defineFigureGenerator("Line2",function(te,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=y,E.startY=0,E.endX=0,E.endY=a,E}),go.Shape.defineFigureGenerator("Curve1",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,oe*y,0,y,(1-oe)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,oe*a,(1-oe)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(te,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,oe*a,oe*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(te,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-oe)*y,0,0,(1-oe)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(te,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Gt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)?E=.1:E<-1?E=-1:E>1&&(E=1);var b=Math.abs(E)*y;if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b.5&&(E=.5);var b=Math.abs(E)*y;if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y/2);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y/2);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b0&&(z.add(new go.PathSegment(go.PathSegment.Move,y/2+ee,y/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ee,ee).close())),x.spot1=Se,x.spot2=Pe,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(te,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(te,y,a){var E=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(E*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,E*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Line,E*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Line,0,E*a).close())).setSpots(E/2,E/2,1-E/2,1-E/2)}),go.Shape.setFigureParameter("Pie",0,new Gt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Gt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(te,y,a){var E=te?te.parameter1:NaN,b=te?te.parameter2:NaN;isNaN(E)&&(E=0),isNaN(b)&&(b=315);var x=E%360;x<0&&(x+=360);var z=b%360,ee=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ee,ee).add(new go.PathSegment(go.PathSegment.Arc,x,z,ee,ee,ee,ee).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,y,a){var E=oe/Math.SQRT2*.5,b=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*y,x*a,y,(1-E)*a,(b+E)*y,(x+E)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Gt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(te,y,a){var E=te?te.parameter1:NaN;(isNaN(E)||E<0)&&(E=30);var b=Math.min(E,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+b,0)).add(new go.PathSegment(go.PathSegment.Line,x+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,x-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Gt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(te,y,a){var E=te?te.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=Math.min(E,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+b,0)).add(new go.PathSegment(go.PathSegment.Line,x+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,x-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new Gt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(te,y,a){var E=te?te.parameter1:NaN;if((isNaN(E)||E<0)&&(E=30),y===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}else{var x=y/2,z=a/2,ee=Math.atan2(a,y),ne=E-Math.min(Math.cos(ee)*E/2,x),de=E-Math.min(Math.sin(ee)*E/2,z),b=new go.Geometry,he=new go.PathFigure(ne,0,!0);return b.add(he),he.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),he.add(new go.PathSegment(go.PathSegment.Line,y-ne,0)),he.add(new go.PathSegment(go.PathSegment.Line,y,de)),he.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),he.add(new go.PathSegment(go.PathSegment.Line,y,a-de)),he.add(new go.PathSegment(go.PathSegment.Line,y-ne,a)),he.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),he.add(new go.PathSegment(go.PathSegment.Line,ne,a)),he.add(new go.PathSegment(go.PathSegment.Line,0,a-de)),he.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),he.add(new go.PathSegment(go.PathSegment.Line,0,de).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Gt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(te,y,a){var E=te?te.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=new go.Geometry,x=new go.PathFigure(.1*y,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new Gt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new Gt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=.5);var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-E)*y,.25*a,Math.abs(1-E)*y,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*y,.75*a,E*y,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,oe*y,0,y,(.5-oe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+oe/2)*a,oe*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(te,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(te,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.4*y,.6*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var x=.2,z=.3,ee=0,ne=x*oe;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ee)*a,(.5-x+z)*y,(.5+ne+ee)*a,(.5-ne+z)*y,(.5+x+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ee)*a,(.5+ne+z)*y,(.5+x+ee)*a,(.5+x+z)*y,(.5+ne+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ee)*a,(1-.5+x+z)*y,(.5-ne+ee)*a,(.5+ne+z)*y,(.5-x+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ne+z)*y,(.5-x+ee)*a,(.5-x+z+.05)*y,(.5-ne+ee-.02)*a)),x=.2,z=0,ee=-.3,ne=x*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ee)*a,(.5+ne+z)*y,(.5+x+ee)*a,(.5+x+z)*y,(.5+ne+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ee)*a,(1-.5+x+z)*y,(.5-ne+ee)*a,(.5+ne+z)*y,(.5-x+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ee)*a,(.5-ne+z)*y,(.5-x+ee)*a,(.5-x+z)*y,(.5-ne+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ne+z)*y,(.5+x+ee)*a,(.5-x+z)*y,(.5+ne+ee)*a,(.5-ne+z)*y,(.5+x+ee)*a)),x=.2,z=-.3,ee=0,ne=x*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ee)*a,(1-.5+x+z-.05)*y,(.5-ne+ee-.02)*a,(.5+ne+z)*y,(.5-x+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ee)*a,(.5-ne+z)*y,(.5-x+ee)*a,(.5-x+z)*y,(.5-ne+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ee)*a,(.5-x+z)*y,(.5+ne+ee)*a,(.5-ne+z)*y,(.5+x+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ne+z)*y,(.5+x+ee)*a,(.5+x+z)*y,(.5+ne+ee)*a).close()),E.setSpots(.06,.33,.93,.68),E}),go.Shape.defineFigureGenerator("YinYang",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.5,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var x=.1,z=.5,ee=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+x)*y,ee*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*z,a*ee,x*y,x*y).close()),b=new go.PathFigure(y*.5,0,!1),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ee=.75,b=new go.PathFigure((z+x)*y,ee*a,!0),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*z,a*ee,x*y,x*y).close()),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Peace",function(te,y,a){var E=.8535533905932737,b=.5*y,x=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,x,b,x)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,x)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,E*a)).add(new go.PathSegment(go.PathSegment.Move,b,x)).add(new go.PathSegment(go.PathSegment.Line,E*y,E*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(te,y,a){var E=new go.Geometry,b=oe*.5,x=.5,z=.5,ee=.5,ne=new go.PathFigure(z*y,(ee-x)*a);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ee*a,(z-b)*y,(ee-x)*a,(z-x)*y,(ee-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+x)*a,(z-x)*y,(ee+b)*a,(z-b)*y,(ee+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ee*a,(z+b)*y,(ee+x)*a,(z+x)*y,(ee+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-x)*a,(z+x)*y,(ee-b)*a,(z+b)*y,(ee-x)*a)),x=.4,b=oe*.4;var de=pe(),he=pe(),we=pe(),ve=pe();Ae(z,ee-x,z+b,ee-x,z+x,ee-b,z+x,ee,.42,de,he,we,ve,ve);var Oe=pe(),Fe=pe(),Ce=pe();Ae(z,ee-x,z+b,ee-x,z+x,ee-b,z+x,ee,.58,ve,ve,Ce,Oe,Fe);var ze=pe(),Ze=pe(),rt=pe();Ae(z,ee+x,z-b,ee+x,z-x,ee+b,z-x,ee,.42,ze,Ze,rt,ve,ve);var Je=pe(),dt=pe(),Xe=pe();return Ae(z,ee+x,z-b,ee+x,z-x,ee+b,z-x,ee,.58,ve,ve,Xe,Je,dt),ne.add(new go.PathSegment(go.PathSegment.Move,Xe.x*y,Xe.y*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ee*a,Je.x*y,Je.y*a,dt.x*y,dt.y*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-x)*a,(z-x)*y,(ee-b)*a,(z-b)*y,(ee-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,we.x*y,we.y*a,de.x*y,de.y*a,he.x*y,he.y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,Xe.x*y,Xe.y*a).close()),ne.add(new go.PathSegment(go.PathSegment.Move,rt.x*y,rt.y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,Ce.x*y,Ce.y*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ee*a,Oe.x*y,Oe.y*a,Fe.x*y,Fe.y*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+x)*a,(z+x)*y,(ee+b)*a,(z+b)*y,(ee+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,rt.x*y,rt.y*a,ze.x*y,ze.y*a,Ze.x*y,Ze.y*a).close()),re(de),re(he),re(we),re(ve),re(Oe),re(Fe),re(Ce),re(ze),re(Ze),re(rt),re(Je),re(dt),re(Xe),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Fragile",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Gt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(te,y,a){var E=te?te.parameter1:NaN;(isNaN(E)||E<0)&&(E=30),E>y&&(E=y);var b=(y-E)/2,x=b+E;return new go.Geometry().add(new go.PathFigure(x,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(te,y,a){var E=new go.Geometry,b=oe*.4,x=.4,z=.5,ee=.5,ne=pe(),de=pe(),he=pe(),we=pe(),ve=new go.PathFigure((z-x)*y,ee*a,!1);E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-x)*a,(z-x)*y,(ee-b)*a,(z-b)*y,(ee-x)*a)),Ae(z,ee-x,z+b,ee-x,z+x,ee-b,z+x,ee,.44,he,we,de,ne,ne),ve.add(new go.PathSegment(go.PathSegment.Bezier,de.x*y,de.y*a,he.x*y,he.y*a,we.x*y,we.y*a));var Oe=Le(de.x,de.y);Ae(z,ee-x,z+b,ee-x,z+x,ee-b,z+x,ee,.56,ne,ne,de,he,we);var Fe=Le(de.x,de.y);ve.add(new go.PathSegment(go.PathSegment.Line,(Oe.x*.1+.95*.9)*y,Oe.y*.1*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,Oe.y*.1*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),ve.add(new go.PathSegment(go.PathSegment.Line,y,0)),ve.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),ve.add(new go.PathSegment(go.PathSegment.Line,(Fe.x*.1+.9)*y,.15*a)),ve.add(new go.PathSegment(go.PathSegment.Line,(Fe.x*.1+.9)*y,(Fe.y*.1+.05*.9)*a)),ve.add(new go.PathSegment(go.PathSegment.Line,Fe.x*y,Fe.y*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ee*a,he.x*y,he.y*a,we.x*y,we.y*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+x)*a,(z+x)*y,(ee+b)*a,(z+b)*y,(ee+x)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ee*a,(z-b)*y,(ee+x)*a,(z-x)*y,(ee+b)*a)),x=.35,b=oe*.35;var Ce=new go.PathFigure(z*y,(ee-x)*a,!1);E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ee*a,(z-b)*y,(ee-x)*a,(z-x)*y,(ee-b)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+x)*a,(z-x)*y,(ee+b)*a,(z-b)*y,(ee+x)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ee*a,(z+b)*y,(ee+x)*a,(z+x)*y,(ee+b)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-x)*a,(z+x)*y,(ee-b)*a,(z+b)*y,(ee-x)*a));var ze=new go.PathFigure((z-x)*y,ee*a,!1);return E.add(ze),re(ne),re(de),re(he),re(we),re(Oe),re(Fe),E.spot1=new go.Spot(.202,.257),E.spot2=new go.Spot(.792,.739),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("GenderFemale",function(te,y,a){var E=new go.Geometry,b=.375,x=0,z=-.125,ee=b*oe,ne=new go.PathFigure((.525+x)*y,(.5+b+z)*a,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+x)*y,(.5+z)*a,(.5+ee+x)*y,(.5+b+z)*a,(.5+b+x)*y,(.5+ee+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-b+z)*a,(1-.5+b+x)*y,(.5-ee+z)*a,(.5+ee+x)*y,(.5-b+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+z)*a,(.5-ee+x)*y,(.5-b+z)*a,(.5-b+x)*y,(.5-ee+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*y,(.5+b+z)*a,(.5-b+x)*y,(.5+ee+z)*a,(.5-ee+x)*y,(.5+b+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,x=0,z=-.125,ee=b*oe;var ne=new go.PathFigure((1-.5+b+x)*y,(.5+z)*a,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5+b+z)*a,(.5+b+x)*y,(.5+ee+z)*a,(.5+ee+x)*y,(.5+b+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+z)*a,(.5-ee+x)*y,(.5+b+z)*a,(.5-b+x)*y,(.5+ee+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-b+z)*a,(.5-b+x)*y,(.5-ee+z)*a,(.5-ee+x)*y,(.5-b+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+x)*y,(.5+z)*a,(.5+ee+x)*y,(.5-b+z)*a,(1-.5+b+x)*y,(.5-ee+z)*a));var ne=new go.PathFigure((.525+x)*y,(.5+b+z)*a,!1);return E.add(ne),E.spot1=new go.Spot(.232,.136),E.spot2=new go.Spot(.682,.611),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicImplies",function(te,y,a){var E=te?te.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(te,y,a){var E=te?te.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(te,y,a){var E=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicTruth",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(te,y,a){var E=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,E*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,E*y,E*a,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(te,y,a){var E=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,E*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,E*y,E*a,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Gt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Gt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=.3);var b=te?te.parameter2:NaN;isNaN(b)&&(b=.3);var x=(1-E)*y,z=(.5-b/2)*a,ee=(.5+b/2)*a,ne=new go.Geometry,de=new go.PathFigure(0,z,!0);ne.add(de),de.add(new go.PathSegment(go.PathSegment.Line,x,z)),de.add(new go.PathSegment(go.PathSegment.Line,x,0)),de.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,x,a)),de.add(new go.PathSegment(go.PathSegment.Line,x,ee)),de.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ne.spot1=new go.Spot(0,z/a);var he=Ie(0,ee/a,1,ee/a,x/y,1,1,.5,pe());return ne.spot2=new go.Spot(he.x,he.y),re(he),ne}),go.Shape.setFigureParameter("Arrow2",0,new Gt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Gt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=30),E>y&&(E=y);var b=te?te.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var x=y-E,z=(a-b)/2,ee=z+b,ne=new go.Geometry,de=new go.PathFigure(0,z,!0);ne.add(de),de.add(new go.PathSegment(go.PathSegment.Line,x,z)),de.add(new go.PathSegment(go.PathSegment.Line,x,0)),de.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,x,a)),de.add(new go.PathSegment(go.PathSegment.Line,x,ee)),de.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ne.spot1=new go.Spot(0,z/a);var he=Ie(0,ee/a,1,ee/a,x/y,1,1,.5,pe());return ne.spot2=new go.Spot(he.x,he.y),re(he),ne}),go.Shape.defineFigureGenerator("Chevron",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("DoubleArrow",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),E}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Gt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*a,x=(.5+E/2)*a,z=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var ne=Ie(0,.5,.3,0,0,b/a,.1,b/a,pe());return z.spot1=new go.Spot(ne.x,ne.y),ne=Ie(.7,1,1,.5,0,x/a,1,x/a,ne),z.spot2=new go.Spot(ne.x,ne.y),re(ne),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Gt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Gt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=40);var b=te?te.parameter2:NaN;isNaN(b)&&(b=100);var x=(a-E)/2,z=x+E,ee=(a-b)/2,ne=ee+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,z=x+E,ee=0,ne=a):(x=0,z=a,ee=0,ne=a));var de=new go.Geometry,he=new go.PathFigure(y,.5*a,!0);de.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),he.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),he.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),he.add(new go.PathSegment(go.PathSegment.Line,.3*y,ne)),he.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),he.add(new go.PathSegment(go.PathSegment.Line,.3*y,ee)),he.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),he.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),he.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee).close());var we=Ie(0,.5,.3,ee/a,0,x/a,1,x/a,pe());return de.spot1=new go.Spot(we.x,we.y),we=Ie(.7,ne/a,1,.5,0,z/a,1,z/a,we),de.spot2=new go.Spot(we.x,we.y),re(we),de}),go.Shape.setFigureParameter("IBeamArrow",0,new Gt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*a,x=(.5+E/2)*a,z=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(0,b/a);var ne=Ie(.7,1,1,.5,0,x/a,1,x/a,pe());return z.spot2=new go.Spot(ne.x,ne.y),re(ne),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new Gt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Gt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=40);var b=te?te.parameter2:NaN;isNaN(b)&&(b=100);var x=(a-E)/2,z=x+E,ee=(a-b)/2,ne=ee+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,z=x+E,ee=0,ne=a):(x=0,z=a,ee=0,ne=a));var de=new go.Geometry,he=new go.PathFigure(y,.5*a,!0);de.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),he.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),he.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),he.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),he.add(new go.PathSegment(go.PathSegment.Line,0,ne)),he.add(new go.PathSegment(go.PathSegment.Line,0,ee)),he.add(new go.PathSegment(go.PathSegment.Line,.2*y,ee)),he.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),he.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),he.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee).close()),de.spot1=new go.Spot(0,x/a);var we=Ie(.7,ne/a,1,.5,0,z/a,1,z/a,pe());return de.spot2=new go.Spot(we.x,we.y),re(we),de}),go.Shape.setFigureParameter("Pointer",0,new Gt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=.1);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(E,.35);var z=Ie(.2,.65,1,.65,0,1,1,.5,pe());return b.spot2=new go.Spot(z.x,z.y),re(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Gt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=.3);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*y,.75*a,E*y,.25*a).close()),b.spot1=new go.Spot(E,.35);var z=Ie(0,.65,1,.65,0,1,1,.5,pe());return b.spot2=new go.Spot(z.x,z.y),re(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Gt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=.4);var b=(.5-E/2)*a,x=(.5+E/2)*a,z=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,.3);var ne=Ie(.7,1,1,.5,0,x/a,1,x/a,pe());return z.spot2=new go.Spot(ne.x,ne.y),re(ne),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Gt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=50);var b=(a-E)/2,x=b+E;E>a&&(b=0,x=a);var z=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,b/a);var ne=Ie(.7,1,1,.5,0,x/a,1,x/a,pe());return z.spot2=new go.Spot(ne.x,ne.y),re(ne),z}),go.Shape.setFigureParameter("SquareArrow",0,new Gt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=.7);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(E,1),b}),go.Shape.defineFigureGenerator("Cone1",function(te,y,a){var E=new go.Geometry,b=oe*.5,x=oe*.1,z=new go.PathFigure(0,.9*a,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a).close()),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.97),E}),go.Shape.defineFigureGenerator("Cone2",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var x=new go.PathFigure(0,.9*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.82),E}),go.Shape.defineFigureGenerator("Cube1",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.5,.85),E}),go.Shape.defineFigureGenerator("Cube2",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var x=new go.PathFigure(0,.3*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.7,1),E}),go.Shape.defineFigureGenerator("Cylinder1",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,x=oe*.5,z=new go.PathFigure(0,E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,oe*E,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*y,E,(.5+x)*y,0,1*y,oe*E)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-oe*E,(.5+x)*y,1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,(.5-x)*y,1*a,0,a-oe*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E));var ee=new go.PathFigure(y,E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*E,1*y,2*E-oe*E,(.5+x)*y,2*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E,(.5-x)*y,2*E,0,2*E-oe*E)),b.spot1=new go.Spot(0,0,0,2*E),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,x=oe*.5,z=new go.PathFigure(0,a-E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,oe*E,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E,(.5+x)*y,0,y,oe*E)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-oe*E,(.5+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,(.5-x)*y,a,0,a-oe*E));var ee=new go.PathFigure(0,a-E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*E,0,a-E-oe*E,(.5-x)*y,a-2*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,a-E,(.5+x)*y,a-2*E,y,a-E-oe*E)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*E),b}),go.Shape.defineFigureGenerator("Cylinder3",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,x=oe*.5,z=new go.PathFigure(E,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y-E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-oe*E,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,(.5+x)*a,y-oe*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,oe*E,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*a,oe*E,0));var ee=new go.PathFigure(E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,2*E,.5*a,E+oe*E,0,2*E,(.5-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,a,2*E,(.5+x)*a,E+oe*E,a)),b.spot1=new go.Spot(0,0,2*E,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,x=oe*.5,z=new go.PathFigure(y-E,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-oe*E,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,(.5+x)*a,y-oe*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,oe*E,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*a,oe*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y-E,0));var ee=new go.PathFigure(y-E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,y-2*E,.5*a,y-E-oe*E,0,y-2*E,(.5-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y-2*E,(.5+x)*a,y-E-oe*E,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*E,0),b}),go.Shape.defineFigureGenerator("Prism1",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,.25*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.25*y,.25*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.408,.172),E.spot2=new go.Spot(.833,.662),E}),go.Shape.defineFigureGenerator("Prism2",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("Pyramid1",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var x=new go.PathFigure(.5*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Pyramid2",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Actor",function(te,y,a){var E=new go.Geometry,b=.2,x=.1,z=oe*b,ee=oe*x,ne=.5,de=.1,he=new go.PathFigure(ne*y,(de+x)*a,!0);E.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-b)*y,de*a,(ne-z)*y,(de+x)*a,(ne-b)*y,(de+ee)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(de-x)*a,(ne-b)*y,(de-ee)*a,(ne-z)*y,(de-x)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+b)*y,de*a,(ne+z)*y,(de-x)*a,(ne+b)*y,(de-ee)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(de+x)*a,(ne+b)*y,(de+ee)*a,(ne+z)*y,(de+x)*a));var we=.05,ve=oe*we;ne=.05,de=.25;var Oe=new go.PathFigure(.5*y,.2*a,!0);return E.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ne=.95,de=.25,Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+we)*y,de*a,(ne+ve)*y,(de-we)*a,(ne+we)*y,(de-ve)*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),we=.025,ve=oe*we,ne=.825,de=.35,Oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(de-we)*a,(ne+we)*y,(de-ve)*a,(ne+ve)*y,(de-we)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-we)*y,de*a,(ne-ve)*y,(de-we)*a,(ne-we)*y,(de-ve)*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Oe.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Oe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),we=.05,ve=oe*we,ne=.5,de=.7,Oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(de-we)*a,(ne+we)*y,(de-ve)*a,(ne+ve)*y,(de-we)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-we)*y,de*a,(ne-ve)*y,(de-we)*a,(ne-we)*y,(de-ve)*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),we=.025,ve=oe*we,ne=.175,de=.35,Oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(de-we)*a,(ne+we)*y,(de-ve)*a,(ne+ve)*y,(de-we)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-we)*y,de*a,(ne-ve)*y,(de-we)*a,(ne-we)*y,(de-ve)*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),we=.05,ve=oe*we,ne=.05,de=.25,Oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(de-we)*a,(ne-we)*y,(de-ve)*a,(ne-ve)*y,(de-we)*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.spot1=new go.Spot(.2,.2),E.spot2=new go.Spot(.8,.65),E}),go.Shape.setFigureParameter("Card",0,new Gt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(te,y,a){var E=te?te.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,x=new go.PathFigure(y,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,0).close()),b.spot1=new go.Spot(0,E),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var x=new go.PathFigure(.5*y,.5*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,.25),E}),go.Shape.defineFigureGenerator("CreateRequest",function(te,y,a){var E=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,b*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),E}),go.Shape.defineFigureGenerator("Database",function(te,y,a){var E=new go.Geometry,b=oe*.5,x=oe*.1,z=new go.PathFigure(y,.1*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-x)*a));var ee=new go.PathFigure(y,.1*a,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+b)*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+b)*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+x)*a,(.5+b)*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*y,.4*a,0,(.3+x)*a)),E.spot1=new go.Spot(0,.4),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("DataStorage",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),E.spot1=new go.Spot(.226,0),E.spot2=new go.Spot(.81,1),E}),go.Shape.defineFigureGenerator("DiskStorage",function(te,y,a){var E=new go.Geometry,b=oe*.5,x=oe*.1,z=new go.PathFigure(y,.1*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-x)*a));var ee=new go.PathFigure(y,.1*a,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+b)*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+b)*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+x)*a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("Display",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("DividedEvent",function(te,y,a){var E=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var x=oe*.2,z=new go.PathFigure(0,.2*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-x)*a,(.2-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+x)*y,0,y,(.2-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+x)*a,(.8+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-x)*y,a,0,(.8+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ee=new go.PathFigure(0,b*a,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),E}),go.Shape.defineFigureGenerator("DividedProcess",function(te,y,a){var E=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,b*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),E}),go.Shape.defineFigureGenerator("Document",function(te,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("ExternalOrganization",function(te,y,a){var E=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(b*y,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),z.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),E}),go.Shape.defineFigureGenerator("ExternalProcess",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(.1*y,.4*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("File",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.75*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Interrupt",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var x=new go.PathFigure(y,.5*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a));var z=new go.PathFigure(y,.5*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("InternalStorage",function(te,y,a){var E=new go.Geometry,b=te?te.parameter1:NaN,x=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(b*y,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),E}),go.Shape.defineFigureGenerator("Junction",function(te,y,a){var E=new go.Geometry,b=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=oe*.5,ee=.5,ne=new go.PathFigure(y,ee*a,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,a,y,(ee+z)*a,(ee+z)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*a,(ee-z)*y,a,0,(ee+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,0,0,(ee-z)*a,(ee-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,ee*a,(ee+z)*y,0,y,(ee-z)*a));var de=new go.PathFigure((x+b)*y,(x+b)*a,!1);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)),de.add(new go.PathSegment(go.PathSegment.Move,x*y,(x+b)*a)),de.add(new go.PathSegment(go.PathSegment.Line,(x+b)*y,x*a)),E}),go.Shape.defineFigureGenerator("LinedDocument",function(te,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var x=new go.PathFigure(.1*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),E.spot1=new go.Spot(.1,0),E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("LoopLimit",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MagneticTape",function(te,y,a){var E=new go.Geometry,b=oe*.5,x=.5,z=new go.PathFigure(.5*y,a,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*y,.9*a,y,(x+b)*a,(x+b)*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.8),E}),go.Shape.defineFigureGenerator("ManualInput",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MessageFromUser",function(te,y,a){var E=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.7);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("MicroformProcessing",function(te,y,a){var E=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.25);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("MicroformRecording",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("MultiDocument",function(te,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var x=new go.PathFigure(.1*y,.2*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.8,.77),E}),go.Shape.defineFigureGenerator("MultiProcess",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,.1*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var x=new go.PathFigure(.2*y,.1*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.spot1=new go.Spot(0,.2),E.spot2=new go.Spot(.8,1),E}),go.Shape.defineFigureGenerator("OfflineStorage",function(te,y,a){var E=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var x=1-b,z=new go.PathFigure(0,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var ee=new go.PathFigure(.5*b*y,b*a,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*y,b*a)),E}),go.Shape.defineFigureGenerator("OffPageConnector",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("Or",function(te,y,a){var E=new go.Geometry,b=oe*.5,x=.5,z=new go.PathFigure(y,x*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+b)*a,(x+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a));var ee=new go.PathFigure(y,.5*a,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E}),go.Shape.defineFigureGenerator("PaperTape",function(te,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),E.spot1=new go.Spot(0,.49),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(te,y,a){var E=new go.Geometry,b=te?te.parameter1:NaN,x=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(te,y,a){var E=new go.Geometry,b=te?te.parameter1:NaN,x=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("Procedure",function(te,y,a){var E=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure((1-b)*y,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,b*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),E}),go.Shape.defineFigureGenerator("Process",function(te,y,a){var E=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(b*y,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Sort",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(0,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.5),E}),go.Shape.defineFigureGenerator("Start",function(te,y,a){var E=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.25);var x=new go.PathFigure(b*y,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var z=new go.PathFigure(b*y,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),E.spot1=new go.Spot(b,0),E.spot2=new go.Spot(1-b,1),E}),go.Shape.defineFigureGenerator("Terminator",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),E.spot1=new go.Spot(.23,0),E.spot2=new go.Spot(.77,1),E}),go.Shape.defineFigureGenerator("TransmittalTape",function(te,y,a){var E=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("AndGate",function(te,y,a){var E=new go.Geometry,b=oe*.5,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+b)*y,0,y,(.5-b)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+b)*a,(.5+b)*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.55,1),E}),go.Shape.defineFigureGenerator("Buffer",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Clock",function(te,y,a){var E=new go.Geometry,b=oe*.5,x=.5,z=new go.PathFigure(y,x*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+b)*a,(x+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a));var ee=new go.PathFigure(y,x*a,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,x*a));var ne=new go.PathFigure(.8*y,.75*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),E}),go.Shape.defineFigureGenerator("Ground",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E}),go.Shape.defineFigureGenerator("Inverter",function(te,y,a){var E=new go.Geometry,b=oe*.1,x=.1,z=.9,ee=.5,ne=new go.PathFigure(.8*y,.5*a,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var de=new go.PathFigure((z+x)*y,ee*a,!0);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+x)*a,(z+x)*y,(ee+b)*a,(z+b)*y,(ee+x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ee*a,(z-b)*y,(ee+x)*a,(z-x)*y,(ee+b)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-x)*a,(z-x)*y,(ee-b)*a,(z-b)*y,(ee-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ee*a,(z+b)*y,(ee-x)*a,(z+x)*y,(ee-b)*a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.4,.75),E}),go.Shape.defineFigureGenerator("NandGate",function(te,y,a){var E=new go.Geometry,b=oe*.5,x=oe*.4,z=oe*.1,ee=.1,ne=.9,de=.5,he=new go.PathFigure(.8*y,.5*a,!0);E.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+x)*a,(.4+b)*y,a)),he.add(new go.PathSegment(go.PathSegment.Line,0,a)),he.add(new go.PathSegment(go.PathSegment.Line,0,0)),he.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+b)*y,0,.8*y,(.5-x)*a));var we=new go.PathFigure((ne+ee)*y,de*a,!0);return E.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(de+ee)*a,(ne+ee)*y,(de+z)*a,(ne+z)*y,(de+ee)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*y,de*a,(ne-z)*y,(de+ee)*a,(ne-ee)*y,(de+z)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(de-ee)*a,(ne-ee)*y,(de-z)*a,(ne-z)*y,(de-ee)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*y,de*a,(ne+z)*y,(de-ee)*a,(ne+ee)*y,(de-z)*a)),E.spot1=new go.Spot(0,.05),E.spot2=new go.Spot(.55,.95),E}),go.Shape.defineFigureGenerator("NorGate",function(te,y,a){var E=new go.Geometry,b=.5,x=oe*b,z=0,ee=.5,ne=new go.PathFigure(.8*y,.5*a,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ee+x)*a,(z+x)*y,(ee+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ee-b)*a,.7*y,(ee-x)*a)),b=.1,x=oe*.1,z=.9,ee=.5;var de=new go.PathFigure((z-b)*y,ee*a,!0);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-x)*a,(z-x)*y,(ee-b)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+x)*y,(ee-b)*a,(z+b)*y,(ee-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+x)*a,(z+x)*y,(ee+b)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-x)*y,(ee+b)*a,(z-b)*y,(ee+x)*a)),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.6,.75),E}),go.Shape.defineFigureGenerator("OrGate",function(te,y,a){var E=new go.Geometry,b=.5,x=oe*b,z=0,ee=.5,ne=new go.PathFigure(0,0,!0);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x+x)*y,(ee-b)*a,.8*y,(ee-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ee+x)*a,(z+x+x)*y,(ee+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("XnorGate",function(te,y,a){var E=new go.Geometry,b=.5,x=oe*b,z=.2,ee=.5,ne=new go.PathFigure(.1*y,0,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var de=new go.PathFigure(.8*y,.5*a,!0);E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ee+x)*a,(z+x)*y,(ee+b)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ee-b)*a,.7*y,(ee-x)*a)),b=.1,x=oe*.1,z=.9,ee=.5;var he=new go.PathFigure((z-b)*y,ee*a,!0);return E.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-x)*a,(z-x)*y,(ee-b)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+x)*y,(ee-b)*a,(z+b)*y,(ee-x)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+x)*a,(z+x)*y,(ee+b)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-x)*y,(ee+b)*a,(z-b)*y,(ee+x)*a)),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.65,.75),E}),go.Shape.defineFigureGenerator("XorGate",function(te,y,a){var E=new go.Geometry,b=.5,x=oe*b,z=.2,ee=.5,ne=new go.PathFigure(.1*y,0,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var de=new go.PathFigure(.2*y,0,!0);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x)*y,(ee-b)*a,.9*y,(ee-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ee+x)*a,(z+x)*y,(ee+b)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.8,.75),E}),go.Shape.defineFigureGenerator("Capacitor",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("Resistor",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E}),go.Shape.defineFigureGenerator("Inductor",function(te,y,a){var E=new go.Geometry,b=oe*.1,x=.1,z=.1,ee=.5,ne=new go.PathFigure((z-b*.5)*y,a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.3,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.5,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.7,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.9,ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*y,a,(z+x)*y,0,(z+b)*y,a)),E}),go.Shape.defineFigureGenerator("ACvoltageSource",function(te,y,a){var E=new go.Geometry,b=oe*.5,x=.5,z=.5,ee=.5,ne=new go.PathFigure((z-x)*y,ee*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-x)*a,(z-x)*y,(ee-b)*a,(z-b)*y,(ee-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ee*a,(z+b)*y,(ee-x)*a,(z+x)*y,(ee-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+x)*a,(z+x)*y,(ee+b)*a,(z+b)*y,(ee+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ee*a,(z-b)*y,(ee+x)*a,(z-x)*y,(ee+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*y,ee*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*y,ee*a,z*y,(ee-x)*a,z*y,(ee+x)*a)),E}),go.Shape.defineFigureGenerator("DCvoltageSource",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("Diode",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Wifi",function(te,y,a){var E=new go.Geometry,b=y,x=a;y=y*.38,a=a*.6;var z=oe*.8,ee=.8,ne=0,de=.5,he=(b-y)/2,we=(x-a)/2,ve=new go.PathFigure(ne*y+he,(de+ee)*a+we,!0);E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*y+he,de*a+we,(ne-z)*y+he,(de+ee)*a+we,(ne-ee)*y+he,(de+z)*a+we)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*y+he,(de-ee)*a+we,(ne-ee)*y+he,(de-z)*a+we,(ne-z)*y+he,(de-ee)*a+we)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee+z*.5)*y+he,de*a+we,ne*y+he,(de-ee)*a+we,(ne-ee+z*.5)*y+he,(de-z)*a+we)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*y+he,(de+ee)*a+we,(ne-ee+z*.5)*y+he,(de+z)*a+we,ne*y+he,(de+ee)*a+we).close()),z=oe*.4,ee=.4,ne=.2,de=.5;var Oe=new go.PathFigure(ne*y+he,(de+ee)*a+we,!0);E.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*y+he,de*a+we,(ne-z)*y+he,(de+ee)*a+we,(ne-ee)*y+he,(de+z)*a+we)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y+he,(de-ee)*a+we,(ne-ee)*y+he,(de-z)*a+we,(ne-z)*y+he,(de-ee)*a+we)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee+z*.5)*y+he,de*a+we,ne*y+he,(de-ee)*a+we,(ne-ee+z*.5)*y+he,(de-z)*a+we)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y+he,(de+ee)*a+we,(ne-ee+z*.5)*y+he,(de+z)*a+we,ne*y+he,(de+ee)*a+we).close()),z=oe*.2,ee=.2,ne=.5,de=.5;var Fe=new go.PathFigure((ne-ee)*y+he,de*a+we,!0);E.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y+he,(de-ee)*a+we,(ne-ee)*y+he,(de-z)*a+we,(ne-z)*y+he,(de-ee)*a+we)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*y+he,de*a+we,(ne+z)*y+he,(de-ee)*a+we,(ne+ee)*y+he,(de-z)*a+we)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y+he,(de+ee)*a+we,(ne+ee)*y+he,(de+z)*a+we,(ne+z)*y+he,(de+ee)*a+we)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*y+he,de*a+we,(ne-z)*y+he,(de+ee)*a+we,(ne-ee)*y+he,(de+z)*a+we)),z=oe*.4,ee=.4,ne=.8,de=.5;var Ce=new go.PathFigure(ne*y+he,(de-ee)*a+we,!0);E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*y+he,de*a+we,(ne+z)*y+he,(de-ee)*a+we,(ne+ee)*y+he,(de-z)*a+we)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*y+he,(de+ee)*a+we,(ne+ee)*y+he,(de+z)*a+we,(ne+z)*y+he,(de+ee)*a+we)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee-z*.5)*y+he,de*a+we,ne*y+he,(de+ee)*a+we,(ne+ee-z*.5)*y+he,(de+z)*a+we)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*y+he,(de-ee)*a+we,(ne+ee-z*.5)*y+he,(de-z)*a+we,ne*y+he,(de-ee)*a+we).close()),z=oe*.8,ee=.8,ne=1,de=.5;var ze=new go.PathFigure(ne*y+he,(de-ee)*a+we,!0);return E.add(ze),ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*y+he,de*a+we,(ne+z)*y+he,(de-ee)*a+we,(ne+ee)*y+he,(de-z)*a+we)),ze.add(new go.PathSegment(go.PathSegment.Bezier,ne*y+he,(de+ee)*a+we,(ne+ee)*y+he,(de+z)*a+we,(ne+z)*y+he,(de+ee)*a+we)),ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee-z*.5)*y+he,de*a+we,ne*y+he,(de+ee)*a+we,(ne+ee-z*.5)*y+he,(de+z)*a+we)),ze.add(new go.PathSegment(go.PathSegment.Bezier,ne*y+he,(de-ee)*a+we,(ne+ee-z*.5)*y+he,(de-z)*a+we,ne*y+he,(de-ee)*a+we).close()),E}),go.Shape.defineFigureGenerator("Email",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),E}),go.Shape.defineFigureGenerator("Ethernet",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.35*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var x=new go.PathFigure(.1*y,a,!0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var z=new go.PathFigure(.6*y,a,!0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var ee=new go.PathFigure(0,.5*a,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),E}),go.Shape.defineFigureGenerator("Power",function(te,y,a){var E=new go.Geometry,b=oe*.4,x=.4,z=.5,ee=.5,ne=pe(),de=pe(),he=pe(),we=pe();Ae(z,ee-x,z+b,ee-x,z+x,ee-b,z+x,ee,.5,ne,ne,de,he,we);var ve=Le(de.x,de.y),Oe=new go.PathFigure(de.x*y,de.y*a,!0);E.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ee*a,he.x*y,he.y*a,we.x*y,we.y*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+x)*a,(z+x)*y,(ee+b)*a,(z+b)*y,(ee+x)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ee*a,(z-b)*y,(ee+x)*a,(z-x)*y,(ee+b)*a)),Ae(z-x,ee,z-x,ee-b,z-b,ee-x,z,ee-x,.5,he,we,de,ne,ne),Oe.add(new go.PathSegment(go.PathSegment.Bezier,de.x*y,de.y*a,he.x*y,he.y*a,we.x*y,we.y*a)),b=oe*.3,x=.3,Ae(z-x,ee,z-x,ee-b,z-b,ee-x,z,ee-x,.5,he,we,de,ne,ne),Oe.add(new go.PathSegment(go.PathSegment.Line,de.x*y,de.y*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ee*a,we.x*y,we.y*a,he.x*y,he.y*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+x)*a,(z-x)*y,(ee+b)*a,(z-b)*y,(ee+x)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ee*a,(z+b)*y,(ee+x)*a,(z+x)*y,(ee+b)*a)),Ae(z,ee-x,z+b,ee-x,z+x,ee-b,z+x,ee,.5,ne,ne,de,he,we),Oe.add(new go.PathSegment(go.PathSegment.Bezier,de.x*y,de.y*a,we.x*y,we.y*a,he.x*y,he.y*a).close());var Oe=new go.PathFigure(.45*y,0,!0);return E.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),re(ne),re(de),re(he),re(we),re(ve),E.spot1=new go.Spot(.25,.45),E.spot2=new go.Spot(.75,.8),E}),go.Shape.defineFigureGenerator("Fallout",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a/2,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function x(z,ee,ne){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ee)*y,(.8+ne)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ee)*y,(.5+ne)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ee)*y,(.5+ne)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ee)*y,(.8+ne)*a).close())}return x(b,0,0),x(b,.4,0),x(b,.2,-.3),E}),go.Shape.defineFigureGenerator("IrritationHazard",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.2*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),E.spot1=new go.Spot(.3,.3),E.spot2=new go.Spot(.7,.7),E}),go.Shape.defineFigureGenerator("ElectricalHazard",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.37*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),E}),go.Shape.defineFigureGenerator("FireHazard",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),E.spot1=new go.Spot(.07,.445),E.spot2=new go.Spot(.884,.958),E}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(te,y,a){var E=new go.Geometry,b=.5,x=0,z=0,ee=b*oe,ne=.4*Math.SQRT2/2+.5,de=.5-.5*Math.SQRT2/2,he=1,we=.5,ve=.5,Oe=0,Fe=new go.PathFigure(ne*y,(1-de)*a,!1);return E.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,we*a,he*y,.7*a,he*y,we*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+x)*y,(Oe+x)*a,(.5+b+x)*y,(.5-ee+x)*a,(.5+ee+x)*y,(.5-b+x)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+z)*a,(.5-ee+x)*y,(.5-b+z)*a,(.5-b+x)*y,(.5-ee+z)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*y,.9*a,(.5-b+x)*y,(.5+ee+z)*a,(.5-ee+x)*y,.9*a)),Fe.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*y,.8*a)),Fe.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*y,.9*a)),Fe.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*y,.95*a)),E}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(y,a,!1);E.add(x);var z=new go.PathFigure(0,.5*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),E}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),E}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.7*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var x=new go.PathFigure(.45*y,.73*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),x.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),x.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),E}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(.335*y,(1-.555)*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),x.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var z=.5-.285,ee=.5,ne=z,de=Math.PI/4,he=4*(1-Math.cos(de))/(3*Math.sin(de)),we=he*.5,ve=z,Oe=z,Fe=he*ve,Ce=he*Oe;x.add(new go.PathSegment(go.PathSegment.Bezier,(ee-ve)*y,ne*a,(ee-(Fe+ve)/2)*y,(ne+(Oe+Ce)/2)*a,(ee-ve)*y,(ne+Ce)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ne-Oe)*a,(ee-ve)*y,(ne-Ce)*a,(ee-Fe)*y,(ne-Oe)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ee+ve)*y,ne*a,(ee+Fe)*y,(ne-Oe)*a,(ee+ve)*y,(ne-Ce)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ee+ve)*y,(ne+Ce)*a,(ee+(Fe+ve)/2)*y,(ne+(Oe+Ce)/2)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var ze=new go.PathFigure(.2*y,a,!1);E.add(ze),ze.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Ze=new go.PathFigure(.8*y,a,!1);return E.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),E}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var x=new go.PathFigure(.2*y,.2*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),E}),go.Shape.defineFigureGenerator("BpmnEventError",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(y,a,!1);E.add(x);var z=new go.PathFigure(.1*y,a,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("Caution",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.05*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var x=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*y,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,x*y,x*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),E}),go.Shape.defineFigureGenerator("Recycle",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.45*y,.95*a,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var x=new go.PathFigure(.475*y,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),x.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var z=new go.PathFigure(.675*y,.575*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),z.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),E}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(te,y,a){var E=new go.Geometry,b=.5,x=oe*.5,z=new go.PathFigure(y,b*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*y,a,y,(b+x)*a,(b+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-x)*y,a,0,(b+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*y,0,0,(b-x)*a,(b-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,b*a,(b+x)*y,0,y,(b-x)*a));var ee=new go.PathFigure(b*y,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*y,.15*a)),ee.add(new go.PathSegment(go.PathSegment.Move,b*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,b*y,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),E}),go.Shape.defineFigureGenerator("Package",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,.15*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),E.spot1=new go.Spot(0,.1),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Class",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(0,.5*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),E}),go.Shape.defineFigureGenerator("Component",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var x=new go.PathFigure(0,.2*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var z=new go.PathFigure(0,.6*a,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),E}),go.Shape.defineFigureGenerator("Boat Shipment",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.15*y,.6*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var x=new go.PathFigure(.15*y,.6*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E}),go.Shape.defineFigureGenerator("Customer/Supplier",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E}),go.Shape.defineFigureGenerator("Workcell",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("Supermarket",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),E}),go.Shape.defineFigureGenerator("TruckShipment",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(y,.8*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var z=.1,ee=oe*.1,ne=.2,de=.9,he=new go.PathFigure((ne-z)*y,de*a,!0);E.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(de-z)*a,(ne-z)*y,(de-ee)*a,(ne-ee)*y,(de-z)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,de*a,(ne+ee)*y,(de-z)*a,(ne+z)*y,(de-ee)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(de+z)*a,(ne+z)*y,(de+ee)*a,(ne+ee)*y,(de+z)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,de*a,(ne-ee)*y,(de+z)*a,(ne-z)*y,(de+ee)*a).close()),z=.1,ee=oe*.1,ne=.8,de=.9;var we=new go.PathFigure((ne-z)*y,de*a,!0);return E.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(de-z)*a,(ne-z)*y,(de-ee)*a,(ne-ee)*y,(de-z)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,de*a,(ne+ee)*y,(de-z)*a,(ne+z)*y,(de-ee)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(de+z)*a,(ne+z)*y,(de+ee)*a,(ne+ee)*y,(de+z)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,de*a,(ne-ee)*y,(de+z)*a,(ne-z)*y,(de+ee)*a).close()),E}),go.Shape.defineFigureGenerator("KanbanPost",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.2*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E}),go.Shape.defineFigureGenerator("Forklift",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.5*y,.8*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ee=new go.PathFigure(.5*y,.7*a,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ne=.1,de=oe*.1,he=.1,we=.9,ve=new go.PathFigure((he-ne)*y,we*a,!0);E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(we-ne)*a,(he-ne)*y,(we-de)*a,(he-de)*y,(we-ne)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(he+ne)*y,we*a,(he+de)*y,(we-ne)*a,(he+ne)*y,(we-de)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(we+ne)*a,(he+ne)*y,(we+de)*a,(he+de)*y,(we+ne)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-ne)*y,we*a,(he-de)*y,(we+ne)*a,(he-ne)*y,(we+de)*a)),ne=.1,de=oe*.1,he=.4,we=.9;var Oe=new go.PathFigure((he-ne)*y,we*a,!0);return E.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(we-ne)*a,(he-ne)*y,(we-de)*a,(he-de)*y,(we-ne)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ne)*y,we*a,(he+de)*y,(we-ne)*a,(he+ne)*y,(we-de)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(we+ne)*a,(he+ne)*y,(we+de)*a,(he+de)*y,(we+ne)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ne)*y,we*a,(he-de)*y,(we+ne)*a,(he-ne)*y,(we+de)*a)),E}),go.Shape.defineFigureGenerator("RailShipment",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,.4*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var x=new go.PathFigure(.45*y,.7*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var z=new go.PathFigure(.55*y,.4*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var he=.05,we=oe*.05,ve=.175,Oe=.95,ee=new go.PathFigure((ve-he)*y,Oe*a,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,ve*y,(Oe-he)*a,(ve-he)*y,(Oe-we)*a,(ve-we)*y,(Oe-he)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ve+he)*y,Oe*a,(ve+we)*y,(Oe-he)*a,(ve+he)*y,(Oe-we)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ve*y,(Oe+he)*a,(ve+he)*y,(Oe+we)*a,(ve+we)*y,(Oe+he)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ve-he)*y,Oe*a,(ve-we)*y,(Oe+he)*a,(ve-he)*y,(Oe+we)*a));var he=.05,we=oe*.05,ve=.375,Oe=.95,ne=new go.PathFigure((ve-he)*y,Oe*a,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ve*y,(Oe-he)*a,(ve-he)*y,(Oe-we)*a,(ve-we)*y,(Oe-he)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ve+he)*y,Oe*a,(ve+we)*y,(Oe-he)*a,(ve+he)*y,(Oe-we)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ve*y,(Oe+he)*a,(ve+he)*y,(Oe+we)*a,(ve+we)*y,(Oe+he)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ve-he)*y,Oe*a,(ve-we)*y,(Oe+he)*a,(ve-he)*y,(Oe+we)*a));var he=.05,we=oe*.05,ve=.625,Oe=.95,de=new go.PathFigure((ve-he)*y,Oe*a,!0);E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ve*y,(Oe-he)*a,(ve-he)*y,(Oe-we)*a,(ve-we)*y,(Oe-he)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ve+he)*y,Oe*a,(ve+we)*y,(Oe-he)*a,(ve+he)*y,(Oe-we)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ve*y,(Oe+he)*a,(ve+he)*y,(Oe+we)*a,(ve+we)*y,(Oe+he)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ve-he)*y,Oe*a,(ve-we)*y,(Oe+he)*a,(ve-he)*y,(Oe+we)*a));var he=.05,we=oe*.05,ve=.825,Oe=.95,Fe=new go.PathFigure((ve-he)*y,Oe*a,!0);E.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*y,(Oe-he)*a,(ve-he)*y,(Oe-we)*a,(ve-we)*y,(Oe-he)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+he)*y,Oe*a,(ve+we)*y,(Oe-he)*a,(ve+he)*y,(Oe-we)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*y,(Oe+he)*a,(ve+he)*y,(Oe+we)*a,(ve+we)*y,(Oe+he)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-he)*y,Oe*a,(ve-we)*y,(Oe+he)*a,(ve-he)*y,(Oe+we)*a).close());var Ce=new go.PathFigure(0,a,!1);return E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E}),go.Shape.defineFigureGenerator("Warehouse",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(.15*y,a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ee=.05,ne=oe*.05,de=.35,he=.775,we=new go.PathFigure((de-ee)*y,he*a,!0);return E.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(he-ee)*a,(de-ee)*y,(he-ne)*a,(de-ne)*y,(he-ee)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(de+ee)*y,he*a,(de+ne)*y,(he-ee)*a,(de+ee)*y,(he-ne)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(he+ee)*a,(de+ee)*y,(he+ne)*a,(de+ne)*y,(he+ee)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(de-ee)*y,he*a,(de-ne)*y,(he+ee)*a,(de-ee)*y,(he+ne)*a).close()),E}),go.Shape.defineFigureGenerator("ControlCenter",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),E}),go.Shape.defineFigureGenerator("Bluetooth",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E}),go.Shape.defineFigureGenerator("Bookmark",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E}),go.Shape.defineFigureGenerator("Bookmark",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E}),go.Shape.defineFigureGenerator("Globe",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),E}),go.Shape.defineFigureGenerator("Wave",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),E}),go.Shape.defineFigureGenerator("Operator",function(te,y,a){var E=new go.Geometry,b=.3,x=oe*.3,z=.5,ee=.7,ne=new go.PathFigure((z-b)*y,ee*a,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-x)*a,(z-x)*y,(ee-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+x)*y,(ee-b)*a,(z+b)*y,(ee-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+x)*a,(z+x)*y,(ee+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-x)*y,(ee+b)*a,(z-b)*y,(ee+x)*a));var de=new go.PathFigure(0,.7*a,!1);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),E}),go.Shape.defineFigureGenerator("TripleFanBlades",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),E}),go.Shape.defineFigureGenerator("CentrifugalPump",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),E}),go.Shape.defineFigureGenerator("Battery",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var x=new go.PathFigure(0,.6*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E}),go.Shape.defineFigureGenerator("Delete",function(te,y,a){var E=new go.Geometry,b=.5,x=oe*.5,z=.5,ee=.5,ne=new go.PathFigure((z-b)*y,ee*a,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-x)*a,(z-x)*y,(ee-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+x)*y,(ee-b)*a,(z+b)*y,(ee-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+x)*a,(z+x)*y,(ee+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-x)*y,(ee+b)*a,(z-b)*y,(ee+x)*a));var de=new go.PathFigure(.15*y,.5*a,!1);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),E}),go.Shape.defineFigureGenerator("Flag",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),E}),go.Shape.defineFigureGenerator("Help",function(te,y,a){var E=new go.Geometry,b=.5,x=oe*.5,z=.5,ee=.5,ne=new go.PathFigure((z-b)*y,ee*a,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-x)*a,(z-x)*y,(ee-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+x)*y,(ee-b)*a,(z+b)*y,(ee-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+x)*a,(z+x)*y,(ee+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-x)*y,(ee+b)*a,(z-b)*y,(ee+x)*a).close()),b=.05,x=oe*.05,z=.5,ee=.8;var de=new go.PathFigure((z-b)*y,ee*a,!1);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-x)*a,(z-x)*y,(ee-b)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+x)*y,(ee-b)*a,(z+b)*y,(ee-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+x)*a,(z+x)*y,(ee+b)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-x)*y,(ee+b)*a,(z-b)*y,(ee+x)*a).close()),de.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),de.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),E}),go.Shape.defineFigureGenerator("Location",function(te,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),E}),go.Shape.defineFigureGenerator("Unlocked",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),E}),go.Shape.defineFigureGenerator("Gear",function(te,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),E}),go.Shape.defineFigureGenerator("Map",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E}),go.Shape.defineFigureGenerator("Eject",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var x=new go.PathFigure(0,a*.6,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),E}),go.Shape.defineFigureGenerator("Pencil",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y*1,a*1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var x=new go.PathFigure(.126*y,.85*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var z=new go.PathFigure(.402*y,.85*a,!1);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var ee=new go.PathFigure(.678*y,.85*a,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var ne=new go.PathFigure(.5*y,.1*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),E}),go.Shape.defineFigureGenerator("Staircase",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),E}),go.Shape.defineFigureGenerator("5Bars",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a*1,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var x=new go.PathFigure(y*.204,a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var z=new go.PathFigure(y*.408,a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var ee=new go.PathFigure(y*.612,a,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ee.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var ne=new go.PathFigure(y*.816,a,!0);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),ne.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),E}),go.Shape.defineFigureGenerator("PC",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var x=new go.PathFigure(y*.055,.07*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var z=new go.PathFigure(y*.055,.13*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),z.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var ee=new go.PathFigure(y*.055,.18*a,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var ne=new go.PathFigure(y*1,0,!0);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),ne.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),E}),go.Shape.defineFigureGenerator("Plane",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(.55*y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),E}),go.Shape.defineFigureGenerator("Key",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y*1,a*.5,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),E}),go.Shape.defineFigureGenerator("FilmTape",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var x=new go.PathFigure(0,0,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var z=new go.PathFigure(y*.11,a*.1,!1);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),z.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var ee=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var ne=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),E}),go.Shape.defineFigureGenerator("FloppyDisk",function(te,y,a){var E=new go.Geometry,b=8,x=b*oe,z=new go.PathFigure(b,0,!1);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,x,a,0,a-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,x,x,0).close());var ee=new go.PathFigure(y*.83,0,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var ne=new go.PathFigure(y*.83,a*1,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var de=new go.PathFigure(y*.78,a*.05,!1);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),de.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),de.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),E}),go.Shape.defineFigureGenerator("SpeechBubble",function(te,y,a){var E=te?te.parameter1:NaN;(isNaN(E)||E<0)&&(E=15),E=Math.min(E,y/3),E=Math.min(E,a/3);var b=E*oe,x=a*.8,z=new go.Geometry,ee=new go.PathFigure(E,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y-E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,E,y-b,0,y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,y,x-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y-E,x,y,x-b,y-b,x)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.7,x)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.55,x)),ee.add(new go.PathSegment(go.PathSegment.Line,E,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x-E,b,x,0,x-b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*.45,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var x=new go.PathFigure(y*1,a*.55,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),E}),go.Shape.defineFigureGenerator("Windows",function(te,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*.1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var x=new go.PathFigure(y*.1,a*.2,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var z=new go.PathFigure(y*.28,a*.37,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),z.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),E}),go.Shape.defineFigureGenerator("Beaker",function(te,y,a){var E=new go.Geometry,b=15,x=b*oe,z=new go.PathFigure(y*.62,a*.475,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,x,a,0,a-x)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),z.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),x>1?(E.spot1=new go.Spot(0,0,x,x),E.spot2=new go.Spot(1,1,-x,-x)):(E.spot1=go.Spot.TopLeft,E.spot2=go.Spot.BottomRight),E}),go.Shape.defineFigureGenerator("Download",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.4,a*0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),z.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),E}),go.Shape.defineFigureGenerator("Bin",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close()),E}),go.Shape.defineFigureGenerator("Upload",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.5,a*0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),E}),go.Shape.defineFigureGenerator("EmptyDrink",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),E}),go.Shape.defineFigureGenerator("Drink",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var x=new go.PathFigure(y*.235,a*.28,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),x.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),x.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),E}),go.Shape.defineFigureGenerator("4Arrows",function(te,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.5,a*0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),E}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},5559: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 Gt={},Ht="5.0",Le={},pe=null,re=!1,Ie=!1,Ae=null,Se=!1,Pe=null,oe=null,ue=0;ue4?parseFloat(Re):5};Gt.setHTML5Codebase=function(Re,it){oe=Re,Te(Re,it)},Gt.setJavaCodebase=Gt.setJavaCodebaseVersion=Gt.isCompiledInstalled=Gt.setPreCompiledScriptPath=Gt.setPreCompiledResourcePath=function(){},Gt.setHTML5CodebaseVersion=function(Re,it){var st=parseFloat(Re);if(st!==NaN&&st<5){console.log("The GeoGebra HTML5 codebase version "+st+" is deprecated. Using version latest instead.");return}Pe=Re,Ye(Re,it)},Gt.getHTML5CodebaseVersion=function(){return te},Gt.getParameters=function(){return Le},Gt.setFontsCSSURL=function(Re){z=Re},Gt.setGiacJSURL=function(Re){},Gt.setJNLPFile=function(Re){fe=Re},Gt.setJNLPBaseDir=function(Re){},Gt.inject=function(){function Re(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var it="auto",st=Le.id,Pt,lt=!1,Et=0;Et=5)return!0;var Re=Gt.getAppletObject();return Re&&typeof Re.recalculateEnvironments=="function"?(Re.recalculateEnvironments(),!0):!1},Gt.startAnimation=function(){var Re=Gt.getAppletObject();return Re&&typeof Re.startAnimation=="function"?(Re.startAnimation(),!0):!1},Gt.stopAnimation=function(){var Re=Gt.getAppletObject();return Re&&typeof Re.stopAnimation=="function"?(Re.stopAnimation(),!0):!1},Gt.getAppletObject=function(){var Re=Le.id!==void 0?Le.id:"ggbApplet";return window[Re]},Gt.resize=function(){};var Fe=function(Re,it,st){var Pt=document.createElement("param");Pt.setAttribute("name",it),Pt.setAttribute("value",st),Re.appendChild(Pt)},Ce=function(Re){return Re&&Re!=="false"},ze=function(Re,it,st){ne(te)<=4.2&&(st=!0);var Pt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Pt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var lt=document.createElement("div");lt.classList.add("appletParameters","notranslate");var Et=it.width,at=it.height;if(it.disableAutoScale=it.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():it.disableAutoScale,it.width!==void 0)if(ne(te)<=4.4)Ce(it.showToolBar)&&(it.height-=7),Ce(it.showAlgebraInput)&&(it.height-=37),it.width<605&&Ce(it.showToolBar)&&(it.width=605,Et=605);else{var $e=100;(Ce(it.showToolBar)||Ce(it.showMenuBar))&&(it.hasOwnProperty("customToolBar")&&(it.customToolbar=it.customToolBar),$e=Ce(it.showMenuBar)?245:155),Et<$e&&(it.width=$e,Et=$e)}lt.style.border="none",lt.style.display="inline-block";for(var ot in it)it.hasOwnProperty(ot)&&ot!=="appletOnLoad"&<.setAttribute("data-param-"+ot,it[ot]);z&<.setAttribute("data-param-fontscssurl",z),Gt.resize=function(){GGBAppletUtils.responsiveResize(Re,it)},window.addEventListener("resize",function(Ne){Gt.resize()});var vt=typeof it.appletOnLoad=="function"?it.appletOnLoad:function(){};if(!st&&it.width!==void 0){it.hasOwnProperty("showSplash")||lt.setAttribute("data-param-showSplash","false");var Qe=Re.querySelector(".applet_scaler.prerender"),je=Qe!==null;if(je)var qe=Qe.querySelector(".ggb_preview");else{var qe=Xe(Et,at,it.borderColor,!1);Qe=document.createElement("div"),Qe.className="applet_scaler",Qe.style.position="relative",Qe.style.display="block",Qe.style.width=Et+"px",Qe.style.height=at+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Qe,"66%"),ne(te)>=5?(it.appletOnLoad=function(Ne){var We=Re.querySelector(".ggb_preview");We&&We.parentNode.removeChild(We),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Qe),window.GGBT_wsf_view&&$(window).trigger("resize"),vt(Ne)},je||Qe.appendChild(qe)):lt.appendChild(qe),Qe.appendChild(lt),je||Re.appendChild(Qe),setTimeout(function(){Gt.resize()},1)}else{var Ue=document.createElement("div");Ue.className="applet_scaler",Ue.style.position="relative",Ue.style.display="block",Ue.appendChild(lt),Re.appendChild(Ue),it.appletOnLoad=function(Ne){Gt.resize(),vt(Ne)}}function Ge(Ne,We){We&&typeof We.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ne,We.appletOnLoad):renderGGBElement(Ne),Me("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",We)}function Be(Ne,We){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ne,params:We}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(bt){Ge(bt.article,bt.params)}),html5AppletsToProcess=null)},ne(te)<5&&(Ne.className+=" geogebraweb")):Ge(Ne,We)}if(Pt){scriptLoadStarted=!0;for(var ae=0;ae0?(ot.remove(),Qe.attr("id","fullscreencontent").show(),jQuery(vt).append(Qe),window.dispatchEvent(new Event("resize"))):ze(ot,it,!1),window.GGBT_wsf_view.launchFullScreen(vt)}else ge=Pt,ze(Re,it,!1);if(!window.GGBT_wsf_view)for(at=0;at<$e.length;at++)Re.removeChild($e[at])},Et=Re.getElementsByClassName("ggb_preview_play"),at=0;atRe/4*3&&(ot=Re/4*3),vt=ot/5.8,$e.setAttribute("src",b),$e.setAttribute("width",ot),$e.setAttribute("height",vt);var Qe=(Re-ot)/2,je=(it-vt)/2;$e.style.left=Qe+"px",$e.style.top=je+"px",lt.appendChild($e)}}return lt.appendChild(at),lt},ht=function(Re){return Re=Re.toLowerCase(),Re==="html5"||Re==="screenshot"?Re:"html5"},ct=["web","webSimple","web3d","tablet","tablet3d","phone"],Ye=function(Re,it){if(te=Re,it){Te(te,!0);return}var st=!re;if(st){var Pt=ne(te);!isNaN(Pt)&&Pt<4.4&&(st=!1)}var lt,Et;window.location.protocol.substr(0,4)==="http"?lt=window.location.protocol:lt="http:";var at=te.indexOf("//");at>0?Et=te:at===0?Et=lt+te:Et="https://www.geogebra.org/apps/5.2.814.0/";for(var $e in ct)if(te.slice(ct[$e].length*-1)===ct[$e]||te.slice((ct[$e].length+1)*-1)===ct[$e]+"/"){Te(Et,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&st&&!pe.is3D&&!pe.AV&&!pe.SV&&!pe.CV&&!pe.EV2&&!pe.CP&&!pe.PC&&!pe.DA&&!pe.FI&&!pe.PV&&!Ce(Le.showToolBar)&&!Ce(Le.showMenuBar)&&!Ce(Le.showAlgebraInput)&&!Ce(Le.enableRightClick)&&(!Le.appName||Le.appName=="classic")?Et+="webSimple/":Et+="web3d/",Te(Et,!1)},Te=function(Re,it){if(Re.requirejs){se=Re;return}Re.slice(-1)!=="/"&&(Re+="/"),se=Re,it===null&&(it=Re.indexOf("http")===-1),ce=it,y="web.nocache.js",a=!1;var st=se.split("/");st.length>1&&(!it&&st[st.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):ct.indexOf(st[st.length-2])>=0&&(y=st[st.length-2]+".nocache.js")),st=Re.split("/"),te=st[st.length-3],te.substr(0,4)==="test"?te=te.substr(4,1)+"."+te.substr(5,1):(te.substr(0,3)==="war"||te.substr(0,4)==="beta")&&(te="5.0");var Pt=parseFloat(te);Pt!==NaN&&Pt<5&&Re.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Pt+" is deprecated. Using version latest instead."),Ye("5.0",it))},Me=function(Re,it){window.console&&window.console.log&&(!it||typeof it.showLogging=="undefined"||it.showLogging&&it.showLogging!=="false")&&console.log(Re)};Le.material_id!==void 0?we(He):He();function He(){var Re=Ht;Pe!==null?Re=Pe:parseFloat(Re)<5&&(Re="5.0"),Ye(Re,!1),oe!==null&&Te(oe,ce),Se=!0}return Gt},GGBAppletUtils=function(){"use strict";function Gt(){return window.GGBT_wsf_edit!==void 0}function Ht(Se,Pe){Pe!=1?(Se.style.transformOrigin="0% 0% 0px",Se.style.webkitTransformOrigin="0% 0% 0px",Se.style.transform="scale("+Pe+","+Pe+")",Se.style.webkitTransform="scale("+Pe+","+Pe+")",Se.style.maxWidth="initial",Se.querySelector(".ggb_preview")!==null&&(Se.querySelector(".ggb_preview").style.maxWidth="initial"),Se.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Se.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Se.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Se.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Se.style.transform="none",Se.style.webkitTransform="none")}function Le(Se,Pe,oe,ue,ye,fe){var se=null;if(fe!=null&&fe!="")for(var ce=Se.parentNode;ce!=null;)if((" "+ce.className+" ").indexOf(" "+fe+" ")>-1){se=ce;break}else ce=ce.parentNode;var ge=0,te=0,y=0,a=0,E=0,b=0,x=0;if(se)ge=se.offsetWidth,te=Math.max(ue?se.offsetWidth:0,se.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ge=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),y=ge):(ge=window.innerWidth,te=window.innerHeight,y=window.innerWidth),Se){var z=Se.getBoundingClientRect();z.left>0&&z.left<=ge&&(ye===void 0||!ye)&&(document.dir==="rtl"?(E=ge-z.width-z.left,b=y<=480?10:30):(b=z.left,E=y<=480?10:30),a=b+E)}if(Se&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ee=Se.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return Se&&((oe===void 0||!oe)&&Pe>0&&Pe+a1&&(fe=!0)),Pe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(fe=!0),!(Se.hasOwnProperty("disableAutoScale")&&Se.disableAutoScale))ye=pe(Se,Pe,fe,oe,Se.scaleContainerClass);else return ue;return fe&&(!Se.hasOwnProperty("scale")||ue===1)?ye:Math.min(ue,ye)}function Ie(Se){var Pe=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),ue=Se.getBoundingClientRect(),ye=(Pe-ue.width)/2,fe=(oe-ue.height)/2;fe<0&&(fe=0),Se.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ye<40?Se.style.left="40px":Se.style.left=ye+"px",Se.style.top=fe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(fe<40?Se.style.top="40px":Se.style.top=fe+"px",Se.style.left=ye+"px")}function Ae(Se,Pe){var oe=Se.querySelector(".appletParameters");if(oe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Pe.id!==oe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Se)}if(oe.parentElement&&/fullscreen/.test(oe.parentElement.className))return;var ue=re(Pe,Se);Gt()&&oe.setAttribute("data-param-scale",ue);for(var ye=null,fe=0;fe=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(Gt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Gt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Gt){var Ht=c[Gt];return Ht==null?null:Ht},r=d,webModule.__errFn=e}function B(){function Gt(Se){var Pe=Se.lastIndexOf(rb);Pe==-1&&(Pe=Se.length);var oe=Se.indexOf(sb);oe==-1&&(oe=Se.length);var ue=Se.lastIndexOf(tb,Math.min(oe,Pe));return ue>=O?Se.substring(O,ue+P):W}function Ht(Se){if(!Se.match(/^\w+:\/\//)){var Pe=o.createElement(ub);Pe.src=Se+vb,Se=Gt(Pe.src)}return Se}function Le(){var Se=__gwt_getMetaProperty(wb);return Se!=null?Se:W}function pe(){for(var Se=o.getElementsByTagName(_),Pe=O;PeO?Se[Se.length-P].href:W}function Ie(){var Se=o.location;return Se.href==Se.protocol+zb+Se.host+Se.pathname+Se.search+Se.hash}var Ae=Le();return Ae==W&&(Ae=pe()),Ae==W&&(Ae=re()),Ae==W&&Ie()&&(Ae=Gt(o.location.href)),Ae=Ht(Ae),Ae}function C(Gt){return Gt.match(/^\//)||Gt.match(/^[a-zA-Z]+:\/\//)?Gt:webModule.__moduleBase+Gt}function D(){var Gt=[],Ht=O,Le=[],pe=[];function re(Se){var Pe=pe[Se](),oe=Le[Se];if(Pe in oe)return Pe;var ue=[];for(var ye in oe)ue[oe[ye]]=ye;throw r&&r(Se,ue,Pe),null}if(__gwt_isKnownPropertyValue=function(Se,Pe){return Pe in Le[Se]},webModule.__getPropMap=function(){var Se={};for(var Pe in Le)Le.hasOwnProperty(Pe)&&(Se[Pe]=re(Pe));return Se},webModule.__computePropValue=re,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ie;try{Ie=Cb;var Ae=Ie.indexOf(Db);Ae!=-1&&(Ht=parseInt(Ie.substring(Ae+P),$),Ie=Ie.substring(O,Ae))}catch(Se){}return webModule.__softPermutationId=Ht,C(Ie+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/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})()},51555:function(Gt,Ht,Le){"use strict";Le.d(Ht,{$Y:function(){return Et},A0:function(){return it},EP:function(){return Se},F_:function(){return ue},Fk:function(){return Ge},G9:function(){return oe},GB:function(){return Te},GR:function(){return b},GW:function(){return Pt},Hh:function(){return Be},Hp:function(){return ge},Ir:function(){return re},N$:function(){return Me},NZ:function(){return rt},Nv:function(){return Ue},OA:function(){return Qe},OJ:function(){return Xe},QF:function(){return We},RS:function(){return de},RY:function(){return Ee},Rj:function(){return Je},SX:function(){return ve},Tp:function(){return at},Ui:function(){return Re},V1:function(){return ct},Vn:function(){return we},dL:function(){return qe},fo:function(){return Fe},gG:function(){return Ce},gK:function(){return E},hK:function(){return te},i3:function(){return fe},ib:function(){return y},lS:function(){return a},m5:function(){return Pe},n4:function(){return pe},n_:function(){return se},oP:function(){return $e},p2:function(){return st},pl:function(){return Ze},rM:function(){return ee},sM:function(){return ce},t2:function(){return he},tD:function(){return x},u8:function(){return z},um:function(){return Ne},vm:function(){return je},wQ:function(){return ye},wj:function(){return ht},wt:function(){return ze},yS:function(){return ne},yi:function(){return Ie},ym:function(){return dt},z2:function(){return Ae}});const pe="FETCH_TASK_START",re="FETCH_TASK_FAILURE",Ie="FETCH_TASK_SUCCESS",Ae="UPDATE_TASK_DATA",Se="HIDE_EVALUATE_RESULT",Pe="SHOW_EVALUATE_RESULT",oe="UPDATE_TIMESTRAP",ue="MOVE_X",ye="MOVE_Y",fe="TRIGGER_RIGHT_PANEL_MASK ",se="SET_ACTIVE_INDEX",ce="GET_TASK_LIST",ge="SHOW_TASK_LIST",te="HIDE_TASK_LIST",y="SET_TASK_STAR",a="TRIGGER_ENLARGE_UNITY3D ",E="TRIGGER_TAB_FIXED ",b="GET_DISCUSSES",x="SHOW_DISCUSSES_LOADING",z="TOP_OR_DOWN_DISCUSS",ee="PLUS_DISCUSS",ne="SET_ACTION_TYPE",de="SHOW_REWARD_DIALOG",he="CANCEL_REWARD_DIALOG",we="SET_REWARD",ve="ACTIVE_DISCUSS_INDEX",Oe="CREATE_DISCUSS",Fe="DISABLE_DISCUSS",Ce="CHANGE_PAGE",ze="SHOW_ANSWER_LOADING",Ze="FETCH_ANSWER_INFO",rt="HIGH_TIP_MODAL",Je="SHOW_TIP_MODAL",dt="SELECT_UNLOCK_ANSWER",Xe="SET_CHOOSE_ANSWERS",ht="EVAL_CHOOSE_START",ct="EVAL_CHOOSE_END",Ye="SHOW_REP_loading",Te="FETCH_REP_CONTENT",Me="EDIT_REP_CONTENT",He="SET_REP_PATH",Re="SHOW_EVALUATE_LOADING",it="HIDE_EVALUATE_LOADING",st="SET_EVALUATE_MESSAGE",Pt="SET_SHOW_DIR",lt="SET_EDITOR_SETTING",Et="SET_EDITOR_THEME",at="SET_EDITOR_FONTSIZE",$e="SET_REPOS",ot="SHOW_PATH_LIST",vt="HIDE_PATH_LIST",Qe="HIDE_PICTURE_VIEW",je="SHOW_PICTURE_VIEW",qe="SHOW_NOTICE",Ue="HIDE_NOTICE",Ge="SHOW_CASE_NOTICE",Be="HIDE_CASE_NOTICE",ae="SET_TAB_INDEX",ie="SET_SSH_TABS",be="SET_SSH_CONFIGDATA",xe="SET_SSH_CONFIGDATAARR",Ee="SET_VNC_LOADING ",Ne="ON_TAB_TO_SPACE ",We="ON_AUTO_FORMAT "},49291:function(Gt,Ht,Le){"use strict";Le.d(Ht,{Ax:function(){return Ae},Ds:function(){return Se},KI:function(){return oe},SI:function(){return Ie},f1:function(){return re}});var pe=Le(38446);function re(ue){let ye=!0;if(ue.length>0){for(let fe=0;fea in y?Ie(y,a,{enumerable:!0,configurable:!0,writable:!0,value:E}):y[a]=E,fe=(y,a)=>{for(var E in a||(a={}))oe.call(a,E)&&ye(y,E,a[E]);if(Pe)for(var E of Pe(a))ue.call(a,E)&&ye(y,E,a[E]);return y},se=(y,a)=>Ae(y,Se(a)),ce=(y,a)=>{var E={};for(var b in y)oe.call(y,b)&&a.indexOf(b)<0&&(E[b]=y[b]);if(y!=null&&Pe)for(var b of Pe(y))a.indexOf(b)<0&&ue.call(y,b)&&(E[b]=y[b]);return E},ge=(y,a,E)=>new Promise((b,x)=>{var z=de=>{try{ne(E.next(de))}catch(he){x(he)}},ee=de=>{try{ne(E.throw(de))}catch(he){x(he)}},ne=de=>de.done?b(de.value):Promise.resolve(de.value).then(z,ee);ne((E=E.apply(y,a)).next())});const te=y=>{var a=y,{children:E}=a,b=ce(a,["children"]);const[x,z]=(0,re.useState)(!1);return re.createElement(pe.ZP,se(fe({},b),{loading:x,onClick:ee=>ge(void 0,null,function*(){try{z(!0),yield b.onClick(ee),z(!1)}catch(ne){console.error(ne),z(!1)}})}),E)}},66701:function(Gt,Ht,Le){"use strict";Le.d(Ht,{Z:function(){return fe}});var pe=Le(59301),re=Le(3113),Ie=Le(8591),Ae=Le(54580),Se=Le(32050),Pe=Le(19248),oe=Le(38446),ue={img:"img___BgL9D"},fe=({value:se,onChange:ce,getFileProgress:ge})=>{const[te,y]=(0,pe.useState)(!1),a=pe.createElement(re.ZP,{loading:te,icon:pe.createElement(Se.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),E=()=>pe.createElement("div",{className:ue.img},pe.createElement("img",{src:oe.Z.API_SERVER+"/api/attachments/"+se,alt:"avatar",style:{width:288}}),pe.createElement("div",null,pe.createElement(Pe.Z,{onClick:()=>ce(""),style:{fontSize:"16px",color:"red"}}))),b=x=>{var z,ee,ne,de,he,we;if(ge&&ge(x),x.file.status==="uploading"){y(!0);return}if(x.file.status==="done"){if(y(!1),x.file.status==="done"&&((ee=(z=x.file)==null?void 0:z.response)==null?void 0:ee.status)===-1){Ie.ZP.error((de=(ne=x.file)==null?void 0:ne.response)==null?void 0:de.message);return}ce((we=(he=x==null?void 0:x.file)==null?void 0:he.response)==null?void 0:we.id)}};return pe.createElement(pe.Fragment,null,se?E():pe.createElement("div",null,pe.createElement(Ae.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${oe.Z.API_SERVER}/api/attachments.json`,onChange:b,accept:"image/*"},a),pe.createElement("div",{className:"mt20 c-light-black"},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u7528288*158\u50CF\u7D20\uFF1B"),pe.createElement("div",{className:"c-light-black"},"\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002")))}},14573:function(Gt,Ht,Le){"use strict";Le.d(Ht,{Z:function(){return se}});var pe=Le(59301),re={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ie=Le(92310),Ae=Le.n(Ie),Se=Le(71418),Pe=Le(2859),oe=Le(7660),ue=Le(88230),ye=(ce,ge,te)=>new Promise((y,a)=>{var E=z=>{try{x(te.next(z))}catch(ee){a(ee)}},b=z=>{try{x(te.throw(z))}catch(ee){a(ee)}},x=z=>z.done?y(z.value):Promise.resolve(z.value).then(E,b);x((te=te.apply(ce,ge)).next())}),se=({data:ce,className:ge,fullWidth:te,style:y={},onClose:a,onOk:E,showFullTools:b,noAssociationId:x})=>{const z=(0,pe.useRef)(null),ee=(0,pe.useRef)(null),ne=(0,pe.useRef)(null),de=(0,pe.useRef)(null),[he,we]=(0,pe.useState)(!1),[ve,Oe]=(0,pe.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,pe.useEffect)(()=>{ne.current||(ne.current=document.createElement("style"),document.head.appendChild(ne.current)),ce!=null&&ce.visible?(document.body.setAttribute("data-custom","y-hidden"),ne.current.innerHTML=" html { overflow-y: hidden; }",ce!=null&&ce.src&&Fe()):(document.body.removeAttribute("data-custom"),ne.current&&(document.head.removeChild(ne.current),ne.current=null))},[ce==null?void 0:ce.visible]);const Fe=()=>ye(void 0,null,function*(){we(!0),Oe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Je=yield(0,ue.ZJ)(ce==null?void 0:ce.src);z.current.src="",z.current.src=Je,z.current.onload=function(){rt()},we(!1),Oe("")}),Ce=()=>{document.body.removeAttribute("data-custom"),ne.current.innerHTML=" ",a()},ze=Je=>ye(void 0,null,function*(){we(!0),Oe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const dt=yield(0,oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ce.title,file:Je.dataUrl}});dt!=null&&dt.id&&!x?(yield(0,oe.ZP)(`/api/attachments/${ce.id}/add_subitem.json`,{method:"post",body:{subitem_id:dt==null?void 0:dt.id,settings:JSON.stringify(Je.state)}})).status===0&&E():dt!=null&&dt.id&&E(dt),document.body.removeAttribute("data-custom"),ne.current.innerHTML=" ",we(!1),Oe("")}),Ze=()=>{const Je=document.querySelector('a[href="https://markerjs.com/"]');Je&&Je.parentNode&&(Je.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(Xe=>{const ht=document.querySelector(Xe.name);ht&&ht.setAttribute("title",Xe.title)})},rt=()=>{ee.current=new Pe.hP(z.current),ee.current.targetRoot=de.current,ee.current.addEventListener("render",ze),ee.current.addEventListener("beforeclose",Ce),b&&(ee.current.availableMarkerTypes=ee.current.ALL_MARKER_TYPES,ee.current.uiStyleSettings.redoButtonVisible=!0,ee.current.uiStyleSettings.notesButtonVisible=!0,ee.current.uiStyleSettings.zoomButtonVisible=!0,ee.current.uiStyleSettings.zoomOutButtonVisible=!0,ee.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ee.current.uiStyleSettings,ee.current.show(),ce!=null&&ce.snapshotData&&ee.current.restoreState(ce.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ze()},300)};return pe.createElement(pe.Fragment,null,(ce==null?void 0:ce.visible)&&pe.createElement(Se.Z,{spinning:he,tip:ve,style:{position:"absolute"}},pe.createElement("div",{ref:de,className:Ae()(re.imageDimensions,ge,te?re.fullWidth:""),style:y},pe.createElement("img",{className:re.img,ref:z}))))}},46531:function(Gt,Ht,Le){"use strict";var pe=Le(59301),re=Le(95237),Ie=Le(43604),Ae=Le(99313),Se=Le(3113),Pe=Le(99325),oe=Le(11570),ue=Le(48136),ye=Le(59301);const fe=(0,pe.forwardRef)(({callback:se,showSaveButton:ce,value:ge=""},te)=>{const y=(0,pe.useRef)(),a=[{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 "}]}]}],E=[{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}`}]}]}],b=ee=>{y.current.setValue(y.current.getValue()+" "+ee.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ye.createElement(re.Z,{className:oe.Z.lists,gutter:[10,10]},a.map((ee,ne)=>ye.createElement(Ie.Z,{flex:"110px",className:oe.Z.item},ye.createElement("div",null,ye.createElement(Pe.Z,{value:`$$${ee.value}$$`}),ee.name),ye.createElement("div",{className:oe.Z.children},ee.children.map((de,he)=>ye.createElement("div",{key:he},ye.createElement("h1",null,de.name),ye.createElement(re.Z,{gutter:[10,10]},de.data.map((we,ve)=>ye.createElement(Ie.Z,{key:ve,onClick:()=>b(we),className:oe.Z.diamond},ye.createElement(Pe.Z,{value:"`$$"+we.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ye.createElement(re.Z,{className:oe.Z.lists,gutter:[10,10]},E.map((ee,ne)=>ye.createElement(Ie.Z,{flex:"110px",className:oe.Z.item},ye.createElement("div",null,ye.createElement(Pe.Z,{value:"`$$"+ee.value+"$$`"}),ee.name),ye.createElement("div",{className:oe.Z.children},ee.children.map((de,he)=>ye.createElement("div",{key:he},de.name&&ye.createElement("h1",null,de.name),ye.createElement(re.Z,{gutter:[10,10]},de.data.map((we,ve)=>ye.createElement(Ie.Z,{key:ve,onClick:()=>b(we),className:oe.Z.diamond},ye.createElement(Pe.Z,{value:"`$$"+we.value+"$$`"}))))))))))}],z=()=>{var ee=document.createElement("div");ee.innerHTML=y.current.getValue();var ne=ee.innerText;return se&&se(ne),ne};return(0,pe.useImperativeHandle)(te,()=>({getData:z})),ye.createElement("div",{className:oe.Z.mathWrap},ye.createElement(Ae.default,{defaultActiveKey:"1",items:x}),ye.createElement("math-field",{locale:"zh_cn",className:oe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},ge||""),ce&&ye.createElement("div",{className:oe.Z.button},ye.createElement(Se.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ht.Z=fe},17696:function(Gt,Ht,Le){"use strict";Le.d(Ht,{z:function(){return ht},Z:function(){return ct}});var pe=Le(59301),re=Le(54580),Ie=Le(8591),Ae=Le(43418),Se=Le(3113),Pe=Le(38446),oe=Le(59674),ue=Object.defineProperty,ye=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(Ye,Te,Me)=>Te in Ye?ue(Ye,Te,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Ye[Te]=Me,ge=(Ye,Te)=>{for(var Me in Te||(Te={}))fe.call(Te,Me)&&ce(Ye,Me,Te[Me]);if(ye)for(var Me of ye(Te))se.call(Te,Me)&&ce(Ye,Me,Te[Me]);return Ye},te=(Ye,Te,Me)=>new Promise((He,Re)=>{var it=lt=>{try{Pt(Me.next(lt))}catch(Et){Re(Et)}},st=lt=>{try{Pt(Me.throw(lt))}catch(Et){Re(Et)}},Pt=lt=>lt.done?He(lt.value):Promise.resolve(lt.value).then(it,st);Pt((Me=Me.apply(Ye,Te)).next())});const y="\u3000\u3000";function a(Ye){var Te=["Bytes","KB","MB","GB","TB"];if(Ye==0)return"0 Byte";var Me=parseInt(""+Math.floor(Math.log(Ye)/Math.log(1024)),10);return(Ye/Math.pow(1024,Me)).toFixed(1)+" "+Te[Me]}var E=({value:Ye=[],action:Te,onChange:Me,className:He,maxSize:Re=150,title:it="\u6587\u4EF6\u4E0A\u4F20",accept:st=null})=>{const Pt={multiple:!1,fileList:Ye,accept:st,withCredentials:!0,beforeUpload:Et=>Et.size/1024/1024(je.name.indexOf(y)===-1&&(je.name=`${je.name}${y}${a(je.size)}`),ge({},je))),Et.file.status==="done"&&(($e=(at=Et.file)==null?void 0:at.response)==null?void 0:$e.status)===-1){message.error((vt=(ot=Et.file)==null?void 0:ot.response)==null?void 0:vt.message),Me([]);return}Me(Qe)},onRemove:Et=>te(void 0,null,function*(){const at=Et.size/1024/1024;return Et.status==="uploading"?!0:at0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:Ye.length>0,ghost:!0},it),React.createElement("span",{onClick:lt,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",Re,"M)"," ")))},b=Le(61481),x=Le(89392),z=Object.defineProperty,ee=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,he=(Ye,Te,Me)=>Te in Ye?z(Ye,Te,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Ye[Te]=Me,we=(Ye,Te)=>{for(var Me in Te||(Te={}))ne.call(Te,Me)&&he(Ye,Me,Te[Me]);if(ee)for(var Me of ee(Te))de.call(Te,Me)&&he(Ye,Me,Te[Me]);return Ye};const ve=Ye=>React.createElement("svg",we({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Ye),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Oe="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",Fe=Object.defineProperty,Ce=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,rt=(Ye,Te,Me)=>Te in Ye?Fe(Ye,Te,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Ye[Te]=Me,Je=(Ye,Te)=>{for(var Me in Te||(Te={}))ze.call(Te,Me)&&rt(Ye,Me,Te[Me]);if(Ce)for(var Me of Ce(Te))Ze.call(Te,Me)&&rt(Ye,Me,Te[Me]);return Ye},dt=(Ye,Te,Me)=>new Promise((He,Re)=>{var it=lt=>{try{Pt(Me.next(lt))}catch(Et){Re(Et)}},st=lt=>{try{Pt(Me.throw(lt))}catch(Et){Re(Et)}},Pt=lt=>lt.done?He(lt.value):Promise.resolve(lt.value).then(it,st);Pt((Me=Me.apply(Ye,Te)).next())});const{Dragger:Xe}=re.default;function ht(Ye){let Te=[];return Ye&&Ye.length>0&&(Te=Ye.map(Me=>({uid:Me.id,id:Me.id,name:Me.title+y+Me.filesize,url:Me.url,filesize:Me.filesize,status:"done",response:{id:Me.id}}))),Te}var ct=({value:Ye,onChange:Te,action:Me,data:He,className:Re,maxSize:it=150,title:st="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:Pt=!1,accept:lt="",additionalText:Et,isDragger:at,number:$e=1e3,aloneClear:ot=!1,realTimeRemove:vt=!0,uploadText:Qe,setFileProgress:je,showFileProgress:qe})=>{const[Ue,Ge]=(0,pe.useState)(!1);let[Be,ae]=(0,pe.useState)(Ye||[]),[ie,be]=(0,pe.useState)(1);(0,pe.useEffect)(()=>{Ye&&(ie===1&&ae([...Ye]),be(2),$e===(Ye==null?void 0:Ye.length)&&Ge(!0))},[Ye]);const xe=()=>{setTimeout(()=>{Be.pop(),ae([...Be])},500)};qe&&je(Be.some(We=>We.status==="uploading"));const Ee={multiple:!0,disabled:Ue,accept:lt,withCredentials:!0,fileList:Be,beforeUpload:(We,bt)=>{const mt=We.size/1024/1024;return Be.concat(bt).length>$e?(Be.pop(),ae([...Be]),Ie.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${$e}\u4E2A\u6587\u4EF6`),ot?Promise.reject():(xe(),!1)):mt=$e?Ge(!0):Ge(!1),ae([...Be]),Be=Be.map(Mt=>{var nt,gt;return(nt=Mt==null?void 0:Mt.response)!=null&&nt.id&&(Mt.url=(gt=Mt==null?void 0:Mt.response)==null?void 0:gt.url),Mt.name.indexOf(y)===-1&&(Mt.name=`${Mt.name}${y}${a(Mt.size)}`),Je({},Mt)}),console.log("info:",We,Be),Te(Be)},onRemove:We=>dt(void 0,null,function*(){if(!vt)return!0;const bt=()=>dt(void 0,null,function*(){if(We.response?We.response.id:We.id){let Dt=yield(0,oe.JZ)(We.response?We.response.id:We.uid);return Promise.resolve(Dt)}else return!0});return Pt?new Promise((mt,Dt)=>{Ae.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:pe.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>dt(void 0,null,function*(){const Ot=yield bt();Ie.ZP.success("\u5220\u9664\u6210\u529F"),mt(!0)}),onCancel:()=>mt(!1)})}):yield bt()})};function Ne(We){We.preventDefault(),We.stopPropagation()}return pe.createElement("div",{className:`multi-upload ${Re||""}`},at&&pe.createElement(Xe,Je({},Ee),pe.createElement("p",{className:"ant-upload-drag-icon"},pe.createElement(b.Z,null)),pe.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",pe.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",it,"MB)"," "),Et),!at&&pe.createElement(re.default,Je({},Ee),pe.createElement(Se.ZP,{disabled:Ue,className:"upload_button"},pe.createElement("img",{className:"aBtn_img",src:Oe}),st),pe.createElement("span",{onClick:Ne,className:"upload_text"},Qe||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${it}MB)`)))}},7651:function(Gt,Ht,Le){"use strict";Le.d(Ht,{Z:function(){return Ae}});var pe=Le(24459),re={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},Ie=Le(59301),Ae=({message:Se,className:Pe,children:oe,style:ue={}})=>Ie.createElement("div",{className:`custom-spinner ${re.idsRingWrapper} ${Pe}`},Ie.createElement("div",{className:re.ldsRing},Ie.createElement("div",null),Ie.createElement("div",null),Ie.createElement("div",null),Ie.createElement("div",null)),Se?Ie.createElement("p",{style:ue},Se):null,oe,Ie.createElement(pe.Outlet,null))},85469:function(Gt,Ht,Le){"use strict";Le.d(Ht,{Z:function(){return Vn}});var pe=Le(59301),re=Le(50484),Ie=Le(15277),Ae=Le(92310),Se=Le.n(Ae),Pe=Le(92413),oe=Le(33708),ue=Le(400),ye=Le(33606),fe=Le(39559),se=Le(37061),ce=Le(55468),ge=Le(18929),te=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],y=pe.createContext(null),a=0;function E(nn,et){var en=pe.useState(function(){return a+=1,String(a)}),bn=(0,ye.Z)(en,1),vn=bn[0],xn=pe.useContext(y),ut={data:et,canPreview:nn};return pe.useEffect(function(){if(xn)return xn.register(vn,ut)},[]),pe.useEffect(function(){xn&&xn.register(vn,ut)},[nn,et]),vn}function b(nn){return new Promise(function(et){var en=document.createElement("img");en.onerror=function(){return et(!1)},en.onload=function(){return et(!0)},en.src=nn})}function x(nn){var et=nn.src,en=nn.isCustomPlaceholder,bn=nn.fallback,vn=(0,pe.useState)(en?"loading":"normal"),xn=(0,ye.Z)(vn,2),ut=xn[0],kt=xn[1],zt=(0,pe.useRef)(!1),jt=ut==="error";(0,pe.useEffect)(function(){b(et).then(function(Yt){Yt||kt("error")})},[et]),(0,pe.useEffect)(function(){en&&!zt.current?kt("loading"):jt&&kt("normal")},[et]);var $t=function(){kt("normal")},Xt=function(Gn){zt.current=!1,ut==="loading"&&Gn!=null&&Gn.complete&&(Gn.naturalWidth||Gn.naturalHeight)&&(zt.current=!0,$t())},Kt=jt&&bn?{src:bn}:{onLoad:$t,src:et};return[Xt,Kt,ut]}var z=Le(86923),ee=Le(8224),ne=Le(10228),de=Le(48736);function he(nn,et,en,bn){var vn=et+en,xn=(en-bn)/2;if(en>bn){if(et>0)return(0,ue.Z)({},nn,xn);if(et<0&&vnbn)return(0,ue.Z)({},nn,et<0?xn:-xn);return{}}function we(nn,et,en,bn){var vn=(0,ce.g1)(),xn=vn.width,ut=vn.height,kt=null;return nn<=xn&&et<=ut?kt={x:0,y:0}:(nn>xn||et>ut)&&(kt=(0,oe.Z)((0,oe.Z)({},he("x",en,nn,xn)),he("y",bn,et,ut))),kt}var ve=Le(13697),Oe=Le(16089),Fe={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ce(nn,et,en,bn){var vn=(0,pe.useRef)(null),xn=(0,pe.useRef)([]),ut=(0,pe.useState)(Fe),kt=(0,ye.Z)(ut,2),zt=kt[0],jt=kt[1],$t=function(Gn){jt(Fe),bn&&!(0,ve.Z)(Fe,zt)&&bn({transform:Fe,action:Gn})},Xt=function(Gn,It){vn.current===null&&(xn.current=[],vn.current=(0,Oe.Z)(function(){jt(function(ft){var Rt=ft;return xn.current.forEach(function(an){Rt=(0,oe.Z)((0,oe.Z)({},Rt),an)}),vn.current=null,bn==null||bn({transform:Rt,action:It}),Rt})})),xn.current.push((0,oe.Z)((0,oe.Z)({},zt),Gn))},Kt=function(Gn,It,ft,Rt){var an=nn.current,In=an.width,Wn=an.height,Wt=an.offsetWidth,qt=an.offsetHeight,Jt=an.offsetLeft,Ut=an.offsetTop,En=Gn,cn=zt.scale*Gn;cn>en?(En=en/zt.scale,cn=en):cn1,Rr=Er&&an>=1,er=Ce(yr,Jt,En,Tr),ar=er.transform,nr=er.resetTransform,jr=er.updateTransform,Nr=er.dispatchZoomChange,Vr=(0,pe.useState)(!0),Ar=(0,ye.Z)(Vr,2),Yr=Ar[0],or=Ar[1],Zn=ar.rotate,fr=ar.scale,Vt=ar.x,ir=ar.y,vr=Se()((0,ue.Z)({},"".concat(en,"-moving"),Mr));(0,pe.useEffect)(function(){Yr||or(!0)},[Yr]);var yn=function(){nr("close")},gn=function(){Nr(dt+Wt,"zoomIn")},Ln=function(){Nr(dt/(dt+Wt),"zoomOut")},An=function(){jr({rotate:Zn+90},"rotateRight")},Pr=function(){jr({rotate:Zn-90},"rotateLeft")},tn=function(){jr({flipX:!ar.flipX},"flipX")},Dr=function(){jr({flipY:!ar.flipY},"flipY")},wr=function(gr){gr==null||gr.preventDefault(),gr==null||gr.stopPropagation(),ft>0&&(or(!1),nr("prev"),Fn==null||Fn(ft-1,ft))},Cr=function(gr){gr==null||gr.preventDefault(),gr==null||gr.stopPropagation(),ft0&&(Jr=dt/Jr),Nr(Jr,"wheel",gr.clientX,gr.clientY)}},sr=function(gr){!jt||!Ir||(gr.keyCode===ne.Z.LEFT?wr():gr.keyCode===ne.Z.RIGHT&&Cr())},Hr=function(gr){jt&&(fr!==1?jr({x:0,y:0,scale:1},"doubleClick"):Nr(dt+Wt,"doubleClick",gr.clientX,gr.clientY))};(0,pe.useEffect)(function(){var hr,gr,Xr,$r;if(kt){Xr=(0,ee.Z)(window,"mouseup",Or,!1),$r=(0,ee.Z)(window,"mousemove",Zr,!1);try{window.top!==window.self&&(hr=(0,ee.Z)(window.top,"mouseup",Or,!1),gr=(0,ee.Z)(window.top,"mousemove",Zr,!1))}catch(Jr){(0,de.Kp)(!1,"[rc-image] ".concat(Jr))}}return function(){var Jr,ia,la,na;(Jr=Xr)===null||Jr===void 0||Jr.remove(),(ia=$r)===null||ia===void 0||ia.remove(),(la=hr)===null||la===void 0||la.remove(),(na=gr)===null||na===void 0||na.remove()}},[jt,Mr,Vt,ir,Zn,kt]),(0,pe.useEffect)(function(){var hr=(0,ee.Z)(window,"keydown",sr,!1);return function(){hr.remove()}},[jt,Ir,ft]);var kr=pe.createElement(Ye,(0,Pe.Z)({},pr,{width:et.width,height:et.height,imgRef:yr,className:"".concat(en,"-img"),alt:vn,style:{transform:"translate3d(".concat(ar.x,"px, ").concat(ar.y,"px, 0) scale3d(").concat(ar.flipX?"-":"").concat(fr,", ").concat(ar.flipY?"-":"").concat(fr,", 1) rotate(").concat(Zn,"deg)"),transitionDuration:!Yr&&"0s"},fallback:xn,src:bn,onWheel:mr,onMouseDown:Br,onDoubleClick:Hr}));return pe.createElement(pe.Fragment,null,pe.createElement(z.Z,(0,Pe.Z)({transitionName:On,maskTransitionName:Pn,closable:!1,keyboard:!0,prefixCls:en,onClose:zt,visible:jt,wrapClassName:vr,rootClassName:Kt,getContainer:Gn},br,{afterClose:yn}),pe.createElement("div",{className:"".concat(en,"-img-wrapper")},Cn?Cn(kr,(0,oe.Z)({transform:ar},Er?{current:ft}:{})):kr)),pe.createElement(Je,{visible:jt,transform:ar,maskTransitionName:Pn,closeIcon:Yt,getContainer:Gn,prefixCls:en,rootClassName:Kt,icons:Xt,countRender:In,showSwitch:Ir,showProgress:Rr,current:ft,count:an,scale:fr,minScale:Jt,maxScale:En,toolbarRender:Sr,onSwitchLeft:wr,onSwitchRight:Cr,onZoomIn:gn,onZoomOut:Ln,onRotateRight:An,onRotateLeft:Pr,onFlipX:tn,onFlipY:Dr,onClose:zt}))},Me=Te,He=Le(26407);function Re(nn){var et=pe.useState({}),en=(0,ye.Z)(et,2),bn=en[0],vn=en[1],xn=pe.useCallback(function(kt,zt){return vn(function(jt){return(0,oe.Z)((0,oe.Z)({},jt),{},(0,ue.Z)({},kt,zt))}),function(){vn(function(jt){var $t=(0,oe.Z)({},jt);return delete $t[kt],$t})}},[]),ut=pe.useMemo(function(){return nn?nn.map(function(kt){if(typeof kt=="string")return{data:{src:kt}};var zt={};return Object.keys(kt).forEach(function(jt){["src"].concat((0,He.Z)(te)).includes(jt)&&(zt[jt]=kt[jt])}),{data:zt}}):Object.keys(bn).reduce(function(kt,zt){var jt=bn[zt],$t=jt.canPreview,Xt=jt.data;return $t&&kt.push({data:Xt,id:zt}),kt},[])},[nn,bn]);return[ut,xn]}var it=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],st=["src"],Pt=function(et){var en,bn=et.previewPrefixCls,vn=bn===void 0?"rc-image-preview":bn,xn=et.children,ut=et.icons,kt=ut===void 0?{}:ut,zt=et.items,jt=et.preview,$t=et.fallback,Xt=(0,fe.Z)(jt)==="object"?jt:{},Kt=Xt.visible,Yt=Xt.onVisibleChange,Gn=Xt.getContainer,It=Xt.current,ft=Xt.movable,Rt=Xt.minScale,an=Xt.maxScale,In=Xt.countRender,Wn=Xt.closeIcon,Wt=Xt.onChange,qt=Xt.onTransform,Jt=Xt.toolbarRender,Ut=Xt.imageRender,En=(0,se.Z)(Xt,it),cn=Re(zt),On=(0,ye.Z)(cn,2),Un=On[0],Pn=On[1],Cn=(0,ge.Z)(0,{value:It}),pr=(0,ye.Z)(Cn,2),Sr=pr[0],Tr=pr[1],Fn=(0,pe.useState)(!1),br=(0,ye.Z)(Fn,2),yr=br[0],_n=br[1],rr=((en=Un[Sr])===null||en===void 0?void 0:en.data)||{},Wr=rr.src,Mr=(0,se.Z)(rr,st),Ur=(0,ge.Z)(!!Kt,{value:Kt,onChange:function(Zn,fr){Yt==null||Yt(Zn,fr,Sr)}}),Er=(0,ye.Z)(Ur,2),Ir=Er[0],Rr=Er[1],er=(0,pe.useState)(null),ar=(0,ye.Z)(er,2),nr=ar[0],jr=ar[1],Nr=pe.useCallback(function(or,Zn,fr){var Vt=Un.findIndex(function(ir){return ir.id===or});Rr(!0),jr({x:Zn,y:fr}),Tr(Vt<0?0:Vt),_n(!0)},[Un]);pe.useEffect(function(){Ir?yr||Tr(0):_n(!1)},[Ir]);var Vr=function(Zn,fr){Tr(Zn),Wt==null||Wt(Zn,fr)},Ar=function(){Rr(!1),jr(null)},Yr=pe.useMemo(function(){return{register:Pn,onPreview:Nr}},[Pn,Nr]);return pe.createElement(y.Provider,{value:Yr},xn,pe.createElement(Me,(0,Pe.Z)({"aria-hidden":!Ir,movable:ft,visible:Ir,prefixCls:vn,closeIcon:Wn,onClose:Ar,mousePosition:nr,imgCommonProps:Mr,src:Wr,fallback:$t,icons:kt,minScale:Rt,maxScale:an,getContainer:Gn,current:Sr,count:Un.length,countRender:In,onTransform:qt,toolbarRender:Jt,imageRender:Ut,onChange:Vr},En)))},lt=Pt,Et=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],at=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],$e=function(et){var en=et.src,bn=et.alt,vn=et.onPreviewClose,xn=et.prefixCls,ut=xn===void 0?"rc-image":xn,kt=et.previewPrefixCls,zt=kt===void 0?"".concat(ut,"-preview"):kt,jt=et.placeholder,$t=et.fallback,Xt=et.width,Kt=et.height,Yt=et.style,Gn=et.preview,It=Gn===void 0?!0:Gn,ft=et.className,Rt=et.onClick,an=et.onError,In=et.wrapperClassName,Wn=et.wrapperStyle,Wt=et.rootClassName,qt=(0,se.Z)(et,Et),Jt=jt&&jt!==!0,Ut=(0,fe.Z)(It)==="object"?It:{},En=Ut.src,cn=Ut.visible,On=cn===void 0?void 0:cn,Un=Ut.onVisibleChange,Pn=Un===void 0?vn:Un,Cn=Ut.getContainer,pr=Cn===void 0?void 0:Cn,Sr=Ut.mask,Tr=Ut.maskClassName,Fn=Ut.movable,br=Ut.icons,yr=Ut.scaleStep,_n=Ut.minScale,rr=Ut.maxScale,Wr=Ut.imageRender,Mr=Ut.toolbarRender,Ur=(0,se.Z)(Ut,at),Er=En!=null?En:en,Ir=(0,ge.Z)(!!On,{value:On,onChange:Pn}),Rr=(0,ye.Z)(Ir,2),er=Rr[0],ar=Rr[1],nr=x({src:en,isCustomPlaceholder:Jt,fallback:$t}),jr=(0,ye.Z)(nr,3),Nr=jr[0],Vr=jr[1],Ar=jr[2],Yr=(0,pe.useState)(null),or=(0,ye.Z)(Yr,2),Zn=or[0],fr=or[1],Vt=(0,pe.useContext)(y),ir=!!It,vr=function(){ar(!1),fr(null)},yn=Se()(ut,In,Wt,(0,ue.Z)({},"".concat(ut,"-error"),Ar==="error")),gn=(0,pe.useMemo)(function(){var tn={};return te.forEach(function(Dr){et[Dr]!==void 0&&(tn[Dr]=et[Dr])}),tn},te.map(function(tn){return et[tn]})),Ln=(0,pe.useMemo)(function(){return(0,oe.Z)((0,oe.Z)({},gn),{},{src:Er})},[Er,gn]),An=E(ir,Ln),Pr=function(Dr){var wr=(0,ce.os)(Dr.target),Cr=wr.left,Or=wr.top;Vt?Vt.onPreview(An,Cr,Or):(fr({x:Cr,y:Or}),ar(!0)),Rt==null||Rt(Dr)};return pe.createElement(pe.Fragment,null,pe.createElement("div",(0,Pe.Z)({},qt,{className:yn,onClick:ir?Pr:Rt,style:(0,oe.Z)({width:Xt,height:Kt},Wn)}),pe.createElement("img",(0,Pe.Z)({},gn,{className:Se()("".concat(ut,"-img"),(0,ue.Z)({},"".concat(ut,"-img-placeholder"),jt===!0),ft),style:(0,oe.Z)({height:Kt},Yt),ref:Nr},Vr,{width:Xt,height:Kt,onError:an})),Ar==="loading"&&pe.createElement("div",{"aria-hidden":"true",className:"".concat(ut,"-placeholder")},jt),Sr&&ir&&pe.createElement("div",{className:Se()("".concat(ut,"-mask"),Tr),style:{display:(Yt==null?void 0:Yt.display)==="none"?"none":void 0}},Sr)),!Vt&&ir&&pe.createElement(Me,(0,Pe.Z)({"aria-hidden":!er,visible:er,prefixCls:zt,onClose:vr,mousePosition:Zn,src:Er,alt:bn,fallback:$t,getContainer:pr,icons:br,movable:Fn,scaleStep:yr,minScale:_n,maxScale:rr,rootClassName:Wt,imageRender:Wr,imgCommonProps:gn,toolbarRender:Mr},Ur)))};$e.PreviewGroup=lt,$e.displayName="Image";var ot=$e,vt=ot,Qe=Le(62892),je=Le(36355),qe=Le(31724),Ue=Le(99267),Ge=Le(33853),Be=Le(38819),ae={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"},ie=ae,be=Le(7657),xe=function(et,en){return pe.createElement(be.Z,(0,Pe.Z)({},et,{ref:en,icon:ie}))},Ee=pe.forwardRef(xe),Ne=Ee,We={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"},bt=We,mt=function(et,en){return pe.createElement(be.Z,(0,Pe.Z)({},et,{ref:en,icon:bt}))},Dt=pe.forwardRef(mt),Ot=Dt,Mt={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"},nt=Mt,gt=function(et,en){return pe.createElement(be.Z,(0,Pe.Z)({},et,{ref:en,icon:nt}))},Ct=pe.forwardRef(gt),At=Ct,Bt={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"},Qt=Bt,ln=function(et,en){return pe.createElement(be.Z,(0,Pe.Z)({},et,{ref:en,icon:Qt}))},on=pe.forwardRef(ln),mn=on,Mn={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"},pn=Mn,Hn=function(et,en){return pe.createElement(be.Z,(0,Pe.Z)({},et,{ref:en,icon:pn}))},qn=pe.forwardRef(Hn),tr=qn,Nn=Le(64993),cr=Le(73819),Qn=Le(17313),Xn=Le(29878),dr=Le(1950),xr=Le(83116),un=Le(37613);const fn=nn=>({position:nn||"absolute",inset:0}),wn=nn=>{const{iconCls:et,motionDurationSlow:en,paddingXXS:bn,marginXXS:vn,prefixCls:xn,colorTextLightSolid:ut}=nn;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:ut,background:new Nn.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${en}`,[`.${xn}-mask-info`]:Object.assign(Object.assign({},Qn.vS),{padding:`0 ${bn}px`,[et]:{marginInlineEnd:vn,svg:{verticalAlign:"baseline"}}})}},Sn=nn=>{const{previewCls:et,modalMaskBg:en,paddingSM:bn,marginXL:vn,margin:xn,paddingLG:ut,previewOperationColorDisabled:kt,previewOperationHoverColor:zt,motionDurationSlow:jt,iconCls:$t,colorTextLightSolid:Xt}=nn,Kt=new Nn.C(en).setAlpha(.1),Yt=Kt.clone().setAlpha(.2);return{[`${et}-footer`]:{position:"fixed",bottom:vn,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:nn.previewOperationColor},[`${et}-progress`]:{marginBottom:xn},[`${et}-close`]:{position:"fixed",top:vn,right:{_skip_check_:!0,value:vn},display:"flex",color:Xt,backgroundColor:Kt.toRgbString(),borderRadius:"50%",padding:bn,outline:0,border:0,cursor:"pointer",transition:`all ${jt}`,"&:hover":{backgroundColor:Yt.toRgbString()},[`& > ${$t}`]:{fontSize:nn.previewOperationSize}},[`${et}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${ut}px`,backgroundColor:Kt.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:bn,padding:bn,cursor:"pointer",transition:`all ${jt}`,userSelect:"none",[`&:not(${et}-operations-operation-disabled):hover > ${$t}`]:{color:zt},"&-disabled":{color:kt,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${$t}`]:{fontSize:nn.previewOperationSize}}}}},Bn=nn=>{const{modalMaskBg:et,iconCls:en,previewOperationColorDisabled:bn,previewCls:vn,zIndexPopup:xn,motionDurationSlow:ut}=nn,kt=new Nn.C(et).setAlpha(.1),zt=kt.clone().setAlpha(.2);return{[`${vn}-switch-left, ${vn}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:xn+1,display:"flex",alignItems:"center",justifyContent:"center",width:nn.imagePreviewSwitchSize,height:nn.imagePreviewSwitchSize,marginTop:-nn.imagePreviewSwitchSize/2,color:nn.previewOperationColor,background:kt.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${ut}`,userSelect:"none","&:hover":{background:zt.toRgbString()},"&-disabled":{"&, &:hover":{color:bn,background:"transparent",cursor:"not-allowed",[`> ${en}`]:{cursor:"not-allowed"}}},[`> ${en}`]:{fontSize:nn.previewOperationSize}},[`${vn}-switch-left`]:{insetInlineStart:nn.marginSM},[`${vn}-switch-right`]:{insetInlineEnd:nn.marginSM}}},Kn=nn=>{const{motionEaseOut:et,previewCls:en,motionDurationSlow:bn,componentCls:vn}=nn;return[{[`${vn}-preview-root`]:{[en]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${en}-body`]:Object.assign(Object.assign({},fn()),{overflow:"hidden"}),[`${en}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${bn} ${et} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},fn()),{transition:`transform ${bn} ${et} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${en}-moving`]:{[`${en}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${vn}-preview-root`]:{[`${en}-wrap`]:{zIndex:nn.zIndexPopup}}},{[`${vn}-preview-operations-wrapper`]:{position:"fixed",zIndex:nn.zIndexPopup+1},"&":[Sn(nn),Bn(nn)]}]},Rn=nn=>{const{componentCls:et}=nn;return{[et]:{position:"relative",display:"inline-block",[`${et}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${et}-img-placeholder`]:{backgroundColor:nn.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${et}-mask`]:Object.assign({},wn(nn)),[`${et}-mask:hover`]:{opacity:1},[`${et}-placeholder`]:Object.assign({},fn())}}},Lt=nn=>{const{previewCls:et}=nn;return{[`${et}-root`]:(0,Xn._y)(nn,"zoom"),"&":(0,dr.J$)(nn,!0)}};var Nt=(0,xr.Z)("Image",nn=>{const et=`${nn.componentCls}-preview`,en=(0,un.TS)(nn,{previewCls:et,modalMaskBg:new Nn.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:nn.controlHeightLG});return[Rn(en),Kn(en),(0,cr.QA)((0,un.TS)(en,{componentCls:et})),Lt(en)]},nn=>({zIndexPopup:nn.zIndexPopupBase+80,previewOperationColor:new Nn.C(nn.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Nn.C(nn.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Nn.C(nn.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:nn.fontSizeIcon*1.5})),Ft=function(nn,et){var en={};for(var bn in nn)Object.prototype.hasOwnProperty.call(nn,bn)&&et.indexOf(bn)<0&&(en[bn]=nn[bn]);if(nn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,bn=Object.getOwnPropertySymbols(nn);vn{var{previewPrefixCls:et,preview:en}=nn,bn=Ft(nn,["previewPrefixCls","preview"]);const{getPrefixCls:vn}=pe.useContext(je.E_),xn=vn("image",et),ut=`${xn}-preview`,kt=vn(),[zt,jt]=Nt(xn),$t=pe.useMemo(()=>{var Xt;if(en===!1)return en;const Kt=typeof en=="object"?en:{},Yt=Se()(jt,(Xt=Kt.rootClassName)!==null&&Xt!==void 0?Xt:"");return Object.assign(Object.assign({},Kt),{transitionName:(0,Qe.m)(kt,"zoom",Kt.transitionName),maskTransitionName:(0,Qe.m)(kt,"fade",Kt.maskTransitionName),rootClassName:Yt})},[en]);return zt(pe.createElement(vt.PreviewGroup,Object.assign({preview:$t,previewPrefixCls:ut,icons:_t},bn)))},Yn=function(nn,et){var en={};for(var bn in nn)Object.prototype.hasOwnProperty.call(nn,bn)&&et.indexOf(bn)<0&&(en[bn]=nn[bn]);if(nn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,bn=Object.getOwnPropertySymbols(nn);vn{const{prefixCls:et,preview:en,className:bn,rootClassName:vn,style:xn}=nn,ut=Yn(nn,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:kt,locale:zt=qe.Z,getPopupContainer:jt,image:$t}=pe.useContext(je.E_),Xt=kt("image",et),Kt=kt(),Yt=zt.Image||qe.Z.Image,[Gn,It]=Nt(Xt),ft=Se()(vn,It),Rt=Se()(bn,It,$t==null?void 0:$t.className),an=pe.useMemo(()=>{if(en===!1)return en;const Wn=typeof en=="object"?en:{},{getContainer:Wt}=Wn,qt=Yn(Wn,["getContainer"]);return Object.assign(Object.assign({mask:pe.createElement("div",{className:`${Xt}-mask-info`},pe.createElement(Ie.Z,null),Yt==null?void 0:Yt.preview),icons:_t},qt),{getContainer:Wt||jt,transitionName:(0,Qe.m)(Kt,"zoom",Wn.transitionName),maskTransitionName:(0,Qe.m)(Kt,"fade",Wn.maskTransitionName)})},[en,Yt]),In=Object.assign(Object.assign({},$t==null?void 0:$t.style),xn);return Gn(pe.createElement(vt,Object.assign({prefixCls:Xt,preview:an,rootClassName:ft,className:Rt,style:In},ut)))};jn.PreviewGroup=sn;var hn=jn,Vn=()=>{const[nn,et]=(0,pe.useState)(""),[en,bn]=(0,pe.useState)(0);let[vn,xn]=(0,pe.useState)(),[ut,kt]=(0,pe.useState)();const[zt,jt]=(0,pe.useState)(!1),$t=(0,pe.useRef)("");(0,pe.useEffect)(()=>re.Z.subscribe("preview-image",Wt=>{et(Wt),console.log(an.current),document.body.style.overflow="hidden"}),[]),(0,pe.useEffect)(()=>(document.addEventListener("keydown",Xt),()=>{document.removeEventListener("keydown",Xt)}),[]),(0,pe.useEffect)(()=>{$t.current=nn},[nn]);function Xt(Wn){Wn.keyCode==27&&$t.current&&Kt()}function Kt(){document.body.style.overflow="auto",xn(void 0),kt(void 0),bn(0),et("")}function Yt(){bn(en+90)}function Gn(){vn=an.current.width*1.1,ut=an.current.height*1.1,kt(ut),xn(vn)}function It(){vn=an.current.width/1.1,ut=an.current.height/1.1,kt(ut),xn(vn)}const ft=(0,pe.useRef)(),Rt=(0,pe.useRef)(),an=(0,pe.useRef)(),In=Wn=>{(Wn.nativeEvent.target===ft.current||Wn.nativeEvent.target===Rt.current)&&Kt()};return pe.createElement(pe.Fragment,null,nn?pe.createElement("div",null,pe.createElement("div",{className:"preview-wrp-group",ref:Rt},pe.createElement(hn,{className:"image-preview",src:nn,style:{display:"none"},preview:{visible:!0,src:nn,movable:!1,onVisibleChange:Wn=>{et("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},73278:function(Gt,Ht,Le){"use strict";Le.d(Ht,{h:function(){return ee}});var pe=Le(59301),re=Le(57809),Ie=Le(78241),Ae=Le(3113),Se=Le(89780),Pe=Le.n(Se),oe=Le(78780),ue=Le(19136),ye=Object.defineProperty,fe=Object.defineProperties,se=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,y=(ne,de,he)=>de in ne?ye(ne,de,{enumerable:!0,configurable:!0,writable:!0,value:he}):ne[de]=he,a=(ne,de)=>{for(var he in de||(de={}))ge.call(de,he)&&y(ne,he,de[he]);if(ce)for(var he of ce(de))te.call(de,he)&&y(ne,he,de[he]);return ne},E=(ne,de)=>fe(ne,se(de));const b=re.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},z={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"]};Ht.Z=({callback:ne,onCancel:de})=>{const[he,we]=(0,pe.useState)("python");function ve(Fe){we(z[Fe][1])}function Oe(Fe){ne(Fe)}return pe.createElement(Ie.default,E(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Oe,style:{width:500}}),pe.createElement(Ie.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},pe.createElement(re.default,{getPopupContainer:Fe=>Fe.parentNode,onChange:ve},Object.keys(z).map(Fe=>pe.createElement(b,{key:Fe,value:Fe},z[Fe][0])))),pe.createElement(Ie.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},pe.createElement(ee,{mode:he})),pe.createElement("div",{className:"flex-container flex-end"},pe.createElement(Ae.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pe.createElement(Ae.ZP,{type:"ghost",onClick:de},"\u53D6\u6D88")))};function ee({value:ne,onChange:de,mode:he,options:we={}}){const ve=(0,pe.useRef)(),[Oe,Fe]=(0,pe.useState)();return(0,pe.useEffect)(()=>{if(Oe){let Ce=function(ze){const Ze=ze.getValue();de&&de(Ze)};return Oe.on("change",Ce),()=>{Oe.off("change",Ce)}}},[Oe,de]),(0,pe.useEffect)(()=>{Oe&&Oe.setOption("mode",he)},[Oe,he]),(0,pe.useEffect)(()=>{Oe&&(ne!==Oe.getValue()||ne==="")&&setTimeout(()=>{Oe.setValue(ne||"")},300)},[Oe,ne]),(0,pe.useEffect)(()=>{if(ve.current&&!Oe){const Ce=Pe().fromTextArea(ve.current,a({mode:he,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},we));Fe(Ce)}},[ve.current,Oe]),pe.createElement("div",{className:"my-codemirror-container"},pe.createElement("textarea",{ref:ve}))}},64726:function(Gt,Ht,Le){"use strict";Le.d(Ht,{Z:function(){return Rn}});var pe=Le(59301),re=Le(89780),Ie=Le.n(re),Ae=Le(76374),Se=Le(78780),Pe=Le(6313),oe=Le(25717),ue=Le(99498),ye=Le(25419),fe=Le(67549),se=Le(99325),ce=({value:Lt="",className:Nt,showTextOnly:Ft,showLines:_t,style:dn={}})=>{const sn=(0,pe.useMemo)(()=>"",[Lt]);return pe.createElement(pe.Fragment,null,pe.createElement("div",{dangerouslySetInnerHTML:{__html:sn}}))},ge=Le(59301),te=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(Lt,Nt,Ft)=>Nt in Lt?te(Lt,Nt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):Lt[Nt]=Ft,ee=(Lt,Nt)=>{for(var Ft in Nt||(Nt={}))b.call(Nt,Ft)&&z(Lt,Ft,Nt[Ft]);if(E)for(var Ft of E(Nt))x.call(Nt,Ft)&&z(Lt,Ft,Nt[Ft]);return Lt},ne=(Lt,Nt)=>y(Lt,a(Nt));let de=[{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\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",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 he({onActionCallback:Lt,title:Nt,icon:Ft,actionName:_t,className:dn="",children:sn}){function Yn(){Lt(_t)}return ge.createElement("a",{title:Nt,className:dn,onClick:Yn},ge.createElement("i",{className:`${Ft}`}),sn)}var we=({watch:Lt,showNullButton:Nt,showNullProgramButton:Ft,onActionCallback:_t,fullScreen:dn,insertTemp:sn,hidetoolBar:Yn,extraUse:jn})=>{const hn=[...de,{title:`${Lt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Lt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ge.createElement("ul",{className:"markdown-toolbar-container"},!Yn&&hn.map((Vn,nn)=>ge.createElement("li",{key:nn},Vn.actionName?ge.createElement(he,ne(ee({},Vn),{onActionCallback:_t})):ge.createElement("span",{className:"v-line"}))),Nt?ge.createElement("li",null,ge.createElement(he,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:_t},ge.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ft?ge.createElement(ge.Fragment,null,ge.createElement("li",null,ge.createElement(he,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:_t},ge.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ge.createElement("li",null,ge.createElement(he,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:_t},ge.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,sn&&ge.createElement("li",null,ge.createElement(he,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${sn}`,onActionCallback:_t},ge.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),jn&&ge.createElement("li",null,jn),ge.createElement("li",{className:"btn-full-screen"},ge.createElement(he,{icon:`${dn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:dn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:_t})))},ve=Le(19647),Oe=Le(78241),Fe=Le(92832),Ce=Le(3113),ze=Object.defineProperty,Ze=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,ht=(Lt,Nt,Ft)=>Nt in Lt?ze(Lt,Nt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):Lt[Nt]=Ft,ct=(Lt,Nt)=>{for(var Ft in Nt||(Nt={}))dt.call(Nt,Ft)&&ht(Lt,Ft,Nt[Ft]);if(Je)for(var Ft of Je(Nt))Xe.call(Nt,Ft)&&ht(Lt,Ft,Nt[Ft]);return Lt},Ye=(Lt,Nt)=>Ze(Lt,rt(Nt));const Te={labelCol:{span:4},wrapperCol:{span:20}};var Me=({callback:Lt,onCancel:Nt})=>{function Ft(_t){Lt(_t)}return pe.createElement(Oe.default,Ye(ct({},Te),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ft,style:{width:500}}),pe.createElement(Oe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},pe.createElement(Fe.default,null)),pe.createElement(Oe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},pe.createElement(Fe.default,null)),pe.createElement("div",{className:"flex-container flex-end"},pe.createElement(Ce.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pe.createElement(Ce.ZP,{type:"ghost",onClick:Nt},"\u53D6\u6D88")))},He=Le(73278),Re=Le(56030),it=Le(43418),st=Le(95237),Pt=Le(14573),lt=Le(59301),Et=({callback:Lt,onCancel:Nt})=>{const Ft=document.createElement("canvas"),_t=Ft.getContext("2d");Ft.width=1e3,Ft.height=800,_t.fillStyle="#ffffff",_t.fillRect(0,0,Ft.width,Ft.height);const dn=Ft.toDataURL("image/png");return lt.createElement(it.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},lt.createElement(st.Z,{style:{height:"100vh"}},lt.createElement(Pt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:dn,visible:!0,title:String(Date.now())},onOk:sn=>{Lt({src:sn.url})},onClose:Nt})))},at=Le(12378);function $e(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit($e,go.CommandHandler),$e.prototype.canAlignSelection=function(){var Lt=this.diagram;return!(Lt===null||Lt.isReadOnly||Lt.isModelReadOnly||Lt.selection.count<2)},$e.prototype.alignLeft=function(){var Lt=this.diagram;Lt.startTransaction("aligning left");var Nt=1/0;Lt.selection.each(function(Ft){Ft instanceof go.Link||(Nt=Math.min(Ft.position.x,Nt))}),Lt.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Nt,Ft.position.y))}),Lt.commitTransaction("aligning left")},$e.prototype.alignRight=function(){var Lt=this.diagram;Lt.startTransaction("aligning right");var Nt=-1/0;Lt.selection.each(function(Ft){if(!(Ft instanceof go.Link)){var _t=Ft.actualBounds.x+Ft.actualBounds.width;Nt=Math.max(_t,Nt)}}),Lt.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Nt-Ft.actualBounds.width,Ft.position.y))}),Lt.commitTransaction("aligning right")},$e.prototype.alignTop=function(){var Lt=this.diagram;Lt.startTransaction("alignTop");var Nt=1/0;Lt.selection.each(function(Ft){Ft instanceof go.Link||(Nt=Math.min(Ft.position.y,Nt))}),Lt.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Ft.position.x,Nt))}),Lt.commitTransaction("alignTop")},$e.prototype.alignBottom=function(){var Lt=this.diagram;Lt.startTransaction("aligning bottom");var Nt=-1/0;Lt.selection.each(function(Ft){if(!(Ft instanceof go.Link)){var _t=Ft.actualBounds.y+Ft.actualBounds.height;Nt=Math.max(_t,Nt)}}),Lt.selection.each(function(Ft){Ft instanceof go.Link||Ft.move(new go.Point(Ft.actualBounds.x,Nt-Ft.actualBounds.height))}),Lt.commitTransaction("aligning bottom")},$e.prototype.alignCenterX=function(){var Lt=this.diagram,Nt=Lt.selection.first();if(Nt){Lt.startTransaction("aligning Center X");var Ft=Nt.actualBounds.x+Nt.actualBounds.width/2;Lt.selection.each(function(_t){_t instanceof go.Link||_t.move(new go.Point(Ft-_t.actualBounds.width/2,_t.actualBounds.y))}),Lt.commitTransaction("aligning Center X")}},$e.prototype.alignCenterY=function(){var Lt=this.diagram,Nt=Lt.selection.first();if(Nt){Lt.startTransaction("aligning Center Y");var Ft=Nt.actualBounds.y+Nt.actualBounds.height/2;Lt.selection.each(function(_t){_t instanceof go.Link||_t.move(new go.Point(_t.actualBounds.x,Ft-_t.actualBounds.height/2))}),Lt.commitTransaction("aligning Center Y")}},$e.prototype.alignColumn=function(Lt){var Nt=this.diagram;Nt.startTransaction("align Column"),Lt===void 0&&(Lt=0),Lt=parseFloat(Lt);var Ft=new Array;Nt.selection.each(function(jn){jn instanceof go.Link||Ft.push(jn)});for(var _t=0;_t0){for(var jn=sn.elt(Yn-1);jn!==null&&jn.isTreeExpanded&&!jn.isTreeLeaf;){var hn=this._sortTreeChildrenByY(jn);jn=hn.last()}jn!==null&&Lt.select(jn)}else Lt.select(dn)}}else if(Ft.key==="Down")if(Nt.isTreeExpanded&&!Nt.isTreeLeaf){var _t=this._sortTreeChildrenByY(Nt).first();_t!==null&&Lt.select(_t)}else for(;Nt!==null;){var dn=Nt.findTreeParentNode();if(dn===null)break;var sn=this._sortTreeChildrenByY(dn),Yn=sn.indexOf(Nt);if(Ynsn.y?1:dn.xsn.x?1:0}),Nt},$e.prototype.copyToClipboard=function(Lt){go.CommandHandler.prototype.copyToClipboard.call(this,Lt),this._lastPasteOffset.set(this.pasteOffset)},$e.prototype.pasteFromClipboard=function(){var Lt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Lt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Lt},Object.defineProperty($e.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Lt){if(Lt!=="move"&&Lt!=="select"&&Lt!=="scroll"&&Lt!=="tree"&&Lt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Lt);this._arrowKeyBehavior=Lt}}),Object.defineProperty($e.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Lt){if(!(Lt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Lt);this._pasteOffset.set(Lt)}});var ot=$e,vt=Le(29277),Qe=Le(43604),je=Le(7660),qe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ue=Le(59301),Ge=(Lt,Nt,Ft)=>new Promise((_t,dn)=>{var sn=hn=>{try{jn(Ft.next(hn))}catch(Vn){dn(Vn)}},Yn=hn=>{try{jn(Ft.throw(hn))}catch(Vn){dn(Vn)}},jn=hn=>hn.done?_t(hn.value):Promise.resolve(hn.value).then(sn,Yn);jn((Ft=Ft.apply(Lt,Nt)).next())});function Be({onCancel:Lt,callback:Nt}){let Ft=(0,pe.useRef)(),_t=(0,pe.useRef)(),dn=(0,pe.useRef)(),sn=(0,pe.useRef)(!1);const Yn=(0,pe.useRef)(!1),[jn,hn]=(0,pe.useState)(0);function Vn(){const et=at.bx.make,en={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Ft.current=new at.S0(_t.current,{padding:20,grid:et(at.s_,"Grid",et(at.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),et(at.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Wt=>{var qt=Wt.diagram.commandHandler.addTopLevelParts(Wt.diagram.selection,!0);qt||Wt.diagram.currentTool.doCancel()},commandHandler:et(ot),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Wt=>{var qt=Wt.subject;qt.location=qt.location.copy().snapToGridPoint(Wt.diagram.grid.gridOrigin,Wt.diagram.grid.gridCellSize),setTimeout(()=>{Wt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Wt=>{var qt=Wt.subject;setTimeout(()=>{Wt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Wt=>{var qt=Wt.parameter.part;qt.invalidateConnectedLinks();var Jt=Wt.subject;Wt.diagram.toolManager.linkingTool.isForwards?Jt.toNode.invalidateConnectedLinks():Jt.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ft.current.nodeTemplate=et(at.NB,"Auto",{locationSpot:at.z6.Center,locationObjectName:"SHAPE",desiredSize:new at.$u(120,60),minSize:new at.$u(40,40),resizable:!0,resizeCellSize:new at.$u(10,10),rotatable:!0},new at.KX("location","loc",at.E9.parse).makeTwoWay(at.E9.stringify),new at.KX("desiredSize","size",at.$u.parse).makeTwoWay(at.$u.stringify),et(at.bn,{name:"SHAPE",fill:en.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:at.z6.AllSides,toSpot:at.z6.AllSides},new at.KX("figure"),new at.KX("fill"),new at.KX("stroke","borderColor"),new at.KX("strokeWidth","thickness"),new at.KX("strokeDashArray","dash")),et(at.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),et(at.al,{margin:1,textAlign:"center",overflow:at.al.OverflowEllipsis,editable:!0},new at.KX("text").makeTwoWay(),new at.KX("stroke","color"))),Ft.current.nodeTemplate.toolTip=et("ToolTip",et(at.s_,"Vertical",{maxSize:new at.$u(200,NaN)},et(at.al,{font:"bold 10pt sans-serif",textAlign:"center"},new at.KX("text")),et(at.al,{font:"10pt sans-serif",textAlign:"center"},new at.KX("text","details"))));function bn(Wt,qt){var Jt=(Ut,En)=>{Ut.handled=!0,Ut.diagram.model.commit(cn=>{var On=En.part.adornedPart,Un=new at.E9().setRectSpot(On.actualBounds,Wt);Un.subtract(On.location),Un.scale(2,2),Un.x+=Math.sign(Un.x)*130,Un.y+=Math.sign(Un.y)*130,Un.add(On.location),Un.snapToGridPoint(Ut.diagram.grid.gridOrigin,Ut.diagram.grid.gridCellSize);var Pn=cn.copyNodeData(On.data);cn.setGroupKeyForNodeData(Pn,cn.getGroupKeyForNodeData(On.data)),cn.addNodeData(Pn);var Cn={from:On.key,to:cn.getKeyForNodeData(Pn)};cn.addLinkData(Cn);var pr=Ut.diagram.findNodeForData(Pn);pr.location=Un,Ut.diagram.select(pr),setTimeout(()=>{Ut.diagram.commandHandler.editTextBlock()},20)})};return et(at.bn,{figure:qt,alignment:Wt,alignmentFocus:Wt.opposite(),width:Wt.equals(at.z6.Top)||Wt.equals(at.z6.Bottom)?25:18,height:Wt.equals(at.z6.Top)||Wt.equals(at.z6.Bottom)?18:25,fill:"orange",stroke:en.white,strokeWidth:4,mouseEnter:(Ut,En)=>En.fill="dodgerblue",mouseLeave:(Ut,En)=>En.fill="orange",isActionable:!0,click:Jt,contextClick:Jt})}function vn(Wt){return et(at.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(qt,Jt)=>Jt.fill="dodgerblue",mouseLeave:(qt,Jt)=>Jt.fill="orange",click:(qt,Jt)=>{qt.diagram.commandHandler.showContextMenu(Jt.part.adornedPart)}},Wt||{})}Ft.current.nodeTemplate.selectionAdornmentTemplate=et(at.uz,"Spot",et(at.Vm,{padding:10}),bn(at.z6.Top,"TriangleUp"),bn(at.z6.Left,"TriangleLeft"),bn(at.z6.Right,"TriangleRight"),bn(at.z6.Bottom,"TriangleDown"),vn({alignment:new at.z6(.75,0)}));function xn(Wt,qt){return(Jt,Ut)=>{Jt.handled=!0,Jt.diagram.model.commit(En=>{En.set(Ut.part.adornedPart.data,Wt,qt)})}}function ut(Wt,qt){return qt||(qt="color"),et(at.bn,{width:16,height:16,stroke:"lightgray",fill:Wt,margin:1,background:"transparent",mouseEnter:(Jt,Ut)=>Ut.stroke="dodgerblue",mouseLeave:(Jt,Ut)=>Ut.stroke="lightgray",click:xn(qt,Wt),contextClick:xn(qt,Wt)})}function kt(){return[et("ContextMenuButton",et(at.s_,"Horizontal",ut(en.white,"fill"),ut(en.beige,"fill"),ut(en.extralightblue,"fill"),ut(en.extralightred,"fill"))),et("ContextMenuButton",et(at.s_,"Horizontal",ut(en.lightgray,"fill"),ut(en.lightgreen,"fill"),ut(en.lightblue,"fill"),ut(en.lightred,"fill")))]}function zt(){return[et("ContextMenuButton",et(at.s_,"Horizontal",ut(en.black),ut(en.green),ut(en.blue),ut(en.red))),et("ContextMenuButton",et(at.s_,"Horizontal",ut(en.white),ut(en.magenta),ut(en.purple),ut(en.orange)))]}function jt(Wt,qt){return qt||(qt="thickness"),et(at.bn,"LineH",{width:16,height:16,strokeWidth:Wt,margin:1,background:"transparent",mouseEnter:(Jt,Ut)=>Ut.background="dodgerblue",mouseLeave:(Jt,Ut)=>Ut.background="transparent",click:xn(qt,Wt),contextClick:xn(qt,Wt)})}function $t(Wt,qt){return qt||(qt="dash"),et(at.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Wt,margin:1,background:"transparent",mouseEnter:(Jt,Ut)=>Ut.background="dodgerblue",mouseLeave:(Jt,Ut)=>Ut.background="transparent",click:xn(qt,Wt),contextClick:xn(qt,Wt)})}function Xt(){return[et("ContextMenuButton",et(at.s_,"Horizontal",jt(1),jt(2),jt(3),jt(4))),et("ContextMenuButton",et(at.s_,"Horizontal",$t(null),$t([2,4]),$t([4,4])))]}function Kt(Wt,qt){return qt||(qt="figure"),et(at.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Wt,margin:1,background:"transparent",mouseEnter:(Jt,Ut)=>Ut.fill="dodgerblue",mouseLeave:(Jt,Ut)=>Ut.fill="lightgray",click:xn(qt,Wt),contextClick:xn(qt,Wt)})}Ft.current.nodeTemplate.contextMenu=et("ContextMenu",et("ContextMenuButton",et(at.s_,"Horizontal",Kt("Rectangle"),Kt("RoundedRectangle"),Kt("Ellipse"),Kt("Diamond"))),et("ContextMenuButton",et(at.s_,"Horizontal",Kt("Parallelogram2"),Kt("ManualOperation"),Kt("Procedure"),Kt("Cylinder1"))),et("ContextMenuButton",et(at.s_,"Horizontal",Kt("Terminator"),Kt("CreateRequest"),Kt("Document"),Kt("TriangleDown"))),kt(),zt(),Xt()),Ft.current.groupTemplate=et(at.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:at.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Wt,qt)=>{var Jt=qt.addMembers(qt.diagram.selection,!0);Jt||qt.diagram.currentTool.doCancel()},avoidable:!1},new at.KX("location","loc",at.E9.parse).makeTwoWay(at.E9.stringify),et(at.s_,"Auto",{name:"BODY"},et(at.bn,{parameter1:10,fill:en.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:at.z6.AllSides,toSpot:at.z6.AllSides},new at.KX("fill"),new at.KX("stroke","color"),new at.KX("strokeWidth","thickness"),new at.KX("strokeDashArray","dash")),et(at.Vm,{background:"transparent",margin:20})),et(at.al,{alignment:at.z6.Top,alignmentFocus:at.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new at.KX("text"),new at.KX("stroke","color"))),Ft.current.groupTemplate.selectionAdornmentTemplate=et(at.uz,"Spot",et(at.s_,"Auto",et(at.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),et(at.Vm,{margin:1.5})),vn({alignment:at.z6.TopRight,alignmentFocus:at.z6.BottomRight})),Ft.current.groupTemplate.contextMenu=et("ContextMenu",kt(),zt(),Xt()),Ft.current.linkTemplate=et(at.rU,{layerName:"Foreground",routing:at.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new at.KX("fromSpot","fromSpot",at.z6.parse),new at.KX("toSpot","toSpot",at.z6.parse),new at.KX("fromShortLength","dir",Wt=>Wt>=1?10:0),new at.KX("toShortLength","dir",Wt=>Wt>=1?10:0),new at.KX("points").makeTwoWay(),et(at.bn,{strokeWidth:2},new at.KX("stroke","color"),new at.KX("strokeWidth","thickness"),new at.KX("strokeDashArray","dash")),et(at.bn,{segmentIndex:0,segmentOffset:new at.E9(15,0),segmentOrientation:at.rU.OrientAlong,alignmentFocus:at.z6.Right,figure:"circle",width:10,strokeWidth:0},new at.KX("fill","color"),new at.KX("visible","dir",Wt=>Wt===1)),et(at.bn,{segmentIndex:-1,segmentOffset:new at.E9(-10,6),segmentOrientation:at.rU.OrientPlus90,alignmentFocus:at.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new at.KX("fill","color"),new at.KX("visible","dir",Wt=>Wt>=1),new at.KX("width","thickness",Wt=>7+3*Wt),new at.KX("height","thickness",Wt=>7+3*Wt),new at.KX("segmentOffset","thickness",Wt=>new at.E9(-15,4+1.5*Wt))),et(at.bn,{segmentIndex:0,segmentOffset:new at.E9(15,-6),segmentOrientation:at.rU.OrientMinus90,alignmentFocus:at.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new at.KX("fill","color"),new at.KX("visible","dir",Wt=>Wt===2),new at.KX("width","thickness",Wt=>7+3*Wt),new at.KX("height","thickness",Wt=>7+3*Wt),new at.KX("segmentOffset","thickness",Wt=>new at.E9(-15,4+1.5*Wt))),et(at.al,{alignmentFocus:new at.z6(0,1,-4,0),editable:!0},new at.KX("text").makeTwoWay(),new at.KX("stroke","color"))),Ft.current.linkTemplate.selectionAdornmentTemplate=et(at.uz,et(at.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Yt(2)},new at.KX("pathPattern","thickness",Yt)),vn({alignmentFocus:new at.z6(0,0,-6,-4)}));function Yt(Wt){return et(at.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Wt+4).toString()+" H3"})}function Gn(Wt){var qt="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Wt===0?qt="M0 0 M16 16 M0 8 L16 8":Wt===2&&(qt="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),et(at.bn,{geometryString:qt,margin:2,background:"transparent",mouseEnter:(Jt,Ut)=>Ut.background="dodgerblue",mouseLeave:(Jt,Ut)=>Ut.background="transparent",click:xn("dir",Wt),contextClick:xn("dir",Wt)})}function It(Wt){var qt=(Jt,Ut)=>{Jt.handled=!0,Jt.diagram.model.commit(En=>{var cn=Ut.part.adornedPart;En.set(cn.data,Wt?"toSpot":"fromSpot",at.z6.stringify(at.z6.AllSides)),(Wt?cn.toNode:cn.fromNode).invalidateConnectedLinks()})};return et(at.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Jt,Ut)=>Ut.background="dodgerblue",mouseLeave:(Jt,Ut)=>Ut.background="transparent",click:qt,contextClick:qt})}function ft(Wt,qt){var Jt=0,Ut=at.z6.RightSide;Wt.equals(at.z6.Top)?(Jt=270,Ut=at.z6.TopSide):Wt.equals(at.z6.Left)?(Jt=180,Ut=at.z6.LeftSide):Wt.equals(at.z6.Bottom)&&(Jt=90,Ut=at.z6.BottomSide),qt||(Jt-=180);var En=(cn,On)=>{cn.handled=!0,cn.diagram.model.commit(Un=>{var Pn=On.part.adornedPart;Un.set(Pn.data,qt?"toSpot":"fromSpot",at.z6.stringify(Ut)),(qt?Pn.toNode:Pn.fromNode).invalidateConnectedLinks()})};return et(at.bn,{alignment:Wt,alignmentFocus:Wt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Jt,background:"transparent",mouseEnter:(cn,On)=>On.background="dodgerblue",mouseLeave:(cn,On)=>On.background="transparent",click:En,contextClick:En})}Ft.current.linkTemplate.contextMenu=et("ContextMenu",zt(),Xt(),et("ContextMenuButton",et(at.s_,"Horizontal",Gn(0),Gn(1),Gn(2))),et("ContextMenuButton",et(at.s_,"Horizontal",et(at.s_,"Spot",It(!1),ft(at.z6.Top,!1),ft(at.z6.Left,!1),ft(at.z6.Right,!1),ft(at.z6.Bottom,!1)),et(at.s_,"Spot",{margin:new at.Zt(0,0,0,2)},It(!0),ft(at.z6.Top,!0),ft(at.z6.Left,!0),ft(at.z6.Right,!0),ft(at.z6.Bottom,!0)))));const Rt=`{ "class": "GraphLinksModel", - "nodeDataArray": [ -{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, -{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, -{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"}, -{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"}, -{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"}, -{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3}, -{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, -{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, -{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"} -], - "linkDataArray": [ -{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1}, -{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1}, -{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]}, -{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2}, -{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, -{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, -{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} -]}`;var an=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function In(Wt){return console.log("shapeName:",Wt),an.indexOf(Wt)>=0}var Wn=new at.YI(dn.current,{maxSelectionCount:1,linkTemplate:et(at.rU,{locationSpot:at.z6.Center,selectionAdornmentTemplate:et(at.uz,"Link",{locationSpot:at.z6.Center},et(at.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),et(at.bn,{toArrow:"Standard",stroke:null}))},{routing:at.rU.AvoidsNodes,curve:at.rU.JumpOver,corner:5,toShortLength:4},new at.KX("points"),et(at.bn,{isPanelMain:!0,strokeWidth:2}),et(at.bn,{toArrow:"Standard",stroke:null})),model:new at.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...at.bn.getFigureGenerators().toArray().map(Wt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Wt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ft.current.addDiagramListener("TextEdited",function(Wt){var qt;const Jt=Wt.subject.part;var Ut=(qt=document.activeElement)==null?void 0:qt.value;typeof Ut=="string"&&Ut.trim()===""&&Ft.current.model.commit(function(En){En.set(Jt.data,"text","\u672A\u547D\u540D"),Ft.current.commandHandler.stopCommand()},"increment")}),Wn.nodeTemplate=et(at.NB,"Auto",{locationSpot:at.z6.Center},new at.KX("location","location",at.E9.parse).makeTwoWay(at.E9.stringify),et(at.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new at.KX("stroke").makeTwoWay(),new at.KX("fill").makeTwoWay(),new at.KX("figure")),et(at.al,{margin:new at.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new at.$u(16,16),maxSize:new at.$u(10,NaN),textAlign:"center",editable:!0},new at.KX("key").makeTwoWay())),setTimeout(()=>{Ft.current.grid=et(at.s_,"Grid",et(at.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),et(at.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ft.current.grid.visible=!0,Ft.current.grid.gridCellStroke="darkgray",Ft.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ft.current,Ft.current}const nn=()=>Ge(this,null,function*(){var et=Ft.current.makeImage();const en=yield(0,je.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:et.src}});Nt({src:en.url})});return(0,pe.useEffect)(()=>(setTimeout(()=>{Vn()},500),hn(jn+1),()=>{Ft.current=null}),[]),Ue.createElement("div",{ref:Yn,className:sn.current?`${qe.maxH60} body-overflow-initial`:"body-overflow-initial"},Ue.createElement(it.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!jn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ue.createElement(st.Z,null,Ue.createElement(Qe.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ue.createElement(Qe.Z,{onClick:()=>{var et,en,bn=Ft.current.selection.first();if(sn.current=!sn.current,document.activeElement&&bn){let vn=(en=(et=document.activeElement)==null?void 0:et.value)==null?void 0:en.trim();typeof vn=="string"&&Ft.current.model.commit(function(xn){xn.set(bn.data,"text",vn||"\u672A\u547D\u540D"),Ft.current.commandHandler.stopCommand()},"increment")}hn(jn+1)}},Ue.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Lt},Ue.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:qe.flowChartWrp},Ue.createElement("div",{style:{display:"flex",height:"100%"}},Ue.createElement("div",{style:{width:"300px",height:"100%"}},Ue.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ue.createElement("div",{style:{height:"calc(100% - 50px)"},className:qe.myPaletteDiv,ref:dn})),Ue.createElement("div",{style:{flex:1,position:"relative"}},Ue.createElement("div",{ref:_t,style:{height:"80vh"}}))),Ue.createElement("div",{className:"tr"},Ue.createElement(Ce.ZP,{size:"large",onClick:nn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var ae=Be,ie=Le(5112),be=Le(5871);const xe=ie.ZP.Group,Ee={margin:"0 8px"};var Ne=({callback:Lt,onCancel:Nt})=>{function Ft(_t){Lt(_t)}return pe.createElement(Oe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ft},pe.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},pe.createElement("span",{style:Ee},"\u5355\u5143\u683C\u6570\uFF1A"),pe.createElement("span",{style:Ee},"\u884C\u6570"),pe.createElement(Oe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},pe.createElement(be.Z,null)),pe.createElement("span",{style:Ee},"\u5217\u6570"),pe.createElement(Oe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},pe.createElement(be.Z,null))),pe.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},pe.createElement("span",{style:Ee},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),pe.createElement(Oe.default.Item,{name:"align"},pe.createElement(xe,null,pe.createElement(ie.ZP,{value:"default"},pe.createElement("i",{className:"fa fa-align-justify"})),pe.createElement(ie.ZP,{value:"left"},pe.createElement("i",{className:"fa fa-align-left"})),pe.createElement(ie.ZP,{value:"center"},pe.createElement("i",{className:"fa fa-align-center"})),pe.createElement(ie.ZP,{value:"right"},pe.createElement("i",{className:"fa fa-align-right"}))))),pe.createElement("div",{className:"flex-container flex-end"},pe.createElement(Ce.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pe.createElement(Ce.ZP,{type:"ghost",onClick:Nt},"\u53D6\u6D88")))},We=Le(78673),bt=Le(5559),mt=Le.n(bt),Ot=(0,pe.forwardRef)(({use3d:Lt,width:Nt,height:Ft,callback:_t,showSaveButton:dn},sn)=>{const Yn=(0,pe.useRef)(),jn=(0,pe.useRef)(),[hn,Vn]=(0,pe.useState)(!1),nn=(0,pe.useRef)({id:Yn,appName:"graphing",width:Nt||1e3,height:Ft||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,pe.useEffect)(()=>{jn.current=new(mt())(nn.current,!0),window.onload=function(){jn.current.inject("applet_container")}},[]);const et=()=>{var en=window.ggbApplet.getPNGBase64(1,!0,72);return _t&&_t(en),en};return(0,pe.useEffect)(()=>{nn.current.appName=hn?"3D":"graphing",jn.current.inject("applet_container")},[hn]),(0,pe.useEffect)(()=>{Vn(Lt)},[Lt]),(0,pe.useImperativeHandle)(sn,()=>({getImgData:et})),pe.createElement(pe.Fragment,null,pe.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Yn}),pe.createElement(st.Z,{align:"middle"},pe.createElement(Qe.Z,{flex:1},pe.createElement(We.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:hn,onChange:en=>Vn(en)})),pe.createElement(Qe.Z,null,pe.createElement(Ce.ZP,{size:"large",onClick:et,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Mt=Le(46531),nt=Le(1012),gt=Le(8591);const Ct="link",At="upload-image",Bt="add-flowchart",Qt="draw-image",ln="add-flowchart",on="code-block",mn="add-table",Mn="------------",pn={default:Mn,left:`:${Mn}`,center:`:${Mn}:`,right:`${Mn}:`};var Hn=Le(50505),qn=(Lt,Nt,Ft)=>new Promise((_t,dn)=>{var sn=hn=>{try{jn(Ft.next(hn))}catch(Vn){dn(Vn)}},Yn=hn=>{try{jn(Ft.throw(hn))}catch(Vn){dn(Vn)}},jn=hn=>hn.done?_t(hn.value):Promise.resolve(hn.value).then(sn,Yn);jn((Ft=Ft.apply(Lt,Nt)).next())});function tr(){}let Nn=0;const cr=1e4,Qn="\u2581",Xn="@\u2581\u2581@",dr="@\u2581@",xr=` -**\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`,un=["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 fn(Lt){return/^\d+$/.test(Lt)?`${Lt}px`:Lt}const Sn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Bn={[Sn+"-B"]:"bold",[Sn+"-I"]:"italic"},Kn={[Ct]:"\u6DFB\u52A0\u94FE\u63A5",[on]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[At]:"\u6DFB\u52A0\u56FE\u7247",[Qt]:"\u6DFB\u52A0\u753B\u56FE",[Bt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[mn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Rn=({defaultValue:Lt="",onChange:Nt,width:Ft="100%",height:_t=400,miniToolbar:dn=!1,isFocus:sn=!1,watch:Yn,insertTemp:jn,mode:hn="markdown",id:Vn="markdown-editor-id",showResizeBar:nn=!1,noStorage:et=!1,showNullButton:en=!1,showNullProgramButton:bn=!1,hidetoolBar:vn=!1,fullScreen:xn=!1,onBlur:ut,onCMBeforeChange:kt,onFullScreen:zt,className:jt="",disablePaste:$t=!1,disabled:Xt=!1,disabledFill:Kt=!1,placeholder:Yt="",values:Gn="",extraUse:It})=>{const[ft,Rt]=(0,pe.useState)(null),[an,In]=(0,pe.useState)(Lt),[Wn,Wt]=(0,pe.useState)(Yn),[qt,Jt]=(0,pe.useState)(xn),[Ut,En]=(0,pe.useState)(""),[cn,On]=(0,pe.useState)(0),[Un,Pn]=(0,pe.useState)(_t),[Cn,pr]=(0,pe.useState)(!1),Sr=(0,pe.useRef)((0,nt.Z)()),Tr=(0,pe.useRef)(!1),Fn=(0,pe.useRef)(),[br,yr]=(0,pe.useState)(0),[_n,rr]=(0,pe.useState)(0),Wr=(0,pe.useRef)(),Mr=(0,pe.useRef)(),Ur=(0,pe.useRef)(),Er=(0,pe.useRef)(),Ir=()=>qn(void 0,null,function*(){var yn;const gn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Sr.current}});(yn=gn==null?void 0:gn.attachments)!=null&&yn.length&&(console.log("cm:",ft,Wr),gn.attachments.map(Ln=>{Ln.content_type.indexOf("image")>-1?ft.replaceSelection(`![,](/api/attachments/${Ln.id}?type=${Ln.content_type})`):Ln.content_type.indexOf("video")>-1?ft.replaceSelection(``):Ln.content_type.indexOf("pdf")>-1?ft.replaceSelection(`${Ln.name}`):ft.replaceSelection(`[${Ln.name}](${ENV.API_SERVER}/api/attachments/${Ln.id}?type=${Ln.content_type})`)}))});(0,pe.useEffect)(()=>{const yn=window.scrollY||window.pageYOffset;In(Gn),ft==null||ft.setValue(Gn),window.scrollTo(0,yn)},[Gn]),(0,pe.useEffect)(()=>{zt==null||zt(qt)},[qt]),(0,pe.useEffect)(()=>{if(Wr.current){let yn=function(Ln,An){var Pr;if($t){An.preventDefault();return}const tn=An.clipboardData;if(tn){const Dr=tn.types.toString(),wr=tn.items;if(Dr==="Files"||tn.types.indexOf("Files")>-1){if(An.preventDefault(),hn=="stex")return;try{let Cr=wr[1];((Pr=wr[0])==null?void 0:Pr.kind)==="file"&&(Cr=wr[0]);const Or=Cr.getAsFile(),Br=Or.name.split(".").pop();(0,Re.I)(Or,Zr=>{var mr,sr,Hr;Zr.id?((mr=Or==null?void 0:Or.type)==null?void 0:mr.indexOf("image"))>-1?gn.replaceSelection(`![,](/api/attachments/${Zr.id}?type=${Zr.content_type})`):((sr=Or==null?void 0:Or.type)==null?void 0:sr.indexOf("video"))>-1?gn.replaceSelection(``):((Hr=Or==null?void 0:Or.type)==null?void 0:Hr.indexOf("pdf"))>-1?gn.replaceSelection(`${Or.name}`):un.includes(Br)?gn.replaceSelection(`${Or.name}`):gn.replaceSelection(`[${Or.name}](/api/attachments/${Zr.id}?type=${Zr.content_type})`):(Zr==null?void 0:Zr.status)===401&&(gt.ZP.warning((Zr==null?void 0:Zr.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Cr){gt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const gn=Ie().fromTextArea(Wr.current,{mode:hn,lineNumbers:!dn,lineWrapping:!0,value:Lt,autoCloseTags:!bn,autoCloseBrackets:!0});return gn.on("keyup",function(Ln,An){An.keyCode===8&&(Ln.getValue()==""?gn.setOption("placeholder",Yt):gn.setOption("placeholder",null))}),gn.on("keydown",function(Ln,An){if(An.keyCode===8){var Pr=er(Ln);Pr&&An.preventDefault()}}),sn&&gn.focus(),gn.on("paste",yn),gn.on("dragleave",function(Ln,An){Mr.current.classList.remove("mouse-hover-md")}),Xt&&gn.on("beforeChange",function(Ln,An){(An.origin==="paste"||An.origin==="+input")&&An.cancel()}),Rt(gn),()=>{gn.off("paste",yn)}}},[]);const Rr=(0,pe.useCallback)(()=>{if(Mr.current)try{}catch(yn){console.log(yn,"---- to set md editor body height")}},[Un,Mr,qt]);(0,pe.useEffect)(()=>{function yn(){let gn=new Ae.Z(Ln=>{for(let An of Ln)(An.target.offsetHeight>0||An.target.offsetWidth>0)&&(Rr(),ft.setSize("100%","100%"),ft.refresh())});return gn.observe(Wr.current.parentElement),gn}if(ft){const gn=yn();return()=>{var Ln,An;(Ln=Wr.current)!=null&&Ln.parentElement&&gn.unobserve((An=Wr.current)==null?void 0:An.parentElement)}}},[ft,Rr]),(0,pe.useEffect)(()=>{if(ft){let yn=[];for(const[gn,Ln]of Object.entries(Bn)){let An={[gn]:()=>{ar(Ln)}};yn.push(An),ft.addKeyMap(An)}return Fn.current=setInterval(()=>{Tr.current&&Ir()},4e3),()=>{clearInterval(Fn.current);for(let gn of yn)ft.removeKeyMap(gn)}}},[ft]),(0,pe.useEffect)(()=>{xn!==qt&&Jt(xn)},[xn]),(0,Hn.Z)(()=>{if(!et&&cn>0){let yn=new Date().getTime(),gn=window.sessionStorage.getItem(Vn);yn>=cn+cr&&(!gn||gn!==an)&&(window.sessionStorage.setItem(Vn,an),pr(!0))}},cr),(0,pe.useEffect)(()=>{Wt(Yn)},[ft,Yn]),(0,pe.useEffect)(()=>{ft&&sn&&ft.focus()},[ft,sn]),(0,pe.useEffect)(()=>{if(Wn&&ft){let yn=function(Ln){let An=Ln.target;if(Er.current){let Pr=An.scrollTop/An.scrollHeight;Er.current.scrollTop=Er.current.scrollHeight*Pr}};const gn=ft.getScrollerElement();return gn.addEventListener("scroll",yn),()=>{gn.removeEventListener("scroll",yn)}}},[ft,Wn]),(0,pe.useEffect)(()=>{if(ft&&kt){let yn=function(gn,Ln){kt(gn,Ln)};return ft.on("beforeChange",yn),()=>{ft.off("beforeChange",yn)}}},[ft,kt]),(0,pe.useEffect)(()=>{if(ft&&ut){let yn=function(){ut(ft.getValue())};return ft.on("blur",yn),()=>{ft.off("blur",yn)}}},[ft,ut]);function er(yn,gn){var Ln=yn.getDoc(),An=Ln.getCursor(),Pr=Ln.getLine(An.line),tn=Pr.charAt(An.ch-1),Dr=Pr.lastIndexOf("@\u2581@",An.ch),wr=Pr.lastIndexOf("@\u2581\u2581@",An.ch),Cr=Dr>wr?Dr:wr,Or=Dr>wr?3:4;if(Xn.indexOf(tn)===-1)return null;if(console.log("change1:",gn,yn,Pr,An,Cr,Dr,wr,tn),Cr>=0&&An.ch-Cr<5){var Br=Cr+Or;return Ln.replaceRange("",{line:An.line,ch:Cr},{line:An.line,ch:Br}),{line:An.line,ch:Br}}return null}(0,pe.useEffect)(()=>{if(ft){let yn=function(gn,Ln){const An=gn.getValue();In(An),On(new Date().getTime()),gn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Nt&&(bn?Nt(An,Zn(An)):Nt(An))};return ft.on("change",yn),()=>{ft.off("change",yn)}}},[ft,Nt]),(0,pe.useEffect)(()=>{if(ft)if(Lt==null)ft.setValue(""),In("");else{const yn=window.scrollY||window.pageYOffset;Lt!==ft.getValue()&&(ft.setValue(Lt),In(Lt),ft.setCursor(Xt?1:ft.lineCount(),0),window.scrollTo(0,yn))}},[ft,Lt]);const ar=(0,pe.useCallback)(yn=>{const gn=ft.getCursor(),Ln=ft.getSelection();let An=Ln.split(` -`);switch(yn){case"bold":return ft.replaceSelection("**"+Ln+"**"),Ln===""&&ft.setCursor(gn.line,gn.ch+2),ft.focus();case"italic":return ft.replaceSelection("*"+Ln+"*"),Ln===""&&ft.setCursor(gn.line,gn.ch+1),ft.focus();case"code":return ft.replaceSelection("`"+Ln+"`"),Ln===""&&ft.setCursor(gn.line,gn.ch+1),ft.focus();case"inline-latex":return En("inline-latex"),ft.focus();case"latex":return ft.replaceSelection("```latex\n"+Ln+"\n```"),ft.setCursor(gn.line+1,Ln.length+1),ft.focus();case"line-break":return ft.replaceSelection(`
-`),ft.focus();case"list-ul":return Ln===""?ft.replaceSelection("- "+Ln):ft.replaceSelection(An.map(Pr=>Pr===""?"":`- ${Pr}`).join(` -`)),ft.focus();case"list-ol":return Ln===""?ft.replaceSelection("1. "+Ln):ft.replaceSelection(An.map((Pr,tn)=>Pr===""?"":`${tn+1}. ${Pr}`).join(` -`)),ft.focus();case"add-null-ch":return Ln===""&&ft.setCursor(gn.line,gn.ch),ft.replaceSelection(Qn),ft.focus();case"add-signal":return Ln===""&&ft.setCursor(gn.line,gn.ch),ft.replaceSelection(dr),ft.focus();case"add-multiple":return Ln===""&&ft.setCursor(gn.line,gn.ch),ft.replaceSelection(Xn),ft.focus();case"inster-template-1":return Ln===""&&ft.setCursor(gn.line,gn.ch),ft.replaceSelection(xr),ft.focus();case"eraser":return ft.setValue(""),ft.focus();case"trigger-watch":return Wt(!Wn),ft.focus();case"trigger-full-screen":return Jt(!qt),ft.focus();case Ct:En(Ct);return;case on:En(on);return;case At:En(At);return;case Qt:En(Qt);return;case"maths-latex":En("maths-latex");return;case Bt:En(Bt);return;case mn:En(mn);return;default:throw new Error}},[ft,Wn,qt]),nr=(0,pe.useCallback)((yn,gn)=>{var Ln,An,Pr,tn,Dr,wr;switch(En(""),Ut){case Ct:const{title:mr,link:sr}=yn;return ft.replaceSelection(`[${mr}](${sr})`),ft.focus();case on:const{language:Hr,content:kr}=yn;return ft.replaceSelection(["```"+Hr,kr,"```"].join(` -`)),ft.focus();case"maths-latex":for(var Cr=atob(yn),Or=new Uint8Array(Cr.length),Br=0;Br{ra.id?ft.replaceSelection(`![,](/api/attachments/${ra.id}?type=${ra.content_type})`):(ra==null?void 0:ra.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":ft.replaceSelection("`$$"+yn+"$$`");break;case At:case Qt:case ln:const{src:hr,alt:gr}=yn,Xr=gn,$r=(Pr=(An=(Ln=Xr==null?void 0:Xr.name)==null?void 0:Ln.split("."))==null?void 0:An.pop)==null?void 0:Pr.call(An);return((tn=Xr==null?void 0:Xr.type)==null?void 0:tn.indexOf("image"))>-1||!(Xr!=null&&Xr.type)?gr?ft.replaceSelection(`![ ${gr} ]( ${hr} "${gr}" )`):ft.replaceSelection(`![,](${hr})`):((Dr=Xr==null?void 0:Xr.type)==null?void 0:Dr.indexOf("video"))>-1?ft.replaceSelection(``):((wr=Xr==null?void 0:Xr.type)==null?void 0:wr.indexOf("pdf"))>-1?ft.replaceSelection(`${Xr.name}`):un.includes($r)?ft.replaceSelection(`${Xr.name}`):ft.replaceSelection(`[${Xr.name}](${hr})`),ft.focus();case mn:const{row:Jr,col:ia,align:la}=yn;let na=` -`;for(let ra=0;ra{switch(Ut){case Ct:return pe.createElement(Me,{callback:nr,onCancel:Nr});case on:return pe.createElement(He.Z,{callback:nr,onCancel:Nr});case At:return pe.createElement(Re.Z,{callback:nr,onCancel:Nr});case Bt:return pe.createElement(ae,{callback:nr,onCancel:Nr});case mn:return pe.createElement(Ne,{callback:nr,onCancel:Nr});case"maths-latex":return pe.createElement(Ot,{showSaveButton:!0,callback:nr});case"inline-latex":return pe.createElement(Mt.Z,{showSaveButton:!0,callback:nr});default:return null}},[Ut]);function Nr(){En("")}(0,pe.useEffect)(()=>{if(Ur.current){let yn=function(Dr){Pr=!0,tn=Dr.pageY},gn=function(){Pr=!1},Ln=function(Dr){if(Pr){let wr=Dr.pageY-tn;wr<0&&(wr=0),wr>300&&(wr=300);let Cr=_t+wr+"px";Pn(Cr)}},An=Ur.current,Pr=!1,tn=0;return An.addEventListener("mousedown",yn),document.addEventListener("mousemove",Ln),document.addEventListener("mouseup",gn),()=>{An.removeEventListener("mousedown",yn),document.removeEventListener("mousemove",Ln),document.removeEventListener("mouseup",gn)}}},[ft,Ur]),(0,pe.useEffect)(()=>{Pn(_t)},[_t]);const Vr=fn(Ft),Ar=fn(Un),Yr={width:Vr,height:Ar},or=(0,pe.useMemo)(()=>{if(cn){let yn=new Date(cn),gn=yn.getHours(),Ln=yn.getMinutes(),An=yn.getSeconds();return gn=gn<10?"0"+gn:gn,Ln=Ln<10?"0"+Ln:Ln,An=An<10?"0"+An:An,`${gn}:${Ln}:${An}`}return 0},[cn]),Zn=yn=>{const gn=[];if(bn){let Ln=-1;yn=yn.replace(/(@▁▁@|@▁@)/g,function(An,Pr,tn){gn.push({multiLine:An!==dr})})}return gn};function fr(){window.sessionStorage.removeItem(Vn),pr(!1),On(0)}function Vt(){pr(!1),On(0),ft.setValue(window.sessionStorage.getItem(Vn))}(0,pe.useEffect)(()=>{Kn[Ut]&&Ut!==Qt&&Ut!==Bt&&setTimeout(()=>{const yn=document.getElementsByClassName("markdown-popup-form")[0],gn=window.innerWidth/2-yn.offsetWidth/2,Ln=window.innerHeight/2-yn.offsetHeight/2;yr(gn),rr(Ln)},0)},[Ut]);const ir=yn=>{yn.preventDefault();const gn=yn.clientX-br,Ln=yn.clientY-_n;document.body.onmousemove=An=>{let Pr=An.clientX-gn,tn=An.clientY-Ln;const Dr=document.getElementsByClassName("markdown-popup-form")[0],wr=window.innerWidth-Dr.offsetWidth,Cr=window.innerHeight-Dr.offsetHeight;Pr=Math.max(0,Math.min(Pr,wr)),tn=Math.max(0,Math.min(tn,Cr)),vr(An.clientX,An.clientY,gn,Ln)&&(yr(Pr),rr(tn))},document.body.onmouseup=function(){document.body.onmousemove=null}},vr=(yn,gn,Ln,An)=>{const Pr=document.body.clientHeight,tn=document.body.clientWidth;return yn<20&&Ln>yn||yn>tn-20&&Lngn||gn>Pr-20&&Anwe in he?ye(he,we,{enumerable:!0,configurable:!0,writable:!0,value:ve}):he[we]=ve,a=(he,we)=>{for(var ve in we||(we={}))ge.call(we,ve)&&y(he,ve,we[ve]);if(ce)for(var ve of ce(we))te.call(we,ve)&&y(he,ve,we[ve]);return he},E=(he,we)=>fe(he,se(we));const{useForm:b}=pe.default,x={width:280,marginRight:10},z={labelCol:{span:5},wrapperCol:{span:19}};var ee=({callback:he,onCancel:we})=>{const[ve]=b();let Oe=(0,Pe.useRef)();function Fe(Ze){he(Ze,Oe.current)}function Ce(Ze,rt){if(Ze.status===-1){re.ZP.error(Ze.message);return}ve.setFieldsValue({src:`/api/attachments/${Ze.id}`,type:rt.type})}function ze(Ze){let rt=Ze.target.files[0];Oe.current=rt,de(rt,Ce)}return ue.createElement(pe.default,E(a({form:ve},z),{className:"upload-image-panel",onFinish:Fe,style:{width:470,overflow:"hidden"}}),ue.createElement(pe.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ue.createElement("div",{className:"flex-container"},ue.createElement(pe.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ue.createElement(Ie.default,{style:x})),ue.createElement(ne,{onFileChange:ze}))),ue.createElement(pe.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ue.createElement(Ie.default,{style:{width:264}})),ue.createElement(pe.default.Item,{style:{textAlign:"right"}},ue.createElement(Ae.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(Ae.ZP,{type:"default",onClick:we},"\u53D6\u6D88")))};function ne({onFileChange:he}){return ue.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ue.createElement("input",{type:"file",onChange:he}))}function de(he,we){if(!he)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,oe.bg)())throw re.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ve=new FormData;ve.append("editormd-image-file",he),ve.append("file_param_name","editormd-image-file"),ve.append("byxhr","true");var Oe=new window.XMLHttpRequest;Oe.withCredentials=!0,Oe.addEventListener("load",function(Fe){we(JSON.parse(Fe.target.responseText),he)},!1),Oe.addEventListener("error",function(Fe){console.error(Fe)},!1),Oe.open("POST",`${Se.KI}/api/attachments.json`),Oe.send(ve)}},19647:function(Gt,Ht,Le){"use strict";Le.d(Ht,{Z:function(){return Ie}});var pe=Le(59301),re=Le(4676);class Ie extends pe.Component{constructor(Se){super(Se);const Pe=window.document;this.node=Pe.createElement("div"),Pe.body.appendChild(this.node)}render(){const{children:Se}=this.props;return(0,re.createPortal)(Se,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},55785:function(Gt,Ht,Le){"use strict";Le.d(Ht,{i:function(){return ne},Z:function(){return he}});var pe={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"},re=Le(71418),Ie=Le(6848),Ae=Le(92310),Se=Le.n(Ae),Pe=Le(88230),oe=Le(57816),ue=Le(73898),ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhvLBLrQsXw+r5Ognn8LGk4IoPiiQhB1vzCQ+XjHNeP2/AUkZU8JpgCRWr1yxinFy9bu+IyYZrAH8sP3ECsVOBwx1nGCPGyTN8kDg/ReYxDaFf41Vkr46F0C8MLRihmCFCyT6zNDyUYI9wu8J1+cB0+XuDPemndz/GJMcZvDyq5NJjrsz2cbuTrNPuLCgTGIXLFZ6IDa5wPeCZS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u6D41",ptimg:ge,swimg:te},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:E,swimg:b},{name:"\u519B\u961F\u4E00\u6D41",ptimg:x,swimg:z}];var he=({className:we,dataSource:ve=[],col:Oe=4,right:Fe,bottom:Ce=23,precision:ze=0,wrapWidth:Ze=1200,trackEventItems:rt,loading:Je,onRemove:dt=()=>{},isCurrent:Xe=!0,showAlias:ht=!1})=>{const ct=Math.floor((Ze-(Oe-1)*Fe)/Oe),Ye=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return ee.createElement(re.Z,{spinning:Je},ee.createElement("div",{className:Se()(pe.list,we)},!!(ve!=null&&ve.length)&&(ve==null?void 0:ve.map((Te,Me)=>{var He;const{name:Re,id:it,identifier:st,featured:Pt,school_name:lt,image_url:Et,excellent:at,is_plan:$e}=Te;return ee.createElement("div",{key:it,className:pe.wrap,style:{width:ct,marginRight:(1+Me)%Oe===0?0:Fe+ze,marginBottom:Ce}},ee.createElement("a",{className:pe.li,onClick:ot=>{ot.preventDefault(),ot.stopPropagation(),rt&&(0,Pe.L9)([rt]),(0,Pe.xg)(`/paths/${st}`)}},ee.createElement("div",{className:pe.img},ee.createElement("img",{className:pe.cover,src:`${Et}`}),Xe&&(0,ue.bg)()&&(Te==null?void 0:Te.studying)&&ee.createElement("div",{className:`${pe.movebq} user-path-items`,onClick:ot=>{ot.stopPropagation(),dt(Te)}},ee.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ee.createElement("span",{className:"c-red"},"\u79FB\u9664")),(He=Te==null?void 0:Te.subject_tags)==null?void 0:He.map((ot,vt)=>{var Qe,je;if(vt===0){const Ue=(Qe=Ye.find(Ge=>Ge.name==ot))==null?void 0:Qe.swimg;return ee.createElement("img",{className:pe.sign,src:Ue,style:{left:"-4px"}})}const qe=(je=Ye.find(Ue=>Ue.name==ot))==null?void 0:je.ptimg;return ee.createElement("img",{className:pe.sign,src:qe,style:{left:`${48+52*(vt-1)+2*vt}px`}})}),ee.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Te==null?void 0:Te.excellent)&&ee.createElement("div",{className:pe.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ee.createElement("div",{className:pe.name},ee.createElement(Ie.Z,{title:ht&&(Te!=null&&Te.excellent_alias_name)?ee.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Re}`,ee.createElement("br",null),ee.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Te==null?void 0:Te.excellent_alias_name}`)):Re},ee.createElement("span",{className:pe.e},ht&&(Te==null?void 0:Te.excellent_alias_name)||Re))),ee.createElement("div",{className:pe.tags},ee.createElement("div",null,ee.createElement(Ie.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ee.createElement("span",null,Te.stages_count))),ee.createElement(Ie.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ee.createElement("span",null,Te.members_count)))))))})),!ve.length&&ee.createElement(oe.Z,null)))}},11420:function(Gt,Ht,Le){"use strict";Le.d(Ht,{jL:function(){return Se},w9:function(){return Te},QD:function(){return Mt},cQ:function(){return dt.Z},op:function(){return Ne},O5:function(){return xr},_b:function(){return Qt},t7:function(){return b},Gi:function(){return Pt},YG:function(){return it},qp:function(){return se},vr:function(){return Ct},qE:function(){return mt},Je:function(){return ee},wb:function(){return Je},cq:function(){return vt},tp:function(){return te}});var pe=Le(59301),re={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"},Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9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HfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Se=({dataSource:un=[],img:fn,imgWidth:wn=346,title:Sn,sunTitle:Bn,bannerExtraContent:Kn})=>pe.createElement("div",{className:re.banner},pe.createElement("div",{className:re.content},pe.createElement("aside",null,pe.createElement("p",null,pe.createElement("b",null,Sn),pe.createElement("span",null,Bn)),un.length>0&&pe.createElement("div",{className:re.btns},un.map((Rn,Lt)=>pe.createElement("div",{key:Lt,onClick:Rn.click},Rn.name,Rn.sign?pe.createElement("img",{src:Ie,width:39}):null))),Kn),fn&&pe.createElement("img",{style:{marginTop:33,marginRight:38},src:fn,width:wn}))),Pe={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"},oe=Le(92310),ue=Le.n(oe),ye=Le(89392),se=({dataSource:un=[],value:fn,onChange:wn,onTitleChange:Sn,className:Bn,title:Kn,titleWidth:Rn=41,style:Lt={},fontColor:Nt="#6A7283",showCount:Ft})=>{const[_t,dn]=(0,pe.useState)(0),[sn,Yn]=(0,pe.useState)(!1),jn=(0,pe.useRef)(null),hn=(0,pe.useRef)(null);return(0,pe.useEffect)(()=>{var Vn;un.length!==0&&(((Vn=jn==null?void 0:jn.current)==null?void 0:Vn.clientHeight)>97?dn(1):dn(0)),un.length===0&&dn(0),Yn(!1)},[un]),pe.createElement("div",{className:ue()(Pe.row,Bn),style:Lt},pe.createElement("div",{onClick:(0,ye.throttle)(()=>Sn==null?void 0:Sn(),2e3),style:{width:Rn,marginTop:sn?12:4},className:`${Pe.title} ${Sn?"current":""}`},Kn),pe.createElement("div",{className:sn?`${Pe.tagsWrap} ${Pe.tagsBorderWrap}`:Pe.tagsWrap},pe.createElement("div",{className:Pe.bar,ref:hn,style:_t>0?{height:_t===1?97:"auto",overflow:_t===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},pe.createElement("div",{className:Pe.tag,ref:jn},un==null?void 0:un.map(Vn=>pe.createElement("span",{onClick:()=>wn(Vn.id),key:Vn.id,style:{color:Nt},className:fn===Vn.id?Pe.active:""},pe.createElement("span",{title:Vn.name,className:Pe.name},Vn.name),!!Ft&&pe.createElement("span",{className:Pe.num},Vn.count))))),!!_t&&pe.createElement(pe.Fragment,null,_t===1?pe.createElement("div",{onClick:()=>{var Vn;dn(2),((Vn=jn==null?void 0:jn.current)==null?void 0:Vn.clientHeight)>245?Yn(!0):Yn(!1)},className:Pe.action},"\u5C55\u5F00",pe.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):pe.createElement("div",{onClick:()=>{hn.current.scrollTop=0,dn(1),Yn(!1)},className:Pe.action},"\u6536\u8D77",pe.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ce={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"},te=({dataSource:un=[],value:fn,onChange:wn,className:Sn,style:Bn={}})=>pe.createElement("div",{style:Bn,className:ue()(ce.tabs,Sn)},un.map(Kn=>pe.createElement("span",{onClick:()=>wn(Kn.id),className:fn===Kn.id?ce.active:"",key:Kn.id},Kn.name))),y={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"},a=Le(92832),b=({dataSource:un=[],value:fn="",onChange:wn,onInputChange:Sn=()=>{},className:Bn,style:Kn={},placeholder:Rn,allowClear:Lt=!1})=>{var Nt;const[Ft,_t]=(0,pe.useState)(""),[dn,sn]=(0,pe.useState)("");(0,pe.useEffect)(()=>{var hn;let Vn=fn;(hn=JSON.stringify(fn))!=null&&hn.includes("{")&&(_t(fn.id),Vn=fn.value||"");try{sn(decodeURIComponent(Vn||""))}catch(nn){sn(decodeURIComponent(Vn||""))}},[fn]);const Yn=()=>{wn(encodeURIComponent(dn),Ft||null)},jn=hn=>{hn!==Ft&&(_t(hn),wn(encodeURIComponent(dn),hn))};return pe.createElement("div",{className:ue()(y.input,Bn),style:Kn},!!un.length&&pe.createElement("div",{className:y.dropdown},pe.createElement("div",{className:y.text},(Nt=un.find(hn=>hn.id===Ft))==null?void 0:Nt.name,pe.createElement("i",{className:"iconfont icon-zhankai4"}),pe.createElement("b",{className:y.b1}),pe.createElement("b",{className:y.b2})),pe.createElement("div",{className:y.menu},un.map((hn,Vn)=>pe.createElement("div",{key:Vn,onClick:()=>jn(hn.id)},hn.name)))),pe.createElement(a.default,{onPressEnter:Yn,value:dn,onChange:hn=>{sn(hn.target.value),Sn(encodeURIComponent(hn.target.value),Ft||null)},bordered:!1,placeholder:Rn}),pe.createElement("i",{onClick:Yn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},x={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"},ee=({value:un,onChange:fn,className:wn,total:Sn,pageSize:Bn,style:Kn={}})=>{const Rn=un<2,Lt=un>=Math.ceil(Sn/Bn);return Sn<=Bn?pe.createElement(pe.Fragment,null):pe.createElement("div",{className:ue()(x.quickPager,wn),style:Kn},pe.createElement("div",{onClick:()=>{Rn||fn(un-1,"prev")},className:Rn?x.disabled:""},"\u4E0A\u4E00\u9875"),pe.createElement("div",{onClick:()=>{Lt||fn(un+1,"next")},className:Lt?x.disabled:""},"\u4E0B\u4E00\u9875"))},ne={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"},de=Le(71418),he=Le(6848),we=Le(13570),ve=Le(38446),Oe=Le(88230),Fe=Le(96908),Ce=Le(57177),ze=Le(81378),Ze=Le(57816),Je=({className:un,dataSource:fn=[],col:wn=4,right:Sn,bottom:Bn=23,precision:Kn=0,wrapWidth:Rn=1200,trackEventItems:Lt,loading:Nt})=>{const Ft=Math.floor((Rn-(wn-1)*Sn)/wn);return pe.createElement(de.Z,{spinning:Nt},pe.createElement("div",{className:ue()(ne.list,un)},!!fn.length&&fn.map((_t,dn)=>{const{name:sn,id:Yn,identifier:jn,power:hn,cover_image_id:Vn,pic:nn}=_t;return pe.createElement("div",{className:ne.wrap,key:Yn,style:{width:Ft,marginRight:(1+dn)%wn===0?0:Sn+Kn,marginBottom:Bn}},pe.createElement("a",{target:"_blank",href:`/shixuns/${jn}/challenges`,className:ne.li,onClick:et=>{et.preventDefault(),Lt&&(0,Oe.L9)([Lt]),hn&&(0,Oe.xg)(`/shixuns/${jn}/challenges`)}},pe.createElement("div",{className:ne.img},pe.createElement("img",{className:ne.cover,src:`${nn}`}),_t.is_jupyter&&pe.createElement("img",{className:ne.sign,src:Fe}),_t.is_jupyter_lab&&pe.createElement("img",{className:ne.sign,src:Ce}),_t.is_unity_3d&&pe.createElement("img",{className:ne.sign,src:ze})),pe.createElement("div",{className:ne.name},pe.createElement(he.Z,{title:sn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},pe.createElement("span",{className:ne.e},sn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),pe.createElement("div",{className:ne.tags},pe.createElement(he.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},pe.createElement("span",null,pe.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),pe.createElement("span",null,_t.challenges_count))),!!_t.myshixuns_count&&pe.createElement(he.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},pe.createElement("span",null,pe.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),pe.createElement("span",null,_t.myshixuns_count))),pe.createElement(he.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},pe.createElement("span",null,pe.createElement("span",null,_t.level))),pe.createElement("div",{className:ne.rate},pe.createElement(we.Z,{allowHalf:!0,disabled:!0,defaultValue:_t.score_info}),pe.createElement("span",null,"\xA0",_t.score_info?`${_t.score_info}\u5206`:"5\u5206")))),!hn&&pe.createElement("div",{className:ne.lockWrap},pe.createElement("img",{src:`${ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),pe.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!fn.length&&pe.createElement(Ze.Z,null)))},dt=Le(55785),Xe={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},ht="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/BHhkOS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s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ct=Le(59301),Te=({className:un,dataSource:fn=[],col:wn=4,right:Sn,bottom:Bn=23,precision:Kn=0,wrapWidth:Rn=1200,trackEventItems:Lt,loading:Nt})=>{const Ft=Math.floor((Rn-(wn-1)*Sn)/wn);return ct.createElement(de.Z,{spinning:Nt},ct.createElement("div",{className:ue()(Xe.list,un)},!!fn.length&&fn.map((_t,dn)=>{const{subject_identifier:sn,id:Yn,identifier:jn,power:hn}=_t,Vn=_t.is_public!=0&&_t.is_public;return ct.createElement("div",{className:Xe.wrap,key:Yn,style:{width:Ft,marginRight:(1+dn)%wn===0?0:Sn+Kn,marginBottom:Bn}},ct.createElement("a",{className:Xe.li,onClick:nn=>{nn.preventDefault(),Lt&&(0,Oe.L9)([Lt]),(0,Oe.xg)(_t.first_category_url)}},ct.createElement("div",{className:Xe.top},ct.createElement(he.Z,{title:_t.name},ct.createElement("div",{className:Xe.name},_t.name)),ct.createElement("img",{className:Xe.img,src:ve.Z.IMG_SERVER+"/images/"+_t.avatar_url}),ct.createElement("div",{className:Xe.text,title:_t.creator},_t.creator),sn&&ct.createElement("div",{className:Xe.btns},ct.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ct.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Vn&&ct.createElement("div",{className:Xe.sign},"\u516C\u5F00")),ct.createElement("div",{className:Xe.bottom},_t.visits>0&&ct.createElement(he.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ct.createElement("span",null,ct.createElement("i",{className:"iconfont icon-liulanyan"}),ct.createElement("span",null,_t.visits))),_t.course_members_count>0&&ct.createElement(he.Z,{title:"\u6210\u5458",placement:"bottom"},ct.createElement("span",null,ct.createElement("i",{className:"iconfont icon-chengyuan"}),_t.course_members_count)),_t.tasks_count>0&&ct.createElement(he.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ct.createElement("span",null,ct.createElement("i",{className:"iconfont icon-zuoye"}),_t.tasks_count)),_t.is_end?ct.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):ct.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!_t.is_accessible&&ct.createElement("div",{className:Xe.lockWrap},ct.createElement("img",{src:`${ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ct.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!fn.length&&ct.createElement(Ze.Z,null)))},Me={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"},He=Le(24459),it=({dataSource:un=[],value:fn,onChange:wn,className:Sn,style:Bn={},tabBarExtraContent:Kn})=>pe.createElement("div",{className:ue()(Me.tabs,Sn),style:Bn},pe.createElement("div",{className:Me.tabsWrap},un.map((Rn,Lt)=>pe.createElement("aside",{className:Me.tab,onClick:()=>{wn(Rn.id),Rn.link&&He.history.push(Rn.link)},key:Lt},pe.createElement("div",{className:fn===Rn.id?Me.active:""},Rn.name),(Rn==null?void 0:Rn.resetCount)==null&&(Rn==null?void 0:Rn.total)!==void 0&&pe.createElement("span",null,"\uFF08",Rn==null?void 0:Rn.total,"\uFF09"),(Rn==null?void 0:Rn.resetCount)!==void 0&&(Rn==null?void 0:Rn.total)!==void 0&&pe.createElement(he.Z,{title:(Rn==null?void 0:Rn.tip)!=null?Rn==null?void 0:Rn.tip:""},pe.createElement("span",{style:{color:"#9096A3"}},"\uFF08",pe.createElement("span",{style:{color:"#000"}},Rn==null?void 0:Rn.resetCount),"/",pe.createElement("span",null,Rn==null?void 0:Rn.total),"\uFF09"))))),pe.createElement("div",{className:Me.tabBar},Kn)),Pt=({className:un,style:fn={},children:wn})=>pe.createElement("div",{className:ue()(un),style:fn},wn),lt={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"},Et=Le(38854),at=Le(20834);const $e=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var vt=({sortValue:un,dropValue:fn,className:wn,onSort:Sn,onDrop:Bn,dataSource:Kn=$e})=>{var Rn;return pe.createElement("div",{className:ue()(lt.orderWrap,wn)},pe.createElement(Et.Z,{dropdownRender:()=>pe.createElement(at.default,null,Kn.map((Lt,Nt)=>pe.createElement(at.default.Item,{key:Nt,onClick:()=>Bn(Lt.id)},Lt.name)))},pe.createElement("span",{className:lt.orderTextWrap},(Rn=Kn.find(Lt=>fn===Lt.id))==null?void 0:Rn.name)),pe.createElement("span",{className:lt.orderIconWrap},pe.createElement("span",{className:lt.orderAsc},pe.createElement("i",{className:un==="asc"?`iconfont icon-sanjiaoxing-up font12 ${lt.cursorPointer} ${lt.active}`:`iconfont icon-sanjiaoxing-up font12 ${lt.cursorPointer}`,onClick:()=>Sn(un==="asc"?"desc":"asc")})),pe.createElement("span",{className:lt.orderDesc},pe.createElement("i",{className:un==="desc"?`iconfont icon-sanjiaoxing-down font12 ${lt.cursorPointer} ${lt.active}`:`iconfont icon-sanjiaoxing-down font12 ${lt.cursorPointer}`,onClick:()=>Sn(un==="asc"?"desc":"asc")}))))},Qe={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"},je=Le(3113),qe=Object.defineProperty,Ue=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,ae=(un,fn,wn)=>fn in un?qe(un,fn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):un[fn]=wn,ie=(un,fn)=>{for(var wn in fn||(fn={}))Ge.call(fn,wn)&&ae(un,wn,fn[wn]);if(Ue)for(var wn of Ue(fn))Be.call(fn,wn)&&ae(un,wn,fn[wn]);return un},be=(un,fn)=>{var wn={};for(var Sn in un)Ge.call(un,Sn)&&fn.indexOf(Sn)<0&&(wn[Sn]=un[Sn]);if(un!=null&&Ue)for(var Sn of Ue(un))fn.indexOf(Sn)<0&&Be.call(un,Sn)&&(wn[Sn]=un[Sn]);return wn},xe=(un,fn,wn)=>new Promise((Sn,Bn)=>{var Kn=Nt=>{try{Lt(wn.next(Nt))}catch(Ft){Bn(Ft)}},Rn=Nt=>{try{Lt(wn.throw(Nt))}catch(Ft){Bn(Ft)}},Lt=Nt=>Nt.done?Sn(Nt.value):Promise.resolve(Nt.value).then(Kn,Rn);Lt((wn=wn.apply(un,fn)).next())}),Ne=un=>{var fn=un,{className:wn,style:Sn,children:Bn,loading:Kn=!1,openLoading:Rn,onClick:Lt=()=>{},size:Nt="middle",shape:Ft="round"}=fn,_t=be(fn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[dn,sn]=(0,pe.useState)(!1);return pe.createElement(je.ZP,ie({onClick:(0,ye.throttle)(Yn=>xe(void 0,null,function*(){Rn&&sn(!0);try{yield Lt(Yn)}catch(jn){console.log("error",jn)}Rn&&sn(!1)}),2e3,{leading:!0,trailing:!1}),className:ue()(Qe.btn,Qe[`${Nt}-${Ft}`],wn),style:Sn,size:Nt,shape:Ft,loading:dn||Kn},_t),Bn)},We={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"},mt=({className:un,style:fn,children:wn=null,onClick:Sn,title:Bn})=>pe.createElement("div",{className:ue()(We.head,un),style:fn},pe.createElement("span",{className:"primary-hover",onClick:Sn},pe.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),pe.createElement("b",{title:Bn},Bn),pe.createElement("div",{className:We.node},wn)),Dt={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"},Mt=({confirmShow:un=!0,confirmTitle:fn,confirmClick:wn,cancelShow:Sn=!0,cancelTitle:Bn,cancelClick:Kn,className:Rn,style:Lt,confirmLoading:Nt=!1})=>pe.createElement("div",{className:ue()(Dt.btns,Rn),style:Lt},un&&pe.createElement(je.ZP,{loading:Nt,onClick:wn,type:"primary",className:Dt.confirm},fn),Sn&&pe.createElement(je.ZP,{onClick:Kn,className:Dt.cancel},Bn)),nt={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"},Ct=({className:un,style:fn={},LeftContent:wn,children:Sn,RightContent:Bn})=>pe.createElement("div",{className:ue()(nt.fixedBottom,un),style:fn},pe.createElement("div",{className:nt.wrap},pe.createElement("div",{className:nt.left},wn),pe.createElement("div",{className:nt.center},Sn),pe.createElement("div",{className:nt.right},Bn))),At={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"},Qt=({className:un,style:fn={},dataSource:wn=[]})=>pe.createElement("div",{className:ue()(At.crumbs,un),style:fn},wn.map((Sn,Bn)=>BnHe.history.push(Sn.path)},Sn.name):pe.createElement("span",null,Sn.name),pe.createElement("span",null,"\xA0",">","\xA0")):pe.createElement("span",{key:Bn,style:{color:"#5F6368"}},Sn.name))),ln=Le(31797),on=Object.defineProperty,mn=Object.defineProperties,Mn=Object.getOwnPropertyDescriptors,pn=Object.getOwnPropertySymbols,Hn=Object.prototype.hasOwnProperty,qn=Object.prototype.propertyIsEnumerable,tr=(un,fn,wn)=>fn in un?on(un,fn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):un[fn]=wn,Nn=(un,fn)=>{for(var wn in fn||(fn={}))Hn.call(fn,wn)&&tr(un,wn,fn[wn]);if(pn)for(var wn of pn(fn))qn.call(fn,wn)&&tr(un,wn,fn[wn]);return un},cr=(un,fn)=>mn(un,Mn(fn)),Qn=(un,fn)=>{var wn={};for(var Sn in un)Hn.call(un,Sn)&&fn.indexOf(Sn)<0&&(wn[Sn]=un[Sn]);if(un!=null&&pn)for(var Sn of pn(un))fn.indexOf(Sn)<0&&qn.call(un,Sn)&&(wn[Sn]=un[Sn]);return wn};const{Countdown:Xn}=ln.default;var xr=un=>{var fn=un,{onChange:wn}=fn,Sn=Qn(fn,["onChange"]);const[Bn,Kn]=(0,pe.useState)(null);(0,pe.useEffect)(()=>{typeof Bn=="number"&&Bn>=0&&wn(Bn)},[Bn]);const Rn=Lt=>{const Nt=Math.floor(Lt/1e3);Kn(Nt)};return pe.createElement(Xn,cr(Nn({},Sn),{onChange:Rn}))}},50505:function(Gt,Ht,Le){"use strict";Le.d(Ht,{Z:function(){return re}});var pe=Le(59301);function re(Ie,Ae){const Se=(0,pe.useRef)();(0,pe.useEffect)(()=>{Se.current=Ie}),(0,pe.useEffect)(()=>{function Pe(){Se.current()}if(Ae!==null){let oe=setInterval(Pe,Ae);return()=>clearInterval(oe)}},[Ae])}},41867:function(Gt,Ht,Le){"use strict";Le.r(Ht),Le.d(Ht,{default:function(){return Gn}});var pe=Le(59301),re=Le(24459),Ie=Le(78241),Ae=Le(8591),Se=Le(43418),Pe=Le(95237),oe=Le(43604),ue=Le(6848),ye=Le(3113),fe=Le(28103),se=Le(92832),ce=Le(61621),ge=Le(5112),te=Le(78113),y=Le(49898),a=Le(88230),E=Le(61186),b=Le.n(E),x={flex_box_center:"flex_box_center___Eli3_",flex_space_between:"flex_space_between___b9mMZ",flex_box_vertical_center:"flex_box_vertical_center___HDlqC",flex_box_center_end:"flex_box_center_end___wxSjo",flex_box_column:"flex_box_column___riQIC",icons:"icons___fU5ZJ",shixuns:"shixuns___HhH4T",buttons:"buttons___Xd62N",addStage:"addStage___Ap4gr",color4CA:"color4CA___dMAG4",color204:"color204___ySVKY",completed:"completed___pNt1x",actionTabs:"actionTabs___x3cPl",tab:"tab___BFnIn",s1:"s1___O6K2P",tabActive:"tabActive___v3_qF",total:"total___oZdqK",introContent:"introContent___dSvDD",introContentMaxHeight:"introContentMaxHeight___NxSzO"},z=Le(43428),ee=Le(24905),ne=Le(58421),de=Le(7660),he=Le(6347),we=Le(73898),ve={flex_box_center:"flex_box_center___bI3gK",flex_space_between:"flex_space_between___ZyemH",flex_box_vertical_center:"flex_box_vertical_center___vOG6y",flex_box_center_end:"flex_box_center_end___g0YQU",flex_box_column:"flex_box_column___a7oLH",wrp:"wrp___wYwtQ",drawer:"drawer___UVA9h",menu:"menu___s5Hi1",actived:"actived___GavBb",actived2:"actived2___XNyxe",listItem:"listItem___OyHb7",info:"info___UU9rA",title:"title___CmRLc",titleLeft:"titleLeft___xWCXz",titleRight:"titleRight___PeYdC",search:"search___CzPOL",description:"description___TEI_C",menuCourse:"menuCourse___Z8Z9h"},Oe=Le(59301),Fe=Object.defineProperty,Ce=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,rt=(It,ft,Rt)=>ft in It?Fe(It,ft,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):It[ft]=Rt,Je=(It,ft)=>{for(var Rt in ft||(ft={}))ze.call(ft,Rt)&&rt(It,Rt,ft[Rt]);if(Ce)for(var Rt of Ce(ft))Ze.call(ft,Rt)&&rt(It,Rt,ft[Rt]);return It},dt=(It,ft,Rt)=>new Promise((an,In)=>{var Wn=Jt=>{try{qt(Rt.next(Jt))}catch(Ut){In(Ut)}},Wt=Jt=>{try{qt(Rt.throw(Jt))}catch(Ut){In(Ut)}},qt=Jt=>Jt.done?an(Jt.value):Promise.resolve(Jt.value).then(Wn,Wt);qt((Rt=Rt.apply(It,ft)).next())});const{Search:Xe}=se.default,ht=[{id:"type",name:"\u7B5B\u9009",children:[{name:"\u5168\u90E8\u5B9E\u8BAD",id:"all",type:"type"},{name:"\u6211\u7684\u5B9E\u8BAD",id:"mine",type:"type"}]},{id:"diff",name:"\u96BE\u5EA6",children:[{name:"\u5168\u90E8",id:"",type:"diff"},{name:"\u521D\u7EA7",id:1,type:"diff"},{name:"\u4E2D\u7EA7",id:2,type:"diff"},{name:"\u4E2D\u9AD8\u7EA7",id:3,type:"diff"},{name:"\u9AD8\u7EA7",id:4,type:"diff"}]}],ct=({classroomList:It,loading:ft,dispatch:Rt,cb:an,shixunIds:In=[]})=>{var Wn;const Wt=(0,re.useParams)(),qt=(0,re.useLocation)(),{actionTabs:Jt}=It,[Ut]=Ie.default.useForm(),{shixunLists:En}=It,[cn,On]=(0,pe.useState)([]),[Un,Pn]=(0,pe.useState)([]),[Cn,pr]=(0,pe.useState)({page:1,type:"all",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",load_jupyter_evaluate:!0,group_id:null});(0,pe.useEffect)(()=>{It.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"&&(Cn.page=1,Rt({type:"classroomList/getShixunLists",payload:Je({},Cn)}))},[It.actionTabs.key]),(0,pe.useEffect)(()=>{Sr()},[Wt]);const Sr=()=>dt(void 0,null,function*(){const Fn=yield(0,de.ZP)("/api/users/user_setting_groups.json",{method:"get",params:{type:"Shixun"}});On([{id:null,name:"\u5168\u90E8"},{id:-1,name:"\u672A\u52A0\u5165\u76EE\u5F55"},...(Fn==null?void 0:Fn.groups)||[]])}),Tr=()=>{Rt({type:"classroomList/setActionTabs",payload:{}}),pr({page:1,type:"all",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",load_jupyter_evaluate:!0,group_id:null})};return It.actionTabs.key!=="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"?null:Oe.createElement(z.Z,{placement:"bottom",height:"100%",closable:!1,open:It.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",key:"bottom",rootClassName:ve.drawer,footer:Oe.createElement("div",{className:"tc"},Oe.createElement(ye.ZP,{size:"middle",onClick:()=>{Tr(),Pn([]),an("\u53D6\u6D88")},style:{marginRight:8}},"\u53D6\u6D88"),Oe.createElement(ye.ZP,{size:"middle",onClick:()=>dt(void 0,null,function*(){var Fn,br;for(let _n=0;_n<(Un==null?void 0:Un.length);_n++){const rr=Un[_n];if(In.includes(rr)){Ae.ZP.info(`\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\uFF1A${(br=(Fn=En==null?void 0:En.shixun_list)==null?void 0:Fn.find(Wr=>Wr.id===rr))==null?void 0:br.title}`);return}}const yr=yield(0,he.Ep)({id:It.actionTabs.id,course_id:It.actionTabs.course_id,shixun_ids:[...Un]});Pn([]),yr!=null&&yr.shixuns_list&&(Tr(),an(yr.shixuns_list))}),type:"primary"},"\u786E\u5B9A"))},Oe.createElement("section",{className:"tc"},Oe.createElement(Xe,{placeholder:"\u5B9E\u8BAD\u4FE1\u606F/\u9662\u6821\u540D\u79F0/\u521B\u5EFA\u8005",enterButton:"\u641C\u7D22",size:"middle",className:ve.search,onSearch:Fn=>{Cn.keyword=Fn,Cn.page=1,Rt({type:"classroomList/getShixunLists",payload:Je({},Cn)})}})),Oe.createElement("section",{className:"edu-container"},ht.map(function(Fn,br){var yr;return Oe.createElement("ul",{className:ve.menu,key:br},Oe.createElement("li",null,Fn.name),(yr=Fn==null?void 0:Fn.children)==null?void 0:yr.map(function(_n,rr){return Oe.createElement("li",{className:Cn[Fn.id]==_n.id?ve.actived:"",onClick:()=>{Cn[Fn.id]=_n.id,Cn.page=1,pr(Je({},Cn)),Rt({type:"classroomList/getShixunLists",payload:Je({},Cn)})}},Oe.createElement("strong",null,_n.name))}))}),Cn.type==="mine"&&Oe.createElement("ul",{className:ve.menu},Oe.createElement("li",null,"\u76EE\u5F55"),cn==null?void 0:cn.map((Fn,br)=>Oe.createElement("li",{className:Cn.group_id==Fn.id?ve.actived:"",key:Fn.name,onClick:()=>{Cn.group_id=Fn.id,Cn.page=1,pr(Je({},Cn)),Rt({type:"classroomList/getShixunLists",payload:Je({},Cn)})}},Oe.createElement("strong",null,Fn.name)))),(Wn=En==null?void 0:En.shixun_list)==null?void 0:Wn.map(function(Fn,br){return Oe.createElement("div",{className:ve.listItem,key:br},Oe.createElement(ee.default,{checked:Un.includes(Fn.id),value:Fn.id,onChange:yr=>{let _n=Un.indexOf(Fn.id);Un.indexOf(Fn.id)>-1?Pn(Un.filter(rr=>rr!==Fn.id)):Pn(Un.concat(Fn.id))}}),Oe.createElement("div",{className:ve.info},Oe.createElement("div",{className:ve.title},Oe.createElement("div",{className:ve.titleLeft},Oe.createElement("a",{className:"c-black",href:`/shixuns/${Fn==null?void 0:Fn.identifier}/challenges`,target:"_blank"},Oe.createElement("strong",{className:"font16",dangerouslySetInnerHTML:{__html:Fn.title}})),(0,we.Ny)()&&(Fn==null?void 0:Fn.mark_status)===1&&Oe.createElement(ue.Z,{title:Fn==null?void 0:Fn.mark_content},Oe.createElement("span",{style:{marginRight:"auto",background:"#2FA34F"},className:"tag-style current ml10"},"\u6B63\u5E38")),(0,we.Ny)()&&(Fn==null?void 0:Fn.mark_status)===2&&Oe.createElement(ue.Z,{title:Fn==null?void 0:Fn.mark_content},Oe.createElement("span",{style:{marginRight:"auto",background:"#FF8C29"},className:"tag-style current ml10"},"\u9700\u5B8C\u5584")),(0,we.Ny)()&&(Fn==null?void 0:Fn.mark_status)===3&&Oe.createElement(ue.Z,{title:Fn==null?void 0:Fn.mark_content},Oe.createElement("span",{style:{marginRight:"auto",background:"#E53333"},className:"tag-style current ml10"},"\u65E0\u6CD5\u4F7F\u7528")))),Oe.createElement("div",{className:"flex-wrp mt10 font14 c-light-black"},Oe.createElement("span",{className:ve.description,dangerouslySetInnerHTML:{__html:Fn.description}})),Oe.createElement("div",{className:"flex-wrp mt15"},Fn.challenge_names.map(function(yr,_n){return Oe.createElement("span",{key:_n,className:"mr30 font12"},"\u7B2C",_n+1,"\u5173 ",yr," ")})),Oe.createElement(fe.Z,{dashed:!0}),Oe.createElement("div",{className:"c-light-black mt20 font12"},Oe.createElement("span",null,Fn.author_name),Oe.createElement("span",{className:"ml15 mr15"},"|"),Oe.createElement("span",null,Fn.author_school_name),Oe.createElement("span",{className:"ml15 mr15"},"|"),Oe.createElement("span",null,"\u96BE\u5EA6\u7CFB\u6570:",Fn.level),Oe.createElement("span",{className:"ml15 mr15"},"|"),Oe.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570:"),Oe.createElement("span",null,Fn.study_count))))}),Oe.createElement("p",null)),Oe.createElement("div",{className:"tc"},Oe.createElement(ne.Z,{current:Cn.page||1,hideOnSinglePage:!0,showSizeChanger:!1,defaultPageSize:20,showQuickJumper:!0,total:En==null?void 0:En.shixuns_count,onChange:Fn=>{Cn.page=Fn,Rt({type:"classroomList/getShixunLists",payload:Je({},Cn)})}})))};var Ye=(0,re.connect)(({classroomList:It,loading:ft})=>({classroomList:It,loading:ft}))(ct),Te=Le(82309),Me=Le(93948),He={wrap:"wrap___UWG0f",name:"name___LIQSC",button:"button___CSggN",progress:"progress___AQo_Y",havaLearn:"havaLearn___fq9Cb"},Re=(It,ft,Rt)=>new Promise((an,In)=>{var Wn=Jt=>{try{qt(Rt.next(Jt))}catch(Ut){In(Ut)}},Wt=Jt=>{try{qt(Rt.throw(Jt))}catch(Ut){In(Ut)}},qt=Jt=>Jt.done?an(Jt.value):Promise.resolve(Jt.value).then(Wn,Wt);qt((Rt=Rt.apply(It,ft)).next())}),st=({data:It={},dispatch:ft=()=>{},onReloadData:Rt=()=>{}})=>{const an=()=>{var qt,Jt,Ut;if(!(0,Te.tJ)(ft)||(0,we.Jd)())return;let En;for(let cn=0;cn<((qt=It==null?void 0:It.stages)==null?void 0:qt.length);cn++){const On=(Jt=It==null?void 0:It.stages)==null?void 0:Jt[cn],Un=(Ut=On==null?void 0:On.shixuns_list)==null?void 0:Ut.find(Pn=>(Pn==null?void 0:Pn.shixun_status)!=="\u6682\u672A\u516C\u5F00");if(Un){En=Un.identifier;break}}En?Wt(En):Ae.ZP.info("\u5B9E\u8BAD\u6682\u672A\u516C\u5F00!")},In=qt=>{qt=qt!=null&&qt.includes(".json")?qt:`${qt}.json`,Se.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:pe.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Re(void 0,null,function*(){const Jt=yield(0,y.$Q)({url:qt});if(!Jt)return;Ae.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Ut=yield(0,y.Ir)({id:Jt.shixun_identifier});if(Ut!=null&&Ut.game_identifier){(0,a.xg)(`/tasks/${Ut.game_identifier}`),Rt();return}(Ut==null?void 0:Ut.status)===2?In(Ut==null?void 0:Ut.message):(Ut==null?void 0:Ut.status)===3&&Wn(Ut==null?void 0:Ut.message)})})},Wn=qt=>{Se.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:pe.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",qt,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Wt=qt=>Re(void 0,null,function*(){const Jt=yield(0,y.Ir)({id:qt});if(Jt!=null&&Jt.game_identifier){(0,a.xg)(`/tasks/${Jt.game_identifier}`),Rt();return}(Jt==null?void 0:Jt.status)===2?In(Jt==null?void 0:Jt.message):(Jt==null?void 0:Jt.status)===3&&Wn(Jt==null?void 0:Jt.message)});return pe.createElement("section",null,!(0,we.GJ)()&&pe.createElement(pe.Fragment,null,It!=null&&It.start_learning?pe.createElement(Pe.Z,{className:He.wrap,align:"middle"},pe.createElement(oe.Z,{flex:"1"},pe.createElement("div",{className:`mt5 ${He.havaLearn}`},pe.createElement("span",null,"\u5DF2\u5B66",It==null?void 0:It.learned,"%")),pe.createElement("div",{className:`mt5 ${He.progress}`},pe.createElement(Me.Z,{percent:It==null?void 0:It.learned,showInfo:!1})),pe.createElement("div",{className:"mt5"},pe.createElement("span",{className:"font16"},"\u4E0A\u6B21\u5B66\u4E60\u5185\u5BB9"),pe.createElement("span",{className:"ml20 c-blue-4ca"},It==null?void 0:It.last_shixun))),pe.createElement(oe.Z,null,pe.createElement(ye.ZP,{className:He.button,type:"primary",onClick:()=>Wt(It==null?void 0:It.last_shixun_identifier)},"\u5F00\u59CB\u5B66\u4E60"))):pe.createElement(Pe.Z,{className:He.wrap,align:"middle"},pe.createElement(oe.Z,{flex:"1"},pe.createElement("span",{className:He.name},"\u8FD8\u672A\u5F00\u59CB\u5B66\u4E60")),pe.createElement(oe.Z,null,pe.createElement(ye.ZP,{className:He.button,type:"primary",onClick:an},"\u5F00\u59CB\u5B66\u4E60")))))},Pt=Le(30897),lt=Le(843),Et=Le(17696),at=Le(17574),$e=Le(10906),ot=Le(22663),vt=Le(53816),Qe={tree:"tree___SHCwq",learn:"learn___buOG9",name:"name___dwQwe",sign:"sign___aQzc5",pdf_name:"pdf_name___m1wEX",name_style:"name_style___CnJ7d",color333:"color333___TbHdH"},je=Le(89392),qe=Le(84105),Ue=Le(38819),Ge=Le(38446),Be=Le(75872),ae=Le(59301),ie=Object.defineProperty,be=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,Ne=(It,ft,Rt)=>ft in It?ie(It,ft,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):It[ft]=Rt,We=(It,ft)=>{for(var Rt in ft||(ft={}))xe.call(ft,Rt)&&Ne(It,Rt,ft[Rt]);if(be)for(var Rt of be(ft))Ee.call(ft,Rt)&&Ne(It,Rt,ft[Rt]);return It},bt=(It,ft)=>{var Rt={};for(var an in It)xe.call(It,an)&&ft.indexOf(an)<0&&(Rt[an]=It[an]);if(It!=null&&be)for(var an of be(It))ft.indexOf(an)<0&&Ee.call(It,an)&&(Rt[an]=It[an]);return Rt},mt=(It,ft,Rt)=>new Promise((an,In)=>{var Wn=Jt=>{try{qt(Rt.next(Jt))}catch(Ut){In(Ut)}},Wt=Jt=>{try{qt(Rt.throw(Jt))}catch(Ut){In(Ut)}},qt=Jt=>Jt.done?an(Jt.value):Promise.resolve(Jt.value).then(Wn,Wt);qt((Rt=Rt.apply(It,ft)).next())});const Dt=(It={})=>{var ft,Rt;switch(It==null?void 0:It.item_type){case"Challenge":return ae.createElement(ue.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u4EFB\u52A1\u5173\u5361"},ae.createElement("i",{className:"iconfont icon-renwuguanka1 font20",style:{color:"#39B97E"}}));case"VideoItem":return ae.createElement(ue.Z,{title:"\u6559\u5B66\u89C6\u9891"},ae.createElement("i",{className:"iconfont icon-shipin2 c-purple-8C1 font20"}));case"StageCatalog":return ae.createElement("i",{className:"iconfont icon-kongbai c-brilliant-blue font20"});case"SubjectHomework":if((It==null?void 0:It.homework_type)==="group")return ae.createElement(ue.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u5206\u7EC4\u4F5C\u4E1A"},ae.createElement("i",{className:"iconfont icon-fenzuzuoye3 font20",style:{color:"#acc218"}}));if((It==null?void 0:It.homework_type)==="normal")return ae.createElement(ue.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u56FE\u6587\u4F5C\u4E1A"},ae.createElement("i",{className:"iconfont icon-tuwenzuoye font20",style:{color:"#1db37f"}}));break;case"ExaminationBank":return ae.createElement(ue.Z,{title:"\u6D4B\u9A8C\u5F62\u5F0F\uFF1A\u5728\u7EBF\u8003\u8BD5"},ae.createElement("i",{className:"iconfont icon-zhangjieceshibeifen font20",style:{color:"#e9a318"}}));case"HomeworkCommon":if((It==null?void 0:It.homework_type)==="hack")return ae.createElement(ue.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u7F16\u7A0B\u4F5C\u4E1A"},ae.createElement("i",{className:"iconfont icon-bianchengzuoye1 font20",style:{color:"#E99237"}}));break;case"Shixun":return It!=null&&It.is_all_choice?ae.createElement(ue.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898"},ae.createElement("i",{className:"iconfont icon-xuanzeti4 c-lake-blue font20"})):It!=null&&It.is_unity_3d?((ft=It==null?void 0:It.challenge_types)==null?void 0:ft.length)<=1?ae.createElement(ue.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u865A\u62DF\u4EFF\u771F"},ae.createElement("i",{className:"iconfont icon-xunifangzhenti1 font20",style:{color:"#A504D8"}})):ae.createElement(ue.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898\uFF0B\u865A\u62DF\u4EFF\u771F"},ae.createElement("i",{className:"iconfont icon-rongheti1 font20",style:{color:"#44B7D7"}})):((Rt=It==null?void 0:It.challenge_types)==null?void 0:Rt.length)>1?ae.createElement(ue.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898\uFF0B\u7F16\u7A0B\u5F00\u53D1"},ae.createElement("i",{className:"iconfont icon-rongheti1 font20",style:{color:"#44B7D7"}})):ae.createElement(ue.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u7F16\u7A0B\u5F00\u53D1"},ae.createElement("i",{className:"iconfont icon-shixunti2 c-light-primary font20"}));default:return ae.createElement(ue.Z,{title:"\u6559\u5B66\u8BFE\u4EF6"},ae.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"}))}},Ot=It=>{var ft=It,{pathsDetail:Rt,globalSetting:an,user:In,loading:Wn,visibleType:Wt,subjectHomeworkType:qt,updateSort:Jt,isPaths:Ut,dispatch:En,keywords:cn,isShowSchedule:On,getData:Un}=ft,Pn=bt(ft,["pathsDetail","globalSetting","user","loading","visibleType","subjectHomeworkType","updateSort","isPaths","dispatch","keywords","isShowSchedule","getData"]);let[Cn,pr]=(0,pe.useState)([]),[Sr,Tr]=(0,pe.useState)([]);const Fn=(0,re.useParams)(),[br,yr]=(0,pe.useState)([]),[_n,rr]=(0,pe.useState)({}),[Wr,Mr]=(0,pe.useState)({name:"",filename:"",type:"",className:"",data:"",close:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}});(0,pe.useEffect)(()=>{if(Pn.data&&!(0,je.isEqual)(Pn.data,br)){Sr=[];const Vt=JSON.parse(JSON.stringify(Pn.data));ar(Vt,0),yr([...Vt]),Pn!=null&&Pn.expandAll||Wt!="All"?pr([...Sr]):pr([])}},[Pn.data,Wt,Pn==null?void 0:Pn.expandAll]),(0,pe.useEffect)(()=>{var Vt,ir,vr,yn,gn,Ln,An,Pr,tn,Dr;let wr;if((Vt=Rt.detail)!=null&&Vt.has_start){const Cr=(vr=(ir=Rt.detail)==null?void 0:ir.courses)==null?void 0:vr.findIndex(Or=>{var Br;return parseInt((Br=Or.course_status)==null?void 0:Br.status)===1});wr=Cr>-1?Cr:0}else{let Cr=(Ln=(gn=(yn=Rt.detail)==null?void 0:yn.courses)==null?void 0:gn.map(Or=>{var Br;return parseInt((Br=Or.course_status)==null?void 0:Br.status)}))==null?void 0:Ln.lastIndexOf(2);wr=Cr>-1?Cr:0,Cr=(Pr=(An=Rt.detail)==null?void 0:An.courses)==null?void 0:Pr.findIndex(Or=>{var Br;return parseInt((Br=Or.course_status)==null?void 0:Br.status)===0}),wr=Cr>-1?Cr:wr}(tn=Rt.detail)!=null&&tn.courses&&rr(((Dr=Rt.detail)==null?void 0:Dr.courses[wr])||{})},[Rt.detail]);const Ur=(Vt,ir,...vr)=>mt(void 0,[Vt,ir,...vr],function*(yn,gn,Ln={}){const An=gn?yield(0,y.BK)({id:yn,challenge_id:Ln==null?void 0:Ln.challenge_id,subject_id:Fn.pathId}):yield(0,y.Ir)({id:yn,challenge_id:Ln==null?void 0:Ln.challenge_id,subject_id:Fn.pathId});if(An!=null&&An.game_identifier||An!=null&&An.identifier){(0,a.xg)(gn?`/tasks/${An==null?void 0:An.identifier}/jupyter`:`/tasks/${An.game_identifier}?subject_id=${Fn.pathId||""}`);return}(An==null?void 0:An.status)===-3?(0,a.eF)():(An==null?void 0:An.status)===2?Er(An==null?void 0:An.message):(An==null?void 0:An.status)===3&&Ir(An==null?void 0:An.message)}),Er=Vt=>{Vt=Vt!=null&&Vt.includes(".json")?Vt:`${Vt}.json`,Se.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ae.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>mt(void 0,null,function*(){const ir=yield(0,Pt.L8)({url:Vt});if(!ir)return;Ae.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const vr=yield(0,y.Ir)({id:ir.shixun_identifier});if(vr!=null&&vr.game_identifier){(0,a.xg)(`/tasks/${vr.game_identifier}`);return}(vr==null?void 0:vr.status)===2?Er(vr==null?void 0:vr.message):(vr==null?void 0:vr.status)===3&&Ir(vr==null?void 0:vr.message)})})},Ir=Vt=>{Se.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ae.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Vt,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Rr=Vt=>{console.log("onDragEnter:",Vt)},er=Vt=>mt(void 0,null,function*(){var ir,vr,yn,gn;console.log("onDrop:",Vt);const Ln=Vt.node.props.eventKey,An=Vt.dragNode.props.eventKey,Pr=Vt.node.props.pos.split("-"),tn=Vt.dropPosition-Number(Pr[Pr.length-1]);if(Pr.length>3&&!Vt.node.dragOverGapBottom&&!Vt.node.dragOverGapTop||Vt.node.dragOver&&Vt.dragNodesKeys.length>1||Pr.length>2&&Vt.dragNodesKeys.length>1)return!1;let Dr=["Attachment","Hack","Shixun","SubjectHomework","Videoltem"];if(Dr.includes((ir=Vt.dragNode)==null?void 0:ir.item_type)&&((vr=Vt.node)==null?void 0:vr.item_type)!="StageCatalog"&&tn===0||((yn=Vt.dragNode)==null?void 0:yn.item_type)==="StageCatalog"&&Dr.includes((gn=Vt.node)==null?void 0:gn.item_type)&&tn===0)return!1;const wr=(Br,Zr,mr)=>{for(let sr=0;sr{mr.splice(Zr,1),Or=Br}),!Vt.dropToGap)wr(Cr,Ln,Br=>{Br.children=Br.children||[],Br.children.unshift(Or)});else if((Vt.node.props.children||[]).length>0&&Vt.node.props.expanded&&tn===1)wr(Cr,Ln,Br=>{Br.children=Br.children||[],Br.children.unshift(Or)});else{let Br,Zr;wr(Cr,Ln,(mr,sr,Hr)=>{Br=Hr,Zr=sr}),tn===-1?Br.splice(Zr,0,Or):Br.splice(Zr+1,0,Or)}yield Jt({stage_id:Pn.stage_id,list:Cr}),ar(Cr,0,0,!0),console.log("data:",Cr),yr([...Cr]),pr([...Cn,Vt.node.key])}),ar=(Vt,ir,vr,yn)=>{ir=ir||0,Vt.map((gn,Ln)=>{var An;try{return gn.key2=ir+1+"-"+(Ln+1),gn.key3=Pn.index+1+"-"+(Ln+1),gn.title="",yn||(gn.key=ir+1+"-"+(Ln+1)),ir?gn.index=vr+"-"+(Ln+1):gn.index=gn.key3,(An=gn.children)!=null&&An.length&&(Sr.push(gn.key2),ar(gn.children,gn.key2,gn.index,yn)),gn}catch(Pr){}})},nr=Vt=>{Vt=Vt||"";let ir=new RegExp(cn,"ig");const vr=Vt.replace(ir,'$&');return cn?ae.createElement("span",{dangerouslySetInnerHTML:{__html:vr}}):Vt},jr=(Vt,ir)=>{const{learning_status:vr,name:yn}=Vt;return(vr==null?void 0:vr[0])==="can"&&(vr==null?void 0:vr[1])==="try"?ae.createElement("div",{className:Qe.learn},ae.createElement("span",{className:Qe.name},ir?yn:nr(yn)),ae.createElement("span",{className:Qe.sign},"\u514D\u8D39\u8BD5\u5B66")):ir?yn:nr(yn)},Nr=Vt=>{Wt==="All"&&(Cn.includes(Vt)?pr(Cn.filter(ir=>ir!=Vt)):pr(Cn.concat(Vt)))},Vr=(Vt,ir)=>mt(void 0,null,function*(){if((0,Te.tJ)(En,!0)){if(Vt!=null&&Vt.need_authorize){(0,Te.rX)(!1);return}yield Ur(Vt.identifier,Vt.is_jupyter||Vt.is_jupyter_lab,Vt),ir(),_n!=null&&_n.course_id&&(0,ot.JS)({id:_n==null?void 0:_n.course_id})}}),Ar=Vt=>mt(void 0,null,function*(){var ir,vr,yn,gn,Ln;if(!(0,Te.tJ)(En))return;if(!((ir=In.userInfo)!=null&&ir.admin)&&!((vr=In.userInfo)!=null&&vr.business)&&!Vt.can_view&&Vt.item_type!=="Attachment")return Se.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:ae.createElement("div",{className:"tc font14"},"\u5F53\u524D\u89C6\u9891\u4E3A\u521B\u5EFA\u8005\u6240\u5C5E\u5355\u4F4D\u5185\u90E8\u6559\u5B66\u8D44\u6599\uFF0C\u5916\u5355\u4F4D\u7528\u6237\u65E0\u89C2\u770B\u6743\u9650")});Vt.link&&(0,vt.DH)({is_f:1,id:Vt.id,point:0,total:0});const An=Pn!=null&&Pn.course_id?`course_id=${Pn==null?void 0:Pn.course_id}`:`subject_id=${Fn.pathId||Pn.subject_id}`;if(((gn=Vt==null?void 0:Vt.name)==null?void 0:gn.substr((yn=Vt==null?void 0:Vt.name)==null?void 0:yn.lastIndexOf("."))).toUpperCase()===".ZIP"){if(!((Ln=Rt.detail)!=null&&Ln.allow_download)){Ae.ZP.info("\u6559\u5B66\u8BFE\u4EF6\u4E0D\u652F\u6301\u4E0B\u8F7D");return}(0,a.FH)(Vt.name,Ge.Z.API_SERVER+Vt.url)}else(0,a.xg)(Vt.link||`/video/${Vt.id}?${An}`);if(Vt.item_type==="Attachment"&&Vt.complete_status!=2){const tn=yield(0,ot.rS)({attachment_id:Vt.id,status:2})}(Vt.item_type==="Attachment"||Vt.item_type==="VideoItem")&&Un()}),[Yr,or]=(0,pe.useState)(!1),Zn=Vt=>{Yr||or(!0)},fr=(0,pe.useMemo)(()=>(console.log("doms:"),ae.createElement(at.default,{className:Qe.tree,disabled:Pn.disabled,expandedKeys:[...Cn],draggable:!0,onDragEnter:Rr,onDrop:er,onExpand:Nr,blockNode:!0,titleRender:Vt=>{var ir,vr,yn,gn,Ln,An,Pr;let tn=Vt;if(Wt=="SubjectHomework"){if(qt=="group_count"&&(tn==null?void 0:tn.homework_type)!="group"||qt=="normal_count"&&(tn==null?void 0:tn.homework_type)!="normal")return null}else if(tn.item_type!==Wt&&Wt!=="All")return null;const Dr=((ir=Vt==null?void 0:Vt.learning_status)==null?void 0:ir[0])==="can";return ae.createElement(Pe.Z,{align:"middle",className:"font14",onClick:()=>Nr(tn.key),style:{flexWrap:"nowrap",whiteSpace:"nowrap"},onMouseOver:()=>Zn(tn.key)},ae.createElement(oe.Z,{flex:"30px",style:{display:"flex",alignItems:"center"}},Dt(Vt)),ae.createElement(oe.Z,{flex:"1",className:Qe.color333,style:{display:"flex",alignItems:"center",width:300}},Pn.cust_seq&&ae.createElement("span",{className:`${Qe.color333} mr10`},Vt.index),Vt.item_type!=="Attachment"&&ae.createElement("div",{className:Qe.name_style},ae.createElement(ue.Z,{placement:"topLeft",title:Vt.name},jr(Vt,!1))),Vt.item_type==="Attachment"&&ae.createElement("a",{target:"_blank",className:Qe.pdf_name,title:Vt.name,onClick:()=>mt(void 0,null,function*(){if((0,Te.tJ)(En)){if(_n!=null&&_n.course_id){const wr=yield(0,ot.JS)({id:_n==null?void 0:_n.course_id})}switch(Vt.item_type){case"Attachment":Ar(tn);break;case"VideoItem":Ar(Vt);break;case"ExaminationBank":Ar(Vt);break;case"HomeworkCommon":Ar(Vt);break;case"SubjectHomework":(Vt.homework_type=="group"||Vt.homework_type=="normal")&&Ar(Vt);break;case"Shixun":Vr(Vt);break}}})},Vt.name),(Vt.item_type==="Shixun"||Vt.item_type==="Challenge")&&Vt.is_unity_3d&&ae.createElement("span",{style:{background:"#a300d8",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"68px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"\u865A\u62DF\u4EFF\u771F"),(Vt.item_type==="Shixun"||Vt.item_type==="Challenge")&&Vt.is_jupyter_lab&&ae.createElement("span",{style:{background:"#ff6802",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"76px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"JupyterLab"),(Vt.item_type==="Shixun"||Vt.item_type==="Challenge")&&Vt.is_jupyter&&ae.createElement("span",{style:{background:"#ff6802",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"112px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"Jupyter Notebook"),(Vt.item_type==="Shixun"||Vt.item_type==="Challenge")&&((vr=Vt==null?void 0:Vt.shixun_marks)==null?void 0:vr.length)>0&&(((yn=In==null?void 0:In.userInfo)==null?void 0:yn.role)==1||((gn=In==null?void 0:In.userInfo)==null?void 0:gn.role)==2)&&(Vt==null?void 0:Vt.shixun_marks.map((wr,Cr)=>ae.createElement(ue.Z,{title:`${wr}`,key:Cr},ae.createElement("span",{style:{background:"#43a2ff",color:"#fff",borderRadius:"13px",marginLeft:"5px",height:"20px",textAlign:"center",fontSize:"12px",maxWidth:"70px",padding:"0px 13px",overflow:"hidden",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",justifyContent:"center",textOverflow:"ellipsis"}},wr)))),!!((Ln=Vt.schools)!=null&&Ln.length)&&ae.createElement(ue.Z,{title:"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E"},ae.createElement("i",{className:"iconfont icon-zhidinggongkai1 ml10 c-orange",style:{transform:"translateY(1px)",display:"inline-block"}})),(Vt.item_type==="Shixun"||Vt.item_type==="Challenge")&&!!(Vt!=null&&Vt.finished_challenges_count)&&ae.createElement(ue.Z,{title:`\u5B8C\u6210\u5EA6:${Math.round((Vt==null?void 0:Vt.finished_challenges_count)/(Vt==null?void 0:Vt.challenges_count)*100)}%`},ae.createElement("i",{className:`iconfont icon-a-wanchengdu100 ml10 ${(Vt==null?void 0:Vt.finished_challenges_count)-(Vt==null?void 0:Vt.challenges_count)===0?"c-light-green":"c-grey-333"}`,style:{transform:"translateY(1px)",display:"inline-block"}}))),!Pn.disabled&&ae.createElement("aside",{style:{color:"#0152d9",fontSize:"14px",marginRight:"20px"}},"\u62D6\u52A8\u53EF\u4EE5\u6539\u53D8\u9879\u76EE\u663E\u793A\u987A\u5E8F"),Yr&&ae.createElement(oe.Z,{className:"tr"},(tn.item_type==="VideoItem"||(tn==null?void 0:tn.item_type)==="Attachment"||(tn==null?void 0:tn.item_type)==="StageCatalog"||(tn==null?void 0:tn.item_type)==="SubjectHomework"||(tn==null?void 0:tn.item_type)==="ExaminationBank"||(tn==null?void 0:tn.item_type)==="HomeworkCommon")&&!Pn.disabled&&!Pn.hiddenEditBtn&&ae.createElement(ue.Z,{title:"\u7F16\u8F91"},ae.createElement("span",{onClick:()=>{Pn.editVidoItem(We({stage_id:Pn.stage_id},tn))},style:{color:"#ccc",marginRight:"10px"}},ae.createElement($e.Z,null))),!Pn.disabled&&ae.createElement(ae.Fragment,null,ae.createElement(ue.Z,{title:"\u5220\u9664"},ae.createElement("span",{onClick:()=>{Pn.deleteStages({id:tn.stage_item_id,stage_id:Pn.stage_id})},className:"iconfont icon-shanchu c-grey-c"}))),Pn.showVideoPlay&&Pn.disabled&&tn.item_type==="SubjectHomework"&&Dr&&ae.createElement("aside",null,!(0,we.JA)()&&Ut&&((0,we.Ny)()||(tn==null?void 0:tn.is_free)||!(tn!=null&&tn.is_free)&&(tn==null?void 0:tn.is_trial_study))&&ae.createElement(ye.ZP,{className:"mr10",type:"primary",onClick:()=>mt(void 0,null,function*(){(0,Te.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:tn.stage_item_id,title:(tn==null?void 0:tn.homework_type)=="group"?"\u5206\u7EC4\u4F5C\u4E1A":"\u56FE\u6587\u4F5C\u4E1A"}}})})},"\u53D1\u9001"),!(0,we.JA)()&&Ut&&ae.createElement(ye.ZP,{type:"primary",onClick:()=>mt(void 0,null,function*(){(0,Te.tJ)(En)&&Pn.showInfoModal(We({stage_id:Pn.stage_id},tn))})},"\u67E5\u770B\u8BE6\u60C5")),Pn.showVideoPlay&&Pn.disabled&&tn.item_type==="ExaminationBank"&&Dr&&ae.createElement("aside",null,!(0,we.JA)()&&Ut&&((0,we.Ny)()||(tn==null?void 0:tn.is_free)||!(tn!=null&&tn.is_free)&&(tn==null?void 0:tn.is_trial_study))&&ae.createElement(ye.ZP,{className:"mr10",type:"primary",onClick:()=>mt(void 0,null,function*(){(0,Te.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:tn.stage_item_id,title:"\u6D4B\u9A8C",examinationid:tn.id}}})})},"\u53D1\u9001"),!(0,we.JA)()&&Ut&&ae.createElement(ye.ZP,{type:"primary",onClick:()=>mt(void 0,null,function*(){(0,Te.tJ)(En)&&window.open(`/paperlibrary/see/${tn.id}?defaultActiveKey=1`)})},"\u67E5\u770B\u8BE6\u60C5")),Pn.showVideoPlay&&Pn.disabled&&tn.item_type==="HomeworkCommon"&&Dr&&ae.createElement("aside",null,!(0,we.JA)()&&Ut&&((0,we.Ny)()||(tn==null?void 0:tn.is_free)||!(tn!=null&&tn.is_free)&&(tn==null?void 0:tn.is_trial_study))&&ae.createElement(ye.ZP,{className:"mr10",type:"primary",onClick:()=>mt(void 0,null,function*(){(0,Te.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:tn.stage_item_id,title:"\u7F16\u7A0B\u4F5C\u4E1A",examinationid:tn.id}}})})},"\u53D1\u9001"),!(0,we.JA)()&&Ut&&ae.createElement(ye.ZP,{type:"primary",onClick:()=>mt(void 0,null,function*(){(0,Te.tJ)(En)&&Pn.showInfoModal(We({stage_id:Pn.stage_id},tn))})},"\u67E5\u770B\u8BE6\u60C5")),Pn.showVideoPlay&&Pn.disabled&&tn.item_type==="VideoItem"&&Dr&&ae.createElement("aside",null,!(0,we.JA)()&&Ut&&((0,we.Ny)()||(tn==null?void 0:tn.is_free)||!(tn!=null&&tn.is_free)&&(tn==null?void 0:tn.is_trial_study))&&ae.createElement(ye.ZP,{className:"mr10",type:"primary",onClick:()=>mt(void 0,null,function*(){(0,Te.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:tn.stage_item_id,title:"\u89C6\u9891"}}})})},"\u53D1\u9001"),ae.createElement(ye.ZP,{type:"primary",className:"mr10",onClick:()=>mt(void 0,null,function*(){Ar(tn)})},tn.last_point>0?"\u7EE7\u7EED\u5B66\u4E60":"\u5F00\u59CB\u5B66\u4E60")),(tn.allow_visit||tn.to_be_built||!tn.shixun_status)&&Pn.disabled&&(tn.item_type==="Shixun"||tn.item_type==="Challenge")&&Dr&&ae.createElement("aside",null,!(0,we.JA)()&&Ut&&!tn.shixun_status&&((0,we.Ny)()||(tn==null?void 0:tn.is_free)||!(tn!=null&&tn.is_free)&&(tn==null?void 0:tn.is_trial_study))&&ae.createElement(ye.ZP,{className:"ml10",type:"primary",onClick:()=>mt(void 0,null,function*(){(0,Te.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:tn.stage_item_id,title:"\u5B9E\u8BAD",is_jupyter:tn==null?void 0:tn.is_jupyter,identifier:tn==null?void 0:tn.identifier}}})})},"\u53D1\u9001"),ae.createElement(ye.ZP,{className:"ml10",type:"primary",onClick:()=>mt(void 0,null,function*(){(0,Te.tJ)(En)&&(_n!=null&&_n.course_id&&(yield(0,ot.JS)({id:_n==null?void 0:_n.course_id})),window.open(`/shixuns/${tn.identifier}/challenges`))})},"\u67E5\u770B\u8BE6\u60C5"),!tn.shixun_status&&ae.createElement(Be.Z,{className:"ml10",type:"primary",onClick:()=>mt(void 0,null,function*(){return new Promise(wr=>mt(void 0,null,function*(){Vr(tn,wr)}))})},tn!=null&&tn.need_authorize?"\u9700\u6388\u6743":Vt!=null&&Vt.finished_challenges_count?(Vt==null?void 0:Vt.finished_challenges_count)-(Vt==null?void 0:Vt.challenges_count)===0?"\u518D\u6B21\u5B9E\u6218":"\u7EE7\u7EED\u5B9E\u6218":"\u5F00\u59CB\u5B9E\u6218")),Pn.showVideoPlay&&Pn.disabled&&tn.item_type==="Attachment"&&Dr&&ae.createElement("aside",null,((An=Rt.detail)==null?void 0:An.allow_download)&&ae.createElement(ye.ZP,{className:"mr10",type:"primary",onClick:()=>mt(void 0,null,function*(){var wr;(0,Te.tJ)(En)&&(0,a.Nd)("",`${Ge.Z.API_SERVER}${(wr=tn.url)==null?void 0:wr.replace("disposition=inline","")}`)})},"\u4E0B\u8F7D\u8D44\u6E90"),ae.createElement(ye.ZP,{type:"primary",className:"mr10",onClick:()=>mt(void 0,null,function*(){(0,Te.tJ)(En)&&(0,a.xg)(`/video/${tn.id}?subject_id=${Fn.pathId||""}`)})},"\u5F00\u59CB\u5B66\u4E60"))),ae.createElement(oe.Z,null,Pn.disabled&&tn.shixun_status==="\u6682\u672A\u516C\u5F00"&&ae.createElement("span",{className:`${Qe.color204} ml5`},"\u6682\u672A\u53D1\u5E03"),tn.shixun_status==="\u5DF2\u5220\u9664"&&ae.createElement("span",{className:`${Qe.color204} ml5`},"\u5DF2\u5220\u9664"),Pn.disabled&&!On&&(tn.item_type==="Shixun"||tn.item_type==="Challenge")&&!!tn.challenges_count&&ae.createElement("span",{className:"exper\u02C6iment-number ml5 c-grey-999"},"\u5B9E\u9A8C\u6570 ",tn.challenges_count),Pn.disabled&&On&&(tn.item_type==="Shixun"||tn.item_type==="Challenge")&&!!tn.challenges_count&&tn.shixun_status!=="\u6682\u672A\u516C\u5F00"&&tn.shixun_status!=="\u5DF2\u5220\u9664"&&ae.createElement(ae.Fragment,null,ae.createElement("i",{className:"iconfont icon-wanchenggouxuan font14",style:{marginLeft:"5px",color:tn.finished_challenges_count===tn.challenges_count?"#50DAAE":"#DEDEDE"}}),ae.createElement("span",{style:{marginLeft:"4px"}},ae.createElement("span",{style:{color:"#165DFF",fontSize:"14px"}},tn.finished_challenges_count),ae.createElement("span",{style:{color:"#DEDEDE",fontSize:"14px"}},"/",tn.challenges_count))),Pn.disabled&&On&&(tn.item_type==="VideoItem"||tn.item_type==="Attachment")&&(tn.complete_status==0?ae.createElement("i",{className:"iconfont icon-weidianjixuexi font14",style:{color:"#DEDEDE"}}):tn.complete_status==1?ae.createElement("i",{className:"iconfont icon-yidianjixuexiweiwancheng font14",style:{color:"#50DAAE"}}):ae.createElement("i",{className:"iconfont icon-xuexiwancheng font14",style:{color:"#50DAAE"}})),Wt==="All"&&!!((Pr=Vt.children)!=null&&Pr.length)&&ae.createElement("span",{className:"ml10"},Cn.includes(Vt.key)?ae.createElement(qe.Z,null):ae.createElement(Ue.Z,null))))},treeData:br})),[br,Sr,Cn,Wt,Yr]);return ae.createElement(ae.Fragment,null,fr)};var Mt=(0,re.connect)(({pathsDetail:It,loading:ft,user:Rt,globalSetting:an})=>({pathsDetail:It,globalSetting:an,user:Rt,loading:ft.effects}))(Ot),nt=Le(7651),gt=Le(19647),Ct=Le(57816),At=Le(5871),Bt=Le(64726);const Qt=({user:It,onReplyDiscuss:ft,dispatch:Rt,id:an,activeDiscussIndex:In,params:Wn})=>{const[Wt,qt]=(0,pe.useState)("");function Jt(En){qt(En)}console.log(Wn,"params33");function Ut(){if(!Wt){Ae.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}ft(an,Wt),qt("")}return pe.createElement("div",{key:an,className:"discuss-item-editor",style:{display:In===an?"block":"none",width:"100%"}},pe.createElement(Bt.Z,{miniToolbar:!0,startInit:In===an,defaultValue:Wt,id:an,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:Jt}),pe.createElement("a",{onClick:Ut,className:"btn-send"},"\u53D1\u9001"))};var ln=(0,re.connect)(({shixunsDetail:It,loading:ft,globalSetting:Rt})=>({shixunsDetail:It,globalSetting:Rt,loading:ft.models.index}))(Qt),on=(It,ft,Rt)=>new Promise((an,In)=>{var Wn=Jt=>{try{qt(Rt.next(Jt))}catch(Ut){In(Ut)}},Wt=Jt=>{try{qt(Rt.throw(Jt))}catch(Ut){In(Ut)}},qt=Jt=>Jt.done?an(Jt.value):Promise.resolve(Jt.value).then(Wn,Wt);qt((Rt=Rt.apply(It,ft)).next())});const mn=({user:It,upDataList:ft,params:Rt,page:an,getTypeNumber:In,dispatch:Wn,keywords:Wt})=>{const qt=(Jt,Ut)=>on(void 0,null,function*(){const En=yield(0,ot.ke)({id:Jt,content:Ut});(En==null?void 0:En.status)===0&&ft(1,Wt)});return pe.createElement("div",{className:"discuss-item-container bg-white"},pe.createElement("a",{href:`/users/${It.login}`,target:"_blank"},pe.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",src:`${Ge.Z.IMG_SERVER}/images/${It.image_url}`,width:"50"})),pe.createElement("section",null,pe.createElement(ln,{id:Rt.pathId,params:Rt,activeDiscussIndex:Rt.pathId,onReplyDiscuss:qt})))};var Mn=(0,re.connect)(({shixunsDetail:It,loading:ft,globalSetting:Rt})=>({shixunsDetail:It,globalSetting:Rt,loading:ft.models.index}))(mn),pn=Le(51555);function Hn(It,ft=1){return get("/discusses.json",{page:ft-1,container_identifier:It,container_type:"Shixun"})}function qn(It,ft){return(0,de.v_)(`/discusses/${It}/top_or_down_discuss.json`,{top:ft})}function tr(It,ft){return(0,de.v_)(`/discusses/${It}/plus.json`,{container_type:"Discuss",type:ft?1:0})}function Nn(It,ft){return(0,de.v_)(`/discusses/${It}/hidden.json`,ft)}function cr(It,ft){return(0,de.v_)(`/discusses/${It}/reward_code.json`,ft)}function Qn(It){return(0,de.ZP)(`/api/discusses/${It}.json`,{method:"delete"})}function Xn(It,ft){return(0,de.v_)(`/discusses/${It}/reply.json`,{container_type:"Shixun",content:ft})}function dr(It){return post("/discusses.json",It)}var xr=Le(99325),un=Le(85469),fn=Le(50484);function wn({data:It,index:ft,adminOrOperator:Rt,parentDiscussIndex:an,shixunIdentifier:In,isDelete:Wn,user:Wt,onSetRewardData:qt,onSetActionType:Jt,params:Ut,deleteCommentAlert:En,shixunName:cn,keywords:On}){const{author:Un,can_delete:Pn,manage:Cn,content:pr,hidden:Sr,id:Tr,reward:Fn,time:br}=It;function yr(){qt({id:Tr,index:ft,user_id:Un.user_id,parentDiscussIndex:an})}function _n(){Jt({id:Tr,index:ft,params:{hidden:Sr?"0":"1",container_identifier:In},type:"hidden-discuss",parentDiscussIndex:an,message:Sr?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}function rr(){if(En){Se.default.info({title:"\u63D0\u793A",content:pe.createElement("div",{className:"tc"}," ","\u8BE5\u6761\u8BC4\u8BBA\u6765\u81EA\u300A",cn,"\u300B\u5B9E\u8DF5\u9879\u76EE\uFF0C\u60A8\u4E0D\u662F\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u7BA1\u7406\u8005\uFF0C\u4E0D\u80FD\u5220\u9664\u8BC4\u8BBA\uFF01"),onOk(){}});return}Jt({id:Tr,index:ft,type:"delete-discuss",parentDiscussIndex:an,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}return pe.createElement("div",{className:"second-level-discuss"},pe.createElement("div",{className:"discuss-info-body"},pe.createElement("div",{className:"discuss-info"},pe.createElement("a",{href:`/users/${Un.login}`,target:"_blank"},Un.name),pe.createElement("span",{className:"grey"},br),Fn?pe.createElement("a",{className:"c-orange gift",title:`\u5DF2\u5956\u52B1\u91D1\u5E01${Fn}`},pe.createElement("i",{className:"iconfont icon-gift c-orange "}),pe.createElement("span",null,Fn)):null),pe.createElement("div",{className:On?"hidden":"btn-group"},Rt?pe.createElement("a",{onClick:yr,title:"\u7ED9TA\u5956\u52B1\u91D1\u5E01"},pe.createElement("i",{className:"iconfont icon-jiangli"})):null,Rt?pe.createElement("a",{onClick:_n,title:Sr?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},pe.createElement("i",{className:Sr?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Cn?pe.createElement("a",{onClick:rr,title:"\u5220\u9664"},pe.createElement("i",{className:"iconfont icon-shanchu"})):null)),pe.createElement(xr.Z,{className:"discuss-content",value:pr,highlightKeywords:On}))}var Sn=({data:It,index:ft,shixunIdentifier:Rt,adminOrOperator:an,identity:In,onTopOrDownDiscuss:Wn,onPlusDiscuss:Wt,onSetActionType:qt,onSetRewardData:Jt,user:Ut,isDelete:En,activeDiscussIndex:cn,onReplyDiscuss:On,onSetActiveDiscussIndex:Un,params:Pn,keywords:Cn})=>{const{content:pr,children:Sr,game_url:Tr,hidden:Fn,id:br,position:yr,praise_count:_n,reward:rr,sticky:Wr,time:Mr,user_praise:Ur,game_passed:Er,delete_comment_alert:Ir,author:Rr,shixun_name:er,manage:ar}=It;function nr(){Un(br)}function jr(){Wn(br,!Wr,ft)}function Nr(){Wt(br,!Ur,ft)}function Vr(){Jt({id:br,index:ft,user_id:Rr.user_id})}function Ar(){if(Ir){Se.default.info({title:"\u63D0\u793A",content:pe.createElement("div",{className:"tc"}," ","\u8BE5\u6761\u8BC4\u8BBA\u6765\u81EA\u300A",er,"\u300B\u5B9E\u8DF5\u9879\u76EE\uFF0C\u60A8\u4E0D\u662F\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u7BA1\u7406\u8005\uFF0C\u4E0D\u80FD\u5220\u9664\u8BC4\u8BBA\uFF01"),onOk(){}});return}qt({id:br,index:ft,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function Yr(){qt({id:br,index:ft,params:{hidden:Fn?"0":"1",container_identifier:Rt},type:"hidden-discuss",message:Fn?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const or=Zn=>{let{nodeName:fr,src:Vt}=Zn.target;fr==="IMG"&&(fn.Z.publish("preview-image",Vt),console.log("src:",Vt))};return pe.createElement("div",{className:"discuss-item-container",key:br},pe.createElement("a",{href:`/users/${Rr.login}`,target:"_blank"},pe.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",src:`${Ge.Z.IMG_SERVER}/images/${Rr.image_url}`,width:"50"})),pe.createElement("section",null,pe.createElement("div",{className:"discuss-info"},pe.createElement("a",{href:`/users/${Rr.login}`,target:"_blank"},Rr.name),pe.createElement("span",{className:"grey"},Mr),yr?pe.createElement("span",{className:"c-green"}," [\u7B2C",yr,"\u5173] "):null,Tr?pe.createElement("a",{href:Tr,target:"_blank",className:"view-code",title:"\u70B9\u51FB\u67E5\u770BTA\u7684\u4EE3\u7801\u9875\u9762"},"\u67E5\u770B"):null,rr?pe.createElement("a",{className:"c-orange gift",title:`\u5DF2\u5956\u52B1\u91D1\u5E01${rr}`},pe.createElement("i",{className:"iconfont icon-gift c-orange "}),pe.createElement("span",null,rr)):null,In<=5?pe.createElement("span",{style:{flex:"1",textAlign:"right",color:Er===1?"#29bd8b":""}},Er||Er===0?Er===1?"\u5DF2\u901A\u5173":"\u672A\u901A\u5173":""):null),pe.createElement("div",{onClick:or},pe.createElement(xr.Z,{className:"discuss-content",value:pr,highlightKeywords:Cn})),Sr&&Sr.length>0?pe.createElement("div",{className:"reply-discuss-container",onClick:or},Sr.map((Zn,fr)=>pe.createElement(wn,{key:Zn.id,data:Zn,index:fr,deleteCommentAlert:Ir,shixunName:er,shixunIdentifier:Rt,adminOrOperator:an,user:Ut,isDelete:En,onSetRewardData:Jt,onSetActionType:qt,parentDiscussIndex:ft,keywords:Cn}))):null,pe.createElement("div",{className:Cn?"hidden":"btn-group"},an?pe.createElement("a",{onClick:Vr,title:"\u7ED9TA\u5956\u52B1\u91D1\u5E01"},pe.createElement("i",{className:"iconfont icon-jiangli"})):null,an?pe.createElement("a",{onClick:Yr,title:Fn?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},pe.createElement("i",{className:Fn?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,ar&&(!Sr||Sr.length==0)&&pe.createElement("a",{onClick:Ar,title:"\u5220\u9664"},pe.createElement("i",{className:"iconfont icon-shanchu"})),pe.createElement("a",{onClick:nr,title:"\u56DE\u590D"},pe.createElement("i",{className:"iconfont icon-huifu1"})),pe.createElement("a",{onClick:Nr,className:Ur?"c-orange":""},pe.createElement("i",{className:Ur?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),pe.createElement("span",null,_n||""))),pe.createElement(ln,{id:br,params:Pn,activeDiscussIndex:cn,onReplyDiscuss:On})))},Bn=Object.defineProperty,Kn=Object.defineProperties,Rn=Object.getOwnPropertyDescriptors,Lt=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,_t=(It,ft,Rt)=>ft in It?Bn(It,ft,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):It[ft]=Rt,dn=(It,ft)=>{for(var Rt in ft||(ft={}))Nt.call(ft,Rt)&&_t(It,Rt,ft[Rt]);if(Lt)for(var Rt of Lt(ft))Ft.call(ft,Rt)&&_t(It,Rt,ft[Rt]);return It},sn=(It,ft)=>Kn(It,Rn(ft)),Yn=(It,ft,Rt)=>new Promise((an,In)=>{var Wn=Jt=>{try{qt(Rt.next(Jt))}catch(Ut){In(Ut)}},Wt=Jt=>{try{qt(Rt.throw(Jt))}catch(Ut){In(Ut)}},qt=Jt=>Jt.done?an(Jt.value):Promise.resolve(Jt.value).then(Wn,Wt);qt((Rt=Rt.apply(It,ft)).next())});const jn={showRewardDialog:!1,data:null,page:1,loading:!1,actionType:null,activeDiscussIndex:null};function hn(It,ft){switch(ft.type){case pn.tD:return sn(dn({},It),{loading:!0});case pn.RS:return sn(dn({},It),{showRewardDialog:!0});case pn.t2:return sn(dn({},It),{showRewardDialog:!1});case pn.GR:return dn(dn({},It),ft.payload);case pn.u8:return dn(dn({},It),ft.payload);case pn.rM:return dn(dn({},It),ft.payload);case pn.yS:return dn(dn({},It),ft.payload);case pn.Vn:return dn(dn({},It),ft.payload);case pn.SX:return dn(dn({},It),ft.payload);default:throw new Error}}var Vn=({shixunIdentifier:It,identity:ft,activeIndex:Rt,user:an,isShixunDetail:In=!1,isDelete:Wn,getTypeNumber:Wt,params:qt,getData:Jt,isNotDiscuss:Ut,keywords:En,setTypeCount:cn})=>{const[On,Un]=(0,pe.useReducer)(hn,jn),{page:Pn,loading:Cn,data:pr,actionType:Sr,showRewardDialog:Tr,activeDiscussIndex:Fn}=On,br=(0,pe.useRef)(),yr=(0,pe.useRef)();function _n(Zn){return Yn(this,null,function*(){if(!Cn)try{Un({type:pn.tD});const fr=yield(0,ot.Mu)({coursesId:qt==null?void 0:qt.pathId,page:Zn,keywords:En});cn(fr==null?void 0:fr.disscuss_count),Un({type:pn.GR,payload:{activeDiscussIndex:null,page:Zn,data:fr,loading:!1}})}catch(fr){console.log(fr)}})}function rr(Zn){document.body.scrollIntoView(),_n(Zn)}function Wr(Zn,fr,Vt){return Yn(this,null,function*(){try{const ir=yield tr(Zn,fr);Ar[Vt].user_praise=fr,Ar[Vt].praise_count=ir.praise_count,Un({type:pn.rM,payload:{data:sn(dn({},pr),{comments:Ar})}})}catch(ir){console.log(ir)}})}function Mr(Zn,fr,Vt){return Yn(this,null,function*(){try{yield qn(Zn,fr),Ar[Vt].sticky=fr,Un({type:pn.u8,payload:{data:sn(dn({},pr),{comments:Ar})}})}catch(ir){console.log(ir)}})}function Ur(){Un({type:pn.yS,payload:{actionType:null}})}function Er(){return Yn(this,null,function*(){const{id:Zn,params:fr,type:Vt,index:ir,parentDiscussIndex:vr}=Sr;if(Vt==="hidden-discuss"&&(yield Nn(Zn,fr),vr?Ar[vr].children[ir].hidden=fr.hidden==1:Ar[ir].hidden=fr.hidden==1,Un({type:pn.yS,payload:{actionType:null,data:sn(dn({},pr),{comments:Ar})}})),Vt==="delete-discuss"){if(yield Qn(Zn),vr||vr===0){let yn=Ar[vr].children;for(let gn=yn.length-1;gn>=0;gn--)if(yn[gn].id===Zn){yn.splice(gn,1);break}Ar[vr].children=yn}else for(let yn=Ar.length-1;yn>=0;yn--)if(Ar[yn].id===Zn){Ar.splice(yn,1);break}Un({type:pn.yS,payload:{actionType:null,data:sn(dn({},pr),{comments:Ar})}})}})}function Ir(Zn){Un({type:pn.yS,payload:{actionType:Zn}})}function Rr(){Un({type:pn.t2})}function er(){return Yn(this,null,function*(){const{id:Zn,index:fr,score:Vt,user_id:ir,parentDiscussIndex:vr}=br.current,yn=yield cr(Zn,{container_type:"Discusses",score:Vt,user_id:ir});vr?Ar[vr].children[fr].reward=yn.code:Ar[fr].reward=yn.code,Un({type:pn.Vn,payload:{showRewardDialog:!1,data:sn(dn({},pr),{comments:Ar})}}),br.current=null})}function ar(Zn){br.current=Zn,Un({type:pn.RS})}function nr(Zn){br.current.score=Zn}function jr(Zn,fr){return Yn(this,null,function*(){try{yield Xn(Zn,fr),_n(Pn),Jt()}catch(Vt){console.log(Vt)}})}function Nr(Zn){Un(Fn===Zn?{type:pn.SX,payload:{activeDiscussIndex:null}}:{type:pn.SX,payload:{activeDiscussIndex:Zn}})}if((0,pe.useEffect)(()=>{function Zn(){return Yn(this,null,function*(){Rt===3&&!pr&&It&&(yield _n(Pn))})}Zn()},[qt.pathId,En]),(0,pe.useEffect)(()=>{_n()},[En]),!pr)return!In&&pe.createElement(nt.Z,null);const{disscuss_count:Vr,comments:Ar,all:Yr,can_hidden:or}=pr;return pe.createElement(pe.Fragment,null,pe.createElement("div",{className:"discuss-container discuss-warp-container",ref:yr},!In&&Cn?pe.createElement(nt.Z,null):null,Vr===0?pe.createElement("div",{style:{display:"flex"}},pe.createElement(Ct.Z,null)):null,(0,we.bg)()&&!Ut&&!En&&pe.createElement(Mn,{getTypeNumber:Wt,upDataList:_n,page:Pn,user:an,params:qt,keywords:En}),pe.createElement("aside",{className:"bg-white"},Ar==null?void 0:Ar.map((Zn,fr)=>pe.createElement(Sn,{user:an,key:Zn.id,data:Zn,index:fr,identity:ft,onPaginationChange:rr,shixunIdentifier:It,isDelete:Wn,onSetActionType:Ir,onTopOrDownDiscuss:Mr,adminOrOperator:or,onPlusDiscuss:Wr,onSetRewardData:ar,activeDiscussIndex:Fn,onSetActiveDiscussIndex:Nr,onReplyDiscuss:jr,keywords:En}))),Vr>10?pe.createElement("div",{className:"pagination-container tc"},pe.createElement(ne.Z,{showQuickJumper:!0,showSizeChanger:!1,onChange:rr,current:Pn,total:Vr})):null),pe.createElement(gt.Z,null,pe.createElement(Se.default,{centered:!0,title:"\u63D0\u793A",open:!!Sr,onOk:Er,onCancel:Ur},pe.createElement("p",null,Sr?Sr.message:"")),pe.createElement(Se.default,{centered:!0,width:400,title:"\u5956\u52B1\u8BBE\u7F6E",open:Tr,onCancel:Rr,onOk:er},pe.createElement(At.Z,{placeholder:"\u8BF7\u8F93\u5165\u5956\u52B1\u7684\u91D1\u5E01\u6570\u91CF",min:1,onChange:nr,style:{width:"228px"}}))))},nn=Le(11420),et=Le(59301),en=Object.defineProperty,bn=Object.defineProperties,vn=Object.getOwnPropertyDescriptors,xn=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,zt=(It,ft,Rt)=>ft in It?en(It,ft,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):It[ft]=Rt,jt=(It,ft)=>{for(var Rt in ft||(ft={}))ut.call(ft,Rt)&&zt(It,Rt,ft[Rt]);if(xn)for(var Rt of xn(ft))kt.call(ft,Rt)&&zt(It,Rt,ft[Rt]);return It},$t=(It,ft)=>bn(It,vn(ft)),Xt=(It,ft)=>{var Rt={};for(var an in It)ut.call(It,an)&&ft.indexOf(an)<0&&(Rt[an]=It[an]);if(It!=null&&xn)for(var an of xn(It))ft.indexOf(an)<0&&kt.call(It,an)&&(Rt[an]=It[an]);return Rt},Kt=(It,ft,Rt)=>new Promise((an,In)=>{var Wn=Jt=>{try{qt(Rt.next(Jt))}catch(Ut){In(Ut)}},Wt=Jt=>{try{qt(Rt.throw(Jt))}catch(Ut){In(Ut)}},qt=Jt=>Jt.done?an(Jt.value):Promise.resolve(Jt.value).then(Wn,Wt);qt((Rt=Rt.apply(It,ft)).next())});const Yt=It=>{var ft=It,{classroomList:Rt,user:an,globalSetting:In,loading:Wn,dispatch:Wt}=ft,qt=Xt(ft,["classroomList","user","globalSetting","loading","dispatch"]),Jt;const Ut=(0,re.useParams)(),{detailTopBanner:En}=Rt,[cn,On]=(0,pe.useState)([]),[Un,Pn]=(0,pe.useState)({}),[Cn,pr]=(0,pe.useState)(-1),[Sr,Tr]=(0,pe.useState)(!1),[Fn,br]=(0,pe.useState)({name:"",is_jupyter:!1}),[yr]=Ie.default.useForm(),[_n]=Ie.default.useForm(),[rr]=Ie.default.useForm(),[Wr,Mr]=(0,pe.useState)(!1),[Ur,Er]=(0,pe.useState)(),[Ir,Rr]=(0,pe.useState)([]),[er,ar]=(0,pe.useState)(),[nr,jr]=(0,pe.useState)("All"),[Nr,Vr]=(0,pe.useState)(!0),[Ar,Yr]=(0,pe.useState)(0),[or,Zn]=(0,pe.useState)(""),[fr,Vt]=(0,pe.useState)(0),[ir,vr]=(0,pe.useState)([{name:"\u5168\u90E8",totalName:"\u8BFE\u7A0B\u5B66\u4E60",type:"All",number:0},{name:"\u5B9E\u8DF5\u9879\u76EE",totalName:"\u5B9E\u8DF5\u9879\u76EE",type:"Shixun",number:0},{name:"\u89C6\u9891\u9879\u76EE",totalName:"\u89C6\u9891\u9879\u76EE",type:"VideoItem",number:0},{name:"\u6559\u5B66\u8BFE\u4EF6",totalName:"\u6559\u5B66\u8BFE\u4EF6",type:"Attachment",number:0},{name:"\u8BA8\u8BBA",totalName:"\u8BA8\u8BBA",type:"Discusses",number:0},{name:"\u5173\u5361",totalName:"\u5173\u5361",type:"challenges_count",number:0}]),yn=(0,pe.useRef)();(0,pe.useEffect)(()=>{sr()},[Ut==null?void 0:Ut.coursesId]),(0,pe.useEffect)(()=>{Rt.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&sr()},[Rt.actionTabs.key]),(0,pe.useEffect)(()=>{Ln()},[Un]),(0,pe.useEffect)(()=>{const rn=cn.map(lr=>lr.items);let Tn=0;rn.map(lr=>{lr.map(zr=>{new RegExp(or,"ig").test(zr.name)&&(zr.item_type===nr||nr==="All")&&Tn++})}),Tn>ir.find(lr=>lr.type===nr).number&&(Tn=ir.find(lr=>lr.type===nr).number),Vt(Tn)},[cn,nr,or]),(0,pe.useEffect)(()=>{if(!yn.current)return;function rn(){var lr;let zr=new ResizeObserver(ea=>{for(let ha of ea);});return zr.observe((lr=yn.current)==null?void 0:lr.firstElementChild),zr}const Tn=rn();return()=>{var lr,zr;(lr=yn.current)!=null&&lr.firstElementChild&&Tn.unobserve((zr=yn.current)==null?void 0:zr.firstElementChild)}},[yn.current,cn]);const gn=rn=>Kt(void 0,null,function*(){const Tn=yield(0,he.Ex)(jt({},rn));return cn[Cn].items=rn.list,Tn}),Ln=()=>{const{shixuns_count:rn=0,videos_count:Tn=0,pdf_attachments_count:lr=0,disscuss_count:zr=0,challenges_count:ea=0}=Un,ha={All:rn+Tn+lr+ea,Shixun:rn,VideoItem:Tn,Attachment:lr,Discusses:zr,challenges_count:ea},Ea=ir.map(Qr=>$t(jt({},Qr),{number:ha[Qr.type]}));vr(Ea)},An=rn=>{var Tn;Cn===-1?(Zn((Tn=decodeURIComponent(rn))==null?void 0:Tn.trim()),pr(-1)):Ae.ZP.warning("\u8BF7\u5148\u53D6\u6D88\u7F16\u8F91\u72B6\u6001")},Pr=rn=>Kt(void 0,null,function*(){Wt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const Tn=yield(0,y.Ir)({id:rn});if(Wt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),Tn!=null&&Tn.game_identifier){(0,a.xg)(`/tasks/${Tn.game_identifier}`);return}(Tn==null?void 0:Tn.status)===2?tn(Tn==null?void 0:Tn.message):(Tn==null?void 0:Tn.status)===3&&Dr(Tn==null?void 0:Tn.message)}),tn=rn=>{rn=rn!=null&&rn.includes(".json")?rn:`${rn}.json`,Se.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:et.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Kt(void 0,null,function*(){const Tn=yield(0,Pt.L8)({url:rn});if(!Tn)return;Ae.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const lr=yield(0,y.Ir)({id:Tn.shixun_identifier});if(lr!=null&&lr.game_identifier){(0,a.xg)(`/tasks/${lr.game_identifier}`);return}(lr==null?void 0:lr.status)===2?tn(lr==null?void 0:lr.message):(lr==null?void 0:lr.status)===3&&Dr(lr==null?void 0:lr.message)})})},Dr=rn=>{Se.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:et.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",rn,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},wr=()=>{const rn={shixuns_list:[],items:[]};Or(cn.length,rn),On([...cn,rn]),Er(!0)},Cr=()=>{Cn===cn.length-1&&Ur&&(ma(),On(cn.filter((rn,Tn)=>Tn!==cn.length-1))),sr(),pr(-1)},Or=(rn,Tn)=>{na()&&(pr(rn),yr.setFieldsValue({name:Tn.stage_name,description:Tn.stage_description}))},Br=rn=>{var Tn;setTimeout(()=>{document.documentElement.scrollTop=Ar},300),rn!=="\u53D6\u6D88"&&(cn[Cn].items=(Tn=cn[Cn].items)==null?void 0:Tn.concat(rn),On([...cn]))},Zr=rn=>{var Tn;rn.map(lr=>(lr.type="Attachment",lr.id=lr.id||lr.response.id,lr.url=`/api/attachments/${lr.id||lr.response.id}`,lr)),cn[Cn].items=(Tn=cn[Cn].items)==null?void 0:Tn.concat(rn),On([...cn])},mr=rn=>Kt(void 0,null,function*(){const Tn=yield(0,he.A2)(jt({id:cn[Cn].stage_id,course_id:Ut.coursesId},rn));if(Tn.id){ar(!1);const lr=[jt({},Tn)];cn[Cn].items=cn[Cn].items.concat(lr),On([...cn])}return Tn}),sr=()=>Kt(void 0,null,function*(){Vr(!0);const rn=yield(0,he.R7)({coursesId:Ut==null?void 0:Ut.coursesId});rn!=null&&rn.stages&&On(rn!=null&&rn.stages?[...rn==null?void 0:rn.stages]:[]),Pn(rn?jt({},rn):{}),Vr(!1),ma(),pr(-1)}),Hr=(rn,Tn)=>Kt(void 0,null,function*(){var lr;if(!(rn!=null&&rn.name))return Ae.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");ma();const zr=[];if((lr=cn[Cn][Tn||"shixuns_list"])==null||lr.map(ea=>{zr.push({type:ea.item_type,id:ea.id})}),Ur){const ea=yield(0,he.CI)($t(jt({},rn),{coursesId:Ut.coursesId,list:zr}));ea&&(cn[Cn]=jt(jt({},cn[Cn]),ea))}else{const ea=yield(0,he.xn)($t(jt({},rn),{id:cn[Cn].stage_id,type:Array.from(new Set(zr.map(ha=>ha.type))),list:zr}));ea&&(cn[Cn]=jt(jt({},cn[Cn]),ea))}}),kr=(rn,Tn,lr)=>{const zr=Array.from(rn),[ea]=zr.splice(Tn,1);return zr.splice(lr,0,ea),zr},hr=(rn,Tn)=>{Se.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u5B9E\u8BAD\u5417\uFF1F",onOk:()=>{cn[Cn][Tn||"shixuns_list"].splice(rn,1),Ae.ZP.success("\u5220\u9664\u6210\u529F"),On([...cn]),Hr(yr.getFieldsValue(),Tn)}})},gr=rn=>{Se.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u7AE0\u8282\u5417\uFF1F",onOk:()=>Kt(void 0,null,function*(){(yield(0,he._V)({id:rn})).status===0&&(pr(-1),Ae.ZP.success("\u5220\u9664\u6210\u529F"),sr())})})},Xr=rn=>{Se.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u7AE0\u8282\u5417\uFF1F",onOk:()=>Kt(void 0,null,function*(){(yield(0,he.WW)(jt({},rn))).status===0&&(pr(-1),Ae.ZP.success("\u5220\u9664\u6210\u529F"),sr())})})},$r=()=>{br({name:"",is_jupyter:!1}),_n.setFieldsValue({name:"",is_jupyter:!1}),Tr(!1)},Jr=(rn,Tn)=>{if(!rn.destination)return;const lr=kr(cn[Cn][Tn||"shixuns_list"],rn.source.index,rn.destination.index);cn[Cn][Tn||"shixuns_list"]=lr,On([...cn]),Hr(yr.getFieldsValue(),Tn)},ia=rn=>Kt(void 0,null,function*(){if(!na())return;(yield(0,he.ms)({id:rn})).status===0&&sr()}),la=rn=>Kt(void 0,null,function*(){if(!na())return;(yield(0,he.yy)({id:rn})).status===0&&sr()}),na=()=>Cn!==-1?(Se.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,title:"\u63D0\u793A",content:et.createElement("div",{className:"tc font14"},"\u5F53\u524D\u5355\u5143\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\u8BB0\u5F55\uFF0C\u8BF7\u5148\u4FDD\u5B58\uFF01"),onOk:()=>{const rn=`Edit_${Cn}`;let Tn=document.getElementById(rn);Tn&&setTimeout(()=>Tn.scrollIntoView({block:"start",behavior:"smooth"}))}}),!1):!0,ra=()=>{Hr(yr.getFieldsValue())},ma=()=>{Er(!1)},pa=(rn,Tn,lr)=>et.createElement(Pe.Z,{className:"list-item-row",align:"middle",key:Tn,gutter:[5,10]},et.createElement(oe.Z,null,rn.item_type==="Shixun"?et.createElement("i",{className:"iconfont c-green-shixun c-light-primary font20"}):et.createElement("i",{className:"iconfont icon-shipin2 c-purple-8C1 font20"})),et.createElement(oe.Z,{flex:1,className:!rn.allow_visit&&!rn.to_be_built&&(rn.shixun_status==="\u6682\u672A\u516C\u5F00"||rn.shixun_status==="\u5DF2\u5220\u9664")?x.color204:""},lr+1,"-",Tn+1,"\xA0\xA0",rn.name,Cn===-1&&rn.complete_status===1&&et.createElement("span",{className:x.completed},et.createElement("i",{className:"iconfont icon-duigou1 mr5 font12"}),"\u5DF2\u5B8C\u6210")),et.createElement(oe.Z,null,Cn===lr&&et.createElement("div",null,et.createElement(ue.Z,{title:"\u5220\u9664"},et.createElement("span",{onClick:()=>{hr(Tn,"shixuns_list")},className:"iconfont icon-shanchu c-grey-c"}))),Cn!==lr&&rn.item_type==="VideoItem"&&et.createElement("aside",null,et.createElement(ye.ZP,{type:"primary",href:rn.link||`/video/${rn.id}?course_id=${Ut==null?void 0:Ut.coursesId}`,target:"_blank"},rn.last_point>0?"\u7EE7\u7EED\u5B66\u4E60":"\u5F00\u59CB\u5B66\u4E60")),(rn.allow_visit||rn.to_be_built||rn.shixun_status!=="\u6682\u672A\u516C\u5F00"&&rn.shixun_status!=="\u5DF2\u5220\u9664")&&Cn!==lr&&rn.item_type==="Shixun"&&et.createElement("aside",null,et.createElement(re.Link,{to:`/shixuns/${rn.identifier}/challenges`,target:"_blank"},"\u67E5\u770B\u8BE6\u60C5"),rn.shixun_status!=="\u6682\u672A\u516C\u5F00"&&et.createElement(ye.ZP,{className:"ml20",type:"primary",onClick:()=>{(0,Te.tJ)(Wt)&&Pr(rn.identifier)}},"\u5F00\u59CB\u5B9E\u6218")),Cn===-1&&!rn.allow_visit&&rn.shixun_status==="\u6682\u672A\u516C\u5F00"&&et.createElement("span",{className:x.color204},"\u6682\u672A\u516C\u5F00"),Cn===-1&&!rn.allow_visit&&rn.shixun_status==="\u5DF2\u5220\u9664"&&et.createElement("span",{className:x.color204},"\u5DF2\u5220\u9664"),Cn===-1&&rn.allow_visit&&rn.item_type==="Shixun"&&et.createElement("span",{className:`${x.color204} ml5 experiment-number`},"\u5B9E\u9A8C\u6570 ",rn.challenges_count))),wa=(rn,Tn)=>{var lr,zr,ea,ha;if(nr!=="All"&&!((lr=rn.stage_tag)!=null&&lr.includes(nr)))return null;const Ea=rn.items.filter(Qr=>{var sa,Ba;return new RegExp(or,"ig").test(Qr.name)&&(Qr.item_type===nr||nr==="All"||((Ba=(sa=Qr==null?void 0:Qr.children)==null?void 0:sa.filter(ga=>{var Aa,za;return ga.item_type===nr||nr==="All"||((za=(Aa=ga==null?void 0:ga.children)==null?void 0:Aa.filter(bo=>bo.item_type===nr||nr==="All"))==null?void 0:za.length)>0}))==null?void 0:Ba.length)>0)});return or&&(Ea!=null&&Ea.length)||!or?et.createElement("section",{key:Tn,className:"bg-white pt30 mb20 pb20 pl10 pr10"},et.createElement("aside",{className:"pl20 pr20"},et.createElement(Pe.Z,{gutter:[5,20],align:"middle",style:{lineHeight:"16px"}},et.createElement(oe.Z,{flex:"22px"},et.createElement("span",{className:x.icons},et.createElement("i",{className:"iconfont icon-zhangjie2 font18"}))),et.createElement(oe.Z,{flex:1,className:"tl font18 bold c-grey-333"},rn.stage_name||`\u7B2C${cn==null?void 0:cn.length}\u90E8\u5206`),et.createElement(oe.Z,null,(0,we.GJ)()&&Cn===Tn&&!Ur&&et.createElement(ue.Z,{title:"\u5220\u9664"},et.createElement("span",{onClick:()=>{gr(rn.stage_id)},className:"iconfont icon-shanchu c-grey-c"})),(0,we.GJ)()&&Cn!==Tn&&nr==="All"&&!or&&et.createElement("div",null,Tn>0&&et.createElement(ue.Z,{title:"\u5411\u4E0A\u79FB\u52A8"},et.createElement("span",{onClick:()=>ia(rn.stage_id),className:"iconfont icon-xiangshangyi c-light-green font18 current"})),Tnla(rn.stage_id),className:"iconfont icon-xiangxiayi c-light-green font18 current ml5"})),!Ur&&et.createElement(ue.Z,{title:"\u7F16\u8F91"},et.createElement("span",{onClick:()=>Or(Tn,rn),className:"iconfont icon-bianjidaibeijing c-light-green font20 current ml5"}))))),!!rn.stage_description&&et.createElement("div",{style:{marginTop:12}},et.createElement("div",{ref:yn,className:`${x.introContent} ${rn!=null&&rn.showReadFull?"":x.introContentMaxHeight}`},et.createElement(xr.Z,{value:rn==null?void 0:rn.stage_description})),(rn==null?void 0:rn.showExpansion)&&et.createElement("div",{onClick:Qr=>{cn[Tn].showReadFull=!(rn!=null&&rn.showReadFull),On([...cn])}},et.createElement(fe.Z,{dashed:!1,className:"",style:{cursor:"pointer"}},et.createElement("a",{className:`font14 ${x.color999}`},rn!=null&&rn.showReadFull?"\u6536\u8D77\u5168\u6587 ":"\u9605\u8BFB\u5168\u6587 ",et.createElement("i",{className:`iconfont font14 ${rn!=null&&rn.showReadFull?"icon-changyongtubiao-xianxingdaochu-zhuanqu-":"icon-jiantou9"}`})))))),Cn===Tn&&et.createElement("div",{className:"pl20 pr20 pt20"},et.createElement("aside",null,et.createElement(Ie.default.Item,{name:"name",label:"\u540D\u79F0",rules:[{required:!0,message:"\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}]},et.createElement(se.default,{size:"middle",maxLength:60,placeholder:`\u8BF7\u8F93\u5165\u7B2C${cn==null?void 0:cn.length}\u9636\u6BB5\u540D\u79F0,\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26`,onBlur:ra})),et.createElement(Ie.default.Item,{name:"description",label:"\u63CF\u8FF0",rules:[{required:!0,message:"\u63CF\u8FF0\u4E0D\u80FD\u4E3A\u7A7A"}]},et.createElement(se.default.TextArea,{rows:5,maxLength:300,placeholder:`\u8BF7\u8F93\u5165\u7B2C${cn==null?void 0:cn.length}\u9636\u6BB5\u63CF\u8FF0`,onBlur:ra}))),et.createElement("aside",{style:{display:"flex",justifyContent:"space-evenly"}},et.createElement(ye.ZP,{size:"middle",className:"mt10",onClick:()=>{if(!cn[Cn].stage_id)return Ae.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");(0,Te.tJ)(Wt)&&(0,Te.xY)()&&(Tr(!0),_n.setFieldsValue({name:"",is_jupyter:!1}))}},et.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE"),et.createElement("br",null),et.createElement(ye.ZP,{size:"middle",className:"mt10",onClick:()=>{var Qr;if(!cn[Cn].stage_id)return Ae.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");Yr(document.documentElement.scrollTop),Wt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",id:cn[Cn].stage_id,course_id:Ut.coursesId}}),Rr((Qr=rn==null?void 0:rn.shixuns_list)==null?void 0:Qr.map(sa=>sa.id))}},et.createElement("span",{className:"iconfont icon-tianjiafangda mr5"}),"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"),et.createElement("br",null),!((zr=In==null?void 0:In.setting)!=null&&zr.is_local)&&et.createElement(et.Fragment,null,et.createElement(ye.ZP,{size:"middle",className:"mt10",onClick:()=>{var Qr,sa;if(!cn[Cn].stage_id)return Ae.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");((Qr=an.userInfo)!=null&&Qr.admin||(sa=an.userInfo)!=null&&sa.is_teacher&&(0,Te.O5)())&&ar(!0)}},et.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE"),et.createElement("br",null)),et.createElement(ye.ZP,{size:"middle",className:"mt10",onClick:()=>{if(!cn[Cn].stage_id)return Ae.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");(0,Te.tJ)(Wt)&&(0,Te.xY)()&&(Mr(!0),rr.resetFields())}},et.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u6559\u5B66\u8BFE\u4EF6"),et.createElement("br",null)),et.createElement("aside",{className:"c-light-black mt10 pb20",id:`Edit_${Tn}`},"\u4E0B\u9762\u5B9E\u8BAD\u53EF\u4EE5\u901A\u8FC7\u62D6\u62FD\u8FDB\u884C\u6392\u5E8F\u8C03\u6574")),!!((ea=rn.attachments_list)!=null&&ea.length)&&et.createElement(fe.Z,null),et.createElement("aside",{className:x.shixuns},Cn===Tn?et.createElement(te.Z5,{onDragEnd:Qr=>Jr(Qr,"attachments_list")},et.createElement(te.bK,{droppableId:"droppable-id2"},(Qr,sa)=>{var Ba;return et.createElement("div",$t(jt({className:"mt20",ref:Qr.innerRef},Qr.droppableProps),{onScroll:()=>{}}),(Ba=rn.attachments_list)==null?void 0:Ba.map(function(xa,ga){return et.createElement(te._l,{draggableId:`${xa.id.toString()}-${Tn}-${ga}`,index:ga,key:xa.id},(Aa,za)=>et.createElement("div",jt(jt({ref:Aa.innerRef},Aa.draggableProps),Aa.dragHandleProps),et.createElement(Pe.Z,{className:"list-item-row",align:"middle",key:ga,gutter:[5,10]},et.createElement(oe.Z,null,et.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"})),et.createElement(oe.Z,{flex:"1"},et.createElement("a",{className:"c-grey-333",href:Ge.Z.IMG_SERVER+xa.url,target:"_blank"},xa.name)),et.createElement(oe.Z,null,Cn===Tn&&et.createElement("div",null,et.createElement(ue.Z,{title:"\u5220\u9664"},et.createElement("span",{onClick:()=>{hr(ga,"attachments_list")},className:"iconfont icon-shanchu c-grey-c"})))))))}))})):et.createElement("div",{className:"mt20"},(ha=rn.attachments_list)==null?void 0:ha.map(function(Qr,sa){return et.createElement("div",null,et.createElement(Pe.Z,{className:"list-item-row",align:"middle",key:sa,gutter:[5,10]},et.createElement(oe.Z,null,et.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"})),et.createElement(oe.Z,null,et.createElement("a",{className:"c-grey-333",href:Ge.Z.IMG_SERVER+Qr.url,target:"_blank"},Qr.name))))}))),!!(Ea!=null&&Ea.length)&&et.createElement(Mt,{visibleType:nr,data:[...Ea],stage_id:rn.stage_id,disabled:Cn!==Tn,deleteStages:Xr,updateSort:gn,subject_id:Un==null?void 0:Un.subject_id,course_id:Ut==null?void 0:Ut.coursesId,index:Tn,cust_seq:!0,hiddenEditBtn:!0,keywords:or,isShowSchedule:Un==null?void 0:Un.is_show_schedule,getData:sr,showVideoPlay:!0}),Cn===Tn&&et.createElement("aside",{className:x.buttons},et.createElement(ye.ZP,{onClick:Cr,type:"primary",size:"middle",ghost:!0},"\u53D6\u6D88"),et.createElement(ye.ZP,{onClick:Cr,size:"middle",type:"primary"},"\u4FDD\u5B58"))):null},Na=rn=>{if(rn){let lr=0;for(var Tn=0;Tn127||rn.charCodeAt(Tn)==94?lr+=2:lr++;return lr}else return 0},eo=()=>{var rn;for(let Tn in cn)Na((rn=cn[Tn])==null?void 0:rn.stage_description)>424?cn[Tn].showExpansion=!0:cn[Tn].showExpansion=!1;return cn==null?void 0:cn.map(function(Tn,lr){return et.createElement("div",{key:lr},wa(Tn,lr))})},{start_date:to,course_end:vo}=En,So=vo||b()(b()().format("L")).valueOf(){};return et.createElement("section",{className:"mb50"},et.createElement(st,{data:Un,dispatch:Wt,onReloadData:sr}),et.createElement("aside",{style:{justifyContent:"space-between",display:"flex",background:"#fff",alignItems:"center",paddingRight:"20px"}},et.createElement("div",{className:x.actionTabs},ir.map(function(rn,Tn){if(cn!=null&&cn.some(lr=>{var zr;return(zr=lr.stage_tag)==null?void 0:zr.includes(rn.type)})||rn.type=="All"||rn.type==="Discusses")return et.createElement("div",{key:Tn,className:rn.type===nr?x.tabActive:x.tab,onClick:()=>{Cn===-1?(jr(rn.type),pr(-1)):Ae.ZP.warning("\u8BF7\u5148\u53D6\u6D88\u7F16\u8F91\u72B6\u6001")}},et.createElement("div",{className:x.s1},rn.name))})),et.createElement("div",{style:{display:"flex",justifyContent:"center"}},et.createElement(nn.t7,{style:{width:222,marginTop:"-3px"},className:(0,we.G5)()?"mr20":"",placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onChange:An}),(0,we.G5)()&&et.createElement(ye.ZP,{type:"primary",onClick:()=>Kt(void 0,null,function*(){Se.default.confirm({title:"\u63D0\u793A",content:"\u540C\u6B65\u5F00\u653E\u8BFE\u7A0B\u8D44\u6E90\u540E\uFF0C\u4F1A\u9020\u6210\u5728\u7EBF\u5B66\u4E60\u5185\u6240\u6709\u8D44\u6E90\u5F3A\u5236\u540C\u6B65\u4E3A\u6700\u65B0\u5F00\u653E\u8BFE\u7A0B\u5185\u5BB9\uFF0C\u662F\u5426\u7EE7\u7EED\u540C\u6B65\uFF1F",okText:"\u540C\u6B65",cancelText:"\u53D6\u6D88",onOk:()=>Kt(void 0,null,function*(){(yield(0,de.ZP)("/api/courses/sync_stages.json",{method:"post",body:{classroom_identifier:Ut==null?void 0:Ut.coursesId}})).status===0&&sr()})})})},"\u66F4\u65B0"))),et.createElement("div",{className:x.total},"\u5171",et.createElement("span",null,or?fr:ir.find(rn=>rn.type===nr).number),"\u4E2A",ir.find(rn=>rn.type===nr).totalName),or&&fr===0&&nr!=="Discusses"&&et.createElement(Ct.Z,{styles:{margin:"0 auto",padding:"100px 0",backgroundColor:"#fff"}}),et.createElement(ce.Z,{loading:Nr,active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},nr!=="Discusses"&&et.createElement(et.Fragment,null,et.createElement(Ie.default,{form:yr,onFinish:Hr},eo),(0,we.GJ)()&&!Ur&&nr==="All"&&Cn===-1&&!or&&et.createElement("div",{className:x.addStage,onClick:wr},et.createElement("span",{className:x.color4CA},"+\u70B9\u51FB\u65B0\u5EFA\u9636\u6BB5"),"\uFF08\u6DFB\u52A0\u4E00\u4E2A\u6216\u591A\u4E2A\u5B9E\u8BAD/\u89C6\u9891\u9879\u76EE\uFF0C\u7EC4\u6210\u4E00\u4E2A\u9636\u6BB5\uFF09"))),nr==="Discusses"&&et.createElement("aside",{style:{paddingTop:25,background:"#fff"}},et.createElement(Vn,{activeIndex:3,isNotDiscuss:So,getData:sr,shixunIdentifier:11,coursesId:Ut==null?void 0:Ut.coursesId,params:{pathId:Ut==null?void 0:Ut.coursesId},identity:(Jt=an.userInfo)==null?void 0:Jt.role,getTypeNumber:Ln,user:an.userInfo,isShixunDetail:!0,keywords:or,setTypeCount:Vt})),et.createElement(Se.default,{centered:!0,title:"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE",open:Sr,onOk:()=>Kt(void 0,null,function*(){yield _n.validateFields();const rn=yield(0,he.vf)(jt({id:cn[Cn].stage_id,course_id:Ut.coursesId},Fn));$r(),rn.id&&(Ae.ZP.success("\u6DFB\u52A0\u6210\u529F"),Br([rn]))}),onCancel:$r},et.createElement(Ie.default,{form:_n,onValuesChange:rn=>{br(jt(jt({},Fn),rn))}},et.createElement(Ie.default.Item,{label:"\u5B9E\u8BAD\u7C7B\u578B",name:"is_jupyter",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B9E\u8BAD\u7C7B\u578B"}]},et.createElement(ge.ZP.Group,null,et.createElement(ge.ZP,{defaultChecked:!0,value:!1},"\u666E\u901A\u5B9E\u8BAD"),et.createElement(ge.ZP,{value:!0},"jupyter\u5B9E\u8BAD"))),et.createElement(Ie.default.Item,{label:"\u5B9E\u8BAD\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u540D\u79F0"}]},et.createElement(se.default,{maxLength:60,suffix:et.createElement("span",null,Fn.name.length,"/60")})))),et.createElement(Se.default,{centered:!0,title:"\u65B0\u5EFA\u6559\u5B66\u8BFE\u4EF6",open:Wr,onOk:()=>Kt(void 0,null,function*(){yield rr.validateFields();const rn=yield rr.getFieldsValue();(yield(0,he.s0)({id:cn[Cn].stage_id,course_id:Ut.coursesId,attachment_ids:rn.files.map(lr=>lr.response.id)})).status===0&&(Ae.ZP.success("\u6DFB\u52A0\u6210\u529F"),Mr(!1),Zr([...rn.files]))}),onCancel:()=>Mr(!1)},et.createElement(Ie.default,{form:rr},et.createElement(Ie.default.Item,{label:"\u8BFE\u4EF6\u5185\u5BB9",name:"files",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u8BFE\u4EF6\u5185\u5BB9"}]},et.createElement(Et.Z,{maxSize:100,accept:"application/pdf",number:10})),et.createElement(Ie.default.Item,{label:"\u77E5\u8BC6\u6807\u7B7E",name:"test_lyl"},et.createElement(se.default,{onClick:()=>yo})),et.createElement("div",null,et.createElement("span",{className:"c-red"},"\u6CE8\u610F\uFF1A"),et.createElement("br",null),"1\u3001\u4E0A\u4F20\u8BFE\u4EF6\uFF0C\u5373\u8868\u793A\u60A8\u5DF2\u540C\u610F",et.createElement(re.Link,{target:"_blank",to:"/users/mmipb3zhj/videos/protocol"},"\u4E0A\u4F20\u5185\u5BB9\u534F\u8BAE"),"\uFF0C\u4E0D\u5F97\u4E0A\u4F20\u672A\u7ECF\u4ED6\u4EBA\u6388\u6743\u7684\u4F5C\u54C1\uFF1B",et.createElement("br",null),"2\u3001\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u5355\u4E2A\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7100M\uFF1B",et.createElement("br",null),"3\u3001\u5F53\u524D\u4EC5\u9650\u652F\u6301pdf\u6587\u4EF6\uFF1B",et.createElement("br",null),"4\u3001\u6587\u4EF6\u540D\u5C06\u88AB\u81EA\u52A8\u8BFB\u53D6\u4E3A\u7CFB\u7EDF\u5185\u8BE5\u8BFE\u4EF6\u7684\u540D\u79F0\uFF0C\u4E0A\u4F20\u524D\u8BF7\u6CE8\u610F\u8FD9\u4E00\u70B9\uFF1B",et.createElement("br",null),"5\u3001\u4E00\u6B21\u6700\u591A\u4E0A\u4F2010\u4E2A\u6587\u4EF6\u3002"))),et.createElement(Ye,{shixunIds:Ir,cb:Br}),et.createElement(lt.Z,{visible:er,onCancel:()=>ar(!1),onOk:mr}))};var Gn=(0,re.connect)(({classroomList:It,user:ft,loading:Rt,globalSetting:an})=>({classroomList:It,user:ft,globalSetting:an,loading:Rt.models.index}))(Yt)},59674:function(Gt,Ht,Le){"use strict";Le.d(Ht,{$J:function(){return Ie},JZ:function(){return Se},bN:function(){return oe},jP:function(){return Pe},rO:function(){return Ae}});var pe=Le(7660),re=(ue,ye,fe)=>new Promise((se,ce)=>{var ge=a=>{try{y(fe.next(a))}catch(E){ce(E)}},te=a=>{try{y(fe.throw(a))}catch(E){ce(E)}},y=a=>a.done?se(a.value):Promise.resolve(a.value).then(ge,te);y((fe=fe.apply(ue,ye)).next())});function Ie(ue){return(0,pe.U2)(`libraries/${ue}.json`)}function Ae(ue){return(0,pe.U2)("library_tags.json",ue)}function Se(ue){return re(this,null,function*(){return(yield(0,pe.IV)(`attachments/${ue}.json`)).status===0})}function Pe(ue){return(0,pe.v_)("libraries.json",ue)}function oe(ue,ye){return(0,pe.gz)(`libraries/${ue}.json`,ye)}},843:function(Gt,Ht,Le){"use strict";Le.d(Ht,{Z:function(){return we}});var pe=Le(59301),re=Le(24459),Ie=Le(92832),Ae=Le(78241),Se=Le(8591),Pe=Le(43418),oe=Le(93948),ue=Le(24905),ye=Le(12563),fe={modal:"modal___EKlPQ",uploadWrap:"uploadWrap___YGxav",upload:"upload___ouqG9",uploadLink:"uploadLink___nuif6",fileProgress:"fileProgress___tf4qy",fileCancel:"fileCancel___Bh3Wh",videoName:"videoName___Ra0NM",contentItem:"contentItem___zMdIq","tagsList-content":"tagsList-content___sDVph"},se=Le(60918),ce=Le(66701),ge=Le(73898),te=Object.defineProperty,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,b=(ve,Oe,Fe)=>Oe in ve?te(ve,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):ve[Oe]=Fe,x=(ve,Oe)=>{for(var Fe in Oe||(Oe={}))a.call(Oe,Fe)&&b(ve,Fe,Oe[Fe]);if(y)for(var Fe of y(Oe))E.call(Oe,Fe)&&b(ve,Fe,Oe[Fe]);return ve},z=(ve,Oe,Fe)=>new Promise((Ce,ze)=>{var Ze=dt=>{try{Je(Fe.next(dt))}catch(Xe){ze(Xe)}},rt=dt=>{try{Je(Fe.throw(dt))}catch(Xe){ze(Xe)}},Je=dt=>dt.done?Ce(dt.value):Promise.resolve(dt.value).then(Ze,rt);Je((Fe=Fe.apply(ve,Oe)).next())});const{TextArea:ee}=Ie.default,ne=1024,de=(ve,Oe)=>{var Fe;const{uploadInfo:Ce={}}=Oe.payload||{};switch(Oe.type){case"addVideo":return{videoList:[...ve.videoList,{name:Ce.file.name,size:Ce.file.size,type:Ce.file.type,fileHash:Ce.fileHash,state:Ce.state,videoId:Ce.videoId,loaded:Ce.loaded||0,title:""}]};case"removeVideo":return{videoList:ve.videoList.filter(ze=>ze.name!==Oe.payload.name)};case"removeAll":return{videoList:[]};case"updateProgress":return{videoList:ve.videoList.map(ze=>ze.name===Oe.payload.uploadInfo.file.name?x(x({},ze),{loaded:Oe.payload.progressPercent,videoId:Ce.videoId,fileHash:Ce.fileHash}):ze)};case"updateTitle":return{videoList:(Fe=ve.videoList)==null?void 0:Fe.map(ze=>ze.name===Oe.payload.item.name?x(x({},ze),{title:Oe.payload.title}):ze)};default:return{videoList:[]}}},he=({user:ve,globalSetting:Oe,loading:Fe,dispatch:Ce,visible:ze,editData:Ze,onCancel:rt=()=>{},onOk:Je=()=>{},queryParams:dt={}})=>{var Xe;const ht=(0,re.useParams)(),[ct]=Ae.default.useForm(),[Ye,Te]=(0,pe.useReducer)(de,{videoList:[]}),[Me,He]=(0,pe.useState)(!1),Re=(0,pe.useRef)(),[it,st]=(0,pe.useState)(),[Pt,lt]=(0,pe.useState)(!1),[Et,at]=(0,pe.useState)(!1),$e=(0,ge.Ny)()?3:1;(0,pe.useEffect)(()=>{var Ee,Ne,We;ze&&Ze&&(lt(Ze.is_link),st(Ze.link),!Ze.is_link&&Te({type:"addVideo",payload:{uploadInfo:{file:{name:Ze.filename||""},videoId:Ze.video_id,loaded:100}}}),ie(((Ee=Ze==null?void 0:Ze.tags)==null?void 0:Ee.map(bt=>bt==null?void 0:bt.name))||[]),ct.setFieldsValue({name:Ze.name,description:Ze.description,attachment_id:(Ne=Ze==null?void 0:Ze.video)==null?void 0:Ne.attachment_id,allow_skip:(We=Ze==null?void 0:Ze.video_item)==null?void 0:We.allow_skip}))},[Ze,ze]);const ot=()=>{const Ee=document.getElementById("fileUpload");Ee.value=""},vt=Ee=>{var Ne;lt(!1);const We=Ee.target.files[0];if(!We){ot();return}const bt=We.name.toLowerCase();if(bt&&bt.indexOf(".avi")==-1&&bt.indexOf(".flv")==-1&&bt.indexOf(".f4v")==-1&&bt.indexOf(".m4v")==-1&&bt.indexOf(".mov")==-1&&bt.indexOf(".mp4")==-1&&bt.indexOf(".rmvb")==-1&&bt.indexOf(".swf")==-1&&bt.indexOf(".webm")==-1&&bt.indexOf(".wmv")==-1){Se.ZP.info("\u4E0D\u652F\u6301\u7684\u89C6\u9891\u683C\u5F0F"),ot();return}if(We.size>ne*$e*1024*1024){Se.ZP.info(`\u89C6\u9891\u5927\u5C0F\u8D85\u8FC7${$e}G`),ot();return}if((Ne=Ye.videoList)!=null&&Ne.find(mt=>mt.name===We.name)){Se.ZP.info("\u4F60\u4E0D\u80FD\u4E0A\u4F20\u540C\u4E00\u4E2A\u89C6\u9891\u6587\u4EF6\u540D\u79F0\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u3002"),ot();return}je(We)},Qe=(Ee,Ne)=>{Pe.default.confirm({title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:pe.createElement("div",{className:"tc"},"\u60A8\u786E\u8BA4\u8981",Ne?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20","\u8BE5\u89C6\u9891\u5417\uFF1F"),onOk:()=>{ot(),Te({type:"removeVideo",payload:{name:Ee}})}})},je=Ee=>{var Ne,We='{"Vod":{}}';if(He(!0),Re.current){Re.current.addFile(Ee,null,null,null,We);return}(0,se.o)((Ne=ve.userInfo)==null?void 0:Ne.login,"",{create:!Re,addFileSuccess:bt=>{Te({type:"addVideo",payload:{uploadInfo:bt}})},onUploadProgress:(bt,mt,Dt)=>{const Ot=Math.ceil(Dt*100);Te({type:"updateProgress",payload:{uploadInfo:bt,progressPercent:Ot}}),ot()},onUploadFailed:bt=>{Se.ZP.info("\u89C6\u9891\u4E91\u670D\u52A1\u51FA\u73B0\u5F02\u5E38\uFF0C\u8BF7\u91CD\u65B0\u4E0A\u4F20\u3002")},onUploadEnd:bt=>{He(!1)},onUploadSucceed:bt=>{He(!1)},onUploadError:bt=>{He(!1)},gotUploader:bt=>{bt.addFile(Ee,null,null,null,We),Re.current=bt}})},qe=()=>z(void 0,null,function*(){var Ee,Ne;if(yield ct.validateFields(),!Pt&&!((Ee=Ye.videoList)!=null&&Ee.length)||Pt&&!it){Se.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u89C6\u9891\u6216\u8005\u6DFB\u52A0\u5916\u94FE");return}at(!0);const We=Pt?{link:it}:{video_id:(Ne=Ye.videoList)==null?void 0:Ne[0].videoId},bt=yield Je(x(x(x({},We),dt),{name:ct.getFieldValue("name"),attachment_id:ct.getFieldValue("attachment_id"),description:ct.getFieldValue("description"),tags:ct.getFieldValue("tag"),allow_skip:ct.getFieldValue("allow_skip")}));at(!1),bt.id&&Ue()}),Ue=()=>{ct.resetFields(),Te({type:"removeAll"}),st(null),ie([]),lt(null)},Ge=()=>{rt(),Ue()},Be=()=>{var Ee,Ne,We,bt,mt,Dt,Ot,Mt,nt,gt,Ct,At;return pe.createElement(pe.Fragment,null,!Pt&&!!((Ee=Ye.videoList)!=null&&Ee.length)&&pe.createElement("div",{className:fe.fileProgress},((We=(Ne=Ye.videoList)==null?void 0:Ne[0])==null?void 0:We.loaded)==100?pe.createElement("div",{className:`${fe.videoName} font14`},(mt=(bt=Ye.videoList)==null?void 0:bt[0])==null?void 0:mt.name):pe.createElement(oe.Z,{style:{width:"80%"},percent:(Ot=(Dt=Ye.videoList)==null?void 0:Dt[0])==null?void 0:Ot.loaded,status:((nt=(Mt=Ye.videoList)==null?void 0:Mt[0])==null?void 0:nt.loaded)==100?"normal":"active"}),pe.createElement("div",{className:fe.fileCancel,onClick:()=>{var Bt,Qt,ln,on;return Qe((Qt=(Bt=Ye.videoList)==null?void 0:Bt[0])==null?void 0:Qt.name,((on=(ln=Ye.videoList)==null?void 0:ln[0])==null?void 0:on.loaded)==100)}},((Ct=(gt=Ye.videoList)==null?void 0:gt[0])==null?void 0:Ct.loaded)===100?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20")),!((At=Ye.videoList)!=null&&At.length)&&pe.createElement("div",{className:fe.uploadWrap},pe.createElement("label",{htmlFor:"fileUpload",className:fe.upload},pe.createElement("i",{className:"iconfont icon-shangchuanshipin1 mr5"}),"\u4E0A\u4F20\u89C6\u9891"),pe.createElement("label",{className:`${fe.upload} ${fe.uploadLink}`,onClick:()=>lt(!0)},pe.createElement("i",{className:"iconfont icon-lianjie1 mr5"}),"\u6DFB\u52A0\u5916\u94FE")),Pt&&pe.createElement(Ie.default,{className:"mt5",placeholder:"\u8BF7\u8F93\u5165\u89C6\u9891\u94FE\u63A5",value:it,onChange:Bt=>st(Bt.target.value)}))},[ae,ie]=(0,pe.useState)([]),be=Ee=>{if(Ee.key=="Enter"){const Ne=ct.getFieldValue("tag");if(ct.setFieldsValue({tag:""}),!Ne){Se.ZP.info("\u6807\u7B7E\u4E0D\u80FD\u4E3A\u7A7A");return}if(ae.filter(We=>We===Ne).length>0){Se.ZP.info("\u5DF2\u6709\u76F8\u540C\u540D\u79F0\u6807\u7B7E");return}ae.push(Ne),ie([...ae])}},xe=(Ee,Ne)=>{Ee.preventDefault(),ie([...ae.filter(We=>We!=Ne)])};return pe.createElement(Pe.default,{centered:!0,maskClosable:!1,destroyOnClose:!0,title:Ze?"\u7F16\u8F91\u89C6\u9891\u9879\u76EE":"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE",width:740,className:fe.modal,open:ze,confirmLoading:Et,onOk:qe,onCancel:Ge},pe.createElement(Ae.default,{form:ct},pe.createElement("input",{type:"file",id:"fileUpload",style:{display:"none"},onChange:vt,accept:".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*"}),pe.createElement(Ae.default.Item,{label:"\u9879\u76EE\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"}]},pe.createElement(Ie.default,{maxLength:40,placeholder:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC740\u5B57\u7684\u9879\u76EE\u540D\u79F0"})),pe.createElement(Ae.default.Item,{label:"\u9879\u76EE\u5185\u5BB9",name:"content",className:fe.contentItem},Be()),pe.createElement(Ae.default.Item,{name:"attachment_id",label:"\u4E0A\u4F20\u5C01\u9762\u56FE:"},pe.createElement(ce.Z,{getFileProgress:Ee=>{if(Ee.file.status==="uploading"){at(!0);return}Ee.file.status==="done"&&at(!1)}})),pe.createElement(Ae.default.Item,{label:"\u9879\u76EE\u7B80\u4ECB",name:"description",className:"ml8"},pe.createElement(ee,{rows:5,maxLength:800,placeholder:"\u8BF7\u8F93\u5165\u672C\u89C6\u9891\u7B80\u4ECB\uFF0C\u6700\u591A\u4E0D\u8D85\u8FC7800\u5B57"})),pe.createElement(Ae.default.Item,{label:"\u77E5\u8BC6\u6807\u7B7E",name:"tag",className:"ml8"},pe.createElement(Ie.default,{onKeyUp:be})),pe.createElement(Ae.default.Item,{label:"\u64AD\u653E\u8BBE\u7F6E",name:"allow_skip",valuePropName:"checked",className:"ml8",initialValue:!0},pe.createElement(ue.default,null,"\u5141\u8BB8\u5FEB\u8FDB\u64AD\u653E")),pe.createElement("div",{className:fe["tagsList-content"]},ae.map((Ee,Ne)=>pe.createElement(ye.default,{key:Ne+Ee,closable:!0,onClose:We=>{xe(We,Ee)}},Ee))),pe.createElement("div",{className:"c-grey-999"},pe.createElement("div",null,"\u6CE8\u610F\uFF1A"),pe.createElement("div",null,"1\u3001\u4E0A\u4F20\u89C6\u9891\uFF0C\u5373\u8868\u793A\u60A8\u5DF2\u540C\u610F",pe.createElement(re.Link,{to:`/users/${(Xe=ve.userInfo)==null?void 0:Xe.login}/videos/protocol`,target:"_blank",className:fe.colorBlue},"\u4E0A\u4F20\u5185\u5BB9\u534F\u8BAE"),"\uFF0C\u4E0D\u5F97\u4E0A\u4F20\u672A\u7ECF\u4ED6\u4EBA\u6388\u6743\u7684\u4F5C\u54C1\uFF1B"),pe.createElement("div",null,"2\u3001\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7",$e,"G\uFF1B"),pe.createElement("div",null,"3\u3001\u652F\u6301\u6587\u4EF6\u683C\u5F0F\uFF1Aavi\u3001flv\u3001f4v\u3001m4v\u3001mov\u3001mp4\u3001rmvb\u3001swf\u3001webm\u3001wmv\uFF1B"),pe.createElement("div",null,"4\u3001\u5982\u679C\u89C6\u9891\u6765\u81EA\u4E8E\u5916\u90E8\u94FE\u63A5\uFF0C\u672C\u7F51\u7AD9\u4E0D\u63D0\u4F9B\u64AD\u653E\u9875\u9762\uFF0C\u65E0\u6CD5\u63D0\u4F9B\u7EDF\u8BA1\u6570\u636E\u3002"))))};var we=(0,re.connect)(({user:ve,loading:Oe,globalSetting:Fe})=>({user:ve,globalSetting:Fe,loading:Oe}))(he)},60918:function(Gt,Ht,Le){"use strict";Le.d(Ht,{o:function(){return ye}});var pe=Le(7660),re=Le(93125),Ie=Le.n(re);let Ae="",Se,Pe="";function oe(fe){ue(fe)}function ue(fe){Se=new(Ie()).Vod({timeout:6e4,partSize:1048576,parallel:5,retryCount:3,retryDuration:2,region:"ap-southeast-1",userId:0x6803cbd867207,enableUploadProgress:!1,addFileSuccess:function(se){console.log("addFileSuccess: "+se.file.name),fe.addFileSuccess&&fe.addFileSuccess(se),Se.startUpload()},onUploadstarted:function(se){const ce=se.file.name;if(se.videoId){var te=`/api/users/${Ae}/video_auths.json`;(0,pe.ZP)(te,{method:"put",body:{video_id:se.videoId,title:ce,file_name:ce,virtual_classroom_id:Pe}}).then(y=>{if(y.status==-1){fe.onUploadError&&fe.onUploadError(se);return}const a=y.data;var E=a.UploadAuth,b=a.UploadAddress,x=a.VideoId;Se.setUploadAuthAndAddress(se,E,b)}).catch(y=>{Se.deleteFile(Se._curIndex),Se.nextUpload(),console.log(y)})}else{var ge=`/api/users/${Ae}/video_auths.json`;const y="";(0,pe.ZP)(ge,{method:"Post",body:{title:y+ce,file_name:y+ce,virtual_classroom_id:Pe}}).then(a=>{if(a){const z=a.data;var E=z.UploadAuth,b=z.UploadAddress,x=z.VideoId;Se.setUploadAuthAndAddress(se,E,b,x)}}).catch(a=>{Se.deleteFile(Se._curIndex),Se.nextUpload(),console.log(a)}),console.log("\u6587\u4EF6\u5F00\u59CB\u4E0A\u4F20...")}},onUploadSucceed:function(se){fe.onUploadSucceed&&fe.onUploadSucceed(se),console.log("\u6587\u4EF6\u4E0A\u4F20\u6210\u529F!")},onUploadFailed:function(se,ce,ge){fe.onUploadFailed&&fe.onUploadFailed(se),console.log("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25!")},onUploadCanceled:function(se,ce,ge){console.log("\u6587\u4EF6\u4E0A\u4F20\u5DF2\u6682\u505C!")},onUploadProgress:function(se,ce,ge){fe.onUploadProgress&&fe.onUploadProgress(se,ce,ge);var te=Math.ceil(ge*100);console.log("\u6587\u4EF6\u4E0A\u4F20\u4E2D...")},onUploadTokenExpired:function(se){console.log("\u6587\u4EF6\u4E0A\u4F20\u8D85\u65F6!");var ce=`/api/users/${Ae}/video_auths.json`;(0,pe.ZP)(ce,{method:"put",body:{video_id:se.videoId}}).then(ge=>{var y=ge.data.UploadAuth;Se.resumeUploadWithAuth(y)}).catch(ge=>{console.log(ge)})},onUploadEnd:function(se){fe.onUploadEnd&&fe.onUploadEnd(se),console.log("onUploadEnd: uploaded all the files")}}),fe.gotUploader&&fe.gotUploader(Se)}function ye(fe,se,ce){fe&&(Ae=fe),se&&(Pe=se),oe(ce)}},82309:function(Gt,Ht,Le){"use strict";Le.d(Ht,{rX:function(){return ee},pW:function(){return ne},gy:function(){return de},xY:function(){return z},O5:function(){return x},tJ:function(){return te},o1:function(){return y},Rd:function(){return b}});var pe=Le(24459),re=Le(43418),Ie=Le(28103),Ae=Le(8591),Se=Le(73898),Pe=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),ge=(he,we,ve)=>new Promise((Oe,Fe)=>{var Ce=rt=>{try{Ze(ve.next(rt))}catch(Je){Fe(Je)}},ze=rt=>{try{Ze(ve.throw(rt))}catch(Je){Fe(Je)}},Ze=rt=>rt.done?Oe(rt.value):Promise.resolve(rt.value).then(Ce,ze);Ze((ve=ve.apply(he,we)).next())});const te=(he,we=!1)=>!!(y(he)&&a(we)),y=he=>(0,Se.bg)()?!0:(he({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),a=(he=!1)=>{var we;const{user:ve}=(0,pe.getDvaApp)()._store.getState();return(we=ve.userInfo)!=null&&we.profile_completed?!0:(re.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Pe.xg)("/account/profile/edit"),E()}}),!1)},E=()=>{re.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},b=()=>{re.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:ce.createElement("div",{style:{textAlign:"center"}},ce.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),ce.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:se}),ce.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},x=()=>{var he;const{user:we}=(0,pe.getDvaApp)()._store.getState();return(he=we.userInfo)!=null&&he.professional_certification?!0:(re.default.confirm({title:"\u63D0\u793A",centered:!0,content:ce.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Pe.xg)("/account/certification")}}),!1)},z=()=>(0,Se.V9)()?!0:(re.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:ce.createElement("div",{className:"tc",style:{marginLeft:-38}},ce.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),ce.createElement("img",{src:fe,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ee=(he,we)=>he?!0:(re.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:ce.createElement("div",null,ce.createElement("p",null,we||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),ce.createElement("div",{style:{marginLeft:"110px"}},ce.createElement("img",{src:ye,width:200}),ce.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Pe.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),ne=he=>{re.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:ce.createElement("div",null,ce.createElement("div",null,ce.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),ce.createElement(Ie.Z,null),ce.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ce.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",ce.createElement("a",null,he),"\u5929\u3002"),ce.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ce.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),ce.createElement("div",{style:{textAlign:"center",marginTop:30}},ce.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:ue,alt:"\u4E8C\u7EF4\u7801",width:160})))})},de=(he,we="")=>{const{shixunsDetail:{detail:ve}}=(0,pe.getDvaApp)()._store.getState();if((ve==null?void 0:ve.public)===2||(ve==null?void 0:ve.public)===1||(ve==null?void 0:ve.shixun_status)===3){let Oe="";return(ve==null?void 0:ve.public)===2&&(Oe="\u5DF2\u516C\u5F00"),(ve==null?void 0:ve.public)===1&&(Oe="\u5F85\u5BA1\u6838"),(ve==null?void 0:ve.shixun_status)===3&&(Oe="\u5DF2\u5173\u95ED"),re.default.info({centered:!0,icon:ce.createElement(oe.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:ce.createElement("div",{className:"tc",style:{marginLeft:-38}},ce.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},ce.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Oe,"\uFF0C",we,"\u3002"),ce.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),ce.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:ue,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(ve==null?void 0:ve.shixun_status)===2?(re.default.confirm({centered:!0,icon:ce.createElement(oe.Z,null),title:"\u63D0\u793A",content:ce.createElement("div",null,ce.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",we,"\u3002"),ce.createElement("br",null),ce.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{re.default.confirm({width:440,centered:!0,icon:ce.createElement(oe.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>ge(void 0,null,function*(){(yield he({type:"shixunsDetail/cancelRelease",payload:{id:ve==null?void 0:ve.identifier}})).status!==401&&(Ae.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),he({type:"shixunsDetail/getShixunsDetail",payload:{id:ve==null?void 0:ve.identifier}}),he({type:"practiceSetting/getCommonData",payload:{id:ve==null?void 0:ve.identifier}}))})})}}),!0):!1}},93125:function(Gt,Ht,Le){(function(pe){if(1)window.OSS=pe(),Gt.exports=pe();else var re})(function(){var pe;return function(){function re(Ie,Ae,Se){function Pe(ye,fe){if(!Ae[ye]){if(!Ie[ye]){var se=void 0;if(!fe&&se)return require(ye,!0);if(oe)return oe(ye,!0);var ce=new Error("Cannot find module '"+ye+"'");throw ce.code="MODULE_NOT_FOUND",ce}var ge=Ae[ye]={exports:{}};Ie[ye][0].call(ge.exports,function(te){return Pe(Ie[ye][1][te]||te)},ge,ge.exports,re,Ie,Ae,Se)}return Ae[ye].exports}for(var oe=void 0,ue=0;ue0?Te["Content-Type"]=Ye.mime:Te["Content-Type"]=ee.getType(Ye.mime||x.extname(Ye.object||""))||"application/octet-stream"),Ye.content&&(Te["Content-Md5"]=b.createHash("md5").update(new Pe(Ye.content,"utf8")).digest("base64"),Te["Content-Length"]||(Te["Content-Length"]=Ye.content.length));var Me=this._getResource(Ye);Te.authorization=this.authorization(Ye.method,Me,Ye.subres,Te);var He=this._getReqUrl(Ye);E("request %s %s, with headers %j, !!stream: %s",Ye.method,He,Te,!!Ye.stream);var Re=Ye.timeout||this.options.timeout;return{url:He,params:{agent:this.agent,method:Ye.method,content:Ye.content,stream:Ye.stream,headers:Te,timeout:Re,writeStream:Ye.writeStream,customResponse:Ye.customResponse,ctx:Ye.ctx||this.ctx}}},ct.request=te.default.mark(function Ye(Te){var Me,He,Re,it;return te.default.wrap(function(st){for(;;)switch(st.prev=st.next){case 0:return Me=this.createRequest(Te),He=void 0,Re=void 0,st.prev=3,st.next=6,this.urllib.request(Me.url,Me.params);case 6:He=st.sent,E("response %s %s, got %s, headers: %j",Te.method,Me.url,He.status,He.headers),st.next=13;break;case 10:st.prev=10,st.t0=st.catch(3),Re=st.t0;case 13:if(it=void 0,!He||!Te.successStatuses||Te.successStatuses.indexOf(He.status)!==-1){st.next=26;break}return st.next=17,this.requestError(He);case 17:if(it=st.sent,it.code!=="RequestTimeTooSkewed"){st.next=23;break}return this.options.amendTimeSkewed=+new Date(it.serverTime)-new Date,st.next=22,this.request(Te);case 22:return st.abrupt("return",st.sent);case 23:it.params=Te,st.next=30;break;case 26:if(!Re){st.next=30;break}return st.next=29,this.requestError(Re);case 29:it=st.sent;case 30:if(!it){st.next=32;break}throw it;case 32:if(!Te.xmlResponse){st.next=36;break}return st.next=35,this.parseXML(He.data);case 35:He.data=st.sent;case 36:return st.abrupt("return",He);case 37:case"end":return st.stop()}},Ye,this,[[3,10]])}),ct._getResource=function(Ye){var Te="/";return Ye.bucket&&(Te+=Ye.bucket+"/"),Ye.object&&(Te+=Ye.object),Te},ct._isIP=function(Ye){return Xe._isIP(Ye)},ct._escape=function(Ye){return Ce.encodeURIComponent(Ye).replace(/%2F/g,"/")},ct._getReqUrl=function(Ye){var Te={};z(this.options.endpoint).to(Te);var Me=this._isIP(Te.hostname),He=this.options.cname;!Ye.bucket||He||Me||(Te.host=Ye.bucket+"."+Te.host);var Re="/";Ye.bucket&&Me&&(Re+=Ye.bucket+"/"),Ye.object&&(Re+=this._escape(Ye.object).replace(/\+/g,"%2B")),Te.pathname=Re;var it={};if(Ye.query&&we(it,Ye.query),Ye.subres){var st={};Oe.string(Ye.subres)?st[Ye.subres]="":Oe.array(Ye.subres)?Ye.subres.forEach(function(Pt){st[Pt]=""}):st=Ye.subres,we(it,st)}return Te.query=it,ve.format(Te)},ct._getUserAgent=function(){var Ye=Se&&Se.browser?"js":"nodejs",Te="aliyun-sdk-"+Ye+"/"+Ze.version,Me=Fe.description;return!Me&&Se&&(Me="Node.js "+Se.version.slice(1)+" on "+Se.platform+" "+Se.arch),this._checkUserAgent(Te+" "+Me)},ct._checkUserAgent=function(Ye){return Ye.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta")},ct.checkBrowserAndVersion=function(Ye,Te){return Je.name===Ye&&Je.version.split(".")[0]===Te},ct.parseXML=function(Ye){return function(Te){Pe.isBuffer(Ye)&&(Ye=Ye.toString()),ne.parseString(Ye,{explicitRoot:!1,explicitArray:!1},Te)}},ct.requestError=te.default.mark(function Ye(Te){var Me,He,Re,it;return te.default.wrap(function(st){for(;;)switch(st.prev=st.next){case 0:if(Me=null,Te.data&&Te.data.length){st.next=5;break}Te.status===-1||Te.status===-2?(Me=new Error(Te.message),Me.name=Te.name,Me.status=Te.status,Me.code=Te.name):(Te.status===404?(Me=new Error("Object not exists"),Me.name="NoSuchKeyError",Me.status=404,Me.code="NoSuchKey"):Te.status===412?(Me=new Error("Pre condition failed"),Me.name="PreconditionFailedError",Me.status=412,Me.code="PreconditionFailed"):(Me=new Error("Unknow error, status: "+Te.status),Me.name="UnknowError",Me.status=Te.status),Me.requestId=Te.headers["x-oss-request-id"],Me.host=""),st.next=30;break;case 5:return He=String(Te.data),E("request response error data: %s",He),Re=void 0,st.prev=8,st.next=11,this.parseXML(He)||{};case 11:Re=st.sent,st.next=21;break;case 14:return st.prev=14,st.t0=st.catch(8),E(He),st.t0.message+=` -raw xml: `+He,st.t0.status=Te.status,st.t0.requestId=Te.headers["x-oss-request-id"],st.abrupt("return",st.t0);case 21:it=Re.Message||"unknow request error, status: "+Te.status,Re.Condition&&(it+=" (condition: "+Re.Condition+")"),Me=new Error(it),Me.name=Re.Code?Re.Code+"Error":"UnknowError",Me.status=Te.status,Me.code=Re.Code,Me.requestId=Re.RequestId,Me.hostId=Re.HostId,Me.serverTime=Re.ServerTime;case 30:return E("generate error %j",Me),st.abrupt("return",Me);case 32:case"end":return st.stop()}},Ye,this,[[8,14]])})}).call(this,re("_process"),re("buffer").Buffer)},{"../common/multipart":8,"../common/signUtils":9,"../common/thunkpool.js":10,"../common/utils":11,"./../../shims/crypto/crypto.js":237,"./managed_upload":3,"./object":4,"./version":5,"./wrapper":6,_process:173,agentkeepalive:12,"babel-runtime/core-js/object/keys":23,"babel-runtime/regenerator":33,bowser:35,buffer:38,"copy-to":43,dateformat:154,debug:155,"humanize-ms":160,"is-type-of":165,"merge-descriptors":168,mime:242,path:170,platform:171,url:203,urllib:244,utility:243,xml2js:213}],3:[function(re,Ie,Ae){(function(Se){"use strict";function Pe(z){return z&&z.__esModule?z:{default:z}}function oe(z,ee){if(!(this instanceof oe))return new oe(z,ee);x.call(this,ee),this.file=z,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}var ue=re("babel-runtime/core-js/array/from"),ye=Pe(ue),fe=re("babel-runtime/regenerator"),se=Pe(fe),ce=re("is-type-of"),ge=re("util"),te=re("path"),y=re("mime"),a=re("copy-to"),E=Ae;E.multipartUpload=se.default.mark(function z(ee,ne,de){var he,we,ve,Oe,Fe,Ce,ze,Ze,rt;return se.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(this.resetCancelFlag(),de=de||{},!de.checkpoint||!de.checkpoint.uploadId){Je.next=6;break}return Je.next=5,this._resumeMultipart(de.checkpoint,de);case 5:return Je.abrupt("return",Je.sent);case 6:return he=102400,de.mime||(ce.file(ne)?de.mime=y.getType(te.extname(ne.name)):ce.blob(ne)?de.mime=ne.type:de.mime=y.getType(te.extname(ne))),de.headers=de.headers||{},this._convertMetaToHeaders(de.meta,de.headers),Je.next=12,this._getFileSize(ne);case 12:if(!((we=Je.sent)0&&a(Oe).to(Ce),ze=this._divideParts(he,we),Ze=ze.length,rt=!1,Je=se.default.mark(function Pt(lt,Et){var at,$e,ot;return se.default.wrap(function(vt){for(;;)switch(vt.prev=vt.next){case 0:if(lt.isCancel()){vt.next=21;break}return vt.prev=1,at=ze[Et-1],$e={stream:lt._createStream(de,at.start,at.end),size:at.end-at.start},vt.next=6,lt._uploadPart(Fe,ve,Et,$e);case 6:if(ot=vt.sent,lt.isCancel()||rt){vt.next=13;break}if(ee.doneParts.push({number:Et,etag:ot.res.headers.etag}),Ce.push({number:Et,etag:ot.res.headers.etag}),!ne||!ne.progress){vt.next=13;break}return vt.next=13,ne.progress(Oe.length/Ze,ee,ot.res);case 13:vt.next=21;break;case 15:if(vt.prev=15,vt.t0=vt.catch(1),lt.isCancel()){vt.next=21;break}throw lt.cancel(),vt.t0.partNum=Et,vt.t0;case 21:case"end":return vt.stop()}},Pt,this,[[1,15]])}),dt=(0,ye.default)(new Array(Ze),function(Pt,lt){return lt+1}),Xe=Ce.map(function(Pt){return Pt.number}),ht=dt.filter(function(Pt){return Xe.indexOf(Pt)<0}),ct=5,Ye=ne.parallel||ct,!this.checkBrowserAndVersion("Internet Explorer","10")&&Ye!==1){st.next=26;break}Te=0;case 16:if(!(Te0)){st.next=37;break}throw this.resetCancelFlag(),it=Re[0],it.message="Failed to upload some parts with error: "+it.toString()+" part_num: "+it.partNum,it;case 37:if(!this.isCancel()){st.next=40;break}throw Me=null,this._makeCancelEvent();case 40:return st.next=42,this.completeMultipartUpload(Fe,ve,Ce,ne);case 42:return st.abrupt("return",st.sent);case 43:case"end":return st.stop()}},z,this)}),ce.file=function(z){return typeof File!="undefined"&&z instanceof File},ce.blob=function(z){return typeof Blob!="undefined"&&z instanceof Blob},E._getFileSize=se.default.mark(function z(ee){var ne;return se.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:if(!ce.buffer(ee)){de.next=4;break}return de.abrupt("return",ee.length);case 4:if(!ce.blob(ee)&&!ce.file(ee)){de.next=6;break}return de.abrupt("return",ee.size);case 6:if(!ce.string(ee)){de.next=11;break}return de.next=9,this._statFile(ee);case 9:return ne=de.sent,de.abrupt("return",ne.size);case 11:throw new Error("_getFileSize requires Buffer/File/String.");case 12:case"end":return de.stop()}},z,this)});var b=re("stream"),x=b.Readable;ge.inherits(oe,x),oe.prototype.readFileAndPush=function(z){if(this.fileBuffer)for(var ee=!0;ee&&this.fileBuffer&&this.startthis.fileBuffer.length?this.fileBuffer.length:de,this.start=de,ee=this.push(this.fileBuffer.slice(ne,de))}},oe.prototype._read=function(z){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file)return this.finish||(this.fileBuffer=null,this.finish=!0),void this.push(null);z=z||16384;var ee=this;this.reader.onload=function(ne){ee.fileBuffer=new Se(new Uint8Array(ne.target.result)),ee.file=null,ee.readFileAndPush(z)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(z)},E._createStream=function(z,ee,ne){if(ce.blob(z)||ce.file(z))return new oe(z.slice(ee,ne));throw new Error("_createStream requires File/String.")},E._getPartSize=function(z,ee){return ee?Math.max(Math.ceil(z/1e4),ee):1048576},E._divideParts=function(z,ee){for(var ne=Math.ceil(z/ee),de=[],he=0;he - -`,de.quiet?he+=` true -`:he+=` false -`,we=0;we"+se.escape(this._objectName(ne[we]))+` -`;return he+="",fe("delete multi objects: %s",he),de.subres="delete",ve=this._objectRequestParams("POST","",de),ve.mime="xml",ve.content=he,ve.xmlResponse=!0,ve.successStatuses=[200],ze.next=14,this.request(ve);case 14:return Oe=ze.sent,Fe=Oe.data,Ce=Fe&&Fe.Deleted||null,Ce&&(Array.isArray(Ce)||(Ce=[Ce]),Ce=Ce.map(function(Ze){return Ze.Key})),ze.abrupt("return",{res:Oe.res,deleted:Ce});case 19:case"end":return ze.stop()}},ee,this)}),z.copy=ye.default.mark(function ee(ne,de,he){var we,ve,Oe;return ye.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return he=he||{},he.headers=he.headers||{},(0,oe.default)(he.headers).forEach(function(Ce){he.headers["x-oss-copy-source-"+Ce.toLowerCase()]=he.headers[Ce]}),he.meta&&(he.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(he.meta,he.headers),de=de[0]!=="/"?"/"+this.options.bucket+"/"+encodeURIComponent(de):"/"+encodeURIComponent(de.slice(1)),he.headers["x-oss-copy-source"]=de,we=this._objectRequestParams("PUT",ne,he),we.xmlResponse=!0,we.successStatuses=[200,304],Fe.next=12,this.request(we);case 12:return ve=Fe.sent,Oe=ve.data,Oe&&(Oe={etag:Oe.ETag,lastModified:Oe.LastModified}),Fe.abrupt("return",{data:Oe,res:ve.res});case 16:case"end":return Fe.stop()}},ee,this)}),z.putMeta=ye.default.mark(function ee(ne,de,he){return ye.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return we.next=2,this.copy(ne,ne,{meta:de||{},timeout:he&&he.timeout,ctx:he&&he.ctx});case 2:return we.abrupt("return",we.sent);case 3:case"end":return we.stop()}},ee,this)}),z.list=ye.default.mark(function ee(ne,de){var he,we,ve,Oe,Fe;return ye.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return he=this._objectRequestParams("GET","",de),he.query=ne,he.xmlResponse=!0,he.successStatuses=[200],Ce.next=6,this.request(he);case 6:return we=Ce.sent,ve=we.data.Contents,Oe=this,ve&&(Array.isArray(ve)||(ve=[ve]),ve=ve.map(function(ze){return{name:ze.Key,url:Oe._objectUrl(ze.Key),lastModified:ze.LastModified,etag:ze.ETag,type:ze.Type,size:Number(ze.Size),storageClass:ze.StorageClass,owner:{id:ze.Owner.ID,displayName:ze.Owner.DisplayName}}})),Fe=we.data.CommonPrefixes||null,Fe&&(Array.isArray(Fe)||(Fe=[Fe]),Fe=Fe.map(function(ze){return ze.Prefix})),Ce.abrupt("return",{res:we.res,objects:ve,prefixes:Fe,nextMarker:we.data.NextMarker||null,isTruncated:we.data.IsTruncated==="true"});case 13:case"end":return Ce.stop()}},ee,this)}),z.putACL=ye.default.mark(function ee(ne,de,he){var we,ve;return ye.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return he=he||{},he.subres="acl",he.headers=he.headers||{},he.headers["x-oss-object-acl"]=de,ne=this._objectName(ne),we=this._objectRequestParams("PUT",ne,he),we.successStatuses=[200],Oe.next=9,this.request(we);case 9:return ve=Oe.sent,Oe.abrupt("return",{res:ve.res});case 11:case"end":return Oe.stop()}},ee,this)}),z.getACL=ye.default.mark(function ee(ne,de){var he,we;return ye.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return de=de||{},de.subres="acl",ne=this._objectName(ne),he=this._objectRequestParams("GET",ne,de),he.successStatuses=[200],he.xmlResponse=!0,ve.next=8,this.request(he);case 8:return we=ve.sent,ve.abrupt("return",{acl:we.data.AccessControlList.Grant,owner:{id:we.data.Owner.ID,displayName:we.data.Owner.DisplayName},res:we.res});case 10:case"end":return ve.stop()}},ee,this)}),z.restore=ye.default.mark(function ee(ne,de){var he,we;return ye.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return de=de||{},de.subres="restore",he=this._objectRequestParams("POST",ne,de),he.successStatuses=[202],ve.next=6,this.request(he);case 6:return we=ve.sent,ve.abrupt("return",{res:we.res});case 8:case"end":return ve.stop()}},ee,this)}),z.signatureUrl=function(ee,ne){ne=ne||{},ee=this._objectName(ee),ne.method=ne.method||"GET";var de=se.timestamp()+(ne.expires||1800),he={bucket:this.options.bucket,object:ee},we=this._getResource(he);this.options.stsToken&&(ne["security-token"]=this.options.stsToken);var ve=x._signatureForURL(this.options.accessKeySecret,ne,we,de),Oe=te.parse(this._getReqUrl(he));return Oe.query={OSSAccessKeyId:this.options.accessKeyId,Expires:de,Signature:ve.Signature},y(ve.subResource).to(Oe.query),Oe.format()},z.getObjectUrl=function(ee,ne){return ne?ne[ne.length-1]!=="/"&&(ne+="/"):ne=this.options.endpoint.format(),ne+this._escape(this._objectName(ee))},z._objectUrl=function(ee){return this._getReqUrl({bucket:this.options.bucket,object:ee})},z.generateObjectUrl=function(ee,ne){if(ne)ne[ne.length-1]!=="/"&&(ne+="/");else{ne=this.options.endpoint.format();var de=te.parse(ne),he=this.options.bucket;de.hostname=he+"."+de.hostname,de.host=he+"."+de.host,ne=de.format()}return ne+this._escape(this._objectName(ee))},z._objectRequestParams=function(ee,ne,de){if(!this.options.bucket)throw new Error("Please create a bucket first");de=de||{},ne=this._objectName(ne);var he={object:ne,bucket:this.options.bucket,method:ee,subres:de&&de.subres,timeout:de&&de.timeout,ctx:de&&de.ctx};return de.headers&&(he.headers={},y(de.headers).to(he.headers)),he},z._objectName=function(ee){return ee.replace(/^\/+/,"")},z._statFile=function(ee){return function(ne){ce.stat(ee,ne)}},z._convertMetaToHeaders=function(ee,ne){ee&&(0,oe.default)(ee).forEach(function(de){ne["x-oss-meta-"+de]=ee[de]})},z._deleteFileSafe=function(ee){return function(ne){ce.exists(ee,function(de){de?ce.unlink(ee,function(he){he&&fe("unlink %j error: %s",ee,he),ne()}):ne()})}}},{"../common/callback":7,"../common/signUtils":9,"babel-runtime/core-js/object/keys":23,"babel-runtime/regenerator":33,"copy-to":43,debug:155,fs:36,"is-type-of":165,mime:242,path:170,url:203,utility:243}],5:[function(re,Ie,Ae){"use strict";Ae.version="5.3.1"},{}],6:[function(re,Ie,Ae){"use strict";function Se(a){return a&&a.__esModule?a:{default:a}}function Pe(a){return a&&typeof a.next=="function"&&typeof a.throw=="function"}function oe(a){if(!a)return!1;var E=a.constructor;return!!E&&(E.name==="GeneratorFunction"||E.displayName==="GeneratorFunction"||Pe(E.prototype)||Pe(a.prototype))}function ue(a,E){var b=new a(E),x=(0,ge.default)(b),z=(0,ge.default)((0,se.default)(b));x.concat(z).forEach(function(ee){oe(b[ee])?this[ee]=te.wrap(b[ee]).bind(b):this[ee]=b[ee]},this)}function ye(a){if(!(this instanceof ye))return new ye(a);ue.call(this,y,a)}var fe=re("babel-runtime/core-js/object/get-prototype-of"),se=Se(fe),ce=re("babel-runtime/core-js/object/keys"),ge=Se(ce),te=re("co"),y=re("./client");Ie.exports=ye,ye.STS=function a(E){if(!(this instanceof a))return new a(E);ue.call(this,y.STS,E)}},{"./client":2,"babel-runtime/core-js/object/get-prototype-of":22,"babel-runtime/core-js/object/keys":23,co:41}],7:[function(re,Ie,Ae){(function(Se){"use strict";function Pe(se){return se&&se.__esModule?se:{default:se}}var oe=re("babel-runtime/core-js/object/keys"),ue=Pe(oe),ye=re("babel-runtime/core-js/json/stringify"),fe=Pe(ye);Ae.encodeCallback=function(se,ce){if(se.headers=se.headers||{},!Object.prototype.hasOwnProperty.call(se.headers,"x-oss-callback")&&ce.callback){var ge={callbackUrl:encodeURI(ce.callback.url),callbackBody:ce.callback.body};ce.callback.host&&(ge.callbackHost=ce.callback.host),ce.callback.contentType&&(ge.callbackBodyType=ce.callback.contentType);var te=new Se((0,fe.default)(ge)).toString("base64");if(se.headers["x-oss-callback"]=te,ce.callback.customValue){var y={};(0,ue.default)(ce.callback.customValue).forEach(function(a){y["x:"+a]=ce.callback.customValue[a]}),se.headers["x-oss-callback-var"]=new Se((0,fe.default)(y)).toString("base64")}}}}).call(this,re("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/keys":23,buffer:38}],8:[function(re,Ie,Ae){"use strict";var Se=re("babel-runtime/regenerator"),Pe=function(fe){return fe&&fe.__esModule?fe:{default:fe}}(Se),oe=re("copy-to"),ue=re("./callback"),ye=Ae;ye.listUploads=Pe.default.mark(function fe(se,ce){var ge,te,y,a;return Pe.default.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return ce=ce||{},ge={},oe(ce).to(ge),ge.subres="uploads",te=this._objectRequestParams("GET","",ge),te.query=se,te.xmlResponse=!0,te.successStatuses=[200],E.next=10,this.request(te);case 10:return y=E.sent,a=y.data.Upload||[],Array.isArray(a)||(a=[a]),a=a.map(function(b){return{name:b.Key,uploadId:b.UploadId,initiated:b.Initiated}}),E.abrupt("return",{res:y.res,uploads:a,bucket:y.data.Bucket,nextKeyMarker:y.data.NextKeyMarker,nextUploadIdMarker:y.data.NextUploadIdMarker,isTruncated:y.data.IsTruncated==="true"});case 15:case"end":return E.stop()}},fe,this)}),ye.listParts=Pe.default.mark(function fe(se,ce,ge,te){var y,a,E;return Pe.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return te=te||{},y={},oe(te).to(y),y.subres={uploadId:ce},a=this._objectRequestParams("GET",se,y),a.query=ge,a.xmlResponse=!0,a.successStatuses=[200],b.next=10,this.request(a);case 10:return E=b.sent,b.abrupt("return",{res:E.res,uploadId:E.data.UploadId,bucket:E.data.Bucket,name:E.data.Key,partNumberMarker:E.data.PartNumberMarker,nextPartNumberMarker:E.data.NextPartNumberMarker,maxParts:E.data.MaxParts,isTruncated:E.data.IsTruncated,parts:E.data.Part||[]});case 12:case"end":return b.stop()}},fe,this)}),ye.abortMultipartUpload=Pe.default.mark(function fe(se,ce,ge){var te,y,a;return Pe.default.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return this.cancel(),ge=ge||{},te={},oe(ge).to(te),te.subres={uploadId:ce},y=this._objectRequestParams("DELETE",se,te),y.successStatuses=[204],E.next=9,this.request(y);case 9:return a=E.sent,E.abrupt("return",{res:a.res});case 11:case"end":return E.stop()}},fe,this)}),ye.initMultipartUpload=Pe.default.mark(function fe(se,ce){var ge,te,y;return Pe.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return ce=ce||{},ge={},oe(ce).to(ge),ge.headers=ge.headers||{},this._convertMetaToHeaders(ce.meta,ge.headers),ge.subres="uploads",te=this._objectRequestParams("POST",se,ge),te.mime=ce.mime,te.xmlResponse=!0,te.successStatuses=[200],a.next=12,this.request(te);case 12:return y=a.sent,a.abrupt("return",{res:y.res,bucket:y.data.Bucket,name:y.data.Key,uploadId:y.data.UploadId});case 14:case"end":return a.stop()}},fe,this)}),ye.uploadPart=Pe.default.mark(function fe(se,ce,ge,te,y,a,E){var b;return Pe.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return b={stream:this._createStream(te,y,a),size:a-y},x.next=3,this._uploadPart(se,ce,ge,b,E);case 3:return x.abrupt("return",x.sent);case 4:case"end":return x.stop()}},fe,this)}),ye.completeMultipartUpload=Pe.default.mark(function fe(se,ce,ge,te){var y,a,E,b,x,z,ee,ne;return Pe.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:for(y=ge.concat().sort(function(he,we){return he.number-we.number}).filter(function(he,we,ve){return!we||he.number!==ve[we-1].number}),a=` - -`,E=0;E -`,a+=""+b.number+` -`,a+=""+b.etag+` -`,a+=` -`;return a+="",te=te||{},x={},oe(te).to(x),x.subres={uploadId:ce},z=this._objectRequestParams("POST",se,x),ue.encodeCallback(z,x),z.mime="xml",z.content=a,z.headers&&z.headers["x-oss-callback"]||(z.xmlResponse=!0),z.successStatuses=[200],de.next=16,this.request(z);case 16:return ee=de.sent,ne={res:ee.res,bucket:z.bucket,name:se,etag:ee.res.headers.etag},z.headers&&z.headers["x-oss-callback"]&&(ne.data=JSON.parse(ee.data.toString())),de.abrupt("return",ne);case 20:case"end":return de.stop()}},fe,this)}),ye._uploadPart=Pe.default.mark(function fe(se,ce,ge,te,y){var a,E,b;return Pe.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return y=y||{},a={},oe(y).to(a),a.headers={"Content-Length":te.size},a.subres={partNumber:ge,uploadId:ce},E=this._objectRequestParams("PUT",se,a),E.mime=a.mime,E.stream=te.stream,E.successStatuses=[200],x.next=11,this.request(E);case 11:return b=x.sent,te.stream=null,E.stream=null,x.abrupt("return",{name:se,etag:b.res.headers.etag,res:b.res});case 15:case"end":return x.stop()}},fe,this)})},{"./callback":7,"babel-runtime/regenerator":33,"copy-to":43}],9:[function(re,Ie,Ae){(function(Se){"use strict";function Pe(ge){return ge&&ge.__esModule?ge:{default:ge}}var oe=re("babel-runtime/core-js/json/stringify"),ue=Pe(oe),ye=re("babel-runtime/core-js/object/keys"),fe=Pe(ye),se=re("./../../shims/crypto/crypto.js"),ce=re("is-type-of");Ae.buildCanonicalizedResource=function(ge,te){var y=""+ge,a="?";if(ce.string(te)&&te.trim()!=="")y+=a+te;else if(ce.array(te))te.sort(),y+=a+te.join("&");else if(te){var E=function(x,z){return x[0]>z[0]?1:x[0]0)throw new Error("Invalid string. Length must be a multiple of 4");var z=b.indexOf("=");return z===-1&&(z=x),[z,z===x?0:4-z%4]}function Pe(b){var x=Se(b),z=x[0],ee=x[1];return 3*(z+ee)/4-ee}function oe(b,x,z){return 3*(x+z)/4-z}function ue(b){for(var x,z=Se(b),ee=z[0],ne=z[1],de=new te(oe(b,ee,ne)),he=0,we=ne>0?ee-4:ee,ve=0;ve>16&255,de[he++]=x>>8&255,de[he++]=255&x;return ne===2&&(x=ge[b.charCodeAt(ve)]<<2|ge[b.charCodeAt(ve+1)]>>4,de[he++]=255&x),ne===1&&(x=ge[b.charCodeAt(ve)]<<10|ge[b.charCodeAt(ve+1)]<<4|ge[b.charCodeAt(ve+2)]>>2,de[he++]=x>>8&255,de[he++]=255&x),de}function ye(b){return ce[b>>18&63]+ce[b>>12&63]+ce[b>>6&63]+ce[63&b]}function fe(b,x,z){for(var ee,ne=[],de=x;dehe?he:de+16383));return ee===1?(x=b[z-1],ne.push(ce[x>>2]+ce[x<<4&63]+"==")):ee===2&&(x=(b[z-2]<<8)+b[z-1],ne.push(ce[x>>10]+ce[x>>4&63]+ce[x<<2&63]+"=")),ne.join("")}Ae.byteLength=Pe,Ae.toByteArray=ue,Ae.fromByteArray=se;for(var ce=[],ge=[],te=typeof Uint8Array!="undefined"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,E=y.length;a1&&Te[1]||""}function y(Ye){var Te=ge.match(Ye);return Te&&Te.length>1&&Te[2]||""}var a,E=te(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(ge),x=!b&&/android/i.test(ge),z=/nexus\s*[0-6]\s*/i.test(ge),ee=!z&&/nexus\s*[0-9]+/i.test(ge),ne=/CrOS/.test(ge),de=/silk/i.test(ge),he=/sailfish/i.test(ge),we=/tizen/i.test(ge),ve=/(web|hpw)os/i.test(ge),Oe=/windows phone/i.test(ge),Fe=(/SamsungBrowser/i.test(ge),!Oe&&/windows/i.test(ge)),Ce=!E&&!de&&/macintosh/i.test(ge),ze=!x&&!he&&!we&&!ve&&/linux/i.test(ge),Ze=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),rt=te(/version\/(\d+(\.\d+)?)/i),Je=/tablet/i.test(ge)&&!/tablet pc/i.test(ge),dt=!Je&&/[^-]mobi/i.test(ge),Xe=/xbox/i.test(ge);/opera/i.test(ge)?a={name:"Opera",opera:se,version:rt||te(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ge)?a={name:"Opera",opera:se,version:te(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||rt}:/SamsungBrowser/i.test(ge)?a={name:"Samsung Internet for Android",samsungBrowser:se,version:rt||te(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(ge)?a={name:"Opera Coast",coast:se,version:rt||te(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(ge)?a={name:"Yandex Browser",yandexbrowser:se,version:rt||te(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ge)?a={name:"UC Browser",ucbrowser:se,version:te(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ge)?a={name:"Maxthon",maxthon:se,version:te(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ge)?a={name:"Epiphany",epiphany:se,version:te(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ge)?a={name:"Puffin",puffin:se,version:te(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ge)?a={name:"Sleipnir",sleipnir:se,version:te(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ge)?a={name:"K-Meleon",kMeleon:se,version:te(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:Oe?(a={name:"Windows Phone",osname:"Windows Phone",windowsphone:se},Ze?(a.msedge=se,a.version=Ze):(a.msie=se,a.version=te(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ge)?a={name:"Internet Explorer",msie:se,version:te(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:ne?a={name:"Chrome",osname:"Chrome OS",chromeos:se,chromeBook:se,chrome:se,version:te(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ge)?a={name:"Microsoft Edge",msedge:se,version:Ze}:/vivaldi/i.test(ge)?a={name:"Vivaldi",vivaldi:se,version:te(/vivaldi\/(\d+(\.\d+)?)/i)||rt}:he?a={name:"Sailfish",osname:"Sailfish OS",sailfish:se,version:te(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ge)?a={name:"SeaMonkey",seamonkey:se,version:te(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ge)?(a={name:"Firefox",firefox:se,version:te(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ge)&&(a.firefoxos=se,a.osname="Firefox OS")):de?a={name:"Amazon Silk",silk:se,version:te(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ge)?a={name:"PhantomJS",phantom:se,version:te(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ge)?a={name:"SlimerJS",slimer:se,version:te(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ge)||/rim\stablet/i.test(ge)?a={name:"BlackBerry",osname:"BlackBerry OS",blackberry:se,version:rt||te(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:ve?(a={name:"WebOS",osname:"WebOS",webos:se,version:rt||te(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ge)&&(a.touchpad=se)):/bada/i.test(ge)?a={name:"Bada",osname:"Bada",bada:se,version:te(/dolfin\/(\d+(\.\d+)?)/i)}:we?a={name:"Tizen",osname:"Tizen",tizen:se,version:te(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||rt}:/qupzilla/i.test(ge)?a={name:"QupZilla",qupzilla:se,version:te(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||rt}:/chromium/i.test(ge)?a={name:"Chromium",chromium:se,version:te(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||rt}:/chrome|crios|crmo/i.test(ge)?a={name:"Chrome",chrome:se,version:te(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:x?a={name:"Android",version:rt}:/safari|applewebkit/i.test(ge)?(a={name:"Safari",safari:se},rt&&(a.version=rt)):E?(a={name:E=="iphone"?"iPhone":E=="ipad"?"iPad":"iPod"},rt&&(a.version=rt)):a=/googlebot/i.test(ge)?{name:"Googlebot",googlebot:se,version:te(/googlebot\/(\d+(\.\d+))/i)||rt}:{name:te(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!a.msedge&&/(apple)?webkit/i.test(ge)?(/(apple)?webkit\/537\.36/i.test(ge)?(a.name=a.name||"Blink",a.blink=se):(a.name=a.name||"Webkit",a.webkit=se),!a.version&&rt&&(a.version=rt)):!a.opera&&/gecko\//i.test(ge)&&(a.name=a.name||"Gecko",a.gecko=se,a.version=a.version||te(/gecko\/(\d+(\.\d+)?)/i)),a.windowsphone||!x&&!a.silk?!a.windowsphone&&E?(a[E]=se,a.ios=se,a.osname="iOS"):Ce?(a.mac=se,a.osname="macOS"):Xe?(a.xbox=se,a.osname="Xbox"):Fe?(a.windows=se,a.osname="Windows"):ze&&(a.linux=se,a.osname="Linux"):(a.android=se,a.osname="Android");var ht="";a.windows?ht=function(Ye){switch(Ye){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}(te(/Windows ((NT|XP)( \d\d?.\d)?)/i)):a.windowsphone?ht=te(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):a.mac?(ht=te(/Mac OS X (\d+([_\.\s]\d+)*)/i),ht=ht.replace(/[_\s]/g,".")):E?(ht=te(/os (\d+([_\s]\d+)*) like mac os x/i),ht=ht.replace(/[_\s]/g,".")):x?ht=te(/android[ \/-](\d+(\.\d+)*)/i):a.webos?ht=te(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):a.blackberry?ht=te(/rim\stablet\sos\s(\d+(\.\d+)*)/i):a.bada?ht=te(/bada\/(\d+(\.\d+)*)/i):a.tizen&&(ht=te(/tizen[\/\s](\d+(\.\d+)*)/i)),ht&&(a.osversion=ht);var ct=!a.windows&&ht.split(".")[0];return Je||ee||E=="ipad"||x&&(ct==3||ct>=4&&!dt)||a.silk?a.tablet=se:(dt||E=="iphone"||E=="ipod"||x||z||a.blackberry||a.webos||a.bada)&&(a.mobile=se),a.msedge||a.msie&&a.version>=10||a.yandexbrowser&&a.version>=15||a.vivaldi&&a.version>=1||a.chrome&&a.version>=20||a.samsungBrowser&&a.version>=4||a.firefox&&a.version>=20||a.safari&&a.version>=6||a.opera&&a.version>=10||a.ios&&a.osversion&&a.osversion.split(".")[0]>=6||a.blackberry&&a.version>=10.1||a.chromium&&a.version>=20?a.a=se:a.msie&&a.version<10||a.chrome&&a.version<20||a.firefox&&a.version<20||a.safari&&a.version<6||a.opera&&a.version<10||a.ios&&a.osversion&&a.osversion.split(".")[0]<6||a.chromium&&a.version<20?a.c=se:a.x=se,a}function Pe(ge){return ge.split(".").length}function oe(ge,te){var y,a=[];if(Array.prototype.map)return Array.prototype.map.call(ge,te);for(y=0;y=0;){if(y[0][te]>y[1][te])return 1;if(y[0][te]!==y[1][te])return-1;if(te===0)return 0}}function ye(ge,te,y){var a=ce;typeof te=="string"&&(y=te,te=void 0),te===void 0&&(te=!1),y&&(a=Se(y));var E=""+a.version;for(var b in ge)if(ge.hasOwnProperty(b)&&a[b]){if(typeof ge[b]!="string")throw new Error("Browser version in the minVersion map should be a string: "+b+": "+String(ge));return ue([E,ge[b]])<0}return te}function fe(ge,te,y){return!ye(ge,te,y)}var se=!0,ce=Se(typeof navigator!="undefined"&&navigator.userAgent||"");return ce.test=function(ge){for(var te=0;te=this.charLength-this.charReceived?this.charLength-this.charReceived:ce.length;if(ce.copy(this.charBuffer,this.charReceived,0,te),this.charReceived+=te,this.charReceived=55296&&a<=56319)){if(this.charReceived=this.charLength=0,ce.length===0)return ge;break}this.charLength+=this.surrogateSize,ge=""}this.detectIncompleteChar(ce);var y=ce.length;this.charLength&&(ce.copy(this.charBuffer,0,ce.length-this.charReceived,y),y-=this.charReceived),ge+=ce.toString(this.encoding,0,y);var y=ge.length-1,a=ge.charCodeAt(y);if(a>=55296&&a<=56319){var E=this.surrogateSize;return this.charLength+=E,this.charReceived+=E,this.charBuffer.copy(this.charBuffer,E,0,E),ce.copy(this.charBuffer,0,0,E),ge.substring(0,y)}return ge},se.prototype.detectIncompleteChar=function(ce){for(var ge=ce.length>=3?3:ce.length;ge>0;ge--){var te=ce[ce.length-ge];if(ge==1&&te>>5==6){this.charLength=2;break}if(ge<=2&&te>>4==14){this.charLength=3;break}if(ge<=3&&te>>3==30){this.charLength=4;break}}this.charReceived=ge},se.prototype.end=function(ce){var ge="";if(ce&&ce.length&&(ge=this.write(ce)),this.charReceived){var te=this.charReceived,y=this.charBuffer,a=this.encoding;ge+=y.slice(0,te).toString(a)}return ge}},{buffer:38}],38:[function(re,Ie,Ae){(function(Se){"use strict";function Pe(){return ue.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function oe(ae,ie){if(Pe()=Pe())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Pe().toString(16)+" bytes");return 0|ae}function b(ae){return+ae!=ae&&(ae=0),ue.alloc(+ae)}function x(ae,ie){if(ue.isBuffer(ae))return ae.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(ae)||ae instanceof ArrayBuffer))return ae.byteLength;typeof ae!="string"&&(ae=""+ae);var be=ae.length;if(be===0)return 0;for(var xe=!1;;)switch(ie){case"ascii":case"latin1":case"binary":return be;case"utf8":case"utf-8":case void 0:return Et(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*be;case"hex":return be>>>1;case"base64":return ot(ae).length;default:if(xe)return Et(ae).length;ie=(""+ie).toLowerCase(),xe=!0}}function z(ae,ie,be){var xe=!1;if((ie===void 0||ie<0)&&(ie=0),ie>this.length||((be===void 0||be>this.length)&&(be=this.length),be<=0)||(be>>>=0,ie>>>=0,be<=ie))return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return Xe(this,ie,be);case"utf8":case"utf-8":return Ze(this,ie,be);case"ascii":return Je(this,ie,be);case"latin1":case"binary":return dt(this,ie,be);case"base64":return ze(this,ie,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ht(this,ie,be);default:if(xe)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),xe=!0}}function ee(ae,ie,be){var xe=ae[ie];ae[ie]=ae[be],ae[be]=xe}function ne(ae,ie,be,xe,Ee){if(ae.length===0)return-1;if(typeof be=="string"?(xe=be,be=0):be>2147483647?be=2147483647:be<-2147483648&&(be=-2147483648),be=+be,isNaN(be)&&(be=Ee?0:ae.length-1),be<0&&(be=ae.length+be),be>=ae.length){if(Ee)return-1;be=ae.length-1}else if(be<0){if(!Ee)return-1;be=0}if(typeof ie=="string"&&(ie=ue.from(ie,xe)),ue.isBuffer(ie))return ie.length===0?-1:de(ae,ie,be,xe,Ee);if(typeof ie=="number")return ie&=255,ue.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Ee?Uint8Array.prototype.indexOf.call(ae,ie,be):Uint8Array.prototype.lastIndexOf.call(ae,ie,be):de(ae,[ie],be,xe,Ee);throw new TypeError("val must be string, number or Buffer")}function de(ae,ie,be,xe,Ee){function Ne(gt,Ct){return We===1?gt[Ct]:gt.readUInt16BE(Ct*We)}var We=1,bt=ae.length,mt=ie.length;if(xe!==void 0&&((xe=String(xe).toLowerCase())==="ucs2"||xe==="ucs-2"||xe==="utf16le"||xe==="utf-16le")){if(ae.length<2||ie.length<2)return-1;We=2,bt/=2,mt/=2,be/=2}var Dt;if(Ee){var Ot=-1;for(Dt=be;Dtbt&&(be=bt-mt),Dt=be;Dt>=0;Dt--){for(var Mt=!0,nt=0;ntEe&&(xe=Ee):xe=Ee;var Ne=ie.length;if(Ne%2!=0)throw new TypeError("Invalid hex string");xe>Ne/2&&(xe=Ne/2);for(var We=0;We239?4:Ne>223?3:Ne>191?2:1;if(Ee+bt<=be){var mt,Dt,Ot,Mt;switch(bt){case 1:Ne<128&&(We=Ne);break;case 2:mt=ae[Ee+1],(192&mt)==128&&(Mt=(31&Ne)<<6|63&mt)>127&&(We=Mt);break;case 3:mt=ae[Ee+1],Dt=ae[Ee+2],(192&mt)==128&&(192&Dt)==128&&(Mt=(15&Ne)<<12|(63&mt)<<6|63&Dt)>2047&&(Mt<55296||Mt>57343)&&(We=Mt);break;case 4:mt=ae[Ee+1],Dt=ae[Ee+2],Ot=ae[Ee+3],(192&mt)==128&&(192&Dt)==128&&(192&Ot)==128&&(Mt=(15&Ne)<<18|(63&mt)<<12|(63&Dt)<<6|63&Ot)>65535&&Mt<1114112&&(We=Mt)}}We===null?(We=65533,bt=1):We>65535&&(We-=65536,xe.push(We>>>10&1023|55296),We=56320|1023&We),xe.push(We),Ee+=bt}return rt(xe)}function rt(ae){var ie=ae.length;if(ie<=Ge)return String.fromCharCode.apply(String,ae);for(var be="",xe=0;xexe)&&(be=xe);for(var Ee="",Ne=ie;Nebe)throw new RangeError("Trying to access beyond buffer length")}function Ye(ae,ie,be,xe,Ee,Ne){if(!ue.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(ie>Ee||ieae.length)throw new RangeError("Index out of range")}function Te(ae,ie,be,xe){ie<0&&(ie=65535+ie+1);for(var Ee=0,Ne=Math.min(ae.length-be,2);Ee>>8*(xe?Ee:1-Ee)}function Me(ae,ie,be,xe){ie<0&&(ie=4294967295+ie+1);for(var Ee=0,Ne=Math.min(ae.length-be,4);Ee>>8*(xe?Ee:3-Ee)&255}function He(ae,ie,be,xe,Ee,Ne){if(be+xe>ae.length)throw new RangeError("Index out of range");if(be<0)throw new RangeError("Index out of range")}function Re(ae,ie,be,xe,Ee){return Ee||He(ae,ie,be,4,34028234663852886e22,-34028234663852886e22),qe.write(ae,ie,be,xe,23,4),be+4}function it(ae,ie,be,xe,Ee){return Ee||He(ae,ie,be,8,17976931348623157e292,-17976931348623157e292),qe.write(ae,ie,be,xe,52,8),be+8}function st(ae){if(ae=Pt(ae).replace(Be,""),ae.length<2)return"";for(;ae.length%4!=0;)ae+="=";return ae}function Pt(ae){return ae.trim?ae.trim():ae.replace(/^\s+|\s+$/g,"")}function lt(ae){return ae<16?"0"+ae.toString(16):ae.toString(16)}function Et(ae,ie){ie=ie||1/0;for(var be,xe=ae.length,Ee=null,Ne=[],We=0;We55295&&be<57344){if(!Ee){if(be>56319){(ie-=3)>-1&&Ne.push(239,191,189);continue}if(We+1===xe){(ie-=3)>-1&&Ne.push(239,191,189);continue}Ee=be;continue}if(be<56320){(ie-=3)>-1&&Ne.push(239,191,189),Ee=be;continue}be=65536+(Ee-55296<<10|be-56320)}else Ee&&(ie-=3)>-1&&Ne.push(239,191,189);if(Ee=null,be<128){if((ie-=1)<0)break;Ne.push(be)}else if(be<2048){if((ie-=2)<0)break;Ne.push(be>>6|192,63&be|128)}else if(be<65536){if((ie-=3)<0)break;Ne.push(be>>12|224,be>>6&63|128,63&be|128)}else{if(!(be<1114112))throw new Error("Invalid code point");if((ie-=4)<0)break;Ne.push(be>>18|240,be>>12&63|128,be>>6&63|128,63&be|128)}}return Ne}function at(ae){for(var ie=[],be=0;be>8,Ee=be%256,Ne.push(Ee),Ne.push(xe);return Ne}function ot(ae){return je.toByteArray(st(ae))}function vt(ae,ie,be,xe){for(var Ee=0;Ee=ie.length||Ee>=ae.length);++Ee)ie[Ee+be]=ae[Ee];return Ee}function Qe(ae){return ae!==ae}var je=re("base64-js"),qe=re("ieee754"),Ue=re("isarray");Ae.Buffer=ue,Ae.SlowBuffer=b,Ae.INSPECT_MAX_BYTES=50,ue.TYPED_ARRAY_SUPPORT=Se.TYPED_ARRAY_SUPPORT!==void 0?Se.TYPED_ARRAY_SUPPORT:function(){try{var ae=new Uint8Array(1);return ae.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ae.foo()===42&&typeof ae.subarray=="function"&&ae.subarray(1,1).byteLength===0}catch(ie){return!1}}(),Ae.kMaxLength=Pe(),ue.poolSize=8192,ue._augment=function(ae){return ae.__proto__=ue.prototype,ae},ue.from=function(ae,ie,be){return ye(null,ae,ie,be)},ue.TYPED_ARRAY_SUPPORT&&(ue.prototype.__proto__=Uint8Array.prototype,ue.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&ue[Symbol.species]===ue&&Object.defineProperty(ue,Symbol.species,{value:null,configurable:!0})),ue.alloc=function(ae,ie,be){return se(null,ae,ie,be)},ue.allocUnsafe=function(ae){return ce(null,ae)},ue.allocUnsafeSlow=function(ae){return ce(null,ae)},ue.isBuffer=function(ae){return!(ae==null||!ae._isBuffer)},ue.compare=function(ae,ie){if(!ue.isBuffer(ae)||!ue.isBuffer(ie))throw new TypeError("Arguments must be Buffers");if(ae===ie)return 0;for(var be=ae.length,xe=ie.length,Ee=0,Ne=Math.min(be,xe);Ee0&&(ae=this.toString("hex",0,ie).match(/.{2}/g).join(" "),this.length>ie&&(ae+=" ... ")),""},ue.prototype.compare=function(ae,ie,be,xe,Ee){if(!ue.isBuffer(ae))throw new TypeError("Argument must be a Buffer");if(ie===void 0&&(ie=0),be===void 0&&(be=ae?ae.length:0),xe===void 0&&(xe=0),Ee===void 0&&(Ee=this.length),ie<0||be>ae.length||xe<0||Ee>this.length)throw new RangeError("out of range index");if(xe>=Ee&&ie>=be)return 0;if(xe>=Ee)return-1;if(ie>=be)return 1;if(ie>>>=0,be>>>=0,xe>>>=0,Ee>>>=0,this===ae)return 0;for(var Ne=Ee-xe,We=be-ie,bt=Math.min(Ne,We),mt=this.slice(xe,Ee),Dt=ae.slice(ie,be),Ot=0;OtEe)&&(be=Ee),ae.length>0&&(be<0||ie<0)||ie>this.length)throw new RangeError("Attempt to write outside buffer bounds");xe||(xe="utf8");for(var Ne=!1;;)switch(xe){case"hex":return he(this,ae,ie,be);case"utf8":case"utf-8":return we(this,ae,ie,be);case"ascii":return ve(this,ae,ie,be);case"latin1":case"binary":return Oe(this,ae,ie,be);case"base64":return Fe(this,ae,ie,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ce(this,ae,ie,be);default:if(Ne)throw new TypeError("Unknown encoding: "+xe);xe=(""+xe).toLowerCase(),Ne=!0}},ue.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Ge=4096;ue.prototype.slice=function(ae,ie){var be=this.length;ae=~~ae,ie=ie===void 0?be:~~ie,ae<0?(ae+=be)<0&&(ae=0):ae>be&&(ae=be),ie<0?(ie+=be)<0&&(ie=0):ie>be&&(ie=be),ie0&&(Ee*=256);)xe+=this[ae+--ie]*Ee;return xe},ue.prototype.readUInt8=function(ae,ie){return ie||ct(ae,1,this.length),this[ae]},ue.prototype.readUInt16LE=function(ae,ie){return ie||ct(ae,2,this.length),this[ae]|this[ae+1]<<8},ue.prototype.readUInt16BE=function(ae,ie){return ie||ct(ae,2,this.length),this[ae]<<8|this[ae+1]},ue.prototype.readUInt32LE=function(ae,ie){return ie||ct(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+16777216*this[ae+3]},ue.prototype.readUInt32BE=function(ae,ie){return ie||ct(ae,4,this.length),16777216*this[ae]+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},ue.prototype.readIntLE=function(ae,ie,be){ae|=0,ie|=0,be||ct(ae,ie,this.length);for(var xe=this[ae],Ee=1,Ne=0;++Ne=Ee&&(xe-=Math.pow(2,8*ie)),xe},ue.prototype.readIntBE=function(ae,ie,be){ae|=0,ie|=0,be||ct(ae,ie,this.length);for(var xe=ie,Ee=1,Ne=this[ae+--xe];xe>0&&(Ee*=256);)Ne+=this[ae+--xe]*Ee;return Ee*=128,Ne>=Ee&&(Ne-=Math.pow(2,8*ie)),Ne},ue.prototype.readInt8=function(ae,ie){return ie||ct(ae,1,this.length),128&this[ae]?-1*(255-this[ae]+1):this[ae]},ue.prototype.readInt16LE=function(ae,ie){ie||ct(ae,2,this.length);var be=this[ae]|this[ae+1]<<8;return 32768&be?4294901760|be:be},ue.prototype.readInt16BE=function(ae,ie){ie||ct(ae,2,this.length);var be=this[ae+1]|this[ae]<<8;return 32768&be?4294901760|be:be},ue.prototype.readInt32LE=function(ae,ie){return ie||ct(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},ue.prototype.readInt32BE=function(ae,ie){return ie||ct(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},ue.prototype.readFloatLE=function(ae,ie){return ie||ct(ae,4,this.length),qe.read(this,ae,!0,23,4)},ue.prototype.readFloatBE=function(ae,ie){return ie||ct(ae,4,this.length),qe.read(this,ae,!1,23,4)},ue.prototype.readDoubleLE=function(ae,ie){return ie||ct(ae,8,this.length),qe.read(this,ae,!0,52,8)},ue.prototype.readDoubleBE=function(ae,ie){return ie||ct(ae,8,this.length),qe.read(this,ae,!1,52,8)},ue.prototype.writeUIntLE=function(ae,ie,be,xe){ae=+ae,ie|=0,be|=0,!xe&&Ye(this,ae,ie,be,Math.pow(2,8*be)-1,0);var Ee=1,Ne=0;for(this[ie]=255&ae;++Ne=0&&(Ne*=256);)this[ie+Ee]=ae/Ne&255;return ie+be},ue.prototype.writeUInt8=function(ae,ie,be){return ae=+ae,ie|=0,be||Ye(this,ae,ie,1,255,0),ue.TYPED_ARRAY_SUPPORT||(ae=Math.floor(ae)),this[ie]=255&ae,ie+1},ue.prototype.writeUInt16LE=function(ae,ie,be){return ae=+ae,ie|=0,be||Ye(this,ae,ie,2,65535,0),ue.TYPED_ARRAY_SUPPORT?(this[ie]=255&ae,this[ie+1]=ae>>>8):Te(this,ae,ie,!0),ie+2},ue.prototype.writeUInt16BE=function(ae,ie,be){return ae=+ae,ie|=0,be||Ye(this,ae,ie,2,65535,0),ue.TYPED_ARRAY_SUPPORT?(this[ie]=ae>>>8,this[ie+1]=255&ae):Te(this,ae,ie,!1),ie+2},ue.prototype.writeUInt32LE=function(ae,ie,be){return ae=+ae,ie|=0,be||Ye(this,ae,ie,4,4294967295,0),ue.TYPED_ARRAY_SUPPORT?(this[ie+3]=ae>>>24,this[ie+2]=ae>>>16,this[ie+1]=ae>>>8,this[ie]=255&ae):Me(this,ae,ie,!0),ie+4},ue.prototype.writeUInt32BE=function(ae,ie,be){return ae=+ae,ie|=0,be||Ye(this,ae,ie,4,4294967295,0),ue.TYPED_ARRAY_SUPPORT?(this[ie]=ae>>>24,this[ie+1]=ae>>>16,this[ie+2]=ae>>>8,this[ie+3]=255&ae):Me(this,ae,ie,!1),ie+4},ue.prototype.writeIntLE=function(ae,ie,be,xe){if(ae=+ae,ie|=0,!xe){var Ee=Math.pow(2,8*be-1);Ye(this,ae,ie,be,Ee-1,-Ee)}var Ne=0,We=1,bt=0;for(this[ie]=255&ae;++Ne>0)-bt&255;return ie+be},ue.prototype.writeIntBE=function(ae,ie,be,xe){if(ae=+ae,ie|=0,!xe){var Ee=Math.pow(2,8*be-1);Ye(this,ae,ie,be,Ee-1,-Ee)}var Ne=be-1,We=1,bt=0;for(this[ie+Ne]=255&ae;--Ne>=0&&(We*=256);)ae<0&&bt===0&&this[ie+Ne+1]!==0&&(bt=1),this[ie+Ne]=(ae/We>>0)-bt&255;return ie+be},ue.prototype.writeInt8=function(ae,ie,be){return ae=+ae,ie|=0,be||Ye(this,ae,ie,1,127,-128),ue.TYPED_ARRAY_SUPPORT||(ae=Math.floor(ae)),ae<0&&(ae=255+ae+1),this[ie]=255&ae,ie+1},ue.prototype.writeInt16LE=function(ae,ie,be){return ae=+ae,ie|=0,be||Ye(this,ae,ie,2,32767,-32768),ue.TYPED_ARRAY_SUPPORT?(this[ie]=255&ae,this[ie+1]=ae>>>8):Te(this,ae,ie,!0),ie+2},ue.prototype.writeInt16BE=function(ae,ie,be){return ae=+ae,ie|=0,be||Ye(this,ae,ie,2,32767,-32768),ue.TYPED_ARRAY_SUPPORT?(this[ie]=ae>>>8,this[ie+1]=255&ae):Te(this,ae,ie,!1),ie+2},ue.prototype.writeInt32LE=function(ae,ie,be){return ae=+ae,ie|=0,be||Ye(this,ae,ie,4,2147483647,-2147483648),ue.TYPED_ARRAY_SUPPORT?(this[ie]=255&ae,this[ie+1]=ae>>>8,this[ie+2]=ae>>>16,this[ie+3]=ae>>>24):Me(this,ae,ie,!0),ie+4},ue.prototype.writeInt32BE=function(ae,ie,be){return ae=+ae,ie|=0,be||Ye(this,ae,ie,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),ue.TYPED_ARRAY_SUPPORT?(this[ie]=ae>>>24,this[ie+1]=ae>>>16,this[ie+2]=ae>>>8,this[ie+3]=255&ae):Me(this,ae,ie,!1),ie+4},ue.prototype.writeFloatLE=function(ae,ie,be){return Re(this,ae,ie,!0,be)},ue.prototype.writeFloatBE=function(ae,ie,be){return Re(this,ae,ie,!1,be)},ue.prototype.writeDoubleLE=function(ae,ie,be){return it(this,ae,ie,!0,be)},ue.prototype.writeDoubleBE=function(ae,ie,be){return it(this,ae,ie,!1,be)},ue.prototype.copy=function(ae,ie,be,xe){if(be||(be=0),xe||xe===0||(xe=this.length),ie>=ae.length&&(ie=ae.length),ie||(ie=0),xe>0&&xe=this.length)throw new RangeError("sourceStart out of bounds");if(xe<0)throw new RangeError("sourceEnd out of bounds");xe>this.length&&(xe=this.length),ae.length-ie=0;--Ee)ae[Ee+ie]=this[Ee+be];else if(Ne<1e3||!ue.TYPED_ARRAY_SUPPORT)for(Ee=0;Ee>>=0,be=be===void 0?this.length:be>>>0,ae||(ae=0);var Ne;if(typeof ae=="number")for(Ne=ie;Ne>>1;ye(oe[ce])2&&(z=te.call(arguments,1)),E(z)})})}function ue(y){return Promise.all(y.map(Pe,this))}function ye(y){for(var a=new y.constructor,E=Object.keys(y),b=[],x=0;xy;)if((ce=ge[y++])!=ce)return!0}else for(;te>y;y++)if((ue||y in ge)&&ge[y]===fe)return ue||y||0;return!ue&&-1}}},{"./_to-absolute-index":121,"./_to-iobject":123,"./_to-length":124}],63:[function(re,Ie,Ae){var Se=re("./_cof"),Pe=re("./_wks")("toStringTag"),oe=Se(function(){return arguments}())=="Arguments",ue=function(ye,fe){try{return ye[fe]}catch(se){}};Ie.exports=function(ye){var fe,se,ce;return ye===void 0?"Undefined":ye===null?"Null":typeof(se=ue(fe=Object(ye),Pe))=="string"?se:oe?Se(fe):(ce=Se(fe))=="Object"&&typeof fe.callee=="function"?"Arguments":ce}},{"./_cof":64,"./_wks":131}],64:[function(re,Ie,Ae){var Se={}.toString;Ie.exports=function(Pe){return Se.call(Pe).slice(8,-1)}},{}],65:[function(re,Ie,Ae){var Se=Ie.exports={version:"2.5.7"};typeof __e=="number"&&(__e=Se)},{}],66:[function(re,Ie,Ae){"use strict";var Se=re("./_object-dp"),Pe=re("./_property-desc");Ie.exports=function(oe,ue,ye){ue in oe?Se.f(oe,ue,Pe(0,ye)):oe[ue]=ye}},{"./_object-dp":98,"./_property-desc":111}],67:[function(re,Ie,Ae){var Se=re("./_a-function");Ie.exports=function(Pe,oe,ue){if(Se(Pe),oe===void 0)return Pe;switch(ue){case 1:return function(ye){return Pe.call(oe,ye)};case 2:return function(ye,fe){return Pe.call(oe,ye,fe)};case 3:return function(ye,fe,se){return Pe.call(oe,ye,fe,se)}}return function(){return Pe.apply(oe,arguments)}}},{"./_a-function":58}],68:[function(re,Ie,Ae){Ie.exports=function(Se){if(Se==null)throw TypeError("Can't call method on "+Se);return Se}},{}],69:[function(re,Ie,Ae){Ie.exports=!re("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":74}],70:[function(re,Ie,Ae){var Se=re("./_is-object"),Pe=re("./_global").document,oe=Se(Pe)&&Se(Pe.createElement);Ie.exports=function(ue){return oe?Pe.createElement(ue):{}}},{"./_global":76,"./_is-object":85}],71:[function(re,Ie,Ae){Ie.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],72:[function(re,Ie,Ae){var Se=re("./_object-keys"),Pe=re("./_object-gops"),oe=re("./_object-pie");Ie.exports=function(ue){var ye=Se(ue),fe=Pe.f;if(fe)for(var se,ce=fe(ue),ge=oe.f,te=0;ce.length>te;)ge.call(ue,se=ce[te++])&&ye.push(se);return ye}},{"./_object-gops":103,"./_object-keys":106,"./_object-pie":107}],73:[function(re,Ie,Ae){var Se=re("./_global"),Pe=re("./_core"),oe=re("./_ctx"),ue=re("./_hide"),ye=re("./_has"),fe=function(se,ce,ge){var te,y,a,E=se&fe.F,b=se&fe.G,x=se&fe.S,z=se&fe.P,ee=se&fe.B,ne=se&fe.W,de=b?Pe:Pe[ce]||(Pe[ce]={}),he=de.prototype,we=b?Se:x?Se[ce]:(Se[ce]||{}).prototype;b&&(ge=ce);for(te in ge)(y=!E&&we&&we[te]!==void 0)&&ye(de,te)||(a=y?we[te]:ge[te],de[te]=b&&typeof we[te]!="function"?ge[te]:ee&&y?oe(a,Se):ne&&we[te]==a?function(ve){var Oe=function(Fe,Ce,ze){if(this instanceof ve){switch(arguments.length){case 0:return new ve;case 1:return new ve(Fe);case 2:return new ve(Fe,Ce)}return new ve(Fe,Ce,ze)}return ve.apply(this,arguments)};return Oe.prototype=ve.prototype,Oe}(a):z&&typeof a=="function"?oe(Function.call,a):a,z&&((de.virtual||(de.virtual={}))[te]=a,se&fe.R&&he&&!he[te]&&ue(he,te,a)))};fe.F=1,fe.G=2,fe.S=4,fe.P=8,fe.B=16,fe.W=32,fe.U=64,fe.R=128,Ie.exports=fe},{"./_core":65,"./_ctx":67,"./_global":76,"./_has":77,"./_hide":78}],74:[function(re,Ie,Ae){Ie.exports=function(Se){try{return!!Se()}catch(Pe){return!0}}},{}],75:[function(re,Ie,ge){var Se=re("./_ctx"),Pe=re("./_iter-call"),oe=re("./_is-array-iter"),ue=re("./_an-object"),ye=re("./_to-length"),fe=re("./core.get-iterator-method"),se={},ce={},ge=Ie.exports=function(te,y,a,E,b){var x,z,ee,ne,de=b?function(){return te}:fe(te),he=Se(a,E,y?2:1),we=0;if(typeof de!="function")throw TypeError(te+" is not iterable!");if(oe(de)){for(x=ye(te.length);x>we;we++)if((ne=y?he(ue(z=te[we])[0],z[1]):he(te[we]))===se||ne===ce)return ne}else for(ee=de.call(te);!(z=ee.next()).done;)if((ne=Pe(ee,he,z.value,y))===se||ne===ce)return ne};ge.BREAK=se,ge.RETURN=ce},{"./_an-object":61,"./_ctx":67,"./_is-array-iter":83,"./_iter-call":86,"./_to-length":124,"./core.get-iterator-method":132}],76:[function(re,Ie,Ae){var Se=Ie.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=Se)},{}],77:[function(re,Ie,Ae){var Se={}.hasOwnProperty;Ie.exports=function(Pe,oe){return Se.call(Pe,oe)}},{}],78:[function(re,Ie,Ae){var Se=re("./_object-dp"),Pe=re("./_property-desc");Ie.exports=re("./_descriptors")?function(oe,ue,ye){return Se.f(oe,ue,Pe(1,ye))}:function(oe,ue,ye){return oe[ue]=ye,oe}},{"./_descriptors":69,"./_object-dp":98,"./_property-desc":111}],79:[function(re,Ie,Ae){var Se=re("./_global").document;Ie.exports=Se&&Se.documentElement},{"./_global":76}],80:[function(re,Ie,Ae){Ie.exports=!re("./_descriptors")&&!re("./_fails")(function(){return Object.defineProperty(re("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":69,"./_dom-create":70,"./_fails":74}],81:[function(re,Ie,Ae){Ie.exports=function(Se,Pe,oe){var ue=oe===void 0;switch(Pe.length){case 0:return ue?Se():Se.call(oe);case 1:return ue?Se(Pe[0]):Se.call(oe,Pe[0]);case 2:return ue?Se(Pe[0],Pe[1]):Se.call(oe,Pe[0],Pe[1]);case 3:return ue?Se(Pe[0],Pe[1],Pe[2]):Se.call(oe,Pe[0],Pe[1],Pe[2]);case 4:return ue?Se(Pe[0],Pe[1],Pe[2],Pe[3]):Se.call(oe,Pe[0],Pe[1],Pe[2],Pe[3])}return Se.apply(oe,Pe)}},{}],82:[function(re,Ie,Ae){var Se=re("./_cof");Ie.exports=Object("z").propertyIsEnumerable(0)?Object:function(Pe){return Se(Pe)=="String"?Pe.split(""):Object(Pe)}},{"./_cof":64}],83:[function(re,Ie,Ae){var Se=re("./_iterators"),Pe=re("./_wks")("iterator"),oe=Array.prototype;Ie.exports=function(ue){return ue!==void 0&&(Se.Array===ue||oe[Pe]===ue)}},{"./_iterators":91,"./_wks":131}],84:[function(re,Ie,Ae){var Se=re("./_cof");Ie.exports=Array.isArray||function(Pe){return Se(Pe)=="Array"}},{"./_cof":64}],85:[function(re,Ie,Ae){Ie.exports=function(Se){return typeof Se=="object"?Se!==null:typeof Se=="function"}},{}],86:[function(re,Ie,Ae){var Se=re("./_an-object");Ie.exports=function(Pe,oe,ue,ye){try{return ye?oe(Se(ue)[0],ue[1]):oe(ue)}catch(se){var fe=Pe.return;throw fe!==void 0&&Se(fe.call(Pe)),se}}},{"./_an-object":61}],87:[function(re,Ie,Ae){"use strict";var Se=re("./_object-create"),Pe=re("./_property-desc"),oe=re("./_set-to-string-tag"),ue={};re("./_hide")(ue,re("./_wks")("iterator"),function(){return this}),Ie.exports=function(ye,fe,se){ye.prototype=Se(ue,{next:Pe(1,se)}),oe(ye,fe+" Iterator")}},{"./_hide":78,"./_object-create":97,"./_property-desc":111,"./_set-to-string-tag":115,"./_wks":131}],88:[function(re,Ie,Ae){"use strict";var Se=re("./_library"),Pe=re("./_export"),oe=re("./_redefine"),ue=re("./_hide"),ye=re("./_iterators"),fe=re("./_iter-create"),se=re("./_set-to-string-tag"),ce=re("./_object-gpo"),ge=re("./_wks")("iterator"),te=!([].keys&&"next"in[].keys()),y=function(){return this};Ie.exports=function(a,E,b,x,z,ee,ne){fe(b,E,x);var de,he,we,ve=function(Xe){if(!te&&Xe in ze)return ze[Xe];switch(Xe){case"keys":case"values":return function(){return new b(this,Xe)}}return function(){return new b(this,Xe)}},Oe=E+" Iterator",Fe=z=="values",Ce=!1,ze=a.prototype,Ze=ze[ge]||ze["@@iterator"]||z&&ze[z],rt=Ze||ve(z),Je=z?Fe?ve("entries"):rt:void 0,dt=E=="Array"&&ze.entries||Ze;if(dt&&(we=ce(dt.call(new a)))!==Object.prototype&&we.next&&(se(we,Oe,!0),Se||typeof we[ge]=="function"||ue(we,ge,y)),Fe&&Ze&&Ze.name!=="values"&&(Ce=!0,rt=function(){return Ze.call(this)}),Se&&!ne||!te&&!Ce&&ze[ge]||ue(ze,ge,rt),ye[E]=rt,ye[Oe]=y,z)if(de={values:Fe?rt:ve("values"),keys:ee?rt:ve("keys"),entries:Je},ne)for(he in de)he in ze||oe(ze,he,de[he]);else Pe(Pe.P+Pe.F*(te||Ce),E,de);return de}},{"./_export":73,"./_hide":78,"./_iter-create":87,"./_iterators":91,"./_library":92,"./_object-gpo":104,"./_redefine":113,"./_set-to-string-tag":115,"./_wks":131}],89:[function(re,Ie,Ae){var Se=re("./_wks")("iterator"),Pe=!1;try{var oe=[7][Se]();oe.return=function(){Pe=!0},Array.from(oe,function(){throw 2})}catch(ue){}Ie.exports=function(ue,ye){if(!ye&&!Pe)return!1;var fe=!1;try{var se=[7],ce=se[Se]();ce.next=function(){return{done:fe=!0}},se[Se]=function(){return ce},ue(se)}catch(ge){}return fe}},{"./_wks":131}],90:[function(re,Ie,Ae){Ie.exports=function(Se,Pe){return{value:Pe,done:!!Se}}},{}],91:[function(re,Ie,Ae){Ie.exports={}},{}],92:[function(re,Ie,Ae){Ie.exports=!0},{}],93:[function(re,Ie,Ae){var Se=re("./_uid")("meta"),Pe=re("./_is-object"),oe=re("./_has"),ue=re("./_object-dp").f,ye=0,fe=Object.isExtensible||function(){return!0},se=!re("./_fails")(function(){return fe(Object.preventExtensions({}))}),ce=function(E){ue(E,Se,{value:{i:"O"+ ++ye,w:{}}})},ge=function(E,b){if(!Pe(E))return typeof E=="symbol"?E:(typeof E=="string"?"S":"P")+E;if(!oe(E,Se)){if(!fe(E))return"F";if(!b)return"E";ce(E)}return E[Se].i},te=function(E,b){if(!oe(E,Se)){if(!fe(E))return!0;if(!b)return!1;ce(E)}return E[Se].w},y=function(E){return se&&a.NEED&&fe(E)&&!oe(E,Se)&&ce(E),E},a=Ie.exports={KEY:Se,NEED:!1,fastKey:ge,getWeak:te,onFreeze:y}},{"./_fails":74,"./_has":77,"./_is-object":85,"./_object-dp":98,"./_uid":127}],94:[function(re,Ie,Ae){var Se=re("./_global"),Pe=re("./_task").set,oe=Se.MutationObserver||Se.WebKitMutationObserver,ue=Se.process,ye=Se.Promise,fe=re("./_cof")(ue)=="process";Ie.exports=function(){var se,ce,ge,te=function(){var b,x;for(fe&&(b=ue.domain)&&b.exit();se;){x=se.fn,se=se.next;try{x()}catch(z){throw se?ge():ce=void 0,z}}ce=void 0,b&&b.enter()};if(fe)ge=function(){ue.nextTick(te)};else if(!oe||Se.navigator&&Se.navigator.standalone)if(ye&&ye.resolve){var y=ye.resolve(void 0);ge=function(){y.then(te)}}else ge=function(){Pe.call(Se,te)};else{var a=!0,E=document.createTextNode("");new oe(te).observe(E,{characterData:!0}),ge=function(){E.data=a=!a}}return function(b){var x={fn:b,next:void 0};ce&&(ce.next=x),se||(se=x,ge()),ce=x}}},{"./_cof":64,"./_global":76,"./_task":120}],95:[function(re,Ie,Ae){"use strict";function Se(oe){var ue,ye;this.promise=new oe(function(fe,se){if(ue!==void 0||ye!==void 0)throw TypeError("Bad Promise constructor");ue=fe,ye=se}),this.resolve=Pe(ue),this.reject=Pe(ye)}var Pe=re("./_a-function");Ie.exports.f=function(oe){return new Se(oe)}},{"./_a-function":58}],96:[function(re,Ie,Ae){"use strict";var Se=re("./_object-keys"),Pe=re("./_object-gops"),oe=re("./_object-pie"),ue=re("./_to-object"),ye=re("./_iobject"),fe=Object.assign;Ie.exports=!fe||re("./_fails")(function(){var se={},ce={},ge=Symbol(),te="abcdefghijklmnopqrst";return se[ge]=7,te.split("").forEach(function(y){ce[y]=y}),fe({},se)[ge]!=7||Object.keys(fe({},ce)).join("")!=te})?function(se,ce){for(var ge=ue(se),te=arguments.length,y=1,a=Pe.f,E=oe.f;te>y;)for(var b,x=ye(arguments[y++]),z=a?Se(x).concat(a(x)):Se(x),ee=z.length,ne=0;ee>ne;)E.call(x,b=z[ne++])&&(ge[b]=x[b]);return ge}:fe},{"./_fails":74,"./_iobject":82,"./_object-gops":103,"./_object-keys":106,"./_object-pie":107,"./_to-object":125}],97:[function(re,Ie,Ae){var Se=re("./_an-object"),Pe=re("./_object-dps"),oe=re("./_enum-bug-keys"),ue=re("./_shared-key")("IE_PROTO"),ye=function(){},fe=function(){var se,ce=re("./_dom-create")("iframe"),ge=oe.length;for(ce.style.display="none",re("./_html").appendChild(ce),ce.src="javascript:",se=ce.contentWindow.document,se.open(),se.write("