From ae6bf282ea57fde9cde31e62a0533be9b5fb3bd1 Mon Sep 17 00:00:00 2001 From: autosubmit Date: Thu, 27 Mar 2025 19:08:22 +0800 Subject: [PATCH] Auto Submit --- ...ync.js => layouts__index.38f77775.async.js | 4 +- ... p__Shixuns__Edit__index.0586cb0f.async.js | 124 +++++++++--------- ...p__User__Register__index.4bf81584.async.js | 4 +- ...er__ResetPassword__index.35bb175b.async.js | 4 +- umi.9bc4ee81.js => umi.66060867.js | 4 +- 5 files changed, 70 insertions(+), 70 deletions(-) rename layouts__index.d0eca350.async.js => layouts__index.38f77775.async.js (89%) rename p__Shixuns__Edit__index.57ef5825.async.js => p__Shixuns__Edit__index.0586cb0f.async.js (89%) rename p__User__Register__index.5d06795b.async.js => p__User__Register__index.4bf81584.async.js (91%) rename p__User__ResetPassword__index.a4fc885c.async.js => p__User__ResetPassword__index.35bb175b.async.js (94%) rename umi.9bc4ee81.js => umi.66060867.js (99%) diff --git a/layouts__index.d0eca350.async.js b/layouts__index.38f77775.async.js similarity index 89% rename from layouts__index.d0eca350.async.js rename to layouts__index.38f77775.async.js index 8dc8c1c672..07b3d71792 100644 --- a/layouts__index.d0eca350.async.js +++ b/layouts__index.38f77775.async.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1717],{89489:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},59477:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},40001:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},49198:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},84105:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},18785:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},87169:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},73331:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},15277:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},52671:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},8657:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},56082:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},33853:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},15075:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},62772:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},43531:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},61485:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},38819:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},47472:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},35593:function(Yt,je,e){e.d(je,{Z:function(){return _e}});var t=e(77321),i=e(52487),h=e(74416),M=e(43403),c=e(92310),E=e.n(c),n=e(29301),Y=e(76846),ne=e(96452),m=e(6089),de=e(80402),p=e(34280),P=e(49658),Z=e(59301),ee=e(72308),te=e(77900),ke=e(8654);function ye(v){var S=v.prefixCls,g=v.align,o=v.arrow,L=v.arrowPos,le=o||{},f=le.className,s=le.content,_=L.x,N=_===void 0?0:_,B=L.y,J=B===void 0?0:B,De=Z.useRef();if(!g||!g.points)return null;var ie={position:"absolute"};if(g.autoArrow!==!1){var Le=g.points[0],Pe=g.points[1],Fe=Le[0],Me=Le[1],ut=Pe[0],ht=Pe[1];Fe===ut||!["t","b"].includes(Fe)?ie.top=J:Fe==="t"?ie.top=0:ie.bottom=0,Me===ht||!["l","r"].includes(Me)?ie.left=N:Me==="l"?ie.left=0:ie.right=0}return Z.createElement("div",{ref:De,className:E()("".concat(S,"-arrow"),f),style:ie},s)}function Be(v){var S=v.prefixCls,g=v.open,o=v.zIndex,L=v.mask,le=v.motion;return L?Z.createElement(te.default,(0,ee.Z)({},le,{motionAppear:!0,visible:g,removeOnLeave:!0}),function(f){var s=f.className;return Z.createElement("div",{style:{zIndex:o},className:E()("".concat(S,"-mask"),s)})}):null}var Ae=Z.memo(function(v){var S=v.children;return S},function(v,S){return S.cache}),Q=Ae,C=Z.forwardRef(function(v,S){var g=v.popup,o=v.className,L=v.prefixCls,le=v.style,f=v.target,s=v.onVisibleChanged,_=v.open,N=v.keepDom,B=v.fresh,J=v.onClick,De=v.mask,ie=v.arrow,Le=v.arrowPos,Pe=v.align,Fe=v.motion,Me=v.maskMotion,ut=v.forceRender,ht=v.getPopupContainer,Je=v.autoDestroy,wt=v.portal,Nt=v.zIndex,Kt=v.onMouseEnter,Rt=v.onMouseLeave,gn=v.onPointerEnter,Pn=v.ready,Sn=v.offsetX,Tn=v.offsetY,Yn=v.offsetR,pn=v.offsetB,Tt=v.onAlign,xn=v.onPrepare,Gn=v.stretch,Gt=v.targetWidth,zn=v.targetHeight,tr=typeof g=="function"?g():g,Jn=_||N,Wn=(ht==null?void 0:ht.length)>0,br=Z.useState(!ht||!Wn),Or=(0,i.Z)(br,2),Ln=Or[0],sr=Or[1];if((0,p.Z)(function(){!Ln&&Wn&&f&&sr(!0)},[Ln,Wn,f]),!Ln)return null;var nn="auto",Nn={left:"-1000vw",top:"-1000vh",right:nn,bottom:nn};if(Pn||!_){var se,d=Pe.points,w=Pe.dynamicInset||((se=Pe._experimental)===null||se===void 0?void 0:se.dynamicInset),x=w&&d[0][1]==="r",O=w&&d[0][0]==="b";x?(Nn.right=Yn,Nn.left=nn):(Nn.left=Sn,Nn.right=nn),O?(Nn.bottom=pn,Nn.top=nn):(Nn.top=Tn,Nn.bottom=nn)}var re={};return Gn&&(Gn.includes("height")&&zn?re.height=zn:Gn.includes("minHeight")&&zn&&(re.minHeight=zn),Gn.includes("width")&&Gt?re.width=Gt:Gn.includes("minWidth")&&Gt&&(re.minWidth=Gt)),_||(re.pointerEvents="none"),Z.createElement(wt,{open:ut||Jn,getContainer:ht&&function(){return ht(f)},autoDestroy:Je},Z.createElement(Be,{prefixCls:L,open:_,zIndex:Nt,mask:De,motion:Me}),Z.createElement(n.Z,{onResize:Tt,disabled:!_},function(Se){return Z.createElement(te.default,(0,ee.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ut,leavedClassName:"".concat(L,"-hidden")},Fe,{onAppearPrepare:xn,onEnterPrepare:xn,visible:_,onVisibleChanged:function(We){var it;Fe==null||(it=Fe.onVisibleChanged)===null||it===void 0||it.call(Fe,We),s(We)}}),function(Ye,We){var it=Ye.className,et=Ye.style,oe=E()(L,it,o);return Z.createElement("div",{ref:(0,ke.sQ)(Se,S,We),className:oe,style:(0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({"--arrow-x":"".concat(Le.x||0,"px"),"--arrow-y":"".concat(Le.y||0,"px")},Nn),re),et),{},{boxSizing:"border-box",zIndex:Nt},le),onMouseEnter:Kt,onMouseLeave:Rt,onPointerEnter:gn,onClick:J},ie&&Z.createElement(ye,{prefixCls:L,arrow:ie,arrowPos:Le,align:Pe}),Z.createElement(Q,{cache:!_&&!B},tr))})}))}),r=C,I=Z.forwardRef(function(v,S){var g=v.children,o=v.getTriggerDOMNode,L=(0,ke.Yr)(g),le=Z.useCallback(function(s){(0,ke.mH)(S,o?o(s):s)},[o]),f=(0,ke.x1)(le,g.ref);return L?Z.cloneElement(g,{ref:f}):g}),b=I,ae=Z.createContext(null),H=ae;function X(v){return v?Array.isArray(v)?v:[v]:[]}function A(v,S,g,o){return Z.useMemo(function(){var L=X(g!=null?g:S),le=X(o!=null?o:S),f=new Set(L),s=new Set(le);return v&&(f.has("hover")&&(f.delete("hover"),f.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[f,s]},[v,S,g,o])}var V=e(29194);function D(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],g=arguments.length>2?arguments[2]:void 0;return g?v[0]===S[0]:v[0]===S[0]&&v[1]===S[1]}function be(v,S,g,o){for(var L=g.points,le=Object.keys(v),f=0;f1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(v)?S:v}function Ee(v){return k(parseFloat(v),0)}function l(v,S){var g=(0,t.Z)({},v);return(S||[]).forEach(function(o){if(!(o instanceof HTMLBodyElement||o instanceof HTMLHtmlElement)){var L=$(o).getComputedStyle(o),le=L.overflow,f=L.overflowClipMargin,s=L.borderTopWidth,_=L.borderBottomWidth,N=L.borderLeftWidth,B=L.borderRightWidth,J=o.getBoundingClientRect(),De=o.offsetHeight,ie=o.clientHeight,Le=o.offsetWidth,Pe=o.clientWidth,Fe=Ee(s),Me=Ee(_),ut=Ee(N),ht=Ee(B),Je=k(Math.round(J.width/Le*1e3)/1e3),wt=k(Math.round(J.height/De*1e3)/1e3),Nt=(Le-Pe-ut-ht)*Je,Kt=(De-ie-Fe-Me)*wt,Rt=Fe*wt,gn=Me*wt,Pn=ut*Je,Sn=ht*Je,Tn=0,Yn=0;if(le==="clip"){var pn=Ee(f);Tn=pn*Je,Yn=pn*wt}var Tt=J.x+Pn-Tn,xn=J.y+Rt-Yn,Gn=Tt+J.width+2*Tn-Pn-Sn-Nt,Gt=xn+J.height+2*Yn-Rt-gn-Kt;g.left=Math.max(g.left,Tt),g.top=Math.max(g.top,xn),g.right=Math.min(g.right,Gn),g.bottom=Math.min(g.bottom,Gt)}}),g}function y(v){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,g="".concat(S),o=g.match(/^(.*)\%$/);return o?v*(parseFloat(o[1])/100):parseFloat(g)}function T(v,S){var g=S||[],o=(0,i.Z)(g,2),L=o[0],le=o[1];return[y(v.width,L),y(v.height,le)]}function R(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[v[0],v[1]]}function F(v,S){var g=S[0],o=S[1],L,le;return g==="t"?le=v.y:g==="b"?le=v.y+v.height:le=v.y+v.height/2,o==="l"?L=v.x:o==="r"?L=v.x+v.width:L=v.x+v.width/2,{x:L,y:le}}function U(v,S){var g={t:"b",b:"t",l:"r",r:"l"};return v.map(function(o,L){return L===S?g[o]||"c":o}).join("")}function ce(v,S,g,o,L,le,f){var s=Z.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:L[o]||{}}),_=(0,i.Z)(s,2),N=_[0],B=_[1],J=Z.useRef(0),De=Z.useMemo(function(){return S?z(S):[]},[S]),ie=Z.useRef({}),Le=function(){ie.current={}};v||Le();var Pe=(0,m.Z)(function(){if(S&&g&&v){let mn=function(Kn,Hn){var Kr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:oe,Rr=tr.x+Kn,Tr=tr.y+Hn,zr=Rr+se,Er=Tr+Nn,dr=Math.max(Rr,Kr.left),$n=Math.max(Tr,Kr.top),wr=Math.min(zr,Kr.right),ao=Math.min(Er,Kr.bottom);return Math.max(0,(wr-dr)*(ao-$n))},Dt=function(){en=tr.y+Xe,Cn=en+Nn,yn=tr.x+Et,wn=yn+se};var ut,ht,Je=S,wt=Je.ownerDocument,Nt=$(Je),Kt=Nt.getComputedStyle(Je),Rt=Kt.width,gn=Kt.height,Pn=Kt.position,Sn=Je.style.left,Tn=Je.style.top,Yn=Je.style.right,pn=Je.style.bottom,Tt=Je.style.overflow,xn=(0,t.Z)((0,t.Z)({},L[o]),le),Gn=wt.createElement("div");(ut=Je.parentElement)===null||ut===void 0||ut.appendChild(Gn),Gn.style.left="".concat(Je.offsetLeft,"px"),Gn.style.top="".concat(Je.offsetTop,"px"),Gn.style.position=Pn,Gn.style.height="".concat(Je.offsetHeight,"px"),Gn.style.width="".concat(Je.offsetWidth,"px"),Je.style.left="0",Je.style.top="0",Je.style.right="auto",Je.style.bottom="auto",Je.style.overflow="hidden";var Gt;if(Array.isArray(g))Gt={x:g[0],y:g[1],width:0,height:0};else{var zn=g.getBoundingClientRect();Gt={x:zn.x,y:zn.y,width:zn.width,height:zn.height}}var tr=Je.getBoundingClientRect(),Jn=wt.documentElement,Wn=Jn.clientWidth,br=Jn.clientHeight,Or=Jn.scrollWidth,Ln=Jn.scrollHeight,sr=Jn.scrollTop,nn=Jn.scrollLeft,Nn=tr.height,se=tr.width,d=Gt.height,w=Gt.width,x={left:0,top:0,right:Wn,bottom:br},O={left:-nn,top:-sr,right:Or-nn,bottom:Ln-sr},re=xn.htmlRegion,Se="visible",Ye="visibleFirst";re!=="scroll"&&re!==Ye&&(re=Se);var We=re===Ye,it=l(O,De),et=l(x,De),oe=re===Se?et:it,ve=We?et:oe;Je.style.left="auto",Je.style.top="auto",Je.style.right="0",Je.style.bottom="0";var xe=Je.getBoundingClientRect();Je.style.left=Sn,Je.style.top=Tn,Je.style.right=Yn,Je.style.bottom=pn,Je.style.overflow=Tt,(ht=Je.parentElement)===null||ht===void 0||ht.removeChild(Gn);var pe=k(Math.round(se/parseFloat(Rt)*1e3)/1e3),Ne=k(Math.round(Nn/parseFloat(gn)*1e3)/1e3);if(pe===0||Ne===0||(0,Y.Sh)(g)&&!(0,V.Z)(g))return;var ct=xn.offset,lt=xn.targetOffset,dt=T(tr,ct),ft=(0,i.Z)(dt,2),rt=ft[0],at=ft[1],ue=T(Gt,lt),we=(0,i.Z)(ue,2),Te=we[0],Ue=we[1];Gt.x-=Te,Gt.y-=Ue;var ze=xn.points||[],tt=(0,i.Z)(ze,2),Ge=tt[0],gt=tt[1],yt=R(gt),bt=R(Ge),Qt=F(Gt,yt),$t=F(tr,bt),ln=(0,t.Z)({},xn),Et=Qt.x-$t.x+rt,Xe=Qt.y-$t.y+at,Pt=mn(Et,Xe),Jt=mn(Et,Xe,et),Ut=F(Gt,["t","l"]),Vt=F(tr,["t","l"]),Ot=F(Gt,["b","r"]),sn=F(tr,["b","r"]),Xt=xn.overflow||{},An=Xt.adjustX,Mn=Xt.adjustY,nt=Xt.shiftX,Ft=Xt.shiftY,zt=function(Hn){return typeof Hn=="boolean"?Hn:Hn>=0},en,Cn,yn,wn;Dt();var cn=zt(Mn),Rn=bt[0]===yt[0];if(cn&&bt[0]==="t"&&(Cn>ve.bottom||ie.current.bt)){var Zn=Xe;Rn?Zn-=Nn-d:Zn=Ut.y-sn.y-at;var Cr=mn(Et,Zn),rn=mn(Et,Zn,et);Cr>Pt||Cr===Pt&&(!We||rn>=Jt)?(ie.current.bt=!0,Xe=Zn,at=-at,ln.points=[U(bt,0),U(yt,0)]):ie.current.bt=!1}if(cn&&bt[0]==="b"&&(enPt||Bn===Pt&&(!We||Xn>=Jt)?(ie.current.tb=!0,Xe=jt,at=-at,ln.points=[U(bt,0),U(yt,0)]):ie.current.tb=!1}var hr=zt(An),po=bt[1]===yt[1];if(hr&&bt[1]==="l"&&(wn>ve.right||ie.current.rl)){var Qr=Et;po?Qr-=se-w:Qr=Ut.x-sn.x-rt;var Sr=mn(Qr,Xe),uo=mn(Qr,Xe,et);Sr>Pt||Sr===Pt&&(!We||uo>=Jt)?(ie.current.rl=!0,Et=Qr,rt=-rt,ln.points=[U(bt,1),U(yt,1)]):ie.current.rl=!1}if(hr&&bt[1]==="r"&&(ynPt||Gr===Pt&&(!We||vo>=Jt)?(ie.current.lr=!0,Et=Ur,rt=-rt,ln.points=[U(bt,1),U(yt,1)]):ie.current.lr=!1}Dt();var Nr=nt===!0?0:nt;typeof Nr=="number"&&(ynet.right&&(Et-=wn-et.right-rt,Gt.x>et.right-Nr&&(Et+=Gt.x-et.right+Nr)));var mo=Ft===!0?0:Ft;typeof mo=="number"&&(enet.bottom&&(Xe-=Cn-et.bottom-at,Gt.y>et.bottom-mo&&(Xe+=Gt.y-et.bottom+mo)));var j=tr.x+Et,fe=j+se,Ie=tr.y+Xe,$e=Ie+Nn,pt=Gt.x,Zt=pt+w,En=Gt.y,dn=En+d,mr=Math.max(j,pt),Mr=Math.min(fe,Zt),gr=(mr+Mr)/2,eo=gr-j,xr=Math.max(Ie,En),Yr=Math.min($e,dn),Dr=(xr+Yr)/2,Ar=Dr-Ie;f==null||f(S,ln);var an=xe.right-tr.x-(Et+tr.width),un=xe.bottom-tr.y-(Xe+tr.height);B({ready:!0,offsetX:Et/pe,offsetY:Xe/Ne,offsetR:an/pe,offsetB:un/Ne,arrowX:eo/pe,arrowY:Ar/Ne,scaleX:pe,scaleY:Ne,align:ln})}}),Fe=function(){J.current+=1;var ht=J.current;Promise.resolve().then(function(){J.current===ht&&Pe()})},Me=function(){B(function(ht){return(0,t.Z)((0,t.Z)({},ht),{},{ready:!1})})};return(0,p.Z)(Me,[o]),(0,p.Z)(function(){v||Me()},[v]),[N.ready,N.offsetX,N.offsetY,N.offsetR,N.offsetB,N.arrowX,N.arrowY,N.scaleX,N.scaleY,N.align,Fe]}var Qe=e(80702);function Re(v,S,g,o,L){(0,p.Z)(function(){if(v&&S&&g){let J=function(){o(),L()};var le=S,f=g,s=z(le),_=z(f),N=$(f),B=new Set([N].concat((0,Qe.Z)(s),(0,Qe.Z)(_)));return B.forEach(function(De){De.addEventListener("scroll",J,{passive:!0})}),N.addEventListener("resize",J,{passive:!0}),o(),function(){B.forEach(function(De){De.removeEventListener("scroll",J),N.removeEventListener("resize",J)})}}},[v,S,g])}var Ve=e(48736),vt=e(16089);function xt(v,S,g,o,L,le,f,s){var _=Z.useRef(v),N=Z.useRef(!1);_.current!==v&&(N.current=!0,_.current=v),Z.useEffect(function(){var B=(0,vt.Z)(function(){N.current=!1});return function(){vt.Z.cancel(B)}},[v]),Z.useEffect(function(){if(S&&o&&(!L||le)){var B=function(){var Pn=!1,Sn=function(pn){var Tt=pn.target;Pn=f(Tt)},Tn=function(pn){var Tt=pn.target;!N.current&&_.current&&!Pn&&!f(Tt)&&s(!1)};return[Sn,Tn]},J=B(),De=(0,i.Z)(J,2),ie=De[0],Le=De[1],Pe=B(),Fe=(0,i.Z)(Pe,2),Me=Fe[0],ut=Fe[1],ht=$(o);ht.addEventListener("mousedown",ie,!0),ht.addEventListener("click",Le,!0),ht.addEventListener("contextmenu",Le,!0);var Je=(0,ne.A)(g);if(Je&&(Je.addEventListener("mousedown",Me,!0),Je.addEventListener("click",ut,!0),Je.addEventListener("contextmenu",ut,!0)),0)var wt,Nt,Kt,Rt;return function(){ht.removeEventListener("mousedown",ie,!0),ht.removeEventListener("click",Le,!0),ht.removeEventListener("contextmenu",Le,!0),Je&&(Je.removeEventListener("mousedown",Me,!0),Je.removeEventListener("click",ut,!0),Je.removeEventListener("contextmenu",ut,!0))}}},[S,g,o,L,le])}var mt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Oe(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:M.Z,S=Z.forwardRef(function(g,o){var L=g.prefixCls,le=L===void 0?"rc-trigger-popup":L,f=g.children,s=g.action,_=s===void 0?"hover":s,N=g.showAction,B=g.hideAction,J=g.popupVisible,De=g.defaultPopupVisible,ie=g.onPopupVisibleChange,Le=g.afterPopupVisibleChange,Pe=g.mouseEnterDelay,Fe=g.mouseLeaveDelay,Me=Fe===void 0?.1:Fe,ut=g.focusDelay,ht=g.blurDelay,Je=g.mask,wt=g.maskClosable,Nt=wt===void 0?!0:wt,Kt=g.getPopupContainer,Rt=g.forceRender,gn=g.autoDestroy,Pn=g.destroyPopupOnHide,Sn=g.popup,Tn=g.popupClassName,Yn=g.popupStyle,pn=g.popupPlacement,Tt=g.builtinPlacements,xn=Tt===void 0?{}:Tt,Gn=g.popupAlign,Gt=g.zIndex,zn=g.stretch,tr=g.getPopupClassNameFromAlign,Jn=g.fresh,Wn=g.alignPoint,br=g.onPopupClick,Or=g.onPopupAlign,Ln=g.arrow,sr=g.popupMotion,nn=g.maskMotion,Nn=g.popupTransitionName,se=g.popupAnimation,d=g.maskTransitionName,w=g.maskAnimation,x=g.className,O=g.getTriggerDOMNode,re=(0,h.Z)(g,mt),Se=gn||Pn||!1,Ye=Z.useState(!1),We=(0,i.Z)(Ye,2),it=We[0],et=We[1];(0,p.Z)(function(){et((0,P.Z)())},[]);var oe=Z.useRef({}),ve=Z.useContext(H),xe=Z.useMemo(function(){return{registerSubPopup:function(me,ge){oe.current[me]=ge,ve==null||ve.registerSubPopup(me,ge)}}},[ve]),pe=(0,de.Z)(),Ne=Z.useState(null),ct=(0,i.Z)(Ne,2),lt=ct[0],dt=ct[1],ft=(0,m.Z)(function(G){(0,Y.Sh)(G)&<!==G&&dt(G),ve==null||ve.registerSubPopup(pe,G)}),rt=Z.useState(null),at=(0,i.Z)(rt,2),ue=at[0],we=at[1],Te=Z.useRef(null),Ue=(0,m.Z)(function(G){(0,Y.Sh)(G)&&ue!==G&&(we(G),Te.current=G)}),ze=Z.Children.only(f),tt=(ze==null?void 0:ze.props)||{},Ge={},gt=(0,m.Z)(function(G){var me,ge,Bt=ue;return(Bt==null?void 0:Bt.contains(G))||((me=(0,ne.A)(Bt))===null||me===void 0?void 0:me.host)===G||G===Bt||(lt==null?void 0:lt.contains(G))||((ge=(0,ne.A)(lt))===null||ge===void 0?void 0:ge.host)===G||G===lt||Object.values(oe.current).some(function(At){return(At==null?void 0:At.contains(G))||G===At})}),yt=W(le,sr,se,Nn),bt=W(le,nn,w,d),Qt=Z.useState(De||!1),$t=(0,i.Z)(Qt,2),ln=$t[0],Et=$t[1],Xe=J!=null?J:ln,Pt=(0,m.Z)(function(G){J===void 0&&Et(G)});(0,p.Z)(function(){Et(J||!1)},[J]);var Jt=Z.useRef(Xe);Jt.current=Xe;var Ut=Z.useRef([]);Ut.current=[];var Vt=(0,m.Z)(function(G){var me;Pt(G),((me=Ut.current[Ut.current.length-1])!==null&&me!==void 0?me:Xe)!==G&&(Ut.current.push(G),ie==null||ie(G))}),Ot=Z.useRef(),sn=function(){clearTimeout(Ot.current)},Xt=function(me){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;sn(),ge===0?Vt(me):Ot.current=setTimeout(function(){Vt(me)},ge*1e3)};Z.useEffect(function(){return sn},[]);var An=Z.useState(!1),Mn=(0,i.Z)(An,2),nt=Mn[0],Ft=Mn[1];(0,p.Z)(function(G){(!G||Xe)&&Ft(!0)},[Xe]);var zt=Z.useState(null),en=(0,i.Z)(zt,2),Cn=en[0],yn=en[1],wn=Z.useState([0,0]),cn=(0,i.Z)(wn,2),Rn=cn[0],Zn=cn[1],Cr=function(me){Zn([me.clientX,me.clientY])},rn=ce(Xe,lt,Wn?Rn:ue,pn,xn,Gn,Or),jt=(0,i.Z)(rn,11),Bn=jt[0],Xn=jt[1],hr=jt[2],po=jt[3],Qr=jt[4],Sr=jt[5],uo=jt[6],Ur=jt[7],Gr=jt[8],vo=jt[9],Nr=jt[10],mo=A(it,_,N,B),j=(0,i.Z)(mo,2),fe=j[0],Ie=j[1],$e=fe.has("click"),pt=Ie.has("click")||Ie.has("contextMenu"),Zt=(0,m.Z)(function(){nt||Nr()}),En=function(){Jt.current&&Wn&&pt&&Xt(!1)};Re(Xe,ue,lt,Zt,En),(0,p.Z)(function(){Zt()},[Rn,pn]),(0,p.Z)(function(){Xe&&!(xn!=null&&xn[pn])&&Zt()},[JSON.stringify(Gn)]);var dn=Z.useMemo(function(){var G=be(xn,le,vo,Wn);return E()(G,tr==null?void 0:tr(vo))},[vo,tr,xn,le,Wn]);Z.useImperativeHandle(o,function(){return{nativeElement:Te.current,forceAlign:Zt}});var mr=Z.useState(0),Mr=(0,i.Z)(mr,2),gr=Mr[0],eo=Mr[1],xr=Z.useState(0),Yr=(0,i.Z)(xr,2),Dr=Yr[0],Ar=Yr[1],an=function(){if(zn&&ue){var me=ue.getBoundingClientRect();eo(me.width),Ar(me.height)}},un=function(){an(),Zt()},mn=function(me){Ft(!1),Nr(),Le==null||Le(me)},Dt=function(){return new Promise(function(me){an(),yn(function(){return me})})};(0,p.Z)(function(){Cn&&(Nr(),Cn(),yn(null))},[Cn]);function Kn(G,me,ge,Bt){Ge[G]=function(At){var On;Bt==null||Bt(At),Xt(me,ge);for(var bn=arguments.length,kt=new Array(bn>1?bn-1:0),qe=1;qe1?ge-1:0),At=1;At1?ge-1:0),At=1;At{}})=>{const p=()=>t.createElement("div",{className:E.flexColumn},t.createElement("img",{className:E.img,src:c}),t.createElement("span",{className:E.content},"\u672A\u804C\u4E1A\u8BA4\u8BC1")),P=()=>t.createElement("div",{className:E.flexColumn},t.createElement("img",{className:E.img,src:M}),t.createElement("span",{className:E.content},"\u672A\u5B9E\u540D\u8BA4\u8BC1")),Z=()=>m===3?t.createElement(t.Fragment,null,P(),p()):m===2?p():P();return t.createElement(h.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ne,title:"\u56E0\u4E3A\u4EE5\u4E0B\u539F\u56E0\uFF0C\u60A8\u6682\u65F6\u4E0D\u80FD\u8FDB\u884C\u64CD\u4F5C",okText:"\u7ACB\u5373\u8BA4\u8BC1",cancelText:"\u53D6\u6D88",width:"600px",onOk:()=>{de(),i.history.push("/account/certification")},onCancel:()=>{de()}},t.createElement("div",{className:E.tilte},"\u8BF7\u5728\u5B8C\u6210\u6761\u4EF6\u540E\u91CD\u8BD5"),t.createElement("div",{className:E.flexRow},Z()))};var Y=(0,i.connect)(({paperlibrary:ne,loading:m,globalSetting:de})=>({paperlibrary:ne,globalSetting:de,loading:m.effects}))(n)},63454:function(Yt,je,e){e.d(je,{Z:function(){return C}});var t=e(59301),i=e(89070),h=e(43418),M=e(8591),c=e(92832),E=e(24905),n=e(1),Y=e(927),ne=e(955),m=e(3113),de=e(87169),p={bottom:"bottom___z0ujX",yes:"yes___hodnN",no:"no___hiPz5"},P=e(32637),Z=e(59301);const ee=({classroomList:r,dispatch:I,user:b})=>Z.createElement(h.default,{open:r.actionTabs.key==="\u5230\u671F\u63D0\u793A",width:464,centered:!0,title:Z.createElement("span",null,Z.createElement(de.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u63D0\u793A"),onCancel:()=>{I({type:"classroomList/setActionTabs",payload:{key:""}})},footer:null},Z.createElement("div",{style:{textAlign:"center",marginBottom:30}},Z.createElement("div",{style:{marginBottom:20,textAlign:"left"}},"\u8BE5\u6559\u5B66\u8BFE\u5802\u7684\u8BD5\u7528\u5DF2\u5230\u671F\uFF0C\u76EE\u524D\u65E0\u6CD5\u652F\u6301",Z.createElement("span",{style:{color:"#FF9D18"}},"\u8D85\u8FC750"),"\u4EBA\u7684\u6559\u5B66\u6D3B\u52A8\u3002\u5982\u6709\u4EFB\u4F55\u7591\u95EE\uFF0C\u8BF7\u968F\u65F6\u8054\u7CFB\u6211\u4EEC\u3002\u611F\u8C22\u60A8\u7684\u7406\u89E3\u4E0E\u652F\u6301\uFF01"),Z.createElement("img",{style:{width:130,height:130},src:P})),Z.createElement("div",{className:p.bottom},Z.createElement(m.ZP,{className:p.yes,onClick:()=>{I({type:"classroomList/setActionTabs",payload:{key:""}})}},"\u6211\u77E5\u9053\u4E86")));var te=(0,i.connect)(({classroomList:r,user:I})=>({classroomList:r,user:I}))(ee),ke=e(99064),ye=e(59301),Be=(r,I,b)=>new Promise((ae,H)=>{var X=D=>{try{V(b.next(D))}catch(be){H(be)}},A=D=>{try{V(b.throw(D))}catch(be){H(be)}},V=D=>D.done?ae(D.value):Promise.resolve(D.value).then(X,A);V((b=b.apply(r,I)).next())}),Ae=(r=>(r[r.Professor=1]="Professor",r[r.AssistantProfessor=2]="AssistantProfessor",r[r.Student=3]="Student",r))(Ae||{});const Q=({visible:r,user:I,account:b,onCancel:ae=()=>{},dispatch:H})=>{const[X,A]=(0,t.useState)(),[V,D]=(0,t.useState)([]),[be,W]=(0,t.useState)(!1),[$,z]=(0,t.useState)(!1),[k,Ee]=(0,t.useState)(),[l,y]=(0,t.useState)(!1);(0,t.useEffect)(()=>{var U,ce;(U=I==null?void 0:I.userInfo)!=null&&U.identity&&D([((ce=I==null?void 0:I.userInfo)==null?void 0:ce.identity)==="student"?3:1])},[I]);const T=U=>{const ce=()=>{window.location.href=(U==null?void 0:U.jump_url)||`/classrooms/${U==null?void 0:U.course_id}/students`};if(V.includes(1)){h.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:ye.createElement("div",{className:"tc"},(U==null?void 0:U.message)||"\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838"),onOk:()=>{ce()}});return}ce()},R=()=>Be(void 0,null,function*(){if(!X){M.ZP.info("\u9080\u8BF7\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}let U=yield(0,ke.ZP)("/api/courses/get_pro_info.json",{method:"get",params:{invite_code:X}});if(U!=null&&U.need_pro_auth&&!V.includes(1)&&!V.includes(2)){H({type:"account/setActionTabs",payload:{key:"Account-ProfessionalAuth",code:X,checkedList:V}}),F();return}W(!0);const ce=yield(0,n.cR)({invite_code:X,professor:V.includes(1)?1:null,assistant_professor:V.includes(2)?1:null,student:V.includes(3)?1:null});if(W(!1),(ce==null?void 0:ce.status)===-4&&(ae(),H({type:"classroomList/setActionTabs",payload:{key:"\u5230\u671F\u63D0\u793A"}})),(ce==null?void 0:ce.status)===-12&&M.ZP.warning(ce==null?void 0:ce.message),(ce==null?void 0:ce.status)===-2){if(F(),ce.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u8BA4\u8BC1"){z(!0),Ee(1);return}if(ce.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u804C\u4E1A\u8BA4\u8BC1"){z(!0),Ee(2);return}if(ce.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u548C\u804C\u4E1A\u8BA4\u8BC1"){z(!0),Ee(3);return}}if((ce==null?void 0:ce.status)===0){(0,ne.L9)(["\u6559\u5B66\u8BFE\u5802","\u9996\u9875","\u52A0\u5165\u8BFE\u5802"]),F(),ce!=null&&ce.course_id?T(ce):M.ZP.success(ce.message);return}}),F=()=>Be(void 0,null,function*(){ae()});return ye.createElement(ye.Fragment,null,ye.createElement(h.default,{centered:!0,keyboard:!1,closable:!1,title:"\u52A0\u5165\u8BFE\u5802",open:r,confirmLoading:be,onOk:R,onCancel:F},ye.createElement("div",{className:"tc"},ye.createElement("div",null,ye.createElement("span",null,"\u8BFE\u5802\u9080\u8BF7\u7801\uFF1A"),ye.createElement(c.default,{placeholder:"\u8BF7\u8F93\u51655\u4F4D\u8BFE\u5802\u9080\u8BF7\u7801\u62166\u4F4D\u5206\u73ED\u9080\u8BF7\u7801",style:{width:270},value:X,onChange:U=>{if(U.target.value.length>=7){M.ZP.info("\u8BF7\u8F93\u51655\u4F4D\u8BFE\u5802\u9080\u8BF7\u7801\u62166\u4F4D\u5206\u73ED\u9080\u8BF7\u7801\uFF01");return}A(U.target.value)}})),ye.createElement("div",{className:"mt10 font14"},ye.createElement("span",null,"\u8EAB\u4EFD\uFF1A"),ye.createElement(E.default.Group,{value:V,onChange:U=>D(U)},ye.createElement(E.default,{value:1,disabled:V.includes(2)},"\u6559\u5E08"),ye.createElement(E.default,{value:2,disabled:V.includes(1)},"\u52A9\u6559"),ye.createElement(E.default,{value:3},"\u5B66\u751F/\u53C2\u8D5B\u8005"))))),ye.createElement(te,null),ye.createElement(Y.Z,{visible:$,onCancel:()=>z(!1),occupationValue:k}))};var C=(0,i.connect)(({user:r,account:I})=>({user:r,account:I}))(Q)},61682:function(Yt,je,e){e.d(je,{Z:function(){return et},g:function(){return Ye}});var t=e(59301),i=e(89070),h=e(44e3),M=e(92832),c=e(43418),E={flex_box_center:"flex_box_center___et8xE",flex_space_between:"flex_space_between___GBGuw",flex_box_vertical_center:"flex_box_vertical_center____6P1q",flex_box_center_end:"flex_box_center_end___whXw6",flex_box_column:"flex_box_column___mWgI_",header:"header___Wn4fJ",logo:"logo___QnotM",menu:"menu___twLGR",dropDown:"dropDown___Cwaoa",line:"line___D1auu",subName:"subName___gql7K",name:"name___dR5V2",actived:"actived___ohMks","edu-menu":"edu-menu___iWLK0",newslight:"newslight___lSZjL",classromediv:"classromediv___knFRv",glow:"glow___gzrPH",spandiv:"spandiv___Gm_hg","header-iearning":"header-iearning___LZfyg",title:"title___Ozzjk",headerFixed:"headerFixed___QLwBd"},n=e(8591),Y=e(95237),ne=e(43604),m=e(20834),de=e(38854),p=e(5112),P=e(1),Z=e(955),ee=(oe,ve,xe)=>new Promise((pe,Ne)=>{var ct=ft=>{try{dt(xe.next(ft))}catch(rt){Ne(rt)}},lt=ft=>{try{dt(xe.throw(ft))}catch(rt){Ne(rt)}},dt=ft=>ft.done?pe(ft.value):Promise.resolve(ft.value).then(ct,lt);dt((xe=xe.apply(oe,ve)).next())}),te=(oe=>(oe.Manager="manager",oe.Developer="developer",oe.Reporter="reporter",oe))(te||{}),ye=({visible:oe,onCancel:ve=()=>{}})=>{const[xe,pe]=(0,t.useState)(),[Ne,ct]=(0,t.useState)(),[lt,dt]=(0,t.useState)(!1),ft=()=>ee(void 0,null,function*(){if(!xe){n.ZP.info("\u8BF7\u8F93\u5165\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}if(xe.length!==6){n.ZP.info("\u8BF7\u8F93\u51656\u4F4D\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}if(!Ne){n.ZP.info("\u8BF7\u9009\u62E9\u4E00\u4E2A\u8EAB\u4EFD\uFF01");return}dt(!0);const at=yield(0,P.vm)({code:xe,role:Ne});dt(!1),rt();const ue={1:"\u60A8\u8F93\u5165\u7684\u9080\u8BF7\u7801\u9519\u8BEF",2:"\u60A8\u5DF2\u7ECF\u662F\u8BE5\u9879\u76EE\u6210\u5458",3:"\u8BF7\u9009\u62E9\u4E00\u4E2A\u89D2\u8272",4:"\u60A8\u7684\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u9879\u76EE\u7BA1\u7406\u5458\u5BA1\u6279",5:"\u60A8\u5DF2\u7ECF\u7533\u8BF7\u52A0\u5165\u8BE5\u9879\u76EE\u4E86\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85",6:"\u60A8\u5DF2\u6210\u529F\u52A0\u5165\u9879\u76EE"};if(ue[at.status]){n.ZP.info(ue[at.status]);return}if(at.status===0){Ne==="reporter"?(n.ZP.success("\u60A8\u52A0\u5165\u9879\u76EE\u6210\u529F\uFF01"),(0,Z.L9)(["\u5F00\u53D1\u9879\u76EE","\u52A0\u5165\u9879\u76EE\u6210\u529F"]),i.history.push(`/projects/${at==null?void 0:at.project_id}`)):((0,Z.L9)(["\u5F00\u53D1\u9879\u76EE","\u52A0\u5165\u9879\u76EE\u7B49\u5F85\u5BA1\u6279"]),n.ZP.success("\u60A8\u7684\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u9879\u76EE\u7BA1\u7406\u5458\u5BA1\u6279\uFF01"));return}}),rt=()=>ee(void 0,null,function*(){ve()});return t.createElement(t.Fragment,null,t.createElement(c.default,{centered:!0,keyboard:!1,closable:!1,title:"\u52A0\u5165\u9879\u76EE",open:oe,confirmLoading:lt,onOk:ft,onCancel:rt},t.createElement("div",{className:"tc"},t.createElement("div",null,t.createElement("span",null,"\u9879\u76EE\u9080\u8BF7\u7801\uFF1A"),t.createElement(M.default,{placeholder:"\u8BF7\u8F93\u51656\u4F4D\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801",style:{width:270},value:xe,onChange:at=>{if(at.target.value.length>=7){n.ZP.info("\u8BF7\u8F93\u51656\u4F4D\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}pe(at.target.value)}})),t.createElement("div",{className:"mt10 font14"},t.createElement("span",null,"\u8EAB\u4EFD\uFF1A"),t.createElement(p.ZP.Group,{value:Ne,onChange:at=>ct(at.target.value)},t.createElement(p.ZP,{value:"manager"},"\u7BA1\u7406\u4EBA\u5458"),t.createElement(p.ZP,{value:"developer"},"\u5F00\u53D1\u4EBA\u5458"),t.createElement(p.ZP,{value:"reporter"},"\u62A5\u544A\u4EBA\u5458"))))))},Be=e(63454),Ae={flex_box_center:"flex_box_center___cltIf",flex_space_between:"flex_space_between___fKr_O",flex_box_vertical_center:"flex_box_vertical_center____QfiA",flex_box_center_end:"flex_box_center_end___ysqmH",flex_box_column:"flex_box_column___CfE8K",rightMenu:"rightMenu___ADTOX",joinMenu:"joinMenu___aRGsf",joinBoard:"joinBoard___AeUvr",joinCol:"joinCol___fV4uL"},Q=e(46474),C=e(78241),r=e(57809),I=e(2742),b=(oe,ve,xe)=>new Promise((pe,Ne)=>{var ct=ft=>{try{dt(xe.next(ft))}catch(rt){Ne(rt)}},lt=ft=>{try{dt(xe.throw(ft))}catch(rt){Ne(rt)}},dt=ft=>ft.done?pe(ft.value):Promise.resolve(ft.value).then(ct,lt);dt((xe=xe.apply(oe,ve)).next())});const ae=({globalSetting:oe,dispatch:ve,user:xe,open:pe,onCancel:Ne=()=>{}})=>{const[ct,lt]=(0,t.useState)([]),[dt,ft]=(0,t.useState)([]),[rt,at]=(0,t.useState)([]),[ue]=C.default.useForm(),[we,Te]=(0,t.useState)(!1),[Ue,ze]=(0,t.useState)(!1),tt=(0,t.useRef)(null),Ge=(0,t.useRef)(1),[gt,yt]=(0,t.useState)({keyword:"",source:"",status:"",page:1,limit:20});(0,t.useEffect)(()=>{pe&&bt()},[pe]);const bt=()=>b(void 0,null,function*(){var Et;const Xe=yield Qt(gt);if(!(0,Q.o1)(ve))return;const{user_school_id:Pt="",department_id:Jt="",school_name:Ut="",department_name:Vt=""}=xe.userInfo||{},Ot=(Et=Xe==null?void 0:Xe.graduation_years)==null?void 0:Et.at(-1);ft([{id:Pt,name:Ut}]),yield ln(Pt),ue.setFieldsValue({year:Ot,school_id:Pt,department_id:Number(Jt),name:`${Ot}${Ut}${Vt}\u6BD5\u4E1A\u8BBE\u8BA1`})}),Qt=Et=>b(void 0,null,function*(){const Xe=yield(0,I.J3)(Et);return Xe.status===0&<((Xe==null?void 0:Xe.graduation_years)||[]),Xe}),$t=(Et,Xe=500)=>{ze(!0),clearTimeout(tt.current),tt.current=setTimeout(()=>b(void 0,null,function*(){Ge.current+=1;const Pt=Ge.current,Jt=yield(0,I.NT)({keyword:Et});Jt.status===0&&Ge.current===Pt&&(ft((Jt==null?void 0:Jt.schools)||[]),ze(!1))}),Xe)},ln=Et=>b(void 0,null,function*(){if(!Et)return;const Xe=yield(0,I.Ps)({page:1,limit:9999,id:Et});Xe.status===0&&at((Xe==null?void 0:Xe.departments)||[])});return t.createElement(c.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:pe,title:"\u5F00\u542F\u65B0\u4E00\u5C4A\u6BD5\u4E1A\u8BBE\u8BA1",width:578,confirmLoading:we,onCancel:Ne,onOk:()=>ue.submit()},t.createElement(C.default,{colon:!1,form:ue,initialValues:{},labelCol:{span:7},size:"large",wrapperCol:{span:17},onValuesChange:(Et,Xe)=>{Et.school_id&&(ln(Xe.school_id),ue.setFieldValue("department_id",null))},onFinish:Et=>b(void 0,null,function*(){Te(!0);const Xe=yield(0,I.Wz)(Et);Xe.status===0&&(n.ZP.success("\u521B\u5EFA\u6210\u529F"),ue.resetFields(),Ne(),(0,Z.xg)(`/graduations/${Xe==null?void 0:Xe.identifier}/index`)),Te(!1)})},t.createElement(C.default.Item,{name:"year",label:"\u9009\u62E9\u5C4A\u522B",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5C4A\u522B"}]},t.createElement(r.default,{style:{width:344},size:"large",options:ct.map(Et=>({value:Et,label:Et}))})),t.createElement(C.default.Item,{name:"school_id",label:"\u5B66\u6821",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u6821"}]},t.createElement(r.default,{showSearch:!0,filterOption:!1,onSearch:Et=>{$t(Et)},loading:Ue,size:"large",style:{width:344},options:dt.map(Et=>({value:Et.id,label:Et.name}))})),t.createElement(C.default.Item,{name:"department_id",label:"\u5B66\u9662",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u9662"}]},t.createElement(r.default,{showSearch:!0,optionFilterProp:"label",style:{width:344},size:"large",options:rt.map(Et=>({value:Et.id,label:Et.name}))})),t.createElement(C.default.Item,{name:"name",label:"\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0"}]},t.createElement(M.default,{showCount:!0,style:{width:344},maxLength:60}))))};var H=(0,i.connect)(({user:oe,globalSetting:ve,loading:xe})=>({user:oe,globalSetting:ve,loading:xe}))(ae),X=e(99064),A=Object.defineProperty,V=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,W=(oe,ve,xe)=>ve in oe?A(oe,ve,{enumerable:!0,configurable:!0,writable:!0,value:xe}):oe[ve]=xe,$=(oe,ve)=>{for(var xe in ve||(ve={}))D.call(ve,xe)&&W(oe,xe,ve[xe]);if(V)for(var xe of V(ve))be.call(ve,xe)&&W(oe,xe,ve[xe]);return oe},z=(oe,ve,xe)=>new Promise((pe,Ne)=>{var ct=ft=>{try{dt(xe.next(ft))}catch(rt){Ne(rt)}},lt=ft=>{try{dt(xe.throw(ft))}catch(rt){Ne(rt)}},dt=ft=>ft.done?pe(ft.value):Promise.resolve(ft.value).then(ct,lt);dt((xe=xe.apply(oe,ve)).next())});const k=({globalSetting:oe,dispatch:ve,user:xe,open:pe,onCancel:Ne=()=>{}})=>{const[ct]=C.default.useForm(),[lt,dt]=(0,t.useState)(!1),[ft,rt]=(0,t.useState)(null);return(0,t.useEffect)(()=>{var at;if(pe){const ue={code:"",user_type:((at=xe==null?void 0:xe.userInfo)==null?void 0:at.identity)==="student"?2:1,major:""};ct.setFieldsValue(ue),rt($({},ue))}},[pe]),t.createElement(c.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:pe,title:"\u52A0\u5165\u6BD5\u8BBE",width:527,confirmLoading:lt,onCancel:Ne,onOk:()=>ct.submit()},t.createElement(C.default,{colon:!1,form:ct,initialValues:{user_type:1},labelCol:{span:5},wrapperCol:{span:19},size:"large",onValuesChange:(at,ue)=>rt($({},ue)),onFinish:at=>z(void 0,null,function*(){dt(!0);const ue=yield(0,X.ZP)("/api/graduations/join.json",{method:"post",body:at});ue.status===0&&(Ne(),ue!=null&&ue.identifier?(0,Z.xg)(`/graduations/${ue==null?void 0:ue.identifier}/index`):n.ZP.success(ue==null?void 0:ue.message)),dt(!1)})},t.createElement(C.default.Item,{name:"code",label:"\u6BD5\u8BBE\u9080\u8BF7\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801"}]},t.createElement(M.default,{placeholder:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801",size:"large"})),t.createElement(C.default.Item,{name:"user_type",label:"\u8EAB\u4EFD",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801"}]},t.createElement(p.ZP.Group,null,t.createElement(p.ZP,{value:1,style:{color:"#000"}},"\u7BA1\u7406\u5458\uFF08\u6559\u5E08\uFF09"),t.createElement(p.ZP,{className:"ml30",style:{color:"#000"},value:2},"\u5B66\u751F"))),(ft==null?void 0:ft.user_type)===2&&t.createElement(C.default.Item,{style:{marginBottom:0},name:"major",label:"\u4E13\u4E1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"}]},t.createElement(M.default,{showCount:!0,maxLength:60}))))};var Ee=(0,i.connect)(({user:oe,globalSetting:ve})=>({user:oe,globalSetting:ve}))(k),l=e(59301),y=Object.defineProperty,T=Object.defineProperties,R=Object.getOwnPropertyDescriptors,F=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,Qe=(oe,ve,xe)=>ve in oe?y(oe,ve,{enumerable:!0,configurable:!0,writable:!0,value:xe}):oe[ve]=xe,Re=(oe,ve)=>{for(var xe in ve||(ve={}))U.call(ve,xe)&&Qe(oe,xe,ve[xe]);if(F)for(var xe of F(ve))ce.call(ve,xe)&&Qe(oe,xe,ve[xe]);return oe},Ve=(oe,ve)=>T(oe,R(ve)),vt=(oe,ve)=>{var xe={};for(var pe in oe)U.call(oe,pe)&&ve.indexOf(pe)<0&&(xe[pe]=oe[pe]);if(oe!=null&&F)for(var pe of F(oe))ve.indexOf(pe)<0&&ce.call(oe,pe)&&(xe[pe]=oe[pe]);return xe},xt=(oe=>(oe.Projects="projects",oe.Shixuns="shixuns",oe.Classrooms="classrooms",oe))(xt||{}),mt=(oe=>(oe.Classrooms="classrooms",oe.Shixuns="shixuns",oe.Paths="paths",oe.Projects="projects",oe.Videos="videos",oe.Topics="topics",oe))(mt||{});const Oe=oe=>{var ve=oe,{homePage:xe,user:pe,globalSetting:Ne,loading:ct,dispatch:lt}=ve,dt=vt(ve,["homePage","user","globalSetting","loading","dispatch"]),ft,rt,at,ue,we,Te,Ue,ze;const[tt,Ge]=(0,t.useState)(),[gt,yt]=(0,t.useState)(),[bt,Qt]=(0,t.useState)(!1),[$t,ln]=(0,t.useState)(!1),Et=Ot=>{var sn;if((0,Q.tJ)(lt,!1,Ot==="classrooms","",!0)){if(Ot==="projects"&&!((sn=pe.userInfo)!=null&&sn.email)){n.ZP.info("\u8BF7\u5148\u7ED1\u5B9A\u90AE\u7BB1\uFF0C\u8C22\u8C22");return}Ot==="classrooms"?Ge(!0):Ot==="projects"&&yt(!0)}},Xe=(Ot,sn)=>{var Xt;if((0,Q.tJ)(lt)){if(sn==="projects"&&!((Xt=pe.userInfo)!=null&&Xt.email)){n.ZP.info("\u8BF7\u5148\u7ED1\u5B9A\u90AE\u7BB1\uFF0C\u8C22\u8C22");return}sn==="shixuns"&&!(0,Q.xY)()||Ot&&(window.location.href=Ot)}},Pt=(rt=(((ft=Ne.setting)==null?void 0:ft.navbar)||[]).find(Ot=>Ot.link==="/classrooms"))==null?void 0:rt.hidden;let Jt=(ue=(((at=Ne.setting)==null?void 0:at.navbar)||[]).find(Ot=>Ot.link==="/shixuns"))==null?void 0:ue.hidden;const Ut=(Te=(((we=Ne.setting)==null?void 0:we.navbar)||[]).find(Ot=>Ot.link==="/paths"))==null?void 0:Te.hidden;(Ue=Ne==null?void 0:Ne.setting)!=null&&Ue.is_local&&((ze=pe==null?void 0:pe.userInfo)!=null&&ze.is_shixun_marker||(Jt=!0));const Vt=Ot=>{var sn,Xt,An,Mn,nt,Ft,zt,en,Cn,yn,wn,cn,Rn,Zn,Cr,rn,jt,Bn,Xn;return l.createElement(l.Fragment,null,l.createElement(Y.Z,{justify:"space-around",className:"pt5 pb5"},l.createElement(ne.Z,{className:Ae.joinCol},((sn=pe.userInfo)==null?void 0:sn.user_identity)!=="\u5B66\u751F"&&!Pt&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>Xe("/classrooms/new")},(Xt=pe.userInfo)!=null&&Xt.main_site?"\u65B0\u5EFA\u6559\u5B66\u8BFE\u5802":"\u65B0\u5EFA\u8BFE\u5802")),!Jt&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>Xe("/shixuns/new","shixuns")},"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE")),(((An=pe.userInfo)==null?void 0:An.main_site)||!((Mn=pe.userInfo)!=null&&Mn.main_site)&&!Ut&&(((nt=pe.userInfo)==null?void 0:nt.admin)||((Ft=pe.userInfo)==null?void 0:Ft.is_teacher)||((zt=pe.userInfo)==null?void 0:zt.business)))&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>Xe("/paths/new")},"\u65B0\u5EFA\u5B9E\u8DF5\u8BFE\u7A0B")),!((en=Ne==null?void 0:Ne.setting)!=null&&en.is_local)&&((Cn=pe.userInfo)==null?void 0:Cn.main_site)&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>{var hr;return Xe(`${(hr=Ne==null?void 0:Ne.setting)==null?void 0:hr.old_url}/projects/deposit/new`,"projects")}},"\u65B0\u5EFA\u5F00\u53D1\u9879\u76EE")),window.location.host!=="narl.educoder.net"&&((yn=pe==null?void 0:pe.userInfo)==null?void 0:yn.identity)!=="student"&&l.createElement(m.default.Item,Ve(Re({},Ot),{onClick:()=>{(0,Q.o1)(lt)&&Qt(!0)}}),l.createElement("a",null,"\u65B0\u5EFA\u6BD5\u4E1A\u8BBE\u8BA1")),!((wn=pe.userInfo)!=null&&wn.main_site)&&l.createElement("div",null,!Pt&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>Et("classrooms")},(cn=pe.userInfo)!=null&&cn.main_site?"\u52A0\u5165\u6559\u5B66\u8BFE\u5802":"\u52A0\u5165\u8BFE\u5802")),((Rn=pe.userInfo)==null?void 0:Rn.main_site)&&!((Zn=Ne==null?void 0:Ne.setting)!=null&&Zn.is_local)&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>Et("projects")},"\u52A0\u5165\u5F00\u53D1\u9879\u76EE")))),((Cr=pe.userInfo)==null?void 0:Cr.main_site)&&l.createElement(ne.Z,null,l.createElement("div",{className:Ae.joinBoard})),((rn=pe.userInfo)==null?void 0:rn.main_site)&&l.createElement(ne.Z,{className:Ae.joinCol},!Pt&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>Et("classrooms")},(jt=pe.userInfo)!=null&&jt.main_site?"\u52A0\u5165\u6559\u5B66\u8BFE\u5802":"\u52A0\u5165\u8BFE\u5802")),((Bn=pe.userInfo)==null?void 0:Bn.main_site)&&!((Xn=Ne==null?void 0:Ne.setting)!=null&&Xn.is_local)&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>Et("projects")},"\u52A0\u5165\u5F00\u53D1\u9879\u76EE")),l.createElement(m.default.Item,Ve(Re({},Ot),{onClick:()=>{(0,Q.o1)(lt)&&ln(!0)}}),l.createElement("a",null,"\u52A0\u5165\u6BD5\u4E1A\u8BBE\u8BA1")))))};return l.createElement("section",null,l.createElement(de.Z,{dropdownRender:()=>l.createElement(m.default,{className:`${Ae.rightMenu} ${Ae.joinMenu} mt10`},l.createElement(Vt,null)),placement:"bottomRight"},l.createElement("span",{style:{lineHeight:"inherit"},className:"iconfont icon-tianjiafangda c-white font18 current ml15 mr15"})),l.createElement(Be.Z,{visible:tt,onCancel:()=>Ge(!1)}),l.createElement(ye,{visible:gt,onCancel:()=>yt(!1)}),l.createElement(H,{open:bt,onCancel:()=>Qt(!1)}),l.createElement(Ee,{open:$t,onCancel:()=>ln(!1)}))};var _e=(0,i.connect)(({homePage:oe,loading:ve,user:xe,globalSetting:pe})=>({homePage:oe,user:xe,globalSetting:pe,loading:ve.models.index}))(Oe),v={flex_box_center:"flex_box_center___YbxYn",flex_space_between:"flex_space_between___Atwkg",flex_box_vertical_center:"flex_box_vertical_center____I6AC",flex_box_center_end:"flex_box_center_end___LrYPg",flex_box_column:"flex_box_column___j7QNF",userPic:"userPic___a46Uz",rightMenu:"rightMenu___y_nqk",menuWrap:"menuWrap___iwlZB",exit:"exit___MOREW",classromediv:"classromediv___crYsO",glow:"glow___jMGk7",height67:"height67___asp2E",login:"login___WGEW9",icon:"icon___HABAt"},S=e(24065),g=e(24780),o=e(3294),L=e(59301),le=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,_=(oe,ve)=>{var xe={};for(var pe in oe)f.call(oe,pe)&&ve.indexOf(pe)<0&&(xe[pe]=oe[pe]);if(oe!=null&&le)for(var pe of le(oe))ve.indexOf(pe)<0&&s.call(oe,pe)&&(xe[pe]=oe[pe]);return xe},N=(oe,ve,xe)=>new Promise((pe,Ne)=>{var ct=ft=>{try{dt(xe.next(ft))}catch(rt){Ne(rt)}},lt=ft=>{try{dt(xe.throw(ft))}catch(rt){Ne(rt)}},dt=ft=>ft.done?pe(ft.value):Promise.resolve(ft.value).then(ct,lt);dt((xe=xe.apply(oe,ve)).next())});const B=oe=>{var ve,xe=RegExp("(^| )"+oe+"=([^;]+)(;|$)");return(ve=document.cookie.match(xe))?decodeURIComponent(ve[2]):null},J=oe=>{var ve=new Date;ve.setTime(ve.getTime()-1);var xe=B(oe);xe!=null&&(document.cookie=oe+"="+xe+";expires="+ve.toGMTString())};var De=(oe=>(oe.Classrooms="classrooms",oe.Shixuns="shixuns",oe.Paths="paths",oe.Projects="projects",oe.Videos="videos",oe.Topics="topics",oe))(De||{});const ie=oe=>{var ve=oe,{homePage:xe,user:pe,globalSetting:Ne,loading:ct,dispatch:lt,shixunHomeworks:dt,location:ft,payload:rt={}}=ve,at=_(ve,["homePage","user","globalSetting","loading","dispatch","shixunHomeworks","location","payload"]),ue,we,Te,Ue,ze,tt,Ge,gt,yt,bt;const Qt=(we=(((ue=Ne.setting)==null?void 0:ue.navbar)||[]).find(Pt=>Pt.link==="/classrooms"))==null?void 0:we.hidden,$t=(Ue=(((Te=Ne.setting)==null?void 0:Te.navbar)||[]).find(Pt=>Pt.link==="/shixuns"))==null?void 0:Ue.hidden,ln=(tt=(((ze=Ne.setting)==null?void 0:ze.navbar)||[]).find(Pt=>Pt.link==="/paths"))==null?void 0:tt.hidden,Et=(Ge=pe.userInfo)==null?void 0:Ge.is_school_manage,Xe=()=>{var Pt,Jt,Ut,Vt,Ot,sn,Xt,An;return(0,Z.Ll)()?L.createElement(m.default,{className:`${v.rightMenu} ${v.menuWrap}`},L.createElement(m.default.Item,null,L.createElement(i.Link,{to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406"))):L.createElement(m.default,{className:`${v.rightMenu} ${v.menuWrap}`},L.createElement(m.default.Item,null,L.createElement(i.Link,{to:`/users/${(Pt=pe.userInfo)==null?void 0:Pt.login}/classrooms`},"\u6211\u7684\u4E2A\u4EBA\u4E3B\u9875")),!Qt&&L.createElement(m.default.Item,null,L.createElement(i.Link,{to:`/users/${(Jt=pe.userInfo)==null?void 0:Jt.login}/classrooms`},(Ut=pe.userInfo)!=null&&Ut.main_site?"\u6211\u7684\u6559\u5B66\u8BFE\u5802":"\u6211\u7684\u8BFE\u5802")),!$t&&L.createElement(m.default.Item,null,L.createElement(i.Link,{to:`/users/${(Vt=pe.userInfo)==null?void 0:Vt.login}/shixuns`},"\u6211\u7684\u5B9E\u8DF5\u9879\u76EE")),!ln&&L.createElement(m.default.Item,null,L.createElement(i.Link,{to:`/users/${(Ot=pe.userInfo)==null?void 0:Ot.login}/paths`},(sn=pe.userInfo)!=null&&sn.main_site?"\u6211\u7684\u5B9E\u8DF5\u8BFE\u7A0B":"\u6211\u7684\u8BFE\u7A0B")),L.createElement(m.default.Item,null,L.createElement(i.Link,{to:`/users/${(Xt=pe.userInfo)==null?void 0:Xt.login}/teach-group`},"\u6211\u7684\u6559\u7814\u56E2\u961F")),L.createElement(m.default.Item,null,L.createElement(i.Link,{to:`/users/${(An=pe.userInfo)==null?void 0:An.login}/competitions`},"\u6211\u7684\u7ADE\u8D5B\u7BA1\u7406")),L.createElement(m.default.Item,null,L.createElement(i.Link,{to:"/order"},"\u6211\u8D2D\u4E70\u7684\u8BFE\u7A0B")),(0,S.Ny)()&&L.createElement(m.default.Item,null,L.createElement(i.Link,{to:"/quality"},"\u7CBE\u54C1\u8BFE\u7A0B")),!(0,S.JA)()&&L.createElement(m.default.Item,null,L.createElement("a",{onClick:()=>{(0,Q.tJ)(lt)&&i.history.push("/problemset")}},"\u8BD5\u9898\u5E93")),!(0,S.JA)()&&L.createElement(m.default.Item,null,L.createElement("a",{onClick:()=>{(0,Q.tJ)(lt)&&i.history.push("/paperlibrary")}},"\u8BD5\u5377\u5E93")),L.createElement(m.default.Item,null,L.createElement(i.Link,{onClick:()=>{localStorage.getItem("Noviceguide")==="0"||lt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:2,href:"/classrooms",text:L.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}})},to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406")),Et&&L.createElement(m.default.Item,null,L.createElement(i.Link,{to:"/administration/college"},"\u9AD8\u6821\u7BA1\u7406")),L.createElement(m.default.Item,{className:v.exit},L.createElement("a",{onClick:()=>N(void 0,null,function*(){try{const Mn=yield(0,g.vR)({});n.ZP.success(Mn==null?void 0:Mn.message)}catch(Mn){}(0,Z.d8)("_educoder_session","logout",1),(0,Z.m5)(),localStorage.removeItem("isfirst"),localStorage.removeItem("SystemUpdateadvtime"),localStorage.removeItem("item"),localStorage.removeItem("iscreate"),setTimeout(()=>{window.location.href="/"},800)})},"\u9000\u51FA")))};return(0,S.bg)()?L.createElement(de.Z,{className:`${v.height67}`,dropdownRender:Xe,placement:"bottomRight"},L.createElement("section",null,L.createElement("aside",null,L.createElement("div",{className:dt.actionTabs.type===1?v.classromediv:""},L.createElement("img",{className:`${v.userPic} current ml15`,src:`${(gt=o.Z)==null?void 0:gt.IMG_SERVER}/images/${(yt=pe.userInfo)==null?void 0:yt.image_url}`,alt:"",onClick:()=>{var Pt;return i.history.push((0,Z.Ll)()?"/account/profile":`/users/${(Pt=pe.userInfo)==null?void 0:Pt.login}/classrooms`)}}),(0,Z.Ll)()&&L.createElement("span",{className:"ml10 font16"},(bt=pe.userInfo)==null?void 0:bt.username),L.createElement("i",{className:`iconfont icon-zhankai4 ${v.icon}`}))))):L.createElement("div",{className:`font15 ${Ne.isIlearning?v.login:""}`},L.createElement("span",{className:"ml10 mr5 current c-white",onClick:()=>{lt({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})}},"\u767B\u5F55 / \u6CE8\u518C"))};var Le=(0,i.connect)(({homePage:oe,loading:ve,user:xe,globalSetting:pe,shixunHomeworks:Ne})=>({homePage:oe,user:xe,globalSetting:pe,shixunHomeworks:Ne,loading:ve.models.index}))(ie),Pe={tip:"tip___a6MfI"},Fe=e(61186),Me=e.n(Fe),ut=e(59301),ht=(oe,ve,xe)=>new Promise((pe,Ne)=>{var ct=ft=>{try{dt(xe.next(ft))}catch(rt){Ne(rt)}},lt=ft=>{try{dt(xe.throw(ft))}catch(rt){Ne(rt)}},dt=ft=>ft.done?pe(ft.value):Promise.resolve(ft.value).then(ct,lt);dt((xe=xe.apply(oe,ve)).next())}),Je=(oe=>(oe[oe.Professor=1]="Professor",oe[oe.AssistantProfessor=2]="AssistantProfessor",oe[oe.Student=3]="Student",oe))(Je||{});const wt=({visible:oe,user:ve,onCancel:xe=()=>{},dispatch:pe})=>{var Ne,ct,lt;const[dt,ft]=(0,t.useState)(),[rt,at]=(0,t.useState)([]),[ue,we]=(0,t.useState)(!1),[Te,Ue]=(0,t.useState)(!1),[ze,tt]=(0,t.useState)(),[Ge,gt]=(0,t.useState)(!1),yt=(Ne=window.location.pathname)==null?void 0:Ne.includes("classrooms/");(0,t.useEffect)(()=>{var Xe,Pt;(Xe=ve==null?void 0:ve.userInfo)!=null&&Xe.identity&&at([((Pt=ve==null?void 0:ve.userInfo)==null?void 0:Pt.identity)==="student"?3:1])},[ve]),(0,t.useEffect)(()=>{var Xe,Pt,Jt;if(console.log(ve==null?void 0:ve.userInfo),(Xe=ve==null?void 0:ve.userInfo)!=null&&Xe.user_status)if(((Pt=ve==null?void 0:ve.userInfo)==null?void 0:Pt.role)===15){gt(!1);return}else{let Ut=JSON.parse(yt?localStorage==null?void 0:localStorage.getItem("delaytip_class"):localStorage==null?void 0:localStorage.getItem("delaytip_user"));Ut&&(Ut==null?void 0:Ut.login)===((Jt=ve==null?void 0:ve.userInfo)==null?void 0:Jt.login)?(console.log(Me()(Ut==null?void 0:Ut.time).add(1,"days")),console.log(Me()(new Date)),Me()(Ut==null?void 0:Ut.time).add(1,"days").set({hour:0,minute:0,second:0}){if(rt.includes(1)){c.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:ut.createElement("div",{className:"tc"},Pt||"\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838"),onOk:()=>{window.location.href=`/classrooms/${Xe}/students`}});return}window.location.href=`/classrooms/${Xe}/students`},Qt=()=>ht(void 0,null,function*(){if(!dt){n.ZP.info("\u9080\u8BF7\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}we(!0);const Xe=yield(0,P.cR)({invite_code:dt,professor:rt.includes(1)?1:null,assistant_professor:rt.includes(2)?1:null,student:rt.includes(3)?1:null});if(we(!1),(Xe==null?void 0:Xe.status)===-1&&pe({type:"classroomList/setActionTabs",payload:{key:"\u5230\u671F\u63D0\u793A"}}),(Xe==null?void 0:Xe.status)===-2){if($t(),Xe.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u8BA4\u8BC1"){Ue(!0),tt(1);return}if(Xe.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u804C\u4E1A\u8BA4\u8BC1"){Ue(!0),tt(2);return}if(Xe.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u548C\u804C\u4E1A\u8BA4\u8BC1"){Ue(!0),tt(3);return}}if((Xe==null?void 0:Xe.status)===0){(0,Z.L9)(["\u6559\u5B66\u8BFE\u5802","\u9996\u9875","\u52A0\u5165\u8BFE\u5802"]),$t(),Xe!=null&&Xe.course_id?bt(Xe.course_id,Xe.message):n.ZP.success(Xe.message);return}}),$t=()=>ht(void 0,null,function*(){xe()}),ln=()=>{var Xe,Pt;yt?localStorage.setItem("delaytip_class",JSON.stringify({time:new Date,login:(Xe=ve==null?void 0:ve.userInfo)==null?void 0:Xe.login})):localStorage.setItem("delaytip_user",JSON.stringify({time:new Date,login:(Pt=ve==null?void 0:ve.userInfo)==null?void 0:Pt.login})),gt(!1)},Et=()=>ht(void 0,null,function*(){let Xe=yield(0,X.ZP)("/api/business_contacts.json",{method:"post"});(Xe==null?void 0:Xe.status)===0&&n.ZP.info("\u7533\u8BF7\u6210\u529F")});return ut.createElement(ut.Fragment,null,Ge&&ut.createElement("div",{style:{background:"rgba(255,24,24,0.1)",color:"#E30000",display:"none"}},ut.createElement("div",{className:Pe.tip},ut.createElement("div",null,ut.createElement("i",{className:"iconfont icon-tishi9 font14 mr10",style:{color:"#E30000"}}),yt?ut.createElement(ut.Fragment,null,"\u5C0A\u656C\u7684\u8001\u5E08\u60A8\u597D\uFF0C\u8D35\u5355\u4F4D\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u60A8\u7684\u6559\u5B66\u8BFE\u5802\u7684",((lt=ve==null?void 0:ve.userInfo)==null?void 0:lt.user_status)==2?"\u90E8\u5206\u529F\u80FD\u5DF2\u88AB\u9650\u5236":"\u529F\u80FD\u5C06\u53D7\u5230\u9650\u5236",'\uFF0C\u4E3A\u786E\u4FDD\u6821\u5185\u6559\u5B66\u4E0D\u53D7\u5F71\u54CD\uFF0C\u8BF7\u5148\u70B9\u51FB\u53F3\u4FA7\u7684"\u7533\u8BF7\u5EF6\u671F"\u6309\u94AE\uFF0C\u5E73\u53F0\u5C06\u63A8\u52A8\u89E3\u51B3\u76F8\u5173\u4E8B\u5B9C\u3002'):ut.createElement(ut.Fragment,null,'\u5C0A\u656C\u7684\u8001\u5E08\u60A8\u597D\uFF0C\u8D35\u5355\u4F4D\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u5C06\u53D7\u5230\u9650\u5236\uFF0C\u4E3A\u786E\u4FDD\u6821\u5185\u6559\u5B66\u4E0D\u53D7\u5F71\u54CD\uFF0C\u8BF7\u5148\u70B9\u51FB\u53F3\u4FA7\u7684"\u7533\u8BF7\u5EF6\u671F"\u6309\u94AE\uFF0C\u5E73\u53F0\u5C06\u63A8\u52A8\u89E3\u51B3\u76F8\u5173\u4E8B\u5B9C\u3002')),ut.createElement("div",null,ut.createElement("span",{className:"mr15",style:{color:"#666666",cursor:"pointer"},onClick:ln},"\u5FFD\u7565"),ut.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:Et},"\u7533\u8BF7\u5EF6\u671F")))))};var Nt=(0,i.connect)(({user:oe})=>({user:oe}))(wt),Kt=e(3113),Rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAACpCAYAAAD6OhnWAAAAAXNSR0IArs4c6QAAIABJREFUeF7sfQWcHEX2/7daxtc17oYFSYIeBPsBgRwECe6BcHDIccghRxIk6MFB4A4NJHiCB7egwXJokLhnXcenu6v+n1fdPTu7O7vZjcHdn/4wzGa3p+dVfeu9932vXlUx/A9c/ecLnxZPDVQsDFOYNQiq0h+KVgYhBoLzfkKIfGomY6wRirIajK0AN6tg8VVcqMu5isWm37Ni1f4s8d/eHey/sQGDXxe5qmLuBW4dyFRtT3BrBwB5YArAOSB415pF9yuKe38TFHWRsMzPoKjvWVxbsGwca+7ag347d/3XADp0XnMxU/U/Kqp+rOD8D2AsBG4BQmzh3mSAqtJzI0xRPuaW8ZywjFeWjM+t3cJftFUe99sGdI5QRwTNA4SKyUyIwwQQkCBuy0tRwYCYYOwNZuGBn6Pa+5jItrEQXW/wbxLQsrdEMN8yToPCLmQCI4Rldq9FZErpIu21S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sD+TQB9whIjHiNhNoH153YJyD5C8mFrElozXvNXP1ILSBezZ7GUP28656wzuBJl3eg4aJ1CYQO2+ABUy2GNWzZQQqzy1IYiJ8TJTZa3aZ9AdAqIXs3bNjoe+a2nWFnFBorK+5cgrzy95TtAE5AIRx6D7M80zCXYW008MwpMFIuaI2GRjlNnH1ZufRcABIm4hNjsotR0ItJh0ArjET0LIJ2USOwfgs15S23v7GvD2vVXf7Z+bp8y68ZLVvE5mZzcg7qTz5ydQcZRMZfLQPSDyfCcdyVAO1rteKY1eOAL0bmIXsqmUTf4jAkWWbXGDX0QQLJ7vZRZl0Njo4yZis9C/y7f7lIWk/WIusJOc9Q6fd/1iC8pVnnXlMd35t+tpm5zc3Nb4lu41dmzG8my45vRHft5pAdb4eXn9cb7+hfxhaJ60AYVCIX9yOCSrlq8pG7cogoPm6vz772Yz3LrJmo97Kuet/weX7/RHY+BFcPwPAL3oJXTdfvZSiJV7t6yjnb+FjsTzfpr81XWfddddc59Vq9lHCo9XeWcuesz/KaAXvezzbl/7MFzqqZ4tay71Ej6mO/0Xg5uniQ1vwFgAAAAASUVORK5CYII=",gn=Object.getOwnPropertySymbols,Pn=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,Tn=(oe,ve)=>{var xe={};for(var pe in oe)Pn.call(oe,pe)&&ve.indexOf(pe)<0&&(xe[pe]=oe[pe]);if(oe!=null&&gn)for(var pe of gn(oe))ve.indexOf(pe)<0&&Sn.call(oe,pe)&&(xe[pe]=oe[pe]);return xe};const Yn=null,pn=oe=>{var ve=oe,{homePage:xe,user:pe,globalSetting:Ne,loading:ct,dispatch:lt,location:dt,text:ft,shixunHomeworks:rt,payload:at={}}=ve,ue=Tn(ve,["homePage","user","globalSetting","loading","dispatch","location","text","shixunHomeworks","payload"]);const[we,Te]=(0,t.useState)("none");return(0,t.useEffect)(()=>{rt.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"&&Te("flex")},[rt.actionTabs.key]),(0,t.useEffect)(()=>{rt.actionTabs.key==="\u9690\u85CF"&&(Te("none"),localStorage.setItem("Noviceguide","0"))},[rt.actionTabs.key]),t.createElement("div",{style:{display:we,background:"#fff",width:"100%",height:"200px",position:"fixed",bottom:"0px",boxShadow:"0px -4px 6px 0px rgba(204, 204, 204, 0.2)",zIndex:"999"}},t.createElement("div",{style:{margin:"0 auto",width:"1200px"}},t.createElement("img",{src:Rt,style:{position:"absolute",top:"-32px"}}),t.createElement("div",{style:{marginLeft:"151px",marginTop:"40px",fontSize:"18px",color:"#333333"}},rt.actionTabs.text),rt.actionTabs.type===9?t.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},t.createElement(Kt.ZP,{type:"primary",onClick:()=>{localStorage.setItem("Noviceguide","0"),Te("none"),lt({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"\u5446\u4F1A\u89C1\uFF0C\u6709\u4E8B\u547C\u6211")):t.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},t.createElement(Kt.ZP,{type:"primary",onClick:()=>{localStorage.setItem("Noviceguide","0"),lt({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),Te("none")},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"\u8DF3\u8FC7\uFF0C\u6211\u81EA\u5DF1\u6765"))))};var Tt=(0,i.connect)(({homePage:oe,loading:ve,user:xe,globalSetting:pe,shixunHomeworks:Ne})=>({homePage:oe,user:xe,globalSetting:pe,loading:ve.models.index,shixunHomeworks:Ne}))(pn),xn=Object.defineProperty,Gn=Object.getOwnPropertySymbols,Gt=Object.prototype.hasOwnProperty,zn=Object.prototype.propertyIsEnumerable,tr=(oe,ve,xe)=>ve in oe?xn(oe,ve,{enumerable:!0,configurable:!0,writable:!0,value:xe}):oe[ve]=xe,Jn=(oe,ve)=>{for(var xe in ve||(ve={}))Gt.call(ve,xe)&&tr(oe,xe,ve[xe]);if(Gn)for(var xe of Gn(ve))zn.call(ve,xe)&&tr(oe,xe,ve[xe]);return oe};const Wn=oe=>React.createElement("svg",Jn({width:46,height:18,xmlns:"http://www.w3.org/2000/svg"},oe),React.createElement("title",null,"logo2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M6.578 8.8c.162-.682.3-.737.982-.737.689 0 .793.055.632.737-.164.689-.298.76-.987.76-.682 0-.79-.071-.627-.76Zm-.222 1.198h1.488l-1.004 4.23H5.352l1.004-4.23ZM8.465 11.244h2.474l-.275 1.16H8.189zM15.12 12.889l-.317 1.34H11.23l1.291-5.437h1.56l-.974 4.097zM18.688 11.55c.076-.322.01-.541-.459-.541-.501 0-.748.117-.905.642l1.364-.102Zm1.041.955-2.636.156c-.002.369.3.517.84.517.571 0 1.259-.155 1.545-.305l-.26 1.097c-.301.18-1.012.337-1.85.337-1.332 0-2.039-.454-1.626-2.194.413-1.739 1.336-2.193 2.738-2.193 1.504 0 1.762.626 1.455 1.92-.082.344-.166.602-.206.665ZM22.806 12.936l.079-.33h-.595c-.47 0-.636.071-.695.322-.052.22.098.274.404.274.368 0 .655-.117.807-.266m1.857-1.583-.683 2.875h-1.347l-.025-.391c-.175.212-.596.47-1.34.47-.885 0-1.347-.4-1.131-1.308.23-.972.872-1.332 2.101-1.332h.87c.08-.43-.063-.494-.682-.494-.305 0-.6.024-.885.07l.295-1.245c.334-.054.792-.07 1.098-.07 1.48 0 1.963.438 1.729 1.425M28.691 9.92l-.346 1.324h-.118c-.493 0-1.055.188-1.257.776l-.525 2.208h-1.488l1.005-4.23h1.488l-.175.737c.41-.674.828-.815 1.329-.815h.087ZM33.084 11.369l-.68 2.86h-1.488l.6-2.523c.124-.525.012-.611-.458-.611-.376 0-.572.133-.685.345l-.663 2.788h-1.488l1.005-4.23h1.488l-.102.431c.28-.29.74-.51 1.43-.51.993 0 1.285.424 1.041 1.45M34.507 8.8c.162-.682.3-.737.982-.737.688 0 .793.055.631.737-.163.689-.297.76-.987.76-.681 0-.79-.071-.626-.76Zm-.222 1.198h1.488l-1.004 4.23H33.28l1.004-4.23Z",fill:"#196EFD"}),React.createElement("path",{d:"M34.507 8.8c.162-.682.3-.737.982-.737.688 0 .793.055.631.737-.163.689-.297.76-.987.76-.681 0-.79-.071-.626-.76Zm-.222 1.198h1.488l-1.004 4.23H33.28l1.004-4.23ZM40.522 11.369l-.68 2.86h-1.488l.6-2.523c.124-.525.011-.611-.458-.611-.376 0-.573.133-.685.345l-.663 2.788H35.66l1.004-4.23h1.489l-.102.431c.28-.29.74-.51 1.428-.51.996 0 1.286.424 1.043 1.45",fill:"#196EFD"}),React.createElement("path",{d:"M44.025 12.071c-.173.721-.317 1.132-1.023 1.132-.606 0-.577-.519-.433-1.132.137-.57.353-1.088.959-1.088.714 0 .663.41.497 1.088Zm.425-2.076-.086.368c-.094-.31-.382-.44-1.103-.44-1.34 0-1.917.995-2.199 2.148-.302 1.29-.165 2.156 1.175 2.156.714 0 1.089-.18 1.32-.483l-.022.108c-.187.786-.41 2.004-1.32 2.256-.662.188-1.463-.339-2.09-.548a13.981 13.981 0 0 0-2.408-.59c-1.917-.296-3.878-.174-5.73.41-3.287 1.042-6.775 1.315-10.205 1.352-3.509.037-6.943-.052-10.374-.907-1.071-.267-2.084-.825-3.167-1.001-1.74-.284-3.94.465-5.22-1.16-.584-.735-.915-1.6-.915-2.515 0-1.767 1.225-3.324 3.085-4.225l.591-.764c-.11.145-1.174.218-1.397.285a8.478 8.478 0 0 0-1.524.617c-.936.491-1.82 1.178-2.374 2.093-1.003 1.654-.346 3.809.968 5.109.914.903 2.122 1.454 3.368 1.72 1.298.277 2.684-.167 3.943.277 1.134.4 2.144.831 3.342 1.075a31.42 31.42 0 0 0 3.874.526c2.931.224 5.859.083 8.79-.055a29.884 29.884 0 0 0 7.56-1.331c1.817-.577 3.763-.642 5.63-.281 1.471.28 3.187 1.413 4.686.944 1.428-.44 2.033-1.932 2.35-3.265l.923-3.879h-1.47Z",fill:"#23DD7F"}),React.createElement("path",{d:"m20.387 4.16-.735.079c-1.283-1.687-3.518-2.797-6.048-2.797-3.18 0-5.876 1.752-6.834 4.18l-1.81.196C5.17 2.58 8.637 0 12.883 0c3.489 0 6.452 1.737 7.504 4.16",fill:"#196EFD"}),React.createElement("path",{d:"M28.086 6.488h-2.508c-1.003-1.074-3.086-1.802-5.486-1.802-2.408 0-4.491.735-5.494 1.81.736-1.363 3.043-2.567 5.876-2.92 3.446-.426 7.137 1.21 7.612 2.912",fill:"#196EFD"})));var br="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNi41NzggOC44Yy4xNjItLjY4Mi4zLS43MzcuOTgyLS43MzcuNjg5IDAgLjc5My4wNTUuNjMyLjczNy0uMTY0LjY4OS0uMjk4Ljc2LS45ODcuNzYtLjY4MiAwLS43OS0uMDcxLS42MjctLjc2Wm0tLjIyMiAxLjE5OGgxLjQ4OGwtMS4wMDQgNC4yM0g1LjM1MmwxLjAwNC00LjIzWk04LjQ2NSAxMS4yNDRoMi40NzRsLS4yNzUgMS4xNkg4LjE4OXpNMTUuMTIgMTIuODg5bC0uMzE3IDEuMzRIMTEuMjNsMS4yOTEtNS40MzdoMS41NmwtLjk3NCA0LjA5N3pNMTguNjg4IDExLjU1Yy4wNzYtLjMyMi4wMS0uNTQxLS40NTktLjU0MS0uNTAxIDAtLjc0OC4xMTctLjkwNS42NDJsMS4zNjQtLjEwMlptMS4wNDEuOTU1LTIuNjM2LjE1NmMtLjAwMi4zNjkuMy41MTcuODQuNTE3LjU3MSAwIDEuMjU5LS4xNTUgMS41NDUtLjMwNWwtLjI2IDEuMDk3Yy0uMzAxLjE4LTEuMDEyLjMzNy0xLjg1LjMzNy0xLjMzMiAwLTIuMDM5LS40NTQtMS42MjYt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0yMC4zODcgNC4xNi0uNzM1LjA3OWMtMS4yODMtMS42ODctMy41MTgtMi43OTctNi4wNDgtMi43OTctMy4xOCAwLTUuODc2IDEuNzUyLTYuODM0IDQuMThsLTEuODEuMTk2QzUuMTcgMi41OCA4LjYzNyAwIDEyLjg4MyAwYzMuNDg5IDAgNi40NTIgMS43MzcgNy41MDQgNC4xNiIgZmlsbD0iIzE5NkVGRCIvPjxwYXRoIGQ9Ik0yOC4wODYgNi40ODhoLTIuNTA4Yy0xLjAwMy0xLjA3NC0zLjA4Ni0xLjgwMi01LjQ4Ni0xLjgwMi0yLjQwOCAwLTQuNDkxLjczNS01LjQ5NCAxLjgxLjczNi0xLjM2MyAzLjA0My0yLjU2NyA1Ljg3Ni0yLjkyIDMuNDQ2LS40MjYgNy4xMzcgMS4yMSA3LjYxMiAyLjkxMiIgZmlsbD0iIzE5NkVGRCIvPjwvZz48L3N2Zz4=",Or=e(89392),Ln=e(59301),sr=Object.defineProperty,nn=Object.getOwnPropertySymbols,Nn=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,d=(oe,ve,xe)=>ve in oe?sr(oe,ve,{enumerable:!0,configurable:!0,writable:!0,value:xe}):oe[ve]=xe,w=(oe,ve)=>{for(var xe in ve||(ve={}))Nn.call(ve,xe)&&d(oe,xe,ve[xe]);if(nn)for(var xe of nn(ve))se.call(ve,xe)&&d(oe,xe,ve[xe]);return oe},x=(oe,ve)=>{var xe={};for(var pe in oe)Nn.call(oe,pe)&&ve.indexOf(pe)<0&&(xe[pe]=oe[pe]);if(oe!=null&&nn)for(var pe of nn(oe))ve.indexOf(pe)<0&&se.call(oe,pe)&&(xe[pe]=oe[pe]);return xe},O=(oe,ve,xe)=>new Promise((pe,Ne)=>{var ct=ft=>{try{dt(xe.next(ft))}catch(rt){Ne(rt)}},lt=ft=>{try{dt(xe.throw(ft))}catch(rt){Ne(rt)}},dt=ft=>ft.done?pe(ft.value):Promise.resolve(ft.value).then(ct,lt);dt((xe=xe.apply(oe,ve)).next())});const{Header:re}=h.default,{Search:Se}=M.default;function Ye(){var oe,ve;const pe=window.location.pathname.split("/"),Ne={};return pe[1]=="classrooms"&&pe.length>3&&!((oe=pe[4])!=null&&oe.includes("newgold"))&&!((ve=pe[5])!=null&&ve.includes("newgold"))&&pe[2]!=="coursesId"&&(Ne.course_id=pe[2]),pe[1]==="shixuns"&&pe.length>3&&(Ne.objective_type="shixun",Ne.objective_id=pe[2]),pe[1]==="paths"&&pe.length>3&&(Ne.objective_type="path",Ne.objective_id=pe[2]),w(w({},Ne),{school:1})}const We=["/","/classrooms","/account/profile","/account/profile/edit","/classrooms/new"],it=oe=>{var ve=oe,{homePage:xe,user:pe,globalSetting:Ne,loading:ct,dispatch:lt,isLogin:dt=!1,shixunHomeworks:ft}=ve,rt=x(ve,["homePage","user","globalSetting","loading","dispatch","isLogin","shixunHomeworks"]),at,ue,we,Te,Ue,ze,tt,Ge,gt;const yt=(0,i.useLocation)(),[bt,Qt]=(0,t.useState)(!1),[$t,ln]=(0,t.useState)(""),[Et,Xe]=(0,t.useState)(!1),Pt=Ye();(0,t.useEffect)(()=>{lt({type:"user/getNavigationInfo",payload:w({},Pt)})},[Ne.name]),(0,t.useEffect)(()=>{ft.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"&&(We!=null&&We.includes(yt==null?void 0:yt.pathname)||(yt==null?void 0:yt.pathname.indexOf("/classrooms"))===0||lt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u9690\u85CF"}}))},[yt.pathname]),(0,t.useEffect)(()=>{ft.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"||ft.actionTabs.key||localStorage.setItem("Noviceguide","0")},[ft.actionTabs.key]),(0,t.useEffect)(()=>{var nt;if(Ne!=null&&Ne.setting){let Ft=(0,Or.cloneDeep)((nt=Ne==null?void 0:Ne.setting)==null?void 0:nt.navbar);Ft=Ft==null?void 0:Ft.filter(en=>{var Cn;return!(en!=null&&en.hidden)&&!((0,S.JA)()&&((Cn=["/paperlibrary","/problemset"])!=null&&Cn.includes(en.link)))});for(const en of Ft)en.subitem&&(en.subitem=en.subitem.filter(Cn=>{var yn;return!(Cn!=null&&Cn.hidden)&&!((0,S.JA)()&&((yn=["/paperlibrary","/problemset"])!=null&&yn.includes(Cn.link)))}));let zt=!1;Ft==null||Ft.map(function(en,Cn){var yn,wn,cn;const Rn=yt.pathname;en.link===Rn&&(ln(en==null?void 0:en.link),(0,Z.Dk)(Rn==="/"?(yn=Ne==null?void 0:Ne.setting)==null?void 0:yn.name:Mn(en==null?void 0:en.name)),sn(An(Cn,{name:en==null?void 0:en.name,link:en==null?void 0:en.link},Ft)),zt=!0),(wn=en==null?void 0:en.subitem)!=null&&wn.length&&((cn=en==null?void 0:en.subitem)==null||cn.map(Zn=>{Zn.link===Rn&&(ln(Zn==null?void 0:Zn.link),Rn!=="/"&&(0,Z.Dk)(Mn(Zn==null?void 0:Zn.name)),sn(An(Cn,{name:Zn==null?void 0:Zn.name,link:Zn==null?void 0:Zn.link},Ft)),zt=!0)}))}),zt||sn(Ft)}},[Ne==null?void 0:Ne.setting,pe]);const Jt=(0,t.useMemo)(()=>{var nt,Ft;return(nt=Ne==null?void 0:Ne.setting)!=null&&nt.nav_logo_url?`${o.Z.IMG_SERVER}/${(Ft=Ne==null?void 0:Ne.setting)==null?void 0:Ft.nav_logo_url}`:`${o.Z.IMG_SERVER}/images/avatars/LaboratorySetting/1nav?t=${new Date().getTime()}`},[(at=Ne==null?void 0:Ne.setting)==null?void 0:at.nav_logo_url]);function Ut(nt){i.history.push("/search?value="+nt)}const Vt=()=>bt?Ln.createElement("div",{onBlur:()=>{setTimeout(()=>{Qt(!1)},300)}},Ln.createElement(Se,{placeholder:"\u5B9E\u8DF5\u8BFE\u7A0B/\u6559\u5B66\u8BFE\u5802/\u5B9E\u8DF5\u9879\u76EE/\u4EA4\u6D41\u95EE\u7B54",className:"search-input mr20",onSearch:Ut,autoFocus:!0})):Ln.createElement("span",{className:"iconfont icon-sousuo font18 current ml15 mr15",onClick:()=>{i.history.push("/search?value=")}}),[Ot,sn]=(0,t.useState)([]),Xt=(nt,Ft)=>O(void 0,null,function*(){var zt,en,Cn,yn,wn,cn;if((nt==null?void 0:nt.name)==="\u5DE5\u7A0B\u8BA4\u8BC1"){const Rn=yield(0,g.IU)();(zt=Rn==null?void 0:Rn.data)!=null&&zt.engineer_url?(Cn=(en=Rn==null?void 0:Rn.data)==null?void 0:en.engineer_url)!=null&&Cn.includes("http")?(0,Z.xg)((yn=Rn==null?void 0:Rn.data)==null?void 0:yn.engineer_url):i.history.push((wn=Rn==null?void 0:Rn.data)==null?void 0:wn.engineer_url):(Rn==null?void 0:Rn.status)!=401&&Xe(!0);return}(cn=nt==null?void 0:nt.link)!=null&&cn.includes("http")?(0,Z.xg)(nt==null?void 0:nt.link):((0,Z.Dk)(nt==null?void 0:nt.name),i.history.push(nt==null?void 0:nt.link)),(nt==null?void 0:nt.name)==="\u6559\u5B66\u8BFE\u5802"&&localStorage.getItem("Noviceguide")!=="0"&<({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:5,text:Ln.createElement("div",null,"\u975E\u5E38\u68D2\uFF0C\u54B1\u4EEC\u5DF2\u7ECF\u5230\u8FBE\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u5E73\u53F0\u4E0A\u5DF2\u7ECF\u6709\u51E0\u5343\u4F4D\u8001\u5E08\u521B\u5EFA\u4E86\u81EA\u5DF1\u7684\u6559\u5B66\u8BFE\u5802\uFF0C\u4F60\u4E5F\u53EF\u4EE5\u8F7B\u677E\u5B8C\u6210\u54DF\uFF01\u73B0\u5728\u8BF7\u60A8\u70B9\u51FB\u9875\u9762\u4E0A \u201C\u65B0\u5EFA\u8BFE\u5802\u201D\u6309\u94AE\u5F00\u59CB\u65B0\u5EFA\u81EA\u5DF1\u7684\u8BFE\u5802~")}})}),An=(nt,Ft,zt)=>{const en=zt.slice();return en[nt]&&(en[nt].name=Ft.name,en[nt].link=Ft.link),en||[]},Mn=(nt="")=>nt.indexOf("<")>-1?nt.slice(0,nt.indexOf("<")):nt;return Ne.showHeader&&Ne.showHeaderFooter?Ln.createElement(h.default,{style:{background:`${yt.pathname=="/training"?"rgba(0,0,0,0)":""}`},className:`${Ne.isIlearning?E["header-iearning"]:E.header} ${Ne.showHeaderFixed?E.headerFixed:""}`},(Ne==null?void 0:Ne.showTip)&&Ln.createElement(Nt,null),Ln.createElement(re,{className:"header",style:{background:`${yt.pathname=="/training"?"rgba(0,0,0,0)":""}`,zIndex:`${yt.pathname=="/training"?"999":""}`}},Ln.createElement("section",{className:E["edu-menu"]},(!!Ne.isIlearning||!((ue=Ne==null?void 0:Ne.setting)!=null&&ue.main_site)&&!!((we=Ne==null?void 0:Ne.setting)!=null&&we.navbar))&&Ln.createElement(i.Link,{style:{display:"flex",alignItems:"center"},onClick:()=>{lt({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},to:"/"},Ln.createElement("img",{className:E.logo,title:(Te=Ne.setting)==null?void 0:Te.name,src:Jt||br})),Ln.createElement("ul",{className:`${E.menu} ${(0,Z.Ll)()&&"ml0"}`},(0,Z.Ll)()&&Ln.createElement("li",null,Ln.createElement("a",{href:"/"},"\u8003\u8BD5\u7CFB\u7EDF")),!(0,Z.Ll)()&&Ne.setting&&Ot.map(function(nt,Ft){var zt,en,Cn,yn,wn;return Ln.createElement("li",{key:Ft,className:!((zt=nt==null?void 0:nt.subitem)!=null&&zt.length)&&$t===(nt==null?void 0:nt.link)||(en=nt==null?void 0:nt.subitem)!=null&&en.some(cn=>$t===(cn==null?void 0:cn.link))?E.actived:""},Ln.createElement("div",{onClick:()=>Xt(nt,Ft),className:E.name},Ln.createElement("span",{dangerouslySetInnerHTML:{__html:(()=>{var cn;let Rn=nt==null?void 0:nt.name;return(cn=nt==null?void 0:nt.subitem)==null||cn.map((Zn,Cr)=>(Zn.link===yt.pathname&&(Rn=Zn.name),Zn)),Rn})()}}),((Cn=nt==null?void 0:nt.subitem)==null?void 0:Cn.length)>0&&Ln.createElement("i",{className:"iconfont icon-zhankai4"})),((yn=nt==null?void 0:nt.subitem)==null?void 0:yn.length)>0&&Ln.createElement("div",{className:E.dropDown},(wn=nt==null?void 0:nt.subitem)==null?void 0:wn.map((cn,Rn)=>Ln.createElement("div",{className:E.subName,onClick:()=>Xt(cn,Ft),key:Ft+"-"+Rn},!!Rn&&Ln.createElement("div",{className:E.line}),Ln.createElement("aside",{className:"font16 c-black"},Mn(cn.name)),Ln.createElement("div",{className:"font14",style:{color:"#9FA7B3",whiteSpace:"nowrap"}},cn.content)))))})),Ln.createElement("div",{className:"search-bar",style:{flex:Ne.isIlearning?"initial":"1 0 auto"}},!(0,Z.Ll)()&&!(Ne!=null&&Ne.isIlearning)&&Ln.createElement(Ln.Fragment,null,Ln.createElement(Vt,null),!dt&&Ln.createElement(_e,null),!dt&&!!((Ue=pe==null?void 0:pe.userInfo)!=null&&Ue.login)&&Ln.createElement(i.Link,{className:"iconfont icon-xiaoxilingdang c-white ml15 mr15 font18 relative",to:`/messages/${(ze=pe==null?void 0:pe.userInfo)==null?void 0:ze.login}/user_tidings`},((tt=pe==null?void 0:pe.navigationInfo)==null?void 0:tt.new_message)&&Ln.createElement("span",{className:E.newslight}))),!dt&&Ln.createElement(Le,{payload:Pt}))),Ln.createElement(c.default,{centered:!0,destroyOnClose:!0,open:Et,title:"\u63D0\u793A",width:"500px",okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Z.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=DWdqQHAbbfw7_rqm0d-Q_vDn5H6bMp91&jump_from=webapi")},onCancel:()=>Xe(!1)},Ln.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},Ln.createElement("p",null,"\u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650"),Ln.createElement("img",{src:`${o.Z.IMG_SERVER}/${(Ge=Ne==null?void 0:Ne.setting)==null?void 0:Ge.homepage_tea_qq_qrcode_url}`,width:200,height:200,className:"mb10"}),Ln.createElement("p",null,"\u7FA4\u53F7\uFF1A",(gt=Ne==null?void 0:Ne.setting)==null?void 0:gt.homepage_tea_qq_number)))),Ln.createElement(Tt,null)):Ln.createElement(Ln.Fragment,null)};var et=(0,i.connect)(({homePage:oe,loading:ve,user:xe,globalSetting:pe,shixunHomeworks:Ne})=>({homePage:oe,user:xe,globalSetting:pe,loading:ve.models.index,shixunHomeworks:Ne}))(it)},28386:function(Yt,je,e){e.d(je,{Z:function(){return mo}});var t=e(80813),i=e(92310),h=e.n(i),M=e(59301),c=function(){var j=(0,M.useRef)(!1);return(0,M.useEffect)(function(){return j.current=!1,function(){j.current=!0}},[]),j},E=c;function n(j){var fe=E(),Ie=(0,t.CR)((0,M.useState)(j),2),$e=Ie[0],pt=Ie[1],Zt=(0,M.useCallback)(function(En){fe.current||pt(En)},[]);return[$e,Zt]}var Y=n;function ne(j){var fe=(0,M.useRef)(j);return fe.current=j,fe}var m=ne,de=function(j){(0,M.useEffect)(function(){j()},[])},p=de;function P(j,fe){fe===void 0&&(fe={});var Ie=fe.insertAt;if(typeof document!="undefined"){var $e=document.head||document.getElementsByTagName("head")[0],pt=document.createElement("style");pt.type="text/css",Ie==="top"&&$e.firstChild?$e.insertBefore(pt,$e.firstChild):$e.appendChild(pt),pt.styleSheet?pt.styleSheet.cssText=j:pt.appendChild(document.createTextNode(j))}}var Z=`@-webkit-keyframes slider-icon-animate_spin { +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1717],{89489:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},59477:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},40001:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},49198:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},84105:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},18785:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},87169:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},73331:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},15277:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},52671:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},8657:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},56082:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},33853:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},15075:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},62772:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},43531:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},61485:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},38819:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={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"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},47472:function(Yt,je,e){e.d(je,{Z:function(){return Y}});var t=e(72308),i=e(59301),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},M=h,c=e(7657),E=function(m,de){return i.createElement(c.Z,(0,t.Z)({},m,{ref:de,icon:M}))},n=i.forwardRef(E),Y=n},35593:function(Yt,je,e){e.d(je,{Z:function(){return _e}});var t=e(77321),i=e(52487),h=e(74416),M=e(43403),c=e(92310),E=e.n(c),n=e(29301),Y=e(76846),ne=e(96452),m=e(6089),de=e(80402),p=e(34280),P=e(49658),Z=e(59301),ee=e(72308),te=e(77900),ke=e(8654);function ye(v){var S=v.prefixCls,g=v.align,o=v.arrow,L=v.arrowPos,le=o||{},f=le.className,s=le.content,_=L.x,N=_===void 0?0:_,B=L.y,J=B===void 0?0:B,De=Z.useRef();if(!g||!g.points)return null;var ie={position:"absolute"};if(g.autoArrow!==!1){var Le=g.points[0],Pe=g.points[1],Fe=Le[0],Me=Le[1],ut=Pe[0],ht=Pe[1];Fe===ut||!["t","b"].includes(Fe)?ie.top=J:Fe==="t"?ie.top=0:ie.bottom=0,Me===ht||!["l","r"].includes(Me)?ie.left=N:Me==="l"?ie.left=0:ie.right=0}return Z.createElement("div",{ref:De,className:E()("".concat(S,"-arrow"),f),style:ie},s)}function Be(v){var S=v.prefixCls,g=v.open,o=v.zIndex,L=v.mask,le=v.motion;return L?Z.createElement(te.default,(0,ee.Z)({},le,{motionAppear:!0,visible:g,removeOnLeave:!0}),function(f){var s=f.className;return Z.createElement("div",{style:{zIndex:o},className:E()("".concat(S,"-mask"),s)})}):null}var Ae=Z.memo(function(v){var S=v.children;return S},function(v,S){return S.cache}),Q=Ae,C=Z.forwardRef(function(v,S){var g=v.popup,o=v.className,L=v.prefixCls,le=v.style,f=v.target,s=v.onVisibleChanged,_=v.open,N=v.keepDom,B=v.fresh,J=v.onClick,De=v.mask,ie=v.arrow,Le=v.arrowPos,Pe=v.align,Fe=v.motion,Me=v.maskMotion,ut=v.forceRender,ht=v.getPopupContainer,Je=v.autoDestroy,wt=v.portal,Nt=v.zIndex,Kt=v.onMouseEnter,Rt=v.onMouseLeave,gn=v.onPointerEnter,Pn=v.ready,Sn=v.offsetX,Tn=v.offsetY,Yn=v.offsetR,pn=v.offsetB,Tt=v.onAlign,xn=v.onPrepare,Gn=v.stretch,Gt=v.targetWidth,zn=v.targetHeight,tr=typeof g=="function"?g():g,Jn=_||N,Wn=(ht==null?void 0:ht.length)>0,br=Z.useState(!ht||!Wn),Or=(0,i.Z)(br,2),Ln=Or[0],sr=Or[1];if((0,p.Z)(function(){!Ln&&Wn&&f&&sr(!0)},[Ln,Wn,f]),!Ln)return null;var nn="auto",Nn={left:"-1000vw",top:"-1000vh",right:nn,bottom:nn};if(Pn||!_){var se,d=Pe.points,w=Pe.dynamicInset||((se=Pe._experimental)===null||se===void 0?void 0:se.dynamicInset),x=w&&d[0][1]==="r",O=w&&d[0][0]==="b";x?(Nn.right=Yn,Nn.left=nn):(Nn.left=Sn,Nn.right=nn),O?(Nn.bottom=pn,Nn.top=nn):(Nn.top=Tn,Nn.bottom=nn)}var re={};return Gn&&(Gn.includes("height")&&zn?re.height=zn:Gn.includes("minHeight")&&zn&&(re.minHeight=zn),Gn.includes("width")&&Gt?re.width=Gt:Gn.includes("minWidth")&&Gt&&(re.minWidth=Gt)),_||(re.pointerEvents="none"),Z.createElement(wt,{open:ut||Jn,getContainer:ht&&function(){return ht(f)},autoDestroy:Je},Z.createElement(Be,{prefixCls:L,open:_,zIndex:Nt,mask:De,motion:Me}),Z.createElement(n.Z,{onResize:Tt,disabled:!_},function(Se){return Z.createElement(te.default,(0,ee.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ut,leavedClassName:"".concat(L,"-hidden")},Fe,{onAppearPrepare:xn,onEnterPrepare:xn,visible:_,onVisibleChanged:function(We){var it;Fe==null||(it=Fe.onVisibleChanged)===null||it===void 0||it.call(Fe,We),s(We)}}),function(Ye,We){var it=Ye.className,et=Ye.style,oe=E()(L,it,o);return Z.createElement("div",{ref:(0,ke.sQ)(Se,S,We),className:oe,style:(0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({"--arrow-x":"".concat(Le.x||0,"px"),"--arrow-y":"".concat(Le.y||0,"px")},Nn),re),et),{},{boxSizing:"border-box",zIndex:Nt},le),onMouseEnter:Kt,onMouseLeave:Rt,onPointerEnter:gn,onClick:J},ie&&Z.createElement(ye,{prefixCls:L,arrow:ie,arrowPos:Le,align:Pe}),Z.createElement(Q,{cache:!_&&!B},tr))})}))}),r=C,I=Z.forwardRef(function(v,S){var g=v.children,o=v.getTriggerDOMNode,L=(0,ke.Yr)(g),le=Z.useCallback(function(s){(0,ke.mH)(S,o?o(s):s)},[o]),f=(0,ke.x1)(le,g.ref);return L?Z.cloneElement(g,{ref:f}):g}),b=I,ae=Z.createContext(null),H=ae;function X(v){return v?Array.isArray(v)?v:[v]:[]}function A(v,S,g,o){return Z.useMemo(function(){var L=X(g!=null?g:S),le=X(o!=null?o:S),f=new Set(L),s=new Set(le);return v&&(f.has("hover")&&(f.delete("hover"),f.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[f,s]},[v,S,g,o])}var V=e(29194);function D(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],g=arguments.length>2?arguments[2]:void 0;return g?v[0]===S[0]:v[0]===S[0]&&v[1]===S[1]}function be(v,S,g,o){for(var L=g.points,le=Object.keys(v),f=0;f1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(v)?S:v}function Ee(v){return k(parseFloat(v),0)}function l(v,S){var g=(0,t.Z)({},v);return(S||[]).forEach(function(o){if(!(o instanceof HTMLBodyElement||o instanceof HTMLHtmlElement)){var L=$(o).getComputedStyle(o),le=L.overflow,f=L.overflowClipMargin,s=L.borderTopWidth,_=L.borderBottomWidth,N=L.borderLeftWidth,B=L.borderRightWidth,J=o.getBoundingClientRect(),De=o.offsetHeight,ie=o.clientHeight,Le=o.offsetWidth,Pe=o.clientWidth,Fe=Ee(s),Me=Ee(_),ut=Ee(N),ht=Ee(B),Je=k(Math.round(J.width/Le*1e3)/1e3),wt=k(Math.round(J.height/De*1e3)/1e3),Nt=(Le-Pe-ut-ht)*Je,Kt=(De-ie-Fe-Me)*wt,Rt=Fe*wt,gn=Me*wt,Pn=ut*Je,Sn=ht*Je,Tn=0,Yn=0;if(le==="clip"){var pn=Ee(f);Tn=pn*Je,Yn=pn*wt}var Tt=J.x+Pn-Tn,xn=J.y+Rt-Yn,Gn=Tt+J.width+2*Tn-Pn-Sn-Nt,Gt=xn+J.height+2*Yn-Rt-gn-Kt;g.left=Math.max(g.left,Tt),g.top=Math.max(g.top,xn),g.right=Math.min(g.right,Gn),g.bottom=Math.min(g.bottom,Gt)}}),g}function y(v){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,g="".concat(S),o=g.match(/^(.*)\%$/);return o?v*(parseFloat(o[1])/100):parseFloat(g)}function T(v,S){var g=S||[],o=(0,i.Z)(g,2),L=o[0],le=o[1];return[y(v.width,L),y(v.height,le)]}function R(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[v[0],v[1]]}function F(v,S){var g=S[0],o=S[1],L,le;return g==="t"?le=v.y:g==="b"?le=v.y+v.height:le=v.y+v.height/2,o==="l"?L=v.x:o==="r"?L=v.x+v.width:L=v.x+v.width/2,{x:L,y:le}}function U(v,S){var g={t:"b",b:"t",l:"r",r:"l"};return v.map(function(o,L){return L===S?g[o]||"c":o}).join("")}function ce(v,S,g,o,L,le,f){var s=Z.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:L[o]||{}}),_=(0,i.Z)(s,2),N=_[0],B=_[1],J=Z.useRef(0),De=Z.useMemo(function(){return S?z(S):[]},[S]),ie=Z.useRef({}),Le=function(){ie.current={}};v||Le();var Pe=(0,m.Z)(function(){if(S&&g&&v){let mn=function(Kn,Hn){var Kr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:oe,Rr=tr.x+Kn,Tr=tr.y+Hn,zr=Rr+se,Er=Tr+Nn,dr=Math.max(Rr,Kr.left),$n=Math.max(Tr,Kr.top),wr=Math.min(zr,Kr.right),ao=Math.min(Er,Kr.bottom);return Math.max(0,(wr-dr)*(ao-$n))},Dt=function(){en=tr.y+Xe,Cn=en+Nn,yn=tr.x+Et,wn=yn+se};var ut,ht,Je=S,wt=Je.ownerDocument,Nt=$(Je),Kt=Nt.getComputedStyle(Je),Rt=Kt.width,gn=Kt.height,Pn=Kt.position,Sn=Je.style.left,Tn=Je.style.top,Yn=Je.style.right,pn=Je.style.bottom,Tt=Je.style.overflow,xn=(0,t.Z)((0,t.Z)({},L[o]),le),Gn=wt.createElement("div");(ut=Je.parentElement)===null||ut===void 0||ut.appendChild(Gn),Gn.style.left="".concat(Je.offsetLeft,"px"),Gn.style.top="".concat(Je.offsetTop,"px"),Gn.style.position=Pn,Gn.style.height="".concat(Je.offsetHeight,"px"),Gn.style.width="".concat(Je.offsetWidth,"px"),Je.style.left="0",Je.style.top="0",Je.style.right="auto",Je.style.bottom="auto",Je.style.overflow="hidden";var Gt;if(Array.isArray(g))Gt={x:g[0],y:g[1],width:0,height:0};else{var zn=g.getBoundingClientRect();Gt={x:zn.x,y:zn.y,width:zn.width,height:zn.height}}var tr=Je.getBoundingClientRect(),Jn=wt.documentElement,Wn=Jn.clientWidth,br=Jn.clientHeight,Or=Jn.scrollWidth,Ln=Jn.scrollHeight,sr=Jn.scrollTop,nn=Jn.scrollLeft,Nn=tr.height,se=tr.width,d=Gt.height,w=Gt.width,x={left:0,top:0,right:Wn,bottom:br},O={left:-nn,top:-sr,right:Or-nn,bottom:Ln-sr},re=xn.htmlRegion,Se="visible",Ye="visibleFirst";re!=="scroll"&&re!==Ye&&(re=Se);var We=re===Ye,it=l(O,De),et=l(x,De),oe=re===Se?et:it,ve=We?et:oe;Je.style.left="auto",Je.style.top="auto",Je.style.right="0",Je.style.bottom="0";var xe=Je.getBoundingClientRect();Je.style.left=Sn,Je.style.top=Tn,Je.style.right=Yn,Je.style.bottom=pn,Je.style.overflow=Tt,(ht=Je.parentElement)===null||ht===void 0||ht.removeChild(Gn);var pe=k(Math.round(se/parseFloat(Rt)*1e3)/1e3),Ne=k(Math.round(Nn/parseFloat(gn)*1e3)/1e3);if(pe===0||Ne===0||(0,Y.Sh)(g)&&!(0,V.Z)(g))return;var ct=xn.offset,lt=xn.targetOffset,dt=T(tr,ct),ft=(0,i.Z)(dt,2),rt=ft[0],at=ft[1],ue=T(Gt,lt),we=(0,i.Z)(ue,2),Te=we[0],Ue=we[1];Gt.x-=Te,Gt.y-=Ue;var ze=xn.points||[],tt=(0,i.Z)(ze,2),Ge=tt[0],gt=tt[1],yt=R(gt),bt=R(Ge),Qt=F(Gt,yt),$t=F(tr,bt),ln=(0,t.Z)({},xn),Et=Qt.x-$t.x+rt,Xe=Qt.y-$t.y+at,Pt=mn(Et,Xe),Jt=mn(Et,Xe,et),Ut=F(Gt,["t","l"]),Vt=F(tr,["t","l"]),Ot=F(Gt,["b","r"]),sn=F(tr,["b","r"]),Xt=xn.overflow||{},An=Xt.adjustX,Mn=Xt.adjustY,nt=Xt.shiftX,Ft=Xt.shiftY,zt=function(Hn){return typeof Hn=="boolean"?Hn:Hn>=0},en,Cn,yn,wn;Dt();var cn=zt(Mn),Rn=bt[0]===yt[0];if(cn&&bt[0]==="t"&&(Cn>ve.bottom||ie.current.bt)){var Zn=Xe;Rn?Zn-=Nn-d:Zn=Ut.y-sn.y-at;var Cr=mn(Et,Zn),rn=mn(Et,Zn,et);Cr>Pt||Cr===Pt&&(!We||rn>=Jt)?(ie.current.bt=!0,Xe=Zn,at=-at,ln.points=[U(bt,0),U(yt,0)]):ie.current.bt=!1}if(cn&&bt[0]==="b"&&(enPt||Bn===Pt&&(!We||Xn>=Jt)?(ie.current.tb=!0,Xe=jt,at=-at,ln.points=[U(bt,0),U(yt,0)]):ie.current.tb=!1}var hr=zt(An),po=bt[1]===yt[1];if(hr&&bt[1]==="l"&&(wn>ve.right||ie.current.rl)){var Qr=Et;po?Qr-=se-w:Qr=Ut.x-sn.x-rt;var Sr=mn(Qr,Xe),uo=mn(Qr,Xe,et);Sr>Pt||Sr===Pt&&(!We||uo>=Jt)?(ie.current.rl=!0,Et=Qr,rt=-rt,ln.points=[U(bt,1),U(yt,1)]):ie.current.rl=!1}if(hr&&bt[1]==="r"&&(ynPt||Gr===Pt&&(!We||vo>=Jt)?(ie.current.lr=!0,Et=Ur,rt=-rt,ln.points=[U(bt,1),U(yt,1)]):ie.current.lr=!1}Dt();var Nr=nt===!0?0:nt;typeof Nr=="number"&&(ynet.right&&(Et-=wn-et.right-rt,Gt.x>et.right-Nr&&(Et+=Gt.x-et.right+Nr)));var mo=Ft===!0?0:Ft;typeof mo=="number"&&(enet.bottom&&(Xe-=Cn-et.bottom-at,Gt.y>et.bottom-mo&&(Xe+=Gt.y-et.bottom+mo)));var j=tr.x+Et,fe=j+se,Ie=tr.y+Xe,$e=Ie+Nn,pt=Gt.x,Zt=pt+w,En=Gt.y,dn=En+d,mr=Math.max(j,pt),Mr=Math.min(fe,Zt),gr=(mr+Mr)/2,eo=gr-j,xr=Math.max(Ie,En),Yr=Math.min($e,dn),Dr=(xr+Yr)/2,Ar=Dr-Ie;f==null||f(S,ln);var an=xe.right-tr.x-(Et+tr.width),un=xe.bottom-tr.y-(Xe+tr.height);B({ready:!0,offsetX:Et/pe,offsetY:Xe/Ne,offsetR:an/pe,offsetB:un/Ne,arrowX:eo/pe,arrowY:Ar/Ne,scaleX:pe,scaleY:Ne,align:ln})}}),Fe=function(){J.current+=1;var ht=J.current;Promise.resolve().then(function(){J.current===ht&&Pe()})},Me=function(){B(function(ht){return(0,t.Z)((0,t.Z)({},ht),{},{ready:!1})})};return(0,p.Z)(Me,[o]),(0,p.Z)(function(){v||Me()},[v]),[N.ready,N.offsetX,N.offsetY,N.offsetR,N.offsetB,N.arrowX,N.arrowY,N.scaleX,N.scaleY,N.align,Fe]}var Qe=e(80702);function Re(v,S,g,o,L){(0,p.Z)(function(){if(v&&S&&g){let J=function(){o(),L()};var le=S,f=g,s=z(le),_=z(f),N=$(f),B=new Set([N].concat((0,Qe.Z)(s),(0,Qe.Z)(_)));return B.forEach(function(De){De.addEventListener("scroll",J,{passive:!0})}),N.addEventListener("resize",J,{passive:!0}),o(),function(){B.forEach(function(De){De.removeEventListener("scroll",J),N.removeEventListener("resize",J)})}}},[v,S,g])}var Ve=e(48736),vt=e(16089);function xt(v,S,g,o,L,le,f,s){var _=Z.useRef(v),N=Z.useRef(!1);_.current!==v&&(N.current=!0,_.current=v),Z.useEffect(function(){var B=(0,vt.Z)(function(){N.current=!1});return function(){vt.Z.cancel(B)}},[v]),Z.useEffect(function(){if(S&&o&&(!L||le)){var B=function(){var Pn=!1,Sn=function(pn){var Tt=pn.target;Pn=f(Tt)},Tn=function(pn){var Tt=pn.target;!N.current&&_.current&&!Pn&&!f(Tt)&&s(!1)};return[Sn,Tn]},J=B(),De=(0,i.Z)(J,2),ie=De[0],Le=De[1],Pe=B(),Fe=(0,i.Z)(Pe,2),Me=Fe[0],ut=Fe[1],ht=$(o);ht.addEventListener("mousedown",ie,!0),ht.addEventListener("click",Le,!0),ht.addEventListener("contextmenu",Le,!0);var Je=(0,ne.A)(g);if(Je&&(Je.addEventListener("mousedown",Me,!0),Je.addEventListener("click",ut,!0),Je.addEventListener("contextmenu",ut,!0)),0)var wt,Nt,Kt,Rt;return function(){ht.removeEventListener("mousedown",ie,!0),ht.removeEventListener("click",Le,!0),ht.removeEventListener("contextmenu",Le,!0),Je&&(Je.removeEventListener("mousedown",Me,!0),Je.removeEventListener("click",ut,!0),Je.removeEventListener("contextmenu",ut,!0))}}},[S,g,o,L,le])}var mt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Oe(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:M.Z,S=Z.forwardRef(function(g,o){var L=g.prefixCls,le=L===void 0?"rc-trigger-popup":L,f=g.children,s=g.action,_=s===void 0?"hover":s,N=g.showAction,B=g.hideAction,J=g.popupVisible,De=g.defaultPopupVisible,ie=g.onPopupVisibleChange,Le=g.afterPopupVisibleChange,Pe=g.mouseEnterDelay,Fe=g.mouseLeaveDelay,Me=Fe===void 0?.1:Fe,ut=g.focusDelay,ht=g.blurDelay,Je=g.mask,wt=g.maskClosable,Nt=wt===void 0?!0:wt,Kt=g.getPopupContainer,Rt=g.forceRender,gn=g.autoDestroy,Pn=g.destroyPopupOnHide,Sn=g.popup,Tn=g.popupClassName,Yn=g.popupStyle,pn=g.popupPlacement,Tt=g.builtinPlacements,xn=Tt===void 0?{}:Tt,Gn=g.popupAlign,Gt=g.zIndex,zn=g.stretch,tr=g.getPopupClassNameFromAlign,Jn=g.fresh,Wn=g.alignPoint,br=g.onPopupClick,Or=g.onPopupAlign,Ln=g.arrow,sr=g.popupMotion,nn=g.maskMotion,Nn=g.popupTransitionName,se=g.popupAnimation,d=g.maskTransitionName,w=g.maskAnimation,x=g.className,O=g.getTriggerDOMNode,re=(0,h.Z)(g,mt),Se=gn||Pn||!1,Ye=Z.useState(!1),We=(0,i.Z)(Ye,2),it=We[0],et=We[1];(0,p.Z)(function(){et((0,P.Z)())},[]);var oe=Z.useRef({}),ve=Z.useContext(H),xe=Z.useMemo(function(){return{registerSubPopup:function(me,ge){oe.current[me]=ge,ve==null||ve.registerSubPopup(me,ge)}}},[ve]),pe=(0,de.Z)(),Ne=Z.useState(null),ct=(0,i.Z)(Ne,2),lt=ct[0],dt=ct[1],ft=(0,m.Z)(function(G){(0,Y.Sh)(G)&<!==G&&dt(G),ve==null||ve.registerSubPopup(pe,G)}),rt=Z.useState(null),at=(0,i.Z)(rt,2),ue=at[0],we=at[1],Te=Z.useRef(null),Ue=(0,m.Z)(function(G){(0,Y.Sh)(G)&&ue!==G&&(we(G),Te.current=G)}),ze=Z.Children.only(f),tt=(ze==null?void 0:ze.props)||{},Ge={},gt=(0,m.Z)(function(G){var me,ge,Bt=ue;return(Bt==null?void 0:Bt.contains(G))||((me=(0,ne.A)(Bt))===null||me===void 0?void 0:me.host)===G||G===Bt||(lt==null?void 0:lt.contains(G))||((ge=(0,ne.A)(lt))===null||ge===void 0?void 0:ge.host)===G||G===lt||Object.values(oe.current).some(function(At){return(At==null?void 0:At.contains(G))||G===At})}),yt=W(le,sr,se,Nn),bt=W(le,nn,w,d),Qt=Z.useState(De||!1),$t=(0,i.Z)(Qt,2),ln=$t[0],Et=$t[1],Xe=J!=null?J:ln,Pt=(0,m.Z)(function(G){J===void 0&&Et(G)});(0,p.Z)(function(){Et(J||!1)},[J]);var Jt=Z.useRef(Xe);Jt.current=Xe;var Ut=Z.useRef([]);Ut.current=[];var Vt=(0,m.Z)(function(G){var me;Pt(G),((me=Ut.current[Ut.current.length-1])!==null&&me!==void 0?me:Xe)!==G&&(Ut.current.push(G),ie==null||ie(G))}),Ot=Z.useRef(),sn=function(){clearTimeout(Ot.current)},Xt=function(me){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;sn(),ge===0?Vt(me):Ot.current=setTimeout(function(){Vt(me)},ge*1e3)};Z.useEffect(function(){return sn},[]);var An=Z.useState(!1),Mn=(0,i.Z)(An,2),nt=Mn[0],Ft=Mn[1];(0,p.Z)(function(G){(!G||Xe)&&Ft(!0)},[Xe]);var zt=Z.useState(null),en=(0,i.Z)(zt,2),Cn=en[0],yn=en[1],wn=Z.useState([0,0]),cn=(0,i.Z)(wn,2),Rn=cn[0],Zn=cn[1],Cr=function(me){Zn([me.clientX,me.clientY])},rn=ce(Xe,lt,Wn?Rn:ue,pn,xn,Gn,Or),jt=(0,i.Z)(rn,11),Bn=jt[0],Xn=jt[1],hr=jt[2],po=jt[3],Qr=jt[4],Sr=jt[5],uo=jt[6],Ur=jt[7],Gr=jt[8],vo=jt[9],Nr=jt[10],mo=A(it,_,N,B),j=(0,i.Z)(mo,2),fe=j[0],Ie=j[1],$e=fe.has("click"),pt=Ie.has("click")||Ie.has("contextMenu"),Zt=(0,m.Z)(function(){nt||Nr()}),En=function(){Jt.current&&Wn&&pt&&Xt(!1)};Re(Xe,ue,lt,Zt,En),(0,p.Z)(function(){Zt()},[Rn,pn]),(0,p.Z)(function(){Xe&&!(xn!=null&&xn[pn])&&Zt()},[JSON.stringify(Gn)]);var dn=Z.useMemo(function(){var G=be(xn,le,vo,Wn);return E()(G,tr==null?void 0:tr(vo))},[vo,tr,xn,le,Wn]);Z.useImperativeHandle(o,function(){return{nativeElement:Te.current,forceAlign:Zt}});var mr=Z.useState(0),Mr=(0,i.Z)(mr,2),gr=Mr[0],eo=Mr[1],xr=Z.useState(0),Yr=(0,i.Z)(xr,2),Dr=Yr[0],Ar=Yr[1],an=function(){if(zn&&ue){var me=ue.getBoundingClientRect();eo(me.width),Ar(me.height)}},un=function(){an(),Zt()},mn=function(me){Ft(!1),Nr(),Le==null||Le(me)},Dt=function(){return new Promise(function(me){an(),yn(function(){return me})})};(0,p.Z)(function(){Cn&&(Nr(),Cn(),yn(null))},[Cn]);function Kn(G,me,ge,Bt){Ge[G]=function(At){var On;Bt==null||Bt(At),Xt(me,ge);for(var bn=arguments.length,kt=new Array(bn>1?bn-1:0),qe=1;qe1?ge-1:0),At=1;At1?ge-1:0),At=1;At{}})=>{const p=()=>t.createElement("div",{className:E.flexColumn},t.createElement("img",{className:E.img,src:c}),t.createElement("span",{className:E.content},"\u672A\u804C\u4E1A\u8BA4\u8BC1")),P=()=>t.createElement("div",{className:E.flexColumn},t.createElement("img",{className:E.img,src:M}),t.createElement("span",{className:E.content},"\u672A\u5B9E\u540D\u8BA4\u8BC1")),Z=()=>m===3?t.createElement(t.Fragment,null,P(),p()):m===2?p():P();return t.createElement(h.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ne,title:"\u56E0\u4E3A\u4EE5\u4E0B\u539F\u56E0\uFF0C\u60A8\u6682\u65F6\u4E0D\u80FD\u8FDB\u884C\u64CD\u4F5C",okText:"\u7ACB\u5373\u8BA4\u8BC1",cancelText:"\u53D6\u6D88",width:"600px",onOk:()=>{de(),i.history.push("/account/certification")},onCancel:()=>{de()}},t.createElement("div",{className:E.tilte},"\u8BF7\u5728\u5B8C\u6210\u6761\u4EF6\u540E\u91CD\u8BD5"),t.createElement("div",{className:E.flexRow},Z()))};var Y=(0,i.connect)(({paperlibrary:ne,loading:m,globalSetting:de})=>({paperlibrary:ne,globalSetting:de,loading:m.effects}))(n)},63454:function(Yt,je,e){e.d(je,{Z:function(){return C}});var t=e(59301),i=e(89070),h=e(43418),M=e(8591),c=e(92832),E=e(24905),n=e(1),Y=e(927),ne=e(955),m=e(3113),de=e(87169),p={bottom:"bottom___z0ujX",yes:"yes___hodnN",no:"no___hiPz5"},P=e(32637),Z=e(59301);const ee=({classroomList:r,dispatch:I,user:b})=>Z.createElement(h.default,{open:r.actionTabs.key==="\u5230\u671F\u63D0\u793A",width:464,centered:!0,title:Z.createElement("span",null,Z.createElement(de.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u63D0\u793A"),onCancel:()=>{I({type:"classroomList/setActionTabs",payload:{key:""}})},footer:null},Z.createElement("div",{style:{textAlign:"center",marginBottom:30}},Z.createElement("div",{style:{marginBottom:20,textAlign:"left"}},"\u8BE5\u6559\u5B66\u8BFE\u5802\u7684\u8BD5\u7528\u5DF2\u5230\u671F\uFF0C\u76EE\u524D\u65E0\u6CD5\u652F\u6301",Z.createElement("span",{style:{color:"#FF9D18"}},"\u8D85\u8FC750"),"\u4EBA\u7684\u6559\u5B66\u6D3B\u52A8\u3002\u5982\u6709\u4EFB\u4F55\u7591\u95EE\uFF0C\u8BF7\u968F\u65F6\u8054\u7CFB\u6211\u4EEC\u3002\u611F\u8C22\u60A8\u7684\u7406\u89E3\u4E0E\u652F\u6301\uFF01"),Z.createElement("img",{style:{width:130,height:130},src:P})),Z.createElement("div",{className:p.bottom},Z.createElement(m.ZP,{className:p.yes,onClick:()=>{I({type:"classroomList/setActionTabs",payload:{key:""}})}},"\u6211\u77E5\u9053\u4E86")));var te=(0,i.connect)(({classroomList:r,user:I})=>({classroomList:r,user:I}))(ee),ke=e(99064),ye=e(59301),Be=(r,I,b)=>new Promise((ae,H)=>{var X=D=>{try{V(b.next(D))}catch(be){H(be)}},A=D=>{try{V(b.throw(D))}catch(be){H(be)}},V=D=>D.done?ae(D.value):Promise.resolve(D.value).then(X,A);V((b=b.apply(r,I)).next())}),Ae=(r=>(r[r.Professor=1]="Professor",r[r.AssistantProfessor=2]="AssistantProfessor",r[r.Student=3]="Student",r))(Ae||{});const Q=({visible:r,user:I,account:b,onCancel:ae=()=>{},dispatch:H})=>{const[X,A]=(0,t.useState)(),[V,D]=(0,t.useState)([]),[be,W]=(0,t.useState)(!1),[$,z]=(0,t.useState)(!1),[k,Ee]=(0,t.useState)(),[l,y]=(0,t.useState)(!1);(0,t.useEffect)(()=>{var U,ce;(U=I==null?void 0:I.userInfo)!=null&&U.identity&&D([((ce=I==null?void 0:I.userInfo)==null?void 0:ce.identity)==="student"?3:1])},[I]);const T=U=>{const ce=()=>{window.location.href=(U==null?void 0:U.jump_url)||`/classrooms/${U==null?void 0:U.course_id}/students`};if(V.includes(1)){h.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:ye.createElement("div",{className:"tc"},(U==null?void 0:U.message)||"\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838"),onOk:()=>{ce()}});return}ce()},R=()=>Be(void 0,null,function*(){if(!X){M.ZP.info("\u9080\u8BF7\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}let U=yield(0,ke.ZP)("/api/courses/get_pro_info.json",{method:"get",params:{invite_code:X}});if(U!=null&&U.need_pro_auth&&!V.includes(1)&&!V.includes(2)){H({type:"account/setActionTabs",payload:{key:"Account-ProfessionalAuth",code:X,checkedList:V}}),F();return}W(!0);const ce=yield(0,n.cR)({invite_code:X,professor:V.includes(1)?1:null,assistant_professor:V.includes(2)?1:null,student:V.includes(3)?1:null});if(W(!1),(ce==null?void 0:ce.status)===-4&&(ae(),H({type:"classroomList/setActionTabs",payload:{key:"\u5230\u671F\u63D0\u793A"}})),(ce==null?void 0:ce.status)===-12&&M.ZP.warning(ce==null?void 0:ce.message),(ce==null?void 0:ce.status)===-2){if(F(),ce.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u8BA4\u8BC1"){z(!0),Ee(1);return}if(ce.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u804C\u4E1A\u8BA4\u8BC1"){z(!0),Ee(2);return}if(ce.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u548C\u804C\u4E1A\u8BA4\u8BC1"){z(!0),Ee(3);return}}if((ce==null?void 0:ce.status)===0){(0,ne.L9)(["\u6559\u5B66\u8BFE\u5802","\u9996\u9875","\u52A0\u5165\u8BFE\u5802"]),F(),ce!=null&&ce.course_id?T(ce):M.ZP.success(ce.message);return}}),F=()=>Be(void 0,null,function*(){ae()});return ye.createElement(ye.Fragment,null,ye.createElement(h.default,{centered:!0,keyboard:!1,closable:!1,title:"\u52A0\u5165\u8BFE\u5802",open:r,confirmLoading:be,onOk:R,onCancel:F},ye.createElement("div",{className:"tc"},ye.createElement("div",null,ye.createElement("span",null,"\u8BFE\u5802\u9080\u8BF7\u7801\uFF1A"),ye.createElement(c.default,{placeholder:"\u8BF7\u8F93\u51655\u4F4D\u8BFE\u5802\u9080\u8BF7\u7801\u62166\u4F4D\u5206\u73ED\u9080\u8BF7\u7801",style:{width:270},value:X,onChange:U=>{if(U.target.value.length>=7){M.ZP.info("\u8BF7\u8F93\u51655\u4F4D\u8BFE\u5802\u9080\u8BF7\u7801\u62166\u4F4D\u5206\u73ED\u9080\u8BF7\u7801\uFF01");return}A(U.target.value)}})),ye.createElement("div",{className:"mt10 font14"},ye.createElement("span",null,"\u8EAB\u4EFD\uFF1A"),ye.createElement(E.default.Group,{value:V,onChange:U=>D(U)},ye.createElement(E.default,{value:1,disabled:V.includes(2)},"\u6559\u5E08"),ye.createElement(E.default,{value:2,disabled:V.includes(1)},"\u52A9\u6559"),ye.createElement(E.default,{value:3},"\u5B66\u751F/\u53C2\u8D5B\u8005"))))),ye.createElement(te,null),ye.createElement(Y.Z,{visible:$,onCancel:()=>z(!1),occupationValue:k}))};var C=(0,i.connect)(({user:r,account:I})=>({user:r,account:I}))(Q)},61682:function(Yt,je,e){e.d(je,{Z:function(){return et},g:function(){return Ye}});var t=e(59301),i=e(89070),h=e(44e3),M=e(92832),c=e(43418),E={flex_box_center:"flex_box_center___et8xE",flex_space_between:"flex_space_between___GBGuw",flex_box_vertical_center:"flex_box_vertical_center____6P1q",flex_box_center_end:"flex_box_center_end___whXw6",flex_box_column:"flex_box_column___mWgI_",header:"header___Wn4fJ",logo:"logo___QnotM",menu:"menu___twLGR",dropDown:"dropDown___Cwaoa",line:"line___D1auu",subName:"subName___gql7K",name:"name___dR5V2",actived:"actived___ohMks","edu-menu":"edu-menu___iWLK0",newslight:"newslight___lSZjL",classromediv:"classromediv___knFRv",glow:"glow___gzrPH",spandiv:"spandiv___Gm_hg","header-iearning":"header-iearning___LZfyg",title:"title___Ozzjk",headerFixed:"headerFixed___QLwBd"},n=e(8591),Y=e(95237),ne=e(43604),m=e(20834),de=e(38854),p=e(5112),P=e(1),Z=e(955),ee=(oe,ve,xe)=>new Promise((pe,Ne)=>{var ct=ft=>{try{dt(xe.next(ft))}catch(rt){Ne(rt)}},lt=ft=>{try{dt(xe.throw(ft))}catch(rt){Ne(rt)}},dt=ft=>ft.done?pe(ft.value):Promise.resolve(ft.value).then(ct,lt);dt((xe=xe.apply(oe,ve)).next())}),te=(oe=>(oe.Manager="manager",oe.Developer="developer",oe.Reporter="reporter",oe))(te||{}),ye=({visible:oe,onCancel:ve=()=>{}})=>{const[xe,pe]=(0,t.useState)(),[Ne,ct]=(0,t.useState)(),[lt,dt]=(0,t.useState)(!1),ft=()=>ee(void 0,null,function*(){if(!xe){n.ZP.info("\u8BF7\u8F93\u5165\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}if(xe.length!==6){n.ZP.info("\u8BF7\u8F93\u51656\u4F4D\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}if(!Ne){n.ZP.info("\u8BF7\u9009\u62E9\u4E00\u4E2A\u8EAB\u4EFD\uFF01");return}dt(!0);const at=yield(0,P.vm)({code:xe,role:Ne});dt(!1),rt();const ue={1:"\u60A8\u8F93\u5165\u7684\u9080\u8BF7\u7801\u9519\u8BEF",2:"\u60A8\u5DF2\u7ECF\u662F\u8BE5\u9879\u76EE\u6210\u5458",3:"\u8BF7\u9009\u62E9\u4E00\u4E2A\u89D2\u8272",4:"\u60A8\u7684\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u9879\u76EE\u7BA1\u7406\u5458\u5BA1\u6279",5:"\u60A8\u5DF2\u7ECF\u7533\u8BF7\u52A0\u5165\u8BE5\u9879\u76EE\u4E86\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85",6:"\u60A8\u5DF2\u6210\u529F\u52A0\u5165\u9879\u76EE"};if(ue[at.status]){n.ZP.info(ue[at.status]);return}if(at.status===0){Ne==="reporter"?(n.ZP.success("\u60A8\u52A0\u5165\u9879\u76EE\u6210\u529F\uFF01"),(0,Z.L9)(["\u5F00\u53D1\u9879\u76EE","\u52A0\u5165\u9879\u76EE\u6210\u529F"]),i.history.push(`/projects/${at==null?void 0:at.project_id}`)):((0,Z.L9)(["\u5F00\u53D1\u9879\u76EE","\u52A0\u5165\u9879\u76EE\u7B49\u5F85\u5BA1\u6279"]),n.ZP.success("\u60A8\u7684\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u9879\u76EE\u7BA1\u7406\u5458\u5BA1\u6279\uFF01"));return}}),rt=()=>ee(void 0,null,function*(){ve()});return t.createElement(t.Fragment,null,t.createElement(c.default,{centered:!0,keyboard:!1,closable:!1,title:"\u52A0\u5165\u9879\u76EE",open:oe,confirmLoading:lt,onOk:ft,onCancel:rt},t.createElement("div",{className:"tc"},t.createElement("div",null,t.createElement("span",null,"\u9879\u76EE\u9080\u8BF7\u7801\uFF1A"),t.createElement(M.default,{placeholder:"\u8BF7\u8F93\u51656\u4F4D\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801",style:{width:270},value:xe,onChange:at=>{if(at.target.value.length>=7){n.ZP.info("\u8BF7\u8F93\u51656\u4F4D\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}pe(at.target.value)}})),t.createElement("div",{className:"mt10 font14"},t.createElement("span",null,"\u8EAB\u4EFD\uFF1A"),t.createElement(p.ZP.Group,{value:Ne,onChange:at=>ct(at.target.value)},t.createElement(p.ZP,{value:"manager"},"\u7BA1\u7406\u4EBA\u5458"),t.createElement(p.ZP,{value:"developer"},"\u5F00\u53D1\u4EBA\u5458"),t.createElement(p.ZP,{value:"reporter"},"\u62A5\u544A\u4EBA\u5458"))))))},Be=e(63454),Ae={flex_box_center:"flex_box_center___cltIf",flex_space_between:"flex_space_between___fKr_O",flex_box_vertical_center:"flex_box_vertical_center____QfiA",flex_box_center_end:"flex_box_center_end___ysqmH",flex_box_column:"flex_box_column___CfE8K",rightMenu:"rightMenu___ADTOX",joinMenu:"joinMenu___aRGsf",joinBoard:"joinBoard___AeUvr",joinCol:"joinCol___fV4uL"},Q=e(46474),C=e(78241),r=e(57809),I=e(2742),b=(oe,ve,xe)=>new Promise((pe,Ne)=>{var ct=ft=>{try{dt(xe.next(ft))}catch(rt){Ne(rt)}},lt=ft=>{try{dt(xe.throw(ft))}catch(rt){Ne(rt)}},dt=ft=>ft.done?pe(ft.value):Promise.resolve(ft.value).then(ct,lt);dt((xe=xe.apply(oe,ve)).next())});const ae=({globalSetting:oe,dispatch:ve,user:xe,open:pe,onCancel:Ne=()=>{}})=>{const[ct,lt]=(0,t.useState)([]),[dt,ft]=(0,t.useState)([]),[rt,at]=(0,t.useState)([]),[ue]=C.default.useForm(),[we,Te]=(0,t.useState)(!1),[Ue,ze]=(0,t.useState)(!1),tt=(0,t.useRef)(null),Ge=(0,t.useRef)(1),[gt,yt]=(0,t.useState)({keyword:"",source:"",status:"",page:1,limit:20});(0,t.useEffect)(()=>{pe&&bt()},[pe]);const bt=()=>b(void 0,null,function*(){var Et;const Xe=yield Qt(gt);if(!(0,Q.o1)(ve))return;const{user_school_id:Pt="",department_id:Jt="",school_name:Ut="",department_name:Vt=""}=xe.userInfo||{},Ot=(Et=Xe==null?void 0:Xe.graduation_years)==null?void 0:Et.at(-1);ft([{id:Pt,name:Ut}]),yield ln(Pt),ue.setFieldsValue({year:Ot,school_id:Pt,department_id:Number(Jt),name:`${Ot}${Ut}${Vt}\u6BD5\u4E1A\u8BBE\u8BA1`})}),Qt=Et=>b(void 0,null,function*(){const Xe=yield(0,I.J3)(Et);return Xe.status===0&<((Xe==null?void 0:Xe.graduation_years)||[]),Xe}),$t=(Et,Xe=500)=>{ze(!0),clearTimeout(tt.current),tt.current=setTimeout(()=>b(void 0,null,function*(){Ge.current+=1;const Pt=Ge.current,Jt=yield(0,I.NT)({keyword:Et});Jt.status===0&&Ge.current===Pt&&(ft((Jt==null?void 0:Jt.schools)||[]),ze(!1))}),Xe)},ln=Et=>b(void 0,null,function*(){if(!Et)return;const Xe=yield(0,I.Ps)({page:1,limit:9999,id:Et});Xe.status===0&&at((Xe==null?void 0:Xe.departments)||[])});return t.createElement(c.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:pe,title:"\u5F00\u542F\u65B0\u4E00\u5C4A\u6BD5\u4E1A\u8BBE\u8BA1",width:578,confirmLoading:we,onCancel:Ne,onOk:()=>ue.submit()},t.createElement(C.default,{colon:!1,form:ue,initialValues:{},labelCol:{span:7},size:"large",wrapperCol:{span:17},onValuesChange:(Et,Xe)=>{Et.school_id&&(ln(Xe.school_id),ue.setFieldValue("department_id",null))},onFinish:Et=>b(void 0,null,function*(){Te(!0);const Xe=yield(0,I.Wz)(Et);Xe.status===0&&(n.ZP.success("\u521B\u5EFA\u6210\u529F"),ue.resetFields(),Ne(),(0,Z.xg)(`/graduations/${Xe==null?void 0:Xe.identifier}/index`)),Te(!1)})},t.createElement(C.default.Item,{name:"year",label:"\u9009\u62E9\u5C4A\u522B",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5C4A\u522B"}]},t.createElement(r.default,{style:{width:344},size:"large",options:ct.map(Et=>({value:Et,label:Et}))})),t.createElement(C.default.Item,{name:"school_id",label:"\u5B66\u6821",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u6821"}]},t.createElement(r.default,{showSearch:!0,filterOption:!1,onSearch:Et=>{$t(Et)},loading:Ue,size:"large",style:{width:344},options:dt.map(Et=>({value:Et.id,label:Et.name}))})),t.createElement(C.default.Item,{name:"department_id",label:"\u5B66\u9662",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u9662"}]},t.createElement(r.default,{showSearch:!0,optionFilterProp:"label",style:{width:344},size:"large",options:rt.map(Et=>({value:Et.id,label:Et.name}))})),t.createElement(C.default.Item,{name:"name",label:"\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0"}]},t.createElement(M.default,{showCount:!0,style:{width:344},maxLength:60}))))};var H=(0,i.connect)(({user:oe,globalSetting:ve,loading:xe})=>({user:oe,globalSetting:ve,loading:xe}))(ae),X=e(99064),A=Object.defineProperty,V=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,W=(oe,ve,xe)=>ve in oe?A(oe,ve,{enumerable:!0,configurable:!0,writable:!0,value:xe}):oe[ve]=xe,$=(oe,ve)=>{for(var xe in ve||(ve={}))D.call(ve,xe)&&W(oe,xe,ve[xe]);if(V)for(var xe of V(ve))be.call(ve,xe)&&W(oe,xe,ve[xe]);return oe},z=(oe,ve,xe)=>new Promise((pe,Ne)=>{var ct=ft=>{try{dt(xe.next(ft))}catch(rt){Ne(rt)}},lt=ft=>{try{dt(xe.throw(ft))}catch(rt){Ne(rt)}},dt=ft=>ft.done?pe(ft.value):Promise.resolve(ft.value).then(ct,lt);dt((xe=xe.apply(oe,ve)).next())});const k=({globalSetting:oe,dispatch:ve,user:xe,open:pe,onCancel:Ne=()=>{}})=>{const[ct]=C.default.useForm(),[lt,dt]=(0,t.useState)(!1),[ft,rt]=(0,t.useState)(null);return(0,t.useEffect)(()=>{var at;if(pe){const ue={code:"",user_type:((at=xe==null?void 0:xe.userInfo)==null?void 0:at.identity)==="student"?2:1,major:""};ct.setFieldsValue(ue),rt($({},ue))}},[pe]),t.createElement(c.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:pe,title:"\u52A0\u5165\u6BD5\u8BBE",width:527,confirmLoading:lt,onCancel:Ne,onOk:()=>ct.submit()},t.createElement(C.default,{colon:!1,form:ct,initialValues:{user_type:1},labelCol:{span:5},wrapperCol:{span:19},size:"large",onValuesChange:(at,ue)=>rt($({},ue)),onFinish:at=>z(void 0,null,function*(){dt(!0);const ue=yield(0,X.ZP)("/api/graduations/join.json",{method:"post",body:at});ue.status===0&&(Ne(),ue!=null&&ue.identifier?(0,Z.xg)(`/graduations/${ue==null?void 0:ue.identifier}/index`):n.ZP.success(ue==null?void 0:ue.message)),dt(!1)})},t.createElement(C.default.Item,{name:"code",label:"\u6BD5\u8BBE\u9080\u8BF7\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801"}]},t.createElement(M.default,{placeholder:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801",size:"large"})),t.createElement(C.default.Item,{name:"user_type",label:"\u8EAB\u4EFD",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801"}]},t.createElement(p.ZP.Group,null,t.createElement(p.ZP,{value:1,style:{color:"#000"}},"\u7BA1\u7406\u5458\uFF08\u6559\u5E08\uFF09"),t.createElement(p.ZP,{className:"ml30",style:{color:"#000"},value:2},"\u5B66\u751F"))),(ft==null?void 0:ft.user_type)===2&&t.createElement(C.default.Item,{style:{marginBottom:0},name:"major",label:"\u4E13\u4E1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"}]},t.createElement(M.default,{showCount:!0,maxLength:60}))))};var Ee=(0,i.connect)(({user:oe,globalSetting:ve})=>({user:oe,globalSetting:ve}))(k),l=e(59301),y=Object.defineProperty,T=Object.defineProperties,R=Object.getOwnPropertyDescriptors,F=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,Qe=(oe,ve,xe)=>ve in oe?y(oe,ve,{enumerable:!0,configurable:!0,writable:!0,value:xe}):oe[ve]=xe,Re=(oe,ve)=>{for(var xe in ve||(ve={}))U.call(ve,xe)&&Qe(oe,xe,ve[xe]);if(F)for(var xe of F(ve))ce.call(ve,xe)&&Qe(oe,xe,ve[xe]);return oe},Ve=(oe,ve)=>T(oe,R(ve)),vt=(oe,ve)=>{var xe={};for(var pe in oe)U.call(oe,pe)&&ve.indexOf(pe)<0&&(xe[pe]=oe[pe]);if(oe!=null&&F)for(var pe of F(oe))ve.indexOf(pe)<0&&ce.call(oe,pe)&&(xe[pe]=oe[pe]);return xe},xt=(oe=>(oe.Projects="projects",oe.Shixuns="shixuns",oe.Classrooms="classrooms",oe))(xt||{}),mt=(oe=>(oe.Classrooms="classrooms",oe.Shixuns="shixuns",oe.Paths="paths",oe.Projects="projects",oe.Videos="videos",oe.Topics="topics",oe))(mt||{});const Oe=oe=>{var ve=oe,{homePage:xe,user:pe,globalSetting:Ne,loading:ct,dispatch:lt}=ve,dt=vt(ve,["homePage","user","globalSetting","loading","dispatch"]),ft,rt,at,ue,we,Te,Ue,ze;const[tt,Ge]=(0,t.useState)(),[gt,yt]=(0,t.useState)(),[bt,Qt]=(0,t.useState)(!1),[$t,ln]=(0,t.useState)(!1),Et=Ot=>{var sn;if((0,Q.tJ)(lt,!1,Ot==="classrooms","",!0)){if(Ot==="projects"&&!((sn=pe.userInfo)!=null&&sn.email)){n.ZP.info("\u8BF7\u5148\u7ED1\u5B9A\u90AE\u7BB1\uFF0C\u8C22\u8C22");return}Ot==="classrooms"?Ge(!0):Ot==="projects"&&yt(!0)}},Xe=(Ot,sn)=>{var Xt;if((0,Q.tJ)(lt)){if(sn==="projects"&&!((Xt=pe.userInfo)!=null&&Xt.email)){n.ZP.info("\u8BF7\u5148\u7ED1\u5B9A\u90AE\u7BB1\uFF0C\u8C22\u8C22");return}sn==="shixuns"&&!(0,Q.xY)()||Ot&&(window.location.href=Ot)}},Pt=(rt=(((ft=Ne.setting)==null?void 0:ft.navbar)||[]).find(Ot=>Ot.link==="/classrooms"))==null?void 0:rt.hidden;let Jt=(ue=(((at=Ne.setting)==null?void 0:at.navbar)||[]).find(Ot=>Ot.link==="/shixuns"))==null?void 0:ue.hidden;const Ut=(Te=(((we=Ne.setting)==null?void 0:we.navbar)||[]).find(Ot=>Ot.link==="/paths"))==null?void 0:Te.hidden;(Ue=Ne==null?void 0:Ne.setting)!=null&&Ue.is_local&&((ze=pe==null?void 0:pe.userInfo)!=null&&ze.is_shixun_marker||(Jt=!0));const Vt=Ot=>{var sn,Xt,An,Mn,nt,Ft,zt,en,Cn,yn,wn,cn,Rn,Zn,Cr,rn,jt,Bn,Xn;return l.createElement(l.Fragment,null,l.createElement(Y.Z,{justify:"space-around",className:"pt5 pb5"},l.createElement(ne.Z,{className:Ae.joinCol},((sn=pe.userInfo)==null?void 0:sn.user_identity)!=="\u5B66\u751F"&&!Pt&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>Xe("/classrooms/new")},(Xt=pe.userInfo)!=null&&Xt.main_site?"\u65B0\u5EFA\u6559\u5B66\u8BFE\u5802":"\u65B0\u5EFA\u8BFE\u5802")),!Jt&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>Xe("/shixuns/new","shixuns")},"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE")),(((An=pe.userInfo)==null?void 0:An.main_site)||!((Mn=pe.userInfo)!=null&&Mn.main_site)&&!Ut&&(((nt=pe.userInfo)==null?void 0:nt.admin)||((Ft=pe.userInfo)==null?void 0:Ft.is_teacher)||((zt=pe.userInfo)==null?void 0:zt.business)))&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>Xe("/paths/new")},"\u65B0\u5EFA\u5B9E\u8DF5\u8BFE\u7A0B")),!((en=Ne==null?void 0:Ne.setting)!=null&&en.is_local)&&((Cn=pe.userInfo)==null?void 0:Cn.main_site)&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>{var hr;return Xe(`${(hr=Ne==null?void 0:Ne.setting)==null?void 0:hr.old_url}/projects/deposit/new`,"projects")}},"\u65B0\u5EFA\u5F00\u53D1\u9879\u76EE")),window.location.host!=="narl.educoder.net"&&((yn=pe==null?void 0:pe.userInfo)==null?void 0:yn.identity)!=="student"&&l.createElement(m.default.Item,Ve(Re({},Ot),{onClick:()=>{(0,Q.o1)(lt)&&Qt(!0)}}),l.createElement("a",null,"\u65B0\u5EFA\u6BD5\u4E1A\u8BBE\u8BA1")),!((wn=pe.userInfo)!=null&&wn.main_site)&&l.createElement("div",null,!Pt&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>Et("classrooms")},(cn=pe.userInfo)!=null&&cn.main_site?"\u52A0\u5165\u6559\u5B66\u8BFE\u5802":"\u52A0\u5165\u8BFE\u5802")),((Rn=pe.userInfo)==null?void 0:Rn.main_site)&&!((Zn=Ne==null?void 0:Ne.setting)!=null&&Zn.is_local)&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>Et("projects")},"\u52A0\u5165\u5F00\u53D1\u9879\u76EE")))),((Cr=pe.userInfo)==null?void 0:Cr.main_site)&&l.createElement(ne.Z,null,l.createElement("div",{className:Ae.joinBoard})),((rn=pe.userInfo)==null?void 0:rn.main_site)&&l.createElement(ne.Z,{className:Ae.joinCol},!Pt&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>Et("classrooms")},(jt=pe.userInfo)!=null&&jt.main_site?"\u52A0\u5165\u6559\u5B66\u8BFE\u5802":"\u52A0\u5165\u8BFE\u5802")),((Bn=pe.userInfo)==null?void 0:Bn.main_site)&&!((Xn=Ne==null?void 0:Ne.setting)!=null&&Xn.is_local)&&l.createElement(m.default.Item,Re({},Ot),l.createElement("a",{onClick:()=>Et("projects")},"\u52A0\u5165\u5F00\u53D1\u9879\u76EE")),l.createElement(m.default.Item,Ve(Re({},Ot),{onClick:()=>{(0,Q.o1)(lt)&&ln(!0)}}),l.createElement("a",null,"\u52A0\u5165\u6BD5\u4E1A\u8BBE\u8BA1")))))};return l.createElement("section",null,l.createElement(de.Z,{dropdownRender:()=>l.createElement(m.default,{className:`${Ae.rightMenu} ${Ae.joinMenu} mt10`},l.createElement(Vt,null)),placement:"bottomRight"},l.createElement("span",{style:{lineHeight:"inherit"},className:"iconfont icon-tianjiafangda c-white font18 current ml15 mr15"})),l.createElement(Be.Z,{visible:tt,onCancel:()=>Ge(!1)}),l.createElement(ye,{visible:gt,onCancel:()=>yt(!1)}),l.createElement(H,{open:bt,onCancel:()=>Qt(!1)}),l.createElement(Ee,{open:$t,onCancel:()=>ln(!1)}))};var _e=(0,i.connect)(({homePage:oe,loading:ve,user:xe,globalSetting:pe})=>({homePage:oe,user:xe,globalSetting:pe,loading:ve.models.index}))(Oe),v={flex_box_center:"flex_box_center___YbxYn",flex_space_between:"flex_space_between___Atwkg",flex_box_vertical_center:"flex_box_vertical_center____I6AC",flex_box_center_end:"flex_box_center_end___LrYPg",flex_box_column:"flex_box_column___j7QNF",userPic:"userPic___a46Uz",rightMenu:"rightMenu___y_nqk",menuWrap:"menuWrap___iwlZB",exit:"exit___MOREW",classromediv:"classromediv___crYsO",glow:"glow___jMGk7",height67:"height67___asp2E",login:"login___WGEW9",icon:"icon___HABAt"},S=e(24065),g=e(24780),o=e(3294),L=e(59301),le=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,_=(oe,ve)=>{var xe={};for(var pe in oe)f.call(oe,pe)&&ve.indexOf(pe)<0&&(xe[pe]=oe[pe]);if(oe!=null&&le)for(var pe of le(oe))ve.indexOf(pe)<0&&s.call(oe,pe)&&(xe[pe]=oe[pe]);return xe},N=(oe,ve,xe)=>new Promise((pe,Ne)=>{var ct=ft=>{try{dt(xe.next(ft))}catch(rt){Ne(rt)}},lt=ft=>{try{dt(xe.throw(ft))}catch(rt){Ne(rt)}},dt=ft=>ft.done?pe(ft.value):Promise.resolve(ft.value).then(ct,lt);dt((xe=xe.apply(oe,ve)).next())});const B=oe=>{var ve,xe=RegExp("(^| )"+oe+"=([^;]+)(;|$)");return(ve=document.cookie.match(xe))?decodeURIComponent(ve[2]):null},J=oe=>{var ve=new Date;ve.setTime(ve.getTime()-1);var xe=B(oe);xe!=null&&(document.cookie=oe+"="+xe+";expires="+ve.toGMTString())};var De=(oe=>(oe.Classrooms="classrooms",oe.Shixuns="shixuns",oe.Paths="paths",oe.Projects="projects",oe.Videos="videos",oe.Topics="topics",oe))(De||{});const ie=oe=>{var ve=oe,{homePage:xe,user:pe,globalSetting:Ne,loading:ct,dispatch:lt,shixunHomeworks:dt,location:ft,payload:rt={}}=ve,at=_(ve,["homePage","user","globalSetting","loading","dispatch","shixunHomeworks","location","payload"]),ue,we,Te,Ue,ze,tt,Ge,gt,yt,bt;const Qt=(we=(((ue=Ne.setting)==null?void 0:ue.navbar)||[]).find(Pt=>Pt.link==="/classrooms"))==null?void 0:we.hidden,$t=(Ue=(((Te=Ne.setting)==null?void 0:Te.navbar)||[]).find(Pt=>Pt.link==="/shixuns"))==null?void 0:Ue.hidden,ln=(tt=(((ze=Ne.setting)==null?void 0:ze.navbar)||[]).find(Pt=>Pt.link==="/paths"))==null?void 0:tt.hidden,Et=(Ge=pe.userInfo)==null?void 0:Ge.is_school_manage,Xe=()=>{var Pt,Jt,Ut,Vt,Ot,sn,Xt,An;return(0,Z.Ll)()?L.createElement(m.default,{className:`${v.rightMenu} ${v.menuWrap}`},L.createElement(m.default.Item,null,L.createElement(i.Link,{to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406"))):L.createElement(m.default,{className:`${v.rightMenu} ${v.menuWrap}`},L.createElement(m.default.Item,null,L.createElement(i.Link,{to:`/users/${(Pt=pe.userInfo)==null?void 0:Pt.login}/classrooms`},"\u6211\u7684\u4E2A\u4EBA\u4E3B\u9875")),!Qt&&L.createElement(m.default.Item,null,L.createElement(i.Link,{to:`/users/${(Jt=pe.userInfo)==null?void 0:Jt.login}/classrooms`},(Ut=pe.userInfo)!=null&&Ut.main_site?"\u6211\u7684\u6559\u5B66\u8BFE\u5802":"\u6211\u7684\u8BFE\u5802")),!$t&&L.createElement(m.default.Item,null,L.createElement(i.Link,{to:`/users/${(Vt=pe.userInfo)==null?void 0:Vt.login}/shixuns`},"\u6211\u7684\u5B9E\u8DF5\u9879\u76EE")),!ln&&L.createElement(m.default.Item,null,L.createElement(i.Link,{to:`/users/${(Ot=pe.userInfo)==null?void 0:Ot.login}/paths`},(sn=pe.userInfo)!=null&&sn.main_site?"\u6211\u7684\u5B9E\u8DF5\u8BFE\u7A0B":"\u6211\u7684\u8BFE\u7A0B")),L.createElement(m.default.Item,null,L.createElement(i.Link,{to:`/users/${(Xt=pe.userInfo)==null?void 0:Xt.login}/teach-group`},"\u6211\u7684\u6559\u7814\u56E2\u961F")),L.createElement(m.default.Item,null,L.createElement(i.Link,{to:`/users/${(An=pe.userInfo)==null?void 0:An.login}/competitions`},"\u6211\u7684\u7ADE\u8D5B\u7BA1\u7406")),L.createElement(m.default.Item,null,L.createElement(i.Link,{to:"/order"},"\u6211\u8D2D\u4E70\u7684\u8BFE\u7A0B")),(0,S.Ny)()&&L.createElement(m.default.Item,null,L.createElement(i.Link,{to:"/quality"},"\u7CBE\u54C1\u8BFE\u7A0B")),!(0,S.JA)()&&L.createElement(m.default.Item,null,L.createElement("a",{onClick:()=>{(0,Q.tJ)(lt)&&i.history.push("/problemset")}},"\u8BD5\u9898\u5E93")),!(0,S.JA)()&&L.createElement(m.default.Item,null,L.createElement("a",{onClick:()=>{(0,Q.tJ)(lt)&&i.history.push("/paperlibrary")}},"\u8BD5\u5377\u5E93")),L.createElement(m.default.Item,null,L.createElement(i.Link,{onClick:()=>{localStorage.getItem("Noviceguide")==="0"||lt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:2,href:"/classrooms",text:L.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}})},to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406")),Et&&L.createElement(m.default.Item,null,L.createElement(i.Link,{to:"/administration/college"},"\u9AD8\u6821\u7BA1\u7406")),L.createElement(m.default.Item,{className:v.exit},L.createElement("a",{onClick:()=>N(void 0,null,function*(){try{const Mn=yield(0,g.vR)({});n.ZP.success(Mn==null?void 0:Mn.message)}catch(Mn){}(0,Z.d8)("_educoder_session","logout",1),(0,Z.m5)(),localStorage.removeItem("isfirst"),localStorage.removeItem("SystemUpdateadvtime"),localStorage.removeItem("item"),localStorage.removeItem("iscreate"),setTimeout(()=>{window.location.href="/"},800)})},"\u9000\u51FA")))};return(0,S.bg)()?L.createElement(de.Z,{className:`${v.height67}`,dropdownRender:Xe,placement:"bottomRight"},L.createElement("section",null,L.createElement("aside",null,L.createElement("div",{className:dt.actionTabs.type===1?v.classromediv:""},L.createElement("img",{className:`${v.userPic} current ml15`,src:`${(gt=o.Z)==null?void 0:gt.IMG_SERVER}/images/${(yt=pe.userInfo)==null?void 0:yt.image_url}`,alt:"",onClick:()=>{var Pt;return i.history.push((0,Z.Ll)()?"/account/profile":`/users/${(Pt=pe.userInfo)==null?void 0:Pt.login}/classrooms`)}}),(0,Z.Ll)()&&L.createElement("span",{className:"ml10 font16"},(bt=pe.userInfo)==null?void 0:bt.username),L.createElement("i",{className:`iconfont icon-zhankai4 ${v.icon}`}))))):L.createElement("div",{className:`font15 ${Ne.isIlearning?v.login:""}`},L.createElement("span",{className:"ml10 mr5 current c-white",onClick:()=>{lt({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})}},"\u767B\u5F55 / \u6CE8\u518C"))};var Le=(0,i.connect)(({homePage:oe,loading:ve,user:xe,globalSetting:pe,shixunHomeworks:Ne})=>({homePage:oe,user:xe,globalSetting:pe,shixunHomeworks:Ne,loading:ve.models.index}))(ie),Pe={tip:"tip___a6MfI"},Fe=e(61186),Me=e.n(Fe),ut=e(59301),ht=(oe,ve,xe)=>new Promise((pe,Ne)=>{var ct=ft=>{try{dt(xe.next(ft))}catch(rt){Ne(rt)}},lt=ft=>{try{dt(xe.throw(ft))}catch(rt){Ne(rt)}},dt=ft=>ft.done?pe(ft.value):Promise.resolve(ft.value).then(ct,lt);dt((xe=xe.apply(oe,ve)).next())}),Je=(oe=>(oe[oe.Professor=1]="Professor",oe[oe.AssistantProfessor=2]="AssistantProfessor",oe[oe.Student=3]="Student",oe))(Je||{});const wt=({visible:oe,user:ve,onCancel:xe=()=>{},dispatch:pe})=>{var Ne,ct,lt;const[dt,ft]=(0,t.useState)(),[rt,at]=(0,t.useState)([]),[ue,we]=(0,t.useState)(!1),[Te,Ue]=(0,t.useState)(!1),[ze,tt]=(0,t.useState)(),[Ge,gt]=(0,t.useState)(!1),yt=(Ne=window.location.pathname)==null?void 0:Ne.includes("classrooms/");(0,t.useEffect)(()=>{var Xe,Pt;(Xe=ve==null?void 0:ve.userInfo)!=null&&Xe.identity&&at([((Pt=ve==null?void 0:ve.userInfo)==null?void 0:Pt.identity)==="student"?3:1])},[ve]),(0,t.useEffect)(()=>{var Xe,Pt,Jt;if(console.log(ve==null?void 0:ve.userInfo),(Xe=ve==null?void 0:ve.userInfo)!=null&&Xe.user_status)if(((Pt=ve==null?void 0:ve.userInfo)==null?void 0:Pt.role)===15){gt(!1);return}else{let Ut=JSON.parse(yt?localStorage==null?void 0:localStorage.getItem("delaytip_class"):localStorage==null?void 0:localStorage.getItem("delaytip_user"));Ut&&(Ut==null?void 0:Ut.login)===((Jt=ve==null?void 0:ve.userInfo)==null?void 0:Jt.login)?(console.log(Me()(Ut==null?void 0:Ut.time).add(1,"days")),console.log(Me()(new Date)),Me()(Ut==null?void 0:Ut.time).add(1,"days").set({hour:0,minute:0,second:0}){if(rt.includes(1)){c.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:ut.createElement("div",{className:"tc"},Pt||"\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838"),onOk:()=>{window.location.href=`/classrooms/${Xe}/students`}});return}window.location.href=`/classrooms/${Xe}/students`},Qt=()=>ht(void 0,null,function*(){if(!dt){n.ZP.info("\u9080\u8BF7\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}we(!0);const Xe=yield(0,P.cR)({invite_code:dt,professor:rt.includes(1)?1:null,assistant_professor:rt.includes(2)?1:null,student:rt.includes(3)?1:null});if(we(!1),(Xe==null?void 0:Xe.status)===-1&&pe({type:"classroomList/setActionTabs",payload:{key:"\u5230\u671F\u63D0\u793A"}}),(Xe==null?void 0:Xe.status)===-2){if($t(),Xe.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u8BA4\u8BC1"){Ue(!0),tt(1);return}if(Xe.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u804C\u4E1A\u8BA4\u8BC1"){Ue(!0),tt(2);return}if(Xe.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u548C\u804C\u4E1A\u8BA4\u8BC1"){Ue(!0),tt(3);return}}if((Xe==null?void 0:Xe.status)===0){(0,Z.L9)(["\u6559\u5B66\u8BFE\u5802","\u9996\u9875","\u52A0\u5165\u8BFE\u5802"]),$t(),Xe!=null&&Xe.course_id?bt(Xe.course_id,Xe.message):n.ZP.success(Xe.message);return}}),$t=()=>ht(void 0,null,function*(){xe()}),ln=()=>{var Xe,Pt;yt?localStorage.setItem("delaytip_class",JSON.stringify({time:new Date,login:(Xe=ve==null?void 0:ve.userInfo)==null?void 0:Xe.login})):localStorage.setItem("delaytip_user",JSON.stringify({time:new Date,login:(Pt=ve==null?void 0:ve.userInfo)==null?void 0:Pt.login})),gt(!1)},Et=()=>ht(void 0,null,function*(){let Xe=yield(0,X.ZP)("/api/business_contacts.json",{method:"post"});(Xe==null?void 0:Xe.status)===0&&n.ZP.info("\u7533\u8BF7\u6210\u529F")});return ut.createElement(ut.Fragment,null,Ge&&ut.createElement("div",{style:{background:"rgba(255,24,24,0.1)",color:"#E30000",display:"none"}},ut.createElement("div",{className:Pe.tip},ut.createElement("div",null,ut.createElement("i",{className:"iconfont icon-tishi9 font14 mr10",style:{color:"#E30000"}}),yt?ut.createElement(ut.Fragment,null,"\u5C0A\u656C\u7684\u8001\u5E08\u60A8\u597D\uFF0C\u8D35\u5355\u4F4D\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u60A8\u7684\u6559\u5B66\u8BFE\u5802\u7684",((lt=ve==null?void 0:ve.userInfo)==null?void 0:lt.user_status)==2?"\u90E8\u5206\u529F\u80FD\u5DF2\u88AB\u9650\u5236":"\u529F\u80FD\u5C06\u53D7\u5230\u9650\u5236",'\uFF0C\u4E3A\u786E\u4FDD\u6821\u5185\u6559\u5B66\u4E0D\u53D7\u5F71\u54CD\uFF0C\u8BF7\u5148\u70B9\u51FB\u53F3\u4FA7\u7684"\u7533\u8BF7\u5EF6\u671F"\u6309\u94AE\uFF0C\u5E73\u53F0\u5C06\u63A8\u52A8\u89E3\u51B3\u76F8\u5173\u4E8B\u5B9C\u3002'):ut.createElement(ut.Fragment,null,'\u5C0A\u656C\u7684\u8001\u5E08\u60A8\u597D\uFF0C\u8D35\u5355\u4F4D\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u5C06\u53D7\u5230\u9650\u5236\uFF0C\u4E3A\u786E\u4FDD\u6821\u5185\u6559\u5B66\u4E0D\u53D7\u5F71\u54CD\uFF0C\u8BF7\u5148\u70B9\u51FB\u53F3\u4FA7\u7684"\u7533\u8BF7\u5EF6\u671F"\u6309\u94AE\uFF0C\u5E73\u53F0\u5C06\u63A8\u52A8\u89E3\u51B3\u76F8\u5173\u4E8B\u5B9C\u3002')),ut.createElement("div",null,ut.createElement("span",{className:"mr15",style:{color:"#666666",cursor:"pointer"},onClick:ln},"\u5FFD\u7565"),ut.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:Et},"\u7533\u8BF7\u5EF6\u671F")))))};var Nt=(0,i.connect)(({user:oe})=>({user:oe}))(wt),Kt=e(3113),Rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAACpCAYAAAD6OhnWAAAAAXNSR0IArs4c6QAAIABJREFUeF7sfQWcHEX2/7daxtc17oYFSYIeBPsBgRwECe6BcHDIccghRxIk6MFB4A4NJHiCB7egwXJokLhnXcenu6v+n1fdPTu7O7vZjcHdn/4wzGa3p+dVfeu9932vXlUx/A9c/ecLnxZPDVQsDFOYNQiq0h+KVgYhBoLzfkKIfGomY6wRirIajK0AN6tg8VVcqMu5isWm37Ni1f4s8d/eHey/sQGDXxe5qmLuBW4dyFRtT3BrBw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Aq2/0F7CG+TE9S9iNx/smXxRlo23j2DAfcy/jbOukAuLGgvA0lBoa7CWAqTG/x3/QQ7UGBZq8WwM99Bsrvi66rNgnuBjTlwqVUSMkwQHNOKkBv5LFa/iBQ9xXNdiGLx4xMZvK0hc+JGlq2S2oG3CbtxSgOlTT+Ek2XIGsWTASOYHLumUV2HhfcbJv9I8HisU6zUFvDT7ZFs42aQ2yDsD+TQB9whIjHiNhNoH153YJyD5C8mFrElozXvNXP1ILSBezZ7GUP28656wzuBJl3eg4aJ1CYQO2+ABUy2GNWzZQQqzy1IYiJ8TJTZa3aZ9AdAqIXs3bNjoe+a2nWFnFBorK+5cgrzy95TtAE5AIRx6D7M80zCXYW008MwpMFIuaI2GRjlNnH1ZufRcABIm4hNjsotR0ItJh0ArjET0LIJ2USOwfgs15S23v7GvD2vVXf7Z+bp8y68ZLVvE5mZzcg7qTz5ydQcZRMZfLQPSDyfCcdyVAO1rteKY1eOAL0bmIXsqmUTf4jAkWWbXGDX0QQLJ7vZRZl0Njo4yZis9C/y7f7lIWk/WIusJOc9Q6fd/1iC8pVnnXlMd35t+tpm5zc3Nb4lu41dmzG8my45vRHft5pAdb4eXn9cb7+hfxhaJ60AYVCIX9yOCSrlq8pG7cogoPm6vz772Yz3LrJmo97Kuet/weX7/RHY+BFcPwPAL3oJXTdfvZSiJV7t6yjnb+FjsTzfpr81XWfddddc59Vq9lHCo9XeWcuesz/KaAXvezzbl/7MFzqqZ4tay71Ej6mO/0Xg5uniQ1vwFgAAAAASUVORK5CYII=",gn=Object.getOwnPropertySymbols,Pn=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,Tn=(oe,ve)=>{var xe={};for(var pe in oe)Pn.call(oe,pe)&&ve.indexOf(pe)<0&&(xe[pe]=oe[pe]);if(oe!=null&&gn)for(var pe of gn(oe))ve.indexOf(pe)<0&&Sn.call(oe,pe)&&(xe[pe]=oe[pe]);return xe};const Yn=null,pn=oe=>{var ve=oe,{homePage:xe,user:pe,globalSetting:Ne,loading:ct,dispatch:lt,location:dt,text:ft,shixunHomeworks:rt,payload:at={}}=ve,ue=Tn(ve,["homePage","user","globalSetting","loading","dispatch","location","text","shixunHomeworks","payload"]);const[we,Te]=(0,t.useState)("none");return(0,t.useEffect)(()=>{rt.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"&&Te("flex")},[rt.actionTabs.key]),(0,t.useEffect)(()=>{rt.actionTabs.key==="\u9690\u85CF"&&(Te("none"),localStorage.setItem("Noviceguide","0"))},[rt.actionTabs.key]),t.createElement("div",{style:{display:we,background:"#fff",width:"100%",height:"200px",position:"fixed",bottom:"0px",boxShadow:"0px -4px 6px 0px rgba(204, 204, 204, 0.2)",zIndex:"999"}},t.createElement("div",{style:{margin:"0 auto",width:"1200px"}},t.createElement("img",{src:Rt,style:{position:"absolute",top:"-32px"}}),t.createElement("div",{style:{marginLeft:"151px",marginTop:"40px",fontSize:"18px",color:"#333333"}},rt.actionTabs.text),rt.actionTabs.type===9?t.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},t.createElement(Kt.ZP,{type:"primary",onClick:()=>{localStorage.setItem("Noviceguide","0"),Te("none"),lt({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"\u5446\u4F1A\u89C1\uFF0C\u6709\u4E8B\u547C\u6211")):t.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},t.createElement(Kt.ZP,{type:"primary",onClick:()=>{localStorage.setItem("Noviceguide","0"),lt({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),Te("none")},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"\u8DF3\u8FC7\uFF0C\u6211\u81EA\u5DF1\u6765"))))};var Tt=(0,i.connect)(({homePage:oe,loading:ve,user:xe,globalSetting:pe,shixunHomeworks:Ne})=>({homePage:oe,user:xe,globalSetting:pe,loading:ve.models.index,shixunHomeworks:Ne}))(pn),xn=Object.defineProperty,Gn=Object.getOwnPropertySymbols,Gt=Object.prototype.hasOwnProperty,zn=Object.prototype.propertyIsEnumerable,tr=(oe,ve,xe)=>ve in oe?xn(oe,ve,{enumerable:!0,configurable:!0,writable:!0,value:xe}):oe[ve]=xe,Jn=(oe,ve)=>{for(var xe in ve||(ve={}))Gt.call(ve,xe)&&tr(oe,xe,ve[xe]);if(Gn)for(var xe of Gn(ve))zn.call(ve,xe)&&tr(oe,xe,ve[xe]);return oe};const Wn=oe=>React.createElement("svg",Jn({width:46,height:18,xmlns:"http://www.w3.org/2000/svg"},oe),React.createElement("title",null,"logo2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M6.578 8.8c.162-.682.3-.737.982-.737.689 0 .793.055.632.737-.164.689-.298.76-.987.76-.682 0-.79-.071-.627-.76Zm-.222 1.198h1.488l-1.004 4.23H5.352l1.004-4.23ZM8.465 11.244h2.474l-.275 1.16H8.189zM15.12 12.889l-.317 1.34H11.23l1.291-5.437h1.56l-.974 4.097zM18.688 11.55c.076-.322.01-.541-.459-.541-.501 0-.748.117-.905.642l1.364-.102Zm1.041.955-2.636.156c-.002.369.3.517.84.517.571 0 1.259-.155 1.545-.305l-.26 1.097c-.301.18-1.012.337-1.85.337-1.332 0-2.039-.454-1.626-2.194.413-1.739 1.336-2.193 2.738-2.193 1.504 0 1.762.626 1.455 1.92-.082.344-.166.602-.206.665ZM22.806 12.936l.079-.33h-.595c-.47 0-.636.071-.695.322-.052.22.098.274.404.274.368 0 .655-.117.807-.266m1.857-1.583-.683 2.875h-1.347l-.025-.391c-.175.212-.596.47-1.34.47-.885 0-1.347-.4-1.131-1.308.23-.972.872-1.332 2.101-1.332h.87c.08-.43-.063-.494-.682-.494-.305 0-.6.024-.885.07l.295-1.245c.334-.054.792-.07 1.098-.07 1.48 0 1.963.438 1.729 1.425M28.691 9.92l-.346 1.324h-.118c-.493 0-1.055.188-1.257.776l-.525 2.208h-1.488l1.005-4.23h1.488l-.175.737c.41-.674.828-.815 1.329-.815h.087ZM33.084 11.369l-.68 2.86h-1.488l.6-2.523c.124-.525.012-.611-.458-.611-.376 0-.572.133-.685.345l-.663 2.788h-1.488l1.005-4.23h1.488l-.102.431c.28-.29.74-.51 1.43-.51.993 0 1.285.424 1.041 1.45M34.507 8.8c.162-.682.3-.737.982-.737.688 0 .793.055.631.737-.163.689-.297.76-.987.76-.681 0-.79-.071-.626-.76Zm-.222 1.198h1.488l-1.004 4.23H33.28l1.004-4.23Z",fill:"#196EFD"}),React.createElement("path",{d:"M34.507 8.8c.162-.682.3-.737.982-.737.688 0 .793.055.631.737-.163.689-.297.76-.987.76-.681 0-.79-.071-.626-.76Zm-.222 1.198h1.488l-1.004 4.23H33.28l1.004-4.23ZM40.522 11.369l-.68 2.86h-1.488l.6-2.523c.124-.525.011-.611-.458-.611-.376 0-.573.133-.685.345l-.663 2.788H35.66l1.004-4.23h1.489l-.102.431c.28-.29.74-.51 1.428-.51.996 0 1.286.424 1.043 1.45",fill:"#196EFD"}),React.createElement("path",{d:"M44.025 12.071c-.173.721-.317 1.132-1.023 1.132-.606 0-.577-.519-.433-1.132.137-.57.353-1.088.959-1.088.714 0 .663.41.497 1.088Zm.425-2.076-.086.368c-.094-.31-.382-.44-1.103-.44-1.34 0-1.917.995-2.199 2.148-.302 1.29-.165 2.156 1.175 2.156.714 0 1.089-.18 1.32-.483l-.022.108c-.187.786-.41 2.004-1.32 2.256-.662.188-1.463-.339-2.09-.548a13.981 13.981 0 0 0-2.408-.59c-1.917-.296-3.878-.174-5.73.41-3.287 1.042-6.775 1.315-10.205 1.352-3.509.037-6.943-.052-10.374-.907-1.071-.267-2.084-.825-3.167-1.001-1.74-.284-3.94.465-5.22-1.16-.584-.735-.915-1.6-.915-2.515 0-1.767 1.225-3.324 3.085-4.225l.591-.764c-.11.145-1.174.218-1.397.285a8.478 8.478 0 0 0-1.524.617c-.936.491-1.82 1.178-2.374 2.093-1.003 1.654-.346 3.809.968 5.109.914.903 2.122 1.454 3.368 1.72 1.298.277 2.684-.167 3.943.277 1.134.4 2.144.831 3.342 1.075a31.42 31.42 0 0 0 3.874.526c2.931.224 5.859.083 8.79-.055a29.884 29.884 0 0 0 7.56-1.331c1.817-.577 3.763-.642 5.63-.281 1.471.28 3.187 1.413 4.686.944 1.428-.44 2.033-1.932 2.35-3.265l.923-3.879h-1.47Z",fill:"#23DD7F"}),React.createElement("path",{d:"m20.387 4.16-.735.079c-1.283-1.687-3.518-2.797-6.048-2.797-3.18 0-5.876 1.752-6.834 4.18l-1.81.196C5.17 2.58 8.637 0 12.883 0c3.489 0 6.452 1.737 7.504 4.16",fill:"#196EFD"}),React.createElement("path",{d:"M28.086 6.488h-2.508c-1.003-1.074-3.086-1.802-5.486-1.802-2.408 0-4.491.735-5.494 1.81.736-1.363 3.043-2.567 5.876-2.92 3.446-.426 7.137 1.21 7.612 2.912",fill:"#196EFD"})));var br="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNi41NzggOC44Yy4xNjItLjY4Mi4zLS43MzcuOTgyLS43MzcuNjg5IDAgLjc5My4wNTUuNjMyLjczNy0uMTY0LjY4OS0uMjk4Ljc2LS45ODcuNzYtLjY4MiAwLS43OS0uMDcxLS42MjctLjc2Wm0tLjIyMiAxLjE5OGgxLjQ4OGwtMS4wMDQgNC4yM0g1LjM1MmwxLjAwNC00LjIzWk04LjQ2NSAxMS4yNDRoMi40NzRsLS4yNzUgMS4xNkg4LjE4OXpNMTUuMTIgMTIuODg5bC0uMzE3IDEuMzRIMTEuMjNsMS4yOTEtNS40MzdoMS41NmwtLjk3NCA0LjA5N3pNMTguNjg4IDExLjU1Yy4wNzYtLjMyMi4wMS0uNTQxLS40NTktLjU0MS0uNTAxIDAtLjc0OC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CAwIDAgNy41Ni0xLjMzMWMxLjgxNy0uNTc3IDMuNzYzLS42NDIgNS42My0uMjgxIDEuNDcxLjI4IDMuMTg3IDEuNDEzIDQuNjg2Ljk0NCAxLjQyOC0uNDQgMi4wMzMtMS45MzIgMi4zNS0zLjI2NWwuOTIzLTMuODc5aC0xLjQ3WiIgZmlsbD0iIzIzREQ3RiIvPjxwYXRoIGQ9Im0yMC4zODcgNC4xNi0uNzM1LjA3OWMtMS4yODMtMS42ODctMy41MTgtMi43OTctNi4wNDgtMi43OTctMy4xOCAwLTUuODc2IDEuNzUyLTYuODM0IDQuMThsLTEuODEuMTk2QzUuMTcgMi41OCA4LjYzNyAwIDEyLjg4MyAwYzMuNDg5IDAgNi40NTIgMS43MzcgNy41MDQgNC4xNiIgZmlsbD0iIzE5NkVGRCIvPjxwYXRoIGQ9Ik0yOC4wODYgNi40ODhoLTIuNTA4Yy0xLjAwMy0xLjA3NC0zLjA4Ni0xLjgwMi01LjQ4Ni0xLjgwMi0yLjQwOCAwLTQuNDkxLjczNS01LjQ5NCAxLjgxLjczNi0xLjM2MyAzLjA0My0yLjU2NyA1Ljg3Ni0yLjkyIDMuNDQ2LS40MjYgNy4xMzcgMS4yMSA3LjYxMiAyLjkxMiIgZmlsbD0iIzE5NkVGRCIvPjwvZz48L3N2Zz4=",Or=e(89392),Ln=e(59301),sr=Object.defineProperty,nn=Object.getOwnPropertySymbols,Nn=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,d=(oe,ve,xe)=>ve in oe?sr(oe,ve,{enumerable:!0,configurable:!0,writable:!0,value:xe}):oe[ve]=xe,w=(oe,ve)=>{for(var xe in ve||(ve={}))Nn.call(ve,xe)&&d(oe,xe,ve[xe]);if(nn)for(var xe of nn(ve))se.call(ve,xe)&&d(oe,xe,ve[xe]);return oe},x=(oe,ve)=>{var xe={};for(var pe in oe)Nn.call(oe,pe)&&ve.indexOf(pe)<0&&(xe[pe]=oe[pe]);if(oe!=null&&nn)for(var pe of nn(oe))ve.indexOf(pe)<0&&se.call(oe,pe)&&(xe[pe]=oe[pe]);return xe},O=(oe,ve,xe)=>new Promise((pe,Ne)=>{var ct=ft=>{try{dt(xe.next(ft))}catch(rt){Ne(rt)}},lt=ft=>{try{dt(xe.throw(ft))}catch(rt){Ne(rt)}},dt=ft=>ft.done?pe(ft.value):Promise.resolve(ft.value).then(ct,lt);dt((xe=xe.apply(oe,ve)).next())});const{Header:re}=h.default,{Search:Se}=M.default;function Ye(){var oe,ve;const pe=window.location.pathname.split("/"),Ne={};return pe[1]=="classrooms"&&pe.length>3&&!((oe=pe[4])!=null&&oe.includes("newgold"))&&!((ve=pe[5])!=null&&ve.includes("newgold"))&&pe[2]!=="coursesId"&&(Ne.course_id=pe[2]),pe[1]==="shixuns"&&pe.length>3&&(Ne.objective_type="shixun",Ne.objective_id=pe[2]),pe[1]==="paths"&&pe.length>3&&(Ne.objective_type="path",Ne.objective_id=pe[2]),w(w({},Ne),{school:1})}const We=["/","/classrooms","/account/profile","/account/profile/edit","/classrooms/new"],it=oe=>{var ve=oe,{homePage:xe,user:pe,globalSetting:Ne,loading:ct,dispatch:lt,isLogin:dt=!1,shixunHomeworks:ft}=ve,rt=x(ve,["homePage","user","globalSetting","loading","dispatch","isLogin","shixunHomeworks"]),at,ue,we,Te,Ue,ze,tt,Ge,gt;const yt=(0,i.useLocation)(),[bt,Qt]=(0,t.useState)(!1),[$t,ln]=(0,t.useState)(""),[Et,Xe]=(0,t.useState)(!1),Pt=Ye();(0,t.useEffect)(()=>{lt({type:"user/getNavigationInfo",payload:w({},Pt)})},[Ne.name]),(0,t.useEffect)(()=>{ft.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"&&(We!=null&&We.includes(yt==null?void 0:yt.pathname)||(yt==null?void 0:yt.pathname.indexOf("/classrooms"))===0||lt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u9690\u85CF"}}))},[yt.pathname]),(0,t.useEffect)(()=>{ft.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"||ft.actionTabs.key||localStorage.setItem("Noviceguide","0")},[ft.actionTabs.key]),(0,t.useEffect)(()=>{var nt;if(Ne!=null&&Ne.setting){let Ft=(0,Or.cloneDeep)((nt=Ne==null?void 0:Ne.setting)==null?void 0:nt.navbar);Ft=Ft==null?void 0:Ft.filter(en=>{var Cn;return!(en!=null&&en.hidden)&&!((0,S.JA)()&&((Cn=["/paperlibrary","/problemset"])!=null&&Cn.includes(en.link)))});for(const en of Ft)en.subitem&&(en.subitem=en.subitem.filter(Cn=>{var yn;return!(Cn!=null&&Cn.hidden)&&!((0,S.JA)()&&((yn=["/paperlibrary","/problemset"])!=null&&yn.includes(Cn.link)))}));let zt=!1;Ft==null||Ft.map(function(en,Cn){var yn,wn,cn;const Rn=yt.pathname;en.link===Rn&&(ln(en==null?void 0:en.link),(0,Z.Dk)(Rn==="/"?(yn=Ne==null?void 0:Ne.setting)==null?void 0:yn.name:Mn(en==null?void 0:en.name)),sn(An(Cn,{name:en==null?void 0:en.name,link:en==null?void 0:en.link},Ft)),zt=!0),(wn=en==null?void 0:en.subitem)!=null&&wn.length&&((cn=en==null?void 0:en.subitem)==null||cn.map(Zn=>{Zn.link===Rn&&(ln(Zn==null?void 0:Zn.link),Rn!=="/"&&(0,Z.Dk)(Mn(Zn==null?void 0:Zn.name)),sn(An(Cn,{name:Zn==null?void 0:Zn.name,link:Zn==null?void 0:Zn.link},Ft)),zt=!0)}))}),zt||sn(Ft)}},[Ne==null?void 0:Ne.setting,pe]);const Jt=(0,t.useMemo)(()=>{var nt,Ft;return(nt=Ne==null?void 0:Ne.setting)!=null&&nt.nav_logo_url?`${o.Z.IMG_SERVER}/${(Ft=Ne==null?void 0:Ne.setting)==null?void 0:Ft.nav_logo_url}`:`${o.Z.IMG_SERVER}/images/avatars/LaboratorySetting/1nav?t=${new Date().getTime()}`},[(at=Ne==null?void 0:Ne.setting)==null?void 0:at.nav_logo_url]);function Ut(nt){i.history.push("/search?value="+nt)}const Vt=()=>bt?Ln.createElement("div",{onBlur:()=>{setTimeout(()=>{Qt(!1)},300)}},Ln.createElement(Se,{placeholder:"\u5B9E\u8DF5\u8BFE\u7A0B/\u6559\u5B66\u8BFE\u5802/\u5B9E\u8DF5\u9879\u76EE/\u4EA4\u6D41\u95EE\u7B54",className:"search-input mr20",onSearch:Ut,autoFocus:!0})):Ln.createElement("span",{className:"iconfont icon-sousuo font18 current ml15 mr15",onClick:()=>{i.history.push("/search?value=")}}),[Ot,sn]=(0,t.useState)([]),Xt=(nt,Ft)=>O(void 0,null,function*(){var zt,en,Cn,yn,wn,cn;if((nt==null?void 0:nt.name)==="\u5DE5\u7A0B\u8BA4\u8BC1"){const Rn=yield(0,g.IU)();(zt=Rn==null?void 0:Rn.data)!=null&&zt.engineer_url?(Cn=(en=Rn==null?void 0:Rn.data)==null?void 0:en.engineer_url)!=null&&Cn.includes("http")?(0,Z.xg)((yn=Rn==null?void 0:Rn.data)==null?void 0:yn.engineer_url):i.history.push((wn=Rn==null?void 0:Rn.data)==null?void 0:wn.engineer_url):(Rn==null?void 0:Rn.status)!=401&&Xe(!0);return}(cn=nt==null?void 0:nt.link)!=null&&cn.includes("http")?(0,Z.xg)(nt==null?void 0:nt.link):((0,Z.Dk)(nt==null?void 0:nt.name),i.history.push(nt==null?void 0:nt.link)),(nt==null?void 0:nt.name)==="\u6559\u5B66\u8BFE\u5802"&&localStorage.getItem("Noviceguide")!=="0"&<({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:5,text:Ln.createElement("div",null,"\u975E\u5E38\u68D2\uFF0C\u54B1\u4EEC\u5DF2\u7ECF\u5230\u8FBE\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u5E73\u53F0\u4E0A\u5DF2\u7ECF\u6709\u51E0\u5343\u4F4D\u8001\u5E08\u521B\u5EFA\u4E86\u81EA\u5DF1\u7684\u6559\u5B66\u8BFE\u5802\uFF0C\u4F60\u4E5F\u53EF\u4EE5\u8F7B\u677E\u5B8C\u6210\u54DF\uFF01\u73B0\u5728\u8BF7\u60A8\u70B9\u51FB\u9875\u9762\u4E0A \u201C\u65B0\u5EFA\u8BFE\u5802\u201D\u6309\u94AE\u5F00\u59CB\u65B0\u5EFA\u81EA\u5DF1\u7684\u8BFE\u5802~")}})}),An=(nt,Ft,zt)=>{const en=zt.slice();return en[nt]&&(en[nt].name=Ft.name,en[nt].link=Ft.link),en||[]},Mn=(nt="")=>nt.indexOf("<")>-1?nt.slice(0,nt.indexOf("<")):nt;return Ne.showHeader&&Ne.showHeaderFooter?Ln.createElement(h.default,{style:{background:`${yt.pathname=="/training"?"rgba(0,0,0,0)":""}`},className:`${Ne.isIlearning?E["header-iearning"]:E.header} ${Ne.showHeaderFixed?E.headerFixed:""}`},(Ne==null?void 0:Ne.showTip)&&Ln.createElement(Nt,null),Ln.createElement(re,{className:"header",style:{background:`${yt.pathname=="/training"?"rgba(0,0,0,0)":""}`,zIndex:`${yt.pathname=="/training"?"999":""}`}},Ln.createElement("section",{className:E["edu-menu"]},(!!Ne.isIlearning||!((ue=Ne==null?void 0:Ne.setting)!=null&&ue.main_site)&&!!((we=Ne==null?void 0:Ne.setting)!=null&&we.navbar))&&Ln.createElement(i.Link,{style:{display:"flex",alignItems:"center"},onClick:()=>{lt({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},to:"/"},Ln.createElement("img",{className:E.logo,title:(Te=Ne.setting)==null?void 0:Te.name,src:Jt||br})),Ln.createElement("ul",{className:`${E.menu} ${(0,Z.Ll)()&&"ml0"}`},(0,Z.Ll)()&&Ln.createElement("li",null,Ln.createElement("a",{href:"/"},"\u8003\u8BD5\u7CFB\u7EDF")),!(0,Z.Ll)()&&Ne.setting&&Ot.map(function(nt,Ft){var zt,en,Cn,yn,wn;return Ln.createElement("li",{key:Ft,className:!((zt=nt==null?void 0:nt.subitem)!=null&&zt.length)&&$t===(nt==null?void 0:nt.link)||(en=nt==null?void 0:nt.subitem)!=null&&en.some(cn=>$t===(cn==null?void 0:cn.link))?E.actived:""},Ln.createElement("div",{onClick:()=>Xt(nt,Ft),className:E.name},Ln.createElement("span",{dangerouslySetInnerHTML:{__html:(()=>{var cn;let Rn=nt==null?void 0:nt.name;return(cn=nt==null?void 0:nt.subitem)==null||cn.map((Zn,Cr)=>(Zn.link===yt.pathname&&(Rn=Zn.name),Zn)),Rn})()}}),((Cn=nt==null?void 0:nt.subitem)==null?void 0:Cn.length)>0&&Ln.createElement("i",{className:"iconfont icon-zhankai4"})),((yn=nt==null?void 0:nt.subitem)==null?void 0:yn.length)>0&&Ln.createElement("div",{className:E.dropDown},(wn=nt==null?void 0:nt.subitem)==null?void 0:wn.map((cn,Rn)=>Ln.createElement("div",{className:E.subName,onClick:()=>Xt(cn,Ft),key:Ft+"-"+Rn},!!Rn&&Ln.createElement("div",{className:E.line}),Ln.createElement("aside",{className:"font16 c-black"},Mn(cn.name)),Ln.createElement("div",{className:"font14",style:{color:"#9FA7B3",whiteSpace:"nowrap"}},cn.content)))))})),Ln.createElement("div",{className:"search-bar",style:{flex:Ne.isIlearning?"initial":"1 0 auto"}},!(0,Z.Ll)()&&!(Ne!=null&&Ne.isIlearning)&&Ln.createElement(Ln.Fragment,null,Ln.createElement(Vt,null),!dt&&Ln.createElement(_e,null),!dt&&!!((Ue=pe==null?void 0:pe.userInfo)!=null&&Ue.login)&&Ln.createElement(i.Link,{className:"iconfont icon-xiaoxilingdang c-white ml15 mr15 font18 relative",to:`/messages/${(ze=pe==null?void 0:pe.userInfo)==null?void 0:ze.login}/user_tidings`},((tt=pe==null?void 0:pe.navigationInfo)==null?void 0:tt.new_message)&&Ln.createElement("span",{className:E.newslight}))),!dt&&Ln.createElement(Le,{payload:Pt}))),Ln.createElement(c.default,{centered:!0,destroyOnClose:!0,open:Et,title:"\u63D0\u793A",width:"500px",okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Z.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=DWdqQHAbbfw7_rqm0d-Q_vDn5H6bMp91&jump_from=webapi")},onCancel:()=>Xe(!1)},Ln.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},Ln.createElement("p",null,"\u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650"),Ln.createElement("img",{src:`${o.Z.IMG_SERVER}/${(Ge=Ne==null?void 0:Ne.setting)==null?void 0:Ge.homepage_tea_qq_qrcode_url}`,width:200,height:200,className:"mb10"}),Ln.createElement("p",null,"\u7FA4\u53F7\uFF1A",(gt=Ne==null?void 0:Ne.setting)==null?void 0:gt.homepage_tea_qq_number)))),Ln.createElement(Tt,null)):Ln.createElement(Ln.Fragment,null)};var et=(0,i.connect)(({homePage:oe,loading:ve,user:xe,globalSetting:pe,shixunHomeworks:Ne})=>({homePage:oe,user:xe,globalSetting:pe,loading:ve.models.index,shixunHomeworks:Ne}))(it)},1011:function(Yt,je,e){e.d(je,{Z:function(){return mo}});var t=e(80813),i=e(92310),h=e.n(i),M=e(59301),c=function(){var j=(0,M.useRef)(!1);return(0,M.useEffect)(function(){return j.current=!1,function(){j.current=!0}},[]),j},E=c;function n(j){var fe=E(),Ie=(0,t.CR)((0,M.useState)(j),2),$e=Ie[0],pt=Ie[1],Zt=(0,M.useCallback)(function(En){fe.current||pt(En)},[]);return[$e,Zt]}var Y=n;function ne(j){var fe=(0,M.useRef)(j);return fe.current=j,fe}var m=ne,de=function(j){(0,M.useEffect)(function(){j()},[])},p=de;function P(j,fe){fe===void 0&&(fe={});var Ie=fe.insertAt;if(typeof document!="undefined"){var $e=document.head||document.getElementsByTagName("head")[0],pt=document.createElement("style");pt.type="text/css",Ie==="top"&&$e.firstChild?$e.insertBefore(pt,$e.firstChild):$e.appendChild(pt),pt.styleSheet?pt.styleSheet.cssText=j:pt.appendChild(document.createTextNode(j))}}var Z=`@-webkit-keyframes slider-icon-animate_spin { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); @@ -374,7 +374,7 @@ top: 22px; padding: 15px 0 0; } -`;P(Z);var ee="rc-slider-captcha";function te(j){var fe=0,Ie=0;return typeof j.clientX=="number"&&typeof j.clientY=="number"?(fe=j.clientX,Ie=j.clientY):j.touches&&j.touches[0]?(fe=j.touches[0].clientX,Ie=j.touches[0].clientY):j.changedTouches&&j.changedTouches[0]&&(fe=j.changedTouches[0].clientX,Ie=j.changedTouches[0].clientY),{clientX:fe,clientY:Ie}}function ke(j,fe){if(fe===void 0&&(fe={}),j)for(var Ie in fe)j.style[Ie]=fe[Ie]}var ye=typeof window=="object"&&window&&typeof document=="object"&&document&&window.document===document&&!!document.addEventListener,Be=ye&&"onpointerdown"in window,Ae=ye&&"ontouchstart"in window,Q=function(j){return j==null?void 0:j.scrollTop};function C(j,fe){return typeof j=="number"&&!Number.isNaN(j)&&typeof fe=="number"&&fe>0?Number(j.toFixed(fe)):j}var r="".concat(ee,"-button"),I=function(j){var fe,Ie=j.className,$e=j.disabled,pt=j.active,Zt=j.success,En=j.error,dn=j.verify,mr=j.buttonRef,Mr=(0,t._T)(j,["className","disabled","active","success","error","verify","buttonRef"]);return M.createElement("span",(0,t.pi)({className:h()(r,Ie,(fe={},fe["".concat(r,"-disabled")]=$e,fe["".concat(r,"-active")]=pt,fe["".concat(r,"-verify")]=dn,fe["".concat(r,"-success")]=Zt,fe["".concat(r,"-error")]=En,fe["".concat(r,"-pc")]=!Ae,fe)),ref:mr},Mr))};I.displayName="SliderButton";var b=function(j){return M.createElement("svg",(0,t.pi)({viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},j),M.createElement("path",{d:"M116.9408 561.4592m0-40.96l0 0q0-40.96 40.96-40.96l573.44 0q40.96 0 40.96 40.96l0 0q0 40.96-40.96 40.96l-573.44 0q-40.96 0-40.96-40.96Z"}),M.createElement("path",{d:"M769.82272 519.43424l-203.22304-203.22304a40.96 40.96 0 1 1 57.91744-57.91744l231.71072 231.71072a40.96 40.96 0 0 1 0.45056 58.44992L624.9472 780.12416a40.96 40.96 0 0 1-57.93792-57.91744l202.79296-202.79296z"}))},ae=function(j){return M.createElement("svg",(0,t.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},j),M.createElement("path",{d:"M864.554667 268.501333a42.666667 42.666667 0 0 1 0 60.330667L412.032 781.397333a42.453333 42.453333 0 0 1-22.613333 11.818667l-5.034667 0.597333H379.306667a42.496 42.496 0 0 1-27.648-12.416l-211.2-211.2a42.666667 42.666667 0 1 1 60.330666-60.330666l180.992 180.992 422.4-422.4a42.666667 42.666667 0 0 1 60.330667 0z"}))},H=function(j){return M.createElement("svg",(0,t.pi)({viewBox:"0 0 120 120",width:"1em",height:"1em"},j),M.createElement("defs",null,M.createElement("line",{id:"l",x1:"60",x2:"60",y1:"7",y2:"27",stroke:"currentColor",strokeWidth:"11",strokeLinecap:"round"})),M.createElement("g",null,M.createElement("use",{xlinkHref:"#l",opacity:".27"}),M.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(30 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(60 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(90 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(120 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(150 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".37",transform:"rotate(180 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".46",transform:"rotate(210 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".56",transform:"rotate(240 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".66",transform:"rotate(270 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".75",transform:"rotate(300 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".85",transform:"rotate(330 60,60)"})))},X=function(j){return M.createElement("svg",(0,t.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},j),M.createElement("path",{d:"M866.133333 573.013333a42.666667 42.666667 0 0 0-53.333333 27.733334A304.64 304.64 0 0 1 519.68 810.666667 302.933333 302.933333 0 0 1 213.333333 512a302.933333 302.933333 0 0 1 306.346667-298.666667 309.76 309.76 0 0 1 198.4 71.253334l-92.586667-15.36a42.666667 42.666667 0 0 0-49.066666 35.413333 42.666667 42.666667 0 0 0 35.413333 49.066667l180.906667 29.866666h7.253333a42.666667 42.666667 0 0 0 14.506667-2.56 14.08 14.08 0 0 0 4.266666-2.56 33.28 33.28 0 0 0 8.533334-4.693333l3.84-4.693333c0-2.133333 3.84-3.84 5.546666-6.4s0-4.266667 2.133334-5.973334a57.173333 57.173333 0 0 0 2.986666-7.68l32-170.666666a42.666667 42.666667 0 0 0-85.333333-16.213334l-11.52 61.866667A392.96 392.96 0 0 0 519.68 128 388.266667 388.266667 0 0 0 128 512a388.266667 388.266667 0 0 0 391.68 384A389.12 389.12 0 0 0 896 626.346667a42.666667 42.666667 0 0 0-29.866667-53.333334z"}))},A=function(j){return M.createElement("svg",(0,t.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},j),M.createElement("path",{d:"M572.96896 524.6976l217.23136 217.25184a40.96 40.96 0 1 1-57.93792 57.91744L515.072 582.63552l-212.3776 212.3776a40.96 40.96 0 1 1-57.9584-57.91744l212.39808-212.3776-217.21088-217.23136a40.96 40.96 0 1 1 57.91744-57.91744l217.23136 217.21088L737.0752 244.736a40.96 40.96 0 1 1 57.93792 57.91744L572.96896 524.71808z"}))},V=function(j){return M.createElement("svg",(0,t.pi)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16"},j),M.createElement("path",{d:"M.002 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2zm1 9v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9.5l-3.777-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062zm5-6.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"}))},D="".concat(ee,"-icon"),be=function(j){var fe,Ie=j.className,$e=j.spin,pt=(0,t._T)(j,["className","spin"]);return M.createElement("span",(0,t.pi)({className:h()(D,(fe={},fe["".concat(D,"-spin")]=$e,fe),Ie)},pt))},W={arrowRight:M.createElement(b,null),check:M.createElement(ae,null),loading:M.createElement(H,null),refresh:M.createElement(X,null),x:M.createElement(A,null),imageFill:M.createElement(V,null)},$=function(j){var fe=j.type,Ie=(0,t._T)(j,["type"]);return M.createElement(be,(0,t.pi)({},Ie),W[fe])},z;(function(j){j[j.Default=1]="Default",j[j.Loading=2]="Loading",j[j.Moving=3]="Moving",j[j.Verify=4]="Verify",j[j.Success=5]="Success",j[j.Error=6]="Error",j[j.LoadFailed=7]="LoadFailed"})(z||(z={}));var k="".concat(ee,"-control"),Ee=40,l=2,y=function(j){var fe,Ie=j.status,$e=Ie===void 0?z.Default:Ie,pt=j.isLimitErrors,Zt=j.tipText,En=j.tipIcon,dn=j.sliderButtonProps,mr=j.indicatorProps,Mr=j.controlRef,gr=(0,t._T)(j,["status","isLimitErrors","tipText","tipIcon","sliderButtonProps","indicatorProps","controlRef"]),eo=(0,M.useRef)(null),xr=(0,M.useRef)(null),Yr=(0,M.useRef)(null),Dr=(0,M.useRef)({}),Ar=(0,M.useMemo)(function(){return(0,t.pi)({default:"\u5411\u53F3\u62D6\u52A8\u6ED1\u5757\u586B\u5145\u62FC\u56FE",loading:"\u52A0\u8F7D\u4E2D...",moving:null,verifying:null,success:null,error:null,errors:M.createElement(M.Fragment,null,M.createElement($,{type:"x",style:{fontSize:20}})," \u5931\u8D25\u8FC7\u591A\uFF0C\u70B9\u51FB\u91CD\u8BD5"),loadFailed:"\u52A0\u8F7D\u5931\u8D25\uFF0C\u70B9\u51FB\u91CD\u8BD5"},Zt)},[Zt]),an=(0,M.useMemo)(function(){return(0,t.pi)({default:M.createElement($,{type:"arrowRight"}),loading:M.createElement($,{type:"loading",spin:!0}),error:M.createElement($,{type:"x"}),success:M.createElement($,{type:"check"})},En)},[En]),un=(0,M.useMemo)(function(){var $n;return $n={},$n[z.Default]=[Ar.default,an.default],$n[z.Loading]=[Ar.loading,an.default],$n[z.Moving]=[Ar.moving,an.default],$n[z.Verify]=[Ar.verifying,an.loading],$n[z.Error]=[Ar.error,an.error],$n[z.Success]=[Ar.success,an.success],$n[z.LoadFailed]=[Ar.loadFailed,an.default],$n},[Ar,an]),mn=function($n){var wr;return($n||typeof Dr.current.sliderButtonWidth!="number")&&(Dr.current.sliderButtonWidth=((wr=xr.current)===null||wr===void 0?void 0:wr.clientWidth)||Ee),Dr.current.sliderButtonWidth},Dt=function($n){if($n||typeof Dr.current.indicatorBorderWidth!="number")if(Yr.current){var wr=window.getComputedStyle(Yr.current);Dr.current.indicatorBorderWidth=parseInt(wr.borderLeftWidth)+parseInt(wr.borderRightWidth)}else Dr.current.indicatorBorderWidth=l;return Dr.current.indicatorBorderWidth},Kn=function($n){var wr;return($n||!Dr.current.rect)&&eo.current&&(Dr.current.rect=(wr=eo.current)===null||wr===void 0?void 0:wr.getBoundingClientRect()),Dr.current.rect};(0,M.useImperativeHandle)(Mr,function(){return{getSliderButtonWidth:mn,getIndicatorBorderWidth:Dt,getRect:Kn,updateLeft:function($n){var wr=mn(),ao=Dt();ke(xr.current,{left:$n+"px"}),ke(Yr.current,{width:$n+wr+ao+"px"})}}},[]);var Hn=$e===z.Loading,Kr=$e===z.Moving,Rr=$e===z.Verify,Tr=$e===z.Success,zr=$e===z.Error,Er=$e===z.LoadFailed,dr=pt?Ar.errors:un[$e][0];return M.createElement("div",(0,t.pi)({},gr,{className:h()(k,(fe={},fe["".concat(k,"-loading")]=Hn,fe["".concat(k,"-moving")]=Kr,fe["".concat(k,"-verify")]=Rr,fe["".concat(k,"-success")]=Tr,fe["".concat(k,"-error")]=zr,fe["".concat(k,"-errors")]=pt,fe["".concat(k,"-load-failed")]=Er,fe),gr.className),ref:eo}),M.createElement("div",(0,t.pi)({},mr,{className:h()("".concat(k,"-indicator"),mr==null?void 0:mr.className),ref:Yr})),M.createElement(I,(0,t.pi)({},dn,{className:h()("".concat(k,"-button"),dn==null?void 0:dn.className),disabled:Hn,active:Kr,verify:Rr,success:Tr,error:zr,buttonRef:xr}),un[$e][1]),M.createElement("div",{className:h()("".concat(k,"-tips")),style:dr?{}:{display:"none"}},dr))},T="".concat(ee,"-loading"),R=function(j){var fe=j.icon,Ie=fe===void 0?M.createElement($,{type:"loading",spin:!0}):fe,$e=j.text,pt=$e===void 0?"\u52A0\u8F7D\u4E2D...":$e,Zt=j.className,En=(0,t._T)(j,["icon","text","className"]);return M.createElement("div",(0,t.pi)({className:h()(T,Zt)},En),M.createElement("div",{className:"".concat(T,"-icon")},Ie),M.createElement("div",{className:"".concat(T,"-text")},pt))},F="".concat(ee,"-jigsaw"),U={bgSize:{width:320,height:160},puzzleSize:{width:60,left:0},loadFailedIcon:M.createElement($,{type:"imageFill"}),refreshIcon:M.createElement($,{type:"refresh"})},ce=function(j){var fe,Ie,$e=j.status,pt=j.bgSize,Zt=pt===void 0?U.bgSize:pt,En=j.puzzleSize,dn=En===void 0?U.puzzleSize:En,mr=j.bgUrl,Mr=j.puzzleUrl,gr=j.bgImgProps,eo=j.puzzleImgProps,xr=j.jigsawRef,Yr=j.loadingBoxProps,Dr=j.loadFailedIcon,Ar=Dr===void 0?U.loadFailedIcon:Dr,an=j.showRefreshIcon,un=an===void 0?!0:an,mn=j.refreshIcon,Dt=mn===void 0?U.refreshIcon:mn,Kn=j.disabledRefresh,Hn=j.onRefresh,Kr=j.style,Rr=j.className,Tr=j.children,zr=(0,t._T)(j,["status","bgSize","puzzleSize","bgUrl","puzzleUrl","bgImgProps","puzzleImgProps","jigsawRef","loadingBoxProps","loadFailedIcon","showRefreshIcon","refreshIcon","disabledRefresh","onRefresh","style","className","children"]),Er=(0,M.useRef)(null);if((0,M.useImperativeHandle)(xr,function(){return{updateLeft:function($n){ke(Er.current,{left:$n+"px"})}}}),$e===z.Loading)return M.createElement(R,(0,t.pi)({},Yr,{style:(0,t.pi)((0,t.pi)({},Yr==null?void 0:Yr.style),Zt)}));if($e===z.LoadFailed||!mr||!Mr)return M.createElement("div",{className:"".concat(ee,"-load-failed"),style:Zt},Ar);var dr=$e===z.Verify||$e===z.Error||$e===z.Success;return M.createElement("div",(0,t.pi)({className:h()(F,(fe={},fe["".concat(F,"-stop")]=dr,fe),Rr),style:(0,t.pi)((0,t.pi)({},Kr),Zt)},zr),M.createElement("img",(0,t.pi)({src:mr,alt:""},gr,{className:h()("".concat(F,"-bg"),gr==null?void 0:gr.className),style:(0,t.pi)((0,t.pi)({},gr==null?void 0:gr.style),Zt)})),M.createElement("img",(0,t.pi)({src:Mr,alt:""},eo,{className:h()("".concat(F,"-puzzle"),eo==null?void 0:eo.className),style:(0,t.pi)((0,t.pi)({},eo==null?void 0:eo.style),dn),ref:Er})),un&&$e!==z.Success&&Dt&&M.createElement("div",{className:h()("".concat(F,"-refresh"),(Ie={},Ie["".concat(F,"-refresh-disabled")]=$e===z.Verify||Kn,Ie)),onClick:function(){$e!==z.Verify&&!Kn&&(Hn==null||Hn())}},Dt),Tr)},Qe=Be?{start:"pointerdown",move:"pointermove",end:"pointerup",cancel:"pointercancel"}:Ae?{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"}:{start:"mousedown",move:"mousemove",end:"mouseup",cancel:"touchcancel"},Re=Be?"onPointerDown":Ae?"onTouchStart":"onMouseDown",Ve;(function(j){j.Puzzle="puzzle",j.Button="button"})(Ve||(Ve={}));var vt=function(j){var fe,Ie,$e,pt=j.mode,Zt=pt===void 0?"embed":pt,En=j.limitErrorCount,dn=En===void 0?0:En,mr=j.tipText,Mr=j.tipIcon,gr=j.refreshIcon,eo=j.bgSize,xr=j.puzzleSize,Yr=j.request,Dr=j.autoRequest,Ar=Dr===void 0?!0:Dr,an=j.onVerify,un=j.autoRefreshOnError,mn=un===void 0?!0:un,Dt=j.actionRef,Kn=j.showRefreshIcon,Hn=Kn===void 0?!0:Kn,Kr=j.jigsawContent,Rr=j.errorHoldDuration,Tr=Rr===void 0?500:Rr,zr=j.loadingDelay,Er=zr===void 0?0:zr,dr=j.placement,$n=dr===void 0?"top":dr,wr=j.loadingBoxProps,ao=j.sliderButtonProps,G=j.precision,me=G===void 0?7:G,ge=j.className,Bt=j.style,At=j.styles,On=Y(),bn=On[0],kt=On[1],qe=Y(z.Default),qt=qe[0],Zr=qe[1],fr=m(qt),Pr=(0,M.useRef)(null),Hr=(0,M.useRef)(null),_t=(0,M.useRef)(null),Qn=(0,M.useMemo)(function(){return Zt==="float"||Zt==="slider"?Zt:"embed"},[Zt]),or=(0,M.useMemo)(function(){if(gr!==void 0)return gr;if((Mr==null?void 0:Mr.refresh)!==void 0)return Mr.refresh},[gr,Mr]),jr=(0,M.useMemo)(function(){return(0,t.pi)((0,t.pi)({},U.bgSize),eo)},[eo]),rr=(0,M.useMemo)(function(){return(0,t.pi)((0,t.pi)({},U.puzzleSize),xr)},[xr]),pr=(0,M.useMemo)(function(){return $n==="bottom"?"top":"bottom"},[$n]),St=(0,M.useRef)({isPressed:!1,trail:[],errorCount:0,startInfo:{x:0,y:0,timestamp:0},currentTargetType:Ve.Button,floatTransitionTimer:null,floatDelayShowTimer:null,floatDelayHideTimer:null,refreshTimer:null,loadingTimer:null,sliderButtonWidth:40,indicatorBorderWidth:2,ratio:1,buttonMaxDistance:0,puzzleMaxDistance:0}),Wt=Qn==="slider",Ht=typeof Er=="number"&&Er>0,kn=qt===z.Error&&dn>0&&St.current.errorCount>=dn,ur=function(){St.current.buttonMaxDistance=jr.width-St.current.sliderButtonWidth-St.current.indicatorBorderWidth,St.current.puzzleMaxDistance=jr.width-rr.width-rr.left},to=function(){var Vr;return((Vr=Pr.current)===null||Vr===void 0?void 0:Vr.getRect(!0).height)||42},io=function(){return(0,t.mG)(void 0,void 0,void 0,function(){var Vr;return(0,t.Jh)(this,function(yo){switch(yo.label){case 0:if(Wt)return[2];if(!Yr)return[3,4];Ht?St.current.loadingTimer=setTimeout(function(){Zr(z.Loading)},Er):Zr(z.Loading),yo.label=1;case 1:return yo.trys.push([1,3,,4]),[4,Yr()];case 2:return Vr=yo.sent(),Ht&&clearTimeout(St.current.loadingTimer),kt(Vr),Zr(z.Default),[3,4];case 3:return yo.sent(),Ht&&clearTimeout(St.current.loadingTimer),Zr(z.LoadFailed),[3,4];case 4:return[2]}})})},Eo=function(Vr){Vr===void 0&&(Vr=300),!(Qn!=="float"||fr.current===z.Success)&&(clearTimeout(St.current.floatTransitionTimer),clearTimeout(St.current.floatDelayHideTimer),clearTimeout(St.current.floatDelayShowTimer),St.current.floatDelayShowTimer=setTimeout(function(){var yo;ke(_t.current,{display:"block"}),Q(_t.current);var Uo=to()+"px";ke(_t.current,(yo={},yo[pr]=Uo,yo.opacity="1",yo))},Vr))},Mo=function(Vr){Vr===void 0&&(Vr=300),Qn==="float"&&(clearTimeout(St.current.floatTransitionTimer),clearTimeout(St.current.floatDelayHideTimer),clearTimeout(St.current.floatDelayShowTimer),St.current.floatDelayHideTimer=setTimeout(function(){var yo,Uo=to()/2+"px";ke(_t.current,(yo={},yo[pr]=Uo,yo.opacity="0",yo)),St.current.floatTransitionTimer=setTimeout(function(){ke(_t.current,{display:"none"})},300)},Vr))},Go=function(Vr){var yo;Wt||(yo=Hr.current)===null||yo===void 0||yo.updateLeft(Vr)},Xo=function(){var Vr;St.current.isPressed=!1,Zr(z.Default),(Vr=Pr.current)===null||Vr===void 0||Vr.updateLeft(0),Go(rr.left)},ia=function(Vr){Vr===void 0&&(Vr=!1),Vr&&(St.current.errorCount=0),clearTimeout(St.current.refreshTimer),fr.current!==z.Loading&&(Xo(),io())},xo=function(){(kn||qt===z.LoadFailed)&&ia(kn)},Wr=function(){Ae||Eo()},Jr=function(){Ae||Mo()},Do=function(Vr){St.current.currentTargetType=Ve.Puzzle,So(Vr)},Ko=function(Vr){St.current.currentTargetType=Ve.Button,So(Vr)},So=function(Vr){if(fr.current===z.Default){Vr.preventDefault();var yo=te(Vr),Uo=yo.clientX,go=yo.clientY;St.current.startInfo={x:Uo,y:go,timestamp:new Date().getTime()},St.current.trail=[[Uo,go]],Pr.current&&(St.current.sliderButtonWidth=Pr.current.getSliderButtonWidth(!0),St.current.indicatorBorderWidth=Pr.current.getIndicatorBorderWidth(!0)),ur(),St.current.ratio=St.current.puzzleMaxDistance/St.current.buttonMaxDistance,St.current.currentTargetType===Ve.Puzzle&&(St.current.ratio=1/St.current.ratio),(Ae||Vr.pointerType==="pen"||Vr.pointerType==="touch")&&Eo(0),St.current.isPressed=!0,document.addEventListener(Qe.move,ma),document.addEventListener(Qe.end,sa),document.addEventListener(Qe.cancel,sa)}},ma=function(Vr){var yo;if(St.current.isPressed){Vr.preventDefault();var Uo=te(Vr),go=Uo.clientX,lo=Uo.clientY,_r=go-St.current.startInfo.x;St.current.trail.push([go,lo]),fr.current!==z.Moving&&_r>0&&Zr(z.Moving);var Io=_r,zo=_r;St.current.currentTargetType===Ve.Puzzle?(_r=Math.max(0,Math.min(_r,St.current.puzzleMaxDistance)),Io=_r+rr.left,zo=_r*St.current.ratio):(_r=Math.max(0,Math.min(_r,St.current.buttonMaxDistance)),zo=_r,Io=_r*St.current.ratio+rr.left),(yo=Pr.current)===null||yo===void 0||yo.updateLeft(zo),Go(Io)}},sa=function(Vr){if(document.removeEventListener(Qe.move,ma),document.removeEventListener(Qe.end,sa),document.removeEventListener(Qe.cancel,sa),!!St.current.isPressed){if(fr.current!==z.Moving){St.current.isPressed=!1,Ae&&Mo();return}if(an){St.current.isPressed=!1,Zr(z.Verify);var yo=new Date().getTime(),Uo=te(Vr),go=Uo.clientX,lo=Uo.clientY,_r=lo-St.current.startInfo.y,Io=go-St.current.startInfo.x,zo=Io;St.current.currentTargetType===Ve.Puzzle?(Io=Math.max(0,Math.min(Io,St.current.puzzleMaxDistance)),zo=Io*St.current.ratio):(Io=Math.max(0,Math.min(Io,St.current.buttonMaxDistance)),zo=Io,Io*=St.current.ratio),an({x:C(Io,me),y:C(_r,me),sliderOffsetX:C(zo,me),duration:yo-St.current.startInfo.timestamp,trail:St.current.trail,targetType:St.current.currentTargetType,errorCount:St.current.errorCount}).then(function(){St.current.errorCount=0,Zr(z.Success),Mo()}).catch(function(){St.current.errorCount+=1,Zr(z.Error),(Ae||Vr.pointerType==="pen"||Vr.pointerType==="touch")&&Mo(),(dn<=0||St.current.errorCount0?(pt.forEach(function(Zt){Zt.wrap.apply(Zt.context,Ie)}),!0):!1},j}(),mt={},Oe=function(){function j(fe){fe===void 0&&(fe="default"),this.scope=fe,mt[this.scope]||(mt[this.scope]={}),this.data=mt[this.scope]}return j.prototype.getItem=function(fe){return fe in this.data?this.data[fe]:null},j.prototype.setItem=function(fe,Ie){this.data[fe]=Ie},j.prototype.removeItem=function(fe){delete this.data[fe]},j.prototype.clear=function(){mt[this.scope]={},this.data=mt[this.scope]},j}();function _e(){return Math.random().toString(16).substring(2,8)}function v(j){try{var fe=typeof j=="object"&&j!==null&&!!j.setItem&&!!j.getItem&&!!j.removeItem;if(fe){var Ie=_e()+new Date().getTime(),$e="1";if(j.setItem(Ie,$e),j.getItem(Ie)!==$e)return!1;j.removeItem(Ie)}return fe}catch(pt){return console.error("[cache2] ".concat(j," is not supported. The default memory cache will be used.")),!1}}function S(j,fe){try{return JSON.parse(j,fe)}catch(Ie){return j}}function g(j,fe){return JSON.stringify(j,fe)}var o=function(){function j(fe,Ie){Ie===void 0&&(Ie={});var $e=fe?v(fe):!1;this.options=(0,t.pi)({needParsed:$e,prefix:""},Ie),this.storage=$e?fe:new Oe(this.options.memoryScope)}return j.prototype.getKey=function(fe){return this.options.prefix+fe},j.prototype.get=function(fe){var Ie=this.storage.getItem(this.getKey(fe));return this.options.needParsed?S(Ie,this.options.reviver):Ie},j.prototype.set=function(fe,Ie){this.storage.setItem(this.getKey(fe),this.options.needParsed?g(Ie,this.options.replacer):Ie)},j.prototype.del=function(fe){this.storage.removeItem(this.getKey(fe))},j.prototype.clear=function(){typeof this.storage.clear=="function"&&this.storage.clear()},j}(),L="cache2_",le="default",f=function(j){(0,t.ZT)(fe,j);function fe(Ie,$e){var pt=j.call(this)||this,Zt=le,En;return typeof Ie=="string"?Zt=Ie||le:typeof Ie=="object"&&(En=Ie),!En&&typeof $e=="object"&&(En=$e),pt.options=(0,t.pi)({max:-1,stdTTL:0,maxStrategy:"limited",checkperiod:0,prefix:L},En),pt.storage=new o(pt.options.storage,(0,t.pi)({memoryScope:Zt},pt.options)),pt.cacheKey=Zt,pt.startCheckperiod(),pt}return fe.prototype._check=function(Ie,$e){var pt=!0;return $e.t!==0&&$e.t0?pt+Zt:0;return{v:Ie,t:En,n:pt}},fe.prototype._isLimited=function(Ie){return this.options.max>-1&&Ie>=this.options.max},fe.prototype._getReplaceKey=function(Ie,$e){var pt=Ie[0];return Ie.forEach(function(Zt){($e[Zt].t<$e[pt].t||$e[Zt].t===$e[pt].t&&$e[Zt].n<$e[pt].n)&&(pt=Zt)}),pt},Object.defineProperty(fe.prototype,"cacheValues",{get:function(){return this.storage.get(this.cacheKey)||{}},enumerable:!1,configurable:!0}),fe.prototype.setCacheValues=function(Ie){this.storage.set(this.cacheKey,Ie)},fe.prototype.get=function(Ie){var $e=this.cacheValues[Ie];if($e&&this._check(Ie,$e))return $e.v},fe.prototype.mget=function(Ie){var $e=this,pt={};if(!Array.isArray(Ie))return pt;var Zt=this.cacheValues;return Ie.forEach(function(En){var dn=Zt[En];dn&&$e._check(En,dn)&&(pt[En]=dn.v)}),pt},fe.prototype.getAll=function(){var Ie=Object.keys(this.cacheValues);return this.mget(Ie)},fe.prototype.set=function(Ie,$e,pt){if(this.options.max===0)return!1;var Zt=this.cacheValues,En=Object.keys(Zt);if(!Zt[Ie]&&this._isLimited(En.length)){var dn=this.keys();if(this._isLimited(dn.length))if(this.options.maxStrategy==="replaced"){var mr=this._getReplaceKey(dn,Zt);this.del(mr)}else return!1}return Zt[Ie]=this._wrap($e,pt),this.setCacheValues(Zt),this.emit("set",Ie,Zt[Ie].v),!0},fe.prototype.mset=function(Ie){var $e=this,pt=!0;return Ie.forEach(function(Zt){var En=$e.set(Zt.key,Zt.value,Zt.ttl);pt&&!En&&(pt=!1)}),pt},fe.prototype.del=function(Ie){var $e=this,pt=this.cacheValues,Zt=0,En=Array.isArray(Ie)?Ie:[Ie];return En.forEach(function(dn){if(pt[dn]){Zt++;var mr=pt[dn];delete pt[dn],$e.emit("del",dn,mr.v)}}),Zt>0&&this.setCacheValues(pt),Zt},fe.prototype.clear=function(){this.storage.del(this.cacheKey)},fe.prototype.keys=function(){var Ie=this,$e=this.cacheValues,pt=Object.keys($e);return pt.filter(function(Zt){return Ie._check(Zt,$e[Zt])})},fe.prototype.has=function(Ie){var $e=this.cacheValues[Ie];return!!($e&&this._check(Ie,$e))},fe.prototype.take=function(Ie){var $e,pt=this.cacheValues[Ie];return pt&&this._check(Ie,pt)&&($e=pt.v,this.del(Ie)),$e},fe.prototype.ttl=function(Ie,$e){var pt=this.cacheValues,Zt=pt[Ie];return Zt&&this._check(Ie,Zt)?(pt[Ie]=this._wrap(Zt.v,$e),!0):!1},fe.prototype.getTtl=function(Ie){var $e=this.cacheValues,pt=$e[Ie];if(pt&&this._check(Ie,pt))return $e[Ie].t},fe.prototype.getLastModified=function(Ie){var $e=this.cacheValues,pt=$e[Ie];if(pt&&this._check(Ie,pt))return $e[Ie].n},fe.prototype.startCheckperiod=function(){var Ie=this;this.keys(),this.options.checkperiod>0&&(clearTimeout(this._checkTimeout),this._checkTimeout=setTimeout(function(){Ie.startCheckperiod()},this.options.checkperiod))},fe.prototype.stopCheckperiod=function(){clearTimeout(this._checkTimeout)},fe}(xt),s=void 0,_="undefined",N="object",B=Object.prototype,J=B.toString,De=B.hasOwnProperty,ie=B.propertyIsEnumerable,Le=Object.getOwnPropertySymbols,Pe=Object.getPrototypeOf,Fe=Object.keys,Me=Function.prototype,ut=Me.toString,ht=typeof Symbol!==_,Je=ht?Symbol.prototype:s,wt=Array.prototype,Nt=wt.slice,Kt=Math.min,Rt=Math.max,gn=Math.random,Pn=Math.floor,Sn=Math.ceil,Tn=Math.abs,Yn=Number.isFinite,pn=Number.isInteger,Tt=Number.isSafeInteger,xn=typeof globalThis===N&&globalThis,Gn=typeof e.g===N&&e.g,Gt=typeof self===N&&self,zn=Number.MAX_SAFE_INTEGER||9007199254740991,tr=Number.MIN_SAFE_INTEGER||-9007199254740991,Jn=4294967295,Wn="[object ",br=Wn+"BigInt]",Or=Wn+"Number]",Ln=Wn+"Boolean]",sr=Wn+"String]",nn=Wn+"Date]",Nn=Wn+"RegExp]",se=Wn+"Symbol]",d=Wn+"Error]",w=Wn+"ArrayBuffer]",x=Wn+"Arguments]",O=Wn+"Array]",re=["Function","AsyncFunction","GeneratorFunction","Proxy"].map(function(j){return Wn+j+"]"}),Se=Wn+"WeakSet]",Ye=Wn+"Blob]",We=Wn+"File]",it=Wn+"DOMException]",et=Wn+"Object]",oe=Wn+"DataView]",ve=Wn+"Map]",xe=Wn+"Promise]",pe=Wn+"Set]",Ne=Wn+"WeakMap]",ct=Wn+"Window]";function lt(j){return J.call(j)}function dt(j){return typeof j=="string"||lt(j)===sr}var ft=function(){function j(fe,Ie){Ie===void 0&&(Ie="uh_async_memo"),this.promiseCache={},this.cache=new f(Ie,fe)}return j.prototype.run=function(fe,Ie,$e){var pt=this;if(!Ie||!dt(Ie))return fe();var Zt=(0,t.pi)({persisted:!0},$e);if(Zt.persisted){var En=this.cache.get(Ie);if(En)return Promise.resolve(En)}return this.promiseCache[Ie]||(this.promiseCache[Ie]=fe().then(function(dn){return delete pt.promiseCache[Ie],pt.cache.set(Ie,dn,Zt.ttl),dn}).catch(function(dn){return delete pt.promiseCache[Ie],Promise.reject(dn)})),this.promiseCache[Ie]},j}(),rt=typeof Blob!==_;function at(j){return rt&&j instanceof Blob?!0:lt(j)===Ye}function ue(j){return function(){return j}}function we(){}var Te=typeof URL!="undefined",Ue=void 0,ze=Object.keys,tt=Object.values,Ge=Te?URL.createObjectURL:ue(""),gt=Te?URL.revokeObjectURL:we;function yt(j,fe){var Ie=fe||{},$e=Ie.method,pt=$e===void 0?"get":$e,Zt=Ie.data,En=Zt===void 0?null:Zt,dn=Ie.timeout,mr=Ie.headers,Mr=Ie.withCredentials,gr=Mr===void 0?!1:Mr,eo=Ie.async,xr=eo===void 0?!0:eo,Yr=Ie.user,Dr=Yr===void 0?null:Yr,Ar=Ie.password,an=Ar===void 0?null:Ar,un=Ie.responseType,mn=Ie.onReadyStateChange,Dt=Ie.onLoadStart,Kn=Ie.onProgress,Hn=Ie.onAbort,Kr=Ie.onTimeout,Rr=Ie.onError,Tr=Ie.onLoad,zr=Ie.onLoadEnd;return new Promise(function(Er,dr){var $n=new XMLHttpRequest;$n.open(pt.toLowerCase(),j,xr,Dr,an),mn&&($n.onreadystatechange=mn),typeof dn=="number"&&dn>0&&($n.timeout=dn),$n.withCredentials=gr,un&&($n.responseType=un),typeof mr=="object"&&ze(mr).map(function(ge){$n.setRequestHeader(ge,mr[ge])});var wr=function(ge){return function(Bt){Er(Bt),ge==null||ge.call($n,Bt)}},ao=function(ge){return function(Bt){dr(Bt),ge==null||ge.call($n,Bt)}},G={loadstart:Dt,progress:Kn,abort:ao(Hn),timeout:ao(Kr),error:ao(Rr),load:wr(Tr),loadend:zr},me=ze(G);me.forEach(function(ge){var Bt=G[ge];Bt&&$n.addEventListener(ge,Bt)}),$n.send(En)})}var bt=[200,304];function Qt(j,fe){return new Promise(function(Ie,$e){at(j)?Ie(j):yt(j,(0,t.pi)({responseType:"blob"},fe)).then(function(pt){var Zt=pt.target.status;if(bt.indexOf(Zt)!==-1)Ie(pt.target.response);else{var En=new Error("The file does not support get requests, responseStatus ".concat(Zt,", '").concat(j,"'."));console.error(En),$e(En)}}).catch(function(pt){console.error(new Error("Failed to request file. ".concat(pt))),$e(pt)})})}function $t(j){return new Promise(function(fe,Ie){var $e=at(j),pt=$e?Ge(j):j,Zt=new Image;$e||(Zt.crossOrigin="anonymous"),Zt.onload=function(){fe(Zt)},Zt.onerror=function(En){$e&>(pt),console.error("[loadImage] The image load failed, '".concat(j,"'.")),Ie(En)},Zt.src=pt})}function ln(j,fe){return Qt(j,fe).then(function(Ie){return $t(Ie).then(function($e){return{blob:Ie,image:$e}})})}function Et(j){return j!==null&&typeof j=="object"}function Xe(j){return typeof j=="function"||Et(j)}function Pt(j){return typeof j=="symbol"||lt(j)===se}var Jt=/^0b[01]+$/i,Ut=/^0o[0-7]+$/i,Vt=/^[-+]0x[0-9a-f]+$/i;function Ot(j){if(typeof j=="number")return j;if(Pt(j))return NaN;if(Xe(j)&&(j=Number(j)),typeof j!="string")return j===0?j:+j;j=j.trim();var fe=Jt.test(j);return fe||Ut.test(j)?parseInt(j.slice(2),fe?2:8):Vt.test(j)?NaN:+j}var sn=17976931348623157e292;function Xt(j){if(!j)return j===0?j:0;if(j=Ot(j),j===1/0||j===-1/0){var fe=j<0?-1:1;return fe*sn}return j===j?j:0}function An(j,fe){j===void 0&&(j=0),fe===void 0&&(fe=1),j=Xt(j),fe=Xt(fe);var Ie=Sn(Kt(j,fe)||0),$e=Pn(Rt(j,fe)||0);if(Ie>$e){var pt=Ie;Ie=$e,$e=pt}return Pn(Ie+gn()*($e-Ie+1))}var Mn=Math.PI,nt;(function(j){j[j.None=0]="None",j[j.Outer=1]="Outer",j[j.Inner=2]="Inner"})(nt||(nt={}));var Ft=[nt.None,nt.Outer,nt.Inner];function zt(j){var fe=j.length,Ie=An(0,fe-1);return j[Ie]}function en(j){var fe={top:zt(Ft),right:zt(Ft),bottom:zt(Ft),left:zt(Ft)},Ie=Object.keys(fe),$e=["top","bottom"],pt=["left","right"];if(fe.top===nt.Outer&&fe.bottom===nt.Outer?fe[zt($e)]=nt.Inner:fe.top!==nt.Outer&&fe.bottom!==nt.Outer&&(fe[zt($e)]=nt.Outer),fe.left===nt.Outer&&fe.right===nt.Outer?fe[zt(pt)]=nt.Inner:fe.left!==nt.Outer&&fe.right!==nt.Outer&&(fe[zt(pt)]=nt.Outer),j){var Zt=[],En=[];Ie.forEach(function(dn){fe[dn]===nt.Inner?Zt.push(dn):fe[dn]===nt.None&&En.push(dn)}),j===2?Zt.forEach(function(dn){return fe[dn]=nt.None}):j===3?Zt.length===0?fe[zt(En)]=nt.Inner:Zt.length===2&&(fe[zt(Zt)]=nt.None):j==4&&En.forEach(function(dn){return fe[dn]=nt.Inner})}return fe}function Cn(j,fe){fe===void 0&&(fe={});var Ie=fe.x,$e=Ie===void 0?0:Ie,pt=fe.y,Zt=pt===void 0?0:pt,En=fe.w,dn=En===void 0?60:En,mr=fe.h,Mr=mr===void 0?60:mr,gr=fe.needClosePath,eo=gr===void 0?!0:gr,xr=fe.points,Yr=fe.margin,Dr=Yr===void 0?0:Yr;Dr=Dr<=0?0:Dr,(typeof xr=="number"||!xr)&&(xr=en(xr));var Ar=(Math.min(dn,Mr)-Dr*2)*.15,an=Math.hypot(Ar,Ar),un=an/2,mn=Ar+un,Dt={x:$e+Dr,y:Zt+Dr,w:dn-mn-Dr*2,h:Mr-mn-Dr*2},Kn=Dt.w/2,Hn=Dt.h/2;xr.left===nt.Outer&&(Dt.x+=mn),xr.top===nt.Outer&&(Dt.y+=mn),j.beginPath(),j.lineWidth=2,j.moveTo(Dt.x,Dt.y),xr.top!==nt.None&&(j.lineTo(Dt.x+Kn-un,Dt.y),xr.top===nt.Inner?j.arc(Dt.x+Kn,Dt.y+un,Ar,1.25*Mn,1.75*Mn,!0):j.arc(Dt.x+Kn,Dt.y-un,Ar,.75*Mn,.25*Mn)),j.lineTo(Dt.x+Dt.w,Dt.y),xr.right!==nt.None&&(j.lineTo(Dt.x+Dt.w,Dt.y+Hn-un),xr.right===nt.Inner?j.arc(Dt.x+Dt.w-un,Dt.y+Hn,Ar,1.75*Mn,.25*Mn,!0):j.arc(Dt.x+Dt.w+un,Dt.y+Hn,Ar,1.25*Mn,.75*Mn)),j.lineTo(Dt.x+Dt.w,Dt.y+Dt.h),xr.bottom!==nt.None&&(j.lineTo(Dt.x+Kn+un,Dt.y+Dt.h),xr.bottom===nt.Inner?j.arc(Dt.x+Kn,Dt.y+Dt.h-un,Ar,.25*Mn,.75*Mn,!0):j.arc(Dt.x+Kn,Dt.y+Dt.h+un,Ar,1.75*Mn,1.25*Mn)),j.lineTo(Dt.x,Dt.y+Dt.h),xr.left!==nt.None&&(j.lineTo(Dt.x,Dt.y+Hn+un),xr.left===nt.Inner?j.arc(Dt.x+un,Dt.y+Hn,Ar,.75*Mn,1.25*Mn,!0):j.arc(Dt.x-un,Dt.y+Hn,Ar,.25*Mn,1.75*Mn)),j.lineTo(Dt.x,Dt.y),j.stroke(),eo&&j.closePath()}function yn(j,fe,Ie,$e){return new Promise(function(pt){fe?j.toBlob(function(Zt){pt(Zt?URL.createObjectURL(Zt):j.toDataURL(Ie,$e))},Ie,$e):pt(j.toDataURL(Ie,$e))})}var wn=new ft({max:5,maxStrategy:"replaced"});wn.cache.on("del",function(j,fe){try{fe.image.src&&URL.revokeObjectURL(fe.image.src)}catch(Ie){}});function cn(j){j?wn.cache.del(j):wn.cache.clear()}var Rn=new WeakMap,Zn=function(j){if(!Xe(j))return String(j);if(!Rn.get(j)){var fe="_"+Date.now();Rn.set(j,fe)}return Rn.get(j)},Cr={jpeg:"image/jpeg",png:"image/png"},rn=[];function jt(j){j.forEach(function(fe){URL.revokeObjectURL(fe)})}function Bn(j,fe){fe===void 0&&(fe={});var Ie=fe.borderWidth,$e=Ie===void 0?2:Ie,pt=fe.borderColor,Zt=pt===void 0?"rgba(255,255,255,0.7)":pt,En=fe.fillColor,dn=En===void 0?"rgba(255,255,255,0.7)":En,mr=fe.points,Mr=fe.width,gr=Mr===void 0?60:Mr,eo=fe.height,xr=eo===void 0?60:eo,Yr=fe.x,Dr=fe.y,Ar=fe.margin,an=Ar===void 0?2:Ar,un=fe.equalHeight,mn=un===void 0?!0:un,Dt=fe.imageWidth,Kn=fe.imageHeight,Hn=fe.bgWidth,Kr=fe.bgHeight,Rr=fe.bgOffset,Tr=Rr===void 0?[0,0]:Rr,zr=fe.bgImageType,Er=zr===void 0?Cr.jpeg:zr,dr=fe.quality,$n=dr===void 0?.8:dr,wr=fe.format,ao=wr===void 0?"dataURL":wr,G=fe.cacheImage,me=G===void 0?!0:G,ge=fe.autoRevokePreviousBlobUrl,Bt=ge===void 0?!0:ge,At=fe.ajaxOptions;return new Promise(function(On,bn){var kt=document.createElement("canvas"),qe=document.createElement("canvas"),qt=kt.getContext("2d"),Zr=qe.getContext("2d"),fr=me?Zn(j):void 0;wn.run(function(){return ln(j,At)},fr).then(function(Pr){var Hr=Pr.image;Dt&&(Hr.width=Dt),Kn&&(Hr.height=Kn);var _t=typeof Hn=="number"&&Hn>0?Hn>gr?Hn:gr:Hr.width,Qn=typeof Kr=="number"&&Kr>0?Kr>xr?Kr:xr:Hr.height;kt.width=_t,kt.height=Qn;var or=_t-gr,jr=Qn-xr,rr=typeof Yr=="undefined"?An(gr,or):Yr||0,pr=typeof Dr=="undefined"?An(0,jr):Dr||0;rr<0?rr=0:rr>or&&(rr=or),pr<0?pr=0:pr>jr&&(pr=jr);var St=typeof mr=="number"||!mr?en(mr):mr,Wt=typeof Tr=="function"?Tr(Hr.width,Hr.height):Tr;qt.strokeStyle=Zt,qt.lineWidth=$e,qt.fillStyle=dn,Cn(qt,{x:rr,y:pr,w:gr,h:xr,points:St,margin:an}),qt.fillStyle=dn,qt.fill(),qt.globalCompositeOperation="destination-over",qt.drawImage(Hr,Wt[0],Wt[1],Hr.width,Hr.height),qe.width=_t,qe.height=Qn,Zr.strokeStyle=Zt,Zr.lineWidth=$e,Cn(Zr,{x:rr,y:pr,w:gr,h:xr,points:St,margin:an}),Zr.globalCompositeOperation="destination-over",Zr.clip(),Zr.drawImage(Hr,Wt[0],Wt[1],Hr.width,Hr.height);var Ht=Zr.getImageData(rr,pr,gr,xr);Zr.clearRect(0,0,_t,Qn),qe.width=gr,qe.height=mn?Qn:xr,Zr.putImageData(Ht,0,mn?pr:0);var kn=ao==="blob",ur=yn(qe,kn,Cr.png,$n),to=yn(kt,kn,Er,$n);Promise.all([ur,to]).then(function(io){var Eo=io[0],Mo=io[1];Bt&&(rn.length&&(jt(rn),rn.length=0),kn&&rn.push(Mo,Eo)),On({puzzleUrl:Eo,bgUrl:Mo,x:rr,y:mn?0:pr})}).catch(bn)}).catch(bn)})}var Xn=e(43418),hr=e(3113),po=Object.defineProperty,Qr=Object.getOwnPropertySymbols,Sr=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,Ur=(j,fe,Ie)=>fe in j?po(j,fe,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):j[fe]=Ie,Gr=(j,fe)=>{for(var Ie in fe||(fe={}))Sr.call(fe,Ie)&&Ur(j,Ie,fe[Ie]);if(Qr)for(var Ie of Qr(fe))uo.call(fe,Ie)&&Ur(j,Ie,fe[Ie]);return j},vo=(j,fe,Ie)=>new Promise(($e,pt)=>{var Zt=mr=>{try{dn(Ie.next(mr))}catch(Mr){pt(Mr)}},En=mr=>{try{dn(Ie.throw(mr))}catch(Mr){pt(Mr)}},dn=mr=>mr.done?$e(mr.value):Promise.resolve(mr.value).then(Zt,En);dn((Ie=Ie.apply(j,fe)).next())});const Nr=({ModalProps:j,onFinish:fe})=>{const[Ie,$e]=(0,M.useState)(),pt=(0,M.useRef)(),Zt=()=>vo(void 0,null,function*(){const dn=`/images/VerifCodeBg/img${Math.floor(Math.random()*23)+1}.jpg`,mr=yield Bn(dn,{imageHeight:180,imageWidth:360});return $e(mr),mr}),En=dn=>vo(void 0,null,function*(){return dn!=null&&dn.x&&dn.x>Ie.x-5&&dn.x{var dn;j!=null&&j.open&&pt.current&&((dn=pt.current)==null||dn.refresh())},[j==null?void 0:j.open,pt]),M.createElement(Xn.default,Gr({},Gr({title:"\u8BF7\u5B8C\u6210\u4E0B\u5217\u9A8C\u8BC1\u540E\u7EE7\u7EED",width:410,footer:null,centered:!0},j)),M.createElement(vt,{actionRef:pt,request:Zt,onVerify:dn=>vo(void 0,null,function*(){return En(dn)}),bgSize:{width:360,height:180}}),M.createElement("div",{className:"flex mt10"},M.createElement(hr.ZP,{style:{paddingLeft:"0px",paddingRight:"0px"},type:"link",icon:M.createElement("i",{className:"iconfont icon-shuaxin3"}),onClick:()=>{var dn;(dn=pt.current)==null||dn.refresh()}},"\u5237\u65B0")))};var mo=M.memo(Nr)},10269:function(Yt,je,e){var t=e(59301),i=e(78241),h=e(8591),M=e(43418),c=e(1710),E=e(46400),n=e(92832),Y=e(24780),ne=e(89070),m=Object.defineProperty,de=Object.defineProperties,p=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(C,r,I)=>r in C?m(C,r,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[r]=I,ke=(C,r)=>{for(var I in r||(r={}))Z.call(r,I)&&te(C,I,r[I]);if(P)for(var I of P(r))ee.call(r,I)&&te(C,I,r[I]);return C},ye=(C,r)=>de(C,p(r)),Be=(C,r,I)=>new Promise((b,ae)=>{var H=V=>{try{A(I.next(V))}catch(D){ae(D)}},X=V=>{try{A(I.throw(V))}catch(D){ae(D)}},A=V=>V.done?b(V.value):Promise.resolve(V.value).then(H,X);A((I=I.apply(C,r)).next())});const Ae={height:48,borderRadius:4},Q=({dispatch:C,setType:r,data:I,accountInfo:b,open:ae})=>{const[H]=i.default.useForm(),[X]=(0,ne.useSearchParams)(),A=(0,ne.useLocation)(),[V,D]=(0,t.useState)(!1),[be,W]=(0,t.useState)(""),$=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/;(0,t.useEffect)(()=>{D(ae)},[ae]);const z=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:y=>t.createElement("span",{className:y.indexOf("\u5F02\u5E38")>-1||y.indexOf("\u767B\u5F55")>-1?"c-red":"c-green"},y)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:y=>t.createElement("span",{className:y.indexOf("\u5F02\u5E38")>-1||y.indexOf("\u767B\u5F55")>-1?"c-red":"c-green"},y)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],k=[{real_name:"edutest01",student_id:"test0001",last_login_time:"2023-05-20 13:53:10",ip:"ip\u5730\u5740\u6B63\u5E38",browser:"\u6D4F\u89C8\u5668\u6B63\u5E38"}],Ee=()=>Be(void 0,null,function*(){yield H.validateFields();let y;if(b!=null&&b.code?y=yield(0,Y.Gq)(ke(ye(ke({},b),{phone:b==null?void 0:b.login}),H.getFieldValue())):y=yield(0,Y.Es)(ke(ke({},b),H.getFieldValue())),y.status){if(y.status===-4){C({type:"user/showPopLogin",payload:{showPopLogin:!1}}),C({type:"user/setBindAccountModal",payload:{bindAccountModalVisible:!0,userInfoForBindAccountModal:y.user,loginInfo:b}});return}W(y==null?void 0:y.message);return}if(D(!1),y!=null&&y.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",y==null?void 0:y.start_date)):localStorage.removeItem("extension-modal"),A.pathname==="/user/login"||A.pathname==="/login"){let T=X.get("form")||X.get("back_url");if(T)window.location.href=decodeURIComponent(T);else if(!$.test(b.password)&&!(b!=null&&b.code))h.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),window.location.href="/account/secure";else{window.location.href="/";return}}else if(!$.test(b.password)&&!(b!=null&&b.code))h.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),window.location.href="/account/secure?active=3",C({type:"user/showPopLogin",payload:{showPopLogin:!1}});else{window.location.reload();return}H.resetFields()}),l=()=>{C({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return t.createElement(M.default,{title:"\u767B\u5F55\u63D0\u793A",width:600,onOk:Ee,onCancel:()=>D(!1),centered:!0,keyboard:!1,closable:!1,maskClosable:!1,open:V},t.createElement("p",{className:"tc"},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002"),t.createElement("div",{className:"mt20"},t.createElement(c.default,{pagination:{hideOnSinglePage:!0},dataSource:I||[],columns:z})),t.createElement("div",{className:"mt20 mb20"},t.createElement(E.Z,{message:"\u8BF7\u76D1\u8003\u8001\u5E08\u8F93\u5165\u7684\u8003\u8BD5\u89E3\u9501\u7801\uFF0C\u6388\u6743\u5F53\u524D\u5B66\u751F\u767B\u5F55\u5E73\u53F0\u3002",type:"warning"})),t.createElement(i.default,{name:"global_state",autoComplete:"off",form:H},t.createElement(i.default.Item,{name:"unlock_key",label:"\u8003\u8BD5\u89E3\u9501\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u89E3\u9501\u7801"}]},t.createElement(n.default.Password,{autoComplete:"off"}))))};je.Z=(0,ne.connect)(({user:C,loading:r,globalSetting:I})=>({user:C,globalSetting:I,loading:r.models.index}))(Q)},59125:function(Yt,je,e){e.r(je),e.d(je,{default:function(){return ao}});var t=e(59301),i=e(92736),h=e(43418),M=e(81863),c=e(89070),E=e(78241),n=e(8591),Y=e(92832),ne=e(24905),m=e(3113),de=e(24780),p=e(99267),P=e(10269),Z={"login-panel-wrapper2":"login-panel-wrapper2___HuMNJ","ant-form-item-explain":"ant-form-item-explain___c1FeE","ant-form-item":"ant-form-item___qb60e","ant-form-item-with-help":"ant-form-item-with-help___NeAwJ","login-panel-right-wrp":"login-panel-right-wrp___vWD_i","res-error-values":"res-error-values___hV1lz",tabs:"tabs___EwOAX"},ee=Object.defineProperty,te=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Be=(G,me,ge)=>me in G?ee(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,Ae=(G,me)=>{for(var ge in me||(me={}))ke.call(me,ge)&&Be(G,ge,me[ge]);if(te)for(var ge of te(me))ye.call(me,ge)&&Be(G,ge,me[ge]);return G},Q=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const C={height:48,borderRadius:4},r=({dispatch:G,setType:me,user:ge,setusername:Bt})=>{const[At]=E.default.useForm(),[On]=(0,c.useSearchParams)(),bn=(0,c.useLocation)(),[kt,qe]=(0,t.useState)(""),[qt,Zr]=(0,t.useState)([]),[fr,Pr]=(0,t.useState)({}),[Hr,_t]=(0,t.useState)(!1),Qn=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,or=rr=>Q(void 0,null,function*(){_t(!1),Qn.test(rr.password)||Bt(rr.login),Pr(Ae({},rr));const pr=yield(0,de.Es)(rr);if(pr.status){if(pr.status===-4){G({type:"user/showPopLogin",payload:{showPopLogin:!1}}),G({type:"user/setBindAccountModal",payload:{bindAccountModalVisible:!0,userInfoForBindAccountModal:pr.user,loginInfo:rr}});return}else if(pr.status===-5){Zr([pr==null?void 0:pr.message]),_t(!0);return}qe(pr==null?void 0:pr.message);return}if(pr!=null&&pr.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",pr==null?void 0:pr.start_date)):localStorage.removeItem("extension-modal"),bn.pathname==="/user/login"||bn.pathname==="/login"){let St=On.get("form")||On.get("back_url");St?window.location.href=decodeURIComponent(St):(Qn.test(rr.password)||(n.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),yield new Promise(Wt=>setTimeout(Wt,300))),window.location.href="/")}else Qn.test(rr.password)||(n.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),yield new Promise(St=>setTimeout(St,300))),window.location.reload();At.resetFields()}),jr=()=>{G({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return t.createElement(t.Fragment,null,t.createElement(E.default,{layout:"vertical",form:At,initialValues:{autologin:!0,login:ge.actionTabs.phone},onFinish:or,onValuesChange:rr=>{qe("");const pr=/[\u4e00-\u9fa5]/g;if("password"in rr){const St=rr.password.replace(pr,"");At.setFieldsValue({password:St})}}},!!kt&&t.createElement("div",{className:Z["res-error-values"]},t.createElement("span",null,kt),t.createElement(p.Z,{onClick:()=>qe("")})),t.createElement(E.default.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u540D\u3001\u624B\u673A\u53F7\u6216\u90AE\u7BB1"}]},t.createElement(Y.default,{style:C,size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7",onBlur:()=>{G({type:"user/setActionTabs",payload:{phone:At.getFieldValue("login")}})}})),t.createElement(E.default.Item,{name:"password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"}]},t.createElement(Y.default.Password,{style:C,size:"middle",placeholder:"\u5BC6\u7801"})),t.createElement(E.default.Item,null,t.createElement("div",{className:"flex-container",style:{justifyContent:"space-between"}},t.createElement(E.default.Item,{name:"autologin",noStyle:!0,valuePropName:"checked"},t.createElement(ne.default,null,"\u4E0B\u6B21\u81EA\u52A8\u767B\u5F55")),t.createElement("div",null,t.createElement("span",{className:"current font14 c-blue",onClick:()=>me(4)},"\u627E\u56DE\u5BC6\u7801")))),t.createElement(E.default.Item,null,t.createElement(m.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,className:"font16",style:C},"\u767B\u5F55")),t.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:20}},"\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",t.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B"))),t.createElement(P.Z,{open:Hr,data:qt,accountInfo:Ae({},fr)}))};var I=(0,c.connect)(({user:G,loading:me,globalSetting:ge})=>({user:G,globalSetting:ge,loading:me.models.index}))(r),b=e(955),ae=e(28386),H=e(59301),X=Object.defineProperty,A=Object.defineProperties,V=Object.getOwnPropertyDescriptors,D=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,$=(G,me,ge)=>me in G?X(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,z=(G,me)=>{for(var ge in me||(me={}))be.call(me,ge)&&$(G,ge,me[ge]);if(D)for(var ge of D(me))W.call(me,ge)&&$(G,ge,me[ge]);return G},k=(G,me)=>A(G,V(me)),Ee=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const l={height:48,borderRadius:4},y=/(^(1[0-9])\d{9}$)/i,T={timer:0};var R=(G=>(G[G.setTimer=0]="setTimer",G))(R||{});function F(G,me){switch(me.type){case 0:return k(z({},G),{timer:me.payload});default:throw new Error}}const U=({user:G,dispatch:me,validateName:ge,getCode:Bt,register:At,style:On={},buttonText:bn="\u6CE8\u518C",globalSetting:kt})=>{var qe;const[qt]=E.default.useForm(),[Zr,fr]=(0,t.useReducer)(F,T),[Pr,Hr]=(0,t.useState)(!1),{timer:_t}=Zr,[Qn,or]=(0,t.useState)(!1),[jr,rr]=(0,t.useState)(!1),[pr,St]=(0,t.useState)([]),[Wt,Ht]=(0,t.useState)(""),[kn,ur]=(0,t.useState)({}),[to,io]=(0,t.useState)(!1);function Eo(Wr){return Ee(this,null,function*(){rr(!1),ur(z({},Wr));const{login:Jr,password:Do,code:Ko}=Wr,So=yield At({login:Jr,code:Ko});if(Ht(So==null?void 0:So.message),So.status===-4){me({type:"user/showPopLogin",payload:{showPopLogin:!1}}),me({type:"user/setBindAccountModal",payload:{bindAccountModalVisible:!0,userInfoForBindAccountModal:So.user,loginInfo:Wr}});return}else if(So.status===-5){St([So==null?void 0:So.message]),rr(!0);return}else if((So==null?void 0:So.status)<0){qt.setFields([{name:"code",errors:[So==null?void 0:So.message]}]);return}(So==null?void 0:So.status)>=0&&window.location.reload()})}function Mo(){return Ee(this,null,function*(){let Wr=qt.getFieldValue("login"),Jr=0;if(!y.test(Wr)||Wr.indexOf(" ")>-1)return qt.setFields([{name:"login",errors:["\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"]}]),Jr=1,Jr;let{status:Do,message:Ko}=yield ge({login:Wr,type:1});return Do<0?Jr=2:(qt.setFields([{name:"login",errors:["\u8BE5\u624B\u673A\u53F7\u7801\u4E0D\u5B58\u5728\uFF0C\u8BF7\u5148\u6CE8\u518C"]}]),Jr=1),Jr})}const Go=()=>Ee(void 0,null,function*(){const Wr=qt.getFieldValue("login");if(!y.test(Wr))qt.validateFields(["login"]);else{let Jr=yield ge({login:Wr,type:1});if((Jr==null?void 0:Jr.status)>0){qt.setFields([{name:"login",errors:["\u8BE5\u624B\u673A\u53F7\u7801\u4E0D\u5B58\u5728\uFF0C\u8BF7\u5148\u6CE8\u518C"]}]);return}Hr(!0);const{status:Do,message:Ko}=yield Bt({login:Wr,type:6,smscode:(0,b.M)(Wr)});Do<0&&qt.setFields([{name:"code",errors:[Ko]}]),fr({type:0,payload:60}),Hr(!1)}});function Xo(Wr,Jr){if(!Jr)return Promise.resolve();if(Jr.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C");const Do=Jr.length;return Do>=8&&Do<=16?Promise.resolve():Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C")}const ia=(Wr,Jr)=>Jr?Promise.resolve():Promise.reject("\u8BF7\u62D6\u52A8\u6ED1\u5757\u9A8C\u8BC1");(0,t.useEffect)(()=>{_t>0&&setTimeout(()=>{fr({type:0,payload:_t-1})},1e3)},[_t]);const xo=(Wr,Jr)=>Jr?Jr.indexOf(" ")>-1?Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"):y.test(Jr)?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"):Promise.resolve();return H.createElement(H.Fragment,null,H.createElement(E.default,{layout:"vertical",form:qt,style:On,initialValues:{autologin:!0,protool:!1,login:G.actionTabs.phone},onFinish:Eo},H.createElement(E.default.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"},{validator:xo}]},H.createElement(Y.default,{style:l,autoComplete:"new-login",size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7",maxLength:11,onBlur:()=>{Mo(),me({type:"user/setActionTabs",payload:{phone:qt.getFieldValue("login")}})},onChange:()=>qt.setFieldsValue({verify:0})})),!((qe=kt==null?void 0:kt.setting)!=null&&qe.is_local)&&H.createElement(E.default.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},H.createElement(Y.default,{suffix:H.createElement(m.ZP,{loading:Pr,type:"link",onClick:Wr=>{Wr.stopPropagation();const Jr=qt.getFieldValue("login");if(!y.test(Jr)){qt.validateFields(["login"]);return}io(!0)},disabled:_t>0||Qn}," ",_t===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`${_t}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`),style:{paddingRight:2,height:48},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"})),H.createElement(E.default.Item,null,H.createElement("div",{className:"flex-container",style:{justifyContent:"space-between"}},H.createElement(E.default.Item,{name:"autologin",noStyle:!0,valuePropName:"checked"},H.createElement(ne.default,null,"\u4E0B\u6B21\u81EA\u52A8\u767B\u5F55")))),H.createElement(E.default.Item,null,H.createElement(m.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:l,className:"font16"}," ",bn," ")),H.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:20}},"\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",H.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B"))),H.createElement(P.Z,{open:jr,data:pr,accountInfo:z({},kn)}),H.createElement(ae.Z,{ModalProps:{open:to,onCancel:()=>{io(!1)}},onFinish:()=>{io(!1),Go()}}))};var ce=(0,c.connect)(({globalSetting:G,user:me})=>({globalSetting:G,user:me}))(U),Qe=e(6848),Re=e(59301),Ve=Object.defineProperty,vt=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,v=(G,me,ge)=>me in G?Ve(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,S=(G,me)=>{for(var ge in me||(me={}))Oe.call(me,ge)&&v(G,ge,me[ge]);if(mt)for(var ge of mt(me))_e.call(me,ge)&&v(G,ge,me[ge]);return G},g=(G,me)=>vt(G,xt(me)),o=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const L={height:48},le=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,f=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,s={timer:0};var _=(G=>(G[G.setTimer=0]="setTimer",G))(_||{});function N(G,me){switch(me.type){case 0:return g(S({},G),{timer:me.payload});default:throw new Error}}const B=({validateName:G,getCode:me,register:ge,style:Bt={},buttonText:At="\u6CE8\u518C",globalSetting:On})=>{var bn;const[kt]=E.default.useForm(),[qe,qt]=(0,t.useReducer)(N,s),[Zr,fr]=(0,t.useState)(!1),{timer:Pr}=qe,[Hr,_t]=(0,t.useState)(!1);function Qn(Wt){return o(this,null,function*(){const{login:Ht,password:kn,code:ur}=Wt,{message:to,status:io}=yield ge({login:Ht,password:kn,code:ur});if(io<0){kt.setFields([{name:"code",errors:[to]}]);return}window.location.reload()})}function or(){return o(this,null,function*(){let Wt=kt.getFieldValue("login"),Ht=0;if(!le.test(Wt)||Wt.indexOf(" ")>-1)return kt.setFields([{name:"login",errors:["\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"]}]),Ht=1,Ht;let{status:kn,message:ur}=yield G({login:Wt,type:1});return kn>0?Ht=2:(kt.setFields([{name:"login",errors:[ur]}]),Ht=1),Ht})}const jr=()=>o(void 0,null,function*(){fr(!0);const Wt=kt.getFieldValue("verify"),Ht=kt.getFieldValue("login");if(!Ht)kt.validateFields(["login"]);else{const kn=yield G({login:Ht,type:1});if((kn==null?void 0:kn.status)!==1){kt.setFields([{name:"login",errors:[kn==null?void 0:kn.message]}]);return}const{status:ur,message:to}=yield me({login:Ht,type:1,smscode:(0,b.M)(Ht)});ur<0&&kt.setFields([{name:"code",errors:[to]}]),qt({type:0,payload:60})}fr(!1)});function rr(Wt,Ht){if(!Ht)return Promise.resolve();if(!f.test(Ht))return Promise.reject("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD");if(Ht.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C");const kn=Ht.length;return kn>=8&&kn<=16?Promise.resolve():Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C")}const pr=(Wt,Ht)=>Ht?Promise.resolve():Promise.reject("\u8BF7\u62D6\u52A8\u6ED1\u5757\u9A8C\u8BC1");(0,t.useEffect)(()=>{Pr>0&&setTimeout(()=>{qt({type:0,payload:Pr-1})},1e3)},[Pr]);const St=(Wt,Ht)=>Ht?Ht.indexOf(" ")>-1?Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):le.test(Ht)?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Promise.resolve();return Re.createElement(Re.Fragment,null,Re.createElement(E.default,{layout:"vertical",form:kt,style:Bt,initialValues:{autologin:!0,protool:!1},onFinish:Qn},Re.createElement(E.default.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"},{validator:St}]},Re.createElement(Y.default,{style:L,autoComplete:"new-login",size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7",onBlur:()=>or,onChange:()=>kt.setFieldsValue({verify:0})})),!((bn=On==null?void 0:On.setting)!=null&&bn.is_local)&&Re.createElement(E.default.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},Re.createElement(Y.default,{suffix:Re.createElement(m.ZP,{loading:Zr,type:"link",onClick:Wt=>{if(Wt.stopPropagation(),!kt.getFieldValue("login")){kt.validateFields(["login"]);return}_t(!0)},disabled:Pr>0}," ",Pr===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`${Pr}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`),style:{paddingRight:2,height:48},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"})),Re.createElement(Qe.Z,{title:Re.createElement("div",null,Re.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),Re.createElement("br",null),Re.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),Re.createElement("br",null),Re.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},Re.createElement(E.default.Item,{name:"password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"},{validator:rr}]},Re.createElement(Y.default.Password,{autoComplete:"new-password",style:L,size:"middle",placeholder:"\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"}))),Re.createElement(E.default.Item,null,Re.createElement(m.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:L,className:"font16"}," ",At," ")),Re.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:35}},"\u6CE8\u518C\u5E76\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",Re.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B"))),Re.createElement(ae.Z,{ModalProps:{open:Hr,onCancel:()=>{_t(!1)}},onFinish:()=>{_t(!1),jr()}}))};var J=(0,c.connect)(({globalSetting:G})=>({globalSetting:G}))(B),De=e(89392),ie=e(59301),Le=Object.defineProperty,Pe=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,Je=(G,me,ge)=>me in G?Le(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,wt=(G,me)=>{for(var ge in me||(me={}))ut.call(me,ge)&&Je(G,ge,me[ge]);if(Me)for(var ge of Me(me))ht.call(me,ge)&&Je(G,ge,me[ge]);return G},Nt=(G,me)=>Pe(G,Fe(me)),Kt=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const Rt={height:48},gn=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,Pn=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,Sn={timer:0};var Tn=(G=>(G[G.setTimer=0]="setTimer",G))(Tn||{});function Yn(G,me){switch(me.type){case 0:return Nt(wt({},G),{timer:me.payload});default:throw new Error}}const pn=({validateName:G,getCode:me,register:ge,style:Bt={},buttonText:At="\u6CE8\u518C",globalSetting:On})=>{var bn;const[kt]=E.default.useForm(),[qe,qt]=(0,t.useReducer)(Yn,Sn),[Zr,fr]=(0,t.useState)(!1),{timer:Pr}=qe,[Hr,_t]=(0,t.useState)(!1);function Qn(Wt){return Kt(this,null,function*(){const{login:Ht,new_password:kn,code:ur}=Wt,{message:to,status:io}=yield ge({login:Ht,new_password:kn,code:ur});if(io<0){kt.setFields([{name:"code",errors:[to]}]);return}location.reload()})}function or(){return Kt(this,null,function*(){let Wt=kt.getFieldValue("login"),Ht=0;if(!gn.test(Wt)||Wt.indexOf(" ")>-1)return kt.setFields([{name:"login",errors:["\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"]}]),Ht=1,Ht;let{status:kn,message:ur}=yield G({login:Wt,type:2});return kn>0?Ht=2:(kt.setFields([{name:"login",errors:[ur]}]),Ht=1),Ht})}const jr=()=>Kt(void 0,null,function*(){const Wt=kt.getFieldValue("verify"),Ht=kt.getFieldValue("login");if(yield kt.validateFields(["login"]),!Ht)kt.validateFields(["login"]);else{fr(!0);const{status:kn,message:ur}=yield me({login:Ht,type:2,smscode:(0,b.M)(Ht)});kn<0&&kt.setFields([{name:"code",errors:[ur]}]),qt({type:0,payload:60}),fr(!1)}});function rr(Wt,Ht){if(!Ht)return Promise.resolve();if(!Pn.test(Ht))return Promise.reject("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD");if(Ht.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C");const kn=Ht.length;return kn>=8&&kn<=16?Promise.resolve():Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C")}const pr=(Wt,Ht)=>Ht?Promise.resolve():Promise.reject("\u8BF7\u62D6\u52A8\u6ED1\u5757\u9A8C\u8BC1");(0,t.useEffect)(()=>{Pr>0&&setTimeout(()=>{qt({type:0,payload:Pr-1})},1e3)},[Pr]);const St=(Wt,Ht)=>Kt(void 0,null,function*(){if(!Ht)return Promise.resolve();if(Ht.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1");if(gn.test(Ht)){let{status:kn,message:ur}=yield G({login:Ht,type:2});return kn>0?Promise.resolve():Promise.reject(ur)}else return Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1")});return ie.createElement(ie.Fragment,null,ie.createElement(E.default,{layout:"vertical",form:kt,style:Bt,initialValues:{autologin:!0,protool:!1},onFinish:(0,De.throttle)(Qn,2e3)},ie.createElement(E.default.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"},{validator:(0,De.throttle)(St,400)}]},ie.createElement(Y.default,{style:Rt,autoComplete:"new-login",size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7",onChange:()=>kt.setFieldsValue({verify:0})})),ie.createElement(Qe.Z,{title:ie.createElement("div",null,ie.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),ie.createElement("br",null),ie.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),ie.createElement("br",null),ie.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},ie.createElement(E.default.Item,{name:"new_password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"},{validator:rr}]},ie.createElement(Y.default.Password,{autoComplete:"new-password",style:Rt,size:"middle",placeholder:"\u8F93\u51658\uFF5E16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}))),!((bn=On==null?void 0:On.setting)!=null&&bn.is_local)&&ie.createElement(E.default.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},ie.createElement(Y.default,{suffix:ie.createElement(m.ZP,{loading:Zr,type:"link",onClick:Wt=>{if(Wt.stopPropagation(),!kt.getFieldValue("login")){kt.validateFields(["login"]);return}_t(!0)},disabled:Pr>0}," ",Pr===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`${Pr}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`),style:{paddingRight:2,height:48},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"})),ie.createElement(E.default.Item,null,ie.createElement(m.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:Rt,className:"font16"}," ",At," ")),ie.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:20}},"\u4FEE\u6539\u5E76\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",ie.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B"))),ie.createElement(ae.Z,{ModalProps:{open:Hr,onCancel:()=>{_t(!1)}},onFinish:()=>{_t(!1),jr()}}))};var Tt=(0,c.connect)(({globalSetting:G})=>({globalSetting:G}))(pn),xn=Object.defineProperty,Gn=Object.getOwnPropertySymbols,Gt=Object.prototype.hasOwnProperty,zn=Object.prototype.propertyIsEnumerable,tr=(G,me,ge)=>me in G?xn(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,Jn=(G,me)=>{for(var ge in me||(me={}))Gt.call(me,ge)&&tr(G,ge,me[ge]);if(Gn)for(var ge of Gn(me))zn.call(me,ge)&&tr(G,ge,me[ge]);return G};const Wn=G=>React.createElement("svg",Jn({id:"wechat_svg__\\u56FE\\u5C42_1",xmlns:"http://www.w3.org/2000/svg",x:0,y:0,viewBox:"0 0 66 66",style:{enableBackground:"new 0 0 66 66"},xmlSpace:"preserve"},G),React.createElement("style",null,".wechat_svg__st1{fill:#00b913}"),React.createElement("g",{id:"wechat_svg__\\u9875\\u9762-1"},React.createElement("g",{id:"wechat_svg__\\u767B\\u5F55_x2F_\\u6CE8\\u518C",transform:"translate(-1081 -380)"},React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4-18\\u5907\\u4EFD",transform:"translate(1063 238)"},React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4-12",transform:"translate(18 142)"},React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4-10"},React.createElement("circle",{id:"wechat_svg__\\u692D\\u5706\\u5F62",cx:33,cy:33,r:33,style:{fillRule:"evenodd",clipRule:"evenodd",fill:"#c6f4c9"}}),React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4",transform:"translate(12 15.429)"},React.createElement("path",{id:"wechat_svg__\\u8DEF\\u5F84",className:"wechat_svg__st1",d:"M16.3 22.8c0-6.6 6-12.1 13.7-12.1h.4C29.1 4.6 22.7 0 15.4 0 7.2 0 .4 5.8.4 13.1c0 4.3 2.2 7.7 6 10.5l-1.5 4.7 5.2-2.7c1.7.4 3.5.7 5.3.8.5 0 .9 0 1.4-.1l.1-.1c-.4-1.1-.6-2.3-.6-3.4z"}),React.createElement("path",{id:"wechat_svg__\\u8DEF\\u5F84_1_",className:"wechat_svg__st1",d:"M42.4 22.4c0-6.2-5.8-11.2-12.4-11.2-7 0-12.4 5.1-12.4 11.2S23.1 33.6 30 33.6c1.5-.1 3-.3 4.4-.8l4 2.3-1-3.8c2.8-2.3 5-5.5 5-8.9z"}),React.createElement("path",{id:"wechat_svg__\\u5F62\\u72B6",d:"M21.6 6c1-.1 1.8.7 1.9 1.7V8c.1 1-.7 1.9-1.6 2h-.2c-1.1.1-2.1-.8-2.2-2 0-1.2 1-2.1 2.1-2zM11.2 9.9C10.1 10 9.1 9.2 9 8c.1-1.2 1.1-2.1 2.2-2 1-.1 1.8.7 1.8 1.8V8c.1 1-.7 1.9-1.6 2h-.2zm15.2 10.7c-.8-.1-1.4-.7-1.5-1.6.1-.8.7-1.5 1.5-1.6.9-.1 1.7.6 1.9 1.6-.2 1-1 1.7-1.9 1.6zm8.2 0c-.8-.1-1.4-.7-1.5-1.6.1-.8.7-1.5 1.5-1.6.9-.1 1.7.6 1.9 1.6-.2 1-1 1.7-1.9 1.6z",style:{fill:"#fff"}}))))))));var br="data:image/svg+x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IiBjbGFzcz0ic3QxIiBkPSJNNDIuNCAyMi40YzAtNi4yLTUuOC0xMS4yLTEyLjQtMTEuMi03IDAtMTIuNCA1LjEtMTIuNCAxMS4yUzIzLjEgMzMuNiAzMCAzMy42YzEuNS0uMSAzLS4zIDQuNC0uOGw0IDIuMy0xLTMuOGMyLjgtMi4zIDUtNS41IDUtOC45eiIvPjxwYXRoIGlkPSLlvaLnirYiIGQ9Ik0yMS42IDZjMS0uMSAxLjguNyAxLjkgMS43VjhjLjEgMS0uNyAxLjktMS42IDJoLS4yYy0xLjEuMS0yLjEtLjgtMi4yLTIgMC0xLjIgMS0yLjEgMi4xLTJ6TTExLjIgOS45QzEwLjEgMTAgOS4xIDkuMiA5IDhjLjEtMS4yIDEuMS0yLjEgMi4yLTIgMS0uMSAxLjguNyAxLjggMS44VjhjLjEgMS0uNyAxLjktMS42IDJoLS4yem0xNS4yIDEwLjdjLS44LS4xLTEuNC0uNy0xLjUtMS42LjEtLjguNy0xLjUgMS41LTEuNi45LS4xIDEuNy42IDEuOSAxLjYtLjIgMS0xIDEuNy0xLjkgMS42em04LjIgMGMtLjgtLjEtMS40LS43LTEuNS0xLjYuMS0uOC43LTEuNSAxLjUtMS42LjktLjEgMS43LjYgMS45IDEuNi0uMiAxLTEgMS43LTEuOSAxLjZ6IiBzdHlsZT0iZmlsbDojZmZmIi8+PC9nPjwvZz48L2c+PC9nPjwvZz48L2c+PC9zdmc+",Or=Object.defineProperty,Ln=Object.getOwnPropertySymbols,sr=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,Nn=(G,me,ge)=>me in G?Or(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,se=(G,me)=>{for(var ge in me||(me={}))sr.call(me,ge)&&Nn(G,ge,me[ge]);if(Ln)for(var ge of Ln(me))nn.call(me,ge)&&Nn(G,ge,me[ge]);return G};const d=G=>React.createElement("svg",se({className:"QQUrl_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},G),React.createElement("path",{d:"M512 0C229.356 0 0 229.356 0 512s229.356 512 512 512 512-229.356 512-512S794.644 0 512 0zm235.75 647.603c-10.7 5.417-27.417-6.963-43.34-30.157-6.267 25.262-21.673 47.95-43.607 66.253 23.244 8.505 38.123 22.17 38.123 37.898 0 25.519-40.99 46.403-91.387 46.403-45.43 0-83.287-17.014-90.076-38.927h-10.967C499.446 751.243 461.85 768 416.42 768c-50.396 0-91.387-20.623-91.387-46.403 0-15.728 15.145-29.388 38.118-37.898-21.929-18.304-37.596-41.252-43.602-66.253-15.667 23.194-32.634 35.83-43.34 30.157-15.668-7.987-12.534-51.046 7.05-96.159 15.145-35.317 36.03-61.614 51.697-67.287-.262-2.319-.262-4.638-.262-6.707 0-13.66 3.917-26.291 10.445-36.608v-2.314c0-6.19 1.567-12.119 4.178-17.275C353.23 329.216 414.07 256 512.241 256s159.006 73.216 162.923 165.253a38.374 38.374 0 0 1 4.178 17.275v2.32c6.528 10.311 10.445 22.942 10.445 36.607 0 2.32 0 4.64-.261 6.702 15.923 5.673 36.557 31.97 51.696 67.287 19.062 45.118 22.196 88.167 6.528 96.16z",fill:"#378AFE"}));var w="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTUxMiAwQzIyOS4zNTYgMCAwIDIyOS4zNTYgMCA1MTJzMjI5LjM1NiA1MTIgNTEyIDUxMiA1MTItMjI5LjM1NiA1MTItNTEyUzc5NC42NDQgMCA1MTIgMHptMjM1Ljc1IDY0Ny42MDNjLTEwLjcgNS40MTctMjcuNDE3LTYuOTYzLTQzLjM0LTMwLjE1Ny02LjI2NyAyNS4yNjItMjEuNjczIDQ3Ljk1LTQzLjYwNyA2Ni4yNTMgMjMuMjQ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btn-link___MhTA6","wechat-qrcode":"wechat-qrcode___bLWkh",driver:"driver___IuicK"},O=e(3294),re=e(59301);const Se=window.location.host,Ye=O.Z.QQLoginCB;var We=({onWechatLogin:G,setType:me,loginType:ge})=>{function Bt(){let At="";return(0,b.b9)()?At=`https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=${Ye}%2fotherloginqq&state=null,${Se}&response_type=code`:At=`https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=${Ye}%2fotherloginqq&state=null,${Se}&response_type=code`,At}return re.createElement(re.Fragment,null,(ge===1||ge===2)&&re.createElement("div",{style:{marginTop:(0,b.WX)()?192:92,marginBottom:60},className:"font16 tc"},"\u6CA1\u6709\u8D26\u53F7\uFF1F",re.createElement("span",{onClick:()=>me(3),className:"c-blue current"},"\u514D\u8D39\u6CE8\u518C")),(ge===3||ge===4||ge===5)&&re.createElement("div",{style:{marginTop:(0,b.WX)()?192:92,marginBottom:60},className:"font16 tc"},"\u5DF2\u6709\u8D26\u53F7\uFF1F",re.createElement("span",{onClick:()=>me(1),className:"c-blue current"},"\u7ACB\u5373\u767B\u5F55")),!(0,b.WX)()&&re.createElement(re.Fragment,null,re.createElement("p",{className:x.driver},re.createElement("span",{style:{color:"#444444"}},"\u5FEB\u901F\u767B\u5F55")),re.createElement("div",{className:x["other-login"]},(0,b.s2)()&&(0,b.IS)()&&re.createElement("a",{title:"\u5FAE\u4FE1\u767B\u5F55",style:{margin:0},onClick:G},re.createElement("img",{src:br,alt:"\u5FAE\u4FE1",width:66})),(0,b.s2)()&&!(0,b.IS)()&&re.createElement("a",{title:"qq\u767B\u5F55",rel:"noreferrer noopener nofollow",style:{margin:0},href:Bt()},re.createElement("img",{src:w,alt:"QQ",width:66})),(0,b.b9)()&&re.createElement(re.Fragment,null,re.createElement("a",{title:"\u5FAE\u4FE1\u767B\u5F55",style:{marginRight:(0,b.IS)()?0:40},onClick:G},re.createElement("img",{src:br,alt:"\u5FAE\u4FE1",width:66})),!(0,b.IS)()&&re.createElement("a",{title:"qq\u767B\u5F55",href:Bt()},re.createElement("img",{src:w,alt:"QQ",width:66}))))))};function it({onBack:G,setType:me}){return re.createElement(re.Fragment,null,re.createElement("div",{style:{overflow:"hidden",width:300,height:300,margin:"20px auto 0 auto"}},re.createElement("iframe",{className:x["wechat-qrcode"],frameBorder:"0",sandbox:"allow-scripts allow-same-origin allow-top-navigation",scrolling:"no",src:`https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=${Ye}%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,${Se}#wechat_redirect`})),re.createElement("div",{style:{marginTop:17,marginBottom:10},className:"font16 bold tc c-blue current"},re.createElement("span",{onClick:()=>me(1),style:{borderBottom:"2px solid #0152d9"}},"\u8FD4\u56DE\u8D26\u53F7\u767B\u5F55")),re.createElement("div",{className:"tc",style:{paddingTop:14,paddingBottom:40}},"\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",re.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B")))}var et=Object.defineProperty,oe=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,ct=(G,me,ge)=>me in G?et(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,lt=(G,me)=>{for(var ge in me||(me={}))pe.call(me,ge)&&ct(G,ge,me[ge]);if(xe)for(var ge of xe(me))Ne.call(me,ge)&&ct(G,ge,me[ge]);return G},dt=(G,me)=>oe(G,ve(me)),ft=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const rt={height:48},at=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,ue=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,we={timer:0};var Te=(G=>(G[G.setTimer=0]="setTimer",G))(Te||{});function Ue(G,me){switch(me.type){case 0:return dt(lt({},G),{timer:me.payload});default:throw new Error}}const ze=({validateName:G,getCode:me,register:ge,style:Bt={},buttonText:At="\u6CE8\u518C",globalSetting:On})=>{const[bn]=E.default.useForm(),[kt,qe]=(0,t.useReducer)(Ue,we),[qt,Zr]=(0,t.useState)(!1),{timer:fr}=kt;function Pr(_t){return ft(this,null,function*(){const{old_password:Qn,newPassword:or}=_t,{message:jr,status:rr}=yield ge({old_password:Qn,newPassword:or});if(rr<0){bn.setFields([{name:"code",errors:[jr]}]);return}})}const Hr=(_t,Qn,or)=>{Qn?Qn.indexOf(" ")>-1?or("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"):Qn.length<8||Qn.length>16?or("\u8BF7\u8F93\u51658-16\u4F4D\u5B57\u7B26\u7684\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\uFF01"):ue.test(Qn)?or():or("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"):or("\u8BF7\u8F93\u51658-16\u4F4D\u5B57\u7B26\u7684\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\uFF01")};return(0,t.useEffect)(()=>{fr>0&&setTimeout(()=>{qe({type:0,payload:fr-1})},1e3)},[fr]),t.createElement(E.default,{layout:"vertical",form:bn,style:Bt,initialValues:{autologin:!0,protool:!1},onFinish:Pr},t.createElement(E.default.Item,{name:"old_password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}]},t.createElement(Y.default,{style:rt,autoComplete:"new-login",size:"middle",type:"password",placeholder:"\u8BF7\u8F93\u5165\u65E7\u5BC6\u7801",onChange:()=>bn.setFieldsValue({verify:0})})),t.createElement(Qe.Z,{title:t.createElement("div",null,t.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),t.createElement("br",null),t.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),t.createElement("br",null),t.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},t.createElement(E.default.Item,{name:"newPassword",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"},{validator:Hr}]},t.createElement(Y.default.Password,{autoComplete:"new-password",style:rt,size:"middle",placeholder:"\u8F93\u51658\uFF5E16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}))),t.createElement(Qe.Z,{title:t.createElement("div",null,t.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),t.createElement("br",null),t.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),t.createElement("br",null),t.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},t.createElement(E.default.Item,{name:"againPassword",rules:[{required:!0,message:"\u8BF7\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801"},{validator:(_t,Qn,or)=>{Qn!=bn.getFieldsValue().newPassword?or("\u4E24\u6B21\u8F93\u5165\u7684\u65B0\u5BC6\u7801\u5FC5\u987B\u4E00\u81F4\uFF01"):or()}}]},t.createElement(Y.default.Password,{autoComplete:"new-password",style:rt,size:"middle",placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801"}))),t.createElement(E.default.Item,null,t.createElement(m.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:rt,className:"font16"}," ",At," ")),t.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:20}},"\u4FEE\u6539\u5E76\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",t.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B")))};var tt=(0,c.connect)(({globalSetting:G})=>({globalSetting:G}))(ze),Ge=e(99313),gt=e(95237),yt=e(43604),bt=e(59301),Qt=Object.defineProperty,$t=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,Xe=(G,me,ge)=>me in G?Qt(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,Pt=(G,me)=>{for(var ge in me||(me={}))ln.call(me,ge)&&Xe(G,ge,me[ge]);if($t)for(var ge of $t(me))Et.call(me,ge)&&Xe(G,ge,me[ge]);return G},Jt=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const{TabPane:Ut}=Ge.default;var Vt=({dispatch:G,is_main_site:me,is_local:ge,style:Bt={}})=>{const[At,On]=(0,t.useState)(!1),[bn,kt]=(0,t.useState)("1"),[qe,qt]=(0,t.useState)(1),[Zr,fr]=(0,t.useState)();function Pr(){qt(1),On(!1)}function Hr(){if((0,b.s2)()||(0,b.IS)()){(0,b.Or)();return}qt(2),On(!0)}function _t(St){console.log(St),kt(St)}const Qn={buttonText:"\u767B \u5F55",validateName:de.Ol,getCode:de.o1,register:St=>Jt(void 0,null,function*(){const Wt=yield(0,de.Gq)({phone:St.login,code:St.code});return Wt.status===0?(Wt!=null&&Wt.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",Wt==null?void 0:Wt.start_date)):localStorage.removeItem("extension-modal"),window.location.reload(),"/"):Wt})},or={buttonText:"\u6CE8\u518C\u5E76\u767B\u5F55",validateName:de.Ol,getCode:de.o1,register:St=>Jt(void 0,null,function*(){const Wt=yield(0,de.z2)(Pt({},St));return Wt.status===0?(localStorage.getItem("addinfo")==="1"?localStorage.setItem("addinfo","2"):localStorage.setItem("registeruser","1"),localStorage.removeItem("extension-modal"),n.ZP.info("\u6CE8\u518C\u5E76\u767B\u9646\u6210\u529F"),"/"):Wt})},jr={buttonText:"\u4FEE\u6539\u5BC6\u7801",validateName:de.Ol,getCode:de.o1,register:St=>Jt(void 0,null,function*(){const Wt=yield(0,de.Ex)(Pt({login:Zr},St));return n.ZP.info("\u4FEE\u6539\u5BC6\u7801\u6210\u529F"),Wt})},rr={buttonText:"\u4FEE\u6539\u5E76\u767B\u5F55",validateName:de.Ol,getCode:de.o1,register:St=>Jt(void 0,null,function*(){return new Promise(Wt=>Jt(void 0,null,function*(){St.new_password_confirmation=St.new_password;const Ht=yield(0,de.c0)(Pt({},St));return Ht.status===0?(Ht!=null&&Ht.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",Ht==null?void 0:Ht.start_date)):localStorage.removeItem("extension-modal"),n.ZP.info("\u4FEE\u6539\u6210\u529F"),Wt("/"),"/"):(Wt(Ht),Ht)}))})},pr=(0,t.useCallback)(()=>{switch(qe){case 1:return bt.createElement(Ge.default,{defaultActiveKey:bn,onChange:_t,className:Z.tabs},bt.createElement(Ut,{tab:"\u8D26\u53F7\u767B\u5F55",key:"1"},bt.createElement("div",{className:"mt20"},bn==="1"&&bt.createElement(I,{setusername:fr,setType:qt}))),bt.createElement(Ut,{tab:"\u9A8C\u8BC1\u7801\u767B\u5F55",key:"2"},bt.createElement("div",{className:"mt20"},bn==="2"&&bt.createElement(ce,Pt({},Qn)))));case 2:return bt.createElement(it,{setType:qt,onBack:Pr});case 3:return bt.createElement("div",{className:"ml40"},bt.createElement("h1",{className:"font18 mb20 mt35"},"\u65B0\u7528\u6237\u6CE8\u518C"),bt.createElement(J,Pt({},or)));case 4:return bt.createElement("div",{className:"ml40"},bt.createElement("h1",{className:"font18 mb20 mt35"},"\u627E\u56DE\u5BC6\u7801"),bt.createElement(Tt,Pt({},rr)));case 5:return bt.createElement("div",{className:"ml40"},bt.createElement("h1",{className:"font18 mb20 mt35"},"\u4FEE\u6539\u5BC6\u7801"),bt.createElement(tt,Pt({},jr)))}},[qe,bn]);return bt.createElement("div",{className:Z["login-panel-wrapper2"],style:Bt},bt.createElement(gt.Z,null,bt.createElement(yt.Z,{flex:"1"},pr()),bt.createElement(yt.Z,{flex:"295px",className:Z["login-panel-right-wrp"]},!ge&&bt.createElement(We,{loginType:qe,setType:qt,onWechatLogin:Hr}))))},Ot={popLogin:"popLogin___R8wQQ"};const sn=({user:G,globalSetting:me,loading:ge,dispatch:Bt})=>{var At,On;const bn=()=>{Bt({type:"user/showPopLogin",payload:{showPopLogin:!1,showClosable:!1}})},kt=(At=me.setting)==null?void 0:At.main_site,qe=(On=me.setting)==null?void 0:On.is_local;return t.createElement(h.default,{centered:!0,open:G.showPopLogin,footer:null,width:qe?420:765,keyboard:!1,maskClosable:!1,wrapClassName:Ot.popLogin,closable:G.showClosable,onCancel:bn},G.showPopLogin&&t.createElement(Vt,{is_main_site:kt,is_local:qe}))};var Xt=(0,c.connect)(({user:G,loading:me,globalSetting:ge})=>({user:G,globalSetting:ge,loading:me.models.index}))(sn),An=e(57809),Mn=e(88522),nt=e(99064),Ft={modalWrap:"modalWrap___bBTZj",formWrap:"formWrap___aTC2c",staffWrap:"staffWrap___Vt2Lh"},zt=e(29831),en=e(75694),Cn=e(63454),yn=Object.defineProperty,wn=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,Zn=(G,me,ge)=>me in G?yn(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,Cr=(G,me)=>{for(var ge in me||(me={}))cn.call(me,ge)&&Zn(G,ge,me[ge]);if(wn)for(var ge of wn(me))Rn.call(me,ge)&&Zn(G,ge,me[ge]);return G},rn=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const jt=({user:G,account:me,globalSetting:ge,loading:Bt,dispatch:At})=>{const[On]=E.default.useForm(),bn=An.default.Option,kt=20,[qe,qt]=(0,t.useState)({}),[Zr,fr]=(0,t.useState)(""),[Pr,Hr]=(0,t.useState)(!0),[_t,Qn]=(0,t.useState)([]),[or,jr]=(0,t.useState)(!1),[rr,pr]=(0,t.useState)(!1),[St]=E.default.useForm(),[Wt,Ht]=(0,t.useState)(!1),[kn,ur]=(0,t.useState)(!1),to=(0,t.useRef)((0,De.throttle)(xo=>Mo(xo),1200,{leading:!0,trailing:!0})).current,io=()=>{const xo={identity:"",name:"",school_id:"",staff_id:"",student_id:"",technical_title:""};On.setFieldsValue(Cr({},xo)),qt(Cr({},xo))},Eo=()=>{io(),G.backurl&&G.isCurrentPage&&c.history.replace(G.backurl),At({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!1,showClosable:!1,backurl:"",isCurrentPage:!1}})};(0,t.useEffect)(()=>{!Pr&&qe.school&&!_t.find(xo=>xo.name===qe.school)?fr("error"):fr("")},[Pr,qe.school,_t]);const Mo=xo=>rn(void 0,null,function*(){Hr(!0);const Wr=yield At({type:"account/getSchoolOption",payload:{keyword:xo,limit:99999,display_aliases:!0}});Qn(Wr==null?void 0:Wr.schools),Hr(!1)}),Go=xo=>{var Wr,Jr,Do,Ko;if(xo==="number")return qe.identity==="teacher"?`${(Wr=ge==null?void 0:ge.setting)==null?void 0:Wr.homepage_tea_qq_number}`:`${(Jr=ge==null?void 0:ge.setting)==null?void 0:Jr.homepage_stu_qq_number}`;if(xo==="code")return qe.identity==="teacher"?`${O.Z.IMG_SERVER}/${(Do=ge==null?void 0:ge.setting)==null?void 0:Do.homepage_tea_qq_qrcode_url}`:`${O.Z.IMG_SERVER}/${(Ko=ge==null?void 0:ge.setting)==null?void 0:Ko.homepage_stu_qq_qrcode_url}`},Xo=xo=>{qt(Cr({},On.getFieldsValue()))},ia=xo=>rn(void 0,null,function*(){var Wr,Jr,Do;jr(!0);const{name:Ko,identity:So,studentNo:ma,jobTitle:sa,manager:Vr,staff_id:yo,school:Uo}=xo,go=(Wr=_t.find(_r=>_r.name===Uo))==null?void 0:Wr.id;if(!go){h.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:t.createElement("div",{style:{textAlign:"center"}},t.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",Go("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),t.createElement("img",{src:Go("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}const lo=yield At({type:"account/updateAccount",payload:{id:(Jr=G==null?void 0:G.userInfo)==null?void 0:Jr.user_id,identity:So,name:Ko,school_id:go,staff_id:yo,student_id:So==="student"?ma:null,technical_title:sa||Vr}});(lo==null?void 0:lo.status)!==-1&&(lo&&(n.ZP.info("\u4FDD\u5B58\u6210\u529F"),(Do=me.basicInfo)!=null&&Do.base_info_completed||At({type:"user/getUserInfo"})),jr(!1),io(),lo&&(G.isCurrentPage?G.backurl?location.reload():ur(!0):G.backurl&&(0,b.xg)(G.backurl)),At({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!1,showClosable:!1,backurl:"",isCurrentPage:!1}}))});return t.createElement(t.Fragment,null,t.createElement(h.default,{centered:!0,open:G.showUpdateProfilePanel,title:"\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599",width:800,keyboard:!1,maskClosable:!1,wrapClassName:Ft.modalWrap,closable:G.showClosable,onCancel:Eo,onOk:()=>rn(void 0,null,function*(){Ht(!0),yield On.submit()}),okButtonProps:{loading:or}},t.createElement("div",null,t.createElement("div",{className:"mb30"},"\u60A8\u8FD8\u672A\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF0C\u5B8C\u5584\u540E\u5373\u53EF\u4F7F\u7528\u6B64\u529F\u80FD\u3002"),t.createElement(E.default,{form:On,className:Ft.formWrap,layout:"horizontal",onValuesChange:Xo,onFinish:ia,scrollToFirstError:!0,size:"large",labelAlign:"right"},t.createElement(E.default.Item,{label:"\u59D3\u540D",name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D\uFF0C\u6700\u5927\u9650\u5236${kt}\u4E2A\u5B57\u7B26`},{validator:b.HJ}]},t.createElement(Y.default,{placeholder:`\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D\uFF0C\u6700\u5927\u9650\u5236${kt}\u4E2A\u5B57\u7B26`,maxLength:kt,showCount:!0})),t.createElement(gt.Z,{gutter:[10,0]},t.createElement(yt.Z,null,t.createElement(E.default.Item,{label:"\u804C\u4E1A",name:"identity",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u4E1A"}]},t.createElement(An.default,{style:{width:120},placeholder:"\u8BF7\u9009\u62E9\u804C\u4E1A"},t.createElement(bn,{value:"teacher"},"\u6559\u5E08"),t.createElement(bn,{value:"student"},"\u5B66\u751F"),t.createElement(bn,{value:"professional"},"\u4E13\u4E1A\u4EBA\u58EB")))),qe.identity==="student"&&t.createElement(yt.Z,{flex:1},t.createElement(E.default.Item,{name:"studentNo",validateTrigger:"onBlur",dependencies:["school"],rules:[{whitespace:!0,message:"\u4E0D\u80FD\u5168\u4E3A\u7A7A"},{required:!0,message:"\u8BF7\u8F93\u5165\u5B66\u53F7"},{validator:(xo,Wr)=>rn(void 0,null,function*(){var Jr,Do,Ko;const So=yield(0,nt.ZP)(`/api/users/accounts/${(Jr=G==null?void 0:G.userInfo)==null?void 0:Jr.user_id}/valid_student_id`,{method:"get",params:{school_id:((Do=_t==null?void 0:_t.find(ma=>ma.name===qe.school))==null?void 0:Do.id)||((Ko=G==null?void 0:G.userInfo)==null?void 0:Ko.school_id),student_id:Wr}});return(So==null?void 0:So.status)<-1&&Wt&&(pr(!0),Ht(!1)),(So==null?void 0:So.status)<-1?Promise.reject(t.createElement("span",null,"\u8BE5\u5B66\u53F7\u5DF2\u88AB\u4F7F\u7528\uFF0C\u5982\u9700\u7EE7\u7EED\u4F7F\u7528\u8BE5\u5B66\u53F7\uFF0C\u8BF7\u5148",t.createElement("a",{onClick:()=>{pr(!0)}},"\u89E3\u7ED1\u5B66\u53F7"))):Promise.resolve()})}]},t.createElement(Y.default,{size:"large",type:"text",placeholder:"\u8BF7\u8F93\u5165\u5B66\u53F7",showCount:!0,maxLength:20}))),qe.identity==="teacher"&&t.createElement(yt.Z,null,t.createElement(E.default.Item,{initialValue:qe.jobTitle,name:"jobTitle",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},t.createElement(An.default,{style:{width:120},size:"large",placeholder:"\u8BF7\u9009\u62E9\u804C\u79F0"},t.createElement(bn,{value:"\u6559\u6388"},"\u6559\u6388"),t.createElement(bn,{value:"\u7814\u7A76\u5458"},"\u7814\u7A76\u5458"),t.createElement(bn,{value:"\u526F\u6559\u6388"},"\u526F\u6559\u6388"),t.createElement(bn,{value:"\u526F\u7814\u7A76\u5458"},"\u526F\u7814\u7A76\u5458"),t.createElement(bn,{value:"\u8BB2\u5E08"},"\u8BB2\u5E08"),t.createElement(bn,{value:"\u52A9\u7406\u7814\u7A76\u5458"},"\u52A9\u7406\u7814\u7A76\u5458"),t.createElement(bn,{value:"\u52A9\u7406\u6559\u6388"},"\u52A9\u7406\u6559\u6388")))),qe.identity==="professional"&&t.createElement(yt.Z,null,t.createElement(E.default.Item,{initialValue:qe.manager,name:"manager",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},t.createElement(An.default,{style:{width:180},size:"large",placeholder:"\u8BF7\u9009\u62E9\u804C\u79F0"},t.createElement(bn,{value:"\u4F01\u4E1A\u7BA1\u7406\u8005"},"\u4F01\u4E1A\u7BA1\u7406\u8005"),t.createElement(bn,{value:"\u90E8\u95E8\u7BA1\u7406\u8005"},"\u90E8\u95E8\u7BA1\u7406\u8005"),t.createElement(bn,{value:"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"},"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"),t.createElement(bn,{value:"\u5DE5\u7A0B\u5E08"},"\u5DE5\u7A0B\u5E08"),t.createElement(bn,{value:"\u52A9\u7406\u5DE5\u7A0B\u5E08"},"\u52A9\u7406\u5DE5\u7A0B\u5E08")))),(qe.identity==="teacher"||qe.identity==="professional")&&t.createElement(yt.Z,{flex:1,className:Ft.staffWrap},t.createElement(E.default.Item,{label:"\u5DE5\u53F7",name:"staff_id",rules:[{validator:(xo,Wr)=>Wr===null||Wr===""||Wr===void 0?Promise.resolve():/[\u4E00-\u9FA5]/g.test(Wr)?Promise.reject("\u8BF7\u52FF\u8F93\u5165\u4E2D\u6587\u5B57\u7B26"):Wr.length>20?Promise.reject("\u6700\u5927\u9650\u523620\u4E2A\u5B57\u7B26"):Promise.resolve()}]},t.createElement(Y.default,{placeholder:"\u8BF7\u8F93\u5165\u5DE5\u53F7",className:Ft.staffidInput,suffix:" ",showCount:!0,maxLength:20})))),t.createElement(E.default.Item,{label:"\u5B66\u6821/\u5355\u4F4D",name:"school",extra:!Pr&&qe.school&&!(_t!=null&&_t.find(xo=>xo.name===qe.school))&&t.createElement("div",{className:Ft.schoolHintWrap},t.createElement("span",{className:Ft.colorCDCDCD},"\u672A\u627E\u5230\u5305\u542B\u201C",qe.school,"\u201D\u7684\u9AD8\u6821\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",t.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{h.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:t.createElement("div",{style:{textAlign:"center"}},t.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",qe.identity==="teacher"?"727685969":"816055138","\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),t.createElement("img",{src:qe.identity==="teacher"?zt:en,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"},{whitespace:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"}]},t.createElement(Mn.Z,{status:Zr,size:"large",showSearch:!0,onChange:to,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0",suffixIcon:t.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},t.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))},_t.map((xo,Wr)=>t.createElement(bn,{key:Wr,value:xo.name},xo.name))))))),t.createElement(h.default,{title:"\u89E3\u7ED1\u5B66\u53F7",open:rr,centered:!0,destroyOnClose:!0,onCancel:()=>{pr(!1),St.resetFields()},onOk:()=>{St.submit()}},t.createElement(E.default,{form:St,size:"large",onFinish:xo=>rn(void 0,null,function*(){var Wr,Jr,Do;(yield(0,nt.ZP)(`/api/users/accounts/${(Wr=G==null?void 0:G.userInfo)==null?void 0:Wr.user_id}/unbind_student_id.json`,{method:"post",body:Cr({student_id:qe.studentNo||On.getFieldValue("studentNo"),school_id:((Jr=_t==null?void 0:_t.find(So=>So.name===qe.school))==null?void 0:Jr.id)||((Do=G==null?void 0:G.userInfo)==null?void 0:Do.school_id),check_type:4},xo)})).status==0&&(n.ZP.success("\u89E3\u7ED1\u6210\u529F"),On.validateFields(),St.resetFields(),pr(!1))})},t.createElement("div",{className:"mb20"},"\u5F88\u62B1\u6B49\uFF0C\u8BE5\u5B66\u53F7\uFF08",qe.studentNo||On.getFieldValue("studentNo"),"\uFF09\u5728",qe.school,"\u5185\u5DF2\u88AB\u4F7F\u7528\uFF0C\u60A8\u53EF\u4EE5\u63D0\u4F9B",t.createElement("span",{style:{color:"#3061d0"}},"\u5F53\u524D\u8D26\u53F7\u6240\u5728\u5B66\u6821\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D"),"\u8FDB\u884C\u89E3\u7ED1\uFF1A"),t.createElement(E.default.Item,{name:"check_value",rules:[{required:!0,message:`\u8BF7\u586B\u5199${qe==null?void 0:qe.school}\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D`}],style:{marginBottom:"10px"}},t.createElement(Y.default,{type:"text",placeholder:`\u8BF7\u586B\u5199${qe==null?void 0:qe.school}\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D`})),t.createElement("div",null,"\u8BF7\u6CE8\u610F\uFF0C\u6BCF\u4F4D\u5B66\u751F\u6BCF\u5929\u4EC5\u6709 ",t.createElement("span",{style:{color:"#FA6400"}},"2")," \u6B21\u6210\u529F\u89E3\u7ED1\u5B66\u53F7\u7684\u673A\u4F1A\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C"))),t.createElement(Cn.Z,{visible:kn,onCancel:()=>ur(!1)}))};var Bn=(0,c.connect)(({user:G,account:me,loading:ge,globalSetting:Bt})=>({user:G,account:me,globalSetting:Bt,loading:ge.models.index}))(jt),Xn={popLogin:"popLogin___u08I8",tips:"tips___U2xQw"},hr=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const po=/^1\d{10}$/,Qr=/^[a-zA-Z0-9]+([.\-_\\]*[a-zA-Z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/,Sr=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,uo=({user:G,globalSetting:me,dispatch:ge})=>{const[Bt]=(0,c.useSearchParams)(),At={height:48,borderRadius:4},[On]=E.default.useForm(),bn=()=>{ge({type:"user/setBindAccountModal",payload:{bindAccountModalVisible:!1}}),On.resetFields()},kt=(Wt,Ht)=>Ht?Ht.indexOf(" ")>-1?Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):po.test(Ht)||Qr.test(Ht)?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Promise.resolve(),[qe,qt]=(0,t.useState)(60),Zr=(0,t.useMemo)(()=>qe<60&&qe>0,[qe]),fr=(0,t.useRef)(),Pr=()=>hr(void 0,null,function*(){clearInterval(fr.current),qt(60),fr.current=setInterval(function Wt(){return qt(Ht=>Ht-1),Wt}(),1e3)}),[Hr,_t]=(0,t.useState)(!1),[Qn,or]=(0,t.useState)(!1);(0,t.useEffect)(()=>{G.bindAccountModalVisible?or(!0):or(!1)},[G]);const jr=()=>hr(void 0,null,function*(){var Wt;const Ht=On.getFieldValue("userInput"),kn=po.test(Ht),ur=Qr.test(Ht);if(!kn&&!ur){n.ZP.error("\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7");return}if(_t(!0),kn){const Eo=yield(0,nt.ZP)(`/api/users/accounts/${(Wt=G.userInfoForBindAccountModal)==null?void 0:Wt.login}/valid_phone.json`,{method:"get",params:{phone:Ht}});if((Eo==null?void 0:Eo.status)===-1){_t(!1);return}if(Eo!=null&&Eo.is_exists){n.ZP.info("\u8BE5\u624B\u673A\u53F7\u5DF2\u88AB\u5176\u5B83\u8D26\u53F7\u7ED1\u5B9A"),_t(!1);return}}else{const Eo=yield(0,nt.ZP)("/api/accounts/valid_email_and_phone",{method:"get",params:{login:Ht,type:1}});if((Eo==null?void 0:Eo.status)===-3){n.ZP.info("\u8BE5\u90AE\u7BB1\u5DF2\u88AB\u6CE8\u518C"),_t(!1);return}}let to=(0,b.M)(Ht);const io=yield ge({type:"account/getCode",payload:{login:Ht,type:kn?3:4,smscode:to}});_t(!1),io.status===1&&(n.ZP.info("\u9A8C\u8BC1\u7801\u5DF2\u53D1\u9001\uFF0C\u8BF7\u6CE8\u610F\u67E5\u6536"),Pr())}),rr=()=>hr(void 0,null,function*(){var Wt,Ht;yield On.validateFields();const kn=On.getFieldValue("userInput"),ur=On.getFieldValue("code"),to=po.test(kn),io=Qr.test(kn);if(!to&&!io){n.ZP.error("\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7");return}return to?(yield ge({type:"account/bindPhone",payload:{login:(Wt=G.userInfoForBindAccountModal)==null?void 0:Wt.login,phone:kn,code:ur}})).status===0:(yield ge({type:"account/bindEmail",payload:{login:(Ht=G.userInfoForBindAccountModal)==null?void 0:Ht.login,email:kn,code:ur}})).status===0}),pr=()=>hr(void 0,null,function*(){const Wt=G.loginInfo;Sr.test(Wt.password)||n.ZP.error("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539");const Ht=yield(0,de.Es)(Wt);if(Ht.status){n.ZP.error(Ht==null?void 0:Ht.message);return}if(Ht!=null&&Ht.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",Ht==null?void 0:Ht.start_date)):localStorage.removeItem("extension-modal"),location.pathname==="/user/login"||location.pathname==="/login"){let kn=Bt.get("from")||Bt.get("back_url");kn?window.location.href=decodeURIComponent(kn):Sr.test(Wt.password)?window.location.reload():(n.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),window.location.href="/account/secure")}else Sr.test(Wt.password)?window.location.reload():(n.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),c.history.replace("/account/secure?active=3"),ge({type:"user/setBindAccountModal",payload:{bindAccountModalVisible:!1}}));On.resetFields()}),St=()=>hr(void 0,null,function*(){(yield rr())&&(yield pr())});return t.createElement(h.default,{centered:!0,open:Qn,footer:null,width:596,keyboard:!1,maskClosable:!0,wrapClassName:Xn.popLogin,closable:!0,onCancel:bn},t.createElement("h1",{className:"font18 mb20"},"\u624B\u673A\u53F7/\u90AE\u7BB1\u7ED1\u5B9A"),t.createElement(E.default,{layout:"vertical",form:On,autoComplete:"off",preserve:!1},t.createElement(E.default.Item,{name:"userInput",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7/\u90AE\u7BB1"},{validator:kt}]},t.createElement(Y.default,{style:At,size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7"})),t.createElement(E.default.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},t.createElement(Y.default,{suffix:t.createElement(m.ZP,{loading:Hr,type:"link",onClick:jr,disabled:Zr},Zr?`${qe}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`:"\u83B7\u53D6\u9A8C\u8BC1\u7801"),style:{paddingRight:2,height:48},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"}))),t.createElement("div",{className:Xn.tips},"\u4E3A\u4E86\u8D26\u53F7\u5B89\u5168\u6027\uFF0C\u7ED1\u5B9A\u540E\u53EF\u901A\u8FC7\u8BE5\u624B\u673A\u53F7\u6216\u90AE\u7BB1\u627E\u56DE\u5BC6\u7801"),t.createElement(m.ZP,{size:"middle",type:"primary",block:!0,style:At,className:"font16",onClick:St},"\u7ED1\u5B9A\u5E76\u767B\u5F55"),t.createElement("div",{className:Xn.tips},"\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",t.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B")))};var Ur=(0,c.connect)(({user:G,loading:me,globalSetting:ge})=>({user:G,globalSetting:ge,loading:me.models.index}))(uo),Gr=e(71418),vo=e(61186),Nr=e.n(vo),mo=e(61682),j={wrap:"wrap___q9xAc",list:"list___qjgdz",name:"name___ncYhC",tag:"tag___Paafn"},fe=e(34604),Ie=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())}),pt=({})=>{const[G,me]=(0,t.useState)(!1),[ge,Bt]=(0,t.useState)([]),[At,On]=(0,t.useState)([]),[bn,kt]=(0,t.useState)(!1),[qe,qt]=(0,t.useState)(!1),Zr=(0,c.useLocation)(),[fr]=(0,c.useSearchParams)();(0,t.useEffect)(()=>{fe.Z.subscribe("pod-restrict-data",_t=>{console.log(_t,"data"),me(_t.identifier||!1),Bt(_t.data_list||[]),On([]),kt(!1)})},[]);const Pr=()=>Ie(void 0,null,function*(){qt(!0);const _t=ge.filter(or=>At.includes(or.tpi_id));(yield(0,nt.ZP)("/api/myshixuns/batch_del_pods.json",{method:"delete",body:{del_pods:_t}})).status===0&&window.location.reload(),qt(!1)}),Hr=()=>{var _t;if(console.log(Zr,"location"),(_t=Zr.pathname)!=null&&_t.includes("/challenges")){window.location.href="/shixuns";return}if(fr.get("type")==="exercises"){window.parent.postMessage("backExercise","*"),fe.Z.publish("pod-restrict-data",{identifier:!1,data_list:[]});return}window.location.href=`/shixuns/${G}/challenges`};return t.createElement(h.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:G,title:"\u901A\u77E5",width:"600px",footer:t.createElement(gt.Z,{align:"middle",justify:"center"},t.createElement(ne.default,{onChange:_t=>{var Qn;console.log(_t,222),kt(_t.target.checked),_t.target.checked?On((Qn=ge==null?void 0:ge.filter(or=>!or.is_current_shixun))==null?void 0:Qn.map(or=>or.tpi_id)):On([])},checked:bn},"\u5168\u9009"),t.createElement(m.ZP,{style:{marginLeft:"auto"},onClick:Hr},"\u53D6\u6D88"),t.createElement(m.ZP,{disabled:!At.length,loading:qe,type:"primary",onClick:Pr},"\u5173\u95ED\u5B9E\u8BAD")),onCancel:Hr},t.createElement(Gr.Z,{spinning:qe},t.createElement("div",{className:j.wrap},t.createElement("p",null,"\u5355\u4E2A\u8D26\u53F7\u6700\u591A\u53EF\u540C\u65F6\u5F00\u542F10\u4E2A\u5B9E\u9A8C\u73AF\u5883\uFF0C\u82E5\u60F3\u5F00\u542F\u8BE5\u5B9E\u8BAD\u8BF7\u5173\u95ED\u5176\u4ED6\u5B9E\u8BAD\u3002"),ge==null?void 0:ge.map(_t=>t.createElement("div",{className:j.list,key:_t.tpi_id},t.createElement(ne.default,{disabled:_t.is_current_shixun,onChange:Qn=>{let or=[...At];Qn.target.checked?or.push(_t.tpi_id):or=At.filter(jr=>jr!==_t.tpi_id),On(or),kt(or.length===ge.length)},checked:At==null?void 0:At.includes(_t.tpi_id)}),t.createElement("span",{className:j.name,onClick:()=>(0,b.xg)(`/shixuns/${_t.shixun_identifier}/challenges`),title:_t.shixun_name},t.createElement("b",null,_t.shixun_name),_t.is_current_shixun&&t.createElement("span",{className:j.tag},"\u5F53\u524D\u5B9E\u8BAD")),t.createElement("span",{style:{color:"#53d1a3"}},"\u8FD0\u884C\u4E2D\u7684\u73AF\u5883\uFF1A",_t.pod_num,"\u4E2A"))))))},En={token:{colorPrimary:"#3061D0",colorInfo:"#3061D0",colorLink:"#3061D0",borderRadius:2,fontSizeLG:14},components:{Radio:{radioSize:16,dotSize:6},Modal:{titleFontSize:16,titleColor:"#000"}}},dn=e(59301),mr=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable,eo=(G,me)=>{var ge={};for(var Bt in G)Mr.call(G,Bt)&&me.indexOf(Bt)<0&&(ge[Bt]=G[Bt]);if(G!=null&&mr)for(var Bt of mr(G))me.indexOf(Bt)<0&&gr.call(G,Bt)&&(ge[Bt]=G[Bt]);return ge},xr=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const Yr=G=>{var me=G,{loading:ge,globalSetting:Bt,dispatch:At}=me,On=eo(me,["loading","globalSetting","dispatch"]);const bn="https://educoder-public.oss-cn-hangzhou.aliyuncs.com/Cover/logo_simple?x-oss-process=image/resize,h_200,w_200,m_pad",kt="\u5934\u6B4C\uFF0C\u5168\u79F0\u201C\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0\u201D\uFF0C\u662F\u56FD\u5185\u9AD8\u6821\u5E7F\u6CDB\u4F7F\u7528\u7684\u5728\u7EBF\u5B9E\u8DF5\u6559\u5B66\u670D\u52A1\u5E73\u53F0\u4E0E\u521B\u65B0\u73AF\u5883\uFF0C\u4E3A\u9AD8\u6821\u548C\u4F01\u4E1A\u7684\u5B9E\u8DF5\u4E0E\u521B\u65B0\u80FD\u529B\u63D0\u5347\u8D4B\u80FD\uFF0C\u662F\u4E2D\u56FD\u9AD8\u6821\u8BA1\u7B97\u673A\u6559\u80B2MOOC\u8054\u76DF\u5B9E\u8DF5\u6559\u5B66\u5DE5\u59D4\u3001\u5168\u56FD\u4EBA\u5DE5\u667A\u80FD\u804C\u4E1A\u6559\u80B2\u96C6\u56E2\u5B9E\u8DF5\u6559\u5B66\u5DE5\u4F5C\u59D4\u5458\u4F1A\u5B98\u65B9\u5408\u4F5C\u5E73\u53F0\u3002";(0,t.useEffect)(()=>{(0,b.IS)()&&qt()},[]),(0,t.useEffect)(()=>{At({type:"globalSetting/setShareData",payload:{desc:"\u5934\u6B4C\uFF0C\u5168\u79F0\u201C\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0\u201D\uFF0C\u662F\u56FD\u5185\u9AD8\u6821\u5E7F\u6CDB\u4F7F\u7528\u7684\u5728\u7EBF\u5B9E\u8DF5\u6559\u5B66\u670D\u52A1\u5E73\u53F0\u4E0E\u521B\u65B0\u73AF\u5883\uFF0C\u4E3A\u9AD8\u6821\u548C\u4F01\u4E1A\u7684\u5B9E\u8DF5\u4E0E\u521B\u65B0\u80FD\u529B\u63D0\u5347\u8D4B\u80FD\uFF0C\u662F\u4E2D\u56FD\u9AD8\u6821\u8BA1\u7B97\u673A\u6559\u80B2MOOC\u8054\u76DF\u5B9E\u8DF5\u6559\u5B66\u5DE5\u59D4\u3001\u5168\u56FD\u4EBA\u5DE5\u667A\u80FD\u804C\u4E1A\u6559\u80B2\u96C6\u56E2\u5B9E\u8DF5\u6559\u5B66\u5DE5\u4F5C\u59D4\u5458\u4F1A\u5B98\u65B9\u5408\u4F5C\u5E73\u53F0\u3002",title:document.title,imgUrl:bn}})},[location.pathname]),(0,t.useEffect)(()=>{qe()},[Bt==null?void 0:Bt.shareData]);const qe=()=>{var fr;(fr=window.wx)==null||fr.ready(function(){var Pr,Hr,_t,Qn,or,jr,rr={title:((Pr=Bt==null?void 0:Bt.shareData)==null?void 0:Pr.title)||document.title,desc:((Hr=Bt==null?void 0:Bt.shareData)==null?void 0:Hr.desc)||kt,link:window.location.href,imgUrl:((Qn=(_t=Bt==null?void 0:Bt.shareData)==null?void 0:_t.imgUrl)==null?void 0:Qn.replace("https://public.educoder.net","https://educoder-public.oss-cn-hangzhou.aliyuncs.com/"))||bn};(or=window.wx)==null||or.onMenuShareAppMessage(rr),(jr=window.wx)==null||jr.onMenuShareTimeline(rr)})};function qt(){return xr(this,null,function*(){const fr=yield(0,nt.ZP)(`/api/users/js_sdk_data.json?url=${encodeURIComponent(location.href)}`,{method:"get"});(fr==null?void 0:fr.status)===0&&Zr(fr)})}function Zr(fr){window.wx.config({debug:!1,appId:(fr==null?void 0:fr.appid)||"wx2402d86a6b534f77",timestamp:(fr==null?void 0:fr.timestamp)||1716781260,nonceStr:(fr==null?void 0:fr.noncestr)||"WjRUMvS[",signature:(fr==null?void 0:fr.signature)||"0e182307b372cf71796c33e01b462cbfca0b9930",jsApiList:["checkJsApi","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone"]})}return dn.createElement(dn.Fragment,null)};var Dr=(0,c.connect)(({loading:G,globalSetting:me})=>({loading:G,globalSetting:me}))(Yr),Ar=e(65517),an=e(93083),un=e(59301),mn=Object.defineProperty,Dt=Object.defineProperties,Kn=Object.getOwnPropertyDescriptors,Hn=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,Tr=(G,me,ge)=>me in G?mn(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,zr=(G,me)=>{for(var ge in me||(me={}))Kr.call(me,ge)&&Tr(G,ge,me[ge]);if(Hn)for(var ge of Hn(me))Rr.call(me,ge)&&Tr(G,ge,me[ge]);return G},Er=(G,me)=>Dt(G,Kn(me)),dr=(G,me)=>{var ge={};for(var Bt in G)Kr.call(G,Bt)&&me.indexOf(Bt)<0&&(ge[Bt]=G[Bt]);if(G!=null&&Hn)for(var Bt of Hn(G))me.indexOf(Bt)<0&&Rr.call(G,Bt)&&(ge[Bt]=G[Bt]);return ge},$n=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});Nr().locale("zh-cn");const wr=G=>{var me=G,{loading:ge,globalSetting:Bt,user:At,dispatch:On}=me,bn=dr(me,["loading","globalSetting","user","dispatch"]),kt;const qe=(0,c.useLocation)(),qt=(0,mo.g)(),[Zr]=(0,c.useSearchParams)(),{globalLoading:fr}=Bt,Pr=()=>$n(void 0,null,function*(){let _t,Qn;const or=qe.pathname.split("/");if(qe!=null&&qe.search){let jr,rr;or.includes("paths")?jr=or[2]:or.includes("tasks")&&(rr=or[2]),_t=yield On({type:"user/getUserInfo",payload:Er(zr(zr({},qt),(0,b.oP)()),{subject_id:jr,game_id:rr,websiteName:"educoder"})})}else or.includes("tasks")&&(Qn=or[2]),_t=yield On({type:"user/getUserInfo",payload:Er(zr({},qt),{game_id:Qn})});(_t==null?void 0:_t.username)!=="\u6E38\u5BA2"&&(qe.pathname==="/login"&&(window.location.href="/"),qe.pathname!=="/user/login"&&qe.pathname!=="/login"&&window.sessionStorage.getItem("download_url")&&((0,b.Nd)("educoder",window.sessionStorage.getItem("download_url")),window.sessionStorage.removeItem("download_url")))});(0,t.useEffect)(()=>{i.ZP.config({prefixCls:"ant",iconPrefixCls:"anticon",theme:zr({},En)})},[Bt.theme]),(0,t.useEffect)(()=>{Pr(),(0,b.Il)(),function(){function _t(){var Qn=document.documentElement,or=Qn.clientWidth,jr=1920,rr=or/jr;rr=rr>2?2:rr<.6?.6:rr,Qn.style.fontSize=rr+"px"}window.addEventListener("resize",_t),_t()}()},[]),(0,t.useEffect)(()=>{On({type:"globalSetting/query",payload:{}});try{window.top.location.origin}catch(_t){document.referrer.indexOf("educoder.net")===-1&&(window.location.href=window.atob("Jy80MDMn"))}},[]),(0,t.useEffect)(()=>{var _t,Qn,or,jr,rr;if(qe.pathname.indexOf("classrooms")>-1&&qe.pathname.indexOf("detail")===-1||document.body.scrollIntoView(),qe.pathname.indexOf("/classrooms/4RW9CYHY")>-1&&document.domain!=="localhost"&&document.domain!=="kepukehuan.educoder.net"){window.location.href="https://kepukehuan.educoder.net/classrooms/4RW9CYHY/exercise";return}if(qe.pathname.indexOf("/classrooms/qb4ft587")>-1&&document.domain!=="localhost"&&document.domain!=="kepukehuan.educoder.net"){window.location.href="https://kepukehuan.educoder.net/classrooms/qb4ft587/exercise";return}if(qe.pathname.indexOf("/classrooms/c5q9bsp2")>-1&&document.domain!=="localhost"&&document.domain!=="kepukehuan.educoder.net"){window.location.href="https://kepukehuan.educoder.net/classrooms/c5q9bsp2/exercise";return}if(On({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),window.location.href==="https://jetcoder.educoder.net"||window.location.href==="https://jetcoder.educoder.net/"){window.location.href="https://www.educoder.net/problems";return}if((_t=window.location.href)!=null&&_t.includes("/problems")&&((Qn=window.location.href)!=null&&Qn.includes("/share"))){const pr=(rr=(jr=(or=window.location)==null?void 0:or.pathname)==null?void 0:jr.split("/"))==null?void 0:rr[2];(0,nt.ZP)(`/api/practices/${pr}/start`,{method:"get"}).then(Wt=>{(Wt==null?void 0:Wt.status)===0&&c.history.replace(`/problems/${Wt==null?void 0:Wt.identifier}/oj/${pr}`)});return}if(qe.pathname==="/admins"||qe.pathname==="/sidekiq"){const pr=document.domain;if(pr.indexOf("educoder.net")>-1)switch(pr){case"www.educoder.net":case"educoder.net":window.location.href=`https://data.educoder.net${qe.pathname}`;break;default:let St=document.domain.split(".");St[0]=St[0]+"-data",window.location.href=`https://${St.join(".")}${qe.pathname}`;break}}h.default.destroyAll()},[qe.pathname]),(0,t.useEffect)(()=>{Bt.updateData.system_update?localStorage.updateEndTime||new Date().getTime(){localStorage.updateEndTime=Bt.updateData.end_time}}):localStorage.removeItem("updateEndTime")},[Bt.updateData.system_update]),(0,t.useEffect)(()=>{var _t,Qn;if((0,b.WX)()){if(!((_t=Bt==null?void 0:Bt.setting)!=null&&_t.version))return;(0,b.yC)((Qn=Bt==null?void 0:Bt.setting)==null?void 0:Qn.version)>0&&h.default.info({title:"\u5BA2\u6237\u7AEF\u7248\u672C\u8FC7\u4F4E",centered:!0,content:un.createElement("div",null,un.createElement("span",{className:"c-red"},"\u60A8\u7684\u5934\u6B4C\u8003\u8BD5\u7CFB\u7EDF\u67DC\u5BA2\u6237\u7AEF\u7248\u672C\u8FC7\u4F4E"),'\uFF0C\u8BF7\u5347\u7EA7\u81F3\u6700\u65B0\u7248\u672C\u540E\u518D\u4F7F\u7528\uFF0C\u70B9\u51FB"\u786E\u5B9A"\u540E\u5C06\u4E0B\u8F7D\u6700\u65B0\u7248\u672C\u7684\u5BA2\u6237\u7AEF,',un.createElement("span",{className:"c-red"},"\u4E0B\u8F7D\u540E\u8BF7\u5148\u9000\u51FA\u5BA2\u6237\u7AEF\u518D\u5B89\u88C5")),okText:"\u7ACB\u5373\u5347\u7EA7",visible:!0,maskClosable:!1,onOk:()=>((0,b.FH)("Educoder.exe","https://www-cdn.educoder.net/app/Educoder.exe"),new Promise(()=>{}))})}},[(kt=Bt==null?void 0:Bt.setting)==null?void 0:kt.version]),(0,t.useEffect)(()=>{performance.navigation.type===1&&document.body.scrollIntoView()},[performance.navigation.type]);const Hr=()=>{var _t,Qn,or,jr,rr,pr,St,Wt;const Ht=localStorage.trackUserTime,kn=localStorage.trackUser;if(!(Ht&&Nr()(Ht).isSame(Nr()().startOf("day"),"d")&&kn==((_t=At.userInfo)==null?void 0:_t.login))){localStorage.trackUserTime=new Date,localStorage.trackUser=(Qn=At.userInfo)==null?void 0:Qn.login;let ur="";switch(At.userInfo.role){case 1:ur="\u8D85\u7BA1";break;case 2:ur="\u8FD0\u8425";break;case 5:ur="\u8BA4\u8BC1\u6559\u5E08";break;case 12:ur="\u672A\u8BA4\u8BC1\u6559\u5E08";break;case 15:ur="\u5B66\u751F";break}((or=At.userInfo)==null?void 0:or.identity)!=="student"&&((jr=At.userInfo)==null?void 0:jr.identity)!=="teacher"&&(ur="\u4E13\u4E1A\u4EBA\u58EB"),(rr=At.userInfo)!=null&&rr.user_school&&((0,b.L9)(["\u5B66\u6821\u6D3B\u8DC3\u7528\u6237",(pr=At.userInfo)==null?void 0:pr.user_school]),(0,b.L9)(["\u7528\u6237\u8BBF\u95EE\u660E\u7EC6",(St=At.userInfo)==null?void 0:St.login,(Wt=At.userInfo)==null?void 0:Wt.user_school])),(0,b.L9)(["\u5E73\u53F0PC\u7AEF","\u603B\u6D3B\u8DC3\u7528\u6237\u6570"]),(0,b.L9)(["\u5E73\u53F0PC\u7AEF",ur])}};return un.createElement(an.StyleProvider,{transformers:[an.legacyLogicalPropertiesTransformer],hashPriority:"high"},un.createElement(i.ZP,{locale:M.Z,autoInsertSpaceInButton:!1,componentSize:"middle",theme:En},un.createElement(Xt,null),un.createElement(Bn,null),un.createElement(Ur,null),un.createElement(Dr,null),un.createElement(pt,null),un.createElement(Gr.Z,{size:"middle",spinning:fr.show,tip:fr.text,className:"ant-spin-nested-loading-black"},un.createElement(c.Outlet,null))))};var ao=(0,c.connect)(({loading:G,globalSetting:me,user:ge})=>({loading:G,globalSetting:me,user:ge}))(wr)},46474:function(Yt,je,e){e.d(je,{rX:function(){return C},pW:function(){return r},gy:function(){return I},xY:function(){return Q},O5:function(){return Ae},hs:function(){return te},tJ:function(){return Z},o1:function(){return ee},Rd:function(){return Be}});var t=e(89070),i=e(43418),h=e(28103),M=e(8591),c=e(24065),E=e(955),n=e(87169),Y=e(25510),ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR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ZCCwAIAOBBQBkILAAgAwEFgCQkcewBioPvlsxAMK2u/gunHPB5OJWjJ+wbeSKs1u3YnHqRT5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIMFutYefOnRUVFVa3ctWqVStXrjT4ZtsqK+RE5Ql7K1BpvAtHmdhWI8S2QhcWDWswG1gVFRVVVVVWtCxbOBy2ehMA4H44JQQAMhBYAEAGAgsAyEBgAQAZCCwAIMOSSShM3tFsaWkp+J1HZx+RN75O23pkRWEGk5wdEWJFN0023mTdEWfH9xjvZl5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIsGRYg7NIP99vRd+tKDlg2zutYLxJzk7/Ydv+dOEcKwPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",m=e.p+"static/newqrcode.a8740efb.png",de=e(32637),p=e(59301),P=(b,ae,H)=>new Promise((X,A)=>{var V=W=>{try{be(H.next(W))}catch($){A($)}},D=W=>{try{be(H.throw(W))}catch($){A($)}},be=W=>W.done?X(W.value):Promise.resolve(W.value).then(V,D);be((H=H.apply(b,ae)).next())});const Z=(b,ae=!1,H=!1,X="",A=!1)=>!!(ee(b)&&ke(b,ae,H,X,A)),ee=b=>(0,c.bg)()?!0:(b({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),te=b=>{var ae,H,X;const{user:A}=(0,t.getDvaApp)()._store.getState();(0,c.bg)()&&!((H=(ae=A==null?void 0:A.userInfo)==null?void 0:ae.course)!=null&&H.course_public)&&!((X=A==null?void 0:A.userInfo)!=null&&X.profile_completed)&&b({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},ke=(b,ae=!1,H=!0,X="",A=!1)=>{var V;const{user:D}=(0,t.getDvaApp)()._store.getState();return(V=D.userInfo)!=null&&V.profile_completed?!0:(H?b({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:X,isCurrentPage:A}}):i.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,E.xg)("/account/profile/edit"),ye()}}),!1)},ye=()=>{i.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()}})},Be=()=>{i.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:p.createElement("div",{style:{textAlign:"center"}},p.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"),p.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:de}),p.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Ae=()=>{var b;const{user:ae}=(0,t.getDvaApp)()._store.getState();return(b=ae.userInfo)!=null&&b.professional_certification?!0:(i.default.confirm({title:"\u63D0\u793A",centered:!0,content:p.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,E.xg)("/account/certification")}}),!1)},Q=()=>(0,c.V9)()?!0:(i.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:p.createElement("div",{className:"tc",style:{marginLeft:-38}},p.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),p.createElement("img",{src:m,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),C=(b,ae)=>b?!0:(i.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:p.createElement("div",null,p.createElement("p",null,ae||"\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"),p.createElement("div",{style:{marginLeft:"110px"}},p.createElement("img",{src:ne,width:200}),p.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,E.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),r=b=>{i.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:p.createElement("div",null,p.createElement("div",null,p.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"),p.createElement(h.Z,null),p.createElement("p",{style:{color:"#666666",fontSize:12}}," ",p.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 ",p.createElement("a",null,b),"\u5929\u3002"),p.createElement("p",{style:{color:"#666666",fontSize:12}}," ",p.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")),p.createElement("div",{style:{textAlign:"center",marginTop:30}},p.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Y,alt:"\u4E8C\u7EF4\u7801",width:160})))})},I=(b,ae="")=>{const{shixunsDetail:{detail:H}}=(0,t.getDvaApp)()._store.getState();if((H==null?void 0:H.public)===2||(H==null?void 0:H.public)===1||(H==null?void 0:H.shixun_status)===3){let X="";return(H==null?void 0:H.public)===2&&(X="\u5DF2\u516C\u5F00"),(H==null?void 0:H.public)===1&&(X="\u5F85\u5BA1\u6838"),(H==null?void 0:H.shixun_status)===3&&(X="\u5DF2\u5173\u95ED"),i.default.info({centered:!0,icon:p.createElement(n.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:p.createElement("div",{className:"tc",style:{marginLeft:-38}},p.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},p.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",X,"\uFF0C",ae,"\u3002"),p.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),p.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Y,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(H==null?void 0:H.shixun_status)===2?(i.default.confirm({centered:!0,icon:p.createElement(n.Z,null),title:"\u63D0\u793A",content:p.createElement("div",null,p.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",ae,"\u3002"),p.createElement("br",null),p.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:()=>{i.default.confirm({width:440,centered:!0,icon:p.createElement(n.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:()=>P(void 0,null,function*(){(yield b({type:"shixunsDetail/cancelRelease",payload:{id:H==null?void 0:H.identifier}})).status!==401&&(M.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),b({type:"shixunsDetail/getShixunsDetail",payload:{id:H==null?void 0:H.identifier}}),b({type:"practiceSetting/getCommonData",payload:{id:H==null?void 0:H.identifier}}))})})}}),!0):!1}},36785:function(Yt,je,e){e.d(je,{o2:function(){return c},yT:function(){return E}});var t=e(80702),i=e(33166);const h=i.i.map(n=>`${n}-inverse`),M=["success","processing","error","default","warning"];function c(n){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,t.Z)(h),(0,t.Z)(i.i)).includes(n):i.i.includes(n)}function E(n){return M.includes(n)}},50371:function(Yt,je){function e(){const t=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let i=1;i{const c=h[M];c!==void 0&&(t[M]=c)})}return t}je.Z=e},13845:function(Yt,je,e){e.d(je,{F:function(){return t},Z:function(){return i}});function t(h){return h!=null&&h===h.window}function i(h,M){var c,E;if(typeof window=="undefined")return 0;const n=M?"scrollTop":"scrollLeft";let Y=0;return t(h)?Y=h[M?"pageYOffset":"pageXOffset"]:h instanceof Document?Y=h.documentElement[n]:(h instanceof HTMLElement||h)&&(Y=h[n]),h&&!t(h)&&typeof Y!="number"&&(Y=(E=((c=h.ownerDocument)!==null&&c!==void 0?c:h).documentElement)===null||E===void 0?void 0:E[n]),Y}},56762:function(Yt,je,e){e.d(je,{Z:function(){return i}});var t=e(59301);function i(){const[,h]=t.useReducer(M=>M+1,0);return h}},79676:function(Yt,je,e){e.d(je,{Z:function(){return E}});var t=e(19447);function i(n,Y,ne,m){if(m===!1)return{adjustX:!1,adjustY:!1};const de=m&&typeof m=="object"?m:{},p={};switch(n){case"top":case"bottom":p.shiftX=Y.dropdownArrowOffset*2+ne;break;case"left":case"right":p.shiftY=Y.dropdownArrowOffsetVertical*2+ne;break}const P=Object.assign(Object.assign({},p),de);return P.shiftX||(P.adjustX=!0),P.shiftY||(P.adjustY=!0),P}const h={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},M={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},c=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function E(n){const{arrowWidth:Y,autoAdjustOverflow:ne,arrowPointAtCenter:m,offset:de,borderRadius:p,visibleFirst:P}=n,Z=Y/2,ee={};return Object.keys(h).forEach(te=>{const ke=m&&M[te]||h[te],ye=Object.assign(Object.assign({},ke),{offset:[0,0]});switch(ee[te]=ye,c.has(te)&&(ye.autoArrow=!1),te){case"top":case"topLeft":case"topRight":ye.offset[1]=-Z-de;break;case"bottom":case"bottomLeft":case"bottomRight":ye.offset[1]=Z+de;break;case"left":case"leftTop":case"leftBottom":ye.offset[0]=-Z-de;break;case"right":case"rightTop":case"rightBottom":ye.offset[0]=Z+de;break}const Be=(0,t.fS)({contentRadius:p,limitVerticalRadius:!0});if(m)switch(te){case"topLeft":case"bottomLeft":ye.offset[0]=-Be.dropdownArrowOffset-Z;break;case"topRight":case"bottomRight":ye.offset[0]=Be.dropdownArrowOffset+Z;break;case"leftTop":case"rightTop":ye.offset[1]=-Be.dropdownArrowOffset-Z;break;case"leftBottom":case"rightBottom":ye.offset[1]=Be.dropdownArrowOffset+Z;break}ye.overflow=i(te,Be,Y,ne),P&&(ye.htmlRegion="visibleFirst")}),ee}},68031:function(Yt,je,e){e.d(je,{Z:function(){return M}});var t=e(16089);function i(c,E,n,Y){const ne=n-E;return c/=Y/2,c<1?ne/2*c*c*c+E:ne/2*((c-=2)*c*c+2)+E}var h=e(13845);function M(c){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:Y,duration:ne=450}=E,m=n(),de=(0,h.Z)(m,!0),p=Date.now(),P=()=>{const ee=Date.now()-p,te=i(ee>ne?ne:ee,de,c,ne);(0,h.F)(m)?m.scrollTo(window.pageXOffset,te):m instanceof Document||m.constructor.name==="HTMLDocument"?m.documentElement.scrollTop=te:m.scrollTop=te,een||E},46400:function(Yt,je,e){e.d(je,{Z:function(){return $}});var t=e(29679),i=e(19248),h=e(99267),M=e(96512),c=e(78987),E=e(92310),n=e.n(E),Y=e(77900),ne=e(26112),m=e(59301),de=e(92343),p=e(36355),P=e(17313),Z=e(83116);const ee=(z,k,Ee,l,y)=>({backgroundColor:z,border:`${l.lineWidth}px ${l.lineType} ${k}`,[`${y}-icon`]:{color:Ee}}),te=z=>{const{componentCls:k,motionDurationSlow:Ee,marginXS:l,marginSM:y,fontSize:T,fontSizeLG:R,lineHeight:F,borderRadiusLG:U,motionEaseInOutCirc:ce,withDescriptionIconSize:Qe,colorText:Re,colorTextHeading:Ve,withDescriptionPadding:vt,defaultPadding:xt}=z;return{[k]:Object.assign(Object.assign({},(0,P.Wf)(z)),{position:"relative",display:"flex",alignItems:"center",padding:xt,wordWrap:"break-word",borderRadius:U,[`&${k}-rtl`]:{direction:"rtl"},[`${k}-content`]:{flex:1,minWidth:0},[`${k}-icon`]:{marginInlineEnd:l,lineHeight:0},"&-description":{display:"none",fontSize:T,lineHeight:F},"&-message":{color:Ve},[`&${k}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${Ee} ${ce}, opacity ${Ee} ${ce}, +`;P(Z);var ee="rc-slider-captcha";function te(j){var fe=0,Ie=0;return typeof j.clientX=="number"&&typeof j.clientY=="number"?(fe=j.clientX,Ie=j.clientY):j.touches&&j.touches[0]?(fe=j.touches[0].clientX,Ie=j.touches[0].clientY):j.changedTouches&&j.changedTouches[0]&&(fe=j.changedTouches[0].clientX,Ie=j.changedTouches[0].clientY),{clientX:fe,clientY:Ie}}function ke(j,fe){if(fe===void 0&&(fe={}),j)for(var Ie in fe)j.style[Ie]=fe[Ie]}var ye=typeof window=="object"&&window&&typeof document=="object"&&document&&window.document===document&&!!document.addEventListener,Be=ye&&"onpointerdown"in window,Ae=ye&&"ontouchstart"in window,Q=function(j){return j==null?void 0:j.scrollTop};function C(j,fe){return typeof j=="number"&&!Number.isNaN(j)&&typeof fe=="number"&&fe>0?Number(j.toFixed(fe)):j}var r="".concat(ee,"-button"),I=function(j){var fe,Ie=j.className,$e=j.disabled,pt=j.active,Zt=j.success,En=j.error,dn=j.verify,mr=j.buttonRef,Mr=(0,t._T)(j,["className","disabled","active","success","error","verify","buttonRef"]);return M.createElement("span",(0,t.pi)({className:h()(r,Ie,(fe={},fe["".concat(r,"-disabled")]=$e,fe["".concat(r,"-active")]=pt,fe["".concat(r,"-verify")]=dn,fe["".concat(r,"-success")]=Zt,fe["".concat(r,"-error")]=En,fe["".concat(r,"-pc")]=!Ae,fe)),ref:mr},Mr))};I.displayName="SliderButton";var b=function(j){return M.createElement("svg",(0,t.pi)({viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},j),M.createElement("path",{d:"M116.9408 561.4592m0-40.96l0 0q0-40.96 40.96-40.96l573.44 0q40.96 0 40.96 40.96l0 0q0 40.96-40.96 40.96l-573.44 0q-40.96 0-40.96-40.96Z"}),M.createElement("path",{d:"M769.82272 519.43424l-203.22304-203.22304a40.96 40.96 0 1 1 57.91744-57.91744l231.71072 231.71072a40.96 40.96 0 0 1 0.45056 58.44992L624.9472 780.12416a40.96 40.96 0 0 1-57.93792-57.91744l202.79296-202.79296z"}))},ae=function(j){return M.createElement("svg",(0,t.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},j),M.createElement("path",{d:"M864.554667 268.501333a42.666667 42.666667 0 0 1 0 60.330667L412.032 781.397333a42.453333 42.453333 0 0 1-22.613333 11.818667l-5.034667 0.597333H379.306667a42.496 42.496 0 0 1-27.648-12.416l-211.2-211.2a42.666667 42.666667 0 1 1 60.330666-60.330666l180.992 180.992 422.4-422.4a42.666667 42.666667 0 0 1 60.330667 0z"}))},H=function(j){return M.createElement("svg",(0,t.pi)({viewBox:"0 0 120 120",width:"1em",height:"1em"},j),M.createElement("defs",null,M.createElement("line",{id:"l",x1:"60",x2:"60",y1:"7",y2:"27",stroke:"currentColor",strokeWidth:"11",strokeLinecap:"round"})),M.createElement("g",null,M.createElement("use",{xlinkHref:"#l",opacity:".27"}),M.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(30 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(60 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(90 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(120 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(150 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".37",transform:"rotate(180 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".46",transform:"rotate(210 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".56",transform:"rotate(240 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".66",transform:"rotate(270 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".75",transform:"rotate(300 60,60)"}),M.createElement("use",{xlinkHref:"#l",opacity:".85",transform:"rotate(330 60,60)"})))},X=function(j){return M.createElement("svg",(0,t.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},j),M.createElement("path",{d:"M866.133333 573.013333a42.666667 42.666667 0 0 0-53.333333 27.733334A304.64 304.64 0 0 1 519.68 810.666667 302.933333 302.933333 0 0 1 213.333333 512a302.933333 302.933333 0 0 1 306.346667-298.666667 309.76 309.76 0 0 1 198.4 71.253334l-92.586667-15.36a42.666667 42.666667 0 0 0-49.066666 35.413333 42.666667 42.666667 0 0 0 35.413333 49.066667l180.906667 29.866666h7.253333a42.666667 42.666667 0 0 0 14.506667-2.56 14.08 14.08 0 0 0 4.266666-2.56 33.28 33.28 0 0 0 8.533334-4.693333l3.84-4.693333c0-2.133333 3.84-3.84 5.546666-6.4s0-4.266667 2.133334-5.973334a57.173333 57.173333 0 0 0 2.986666-7.68l32-170.666666a42.666667 42.666667 0 0 0-85.333333-16.213334l-11.52 61.866667A392.96 392.96 0 0 0 519.68 128 388.266667 388.266667 0 0 0 128 512a388.266667 388.266667 0 0 0 391.68 384A389.12 389.12 0 0 0 896 626.346667a42.666667 42.666667 0 0 0-29.866667-53.333334z"}))},A=function(j){return M.createElement("svg",(0,t.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},j),M.createElement("path",{d:"M572.96896 524.6976l217.23136 217.25184a40.96 40.96 0 1 1-57.93792 57.91744L515.072 582.63552l-212.3776 212.3776a40.96 40.96 0 1 1-57.9584-57.91744l212.39808-212.3776-217.21088-217.23136a40.96 40.96 0 1 1 57.91744-57.91744l217.23136 217.21088L737.0752 244.736a40.96 40.96 0 1 1 57.93792 57.91744L572.96896 524.71808z"}))},V=function(j){return M.createElement("svg",(0,t.pi)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16"},j),M.createElement("path",{d:"M.002 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2zm1 9v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9.5l-3.777-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062zm5-6.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"}))},D="".concat(ee,"-icon"),be=function(j){var fe,Ie=j.className,$e=j.spin,pt=(0,t._T)(j,["className","spin"]);return M.createElement("span",(0,t.pi)({className:h()(D,(fe={},fe["".concat(D,"-spin")]=$e,fe),Ie)},pt))},W={arrowRight:M.createElement(b,null),check:M.createElement(ae,null),loading:M.createElement(H,null),refresh:M.createElement(X,null),x:M.createElement(A,null),imageFill:M.createElement(V,null)},$=function(j){var fe=j.type,Ie=(0,t._T)(j,["type"]);return M.createElement(be,(0,t.pi)({},Ie),W[fe])},z;(function(j){j[j.Default=1]="Default",j[j.Loading=2]="Loading",j[j.Moving=3]="Moving",j[j.Verify=4]="Verify",j[j.Success=5]="Success",j[j.Error=6]="Error",j[j.LoadFailed=7]="LoadFailed"})(z||(z={}));var k="".concat(ee,"-control"),Ee=40,l=2,y=function(j){var fe,Ie=j.status,$e=Ie===void 0?z.Default:Ie,pt=j.isLimitErrors,Zt=j.tipText,En=j.tipIcon,dn=j.sliderButtonProps,mr=j.indicatorProps,Mr=j.controlRef,gr=(0,t._T)(j,["status","isLimitErrors","tipText","tipIcon","sliderButtonProps","indicatorProps","controlRef"]),eo=(0,M.useRef)(null),xr=(0,M.useRef)(null),Yr=(0,M.useRef)(null),Dr=(0,M.useRef)({}),Ar=(0,M.useMemo)(function(){return(0,t.pi)({default:"\u5411\u53F3\u62D6\u52A8\u6ED1\u5757\u586B\u5145\u62FC\u56FE",loading:"\u52A0\u8F7D\u4E2D...",moving:null,verifying:null,success:null,error:null,errors:M.createElement(M.Fragment,null,M.createElement($,{type:"x",style:{fontSize:20}})," \u5931\u8D25\u8FC7\u591A\uFF0C\u70B9\u51FB\u91CD\u8BD5"),loadFailed:"\u52A0\u8F7D\u5931\u8D25\uFF0C\u70B9\u51FB\u91CD\u8BD5"},Zt)},[Zt]),an=(0,M.useMemo)(function(){return(0,t.pi)({default:M.createElement($,{type:"arrowRight"}),loading:M.createElement($,{type:"loading",spin:!0}),error:M.createElement($,{type:"x"}),success:M.createElement($,{type:"check"})},En)},[En]),un=(0,M.useMemo)(function(){var $n;return $n={},$n[z.Default]=[Ar.default,an.default],$n[z.Loading]=[Ar.loading,an.default],$n[z.Moving]=[Ar.moving,an.default],$n[z.Verify]=[Ar.verifying,an.loading],$n[z.Error]=[Ar.error,an.error],$n[z.Success]=[Ar.success,an.success],$n[z.LoadFailed]=[Ar.loadFailed,an.default],$n},[Ar,an]),mn=function($n){var wr;return($n||typeof Dr.current.sliderButtonWidth!="number")&&(Dr.current.sliderButtonWidth=((wr=xr.current)===null||wr===void 0?void 0:wr.clientWidth)||Ee),Dr.current.sliderButtonWidth},Dt=function($n){if($n||typeof Dr.current.indicatorBorderWidth!="number")if(Yr.current){var wr=window.getComputedStyle(Yr.current);Dr.current.indicatorBorderWidth=parseInt(wr.borderLeftWidth)+parseInt(wr.borderRightWidth)}else Dr.current.indicatorBorderWidth=l;return Dr.current.indicatorBorderWidth},Kn=function($n){var wr;return($n||!Dr.current.rect)&&eo.current&&(Dr.current.rect=(wr=eo.current)===null||wr===void 0?void 0:wr.getBoundingClientRect()),Dr.current.rect};(0,M.useImperativeHandle)(Mr,function(){return{getSliderButtonWidth:mn,getIndicatorBorderWidth:Dt,getRect:Kn,updateLeft:function($n){var wr=mn(),ao=Dt();ke(xr.current,{left:$n+"px"}),ke(Yr.current,{width:$n+wr+ao+"px"})}}},[]);var Hn=$e===z.Loading,Kr=$e===z.Moving,Rr=$e===z.Verify,Tr=$e===z.Success,zr=$e===z.Error,Er=$e===z.LoadFailed,dr=pt?Ar.errors:un[$e][0];return M.createElement("div",(0,t.pi)({},gr,{className:h()(k,(fe={},fe["".concat(k,"-loading")]=Hn,fe["".concat(k,"-moving")]=Kr,fe["".concat(k,"-verify")]=Rr,fe["".concat(k,"-success")]=Tr,fe["".concat(k,"-error")]=zr,fe["".concat(k,"-errors")]=pt,fe["".concat(k,"-load-failed")]=Er,fe),gr.className),ref:eo}),M.createElement("div",(0,t.pi)({},mr,{className:h()("".concat(k,"-indicator"),mr==null?void 0:mr.className),ref:Yr})),M.createElement(I,(0,t.pi)({},dn,{className:h()("".concat(k,"-button"),dn==null?void 0:dn.className),disabled:Hn,active:Kr,verify:Rr,success:Tr,error:zr,buttonRef:xr}),un[$e][1]),M.createElement("div",{className:h()("".concat(k,"-tips")),style:dr?{}:{display:"none"}},dr))},T="".concat(ee,"-loading"),R=function(j){var fe=j.icon,Ie=fe===void 0?M.createElement($,{type:"loading",spin:!0}):fe,$e=j.text,pt=$e===void 0?"\u52A0\u8F7D\u4E2D...":$e,Zt=j.className,En=(0,t._T)(j,["icon","text","className"]);return M.createElement("div",(0,t.pi)({className:h()(T,Zt)},En),M.createElement("div",{className:"".concat(T,"-icon")},Ie),M.createElement("div",{className:"".concat(T,"-text")},pt))},F="".concat(ee,"-jigsaw"),U={bgSize:{width:320,height:160},puzzleSize:{width:60,left:0},loadFailedIcon:M.createElement($,{type:"imageFill"}),refreshIcon:M.createElement($,{type:"refresh"})},ce=function(j){var fe,Ie,$e=j.status,pt=j.bgSize,Zt=pt===void 0?U.bgSize:pt,En=j.puzzleSize,dn=En===void 0?U.puzzleSize:En,mr=j.bgUrl,Mr=j.puzzleUrl,gr=j.bgImgProps,eo=j.puzzleImgProps,xr=j.jigsawRef,Yr=j.loadingBoxProps,Dr=j.loadFailedIcon,Ar=Dr===void 0?U.loadFailedIcon:Dr,an=j.showRefreshIcon,un=an===void 0?!0:an,mn=j.refreshIcon,Dt=mn===void 0?U.refreshIcon:mn,Kn=j.disabledRefresh,Hn=j.onRefresh,Kr=j.style,Rr=j.className,Tr=j.children,zr=(0,t._T)(j,["status","bgSize","puzzleSize","bgUrl","puzzleUrl","bgImgProps","puzzleImgProps","jigsawRef","loadingBoxProps","loadFailedIcon","showRefreshIcon","refreshIcon","disabledRefresh","onRefresh","style","className","children"]),Er=(0,M.useRef)(null);if((0,M.useImperativeHandle)(xr,function(){return{updateLeft:function($n){ke(Er.current,{left:$n+"px"})}}}),$e===z.Loading)return M.createElement(R,(0,t.pi)({},Yr,{style:(0,t.pi)((0,t.pi)({},Yr==null?void 0:Yr.style),Zt)}));if($e===z.LoadFailed||!mr||!Mr)return M.createElement("div",{className:"".concat(ee,"-load-failed"),style:Zt},Ar);var dr=$e===z.Verify||$e===z.Error||$e===z.Success;return M.createElement("div",(0,t.pi)({className:h()(F,(fe={},fe["".concat(F,"-stop")]=dr,fe),Rr),style:(0,t.pi)((0,t.pi)({},Kr),Zt)},zr),M.createElement("img",(0,t.pi)({src:mr,alt:""},gr,{className:h()("".concat(F,"-bg"),gr==null?void 0:gr.className),style:(0,t.pi)((0,t.pi)({},gr==null?void 0:gr.style),Zt)})),M.createElement("img",(0,t.pi)({src:Mr,alt:""},eo,{className:h()("".concat(F,"-puzzle"),eo==null?void 0:eo.className),style:(0,t.pi)((0,t.pi)({},eo==null?void 0:eo.style),dn),ref:Er})),un&&$e!==z.Success&&Dt&&M.createElement("div",{className:h()("".concat(F,"-refresh"),(Ie={},Ie["".concat(F,"-refresh-disabled")]=$e===z.Verify||Kn,Ie)),onClick:function(){$e!==z.Verify&&!Kn&&(Hn==null||Hn())}},Dt),Tr)},Qe=Be?{start:"pointerdown",move:"pointermove",end:"pointerup",cancel:"pointercancel"}:Ae?{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"}:{start:"mousedown",move:"mousemove",end:"mouseup",cancel:"touchcancel"},Re=Be?"onPointerDown":Ae?"onTouchStart":"onMouseDown",Ve;(function(j){j.Puzzle="puzzle",j.Button="button"})(Ve||(Ve={}));var vt=function(j){var fe,Ie,$e,pt=j.mode,Zt=pt===void 0?"embed":pt,En=j.limitErrorCount,dn=En===void 0?0:En,mr=j.tipText,Mr=j.tipIcon,gr=j.refreshIcon,eo=j.bgSize,xr=j.puzzleSize,Yr=j.request,Dr=j.autoRequest,Ar=Dr===void 0?!0:Dr,an=j.onVerify,un=j.autoRefreshOnError,mn=un===void 0?!0:un,Dt=j.actionRef,Kn=j.showRefreshIcon,Hn=Kn===void 0?!0:Kn,Kr=j.jigsawContent,Rr=j.errorHoldDuration,Tr=Rr===void 0?500:Rr,zr=j.loadingDelay,Er=zr===void 0?0:zr,dr=j.placement,$n=dr===void 0?"top":dr,wr=j.loadingBoxProps,ao=j.sliderButtonProps,G=j.precision,me=G===void 0?7:G,ge=j.className,Bt=j.style,At=j.styles,On=Y(),bn=On[0],kt=On[1],qe=Y(z.Default),qt=qe[0],Zr=qe[1],fr=m(qt),Pr=(0,M.useRef)(null),Hr=(0,M.useRef)(null),_t=(0,M.useRef)(null),Qn=(0,M.useMemo)(function(){return Zt==="float"||Zt==="slider"?Zt:"embed"},[Zt]),or=(0,M.useMemo)(function(){if(gr!==void 0)return gr;if((Mr==null?void 0:Mr.refresh)!==void 0)return Mr.refresh},[gr,Mr]),jr=(0,M.useMemo)(function(){return(0,t.pi)((0,t.pi)({},U.bgSize),eo)},[eo]),rr=(0,M.useMemo)(function(){return(0,t.pi)((0,t.pi)({},U.puzzleSize),xr)},[xr]),pr=(0,M.useMemo)(function(){return $n==="bottom"?"top":"bottom"},[$n]),St=(0,M.useRef)({isPressed:!1,trail:[],errorCount:0,startInfo:{x:0,y:0,timestamp:0},currentTargetType:Ve.Button,floatTransitionTimer:null,floatDelayShowTimer:null,floatDelayHideTimer:null,refreshTimer:null,loadingTimer:null,sliderButtonWidth:40,indicatorBorderWidth:2,ratio:1,buttonMaxDistance:0,puzzleMaxDistance:0}),Wt=Qn==="slider",Ht=typeof Er=="number"&&Er>0,kn=qt===z.Error&&dn>0&&St.current.errorCount>=dn,ur=function(){St.current.buttonMaxDistance=jr.width-St.current.sliderButtonWidth-St.current.indicatorBorderWidth,St.current.puzzleMaxDistance=jr.width-rr.width-rr.left},to=function(){var Vr;return((Vr=Pr.current)===null||Vr===void 0?void 0:Vr.getRect(!0).height)||42},io=function(){return(0,t.mG)(void 0,void 0,void 0,function(){var Vr;return(0,t.Jh)(this,function(yo){switch(yo.label){case 0:if(Wt)return[2];if(!Yr)return[3,4];Ht?St.current.loadingTimer=setTimeout(function(){Zr(z.Loading)},Er):Zr(z.Loading),yo.label=1;case 1:return yo.trys.push([1,3,,4]),[4,Yr()];case 2:return Vr=yo.sent(),Ht&&clearTimeout(St.current.loadingTimer),kt(Vr),Zr(z.Default),[3,4];case 3:return yo.sent(),Ht&&clearTimeout(St.current.loadingTimer),Zr(z.LoadFailed),[3,4];case 4:return[2]}})})},Eo=function(Vr){Vr===void 0&&(Vr=300),!(Qn!=="float"||fr.current===z.Success)&&(clearTimeout(St.current.floatTransitionTimer),clearTimeout(St.current.floatDelayHideTimer),clearTimeout(St.current.floatDelayShowTimer),St.current.floatDelayShowTimer=setTimeout(function(){var yo;ke(_t.current,{display:"block"}),Q(_t.current);var Uo=to()+"px";ke(_t.current,(yo={},yo[pr]=Uo,yo.opacity="1",yo))},Vr))},Mo=function(Vr){Vr===void 0&&(Vr=300),Qn==="float"&&(clearTimeout(St.current.floatTransitionTimer),clearTimeout(St.current.floatDelayHideTimer),clearTimeout(St.current.floatDelayShowTimer),St.current.floatDelayHideTimer=setTimeout(function(){var yo,Uo=to()/2+"px";ke(_t.current,(yo={},yo[pr]=Uo,yo.opacity="0",yo)),St.current.floatTransitionTimer=setTimeout(function(){ke(_t.current,{display:"none"})},300)},Vr))},Go=function(Vr){var yo;Wt||(yo=Hr.current)===null||yo===void 0||yo.updateLeft(Vr)},Xo=function(){var Vr;St.current.isPressed=!1,Zr(z.Default),(Vr=Pr.current)===null||Vr===void 0||Vr.updateLeft(0),Go(rr.left)},ia=function(Vr){Vr===void 0&&(Vr=!1),Vr&&(St.current.errorCount=0),clearTimeout(St.current.refreshTimer),fr.current!==z.Loading&&(Xo(),io())},xo=function(){(kn||qt===z.LoadFailed)&&ia(kn)},Wr=function(){Ae||Eo()},Jr=function(){Ae||Mo()},Do=function(Vr){St.current.currentTargetType=Ve.Puzzle,So(Vr)},Ko=function(Vr){St.current.currentTargetType=Ve.Button,So(Vr)},So=function(Vr){if(fr.current===z.Default){Vr.preventDefault();var yo=te(Vr),Uo=yo.clientX,go=yo.clientY;St.current.startInfo={x:Uo,y:go,timestamp:new Date().getTime()},St.current.trail=[[Uo,go]],Pr.current&&(St.current.sliderButtonWidth=Pr.current.getSliderButtonWidth(!0),St.current.indicatorBorderWidth=Pr.current.getIndicatorBorderWidth(!0)),ur(),St.current.ratio=St.current.puzzleMaxDistance/St.current.buttonMaxDistance,St.current.currentTargetType===Ve.Puzzle&&(St.current.ratio=1/St.current.ratio),(Ae||Vr.pointerType==="pen"||Vr.pointerType==="touch")&&Eo(0),St.current.isPressed=!0,document.addEventListener(Qe.move,ma),document.addEventListener(Qe.end,sa),document.addEventListener(Qe.cancel,sa)}},ma=function(Vr){var yo;if(St.current.isPressed){Vr.preventDefault();var Uo=te(Vr),go=Uo.clientX,lo=Uo.clientY,_r=go-St.current.startInfo.x;St.current.trail.push([go,lo]),fr.current!==z.Moving&&_r>0&&Zr(z.Moving);var Io=_r,zo=_r;St.current.currentTargetType===Ve.Puzzle?(_r=Math.max(0,Math.min(_r,St.current.puzzleMaxDistance)),Io=_r+rr.left,zo=_r*St.current.ratio):(_r=Math.max(0,Math.min(_r,St.current.buttonMaxDistance)),zo=_r,Io=_r*St.current.ratio+rr.left),(yo=Pr.current)===null||yo===void 0||yo.updateLeft(zo),Go(Io)}},sa=function(Vr){if(document.removeEventListener(Qe.move,ma),document.removeEventListener(Qe.end,sa),document.removeEventListener(Qe.cancel,sa),!!St.current.isPressed){if(fr.current!==z.Moving){St.current.isPressed=!1,Ae&&Mo();return}if(an){St.current.isPressed=!1,Zr(z.Verify);var yo=new Date().getTime(),Uo=te(Vr),go=Uo.clientX,lo=Uo.clientY,_r=lo-St.current.startInfo.y,Io=go-St.current.startInfo.x,zo=Io;St.current.currentTargetType===Ve.Puzzle?(Io=Math.max(0,Math.min(Io,St.current.puzzleMaxDistance)),zo=Io*St.current.ratio):(Io=Math.max(0,Math.min(Io,St.current.buttonMaxDistance)),zo=Io,Io*=St.current.ratio),an({x:C(Io,me),y:C(_r,me),sliderOffsetX:C(zo,me),duration:yo-St.current.startInfo.timestamp,trail:St.current.trail,targetType:St.current.currentTargetType,errorCount:St.current.errorCount}).then(function(){St.current.errorCount=0,Zr(z.Success),Mo()}).catch(function(){St.current.errorCount+=1,Zr(z.Error),(Ae||Vr.pointerType==="pen"||Vr.pointerType==="touch")&&Mo(),(dn<=0||St.current.errorCount0?(pt.forEach(function(Zt){Zt.wrap.apply(Zt.context,Ie)}),!0):!1},j}(),mt={},Oe=function(){function j(fe){fe===void 0&&(fe="default"),this.scope=fe,mt[this.scope]||(mt[this.scope]={}),this.data=mt[this.scope]}return j.prototype.getItem=function(fe){return fe in this.data?this.data[fe]:null},j.prototype.setItem=function(fe,Ie){this.data[fe]=Ie},j.prototype.removeItem=function(fe){delete this.data[fe]},j.prototype.clear=function(){mt[this.scope]={},this.data=mt[this.scope]},j}();function _e(){return Math.random().toString(16).substring(2,8)}function v(j){try{var fe=typeof j=="object"&&j!==null&&!!j.setItem&&!!j.getItem&&!!j.removeItem;if(fe){var Ie=_e()+new Date().getTime(),$e="1";if(j.setItem(Ie,$e),j.getItem(Ie)!==$e)return!1;j.removeItem(Ie)}return fe}catch(pt){return console.error("[cache2] ".concat(j," is not supported. The default memory cache will be used.")),!1}}function S(j,fe){try{return JSON.parse(j,fe)}catch(Ie){return j}}function g(j,fe){return JSON.stringify(j,fe)}var o=function(){function j(fe,Ie){Ie===void 0&&(Ie={});var $e=fe?v(fe):!1;this.options=(0,t.pi)({needParsed:$e,prefix:""},Ie),this.storage=$e?fe:new Oe(this.options.memoryScope)}return j.prototype.getKey=function(fe){return this.options.prefix+fe},j.prototype.get=function(fe){var Ie=this.storage.getItem(this.getKey(fe));return this.options.needParsed?S(Ie,this.options.reviver):Ie},j.prototype.set=function(fe,Ie){this.storage.setItem(this.getKey(fe),this.options.needParsed?g(Ie,this.options.replacer):Ie)},j.prototype.del=function(fe){this.storage.removeItem(this.getKey(fe))},j.prototype.clear=function(){typeof this.storage.clear=="function"&&this.storage.clear()},j}(),L="cache2_",le="default",f=function(j){(0,t.ZT)(fe,j);function fe(Ie,$e){var pt=j.call(this)||this,Zt=le,En;return typeof Ie=="string"?Zt=Ie||le:typeof Ie=="object"&&(En=Ie),!En&&typeof $e=="object"&&(En=$e),pt.options=(0,t.pi)({max:-1,stdTTL:0,maxStrategy:"limited",checkperiod:0,prefix:L},En),pt.storage=new o(pt.options.storage,(0,t.pi)({memoryScope:Zt},pt.options)),pt.cacheKey=Zt,pt.startCheckperiod(),pt}return fe.prototype._check=function(Ie,$e){var pt=!0;return $e.t!==0&&$e.t0?pt+Zt:0;return{v:Ie,t:En,n:pt}},fe.prototype._isLimited=function(Ie){return this.options.max>-1&&Ie>=this.options.max},fe.prototype._getReplaceKey=function(Ie,$e){var pt=Ie[0];return Ie.forEach(function(Zt){($e[Zt].t<$e[pt].t||$e[Zt].t===$e[pt].t&&$e[Zt].n<$e[pt].n)&&(pt=Zt)}),pt},Object.defineProperty(fe.prototype,"cacheValues",{get:function(){return this.storage.get(this.cacheKey)||{}},enumerable:!1,configurable:!0}),fe.prototype.setCacheValues=function(Ie){this.storage.set(this.cacheKey,Ie)},fe.prototype.get=function(Ie){var $e=this.cacheValues[Ie];if($e&&this._check(Ie,$e))return $e.v},fe.prototype.mget=function(Ie){var $e=this,pt={};if(!Array.isArray(Ie))return pt;var Zt=this.cacheValues;return Ie.forEach(function(En){var dn=Zt[En];dn&&$e._check(En,dn)&&(pt[En]=dn.v)}),pt},fe.prototype.getAll=function(){var Ie=Object.keys(this.cacheValues);return this.mget(Ie)},fe.prototype.set=function(Ie,$e,pt){if(this.options.max===0)return!1;var Zt=this.cacheValues,En=Object.keys(Zt);if(!Zt[Ie]&&this._isLimited(En.length)){var dn=this.keys();if(this._isLimited(dn.length))if(this.options.maxStrategy==="replaced"){var mr=this._getReplaceKey(dn,Zt);this.del(mr)}else return!1}return Zt[Ie]=this._wrap($e,pt),this.setCacheValues(Zt),this.emit("set",Ie,Zt[Ie].v),!0},fe.prototype.mset=function(Ie){var $e=this,pt=!0;return Ie.forEach(function(Zt){var En=$e.set(Zt.key,Zt.value,Zt.ttl);pt&&!En&&(pt=!1)}),pt},fe.prototype.del=function(Ie){var $e=this,pt=this.cacheValues,Zt=0,En=Array.isArray(Ie)?Ie:[Ie];return En.forEach(function(dn){if(pt[dn]){Zt++;var mr=pt[dn];delete pt[dn],$e.emit("del",dn,mr.v)}}),Zt>0&&this.setCacheValues(pt),Zt},fe.prototype.clear=function(){this.storage.del(this.cacheKey)},fe.prototype.keys=function(){var Ie=this,$e=this.cacheValues,pt=Object.keys($e);return pt.filter(function(Zt){return Ie._check(Zt,$e[Zt])})},fe.prototype.has=function(Ie){var $e=this.cacheValues[Ie];return!!($e&&this._check(Ie,$e))},fe.prototype.take=function(Ie){var $e,pt=this.cacheValues[Ie];return pt&&this._check(Ie,pt)&&($e=pt.v,this.del(Ie)),$e},fe.prototype.ttl=function(Ie,$e){var pt=this.cacheValues,Zt=pt[Ie];return Zt&&this._check(Ie,Zt)?(pt[Ie]=this._wrap(Zt.v,$e),!0):!1},fe.prototype.getTtl=function(Ie){var $e=this.cacheValues,pt=$e[Ie];if(pt&&this._check(Ie,pt))return $e[Ie].t},fe.prototype.getLastModified=function(Ie){var $e=this.cacheValues,pt=$e[Ie];if(pt&&this._check(Ie,pt))return $e[Ie].n},fe.prototype.startCheckperiod=function(){var Ie=this;this.keys(),this.options.checkperiod>0&&(clearTimeout(this._checkTimeout),this._checkTimeout=setTimeout(function(){Ie.startCheckperiod()},this.options.checkperiod))},fe.prototype.stopCheckperiod=function(){clearTimeout(this._checkTimeout)},fe}(xt),s=void 0,_="undefined",N="object",B=Object.prototype,J=B.toString,De=B.hasOwnProperty,ie=B.propertyIsEnumerable,Le=Object.getOwnPropertySymbols,Pe=Object.getPrototypeOf,Fe=Object.keys,Me=Function.prototype,ut=Me.toString,ht=typeof Symbol!==_,Je=ht?Symbol.prototype:s,wt=Array.prototype,Nt=wt.slice,Kt=Math.min,Rt=Math.max,gn=Math.random,Pn=Math.floor,Sn=Math.ceil,Tn=Math.abs,Yn=Number.isFinite,pn=Number.isInteger,Tt=Number.isSafeInteger,xn=typeof globalThis===N&&globalThis,Gn=typeof e.g===N&&e.g,Gt=typeof self===N&&self,zn=Number.MAX_SAFE_INTEGER||9007199254740991,tr=Number.MIN_SAFE_INTEGER||-9007199254740991,Jn=4294967295,Wn="[object ",br=Wn+"BigInt]",Or=Wn+"Number]",Ln=Wn+"Boolean]",sr=Wn+"String]",nn=Wn+"Date]",Nn=Wn+"RegExp]",se=Wn+"Symbol]",d=Wn+"Error]",w=Wn+"ArrayBuffer]",x=Wn+"Arguments]",O=Wn+"Array]",re=["Function","AsyncFunction","GeneratorFunction","Proxy"].map(function(j){return Wn+j+"]"}),Se=Wn+"WeakSet]",Ye=Wn+"Blob]",We=Wn+"File]",it=Wn+"DOMException]",et=Wn+"Object]",oe=Wn+"DataView]",ve=Wn+"Map]",xe=Wn+"Promise]",pe=Wn+"Set]",Ne=Wn+"WeakMap]",ct=Wn+"Window]";function lt(j){return J.call(j)}function dt(j){return typeof j=="string"||lt(j)===sr}var ft=function(){function j(fe,Ie){Ie===void 0&&(Ie="uh_async_memo"),this.promiseCache={},this.cache=new f(Ie,fe)}return j.prototype.run=function(fe,Ie,$e){var pt=this;if(!Ie||!dt(Ie))return fe();var Zt=(0,t.pi)({persisted:!0},$e);if(Zt.persisted){var En=this.cache.get(Ie);if(En)return Promise.resolve(En)}return this.promiseCache[Ie]||(this.promiseCache[Ie]=fe().then(function(dn){return delete pt.promiseCache[Ie],pt.cache.set(Ie,dn,Zt.ttl),dn}).catch(function(dn){return delete pt.promiseCache[Ie],Promise.reject(dn)})),this.promiseCache[Ie]},j}(),rt=typeof Blob!==_;function at(j){return rt&&j instanceof Blob?!0:lt(j)===Ye}function ue(j){return function(){return j}}function we(){}var Te=typeof URL!="undefined",Ue=void 0,ze=Object.keys,tt=Object.values,Ge=Te?URL.createObjectURL:ue(""),gt=Te?URL.revokeObjectURL:we;function yt(j,fe){var Ie=fe||{},$e=Ie.method,pt=$e===void 0?"get":$e,Zt=Ie.data,En=Zt===void 0?null:Zt,dn=Ie.timeout,mr=Ie.headers,Mr=Ie.withCredentials,gr=Mr===void 0?!1:Mr,eo=Ie.async,xr=eo===void 0?!0:eo,Yr=Ie.user,Dr=Yr===void 0?null:Yr,Ar=Ie.password,an=Ar===void 0?null:Ar,un=Ie.responseType,mn=Ie.onReadyStateChange,Dt=Ie.onLoadStart,Kn=Ie.onProgress,Hn=Ie.onAbort,Kr=Ie.onTimeout,Rr=Ie.onError,Tr=Ie.onLoad,zr=Ie.onLoadEnd;return new Promise(function(Er,dr){var $n=new XMLHttpRequest;$n.open(pt.toLowerCase(),j,xr,Dr,an),mn&&($n.onreadystatechange=mn),typeof dn=="number"&&dn>0&&($n.timeout=dn),$n.withCredentials=gr,un&&($n.responseType=un),typeof mr=="object"&&ze(mr).map(function(ge){$n.setRequestHeader(ge,mr[ge])});var wr=function(ge){return function(Bt){Er(Bt),ge==null||ge.call($n,Bt)}},ao=function(ge){return function(Bt){dr(Bt),ge==null||ge.call($n,Bt)}},G={loadstart:Dt,progress:Kn,abort:ao(Hn),timeout:ao(Kr),error:ao(Rr),load:wr(Tr),loadend:zr},me=ze(G);me.forEach(function(ge){var Bt=G[ge];Bt&&$n.addEventListener(ge,Bt)}),$n.send(En)})}var bt=[200,304];function Qt(j,fe){return new Promise(function(Ie,$e){at(j)?Ie(j):yt(j,(0,t.pi)({responseType:"blob"},fe)).then(function(pt){var Zt=pt.target.status;if(bt.indexOf(Zt)!==-1)Ie(pt.target.response);else{var En=new Error("The file does not support get requests, responseStatus ".concat(Zt,", '").concat(j,"'."));console.error(En),$e(En)}}).catch(function(pt){console.error(new Error("Failed to request file. ".concat(pt))),$e(pt)})})}function $t(j){return new Promise(function(fe,Ie){var $e=at(j),pt=$e?Ge(j):j,Zt=new Image;$e||(Zt.crossOrigin="anonymous"),Zt.onload=function(){fe(Zt)},Zt.onerror=function(En){$e&>(pt),console.error("[loadImage] The image load failed, '".concat(j,"'.")),Ie(En)},Zt.src=pt})}function ln(j,fe){return Qt(j,fe).then(function(Ie){return $t(Ie).then(function($e){return{blob:Ie,image:$e}})})}function Et(j){return j!==null&&typeof j=="object"}function Xe(j){return typeof j=="function"||Et(j)}function Pt(j){return typeof j=="symbol"||lt(j)===se}var Jt=/^0b[01]+$/i,Ut=/^0o[0-7]+$/i,Vt=/^[-+]0x[0-9a-f]+$/i;function Ot(j){if(typeof j=="number")return j;if(Pt(j))return NaN;if(Xe(j)&&(j=Number(j)),typeof j!="string")return j===0?j:+j;j=j.trim();var fe=Jt.test(j);return fe||Ut.test(j)?parseInt(j.slice(2),fe?2:8):Vt.test(j)?NaN:+j}var sn=17976931348623157e292;function Xt(j){if(!j)return j===0?j:0;if(j=Ot(j),j===1/0||j===-1/0){var fe=j<0?-1:1;return fe*sn}return j===j?j:0}function An(j,fe){j===void 0&&(j=0),fe===void 0&&(fe=1),j=Xt(j),fe=Xt(fe);var Ie=Sn(Kt(j,fe)||0),$e=Pn(Rt(j,fe)||0);if(Ie>$e){var pt=Ie;Ie=$e,$e=pt}return Pn(Ie+gn()*($e-Ie+1))}var Mn=Math.PI,nt;(function(j){j[j.None=0]="None",j[j.Outer=1]="Outer",j[j.Inner=2]="Inner"})(nt||(nt={}));var Ft=[nt.None,nt.Outer,nt.Inner];function zt(j){var fe=j.length,Ie=An(0,fe-1);return j[Ie]}function en(j){var fe={top:zt(Ft),right:zt(Ft),bottom:zt(Ft),left:zt(Ft)},Ie=Object.keys(fe),$e=["top","bottom"],pt=["left","right"];if(fe.top===nt.Outer&&fe.bottom===nt.Outer?fe[zt($e)]=nt.Inner:fe.top!==nt.Outer&&fe.bottom!==nt.Outer&&(fe[zt($e)]=nt.Outer),fe.left===nt.Outer&&fe.right===nt.Outer?fe[zt(pt)]=nt.Inner:fe.left!==nt.Outer&&fe.right!==nt.Outer&&(fe[zt(pt)]=nt.Outer),j){var Zt=[],En=[];Ie.forEach(function(dn){fe[dn]===nt.Inner?Zt.push(dn):fe[dn]===nt.None&&En.push(dn)}),j===2?Zt.forEach(function(dn){return fe[dn]=nt.None}):j===3?Zt.length===0?fe[zt(En)]=nt.Inner:Zt.length===2&&(fe[zt(Zt)]=nt.None):j==4&&En.forEach(function(dn){return fe[dn]=nt.Inner})}return fe}function Cn(j,fe){fe===void 0&&(fe={});var Ie=fe.x,$e=Ie===void 0?0:Ie,pt=fe.y,Zt=pt===void 0?0:pt,En=fe.w,dn=En===void 0?60:En,mr=fe.h,Mr=mr===void 0?60:mr,gr=fe.needClosePath,eo=gr===void 0?!0:gr,xr=fe.points,Yr=fe.margin,Dr=Yr===void 0?0:Yr;Dr=Dr<=0?0:Dr,(typeof xr=="number"||!xr)&&(xr=en(xr));var Ar=(Math.min(dn,Mr)-Dr*2)*.15,an=Math.hypot(Ar,Ar),un=an/2,mn=Ar+un,Dt={x:$e+Dr,y:Zt+Dr,w:dn-mn-Dr*2,h:Mr-mn-Dr*2},Kn=Dt.w/2,Hn=Dt.h/2;xr.left===nt.Outer&&(Dt.x+=mn),xr.top===nt.Outer&&(Dt.y+=mn),j.beginPath(),j.lineWidth=2,j.moveTo(Dt.x,Dt.y),xr.top!==nt.None&&(j.lineTo(Dt.x+Kn-un,Dt.y),xr.top===nt.Inner?j.arc(Dt.x+Kn,Dt.y+un,Ar,1.25*Mn,1.75*Mn,!0):j.arc(Dt.x+Kn,Dt.y-un,Ar,.75*Mn,.25*Mn)),j.lineTo(Dt.x+Dt.w,Dt.y),xr.right!==nt.None&&(j.lineTo(Dt.x+Dt.w,Dt.y+Hn-un),xr.right===nt.Inner?j.arc(Dt.x+Dt.w-un,Dt.y+Hn,Ar,1.75*Mn,.25*Mn,!0):j.arc(Dt.x+Dt.w+un,Dt.y+Hn,Ar,1.25*Mn,.75*Mn)),j.lineTo(Dt.x+Dt.w,Dt.y+Dt.h),xr.bottom!==nt.None&&(j.lineTo(Dt.x+Kn+un,Dt.y+Dt.h),xr.bottom===nt.Inner?j.arc(Dt.x+Kn,Dt.y+Dt.h-un,Ar,.25*Mn,.75*Mn,!0):j.arc(Dt.x+Kn,Dt.y+Dt.h+un,Ar,1.75*Mn,1.25*Mn)),j.lineTo(Dt.x,Dt.y+Dt.h),xr.left!==nt.None&&(j.lineTo(Dt.x,Dt.y+Hn+un),xr.left===nt.Inner?j.arc(Dt.x+un,Dt.y+Hn,Ar,.75*Mn,1.25*Mn,!0):j.arc(Dt.x-un,Dt.y+Hn,Ar,.25*Mn,1.75*Mn)),j.lineTo(Dt.x,Dt.y),j.stroke(),eo&&j.closePath()}function yn(j,fe,Ie,$e){return new Promise(function(pt){fe?j.toBlob(function(Zt){pt(Zt?URL.createObjectURL(Zt):j.toDataURL(Ie,$e))},Ie,$e):pt(j.toDataURL(Ie,$e))})}var wn=new ft({max:5,maxStrategy:"replaced"});wn.cache.on("del",function(j,fe){try{fe.image.src&&URL.revokeObjectURL(fe.image.src)}catch(Ie){}});function cn(j){j?wn.cache.del(j):wn.cache.clear()}var Rn=new WeakMap,Zn=function(j){if(!Xe(j))return String(j);if(!Rn.get(j)){var fe="_"+Date.now();Rn.set(j,fe)}return Rn.get(j)},Cr={jpeg:"image/jpeg",png:"image/png"},rn=[];function jt(j){j.forEach(function(fe){URL.revokeObjectURL(fe)})}function Bn(j,fe){fe===void 0&&(fe={});var Ie=fe.borderWidth,$e=Ie===void 0?2:Ie,pt=fe.borderColor,Zt=pt===void 0?"rgba(255,255,255,0.7)":pt,En=fe.fillColor,dn=En===void 0?"rgba(255,255,255,0.7)":En,mr=fe.points,Mr=fe.width,gr=Mr===void 0?60:Mr,eo=fe.height,xr=eo===void 0?60:eo,Yr=fe.x,Dr=fe.y,Ar=fe.margin,an=Ar===void 0?2:Ar,un=fe.equalHeight,mn=un===void 0?!0:un,Dt=fe.imageWidth,Kn=fe.imageHeight,Hn=fe.bgWidth,Kr=fe.bgHeight,Rr=fe.bgOffset,Tr=Rr===void 0?[0,0]:Rr,zr=fe.bgImageType,Er=zr===void 0?Cr.jpeg:zr,dr=fe.quality,$n=dr===void 0?.8:dr,wr=fe.format,ao=wr===void 0?"dataURL":wr,G=fe.cacheImage,me=G===void 0?!0:G,ge=fe.autoRevokePreviousBlobUrl,Bt=ge===void 0?!0:ge,At=fe.ajaxOptions;return new Promise(function(On,bn){var kt=document.createElement("canvas"),qe=document.createElement("canvas"),qt=kt.getContext("2d"),Zr=qe.getContext("2d"),fr=me?Zn(j):void 0;wn.run(function(){return ln(j,At)},fr).then(function(Pr){var Hr=Pr.image;Dt&&(Hr.width=Dt),Kn&&(Hr.height=Kn);var _t=typeof Hn=="number"&&Hn>0?Hn>gr?Hn:gr:Hr.width,Qn=typeof Kr=="number"&&Kr>0?Kr>xr?Kr:xr:Hr.height;kt.width=_t,kt.height=Qn;var or=_t-gr,jr=Qn-xr,rr=typeof Yr=="undefined"?An(gr,or):Yr||0,pr=typeof Dr=="undefined"?An(0,jr):Dr||0;rr<0?rr=0:rr>or&&(rr=or),pr<0?pr=0:pr>jr&&(pr=jr);var St=typeof mr=="number"||!mr?en(mr):mr,Wt=typeof Tr=="function"?Tr(Hr.width,Hr.height):Tr;qt.strokeStyle=Zt,qt.lineWidth=$e,qt.fillStyle=dn,Cn(qt,{x:rr,y:pr,w:gr,h:xr,points:St,margin:an}),qt.fillStyle=dn,qt.fill(),qt.globalCompositeOperation="destination-over",qt.drawImage(Hr,Wt[0],Wt[1],Hr.width,Hr.height),qe.width=_t,qe.height=Qn,Zr.strokeStyle=Zt,Zr.lineWidth=$e,Cn(Zr,{x:rr,y:pr,w:gr,h:xr,points:St,margin:an}),Zr.globalCompositeOperation="destination-over",Zr.clip(),Zr.drawImage(Hr,Wt[0],Wt[1],Hr.width,Hr.height);var Ht=Zr.getImageData(rr,pr,gr,xr);Zr.clearRect(0,0,_t,Qn),qe.width=gr,qe.height=mn?Qn:xr,Zr.putImageData(Ht,0,mn?pr:0);var kn=ao==="blob",ur=yn(qe,kn,Cr.png,$n),to=yn(kt,kn,Er,$n);Promise.all([ur,to]).then(function(io){var Eo=io[0],Mo=io[1];Bt&&(rn.length&&(jt(rn),rn.length=0),kn&&rn.push(Mo,Eo)),On({puzzleUrl:Eo,bgUrl:Mo,x:rr,y:mn?0:pr})}).catch(bn)}).catch(bn)})}var Xn=e(43418),hr=e(3113),po=Object.defineProperty,Qr=Object.getOwnPropertySymbols,Sr=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,Ur=(j,fe,Ie)=>fe in j?po(j,fe,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):j[fe]=Ie,Gr=(j,fe)=>{for(var Ie in fe||(fe={}))Sr.call(fe,Ie)&&Ur(j,Ie,fe[Ie]);if(Qr)for(var Ie of Qr(fe))uo.call(fe,Ie)&&Ur(j,Ie,fe[Ie]);return j},vo=(j,fe,Ie)=>new Promise(($e,pt)=>{var Zt=mr=>{try{dn(Ie.next(mr))}catch(Mr){pt(Mr)}},En=mr=>{try{dn(Ie.throw(mr))}catch(Mr){pt(Mr)}},dn=mr=>mr.done?$e(mr.value):Promise.resolve(mr.value).then(Zt,En);dn((Ie=Ie.apply(j,fe)).next())});const Nr=({ModalProps:j,onFinish:fe})=>{const[Ie,$e]=(0,M.useState)(),pt=(0,M.useRef)(),Zt=()=>vo(void 0,null,function*(){const dn=`/images/VerifCodeBg/img${Math.floor(Math.random()*23)+1}.jpg`,mr=yield Bn(dn,{imageHeight:180,imageWidth:360});return $e(mr),mr}),En=dn=>vo(void 0,null,function*(){return dn!=null&&dn.x&&dn.x>Ie.x-5&&dn.x{var dn;j!=null&&j.open&&pt.current&&((dn=pt.current)==null||dn.refresh())},[j==null?void 0:j.open,pt]),M.createElement(Xn.default,Gr({},Gr({title:"\u8BF7\u5B8C\u6210\u4E0B\u5217\u9A8C\u8BC1\u540E\u7EE7\u7EED",width:410,footer:null,centered:!0},j)),M.createElement(vt,{actionRef:pt,request:Zt,onVerify:dn=>vo(void 0,null,function*(){return En(dn)}),bgSize:{width:360,height:180}}),M.createElement("div",{className:"flex mt10"},M.createElement(hr.ZP,{style:{paddingLeft:"0px",paddingRight:"0px"},type:"link",icon:M.createElement("i",{className:"iconfont icon-shuaxin3"}),onClick:()=>{var dn;(dn=pt.current)==null||dn.refresh()}},"\u5237\u65B0")))};var mo=M.memo(Nr)},10269:function(Yt,je,e){var t=e(59301),i=e(78241),h=e(8591),M=e(43418),c=e(1710),E=e(46400),n=e(92832),Y=e(24780),ne=e(89070),m=Object.defineProperty,de=Object.defineProperties,p=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(C,r,I)=>r in C?m(C,r,{enumerable:!0,configurable:!0,writable:!0,value:I}):C[r]=I,ke=(C,r)=>{for(var I in r||(r={}))Z.call(r,I)&&te(C,I,r[I]);if(P)for(var I of P(r))ee.call(r,I)&&te(C,I,r[I]);return C},ye=(C,r)=>de(C,p(r)),Be=(C,r,I)=>new Promise((b,ae)=>{var H=V=>{try{A(I.next(V))}catch(D){ae(D)}},X=V=>{try{A(I.throw(V))}catch(D){ae(D)}},A=V=>V.done?b(V.value):Promise.resolve(V.value).then(H,X);A((I=I.apply(C,r)).next())});const Ae={height:48,borderRadius:4},Q=({dispatch:C,setType:r,data:I,accountInfo:b,open:ae})=>{const[H]=i.default.useForm(),[X]=(0,ne.useSearchParams)(),A=(0,ne.useLocation)(),[V,D]=(0,t.useState)(!1),[be,W]=(0,t.useState)(""),$=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/;(0,t.useEffect)(()=>{D(ae)},[ae]);const z=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:y=>t.createElement("span",{className:y.indexOf("\u5F02\u5E38")>-1||y.indexOf("\u767B\u5F55")>-1?"c-red":"c-green"},y)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:y=>t.createElement("span",{className:y.indexOf("\u5F02\u5E38")>-1||y.indexOf("\u767B\u5F55")>-1?"c-red":"c-green"},y)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],k=[{real_name:"edutest01",student_id:"test0001",last_login_time:"2023-05-20 13:53:10",ip:"ip\u5730\u5740\u6B63\u5E38",browser:"\u6D4F\u89C8\u5668\u6B63\u5E38"}],Ee=()=>Be(void 0,null,function*(){yield H.validateFields();let y;if(b!=null&&b.code?y=yield(0,Y.Gq)(ke(ye(ke({},b),{phone:b==null?void 0:b.login}),H.getFieldValue())):y=yield(0,Y.Es)(ke(ke({},b),H.getFieldValue())),y.status){if(y.status===-4){C({type:"user/showPopLogin",payload:{showPopLogin:!1}}),C({type:"user/setBindAccountModal",payload:{bindAccountModalVisible:!0,userInfoForBindAccountModal:y.user,loginInfo:b}});return}W(y==null?void 0:y.message);return}if(D(!1),y!=null&&y.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",y==null?void 0:y.start_date)):localStorage.removeItem("extension-modal"),A.pathname==="/user/login"||A.pathname==="/login"){let T=X.get("form")||X.get("back_url");if(T)window.location.href=decodeURIComponent(T);else if(!$.test(b.password)&&!(b!=null&&b.code))h.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),window.location.href="/account/secure";else{window.location.href="/";return}}else if(!$.test(b.password)&&!(b!=null&&b.code))h.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),window.location.href="/account/secure?active=3",C({type:"user/showPopLogin",payload:{showPopLogin:!1}});else{window.location.reload();return}H.resetFields()}),l=()=>{C({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return t.createElement(M.default,{title:"\u767B\u5F55\u63D0\u793A",width:600,onOk:Ee,onCancel:()=>D(!1),centered:!0,keyboard:!1,closable:!1,maskClosable:!1,open:V},t.createElement("p",{className:"tc"},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002"),t.createElement("div",{className:"mt20"},t.createElement(c.default,{pagination:{hideOnSinglePage:!0},dataSource:I||[],columns:z})),t.createElement("div",{className:"mt20 mb20"},t.createElement(E.Z,{message:"\u8BF7\u76D1\u8003\u8001\u5E08\u8F93\u5165\u7684\u8003\u8BD5\u89E3\u9501\u7801\uFF0C\u6388\u6743\u5F53\u524D\u5B66\u751F\u767B\u5F55\u5E73\u53F0\u3002",type:"warning"})),t.createElement(i.default,{name:"global_state",autoComplete:"off",form:H},t.createElement(i.default.Item,{name:"unlock_key",label:"\u8003\u8BD5\u89E3\u9501\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u89E3\u9501\u7801"}]},t.createElement(n.default.Password,{autoComplete:"off"}))))};je.Z=(0,ne.connect)(({user:C,loading:r,globalSetting:I})=>({user:C,globalSetting:I,loading:r.models.index}))(Q)},59125:function(Yt,je,e){e.r(je),e.d(je,{default:function(){return ao}});var t=e(59301),i=e(92736),h=e(43418),M=e(81863),c=e(89070),E=e(78241),n=e(8591),Y=e(92832),ne=e(24905),m=e(3113),de=e(24780),p=e(99267),P=e(10269),Z={"login-panel-wrapper2":"login-panel-wrapper2___HuMNJ","ant-form-item-explain":"ant-form-item-explain___c1FeE","ant-form-item":"ant-form-item___qb60e","ant-form-item-with-help":"ant-form-item-with-help___NeAwJ","login-panel-right-wrp":"login-panel-right-wrp___vWD_i","res-error-values":"res-error-values___hV1lz",tabs:"tabs___EwOAX"},ee=Object.defineProperty,te=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Be=(G,me,ge)=>me in G?ee(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,Ae=(G,me)=>{for(var ge in me||(me={}))ke.call(me,ge)&&Be(G,ge,me[ge]);if(te)for(var ge of te(me))ye.call(me,ge)&&Be(G,ge,me[ge]);return G},Q=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const C={height:48,borderRadius:4},r=({dispatch:G,setType:me,user:ge,setusername:Bt})=>{const[At]=E.default.useForm(),[On]=(0,c.useSearchParams)(),bn=(0,c.useLocation)(),[kt,qe]=(0,t.useState)(""),[qt,Zr]=(0,t.useState)([]),[fr,Pr]=(0,t.useState)({}),[Hr,_t]=(0,t.useState)(!1),Qn=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,or=rr=>Q(void 0,null,function*(){_t(!1),Qn.test(rr.password)||Bt(rr.login),Pr(Ae({},rr));const pr=yield(0,de.Es)(rr);if(pr.status){if(pr.status===-4){G({type:"user/showPopLogin",payload:{showPopLogin:!1}}),G({type:"user/setBindAccountModal",payload:{bindAccountModalVisible:!0,userInfoForBindAccountModal:pr.user,loginInfo:rr}});return}else if(pr.status===-5){Zr([pr==null?void 0:pr.message]),_t(!0);return}qe(pr==null?void 0:pr.message);return}if(pr!=null&&pr.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",pr==null?void 0:pr.start_date)):localStorage.removeItem("extension-modal"),bn.pathname==="/user/login"||bn.pathname==="/login"){let St=On.get("form")||On.get("back_url");St?window.location.href=decodeURIComponent(St):(Qn.test(rr.password)||(n.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),yield new Promise(Wt=>setTimeout(Wt,300))),window.location.href="/")}else Qn.test(rr.password)||(n.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),yield new Promise(St=>setTimeout(St,300))),window.location.reload();At.resetFields()}),jr=()=>{G({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return t.createElement(t.Fragment,null,t.createElement(E.default,{layout:"vertical",form:At,initialValues:{autologin:!0,login:ge.actionTabs.phone},onFinish:or,onValuesChange:rr=>{qe("");const pr=/[\u4e00-\u9fa5]/g;if("password"in rr){const St=rr.password.replace(pr,"");At.setFieldsValue({password:St})}}},!!kt&&t.createElement("div",{className:Z["res-error-values"]},t.createElement("span",null,kt),t.createElement(p.Z,{onClick:()=>qe("")})),t.createElement(E.default.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u540D\u3001\u624B\u673A\u53F7\u6216\u90AE\u7BB1"}]},t.createElement(Y.default,{style:C,size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7",onBlur:()=>{G({type:"user/setActionTabs",payload:{phone:At.getFieldValue("login")}})}})),t.createElement(E.default.Item,{name:"password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"}]},t.createElement(Y.default.Password,{style:C,size:"middle",placeholder:"\u5BC6\u7801"})),t.createElement(E.default.Item,null,t.createElement("div",{className:"flex-container",style:{justifyContent:"space-between"}},t.createElement(E.default.Item,{name:"autologin",noStyle:!0,valuePropName:"checked"},t.createElement(ne.default,null,"\u4E0B\u6B21\u81EA\u52A8\u767B\u5F55")),t.createElement("div",null,t.createElement("span",{className:"current font14 c-blue",onClick:()=>me(4)},"\u627E\u56DE\u5BC6\u7801")))),t.createElement(E.default.Item,null,t.createElement(m.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,className:"font16",style:C},"\u767B\u5F55")),t.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:20}},"\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",t.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B"))),t.createElement(P.Z,{open:Hr,data:qt,accountInfo:Ae({},fr)}))};var I=(0,c.connect)(({user:G,loading:me,globalSetting:ge})=>({user:G,globalSetting:ge,loading:me.models.index}))(r),b=e(955),ae=e(1011),H=e(59301),X=Object.defineProperty,A=Object.defineProperties,V=Object.getOwnPropertyDescriptors,D=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,$=(G,me,ge)=>me in G?X(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,z=(G,me)=>{for(var ge in me||(me={}))be.call(me,ge)&&$(G,ge,me[ge]);if(D)for(var ge of D(me))W.call(me,ge)&&$(G,ge,me[ge]);return G},k=(G,me)=>A(G,V(me)),Ee=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const l={height:48,borderRadius:4},y=/(^(1[0-9])\d{9}$)/i,T={timer:0};var R=(G=>(G[G.setTimer=0]="setTimer",G))(R||{});function F(G,me){switch(me.type){case 0:return k(z({},G),{timer:me.payload});default:throw new Error}}const U=({user:G,dispatch:me,validateName:ge,getCode:Bt,register:At,style:On={},buttonText:bn="\u6CE8\u518C",globalSetting:kt})=>{var qe;const[qt]=E.default.useForm(),[Zr,fr]=(0,t.useReducer)(F,T),[Pr,Hr]=(0,t.useState)(!1),{timer:_t}=Zr,[Qn,or]=(0,t.useState)(!1),[jr,rr]=(0,t.useState)(!1),[pr,St]=(0,t.useState)([]),[Wt,Ht]=(0,t.useState)(""),[kn,ur]=(0,t.useState)({}),[to,io]=(0,t.useState)(!1);function Eo(Wr){return Ee(this,null,function*(){rr(!1),ur(z({},Wr));const{login:Jr,password:Do,code:Ko}=Wr,So=yield At({login:Jr,code:Ko});if(Ht(So==null?void 0:So.message),So.status===-4){me({type:"user/showPopLogin",payload:{showPopLogin:!1}}),me({type:"user/setBindAccountModal",payload:{bindAccountModalVisible:!0,userInfoForBindAccountModal:So.user,loginInfo:Wr}});return}else if(So.status===-5){St([So==null?void 0:So.message]),rr(!0);return}else if((So==null?void 0:So.status)<0){qt.setFields([{name:"code",errors:[So==null?void 0:So.message]}]);return}(So==null?void 0:So.status)>=0&&window.location.reload()})}function Mo(){return Ee(this,null,function*(){let Wr=qt.getFieldValue("login"),Jr=0;if(!y.test(Wr)||Wr.indexOf(" ")>-1)return qt.setFields([{name:"login",errors:["\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"]}]),Jr=1,Jr;let{status:Do,message:Ko}=yield ge({login:Wr,type:1});return Do<0?Jr=2:(qt.setFields([{name:"login",errors:["\u8BE5\u624B\u673A\u53F7\u7801\u4E0D\u5B58\u5728\uFF0C\u8BF7\u5148\u6CE8\u518C"]}]),Jr=1),Jr})}const Go=()=>Ee(void 0,null,function*(){const Wr=qt.getFieldValue("login");if(!y.test(Wr))qt.validateFields(["login"]);else{let Jr=yield ge({login:Wr,type:1});if((Jr==null?void 0:Jr.status)>0){qt.setFields([{name:"login",errors:["\u8BE5\u624B\u673A\u53F7\u7801\u4E0D\u5B58\u5728\uFF0C\u8BF7\u5148\u6CE8\u518C"]}]);return}Hr(!0);const{status:Do,message:Ko}=yield Bt({login:Wr,type:6,smscode:(0,b.M)(Wr)});Do<0&&qt.setFields([{name:"code",errors:[Ko]}]),fr({type:0,payload:60}),Hr(!1)}});function Xo(Wr,Jr){if(!Jr)return Promise.resolve();if(Jr.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C");const Do=Jr.length;return Do>=8&&Do<=16?Promise.resolve():Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C")}const ia=(Wr,Jr)=>Jr?Promise.resolve():Promise.reject("\u8BF7\u62D6\u52A8\u6ED1\u5757\u9A8C\u8BC1");(0,t.useEffect)(()=>{_t>0&&setTimeout(()=>{fr({type:0,payload:_t-1})},1e3)},[_t]);const xo=(Wr,Jr)=>Jr?Jr.indexOf(" ")>-1?Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"):y.test(Jr)?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"):Promise.resolve();return H.createElement(H.Fragment,null,H.createElement(E.default,{layout:"vertical",form:qt,style:On,initialValues:{autologin:!0,protool:!1,login:G.actionTabs.phone},onFinish:Eo},H.createElement(E.default.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"},{validator:xo}]},H.createElement(Y.default,{style:l,autoComplete:"new-login",size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7",maxLength:11,onBlur:()=>{Mo(),me({type:"user/setActionTabs",payload:{phone:qt.getFieldValue("login")}})},onChange:()=>qt.setFieldsValue({verify:0})})),!((qe=kt==null?void 0:kt.setting)!=null&&qe.is_local)&&H.createElement(E.default.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},H.createElement(Y.default,{suffix:H.createElement(m.ZP,{loading:Pr,type:"link",onClick:Wr=>{Wr.stopPropagation();const Jr=qt.getFieldValue("login");if(!y.test(Jr)){qt.validateFields(["login"]);return}io(!0)},disabled:_t>0||Qn}," ",_t===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`${_t}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`),style:{paddingRight:2,height:48},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"})),H.createElement(E.default.Item,null,H.createElement("div",{className:"flex-container",style:{justifyContent:"space-between"}},H.createElement(E.default.Item,{name:"autologin",noStyle:!0,valuePropName:"checked"},H.createElement(ne.default,null,"\u4E0B\u6B21\u81EA\u52A8\u767B\u5F55")))),H.createElement(E.default.Item,null,H.createElement(m.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:l,className:"font16"}," ",bn," ")),H.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:20}},"\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",H.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B"))),H.createElement(P.Z,{open:jr,data:pr,accountInfo:z({},kn)}),H.createElement(ae.Z,{ModalProps:{open:to,onCancel:()=>{io(!1)}},onFinish:()=>{io(!1),Go()}}))};var ce=(0,c.connect)(({globalSetting:G,user:me})=>({globalSetting:G,user:me}))(U),Qe=e(6848),Re=e(59301),Ve=Object.defineProperty,vt=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,v=(G,me,ge)=>me in G?Ve(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,S=(G,me)=>{for(var ge in me||(me={}))Oe.call(me,ge)&&v(G,ge,me[ge]);if(mt)for(var ge of mt(me))_e.call(me,ge)&&v(G,ge,me[ge]);return G},g=(G,me)=>vt(G,xt(me)),o=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const L={height:48},le=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,f=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,s={timer:0};var _=(G=>(G[G.setTimer=0]="setTimer",G))(_||{});function N(G,me){switch(me.type){case 0:return g(S({},G),{timer:me.payload});default:throw new Error}}const B=({validateName:G,getCode:me,register:ge,style:Bt={},buttonText:At="\u6CE8\u518C",globalSetting:On})=>{var bn;const[kt]=E.default.useForm(),[qe,qt]=(0,t.useReducer)(N,s),[Zr,fr]=(0,t.useState)(!1),{timer:Pr}=qe,[Hr,_t]=(0,t.useState)(!1);function Qn(Wt){return o(this,null,function*(){const{login:Ht,password:kn,code:ur}=Wt,{message:to,status:io}=yield ge({login:Ht,password:kn,code:ur});if(io<0){kt.setFields([{name:"code",errors:[to]}]);return}window.location.reload()})}function or(){return o(this,null,function*(){let Wt=kt.getFieldValue("login"),Ht=0;if(!le.test(Wt)||Wt.indexOf(" ")>-1)return kt.setFields([{name:"login",errors:["\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"]}]),Ht=1,Ht;let{status:kn,message:ur}=yield G({login:Wt,type:1});return kn>0?Ht=2:(kt.setFields([{name:"login",errors:[ur]}]),Ht=1),Ht})}const jr=()=>o(void 0,null,function*(){fr(!0);const Wt=kt.getFieldValue("verify"),Ht=kt.getFieldValue("login");if(!Ht)kt.validateFields(["login"]);else{const kn=yield G({login:Ht,type:1});if((kn==null?void 0:kn.status)!==1){kt.setFields([{name:"login",errors:[kn==null?void 0:kn.message]}]);return}const{status:ur,message:to}=yield me({login:Ht,type:1,smscode:(0,b.M)(Ht)});ur<0&&kt.setFields([{name:"code",errors:[to]}]),qt({type:0,payload:60})}fr(!1)});function rr(Wt,Ht){if(!Ht)return Promise.resolve();if(!f.test(Ht))return Promise.reject("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD");if(Ht.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C");const kn=Ht.length;return kn>=8&&kn<=16?Promise.resolve():Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C")}const pr=(Wt,Ht)=>Ht?Promise.resolve():Promise.reject("\u8BF7\u62D6\u52A8\u6ED1\u5757\u9A8C\u8BC1");(0,t.useEffect)(()=>{Pr>0&&setTimeout(()=>{qt({type:0,payload:Pr-1})},1e3)},[Pr]);const St=(Wt,Ht)=>Ht?Ht.indexOf(" ")>-1?Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):le.test(Ht)?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Promise.resolve();return Re.createElement(Re.Fragment,null,Re.createElement(E.default,{layout:"vertical",form:kt,style:Bt,initialValues:{autologin:!0,protool:!1},onFinish:Qn},Re.createElement(E.default.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"},{validator:St}]},Re.createElement(Y.default,{style:L,autoComplete:"new-login",size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7",onBlur:()=>or,onChange:()=>kt.setFieldsValue({verify:0})})),!((bn=On==null?void 0:On.setting)!=null&&bn.is_local)&&Re.createElement(E.default.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},Re.createElement(Y.default,{suffix:Re.createElement(m.ZP,{loading:Zr,type:"link",onClick:Wt=>{if(Wt.stopPropagation(),!kt.getFieldValue("login")){kt.validateFields(["login"]);return}_t(!0)},disabled:Pr>0}," ",Pr===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`${Pr}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`),style:{paddingRight:2,height:48},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"})),Re.createElement(Qe.Z,{title:Re.createElement("div",null,Re.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),Re.createElement("br",null),Re.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),Re.createElement("br",null),Re.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},Re.createElement(E.default.Item,{name:"password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"},{validator:rr}]},Re.createElement(Y.default.Password,{autoComplete:"new-password",style:L,size:"middle",placeholder:"\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"}))),Re.createElement(E.default.Item,null,Re.createElement(m.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:L,className:"font16"}," ",At," ")),Re.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:35}},"\u6CE8\u518C\u5E76\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",Re.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B"))),Re.createElement(ae.Z,{ModalProps:{open:Hr,onCancel:()=>{_t(!1)}},onFinish:()=>{_t(!1),jr()}}))};var J=(0,c.connect)(({globalSetting:G})=>({globalSetting:G}))(B),De=e(89392),ie=e(59301),Le=Object.defineProperty,Pe=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,Je=(G,me,ge)=>me in G?Le(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,wt=(G,me)=>{for(var ge in me||(me={}))ut.call(me,ge)&&Je(G,ge,me[ge]);if(Me)for(var ge of Me(me))ht.call(me,ge)&&Je(G,ge,me[ge]);return G},Nt=(G,me)=>Pe(G,Fe(me)),Kt=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const Rt={height:48},gn=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,Pn=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,Sn={timer:0};var Tn=(G=>(G[G.setTimer=0]="setTimer",G))(Tn||{});function Yn(G,me){switch(me.type){case 0:return Nt(wt({},G),{timer:me.payload});default:throw new Error}}const pn=({validateName:G,getCode:me,register:ge,style:Bt={},buttonText:At="\u6CE8\u518C",globalSetting:On})=>{var bn;const[kt]=E.default.useForm(),[qe,qt]=(0,t.useReducer)(Yn,Sn),[Zr,fr]=(0,t.useState)(!1),{timer:Pr}=qe,[Hr,_t]=(0,t.useState)(!1);function Qn(Wt){return Kt(this,null,function*(){const{login:Ht,new_password:kn,code:ur}=Wt,{message:to,status:io}=yield ge({login:Ht,new_password:kn,code:ur});if(io<0){kt.setFields([{name:"code",errors:[to]}]);return}location.reload()})}function or(){return Kt(this,null,function*(){let Wt=kt.getFieldValue("login"),Ht=0;if(!gn.test(Wt)||Wt.indexOf(" ")>-1)return kt.setFields([{name:"login",errors:["\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"]}]),Ht=1,Ht;let{status:kn,message:ur}=yield G({login:Wt,type:2});return kn>0?Ht=2:(kt.setFields([{name:"login",errors:[ur]}]),Ht=1),Ht})}const jr=()=>Kt(void 0,null,function*(){const Wt=kt.getFieldValue("verify"),Ht=kt.getFieldValue("login");if(yield kt.validateFields(["login"]),!Ht)kt.validateFields(["login"]);else{fr(!0);const{status:kn,message:ur}=yield me({login:Ht,type:2,smscode:(0,b.M)(Ht)});kn<0&&kt.setFields([{name:"code",errors:[ur]}]),qt({type:0,payload:60}),fr(!1)}});function rr(Wt,Ht){if(!Ht)return Promise.resolve();if(!Pn.test(Ht))return Promise.reject("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD");if(Ht.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C");const kn=Ht.length;return kn>=8&&kn<=16?Promise.resolve():Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C")}const pr=(Wt,Ht)=>Ht?Promise.resolve():Promise.reject("\u8BF7\u62D6\u52A8\u6ED1\u5757\u9A8C\u8BC1");(0,t.useEffect)(()=>{Pr>0&&setTimeout(()=>{qt({type:0,payload:Pr-1})},1e3)},[Pr]);const St=(Wt,Ht)=>Kt(void 0,null,function*(){if(!Ht)return Promise.resolve();if(Ht.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1");if(gn.test(Ht)){let{status:kn,message:ur}=yield G({login:Ht,type:2});return kn>0?Promise.resolve():Promise.reject(ur)}else return Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1")});return ie.createElement(ie.Fragment,null,ie.createElement(E.default,{layout:"vertical",form:kt,style:Bt,initialValues:{autologin:!0,protool:!1},onFinish:(0,De.throttle)(Qn,2e3)},ie.createElement(E.default.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"},{validator:(0,De.throttle)(St,400)}]},ie.createElement(Y.default,{style:Rt,autoComplete:"new-login",size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7",onChange:()=>kt.setFieldsValue({verify:0})})),ie.createElement(Qe.Z,{title:ie.createElement("div",null,ie.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),ie.createElement("br",null),ie.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),ie.createElement("br",null),ie.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},ie.createElement(E.default.Item,{name:"new_password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"},{validator:rr}]},ie.createElement(Y.default.Password,{autoComplete:"new-password",style:Rt,size:"middle",placeholder:"\u8F93\u51658\uFF5E16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}))),!((bn=On==null?void 0:On.setting)!=null&&bn.is_local)&&ie.createElement(E.default.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},ie.createElement(Y.default,{suffix:ie.createElement(m.ZP,{loading:Zr,type:"link",onClick:Wt=>{if(Wt.stopPropagation(),!kt.getFieldValue("login")){kt.validateFields(["login"]);return}_t(!0)},disabled:Pr>0}," ",Pr===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`${Pr}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`),style:{paddingRight:2,height:48},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"})),ie.createElement(E.default.Item,null,ie.createElement(m.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:Rt,className:"font16"}," ",At," ")),ie.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:20}},"\u4FEE\u6539\u5E76\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",ie.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B"))),ie.createElement(ae.Z,{ModalProps:{open:Hr,onCancel:()=>{_t(!1)}},onFinish:()=>{_t(!1),jr()}}))};var Tt=(0,c.connect)(({globalSetting:G})=>({globalSetting:G}))(pn),xn=Object.defineProperty,Gn=Object.getOwnPropertySymbols,Gt=Object.prototype.hasOwnProperty,zn=Object.prototype.propertyIsEnumerable,tr=(G,me,ge)=>me in G?xn(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,Jn=(G,me)=>{for(var ge in me||(me={}))Gt.call(me,ge)&&tr(G,ge,me[ge]);if(Gn)for(var ge of Gn(me))zn.call(me,ge)&&tr(G,ge,me[ge]);return G};const Wn=G=>React.createElement("svg",Jn({id:"wechat_svg__\\u56FE\\u5C42_1",xmlns:"http://www.w3.org/2000/svg",x:0,y:0,viewBox:"0 0 66 66",style:{enableBackground:"new 0 0 66 66"},xmlSpace:"preserve"},G),React.createElement("style",null,".wechat_svg__st1{fill:#00b913}"),React.createElement("g",{id:"wechat_svg__\\u9875\\u9762-1"},React.createElement("g",{id:"wechat_svg__\\u767B\\u5F55_x2F_\\u6CE8\\u518C",transform:"translate(-1081 -380)"},React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4-18\\u5907\\u4EFD",transform:"translate(1063 238)"},React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4-12",transform:"translate(18 142)"},React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4-10"},React.createElement("circle",{id:"wechat_svg__\\u692D\\u5706\\u5F62",cx:33,cy:33,r:33,style:{fillRule:"evenodd",clipRule:"evenodd",fill:"#c6f4c9"}}),React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4",transform:"translate(12 15.429)"},React.createElement("path",{id:"wechat_svg__\\u8DEF\\u5F84",className:"wechat_svg__st1",d:"M16.3 22.8c0-6.6 6-12.1 13.7-12.1h.4C29.1 4.6 22.7 0 15.4 0 7.2 0 .4 5.8.4 13.1c0 4.3 2.2 7.7 6 10.5l-1.5 4.7 5.2-2.7c1.7.4 3.5.7 5.3.8.5 0 .9 0 1.4-.1l.1-.1c-.4-1.1-.6-2.3-.6-3.4z"}),React.createElement("path",{id:"wechat_svg__\\u8DEF\\u5F84_1_",className:"wechat_svg__st1",d:"M42.4 22.4c0-6.2-5.8-11.2-12.4-11.2-7 0-12.4 5.1-12.4 11.2S23.1 33.6 30 33.6c1.5-.1 3-.3 4.4-.8l4 2.3-1-3.8c2.8-2.3 5-5.5 5-8.9z"}),React.createElement("path",{id:"wechat_svg__\\u5F62\\u72B6",d:"M21.6 6c1-.1 1.8.7 1.9 1.7V8c.1 1-.7 1.9-1.6 2h-.2c-1.1.1-2.1-.8-2.2-2 0-1.2 1-2.1 2.1-2zM11.2 9.9C10.1 10 9.1 9.2 9 8c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getOwnPropertySymbols,sr=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,Nn=(G,me,ge)=>me in G?Or(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,se=(G,me)=>{for(var ge in me||(me={}))sr.call(me,ge)&&Nn(G,ge,me[ge]);if(Ln)for(var ge of Ln(me))nn.call(me,ge)&&Nn(G,ge,me[ge]);return G};const d=G=>React.createElement("svg",se({className:"QQUrl_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},G),React.createElement("path",{d:"M512 0C229.356 0 0 229.356 0 512s229.356 512 512 512 512-229.356 512-512S794.644 0 512 0zm235.75 647.603c-10.7 5.417-27.417-6.963-43.34-30.157-6.267 25.262-21.673 47.95-43.607 66.253 23.244 8.505 38.123 22.17 38.123 37.898 0 25.519-40.99 46.403-91.387 46.403-45.43 0-83.287-17.014-90.076-38.927h-10.967C499.446 751.243 461.85 768 416.42 768c-50.396 0-91.387-20.623-91.387-46.403 0-15.728 15.145-29.388 38.118-37.898-21.929-18.304-37.596-41.252-43.602-66.253-15.667 23.194-32.634 35.83-43.34 30.157-15.668-7.987-12.534-51.046 7.05-96.159 15.145-35.317 36.03-61.614 51.697-67.287-.262-2.319-.262-4.638-.262-6.707 0-13.66 3.917-26.291 10.445-36.608v-2.314c0-6.19 1.567-12.119 4.178-17.275C353.23 329.216 414.07 256 512.241 256s159.006 73.216 162.923 165.253a38.374 38.374 0 0 1 4.178 17.275v2.32c6.528 10.311 10.445 22.942 10.445 36.607 0 2.32 0 4.64-.261 6.702 15.923 5.673 36.557 31.97 51.696 67.287 19.062 45.118 22.196 88.167 6.528 96.16z",fill:"#378AFE"}));var w="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9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4IDE3LjI3NXYyLjMyYzYuNTI4IDEwLjMxMSAxMC40NDUgMjIuOTQyIDEwLjQ0NSAzNi42MDcgMCAyLjMyIDAgNC42NC0uMjYxIDYuNzAyIDE1LjkyMyA1LjY3MyAzNi41NTcgMzEuOTcgNTEuNjk2IDY3LjI4NyAxOS4wNjIgNDUuMTE4IDIyLjE5NiA4OC4xNjcgNi41MjggOTYuMTZ6IiBmaWxsPSIjMzc4QUZFIi8+PC9zdmc+",x={"other-login":"other-login___Jd48Z","btn-link":"btn-link___MhTA6","wechat-qrcode":"wechat-qrcode___bLWkh",driver:"driver___IuicK"},O=e(3294),re=e(59301);const Se=window.location.host,Ye=O.Z.QQLoginCB;var We=({onWechatLogin:G,setType:me,loginType:ge})=>{function Bt(){let At="";return(0,b.b9)()?At=`https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=${Ye}%2fotherloginqq&state=null,${Se}&response_type=code`:At=`https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=${Ye}%2fotherloginqq&state=null,${Se}&response_type=code`,At}return re.createElement(re.Fragment,null,(ge===1||ge===2)&&re.createElement("div",{style:{marginTop:(0,b.WX)()?192:92,marginBottom:60},className:"font16 tc"},"\u6CA1\u6709\u8D26\u53F7\uFF1F",re.createElement("span",{onClick:()=>me(3),className:"c-blue current"},"\u514D\u8D39\u6CE8\u518C")),(ge===3||ge===4||ge===5)&&re.createElement("div",{style:{marginTop:(0,b.WX)()?192:92,marginBottom:60},className:"font16 tc"},"\u5DF2\u6709\u8D26\u53F7\uFF1F",re.createElement("span",{onClick:()=>me(1),className:"c-blue current"},"\u7ACB\u5373\u767B\u5F55")),!(0,b.WX)()&&re.createElement(re.Fragment,null,re.createElement("p",{className:x.driver},re.createElement("span",{style:{color:"#444444"}},"\u5FEB\u901F\u767B\u5F55")),re.createElement("div",{className:x["other-login"]},(0,b.s2)()&&(0,b.IS)()&&re.createElement("a",{title:"\u5FAE\u4FE1\u767B\u5F55",style:{margin:0},onClick:G},re.createElement("img",{src:br,alt:"\u5FAE\u4FE1",width:66})),(0,b.s2)()&&!(0,b.IS)()&&re.createElement("a",{title:"qq\u767B\u5F55",rel:"noreferrer noopener nofollow",style:{margin:0},href:Bt()},re.createElement("img",{src:w,alt:"QQ",width:66})),(0,b.b9)()&&re.createElement(re.Fragment,null,re.createElement("a",{title:"\u5FAE\u4FE1\u767B\u5F55",style:{marginRight:(0,b.IS)()?0:40},onClick:G},re.createElement("img",{src:br,alt:"\u5FAE\u4FE1",width:66})),!(0,b.IS)()&&re.createElement("a",{title:"qq\u767B\u5F55",href:Bt()},re.createElement("img",{src:w,alt:"QQ",width:66}))))))};function it({onBack:G,setType:me}){return re.createElement(re.Fragment,null,re.createElement("div",{style:{overflow:"hidden",width:300,height:300,margin:"20px auto 0 auto"}},re.createElement("iframe",{className:x["wechat-qrcode"],frameBorder:"0",sandbox:"allow-scripts allow-same-origin allow-top-navigation",scrolling:"no",src:`https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=${Ye}%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,${Se}#wechat_redirect`})),re.createElement("div",{style:{marginTop:17,marginBottom:10},className:"font16 bold tc c-blue current"},re.createElement("span",{onClick:()=>me(1),style:{borderBottom:"2px solid #0152d9"}},"\u8FD4\u56DE\u8D26\u53F7\u767B\u5F55")),re.createElement("div",{className:"tc",style:{paddingTop:14,paddingBottom:40}},"\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",re.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B")))}var et=Object.defineProperty,oe=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,ct=(G,me,ge)=>me in G?et(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,lt=(G,me)=>{for(var ge in me||(me={}))pe.call(me,ge)&&ct(G,ge,me[ge]);if(xe)for(var ge of xe(me))Ne.call(me,ge)&&ct(G,ge,me[ge]);return G},dt=(G,me)=>oe(G,ve(me)),ft=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const rt={height:48},at=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,ue=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,we={timer:0};var Te=(G=>(G[G.setTimer=0]="setTimer",G))(Te||{});function Ue(G,me){switch(me.type){case 0:return dt(lt({},G),{timer:me.payload});default:throw new Error}}const ze=({validateName:G,getCode:me,register:ge,style:Bt={},buttonText:At="\u6CE8\u518C",globalSetting:On})=>{const[bn]=E.default.useForm(),[kt,qe]=(0,t.useReducer)(Ue,we),[qt,Zr]=(0,t.useState)(!1),{timer:fr}=kt;function Pr(_t){return ft(this,null,function*(){const{old_password:Qn,newPassword:or}=_t,{message:jr,status:rr}=yield ge({old_password:Qn,newPassword:or});if(rr<0){bn.setFields([{name:"code",errors:[jr]}]);return}})}const Hr=(_t,Qn,or)=>{Qn?Qn.indexOf(" ")>-1?or("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"):Qn.length<8||Qn.length>16?or("\u8BF7\u8F93\u51658-16\u4F4D\u5B57\u7B26\u7684\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\uFF01"):ue.test(Qn)?or():or("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"):or("\u8BF7\u8F93\u51658-16\u4F4D\u5B57\u7B26\u7684\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\uFF01")};return(0,t.useEffect)(()=>{fr>0&&setTimeout(()=>{qe({type:0,payload:fr-1})},1e3)},[fr]),t.createElement(E.default,{layout:"vertical",form:bn,style:Bt,initialValues:{autologin:!0,protool:!1},onFinish:Pr},t.createElement(E.default.Item,{name:"old_password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}]},t.createElement(Y.default,{style:rt,autoComplete:"new-login",size:"middle",type:"password",placeholder:"\u8BF7\u8F93\u5165\u65E7\u5BC6\u7801",onChange:()=>bn.setFieldsValue({verify:0})})),t.createElement(Qe.Z,{title:t.createElement("div",null,t.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),t.createElement("br",null),t.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),t.createElement("br",null),t.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},t.createElement(E.default.Item,{name:"newPassword",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"},{validator:Hr}]},t.createElement(Y.default.Password,{autoComplete:"new-password",style:rt,size:"middle",placeholder:"\u8F93\u51658\uFF5E16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}))),t.createElement(Qe.Z,{title:t.createElement("div",null,t.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),t.createElement("br",null),t.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),t.createElement("br",null),t.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},t.createElement(E.default.Item,{name:"againPassword",rules:[{required:!0,message:"\u8BF7\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801"},{validator:(_t,Qn,or)=>{Qn!=bn.getFieldsValue().newPassword?or("\u4E24\u6B21\u8F93\u5165\u7684\u65B0\u5BC6\u7801\u5FC5\u987B\u4E00\u81F4\uFF01"):or()}}]},t.createElement(Y.default.Password,{autoComplete:"new-password",style:rt,size:"middle",placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801"}))),t.createElement(E.default.Item,null,t.createElement(m.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:rt,className:"font16"}," ",At," ")),t.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:20}},"\u4FEE\u6539\u5E76\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",t.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B")))};var tt=(0,c.connect)(({globalSetting:G})=>({globalSetting:G}))(ze),Ge=e(99313),gt=e(95237),yt=e(43604),bt=e(59301),Qt=Object.defineProperty,$t=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,Xe=(G,me,ge)=>me in G?Qt(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,Pt=(G,me)=>{for(var ge in me||(me={}))ln.call(me,ge)&&Xe(G,ge,me[ge]);if($t)for(var ge of $t(me))Et.call(me,ge)&&Xe(G,ge,me[ge]);return G},Jt=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const{TabPane:Ut}=Ge.default;var Vt=({dispatch:G,is_main_site:me,is_local:ge,style:Bt={}})=>{const[At,On]=(0,t.useState)(!1),[bn,kt]=(0,t.useState)("1"),[qe,qt]=(0,t.useState)(1),[Zr,fr]=(0,t.useState)();function Pr(){qt(1),On(!1)}function Hr(){if((0,b.s2)()||(0,b.IS)()){(0,b.Or)();return}qt(2),On(!0)}function _t(St){console.log(St),kt(St)}const Qn={buttonText:"\u767B \u5F55",validateName:de.Ol,getCode:de.o1,register:St=>Jt(void 0,null,function*(){const Wt=yield(0,de.Gq)({phone:St.login,code:St.code});return Wt.status===0?(Wt!=null&&Wt.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",Wt==null?void 0:Wt.start_date)):localStorage.removeItem("extension-modal"),window.location.reload(),"/"):Wt})},or={buttonText:"\u6CE8\u518C\u5E76\u767B\u5F55",validateName:de.Ol,getCode:de.o1,register:St=>Jt(void 0,null,function*(){const Wt=yield(0,de.z2)(Pt({},St));return Wt.status===0?(localStorage.getItem("addinfo")==="1"?localStorage.setItem("addinfo","2"):localStorage.setItem("registeruser","1"),localStorage.removeItem("extension-modal"),n.ZP.info("\u6CE8\u518C\u5E76\u767B\u9646\u6210\u529F"),"/"):Wt})},jr={buttonText:"\u4FEE\u6539\u5BC6\u7801",validateName:de.Ol,getCode:de.o1,register:St=>Jt(void 0,null,function*(){const Wt=yield(0,de.Ex)(Pt({login:Zr},St));return n.ZP.info("\u4FEE\u6539\u5BC6\u7801\u6210\u529F"),Wt})},rr={buttonText:"\u4FEE\u6539\u5E76\u767B\u5F55",validateName:de.Ol,getCode:de.o1,register:St=>Jt(void 0,null,function*(){return new Promise(Wt=>Jt(void 0,null,function*(){St.new_password_confirmation=St.new_password;const Ht=yield(0,de.c0)(Pt({},St));return Ht.status===0?(Ht!=null&&Ht.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",Ht==null?void 0:Ht.start_date)):localStorage.removeItem("extension-modal"),n.ZP.info("\u4FEE\u6539\u6210\u529F"),Wt("/"),"/"):(Wt(Ht),Ht)}))})},pr=(0,t.useCallback)(()=>{switch(qe){case 1:return bt.createElement(Ge.default,{defaultActiveKey:bn,onChange:_t,className:Z.tabs},bt.createElement(Ut,{tab:"\u8D26\u53F7\u767B\u5F55",key:"1"},bt.createElement("div",{className:"mt20"},bn==="1"&&bt.createElement(I,{setusername:fr,setType:qt}))),bt.createElement(Ut,{tab:"\u9A8C\u8BC1\u7801\u767B\u5F55",key:"2"},bt.createElement("div",{className:"mt20"},bn==="2"&&bt.createElement(ce,Pt({},Qn)))));case 2:return bt.createElement(it,{setType:qt,onBack:Pr});case 3:return bt.createElement("div",{className:"ml40"},bt.createElement("h1",{className:"font18 mb20 mt35"},"\u65B0\u7528\u6237\u6CE8\u518C"),bt.createElement(J,Pt({},or)));case 4:return bt.createElement("div",{className:"ml40"},bt.createElement("h1",{className:"font18 mb20 mt35"},"\u627E\u56DE\u5BC6\u7801"),bt.createElement(Tt,Pt({},rr)));case 5:return bt.createElement("div",{className:"ml40"},bt.createElement("h1",{className:"font18 mb20 mt35"},"\u4FEE\u6539\u5BC6\u7801"),bt.createElement(tt,Pt({},jr)))}},[qe,bn]);return bt.createElement("div",{className:Z["login-panel-wrapper2"],style:Bt},bt.createElement(gt.Z,null,bt.createElement(yt.Z,{flex:"1"},pr()),bt.createElement(yt.Z,{flex:"295px",className:Z["login-panel-right-wrp"]},!ge&&bt.createElement(We,{loginType:qe,setType:qt,onWechatLogin:Hr}))))},Ot={popLogin:"popLogin___R8wQQ"};const sn=({user:G,globalSetting:me,loading:ge,dispatch:Bt})=>{var At,On;const bn=()=>{Bt({type:"user/showPopLogin",payload:{showPopLogin:!1,showClosable:!1}})},kt=(At=me.setting)==null?void 0:At.main_site,qe=(On=me.setting)==null?void 0:On.is_local;return t.createElement(h.default,{centered:!0,open:G.showPopLogin,footer:null,width:qe?420:765,keyboard:!1,maskClosable:!1,wrapClassName:Ot.popLogin,closable:G.showClosable,onCancel:bn},G.showPopLogin&&t.createElement(Vt,{is_main_site:kt,is_local:qe}))};var Xt=(0,c.connect)(({user:G,loading:me,globalSetting:ge})=>({user:G,globalSetting:ge,loading:me.models.index}))(sn),An=e(57809),Mn=e(88522),nt=e(99064),Ft={modalWrap:"modalWrap___bBTZj",formWrap:"formWrap___aTC2c",staffWrap:"staffWrap___Vt2Lh"},zt=e(29831),en=e(75694),Cn=e(63454),yn=Object.defineProperty,wn=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,Zn=(G,me,ge)=>me in G?yn(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,Cr=(G,me)=>{for(var ge in me||(me={}))cn.call(me,ge)&&Zn(G,ge,me[ge]);if(wn)for(var ge of wn(me))Rn.call(me,ge)&&Zn(G,ge,me[ge]);return G},rn=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const jt=({user:G,account:me,globalSetting:ge,loading:Bt,dispatch:At})=>{const[On]=E.default.useForm(),bn=An.default.Option,kt=20,[qe,qt]=(0,t.useState)({}),[Zr,fr]=(0,t.useState)(""),[Pr,Hr]=(0,t.useState)(!0),[_t,Qn]=(0,t.useState)([]),[or,jr]=(0,t.useState)(!1),[rr,pr]=(0,t.useState)(!1),[St]=E.default.useForm(),[Wt,Ht]=(0,t.useState)(!1),[kn,ur]=(0,t.useState)(!1),to=(0,t.useRef)((0,De.throttle)(xo=>Mo(xo),1200,{leading:!0,trailing:!0})).current,io=()=>{const xo={identity:"",name:"",school_id:"",staff_id:"",student_id:"",technical_title:""};On.setFieldsValue(Cr({},xo)),qt(Cr({},xo))},Eo=()=>{io(),G.backurl&&G.isCurrentPage&&c.history.replace(G.backurl),At({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!1,showClosable:!1,backurl:"",isCurrentPage:!1}})};(0,t.useEffect)(()=>{!Pr&&qe.school&&!_t.find(xo=>xo.name===qe.school)?fr("error"):fr("")},[Pr,qe.school,_t]);const Mo=xo=>rn(void 0,null,function*(){Hr(!0);const Wr=yield At({type:"account/getSchoolOption",payload:{keyword:xo,limit:99999,display_aliases:!0}});Qn(Wr==null?void 0:Wr.schools),Hr(!1)}),Go=xo=>{var Wr,Jr,Do,Ko;if(xo==="number")return qe.identity==="teacher"?`${(Wr=ge==null?void 0:ge.setting)==null?void 0:Wr.homepage_tea_qq_number}`:`${(Jr=ge==null?void 0:ge.setting)==null?void 0:Jr.homepage_stu_qq_number}`;if(xo==="code")return qe.identity==="teacher"?`${O.Z.IMG_SERVER}/${(Do=ge==null?void 0:ge.setting)==null?void 0:Do.homepage_tea_qq_qrcode_url}`:`${O.Z.IMG_SERVER}/${(Ko=ge==null?void 0:ge.setting)==null?void 0:Ko.homepage_stu_qq_qrcode_url}`},Xo=xo=>{qt(Cr({},On.getFieldsValue()))},ia=xo=>rn(void 0,null,function*(){var Wr,Jr,Do;jr(!0);const{name:Ko,identity:So,studentNo:ma,jobTitle:sa,manager:Vr,staff_id:yo,school:Uo}=xo,go=(Wr=_t.find(_r=>_r.name===Uo))==null?void 0:Wr.id;if(!go){h.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:t.createElement("div",{style:{textAlign:"center"}},t.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",Go("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),t.createElement("img",{src:Go("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}const lo=yield At({type:"account/updateAccount",payload:{id:(Jr=G==null?void 0:G.userInfo)==null?void 0:Jr.user_id,identity:So,name:Ko,school_id:go,staff_id:yo,student_id:So==="student"?ma:null,technical_title:sa||Vr}});(lo==null?void 0:lo.status)!==-1&&(lo&&(n.ZP.info("\u4FDD\u5B58\u6210\u529F"),(Do=me.basicInfo)!=null&&Do.base_info_completed||At({type:"user/getUserInfo"})),jr(!1),io(),lo&&(G.isCurrentPage?G.backurl?location.reload():ur(!0):G.backurl&&(0,b.xg)(G.backurl)),At({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!1,showClosable:!1,backurl:"",isCurrentPage:!1}}))});return t.createElement(t.Fragment,null,t.createElement(h.default,{centered:!0,open:G.showUpdateProfilePanel,title:"\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599",width:800,keyboard:!1,maskClosable:!1,wrapClassName:Ft.modalWrap,closable:G.showClosable,onCancel:Eo,onOk:()=>rn(void 0,null,function*(){Ht(!0),yield On.submit()}),okButtonProps:{loading:or}},t.createElement("div",null,t.createElement("div",{className:"mb30"},"\u60A8\u8FD8\u672A\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF0C\u5B8C\u5584\u540E\u5373\u53EF\u4F7F\u7528\u6B64\u529F\u80FD\u3002"),t.createElement(E.default,{form:On,className:Ft.formWrap,layout:"horizontal",onValuesChange:Xo,onFinish:ia,scrollToFirstError:!0,size:"large",labelAlign:"right"},t.createElement(E.default.Item,{label:"\u59D3\u540D",name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D\uFF0C\u6700\u5927\u9650\u5236${kt}\u4E2A\u5B57\u7B26`},{validator:b.HJ}]},t.createElement(Y.default,{placeholder:`\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D\uFF0C\u6700\u5927\u9650\u5236${kt}\u4E2A\u5B57\u7B26`,maxLength:kt,showCount:!0})),t.createElement(gt.Z,{gutter:[10,0]},t.createElement(yt.Z,null,t.createElement(E.default.Item,{label:"\u804C\u4E1A",name:"identity",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u4E1A"}]},t.createElement(An.default,{style:{width:120},placeholder:"\u8BF7\u9009\u62E9\u804C\u4E1A"},t.createElement(bn,{value:"teacher"},"\u6559\u5E08"),t.createElement(bn,{value:"student"},"\u5B66\u751F"),t.createElement(bn,{value:"professional"},"\u4E13\u4E1A\u4EBA\u58EB")))),qe.identity==="student"&&t.createElement(yt.Z,{flex:1},t.createElement(E.default.Item,{name:"studentNo",validateTrigger:"onBlur",dependencies:["school"],rules:[{whitespace:!0,message:"\u4E0D\u80FD\u5168\u4E3A\u7A7A"},{required:!0,message:"\u8BF7\u8F93\u5165\u5B66\u53F7"},{validator:(xo,Wr)=>rn(void 0,null,function*(){var Jr,Do,Ko;const So=yield(0,nt.ZP)(`/api/users/accounts/${(Jr=G==null?void 0:G.userInfo)==null?void 0:Jr.user_id}/valid_student_id`,{method:"get",params:{school_id:((Do=_t==null?void 0:_t.find(ma=>ma.name===qe.school))==null?void 0:Do.id)||((Ko=G==null?void 0:G.userInfo)==null?void 0:Ko.school_id),student_id:Wr}});return(So==null?void 0:So.status)<-1&&Wt&&(pr(!0),Ht(!1)),(So==null?void 0:So.status)<-1?Promise.reject(t.createElement("span",null,"\u8BE5\u5B66\u53F7\u5DF2\u88AB\u4F7F\u7528\uFF0C\u5982\u9700\u7EE7\u7EED\u4F7F\u7528\u8BE5\u5B66\u53F7\uFF0C\u8BF7\u5148",t.createElement("a",{onClick:()=>{pr(!0)}},"\u89E3\u7ED1\u5B66\u53F7"))):Promise.resolve()})}]},t.createElement(Y.default,{size:"large",type:"text",placeholder:"\u8BF7\u8F93\u5165\u5B66\u53F7",showCount:!0,maxLength:20}))),qe.identity==="teacher"&&t.createElement(yt.Z,null,t.createElement(E.default.Item,{initialValue:qe.jobTitle,name:"jobTitle",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},t.createElement(An.default,{style:{width:120},size:"large",placeholder:"\u8BF7\u9009\u62E9\u804C\u79F0"},t.createElement(bn,{value:"\u6559\u6388"},"\u6559\u6388"),t.createElement(bn,{value:"\u7814\u7A76\u5458"},"\u7814\u7A76\u5458"),t.createElement(bn,{value:"\u526F\u6559\u6388"},"\u526F\u6559\u6388"),t.createElement(bn,{value:"\u526F\u7814\u7A76\u5458"},"\u526F\u7814\u7A76\u5458"),t.createElement(bn,{value:"\u8BB2\u5E08"},"\u8BB2\u5E08"),t.createElement(bn,{value:"\u52A9\u7406\u7814\u7A76\u5458"},"\u52A9\u7406\u7814\u7A76\u5458"),t.createElement(bn,{value:"\u52A9\u7406\u6559\u6388"},"\u52A9\u7406\u6559\u6388")))),qe.identity==="professional"&&t.createElement(yt.Z,null,t.createElement(E.default.Item,{initialValue:qe.manager,name:"manager",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},t.createElement(An.default,{style:{width:180},size:"large",placeholder:"\u8BF7\u9009\u62E9\u804C\u79F0"},t.createElement(bn,{value:"\u4F01\u4E1A\u7BA1\u7406\u8005"},"\u4F01\u4E1A\u7BA1\u7406\u8005"),t.createElement(bn,{value:"\u90E8\u95E8\u7BA1\u7406\u8005"},"\u90E8\u95E8\u7BA1\u7406\u8005"),t.createElement(bn,{value:"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"},"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"),t.createElement(bn,{value:"\u5DE5\u7A0B\u5E08"},"\u5DE5\u7A0B\u5E08"),t.createElement(bn,{value:"\u52A9\u7406\u5DE5\u7A0B\u5E08"},"\u52A9\u7406\u5DE5\u7A0B\u5E08")))),(qe.identity==="teacher"||qe.identity==="professional")&&t.createElement(yt.Z,{flex:1,className:Ft.staffWrap},t.createElement(E.default.Item,{label:"\u5DE5\u53F7",name:"staff_id",rules:[{validator:(xo,Wr)=>Wr===null||Wr===""||Wr===void 0?Promise.resolve():/[\u4E00-\u9FA5]/g.test(Wr)?Promise.reject("\u8BF7\u52FF\u8F93\u5165\u4E2D\u6587\u5B57\u7B26"):Wr.length>20?Promise.reject("\u6700\u5927\u9650\u523620\u4E2A\u5B57\u7B26"):Promise.resolve()}]},t.createElement(Y.default,{placeholder:"\u8BF7\u8F93\u5165\u5DE5\u53F7",className:Ft.staffidInput,suffix:" ",showCount:!0,maxLength:20})))),t.createElement(E.default.Item,{label:"\u5B66\u6821/\u5355\u4F4D",name:"school",extra:!Pr&&qe.school&&!(_t!=null&&_t.find(xo=>xo.name===qe.school))&&t.createElement("div",{className:Ft.schoolHintWrap},t.createElement("span",{className:Ft.colorCDCDCD},"\u672A\u627E\u5230\u5305\u542B\u201C",qe.school,"\u201D\u7684\u9AD8\u6821\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",t.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{h.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:t.createElement("div",{style:{textAlign:"center"}},t.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",qe.identity==="teacher"?"727685969":"816055138","\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),t.createElement("img",{src:qe.identity==="teacher"?zt:en,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"},{whitespace:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"}]},t.createElement(Mn.Z,{status:Zr,size:"large",showSearch:!0,onChange:to,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0",suffixIcon:t.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},t.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))},_t.map((xo,Wr)=>t.createElement(bn,{key:Wr,value:xo.name},xo.name))))))),t.createElement(h.default,{title:"\u89E3\u7ED1\u5B66\u53F7",open:rr,centered:!0,destroyOnClose:!0,onCancel:()=>{pr(!1),St.resetFields()},onOk:()=>{St.submit()}},t.createElement(E.default,{form:St,size:"large",onFinish:xo=>rn(void 0,null,function*(){var Wr,Jr,Do;(yield(0,nt.ZP)(`/api/users/accounts/${(Wr=G==null?void 0:G.userInfo)==null?void 0:Wr.user_id}/unbind_student_id.json`,{method:"post",body:Cr({student_id:qe.studentNo||On.getFieldValue("studentNo"),school_id:((Jr=_t==null?void 0:_t.find(So=>So.name===qe.school))==null?void 0:Jr.id)||((Do=G==null?void 0:G.userInfo)==null?void 0:Do.school_id),check_type:4},xo)})).status==0&&(n.ZP.success("\u89E3\u7ED1\u6210\u529F"),On.validateFields(),St.resetFields(),pr(!1))})},t.createElement("div",{className:"mb20"},"\u5F88\u62B1\u6B49\uFF0C\u8BE5\u5B66\u53F7\uFF08",qe.studentNo||On.getFieldValue("studentNo"),"\uFF09\u5728",qe.school,"\u5185\u5DF2\u88AB\u4F7F\u7528\uFF0C\u60A8\u53EF\u4EE5\u63D0\u4F9B",t.createElement("span",{style:{color:"#3061d0"}},"\u5F53\u524D\u8D26\u53F7\u6240\u5728\u5B66\u6821\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D"),"\u8FDB\u884C\u89E3\u7ED1\uFF1A"),t.createElement(E.default.Item,{name:"check_value",rules:[{required:!0,message:`\u8BF7\u586B\u5199${qe==null?void 0:qe.school}\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D`}],style:{marginBottom:"10px"}},t.createElement(Y.default,{type:"text",placeholder:`\u8BF7\u586B\u5199${qe==null?void 0:qe.school}\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D`})),t.createElement("div",null,"\u8BF7\u6CE8\u610F\uFF0C\u6BCF\u4F4D\u5B66\u751F\u6BCF\u5929\u4EC5\u6709 ",t.createElement("span",{style:{color:"#FA6400"}},"2")," \u6B21\u6210\u529F\u89E3\u7ED1\u5B66\u53F7\u7684\u673A\u4F1A\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C"))),t.createElement(Cn.Z,{visible:kn,onCancel:()=>ur(!1)}))};var Bn=(0,c.connect)(({user:G,account:me,loading:ge,globalSetting:Bt})=>({user:G,account:me,globalSetting:Bt,loading:ge.models.index}))(jt),Xn={popLogin:"popLogin___u08I8",tips:"tips___U2xQw"},hr=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const po=/^1\d{10}$/,Qr=/^[a-zA-Z0-9]+([.\-_\\]*[a-zA-Z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/,Sr=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,uo=({user:G,globalSetting:me,dispatch:ge})=>{const[Bt]=(0,c.useSearchParams)(),At={height:48,borderRadius:4},[On]=E.default.useForm(),bn=()=>{ge({type:"user/setBindAccountModal",payload:{bindAccountModalVisible:!1}}),On.resetFields()},kt=(Wt,Ht)=>Ht?Ht.indexOf(" ")>-1?Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):po.test(Ht)||Qr.test(Ht)?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Promise.resolve(),[qe,qt]=(0,t.useState)(60),Zr=(0,t.useMemo)(()=>qe<60&&qe>0,[qe]),fr=(0,t.useRef)(),Pr=()=>hr(void 0,null,function*(){clearInterval(fr.current),qt(60),fr.current=setInterval(function Wt(){return qt(Ht=>Ht-1),Wt}(),1e3)}),[Hr,_t]=(0,t.useState)(!1),[Qn,or]=(0,t.useState)(!1);(0,t.useEffect)(()=>{G.bindAccountModalVisible?or(!0):or(!1)},[G]);const jr=()=>hr(void 0,null,function*(){var Wt;const Ht=On.getFieldValue("userInput"),kn=po.test(Ht),ur=Qr.test(Ht);if(!kn&&!ur){n.ZP.error("\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7");return}if(_t(!0),kn){const Eo=yield(0,nt.ZP)(`/api/users/accounts/${(Wt=G.userInfoForBindAccountModal)==null?void 0:Wt.login}/valid_phone.json`,{method:"get",params:{phone:Ht}});if((Eo==null?void 0:Eo.status)===-1){_t(!1);return}if(Eo!=null&&Eo.is_exists){n.ZP.info("\u8BE5\u624B\u673A\u53F7\u5DF2\u88AB\u5176\u5B83\u8D26\u53F7\u7ED1\u5B9A"),_t(!1);return}}else{const Eo=yield(0,nt.ZP)("/api/accounts/valid_email_and_phone",{method:"get",params:{login:Ht,type:1}});if((Eo==null?void 0:Eo.status)===-3){n.ZP.info("\u8BE5\u90AE\u7BB1\u5DF2\u88AB\u6CE8\u518C"),_t(!1);return}}let to=(0,b.M)(Ht);const io=yield ge({type:"account/getCode",payload:{login:Ht,type:kn?3:4,smscode:to}});_t(!1),io.status===1&&(n.ZP.info("\u9A8C\u8BC1\u7801\u5DF2\u53D1\u9001\uFF0C\u8BF7\u6CE8\u610F\u67E5\u6536"),Pr())}),rr=()=>hr(void 0,null,function*(){var Wt,Ht;yield On.validateFields();const kn=On.getFieldValue("userInput"),ur=On.getFieldValue("code"),to=po.test(kn),io=Qr.test(kn);if(!to&&!io){n.ZP.error("\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7");return}return to?(yield ge({type:"account/bindPhone",payload:{login:(Wt=G.userInfoForBindAccountModal)==null?void 0:Wt.login,phone:kn,code:ur}})).status===0:(yield ge({type:"account/bindEmail",payload:{login:(Ht=G.userInfoForBindAccountModal)==null?void 0:Ht.login,email:kn,code:ur}})).status===0}),pr=()=>hr(void 0,null,function*(){const Wt=G.loginInfo;Sr.test(Wt.password)||n.ZP.error("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539");const Ht=yield(0,de.Es)(Wt);if(Ht.status){n.ZP.error(Ht==null?void 0:Ht.message);return}if(Ht!=null&&Ht.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",Ht==null?void 0:Ht.start_date)):localStorage.removeItem("extension-modal"),location.pathname==="/user/login"||location.pathname==="/login"){let kn=Bt.get("from")||Bt.get("back_url");kn?window.location.href=decodeURIComponent(kn):Sr.test(Wt.password)?window.location.reload():(n.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),window.location.href="/account/secure")}else Sr.test(Wt.password)?window.location.reload():(n.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),c.history.replace("/account/secure?active=3"),ge({type:"user/setBindAccountModal",payload:{bindAccountModalVisible:!1}}));On.resetFields()}),St=()=>hr(void 0,null,function*(){(yield rr())&&(yield pr())});return t.createElement(h.default,{centered:!0,open:Qn,footer:null,width:596,keyboard:!1,maskClosable:!0,wrapClassName:Xn.popLogin,closable:!0,onCancel:bn},t.createElement("h1",{className:"font18 mb20"},"\u624B\u673A\u53F7/\u90AE\u7BB1\u7ED1\u5B9A"),t.createElement(E.default,{layout:"vertical",form:On,autoComplete:"off",preserve:!1},t.createElement(E.default.Item,{name:"userInput",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7/\u90AE\u7BB1"},{validator:kt}]},t.createElement(Y.default,{style:At,size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7"})),t.createElement(E.default.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},t.createElement(Y.default,{suffix:t.createElement(m.ZP,{loading:Hr,type:"link",onClick:jr,disabled:Zr},Zr?`${qe}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`:"\u83B7\u53D6\u9A8C\u8BC1\u7801"),style:{paddingRight:2,height:48},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"}))),t.createElement("div",{className:Xn.tips},"\u4E3A\u4E86\u8D26\u53F7\u5B89\u5168\u6027\uFF0C\u7ED1\u5B9A\u540E\u53EF\u901A\u8FC7\u8BE5\u624B\u673A\u53F7\u6216\u90AE\u7BB1\u627E\u56DE\u5BC6\u7801"),t.createElement(m.ZP,{size:"middle",type:"primary",block:!0,style:At,className:"font16",onClick:St},"\u7ED1\u5B9A\u5E76\u767B\u5F55"),t.createElement("div",{className:Xn.tips},"\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",t.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B")))};var Ur=(0,c.connect)(({user:G,loading:me,globalSetting:ge})=>({user:G,globalSetting:ge,loading:me.models.index}))(uo),Gr=e(71418),vo=e(61186),Nr=e.n(vo),mo=e(61682),j={wrap:"wrap___q9xAc",list:"list___qjgdz",name:"name___ncYhC",tag:"tag___Paafn"},fe=e(34604),Ie=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())}),pt=({})=>{const[G,me]=(0,t.useState)(!1),[ge,Bt]=(0,t.useState)([]),[At,On]=(0,t.useState)([]),[bn,kt]=(0,t.useState)(!1),[qe,qt]=(0,t.useState)(!1),Zr=(0,c.useLocation)(),[fr]=(0,c.useSearchParams)();(0,t.useEffect)(()=>{fe.Z.subscribe("pod-restrict-data",_t=>{console.log(_t,"data"),me(_t.identifier||!1),Bt(_t.data_list||[]),On([]),kt(!1)})},[]);const Pr=()=>Ie(void 0,null,function*(){qt(!0);const _t=ge.filter(or=>At.includes(or.tpi_id));(yield(0,nt.ZP)("/api/myshixuns/batch_del_pods.json",{method:"delete",body:{del_pods:_t}})).status===0&&window.location.reload(),qt(!1)}),Hr=()=>{var _t;if(console.log(Zr,"location"),(_t=Zr.pathname)!=null&&_t.includes("/challenges")){window.location.href="/shixuns";return}if(fr.get("type")==="exercises"){window.parent.postMessage("backExercise","*"),fe.Z.publish("pod-restrict-data",{identifier:!1,data_list:[]});return}window.location.href=`/shixuns/${G}/challenges`};return t.createElement(h.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:G,title:"\u901A\u77E5",width:"600px",footer:t.createElement(gt.Z,{align:"middle",justify:"center"},t.createElement(ne.default,{onChange:_t=>{var Qn;console.log(_t,222),kt(_t.target.checked),_t.target.checked?On((Qn=ge==null?void 0:ge.filter(or=>!or.is_current_shixun))==null?void 0:Qn.map(or=>or.tpi_id)):On([])},checked:bn},"\u5168\u9009"),t.createElement(m.ZP,{style:{marginLeft:"auto"},onClick:Hr},"\u53D6\u6D88"),t.createElement(m.ZP,{disabled:!At.length,loading:qe,type:"primary",onClick:Pr},"\u5173\u95ED\u5B9E\u8BAD")),onCancel:Hr},t.createElement(Gr.Z,{spinning:qe},t.createElement("div",{className:j.wrap},t.createElement("p",null,"\u5355\u4E2A\u8D26\u53F7\u6700\u591A\u53EF\u540C\u65F6\u5F00\u542F10\u4E2A\u5B9E\u9A8C\u73AF\u5883\uFF0C\u82E5\u60F3\u5F00\u542F\u8BE5\u5B9E\u8BAD\u8BF7\u5173\u95ED\u5176\u4ED6\u5B9E\u8BAD\u3002"),ge==null?void 0:ge.map(_t=>t.createElement("div",{className:j.list,key:_t.tpi_id},t.createElement(ne.default,{disabled:_t.is_current_shixun,onChange:Qn=>{let or=[...At];Qn.target.checked?or.push(_t.tpi_id):or=At.filter(jr=>jr!==_t.tpi_id),On(or),kt(or.length===ge.length)},checked:At==null?void 0:At.includes(_t.tpi_id)}),t.createElement("span",{className:j.name,onClick:()=>(0,b.xg)(`/shixuns/${_t.shixun_identifier}/challenges`),title:_t.shixun_name},t.createElement("b",null,_t.shixun_name),_t.is_current_shixun&&t.createElement("span",{className:j.tag},"\u5F53\u524D\u5B9E\u8BAD")),t.createElement("span",{style:{color:"#53d1a3"}},"\u8FD0\u884C\u4E2D\u7684\u73AF\u5883\uFF1A",_t.pod_num,"\u4E2A"))))))},En={token:{colorPrimary:"#3061D0",colorInfo:"#3061D0",colorLink:"#3061D0",borderRadius:2,fontSizeLG:14},components:{Radio:{radioSize:16,dotSize:6},Modal:{titleFontSize:16,titleColor:"#000"}}},dn=e(59301),mr=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable,eo=(G,me)=>{var ge={};for(var Bt in G)Mr.call(G,Bt)&&me.indexOf(Bt)<0&&(ge[Bt]=G[Bt]);if(G!=null&&mr)for(var Bt of mr(G))me.indexOf(Bt)<0&&gr.call(G,Bt)&&(ge[Bt]=G[Bt]);return ge},xr=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});const Yr=G=>{var me=G,{loading:ge,globalSetting:Bt,dispatch:At}=me,On=eo(me,["loading","globalSetting","dispatch"]);const bn="https://educoder-public.oss-cn-hangzhou.aliyuncs.com/Cover/logo_simple?x-oss-process=image/resize,h_200,w_200,m_pad",kt="\u5934\u6B4C\uFF0C\u5168\u79F0\u201C\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0\u201D\uFF0C\u662F\u56FD\u5185\u9AD8\u6821\u5E7F\u6CDB\u4F7F\u7528\u7684\u5728\u7EBF\u5B9E\u8DF5\u6559\u5B66\u670D\u52A1\u5E73\u53F0\u4E0E\u521B\u65B0\u73AF\u5883\uFF0C\u4E3A\u9AD8\u6821\u548C\u4F01\u4E1A\u7684\u5B9E\u8DF5\u4E0E\u521B\u65B0\u80FD\u529B\u63D0\u5347\u8D4B\u80FD\uFF0C\u662F\u4E2D\u56FD\u9AD8\u6821\u8BA1\u7B97\u673A\u6559\u80B2MOOC\u8054\u76DF\u5B9E\u8DF5\u6559\u5B66\u5DE5\u59D4\u3001\u5168\u56FD\u4EBA\u5DE5\u667A\u80FD\u804C\u4E1A\u6559\u80B2\u96C6\u56E2\u5B9E\u8DF5\u6559\u5B66\u5DE5\u4F5C\u59D4\u5458\u4F1A\u5B98\u65B9\u5408\u4F5C\u5E73\u53F0\u3002";(0,t.useEffect)(()=>{(0,b.IS)()&&qt()},[]),(0,t.useEffect)(()=>{At({type:"globalSetting/setShareData",payload:{desc:"\u5934\u6B4C\uFF0C\u5168\u79F0\u201C\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0\u201D\uFF0C\u662F\u56FD\u5185\u9AD8\u6821\u5E7F\u6CDB\u4F7F\u7528\u7684\u5728\u7EBF\u5B9E\u8DF5\u6559\u5B66\u670D\u52A1\u5E73\u53F0\u4E0E\u521B\u65B0\u73AF\u5883\uFF0C\u4E3A\u9AD8\u6821\u548C\u4F01\u4E1A\u7684\u5B9E\u8DF5\u4E0E\u521B\u65B0\u80FD\u529B\u63D0\u5347\u8D4B\u80FD\uFF0C\u662F\u4E2D\u56FD\u9AD8\u6821\u8BA1\u7B97\u673A\u6559\u80B2MOOC\u8054\u76DF\u5B9E\u8DF5\u6559\u5B66\u5DE5\u59D4\u3001\u5168\u56FD\u4EBA\u5DE5\u667A\u80FD\u804C\u4E1A\u6559\u80B2\u96C6\u56E2\u5B9E\u8DF5\u6559\u5B66\u5DE5\u4F5C\u59D4\u5458\u4F1A\u5B98\u65B9\u5408\u4F5C\u5E73\u53F0\u3002",title:document.title,imgUrl:bn}})},[location.pathname]),(0,t.useEffect)(()=>{qe()},[Bt==null?void 0:Bt.shareData]);const qe=()=>{var fr;(fr=window.wx)==null||fr.ready(function(){var Pr,Hr,_t,Qn,or,jr,rr={title:((Pr=Bt==null?void 0:Bt.shareData)==null?void 0:Pr.title)||document.title,desc:((Hr=Bt==null?void 0:Bt.shareData)==null?void 0:Hr.desc)||kt,link:window.location.href,imgUrl:((Qn=(_t=Bt==null?void 0:Bt.shareData)==null?void 0:_t.imgUrl)==null?void 0:Qn.replace("https://public.educoder.net","https://educoder-public.oss-cn-hangzhou.aliyuncs.com/"))||bn};(or=window.wx)==null||or.onMenuShareAppMessage(rr),(jr=window.wx)==null||jr.onMenuShareTimeline(rr)})};function qt(){return xr(this,null,function*(){const fr=yield(0,nt.ZP)(`/api/users/js_sdk_data.json?url=${encodeURIComponent(location.href)}`,{method:"get"});(fr==null?void 0:fr.status)===0&&Zr(fr)})}function Zr(fr){window.wx.config({debug:!1,appId:(fr==null?void 0:fr.appid)||"wx2402d86a6b534f77",timestamp:(fr==null?void 0:fr.timestamp)||1716781260,nonceStr:(fr==null?void 0:fr.noncestr)||"WjRUMvS[",signature:(fr==null?void 0:fr.signature)||"0e182307b372cf71796c33e01b462cbfca0b9930",jsApiList:["checkJsApi","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone"]})}return dn.createElement(dn.Fragment,null)};var Dr=(0,c.connect)(({loading:G,globalSetting:me})=>({loading:G,globalSetting:me}))(Yr),Ar=e(65517),an=e(93083),un=e(59301),mn=Object.defineProperty,Dt=Object.defineProperties,Kn=Object.getOwnPropertyDescriptors,Hn=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,Tr=(G,me,ge)=>me in G?mn(G,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):G[me]=ge,zr=(G,me)=>{for(var ge in me||(me={}))Kr.call(me,ge)&&Tr(G,ge,me[ge]);if(Hn)for(var ge of Hn(me))Rr.call(me,ge)&&Tr(G,ge,me[ge]);return G},Er=(G,me)=>Dt(G,Kn(me)),dr=(G,me)=>{var ge={};for(var Bt in G)Kr.call(G,Bt)&&me.indexOf(Bt)<0&&(ge[Bt]=G[Bt]);if(G!=null&&Hn)for(var Bt of Hn(G))me.indexOf(Bt)<0&&Rr.call(G,Bt)&&(ge[Bt]=G[Bt]);return ge},$n=(G,me,ge)=>new Promise((Bt,At)=>{var On=qe=>{try{kt(ge.next(qe))}catch(qt){At(qt)}},bn=qe=>{try{kt(ge.throw(qe))}catch(qt){At(qt)}},kt=qe=>qe.done?Bt(qe.value):Promise.resolve(qe.value).then(On,bn);kt((ge=ge.apply(G,me)).next())});Nr().locale("zh-cn");const wr=G=>{var me=G,{loading:ge,globalSetting:Bt,user:At,dispatch:On}=me,bn=dr(me,["loading","globalSetting","user","dispatch"]),kt;const qe=(0,c.useLocation)(),qt=(0,mo.g)(),[Zr]=(0,c.useSearchParams)(),{globalLoading:fr}=Bt,Pr=()=>$n(void 0,null,function*(){let _t,Qn;const or=qe.pathname.split("/");if(qe!=null&&qe.search){let jr,rr;or.includes("paths")?jr=or[2]:or.includes("tasks")&&(rr=or[2]),_t=yield On({type:"user/getUserInfo",payload:Er(zr(zr({},qt),(0,b.oP)()),{subject_id:jr,game_id:rr,websiteName:"educoder"})})}else or.includes("tasks")&&(Qn=or[2]),_t=yield On({type:"user/getUserInfo",payload:Er(zr({},qt),{game_id:Qn})});(_t==null?void 0:_t.username)!=="\u6E38\u5BA2"&&(qe.pathname==="/login"&&(window.location.href="/"),qe.pathname!=="/user/login"&&qe.pathname!=="/login"&&window.sessionStorage.getItem("download_url")&&((0,b.Nd)("educoder",window.sessionStorage.getItem("download_url")),window.sessionStorage.removeItem("download_url")))});(0,t.useEffect)(()=>{i.ZP.config({prefixCls:"ant",iconPrefixCls:"anticon",theme:zr({},En)})},[Bt.theme]),(0,t.useEffect)(()=>{Pr(),(0,b.Il)(),function(){function _t(){var Qn=document.documentElement,or=Qn.clientWidth,jr=1920,rr=or/jr;rr=rr>2?2:rr<.6?.6:rr,Qn.style.fontSize=rr+"px"}window.addEventListener("resize",_t),_t()}()},[]),(0,t.useEffect)(()=>{On({type:"globalSetting/query",payload:{}});try{window.top.location.origin}catch(_t){document.referrer.indexOf("educoder.net")===-1&&(window.location.href=window.atob("Jy80MDMn"))}},[]),(0,t.useEffect)(()=>{var _t,Qn,or,jr,rr;if(qe.pathname.indexOf("classrooms")>-1&&qe.pathname.indexOf("detail")===-1||document.body.scrollIntoView(),qe.pathname.indexOf("/classrooms/4RW9CYHY")>-1&&document.domain!=="localhost"&&document.domain!=="kepukehuan.educoder.net"){window.location.href="https://kepukehuan.educoder.net/classrooms/4RW9CYHY/exercise";return}if(qe.pathname.indexOf("/classrooms/qb4ft587")>-1&&document.domain!=="localhost"&&document.domain!=="kepukehuan.educoder.net"){window.location.href="https://kepukehuan.educoder.net/classrooms/qb4ft587/exercise";return}if(qe.pathname.indexOf("/classrooms/c5q9bsp2")>-1&&document.domain!=="localhost"&&document.domain!=="kepukehuan.educoder.net"){window.location.href="https://kepukehuan.educoder.net/classrooms/c5q9bsp2/exercise";return}if(On({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),window.location.href==="https://jetcoder.educoder.net"||window.location.href==="https://jetcoder.educoder.net/"){window.location.href="https://www.educoder.net/problems";return}if((_t=window.location.href)!=null&&_t.includes("/problems")&&((Qn=window.location.href)!=null&&Qn.includes("/share"))){const pr=(rr=(jr=(or=window.location)==null?void 0:or.pathname)==null?void 0:jr.split("/"))==null?void 0:rr[2];(0,nt.ZP)(`/api/practices/${pr}/start`,{method:"get"}).then(Wt=>{(Wt==null?void 0:Wt.status)===0&&c.history.replace(`/problems/${Wt==null?void 0:Wt.identifier}/oj/${pr}`)});return}if(qe.pathname==="/admins"||qe.pathname==="/sidekiq"){const pr=document.domain;if(pr.indexOf("educoder.net")>-1)switch(pr){case"www.educoder.net":case"educoder.net":window.location.href=`https://data.educoder.net${qe.pathname}`;break;default:let St=document.domain.split(".");St[0]=St[0]+"-data",window.location.href=`https://${St.join(".")}${qe.pathname}`;break}}h.default.destroyAll()},[qe.pathname]),(0,t.useEffect)(()=>{Bt.updateData.system_update?localStorage.updateEndTime||new Date().getTime(){localStorage.updateEndTime=Bt.updateData.end_time}}):localStorage.removeItem("updateEndTime")},[Bt.updateData.system_update]),(0,t.useEffect)(()=>{var _t,Qn;if((0,b.WX)()){if(!((_t=Bt==null?void 0:Bt.setting)!=null&&_t.version))return;(0,b.yC)((Qn=Bt==null?void 0:Bt.setting)==null?void 0:Qn.version)>0&&h.default.info({title:"\u5BA2\u6237\u7AEF\u7248\u672C\u8FC7\u4F4E",centered:!0,content:un.createElement("div",null,un.createElement("span",{className:"c-red"},"\u60A8\u7684\u5934\u6B4C\u8003\u8BD5\u7CFB\u7EDF\u67DC\u5BA2\u6237\u7AEF\u7248\u672C\u8FC7\u4F4E"),'\uFF0C\u8BF7\u5347\u7EA7\u81F3\u6700\u65B0\u7248\u672C\u540E\u518D\u4F7F\u7528\uFF0C\u70B9\u51FB"\u786E\u5B9A"\u540E\u5C06\u4E0B\u8F7D\u6700\u65B0\u7248\u672C\u7684\u5BA2\u6237\u7AEF,',un.createElement("span",{className:"c-red"},"\u4E0B\u8F7D\u540E\u8BF7\u5148\u9000\u51FA\u5BA2\u6237\u7AEF\u518D\u5B89\u88C5")),okText:"\u7ACB\u5373\u5347\u7EA7",visible:!0,maskClosable:!1,onOk:()=>((0,b.FH)("Educoder.exe","https://www-cdn.educoder.net/app/Educoder.exe"),new Promise(()=>{}))})}},[(kt=Bt==null?void 0:Bt.setting)==null?void 0:kt.version]),(0,t.useEffect)(()=>{performance.navigation.type===1&&document.body.scrollIntoView()},[performance.navigation.type]);const Hr=()=>{var _t,Qn,or,jr,rr,pr,St,Wt;const Ht=localStorage.trackUserTime,kn=localStorage.trackUser;if(!(Ht&&Nr()(Ht).isSame(Nr()().startOf("day"),"d")&&kn==((_t=At.userInfo)==null?void 0:_t.login))){localStorage.trackUserTime=new Date,localStorage.trackUser=(Qn=At.userInfo)==null?void 0:Qn.login;let ur="";switch(At.userInfo.role){case 1:ur="\u8D85\u7BA1";break;case 2:ur="\u8FD0\u8425";break;case 5:ur="\u8BA4\u8BC1\u6559\u5E08";break;case 12:ur="\u672A\u8BA4\u8BC1\u6559\u5E08";break;case 15:ur="\u5B66\u751F";break}((or=At.userInfo)==null?void 0:or.identity)!=="student"&&((jr=At.userInfo)==null?void 0:jr.identity)!=="teacher"&&(ur="\u4E13\u4E1A\u4EBA\u58EB"),(rr=At.userInfo)!=null&&rr.user_school&&((0,b.L9)(["\u5B66\u6821\u6D3B\u8DC3\u7528\u6237",(pr=At.userInfo)==null?void 0:pr.user_school]),(0,b.L9)(["\u7528\u6237\u8BBF\u95EE\u660E\u7EC6",(St=At.userInfo)==null?void 0:St.login,(Wt=At.userInfo)==null?void 0:Wt.user_school])),(0,b.L9)(["\u5E73\u53F0PC\u7AEF","\u603B\u6D3B\u8DC3\u7528\u6237\u6570"]),(0,b.L9)(["\u5E73\u53F0PC\u7AEF",ur])}};return un.createElement(an.StyleProvider,{transformers:[an.legacyLogicalPropertiesTransformer],hashPriority:"high"},un.createElement(i.ZP,{locale:M.Z,autoInsertSpaceInButton:!1,componentSize:"middle",theme:En},un.createElement(Xt,null),un.createElement(Bn,null),un.createElement(Ur,null),un.createElement(Dr,null),un.createElement(pt,null),un.createElement(Gr.Z,{size:"middle",spinning:fr.show,tip:fr.text,className:"ant-spin-nested-loading-black"},un.createElement(c.Outlet,null))))};var ao=(0,c.connect)(({loading:G,globalSetting:me,user:ge})=>({loading:G,globalSetting:me,user:ge}))(wr)},46474:function(Yt,je,e){e.d(je,{rX:function(){return C},pW:function(){return r},gy:function(){return I},xY:function(){return Q},O5:function(){return Ae},hs:function(){return te},tJ:function(){return Z},o1:function(){return ee},Rd:function(){return Be}});var t=e(89070),i=e(43418),h=e(28103),M=e(8591),c=e(24065),E=e(955),n=e(87169),Y=e(25510),ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzuajgctnoTACMWoV8xTgkBgAwEFgCQgcACADIQWABABgILAMgwe5cwJ5O3jVtaWgp+z8KKW+bOPvjuwq1bMaTD+OLG2+ks2/aSSS78FTMcYQEAIQgsACADgQUAZCCwAIAMBBYAkIHAAgAyLBnW4CxnS/fb9k4r7nk7W8LBClZUQbBiYIEVI2ycnXjFIjjCAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQU4bAGK25Fu/Besm03wm27i2/bEATbNmTbN6QoRzDkhCMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5F7Xpnpy2w7Ta8bawo4eDC6RVIf0YmufBXzCwKLIvaCgC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oAAAAASUVORK5CYII=",m=e.p+"static/newqrcode.a8740efb.png",de=e(32637),p=e(59301),P=(b,ae,H)=>new Promise((X,A)=>{var V=W=>{try{be(H.next(W))}catch($){A($)}},D=W=>{try{be(H.throw(W))}catch($){A($)}},be=W=>W.done?X(W.value):Promise.resolve(W.value).then(V,D);be((H=H.apply(b,ae)).next())});const Z=(b,ae=!1,H=!1,X="",A=!1)=>!!(ee(b)&&ke(b,ae,H,X,A)),ee=b=>(0,c.bg)()?!0:(b({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),te=b=>{var ae,H,X;const{user:A}=(0,t.getDvaApp)()._store.getState();(0,c.bg)()&&!((H=(ae=A==null?void 0:A.userInfo)==null?void 0:ae.course)!=null&&H.course_public)&&!((X=A==null?void 0:A.userInfo)!=null&&X.profile_completed)&&b({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},ke=(b,ae=!1,H=!0,X="",A=!1)=>{var V;const{user:D}=(0,t.getDvaApp)()._store.getState();return(V=D.userInfo)!=null&&V.profile_completed?!0:(H?b({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:X,isCurrentPage:A}}):i.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,E.xg)("/account/profile/edit"),ye()}}),!1)},ye=()=>{i.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()}})},Be=()=>{i.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:p.createElement("div",{style:{textAlign:"center"}},p.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"),p.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:de}),p.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Ae=()=>{var b;const{user:ae}=(0,t.getDvaApp)()._store.getState();return(b=ae.userInfo)!=null&&b.professional_certification?!0:(i.default.confirm({title:"\u63D0\u793A",centered:!0,content:p.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,E.xg)("/account/certification")}}),!1)},Q=()=>(0,c.V9)()?!0:(i.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:p.createElement("div",{className:"tc",style:{marginLeft:-38}},p.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),p.createElement("img",{src:m,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),C=(b,ae)=>b?!0:(i.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:p.createElement("div",null,p.createElement("p",null,ae||"\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"),p.createElement("div",{style:{marginLeft:"110px"}},p.createElement("img",{src:ne,width:200}),p.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,E.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),r=b=>{i.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:p.createElement("div",null,p.createElement("div",null,p.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"),p.createElement(h.Z,null),p.createElement("p",{style:{color:"#666666",fontSize:12}}," ",p.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 ",p.createElement("a",null,b),"\u5929\u3002"),p.createElement("p",{style:{color:"#666666",fontSize:12}}," ",p.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")),p.createElement("div",{style:{textAlign:"center",marginTop:30}},p.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Y,alt:"\u4E8C\u7EF4\u7801",width:160})))})},I=(b,ae="")=>{const{shixunsDetail:{detail:H}}=(0,t.getDvaApp)()._store.getState();if((H==null?void 0:H.public)===2||(H==null?void 0:H.public)===1||(H==null?void 0:H.shixun_status)===3){let X="";return(H==null?void 0:H.public)===2&&(X="\u5DF2\u516C\u5F00"),(H==null?void 0:H.public)===1&&(X="\u5F85\u5BA1\u6838"),(H==null?void 0:H.shixun_status)===3&&(X="\u5DF2\u5173\u95ED"),i.default.info({centered:!0,icon:p.createElement(n.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:p.createElement("div",{className:"tc",style:{marginLeft:-38}},p.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},p.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",X,"\uFF0C",ae,"\u3002"),p.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),p.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Y,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(H==null?void 0:H.shixun_status)===2?(i.default.confirm({centered:!0,icon:p.createElement(n.Z,null),title:"\u63D0\u793A",content:p.createElement("div",null,p.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",ae,"\u3002"),p.createElement("br",null),p.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:()=>{i.default.confirm({width:440,centered:!0,icon:p.createElement(n.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:()=>P(void 0,null,function*(){(yield b({type:"shixunsDetail/cancelRelease",payload:{id:H==null?void 0:H.identifier}})).status!==401&&(M.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),b({type:"shixunsDetail/getShixunsDetail",payload:{id:H==null?void 0:H.identifier}}),b({type:"practiceSetting/getCommonData",payload:{id:H==null?void 0:H.identifier}}))})})}}),!0):!1}},36785:function(Yt,je,e){e.d(je,{o2:function(){return c},yT:function(){return E}});var t=e(80702),i=e(33166);const h=i.i.map(n=>`${n}-inverse`),M=["success","processing","error","default","warning"];function c(n){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,t.Z)(h),(0,t.Z)(i.i)).includes(n):i.i.includes(n)}function E(n){return M.includes(n)}},50371:function(Yt,je){function e(){const t=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let i=1;i{const c=h[M];c!==void 0&&(t[M]=c)})}return t}je.Z=e},13845:function(Yt,je,e){e.d(je,{F:function(){return t},Z:function(){return i}});function t(h){return h!=null&&h===h.window}function i(h,M){var c,E;if(typeof window=="undefined")return 0;const n=M?"scrollTop":"scrollLeft";let Y=0;return t(h)?Y=h[M?"pageYOffset":"pageXOffset"]:h instanceof Document?Y=h.documentElement[n]:(h instanceof HTMLElement||h)&&(Y=h[n]),h&&!t(h)&&typeof Y!="number"&&(Y=(E=((c=h.ownerDocument)!==null&&c!==void 0?c:h).documentElement)===null||E===void 0?void 0:E[n]),Y}},56762:function(Yt,je,e){e.d(je,{Z:function(){return i}});var t=e(59301);function i(){const[,h]=t.useReducer(M=>M+1,0);return h}},79676:function(Yt,je,e){e.d(je,{Z:function(){return E}});var t=e(19447);function i(n,Y,ne,m){if(m===!1)return{adjustX:!1,adjustY:!1};const de=m&&typeof m=="object"?m:{},p={};switch(n){case"top":case"bottom":p.shiftX=Y.dropdownArrowOffset*2+ne;break;case"left":case"right":p.shiftY=Y.dropdownArrowOffsetVertical*2+ne;break}const P=Object.assign(Object.assign({},p),de);return P.shiftX||(P.adjustX=!0),P.shiftY||(P.adjustY=!0),P}const h={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},M={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},c=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function E(n){const{arrowWidth:Y,autoAdjustOverflow:ne,arrowPointAtCenter:m,offset:de,borderRadius:p,visibleFirst:P}=n,Z=Y/2,ee={};return Object.keys(h).forEach(te=>{const ke=m&&M[te]||h[te],ye=Object.assign(Object.assign({},ke),{offset:[0,0]});switch(ee[te]=ye,c.has(te)&&(ye.autoArrow=!1),te){case"top":case"topLeft":case"topRight":ye.offset[1]=-Z-de;break;case"bottom":case"bottomLeft":case"bottomRight":ye.offset[1]=Z+de;break;case"left":case"leftTop":case"leftBottom":ye.offset[0]=-Z-de;break;case"right":case"rightTop":case"rightBottom":ye.offset[0]=Z+de;break}const Be=(0,t.fS)({contentRadius:p,limitVerticalRadius:!0});if(m)switch(te){case"topLeft":case"bottomLeft":ye.offset[0]=-Be.dropdownArrowOffset-Z;break;case"topRight":case"bottomRight":ye.offset[0]=Be.dropdownArrowOffset+Z;break;case"leftTop":case"rightTop":ye.offset[1]=-Be.dropdownArrowOffset-Z;break;case"leftBottom":case"rightBottom":ye.offset[1]=Be.dropdownArrowOffset+Z;break}ye.overflow=i(te,Be,Y,ne),P&&(ye.htmlRegion="visibleFirst")}),ee}},68031:function(Yt,je,e){e.d(je,{Z:function(){return M}});var t=e(16089);function i(c,E,n,Y){const ne=n-E;return c/=Y/2,c<1?ne/2*c*c*c+E:ne/2*((c-=2)*c*c+2)+E}var h=e(13845);function M(c){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:Y,duration:ne=450}=E,m=n(),de=(0,h.Z)(m,!0),p=Date.now(),P=()=>{const ee=Date.now()-p,te=i(ee>ne?ne:ee,de,c,ne);(0,h.F)(m)?m.scrollTo(window.pageXOffset,te):m instanceof Document||m.constructor.name==="HTMLDocument"?m.documentElement.scrollTop=te:m.scrollTop=te,een||E},46400:function(Yt,je,e){e.d(je,{Z:function(){return $}});var t=e(29679),i=e(19248),h=e(99267),M=e(96512),c=e(78987),E=e(92310),n=e.n(E),Y=e(77900),ne=e(26112),m=e(59301),de=e(92343),p=e(36355),P=e(17313),Z=e(83116);const ee=(z,k,Ee,l,y)=>({backgroundColor:z,border:`${l.lineWidth}px ${l.lineType} ${k}`,[`${y}-icon`]:{color:Ee}}),te=z=>{const{componentCls:k,motionDurationSlow:Ee,marginXS:l,marginSM:y,fontSize:T,fontSizeLG:R,lineHeight:F,borderRadiusLG:U,motionEaseInOutCirc:ce,withDescriptionIconSize:Qe,colorText:Re,colorTextHeading:Ve,withDescriptionPadding:vt,defaultPadding:xt}=z;return{[k]:Object.assign(Object.assign({},(0,P.Wf)(z)),{position:"relative",display:"flex",alignItems:"center",padding:xt,wordWrap:"break-word",borderRadius:U,[`&${k}-rtl`]:{direction:"rtl"},[`${k}-content`]:{flex:1,minWidth:0},[`${k}-icon`]:{marginInlineEnd:l,lineHeight:0},"&-description":{display:"none",fontSize:T,lineHeight:F},"&-message":{color:Ve},[`&${k}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${Ee} ${ce}, opacity ${Ee} ${ce}, padding-top ${Ee} ${ce}, padding-bottom ${Ee} ${ce}, margin-bottom ${Ee} ${ce}`},[`&${k}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${k}-with-description`]:{alignItems:"flex-start",padding:vt,[`${k}-icon`]:{marginInlineEnd:y,fontSize:Qe,lineHeight:0},[`${k}-message`]:{display:"block",marginBottom:l,color:Ve,fontSize:R},[`${k}-description`]:{display:"block",color:Re}},[`${k}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},ke=z=>{const{componentCls:k,colorSuccess:Ee,colorSuccessBorder:l,colorSuccessBg:y,colorWarning:T,colorWarningBorder:R,colorWarningBg:F,colorError:U,colorErrorBorder:ce,colorErrorBg:Qe,colorInfo:Re,colorInfoBorder:Ve,colorInfoBg:vt}=z;return{[k]:{"&-success":ee(y,l,Ee,z,k),"&-info":ee(vt,Ve,Re,z,k),"&-warning":ee(F,R,T,z,k),"&-error":Object.assign(Object.assign({},ee(Qe,ce,U,z,k)),{[`${k}-description > pre`]:{margin:0,padding:0}})}}},ye=z=>{const{componentCls:k,iconCls:Ee,motionDurationMid:l,marginXS:y,fontSizeIcon:T,colorIcon:R,colorIconHover:F}=z;return{[k]:{"&-action":{marginInlineStart:y},[`${k}-close-icon`]:{marginInlineStart:y,padding:0,overflow:"hidden",fontSize:T,lineHeight:`${T}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${Ee}-close`]:{color:R,transition:`color ${l}`,"&:hover":{color:F}}},"&-close-text":{color:R,transition:`color ${l}`,"&:hover":{color:F}}}}},Be=z=>[te(z),ke(z),ye(z)];var Ae=(0,Z.Z)("Alert",z=>[Be(z)],z=>({withDescriptionIconSize:z.fontSizeHeading3,defaultPadding:`${z.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${z.paddingMD}px ${z.paddingContentHorizontalLG}px`})),Q=function(z,k){var Ee={};for(var l in z)Object.prototype.hasOwnProperty.call(z,l)&&k.indexOf(l)<0&&(Ee[l]=z[l]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,l=Object.getOwnPropertySymbols(z);y{const{icon:k,prefixCls:Ee,type:l}=z,y=C[l]||null;return k?(0,de.wm)(k,m.createElement("span",{className:`${Ee}-icon`},k),()=>({className:n()(`${Ee}-icon`,{[k.props.className]:k.props.className})})):m.createElement(y,{className:`${Ee}-icon`})},I=z=>{const{isClosable:k,prefixCls:Ee,closeIcon:l,handleClose:y}=z,T=l===!0||l===void 0?m.createElement(h.Z,null):l;return k?m.createElement("button",{type:"button",onClick:y,className:`${Ee}-close-icon`,tabIndex:0},T):null};var ae=z=>{const{description:k,prefixCls:Ee,message:l,banner:y,className:T,rootClassName:R,style:F,onMouseEnter:U,onMouseLeave:ce,onClick:Qe,afterClose:Re,showIcon:Ve,closable:vt,closeText:xt,closeIcon:mt,action:Oe}=z,_e=Q(z,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[v,S]=m.useState(!1),g=m.useRef(null),{getPrefixCls:o,direction:L,alert:le}=m.useContext(p.E_),f=o("alert",Ee),[s,_]=Ae(f),N=Pe=>{var Fe;S(!0),(Fe=z.onClose)===null||Fe===void 0||Fe.call(z,Pe)},B=m.useMemo(()=>z.type!==void 0?z.type:y?"warning":"info",[z.type,y]),J=m.useMemo(()=>xt?!0:typeof vt=="boolean"?vt:mt!==!1&&mt!==null&&mt!==void 0,[xt,mt,vt]),De=y&&Ve===void 0?!0:Ve,ie=n()(f,`${f}-${B}`,{[`${f}-with-description`]:!!k,[`${f}-no-icon`]:!De,[`${f}-banner`]:!!y,[`${f}-rtl`]:L==="rtl"},le==null?void 0:le.className,T,R,_),Le=(0,ne.Z)(_e,{aria:!0,data:!0});return s(m.createElement(Y.default,{visible:!v,motionName:`${f}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:Pe=>({maxHeight:Pe.offsetHeight}),onLeaveEnd:Re},Pe=>{let{className:Fe,style:Me}=Pe;return m.createElement("div",Object.assign({ref:g,"data-show":!v,className:n()(ie,Fe),style:Object.assign(Object.assign(Object.assign({},le==null?void 0:le.style),F),Me),onMouseEnter:U,onMouseLeave:ce,onClick:Qe,role:"alert"},Le),De?m.createElement(r,{description:k,icon:z.icon,prefixCls:f,type:B}):null,m.createElement("div",{className:`${f}-content`},l?m.createElement("div",{className:`${f}-message`},l):null,k?m.createElement("div",{className:`${f}-description`},k):null),Oe?m.createElement("div",{className:`${f}-action`},Oe):null,m.createElement(I,{isClosable:J,prefixCls:f,closeIcon:xt||mt,handleClose:N}))}))},H=e(96949),X=e(55090),A=e(77205),V=e(38793),be=function(z){(0,A.Z)(Ee,z);var k=(0,V.Z)(Ee);function Ee(){var l;return(0,H.Z)(this,Ee),l=k.apply(this,arguments),l.state={error:void 0,info:{componentStack:""}},l}return(0,X.Z)(Ee,[{key:"componentDidCatch",value:function(y,T){this.setState({error:y,info:T})}},{key:"render",value:function(){const{message:y,description:T,children:R}=this.props,{error:F,info:U}=this.state,ce=U&&U.componentStack?U.componentStack:null,Qe=typeof y=="undefined"?(F||"").toString():y,Re=typeof T=="undefined"?ce:T;return F?m.createElement(ae,{type:"error",message:Qe,description:m.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},Re)}):R}}]),Ee}(m.Component);const W=ae;W.ErrorBoundary=be;var $=W},88522:function(Yt,je,e){var t=e(92310),i=e.n(t),h=e(11592),M=e(2738),c=e(59301),E=e(53487),n=e(92343),Y=e(36355),ne=e(57809);const{Option:m}=ne.default;function de(ee){return ee&&ee.type&&(ee.type.isSelectOption||ee.type.isSelectOptGroup)}const p=(ee,te)=>{const{prefixCls:ke,className:ye,popupClassName:Be,dropdownClassName:Ae,children:Q,dataSource:C}=ee,r=(0,h.Z)(Q);let I;r.length===1&&(0,n.l$)(r[0])&&!de(r[0])&&([I]=r);const b=I?()=>I:void 0;let ae;r.length&&de(r[0])?ae=Q:ae=C?C.map(A=>{if((0,n.l$)(A))return A;switch(typeof A){case"string":return c.createElement(m,{key:A,value:A},A);case"object":{const{value:V}=A;return c.createElement(m,{key:V,value:V},A.text)}default:return}}):[];const{getPrefixCls:H}=c.useContext(Y.E_),X=H("select",ke);return c.createElement(ne.default,Object.assign({ref:te,suffixIcon:null},(0,M.Z)(ee,["dataSource","dropdownClassName"]),{prefixCls:X,popupClassName:Be||Ae,className:i()(`${X}-auto-complete`,ye),mode:ne.default.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:b}),ae)},P=c.forwardRef(p),Z=(0,E.Z)(P);P.Option=m,P._InternalPanelDoNotUseOrYouWillBeFired=Z,je.Z=P},24905:function(Yt,je,e){e.d(je,{default:function(){return I}});var t=e(92310),i=e.n(t),h=e(5630),M=e(59301),c=e(36355),E=e(1684),n=e(32441),ne=M.createContext(null),m=e(98447),de=e(14088),p=e(4572),P=function(b,ae){var H={};for(var X in b)Object.prototype.hasOwnProperty.call(b,X)&&ae.indexOf(X)<0&&(H[X]=b[X]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,X=Object.getOwnPropertySymbols(b);A{var H;const{prefixCls:X,className:A,rootClassName:V,children:D,indeterminate:be=!1,style:W,onMouseEnter:$,onMouseLeave:z,skipGroup:k=!1,disabled:Ee}=b,l=P(b,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:y,direction:T,checkbox:R}=M.useContext(c.E_),F=M.useContext(ne),{isFormItemInput:U}=M.useContext(n.aM),ce=M.useContext(E.Z),Qe=(H=(F==null?void 0:F.disabled)||Ee)!==null&&H!==void 0?H:ce,Re=M.useRef(l.value);M.useEffect(()=>{F==null||F.registerValue(l.value)},[]),M.useEffect(()=>{if(!k)return l.value!==Re.current&&(F==null||F.cancelValue(Re.current),F==null||F.registerValue(l.value),Re.current=l.value),()=>F==null?void 0:F.cancelValue(l.value)},[l.value]);const Ve=y("checkbox",X),[vt,xt]=(0,m.ZP)(Ve),mt=Object.assign({},l);F&&!k&&(mt.onChange=function(){l.onChange&&l.onChange.apply(l,arguments),F.toggleOption&&F.toggleOption({label:D,value:l.value})},mt.name=F.name,mt.checked=F.value.includes(l.value));const Oe=i()(`${Ve}-wrapper`,{[`${Ve}-rtl`]:T==="rtl",[`${Ve}-wrapper-checked`]:mt.checked,[`${Ve}-wrapper-disabled`]:Qe,[`${Ve}-wrapper-in-form-item`]:U},R==null?void 0:R.className,A,V,xt),_e=i()({[`${Ve}-indeterminate`]:be},p.A,xt),v=be?"mixed":void 0;return vt(M.createElement(de.Z,{component:"Checkbox",disabled:Qe},M.createElement("label",{className:Oe,style:Object.assign(Object.assign({},R==null?void 0:R.style),W),onMouseEnter:$,onMouseLeave:z},M.createElement(h.Z,Object.assign({"aria-checked":v},mt,{prefixCls:Ve,className:_e,disabled:Qe,ref:ae})),D!==void 0&&M.createElement("span",null,D))))};var te=M.forwardRef(Z),ke=e(80702),ye=e(2738),Be=function(b,ae){var H={};for(var X in b)Object.prototype.hasOwnProperty.call(b,X)&&ae.indexOf(X)<0&&(H[X]=b[X]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,X=Object.getOwnPropertySymbols(b);A{const{defaultValue:H,children:X,options:A=[],prefixCls:V,className:D,rootClassName:be,style:W,onChange:$}=b,z=Be(b,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:k,direction:Ee}=M.useContext(c.E_),[l,y]=M.useState(z.value||H||[]),[T,R]=M.useState([]);M.useEffect(()=>{"value"in z&&y(z.value||[])},[z.value]);const F=M.useMemo(()=>A.map(S=>typeof S=="string"||typeof S=="number"?{label:S,value:S}:S),[A]),U=S=>{R(g=>g.filter(o=>o!==S))},ce=S=>{R(g=>[].concat((0,ke.Z)(g),[S]))},Qe=S=>{const g=l.indexOf(S.value),o=(0,ke.Z)(l);g===-1?o.push(S.value):o.splice(g,1),"value"in z||y(o),$==null||$(o.filter(L=>T.includes(L)).sort((L,le)=>{const f=F.findIndex(_=>_.value===L),s=F.findIndex(_=>_.value===le);return f-s}))},Re=k("checkbox",V),Ve=`${Re}-group`,[vt,xt]=(0,m.ZP)(Re),mt=(0,ye.Z)(z,["value","disabled"]),Oe=A.length?F.map(S=>M.createElement(te,{prefixCls:Re,key:S.value.toString(),disabled:"disabled"in S?S.disabled:z.disabled,value:S.value,checked:l.includes(S.value),onChange:S.onChange,className:`${Ve}-item`,style:S.style,title:S.title},S.label)):X,_e={toggleOption:Qe,value:l,disabled:z.disabled,name:z.name,registerValue:ce,cancelValue:U},v=i()(Ve,{[`${Ve}-rtl`]:Ee==="rtl"},D,be,xt);return vt(M.createElement("div",Object.assign({className:v,style:W},mt,{ref:ae}),M.createElement(ne.Provider,{value:_e},Oe)))},Q=M.forwardRef(Ae);var C=M.memo(Q);const r=te;r.Group=C,r.__ANT_CHECKBOX=!0;var I=r},98447:function(Yt,je,e){e.d(je,{C2:function(){return c}});var t=e(17313),i=e(37613),h=e(83116);const M=E=>{const{checkboxCls:n}=E,Y=`${n}-wrapper`;return[{[`${n}-group`]:Object.assign(Object.assign({},(0,t.Wf)(E)),{display:"inline-flex",flexWrap:"wrap",columnGap:E.marginXS,[`> ${E.antCls}-row`]:{flex:1}}),[Y]:Object.assign(Object.assign({},(0,t.Wf)(E)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Y}`]:{marginInlineStart:0},[`&${Y}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[n]:Object.assign(Object.assign({},(0,t.Wf)(E)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:E.borderRadiusSM,alignSelf:"center",[`${n}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${n}-inner`]:Object.assign({},(0,t.oN)(E))},[`${n}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:E.checkboxSize,height:E.checkboxSize,direction:"ltr",backgroundColor:E.colorBgContainer,border:`${E.lineWidth}px ${E.lineType} ${E.colorBorder}`,borderRadius:E.borderRadiusSM,borderCollapse:"separate",transition:`all ${E.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:E.checkboxSize/14*5,height:E.checkboxSize/14*8,border:`${E.lineWidthBold}px solid ${E.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${E.motionDurationFast} ${E.motionEaseInBack}, opacity ${E.motionDurationFast}`}},"& + span":{paddingInlineStart:E.paddingXS,paddingInlineEnd:E.paddingXS}})},{[` ${Y}:not(${Y}-disabled), diff --git a/p__Shixuns__Edit__index.57ef5825.async.js b/p__Shixuns__Edit__index.0586cb0f.async.js similarity index 89% rename from p__Shixuns__Edit__index.57ef5825.async.js rename to p__Shixuns__Edit__index.0586cb0f.async.js index 9a5c2d5e52..c676f6782f 100644 --- a/p__Shixuns__Edit__index.57ef5825.async.js +++ b/p__Shixuns__Edit__index.0586cb0f.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[6277],{87169:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return bt}});var ue=Pe(72308),it=Pe(59301),Mt={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"},kt=Mt,Dt=Pe(7657),Wt=function(pt,St){return it.createElement(Dt.Z,(0,ue.Z)({},pt,{ref:St,icon:kt}))},Ve=it.forwardRef(Wt),bt=Ve},11724:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return bt}});var ue=Pe(72308),it=Pe(59301),Mt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"},kt=Mt,Dt=Pe(7657),Wt=function(pt,St){return it.createElement(Dt.Z,(0,ue.Z)({},pt,{ref:St,icon:kt}))},Ve=it.forwardRef(Wt),bt=Ve},32050:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return bt}});var ue=Pe(72308),it=Pe(59301),Mt={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"},kt=Mt,Dt=Pe(7657),Wt=function(pt,St){return it.createElement(Dt.Z,(0,ue.Z)({},pt,{ref:St,icon:kt}))},Ve=it.forwardRef(Wt),bt=Ve},37036:function(){"use strict"},88010:function(en,jn){"use strict";jn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},76895:function(en,jn){"use strict";jn.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},93055:function(en,jn){"use strict";jn.Z={titlesize:"titlesize___RiFfV",labelWrap:"labelWrap___gNw3Q",label:"label___uujJZ",labelContent:"labelContent___QsIDL",selectSchool:"selectSchool___HL1ax",dataPicker:"dataPicker___Ux1tp",itemWrap:"itemWrap___Q0uQz",img:"img___bqnNM",itemContent:"itemContent___FvPMp",nameWrap:"nameWrap___ALKio",name:"name___Q7c5Q",actionGroup:"actionGroup___qiWs0",schoolWrap:"schoolWrap___dXuoo",school:"school___CW5RX",colorOrange:"colorOrange___EkZAA",colorYellow:"colorYellow___evRzy",graaytitle:"graaytitle___LUmPS"}},74413:function(){"use strict";function en(Oe,te,ne,de){ne===void 0&&(ne=0),de===void 0&&(de=1/0),this._name=Oe,this._defaultValue=te,this._minimum=ne,this._maximum=de}Object.defineProperty(en.prototype,"name",{get:function(){return this._name},set:function(Oe){if(typeof Oe!="string"||Oe==="")throw new Error("Shape name must be a valid string.");this._name=Oe}}),Object.defineProperty(en.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(Oe){if(typeof Oe!="number"||isNaN(Oe))throw new Error("The default value must be a real number, not: "+Oe);this._defaultValue=Oe}}),Object.defineProperty(en.prototype,"minimum",{get:function(){return this._minimum},set:function(Oe){if(typeof Oe!="number"||isNaN(Oe))throw new Error("Minimum must be a real number, not: "+Oe);this._minimum=Oe}}),Object.defineProperty(en.prototype,"maximum",{get:function(){return this._maximum},set:function(Oe){if(typeof Oe!="number"||isNaN(Oe))throw new Error("Maximum must be a real number, not: "+Oe);this._maximum=Oe}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(Oe,te){var ne=go.Shape._FigureParameters[Oe];return ne?ne[te]:null},go.Shape.setFigureParameter=function(Oe,te,ne){if(!(ne instanceof en))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+ne);if(ne.defaultValuene.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+ne.defaultValue);var de=go.Shape._FigureParameters[Oe];de||(de=[],go.Shape._FigureParameters[Oe]=de),de[te]=ne};var jn=[];function Pe(Oe,te){var ne=jn.pop();return ne===void 0?new go.Point(Oe,te):(ne.x=Oe,ne.y=te,ne)}function ue(){var Oe=jn.pop();return Oe===void 0?new go.Point:Oe}function it(Oe){jn.push(Oe)}function Mt(Oe,te,ne,de,le,pe,xe,Ae,Me){Me||(Me=new go.Point);var ke=Oe-ne,lt=le-xe,dt=NaN,yt=NaN;if(ke===0)if(lt===0)Oe===ne&&(dt=Oe,yt=te);else{var ut=(pe-Ae)/lt,Tt=pe-ut*le;dt=Oe,yt=ut*dt+Tt}else if(lt===0){var xt=(te-de)/ke,Nt=te-xt*Oe;dt=le,yt=xt*dt+Nt}else{var xt=(te-de)/ke,ut=(pe-Ae)/lt,Nt=te-xt*Oe,Tt=pe-ut*le;dt=(Tt-Nt)/(xt-ut),yt=xt*dt+Nt}return Me.x=dt,Me.y=yt,Me}function kt(Oe,te,ne,de,le,pe,xe,Ae,Me,ke,lt,dt,yt,ut){var Tt=1-Me,xt=Me,Nt=Oe*Tt+ne*xt,Jt=te*Tt+de*xt,vn=ne*Tt+le*xt,Ai=de*Tt+pe*xt,hi=le*Tt+xe*xt,kn=pe*Tt+Ae*xt,ci=Nt*Tt+vn*xt,et=Jt*Tt+Ai*xt,ze=vn*Tt+hi*xt,yn=Ai*Tt+kn*xt,Xn=ci*Tt+ze*xt,ei=et*Tt+yn*xt;ke.x=Nt,ke.y=Jt,lt.x=ci,lt.y=et,dt.x=Xn,dt.y=ei,yt.x=ze,yt.y=yn,ut.x=hi,ut.y=kn}var Dt=new go.Spot(.156,.156),Wt=new go.Spot(.844,.844),Ve=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new en("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;(isNaN(de)||de<0)&&(de=5),de=Math.min(de,te/3),de=Math.min(de,ne/3);var le=de*Ve,pe=new go.Geometry().add(new go.PathFigure(de,0,!0).add(new go.PathSegment(go.PathSegment.Line,te-de,0)).add(new go.PathSegment(go.PathSegment.Bezier,te,de,te-le,0,te,le)).add(new go.PathSegment(go.PathSegment.Line,te,ne-de)).add(new go.PathSegment(go.PathSegment.Bezier,te-de,ne,te,ne-le,te-le,ne)).add(new go.PathSegment(go.PathSegment.Line,de,ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,ne-de,le,ne,0,ne-le)).add(new go.PathSegment(go.PathSegment.Line,0,de)).add(new go.PathSegment(go.PathSegment.Bezier,de,0,0,le,le,0).close()));return le>1&&(pe.spot1=new go.Spot(0,0,le,le),pe.spot2=new go.Spot(1,1,-le,-le)),pe}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(te,ne).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(te,ne).add(new go.PathSegment(go.PathSegment.Line,0,ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(Oe,te,ne){var de=new go.Geometry(go.Geometry.Line);return de.startX=0,de.startY=ne/2,de.endX=te,de.endY=ne/2,de}),go.Shape.defineFigureGenerator("LineV",function(Oe,te,ne){var de=new go.Geometry(go.Geometry.Line);return de.startX=te/2,de.startY=0,de.endX=te/2,de.endY=ne,de}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne/2,!1).add(new go.PathSegment(go.PathSegment.Line,te,ne/2)).add(new go.PathSegment(go.PathSegment.Move,te/2,0)).add(new go.PathSegment(go.PathSegment.Line,te/2,ne)))}),go.Shape.defineFigureGenerator("XLine",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)))}),go.Shape.defineFigureGenerator("LineRight",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.25*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.25*te,ne)))}),go.Shape.defineFigureGenerator("LineDown",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,.25*ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,.75*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)))}),go.Shape.defineFigureGenerator("LineLeft",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.75*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.75*te,ne)))}),go.Shape.defineFigureGenerator("LineUp",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,.75*ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(Oe,te,ne){var de=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(de*te,(1-de)*ne,!1).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,de*ne)).add(new go.PathSegment(go.PathSegment.Move,de*te,de*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,(1-de)*ne)).add(new go.PathSegment(go.PathSegment.Move,0,ne/2)).add(new go.PathSegment(go.PathSegment.Line,te,ne/2)).add(new go.PathSegment(go.PathSegment.Move,te/2,0)).add(new go.PathSegment(go.PathSegment.Line,te/2,ne)))}),go.Shape.defineFigureGenerator("CircleLine",function(Oe,te,ne){var de=te/2,le=new go.Geometry().add(new go.PathFigure(te,te/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,de,de,de,de).close()));return le.spot1=Dt,le.spot2=Wt,le.defaultStretch=go.GraphObject.Uniform,le}),go.Shape.defineFigureGenerator("Line1",function(Oe,te,ne){var de=new go.Geometry(go.Geometry.Line);return de.startX=0,de.startY=0,de.endX=te,de.endY=ne,de}),go.Shape.defineFigureGenerator("Line2",function(Oe,te,ne){var de=new go.Geometry(go.Geometry.Line);return de.startX=te,de.startY=0,de.endX=0,de.endY=ne,de}),go.Shape.defineFigureGenerator("Curve1",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,te,ne,Ve*te,0,te,(1-Ve)*ne)))}),go.Shape.defineFigureGenerator("Curve2",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,te,ne,0,Ve*ne,(1-Ve)*te,ne)))}),go.Shape.defineFigureGenerator("Curve3",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,te,Ve*ne,Ve*te,ne)))}),go.Shape.defineFigureGenerator("Curve4",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,(1-Ve)*te,0,0,(1-Ve)*ne)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(te,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new en("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)?de=.1:de<-1?de=-1:de>1&&(de=1);var le=Math.abs(de)*te;if(de===0){var pe=new go.Geometry(go.Geometry.Rectangle);return pe.startX=0,pe.startY=0,pe.endX=te,pe.endY=ne,pe}else{var pe=new go.Geometry;return de>0?pe.add(new go.PathFigure(le,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-le,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):pe.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te-le,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,le,ne).close())),lete&&(de=te);var le=Math.abs(de);if(de===0){var pe=new go.Geometry(go.Geometry.Rectangle);return pe.startX=0,pe.startY=0,pe.endX=te,pe.endY=ne,pe}else{var pe=new go.Geometry;return de>0?pe.add(new go.PathFigure(le,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-le,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):pe.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te-le,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,le,ne).close())),le.5&&(de=.5);var le=Math.abs(de)*te;if(de===0){var pe=new go.Geometry(go.Geometry.Rectangle);return pe.startX=0,pe.startY=0,pe.endX=te,pe.endY=ne,pe}else{var pe=new go.Geometry;return de>0?pe.add(new go.PathFigure(le,0).add(new go.PathSegment(go.PathSegment.Line,te-le,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):pe.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-le,ne)).add(new go.PathSegment(go.PathSegment.Line,le,ne).close())),lete&&(de=te/2);var le=Math.abs(de);if(de===0){var pe=new go.Geometry(go.Geometry.Rectangle);return pe.startX=0,pe.startY=0,pe.endX=te,pe.endY=ne,pe}else{var pe=new go.Geometry;return de>0?pe.add(new go.PathFigure(le,0).add(new go.PathSegment(go.PathSegment.Line,te-le,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):pe.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-le,ne)).add(new go.PathSegment(go.PathSegment.Line,le,ne).close())),lete&&(de=te/2);var le=Math.abs(de);if(de===0){var pe=new go.Geometry(go.Geometry.Rectangle);return pe.startX=0,pe.startY=0,pe.endX=te,pe.endY=ne,pe}else{var pe=new go.Geometry;return de>0?pe.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-le,ne)).add(new go.PathSegment(go.PathSegment.Line,le,ne).close())):pe.add(new go.PathFigure(le,0).add(new go.PathSegment(go.PathSegment.Line,te-le,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())),le0&&(xe.add(new go.PathSegment(go.PathSegment.Move,te/2+Ae,te/2)),xe.add(new go.PathSegment(go.PathSegment.Arc,0,-360,le,le,Ae,Ae).close())),pe.spot1=Dt,pe.spot2=Wt,pe.defaultStretch=go.GraphObject.Uniform,pe}),go.Shape.defineFigureGenerator("Cloud",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.08034461*te,.1944299*ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*te,.05349299*ne,-.09239631*te,.07836421*ne,.1406031*te,-.0542823*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*te,.074219*ne,.2450511*te,-.00697547*ne,.3776197*te,-.01112067*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*te,.07004196*ne,.4539471*te,0,.6066018*te,-.02526587*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*te,.08370865*ne,.6914277*te,-.01904177*ne,.8921095*te,-.01220843*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*te,.3194596*ne,1.036446*te,.04105738*ne,1.020377*te,.3022052*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*te,.562044*ne,1.04448*te,.360238*ne,.992256*te,.5219009*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*te,.8217117*ne,1.032337*te,.5771781*ne,1.018411*te,.8120651*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*te,.9156953*ne,1.028411*te,.9571472*ne,.8556702*te,1.052487*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*te,.9310455*ne,.7431877*te,1.009325*ne,.5624123*te,1.021761*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*te,.9344623*ne,.4820677*te,1.031761*ne,.3030112*te,1.002796*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*te,.870098*ne,.2329994*te,1.01518*ne,.03213784*te,1.01518*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*te,.6545475*ne,-.02812061*te,.9032597*ne,-.01205169*te,.6835638*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*te,.4265613*ne,-.01812061*te,.6089503*ne,-.00606892*te,.4555777*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*te,.1944299*ne,-.01606892*te,.3892545*ne,-.01205169*te,.1944299*ne))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(Oe,te,ne){var de=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(de*te,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,de*ne)).add(new go.PathSegment(go.PathSegment.Line,te,(1-de)*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,ne)).add(new go.PathSegment(go.PathSegment.Line,de*te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,(1-de)*ne)).add(new go.PathSegment(go.PathSegment.Line,0,de*ne).close())).setSpots(de/2,de/2,1-de/2,1-de/2)}),go.Shape.setFigureParameter("Pie",0,new en("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new en("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN,le=Oe?Oe.parameter2:NaN;isNaN(de)&&(de=0),isNaN(le)&&(le=315);var pe=de%360;pe<0&&(pe+=360);var xe=le%360,Ae=Math.min(te,ne)/2;return new go.Geometry().add(new go.PathFigure(Ae,Ae).add(new go.PathSegment(go.PathSegment.Arc,pe,xe,Ae,Ae,Ae,Ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(Oe,te,ne){var de=Ve/Math.SQRT2*.5,le=Math.SQRT2/2,pe=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(te,ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,le*te,pe*ne,te,(1-de)*ne,(le+de)*te,(pe+de)*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close()))}),go.Shape.setFigureParameter("ThickCross",0,new en("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;(isNaN(de)||de<0)&&(de=30);var le=Math.min(de,te)/2,pe=te/2,xe=ne/2;return new go.Geometry().add(new go.PathFigure(pe-le,0,!0).add(new go.PathSegment(go.PathSegment.Line,pe+le,0)).add(new go.PathSegment(go.PathSegment.Line,pe+le,xe-le)).add(new go.PathSegment(go.PathSegment.Line,te,xe-le)).add(new go.PathSegment(go.PathSegment.Line,te,xe+le)).add(new go.PathSegment(go.PathSegment.Line,pe+le,xe+le)).add(new go.PathSegment(go.PathSegment.Line,pe+le,ne)).add(new go.PathSegment(go.PathSegment.Line,pe-le,ne)).add(new go.PathSegment(go.PathSegment.Line,pe-le,xe+le)).add(new go.PathSegment(go.PathSegment.Line,0,xe+le)).add(new go.PathSegment(go.PathSegment.Line,0,xe-le)).add(new go.PathSegment(go.PathSegment.Line,pe-le,xe-le).close()))}),go.Shape.setFigureParameter("ThinCross",0,new en("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;(isNaN(de)||de<0)&&(de=10);var le=Math.min(de,te)/2,pe=te/2,xe=ne/2;return new go.Geometry().add(new go.PathFigure(pe-le,0,!0).add(new go.PathSegment(go.PathSegment.Line,pe+le,0)).add(new go.PathSegment(go.PathSegment.Line,pe+le,xe-le)).add(new go.PathSegment(go.PathSegment.Line,te,xe-le)).add(new go.PathSegment(go.PathSegment.Line,te,xe+le)).add(new go.PathSegment(go.PathSegment.Line,pe+le,xe+le)).add(new go.PathSegment(go.PathSegment.Line,pe+le,ne)).add(new go.PathSegment(go.PathSegment.Line,pe-le,ne)).add(new go.PathSegment(go.PathSegment.Line,pe-le,xe+le)).add(new go.PathSegment(go.PathSegment.Line,0,xe+le)).add(new go.PathSegment(go.PathSegment.Line,0,xe-le)).add(new go.PathSegment(go.PathSegment.Line,pe-le,xe-le).close()))}),go.Shape.setFigureParameter("ThickX",0,new en("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;if((isNaN(de)||de<0)&&(de=30),te===0||ne===0){var le=new go.Geometry(go.Geometry.Rectangle);return le.startX=0,le.startY=0,le.endX=te,le.endY=ne,le}else{var pe=te/2,xe=ne/2,Ae=Math.atan2(ne,te),Me=de-Math.min(Math.cos(Ae)*de/2,pe),ke=de-Math.min(Math.sin(Ae)*de/2,xe),le=new go.Geometry,lt=new go.PathFigure(Me,0,!0);return le.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,pe,.2*ne)),lt.add(new go.PathSegment(go.PathSegment.Line,te-Me,0)),lt.add(new go.PathSegment(go.PathSegment.Line,te,ke)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*te,xe)),lt.add(new go.PathSegment(go.PathSegment.Line,te,ne-ke)),lt.add(new go.PathSegment(go.PathSegment.Line,te-Me,ne)),lt.add(new go.PathSegment(go.PathSegment.Line,pe,.8*ne)),lt.add(new go.PathSegment(go.PathSegment.Line,Me,ne)),lt.add(new go.PathSegment(go.PathSegment.Line,0,ne-ke)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*te,xe)),lt.add(new go.PathSegment(go.PathSegment.Line,0,ke).close()),le}}),go.Shape.setFigureParameter("ThinX",0,new en("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;(isNaN(de)||de<0)&&(de=10);var le=new go.Geometry,pe=new go.PathFigure(.1*te,0,!0);return le.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.1*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.6*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.1*te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.9*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne).close()),le}),go.Shape.setFigureParameter("SquareIBeam",0,new en("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.2);var le=new go.Geometry,pe=new go.PathFigure(0,0,!0);return le.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,de*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(.5+de/2)*te,de*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(.5+de/2)*te,(1-de)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,(1-de)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,(1-de)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(.5-de/2)*te,(1-de)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(.5-de/2)*te,de*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,de*ne).close()),le}),go.Shape.setFigureParameter("RoundedIBeam",0,new en("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.5);var le=new go.Geometry,pe=new go.PathFigure(0,0,!0);return le.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te,ne,Math.abs(1-de)*te,.25*ne,Math.abs(1-de)*te,.75*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,de*te,.75*ne,de*te,.25*ne).close()),le}),go.Shape.defineFigureGenerator("HalfEllipse",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,Ve*te,0,te,(.5-Ve/2)*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,te,(.5+Ve/2)*ne,Ve*te,ne).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,te,0,te,ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*te,.75*ne,.5*te,.25*ne).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ne,.1*te,.8*ne,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ne,0,0,.45*te,0)).add(new go.PathSegment(go.PathSegment.Bezier,te,.3*ne,.55*te,0,te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,.5*ne,.9*te,.8*ne).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*te,.01*ne)).add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,.6*te,.2*ne,te,.25*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.7*ne,te,.8*ne,.6*te,.8*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ne,.5*te,.75*ne,.55*te,.95*ne)).add(new go.PathSegment(go.PathSegment.Line,.25*te,ne)).add(new go.PathSegment(go.PathSegment.Bezier,.45*te,.7*ne,.45*te,.95*ne,.5*te,.75*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.4*te,.8*ne,0,.8*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.49*te,.01*ne,0,.25*ne,.4*te,.2*ne).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.4*te,.6*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.15*te,ne,.5*te,.75*ne,.45*te,.95*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.85*te,ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.6*te,.6*ne,.55*te,.95*ne,.5*te,.75*ne));var pe=.2,xe=.3,Ae=0,Me=pe*Ve;return le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+xe)*te,(.5+pe+Ae)*ne,(.5-pe+xe)*te,(.5+Me+Ae)*ne,(.5-Me+xe)*te,(.5+pe+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+pe+xe)*te,(.5+Ae)*ne,(.5+Me+xe)*te,(.5+pe+Ae)*ne,(.5+pe+xe)*te,(.5+Me+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+xe)*te,(.5-pe+Ae)*ne,(1-.5+pe+xe)*te,(.5-Me+Ae)*ne,(.5+Me+xe)*te,(.5-pe+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.65*te,.36771243*ne,(.5-Me+xe)*te,(.5-pe+Ae)*ne,(.5-pe+xe+.05)*te,(.5-Me+Ae-.02)*ne)),pe=.2,xe=0,Ae=-.3,Me=pe*Ve,le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+pe+xe)*te,(.5+Ae)*ne,(.5+Me+xe)*te,(.5+pe+Ae)*ne,(.5+pe+xe)*te,(.5+Me+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+xe)*te,(.5-pe+Ae)*ne,(1-.5+pe+xe)*te,(.5-Me+Ae)*ne,(.5+Me+xe)*te,(.5-pe+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-pe+xe)*te,(.5+Ae)*ne,(.5-Me+xe)*te,(.5-pe+Ae)*ne,(.5-pe+xe)*te,(.5-Me+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-Me+xe)*te,(.5+pe+Ae)*ne,(.5-pe+xe)*te,(.5+Me+Ae)*ne,(.5-Me+xe)*te,(.5+pe+Ae)*ne)),pe=.2,xe=-.3,Ae=0,Me=pe*Ve,le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+xe)*te,(.5-pe+Ae)*ne,(1-.5+pe+xe-.05)*te,(.5-Me+Ae-.02)*ne,(.5+Me+xe)*te,(.5-pe+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-pe+xe)*te,(.5+Ae)*ne,(.5-Me+xe)*te,(.5-pe+Ae)*ne,(.5-pe+xe)*te,(.5-Me+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+xe)*te,(.5+pe+Ae)*ne,(.5-pe+xe)*te,(.5+Me+Ae)*ne,(.5-Me+xe)*te,(.5+pe+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,.6*ne,(.5+Me+xe)*te,(.5+pe+Ae)*ne,(.5+pe+xe)*te,(.5+Me+Ae)*ne).close()),de.setSpots(.06,.33,.93,.68),de}),go.Shape.defineFigureGenerator("YinYang",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*.5,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Arc,270,180,te*.5,te*.5,te*.5,te*.5)),le.add(new go.PathSegment(go.PathSegment.Arc,90,-180,te*.5,te*.75,te*.25,te*.25)),le.add(new go.PathSegment(go.PathSegment.Arc,90,180,te*.5,te*.25,te*.25,te*.25));var pe=.1,xe=.5,Ae=.25;return le.add(new go.PathSegment(go.PathSegment.Move,(xe+pe)*te,Ae*ne)),le.add(new go.PathSegment(go.PathSegment.Arc,0,-360,te*xe,ne*Ae,pe*te,pe*te).close()),le=new go.PathFigure(te*.5,0,!1),de.add(le),le.add(new go.PathSegment(go.PathSegment.Arc,270,-180,te*.5,te*.5,te*.5,te*.5)),Ae=.75,le=new go.PathFigure((xe+pe)*te,Ae*ne,!0),de.add(le),le.add(new go.PathSegment(go.PathSegment.Arc,0,360,te*xe,ne*Ae,pe*te,pe*te).close()),de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("Peace",function(Oe,te,ne){var de=.8535533905932737,le=.5*te,pe=.5*ne;return new go.Geometry().add(new go.PathFigure(le,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,le,pe,le,pe)).add(new go.PathSegment(go.PathSegment.Line,le,ne)).add(new go.PathSegment(go.PathSegment.Move,le,pe)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,de*ne)).add(new go.PathSegment(go.PathSegment.Move,le,pe)).add(new go.PathSegment(go.PathSegment.Line,de*te,de*ne)))}),go.Shape.defineFigureGenerator("NotAllowed",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=.5,xe=.5,Ae=.5,Me=new go.PathFigure(xe*te,(Ae-pe)*ne);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-pe)*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne)),pe=.4,le=Ve*.4;var ke=ue(),lt=ue(),dt=ue(),yt=ue();kt(xe,Ae-pe,xe+le,Ae-pe,xe+pe,Ae-le,xe+pe,Ae,.42,ke,lt,dt,yt,yt);var ut=ue(),Tt=ue(),xt=ue();kt(xe,Ae-pe,xe+le,Ae-pe,xe+pe,Ae-le,xe+pe,Ae,.58,yt,yt,xt,ut,Tt);var Nt=ue(),Jt=ue(),vn=ue();kt(xe,Ae+pe,xe-le,Ae+pe,xe-pe,Ae+le,xe-pe,Ae,.42,Nt,Jt,vn,yt,yt);var Ai=ue(),hi=ue(),kn=ue();return kt(xe,Ae+pe,xe-le,Ae+pe,xe-pe,Ae+le,xe-pe,Ae,.58,yt,yt,kn,Ai,hi),Me.add(new go.PathSegment(go.PathSegment.Move,kn.x*te,kn.y*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,Ai.x*te,Ai.y*ne,hi.x*te,hi.y*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,dt.x*te,dt.y*ne,ke.x*te,ke.y*ne,lt.x*te,lt.y*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,kn.x*te,kn.y*ne).close()),Me.add(new go.PathSegment(go.PathSegment.Move,vn.x*te,vn.y*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,xt.x*te,xt.y*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,ut.x*te,ut.y*ne,Tt.x*te,Tt.y*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,vn.x*te,vn.y*ne,Nt.x*te,Nt.y*ne,Jt.x*te,Jt.y*ne).close()),it(ke),it(lt),it(dt),it(yt),it(ut),it(Tt),it(xt),it(Nt),it(Jt),it(vn),it(Ai),it(hi),it(kn),de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("Fragile",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*te,0)).add(new go.PathSegment(go.PathSegment.Line,.2*te,.15*ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,.29*te,.33*ne)).add(new go.PathSegment(go.PathSegment.Line,.35*te,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.15*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.5*ne,te,.25*ne,.75*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.55*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.45*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.45*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.5*ne,0,.25*ne).close()))}),go.Shape.setFigureParameter("HourGlass",0,new en("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;(isNaN(de)||de<0)&&(de=30),de>te&&(de=te);var le=(te-de)/2,pe=le+de;return new go.Geometry().add(new go.PathFigure(pe,.5*ne).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne)).add(new go.PathSegment(go.PathSegment.Line,le,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,te,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,.55*ne).add(new go.PathSegment(go.PathSegment.Line,.6*te,0)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.45*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.45*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.55*ne).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.4,pe=.4,xe=.5,Ae=.5,Me=ue(),ke=ue(),lt=ue(),dt=ue(),yt=new go.PathFigure((xe-pe)*te,Ae*ne,!1);de.add(yt),yt.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne)),kt(xe,Ae-pe,xe+le,Ae-pe,xe+pe,Ae-le,xe+pe,Ae,.44,lt,dt,ke,Me,Me),yt.add(new go.PathSegment(go.PathSegment.Bezier,ke.x*te,ke.y*ne,lt.x*te,lt.y*ne,dt.x*te,dt.y*ne));var ut=Pe(ke.x,ke.y);kt(xe,Ae-pe,xe+le,Ae-pe,xe+pe,Ae-le,xe+pe,Ae,.56,Me,Me,ke,lt,dt);var Tt=Pe(ke.x,ke.y);yt.add(new go.PathSegment(go.PathSegment.Line,(ut.x*.1+.95*.9)*te,ut.y*.1*ne)),yt.add(new go.PathSegment(go.PathSegment.Line,.85*te,ut.y*.1*ne)),yt.add(new go.PathSegment(go.PathSegment.Line,.85*te,0)),yt.add(new go.PathSegment(go.PathSegment.Line,te,0)),yt.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),yt.add(new go.PathSegment(go.PathSegment.Line,(Tt.x*.1+.9)*te,.15*ne)),yt.add(new go.PathSegment(go.PathSegment.Line,(Tt.x*.1+.9)*te,(Tt.y*.1+.05*.9)*ne)),yt.add(new go.PathSegment(go.PathSegment.Line,Tt.x*te,Tt.y*ne)),yt.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,lt.x*te,lt.y*ne,dt.x*te,dt.y*ne)),yt.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne)),yt.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,(xe-le)*te,(Ae+pe)*ne,(xe-pe)*te,(Ae+le)*ne)),pe=.35,le=Ve*.35;var xt=new go.PathFigure(xe*te,(Ae-pe)*ne,!1);de.add(xt),xt.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),xt.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne)),xt.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),xt.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-pe)*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne));var Nt=new go.PathFigure((xe-pe)*te,Ae*ne,!1);return de.add(Nt),it(Me),it(ke),it(lt),it(dt),it(ut),it(Tt),de.spot1=new go.Spot(.202,.257),de.spot2=new go.Spot(.792,.739),de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("GenderFemale",function(Oe,te,ne){var de=new go.Geometry,le=.375,pe=0,xe=-.125,Ae=le*Ve,Me=new go.PathFigure((.525+pe)*te,(.5+le+xe)*ne,!1);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+le+pe)*te,(.5+xe)*ne,(.5+Ae+pe)*te,(.5+le+xe)*ne,(.5+le+pe)*te,(.5+Ae+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+pe)*te,(.5-le+xe)*ne,(1-.5+le+pe)*te,(.5-Ae+xe)*ne,(.5+Ae+pe)*te,(.5-le+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+pe)*te,(.5+xe)*ne,(.5-Ae+pe)*te,(.5-le+xe)*ne,(.5-le+pe)*te,(.5-Ae+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(.475+pe)*te,(.5+le+xe)*ne,(.5-le+pe)*te,(.5+Ae+xe)*ne,(.5-Ae+pe)*te,(.5+le+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.475*te,.85*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.425*te,.85*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.425*te,.9*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.475*te,.9*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.475*te,ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.525*te,ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.525*te,.9*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.575*te,.9*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.575*te,.85*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.525*te,.85*ne).close()),le=.325,pe=0,xe=-.125,Ae=le*Ve;var Me=new go.PathFigure((1-.5+le+pe)*te,(.5+xe)*ne,!1);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+pe)*te,(.5+le+xe)*ne,(.5+le+pe)*te,(.5+Ae+xe)*ne,(.5+Ae+pe)*te,(.5+le+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+pe)*te,(.5+xe)*ne,(.5-Ae+pe)*te,(.5+le+xe)*ne,(.5-le+pe)*te,(.5+Ae+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+pe)*te,(.5-le+xe)*ne,(.5-le+pe)*te,(.5-Ae+xe)*ne,(.5-Ae+pe)*te,(.5-le+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+le+pe)*te,(.5+xe)*ne,(.5+Ae+pe)*te,(.5-le+xe)*ne,(1-.5+le+pe)*te,(.5-Ae+xe)*ne));var Me=new go.PathFigure((.525+pe)*te,(.5+le+xe)*ne,!1);return de.add(Me),de.spot1=new go.Spot(.232,.136),de.spot2=new go.Spot(.682,.611),de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("LogicImplies",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;return isNaN(de)&&(de=.2),new go.Geometry().add(new go.PathFigure((1-de)*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;return isNaN(de)&&(de=.2),new go.Geometry().add(new go.PathFigure((1-de)*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,de*te,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,de*te,ne))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)))}),go.Shape.defineFigureGenerator("LogicAnd",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,te,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(Oe,te,ne){var de=new go.Geometry().add(new go.PathFigure(.5*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*te,.5*ne,.5*te,.5*ne)));return de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("LogicTruth",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,.5*te,0)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Move,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne)))}),go.Shape.defineFigureGenerator("LogicForAll",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,.25*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ne))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,0,ne)).add(new go.PathSegment(go.PathSegment.Line,te,ne))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(Oe,te,ne){var de=.5;return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,0,de*ne)).add(new go.PathSegment(go.PathSegment.Arc,180,180,de*te,de*ne,de*te,de*ne)).add(new go.PathSegment(go.PathSegment.Line,te,ne))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(Oe,te,ne){var de=.5;return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,de*ne)).add(new go.PathSegment(go.PathSegment.Arc,0,180,de*te,de*ne,de*te,de*ne)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new en("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new en("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.3);var le=Oe?Oe.parameter2:NaN;isNaN(le)&&(le=.3);var pe=(1-de)*te,xe=(.5-le/2)*ne,Ae=(.5+le/2)*ne,Me=new go.Geometry,ke=new go.PathFigure(0,xe,!0);Me.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,pe,xe)),ke.add(new go.PathSegment(go.PathSegment.Line,pe,0)),ke.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,pe,ne)),ke.add(new go.PathSegment(go.PathSegment.Line,pe,Ae)),ke.add(new go.PathSegment(go.PathSegment.Line,0,Ae).close()),Me.spot1=new go.Spot(0,xe/ne);var lt=Mt(0,Ae/ne,1,Ae/ne,pe/te,1,1,.5,ue());return Me.spot2=new go.Spot(lt.x,lt.y),it(lt),Me}),go.Shape.setFigureParameter("Arrow2",0,new en("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new en("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=30),de>te&&(de=te);var le=Oe?Oe.parameter2:NaN;isNaN(le)&&(le=30),le=Math.min(le,ne/2);var pe=te-de,xe=(ne-le)/2,Ae=xe+le,Me=new go.Geometry,ke=new go.PathFigure(0,xe,!0);Me.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,pe,xe)),ke.add(new go.PathSegment(go.PathSegment.Line,pe,0)),ke.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,pe,ne)),ke.add(new go.PathSegment(go.PathSegment.Line,pe,Ae)),ke.add(new go.PathSegment(go.PathSegment.Line,0,Ae).close()),Me.spot1=new go.Spot(0,xe/ne);var lt=Mt(0,Ae/ne,1,Ae/ne,pe/te,1,1,.5,ue());return Me.spot2=new go.Spot(lt.x,lt.y),it(lt),Me}),go.Shape.defineFigureGenerator("Chevron",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne).close()),de}),go.Shape.defineFigureGenerator("DoubleArrow",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,.214*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,1*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,1*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,.786*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,1*ne).close()),de}),go.Shape.setFigureParameter("DoubleEndArrow",0,new en("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.3);var le=(.5-de/2)*ne,pe=(.5+de/2)*ne,xe=new go.Geometry,Ae=new go.PathFigure(te,.5*ne,!0);xe.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*te,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*te,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close());var Me=Mt(0,.5,.3,0,0,le/ne,.1,le/ne,ue());return xe.spot1=new go.Spot(Me.x,Me.y),Me=Mt(.7,1,1,.5,0,pe/ne,1,pe/ne,Me),xe.spot2=new go.Spot(Me.x,Me.y),it(Me),xe}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new en("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new en("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=40);var le=Oe?Oe.parameter2:NaN;isNaN(le)&&(le=100);var pe=(ne-de)/2,xe=pe+de,Ae=(ne-le)/2,Me=Ae+le;(de>ne||le>ne)&&(le>de?(de=de*ne/le,pe=(ne-de)/2,xe=pe+de,Ae=0,Me=ne):(pe=0,xe=ne,Ae=0,Me=ne));var ke=new go.Geometry,lt=new go.PathFigure(te,.5*ne,!0);ke.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,Me)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,xe)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*te,xe)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*te,Me)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*te,Ae)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*te,pe)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,pe)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,Ae).close());var dt=Mt(0,.5,.3,Ae/ne,0,pe/ne,1,pe/ne,ue());return ke.spot1=new go.Spot(dt.x,dt.y),dt=Mt(.7,Me/ne,1,.5,0,xe/ne,1,xe/ne,dt),ke.spot2=new go.Spot(dt.x,dt.y),it(dt),ke}),go.Shape.setFigureParameter("IBeamArrow",0,new en("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.3);var le=(.5-de/2)*ne,pe=(.5+de/2)*ne,xe=new go.Geometry,Ae=new go.PathFigure(te,.5*ne,!0);xe.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*te,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*te,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*te,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),xe.spot1=new go.Spot(0,le/ne);var Me=Mt(.7,1,1,.5,0,pe/ne,1,pe/ne,ue());return xe.spot2=new go.Spot(Me.x,Me.y),it(Me),xe}),go.Shape.setFigureParameter("IBeamArrow2",0,new en("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new en("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=40);var le=Oe?Oe.parameter2:NaN;isNaN(le)&&(le=100);var pe=(ne-de)/2,xe=pe+de,Ae=(ne-le)/2,Me=Ae+le;(de>ne||le>ne)&&(le>de?(de=de*ne/le,pe=(ne-de)/2,xe=pe+de,Ae=0,Me=ne):(pe=0,xe=ne,Ae=0,Me=ne));var ke=new go.Geometry,lt=new go.PathFigure(te,.5*ne,!0);ke.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,Me)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,xe)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*te,xe)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*te,Me)),lt.add(new go.PathSegment(go.PathSegment.Line,0,Me)),lt.add(new go.PathSegment(go.PathSegment.Line,0,Ae)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*te,Ae)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*te,pe)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,pe)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,Ae).close()),ke.spot1=new go.Spot(0,pe/ne);var dt=Mt(.7,Me/ne,1,.5,0,xe/ne,1,xe/ne,ue());return ke.spot2=new go.Spot(dt.x,dt.y),it(dt),ke}),go.Shape.setFigureParameter("Pointer",0,new en("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.1);var le=new go.Geometry,pe=new go.PathFigure(te,.5*ne,!0);le.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,de*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),le.spot1=new go.Spot(de,.35);var xe=Mt(.2,.65,1,.65,0,1,1,.5,ue());return le.spot2=new go.Spot(xe.x,xe.y),it(xe),le}),go.Shape.setFigureParameter("RoundedPointer",0,new en("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.3);var le=new go.Geometry,pe=new go.PathFigure(te,.5*ne,!0);le.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,de*te,.75*ne,de*te,.25*ne).close()),le.spot1=new go.Spot(de,.35);var xe=Mt(0,.65,1,.65,0,1,1,.5,ue());return le.spot2=new go.Spot(xe.x,xe.y),it(xe),le}),go.Shape.setFigureParameter("SplitEndArrow",0,new en("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.4);var le=(.5-de/2)*ne,pe=(.5+de/2)*ne,xe=new go.Geometry,Ae=new go.PathFigure(te,.5*ne,!0);xe.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),xe.spot1=new go.Spot(.2,.3);var Me=Mt(.7,1,1,.5,0,pe/ne,1,pe/ne,ue());return xe.spot2=new go.Spot(Me.x,Me.y),it(Me),xe}),go.Shape.setFigureParameter("SplitEndArrow2",0,new en("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=50);var le=(ne-de)/2,pe=le+de;de>ne&&(le=0,pe=ne);var xe=new go.Geometry,Ae=new go.PathFigure(te,.5*ne,!0);xe.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),xe.spot1=new go.Spot(.2,le/ne);var Me=Mt(.7,1,1,.5,0,pe/ne,1,pe/ne,ue());return xe.spot2=new go.Spot(Me.x,Me.y),it(Me),xe}),go.Shape.setFigureParameter("SquareArrow",0,new en("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.7);var le=new go.Geometry,pe=new go.PathFigure(te,.5*ne,!0);return le.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,de*te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,de*te,0).close()),le.spot1=go.Spot.TopLeft,le.spot2=new go.Spot(de,1),le}),go.Shape.defineFigureGenerator("Cone1",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=Ve*.1,xe=new go.PathFigure(0,.9*ne,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.9+pe)*ne,(.5+le)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-le)*te,ne,0,(.9+pe)*ne).close()),de.spot1=new go.Spot(.25,.5),de.spot2=new go.Spot(.75,.97),de}),go.Shape.defineFigureGenerator("Cone2",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.9*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,te,.9*ne,(1-.85/.9)*te,ne,.85/.9*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,0,.9*ne).close());var pe=new go.PathFigure(0,.9*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,te,.9*ne,(1-.85/.9)*te,.8*ne,.85/.9*te,.8*ne)),de.spot1=new go.Spot(.25,.5),de.spot2=new go.Spot(.75,.82),de}),go.Shape.defineFigureGenerator("Cube1",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,0,.15*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne).close());var pe=new go.PathFigure(.5*te,ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.3*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.15*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.5*te,.3*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),de.spot1=new go.Spot(0,.3),de.spot2=new go.Spot(.5,.85),de}),go.Shape.defineFigureGenerator("Cube2",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.3*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,0).close());var pe=new go.PathFigure(0,.3*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*te,.3*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Move,.7*te,.3*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),de.spot1=new go.Spot(0,.3),de.spot2=new go.Spot(.7,1),de}),go.Shape.defineFigureGenerator("Cylinder1",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=5),de=Math.min(de,ne/3);var le=new go.Geometry,pe=Ve*.5,xe=new go.PathFigure(0,de,!0);le.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,Ve*de,(.5-pe)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,1*te,de,(.5+pe)*te,0,1*te,Ve*de)),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne-de)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,1*ne,1*te,ne-Ve*de,(.5+pe)*te,1*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-de,(.5-pe)*te,1*ne,0,ne-Ve*de)),xe.add(new go.PathSegment(go.PathSegment.Line,0,de));var Ae=new go.PathFigure(te,de,!1);return le.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,2*de,1*te,2*de-Ve*de,(.5+pe)*te,2*de)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,de,(.5-pe)*te,2*de,0,2*de-Ve*de)),le.spot1=new go.Spot(0,0,0,2*de),le.spot2=new go.Spot(1,1),le}),go.Shape.defineFigureGenerator("Cylinder2",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=5),de=Math.min(de,ne/3);var le=new go.Geometry,pe=Ve*.5,xe=new go.PathFigure(0,ne-de,!0);le.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,0,de)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,Ve*de,(.5-pe)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,de,(.5+pe)*te,0,te,Ve*de)),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne-de)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,ne-Ve*de,(.5+pe)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-de,(.5-pe)*te,ne,0,ne-Ve*de));var Ae=new go.PathFigure(0,ne-de,!1);return le.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne-2*de,0,ne-de-Ve*de,(.5-pe)*te,ne-2*de)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te,ne-de,(.5+pe)*te,ne-2*de,te,ne-de-Ve*de)),le.spot1=new go.Spot(0,0),le.spot2=new go.Spot(1,1,0,-2*de),le}),go.Shape.defineFigureGenerator("Cylinder3",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=5),de=Math.min(de,te/3);var le=new go.Geometry,pe=Ve*.5,xe=new go.PathFigure(de,0,!0);le.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te-de,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,te-Ve*de,0,te,(.5-pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te-de,ne,te,(.5+pe)*ne,te-Ve*de,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,de,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,Ve*de,ne,0,(.5+pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,de,0,0,(.5-pe)*ne,Ve*de,0));var Ae=new go.PathFigure(de,0,!1);return le.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,2*de,.5*ne,de+Ve*de,0,2*de,(.5-pe)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,de,ne,2*de,(.5+pe)*ne,de+Ve*de,ne)),le.spot1=new go.Spot(0,0,2*de,0),le.spot2=new go.Spot(1,1),le}),go.Shape.defineFigureGenerator("Cylinder4",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=5),de=Math.min(de,te/3);var le=new go.Geometry,pe=Ve*.5,xe=new go.PathFigure(te-de,0,!0);le.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,te-Ve*de,0,te,(.5-pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te-de,ne,te,(.5+pe)*ne,te-Ve*de,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,de,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,Ve*de,ne,0,(.5+pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,de,0,0,(.5-pe)*ne,Ve*de,0)),xe.add(new go.PathSegment(go.PathSegment.Line,te-de,0));var Ae=new go.PathFigure(te-de,0,!1);return le.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te-2*de,.5*ne,te-de-Ve*de,0,te-2*de,(.5-pe)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te-de,ne,te-2*de,(.5+pe)*ne,te-de-Ve*de,ne)),le.spot1=new go.Spot(0,0),le.spot2=new go.Spot(1,1,-2*de,0),le}),go.Shape.defineFigureGenerator("Prism1",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.25*te,.25*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var pe=new go.PathFigure(.25*te,.25*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),de.spot1=new go.Spot(.408,.172),de.spot2=new go.Spot(.833,.662),de}),go.Shape.defineFigureGenerator("Prism2",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.25*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var pe=new go.PathFigure(0,ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,0,.25*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ne)),de.spot1=new go.Spot(.25,.5),de.spot2=new go.Spot(.75,.75),de}),go.Shape.defineFigureGenerator("Pyramid1",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne).close());var pe=new go.PathFigure(.5*te,0,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),de.spot1=new go.Spot(.25,.367),de.spot2=new go.Spot(.75,.875),de}),go.Shape.defineFigureGenerator("Pyramid2",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne).close());var pe=new go.PathFigure(.5*te,0,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.7*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.5*te,.7*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),de.spot1=new go.Spot(.25,.367),de.spot2=new go.Spot(.75,.875),de}),go.Shape.defineFigureGenerator("Actor",function(Oe,te,ne){var de=new go.Geometry,le=.2,pe=.1,xe=Ve*le,Ae=Ve*pe,Me=.5,ke=.1,lt=new go.PathFigure(Me*te,(ke+pe)*ne,!0);de.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,(Me-le)*te,ke*ne,(Me-xe)*te,(ke+pe)*ne,(Me-le)*te,(ke+Ae)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-pe)*ne,(Me-le)*te,(ke-Ae)*ne,(Me-xe)*te,(ke-pe)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+le)*te,ke*ne,(Me+xe)*te,(ke-pe)*ne,(Me+le)*te,(ke-Ae)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke+pe)*ne,(Me+le)*te,(ke+Ae)*ne,(Me+xe)*te,(ke+pe)*ne));var dt=.05,yt=Ve*dt;Me=.05,ke=.25;var ut=new go.PathFigure(.5*te,.2*ne,!0);return de.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.95*te,.2*ne)),Me=.95,ke=.25,ut.add(new go.PathSegment(go.PathSegment.Bezier,(Me+dt)*te,ke*ne,(Me+yt)*te,(ke-dt)*ne,(Me+dt)*te,(ke-yt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,te,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.85*te,.35*ne)),dt=.025,yt=Ve*dt,Me=.825,ke=.35,ut.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-dt)*ne,(Me+dt)*te,(ke-yt)*ne,(Me+yt)*te,(ke-dt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Me-dt)*te,ke*ne,(Me-yt)*te,(ke-dt)*ne,(Me-dt)*te,(ke-yt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*te,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*te,.7*ne)),dt=.05,yt=Ve*dt,Me=.5,ke=.7,ut.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-dt)*ne,(Me+dt)*te,(ke-yt)*ne,(Me+yt)*te,(ke-dt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Me-dt)*te,ke*ne,(Me-yt)*te,(ke-dt)*ne,(Me-dt)*te,(ke-yt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.45*te,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.2*te,.35*ne)),dt=.025,yt=Ve*dt,Me=.175,ke=.35,ut.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-dt)*ne,(Me+dt)*te,(ke-yt)*ne,(Me+yt)*te,(ke-dt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Me-dt)*te,ke*ne,(Me-yt)*te,(ke-dt)*ne,(Me-dt)*te,(ke-yt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),dt=.05,yt=Ve*dt,Me=.05,ke=.25,ut.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-dt)*ne,(Me-dt)*te,(ke-yt)*ne,(Me-yt)*te,(ke-dt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.5*te,.2*ne)),de.spot1=new go.Spot(.2,.2),de.spot2=new go.Spot(.8,.65),de}),go.Shape.setFigureParameter("Card",0,new en("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.2);var le=new go.Geometry,pe=new go.PathFigure(te,0,!0);return le.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,de*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,de*te,0).close()),le.spot1=new go.Spot(0,de),le.spot2=go.Spot.BottomRight,le}),go.Shape.defineFigureGenerator("Collate",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,.5*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne));var pe=new go.PathFigure(.5*te,.5*ne,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),de.spot1=new go.Spot(.25,0),de.spot2=new go.Spot(.75,.25),de}),go.Shape.defineFigureGenerator("CreateRequest",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.1);var pe=new go.PathFigure(0,0,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var xe=new go.PathFigure(0,le*ne,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,le*ne)),xe.add(new go.PathSegment(go.PathSegment.Move,0,(1-le)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,(1-le)*ne)),de}),go.Shape.defineFigureGenerator("Database",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=Ve*.1,xe=new go.PathFigure(te,.1*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.9+pe)*ne,(.5+le)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-le)*te,ne,0,(.9+pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,(.1-pe)*ne,(.5-le)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ne,(.5+le)*te,0,te,(.1-pe)*ne));var Ae=new go.PathFigure(te,.1*ne,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ne,te,(.1+pe)*ne,(.5+le)*te,.2*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ne,(.5-le)*te,.2*ne,0,(.1+pe)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,te,.2*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ne,te,(.2+pe)*ne,(.5+le)*te,.3*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ne,(.5-le)*te,.3*ne,0,(.2+pe)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,te,.3*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.4*ne,te,(.3+pe)*ne,(.5+le)*te,.4*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ne,(.5-le)*te,.4*ne,0,(.3+pe)*ne)),de.spot1=new go.Spot(0,.4),de.spot2=new go.Spot(1,.9),de}),go.Shape.defineFigureGenerator("DataStorage",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ne,te,0,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.9*ne,.25*te,.1*ne).close()),de.spot1=new go.Spot(.226,0),de.spot2=new go.Spot(.81,1),de}),go.Shape.defineFigureGenerator("DiskStorage",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=Ve*.1,xe=new go.PathFigure(te,.1*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.9+pe)*ne,(.5+le)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-le)*te,ne,0,(.9+pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,(.1-pe)*ne,(.5-le)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ne,(.5+le)*te,0,te,(.1-pe)*ne));var Ae=new go.PathFigure(te,.1*ne,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ne,te,(.1+pe)*ne,(.5+le)*te,.2*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ne,(.5-le)*te,.2*ne,0,(.1+pe)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,te,.2*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ne,te,(.2+pe)*ne,(.5+le)*te,.3*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ne,(.5-le)*te,.3*ne,0,(.2+pe)*ne)),de.spot1=new go.Spot(0,.3),de.spot2=new go.Spot(1,.9),de}),go.Shape.defineFigureGenerator("Display",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.25*te,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ne,te,0,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.25*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close()),de.spot1=new go.Spot(.25,0),de.spot2=new go.Spot(.75,1),de}),go.Shape.defineFigureGenerator("DividedEvent",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)?le=.2:le<.15&&(le=.15);var pe=Ve*.2,xe=new go.PathFigure(0,.2*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,0,(.2-pe)*ne,(.2-pe)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,.2*ne,(.8+pe)*te,0,te,(.2-pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,ne,te,(.8+pe)*ne,(.8+pe)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*ne,(.2-pe)*te,ne,0,(.8+pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne));var Ae=new go.PathFigure(0,le*ne,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te,le*ne)),de}),go.Shape.defineFigureGenerator("DividedProcess",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;(isNaN(le)||le<.1)&&(le=.1);var pe=new go.PathFigure(0,0,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var xe=new go.PathFigure(0,le*ne,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,le*ne)),de}),go.Shape.defineFigureGenerator("Document",function(Oe,te,ne){var de=new go.Geometry;ne=ne/.8;var le=new go.PathFigure(0,.7*ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*te,.4*ne,.5*te,ne).close()),de.spot1=go.Spot.TopLeft,de.spot2=new go.Spot(1,.6),de}),go.Shape.defineFigureGenerator("ExternalOrganization",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;(isNaN(le)||le<.2)&&(le=.2);var pe=new go.PathFigure(0,0,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var xe=new go.PathFigure(le*te,0,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,0,le*ne)),xe.add(new go.PathSegment(go.PathSegment.Move,te,le*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,(1-le)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Move,0,(1-le)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,le*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Move,(1-le)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,(1-le)*ne)),de}),go.Shape.defineFigureGenerator("ExternalProcess",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close());var pe=new go.PathFigure(.1*te,.4*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.1*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.9*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.6*te,.1*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*te,.1*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.4*te,.9*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.6*te,.9*ne)),de.spot1=new go.Spot(.25,.25),de.spot2=new go.Spot(.75,.75),de}),go.Shape.defineFigureGenerator("File",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var pe=new go.PathFigure(.75*te,0,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.75*te,.25*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),de.spot1=new go.Spot(0,.25),de.spot2=go.Spot.BottomRight,de}),go.Shape.defineFigureGenerator("Interrupt",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te,.5*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne));var pe=new go.PathFigure(te,.5*ne,!1);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne));var xe=new go.PathFigure(te,.5*ne,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,0)),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.5,.75),de}),go.Shape.defineFigureGenerator("InternalStorage",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN,pe=Oe?Oe.parameter2:NaN;isNaN(le)&&(le=.1),isNaN(pe)&&(pe=.1);var xe=new go.PathFigure(0,0,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Ae=new go.PathFigure(le*te,0,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,le*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,0,pe*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,te,pe*ne)),de}),go.Shape.defineFigureGenerator("Junction",function(Oe,te,ne){var de=new go.Geometry,le=1/Math.SQRT2,pe=(1-1/Math.SQRT2)/2,xe=Ve*.5,Ae=.5,Me=new go.PathFigure(te,Ae*ne,!0);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,Ae*te,ne,te,(Ae+xe)*ne,(Ae+xe)*te,ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,0,Ae*ne,(Ae-xe)*te,ne,0,(Ae+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,Ae*te,0,0,(Ae-xe)*ne,(Ae-xe)*te,0)),Me.add(new go.PathSegment(go.PathSegment.Bezier,te,Ae*ne,(Ae+xe)*te,0,te,(Ae-xe)*ne));var ke=new go.PathFigure((pe+le)*te,(pe+le)*ne,!1);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,pe*te,pe*ne)),ke.add(new go.PathSegment(go.PathSegment.Move,pe*te,(pe+le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,(pe+le)*te,pe*ne)),de}),go.Shape.defineFigureGenerator("LinedDocument",function(Oe,te,ne){var de=new go.Geometry;ne=ne/.8;var le=new go.PathFigure(0,.7*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*te,.4*ne,.5*te,ne).close());var pe=new go.PathFigure(.1*te,0,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.1*te,.75*ne)),de.spot1=new go.Spot(.1,0),de.spot2=new go.Spot(1,.6),de}),go.Shape.defineFigureGenerator("LoopLimit",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.25*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne).close()),de.spot1=new go.Spot(0,.25),de.spot2=go.Spot.BottomRight,de}),go.Shape.defineFigureGenerator("MagneticTape",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=.5,xe=new go.PathFigure(.5*te,ne,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,pe*ne,(pe-le)*te,ne,0,(pe+le)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,pe*te,0,0,(pe-le)*ne,(pe-le)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,pe*ne,(pe+le)*te,0,te,(pe-le)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(pe+.1)*te,.9*ne,te,(pe+le)*ne,(pe+le)*te,.9*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),de.spot1=new go.Spot(.15,.15),de.spot2=new go.Spot(.85,.8),de}),go.Shape.defineFigureGenerator("ManualInput",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne).close()),de.spot1=new go.Spot(0,.25),de.spot2=go.Spot.BottomRight,de}),go.Shape.defineFigureGenerator("MessageFromUser",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.7);var pe=new go.PathFigure(0,0,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,le*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de.spot1=go.Spot.TopLeft,de}),go.Shape.defineFigureGenerator("MicroformProcessing",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.25);var pe=new go.PathFigure(0,0,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,le*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,(1-le)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de}),go.Shape.defineFigureGenerator("MicroformRecording",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(1,.75),de}),go.Shape.defineFigureGenerator("MultiDocument",function(Oe,te,ne){var de=new go.Geometry;ne=ne/.8;var le=new go.PathFigure(te,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.44*ne,.96*te,.47*ne,.93*te,.45*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.54*ne,.86*te,.57*ne,.83*te,.55*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.4*te,.4*ne,.4*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,0).close());var pe=new go.PathFigure(.1*te,.2*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.54*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.2*te,.1*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.1*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.44*ne)),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.8,.77),de}),go.Shape.defineFigureGenerator("MultiProcess",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.1*te,.1*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,.9*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.9*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ne).close());var pe=new go.PathFigure(.2*te,.1*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.1*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.1*te,.2*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.9*ne)),de.spot1=new go.Spot(0,.2),de.spot2=new go.Spot(.8,1),de}),go.Shape.defineFigureGenerator("OfflineStorage",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.1);var pe=1-le,xe=new go.PathFigure(0,0,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne).close());var Ae=new go.PathFigure(.5*le*te,le*ne,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*le)*te,le*ne)),de}),go.Shape.defineFigureGenerator("OffPageConnector",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de.spot1=go.Spot.TopLeft,de.spot2=new go.Spot(.75,1),de}),go.Shape.defineFigureGenerator("Or",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=.5,xe=new go.PathFigure(te,pe*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,pe*te,ne,te,(pe+le)*ne,(pe+le)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,pe*ne,(pe-le)*te,ne,0,(pe+le)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,pe*te,0,0,(pe-le)*ne,(pe-le)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,pe*ne,(pe+le)*te,0,te,(pe-le)*ne));var Ae=new go.PathFigure(te,.5*ne,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,.5*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),de}),go.Shape.defineFigureGenerator("PaperTape",function(Oe,te,ne){var de=new go.Geometry;ne=ne/.8;var le=new go.PathFigure(0,.7*ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.3*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,te,.3*ne,.5*te,.6*ne,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*te,.4*ne,.5*te,ne).close()),de.spot1=new go.Spot(0,.49),de.spot2=new go.Spot(1,.75),de}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN,pe=Oe?Oe.parameter2:NaN;isNaN(le)&&(le=.1),isNaN(pe)&&(pe=.3);var xe=new go.PathFigure(0,0,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,(1-pe)*te,.5*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN,pe=Oe?Oe.parameter2:NaN;isNaN(le)&&(le=.1),isNaN(pe)&&(pe=.3);var xe=new go.PathFigure(0,0,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,(1-pe)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,(1-pe)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de}),go.Shape.defineFigureGenerator("Procedure",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.1);var pe=new go.PathFigure(0,0,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var xe=new go.PathFigure((1-le)*te,0,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,(1-le)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Move,le*te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,le*te,ne)),de}),go.Shape.defineFigureGenerator("Process",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.1);var pe=new go.PathFigure(0,0,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var xe=new go.PathFigure(le*te,0,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,le*te,ne)),de.spot2=go.Spot.BottomRight,de}),go.Shape.defineFigureGenerator("Sort",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close());var pe=new go.PathFigure(0,.5*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),de.spot1=new go.Spot(.25,.25),de.spot2=new go.Spot(.75,.5),de}),go.Shape.defineFigureGenerator("Start",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.25);var pe=new go.PathFigure(le*te,0,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*te,.5*ne,.25*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*te,.5*ne,.25*te,.5*ne));var xe=new go.PathFigure(le*te,0,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,le*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Move,(1-le)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,(1-le)*te,ne)),de.spot1=new go.Spot(le,0),de.spot2=new go.Spot(1-le,1),de}),go.Shape.defineFigureGenerator("Terminator",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.25*te,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*te,.5*ne,.25*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*te,.5*ne,.25*te,.5*ne)),de.spot1=new go.Spot(.23,0),de.spot2=new go.Spot(.77,1),de}),go.Shape.defineFigureGenerator("TransmittalTape",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.1);var pe=new go.PathFigure(0,0,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.75*te,(1-le)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,(1-le)*ne).close()),de.spot1=go.Spot.TopLeft,de}),go.Shape.defineFigureGenerator("AndGate",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=new go.PathFigure(0,0,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,(.5+le)*te,0,te,(.5-le)*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.5+le)*ne,(.5+le)*te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de.spot1=go.Spot.TopLeft,de.spot2=new go.Spot(.55,1),de}),go.Shape.defineFigureGenerator("Buffer",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.5,.75),de}),go.Shape.defineFigureGenerator("Clock",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=.5,xe=new go.PathFigure(te,pe*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,pe*te,ne,te,(pe+le)*ne,(pe+le)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,pe*ne,(pe-le)*te,ne,0,(pe+le)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,pe*te,0,0,(pe-le)*ne,(pe-le)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,pe*ne,(pe+le)*te,0,te,(pe-le)*ne));var Ae=new go.PathFigure(te,pe*ne,!1);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te,pe*ne));var Me=new go.PathFigure(.8*te,.75*ne,!1);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,.8*te,.25*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.6*te,.25*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.6*te,.75*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.4*te,.75*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.4*te,.25*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.2*te,.25*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.2*te,.75*ne)),de}),go.Shape.defineFigureGenerator("Ground",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.2*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.3*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.7*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.4*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,ne)),de}),go.Shape.defineFigureGenerator("Inverter",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.1,pe=.1,xe=.9,Ae=.5,Me=new go.PathFigure(.8*te,.5*ne,!0);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),Me.add(new go.PathSegment(go.PathSegment.Line,0,0)),Me.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ne));var ke=new go.PathFigure((xe+pe)*te,Ae*ne,!0);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,(xe-le)*te,(Ae+pe)*ne,(xe-pe)*te,(Ae+le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,(xe+le)*te,(Ae-pe)*ne,(xe+pe)*te,(Ae-le)*ne)),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.4,.75),de}),go.Shape.defineFigureGenerator("NandGate",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=Ve*.4,xe=Ve*.1,Ae=.1,Me=.9,ke=.5,lt=new go.PathFigure(.8*te,.5*ne,!0);de.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,ne,.8*te,(.5+pe)*ne,(.4+le)*te,ne)),lt.add(new go.PathSegment(go.PathSegment.Line,0,ne)),lt.add(new go.PathSegment(go.PathSegment.Line,0,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ne,(.4+le)*te,0,.8*te,(.5-pe)*ne));var dt=new go.PathFigure((Me+Ae)*te,ke*ne,!0);return de.add(dt),dt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke+Ae)*ne,(Me+Ae)*te,(ke+xe)*ne,(Me+xe)*te,(ke+Ae)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(Me-Ae)*te,ke*ne,(Me-xe)*te,(ke+Ae)*ne,(Me-Ae)*te,(ke+xe)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-Ae)*ne,(Me-Ae)*te,(ke-xe)*ne,(Me-xe)*te,(ke-Ae)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+Ae)*te,ke*ne,(Me+xe)*te,(ke-Ae)*ne,(Me+Ae)*te,(ke-xe)*ne)),de.spot1=new go.Spot(0,.05),de.spot2=new go.Spot(.55,.95),de}),go.Shape.defineFigureGenerator("NorGate",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=Ve*le,xe=0,Ae=.5,Me=new go.PathFigure(.8*te,.5*ne,!0);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.7*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.75*ne,.25*te,.25*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ne,(xe+pe)*te,(Ae-le)*ne,.7*te,(Ae-pe)*ne)),le=.1,pe=Ve*.1,xe=.9,Ae=.5;var ke=new go.PathFigure((xe-le)*te,Ae*ne,!0);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(xe+le)*te,Ae*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(xe-le)*te,Ae*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne)),de.spot1=new go.Spot(.2,.25),de.spot2=new go.Spot(.6,.75),de}),go.Shape.defineFigureGenerator("OrGate",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=Ve*le,xe=0,Ae=.5,Me=new go.PathFigure(0,0,!0);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,(xe+pe+pe)*te,(Ae-le)*ne,.8*te,(Ae-pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.8*te,(Ae+pe)*ne,(xe+pe+pe)*te,(Ae+le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.75*ne,.25*te,.25*ne).close()),de.spot1=new go.Spot(.2,.25),de.spot2=new go.Spot(.75,.75),de}),go.Shape.defineFigureGenerator("XnorGate",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=Ve*le,xe=.2,Ae=.5,Me=new go.PathFigure(.1*te,0,!1);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,ne,.35*te,.25*ne,.35*te,.75*ne));var ke=new go.PathFigure(.8*te,.5*ne,!0);de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,ne,.7*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,.45*te,.75*ne,.45*te,.25*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ne,(xe+pe)*te,(Ae-le)*ne,.7*te,(Ae-pe)*ne)),le=.1,pe=Ve*.1,xe=.9,Ae=.5;var lt=new go.PathFigure((xe-le)*te,Ae*ne,!0);return de.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(xe+le)*te,Ae*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(xe-le)*te,Ae*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne)),de.spot1=new go.Spot(.4,.25),de.spot2=new go.Spot(.65,.75),de}),go.Shape.defineFigureGenerator("XorGate",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=Ve*le,xe=.2,Ae=.5,Me=new go.PathFigure(.1*te,0,!1);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,ne,.35*te,.25*ne,.35*te,.75*ne));var ke=new go.PathFigure(.2*te,0,!0);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,(xe+pe)*te,(Ae-le)*ne,.9*te,(Ae-pe)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,ne,.9*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,.45*te,.75*ne,.45*te,.25*ne).close()),de.spot1=new go.Spot(.4,.25),de.spot2=new go.Spot(.8,.75),de}),go.Shape.defineFigureGenerator("Capacitor",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Move,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),de}),go.Shape.defineFigureGenerator("Resistor",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.5*ne,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.7*te,.5*ne)),de}),go.Shape.defineFigureGenerator("Inductor",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.1,pe=.1,xe=.1,Ae=.5,Me=new go.PathFigure((xe-le*.5)*te,ne,!1);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,0,(xe-le)*te,ne,(xe-pe)*te,0)),xe=.3,Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,ne,(xe+pe)*te,0,(xe+le)*te,ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,0,(xe-le)*te,ne,(xe-pe)*te,0)),xe=.5,Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,ne,(xe+pe)*te,0,(xe+le)*te,ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,0,(xe-le)*te,ne,(xe-pe)*te,0)),xe=.7,Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,ne,(xe+pe)*te,0,(xe+le)*te,ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,0,(xe-le)*te,ne,(xe-pe)*te,0)),xe=.9,Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+le*.5)*te,ne,(xe+pe)*te,0,(xe+le)*te,ne)),de}),go.Shape.defineFigureGenerator("ACvoltageSource",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=.5,xe=.5,Ae=.5,Me=new go.PathFigure((xe-pe)*te,Ae*ne,!1);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,(xe+le)*te,(Ae-pe)*ne,(xe+pe)*te,(Ae-le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,(xe-le)*te,(Ae+pe)*ne,(xe-pe)*te,(Ae+le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Move,(xe-pe+.1)*te,Ae*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe-.1)*te,Ae*ne,xe*te,(Ae-pe)*ne,xe*te,(Ae+pe)*ne)),de}),go.Shape.defineFigureGenerator("DCvoltageSource",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.75*ne,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Move,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),de}),go.Shape.defineFigureGenerator("Diode",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.5,.75),de}),go.Shape.defineFigureGenerator("Wifi",function(Oe,te,ne){var de=new go.Geometry,le=te,pe=ne;te=te*.38,ne=ne*.6;var xe=Ve*.8,Ae=.8,Me=0,ke=.5,lt=(le-te)/2,dt=(pe-ne)/2,yt=new go.PathFigure(Me*te+lt,(ke+Ae)*ne+dt,!0);de.add(yt),yt.add(new go.PathSegment(go.PathSegment.Bezier,(Me-Ae)*te+lt,ke*ne+dt,(Me-xe)*te+lt,(ke+Ae)*ne+dt,(Me-Ae)*te+lt,(ke+xe)*ne+dt)),yt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke-Ae)*ne+dt,(Me-Ae)*te+lt,(ke-xe)*ne+dt,(Me-xe)*te+lt,(ke-Ae)*ne+dt)),yt.add(new go.PathSegment(go.PathSegment.Bezier,(Me-Ae+xe*.5)*te+lt,ke*ne+dt,Me*te+lt,(ke-Ae)*ne+dt,(Me-Ae+xe*.5)*te+lt,(ke-xe)*ne+dt)),yt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke+Ae)*ne+dt,(Me-Ae+xe*.5)*te+lt,(ke+xe)*ne+dt,Me*te+lt,(ke+Ae)*ne+dt).close()),xe=Ve*.4,Ae=.4,Me=.2,ke=.5;var ut=new go.PathFigure(Me*te+lt,(ke+Ae)*ne+dt,!0);de.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Me-Ae)*te+lt,ke*ne+dt,(Me-xe)*te+lt,(ke+Ae)*ne+dt,(Me-Ae)*te+lt,(ke+xe)*ne+dt)),ut.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke-Ae)*ne+dt,(Me-Ae)*te+lt,(ke-xe)*ne+dt,(Me-xe)*te+lt,(ke-Ae)*ne+dt)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Me-Ae+xe*.5)*te+lt,ke*ne+dt,Me*te+lt,(ke-Ae)*ne+dt,(Me-Ae+xe*.5)*te+lt,(ke-xe)*ne+dt)),ut.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke+Ae)*ne+dt,(Me-Ae+xe*.5)*te+lt,(ke+xe)*ne+dt,Me*te+lt,(ke+Ae)*ne+dt).close()),xe=Ve*.2,Ae=.2,Me=.5,ke=.5;var Tt=new go.PathFigure((Me-Ae)*te+lt,ke*ne+dt,!0);de.add(Tt),Tt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke-Ae)*ne+dt,(Me-Ae)*te+lt,(ke-xe)*ne+dt,(Me-xe)*te+lt,(ke-Ae)*ne+dt)),Tt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+Ae)*te+lt,ke*ne+dt,(Me+xe)*te+lt,(ke-Ae)*ne+dt,(Me+Ae)*te+lt,(ke-xe)*ne+dt)),Tt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke+Ae)*ne+dt,(Me+Ae)*te+lt,(ke+xe)*ne+dt,(Me+xe)*te+lt,(ke+Ae)*ne+dt)),Tt.add(new go.PathSegment(go.PathSegment.Bezier,(Me-Ae)*te+lt,ke*ne+dt,(Me-xe)*te+lt,(ke+Ae)*ne+dt,(Me-Ae)*te+lt,(ke+xe)*ne+dt)),xe=Ve*.4,Ae=.4,Me=.8,ke=.5;var xt=new go.PathFigure(Me*te+lt,(ke-Ae)*ne+dt,!0);de.add(xt),xt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+Ae)*te+lt,ke*ne+dt,(Me+xe)*te+lt,(ke-Ae)*ne+dt,(Me+Ae)*te+lt,(ke-xe)*ne+dt)),xt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke+Ae)*ne+dt,(Me+Ae)*te+lt,(ke+xe)*ne+dt,(Me+xe)*te+lt,(ke+Ae)*ne+dt)),xt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+Ae-xe*.5)*te+lt,ke*ne+dt,Me*te+lt,(ke+Ae)*ne+dt,(Me+Ae-xe*.5)*te+lt,(ke+xe)*ne+dt)),xt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke-Ae)*ne+dt,(Me+Ae-xe*.5)*te+lt,(ke-xe)*ne+dt,Me*te+lt,(ke-Ae)*ne+dt).close()),xe=Ve*.8,Ae=.8,Me=1,ke=.5;var Nt=new go.PathFigure(Me*te+lt,(ke-Ae)*ne+dt,!0);return de.add(Nt),Nt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+Ae)*te+lt,ke*ne+dt,(Me+xe)*te+lt,(ke-Ae)*ne+dt,(Me+Ae)*te+lt,(ke-xe)*ne+dt)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke+Ae)*ne+dt,(Me+Ae)*te+lt,(ke+xe)*ne+dt,(Me+xe)*te+lt,(ke+Ae)*ne+dt)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+Ae-xe*.5)*te+lt,ke*ne+dt,Me*te+lt,(ke+Ae)*ne+dt,(Me+Ae-xe*.5)*te+lt,(ke+xe)*ne+dt)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke-Ae)*ne+dt,(Me+Ae-xe*.5)*te+lt,(ke-xe)*ne+dt,Me*te+lt,(ke-Ae)*ne+dt).close()),de}),go.Shape.defineFigureGenerator("Email",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var pe=new go.PathFigure(0,0,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Move,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.45*te,.54*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.54*ne)),de}),go.Shape.defineFigureGenerator("Ethernet",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.35*te,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.65*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.65*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.35*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.35*te,0).close());var pe=new go.PathFigure(.1*te,ne,!0,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.1*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.1*te,ne).close());var xe=new go.PathFigure(.6*te,ne,!0,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.6*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.6*te,.6*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.6*te,ne).close());var Ae=new go.PathFigure(0,.5*ne,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,.5*te,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,.75*te,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.75*te,.6*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,.25*te,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.25*te,.6*ne)),de}),go.Shape.defineFigureGenerator("Power",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.4,pe=.4,xe=.5,Ae=.5,Me=ue(),ke=ue(),lt=ue(),dt=ue();kt(xe,Ae-pe,xe+le,Ae-pe,xe+pe,Ae-le,xe+pe,Ae,.5,Me,Me,ke,lt,dt);var yt=Pe(ke.x,ke.y),ut=new go.PathFigure(ke.x*te,ke.y*ne,!0);de.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,lt.x*te,lt.y*ne,dt.x*te,dt.y*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,(xe-le)*te,(Ae+pe)*ne,(xe-pe)*te,(Ae+le)*ne)),kt(xe-pe,Ae,xe-pe,Ae-le,xe-le,Ae-pe,xe,Ae-pe,.5,lt,dt,ke,Me,Me),ut.add(new go.PathSegment(go.PathSegment.Bezier,ke.x*te,ke.y*ne,lt.x*te,lt.y*ne,dt.x*te,dt.y*ne)),le=Ve*.3,pe=.3,kt(xe-pe,Ae,xe-pe,Ae-le,xe-le,Ae-pe,xe,Ae-pe,.5,lt,dt,ke,Me,Me),ut.add(new go.PathSegment(go.PathSegment.Line,ke.x*te,ke.y*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,dt.x*te,dt.y*ne,lt.x*te,lt.y*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),kt(xe,Ae-pe,xe+le,Ae-pe,xe+pe,Ae-le,xe+pe,Ae,.5,Me,Me,ke,lt,dt),ut.add(new go.PathSegment(go.PathSegment.Bezier,ke.x*te,ke.y*ne,dt.x*te,dt.y*ne,lt.x*te,lt.y*ne).close());var ut=new go.PathFigure(.45*te,0,!0);return de.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.45*te,.5*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*te,.5*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*te,0).close()),it(Me),it(ke),it(lt),it(dt),it(yt),de.spot1=new go.Spot(.25,.45),de.spot2=new go.Spot(.75,.8),de}),go.Shape.defineFigureGenerator("Fallout",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne/2,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Arc,180,360,te/2,ne/2,te/2,ne/2));function pe(xe,Ae,Me){xe.add(new go.PathSegment(go.PathSegment.Move,(.3+Ae)*te,(.8+Me)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,(.5+Ae)*te,(.5+Me)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,(.1+Ae)*te,(.5+Me)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,(.3+Ae)*te,(.8+Me)*ne).close())}return pe(le,0,0),pe(le,.4,0),pe(le,.2,-.3),de}),go.Shape.defineFigureGenerator("IrritationHazard",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.2*te,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.3*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.7*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne).close()),de.spot1=new go.Spot(.3,.3),de.spot2=new go.Spot(.7,.7),de}),go.Shape.defineFigureGenerator("ElectricalHazard",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.37*te,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.11*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.77*te,.04*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.33*te,.49*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.37*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.63*te,.86*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.77*te,.91*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.34*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.34*te,.78*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.44*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.65*te,.56*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.68*ne).close()),de}),go.Shape.defineFigureGenerator("FireHazard",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.1*te,ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.29*te,0,-.25*te,.63*ne,.45*te,.44*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.51*te,.42*ne,.48*te,.17*ne,.54*te,.35*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.59*te,.18*ne,.59*te,.29*ne,.58*te,.28*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,.6*ne,.8*te,.34*ne,.88*te,.43*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.88*te,.31*ne,.87*te,.48*ne,.88*te,.43*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,ne,1.17*te,.76*ne,.82*te,.8*ne).close()),de.spot1=new go.Spot(.07,.445),de.spot2=new go.Spot(.884,.958),de}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=0,xe=0,Ae=le*Ve,Me=.4*Math.SQRT2/2+.5,ke=.5-.5*Math.SQRT2/2,lt=1,dt=.5,yt=.5,ut=0,Tt=new go.PathFigure(Me*te,(1-ke)*ne,!1);return de.add(Tt),Tt.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,dt*ne,lt*te,.7*ne,lt*te,dt*ne)),Tt.add(new go.PathSegment(go.PathSegment.Bezier,(yt+pe)*te,(ut+pe)*ne,(.5+le+pe)*te,(.5-Ae+pe)*ne,(.5+Ae+pe)*te,(.5-le+pe)*ne)),Tt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+pe)*te,(.5+xe)*ne,(.5-Ae+pe)*te,(.5-le+xe)*ne,(.5-le+pe)*te,(.5-Ae+xe)*ne)),Tt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+pe)*te,.9*ne,(.5-le+pe)*te,(.5+Ae+xe)*ne,(.5-Ae+pe)*te,.9*ne)),Tt.add(new go.PathSegment(go.PathSegment.Move,(.25+pe)*te,.8*ne)),Tt.add(new go.PathSegment(go.PathSegment.Line,(.35+pe)*te,.9*ne)),Tt.add(new go.PathSegment(go.PathSegment.Line,(.2+pe)*te,.95*ne)),de}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Move,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),de}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Move,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),de}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);de.add(le);var pe=new go.PathFigure(te,ne,!1);de.add(pe);var xe=new go.PathFigure(0,.5*ne,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.5*ne,.2*te,.35*ne,.3*te,.35*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,.7*te,.65*ne,.8*te,.65*ne)),de}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.5*ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne).close()),de}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.2*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne).close());var le=new go.PathFigure(0,.2*ne,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),de}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.7*te,ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,0,.6*te,.5*ne,0,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.7*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,ne,.4*te,.5*ne,te,.5*ne).close());var pe=new go.PathFigure(.45*te,.73*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*te,.73*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.38*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.63*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.31*te,.27*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.56*te,.27*ne)),de}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);de.add(le);var pe=new go.PathFigure(.335*te,(1-.555)*ne,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.335*te,(1-.405)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.405)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.555)*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te,.68*ne,(1-.12)*te,.46*ne,(1-.02)*te,.54*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.68*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.335*te,(1-.555)*ne,.02*te,.54*ne,.12*te,.46*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.365*te,(1-.595)*ne));var xe=.5-.285,Ae=.5,Me=xe,ke=Math.PI/4,lt=4*(1-Math.cos(ke))/(3*Math.sin(ke)),dt=lt*.5,yt=xe,ut=xe,Tt=lt*yt,xt=lt*ut;pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-yt)*te,Me*ne,(Ae-(Tt+yt)/2)*te,(Me+(ut+xt)/2)*ne,(Ae-yt)*te,(Me+xt)*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,Ae*te,(Me-ut)*ne,(Ae-yt)*te,(Me-xt)*ne,(Ae-Tt)*te,(Me-ut)*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+yt)*te,Me*ne,(Ae+Tt)*te,(Me-ut)*ne,(Ae+yt)*te,(Me-xt)*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*te,(1-.595)*ne,(Ae+yt)*te,(Me+xt)*ne,(Ae+(Tt+yt)/2)*te,(Me+(ut+xt)/2)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*te,(1-.595)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.555)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.405)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.335*te,(1-.405)*ne));var Nt=new go.PathFigure(.2*te,ne,!1);de.add(Nt),Nt.add(new go.PathSegment(go.PathSegment.Line,.2*te,.8*ne));var Jt=new go.PathFigure(.8*te,ne,!1);return de.add(Jt),Jt.add(new go.PathSegment(go.PathSegment.Line,.8*te,.8*ne)),de}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.1*te,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,ne).close());var pe=new go.PathFigure(.2*te,.2*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.2*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.2*te,.8*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.8*ne)),de}),go.Shape.defineFigureGenerator("BpmnEventError",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.33*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.66*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.66*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.33*te,.5*ne).close()),de}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);de.add(le);var pe=new go.PathFigure(te,ne,!1);de.add(pe);var xe=new go.PathFigure(.1*te,ne,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne).close()),de}),go.Shape.defineFigureGenerator("Caution",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.05*te,ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,.8*ne,0,ne,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.45*te,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.1*ne,.5*te,0,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.95*te,.9*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,ne,te,ne,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.05*te,ne));var pe=.05;return le.add(new go.PathSegment(go.PathSegment.Move,(.5-pe)*te,.875*ne)),le.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*te,.875*ne,pe*te,pe*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.325*ne,.575*te,.725*ne,.625*te,.375*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.75*ne,.375*te,.375*ne,.425*te,.725*ne)),de}),go.Shape.defineFigureGenerator("Recycle",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.45*te,.95*ne,!1);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,.95*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.185*te,.85*ne,.17*te,.95*ne,.15*te,.9*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.235*te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,.625*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.35*te,.65*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.275*te,.45*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.05*te,.45*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.05*te,.575*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.1875*te,.95*ne,0,.675*ne,0,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.45*te,.95*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.45*te,.775*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.22*te,.775*ne));var pe=new go.PathFigure(.475*te,.2*ne,!1);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.4*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.225*te,.3*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.275*te,.175*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.325*te,.05*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,.05*ne,.35*te,0,.375*te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.575*te,.375*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.525*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.75*te,.475*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*te,.315*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.32*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.65*te,.05*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.575*te,0,.65*te,.05*ne,.625*te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.38*te,.0105*ne));var xe=new go.PathFigure(.675*te,.575*ne,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.875*te,.525*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,.775*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.85*te,.95*ne,te,.8*ne,te,.85*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.65*te,.95*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.65*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.85*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.65*te,.725*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.65*te,.775*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.7*te,.775*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,.775*ne)),xe.add(new go.PathSegment(go.PathSegment.Move,.675*te,.575*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.775*te,.775*ne)),de}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=Ve*.5,xe=new go.PathFigure(te,le*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,le*te,ne,te,(le+pe)*ne,(le+pe)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,le*ne,(le-pe)*te,ne,0,(le+pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,le*te,0,0,(le-pe)*ne,(le-pe)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,le*ne,(le+pe)*te,0,te,(le-pe)*ne));var Ae=new go.PathFigure(le*te,0,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,le*te,.15*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,le*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,le*te,.85*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,0,le*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.15*te,le*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,te,le*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*te,le*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,le*te,le*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.58*te,.1*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,le*te,le*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.78*te,.54*ne)),de}),go.Shape.defineFigureGenerator("Package",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.15*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var pe=new go.PathFigure(0,.15*ne,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.65*te,.15*ne).close()),de.spot1=new go.Spot(0,.1),de.spot2=new go.Spot(1,1),de}),go.Shape.defineFigureGenerator("Class",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var pe=new go.PathFigure(0,.2*ne,!1);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne).close());var xe=new go.PathFigure(0,.5*ne,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne).close()),de}),go.Shape.defineFigureGenerator("Component",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te,ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.15*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.15*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne).close());var pe=new go.PathFigure(0,.2*ne,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.45*te,.2*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.45*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne).close());var xe=new go.PathFigure(0,.6*ne,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.45*te,.6*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.45*te,.8*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne).close()),de}),go.Shape.defineFigureGenerator("Boat Shipment",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.15*te,.6*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.15*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.85*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ne));var pe=new go.PathFigure(.15*te,.6*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ne)),de}),go.Shape.defineFigureGenerator("Customer/Supplier",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te,ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.66*te,.33*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.66*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.33*te,.33*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.33*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,0,.33*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne).close()),de}),go.Shape.defineFigureGenerator("Workcell",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.65*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.65*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.35*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.35*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de}),go.Shape.defineFigureGenerator("Supermarket",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.33*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.33*ne)),le.add(new go.PathSegment(go.PathSegment.Move,te,.33*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.66*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.66*ne)),le.add(new go.PathSegment(go.PathSegment.Move,te,.66*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),de}),go.Shape.defineFigureGenerator("TruckShipment",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var pe=new go.PathFigure(te,.8*ne,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.6*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.6*te,.8*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne).close());var xe=.1,Ae=Ve*.1,Me=.2,ke=.9,lt=new go.PathFigure((Me-xe)*te,ke*ne,!0);de.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-xe)*ne,(Me-xe)*te,(ke-Ae)*ne,(Me-Ae)*te,(ke-xe)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+xe)*te,ke*ne,(Me+Ae)*te,(ke-xe)*ne,(Me+xe)*te,(ke-Ae)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke+xe)*ne,(Me+xe)*te,(ke+Ae)*ne,(Me+Ae)*te,(ke+xe)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(Me-xe)*te,ke*ne,(Me-Ae)*te,(ke+xe)*ne,(Me-xe)*te,(ke+Ae)*ne).close()),xe=.1,Ae=Ve*.1,Me=.8,ke=.9;var dt=new go.PathFigure((Me-xe)*te,ke*ne,!0);return de.add(dt),dt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-xe)*ne,(Me-xe)*te,(ke-Ae)*ne,(Me-Ae)*te,(ke-xe)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+xe)*te,ke*ne,(Me+Ae)*te,(ke-xe)*ne,(Me+xe)*te,(ke-Ae)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke+xe)*ne,(Me+xe)*te,(ke+Ae)*ne,(Me+Ae)*te,(ke+xe)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(Me-xe)*te,ke*ne,(Me-Ae)*te,(ke+xe)*ne,(Me-xe)*te,(ke+Ae)*ne).close()),de}),go.Shape.defineFigureGenerator("KanbanPost",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.2*te,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),de}),go.Shape.defineFigureGenerator("Forklift",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,0,0));var pe=new go.PathFigure(0,.5*ne,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.8*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var xe=new go.PathFigure(.5*te,.8*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.1*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.1*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.8*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.8*ne));var Ae=new go.PathFigure(.5*te,.7*ne,!1);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne));var Me=.1,ke=Ve*.1,lt=.1,dt=.9,yt=new go.PathFigure((lt-Me)*te,dt*ne,!0);de.add(yt),yt.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(dt-Me)*ne,(lt-Me)*te,(dt-ke)*ne,(lt-ke)*te,(dt-Me)*ne)),yt.add(new go.PathSegment(go.PathSegment.Bezier,(lt+Me)*te,dt*ne,(lt+ke)*te,(dt-Me)*ne,(lt+Me)*te,(dt-ke)*ne)),yt.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(dt+Me)*ne,(lt+Me)*te,(dt+ke)*ne,(lt+ke)*te,(dt+Me)*ne)),yt.add(new go.PathSegment(go.PathSegment.Bezier,(lt-Me)*te,dt*ne,(lt-ke)*te,(dt+Me)*ne,(lt-Me)*te,(dt+ke)*ne)),Me=.1,ke=Ve*.1,lt=.4,dt=.9;var ut=new go.PathFigure((lt-Me)*te,dt*ne,!0);return de.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(dt-Me)*ne,(lt-Me)*te,(dt-ke)*ne,(lt-ke)*te,(dt-Me)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(lt+Me)*te,dt*ne,(lt+ke)*te,(dt-Me)*ne,(lt+Me)*te,(dt-ke)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(dt+Me)*ne,(lt+Me)*te,(dt+ke)*ne,(lt+ke)*te,(dt+Me)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(lt-Me)*te,dt*ne,(lt-ke)*te,(dt+Me)*ne,(lt-Me)*te,(dt+ke)*ne)),de}),go.Shape.defineFigureGenerator("RailShipment",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.1*te,.4*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.45*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.45*te,.9*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.9*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.4*ne).close());var pe=new go.PathFigure(.45*te,.7*ne,!1);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.7*ne));var xe=new go.PathFigure(.55*te,.4*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.9*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.9*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.4*ne).close());var lt=.05,dt=Ve*.05,yt=.175,ut=.95,Ae=new go.PathFigure((yt-lt)*te,ut*ne,!0);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut-lt)*ne,(yt-lt)*te,(ut-dt)*ne,(yt-dt)*te,(ut-lt)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(yt+lt)*te,ut*ne,(yt+dt)*te,(ut-lt)*ne,(yt+lt)*te,(ut-dt)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut+lt)*ne,(yt+lt)*te,(ut+dt)*ne,(yt+dt)*te,(ut+lt)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(yt-lt)*te,ut*ne,(yt-dt)*te,(ut+lt)*ne,(yt-lt)*te,(ut+dt)*ne));var lt=.05,dt=Ve*.05,yt=.375,ut=.95,Me=new go.PathFigure((yt-lt)*te,ut*ne,!0);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut-lt)*ne,(yt-lt)*te,(ut-dt)*ne,(yt-dt)*te,(ut-lt)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(yt+lt)*te,ut*ne,(yt+dt)*te,(ut-lt)*ne,(yt+lt)*te,(ut-dt)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut+lt)*ne,(yt+lt)*te,(ut+dt)*ne,(yt+dt)*te,(ut+lt)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(yt-lt)*te,ut*ne,(yt-dt)*te,(ut+lt)*ne,(yt-lt)*te,(ut+dt)*ne));var lt=.05,dt=Ve*.05,yt=.625,ut=.95,ke=new go.PathFigure((yt-lt)*te,ut*ne,!0);de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut-lt)*ne,(yt-lt)*te,(ut-dt)*ne,(yt-dt)*te,(ut-lt)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(yt+lt)*te,ut*ne,(yt+dt)*te,(ut-lt)*ne,(yt+lt)*te,(ut-dt)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut+lt)*ne,(yt+lt)*te,(ut+dt)*ne,(yt+dt)*te,(ut+lt)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(yt-lt)*te,ut*ne,(yt-dt)*te,(ut+lt)*ne,(yt-lt)*te,(ut+dt)*ne));var lt=.05,dt=Ve*.05,yt=.825,ut=.95,Tt=new go.PathFigure((yt-lt)*te,ut*ne,!0);de.add(Tt),Tt.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut-lt)*ne,(yt-lt)*te,(ut-dt)*ne,(yt-dt)*te,(ut-lt)*ne)),Tt.add(new go.PathSegment(go.PathSegment.Bezier,(yt+lt)*te,ut*ne,(yt+dt)*te,(ut-lt)*ne,(yt+lt)*te,(ut-dt)*ne)),Tt.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut+lt)*ne,(yt+lt)*te,(ut+dt)*ne,(yt+dt)*te,(ut+lt)*ne)),Tt.add(new go.PathSegment(go.PathSegment.Bezier,(yt-lt)*te,ut*ne,(yt-dt)*te,(ut+lt)*ne,(yt-lt)*te,(ut+dt)*ne).close());var xt=new go.PathFigure(0,ne,!1);return de.add(xt),xt.add(new go.PathSegment(go.PathSegment.Line,te,ne).close()),de}),go.Shape.defineFigureGenerator("Warehouse",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var pe=new go.PathFigure(0,.2*ne,!1);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne).close());var xe=new go.PathFigure(.15*te,ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.15*te,.5*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.4*te,.5*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.15*te,ne).close());var Ae=.05,Me=Ve*.05,ke=.35,lt=.775,dt=new go.PathFigure((ke-Ae)*te,lt*ne,!0);return de.add(dt),dt.add(new go.PathSegment(go.PathSegment.Bezier,ke*te,(lt-Ae)*ne,(ke-Ae)*te,(lt-Me)*ne,(ke-Me)*te,(lt-Ae)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Ae)*te,lt*ne,(ke+Me)*te,(lt-Ae)*ne,(ke+Ae)*te,(lt-Me)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,ke*te,(lt+Ae)*ne,(ke+Ae)*te,(lt+Me)*ne,(ke+Me)*te,(lt+Ae)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Ae)*te,lt*ne,(ke-Me)*te,(lt+Ae)*ne,(ke-Ae)*te,(lt+Me)*ne).close()),de}),go.Shape.defineFigureGenerator("ControlCenter",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Move,.1*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne).close()),de}),go.Shape.defineFigureGenerator("Bluetooth",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.75*ne,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),de}),go.Shape.defineFigureGenerator("Bookmark",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Move,.2*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ne)),de}),go.Shape.defineFigureGenerator("Bookmark",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Move,.2*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ne)),de}),go.Shape.defineFigureGenerator("Globe",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,.75*te,0,te,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,.75*ne,.75*te,ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.25*te,ne,0,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,.25*ne,.25*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,.15*te,.25*ne,.15*te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.85*te,.75*ne,.85*te,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.1675*te,.15*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8325*te,.15*ne,.35*te,.3*ne,.65*te,.3*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.1675*te,.85*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8325*te,.85*ne,.35*te,.7*ne,.65*te,.7*ne)),de}),go.Shape.defineFigureGenerator("Wave",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.25*ne,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.25*ne,.1*te,0,.2*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,.25*ne,.425*te,.5*ne,.575*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,te,.25*ne,.8*te,0,.9*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Move,0,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.75*ne,.1*te,.5*ne,.2*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,.75*ne,.425*te,ne,.575*te,ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,te,.75*ne,.8*te,.5*ne,.9*te,.5*ne)),de}),go.Shape.defineFigureGenerator("Operator",function(Oe,te,ne){var de=new go.Geometry,le=.3,pe=Ve*.3,xe=.5,Ae=.7,Me=new go.PathFigure((xe-le)*te,Ae*ne,!0);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+le)*te,Ae*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe-le)*te,Ae*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne));var ke=new go.PathFigure(0,.7*ne,!1);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,te,.7*ne,0,0,te,0)),de}),go.Shape.defineFigureGenerator("TripleFanBlades",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ne,.65*te,.3*ne,.65*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.35*te,.5*ne,.35*te,.3*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,.65*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.3*te,.6*ne,.1*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ne,.2*te,ne,.35*te,.95*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,.65*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,te,ne,.7*te,.6*ne,.9*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ne,.8*te,ne,.65*te,.95*ne)),de}),go.Shape.defineFigureGenerator("CentrifugalPump",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,0,.075*ne,0,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,ne,0,ne,.4*te,ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.4*ne,.8*te,ne,.85*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),de}),go.Shape.defineFigureGenerator("Battery",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Move,.4*te,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,.1*ne));var pe=new go.PathFigure(0,.6*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Move,0,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.4*ne)),de}),go.Shape.defineFigureGenerator("Delete",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=Ve*.5,xe=.5,Ae=.5,Me=new go.PathFigure((xe-le)*te,Ae*ne,!0);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+le)*te,Ae*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe-le)*te,Ae*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne));var ke=new go.PathFigure(.15*te,.5*ne,!1);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,.85*te,.5*ne)),de}),go.Shape.defineFigureGenerator("Flag",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.1*ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Move,0,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.1*ne,.15*te,0,.35*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ne,.65*te,.2*ne,.85*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.5*ne,.85*te,.6*ne,.65*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.35*te,.4*ne,.15*te,.4*ne).close()),de}),go.Shape.defineFigureGenerator("Help",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=Ve*.5,xe=.5,Ae=.5,Me=new go.PathFigure((xe-le)*te,Ae*ne,!1);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+le)*te,Ae*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe-le)*te,Ae*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne).close()),le=.05,pe=Ve*.05,xe=.5,Ae=.8;var ke=new go.PathFigure((xe-le)*te,Ae*ne,!1);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(xe+le)*te,Ae*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(xe-le)*te,Ae*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne).close()),ke.add(new go.PathSegment(go.PathSegment.Move,.5*te,.7*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ne,.75*te,.475*ne,.75*te,.225*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.35*ne,.4*te,.2*ne,.3*te,.25*ne)),de}),go.Shape.defineFigureGenerator("Location",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,ne,!0).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.975*te,.025*ne,.5*te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*te,.5*ne,.5*te,0,.025*te,.025*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.5*te,.2*ne)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*te,.3*ne,.1*te,.1*ne).close()))}),go.Shape.defineFigureGenerator("Lock",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.5*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var pe=new go.PathFigure(.2*te,.5*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Move,.2*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*te,.3*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.3*ne,.25*te,0,.75*te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.3*ne)),de}),go.Shape.defineFigureGenerator("Unlocked",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.5*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var pe=new go.PathFigure(.2*te,.5*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Move,.2*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*te,.3*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.3*ne,.25*te,0,.75*te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.35*ne)),de}),go.Shape.defineFigureGenerator("Gear",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.9375*te,.56246875*ne,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*te,.4375*ne)).add(new go.PathSegment(go.PathSegment.Line,.80621875*te,.4375*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.763*te,.3316875*ne,.79840625*te,.39915625*ne,.7834375*te,.3635*ne)).add(new go.PathSegment(go.PathSegment.Line,.8566875*te,.23796875*ne)).add(new go.PathSegment(go.PathSegment.Line,.76825*te,.14959375*ne)).add(new go.PathSegment(go.PathSegment.Line,.67596875*te,.24184375*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*te,.19378125*ne,.64228125*te,.2188125*ne,.603875*te,.2021875*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.0625*ne)).add(new go.PathSegment(go.PathSegment.Line,.4375*te,.0625*ne)).add(new go.PathSegment(go.PathSegment.Line,.4375*te,.19378125*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*te,.239375*ne,.39759375*te,.20190625*ne,.36053125*te,.2176875*ne)).add(new go.PathSegment(go.PathSegment.Line,.2379375*te,.14959375*ne)).add(new go.PathSegment(go.PathSegment.Line,.14953125*te,.2379375*ne)).add(new go.PathSegment(go.PathSegment.Line,.23934375*te,.3278125*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*te,.4375*ne,.21765625*te,.36059375*ne,.201875*te,.397625*ne)).add(new go.PathSegment(go.PathSegment.Line,.0625*te,.4375*ne)).add(new go.PathSegment(go.PathSegment.Line,.0625*te,.5625*ne)).add(new go.PathSegment(go.PathSegment.Line,.1938125*te,.5625*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*te,.67596875*ne,.20221875*te,.603875*ne,.21884375*te,.64228125*ne)).add(new go.PathSegment(go.PathSegment.Line,.1495625*te,.76825*ne)).add(new go.PathSegment(go.PathSegment.Line,.238*te,.8566875*ne)).add(new go.PathSegment(go.PathSegment.Line,.3316875*te,.76296875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*te,.80621875*ne,.36353125*te,.78340625*ne,.3991875*te,.79840625*ne)).add(new go.PathSegment(go.PathSegment.Line,.43753125*te,.9375*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.9375*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.80621875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*te,.760625*ne,.602375*te,.79809375*ne,.63946875*te,.78234375*ne)).add(new go.PathSegment(go.PathSegment.Line,.76828125*te,.8566875*ne)).add(new go.PathSegment(go.PathSegment.Line,.85671875*te,.76825*ne)).add(new go.PathSegment(go.PathSegment.Line,.76065625*te,.67221875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*te,.56246875*ne,.78234375*te,.63940625*ne,.798125*te,.602375*ne)).add(new go.PathSegment(go.PathSegment.Line,.9375*te,.56246875*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.5*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*te,.5*ne,.1*te,.1*ne).close()))}),go.Shape.defineFigureGenerator("Hand",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.5*ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,.3*ne,0,.375*ne,.05*te,.325*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.45*te,.075*ne,.3*te,.225*ne,.4*te,.175*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.525*te,.075*ne,.46*te,.05*ne,.525*te,.05*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.4*ne,.525*te,.275*ne,.475*te,.325*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.55*ne,te,.4*ne,te,.55*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.425*te,.55*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,.55*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.6*te,.7*ne,.675*te,.55*ne,.675*te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.575*te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.575*te,.85*ne,.65*te,.7*ne,.65*te,.85*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,.85*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.525*te,.85*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.535*te,ne,.61*te,.85*ne,.61*te,ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,.435*te,ne,0,ne).close()),de}),go.Shape.defineFigureGenerator("Map",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.2*ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.25*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.25*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),le.add(new go.PathSegment(go.PathSegment.Move,.25*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.25*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Move,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,.8*ne)),de}),go.Shape.defineFigureGenerator("Eject",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne*.7)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*.7).close());var pe=new go.PathFigure(0,ne*.6,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,0).close()),de}),go.Shape.defineFigureGenerator("Pencil",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ne).close()))}),go.Shape.defineFigureGenerator("Building",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*1,ne*1,!1);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*.85)),le.add(new go.PathSegment(go.PathSegment.Line,.046*te,ne*.85)),le.add(new go.PathSegment(go.PathSegment.Line,.046*te,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*.3)),le.add(new go.PathSegment(go.PathSegment.Line,.046*te,ne*.3)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ne*.3)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne*.3)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ne*.85)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne*.85).close());var pe=new go.PathFigure(.126*te,.85*ne,!1);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.126*te,.45*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.322*te,.45*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.322*te,.85*ne).close());var xe=new go.PathFigure(.402*te,.85*ne,!1);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.402*te,.45*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.598*te,.45*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.598*te,.85*ne).close());var Ae=new go.PathFigure(.678*te,.85*ne,!1);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.678*te,.45*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.874*te,.45*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.874*te,.85*ne).close());var Me=new go.PathFigure(.5*te,.1*ne,!1);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*te,.3*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*te,.3*ne).close()),de}),go.Shape.defineFigureGenerator("Staircase",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne*1,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*.8)),le.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.8)),le.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.6)),le.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.6)),le.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.4)),le.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*.4)),le.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*.2)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.2)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.15)),le.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.15)),le.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.35)),le.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.35)),le.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.55)),le.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.55)),le.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.15,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.15,ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*.95).close()),de}),go.Shape.defineFigureGenerator("5Bars",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne*1,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*.184,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.184,ne*(1-.184)).close());var pe=new go.PathFigure(te*.204,ne,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te*.204,ne*(1-.184))),pe.add(new go.PathSegment(go.PathSegment.Line,te*.388,ne*(1-.184*2))),pe.add(new go.PathSegment(go.PathSegment.Line,te*.388,ne*1).close());var xe=new go.PathFigure(te*.408,ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*.408,ne*(1-.184*2))),xe.add(new go.PathSegment(go.PathSegment.Line,te*.592,ne*(1-.184*3))),xe.add(new go.PathSegment(go.PathSegment.Line,te*.592,ne*1).close());var Ae=new go.PathFigure(te*.612,ne,!0);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.612,ne*(1-.184*3))),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.796,ne*(1-.184*4))),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.796,ne*1).close());var Me=new go.PathFigure(te*.816,ne,!0);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,te*.816,ne*(1-.184*4))),Me.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-.184*5))),Me.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1).close()),de}),go.Shape.defineFigureGenerator("PC",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,0).close());var pe=new go.PathFigure(te*.055,.07*ne,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.07)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.1)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.055,ne*.1).close());var xe=new go.PathFigure(te*.055,.13*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.13)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.16)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.055,ne*.16).close());var Ae=new go.PathFigure(te*.055,.18*ne,!0);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.18)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.21)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.055,ne*.21).close());var Me=new go.PathFigure(te*1,0,!0);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,te*.4,0)),Me.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.65)),Me.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.65).close()),de}),go.Shape.defineFigureGenerator("Plane",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.55*te,ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.475*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.35*te,.525*ne,0,.4*ne,.225*te,.45*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,.475*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.15*te,.35*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,.325*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,.325*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.85*te,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.2*ne,.975*te,0,te,.08*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.7*te,.45*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,.95*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.55*te,ne).close()),de}),go.Shape.defineFigureGenerator("Key",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*1,ne*.5,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*.9,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,.35*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.45,.35*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.15,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.35*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.65*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.15,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.45,.65*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,.65*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.6,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.65,.55*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.7,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.75,.55*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.8,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.85,.575*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.9,.6*ne).close()),le.add(new go.PathSegment(go.PathSegment.Move,.17*te,.425*ne)),le.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*te,.5*ne,.075*te,.075*ne).close()),de}),go.Shape.defineFigureGenerator("FilmTape",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);de.add(le),le.add(new go.PathSegment(go.PathSegment.Arc,270,180,te*0,te*.3,te*.055)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.08,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.08,ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*1),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*1),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*2),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*2),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*3),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*3),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*4),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*4),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*5),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*5),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*6),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*6),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*7),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*7),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*8),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*8),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*9),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*9),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*10),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*10),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*11),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*11),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*12),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*12),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*13),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*13),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*14),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*14),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*15),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*15),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1));var pe=new go.PathFigure(0,0,!1);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*0)),pe.add(new go.PathSegment(go.PathSegment.Arc,270,-180,te*1,te*.3,te*.055)),pe.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1));var xe=new go.PathFigure(te*.11,ne*.1,!1);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*0),ne*.1)),xe.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*0),ne*.8)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.11,ne*.8).close());var Ae=new go.PathFigure(te*(.11+.24133333*1+.028*1),ne*.1,!1);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*1),ne*.1)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*1),ne*.8)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*1),ne*.8).close());var Me=new go.PathFigure(te*(.11+.24133333*2+.028*2),ne*.1,!1);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*3+.028*2),ne*.1)),Me.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*3+.028*2),ne*.8)),Me.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*2),ne*.8).close()),de}),go.Shape.defineFigureGenerator("FloppyDisk",function(Oe,te,ne){var de=new go.Geometry,le=8,pe=le*Ve,xe=new go.PathFigure(le,0,!1);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*.86,0)),xe.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.14)),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne-le)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te-le,ne,te,ne-pe,te-pe,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,le,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-le,pe,ne,0,ne-pe)),xe.add(new go.PathSegment(go.PathSegment.Line,0,le)),xe.add(new go.PathSegment(go.PathSegment.Bezier,le,0,0,pe,pe,0).close());var Ae=new go.PathFigure(te*.83,0,!1);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.83,ne*.3)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*.3)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*0).close());var Me=new go.PathFigure(te*.83,ne*1,!1);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,te*.83,ne*.5)),Me.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*.5)),Me.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*1).close());var ke=new go.PathFigure(te*.78,ne*.05,!1);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.05)),ke.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.25)),ke.add(new go.PathSegment(go.PathSegment.Line,te*.78,ne*.25).close()),de}),go.Shape.defineFigureGenerator("SpeechBubble",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;(isNaN(de)||de<0)&&(de=15),de=Math.min(de,te/3),de=Math.min(de,ne/3);var le=de*Ve,pe=ne*.8,xe=new go.Geometry,Ae=new go.PathFigure(de,0,!0);return xe.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te-de,0)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te,de,te-le,0,te,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,te,pe-de)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te-de,pe,te,pe-le,te-le,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.7,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.55,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,de,pe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,pe-de,le,pe,0,pe-le)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,de)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,de,0,0,le,le,0).close()),le>1?(xe.spot1=new go.Spot(0,0,le,le),xe.spot2=new go.Spot(1,.8,-le,-le)):(xe.spot1=go.Spot.TopLeft,xe.spot2=new go.Spot(1,.8)),xe}),go.Shape.defineFigureGenerator("Repeat",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*0,ne*.45,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*.9)),le.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.9)),le.add(new go.PathSegment(go.PathSegment.Line,te*.65,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*.45).close());var pe=new go.PathFigure(te*1,ne*.55,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*1)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.55)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*.55)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*.1)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.1)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*0)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*.55).close()),de}),go.Shape.defineFigureGenerator("Windows",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close()).add(new go.PathSegment(go.PathSegment.Move,.4*te,.4*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*te,.8*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.2*te,.1*ne)).add(new go.PathSegment(go.PathSegment.Line,.2*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.1*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.1*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.1*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne).close()))}),go.Shape.defineFigureGenerator("Terminal",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*0,ne*.1,!1);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.1)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.9)),le.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*.9).close());var pe=new go.PathFigure(te*.1,ne*.2,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te*.1,ne*.25)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.22,ne*.285)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.1,ne*.32)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.1,ne*.37)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.275,ne*.32)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.275,ne*.25).close());var xe=new go.PathFigure(te*.28,ne*.37,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.37)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.41)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.28,ne*.41).close()),de}),go.Shape.defineFigureGenerator("Beaker",function(Oe,te,ne){var de=new go.Geometry,le=15,pe=le*Ve,xe=new go.PathFigure(te*.62,ne*.475,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne-le)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te-le,ne,te,ne-pe,te-pe,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,le,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-le,pe,ne,0,ne-pe)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.38,ne*.475)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.38,ne*.03)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*0)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*0)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.62,ne*.03).close()),pe>1?(de.spot1=new go.Spot(0,0,pe,pe),de.spot2=new go.Spot(1,1,-pe,-pe)):(de.spot1=go.Spot.TopLeft,de.spot2=go.Spot.BottomRight),de}),go.Shape.defineFigureGenerator("Download",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*0,ne*1,!0);de.add(le);var pe=.1/.3;le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*.755,ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*.93,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.61,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.39,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.07,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*(1-pe)).close());var xe=new go.PathFigure(te*.4,ne*0,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.44)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.26,ne*.44)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.66)),xe.add(new go.PathSegment(go.PathSegment.Line,te*(1-.26),ne*.44)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.44)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*0).close()),de}),go.Shape.defineFigureGenerator("Bin",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*0,ne*1,!0);de.add(le);var pe=.1/.3;return le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*.755,ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*.93,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.61,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.39,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.07,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*(1-pe)).close()),de}),go.Shape.defineFigureGenerator("Upload",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*0,ne*1,!0);de.add(le);var pe=.1/.3;le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*.755,ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*.93,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.61,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.39,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.07,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*(1-pe)).close());var xe=new go.PathFigure(te*.5,ne*0,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*.26,ne*.25)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.25)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.63)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.63)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.25)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.74,ne*.25).close()),de}),go.Shape.defineFigureGenerator("EmptyDrink",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*.15,ne*0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*.85,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*1).close()),de}),go.Shape.defineFigureGenerator("Drink",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*.15,ne*0,!1);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*.85,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*1).close());var pe=new go.PathFigure(te*.235,ne*.28,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te*.765,ne*.28)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.655,ne*.97)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.345,ne*.97).close()),de}),go.Shape.defineFigureGenerator("4Arrows",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*.5,ne*0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*.65,ne*.25)),le.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.25)),le.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.35)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.5)),le.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.65)),le.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.55)),le.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.55)),le.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.65,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.55)),le.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.55)),le.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.65)),le.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*.5)),le.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.35)),le.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.25)),le.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.25).close()),de}),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")},80727: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 en={},jn="5.0",Pe={},ue=null,it=!1,Mt=!1,kt=null,Dt=!1,Wt=null,Ve=null,bt=0;bt4?parseFloat(rn):5};en.setHTML5Codebase=function(rn,xn){Ve=rn,yn(rn,xn)},en.setJavaCodebase=en.setJavaCodebaseVersion=en.isCompiledInstalled=en.setPreCompiledScriptPath=en.setPreCompiledResourcePath=function(){},en.setHTML5CodebaseVersion=function(rn,xn){var Dn=parseFloat(rn);if(Dn!==NaN&&Dn<5){console.log("The GeoGebra HTML5 codebase version "+Dn+" is deprecated. Using version latest instead.");return}Wt=rn,ze(rn,xn)},en.getHTML5CodebaseVersion=function(){return Oe},en.getParameters=function(){return Pe},en.setFontsCSSURL=function(rn){xe=rn},en.setGiacJSURL=function(rn){},en.setJNLPFile=function(rn){pt=rn},en.setJNLPBaseDir=function(rn){},en.inject=function(){function rn(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var xn="auto",Dn=Pe.id,yi,qn=!1,Mi=0;Mi=5)return!0;var rn=en.getAppletObject();return rn&&typeof rn.recalculateEnvironments=="function"?(rn.recalculateEnvironments(),!0):!1},en.startAnimation=function(){var rn=en.getAppletObject();return rn&&typeof rn.startAnimation=="function"?(rn.startAnimation(),!0):!1},en.stopAnimation=function(){var rn=en.getAppletObject();return rn&&typeof rn.stopAnimation=="function"?(rn.stopAnimation(),!0):!1},en.getAppletObject=function(){var rn=Pe.id!==void 0?Pe.id:"ggbApplet";return window[rn]},en.resize=function(){};var Tt=function(rn,xn,Dn){var yi=document.createElement("param");yi.setAttribute("name",xn),yi.setAttribute("value",Dn),rn.appendChild(yi)},xt=function(rn){return rn&&rn!=="false"},Nt=function(rn,xn,Dn){Me(Oe)<=4.2&&(Dn=!0);var yi=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Oe||ggbHTML5LoadedCodebaseIsWebSimple&&!ne)&&(yi=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qn=document.createElement("div");qn.classList.add("appletParameters","notranslate");var Mi=xn.width,mt=xn.height;if(xn.disableAutoScale=xn.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():xn.disableAutoScale,xn.width!==void 0)if(Me(Oe)<=4.4)xt(xn.showToolBar)&&(xn.height-=7),xt(xn.showAlgebraInput)&&(xn.height-=37),xn.width<605&&xt(xn.showToolBar)&&(xn.width=605,Mi=605);else{var ht=100;(xt(xn.showToolBar)||xt(xn.showMenuBar))&&(xn.hasOwnProperty("customToolBar")&&(xn.customToolbar=xn.customToolBar),ht=xt(xn.showMenuBar)?245:155),Mi=5?(xn.appletOnLoad=function(Ee){var Te=rn.querySelector(".ggb_preview");Te&&Te.parentNode.removeChild(Te),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(En),window.GGBT_wsf_view&&$(window).trigger("resize"),jt(Ee)},Fn||En.appendChild(ii)):qn.appendChild(ii),En.appendChild(qn),Fn||rn.appendChild(En),setTimeout(function(){en.resize()},1)}else{var ni=document.createElement("div");ni.className="applet_scaler",ni.style.position="relative",ni.style.display="block",ni.appendChild(qn),rn.appendChild(ni),xn.appletOnLoad=function(Ee){en.resize(),jt(Ee)}}function mn(Ee,Te){Te&&typeof Te.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ee,Te.appletOnLoad):renderGGBElement(Ee),Xn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Te)}function zt(Ee,Te){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ee,params:Te}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Ue){mn(Ue.article,Ue.params)}),html5AppletsToProcess=null)},Me(Oe)<5&&(Ee.className+=" geogebraweb")):mn(Ee,Te)}if(yi){scriptLoadStarted=!0;for(var $e=0;$e0?(gn.remove(),En.attr("id","fullscreencontent").show(),jQuery(jt).append(En),window.dispatchEvent(new Event("resize"))):Nt(gn,xn,!1),window.GGBT_wsf_view.launchFullScreen(jt)}else Zt=yi,Nt(rn,xn,!1);if(!window.GGBT_wsf_view)for(mt=0;mtrn/4*3&&(gn=rn/4*3),jt=gn/5.8,ht.setAttribute("src",le),ht.setAttribute("width",gn),ht.setAttribute("height",jt);var En=(rn-gn)/2,Fn=(xn-jt)/2;ht.style.left=En+"px",ht.style.top=Fn+"px",qn.appendChild(ht)}}return qn.appendChild(mt),qn},ci=function(rn){return rn=rn.toLowerCase(),rn==="html5"||rn==="screenshot"?rn:"html5"},et=["web","webSimple","web3d","tablet","tablet3d","phone"],ze=function(rn,xn){if(Oe=rn,xn){yn(Oe,!0);return}var Dn=!it;if(Dn){var yi=Me(Oe);!isNaN(yi)&&yi<4.4&&(Dn=!1)}var qn,Mi;window.location.protocol.substr(0,4)==="http"?qn=window.location.protocol:qn="http:";var mt=Oe.indexOf("//");mt>0?Mi=Oe:mt===0?Mi=qn+Oe:Mi="https://www.geogebra.org/apps/5.2.814.0/";for(var ht in et)if(Oe.slice(et[ht].length*-1)===et[ht]||Oe.slice((et[ht].length+1)*-1)===et[ht]+"/"){yn(Mi,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Dn&&!ue.is3D&&!ue.AV&&!ue.SV&&!ue.CV&&!ue.EV2&&!ue.CP&&!ue.PC&&!ue.DA&&!ue.FI&&!ue.PV&&!xt(Pe.showToolBar)&&!xt(Pe.showMenuBar)&&!xt(Pe.showAlgebraInput)&&!xt(Pe.enableRightClick)&&(!Pe.appName||Pe.appName=="classic")?Mi+="webSimple/":Mi+="web3d/",yn(Mi,!1)},yn=function(rn,xn){if(rn.requirejs){St=rn;return}rn.slice(-1)!=="/"&&(rn+="/"),St=rn,xn===null&&(xn=rn.indexOf("http")===-1),Ut=xn,te="web.nocache.js",ne=!1;var Dn=St.split("/");Dn.length>1&&(!xn&&Dn[Dn.length-2]==="webSimple"?(te="webSimple.nocache.js",ne=!0):et.indexOf(Dn[Dn.length-2])>=0&&(te=Dn[Dn.length-2]+".nocache.js")),Dn=rn.split("/"),Oe=Dn[Dn.length-3],Oe.substr(0,4)==="test"?Oe=Oe.substr(4,1)+"."+Oe.substr(5,1):(Oe.substr(0,3)==="war"||Oe.substr(0,4)==="beta")&&(Oe="5.0");var yi=parseFloat(Oe);yi!==NaN&&yi<5&&rn.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+yi+" is deprecated. Using version latest instead."),ze("5.0",xn))},Xn=function(rn,xn){window.console&&window.console.log&&(!xn||typeof xn.showLogging=="undefined"||xn.showLogging&&xn.showLogging!=="false")&&console.log(rn)};Pe.material_id!==void 0?dt(ei):ei();function ei(){var rn=jn;Wt!==null?rn=Wt:parseFloat(rn)<5&&(rn="5.0"),ze(rn,!1),Ve!==null&&yn(Ve,Ut),Dt=!0}return en},GGBAppletUtils=function(){"use strict";function en(){return window.GGBT_wsf_edit!==void 0}function jn(Dt,Wt){Wt!=1?(Dt.style.transformOrigin="0% 0% 0px",Dt.style.webkitTransformOrigin="0% 0% 0px",Dt.style.transform="scale("+Wt+","+Wt+")",Dt.style.webkitTransform="scale("+Wt+","+Wt+")",Dt.style.maxWidth="initial",Dt.querySelector(".ggb_preview")!==null&&(Dt.querySelector(".ggb_preview").style.maxWidth="initial"),Dt.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Dt.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Dt.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Dt.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Dt.style.transform="none",Dt.style.webkitTransform="none")}function Pe(Dt,Wt,Ve,bt,wt,pt){var St=null;if(pt!=null&&pt!="")for(var Ut=Dt.parentNode;Ut!=null;)if((" "+Ut.className+" ").indexOf(" "+pt+" ")>-1){St=Ut;break}else Ut=Ut.parentNode;var Zt=0,Oe=0,te=0,ne=0,de=0,le=0,pe=0;if(St)Zt=St.offsetWidth,Oe=Math.max(bt?St.offsetWidth:0,St.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Zt=Math.min(window.innerWidth,document.documentElement.clientWidth),Oe=Math.min(window.innerHeight,document.documentElement.clientHeight),te=Zt):(Zt=window.innerWidth,Oe=window.innerHeight,te=window.innerWidth),Dt){var xe=Dt.getBoundingClientRect();xe.left>0&&xe.left<=Zt&&(wt===void 0||!wt)&&(document.dir==="rtl"?(de=Zt-xe.width-xe.left,le=te<=480?10:30):(le=xe.left,de=te<=480?10:30),ne=le+de)}if(Dt&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Ae=Dt.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ne=40,pe=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ne=0,pe=40)}}return Dt&&((Ve===void 0||!Ve)&&Wt>0&&Wt+ne1&&(pt=!0)),Wt&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(pt=!0),!(Dt.hasOwnProperty("disableAutoScale")&&Dt.disableAutoScale))wt=ue(Dt,Wt,pt,Ve,Dt.scaleContainerClass);else return bt;return pt&&(!Dt.hasOwnProperty("scale")||bt===1)?wt:Math.min(bt,wt)}function Mt(Dt){var Wt=Math.min(window.innerWidth,document.documentElement.clientWidth),Ve=Math.min(window.innerHeight,document.documentElement.clientHeight),bt=Dt.getBoundingClientRect(),wt=(Wt-bt.width)/2,pt=(Ve-bt.height)/2;pt<0&&(pt=0),Dt.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(wt<40?Dt.style.left="40px":Dt.style.left=wt+"px",Dt.style.top=pt+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(pt<40?Dt.style.top="40px":Dt.style.top=pt+"px",Dt.style.left=wt+"px")}function kt(Dt,Wt){var Ve=Dt.querySelector(".appletParameters");if(Ve){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Wt.id!==Ve.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Dt)}if(Ve.parentElement&&/fullscreen/.test(Ve.parentElement.className))return;var bt=it(Wt,Dt);en()&&Ve.setAttribute("data-param-scale",bt);for(var wt=null,pt=0;pt=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(en){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(en){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(en){var jn=c[en];return jn==null?null:jn},r=d,webModule.__errFn=e}function B(){function en(Dt){var Wt=Dt.lastIndexOf(rb);Wt==-1&&(Wt=Dt.length);var Ve=Dt.indexOf(sb);Ve==-1&&(Ve=Dt.length);var bt=Dt.lastIndexOf(tb,Math.min(Ve,Wt));return bt>=O?Dt.substring(O,bt+P):W}function jn(Dt){if(!Dt.match(/^\w+:\/\//)){var Wt=o.createElement(ub);Wt.src=Dt+vb,Dt=en(Wt.src)}return Dt}function Pe(){var Dt=__gwt_getMetaProperty(wb);return Dt!=null?Dt:W}function ue(){for(var Dt=o.getElementsByTagName(_),Wt=O;WtO?Dt[Dt.length-P].href:W}function Mt(){var Dt=o.location;return Dt.href==Dt.protocol+zb+Dt.host+Dt.pathname+Dt.search+Dt.hash}var kt=Pe();return kt==W&&(kt=ue()),kt==W&&(kt=it()),kt==W&&Mt()&&(kt=en(o.location.href)),kt=jn(kt),kt}function C(en){return en.match(/^\//)||en.match(/^[a-zA-Z]+:\/\//)?en:webModule.__moduleBase+en}function D(){var en=[],jn=O,Pe=[],ue=[];function it(Dt){var Wt=ue[Dt](),Ve=Pe[Dt];if(Wt in Ve)return Wt;var bt=[];for(var wt in Ve)bt[Ve[wt]]=wt;throw r&&r(Dt,bt,Wt),null}if(__gwt_isKnownPropertyValue=function(Dt,Wt){return Wt in Pe[Dt]},webModule.__getPropMap=function(){var Dt={};for(var Wt in Pe)Pe.hasOwnProperty(Wt)&&(Dt[Wt]=it(Wt));return Dt},webModule.__computePropValue=it,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Mt;try{Mt=Cb;var kt=Mt.indexOf(Db);kt!=-1&&(jn=parseInt(Mt.substring(kt+P),$),Mt=Mt.substring(O,kt))}catch(Dt){}return webModule.__softPermutationId=jn,C(Mt+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},36045:function(en,jn,Pe){"use strict";Pe.d(jn,{G0:function(){return ni},JW:function(){return ei},Jd:function(){return kn},Kl:function(){return rn},L5:function(){return te},MH:function(){return yn},MI:function(){return ht},Qo:function(){return ke},SO:function(){return Oe},Tf:function(){return pe},VT:function(){return Jt},XO:function(){return Ut},Xy:function(){return Ae},Y0:function(){return Tt},Ye:function(){return Fn},Yv:function(){return mt},ZH:function(){return yi},am:function(){return hi},bD:function(){return gn},eA:function(){return Me},fA:function(){return Dn},fY:function(){return dt},g6:function(){return Zt},g7:function(){return jt},gT:function(){return yt},gn:function(){return qn},h$:function(){return Mi},hG:function(){return xe},i8:function(){return xn},j3:function(){return Xn},lH:function(){return et},li:function(){return ne},n4:function(){return de},pU:function(){return xt},qK:function(){return le},sA:function(){return Nt},sP:function(){return ze},t$:function(){return ci},wj:function(){return ii},zl:function(){return lt}});var ue=Pe(99064),it=Pe(955),Mt=Object.defineProperty,kt=Object.getOwnPropertySymbols,Dt=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable,Ve=(mn,zt,$e)=>zt in mn?Mt(mn,zt,{enumerable:!0,configurable:!0,writable:!0,value:$e}):mn[zt]=$e,bt=(mn,zt)=>{for(var $e in zt||(zt={}))Dt.call(zt,$e)&&Ve(mn,$e,zt[$e]);if(kt)for(var $e of kt(zt))Wt.call(zt,$e)&&Ve(mn,$e,zt[$e]);return mn},wt=(mn,zt,$e)=>new Promise((At,Yt)=>{var Ie=Te=>{try{Ee($e.next(Te))}catch(Ue){Yt(Ue)}},Ce=Te=>{try{Ee($e.throw(Te))}catch(Ue){Yt(Ue)}},Ee=Te=>Te.done?At(Te.value):Promise.resolve(Te.value).then(Ie,Ce);Ee(($e=$e.apply(mn,zt)).next())});const pt=(0,it.oP)(),St={};pt!=null&&pt.homework_common_id&&(St.homework_common_id=pt==null?void 0:pt.homework_common_id),pt!=null&&pt.exercisesId&&(St.exercise_id=pt==null?void 0:pt.exercisesId),console.log(pt,St,"urlParamsAll");function Ut(mn,zt){return(0,ue.U2)(`tasks/${mn}.json`,bt(bt({},zt),St))}function Zt(mn,zt={}){return(0,ue.U2)(`myshixuns/${mn}/challenges.json`,bt({},zt))}function Oe(mn,zt){return(0,ue.U2)(`myshixuns/${mn}/subject_challenges.json`,zt)}function te(mn,zt,$e){return(0,ue.U2)(`tasks/${mn}/star.json`,{shixun_id:zt,star:$e})}function ne(mn,zt){return zt.path&&(zt.path=encodeURIComponent(zt.path)),(0,ue.U2)(`tasks/${mn}/rep_content.json`,bt(bt({},zt),St))}function de(mn,zt){return(0,ue.v_)(`myshixuns/${mn}/update_file.json`,bt(bt({},zt),St))}function le(mn,zt){return(0,ue.U2)(`tasks/${mn}/reset_original_code.json`,bt(bt({},zt),St))}function pe(mn,zt){return(0,ue.v_)(`myshixuns/${mn}/reset_repository.json`,zt)}function xe(mn,zt){return(0,ue.U2)(`tasks/${mn}/reset_passed_code.json`,bt(bt({},zt),St))}function Ae(mn,zt){return(0,ue.v_)(`tasks/${mn}/game_build.json`,bt(bt({},zt),St))}function Me(mn){return(0,ue.ZP)("http://localhost:49352/api/game_build",{method:"post",body:mn})}function ke(mn,zt){return(0,ue.U2)(`tasks/${mn}/game_status.json`,bt(bt({},zt),St))}function lt(mn,zt){return(0,ue.v_)(`tasks/${mn}/choose_build.json`,bt(bt({},zt),St))}function dt(mn){return(0,ue.U2)(`myshixuns/${mn}/get_remaining_time.json`)}function yt(mn){return(0,ue.U2)(`tasks/${mn}/picture_display.json`,St)}function ut(mn,zt){return get(`courses/${mn}/inform_detail.json`,zt)}function Tt(mn){return(0,ue.v_)(`tasks/${mn}/plus_or_cancel_praise.json`)}function xt(mn,zt={}){return(0,ue.v_)(`myshixuns/${mn}/repository.json`,zt)}function Nt(mn,zt={}){return(0,ue.U2)(`myshixuns/${mn}/start.json`,zt)}function Jt(mn,zt={}){return(0,ue.v_)(`myshixuns/${mn}/force_delete_pod.json`,zt)}function vn(mn,zt={}){return get(`myshixuns/${mn}/set_tpisession.json`,zt)}function Ai(mn){return get(`myshixuns/${mn}/reset_pod.json`)}function hi(mn,zt){return(0,ue.U2)(`myshixuns/${mn}/reset_pod.json`,zt)}function kn(mn,zt){return(0,ue.ZP)(`/api/tasks/${mn}/reboot_esc.json`,{method:"post",body:zt})}function ci(mn){return(0,ue.U2)(`tasks/${mn}/check_test_sets.json`)}function et(mn){return(0,ue.U2)(`tasks/${mn}/get_answer_info.json`)}function ze(mn){return(0,ue.U2)(`tasks/${mn}/get_choose_answer.json`)}function yn(mn){return(0,ue.U2)(`tasks/${mn}/unlock_choose_answer.json`)}function Xn(mn,zt){return(0,ue.U2)(`tasks/${mn}/unlock_answer.json`,{answer_id:zt})}function ei(mn,zt,$e,At){return(0,ue.v_)(`tasks/${mn}/set_games_status.json`,bt({result:zt,data:$e},At||{}))}function rn(mn,zt){return(0,ue.U2)(`myshixuns/${mn}/active_pod.json`,zt)}function xn(mn,zt){return(0,ue.U2)(`tasks/${mn}/rank_list.json`,zt)}function Dn(mn,zt){return(0,ue.v_)(`tasks/${mn}/close_windows_vnc.json`,{tpi_id:zt})}function yi(mn,zt){return(0,ue.U2)(`tasks/${mn}/commit_files.json`,zt)}function qn(mn,zt){return(0,ue.U2)(`tasks/${mn}/pull_files.json`,zt)}function Mi(mn,zt){return(0,ue.v_)(`tasks/${mn}/log_output`,zt)}function mt(mn,zt){return(0,ue.U2)(`tasks/${mn}/stop_log_output.json`,zt)}function ht(mn){return wt(this,null,function*(){return(0,ue.ZP)(`/api/myshixuns/${mn.id}/add_file.json`,{method:"post",body:mn})})}function gn(mn){return wt(this,null,function*(){return(0,ue.ZP)(`/api/myshixuns/${mn.id}/delete_git_file.json`,{method:"Delete",body:mn})})}function jt(mn){return wt(this,null,function*(){return(0,ue.ZP)(`/api/myshixuns/${mn.id}/mv_file.json`,{method:"post",body:mn})})}function En(mn){return wt(this,null,function*(){return mn.path&&(mn.path=encodeURIComponent(mn.path)),Fetch(`/api/tasks/${mn.id}/rep_content.json`,{method:"get",params:mn})})}function Fn(mn,zt){return(0,ue.ZP)(`/api/shixuns/${mn}/set_start_permanent.json`,{method:"put",body:zt})}function ii(mn){return wt(this,null,function*(){return(0,ue.ZP)("/api/myshixuns/wuying_record.json",{method:"get",params:mn})})}function ni(mn){return wt(this,null,function*(){return(0,ue.ZP)("/api/jupyters/save_with_wuying_tpi.json",{method:"Get",params:mn})})}},77903:function(en,jn,Pe){"use strict";Pe.d(jn,{Ax:function(){return kt},Ds:function(){return Dt},KI:function(){return Ve},SI:function(){return Mt},f1:function(){return it}});var ue=Pe(3294);function it(bt){let wt=!0;if(bt.length>0){for(let pt=0;ptne in te?Mt(te,ne,{enumerable:!0,configurable:!0,writable:!0,value:de}):te[ne]=de,pt=(te,ne)=>{for(var de in ne||(ne={}))Ve.call(ne,de)&&wt(te,de,ne[de]);if(Wt)for(var de of Wt(ne))bt.call(ne,de)&&wt(te,de,ne[de]);return te},St=(te,ne)=>kt(te,Dt(ne)),Ut=(te,ne)=>{var de={};for(var le in te)Ve.call(te,le)&&ne.indexOf(le)<0&&(de[le]=te[le]);if(te!=null&&Wt)for(var le of Wt(te))ne.indexOf(le)<0&&bt.call(te,le)&&(de[le]=te[le]);return de},Zt=(te,ne,de)=>new Promise((le,pe)=>{var xe=ke=>{try{Me(de.next(ke))}catch(lt){pe(lt)}},Ae=ke=>{try{Me(de.throw(ke))}catch(lt){pe(lt)}},Me=ke=>ke.done?le(ke.value):Promise.resolve(ke.value).then(xe,Ae);Me((de=de.apply(te,ne)).next())});const Oe=te=>{var ne=te,{children:de}=ne,le=Ut(ne,["children"]);const[pe,xe]=(0,it.useState)(!1);return it.createElement(ue.ZP,St(pt({},le),{loading:pe,onClick:Ae=>Zt(void 0,null,function*(){try{xe(!0),yield le.onClick(Ae),xe(!1)}catch(Me){console.error(Me),xe(!1)}})}),de)}},927:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return bt}});var ue=Pe(59301),it=Pe(89070),Mt=Pe(43418),kt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAACE5JREFUWAmtWH1snVUZ/533tuvYVreyjGy3Y6srTBo2srI4XbtKgFQxIrKYzeAfk8AfCzHbCkPMjPjBP0aCsjr1D01USCQ6oosyiLF8xMGqc2BHauUj1I2Ntghs7dqytuu99/j7nfOee9/73js+jKd53+d5n3Oe5/zO8zznOafX4EO2ta/bhqlJfM4adFJ1hQWyxiIrM5QNG2CY7EnKei5agMf7V5pR9X3QRv0P1pr77WaO3AGLDoKokZYlY2hBtFqLDHLse9ZE2De41hyoNiYte19AzX22nfPdT8NtnJr6UgkIAl/dTLKXwHupeM9gqzmcBpH8rm6JI7ZYm3nhBfyAQHYlFcr4NL6yTn4kEamPxkxkutevx+5Hjcmnh+u7KqB1fXbR+Az2U195UmyWnjH8E1ULvGgsKDlRghTg8MnhPQvrsPVYqxnziqV3BSCBGZuUe21LMUGUKGx6F42K14rZJ6oWeFG19+w3eGnhPLSlQUVOM34pTGfHsR95tCBPozlOFCh5q++YOj7uqyfUxhqDbAYQjxzB8JFuoJ739qRrZ22L5tKcSQx+KbFk1VN2b8Fa5ky8QvojhEVDAh9C1DAH2NYIdFwMNM3TCIsT5wwOnbH45SlgIufDG8arv+RnsQb0SPe/rzdd0lYrAmr+s23PWzznxdXfyRzK1gEPrgU+cbHBa5MWr07KmsHq+RaXLTAYGAe29wFDMyV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Ripm9z6phWpCC+9v1jL3096tr350GbtJ0XjLivSFkcU8LsJ7Xz+e6V/3dMRZFmBD6ixvRw+2vMC1f5oBuZxgxIl9oPq5ewCOVzaSFl0WPGd+gUMwEh/sPK8A+rl250qq3R+LgDUiN2a2Mzwsv8GJP6sjMp5xuna6LSGzXzL8HvQjBpp3n5Up9MjJf+B5WVB7lfjXHfAAAAAElFTkSuQmCC",Wt={tilte:"tilte___IfiMG",flexRow:"flexRow___pQP78",flexColumn:"flexColumn___xrBZQ",footerWrap:"footerWrap___C5kCC",img:"img___GoWZu",content:"content___pumTK",modalContent:"modalContent___XvHiZ"};const Ve=({visible:wt,occupationValue:pt,onCancel:St=()=>{}})=>{const Ut=()=>ue.createElement("div",{className:Wt.flexColumn},ue.createElement("img",{className:Wt.img,src:Dt}),ue.createElement("span",{className:Wt.content},"\u672A\u804C\u4E1A\u8BA4\u8BC1")),Zt=()=>ue.createElement("div",{className:Wt.flexColumn},ue.createElement("img",{className:Wt.img,src:kt}),ue.createElement("span",{className:Wt.content},"\u672A\u5B9E\u540D\u8BA4\u8BC1")),Oe=()=>pt===3?ue.createElement(ue.Fragment,null,Zt(),Ut()):pt===2?Ut():Zt();return ue.createElement(Mt.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:wt,title:"\u56E0\u4E3A\u4EE5\u4E0B\u539F\u56E0\uFF0C\u60A8\u6682\u65F6\u4E0D\u80FD\u8FDB\u884C\u64CD\u4F5C",okText:"\u7ACB\u5373\u8BA4\u8BC1",cancelText:"\u53D6\u6D88",width:"600px",onOk:()=>{St(),it.history.push("/account/certification")},onCancel:()=>{St()}},ue.createElement("div",{className:Wt.tilte},"\u8BF7\u5728\u5B8C\u6210\u6761\u4EF6\u540E\u91CD\u8BD5"),ue.createElement("div",{className:Wt.flexRow},Oe()))};var bt=(0,it.connect)(({paperlibrary:wt,loading:pt,globalSetting:St})=>({paperlibrary:wt,globalSetting:St,loading:pt.effects}))(Ve)},9165:function(en,jn,Pe){"use strict";Pe.d(jn,{t:function(){return Ut}});var ue=Pe(59301),it=Pe(3113),Mt={buttonFixed:"buttonFixed___vyq30",button:"button___hxmYv",buttonWrap:"buttonWrap___uK8dl"},kt=Pe(92310),Dt=Pe.n(kt),Wt=Object.defineProperty,Ve=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,pt=(Zt,Oe,te)=>Oe in Zt?Wt(Zt,Oe,{enumerable:!0,configurable:!0,writable:!0,value:te}):Zt[Oe]=te,St=(Zt,Oe)=>{for(var te in Oe||(Oe={}))bt.call(Oe,te)&&pt(Zt,te,Oe[te]);if(Ve)for(var te of Ve(Oe))wt.call(Oe,te)&&pt(Zt,te,Oe[te]);return Zt};const Ut=({cancelText:Zt="\u53D6\u6D88",okText:Oe="\u786E\u5B9A",loading:te=!1,hasOkBtn:ne=!0,hasCancelBtn:de=!0,okButtonProps:le={},onCancel:pe=()=>{},onOk:xe=()=>{},className:Ae=""})=>ue.createElement("div",{className:Dt()(Mt.buttonFixed,Ae)},ue.createElement("div",{className:Mt.buttonWrap},de&&ue.createElement(it.ZP,{size:"middle",className:`${Mt.button} mr20`,onClick:pe},Zt),ne&&ue.createElement(it.ZP,St({size:"middle",type:"primary",className:`${Mt.button} mr20`,loading:te,onClick:xe},le),Oe)))},63454:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Me}});var ue=Pe(59301),it=Pe(89070),Mt=Pe(43418),kt=Pe(8591),Dt=Pe(92832),Wt=Pe(24905),Ve=Pe(1),bt=Pe(927),wt=Pe(955),pt=Pe(3113),St=Pe(87169),Ut={bottom:"bottom___z0ujX",yes:"yes___hodnN",no:"no___hiPz5"},Zt=Pe(32637),Oe=Pe(59301);const te=({classroomList:ke,dispatch:lt,user:dt})=>Oe.createElement(Mt.default,{open:ke.actionTabs.key==="\u5230\u671F\u63D0\u793A",width:464,centered:!0,title:Oe.createElement("span",null,Oe.createElement(St.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u63D0\u793A"),onCancel:()=>{lt({type:"classroomList/setActionTabs",payload:{key:""}})},footer:null},Oe.createElement("div",{style:{textAlign:"center",marginBottom:30}},Oe.createElement("div",{style:{marginBottom:20,textAlign:"left"}},"\u8BE5\u6559\u5B66\u8BFE\u5802\u7684\u8BD5\u7528\u5DF2\u5230\u671F\uFF0C\u76EE\u524D\u65E0\u6CD5\u652F\u6301",Oe.createElement("span",{style:{color:"#FF9D18"}},"\u8D85\u8FC750"),"\u4EBA\u7684\u6559\u5B66\u6D3B\u52A8\u3002\u5982\u6709\u4EFB\u4F55\u7591\u95EE\uFF0C\u8BF7\u968F\u65F6\u8054\u7CFB\u6211\u4EEC\u3002\u611F\u8C22\u60A8\u7684\u7406\u89E3\u4E0E\u652F\u6301\uFF01"),Oe.createElement("img",{style:{width:130,height:130},src:Zt})),Oe.createElement("div",{className:Ut.bottom},Oe.createElement(pt.ZP,{className:Ut.yes,onClick:()=>{lt({type:"classroomList/setActionTabs",payload:{key:""}})}},"\u6211\u77E5\u9053\u4E86")));var ne=(0,it.connect)(({classroomList:ke,user:lt})=>({classroomList:ke,user:lt}))(te),de=Pe(99064),le=Pe(59301),pe=(ke,lt,dt)=>new Promise((yt,ut)=>{var Tt=Jt=>{try{Nt(dt.next(Jt))}catch(vn){ut(vn)}},xt=Jt=>{try{Nt(dt.throw(Jt))}catch(vn){ut(vn)}},Nt=Jt=>Jt.done?yt(Jt.value):Promise.resolve(Jt.value).then(Tt,xt);Nt((dt=dt.apply(ke,lt)).next())}),xe=(ke=>(ke[ke.Professor=1]="Professor",ke[ke.AssistantProfessor=2]="AssistantProfessor",ke[ke.Student=3]="Student",ke))(xe||{});const Ae=({visible:ke,user:lt,account:dt,onCancel:yt=()=>{},dispatch:ut})=>{const[Tt,xt]=(0,ue.useState)(),[Nt,Jt]=(0,ue.useState)([]),[vn,Ai]=(0,ue.useState)(!1),[hi,kn]=(0,ue.useState)(!1),[ci,et]=(0,ue.useState)(),[ze,yn]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{var xn,Dn;(xn=lt==null?void 0:lt.userInfo)!=null&&xn.identity&&Jt([((Dn=lt==null?void 0:lt.userInfo)==null?void 0:Dn.identity)==="student"?3:1])},[lt]);const Xn=xn=>{const Dn=()=>{window.location.href=(xn==null?void 0:xn.jump_url)||`/classrooms/${xn==null?void 0:xn.course_id}/students`};if(Nt.includes(1)){Mt.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:le.createElement("div",{className:"tc"},(xn==null?void 0:xn.message)||"\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838"),onOk:()=>{Dn()}});return}Dn()},ei=()=>pe(void 0,null,function*(){if(!Tt){kt.ZP.info("\u9080\u8BF7\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}let xn=yield(0,de.ZP)("/api/courses/get_pro_info.json",{method:"get",params:{invite_code:Tt}});if(xn!=null&&xn.need_pro_auth&&!Nt.includes(1)&&!Nt.includes(2)){ut({type:"account/setActionTabs",payload:{key:"Account-ProfessionalAuth",code:Tt,checkedList:Nt}}),rn();return}Ai(!0);const Dn=yield(0,Ve.cR)({invite_code:Tt,professor:Nt.includes(1)?1:null,assistant_professor:Nt.includes(2)?1:null,student:Nt.includes(3)?1:null});if(Ai(!1),(Dn==null?void 0:Dn.status)===-4&&(yt(),ut({type:"classroomList/setActionTabs",payload:{key:"\u5230\u671F\u63D0\u793A"}})),(Dn==null?void 0:Dn.status)===-12&&kt.ZP.warning(Dn==null?void 0:Dn.message),(Dn==null?void 0:Dn.status)===-2){if(rn(),Dn.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u8BA4\u8BC1"){kn(!0),et(1);return}if(Dn.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u804C\u4E1A\u8BA4\u8BC1"){kn(!0),et(2);return}if(Dn.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u548C\u804C\u4E1A\u8BA4\u8BC1"){kn(!0),et(3);return}}if((Dn==null?void 0:Dn.status)===0){(0,wt.L9)(["\u6559\u5B66\u8BFE\u5802","\u9996\u9875","\u52A0\u5165\u8BFE\u5802"]),rn(),Dn!=null&&Dn.course_id?Xn(Dn):kt.ZP.success(Dn.message);return}}),rn=()=>pe(void 0,null,function*(){yt()});return le.createElement(le.Fragment,null,le.createElement(Mt.default,{centered:!0,keyboard:!1,closable:!1,title:"\u52A0\u5165\u8BFE\u5802",open:ke,confirmLoading:vn,onOk:ei,onCancel:rn},le.createElement("div",{className:"tc"},le.createElement("div",null,le.createElement("span",null,"\u8BFE\u5802\u9080\u8BF7\u7801\uFF1A"),le.createElement(Dt.default,{placeholder:"\u8BF7\u8F93\u51655\u4F4D\u8BFE\u5802\u9080\u8BF7\u7801\u62166\u4F4D\u5206\u73ED\u9080\u8BF7\u7801",style:{width:270},value:Tt,onChange:xn=>{if(xn.target.value.length>=7){kt.ZP.info("\u8BF7\u8F93\u51655\u4F4D\u8BFE\u5802\u9080\u8BF7\u7801\u62166\u4F4D\u5206\u73ED\u9080\u8BF7\u7801\uFF01");return}xt(xn.target.value)}})),le.createElement("div",{className:"mt10 font14"},le.createElement("span",null,"\u8EAB\u4EFD\uFF1A"),le.createElement(Wt.default.Group,{value:Nt,onChange:xn=>Jt(xn)},le.createElement(Wt.default,{value:1,disabled:Nt.includes(2)},"\u6559\u5E08"),le.createElement(Wt.default,{value:2,disabled:Nt.includes(1)},"\u52A9\u6559"),le.createElement(Wt.default,{value:3},"\u5B66\u751F/\u53C2\u8D5B\u8005"))))),le.createElement(ne,null),le.createElement(bt.Z,{visible:hi,onCancel:()=>kn(!1),occupationValue:ci}))};var Me=(0,it.connect)(({user:ke,account:lt})=>({user:ke,account:lt}))(Ae)},61682:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Di},g:function(){return br}});var ue=Pe(59301),it=Pe(89070),Mt=Pe(44e3),kt=Pe(92832),Dt=Pe(43418),Wt={flex_box_center:"flex_box_center___et8xE",flex_space_between:"flex_space_between___GBGuw",flex_box_vertical_center:"flex_box_vertical_center____6P1q",flex_box_center_end:"flex_box_center_end___whXw6",flex_box_column:"flex_box_column___mWgI_",header:"header___Wn4fJ",logo:"logo___QnotM",menu:"menu___twLGR",dropDown:"dropDown___Cwaoa",line:"line___D1auu",subName:"subName___gql7K",name:"name___dR5V2",actived:"actived___ohMks","edu-menu":"edu-menu___iWLK0",newslight:"newslight___lSZjL",classromediv:"classromediv___knFRv",glow:"glow___gzrPH",spandiv:"spandiv___Gm_hg","header-iearning":"header-iearning___LZfyg",title:"title___Ozzjk",headerFixed:"headerFixed___QLwBd"},Ve=Pe(8591),bt=Pe(95237),wt=Pe(43604),pt=Pe(20834),St=Pe(38854),Ut=Pe(5112),Zt=Pe(1),Oe=Pe(955),te=(Cn,Kn,Lt)=>new Promise((Ft,un)=>{var Sr=si=>{try{Ri(Lt.next(si))}catch(Ti){un(Ti)}},Ii=si=>{try{Ri(Lt.throw(si))}catch(Ti){un(Ti)}},Ri=si=>si.done?Ft(si.value):Promise.resolve(si.value).then(Sr,Ii);Ri((Lt=Lt.apply(Cn,Kn)).next())}),ne=(Cn=>(Cn.Manager="manager",Cn.Developer="developer",Cn.Reporter="reporter",Cn))(ne||{}),le=({visible:Cn,onCancel:Kn=()=>{}})=>{const[Lt,Ft]=(0,ue.useState)(),[un,Sr]=(0,ue.useState)(),[Ii,Ri]=(0,ue.useState)(!1),si=()=>te(void 0,null,function*(){if(!Lt){Ve.ZP.info("\u8BF7\u8F93\u5165\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}if(Lt.length!==6){Ve.ZP.info("\u8BF7\u8F93\u51656\u4F4D\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}if(!un){Ve.ZP.info("\u8BF7\u9009\u62E9\u4E00\u4E2A\u8EAB\u4EFD\uFF01");return}Ri(!0);const Jr=yield(0,Zt.vm)({code:Lt,role:un});Ri(!1),Ti();const Qr={1:"\u60A8\u8F93\u5165\u7684\u9080\u8BF7\u7801\u9519\u8BEF",2:"\u60A8\u5DF2\u7ECF\u662F\u8BE5\u9879\u76EE\u6210\u5458",3:"\u8BF7\u9009\u62E9\u4E00\u4E2A\u89D2\u8272",4:"\u60A8\u7684\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u9879\u76EE\u7BA1\u7406\u5458\u5BA1\u6279",5:"\u60A8\u5DF2\u7ECF\u7533\u8BF7\u52A0\u5165\u8BE5\u9879\u76EE\u4E86\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85",6:"\u60A8\u5DF2\u6210\u529F\u52A0\u5165\u9879\u76EE"};if(Qr[Jr.status]){Ve.ZP.info(Qr[Jr.status]);return}if(Jr.status===0){un==="reporter"?(Ve.ZP.success("\u60A8\u52A0\u5165\u9879\u76EE\u6210\u529F\uFF01"),(0,Oe.L9)(["\u5F00\u53D1\u9879\u76EE","\u52A0\u5165\u9879\u76EE\u6210\u529F"]),it.history.push(`/projects/${Jr==null?void 0:Jr.project_id}`)):((0,Oe.L9)(["\u5F00\u53D1\u9879\u76EE","\u52A0\u5165\u9879\u76EE\u7B49\u5F85\u5BA1\u6279"]),Ve.ZP.success("\u60A8\u7684\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u9879\u76EE\u7BA1\u7406\u5458\u5BA1\u6279\uFF01"));return}}),Ti=()=>te(void 0,null,function*(){Kn()});return ue.createElement(ue.Fragment,null,ue.createElement(Dt.default,{centered:!0,keyboard:!1,closable:!1,title:"\u52A0\u5165\u9879\u76EE",open:Cn,confirmLoading:Ii,onOk:si,onCancel:Ti},ue.createElement("div",{className:"tc"},ue.createElement("div",null,ue.createElement("span",null,"\u9879\u76EE\u9080\u8BF7\u7801\uFF1A"),ue.createElement(kt.default,{placeholder:"\u8BF7\u8F93\u51656\u4F4D\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801",style:{width:270},value:Lt,onChange:Jr=>{if(Jr.target.value.length>=7){Ve.ZP.info("\u8BF7\u8F93\u51656\u4F4D\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}Ft(Jr.target.value)}})),ue.createElement("div",{className:"mt10 font14"},ue.createElement("span",null,"\u8EAB\u4EFD\uFF1A"),ue.createElement(Ut.ZP.Group,{value:un,onChange:Jr=>Sr(Jr.target.value)},ue.createElement(Ut.ZP,{value:"manager"},"\u7BA1\u7406\u4EBA\u5458"),ue.createElement(Ut.ZP,{value:"developer"},"\u5F00\u53D1\u4EBA\u5458"),ue.createElement(Ut.ZP,{value:"reporter"},"\u62A5\u544A\u4EBA\u5458"))))))},pe=Pe(63454),xe={flex_box_center:"flex_box_center___cltIf",flex_space_between:"flex_space_between___fKr_O",flex_box_vertical_center:"flex_box_vertical_center____QfiA",flex_box_center_end:"flex_box_center_end___ysqmH",flex_box_column:"flex_box_column___CfE8K",rightMenu:"rightMenu___ADTOX",joinMenu:"joinMenu___aRGsf",joinBoard:"joinBoard___AeUvr",joinCol:"joinCol___fV4uL"},Ae=Pe(46474),Me=Pe(78241),ke=Pe(57809),lt=Pe(2742),dt=(Cn,Kn,Lt)=>new Promise((Ft,un)=>{var Sr=si=>{try{Ri(Lt.next(si))}catch(Ti){un(Ti)}},Ii=si=>{try{Ri(Lt.throw(si))}catch(Ti){un(Ti)}},Ri=si=>si.done?Ft(si.value):Promise.resolve(si.value).then(Sr,Ii);Ri((Lt=Lt.apply(Cn,Kn)).next())});const yt=({globalSetting:Cn,dispatch:Kn,user:Lt,open:Ft,onCancel:un=()=>{}})=>{const[Sr,Ii]=(0,ue.useState)([]),[Ri,si]=(0,ue.useState)([]),[Ti,Jr]=(0,ue.useState)([]),[Qr]=Me.default.useForm(),[Lo,Nn]=(0,ue.useState)(!1),[ja,co]=(0,ue.useState)(!1),Kr=(0,ue.useRef)(null),sn=(0,ue.useRef)(1),[Vt,hn]=(0,ue.useState)({keyword:"",source:"",status:"",page:1,limit:20});(0,ue.useEffect)(()=>{Ft&&Xt()},[Ft]);const Xt=()=>dt(void 0,null,function*(){var ui;const Ci=yield Vn(Vt);if(!(0,Ae.o1)(Kn))return;const{user_school_id:Yn="",department_id:ln="",school_name:_r="",department_name:Rn=""}=Lt.userInfo||{},Ir=(ui=Ci==null?void 0:Ci.graduation_years)==null?void 0:ui.at(-1);si([{id:Yn,name:_r}]),yield lr(Yn),Qr.setFieldsValue({year:Ir,school_id:Yn,department_id:Number(ln),name:`${Ir}${_r}${Rn}\u6BD5\u4E1A\u8BBE\u8BA1`})}),Vn=ui=>dt(void 0,null,function*(){const Ci=yield(0,lt.J3)(ui);return Ci.status===0&&Ii((Ci==null?void 0:Ci.graduation_years)||[]),Ci}),er=(ui,Ci=500)=>{co(!0),clearTimeout(Kr.current),Kr.current=setTimeout(()=>dt(void 0,null,function*(){sn.current+=1;const Yn=sn.current,ln=yield(0,lt.NT)({keyword:ui});ln.status===0&&sn.current===Yn&&(si((ln==null?void 0:ln.schools)||[]),co(!1))}),Ci)},lr=ui=>dt(void 0,null,function*(){if(!ui)return;const Ci=yield(0,lt.Ps)({page:1,limit:9999,id:ui});Ci.status===0&&Jr((Ci==null?void 0:Ci.departments)||[])});return ue.createElement(Dt.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:Ft,title:"\u5F00\u542F\u65B0\u4E00\u5C4A\u6BD5\u4E1A\u8BBE\u8BA1",width:578,confirmLoading:Lo,onCancel:un,onOk:()=>Qr.submit()},ue.createElement(Me.default,{colon:!1,form:Qr,initialValues:{},labelCol:{span:7},size:"large",wrapperCol:{span:17},onValuesChange:(ui,Ci)=>{ui.school_id&&(lr(Ci.school_id),Qr.setFieldValue("department_id",null))},onFinish:ui=>dt(void 0,null,function*(){Nn(!0);const Ci=yield(0,lt.Wz)(ui);Ci.status===0&&(Ve.ZP.success("\u521B\u5EFA\u6210\u529F"),Qr.resetFields(),un(),(0,Oe.xg)(`/graduations/${Ci==null?void 0:Ci.identifier}/index`)),Nn(!1)})},ue.createElement(Me.default.Item,{name:"year",label:"\u9009\u62E9\u5C4A\u522B",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5C4A\u522B"}]},ue.createElement(ke.default,{style:{width:344},size:"large",options:Sr.map(ui=>({value:ui,label:ui}))})),ue.createElement(Me.default.Item,{name:"school_id",label:"\u5B66\u6821",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u6821"}]},ue.createElement(ke.default,{showSearch:!0,filterOption:!1,onSearch:ui=>{er(ui)},loading:ja,size:"large",style:{width:344},options:Ri.map(ui=>({value:ui.id,label:ui.name}))})),ue.createElement(Me.default.Item,{name:"department_id",label:"\u5B66\u9662",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u9662"}]},ue.createElement(ke.default,{showSearch:!0,optionFilterProp:"label",style:{width:344},size:"large",options:Ti.map(ui=>({value:ui.id,label:ui.name}))})),ue.createElement(Me.default.Item,{name:"name",label:"\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0"}]},ue.createElement(kt.default,{showCount:!0,style:{width:344},maxLength:60}))))};var ut=(0,it.connect)(({user:Cn,globalSetting:Kn,loading:Lt})=>({user:Cn,globalSetting:Kn,loading:Lt}))(yt),Tt=Pe(99064),xt=Object.defineProperty,Nt=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,Ai=(Cn,Kn,Lt)=>Kn in Cn?xt(Cn,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Cn[Kn]=Lt,hi=(Cn,Kn)=>{for(var Lt in Kn||(Kn={}))Jt.call(Kn,Lt)&&Ai(Cn,Lt,Kn[Lt]);if(Nt)for(var Lt of Nt(Kn))vn.call(Kn,Lt)&&Ai(Cn,Lt,Kn[Lt]);return Cn},kn=(Cn,Kn,Lt)=>new Promise((Ft,un)=>{var Sr=si=>{try{Ri(Lt.next(si))}catch(Ti){un(Ti)}},Ii=si=>{try{Ri(Lt.throw(si))}catch(Ti){un(Ti)}},Ri=si=>si.done?Ft(si.value):Promise.resolve(si.value).then(Sr,Ii);Ri((Lt=Lt.apply(Cn,Kn)).next())});const ci=({globalSetting:Cn,dispatch:Kn,user:Lt,open:Ft,onCancel:un=()=>{}})=>{const[Sr]=Me.default.useForm(),[Ii,Ri]=(0,ue.useState)(!1),[si,Ti]=(0,ue.useState)(null);return(0,ue.useEffect)(()=>{var Jr;if(Ft){const Qr={code:"",user_type:((Jr=Lt==null?void 0:Lt.userInfo)==null?void 0:Jr.identity)==="student"?2:1,major:""};Sr.setFieldsValue(Qr),Ti(hi({},Qr))}},[Ft]),ue.createElement(Dt.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:Ft,title:"\u52A0\u5165\u6BD5\u8BBE",width:527,confirmLoading:Ii,onCancel:un,onOk:()=>Sr.submit()},ue.createElement(Me.default,{colon:!1,form:Sr,initialValues:{user_type:1},labelCol:{span:5},wrapperCol:{span:19},size:"large",onValuesChange:(Jr,Qr)=>Ti(hi({},Qr)),onFinish:Jr=>kn(void 0,null,function*(){Ri(!0);const Qr=yield(0,Tt.ZP)("/api/graduations/join.json",{method:"post",body:Jr});Qr.status===0&&(un(),Qr!=null&&Qr.identifier?(0,Oe.xg)(`/graduations/${Qr==null?void 0:Qr.identifier}/index`):Ve.ZP.success(Qr==null?void 0:Qr.message)),Ri(!1)})},ue.createElement(Me.default.Item,{name:"code",label:"\u6BD5\u8BBE\u9080\u8BF7\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801"}]},ue.createElement(kt.default,{placeholder:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801",size:"large"})),ue.createElement(Me.default.Item,{name:"user_type",label:"\u8EAB\u4EFD",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801"}]},ue.createElement(Ut.ZP.Group,null,ue.createElement(Ut.ZP,{value:1,style:{color:"#000"}},"\u7BA1\u7406\u5458\uFF08\u6559\u5E08\uFF09"),ue.createElement(Ut.ZP,{className:"ml30",style:{color:"#000"},value:2},"\u5B66\u751F"))),(si==null?void 0:si.user_type)===2&&ue.createElement(Me.default.Item,{style:{marginBottom:0},name:"major",label:"\u4E13\u4E1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"}]},ue.createElement(kt.default,{showCount:!0,maxLength:60}))))};var et=(0,it.connect)(({user:Cn,globalSetting:Kn})=>({user:Cn,globalSetting:Kn}))(ci),ze=Pe(59301),yn=Object.defineProperty,Xn=Object.defineProperties,ei=Object.getOwnPropertyDescriptors,rn=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,Dn=Object.prototype.propertyIsEnumerable,yi=(Cn,Kn,Lt)=>Kn in Cn?yn(Cn,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Cn[Kn]=Lt,qn=(Cn,Kn)=>{for(var Lt in Kn||(Kn={}))xn.call(Kn,Lt)&&yi(Cn,Lt,Kn[Lt]);if(rn)for(var Lt of rn(Kn))Dn.call(Kn,Lt)&&yi(Cn,Lt,Kn[Lt]);return Cn},Mi=(Cn,Kn)=>Xn(Cn,ei(Kn)),mt=(Cn,Kn)=>{var Lt={};for(var Ft in Cn)xn.call(Cn,Ft)&&Kn.indexOf(Ft)<0&&(Lt[Ft]=Cn[Ft]);if(Cn!=null&&rn)for(var Ft of rn(Cn))Kn.indexOf(Ft)<0&&Dn.call(Cn,Ft)&&(Lt[Ft]=Cn[Ft]);return Lt},ht=(Cn=>(Cn.Projects="projects",Cn.Shixuns="shixuns",Cn.Classrooms="classrooms",Cn))(ht||{}),gn=(Cn=>(Cn.Classrooms="classrooms",Cn.Shixuns="shixuns",Cn.Paths="paths",Cn.Projects="projects",Cn.Videos="videos",Cn.Topics="topics",Cn))(gn||{});const jt=Cn=>{var Kn=Cn,{homePage:Lt,user:Ft,globalSetting:un,loading:Sr,dispatch:Ii}=Kn,Ri=mt(Kn,["homePage","user","globalSetting","loading","dispatch"]),si,Ti,Jr,Qr,Lo,Nn,ja,co;const[Kr,sn]=(0,ue.useState)(),[Vt,hn]=(0,ue.useState)(),[Xt,Vn]=(0,ue.useState)(!1),[er,lr]=(0,ue.useState)(!1),ui=Ir=>{var Or;if((0,Ae.tJ)(Ii,!1,Ir==="classrooms","",!0)){if(Ir==="projects"&&!((Or=Ft.userInfo)!=null&&Or.email)){Ve.ZP.info("\u8BF7\u5148\u7ED1\u5B9A\u90AE\u7BB1\uFF0C\u8C22\u8C22");return}Ir==="classrooms"?sn(!0):Ir==="projects"&&hn(!0)}},Ci=(Ir,Or)=>{var fr;if((0,Ae.tJ)(Ii)){if(Or==="projects"&&!((fr=Ft.userInfo)!=null&&fr.email)){Ve.ZP.info("\u8BF7\u5148\u7ED1\u5B9A\u90AE\u7BB1\uFF0C\u8C22\u8C22");return}Or==="shixuns"&&!(0,Ae.xY)()||Ir&&(window.location.href=Ir)}},Yn=(Ti=(((si=un.setting)==null?void 0:si.navbar)||[]).find(Ir=>Ir.link==="/classrooms"))==null?void 0:Ti.hidden;let ln=(Qr=(((Jr=un.setting)==null?void 0:Jr.navbar)||[]).find(Ir=>Ir.link==="/shixuns"))==null?void 0:Qr.hidden;const _r=(Nn=(((Lo=un.setting)==null?void 0:Lo.navbar)||[]).find(Ir=>Ir.link==="/paths"))==null?void 0:Nn.hidden;(ja=un==null?void 0:un.setting)!=null&&ja.is_local&&((co=Ft==null?void 0:Ft.userInfo)!=null&&co.is_shixun_marker||(ln=!0));const Rn=Ir=>{var Or,fr,Bo,Zr,Zi,xr,oo,Bn,gi,Ze,Io,no,rr,qi,Qi,aa,ys,bs,_o;return ze.createElement(ze.Fragment,null,ze.createElement(bt.Z,{justify:"space-around",className:"pt5 pb5"},ze.createElement(wt.Z,{className:xe.joinCol},((Or=Ft.userInfo)==null?void 0:Or.user_identity)!=="\u5B66\u751F"&&!Yn&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>Ci("/classrooms/new")},(fr=Ft.userInfo)!=null&&fr.main_site?"\u65B0\u5EFA\u6559\u5B66\u8BFE\u5802":"\u65B0\u5EFA\u8BFE\u5802")),!ln&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>Ci("/shixuns/new","shixuns")},"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE")),(((Bo=Ft.userInfo)==null?void 0:Bo.main_site)||!((Zr=Ft.userInfo)!=null&&Zr.main_site)&&!_r&&(((Zi=Ft.userInfo)==null?void 0:Zi.admin)||((xr=Ft.userInfo)==null?void 0:xr.is_teacher)||((oo=Ft.userInfo)==null?void 0:oo.business)))&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>Ci("/paths/new")},"\u65B0\u5EFA\u5B9E\u8DF5\u8BFE\u7A0B")),!((Bn=un==null?void 0:un.setting)!=null&&Bn.is_local)&&((gi=Ft.userInfo)==null?void 0:gi.main_site)&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>{var Ea;return Ci(`${(Ea=un==null?void 0:un.setting)==null?void 0:Ea.old_url}/projects/deposit/new`,"projects")}},"\u65B0\u5EFA\u5F00\u53D1\u9879\u76EE")),window.location.host!=="narl.educoder.net"&&((Ze=Ft==null?void 0:Ft.userInfo)==null?void 0:Ze.identity)!=="student"&&ze.createElement(pt.default.Item,Mi(qn({},Ir),{onClick:()=>{(0,Ae.o1)(Ii)&&Vn(!0)}}),ze.createElement("a",null,"\u65B0\u5EFA\u6BD5\u4E1A\u8BBE\u8BA1")),!((Io=Ft.userInfo)!=null&&Io.main_site)&&ze.createElement("div",null,!Yn&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>ui("classrooms")},(no=Ft.userInfo)!=null&&no.main_site?"\u52A0\u5165\u6559\u5B66\u8BFE\u5802":"\u52A0\u5165\u8BFE\u5802")),((rr=Ft.userInfo)==null?void 0:rr.main_site)&&!((qi=un==null?void 0:un.setting)!=null&&qi.is_local)&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>ui("projects")},"\u52A0\u5165\u5F00\u53D1\u9879\u76EE")))),((Qi=Ft.userInfo)==null?void 0:Qi.main_site)&&ze.createElement(wt.Z,null,ze.createElement("div",{className:xe.joinBoard})),((aa=Ft.userInfo)==null?void 0:aa.main_site)&&ze.createElement(wt.Z,{className:xe.joinCol},!Yn&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>ui("classrooms")},(ys=Ft.userInfo)!=null&&ys.main_site?"\u52A0\u5165\u6559\u5B66\u8BFE\u5802":"\u52A0\u5165\u8BFE\u5802")),((bs=Ft.userInfo)==null?void 0:bs.main_site)&&!((_o=un==null?void 0:un.setting)!=null&&_o.is_local)&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>ui("projects")},"\u52A0\u5165\u5F00\u53D1\u9879\u76EE")),ze.createElement(pt.default.Item,Mi(qn({},Ir),{onClick:()=>{(0,Ae.o1)(Ii)&&lr(!0)}}),ze.createElement("a",null,"\u52A0\u5165\u6BD5\u4E1A\u8BBE\u8BA1")))))};return ze.createElement("section",null,ze.createElement(St.Z,{dropdownRender:()=>ze.createElement(pt.default,{className:`${xe.rightMenu} ${xe.joinMenu} mt10`},ze.createElement(Rn,null)),placement:"bottomRight"},ze.createElement("span",{style:{lineHeight:"inherit"},className:"iconfont icon-tianjiafangda c-white font18 current ml15 mr15"})),ze.createElement(pe.Z,{visible:Kr,onCancel:()=>sn(!1)}),ze.createElement(le,{visible:Vt,onCancel:()=>hn(!1)}),ze.createElement(ut,{open:Xt,onCancel:()=>Vn(!1)}),ze.createElement(et,{open:er,onCancel:()=>lr(!1)}))};var En=(0,it.connect)(({homePage:Cn,loading:Kn,user:Lt,globalSetting:Ft})=>({homePage:Cn,user:Lt,globalSetting:Ft,loading:Kn.models.index}))(jt),Fn={flex_box_center:"flex_box_center___YbxYn",flex_space_between:"flex_space_between___Atwkg",flex_box_vertical_center:"flex_box_vertical_center____I6AC",flex_box_center_end:"flex_box_center_end___LrYPg",flex_box_column:"flex_box_column___j7QNF",userPic:"userPic___a46Uz",rightMenu:"rightMenu___y_nqk",menuWrap:"menuWrap___iwlZB",exit:"exit___MOREW",classromediv:"classromediv___crYsO",glow:"glow___jMGk7",height67:"height67___asp2E",login:"login___WGEW9",icon:"icon___HABAt"},ii=Pe(24065),ni=Pe(24780),mn=Pe(3294),zt=Pe(59301),$e=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,Ie=(Cn,Kn)=>{var Lt={};for(var Ft in Cn)At.call(Cn,Ft)&&Kn.indexOf(Ft)<0&&(Lt[Ft]=Cn[Ft]);if(Cn!=null&&$e)for(var Ft of $e(Cn))Kn.indexOf(Ft)<0&&Yt.call(Cn,Ft)&&(Lt[Ft]=Cn[Ft]);return Lt},Ce=(Cn,Kn,Lt)=>new Promise((Ft,un)=>{var Sr=si=>{try{Ri(Lt.next(si))}catch(Ti){un(Ti)}},Ii=si=>{try{Ri(Lt.throw(si))}catch(Ti){un(Ti)}},Ri=si=>si.done?Ft(si.value):Promise.resolve(si.value).then(Sr,Ii);Ri((Lt=Lt.apply(Cn,Kn)).next())});const Ee=Cn=>{var Kn,Lt=RegExp("(^| )"+Cn+"=([^;]+)(;|$)");return(Kn=document.cookie.match(Lt))?decodeURIComponent(Kn[2]):null},Te=Cn=>{var Kn=new Date;Kn.setTime(Kn.getTime()-1);var Lt=Ee(Cn);Lt!=null&&(document.cookie=Cn+"="+Lt+";expires="+Kn.toGMTString())};var Ue=(Cn=>(Cn.Classrooms="classrooms",Cn.Shixuns="shixuns",Cn.Paths="paths",Cn.Projects="projects",Cn.Videos="videos",Cn.Topics="topics",Cn))(Ue||{});const Le=Cn=>{var Kn=Cn,{homePage:Lt,user:Ft,globalSetting:un,loading:Sr,dispatch:Ii,shixunHomeworks:Ri,location:si,payload:Ti={}}=Kn,Jr=Ie(Kn,["homePage","user","globalSetting","loading","dispatch","shixunHomeworks","location","payload"]),Qr,Lo,Nn,ja,co,Kr,sn,Vt,hn,Xt;const Vn=(Lo=(((Qr=un.setting)==null?void 0:Qr.navbar)||[]).find(Yn=>Yn.link==="/classrooms"))==null?void 0:Lo.hidden,er=(ja=(((Nn=un.setting)==null?void 0:Nn.navbar)||[]).find(Yn=>Yn.link==="/shixuns"))==null?void 0:ja.hidden,lr=(Kr=(((co=un.setting)==null?void 0:co.navbar)||[]).find(Yn=>Yn.link==="/paths"))==null?void 0:Kr.hidden,ui=(sn=Ft.userInfo)==null?void 0:sn.is_school_manage,Ci=()=>{var Yn,ln,_r,Rn,Ir,Or,fr,Bo;return(0,Oe.Ll)()?zt.createElement(pt.default,{className:`${Fn.rightMenu} ${Fn.menuWrap}`},zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406"))):zt.createElement(pt.default,{className:`${Fn.rightMenu} ${Fn.menuWrap}`},zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:`/users/${(Yn=Ft.userInfo)==null?void 0:Yn.login}/classrooms`},"\u6211\u7684\u4E2A\u4EBA\u4E3B\u9875")),!Vn&&zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:`/users/${(ln=Ft.userInfo)==null?void 0:ln.login}/classrooms`},(_r=Ft.userInfo)!=null&&_r.main_site?"\u6211\u7684\u6559\u5B66\u8BFE\u5802":"\u6211\u7684\u8BFE\u5802")),!er&&zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:`/users/${(Rn=Ft.userInfo)==null?void 0:Rn.login}/shixuns`},"\u6211\u7684\u5B9E\u8DF5\u9879\u76EE")),!lr&&zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:`/users/${(Ir=Ft.userInfo)==null?void 0:Ir.login}/paths`},(Or=Ft.userInfo)!=null&&Or.main_site?"\u6211\u7684\u5B9E\u8DF5\u8BFE\u7A0B":"\u6211\u7684\u8BFE\u7A0B")),zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:`/users/${(fr=Ft.userInfo)==null?void 0:fr.login}/teach-group`},"\u6211\u7684\u6559\u7814\u56E2\u961F")),zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:`/users/${(Bo=Ft.userInfo)==null?void 0:Bo.login}/competitions`},"\u6211\u7684\u7ADE\u8D5B\u7BA1\u7406")),zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:"/order"},"\u6211\u8D2D\u4E70\u7684\u8BFE\u7A0B")),(0,ii.Ny)()&&zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:"/quality"},"\u7CBE\u54C1\u8BFE\u7A0B")),!(0,ii.JA)()&&zt.createElement(pt.default.Item,null,zt.createElement("a",{onClick:()=>{(0,Ae.tJ)(Ii)&&it.history.push("/problemset")}},"\u8BD5\u9898\u5E93")),!(0,ii.JA)()&&zt.createElement(pt.default.Item,null,zt.createElement("a",{onClick:()=>{(0,Ae.tJ)(Ii)&&it.history.push("/paperlibrary")}},"\u8BD5\u5377\u5E93")),zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{onClick:()=>{localStorage.getItem("Noviceguide")==="0"||Ii({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:2,href:"/classrooms",text:zt.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}})},to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406")),ui&&zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:"/administration/college"},"\u9AD8\u6821\u7BA1\u7406")),zt.createElement(pt.default.Item,{className:Fn.exit},zt.createElement("a",{onClick:()=>Ce(void 0,null,function*(){try{const Zr=yield(0,ni.vR)({});Ve.ZP.success(Zr==null?void 0:Zr.message)}catch(Zr){}(0,Oe.d8)("_educoder_session","logout",1),(0,Oe.m5)(),localStorage.removeItem("isfirst"),localStorage.removeItem("SystemUpdateadvtime"),localStorage.removeItem("item"),localStorage.removeItem("iscreate"),setTimeout(()=>{window.location.href="/"},800)})},"\u9000\u51FA")))};return(0,ii.bg)()?zt.createElement(St.Z,{className:`${Fn.height67}`,dropdownRender:Ci,placement:"bottomRight"},zt.createElement("section",null,zt.createElement("aside",null,zt.createElement("div",{className:Ri.actionTabs.type===1?Fn.classromediv:""},zt.createElement("img",{className:`${Fn.userPic} current ml15`,src:`${(Vt=mn.Z)==null?void 0:Vt.IMG_SERVER}/images/${(hn=Ft.userInfo)==null?void 0:hn.image_url}`,alt:"",onClick:()=>{var Yn;return it.history.push((0,Oe.Ll)()?"/account/profile":`/users/${(Yn=Ft.userInfo)==null?void 0:Yn.login}/classrooms`)}}),(0,Oe.Ll)()&&zt.createElement("span",{className:"ml10 font16"},(Xt=Ft.userInfo)==null?void 0:Xt.username),zt.createElement("i",{className:`iconfont icon-zhankai4 ${Fn.icon}`}))))):zt.createElement("div",{className:`font15 ${un.isIlearning?Fn.login:""}`},zt.createElement("span",{className:"ml10 mr5 current c-white",onClick:()=>{Ii({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})}},"\u767B\u5F55 / \u6CE8\u518C"))};var rt=(0,it.connect)(({homePage:Cn,loading:Kn,user:Lt,globalSetting:Ft,shixunHomeworks:un})=>({homePage:Cn,user:Lt,globalSetting:Ft,shixunHomeworks:un,loading:Kn.models.index}))(Le),Sn={tip:"tip___a6MfI"},fn=Pe(61186),an=Pe.n(fn),qt=Pe(59301),fi=(Cn,Kn,Lt)=>new Promise((Ft,un)=>{var Sr=si=>{try{Ri(Lt.next(si))}catch(Ti){un(Ti)}},Ii=si=>{try{Ri(Lt.throw(si))}catch(Ti){un(Ti)}},Ri=si=>si.done?Ft(si.value):Promise.resolve(si.value).then(Sr,Ii);Ri((Lt=Lt.apply(Cn,Kn)).next())}),Mn=(Cn=>(Cn[Cn.Professor=1]="Professor",Cn[Cn.AssistantProfessor=2]="AssistantProfessor",Cn[Cn.Student=3]="Student",Cn))(Mn||{});const On=({visible:Cn,user:Kn,onCancel:Lt=()=>{},dispatch:Ft})=>{var un,Sr,Ii;const[Ri,si]=(0,ue.useState)(),[Ti,Jr]=(0,ue.useState)([]),[Qr,Lo]=(0,ue.useState)(!1),[Nn,ja]=(0,ue.useState)(!1),[co,Kr]=(0,ue.useState)(),[sn,Vt]=(0,ue.useState)(!1),hn=(un=window.location.pathname)==null?void 0:un.includes("classrooms/");(0,ue.useEffect)(()=>{var Ci,Yn;(Ci=Kn==null?void 0:Kn.userInfo)!=null&&Ci.identity&&Jr([((Yn=Kn==null?void 0:Kn.userInfo)==null?void 0:Yn.identity)==="student"?3:1])},[Kn]),(0,ue.useEffect)(()=>{var Ci,Yn,ln;if(console.log(Kn==null?void 0:Kn.userInfo),(Ci=Kn==null?void 0:Kn.userInfo)!=null&&Ci.user_status)if(((Yn=Kn==null?void 0:Kn.userInfo)==null?void 0:Yn.role)===15){Vt(!1);return}else{let _r=JSON.parse(hn?localStorage==null?void 0:localStorage.getItem("delaytip_class"):localStorage==null?void 0:localStorage.getItem("delaytip_user"));_r&&(_r==null?void 0:_r.login)===((ln=Kn==null?void 0:Kn.userInfo)==null?void 0:ln.login)?(console.log(an()(_r==null?void 0:_r.time).add(1,"days")),console.log(an()(new Date)),an()(_r==null?void 0:_r.time).add(1,"days").set({hour:0,minute:0,second:0}){if(Ti.includes(1)){Dt.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:qt.createElement("div",{className:"tc"},Yn||"\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838"),onOk:()=>{window.location.href=`/classrooms/${Ci}/students`}});return}window.location.href=`/classrooms/${Ci}/students`},Vn=()=>fi(void 0,null,function*(){if(!Ri){Ve.ZP.info("\u9080\u8BF7\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}Lo(!0);const Ci=yield(0,Zt.cR)({invite_code:Ri,professor:Ti.includes(1)?1:null,assistant_professor:Ti.includes(2)?1:null,student:Ti.includes(3)?1:null});if(Lo(!1),(Ci==null?void 0:Ci.status)===-1&&Ft({type:"classroomList/setActionTabs",payload:{key:"\u5230\u671F\u63D0\u793A"}}),(Ci==null?void 0:Ci.status)===-2){if(er(),Ci.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u8BA4\u8BC1"){ja(!0),Kr(1);return}if(Ci.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u804C\u4E1A\u8BA4\u8BC1"){ja(!0),Kr(2);return}if(Ci.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u548C\u804C\u4E1A\u8BA4\u8BC1"){ja(!0),Kr(3);return}}if((Ci==null?void 0:Ci.status)===0){(0,Oe.L9)(["\u6559\u5B66\u8BFE\u5802","\u9996\u9875","\u52A0\u5165\u8BFE\u5802"]),er(),Ci!=null&&Ci.course_id?Xt(Ci.course_id,Ci.message):Ve.ZP.success(Ci.message);return}}),er=()=>fi(void 0,null,function*(){Lt()}),lr=()=>{var Ci,Yn;hn?localStorage.setItem("delaytip_class",JSON.stringify({time:new Date,login:(Ci=Kn==null?void 0:Kn.userInfo)==null?void 0:Ci.login})):localStorage.setItem("delaytip_user",JSON.stringify({time:new Date,login:(Yn=Kn==null?void 0:Kn.userInfo)==null?void 0:Yn.login})),Vt(!1)},ui=()=>fi(void 0,null,function*(){let Ci=yield(0,Tt.ZP)("/api/business_contacts.json",{method:"post"});(Ci==null?void 0:Ci.status)===0&&Ve.ZP.info("\u7533\u8BF7\u6210\u529F")});return qt.createElement(qt.Fragment,null,sn&&qt.createElement("div",{style:{background:"rgba(255,24,24,0.1)",color:"#E30000",display:"none"}},qt.createElement("div",{className:Sn.tip},qt.createElement("div",null,qt.createElement("i",{className:"iconfont icon-tishi9 font14 mr10",style:{color:"#E30000"}}),hn?qt.createElement(qt.Fragment,null,"\u5C0A\u656C\u7684\u8001\u5E08\u60A8\u597D\uFF0C\u8D35\u5355\u4F4D\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u60A8\u7684\u6559\u5B66\u8BFE\u5802\u7684",((Ii=Kn==null?void 0:Kn.userInfo)==null?void 0:Ii.user_status)==2?"\u90E8\u5206\u529F\u80FD\u5DF2\u88AB\u9650\u5236":"\u529F\u80FD\u5C06\u53D7\u5230\u9650\u5236",'\uFF0C\u4E3A\u786E\u4FDD\u6821\u5185\u6559\u5B66\u4E0D\u53D7\u5F71\u54CD\uFF0C\u8BF7\u5148\u70B9\u51FB\u53F3\u4FA7\u7684"\u7533\u8BF7\u5EF6\u671F"\u6309\u94AE\uFF0C\u5E73\u53F0\u5C06\u63A8\u52A8\u89E3\u51B3\u76F8\u5173\u4E8B\u5B9C\u3002'):qt.createElement(qt.Fragment,null,'\u5C0A\u656C\u7684\u8001\u5E08\u60A8\u597D\uFF0C\u8D35\u5355\u4F4D\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u5C06\u53D7\u5230\u9650\u5236\uFF0C\u4E3A\u786E\u4FDD\u6821\u5185\u6559\u5B66\u4E0D\u53D7\u5F71\u54CD\uFF0C\u8BF7\u5148\u70B9\u51FB\u53F3\u4FA7\u7684"\u7533\u8BF7\u5EF6\u671F"\u6309\u94AE\uFF0C\u5E73\u53F0\u5C06\u63A8\u52A8\u89E3\u51B3\u76F8\u5173\u4E8B\u5B9C\u3002')),qt.createElement("div",null,qt.createElement("span",{className:"mr15",style:{color:"#666666",cursor:"pointer"},onClick:lr},"\u5FFD\u7565"),qt.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:ui},"\u7533\u8BF7\u5EF6\u671F")))))};var Hi=(0,it.connect)(({user:Cn})=>({user:Cn}))(On),Si=Pe(3113),sr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAACpCAYAAAD6OhnWAAAAAXNSR0IArs4c6QAAIABJREFUeF7sfQWcHEX2/7daxtc17oYFSYIeBPsBgRwECe6BcHDIccghRxIk6MFB4A4NJHiCB7egwXJokLhnXcenu6v+n1fdPTu7O7vZjcHdn/4wzGa3p+dVfeu9932vXlUx/A9c/ecLnxZPDVQsDFOYNQiq0h+KVgYhBoLzfkKIfGomY6wRirIajK0AN6tg8VVcqMu5isWm37Ni1f4s8d/eHey/sQGDXxe5qmLuBW4dyFRtT3BrBwB5YArAOSB415pF9yuKe38TFHWRsMzPoKjvWVxbsGwca+7ag347d/3XADp0XnMxU/U/Kqp+rOD8D2AsBG4BQmzh3mSAqtJzI0xRPuaW8ZywjFeWjM+t3cJftFUe99sGdI5QRwTNA4SKyUyIwwQQkCBuy0tRwYCYYOwNZuGBn6Pa+5jItrEQXW/wbxLQsrdEMN8yToPCLmQCI4Rldq9FZErpIu21SIvp5TyCTKyi2qb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NoH153YJyD5C8mFrElozXvNXP1ILSBezZ7GUP28656wzuBJl3eg4aJ1CYQO2+ABUy2GNWzZQQqzy1IYiJ8TJTZa3aZ9AdAqIXs3bNjoe+a2nWFnFBorK+5cgrzy95TtAE5AIRx6D7M80zCXYW008MwpMFIuaI2GRjlNnH1ZufRcABIm4hNjsotR0ItJh0ArjET0LIJ2USOwfgs15S23v7GvD2vVXf7Z+bp8y68ZLVvE5mZzcg7qTz5ydQcZRMZfLQPSDyfCcdyVAO1rteKY1eOAL0bmIXsqmUTf4jAkWWbXGDX0QQLJ7vZRZl0Njo4yZis9C/y7f7lIWk/WIusJOc9Q6fd/1iC8pVnnXlMd35t+tpm5zc3Nb4lu41dmzG8my45vRHft5pAdb4eXn9cb7+hfxhaJ60AYVCIX9yOCSrlq8pG7cogoPm6vz772Yz3LrJmo97Kuet/weX7/RHY+BFcPwPAL3oJXTdfvZSiJV7t6yjnb+FjsTzfpr81XWfddddc59Vq9lHCo9XeWcuesz/KaAXvezzbl/7MFzqqZ4tay71Ej6mO/0Xg5uniQ1vwFgAAAAASUVORK5CYII=",ro=Object.getOwnPropertySymbols,Wo=Object.prototype.hasOwnProperty,No=Object.prototype.propertyIsEnumerable,Lr=(Cn,Kn)=>{var Lt={};for(var Ft in Cn)Wo.call(Cn,Ft)&&Kn.indexOf(Ft)<0&&(Lt[Ft]=Cn[Ft]);if(Cn!=null&&ro)for(var Ft of ro(Cn))Kn.indexOf(Ft)<0&&No.call(Cn,Ft)&&(Lt[Ft]=Cn[Ft]);return Lt};const Ko=null,Oo=Cn=>{var Kn=Cn,{homePage:Lt,user:Ft,globalSetting:un,loading:Sr,dispatch:Ii,location:Ri,text:si,shixunHomeworks:Ti,payload:Jr={}}=Kn,Qr=Lr(Kn,["homePage","user","globalSetting","loading","dispatch","location","text","shixunHomeworks","payload"]);const[Lo,Nn]=(0,ue.useState)("none");return(0,ue.useEffect)(()=>{Ti.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"&&Nn("flex")},[Ti.actionTabs.key]),(0,ue.useEffect)(()=>{Ti.actionTabs.key==="\u9690\u85CF"&&(Nn("none"),localStorage.setItem("Noviceguide","0"))},[Ti.actionTabs.key]),ue.createElement("div",{style:{display:Lo,background:"#fff",width:"100%",height:"200px",position:"fixed",bottom:"0px",boxShadow:"0px -4px 6px 0px rgba(204, 204, 204, 0.2)",zIndex:"999"}},ue.createElement("div",{style:{margin:"0 auto",width:"1200px"}},ue.createElement("img",{src:sr,style:{position:"absolute",top:"-32px"}}),ue.createElement("div",{style:{marginLeft:"151px",marginTop:"40px",fontSize:"18px",color:"#333333"}},Ti.actionTabs.text),Ti.actionTabs.type===9?ue.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},ue.createElement(Si.ZP,{type:"primary",onClick:()=>{localStorage.setItem("Noviceguide","0"),Nn("none"),Ii({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"\u5446\u4F1A\u89C1\uFF0C\u6709\u4E8B\u547C\u6211")):ue.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},ue.createElement(Si.ZP,{type:"primary",onClick:()=>{localStorage.setItem("Noviceguide","0"),Ii({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),Nn("none")},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"\u8DF3\u8FC7\uFF0C\u6211\u81EA\u5DF1\u6765"))))};var So=(0,it.connect)(({homePage:Cn,loading:Kn,user:Lt,globalSetting:Ft,shixunHomeworks:un})=>({homePage:Cn,user:Lt,globalSetting:Ft,loading:Kn.models.index,shixunHomeworks:un}))(Oo),Eo=Object.defineProperty,Tr=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,ya=Object.prototype.propertyIsEnumerable,to=(Cn,Kn,Lt)=>Kn in Cn?Eo(Cn,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Cn[Kn]=Lt,zn=(Cn,Kn)=>{for(var Lt in Kn||(Kn={}))Be.call(Kn,Lt)&&to(Cn,Lt,Kn[Lt]);if(Tr)for(var Lt of Tr(Kn))ya.call(Kn,Lt)&&to(Cn,Lt,Kn[Lt]);return Cn};const Vi=Cn=>React.createElement("svg",zn({width:46,height:18,xmlns:"http://www.w3.org/2000/svg"},Cn),React.createElement("title",null,"logo2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M6.578 8.8c.162-.682.3-.737.982-.737.689 0 .793.055.632.737-.164.689-.298.76-.987.76-.682 0-.79-.071-.627-.76Zm-.222 1.198h1.488l-1.004 4.23H5.352l1.004-4.23ZM8.465 11.244h2.474l-.275 1.16H8.189zM15.12 12.889l-.317 1.34H11.23l1.291-5.437h1.56l-.974 4.097zM18.688 11.55c.076-.322.01-.541-.459-.541-.501 0-.748.117-.905.642l1.364-.102Zm1.041.955-2.636.156c-.002.369.3.517.84.517.571 0 1.259-.155 1.545-.305l-.26 1.097c-.301.18-1.012.337-1.85.337-1.332 0-2.039-.454-1.626-2.194.413-1.739 1.336-2.193 2.738-2.193 1.504 0 1.762.626 1.455 1.92-.082.344-.166.602-.206.665ZM22.806 12.936l.079-.33h-.595c-.47 0-.636.071-.695.322-.052.22.098.274.404.274.368 0 .655-.117.807-.266m1.857-1.583-.683 2.875h-1.347l-.025-.391c-.175.212-.596.47-1.34.47-.885 0-1.347-.4-1.131-1.308.23-.972.872-1.332 2.101-1.332h.87c.08-.43-.063-.494-.682-.494-.305 0-.6.024-.885.07l.295-1.245c.334-.054.792-.07 1.098-.07 1.48 0 1.963.438 1.729 1.425M28.691 9.92l-.346 1.324h-.118c-.493 0-1.055.188-1.257.776l-.525 2.208h-1.488l1.005-4.23h1.488l-.175.737c.41-.674.828-.815 1.329-.815h.087ZM33.084 11.369l-.68 2.86h-1.488l.6-2.523c.124-.525.012-.611-.458-.611-.376 0-.572.133-.685.345l-.663 2.788h-1.488l1.005-4.23h1.488l-.102.431c.28-.29.74-.51 1.43-.51.993 0 1.285.424 1.041 1.45M34.507 8.8c.162-.682.3-.737.982-.737.688 0 .793.055.631.737-.163.689-.297.76-.987.76-.681 0-.79-.071-.626-.76Zm-.222 1.198h1.488l-1.004 4.23H33.28l1.004-4.23Z",fill:"#196EFD"}),React.createElement("path",{d:"M34.507 8.8c.162-.682.3-.737.982-.737.688 0 .793.055.631.737-.163.689-.297.76-.987.76-.681 0-.79-.071-.626-.76Zm-.222 1.198h1.488l-1.004 4.23H33.28l1.004-4.23ZM40.522 11.369l-.68 2.86h-1.488l.6-2.523c.124-.525.011-.611-.458-.611-.376 0-.573.133-.685.345l-.663 2.788H35.66l1.004-4.23h1.489l-.102.431c.28-.29.74-.51 1.428-.51.996 0 1.286.424 1.043 1.45",fill:"#196EFD"}),React.createElement("path",{d:"M44.025 12.071c-.173.721-.317 1.132-1.023 1.132-.606 0-.577-.519-.433-1.132.137-.57.353-1.088.959-1.088.714 0 .663.41.497 1.088Zm.425-2.076-.086.368c-.094-.31-.382-.44-1.103-.44-1.34 0-1.917.995-2.199 2.148-.302 1.29-.165 2.156 1.175 2.156.714 0 1.089-.18 1.32-.483l-.022.108c-.187.786-.41 2.004-1.32 2.256-.662.188-1.463-.339-2.09-.548a13.981 13.981 0 0 0-2.408-.59c-1.917-.296-3.878-.174-5.73.41-3.287 1.042-6.775 1.315-10.205 1.352-3.509.037-6.943-.052-10.374-.907-1.071-.267-2.084-.825-3.167-1.001-1.74-.284-3.94.465-5.22-1.16-.584-.735-.915-1.6-.915-2.515 0-1.767 1.225-3.324 3.085-4.225l.591-.764c-.11.145-1.174.218-1.397.285a8.478 8.478 0 0 0-1.524.617c-.936.491-1.82 1.178-2.374 2.093-1.003 1.654-.346 3.809.968 5.109.914.903 2.122 1.454 3.368 1.72 1.298.277 2.684-.167 3.943.277 1.134.4 2.144.831 3.342 1.075a31.42 31.42 0 0 0 3.874.526c2.931.224 5.859.083 8.79-.055a29.884 29.884 0 0 0 7.56-1.331c1.817-.577 3.763-.642 5.63-.281 1.471.28 3.187 1.413 4.686.944 1.428-.44 2.033-1.932 2.35-3.265l.923-3.879h-1.47Z",fill:"#23DD7F"}),React.createElement("path",{d:"m20.387 4.16-.735.079c-1.283-1.687-3.518-2.797-6.048-2.797-3.18 0-5.876 1.752-6.834 4.18l-1.81.196C5.17 2.58 8.637 0 12.883 0c3.489 0 6.452 1.737 7.504 4.16",fill:"#196EFD"}),React.createElement("path",{d:"M28.086 6.488h-2.508c-1.003-1.074-3.086-1.802-5.486-1.802-2.408 0-4.491.735-5.494 1.81.736-1.363 3.043-2.567 5.876-2.92 3.446-.426 7.137 1.21 7.612 2.912",fill:"#196EFD"})));var Wi="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNi41NzggOC44Yy4xNjItLjY4Mi4zLS43MzcuOTgyLS43MzcuNjg5IDAgLjc5My4wNTUuNjMyLjczNy0uMTY0LjY4OS0uMjk4Ljc2LS45ODcuNzYtLjY4MiAwLS43OS0uMDcxLS42MjctLjc2Wm0tLjIyMiAxLjE5OGgxLjQ4OGwtMS4wMDQgNC4yM0g1LjM1MmwxLjAwNC00LjIzWk04LjQ2NSAxMS4yNDRoMi40NzRsLS4yNzUgMS4xNkg4LjE4OXpNMTUuMTIgMTIuODg5bC0uMzE3IDEuMzRIMTEuMjNsMS4yOTEtNS40MzdoMS41NmwtLjk3NCA0LjA5N3pNMTguNjg4IDExLjU1Yy4wNzYtLjMyMi4wMS0uNTQxLS40NTktLjU0MS0uNTAxIDAtLjc0OC4xMTctLjkwNS42NDJsMS4zNjQtLjEwMlptMS4wNDEuOTU1LTIuNjM2LjE1NmMtLjAwMi4zNjkuMy41MTcuODQuNTE3LjU3MSAwIDEuMjU5LS4xNTUgMS41NDUtLjMwNWwtLjI2ID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IgMi4zNS0zLjI2NWwuOTIzLTMuODc5aC0xLjQ3WiIgZmlsbD0iIzIzREQ3RiIvPjxwYXRoIGQ9Im0yMC4zODcgNC4xNi0uNzM1LjA3OWMtMS4yODMtMS42ODctMy41MTgtMi43OTctNi4wNDgtMi43OTctMy4xOCAwLTUuODc2IDEuNzUyLTYuODM0IDQuMThsLTEuODEuMTk2QzUuMTcgMi41OCA4LjYzNyAwIDEyLjg4MyAwYzMuNDg5IDAgNi40NTIgMS43MzcgNy41MDQgNC4xNiIgZmlsbD0iIzE5NkVGRCIvPjxwYXRoIGQ9Ik0yOC4wODYgNi40ODhoLTIuNTA4Yy0xLjAwMy0xLjA3NC0zLjA4Ni0xLjgwMi01LjQ4Ni0xLjgwMi0yLjQwOCAwLTQuNDkxLjczNS01LjQ5NCAxLjgxLjczNi0xLjM2MyAzLjA0My0yLjU2NyA1Ljg3Ni0yLjkyIDMuNDQ2LS40MjYgNy4xMzcgMS4yMSA3LjYxMiAyLjkxMiIgZmlsbD0iIzE5NkVGRCIvPjwvZz48L3N2Zz4=",mi=Pe(89392),Jn=Pe(59301),nr=Object.defineProperty,tn=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Li=(Cn,Kn,Lt)=>Kn in Cn?nr(Cn,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Cn[Kn]=Lt,yr=(Cn,Kn)=>{for(var Lt in Kn||(Kn={}))_t.call(Kn,Lt)&&Li(Cn,Lt,Kn[Lt]);if(tn)for(var Lt of tn(Kn))Rt.call(Kn,Lt)&&Li(Cn,Lt,Kn[Lt]);return Cn},Oi=(Cn,Kn)=>{var Lt={};for(var Ft in Cn)_t.call(Cn,Ft)&&Kn.indexOf(Ft)<0&&(Lt[Ft]=Cn[Ft]);if(Cn!=null&&tn)for(var Ft of tn(Cn))Kn.indexOf(Ft)<0&&Rt.call(Cn,Ft)&&(Lt[Ft]=Cn[Ft]);return Lt},Zn=(Cn,Kn,Lt)=>new Promise((Ft,un)=>{var Sr=si=>{try{Ri(Lt.next(si))}catch(Ti){un(Ti)}},Ii=si=>{try{Ri(Lt.throw(si))}catch(Ti){un(Ti)}},Ri=si=>si.done?Ft(si.value):Promise.resolve(si.value).then(Sr,Ii);Ri((Lt=Lt.apply(Cn,Kn)).next())});const{Header:ki}=Mt.default,{Search:Vr}=kt.default;function br(){var Cn,Kn;const Ft=window.location.pathname.split("/"),un={};return Ft[1]=="classrooms"&&Ft.length>3&&!((Cn=Ft[4])!=null&&Cn.includes("newgold"))&&!((Kn=Ft[5])!=null&&Kn.includes("newgold"))&&Ft[2]!=="coursesId"&&(un.course_id=Ft[2]),Ft[1]==="shixuns"&&Ft.length>3&&(un.objective_type="shixun",un.objective_id=Ft[2]),Ft[1]==="paths"&&Ft.length>3&&(un.objective_type="path",un.objective_id=Ft[2]),yr(yr({},un),{school:1})}const Br=["/","/classrooms","/account/profile","/account/profile/edit","/classrooms/new"],Et=Cn=>{var Kn=Cn,{homePage:Lt,user:Ft,globalSetting:un,loading:Sr,dispatch:Ii,isLogin:Ri=!1,shixunHomeworks:si}=Kn,Ti=Oi(Kn,["homePage","user","globalSetting","loading","dispatch","isLogin","shixunHomeworks"]),Jr,Qr,Lo,Nn,ja,co,Kr,sn,Vt;const hn=(0,it.useLocation)(),[Xt,Vn]=(0,ue.useState)(!1),[er,lr]=(0,ue.useState)(""),[ui,Ci]=(0,ue.useState)(!1),Yn=br();(0,ue.useEffect)(()=>{Ii({type:"user/getNavigationInfo",payload:yr({},Yn)})},[un.name]),(0,ue.useEffect)(()=>{si.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"&&(Br!=null&&Br.includes(hn==null?void 0:hn.pathname)||(hn==null?void 0:hn.pathname.indexOf("/classrooms"))===0||Ii({type:"shixunHomeworks/setActionTabs",payload:{key:"\u9690\u85CF"}}))},[hn.pathname]),(0,ue.useEffect)(()=>{si.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"||si.actionTabs.key||localStorage.setItem("Noviceguide","0")},[si.actionTabs.key]),(0,ue.useEffect)(()=>{var Zi;if(un!=null&&un.setting){let xr=(0,mi.cloneDeep)((Zi=un==null?void 0:un.setting)==null?void 0:Zi.navbar);xr=xr==null?void 0:xr.filter(Bn=>{var gi;return!(Bn!=null&&Bn.hidden)&&!((0,ii.JA)()&&((gi=["/paperlibrary","/problemset"])!=null&&gi.includes(Bn.link)))});for(const Bn of xr)Bn.subitem&&(Bn.subitem=Bn.subitem.filter(gi=>{var Ze;return!(gi!=null&&gi.hidden)&&!((0,ii.JA)()&&((Ze=["/paperlibrary","/problemset"])!=null&&Ze.includes(gi.link)))}));let oo=!1;xr==null||xr.map(function(Bn,gi){var Ze,Io,no;const rr=hn.pathname;Bn.link===rr&&(lr(Bn==null?void 0:Bn.link),(0,Oe.Dk)(rr==="/"?(Ze=un==null?void 0:un.setting)==null?void 0:Ze.name:Zr(Bn==null?void 0:Bn.name)),Or(Bo(gi,{name:Bn==null?void 0:Bn.name,link:Bn==null?void 0:Bn.link},xr)),oo=!0),(Io=Bn==null?void 0:Bn.subitem)!=null&&Io.length&&((no=Bn==null?void 0:Bn.subitem)==null||no.map(qi=>{qi.link===rr&&(lr(qi==null?void 0:qi.link),rr!=="/"&&(0,Oe.Dk)(Zr(qi==null?void 0:qi.name)),Or(Bo(gi,{name:qi==null?void 0:qi.name,link:qi==null?void 0:qi.link},xr)),oo=!0)}))}),oo||Or(xr)}},[un==null?void 0:un.setting,Ft]);const ln=(0,ue.useMemo)(()=>{var Zi,xr;return(Zi=un==null?void 0:un.setting)!=null&&Zi.nav_logo_url?`${mn.Z.IMG_SERVER}/${(xr=un==null?void 0:un.setting)==null?void 0:xr.nav_logo_url}`:`${mn.Z.IMG_SERVER}/images/avatars/LaboratorySetting/1nav?t=${new Date().getTime()}`},[(Jr=un==null?void 0:un.setting)==null?void 0:Jr.nav_logo_url]);function _r(Zi){it.history.push("/search?value="+Zi)}const Rn=()=>Xt?Jn.createElement("div",{onBlur:()=>{setTimeout(()=>{Vn(!1)},300)}},Jn.createElement(Vr,{placeholder:"\u5B9E\u8DF5\u8BFE\u7A0B/\u6559\u5B66\u8BFE\u5802/\u5B9E\u8DF5\u9879\u76EE/\u4EA4\u6D41\u95EE\u7B54",className:"search-input mr20",onSearch:_r,autoFocus:!0})):Jn.createElement("span",{className:"iconfont icon-sousuo font18 current ml15 mr15",onClick:()=>{it.history.push("/search?value=")}}),[Ir,Or]=(0,ue.useState)([]),fr=(Zi,xr)=>Zn(void 0,null,function*(){var oo,Bn,gi,Ze,Io,no;if((Zi==null?void 0:Zi.name)==="\u5DE5\u7A0B\u8BA4\u8BC1"){const rr=yield(0,ni.IU)();(oo=rr==null?void 0:rr.data)!=null&&oo.engineer_url?(gi=(Bn=rr==null?void 0:rr.data)==null?void 0:Bn.engineer_url)!=null&&gi.includes("http")?(0,Oe.xg)((Ze=rr==null?void 0:rr.data)==null?void 0:Ze.engineer_url):it.history.push((Io=rr==null?void 0:rr.data)==null?void 0:Io.engineer_url):(rr==null?void 0:rr.status)!=401&&Ci(!0);return}(no=Zi==null?void 0:Zi.link)!=null&&no.includes("http")?(0,Oe.xg)(Zi==null?void 0:Zi.link):((0,Oe.Dk)(Zi==null?void 0:Zi.name),it.history.push(Zi==null?void 0:Zi.link)),(Zi==null?void 0:Zi.name)==="\u6559\u5B66\u8BFE\u5802"&&localStorage.getItem("Noviceguide")!=="0"&&Ii({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:5,text:Jn.createElement("div",null,"\u975E\u5E38\u68D2\uFF0C\u54B1\u4EEC\u5DF2\u7ECF\u5230\u8FBE\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u5E73\u53F0\u4E0A\u5DF2\u7ECF\u6709\u51E0\u5343\u4F4D\u8001\u5E08\u521B\u5EFA\u4E86\u81EA\u5DF1\u7684\u6559\u5B66\u8BFE\u5802\uFF0C\u4F60\u4E5F\u53EF\u4EE5\u8F7B\u677E\u5B8C\u6210\u54DF\uFF01\u73B0\u5728\u8BF7\u60A8\u70B9\u51FB\u9875\u9762\u4E0A \u201C\u65B0\u5EFA\u8BFE\u5802\u201D\u6309\u94AE\u5F00\u59CB\u65B0\u5EFA\u81EA\u5DF1\u7684\u8BFE\u5802~")}})}),Bo=(Zi,xr,oo)=>{const Bn=oo.slice();return Bn[Zi]&&(Bn[Zi].name=xr.name,Bn[Zi].link=xr.link),Bn||[]},Zr=(Zi="")=>Zi.indexOf("<")>-1?Zi.slice(0,Zi.indexOf("<")):Zi;return un.showHeader&&un.showHeaderFooter?Jn.createElement(Mt.default,{style:{background:`${hn.pathname=="/training"?"rgba(0,0,0,0)":""}`},className:`${un.isIlearning?Wt["header-iearning"]:Wt.header} ${un.showHeaderFixed?Wt.headerFixed:""}`},(un==null?void 0:un.showTip)&&Jn.createElement(Hi,null),Jn.createElement(ki,{className:"header",style:{background:`${hn.pathname=="/training"?"rgba(0,0,0,0)":""}`,zIndex:`${hn.pathname=="/training"?"999":""}`}},Jn.createElement("section",{className:Wt["edu-menu"]},(!!un.isIlearning||!((Qr=un==null?void 0:un.setting)!=null&&Qr.main_site)&&!!((Lo=un==null?void 0:un.setting)!=null&&Lo.navbar))&&Jn.createElement(it.Link,{style:{display:"flex",alignItems:"center"},onClick:()=>{Ii({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},to:"/"},Jn.createElement("img",{className:Wt.logo,title:(Nn=un.setting)==null?void 0:Nn.name,src:ln||Wi})),Jn.createElement("ul",{className:`${Wt.menu} ${(0,Oe.Ll)()&&"ml0"}`},(0,Oe.Ll)()&&Jn.createElement("li",null,Jn.createElement("a",{href:"/"},"\u8003\u8BD5\u7CFB\u7EDF")),!(0,Oe.Ll)()&&un.setting&&Ir.map(function(Zi,xr){var oo,Bn,gi,Ze,Io;return Jn.createElement("li",{key:xr,className:!((oo=Zi==null?void 0:Zi.subitem)!=null&&oo.length)&&er===(Zi==null?void 0:Zi.link)||(Bn=Zi==null?void 0:Zi.subitem)!=null&&Bn.some(no=>er===(no==null?void 0:no.link))?Wt.actived:""},Jn.createElement("div",{onClick:()=>fr(Zi,xr),className:Wt.name},Jn.createElement("span",{dangerouslySetInnerHTML:{__html:(()=>{var no;let rr=Zi==null?void 0:Zi.name;return(no=Zi==null?void 0:Zi.subitem)==null||no.map((qi,Qi)=>(qi.link===hn.pathname&&(rr=qi.name),qi)),rr})()}}),((gi=Zi==null?void 0:Zi.subitem)==null?void 0:gi.length)>0&&Jn.createElement("i",{className:"iconfont icon-zhankai4"})),((Ze=Zi==null?void 0:Zi.subitem)==null?void 0:Ze.length)>0&&Jn.createElement("div",{className:Wt.dropDown},(Io=Zi==null?void 0:Zi.subitem)==null?void 0:Io.map((no,rr)=>Jn.createElement("div",{className:Wt.subName,onClick:()=>fr(no,xr),key:xr+"-"+rr},!!rr&&Jn.createElement("div",{className:Wt.line}),Jn.createElement("aside",{className:"font16 c-black"},Zr(no.name)),Jn.createElement("div",{className:"font14",style:{color:"#9FA7B3",whiteSpace:"nowrap"}},no.content)))))})),Jn.createElement("div",{className:"search-bar",style:{flex:un.isIlearning?"initial":"1 0 auto"}},!(0,Oe.Ll)()&&!(un!=null&&un.isIlearning)&&Jn.createElement(Jn.Fragment,null,Jn.createElement(Rn,null),!Ri&&Jn.createElement(En,null),!Ri&&!!((ja=Ft==null?void 0:Ft.userInfo)!=null&&ja.login)&&Jn.createElement(it.Link,{className:"iconfont icon-xiaoxilingdang c-white ml15 mr15 font18 relative",to:`/messages/${(co=Ft==null?void 0:Ft.userInfo)==null?void 0:co.login}/user_tidings`},((Kr=Ft==null?void 0:Ft.navigationInfo)==null?void 0:Kr.new_message)&&Jn.createElement("span",{className:Wt.newslight}))),!Ri&&Jn.createElement(rt,{payload:Yn}))),Jn.createElement(Dt.default,{centered:!0,destroyOnClose:!0,open:ui,title:"\u63D0\u793A",width:"500px",okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Oe.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=DWdqQHAbbfw7_rqm0d-Q_vDn5H6bMp91&jump_from=webapi")},onCancel:()=>Ci(!1)},Jn.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},Jn.createElement("p",null,"\u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650"),Jn.createElement("img",{src:`${mn.Z.IMG_SERVER}/${(sn=un==null?void 0:un.setting)==null?void 0:sn.homepage_tea_qq_qrcode_url}`,width:200,height:200,className:"mb10"}),Jn.createElement("p",null,"\u7FA4\u53F7\uFF1A",(Vt=un==null?void 0:un.setting)==null?void 0:Vt.homepage_tea_qq_number)))),Jn.createElement(So,null)):Jn.createElement(Jn.Fragment,null)};var Di=(0,it.connect)(({homePage:Cn,loading:Kn,user:Lt,globalSetting:Ft,shixunHomeworks:un})=>({homePage:Cn,user:Lt,globalSetting:Ft,loading:Kn.models.index,shixunHomeworks:un}))(Et)},16406:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Yt}});var ue=Pe(59301),it={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Mt=Pe(92310),kt=Pe.n(Mt),Dt=Pe(71418);var Wt=function(Ie,Ce){return(Wt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ee,Te){Ee.__proto__=Te}||function(Ee,Te){for(var Ue in Te)Object.prototype.hasOwnProperty.call(Te,Ue)&&(Ee[Ue]=Te[Ue])})(Ie,Ce)};function Ve(Ie,Ce){function Ee(){this.constructor=Ie}Wt(Ie,Ce),Ie.prototype=Ce===null?Object.create(Ce):(Ee.prototype=Ce.prototype,new Ee)}function bt(Ie,Ce,Ee,Te){return new(Ee||(Ee=Promise))(function(Ue,Le){function rt(an){try{fn(Te.next(an))}catch(qt){Le(qt)}}function Sn(an){try{fn(Te.throw(an))}catch(qt){Le(qt)}}function fn(an){var qt;an.done?Ue(an.value):(qt=an.value,qt instanceof Ee?qt:new Ee(function(fi){fi(qt)})).then(rt,Sn)}fn((Te=Te.apply(Ie,Ce||[])).next())})}function wt(Ie,Ce){var Ee,Te,Ue,Le,rt={label:0,sent:function(){if(1&Ue[0])throw Ue[1];return Ue[1]},trys:[],ops:[]};return Le={next:Sn(0),throw:Sn(1),return:Sn(2)},typeof Symbol=="function"&&(Le[Symbol.iterator]=function(){return this}),Le;function Sn(fn){return function(an){return function(qt){if(Ee)throw new TypeError("Generator is already executing.");for(;rt;)try{if(Ee=1,Te&&(Ue=2&qt[0]?Te.return:qt[0]?Te.throw||((Ue=Te.return)&&Ue.call(Te),0):Te.next)&&!(Ue=Ue.call(Te,qt[1])).done)return Ue;switch(Te=0,Ue&&(qt=[2&qt[0],Ue.value]),qt[0]){case 0:case 1:Ue=qt;break;case 4:return rt.label++,{value:qt[1],done:!1};case 5:rt.label++,Te=qt[1],qt=[0];continue;case 7:qt=rt.ops.pop(),rt.trys.pop();continue;default:if(Ue=rt.trys,!((Ue=Ue.length>0&&Ue[Ue.length-1])||qt[0]!==6&&qt[0]!==2)){rt=0;continue}if(qt[0]===3&&(!Ue||qt[1]>Ue[0]&&qt[1]ne.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+ne.defaultValue);var de=go.Shape._FigureParameters[Oe];de||(de=[],go.Shape._FigureParameters[Oe]=de),de[te]=ne};var jn=[];function Pe(Oe,te){var ne=jn.pop();return ne===void 0?new go.Point(Oe,te):(ne.x=Oe,ne.y=te,ne)}function ue(){var Oe=jn.pop();return Oe===void 0?new go.Point:Oe}function it(Oe){jn.push(Oe)}function Mt(Oe,te,ne,de,le,pe,xe,Ae,Me){Me||(Me=new go.Point);var ke=Oe-ne,lt=le-xe,dt=NaN,yt=NaN;if(ke===0)if(lt===0)Oe===ne&&(dt=Oe,yt=te);else{var ut=(pe-Ae)/lt,Ot=pe-ut*le;dt=Oe,yt=ut*dt+Ot}else if(lt===0){var xt=(te-de)/ke,Nt=te-xt*Oe;dt=le,yt=xt*dt+Nt}else{var xt=(te-de)/ke,ut=(pe-Ae)/lt,Nt=te-xt*Oe,Ot=pe-ut*le;dt=(Ot-Nt)/(xt-ut),yt=xt*dt+Nt}return Me.x=dt,Me.y=yt,Me}function kt(Oe,te,ne,de,le,pe,xe,Ae,Me,ke,lt,dt,yt,ut){var Ot=1-Me,xt=Me,Nt=Oe*Ot+ne*xt,Jt=te*Ot+de*xt,vn=ne*Ot+le*xt,Ai=de*Ot+pe*xt,hi=le*Ot+xe*xt,kn=pe*Ot+Ae*xt,ci=Nt*Ot+vn*xt,et=Jt*Ot+Ai*xt,ze=vn*Ot+hi*xt,yn=Ai*Ot+kn*xt,Xn=ci*Ot+ze*xt,ei=et*Ot+yn*xt;ke.x=Nt,ke.y=Jt,lt.x=ci,lt.y=et,dt.x=Xn,dt.y=ei,yt.x=ze,yt.y=yn,ut.x=hi,ut.y=kn}var Dt=new go.Spot(.156,.156),Wt=new go.Spot(.844,.844),Ve=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new tn("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;(isNaN(de)||de<0)&&(de=5),de=Math.min(de,te/3),de=Math.min(de,ne/3);var le=de*Ve,pe=new go.Geometry().add(new go.PathFigure(de,0,!0).add(new go.PathSegment(go.PathSegment.Line,te-de,0)).add(new go.PathSegment(go.PathSegment.Bezier,te,de,te-le,0,te,le)).add(new go.PathSegment(go.PathSegment.Line,te,ne-de)).add(new go.PathSegment(go.PathSegment.Bezier,te-de,ne,te,ne-le,te-le,ne)).add(new go.PathSegment(go.PathSegment.Line,de,ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,ne-de,le,ne,0,ne-le)).add(new go.PathSegment(go.PathSegment.Line,0,de)).add(new go.PathSegment(go.PathSegment.Bezier,de,0,0,le,le,0).close()));return le>1&&(pe.spot1=new go.Spot(0,0,le,le),pe.spot2=new go.Spot(1,1,-le,-le)),pe}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(te,ne).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(te,ne).add(new go.PathSegment(go.PathSegment.Line,0,ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(Oe,te,ne){var de=new go.Geometry(go.Geometry.Line);return de.startX=0,de.startY=ne/2,de.endX=te,de.endY=ne/2,de}),go.Shape.defineFigureGenerator("LineV",function(Oe,te,ne){var de=new go.Geometry(go.Geometry.Line);return de.startX=te/2,de.startY=0,de.endX=te/2,de.endY=ne,de}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne/2,!1).add(new go.PathSegment(go.PathSegment.Line,te,ne/2)).add(new go.PathSegment(go.PathSegment.Move,te/2,0)).add(new go.PathSegment(go.PathSegment.Line,te/2,ne)))}),go.Shape.defineFigureGenerator("XLine",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)))}),go.Shape.defineFigureGenerator("LineRight",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.25*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.25*te,ne)))}),go.Shape.defineFigureGenerator("LineDown",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,.25*ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,.75*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)))}),go.Shape.defineFigureGenerator("LineLeft",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.75*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.75*te,ne)))}),go.Shape.defineFigureGenerator("LineUp",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,.75*ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(Oe,te,ne){var de=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(de*te,(1-de)*ne,!1).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,de*ne)).add(new go.PathSegment(go.PathSegment.Move,de*te,de*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,(1-de)*ne)).add(new go.PathSegment(go.PathSegment.Move,0,ne/2)).add(new go.PathSegment(go.PathSegment.Line,te,ne/2)).add(new go.PathSegment(go.PathSegment.Move,te/2,0)).add(new go.PathSegment(go.PathSegment.Line,te/2,ne)))}),go.Shape.defineFigureGenerator("CircleLine",function(Oe,te,ne){var de=te/2,le=new go.Geometry().add(new go.PathFigure(te,te/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,de,de,de,de).close()));return le.spot1=Dt,le.spot2=Wt,le.defaultStretch=go.GraphObject.Uniform,le}),go.Shape.defineFigureGenerator("Line1",function(Oe,te,ne){var de=new go.Geometry(go.Geometry.Line);return de.startX=0,de.startY=0,de.endX=te,de.endY=ne,de}),go.Shape.defineFigureGenerator("Line2",function(Oe,te,ne){var de=new go.Geometry(go.Geometry.Line);return de.startX=te,de.startY=0,de.endX=0,de.endY=ne,de}),go.Shape.defineFigureGenerator("Curve1",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,te,ne,Ve*te,0,te,(1-Ve)*ne)))}),go.Shape.defineFigureGenerator("Curve2",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,te,ne,0,Ve*ne,(1-Ve)*te,ne)))}),go.Shape.defineFigureGenerator("Curve3",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,te,Ve*ne,Ve*te,ne)))}),go.Shape.defineFigureGenerator("Curve4",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,(1-Ve)*te,0,0,(1-Ve)*ne)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(te,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new tn("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)?de=.1:de<-1?de=-1:de>1&&(de=1);var le=Math.abs(de)*te;if(de===0){var pe=new go.Geometry(go.Geometry.Rectangle);return pe.startX=0,pe.startY=0,pe.endX=te,pe.endY=ne,pe}else{var pe=new go.Geometry;return de>0?pe.add(new go.PathFigure(le,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-le,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):pe.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te-le,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,le,ne).close())),lete&&(de=te);var le=Math.abs(de);if(de===0){var pe=new go.Geometry(go.Geometry.Rectangle);return pe.startX=0,pe.startY=0,pe.endX=te,pe.endY=ne,pe}else{var pe=new go.Geometry;return de>0?pe.add(new go.PathFigure(le,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-le,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):pe.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te-le,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,le,ne).close())),le.5&&(de=.5);var le=Math.abs(de)*te;if(de===0){var pe=new go.Geometry(go.Geometry.Rectangle);return pe.startX=0,pe.startY=0,pe.endX=te,pe.endY=ne,pe}else{var pe=new go.Geometry;return de>0?pe.add(new go.PathFigure(le,0).add(new go.PathSegment(go.PathSegment.Line,te-le,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):pe.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-le,ne)).add(new go.PathSegment(go.PathSegment.Line,le,ne).close())),lete&&(de=te/2);var le=Math.abs(de);if(de===0){var pe=new go.Geometry(go.Geometry.Rectangle);return pe.startX=0,pe.startY=0,pe.endX=te,pe.endY=ne,pe}else{var pe=new go.Geometry;return de>0?pe.add(new go.PathFigure(le,0).add(new go.PathSegment(go.PathSegment.Line,te-le,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):pe.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-le,ne)).add(new go.PathSegment(go.PathSegment.Line,le,ne).close())),lete&&(de=te/2);var le=Math.abs(de);if(de===0){var pe=new go.Geometry(go.Geometry.Rectangle);return pe.startX=0,pe.startY=0,pe.endX=te,pe.endY=ne,pe}else{var pe=new go.Geometry;return de>0?pe.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-le,ne)).add(new go.PathSegment(go.PathSegment.Line,le,ne).close())):pe.add(new go.PathFigure(le,0).add(new go.PathSegment(go.PathSegment.Line,te-le,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())),le0&&(xe.add(new go.PathSegment(go.PathSegment.Move,te/2+Ae,te/2)),xe.add(new go.PathSegment(go.PathSegment.Arc,0,-360,le,le,Ae,Ae).close())),pe.spot1=Dt,pe.spot2=Wt,pe.defaultStretch=go.GraphObject.Uniform,pe}),go.Shape.defineFigureGenerator("Cloud",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.08034461*te,.1944299*ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*te,.05349299*ne,-.09239631*te,.07836421*ne,.1406031*te,-.0542823*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*te,.074219*ne,.2450511*te,-.00697547*ne,.3776197*te,-.01112067*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*te,.07004196*ne,.4539471*te,0,.6066018*te,-.02526587*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*te,.08370865*ne,.6914277*te,-.01904177*ne,.8921095*te,-.01220843*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*te,.3194596*ne,1.036446*te,.04105738*ne,1.020377*te,.3022052*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*te,.562044*ne,1.04448*te,.360238*ne,.992256*te,.5219009*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*te,.8217117*ne,1.032337*te,.5771781*ne,1.018411*te,.8120651*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*te,.9156953*ne,1.028411*te,.9571472*ne,.8556702*te,1.052487*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*te,.9310455*ne,.7431877*te,1.009325*ne,.5624123*te,1.021761*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*te,.9344623*ne,.4820677*te,1.031761*ne,.3030112*te,1.002796*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*te,.870098*ne,.2329994*te,1.01518*ne,.03213784*te,1.01518*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*te,.6545475*ne,-.02812061*te,.9032597*ne,-.01205169*te,.6835638*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*te,.4265613*ne,-.01812061*te,.6089503*ne,-.00606892*te,.4555777*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*te,.1944299*ne,-.01606892*te,.3892545*ne,-.01205169*te,.1944299*ne))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(Oe,te,ne){var de=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(de*te,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,de*ne)).add(new go.PathSegment(go.PathSegment.Line,te,(1-de)*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,ne)).add(new go.PathSegment(go.PathSegment.Line,de*te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,(1-de)*ne)).add(new go.PathSegment(go.PathSegment.Line,0,de*ne).close())).setSpots(de/2,de/2,1-de/2,1-de/2)}),go.Shape.setFigureParameter("Pie",0,new tn("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new tn("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN,le=Oe?Oe.parameter2:NaN;isNaN(de)&&(de=0),isNaN(le)&&(le=315);var pe=de%360;pe<0&&(pe+=360);var xe=le%360,Ae=Math.min(te,ne)/2;return new go.Geometry().add(new go.PathFigure(Ae,Ae).add(new go.PathSegment(go.PathSegment.Arc,pe,xe,Ae,Ae,Ae,Ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(Oe,te,ne){var de=Ve/Math.SQRT2*.5,le=Math.SQRT2/2,pe=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(te,ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,le*te,pe*ne,te,(1-de)*ne,(le+de)*te,(pe+de)*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close()))}),go.Shape.setFigureParameter("ThickCross",0,new tn("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;(isNaN(de)||de<0)&&(de=30);var le=Math.min(de,te)/2,pe=te/2,xe=ne/2;return new go.Geometry().add(new go.PathFigure(pe-le,0,!0).add(new go.PathSegment(go.PathSegment.Line,pe+le,0)).add(new go.PathSegment(go.PathSegment.Line,pe+le,xe-le)).add(new go.PathSegment(go.PathSegment.Line,te,xe-le)).add(new go.PathSegment(go.PathSegment.Line,te,xe+le)).add(new go.PathSegment(go.PathSegment.Line,pe+le,xe+le)).add(new go.PathSegment(go.PathSegment.Line,pe+le,ne)).add(new go.PathSegment(go.PathSegment.Line,pe-le,ne)).add(new go.PathSegment(go.PathSegment.Line,pe-le,xe+le)).add(new go.PathSegment(go.PathSegment.Line,0,xe+le)).add(new go.PathSegment(go.PathSegment.Line,0,xe-le)).add(new go.PathSegment(go.PathSegment.Line,pe-le,xe-le).close()))}),go.Shape.setFigureParameter("ThinCross",0,new tn("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;(isNaN(de)||de<0)&&(de=10);var le=Math.min(de,te)/2,pe=te/2,xe=ne/2;return new go.Geometry().add(new go.PathFigure(pe-le,0,!0).add(new go.PathSegment(go.PathSegment.Line,pe+le,0)).add(new go.PathSegment(go.PathSegment.Line,pe+le,xe-le)).add(new go.PathSegment(go.PathSegment.Line,te,xe-le)).add(new go.PathSegment(go.PathSegment.Line,te,xe+le)).add(new go.PathSegment(go.PathSegment.Line,pe+le,xe+le)).add(new go.PathSegment(go.PathSegment.Line,pe+le,ne)).add(new go.PathSegment(go.PathSegment.Line,pe-le,ne)).add(new go.PathSegment(go.PathSegment.Line,pe-le,xe+le)).add(new go.PathSegment(go.PathSegment.Line,0,xe+le)).add(new go.PathSegment(go.PathSegment.Line,0,xe-le)).add(new go.PathSegment(go.PathSegment.Line,pe-le,xe-le).close()))}),go.Shape.setFigureParameter("ThickX",0,new tn("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;if((isNaN(de)||de<0)&&(de=30),te===0||ne===0){var le=new go.Geometry(go.Geometry.Rectangle);return le.startX=0,le.startY=0,le.endX=te,le.endY=ne,le}else{var pe=te/2,xe=ne/2,Ae=Math.atan2(ne,te),Me=de-Math.min(Math.cos(Ae)*de/2,pe),ke=de-Math.min(Math.sin(Ae)*de/2,xe),le=new go.Geometry,lt=new go.PathFigure(Me,0,!0);return le.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,pe,.2*ne)),lt.add(new go.PathSegment(go.PathSegment.Line,te-Me,0)),lt.add(new go.PathSegment(go.PathSegment.Line,te,ke)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*te,xe)),lt.add(new go.PathSegment(go.PathSegment.Line,te,ne-ke)),lt.add(new go.PathSegment(go.PathSegment.Line,te-Me,ne)),lt.add(new go.PathSegment(go.PathSegment.Line,pe,.8*ne)),lt.add(new go.PathSegment(go.PathSegment.Line,Me,ne)),lt.add(new go.PathSegment(go.PathSegment.Line,0,ne-ke)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*te,xe)),lt.add(new go.PathSegment(go.PathSegment.Line,0,ke).close()),le}}),go.Shape.setFigureParameter("ThinX",0,new tn("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;(isNaN(de)||de<0)&&(de=10);var le=new go.Geometry,pe=new go.PathFigure(.1*te,0,!0);return le.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.1*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.6*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.1*te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.9*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne).close()),le}),go.Shape.setFigureParameter("SquareIBeam",0,new tn("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.2);var le=new go.Geometry,pe=new go.PathFigure(0,0,!0);return le.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,de*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(.5+de/2)*te,de*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(.5+de/2)*te,(1-de)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,(1-de)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,(1-de)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(.5-de/2)*te,(1-de)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(.5-de/2)*te,de*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,de*ne).close()),le}),go.Shape.setFigureParameter("RoundedIBeam",0,new tn("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.5);var le=new go.Geometry,pe=new go.PathFigure(0,0,!0);return le.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te,ne,Math.abs(1-de)*te,.25*ne,Math.abs(1-de)*te,.75*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,de*te,.75*ne,de*te,.25*ne).close()),le}),go.Shape.defineFigureGenerator("HalfEllipse",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,Ve*te,0,te,(.5-Ve/2)*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,te,(.5+Ve/2)*ne,Ve*te,ne).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,te,0,te,ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*te,.75*ne,.5*te,.25*ne).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ne,.1*te,.8*ne,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ne,0,0,.45*te,0)).add(new go.PathSegment(go.PathSegment.Bezier,te,.3*ne,.55*te,0,te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,.5*ne,.9*te,.8*ne).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*te,.01*ne)).add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,.6*te,.2*ne,te,.25*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.7*ne,te,.8*ne,.6*te,.8*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ne,.5*te,.75*ne,.55*te,.95*ne)).add(new go.PathSegment(go.PathSegment.Line,.25*te,ne)).add(new go.PathSegment(go.PathSegment.Bezier,.45*te,.7*ne,.45*te,.95*ne,.5*te,.75*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.4*te,.8*ne,0,.8*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.49*te,.01*ne,0,.25*ne,.4*te,.2*ne).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.4*te,.6*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.15*te,ne,.5*te,.75*ne,.45*te,.95*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.85*te,ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.6*te,.6*ne,.55*te,.95*ne,.5*te,.75*ne));var pe=.2,xe=.3,Ae=0,Me=pe*Ve;return le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+xe)*te,(.5+pe+Ae)*ne,(.5-pe+xe)*te,(.5+Me+Ae)*ne,(.5-Me+xe)*te,(.5+pe+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+pe+xe)*te,(.5+Ae)*ne,(.5+Me+xe)*te,(.5+pe+Ae)*ne,(.5+pe+xe)*te,(.5+Me+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+xe)*te,(.5-pe+Ae)*ne,(1-.5+pe+xe)*te,(.5-Me+Ae)*ne,(.5+Me+xe)*te,(.5-pe+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.65*te,.36771243*ne,(.5-Me+xe)*te,(.5-pe+Ae)*ne,(.5-pe+xe+.05)*te,(.5-Me+Ae-.02)*ne)),pe=.2,xe=0,Ae=-.3,Me=pe*Ve,le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+pe+xe)*te,(.5+Ae)*ne,(.5+Me+xe)*te,(.5+pe+Ae)*ne,(.5+pe+xe)*te,(.5+Me+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+xe)*te,(.5-pe+Ae)*ne,(1-.5+pe+xe)*te,(.5-Me+Ae)*ne,(.5+Me+xe)*te,(.5-pe+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-pe+xe)*te,(.5+Ae)*ne,(.5-Me+xe)*te,(.5-pe+Ae)*ne,(.5-pe+xe)*te,(.5-Me+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-Me+xe)*te,(.5+pe+Ae)*ne,(.5-pe+xe)*te,(.5+Me+Ae)*ne,(.5-Me+xe)*te,(.5+pe+Ae)*ne)),pe=.2,xe=-.3,Ae=0,Me=pe*Ve,le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+xe)*te,(.5-pe+Ae)*ne,(1-.5+pe+xe-.05)*te,(.5-Me+Ae-.02)*ne,(.5+Me+xe)*te,(.5-pe+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-pe+xe)*te,(.5+Ae)*ne,(.5-Me+xe)*te,(.5-pe+Ae)*ne,(.5-pe+xe)*te,(.5-Me+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+xe)*te,(.5+pe+Ae)*ne,(.5-pe+xe)*te,(.5+Me+Ae)*ne,(.5-Me+xe)*te,(.5+pe+Ae)*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,.6*ne,(.5+Me+xe)*te,(.5+pe+Ae)*ne,(.5+pe+xe)*te,(.5+Me+Ae)*ne).close()),de.setSpots(.06,.33,.93,.68),de}),go.Shape.defineFigureGenerator("YinYang",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*.5,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Arc,270,180,te*.5,te*.5,te*.5,te*.5)),le.add(new go.PathSegment(go.PathSegment.Arc,90,-180,te*.5,te*.75,te*.25,te*.25)),le.add(new go.PathSegment(go.PathSegment.Arc,90,180,te*.5,te*.25,te*.25,te*.25));var pe=.1,xe=.5,Ae=.25;return le.add(new go.PathSegment(go.PathSegment.Move,(xe+pe)*te,Ae*ne)),le.add(new go.PathSegment(go.PathSegment.Arc,0,-360,te*xe,ne*Ae,pe*te,pe*te).close()),le=new go.PathFigure(te*.5,0,!1),de.add(le),le.add(new go.PathSegment(go.PathSegment.Arc,270,-180,te*.5,te*.5,te*.5,te*.5)),Ae=.75,le=new go.PathFigure((xe+pe)*te,Ae*ne,!0),de.add(le),le.add(new go.PathSegment(go.PathSegment.Arc,0,360,te*xe,ne*Ae,pe*te,pe*te).close()),de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("Peace",function(Oe,te,ne){var de=.8535533905932737,le=.5*te,pe=.5*ne;return new go.Geometry().add(new go.PathFigure(le,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,le,pe,le,pe)).add(new go.PathSegment(go.PathSegment.Line,le,ne)).add(new go.PathSegment(go.PathSegment.Move,le,pe)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,de*ne)).add(new go.PathSegment(go.PathSegment.Move,le,pe)).add(new go.PathSegment(go.PathSegment.Line,de*te,de*ne)))}),go.Shape.defineFigureGenerator("NotAllowed",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=.5,xe=.5,Ae=.5,Me=new go.PathFigure(xe*te,(Ae-pe)*ne);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-pe)*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne)),pe=.4,le=Ve*.4;var ke=ue(),lt=ue(),dt=ue(),yt=ue();kt(xe,Ae-pe,xe+le,Ae-pe,xe+pe,Ae-le,xe+pe,Ae,.42,ke,lt,dt,yt,yt);var ut=ue(),Ot=ue(),xt=ue();kt(xe,Ae-pe,xe+le,Ae-pe,xe+pe,Ae-le,xe+pe,Ae,.58,yt,yt,xt,ut,Ot);var Nt=ue(),Jt=ue(),vn=ue();kt(xe,Ae+pe,xe-le,Ae+pe,xe-pe,Ae+le,xe-pe,Ae,.42,Nt,Jt,vn,yt,yt);var Ai=ue(),hi=ue(),kn=ue();return kt(xe,Ae+pe,xe-le,Ae+pe,xe-pe,Ae+le,xe-pe,Ae,.58,yt,yt,kn,Ai,hi),Me.add(new go.PathSegment(go.PathSegment.Move,kn.x*te,kn.y*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,Ai.x*te,Ai.y*ne,hi.x*te,hi.y*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,dt.x*te,dt.y*ne,ke.x*te,ke.y*ne,lt.x*te,lt.y*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,kn.x*te,kn.y*ne).close()),Me.add(new go.PathSegment(go.PathSegment.Move,vn.x*te,vn.y*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,xt.x*te,xt.y*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,ut.x*te,ut.y*ne,Ot.x*te,Ot.y*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,vn.x*te,vn.y*ne,Nt.x*te,Nt.y*ne,Jt.x*te,Jt.y*ne).close()),it(ke),it(lt),it(dt),it(yt),it(ut),it(Ot),it(xt),it(Nt),it(Jt),it(vn),it(Ai),it(hi),it(kn),de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("Fragile",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*te,0)).add(new go.PathSegment(go.PathSegment.Line,.2*te,.15*ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,.29*te,.33*ne)).add(new go.PathSegment(go.PathSegment.Line,.35*te,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.15*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.5*ne,te,.25*ne,.75*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.55*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.45*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.45*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.5*ne,0,.25*ne).close()))}),go.Shape.setFigureParameter("HourGlass",0,new tn("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;(isNaN(de)||de<0)&&(de=30),de>te&&(de=te);var le=(te-de)/2,pe=le+de;return new go.Geometry().add(new go.PathFigure(pe,.5*ne).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne)).add(new go.PathSegment(go.PathSegment.Line,le,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,te,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,.55*ne).add(new go.PathSegment(go.PathSegment.Line,.6*te,0)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.45*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.45*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.55*ne).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.4,pe=.4,xe=.5,Ae=.5,Me=ue(),ke=ue(),lt=ue(),dt=ue(),yt=new go.PathFigure((xe-pe)*te,Ae*ne,!1);de.add(yt),yt.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne)),kt(xe,Ae-pe,xe+le,Ae-pe,xe+pe,Ae-le,xe+pe,Ae,.44,lt,dt,ke,Me,Me),yt.add(new go.PathSegment(go.PathSegment.Bezier,ke.x*te,ke.y*ne,lt.x*te,lt.y*ne,dt.x*te,dt.y*ne));var ut=Pe(ke.x,ke.y);kt(xe,Ae-pe,xe+le,Ae-pe,xe+pe,Ae-le,xe+pe,Ae,.56,Me,Me,ke,lt,dt);var Ot=Pe(ke.x,ke.y);yt.add(new go.PathSegment(go.PathSegment.Line,(ut.x*.1+.95*.9)*te,ut.y*.1*ne)),yt.add(new go.PathSegment(go.PathSegment.Line,.85*te,ut.y*.1*ne)),yt.add(new go.PathSegment(go.PathSegment.Line,.85*te,0)),yt.add(new go.PathSegment(go.PathSegment.Line,te,0)),yt.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),yt.add(new go.PathSegment(go.PathSegment.Line,(Ot.x*.1+.9)*te,.15*ne)),yt.add(new go.PathSegment(go.PathSegment.Line,(Ot.x*.1+.9)*te,(Ot.y*.1+.05*.9)*ne)),yt.add(new go.PathSegment(go.PathSegment.Line,Ot.x*te,Ot.y*ne)),yt.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,lt.x*te,lt.y*ne,dt.x*te,dt.y*ne)),yt.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne)),yt.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,(xe-le)*te,(Ae+pe)*ne,(xe-pe)*te,(Ae+le)*ne)),pe=.35,le=Ve*.35;var xt=new go.PathFigure(xe*te,(Ae-pe)*ne,!1);de.add(xt),xt.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),xt.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne)),xt.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),xt.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-pe)*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne));var Nt=new go.PathFigure((xe-pe)*te,Ae*ne,!1);return de.add(Nt),it(Me),it(ke),it(lt),it(dt),it(ut),it(Ot),de.spot1=new go.Spot(.202,.257),de.spot2=new go.Spot(.792,.739),de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("GenderFemale",function(Oe,te,ne){var de=new go.Geometry,le=.375,pe=0,xe=-.125,Ae=le*Ve,Me=new go.PathFigure((.525+pe)*te,(.5+le+xe)*ne,!1);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+le+pe)*te,(.5+xe)*ne,(.5+Ae+pe)*te,(.5+le+xe)*ne,(.5+le+pe)*te,(.5+Ae+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+pe)*te,(.5-le+xe)*ne,(1-.5+le+pe)*te,(.5-Ae+xe)*ne,(.5+Ae+pe)*te,(.5-le+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+pe)*te,(.5+xe)*ne,(.5-Ae+pe)*te,(.5-le+xe)*ne,(.5-le+pe)*te,(.5-Ae+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(.475+pe)*te,(.5+le+xe)*ne,(.5-le+pe)*te,(.5+Ae+xe)*ne,(.5-Ae+pe)*te,(.5+le+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.475*te,.85*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.425*te,.85*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.425*te,.9*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.475*te,.9*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.475*te,ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.525*te,ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.525*te,.9*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.575*te,.9*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.575*te,.85*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.525*te,.85*ne).close()),le=.325,pe=0,xe=-.125,Ae=le*Ve;var Me=new go.PathFigure((1-.5+le+pe)*te,(.5+xe)*ne,!1);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+pe)*te,(.5+le+xe)*ne,(.5+le+pe)*te,(.5+Ae+xe)*ne,(.5+Ae+pe)*te,(.5+le+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+pe)*te,(.5+xe)*ne,(.5-Ae+pe)*te,(.5+le+xe)*ne,(.5-le+pe)*te,(.5+Ae+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(.5+pe)*te,(.5-le+xe)*ne,(.5-le+pe)*te,(.5-Ae+xe)*ne,(.5-Ae+pe)*te,(.5-le+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+le+pe)*te,(.5+xe)*ne,(.5+Ae+pe)*te,(.5-le+xe)*ne,(1-.5+le+pe)*te,(.5-Ae+xe)*ne));var Me=new go.PathFigure((.525+pe)*te,(.5+le+xe)*ne,!1);return de.add(Me),de.spot1=new go.Spot(.232,.136),de.spot2=new go.Spot(.682,.611),de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("LogicImplies",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;return isNaN(de)&&(de=.2),new go.Geometry().add(new go.PathFigure((1-de)*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;return isNaN(de)&&(de=.2),new go.Geometry().add(new go.PathFigure((1-de)*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,de*te,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,de*te,ne))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)))}),go.Shape.defineFigureGenerator("LogicAnd",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,te,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(Oe,te,ne){var de=new go.Geometry().add(new go.PathFigure(.5*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*te,.5*ne,.5*te,.5*ne)));return de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("LogicTruth",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,.5*te,0)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Move,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne)))}),go.Shape.defineFigureGenerator("LogicForAll",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,.25*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ne))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,0,ne)).add(new go.PathSegment(go.PathSegment.Line,te,ne))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(Oe,te,ne){var de=.5;return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,0,de*ne)).add(new go.PathSegment(go.PathSegment.Arc,180,180,de*te,de*ne,de*te,de*ne)).add(new go.PathSegment(go.PathSegment.Line,te,ne))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(Oe,te,ne){var de=.5;return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,de*ne)).add(new go.PathSegment(go.PathSegment.Arc,0,180,de*te,de*ne,de*te,de*ne)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new tn("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new tn("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.3);var le=Oe?Oe.parameter2:NaN;isNaN(le)&&(le=.3);var pe=(1-de)*te,xe=(.5-le/2)*ne,Ae=(.5+le/2)*ne,Me=new go.Geometry,ke=new go.PathFigure(0,xe,!0);Me.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,pe,xe)),ke.add(new go.PathSegment(go.PathSegment.Line,pe,0)),ke.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,pe,ne)),ke.add(new go.PathSegment(go.PathSegment.Line,pe,Ae)),ke.add(new go.PathSegment(go.PathSegment.Line,0,Ae).close()),Me.spot1=new go.Spot(0,xe/ne);var lt=Mt(0,Ae/ne,1,Ae/ne,pe/te,1,1,.5,ue());return Me.spot2=new go.Spot(lt.x,lt.y),it(lt),Me}),go.Shape.setFigureParameter("Arrow2",0,new tn("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new tn("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=30),de>te&&(de=te);var le=Oe?Oe.parameter2:NaN;isNaN(le)&&(le=30),le=Math.min(le,ne/2);var pe=te-de,xe=(ne-le)/2,Ae=xe+le,Me=new go.Geometry,ke=new go.PathFigure(0,xe,!0);Me.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,pe,xe)),ke.add(new go.PathSegment(go.PathSegment.Line,pe,0)),ke.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,pe,ne)),ke.add(new go.PathSegment(go.PathSegment.Line,pe,Ae)),ke.add(new go.PathSegment(go.PathSegment.Line,0,Ae).close()),Me.spot1=new go.Spot(0,xe/ne);var lt=Mt(0,Ae/ne,1,Ae/ne,pe/te,1,1,.5,ue());return Me.spot2=new go.Spot(lt.x,lt.y),it(lt),Me}),go.Shape.defineFigureGenerator("Chevron",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne).close()),de}),go.Shape.defineFigureGenerator("DoubleArrow",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,.214*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,1*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,1*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,.786*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,1*ne).close()),de}),go.Shape.setFigureParameter("DoubleEndArrow",0,new tn("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.3);var le=(.5-de/2)*ne,pe=(.5+de/2)*ne,xe=new go.Geometry,Ae=new go.PathFigure(te,.5*ne,!0);xe.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*te,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*te,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close());var Me=Mt(0,.5,.3,0,0,le/ne,.1,le/ne,ue());return xe.spot1=new go.Spot(Me.x,Me.y),Me=Mt(.7,1,1,.5,0,pe/ne,1,pe/ne,Me),xe.spot2=new go.Spot(Me.x,Me.y),it(Me),xe}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new tn("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new tn("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=40);var le=Oe?Oe.parameter2:NaN;isNaN(le)&&(le=100);var pe=(ne-de)/2,xe=pe+de,Ae=(ne-le)/2,Me=Ae+le;(de>ne||le>ne)&&(le>de?(de=de*ne/le,pe=(ne-de)/2,xe=pe+de,Ae=0,Me=ne):(pe=0,xe=ne,Ae=0,Me=ne));var ke=new go.Geometry,lt=new go.PathFigure(te,.5*ne,!0);ke.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,Me)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,xe)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*te,xe)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*te,Me)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*te,Ae)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*te,pe)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,pe)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,Ae).close());var dt=Mt(0,.5,.3,Ae/ne,0,pe/ne,1,pe/ne,ue());return ke.spot1=new go.Spot(dt.x,dt.y),dt=Mt(.7,Me/ne,1,.5,0,xe/ne,1,xe/ne,dt),ke.spot2=new go.Spot(dt.x,dt.y),it(dt),ke}),go.Shape.setFigureParameter("IBeamArrow",0,new tn("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.3);var le=(.5-de/2)*ne,pe=(.5+de/2)*ne,xe=new go.Geometry,Ae=new go.PathFigure(te,.5*ne,!0);xe.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*te,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*te,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*te,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),xe.spot1=new go.Spot(0,le/ne);var Me=Mt(.7,1,1,.5,0,pe/ne,1,pe/ne,ue());return xe.spot2=new go.Spot(Me.x,Me.y),it(Me),xe}),go.Shape.setFigureParameter("IBeamArrow2",0,new tn("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new tn("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=40);var le=Oe?Oe.parameter2:NaN;isNaN(le)&&(le=100);var pe=(ne-de)/2,xe=pe+de,Ae=(ne-le)/2,Me=Ae+le;(de>ne||le>ne)&&(le>de?(de=de*ne/le,pe=(ne-de)/2,xe=pe+de,Ae=0,Me=ne):(pe=0,xe=ne,Ae=0,Me=ne));var ke=new go.Geometry,lt=new go.PathFigure(te,.5*ne,!0);ke.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,Me)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,xe)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*te,xe)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*te,Me)),lt.add(new go.PathSegment(go.PathSegment.Line,0,Me)),lt.add(new go.PathSegment(go.PathSegment.Line,0,Ae)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*te,Ae)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*te,pe)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,pe)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*te,Ae).close()),ke.spot1=new go.Spot(0,pe/ne);var dt=Mt(.7,Me/ne,1,.5,0,xe/ne,1,xe/ne,ue());return ke.spot2=new go.Spot(dt.x,dt.y),it(dt),ke}),go.Shape.setFigureParameter("Pointer",0,new tn("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.1);var le=new go.Geometry,pe=new go.PathFigure(te,.5*ne,!0);le.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,de*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),le.spot1=new go.Spot(de,.35);var xe=Mt(.2,.65,1,.65,0,1,1,.5,ue());return le.spot2=new go.Spot(xe.x,xe.y),it(xe),le}),go.Shape.setFigureParameter("RoundedPointer",0,new tn("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.3);var le=new go.Geometry,pe=new go.PathFigure(te,.5*ne,!0);le.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,de*te,.75*ne,de*te,.25*ne).close()),le.spot1=new go.Spot(de,.35);var xe=Mt(0,.65,1,.65,0,1,1,.5,ue());return le.spot2=new go.Spot(xe.x,xe.y),it(xe),le}),go.Shape.setFigureParameter("SplitEndArrow",0,new tn("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.4);var le=(.5-de/2)*ne,pe=(.5+de/2)*ne,xe=new go.Geometry,Ae=new go.PathFigure(te,.5*ne,!0);xe.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),xe.spot1=new go.Spot(.2,.3);var Me=Mt(.7,1,1,.5,0,pe/ne,1,pe/ne,ue());return xe.spot2=new go.Spot(Me.x,Me.y),it(Me),xe}),go.Shape.setFigureParameter("SplitEndArrow2",0,new tn("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=50);var le=(ne-de)/2,pe=le+de;de>ne&&(le=0,pe=ne);var xe=new go.Geometry,Ae=new go.PathFigure(te,.5*ne,!0);xe.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),xe.spot1=new go.Spot(.2,le/ne);var Me=Mt(.7,1,1,.5,0,pe/ne,1,pe/ne,ue());return xe.spot2=new go.Spot(Me.x,Me.y),it(Me),xe}),go.Shape.setFigureParameter("SquareArrow",0,new tn("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.7);var le=new go.Geometry,pe=new go.PathFigure(te,.5*ne,!0);return le.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,de*te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,de*te,0).close()),le.spot1=go.Spot.TopLeft,le.spot2=new go.Spot(de,1),le}),go.Shape.defineFigureGenerator("Cone1",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=Ve*.1,xe=new go.PathFigure(0,.9*ne,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.9+pe)*ne,(.5+le)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-le)*te,ne,0,(.9+pe)*ne).close()),de.spot1=new go.Spot(.25,.5),de.spot2=new go.Spot(.75,.97),de}),go.Shape.defineFigureGenerator("Cone2",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.9*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,te,.9*ne,(1-.85/.9)*te,ne,.85/.9*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,0,.9*ne).close());var pe=new go.PathFigure(0,.9*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,te,.9*ne,(1-.85/.9)*te,.8*ne,.85/.9*te,.8*ne)),de.spot1=new go.Spot(.25,.5),de.spot2=new go.Spot(.75,.82),de}),go.Shape.defineFigureGenerator("Cube1",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,0,.15*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne).close());var pe=new go.PathFigure(.5*te,ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.3*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.15*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.5*te,.3*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),de.spot1=new go.Spot(0,.3),de.spot2=new go.Spot(.5,.85),de}),go.Shape.defineFigureGenerator("Cube2",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.3*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,0).close());var pe=new go.PathFigure(0,.3*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*te,.3*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Move,.7*te,.3*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),de.spot1=new go.Spot(0,.3),de.spot2=new go.Spot(.7,1),de}),go.Shape.defineFigureGenerator("Cylinder1",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=5),de=Math.min(de,ne/3);var le=new go.Geometry,pe=Ve*.5,xe=new go.PathFigure(0,de,!0);le.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,Ve*de,(.5-pe)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,1*te,de,(.5+pe)*te,0,1*te,Ve*de)),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne-de)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,1*ne,1*te,ne-Ve*de,(.5+pe)*te,1*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-de,(.5-pe)*te,1*ne,0,ne-Ve*de)),xe.add(new go.PathSegment(go.PathSegment.Line,0,de));var Ae=new go.PathFigure(te,de,!1);return le.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,2*de,1*te,2*de-Ve*de,(.5+pe)*te,2*de)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,de,(.5-pe)*te,2*de,0,2*de-Ve*de)),le.spot1=new go.Spot(0,0,0,2*de),le.spot2=new go.Spot(1,1),le}),go.Shape.defineFigureGenerator("Cylinder2",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=5),de=Math.min(de,ne/3);var le=new go.Geometry,pe=Ve*.5,xe=new go.PathFigure(0,ne-de,!0);le.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,0,de)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,Ve*de,(.5-pe)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,de,(.5+pe)*te,0,te,Ve*de)),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne-de)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,ne-Ve*de,(.5+pe)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-de,(.5-pe)*te,ne,0,ne-Ve*de));var Ae=new go.PathFigure(0,ne-de,!1);return le.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne-2*de,0,ne-de-Ve*de,(.5-pe)*te,ne-2*de)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te,ne-de,(.5+pe)*te,ne-2*de,te,ne-de-Ve*de)),le.spot1=new go.Spot(0,0),le.spot2=new go.Spot(1,1,0,-2*de),le}),go.Shape.defineFigureGenerator("Cylinder3",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=5),de=Math.min(de,te/3);var le=new go.Geometry,pe=Ve*.5,xe=new go.PathFigure(de,0,!0);le.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te-de,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,te-Ve*de,0,te,(.5-pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te-de,ne,te,(.5+pe)*ne,te-Ve*de,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,de,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,Ve*de,ne,0,(.5+pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,de,0,0,(.5-pe)*ne,Ve*de,0));var Ae=new go.PathFigure(de,0,!1);return le.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,2*de,.5*ne,de+Ve*de,0,2*de,(.5-pe)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,de,ne,2*de,(.5+pe)*ne,de+Ve*de,ne)),le.spot1=new go.Spot(0,0,2*de,0),le.spot2=new go.Spot(1,1),le}),go.Shape.defineFigureGenerator("Cylinder4",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=5),de=Math.min(de,te/3);var le=new go.Geometry,pe=Ve*.5,xe=new go.PathFigure(te-de,0,!0);le.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,te-Ve*de,0,te,(.5-pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te-de,ne,te,(.5+pe)*ne,te-Ve*de,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,de,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,Ve*de,ne,0,(.5+pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,de,0,0,(.5-pe)*ne,Ve*de,0)),xe.add(new go.PathSegment(go.PathSegment.Line,te-de,0));var Ae=new go.PathFigure(te-de,0,!1);return le.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te-2*de,.5*ne,te-de-Ve*de,0,te-2*de,(.5-pe)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te-de,ne,te-2*de,(.5+pe)*ne,te-de-Ve*de,ne)),le.spot1=new go.Spot(0,0),le.spot2=new go.Spot(1,1,-2*de,0),le}),go.Shape.defineFigureGenerator("Prism1",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.25*te,.25*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var pe=new go.PathFigure(.25*te,.25*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),de.spot1=new go.Spot(.408,.172),de.spot2=new go.Spot(.833,.662),de}),go.Shape.defineFigureGenerator("Prism2",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.25*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var pe=new go.PathFigure(0,ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,0,.25*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ne)),de.spot1=new go.Spot(.25,.5),de.spot2=new go.Spot(.75,.75),de}),go.Shape.defineFigureGenerator("Pyramid1",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne).close());var pe=new go.PathFigure(.5*te,0,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),de.spot1=new go.Spot(.25,.367),de.spot2=new go.Spot(.75,.875),de}),go.Shape.defineFigureGenerator("Pyramid2",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne).close());var pe=new go.PathFigure(.5*te,0,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.7*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.5*te,.7*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),de.spot1=new go.Spot(.25,.367),de.spot2=new go.Spot(.75,.875),de}),go.Shape.defineFigureGenerator("Actor",function(Oe,te,ne){var de=new go.Geometry,le=.2,pe=.1,xe=Ve*le,Ae=Ve*pe,Me=.5,ke=.1,lt=new go.PathFigure(Me*te,(ke+pe)*ne,!0);de.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,(Me-le)*te,ke*ne,(Me-xe)*te,(ke+pe)*ne,(Me-le)*te,(ke+Ae)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-pe)*ne,(Me-le)*te,(ke-Ae)*ne,(Me-xe)*te,(ke-pe)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+le)*te,ke*ne,(Me+xe)*te,(ke-pe)*ne,(Me+le)*te,(ke-Ae)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke+pe)*ne,(Me+le)*te,(ke+Ae)*ne,(Me+xe)*te,(ke+pe)*ne));var dt=.05,yt=Ve*dt;Me=.05,ke=.25;var ut=new go.PathFigure(.5*te,.2*ne,!0);return de.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.95*te,.2*ne)),Me=.95,ke=.25,ut.add(new go.PathSegment(go.PathSegment.Bezier,(Me+dt)*te,ke*ne,(Me+yt)*te,(ke-dt)*ne,(Me+dt)*te,(ke-yt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,te,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.85*te,.35*ne)),dt=.025,yt=Ve*dt,Me=.825,ke=.35,ut.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-dt)*ne,(Me+dt)*te,(ke-yt)*ne,(Me+yt)*te,(ke-dt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Me-dt)*te,ke*ne,(Me-yt)*te,(ke-dt)*ne,(Me-dt)*te,(ke-yt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*te,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*te,.7*ne)),dt=.05,yt=Ve*dt,Me=.5,ke=.7,ut.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-dt)*ne,(Me+dt)*te,(ke-yt)*ne,(Me+yt)*te,(ke-dt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Me-dt)*te,ke*ne,(Me-yt)*te,(ke-dt)*ne,(Me-dt)*te,(ke-yt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.45*te,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.2*te,.35*ne)),dt=.025,yt=Ve*dt,Me=.175,ke=.35,ut.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-dt)*ne,(Me+dt)*te,(ke-yt)*ne,(Me+yt)*te,(ke-dt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Me-dt)*te,ke*ne,(Me-yt)*te,(ke-dt)*ne,(Me-dt)*te,(ke-yt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),dt=.05,yt=Ve*dt,Me=.05,ke=.25,ut.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-dt)*ne,(Me-dt)*te,(ke-yt)*ne,(Me-yt)*te,(ke-dt)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.5*te,.2*ne)),de.spot1=new go.Spot(.2,.2),de.spot2=new go.Spot(.8,.65),de}),go.Shape.setFigureParameter("Card",0,new tn("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;isNaN(de)&&(de=.2);var le=new go.Geometry,pe=new go.PathFigure(te,0,!0);return le.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,de*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,de*te,0).close()),le.spot1=new go.Spot(0,de),le.spot2=go.Spot.BottomRight,le}),go.Shape.defineFigureGenerator("Collate",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,.5*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne));var pe=new go.PathFigure(.5*te,.5*ne,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),de.spot1=new go.Spot(.25,0),de.spot2=new go.Spot(.75,.25),de}),go.Shape.defineFigureGenerator("CreateRequest",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.1);var pe=new go.PathFigure(0,0,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var xe=new go.PathFigure(0,le*ne,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,le*ne)),xe.add(new go.PathSegment(go.PathSegment.Move,0,(1-le)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,(1-le)*ne)),de}),go.Shape.defineFigureGenerator("Database",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=Ve*.1,xe=new go.PathFigure(te,.1*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.9+pe)*ne,(.5+le)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-le)*te,ne,0,(.9+pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,(.1-pe)*ne,(.5-le)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ne,(.5+le)*te,0,te,(.1-pe)*ne));var Ae=new go.PathFigure(te,.1*ne,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ne,te,(.1+pe)*ne,(.5+le)*te,.2*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ne,(.5-le)*te,.2*ne,0,(.1+pe)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,te,.2*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ne,te,(.2+pe)*ne,(.5+le)*te,.3*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ne,(.5-le)*te,.3*ne,0,(.2+pe)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,te,.3*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.4*ne,te,(.3+pe)*ne,(.5+le)*te,.4*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ne,(.5-le)*te,.4*ne,0,(.3+pe)*ne)),de.spot1=new go.Spot(0,.4),de.spot2=new go.Spot(1,.9),de}),go.Shape.defineFigureGenerator("DataStorage",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ne,te,0,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.9*ne,.25*te,.1*ne).close()),de.spot1=new go.Spot(.226,0),de.spot2=new go.Spot(.81,1),de}),go.Shape.defineFigureGenerator("DiskStorage",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=Ve*.1,xe=new go.PathFigure(te,.1*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.9+pe)*ne,(.5+le)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-le)*te,ne,0,(.9+pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,(.1-pe)*ne,(.5-le)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ne,(.5+le)*te,0,te,(.1-pe)*ne));var Ae=new go.PathFigure(te,.1*ne,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ne,te,(.1+pe)*ne,(.5+le)*te,.2*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ne,(.5-le)*te,.2*ne,0,(.1+pe)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,te,.2*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ne,te,(.2+pe)*ne,(.5+le)*te,.3*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ne,(.5-le)*te,.3*ne,0,(.2+pe)*ne)),de.spot1=new go.Spot(0,.3),de.spot2=new go.Spot(1,.9),de}),go.Shape.defineFigureGenerator("Display",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.25*te,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ne,te,0,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.25*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close()),de.spot1=new go.Spot(.25,0),de.spot2=new go.Spot(.75,1),de}),go.Shape.defineFigureGenerator("DividedEvent",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)?le=.2:le<.15&&(le=.15);var pe=Ve*.2,xe=new go.PathFigure(0,.2*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,0,(.2-pe)*ne,(.2-pe)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,.2*ne,(.8+pe)*te,0,te,(.2-pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,ne,te,(.8+pe)*ne,(.8+pe)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*ne,(.2-pe)*te,ne,0,(.8+pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne));var Ae=new go.PathFigure(0,le*ne,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te,le*ne)),de}),go.Shape.defineFigureGenerator("DividedProcess",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;(isNaN(le)||le<.1)&&(le=.1);var pe=new go.PathFigure(0,0,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var xe=new go.PathFigure(0,le*ne,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,le*ne)),de}),go.Shape.defineFigureGenerator("Document",function(Oe,te,ne){var de=new go.Geometry;ne=ne/.8;var le=new go.PathFigure(0,.7*ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*te,.4*ne,.5*te,ne).close()),de.spot1=go.Spot.TopLeft,de.spot2=new go.Spot(1,.6),de}),go.Shape.defineFigureGenerator("ExternalOrganization",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;(isNaN(le)||le<.2)&&(le=.2);var pe=new go.PathFigure(0,0,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var xe=new go.PathFigure(le*te,0,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,0,le*ne)),xe.add(new go.PathSegment(go.PathSegment.Move,te,le*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,(1-le)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Move,0,(1-le)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,le*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Move,(1-le)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,(1-le)*ne)),de}),go.Shape.defineFigureGenerator("ExternalProcess",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close());var pe=new go.PathFigure(.1*te,.4*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.1*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.9*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.6*te,.1*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*te,.1*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.4*te,.9*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.6*te,.9*ne)),de.spot1=new go.Spot(.25,.25),de.spot2=new go.Spot(.75,.75),de}),go.Shape.defineFigureGenerator("File",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var pe=new go.PathFigure(.75*te,0,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.75*te,.25*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),de.spot1=new go.Spot(0,.25),de.spot2=go.Spot.BottomRight,de}),go.Shape.defineFigureGenerator("Interrupt",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te,.5*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne));var pe=new go.PathFigure(te,.5*ne,!1);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne));var xe=new go.PathFigure(te,.5*ne,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,0)),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.5,.75),de}),go.Shape.defineFigureGenerator("InternalStorage",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN,pe=Oe?Oe.parameter2:NaN;isNaN(le)&&(le=.1),isNaN(pe)&&(pe=.1);var xe=new go.PathFigure(0,0,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Ae=new go.PathFigure(le*te,0,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,le*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,0,pe*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,te,pe*ne)),de}),go.Shape.defineFigureGenerator("Junction",function(Oe,te,ne){var de=new go.Geometry,le=1/Math.SQRT2,pe=(1-1/Math.SQRT2)/2,xe=Ve*.5,Ae=.5,Me=new go.PathFigure(te,Ae*ne,!0);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,Ae*te,ne,te,(Ae+xe)*ne,(Ae+xe)*te,ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,0,Ae*ne,(Ae-xe)*te,ne,0,(Ae+xe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,Ae*te,0,0,(Ae-xe)*ne,(Ae-xe)*te,0)),Me.add(new go.PathSegment(go.PathSegment.Bezier,te,Ae*ne,(Ae+xe)*te,0,te,(Ae-xe)*ne));var ke=new go.PathFigure((pe+le)*te,(pe+le)*ne,!1);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,pe*te,pe*ne)),ke.add(new go.PathSegment(go.PathSegment.Move,pe*te,(pe+le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,(pe+le)*te,pe*ne)),de}),go.Shape.defineFigureGenerator("LinedDocument",function(Oe,te,ne){var de=new go.Geometry;ne=ne/.8;var le=new go.PathFigure(0,.7*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*te,.4*ne,.5*te,ne).close());var pe=new go.PathFigure(.1*te,0,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.1*te,.75*ne)),de.spot1=new go.Spot(.1,0),de.spot2=new go.Spot(1,.6),de}),go.Shape.defineFigureGenerator("LoopLimit",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.25*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne).close()),de.spot1=new go.Spot(0,.25),de.spot2=go.Spot.BottomRight,de}),go.Shape.defineFigureGenerator("MagneticTape",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=.5,xe=new go.PathFigure(.5*te,ne,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,pe*ne,(pe-le)*te,ne,0,(pe+le)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,pe*te,0,0,(pe-le)*ne,(pe-le)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,pe*ne,(pe+le)*te,0,te,(pe-le)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(pe+.1)*te,.9*ne,te,(pe+le)*ne,(pe+le)*te,.9*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),de.spot1=new go.Spot(.15,.15),de.spot2=new go.Spot(.85,.8),de}),go.Shape.defineFigureGenerator("ManualInput",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne).close()),de.spot1=new go.Spot(0,.25),de.spot2=go.Spot.BottomRight,de}),go.Shape.defineFigureGenerator("MessageFromUser",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.7);var pe=new go.PathFigure(0,0,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,le*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de.spot1=go.Spot.TopLeft,de}),go.Shape.defineFigureGenerator("MicroformProcessing",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.25);var pe=new go.PathFigure(0,0,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,le*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,(1-le)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de}),go.Shape.defineFigureGenerator("MicroformRecording",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(1,.75),de}),go.Shape.defineFigureGenerator("MultiDocument",function(Oe,te,ne){var de=new go.Geometry;ne=ne/.8;var le=new go.PathFigure(te,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.44*ne,.96*te,.47*ne,.93*te,.45*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.54*ne,.86*te,.57*ne,.83*te,.55*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.4*te,.4*ne,.4*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,0).close());var pe=new go.PathFigure(.1*te,.2*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.54*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.2*te,.1*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.1*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.44*ne)),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.8,.77),de}),go.Shape.defineFigureGenerator("MultiProcess",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.1*te,.1*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,.9*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.9*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ne).close());var pe=new go.PathFigure(.2*te,.1*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.1*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.1*te,.2*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.9*ne)),de.spot1=new go.Spot(0,.2),de.spot2=new go.Spot(.8,1),de}),go.Shape.defineFigureGenerator("OfflineStorage",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.1);var pe=1-le,xe=new go.PathFigure(0,0,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne).close());var Ae=new go.PathFigure(.5*le*te,le*ne,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*le)*te,le*ne)),de}),go.Shape.defineFigureGenerator("OffPageConnector",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de.spot1=go.Spot.TopLeft,de.spot2=new go.Spot(.75,1),de}),go.Shape.defineFigureGenerator("Or",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=.5,xe=new go.PathFigure(te,pe*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,pe*te,ne,te,(pe+le)*ne,(pe+le)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,pe*ne,(pe-le)*te,ne,0,(pe+le)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,pe*te,0,0,(pe-le)*ne,(pe-le)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,pe*ne,(pe+le)*te,0,te,(pe-le)*ne));var Ae=new go.PathFigure(te,.5*ne,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,.5*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),de}),go.Shape.defineFigureGenerator("PaperTape",function(Oe,te,ne){var de=new go.Geometry;ne=ne/.8;var le=new go.PathFigure(0,.7*ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.3*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,te,.3*ne,.5*te,.6*ne,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*te,.4*ne,.5*te,ne).close()),de.spot1=new go.Spot(0,.49),de.spot2=new go.Spot(1,.75),de}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN,pe=Oe?Oe.parameter2:NaN;isNaN(le)&&(le=.1),isNaN(pe)&&(pe=.3);var xe=new go.PathFigure(0,0,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,(1-pe)*te,.5*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN,pe=Oe?Oe.parameter2:NaN;isNaN(le)&&(le=.1),isNaN(pe)&&(pe=.3);var xe=new go.PathFigure(0,0,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,(1-pe)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,(1-pe)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de}),go.Shape.defineFigureGenerator("Procedure",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.1);var pe=new go.PathFigure(0,0,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var xe=new go.PathFigure((1-le)*te,0,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,(1-le)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Move,le*te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,le*te,ne)),de}),go.Shape.defineFigureGenerator("Process",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.1);var pe=new go.PathFigure(0,0,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var xe=new go.PathFigure(le*te,0,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,le*te,ne)),de.spot2=go.Spot.BottomRight,de}),go.Shape.defineFigureGenerator("Sort",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close());var pe=new go.PathFigure(0,.5*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),de.spot1=new go.Spot(.25,.25),de.spot2=new go.Spot(.75,.5),de}),go.Shape.defineFigureGenerator("Start",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.25);var pe=new go.PathFigure(le*te,0,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*te,.5*ne,.25*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*te,.5*ne,.25*te,.5*ne));var xe=new go.PathFigure(le*te,0,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,le*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Move,(1-le)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,(1-le)*te,ne)),de.spot1=new go.Spot(le,0),de.spot2=new go.Spot(1-le,1),de}),go.Shape.defineFigureGenerator("Terminator",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.25*te,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*te,.5*ne,.25*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*te,.5*ne,.25*te,.5*ne)),de.spot1=new go.Spot(.23,0),de.spot2=new go.Spot(.77,1),de}),go.Shape.defineFigureGenerator("TransmittalTape",function(Oe,te,ne){var de=new go.Geometry,le=Oe?Oe.parameter1:NaN;isNaN(le)&&(le=.1);var pe=new go.PathFigure(0,0,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.75*te,(1-le)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,(1-le)*ne).close()),de.spot1=go.Spot.TopLeft,de}),go.Shape.defineFigureGenerator("AndGate",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=new go.PathFigure(0,0,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,(.5+le)*te,0,te,(.5-le)*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.5+le)*ne,(.5+le)*te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de.spot1=go.Spot.TopLeft,de.spot2=new go.Spot(.55,1),de}),go.Shape.defineFigureGenerator("Buffer",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.5,.75),de}),go.Shape.defineFigureGenerator("Clock",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=.5,xe=new go.PathFigure(te,pe*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,pe*te,ne,te,(pe+le)*ne,(pe+le)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,pe*ne,(pe-le)*te,ne,0,(pe+le)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,pe*te,0,0,(pe-le)*ne,(pe-le)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,pe*ne,(pe+le)*te,0,te,(pe-le)*ne));var Ae=new go.PathFigure(te,pe*ne,!1);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te,pe*ne));var Me=new go.PathFigure(.8*te,.75*ne,!1);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,.8*te,.25*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.6*te,.25*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.6*te,.75*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.4*te,.75*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.4*te,.25*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.2*te,.25*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,.2*te,.75*ne)),de}),go.Shape.defineFigureGenerator("Ground",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.2*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.3*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.7*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.4*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,ne)),de}),go.Shape.defineFigureGenerator("Inverter",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.1,pe=.1,xe=.9,Ae=.5,Me=new go.PathFigure(.8*te,.5*ne,!0);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),Me.add(new go.PathSegment(go.PathSegment.Line,0,0)),Me.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ne));var ke=new go.PathFigure((xe+pe)*te,Ae*ne,!0);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,(xe-le)*te,(Ae+pe)*ne,(xe-pe)*te,(Ae+le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,(xe+le)*te,(Ae-pe)*ne,(xe+pe)*te,(Ae-le)*ne)),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.4,.75),de}),go.Shape.defineFigureGenerator("NandGate",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=Ve*.4,xe=Ve*.1,Ae=.1,Me=.9,ke=.5,lt=new go.PathFigure(.8*te,.5*ne,!0);de.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,ne,.8*te,(.5+pe)*ne,(.4+le)*te,ne)),lt.add(new go.PathSegment(go.PathSegment.Line,0,ne)),lt.add(new go.PathSegment(go.PathSegment.Line,0,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ne,(.4+le)*te,0,.8*te,(.5-pe)*ne));var dt=new go.PathFigure((Me+Ae)*te,ke*ne,!0);return de.add(dt),dt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke+Ae)*ne,(Me+Ae)*te,(ke+xe)*ne,(Me+xe)*te,(ke+Ae)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(Me-Ae)*te,ke*ne,(Me-xe)*te,(ke+Ae)*ne,(Me-Ae)*te,(ke+xe)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-Ae)*ne,(Me-Ae)*te,(ke-xe)*ne,(Me-xe)*te,(ke-Ae)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+Ae)*te,ke*ne,(Me+xe)*te,(ke-Ae)*ne,(Me+Ae)*te,(ke-xe)*ne)),de.spot1=new go.Spot(0,.05),de.spot2=new go.Spot(.55,.95),de}),go.Shape.defineFigureGenerator("NorGate",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=Ve*le,xe=0,Ae=.5,Me=new go.PathFigure(.8*te,.5*ne,!0);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.7*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.75*ne,.25*te,.25*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ne,(xe+pe)*te,(Ae-le)*ne,.7*te,(Ae-pe)*ne)),le=.1,pe=Ve*.1,xe=.9,Ae=.5;var ke=new go.PathFigure((xe-le)*te,Ae*ne,!0);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(xe+le)*te,Ae*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(xe-le)*te,Ae*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne)),de.spot1=new go.Spot(.2,.25),de.spot2=new go.Spot(.6,.75),de}),go.Shape.defineFigureGenerator("OrGate",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=Ve*le,xe=0,Ae=.5,Me=new go.PathFigure(0,0,!0);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,(xe+pe+pe)*te,(Ae-le)*ne,.8*te,(Ae-pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.8*te,(Ae+pe)*ne,(xe+pe+pe)*te,(Ae+le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.75*ne,.25*te,.25*ne).close()),de.spot1=new go.Spot(.2,.25),de.spot2=new go.Spot(.75,.75),de}),go.Shape.defineFigureGenerator("XnorGate",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=Ve*le,xe=.2,Ae=.5,Me=new go.PathFigure(.1*te,0,!1);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,ne,.35*te,.25*ne,.35*te,.75*ne));var ke=new go.PathFigure(.8*te,.5*ne,!0);de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,ne,.7*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,.45*te,.75*ne,.45*te,.25*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ne,(xe+pe)*te,(Ae-le)*ne,.7*te,(Ae-pe)*ne)),le=.1,pe=Ve*.1,xe=.9,Ae=.5;var lt=new go.PathFigure((xe-le)*te,Ae*ne,!0);return de.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(xe+le)*te,Ae*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(xe-le)*te,Ae*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne)),de.spot1=new go.Spot(.4,.25),de.spot2=new go.Spot(.65,.75),de}),go.Shape.defineFigureGenerator("XorGate",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=Ve*le,xe=.2,Ae=.5,Me=new go.PathFigure(.1*te,0,!1);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,ne,.35*te,.25*ne,.35*te,.75*ne));var ke=new go.PathFigure(.2*te,0,!0);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,(xe+pe)*te,(Ae-le)*ne,.9*te,(Ae-pe)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,ne,.9*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,.45*te,.75*ne,.45*te,.25*ne).close()),de.spot1=new go.Spot(.4,.25),de.spot2=new go.Spot(.8,.75),de}),go.Shape.defineFigureGenerator("Capacitor",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Move,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),de}),go.Shape.defineFigureGenerator("Resistor",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.5*ne,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.7*te,.5*ne)),de}),go.Shape.defineFigureGenerator("Inductor",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.1,pe=.1,xe=.1,Ae=.5,Me=new go.PathFigure((xe-le*.5)*te,ne,!1);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,0,(xe-le)*te,ne,(xe-pe)*te,0)),xe=.3,Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,ne,(xe+pe)*te,0,(xe+le)*te,ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,0,(xe-le)*te,ne,(xe-pe)*te,0)),xe=.5,Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,ne,(xe+pe)*te,0,(xe+le)*te,ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,0,(xe-le)*te,ne,(xe-pe)*te,0)),xe=.7,Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,ne,(xe+pe)*te,0,(xe+le)*te,ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,0,(xe-le)*te,ne,(xe-pe)*te,0)),xe=.9,Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+le*.5)*te,ne,(xe+pe)*te,0,(xe+le)*te,ne)),de}),go.Shape.defineFigureGenerator("ACvoltageSource",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.5,pe=.5,xe=.5,Ae=.5,Me=new go.PathFigure((xe-pe)*te,Ae*ne,!1);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,(xe+le)*te,(Ae-pe)*ne,(xe+pe)*te,(Ae-le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,(xe-le)*te,(Ae+pe)*ne,(xe-pe)*te,(Ae+le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Move,(xe-pe+.1)*te,Ae*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe-.1)*te,Ae*ne,xe*te,(Ae-pe)*ne,xe*te,(Ae+pe)*ne)),de}),go.Shape.defineFigureGenerator("DCvoltageSource",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.75*ne,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Move,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),de}),go.Shape.defineFigureGenerator("Diode",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.5,.75),de}),go.Shape.defineFigureGenerator("Wifi",function(Oe,te,ne){var de=new go.Geometry,le=te,pe=ne;te=te*.38,ne=ne*.6;var xe=Ve*.8,Ae=.8,Me=0,ke=.5,lt=(le-te)/2,dt=(pe-ne)/2,yt=new go.PathFigure(Me*te+lt,(ke+Ae)*ne+dt,!0);de.add(yt),yt.add(new go.PathSegment(go.PathSegment.Bezier,(Me-Ae)*te+lt,ke*ne+dt,(Me-xe)*te+lt,(ke+Ae)*ne+dt,(Me-Ae)*te+lt,(ke+xe)*ne+dt)),yt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke-Ae)*ne+dt,(Me-Ae)*te+lt,(ke-xe)*ne+dt,(Me-xe)*te+lt,(ke-Ae)*ne+dt)),yt.add(new go.PathSegment(go.PathSegment.Bezier,(Me-Ae+xe*.5)*te+lt,ke*ne+dt,Me*te+lt,(ke-Ae)*ne+dt,(Me-Ae+xe*.5)*te+lt,(ke-xe)*ne+dt)),yt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke+Ae)*ne+dt,(Me-Ae+xe*.5)*te+lt,(ke+xe)*ne+dt,Me*te+lt,(ke+Ae)*ne+dt).close()),xe=Ve*.4,Ae=.4,Me=.2,ke=.5;var ut=new go.PathFigure(Me*te+lt,(ke+Ae)*ne+dt,!0);de.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Me-Ae)*te+lt,ke*ne+dt,(Me-xe)*te+lt,(ke+Ae)*ne+dt,(Me-Ae)*te+lt,(ke+xe)*ne+dt)),ut.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke-Ae)*ne+dt,(Me-Ae)*te+lt,(ke-xe)*ne+dt,(Me-xe)*te+lt,(ke-Ae)*ne+dt)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Me-Ae+xe*.5)*te+lt,ke*ne+dt,Me*te+lt,(ke-Ae)*ne+dt,(Me-Ae+xe*.5)*te+lt,(ke-xe)*ne+dt)),ut.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke+Ae)*ne+dt,(Me-Ae+xe*.5)*te+lt,(ke+xe)*ne+dt,Me*te+lt,(ke+Ae)*ne+dt).close()),xe=Ve*.2,Ae=.2,Me=.5,ke=.5;var Ot=new go.PathFigure((Me-Ae)*te+lt,ke*ne+dt,!0);de.add(Ot),Ot.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke-Ae)*ne+dt,(Me-Ae)*te+lt,(ke-xe)*ne+dt,(Me-xe)*te+lt,(ke-Ae)*ne+dt)),Ot.add(new go.PathSegment(go.PathSegment.Bezier,(Me+Ae)*te+lt,ke*ne+dt,(Me+xe)*te+lt,(ke-Ae)*ne+dt,(Me+Ae)*te+lt,(ke-xe)*ne+dt)),Ot.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke+Ae)*ne+dt,(Me+Ae)*te+lt,(ke+xe)*ne+dt,(Me+xe)*te+lt,(ke+Ae)*ne+dt)),Ot.add(new go.PathSegment(go.PathSegment.Bezier,(Me-Ae)*te+lt,ke*ne+dt,(Me-xe)*te+lt,(ke+Ae)*ne+dt,(Me-Ae)*te+lt,(ke+xe)*ne+dt)),xe=Ve*.4,Ae=.4,Me=.8,ke=.5;var xt=new go.PathFigure(Me*te+lt,(ke-Ae)*ne+dt,!0);de.add(xt),xt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+Ae)*te+lt,ke*ne+dt,(Me+xe)*te+lt,(ke-Ae)*ne+dt,(Me+Ae)*te+lt,(ke-xe)*ne+dt)),xt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke+Ae)*ne+dt,(Me+Ae)*te+lt,(ke+xe)*ne+dt,(Me+xe)*te+lt,(ke+Ae)*ne+dt)),xt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+Ae-xe*.5)*te+lt,ke*ne+dt,Me*te+lt,(ke+Ae)*ne+dt,(Me+Ae-xe*.5)*te+lt,(ke+xe)*ne+dt)),xt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke-Ae)*ne+dt,(Me+Ae-xe*.5)*te+lt,(ke-xe)*ne+dt,Me*te+lt,(ke-Ae)*ne+dt).close()),xe=Ve*.8,Ae=.8,Me=1,ke=.5;var Nt=new go.PathFigure(Me*te+lt,(ke-Ae)*ne+dt,!0);return de.add(Nt),Nt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+Ae)*te+lt,ke*ne+dt,(Me+xe)*te+lt,(ke-Ae)*ne+dt,(Me+Ae)*te+lt,(ke-xe)*ne+dt)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke+Ae)*ne+dt,(Me+Ae)*te+lt,(ke+xe)*ne+dt,(Me+xe)*te+lt,(ke+Ae)*ne+dt)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+Ae-xe*.5)*te+lt,ke*ne+dt,Me*te+lt,(ke+Ae)*ne+dt,(Me+Ae-xe*.5)*te+lt,(ke+xe)*ne+dt)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te+lt,(ke-Ae)*ne+dt,(Me+Ae-xe*.5)*te+lt,(ke-xe)*ne+dt,Me*te+lt,(ke-Ae)*ne+dt).close()),de}),go.Shape.defineFigureGenerator("Email",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var pe=new go.PathFigure(0,0,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,0)),pe.add(new go.PathSegment(go.PathSegment.Move,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.45*te,.54*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.54*ne)),de}),go.Shape.defineFigureGenerator("Ethernet",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.35*te,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.65*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.65*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.35*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.35*te,0).close());var pe=new go.PathFigure(.1*te,ne,!0,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.1*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.1*te,ne).close());var xe=new go.PathFigure(.6*te,ne,!0,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.6*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.6*te,.6*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.6*te,ne).close());var Ae=new go.PathFigure(0,.5*ne,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,.5*te,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,.75*te,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.75*te,.6*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,.25*te,.5*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.25*te,.6*ne)),de}),go.Shape.defineFigureGenerator("Power",function(Oe,te,ne){var de=new go.Geometry,le=Ve*.4,pe=.4,xe=.5,Ae=.5,Me=ue(),ke=ue(),lt=ue(),dt=ue();kt(xe,Ae-pe,xe+le,Ae-pe,xe+pe,Ae-le,xe+pe,Ae,.5,Me,Me,ke,lt,dt);var yt=Pe(ke.x,ke.y),ut=new go.PathFigure(ke.x*te,ke.y*ne,!0);de.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,lt.x*te,lt.y*ne,dt.x*te,dt.y*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,(xe-le)*te,(Ae+pe)*ne,(xe-pe)*te,(Ae+le)*ne)),kt(xe-pe,Ae,xe-pe,Ae-le,xe-le,Ae-pe,xe,Ae-pe,.5,lt,dt,ke,Me,Me),ut.add(new go.PathSegment(go.PathSegment.Bezier,ke.x*te,ke.y*ne,lt.x*te,lt.y*ne,dt.x*te,dt.y*ne)),le=Ve*.3,pe=.3,kt(xe-pe,Ae,xe-pe,Ae-le,xe-le,Ae-pe,xe,Ae-pe,.5,lt,dt,ke,Me,Me),ut.add(new go.PathSegment(go.PathSegment.Line,ke.x*te,ke.y*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(xe-pe)*te,Ae*ne,dt.x*te,dt.y*ne,lt.x*te,lt.y*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+pe)*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(xe+pe)*te,Ae*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),kt(xe,Ae-pe,xe+le,Ae-pe,xe+pe,Ae-le,xe+pe,Ae,.5,Me,Me,ke,lt,dt),ut.add(new go.PathSegment(go.PathSegment.Bezier,ke.x*te,ke.y*ne,dt.x*te,dt.y*ne,lt.x*te,lt.y*ne).close());var ut=new go.PathFigure(.45*te,0,!0);return de.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.45*te,.5*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*te,.5*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*te,0).close()),it(Me),it(ke),it(lt),it(dt),it(yt),de.spot1=new go.Spot(.25,.45),de.spot2=new go.Spot(.75,.8),de}),go.Shape.defineFigureGenerator("Fallout",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne/2,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Arc,180,360,te/2,ne/2,te/2,ne/2));function pe(xe,Ae,Me){xe.add(new go.PathSegment(go.PathSegment.Move,(.3+Ae)*te,(.8+Me)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,(.5+Ae)*te,(.5+Me)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,(.1+Ae)*te,(.5+Me)*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,(.3+Ae)*te,(.8+Me)*ne).close())}return pe(le,0,0),pe(le,.4,0),pe(le,.2,-.3),de}),go.Shape.defineFigureGenerator("IrritationHazard",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.2*te,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.3*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.7*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne).close()),de.spot1=new go.Spot(.3,.3),de.spot2=new go.Spot(.7,.7),de}),go.Shape.defineFigureGenerator("ElectricalHazard",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.37*te,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.11*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.77*te,.04*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.33*te,.49*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.37*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.63*te,.86*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.77*te,.91*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.34*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.34*te,.78*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.44*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.65*te,.56*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.68*ne).close()),de}),go.Shape.defineFigureGenerator("FireHazard",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.1*te,ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.29*te,0,-.25*te,.63*ne,.45*te,.44*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.51*te,.42*ne,.48*te,.17*ne,.54*te,.35*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.59*te,.18*ne,.59*te,.29*ne,.58*te,.28*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,.6*ne,.8*te,.34*ne,.88*te,.43*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.88*te,.31*ne,.87*te,.48*ne,.88*te,.43*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,ne,1.17*te,.76*ne,.82*te,.8*ne).close()),de.spot1=new go.Spot(.07,.445),de.spot2=new go.Spot(.884,.958),de}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=0,xe=0,Ae=le*Ve,Me=.4*Math.SQRT2/2+.5,ke=.5-.5*Math.SQRT2/2,lt=1,dt=.5,yt=.5,ut=0,Ot=new go.PathFigure(Me*te,(1-ke)*ne,!1);return de.add(Ot),Ot.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,dt*ne,lt*te,.7*ne,lt*te,dt*ne)),Ot.add(new go.PathSegment(go.PathSegment.Bezier,(yt+pe)*te,(ut+pe)*ne,(.5+le+pe)*te,(.5-Ae+pe)*ne,(.5+Ae+pe)*te,(.5-le+pe)*ne)),Ot.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+pe)*te,(.5+xe)*ne,(.5-Ae+pe)*te,(.5-le+xe)*ne,(.5-le+pe)*te,(.5-Ae+xe)*ne)),Ot.add(new go.PathSegment(go.PathSegment.Bezier,(.35+pe)*te,.9*ne,(.5-le+pe)*te,(.5+Ae+xe)*ne,(.5-Ae+pe)*te,.9*ne)),Ot.add(new go.PathSegment(go.PathSegment.Move,(.25+pe)*te,.8*ne)),Ot.add(new go.PathSegment(go.PathSegment.Line,(.35+pe)*te,.9*ne)),Ot.add(new go.PathSegment(go.PathSegment.Line,(.2+pe)*te,.95*ne)),de}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Move,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),de}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Move,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),de}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);de.add(le);var pe=new go.PathFigure(te,ne,!1);de.add(pe);var xe=new go.PathFigure(0,.5*ne,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.5*ne,.2*te,.35*ne,.3*te,.35*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,.7*te,.65*ne,.8*te,.65*ne)),de}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.5*ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne).close()),de}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.2*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne).close());var le=new go.PathFigure(0,.2*ne,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),de}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.7*te,ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,0,.6*te,.5*ne,0,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.7*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,ne,.4*te,.5*ne,te,.5*ne).close());var pe=new go.PathFigure(.45*te,.73*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*te,.73*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.38*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.63*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.31*te,.27*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.56*te,.27*ne)),de}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);de.add(le);var pe=new go.PathFigure(.335*te,(1-.555)*ne,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.335*te,(1-.405)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.405)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.555)*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te,.68*ne,(1-.12)*te,.46*ne,(1-.02)*te,.54*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.68*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.335*te,(1-.555)*ne,.02*te,.54*ne,.12*te,.46*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.365*te,(1-.595)*ne));var xe=.5-.285,Ae=.5,Me=xe,ke=Math.PI/4,lt=4*(1-Math.cos(ke))/(3*Math.sin(ke)),dt=lt*.5,yt=xe,ut=xe,Ot=lt*yt,xt=lt*ut;pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-yt)*te,Me*ne,(Ae-(Ot+yt)/2)*te,(Me+(ut+xt)/2)*ne,(Ae-yt)*te,(Me+xt)*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,Ae*te,(Me-ut)*ne,(Ae-yt)*te,(Me-xt)*ne,(Ae-Ot)*te,(Me-ut)*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+yt)*te,Me*ne,(Ae+Ot)*te,(Me-ut)*ne,(Ae+yt)*te,(Me-xt)*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*te,(1-.595)*ne,(Ae+yt)*te,(Me+xt)*ne,(Ae+(Ot+yt)/2)*te,(Me+(ut+xt)/2)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*te,(1-.595)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.555)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.405)*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.335*te,(1-.405)*ne));var Nt=new go.PathFigure(.2*te,ne,!1);de.add(Nt),Nt.add(new go.PathSegment(go.PathSegment.Line,.2*te,.8*ne));var Jt=new go.PathFigure(.8*te,ne,!1);return de.add(Jt),Jt.add(new go.PathSegment(go.PathSegment.Line,.8*te,.8*ne)),de}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.1*te,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,ne).close());var pe=new go.PathFigure(.2*te,.2*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.2*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Move,.2*te,.8*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.8*ne)),de}),go.Shape.defineFigureGenerator("BpmnEventError",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.33*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.66*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.66*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.33*te,.5*ne).close()),de}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);de.add(le);var pe=new go.PathFigure(te,ne,!1);de.add(pe);var xe=new go.PathFigure(.1*te,ne,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne).close()),de}),go.Shape.defineFigureGenerator("Caution",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.05*te,ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,.8*ne,0,ne,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.45*te,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.1*ne,.5*te,0,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.95*te,.9*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,ne,te,ne,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.05*te,ne));var pe=.05;return le.add(new go.PathSegment(go.PathSegment.Move,(.5-pe)*te,.875*ne)),le.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*te,.875*ne,pe*te,pe*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.325*ne,.575*te,.725*ne,.625*te,.375*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.75*ne,.375*te,.375*ne,.425*te,.725*ne)),de}),go.Shape.defineFigureGenerator("Recycle",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.45*te,.95*ne,!1);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,.95*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.185*te,.85*ne,.17*te,.95*ne,.15*te,.9*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.235*te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.3*te,.625*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.35*te,.65*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.275*te,.45*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.05*te,.45*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.05*te,.575*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.1875*te,.95*ne,0,.675*ne,0,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.45*te,.95*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.45*te,.775*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.22*te,.775*ne));var pe=new go.PathFigure(.475*te,.2*ne,!1);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.4*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.225*te,.3*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.275*te,.175*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.325*te,.05*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,.05*ne,.35*te,0,.375*te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.575*te,.375*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.525*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.75*te,.475*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*te,.315*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.32*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.65*te,.05*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.575*te,0,.65*te,.05*ne,.625*te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.38*te,.0105*ne));var xe=new go.PathFigure(.675*te,.575*ne,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.875*te,.525*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,.775*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.85*te,.95*ne,te,.8*ne,te,.85*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.65*te,.95*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.65*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.85*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.65*te,.725*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.65*te,.775*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.7*te,.775*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,.775*ne)),xe.add(new go.PathSegment(go.PathSegment.Move,.675*te,.575*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.775*te,.775*ne)),de}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=Ve*.5,xe=new go.PathFigure(te,le*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,le*te,ne,te,(le+pe)*ne,(le+pe)*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,le*ne,(le-pe)*te,ne,0,(le+pe)*ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,le*te,0,0,(le-pe)*ne,(le-pe)*te,0)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te,le*ne,(le+pe)*te,0,te,(le-pe)*ne));var Ae=new go.PathFigure(le*te,0,!1);return de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,le*te,.15*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,le*te,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,le*te,.85*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,0,le*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.15*te,le*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,te,le*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*te,le*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,le*te,le*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.58*te,.1*ne)),Ae.add(new go.PathSegment(go.PathSegment.Move,le*te,le*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.78*te,.54*ne)),de}),go.Shape.defineFigureGenerator("Package",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.15*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var pe=new go.PathFigure(0,.15*ne,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.65*te,.15*ne).close()),de.spot1=new go.Spot(0,.1),de.spot2=new go.Spot(1,1),de}),go.Shape.defineFigureGenerator("Class",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var pe=new go.PathFigure(0,.2*ne,!1);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne).close());var xe=new go.PathFigure(0,.5*ne,!1);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne).close()),de}),go.Shape.defineFigureGenerator("Component",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te,ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.15*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.15*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne).close());var pe=new go.PathFigure(0,.2*ne,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.45*te,.2*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.45*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne).close());var xe=new go.PathFigure(0,.6*ne,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.45*te,.6*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.45*te,.8*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne).close()),de}),go.Shape.defineFigureGenerator("Boat Shipment",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.15*te,.6*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.15*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.85*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ne));var pe=new go.PathFigure(.15*te,.6*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ne)),de}),go.Shape.defineFigureGenerator("Customer/Supplier",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te,ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.66*te,.33*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.66*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.33*te,.33*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.33*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,0,.33*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne).close()),de}),go.Shape.defineFigureGenerator("Workcell",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.65*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.65*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.35*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.35*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),de}),go.Shape.defineFigureGenerator("Supermarket",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.33*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.33*ne)),le.add(new go.PathSegment(go.PathSegment.Move,te,.33*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.66*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.66*ne)),le.add(new go.PathSegment(go.PathSegment.Move,te,.66*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),de}),go.Shape.defineFigureGenerator("TruckShipment",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var pe=new go.PathFigure(te,.8*ne,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.6*te,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.6*te,.8*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne).close());var xe=.1,Ae=Ve*.1,Me=.2,ke=.9,lt=new go.PathFigure((Me-xe)*te,ke*ne,!0);de.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-xe)*ne,(Me-xe)*te,(ke-Ae)*ne,(Me-Ae)*te,(ke-xe)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+xe)*te,ke*ne,(Me+Ae)*te,(ke-xe)*ne,(Me+xe)*te,(ke-Ae)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke+xe)*ne,(Me+xe)*te,(ke+Ae)*ne,(Me+Ae)*te,(ke+xe)*ne)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(Me-xe)*te,ke*ne,(Me-Ae)*te,(ke+xe)*ne,(Me-xe)*te,(ke+Ae)*ne).close()),xe=.1,Ae=Ve*.1,Me=.8,ke=.9;var dt=new go.PathFigure((Me-xe)*te,ke*ne,!0);return de.add(dt),dt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke-xe)*ne,(Me-xe)*te,(ke-Ae)*ne,(Me-Ae)*te,(ke-xe)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(Me+xe)*te,ke*ne,(Me+Ae)*te,(ke-xe)*ne,(Me+xe)*te,(ke-Ae)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,Me*te,(ke+xe)*ne,(Me+xe)*te,(ke+Ae)*ne,(Me+Ae)*te,(ke+xe)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(Me-xe)*te,ke*ne,(Me-Ae)*te,(ke+xe)*ne,(Me-xe)*te,(ke+Ae)*ne).close()),de}),go.Shape.defineFigureGenerator("KanbanPost",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.2*te,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),de}),go.Shape.defineFigureGenerator("Forklift",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,0,0));var pe=new go.PathFigure(0,.5*ne,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.8*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var xe=new go.PathFigure(.5*te,.8*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.1*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.1*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.8*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.8*ne));var Ae=new go.PathFigure(.5*te,.7*ne,!1);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne));var Me=.1,ke=Ve*.1,lt=.1,dt=.9,yt=new go.PathFigure((lt-Me)*te,dt*ne,!0);de.add(yt),yt.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(dt-Me)*ne,(lt-Me)*te,(dt-ke)*ne,(lt-ke)*te,(dt-Me)*ne)),yt.add(new go.PathSegment(go.PathSegment.Bezier,(lt+Me)*te,dt*ne,(lt+ke)*te,(dt-Me)*ne,(lt+Me)*te,(dt-ke)*ne)),yt.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(dt+Me)*ne,(lt+Me)*te,(dt+ke)*ne,(lt+ke)*te,(dt+Me)*ne)),yt.add(new go.PathSegment(go.PathSegment.Bezier,(lt-Me)*te,dt*ne,(lt-ke)*te,(dt+Me)*ne,(lt-Me)*te,(dt+ke)*ne)),Me=.1,ke=Ve*.1,lt=.4,dt=.9;var ut=new go.PathFigure((lt-Me)*te,dt*ne,!0);return de.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(dt-Me)*ne,(lt-Me)*te,(dt-ke)*ne,(lt-ke)*te,(dt-Me)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(lt+Me)*te,dt*ne,(lt+ke)*te,(dt-Me)*ne,(lt+Me)*te,(dt-ke)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(dt+Me)*ne,(lt+Me)*te,(dt+ke)*ne,(lt+ke)*te,(dt+Me)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(lt-Me)*te,dt*ne,(lt-ke)*te,(dt+Me)*ne,(lt-Me)*te,(dt+ke)*ne)),de}),go.Shape.defineFigureGenerator("RailShipment",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.1*te,.4*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.45*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.45*te,.9*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.9*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.4*ne).close());var pe=new go.PathFigure(.45*te,.7*ne,!1);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.7*ne));var xe=new go.PathFigure(.55*te,.4*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.9*te,.9*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.9*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.55*te,.4*ne).close());var lt=.05,dt=Ve*.05,yt=.175,ut=.95,Ae=new go.PathFigure((yt-lt)*te,ut*ne,!0);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut-lt)*ne,(yt-lt)*te,(ut-dt)*ne,(yt-dt)*te,(ut-lt)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(yt+lt)*te,ut*ne,(yt+dt)*te,(ut-lt)*ne,(yt+lt)*te,(ut-dt)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut+lt)*ne,(yt+lt)*te,(ut+dt)*ne,(yt+dt)*te,(ut+lt)*ne)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(yt-lt)*te,ut*ne,(yt-dt)*te,(ut+lt)*ne,(yt-lt)*te,(ut+dt)*ne));var lt=.05,dt=Ve*.05,yt=.375,ut=.95,Me=new go.PathFigure((yt-lt)*te,ut*ne,!0);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut-lt)*ne,(yt-lt)*te,(ut-dt)*ne,(yt-dt)*te,(ut-lt)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(yt+lt)*te,ut*ne,(yt+dt)*te,(ut-lt)*ne,(yt+lt)*te,(ut-dt)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut+lt)*ne,(yt+lt)*te,(ut+dt)*ne,(yt+dt)*te,(ut+lt)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(yt-lt)*te,ut*ne,(yt-dt)*te,(ut+lt)*ne,(yt-lt)*te,(ut+dt)*ne));var lt=.05,dt=Ve*.05,yt=.625,ut=.95,ke=new go.PathFigure((yt-lt)*te,ut*ne,!0);de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut-lt)*ne,(yt-lt)*te,(ut-dt)*ne,(yt-dt)*te,(ut-lt)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(yt+lt)*te,ut*ne,(yt+dt)*te,(ut-lt)*ne,(yt+lt)*te,(ut-dt)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut+lt)*ne,(yt+lt)*te,(ut+dt)*ne,(yt+dt)*te,(ut+lt)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(yt-lt)*te,ut*ne,(yt-dt)*te,(ut+lt)*ne,(yt-lt)*te,(ut+dt)*ne));var lt=.05,dt=Ve*.05,yt=.825,ut=.95,Ot=new go.PathFigure((yt-lt)*te,ut*ne,!0);de.add(Ot),Ot.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut-lt)*ne,(yt-lt)*te,(ut-dt)*ne,(yt-dt)*te,(ut-lt)*ne)),Ot.add(new go.PathSegment(go.PathSegment.Bezier,(yt+lt)*te,ut*ne,(yt+dt)*te,(ut-lt)*ne,(yt+lt)*te,(ut-dt)*ne)),Ot.add(new go.PathSegment(go.PathSegment.Bezier,yt*te,(ut+lt)*ne,(yt+lt)*te,(ut+dt)*ne,(yt+dt)*te,(ut+lt)*ne)),Ot.add(new go.PathSegment(go.PathSegment.Bezier,(yt-lt)*te,ut*ne,(yt-dt)*te,(ut+lt)*ne,(yt-lt)*te,(ut+dt)*ne).close());var xt=new go.PathFigure(0,ne,!1);return de.add(xt),xt.add(new go.PathSegment(go.PathSegment.Line,te,ne).close()),de}),go.Shape.defineFigureGenerator("Warehouse",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var pe=new go.PathFigure(0,.2*ne,!1);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne).close());var xe=new go.PathFigure(.15*te,ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.15*te,.5*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.4*te,.5*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.15*te,ne).close());var Ae=.05,Me=Ve*.05,ke=.35,lt=.775,dt=new go.PathFigure((ke-Ae)*te,lt*ne,!0);return de.add(dt),dt.add(new go.PathSegment(go.PathSegment.Bezier,ke*te,(lt-Ae)*ne,(ke-Ae)*te,(lt-Me)*ne,(ke-Me)*te,(lt-Ae)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Ae)*te,lt*ne,(ke+Me)*te,(lt-Ae)*ne,(ke+Ae)*te,(lt-Me)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,ke*te,(lt+Ae)*ne,(ke+Ae)*te,(lt+Me)*ne,(ke+Me)*te,(lt+Ae)*ne)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Ae)*te,lt*ne,(ke-Me)*te,(lt+Ae)*ne,(ke-Ae)*te,(lt+Me)*ne).close()),de}),go.Shape.defineFigureGenerator("ControlCenter",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Move,.1*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne).close()),de}),go.Shape.defineFigureGenerator("Bluetooth",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.75*ne,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),de}),go.Shape.defineFigureGenerator("Bookmark",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Move,.2*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ne)),de}),go.Shape.defineFigureGenerator("Bookmark",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Move,.2*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ne)),de}),go.Shape.defineFigureGenerator("Globe",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,.75*te,0,te,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,.75*ne,.75*te,ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.25*te,ne,0,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,.25*ne,.25*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,.15*te,.25*ne,.15*te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.85*te,.75*ne,.85*te,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.1675*te,.15*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8325*te,.15*ne,.35*te,.3*ne,.65*te,.3*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.1675*te,.85*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8325*te,.85*ne,.35*te,.7*ne,.65*te,.7*ne)),de}),go.Shape.defineFigureGenerator("Wave",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.25*ne,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.25*ne,.1*te,0,.2*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,.25*ne,.425*te,.5*ne,.575*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,te,.25*ne,.8*te,0,.9*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Move,0,.25*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.75*ne,.1*te,.5*ne,.2*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,.75*ne,.425*te,ne,.575*te,ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,te,.75*ne,.8*te,.5*ne,.9*te,.5*ne)),de}),go.Shape.defineFigureGenerator("Operator",function(Oe,te,ne){var de=new go.Geometry,le=.3,pe=Ve*.3,xe=.5,Ae=.7,Me=new go.PathFigure((xe-le)*te,Ae*ne,!0);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+le)*te,Ae*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe-le)*te,Ae*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne));var ke=new go.PathFigure(0,.7*ne,!1);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,te,.7*ne,0,0,te,0)),de}),go.Shape.defineFigureGenerator("TripleFanBlades",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.5*te,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ne,.65*te,.3*ne,.65*te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.35*te,.5*ne,.35*te,.3*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,.65*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.3*te,.6*ne,.1*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ne,.2*te,ne,.35*te,.95*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,.65*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,te,ne,.7*te,.6*ne,.9*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ne,.8*te,ne,.65*te,.95*ne)),de}),go.Shape.defineFigureGenerator("CentrifugalPump",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te,0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,0,.075*ne,0,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,ne,0,ne,.4*te,ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.4*ne,.8*te,ne,.85*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,0)),de}),go.Shape.defineFigureGenerator("Battery",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Move,.4*te,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,.1*ne));var pe=new go.PathFigure(0,.6*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Move,0,.4*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,te,.4*ne)),de}),go.Shape.defineFigureGenerator("Delete",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=Ve*.5,xe=.5,Ae=.5,Me=new go.PathFigure((xe-le)*te,Ae*ne,!0);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+le)*te,Ae*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe-le)*te,Ae*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne));var ke=new go.PathFigure(.15*te,.5*ne,!1);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,.85*te,.5*ne)),de}),go.Shape.defineFigureGenerator("Flag",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.1*ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Move,0,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.1*ne,.15*te,0,.35*te,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ne,.65*te,.2*ne,.85*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.5*ne,.85*te,.6*ne,.65*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.35*te,.4*ne,.15*te,.4*ne).close()),de}),go.Shape.defineFigureGenerator("Help",function(Oe,te,ne){var de=new go.Geometry,le=.5,pe=Ve*.5,xe=.5,Ae=.5,Me=new go.PathFigure((xe-le)*te,Ae*ne,!1);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe+le)*te,Ae*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(xe-le)*te,Ae*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne).close()),le=.05,pe=Ve*.05,xe=.5,Ae=.8;var ke=new go.PathFigure((xe-le)*te,Ae*ne,!1);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae-le)*ne,(xe-le)*te,(Ae-pe)*ne,(xe-pe)*te,(Ae-le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(xe+le)*te,Ae*ne,(xe+pe)*te,(Ae-le)*ne,(xe+le)*te,(Ae-pe)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,xe*te,(Ae+le)*ne,(xe+le)*te,(Ae+pe)*ne,(xe+pe)*te,(Ae+le)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(xe-le)*te,Ae*ne,(xe-pe)*te,(Ae+le)*ne,(xe-le)*te,(Ae+pe)*ne).close()),ke.add(new go.PathSegment(go.PathSegment.Move,.5*te,.7*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ne,.75*te,.475*ne,.75*te,.225*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.35*ne,.4*te,.2*ne,.3*te,.25*ne)),de}),go.Shape.defineFigureGenerator("Location",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,ne,!0).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.975*te,.025*ne,.5*te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*te,.5*ne,.5*te,0,.025*te,.025*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.5*te,.2*ne)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*te,.3*ne,.1*te,.1*ne).close()))}),go.Shape.defineFigureGenerator("Lock",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.5*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var pe=new go.PathFigure(.2*te,.5*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Move,.2*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*te,.3*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.3*ne,.25*te,0,.75*te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.3*ne)),de}),go.Shape.defineFigureGenerator("Unlocked",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.5*ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var pe=new go.PathFigure(.2*te,.5*ne,!1);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Move,.2*te,.5*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*te,.3*ne)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.3*ne,.25*te,0,.75*te,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.35*ne)),de}),go.Shape.defineFigureGenerator("Gear",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(.9375*te,.56246875*ne,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*te,.4375*ne)).add(new go.PathSegment(go.PathSegment.Line,.80621875*te,.4375*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.763*te,.3316875*ne,.79840625*te,.39915625*ne,.7834375*te,.3635*ne)).add(new go.PathSegment(go.PathSegment.Line,.8566875*te,.23796875*ne)).add(new go.PathSegment(go.PathSegment.Line,.76825*te,.14959375*ne)).add(new go.PathSegment(go.PathSegment.Line,.67596875*te,.24184375*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*te,.19378125*ne,.64228125*te,.2188125*ne,.603875*te,.2021875*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.0625*ne)).add(new go.PathSegment(go.PathSegment.Line,.4375*te,.0625*ne)).add(new go.PathSegment(go.PathSegment.Line,.4375*te,.19378125*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*te,.239375*ne,.39759375*te,.20190625*ne,.36053125*te,.2176875*ne)).add(new go.PathSegment(go.PathSegment.Line,.2379375*te,.14959375*ne)).add(new go.PathSegment(go.PathSegment.Line,.14953125*te,.2379375*ne)).add(new go.PathSegment(go.PathSegment.Line,.23934375*te,.3278125*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*te,.4375*ne,.21765625*te,.36059375*ne,.201875*te,.397625*ne)).add(new go.PathSegment(go.PathSegment.Line,.0625*te,.4375*ne)).add(new go.PathSegment(go.PathSegment.Line,.0625*te,.5625*ne)).add(new go.PathSegment(go.PathSegment.Line,.1938125*te,.5625*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*te,.67596875*ne,.20221875*te,.603875*ne,.21884375*te,.64228125*ne)).add(new go.PathSegment(go.PathSegment.Line,.1495625*te,.76825*ne)).add(new go.PathSegment(go.PathSegment.Line,.238*te,.8566875*ne)).add(new go.PathSegment(go.PathSegment.Line,.3316875*te,.76296875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*te,.80621875*ne,.36353125*te,.78340625*ne,.3991875*te,.79840625*ne)).add(new go.PathSegment(go.PathSegment.Line,.43753125*te,.9375*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.9375*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.80621875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*te,.760625*ne,.602375*te,.79809375*ne,.63946875*te,.78234375*ne)).add(new go.PathSegment(go.PathSegment.Line,.76828125*te,.8566875*ne)).add(new go.PathSegment(go.PathSegment.Line,.85671875*te,.76825*ne)).add(new go.PathSegment(go.PathSegment.Line,.76065625*te,.67221875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*te,.56246875*ne,.78234375*te,.63940625*ne,.798125*te,.602375*ne)).add(new go.PathSegment(go.PathSegment.Line,.9375*te,.56246875*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.5*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*te,.5*ne,.1*te,.1*ne).close()))}),go.Shape.defineFigureGenerator("Hand",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.5*ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,.3*ne,0,.375*ne,.05*te,.325*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.45*te,.075*ne,.3*te,.225*ne,.4*te,.175*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.525*te,.075*ne,.46*te,.05*ne,.525*te,.05*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.4*ne,.525*te,.275*ne,.475*te,.325*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.55*ne,te,.4*ne,te,.55*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.425*te,.55*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,.55*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.6*te,.7*ne,.675*te,.55*ne,.675*te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.575*te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.575*te,.85*ne,.65*te,.7*ne,.65*te,.85*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,.85*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.525*te,.85*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.535*te,ne,.61*te,.85*ne,.61*te,ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,.435*te,ne,0,ne).close()),de}),go.Shape.defineFigureGenerator("Map",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,.2*ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.25*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,.25*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),le.add(new go.PathSegment(go.PathSegment.Move,.25*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.25*te,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Move,.5*te,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),le.add(new go.PathSegment(go.PathSegment.Move,.75*te,0)),le.add(new go.PathSegment(go.PathSegment.Line,.75*te,.8*ne)),de}),go.Shape.defineFigureGenerator("Eject",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne*.7)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*.7).close());var pe=new go.PathFigure(0,ne*.6,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te,.6*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,0).close()),de}),go.Shape.defineFigureGenerator("Pencil",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ne).close()))}),go.Shape.defineFigureGenerator("Building",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*1,ne*1,!1);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*.85)),le.add(new go.PathSegment(go.PathSegment.Line,.046*te,ne*.85)),le.add(new go.PathSegment(go.PathSegment.Line,.046*te,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*.3)),le.add(new go.PathSegment(go.PathSegment.Line,.046*te,ne*.3)),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ne*.3)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne*.3)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ne*.85)),le.add(new go.PathSegment(go.PathSegment.Line,te,ne*.85).close());var pe=new go.PathFigure(.126*te,.85*ne,!1);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.126*te,.45*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.322*te,.45*ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.322*te,.85*ne).close());var xe=new go.PathFigure(.402*te,.85*ne,!1);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.402*te,.45*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.598*te,.45*ne)),xe.add(new go.PathSegment(go.PathSegment.Line,.598*te,.85*ne).close());var Ae=new go.PathFigure(.678*te,.85*ne,!1);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.678*te,.45*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.874*te,.45*ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,.874*te,.85*ne).close());var Me=new go.PathFigure(.5*te,.1*ne,!1);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*te,.3*ne)),Me.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*te,.3*ne).close()),de}),go.Shape.defineFigureGenerator("Staircase",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne*1,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*.8)),le.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.8)),le.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.6)),le.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.6)),le.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.4)),le.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*.4)),le.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*.2)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.2)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.15)),le.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.15)),le.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.35)),le.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.35)),le.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.55)),le.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.55)),le.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.15,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.15,ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*.95).close()),de}),go.Shape.defineFigureGenerator("5Bars",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,ne*1,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*.184,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.184,ne*(1-.184)).close());var pe=new go.PathFigure(te*.204,ne,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te*.204,ne*(1-.184))),pe.add(new go.PathSegment(go.PathSegment.Line,te*.388,ne*(1-.184*2))),pe.add(new go.PathSegment(go.PathSegment.Line,te*.388,ne*1).close());var xe=new go.PathFigure(te*.408,ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*.408,ne*(1-.184*2))),xe.add(new go.PathSegment(go.PathSegment.Line,te*.592,ne*(1-.184*3))),xe.add(new go.PathSegment(go.PathSegment.Line,te*.592,ne*1).close());var Ae=new go.PathFigure(te*.612,ne,!0);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.612,ne*(1-.184*3))),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.796,ne*(1-.184*4))),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.796,ne*1).close());var Me=new go.PathFigure(te*.816,ne,!0);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,te*.816,ne*(1-.184*4))),Me.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-.184*5))),Me.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1).close()),de}),go.Shape.defineFigureGenerator("PC",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,0).close());var pe=new go.PathFigure(te*.055,.07*ne,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.07)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.1)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.055,ne*.1).close());var xe=new go.PathFigure(te*.055,.13*ne,!0);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.13)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.16)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.055,ne*.16).close());var Ae=new go.PathFigure(te*.055,.18*ne,!0);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.18)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.21)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.055,ne*.21).close());var Me=new go.PathFigure(te*1,0,!0);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,te*.4,0)),Me.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.65)),Me.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.65).close()),de}),go.Shape.defineFigureGenerator("Plane",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(.55*te,ne,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,.7*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.1*te,.475*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.35*te,.525*ne,0,.4*ne,.225*te,.45*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.4*te,.475*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.15*te,.35*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.2*te,.325*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,.325*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.85*te,.1*ne)),le.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.2*ne,.975*te,0,te,.08*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.7*te,.45*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.6*te,.95*ne)),le.add(new go.PathSegment(go.PathSegment.Line,.55*te,ne).close()),de}),go.Shape.defineFigureGenerator("Key",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*1,ne*.5,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*.9,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,.4*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,.35*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.45,.35*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.15,.2*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.35*ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,.65*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.15,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,.8*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.45,.65*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,.65*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.6,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.65,.55*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.7,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.75,.55*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.8,.6*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.85,.575*ne)),le.add(new go.PathSegment(go.PathSegment.Line,te*.9,.6*ne).close()),le.add(new go.PathSegment(go.PathSegment.Move,.17*te,.425*ne)),le.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*te,.5*ne,.075*te,.075*ne).close()),de}),go.Shape.defineFigureGenerator("FilmTape",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(0,0,!1);de.add(le),le.add(new go.PathSegment(go.PathSegment.Arc,270,180,te*0,te*.3,te*.055)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.08,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.08,ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*1),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*1),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*2),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*2),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*3),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*3),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*4),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*4),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*5),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*5),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*6),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*6),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*7),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*7),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*8),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*8),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*9),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*9),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*10),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*10),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*11),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*11),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*12),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*12),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*13),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*13),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*14),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*14),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*15),ne*.95)),le.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*15),ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1));var pe=new go.PathFigure(0,0,!1);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*0)),pe.add(new go.PathSegment(go.PathSegment.Arc,270,-180,te*1,te*.3,te*.055)),pe.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1));var xe=new go.PathFigure(te*.11,ne*.1,!1);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*0),ne*.1)),xe.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*0),ne*.8)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.11,ne*.8).close());var Ae=new go.PathFigure(te*(.11+.24133333*1+.028*1),ne*.1,!1);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*1),ne*.1)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*1),ne*.8)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*1),ne*.8).close());var Me=new go.PathFigure(te*(.11+.24133333*2+.028*2),ne*.1,!1);return de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*3+.028*2),ne*.1)),Me.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*3+.028*2),ne*.8)),Me.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*2),ne*.8).close()),de}),go.Shape.defineFigureGenerator("FloppyDisk",function(Oe,te,ne){var de=new go.Geometry,le=8,pe=le*Ve,xe=new go.PathFigure(le,0,!1);de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*.86,0)),xe.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.14)),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne-le)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te-le,ne,te,ne-pe,te-pe,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,le,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-le,pe,ne,0,ne-pe)),xe.add(new go.PathSegment(go.PathSegment.Line,0,le)),xe.add(new go.PathSegment(go.PathSegment.Bezier,le,0,0,pe,pe,0).close());var Ae=new go.PathFigure(te*.83,0,!1);de.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.83,ne*.3)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*.3)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*0).close());var Me=new go.PathFigure(te*.83,ne*1,!1);de.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,te*.83,ne*.5)),Me.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*.5)),Me.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*1).close());var ke=new go.PathFigure(te*.78,ne*.05,!1);return de.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.05)),ke.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.25)),ke.add(new go.PathSegment(go.PathSegment.Line,te*.78,ne*.25).close()),de}),go.Shape.defineFigureGenerator("SpeechBubble",function(Oe,te,ne){var de=Oe?Oe.parameter1:NaN;(isNaN(de)||de<0)&&(de=15),de=Math.min(de,te/3),de=Math.min(de,ne/3);var le=de*Ve,pe=ne*.8,xe=new go.Geometry,Ae=new go.PathFigure(de,0,!0);return xe.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,te-de,0)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te,de,te-le,0,te,le)),Ae.add(new go.PathSegment(go.PathSegment.Line,te,pe-de)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te-de,pe,te,pe-le,te-le,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.7,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne)),Ae.add(new go.PathSegment(go.PathSegment.Line,te*.55,pe)),Ae.add(new go.PathSegment(go.PathSegment.Line,de,pe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,pe-de,le,pe,0,pe-le)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,de)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,de,0,0,le,le,0).close()),le>1?(xe.spot1=new go.Spot(0,0,le,le),xe.spot2=new go.Spot(1,.8,-le,-le)):(xe.spot1=go.Spot.TopLeft,xe.spot2=new go.Spot(1,.8)),xe}),go.Shape.defineFigureGenerator("Repeat",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*0,ne*.45,!0);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*.9)),le.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.9)),le.add(new go.PathSegment(go.PathSegment.Line,te*.65,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*.45).close());var pe=new go.PathFigure(te*1,ne*.55,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*1)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.55)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*.55)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*.1)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.1)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*0)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*.55).close()),de}),go.Shape.defineFigureGenerator("Windows",function(Oe,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close()).add(new go.PathSegment(go.PathSegment.Move,.4*te,.4*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*te,.8*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.2*te,.1*ne)).add(new go.PathSegment(go.PathSegment.Line,.2*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.1*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.1*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.1*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne).close()))}),go.Shape.defineFigureGenerator("Terminal",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*0,ne*.1,!1);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.1)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.9)),le.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*.9).close());var pe=new go.PathFigure(te*.1,ne*.2,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te*.1,ne*.25)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.22,ne*.285)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.1,ne*.32)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.1,ne*.37)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.275,ne*.32)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.275,ne*.25).close());var xe=new go.PathFigure(te*.28,ne*.37,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.37)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.41)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.28,ne*.41).close()),de}),go.Shape.defineFigureGenerator("Beaker",function(Oe,te,ne){var de=new go.Geometry,le=15,pe=le*Ve,xe=new go.PathFigure(te*.62,ne*.475,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne-le)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te-le,ne,te,ne-pe,te-pe,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,le,ne)),xe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-le,pe,ne,0,ne-pe)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.38,ne*.475)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.38,ne*.03)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*0)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*0)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.62,ne*.03).close()),pe>1?(de.spot1=new go.Spot(0,0,pe,pe),de.spot2=new go.Spot(1,1,-pe,-pe)):(de.spot1=go.Spot.TopLeft,de.spot2=go.Spot.BottomRight),de}),go.Shape.defineFigureGenerator("Download",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*0,ne*1,!0);de.add(le);var pe=.1/.3;le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*.755,ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*.93,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.61,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.39,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.07,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*(1-pe)).close());var xe=new go.PathFigure(te*.4,ne*0,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.44)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.26,ne*.44)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.66)),xe.add(new go.PathSegment(go.PathSegment.Line,te*(1-.26),ne*.44)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.44)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*0).close()),de}),go.Shape.defineFigureGenerator("Bin",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*0,ne*1,!0);de.add(le);var pe=.1/.3;return le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*.755,ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*.93,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.61,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.39,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.07,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*(1-pe)).close()),de}),go.Shape.defineFigureGenerator("Upload",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*0,ne*1,!0);de.add(le);var pe=.1/.3;le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*.755,ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*.93,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.61,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.39,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*.07,ne*(1-pe))),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*.055)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*(1-pe)).close());var xe=new go.PathFigure(te*.5,ne*0,!0);return de.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*.26,ne*.25)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.25)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.63)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.63)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.25)),xe.add(new go.PathSegment(go.PathSegment.Line,te*.74,ne*.25).close()),de}),go.Shape.defineFigureGenerator("EmptyDrink",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*.15,ne*0,!1);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*.85,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*1).close()),de}),go.Shape.defineFigureGenerator("Drink",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*.15,ne*0,!1);de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*.85,ne*0)),le.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*1).close());var pe=new go.PathFigure(te*.235,ne*.28,!0);return de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,te*.765,ne*.28)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.655,ne*.97)),pe.add(new go.PathSegment(go.PathSegment.Line,te*.345,ne*.97).close()),de}),go.Shape.defineFigureGenerator("4Arrows",function(Oe,te,ne){var de=new go.Geometry,le=new go.PathFigure(te*.5,ne*0,!0);return de.add(le),le.add(new go.PathSegment(go.PathSegment.Line,te*.65,ne*.25)),le.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.25)),le.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.35)),le.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.5)),le.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.65)),le.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.55)),le.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.55)),le.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.65,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*1)),le.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.75)),le.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.55)),le.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.55)),le.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.65)),le.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*.5)),le.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.35)),le.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.45)),le.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.25)),le.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.25).close()),de}),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")},80727: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 tn={},jn="5.0",Pe={},ue=null,it=!1,Mt=!1,kt=null,Dt=!1,Wt=null,Ve=null,bt=0;bt4?parseFloat(on):5};tn.setHTML5Codebase=function(on,xn){Ve=on,yn(on,xn)},tn.setJavaCodebase=tn.setJavaCodebaseVersion=tn.isCompiledInstalled=tn.setPreCompiledScriptPath=tn.setPreCompiledResourcePath=function(){},tn.setHTML5CodebaseVersion=function(on,xn){var Dn=parseFloat(on);if(Dn!==NaN&&Dn<5){console.log("The GeoGebra HTML5 codebase version "+Dn+" is deprecated. Using version latest instead.");return}Wt=on,ze(on,xn)},tn.getHTML5CodebaseVersion=function(){return Oe},tn.getParameters=function(){return Pe},tn.setFontsCSSURL=function(on){xe=on},tn.setGiacJSURL=function(on){},tn.setJNLPFile=function(on){pt=on},tn.setJNLPBaseDir=function(on){},tn.inject=function(){function on(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var xn="auto",Dn=Pe.id,yi,qn=!1,Mi=0;Mi=5)return!0;var on=tn.getAppletObject();return on&&typeof on.recalculateEnvironments=="function"?(on.recalculateEnvironments(),!0):!1},tn.startAnimation=function(){var on=tn.getAppletObject();return on&&typeof on.startAnimation=="function"?(on.startAnimation(),!0):!1},tn.stopAnimation=function(){var on=tn.getAppletObject();return on&&typeof on.stopAnimation=="function"?(on.stopAnimation(),!0):!1},tn.getAppletObject=function(){var on=Pe.id!==void 0?Pe.id:"ggbApplet";return window[on]},tn.resize=function(){};var Ot=function(on,xn,Dn){var yi=document.createElement("param");yi.setAttribute("name",xn),yi.setAttribute("value",Dn),on.appendChild(yi)},xt=function(on){return on&&on!=="false"},Nt=function(on,xn,Dn){Me(Oe)<=4.2&&(Dn=!0);var yi=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Oe||ggbHTML5LoadedCodebaseIsWebSimple&&!ne)&&(yi=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qn=document.createElement("div");qn.classList.add("appletParameters","notranslate");var Mi=xn.width,mt=xn.height;if(xn.disableAutoScale=xn.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():xn.disableAutoScale,xn.width!==void 0)if(Me(Oe)<=4.4)xt(xn.showToolBar)&&(xn.height-=7),xt(xn.showAlgebraInput)&&(xn.height-=37),xn.width<605&&xt(xn.showToolBar)&&(xn.width=605,Mi=605);else{var ht=100;(xt(xn.showToolBar)||xt(xn.showMenuBar))&&(xn.hasOwnProperty("customToolBar")&&(xn.customToolbar=xn.customToolBar),ht=xt(xn.showMenuBar)?245:155),Mi=5?(xn.appletOnLoad=function(Ee){var Te=on.querySelector(".ggb_preview");Te&&Te.parentNode.removeChild(Te),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(En),window.GGBT_wsf_view&&$(window).trigger("resize"),jt(Ee)},Fn||En.appendChild(ri)):qn.appendChild(ri),En.appendChild(qn),Fn||on.appendChild(En),setTimeout(function(){tn.resize()},1)}else{var ni=document.createElement("div");ni.className="applet_scaler",ni.style.position="relative",ni.style.display="block",ni.appendChild(qn),on.appendChild(ni),xn.appletOnLoad=function(Ee){tn.resize(),jt(Ee)}}function mn(Ee,Te){Te&&typeof Te.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ee,Te.appletOnLoad):renderGGBElement(Ee),Xn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Te)}function zt(Ee,Te){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ee,params:Te}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Ue){mn(Ue.article,Ue.params)}),html5AppletsToProcess=null)},Me(Oe)<5&&(Ee.className+=" geogebraweb")):mn(Ee,Te)}if(yi){scriptLoadStarted=!0;for(var $e=0;$e0?(gn.remove(),En.attr("id","fullscreencontent").show(),jQuery(jt).append(En),window.dispatchEvent(new Event("resize"))):Nt(gn,xn,!1),window.GGBT_wsf_view.launchFullScreen(jt)}else Zt=yi,Nt(on,xn,!1);if(!window.GGBT_wsf_view)for(mt=0;mton/4*3&&(gn=on/4*3),jt=gn/5.8,ht.setAttribute("src",le),ht.setAttribute("width",gn),ht.setAttribute("height",jt);var En=(on-gn)/2,Fn=(xn-jt)/2;ht.style.left=En+"px",ht.style.top=Fn+"px",qn.appendChild(ht)}}return qn.appendChild(mt),qn},ci=function(on){return on=on.toLowerCase(),on==="html5"||on==="screenshot"?on:"html5"},et=["web","webSimple","web3d","tablet","tablet3d","phone"],ze=function(on,xn){if(Oe=on,xn){yn(Oe,!0);return}var Dn=!it;if(Dn){var yi=Me(Oe);!isNaN(yi)&&yi<4.4&&(Dn=!1)}var qn,Mi;window.location.protocol.substr(0,4)==="http"?qn=window.location.protocol:qn="http:";var mt=Oe.indexOf("//");mt>0?Mi=Oe:mt===0?Mi=qn+Oe:Mi="https://www.geogebra.org/apps/5.2.814.0/";for(var ht in et)if(Oe.slice(et[ht].length*-1)===et[ht]||Oe.slice((et[ht].length+1)*-1)===et[ht]+"/"){yn(Mi,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Dn&&!ue.is3D&&!ue.AV&&!ue.SV&&!ue.CV&&!ue.EV2&&!ue.CP&&!ue.PC&&!ue.DA&&!ue.FI&&!ue.PV&&!xt(Pe.showToolBar)&&!xt(Pe.showMenuBar)&&!xt(Pe.showAlgebraInput)&&!xt(Pe.enableRightClick)&&(!Pe.appName||Pe.appName=="classic")?Mi+="webSimple/":Mi+="web3d/",yn(Mi,!1)},yn=function(on,xn){if(on.requirejs){St=on;return}on.slice(-1)!=="/"&&(on+="/"),St=on,xn===null&&(xn=on.indexOf("http")===-1),Ut=xn,te="web.nocache.js",ne=!1;var Dn=St.split("/");Dn.length>1&&(!xn&&Dn[Dn.length-2]==="webSimple"?(te="webSimple.nocache.js",ne=!0):et.indexOf(Dn[Dn.length-2])>=0&&(te=Dn[Dn.length-2]+".nocache.js")),Dn=on.split("/"),Oe=Dn[Dn.length-3],Oe.substr(0,4)==="test"?Oe=Oe.substr(4,1)+"."+Oe.substr(5,1):(Oe.substr(0,3)==="war"||Oe.substr(0,4)==="beta")&&(Oe="5.0");var yi=parseFloat(Oe);yi!==NaN&&yi<5&&on.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+yi+" is deprecated. Using version latest instead."),ze("5.0",xn))},Xn=function(on,xn){window.console&&window.console.log&&(!xn||typeof xn.showLogging=="undefined"||xn.showLogging&&xn.showLogging!=="false")&&console.log(on)};Pe.material_id!==void 0?dt(ei):ei();function ei(){var on=jn;Wt!==null?on=Wt:parseFloat(on)<5&&(on="5.0"),ze(on,!1),Ve!==null&&yn(Ve,Ut),Dt=!0}return tn},GGBAppletUtils=function(){"use strict";function tn(){return window.GGBT_wsf_edit!==void 0}function jn(Dt,Wt){Wt!=1?(Dt.style.transformOrigin="0% 0% 0px",Dt.style.webkitTransformOrigin="0% 0% 0px",Dt.style.transform="scale("+Wt+","+Wt+")",Dt.style.webkitTransform="scale("+Wt+","+Wt+")",Dt.style.maxWidth="initial",Dt.querySelector(".ggb_preview")!==null&&(Dt.querySelector(".ggb_preview").style.maxWidth="initial"),Dt.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Dt.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Dt.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Dt.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Dt.style.transform="none",Dt.style.webkitTransform="none")}function Pe(Dt,Wt,Ve,bt,wt,pt){var St=null;if(pt!=null&&pt!="")for(var Ut=Dt.parentNode;Ut!=null;)if((" "+Ut.className+" ").indexOf(" "+pt+" ")>-1){St=Ut;break}else Ut=Ut.parentNode;var Zt=0,Oe=0,te=0,ne=0,de=0,le=0,pe=0;if(St)Zt=St.offsetWidth,Oe=Math.max(bt?St.offsetWidth:0,St.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Zt=Math.min(window.innerWidth,document.documentElement.clientWidth),Oe=Math.min(window.innerHeight,document.documentElement.clientHeight),te=Zt):(Zt=window.innerWidth,Oe=window.innerHeight,te=window.innerWidth),Dt){var xe=Dt.getBoundingClientRect();xe.left>0&&xe.left<=Zt&&(wt===void 0||!wt)&&(document.dir==="rtl"?(de=Zt-xe.width-xe.left,le=te<=480?10:30):(le=xe.left,de=te<=480?10:30),ne=le+de)}if(Dt&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Ae=Dt.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ne=40,pe=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ne=0,pe=40)}}return Dt&&((Ve===void 0||!Ve)&&Wt>0&&Wt+ne1&&(pt=!0)),Wt&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(pt=!0),!(Dt.hasOwnProperty("disableAutoScale")&&Dt.disableAutoScale))wt=ue(Dt,Wt,pt,Ve,Dt.scaleContainerClass);else return bt;return pt&&(!Dt.hasOwnProperty("scale")||bt===1)?wt:Math.min(bt,wt)}function Mt(Dt){var Wt=Math.min(window.innerWidth,document.documentElement.clientWidth),Ve=Math.min(window.innerHeight,document.documentElement.clientHeight),bt=Dt.getBoundingClientRect(),wt=(Wt-bt.width)/2,pt=(Ve-bt.height)/2;pt<0&&(pt=0),Dt.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(wt<40?Dt.style.left="40px":Dt.style.left=wt+"px",Dt.style.top=pt+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(pt<40?Dt.style.top="40px":Dt.style.top=pt+"px",Dt.style.left=wt+"px")}function kt(Dt,Wt){var Ve=Dt.querySelector(".appletParameters");if(Ve){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Wt.id!==Ve.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Dt)}if(Ve.parentElement&&/fullscreen/.test(Ve.parentElement.className))return;var bt=it(Wt,Dt);tn()&&Ve.setAttribute("data-param-scale",bt);for(var wt=null,pt=0;pt=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(tn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(tn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(tn){var jn=c[tn];return jn==null?null:jn},r=d,webModule.__errFn=e}function B(){function tn(Dt){var Wt=Dt.lastIndexOf(rb);Wt==-1&&(Wt=Dt.length);var Ve=Dt.indexOf(sb);Ve==-1&&(Ve=Dt.length);var bt=Dt.lastIndexOf(tb,Math.min(Ve,Wt));return bt>=O?Dt.substring(O,bt+P):W}function jn(Dt){if(!Dt.match(/^\w+:\/\//)){var Wt=o.createElement(ub);Wt.src=Dt+vb,Dt=tn(Wt.src)}return Dt}function Pe(){var Dt=__gwt_getMetaProperty(wb);return Dt!=null?Dt:W}function ue(){for(var Dt=o.getElementsByTagName(_),Wt=O;WtO?Dt[Dt.length-P].href:W}function Mt(){var Dt=o.location;return Dt.href==Dt.protocol+zb+Dt.host+Dt.pathname+Dt.search+Dt.hash}var kt=Pe();return kt==W&&(kt=ue()),kt==W&&(kt=it()),kt==W&&Mt()&&(kt=tn(o.location.href)),kt=jn(kt),kt}function C(tn){return tn.match(/^\//)||tn.match(/^[a-zA-Z]+:\/\//)?tn:webModule.__moduleBase+tn}function D(){var tn=[],jn=O,Pe=[],ue=[];function it(Dt){var Wt=ue[Dt](),Ve=Pe[Dt];if(Wt in Ve)return Wt;var bt=[];for(var wt in Ve)bt[Ve[wt]]=wt;throw r&&r(Dt,bt,Wt),null}if(__gwt_isKnownPropertyValue=function(Dt,Wt){return Wt in Pe[Dt]},webModule.__getPropMap=function(){var Dt={};for(var Wt in Pe)Pe.hasOwnProperty(Wt)&&(Dt[Wt]=it(Wt));return Dt},webModule.__computePropValue=it,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Mt;try{Mt=Cb;var kt=Mt.indexOf(Db);kt!=-1&&(jn=parseInt(Mt.substring(kt+P),$),Mt=Mt.substring(O,kt))}catch(Dt){}return webModule.__softPermutationId=jn,C(Mt+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},36045:function(tn,jn,Pe){"use strict";Pe.d(jn,{G0:function(){return ni},JW:function(){return ei},Jd:function(){return kn},Kl:function(){return on},L5:function(){return te},MH:function(){return yn},MI:function(){return ht},Qo:function(){return ke},SO:function(){return Oe},Tf:function(){return pe},VT:function(){return Jt},XO:function(){return Ut},Xy:function(){return Ae},Y0:function(){return Ot},Ye:function(){return Fn},Yv:function(){return mt},ZH:function(){return yi},am:function(){return hi},bD:function(){return gn},eA:function(){return Me},fA:function(){return Dn},fY:function(){return dt},g6:function(){return Zt},g7:function(){return jt},gT:function(){return yt},gn:function(){return qn},h$:function(){return Mi},hG:function(){return xe},i8:function(){return xn},j3:function(){return Xn},lH:function(){return et},li:function(){return ne},n4:function(){return de},pU:function(){return xt},qK:function(){return le},sA:function(){return Nt},sP:function(){return ze},t$:function(){return ci},wj:function(){return ri},zl:function(){return lt}});var ue=Pe(99064),it=Pe(955),Mt=Object.defineProperty,kt=Object.getOwnPropertySymbols,Dt=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable,Ve=(mn,zt,$e)=>zt in mn?Mt(mn,zt,{enumerable:!0,configurable:!0,writable:!0,value:$e}):mn[zt]=$e,bt=(mn,zt)=>{for(var $e in zt||(zt={}))Dt.call(zt,$e)&&Ve(mn,$e,zt[$e]);if(kt)for(var $e of kt(zt))Wt.call(zt,$e)&&Ve(mn,$e,zt[$e]);return mn},wt=(mn,zt,$e)=>new Promise((At,Yt)=>{var Ie=Te=>{try{Ee($e.next(Te))}catch(Ue){Yt(Ue)}},Ce=Te=>{try{Ee($e.throw(Te))}catch(Ue){Yt(Ue)}},Ee=Te=>Te.done?At(Te.value):Promise.resolve(Te.value).then(Ie,Ce);Ee(($e=$e.apply(mn,zt)).next())});const pt=(0,it.oP)(),St={};pt!=null&&pt.homework_common_id&&(St.homework_common_id=pt==null?void 0:pt.homework_common_id),pt!=null&&pt.exercisesId&&(St.exercise_id=pt==null?void 0:pt.exercisesId),console.log(pt,St,"urlParamsAll");function Ut(mn,zt){return(0,ue.U2)(`tasks/${mn}.json`,bt(bt({},zt),St))}function Zt(mn,zt={}){return(0,ue.U2)(`myshixuns/${mn}/challenges.json`,bt({},zt))}function Oe(mn,zt){return(0,ue.U2)(`myshixuns/${mn}/subject_challenges.json`,zt)}function te(mn,zt,$e){return(0,ue.U2)(`tasks/${mn}/star.json`,{shixun_id:zt,star:$e})}function ne(mn,zt){return zt.path&&(zt.path=encodeURIComponent(zt.path)),(0,ue.U2)(`tasks/${mn}/rep_content.json`,bt(bt({},zt),St))}function de(mn,zt){return(0,ue.v_)(`myshixuns/${mn}/update_file.json`,bt(bt({},zt),St))}function le(mn,zt){return(0,ue.U2)(`tasks/${mn}/reset_original_code.json`,bt(bt({},zt),St))}function pe(mn,zt){return(0,ue.v_)(`myshixuns/${mn}/reset_repository.json`,zt)}function xe(mn,zt){return(0,ue.U2)(`tasks/${mn}/reset_passed_code.json`,bt(bt({},zt),St))}function Ae(mn,zt){return(0,ue.v_)(`tasks/${mn}/game_build.json`,bt(bt({},zt),St))}function Me(mn){return(0,ue.ZP)("http://localhost:49352/api/game_build",{method:"post",body:mn})}function ke(mn,zt){return(0,ue.U2)(`tasks/${mn}/game_status.json`,bt(bt({},zt),St))}function lt(mn,zt){return(0,ue.v_)(`tasks/${mn}/choose_build.json`,bt(bt({},zt),St))}function dt(mn){return(0,ue.U2)(`myshixuns/${mn}/get_remaining_time.json`)}function yt(mn){return(0,ue.U2)(`tasks/${mn}/picture_display.json`,St)}function ut(mn,zt){return get(`courses/${mn}/inform_detail.json`,zt)}function Ot(mn){return(0,ue.v_)(`tasks/${mn}/plus_or_cancel_praise.json`)}function xt(mn,zt={}){return(0,ue.v_)(`myshixuns/${mn}/repository.json`,zt)}function Nt(mn,zt={}){return(0,ue.U2)(`myshixuns/${mn}/start.json`,zt)}function Jt(mn,zt={}){return(0,ue.v_)(`myshixuns/${mn}/force_delete_pod.json`,zt)}function vn(mn,zt={}){return get(`myshixuns/${mn}/set_tpisession.json`,zt)}function Ai(mn){return get(`myshixuns/${mn}/reset_pod.json`)}function hi(mn,zt){return(0,ue.U2)(`myshixuns/${mn}/reset_pod.json`,zt)}function kn(mn,zt){return(0,ue.ZP)(`/api/tasks/${mn}/reboot_esc.json`,{method:"post",body:zt})}function ci(mn){return(0,ue.U2)(`tasks/${mn}/check_test_sets.json`)}function et(mn){return(0,ue.U2)(`tasks/${mn}/get_answer_info.json`)}function ze(mn){return(0,ue.U2)(`tasks/${mn}/get_choose_answer.json`)}function yn(mn){return(0,ue.U2)(`tasks/${mn}/unlock_choose_answer.json`)}function Xn(mn,zt){return(0,ue.U2)(`tasks/${mn}/unlock_answer.json`,{answer_id:zt})}function ei(mn,zt,$e,At){return(0,ue.v_)(`tasks/${mn}/set_games_status.json`,bt({result:zt,data:$e},At||{}))}function on(mn,zt){return(0,ue.U2)(`myshixuns/${mn}/active_pod.json`,zt)}function xn(mn,zt){return(0,ue.U2)(`tasks/${mn}/rank_list.json`,zt)}function Dn(mn,zt){return(0,ue.v_)(`tasks/${mn}/close_windows_vnc.json`,{tpi_id:zt})}function yi(mn,zt){return(0,ue.U2)(`tasks/${mn}/commit_files.json`,zt)}function qn(mn,zt){return(0,ue.U2)(`tasks/${mn}/pull_files.json`,zt)}function Mi(mn,zt){return(0,ue.v_)(`tasks/${mn}/log_output`,zt)}function mt(mn,zt){return(0,ue.U2)(`tasks/${mn}/stop_log_output.json`,zt)}function ht(mn){return wt(this,null,function*(){return(0,ue.ZP)(`/api/myshixuns/${mn.id}/add_file.json`,{method:"post",body:mn})})}function gn(mn){return wt(this,null,function*(){return(0,ue.ZP)(`/api/myshixuns/${mn.id}/delete_git_file.json`,{method:"Delete",body:mn})})}function jt(mn){return wt(this,null,function*(){return(0,ue.ZP)(`/api/myshixuns/${mn.id}/mv_file.json`,{method:"post",body:mn})})}function En(mn){return wt(this,null,function*(){return mn.path&&(mn.path=encodeURIComponent(mn.path)),Fetch(`/api/tasks/${mn.id}/rep_content.json`,{method:"get",params:mn})})}function Fn(mn,zt){return(0,ue.ZP)(`/api/shixuns/${mn}/set_start_permanent.json`,{method:"put",body:zt})}function ri(mn){return wt(this,null,function*(){return(0,ue.ZP)("/api/myshixuns/wuying_record.json",{method:"get",params:mn})})}function ni(mn){return wt(this,null,function*(){return(0,ue.ZP)("/api/jupyters/save_with_wuying_tpi.json",{method:"Get",params:mn})})}},77903:function(tn,jn,Pe){"use strict";Pe.d(jn,{Ax:function(){return kt},Ds:function(){return Dt},KI:function(){return Ve},SI:function(){return Mt},f1:function(){return it}});var ue=Pe(3294);function it(bt){let wt=!0;if(bt.length>0){for(let pt=0;ptne in te?Mt(te,ne,{enumerable:!0,configurable:!0,writable:!0,value:de}):te[ne]=de,pt=(te,ne)=>{for(var de in ne||(ne={}))Ve.call(ne,de)&&wt(te,de,ne[de]);if(Wt)for(var de of Wt(ne))bt.call(ne,de)&&wt(te,de,ne[de]);return te},St=(te,ne)=>kt(te,Dt(ne)),Ut=(te,ne)=>{var de={};for(var le in te)Ve.call(te,le)&&ne.indexOf(le)<0&&(de[le]=te[le]);if(te!=null&&Wt)for(var le of Wt(te))ne.indexOf(le)<0&&bt.call(te,le)&&(de[le]=te[le]);return de},Zt=(te,ne,de)=>new Promise((le,pe)=>{var xe=ke=>{try{Me(de.next(ke))}catch(lt){pe(lt)}},Ae=ke=>{try{Me(de.throw(ke))}catch(lt){pe(lt)}},Me=ke=>ke.done?le(ke.value):Promise.resolve(ke.value).then(xe,Ae);Me((de=de.apply(te,ne)).next())});const Oe=te=>{var ne=te,{children:de}=ne,le=Ut(ne,["children"]);const[pe,xe]=(0,it.useState)(!1);return it.createElement(ue.ZP,St(pt({},le),{loading:pe,onClick:Ae=>Zt(void 0,null,function*(){try{xe(!0),yield le.onClick(Ae),xe(!1)}catch(Me){console.error(Me),xe(!1)}})}),de)}},927:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return bt}});var ue=Pe(59301),it=Pe(89070),Mt=Pe(43418),kt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAACE5JREFUWAmtWH1snVUZ/533tuvYVreyjGy3Y6srTBo2srI4XbtKgFQxIrKYzeAfk8AfCzHbCkPMjPjBP0aCsjr1D01USCQ6oosyiLF8xMGqc2BHauUj1I2Ntghs7dqytuu99/j7nfOee9/73js+jKd53+d5n3Oe5/zO8zznOafX4EO2ta/bhqlJfM4adFJ1hQWyxiIrM5QNG2CY7EnKei5agMf7V5pR9X3QRv0P1pr77WaO3AGLDoKokZYlY2hBtFqLDHLse9ZE2De41hyoNiYte19AzX22nfPdT8NtnJr6UgkIAl/dTLKXwHupeM9gqzmcBpH8rm6JI7ZYm3nhBfyAQHYlFcr4NL6yTn4kEamPxkxkutevx+5Hjcmnh+u7KqB1fXbR+Az2U195UmyWnjH8E1ULvGgsKDlRghTg8MnhPQvrsPVYqxnziqV3BSCBGZuUe21LMUGUKGx6F42K14rZJ6oWeFG19+w3eGnhPLSlQUVOM34pTGfHsR95tCBPozlOFCh5q++YOj7uqyfUxhqDbAYQjxzB8JFuoJ739qRrZ22L5tKcSQx+KbFk1VN2b8Fa5ky8QvojhEVDAh9C1DAH2NYIdFwMNM3TCIsT5wwOnbH45SlgIufDG8arv+RnsQb0SPe/rzdd0lYrAmr+s23PWzznxdXfyRzK1gEPrgU+cbHBa5MWr07KmsHq+RaXLTAYGAe29wFDMyVb6RC62YmxJjKbBj/td5+rJ1LJzeL+ihWUbHkuzpe5GYM9lwsM8MSbwLcGDMZmqc1cWlhrsOsyi20rgT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uZxgxIl9oPq5ewCOVzaSFl0WPGd+gUMwEh/sPK8A+rl250qq3R+LgDUiN2a2Mzwsv8GJP6sjMp5xuna6LSGzXzL8HvQjBpp3n5Up9MjJf+B5WVB7lfjXHfAAAAAElFTkSuQmCC",Wt={tilte:"tilte___IfiMG",flexRow:"flexRow___pQP78",flexColumn:"flexColumn___xrBZQ",footerWrap:"footerWrap___C5kCC",img:"img___GoWZu",content:"content___pumTK",modalContent:"modalContent___XvHiZ"};const Ve=({visible:wt,occupationValue:pt,onCancel:St=()=>{}})=>{const Ut=()=>ue.createElement("div",{className:Wt.flexColumn},ue.createElement("img",{className:Wt.img,src:Dt}),ue.createElement("span",{className:Wt.content},"\u672A\u804C\u4E1A\u8BA4\u8BC1")),Zt=()=>ue.createElement("div",{className:Wt.flexColumn},ue.createElement("img",{className:Wt.img,src:kt}),ue.createElement("span",{className:Wt.content},"\u672A\u5B9E\u540D\u8BA4\u8BC1")),Oe=()=>pt===3?ue.createElement(ue.Fragment,null,Zt(),Ut()):pt===2?Ut():Zt();return ue.createElement(Mt.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:wt,title:"\u56E0\u4E3A\u4EE5\u4E0B\u539F\u56E0\uFF0C\u60A8\u6682\u65F6\u4E0D\u80FD\u8FDB\u884C\u64CD\u4F5C",okText:"\u7ACB\u5373\u8BA4\u8BC1",cancelText:"\u53D6\u6D88",width:"600px",onOk:()=>{St(),it.history.push("/account/certification")},onCancel:()=>{St()}},ue.createElement("div",{className:Wt.tilte},"\u8BF7\u5728\u5B8C\u6210\u6761\u4EF6\u540E\u91CD\u8BD5"),ue.createElement("div",{className:Wt.flexRow},Oe()))};var bt=(0,it.connect)(({paperlibrary:wt,loading:pt,globalSetting:St})=>({paperlibrary:wt,globalSetting:St,loading:pt.effects}))(Ve)},9165:function(tn,jn,Pe){"use strict";Pe.d(jn,{t:function(){return Ut}});var ue=Pe(59301),it=Pe(3113),Mt={buttonFixed:"buttonFixed___vyq30",button:"button___hxmYv",buttonWrap:"buttonWrap___uK8dl"},kt=Pe(92310),Dt=Pe.n(kt),Wt=Object.defineProperty,Ve=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,pt=(Zt,Oe,te)=>Oe in Zt?Wt(Zt,Oe,{enumerable:!0,configurable:!0,writable:!0,value:te}):Zt[Oe]=te,St=(Zt,Oe)=>{for(var te in Oe||(Oe={}))bt.call(Oe,te)&&pt(Zt,te,Oe[te]);if(Ve)for(var te of Ve(Oe))wt.call(Oe,te)&&pt(Zt,te,Oe[te]);return Zt};const Ut=({cancelText:Zt="\u53D6\u6D88",okText:Oe="\u786E\u5B9A",loading:te=!1,hasOkBtn:ne=!0,hasCancelBtn:de=!0,okButtonProps:le={},onCancel:pe=()=>{},onOk:xe=()=>{},className:Ae=""})=>ue.createElement("div",{className:Dt()(Mt.buttonFixed,Ae)},ue.createElement("div",{className:Mt.buttonWrap},de&&ue.createElement(it.ZP,{size:"middle",className:`${Mt.button} mr20`,onClick:pe},Zt),ne&&ue.createElement(it.ZP,St({size:"middle",type:"primary",className:`${Mt.button} mr20`,loading:te,onClick:xe},le),Oe)))},63454:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Me}});var ue=Pe(59301),it=Pe(89070),Mt=Pe(43418),kt=Pe(8591),Dt=Pe(92832),Wt=Pe(24905),Ve=Pe(1),bt=Pe(927),wt=Pe(955),pt=Pe(3113),St=Pe(87169),Ut={bottom:"bottom___z0ujX",yes:"yes___hodnN",no:"no___hiPz5"},Zt=Pe(32637),Oe=Pe(59301);const te=({classroomList:ke,dispatch:lt,user:dt})=>Oe.createElement(Mt.default,{open:ke.actionTabs.key==="\u5230\u671F\u63D0\u793A",width:464,centered:!0,title:Oe.createElement("span",null,Oe.createElement(St.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u63D0\u793A"),onCancel:()=>{lt({type:"classroomList/setActionTabs",payload:{key:""}})},footer:null},Oe.createElement("div",{style:{textAlign:"center",marginBottom:30}},Oe.createElement("div",{style:{marginBottom:20,textAlign:"left"}},"\u8BE5\u6559\u5B66\u8BFE\u5802\u7684\u8BD5\u7528\u5DF2\u5230\u671F\uFF0C\u76EE\u524D\u65E0\u6CD5\u652F\u6301",Oe.createElement("span",{style:{color:"#FF9D18"}},"\u8D85\u8FC750"),"\u4EBA\u7684\u6559\u5B66\u6D3B\u52A8\u3002\u5982\u6709\u4EFB\u4F55\u7591\u95EE\uFF0C\u8BF7\u968F\u65F6\u8054\u7CFB\u6211\u4EEC\u3002\u611F\u8C22\u60A8\u7684\u7406\u89E3\u4E0E\u652F\u6301\uFF01"),Oe.createElement("img",{style:{width:130,height:130},src:Zt})),Oe.createElement("div",{className:Ut.bottom},Oe.createElement(pt.ZP,{className:Ut.yes,onClick:()=>{lt({type:"classroomList/setActionTabs",payload:{key:""}})}},"\u6211\u77E5\u9053\u4E86")));var ne=(0,it.connect)(({classroomList:ke,user:lt})=>({classroomList:ke,user:lt}))(te),de=Pe(99064),le=Pe(59301),pe=(ke,lt,dt)=>new Promise((yt,ut)=>{var Ot=Jt=>{try{Nt(dt.next(Jt))}catch(vn){ut(vn)}},xt=Jt=>{try{Nt(dt.throw(Jt))}catch(vn){ut(vn)}},Nt=Jt=>Jt.done?yt(Jt.value):Promise.resolve(Jt.value).then(Ot,xt);Nt((dt=dt.apply(ke,lt)).next())}),xe=(ke=>(ke[ke.Professor=1]="Professor",ke[ke.AssistantProfessor=2]="AssistantProfessor",ke[ke.Student=3]="Student",ke))(xe||{});const Ae=({visible:ke,user:lt,account:dt,onCancel:yt=()=>{},dispatch:ut})=>{const[Ot,xt]=(0,ue.useState)(),[Nt,Jt]=(0,ue.useState)([]),[vn,Ai]=(0,ue.useState)(!1),[hi,kn]=(0,ue.useState)(!1),[ci,et]=(0,ue.useState)(),[ze,yn]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{var xn,Dn;(xn=lt==null?void 0:lt.userInfo)!=null&&xn.identity&&Jt([((Dn=lt==null?void 0:lt.userInfo)==null?void 0:Dn.identity)==="student"?3:1])},[lt]);const Xn=xn=>{const Dn=()=>{window.location.href=(xn==null?void 0:xn.jump_url)||`/classrooms/${xn==null?void 0:xn.course_id}/students`};if(Nt.includes(1)){Mt.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:le.createElement("div",{className:"tc"},(xn==null?void 0:xn.message)||"\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838"),onOk:()=>{Dn()}});return}Dn()},ei=()=>pe(void 0,null,function*(){if(!Ot){kt.ZP.info("\u9080\u8BF7\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}let xn=yield(0,de.ZP)("/api/courses/get_pro_info.json",{method:"get",params:{invite_code:Ot}});if(xn!=null&&xn.need_pro_auth&&!Nt.includes(1)&&!Nt.includes(2)){ut({type:"account/setActionTabs",payload:{key:"Account-ProfessionalAuth",code:Ot,checkedList:Nt}}),on();return}Ai(!0);const Dn=yield(0,Ve.cR)({invite_code:Ot,professor:Nt.includes(1)?1:null,assistant_professor:Nt.includes(2)?1:null,student:Nt.includes(3)?1:null});if(Ai(!1),(Dn==null?void 0:Dn.status)===-4&&(yt(),ut({type:"classroomList/setActionTabs",payload:{key:"\u5230\u671F\u63D0\u793A"}})),(Dn==null?void 0:Dn.status)===-12&&kt.ZP.warning(Dn==null?void 0:Dn.message),(Dn==null?void 0:Dn.status)===-2){if(on(),Dn.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u8BA4\u8BC1"){kn(!0),et(1);return}if(Dn.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u804C\u4E1A\u8BA4\u8BC1"){kn(!0),et(2);return}if(Dn.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u548C\u804C\u4E1A\u8BA4\u8BC1"){kn(!0),et(3);return}}if((Dn==null?void 0:Dn.status)===0){(0,wt.L9)(["\u6559\u5B66\u8BFE\u5802","\u9996\u9875","\u52A0\u5165\u8BFE\u5802"]),on(),Dn!=null&&Dn.course_id?Xn(Dn):kt.ZP.success(Dn.message);return}}),on=()=>pe(void 0,null,function*(){yt()});return le.createElement(le.Fragment,null,le.createElement(Mt.default,{centered:!0,keyboard:!1,closable:!1,title:"\u52A0\u5165\u8BFE\u5802",open:ke,confirmLoading:vn,onOk:ei,onCancel:on},le.createElement("div",{className:"tc"},le.createElement("div",null,le.createElement("span",null,"\u8BFE\u5802\u9080\u8BF7\u7801\uFF1A"),le.createElement(Dt.default,{placeholder:"\u8BF7\u8F93\u51655\u4F4D\u8BFE\u5802\u9080\u8BF7\u7801\u62166\u4F4D\u5206\u73ED\u9080\u8BF7\u7801",style:{width:270},value:Ot,onChange:xn=>{if(xn.target.value.length>=7){kt.ZP.info("\u8BF7\u8F93\u51655\u4F4D\u8BFE\u5802\u9080\u8BF7\u7801\u62166\u4F4D\u5206\u73ED\u9080\u8BF7\u7801\uFF01");return}xt(xn.target.value)}})),le.createElement("div",{className:"mt10 font14"},le.createElement("span",null,"\u8EAB\u4EFD\uFF1A"),le.createElement(Wt.default.Group,{value:Nt,onChange:xn=>Jt(xn)},le.createElement(Wt.default,{value:1,disabled:Nt.includes(2)},"\u6559\u5E08"),le.createElement(Wt.default,{value:2,disabled:Nt.includes(1)},"\u52A9\u6559"),le.createElement(Wt.default,{value:3},"\u5B66\u751F/\u53C2\u8D5B\u8005"))))),le.createElement(ne,null),le.createElement(bt.Z,{visible:hi,onCancel:()=>kn(!1),occupationValue:ci}))};var Me=(0,it.connect)(({user:ke,account:lt})=>({user:ke,account:lt}))(Ae)},61682:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Di},g:function(){return br}});var ue=Pe(59301),it=Pe(89070),Mt=Pe(44e3),kt=Pe(92832),Dt=Pe(43418),Wt={flex_box_center:"flex_box_center___et8xE",flex_space_between:"flex_space_between___GBGuw",flex_box_vertical_center:"flex_box_vertical_center____6P1q",flex_box_center_end:"flex_box_center_end___whXw6",flex_box_column:"flex_box_column___mWgI_",header:"header___Wn4fJ",logo:"logo___QnotM",menu:"menu___twLGR",dropDown:"dropDown___Cwaoa",line:"line___D1auu",subName:"subName___gql7K",name:"name___dR5V2",actived:"actived___ohMks","edu-menu":"edu-menu___iWLK0",newslight:"newslight___lSZjL",classromediv:"classromediv___knFRv",glow:"glow___gzrPH",spandiv:"spandiv___Gm_hg","header-iearning":"header-iearning___LZfyg",title:"title___Ozzjk",headerFixed:"headerFixed___QLwBd"},Ve=Pe(8591),bt=Pe(95237),wt=Pe(43604),pt=Pe(20834),St=Pe(38854),Ut=Pe(5112),Zt=Pe(1),Oe=Pe(955),te=(Cn,Kn,Lt)=>new Promise((Ft,un)=>{var Sr=si=>{try{Ri(Lt.next(si))}catch(Ti){un(Ti)}},Ii=si=>{try{Ri(Lt.throw(si))}catch(Ti){un(Ti)}},Ri=si=>si.done?Ft(si.value):Promise.resolve(si.value).then(Sr,Ii);Ri((Lt=Lt.apply(Cn,Kn)).next())}),ne=(Cn=>(Cn.Manager="manager",Cn.Developer="developer",Cn.Reporter="reporter",Cn))(ne||{}),le=({visible:Cn,onCancel:Kn=()=>{}})=>{const[Lt,Ft]=(0,ue.useState)(),[un,Sr]=(0,ue.useState)(),[Ii,Ri]=(0,ue.useState)(!1),si=()=>te(void 0,null,function*(){if(!Lt){Ve.ZP.info("\u8BF7\u8F93\u5165\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}if(Lt.length!==6){Ve.ZP.info("\u8BF7\u8F93\u51656\u4F4D\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}if(!un){Ve.ZP.info("\u8BF7\u9009\u62E9\u4E00\u4E2A\u8EAB\u4EFD\uFF01");return}Ri(!0);const Jr=yield(0,Zt.vm)({code:Lt,role:un});Ri(!1),Ti();const Qr={1:"\u60A8\u8F93\u5165\u7684\u9080\u8BF7\u7801\u9519\u8BEF",2:"\u60A8\u5DF2\u7ECF\u662F\u8BE5\u9879\u76EE\u6210\u5458",3:"\u8BF7\u9009\u62E9\u4E00\u4E2A\u89D2\u8272",4:"\u60A8\u7684\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u9879\u76EE\u7BA1\u7406\u5458\u5BA1\u6279",5:"\u60A8\u5DF2\u7ECF\u7533\u8BF7\u52A0\u5165\u8BE5\u9879\u76EE\u4E86\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85",6:"\u60A8\u5DF2\u6210\u529F\u52A0\u5165\u9879\u76EE"};if(Qr[Jr.status]){Ve.ZP.info(Qr[Jr.status]);return}if(Jr.status===0){un==="reporter"?(Ve.ZP.success("\u60A8\u52A0\u5165\u9879\u76EE\u6210\u529F\uFF01"),(0,Oe.L9)(["\u5F00\u53D1\u9879\u76EE","\u52A0\u5165\u9879\u76EE\u6210\u529F"]),it.history.push(`/projects/${Jr==null?void 0:Jr.project_id}`)):((0,Oe.L9)(["\u5F00\u53D1\u9879\u76EE","\u52A0\u5165\u9879\u76EE\u7B49\u5F85\u5BA1\u6279"]),Ve.ZP.success("\u60A8\u7684\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u9879\u76EE\u7BA1\u7406\u5458\u5BA1\u6279\uFF01"));return}}),Ti=()=>te(void 0,null,function*(){Kn()});return ue.createElement(ue.Fragment,null,ue.createElement(Dt.default,{centered:!0,keyboard:!1,closable:!1,title:"\u52A0\u5165\u9879\u76EE",open:Cn,confirmLoading:Ii,onOk:si,onCancel:Ti},ue.createElement("div",{className:"tc"},ue.createElement("div",null,ue.createElement("span",null,"\u9879\u76EE\u9080\u8BF7\u7801\uFF1A"),ue.createElement(kt.default,{placeholder:"\u8BF7\u8F93\u51656\u4F4D\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801",style:{width:270},value:Lt,onChange:Jr=>{if(Jr.target.value.length>=7){Ve.ZP.info("\u8BF7\u8F93\u51656\u4F4D\u5F00\u53D1\u9879\u76EE\u9080\u8BF7\u7801\uFF01");return}Ft(Jr.target.value)}})),ue.createElement("div",{className:"mt10 font14"},ue.createElement("span",null,"\u8EAB\u4EFD\uFF1A"),ue.createElement(Ut.ZP.Group,{value:un,onChange:Jr=>Sr(Jr.target.value)},ue.createElement(Ut.ZP,{value:"manager"},"\u7BA1\u7406\u4EBA\u5458"),ue.createElement(Ut.ZP,{value:"developer"},"\u5F00\u53D1\u4EBA\u5458"),ue.createElement(Ut.ZP,{value:"reporter"},"\u62A5\u544A\u4EBA\u5458"))))))},pe=Pe(63454),xe={flex_box_center:"flex_box_center___cltIf",flex_space_between:"flex_space_between___fKr_O",flex_box_vertical_center:"flex_box_vertical_center____QfiA",flex_box_center_end:"flex_box_center_end___ysqmH",flex_box_column:"flex_box_column___CfE8K",rightMenu:"rightMenu___ADTOX",joinMenu:"joinMenu___aRGsf",joinBoard:"joinBoard___AeUvr",joinCol:"joinCol___fV4uL"},Ae=Pe(46474),Me=Pe(78241),ke=Pe(57809),lt=Pe(2742),dt=(Cn,Kn,Lt)=>new Promise((Ft,un)=>{var Sr=si=>{try{Ri(Lt.next(si))}catch(Ti){un(Ti)}},Ii=si=>{try{Ri(Lt.throw(si))}catch(Ti){un(Ti)}},Ri=si=>si.done?Ft(si.value):Promise.resolve(si.value).then(Sr,Ii);Ri((Lt=Lt.apply(Cn,Kn)).next())});const yt=({globalSetting:Cn,dispatch:Kn,user:Lt,open:Ft,onCancel:un=()=>{}})=>{const[Sr,Ii]=(0,ue.useState)([]),[Ri,si]=(0,ue.useState)([]),[Ti,Jr]=(0,ue.useState)([]),[Qr]=Me.default.useForm(),[Lo,Nn]=(0,ue.useState)(!1),[ja,co]=(0,ue.useState)(!1),Kr=(0,ue.useRef)(null),sn=(0,ue.useRef)(1),[Vt,hn]=(0,ue.useState)({keyword:"",source:"",status:"",page:1,limit:20});(0,ue.useEffect)(()=>{Ft&&Xt()},[Ft]);const Xt=()=>dt(void 0,null,function*(){var ui;const Ci=yield Vn(Vt);if(!(0,Ae.o1)(Kn))return;const{user_school_id:Yn="",department_id:ln="",school_name:_r="",department_name:Rn=""}=Lt.userInfo||{},Ir=(ui=Ci==null?void 0:Ci.graduation_years)==null?void 0:ui.at(-1);si([{id:Yn,name:_r}]),yield lr(Yn),Qr.setFieldsValue({year:Ir,school_id:Yn,department_id:Number(ln),name:`${Ir}${_r}${Rn}\u6BD5\u4E1A\u8BBE\u8BA1`})}),Vn=ui=>dt(void 0,null,function*(){const Ci=yield(0,lt.J3)(ui);return Ci.status===0&&Ii((Ci==null?void 0:Ci.graduation_years)||[]),Ci}),er=(ui,Ci=500)=>{co(!0),clearTimeout(Kr.current),Kr.current=setTimeout(()=>dt(void 0,null,function*(){sn.current+=1;const Yn=sn.current,ln=yield(0,lt.NT)({keyword:ui});ln.status===0&&sn.current===Yn&&(si((ln==null?void 0:ln.schools)||[]),co(!1))}),Ci)},lr=ui=>dt(void 0,null,function*(){if(!ui)return;const Ci=yield(0,lt.Ps)({page:1,limit:9999,id:ui});Ci.status===0&&Jr((Ci==null?void 0:Ci.departments)||[])});return ue.createElement(Dt.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:Ft,title:"\u5F00\u542F\u65B0\u4E00\u5C4A\u6BD5\u4E1A\u8BBE\u8BA1",width:578,confirmLoading:Lo,onCancel:un,onOk:()=>Qr.submit()},ue.createElement(Me.default,{colon:!1,form:Qr,initialValues:{},labelCol:{span:7},size:"large",wrapperCol:{span:17},onValuesChange:(ui,Ci)=>{ui.school_id&&(lr(Ci.school_id),Qr.setFieldValue("department_id",null))},onFinish:ui=>dt(void 0,null,function*(){Nn(!0);const Ci=yield(0,lt.Wz)(ui);Ci.status===0&&(Ve.ZP.success("\u521B\u5EFA\u6210\u529F"),Qr.resetFields(),un(),(0,Oe.xg)(`/graduations/${Ci==null?void 0:Ci.identifier}/index`)),Nn(!1)})},ue.createElement(Me.default.Item,{name:"year",label:"\u9009\u62E9\u5C4A\u522B",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5C4A\u522B"}]},ue.createElement(ke.default,{style:{width:344},size:"large",options:Sr.map(ui=>({value:ui,label:ui}))})),ue.createElement(Me.default.Item,{name:"school_id",label:"\u5B66\u6821",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u6821"}]},ue.createElement(ke.default,{showSearch:!0,filterOption:!1,onSearch:ui=>{er(ui)},loading:ja,size:"large",style:{width:344},options:Ri.map(ui=>({value:ui.id,label:ui.name}))})),ue.createElement(Me.default.Item,{name:"department_id",label:"\u5B66\u9662",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u9662"}]},ue.createElement(ke.default,{showSearch:!0,optionFilterProp:"label",style:{width:344},size:"large",options:Ti.map(ui=>({value:ui.id,label:ui.name}))})),ue.createElement(Me.default.Item,{name:"name",label:"\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u540D\u79F0"}]},ue.createElement(kt.default,{showCount:!0,style:{width:344},maxLength:60}))))};var ut=(0,it.connect)(({user:Cn,globalSetting:Kn,loading:Lt})=>({user:Cn,globalSetting:Kn,loading:Lt}))(yt),Ot=Pe(99064),xt=Object.defineProperty,Nt=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,Ai=(Cn,Kn,Lt)=>Kn in Cn?xt(Cn,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Cn[Kn]=Lt,hi=(Cn,Kn)=>{for(var Lt in Kn||(Kn={}))Jt.call(Kn,Lt)&&Ai(Cn,Lt,Kn[Lt]);if(Nt)for(var Lt of Nt(Kn))vn.call(Kn,Lt)&&Ai(Cn,Lt,Kn[Lt]);return Cn},kn=(Cn,Kn,Lt)=>new Promise((Ft,un)=>{var Sr=si=>{try{Ri(Lt.next(si))}catch(Ti){un(Ti)}},Ii=si=>{try{Ri(Lt.throw(si))}catch(Ti){un(Ti)}},Ri=si=>si.done?Ft(si.value):Promise.resolve(si.value).then(Sr,Ii);Ri((Lt=Lt.apply(Cn,Kn)).next())});const ci=({globalSetting:Cn,dispatch:Kn,user:Lt,open:Ft,onCancel:un=()=>{}})=>{const[Sr]=Me.default.useForm(),[Ii,Ri]=(0,ue.useState)(!1),[si,Ti]=(0,ue.useState)(null);return(0,ue.useEffect)(()=>{var Jr;if(Ft){const Qr={code:"",user_type:((Jr=Lt==null?void 0:Lt.userInfo)==null?void 0:Jr.identity)==="student"?2:1,major:""};Sr.setFieldsValue(Qr),Ti(hi({},Qr))}},[Ft]),ue.createElement(Dt.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:Ft,title:"\u52A0\u5165\u6BD5\u8BBE",width:527,confirmLoading:Ii,onCancel:un,onOk:()=>Sr.submit()},ue.createElement(Me.default,{colon:!1,form:Sr,initialValues:{user_type:1},labelCol:{span:5},wrapperCol:{span:19},size:"large",onValuesChange:(Jr,Qr)=>Ti(hi({},Qr)),onFinish:Jr=>kn(void 0,null,function*(){Ri(!0);const Qr=yield(0,Ot.ZP)("/api/graduations/join.json",{method:"post",body:Jr});Qr.status===0&&(un(),Qr!=null&&Qr.identifier?(0,Oe.xg)(`/graduations/${Qr==null?void 0:Qr.identifier}/index`):Ve.ZP.success(Qr==null?void 0:Qr.message)),Ri(!1)})},ue.createElement(Me.default.Item,{name:"code",label:"\u6BD5\u8BBE\u9080\u8BF7\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801"}]},ue.createElement(kt.default,{placeholder:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801",size:"large"})),ue.createElement(Me.default.Item,{name:"user_type",label:"\u8EAB\u4EFD",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6BD5\u8BBE\u9080\u8BF7\u7801"}]},ue.createElement(Ut.ZP.Group,null,ue.createElement(Ut.ZP,{value:1,style:{color:"#000"}},"\u7BA1\u7406\u5458\uFF08\u6559\u5E08\uFF09"),ue.createElement(Ut.ZP,{className:"ml30",style:{color:"#000"},value:2},"\u5B66\u751F"))),(si==null?void 0:si.user_type)===2&&ue.createElement(Me.default.Item,{style:{marginBottom:0},name:"major",label:"\u4E13\u4E1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"}]},ue.createElement(kt.default,{showCount:!0,maxLength:60}))))};var et=(0,it.connect)(({user:Cn,globalSetting:Kn})=>({user:Cn,globalSetting:Kn}))(ci),ze=Pe(59301),yn=Object.defineProperty,Xn=Object.defineProperties,ei=Object.getOwnPropertyDescriptors,on=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,Dn=Object.prototype.propertyIsEnumerable,yi=(Cn,Kn,Lt)=>Kn in Cn?yn(Cn,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Cn[Kn]=Lt,qn=(Cn,Kn)=>{for(var Lt in Kn||(Kn={}))xn.call(Kn,Lt)&&yi(Cn,Lt,Kn[Lt]);if(on)for(var Lt of on(Kn))Dn.call(Kn,Lt)&&yi(Cn,Lt,Kn[Lt]);return Cn},Mi=(Cn,Kn)=>Xn(Cn,ei(Kn)),mt=(Cn,Kn)=>{var Lt={};for(var Ft in Cn)xn.call(Cn,Ft)&&Kn.indexOf(Ft)<0&&(Lt[Ft]=Cn[Ft]);if(Cn!=null&&on)for(var Ft of on(Cn))Kn.indexOf(Ft)<0&&Dn.call(Cn,Ft)&&(Lt[Ft]=Cn[Ft]);return Lt},ht=(Cn=>(Cn.Projects="projects",Cn.Shixuns="shixuns",Cn.Classrooms="classrooms",Cn))(ht||{}),gn=(Cn=>(Cn.Classrooms="classrooms",Cn.Shixuns="shixuns",Cn.Paths="paths",Cn.Projects="projects",Cn.Videos="videos",Cn.Topics="topics",Cn))(gn||{});const jt=Cn=>{var Kn=Cn,{homePage:Lt,user:Ft,globalSetting:un,loading:Sr,dispatch:Ii}=Kn,Ri=mt(Kn,["homePage","user","globalSetting","loading","dispatch"]),si,Ti,Jr,Qr,Lo,Nn,ja,co;const[Kr,sn]=(0,ue.useState)(),[Vt,hn]=(0,ue.useState)(),[Xt,Vn]=(0,ue.useState)(!1),[er,lr]=(0,ue.useState)(!1),ui=Ir=>{var Or;if((0,Ae.tJ)(Ii,!1,Ir==="classrooms","",!0)){if(Ir==="projects"&&!((Or=Ft.userInfo)!=null&&Or.email)){Ve.ZP.info("\u8BF7\u5148\u7ED1\u5B9A\u90AE\u7BB1\uFF0C\u8C22\u8C22");return}Ir==="classrooms"?sn(!0):Ir==="projects"&&hn(!0)}},Ci=(Ir,Or)=>{var fr;if((0,Ae.tJ)(Ii)){if(Or==="projects"&&!((fr=Ft.userInfo)!=null&&fr.email)){Ve.ZP.info("\u8BF7\u5148\u7ED1\u5B9A\u90AE\u7BB1\uFF0C\u8C22\u8C22");return}Or==="shixuns"&&!(0,Ae.xY)()||Ir&&(window.location.href=Ir)}},Yn=(Ti=(((si=un.setting)==null?void 0:si.navbar)||[]).find(Ir=>Ir.link==="/classrooms"))==null?void 0:Ti.hidden;let ln=(Qr=(((Jr=un.setting)==null?void 0:Jr.navbar)||[]).find(Ir=>Ir.link==="/shixuns"))==null?void 0:Qr.hidden;const _r=(Nn=(((Lo=un.setting)==null?void 0:Lo.navbar)||[]).find(Ir=>Ir.link==="/paths"))==null?void 0:Nn.hidden;(ja=un==null?void 0:un.setting)!=null&&ja.is_local&&((co=Ft==null?void 0:Ft.userInfo)!=null&&co.is_shixun_marker||(ln=!0));const Rn=Ir=>{var Or,fr,Bo,Zr,Zi,xr,oo,Bn,gi,Ze,Io,no,rr,qi,Xi,aa,ys,bs,_o;return ze.createElement(ze.Fragment,null,ze.createElement(bt.Z,{justify:"space-around",className:"pt5 pb5"},ze.createElement(wt.Z,{className:xe.joinCol},((Or=Ft.userInfo)==null?void 0:Or.user_identity)!=="\u5B66\u751F"&&!Yn&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>Ci("/classrooms/new")},(fr=Ft.userInfo)!=null&&fr.main_site?"\u65B0\u5EFA\u6559\u5B66\u8BFE\u5802":"\u65B0\u5EFA\u8BFE\u5802")),!ln&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>Ci("/shixuns/new","shixuns")},"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE")),(((Bo=Ft.userInfo)==null?void 0:Bo.main_site)||!((Zr=Ft.userInfo)!=null&&Zr.main_site)&&!_r&&(((Zi=Ft.userInfo)==null?void 0:Zi.admin)||((xr=Ft.userInfo)==null?void 0:xr.is_teacher)||((oo=Ft.userInfo)==null?void 0:oo.business)))&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>Ci("/paths/new")},"\u65B0\u5EFA\u5B9E\u8DF5\u8BFE\u7A0B")),!((Bn=un==null?void 0:un.setting)!=null&&Bn.is_local)&&((gi=Ft.userInfo)==null?void 0:gi.main_site)&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>{var Ea;return Ci(`${(Ea=un==null?void 0:un.setting)==null?void 0:Ea.old_url}/projects/deposit/new`,"projects")}},"\u65B0\u5EFA\u5F00\u53D1\u9879\u76EE")),window.location.host!=="narl.educoder.net"&&((Ze=Ft==null?void 0:Ft.userInfo)==null?void 0:Ze.identity)!=="student"&&ze.createElement(pt.default.Item,Mi(qn({},Ir),{onClick:()=>{(0,Ae.o1)(Ii)&&Vn(!0)}}),ze.createElement("a",null,"\u65B0\u5EFA\u6BD5\u4E1A\u8BBE\u8BA1")),!((Io=Ft.userInfo)!=null&&Io.main_site)&&ze.createElement("div",null,!Yn&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>ui("classrooms")},(no=Ft.userInfo)!=null&&no.main_site?"\u52A0\u5165\u6559\u5B66\u8BFE\u5802":"\u52A0\u5165\u8BFE\u5802")),((rr=Ft.userInfo)==null?void 0:rr.main_site)&&!((qi=un==null?void 0:un.setting)!=null&&qi.is_local)&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>ui("projects")},"\u52A0\u5165\u5F00\u53D1\u9879\u76EE")))),((Xi=Ft.userInfo)==null?void 0:Xi.main_site)&&ze.createElement(wt.Z,null,ze.createElement("div",{className:xe.joinBoard})),((aa=Ft.userInfo)==null?void 0:aa.main_site)&&ze.createElement(wt.Z,{className:xe.joinCol},!Yn&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>ui("classrooms")},(ys=Ft.userInfo)!=null&&ys.main_site?"\u52A0\u5165\u6559\u5B66\u8BFE\u5802":"\u52A0\u5165\u8BFE\u5802")),((bs=Ft.userInfo)==null?void 0:bs.main_site)&&!((_o=un==null?void 0:un.setting)!=null&&_o.is_local)&&ze.createElement(pt.default.Item,qn({},Ir),ze.createElement("a",{onClick:()=>ui("projects")},"\u52A0\u5165\u5F00\u53D1\u9879\u76EE")),ze.createElement(pt.default.Item,Mi(qn({},Ir),{onClick:()=>{(0,Ae.o1)(Ii)&&lr(!0)}}),ze.createElement("a",null,"\u52A0\u5165\u6BD5\u4E1A\u8BBE\u8BA1")))))};return ze.createElement("section",null,ze.createElement(St.Z,{dropdownRender:()=>ze.createElement(pt.default,{className:`${xe.rightMenu} ${xe.joinMenu} mt10`},ze.createElement(Rn,null)),placement:"bottomRight"},ze.createElement("span",{style:{lineHeight:"inherit"},className:"iconfont icon-tianjiafangda c-white font18 current ml15 mr15"})),ze.createElement(pe.Z,{visible:Kr,onCancel:()=>sn(!1)}),ze.createElement(le,{visible:Vt,onCancel:()=>hn(!1)}),ze.createElement(ut,{open:Xt,onCancel:()=>Vn(!1)}),ze.createElement(et,{open:er,onCancel:()=>lr(!1)}))};var En=(0,it.connect)(({homePage:Cn,loading:Kn,user:Lt,globalSetting:Ft})=>({homePage:Cn,user:Lt,globalSetting:Ft,loading:Kn.models.index}))(jt),Fn={flex_box_center:"flex_box_center___YbxYn",flex_space_between:"flex_space_between___Atwkg",flex_box_vertical_center:"flex_box_vertical_center____I6AC",flex_box_center_end:"flex_box_center_end___LrYPg",flex_box_column:"flex_box_column___j7QNF",userPic:"userPic___a46Uz",rightMenu:"rightMenu___y_nqk",menuWrap:"menuWrap___iwlZB",exit:"exit___MOREW",classromediv:"classromediv___crYsO",glow:"glow___jMGk7",height67:"height67___asp2E",login:"login___WGEW9",icon:"icon___HABAt"},ri=Pe(24065),ni=Pe(24780),mn=Pe(3294),zt=Pe(59301),$e=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,Ie=(Cn,Kn)=>{var Lt={};for(var Ft in Cn)At.call(Cn,Ft)&&Kn.indexOf(Ft)<0&&(Lt[Ft]=Cn[Ft]);if(Cn!=null&&$e)for(var Ft of $e(Cn))Kn.indexOf(Ft)<0&&Yt.call(Cn,Ft)&&(Lt[Ft]=Cn[Ft]);return Lt},Ce=(Cn,Kn,Lt)=>new Promise((Ft,un)=>{var Sr=si=>{try{Ri(Lt.next(si))}catch(Ti){un(Ti)}},Ii=si=>{try{Ri(Lt.throw(si))}catch(Ti){un(Ti)}},Ri=si=>si.done?Ft(si.value):Promise.resolve(si.value).then(Sr,Ii);Ri((Lt=Lt.apply(Cn,Kn)).next())});const Ee=Cn=>{var Kn,Lt=RegExp("(^| )"+Cn+"=([^;]+)(;|$)");return(Kn=document.cookie.match(Lt))?decodeURIComponent(Kn[2]):null},Te=Cn=>{var Kn=new Date;Kn.setTime(Kn.getTime()-1);var Lt=Ee(Cn);Lt!=null&&(document.cookie=Cn+"="+Lt+";expires="+Kn.toGMTString())};var Ue=(Cn=>(Cn.Classrooms="classrooms",Cn.Shixuns="shixuns",Cn.Paths="paths",Cn.Projects="projects",Cn.Videos="videos",Cn.Topics="topics",Cn))(Ue||{});const Le=Cn=>{var Kn=Cn,{homePage:Lt,user:Ft,globalSetting:un,loading:Sr,dispatch:Ii,shixunHomeworks:Ri,location:si,payload:Ti={}}=Kn,Jr=Ie(Kn,["homePage","user","globalSetting","loading","dispatch","shixunHomeworks","location","payload"]),Qr,Lo,Nn,ja,co,Kr,sn,Vt,hn,Xt;const Vn=(Lo=(((Qr=un.setting)==null?void 0:Qr.navbar)||[]).find(Yn=>Yn.link==="/classrooms"))==null?void 0:Lo.hidden,er=(ja=(((Nn=un.setting)==null?void 0:Nn.navbar)||[]).find(Yn=>Yn.link==="/shixuns"))==null?void 0:ja.hidden,lr=(Kr=(((co=un.setting)==null?void 0:co.navbar)||[]).find(Yn=>Yn.link==="/paths"))==null?void 0:Kr.hidden,ui=(sn=Ft.userInfo)==null?void 0:sn.is_school_manage,Ci=()=>{var Yn,ln,_r,Rn,Ir,Or,fr,Bo;return(0,Oe.Ll)()?zt.createElement(pt.default,{className:`${Fn.rightMenu} ${Fn.menuWrap}`},zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406"))):zt.createElement(pt.default,{className:`${Fn.rightMenu} ${Fn.menuWrap}`},zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:`/users/${(Yn=Ft.userInfo)==null?void 0:Yn.login}/classrooms`},"\u6211\u7684\u4E2A\u4EBA\u4E3B\u9875")),!Vn&&zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:`/users/${(ln=Ft.userInfo)==null?void 0:ln.login}/classrooms`},(_r=Ft.userInfo)!=null&&_r.main_site?"\u6211\u7684\u6559\u5B66\u8BFE\u5802":"\u6211\u7684\u8BFE\u5802")),!er&&zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:`/users/${(Rn=Ft.userInfo)==null?void 0:Rn.login}/shixuns`},"\u6211\u7684\u5B9E\u8DF5\u9879\u76EE")),!lr&&zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:`/users/${(Ir=Ft.userInfo)==null?void 0:Ir.login}/paths`},(Or=Ft.userInfo)!=null&&Or.main_site?"\u6211\u7684\u5B9E\u8DF5\u8BFE\u7A0B":"\u6211\u7684\u8BFE\u7A0B")),zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:`/users/${(fr=Ft.userInfo)==null?void 0:fr.login}/teach-group`},"\u6211\u7684\u6559\u7814\u56E2\u961F")),zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:`/users/${(Bo=Ft.userInfo)==null?void 0:Bo.login}/competitions`},"\u6211\u7684\u7ADE\u8D5B\u7BA1\u7406")),zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:"/order"},"\u6211\u8D2D\u4E70\u7684\u8BFE\u7A0B")),(0,ri.Ny)()&&zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:"/quality"},"\u7CBE\u54C1\u8BFE\u7A0B")),!(0,ri.JA)()&&zt.createElement(pt.default.Item,null,zt.createElement("a",{onClick:()=>{(0,Ae.tJ)(Ii)&&it.history.push("/problemset")}},"\u8BD5\u9898\u5E93")),!(0,ri.JA)()&&zt.createElement(pt.default.Item,null,zt.createElement("a",{onClick:()=>{(0,Ae.tJ)(Ii)&&it.history.push("/paperlibrary")}},"\u8BD5\u5377\u5E93")),zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{onClick:()=>{localStorage.getItem("Noviceguide")==="0"||Ii({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:2,href:"/classrooms",text:zt.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}})},to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406")),ui&&zt.createElement(pt.default.Item,null,zt.createElement(it.Link,{to:"/administration/college"},"\u9AD8\u6821\u7BA1\u7406")),zt.createElement(pt.default.Item,{className:Fn.exit},zt.createElement("a",{onClick:()=>Ce(void 0,null,function*(){try{const Zr=yield(0,ni.vR)({});Ve.ZP.success(Zr==null?void 0:Zr.message)}catch(Zr){}(0,Oe.d8)("_educoder_session","logout",1),(0,Oe.m5)(),localStorage.removeItem("isfirst"),localStorage.removeItem("SystemUpdateadvtime"),localStorage.removeItem("item"),localStorage.removeItem("iscreate"),setTimeout(()=>{window.location.href="/"},800)})},"\u9000\u51FA")))};return(0,ri.bg)()?zt.createElement(St.Z,{className:`${Fn.height67}`,dropdownRender:Ci,placement:"bottomRight"},zt.createElement("section",null,zt.createElement("aside",null,zt.createElement("div",{className:Ri.actionTabs.type===1?Fn.classromediv:""},zt.createElement("img",{className:`${Fn.userPic} current ml15`,src:`${(Vt=mn.Z)==null?void 0:Vt.IMG_SERVER}/images/${(hn=Ft.userInfo)==null?void 0:hn.image_url}`,alt:"",onClick:()=>{var Yn;return it.history.push((0,Oe.Ll)()?"/account/profile":`/users/${(Yn=Ft.userInfo)==null?void 0:Yn.login}/classrooms`)}}),(0,Oe.Ll)()&&zt.createElement("span",{className:"ml10 font16"},(Xt=Ft.userInfo)==null?void 0:Xt.username),zt.createElement("i",{className:`iconfont icon-zhankai4 ${Fn.icon}`}))))):zt.createElement("div",{className:`font15 ${un.isIlearning?Fn.login:""}`},zt.createElement("span",{className:"ml10 mr5 current c-white",onClick:()=>{Ii({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})}},"\u767B\u5F55 / \u6CE8\u518C"))};var rt=(0,it.connect)(({homePage:Cn,loading:Kn,user:Lt,globalSetting:Ft,shixunHomeworks:un})=>({homePage:Cn,user:Lt,globalSetting:Ft,shixunHomeworks:un,loading:Kn.models.index}))(Le),Sn={tip:"tip___a6MfI"},fn=Pe(61186),an=Pe.n(fn),$t=Pe(59301),fi=(Cn,Kn,Lt)=>new Promise((Ft,un)=>{var Sr=si=>{try{Ri(Lt.next(si))}catch(Ti){un(Ti)}},Ii=si=>{try{Ri(Lt.throw(si))}catch(Ti){un(Ti)}},Ri=si=>si.done?Ft(si.value):Promise.resolve(si.value).then(Sr,Ii);Ri((Lt=Lt.apply(Cn,Kn)).next())}),Mn=(Cn=>(Cn[Cn.Professor=1]="Professor",Cn[Cn.AssistantProfessor=2]="AssistantProfessor",Cn[Cn.Student=3]="Student",Cn))(Mn||{});const On=({visible:Cn,user:Kn,onCancel:Lt=()=>{},dispatch:Ft})=>{var un,Sr,Ii;const[Ri,si]=(0,ue.useState)(),[Ti,Jr]=(0,ue.useState)([]),[Qr,Lo]=(0,ue.useState)(!1),[Nn,ja]=(0,ue.useState)(!1),[co,Kr]=(0,ue.useState)(),[sn,Vt]=(0,ue.useState)(!1),hn=(un=window.location.pathname)==null?void 0:un.includes("classrooms/");(0,ue.useEffect)(()=>{var Ci,Yn;(Ci=Kn==null?void 0:Kn.userInfo)!=null&&Ci.identity&&Jr([((Yn=Kn==null?void 0:Kn.userInfo)==null?void 0:Yn.identity)==="student"?3:1])},[Kn]),(0,ue.useEffect)(()=>{var Ci,Yn,ln;if(console.log(Kn==null?void 0:Kn.userInfo),(Ci=Kn==null?void 0:Kn.userInfo)!=null&&Ci.user_status)if(((Yn=Kn==null?void 0:Kn.userInfo)==null?void 0:Yn.role)===15){Vt(!1);return}else{let _r=JSON.parse(hn?localStorage==null?void 0:localStorage.getItem("delaytip_class"):localStorage==null?void 0:localStorage.getItem("delaytip_user"));_r&&(_r==null?void 0:_r.login)===((ln=Kn==null?void 0:Kn.userInfo)==null?void 0:ln.login)?(console.log(an()(_r==null?void 0:_r.time).add(1,"days")),console.log(an()(new Date)),an()(_r==null?void 0:_r.time).add(1,"days").set({hour:0,minute:0,second:0}){if(Ti.includes(1)){Dt.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:$t.createElement("div",{className:"tc"},Yn||"\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838"),onOk:()=>{window.location.href=`/classrooms/${Ci}/students`}});return}window.location.href=`/classrooms/${Ci}/students`},Vn=()=>fi(void 0,null,function*(){if(!Ri){Ve.ZP.info("\u9080\u8BF7\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}Lo(!0);const Ci=yield(0,Zt.cR)({invite_code:Ri,professor:Ti.includes(1)?1:null,assistant_professor:Ti.includes(2)?1:null,student:Ti.includes(3)?1:null});if(Lo(!1),(Ci==null?void 0:Ci.status)===-1&&Ft({type:"classroomList/setActionTabs",payload:{key:"\u5230\u671F\u63D0\u793A"}}),(Ci==null?void 0:Ci.status)===-2){if(er(),Ci.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u8BA4\u8BC1"){ja(!0),Kr(1);return}if(Ci.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u804C\u4E1A\u8BA4\u8BC1"){ja(!0),Kr(2);return}if(Ci.message==="\u8BE5\u8BFE\u5802\u8981\u6C42\u6210\u5458\u5B8C\u6210\u5B9E\u540D\u548C\u804C\u4E1A\u8BA4\u8BC1"){ja(!0),Kr(3);return}}if((Ci==null?void 0:Ci.status)===0){(0,Oe.L9)(["\u6559\u5B66\u8BFE\u5802","\u9996\u9875","\u52A0\u5165\u8BFE\u5802"]),er(),Ci!=null&&Ci.course_id?Xt(Ci.course_id,Ci.message):Ve.ZP.success(Ci.message);return}}),er=()=>fi(void 0,null,function*(){Lt()}),lr=()=>{var Ci,Yn;hn?localStorage.setItem("delaytip_class",JSON.stringify({time:new Date,login:(Ci=Kn==null?void 0:Kn.userInfo)==null?void 0:Ci.login})):localStorage.setItem("delaytip_user",JSON.stringify({time:new Date,login:(Yn=Kn==null?void 0:Kn.userInfo)==null?void 0:Yn.login})),Vt(!1)},ui=()=>fi(void 0,null,function*(){let Ci=yield(0,Ot.ZP)("/api/business_contacts.json",{method:"post"});(Ci==null?void 0:Ci.status)===0&&Ve.ZP.info("\u7533\u8BF7\u6210\u529F")});return $t.createElement($t.Fragment,null,sn&&$t.createElement("div",{style:{background:"rgba(255,24,24,0.1)",color:"#E30000",display:"none"}},$t.createElement("div",{className:Sn.tip},$t.createElement("div",null,$t.createElement("i",{className:"iconfont icon-tishi9 font14 mr10",style:{color:"#E30000"}}),hn?$t.createElement($t.Fragment,null,"\u5C0A\u656C\u7684\u8001\u5E08\u60A8\u597D\uFF0C\u8D35\u5355\u4F4D\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u60A8\u7684\u6559\u5B66\u8BFE\u5802\u7684",((Ii=Kn==null?void 0:Kn.userInfo)==null?void 0:Ii.user_status)==2?"\u90E8\u5206\u529F\u80FD\u5DF2\u88AB\u9650\u5236":"\u529F\u80FD\u5C06\u53D7\u5230\u9650\u5236",'\uFF0C\u4E3A\u786E\u4FDD\u6821\u5185\u6559\u5B66\u4E0D\u53D7\u5F71\u54CD\uFF0C\u8BF7\u5148\u70B9\u51FB\u53F3\u4FA7\u7684"\u7533\u8BF7\u5EF6\u671F"\u6309\u94AE\uFF0C\u5E73\u53F0\u5C06\u63A8\u52A8\u89E3\u51B3\u76F8\u5173\u4E8B\u5B9C\u3002'):$t.createElement($t.Fragment,null,'\u5C0A\u656C\u7684\u8001\u5E08\u60A8\u597D\uFF0C\u8D35\u5355\u4F4D\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u5C06\u53D7\u5230\u9650\u5236\uFF0C\u4E3A\u786E\u4FDD\u6821\u5185\u6559\u5B66\u4E0D\u53D7\u5F71\u54CD\uFF0C\u8BF7\u5148\u70B9\u51FB\u53F3\u4FA7\u7684"\u7533\u8BF7\u5EF6\u671F"\u6309\u94AE\uFF0C\u5E73\u53F0\u5C06\u63A8\u52A8\u89E3\u51B3\u76F8\u5173\u4E8B\u5B9C\u3002')),$t.createElement("div",null,$t.createElement("span",{className:"mr15",style:{color:"#666666",cursor:"pointer"},onClick:lr},"\u5FFD\u7565"),$t.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:ui},"\u7533\u8BF7\u5EF6\u671F")))))};var Hi=(0,it.connect)(({user:Cn})=>({user:Cn}))(On),Si=Pe(3113),sr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAACpCAYAAAD6OhnWAAAAAXNSR0IArs4c6QAAIABJREFUeF7sfQWcHEX2/7daxtc17oYFSYIeBPsBgRwECe6BcHDIccghRxIk6MFB4A4NJHiCB7egwXJokLhnXcenu6v+n1fdPTu7O7vZjcHdn/4wzGa3p+dVfeu9932vXlUx/A9c/ecLnxZPDVQsDFOYNQiq0h+KVgYhBoLzfkKIfGomY6wRirIajK0AN6tg8VVcqMu5isWm37Ni1f4s8d/eHey/sQGDXxe5qmLuBW4dyFRtT3BrBwB5YArAOSB415pF9yuKe38TFHWRsMzPoKjvWVxbsGwca+7ag347d/3XADp0XnMxU/U/Kqp+rOD8D2AsBG4BQmzh3mSAqtJzI0xRPuaW8ZywjFeWjM+t3cJftFUe99sGdI5QRwTNA4SKyUyIwwQQkCBuy0tRwYCYYOwNZuGBn6Pa+5jItrEQXW/wbxLQsrdEMN8yToPCLmQCI4Rldq9FZErpIu21SIvp5TyCTKyi2qbWvaeLWs5UDYLhZ3Axo1HVZ1cdwqJdF2zb3PmbApSAzDPNyUzBXyF4T+kPN3YxZoMVCwN1lUBtJdBQDYQbgXgMM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AdAqIXs3bNjoe+a2nWFnFBorK+5cgrzy95TtAE5AIRx6D7M80zCXYW008MwpMFIuaI2GRjlNnH1ZufRcABIm4hNjsotR0ItJh0ArjET0LIJ2USOwfgs15S23v7GvD2vVXf7Z+bp8y68ZLVvE5mZzcg7qTz5ydQcZRMZfLQPSDyfCcdyVAO1rteKY1eOAL0bmIXsqmUTf4jAkWWbXGDX0QQLJ7vZRZl0Njo4yZis9C/y7f7lIWk/WIusJOc9Q6fd/1iC8pVnnXlMd35t+tpm5zc3Nb4lu41dmzG8my45vRHft5pAdb4eXn9cb7+hfxhaJ60AYVCIX9yOCSrlq8pG7cogoPm6vz772Yz3LrJmo97Kuet/weX7/RHY+BFcPwPAL3oJXTdfvZSiJV7t6yjnb+FjsTzfpr81XWfddddc59Vq9lHCo9XeWcuesz/KaAXvezzbl/7MFzqqZ4tay71Ej6mO/0Xg5uniQ1vwFgAAAAASUVORK5CYII=",ro=Object.getOwnPropertySymbols,Wo=Object.prototype.hasOwnProperty,No=Object.prototype.propertyIsEnumerable,Lr=(Cn,Kn)=>{var Lt={};for(var Ft in Cn)Wo.call(Cn,Ft)&&Kn.indexOf(Ft)<0&&(Lt[Ft]=Cn[Ft]);if(Cn!=null&&ro)for(var Ft of ro(Cn))Kn.indexOf(Ft)<0&&No.call(Cn,Ft)&&(Lt[Ft]=Cn[Ft]);return Lt};const Ko=null,Oo=Cn=>{var Kn=Cn,{homePage:Lt,user:Ft,globalSetting:un,loading:Sr,dispatch:Ii,location:Ri,text:si,shixunHomeworks:Ti,payload:Jr={}}=Kn,Qr=Lr(Kn,["homePage","user","globalSetting","loading","dispatch","location","text","shixunHomeworks","payload"]);const[Lo,Nn]=(0,ue.useState)("none");return(0,ue.useEffect)(()=>{Ti.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"&&Nn("flex")},[Ti.actionTabs.key]),(0,ue.useEffect)(()=>{Ti.actionTabs.key==="\u9690\u85CF"&&(Nn("none"),localStorage.setItem("Noviceguide","0"))},[Ti.actionTabs.key]),ue.createElement("div",{style:{display:Lo,background:"#fff",width:"100%",height:"200px",position:"fixed",bottom:"0px",boxShadow:"0px -4px 6px 0px rgba(204, 204, 204, 0.2)",zIndex:"999"}},ue.createElement("div",{style:{margin:"0 auto",width:"1200px"}},ue.createElement("img",{src:sr,style:{position:"absolute",top:"-32px"}}),ue.createElement("div",{style:{marginLeft:"151px",marginTop:"40px",fontSize:"18px",color:"#333333"}},Ti.actionTabs.text),Ti.actionTabs.type===9?ue.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},ue.createElement(Si.ZP,{type:"primary",onClick:()=>{localStorage.setItem("Noviceguide","0"),Nn("none"),Ii({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"\u5446\u4F1A\u89C1\uFF0C\u6709\u4E8B\u547C\u6211")):ue.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},ue.createElement(Si.ZP,{type:"primary",onClick:()=>{localStorage.setItem("Noviceguide","0"),Ii({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),Nn("none")},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"\u8DF3\u8FC7\uFF0C\u6211\u81EA\u5DF1\u6765"))))};var So=(0,it.connect)(({homePage:Cn,loading:Kn,user:Lt,globalSetting:Ft,shixunHomeworks:un})=>({homePage:Cn,user:Lt,globalSetting:Ft,loading:Kn.models.index,shixunHomeworks:un}))(Oo),Eo=Object.defineProperty,Tr=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,ya=Object.prototype.propertyIsEnumerable,to=(Cn,Kn,Lt)=>Kn in Cn?Eo(Cn,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Cn[Kn]=Lt,zn=(Cn,Kn)=>{for(var Lt in Kn||(Kn={}))Be.call(Kn,Lt)&&to(Cn,Lt,Kn[Lt]);if(Tr)for(var Lt of Tr(Kn))ya.call(Kn,Lt)&&to(Cn,Lt,Kn[Lt]);return Cn};const Vi=Cn=>React.createElement("svg",zn({width:46,height:18,xmlns:"http://www.w3.org/2000/svg"},Cn),React.createElement("title",null,"logo2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M6.578 8.8c.162-.682.3-.737.982-.737.689 0 .793.055.632.737-.164.689-.298.76-.987.76-.682 0-.79-.071-.627-.76Zm-.222 1.198h1.488l-1.004 4.23H5.352l1.004-4.23ZM8.465 11.244h2.474l-.275 1.16H8.189zM15.12 12.889l-.317 1.34H11.23l1.291-5.437h1.56l-.974 4.097zM18.688 11.55c.076-.322.01-.541-.459-.541-.501 0-.748.117-.905.642l1.364-.102Zm1.041.955-2.636.156c-.002.369.3.517.84.517.571 0 1.259-.155 1.545-.305l-.26 1.097c-.301.18-1.012.337-1.85.337-1.332 0-2.039-.454-1.626-2.194.413-1.739 1.336-2.193 2.738-2.193 1.504 0 1.762.626 1.455 1.92-.082.344-.166.602-.206.665ZM22.806 12.936l.079-.33h-.595c-.47 0-.636.071-.695.322-.052.22.098.274.404.274.368 0 .655-.117.807-.266m1.857-1.583-.683 2.875h-1.347l-.025-.391c-.175.212-.596.47-1.34.47-.885 0-1.347-.4-1.131-1.308.23-.972.872-1.332 2.101-1.332h.87c.08-.43-.063-.494-.682-.494-.305 0-.6.024-.885.07l.295-1.245c.334-.054.792-.07 1.098-.07 1.48 0 1.963.438 1.729 1.425M28.691 9.92l-.346 1.324h-.118c-.493 0-1.055.188-1.257.776l-.525 2.208h-1.488l1.005-4.23h1.488l-.175.737c.41-.674.828-.815 1.329-.815h.087ZM33.084 11.369l-.68 2.86h-1.488l.6-2.523c.124-.525.012-.611-.458-.611-.376 0-.572.133-.685.345l-.663 2.788h-1.488l1.005-4.23h1.488l-.102.431c.28-.29.74-.51 1.43-.51.993 0 1.285.424 1.041 1.45M34.507 8.8c.162-.682.3-.737.982-.737.688 0 .793.055.631.737-.163.689-.297.76-.987.76-.681 0-.79-.071-.626-.76Zm-.222 1.198h1.488l-1.004 4.23H33.28l1.004-4.23Z",fill:"#196EFD"}),React.createElement("path",{d:"M34.507 8.8c.162-.682.3-.737.982-.737.688 0 .793.055.631.737-.163.689-.297.76-.987.76-.681 0-.79-.071-.626-.76Zm-.222 1.198h1.488l-1.004 4.23H33.28l1.004-4.23ZM40.522 11.369l-.68 2.86h-1.488l.6-2.523c.124-.525.011-.611-.458-.611-.376 0-.573.133-.685.345l-.663 2.788H35.66l1.004-4.23h1.489l-.102.431c.28-.29.74-.51 1.428-.51.996 0 1.286.424 1.043 1.45",fill:"#196EFD"}),React.createElement("path",{d:"M44.025 12.071c-.173.721-.317 1.132-1.023 1.132-.606 0-.577-.519-.433-1.132.137-.57.353-1.088.959-1.088.714 0 .663.41.497 1.088Zm.425-2.076-.086.368c-.094-.31-.382-.44-1.103-.44-1.34 0-1.917.995-2.199 2.148-.302 1.29-.165 2.156 1.175 2.156.714 0 1.089-.18 1.32-.483l-.022.108c-.187.786-.41 2.004-1.32 2.256-.662.188-1.463-.339-2.09-.548a13.981 13.981 0 0 0-2.408-.59c-1.917-.296-3.878-.174-5.73.41-3.287 1.042-6.775 1.315-10.205 1.352-3.509.037-6.943-.052-10.374-.907-1.071-.267-2.084-.825-3.167-1.001-1.74-.284-3.94.465-5.22-1.16-.584-.735-.915-1.6-.915-2.515 0-1.767 1.225-3.324 3.085-4.225l.591-.764c-.11.145-1.174.218-1.397.285a8.478 8.478 0 0 0-1.524.617c-.936.491-1.82 1.178-2.374 2.093-1.003 1.654-.346 3.809.968 5.109.914.903 2.122 1.454 3.368 1.72 1.298.277 2.684-.167 3.943.277 1.134.4 2.144.831 3.342 1.075a31.42 31.42 0 0 0 3.874.526c2.931.224 5.859.083 8.79-.055a29.884 29.884 0 0 0 7.56-1.331c1.817-.577 3.763-.642 5.63-.281 1.471.28 3.187 1.413 4.686.944 1.428-.44 2.033-1.932 2.35-3.265l.923-3.879h-1.47Z",fill:"#23DD7F"}),React.createElement("path",{d:"m20.387 4.16-.735.079c-1.283-1.687-3.518-2.797-6.048-2.797-3.18 0-5.876 1.752-6.834 4.18l-1.81.196C5.17 2.58 8.637 0 12.883 0c3.489 0 6.452 1.737 7.504 4.16",fill:"#196EFD"}),React.createElement("path",{d:"M28.086 6.488h-2.508c-1.003-1.074-3.086-1.802-5.486-1.802-2.408 0-4.491.735-5.494 1.81.736-1.363 3.043-2.567 5.876-2.92 3.446-.426 7.137 1.21 7.612 2.912",fill:"#196EFD"})));var Wi="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNi41NzggOC44Yy4xNjItLjY4Mi4zLS43MzcuOTgyLS43MzcuNjg5IDAgLjc5My4wNTUuNjMyLjczNy0uMTY0LjY4OS0uMjk4Ljc2LS45ODcuNzYtLjY4MiAwLS43OS0uMDcxLS42MjctLjc2Wm0tLjIyMiAxLjE5OGgxLjQ4OGwtMS4wMDQgNC4yM0g1LjM1MmwxLjAwNC00LjIzWk04LjQ2NSAxMS4yNDRoMi40NzRsLS4yNzUgMS4xNkg4LjE4OXpNMTUuMTIgMTIuODg5bC0uMzE3IDEuMzRIMTEuMjNsMS4yOTEtNS40MzdoMS41NmwtLjk3NCA0LjA5N3pNMTguNjg4IDExLjU1Yy4wNzYtLjMyMi4wMS0uNTQxLS40NTktLjU0MS0uNTAxIDAtLjc0OC4xMTctLjkwNS42NDJsMS4zNjQtLjEwMlptMS4wNDEuOTU1LTIuNjM2LjE1NmMtLjAwMi4zNjkuMy41MTcuODQuNTE3LjU3MSAwIDEuMjU5LS4xNTUgMS41NDUtLjMwNWwtLjI2IDEuMDk3Yy0uMzAxLjE4LTEuMDEyLjMzNy0xLjg1LjMzNy0xLjMzMiAwLTIuMDM5LS40NTQtMS42MjYtMi4xOTQuND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C4xNi0uNzM1LjA3OWMtMS4yODMtMS42ODctMy41MTgtMi43OTctNi4wNDgtMi43OTctMy4xOCAwLTUuODc2IDEuNzUyLTYuODM0IDQuMThsLTEuODEuMTk2QzUuMTcgMi41OCA4LjYzNyAwIDEyLjg4MyAwYzMuNDg5IDAgNi40NTIgMS43MzcgNy41MDQgNC4xNiIgZmlsbD0iIzE5NkVGRCIvPjxwYXRoIGQ9Ik0yOC4wODYgNi40ODhoLTIuNTA4Yy0xLjAwMy0xLjA3NC0zLjA4Ni0xLjgwMi01LjQ4Ni0xLjgwMi0yLjQwOCAwLTQuNDkxLjczNS01LjQ5NCAxLjgxLjczNi0xLjM2MyAzLjA0My0yLjU2NyA1Ljg3Ni0yLjkyIDMuNDQ2LS40MjYgNy4xMzcgMS4yMSA3LjYxMiAyLjkxMiIgZmlsbD0iIzE5NkVGRCIvPjwvZz48L3N2Zz4=",mi=Pe(89392),Qn=Pe(59301),nr=Object.defineProperty,nn=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Li=(Cn,Kn,Lt)=>Kn in Cn?nr(Cn,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Cn[Kn]=Lt,yr=(Cn,Kn)=>{for(var Lt in Kn||(Kn={}))_t.call(Kn,Lt)&&Li(Cn,Lt,Kn[Lt]);if(nn)for(var Lt of nn(Kn))Rt.call(Kn,Lt)&&Li(Cn,Lt,Kn[Lt]);return Cn},Oi=(Cn,Kn)=>{var Lt={};for(var Ft in Cn)_t.call(Cn,Ft)&&Kn.indexOf(Ft)<0&&(Lt[Ft]=Cn[Ft]);if(Cn!=null&&nn)for(var Ft of nn(Cn))Kn.indexOf(Ft)<0&&Rt.call(Cn,Ft)&&(Lt[Ft]=Cn[Ft]);return Lt},Zn=(Cn,Kn,Lt)=>new Promise((Ft,un)=>{var Sr=si=>{try{Ri(Lt.next(si))}catch(Ti){un(Ti)}},Ii=si=>{try{Ri(Lt.throw(si))}catch(Ti){un(Ti)}},Ri=si=>si.done?Ft(si.value):Promise.resolve(si.value).then(Sr,Ii);Ri((Lt=Lt.apply(Cn,Kn)).next())});const{Header:ki}=Mt.default,{Search:Vr}=kt.default;function br(){var Cn,Kn;const Ft=window.location.pathname.split("/"),un={};return Ft[1]=="classrooms"&&Ft.length>3&&!((Cn=Ft[4])!=null&&Cn.includes("newgold"))&&!((Kn=Ft[5])!=null&&Kn.includes("newgold"))&&Ft[2]!=="coursesId"&&(un.course_id=Ft[2]),Ft[1]==="shixuns"&&Ft.length>3&&(un.objective_type="shixun",un.objective_id=Ft[2]),Ft[1]==="paths"&&Ft.length>3&&(un.objective_type="path",un.objective_id=Ft[2]),yr(yr({},un),{school:1})}const Br=["/","/classrooms","/account/profile","/account/profile/edit","/classrooms/new"],Et=Cn=>{var Kn=Cn,{homePage:Lt,user:Ft,globalSetting:un,loading:Sr,dispatch:Ii,isLogin:Ri=!1,shixunHomeworks:si}=Kn,Ti=Oi(Kn,["homePage","user","globalSetting","loading","dispatch","isLogin","shixunHomeworks"]),Jr,Qr,Lo,Nn,ja,co,Kr,sn,Vt;const hn=(0,it.useLocation)(),[Xt,Vn]=(0,ue.useState)(!1),[er,lr]=(0,ue.useState)(""),[ui,Ci]=(0,ue.useState)(!1),Yn=br();(0,ue.useEffect)(()=>{Ii({type:"user/getNavigationInfo",payload:yr({},Yn)})},[un.name]),(0,ue.useEffect)(()=>{si.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"&&(Br!=null&&Br.includes(hn==null?void 0:hn.pathname)||(hn==null?void 0:hn.pathname.indexOf("/classrooms"))===0||Ii({type:"shixunHomeworks/setActionTabs",payload:{key:"\u9690\u85CF"}}))},[hn.pathname]),(0,ue.useEffect)(()=>{si.actionTabs.key==="\u5E95\u90E8\u5F39\u7A97"||si.actionTabs.key||localStorage.setItem("Noviceguide","0")},[si.actionTabs.key]),(0,ue.useEffect)(()=>{var Zi;if(un!=null&&un.setting){let xr=(0,mi.cloneDeep)((Zi=un==null?void 0:un.setting)==null?void 0:Zi.navbar);xr=xr==null?void 0:xr.filter(Bn=>{var gi;return!(Bn!=null&&Bn.hidden)&&!((0,ri.JA)()&&((gi=["/paperlibrary","/problemset"])!=null&&gi.includes(Bn.link)))});for(const Bn of xr)Bn.subitem&&(Bn.subitem=Bn.subitem.filter(gi=>{var Ze;return!(gi!=null&&gi.hidden)&&!((0,ri.JA)()&&((Ze=["/paperlibrary","/problemset"])!=null&&Ze.includes(gi.link)))}));let oo=!1;xr==null||xr.map(function(Bn,gi){var Ze,Io,no;const rr=hn.pathname;Bn.link===rr&&(lr(Bn==null?void 0:Bn.link),(0,Oe.Dk)(rr==="/"?(Ze=un==null?void 0:un.setting)==null?void 0:Ze.name:Zr(Bn==null?void 0:Bn.name)),Or(Bo(gi,{name:Bn==null?void 0:Bn.name,link:Bn==null?void 0:Bn.link},xr)),oo=!0),(Io=Bn==null?void 0:Bn.subitem)!=null&&Io.length&&((no=Bn==null?void 0:Bn.subitem)==null||no.map(qi=>{qi.link===rr&&(lr(qi==null?void 0:qi.link),rr!=="/"&&(0,Oe.Dk)(Zr(qi==null?void 0:qi.name)),Or(Bo(gi,{name:qi==null?void 0:qi.name,link:qi==null?void 0:qi.link},xr)),oo=!0)}))}),oo||Or(xr)}},[un==null?void 0:un.setting,Ft]);const ln=(0,ue.useMemo)(()=>{var Zi,xr;return(Zi=un==null?void 0:un.setting)!=null&&Zi.nav_logo_url?`${mn.Z.IMG_SERVER}/${(xr=un==null?void 0:un.setting)==null?void 0:xr.nav_logo_url}`:`${mn.Z.IMG_SERVER}/images/avatars/LaboratorySetting/1nav?t=${new Date().getTime()}`},[(Jr=un==null?void 0:un.setting)==null?void 0:Jr.nav_logo_url]);function _r(Zi){it.history.push("/search?value="+Zi)}const Rn=()=>Xt?Qn.createElement("div",{onBlur:()=>{setTimeout(()=>{Vn(!1)},300)}},Qn.createElement(Vr,{placeholder:"\u5B9E\u8DF5\u8BFE\u7A0B/\u6559\u5B66\u8BFE\u5802/\u5B9E\u8DF5\u9879\u76EE/\u4EA4\u6D41\u95EE\u7B54",className:"search-input mr20",onSearch:_r,autoFocus:!0})):Qn.createElement("span",{className:"iconfont icon-sousuo font18 current ml15 mr15",onClick:()=>{it.history.push("/search?value=")}}),[Ir,Or]=(0,ue.useState)([]),fr=(Zi,xr)=>Zn(void 0,null,function*(){var oo,Bn,gi,Ze,Io,no;if((Zi==null?void 0:Zi.name)==="\u5DE5\u7A0B\u8BA4\u8BC1"){const rr=yield(0,ni.IU)();(oo=rr==null?void 0:rr.data)!=null&&oo.engineer_url?(gi=(Bn=rr==null?void 0:rr.data)==null?void 0:Bn.engineer_url)!=null&&gi.includes("http")?(0,Oe.xg)((Ze=rr==null?void 0:rr.data)==null?void 0:Ze.engineer_url):it.history.push((Io=rr==null?void 0:rr.data)==null?void 0:Io.engineer_url):(rr==null?void 0:rr.status)!=401&&Ci(!0);return}(no=Zi==null?void 0:Zi.link)!=null&&no.includes("http")?(0,Oe.xg)(Zi==null?void 0:Zi.link):((0,Oe.Dk)(Zi==null?void 0:Zi.name),it.history.push(Zi==null?void 0:Zi.link)),(Zi==null?void 0:Zi.name)==="\u6559\u5B66\u8BFE\u5802"&&localStorage.getItem("Noviceguide")!=="0"&&Ii({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:5,text:Qn.createElement("div",null,"\u975E\u5E38\u68D2\uFF0C\u54B1\u4EEC\u5DF2\u7ECF\u5230\u8FBE\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u5E73\u53F0\u4E0A\u5DF2\u7ECF\u6709\u51E0\u5343\u4F4D\u8001\u5E08\u521B\u5EFA\u4E86\u81EA\u5DF1\u7684\u6559\u5B66\u8BFE\u5802\uFF0C\u4F60\u4E5F\u53EF\u4EE5\u8F7B\u677E\u5B8C\u6210\u54DF\uFF01\u73B0\u5728\u8BF7\u60A8\u70B9\u51FB\u9875\u9762\u4E0A \u201C\u65B0\u5EFA\u8BFE\u5802\u201D\u6309\u94AE\u5F00\u59CB\u65B0\u5EFA\u81EA\u5DF1\u7684\u8BFE\u5802~")}})}),Bo=(Zi,xr,oo)=>{const Bn=oo.slice();return Bn[Zi]&&(Bn[Zi].name=xr.name,Bn[Zi].link=xr.link),Bn||[]},Zr=(Zi="")=>Zi.indexOf("<")>-1?Zi.slice(0,Zi.indexOf("<")):Zi;return un.showHeader&&un.showHeaderFooter?Qn.createElement(Mt.default,{style:{background:`${hn.pathname=="/training"?"rgba(0,0,0,0)":""}`},className:`${un.isIlearning?Wt["header-iearning"]:Wt.header} ${un.showHeaderFixed?Wt.headerFixed:""}`},(un==null?void 0:un.showTip)&&Qn.createElement(Hi,null),Qn.createElement(ki,{className:"header",style:{background:`${hn.pathname=="/training"?"rgba(0,0,0,0)":""}`,zIndex:`${hn.pathname=="/training"?"999":""}`}},Qn.createElement("section",{className:Wt["edu-menu"]},(!!un.isIlearning||!((Qr=un==null?void 0:un.setting)!=null&&Qr.main_site)&&!!((Lo=un==null?void 0:un.setting)!=null&&Lo.navbar))&&Qn.createElement(it.Link,{style:{display:"flex",alignItems:"center"},onClick:()=>{Ii({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},to:"/"},Qn.createElement("img",{className:Wt.logo,title:(Nn=un.setting)==null?void 0:Nn.name,src:ln||Wi})),Qn.createElement("ul",{className:`${Wt.menu} ${(0,Oe.Ll)()&&"ml0"}`},(0,Oe.Ll)()&&Qn.createElement("li",null,Qn.createElement("a",{href:"/"},"\u8003\u8BD5\u7CFB\u7EDF")),!(0,Oe.Ll)()&&un.setting&&Ir.map(function(Zi,xr){var oo,Bn,gi,Ze,Io;return Qn.createElement("li",{key:xr,className:!((oo=Zi==null?void 0:Zi.subitem)!=null&&oo.length)&&er===(Zi==null?void 0:Zi.link)||(Bn=Zi==null?void 0:Zi.subitem)!=null&&Bn.some(no=>er===(no==null?void 0:no.link))?Wt.actived:""},Qn.createElement("div",{onClick:()=>fr(Zi,xr),className:Wt.name},Qn.createElement("span",{dangerouslySetInnerHTML:{__html:(()=>{var no;let rr=Zi==null?void 0:Zi.name;return(no=Zi==null?void 0:Zi.subitem)==null||no.map((qi,Xi)=>(qi.link===hn.pathname&&(rr=qi.name),qi)),rr})()}}),((gi=Zi==null?void 0:Zi.subitem)==null?void 0:gi.length)>0&&Qn.createElement("i",{className:"iconfont icon-zhankai4"})),((Ze=Zi==null?void 0:Zi.subitem)==null?void 0:Ze.length)>0&&Qn.createElement("div",{className:Wt.dropDown},(Io=Zi==null?void 0:Zi.subitem)==null?void 0:Io.map((no,rr)=>Qn.createElement("div",{className:Wt.subName,onClick:()=>fr(no,xr),key:xr+"-"+rr},!!rr&&Qn.createElement("div",{className:Wt.line}),Qn.createElement("aside",{className:"font16 c-black"},Zr(no.name)),Qn.createElement("div",{className:"font14",style:{color:"#9FA7B3",whiteSpace:"nowrap"}},no.content)))))})),Qn.createElement("div",{className:"search-bar",style:{flex:un.isIlearning?"initial":"1 0 auto"}},!(0,Oe.Ll)()&&!(un!=null&&un.isIlearning)&&Qn.createElement(Qn.Fragment,null,Qn.createElement(Rn,null),!Ri&&Qn.createElement(En,null),!Ri&&!!((ja=Ft==null?void 0:Ft.userInfo)!=null&&ja.login)&&Qn.createElement(it.Link,{className:"iconfont icon-xiaoxilingdang c-white ml15 mr15 font18 relative",to:`/messages/${(co=Ft==null?void 0:Ft.userInfo)==null?void 0:co.login}/user_tidings`},((Kr=Ft==null?void 0:Ft.navigationInfo)==null?void 0:Kr.new_message)&&Qn.createElement("span",{className:Wt.newslight}))),!Ri&&Qn.createElement(rt,{payload:Yn}))),Qn.createElement(Dt.default,{centered:!0,destroyOnClose:!0,open:ui,title:"\u63D0\u793A",width:"500px",okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Oe.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=DWdqQHAbbfw7_rqm0d-Q_vDn5H6bMp91&jump_from=webapi")},onCancel:()=>Ci(!1)},Qn.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},Qn.createElement("p",null,"\u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650"),Qn.createElement("img",{src:`${mn.Z.IMG_SERVER}/${(sn=un==null?void 0:un.setting)==null?void 0:sn.homepage_tea_qq_qrcode_url}`,width:200,height:200,className:"mb10"}),Qn.createElement("p",null,"\u7FA4\u53F7\uFF1A",(Vt=un==null?void 0:un.setting)==null?void 0:Vt.homepage_tea_qq_number)))),Qn.createElement(So,null)):Qn.createElement(Qn.Fragment,null)};var Di=(0,it.connect)(({homePage:Cn,loading:Kn,user:Lt,globalSetting:Ft,shixunHomeworks:un})=>({homePage:Cn,user:Lt,globalSetting:Ft,loading:Kn.models.index,shixunHomeworks:un}))(Et)},16406:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Yt}});var ue=Pe(59301),it={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Mt=Pe(92310),kt=Pe.n(Mt),Dt=Pe(71418);var Wt=function(Ie,Ce){return(Wt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ee,Te){Ee.__proto__=Te}||function(Ee,Te){for(var Ue in Te)Object.prototype.hasOwnProperty.call(Te,Ue)&&(Ee[Ue]=Te[Ue])})(Ie,Ce)};function Ve(Ie,Ce){function Ee(){this.constructor=Ie}Wt(Ie,Ce),Ie.prototype=Ce===null?Object.create(Ce):(Ee.prototype=Ce.prototype,new Ee)}function bt(Ie,Ce,Ee,Te){return new(Ee||(Ee=Promise))(function(Ue,Le){function rt(an){try{fn(Te.next(an))}catch($t){Le($t)}}function Sn(an){try{fn(Te.throw(an))}catch($t){Le($t)}}function fn(an){var $t;an.done?Ue(an.value):($t=an.value,$t instanceof Ee?$t:new Ee(function(fi){fi($t)})).then(rt,Sn)}fn((Te=Te.apply(Ie,Ce||[])).next())})}function wt(Ie,Ce){var Ee,Te,Ue,Le,rt={label:0,sent:function(){if(1&Ue[0])throw Ue[1];return Ue[1]},trys:[],ops:[]};return Le={next:Sn(0),throw:Sn(1),return:Sn(2)},typeof Symbol=="function"&&(Le[Symbol.iterator]=function(){return this}),Le;function Sn(fn){return function(an){return function($t){if(Ee)throw new TypeError("Generator is already executing.");for(;rt;)try{if(Ee=1,Te&&(Ue=2&$t[0]?Te.return:$t[0]?Te.throw||((Ue=Te.return)&&Ue.call(Te),0):Te.next)&&!(Ue=Ue.call(Te,$t[1])).done)return Ue;switch(Te=0,Ue&&($t=[2&$t[0],Ue.value]),$t[0]){case 0:case 1:Ue=$t;break;case 4:return rt.label++,{value:$t[1],done:!1};case 5:rt.label++,Te=$t[1],$t=[0];continue;case 7:$t=rt.ops.pop(),rt.trys.pop();continue;default:if(Ue=rt.trys,!((Ue=Ue.length>0&&Ue[Ue.length-1])||$t[0]!==6&&$t[0]!==2)){rt=0;continue}if($t[0]===3&&(!Ue||$t[1]>Ue[0]&&$t[1]')||this;return rt.colors=[],rt.addTransparent=!1,rt.colorBoxes=[],rt.colors=Te,rt.currentColor=Ue,rt.setCurrentColor=rt.setCurrentColor.bind(rt),rt.getColorBox=rt.getColorBox.bind(rt),rt}return Ve(Ce,Ie),Ce.prototype.getUi=function(){var Ee=this,Te=document.createElement("div");return Te.style.overflow="hidden",Te.style.whiteSpace="nowrap",this.colors.forEach(function(Ue){var Le=Ee.getColorBox(Ue);Te.appendChild(Le),Ee.colorBoxes.push(Le)}),Te},Ce.prototype.getColorBox=function(Ee){var Te=this,Ue=this.uiStyleSettings.toolbarHeight/4,Le=this.uiStyleSettings.toolbarHeight-Ue,rt=document.createElement("div");rt.style.display="inline-block",rt.style.boxSizing="content-box",rt.style.width=Le-2+"px",rt.style.height=Le-2+"px",rt.style.padding="1px",rt.style.marginRight="2px",rt.style.marginBottom="2px",rt.style.borderWidth="2px",rt.style.borderStyle="solid",rt.style.borderRadius=(Le+2)/2+"px",rt.style.borderColor=Ee===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",rt.addEventListener("click",function(){Te.setCurrentColor(Ee,rt)});var Sn=document.createElement("div");return Sn.style.display="inline-block",Sn.style.width=Le-2+"px",Sn.style.height=Le-2+"px",Sn.style.backgroundColor=Ee,Sn.style.borderRadius=Le/2+"px",Ee==="transparent"&&(Sn.style.fill=this.uiStyleSettings.toolboxAccentColor,Sn.innerHTML=` - `),rt.appendChild(Sn),rt},Ce.prototype.setCurrentColor=function(Ee,Te){var Ue=this;this.currentColor=Ee,this.colorBoxes.forEach(function(Le){Le.style.borderColor=Le===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(Ee)},Ce}(xe),Me=function(){function Ie(Ce,Ee,Te){this._state="new",this._isSelected=!1,this._container=Ce,this._overlayContainer=Ee,this.globalSettings=Te,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Ie.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Ie.prototype.ownsTarget=function(Ce){return!1},Object.defineProperty(Ie.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Ie.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Ie.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Ie.prototype.pointerDown=function(Ce,Ee){},Ie.prototype.dblClick=function(Ce,Ee){},Ie.prototype.manipulate=function(Ce){},Ie.prototype.pointerUp=function(Ce){this.stateChanged()},Ie.prototype.dispose=function(){},Ie.prototype.addMarkerVisualToContainer=function(Ce){this.container.childNodes.length>0?this.container.insertBefore(Ce,this.container.childNodes[0]):this.container.appendChild(Ce)},Ie.prototype.getState=function(){return{typeName:Ie.typeName,state:this.state,notes:this.notes}},Ie.prototype.restoreState=function(Ce){this._state=Ce.state,this.notes=Ce.notes},Ie.prototype.scale=function(Ce,Ee){},Ie.prototype.colorChanged=function(Ce){this.onColorChanged&&this.onColorChanged(Ce),this.stateChanged()},Ie.prototype.fillColorChanged=function(Ce){this.onFillColorChanged&&this.onFillColorChanged(Ce),this.stateChanged()},Ie.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var Ce=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),Ce.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(Ce)&&this.onStateChanged(this)}},Ie.typeName="MarkerBase",Ie}(),ke=function(){function Ie(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Ie.prototype.findGripByVisual=function(Ce){return this.topLeft.ownsTarget(Ce)?this.topLeft:this.topCenter.ownsTarget(Ce)?this.topCenter:this.topRight.ownsTarget(Ce)?this.topRight:this.centerLeft.ownsTarget(Ce)?this.centerLeft:this.centerRight.ownsTarget(Ce)?this.centerRight:this.bottomLeft.ownsTarget(Ce)?this.bottomLeft:this.bottomCenter.ownsTarget(Ce)?this.bottomCenter:this.bottomRight.ownsTarget(Ce)?this.bottomRight:void 0},Ie}(),lt=function(){function Ie(){this.GRIP_SIZE=10,this.visual=St.createGroup(),this.visual.appendChild(St.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(St.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Ie.prototype.ownsTarget=function(Ce){return Ce===this.visual||Ce===this.visual.childNodes[0]||Ce===this.visual.childNodes[1]},Ie}(),dt=function(){function Ie(){}return Ie.toITransformMatrix=function(Ce){return{a:Ce.a,b:Ce.b,c:Ce.c,d:Ce.d,e:Ce.e,f:Ce.f}},Ie.toSVGMatrix=function(Ce,Ee){return Ce.a=Ee.a,Ce.b=Ee.b,Ce.c=Ee.c,Ce.d=Ee.d,Ce.e=Ee.e,Ce.f=Ee.f,Ce},Ie}(),yt=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.left=0,Le.top=0,Le.width=0,Le.height=0,Le.defaultSize={x:50,y:20},Le.offsetX=0,Le.offsetY=0,Le.rotationAngle=0,Le.CB_DISTANCE=10,Le._suppressMarkerCreateEvent=!1,Le.container.transform.baseVal.appendItem(St.createTransform()),Le.setupControlBox(),Le}return Ve(Ce,Ie),Object.defineProperty(Ce.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"visual",{get:function(){return this._visual},set:function(Ee){this._visual=Ee;var Te=St.createTransform();this._visual.transform.baseVal.appendItem(Te)},enumerable:!1,configurable:!0}),Ce.prototype.ownsTarget=function(Ee){return!!Ie.prototype.ownsTarget.call(this,Ee)||!!(this.controlGrips.findGripByVisual(Ee)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Ee))},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.state==="new"&&(this.left=Ee.x,this.top=Ee.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var Ue=this.unrotatePoint(Ee);if(this.manipulationStartX=Ue.x,this.manipulationStartY=Ue.y,this.offsetX=Ue.x-this.left,this.offsetY=Ue.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(Te),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Te)){this.activeGrip=this.rotatorGrip;var Le=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=Le.x-this.width/2,this.top=Le.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var rt=this.container.transform.baseVal.getItem(0);rt.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(rt,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},Ce.prototype.pointerUp=function(Ee){var Te=this.state;Ie.prototype.pointerUp.call(this,Ee),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(Ee),this._state="select",Te==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},Ce.prototype.moveVisual=function(Ee){this.visual.style.transform="translate("+Ee.x+"px, "+Ee.y+"px)"},Ce.prototype.manipulate=function(Ee){var Te=this.unrotatePoint(Ee);this.state==="creating"?this.resize(Ee):this.state==="move"?(this.left=this.manipulationStartLeft+(Te.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(Te.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(Te):this.state==="rotate"&&this.rotate(Ee)},Ce.prototype.resize=function(Ee){var Te=this.manipulationStartLeft,Ue=this.manipulationStartWidth,Le=this.manipulationStartTop,rt=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:Te=this.manipulationStartLeft+Ee.x-this.manipulationStartX,Ue=this.manipulationStartWidth+this.manipulationStartLeft-Te;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:Ue=this.manipulationStartWidth+Ee.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:Le=this.manipulationStartTop+Ee.y-this.manipulationStartY,rt=this.manipulationStartHeight+this.manipulationStartTop-Le;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:rt=this.manipulationStartHeight+Ee.y-this.manipulationStartY}Ue>=0?(this.left=Te,this.width=Ue):(this.left=Te+Ue,this.width=-Ue),rt>=0?(this.top=Le,this.height=rt):(this.top=Le+rt,this.height=-rt),this.setSize()},Ce.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},Ce.prototype.rotate=function(Ee){if(Math.abs(Ee.x-this.centerX)>.1){var Te=Math.sign(Ee.x-this.centerX);this.rotationAngle=180*Math.atan((Ee.y-this.centerY)/(Ee.x-this.centerX))/Math.PI+90*Te,this.applyRotation()}},Ce.prototype.applyRotation=function(){var Ee=this.container.transform.baseVal.getItem(0);Ee.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Ee,0)},Ce.prototype.rotatePoint=function(Ee){if(this.rotationAngle===0)return Ee;var Te=this.container.getCTM(),Ue=St.createPoint(Ee.x,Ee.y);return{x:(Ue=Ue.matrixTransform(Te)).x,y:Ue.y}},Ce.prototype.unrotatePoint=function(Ee){if(this.rotationAngle===0)return Ee;var Te=this.container.getCTM();Te=Te.inverse();var Ue=St.createPoint(Ee.x,Ee.y);return{x:(Ue=Ue.matrixTransform(Te)).x,y:Ue.y}},Ce.prototype.select=function(){Ie.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},Ce.prototype.deselect=function(){Ie.prototype.deselect.call(this),this.controlBox.style.display="none"},Ce.prototype.setupControlBox=function(){this.controlBox=St.createGroup();var Ee=St.createTransform();Ee.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(Ee),this.container.appendChild(this.controlBox),this.controlRect=St.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=St.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new ke,this.addControlGrips(),this.controlBox.style.display="none"},Ce.prototype.adjustControlBox=function(){var Ee=this.controlBox.transform.baseVal.getItem(0);Ee.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(Ee,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},Ce.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},Ce.prototype.createGrip=function(){var Ee=new lt;return Ee.visual.transform.baseVal.appendItem(St.createTransform()),this.controlBox.appendChild(Ee.visual),Ee},Ce.prototype.positionGrips=function(){var Ee=this.controlGrips.topLeft.GRIP_SIZE,Te=-Ee/2,Ue=Te,Le=(this.width+this.CB_DISTANCE)/2-Ee/2,rt=(this.height+this.CB_DISTANCE)/2-Ee/2,Sn=this.height+this.CB_DISTANCE-Ee/2,fn=this.width+this.CB_DISTANCE-Ee/2;this.positionGrip(this.controlGrips.topLeft.visual,Te,Ue),this.positionGrip(this.controlGrips.topCenter.visual,Le,Ue),this.positionGrip(this.controlGrips.topRight.visual,fn,Ue),this.positionGrip(this.controlGrips.centerLeft.visual,Te,rt),this.positionGrip(this.controlGrips.centerRight.visual,fn,rt),this.positionGrip(this.controlGrips.bottomLeft.visual,Te,Sn),this.positionGrip(this.controlGrips.bottomCenter.visual,Le,Sn),this.positionGrip(this.controlGrips.bottomRight.visual,fn,Sn),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,Le,Ue-3*this.CB_DISTANCE)},Ce.prototype.positionGrip=function(Ee,Te,Ue){var Le=Ee.transform.baseVal.getItem(0);Le.setTranslate(Te,Ue),Ee.transform.baseVal.replaceItem(Le,0)},Ce.prototype.hideControlBox=function(){this.controlBox.style.display="none"},Ce.prototype.showControlBox=function(){this.controlBox.style.display=""},Ce.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:dt.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:dt.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Ie.prototype.getState.call(this))},Ce.prototype.restoreState=function(Ee){Ie.prototype.restoreState.call(this,Ee);var Te=Ee;this.left=Te.left,this.top=Te.top,this.width=Te.width,this.height=Te.height,this.rotationAngle=Te.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(dt.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,Te.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(dt.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,Te.containerTransformMatrix))},Ce.prototype.scale=function(Ee,Te){Ie.prototype.scale.call(this,Ee,Te);var Ue=this.rotatePoint({x:this.left,y:this.top}),Le=this.unrotatePoint({x:Ue.x*Ee,y:Ue.y*Te});this.left=Le.x,this.top=Le.y,this.width=this.width*Ee,this.height=this.height*Te,this.adjustControlBox()},Ce}(Me),ut=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.fillColor="transparent",Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.opacity=1,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setFillColor=Le.setFillColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.createVisual=Le.createVisual.bind(Le),Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return!(!Ie.prototype.ownsTarget.call(this,Ee)&&Ee!==this.visual)},Ce.prototype.createVisual=function(){this.visual=St.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.state==="new"&&(this.createVisual(),this.moveVisual(Ee),this._state="creating")},Ce.prototype.manipulate=function(Ee){Ie.prototype.manipulate.call(this,Ee)},Ce.prototype.resize=function(Ee){Ie.prototype.resize.call(this,Ee),this.setSize()},Ce.prototype.setSize=function(){Ie.prototype.setSize.call(this),St.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},Ce.prototype.pointerUp=function(Ee){Ie.prototype.pointerUp.call(this,Ee),this.setSize()},Ce.prototype.setStrokeColor=function(Ee){this.strokeColor=Ee,this.visual&&St.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(Ee),this.stateChanged()},Ce.prototype.setFillColor=function(Ee){this.fillColor=Ee,this.visual&&St.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},Ce.prototype.setStrokeWidth=function(Ee){this.strokeWidth=Ee,this.visual&&St.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Ce.prototype.setStrokeDasharray=function(Ee){this.strokeDasharray=Ee,this.visual&&St.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Ce.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ie.prototype.getState.call(this))},Ce.prototype.restoreState=function(Ee){var Te=Ee;this.fillColor=Te.fillColor,this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.opacity=Te.opacity,this.createVisual(),Ie.prototype.restoreState.call(this,Ee),this.setSize()},Ce.prototype.scale=function(Ee,Te){Ie.prototype.scale.call(this,Ee,Te),this.setSize()},Ce.title="Rectangle marker",Ce}(yt),Tt=function(Ie){function Ce(Ee,Te,Ue,Le){var rt=Ie.call(this,Ee,Le||'')||this;return rt.widths=[],rt.widthBoxes=[],rt.widths=Te,rt.currentWidth=Ue,rt.setCurrentWidth=rt.setCurrentWidth.bind(rt),rt}return Ve(Ce,Ie),Ce.prototype.getUi=function(){var Ee=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",this.widths.forEach(function(Ue){var Le=document.createElement("div");Le.style.display="flex",Le.style.flexGrow="2",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.borderColor=Ue===Ee.currentWidth?Ee.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){Ee.setCurrentWidth(Ue,Le)}),Te.appendChild(Le);var rt=document.createElement("div");rt.innerText=Ue.toString(),rt.style.marginRight="5px",Le.appendChild(rt);var Sn=document.createElement("div");Sn.style.minHeight="20px",Sn.style.flexGrow="2",Sn.style.display="flex",Sn.style.alignItems="center";var fn=document.createElement("hr");fn.style.minWidth="20px",fn.style.border="0px",fn.style.borderTop=Ue+"px solid "+Ee.uiStyleSettings.toolboxColor,fn.style.flexGrow="2",Sn.appendChild(fn),Le.appendChild(Sn),Ee.widthBoxes.push(Le)}),Te},Ce.prototype.setCurrentWidth=function(Ee,Te){var Ue=this;this.currentWidth=Ee,this.widthBoxes.forEach(function(Le){Le.style.borderColor=Le===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},Ce}(xe),xt=function(Ie){function Ce(Ee,Te,Ue,Le){var rt=Ie.call(this,Ee,Le||'')||this;return rt.styles=[],rt.styleBoxes=[],rt.styles=Te,rt.currentStyle=Ue,rt.setCurrentStyle=rt.setCurrentStyle.bind(rt),rt}return Ve(Ce,Ie),Ce.prototype.getUi=function(){var Ee=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",this.styles.forEach(function(Ue){var Le=document.createElement("div");Le.style.display="flex",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.overflow="hidden",Le.style.maxWidth=100/Ee.styles.length-5+"%",Le.style.borderColor=Ue===Ee.currentStyle?Ee.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){Ee.setCurrentStyle(Ue,Le)}),Te.appendChild(Le);var rt=document.createElement("div");rt.style.minHeight="20px",rt.style.flexGrow="2",rt.style.overflow="hidden";var Sn=` + `),rt.appendChild(Sn),rt},Ce.prototype.setCurrentColor=function(Ee,Te){var Ue=this;this.currentColor=Ee,this.colorBoxes.forEach(function(Le){Le.style.borderColor=Le===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(Ee)},Ce}(xe),Me=function(){function Ie(Ce,Ee,Te){this._state="new",this._isSelected=!1,this._container=Ce,this._overlayContainer=Ee,this.globalSettings=Te,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Ie.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Ie.prototype.ownsTarget=function(Ce){return!1},Object.defineProperty(Ie.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Ie.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Ie.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Ie.prototype.pointerDown=function(Ce,Ee){},Ie.prototype.dblClick=function(Ce,Ee){},Ie.prototype.manipulate=function(Ce){},Ie.prototype.pointerUp=function(Ce){this.stateChanged()},Ie.prototype.dispose=function(){},Ie.prototype.addMarkerVisualToContainer=function(Ce){this.container.childNodes.length>0?this.container.insertBefore(Ce,this.container.childNodes[0]):this.container.appendChild(Ce)},Ie.prototype.getState=function(){return{typeName:Ie.typeName,state:this.state,notes:this.notes}},Ie.prototype.restoreState=function(Ce){this._state=Ce.state,this.notes=Ce.notes},Ie.prototype.scale=function(Ce,Ee){},Ie.prototype.colorChanged=function(Ce){this.onColorChanged&&this.onColorChanged(Ce),this.stateChanged()},Ie.prototype.fillColorChanged=function(Ce){this.onFillColorChanged&&this.onFillColorChanged(Ce),this.stateChanged()},Ie.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var Ce=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),Ce.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(Ce)&&this.onStateChanged(this)}},Ie.typeName="MarkerBase",Ie}(),ke=function(){function Ie(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Ie.prototype.findGripByVisual=function(Ce){return this.topLeft.ownsTarget(Ce)?this.topLeft:this.topCenter.ownsTarget(Ce)?this.topCenter:this.topRight.ownsTarget(Ce)?this.topRight:this.centerLeft.ownsTarget(Ce)?this.centerLeft:this.centerRight.ownsTarget(Ce)?this.centerRight:this.bottomLeft.ownsTarget(Ce)?this.bottomLeft:this.bottomCenter.ownsTarget(Ce)?this.bottomCenter:this.bottomRight.ownsTarget(Ce)?this.bottomRight:void 0},Ie}(),lt=function(){function Ie(){this.GRIP_SIZE=10,this.visual=St.createGroup(),this.visual.appendChild(St.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(St.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Ie.prototype.ownsTarget=function(Ce){return Ce===this.visual||Ce===this.visual.childNodes[0]||Ce===this.visual.childNodes[1]},Ie}(),dt=function(){function Ie(){}return Ie.toITransformMatrix=function(Ce){return{a:Ce.a,b:Ce.b,c:Ce.c,d:Ce.d,e:Ce.e,f:Ce.f}},Ie.toSVGMatrix=function(Ce,Ee){return Ce.a=Ee.a,Ce.b=Ee.b,Ce.c=Ee.c,Ce.d=Ee.d,Ce.e=Ee.e,Ce.f=Ee.f,Ce},Ie}(),yt=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.left=0,Le.top=0,Le.width=0,Le.height=0,Le.defaultSize={x:50,y:20},Le.offsetX=0,Le.offsetY=0,Le.rotationAngle=0,Le.CB_DISTANCE=10,Le._suppressMarkerCreateEvent=!1,Le.container.transform.baseVal.appendItem(St.createTransform()),Le.setupControlBox(),Le}return Ve(Ce,Ie),Object.defineProperty(Ce.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"visual",{get:function(){return this._visual},set:function(Ee){this._visual=Ee;var Te=St.createTransform();this._visual.transform.baseVal.appendItem(Te)},enumerable:!1,configurable:!0}),Ce.prototype.ownsTarget=function(Ee){return!!Ie.prototype.ownsTarget.call(this,Ee)||!!(this.controlGrips.findGripByVisual(Ee)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Ee))},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.state==="new"&&(this.left=Ee.x,this.top=Ee.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var Ue=this.unrotatePoint(Ee);if(this.manipulationStartX=Ue.x,this.manipulationStartY=Ue.y,this.offsetX=Ue.x-this.left,this.offsetY=Ue.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(Te),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Te)){this.activeGrip=this.rotatorGrip;var Le=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=Le.x-this.width/2,this.top=Le.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var rt=this.container.transform.baseVal.getItem(0);rt.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(rt,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},Ce.prototype.pointerUp=function(Ee){var Te=this.state;Ie.prototype.pointerUp.call(this,Ee),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(Ee),this._state="select",Te==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},Ce.prototype.moveVisual=function(Ee){this.visual.style.transform="translate("+Ee.x+"px, "+Ee.y+"px)"},Ce.prototype.manipulate=function(Ee){var Te=this.unrotatePoint(Ee);this.state==="creating"?this.resize(Ee):this.state==="move"?(this.left=this.manipulationStartLeft+(Te.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(Te.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(Te):this.state==="rotate"&&this.rotate(Ee)},Ce.prototype.resize=function(Ee){var Te=this.manipulationStartLeft,Ue=this.manipulationStartWidth,Le=this.manipulationStartTop,rt=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:Te=this.manipulationStartLeft+Ee.x-this.manipulationStartX,Ue=this.manipulationStartWidth+this.manipulationStartLeft-Te;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:Ue=this.manipulationStartWidth+Ee.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:Le=this.manipulationStartTop+Ee.y-this.manipulationStartY,rt=this.manipulationStartHeight+this.manipulationStartTop-Le;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:rt=this.manipulationStartHeight+Ee.y-this.manipulationStartY}Ue>=0?(this.left=Te,this.width=Ue):(this.left=Te+Ue,this.width=-Ue),rt>=0?(this.top=Le,this.height=rt):(this.top=Le+rt,this.height=-rt),this.setSize()},Ce.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},Ce.prototype.rotate=function(Ee){if(Math.abs(Ee.x-this.centerX)>.1){var Te=Math.sign(Ee.x-this.centerX);this.rotationAngle=180*Math.atan((Ee.y-this.centerY)/(Ee.x-this.centerX))/Math.PI+90*Te,this.applyRotation()}},Ce.prototype.applyRotation=function(){var Ee=this.container.transform.baseVal.getItem(0);Ee.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Ee,0)},Ce.prototype.rotatePoint=function(Ee){if(this.rotationAngle===0)return Ee;var Te=this.container.getCTM(),Ue=St.createPoint(Ee.x,Ee.y);return{x:(Ue=Ue.matrixTransform(Te)).x,y:Ue.y}},Ce.prototype.unrotatePoint=function(Ee){if(this.rotationAngle===0)return Ee;var Te=this.container.getCTM();Te=Te.inverse();var Ue=St.createPoint(Ee.x,Ee.y);return{x:(Ue=Ue.matrixTransform(Te)).x,y:Ue.y}},Ce.prototype.select=function(){Ie.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},Ce.prototype.deselect=function(){Ie.prototype.deselect.call(this),this.controlBox.style.display="none"},Ce.prototype.setupControlBox=function(){this.controlBox=St.createGroup();var Ee=St.createTransform();Ee.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(Ee),this.container.appendChild(this.controlBox),this.controlRect=St.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=St.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new ke,this.addControlGrips(),this.controlBox.style.display="none"},Ce.prototype.adjustControlBox=function(){var Ee=this.controlBox.transform.baseVal.getItem(0);Ee.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(Ee,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},Ce.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},Ce.prototype.createGrip=function(){var Ee=new lt;return Ee.visual.transform.baseVal.appendItem(St.createTransform()),this.controlBox.appendChild(Ee.visual),Ee},Ce.prototype.positionGrips=function(){var Ee=this.controlGrips.topLeft.GRIP_SIZE,Te=-Ee/2,Ue=Te,Le=(this.width+this.CB_DISTANCE)/2-Ee/2,rt=(this.height+this.CB_DISTANCE)/2-Ee/2,Sn=this.height+this.CB_DISTANCE-Ee/2,fn=this.width+this.CB_DISTANCE-Ee/2;this.positionGrip(this.controlGrips.topLeft.visual,Te,Ue),this.positionGrip(this.controlGrips.topCenter.visual,Le,Ue),this.positionGrip(this.controlGrips.topRight.visual,fn,Ue),this.positionGrip(this.controlGrips.centerLeft.visual,Te,rt),this.positionGrip(this.controlGrips.centerRight.visual,fn,rt),this.positionGrip(this.controlGrips.bottomLeft.visual,Te,Sn),this.positionGrip(this.controlGrips.bottomCenter.visual,Le,Sn),this.positionGrip(this.controlGrips.bottomRight.visual,fn,Sn),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,Le,Ue-3*this.CB_DISTANCE)},Ce.prototype.positionGrip=function(Ee,Te,Ue){var Le=Ee.transform.baseVal.getItem(0);Le.setTranslate(Te,Ue),Ee.transform.baseVal.replaceItem(Le,0)},Ce.prototype.hideControlBox=function(){this.controlBox.style.display="none"},Ce.prototype.showControlBox=function(){this.controlBox.style.display=""},Ce.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:dt.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:dt.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Ie.prototype.getState.call(this))},Ce.prototype.restoreState=function(Ee){Ie.prototype.restoreState.call(this,Ee);var Te=Ee;this.left=Te.left,this.top=Te.top,this.width=Te.width,this.height=Te.height,this.rotationAngle=Te.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(dt.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,Te.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(dt.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,Te.containerTransformMatrix))},Ce.prototype.scale=function(Ee,Te){Ie.prototype.scale.call(this,Ee,Te);var Ue=this.rotatePoint({x:this.left,y:this.top}),Le=this.unrotatePoint({x:Ue.x*Ee,y:Ue.y*Te});this.left=Le.x,this.top=Le.y,this.width=this.width*Ee,this.height=this.height*Te,this.adjustControlBox()},Ce}(Me),ut=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.fillColor="transparent",Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.opacity=1,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setFillColor=Le.setFillColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.createVisual=Le.createVisual.bind(Le),Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return!(!Ie.prototype.ownsTarget.call(this,Ee)&&Ee!==this.visual)},Ce.prototype.createVisual=function(){this.visual=St.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.state==="new"&&(this.createVisual(),this.moveVisual(Ee),this._state="creating")},Ce.prototype.manipulate=function(Ee){Ie.prototype.manipulate.call(this,Ee)},Ce.prototype.resize=function(Ee){Ie.prototype.resize.call(this,Ee),this.setSize()},Ce.prototype.setSize=function(){Ie.prototype.setSize.call(this),St.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},Ce.prototype.pointerUp=function(Ee){Ie.prototype.pointerUp.call(this,Ee),this.setSize()},Ce.prototype.setStrokeColor=function(Ee){this.strokeColor=Ee,this.visual&&St.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(Ee),this.stateChanged()},Ce.prototype.setFillColor=function(Ee){this.fillColor=Ee,this.visual&&St.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},Ce.prototype.setStrokeWidth=function(Ee){this.strokeWidth=Ee,this.visual&&St.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Ce.prototype.setStrokeDasharray=function(Ee){this.strokeDasharray=Ee,this.visual&&St.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Ce.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ie.prototype.getState.call(this))},Ce.prototype.restoreState=function(Ee){var Te=Ee;this.fillColor=Te.fillColor,this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.opacity=Te.opacity,this.createVisual(),Ie.prototype.restoreState.call(this,Ee),this.setSize()},Ce.prototype.scale=function(Ee,Te){Ie.prototype.scale.call(this,Ee,Te),this.setSize()},Ce.title="Rectangle marker",Ce}(yt),Ot=function(Ie){function Ce(Ee,Te,Ue,Le){var rt=Ie.call(this,Ee,Le||'')||this;return rt.widths=[],rt.widthBoxes=[],rt.widths=Te,rt.currentWidth=Ue,rt.setCurrentWidth=rt.setCurrentWidth.bind(rt),rt}return Ve(Ce,Ie),Ce.prototype.getUi=function(){var Ee=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",this.widths.forEach(function(Ue){var Le=document.createElement("div");Le.style.display="flex",Le.style.flexGrow="2",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.borderColor=Ue===Ee.currentWidth?Ee.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){Ee.setCurrentWidth(Ue,Le)}),Te.appendChild(Le);var rt=document.createElement("div");rt.innerText=Ue.toString(),rt.style.marginRight="5px",Le.appendChild(rt);var Sn=document.createElement("div");Sn.style.minHeight="20px",Sn.style.flexGrow="2",Sn.style.display="flex",Sn.style.alignItems="center";var fn=document.createElement("hr");fn.style.minWidth="20px",fn.style.border="0px",fn.style.borderTop=Ue+"px solid "+Ee.uiStyleSettings.toolboxColor,fn.style.flexGrow="2",Sn.appendChild(fn),Le.appendChild(Sn),Ee.widthBoxes.push(Le)}),Te},Ce.prototype.setCurrentWidth=function(Ee,Te){var Ue=this;this.currentWidth=Ee,this.widthBoxes.forEach(function(Le){Le.style.borderColor=Le===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},Ce}(xe),xt=function(Ie){function Ce(Ee,Te,Ue,Le){var rt=Ie.call(this,Ee,Le||'')||this;return rt.styles=[],rt.styleBoxes=[],rt.styles=Te,rt.currentStyle=Ue,rt.setCurrentStyle=rt.setCurrentStyle.bind(rt),rt}return Ve(Ce,Ie),Ce.prototype.getUi=function(){var Ee=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",this.styles.forEach(function(Ue){var Le=document.createElement("div");Le.style.display="flex",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.overflow="hidden",Le.style.maxWidth=100/Ee.styles.length-5+"%",Le.style.borderColor=Ue===Ee.currentStyle?Ee.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){Ee.setCurrentStyle(Ue,Le)}),Te.appendChild(Le);var rt=document.createElement("div");rt.style.minHeight="20px",rt.style.flexGrow="2",rt.style.overflow="hidden";var Sn=` - `;rt.innerHTML=Sn,Le.appendChild(rt),Ee.styleBoxes.push(Le)}),Te},Ce.prototype.setCurrentStyle=function(Ee,Te){var Ue=this;this.currentStyle=Ee,this.styleBoxes.forEach(function(Le){Le.style.borderColor=Le===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},Ce}(xe),Nt=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.strokeColor=Ue.defaultColor,Le.strokeWidth=Ue.defaultStrokeWidth,Le.strokeDasharray=Ue.defaultStrokeDasharray,Le.strokePanel=new Ae("Line color",Ue.defaultColorSet,Ue.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new Tt("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new xt("Line style",Ue.defaultStrokeDasharrays,Ue.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return Ve(Ce,Ie),Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Ie.prototype.getState.call(this);return Ee.typeName=Ce.typeName,Ee},Ce.typeName="FrameMarker",Ce.title="Frame marker",Ce.icon='',Ce}(ut),Jt=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},vn=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.x1=0,Le.y1=0,Le.x2=0,Le.y2=0,Le.defaultLength=50,Le.manipulationStartX=0,Le.manipulationStartY=0,Le.manipulationStartX1=0,Le.manipulationStartY1=0,Le.manipulationStartX2=0,Le.manipulationStartY2=0,Le.setupControlBox(),Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return!!Ie.prototype.ownsTarget.call(this,Ee)||!(!this.grip1.ownsTarget(Ee)&&!this.grip2.ownsTarget(Ee))},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.manipulationStartX=Ee.x,this.manipulationStartY=Ee.y,this.state==="new"&&(this.x1=Ee.x,this.y1=Ee.y,this.x2=Ee.x,this.y2=Ee.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(Te)?this.activeGrip=this.grip1:this.grip2.ownsTarget(Te)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},Ce.prototype.pointerUp=function(Ee){var Te=this.state;Ie.prototype.pointerUp.call(this,Ee),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(Ee),this._state="select",Te==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},Ce.prototype.adjustVisual=function(){},Ce.prototype.manipulate=function(Ee){this.state==="creating"?this.resize(Ee):this.state==="move"?(this.x1=this.manipulationStartX1+Ee.x-this.manipulationStartX,this.y1=this.manipulationStartY1+Ee.y-this.manipulationStartY,this.x2=this.manipulationStartX2+Ee.x-this.manipulationStartX,this.y2=this.manipulationStartY2+Ee.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(Ee)},Ce.prototype.resize=function(Ee){switch(this.activeGrip){case this.grip1:this.x1=Ee.x,this.y1=Ee.y;break;case this.grip2:case void 0:this.x2=Ee.x,this.y2=Ee.y}this.adjustVisual(),this.adjustControlBox()},Ce.prototype.select=function(){Ie.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},Ce.prototype.deselect=function(){Ie.prototype.deselect.call(this),this.controlBox.style.display="none"},Ce.prototype.setupControlBox=function(){this.controlBox=St.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},Ce.prototype.adjustControlBox=function(){this.positionGrips()},Ce.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},Ce.prototype.createGrip=function(){var Ee=new lt;return Ee.visual.transform.baseVal.appendItem(St.createTransform()),this.controlBox.appendChild(Ee.visual),Ee},Ce.prototype.positionGrips=function(){var Ee=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-Ee/2,this.y1-Ee/2),this.positionGrip(this.grip2.visual,this.x2-Ee/2,this.y2-Ee/2)},Ce.prototype.positionGrip=function(Ee,Te,Ue){var Le=Ee.transform.baseVal.getItem(0);Le.setTranslate(Te,Ue),Ee.transform.baseVal.replaceItem(Le,0)},Ce.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Ie.prototype.getState.call(this))},Ce.prototype.restoreState=function(Ee){Ie.prototype.restoreState.call(this,Ee);var Te=Ee;this.x1=Te.x1,this.y1=Te.y1,this.x2=Te.x2,this.y2=Te.y2},Ce.prototype.scale=function(Ee,Te){Ie.prototype.scale.call(this,Ee,Te),this.x1=this.x1*Ee,this.y1=this.y1*Te,this.x2=this.x2*Ee,this.y2=this.y2*Te,this.adjustVisual(),this.adjustControlBox()},Ce}(Me),Ai=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.strokeColor=Ue.defaultColor,Le.strokeWidth=Ue.defaultStrokeWidth,Le.strokeDasharray=Ue.defaultStrokeDasharray,Le.strokePanel=new Ae("Line color",Ue.defaultColorSet,Ue.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new Tt("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new xt("Line style",Ue.defaultStrokeDasharrays,Ue.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return!(!Ie.prototype.ownsTarget.call(this,Ee)&&Ee!==this.visual&&Ee!==this.selectorLine&&Ee!==this.visibleLine)},Ce.prototype.createVisual=function(){this.visual=St.createGroup(),this.selectorLine=St.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=St.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},Ce.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),St.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),St.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),St.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},Ce.prototype.setStrokeColor=function(Ee){this.strokeColor=Ee,this.adjustVisual(),this.colorChanged(Ee)},Ce.prototype.setStrokeWidth=function(Ee){this.strokeWidth=Ee,this.adjustVisual()},Ce.prototype.setStrokeDasharray=function(Ee){this.strokeDasharray=Ee,this.adjustVisual(),this.stateChanged()},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Ie.prototype.getState.call(this));return Ee.typeName=Ce.typeName,Ee},Ce.prototype.restoreState=function(Ee){Ie.prototype.restoreState.call(this,Ee);var Te=Ee;this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.createVisual(),this.adjustVisual()},Ce.typeName="LineMarker",Ce.title="Line marker",Ce.icon='',Ce}(vn),hi=function(Ie){function Ce(Ee,Te,Ue,Le){var rt=Ie.call(this,Ee,Le||'')||this;return rt.fonts=[],rt.fontBoxes=[],rt.fonts=Te,rt.currentFont=Ue,rt.setCurrentFont=rt.setCurrentFont.bind(rt),rt}return Ve(Ce,Ie),Ce.prototype.getUi=function(){var Ee=this,Te=document.createElement("div");return Te.style.overflow="hidden",Te.style.flexGrow="2",this.fonts.forEach(function(Ue){var Le=document.createElement("div");Le.style.display="inline-block",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.overflow="hidden",Le.style.maxWidth=100/Ee.fonts.length-5+"%",Le.style.borderColor=Ue===Ee.currentFont?Ee.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){Ee.setCurrentFont(Ue,Le)}),Te.appendChild(Le);var rt=document.createElement("div");rt.style.display="flex",rt.style.minHeight="20px",rt.style.flexGrow="2",rt.style.fontFamily=Ue,rt.style.overflow="hidden";var Sn=document.createElement("div");Sn.style.whiteSpace="nowrap",Sn.style.overflow="hidden",Sn.style.textOverflow="ellipsis",Sn.innerHTML="The quick brown fox jumps over the lazy dog",rt.appendChild(Sn),Le.appendChild(rt),Ee.fontBoxes.push(Le)}),Te},Ce.prototype.setCurrentFont=function(Ee,Te){var Ue=this;this.currentFont=Ee,this.fontBoxes.forEach(function(Le){Le.style.borderColor=Le===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},Ce}(xe),kn=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.color="transparent",Le.padding=5,Le.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",Le.text=Le.DEFAULT_TEXT,Le.isMoved=!1,Le.color=Ue.defaultColor,Le.fontFamily=Ue.defaultFontFamily,Le.defaultSize={x:100,y:30},Le.setColor=Le.setColor.bind(Le),Le.setFont=Le.setFont.bind(Le),Le.renderText=Le.renderText.bind(Le),Le.sizeText=Le.sizeText.bind(Le),Le.textEditDivClicked=Le.textEditDivClicked.bind(Le),Le.showTextEditor=Le.showTextEditor.bind(Le),Le.setSize=Le.setSize.bind(Le),Le.positionTextEditor=Le.positionTextEditor.bind(Le),Le.colorPanel=new Ae("Color",Ue.defaultColorSet,Ue.defaultColor),Le.colorPanel.onColorChanged=Le.setColor,Le.fontFamilyPanel=new hi("Font",Ue.defaultFontFamilies,Ue.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){if(Ie.prototype.ownsTarget.call(this,Ee)||Ee===this.visual||Ee===this.textElement||Ee===this.bgRectangle)return!0;var Te=!1;return this.textElement.childNodes.forEach(function(Ue){Ue===Ee&&(Te=!0)}),Te},Ce.prototype.createVisual=function(){this.visual=St.createGroup(),this.bgRectangle=St.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=St.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(St.createTransform()),this.textElement.transform.baseVal.appendItem(St.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.isMoved=!1,this.pointerDownPoint=Ee,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(Ee),this._state="creating")},Ce.prototype.renderText=function(){var Ee=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(Te){Ee.textElement.appendChild(St.createTSpan(Te.trim()===""?" ":Te.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},Ce.prototype.getTextScale=function(){var Ee=this.textElement.getBBox(),Te=1;if(Ee.width>0&&Ee.height>0){var Ue=(1*this.width-this.width*this.padding*2/100)/Ee.width,Le=(1*this.height-this.height*this.padding*2/100)/Ee.height;Te=Math.min(Ue,Le)}return Te},Ce.prototype.getTextPosition=function(Ee){var Te=this.textElement.getBBox(),Ue=0,Le=0;return Te.width>0&&Te.height>0&&(Ue=(this.width-Te.width*Ee)/2,Le=this.height/2-Te.height*Ee/2),{x:Ue,y:Le}},Ce.prototype.sizeText=function(){var Ee=this.textElement.getBBox(),Te=this.getTextScale(),Ue=this.getTextPosition(Te);Ue.y-=Ee.y*Te,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+Ue.x+"px, "+Ue.y+"px) scale("+Te+", "+Te+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(Ue.x,Ue.y),this.textElement.transform.baseVal.getItem(1).setScale(Te,Te))},Ce.prototype.manipulate=function(Ee){Ie.prototype.manipulate.call(this,Ee),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(Ee.x-this.pointerDownPoint.x)>5||Math.abs(Ee.y-this.pointerDownPoint.y)>5)},Ce.prototype.resize=function(Ee){Ie.prototype.resize.call(this,Ee),this.isMoved=!0,this.setSize(),this.sizeText()},Ce.prototype.setSize=function(){Ie.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(St.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),St.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},Ce.prototype.pointerUp=function(Ee){var Te=this.state;Te==="creating"&&(this._suppressMarkerCreateEvent=!0),Ie.prototype.pointerUp.call(this,Ee),this.setSize(),(Te==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},Ce.prototype.showTextEditor=function(){var Ee=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(Te){Te.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var Te=Number.parseFloat(Ee.textEditor.style.fontSize);Ee.textEditor.clientWidth>=Number.parseInt(Ee.textEditor.style.maxWidth)&&Te>.9;)Te-=.1,Ee.textEditor.style.fontSize=Math.max(Te,.9)+"em"}),this.textEditor.addEventListener("keyup",function(Te){Te.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(Te){if(Te.clipboardData){var Ue=Te.clipboardData.getData("text"),Le=window.getSelection();if(!Le.rangeCount)return!1;Le.deleteFromDocument(),Le.getRangeAt(0).insertNode(document.createTextNode(Ue)),Te.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){Ee.textEditDivClicked(Ee.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},Ce.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var Ee=this.getTextScale(),Te=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),Ue=this.textElement.getBBox(),Le={x:Ue.width*Ee,y:Ue.height*Ee};Te.x-=Le.x/2,Te.y-=Le.y/2,this.textEditor.style.top=Te.y+"px",this.textEditor.style.left=Te.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-Te.x+"px",this.textEditor.style.fontSize=Math.max(16*Ee,12)+"px",this.textElement.style.display="none"}},Ce.prototype.textEditDivClicked=function(Ee){this.text=Ee.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},Ce.prototype.select=function(){Ie.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},Ce.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Ie.prototype.deselect.call(this)},Ce.prototype.dblClick=function(Ee,Te){Ie.prototype.dblClick.call(this,Ee,Te),this.showTextEditor()},Ce.prototype.setColor=function(Ee){this.textElement&&St.setAttributes(this.textElement,[["fill",Ee]]),this.color=Ee,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(Ee)},Ce.prototype.setFont=function(Ee){this.textElement&&St.setAttributes(this.textElement,[["font-family",Ee]]),this.fontFamily=Ee,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},Ce.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},Ce.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Ie.prototype.getState.call(this));return Ee.typeName=Ce.typeName,Ee},Ce.prototype.restoreState=function(Ee){var Te=Ee;this.color=Te.color,this.fontFamily=Te.fontFamily,this.padding=Te.padding,this.text=Te.text,this.createVisual(),Ie.prototype.restoreState.call(this,Ee),this.setSize()},Ce.prototype.scale=function(Ee,Te){Ie.prototype.scale.call(this,Ee,Te),this.setSize(),this.sizeText(),this.positionTextEditor()},Ce.typeName="TextMarker",Ce.title="Text marker",Ce.icon='',Ce}(yt),ci=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.color="transparent",Le.lineWidth=3,Le.drawing=!1,Le.pixelRatio=1,Le.color=Ue.defaultColor,Le.lineWidth=Ue.defaultStrokeWidth,Le.pixelRatio=Ue.freehandPixelRatio,Le.setColor=Le.setColor.bind(Le),Le.addCanvas=Le.addCanvas.bind(Le),Le.finishCreation=Le.finishCreation.bind(Le),Le.setLineWidth=Le.setLineWidth.bind(Le),Le.colorPanel=new Ae("Color",Ue.defaultColorSet,Ue.defaultColor),Le.colorPanel.onColorChanged=Le.setColor,Le.lineWidthPanel=new Tt("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),Le.lineWidthPanel.onWidthChanged=Le.setLineWidth,Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return!(!Ie.prototype.ownsTarget.call(this,Ee)&&Ee!==this.visual&&Ee!==this.drawingImage)},Ce.prototype.createVisual=function(){this.visual=St.createGroup(),this.drawingImage=St.createImage(),this.visual.appendChild(this.drawingImage);var Ee=St.createTransform();this.visual.transform.baseVal.appendItem(Ee),this.addMarkerVisualToContainer(this.visual)},Ce.prototype.pointerDown=function(Ee,Te){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(Ee.x,Ee.y),this.drawing=!0):Ie.prototype.pointerDown.call(this,Ee,Te)},Ce.prototype.manipulate=function(Ee){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(Ee.x,Ee.y),this.canvasContext.stroke()):Ie.prototype.manipulate.call(this,Ee)},Ce.prototype.resize=function(Ee){Ie.prototype.resize.call(this,Ee),St.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),St.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},Ce.prototype.pointerUp=function(Ee){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Ie.prototype.pointerUp.call(this,Ee)},Ce.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},Ce.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Ie.prototype.select.call(this)},Ce.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Ie.prototype.deselect.call(this)},Ce.prototype.finishCreation=function(){for(var Ee=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Te=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],Ue=Te[0],Le=Te[1],rt=Te[2],Sn=Te[3],fn=!1,an=0;an0&&(fn=!0,anSn&&(Sn=an),qt>rt&&(rt=qt));if(fn){this.left=Ue/this.pixelRatio,this.top=Le/this.pixelRatio,this.width=(rt-Ue)/this.pixelRatio,this.height=(Sn-Le)/this.pixelRatio;var fi=document.createElement("canvas");fi.width=rt-Ue,fi.height=Sn-Le,fi.getContext("2d").putImageData(this.canvasContext.getImageData(Ue,Le,rt-Ue,Sn-Le),0,0),this.drawingImgUrl=fi.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},Ce.prototype.setDrawingImage=function(){St.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),St.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},Ce.prototype.setColor=function(Ee){this.color=Ee,this.colorChanged(Ee)},Ce.prototype.setLineWidth=function(Ee){this.lineWidth=Ee},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Object.assign({drawingImgUrl:this.drawingImgUrl},Ie.prototype.getState.call(this));return Ee.typeName=Ce.typeName,Ee},Ce.prototype.restoreState=function(Ee){this.createVisual(),Ie.prototype.restoreState.call(this,Ee),this.drawingImgUrl=Ee.drawingImgUrl,this.setDrawingImage()},Ce.prototype.scale=function(Ee,Te){Ie.prototype.scale.call(this,Ee,Te),this.setDrawingImage()},Ce.typeName="FreehandMarker",Ce.title="Freehand marker",Ce.icon='',Ce}(yt),et=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Ue||'')||this;return Le.typeBoxes=[],Le.currentType=Te,Le.setCurrentType=Le.setCurrentType.bind(Le),Le}return Ve(Ce,Ie),Ce.prototype.getUi=function(){var Ee=this,Te=document.createElement("div");Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2";for(var Ue=function(Sn){var fn="both";switch(Sn){case 0:fn="both";break;case 1:fn="start";break;case 2:fn="end";break;case 3:fn="none"}var an=document.createElement("div");if(an.style.display="flex",an.style.flexGrow="2",an.style.alignItems="center",an.style.justifyContent="space-between",an.style.padding="5px",an.style.borderWidth="2px",an.style.borderStyle="solid",an.style.borderColor=fn===Le.currentType?Le.uiStyleSettings.toolboxAccentColor:"transparent",an.addEventListener("click",function(){Ee.setCurrentType(fn,an)}),Te.appendChild(an),fn==="both"||fn==="start"){var qt=document.createElement("div");qt.style.display="flex",qt.style.alignItems="center",qt.style.minHeight="20px",qt.innerHTML=` + `;rt.innerHTML=Sn,Le.appendChild(rt),Ee.styleBoxes.push(Le)}),Te},Ce.prototype.setCurrentStyle=function(Ee,Te){var Ue=this;this.currentStyle=Ee,this.styleBoxes.forEach(function(Le){Le.style.borderColor=Le===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},Ce}(xe),Nt=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.strokeColor=Ue.defaultColor,Le.strokeWidth=Ue.defaultStrokeWidth,Le.strokeDasharray=Ue.defaultStrokeDasharray,Le.strokePanel=new Ae("Line color",Ue.defaultColorSet,Ue.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new Ot("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new xt("Line style",Ue.defaultStrokeDasharrays,Ue.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return Ve(Ce,Ie),Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Ie.prototype.getState.call(this);return Ee.typeName=Ce.typeName,Ee},Ce.typeName="FrameMarker",Ce.title="Frame marker",Ce.icon='',Ce}(ut),Jt=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},vn=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.x1=0,Le.y1=0,Le.x2=0,Le.y2=0,Le.defaultLength=50,Le.manipulationStartX=0,Le.manipulationStartY=0,Le.manipulationStartX1=0,Le.manipulationStartY1=0,Le.manipulationStartX2=0,Le.manipulationStartY2=0,Le.setupControlBox(),Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return!!Ie.prototype.ownsTarget.call(this,Ee)||!(!this.grip1.ownsTarget(Ee)&&!this.grip2.ownsTarget(Ee))},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.manipulationStartX=Ee.x,this.manipulationStartY=Ee.y,this.state==="new"&&(this.x1=Ee.x,this.y1=Ee.y,this.x2=Ee.x,this.y2=Ee.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(Te)?this.activeGrip=this.grip1:this.grip2.ownsTarget(Te)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},Ce.prototype.pointerUp=function(Ee){var Te=this.state;Ie.prototype.pointerUp.call(this,Ee),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(Ee),this._state="select",Te==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},Ce.prototype.adjustVisual=function(){},Ce.prototype.manipulate=function(Ee){this.state==="creating"?this.resize(Ee):this.state==="move"?(this.x1=this.manipulationStartX1+Ee.x-this.manipulationStartX,this.y1=this.manipulationStartY1+Ee.y-this.manipulationStartY,this.x2=this.manipulationStartX2+Ee.x-this.manipulationStartX,this.y2=this.manipulationStartY2+Ee.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(Ee)},Ce.prototype.resize=function(Ee){switch(this.activeGrip){case this.grip1:this.x1=Ee.x,this.y1=Ee.y;break;case this.grip2:case void 0:this.x2=Ee.x,this.y2=Ee.y}this.adjustVisual(),this.adjustControlBox()},Ce.prototype.select=function(){Ie.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},Ce.prototype.deselect=function(){Ie.prototype.deselect.call(this),this.controlBox.style.display="none"},Ce.prototype.setupControlBox=function(){this.controlBox=St.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},Ce.prototype.adjustControlBox=function(){this.positionGrips()},Ce.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},Ce.prototype.createGrip=function(){var Ee=new lt;return Ee.visual.transform.baseVal.appendItem(St.createTransform()),this.controlBox.appendChild(Ee.visual),Ee},Ce.prototype.positionGrips=function(){var Ee=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-Ee/2,this.y1-Ee/2),this.positionGrip(this.grip2.visual,this.x2-Ee/2,this.y2-Ee/2)},Ce.prototype.positionGrip=function(Ee,Te,Ue){var Le=Ee.transform.baseVal.getItem(0);Le.setTranslate(Te,Ue),Ee.transform.baseVal.replaceItem(Le,0)},Ce.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Ie.prototype.getState.call(this))},Ce.prototype.restoreState=function(Ee){Ie.prototype.restoreState.call(this,Ee);var Te=Ee;this.x1=Te.x1,this.y1=Te.y1,this.x2=Te.x2,this.y2=Te.y2},Ce.prototype.scale=function(Ee,Te){Ie.prototype.scale.call(this,Ee,Te),this.x1=this.x1*Ee,this.y1=this.y1*Te,this.x2=this.x2*Ee,this.y2=this.y2*Te,this.adjustVisual(),this.adjustControlBox()},Ce}(Me),Ai=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.strokeColor=Ue.defaultColor,Le.strokeWidth=Ue.defaultStrokeWidth,Le.strokeDasharray=Ue.defaultStrokeDasharray,Le.strokePanel=new Ae("Line color",Ue.defaultColorSet,Ue.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new Ot("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new xt("Line style",Ue.defaultStrokeDasharrays,Ue.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return!(!Ie.prototype.ownsTarget.call(this,Ee)&&Ee!==this.visual&&Ee!==this.selectorLine&&Ee!==this.visibleLine)},Ce.prototype.createVisual=function(){this.visual=St.createGroup(),this.selectorLine=St.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=St.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},Ce.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),St.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),St.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),St.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},Ce.prototype.setStrokeColor=function(Ee){this.strokeColor=Ee,this.adjustVisual(),this.colorChanged(Ee)},Ce.prototype.setStrokeWidth=function(Ee){this.strokeWidth=Ee,this.adjustVisual()},Ce.prototype.setStrokeDasharray=function(Ee){this.strokeDasharray=Ee,this.adjustVisual(),this.stateChanged()},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Ie.prototype.getState.call(this));return Ee.typeName=Ce.typeName,Ee},Ce.prototype.restoreState=function(Ee){Ie.prototype.restoreState.call(this,Ee);var Te=Ee;this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.createVisual(),this.adjustVisual()},Ce.typeName="LineMarker",Ce.title="Line marker",Ce.icon='',Ce}(vn),hi=function(Ie){function Ce(Ee,Te,Ue,Le){var rt=Ie.call(this,Ee,Le||'')||this;return rt.fonts=[],rt.fontBoxes=[],rt.fonts=Te,rt.currentFont=Ue,rt.setCurrentFont=rt.setCurrentFont.bind(rt),rt}return Ve(Ce,Ie),Ce.prototype.getUi=function(){var Ee=this,Te=document.createElement("div");return Te.style.overflow="hidden",Te.style.flexGrow="2",this.fonts.forEach(function(Ue){var Le=document.createElement("div");Le.style.display="inline-block",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.overflow="hidden",Le.style.maxWidth=100/Ee.fonts.length-5+"%",Le.style.borderColor=Ue===Ee.currentFont?Ee.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){Ee.setCurrentFont(Ue,Le)}),Te.appendChild(Le);var rt=document.createElement("div");rt.style.display="flex",rt.style.minHeight="20px",rt.style.flexGrow="2",rt.style.fontFamily=Ue,rt.style.overflow="hidden";var Sn=document.createElement("div");Sn.style.whiteSpace="nowrap",Sn.style.overflow="hidden",Sn.style.textOverflow="ellipsis",Sn.innerHTML="The quick brown fox jumps over the lazy dog",rt.appendChild(Sn),Le.appendChild(rt),Ee.fontBoxes.push(Le)}),Te},Ce.prototype.setCurrentFont=function(Ee,Te){var Ue=this;this.currentFont=Ee,this.fontBoxes.forEach(function(Le){Le.style.borderColor=Le===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},Ce}(xe),kn=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.color="transparent",Le.padding=5,Le.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",Le.text=Le.DEFAULT_TEXT,Le.isMoved=!1,Le.color=Ue.defaultColor,Le.fontFamily=Ue.defaultFontFamily,Le.defaultSize={x:100,y:30},Le.setColor=Le.setColor.bind(Le),Le.setFont=Le.setFont.bind(Le),Le.renderText=Le.renderText.bind(Le),Le.sizeText=Le.sizeText.bind(Le),Le.textEditDivClicked=Le.textEditDivClicked.bind(Le),Le.showTextEditor=Le.showTextEditor.bind(Le),Le.setSize=Le.setSize.bind(Le),Le.positionTextEditor=Le.positionTextEditor.bind(Le),Le.colorPanel=new Ae("Color",Ue.defaultColorSet,Ue.defaultColor),Le.colorPanel.onColorChanged=Le.setColor,Le.fontFamilyPanel=new hi("Font",Ue.defaultFontFamilies,Ue.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){if(Ie.prototype.ownsTarget.call(this,Ee)||Ee===this.visual||Ee===this.textElement||Ee===this.bgRectangle)return!0;var Te=!1;return this.textElement.childNodes.forEach(function(Ue){Ue===Ee&&(Te=!0)}),Te},Ce.prototype.createVisual=function(){this.visual=St.createGroup(),this.bgRectangle=St.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=St.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(St.createTransform()),this.textElement.transform.baseVal.appendItem(St.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.isMoved=!1,this.pointerDownPoint=Ee,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(Ee),this._state="creating")},Ce.prototype.renderText=function(){var Ee=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(Te){Ee.textElement.appendChild(St.createTSpan(Te.trim()===""?" ":Te.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},Ce.prototype.getTextScale=function(){var Ee=this.textElement.getBBox(),Te=1;if(Ee.width>0&&Ee.height>0){var Ue=(1*this.width-this.width*this.padding*2/100)/Ee.width,Le=(1*this.height-this.height*this.padding*2/100)/Ee.height;Te=Math.min(Ue,Le)}return Te},Ce.prototype.getTextPosition=function(Ee){var Te=this.textElement.getBBox(),Ue=0,Le=0;return Te.width>0&&Te.height>0&&(Ue=(this.width-Te.width*Ee)/2,Le=this.height/2-Te.height*Ee/2),{x:Ue,y:Le}},Ce.prototype.sizeText=function(){var Ee=this.textElement.getBBox(),Te=this.getTextScale(),Ue=this.getTextPosition(Te);Ue.y-=Ee.y*Te,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+Ue.x+"px, "+Ue.y+"px) scale("+Te+", "+Te+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(Ue.x,Ue.y),this.textElement.transform.baseVal.getItem(1).setScale(Te,Te))},Ce.prototype.manipulate=function(Ee){Ie.prototype.manipulate.call(this,Ee),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(Ee.x-this.pointerDownPoint.x)>5||Math.abs(Ee.y-this.pointerDownPoint.y)>5)},Ce.prototype.resize=function(Ee){Ie.prototype.resize.call(this,Ee),this.isMoved=!0,this.setSize(),this.sizeText()},Ce.prototype.setSize=function(){Ie.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(St.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),St.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},Ce.prototype.pointerUp=function(Ee){var Te=this.state;Te==="creating"&&(this._suppressMarkerCreateEvent=!0),Ie.prototype.pointerUp.call(this,Ee),this.setSize(),(Te==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},Ce.prototype.showTextEditor=function(){var Ee=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(Te){Te.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var Te=Number.parseFloat(Ee.textEditor.style.fontSize);Ee.textEditor.clientWidth>=Number.parseInt(Ee.textEditor.style.maxWidth)&&Te>.9;)Te-=.1,Ee.textEditor.style.fontSize=Math.max(Te,.9)+"em"}),this.textEditor.addEventListener("keyup",function(Te){Te.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(Te){if(Te.clipboardData){var Ue=Te.clipboardData.getData("text"),Le=window.getSelection();if(!Le.rangeCount)return!1;Le.deleteFromDocument(),Le.getRangeAt(0).insertNode(document.createTextNode(Ue)),Te.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){Ee.textEditDivClicked(Ee.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},Ce.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var Ee=this.getTextScale(),Te=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),Ue=this.textElement.getBBox(),Le={x:Ue.width*Ee,y:Ue.height*Ee};Te.x-=Le.x/2,Te.y-=Le.y/2,this.textEditor.style.top=Te.y+"px",this.textEditor.style.left=Te.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-Te.x+"px",this.textEditor.style.fontSize=Math.max(16*Ee,12)+"px",this.textElement.style.display="none"}},Ce.prototype.textEditDivClicked=function(Ee){this.text=Ee.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},Ce.prototype.select=function(){Ie.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},Ce.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Ie.prototype.deselect.call(this)},Ce.prototype.dblClick=function(Ee,Te){Ie.prototype.dblClick.call(this,Ee,Te),this.showTextEditor()},Ce.prototype.setColor=function(Ee){this.textElement&&St.setAttributes(this.textElement,[["fill",Ee]]),this.color=Ee,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(Ee)},Ce.prototype.setFont=function(Ee){this.textElement&&St.setAttributes(this.textElement,[["font-family",Ee]]),this.fontFamily=Ee,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},Ce.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},Ce.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Ie.prototype.getState.call(this));return Ee.typeName=Ce.typeName,Ee},Ce.prototype.restoreState=function(Ee){var Te=Ee;this.color=Te.color,this.fontFamily=Te.fontFamily,this.padding=Te.padding,this.text=Te.text,this.createVisual(),Ie.prototype.restoreState.call(this,Ee),this.setSize()},Ce.prototype.scale=function(Ee,Te){Ie.prototype.scale.call(this,Ee,Te),this.setSize(),this.sizeText(),this.positionTextEditor()},Ce.typeName="TextMarker",Ce.title="Text marker",Ce.icon='',Ce}(yt),ci=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.color="transparent",Le.lineWidth=3,Le.drawing=!1,Le.pixelRatio=1,Le.color=Ue.defaultColor,Le.lineWidth=Ue.defaultStrokeWidth,Le.pixelRatio=Ue.freehandPixelRatio,Le.setColor=Le.setColor.bind(Le),Le.addCanvas=Le.addCanvas.bind(Le),Le.finishCreation=Le.finishCreation.bind(Le),Le.setLineWidth=Le.setLineWidth.bind(Le),Le.colorPanel=new Ae("Color",Ue.defaultColorSet,Ue.defaultColor),Le.colorPanel.onColorChanged=Le.setColor,Le.lineWidthPanel=new Ot("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),Le.lineWidthPanel.onWidthChanged=Le.setLineWidth,Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return!(!Ie.prototype.ownsTarget.call(this,Ee)&&Ee!==this.visual&&Ee!==this.drawingImage)},Ce.prototype.createVisual=function(){this.visual=St.createGroup(),this.drawingImage=St.createImage(),this.visual.appendChild(this.drawingImage);var Ee=St.createTransform();this.visual.transform.baseVal.appendItem(Ee),this.addMarkerVisualToContainer(this.visual)},Ce.prototype.pointerDown=function(Ee,Te){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(Ee.x,Ee.y),this.drawing=!0):Ie.prototype.pointerDown.call(this,Ee,Te)},Ce.prototype.manipulate=function(Ee){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(Ee.x,Ee.y),this.canvasContext.stroke()):Ie.prototype.manipulate.call(this,Ee)},Ce.prototype.resize=function(Ee){Ie.prototype.resize.call(this,Ee),St.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),St.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},Ce.prototype.pointerUp=function(Ee){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Ie.prototype.pointerUp.call(this,Ee)},Ce.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},Ce.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Ie.prototype.select.call(this)},Ce.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Ie.prototype.deselect.call(this)},Ce.prototype.finishCreation=function(){for(var Ee=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Te=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],Ue=Te[0],Le=Te[1],rt=Te[2],Sn=Te[3],fn=!1,an=0;an0&&(fn=!0,anSn&&(Sn=an),$t>rt&&(rt=$t));if(fn){this.left=Ue/this.pixelRatio,this.top=Le/this.pixelRatio,this.width=(rt-Ue)/this.pixelRatio,this.height=(Sn-Le)/this.pixelRatio;var fi=document.createElement("canvas");fi.width=rt-Ue,fi.height=Sn-Le,fi.getContext("2d").putImageData(this.canvasContext.getImageData(Ue,Le,rt-Ue,Sn-Le),0,0),this.drawingImgUrl=fi.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},Ce.prototype.setDrawingImage=function(){St.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),St.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},Ce.prototype.setColor=function(Ee){this.color=Ee,this.colorChanged(Ee)},Ce.prototype.setLineWidth=function(Ee){this.lineWidth=Ee},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Object.assign({drawingImgUrl:this.drawingImgUrl},Ie.prototype.getState.call(this));return Ee.typeName=Ce.typeName,Ee},Ce.prototype.restoreState=function(Ee){this.createVisual(),Ie.prototype.restoreState.call(this,Ee),this.drawingImgUrl=Ee.drawingImgUrl,this.setDrawingImage()},Ce.prototype.scale=function(Ee,Te){Ie.prototype.scale.call(this,Ee,Te),this.setDrawingImage()},Ce.typeName="FreehandMarker",Ce.title="Freehand marker",Ce.icon='',Ce}(yt),et=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Ue||'')||this;return Le.typeBoxes=[],Le.currentType=Te,Le.setCurrentType=Le.setCurrentType.bind(Le),Le}return Ve(Ce,Ie),Ce.prototype.getUi=function(){var Ee=this,Te=document.createElement("div");Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2";for(var Ue=function(Sn){var fn="both";switch(Sn){case 0:fn="both";break;case 1:fn="start";break;case 2:fn="end";break;case 3:fn="none"}var an=document.createElement("div");if(an.style.display="flex",an.style.flexGrow="2",an.style.alignItems="center",an.style.justifyContent="space-between",an.style.padding="5px",an.style.borderWidth="2px",an.style.borderStyle="solid",an.style.borderColor=fn===Le.currentType?Le.uiStyleSettings.toolboxAccentColor:"transparent",an.addEventListener("click",function(){Ee.setCurrentType(fn,an)}),Te.appendChild(an),fn==="both"||fn==="start"){var $t=document.createElement("div");$t.style.display="flex",$t.style.alignItems="center",$t.style.minHeight="20px",$t.innerHTML=` - `,qt.style.marginLeft="5px",an.appendChild(qt)}var fi=document.createElement("div");fi.style.display="flex",fi.style.alignItems="center",fi.style.minHeight="20px",fi.style.flexGrow="2";var Mn=document.createElement("hr");if(Mn.style.minWidth="20px",Mn.style.border="0px",Mn.style.borderTop="3px solid "+(Le.uiStyleSettings!==void 0?Le.uiStyleSettings.toolboxColor:"#eeeeee"),Mn.style.flexGrow="2",fi.appendChild(Mn),an.appendChild(fi),fn==="both"||fn==="end"){var On=document.createElement("div");On.style.display="flex",On.style.alignItems="center",On.style.minHeight="20px",On.innerHTML=` + `,$t.style.marginLeft="5px",an.appendChild($t)}var fi=document.createElement("div");fi.style.display="flex",fi.style.alignItems="center",fi.style.minHeight="20px",fi.style.flexGrow="2";var Mn=document.createElement("hr");if(Mn.style.minWidth="20px",Mn.style.border="0px",Mn.style.borderTop="3px solid "+(Le.uiStyleSettings!==void 0?Le.uiStyleSettings.toolboxColor:"#eeeeee"),Mn.style.flexGrow="2",fi.appendChild(Mn),an.appendChild(fi),fn==="both"||fn==="end"){var On=document.createElement("div");On.style.display="flex",On.style.alignItems="center",On.style.minHeight="20px",On.innerHTML=` - `,On.style.marginRight="5px",an.appendChild(On)}Le.typeBoxes.push(an)},Le=this,rt=0;rt<4;rt++)Ue(rt);return Te},Ce.prototype.setCurrentType=function(Ee,Te){var Ue=this;this.currentType=Ee,this.typeBoxes.forEach(function(Le){Le.style.borderColor=Le===Te?Ue.uiStyleSettings!==void 0?Ue.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},Ce}(xe),ze=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.arrowType="end",Le.arrowBaseHeight=10,Le.arrowBaseWidth=10,Le.getArrowPoints=Le.getArrowPoints.bind(Le),Le.setArrowType=Le.setArrowType.bind(Le),Le.arrowTypePanel=new et("Arrow type","end"),Le.arrowTypePanel.onArrowTypeChanged=Le.setArrowType,Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return!(!Ie.prototype.ownsTarget.call(this,Ee)&&Ee!==this.arrow1&&Ee!==this.arrow2)},Ce.prototype.getArrowPoints=function(Ee,Te){var Ue=this.arrowBaseWidth+2*this.strokeWidth,Le=this.arrowBaseHeight+2*this.strokeWidth;return Ee-Ue/2+","+(Te+Le/2)+" "+Ee+","+(Te-Le/2)+" "+(Ee+Ue/2)+","+(Te+Le/2)},Ce.prototype.createTips=function(){this.arrow1=St.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(St.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=St.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(St.createTransform()),this.visual.appendChild(this.arrow2)},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.state==="creating"&&this.createTips()},Ce.prototype.adjustVisual=function(){if(Ie.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",St.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),St.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var Ee=0;Math.abs(this.x1-this.x2)>.1&&(Ee=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var Te=this.arrow1.transform.baseVal.getItem(0);Te.setRotate(Ee,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(Te,0);var Ue=this.arrow2.transform.baseVal.getItem(0);Ue.setRotate(Ee+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(Ue,0)}},Ce.prototype.setArrowType=function(Ee){this.arrowType=Ee,this.adjustVisual(),this.stateChanged()},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Object.assign({arrowType:this.arrowType},Ie.prototype.getState.call(this));return Ee.typeName=Ce.typeName,Ee},Ce.prototype.restoreState=function(Ee){Ie.prototype.restoreState.call(this,Ee);var Te=Ee;this.arrowType=Te.arrowType,this.createTips(),this.adjustVisual()},Ce.typeName="ArrowMarker",Ce.title="Arrow marker",Ce.icon='',Ce}(Ai),yn=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.fillColor=Ue.defaultFillColor,Le.strokeWidth=0,Le.fillPanel=new Ae("Color",Ue.defaultColorSet,Ue.defaultFillColor),Le.fillPanel.onColorChanged=Le.setFillColor,Le}return Ve(Ce,Ie),Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Ie.prototype.getState.call(this);return Ee.typeName=Ce.typeName,Ee},Ce.typeName="CoverMarker",Ce.title="Cover marker",Ce.icon='',Ce}(ut),Xn=function(Ie){function Ce(Ee,Te,Ue,Le){var rt=Ie.call(this,Ee,Le||'')||this;return rt.opacities=[],rt.opacityBoxes=[],rt.opacities=Te,rt.currentOpacity=Ue,rt.setCurrentOpacity=rt.setCurrentOpacity.bind(rt),rt}return Ve(Ce,Ie),Ce.prototype.getUi=function(){var Ee=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",Te.style.justifyContent="space-between",this.opacities.forEach(function(Ue){var Le=document.createElement("div");Le.style.display="flex",Le.style.alignItems="center",Le.style.justifyContent="center",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.borderColor=Ue===Ee.currentOpacity?Ee.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){Ee.setCurrentOpacity(Ue,Le)}),Te.appendChild(Le);var rt=document.createElement("div");rt.innerText=100*Ue+"%",Le.appendChild(rt),Ee.opacityBoxes.push(Le)}),Te},Ce.prototype.setCurrentOpacity=function(Ee,Te){var Ue=this;this.currentOpacity=Ee,this.opacityBoxes.forEach(function(Le){Le.style.borderColor=Le===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},Ce}(xe),ei=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.setOpacity=Le.setOpacity.bind(Le),Le.fillColor=Ue.defaultHighlightColor,Le.strokeWidth=0,Le.opacity=Ue.defaultHighlightOpacity,Le.fillPanel=new Ae("Color",Ue.defaultColorSet,Le.fillColor),Le.fillPanel.onColorChanged=Le.setFillColor,Le.opacityPanel=new Xn("Opacity",Ue.defaultOpacitySteps,Le.opacity),Le.opacityPanel.onOpacityChanged=Le.setOpacity,Le}return Ve(Ce,Ie),Ce.prototype.setOpacity=function(Ee){this.opacity=Ee,this.visual&&St.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Ie.prototype.getState.call(this);return Ee.typeName=Ce.typeName,Ee},Ce.typeName="HighlightMarker",Ce.title="Highlight marker",Ce.icon='',Ce}(yn),rn='',xn='',Dn=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.bgColor="transparent",Le.tipPosition={x:0,y:0},Le.tipBase1Position={x:0,y:0},Le.tipBase2Position={x:0,y:0},Le.tipMoving=!1,Le.color=Ue.defaultStrokeColor,Le.bgColor=Ue.defaultFillColor,Le.fontFamily=Ue.defaultFontFamily,Le.defaultSize={x:100,y:30},Le.setBgColor=Le.setBgColor.bind(Le),Le.getTipPoints=Le.getTipPoints.bind(Le),Le.positionTip=Le.positionTip.bind(Le),Le.setTipPoints=Le.setTipPoints.bind(Le),Le.colorPanel=new Ae("Text color",Ue.defaultColorSet,Le.color,rn),Le.colorPanel.onColorChanged=Le.setColor,Le.bgColorPanel=new Ae("Fill color",Ue.defaultColorSet,Le.bgColor,xn),Le.bgColorPanel.onColorChanged=Le.setBgColor,Le.fontFamilyPanel=new hi("Font",Ue.defaultFontFamilies,Ue.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le.tipGrip=new lt,Le.tipGrip.visual.transform.baseVal.appendItem(St.createTransform()),Le.controlBox.appendChild(Le.tipGrip.visual),Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return Ie.prototype.ownsTarget.call(this,Ee)||this.tipGrip.ownsTarget(Ee)||this.tip===Ee},Ce.prototype.createTip=function(){St.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=St.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},Ce.prototype.pointerDown=function(Ee,Te){this.state==="new"&&Ie.prototype.pointerDown.call(this,Ee,Te),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(Te)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Ie.prototype.pointerDown.call(this,Ee,Te)},Ce.prototype.pointerUp=function(Ee){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Ie.prototype.pointerUp.call(this,Ee);else{var Te=this.state==="creating";Ie.prototype.pointerUp.call(this,Ee),this.setTipPoints(Te),this.positionTip()}},Ce.prototype.manipulate=function(Ee){if(this.tipMoving){var Te=this.unrotatePoint(Ee);this.tipPosition={x:Te.x-this.manipulationStartLeft,y:Te.y-this.manipulationStartTop},this.positionTip()}else Ie.prototype.manipulate.call(this,Ee)},Ce.prototype.setBgColor=function(Ee){this.bgRectangle&&this.tip&&(St.setAttributes(this.bgRectangle,[["fill",Ee]]),St.setAttributes(this.tip,[["fill",Ee]])),this.bgColor=Ee,this.fillColorChanged(Ee)},Ce.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},Ce.prototype.setTipPoints=function(Ee){Ee===void 0&&(Ee=!1);var Te=Math.min(this.height/2,15),Ue=this.height/5;Ee&&(this.tipPosition={x:Te+Ue/2,y:this.height+20});var Le=Math.atan(this.height/2/(this.width/2));this.tipPosition.x=this.width/2&&this.tipPosition.y=this.width/2&&this.tipPosition.y>=this.height/2?Le.1)){var Ee=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),Te=this.tip1.transform.baseVal.getItem(0);Te.setRotate(Ee,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(Te,0);var Ue=this.tip2.transform.baseVal.getItem(0);Ue.setRotate(Ee+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(Ue,0)}},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Ie.prototype.getState.call(this);return Ee.typeName=Ce.typeName,Ee},Ce.prototype.restoreState=function(Ee){Ie.prototype.restoreState.call(this,Ee),this.createTips(),this.adjustVisual()},Ce.typeName="MeasurementMarker",Ce.title="Measurement marker",Ce.icon='',Ce}(Ai),Mi=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.strokePanel.colors=Ue.defaultColorSet,Le.fillColor="transparent",Le}return Ve(Ce,Ie),Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Ie.prototype.getState.call(this);return Ee.typeName=Ce.typeName,Ee},Ce.typeName="EllipseFrameMarker",Ce.title="Ellipse frame marker",Ce.icon='',Ce}(yi),mt=function(){function Ie(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Ie.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Ie.prototype.addUndoStep=function(Ce){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(Ce)||(this.undoStack.push(Ce),JSON.stringify(this.lastRedoStep)!==JSON.stringify(Ce)&&this.redoStack.splice(0,this.redoStack.length))},Ie.prototype.replaceLastUndoStep=function(Ce){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=Ce)},Ie.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Ie.prototype.undo=function(){if(this.undoStack.length>1){var Ce=this.undoStack.pop();return Ce!==void 0&&this.redoStack.push(Ce),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Ie.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Ie}(),ht=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.curveX=0,Le.curveY=0,Le.manipulationStartCurveX=0,Le.manipulationStartCurveY=0,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.positionGrips=Le.positionGrips.bind(Le),Le.addControlGrips=Le.addControlGrips.bind(Le),Le.adjustVisual=Le.adjustVisual.bind(Le),Le.setupControlBox=Le.setupControlBox.bind(Le),Le.resize=Le.resize.bind(Le),Le.strokeColor=Ue.defaultColor,Le.strokeWidth=Ue.defaultStrokeWidth,Le.strokeDasharray=Ue.defaultStrokeDasharray,Le.strokePanel=new Ae("Line color",Ue.defaultColorSet,Ue.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new Tt("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new xt("Line style",Ue.defaultStrokeDasharrays,Ue.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return!(!Ie.prototype.ownsTarget.call(this,Ee)&&Ee!==this.visual&&Ee!==this.selectorCurve&&Ee!==this.visibleCurve&&!this.curveGrip.ownsTarget(Ee))},Ce.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},Ce.prototype.createVisual=function(){this.visual=St.createGroup(),this.selectorCurve=St.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=St.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=Ee.x,this.curveY=Ee.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(Te)&&(this.activeGrip=this.curveGrip,this._state="resize")},Ce.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),St.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),St.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),St.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},Ce.prototype.setupControlBox=function(){Ie.prototype.setupControlBox.call(this),this.curveControlLine1=St.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=St.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},Ce.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Ie.prototype.addControlGrips.call(this)},Ce.prototype.positionGrips=function(){Ie.prototype.positionGrips.call(this);var Ee=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-Ee/2,this.curveY-Ee/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},Ce.prototype.manipulate=function(Ee){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+Ee.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+Ee.y-this.manipulationStartY),Ie.prototype.manipulate.call(this,Ee)},Ce.prototype.resize=function(Ee){this.activeGrip===this.curveGrip&&(this.curveX=Ee.x,this.curveY=Ee.y),Ie.prototype.resize.call(this,Ee),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},Ce.prototype.setStrokeColor=function(Ee){this.strokeColor=Ee,this.adjustVisual(),this.colorChanged(Ee)},Ce.prototype.setStrokeWidth=function(Ee){this.strokeWidth=Ee,this.adjustVisual()},Ce.prototype.setStrokeDasharray=function(Ee){this.strokeDasharray=Ee,this.adjustVisual()},Ce.prototype.scale=function(Ee,Te){this.curveX=this.curveX*Ee,this.curveY=this.curveY*Te,Ie.prototype.scale.call(this,Ee,Te)},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Ie.prototype.getState.call(this));return Ee.typeName=Ce.typeName,Ee},Ce.prototype.restoreState=function(Ee){Ie.prototype.restoreState.call(this,Ee);var Te=Ee;this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.curveX=Te.curveX,this.curveY=Te.curveY,this.createVisual(),this.adjustVisual()},Ce.typeName="CurveMarker",Ce.title="Curve marker",Ce.icon='',Ce}(vn),gn=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.fillColor="transparent",Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.textColor="transparent",Le.fontSize="1rem",Le.isMoved=!1,Le.captionText="Caption",Le.PADDING=5,Le.captionBoxWidth=0,Le.captionBoxHeight=0,Le.strokeColor=Ue.defaultColor,Le.strokeWidth=Ue.defaultStrokeWidth,Le.strokeDasharray=Ue.defaultStrokeDasharray,Le.fillColor=Ue.defaultFillColor,Le.textColor=Ue.defaultStrokeColor,Le.fontFamily=Ue.defaultFontFamily,Le.fontSize=Ue.defaultCaptionFontSize,Le.captionText=Ue.defaultCaptionText,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setFillColor=Le.setFillColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.createVisual=Le.createVisual.bind(Le),Le.sizeCaption=Le.sizeCaption.bind(Le),Le.setCaptionText=Le.setCaptionText.bind(Le),Le.showTextEditor=Le.showTextEditor.bind(Le),Le.positionTextEditor=Le.positionTextEditor.bind(Le),Le.finishTextEditing=Le.finishTextEditing.bind(Le),Le.setFont=Le.setFont.bind(Le),Le.setTextColor=Le.setTextColor.bind(Le),Le.strokePanel=new Ae("Line color",pt(Ue.defaultColorSet,["transparent"]),Le.strokeColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.fillPanel=new Ae("Fill color",pt(Ue.defaultColorSet,["transparent"]),Le.fillColor,xn),Le.fillPanel.onColorChanged=Le.setFillColor,Le.strokeWidthPanel=new Tt("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new xt("Line style",Ue.defaultStrokeDasharrays,Ue.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le.fontFamilyPanel=new hi("Font",Ue.defaultFontFamilies,Ue.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le.textColorPanel=new Ae("Text color",Ue.defaultColorSet,Le.textColor,rn),Le.textColorPanel.onColorChanged=Le.setTextColor,Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return!(!Ie.prototype.ownsTarget.call(this,Ee)&&Ee!==this.visual&&Ee!==this.frame&&Ee!==this.captionBg&&Ee!==this.captionElement)},Ce.prototype.createVisual=function(){this.visual=St.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=St.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=St.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=St.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},Ce.prototype.setCaptionText=function(Ee){this.captionText=Ee,this.captionElement.textContent=this.captionText,this.sizeCaption()},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.isMoved=!1,this.pointerDownPoint=Ee,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(Ee),this._state="creating")},Ce.prototype.manipulate=function(Ee){Ie.prototype.manipulate.call(this,Ee),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(Ee.x-this.pointerDownPoint.x)>5||Math.abs(Ee.y-this.pointerDownPoint.y)>5)},Ce.prototype.resize=function(Ee){Ie.prototype.resize.call(this,Ee),this.setSize()},Ce.prototype.sizeCaption=function(){var Ee=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=Ee.width+2*this.PADDING,this.captionBoxHeight=Ee.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),St.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),St.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},Ce.prototype.showTextEditor=function(){var Ee=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(Te){Te.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(Te){Te.key==="Enter"&&Ee.finishTextEditing(Ee.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(Te){Te.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){Ee.finishTextEditing(Ee.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){Ee.finishTextEditing(Ee.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},Ce.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},Ce.prototype.finishTextEditing=function(Ee){this.setCaptionText(Ee.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},Ce.prototype.setFont=function(Ee){this.captionElement&&St.setAttributes(this.captionElement,[["font-family",Ee]]),this.fontFamily=Ee,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},Ce.prototype.setTextColor=function(Ee){this.captionElement&&St.setAttributes(this.captionElement,[["fill",Ee]]),this.textColor=Ee,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},Ce.prototype.setSize=function(){Ie.prototype.setSize.call(this),St.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},Ce.prototype.pointerUp=function(Ee){Ie.prototype.pointerUp.call(this,Ee),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},Ce.prototype.dblClick=function(Ee,Te){Ie.prototype.dblClick.call(this,Ee,Te),this.showTextEditor()},Ce.prototype.setStrokeColor=function(Ee){this.strokeColor=Ee,this.frame&&St.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(Ee),this.stateChanged()},Ce.prototype.setFillColor=function(Ee){this.fillColor=Ee,this.captionBg&&St.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(Ee),this.stateChanged()},Ce.prototype.setStrokeWidth=function(Ee){this.strokeWidth=Ee,this.frame&&St.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Ce.prototype.setStrokeDasharray=function(Ee){this.strokeDasharray=Ee,this.frame&&St.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},Ie.prototype.getState.call(this));return Ee.typeName=this.typeName,Ee},Ce.prototype.restoreState=function(Ee){var Te=Ee;this.fillColor=Te.fillColor,this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.textColor=Te.textColor,this.fontFamily=Te.fontFamily,this.captionText=Te.captionText,this.fontSize=Te.fontSize,this.createVisual(),Ie.prototype.restoreState.call(this,Ee),this.setSize()},Ce.prototype.scale=function(Ee,Te){Ie.prototype.scale.call(this,Ee,Te),this.setSize()},Ce.typeName="CaptionFrameMarker",Ce.title="Caption frame marker",Ce.icon='',Ce}(yt),jt=function(){function Ie(Ce,Ee){Ee===void 0&&(Ee=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=Ce,this.cancelable=Ee}return Object.defineProperty(Ie.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Ie.prototype.preventDefault=function(){this._defaultPrevented=!0},Ie}(),En=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,!1)||this;return Le.dataUrl=Te,Le.state=Ue,Le}return Ve(Ce,Ie),Ce}(jt),Fn=function(Ie){function Ce(Ee,Te,Ue){Ue===void 0&&(Ue=!1);var Le=Ie.call(this,Ee,Ue)||this;return Le.marker=Te,Le}return Ve(Ce,Ie),Ce}(jt),ii=function(){function Ie(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return Ie.prototype.addEventListener=function(Ce,Ee){this[Ce].push(Ee)},Ie.prototype.removeEventListener=function(Ce,Ee){var Te=this[Ce].indexOf(Ee);Te>-1&&this[Ce].splice(Te,1)},Ie}(),ni=function(){function Ie(Ce){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Jt,this._isOpen=!1,this.undoRedoManager=new mt,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new ii,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Ie.instanceCounter++,this.styles=new te(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=Ce,this.targetRoot=document.body,this.width=Ce.clientWidth,this.height=Ce.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(Ie.prototype,"ALL_MARKER_TYPES",{get:function(){return[Nt,ci,ze,kn,Mi,yi,ei,Dn,qn,yn,Ai,ht,gn]},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Nt,ci,ze,kn,yi,ei,Dn]},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Nt,ci,ze,kn,ei]},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(Ce){var Ee=this;this._availableMarkerTypes.splice(0),Ce.forEach(function(Te){if(typeof Te=="string"){var Ue=Ee.ALL_MARKER_TYPES.find(function(Le){return Le.typeName===Te});Ue!==void 0&&Ee._availableMarkerTypes.push(Ue)}else Ee._availableMarkerTypes.push(Te)})},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(Ce){this._zoomLevel=Ce,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Ie.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Ut.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Ie.prototype.show=function(){var Ce=this;this.styles.styleSheetRoot===void 0&&Oe.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Oe.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(Ee){return Ee(new jt(Ce))})},Ie.prototype.render=function(){return bt(this,void 0,void 0,function(){var Ce;return wt(this,function(Ee){switch(Ee.label){case 0:return this.setCurrentMarker(),(Ce=new Zt).naturalSize=this.renderAtNaturalSize,Ce.imageType=this.renderImageType,Ce.imageQuality=this.renderImageQuality,Ce.markersOnly=this.renderMarkersOnly,Ce.width=this.renderWidth,Ce.height=this.renderHeight,[4,Ce.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return Ee.sent(),[4,Ce.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,Ee.sent()]}})})},Ie.prototype.close=function(Ce){var Ee=this;if(Ce===void 0&&(Ce=!1),this.isOpen){var Te=!1;Ce||this.eventListeners.beforeclose.forEach(function(Ue){var Le=new jt(Ee,!0);Ue(Le),Le.defaultPrevented&&(Te=!0)}),Te||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(Ue){return Ue(new jt(Ee))}),this.detachEvents(),this._isOpen=!1)}},Ie.prototype.addMarkersToToolbar=function(){for(var Ce,Ee=[],Te=0;Tethis.editorCanvas.clientHeight?this.editorCanvas.clientHeight*Ce:this.editorCanvas.clientWidth,Te=Ee',Ce.title="Powered by marker.js",Ce.style.display="grid",Ce.style.alignItems="center",Ce.style.justifyItems="center",Ce.style.padding="3px",Ce.style.width="20px",Ce.style.height="20px",this.logoUI.appendChild(Ce),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Ie.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},Ie.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},Ie.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Ie.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var Ce=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=Ce+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new le(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop-1&&this.markers.splice(this.markers.indexOf(Ce),1),Ce.dispose()},Ie.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},Ie.prototype.toolbarButtonClicked=function(Ce,Ee){if(Ce==="marker"&&Ee!==void 0)this.createNewMarker(Ee);else if(Ce==="action")switch(Ee){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},Ie.prototype.deleteSelectedMarker=function(){var Ce=this;if(this._currentMarker!==void 0){var Ee=!1;if(this.eventListeners.markerbeforedelete.forEach(function(Ue){var Le=new Fn(Ce,Ce._currentMarker,!0);Ue(Le),Le.defaultPrevented&&(Ee=!0)}),!Ee){var Te=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(Ue){return Ue(new Fn(Ce,Te))})}}},Ie.prototype.clear=function(){var Ce=this,Ee=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(rt){var Sn=new Fn(Ce,void 0,!0);rt(Sn),Sn.defaultPrevented&&(Ee=!0)}),!Ee)){this.setCurrentMarker();for(var Te=function(rt){var Sn=Ue.markers[rt];Ue.setCurrentMarker(Ue.markers[rt]),Ue._currentMarker.dispose(),Ue.markerImage.removeChild(Ue._currentMarker.container),Ue.markers.splice(Ue.markers.indexOf(Ue._currentMarker),1),Ue.eventListeners.markerdelete.forEach(function(fn){return fn(new Fn(Ce,Sn))})},Ue=this,Le=this.markers.length-1;Le>=0;Le--)Te(Le);this.addUndoStep()}},Object.defineProperty(Ie.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Ie.prototype.showNotesEditor=function(){var Ce;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(Ce=this._currentMarker.notes)!==null&&Ce!==void 0?Ce:"",this.overlayContainer.appendChild(this.notesArea))},Ie.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},Ie.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Ie.prototype.addUndoStep=function(){var Ce=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var Ee=this.getState(),Te=this.undoRedoManager.getLastUndoStep();if(!Te||Te.width===Ee.width&&Te.height===Ee.height){var Ue=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(Ee),Ue1&&this.panTo({x:Ce.clientX,y:Ce.clientY}))},Ie.prototype.onPointerUp=function(Ce){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(Ce.clientX,Ce.clientY)),this.isDragging=!1,this.addUndoStep()},Ie.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Ie.prototype.onKeyUp=function(Ce){this._currentMarker===void 0||this.notesArea!==void 0||Ce.key!=="Delete"&&Ce.key!=="Backspace"||this.deleteSelectedMarker()},Ie.prototype.clientToLocalCoordinates=function(Ce,Ee){var Te=this.markerImage.getBoundingClientRect();return{x:(Ce-Te.left)/this.zoomLevel,y:(Ee-Te.top)/this.zoomLevel}},Ie.prototype.onWindowResize=function(){this.positionUI()},Ie.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var Ce=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=Ce+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},Ie.prototype.addLicenseKey=function(Ce){Ut.addKey(Ce)},Ie.prototype.addEventListener=function(Ce,Ee){this.eventListeners.addEventListener(Ce,Ee)},Ie.prototype.removeEventListener=function(Ce,Ee){this.eventListeners.removeEventListener(Ce,Ee)},Ie.prototype.renderState=function(Ce){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(Ce),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Ie.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Ie.prototype.focus=function(){var Ce=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(Ee){return Ee(new jt(Ce))}))},Ie.prototype.blur=function(){var Ce=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(Ee){return Ee(new jt(Ce))}))},Ie.instanceCounter=0,Ie}(),mn=Pe(99064),zt=Pe(955),$e=(Ie,Ce,Ee)=>new Promise((Te,Ue)=>{var Le=fn=>{try{Sn(Ee.next(fn))}catch(an){Ue(an)}},rt=fn=>{try{Sn(Ee.throw(fn))}catch(an){Ue(an)}},Sn=fn=>fn.done?Te(fn.value):Promise.resolve(fn.value).then(Le,rt);Sn((Ee=Ee.apply(Ie,Ce)).next())}),Yt=({data:Ie,className:Ce,fullWidth:Ee,style:Te={},onClose:Ue,onOk:Le,showFullTools:rt,noAssociationId:Sn})=>{const fn=(0,ue.useRef)(null),an=(0,ue.useRef)(null),qt=(0,ue.useRef)(null),fi=(0,ue.useRef)(null),[Mn,On]=(0,ue.useState)(!1),[Hi,Si]=(0,ue.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ue.useEffect)(()=>(qt.current||(qt.current=document.createElement("style"),document.head.appendChild(qt.current)),Ie!=null&&Ie.visible?(document.body.setAttribute("data-custom","y-hidden"),qt.current.innerHTML=" html { overflow-y: hidden; }",Ie!=null&&Ie.src&&sr()):(document.body.removeAttribute("data-custom"),qt.current&&(document.head.removeChild(qt.current),qt.current=null)),()=>{document.body.removeAttribute("data-custom"),qt.current&&(document.head.removeChild(qt.current),qt.current=null)}),[Ie==null?void 0:Ie.visible]);const sr=()=>$e(void 0,null,function*(){On(!0),Si("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Lr=yield(0,zt.ZJ)(Ie==null?void 0:Ie.src);fn.current.src="",fn.current.src=Lr,fn.current.onload=function(){No()},On(!1),Si("")}),ro=Lr=>$e(void 0,null,function*(){On(!0),Si("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ko=yield(0,mn.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ie.title,file:Lr.dataUrl}});Ko!=null&&Ko.id&&!Sn?(yield(0,mn.ZP)(`/api/attachments/${Ie.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ko==null?void 0:Ko.id,settings:JSON.stringify(Lr.state)}})).status===0&&Le():Ko!=null&&Ko.id&&Le(Ko),On(!1),Si("")}),Wo=()=>{const Lr=document.querySelector('a[href="https://markerjs.com/"]');Lr&&Lr.parentNode&&(Lr.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(Oo=>{const So=document.querySelector(Oo.name);So&&So.setAttribute("title",Oo.title)})},No=()=>{an.current=new ni(fn.current),an.current.targetRoot=fi.current,an.current.addEventListener("render",ro),an.current.addEventListener("beforeclose",Ue),rt&&(an.current.availableMarkerTypes=an.current.ALL_MARKER_TYPES,an.current.uiStyleSettings.redoButtonVisible=!0,an.current.uiStyleSettings.notesButtonVisible=!0,an.current.uiStyleSettings.zoomButtonVisible=!0,an.current.uiStyleSettings.zoomOutButtonVisible=!0,an.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=an.current.uiStyleSettings,an.current.show(),Ie!=null&&Ie.snapshotData&&an.current.restoreState(Ie.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Wo()},300)};return ue.createElement(ue.Fragment,null,(Ie==null?void 0:Ie.visible)&&ue.createElement(Dt.Z,{spinning:Mn,tip:Hi,style:{position:"absolute",width:"100vw"}},ue.createElement("div",{ref:fi,className:kt()(it.imageDimensions,Ce,Ee?it.fullWidth:""),style:Te},ue.createElement("img",{className:it.img,ref:fn}))))}},41588:function(en,jn,Pe){"use strict";var ue=Pe(59301),it=Pe(95237),Mt=Pe(43604),kt=Pe(99313),Dt=Pe(3113),Wt=Pe(85149),Ve=Pe(88010),bt=Pe(48136),wt=Pe(59301);const pt=(0,ue.forwardRef)(({callback:St,showSaveButton:Ut,value:Zt=""},Oe)=>{const te=(0,ue.useRef)(),ne=[{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 "}]}]}],de=[{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 + `,On.style.marginRight="5px",an.appendChild(On)}Le.typeBoxes.push(an)},Le=this,rt=0;rt<4;rt++)Ue(rt);return Te},Ce.prototype.setCurrentType=function(Ee,Te){var Ue=this;this.currentType=Ee,this.typeBoxes.forEach(function(Le){Le.style.borderColor=Le===Te?Ue.uiStyleSettings!==void 0?Ue.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},Ce}(xe),ze=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.arrowType="end",Le.arrowBaseHeight=10,Le.arrowBaseWidth=10,Le.getArrowPoints=Le.getArrowPoints.bind(Le),Le.setArrowType=Le.setArrowType.bind(Le),Le.arrowTypePanel=new et("Arrow type","end"),Le.arrowTypePanel.onArrowTypeChanged=Le.setArrowType,Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return!(!Ie.prototype.ownsTarget.call(this,Ee)&&Ee!==this.arrow1&&Ee!==this.arrow2)},Ce.prototype.getArrowPoints=function(Ee,Te){var Ue=this.arrowBaseWidth+2*this.strokeWidth,Le=this.arrowBaseHeight+2*this.strokeWidth;return Ee-Ue/2+","+(Te+Le/2)+" "+Ee+","+(Te-Le/2)+" "+(Ee+Ue/2)+","+(Te+Le/2)},Ce.prototype.createTips=function(){this.arrow1=St.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(St.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=St.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(St.createTransform()),this.visual.appendChild(this.arrow2)},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.state==="creating"&&this.createTips()},Ce.prototype.adjustVisual=function(){if(Ie.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",St.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),St.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var Ee=0;Math.abs(this.x1-this.x2)>.1&&(Ee=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var Te=this.arrow1.transform.baseVal.getItem(0);Te.setRotate(Ee,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(Te,0);var Ue=this.arrow2.transform.baseVal.getItem(0);Ue.setRotate(Ee+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(Ue,0)}},Ce.prototype.setArrowType=function(Ee){this.arrowType=Ee,this.adjustVisual(),this.stateChanged()},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Object.assign({arrowType:this.arrowType},Ie.prototype.getState.call(this));return Ee.typeName=Ce.typeName,Ee},Ce.prototype.restoreState=function(Ee){Ie.prototype.restoreState.call(this,Ee);var Te=Ee;this.arrowType=Te.arrowType,this.createTips(),this.adjustVisual()},Ce.typeName="ArrowMarker",Ce.title="Arrow marker",Ce.icon='',Ce}(Ai),yn=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.fillColor=Ue.defaultFillColor,Le.strokeWidth=0,Le.fillPanel=new Ae("Color",Ue.defaultColorSet,Ue.defaultFillColor),Le.fillPanel.onColorChanged=Le.setFillColor,Le}return Ve(Ce,Ie),Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Ie.prototype.getState.call(this);return Ee.typeName=Ce.typeName,Ee},Ce.typeName="CoverMarker",Ce.title="Cover marker",Ce.icon='',Ce}(ut),Xn=function(Ie){function Ce(Ee,Te,Ue,Le){var rt=Ie.call(this,Ee,Le||'')||this;return rt.opacities=[],rt.opacityBoxes=[],rt.opacities=Te,rt.currentOpacity=Ue,rt.setCurrentOpacity=rt.setCurrentOpacity.bind(rt),rt}return Ve(Ce,Ie),Ce.prototype.getUi=function(){var Ee=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",Te.style.justifyContent="space-between",this.opacities.forEach(function(Ue){var Le=document.createElement("div");Le.style.display="flex",Le.style.alignItems="center",Le.style.justifyContent="center",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.borderColor=Ue===Ee.currentOpacity?Ee.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){Ee.setCurrentOpacity(Ue,Le)}),Te.appendChild(Le);var rt=document.createElement("div");rt.innerText=100*Ue+"%",Le.appendChild(rt),Ee.opacityBoxes.push(Le)}),Te},Ce.prototype.setCurrentOpacity=function(Ee,Te){var Ue=this;this.currentOpacity=Ee,this.opacityBoxes.forEach(function(Le){Le.style.borderColor=Le===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},Ce}(xe),ei=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.setOpacity=Le.setOpacity.bind(Le),Le.fillColor=Ue.defaultHighlightColor,Le.strokeWidth=0,Le.opacity=Ue.defaultHighlightOpacity,Le.fillPanel=new Ae("Color",Ue.defaultColorSet,Le.fillColor),Le.fillPanel.onColorChanged=Le.setFillColor,Le.opacityPanel=new Xn("Opacity",Ue.defaultOpacitySteps,Le.opacity),Le.opacityPanel.onOpacityChanged=Le.setOpacity,Le}return Ve(Ce,Ie),Ce.prototype.setOpacity=function(Ee){this.opacity=Ee,this.visual&&St.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Ie.prototype.getState.call(this);return Ee.typeName=Ce.typeName,Ee},Ce.typeName="HighlightMarker",Ce.title="Highlight marker",Ce.icon='',Ce}(yn),on='',xn='',Dn=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.bgColor="transparent",Le.tipPosition={x:0,y:0},Le.tipBase1Position={x:0,y:0},Le.tipBase2Position={x:0,y:0},Le.tipMoving=!1,Le.color=Ue.defaultStrokeColor,Le.bgColor=Ue.defaultFillColor,Le.fontFamily=Ue.defaultFontFamily,Le.defaultSize={x:100,y:30},Le.setBgColor=Le.setBgColor.bind(Le),Le.getTipPoints=Le.getTipPoints.bind(Le),Le.positionTip=Le.positionTip.bind(Le),Le.setTipPoints=Le.setTipPoints.bind(Le),Le.colorPanel=new Ae("Text color",Ue.defaultColorSet,Le.color,on),Le.colorPanel.onColorChanged=Le.setColor,Le.bgColorPanel=new Ae("Fill color",Ue.defaultColorSet,Le.bgColor,xn),Le.bgColorPanel.onColorChanged=Le.setBgColor,Le.fontFamilyPanel=new hi("Font",Ue.defaultFontFamilies,Ue.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le.tipGrip=new lt,Le.tipGrip.visual.transform.baseVal.appendItem(St.createTransform()),Le.controlBox.appendChild(Le.tipGrip.visual),Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return Ie.prototype.ownsTarget.call(this,Ee)||this.tipGrip.ownsTarget(Ee)||this.tip===Ee},Ce.prototype.createTip=function(){St.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=St.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},Ce.prototype.pointerDown=function(Ee,Te){this.state==="new"&&Ie.prototype.pointerDown.call(this,Ee,Te),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(Te)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Ie.prototype.pointerDown.call(this,Ee,Te)},Ce.prototype.pointerUp=function(Ee){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Ie.prototype.pointerUp.call(this,Ee);else{var Te=this.state==="creating";Ie.prototype.pointerUp.call(this,Ee),this.setTipPoints(Te),this.positionTip()}},Ce.prototype.manipulate=function(Ee){if(this.tipMoving){var Te=this.unrotatePoint(Ee);this.tipPosition={x:Te.x-this.manipulationStartLeft,y:Te.y-this.manipulationStartTop},this.positionTip()}else Ie.prototype.manipulate.call(this,Ee)},Ce.prototype.setBgColor=function(Ee){this.bgRectangle&&this.tip&&(St.setAttributes(this.bgRectangle,[["fill",Ee]]),St.setAttributes(this.tip,[["fill",Ee]])),this.bgColor=Ee,this.fillColorChanged(Ee)},Ce.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},Ce.prototype.setTipPoints=function(Ee){Ee===void 0&&(Ee=!1);var Te=Math.min(this.height/2,15),Ue=this.height/5;Ee&&(this.tipPosition={x:Te+Ue/2,y:this.height+20});var Le=Math.atan(this.height/2/(this.width/2));this.tipPosition.x=this.width/2&&this.tipPosition.y=this.width/2&&this.tipPosition.y>=this.height/2?Le.1)){var Ee=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),Te=this.tip1.transform.baseVal.getItem(0);Te.setRotate(Ee,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(Te,0);var Ue=this.tip2.transform.baseVal.getItem(0);Ue.setRotate(Ee+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(Ue,0)}},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Ie.prototype.getState.call(this);return Ee.typeName=Ce.typeName,Ee},Ce.prototype.restoreState=function(Ee){Ie.prototype.restoreState.call(this,Ee),this.createTips(),this.adjustVisual()},Ce.typeName="MeasurementMarker",Ce.title="Measurement marker",Ce.icon='',Ce}(Ai),Mi=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.strokePanel.colors=Ue.defaultColorSet,Le.fillColor="transparent",Le}return Ve(Ce,Ie),Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Ie.prototype.getState.call(this);return Ee.typeName=Ce.typeName,Ee},Ce.typeName="EllipseFrameMarker",Ce.title="Ellipse frame marker",Ce.icon='',Ce}(yi),mt=function(){function Ie(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Ie.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Ie.prototype.addUndoStep=function(Ce){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(Ce)||(this.undoStack.push(Ce),JSON.stringify(this.lastRedoStep)!==JSON.stringify(Ce)&&this.redoStack.splice(0,this.redoStack.length))},Ie.prototype.replaceLastUndoStep=function(Ce){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=Ce)},Ie.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Ie.prototype.undo=function(){if(this.undoStack.length>1){var Ce=this.undoStack.pop();return Ce!==void 0&&this.redoStack.push(Ce),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Ie.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Ie}(),ht=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.curveX=0,Le.curveY=0,Le.manipulationStartCurveX=0,Le.manipulationStartCurveY=0,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.positionGrips=Le.positionGrips.bind(Le),Le.addControlGrips=Le.addControlGrips.bind(Le),Le.adjustVisual=Le.adjustVisual.bind(Le),Le.setupControlBox=Le.setupControlBox.bind(Le),Le.resize=Le.resize.bind(Le),Le.strokeColor=Ue.defaultColor,Le.strokeWidth=Ue.defaultStrokeWidth,Le.strokeDasharray=Ue.defaultStrokeDasharray,Le.strokePanel=new Ae("Line color",Ue.defaultColorSet,Ue.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new Ot("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new xt("Line style",Ue.defaultStrokeDasharrays,Ue.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return!(!Ie.prototype.ownsTarget.call(this,Ee)&&Ee!==this.visual&&Ee!==this.selectorCurve&&Ee!==this.visibleCurve&&!this.curveGrip.ownsTarget(Ee))},Ce.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},Ce.prototype.createVisual=function(){this.visual=St.createGroup(),this.selectorCurve=St.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=St.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=Ee.x,this.curveY=Ee.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(Te)&&(this.activeGrip=this.curveGrip,this._state="resize")},Ce.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),St.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),St.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),St.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},Ce.prototype.setupControlBox=function(){Ie.prototype.setupControlBox.call(this),this.curveControlLine1=St.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=St.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},Ce.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Ie.prototype.addControlGrips.call(this)},Ce.prototype.positionGrips=function(){Ie.prototype.positionGrips.call(this);var Ee=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-Ee/2,this.curveY-Ee/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},Ce.prototype.manipulate=function(Ee){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+Ee.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+Ee.y-this.manipulationStartY),Ie.prototype.manipulate.call(this,Ee)},Ce.prototype.resize=function(Ee){this.activeGrip===this.curveGrip&&(this.curveX=Ee.x,this.curveY=Ee.y),Ie.prototype.resize.call(this,Ee),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},Ce.prototype.setStrokeColor=function(Ee){this.strokeColor=Ee,this.adjustVisual(),this.colorChanged(Ee)},Ce.prototype.setStrokeWidth=function(Ee){this.strokeWidth=Ee,this.adjustVisual()},Ce.prototype.setStrokeDasharray=function(Ee){this.strokeDasharray=Ee,this.adjustVisual()},Ce.prototype.scale=function(Ee,Te){this.curveX=this.curveX*Ee,this.curveY=this.curveY*Te,Ie.prototype.scale.call(this,Ee,Te)},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Ie.prototype.getState.call(this));return Ee.typeName=Ce.typeName,Ee},Ce.prototype.restoreState=function(Ee){Ie.prototype.restoreState.call(this,Ee);var Te=Ee;this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.curveX=Te.curveX,this.curveY=Te.curveY,this.createVisual(),this.adjustVisual()},Ce.typeName="CurveMarker",Ce.title="Curve marker",Ce.icon='',Ce}(vn),gn=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,Te,Ue)||this;return Le.fillColor="transparent",Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.textColor="transparent",Le.fontSize="1rem",Le.isMoved=!1,Le.captionText="Caption",Le.PADDING=5,Le.captionBoxWidth=0,Le.captionBoxHeight=0,Le.strokeColor=Ue.defaultColor,Le.strokeWidth=Ue.defaultStrokeWidth,Le.strokeDasharray=Ue.defaultStrokeDasharray,Le.fillColor=Ue.defaultFillColor,Le.textColor=Ue.defaultStrokeColor,Le.fontFamily=Ue.defaultFontFamily,Le.fontSize=Ue.defaultCaptionFontSize,Le.captionText=Ue.defaultCaptionText,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setFillColor=Le.setFillColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.createVisual=Le.createVisual.bind(Le),Le.sizeCaption=Le.sizeCaption.bind(Le),Le.setCaptionText=Le.setCaptionText.bind(Le),Le.showTextEditor=Le.showTextEditor.bind(Le),Le.positionTextEditor=Le.positionTextEditor.bind(Le),Le.finishTextEditing=Le.finishTextEditing.bind(Le),Le.setFont=Le.setFont.bind(Le),Le.setTextColor=Le.setTextColor.bind(Le),Le.strokePanel=new Ae("Line color",pt(Ue.defaultColorSet,["transparent"]),Le.strokeColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.fillPanel=new Ae("Fill color",pt(Ue.defaultColorSet,["transparent"]),Le.fillColor,xn),Le.fillPanel.onColorChanged=Le.setFillColor,Le.strokeWidthPanel=new Ot("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new xt("Line style",Ue.defaultStrokeDasharrays,Ue.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le.fontFamilyPanel=new hi("Font",Ue.defaultFontFamilies,Ue.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le.textColorPanel=new Ae("Text color",Ue.defaultColorSet,Le.textColor,on),Le.textColorPanel.onColorChanged=Le.setTextColor,Le}return Ve(Ce,Ie),Ce.prototype.ownsTarget=function(Ee){return!(!Ie.prototype.ownsTarget.call(this,Ee)&&Ee!==this.visual&&Ee!==this.frame&&Ee!==this.captionBg&&Ee!==this.captionElement)},Ce.prototype.createVisual=function(){this.visual=St.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=St.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=St.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=St.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},Ce.prototype.setCaptionText=function(Ee){this.captionText=Ee,this.captionElement.textContent=this.captionText,this.sizeCaption()},Ce.prototype.pointerDown=function(Ee,Te){Ie.prototype.pointerDown.call(this,Ee,Te),this.isMoved=!1,this.pointerDownPoint=Ee,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(Ee),this._state="creating")},Ce.prototype.manipulate=function(Ee){Ie.prototype.manipulate.call(this,Ee),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(Ee.x-this.pointerDownPoint.x)>5||Math.abs(Ee.y-this.pointerDownPoint.y)>5)},Ce.prototype.resize=function(Ee){Ie.prototype.resize.call(this,Ee),this.setSize()},Ce.prototype.sizeCaption=function(){var Ee=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=Ee.width+2*this.PADDING,this.captionBoxHeight=Ee.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),St.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),St.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},Ce.prototype.showTextEditor=function(){var Ee=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(Te){Te.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(Te){Te.key==="Enter"&&Ee.finishTextEditing(Ee.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(Te){Te.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){Ee.finishTextEditing(Ee.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){Ee.finishTextEditing(Ee.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},Ce.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},Ce.prototype.finishTextEditing=function(Ee){this.setCaptionText(Ee.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},Ce.prototype.setFont=function(Ee){this.captionElement&&St.setAttributes(this.captionElement,[["font-family",Ee]]),this.fontFamily=Ee,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},Ce.prototype.setTextColor=function(Ee){this.captionElement&&St.setAttributes(this.captionElement,[["fill",Ee]]),this.textColor=Ee,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},Ce.prototype.setSize=function(){Ie.prototype.setSize.call(this),St.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},Ce.prototype.pointerUp=function(Ee){Ie.prototype.pointerUp.call(this,Ee),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},Ce.prototype.dblClick=function(Ee,Te){Ie.prototype.dblClick.call(this,Ee,Te),this.showTextEditor()},Ce.prototype.setStrokeColor=function(Ee){this.strokeColor=Ee,this.frame&&St.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(Ee),this.stateChanged()},Ce.prototype.setFillColor=function(Ee){this.fillColor=Ee,this.captionBg&&St.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(Ee),this.stateChanged()},Ce.prototype.setStrokeWidth=function(Ee){this.strokeWidth=Ee,this.frame&&St.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Ce.prototype.setStrokeDasharray=function(Ee){this.strokeDasharray=Ee,this.frame&&St.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(Ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),Ce.prototype.getState=function(){var Ee=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},Ie.prototype.getState.call(this));return Ee.typeName=this.typeName,Ee},Ce.prototype.restoreState=function(Ee){var Te=Ee;this.fillColor=Te.fillColor,this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.textColor=Te.textColor,this.fontFamily=Te.fontFamily,this.captionText=Te.captionText,this.fontSize=Te.fontSize,this.createVisual(),Ie.prototype.restoreState.call(this,Ee),this.setSize()},Ce.prototype.scale=function(Ee,Te){Ie.prototype.scale.call(this,Ee,Te),this.setSize()},Ce.typeName="CaptionFrameMarker",Ce.title="Caption frame marker",Ce.icon='',Ce}(yt),jt=function(){function Ie(Ce,Ee){Ee===void 0&&(Ee=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=Ce,this.cancelable=Ee}return Object.defineProperty(Ie.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Ie.prototype.preventDefault=function(){this._defaultPrevented=!0},Ie}(),En=function(Ie){function Ce(Ee,Te,Ue){var Le=Ie.call(this,Ee,!1)||this;return Le.dataUrl=Te,Le.state=Ue,Le}return Ve(Ce,Ie),Ce}(jt),Fn=function(Ie){function Ce(Ee,Te,Ue){Ue===void 0&&(Ue=!1);var Le=Ie.call(this,Ee,Ue)||this;return Le.marker=Te,Le}return Ve(Ce,Ie),Ce}(jt),ri=function(){function Ie(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return Ie.prototype.addEventListener=function(Ce,Ee){this[Ce].push(Ee)},Ie.prototype.removeEventListener=function(Ce,Ee){var Te=this[Ce].indexOf(Ee);Te>-1&&this[Ce].splice(Te,1)},Ie}(),ni=function(){function Ie(Ce){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Jt,this._isOpen=!1,this.undoRedoManager=new mt,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new ri,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Ie.instanceCounter++,this.styles=new te(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=Ce,this.targetRoot=document.body,this.width=Ce.clientWidth,this.height=Ce.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(Ie.prototype,"ALL_MARKER_TYPES",{get:function(){return[Nt,ci,ze,kn,Mi,yi,ei,Dn,qn,yn,Ai,ht,gn]},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Nt,ci,ze,kn,yi,ei,Dn]},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Nt,ci,ze,kn,ei]},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(Ce){var Ee=this;this._availableMarkerTypes.splice(0),Ce.forEach(function(Te){if(typeof Te=="string"){var Ue=Ee.ALL_MARKER_TYPES.find(function(Le){return Le.typeName===Te});Ue!==void 0&&Ee._availableMarkerTypes.push(Ue)}else Ee._availableMarkerTypes.push(Te)})},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(Ce){this._zoomLevel=Ce,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Ie.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Ut.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Ie.prototype.show=function(){var Ce=this;this.styles.styleSheetRoot===void 0&&Oe.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Oe.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(Ee){return Ee(new jt(Ce))})},Ie.prototype.render=function(){return bt(this,void 0,void 0,function(){var Ce;return wt(this,function(Ee){switch(Ee.label){case 0:return this.setCurrentMarker(),(Ce=new Zt).naturalSize=this.renderAtNaturalSize,Ce.imageType=this.renderImageType,Ce.imageQuality=this.renderImageQuality,Ce.markersOnly=this.renderMarkersOnly,Ce.width=this.renderWidth,Ce.height=this.renderHeight,[4,Ce.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return Ee.sent(),[4,Ce.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,Ee.sent()]}})})},Ie.prototype.close=function(Ce){var Ee=this;if(Ce===void 0&&(Ce=!1),this.isOpen){var Te=!1;Ce||this.eventListeners.beforeclose.forEach(function(Ue){var Le=new jt(Ee,!0);Ue(Le),Le.defaultPrevented&&(Te=!0)}),Te||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(Ue){return Ue(new jt(Ee))}),this.detachEvents(),this._isOpen=!1)}},Ie.prototype.addMarkersToToolbar=function(){for(var Ce,Ee=[],Te=0;Tethis.editorCanvas.clientHeight?this.editorCanvas.clientHeight*Ce:this.editorCanvas.clientWidth,Te=Ee',Ce.title="Powered by marker.js",Ce.style.display="grid",Ce.style.alignItems="center",Ce.style.justifyItems="center",Ce.style.padding="3px",Ce.style.width="20px",Ce.style.height="20px",this.logoUI.appendChild(Ce),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Ie.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},Ie.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},Ie.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Ie.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var Ce=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=Ce+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new le(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop-1&&this.markers.splice(this.markers.indexOf(Ce),1),Ce.dispose()},Ie.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},Ie.prototype.toolbarButtonClicked=function(Ce,Ee){if(Ce==="marker"&&Ee!==void 0)this.createNewMarker(Ee);else if(Ce==="action")switch(Ee){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},Ie.prototype.deleteSelectedMarker=function(){var Ce=this;if(this._currentMarker!==void 0){var Ee=!1;if(this.eventListeners.markerbeforedelete.forEach(function(Ue){var Le=new Fn(Ce,Ce._currentMarker,!0);Ue(Le),Le.defaultPrevented&&(Ee=!0)}),!Ee){var Te=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(Ue){return Ue(new Fn(Ce,Te))})}}},Ie.prototype.clear=function(){var Ce=this,Ee=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(rt){var Sn=new Fn(Ce,void 0,!0);rt(Sn),Sn.defaultPrevented&&(Ee=!0)}),!Ee)){this.setCurrentMarker();for(var Te=function(rt){var Sn=Ue.markers[rt];Ue.setCurrentMarker(Ue.markers[rt]),Ue._currentMarker.dispose(),Ue.markerImage.removeChild(Ue._currentMarker.container),Ue.markers.splice(Ue.markers.indexOf(Ue._currentMarker),1),Ue.eventListeners.markerdelete.forEach(function(fn){return fn(new Fn(Ce,Sn))})},Ue=this,Le=this.markers.length-1;Le>=0;Le--)Te(Le);this.addUndoStep()}},Object.defineProperty(Ie.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Ie.prototype.showNotesEditor=function(){var Ce;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(Ce=this._currentMarker.notes)!==null&&Ce!==void 0?Ce:"",this.overlayContainer.appendChild(this.notesArea))},Ie.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},Ie.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Ie.prototype.addUndoStep=function(){var Ce=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var Ee=this.getState(),Te=this.undoRedoManager.getLastUndoStep();if(!Te||Te.width===Ee.width&&Te.height===Ee.height){var Ue=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(Ee),Ue1&&this.panTo({x:Ce.clientX,y:Ce.clientY}))},Ie.prototype.onPointerUp=function(Ce){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(Ce.clientX,Ce.clientY)),this.isDragging=!1,this.addUndoStep()},Ie.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Ie.prototype.onKeyUp=function(Ce){this._currentMarker===void 0||this.notesArea!==void 0||Ce.key!=="Delete"&&Ce.key!=="Backspace"||this.deleteSelectedMarker()},Ie.prototype.clientToLocalCoordinates=function(Ce,Ee){var Te=this.markerImage.getBoundingClientRect();return{x:(Ce-Te.left)/this.zoomLevel,y:(Ee-Te.top)/this.zoomLevel}},Ie.prototype.onWindowResize=function(){this.positionUI()},Ie.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var Ce=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=Ce+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},Ie.prototype.addLicenseKey=function(Ce){Ut.addKey(Ce)},Ie.prototype.addEventListener=function(Ce,Ee){this.eventListeners.addEventListener(Ce,Ee)},Ie.prototype.removeEventListener=function(Ce,Ee){this.eventListeners.removeEventListener(Ce,Ee)},Ie.prototype.renderState=function(Ce){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(Ce),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Ie.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Ie.prototype.focus=function(){var Ce=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(Ee){return Ee(new jt(Ce))}))},Ie.prototype.blur=function(){var Ce=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(Ee){return Ee(new jt(Ce))}))},Ie.instanceCounter=0,Ie}(),mn=Pe(99064),zt=Pe(955),$e=(Ie,Ce,Ee)=>new Promise((Te,Ue)=>{var Le=fn=>{try{Sn(Ee.next(fn))}catch(an){Ue(an)}},rt=fn=>{try{Sn(Ee.throw(fn))}catch(an){Ue(an)}},Sn=fn=>fn.done?Te(fn.value):Promise.resolve(fn.value).then(Le,rt);Sn((Ee=Ee.apply(Ie,Ce)).next())}),Yt=({data:Ie,className:Ce,fullWidth:Ee,style:Te={},onClose:Ue,onOk:Le,showFullTools:rt,noAssociationId:Sn})=>{const fn=(0,ue.useRef)(null),an=(0,ue.useRef)(null),$t=(0,ue.useRef)(null),fi=(0,ue.useRef)(null),[Mn,On]=(0,ue.useState)(!1),[Hi,Si]=(0,ue.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ue.useEffect)(()=>($t.current||($t.current=document.createElement("style"),document.head.appendChild($t.current)),Ie!=null&&Ie.visible?(document.body.setAttribute("data-custom","y-hidden"),$t.current.innerHTML=" html { overflow-y: hidden; }",Ie!=null&&Ie.src&&sr()):(document.body.removeAttribute("data-custom"),$t.current&&(document.head.removeChild($t.current),$t.current=null)),()=>{document.body.removeAttribute("data-custom"),$t.current&&(document.head.removeChild($t.current),$t.current=null)}),[Ie==null?void 0:Ie.visible]);const sr=()=>$e(void 0,null,function*(){On(!0),Si("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Lr=yield(0,zt.ZJ)(Ie==null?void 0:Ie.src);fn.current.src="",fn.current.src=Lr,fn.current.onload=function(){No()},On(!1),Si("")}),ro=Lr=>$e(void 0,null,function*(){On(!0),Si("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ko=yield(0,mn.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ie.title,file:Lr.dataUrl}});Ko!=null&&Ko.id&&!Sn?(yield(0,mn.ZP)(`/api/attachments/${Ie.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ko==null?void 0:Ko.id,settings:JSON.stringify(Lr.state)}})).status===0&&Le():Ko!=null&&Ko.id&&Le(Ko),On(!1),Si("")}),Wo=()=>{const Lr=document.querySelector('a[href="https://markerjs.com/"]');Lr&&Lr.parentNode&&(Lr.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(Oo=>{const So=document.querySelector(Oo.name);So&&So.setAttribute("title",Oo.title)})},No=()=>{an.current=new ni(fn.current),an.current.targetRoot=fi.current,an.current.addEventListener("render",ro),an.current.addEventListener("beforeclose",Ue),rt&&(an.current.availableMarkerTypes=an.current.ALL_MARKER_TYPES,an.current.uiStyleSettings.redoButtonVisible=!0,an.current.uiStyleSettings.notesButtonVisible=!0,an.current.uiStyleSettings.zoomButtonVisible=!0,an.current.uiStyleSettings.zoomOutButtonVisible=!0,an.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=an.current.uiStyleSettings,an.current.show(),Ie!=null&&Ie.snapshotData&&an.current.restoreState(Ie.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Wo()},300)};return ue.createElement(ue.Fragment,null,(Ie==null?void 0:Ie.visible)&&ue.createElement(Dt.Z,{spinning:Mn,tip:Hi,style:{position:"absolute",width:"100vw"}},ue.createElement("div",{ref:fi,className:kt()(it.imageDimensions,Ce,Ee?it.fullWidth:""),style:Te},ue.createElement("img",{className:it.img,ref:fn}))))}},41588:function(tn,jn,Pe){"use strict";var ue=Pe(59301),it=Pe(95237),Mt=Pe(43604),kt=Pe(99313),Dt=Pe(3113),Wt=Pe(85149),Ve=Pe(88010),bt=Pe(48136),wt=Pe(59301);const pt=(0,ue.forwardRef)(({callback:St,showSaveButton:Ut,value:Zt=""},Oe)=>{const te=(0,ue.useRef)(),ne=[{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 "}]}]}],de=[{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 @@ -179,7 +179,7 @@ \\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}`}]}]}],le=Ae=>{te.current.setValue(te.current.getValue()+" "+Ae.value+" ")},pe=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:wt.createElement(it.Z,{className:Ve.Z.lists,gutter:[10,10]},ne.map((Ae,Me)=>wt.createElement(Mt.Z,{flex:"110px",className:Ve.Z.item},wt.createElement("div",null,wt.createElement(Wt.Z,{value:`$$${Ae.value}$$`}),Ae.name),wt.createElement("div",{className:Ve.Z.children},Ae.children.map((ke,lt)=>wt.createElement("div",{key:lt},wt.createElement("h1",null,ke.name),wt.createElement(it.Z,{gutter:[10,10]},ke.data.map((dt,yt)=>wt.createElement(Mt.Z,{key:yt,onClick:()=>le(dt),className:Ve.Z.diamond},wt.createElement(Wt.Z,{value:"`$$"+dt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:wt.createElement(it.Z,{className:Ve.Z.lists,gutter:[10,10]},de.map((Ae,Me)=>wt.createElement(Mt.Z,{flex:"110px",className:Ve.Z.item},wt.createElement("div",null,wt.createElement(Wt.Z,{value:"`$$"+Ae.value+"$$`"}),Ae.name),wt.createElement("div",{className:Ve.Z.children},Ae.children.map((ke,lt)=>wt.createElement("div",{key:lt},ke.name&&wt.createElement("h1",null,ke.name),wt.createElement(it.Z,{gutter:[10,10]},ke.data.map((dt,yt)=>wt.createElement(Mt.Z,{key:yt,onClick:()=>le(dt),className:Ve.Z.diamond},wt.createElement(Wt.Z,{value:"`$$"+dt.value+"$$`"}))))))))))}],xe=()=>{var Ae=document.createElement("div");Ae.innerHTML=te.current.getValue();var Me=Ae.innerText;return St&&St(Me),Me};return(0,ue.useImperativeHandle)(Oe,()=>({getData:xe})),wt.createElement("div",{className:Ve.Z.mathWrap},wt.createElement(kt.default,{defaultActiveKey:"1",items:pe}),wt.createElement("math-field",{locale:"zh_cn",className:Ve.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:te,style:{width:800,marginTop:30,fontSize:18}},Zt||""),Ut&&wt.createElement("div",{className:Ve.Z.button},wt.createElement(Dt.ZP,{size:"large",onClick:xe,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});jn.Z=pt},23210:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return xe}});var ue=Pe(59301),it={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},Mt=Pe(3113),kt=Pe(70557),Dt=Pe(23954),Wt=Pe(6848),Ve=Pe(955),bt=Pe(94941),wt=Pe(8797),pt=Pe(3294),St=Pe(19381),Ut=Pe(59301),Zt=Object.defineProperty,Oe=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,de=(Ae,Me,ke)=>Me in Ae?Zt(Ae,Me,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Ae[Me]=ke,le=(Ae,Me)=>{for(var ke in Me||(Me={}))te.call(Me,ke)&&de(Ae,ke,Me[ke]);if(Oe)for(var ke of Oe(Me))ne.call(Me,ke)&&de(Ae,ke,Me[ke]);return Ae},pe=(Ae,Me,ke)=>new Promise((lt,dt)=>{var yt=xt=>{try{Tt(ke.next(xt))}catch(Nt){dt(Nt)}},ut=xt=>{try{Tt(ke.throw(xt))}catch(Nt){dt(Nt)}},Tt=xt=>xt.done?lt(xt.value):Promise.resolve(xt.value).then(yt,ut);Tt((ke=ke.apply(Ae,Me)).next())}),xe=({editOffice:Ae="view",data:Me,theme:ke,type:lt,filename:dt,monacoEditor:yt,className:ut,style:Tt,close:xt,onClose:Nt,hasMask:Jt,disabledDownload:vn,onImgDimensions:Ai,showNodata:hi,recordInfo:kn})=>{const[ci,et]=(0,ue.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[ze,yn]=(0,ue.useState)(""),[Xn,ei]=(0,ue.useState)(),rn=window.ENV==="build"?"/react/build":"",xn=location.host.startsWith("localhost")?pt.Z.PROXY_SERVER:pt.Z.API_SERVER,yi=10*(1024*1024),qn=(0,ue.useRef)();Me!=null&&Me.startsWith("/api")&<!=="txt"&&(Me=pt.Z.API_SERVER+Me);const Mi=jt=>jt.substring(jt.lastIndexOf("/")+1).split(".").pop();dt&&yt&&(yt.filename=dt),(0,ue.useEffect)(()=>{var jt,En;const Fn=(En=(jt=document.cookie)==null?void 0:jt.replace(/\s/g,""))==null?void 0:En.split(";");Fn==null||Fn.map(ii=>{let ni=ii.split("=");ni[0]==="_educoder_session"&&yn(ni[1])})},[]),(0,ue.useEffect)(()=>{lt==="office"&&(Me.indexOf("bigfilescdn.")>-1||Me.indexOf("bigfiles1")>-1?ei({url:Me,fileType:Mi(Me),model:Me.indexOf("model=edit")?"edit":"view"}):mt())},[lt,Me]);const mt=()=>pe(void 0,null,function*(){console.log("data:",Me);let jt=Me;Me.startsWith("http")||(jt=location.origin+jt);let En=new URL(jt).pathname.split("/").pop();const Fn=yield(0,bt.gJ)({attachment_id:En});Fn.url=xn+Fn.url,ei(Fn)}),ht=()=>{if(Me.startsWith("http")||Me.startsWith("blob:")){gn();return}(0,Ve.Sv)(dt||"educoder",Me,dt)},gn=()=>{kn&&(0,St.fc)({id:kn==null?void 0:kn.id,watch_type:1,course_id:kn==null?void 0:kn.course_id}),(0,Ve.Nd)(dt||"educoder",decodeURIComponent(Me))};return Ut.createElement("div",{style:le({},Tt||{}),className:`${Jt&&it.bgBlack} ${lt?it.wrp:"hide"}`},xt&&Ut.createElement("div",{className:it.close,ref:qn},!!Ai&&Ut.createElement(Wt.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>qn.current},Ut.createElement("span",{onClick:()=>{Nt(),Ai()}},Ut.createElement("i",{className:"icon-yulanpizhu"}))),!vn&&Ut.createElement(Wt.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>qn.current},Ut.createElement("span",{onClick:gn},Ut.createElement("i",{className:"icon-quxiaozhiding"}))),Ut.createElement(Wt.Z,{title:"\u5173\u95ED",getPopupContainer:()=>qn.current},Ut.createElement("span",{className:"",onClick:Nt},Ut.createElement("i",{className:"icon-guanbi1"})))),Ut.createElement("div",{className:`${it[ut]} ${ut} ${it.monaco} ${lt==="txt"?"show":"hide"}`},lt==="txt"&&Ut.createElement(Ut.Fragment,null,Ut.createElement(Dt.ZP,le({},yt)))),lt==="audio"&&Ut.createElement("audio",{src:`${(Me==null?void 0:Me.indexOf("http://"))>-1||(Me==null?void 0:Me.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Me}`,autoPlay:!0}),lt==="video"&&Ut.createElement(Ut.Fragment,null,(Me==null?void 0:Me.indexOf("http"))>-1?Ut.createElement("video",{controls:!0,src:`${Me}`,autoPlay:!0}):Ut.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Me}`,autoPlay:!0})),lt==="office"&&Xn&&Ut.createElement("iframe",{src:`${rn}/office.html?key=${Xn.key}&url=${btoa(Xn.url)}&callbackUrl=${xn+(Xn.callbackUrl||"")}&fileType=${Xn.fileType}&title=${Xn.title||""}&model=${Ae}&officeServer=${pt.Z.ONLYOFFICE}&disabledDownload=${!!vn}`}),lt==="html"&&Ut.createElement("iframe",{src:Me+"&disposition=inline"}),lt==="pdf"&&Ut.createElement("iframe",{src:`${rn}/js/pdfview/index.html?filename=${dt||"educoder.pdf"}&url=${encodeURIComponent(Me)}&disabledDownload=${!!vn}`}),lt==="image"&&Ut.createElement("img",{src:`${(Me==null?void 0:Me.indexOf("http://"))>-1||(Me==null?void 0:Me.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Me}`}),(lt==="other"||lt==="download")&&Ut.createElement(Ut.Fragment,null,hi?Ut.createElement(wt.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:Ut.createElement(Mt.ZP,{icon:Ut.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ht,disabled:vn},"\u4E0B\u8F7D")}):Ut.createElement(Mt.ZP,{type:"primary",size:"middle",onClick:ht,disabled:vn},Ut.createElement(kt.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(en,jn,Pe){"use strict";Pe.d(jn,{z:function(){return lt},Z:function(){return dt}});var ue=Pe(59301),it=Pe(50304),Mt=Pe(24768),kt=Pe(64018),Dt=Pe(40846),Wt=Pe(3294),Ve=Pe(955),bt=Pe(15342),wt=Pe(1012),pt=Pe(23210),St=Pe(59301),Zt=({html:yt})=>{const ut=(0,ue.useRef)(null),Tt=(0,ue.useRef)(null),xt=`.markdown-body p { +\\end{array}`}]}]}],le=Ae=>{te.current.setValue(te.current.getValue()+" "+Ae.value+" ")},pe=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:wt.createElement(it.Z,{className:Ve.Z.lists,gutter:[10,10]},ne.map((Ae,Me)=>wt.createElement(Mt.Z,{flex:"110px",className:Ve.Z.item},wt.createElement("div",null,wt.createElement(Wt.Z,{value:`$$${Ae.value}$$`}),Ae.name),wt.createElement("div",{className:Ve.Z.children},Ae.children.map((ke,lt)=>wt.createElement("div",{key:lt},wt.createElement("h1",null,ke.name),wt.createElement(it.Z,{gutter:[10,10]},ke.data.map((dt,yt)=>wt.createElement(Mt.Z,{key:yt,onClick:()=>le(dt),className:Ve.Z.diamond},wt.createElement(Wt.Z,{value:"`$$"+dt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:wt.createElement(it.Z,{className:Ve.Z.lists,gutter:[10,10]},de.map((Ae,Me)=>wt.createElement(Mt.Z,{flex:"110px",className:Ve.Z.item},wt.createElement("div",null,wt.createElement(Wt.Z,{value:"`$$"+Ae.value+"$$`"}),Ae.name),wt.createElement("div",{className:Ve.Z.children},Ae.children.map((ke,lt)=>wt.createElement("div",{key:lt},ke.name&&wt.createElement("h1",null,ke.name),wt.createElement(it.Z,{gutter:[10,10]},ke.data.map((dt,yt)=>wt.createElement(Mt.Z,{key:yt,onClick:()=>le(dt),className:Ve.Z.diamond},wt.createElement(Wt.Z,{value:"`$$"+dt.value+"$$`"}))))))))))}],xe=()=>{var Ae=document.createElement("div");Ae.innerHTML=te.current.getValue();var Me=Ae.innerText;return St&&St(Me),Me};return(0,ue.useImperativeHandle)(Oe,()=>({getData:xe})),wt.createElement("div",{className:Ve.Z.mathWrap},wt.createElement(kt.default,{defaultActiveKey:"1",items:pe}),wt.createElement("math-field",{locale:"zh_cn",className:Ve.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:te,style:{width:800,marginTop:30,fontSize:18}},Zt||""),Ut&&wt.createElement("div",{className:Ve.Z.button},wt.createElement(Dt.ZP,{size:"large",onClick:xe,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});jn.Z=pt},23210:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return xe}});var ue=Pe(59301),it={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},Mt=Pe(3113),kt=Pe(70557),Dt=Pe(23954),Wt=Pe(6848),Ve=Pe(955),bt=Pe(94941),wt=Pe(8797),pt=Pe(3294),St=Pe(19381),Ut=Pe(59301),Zt=Object.defineProperty,Oe=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,de=(Ae,Me,ke)=>Me in Ae?Zt(Ae,Me,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Ae[Me]=ke,le=(Ae,Me)=>{for(var ke in Me||(Me={}))te.call(Me,ke)&&de(Ae,ke,Me[ke]);if(Oe)for(var ke of Oe(Me))ne.call(Me,ke)&&de(Ae,ke,Me[ke]);return Ae},pe=(Ae,Me,ke)=>new Promise((lt,dt)=>{var yt=xt=>{try{Ot(ke.next(xt))}catch(Nt){dt(Nt)}},ut=xt=>{try{Ot(ke.throw(xt))}catch(Nt){dt(Nt)}},Ot=xt=>xt.done?lt(xt.value):Promise.resolve(xt.value).then(yt,ut);Ot((ke=ke.apply(Ae,Me)).next())}),xe=({editOffice:Ae="view",data:Me,theme:ke,type:lt,filename:dt,monacoEditor:yt,className:ut,style:Ot,close:xt,onClose:Nt,hasMask:Jt,disabledDownload:vn,onImgDimensions:Ai,showNodata:hi,recordInfo:kn})=>{const[ci,et]=(0,ue.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[ze,yn]=(0,ue.useState)(""),[Xn,ei]=(0,ue.useState)(),on=window.ENV==="build"?"/react/build":"",xn=location.host.startsWith("localhost")?pt.Z.PROXY_SERVER:pt.Z.API_SERVER,yi=10*(1024*1024),qn=(0,ue.useRef)();Me!=null&&Me.startsWith("/api")&<!=="txt"&&(Me=pt.Z.API_SERVER+Me);const Mi=jt=>jt.substring(jt.lastIndexOf("/")+1).split(".").pop();dt&&yt&&(yt.filename=dt),(0,ue.useEffect)(()=>{var jt,En;const Fn=(En=(jt=document.cookie)==null?void 0:jt.replace(/\s/g,""))==null?void 0:En.split(";");Fn==null||Fn.map(ri=>{let ni=ri.split("=");ni[0]==="_educoder_session"&&yn(ni[1])})},[]),(0,ue.useEffect)(()=>{lt==="office"&&(Me.indexOf("bigfilescdn.")>-1||Me.indexOf("bigfiles1")>-1?ei({url:Me,fileType:Mi(Me),model:Me.indexOf("model=edit")?"edit":"view"}):mt())},[lt,Me]);const mt=()=>pe(void 0,null,function*(){console.log("data:",Me);let jt=Me;Me.startsWith("http")||(jt=location.origin+jt);let En=new URL(jt).pathname.split("/").pop();const Fn=yield(0,bt.gJ)({attachment_id:En});Fn.url=xn+Fn.url,ei(Fn)}),ht=()=>{if(Me.startsWith("http")||Me.startsWith("blob:")){gn();return}(0,Ve.Sv)(dt||"educoder",Me,dt)},gn=()=>{kn&&(0,St.fc)({id:kn==null?void 0:kn.id,watch_type:1,course_id:kn==null?void 0:kn.course_id}),(0,Ve.Nd)(dt||"educoder",decodeURIComponent(Me))};return Ut.createElement("div",{style:le({},Ot||{}),className:`${Jt&&it.bgBlack} ${lt?it.wrp:"hide"}`},xt&&Ut.createElement("div",{className:it.close,ref:qn},!!Ai&&Ut.createElement(Wt.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>qn.current},Ut.createElement("span",{onClick:()=>{Nt(),Ai()}},Ut.createElement("i",{className:"icon-yulanpizhu"}))),!vn&&Ut.createElement(Wt.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>qn.current},Ut.createElement("span",{onClick:gn},Ut.createElement("i",{className:"icon-quxiaozhiding"}))),Ut.createElement(Wt.Z,{title:"\u5173\u95ED",getPopupContainer:()=>qn.current},Ut.createElement("span",{className:"",onClick:Nt},Ut.createElement("i",{className:"icon-guanbi1"})))),Ut.createElement("div",{className:`${it[ut]} ${ut} ${it.monaco} ${lt==="txt"?"show":"hide"}`},lt==="txt"&&Ut.createElement(Ut.Fragment,null,Ut.createElement(Dt.ZP,le({},yt)))),lt==="audio"&&Ut.createElement("audio",{src:`${(Me==null?void 0:Me.indexOf("http://"))>-1||(Me==null?void 0:Me.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Me}`,autoPlay:!0}),lt==="video"&&Ut.createElement(Ut.Fragment,null,(Me==null?void 0:Me.indexOf("http"))>-1?Ut.createElement("video",{controls:!0,src:`${Me}`,autoPlay:!0}):Ut.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Me}`,autoPlay:!0})),lt==="office"&&Xn&&Ut.createElement("iframe",{src:`${on}/office.html?key=${Xn.key}&url=${btoa(Xn.url)}&callbackUrl=${xn+(Xn.callbackUrl||"")}&fileType=${Xn.fileType}&title=${Xn.title||""}&model=${Ae}&officeServer=${pt.Z.ONLYOFFICE}&disabledDownload=${!!vn}`}),lt==="html"&&Ut.createElement("iframe",{src:Me+"&disposition=inline"}),lt==="pdf"&&Ut.createElement("iframe",{src:`${on}/js/pdfview/index.html?filename=${dt||"educoder.pdf"}&url=${encodeURIComponent(Me)}&disabledDownload=${!!vn}`}),lt==="image"&&Ut.createElement("img",{src:`${(Me==null?void 0:Me.indexOf("http://"))>-1||(Me==null?void 0:Me.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Me}`}),(lt==="other"||lt==="download")&&Ut.createElement(Ut.Fragment,null,hi?Ut.createElement(wt.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:Ut.createElement(Mt.ZP,{icon:Ut.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ht,disabled:vn},"\u4E0B\u8F7D")}):Ut.createElement(Mt.ZP,{type:"primary",size:"middle",onClick:ht,disabled:vn},Ut.createElement(kt.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(tn,jn,Pe){"use strict";Pe.d(jn,{z:function(){return lt},Z:function(){return dt}});var ue=Pe(59301),it=Pe(50304),Mt=Pe(24768),kt=Pe(64018),Dt=Pe(40846),Wt=Pe(3294),Ve=Pe(955),bt=Pe(15342),wt=Pe(1012),pt=Pe(23210),St=Pe(59301),Zt=({html:yt})=>{const ut=(0,ue.useRef)(null),Ot=(0,ue.useRef)(null),xt=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; @@ -1026,9 +1026,9 @@ .markdown-body pre { margin-top: 0; margin-bottom: 16px; - }`;return(0,ue.useEffect)(()=>{const Nt=ut.current.attachShadow({mode:"open"});Tt.current=document.createElement("div"),Tt.current.className="markdown-body",Tt.current.innerHTML=yt,Nt.appendChild(Tt.current);const Jt=document.createElement("style");return Jt.textContent=xt,Nt.appendChild(Jt),()=>{Nt.innerHTML=""}},[]),(0,ue.useEffect)(()=>{Tt.current&&(Tt.current.innerHTML=yt)},[yt]),St.createElement("div",{ref:ut})},Oe=Object.defineProperty,te=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(yt,ut,Tt)=>ut in yt?Oe(yt,ut,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):yt[ut]=Tt,pe=(yt,ut)=>{for(var Tt in ut||(ut={}))ne.call(ut,Tt)&&le(yt,Tt,ut[Tt]);if(te)for(var Tt of te(ut))de.call(ut,Tt)&&le(yt,Tt,ut[Tt]);return yt};const xe="@\u2581\u2581@",Ae="@\u2581@",Me=/]*>/g;function ke(yt){let ut=document.createElement("div");return ut.innerHTML=yt,ut.childNodes.length===0?"":ut.childNodes[0].nodeValue}const lt=(yt,ut)=>{yt=yt||"";const Tt=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,xt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Nt=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Jt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ut?yt.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Tt,(vn,Ai,hi,kn,ci,et,ze)=>{const yn=Ai||kn||et,Xn=hi||ci||ze||"?";return Wt.Z.API_SERVER+"/api/attachments/"+yn+Xn+"&t="+(0,Ve.Jn)(yn,Date.now())+(vn.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(yt=yt.replace(Jt,(vn,Ai,hi,kn,ci,et,ze)=>{const yn=Ai||kn||et,Xn=hi||ci||ze||"?";return Wt.Z.API_SERVER+"/attachments/download/"+yn+Xn+"&t="+(0,Ve.Jn)(yn,Date.now())+(vn.indexOf(")")>-1?")":"&")}).replace(Tt,(vn,Ai,hi,kn,ci,et,ze)=>{const yn=Ai||kn||et,Xn=hi||ci||ze||"?";return Wt.Z.API_SERVER+"/api/attachments/"+yn+Xn+"&t="+(0,Ve.Jn)(yn,Date.now())+(vn.indexOf(")")>-1?")":"&")}).replace(xt,(vn,Ai,hi,kn,ci)=>{const et=Ai||kn,ze=hi||ci||"";return'"'+Wt.Z.API_SERVER+"/api/attachments/"+et+ze+et+ze+"&t="+(0,Ve.Jn)(et,Date.now())}).replace(Nt,(vn,Ai,hi,kn,ci)=>{const et=Ai||kn,ze=hi||ci||"";return"("+Wt.Z.API_SERVER+"/files/uploads/"+et+ze+et+ze+"&t="+(0,Ve.Jn)(et,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` -`),yt)};var dt=({value:yt="",className:ut,showTextOnly:Tt,showLines:xt,style:Nt={},stylesPrev:Jt={},highlightKeywords:vn,showProgramFill:Ai,isProgramFill:hi,disabledFill:kn=!1,programFillValue:ci,onFillChange:et=Xn=>{},onFillBlur:ze=()=>{},onFillFocus:yn=()=>{}})=>{let Xn=String(yt);const[ei,rn]=(0,ue.useState)(""),[xn,Dn]=(0,ue.useState)("office"),[yi,qn]=(0,ue.useState)([]),Mi=(0,ue.useRef)("a"+(0,wt.Z)()),mt={},ht=(Ie,Ce,Ee)=>{const Te=document.createElement(Ie===Ae?"input":"textarea");Te.style.width="100%",Te.style.height=Ie===Ae?"40px":"151px",Te.rows=5,Te.spellcheck=!1,Te.name="edu-program-fill",Te.placeholder="\u8BF7\u8F93\u5165",Te.dataset.id=Ce;const Ue=Object.keys(mt).length;return mt[Ue]=Te,`${Te.outerHTML}`};function gn(Ie){return Ie=Ie.replace(/!\[.*?\]\(.*?\)/g,""),Ie=Ie.replace(/\[.*?\]\(.*?\)/g,""),Ie=Ie.replace(new RegExp("","gs"),""),Ie=Ie.replace(//g,""),Ie=Ie.replace(//g,""),Ie=Ie.replace(new RegExp(".*?<\\/video>","gs"),""),Ie=Ie.replace(new RegExp(".*?<\\/audio>","gs"),""),Ie=Ie.replace(new RegExp(".*?<\\/style>","gs"),""),Ie=Ie.replace(new RegExp(".*?<\\/script>","gs"),""),Ie}const jt=Ie=>Ie.replace(/([\s\S]+?)<\/style>/gim,function(Ce,Ee){let Te=Ee.replace(/(\n|\r)/g,"").split("}"),Ue=[];return Te.map(Le=>{Le!=""&&Ue.push(`.${Mi.current} ${Le}`)}),``}),En=(0,ue.useMemo)(()=>{try{const Te=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Ue=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Le=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,rt=/\(\/attachments\/download\//g;Xn=Xn.replace(rt,"("+Wt.Z.API_SERVER+"/attachments/download/").replace(Te,"("+Wt.Z.API_SERVER+"/api/attachments/").replace(Ue,'"'+Wt.Z.API_SERVER+"/api/attachments/").replace(Le,'"'+Wt.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` -`)}catch(Te){}if(Ai){let Te=-1;return Xn=Xn.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Ue,Le,rt){var Sn;return++Te,ht(Ue,Te,(Sn=ci==null?void 0:ci[Te])==null?void 0:Sn.value.replaceAll("<","<").replaceAll(">",">"))}),`
${jt(Xn||"")}
`}let Ie=jt(Xn);Ie=(0,Mt.ZP)(Ie);const Ce=(0,Mt.ez)();Xn.match(/\[TOC\]/)&&(Ie=Ie.replace("

[TOC]

",(0,Mt.Qv)()),(0,Mt.Iy)()),Ie=Ie.replace(/(__special_katext_id_\d+__)/g,(Te,Ue)=>{const{type:Le,expression:rt}=Ce[Ue];return(0,bt.renderToString)(ke(rt)||"",{displayMode:Le==="block",throwOnError:!1,output:"html"})}),Ie=Ie.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,Mt.AL)();const Ee=document.createElement("div");if(Ee.innerHTML=Ie,Tt)return Ee.innerText;if(vn){const Te=vn.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return mn(Ee,Te),Ee.innerHTML}return setTimeout(()=>At(),500),Ee.innerHTML},[Xn,vn]);(0,ue.useEffect)(()=>{zt.current&&zt.current.querySelectorAll(["input","textarea"]).forEach(Ce=>{Ce.oninput=Fn,Ce.onblur=ii,Ce.onfocus=ni})},[yi]),(0,ue.useEffect)(()=>{var Ie,Ce,Ee,Te,Ue;if(ci!=null&&ci.length)try{const Le=zt.current.querySelectorAll(".edu-program-fill-score"),rt=zt.current.querySelectorAll('[name="edu-program-fill"]');for(const[Sn,fn]of rt.entries())fn.value=((Ie=ci==null?void 0:ci[Sn])==null?void 0:Ie.value)||"",((Ce=ci==null?void 0:ci[Sn])==null?void 0:Ce.type)==="warning"?fn.className="program-fill-warning":((Ee=ci==null?void 0:ci[Sn])==null?void 0:Ee.type)==="success"?fn.className="program-fill-success":fn.className="";for(const[Sn,fn]of Le.entries())fn.innerHTML=(Te=ci==null?void 0:ci[Sn])!=null&&Te.score?`${(Ue=ci==null?void 0:ci[Sn])==null?void 0:Ue.score}\u5206`:"";qn(ci)}catch(Le){console.log(Le,"error")}},[ci]);const Fn=Ie=>{yi[Ie.target.dataset.id]=yi[Ie.target.dataset.id]||{},yi[Ie.target.dataset.id].value=Ie.target.value,qn([...yi]),et(yi,Ie.target.dataset.id)},ii=Ie=>{yi[Ie.target.dataset.id]=yi[Ie.target.dataset.id]||{},yi[Ie.target.dataset.id].value=Ie.target.value,qn([...yi]),ze(yi,Ie.target.dataset.id)},ni=Ie=>{yi[Ie.target.dataset.id]=yi[Ie.target.dataset.id]||{},yi[Ie.target.dataset.id].value=Ie.target.value,qn([...yi]),yn(yi,Ie.target.dataset.id)};function mn(Ie,Ce){return Ie.childNodes.forEach(Ee=>{var Te;if(Ee.childNodes.length>0)mn(Ee,Ce);else if(Ee.nodeName!=="IMG")if(Ee.innerHTML)Ee.innerHTML=(Te=Ee.innerHTML)==null?void 0:Te.replace(new RegExp(Ce,"gi"),'$&');else{const Ue=document.createElement("span");Ue.innerHTML=Ee.textContent.replace(new RegExp(Ce,"gi"),'$&'),Ee.replaceWith(Ue)}})}const zt=(0,ue.useRef)();Mt.jb.WebkitLineClamp=xt,xt&&(Nt=pe(pe({},Nt),Mt.jb));function $e(Ie){let Ce=Ie.target;if(Ce.tagName.toUpperCase()==="A"){let Ee=Ce.getAttribute("href");if(Ee.indexOf("office")>-1)Ie.preventDefault(),rn(Ee),Dn("office");else if(Ee.indexOf("application/pdf")>-1)Ie.preventDefault(),rn(Ee),Dn("pdf");else if(Ee.indexOf("text/html")>-1)Ie.preventDefault(),rn(Ee),Dn("html");else if(Ee.startsWith("#")){Ie.preventDefault();let Te=document.getElementById(Ee.replace("#",""));Te&&Te.scrollIntoView(!0)}}}const At=()=>{var Ie;const Ce=(Ie=zt.current)==null?void 0:Ie.querySelectorAll("video");Ce==null||Ce.forEach(Ee=>{if(Ee.oncontextmenu=()=>!1,Ee.src.indexOf(".m3u8")>-1&&!Ee.canPlayType("application/vnd.apple.mpegurl")){if(Dt.ZP.isSupported()){var Te=new Dt.ZP;Te.loadSource(Ee.src),Te.attachMedia(Ee)}}})};(0,ue.useEffect)(()=>{if(zt.current&&En&&En.match(Me)&&window.PR.prettyPrint(),zt.current)return zt.current.addEventListener("click",$e),()=>{var Ie;(Ie=zt.current)==null||Ie.removeEventListener("click",$e),(0,Mt.AL)(),(0,Mt.Iy)()}},[En,zt.current,$e]),(0,ue.useEffect)(()=>{var Ie;const Ce=Ee=>{Ee.preventDefault(),Ee.clipboardData.setData("text",window.getSelection().toString())};return(Ie=zt.current)==null||Ie.addEventListener("copy",Ce),()=>{var Ee;(Ee=zt.current)==null||Ee.removeEventListener("copy",Ce)}},[zt.current]);const Yt=Ie=>//i.test(Ie||"");return ue.createElement(ue.Fragment,null,Tt&&ue.createElement("div",{ref:zt},En),!Tt&&!Yt(En)&&ue.createElement("div",{ref:zt,style:pe({},Nt),className:`${ut||""} ${kn?"disabled-fill":""} markdown-body ${Mi.current}`,dangerouslySetInnerHTML:{__html:En}}),!Tt&&Yt(En)&&ue.createElement(Zt,{html:En}),ue.createElement(pt.Z,{close:!0,data:ei,type:ei!=null&&ei.length?xn:"",style:pe({},Jt),onClose:()=>rn("")}))}},14636:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return lt}});var ue=Pe(59301),it=Pe(6848),Mt=Pe(92832),kt=Pe(71418),Dt=Pe(64165),Wt=Pe(92310),Ve=Pe.n(Wt),bt={selectEnvironment:"selectEnvironment___LegvW",search:"search___ZMwsK",searchListWrap:"searchListWrap___iUv9S",searchList:"searchList___T1FBi",name:"name___t0Y2b",tag:"tag___ooWkq",searchListActive:"searchListActive___ahElk",spin:"spin___x2xMT",common:"common___ZhJvk",title:"title___p4_7m",tags:"tags___2fYZM",tagActive:"tagActive___tb54k",wrap:"wrap___I9ZtF",allList:"allList___h31KX",item:"item___PwiKQ",itemActive:"itemActive___JCEc6",line:"line___Qn6mz",apply:"apply___EhZKq",p1:"p1___LxfGu",p2:"p2___jiQhJ",list:"list___n7Ydz",items:"items___OB8qz",darklySelectEnvironment:"darklySelectEnvironment___K__cy"},wt=Pe(36723),pt=Pe(99064),St=Pe(89392),Ut=Object.defineProperty,Zt=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(dt,yt,ut)=>yt in dt?Ut(dt,yt,{enumerable:!0,configurable:!0,writable:!0,value:ut}):dt[yt]=ut,pe=(dt,yt)=>{for(var ut in yt||(yt={}))ne.call(yt,ut)&&le(dt,ut,yt[ut]);if(te)for(var ut of te(yt))de.call(yt,ut)&&le(dt,ut,yt[ut]);return dt},xe=(dt,yt)=>Zt(dt,Oe(yt)),Ae=(dt,yt,ut)=>new Promise((Tt,xt)=>{var Nt=Ai=>{try{vn(ut.next(Ai))}catch(hi){xt(hi)}},Jt=Ai=>{try{vn(ut.throw(Ai))}catch(hi){xt(hi)}},vn=Ai=>Ai.done?Tt(Ai.value):Promise.resolve(Ai.value).then(Nt,Jt);vn((ut=ut.apply(dt,yt)).next())});const Me=({className:dt,dispatch:yt,skin:ut="white",value:Tt=null,loading:xt=!1,data:Nt=[],otherData:Jt=[],tags:vn=[],onChange:Ai=()=>{},onSearchWord:hi=()=>{},shixun_type:kn,extraContent:ci,tab_type:et,is_create_mirror:ze,hiddenCreateOnline:yn})=>{const[Xn,ei]=(0,ue.useState)(""),[rn,xn]=(0,ue.useState)(!1),[Dn,yi]=(0,ue.useState)([]),[qn,Mi]=(0,ue.useState)(0),mt=(0,ue.useRef)(null),ht=(0,ue.useRef)(String(Math.floor(Math.random()*1e6))).current,gn=(0,ue.useRef)(),jt=(0,ue.useRef)(null),En=(0,ue.useRef)(0),Fn=(0,ue.useRef)([]);(0,ue.useEffect)(()=>(window.addEventListener("keydown",ii),()=>{window.removeEventListener("keydown",ii)}),[Xn,rn,Dn]),(0,ue.useEffect)(()=>{yi([])},[et]);const ii=fn=>{if(!rn||fn.keyCode!==40&&fn.keyCode!==38)return;let an=0;fn.keyCode===40&&rn&&(qn{const qt=Mn=>{var On=/[\^\.\\\|\(\)\*\+\-\$\[\]\?]/g,Hi={};return Hi["^"]="\\^",Hi["."]="\\.",Hi["\\"]="\\\\",Hi["|"]="\\|",Hi["("]="\\(",Hi[")"]="\\)",Hi["*"]="\\*",Hi["+"]="\\+",Hi["-"]="\\-",Hi.$="$",Hi["["]="\\[",Hi["]"]="\\]",Hi["?"]="\\?",Mn=Mn.replace(On,function(Si){return Hi[Si]}),Mn};var fi=new RegExp(qt(an),"gi");return fn=fn.replace(fi,function(Mn){return""+Mn+""}),fn},mn=(fn,an,qt)=>Ae(void 0,null,function*(){let fi=En.current+1;En.current=fi;const Mn=On=>On==null?void 0:On.map((Si,sr)=>{const{id:ro,name:Wo}=Si,No=xe(pe({},Si),{label:ue.createElement("ul",{id:`search-${ht}-${sr}`,onClick:()=>Ie(ro,No),className:sr===an?bt.searchListActive:bt.searchList},ue.createElement("li",{className:bt.name,dangerouslySetInnerHTML:{__html:ni(Wo,fn)}}),Si.private&&ue.createElement(it.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ue.createElement("li",{className:bt.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),Si.is_base&&ue.createElement(it.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ue.createElement("li",{className:bt.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840")))});return No});if(qt){const On=Mn(Fn.current);yi(On);return}clearTimeout(jt.current),jt.current=setTimeout(()=>Ae(void 0,null,function*(){var On,Hi;const Si={keywords:encodeURIComponent(fn||""),page:1,limit:1e5,tab_type:et};kn&&(Si.shixun_type=kn);const sr=yield(0,pt.ZP)("/api/shixuns/search_image.json",{method:"get",params:xe(pe({},Si),{is_create_mirror:ze})});if((sr==null?void 0:sr.status)===0){const ro=Mn(((On=sr==null?void 0:sr.data)==null?void 0:On.mirrors)||[]);fi===En.current&&(yi(ro),Fn.current=(0,St.cloneDeep)(((Hi=sr==null?void 0:sr.data)==null?void 0:Hi.mirrors)||[]))}}),300)}),zt=fn=>{const an=document.getElementById(`scroll-${ht}-${fn}`);if(!an)return;document.getElementById(`scroll-${ht}`).scrollTo(0,an.offsetTop)},$e=(fn,an)=>{const qt=document.getElementById(`search-${ht}-${fn}`);if(!qt)return;const fi=document.getElementById(`search-${ht}`);qt.offsetTop-fi.scrollTop>0&&qt.offsetTop-fi.scrollTop{mn(fn,0)},Yt=fn=>{var an;if(!Dn.length)return;const qt=(an=Dn==null?void 0:Dn[qn])==null?void 0:an.id;Ai(qt),yi([]),Mi(0),zt(qt),gn.current.blur()},Ie=(fn,an)=>{Ai(fn),yi([]),Mi(0),zt(fn)},Ce=()=>{yi([]),ei(""),hi("")},Ee=fn=>{Ai(fn),yi([])},Te=()=>Xn===""?ue.createElement("i",{style:{pointerEvents:"none"},className:"iconfont icon-sousuo2 c-grey-c"}):ue.createElement("i",{onClick:fn=>{fn.stopPropagation(),Ce()},className:"iconfont icon-shanchu4 c-grey-c"}),Ue=()=>{yt({type:"newShixuns/setActionTabs",payload:{key:"NewShixuns-Apply"}})},Le=()=>{yt({type:"newShixuns/setActionTabs",payload:{key:"Create-Environment"}})},rt=()=>{mt.current=setTimeout(()=>{xn(!1),Mi(0)},200)},Sn=!(Nt!=null&&Nt.length)&&!(Jt!=null&&Jt.length);return ue.createElement("div",{className:Ve()(ut==="night"?bt.darklySelectEnvironment:bt.selectEnvironment,dt)},ci&&ue.createElement("div",{style:{marginTop:20,marginLeft:20}},ci),ue.createElement("div",{className:bt.search},ue.createElement(Mt.default,{suffix:Te(),bordered:!1,ref:gn,value:Xn,onKeyDown:fn=>{(fn.keyCode===40||fn.keyCode===38||fn.keyCode===13)&&fn.preventDefault()},size:"middle",onFocus:()=>{clearTimeout(mt.current),Xn&&At(Xn),xn(!0)},onBlur:rt,onChange:fn=>{ei(fn.target.value),fn.target.value&&At(fn.target.value),hi(fn.target.value)},placeholder:"\u641C\u7D22\u60A8\u9700\u8981\u7684\u5B9E\u9A8C\u73AF\u5883",onPressEnter:Yt}),rn&&ue.createElement("div",{id:`search-${ht}`,className:bt.searchListWrap},Dn.map((fn,an)=>ue.createElement(ue.Fragment,{key:an}," ",fn.label)))),xt?ue.createElement(kt.Z,{className:bt.spin}):ue.createElement(ue.Fragment,null,!!vn.length&&ue.createElement("aside",{className:bt.common},ue.createElement("div",{className:bt.title},"\u63A8\u8350\u73AF\u5883:"),ue.createElement("ul",{className:bt.tags},vn.map((fn,an)=>ue.createElement("li",{key:an,onClick:()=>Ee(fn.id),className:Tt===fn.id?`${bt.tag} ${bt.tagActive}`:bt.tag},fn.name)))),Sn&&ue.createElement(Dt.Z,{style:{margin:"60px 0"},image:wt,description:ue.createElement("span",{className:"c-grey-999"},"\u6682\u65E0\u5B9E\u9A8C\u73AF\u5883")}),ue.createElement("aside",{className:bt.wrap,id:`scroll-${ht}`},Nt.map((fn,an)=>{var qt;return(qt=fn==null?void 0:fn.image)!=null&&qt.length?ue.createElement(ke,{key:an,data:fn,id:Tt,handleClick:fi=>Ee(fi)}):null}),ue.createElement("ul",{className:bt.allList},Jt.map(fn=>ue.createElement("li",{key:`key-${fn.id}`,id:`scroll-${ht}-${fn.id}`,className:fn.id===Tt?`${bt.item} ${bt.itemActive}`:bt.item,onClick:()=>Ai(fn.id)},ue.createElement("div",{className:bt.name},fn.name),fn.private&&ue.createElement(it.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ue.createElement("div",{className:bt.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),fn.is_base&&ue.createElement(it.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ue.createElement("div",{className:bt.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840"))))))),ue.createElement("div",{className:bt.apply},ue.createElement("span",{className:bt.p1},"\u6CA1\u6709\u5B9E\u9A8C\u73AF\u5883\uFF1F"),ue.createElement("span",{className:bt.p2,onClick:Ue}," \u7533\u8BF7\u65B0\u5EFA"),!yn&&ue.createElement("span",{className:bt.p2,onClick:Le}," \u5728\u7EBF\u521B\u5EFA")))},ke=({data:dt,id:yt,handleClick:ut})=>{const[Tt,xt]=(0,ue.useState)(!0),{name:Nt,image:Jt}=dt;return ue.createElement("div",{className:bt.list},ue.createElement("header",{onClick:()=>xt(!Tt)},ue.createElement("div",{className:bt.title},Nt),ue.createElement("i",{style:{transition:"0.5s",transform:Tt?"rotate(0deg)":"rotate(180deg)"},className:"iconfont icon-shangjiantou c-grey-999"})),ue.createElement("ul",{className:bt.items,style:{height:Tt?"auto":0}},Jt.map(vn=>ue.createElement("li",{key:vn.id,className:vn.id===yt?`${bt.item} ${bt.itemActive}`:bt.item,onClick:()=>ut(vn.id)},ue.createElement("div",{className:bt.name},vn.name),vn.private&&ue.createElement(it.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ue.createElement("div",{className:bt.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),vn.is_base&&ue.createElement(it.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ue.createElement("div",{className:bt.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840")))),ue.createElement("li",{className:bt.line})))};var lt=Me},88412:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return mt}});var ue=Pe(59301),it=Pe(5112),Mt=Pe(78241),kt=Pe(61621),Dt=Pe(3113),Wt=Pe(99064),Ve=Pe(43418),bt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAIwCAYAAABawRXrAADVaUlEQVR42uydCXhcdbn/RRAEURGvC4LgAsJFUVQUQWRRQdkLBUoXREVRLgh6BUG40KJA7ZK0EAiZ2z+VpWy9rbGltHSBdCHJNG1o2iQ0bdIsTRqStplmn+2c5/d/v+ecX3JycmbmzMyZJZP3+zzvM13TmXOm8/vkXb7vhz7EYrFYrLjl2SqOmVMefCivXLlm7nviFL4iLBaLxWKxWEkqryz8k7nekAeRV6HewVeExWKxWCwWKymJw+aWB/8uAWtehTibrwmLxWKxWCxWEprlFScNZa82h/IAXHxVWCwWi8VisZLQnPLA1RKwKJM1la8Ii8VisVgsVhKaXiKOnbs59CcDsJ7Orwh+na8Ki8VisVgsVhKaV+7/0tzycL5WHvQGH35is/g0XxUWi8VisVisJJRXHrjGXB68cbE4nK8Ki8VisVgsVoL6w0pxVL43PFMCVn6F4PIgi8VisVgsVjKaVx6+eCh7VRacydODLBaLxWKxWEkIze1zNgdnaHC1OfTs7PLQd/iqsFgsFovFYiWhOaWD55HnVYFsbufeKxaLxWKxWKwk9FS9OIrA6r/yvKEiZK+wJoevCovFYrFYLFYSgtcVP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G1f1wlykvE0eSWQPvP1ivzpHNkukEpZqWnEqzITxd8L35ffG6fJ75UT5PcOMlMIBAKBCEvETpJLC39M3EP8TvZ7vSXLjpOliM3AlUEgDpktn5v8HJ0in7Nvyb4ofi7/Wt41ehkLFL7jEQgEAhFr8fqWbNi9RJZJbpTrJX4jp6Oeklvs39StmUA2DEQi6zRTiv6bcjpvpHwODpbPyZ/K5+glskcRk3oIBAKBSEj5OkaumOByysnEt2WPCl8u+z15N9o9shTJKyfGy3vTIAwg0J16b8vnCpfu7iVukTvj+Dl1hnyO8XPtRPncQz8UAoFAIBC6rBhPXl0p10/8QmbEHpXNxa/Iex3flqWeSbJBP1Nesj1DTnblIlsW86xSrvxazJBfm0z5tZosp+7elqU67nf6g5TtwfJr/iP5HMBeKAQCgUAgoiRhx8pmYy5PXkxcITMZ18tS0ADZnMxZjgdkqegxWbJ8VpYtX5Fj9e9IScuQEjAbYnaEKM3WCdIk+ZiNk4/hGPmYPiUf4+HyMb9XTqoOkF+T6+XX6Er5NTtbfg1xGTECgUAgEAkoY0dLITtelo64hHSqnAg7U0raOXJKjC/LvUius+gne3Zu8JG2/5VZlofk/ZHcJP20zK6NlsLxqhznHy95VzZXT5EZnGxZ8tKTZ1B2pvthqu7vf1f3cV+Xn8sYWVobJT/X38mM4FB5WfA98t82QK4d4H/z/8jH4DvyMblAPkbn/P9Bw0wIGoa8aNNyoLBmGk15o2AUjCwAAJpj3XJMmgW8AAAAAElFTkSuQmCC";function wt(){return(0,Wt.U2)("teach_groups.json")}function pt(ht){return(0,Wt.v_)("teach_groups.json",ht)}function St(ht,gn){return(0,Wt.gz)(`teach_groups/${ht}.json`,gn)}function Ut(ht){return(0,Wt.v_)("teach_group_members.json",ht)}function Zt(ht){return(0,Wt.IV)(`teach_group_members/${ht}.json`)}function Oe(ht,gn){return(0,Wt.IV)(`teach_groups/${ht}/del_member.json`,{member_id:gn})}function te(ht){return(0,Wt.IV)(`teach_groups/${ht}.json`)}var ne=Pe(92832),de=({callback:ht,visible:gn,onCancel:jt,id:En,name:Fn})=>{function ii(mn){ht(mn)}const[ni]=Mt.default.useForm();return(0,ue.useEffect)(()=>{ni.setFieldsValue({name:Fn})},[Fn]),ue.createElement(Ve.default,{centered:!0,title:En?"\u6539\u540D":"\u65B0\u5EFA",open:gn,onCancel:jt,footer:null},ue.createElement(Mt.default,{layout:"vertical",form:ni,initialValues:{name:Fn},onFinish:ii},ue.createElement(Mt.default.Item,{label:"\u6559\u7814\u56E2\u961F\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u540D\u79F0"}]},ue.createElement(ne.default,{placeholder:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u540D\u79F0",maxLength:20})),ue.createElement(Mt.default.Item,null,ue.createElement("div",{className:"flex-container flex-end"},ue.createElement(Dt.ZP,{type:"ghost",onClick:jt,style:{marginRight:20}}," \u53D6\u6D88 ")," ",ue.createElement(Dt.ZP,{type:"primary",htmlType:"submit"}," \u786E\u5B9A ")))))},le=Pe(72308),pe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c17.7 0 32 14.3 32 32v736c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32zm-40 72H184v656h656V184zM640.01 338.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-square",theme:"outlined"},xe=pe,Ae=Pe(7657),Me=function(gn,jt){return ue.createElement(Ae.Z,(0,le.Z)({},gn,{ref:jt,icon:xe}))},ke=ue.forwardRef(Me),lt=ke,dt=Pe(43531);const yt=50;var ut=({data:ht,isAdminOrTeacher:gn,onDelGroup:jt,onChangeGroupName:En,onPlusMember:Fn,onDelMember:ii,onExitGroup:ni})=>{const[mn,zt]=(0,ue.useState)(0),[$e,At]=(0,ue.useState)(0);function Yt(Ee){let Te=parseInt(Ee.target.id,10);Ve.default.confirm({title:"\u89E3\u6563\u63D0\u793A",content:"\u89E3\u6563\u6559\u7814\u56E2\u961F\u5C06\u5BF9\u56E2\u961F\u6210\u5458\u4E4B\u95F4\u5171\u4EAB\u5B9E\u8BAD\u3001\u8BD5\u5377\u7B49\u529F\u80FD\u9020\u6210\u4E0D\u4FBF\u3002\u60A8\u786E\u5B9A\u8981\u89E3\u6563\u672C\u6559\u7814\u56E2\u961F\u5417\uFF1F",onOk:()=>{jt(Te)}})}function Ie(Ee){let Te=parseInt(Ee.target.id,10);Ve.default.confirm({title:"\u9000\u51FA\u63D0\u793A",content:"\u9000\u51FA\u5C06\u5BF9\u60A8\u4E0E\u7EC4\u5185\u6210\u5458\u5171\u540C\u5F00\u5C55\u6559\u7814\u6D3B\u52A8\u9020\u6210\u4E0D\u4FBF\u3002\u60A8\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F",onOk:()=>{ni(Te)}})}function Ce(Ee,Te){Ve.default.confirm({title:"\u6E29\u99A8\u63D0\u793A",icon:null,content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u7EC4\u5458\u5417?",onOk:()=>{ii(Ee,Te)}})}return ue.createElement("ul",{className:"teaching-list"},ht.map((Ee,Te)=>ue.createElement("li",{key:Ee.id,onClick:()=>zt(Te)},ue.createElement("div",{className:"item-group"},ue.createElement("span",null,Ee.name," \xA0 ",Te!==mn&&ue.createElement("i",{className:"iconfont icon-jiantou9"})," "),ue.createElement("div",{className:"action-group"},gn?ue.createElement("a",{onClick:()=>{En(Ee)},style:{marginRight:40}},"\u4FEE\u6539\u540D2222\u79F0"):null,Ee.is_creat?ue.createElement("a",{id:Ee.id+"",className:"c-grey-c",onClick:Yt},"\u89E3\u6563"):ue.createElement("a",{id:Ee.id+"",className:"c-grey-c",onClick:Ie},"\u9000\u51FA"))),Te===mn?ue.createElement("ul",{className:"info"},Ee.memers.map(Ue=>ue.createElement("li",{key:Ue.id||Ue.name,onClick:()=>{At(Ue.id)},className:$e===Ue.id?"active":""},ue.createElement("div",null,Ue.name),Ee.is_creat&&Ue.id&&$e===Ue.id?ue.createElement("a",{className:"btn-del",onClick:Le=>{Le.preventDefault(),Le.stopPropagation(),Ce(Ee.id,$e)}},ue.createElement(lt,null)):null)),gn?ue.createElement("li",null,ue.createElement(Dt.ZP,{type:"link",disabled:Ee.memers.length>=50,title:Ee.memers.length>=50?"\u672C\u7EC4\u6210\u5458\u5DF2\u6EE1":"\u6DFB12312\u52A0\u6210\u5458",onClick:()=>{Fn(Ee)}}," ",ue.createElement(dt.Z,null)," \u6DFB\u52A0\u7EC4\u5458 ")):null):null)))},Tt=Pe(89070),xt=Pe(47362),Nt=Object.defineProperty,Jt=Object.defineProperties,vn=Object.getOwnPropertyDescriptors,Ai=Object.getOwnPropertySymbols,hi=Object.prototype.hasOwnProperty,kn=Object.prototype.propertyIsEnumerable,ci=(ht,gn,jt)=>gn in ht?Nt(ht,gn,{enumerable:!0,configurable:!0,writable:!0,value:jt}):ht[gn]=jt,et=(ht,gn)=>{for(var jt in gn||(gn={}))hi.call(gn,jt)&&ci(ht,jt,gn[jt]);if(Ai)for(var jt of Ai(gn))kn.call(gn,jt)&&ci(ht,jt,gn[jt]);return ht},ze=(ht,gn)=>Jt(ht,vn(gn)),yn=(ht,gn,jt)=>new Promise((En,Fn)=>{var ii=zt=>{try{mn(jt.next(zt))}catch($e){Fn($e)}},ni=zt=>{try{mn(jt.throw(zt))}catch($e){Fn($e)}},mn=zt=>zt.done?En(zt.value):Promise.resolve(zt.value).then(ii,ni);mn((jt=jt.apply(ht,gn)).next())});function Xn({children:ht}){return ue.createElement("div",{className:"no-data"},ue.createElement("img",{src:bt,alt:"no-data",width:300}),ht)}const ei={data:[],loading:!0,selectedGroup:{},showFormPanel:!1,showMemberPanel:!1,index:0};var rn=(ht=>(ht[ht.INITDATA=0]="INITDATA",ht[ht.SHOWLOADING=1]="SHOWLOADING",ht[ht.SHOWFORMPANEL=2]="SHOWFORMPANEL",ht[ht.SHOWMEMBERPANEL=3]="SHOWMEMBERPANEL",ht[ht.SELECTGROUP=4]="SELECTGROUP",ht[ht.SETINDEX=5]="SETINDEX",ht))(rn||{});function xn(ht,gn){switch(gn.type){case 0:return et(et({},ht),gn.payload);case 1:return ze(et({},ht),{loading:gn.payload});case 5:return ze(et({},ht),{index:gn.payload});case 2:return et(et({},ht),gn.payload);case 3:return et(et({},ht),gn.payload);case 4:return ze(et({},ht),{selectedGroup:gn.payload,showFormPanel:!0});default:throw new Error}}function Dn({user:ht}){var gn;const[jt,En]=(0,ue.useReducer)(xn,ei),{data:Fn,index:ii,loading:ni,showFormPanel:mn,selectedGroup:zt,showMemberPanel:$e}=jt,At=(gn=ht.userInfo)==null?void 0:gn.role,Yt=(0,ue.useMemo)(()=>{let Mn=[],On=[];for(let Hi of Fn)Hi.is_creat?Mn.push(Hi):On.push(Hi);return[Mn,On]},[Fn]);(0,ue.useEffect)(()=>{At===15&&En({type:5,payload:1})},[At]);function Ie(){return yn(this,null,function*(){const Mn=yield wt();En({type:0,payload:{loading:!1,showFormPanel:!1,data:Mn.groups}})})}(0,ue.useEffect)(()=>{Ie()},[]);function Ce(Mn){return yn(this,null,function*(){zt.id?yield St(zt.id,Mn):yield pt(Mn),Ie()})}function Ee(){En({type:2,payload:{showFormPanel:!0,selectedGroup:{}}})}function Te(Mn){En({type:4,payload:Mn})}function Ue(){En({type:2,payload:{showFormPanel:!1}})}function Le(){En({type:3,payload:{showMemberPanel:!1,selectedGroup:{}}})}function rt(Mn){En({type:3,payload:{showMemberPanel:!0,selectedGroup:Mn}})}function Sn(Mn,On){return yn(this,null,function*(){yield Oe(Mn,On),Ie()})}function fn(Mn){return yn(this,null,function*(){yield te(Mn),Ie()})}function an(Mn){return yn(this,null,function*(){yield Zt(Mn),Ie()})}function qt(Mn){En({type:5,payload:parseInt(Mn.target.id,10)})}function fi(Mn,On){return yn(this,null,function*(){Le(),yield Ut({user_ids:Mn,group_id:On}),Ie()})}return ue.createElement(ue.Fragment,null,ue.createElement("div",{className:"teaching-circling-container"},ue.createElement("h3",null," \u6559\u7814\u56E2\u961F ",At<=12&&ue.createElement(Dt.ZP,{type:"primary",disabled:Fn.length>=50,title:Fn.length>=50?"\u60A8\u52A0\u5165\u7684\u6559\u7814\u7EC4\u5DF2\u8FBE\u4E0A\u9650":"",onClick:Ee},"\u65B0\u5EFA")," "),ue.createElement("div",{className:"teaching-circling-body"},At===15?null:ue.createElement("ul",{className:"navs"},ue.createElement("li",{className:ii===0?"active":""},ue.createElement("a",{id:"0",onClick:qt},"\u6211\u521B\u5EFA\u7684")),ue.createElement("li",{className:ii===1?"active":""},ue.createElement("a",{id:"1",onClick:qt},"\u6211\u52A0\u5165\u7684"))),ue.createElement("div",{className:Yt[ii].length===0?"nodata-content":"main-content"},Yt[ii].length===0?ue.createElement(Xn,null,At<=12?ue.createElement(ue.Fragment,null," ",ue.createElement("p",null,"\u6559\u7814\u56E2\u961F\u6709\u52A9\u4E8E\u4F60\u548C\u4F60\u7684\u4F19\u4F34\u4EEC\u4E00\u8D77\u521B\u5EFA\u5B9E\u8BAD\u3001\u534F\u540C\u6559\u5B66\uFF0C\u6216\u5F00\u5C55\u5176\u4ED6\u6559\u7814\u6D3B\u52A8\u3002")," ",ue.createElement("p",null,"\u5F53\u524D\u60A8\u5C1A\u672A\u7EC4\u5EFA\u5C5E\u4E8E\u81EA\u5DF1\u6559\u7814\u56E2\u961F\uFF0C\u5FEB\u53BB\u7EC4\u5EFA\u5427\uFF01")," "):ue.createElement("p",null," \u60A8\u5C1A\u672A\u52A0\u5165\u4EFB\u4F55\u6559\u7814\u5C0F\u7EC4\uFF0C\u8BF7\u7B49\u5F85\u8001\u5E08\u7684\u53EC\u5524\u5427\uFF01 ")):ue.createElement(ut,{onExitGroup:an,onPlusMember:rt,onDelMember:Sn,onDelGroup:fn,isAdminOrTeacher:At<=12,onChangeGroupName:Te,data:Yt[ii]}))),ue.createElement("p",{style:{width:1200,margin:"0 auto 40px auto"},className:"desc"}," * \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732 ")),ue.createElement(de,{callback:Ce,visible:mn,onCancel:Ue,id:zt.id,name:zt.name}),ue.createElement(Ve.default,{centered:!0,title:"\u6DFB\u52A0\u6210\u5458",open:$e,onCancel:Le,footer:null,width:1100,bodyStyle:{minHeight:200}},ue.createElement(xt.Z,{container_id:zt.id,container_type:4,onSelect:fi,onCancel:Le})))}var yi=(0,Tt.connect)(({user:ht})=>({user:ht}))(Dn),qn=(ht,gn,jt)=>new Promise((En,Fn)=>{var ii=zt=>{try{mn(jt.next(zt))}catch($e){Fn($e)}},ni=zt=>{try{mn(jt.throw(zt))}catch($e){Fn($e)}},mn=zt=>zt.done?En(zt.value):Promise.resolve(zt.value).then(ii,ni);mn((jt=jt.apply(ht,gn)).next())});const Mi=it.ZP.Group;var mt=({onSelect:ht,onCancel:gn})=>{const[jt,En]=(0,ue.useState)([]),[Fn,ii]=(0,ue.useState)(!0);(0,ue.useEffect)(()=>{function zt(){return qn(this,null,function*(){const{groups:$e}=yield(0,Wt.U2)("teach_groups/my.json");En($e),ii(!1)})}zt()},[]);const ni=(0,ue.useMemo)(()=>{let zt=[],$e=[];for(let At of jt)At.is_creat?zt.push(At):$e.push(At);return[zt,$e]},[jt]);function mn(zt){ht(zt)}return ue.createElement(Mt.default,{className:"select-teach-group",onFinish:mn},Fn?ue.createElement(kt.Z,{paragraph:!0}):jt.length===0?ue.createElement(Xn,null,"\u60A8\u5C1A\u672A\u521B\u5EFA\u60A8\u7684\u6559\u7814\u56E2\u961F\uFF0C\u5FEB\u53BB",ue.createElement(Tt.Link,{to:"/account/teach-group"},"\u521B\u5EFA"),"\u5427"):ue.createElement(ue.Fragment,null,ue.createElement(Mt.default.Item,{name:"group_id",style:{width:"100%"}},ue.createElement(Mi,{style:{width:"100%"}},ue.createElement("p",{style:{fontSize:"12px"}},"\u6211\u521B\u5EFA\u7684\uFF1A"),ue.createElement("ul",{className:"groups"},ni[0].map(zt=>ue.createElement("li",{key:zt.id},ue.createElement(it.ZP,{value:zt.id},zt.name)))),ue.createElement("p",{style:{fontSize:"12px"}},"\u6211\u52A0\u5165\u7684\uFF1A"),ue.createElement("ul",{className:"groups"},ni[1].map(zt=>ue.createElement("li",{key:zt.id},ue.createElement(it.ZP,{value:zt.id},zt.name)))))),ue.createElement("div",{className:"btn-actions"},ue.createElement(Dt.ZP,{type:"default",onClick:gn,style:{marginRight:10}},"\u53D6\u6D88"),ue.createElement(Dt.ZP,{type:"primary",htmlType:"submit"},"\u786E\u5B9A"))))}},47362:function(en,jn,Pe){"use strict";var ue=Pe(59301),it=Pe(78241),Mt=Pe(95237),kt=Pe(57809),Dt=Pe(92832),Wt=Pe(88522),Ve=Pe(3113),bt=Pe(24905),wt=Pe(6848),pt=Pe(8591),St=Pe(1710),Ut=Pe(89070),Zt=Pe(61186),Oe=Pe.n(Zt),te=Pe(26724),ne=Pe.n(te),de=Pe(58143),le=Pe(92365),pe=Pe(85057),xe=Pe(76895),Ae=Pe(59301),Me=Object.defineProperty,ke=Object.defineProperties,lt=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,Tt=(et,ze,yn)=>ze in et?Me(et,ze,{enumerable:!0,configurable:!0,writable:!0,value:yn}):et[ze]=yn,xt=(et,ze)=>{for(var yn in ze||(ze={}))yt.call(ze,yn)&&Tt(et,yn,ze[yn]);if(dt)for(var yn of dt(ze))ut.call(ze,yn)&&Tt(et,yn,ze[yn]);return et},Nt=(et,ze)=>ke(et,lt(ze)),Jt=(et,ze,yn)=>new Promise((Xn,ei)=>{var rn=yi=>{try{Dn(yn.next(yi))}catch(qn){ei(qn)}},xn=yi=>{try{Dn(yn.throw(yi))}catch(qn){ei(qn)}},Dn=yi=>yi.done?Xn(yi.value):Promise.resolve(yi.value).then(rn,xn);Dn((yn=yn.apply(et,ze)).next())});const vn=[];function Ai({onSearch:et,schools:ze}){return Ae.createElement(it.default,{colon:!1,layout:"horizontal",onFinish:et,initialValues:{keyword:"",school_name:"",search_type:"1"}},Ae.createElement(Mt.Z,{style:{flexWrap:"nowrap"}},Ae.createElement(it.default.Item,{name:"search_type",label:"\u641C\u7D22\u7C7B\u578B"},Ae.createElement(kt.default,{popupClassName:xe.Z.selectdown,style:{width:106}},Ae.createElement(kt.default.Option,{value:"1"},"\u59D3\u540D"),Ae.createElement(kt.default.Option,{value:"2"},"\u624B\u673A\u53F7"),Ae.createElement(kt.default.Option,{value:"3"},"\u90AE\u7BB1"))),Ae.createElement(it.default.Item,{style:{marginLeft:20},label:"\u641C\u7D22\u5185\u5BB9",name:"keyword",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9"}]},Ae.createElement(Dt.default,{allowClear:!0,style:{width:300},size:"middle"})),Ae.createElement(it.default.Item,{style:{marginLeft:20},label:"\u5355\u4F4D",name:"school_name"},Ae.createElement(Wt.Z,{options:ze,style:{width:300},size:"middle",showSearch:!0,filterOption:(yn,Xn)=>Xn.value.toUpperCase().indexOf(yn.toUpperCase())!==-1,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0"})),Ae.createElement(Ve.ZP,{type:"primary",style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:16,color:"#165DFF",marginLeft:40,border:"1px solid #BACFFE"},htmlType:"submit"},"\u641C\u7D22")))}var hi=(et=>(et[et.INITDATA=0]="INITDATA",et[et.INITSCHOOLS=1]="INITSCHOOLS",et[et.SHOWLOADING=2]="SHOWLOADING",et[et.SELECTEDIDS=3]="SELECTEDIDS",et[et.SETQUERY=4]="SETQUERY",et[et.SETPAGE=5]="SETPAGE",et))(hi||{});function kn(et,ze){switch(ze.type){case 0:return xt(xt({},et),ze.payload);case 4:return xt(xt({},et),ze.payload);case 5:return Nt(xt({},et),{page:ze.payload,reload:!1});case 2:return Nt(xt({},et),{loading:ze.payload});case 1:return Nt(xt({},et),{schools:ze.payload});case 3:return Nt(xt({},et),{selectedIds:ze.payload});default:throw new Error}}const ci={data:[],schools:[],loading:!1,selectedIds:[],query:null,page:1,count:0,reload:!1};jn.Z=({onSelect:et,onCancel:ze,container_id:yn,container_type:Xn})=>{const[ei,rn]=(0,ue.useReducer)(kn,ci),{data:xn,schools:Dn,loading:yi,selectedIds:qn,page:Mi,count:mt,query:ht,reload:gn}=ei;(0,ue.useEffect)(()=>{function zt(){return Jt(this,null,function*(){const{users:$e,user_count:At}=yield(0,le.nQ)(Nt(xt({},ht),{page:Mi,container_type:Xn,container_id:yn,display_aliases:!0}));rn({type:0,payload:{data:gn?$e:[...xn,...$e],count:At}})})}ht&&zt()},[Mi,ht,gn,yn,Xn]),(0,ue.useEffect)(()=>{function zt(){return Jt(this,null,function*(){const{school_names:$e}=yield(0,le.K$)({display_aliases:!0});rn({type:1,payload:$e.map(At=>({value:At}))})})}zt()},[]);const jt=[{title:"",dataIndex:"added",width:40,ellipsis:!0,render:(zt,$e)=>Ae.createElement(bt.default,{value:$e.numid,checked:qn.includes($e.numid),disabled:!!zt})},{title:"\u59D3\u540D",width:100,ellipsis:!0,align:"left",dataIndex:"username",render:(zt,$e)=>Ae.createElement("div",null,Ae.createElement(wt.Z,{placement:"bottom",title:zt},Ae.createElement(Ut.Link,{style:{color:"#000000"},className:"bold c-black",to:`/users/${$e.login}`,target:"_blank"},zt||"--")))},{title:"\u624B\u673A",width:100,dataIndex:"phone",ellipsis:!0,render:zt=>Ae.createElement(wt.Z,{placement:"bottom",title:zt},Ae.createElement("span",{style:{color:"#000000"}},zt||"--"))},{title:"\u90AE\u7BB1",dataIndex:"email",width:100,ellipsis:!0,render:zt=>Ae.createElement(wt.Z,{placement:"bottom",title:zt},Ae.createElement("span",{style:{color:"#000000"}},zt||"--"))},{title:"\u5B66\u53F7/\u5DE5\u53F7",width:100,dataIndex:"student_number",ellipsis:!0,render:zt=>Ae.createElement(wt.Z,{placement:"bottom",title:zt},Ae.createElement("span",{style:{color:"#000000"}},zt||"--"))},{title:"\u5B66\u6821/\u5355\u4F4D",width:150,dataIndex:"school_name",ellipsis:!0,render:zt=>Ae.createElement(wt.Z,{placement:"bottom",title:zt},Ae.createElement("span",{style:{color:"#000000"}},zt||"--"))},{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"depart_name",width:130,ellipsis:!0,render:zt=>Ae.createElement(wt.Z,{placement:"bottom",title:zt},Ae.createElement("span",{style:{color:"#000000"}},zt||"--"))},{title:"\u5B9E\u540D\u8BA4\u8BC1",dataIndex:"auth",width:100,render:zt=>Ae.createElement("span",{style:{color:"#000000"}},zt?"\u662F":"\u5426")},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_on",width:140,ellipsis:!0,render:zt=>Ae.createElement(wt.Z,{placement:"bottom",title:zt},Ae.createElement("span",{style:{color:"#000000"}},Oe()(zt).format("YYYY-MM-DD HH:mm")))},{title:"\u72B6\u6001",dataIndex:"added",width:80,render:zt=>{if(zt===1)return Ae.createElement("span",{style:{color:"#000000"}},"\u5DF2\u6DFB\u52A0")}}];function En(zt){rn({type:4,payload:{page:1,reload:!0,query:zt}})}function Fn(zt){rn({type:5,payload:zt})}function ii(zt){let $e=qn.indexOf(zt);$e>=0?qn.splice($e,1):qn.push(zt),rn({type:3,payload:[...qn]})}function ni(){qn.length===0?pt.ZP.warning("\u8BF7\u5148\u5728\u4E0B\u9762\u5217\u8868\u4E2D\u9009\u62E9\u8981\u6DFB\u52A0\u6210\u5458"):(et(qn,yn),rn({type:0,payload:{data:[],count:0,page:1,selectedIds:[],query:null,reload:!1}}))}const mn=mt>Mi*10;return Ae.createElement("div",{className:"select-user-container",style:{paddingBottom:20}},Ae.createElement(Ai,{onSearch:En,schools:Dn}),ht?Ae.createElement(Ae.Fragment,null,Ae.createElement("div",{className:"flexd-table-header mt20"},Ae.createElement(pe.Gi,null,Ae.createElement(St.default,{pagination:!1,dataSource:vn,columns:jt}))),Ae.createElement("div",{style:{maxHeight:260,overflow:"auto",marginBottom:20}},Ae.createElement(ne(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Fn,hasMore:mn,useWindow:!1},Ae.createElement(pe.Gi,null,Ae.createElement(St.default,{loading:yi,showHeader:!1,pagination:!1,dataSource:xn,columns:jt,onRow:zt=>({onClick:$e=>{zt.added!==1&&ii(zt.numid)}})})))),Ae.createElement("div",{className:"flex-container flex-end"},Ae.createElement(Ve.ZP,{type:"ghost",style:{marginRight:10,border:"1px solid #C3CFE0",color:"#464F66"},onClick:ze},"\u53D6\u6D88"),Ae.createElement(Ve.ZP,{style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:2,color:"#165DFF",border:"1px solid #BACFFE"},type:"primary",onClick:ni},"\u786E\u5B9A"))):Ae.createElement("div",{className:"tc font16 c-light-black mt40 pb30"},Ae.createElement("img",{src:de,width:"100",alt:""}),Ae.createElement("br",null),Ae.createElement("p",{className:"mt20"},"\u8BF7\u641C\u7D22\u8981\u6DFB\u52A0\u7684\u4EBA\u5458")))}},53932:function(en,jn,Pe){"use strict";Pe.d(jn,{h:function(){return Ae},Z:function(){return xe}});var ue=Pe(59301),it=Pe(57809),Mt=Pe(78241),kt=Pe(3113),Dt=Pe(89780),Wt=Pe.n(Dt),Ve=Pe(37036),bt=Object.defineProperty,wt=Object.defineProperties,pt=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,Ut=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Oe=(Me,ke,lt)=>ke in Me?bt(Me,ke,{enumerable:!0,configurable:!0,writable:!0,value:lt}):Me[ke]=lt,te=(Me,ke)=>{for(var lt in ke||(ke={}))Ut.call(ke,lt)&&Oe(Me,lt,ke[lt]);if(St)for(var lt of St(ke))Zt.call(ke,lt)&&Oe(Me,lt,ke[lt]);return Me},ne=(Me,ke)=>wt(Me,pt(ke));const de=it.default.Option,le={labelCol:{span:4},wrapperCol:{span:20}},pe={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"]};var xe=({callback:Me,onCancel:ke})=>{const[lt,dt]=(0,ue.useState)("python");function yt(Tt){dt(pe[Tt][1])}function ut(Tt){Me(Tt)}return ue.createElement(Mt.default,ne(te({},le),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ut,style:{width:500}}),ue.createElement(Mt.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ue.createElement(it.default,{getPopupContainer:Tt=>Tt.parentNode,onChange:yt},Object.keys(pe).map(Tt=>ue.createElement(de,{key:Tt,value:Tt},pe[Tt][0])))),ue.createElement(Mt.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ue.createElement(Ae,{mode:lt})),ue.createElement("div",{className:"flex-container flex-end"},ue.createElement(kt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(kt.ZP,{type:"ghost",onClick:ke},"\u53D6\u6D88")))};function Ae({value:Me,onChange:ke,mode:lt,options:dt={}}){const yt=(0,ue.useRef)(),[ut,Tt]=(0,ue.useState)();return(0,ue.useEffect)(()=>{if(ut){let xt=function(Nt){const Jt=Nt.getValue();ke&&ke(Jt)};return ut.on("change",xt),()=>{ut.off("change",xt)}}},[ut,ke]),(0,ue.useEffect)(()=>{ut&&ut.setOption("mode",lt)},[ut,lt]),(0,ue.useEffect)(()=>{ut&&(Me!==ut.getValue()||Me==="")&&setTimeout(()=>{ut.setValue(Me||"")},300)},[ut,Me]),(0,ue.useEffect)(()=>{if(yt.current&&!ut){const xt=Wt().fromTextArea(yt.current,te({mode:lt,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},dt));Tt(xt)}},[yt.current,ut]),ue.createElement("div",{className:"my-codemirror-container"},ue.createElement("textarea",{ref:yt}))}},12290:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return nr}});var ue=Pe(59301),it=Pe(89780),Mt=Pe.n(it),kt=Pe(76374),Dt=Pe(37036),Wt=Pe(6313),Ve=Pe(25717),bt=Pe(99498),wt=Pe(25419),pt=Pe(67549),St=Pe(85149),Ut=({value:tn="",className:_t,showTextOnly:Rt,showLines:Li,style:yr={}})=>{const Oi=(0,ue.useMemo)(()=>"",[tn]);return ue.createElement(ue.Fragment,null,ue.createElement("div",{dangerouslySetInnerHTML:{__html:Oi}}))},Zt=Pe(59301),Oe=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,xe=(tn,_t,Rt)=>_t in tn?Oe(tn,_t,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):tn[_t]=Rt,Ae=(tn,_t)=>{for(var Rt in _t||(_t={}))le.call(_t,Rt)&&xe(tn,Rt,_t[Rt]);if(de)for(var Rt of de(_t))pe.call(_t,Rt)&&xe(tn,Rt,_t[Rt]);return tn},Me=(tn,_t)=>te(tn,ne(_t));let ke=[{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 lt({onActionCallback:tn,title:_t,icon:Rt,actionName:Li,className:yr="",children:Oi}){function Zn(){tn(Li)}return Zt.createElement("a",{title:_t,className:yr,onClick:Zn},Zt.createElement("i",{className:`${Rt}`}),Oi)}var dt=({watch:tn,showNullButton:_t,showNullProgramButton:Rt,onActionCallback:Li,fullScreen:yr,insertTemp:Oi,hidetoolBar:Zn,extraUse:ki})=>{const Vr=[...ke,{title:`${tn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${tn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Zt.createElement("ul",{className:"markdown-toolbar-container"},!Zn&&Vr.map((br,Br)=>Zt.createElement("li",{key:Br},br.actionName?Zt.createElement(lt,Me(Ae({},br),{onActionCallback:Li})):Zt.createElement("span",{className:"v-line"}))),_t?Zt.createElement("li",null,Zt.createElement(lt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Li},Zt.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Rt?Zt.createElement(Zt.Fragment,null,Zt.createElement("li",null,Zt.createElement(lt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Li},Zt.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Zt.createElement("li",null,Zt.createElement(lt,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Li},Zt.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Oi&&Zt.createElement("li",null,Zt.createElement(lt,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Oi}`,onActionCallback:Li},Zt.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),ki&&Zt.createElement("li",null,ki),Zt.createElement("li",{className:"btn-full-screen"},Zt.createElement(lt,{icon:`${yr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:yr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Li})))},yt=Pe(79346),ut=Pe(78241),Tt=Pe(92832),xt=Pe(3113),Nt=Object.defineProperty,Jt=Object.defineProperties,vn=Object.getOwnPropertyDescriptors,Ai=Object.getOwnPropertySymbols,hi=Object.prototype.hasOwnProperty,kn=Object.prototype.propertyIsEnumerable,ci=(tn,_t,Rt)=>_t in tn?Nt(tn,_t,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):tn[_t]=Rt,et=(tn,_t)=>{for(var Rt in _t||(_t={}))hi.call(_t,Rt)&&ci(tn,Rt,_t[Rt]);if(Ai)for(var Rt of Ai(_t))kn.call(_t,Rt)&&ci(tn,Rt,_t[Rt]);return tn},ze=(tn,_t)=>Jt(tn,vn(_t));const yn={labelCol:{span:4},wrapperCol:{span:20}};var Xn=({callback:tn,onCancel:_t})=>{function Rt(Li){tn(Li)}return ue.createElement(ut.default,ze(et({},yn),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Rt,style:{width:500}}),ue.createElement(ut.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ue.createElement(Tt.default,null)),ue.createElement(ut.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ue.createElement(Tt.default,null)),ue.createElement("div",{className:"flex-container flex-end"},ue.createElement(xt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(xt.ZP,{type:"ghost",onClick:_t},"\u53D6\u6D88")))},ei=Pe(53932),rn=Pe(28451),xn=Pe(43418),Dn=Pe(95237),yi=Pe(16406),qn=Pe(59301),Mi=({callback:tn,onCancel:_t})=>{const Rt=document.createElement("canvas"),Li=Rt.getContext("2d");Rt.width=1e3,Rt.height=800,Li.fillStyle="#ffffff",Li.fillRect(0,0,Rt.width,Rt.height);const yr=Rt.toDataURL("image/png");return qn.createElement(xn.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},qn.createElement(Dn.Z,{style:{height:"100vh"}},qn.createElement(yi.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:yr,visible:!0,title:String(Date.now())},onOk:Oi=>{tn({src:Oi.url})},onClose:_t})))},mt=Pe(12378);function ht(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ht,go.CommandHandler),ht.prototype.canAlignSelection=function(){var tn=this.diagram;return!(tn===null||tn.isReadOnly||tn.isModelReadOnly||tn.selection.count<2)},ht.prototype.alignLeft=function(){var tn=this.diagram;tn.startTransaction("aligning left");var _t=1/0;tn.selection.each(function(Rt){Rt instanceof go.Link||(_t=Math.min(Rt.position.x,_t))}),tn.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(_t,Rt.position.y))}),tn.commitTransaction("aligning left")},ht.prototype.alignRight=function(){var tn=this.diagram;tn.startTransaction("aligning right");var _t=-1/0;tn.selection.each(function(Rt){if(!(Rt instanceof go.Link)){var Li=Rt.actualBounds.x+Rt.actualBounds.width;_t=Math.max(Li,_t)}}),tn.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(_t-Rt.actualBounds.width,Rt.position.y))}),tn.commitTransaction("aligning right")},ht.prototype.alignTop=function(){var tn=this.diagram;tn.startTransaction("alignTop");var _t=1/0;tn.selection.each(function(Rt){Rt instanceof go.Link||(_t=Math.min(Rt.position.y,_t))}),tn.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(Rt.position.x,_t))}),tn.commitTransaction("alignTop")},ht.prototype.alignBottom=function(){var tn=this.diagram;tn.startTransaction("aligning bottom");var _t=-1/0;tn.selection.each(function(Rt){if(!(Rt instanceof go.Link)){var Li=Rt.actualBounds.y+Rt.actualBounds.height;_t=Math.max(Li,_t)}}),tn.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(Rt.actualBounds.x,_t-Rt.actualBounds.height))}),tn.commitTransaction("aligning bottom")},ht.prototype.alignCenterX=function(){var tn=this.diagram,_t=tn.selection.first();if(_t){tn.startTransaction("aligning Center X");var Rt=_t.actualBounds.x+_t.actualBounds.width/2;tn.selection.each(function(Li){Li instanceof go.Link||Li.move(new go.Point(Rt-Li.actualBounds.width/2,Li.actualBounds.y))}),tn.commitTransaction("aligning Center X")}},ht.prototype.alignCenterY=function(){var tn=this.diagram,_t=tn.selection.first();if(_t){tn.startTransaction("aligning Center Y");var Rt=_t.actualBounds.y+_t.actualBounds.height/2;tn.selection.each(function(Li){Li instanceof go.Link||Li.move(new go.Point(Li.actualBounds.x,Rt-Li.actualBounds.height/2))}),tn.commitTransaction("aligning Center Y")}},ht.prototype.alignColumn=function(tn){var _t=this.diagram;_t.startTransaction("align Column"),tn===void 0&&(tn=0),tn=parseFloat(tn);var Rt=new Array;_t.selection.each(function(ki){ki instanceof go.Link||Rt.push(ki)});for(var Li=0;Li0){for(var ki=Oi.elt(Zn-1);ki!==null&&ki.isTreeExpanded&&!ki.isTreeLeaf;){var Vr=this._sortTreeChildrenByY(ki);ki=Vr.last()}ki!==null&&tn.select(ki)}else tn.select(yr)}}else if(Rt.key==="Down")if(_t.isTreeExpanded&&!_t.isTreeLeaf){var Li=this._sortTreeChildrenByY(_t).first();Li!==null&&tn.select(Li)}else for(;_t!==null;){var yr=_t.findTreeParentNode();if(yr===null)break;var Oi=this._sortTreeChildrenByY(yr),Zn=Oi.indexOf(_t);if(ZnOi.y?1:yr.xOi.x?1:0}),_t},ht.prototype.copyToClipboard=function(tn){go.CommandHandler.prototype.copyToClipboard.call(this,tn),this._lastPasteOffset.set(this.pasteOffset)},ht.prototype.pasteFromClipboard=function(){var tn=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(tn,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),tn},Object.defineProperty(ht.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(tn){if(tn!=="move"&&tn!=="select"&&tn!=="scroll"&&tn!=="tree"&&tn!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+tn);this._arrowKeyBehavior=tn}}),Object.defineProperty(ht.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(tn){if(!(tn instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+tn);this._pasteOffset.set(tn)}});var gn=ht,jt=Pe(74413),En=Pe(43604),Fn=Pe(99064),ii={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ni=Pe(24065),mn=Pe(59301),zt=(tn,_t,Rt)=>new Promise((Li,yr)=>{var Oi=Vr=>{try{ki(Rt.next(Vr))}catch(br){yr(br)}},Zn=Vr=>{try{ki(Rt.throw(Vr))}catch(br){yr(br)}},ki=Vr=>Vr.done?Li(Vr.value):Promise.resolve(Vr.value).then(Oi,Zn);ki((Rt=Rt.apply(tn,_t)).next())});function $e({onCancel:tn,callback:_t}){let Rt=(0,ue.useRef)(),Li=(0,ue.useRef)(),yr=(0,ue.useRef)(),Oi=(0,ue.useRef)(!1);const Zn=(0,ue.useRef)(!1),[ki,Vr]=(0,ue.useState)(0);function br(){const Et=mt.bx.make,Di={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"};Rt.current=new mt.S0(Li.current,{padding:20,grid:Et(mt.s_,"Grid",Et(mt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Et(mt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Vt=>{var hn=Vt.diagram.commandHandler.addTopLevelParts(Vt.diagram.selection,!0);hn||Vt.diagram.currentTool.doCancel()},commandHandler:Et(gn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Vt=>{var hn=Vt.subject;hn.location=hn.location.copy().snapToGridPoint(Vt.diagram.grid.gridOrigin,Vt.diagram.grid.gridCellSize),setTimeout(()=>{Vt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Vt=>{var hn=Vt.subject;setTimeout(()=>{Vt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Vt=>{var hn=Vt.parameter.part;hn.invalidateConnectedLinks();var Xt=Vt.subject;Vt.diagram.toolManager.linkingTool.isForwards?Xt.toNode.invalidateConnectedLinks():Xt.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Rt.current.nodeTemplate=Et(mt.NB,"Auto",{locationSpot:mt.z6.Center,locationObjectName:"SHAPE",desiredSize:new mt.$u(120,60),minSize:new mt.$u(40,40),resizable:!0,resizeCellSize:new mt.$u(10,10),rotatable:!0},new mt.KX("location","loc",mt.E9.parse).makeTwoWay(mt.E9.stringify),new mt.KX("desiredSize","size",mt.$u.parse).makeTwoWay(mt.$u.stringify),Et(mt.bn,{name:"SHAPE",fill:Di.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:mt.z6.AllSides,toSpot:mt.z6.AllSides},new mt.KX("figure"),new mt.KX("fill"),new mt.KX("stroke","borderColor"),new mt.KX("strokeWidth","thickness"),new mt.KX("strokeDashArray","dash")),Et(mt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Et(mt.al,{margin:1,textAlign:"center",overflow:mt.al.OverflowEllipsis,editable:!0},new mt.KX("text").makeTwoWay(),new mt.KX("stroke","color"))),Rt.current.nodeTemplate.toolTip=Et("ToolTip",Et(mt.s_,"Vertical",{maxSize:new mt.$u(200,NaN)},Et(mt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new mt.KX("text")),Et(mt.al,{font:"10pt sans-serif",textAlign:"center"},new mt.KX("text","details"))));function Cn(Vt,hn){var Xt=(Vn,er)=>{Vn.handled=!0,Vn.diagram.model.commit(lr=>{var ui=er.part.adornedPart,Ci=new mt.E9().setRectSpot(ui.actualBounds,Vt);Ci.subtract(ui.location),Ci.scale(2,2),Ci.x+=Math.sign(Ci.x)*130,Ci.y+=Math.sign(Ci.y)*130,Ci.add(ui.location),Ci.snapToGridPoint(Vn.diagram.grid.gridOrigin,Vn.diagram.grid.gridCellSize);var Yn=lr.copyNodeData(ui.data);lr.setGroupKeyForNodeData(Yn,lr.getGroupKeyForNodeData(ui.data)),lr.addNodeData(Yn);var ln={from:ui.key,to:lr.getKeyForNodeData(Yn)};lr.addLinkData(ln);var _r=Vn.diagram.findNodeForData(Yn);_r.location=Ci,Vn.diagram.select(_r),setTimeout(()=>{Vn.diagram.commandHandler.editTextBlock()},20)})};return Et(mt.bn,{figure:hn,alignment:Vt,alignmentFocus:Vt.opposite(),width:Vt.equals(mt.z6.Top)||Vt.equals(mt.z6.Bottom)?25:18,height:Vt.equals(mt.z6.Top)||Vt.equals(mt.z6.Bottom)?18:25,fill:"orange",stroke:Di.white,strokeWidth:4,mouseEnter:(Vn,er)=>er.fill="dodgerblue",mouseLeave:(Vn,er)=>er.fill="orange",isActionable:!0,click:Xt,contextClick:Xt})}function Kn(Vt){return Et(mt.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:(hn,Xt)=>Xt.fill="dodgerblue",mouseLeave:(hn,Xt)=>Xt.fill="orange",click:(hn,Xt)=>{hn.diagram.commandHandler.showContextMenu(Xt.part.adornedPart)}},Vt||{})}Rt.current.nodeTemplate.selectionAdornmentTemplate=Et(mt.uz,"Spot",Et(mt.Vm,{padding:10}),Cn(mt.z6.Top,"TriangleUp"),Cn(mt.z6.Left,"TriangleLeft"),Cn(mt.z6.Right,"TriangleRight"),Cn(mt.z6.Bottom,"TriangleDown"),Kn({alignment:new mt.z6(.75,0)}));function Lt(Vt,hn){return(Xt,Vn)=>{Xt.handled=!0,Xt.diagram.model.commit(er=>{er.set(Vn.part.adornedPart.data,Vt,hn)})}}function Ft(Vt,hn){return hn||(hn="color"),Et(mt.bn,{width:16,height:16,stroke:"lightgray",fill:Vt,margin:1,background:"transparent",mouseEnter:(Xt,Vn)=>Vn.stroke="dodgerblue",mouseLeave:(Xt,Vn)=>Vn.stroke="lightgray",click:Lt(hn,Vt),contextClick:Lt(hn,Vt)})}function un(){return[Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ft(Di.white,"fill"),Ft(Di.beige,"fill"),Ft(Di.extralightblue,"fill"),Ft(Di.extralightred,"fill"))),Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ft(Di.lightgray,"fill"),Ft(Di.lightgreen,"fill"),Ft(Di.lightblue,"fill"),Ft(Di.lightred,"fill")))]}function Sr(){return[Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ft(Di.black),Ft(Di.green),Ft(Di.blue),Ft(Di.red))),Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ft(Di.white),Ft(Di.magenta),Ft(Di.purple),Ft(Di.orange)))]}function Ii(Vt,hn){return hn||(hn="thickness"),Et(mt.bn,"LineH",{width:16,height:16,strokeWidth:Vt,margin:1,background:"transparent",mouseEnter:(Xt,Vn)=>Vn.background="dodgerblue",mouseLeave:(Xt,Vn)=>Vn.background="transparent",click:Lt(hn,Vt),contextClick:Lt(hn,Vt)})}function Ri(Vt,hn){return hn||(hn="dash"),Et(mt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Vt,margin:1,background:"transparent",mouseEnter:(Xt,Vn)=>Vn.background="dodgerblue",mouseLeave:(Xt,Vn)=>Vn.background="transparent",click:Lt(hn,Vt),contextClick:Lt(hn,Vt)})}function si(){return[Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ii(1),Ii(2),Ii(3),Ii(4))),Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ri(null),Ri([2,4]),Ri([4,4])))]}function Ti(Vt,hn){return hn||(hn="figure"),Et(mt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Vt,margin:1,background:"transparent",mouseEnter:(Xt,Vn)=>Vn.fill="dodgerblue",mouseLeave:(Xt,Vn)=>Vn.fill="lightgray",click:Lt(hn,Vt),contextClick:Lt(hn,Vt)})}Rt.current.nodeTemplate.contextMenu=Et("ContextMenu",Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ti("Rectangle"),Ti("RoundedRectangle"),Ti("Ellipse"),Ti("Diamond"))),Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ti("Parallelogram2"),Ti("ManualOperation"),Ti("Procedure"),Ti("Cylinder1"))),Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ti("Terminator"),Ti("CreateRequest"),Ti("Document"),Ti("TriangleDown"))),un(),Sr(),si()),Rt.current.groupTemplate=Et(mt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:mt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Vt,hn)=>{var Xt=hn.addMembers(hn.diagram.selection,!0);Xt||hn.diagram.currentTool.doCancel()},avoidable:!1},new mt.KX("location","loc",mt.E9.parse).makeTwoWay(mt.E9.stringify),Et(mt.s_,"Auto",{name:"BODY"},Et(mt.bn,{parameter1:10,fill:Di.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:mt.z6.AllSides,toSpot:mt.z6.AllSides},new mt.KX("fill"),new mt.KX("stroke","color"),new mt.KX("strokeWidth","thickness"),new mt.KX("strokeDashArray","dash")),Et(mt.Vm,{background:"transparent",margin:20})),Et(mt.al,{alignment:mt.z6.Top,alignmentFocus:mt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new mt.KX("text"),new mt.KX("stroke","color"))),Rt.current.groupTemplate.selectionAdornmentTemplate=Et(mt.uz,"Spot",Et(mt.s_,"Auto",Et(mt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Et(mt.Vm,{margin:1.5})),Kn({alignment:mt.z6.TopRight,alignmentFocus:mt.z6.BottomRight})),Rt.current.groupTemplate.contextMenu=Et("ContextMenu",un(),Sr(),si()),Rt.current.linkTemplate=Et(mt.rU,{layerName:"Foreground",routing:mt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new mt.KX("fromSpot","fromSpot",mt.z6.parse),new mt.KX("toSpot","toSpot",mt.z6.parse),new mt.KX("fromShortLength","dir",Vt=>Vt>=1?10:0),new mt.KX("toShortLength","dir",Vt=>Vt>=1?10:0),new mt.KX("points").makeTwoWay(),Et(mt.bn,{strokeWidth:2},new mt.KX("stroke","color"),new mt.KX("strokeWidth","thickness"),new mt.KX("strokeDashArray","dash")),Et(mt.bn,{segmentIndex:0,segmentOffset:new mt.E9(15,0),segmentOrientation:mt.rU.OrientAlong,alignmentFocus:mt.z6.Right,figure:"circle",width:10,strokeWidth:0},new mt.KX("fill","color"),new mt.KX("visible","dir",Vt=>Vt===1)),Et(mt.bn,{segmentIndex:-1,segmentOffset:new mt.E9(-10,6),segmentOrientation:mt.rU.OrientPlus90,alignmentFocus:mt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new mt.KX("fill","color"),new mt.KX("visible","dir",Vt=>Vt>=1),new mt.KX("width","thickness",Vt=>7+3*Vt),new mt.KX("height","thickness",Vt=>7+3*Vt),new mt.KX("segmentOffset","thickness",Vt=>new mt.E9(-15,4+1.5*Vt))),Et(mt.bn,{segmentIndex:0,segmentOffset:new mt.E9(15,-6),segmentOrientation:mt.rU.OrientMinus90,alignmentFocus:mt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new mt.KX("fill","color"),new mt.KX("visible","dir",Vt=>Vt===2),new mt.KX("width","thickness",Vt=>7+3*Vt),new mt.KX("height","thickness",Vt=>7+3*Vt),new mt.KX("segmentOffset","thickness",Vt=>new mt.E9(-15,4+1.5*Vt))),Et(mt.al,{alignmentFocus:new mt.z6(0,1,-4,0),editable:!0},new mt.KX("text").makeTwoWay(),new mt.KX("stroke","color"))),Rt.current.linkTemplate.selectionAdornmentTemplate=Et(mt.uz,Et(mt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Jr(2)},new mt.KX("pathPattern","thickness",Jr)),Kn({alignmentFocus:new mt.z6(0,0,-6,-4)}));function Jr(Vt){return Et(mt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Vt+4).toString()+" H3"})}function Qr(Vt){var hn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Vt===0?hn="M0 0 M16 16 M0 8 L16 8":Vt===2&&(hn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Et(mt.bn,{geometryString:hn,margin:2,background:"transparent",mouseEnter:(Xt,Vn)=>Vn.background="dodgerblue",mouseLeave:(Xt,Vn)=>Vn.background="transparent",click:Lt("dir",Vt),contextClick:Lt("dir",Vt)})}function Lo(Vt){var hn=(Xt,Vn)=>{Xt.handled=!0,Xt.diagram.model.commit(er=>{var lr=Vn.part.adornedPart;er.set(lr.data,Vt?"toSpot":"fromSpot",mt.z6.stringify(mt.z6.AllSides)),(Vt?lr.toNode:lr.fromNode).invalidateConnectedLinks()})};return Et(mt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Xt,Vn)=>Vn.background="dodgerblue",mouseLeave:(Xt,Vn)=>Vn.background="transparent",click:hn,contextClick:hn})}function Nn(Vt,hn){var Xt=0,Vn=mt.z6.RightSide;Vt.equals(mt.z6.Top)?(Xt=270,Vn=mt.z6.TopSide):Vt.equals(mt.z6.Left)?(Xt=180,Vn=mt.z6.LeftSide):Vt.equals(mt.z6.Bottom)&&(Xt=90,Vn=mt.z6.BottomSide),hn||(Xt-=180);var er=(lr,ui)=>{lr.handled=!0,lr.diagram.model.commit(Ci=>{var Yn=ui.part.adornedPart;Ci.set(Yn.data,hn?"toSpot":"fromSpot",mt.z6.stringify(Vn)),(hn?Yn.toNode:Yn.fromNode).invalidateConnectedLinks()})};return Et(mt.bn,{alignment:Vt,alignmentFocus:Vt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Xt,background:"transparent",mouseEnter:(lr,ui)=>ui.background="dodgerblue",mouseLeave:(lr,ui)=>ui.background="transparent",click:er,contextClick:er})}Rt.current.linkTemplate.contextMenu=Et("ContextMenu",Sr(),si(),Et("ContextMenuButton",Et(mt.s_,"Horizontal",Qr(0),Qr(1),Qr(2))),Et("ContextMenuButton",Et(mt.s_,"Horizontal",Et(mt.s_,"Spot",Lo(!1),Nn(mt.z6.Top,!1),Nn(mt.z6.Left,!1),Nn(mt.z6.Right,!1),Nn(mt.z6.Bottom,!1)),Et(mt.s_,"Spot",{margin:new mt.Zt(0,0,0,2)},Lo(!0),Nn(mt.z6.Top,!0),Nn(mt.z6.Left,!0),Nn(mt.z6.Right,!0),Nn(mt.z6.Bottom,!0)))));const ja=`{ "class": "GraphLinksModel", + }`;return(0,ue.useEffect)(()=>{const Nt=ut.current.attachShadow({mode:"open"});Ot.current=document.createElement("div"),Ot.current.className="markdown-body",Ot.current.innerHTML=yt,Nt.appendChild(Ot.current);const Jt=document.createElement("style");return Jt.textContent=xt,Nt.appendChild(Jt),()=>{Nt.innerHTML=""}},[]),(0,ue.useEffect)(()=>{Ot.current&&(Ot.current.innerHTML=yt)},[yt]),St.createElement("div",{ref:ut})},Oe=Object.defineProperty,te=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(yt,ut,Ot)=>ut in yt?Oe(yt,ut,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):yt[ut]=Ot,pe=(yt,ut)=>{for(var Ot in ut||(ut={}))ne.call(ut,Ot)&&le(yt,Ot,ut[Ot]);if(te)for(var Ot of te(ut))de.call(ut,Ot)&&le(yt,Ot,ut[Ot]);return yt};const xe="@\u2581\u2581@",Ae="@\u2581@",Me=/]*>/g;function ke(yt){let ut=document.createElement("div");return ut.innerHTML=yt,ut.childNodes.length===0?"":ut.childNodes[0].nodeValue}const lt=(yt,ut)=>{yt=yt||"";const Ot=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,xt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Nt=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Jt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ut?yt.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Ot,(vn,Ai,hi,kn,ci,et,ze)=>{const yn=Ai||kn||et,Xn=hi||ci||ze||"?";return Wt.Z.API_SERVER+"/api/attachments/"+yn+Xn+"&t="+(0,Ve.Jn)(yn,Date.now())+(vn.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(yt=yt.replace(Jt,(vn,Ai,hi,kn,ci,et,ze)=>{const yn=Ai||kn||et,Xn=hi||ci||ze||"?";return Wt.Z.API_SERVER+"/attachments/download/"+yn+Xn+"&t="+(0,Ve.Jn)(yn,Date.now())+(vn.indexOf(")")>-1?")":"&")}).replace(Ot,(vn,Ai,hi,kn,ci,et,ze)=>{const yn=Ai||kn||et,Xn=hi||ci||ze||"?";return Wt.Z.API_SERVER+"/api/attachments/"+yn+Xn+"&t="+(0,Ve.Jn)(yn,Date.now())+(vn.indexOf(")")>-1?")":"&")}).replace(xt,(vn,Ai,hi,kn,ci)=>{const et=Ai||kn,ze=hi||ci||"";return'"'+Wt.Z.API_SERVER+"/api/attachments/"+et+ze+et+ze+"&t="+(0,Ve.Jn)(et,Date.now())}).replace(Nt,(vn,Ai,hi,kn,ci)=>{const et=Ai||kn,ze=hi||ci||"";return"("+Wt.Z.API_SERVER+"/files/uploads/"+et+ze+et+ze+"&t="+(0,Ve.Jn)(et,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` +`),yt)};var dt=({value:yt="",className:ut,showTextOnly:Ot,showLines:xt,style:Nt={},stylesPrev:Jt={},highlightKeywords:vn,showProgramFill:Ai,isProgramFill:hi,disabledFill:kn=!1,programFillValue:ci,onFillChange:et=Xn=>{},onFillBlur:ze=()=>{},onFillFocus:yn=()=>{}})=>{let Xn=String(yt);const[ei,on]=(0,ue.useState)(""),[xn,Dn]=(0,ue.useState)("office"),[yi,qn]=(0,ue.useState)([]),Mi=(0,ue.useRef)("a"+(0,wt.Z)()),mt={},ht=(Ie,Ce,Ee)=>{const Te=document.createElement(Ie===Ae?"input":"textarea");Te.style.width="100%",Te.style.height=Ie===Ae?"40px":"151px",Te.rows=5,Te.spellcheck=!1,Te.name="edu-program-fill",Te.placeholder="\u8BF7\u8F93\u5165",Te.dataset.id=Ce;const Ue=Object.keys(mt).length;return mt[Ue]=Te,`${Te.outerHTML}`};function gn(Ie){return Ie=Ie.replace(/!\[.*?\]\(.*?\)/g,""),Ie=Ie.replace(/\[.*?\]\(.*?\)/g,""),Ie=Ie.replace(new RegExp("","gs"),""),Ie=Ie.replace(//g,""),Ie=Ie.replace(//g,""),Ie=Ie.replace(new RegExp(".*?<\\/video>","gs"),""),Ie=Ie.replace(new RegExp(".*?<\\/audio>","gs"),""),Ie=Ie.replace(new RegExp(".*?<\\/style>","gs"),""),Ie=Ie.replace(new RegExp(".*?<\\/script>","gs"),""),Ie}const jt=Ie=>Ie.replace(/([\s\S]+?)<\/style>/gim,function(Ce,Ee){let Te=Ee.replace(/(\n|\r)/g,"").split("}"),Ue=[];return Te.map(Le=>{Le!=""&&Ue.push(`.${Mi.current} ${Le}`)}),``}),En=(0,ue.useMemo)(()=>{try{const Te=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Ue=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Le=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,rt=/\(\/attachments\/download\//g;Xn=Xn.replace(rt,"("+Wt.Z.API_SERVER+"/attachments/download/").replace(Te,"("+Wt.Z.API_SERVER+"/api/attachments/").replace(Ue,'"'+Wt.Z.API_SERVER+"/api/attachments/").replace(Le,'"'+Wt.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` +`)}catch(Te){}if(Ai){let Te=-1;return Xn=Xn.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Ue,Le,rt){var Sn;return++Te,ht(Ue,Te,(Sn=ci==null?void 0:ci[Te])==null?void 0:Sn.value.replaceAll("<","<").replaceAll(">",">"))}),`
${jt(Xn||"")}
`}let Ie=jt(Xn);Ie=(0,Mt.ZP)(Ie);const Ce=(0,Mt.ez)();Xn.match(/\[TOC\]/)&&(Ie=Ie.replace("

[TOC]

",(0,Mt.Qv)()),(0,Mt.Iy)()),Ie=Ie.replace(/(__special_katext_id_\d+__)/g,(Te,Ue)=>{const{type:Le,expression:rt}=Ce[Ue];return(0,bt.renderToString)(ke(rt)||"",{displayMode:Le==="block",throwOnError:!1,output:"html"})}),Ie=Ie.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,Mt.AL)();const Ee=document.createElement("div");if(Ee.innerHTML=Ie,Ot)return Ee.innerText;if(vn){const Te=vn.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return mn(Ee,Te),Ee.innerHTML}return setTimeout(()=>At(),500),Ee.innerHTML},[Xn,vn]);(0,ue.useEffect)(()=>{zt.current&&zt.current.querySelectorAll(["input","textarea"]).forEach(Ce=>{Ce.oninput=Fn,Ce.onblur=ri,Ce.onfocus=ni})},[yi]),(0,ue.useEffect)(()=>{var Ie,Ce,Ee,Te,Ue;if(ci!=null&&ci.length)try{const Le=zt.current.querySelectorAll(".edu-program-fill-score"),rt=zt.current.querySelectorAll('[name="edu-program-fill"]');for(const[Sn,fn]of rt.entries())fn.value=((Ie=ci==null?void 0:ci[Sn])==null?void 0:Ie.value)||"",((Ce=ci==null?void 0:ci[Sn])==null?void 0:Ce.type)==="warning"?fn.className="program-fill-warning":((Ee=ci==null?void 0:ci[Sn])==null?void 0:Ee.type)==="success"?fn.className="program-fill-success":fn.className="";for(const[Sn,fn]of Le.entries())fn.innerHTML=(Te=ci==null?void 0:ci[Sn])!=null&&Te.score?`${(Ue=ci==null?void 0:ci[Sn])==null?void 0:Ue.score}\u5206`:"";qn(ci)}catch(Le){console.log(Le,"error")}},[ci]);const Fn=Ie=>{yi[Ie.target.dataset.id]=yi[Ie.target.dataset.id]||{},yi[Ie.target.dataset.id].value=Ie.target.value,qn([...yi]),et(yi,Ie.target.dataset.id)},ri=Ie=>{yi[Ie.target.dataset.id]=yi[Ie.target.dataset.id]||{},yi[Ie.target.dataset.id].value=Ie.target.value,qn([...yi]),ze(yi,Ie.target.dataset.id)},ni=Ie=>{yi[Ie.target.dataset.id]=yi[Ie.target.dataset.id]||{},yi[Ie.target.dataset.id].value=Ie.target.value,qn([...yi]),yn(yi,Ie.target.dataset.id)};function mn(Ie,Ce){return Ie.childNodes.forEach(Ee=>{var Te;if(Ee.childNodes.length>0)mn(Ee,Ce);else if(Ee.nodeName!=="IMG")if(Ee.innerHTML)Ee.innerHTML=(Te=Ee.innerHTML)==null?void 0:Te.replace(new RegExp(Ce,"gi"),'$&');else{const Ue=document.createElement("span");Ue.innerHTML=Ee.textContent.replace(new RegExp(Ce,"gi"),'$&'),Ee.replaceWith(Ue)}})}const zt=(0,ue.useRef)();Mt.jb.WebkitLineClamp=xt,xt&&(Nt=pe(pe({},Nt),Mt.jb));function $e(Ie){let Ce=Ie.target;if(Ce.tagName.toUpperCase()==="A"){let Ee=Ce.getAttribute("href");if(Ee.indexOf("office")>-1)Ie.preventDefault(),on(Ee),Dn("office");else if(Ee.indexOf("application/pdf")>-1)Ie.preventDefault(),on(Ee),Dn("pdf");else if(Ee.indexOf("text/html")>-1)Ie.preventDefault(),on(Ee),Dn("html");else if(Ee.startsWith("#")){Ie.preventDefault();let Te=document.getElementById(Ee.replace("#",""));Te&&Te.scrollIntoView(!0)}}}const At=()=>{var Ie;const Ce=(Ie=zt.current)==null?void 0:Ie.querySelectorAll("video");Ce==null||Ce.forEach(Ee=>{if(Ee.oncontextmenu=()=>!1,Ee.src.indexOf(".m3u8")>-1&&!Ee.canPlayType("application/vnd.apple.mpegurl")){if(Dt.ZP.isSupported()){var Te=new Dt.ZP;Te.loadSource(Ee.src),Te.attachMedia(Ee)}}})};(0,ue.useEffect)(()=>{if(zt.current&&En&&En.match(Me)&&window.PR.prettyPrint(),zt.current)return zt.current.addEventListener("click",$e),()=>{var Ie;(Ie=zt.current)==null||Ie.removeEventListener("click",$e),(0,Mt.AL)(),(0,Mt.Iy)()}},[En,zt.current,$e]),(0,ue.useEffect)(()=>{var Ie;const Ce=Ee=>{Ee.preventDefault(),Ee.clipboardData.setData("text",window.getSelection().toString())};return(Ie=zt.current)==null||Ie.addEventListener("copy",Ce),()=>{var Ee;(Ee=zt.current)==null||Ee.removeEventListener("copy",Ce)}},[zt.current]);const Yt=Ie=>//i.test(Ie||"");return ue.createElement(ue.Fragment,null,Ot&&ue.createElement("div",{ref:zt},En),!Ot&&!Yt(En)&&ue.createElement("div",{ref:zt,style:pe({},Nt),className:`${ut||""} ${kn?"disabled-fill":""} markdown-body ${Mi.current}`,dangerouslySetInnerHTML:{__html:En}}),!Ot&&Yt(En)&&ue.createElement(Zt,{html:En}),ue.createElement(pt.Z,{close:!0,data:ei,type:ei!=null&&ei.length?xn:"",style:pe({},Jt),onClose:()=>on("")}))}},14636:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return lt}});var ue=Pe(59301),it=Pe(6848),Mt=Pe(92832),kt=Pe(71418),Dt=Pe(64165),Wt=Pe(92310),Ve=Pe.n(Wt),bt={selectEnvironment:"selectEnvironment___LegvW",search:"search___ZMwsK",searchListWrap:"searchListWrap___iUv9S",searchList:"searchList___T1FBi",name:"name___t0Y2b",tag:"tag___ooWkq",searchListActive:"searchListActive___ahElk",spin:"spin___x2xMT",common:"common___ZhJvk",title:"title___p4_7m",tags:"tags___2fYZM",tagActive:"tagActive___tb54k",wrap:"wrap___I9ZtF",allList:"allList___h31KX",item:"item___PwiKQ",itemActive:"itemActive___JCEc6",line:"line___Qn6mz",apply:"apply___EhZKq",p1:"p1___LxfGu",p2:"p2___jiQhJ",list:"list___n7Ydz",items:"items___OB8qz",darklySelectEnvironment:"darklySelectEnvironment___K__cy"},wt=Pe(36723),pt=Pe(99064),St=Pe(89392),Ut=Object.defineProperty,Zt=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(dt,yt,ut)=>yt in dt?Ut(dt,yt,{enumerable:!0,configurable:!0,writable:!0,value:ut}):dt[yt]=ut,pe=(dt,yt)=>{for(var ut in yt||(yt={}))ne.call(yt,ut)&&le(dt,ut,yt[ut]);if(te)for(var ut of te(yt))de.call(yt,ut)&&le(dt,ut,yt[ut]);return dt},xe=(dt,yt)=>Zt(dt,Oe(yt)),Ae=(dt,yt,ut)=>new Promise((Ot,xt)=>{var Nt=Ai=>{try{vn(ut.next(Ai))}catch(hi){xt(hi)}},Jt=Ai=>{try{vn(ut.throw(Ai))}catch(hi){xt(hi)}},vn=Ai=>Ai.done?Ot(Ai.value):Promise.resolve(Ai.value).then(Nt,Jt);vn((ut=ut.apply(dt,yt)).next())});const Me=({className:dt,dispatch:yt,skin:ut="white",value:Ot=null,loading:xt=!1,data:Nt=[],otherData:Jt=[],tags:vn=[],onChange:Ai=()=>{},onSearchWord:hi=()=>{},shixun_type:kn,extraContent:ci,tab_type:et,is_create_mirror:ze,hiddenCreateOnline:yn})=>{const[Xn,ei]=(0,ue.useState)(""),[on,xn]=(0,ue.useState)(!1),[Dn,yi]=(0,ue.useState)([]),[qn,Mi]=(0,ue.useState)(0),mt=(0,ue.useRef)(null),ht=(0,ue.useRef)(String(Math.floor(Math.random()*1e6))).current,gn=(0,ue.useRef)(),jt=(0,ue.useRef)(null),En=(0,ue.useRef)(0),Fn=(0,ue.useRef)([]);(0,ue.useEffect)(()=>(window.addEventListener("keydown",ri),()=>{window.removeEventListener("keydown",ri)}),[Xn,on,Dn]),(0,ue.useEffect)(()=>{yi([])},[et]);const ri=fn=>{if(!on||fn.keyCode!==40&&fn.keyCode!==38)return;let an=0;fn.keyCode===40&&on&&(qn{const $t=Mn=>{var On=/[\^\.\\\|\(\)\*\+\-\$\[\]\?]/g,Hi={};return Hi["^"]="\\^",Hi["."]="\\.",Hi["\\"]="\\\\",Hi["|"]="\\|",Hi["("]="\\(",Hi[")"]="\\)",Hi["*"]="\\*",Hi["+"]="\\+",Hi["-"]="\\-",Hi.$="$",Hi["["]="\\[",Hi["]"]="\\]",Hi["?"]="\\?",Mn=Mn.replace(On,function(Si){return Hi[Si]}),Mn};var fi=new RegExp($t(an),"gi");return fn=fn.replace(fi,function(Mn){return""+Mn+""}),fn},mn=(fn,an,$t)=>Ae(void 0,null,function*(){let fi=En.current+1;En.current=fi;const Mn=On=>On==null?void 0:On.map((Si,sr)=>{const{id:ro,name:Wo}=Si,No=xe(pe({},Si),{label:ue.createElement("ul",{id:`search-${ht}-${sr}`,onClick:()=>Ie(ro,No),className:sr===an?bt.searchListActive:bt.searchList},ue.createElement("li",{className:bt.name,dangerouslySetInnerHTML:{__html:ni(Wo,fn)}}),Si.private&&ue.createElement(it.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ue.createElement("li",{className:bt.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),Si.is_base&&ue.createElement(it.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ue.createElement("li",{className:bt.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840")))});return No});if($t){const On=Mn(Fn.current);yi(On);return}clearTimeout(jt.current),jt.current=setTimeout(()=>Ae(void 0,null,function*(){var On,Hi;const Si={keywords:encodeURIComponent(fn||""),page:1,limit:1e5,tab_type:et};kn&&(Si.shixun_type=kn);const sr=yield(0,pt.ZP)("/api/shixuns/search_image.json",{method:"get",params:xe(pe({},Si),{is_create_mirror:ze})});if((sr==null?void 0:sr.status)===0){const ro=Mn(((On=sr==null?void 0:sr.data)==null?void 0:On.mirrors)||[]);fi===En.current&&(yi(ro),Fn.current=(0,St.cloneDeep)(((Hi=sr==null?void 0:sr.data)==null?void 0:Hi.mirrors)||[]))}}),300)}),zt=fn=>{const an=document.getElementById(`scroll-${ht}-${fn}`);if(!an)return;document.getElementById(`scroll-${ht}`).scrollTo(0,an.offsetTop)},$e=(fn,an)=>{const $t=document.getElementById(`search-${ht}-${fn}`);if(!$t)return;const fi=document.getElementById(`search-${ht}`);$t.offsetTop-fi.scrollTop>0&&$t.offsetTop-fi.scrollTop{mn(fn,0)},Yt=fn=>{var an;if(!Dn.length)return;const $t=(an=Dn==null?void 0:Dn[qn])==null?void 0:an.id;Ai($t),yi([]),Mi(0),zt($t),gn.current.blur()},Ie=(fn,an)=>{Ai(fn),yi([]),Mi(0),zt(fn)},Ce=()=>{yi([]),ei(""),hi("")},Ee=fn=>{Ai(fn),yi([])},Te=()=>Xn===""?ue.createElement("i",{style:{pointerEvents:"none"},className:"iconfont icon-sousuo2 c-grey-c"}):ue.createElement("i",{onClick:fn=>{fn.stopPropagation(),Ce()},className:"iconfont icon-shanchu4 c-grey-c"}),Ue=()=>{yt({type:"newShixuns/setActionTabs",payload:{key:"NewShixuns-Apply"}})},Le=()=>{yt({type:"newShixuns/setActionTabs",payload:{key:"Create-Environment"}})},rt=()=>{mt.current=setTimeout(()=>{xn(!1),Mi(0)},200)},Sn=!(Nt!=null&&Nt.length)&&!(Jt!=null&&Jt.length);return ue.createElement("div",{className:Ve()(ut==="night"?bt.darklySelectEnvironment:bt.selectEnvironment,dt)},ci&&ue.createElement("div",{style:{marginTop:20,marginLeft:20}},ci),ue.createElement("div",{className:bt.search},ue.createElement(Mt.default,{suffix:Te(),bordered:!1,ref:gn,value:Xn,onKeyDown:fn=>{(fn.keyCode===40||fn.keyCode===38||fn.keyCode===13)&&fn.preventDefault()},size:"middle",onFocus:()=>{clearTimeout(mt.current),Xn&&At(Xn),xn(!0)},onBlur:rt,onChange:fn=>{ei(fn.target.value),fn.target.value&&At(fn.target.value),hi(fn.target.value)},placeholder:"\u641C\u7D22\u60A8\u9700\u8981\u7684\u5B9E\u9A8C\u73AF\u5883",onPressEnter:Yt}),on&&ue.createElement("div",{id:`search-${ht}`,className:bt.searchListWrap},Dn.map((fn,an)=>ue.createElement(ue.Fragment,{key:an}," ",fn.label)))),xt?ue.createElement(kt.Z,{className:bt.spin}):ue.createElement(ue.Fragment,null,!!vn.length&&ue.createElement("aside",{className:bt.common},ue.createElement("div",{className:bt.title},"\u63A8\u8350\u73AF\u5883:"),ue.createElement("ul",{className:bt.tags},vn.map((fn,an)=>ue.createElement("li",{key:an,onClick:()=>Ee(fn.id),className:Ot===fn.id?`${bt.tag} ${bt.tagActive}`:bt.tag},fn.name)))),Sn&&ue.createElement(Dt.Z,{style:{margin:"60px 0"},image:wt,description:ue.createElement("span",{className:"c-grey-999"},"\u6682\u65E0\u5B9E\u9A8C\u73AF\u5883")}),ue.createElement("aside",{className:bt.wrap,id:`scroll-${ht}`},Nt.map((fn,an)=>{var $t;return($t=fn==null?void 0:fn.image)!=null&&$t.length?ue.createElement(ke,{key:an,data:fn,id:Ot,handleClick:fi=>Ee(fi)}):null}),ue.createElement("ul",{className:bt.allList},Jt.map(fn=>ue.createElement("li",{key:`key-${fn.id}`,id:`scroll-${ht}-${fn.id}`,className:fn.id===Ot?`${bt.item} ${bt.itemActive}`:bt.item,onClick:()=>Ai(fn.id)},ue.createElement("div",{className:bt.name},fn.name),fn.private&&ue.createElement(it.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ue.createElement("div",{className:bt.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),fn.is_base&&ue.createElement(it.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ue.createElement("div",{className:bt.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840"))))))),ue.createElement("div",{className:bt.apply},ue.createElement("span",{className:bt.p1},"\u6CA1\u6709\u5B9E\u9A8C\u73AF\u5883\uFF1F"),ue.createElement("span",{className:bt.p2,onClick:Ue}," \u7533\u8BF7\u65B0\u5EFA"),!yn&&ue.createElement("span",{className:bt.p2,onClick:Le}," \u5728\u7EBF\u521B\u5EFA")))},ke=({data:dt,id:yt,handleClick:ut})=>{const[Ot,xt]=(0,ue.useState)(!0),{name:Nt,image:Jt}=dt;return ue.createElement("div",{className:bt.list},ue.createElement("header",{onClick:()=>xt(!Ot)},ue.createElement("div",{className:bt.title},Nt),ue.createElement("i",{style:{transition:"0.5s",transform:Ot?"rotate(0deg)":"rotate(180deg)"},className:"iconfont icon-shangjiantou c-grey-999"})),ue.createElement("ul",{className:bt.items,style:{height:Ot?"auto":0}},Jt.map(vn=>ue.createElement("li",{key:vn.id,className:vn.id===yt?`${bt.item} ${bt.itemActive}`:bt.item,onClick:()=>ut(vn.id)},ue.createElement("div",{className:bt.name},vn.name),vn.private&&ue.createElement(it.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ue.createElement("div",{className:bt.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),vn.is_base&&ue.createElement(it.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ue.createElement("div",{className:bt.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840")))),ue.createElement("li",{className:bt.line})))};var lt=Me},88412:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return mt}});var ue=Pe(59301),it=Pe(5112),Mt=Pe(78241),kt=Pe(61621),Dt=Pe(3113),Wt=Pe(99064),Ve=Pe(43418),bt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAIwCAYAAABawRXrAADVaUlEQVR42uydCXhcdbn/RRAEURGvC4LgAsJFUVQUQWRRQdkLBUoXREVRLgh6BUG40KJA7ZK0EAiZ2z+VpWy9rbGltHSBdCHJNG1o2iQ0bdIsTRqStplmn+2c5/d/v+ecX3JycmbmzMyZJZP3+zzvM13TmXOm8/vkXb7vhz7EYrFYrLjl2SqOmVMefCivXLlm7nviFL4iLBaLxWKxWEkqryz8k7nekAeRV6HewVeExWKxWCwWKymJw+aWB/8uAWtehTibrwmLxWKxWCxWEprlFScNZa82h/IAXHxVWCwWi8VisZLQnPLA1RKwKJM1la8Ii8VisVgsVhKaXiKOnbs59CcDsJ7Orwh+na8Ki8VisVgsVhKaV+7/0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}function St(ht,gn){return(0,Wt.gz)(`teach_groups/${ht}.json`,gn)}function Ut(ht){return(0,Wt.v_)("teach_group_members.json",ht)}function Zt(ht){return(0,Wt.IV)(`teach_group_members/${ht}.json`)}function Oe(ht,gn){return(0,Wt.IV)(`teach_groups/${ht}/del_member.json`,{member_id:gn})}function te(ht){return(0,Wt.IV)(`teach_groups/${ht}.json`)}var ne=Pe(92832),de=({callback:ht,visible:gn,onCancel:jt,id:En,name:Fn})=>{function ri(mn){ht(mn)}const[ni]=Mt.default.useForm();return(0,ue.useEffect)(()=>{ni.setFieldsValue({name:Fn})},[Fn]),ue.createElement(Ve.default,{centered:!0,title:En?"\u6539\u540D":"\u65B0\u5EFA",open:gn,onCancel:jt,footer:null},ue.createElement(Mt.default,{layout:"vertical",form:ni,initialValues:{name:Fn},onFinish:ri},ue.createElement(Mt.default.Item,{label:"\u6559\u7814\u56E2\u961F\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u540D\u79F0"}]},ue.createElement(ne.default,{placeholder:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u540D\u79F0",maxLength:20})),ue.createElement(Mt.default.Item,null,ue.createElement("div",{className:"flex-container flex-end"},ue.createElement(Dt.ZP,{type:"ghost",onClick:jt,style:{marginRight:20}}," \u53D6\u6D88 ")," ",ue.createElement(Dt.ZP,{type:"primary",htmlType:"submit"}," \u786E\u5B9A ")))))},le=Pe(72308),pe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c17.7 0 32 14.3 32 32v736c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32zm-40 72H184v656h656V184zM640.01 338.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-square",theme:"outlined"},xe=pe,Ae=Pe(7657),Me=function(gn,jt){return ue.createElement(Ae.Z,(0,le.Z)({},gn,{ref:jt,icon:xe}))},ke=ue.forwardRef(Me),lt=ke,dt=Pe(43531);const yt=50;var ut=({data:ht,isAdminOrTeacher:gn,onDelGroup:jt,onChangeGroupName:En,onPlusMember:Fn,onDelMember:ri,onExitGroup:ni})=>{const[mn,zt]=(0,ue.useState)(0),[$e,At]=(0,ue.useState)(0);function Yt(Ee){let Te=parseInt(Ee.target.id,10);Ve.default.confirm({title:"\u89E3\u6563\u63D0\u793A",content:"\u89E3\u6563\u6559\u7814\u56E2\u961F\u5C06\u5BF9\u56E2\u961F\u6210\u5458\u4E4B\u95F4\u5171\u4EAB\u5B9E\u8BAD\u3001\u8BD5\u5377\u7B49\u529F\u80FD\u9020\u6210\u4E0D\u4FBF\u3002\u60A8\u786E\u5B9A\u8981\u89E3\u6563\u672C\u6559\u7814\u56E2\u961F\u5417\uFF1F",onOk:()=>{jt(Te)}})}function Ie(Ee){let Te=parseInt(Ee.target.id,10);Ve.default.confirm({title:"\u9000\u51FA\u63D0\u793A",content:"\u9000\u51FA\u5C06\u5BF9\u60A8\u4E0E\u7EC4\u5185\u6210\u5458\u5171\u540C\u5F00\u5C55\u6559\u7814\u6D3B\u52A8\u9020\u6210\u4E0D\u4FBF\u3002\u60A8\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F",onOk:()=>{ni(Te)}})}function Ce(Ee,Te){Ve.default.confirm({title:"\u6E29\u99A8\u63D0\u793A",icon:null,content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u7EC4\u5458\u5417?",onOk:()=>{ri(Ee,Te)}})}return ue.createElement("ul",{className:"teaching-list"},ht.map((Ee,Te)=>ue.createElement("li",{key:Ee.id,onClick:()=>zt(Te)},ue.createElement("div",{className:"item-group"},ue.createElement("span",null,Ee.name," \xA0 ",Te!==mn&&ue.createElement("i",{className:"iconfont icon-jiantou9"})," "),ue.createElement("div",{className:"action-group"},gn?ue.createElement("a",{onClick:()=>{En(Ee)},style:{marginRight:40}},"\u4FEE\u6539\u540D2222\u79F0"):null,Ee.is_creat?ue.createElement("a",{id:Ee.id+"",className:"c-grey-c",onClick:Yt},"\u89E3\u6563"):ue.createElement("a",{id:Ee.id+"",className:"c-grey-c",onClick:Ie},"\u9000\u51FA"))),Te===mn?ue.createElement("ul",{className:"info"},Ee.memers.map(Ue=>ue.createElement("li",{key:Ue.id||Ue.name,onClick:()=>{At(Ue.id)},className:$e===Ue.id?"active":""},ue.createElement("div",null,Ue.name),Ee.is_creat&&Ue.id&&$e===Ue.id?ue.createElement("a",{className:"btn-del",onClick:Le=>{Le.preventDefault(),Le.stopPropagation(),Ce(Ee.id,$e)}},ue.createElement(lt,null)):null)),gn?ue.createElement("li",null,ue.createElement(Dt.ZP,{type:"link",disabled:Ee.memers.length>=50,title:Ee.memers.length>=50?"\u672C\u7EC4\u6210\u5458\u5DF2\u6EE1":"\u6DFB12312\u52A0\u6210\u5458",onClick:()=>{Fn(Ee)}}," ",ue.createElement(dt.Z,null)," \u6DFB\u52A0\u7EC4\u5458 ")):null):null)))},Ot=Pe(89070),xt=Pe(47362),Nt=Object.defineProperty,Jt=Object.defineProperties,vn=Object.getOwnPropertyDescriptors,Ai=Object.getOwnPropertySymbols,hi=Object.prototype.hasOwnProperty,kn=Object.prototype.propertyIsEnumerable,ci=(ht,gn,jt)=>gn in ht?Nt(ht,gn,{enumerable:!0,configurable:!0,writable:!0,value:jt}):ht[gn]=jt,et=(ht,gn)=>{for(var jt in gn||(gn={}))hi.call(gn,jt)&&ci(ht,jt,gn[jt]);if(Ai)for(var jt of Ai(gn))kn.call(gn,jt)&&ci(ht,jt,gn[jt]);return ht},ze=(ht,gn)=>Jt(ht,vn(gn)),yn=(ht,gn,jt)=>new Promise((En,Fn)=>{var ri=zt=>{try{mn(jt.next(zt))}catch($e){Fn($e)}},ni=zt=>{try{mn(jt.throw(zt))}catch($e){Fn($e)}},mn=zt=>zt.done?En(zt.value):Promise.resolve(zt.value).then(ri,ni);mn((jt=jt.apply(ht,gn)).next())});function Xn({children:ht}){return ue.createElement("div",{className:"no-data"},ue.createElement("img",{src:bt,alt:"no-data",width:300}),ht)}const ei={data:[],loading:!0,selectedGroup:{},showFormPanel:!1,showMemberPanel:!1,index:0};var on=(ht=>(ht[ht.INITDATA=0]="INITDATA",ht[ht.SHOWLOADING=1]="SHOWLOADING",ht[ht.SHOWFORMPANEL=2]="SHOWFORMPANEL",ht[ht.SHOWMEMBERPANEL=3]="SHOWMEMBERPANEL",ht[ht.SELECTGROUP=4]="SELECTGROUP",ht[ht.SETINDEX=5]="SETINDEX",ht))(on||{});function xn(ht,gn){switch(gn.type){case 0:return et(et({},ht),gn.payload);case 1:return ze(et({},ht),{loading:gn.payload});case 5:return ze(et({},ht),{index:gn.payload});case 2:return et(et({},ht),gn.payload);case 3:return et(et({},ht),gn.payload);case 4:return ze(et({},ht),{selectedGroup:gn.payload,showFormPanel:!0});default:throw new Error}}function Dn({user:ht}){var gn;const[jt,En]=(0,ue.useReducer)(xn,ei),{data:Fn,index:ri,loading:ni,showFormPanel:mn,selectedGroup:zt,showMemberPanel:$e}=jt,At=(gn=ht.userInfo)==null?void 0:gn.role,Yt=(0,ue.useMemo)(()=>{let Mn=[],On=[];for(let Hi of Fn)Hi.is_creat?Mn.push(Hi):On.push(Hi);return[Mn,On]},[Fn]);(0,ue.useEffect)(()=>{At===15&&En({type:5,payload:1})},[At]);function Ie(){return yn(this,null,function*(){const Mn=yield wt();En({type:0,payload:{loading:!1,showFormPanel:!1,data:Mn.groups}})})}(0,ue.useEffect)(()=>{Ie()},[]);function Ce(Mn){return yn(this,null,function*(){zt.id?yield St(zt.id,Mn):yield pt(Mn),Ie()})}function Ee(){En({type:2,payload:{showFormPanel:!0,selectedGroup:{}}})}function Te(Mn){En({type:4,payload:Mn})}function Ue(){En({type:2,payload:{showFormPanel:!1}})}function Le(){En({type:3,payload:{showMemberPanel:!1,selectedGroup:{}}})}function rt(Mn){En({type:3,payload:{showMemberPanel:!0,selectedGroup:Mn}})}function Sn(Mn,On){return yn(this,null,function*(){yield Oe(Mn,On),Ie()})}function fn(Mn){return yn(this,null,function*(){yield te(Mn),Ie()})}function an(Mn){return yn(this,null,function*(){yield Zt(Mn),Ie()})}function $t(Mn){En({type:5,payload:parseInt(Mn.target.id,10)})}function fi(Mn,On){return yn(this,null,function*(){Le(),yield Ut({user_ids:Mn,group_id:On}),Ie()})}return ue.createElement(ue.Fragment,null,ue.createElement("div",{className:"teaching-circling-container"},ue.createElement("h3",null," \u6559\u7814\u56E2\u961F ",At<=12&&ue.createElement(Dt.ZP,{type:"primary",disabled:Fn.length>=50,title:Fn.length>=50?"\u60A8\u52A0\u5165\u7684\u6559\u7814\u7EC4\u5DF2\u8FBE\u4E0A\u9650":"",onClick:Ee},"\u65B0\u5EFA")," "),ue.createElement("div",{className:"teaching-circling-body"},At===15?null:ue.createElement("ul",{className:"navs"},ue.createElement("li",{className:ri===0?"active":""},ue.createElement("a",{id:"0",onClick:$t},"\u6211\u521B\u5EFA\u7684")),ue.createElement("li",{className:ri===1?"active":""},ue.createElement("a",{id:"1",onClick:$t},"\u6211\u52A0\u5165\u7684"))),ue.createElement("div",{className:Yt[ri].length===0?"nodata-content":"main-content"},Yt[ri].length===0?ue.createElement(Xn,null,At<=12?ue.createElement(ue.Fragment,null," ",ue.createElement("p",null,"\u6559\u7814\u56E2\u961F\u6709\u52A9\u4E8E\u4F60\u548C\u4F60\u7684\u4F19\u4F34\u4EEC\u4E00\u8D77\u521B\u5EFA\u5B9E\u8BAD\u3001\u534F\u540C\u6559\u5B66\uFF0C\u6216\u5F00\u5C55\u5176\u4ED6\u6559\u7814\u6D3B\u52A8\u3002")," ",ue.createElement("p",null,"\u5F53\u524D\u60A8\u5C1A\u672A\u7EC4\u5EFA\u5C5E\u4E8E\u81EA\u5DF1\u6559\u7814\u56E2\u961F\uFF0C\u5FEB\u53BB\u7EC4\u5EFA\u5427\uFF01")," "):ue.createElement("p",null," \u60A8\u5C1A\u672A\u52A0\u5165\u4EFB\u4F55\u6559\u7814\u5C0F\u7EC4\uFF0C\u8BF7\u7B49\u5F85\u8001\u5E08\u7684\u53EC\u5524\u5427\uFF01 ")):ue.createElement(ut,{onExitGroup:an,onPlusMember:rt,onDelMember:Sn,onDelGroup:fn,isAdminOrTeacher:At<=12,onChangeGroupName:Te,data:Yt[ri]}))),ue.createElement("p",{style:{width:1200,margin:"0 auto 40px auto"},className:"desc"}," * \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732 ")),ue.createElement(de,{callback:Ce,visible:mn,onCancel:Ue,id:zt.id,name:zt.name}),ue.createElement(Ve.default,{centered:!0,title:"\u6DFB\u52A0\u6210\u5458",open:$e,onCancel:Le,footer:null,width:1100,bodyStyle:{minHeight:200}},ue.createElement(xt.Z,{container_id:zt.id,container_type:4,onSelect:fi,onCancel:Le})))}var yi=(0,Ot.connect)(({user:ht})=>({user:ht}))(Dn),qn=(ht,gn,jt)=>new Promise((En,Fn)=>{var ri=zt=>{try{mn(jt.next(zt))}catch($e){Fn($e)}},ni=zt=>{try{mn(jt.throw(zt))}catch($e){Fn($e)}},mn=zt=>zt.done?En(zt.value):Promise.resolve(zt.value).then(ri,ni);mn((jt=jt.apply(ht,gn)).next())});const Mi=it.ZP.Group;var mt=({onSelect:ht,onCancel:gn})=>{const[jt,En]=(0,ue.useState)([]),[Fn,ri]=(0,ue.useState)(!0);(0,ue.useEffect)(()=>{function zt(){return qn(this,null,function*(){const{groups:$e}=yield(0,Wt.U2)("teach_groups/my.json");En($e),ri(!1)})}zt()},[]);const ni=(0,ue.useMemo)(()=>{let zt=[],$e=[];for(let At of jt)At.is_creat?zt.push(At):$e.push(At);return[zt,$e]},[jt]);function mn(zt){ht(zt)}return ue.createElement(Mt.default,{className:"select-teach-group",onFinish:mn},Fn?ue.createElement(kt.Z,{paragraph:!0}):jt.length===0?ue.createElement(Xn,null,"\u60A8\u5C1A\u672A\u521B\u5EFA\u60A8\u7684\u6559\u7814\u56E2\u961F\uFF0C\u5FEB\u53BB",ue.createElement(Ot.Link,{to:"/account/teach-group"},"\u521B\u5EFA"),"\u5427"):ue.createElement(ue.Fragment,null,ue.createElement(Mt.default.Item,{name:"group_id",style:{width:"100%"}},ue.createElement(Mi,{style:{width:"100%"}},ue.createElement("p",{style:{fontSize:"12px"}},"\u6211\u521B\u5EFA\u7684\uFF1A"),ue.createElement("ul",{className:"groups"},ni[0].map(zt=>ue.createElement("li",{key:zt.id},ue.createElement(it.ZP,{value:zt.id},zt.name)))),ue.createElement("p",{style:{fontSize:"12px"}},"\u6211\u52A0\u5165\u7684\uFF1A"),ue.createElement("ul",{className:"groups"},ni[1].map(zt=>ue.createElement("li",{key:zt.id},ue.createElement(it.ZP,{value:zt.id},zt.name)))))),ue.createElement("div",{className:"btn-actions"},ue.createElement(Dt.ZP,{type:"default",onClick:gn,style:{marginRight:10}},"\u53D6\u6D88"),ue.createElement(Dt.ZP,{type:"primary",htmlType:"submit"},"\u786E\u5B9A"))))}},47362:function(tn,jn,Pe){"use strict";var ue=Pe(59301),it=Pe(78241),Mt=Pe(95237),kt=Pe(57809),Dt=Pe(92832),Wt=Pe(88522),Ve=Pe(3113),bt=Pe(24905),wt=Pe(6848),pt=Pe(8591),St=Pe(1710),Ut=Pe(89070),Zt=Pe(61186),Oe=Pe.n(Zt),te=Pe(26724),ne=Pe.n(te),de=Pe(58143),le=Pe(92365),pe=Pe(85057),xe=Pe(76895),Ae=Pe(59301),Me=Object.defineProperty,ke=Object.defineProperties,lt=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,Ot=(et,ze,yn)=>ze in et?Me(et,ze,{enumerable:!0,configurable:!0,writable:!0,value:yn}):et[ze]=yn,xt=(et,ze)=>{for(var yn in ze||(ze={}))yt.call(ze,yn)&&Ot(et,yn,ze[yn]);if(dt)for(var yn of dt(ze))ut.call(ze,yn)&&Ot(et,yn,ze[yn]);return et},Nt=(et,ze)=>ke(et,lt(ze)),Jt=(et,ze,yn)=>new Promise((Xn,ei)=>{var on=yi=>{try{Dn(yn.next(yi))}catch(qn){ei(qn)}},xn=yi=>{try{Dn(yn.throw(yi))}catch(qn){ei(qn)}},Dn=yi=>yi.done?Xn(yi.value):Promise.resolve(yi.value).then(on,xn);Dn((yn=yn.apply(et,ze)).next())});const vn=[];function Ai({onSearch:et,schools:ze}){return Ae.createElement(it.default,{colon:!1,layout:"horizontal",onFinish:et,initialValues:{keyword:"",school_name:"",search_type:"1"}},Ae.createElement(Mt.Z,{style:{flexWrap:"nowrap"}},Ae.createElement(it.default.Item,{name:"search_type",label:"\u641C\u7D22\u7C7B\u578B"},Ae.createElement(kt.default,{popupClassName:xe.Z.selectdown,style:{width:106}},Ae.createElement(kt.default.Option,{value:"1"},"\u59D3\u540D"),Ae.createElement(kt.default.Option,{value:"2"},"\u624B\u673A\u53F7"),Ae.createElement(kt.default.Option,{value:"3"},"\u90AE\u7BB1"))),Ae.createElement(it.default.Item,{style:{marginLeft:20},label:"\u641C\u7D22\u5185\u5BB9",name:"keyword",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9"}]},Ae.createElement(Dt.default,{allowClear:!0,style:{width:300},size:"middle"})),Ae.createElement(it.default.Item,{style:{marginLeft:20},label:"\u5355\u4F4D",name:"school_name"},Ae.createElement(Wt.Z,{options:ze,style:{width:300},size:"middle",showSearch:!0,filterOption:(yn,Xn)=>Xn.value.toUpperCase().indexOf(yn.toUpperCase())!==-1,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0"})),Ae.createElement(Ve.ZP,{type:"primary",style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:16,color:"#165DFF",marginLeft:40,border:"1px solid #BACFFE"},htmlType:"submit"},"\u641C\u7D22")))}var hi=(et=>(et[et.INITDATA=0]="INITDATA",et[et.INITSCHOOLS=1]="INITSCHOOLS",et[et.SHOWLOADING=2]="SHOWLOADING",et[et.SELECTEDIDS=3]="SELECTEDIDS",et[et.SETQUERY=4]="SETQUERY",et[et.SETPAGE=5]="SETPAGE",et))(hi||{});function kn(et,ze){switch(ze.type){case 0:return xt(xt({},et),ze.payload);case 4:return xt(xt({},et),ze.payload);case 5:return Nt(xt({},et),{page:ze.payload,reload:!1});case 2:return Nt(xt({},et),{loading:ze.payload});case 1:return Nt(xt({},et),{schools:ze.payload});case 3:return Nt(xt({},et),{selectedIds:ze.payload});default:throw new Error}}const ci={data:[],schools:[],loading:!1,selectedIds:[],query:null,page:1,count:0,reload:!1};jn.Z=({onSelect:et,onCancel:ze,container_id:yn,container_type:Xn})=>{const[ei,on]=(0,ue.useReducer)(kn,ci),{data:xn,schools:Dn,loading:yi,selectedIds:qn,page:Mi,count:mt,query:ht,reload:gn}=ei;(0,ue.useEffect)(()=>{function zt(){return Jt(this,null,function*(){const{users:$e,user_count:At}=yield(0,le.nQ)(Nt(xt({},ht),{page:Mi,container_type:Xn,container_id:yn,display_aliases:!0}));on({type:0,payload:{data:gn?$e:[...xn,...$e],count:At}})})}ht&&zt()},[Mi,ht,gn,yn,Xn]),(0,ue.useEffect)(()=>{function zt(){return Jt(this,null,function*(){const{school_names:$e}=yield(0,le.K$)({display_aliases:!0});on({type:1,payload:$e.map(At=>({value:At}))})})}zt()},[]);const jt=[{title:"",dataIndex:"added",width:40,ellipsis:!0,render:(zt,$e)=>Ae.createElement(bt.default,{value:$e.numid,checked:qn.includes($e.numid),disabled:!!zt})},{title:"\u59D3\u540D",width:100,ellipsis:!0,align:"left",dataIndex:"username",render:(zt,$e)=>Ae.createElement("div",null,Ae.createElement(wt.Z,{placement:"bottom",title:zt},Ae.createElement(Ut.Link,{style:{color:"#000000"},className:"bold c-black",to:`/users/${$e.login}`,target:"_blank"},zt||"--")))},{title:"\u624B\u673A",width:100,dataIndex:"phone",ellipsis:!0,render:zt=>Ae.createElement(wt.Z,{placement:"bottom",title:zt},Ae.createElement("span",{style:{color:"#000000"}},zt||"--"))},{title:"\u90AE\u7BB1",dataIndex:"email",width:100,ellipsis:!0,render:zt=>Ae.createElement(wt.Z,{placement:"bottom",title:zt},Ae.createElement("span",{style:{color:"#000000"}},zt||"--"))},{title:"\u5B66\u53F7/\u5DE5\u53F7",width:100,dataIndex:"student_number",ellipsis:!0,render:zt=>Ae.createElement(wt.Z,{placement:"bottom",title:zt},Ae.createElement("span",{style:{color:"#000000"}},zt||"--"))},{title:"\u5B66\u6821/\u5355\u4F4D",width:150,dataIndex:"school_name",ellipsis:!0,render:zt=>Ae.createElement(wt.Z,{placement:"bottom",title:zt},Ae.createElement("span",{style:{color:"#000000"}},zt||"--"))},{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"depart_name",width:130,ellipsis:!0,render:zt=>Ae.createElement(wt.Z,{placement:"bottom",title:zt},Ae.createElement("span",{style:{color:"#000000"}},zt||"--"))},{title:"\u5B9E\u540D\u8BA4\u8BC1",dataIndex:"auth",width:100,render:zt=>Ae.createElement("span",{style:{color:"#000000"}},zt?"\u662F":"\u5426")},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_on",width:140,ellipsis:!0,render:zt=>Ae.createElement(wt.Z,{placement:"bottom",title:zt},Ae.createElement("span",{style:{color:"#000000"}},Oe()(zt).format("YYYY-MM-DD HH:mm")))},{title:"\u72B6\u6001",dataIndex:"added",width:80,render:zt=>{if(zt===1)return Ae.createElement("span",{style:{color:"#000000"}},"\u5DF2\u6DFB\u52A0")}}];function En(zt){on({type:4,payload:{page:1,reload:!0,query:zt}})}function Fn(zt){on({type:5,payload:zt})}function ri(zt){let $e=qn.indexOf(zt);$e>=0?qn.splice($e,1):qn.push(zt),on({type:3,payload:[...qn]})}function ni(){qn.length===0?pt.ZP.warning("\u8BF7\u5148\u5728\u4E0B\u9762\u5217\u8868\u4E2D\u9009\u62E9\u8981\u6DFB\u52A0\u6210\u5458"):(et(qn,yn),on({type:0,payload:{data:[],count:0,page:1,selectedIds:[],query:null,reload:!1}}))}const mn=mt>Mi*10;return Ae.createElement("div",{className:"select-user-container",style:{paddingBottom:20}},Ae.createElement(Ai,{onSearch:En,schools:Dn}),ht?Ae.createElement(Ae.Fragment,null,Ae.createElement("div",{className:"flexd-table-header mt20"},Ae.createElement(pe.Gi,null,Ae.createElement(St.default,{pagination:!1,dataSource:vn,columns:jt}))),Ae.createElement("div",{style:{maxHeight:260,overflow:"auto",marginBottom:20}},Ae.createElement(ne(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Fn,hasMore:mn,useWindow:!1},Ae.createElement(pe.Gi,null,Ae.createElement(St.default,{loading:yi,showHeader:!1,pagination:!1,dataSource:xn,columns:jt,onRow:zt=>({onClick:$e=>{zt.added!==1&&ri(zt.numid)}})})))),Ae.createElement("div",{className:"flex-container flex-end"},Ae.createElement(Ve.ZP,{type:"ghost",style:{marginRight:10,border:"1px solid #C3CFE0",color:"#464F66"},onClick:ze},"\u53D6\u6D88"),Ae.createElement(Ve.ZP,{style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:2,color:"#165DFF",border:"1px solid #BACFFE"},type:"primary",onClick:ni},"\u786E\u5B9A"))):Ae.createElement("div",{className:"tc font16 c-light-black mt40 pb30"},Ae.createElement("img",{src:de,width:"100",alt:""}),Ae.createElement("br",null),Ae.createElement("p",{className:"mt20"},"\u8BF7\u641C\u7D22\u8981\u6DFB\u52A0\u7684\u4EBA\u5458")))}},53932:function(tn,jn,Pe){"use strict";Pe.d(jn,{h:function(){return Ae},Z:function(){return xe}});var ue=Pe(59301),it=Pe(57809),Mt=Pe(78241),kt=Pe(3113),Dt=Pe(89780),Wt=Pe.n(Dt),Ve=Pe(37036),bt=Object.defineProperty,wt=Object.defineProperties,pt=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,Ut=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Oe=(Me,ke,lt)=>ke in Me?bt(Me,ke,{enumerable:!0,configurable:!0,writable:!0,value:lt}):Me[ke]=lt,te=(Me,ke)=>{for(var lt in ke||(ke={}))Ut.call(ke,lt)&&Oe(Me,lt,ke[lt]);if(St)for(var lt of St(ke))Zt.call(ke,lt)&&Oe(Me,lt,ke[lt]);return Me},ne=(Me,ke)=>wt(Me,pt(ke));const de=it.default.Option,le={labelCol:{span:4},wrapperCol:{span:20}},pe={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"]};var xe=({callback:Me,onCancel:ke})=>{const[lt,dt]=(0,ue.useState)("python");function yt(Ot){dt(pe[Ot][1])}function ut(Ot){Me(Ot)}return ue.createElement(Mt.default,ne(te({},le),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ut,style:{width:500}}),ue.createElement(Mt.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ue.createElement(it.default,{getPopupContainer:Ot=>Ot.parentNode,onChange:yt},Object.keys(pe).map(Ot=>ue.createElement(de,{key:Ot,value:Ot},pe[Ot][0])))),ue.createElement(Mt.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ue.createElement(Ae,{mode:lt})),ue.createElement("div",{className:"flex-container flex-end"},ue.createElement(kt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(kt.ZP,{type:"ghost",onClick:ke},"\u53D6\u6D88")))};function Ae({value:Me,onChange:ke,mode:lt,options:dt={}}){const yt=(0,ue.useRef)(),[ut,Ot]=(0,ue.useState)();return(0,ue.useEffect)(()=>{if(ut){let xt=function(Nt){const Jt=Nt.getValue();ke&&ke(Jt)};return ut.on("change",xt),()=>{ut.off("change",xt)}}},[ut,ke]),(0,ue.useEffect)(()=>{ut&&ut.setOption("mode",lt)},[ut,lt]),(0,ue.useEffect)(()=>{ut&&(Me!==ut.getValue()||Me==="")&&setTimeout(()=>{ut.setValue(Me||"")},300)},[ut,Me]),(0,ue.useEffect)(()=>{if(yt.current&&!ut){const xt=Wt().fromTextArea(yt.current,te({mode:lt,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},dt));Ot(xt)}},[yt.current,ut]),ue.createElement("div",{className:"my-codemirror-container"},ue.createElement("textarea",{ref:yt}))}},12290:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return nr}});var ue=Pe(59301),it=Pe(89780),Mt=Pe.n(it),kt=Pe(76374),Dt=Pe(37036),Wt=Pe(6313),Ve=Pe(25717),bt=Pe(99498),wt=Pe(25419),pt=Pe(67549),St=Pe(85149),Ut=({value:nn="",className:_t,showTextOnly:Rt,showLines:Li,style:yr={}})=>{const Oi=(0,ue.useMemo)(()=>"",[nn]);return ue.createElement(ue.Fragment,null,ue.createElement("div",{dangerouslySetInnerHTML:{__html:Oi}}))},Zt=Pe(59301),Oe=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,xe=(nn,_t,Rt)=>_t in nn?Oe(nn,_t,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):nn[_t]=Rt,Ae=(nn,_t)=>{for(var Rt in _t||(_t={}))le.call(_t,Rt)&&xe(nn,Rt,_t[Rt]);if(de)for(var Rt of de(_t))pe.call(_t,Rt)&&xe(nn,Rt,_t[Rt]);return nn},Me=(nn,_t)=>te(nn,ne(_t));let ke=[{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 lt({onActionCallback:nn,title:_t,icon:Rt,actionName:Li,className:yr="",children:Oi}){function Zn(){nn(Li)}return Zt.createElement("a",{title:_t,className:yr,onClick:Zn},Zt.createElement("i",{className:`${Rt}`}),Oi)}var dt=({watch:nn,showNullButton:_t,showNullProgramButton:Rt,onActionCallback:Li,fullScreen:yr,insertTemp:Oi,hidetoolBar:Zn,extraUse:ki})=>{const Vr=[...ke,{title:`${nn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${nn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Zt.createElement("ul",{className:"markdown-toolbar-container"},!Zn&&Vr.map((br,Br)=>Zt.createElement("li",{key:Br},br.actionName?Zt.createElement(lt,Me(Ae({},br),{onActionCallback:Li})):Zt.createElement("span",{className:"v-line"}))),_t?Zt.createElement("li",null,Zt.createElement(lt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Li},Zt.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Rt?Zt.createElement(Zt.Fragment,null,Zt.createElement("li",null,Zt.createElement(lt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Li},Zt.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Zt.createElement("li",null,Zt.createElement(lt,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Li},Zt.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Oi&&Zt.createElement("li",null,Zt.createElement(lt,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Oi}`,onActionCallback:Li},Zt.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),ki&&Zt.createElement("li",null,ki),Zt.createElement("li",{className:"btn-full-screen"},Zt.createElement(lt,{icon:`${yr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:yr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Li})))},yt=Pe(79346),ut=Pe(78241),Ot=Pe(92832),xt=Pe(3113),Nt=Object.defineProperty,Jt=Object.defineProperties,vn=Object.getOwnPropertyDescriptors,Ai=Object.getOwnPropertySymbols,hi=Object.prototype.hasOwnProperty,kn=Object.prototype.propertyIsEnumerable,ci=(nn,_t,Rt)=>_t in nn?Nt(nn,_t,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):nn[_t]=Rt,et=(nn,_t)=>{for(var Rt in _t||(_t={}))hi.call(_t,Rt)&&ci(nn,Rt,_t[Rt]);if(Ai)for(var Rt of Ai(_t))kn.call(_t,Rt)&&ci(nn,Rt,_t[Rt]);return nn},ze=(nn,_t)=>Jt(nn,vn(_t));const yn={labelCol:{span:4},wrapperCol:{span:20}};var Xn=({callback:nn,onCancel:_t})=>{function Rt(Li){nn(Li)}return ue.createElement(ut.default,ze(et({},yn),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Rt,style:{width:500}}),ue.createElement(ut.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ue.createElement(Ot.default,null)),ue.createElement(ut.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ue.createElement(Ot.default,null)),ue.createElement("div",{className:"flex-container flex-end"},ue.createElement(xt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(xt.ZP,{type:"ghost",onClick:_t},"\u53D6\u6D88")))},ei=Pe(53932),on=Pe(28451),xn=Pe(43418),Dn=Pe(95237),yi=Pe(16406),qn=Pe(59301),Mi=({callback:nn,onCancel:_t})=>{const Rt=document.createElement("canvas"),Li=Rt.getContext("2d");Rt.width=1e3,Rt.height=800,Li.fillStyle="#ffffff",Li.fillRect(0,0,Rt.width,Rt.height);const yr=Rt.toDataURL("image/png");return qn.createElement(xn.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},qn.createElement(Dn.Z,{style:{height:"100vh"}},qn.createElement(yi.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:yr,visible:!0,title:String(Date.now())},onOk:Oi=>{nn({src:Oi.url})},onClose:_t})))},mt=Pe(12378);function ht(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ht,go.CommandHandler),ht.prototype.canAlignSelection=function(){var nn=this.diagram;return!(nn===null||nn.isReadOnly||nn.isModelReadOnly||nn.selection.count<2)},ht.prototype.alignLeft=function(){var nn=this.diagram;nn.startTransaction("aligning left");var _t=1/0;nn.selection.each(function(Rt){Rt instanceof go.Link||(_t=Math.min(Rt.position.x,_t))}),nn.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(_t,Rt.position.y))}),nn.commitTransaction("aligning left")},ht.prototype.alignRight=function(){var nn=this.diagram;nn.startTransaction("aligning right");var _t=-1/0;nn.selection.each(function(Rt){if(!(Rt instanceof go.Link)){var Li=Rt.actualBounds.x+Rt.actualBounds.width;_t=Math.max(Li,_t)}}),nn.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(_t-Rt.actualBounds.width,Rt.position.y))}),nn.commitTransaction("aligning right")},ht.prototype.alignTop=function(){var nn=this.diagram;nn.startTransaction("alignTop");var _t=1/0;nn.selection.each(function(Rt){Rt instanceof go.Link||(_t=Math.min(Rt.position.y,_t))}),nn.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(Rt.position.x,_t))}),nn.commitTransaction("alignTop")},ht.prototype.alignBottom=function(){var nn=this.diagram;nn.startTransaction("aligning bottom");var _t=-1/0;nn.selection.each(function(Rt){if(!(Rt instanceof go.Link)){var Li=Rt.actualBounds.y+Rt.actualBounds.height;_t=Math.max(Li,_t)}}),nn.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(Rt.actualBounds.x,_t-Rt.actualBounds.height))}),nn.commitTransaction("aligning bottom")},ht.prototype.alignCenterX=function(){var nn=this.diagram,_t=nn.selection.first();if(_t){nn.startTransaction("aligning Center X");var Rt=_t.actualBounds.x+_t.actualBounds.width/2;nn.selection.each(function(Li){Li instanceof go.Link||Li.move(new go.Point(Rt-Li.actualBounds.width/2,Li.actualBounds.y))}),nn.commitTransaction("aligning Center X")}},ht.prototype.alignCenterY=function(){var nn=this.diagram,_t=nn.selection.first();if(_t){nn.startTransaction("aligning Center Y");var Rt=_t.actualBounds.y+_t.actualBounds.height/2;nn.selection.each(function(Li){Li instanceof go.Link||Li.move(new go.Point(Li.actualBounds.x,Rt-Li.actualBounds.height/2))}),nn.commitTransaction("aligning Center Y")}},ht.prototype.alignColumn=function(nn){var _t=this.diagram;_t.startTransaction("align Column"),nn===void 0&&(nn=0),nn=parseFloat(nn);var Rt=new Array;_t.selection.each(function(ki){ki instanceof go.Link||Rt.push(ki)});for(var Li=0;Li0){for(var ki=Oi.elt(Zn-1);ki!==null&&ki.isTreeExpanded&&!ki.isTreeLeaf;){var Vr=this._sortTreeChildrenByY(ki);ki=Vr.last()}ki!==null&&nn.select(ki)}else nn.select(yr)}}else if(Rt.key==="Down")if(_t.isTreeExpanded&&!_t.isTreeLeaf){var Li=this._sortTreeChildrenByY(_t).first();Li!==null&&nn.select(Li)}else for(;_t!==null;){var yr=_t.findTreeParentNode();if(yr===null)break;var Oi=this._sortTreeChildrenByY(yr),Zn=Oi.indexOf(_t);if(ZnOi.y?1:yr.xOi.x?1:0}),_t},ht.prototype.copyToClipboard=function(nn){go.CommandHandler.prototype.copyToClipboard.call(this,nn),this._lastPasteOffset.set(this.pasteOffset)},ht.prototype.pasteFromClipboard=function(){var nn=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(nn,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),nn},Object.defineProperty(ht.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(nn){if(nn!=="move"&&nn!=="select"&&nn!=="scroll"&&nn!=="tree"&&nn!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+nn);this._arrowKeyBehavior=nn}}),Object.defineProperty(ht.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(nn){if(!(nn instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+nn);this._pasteOffset.set(nn)}});var gn=ht,jt=Pe(74413),En=Pe(43604),Fn=Pe(99064),ri={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ni=Pe(24065),mn=Pe(59301),zt=(nn,_t,Rt)=>new Promise((Li,yr)=>{var Oi=Vr=>{try{ki(Rt.next(Vr))}catch(br){yr(br)}},Zn=Vr=>{try{ki(Rt.throw(Vr))}catch(br){yr(br)}},ki=Vr=>Vr.done?Li(Vr.value):Promise.resolve(Vr.value).then(Oi,Zn);ki((Rt=Rt.apply(nn,_t)).next())});function $e({onCancel:nn,callback:_t}){let Rt=(0,ue.useRef)(),Li=(0,ue.useRef)(),yr=(0,ue.useRef)(),Oi=(0,ue.useRef)(!1);const Zn=(0,ue.useRef)(!1),[ki,Vr]=(0,ue.useState)(0);function br(){const Et=mt.bx.make,Di={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"};Rt.current=new mt.S0(Li.current,{padding:20,grid:Et(mt.s_,"Grid",Et(mt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Et(mt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Vt=>{var hn=Vt.diagram.commandHandler.addTopLevelParts(Vt.diagram.selection,!0);hn||Vt.diagram.currentTool.doCancel()},commandHandler:Et(gn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Vt=>{var hn=Vt.subject;hn.location=hn.location.copy().snapToGridPoint(Vt.diagram.grid.gridOrigin,Vt.diagram.grid.gridCellSize),setTimeout(()=>{Vt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Vt=>{var hn=Vt.subject;setTimeout(()=>{Vt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Vt=>{var hn=Vt.parameter.part;hn.invalidateConnectedLinks();var Xt=Vt.subject;Vt.diagram.toolManager.linkingTool.isForwards?Xt.toNode.invalidateConnectedLinks():Xt.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Rt.current.nodeTemplate=Et(mt.NB,"Auto",{locationSpot:mt.z6.Center,locationObjectName:"SHAPE",desiredSize:new mt.$u(120,60),minSize:new mt.$u(40,40),resizable:!0,resizeCellSize:new mt.$u(10,10),rotatable:!0},new mt.KX("location","loc",mt.E9.parse).makeTwoWay(mt.E9.stringify),new mt.KX("desiredSize","size",mt.$u.parse).makeTwoWay(mt.$u.stringify),Et(mt.bn,{name:"SHAPE",fill:Di.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:mt.z6.AllSides,toSpot:mt.z6.AllSides},new mt.KX("figure"),new mt.KX("fill"),new mt.KX("stroke","borderColor"),new mt.KX("strokeWidth","thickness"),new mt.KX("strokeDashArray","dash")),Et(mt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Et(mt.al,{margin:1,textAlign:"center",overflow:mt.al.OverflowEllipsis,editable:!0},new mt.KX("text").makeTwoWay(),new mt.KX("stroke","color"))),Rt.current.nodeTemplate.toolTip=Et("ToolTip",Et(mt.s_,"Vertical",{maxSize:new mt.$u(200,NaN)},Et(mt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new mt.KX("text")),Et(mt.al,{font:"10pt sans-serif",textAlign:"center"},new mt.KX("text","details"))));function Cn(Vt,hn){var Xt=(Vn,er)=>{Vn.handled=!0,Vn.diagram.model.commit(lr=>{var ui=er.part.adornedPart,Ci=new mt.E9().setRectSpot(ui.actualBounds,Vt);Ci.subtract(ui.location),Ci.scale(2,2),Ci.x+=Math.sign(Ci.x)*130,Ci.y+=Math.sign(Ci.y)*130,Ci.add(ui.location),Ci.snapToGridPoint(Vn.diagram.grid.gridOrigin,Vn.diagram.grid.gridCellSize);var Yn=lr.copyNodeData(ui.data);lr.setGroupKeyForNodeData(Yn,lr.getGroupKeyForNodeData(ui.data)),lr.addNodeData(Yn);var ln={from:ui.key,to:lr.getKeyForNodeData(Yn)};lr.addLinkData(ln);var _r=Vn.diagram.findNodeForData(Yn);_r.location=Ci,Vn.diagram.select(_r),setTimeout(()=>{Vn.diagram.commandHandler.editTextBlock()},20)})};return Et(mt.bn,{figure:hn,alignment:Vt,alignmentFocus:Vt.opposite(),width:Vt.equals(mt.z6.Top)||Vt.equals(mt.z6.Bottom)?25:18,height:Vt.equals(mt.z6.Top)||Vt.equals(mt.z6.Bottom)?18:25,fill:"orange",stroke:Di.white,strokeWidth:4,mouseEnter:(Vn,er)=>er.fill="dodgerblue",mouseLeave:(Vn,er)=>er.fill="orange",isActionable:!0,click:Xt,contextClick:Xt})}function Kn(Vt){return Et(mt.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:(hn,Xt)=>Xt.fill="dodgerblue",mouseLeave:(hn,Xt)=>Xt.fill="orange",click:(hn,Xt)=>{hn.diagram.commandHandler.showContextMenu(Xt.part.adornedPart)}},Vt||{})}Rt.current.nodeTemplate.selectionAdornmentTemplate=Et(mt.uz,"Spot",Et(mt.Vm,{padding:10}),Cn(mt.z6.Top,"TriangleUp"),Cn(mt.z6.Left,"TriangleLeft"),Cn(mt.z6.Right,"TriangleRight"),Cn(mt.z6.Bottom,"TriangleDown"),Kn({alignment:new mt.z6(.75,0)}));function Lt(Vt,hn){return(Xt,Vn)=>{Xt.handled=!0,Xt.diagram.model.commit(er=>{er.set(Vn.part.adornedPart.data,Vt,hn)})}}function Ft(Vt,hn){return hn||(hn="color"),Et(mt.bn,{width:16,height:16,stroke:"lightgray",fill:Vt,margin:1,background:"transparent",mouseEnter:(Xt,Vn)=>Vn.stroke="dodgerblue",mouseLeave:(Xt,Vn)=>Vn.stroke="lightgray",click:Lt(hn,Vt),contextClick:Lt(hn,Vt)})}function un(){return[Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ft(Di.white,"fill"),Ft(Di.beige,"fill"),Ft(Di.extralightblue,"fill"),Ft(Di.extralightred,"fill"))),Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ft(Di.lightgray,"fill"),Ft(Di.lightgreen,"fill"),Ft(Di.lightblue,"fill"),Ft(Di.lightred,"fill")))]}function Sr(){return[Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ft(Di.black),Ft(Di.green),Ft(Di.blue),Ft(Di.red))),Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ft(Di.white),Ft(Di.magenta),Ft(Di.purple),Ft(Di.orange)))]}function Ii(Vt,hn){return hn||(hn="thickness"),Et(mt.bn,"LineH",{width:16,height:16,strokeWidth:Vt,margin:1,background:"transparent",mouseEnter:(Xt,Vn)=>Vn.background="dodgerblue",mouseLeave:(Xt,Vn)=>Vn.background="transparent",click:Lt(hn,Vt),contextClick:Lt(hn,Vt)})}function Ri(Vt,hn){return hn||(hn="dash"),Et(mt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Vt,margin:1,background:"transparent",mouseEnter:(Xt,Vn)=>Vn.background="dodgerblue",mouseLeave:(Xt,Vn)=>Vn.background="transparent",click:Lt(hn,Vt),contextClick:Lt(hn,Vt)})}function si(){return[Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ii(1),Ii(2),Ii(3),Ii(4))),Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ri(null),Ri([2,4]),Ri([4,4])))]}function Ti(Vt,hn){return hn||(hn="figure"),Et(mt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Vt,margin:1,background:"transparent",mouseEnter:(Xt,Vn)=>Vn.fill="dodgerblue",mouseLeave:(Xt,Vn)=>Vn.fill="lightgray",click:Lt(hn,Vt),contextClick:Lt(hn,Vt)})}Rt.current.nodeTemplate.contextMenu=Et("ContextMenu",Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ti("Rectangle"),Ti("RoundedRectangle"),Ti("Ellipse"),Ti("Diamond"))),Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ti("Parallelogram2"),Ti("ManualOperation"),Ti("Procedure"),Ti("Cylinder1"))),Et("ContextMenuButton",Et(mt.s_,"Horizontal",Ti("Terminator"),Ti("CreateRequest"),Ti("Document"),Ti("TriangleDown"))),un(),Sr(),si()),Rt.current.groupTemplate=Et(mt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:mt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Vt,hn)=>{var Xt=hn.addMembers(hn.diagram.selection,!0);Xt||hn.diagram.currentTool.doCancel()},avoidable:!1},new mt.KX("location","loc",mt.E9.parse).makeTwoWay(mt.E9.stringify),Et(mt.s_,"Auto",{name:"BODY"},Et(mt.bn,{parameter1:10,fill:Di.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:mt.z6.AllSides,toSpot:mt.z6.AllSides},new mt.KX("fill"),new mt.KX("stroke","color"),new mt.KX("strokeWidth","thickness"),new mt.KX("strokeDashArray","dash")),Et(mt.Vm,{background:"transparent",margin:20})),Et(mt.al,{alignment:mt.z6.Top,alignmentFocus:mt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new mt.KX("text"),new mt.KX("stroke","color"))),Rt.current.groupTemplate.selectionAdornmentTemplate=Et(mt.uz,"Spot",Et(mt.s_,"Auto",Et(mt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Et(mt.Vm,{margin:1.5})),Kn({alignment:mt.z6.TopRight,alignmentFocus:mt.z6.BottomRight})),Rt.current.groupTemplate.contextMenu=Et("ContextMenu",un(),Sr(),si()),Rt.current.linkTemplate=Et(mt.rU,{layerName:"Foreground",routing:mt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new mt.KX("fromSpot","fromSpot",mt.z6.parse),new mt.KX("toSpot","toSpot",mt.z6.parse),new mt.KX("fromShortLength","dir",Vt=>Vt>=1?10:0),new mt.KX("toShortLength","dir",Vt=>Vt>=1?10:0),new mt.KX("points").makeTwoWay(),Et(mt.bn,{strokeWidth:2},new mt.KX("stroke","color"),new mt.KX("strokeWidth","thickness"),new mt.KX("strokeDashArray","dash")),Et(mt.bn,{segmentIndex:0,segmentOffset:new mt.E9(15,0),segmentOrientation:mt.rU.OrientAlong,alignmentFocus:mt.z6.Right,figure:"circle",width:10,strokeWidth:0},new mt.KX("fill","color"),new mt.KX("visible","dir",Vt=>Vt===1)),Et(mt.bn,{segmentIndex:-1,segmentOffset:new mt.E9(-10,6),segmentOrientation:mt.rU.OrientPlus90,alignmentFocus:mt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new mt.KX("fill","color"),new mt.KX("visible","dir",Vt=>Vt>=1),new mt.KX("width","thickness",Vt=>7+3*Vt),new mt.KX("height","thickness",Vt=>7+3*Vt),new mt.KX("segmentOffset","thickness",Vt=>new mt.E9(-15,4+1.5*Vt))),Et(mt.bn,{segmentIndex:0,segmentOffset:new mt.E9(15,-6),segmentOrientation:mt.rU.OrientMinus90,alignmentFocus:mt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new mt.KX("fill","color"),new mt.KX("visible","dir",Vt=>Vt===2),new mt.KX("width","thickness",Vt=>7+3*Vt),new mt.KX("height","thickness",Vt=>7+3*Vt),new mt.KX("segmentOffset","thickness",Vt=>new mt.E9(-15,4+1.5*Vt))),Et(mt.al,{alignmentFocus:new mt.z6(0,1,-4,0),editable:!0},new mt.KX("text").makeTwoWay(),new mt.KX("stroke","color"))),Rt.current.linkTemplate.selectionAdornmentTemplate=Et(mt.uz,Et(mt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Jr(2)},new mt.KX("pathPattern","thickness",Jr)),Kn({alignmentFocus:new mt.z6(0,0,-6,-4)}));function Jr(Vt){return Et(mt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Vt+4).toString()+" H3"})}function Qr(Vt){var hn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Vt===0?hn="M0 0 M16 16 M0 8 L16 8":Vt===2&&(hn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Et(mt.bn,{geometryString:hn,margin:2,background:"transparent",mouseEnter:(Xt,Vn)=>Vn.background="dodgerblue",mouseLeave:(Xt,Vn)=>Vn.background="transparent",click:Lt("dir",Vt),contextClick:Lt("dir",Vt)})}function Lo(Vt){var hn=(Xt,Vn)=>{Xt.handled=!0,Xt.diagram.model.commit(er=>{var lr=Vn.part.adornedPart;er.set(lr.data,Vt?"toSpot":"fromSpot",mt.z6.stringify(mt.z6.AllSides)),(Vt?lr.toNode:lr.fromNode).invalidateConnectedLinks()})};return Et(mt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Xt,Vn)=>Vn.background="dodgerblue",mouseLeave:(Xt,Vn)=>Vn.background="transparent",click:hn,contextClick:hn})}function Nn(Vt,hn){var Xt=0,Vn=mt.z6.RightSide;Vt.equals(mt.z6.Top)?(Xt=270,Vn=mt.z6.TopSide):Vt.equals(mt.z6.Left)?(Xt=180,Vn=mt.z6.LeftSide):Vt.equals(mt.z6.Bottom)&&(Xt=90,Vn=mt.z6.BottomSide),hn||(Xt-=180);var er=(lr,ui)=>{lr.handled=!0,lr.diagram.model.commit(Ci=>{var Yn=ui.part.adornedPart;Ci.set(Yn.data,hn?"toSpot":"fromSpot",mt.z6.stringify(Vn)),(hn?Yn.toNode:Yn.fromNode).invalidateConnectedLinks()})};return Et(mt.bn,{alignment:Vt,alignmentFocus:Vt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Xt,background:"transparent",mouseEnter:(lr,ui)=>ui.background="dodgerblue",mouseLeave:(lr,ui)=>ui.background="transparent",click:er,contextClick:er})}Rt.current.linkTemplate.contextMenu=Et("ContextMenu",Sr(),si(),Et("ContextMenuButton",Et(mt.s_,"Horizontal",Qr(0),Qr(1),Qr(2))),Et("ContextMenuButton",Et(mt.s_,"Horizontal",Et(mt.s_,"Spot",Lo(!1),Nn(mt.z6.Top,!1),Nn(mt.z6.Left,!1),Nn(mt.z6.Right,!1),Nn(mt.z6.Bottom,!1)),Et(mt.s_,"Spot",{margin:new mt.Zt(0,0,0,2)},Lo(!0),Nn(mt.z6.Top,!0),Nn(mt.z6.Left,!0),Nn(mt.z6.Right,!0),Nn(mt.z6.Bottom,!0)))));const ja=`{ "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"}, @@ -1048,18 +1048,18 @@ {"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 co=["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 Kr(Vt){return console.log("shapeName:",Vt),co.indexOf(Vt)>=0}var sn=new mt.YI(yr.current,{maxSelectionCount:1,linkTemplate:Et(mt.rU,{locationSpot:mt.z6.Center,selectionAdornmentTemplate:Et(mt.uz,"Link",{locationSpot:mt.z6.Center},Et(mt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Et(mt.bn,{toArrow:"Standard",stroke:null}))},{routing:mt.rU.AvoidsNodes,curve:mt.rU.JumpOver,corner:5,toShortLength:4},new mt.KX("points"),Et(mt.bn,{isPanelMain:!0,strokeWidth:2}),Et(mt.bn,{toArrow:"Standard",stroke:null})),model:new mt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...mt.bn.getFigureGenerators().toArray().map(Vt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Vt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Rt.current.addDiagramListener("TextEdited",function(Vt){var hn;const Xt=Vt.subject.part;var Vn=(hn=document.activeElement)==null?void 0:hn.value;typeof Vn=="string"&&Vn.trim()===""&&Rt.current.model.commit(function(er){er.set(Xt.data,"text","\u672A\u547D\u540D"),Rt.current.commandHandler.stopCommand()},"increment")}),sn.nodeTemplate=Et(mt.NB,"Auto",{locationSpot:mt.z6.Center},new mt.KX("location","location",mt.E9.parse).makeTwoWay(mt.E9.stringify),Et(mt.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 mt.KX("stroke").makeTwoWay(),new mt.KX("fill").makeTwoWay(),new mt.KX("figure")),Et(mt.al,{margin:new mt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new mt.$u(16,16),maxSize:new mt.$u(10,NaN),textAlign:"center",editable:!0},new mt.KX("key").makeTwoWay())),setTimeout(()=>{Rt.current.grid=Et(mt.s_,"Grid",Et(mt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Et(mt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Rt.current.grid.visible=!0,Rt.current.grid.gridCellStroke="darkgray",Rt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Rt.current,Rt.current}const Br=()=>zt(this,null,function*(){var Et,Di=Rt.current.makeImage();const Cn=yield(0,Fn.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Di.src,file_data:JSON.stringify({login:(Et=(0,ni.eY)())==null?void 0:Et.login,data:JSON.parse(Rt.current.model.toJson())})}});_t({src:Cn.url})});return(0,ue.useEffect)(()=>(setTimeout(()=>{br()},500),Vr(ki+1),()=>{Rt.current=null}),[]),mn.createElement("div",{ref:Zn,className:Oi.current?`${ii.maxH60} body-overflow-initial`:"body-overflow-initial"},mn.createElement(xn.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!ki,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:mn.createElement(Dn.Z,null,mn.createElement(En.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),mn.createElement(En.Z,{onClick:()=>{var Et,Di,Cn=Rt.current.selection.first();if(Oi.current=!Oi.current,document.activeElement&&Cn){let Kn=(Di=(Et=document.activeElement)==null?void 0:Et.value)==null?void 0:Di.trim();typeof Kn=="string"&&Rt.current.model.commit(function(Lt){Lt.set(Cn.data,"text",Kn||"\u672A\u547D\u540D"),Rt.current.commandHandler.stopCommand()},"increment")}Vr(ki+1)}},mn.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:tn},mn.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:ii.flowChartWrp},mn.createElement("div",{style:{display:"flex",height:"100%"}},mn.createElement("div",{style:{width:"300px",height:"100%"}},mn.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),mn.createElement("div",{style:{height:"calc(100% - 50px)"},className:ii.myPaletteDiv,ref:yr})),mn.createElement("div",{style:{flex:1,position:"relative"}},mn.createElement("div",{ref:Li,style:{height:"80vh"}}))),mn.createElement("div",{className:"tr"},mn.createElement(xt.ZP,{size:"large",onClick:Br,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var At=$e,Yt=Pe(5112),Ie=Pe(5871);const Ce=Yt.ZP.Group,Ee={margin:"0 8px"};var Te=({callback:tn,onCancel:_t})=>{function Rt(Li){tn(Li)}return ue.createElement(ut.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Rt},ue.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ue.createElement("span",{style:Ee},"\u5355\u5143\u683C\u6570\uFF1A"),ue.createElement("span",{style:Ee},"\u884C\u6570"),ue.createElement(ut.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ue.createElement(Ie.Z,null)),ue.createElement("span",{style:Ee},"\u5217\u6570"),ue.createElement(ut.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ue.createElement(Ie.Z,null))),ue.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ue.createElement("span",{style:Ee},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ue.createElement(ut.default.Item,{name:"align"},ue.createElement(Ce,null,ue.createElement(Yt.ZP,{value:"default"},ue.createElement("i",{className:"fa fa-align-justify"})),ue.createElement(Yt.ZP,{value:"left"},ue.createElement("i",{className:"fa fa-align-left"})),ue.createElement(Yt.ZP,{value:"center"},ue.createElement("i",{className:"fa fa-align-center"})),ue.createElement(Yt.ZP,{value:"right"},ue.createElement("i",{className:"fa fa-align-right"}))))),ue.createElement("div",{className:"flex-container flex-end"},ue.createElement(xt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(xt.ZP,{type:"ghost",onClick:_t},"\u53D6\u6D88")))},Ue=Pe(78673),Le=Pe(80727),rt=Pe.n(Le),fn=(0,ue.forwardRef)(({use3d:tn,width:_t,height:Rt,callback:Li,showSaveButton:yr},Oi)=>{const Zn=(0,ue.useRef)(),ki=(0,ue.useRef)(),[Vr,br]=(0,ue.useState)(!1),Br=(0,ue.useRef)({id:Zn,appName:"graphing",width:_t||1e3,height:Rt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ue.useEffect)(()=>{ki.current=new(rt())(Br.current,!0),window.onload=function(){ki.current.inject("applet_container")}},[]);const Et=()=>{var Di=window.ggbApplet.getPNGBase64(1,!0,72);return Li&&Li(Di),Di};return(0,ue.useEffect)(()=>{Br.current.appName=Vr?"3D":"graphing",ki.current.inject("applet_container")},[Vr]),(0,ue.useEffect)(()=>{br(tn)},[tn]),(0,ue.useImperativeHandle)(Oi,()=>({getImgData:Et})),ue.createElement(ue.Fragment,null,ue.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Zn}),ue.createElement(Dn.Z,{align:"middle"},ue.createElement(En.Z,{flex:1},ue.createElement(Ue.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Vr,onChange:Di=>br(Di)})),ue.createElement(En.Z,null,ue.createElement(xt.ZP,{size:"large",onClick:Et,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),an=Pe(41588),qt=Pe(8591);const fi="link",Mn="upload-image",On="add-flowchart",Hi="draw-image",Si="add-flowchart",sr="code-block",ro="add-table",Wo="------------",No={default:Wo,left:`:${Wo}`,center:`:${Wo}:`,right:`${Wo}:`};var Lr=Pe(58856);function Ko(){}let Oo=0;const So=1e4,Eo="\u2581",Tr="@\u2581\u2581@",Be="@\u2581@",ya=` +]}`;var co=["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 Kr(Vt){return console.log("shapeName:",Vt),co.indexOf(Vt)>=0}var sn=new mt.YI(yr.current,{maxSelectionCount:1,linkTemplate:Et(mt.rU,{locationSpot:mt.z6.Center,selectionAdornmentTemplate:Et(mt.uz,"Link",{locationSpot:mt.z6.Center},Et(mt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Et(mt.bn,{toArrow:"Standard",stroke:null}))},{routing:mt.rU.AvoidsNodes,curve:mt.rU.JumpOver,corner:5,toShortLength:4},new mt.KX("points"),Et(mt.bn,{isPanelMain:!0,strokeWidth:2}),Et(mt.bn,{toArrow:"Standard",stroke:null})),model:new mt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...mt.bn.getFigureGenerators().toArray().map(Vt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Vt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Rt.current.addDiagramListener("TextEdited",function(Vt){var hn;const Xt=Vt.subject.part;var Vn=(hn=document.activeElement)==null?void 0:hn.value;typeof Vn=="string"&&Vn.trim()===""&&Rt.current.model.commit(function(er){er.set(Xt.data,"text","\u672A\u547D\u540D"),Rt.current.commandHandler.stopCommand()},"increment")}),sn.nodeTemplate=Et(mt.NB,"Auto",{locationSpot:mt.z6.Center},new mt.KX("location","location",mt.E9.parse).makeTwoWay(mt.E9.stringify),Et(mt.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 mt.KX("stroke").makeTwoWay(),new mt.KX("fill").makeTwoWay(),new mt.KX("figure")),Et(mt.al,{margin:new mt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new mt.$u(16,16),maxSize:new mt.$u(10,NaN),textAlign:"center",editable:!0},new mt.KX("key").makeTwoWay())),setTimeout(()=>{Rt.current.grid=Et(mt.s_,"Grid",Et(mt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Et(mt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Rt.current.grid.visible=!0,Rt.current.grid.gridCellStroke="darkgray",Rt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Rt.current,Rt.current}const Br=()=>zt(this,null,function*(){var Et,Di=Rt.current.makeImage();const Cn=yield(0,Fn.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Di.src,file_data:JSON.stringify({login:(Et=(0,ni.eY)())==null?void 0:Et.login,data:JSON.parse(Rt.current.model.toJson())})}});_t({src:Cn.url})});return(0,ue.useEffect)(()=>(setTimeout(()=>{br()},500),Vr(ki+1),()=>{Rt.current=null}),[]),mn.createElement("div",{ref:Zn,className:Oi.current?`${ri.maxH60} body-overflow-initial`:"body-overflow-initial"},mn.createElement(xn.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!ki,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:mn.createElement(Dn.Z,null,mn.createElement(En.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),mn.createElement(En.Z,{onClick:()=>{var Et,Di,Cn=Rt.current.selection.first();if(Oi.current=!Oi.current,document.activeElement&&Cn){let Kn=(Di=(Et=document.activeElement)==null?void 0:Et.value)==null?void 0:Di.trim();typeof Kn=="string"&&Rt.current.model.commit(function(Lt){Lt.set(Cn.data,"text",Kn||"\u672A\u547D\u540D"),Rt.current.commandHandler.stopCommand()},"increment")}Vr(ki+1)}},mn.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:nn},mn.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:ri.flowChartWrp},mn.createElement("div",{style:{display:"flex",height:"100%"}},mn.createElement("div",{style:{width:"300px",height:"100%"}},mn.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),mn.createElement("div",{style:{height:"calc(100% - 50px)"},className:ri.myPaletteDiv,ref:yr})),mn.createElement("div",{style:{flex:1,position:"relative"}},mn.createElement("div",{ref:Li,style:{height:"80vh"}}))),mn.createElement("div",{className:"tr"},mn.createElement(xt.ZP,{size:"large",onClick:Br,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var At=$e,Yt=Pe(5112),Ie=Pe(5871);const Ce=Yt.ZP.Group,Ee={margin:"0 8px"};var Te=({callback:nn,onCancel:_t})=>{function Rt(Li){nn(Li)}return ue.createElement(ut.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Rt},ue.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ue.createElement("span",{style:Ee},"\u5355\u5143\u683C\u6570\uFF1A"),ue.createElement("span",{style:Ee},"\u884C\u6570"),ue.createElement(ut.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ue.createElement(Ie.Z,null)),ue.createElement("span",{style:Ee},"\u5217\u6570"),ue.createElement(ut.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ue.createElement(Ie.Z,null))),ue.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ue.createElement("span",{style:Ee},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ue.createElement(ut.default.Item,{name:"align"},ue.createElement(Ce,null,ue.createElement(Yt.ZP,{value:"default"},ue.createElement("i",{className:"fa fa-align-justify"})),ue.createElement(Yt.ZP,{value:"left"},ue.createElement("i",{className:"fa fa-align-left"})),ue.createElement(Yt.ZP,{value:"center"},ue.createElement("i",{className:"fa fa-align-center"})),ue.createElement(Yt.ZP,{value:"right"},ue.createElement("i",{className:"fa fa-align-right"}))))),ue.createElement("div",{className:"flex-container flex-end"},ue.createElement(xt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(xt.ZP,{type:"ghost",onClick:_t},"\u53D6\u6D88")))},Ue=Pe(78673),Le=Pe(80727),rt=Pe.n(Le),fn=(0,ue.forwardRef)(({use3d:nn,width:_t,height:Rt,callback:Li,showSaveButton:yr},Oi)=>{const Zn=(0,ue.useRef)(),ki=(0,ue.useRef)(),[Vr,br]=(0,ue.useState)(!1),Br=(0,ue.useRef)({id:Zn,appName:"graphing",width:_t||1e3,height:Rt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ue.useEffect)(()=>{ki.current=new(rt())(Br.current,!0),window.onload=function(){ki.current.inject("applet_container")}},[]);const Et=()=>{var Di=window.ggbApplet.getPNGBase64(1,!0,72);return Li&&Li(Di),Di};return(0,ue.useEffect)(()=>{Br.current.appName=Vr?"3D":"graphing",ki.current.inject("applet_container")},[Vr]),(0,ue.useEffect)(()=>{br(nn)},[nn]),(0,ue.useImperativeHandle)(Oi,()=>({getImgData:Et})),ue.createElement(ue.Fragment,null,ue.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Zn}),ue.createElement(Dn.Z,{align:"middle"},ue.createElement(En.Z,{flex:1},ue.createElement(Ue.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Vr,onChange:Di=>br(Di)})),ue.createElement(En.Z,null,ue.createElement(xt.ZP,{size:"large",onClick:Et,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),an=Pe(41588),$t=Pe(8591);const fi="link",Mn="upload-image",On="add-flowchart",Hi="draw-image",Si="add-flowchart",sr="code-block",ro="add-table",Wo="------------",No={default:Wo,left:`:${Wo}`,center:`:${Wo}:`,right:`${Wo}:`};var Lr=Pe(58856);function Ko(){}let Oo=0;const So=1e4,Eo="\u2581",Tr="@\u2581\u2581@",Be="@\u2581@",ya=` **\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`,to=["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 zn(tn){return/^\d+$/.test(tn)?`${tn}px`:tn}const Wi=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",mi={[Wi+"-B"]:"bold",[Wi+"-I"]:"italic"},Jn={[fi]:"\u6DFB\u52A0\u94FE\u63A5",[sr]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Mn]:"\u6DFB\u52A0\u56FE\u7247",[Hi]:"\u6DFB\u52A0\u753B\u56FE",[On]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[ro]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var nr=({defaultValue:tn="",onChange:_t,width:Rt="100%",height:Li=400,miniToolbar:yr=!1,isFocus:Oi=!1,watch:Zn,insertTemp:ki,mode:Vr="markdown",id:br="markdown-editor-id",showResizeBar:Br=!1,noStorage:Et=!1,showNullButton:Di=!1,showNullProgramButton:Cn=!1,hidetoolBar:Kn=!1,fullScreen:Lt=!1,onBlur:Ft,onCMBeforeChange:un,onFullScreen:Sr,className:Ii="",disablePaste:Ri=!1,disabled:si=!1,disabledFill:Ti=!1,placeholder:Jr="",values:Qr="",extraUse:Lo})=>{const[Nn,ja]=(0,ue.useState)(null),[co,Kr]=(0,ue.useState)(tn),[sn,Vt]=(0,ue.useState)(Zn),[hn,Xt]=(0,ue.useState)(Lt),[Vn,er]=(0,ue.useState)(""),[lr,ui]=(0,ue.useState)(0),[Ci,Yn]=(0,ue.useState)(Li),[ln,_r]=(0,ue.useState)(!1),[Rn,Ir]=(0,ue.useState)(0),[Or,fr]=(0,ue.useState)(0),Bo=(0,ue.useRef)(),Zr=(0,ue.useRef)(),Zi=(0,ue.useRef)(),xr=(0,ue.useRef)();(0,ue.useEffect)(()=>{const kr=window.scrollY||window.pageYOffset;Kr(Qr),Nn==null||Nn.setValue(Qr),window.scrollTo(0,kr)},[Qr]),(0,ue.useEffect)(()=>{Sr==null||Sr(hn)},[hn]),(0,ue.useEffect)(()=>{if(Bo.current){let kr=function(pi,ho){var Ba;if(Ri){ho.preventDefault();return}const Ws=ho.clipboardData;if(Ws){const Xa=Ws.types.toString(),ua=Ws.items;if(Xa==="Files"||Ws.types.indexOf("Files")>-1){if(ho.preventDefault(),Vr=="stex")return;try{let Ta=ua[1];((Ba=ua[0])==null?void 0:Ba.kind)==="file"&&(Ta=ua[0]);const Ls=Ta.getAsFile(),ll=Ls.name.split(".").pop();(0,rn.I)(Ls,on=>{var Va,nn,Ss;on.id?((Va=Ls==null?void 0:Ls.type)==null?void 0:Va.indexOf("image"))>-1?Rr.replaceSelection(``):((nn=Ls==null?void 0:Ls.type)==null?void 0:nn.indexOf("video"))>-1?Rr.replaceSelection(``):((Ss=Ls==null?void 0:Ls.type)==null?void 0:Ss.indexOf("pdf"))>-1?Rr.replaceSelection(`${Ls.name}`):to.includes(ll)?Rr.replaceSelection(`${Ls.name}`):Rr.replaceSelection(`[${Ls.name}](/api/attachments/${on.id}?type=${on.content_type})`):(on==null?void 0:on.status)===401&&(document.location.href="/user/login")})}catch(Ta){qt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Rr=Mt().fromTextArea(Bo.current,{mode:Vr,lineNumbers:!yr,lineWrapping:!0,value:tn,autoCloseTags:!0,autoCloseBrackets:!0});return Rr.on("keyup",function(pi,ho){ho.keyCode===8&&(pi.getValue()==""?Rr.setOption("placeholder",Jr):Rr.setOption("placeholder",null))}),Rr.on("keydown",function(pi,ho){if(ho.keyCode===8){var Ba=Bn(pi);Ba&&ho.preventDefault()}}),Oi&&Rr.focus(),Rr.on("paste",kr),si&&Rr.on("beforeChange",function(pi,ho){(ho.origin==="paste"||ho.origin==="+input")&&ho.cancel()}),ja(Rr),()=>{Rr.off("paste",kr)}}},[]);const oo=(0,ue.useCallback)(()=>{if(Zr.current)try{}catch(kr){console.log(kr,"---- to set md editor body height")}},[Ci,Zr,hn]);(0,ue.useEffect)(()=>{function kr(){let Rr=new kt.Z(pi=>{for(let ho of pi)(ho.target.offsetHeight>0||ho.target.offsetWidth>0)&&(oo(),Nn.setSize("100%","100%"),Nn.refresh())});return Rr.observe(Bo.current.parentElement),Rr}if(Nn){const Rr=kr();return()=>{var pi,ho;(pi=Bo.current)!=null&&pi.parentElement&&Rr.unobserve((ho=Bo.current)==null?void 0:ho.parentElement)}}},[Nn,oo]),(0,ue.useEffect)(()=>{if(Nn){let kr=[];for(const[Rr,pi]of Object.entries(mi)){let ho={[Rr]:()=>{gi(pi)}};kr.push(ho),Nn.addKeyMap(ho)}return()=>{for(let Rr of kr)Nn.removeKeyMap(Rr)}}},[Nn]),(0,ue.useEffect)(()=>{Lt!==hn&&Xt(Lt)},[Lt]),(0,Lr.Z)(()=>{if(!Et&&lr>0){let kr=new Date().getTime(),Rr=window.sessionStorage.getItem(br);kr>=lr+So&&(!Rr||Rr!==co)&&(window.sessionStorage.setItem(br,co),_r(!0))}},So),(0,ue.useEffect)(()=>{Vt(Zn)},[Nn,Zn]),(0,ue.useEffect)(()=>{Nn&&Oi&&Nn.focus()},[Nn,Oi]),(0,ue.useEffect)(()=>{if(sn&&Nn){let kr=function(pi){let ho=pi.target;if(xr.current){let Ba=ho.scrollTop/ho.scrollHeight;xr.current.scrollTop=xr.current.scrollHeight*Ba}};const Rr=Nn.getScrollerElement();return Rr.addEventListener("scroll",kr),()=>{Rr.removeEventListener("scroll",kr)}}},[Nn,sn]),(0,ue.useEffect)(()=>{if(Nn&&un){let kr=function(Rr,pi){un(Rr,pi)};return Nn.on("beforeChange",kr),()=>{Nn.off("beforeChange",kr)}}},[Nn,un]),(0,ue.useEffect)(()=>{if(Nn&&Ft){let kr=function(){Ft(Nn.getValue())};return Nn.on("blur",kr),()=>{Nn.off("blur",kr)}}},[Nn,Ft]);function Bn(kr,Rr){var pi=kr.getDoc(),ho=pi.getCursor(),Ba=pi.getLine(ho.line),Ws=Ba.charAt(ho.ch-1),Xa=Ba.lastIndexOf("@\u2581@",ho.ch),ua=Ba.lastIndexOf("@\u2581\u2581@",ho.ch),Ta=Xa>ua?Xa:ua,Ls=Xa>ua?3:4;if(Tr.indexOf(Ws)===-1)return null;if(console.log("change1:",Rr,kr,Ba,ho,Ta,Xa,ua,Ws),Ta>=0&&ho.ch-Ta<5){var ll=Ta+Ls;return pi.replaceRange("",{line:ho.line,ch:Ta},{line:ho.line,ch:ll}),{line:ho.line,ch:ll}}return null}(0,ue.useEffect)(()=>{if(Nn){let kr=function(Rr,pi){const ho=Rr.getValue();Kr(ho),ui(new Date().getTime()),Rr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),_t&&(Cn?_t(ho,ys(ho)):_t(ho))};return Nn.on("change",kr),()=>{Nn.off("change",kr)}}},[Nn,_t]),(0,ue.useEffect)(()=>{if(Nn)if(tn==null)Nn.setValue(""),Kr("");else{const kr=window.scrollY||window.pageYOffset;tn!==Nn.getValue()&&(Nn.setValue(tn),Kr(tn),Nn.setCursor(si?1:Nn.lineCount(),0),window.scrollTo(0,kr))}},[Nn,tn]);const gi=(0,ue.useCallback)(kr=>{const Rr=Nn.getCursor(),pi=Nn.getSelection();let ho=pi.split(` +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,to=["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 zn(nn){return/^\d+$/.test(nn)?`${nn}px`:nn}const Wi=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",mi={[Wi+"-B"]:"bold",[Wi+"-I"]:"italic"},Qn={[fi]:"\u6DFB\u52A0\u94FE\u63A5",[sr]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Mn]:"\u6DFB\u52A0\u56FE\u7247",[Hi]:"\u6DFB\u52A0\u753B\u56FE",[On]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[ro]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var nr=({defaultValue:nn="",onChange:_t,width:Rt="100%",height:Li=400,miniToolbar:yr=!1,isFocus:Oi=!1,watch:Zn,insertTemp:ki,mode:Vr="markdown",id:br="markdown-editor-id",showResizeBar:Br=!1,noStorage:Et=!1,showNullButton:Di=!1,showNullProgramButton:Cn=!1,hidetoolBar:Kn=!1,fullScreen:Lt=!1,onBlur:Ft,onCMBeforeChange:un,onFullScreen:Sr,className:Ii="",disablePaste:Ri=!1,disabled:si=!1,disabledFill:Ti=!1,placeholder:Jr="",values:Qr="",extraUse:Lo})=>{const[Nn,ja]=(0,ue.useState)(null),[co,Kr]=(0,ue.useState)(nn),[sn,Vt]=(0,ue.useState)(Zn),[hn,Xt]=(0,ue.useState)(Lt),[Vn,er]=(0,ue.useState)(""),[lr,ui]=(0,ue.useState)(0),[Ci,Yn]=(0,ue.useState)(Li),[ln,_r]=(0,ue.useState)(!1),[Rn,Ir]=(0,ue.useState)(0),[Or,fr]=(0,ue.useState)(0),Bo=(0,ue.useRef)(),Zr=(0,ue.useRef)(),Zi=(0,ue.useRef)(),xr=(0,ue.useRef)();(0,ue.useEffect)(()=>{const kr=window.scrollY||window.pageYOffset;Kr(Qr),Nn==null||Nn.setValue(Qr),window.scrollTo(0,kr)},[Qr]),(0,ue.useEffect)(()=>{Sr==null||Sr(hn)},[hn]),(0,ue.useEffect)(()=>{if(Bo.current){let kr=function(pi,ho){var Ba;if(Ri){ho.preventDefault();return}const Ws=ho.clipboardData;if(Ws){const Xa=Ws.types.toString(),ua=Ws.items;if(Xa==="Files"||Ws.types.indexOf("Files")>-1){if(ho.preventDefault(),Vr=="stex")return;try{let Ta=ua[1];((Ba=ua[0])==null?void 0:Ba.kind)==="file"&&(Ta=ua[0]);const Ls=Ta.getAsFile(),ll=Ls.name.split(".").pop();(0,on.I)(Ls,Qt=>{var Va,rn,Ss;Qt.id?((Va=Ls==null?void 0:Ls.type)==null?void 0:Va.indexOf("image"))>-1?Rr.replaceSelection(``):((rn=Ls==null?void 0:Ls.type)==null?void 0:rn.indexOf("video"))>-1?Rr.replaceSelection(``):((Ss=Ls==null?void 0:Ls.type)==null?void 0:Ss.indexOf("pdf"))>-1?Rr.replaceSelection(`${Ls.name}`):to.includes(ll)?Rr.replaceSelection(`${Ls.name}`):Rr.replaceSelection(`[${Ls.name}](/api/attachments/${Qt.id}?type=${Qt.content_type})`):(Qt==null?void 0:Qt.status)===401&&(document.location.href="/user/login")})}catch(Ta){$t.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Rr=Mt().fromTextArea(Bo.current,{mode:Vr,lineNumbers:!yr,lineWrapping:!0,value:nn,autoCloseTags:!0,autoCloseBrackets:!0});return Rr.on("keyup",function(pi,ho){ho.keyCode===8&&(pi.getValue()==""?Rr.setOption("placeholder",Jr):Rr.setOption("placeholder",null))}),Rr.on("keydown",function(pi,ho){if(ho.keyCode===8){var Ba=Bn(pi);Ba&&ho.preventDefault()}}),Oi&&Rr.focus(),Rr.on("paste",kr),si&&Rr.on("beforeChange",function(pi,ho){(ho.origin==="paste"||ho.origin==="+input")&&ho.cancel()}),ja(Rr),()=>{Rr.off("paste",kr)}}},[]);const oo=(0,ue.useCallback)(()=>{if(Zr.current)try{}catch(kr){console.log(kr,"---- to set md editor body height")}},[Ci,Zr,hn]);(0,ue.useEffect)(()=>{function kr(){let Rr=new kt.Z(pi=>{for(let ho of pi)(ho.target.offsetHeight>0||ho.target.offsetWidth>0)&&(oo(),Nn.setSize("100%","100%"),Nn.refresh())});return Rr.observe(Bo.current.parentElement),Rr}if(Nn){const Rr=kr();return()=>{var pi,ho;(pi=Bo.current)!=null&&pi.parentElement&&Rr.unobserve((ho=Bo.current)==null?void 0:ho.parentElement)}}},[Nn,oo]),(0,ue.useEffect)(()=>{if(Nn){let kr=[];for(const[Rr,pi]of Object.entries(mi)){let ho={[Rr]:()=>{gi(pi)}};kr.push(ho),Nn.addKeyMap(ho)}return()=>{for(let Rr of kr)Nn.removeKeyMap(Rr)}}},[Nn]),(0,ue.useEffect)(()=>{Lt!==hn&&Xt(Lt)},[Lt]),(0,Lr.Z)(()=>{if(!Et&&lr>0){let kr=new Date().getTime(),Rr=window.sessionStorage.getItem(br);kr>=lr+So&&(!Rr||Rr!==co)&&(window.sessionStorage.setItem(br,co),_r(!0))}},So),(0,ue.useEffect)(()=>{Vt(Zn)},[Nn,Zn]),(0,ue.useEffect)(()=>{Nn&&Oi&&Nn.focus()},[Nn,Oi]),(0,ue.useEffect)(()=>{if(sn&&Nn){let kr=function(pi){let ho=pi.target;if(xr.current){let Ba=ho.scrollTop/ho.scrollHeight;xr.current.scrollTop=xr.current.scrollHeight*Ba}};const Rr=Nn.getScrollerElement();return Rr.addEventListener("scroll",kr),()=>{Rr.removeEventListener("scroll",kr)}}},[Nn,sn]),(0,ue.useEffect)(()=>{if(Nn&&un){let kr=function(Rr,pi){un(Rr,pi)};return Nn.on("beforeChange",kr),()=>{Nn.off("beforeChange",kr)}}},[Nn,un]),(0,ue.useEffect)(()=>{if(Nn&&Ft){let kr=function(){Ft(Nn.getValue())};return Nn.on("blur",kr),()=>{Nn.off("blur",kr)}}},[Nn,Ft]);function Bn(kr,Rr){var pi=kr.getDoc(),ho=pi.getCursor(),Ba=pi.getLine(ho.line),Ws=Ba.charAt(ho.ch-1),Xa=Ba.lastIndexOf("@\u2581@",ho.ch),ua=Ba.lastIndexOf("@\u2581\u2581@",ho.ch),Ta=Xa>ua?Xa:ua,Ls=Xa>ua?3:4;if(Tr.indexOf(Ws)===-1)return null;if(console.log("change1:",Rr,kr,Ba,ho,Ta,Xa,ua,Ws),Ta>=0&&ho.ch-Ta<5){var ll=Ta+Ls;return pi.replaceRange("",{line:ho.line,ch:Ta},{line:ho.line,ch:ll}),{line:ho.line,ch:ll}}return null}(0,ue.useEffect)(()=>{if(Nn){let kr=function(Rr,pi){const ho=Rr.getValue();Kr(ho),ui(new Date().getTime()),Rr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),_t&&(Cn?_t(ho,ys(ho)):_t(ho))};return Nn.on("change",kr),()=>{Nn.off("change",kr)}}},[Nn,_t]),(0,ue.useEffect)(()=>{if(Nn)if(nn==null)Nn.setValue(""),Kr("");else{const kr=window.scrollY||window.pageYOffset;nn!==Nn.getValue()&&(Nn.setValue(nn),Kr(nn),Nn.setCursor(si?1:Nn.lineCount(),0),window.scrollTo(0,kr))}},[Nn,nn]);const gi=(0,ue.useCallback)(kr=>{const Rr=Nn.getCursor(),pi=Nn.getSelection();let ho=pi.split(` `);switch(kr){case"bold":return Nn.replaceSelection("**"+pi+"**"),pi===""&&Nn.setCursor(Rr.line,Rr.ch+2),Nn.focus();case"italic":return Nn.replaceSelection("*"+pi+"*"),pi===""&&Nn.setCursor(Rr.line,Rr.ch+1),Nn.focus();case"code":return Nn.replaceSelection("`"+pi+"`"),pi===""&&Nn.setCursor(Rr.line,Rr.ch+1),Nn.focus();case"inline-latex":return er("inline-latex"),Nn.focus();case"latex":return Nn.replaceSelection("```latex\n"+pi+"\n```"),Nn.setCursor(Rr.line+1,pi.length+1),Nn.focus();case"line-break":return Nn.replaceSelection(`
`),Nn.focus();case"list-ul":return pi===""?Nn.replaceSelection("- "+pi):Nn.replaceSelection(ho.map(Ba=>Ba===""?"":`- ${Ba}`).join(` `)),Nn.focus();case"list-ol":return pi===""?Nn.replaceSelection("1. "+pi):Nn.replaceSelection(ho.map((Ba,Ws)=>Ba===""?"":`${Ws+1}. ${Ba}`).join(` -`)),Nn.focus();case"add-null-ch":return pi===""&&Nn.setCursor(Rr.line,Rr.ch),Nn.replaceSelection(Eo),Nn.focus();case"add-signal":return pi===""&&Nn.setCursor(Rr.line,Rr.ch),Nn.replaceSelection(Be),Nn.focus();case"add-multiple":return pi===""&&Nn.setCursor(Rr.line,Rr.ch),Nn.replaceSelection(Tr),Nn.focus();case"inster-template-1":return pi===""&&Nn.setCursor(Rr.line,Rr.ch),Nn.replaceSelection(ya),Nn.focus();case"eraser":return Nn.setValue(""),Nn.focus();case"trigger-watch":return Vt(!sn),Nn.focus();case"trigger-full-screen":return Xt(!hn),Nn.focus();case fi:er(fi);return;case sr:er(sr);return;case Mn:er(Mn);return;case Hi:er(Hi);return;case"maths-latex":er("maths-latex");return;case On:er(On);return;case ro:er(ro);return;default:throw new Error}},[Nn,sn,hn]),Ze=(0,ue.useCallback)((kr,Rr)=>{var pi,ho,Ba,Ws,Xa,ua;switch(er(""),Vn){case fi:const{title:Va,link:nn}=kr;return Nn.replaceSelection(`[${Va}](${nn})`),Nn.focus();case sr:const{language:Ss,content:yu}=kr;return Nn.replaceSelection(["```"+Ss,yu,"```"].join(` -`)),Nn.focus();case"maths-latex":for(var Ta=atob(kr),Ls=new Uint8Array(Ta.length),ll=0;ll{du.id?Nn.replaceSelection(`![,](/api/attachments/${du.id}?type=${du.content_type})`):(du==null?void 0:du.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Nn.replaceSelection("`$$"+kr+"$$`");break;case Mn:case Hi:case Si:const{src:fl,alt:Vl}=kr,is=Rr,kl=(Ba=(ho=(pi=is==null?void 0:is.name)==null?void 0:pi.split("."))==null?void 0:ho.pop)==null?void 0:Ba.call(ho);return((Ws=is==null?void 0:is.type)==null?void 0:Ws.indexOf("image"))>-1||!(is!=null&&is.type)?is!=null&&is.align||is!=null&&is.width?Nn.replaceSelection(`

${Vl||

`):Nn.replaceSelection(`${Vl||`):((Xa=is==null?void 0:is.type)==null?void 0:Xa.indexOf("video"))>-1?Nn.replaceSelection(``):((ua=is==null?void 0:is.type)==null?void 0:ua.indexOf("pdf"))>-1?Nn.replaceSelection(`${is.name}`):to.includes(kl)?Nn.replaceSelection(`${is.name}`):Nn.replaceSelection(`[${is.name}](${fl})`),Nn.focus();case ro:const{row:Nl,col:ga,align:gl}=kr;let Vc=` +`)),Nn.focus();case"add-null-ch":return pi===""&&Nn.setCursor(Rr.line,Rr.ch),Nn.replaceSelection(Eo),Nn.focus();case"add-signal":return pi===""&&Nn.setCursor(Rr.line,Rr.ch),Nn.replaceSelection(Be),Nn.focus();case"add-multiple":return pi===""&&Nn.setCursor(Rr.line,Rr.ch),Nn.replaceSelection(Tr),Nn.focus();case"inster-template-1":return pi===""&&Nn.setCursor(Rr.line,Rr.ch),Nn.replaceSelection(ya),Nn.focus();case"eraser":return Nn.setValue(""),Nn.focus();case"trigger-watch":return Vt(!sn),Nn.focus();case"trigger-full-screen":return Xt(!hn),Nn.focus();case fi:er(fi);return;case sr:er(sr);return;case Mn:er(Mn);return;case Hi:er(Hi);return;case"maths-latex":er("maths-latex");return;case On:er(On);return;case ro:er(ro);return;default:throw new Error}},[Nn,sn,hn]),Ze=(0,ue.useCallback)((kr,Rr)=>{var pi,ho,Ba,Ws,Xa,ua;switch(er(""),Vn){case fi:const{title:Va,link:rn}=kr;return Nn.replaceSelection(`[${Va}](${rn})`),Nn.focus();case sr:const{language:Ss,content:yu}=kr;return Nn.replaceSelection(["```"+Ss,yu,"```"].join(` +`)),Nn.focus();case"maths-latex":for(var Ta=atob(kr),Ls=new Uint8Array(Ta.length),ll=0;ll{du.id?Nn.replaceSelection(`![,](/api/attachments/${du.id}?type=${du.content_type})`):(du==null?void 0:du.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Nn.replaceSelection("`$$"+kr+"$$`");break;case Mn:case Hi:case Si:const{src:fl,alt:Vl}=kr,is=Rr,kl=(Ba=(ho=(pi=is==null?void 0:is.name)==null?void 0:pi.split("."))==null?void 0:ho.pop)==null?void 0:Ba.call(ho);return((Ws=is==null?void 0:is.type)==null?void 0:Ws.indexOf("image"))>-1||!(is!=null&&is.type)?is!=null&&is.align||is!=null&&is.width?Nn.replaceSelection(`

${Vl||

`):Nn.replaceSelection(`${Vl||`):((Xa=is==null?void 0:is.type)==null?void 0:Xa.indexOf("video"))>-1?Nn.replaceSelection(``):((ua=is==null?void 0:is.type)==null?void 0:ua.indexOf("pdf"))>-1?Nn.replaceSelection(`${is.name}`):to.includes(kl)?Nn.replaceSelection(`${is.name}`):Nn.replaceSelection(`[${is.name}](${fl})`),Nn.focus();case ro:const{row:Nl,col:ga,align:gl}=kr;let Vc=` `;for(let du=0;du{switch(Vn){case fi:return ue.createElement(Xn,{callback:Ze,onCancel:no});case sr:return ue.createElement(ei.Z,{callback:Ze,onCancel:no});case Mn:return ue.createElement(rn.Z,{callback:Ze,onCancel:no});case On:return ue.createElement(At,{callback:Ze,onCancel:no});case ro:return ue.createElement(Te,{callback:Ze,onCancel:no});case"maths-latex":return ue.createElement(fn,{showSaveButton:!0,callback:Ze});case"inline-latex":return ue.createElement(an.Z,{showSaveButton:!0,callback:Ze});default:return null}},[Vn]);function no(){er("")}(0,ue.useEffect)(()=>{if(Zi.current){let kr=function(Xa){Ba=!0,Ws=Xa.pageY},Rr=function(){Ba=!1},pi=function(Xa){if(Ba){let ua=Xa.pageY-Ws;ua<0&&(ua=0),ua>300&&(ua=300);let Ta=Li+ua+"px";Yn(Ta)}},ho=Zi.current,Ba=!1,Ws=0;return ho.addEventListener("mousedown",kr),document.addEventListener("mousemove",pi),document.addEventListener("mouseup",Rr),()=>{ho.removeEventListener("mousedown",kr),document.removeEventListener("mousemove",pi),document.removeEventListener("mouseup",Rr)}}},[Nn,Zi]),(0,ue.useEffect)(()=>{Yn(Li)},[Li]);const rr=zn(Rt),qi=zn(Ci),Qi={width:rr,height:qi},aa=(0,ue.useMemo)(()=>{if(lr){let kr=new Date(lr),Rr=kr.getHours(),pi=kr.getMinutes(),ho=kr.getSeconds();return Rr=Rr<10?"0"+Rr:Rr,pi=pi<10?"0"+pi:pi,ho=ho<10?"0"+ho:ho,`${Rr}:${pi}:${ho}`}return 0},[lr]),ys=kr=>{const Rr=[];if(Cn){let pi=-1;kr=kr.replace(/(@▁▁@|@▁@)/g,function(ho,Ba,Ws){Rr.push({multiLine:ho!==Be})})}return Rr};function bs(){window.sessionStorage.removeItem(br),_r(!1),ui(0)}function _o(){_r(!1),ui(0),Nn.setValue(window.sessionStorage.getItem(br))}(0,ue.useEffect)(()=>{Jn[Vn]&&Vn!==Hi&&Vn!==On&&setTimeout(()=>{const kr=document.getElementsByClassName("markdown-popup-form")[0],Rr=window.innerWidth/2-kr.offsetWidth/2,pi=window.innerHeight/2-kr.offsetHeight/2;Ir(Rr),fr(pi)},0)},[Vn]);const Ea=kr=>{kr.preventDefault();const Rr=kr.clientX-Rn,pi=kr.clientY-Or;document.body.onmousemove=ho=>{let Ba=ho.clientX-Rr,Ws=ho.clientY-pi;const Xa=document.getElementsByClassName("markdown-popup-form")[0],ua=window.innerWidth-Xa.offsetWidth,Ta=window.innerHeight-Xa.offsetHeight;Ba=Math.max(0,Math.min(Ba,ua)),Ws=Math.max(0,Math.min(Ws,Ta)),za(ho.clientX,ho.clientY,Rr,pi)&&(Ir(Ba),fr(Ws))},document.body.onmouseup=function(){document.body.onmousemove=null}},za=(kr,Rr,pi,ho)=>{const Ba=document.body.clientHeight,Ws=document.body.clientWidth;return kr<20&&pi>kr||kr>Ws-20&&piRr||Rr>Ba-20&&hout in yt?St(yt,ut,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):yt[ut]=Tt,le=(yt,ut)=>{for(var Tt in ut||(ut={}))te.call(ut,Tt)&&de(yt,Tt,ut[Tt]);if(Oe)for(var Tt of Oe(ut))ne.call(ut,Tt)&&de(yt,Tt,ut[Tt]);return yt},pe=(yt,ut)=>Ut(yt,Zt(ut));const{useForm:xe}=ue.default,Ae={width:280,marginRight:10},Me={labelCol:{span:5},wrapperCol:{span:19}};var ke=({callback:yt,onCancel:ut})=>{const[Tt]=xe();let xt=(0,wt.useRef)();function Nt(Ai){xt.current.width=Tt.getFieldValue("width"),xt.current.align=Tt.getFieldValue("align"),yt(Ai,xt.current)}function Jt(Ai,hi){if(Ai.status===-1){it.ZP.error(Ai.message);return}Tt.setFieldsValue({src:`/api/attachments/${Ai.id}`,type:hi.type})}function vn(Ai){let hi=Ai.target.files[0];xt.current=hi,dt(hi,Jt)}return pt.createElement(ue.default,pe(le({form:Tt},Me),{className:"upload-image-panel",onFinish:Nt,style:{width:470,overflow:"hidden"}}),pt.createElement(ue.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},pt.createElement("div",{className:"flex-container"},pt.createElement(ue.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},pt.createElement(Mt.default,{style:Ae})),pt.createElement(lt,{onFileChange:vn}))),pt.createElement(ue.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},pt.createElement(Mt.default,{style:{width:264}})),pt.createElement(ue.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},pt.createElement(kt.Z,null,pt.createElement(ue.default.Item,{name:"width",style:{margin:0}},pt.createElement(Dt.Z,{style:{width:264}})),pt.createElement("span",{className:"ml8"},"%"))),pt.createElement(ue.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},pt.createElement(Wt.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),pt.createElement("aside",null,pt.createElement(ue.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},pt.createElement(Ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pt.createElement(Ve.ZP,{type:"default",onClick:ut},"\u53D6\u6D88"))))};function lt({onFileChange:yt}){return pt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",pt.createElement("input",{type:"file",onChange:yt}))}function dt(yt,ut){if(!yt)throw new String("\u6CA1\u6709\u6587\u4EF6");let Tt=new FormData;Tt.append("editormd-image-file",yt),Tt.append("file_param_name","editormd-image-file"),Tt.append("byxhr","true");var xt=new window.XMLHttpRequest;xt.withCredentials=!0,xt.addEventListener("load",function(Nt){ut(JSON.parse(Nt.target.responseText),yt)},!1),xt.addEventListener("error",function(Nt){console.error(Nt)},!1),xt.open("POST",`${bt.KI}/api/attachments.json`),xt.send(Tt)}},79346:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Mt}});var ue=Pe(59301),it=Pe(4676);class Mt extends ue.Component{constructor(Dt){super(Dt);const Wt=window.document;this.node=Wt.createElement("div"),Wt.body.appendChild(this.node)}render(){const{children:Dt}=this.props;return(0,it.createPortal)(Dt,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},23954:function(en,jn,Pe){"use strict";Pe.d(jn,{SV:function(){return zt},ZP:function(){return mn}});var ue=Pe(59301),it=Pe(76374);const Mt={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},kt={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` +`),Nn.focus();default:throw new Error}},[Nn,Vn]),Io=(0,ue.useMemo)(()=>{switch(Vn){case fi:return ue.createElement(Xn,{callback:Ze,onCancel:no});case sr:return ue.createElement(ei.Z,{callback:Ze,onCancel:no});case Mn:return ue.createElement(on.Z,{callback:Ze,onCancel:no});case On:return ue.createElement(At,{callback:Ze,onCancel:no});case ro:return ue.createElement(Te,{callback:Ze,onCancel:no});case"maths-latex":return ue.createElement(fn,{showSaveButton:!0,callback:Ze});case"inline-latex":return ue.createElement(an.Z,{showSaveButton:!0,callback:Ze});default:return null}},[Vn]);function no(){er("")}(0,ue.useEffect)(()=>{if(Zi.current){let kr=function(Xa){Ba=!0,Ws=Xa.pageY},Rr=function(){Ba=!1},pi=function(Xa){if(Ba){let ua=Xa.pageY-Ws;ua<0&&(ua=0),ua>300&&(ua=300);let Ta=Li+ua+"px";Yn(Ta)}},ho=Zi.current,Ba=!1,Ws=0;return ho.addEventListener("mousedown",kr),document.addEventListener("mousemove",pi),document.addEventListener("mouseup",Rr),()=>{ho.removeEventListener("mousedown",kr),document.removeEventListener("mousemove",pi),document.removeEventListener("mouseup",Rr)}}},[Nn,Zi]),(0,ue.useEffect)(()=>{Yn(Li)},[Li]);const rr=zn(Rt),qi=zn(Ci),Xi={width:rr,height:qi},aa=(0,ue.useMemo)(()=>{if(lr){let kr=new Date(lr),Rr=kr.getHours(),pi=kr.getMinutes(),ho=kr.getSeconds();return Rr=Rr<10?"0"+Rr:Rr,pi=pi<10?"0"+pi:pi,ho=ho<10?"0"+ho:ho,`${Rr}:${pi}:${ho}`}return 0},[lr]),ys=kr=>{const Rr=[];if(Cn){let pi=-1;kr=kr.replace(/(@▁▁@|@▁@)/g,function(ho,Ba,Ws){Rr.push({multiLine:ho!==Be})})}return Rr};function bs(){window.sessionStorage.removeItem(br),_r(!1),ui(0)}function _o(){_r(!1),ui(0),Nn.setValue(window.sessionStorage.getItem(br))}(0,ue.useEffect)(()=>{Qn[Vn]&&Vn!==Hi&&Vn!==On&&setTimeout(()=>{const kr=document.getElementsByClassName("markdown-popup-form")[0],Rr=window.innerWidth/2-kr.offsetWidth/2,pi=window.innerHeight/2-kr.offsetHeight/2;Ir(Rr),fr(pi)},0)},[Vn]);const Ea=kr=>{kr.preventDefault();const Rr=kr.clientX-Rn,pi=kr.clientY-Or;document.body.onmousemove=ho=>{let Ba=ho.clientX-Rr,Ws=ho.clientY-pi;const Xa=document.getElementsByClassName("markdown-popup-form")[0],ua=window.innerWidth-Xa.offsetWidth,Ta=window.innerHeight-Xa.offsetHeight;Ba=Math.max(0,Math.min(Ba,ua)),Ws=Math.max(0,Math.min(Ws,Ta)),za(ho.clientX,ho.clientY,Rr,pi)&&(Ir(Ba),fr(Ws))},document.body.onmouseup=function(){document.body.onmousemove=null}},za=(kr,Rr,pi,ho)=>{const Ba=document.body.clientHeight,Ws=document.body.clientWidth;return kr<20&&pi>kr||kr>Ws-20&&piRr||Rr>Ba-20&&hout in yt?St(yt,ut,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):yt[ut]=Ot,le=(yt,ut)=>{for(var Ot in ut||(ut={}))te.call(ut,Ot)&&de(yt,Ot,ut[Ot]);if(Oe)for(var Ot of Oe(ut))ne.call(ut,Ot)&&de(yt,Ot,ut[Ot]);return yt},pe=(yt,ut)=>Ut(yt,Zt(ut));const{useForm:xe}=ue.default,Ae={width:280,marginRight:10},Me={labelCol:{span:5},wrapperCol:{span:19}};var ke=({callback:yt,onCancel:ut})=>{const[Ot]=xe();let xt=(0,wt.useRef)();function Nt(Ai){xt.current.width=Ot.getFieldValue("width"),xt.current.align=Ot.getFieldValue("align"),yt(Ai,xt.current)}function Jt(Ai,hi){if(Ai.status===-1){it.ZP.error(Ai.message);return}Ot.setFieldsValue({src:`/api/attachments/${Ai.id}`,type:hi.type})}function vn(Ai){let hi=Ai.target.files[0];xt.current=hi,dt(hi,Jt)}return pt.createElement(ue.default,pe(le({form:Ot},Me),{className:"upload-image-panel",onFinish:Nt,style:{width:470,overflow:"hidden"}}),pt.createElement(ue.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},pt.createElement("div",{className:"flex-container"},pt.createElement(ue.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},pt.createElement(Mt.default,{style:Ae})),pt.createElement(lt,{onFileChange:vn}))),pt.createElement(ue.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},pt.createElement(Mt.default,{style:{width:264}})),pt.createElement(ue.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},pt.createElement(kt.Z,null,pt.createElement(ue.default.Item,{name:"width",style:{margin:0}},pt.createElement(Dt.Z,{style:{width:264}})),pt.createElement("span",{className:"ml8"},"%"))),pt.createElement(ue.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},pt.createElement(Wt.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),pt.createElement("aside",null,pt.createElement(ue.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},pt.createElement(Ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pt.createElement(Ve.ZP,{type:"default",onClick:ut},"\u53D6\u6D88"))))};function lt({onFileChange:yt}){return pt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",pt.createElement("input",{type:"file",onChange:yt}))}function dt(yt,ut){if(!yt)throw new String("\u6CA1\u6709\u6587\u4EF6");let Ot=new FormData;Ot.append("editormd-image-file",yt),Ot.append("file_param_name","editormd-image-file"),Ot.append("byxhr","true");var xt=new window.XMLHttpRequest;xt.withCredentials=!0,xt.addEventListener("load",function(Nt){ut(JSON.parse(Nt.target.responseText),yt)},!1),xt.addEventListener("error",function(Nt){console.error(Nt)},!1),xt.open("POST",`${bt.KI}/api/attachments.json`),xt.send(Ot)}},79346:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Mt}});var ue=Pe(59301),it=Pe(4676);class Mt extends ue.Component{constructor(Dt){super(Dt);const Wt=window.document;this.node=Wt.createElement("div"),Wt.body.appendChild(this.node)}render(){const{children:Dt}=this.props;return(0,it.createPortal)(Dt,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},23954:function(tn,jn,Pe){"use strict";Pe.d(jn,{SV:function(){return zt},ZP:function(){return mn}});var ue=Pe(59301),it=Pe(76374);const Mt={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},kt={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},Dt={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` @@ -1079,32 +1079,32 @@ `)},{label:"include ",content:["#include "].join(` `)}]},Wt={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},Ve={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` -`)}]};var bt=Pe(53184),wt=Pe.n(bt),pt=Object.defineProperty,St=Object.defineProperties,Ut=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=($e,At,Yt)=>At in $e?pt($e,At,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):$e[At]=Yt,de=($e,At)=>{for(var Yt in At||(At={}))Oe.call(At,Yt)&&ne($e,Yt,At[Yt]);if(Zt)for(var Yt of Zt(At))te.call(At,Yt)&&ne($e,Yt,At[Yt]);return $e},le=($e,At)=>St($e,Ut(At)),pe=($e,At,Yt)=>new Promise((Ie,Ce)=>{var Ee=Le=>{try{Ue(Yt.next(Le))}catch(rt){Ce(rt)}},Te=Le=>{try{Ue(Yt.throw(Le))}catch(rt){Ce(rt)}},Ue=Le=>Le.done?Ie(Le.value):Promise.resolve(Le.value).then(Ee,Te);Ue((Yt=Yt.apply($e,At)).next())});const xe={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},Ae=($e,At)=>At.map(Yt=>({label:Yt,kind:$e.languages.CompletionItemKind.Keyword,insertText:Yt})),Me=$e=>Object.keys(xe.tables).map(At=>({label:At,kind:$e.languages.CompletionItemKind.Variable,insertText:At})),ke=($e,At)=>{const Yt=xe.tables[$e];return Yt?Yt.map(Ie=>({label:Ie,kind:At.languages.CompletionItemKind.Field,insertText:Ie})):[]};function lt($e,At,Yt,Ie,Ce){let Ee=At.getWordUntilPosition(Yt),Te={startLineNumber:Yt.lineNumber,endLineNumber:Yt.lineNumber,startColumn:Ee.startColumn,endColumn:Ee.endColumn},Ue=Ie.map(Le=>({label:Le,kind:$e.languages.CompletionItemKind.Keyword,insertText:Le,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Te}));return Ce.map(Le=>{Ue.push(le(de({},Le),{range:Te}))}),Ue}var dt=$e=>{xe.languages.map(Ce=>($e.languages.registerDocumentFormattingEditProvider(Ce,{provideDocumentFormattingEdits(Ee,Te,Ue){return pe(this,null,function*(){const Le=wt()(Ee.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:Ee.getFullModelRange(),text:Le}]})}}),Ce));const At=Dt.quickKey.map(Ce=>({label:Ce.label,kind:$e.languages.CompletionItemKind.Method,insertText:Ce.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Yt=Wt.quickKey.map(Ce=>({label:Ce.label,kind:$e.languages.CompletionItemKind.Method,insertText:Ce.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Ie=kt.quickKey.map(Ce=>({label:Ce.label,kind:$e.languages.CompletionItemKind.Method,insertText:Ce.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet}));$e.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(Ce,Ee){var Te=Ce.getWordUntilPosition(Ee),Ue={startLineNumber:Ee.lineNumber,endLineNumber:Ee.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},Le=Ce.getLineContent(Ee.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...Dt.keywords.map(rt=>({label:rt,kind:$e.languages.CompletionItemKind.Function,documentation:rt,insertText:rt,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue})),...Dt.quickKey.map(rt=>({label:rt.label,kind:$e.languages.CompletionItemKind.Function,documentation:rt.content,insertText:Le.startsWith("#")?rt.content.replace(/#/,""):rt.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue}))]}}}),$e.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Ce,Ee){var Te=Ce.getWordUntilPosition(Ee),Ue={startLineNumber:Ee.lineNumber,endLineNumber:Ee.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn};return{suggestions:[...Mt.keywords.map(Le=>({label:Le,kind:$e.languages.CompletionItemKind.Function,documentation:Le,insertText:Le,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue}))]}}}),$e.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Ce,Ee){var Te=Ce.getWordUntilPosition(Ee),Ue={startLineNumber:Ee.lineNumber,endLineNumber:Ee.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},Le=Ce.getLineContent(Ee.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...kt.keywords.map(rt=>({label:rt,kind:$e.languages.CompletionItemKind.Function,documentation:rt,insertText:rt,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue})),...kt.quickKey.map(rt=>({label:rt.label,kind:$e.languages.CompletionItemKind.Function,documentation:rt.content,insertText:Le.startsWith("#")?rt.content.replace(/#/,""):rt.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue}))]}}}),$e.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Ce,Ee){var Te=Ce.getWordUntilPosition(Ee),Ue={startLineNumber:Ee.lineNumber,endLineNumber:Ee.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},Le=Ce.getLineContent(Ee.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...Ve.keywords.map(rt=>({label:rt,kind:$e.languages.CompletionItemKind.Function,documentation:rt,insertText:rt,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue})),...Ve.quickKey.map(rt=>({label:rt.label,kind:$e.languages.CompletionItemKind.Function,documentation:rt.content,insertText:Le.startsWith("#")?rt.content.replace(/#/,""):rt.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue}))]}}}),$e.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Ce,Ee){var Te=Ce.getWordUntilPosition(Ee),Ue={startLineNumber:Ee.lineNumber,endLineNumber:Ee.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},Le=Ce.getLineContent(Ee.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...Wt.keywords.map(rt=>({label:rt,kind:$e.languages.CompletionItemKind.Function,documentation:rt,insertText:rt,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue})),...Wt.quickKey.map(rt=>({label:rt.label,kind:$e.languages.CompletionItemKind.Function,documentation:rt.content,insertText:Le.startsWith("#")?rt.content.replace(/#/,""):rt.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue}))]}}})};const yt="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ut=Object.defineProperty,Tt=($e,At,Yt)=>At in $e?ut($e,At,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):$e[At]=Yt,xt=($e,At,Yt)=>Tt($e,typeof At!="symbol"?At+"":At,Yt);const Nt=class bx{constructor(At,Yt,Ie){this.placeholder=At,this.editor=Yt,this.monaco=Ie,Yt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return bx.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};xt(Nt,"ID","editor.widget.placeholderHint");var vn=Nt,Ai=Pe(96236),hi=Pe(8591),kn=Pe(6848),ci=Pe(89392),et=Pe(34604),ze=Pe(56102),yn=Object.defineProperty,Xn=Object.defineProperties,ei=Object.getOwnPropertyDescriptors,rn=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,Dn=Object.prototype.propertyIsEnumerable,yi=($e,At,Yt)=>At in $e?yn($e,At,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):$e[At]=Yt,qn=($e,At)=>{for(var Yt in At||(At={}))xn.call(At,Yt)&&yi($e,Yt,At[Yt]);if(rn)for(var Yt of rn(At))Dn.call(At,Yt)&&yi($e,Yt,At[Yt]);return $e},Mi=($e,At)=>Xn($e,ei(At)),mt=($e,At)=>{var Yt={};for(var Ie in $e)xn.call($e,Ie)&&At.indexOf(Ie)<0&&(Yt[Ie]=$e[Ie]);if($e!=null&&rn)for(var Ie of rn($e))At.indexOf(Ie)<0&&Dn.call($e,Ie)&&(Yt[Ie]=$e[Ie]);return Yt},ht=($e,At,Yt)=>new Promise((Ie,Ce)=>{var Ee=Le=>{try{Ue(Yt.next(Le))}catch(rt){Ce(rt)}},Te=Le=>{try{Ue(Yt.throw(Le))}catch(rt){Ce(rt)}},Ue=Le=>Le.done?Ie(Le.value):Promise.resolve(Le.value).then(Ee,Te);Ue((Yt=Yt.apply($e,At)).next())});function gn($e){return/^\d+$/.test($e)?`${$e}px`:$e}function jt(){}let En=!1;const Fn={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function ii($e=[]){let At=$e;if(Array.isArray($e)){for(let Yt=0;Yt<$e.length;Yt++){let Ie=Fn[$e[Yt]];if(Ie)return Ie}return At[0]}return Fn[At]||At}let ni=null;var mn=$e=>{var At=$e,{width:Yt="100%",height:Ie="100%",value:Ce,language:Ee="javascript",style:Te={},options:Ue={},overrideServices:Le={},theme:rt="vs-dark",onEditBlur:Sn,isCopy:fn=!1,onSave:an,autoHeight:qt=!1,forbidCopy:fi=!1,onChange:Mn=jt,editorDidMount:On=jt,onFocus:Hi=jt,onBreakPoint:Si=jt,breakPointValue:sr=[],filename:ro="educoder.txt",errorLine:Wo,errorContent:No="",highlightLine:Lr,openBreakPoint:Ko=!1,placeholder:Oo=""}=At,So=mt(At,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Eo=(0,ue.useRef)(),Tr=(0,ue.useRef)({}),Be=(0,ue.useRef)(),ya=(0,ue.useRef)(),to=(0,ue.useRef)([]),zn=(0,ue.useRef)(!1),Vi=(0,ue.useRef)(),Wi=(0,ue.useRef)(),mi=(0,ue.useRef)(!1),[Jn,nr]=(0,ue.useState)(!1);function tn(){let Lt;return Eo.current&&(Lt=new it.Z(Ft=>{for(let un of Ft)(un.target.offsetHeight>0||un.target.offsetWidth>0)&&Tr.current.instance.layout()}),Lt.observe(Eo.current)),Lt}function _t(){hi.ZP.warning({content:decodeURIComponent(yt),key:"monaco-editor-tip"})}const Rt=()=>{let Lt=Tr.current.instance;if(Ce!=null&&Lt&&Jn){const Ft=Lt.getModel();Ft&&Ce!==Ft.getValue()&&(En=!0,Ft.setValue(Ce),Lt.layout(),En=!1)}};(0,ue.useEffect)(()=>{const Lt=et.Z.subscribe("formatDocument",Ft=>{var un;let Sr=Tr.current.instance;(un=Sr==null?void 0:Sr.getAction)==null||un.call(Sr,"editor.action.formatDocument").run()});return window.updateMonacoValue=Ft=>{Mn(Ft)},Lt},[]),(0,ue.useEffect)(()=>{var Lt;let Ft=Tr.current.instance;ya.current&&clearTimeout(ya.current),ya.current=setTimeout(()=>{Rt()},500),Ce&&(Ce!=null&&Ce.length)&&((Lt=Ft==null?void 0:Ft.updateOptions)==null||Lt.call(Ft,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Ce.split(/\r\n|\r|\n/g).length))+3,5)}))},[Ce,Jn,Tr.current]),(0,ue.useEffect)(()=>{if(Wo&&Tr.current&&Tr.current.instance){let Ft=Tr.current.instance;Ft.changeViewZones(function(un){var Sr=document.createElement("div");Sr.style.padding="10px 20px",Sr.style.width="calc(100% - 20px)",Sr.className="my-error-line-wrp",Sr.innerHTML=No,un.addZone({afterLineNumber:Wo||11,heightInLines:3,domNode:Sr})});var Lt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Ft.addOverlayWidget(Lt),Ft.revealPositionInCenter({lineNumber:20,column:1})}},[Wo,Tr.current,Jn]);const Li=(Lt="",Ft)=>{if(!Lt||Lt.trim()==="")return!0;const Sr=Tr.current.instance.getModel().getLineTokens(Ft);let Ii=!1;for(let Ri=0;Ri<2;Ri++)Sr.getStandardTokenType(Ri)===1&&(Ii=!0);return Ii};(0,ue.useEffect)(()=>{var Lt;const Ft=(Lt=Tr.current)==null?void 0:Lt.instance;if(Ft&&Jn&&fi){const un=Ft.onDidBlurEditorWidget(()=>{mi.current=!1}),Sr=Ft.onDidFocusEditorText(()=>{mi.current=!0});return()=>{un.dispose(),Sr.dispose()}}},[Tr.current,Jn,fi]),(0,ue.useEffect)(()=>{var Lt;if((Lt=Tr.current)!=null&&Lt.instance&&Jn&&Ko){let Ft=Tr.current.instance,un=Ft.getModel();if(!un)return;(()=>{var Kr;let sn=[],Vt=[];const hn=un.getAllDecorations();for(let Vn of hn)Vn.options.className==="highlighted-line"&&(sn.push((Kr=Vn==null?void 0:Vn.range)==null?void 0:Kr.startLineNumber),Vt.push(Vn==null?void 0:Vn.id));if(Lr===sn[0])return;un.deltaDecorations(Vt,[]);const Xt=un.getLineCount();Lr&&Lr<=Xt&&(Ft.deltaDecorations([],[{range:new ni.Range(Lr,1,Lr,un.getLineMaxColumn(Lr)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Ft.revealLineInCenter(Lr))})();const Ii=(Kr=!1)=>{var sn;let Vt=[],hn=[];const Xt=un.getAllDecorations();for(let Vn of Xt)Vn.options.linesDecorationsClassName==="breakpoints-select"&&(Vt.push((sn=Vn==null?void 0:Vn.range)==null?void 0:sn.startLineNumber),hn.push(Vn==null?void 0:Vn.id));if(Kr)return{lines:Vt,ids:hn};Si(Vt)},Ri=Kr=>ht(void 0,null,function*(){let sn={range:new ni.Range(Kr,1,Kr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield un.deltaDecorations([],[sn]),Ii()}),si=Kr=>ht(void 0,null,function*(){let sn=[];const Vt=Ft.getLineDecorations(Kr);for(let hn of Vt)hn.options.linesDecorationsClassName==="breakpoints-select"&&sn.push(hn.id);yield un.deltaDecorations(sn,[]),Ii()}),Ti=Kr=>{let sn=Ft.getLineDecorations(Kr);for(let Vt of sn)if(Vt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,ci.isEqual)(sr,Ii(!0).lines)){un.deltaDecorations(Ii(!0).ids,[]);const Kr=sr.map(sn=>({range:new ni.Range(sn,1,sn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));un.deltaDecorations([],Kr)}const Jr=Ft.onDidChangeModelContent(Kr=>{let sn=Ft.getPosition();if(sn){let Vt=sn.lineNumber;clearTimeout(Wi.current),Wi.current=setTimeout(()=>{Li(un.getLineContent(Vt),Vt)?si(Vt):Ti(Vt)?(si(Vt),Ri(Vt)):Ii()},100)}}),Qr=Ft.onMouseDown(Kr=>{var sn,Vt,hn;if(Kr.target.detail&&((hn=(Vt=(sn=Kr.target)==null?void 0:sn.element)==null?void 0:Vt.className)!=null&&hn.includes("line-numbers"))){let Xt=Kr.target.position.lineNumber;if(Li(un.getLineContent(Xt),Xt))return;Ti(Xt)?si(Xt):Ri(Xt)}}),Lo=Kr=>{let sn={range:new ni.Range(Kr,1,Kr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};to.current=Ft.deltaDecorations(to.current,[sn])},Nn=()=>{to.current=Ft.deltaDecorations(to.current,[])},ja=Ft.onMouseMove(Kr=>{var sn,Vt,hn;if(Nn(),Kr.target.detail&&((hn=(Vt=(sn=Kr.target)==null?void 0:sn.element)==null?void 0:Vt.className)!=null&&hn.includes("line-numbers"))){let Xt=Kr.target.position.lineNumber;if(Li(un.getLineContent(Xt),Xt))return;Lo(Xt)}}),co=Ft.onMouseLeave(()=>{Nn()});return()=>{Jr.dispose(),Qr.dispose(),ja.dispose(),co.dispose()}}},[Tr.current,Jn,sr,Lr,Ko,Ee]),(0,ue.useEffect)(()=>{var Lt;(Lt=Tr.current)!=null&&Lt.instance&&Ko&&Tr.current.instance.setPosition({lineNumber:0,column:0})},[Lr]);function yr(){let Lt=Tr.current.instance;if(Lt){const Ft=Lt.getSelection(),un=Tr.current.pastePos||{},Sr=new ni.Range(un.startLineNumber||Ft.endLineNumber,un.startColumn||Ft.endColumn,un.endLineNumber||Ft.endLineNumber,un.endColumn||Ft.endColumn);setTimeout(()=>{Lt.executeEdits("",[{range:Sr,text:""}])},300)}}function Oi(Lt){(window.navigator.platform.match("Mac")?Lt.metaKey:Lt.ctrlKey)&&Lt.keyCode==83&&(Lt.preventDefault(),an())}const Zn=()=>{if(qt&&Tr.current.instance){const Lt=Tr.current.instance.getContentHeight();Cn(Lt{if(!mi.current)return;const{keyCode:Ft,ctrlKey:un,metaKey:Sr,target:Ii,type:Ri}=Lt;return(Ri==="paste"||(Ft===67||Ft===86)&&(Sr||un))&&Ii.nodeName==="TEXTAREA"&&(_t(),Lt.preventDefault()),!1};function br(Lt,Ft){var un=window.URL||window.webkitURL||window,Sr=new Blob([Ft]),Ii=document.createElementNS("http://www.w3.org/1999/xhtml","a");Ii.href=un.createObjectURL(Sr),Ii.download=Lt,ki(Ii)}(0,ue.useEffect)(()=>{Zn()},[Zn]),(0,ue.useEffect)(()=>{Eo.current&&!Jn&&Promise.all([Pe.e(8909),Pe.e(3267)]).then(Pe.bind(Pe,71448)).then(Lt=>{try{ni=Lt,Tr.current.instance=ni.editor.create(Eo.current,{value:Ce,language:ii(Ee),theme:rt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Le);const Ft=Tr.current.instance;let Ii=[...Ai.BH._menuItems].find(Jr=>Jr[0]._debugName=="EditorContext")[1],Ri=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],si=(Jr,Qr)=>{var Lo,Nn;let ja=Jr._first;do Qr.includes((Nn=(Lo=ja.element)==null?void 0:Lo.command)==null?void 0:Nn.id)&&Jr._remove(ja);while(ja=ja.next)};if(On(Ft,ni),setTimeout(()=>{Zn(),Tr.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{br(ro||"educoder.txt",Ft.getValue())}})},500),Tr.current.subscription=Ft.onDidChangeModelContent(Jr=>{zn.current?clearTimeout(Vi.current):(Zn(),Mn(Ft.getValue(),Jr)),Vi.current=setTimeout(()=>{zn.current=!1},500)}),window.Monaco||dt(ni,ii(Ee)),fi&&(si(Ii,Ri),Eo.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Vr),window.removeEventListener("paste",Vr),window.addEventListener("keydown",Vr),window.addEventListener("paste",Vr)),window.Monaco=ni,Sn&&Ft.onDidBlurEditorWidget(()=>{Sn(Ft.getValue())}),Hi&&Ft.onDidFocusEditorText(()=>{Hi(Ft.getValue())}),fi)try{Ft.onDidPaste(Jr=>{const Qr=Ft.getSelection(),Lo=Tr.current.pastePos||{},Nn=new ni.Range(Lo.startLineNumber||Qr.endLineNumber,Lo.startColumn||Qr.endColumn,Lo.endLineNumber||Qr.endLineNumber,Lo.endColumn||Qr.endColumn);Ft.executeEdits("",[{range:Jr.range,text:""}])})}catch(Jr){}let Ti=tn();return Oo&&typeof Oo=="string"&&new vn(Oo,Ft,ni),nr(!0),()=>{const Jr=Tr.current.instance;Jr.dispose();const Qr=Jr.getModel();Qr&&Qr.dispose(),Tr.current.subscription&&Tr.current.subscription.dispose(),Ti.unobserve(Eo.current)}}catch(Ft){}})},[]),(0,ue.useEffect)(()=>{if(Tr.current.instance&&Jn)return document.addEventListener("keydown",Oi,!1),()=>{document.removeEventListener("keydown",Oi)}},[an,Jn]),(0,ue.useEffect)(()=>{let Lt=Tr.current.instance;if(Lt&&Jn){let Ft=ii(Ee);ni.editor.setModelLanguage(Lt.getModel(),Ft)}},[Ee,Jn]),(0,ue.useEffect)(()=>{Tr.current.instance&&Jn&&ni.editor.setTheme(rt)},[rt,Jn]),(0,ue.useEffect)(()=>{let Lt=Tr.current.instance;Be.current=Ue,Lt&&Jn&&(Lt.updateOptions(qn({},Ue)),setTimeout(()=>{Lt.getModel().updateOptions(qn({},Ue))},200))},[JSON.stringify(Ue),Jn]),(0,ue.useEffect)(()=>{let Lt=Tr.current.instance;Lt&&Jn&&Lt.layout()},[Yt,Ie,Jn]);const[Br,Et]=(0,ue.useState)(gn(Yt)),[Di,Cn]=(0,ue.useState)(gn(Ie)),Kn=Mi(qn({},Te),{width:Br,height:Di,position:"relative"});return ue.createElement("div",{className:"my-monaco-editor",ref:Eo,style:Kn},fn&&ue.createElement(ze.CopyToClipboard,{text:Ce,onCopy:()=>hi.ZP.success("\u590D\u5236\u6210\u529F")},ue.createElement(kn.Z,{title:"\u590D\u5236\u4EE3\u7801"},ue.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},ue.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function zt({width:$e="100%",height:At="100%",original:Yt,modified:Ie,language:Ce,options:Ee={}}){const Te=(0,ue.useRef)(),[Ue,Le]=(0,ue.useState)(null);function rt(qt){let fi;return Te.current&&(fi=new it.Z(Mn=>{for(let On of Mn)(On.target.offsetHeight>0||On.target.offsetWidth>0)&&qt.layout()}),fi.observe(Te.current)),fi}(0,ue.useEffect)(()=>(Te.current&&Promise.all([Pe.e(8909),Pe.e(9404)]).then(Pe.bind(Pe,2550)).then(qt=>{ni=qt;const fi=ni.editor.createDiffEditor(Te.current,Mi(qn({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},Ee),{wordWrap:!0}));Le(fi);let Mn=rt(fi);return()=>{fi.dispose();const On=fi.getModel();On&&On.dispose(),Mn.unobserve(Te.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,ue.useEffect)(()=>{Ue&&Ue.setModel({original:ni.editor.createModel(Yt,Ce),modified:ni.editor.createModel(Ie,Ce)})},[Yt,Ie,Ce,Ue]);const Sn=gn($e),fn=gn(At),an={width:Sn,height:fn};return ue.createElement("div",{className:"my-diff-editor",ref:Te,style:an})}},58856:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return it}});var ue=Pe(59301);function it(Mt,kt){const Dt=(0,ue.useRef)();(0,ue.useEffect)(()=>{Dt.current=Mt}),(0,ue.useEffect)(()=>{function Wt(){Dt.current()}if(kt!==null){let Ve=setInterval(Wt,kt);return()=>clearInterval(Ve)}},[kt])}},62517:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return ne}});var ue=Pe(59301),it=Pe(89070),Mt=Pe(78241),kt=Pe(8591),Dt=Pe(43418),Wt=Pe(92832),Ve={wrap:"wrap___TwY3U",content:"content___Ks95W",mainPathWrap:"mainPathWrap___CrMaa",colorBlue:"colorBlue___dvWbP"},bt=Object.defineProperty,wt=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Ut=(de,le,pe)=>le in de?bt(de,le,{enumerable:!0,configurable:!0,writable:!0,value:pe}):de[le]=pe,Zt=(de,le)=>{for(var pe in le||(le={}))pt.call(le,pe)&&Ut(de,pe,le[pe]);if(wt)for(var pe of wt(le))St.call(le,pe)&&Ut(de,pe,le[pe]);return de},Oe=(de,le,pe)=>new Promise((xe,Ae)=>{var Me=dt=>{try{lt(pe.next(dt))}catch(yt){Ae(yt)}},ke=dt=>{try{lt(pe.throw(dt))}catch(yt){Ae(yt)}},lt=dt=>dt.done?xe(dt.value):Promise.resolve(dt.value).then(Me,ke);lt((pe=pe.apply(de,le)).next())});const te=({shixunsDetail:de,globalSetting:le,loading:pe,dispatch:xe,title:Ae,pathList:Me=[],showInputPath:ke=!1,isMergeSelectFile:lt=!1,onFinish:dt=()=>{}})=>{const[yt]=Mt.default.useForm(),ut=(0,it.useParams)(),Tt=(0,it.useLocation)(),xt=(0,ue.useRef)(),[Nt,Jt]=(0,ue.useState)(""),[vn,Ai]=(0,ue.useState)(""),[hi,kn]=(0,ue.useState)([]),[ci,et]=(0,ue.useState)([]);(0,ue.useEffect)(()=>{var xn,Dn;xt.current=((Dn=(xn=Tt.pathname)==null?void 0:xn.split("/"))==null?void 0:Dn[3])==="repository"},[]),(0,ue.useEffect)(()=>{if(de.actionTabs.key!=="Repository-SelectFilePath")return;const xn=Me.join("/");let Dn=[];Me.map((yi,qn)=>{qn===0?Dn.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${yi}`,path:xn}):Dn.push({val:`/${yi}`,path:xn})}),kn(Dn),Jt(xn),Ai(xn),ze(xn)},[de.actionTabs.key]);const ze=xn=>Oe(void 0,null,function*(){const Dn=yield xe({type:xt.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:ut.id,path:xn}});Dn&&et(Dn.trees||[])}),yn=xn=>{let Dn=Nt;xn.type==="tree"&&(hi.length?hi.push({val:`/${xn.name}`,path:xn.name}):hi.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${xn.name}`,path:xn.name}),kn(hi),Dn=Nt?`${Nt}/${xn.name}`:xn.name,Jt(Dn)),ze(Dn)},Xn=(xn,Dn)=>{const yi=hi.filter((Mi,mt)=>mt<=Dn);kn(yi);const qn=yi.filter((Mi,mt)=>mt!==0).map(Mi=>Mi.val).join("").substr(1);Jt(qn),ze(qn)},ei=()=>Oe(void 0,null,function*(){const xn=yt==null?void 0:yt.getFieldsValue(),Dn=Nt?`${Nt}${xn!=null&&xn.name?`/${xn==null?void 0:xn.name}`:""}`:xn==null?void 0:xn.name;if(lt){dt(Dn),rn();return}if(ke){yield yt.validateFields();const yi=yield xe({type:"shixunsDetail/uploadGitFolder",payload:Zt(Zt({},{id:ut.id,path:Dn}),xt.current?{}:{secret_repository:!0})});dt(vn),yi.status===0&&kt.ZP.info("\u65B0\u5EFA\u6210\u529F")}else dt(Dn),kt.ZP.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");rn()}),rn=()=>{xe({type:"shixunsDetail/setActionTabs",payload:{}}),yt.resetFields()};return ue.createElement(Dt.default,{centered:!0,title:Ae||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,open:de.actionTabs.key==="Repository-SelectFilePath",onOk:ei,onCancel:rn},ue.createElement("div",{className:Ve.wrap},ue.createElement("div",{className:Ve.content},ue.createElement("div",{className:Ve.mainPathWrap},!!(hi!=null&&hi.length)&&hi.map((xn,Dn)=>ue.createElement("a",{key:Dn,onClick:()=>Xn(xn,Dn)},xn.val))),!!(ci!=null&&ci.length)&&ci.map((xn,Dn)=>xn.type==="tree"&&ue.createElement("a",{key:Dn,onClick:()=>yn(xn)},ue.createElement("i",{className:`iconfont icon-wenjianjia ${Ve.colorBlue}`}),xn.name))),ue.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),ue.createElement("div",{className:"mt5 mb5"},Nt),ke&&ue.createElement(Mt.default,{form:yt,scrollToFirstError:!0,className:"mt20"},ue.createElement(Mt.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ue.createElement(Wt.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};var ne=(0,it.connect)(({shixunsDetail:de,loading:le,globalSetting:pe})=>({shixunsDetail:de,globalSetting:pe,loading:le.models.index}))(te)},81833:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return ci}});var ue=Pe(59301),it=Pe(89070),Mt=Pe(36381),kt=Pe(92832),Dt=Pe(78241),Wt=Pe(8591),Ve=Pe(43418),bt=Pe(24905),wt=Pe(6848),pt=Pe(5871),St=Pe(5112),Ut=Pe(81327),Zt=Pe(95237),Oe=Pe(57809),te=Pe(78673),ne=Pe(9165),de=Pe(85057),le={wrap:"wrap___BgpUe",row:"row___UWxAG",textarea:"textarea___gaLin",btn:"btn___ZpuhS",sub:"sub___Jd_ZS"},pe=Pe(23954),xe=Pe(99064),Ae=Pe(24065),Me=Pe(59301),ke=Object.defineProperty,lt=Object.defineProperties,dt=Object.getOwnPropertyDescriptors,yt=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,xt=(et,ze,yn)=>ze in et?ke(et,ze,{enumerable:!0,configurable:!0,writable:!0,value:yn}):et[ze]=yn,Nt=(et,ze)=>{for(var yn in ze||(ze={}))ut.call(ze,yn)&&xt(et,yn,ze[yn]);if(yt)for(var yn of yt(ze))Tt.call(ze,yn)&&xt(et,yn,ze[yn]);return et},Jt=(et,ze)=>lt(et,dt(ze)),vn=(et,ze,yn)=>new Promise((Xn,ei)=>{var rn=yi=>{try{Dn(yn.next(yi))}catch(qn){ei(qn)}},xn=yi=>{try{Dn(yn.throw(yi))}catch(qn){ei(qn)}},Dn=yi=>yi.done?Xn(yi.value):Promise.resolve(yi.value).then(rn,xn);Dn((yn=yn.apply(et,ze)).next())});const{Panel:Ai}=Mt.default,{TextArea:hi}=kt.default;var ci=({active:et,type:ze="jupyter"})=>{var yn,Xn;const ei=(0,it.useParams)(),[rn]=Dt.default.useForm(),[xn,Dn]=(0,ue.useState)({}),[yi,qn]=(0,ue.useState)(!1),[Mi,mt]=(0,ue.useState)(0),[ht,gn]=(0,ue.useState)([]),[jt,En]=(0,ue.useState)([]),[Fn,ii]=(0,ue.useState)([]),ni=(Xn=(yn=(0,Ae.eY)())==null?void 0:yn.shixun)==null?void 0:Xn.editable;(0,ue.useEffect)(()=>{et==="testCase"&&mn()},[et]),(0,ue.useEffect)(()=>{zt()},[]);const mn=()=>vn(void 0,null,function*(){var Le,rt,Sn,fn,an,qt,fi,Mn,On,Hi,Si,sr,ro,Wo;const No=[{hidden:0,input:"",output:"",score:100}],Lr=yield(0,xe.ZP)(`/api/shixuns/${ei==null?void 0:ei.id}/jupyter_evalute_setting.json`,{method:"get"});if((Lr==null?void 0:Lr.status)===0){ii((Le=Lr==null?void 0:Lr.data)==null?void 0:Le.standard_scripts);const Ko={open_evaluate:(rt=Lr==null?void 0:Lr.data)==null?void 0:rt.open_evaluate,exec_time:((Sn=Lr==null?void 0:Lr.data)==null?void 0:Sn.exec_time)||3,test_set_score:((fn=Lr==null?void 0:Lr.data)==null?void 0:fn.test_set_score)===null?!1:(an=Lr==null?void 0:Lr.data)==null?void 0:an.test_set_score,test_set_average:((qt=Lr==null?void 0:Lr.data)==null?void 0:qt.test_set_average)===null?!0:(fi=Lr==null?void 0:Lr.data)==null?void 0:fi.test_set_average,choice_standard_scripts:((Mn=Lr==null?void 0:Lr.data)==null?void 0:Mn.choice_standard_scripts)||null,evaluate_script:((On=Lr==null?void 0:Lr.data)==null?void 0:On.evaluate_script)||"",evaluate_method:(Hi=Lr==null?void 0:Lr.data)==null?void 0:Hi.evaluate_method,use_jupyter_result:(Si=Lr==null?void 0:Lr.data)==null?void 0:Si.use_jupyter_result};rn.setFieldsValue(Ko),Dn(Ko),gn((ro=(sr=Lr==null?void 0:Lr.data)==null?void 0:sr.test_sets)!=null&&ro.length?(Wo=Lr==null?void 0:Lr.data)==null?void 0:Wo.test_sets:No)}}),zt=()=>vn(void 0,null,function*(){var Le;const rt=yield(0,xe.ZP)(`/api/shixuns/${ei==null?void 0:ei.id}/get_jupyter_tags.json`,{method:"get"});(rt==null?void 0:rt.status)===0&&En(((Le=rt==null?void 0:rt.data)==null?void 0:Le.list)||[])}),$e=Le=>vn(void 0,null,function*(){const Sn=ht.map(an=>an.score).reduce((an,qt)=>an+qt,0);if(Le.test_set_score&&Sn!==100){Wt.ZP.warning("\u6D4B\u8BD5\u7528\u4F8B\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}if(Le.evaluate_method===3&&(ht!=null&&ht.some(an=>!an.tags))){Wt.ZP.warning("\u8BF7\u9009\u62E9\u6307\u5B9A\u4EE3\u7801\u5757");return}qn(!0),(yield(0,xe.ZP)(`/api/shixuns/${ei==null?void 0:ei.id}/update_jupyter_evaluate_setting.json`,{method:"post",body:Jt(Nt({},Le),{mirror_script_id:Le==null?void 0:Le.choice_standard_scripts,open_evaluate:Le!=null&&Le.open_evaluate?1:0,test_set:ht.map(an=>Jt(Nt({},an),{is_file:!1}))})})).status===0&&Wt.ZP.success("\u4FDD\u5B58\u6210\u529F"),qn(!1)}),At=Le=>{Dn(Nt({},rn.getFieldsValue())),"test_set_average"in Le&&(Le!=null&&Le.test_set_average)&&Yt(ht),"test_set_score"in Le&&(Le!=null&&Le.test_set_score)&&(rn.setFieldsValue({test_set_average:!0}),Dn(Jt(Nt({},rn.getFieldsValue()),{test_set_average:!0})),Yt(ht)),"choice_standard_scripts"in Le&&Ve.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Me.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",Me.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>vn(void 0,null,function*(){const rt=yield(0,xe.ZP)(`/api/shixuns/${ei==null?void 0:ei.id}/get_script_contents.json`,{method:"get",params:{id:ei==null?void 0:ei.id,script_id:Le==null?void 0:Le.choice_standard_scripts}});rt!=null&&rt.content&&(Ve.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:Me.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")}),rn.setFieldsValue({evaluate_script:rt==null?void 0:rt.content}),Dn(Jt(Nt({},rn.getFieldsValue()),{evaluate_script:rt==null?void 0:rt.content})))})})},Yt=Le=>{let rt=0;const Sn=Math.floor((100-rt)/Le.length),fn=Sn+(100-rt)%Le.length;Le=Le.map((an,qt)=>qt===Le.length-1?Jt(Nt({},an),{score:fn}):Jt(Nt({},an),{score:Sn})),gn(Le)},Ie=()=>{const Le=[...ht,{hidden:0,input:"",output:"",score:0}];rn.getFieldValue("test_set_average")?Yt(Le):gn(Le)},{test_set_score:Ce,test_set_average:Ee,choice_standard_scripts:Te,open_evaluate:Ue}=xn;return Me.createElement("section",{className:le.wrap},Me.createElement(Dt.default,{form:rn,disabled:!Ue,layout:"vertical",onValuesChange:At,onFinish:$e},Me.createElement(Dt.default.Item,{name:"open_evaluate",style:{marginTop:10},valuePropName:"checked"},Me.createElement(bt.default,{disabled:!1},"\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD")),Me.createElement("h4",{className:"font14"},"\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),Me.createElement(wt.Z,{title:!Ue&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Me.createElement(Dt.default.Item,{label:"\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09\uFF1A",name:"exec_time",className:le.row,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}]},Me.createElement(pt.Z,{size:"large",style:{width:400},min:3}))),Me.createElement("h4",{className:"font14 mb10"},"\u7CFB\u7EDF\u8BC4\u5206\u89C4\u5219"),Me.createElement(wt.Z,{title:!Ue&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Me.createElement(Dt.default.Item,{name:"test_set_score"},Me.createElement(St.ZP.Group,null,Me.createElement(Ut.Z,{direction:"vertical"},Me.createElement(St.ZP,{value:!1},"\u901A\u8FC7\u5168\u90E8\u6D4B\u8BD5\u96C6",Me.createElement("span",{className:"c-grey-999"}," \uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u4EC5\u5F53\u6240\u6709\u6D4B\u8BD5\u96C6\u90FD\u6B63\u786E\u65F6\uFF0C\u624D\u83B7\u5F97\u4E00\u6B21\u6027\u5956\u52B1\uFF09")),Me.createElement(St.ZP,{value:!0},"\u901A\u8FC7\u90E8\u5206\u6D4B\u8BD5\u96C6",Me.createElement("span",{className:"c-grey-999"}," \uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u901A\u8FC7\u6D4B\u8BD5\u96C6\u5373\u53EF\u83B7\u5F97\u5BF9\u5E94\u5956\u52B1\uFF09")))))),Me.createElement(Dt.default.Item,{label:Me.createElement("span",{style:{fontWeight:500},className:"c-black"},"\u8BC4\u6D4B\u8BBE\u7F6E"),name:"evaluate_method",style:{flexDirection:"row",marginTop:15},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u8BBE\u7F6E"}]},Me.createElement(St.ZP.Group,null,Me.createElement(Ut.Z,{direction:"vertical"},Me.createElement(St.ZP,{value:1},"\u901A\u8FC7\u6240\u6709\u4EE3\u7801\u5757\u8BC4\u6D4B",Me.createElement("span",{className:"c-grey-999"}," \uFF08\u5BF9\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u7684\u6240\u6709\u975E\u7A7A\u4EE3\u7801\u5757\u8FDB\u884C\u8BC4\u6D4B\uFF09")),Me.createElement(St.ZP,{value:3},"\u901A\u8FC7\u6307\u5B9A\u4EE3\u7801\u5757\u8BC4\u6D4B",Me.createElement("span",{className:"c-grey-999"}," \uFF08\u5BF9\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u7684\u6307\u5B9A\u975E\u7A7A\u4EE3\u7801\u5757\u8FDB\u884C\u8BC4\u6D4B\uFF09"))))),Me.createElement(Zt.Z,{align:"middle",justify:"space-between",className:"font14"},Me.createElement("div",{style:{fontWeight:500}},Me.createElement("span",{className:le.sub},"*"),"\u6D4B\u8BD5\u7528\u4F8B"),Me.createElement(wt.Z,{title:!Ue&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Me.createElement(de.op,{style:{borderRadius:2},onClick:Ie},"\u6DFB\u52A0\u6D4B\u8BD5\u7528\u4F8B"))),Ce&&Me.createElement(Dt.default.Item,{name:"test_set_average"},Me.createElement(St.ZP.Group,null,Me.createElement(St.ZP,{value:!0},"\u5747\u5206\u6BD4\u4F8B"),Me.createElement(St.ZP,{value:!1,style:{marginLeft:50}},"\u81EA\u5B9A\u4E49\u6BD4\u4F8B"))),Me.createElement(wt.Z,{title:!Ue&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Me.createElement("div",null,ht.map((Le,rt)=>Me.createElement(Mt.default,{activeKey:Mi,key:rt,onChange:()=>{mt(Sn=>Sn===rt?null:rt)}},Me.createElement(Ai,{header:Me.createElement("div",{className:"font16"},Me.createElement("span",{className:"mr10"},"\u6D4B\u8BD5\u7528\u4F8B",rt+1),xn.test_set_score&&Me.createElement("span",{style:{marginLeft:40}},Me.createElement(pt.Z,{style:{width:120},value:Le.score,onClick:Sn=>Sn.stopPropagation(),min:0,max:100,precision:0,onBlur:Sn=>{if(Number(Sn)<0||Number(Sn)>100){Wt.ZP.info("\u6D4B\u8BD5\u7528\u4F8B\u7684\u6743\u91CD\u6BD4\u4F8B\u503C\u9650\u5236\u4E3A 0-100");const fn=ht.map((qt,fi)=>fi===rt?Jt(Nt({},qt),{score:100}):qt),an={test_set_average:!1};Dn(Nt(Nt({},xn),an)),rn.setFieldsValue(an),gn(fn)}},disabled:Ee,onChange:Sn=>{const fn=ht.map((qt,fi)=>fi===rt?Jt(Nt({},qt),{score:Sn?Number(Sn):0}):qt),an={test_set_average:!1};Dn(Nt(Nt({},xn),an)),rn.setFieldsValue(an),gn(fn)}}),Me.createElement("span",{className:"ml10 mr10"},"%")),Me.createElement("span",{className:"tr flex1",style:{float:"right"}},rt!==0&&Me.createElement(wt.Z,{placement:"bottom",title:"\u5220\u9664"},Me.createElement("span",{style:{color:"#c5c5c5"},className:"current iconfont icon-shanchu4",onClick:Sn=>{Sn.stopPropagation(),Ve.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u6D4B\u8BD5\u7528\u4F8B\u5417\uFF1F",onOk:()=>{const fn=ht.filter((an,qt)=>qt!==rt);Yt(fn)}})}})))),key:rt},Me.createElement("div",null,xn.evaluate_method===3&&Me.createElement(Zt.Z,{align:"middle",className:"mb20"},Me.createElement("div",null,Me.createElement("span",{className:le.sub},"*"),Me.createElement("span",null,"\u6307\u5B9A\u4EE3\u7801\u5757"),Me.createElement(wt.Z,{title:"\u8BF7\u5148\u5728Jupyter\u4E2D\u5BF9\u60A8\u9700\u8981\u8BC4\u6D4B\u7684\u6307\u5B9A\u4EE3\u7801\u5757\u5B8C\u6210\u6807\u7B7E\u8BBE\u7F6E\u3002"},Me.createElement("i",{style:{marginLeft:6,marginRight:20,color:"#145DFF"},className:"iconfont icon-xiaowenhao2 font14"}))),Me.createElement(Oe.default,{value:Le.tags,size:"large",style:{width:450},onChange:Sn=>{const fn=ht.map((an,qt)=>qt===rt?Jt(Nt({},an),{tags:Sn}):an);gn(fn)}},jt==null?void 0:jt.map(Sn=>Me.createElement(Oe.default.Option,{value:Sn==null?void 0:Sn.tags,key:Sn==null?void 0:Sn.tags},Sn==null?void 0:Sn.tags)))),Me.createElement(Zt.Z,{align:"middle"},Me.createElement("div",null," ",Me.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),Me.createElement(hi,{bordered:!1,className:le.textarea,rows:5,placeholder:"\u9884\u671F\u8F93\u51FA",value:Le.output,onChange:Sn=>{const fn=ht.map((an,qt)=>qt===rt?Jt(Nt({},an),{output:Sn.target.value}):an);gn(fn)}})),Me.createElement(Zt.Z,{className:"mt20",align:"middle"},Me.createElement("div",null,Me.createElement("span",null,"\u53EF\u89C1\u6027"),Me.createElement(wt.Z,{title:Me.createElement("div",null,Me.createElement("div",null,'\u5168\u90E8\u9690\u85CF\uFF1A\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'),Me.createElement("div",null,"\u9690\u85CF\u9884\u671F\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),Me.createElement("div",null,"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"))},Me.createElement("i",{style:{marginLeft:6,marginRight:13,color:"#145DFF"},className:"iconfont icon-xiaowenhao2 font14"}))),Me.createElement("div",null,Me.createElement(bt.default,{className:"font14 ml5",checked:Le.hidden===1,onChange:Sn=>{const fn=ht.map((an,qt)=>{if(qt===rt){let fi={is_invisible:!1,actual_output_visible:!1};return Sn.target.checked&&(fi={is_invisible:!0,actual_output_visible:!0}),Jt(Nt(Nt({},an),fi),{hidden:Sn.target.checked?1:0})}return an});gn(fn)}},"\u5168\u90E8\u9690\u85CF")),Me.createElement(bt.default,{checked:Le.is_invisible,style:{margin:"0 60px"},onChange:Sn=>{const fn=ht.map((an,qt)=>{if(qt===rt){let fi=0;return Sn.target.checked&&an.actual_output_visible&&(fi=1),Jt(Nt({},an),{hidden:fi,is_invisible:Sn.target.checked})}return an});gn(fn)}},"\u9690\u85CF\u9884\u671F\u8F93\u51FA"),Me.createElement(bt.default,{checked:Le.actual_output_visible,onChange:Sn=>{const fn=ht.map((an,qt)=>{if(qt===rt){let fi=0;return Sn.target.checked&&an.is_invisible&&(fi=1),Jt(Nt({},an),{hidden:fi,actual_output_visible:Sn.target.checked})}return an});gn(fn)}},"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA")),Me.createElement("div",{className:"mt20"},Me.createElement("span",{className:"font14 mr20"},"\u7279\u6B8A\u5224\u5B9A:"),Me.createElement(bt.default,{checked:Le.last_match_rule,onChange:Sn=>{const fn=ht.map((an,qt)=>qt===rt?Jt(Nt({},an),{last_match_rule:Sn.target.checked}):an);gn(fn)}},Me.createElement("span",{className:"font14"},"\u672B\u5C3E\u5339\u914D",Me.createElement("span",{className:"font12 c-light-black"},"\uFF08\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173\uFF09")))))))))),Me.createElement("h4",{className:"font14 mt20 mb10"},Me.createElement("span",{className:le.sub},"*"),"\u8BC4\u6D4B\u811A\u672C"),Me.createElement(wt.Z,{title:!Ue&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Me.createElement(Dt.default.Item,{name:"choice_standard_scripts",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C"}]},Me.createElement(Oe.default,{getPopupContainer:Le=>Le.parentNode,size:"large",style:{width:400},placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C"},Fn.map((Le,rt)=>Me.createElement(Oe.default.Option,{value:Le.id,key:rt},Le.scptname))))),Me.createElement(wt.Z,{title:!Ue&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Me.createElement(Dt.default.Item,{name:"evaluate_script"},Me.createElement(pe.ZP,{height:450,style:{border:"1px solid #ccc"},language:"shell",theme:"vs-light",options:{readOnly:!Ue}}))),(0,Ae.Ny)()&&Me.createElement(Zt.Z,{className:"mb20",align:"middle"},Me.createElement(Dt.default.Item,{name:"use_jupyter_result",className:"mt10",valuePropName:"checked",noStyle:!0},Me.createElement(te.Z,null)),Me.createElement("div",{className:"ml10"},"\u662F\u5426\u6CBF\u7528Jupyter\u8FD0\u884C\u7ED3\u679C"))),Me.createElement(ne.t,{okText:"\u4FDD\u5B58",hasOkBtn:ni,loading:yi,onCancel:()=>it.history.push(`/shixuns/${ei==null?void 0:ei.id}/challenges`),onOk:()=>rn.submit(),className:ze==="jupyterLab"?le.btn:""}))}},46539:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return dt}});var ue=Pe(59301),it=Pe(43418),Mt=Pe(3113),kt=Pe(8591),Dt=Pe(99313),Wt=Pe(71418),Ve=Pe(10311),bt=Pe(5871),wt={modal:"modal___NEEbt",con_warp:"con_warp___fZ8It",flex:"flex___Vqd1D",config_Warp:"config_Warp___m6wfT",config_btn:"config_btn___OL6qH",sceneList:"sceneList___SKegj",sceneItem:"sceneItem___RPw0S",sceneItemActive:"sceneItemActive___O_xTR"},pt=Pe(11724),St=Pe(62772),Ut=Pe(99064),Zt=Pe(59301),Oe=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,xe=(yt,ut,Tt)=>ut in yt?Oe(yt,ut,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):yt[ut]=Tt,Ae=(yt,ut)=>{for(var Tt in ut||(ut={}))le.call(ut,Tt)&&xe(yt,Tt,ut[Tt]);if(de)for(var Tt of de(ut))pe.call(ut,Tt)&&xe(yt,Tt,ut[Tt]);return yt},Me=(yt,ut)=>te(yt,ne(ut)),ke=(yt,ut,Tt)=>new Promise((xt,Nt)=>{var Jt=hi=>{try{Ai(Tt.next(hi))}catch(kn){Nt(kn)}},vn=hi=>{try{Ai(Tt.throw(hi))}catch(kn){Nt(kn)}},Ai=hi=>hi.done?xt(hi.value):Promise.resolve(hi.value).then(Jt,vn);Ai((Tt=Tt.apply(yt,ut)).next())}),dt=({visible:yt,onOk:ut,onCancel:Tt,info:xt})=>{const[Nt,Jt]=(0,ue.useState)("1"),[vn,Ai]=(0,ue.useState)([{name:"gpu_limit",label:"GPU\u663E\u5361\u6570\u91CF",value:1,min:0,max:4,typeName:"\u4E2A"},{name:"gpu_memory_limit",label:"GPU\u663E\u5B58\u5927\u5C0F",value:1,min:0,max:64,typeName:"GB"}]),[hi,kn]=(0,ue.useState)([]),[ci,et]=(0,ue.useState)(0),[ze,yn]=(0,ue.useState)(null),[Xn,ei]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{yt&&rn()},[yt]);const rn=()=>{Jt("1"),yn(null),et(0),vn[0].value=(xt==null?void 0:xt.gpu_limit)||1,vn[1].value=(xt==null?void 0:xt.gpu_memory_limit)||16,Ai([...vn])};(0,ue.useEffect)(()=>{var jt,En;((En=(jt=hi==null?void 0:hi[ci])==null?void 0:jt.content)==null?void 0:En.length)>0&&yn(Me(Ae({},hi[ci].content[0]),{index:0}))},[Nt,ci,hi]);const xn=()=>ke(void 0,null,function*(){yield(0,Ut.ZP)("/api/home/example_cpu_list.json",{method:"GET"}).then(jt=>{var En;if(kn(jt),(jt==null?void 0:jt.length)>0){let Fn=Me(Ae({},(En=jt==null?void 0:jt[0])==null?void 0:En.content[0]),{index:0});yn(Fn)}})}),Dn=jt=>{Jt(jt),jt==="2"&&et(0)},yi=(jt,En)=>{Ai(vn.map(Fn=>Fn.name===jt?En(Fn):Fn))},qn=(jt,En)=>{isNaN(jt)||yi(En,Fn=>Me(Ae({},Fn),{value:jt}))},Mi=(jt,En)=>{var Fn;if(console.log("decline",jt.value),jt.value=Number(jt.value),jt.value<=((Fn=jt.min)!=null?Fn:-1/0))return;let ii=jt.value-.5Me(Ae({},ni),{value:ii}))},mt=(jt,En)=>{var Fn;if(jt.value=Number(jt.value),jt.value>=((Fn=jt.max)!=null?Fn:1/0))return;let ii=jt.value+.5>jt.max?jt.max:jt.value+(En||.5);yi(jt.name,ni=>Me(Ae({},ni),{value:ii}))},ht=(jt,En)=>{isNaN(jt)||yi(En,Fn=>Me(Ae({},Fn),{value:jt}))},gn=jt=>{if(jt==null||Number.isInteger(jt))return jt;const En=jt%1;return En===.5?jt:Math.floor(jt)+(En<.5?.5:1)};return Zt.createElement(Zt.Fragment,null,Zt.createElement(it.default,{title:"\u8D44\u6E90\u914D\u7F6E",open:yt,width:752,destroyOnClose:!0,centered:!0,onCancel:Tt,className:wt.modal,footer:[Zt.createElement("div",{className:wt.btn_warp,key:"1"},Zt.createElement(Mt.ZP,{onClick:Tt},"\u53D6\u6D88"),Zt.createElement(Mt.ZP,{type:"primary",onClick:()=>{let jt=Ae({},xt);if(Nt=="1")jt.gpu_limit=vn[0].value,jt.gpu_memory_limit=vn[1].value;else if(Nt=="2"){if(!ze){kt.ZP.error("\u8BF7\u9009\u62E9\u4E00\u6761\u573A\u666F\u5BF9\u5E94\u7684CPU\u4E0E\u5185\u5B58");return}jt=Me(Ae({},jt),{gpu_limit:ze.gpu_limit,gpu_memory_limit:ze.gpu_memory_limit})}ut(jt)}},"\u4FDD\u5B58"))]},Zt.createElement(Dt.default,{activeKey:Nt,onChange:Dn},Zt.createElement(Dt.default.TabPane,{tab:"GPU\u914D\u7F6E",key:1},Zt.createElement(Wt.Z,{spinning:Xn},vn==null?void 0:vn.map(jt=>Zt.createElement("div",{className:wt.con_warp,key:jt==null?void 0:jt.name},Zt.createElement("div",null,jt==null?void 0:jt.label),Zt.createElement("div",null,Zt.createElement(Ve.Z,{min:jt==null?void 0:jt.min,max:jt==null?void 0:jt.max,onChange:En=>qn(En,jt==null?void 0:jt.name),value:jt==null?void 0:jt.value,step:jt.name==="gpu_limit"?1:.5,style:{width:422,height:6,margin:"0 20px 0 12px"}})),Zt.createElement("div",{className:`${wt.config_Warp} ${wt.flex}`},Zt.createElement("div",{className:`${wt.config_btn} ${wt.flex}`,onClick:()=>Mi(jt,jt.name==="gpu_limit"?1:.5)},Zt.createElement(pt.Z,null)),Zt.createElement(bt.Z,{min:jt==null?void 0:jt.min,max:jt==null?void 0:jt.max,size:"large",step:jt.name==="gpu_limit"?1:.5,controls:!1,style:{width:55},value:jt==null?void 0:jt.value,onChange:En=>{const Fn=gn(En);ht(Fn,jt==null?void 0:jt.name)}}),Zt.createElement("div",{className:`${wt.config_btn} ${wt.flex}`,onClick:()=>mt(jt,jt.name==="gpu_limit"?1:.5)},Zt.createElement(St.Z,null))),Zt.createElement("div",null,jt==null?void 0:jt.typeName))))))))}},14996:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Dt}});var ue=Pe(59301),it={label:"label___CZ1_z",left:"left___ZKFRV",right:"right___zVTRn",error:"error___oNJNo"},Mt=Pe(6848),Dt=({name:Wt,tooltipTitle:Ve,children:bt,required:wt,errorKey:pt,errorValue:St,errorName:Ut,errorStyle:Zt={},nameWidth:Oe=112,align:te="center",contentStyle:ne={}})=>ue.createElement(ue.Fragment,null,ue.createElement("div",{className:it.label,style:{alignItems:te}},ue.createElement("div",{className:it.left,style:{width:Oe}},wt&&ue.createElement("span",null,"*"),ue.createElement("div",null,Wt),!!Ve&&ue.createElement(Mt.Z,{title:Ve},ue.createElement("i",{className:"iconfont icon-xiaowenhao2"}))),ue.createElement("div",{className:it.right,style:ne},bt,Ut&&St===pt&&ue.createElement("div",{className:it.error,style:Zt},Ut))))},48843:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Wt}});var ue=Pe(59301),it={mirrorModal:"mirrorModal___Pi3tF",right:"right___Hot5f",title:"title___jjMKh",content:"content___BmOkD",des:"des___oGTUM",modal:"modal___yy3VB"},Mt=Pe(43418),kt=Pe(85149),Wt=({title:Ve,children:bt,value:wt})=>{const[pt,St]=(0,ue.useState)(!1);return ue.createElement(ue.Fragment,null,ue.createElement("span",{onClick:()=>St(!0)},bt),ue.createElement(Mt.default,{title:Ve,open:pt,width:1e3,destroyOnClose:!0,centered:!0,onCancel:()=>St(!1),className:it.modal,footer:null},typeof wt=="string"&&ue.createElement(kt.Z,{value:wt||""}),Object.prototype.toString.call(wt)==="[object Array]"&&ue.createElement(ue.Fragment,null,wt==null?void 0:wt.map((Ut,Zt)=>ue.createElement("div",{key:Zt},ue.createElement("b",null,Ut.name||Ut.type_name),ue.createElement(kt.Z,{value:Ut.description||""}))))))}},43181:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return En}});var ue=Pe(59301),it=Pe(43418),Mt=Pe(8591),kt=Pe(43428),Dt=Pe(99313),Wt=Pe(71418),Ve=Pe(6848),bt=Pe(3113),wt={header_body:"header_body___lAlEX",close:"close___OXweN",no_data:"no_data___h77J2",recommend_config_introduce:"recommend_config_introduce___ifFGY",recommend_config:"recommend_config___UXyKS",recommend_config_item:"recommend_config_item___zONum",item_title:"item_title___w5vXw",recommend_text:"recommend_text___f68Eu",item_content:"item_content___j_zbN",recommend_config_active_item:"recommend_config_active_item___SrTkJ",recommend_config_footer:"recommend_config_footer___PHnlA",application:"application___uh4gI",tooltip:"tooltip___f0uXh",disabled:"disabled___Ha9Ba"},pt=Pe(99267),St=Pe(61485),Ut=Pe(13014),Zt=Pe(93314),Oe=Pe(99064),te=Pe(76411),ne={lineChart:"lineChart___dCEZW"},de=Pe(61186),le=Pe.n(de),pe=Pe(59301),Ae=({dataInfo:Fn,indexKey:ii,valueName:ni,startAndEndTime:mn,colors:zt=["#DA4928","#2EC25B","#FEBD49","#498FEA","#9363D8"],imageTypeName:$e})=>{let At=null;(0,ue.useEffect)(()=>{Le()},[Fn]),(0,ue.useEffect)(()=>{window.addEventListener("resize",Yt(()=>{At&&At.resize()},200))},[window.onresize]);const Yt=(rt,Sn,fn=!1)=>{let an,qt;return(...fi)=>{if(fn){rt.apply(qt,fi),fn=!1;return}clearTimeout(an),an=setTimeout(()=>{rt.apply(qt,fi)},Sn)}},Ie=rt=>rt?rt.map(Sn=>{const fn=new Date(Sn),an=String(fn.getMonth()+1).padStart(2,"0"),qt=String(fn.getDate()).padStart(2,"0"),fi=String(fn.getHours()).padStart(2,"0"),Mn=String(fn.getMinutes()).padStart(2,"0");return`${an}/${qt} ${fi}:${Mn}`}):[],Ce=(rt,Sn)=>rt.map(fn=>{const an=Sn.timestamps.indexOf(fn);return an!==-1?Sn.values[an]:null});function Ee(rt){let Sn=1/0;for(let an=0;an{let an=[];for(let qt=rt;qt<=Sn;qt+=fn)an.push(qt);return an},Ue=()=>{var rt;const Sn=((rt=Fn==null?void 0:Fn.x)==null?void 0:rt.flat())||[];let fn=[...new Set(Sn)].sort((sr,ro)=>sr-ro),an=Ee(fn),qt=an==null?void 0:an.newArray,fi=an==null?void 0:an.minInterval;fn=[...new Set([...fn,...qt])].sort((sr,ro)=>sr-ro);let Mn=le()(mn[0],"YYYY-MM-DD HH:mm").valueOf(),On=Te(Mn,fn[0]-fi,fi),Hi=le()(mn[1],"YYYY-MM-DD HH:mm").valueOf(),Si=Te(fn[fn.length-1]+fi,Hi,fi);return fn=[...On,...fn,...Si],[...new Set(fn)].sort((sr,ro)=>sr-ro)},Le=()=>{var rt;At=te.init(document.getElementById(`lineChart${ii}`));let Sn=Ue(),fn=(rt=Fn==null?void 0:Fn.y)==null?void 0:rt.map((qt,fi)=>{var Mn;let On={timestamps:(Mn=Fn==null?void 0:Fn.x)==null?void 0:Mn[fi],values:qt};return qt=Ce(Sn,On),{name:ni[fi],type:"line",itemStyle:{show:!1},lineStyle:{color:zt[fi]},data:qt}}),an={tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{color:"rgba(212, 217, 227, 1)",type:"dashed"}},backgroundColor:"#fff",textStyle:{color:"#333333"},padding:10,extraCssText:"box-shadow: 0px 4px 8px 0px rgba(184,194,202,0.5)",formatter:function(qt){var fi;let Mn="";return qt.forEach((On,Hi)=>{console.log("item",On),Mn+=`
+`)}]};var bt=Pe(53184),wt=Pe.n(bt),pt=Object.defineProperty,St=Object.defineProperties,Ut=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=($e,At,Yt)=>At in $e?pt($e,At,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):$e[At]=Yt,de=($e,At)=>{for(var Yt in At||(At={}))Oe.call(At,Yt)&&ne($e,Yt,At[Yt]);if(Zt)for(var Yt of Zt(At))te.call(At,Yt)&&ne($e,Yt,At[Yt]);return $e},le=($e,At)=>St($e,Ut(At)),pe=($e,At,Yt)=>new Promise((Ie,Ce)=>{var Ee=Le=>{try{Ue(Yt.next(Le))}catch(rt){Ce(rt)}},Te=Le=>{try{Ue(Yt.throw(Le))}catch(rt){Ce(rt)}},Ue=Le=>Le.done?Ie(Le.value):Promise.resolve(Le.value).then(Ee,Te);Ue((Yt=Yt.apply($e,At)).next())});const xe={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},Ae=($e,At)=>At.map(Yt=>({label:Yt,kind:$e.languages.CompletionItemKind.Keyword,insertText:Yt})),Me=$e=>Object.keys(xe.tables).map(At=>({label:At,kind:$e.languages.CompletionItemKind.Variable,insertText:At})),ke=($e,At)=>{const Yt=xe.tables[$e];return Yt?Yt.map(Ie=>({label:Ie,kind:At.languages.CompletionItemKind.Field,insertText:Ie})):[]};function lt($e,At,Yt,Ie,Ce){let Ee=At.getWordUntilPosition(Yt),Te={startLineNumber:Yt.lineNumber,endLineNumber:Yt.lineNumber,startColumn:Ee.startColumn,endColumn:Ee.endColumn},Ue=Ie.map(Le=>({label:Le,kind:$e.languages.CompletionItemKind.Keyword,insertText:Le,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Te}));return Ce.map(Le=>{Ue.push(le(de({},Le),{range:Te}))}),Ue}var dt=$e=>{xe.languages.map(Ce=>($e.languages.registerDocumentFormattingEditProvider(Ce,{provideDocumentFormattingEdits(Ee,Te,Ue){return pe(this,null,function*(){const Le=wt()(Ee.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:Ee.getFullModelRange(),text:Le}]})}}),Ce));const At=Dt.quickKey.map(Ce=>({label:Ce.label,kind:$e.languages.CompletionItemKind.Method,insertText:Ce.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Yt=Wt.quickKey.map(Ce=>({label:Ce.label,kind:$e.languages.CompletionItemKind.Method,insertText:Ce.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Ie=kt.quickKey.map(Ce=>({label:Ce.label,kind:$e.languages.CompletionItemKind.Method,insertText:Ce.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet}));$e.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(Ce,Ee){var Te=Ce.getWordUntilPosition(Ee),Ue={startLineNumber:Ee.lineNumber,endLineNumber:Ee.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},Le=Ce.getLineContent(Ee.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...Dt.keywords.map(rt=>({label:rt,kind:$e.languages.CompletionItemKind.Function,documentation:rt,insertText:rt,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue})),...Dt.quickKey.map(rt=>({label:rt.label,kind:$e.languages.CompletionItemKind.Function,documentation:rt.content,insertText:Le.startsWith("#")?rt.content.replace(/#/,""):rt.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue}))]}}}),$e.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Ce,Ee){var Te=Ce.getWordUntilPosition(Ee),Ue={startLineNumber:Ee.lineNumber,endLineNumber:Ee.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn};return{suggestions:[...Mt.keywords.map(Le=>({label:Le,kind:$e.languages.CompletionItemKind.Function,documentation:Le,insertText:Le,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue}))]}}}),$e.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Ce,Ee){var Te=Ce.getWordUntilPosition(Ee),Ue={startLineNumber:Ee.lineNumber,endLineNumber:Ee.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},Le=Ce.getLineContent(Ee.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...kt.keywords.map(rt=>({label:rt,kind:$e.languages.CompletionItemKind.Function,documentation:rt,insertText:rt,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue})),...kt.quickKey.map(rt=>({label:rt.label,kind:$e.languages.CompletionItemKind.Function,documentation:rt.content,insertText:Le.startsWith("#")?rt.content.replace(/#/,""):rt.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue}))]}}}),$e.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Ce,Ee){var Te=Ce.getWordUntilPosition(Ee),Ue={startLineNumber:Ee.lineNumber,endLineNumber:Ee.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},Le=Ce.getLineContent(Ee.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...Ve.keywords.map(rt=>({label:rt,kind:$e.languages.CompletionItemKind.Function,documentation:rt,insertText:rt,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue})),...Ve.quickKey.map(rt=>({label:rt.label,kind:$e.languages.CompletionItemKind.Function,documentation:rt.content,insertText:Le.startsWith("#")?rt.content.replace(/#/,""):rt.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue}))]}}}),$e.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Ce,Ee){var Te=Ce.getWordUntilPosition(Ee),Ue={startLineNumber:Ee.lineNumber,endLineNumber:Ee.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},Le=Ce.getLineContent(Ee.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...Wt.keywords.map(rt=>({label:rt,kind:$e.languages.CompletionItemKind.Function,documentation:rt,insertText:rt,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue})),...Wt.quickKey.map(rt=>({label:rt.label,kind:$e.languages.CompletionItemKind.Function,documentation:rt.content,insertText:Le.startsWith("#")?rt.content.replace(/#/,""):rt.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue}))]}}})};const yt="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ut=Object.defineProperty,Ot=($e,At,Yt)=>At in $e?ut($e,At,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):$e[At]=Yt,xt=($e,At,Yt)=>Ot($e,typeof At!="symbol"?At+"":At,Yt);const Nt=class bx{constructor(At,Yt,Ie){this.placeholder=At,this.editor=Yt,this.monaco=Ie,Yt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return bx.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};xt(Nt,"ID","editor.widget.placeholderHint");var vn=Nt,Ai=Pe(96236),hi=Pe(8591),kn=Pe(6848),ci=Pe(89392),et=Pe(34604),ze=Pe(56102),yn=Object.defineProperty,Xn=Object.defineProperties,ei=Object.getOwnPropertyDescriptors,on=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,Dn=Object.prototype.propertyIsEnumerable,yi=($e,At,Yt)=>At in $e?yn($e,At,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):$e[At]=Yt,qn=($e,At)=>{for(var Yt in At||(At={}))xn.call(At,Yt)&&yi($e,Yt,At[Yt]);if(on)for(var Yt of on(At))Dn.call(At,Yt)&&yi($e,Yt,At[Yt]);return $e},Mi=($e,At)=>Xn($e,ei(At)),mt=($e,At)=>{var Yt={};for(var Ie in $e)xn.call($e,Ie)&&At.indexOf(Ie)<0&&(Yt[Ie]=$e[Ie]);if($e!=null&&on)for(var Ie of on($e))At.indexOf(Ie)<0&&Dn.call($e,Ie)&&(Yt[Ie]=$e[Ie]);return Yt},ht=($e,At,Yt)=>new Promise((Ie,Ce)=>{var Ee=Le=>{try{Ue(Yt.next(Le))}catch(rt){Ce(rt)}},Te=Le=>{try{Ue(Yt.throw(Le))}catch(rt){Ce(rt)}},Ue=Le=>Le.done?Ie(Le.value):Promise.resolve(Le.value).then(Ee,Te);Ue((Yt=Yt.apply($e,At)).next())});function gn($e){return/^\d+$/.test($e)?`${$e}px`:$e}function jt(){}let En=!1;const Fn={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function ri($e=[]){let At=$e;if(Array.isArray($e)){for(let Yt=0;Yt<$e.length;Yt++){let Ie=Fn[$e[Yt]];if(Ie)return Ie}return At[0]}return Fn[At]||At}let ni=null;var mn=$e=>{var At=$e,{width:Yt="100%",height:Ie="100%",value:Ce,language:Ee="javascript",style:Te={},options:Ue={},overrideServices:Le={},theme:rt="vs-dark",onEditBlur:Sn,isCopy:fn=!1,onSave:an,autoHeight:$t=!1,forbidCopy:fi=!1,onChange:Mn=jt,editorDidMount:On=jt,onFocus:Hi=jt,onBreakPoint:Si=jt,breakPointValue:sr=[],filename:ro="educoder.txt",errorLine:Wo,errorContent:No="",highlightLine:Lr,openBreakPoint:Ko=!1,placeholder:Oo=""}=At,So=mt(At,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Eo=(0,ue.useRef)(),Tr=(0,ue.useRef)({}),Be=(0,ue.useRef)(),ya=(0,ue.useRef)(),to=(0,ue.useRef)([]),zn=(0,ue.useRef)(!1),Vi=(0,ue.useRef)(),Wi=(0,ue.useRef)(),mi=(0,ue.useRef)(!1),[Qn,nr]=(0,ue.useState)(!1);function nn(){let Lt;return Eo.current&&(Lt=new it.Z(Ft=>{for(let un of Ft)(un.target.offsetHeight>0||un.target.offsetWidth>0)&&Tr.current.instance.layout()}),Lt.observe(Eo.current)),Lt}function _t(){hi.ZP.warning({content:decodeURIComponent(yt),key:"monaco-editor-tip"})}const Rt=()=>{let Lt=Tr.current.instance;if(Ce!=null&&Lt&&Qn){const Ft=Lt.getModel();Ft&&Ce!==Ft.getValue()&&(En=!0,Ft.setValue(Ce),Lt.layout(),En=!1)}};(0,ue.useEffect)(()=>{const Lt=et.Z.subscribe("formatDocument",Ft=>{var un;let Sr=Tr.current.instance;(un=Sr==null?void 0:Sr.getAction)==null||un.call(Sr,"editor.action.formatDocument").run()});return window.updateMonacoValue=Ft=>{Mn(Ft)},Lt},[]),(0,ue.useEffect)(()=>{var Lt;let Ft=Tr.current.instance;ya.current&&clearTimeout(ya.current),ya.current=setTimeout(()=>{Rt()},500),Ce&&(Ce!=null&&Ce.length)&&((Lt=Ft==null?void 0:Ft.updateOptions)==null||Lt.call(Ft,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Ce.split(/\r\n|\r|\n/g).length))+3,5)}))},[Ce,Qn,Tr.current]),(0,ue.useEffect)(()=>{if(Wo&&Tr.current&&Tr.current.instance){let Ft=Tr.current.instance;Ft.changeViewZones(function(un){var Sr=document.createElement("div");Sr.style.padding="10px 20px",Sr.style.width="calc(100% - 20px)",Sr.className="my-error-line-wrp",Sr.innerHTML=No,un.addZone({afterLineNumber:Wo||11,heightInLines:3,domNode:Sr})});var Lt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Ft.addOverlayWidget(Lt),Ft.revealPositionInCenter({lineNumber:20,column:1})}},[Wo,Tr.current,Qn]);const Li=(Lt="",Ft)=>{if(!Lt||Lt.trim()==="")return!0;const Sr=Tr.current.instance.getModel().getLineTokens(Ft);let Ii=!1;for(let Ri=0;Ri<2;Ri++)Sr.getStandardTokenType(Ri)===1&&(Ii=!0);return Ii};(0,ue.useEffect)(()=>{var Lt;const Ft=(Lt=Tr.current)==null?void 0:Lt.instance;if(Ft&&Qn&&fi){const un=Ft.onDidBlurEditorWidget(()=>{mi.current=!1}),Sr=Ft.onDidFocusEditorText(()=>{mi.current=!0});return()=>{un.dispose(),Sr.dispose()}}},[Tr.current,Qn,fi]),(0,ue.useEffect)(()=>{var Lt;if((Lt=Tr.current)!=null&&Lt.instance&&Qn&&Ko){let Ft=Tr.current.instance,un=Ft.getModel();if(!un)return;(()=>{var Kr;let sn=[],Vt=[];const hn=un.getAllDecorations();for(let Vn of hn)Vn.options.className==="highlighted-line"&&(sn.push((Kr=Vn==null?void 0:Vn.range)==null?void 0:Kr.startLineNumber),Vt.push(Vn==null?void 0:Vn.id));if(Lr===sn[0])return;un.deltaDecorations(Vt,[]);const Xt=un.getLineCount();Lr&&Lr<=Xt&&(Ft.deltaDecorations([],[{range:new ni.Range(Lr,1,Lr,un.getLineMaxColumn(Lr)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Ft.revealLineInCenter(Lr))})();const Ii=(Kr=!1)=>{var sn;let Vt=[],hn=[];const Xt=un.getAllDecorations();for(let Vn of Xt)Vn.options.linesDecorationsClassName==="breakpoints-select"&&(Vt.push((sn=Vn==null?void 0:Vn.range)==null?void 0:sn.startLineNumber),hn.push(Vn==null?void 0:Vn.id));if(Kr)return{lines:Vt,ids:hn};Si(Vt)},Ri=Kr=>ht(void 0,null,function*(){let sn={range:new ni.Range(Kr,1,Kr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield un.deltaDecorations([],[sn]),Ii()}),si=Kr=>ht(void 0,null,function*(){let sn=[];const Vt=Ft.getLineDecorations(Kr);for(let hn of Vt)hn.options.linesDecorationsClassName==="breakpoints-select"&&sn.push(hn.id);yield un.deltaDecorations(sn,[]),Ii()}),Ti=Kr=>{let sn=Ft.getLineDecorations(Kr);for(let Vt of sn)if(Vt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,ci.isEqual)(sr,Ii(!0).lines)){un.deltaDecorations(Ii(!0).ids,[]);const Kr=sr.map(sn=>({range:new ni.Range(sn,1,sn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));un.deltaDecorations([],Kr)}const Jr=Ft.onDidChangeModelContent(Kr=>{let sn=Ft.getPosition();if(sn){let Vt=sn.lineNumber;clearTimeout(Wi.current),Wi.current=setTimeout(()=>{Li(un.getLineContent(Vt),Vt)?si(Vt):Ti(Vt)?(si(Vt),Ri(Vt)):Ii()},100)}}),Qr=Ft.onMouseDown(Kr=>{var sn,Vt,hn;if(Kr.target.detail&&((hn=(Vt=(sn=Kr.target)==null?void 0:sn.element)==null?void 0:Vt.className)!=null&&hn.includes("line-numbers"))){let Xt=Kr.target.position.lineNumber;if(Li(un.getLineContent(Xt),Xt))return;Ti(Xt)?si(Xt):Ri(Xt)}}),Lo=Kr=>{let sn={range:new ni.Range(Kr,1,Kr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};to.current=Ft.deltaDecorations(to.current,[sn])},Nn=()=>{to.current=Ft.deltaDecorations(to.current,[])},ja=Ft.onMouseMove(Kr=>{var sn,Vt,hn;if(Nn(),Kr.target.detail&&((hn=(Vt=(sn=Kr.target)==null?void 0:sn.element)==null?void 0:Vt.className)!=null&&hn.includes("line-numbers"))){let Xt=Kr.target.position.lineNumber;if(Li(un.getLineContent(Xt),Xt))return;Lo(Xt)}}),co=Ft.onMouseLeave(()=>{Nn()});return()=>{Jr.dispose(),Qr.dispose(),ja.dispose(),co.dispose()}}},[Tr.current,Qn,sr,Lr,Ko,Ee]),(0,ue.useEffect)(()=>{var Lt;(Lt=Tr.current)!=null&&Lt.instance&&Ko&&Tr.current.instance.setPosition({lineNumber:0,column:0})},[Lr]);function yr(){let Lt=Tr.current.instance;if(Lt){const Ft=Lt.getSelection(),un=Tr.current.pastePos||{},Sr=new ni.Range(un.startLineNumber||Ft.endLineNumber,un.startColumn||Ft.endColumn,un.endLineNumber||Ft.endLineNumber,un.endColumn||Ft.endColumn);setTimeout(()=>{Lt.executeEdits("",[{range:Sr,text:""}])},300)}}function Oi(Lt){(window.navigator.platform.match("Mac")?Lt.metaKey:Lt.ctrlKey)&&Lt.keyCode==83&&(Lt.preventDefault(),an())}const Zn=()=>{if($t&&Tr.current.instance){const Lt=Tr.current.instance.getContentHeight();Cn(Lt{if(!mi.current)return;const{keyCode:Ft,ctrlKey:un,metaKey:Sr,target:Ii,type:Ri}=Lt;return(Ri==="paste"||(Ft===67||Ft===86)&&(Sr||un))&&Ii.nodeName==="TEXTAREA"&&(_t(),Lt.preventDefault()),!1};function br(Lt,Ft){var un=window.URL||window.webkitURL||window,Sr=new Blob([Ft]),Ii=document.createElementNS("http://www.w3.org/1999/xhtml","a");Ii.href=un.createObjectURL(Sr),Ii.download=Lt,ki(Ii)}(0,ue.useEffect)(()=>{Zn()},[Zn]),(0,ue.useEffect)(()=>{Eo.current&&!Qn&&Promise.all([Pe.e(8909),Pe.e(3267)]).then(Pe.bind(Pe,71448)).then(Lt=>{try{ni=Lt,Tr.current.instance=ni.editor.create(Eo.current,{value:Ce,language:ri(Ee),theme:rt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Le);const Ft=Tr.current.instance;let Ii=[...Ai.BH._menuItems].find(Jr=>Jr[0]._debugName=="EditorContext")[1],Ri=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],si=(Jr,Qr)=>{var Lo,Nn;let ja=Jr._first;do Qr.includes((Nn=(Lo=ja.element)==null?void 0:Lo.command)==null?void 0:Nn.id)&&Jr._remove(ja);while(ja=ja.next)};if(On(Ft,ni),setTimeout(()=>{Zn(),Tr.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{br(ro||"educoder.txt",Ft.getValue())}})},500),Tr.current.subscription=Ft.onDidChangeModelContent(Jr=>{zn.current?clearTimeout(Vi.current):(Zn(),Mn(Ft.getValue(),Jr)),Vi.current=setTimeout(()=>{zn.current=!1},500)}),window.Monaco||dt(ni,ri(Ee)),fi&&(si(Ii,Ri),Eo.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Vr),window.removeEventListener("paste",Vr),window.addEventListener("keydown",Vr),window.addEventListener("paste",Vr)),window.Monaco=ni,Sn&&Ft.onDidBlurEditorWidget(()=>{Sn(Ft.getValue())}),Hi&&Ft.onDidFocusEditorText(()=>{Hi(Ft.getValue())}),fi)try{Ft.onDidPaste(Jr=>{const Qr=Ft.getSelection(),Lo=Tr.current.pastePos||{},Nn=new ni.Range(Lo.startLineNumber||Qr.endLineNumber,Lo.startColumn||Qr.endColumn,Lo.endLineNumber||Qr.endLineNumber,Lo.endColumn||Qr.endColumn);Ft.executeEdits("",[{range:Jr.range,text:""}])})}catch(Jr){}let Ti=nn();return Oo&&typeof Oo=="string"&&new vn(Oo,Ft,ni),nr(!0),()=>{const Jr=Tr.current.instance;Jr.dispose();const Qr=Jr.getModel();Qr&&Qr.dispose(),Tr.current.subscription&&Tr.current.subscription.dispose(),Ti.unobserve(Eo.current)}}catch(Ft){}})},[]),(0,ue.useEffect)(()=>{if(Tr.current.instance&&Qn)return document.addEventListener("keydown",Oi,!1),()=>{document.removeEventListener("keydown",Oi)}},[an,Qn]),(0,ue.useEffect)(()=>{let Lt=Tr.current.instance;if(Lt&&Qn){let Ft=ri(Ee);ni.editor.setModelLanguage(Lt.getModel(),Ft)}},[Ee,Qn]),(0,ue.useEffect)(()=>{Tr.current.instance&&Qn&&ni.editor.setTheme(rt)},[rt,Qn]),(0,ue.useEffect)(()=>{let Lt=Tr.current.instance;Be.current=Ue,Lt&&Qn&&(Lt.updateOptions(qn({},Ue)),setTimeout(()=>{Lt.getModel().updateOptions(qn({},Ue))},200))},[JSON.stringify(Ue),Qn]),(0,ue.useEffect)(()=>{let Lt=Tr.current.instance;Lt&&Qn&&Lt.layout()},[Yt,Ie,Qn]);const[Br,Et]=(0,ue.useState)(gn(Yt)),[Di,Cn]=(0,ue.useState)(gn(Ie)),Kn=Mi(qn({},Te),{width:Br,height:Di,position:"relative"});return ue.createElement("div",{className:"my-monaco-editor",ref:Eo,style:Kn},fn&&ue.createElement(ze.CopyToClipboard,{text:Ce,onCopy:()=>hi.ZP.success("\u590D\u5236\u6210\u529F")},ue.createElement(kn.Z,{title:"\u590D\u5236\u4EE3\u7801"},ue.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},ue.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function zt({width:$e="100%",height:At="100%",original:Yt,modified:Ie,language:Ce,options:Ee={}}){const Te=(0,ue.useRef)(),[Ue,Le]=(0,ue.useState)(null);function rt($t){let fi;return Te.current&&(fi=new it.Z(Mn=>{for(let On of Mn)(On.target.offsetHeight>0||On.target.offsetWidth>0)&&$t.layout()}),fi.observe(Te.current)),fi}(0,ue.useEffect)(()=>(Te.current&&Promise.all([Pe.e(8909),Pe.e(9404)]).then(Pe.bind(Pe,2550)).then($t=>{ni=$t;const fi=ni.editor.createDiffEditor(Te.current,Mi(qn({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},Ee),{wordWrap:!0}));Le(fi);let Mn=rt(fi);return()=>{fi.dispose();const On=fi.getModel();On&&On.dispose(),Mn.unobserve(Te.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,ue.useEffect)(()=>{Ue&&Ue.setModel({original:ni.editor.createModel(Yt,Ce),modified:ni.editor.createModel(Ie,Ce)})},[Yt,Ie,Ce,Ue]);const Sn=gn($e),fn=gn(At),an={width:Sn,height:fn};return ue.createElement("div",{className:"my-diff-editor",ref:Te,style:an})}},58856:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return it}});var ue=Pe(59301);function it(Mt,kt){const Dt=(0,ue.useRef)();(0,ue.useEffect)(()=>{Dt.current=Mt}),(0,ue.useEffect)(()=>{function Wt(){Dt.current()}if(kt!==null){let Ve=setInterval(Wt,kt);return()=>clearInterval(Ve)}},[kt])}},62517:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return ne}});var ue=Pe(59301),it=Pe(89070),Mt=Pe(78241),kt=Pe(8591),Dt=Pe(43418),Wt=Pe(92832),Ve={wrap:"wrap___TwY3U",content:"content___Ks95W",mainPathWrap:"mainPathWrap___CrMaa",colorBlue:"colorBlue___dvWbP"},bt=Object.defineProperty,wt=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Ut=(de,le,pe)=>le in de?bt(de,le,{enumerable:!0,configurable:!0,writable:!0,value:pe}):de[le]=pe,Zt=(de,le)=>{for(var pe in le||(le={}))pt.call(le,pe)&&Ut(de,pe,le[pe]);if(wt)for(var pe of wt(le))St.call(le,pe)&&Ut(de,pe,le[pe]);return de},Oe=(de,le,pe)=>new Promise((xe,Ae)=>{var Me=dt=>{try{lt(pe.next(dt))}catch(yt){Ae(yt)}},ke=dt=>{try{lt(pe.throw(dt))}catch(yt){Ae(yt)}},lt=dt=>dt.done?xe(dt.value):Promise.resolve(dt.value).then(Me,ke);lt((pe=pe.apply(de,le)).next())});const te=({shixunsDetail:de,globalSetting:le,loading:pe,dispatch:xe,title:Ae,pathList:Me=[],showInputPath:ke=!1,isMergeSelectFile:lt=!1,onFinish:dt=()=>{}})=>{const[yt]=Mt.default.useForm(),ut=(0,it.useParams)(),Ot=(0,it.useLocation)(),xt=(0,ue.useRef)(),[Nt,Jt]=(0,ue.useState)(""),[vn,Ai]=(0,ue.useState)(""),[hi,kn]=(0,ue.useState)([]),[ci,et]=(0,ue.useState)([]);(0,ue.useEffect)(()=>{var xn,Dn;xt.current=((Dn=(xn=Ot.pathname)==null?void 0:xn.split("/"))==null?void 0:Dn[3])==="repository"},[]),(0,ue.useEffect)(()=>{if(de.actionTabs.key!=="Repository-SelectFilePath")return;const xn=Me.join("/");let Dn=[];Me.map((yi,qn)=>{qn===0?Dn.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${yi}`,path:xn}):Dn.push({val:`/${yi}`,path:xn})}),kn(Dn),Jt(xn),Ai(xn),ze(xn)},[de.actionTabs.key]);const ze=xn=>Oe(void 0,null,function*(){const Dn=yield xe({type:xt.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:ut.id,path:xn}});Dn&&et(Dn.trees||[])}),yn=xn=>{let Dn=Nt;xn.type==="tree"&&(hi.length?hi.push({val:`/${xn.name}`,path:xn.name}):hi.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${xn.name}`,path:xn.name}),kn(hi),Dn=Nt?`${Nt}/${xn.name}`:xn.name,Jt(Dn)),ze(Dn)},Xn=(xn,Dn)=>{const yi=hi.filter((Mi,mt)=>mt<=Dn);kn(yi);const qn=yi.filter((Mi,mt)=>mt!==0).map(Mi=>Mi.val).join("").substr(1);Jt(qn),ze(qn)},ei=()=>Oe(void 0,null,function*(){const xn=yt==null?void 0:yt.getFieldsValue(),Dn=Nt?`${Nt}${xn!=null&&xn.name?`/${xn==null?void 0:xn.name}`:""}`:xn==null?void 0:xn.name;if(lt){dt(Dn),on();return}if(ke){yield yt.validateFields();const yi=yield xe({type:"shixunsDetail/uploadGitFolder",payload:Zt(Zt({},{id:ut.id,path:Dn}),xt.current?{}:{secret_repository:!0})});dt(vn),yi.status===0&&kt.ZP.info("\u65B0\u5EFA\u6210\u529F")}else dt(Dn),kt.ZP.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");on()}),on=()=>{xe({type:"shixunsDetail/setActionTabs",payload:{}}),yt.resetFields()};return ue.createElement(Dt.default,{centered:!0,title:Ae||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,open:de.actionTabs.key==="Repository-SelectFilePath",onOk:ei,onCancel:on},ue.createElement("div",{className:Ve.wrap},ue.createElement("div",{className:Ve.content},ue.createElement("div",{className:Ve.mainPathWrap},!!(hi!=null&&hi.length)&&hi.map((xn,Dn)=>ue.createElement("a",{key:Dn,onClick:()=>Xn(xn,Dn)},xn.val))),!!(ci!=null&&ci.length)&&ci.map((xn,Dn)=>xn.type==="tree"&&ue.createElement("a",{key:Dn,onClick:()=>yn(xn)},ue.createElement("i",{className:`iconfont icon-wenjianjia ${Ve.colorBlue}`}),xn.name))),ue.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),ue.createElement("div",{className:"mt5 mb5"},Nt),ke&&ue.createElement(Mt.default,{form:yt,scrollToFirstError:!0,className:"mt20"},ue.createElement(Mt.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ue.createElement(Wt.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};var ne=(0,it.connect)(({shixunsDetail:de,loading:le,globalSetting:pe})=>({shixunsDetail:de,globalSetting:pe,loading:le.models.index}))(te)},81833:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return ci}});var ue=Pe(59301),it=Pe(89070),Mt=Pe(36381),kt=Pe(92832),Dt=Pe(78241),Wt=Pe(8591),Ve=Pe(43418),bt=Pe(24905),wt=Pe(6848),pt=Pe(5871),St=Pe(5112),Ut=Pe(81327),Zt=Pe(95237),Oe=Pe(57809),te=Pe(78673),ne=Pe(9165),de=Pe(85057),le={wrap:"wrap___BgpUe",row:"row___UWxAG",textarea:"textarea___gaLin",btn:"btn___ZpuhS",sub:"sub___Jd_ZS"},pe=Pe(23954),xe=Pe(99064),Ae=Pe(24065),Me=Pe(59301),ke=Object.defineProperty,lt=Object.defineProperties,dt=Object.getOwnPropertyDescriptors,yt=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,xt=(et,ze,yn)=>ze in et?ke(et,ze,{enumerable:!0,configurable:!0,writable:!0,value:yn}):et[ze]=yn,Nt=(et,ze)=>{for(var yn in ze||(ze={}))ut.call(ze,yn)&&xt(et,yn,ze[yn]);if(yt)for(var yn of yt(ze))Ot.call(ze,yn)&&xt(et,yn,ze[yn]);return et},Jt=(et,ze)=>lt(et,dt(ze)),vn=(et,ze,yn)=>new Promise((Xn,ei)=>{var on=yi=>{try{Dn(yn.next(yi))}catch(qn){ei(qn)}},xn=yi=>{try{Dn(yn.throw(yi))}catch(qn){ei(qn)}},Dn=yi=>yi.done?Xn(yi.value):Promise.resolve(yi.value).then(on,xn);Dn((yn=yn.apply(et,ze)).next())});const{Panel:Ai}=Mt.default,{TextArea:hi}=kt.default;var ci=({active:et,type:ze="jupyter"})=>{var yn,Xn;const ei=(0,it.useParams)(),[on]=Dt.default.useForm(),[xn,Dn]=(0,ue.useState)({}),[yi,qn]=(0,ue.useState)(!1),[Mi,mt]=(0,ue.useState)(0),[ht,gn]=(0,ue.useState)([]),[jt,En]=(0,ue.useState)([]),[Fn,ri]=(0,ue.useState)([]),ni=(Xn=(yn=(0,Ae.eY)())==null?void 0:yn.shixun)==null?void 0:Xn.editable;(0,ue.useEffect)(()=>{et==="testCase"&&mn()},[et]),(0,ue.useEffect)(()=>{zt()},[]);const mn=()=>vn(void 0,null,function*(){var Le,rt,Sn,fn,an,$t,fi,Mn,On,Hi,Si,sr,ro,Wo;const No=[{hidden:0,input:"",output:"",score:100}],Lr=yield(0,xe.ZP)(`/api/shixuns/${ei==null?void 0:ei.id}/jupyter_evalute_setting.json`,{method:"get"});if((Lr==null?void 0:Lr.status)===0){ri((Le=Lr==null?void 0:Lr.data)==null?void 0:Le.standard_scripts);const Ko={open_evaluate:(rt=Lr==null?void 0:Lr.data)==null?void 0:rt.open_evaluate,exec_time:((Sn=Lr==null?void 0:Lr.data)==null?void 0:Sn.exec_time)||3,test_set_score:((fn=Lr==null?void 0:Lr.data)==null?void 0:fn.test_set_score)===null?!1:(an=Lr==null?void 0:Lr.data)==null?void 0:an.test_set_score,test_set_average:(($t=Lr==null?void 0:Lr.data)==null?void 0:$t.test_set_average)===null?!0:(fi=Lr==null?void 0:Lr.data)==null?void 0:fi.test_set_average,choice_standard_scripts:((Mn=Lr==null?void 0:Lr.data)==null?void 0:Mn.choice_standard_scripts)||null,evaluate_script:((On=Lr==null?void 0:Lr.data)==null?void 0:On.evaluate_script)||"",evaluate_method:(Hi=Lr==null?void 0:Lr.data)==null?void 0:Hi.evaluate_method,use_jupyter_result:(Si=Lr==null?void 0:Lr.data)==null?void 0:Si.use_jupyter_result};on.setFieldsValue(Ko),Dn(Ko),gn((ro=(sr=Lr==null?void 0:Lr.data)==null?void 0:sr.test_sets)!=null&&ro.length?(Wo=Lr==null?void 0:Lr.data)==null?void 0:Wo.test_sets:No)}}),zt=()=>vn(void 0,null,function*(){var Le;const rt=yield(0,xe.ZP)(`/api/shixuns/${ei==null?void 0:ei.id}/get_jupyter_tags.json`,{method:"get"});(rt==null?void 0:rt.status)===0&&En(((Le=rt==null?void 0:rt.data)==null?void 0:Le.list)||[])}),$e=Le=>vn(void 0,null,function*(){const Sn=ht.map(an=>an.score).reduce((an,$t)=>an+$t,0);if(Le.test_set_score&&Sn!==100){Wt.ZP.warning("\u6D4B\u8BD5\u7528\u4F8B\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}if(Le.evaluate_method===3&&(ht!=null&&ht.some(an=>!an.tags))){Wt.ZP.warning("\u8BF7\u9009\u62E9\u6307\u5B9A\u4EE3\u7801\u5757");return}qn(!0),(yield(0,xe.ZP)(`/api/shixuns/${ei==null?void 0:ei.id}/update_jupyter_evaluate_setting.json`,{method:"post",body:Jt(Nt({},Le),{mirror_script_id:Le==null?void 0:Le.choice_standard_scripts,open_evaluate:Le!=null&&Le.open_evaluate?1:0,test_set:ht.map(an=>Jt(Nt({},an),{is_file:!1}))})})).status===0&&Wt.ZP.success("\u4FDD\u5B58\u6210\u529F"),qn(!1)}),At=Le=>{Dn(Nt({},on.getFieldsValue())),"test_set_average"in Le&&(Le!=null&&Le.test_set_average)&&Yt(ht),"test_set_score"in Le&&(Le!=null&&Le.test_set_score)&&(on.setFieldsValue({test_set_average:!0}),Dn(Jt(Nt({},on.getFieldsValue()),{test_set_average:!0})),Yt(ht)),"choice_standard_scripts"in Le&&Ve.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Me.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",Me.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>vn(void 0,null,function*(){const rt=yield(0,xe.ZP)(`/api/shixuns/${ei==null?void 0:ei.id}/get_script_contents.json`,{method:"get",params:{id:ei==null?void 0:ei.id,script_id:Le==null?void 0:Le.choice_standard_scripts}});rt!=null&&rt.content&&(Ve.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:Me.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")}),on.setFieldsValue({evaluate_script:rt==null?void 0:rt.content}),Dn(Jt(Nt({},on.getFieldsValue()),{evaluate_script:rt==null?void 0:rt.content})))})})},Yt=Le=>{let rt=0;const Sn=Math.floor((100-rt)/Le.length),fn=Sn+(100-rt)%Le.length;Le=Le.map((an,$t)=>$t===Le.length-1?Jt(Nt({},an),{score:fn}):Jt(Nt({},an),{score:Sn})),gn(Le)},Ie=()=>{const Le=[...ht,{hidden:0,input:"",output:"",score:0}];on.getFieldValue("test_set_average")?Yt(Le):gn(Le)},{test_set_score:Ce,test_set_average:Ee,choice_standard_scripts:Te,open_evaluate:Ue}=xn;return Me.createElement("section",{className:le.wrap},Me.createElement(Dt.default,{form:on,disabled:!Ue,layout:"vertical",onValuesChange:At,onFinish:$e},Me.createElement(Dt.default.Item,{name:"open_evaluate",style:{marginTop:10},valuePropName:"checked"},Me.createElement(bt.default,{disabled:!1},"\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD")),Me.createElement("h4",{className:"font14"},"\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),Me.createElement(wt.Z,{title:!Ue&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Me.createElement(Dt.default.Item,{label:"\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09\uFF1A",name:"exec_time",className:le.row,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}]},Me.createElement(pt.Z,{size:"large",style:{width:400},min:3}))),Me.createElement("h4",{className:"font14 mb10"},"\u7CFB\u7EDF\u8BC4\u5206\u89C4\u5219"),Me.createElement(wt.Z,{title:!Ue&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Me.createElement(Dt.default.Item,{name:"test_set_score"},Me.createElement(St.ZP.Group,null,Me.createElement(Ut.Z,{direction:"vertical"},Me.createElement(St.ZP,{value:!1},"\u901A\u8FC7\u5168\u90E8\u6D4B\u8BD5\u96C6",Me.createElement("span",{className:"c-grey-999"}," \uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u4EC5\u5F53\u6240\u6709\u6D4B\u8BD5\u96C6\u90FD\u6B63\u786E\u65F6\uFF0C\u624D\u83B7\u5F97\u4E00\u6B21\u6027\u5956\u52B1\uFF09")),Me.createElement(St.ZP,{value:!0},"\u901A\u8FC7\u90E8\u5206\u6D4B\u8BD5\u96C6",Me.createElement("span",{className:"c-grey-999"}," \uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u901A\u8FC7\u6D4B\u8BD5\u96C6\u5373\u53EF\u83B7\u5F97\u5BF9\u5E94\u5956\u52B1\uFF09")))))),Me.createElement(Dt.default.Item,{label:Me.createElement("span",{style:{fontWeight:500},className:"c-black"},"\u8BC4\u6D4B\u8BBE\u7F6E"),name:"evaluate_method",style:{flexDirection:"row",marginTop:15},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u8BBE\u7F6E"}]},Me.createElement(St.ZP.Group,null,Me.createElement(Ut.Z,{direction:"vertical"},Me.createElement(St.ZP,{value:1},"\u901A\u8FC7\u6240\u6709\u4EE3\u7801\u5757\u8BC4\u6D4B",Me.createElement("span",{className:"c-grey-999"}," \uFF08\u5BF9\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u7684\u6240\u6709\u975E\u7A7A\u4EE3\u7801\u5757\u8FDB\u884C\u8BC4\u6D4B\uFF09")),Me.createElement(St.ZP,{value:3},"\u901A\u8FC7\u6307\u5B9A\u4EE3\u7801\u5757\u8BC4\u6D4B",Me.createElement("span",{className:"c-grey-999"}," \uFF08\u5BF9\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u7684\u6307\u5B9A\u975E\u7A7A\u4EE3\u7801\u5757\u8FDB\u884C\u8BC4\u6D4B\uFF09"))))),Me.createElement(Zt.Z,{align:"middle",justify:"space-between",className:"font14"},Me.createElement("div",{style:{fontWeight:500}},Me.createElement("span",{className:le.sub},"*"),"\u6D4B\u8BD5\u7528\u4F8B"),Me.createElement(wt.Z,{title:!Ue&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Me.createElement(de.op,{style:{borderRadius:2},onClick:Ie},"\u6DFB\u52A0\u6D4B\u8BD5\u7528\u4F8B"))),Ce&&Me.createElement(Dt.default.Item,{name:"test_set_average"},Me.createElement(St.ZP.Group,null,Me.createElement(St.ZP,{value:!0},"\u5747\u5206\u6BD4\u4F8B"),Me.createElement(St.ZP,{value:!1,style:{marginLeft:50}},"\u81EA\u5B9A\u4E49\u6BD4\u4F8B"))),Me.createElement(wt.Z,{title:!Ue&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Me.createElement("div",null,ht.map((Le,rt)=>Me.createElement(Mt.default,{activeKey:Mi,key:rt,onChange:()=>{mt(Sn=>Sn===rt?null:rt)}},Me.createElement(Ai,{header:Me.createElement("div",{className:"font16"},Me.createElement("span",{className:"mr10"},"\u6D4B\u8BD5\u7528\u4F8B",rt+1),xn.test_set_score&&Me.createElement("span",{style:{marginLeft:40}},Me.createElement(pt.Z,{style:{width:120},value:Le.score,onClick:Sn=>Sn.stopPropagation(),min:0,max:100,precision:0,onBlur:Sn=>{if(Number(Sn)<0||Number(Sn)>100){Wt.ZP.info("\u6D4B\u8BD5\u7528\u4F8B\u7684\u6743\u91CD\u6BD4\u4F8B\u503C\u9650\u5236\u4E3A 0-100");const fn=ht.map(($t,fi)=>fi===rt?Jt(Nt({},$t),{score:100}):$t),an={test_set_average:!1};Dn(Nt(Nt({},xn),an)),on.setFieldsValue(an),gn(fn)}},disabled:Ee,onChange:Sn=>{const fn=ht.map(($t,fi)=>fi===rt?Jt(Nt({},$t),{score:Sn?Number(Sn):0}):$t),an={test_set_average:!1};Dn(Nt(Nt({},xn),an)),on.setFieldsValue(an),gn(fn)}}),Me.createElement("span",{className:"ml10 mr10"},"%")),Me.createElement("span",{className:"tr flex1",style:{float:"right"}},rt!==0&&Me.createElement(wt.Z,{placement:"bottom",title:"\u5220\u9664"},Me.createElement("span",{style:{color:"#c5c5c5"},className:"current iconfont icon-shanchu4",onClick:Sn=>{Sn.stopPropagation(),Ve.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u6D4B\u8BD5\u7528\u4F8B\u5417\uFF1F",onOk:()=>{const fn=ht.filter((an,$t)=>$t!==rt);Yt(fn)}})}})))),key:rt},Me.createElement("div",null,xn.evaluate_method===3&&Me.createElement(Zt.Z,{align:"middle",className:"mb20"},Me.createElement("div",null,Me.createElement("span",{className:le.sub},"*"),Me.createElement("span",null,"\u6307\u5B9A\u4EE3\u7801\u5757"),Me.createElement(wt.Z,{title:"\u8BF7\u5148\u5728Jupyter\u4E2D\u5BF9\u60A8\u9700\u8981\u8BC4\u6D4B\u7684\u6307\u5B9A\u4EE3\u7801\u5757\u5B8C\u6210\u6807\u7B7E\u8BBE\u7F6E\u3002"},Me.createElement("i",{style:{marginLeft:6,marginRight:20,color:"#145DFF"},className:"iconfont icon-xiaowenhao2 font14"}))),Me.createElement(Oe.default,{value:Le.tags,size:"large",style:{width:450},onChange:Sn=>{const fn=ht.map((an,$t)=>$t===rt?Jt(Nt({},an),{tags:Sn}):an);gn(fn)}},jt==null?void 0:jt.map(Sn=>Me.createElement(Oe.default.Option,{value:Sn==null?void 0:Sn.tags,key:Sn==null?void 0:Sn.tags},Sn==null?void 0:Sn.tags)))),Me.createElement(Zt.Z,{align:"middle"},Me.createElement("div",null," ",Me.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),Me.createElement(hi,{bordered:!1,className:le.textarea,rows:5,placeholder:"\u9884\u671F\u8F93\u51FA",value:Le.output,onChange:Sn=>{const fn=ht.map((an,$t)=>$t===rt?Jt(Nt({},an),{output:Sn.target.value}):an);gn(fn)}})),Me.createElement(Zt.Z,{className:"mt20",align:"middle"},Me.createElement("div",null,Me.createElement("span",null,"\u53EF\u89C1\u6027"),Me.createElement(wt.Z,{title:Me.createElement("div",null,Me.createElement("div",null,'\u5168\u90E8\u9690\u85CF\uFF1A\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'),Me.createElement("div",null,"\u9690\u85CF\u9884\u671F\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),Me.createElement("div",null,"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"))},Me.createElement("i",{style:{marginLeft:6,marginRight:13,color:"#145DFF"},className:"iconfont icon-xiaowenhao2 font14"}))),Me.createElement("div",null,Me.createElement(bt.default,{className:"font14 ml5",checked:Le.hidden===1,onChange:Sn=>{const fn=ht.map((an,$t)=>{if($t===rt){let fi={is_invisible:!1,actual_output_visible:!1};return Sn.target.checked&&(fi={is_invisible:!0,actual_output_visible:!0}),Jt(Nt(Nt({},an),fi),{hidden:Sn.target.checked?1:0})}return an});gn(fn)}},"\u5168\u90E8\u9690\u85CF")),Me.createElement(bt.default,{checked:Le.is_invisible,style:{margin:"0 60px"},onChange:Sn=>{const fn=ht.map((an,$t)=>{if($t===rt){let fi=0;return Sn.target.checked&&an.actual_output_visible&&(fi=1),Jt(Nt({},an),{hidden:fi,is_invisible:Sn.target.checked})}return an});gn(fn)}},"\u9690\u85CF\u9884\u671F\u8F93\u51FA"),Me.createElement(bt.default,{checked:Le.actual_output_visible,onChange:Sn=>{const fn=ht.map((an,$t)=>{if($t===rt){let fi=0;return Sn.target.checked&&an.is_invisible&&(fi=1),Jt(Nt({},an),{hidden:fi,actual_output_visible:Sn.target.checked})}return an});gn(fn)}},"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA")),Me.createElement("div",{className:"mt20"},Me.createElement("span",{className:"font14 mr20"},"\u7279\u6B8A\u5224\u5B9A:"),Me.createElement(bt.default,{checked:Le.last_match_rule,onChange:Sn=>{const fn=ht.map((an,$t)=>$t===rt?Jt(Nt({},an),{last_match_rule:Sn.target.checked}):an);gn(fn)}},Me.createElement("span",{className:"font14"},"\u672B\u5C3E\u5339\u914D",Me.createElement("span",{className:"font12 c-light-black"},"\uFF08\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173\uFF09")))))))))),Me.createElement("h4",{className:"font14 mt20 mb10"},Me.createElement("span",{className:le.sub},"*"),"\u8BC4\u6D4B\u811A\u672C"),Me.createElement(wt.Z,{title:!Ue&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Me.createElement(Dt.default.Item,{name:"choice_standard_scripts",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C"}]},Me.createElement(Oe.default,{getPopupContainer:Le=>Le.parentNode,size:"large",style:{width:400},placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C"},Fn.map((Le,rt)=>Me.createElement(Oe.default.Option,{value:Le.id,key:rt},Le.scptname))))),Me.createElement(wt.Z,{title:!Ue&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Me.createElement(Dt.default.Item,{name:"evaluate_script"},Me.createElement(pe.ZP,{height:450,style:{border:"1px solid #ccc"},language:"shell",theme:"vs-light",options:{readOnly:!Ue}}))),(0,Ae.Ny)()&&Me.createElement(Zt.Z,{className:"mb20",align:"middle"},Me.createElement(Dt.default.Item,{name:"use_jupyter_result",className:"mt10",valuePropName:"checked",noStyle:!0},Me.createElement(te.Z,null)),Me.createElement("div",{className:"ml10"},"\u662F\u5426\u6CBF\u7528Jupyter\u8FD0\u884C\u7ED3\u679C"))),Me.createElement(ne.t,{okText:"\u4FDD\u5B58",hasOkBtn:ni,loading:yi,onCancel:()=>it.history.push(`/shixuns/${ei==null?void 0:ei.id}/challenges`),onOk:()=>on.submit(),className:ze==="jupyterLab"?le.btn:""}))}},46539:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return dt}});var ue=Pe(59301),it=Pe(43418),Mt=Pe(3113),kt=Pe(8591),Dt=Pe(99313),Wt=Pe(71418),Ve=Pe(10311),bt=Pe(5871),wt={modal:"modal___NEEbt",con_warp:"con_warp___fZ8It",flex:"flex___Vqd1D",config_Warp:"config_Warp___m6wfT",config_btn:"config_btn___OL6qH",sceneList:"sceneList___SKegj",sceneItem:"sceneItem___RPw0S",sceneItemActive:"sceneItemActive___O_xTR"},pt=Pe(11724),St=Pe(62772),Ut=Pe(99064),Zt=Pe(59301),Oe=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,xe=(yt,ut,Ot)=>ut in yt?Oe(yt,ut,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):yt[ut]=Ot,Ae=(yt,ut)=>{for(var Ot in ut||(ut={}))le.call(ut,Ot)&&xe(yt,Ot,ut[Ot]);if(de)for(var Ot of de(ut))pe.call(ut,Ot)&&xe(yt,Ot,ut[Ot]);return yt},Me=(yt,ut)=>te(yt,ne(ut)),ke=(yt,ut,Ot)=>new Promise((xt,Nt)=>{var Jt=hi=>{try{Ai(Ot.next(hi))}catch(kn){Nt(kn)}},vn=hi=>{try{Ai(Ot.throw(hi))}catch(kn){Nt(kn)}},Ai=hi=>hi.done?xt(hi.value):Promise.resolve(hi.value).then(Jt,vn);Ai((Ot=Ot.apply(yt,ut)).next())}),dt=({visible:yt,onOk:ut,onCancel:Ot,info:xt})=>{const[Nt,Jt]=(0,ue.useState)("1"),[vn,Ai]=(0,ue.useState)([{name:"gpu_limit",label:"GPU\u663E\u5361\u6570\u91CF",value:1,min:0,max:4,typeName:"\u4E2A"},{name:"gpu_memory_limit",label:"GPU\u663E\u5B58\u5927\u5C0F",value:1,min:0,max:64,typeName:"GB"}]),[hi,kn]=(0,ue.useState)([]),[ci,et]=(0,ue.useState)(0),[ze,yn]=(0,ue.useState)(null),[Xn,ei]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{yt&&on()},[yt]);const on=()=>{Jt("1"),yn(null),et(0),vn[0].value=(xt==null?void 0:xt.gpu_limit)||1,vn[1].value=(xt==null?void 0:xt.gpu_memory_limit)||16,Ai([...vn])};(0,ue.useEffect)(()=>{var jt,En;((En=(jt=hi==null?void 0:hi[ci])==null?void 0:jt.content)==null?void 0:En.length)>0&&yn(Me(Ae({},hi[ci].content[0]),{index:0}))},[Nt,ci,hi]);const xn=()=>ke(void 0,null,function*(){yield(0,Ut.ZP)("/api/home/example_cpu_list.json",{method:"GET"}).then(jt=>{var En;if(kn(jt),(jt==null?void 0:jt.length)>0){let Fn=Me(Ae({},(En=jt==null?void 0:jt[0])==null?void 0:En.content[0]),{index:0});yn(Fn)}})}),Dn=jt=>{Jt(jt),jt==="2"&&et(0)},yi=(jt,En)=>{Ai(vn.map(Fn=>Fn.name===jt?En(Fn):Fn))},qn=(jt,En)=>{isNaN(jt)||yi(En,Fn=>Me(Ae({},Fn),{value:jt}))},Mi=(jt,En)=>{var Fn;if(console.log("decline",jt.value),jt.value=Number(jt.value),jt.value<=((Fn=jt.min)!=null?Fn:-1/0))return;let ri=jt.value-.5Me(Ae({},ni),{value:ri}))},mt=(jt,En)=>{var Fn;if(jt.value=Number(jt.value),jt.value>=((Fn=jt.max)!=null?Fn:1/0))return;let ri=jt.value+.5>jt.max?jt.max:jt.value+(En||.5);yi(jt.name,ni=>Me(Ae({},ni),{value:ri}))},ht=(jt,En)=>{isNaN(jt)||yi(En,Fn=>Me(Ae({},Fn),{value:jt}))},gn=jt=>{if(jt==null||Number.isInteger(jt))return jt;const En=jt%1;return En===.5?jt:Math.floor(jt)+(En<.5?.5:1)};return Zt.createElement(Zt.Fragment,null,Zt.createElement(it.default,{title:"\u8D44\u6E90\u914D\u7F6E",open:yt,width:752,destroyOnClose:!0,centered:!0,onCancel:Ot,className:wt.modal,footer:[Zt.createElement("div",{className:wt.btn_warp,key:"1"},Zt.createElement(Mt.ZP,{onClick:Ot},"\u53D6\u6D88"),Zt.createElement(Mt.ZP,{type:"primary",onClick:()=>{let jt=Ae({},xt);if(Nt=="1")jt.gpu_limit=vn[0].value,jt.gpu_memory_limit=vn[1].value;else if(Nt=="2"){if(!ze){kt.ZP.error("\u8BF7\u9009\u62E9\u4E00\u6761\u573A\u666F\u5BF9\u5E94\u7684CPU\u4E0E\u5185\u5B58");return}jt=Me(Ae({},jt),{gpu_limit:ze.gpu_limit,gpu_memory_limit:ze.gpu_memory_limit})}ut(jt)}},"\u4FDD\u5B58"))]},Zt.createElement(Dt.default,{activeKey:Nt,onChange:Dn},Zt.createElement(Dt.default.TabPane,{tab:"GPU\u914D\u7F6E",key:1},Zt.createElement(Wt.Z,{spinning:Xn},vn==null?void 0:vn.map(jt=>Zt.createElement("div",{className:wt.con_warp,key:jt==null?void 0:jt.name},Zt.createElement("div",null,jt==null?void 0:jt.label),Zt.createElement("div",null,Zt.createElement(Ve.Z,{min:jt==null?void 0:jt.min,max:jt==null?void 0:jt.max,onChange:En=>qn(En,jt==null?void 0:jt.name),value:jt==null?void 0:jt.value,step:jt.name==="gpu_limit"?1:.5,style:{width:422,height:6,margin:"0 20px 0 12px"}})),Zt.createElement("div",{className:`${wt.config_Warp} ${wt.flex}`},Zt.createElement("div",{className:`${wt.config_btn} ${wt.flex}`,onClick:()=>Mi(jt,jt.name==="gpu_limit"?1:.5)},Zt.createElement(pt.Z,null)),Zt.createElement(bt.Z,{min:jt==null?void 0:jt.min,max:jt==null?void 0:jt.max,size:"large",step:jt.name==="gpu_limit"?1:.5,controls:!1,style:{width:55},value:jt==null?void 0:jt.value,onChange:En=>{const Fn=gn(En);ht(Fn,jt==null?void 0:jt.name)}}),Zt.createElement("div",{className:`${wt.config_btn} ${wt.flex}`,onClick:()=>mt(jt,jt.name==="gpu_limit"?1:.5)},Zt.createElement(St.Z,null))),Zt.createElement("div",null,jt==null?void 0:jt.typeName))))))))}},14996:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Dt}});var ue=Pe(59301),it={label:"label___CZ1_z",left:"left___ZKFRV",right:"right___zVTRn",error:"error___oNJNo"},Mt=Pe(6848),Dt=({name:Wt,tooltipTitle:Ve,children:bt,required:wt,errorKey:pt,errorValue:St,errorName:Ut,errorStyle:Zt={},nameWidth:Oe=112,align:te="center",contentStyle:ne={}})=>ue.createElement(ue.Fragment,null,ue.createElement("div",{className:it.label,style:{alignItems:te}},ue.createElement("div",{className:it.left,style:{width:Oe}},wt&&ue.createElement("span",null,"*"),ue.createElement("div",null,Wt),!!Ve&&ue.createElement(Mt.Z,{title:Ve},ue.createElement("i",{className:"iconfont icon-xiaowenhao2"}))),ue.createElement("div",{className:it.right,style:ne},bt,Ut&&St===pt&&ue.createElement("div",{className:it.error,style:Zt},Ut))))},48843:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Wt}});var ue=Pe(59301),it={mirrorModal:"mirrorModal___Pi3tF",right:"right___Hot5f",title:"title___jjMKh",content:"content___BmOkD",des:"des___oGTUM",modal:"modal___yy3VB"},Mt=Pe(43418),kt=Pe(85149),Wt=({title:Ve,children:bt,value:wt})=>{const[pt,St]=(0,ue.useState)(!1);return ue.createElement(ue.Fragment,null,ue.createElement("span",{onClick:()=>St(!0)},bt),ue.createElement(Mt.default,{title:Ve,open:pt,width:1e3,destroyOnClose:!0,centered:!0,onCancel:()=>St(!1),className:it.modal,footer:null},typeof wt=="string"&&ue.createElement(kt.Z,{value:wt||""}),Object.prototype.toString.call(wt)==="[object Array]"&&ue.createElement(ue.Fragment,null,wt==null?void 0:wt.map((Ut,Zt)=>ue.createElement("div",{key:Zt},ue.createElement("b",null,Ut.name||Ut.type_name),ue.createElement(kt.Z,{value:Ut.description||""}))))))}},43181:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return En}});var ue=Pe(59301),it=Pe(43418),Mt=Pe(8591),kt=Pe(43428),Dt=Pe(99313),Wt=Pe(71418),Ve=Pe(6848),bt=Pe(3113),wt={header_body:"header_body___lAlEX",close:"close___OXweN",no_data:"no_data___h77J2",recommend_config_introduce:"recommend_config_introduce___ifFGY",recommend_config:"recommend_config___UXyKS",recommend_config_item:"recommend_config_item___zONum",item_title:"item_title___w5vXw",recommend_text:"recommend_text___f68Eu",item_content:"item_content___j_zbN",recommend_config_active_item:"recommend_config_active_item___SrTkJ",recommend_config_footer:"recommend_config_footer___PHnlA",application:"application___uh4gI",tooltip:"tooltip___f0uXh",disabled:"disabled___Ha9Ba"},pt=Pe(99267),St=Pe(61485),Ut=Pe(13014),Zt=Pe(93314),Oe=Pe(99064),te=Pe(76411),ne={lineChart:"lineChart___dCEZW"},de=Pe(61186),le=Pe.n(de),pe=Pe(59301),Ae=({dataInfo:Fn,indexKey:ri,valueName:ni,startAndEndTime:mn,colors:zt=["#DA4928","#2EC25B","#FEBD49","#498FEA","#9363D8"],imageTypeName:$e})=>{let At=null;(0,ue.useEffect)(()=>{Le()},[Fn]),(0,ue.useEffect)(()=>{window.addEventListener("resize",Yt(()=>{At&&At.resize()},200))},[window.onresize]);const Yt=(rt,Sn,fn=!1)=>{let an,$t;return(...fi)=>{if(fn){rt.apply($t,fi),fn=!1;return}clearTimeout(an),an=setTimeout(()=>{rt.apply($t,fi)},Sn)}},Ie=rt=>rt?rt.map(Sn=>{const fn=new Date(Sn),an=String(fn.getMonth()+1).padStart(2,"0"),$t=String(fn.getDate()).padStart(2,"0"),fi=String(fn.getHours()).padStart(2,"0"),Mn=String(fn.getMinutes()).padStart(2,"0");return`${an}/${$t} ${fi}:${Mn}`}):[],Ce=(rt,Sn)=>rt.map(fn=>{const an=Sn.timestamps.indexOf(fn);return an!==-1?Sn.values[an]:null});function Ee(rt){let Sn=1/0;for(let an=0;an{let an=[];for(let $t=rt;$t<=Sn;$t+=fn)an.push($t);return an},Ue=()=>{var rt;const Sn=((rt=Fn==null?void 0:Fn.x)==null?void 0:rt.flat())||[];let fn=[...new Set(Sn)].sort((sr,ro)=>sr-ro),an=Ee(fn),$t=an==null?void 0:an.newArray,fi=an==null?void 0:an.minInterval;fn=[...new Set([...fn,...$t])].sort((sr,ro)=>sr-ro);let Mn=le()(mn[0],"YYYY-MM-DD HH:mm").valueOf(),On=Te(Mn,fn[0]-fi,fi),Hi=le()(mn[1],"YYYY-MM-DD HH:mm").valueOf(),Si=Te(fn[fn.length-1]+fi,Hi,fi);return fn=[...On,...fn,...Si],[...new Set(fn)].sort((sr,ro)=>sr-ro)},Le=()=>{var rt;At=te.init(document.getElementById(`lineChart${ri}`));let Sn=Ue(),fn=(rt=Fn==null?void 0:Fn.y)==null?void 0:rt.map(($t,fi)=>{var Mn;let On={timestamps:(Mn=Fn==null?void 0:Fn.x)==null?void 0:Mn[fi],values:$t};return $t=Ce(Sn,On),{name:ni[fi],type:"line",itemStyle:{show:!1},lineStyle:{color:zt[fi]},data:$t}}),an={tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{color:"rgba(212, 217, 227, 1)",type:"dashed"}},backgroundColor:"#fff",textStyle:{color:"#333333"},padding:10,extraCssText:"box-shadow: 0px 4px 8px 0px rgba(184,194,202,0.5)",formatter:function($t){var fi;let Mn="";return $t.forEach((On,Hi)=>{console.log("item",On),Mn+=`
${$e[On==null?void 0:On.componentIndex]}
-
${On.value>0?On.value.toFixed(5):On.value==0?0:"--"} ${ii==0?"Cores":"MiB"}
+
${On.value>0?On.value.toFixed(5):On.value==0?0:"--"} ${ri==0?"Cores":"MiB"}
`}),`
-
${(fi=qt[0])==null?void 0:fi.name}
+
${(fi=$t[0])==null?void 0:fi.name}
${Mn} -
`}},grid:{right:"5%",bottom:"20%",top:"10%"},dataZoom:[{show:!0,start:0,end:100},{type:"inside",start:20,end:100}],xAxis:[{type:"category",gridIndex:0,boundaryGap:!0,axisTick:{show:!1,alignWithLabel:!1},axisLine:{show:!0,lineStyle:{color:"#F0F0F0",type:"solid"}},axisLabel:{show:!0,color:"#9096A3"},splitLine:{show:!1},data:Ie(Sn)}],yAxis:[{type:"value",gridIndex:0,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!0,color:"#9096A3",formatter:ii==1?"{value} MiB":"{value} Cores"},splitLine:{show:!0,lineStyle:{color:"#EDEDED",type:"dashed"}}}],series:fn};At.setOption(an)};return pe.createElement("div",{id:`lineChart${ii}`,className:ne.lineChart})},Me=Pe(85057),ke={flex_warp:"flex_warp___Rtigf",chart_content:"chart_content___tVmUj",chart_title:"chart_title___AOPx7",listdata:"listdata___mi4KG",block:"block___prArl",typename:"typename___j4diD",val:"val___MeuWc",info_con:"info_con___eIdJL",info_top:"info_top___UKMbT",fullscreen:"fullscreen___PICBn",chart_content_qp:"chart_content_qp___ae1n1",spin_dom:"spin_dom___T7PCy"},lt=Pe(57809),dt=Pe(5083),yt=Pe(88522);const ut=Fn=>{const ii=new Date,mn=(zt=>{const $e=new Date(ii);switch(zt){case"\u6700\u8FD130\u5206\u949F":$e.setMinutes(ii.getMinutes()-30);break;case"\u6700\u8FD13\u5C0F\u65F6":$e.setHours(ii.getHours()-3);break;case"\u6700\u8FD124\u5C0F\u65F6":$e.setDate(ii.getDate()-1);break;case"\u6700\u8FD17\u5929":$e.setDate(ii.getDate()-7);break;case"\u6700\u8FD115\u5929":$e.setDate(ii.getDate()-15);break;default:return null}return $e})(Fn);return mn?{startTime:mn,endTime:ii}:null},Tt=(Fn,ii,ni)=>{if(!Fn)return!1;const mn=le()(),[zt,$e]=ii;if(Fn.isAfter(mn))return!0;if(zt){const At=zt.clone().add(ni,"days");if($e&&Fn.isAfter(At))return!0}if($e){const At=$e.clone().subtract(ni,"days");return Fn.isBefore(At)||Fn.isAfter(mn)}return!1},xt=Fn=>Fn<=5?"30s":Fn<=15?"1m":Fn<=30?"2m":Fn<=60?"5m":Fn<=180?"10m":Fn<=360?"30m":Fn<=720?"1h":Fn<=1440?"2h":Fn<=2880?"4h":Fn<=4320?"8h":Fn<=10080||Fn<=14400?"12h":Fn<=21600?"1d":"\u6CA1\u6709\u5339\u914D\u7684\u65F6\u95F4\u95F4\u9694",Nt=Fn=>{const[ii,ni]=Fn,mn=moment.isMoment(ii)?ii:moment(ii),zt=moment.isMoment(ni)?ni:moment(ni);if(!mn.isValid()||!zt.isValid())throw new Error("Invalid date provided");const At=moment.duration(zt.diff(mn)).asMinutes();return xt(At)},Jt=(Fn,ii,ni=20)=>{const mn=new Date(Fn).getTime(),zt=new Date(ii).getTime(),$e=ni*1e3,At=[];let Yt=mn;for(;Yt<=zt;)At.push(Yt),Yt+=$e;return At};var vn=Pe(89392),Ai=Pe(8797),hi=Pe(4901),kn=Pe(59301),ci=(Fn,ii,ni)=>new Promise((mn,zt)=>{var $e=Ie=>{try{Yt(ni.next(Ie))}catch(Ce){zt(Ce)}},At=Ie=>{try{Yt(ni.throw(Ie))}catch(Ce){zt(Ce)}},Yt=Ie=>Ie.done?mn(Ie.value):Promise.resolve(Ie.value).then($e,At);Yt((ni=ni.apply(Fn,ii)).next())});const et=lt.default.Option,{RangePicker:ze}=dt.default;var Xn=({identifier:Fn,data:ii,isFirst:ni,setIsFirst:mn,info:zt})=>{var $e;const[At,Yt]=(0,ue.useState)([]),[Ie,Ce]=(0,ue.useState)([]),[Ee,Te]=(0,ue.useState)(null),[Ue,Le]=(0,ue.useState)(""),[rt,Sn]=(0,ue.useState)([null,null]),[fn,an]=(0,ue.useState)([]),[qt,fi]=(0,ue.useState)(!1),[Mn,On]=(0,ue.useState)([]),[Hi,Si]=(0,ue.useState)(!1),[sr,ro]=(0,ue.useState)(!1),[Wo,No]=(0,ue.useState)(""),[Lr,Ko]=(0,ue.useState)(1),Oo=["\u6700\u8FD130\u5206\u949F","\u6700\u8FD13\u5C0F\u65F6","\u6700\u8FD124\u5C0F\u65F6","\u6700\u8FD17\u5929","\u6700\u8FD115\u5929"],So=["#DA4928","#2EC25B","#FEBD49","#498FEA","#9363D8"];(0,ue.useEffect)(()=>{var mi,Jn,nr,tn;if(ii&&ni){Vi(),Yt(ii==null?void 0:ii.recent_users),Ce(ii==null?void 0:ii.managers);const _t=(zt==null?void 0:zt.type)==="\u6311\u6218\u9875\u9762";((mi=ii==null?void 0:ii.managers)==null?void 0:mi.length)>0?Te(_t?zt==null?void 0:zt.myshixun_id:(Jn=ii==null?void 0:ii.managers[0])==null?void 0:Jn.id):((nr=ii==null?void 0:ii.recent_users)==null?void 0:nr.length)>0&&Te(_t?zt==null?void 0:zt.myshixun_id:(tn=ii==null?void 0:ii.recent_users[0])==null?void 0:tn.id),Le("\u6700\u8FD130\u5206\u949F"),mn(!1)}},[ii]),(0,ue.useEffect)(()=>{if(Ue){let mi=ut(Ue);Sn([le()(mi==null?void 0:mi.startTime),le()(mi==null?void 0:mi.endTime)])}},[Ue]),(0,ue.useEffect)(()=>{Ee&&(rt!=null&&rt[0])&&(rt!=null&&rt[1])&&Eo()},[Ee,rt]);const Eo=()=>ci(void 0,null,function*(){var mi;fi(!0);let Jn={startTimeString:rt[0]?rt[0].format("YYYY-MM-DD HH:mm"):null,endTimeString:rt[1]?rt[1].format("YYYY-MM-DD HH:mm"):null,samplingInterval:"20s",isSortBoolean:!1,id:Ee};const nr=yield(0,Oe.ZP)(`/api/shixuns/${Fn}/cpu_rank_data.json`,{method:"get",params:Jn});(nr==null?void 0:nr.status)==0&&(On((mi=nr==null?void 0:nr.data)==null?void 0:mi.statisticsList),Ko(Lr+1)),fi(!1)}),Tr=(0,ue.useRef)((0,vn.throttle)(mi=>Be(mi),1200,{leading:!0,trailing:!0})).current,Be=mi=>ci(void 0,null,function*(){if(mi=="")return;const Jn=yield(0,Oe.ZP)(`/api/shixuns/${Fn}/cpu_search_data`,{method:"get",params:{search:mi}});(Jn==null?void 0:Jn.status)==0&&an(Jn==null?void 0:Jn.data)}),ya=(mi,Jn)=>{mi==="CPU"?(Hi?(0,hi.BU)():(0,hi.Dj)(document.getElementById(`tj${Jn}`)),Si(!Hi)):(sr?(0,hi.BU)():(0,hi.Dj)(document.getElementById(`tj${Jn}`)),ro(!sr))},to=(mi,Jn,nr)=>{const tn=Jn==="CPU"?"cpuUsageChart":"memoryUsageChart";let _t=mi.map(Li=>{var yr,Oi,Zn,ki;const Vr=(yr=Li.promQueryResult)==null?void 0:yr[tn],br=`${Li.envId}-${Li.myPracticalTrainingId}_${Jn}`,Br=((ki=(Zn=(Oi=Vr==null?void 0:Vr.results[br])==null?void 0:Oi.frames[0])==null?void 0:Zn.data)==null?void 0:ki.values)||[];return Br.length>0?Br[nr]:[]});return _t.some(Li=>Array.isArray(Li)&&Li.length>0)?_t:[]},zn=mi=>{Te(mi),Vi()},Vi=()=>{an([]),No("")},Wi=mi=>{let Jn=!1;for(let nr=0;nr<(Mn==null?void 0:Mn.length);nr++){let tn=to(Mn,mi,1)[nr];if(tn&&(tn==null?void 0:tn.length)>0){Jn=!0;break}}return(Mn==null?void 0:Mn.length)>0&&Jn};return kn.createElement(kn.Fragment,null,kn.createElement("div",{className:`${ke.flex_warp}`},kn.createElement(yt.Z,{allowClear:!0,showSearch:!0,value:Wo,style:{width:280},onSearch:Tr,placeholder:"\u641C\u7D22\u59D3\u540D/\u624B\u673A\u53F7/\u90AE\u7BB1",onChange:(mi,Jn)=>{No(mi),Jn!=null&&Jn.key&&Te(Number(Jn==null?void 0:Jn.key))},onClear:Vi,size:"large"},fn==null?void 0:fn.map((mi,Jn)=>kn.createElement(et,{key:mi.id,value:mi.name},mi.name.length>4?`${mi.name.slice(0,4)}...`:mi.name,`( ${mi.phone?mi.phone:""} ${mi.mail?` - ${mi.mail}`:""})`))),kn.createElement("div",null,kn.createElement(lt.default,{style:{width:130,marginRight:20},placeholder:"\u8BF7\u9009\u62E9",size:"large",value:Ue,onChange:mi=>{Le(mi)}},Oo.map((mi,Jn)=>kn.createElement(lt.default.Option,{key:Jn,value:mi},mi))),kn.createElement(ze,{style:{width:320},showTime:!0,size:"large",allowClear:!1,value:rt,disabledDate:mi=>Tt(mi,rt,15),format:"YYYY-MM-DD HH:mm",onChange:mi=>{Sn(mi),Le(void 0)}}))),kn.createElement(Me.qp,{title:"\u5408\u4F5C\u6210\u5458",style:{marginTop:"24px"},value:Ee,onChange:mi=>zn(mi),dataSource:Ie,titleWidth:60,key:1}),kn.createElement(Me.qp,{title:"\u6700\u8FD1\u5B9E\u9A8C",className:(At==null?void 0:At.length)==0?"mt0":"",style:{marginBottom:(At==null?void 0:At.length)>0?"0px":"17px"},value:Ee,onChange:mi=>zn(mi),dataSource:At,titleWidth:60,key:2}),($e=[{name:"CPU",type:"CPU"},{name:"\u5185\u5B58",type:"MEMORY"}])==null?void 0:$e.map((mi,Jn)=>kn.createElement("div",{className:`${ke.chart_content}`,key:Jn,id:`tj${Jn}`},kn.createElement("div",{className:ke.chart_title},kn.createElement("span",null,mi==null?void 0:mi.name,"\u4F7F\u7528\u91CF"),kn.createElement("i",{className:`${ke.fullscreen} +
`}},grid:{right:"5%",bottom:"20%",top:"10%"},dataZoom:[{show:!0,start:0,end:100},{type:"inside",start:20,end:100}],xAxis:[{type:"category",gridIndex:0,boundaryGap:!0,axisTick:{show:!1,alignWithLabel:!1},axisLine:{show:!0,lineStyle:{color:"#F0F0F0",type:"solid"}},axisLabel:{show:!0,color:"#9096A3"},splitLine:{show:!1},data:Ie(Sn)}],yAxis:[{type:"value",gridIndex:0,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!0,color:"#9096A3",formatter:ri==1?"{value} MiB":"{value} Cores"},splitLine:{show:!0,lineStyle:{color:"#EDEDED",type:"dashed"}}}],series:fn};At.setOption(an)};return pe.createElement("div",{id:`lineChart${ri}`,className:ne.lineChart})},Me=Pe(85057),ke={flex_warp:"flex_warp___Rtigf",chart_content:"chart_content___tVmUj",chart_title:"chart_title___AOPx7",listdata:"listdata___mi4KG",block:"block___prArl",typename:"typename___j4diD",val:"val___MeuWc",info_con:"info_con___eIdJL",info_top:"info_top___UKMbT",fullscreen:"fullscreen___PICBn",chart_content_qp:"chart_content_qp___ae1n1",spin_dom:"spin_dom___T7PCy"},lt=Pe(57809),dt=Pe(5083),yt=Pe(88522);const ut=Fn=>{const ri=new Date,mn=(zt=>{const $e=new Date(ri);switch(zt){case"\u6700\u8FD130\u5206\u949F":$e.setMinutes(ri.getMinutes()-30);break;case"\u6700\u8FD13\u5C0F\u65F6":$e.setHours(ri.getHours()-3);break;case"\u6700\u8FD124\u5C0F\u65F6":$e.setDate(ri.getDate()-1);break;case"\u6700\u8FD17\u5929":$e.setDate(ri.getDate()-7);break;case"\u6700\u8FD115\u5929":$e.setDate(ri.getDate()-15);break;default:return null}return $e})(Fn);return mn?{startTime:mn,endTime:ri}:null},Ot=(Fn,ri,ni)=>{if(!Fn)return!1;const mn=le()(),[zt,$e]=ri;if(Fn.isAfter(mn))return!0;if(zt){const At=zt.clone().add(ni,"days");if($e&&Fn.isAfter(At))return!0}if($e){const At=$e.clone().subtract(ni,"days");return Fn.isBefore(At)||Fn.isAfter(mn)}return!1},xt=Fn=>Fn<=5?"30s":Fn<=15?"1m":Fn<=30?"2m":Fn<=60?"5m":Fn<=180?"10m":Fn<=360?"30m":Fn<=720?"1h":Fn<=1440?"2h":Fn<=2880?"4h":Fn<=4320?"8h":Fn<=10080||Fn<=14400?"12h":Fn<=21600?"1d":"\u6CA1\u6709\u5339\u914D\u7684\u65F6\u95F4\u95F4\u9694",Nt=Fn=>{const[ri,ni]=Fn,mn=moment.isMoment(ri)?ri:moment(ri),zt=moment.isMoment(ni)?ni:moment(ni);if(!mn.isValid()||!zt.isValid())throw new Error("Invalid date provided");const At=moment.duration(zt.diff(mn)).asMinutes();return xt(At)},Jt=(Fn,ri,ni=20)=>{const mn=new Date(Fn).getTime(),zt=new Date(ri).getTime(),$e=ni*1e3,At=[];let Yt=mn;for(;Yt<=zt;)At.push(Yt),Yt+=$e;return At};var vn=Pe(89392),Ai=Pe(8797),hi=Pe(4901),kn=Pe(59301),ci=(Fn,ri,ni)=>new Promise((mn,zt)=>{var $e=Ie=>{try{Yt(ni.next(Ie))}catch(Ce){zt(Ce)}},At=Ie=>{try{Yt(ni.throw(Ie))}catch(Ce){zt(Ce)}},Yt=Ie=>Ie.done?mn(Ie.value):Promise.resolve(Ie.value).then($e,At);Yt((ni=ni.apply(Fn,ri)).next())});const et=lt.default.Option,{RangePicker:ze}=dt.default;var Xn=({identifier:Fn,data:ri,isFirst:ni,setIsFirst:mn,info:zt})=>{var $e;const[At,Yt]=(0,ue.useState)([]),[Ie,Ce]=(0,ue.useState)([]),[Ee,Te]=(0,ue.useState)(null),[Ue,Le]=(0,ue.useState)(""),[rt,Sn]=(0,ue.useState)([null,null]),[fn,an]=(0,ue.useState)([]),[$t,fi]=(0,ue.useState)(!1),[Mn,On]=(0,ue.useState)([]),[Hi,Si]=(0,ue.useState)(!1),[sr,ro]=(0,ue.useState)(!1),[Wo,No]=(0,ue.useState)(""),[Lr,Ko]=(0,ue.useState)(1),Oo=["\u6700\u8FD130\u5206\u949F","\u6700\u8FD13\u5C0F\u65F6","\u6700\u8FD124\u5C0F\u65F6","\u6700\u8FD17\u5929","\u6700\u8FD115\u5929"],So=["#DA4928","#2EC25B","#FEBD49","#498FEA","#9363D8"];(0,ue.useEffect)(()=>{var mi,Qn,nr,nn;if(ri&&ni){Vi(),Yt(ri==null?void 0:ri.recent_users),Ce(ri==null?void 0:ri.managers);const _t=(zt==null?void 0:zt.type)==="\u6311\u6218\u9875\u9762";((mi=ri==null?void 0:ri.managers)==null?void 0:mi.length)>0?Te(_t?zt==null?void 0:zt.myshixun_id:(Qn=ri==null?void 0:ri.managers[0])==null?void 0:Qn.id):((nr=ri==null?void 0:ri.recent_users)==null?void 0:nr.length)>0&&Te(_t?zt==null?void 0:zt.myshixun_id:(nn=ri==null?void 0:ri.recent_users[0])==null?void 0:nn.id),Le("\u6700\u8FD130\u5206\u949F"),mn(!1)}},[ri]),(0,ue.useEffect)(()=>{if(Ue){let mi=ut(Ue);Sn([le()(mi==null?void 0:mi.startTime),le()(mi==null?void 0:mi.endTime)])}},[Ue]),(0,ue.useEffect)(()=>{Ee&&(rt!=null&&rt[0])&&(rt!=null&&rt[1])&&Eo()},[Ee,rt]);const Eo=()=>ci(void 0,null,function*(){var mi;fi(!0);let Qn={startTimeString:rt[0]?rt[0].format("YYYY-MM-DD HH:mm"):null,endTimeString:rt[1]?rt[1].format("YYYY-MM-DD HH:mm"):null,samplingInterval:"20s",isSortBoolean:!1,id:Ee};const nr=yield(0,Oe.ZP)(`/api/shixuns/${Fn}/cpu_rank_data.json`,{method:"get",params:Qn});(nr==null?void 0:nr.status)==0&&(On((mi=nr==null?void 0:nr.data)==null?void 0:mi.statisticsList),Ko(Lr+1)),fi(!1)}),Tr=(0,ue.useRef)((0,vn.throttle)(mi=>Be(mi),1200,{leading:!0,trailing:!0})).current,Be=mi=>ci(void 0,null,function*(){if(mi=="")return;const Qn=yield(0,Oe.ZP)(`/api/shixuns/${Fn}/cpu_search_data`,{method:"get",params:{search:mi}});(Qn==null?void 0:Qn.status)==0&&an(Qn==null?void 0:Qn.data)}),ya=(mi,Qn)=>{mi==="CPU"?(Hi?(0,hi.BU)():(0,hi.Dj)(document.getElementById(`tj${Qn}`)),Si(!Hi)):(sr?(0,hi.BU)():(0,hi.Dj)(document.getElementById(`tj${Qn}`)),ro(!sr))},to=(mi,Qn,nr)=>{const nn=Qn==="CPU"?"cpuUsageChart":"memoryUsageChart";let _t=mi.map(Li=>{var yr,Oi,Zn,ki;const Vr=(yr=Li.promQueryResult)==null?void 0:yr[nn],br=`${Li.envId}-${Li.myPracticalTrainingId}_${Qn}`,Br=((ki=(Zn=(Oi=Vr==null?void 0:Vr.results[br])==null?void 0:Oi.frames[0])==null?void 0:Zn.data)==null?void 0:ki.values)||[];return Br.length>0?Br[nr]:[]});return _t.some(Li=>Array.isArray(Li)&&Li.length>0)?_t:[]},zn=mi=>{Te(mi),Vi()},Vi=()=>{an([]),No("")},Wi=mi=>{let Qn=!1;for(let nr=0;nr<(Mn==null?void 0:Mn.length);nr++){let nn=to(Mn,mi,1)[nr];if(nn&&(nn==null?void 0:nn.length)>0){Qn=!0;break}}return(Mn==null?void 0:Mn.length)>0&&Qn};return kn.createElement(kn.Fragment,null,kn.createElement("div",{className:`${ke.flex_warp}`},kn.createElement(yt.Z,{allowClear:!0,showSearch:!0,value:Wo,style:{width:280},onSearch:Tr,placeholder:"\u641C\u7D22\u59D3\u540D/\u624B\u673A\u53F7/\u90AE\u7BB1",onChange:(mi,Qn)=>{No(mi),Qn!=null&&Qn.key&&Te(Number(Qn==null?void 0:Qn.key))},onClear:Vi,size:"large"},fn==null?void 0:fn.map((mi,Qn)=>kn.createElement(et,{key:mi.id,value:mi.name},mi.name.length>4?`${mi.name.slice(0,4)}...`:mi.name,`( ${mi.phone?mi.phone:""} ${mi.mail?` - ${mi.mail}`:""})`))),kn.createElement("div",null,kn.createElement(lt.default,{style:{width:130,marginRight:20},placeholder:"\u8BF7\u9009\u62E9",size:"large",value:Ue,onChange:mi=>{Le(mi)}},Oo.map((mi,Qn)=>kn.createElement(lt.default.Option,{key:Qn,value:mi},mi))),kn.createElement(ze,{style:{width:320},showTime:!0,size:"large",allowClear:!1,value:rt,disabledDate:mi=>Ot(mi,rt,15),format:"YYYY-MM-DD HH:mm",onChange:mi=>{Sn(mi),Le(void 0)}}))),kn.createElement(Me.qp,{title:"\u5408\u4F5C\u6210\u5458",style:{marginTop:"24px"},value:Ee,onChange:mi=>zn(mi),dataSource:Ie,titleWidth:60,key:1}),kn.createElement(Me.qp,{title:"\u6700\u8FD1\u5B9E\u9A8C",className:(At==null?void 0:At.length)==0?"mt0":"",style:{marginBottom:(At==null?void 0:At.length)>0?"0px":"17px"},value:Ee,onChange:mi=>zn(mi),dataSource:At,titleWidth:60,key:2}),($e=[{name:"CPU",type:"CPU"},{name:"\u5185\u5B58",type:"MEMORY"}])==null?void 0:$e.map((mi,Qn)=>kn.createElement("div",{className:`${ke.chart_content}`,key:Qn,id:`tj${Qn}`},kn.createElement("div",{className:ke.chart_title},kn.createElement("span",null,mi==null?void 0:mi.name,"\u4F7F\u7528\u91CF"),kn.createElement("i",{className:`${ke.fullscreen} iconfont ${(mi==null?void 0:mi.type)=="CPU"?Hi?"icon-tuichuquanping2":"icon-quanping2":sr?"icon-tuichuquanping2":"icon-quanping2"} - `,onClick:()=>ya(mi.type,Jn)})),kn.createElement(Wt.Z,{spinning:qt},Wi(mi.type)?kn.createElement("div",{style:{marginTop:(mi==null?void 0:mi.type)=="CPU"?Hi?"7%":"":sr?"7%":""}},kn.createElement(Ae,{dataInfo:{y:to(Mn,mi==null?void 0:mi.type,1)||[],x:to(Mn,mi==null?void 0:mi.type,0)||[]},startAndEndTime:rt,colors:So,indexKey:Jn,valueName:Mn.map(nr=>nr.name),imageTypeName:Mn.map(nr=>{var tn;return(tn=nr==null?void 0:nr.promQueryResult)==null?void 0:tn.imageTypeName}),key:`${Jn}-${Lr}`}),kn.createElement("div",{className:ke.info_con},kn.createElement("div",{className:ke.info_top},kn.createElement("div",null,"\u6700\u5927\u503C"),kn.createElement("div",null,"\u6700\u5C0F\u503C"),kn.createElement("div",null,"\u5E73\u5747\u503C")),Mn.map((nr,tn)=>{var _t;let Rt=nr==null?void 0:nr.promQueryResult;return kn.createElement("div",{className:ke.listdata,key:tn},kn.createElement("div",{className:ke.block,style:{backgroundColor:So[tn],marginRight:10}}),kn.createElement("div",{className:ke.typename},(_t=nr==null?void 0:nr.promQueryResult)==null?void 0:_t.imageTypeName),kn.createElement("div",{className:ke.val},(mi==null?void 0:mi.type)=="CPU"?`${Rt==null?void 0:Rt.cpuMaxDoubleValue}Cores`:`${Rt==null?void 0:Rt.memoryDoubleMaxValue}MiB`),kn.createElement("div",{className:ke.val},(mi==null?void 0:mi.type)=="CPU"?`${Rt==null?void 0:Rt.cpuMinDoubleValue}Cores`:`${Rt==null?void 0:Rt.memoryDoubleMinValue}MiB`),kn.createElement("div",{className:ke.val},(mi==null?void 0:mi.type)=="CPU"?`${Rt==null?void 0:Rt.cpuAvgDoubleValue}Cores`:`${Rt==null?void 0:Rt.memoryDoubleAvgValue}MiB`))}))):kn.createElement(Ai.Z,null)))))},ei=Pe(59301),rn=(Fn,ii,ni)=>new Promise((mn,zt)=>{var $e=Ie=>{try{Yt(ni.next(Ie))}catch(Ce){zt(Ce)}},At=Ie=>{try{Yt(ni.throw(Ie))}catch(Ce){zt(Ce)}},Yt=Ie=>Ie.done?mn(Ie.value):Promise.resolve(Ie.value).then($e,At);Yt((ni=ni.apply(Fn,ii)).next())}),Dn=({getApi:Fn,identifier:ii,visible:ni,info:mn})=>{const[zt,$e]=(0,ue.useState)({}),[At,Yt]=(0,ue.useState)(!0);(0,ue.useEffect)(()=>{Yt(!0)},[ni]),(0,ue.useEffect)(()=>{Fn&&At&&Ie()},[Fn]);const Ie=()=>rn(void 0,null,function*(){const Ce=yield(0,Oe.ZP)(`/api/shixuns/${ii}/cpu_basic_data.json`,{method:"get"});(Ce==null?void 0:Ce.status)==0&&$e(Ce)});return ei.createElement("div",null,ei.createElement(Xn,{isFirst:At,setIsFirst:Ce=>Yt(Ce),identifier:ii,data:zt,info:mn}))},yi=Pe(955),qn=Pe(89070),Mi=Pe(49692),mt=Pe(46474),ht=Pe(59301),gn=(Fn,ii,ni)=>new Promise((mn,zt)=>{var $e=Ie=>{try{Yt(ni.next(Ie))}catch(Ce){zt(Ce)}},At=Ie=>{try{Yt(ni.throw(Ie))}catch(Ce){zt(Ce)}},Yt=Ie=>Ie.done?mn(Ie.value):Promise.resolve(Ie.value).then($e,At);Yt((ni=ni.apply(Fn,ii)).next())});const jt=({globalSetting:Fn,dispatch:ii,practiceSetting:ni,shixunsDetail:mn,visible:zt,onCancel:$e,info:At,identifier:Yt,isJupyter:Ie,onOk:Ce})=>{const[Ee,Te]=(0,ue.useState)("1"),[Ue,Le]=(0,ue.useState)("\u63A8\u8350\u914D\u7F6E"),[rt,Sn]=(0,ue.useState)([]),[fn,an]=(0,ue.useState)(!1),[qt,fi]=(0,ue.useState)(!1),[Mn,On]=(0,ue.useState)({}),[Hi,Si]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{zt&&(fi(!1),Te("1"),Le("\u63A8\u8350\u914D\u7F6E"),(At==null?void 0:At.type)=="\u6311\u6218\u9875\u9762"?Sn(["\u5F53\u524D\u914D\u7F6E","\u63A8\u8350\u914D\u7F6E"]):Sn(["\u5F53\u524D\u914D\u7F6E","\u63A8\u8350\u914D\u7F6E","\u589E\u5F3A\u914D\u7F6E"]),On({}),sr(),(At==null?void 0:At.type)=="\u6311\u6218\u9875\u9762"&&ii({type:"shixunsDetail/getShixunsDetail",payload:{id:Yt}}))},[zt]);const sr=()=>gn(void 0,null,function*(){Si(!0);const Eo=yield(0,Mi.HS)(Yt);[0,-10].includes(Eo.status)&&(On(Eo),Si(!1))}),ro=Eo=>{Eo=="2"?fi(!0):fi(!1),Te(Eo)},Wo=()=>{it.default.info({centered:!0,icon:null,width:424,title:"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458",content:ht.createElement("div",{className:"tc"},ht.createElement("img",{src:Ut,alt:"\u4E8C\u7EF4\u7801",width:182,height:182,style:{pointerEvents:"none",userSelect:"none"}})),okText:"\u6211\u77E5\u9053\u4E86"})},No=()=>gn(void 0,null,function*(){if((0,mt.gy)(ii,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")||Ue=="\u5F53\u524D\u914D\u7F6E")return;an(!0),(yield(0,Oe.ZP)(`/api/shixuns/${Yt}/apply_recommend_config.json`,{method:"put",body:{data:Ue=="\u63A8\u8350\u914D\u7F6E"?Mn==null?void 0:Mn.recommend:Mn==null?void 0:Mn.high}})).status==0&&(Mt.ZP.success("\u5E94\u7528\u6210\u529F"),an(!1),$e(),Ce())}),Lr=()=>gn(void 0,null,function*(){var Eo,Tr;if(yield Ko(),(0,yi.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),(Eo=mn.detail)!=null&&Eo.is_jupyter||(Tr=mn.detail)!=null&&Tr.is_jupyter_lab){ii({type:"shixunsDetail/execJupyter",payload:{id:Yt}}).then(ya=>{var to;ya!=null&&ya.identifier&&((to=qn.history)==null||to.push(`/tasks/${ya.identifier}/jupyter`))});return}ii({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const Be=Ie?yield(0,Mi.BK)({id:Yt}):yield(0,Mi.Ir)({id:Yt});if(ii({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),Be!=null&&Be.game_identifier||Be!=null&&Be.identifier){(0,yi.xg)(Ie?`/tasks/${Be==null?void 0:Be.identifier}/jupyter`:`/tasks/${Be.game_identifier}`);return}(Be==null?void 0:Be.status)===-3?(0,yi.eF)():(Be==null?void 0:Be.status)===2?Oo(Be==null?void 0:Be.message):(Be==null?void 0:Be.status)===3&&So(Be==null?void 0:Be.message)}),Ko=()=>new Promise((Eo,Tr)=>{var Be;(Be=ni==null?void 0:ni.sideBar)!=null&&Be.confirmLeave?it.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{ii({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Eo()},onCancel:()=>{Tr()}}):Eo()}),Oo=Eo=>{Eo=Eo!=null&&Eo.includes(".json")?Eo:`${Eo}.json`,it.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ht.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>gn(void 0,null,function*(){const Tr=yield(0,Oe.ZP)("/api"+Eo,{method:"get"});if(!Tr)return;Mt.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Be=yield(0,Mi.Ir)({id:Tr.shixun_identifier});if(Be!=null&&Be.game_identifier){(0,yi.xg)(`/tasks/${Be.game_identifier}`);return}(Be==null?void 0:Be.status)===2?Oo(Be==null?void 0:Be.message):(Be==null?void 0:Be.status)===3&&So(Be==null?void 0:Be.message)})})},So=Eo=>{it.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ht.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Eo,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})};return ht.createElement(ht.Fragment,null,ht.createElement(kt.Z,{title:null,placement:"right",open:zt,width:1e3,onClose:$e,closeIcon:null,footer:null},ht.createElement("div",{className:wt.header_body},ht.createElement("span",null,"\u914D\u7F6E\u4E0E\u76D1\u63A7"),ht.createElement(pt.Z,{className:wt.close,onClick:$e})),ht.createElement(Dt.default,{activeKey:Ee,onChange:ro},ht.createElement(Dt.default.TabPane,{tab:"\u63A8\u8350\u914D\u7F6E",key:1},ht.createElement(Wt.Z,{spinning:Hi,size:"large",tip:ht.createElement("div",{style:{color:"#666",fontSize:"14px"}},ht.createElement("div",{style:{color:"#232B40",fontWeight:"bolder",marginBottom:24,marginTop:14}},"\u6B63\u5728\u8BA1\u7B97\u2026"),ht.createElement("div",{style:{lineHeight:"26px"}},"\u7CFB\u7EDF\u6B63\u5728\u6839\u636E\u5B9E\u8DF5\u9879\u76EE\u4F7F\u7528\u7684\u5B9E\u9645\u60C5\u51B5\u8BA1\u7B97\u63A8\u8350\u914D\u7F6E",ht.createElement("br",null),"\u8BF7\u8010\u5FC3\u7B49\u5F85\u2026"))},(Mn==null?void 0:Mn.status)==0?ht.createElement(ht.Fragment,null,ht.createElement("div",{className:wt.recommend_config_introduce},ht.createElement("div",null,"\u5F53\u524D\u914D\u7F6E\uFF1A\u5B9E\u9A8C\u73AF\u5883\u76EE\u524D\u5DF2\u7ECF\u914D\u7F6E\u7684\u8D44\u6E90\u3002"),ht.createElement("div",null,"\u63A8\u8350\u914D\u7F6E\uFF1A\u7CFB\u7EDF\u6839\u636E\u5B9E\u8DF5\u9879\u76EE\u4F7F\u7528\u7684\u5B9E\u9645\u60C5\u51B5\uFF0C\u8BA1\u7B97\u51FA\u63A8\u8350\u914D\u7F6E\u3002\u4F7F\u7528\u7684\u4EBA\u8D8A\u591A\uFF0C\u63A8\u8350\u8D8A\u51C6\u786E\u3002"),ht.createElement("div",null,"\u589E\u5F3A\u914D\u7F6E\uFF1A\u9002\u7528\u4E8E\u8D44\u6E90\u6D88\u8017\u8F83\u9AD8\u7684\u5B9E\u8DF5\u9879\u76EE\u3002")),ht.createElement("div",{className:wt.recommend_config},rt.map((Eo,Tr)=>ht.createElement("div",{className:`${wt.recommend_config_item} ${Eo==Ue?wt.recommend_config_active_item:""}`,key:Eo,onClick:()=>Le(Eo)},ht.createElement("div",{className:wt.item_title},ht.createElement("div",null,Eo),Tr==1?ht.createElement("div",{className:wt.recommend_text},"\u63A8\u8350"):ht.createElement(ht.Fragment,null)),(Eo=="\u5F53\u524D\u914D\u7F6E"&&(Mn==null?void 0:Mn.current)||Eo=="\u63A8\u8350\u914D\u7F6E"&&(Mn==null?void 0:Mn.recommend)||Eo=="\u589E\u5F3A\u914D\u7F6E"&&(Mn==null?void 0:Mn.high)||[]).map((Be,ya)=>ht.createElement("div",{className:wt.item_content,key:ya},ht.createElement("span",null,Be==null?void 0:Be.image_name),Be!=null&&Be.cpu_limit?ht.createElement("span",null,Be==null?void 0:Be.cpu_limit,"\u6838",Be==null?void 0:Be.memory_limit,"G"):ht.createElement("div",null,ht.createElement("span",null,"\u6682\u65E0\u63A8\u8350"),ht.createElement(Ve.Z,{title:ht.createElement("div",{style:{lineHeight:"22px",padding:5}},"\u5B9E\u9A8C\u73AF\u5883\u4E3A\u7279\u6B8A\u7684\u4E13\u6709\u4E91\u6216\u65E0\u4F7F\u7528\u6570",ht.createElement("br",null),"\u636E\uFF0C\u7CFB\u7EDF\u65E0\u6CD5\u7ED9\u51FA\u63A8\u8350\u503C\u3002\u4E00\u952E\u5E94\u7528",ht.createElement("br",null),"\u7684\u65F6\u5019\uFF0C\u5C06\u4F7F\u7528\u539F\u914D\u7F6E\u3002")},ht.createElement(St.Z,{className:wt.tooltip})))))))),ht.createElement("div",{className:wt.recommend_config_footer},ht.createElement("div",null,ht.createElement("span",null,"\u6CA1\u627E\u5230\u5408\u9002\u7684\u914D\u7F6E\uFF1F"),ht.createElement("span",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>Wo()},"\u8054\u7CFB\u7BA1\u7406\u5458")),ht.createElement(bt.ZP,{type:"primary",shape:"round",disabled:Ue=="\u5F53\u524D\u914D\u7F6E",onClick:No,loading:fn},"\u4E00\u952E\u5E94\u7528"))):Hi?ht.createElement("div",{style:{height:400}}):ht.createElement("div",{className:wt.no_data},ht.createElement("img",{src:Zt,style:{pointerEvents:"none",userSelect:"none",width:212,height:160}}),ht.createElement("p",{className:"mt20 mb20 font14",style:{color:"#7B8394",width:"100%",lineHeight:"26px"}},"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u6CA1\u6709\u4EFB\u4F55\u4EBA\u4F7F\u7528\u8FC7\uFF0C\u7CFB\u7EDF\u65E0\u6CD5\u6839\u636E\u5B9E\u9645\u4F7F\u7528\u60C5\u51B5\u7ED9\u51FA\u63A8\u8350\u914D\u7F6E\u3002",ht.createElement("br",null),"\u5EFA\u8BAE\u60A8\u5148\u6A21\u62DF\u5B9E\u6218\u5E76\u901A\u5173~"),(At==null?void 0:At.type)!="\u6311\u6218\u9875\u9762"&&ht.createElement("div",{className:wt.application,onClick:()=>{Lr(),$e()}},"\u6A21\u62DF\u5B9E\u6218")))),ht.createElement(Dt.default.TabPane,{tab:"\u8D44\u6E90\u76D1\u63A7",key:2},ht.createElement(Dn,{getApi:qt,identifier:Yt,visible:zt,info:At})))))};var En=(0,qn.connect)(({globalSetting:Fn,practiceSetting:ii,shixunsDetail:ni})=>({globalSetting:Fn,practiceSetting:ii,shixunsDetail:ni}))(jt)},1535:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return ut}});var ue=Pe(59301),it=Pe(43418),Mt=Pe(3113),kt=Pe(8591),Dt=Pe(99313),Wt=Pe(71418),Ve=Pe(10311),bt=Pe(5871),wt=Pe(1710),pt={modal:"modal___aF6vS",con_warp:"con_warp___W1gHS",flex:"flex___Cbe__",config_Warp:"config_Warp___lXnUZ",config_btn:"config_btn___OAH7T",sceneList:"sceneList___N5Y3k",sceneItem:"sceneItem____bE1H",sceneItemActive:"sceneItemActive___e82B8"},St=Pe(11724),Ut=Pe(62772),Zt=Pe(99064),Oe=Pe(8797),te=Pe(59301),ne=Object.defineProperty,de=Object.defineProperties,le=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Me=(Tt,xt,Nt)=>xt in Tt?ne(Tt,xt,{enumerable:!0,configurable:!0,writable:!0,value:Nt}):Tt[xt]=Nt,ke=(Tt,xt)=>{for(var Nt in xt||(xt={}))xe.call(xt,Nt)&&Me(Tt,Nt,xt[Nt]);if(pe)for(var Nt of pe(xt))Ae.call(xt,Nt)&&Me(Tt,Nt,xt[Nt]);return Tt},lt=(Tt,xt)=>de(Tt,le(xt)),dt=(Tt,xt,Nt)=>new Promise((Jt,vn)=>{var Ai=ci=>{try{kn(Nt.next(ci))}catch(et){vn(et)}},hi=ci=>{try{kn(Nt.throw(ci))}catch(et){vn(et)}},kn=ci=>ci.done?Jt(ci.value):Promise.resolve(ci.value).then(Ai,hi);kn((Nt=Nt.apply(Tt,xt)).next())}),ut=({visible:Tt,onOk:xt,onCancel:Nt,info:Jt})=>{var vn,Ai,hi,kn,ci;const[et,ze]=(0,ue.useState)("1"),[yn,Xn]=(0,ue.useState)([]),[ei,rn]=(0,ue.useState)([]),[xn,Dn]=(0,ue.useState)(0),[yi,qn]=(0,ue.useState)(null),[Mi,mt]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{Tt&&(ht(),gn(),jt())},[Tt]);const ht=()=>{ze("1"),Xn([]),qn(null),Dn(0)};(0,ue.useEffect)(()=>{var At,Yt;((Yt=(At=ei==null?void 0:ei[xn])==null?void 0:At.content)==null?void 0:Yt.length)>0&&qn(lt(ke({},ei[xn].content[0]),{index:0}))},[et,xn,ei]);const gn=()=>dt(void 0,null,function*(){mt(!0),yield(0,Zt.ZP)("/api/home/cpu_memory_limit.json",{method:"GET"}).then(At=>{let{max_cpu:Yt,max_memory:Ie,min_cpu:Ce,min_memory:Ee}=At,{cpu:Te,memory:Ue}=Jt;Xn([{name:"CPU",value:Te,min:Ce,max:Yt,typeName:"\u6838"},{name:"\u5185\u5B58",value:Ue,min:Ee,max:Ie,typeName:"GB"}])}),mt(!1)}),jt=()=>dt(void 0,null,function*(){yield(0,Zt.ZP)("/api/home/example_cpu_list.json",{method:"GET"}).then(At=>{var Yt;if(rn(At),(At==null?void 0:At.length)>0){let Ie=lt(ke({},(Yt=At==null?void 0:At[0])==null?void 0:Yt.content[0]),{index:0});qn(Ie)}})}),En=At=>{ze(At),At==="2"&&Dn(0)},Fn=(At,Yt)=>{Xn(yn.map(Ie=>Ie.name===At?Yt(Ie):Ie))},ii=(At,Yt)=>{isNaN(At)||Fn(Yt,Ie=>lt(ke({},Ie),{value:At}))},ni=At=>{var Yt;if(console.log("decline",At.value),At.value=Number(At.value),At.value<=((Yt=At.min)!=null?Yt:-1/0))return;let Ie=At.value-.5lt(ke({},Ce),{value:Ie}))},mn=At=>{var Yt;if(At.value=Number(At.value),At.value>=((Yt=At.max)!=null?Yt:1/0))return;let Ie=At.value+.5>At.max?At.max:At.value+.5;Fn(At.name,Ce=>lt(ke({},Ce),{value:Ie}))},zt=(At,Yt)=>{isNaN(At)||Fn(Yt,Ie=>lt(ke({},Ie),{value:At}))},$e=At=>{if(At==null||Number.isInteger(At))return At;const Yt=At%1;return Yt===.5?At:Math.floor(At)+(Yt<.5?.5:1)};return te.createElement(te.Fragment,null,te.createElement(it.default,{title:"\u8D44\u6E90\u914D\u7F6E",open:Tt,width:752,destroyOnClose:!0,centered:!0,onCancel:Nt,className:pt.modal,footer:[te.createElement("div",{className:pt.btn_warp,key:"1"},te.createElement(Mt.ZP,{onClick:Nt},"\u53D6\u6D88"),te.createElement(Mt.ZP,{type:"primary",onClick:()=>{let At=ke({},Jt);if(et=="1")At.cpu=yn[0].value,At.memory=yn[1].value;else if(et=="2"){if(!yi){kt.ZP.error("\u8BF7\u9009\u62E9\u4E00\u6761\u573A\u666F\u5BF9\u5E94\u7684CPU\u4E0E\u5185\u5B58");return}At=lt(ke({},At),{cpu:yi.cpu,memory:yi.memory})}xt(At)}},"\u4FDD\u5B58"))]},te.createElement(Dt.default,{activeKey:et,onChange:En},te.createElement(Dt.default.TabPane,{tab:"\u81EA\u5B9A\u4E49\u914D\u7F6E",key:1},te.createElement(Wt.Z,{spinning:Mi},yn==null?void 0:yn.map(At=>te.createElement("div",{className:pt.con_warp,key:At==null?void 0:At.name},te.createElement("div",null,At==null?void 0:At.name),te.createElement("div",null,te.createElement(Ve.Z,{min:At==null?void 0:At.min,max:At==null?void 0:At.max,onChange:Yt=>ii(Yt,At==null?void 0:At.name),value:At==null?void 0:At.value,step:.5,style:{width:482,height:6,margin:"0 20px 0 12px"}})),te.createElement("div",{className:`${pt.config_Warp} ${pt.flex}`},te.createElement("div",{className:`${pt.config_btn} ${pt.flex}`,onClick:()=>ni(At)},te.createElement(St.Z,null)),te.createElement(bt.Z,{min:At==null?void 0:At.min,max:At==null?void 0:At.max,size:"large",step:"0.1",controls:!1,style:{width:50},value:At==null?void 0:At.value,onChange:Yt=>{const Ie=$e(Yt);zt(Ie,At==null?void 0:At.name)}}),te.createElement("div",{className:`${pt.config_btn} ${pt.flex}`,onClick:()=>mn(At)},te.createElement(Ut.Z,null))),te.createElement("div",null,At==null?void 0:At.typeName))))),(ei==null?void 0:ei.length)>0&&te.createElement(Dt.default.TabPane,{tab:"\u6309\u573A\u666F\u9009\u62E9",key:2},te.createElement("div",{className:pt.sceneList},ei==null?void 0:ei.map((At,Yt)=>te.createElement("div",{className:`${pt.sceneItem} ${xn==Yt&&pt.sceneItemActive}`,key:At==null?void 0:At.id,onClick:()=>{Dn(Yt)}},At==null?void 0:At.name))),((Ai=(vn=ei==null?void 0:ei[xn])==null?void 0:vn.content)==null?void 0:Ai.length)>0?te.createElement(wt.default,{rowSelection:{type:"radio",selectedRowKeys:[yi==null?void 0:yi.index],onChange:(At,Yt)=>{qn(Yt[0])}},columns:[{title:"CPU",dataIndex:"cpu",align:"center",render:(At,Yt)=>te.createElement("div",null,At,"\u6838")},{title:"\u5185\u5B58",dataIndex:"memory",align:"center",render:(At,Yt)=>te.createElement("div",null,At,"GB")}],dataSource:(hi=ei==null?void 0:ei[xn])==null?void 0:hi.content.map((At,Yt)=>lt(ke({},At),{index:Yt})),rowKey:"index",pagination:!1,scroll:((ci=(kn=ei==null?void 0:ei[xn])==null?void 0:kn.content)==null?void 0:ci.length)>3?{y:148}:{}}):te.createElement(Oe.Z,null)))))}},44373:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return yt}});var ue=Pe(59301),it=Pe(89070),Mt=Pe(43418),kt=Pe(8591),Dt=Pe(3113),Wt=Pe(24905),Ve=Pe(5112),bt=Pe(88522),wt=Pe(49127),pt=Pe(5083),St=Pe(5871),Ut=Pe(10527),Zt=Pe(9165),Oe=Pe(46474),te=Pe(61186),ne=Pe.n(te),de={wrap:"wrap___LhoYE",labelWrap:"labelWrap___kKVu_",label:"label___we33R",labelContent:"labelContent___RWgKj",flexRow:"flexRow___WhVXT",color999:"color999___R1ot6",radio:"radio___S0Uhc",selectSchool:"selectSchool___egsX3",dataPicker:"dataPicker___zNtLB",modal:"modal___J1s9f",colorOrange:"colorOrange___NDyE2",colorYellow:"colorYellow___Ijswi",bottomButton:"bottomButton___sODGQ"},le=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,Ae=(ut,Tt)=>{var xt={};for(var Nt in ut)pe.call(ut,Nt)&&Tt.indexOf(Nt)<0&&(xt[Nt]=ut[Nt]);if(ut!=null&&le)for(var Nt of le(ut))Tt.indexOf(Nt)<0&&xe.call(ut,Nt)&&(xt[Nt]=ut[Nt]);return xt},Me=(ut,Tt,xt)=>new Promise((Nt,Jt)=>{var vn=kn=>{try{hi(xt.next(kn))}catch(ci){Jt(ci)}},Ai=kn=>{try{hi(xt.throw(kn))}catch(ci){Jt(ci)}},hi=kn=>kn.done?Nt(kn.value):Promise.resolve(kn.value).then(vn,Ai);hi((xt=xt.apply(ut,Tt)).next())});const ke=ut=>{if(!ut)return ut;const Tt=ut.split(":");if(Tt[1]=="00"||Tt[1]=="30")return ut;const xt=parseInt(Tt[1]);if(xt<30||xt==60)return[Tt[0],"30"].join(":");if(xt<60){const Nt=[Tt[0],"00"].join(":"),Jt="YYYY-MM-DD HH:mm",vn=ne()(Nt,Jt);return vn.add(1,"hours"),vn.format(Jt)}return ut},lt="YYYY-MM-DD HH:mm",dt=ut=>{var Tt=ut,{shixunsDetail:xt,globalSetting:Nt,loading:Jt,user:vn,dispatch:Ai}=Tt,hi=Ae(Tt,["shixunsDetail","globalSetting","loading","user","dispatch"]),kn,ci,et,ze,yn,Xn,ei,rn,xn;const Dn=(0,ue.useRef)(),[yi,qn]=(0,ue.useState)(),[Mi,mt]=(0,ue.useState)(),[ht,gn]=(0,ue.useState)([]),[jt,En]=(0,ue.useState)([]),[Fn,ii]=(0,ue.useState)(""),[ni,mn]=(0,ue.useState)(),[zt,$e]=(0,ue.useState)(),[At,Yt]=(0,ue.useState)(),Ie=(ci=(kn=vn.userInfo)==null?void 0:kn.shixun)==null?void 0:ci.editable;(0,ue.useEffect)(()=>{var rt,Sn;Dn.current=(Sn=(rt=location.pathname)==null?void 0:rt.split("/"))==null?void 0:Sn[2],Ce()},[]),(0,ue.useEffect)(()=>{var rt,Sn,fn,an,qt,fi,Mn,On,Hi,Si,sr,ro;xt.setting&&(qn((Sn=(rt=xt.setting)==null?void 0:rt.shixun)==null?void 0:Sn.can_copy),mt((an=(fn=xt.setting)==null?void 0:fn.shixun)==null?void 0:an.use_scope),mn(!!((fi=(qt=xt.setting)==null?void 0:qt.shixun)!=null&&fi.opening_time)),$e((On=(Mn=xt.setting)==null?void 0:Mn.shixun)==null?void 0:On.opening_time),gn((Si=(Hi=xt.setting)==null?void 0:Hi.shixun)==null?void 0:Si.scope_partment),Yt((ro=(sr=xt.setting)==null?void 0:sr.shixun)==null?void 0:ro.git_size))},[xt.setting]);const Ce=rt=>Me(void 0,null,function*(){const Sn=yield Ai({type:"shixunsDetail/getDepartments",payload:{q:rt}});Sn&&En(Sn.shools_name||[])}),Ee=()=>Me(void 0,null,function*(){var rt,Sn,fn,an,qt,fi;const Mn=(yield Ai({type:"shixunsDetail/getShixunQuote",payload:{id:Dn.current}}))||{};Mt.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:520,content:ue.createElement("div",{className:`tc font14 ${de.modal}`},!!((rt=Mn.subjects)!=null&&rt.length)&&ue.createElement(ue.Fragment,null,ue.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230 ",(fn=(Sn=Mn.subjects)==null?void 0:Sn.splice(0,2))==null?void 0:fn.map(On=>`\u300A${On}\u300B`),"\u7B49",ue.createElement("span",{className:de.colorOrange},Mn==null?void 0:Mn.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),ue.createElement("br",null)),!!((an=Mn.courses)!=null&&an.length)&&ue.createElement(ue.Fragment,null,ue.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(fi=(qt=Mn.courses)==null?void 0:qt.splice(0,2))==null?void 0:fi.map(On=>`\u300A${On}\u300B`),"\u7B49",ue.createElement("span",{className:de.colorOrange},Mn==null?void 0:Mn.courses_count),"\u4E2A\u6559\u5B66\u8BFE\u5802"),ue.createElement("br",null)),ue.createElement("span",{className:`${de.colorYellow} mt30`},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE\u5C06\u5F71\u54CD\u8BFE\u7A0B\u53CA\u8BFE\u5802\u5BF9\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u4F7F\u7528\uFF01\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")),onOk:()=>Me(void 0,null,function*(){(yield Ai({type:"shixunsDetail/deleteShixun",payload:{id:Dn.current}})).status===1&&(kt.ZP.success("\u64CD\u4F5C\u6210\u529F"),it.history.push("/shixuns"))})})}),Te=()=>{(0,Oe.gy)(Ai,"\u4E0D\u80FD\u8FDB\u884C\u5220\u9664")},Ue=rt=>{if(ht.includes(rt)){kt.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}ii(null),gn([...ht,rt])},Le=()=>Me(void 0,null,function*(){if(ni&&!zt){kt.ZP.info("\u8BF7\u9009\u62E9\u5F00\u542F\u65F6\u95F4");return}if(Mi===1&&!ht.length){kt.ZP.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00");return}(yield Ai({type:"shixunsDetail/updatePermissionSetting",payload:{id:Dn.current,scope_partment:Mi===0?null:ht,shixun:{can_copy:yi,use_scope:Mi,opening_time:zt,git_size:At}}})).status!==-1&&(kt.ZP.info("\u6743\u9650\u914D\u7F6E\u4FDD\u5B58\u6210\u529F\uFF01"),Ai({type:"shixunsDetail/getSettingsData",payload:{id:Dn.current}}),Ai({type:"shixunsDetail/getShixunsDetail",payload:{id:Dn.current}}))});return ue.createElement("div",null,ue.createElement("section",{className:de.wrap},ue.createElement("div",{style:{position:"absolute",top:"25px",right:"25px"}},((et=xt==null?void 0:xt.detail)==null?void 0:et.shixun_status)!==2?ue.createElement(Dt.ZP,{danger:!0,onClick:Ee},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE"):ue.createElement(Dt.ZP,{danger:!0,onClick:Te},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE")),ue.createElement("div",{className:de.labelWrap},ue.createElement("label",{className:de.label},"\u590D\u5236\uFF1A"),ue.createElement("div",{className:de.labelContent},ue.createElement("div",null,ue.createElement(Wt.default,{checked:yi,onChange:rt=>qn(rt.target.checked),disabled:!Ie}),ue.createElement("span",{className:`${de.color999}`},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u8BE5\u5B9E\u8BAD\uFF09")))),!((((ze=xt.detail)==null?void 0:ze.shixun_status)>1||((yn=xt.detail)==null?void 0:yn.public)===2)&&((ei=(Xn=xt.setting)==null?void 0:Xn.shixun)==null?void 0:ei.use_scope)===0&&((rn=xt.detail)==null?void 0:rn.identity)>2)&&ue.createElement("div",{className:de.labelWrap},ue.createElement("label",{className:de.label},"\u516C\u5F00\u7A0B\u5EA6\uFF1A"),ue.createElement("div",{className:de.labelContent},ue.createElement(Ve.ZP.Group,{value:Mi,onChange:rt=>mt(rt.target.value),disabled:!Ie},ue.createElement(Ve.ZP,{className:de.radio,value:0},ue.createElement("span",null,"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00"),ue.createElement("span",{className:de.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),ue.createElement(Ve.ZP,{className:de.radio,value:1},ue.createElement("span",null,"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"),ue.createElement("span",{className:de.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09"))),Mi===1&&ue.createElement(ue.Fragment,null,ue.createElement("div",{className:"mt10"},ue.createElement(bt.Z,{showSearch:!0,className:de.selectSchool,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:Fn,onChange:rt=>{ii(rt),Ce(rt)},disabled:!Ie,onSelect:Ue,options:jt==null?void 0:jt.map(rt=>({value:rt}))}),ue.createElement("span",{className:de.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09")),ue.createElement("div",{className:"mt10"},ht==null?void 0:ht.map(rt=>Ie?ue.createElement(wt.Z,{count:"x",className:"mr20 current",onClick:()=>gn(ht.filter(Sn=>Sn!==rt))},ue.createElement(Dt.ZP,{type:"primary",ghost:!0},rt)):ue.createElement(Dt.ZP,{type:"primary",ghost:!0,className:"mr20"},rt)))))),ue.createElement("div",{className:de.labelWrap},ue.createElement("label",{className:de.label},"\u5F00\u542F\u65F6\u95F4\uFF1A"),ue.createElement("div",{className:de.labelContent},ue.createElement("div",null,ue.createElement(Wt.default,{checked:ni,onChange:rt=>mn(rt.target.checked),disabled:!Ie}),ue.createElement("span",{className:`${de.color999} ml10`},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u6307\u5B9A\u7684\u5F00\u542F\u65F6\u95F4\u540E\uFF0C\u624D\u80FD\u5F00\u542F\u5B66\u4E60\uFF1B\u4E0D\u9009\u4E2D\u5219\u5B66\u5458\u5728\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u80FD\u7ACB\u5373\u5F00\u542F\u5B66\u4E60\uFF09")),ni&&ue.createElement(pt.default,{className:`${de.dataPicker} mt10`,format:lt,locale:Ut.Z,disabled:!Ie,placeholder:"\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4",showToday:!1,disabledDate:rt=>rt&&rt$e(ke(Sn))}))),((xn=vn==null?void 0:vn.userInfo)==null?void 0:xn.role)===1&&ue.createElement("div",{className:de.labelWrap,style:{alignItems:"center"}},ue.createElement("label",{className:de.label},"\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF\uFF1A"),ue.createElement("div",{className:de.labelContent},ue.createElement("div",null,ue.createElement(St.Z,{style:{width:150},placeholder:"\u8BF7\u8F93\u5165\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF",min:1,max:10240,value:At,onChange:rt=>{Yt(rt)}}),ue.createElement("span",{className:"c-grey-999"}," M "))))),ue.createElement(Zt.t,{okText:"\u4FDD\u5B58",hasOkBtn:Ie,loading:Jt.effects["shixunsDetail/updatePermissionSetting"],onCancel:()=>it.history.push(`/shixuns/${Dn.current}/challenges`),onOk:Le,className:de.bottomButton}))};var yt=(0,it.connect)(({shixunsDetail:ut,loading:Tt,globalSetting:xt,user:Nt})=>({shixunsDetail:ut,globalSetting:xt,user:Nt,loading:Tt}))(dt)},10149:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),antd__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(8591),antd__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(43418),antd__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(20834),antd__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(3113),antd__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(24905),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(5112),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(81327),antd__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(88522),antd__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(49127),antd__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(6848),antd__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(5083),antd__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(78673),antd__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5871),umi__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(89070),_index_less_modules__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(93055),moment__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(61186),moment__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_3__),antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(10527),_components_Permission__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(44373),_utils_env__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(3294),_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(46474),_utils_authority__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(24065),_utils__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(16349),React=__webpack_require__(59301),__async=(en,jn,Pe)=>new Promise((ue,it)=>{var Mt=Wt=>{try{Dt(Pe.next(Wt))}catch(Ve){it(Ve)}},kt=Wt=>{try{Dt(Pe.throw(Wt))}catch(Ve){it(Ve)}},Dt=Wt=>Wt.done?ue(Wt.value):Promise.resolve(Wt.value).then(Mt,kt);Dt((Pe=Pe.apply(en,jn)).next())});const timeFormat="YYYY-MM-DD HH:mm",handleDateString=en=>{if(!en)return en;const jn=en.split(":");if(jn[1]=="00"||jn[1]=="30")return en;const Pe=parseInt(jn[1]);if(Pe<30||Pe==60)return[jn[0],"30"].join(":");if(Pe<60){const ue=[jn[0],"00"].join(":"),it="YYYY-MM-DD HH:mm",Mt=moment__WEBPACK_IMPORTED_MODULE_3___default()(ue,it);return Mt.add(1,"hours"),Mt.format(it)}return en};function Setting({user,dispatch,shixunsDetail,practiceSetting}){var _a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n;const[MenuSelectKey,setMenuSelectKey]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("1"),[isShowSetting,setIsShowSetting]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!0),[taskPass,setTaskPass]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[testSetPermission,setTestSetPermission]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[isCopy,setIsCopy]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openValue,setOpenValue]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openAnswer,setOpenAnswer]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[selectDepartmentList,setSelectDepartmentList]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),[departmentList,setDepartmentList]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),[departmentValue,setDepartmentValue]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(""),[isOpenTime,setIsOpenTime]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openTime,setOpenTime]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[codeEditPermission,setCodeEditPermission]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[allowFileUpload,setAllowFileUpload]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[codeHidden,setCodeHidden]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[forbidCopy,setForbidCopy]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[display_git_address,set_display_git_address]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[disableDiscuss,setDisableDiscuss]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[disableAI,setdisableAI]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[openCodeDebugger,setOpenCodeDebugger]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[startPermanent,setStartPermanent]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[openSelfRun,setOpenSelfRun]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[gitSize,setgitSize]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[course_workspace_file_time,setcourse_workspace_file_time]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[podSwitch,setPodSwitch]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[ai_user,setai_user]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("1"),[openLocalEvaluate,setOpenLocalEvaluate]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[resource_recommend,setresource_recommend]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1);let params=(0,umi__WEBPACK_IMPORTED_MODULE_1__.useParams)();const diffObj={forbid_copy:"forbidCopy",task_pass:"taskPass",test_set_permission:"testSetPermission",code_edit_permission:"codeEditPermission",allow_file_upload:"allowFileUpload",can_copy:"isCopy",use_scope:"openValue",open_answer_and_test:"openAnswer",opening_time:"openTime",is_disable_discuss:"disableDiscuss",display_git_address:"display_git_address",show_code_dir:"codeHidden",ai_reply:"disableAI",open_code_debugger:"openCodeDebugger",start_permanent:"startPermanent",open_self_run:"openSelfRun",exit_delete_pod_switch:"podSwitch",open_local_evaluate:"openLocalEvaluate"},editable=(_b=(_a=user.userInfo)==null?void 0:_a.shixun)==null?void 0:_b.editable,own=(_d=(_c=user.userInfo)==null?void 0:_c.shixun)==null?void 0:_d.own,handleGetDepartments=en=>__async(this,null,function*(){const jn=yield dispatch({type:"shixunsDetail/getDepartments",payload:{q:en}});jn&&setDepartmentList(jn.shools_name||[])});(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{var en,jn;(jn=(en=shixunsDetail.setting)==null?void 0:en.shixun)!=null&&jn.main_type&&handleInitState()},[shixunsDetail.setting]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{dispatch({type:"shixunsDetail/getSettingsData",payload:params})},[]);const handleSelectDepartment=en=>{if(selectDepartmentList.includes(en)){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}setDepartmentValue(null),setSelectDepartmentList([...selectDepartmentList,en])},handleInitState=()=>{var en,jn,Pe,ue,it,Mt,kt,Dt,Wt,Ve,bt,wt,pt,St,Ut,Zt,Oe,te,ne,de,le,pe,xe,Ae,Me,ke,lt,dt,yt,ut,Tt,xt,Nt,Jt,vn,Ai,hi,kn,ci,et,ze,yn,Xn,ei,rn,xn,Dn;setCodeEditPermission((jn=(en=shixunsDetail.setting)==null?void 0:en.shixun)==null?void 0:jn.code_edit_permission),setAllowFileUpload((ue=(Pe=shixunsDetail.setting)==null?void 0:Pe.shixun)==null?void 0:ue.allow_file_upload),setCodeHidden((Mt=(it=shixunsDetail.setting)==null?void 0:it.shixun)==null?void 0:Mt.show_code_dir),setForbidCopy((Dt=(kt=shixunsDetail.setting)==null?void 0:kt.shixun)==null?void 0:Dt.forbid_copy),setTaskPass((Ve=(Wt=shixunsDetail.setting)==null?void 0:Wt.shixun)==null?void 0:Ve.task_pass),setTestSetPermission((wt=(bt=shixunsDetail.setting)==null?void 0:bt.shixun)==null?void 0:wt.test_set_permission),set_display_git_address((pt=shixunsDetail.setting.shixun)==null?void 0:pt.display_git_address),setIsCopy((Ut=(St=shixunsDetail.setting)==null?void 0:St.shixun)==null?void 0:Ut.can_copy),setOpenValue((Oe=(Zt=shixunsDetail.setting)==null?void 0:Zt.shixun)==null?void 0:Oe.use_scope),setOpenAnswer((ne=(te=shixunsDetail.setting)==null?void 0:te.shixun)==null?void 0:ne.open_answer_and_test),setIsOpenTime(!!((le=(de=shixunsDetail.setting)==null?void 0:de.shixun)!=null&&le.opening_time)),setOpenTime((xe=(pe=shixunsDetail.setting)==null?void 0:pe.shixun)==null?void 0:xe.opening_time),setSelectDepartmentList((Me=(Ae=shixunsDetail.setting)==null?void 0:Ae.shixun)==null?void 0:Me.scope_partment),setDisableDiscuss((lt=(ke=shixunsDetail.setting)==null?void 0:ke.shixun)==null?void 0:lt.is_disable_discuss),setdisableAI((yt=(dt=shixunsDetail.setting)==null?void 0:dt.shixun)==null?void 0:yt.ai_reply),setresource_recommend((Tt=(ut=shixunsDetail==null?void 0:shixunsDetail.setting)==null?void 0:ut.shixun)==null?void 0:Tt.resource_recommend),setOpenCodeDebugger((Nt=(xt=shixunsDetail.setting)==null?void 0:xt.shixun)==null?void 0:Nt.open_code_debugger),setStartPermanent((vn=(Jt=shixunsDetail.setting)==null?void 0:Jt.shixun)==null?void 0:vn.start_permanent),setOpenSelfRun((hi=(Ai=shixunsDetail.setting)==null?void 0:Ai.shixun)==null?void 0:hi.open_self_run),setgitSize((ci=(kn=shixunsDetail.setting)==null?void 0:kn.shixun)==null?void 0:ci.git_size),setcourse_workspace_file_time((ze=(et=shixunsDetail.setting)==null?void 0:et.shixun)==null?void 0:ze.course_workspace_file_time),setPodSwitch((Xn=(yn=shixunsDetail.setting)==null?void 0:yn.shixun)==null?void 0:Xn.exit_delete_pod_switch),setai_user((rn=(ei=shixunsDetail.setting)==null?void 0:ei.shixun)==null?void 0:rn.ai_user),setOpenLocalEvaluate((Dn=(xn=shixunsDetail.setting)==null?void 0:xn.shixun)==null?void 0:Dn.open_local_evaluate)};console.log("----",ai_user),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{var _a2,_b2,_c2,_d2;let confirmLeave=!1;(_a2=Object.keys(diffObj).filter(item=>{var _a3;return((_a3=shixunsDetail.setting)==null?void 0:_a3.shixun[item])!=eval(diffObj[item])}))!=null&&_a2.length&&(confirmLeave=!0),selectDepartmentList.length!=((_d2=(_c2=(_b2=shixunsDetail.setting)==null?void 0:_b2.shixun)==null?void 0:_c2.scope_partment)==null?void 0:_d2.length)&&(confirmLeave=!0),selectDepartmentList==null||selectDepartmentList.map((en,jn)=>{var Pe,ue;en!=((ue=(Pe=shixunsDetail.setting)==null?void 0:Pe.shixun)==null?void 0:ue.scope_partment[jn])&&(confirmLeave=!0)}),dispatch({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave}})},[taskPass,testSetPermission,isCopy,openValue,openAnswer,selectDepartmentList,isOpenTime,openTime,display_git_address,codeHidden,codeEditPermission,allowFileUpload,forbidCopy,disableDiscuss,disableAI,openCodeDebugger,startPermanent,openSelfRun,openLocalEvaluate]);function handSubmeit(en=!1,jn=1){return __async(this,null,function*(){var Pe,ue;const it=yield dispatch({type:"shixunsDetail/updateSetting",payload:{id:params.id,scope_partment:openValue===0?null:selectDepartmentList,open_answer_and_test:openAnswer,shixun_info:{ai_reply:disableAI,start_permanent:startPermanent,git_size:gitSize,course_workspace_file_time,ai_user,resource_recommend},shixun:{show_code_dir:codeHidden,forbid_copy:forbidCopy,task_pass:taskPass,test_set_permission:testSetPermission,display_git_address,code_edit_permission:codeEditPermission,allow_file_upload:allowFileUpload,can_copy:isCopy,use_scope:openValue,open_answer_and_test:openAnswer,opening_time:openTime,is_disable_discuss:disableDiscuss,open_code_debugger:openCodeDebugger,open_self_run:openSelfRun,exit_delete_pod_switch:podSwitch,open_local_evaluate:openLocalEvaluate},sync_origin_shixun:en}});(it==null?void 0:it.status)===0&&((Pe=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&Pe.copy_for_exercise||antd__WEBPACK_IMPORTED_MODULE_9__.ZP.success("\u4FEE\u6539\u6210\u529F"),dispatch({type:"shixunsDetail/getSettingsData",payload:params}),dispatch({type:"shixunsDetail/getShixunsDetail",payload:params}),(ue=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&ue.copy_for_exercise&&(0,_utils__WEBPACK_IMPORTED_MODULE_8__.m)(dispatch,shixunsDetail,params.id,jn))})}const handleDeleteShixun=()=>__async(this,null,function*(){var en,jn,Pe,ue,it,Mt;const kt=(yield dispatch({type:"shixunsDetail/getShixunQuote",payload:{id:params.id}}))||{};antd__WEBPACK_IMPORTED_MODULE_10__.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:520,content:React.createElement("div",null,!!((en=kt.subjects)!=null&&en.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230"," ",(Pe=(jn=kt.subjects)==null?void 0:jn.splice(0,2))==null?void 0:Pe.map(Dt=>`\u300A${Dt}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},kt==null?void 0:kt.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),React.createElement("br",null)),!!((ue=kt.courses)!=null&&ue.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(Mt=(it=kt.courses)==null?void 0:it.splice(0,2))==null?void 0:Mt.map(Dt=>`\u300A${Dt}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},kt==null?void 0:kt.courses_count),"\u4E2A\u6559\u5B66\u8BFE\u5802"),React.createElement("br",null)),React.createElement("span",{className:`${_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorYellow} mt30`},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE\u5C06\u5F71\u54CD\u8BFE\u7A0B\u53CA\u8BFE\u5802\u5BF9\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u4F7F\u7528\uFF01\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")),onOk:()=>__async(this,null,function*(){(yield dispatch({type:"shixunsDetail/deleteShixun",payload:{id:params.id}})).status===1&&(antd__WEBPACK_IMPORTED_MODULE_9__.ZP.success("\u64CD\u4F5C\u6210\u529F"),umi__WEBPACK_IMPORTED_MODULE_1__.history.push("/shixuns"))})})}),handleDeleteElseShixun=()=>{(0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__.gy)(dispatch,"\u4E0D\u80FD\u8FDB\u884C\u5220\u9664")};function showExitmodel(en){antd__WEBPACK_IMPORTED_MODULE_10__.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{setMenuSelectKey(en),parseInt(en)===1?(setIsShowSetting(!0),handleInitState()):setIsShowSetting(!1),dispatch({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}})}return React.createElement("div",{style:{height:"100%",display:"flex",background:"#fff",position:"relative"}},React.createElement("div",{style:{height:"100%",background:"#0A143D",width:"25%",maxWidth:"440px",padding:"20px 20px",color:"#ffffff"}},React.createElement("span",{style:{padding:"0px 15px",fontSize:"16px"}},"\u8BBE\u7F6E"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default,{selectedKeys:[MenuSelectKey],theme:"dark",style:{background:"#0A143D",marginTop:"30px",fontSize:"14px"},onClick:en=>{var jn;if((jn=practiceSetting==null?void 0:practiceSetting.sideBar)!=null&&jn.confirmLeave){showExitmodel(en.key);return}setMenuSelectKey(en.key),parseInt(en.key)===1?(setIsShowSetting(!0),handleInitState()):setIsShowSetting(!1)}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default.Item,{key:1},"\u8BBE\u7F6E"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default.Item,{key:2},"\u5173\u4E8E\u5B9E\u8BAD"))),isShowSetting&&((_e=shixunsDetail==null?void 0:shixunsDetail.detail)==null?void 0:_e.is_jupyter_lab)&&React.createElement(_components_Permission__WEBPACK_IMPORTED_MODULE_4__.Z,null),isShowSetting&&!((_f=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&_f.is_jupyter_lab)&&React.createElement("div",{style:{width:"calc(100% - 24%)",overflow:"auto"}},React.createElement("div",{style:{padding:"40px 40px",marginBottom:"70px"}},React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{display:"flex"}},React.createElement("span",{style:{flex:"1"}},"\u5173\u5361\u548C\u6D4B\u8BD5\u96C6"),((_g=shixunsDetail==null?void 0:shixunsDetail.detail)==null?void 0:_g.shixun_status)!==2?React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{danger:!0,onClick:handleDeleteShixun},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE"):React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{danger:!0,onClick:handleDeleteElseShixun},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE")),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u8DF3\u5173\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:taskPass,disabled:!editable,onChange:en=>setTaskPass(en.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5B66\u5458\u8DF3\u5173\u5B66\u4E60\u5B9E\u8BAD\u5173\u5361\u4EFB\u52A1\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u6D4B\u8BD5\u96C6\u89E3\u9501\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:testSetPermission,disabled:!editable,onChange:en=>setTestSetPermission(en.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5B66\u5458\u901A\u8FC7\u91D1\u5E01\u89E3\u9501\u67E5\u770B\u9690\u85CF\u6D4B\u8BD5\u96C6\u7684\u5185\u5BB9\uFF09")))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}},"\u6743\u9650"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u590D\u5236/\u5408\u5E76/\u62C6\u5206\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:isCopy,onChange:en=>setIsCopy(en.target.checked),disabled:!editable}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u3001\u5408\u5E76\u548C\u62C6\u5206\u8BE5\u5B9E\u8BAD\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u516C\u5F00\u5B9E\u8BAD\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:openValue,onChange:en=>setOpenValue(en.target.value),disabled:!editable},React.createElement(antd__WEBPACK_IMPORTED_MODULE_15__.Z,{direction:"vertical"},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:0},React.createElement("span",null,"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{style:{marginTop:"22px"},value:1},React.createElement("span",null,"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09")))),openValue===1&&React.createElement(React.Fragment,null,React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.graaytitle},React.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,{showSearch:!0,className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.selectSchool,bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:departmentValue,onChange:en=>{setDepartmentValue(en),handleGetDepartments(en)},disabled:!editable,onSelect:handleSelectDepartment,options:departmentList==null?void 0:departmentList.map(en=>({value:en}))})),React.createElement("div",{className:"mt10"},selectDepartmentList==null?void 0:selectDepartmentList.map(en=>editable?React.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{count:"x",className:"mr20 current",onClick:()=>setSelectDepartmentList(selectDepartmentList.filter(jn=>jn!==en))},React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0},en)):React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0,className:"mr20"},en)))))),!((_i=(_h=shixunsDetail.setting)==null?void 0:_h.shixun)!=null&&_i.is_jupyter)&&!((_k=(_j=shixunsDetail.setting)==null?void 0:_j.shixun)!=null&&_k.is_jupyter_lab)&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u516C\u5F00\u7B54\u6848\u548C\u6D4B\u8BD5\u96C6\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:openAnswer,onChange:en=>setOpenAnswer(en.target.value),disabled:!editable},React.createElement(antd__WEBPACK_IMPORTED_MODULE_15__.Z,{direction:"vertical"},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:1},React.createElement("span",null,"\u5BF9\u6240\u6709\u8BA4\u8BC1\u6559\u5E08\u516C\u5F00"),((_m=(_l=shixunsDetail.setting)==null?void 0:_l.shixun)==null?void 0:_m.status)!==2&&React.createElement(antd__WEBPACK_IMPORTED_MODULE_18__.Z,{title:"\u8BE5\u9009\u9879\u9700\u5728\u5B9E\u8DF5\u9879\u76EE\u53D1\u5E03\u540E\u751F\u6548"},React.createElement("i",{style:{marginLeft:10,color:"#e9b357",fontSize:14},className:"iconfont icon-jinggao-3"})),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u67E5\u770B\uFF09")),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{style:{marginTop:"22px"},value:2},React.createElement("span",null,"\u4EC5\u5B9E\u8BAD\u5408\u4F5C\u8005\u53EF\u89C1"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u4EC5\u5141\u8BB8\u5B9E\u8BAD\u5408\u4F5C\u8005\u53EF\u4EE5\u76F4\u63A5\u67E5\u770B\uFF0C\u5176\u4ED6\u7528\u6237\u9700\u901A\u8FC7\u91D1\u5E01\u89E3\u9501\u67E5\u770B\uFF09")))))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u5F00\u542F\u65F6\u95F4\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:isOpenTime,onChange:en=>{setIsOpenTime(en.target.checked),en.target.checked||setOpenTime("")},disabled:!editable}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u6307\u5B9A\u7684\u5F00\u542F\u65F6\u95F4\u540E\u624D\u80FD\u5F00\u542F\u6311\u6218\uFF09")),isOpenTime&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.graaytitle},React.createElement(antd__WEBPACK_IMPORTED_MODULE_19__.default,{className:`${_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.dataPicker}`,format:timeFormat,locale:antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_20__.Z,bordered:!1,disabled:!editable,placeholder:"\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4",showToday:!1,disabledDate:en=>en&&ensetOpenTime(handleDateString(jn))})))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}},"\u529F\u80FD"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u4EE3\u7801\u5E93\u5730\u5740\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:display_git_address,disabled:!editable,onChange:en=>set_display_git_address(en.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5BF9\u5B66\u5458\u516C\u5F00\u4EE3\u7801\u5E93\u5730\u5740\uFF0C\u5B66\u5458\u53EF\u4EE5\u5C06\u6240\u6709\u4EE3\u7801\u4E0B\u8F7D\u5230\u672C\u5730\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u4EE3\u7801\u76EE\u5F55\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:codeHidden,disabled:!editable,onChange:en=>{setCodeHidden(en.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u9875\u9762\u663E\u793A\u7248\u672C\u5E93\u76EE\u5F55\uFF09")),codeHidden&&React.createElement("div",{style:{background:"#f5f5f5",marginTop:"10px",borderRadius:"8px",justifyContent:"left",alignItems:"center",padding:"0px 20px"}},React.createElement("div",{style:{display:"flex",marginTop:"20px"}},React.createElement("label",{style:{width:"150px",textAlign:"right"}},"\u4EE3\u7801\u5E93\u6587\u4EF6\u4FEE\u6539\u6743\u9650\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent,style:{padding:"0px"}},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:codeEditPermission,disabled:!editable,onChange:en=>{setCodeEditPermission(en.target.checked),en.target.checked||setAllowFileUpload(en.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u52FE\u9009\u540E\u5141\u8BB8\u5B66\u5458\u4FEE\u6539\u4EE3\u7801\u5E93\u6240\u6709\u6587\u4EF6\uFF0C\u5426\u5219\u4EC5\u53EF\u4FEE\u6539\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\uFF09")))),React.createElement("div",{style:{display:"flex",marginTop:"10px",marginBottom:"20px"}},React.createElement("label",{style:{width:"150px",textAlign:"right"}},"\u5141\u8BB8\u4E0A\u4F20\u6587\u4EF6\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent,style:{padding:"0px"}},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:allowFileUpload,disabled:!editable,onChange:en=>{setAllowFileUpload(en.target.checked),en.target.checked&&setCodeEditPermission(en.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u52FE\u9009\u540E\uFF0C\u5141\u8BB8\u7528\u6237\u5B9E\u8BAD\u6311\u6218\u65F6\uFF0C\u5728\u4EE3\u7801\u76EE\u5F55\u4E2D\u4E0A\u4F20\u6587\u4EF6\uFF0C\u5426\u5219\u4E0D\u5141\u8BB8\u4E0A\u4F20\uFF09"))))))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u7981\u7528\u7C98\u8D34\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:forbidCopy,disabled:!editable,onChange:en=>setForbidCopy(en.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u7F16\u7801\u533A\u57DF\u65E0\u6CD5\u4F7F\u7528\u7C98\u8D34\u529F\u80FD\uFF09")))),own&&editable&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u8C03\u8BD5\u5668",React.createElement("a",{href:"https://www.educoder.net/forums/36718",target:"_blank",className:"iconfont icon-xiaowenhao2 font14 ml5"}),"\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openCodeDebugger,onChange:en=>setOpenCodeDebugger(en)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF0C\u53EF\u4EE5\u4F7F\u7528\u4EE3\u7801\u8C03\u8BD5\u5DE5\u5177\u68C0\u67E5\u4EE3\u7801\u8FD0\u884C\u60C5\u51B5\u3002\u76EE\u524D\u4EC5\u652F\u6301Python3, Java, C\u8BED\u8A00\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u81EA\u6D4B\u8FD0\u884C\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openSelfRun,onChange:en=>setOpenSelfRun(en)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF0C\u53EF\u4EE5\u4F7F\u7528\u81EA\u6D4B\u8FD0\u884C\u529F\u80FD\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u672C\u5730\u8BC4\u6D4B\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openLocalEvaluate,onChange:en=>setOpenLocalEvaluate(en)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B9E\u8BAD\u6311\u6218\u7528\u6237\u5728\u4F7F\u7528\u5BA2\u6237\u7AEF\u8FDB\u884C\u8BC4\u6D4B\u65F6\uFF0C\u5C06\u4F7F\u7528\u7528\u6237\u672C\u5730\u7684\u7B97\u529B\u8D44\u6E90\uFF0C\u51CF\u5C11\u7F51\u7EDC\u5E26\u6765\u7684\u5F71\u54CD\u3002\u76EE\u524D\u4EC5\u652F\u6301Python3\u8BED\u8A00 ",React.createElement("a",{target:"_blank",href:"/download"},"\xA0\u4E0B\u8F7D\u5BA2\u6237\u7AEF\xA0"),"\uFF09")))),((_n=user==null?void 0:user.userInfo)==null?void 0:_n.role)===1&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF \uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_22__.Z,{style:{width:150},placeholder:"\u8BF7\u8F93\u5165\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF",min:1,max:10240,value:gitSize,onChange:en=>{setgitSize(en)}}),React.createElement("span",{className:"c-grey-999"}," M ")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:startPermanent,onChange:en=>{if(!(0,_utils_authority__WEBPACK_IMPORTED_MODULE_7__.Ny)()){(0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__.pW)(2);return}setStartPermanent(en)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u901A\u7528\u4E91\u5B9E\u9A8C\u73AF\u5883\u4E0B\u7684/data/workspace\u76EE\u5F55\u5C06\u957F\u671F\u4FDD\u5B58\uFF0C\u6559\u5E08\u53D1\u9001\u5B9E\u8DF5\u9879\u76EE\u81F3\u8BFE\u5802\u540E\u53EF\u9009\u62E9\u5BFC\u51FA\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E ",React.createElement("a",{target:"_blank",href:_utils_env__WEBPACK_IMPORTED_MODULE_5__.Z.API_SERVER+"/images/educoder/shixuns/\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u64CD\u4F5C\u6307\u5F15.pdf"},"\xA0\u64CD\u4F5C\u6307\u5F15\xA0"),"\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u9ED8\u8BA4\u91CA\u653E\u5B9E\u9A8C\u8D44\u6E90\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:podSwitch,onChange:en=>{setPodSwitch(en)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5728\u9000\u51FA\u5B9E\u8BAD\u65F6\u9ED8\u8BA4\u91CA\u653E\u5B9E\u9A8C\u8D44\u6E90\uFF09")))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}}," ","\u8BC4\u8BBA\u533A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u8BC4\u8BBA\u533A\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:!disableDiscuss,onChange:en=>setDisableDiscuss(!en)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5173\u95ED\u540E\uFF0C\u5B9E\u8DF5\u9879\u76EE\u8BE6\u60C5\u9875\u53CA\u5173\u5361\u6311\u6218\u9875\u9762\u4E0D\u663E\u793A\u4EFB\u4F55\u8BC4\u8BBA\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u667A\u80FD\u63A8\u8350\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:resource_recommend,onChange:en=>{setresource_recommend(en)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5C06\u5B9E\u9A8C\u5173\u8054\u77E5\u8BC6\u56FE\u8C31\u5E76\u5F00\u542F\u667A\u80FD\u63A8\u8350\u540E\uFF0C\u7CFB\u7EDF\u5C06\u4F1A\u6839\u636E\u5B66\u751F\u7B54\u9898\u548C\u77E5\u8BC6\u70B9\u638C\u63E1\u7684\u60C5\u51B5\uFF0C\u667A\u80FD\u63A8\u8350\u76F8\u5173\u7684\u5B66\u4E60\u8D44\u6E90\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u667A\u80FD\u95EE\u7B54\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:disableAI,onChange:en=>{setdisableAI(en)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u7684\u8BC4\u8BBA\u5C06\u7531\u667A\u80FD\u673A\u5668\u4EBA\u8FDB\u884C\u56DE\u7B54\uFF09")))),disableAI&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label}),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:ai_user+"",onChange:en=>{setai_user(en.target.value)}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:"1"},"\u4EE5\u5934\u6B4C\u667A\u80FD\u52A9\u6559\u8EAB\u4EFD\u56DE\u7B54"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:"2"},"\u4EE5\u5B9E\u8BAD\u521B\u5EFA\u8005\u8EAB\u4EFD\u56DE\u7B54"))))),React.createElement("div",{style:{height:"70px",width:"76%",background:"#ffffff",boxShadow:"0px -4px 8px 1px #F1F1F1",position:"absolute",bottom:"0px",display:"flex",alignItems:"center",justifyContent:"center"}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{style:{marginRight:"10px",width:"100px",height:"40px",borderRadius:"4px",border:"1px solid #0152d9",color:"#0152d9"},onClick:()=>{umi__WEBPACK_IMPORTED_MODULE_1__.history.push(`/shixuns/${params.id}/challenges`)}},"\u53D6\u6D88"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{style:{marginLeft:"10px",width:"100px",height:"40px",fontSize:"16px",background:"#0152d9",borderRadius:"4px"},type:"primary",onClick:()=>{var en,jn;if(isOpenTime&&!openTime){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u9009\u62E9\u5F00\u542F\u65F6\u95F4");return}if(openValue===1&&!selectDepartmentList.length){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00");return}(en=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&en.is_fork_from_creator&&((jn=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&jn.copy_for_exercise)?dispatch({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"setting",fn:(Pe,ue)=>{handSubmeit(Pe,ue)}}}):handSubmeit()}},"\u4FDD\u5B58"))),!isShowSetting&&React.createElement("div",{style:{padding:"40px"}},React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u521B\u5EFA\u8005"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.itemWrap},React.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"60",width:"60",className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.img,src:`${_utils_env__WEBPACK_IMPORTED_MODULE_5__.Z.IMG_SERVER}/images/${practiceSetting==null?void 0:practiceSetting.user_image_url}`}),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.itemContent},React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.nameWrap},React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.name},practiceSetting==null?void 0:practiceSetting.user_name),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.actionGroup})),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.schoolWrap},React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.school},practiceSetting==null?void 0:practiceSetting.user_school)),React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u521B\u5EFA\u65F6\u95F4\uFF1A",practiceSetting==null?void 0:practiceSetting.created_at),React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u66F4\u65B0\u65F6\u95F4\uFF1A",practiceSetting==null?void 0:practiceSetting.updated_at)))))}__webpack_exports__.Z=(0,umi__WEBPACK_IMPORTED_MODULE_1__.connect)(({user:en,shixunsDetail:jn,practiceSetting:Pe})=>({user:en,shixunsDetail:jn,practiceSetting:Pe}))(Setting)},86566:function(en,jn,Pe){"use strict";Pe.r(jn),Pe.d(jn,{default:function(){return sn}});var ue=Pe(59301),it={flex_box_center:"flex_box_center___bPWMH",flex_space_between:"flex_space_between___fjQJK",flex_box_vertical_center:"flex_box_vertical_center___WWAEa",flex_box_center_end:"flex_box_center_end___mQNLW",flex_box_column:"flex_box_column___lOsG0",menu:"menu___szqfh",warehouse:"warehouse___SVzfZ",header:"header___DfoMH",title:"title___y2IOb",content:"content___pGWUf",left:"left___eYHD7",right:"right___RbSHM",loading:"loading___g8ST2",empty:"empty___JqJWS",tabs:"tabs___fuMob",line:"line___Wav7D",footer:"footer___xymfv",commit:"commit___ZwkDv",blueLight:"blueLight___f52KB",filePathWrp:"filePathWrp____p6mm",filePath:"filePath___qkzoJ",bottom0:"bottom0___MrVME"},Mt=Pe(89070),kt=Pe(99313),Dt=Pe(6848),Wt=Pe(8591),Ve=Pe(20834),bt=Pe(95237),wt=Pe(43604),pt=Pe(38854),St=Pe(43418),Ut=Pe(71418),Zt=Pe(3113),Oe=Pe(17574),te=Pe(78673),ne=Pe(56102),de=Pe(78241),le=Pe(92832),pe={wrap:"wrap___yTLAj",modal:"modal___B3dwx",title:"title___FHscn",path:"path___o7aJh",colorBlue:"colorBlue___p4I9Y",width240:"width240___UNGpD",filePath:"filePath___uTJLX"},xe=Object.defineProperty,Ae=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,lt=(Vt,hn,Xt)=>hn in Vt?xe(Vt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):Vt[hn]=Xt,dt=(Vt,hn)=>{for(var Xt in hn||(hn={}))Me.call(hn,Xt)&<(Vt,Xt,hn[Xt]);if(Ae)for(var Xt of Ae(hn))ke.call(hn,Xt)&<(Vt,Xt,hn[Xt]);return Vt},yt=(Vt,hn)=>{var Xt={};for(var Vn in Vt)Me.call(Vt,Vn)&&hn.indexOf(Vn)<0&&(Xt[Vn]=Vt[Vn]);if(Vt!=null&&Ae)for(var Vn of Ae(Vt))hn.indexOf(Vn)<0&&ke.call(Vt,Vn)&&(Xt[Vn]=Vt[Vn]);return Xt},ut=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const Tt=Vt=>{var hn=Vt,{shixunsDetail:Xt,globalSetting:Vn,loading:er,user:lr,dispatch:ui,isRepository:Ci}=hn,Yn=yt(hn,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ln=(0,Mt.useLocation)(),_r=(0,Mt.useParams)(),[Rn,Ir]=(0,ue.useState)({}),Or=(0,ue.useRef)(),[fr]=de.default.useForm(),[Bo,Zr]=(0,ue.useState)("");(0,ue.useEffect)(()=>{Yn.visible&&fr.resetFields()},[Yn.visible]),(0,ue.useEffect)(()=>{const oo=sessionStorage.getItem("pathArray");if(oo){const Bn=oo.split(",").join("/"),gi=Bn.indexOf("/")===0?Bn.substr(1):Bn;Zr(gi)}},[]),(0,ue.useEffect)(()=>{var oo,Bn;Or.current=(Bn=(oo=ln.pathname)==null?void 0:oo.split("/"))==null?void 0:Bn[2]},[]);const Zi=(...oo)=>ut(void 0,[...oo],function*(Bn={}){const gi=yield ui({type:"shixunsDetail/addRepositoryFile",payload:{id:_r.id,message:Bn.commitMessage,content:"",path:(Yn.defaultPath?Yn.defaultPath+"/":"")+Bn.path+"/"+(Bn.file||".gitkeep"),secret_repository:Ci?void 0:!0}});gi!=null&&gi.url&&(Wt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Yn.onOK({path:(Yn.defaultPath?Yn.defaultPath+"/":"")+Bn.path+"/"+(Bn.file||".gitkeep"),name:Bn.path.split("/")[Bn.path.split("/").length-1]}),Yn.onClose())}),xr=()=>{var oo,Bn;Mt.history.push(`/shixuns/${Or.current}/${(Bn=(oo=ln.pathname)==null?void 0:oo.split("/"))==null?void 0:Bn[3]}${Bo?`/master/shixun_show/${Bo}`:""}`)};return ue.createElement(St.default,{width:"60%",centered:!0,open:Yn.visible,wrapClassName:pe.modal,onOk:()=>{fr.submit()},onCancel:Yn.onClose,title:"\u65B0\u5EFA\u6587\u4EF6\u5939"},ue.createElement("section",{className:pe.bg},ue.createElement("div",{className:pe.wrap},ue.createElement(de.default,{className:"mt10",form:fr,scrollToFirstError:!0,layout:"vertical",onFinish:Zi,onChange:()=>{var oo,Bn,gi,Ze;const Io=dt({},fr.getFieldsValue()),no=(oo=Io==null?void 0:Io.path)==null?void 0:oo.split(""),rr=(Bn=Io==null?void 0:Io.file)==null?void 0:Bn.split("");(gi=no==null?void 0:no.filter(qi=>qi=="/"))!=null&&gi.length&&(Io.path=Io.path.substring(0,Io.path.length-1)),(Ze=rr==null?void 0:rr.filter(qi=>qi=="/"))!=null&&Ze.length&&(Io.file=Io.file.substring(0,Io.path.length-1)),fr.setFieldsValue(dt({},Io)),Ir(Io)}},ue.createElement(de.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0\uFF1A",name:"path"},ue.createElement(bt.Z,null,ue.createElement(wt.Z,null,ue.createElement("span",{className:pe.filePath},Yn.defaultPath+"/")),ue.createElement(wt.Z,{flex:"1"},ue.createElement(de.default.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ue.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0",size:"middle"}))))),ue.createElement(de.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\uFF1A",name:"file"},ue.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0\uFF0C\u5982\u679C\u4E0D\u586B\u5199\u7CFB\u7EDF\u5C06\u5728\u6587\u4EF6\u5939\u4E0B\u521B\u5EFA.gitkeep\u7684\u9ED8\u8BA4\u6587\u4EF6",size:"middle"})),ue.createElement(de.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ue.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"middle"}))))))};var xt=(0,Mt.connect)(({shixunsDetail:Vt,loading:hn,globalSetting:Xt,user:Vn})=>({shixunsDetail:Vt,globalSetting:Xt,user:Vn,loading:hn.models.index}))(Tt),Nt=Pe(53932),Jt=Pe(16349),vn=Pe(59301),Ai=Object.defineProperty,hi=Object.getOwnPropertySymbols,kn=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable,et=(Vt,hn,Xt)=>hn in Vt?Ai(Vt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):Vt[hn]=Xt,ze=(Vt,hn)=>{for(var Xt in hn||(hn={}))kn.call(hn,Xt)&&et(Vt,Xt,hn[Xt]);if(hi)for(var Xt of hi(hn))ci.call(hn,Xt)&&et(Vt,Xt,hn[Xt]);return Vt},yn=(Vt,hn)=>{var Xt={};for(var Vn in Vt)kn.call(Vt,Vn)&&hn.indexOf(Vn)<0&&(Xt[Vn]=Vt[Vn]);if(Vt!=null&&hi)for(var Vn of hi(Vt))hn.indexOf(Vn)<0&&ci.call(Vt,Vn)&&(Xt[Vn]=Vt[Vn]);return Xt},Xn=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const ei=Vt=>{var hn=Vt,{shixunsDetail:Xt,globalSetting:Vn,loading:er,user:lr,dispatch:ui,isRepository:Ci}=hn,Yn=yn(hn,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ln=(0,Mt.useLocation)(),_r=(0,Mt.useParams)(),[Rn,Ir]=(0,ue.useState)({}),Or=(0,ue.useRef)(),[fr]=de.default.useForm(),[Bo,Zr]=(0,ue.useState)("");(0,ue.useEffect)(()=>{Yn.visible&&fr.resetFields()},[Yn.visible]),(0,ue.useEffect)(()=>{const oo=sessionStorage.getItem("pathArray");if(oo){const Bn=oo.split(",").join("/"),gi=Bn.indexOf("/")===0?Bn.substr(1):Bn;Zr(gi)}},[]),(0,ue.useEffect)(()=>{var oo,Bn;Or.current=(Bn=(oo=ln.pathname)==null?void 0:oo.split("/"))==null?void 0:Bn[2]},[]);const Zi=(...oo)=>Xn(void 0,[...oo],function*(Bn={},gi=!1,Ze=1){var Io,no;const rr=yield ui({type:"shixunsDetail/addRepositoryFile",payload:{id:_r.id,message:Bn.commitMessage,content:Bn.codeMirror,path:(Yn.defaultPath?Yn.defaultPath+"/":"")+Bn.path,secret_repository:Ci?void 0:!0,sync_origin_shixun:gi}});rr!=null&&rr.url&&((Io=Xt==null?void 0:Xt.detail)!=null&&Io.copy_for_exercise||Wt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Yn.onOK({path:(Yn.defaultPath?Yn.defaultPath+"/":"")+Bn.path,name:Bn.path.split("/")[Bn.path.split("/").length-1]}),Yn.onClose()),(no=Xt==null?void 0:Xt.detail)!=null&&no.copy_for_exercise&&(0,Jt.m)(ui,Xt,_r.id,Ze)}),xr=()=>{var oo,Bn;Mt.history.push(`/shixuns/${Or.current}/${(Bn=(oo=ln.pathname)==null?void 0:oo.split("/"))==null?void 0:Bn[3]}${Bo?`/master/shixun_show/${Bo}`:""}`)};return vn.createElement(St.default,{width:"60%",open:Yn.visible,wrapClassName:pe.modal,destroyOnClose:!0,centered:!0,onOk:()=>{fr.submit()},onCancel:Yn.onClose,title:"\u65B0\u5EFA\u6587\u4EF6"},vn.createElement("section",{className:pe.bg},vn.createElement("div",{className:pe.wrap},vn.createElement(de.default,{className:"mt10",form:fr,scrollToFirstError:!0,layout:"vertical",onFinish:oo=>{var Bn,gi;(Bn=Xt==null?void 0:Xt.detail)!=null&&Bn.is_fork_from_creator&&((gi=Xt==null?void 0:Xt.detail)!=null&&gi.copy_for_exercise)?(Yn.onClose(),ui({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:oo,type:"wareHouse",fn:(Ze,Io,no)=>{Zi(Ze,Io,no)}}})):Zi(oo)},onChange:()=>{var oo,Bn;const gi=ze({},fr.getFieldsValue()),Ze=(oo=gi==null?void 0:gi.path)==null?void 0:oo.split("");((Bn=Ze==null?void 0:Ze.filter(Io=>Io=="/"))==null?void 0:Bn.length)>1&&(gi.path=gi.path.substring(0,gi.path.length-1)),fr.setFieldsValue(ze({},gi)),Ir(gi)}},vn.createElement(de.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\u6216\u6587\u4EF6\u8DEF\u5F84\uFF1A",name:"path"},vn.createElement(bt.Z,null,vn.createElement(wt.Z,null,vn.createElement("span",{className:pe.filePath},Yn.defaultPath+"/")),vn.createElement(wt.Z,{flex:"1"},vn.createElement(de.default.Item,{name:"path",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},vn.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle"}))))),vn.createElement(de.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},vn.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"middle"})),vn.createElement("div",{className:"mt10 mb20"},vn.createElement(de.default.Item,{name:"codeMirror",label:"\u6587\u4EF6\u5185\u5BB9\uFF1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5185\u5BB9"}],style:{marginBottom:0}},vn.createElement(Nt.h,{options:{modal:"javascript",lineNumbers:!0,theme:"railscasts",indentUnit:4,matchBrackets:!0,autoRefresh:!0,smartIndent:!0,extraKeys:{"Alt-/":"autocomplete"},autofocus:!0,styleActiveLine:!0,lint:!0,linkurl:"",gutters:["CodeMirror-linenumbers","breakpoints","CodeMirror-lint-markers"]}})))))))};var rn=(0,Mt.connect)(({shixunsDetail:Vt,loading:hn,globalSetting:Xt,user:Vn})=>({shixunsDetail:Vt,globalSetting:Xt,user:Vn,loading:hn.models.index}))(ei),xn=Object.defineProperty,Dn=Object.getOwnPropertySymbols,yi=Object.prototype.hasOwnProperty,qn=Object.prototype.propertyIsEnumerable,Mi=(Vt,hn,Xt)=>hn in Vt?xn(Vt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):Vt[hn]=Xt,mt=(Vt,hn)=>{for(var Xt in hn||(hn={}))yi.call(hn,Xt)&&Mi(Vt,Xt,hn[Xt]);if(Dn)for(var Xt of Dn(hn))qn.call(hn,Xt)&&Mi(Vt,Xt,hn[Xt]);return Vt},ht=(Vt,hn)=>{var Xt={};for(var Vn in Vt)yi.call(Vt,Vn)&&hn.indexOf(Vn)<0&&(Xt[Vn]=Vt[Vn]);if(Vt!=null&&Dn)for(var Vn of Dn(Vt))hn.indexOf(Vn)<0&&qn.call(Vt,Vn)&&(Xt[Vn]=Vt[Vn]);return Xt},gn=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const jt=Vt=>{var hn=Vt,{shixunsDetail:Xt,globalSetting:Vn,loading:er,user:lr,dispatch:ui,isRepository:Ci}=hn,Yn=ht(hn,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ln=(0,Mt.useLocation)(),_r=(0,Mt.useParams)(),[Rn,Ir]=(0,ue.useState)({}),Or=(0,ue.useRef)(),[fr]=de.default.useForm(),[Bo,Zr]=(0,ue.useState)(""),[Zi,xr]=(0,ue.useState)("");(0,ue.useEffect)(()=>{Yn.visible&&fr.resetFields()},[Yn.visible]),(0,ue.useEffect)(()=>{const gi=Yn.defaultPath.split("/");gi.length===1?(Zr(""),xr(Yn.defaultPath)):(xr(gi.pop()),Zr(gi.join("/")+"/"))},[Yn.defaultPath]),(0,ue.useEffect)(()=>{var gi,Ze;Or.current=(Ze=(gi=ln.pathname)==null?void 0:gi.split("/"))==null?void 0:Ze[2]},[]);const oo=(...gi)=>gn(void 0,[...gi],function*(Ze={}){const Io=yield ui({type:"shixunsDetail/moveGitFile",payload:{id:_r.id,from:Yn.defaultPath,to:Bo+Ze.path,message:Ze.commitMessage||`${Yn.defaultPath} rename to ${Bo}${Ze.path} `,secret_repository:Ci}});(Io==null?void 0:Io.status)===0&&(Wt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Yn.onOK({path:Ze.path,name:Ze.path}),Yn.onClose())}),Bn=()=>{var gi,Ze;Mt.history.push(`/shixuns/${Or.current}/${(Ze=(gi=ln.pathname)==null?void 0:gi.split("/"))==null?void 0:Ze[3]}${Bo?`/master/shixun_show/${Bo}`:""}`)};return ue.createElement(St.default,{width:"40%",open:Yn.visible,wrapClassName:pe.modal,centered:!0,onOk:()=>{fr.submit()},onCancel:Yn.onClose,title:"\u63D0\u4EA4\u8BF4\u660E"},ue.createElement("section",{className:pe.bg},ue.createElement("div",{className:pe.wrap},ue.createElement(de.default,{className:"mt10",form:fr,scrollToFirstError:!0,layout:"vertical",onFinish:oo,onChange:()=>{var gi,Ze;const Io=mt({},fr.getFieldsValue()),no=(gi=Io==null?void 0:Io.path)==null?void 0:gi.split("");((Ze=no==null?void 0:no.filter(rr=>rr=="/"))==null?void 0:Ze.length)>1&&(Io.path=Io.path.substring(0,Io.path.length-1)),fr.setFieldsValue(mt({},Io)),Ir(Io)}},ue.createElement(de.default.Item,{label:"\u91CD\u547D\u540D\uFF1A",name:"path"},ue.createElement(bt.Z,null,ue.createElement(wt.Z,{flex:"1"},ue.createElement(de.default.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ue.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle",defaultValue:Zi}))))),ue.createElement(de.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage"},ue.createElement(le.default,{placeholder:`\u5982\u4E0D\u586B\u5199\uFF0C\u9ED8\u8BA4\u63D0\u4EA4\u4FE1\u606F\u662F\uFF08${Yn.defaultPath} rename to \u65B0\u7684\u540D\u79F0 \uFF09`,size:"middle"}))))))};var En=(0,Mt.connect)(({shixunsDetail:Vt,loading:hn,globalSetting:Xt,user:Vn})=>({shixunsDetail:Vt,globalSetting:Xt,user:Vn,loading:hn.models.index}))(jt),Fn=Pe(3294),ii=Pe(99064),ni=Pe(54580),mn=Pe(62517),zt={wrap:"wrap___T4tjB",title:"title____QnQT",path:"path___PLUeD",colorBlue:"colorBlue___eL7QF"},$e=Pe(59301),At=Object.defineProperty,Yt=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Ee=(Vt,hn,Xt)=>hn in Vt?At(Vt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):Vt[hn]=Xt,Te=(Vt,hn)=>{for(var Xt in hn||(hn={}))Ie.call(hn,Xt)&&Ee(Vt,Xt,hn[Xt]);if(Yt)for(var Xt of Yt(hn))Ce.call(hn,Xt)&&Ee(Vt,Xt,hn[Xt]);return Vt},Ue=(Vt,hn)=>{var Xt={};for(var Vn in Vt)Ie.call(Vt,Vn)&&hn.indexOf(Vn)<0&&(Xt[Vn]=Vt[Vn]);if(Vt!=null&&Yt)for(var Vn of Yt(Vt))hn.indexOf(Vn)<0&&Ce.call(Vt,Vn)&&(Xt[Vn]=Vt[Vn]);return Xt},Le=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const{Dragger:rt}=ni.default,Sn=Vt=>{var hn=Vt,{shixunsDetail:Xt,globalSetting:Vn,loading:er,user:lr,dispatch:ui,isRepository:Ci}=hn,Yn=Ue(hn,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ln=(0,Mt.useLocation)(),_r=(0,Mt.useParams)(),[Rn,Ir]=(0,ue.useState)({}),Or=(0,ue.useRef)(),[fr]=de.default.useForm(),[Bo,Zr]=(0,ue.useState)([]),[Zi,xr]=(0,ue.useState)();let oo;(0,ue.useEffect)(()=>{Yn.visible&&(fr.resetFields(),Zr([]))},[Yn.visible]),(0,ue.useEffect)(()=>{Or.current=_r.id},[]),(0,ue.useEffect)(()=>{const rr=sessionStorage.getItem("pathArray");if(rr){const qi=rr.split(",").join("/"),Qi=qi.indexOf("/")===0?qi.substr(1):qi;xr(Qi)}},[]);const Bn=rr=>{var qi,Qi,aa,ys;if(oo=rr.file.name,rr.file.status==="done"||rr.file.status==="uploading"){if(Zr(rr.fileList),!rr.file.response)return;if(((qi=rr.file.response)==null?void 0:qi.status)===0){(Qi=Xt==null?void 0:Xt.detail)!=null&&Qi.copy_for_exercise||(Wt.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01"),fr.validateFields());return}Zr(Bo.filter(bs=>bs.uid!==rr.file.uid)),(aa=rr.file.response)!=null&&aa.message&&Wt.ZP.info((ys=rr.file.response)==null?void 0:ys.message)}},gi=rr=>Le(void 0,null,function*(){if(!rr.response){Wt.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield ui({type:"shixunsDetail/deleteGitFile",payload:{id:_r.id,path:Zi?`${Zi}/${rr.name}`:rr.name,message:fr.getFieldValue("commitMessage")||`\u5220\u9664\u4E86${Zi?`${Zi}/${rr.name}`:rr.name}`,secret_repository:Ci?null:!0}})).status===0&&(Zr(Bo.filter(Qi=>Qi.uid!==rr.uid)),Wt.ZP.info("\u5220\u9664\u6210\u529F"))}),Ze={height:300,multiple:!0,withCredentials:!0,openFileDialogOnClick:!!fr.getFieldValue("commitMessage"),data:()=>Le(void 0,null,function*(){return new Promise((rr,qi)=>Le(void 0,null,function*(){setTimeout(()=>Le(void 0,null,function*(){const Qi=yield fr.getFieldsValue(),aa=Te(Te({},{path:Yn.defaultPath?Yn.defaultPath:"",message:Rn.commitMessage||`\u4E0A\u4F20\u4E86${oo}`}),Ci?{}:{secret_repository:!0});rr(aa)}),200)}))}),fileList:Bo,method:"post",action:`${Fn.Z.API_SERVER}/api/shixuns/${Or.current}/upload_git_file.json`,onChange:Bn,onRemove:gi,beforeUpload:rr=>(oo=rr.name,rr.size/1024/1024>50?(Wt.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0)},Io=(rr=!1,qi=1)=>Le(void 0,null,function*(){var Qi;const aa=Te(Te({},{path:Yn.defaultPath?Yn.defaultPath:"",message:Rn.commitMessage||`\u4E0A\u4F20\u4E86${oo}`}),Ci?{}:{secret_repository:!0});for(let ys=0;ys{bs.append(Ea,aa[Ea].toString())});const _o=yield(0,ii.ZP)(`/api/shixuns/${Or.current}/upload_git_file.json`,{method:"post",body:bs},!0)}Yn.onClose(),Yn.onOK({path:Yn.defaultPath}),no(),(Qi=Xt==null?void 0:Xt.detail)!=null&&Qi.copy_for_exercise&&(0,Jt.m)(ui,Xt,_r.id,qi)}),no=()=>{var rr,qi;Mt.history.push(`/shixuns/${Or.current}/${(qi=(rr=ln.pathname)==null?void 0:rr.split("/"))==null?void 0:qi[3]}${Zi?`/master/shixun_show/${Zi}`:""}`)};return $e.createElement(St.default,{open:Yn.visible,onOk:rr=>{fr.submit()},centered:!0,onCancel:Yn.onClose,width:"70%"},$e.createElement("section",{className:zt.bg},$e.createElement("div",{className:zt.wrap},$e.createElement("div",{className:zt.title},"\u4E0A\u4F20\u6587\u4EF6"),$e.createElement(de.default,{className:"mt10",form:fr,scrollToFirstError:!0,layout:"vertical",onFinish:()=>Le(void 0,null,function*(){var rr,qi;yield fr.validateFields(),(rr=Xt==null?void 0:Xt.detail)!=null&&rr.is_fork_from_creator&&((qi=Xt==null?void 0:Xt.detail)!=null&&qi.copy_for_exercise)?(Yn.onClose(),ui({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(Qi,aa)=>{Io(Qi,aa)}}})):Io()}),onValuesChange:()=>Ir(Te({},fr.getFieldsValue()))},$e.createElement(de.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},$e.createElement(le.default,{placeholder:"\u5FC5\u586B\uFF0C\u63CF\u8FF0\u4E3B\u8981\u4FEE\u6539\u5185\u5BB9\uFF08\u76F8\u5F53\u4E8EGit Commit message\u7684Header\uFF09"})),$e.createElement(de.default.Item,{label:"\u9009\u62E9\u6587\u4EF6",name:"file",rules:[{required:!0,validator(rr,qi){return(Bo==null?void 0:Bo.length)===0?Promise.reject(new Error("\u8BF7\u9009\u62E9\u6587\u4EF6")):Promise.resolve()}}]},$e.createElement("div",{onClick:()=>{if(!fr.getFieldValue("commitMessage")){Wt.ZP.warning("\u8BF7\u5148\u586B\u5199\u63D0\u4EA4\u4FE1\u606F");return}}},$e.createElement(rt,Te({},Ze),$e.createElement("div",null,$e.createElement("i",{className:`iconfont icon-shangchuan font50 ${zt.colorBlue}`})),$e.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",$e.createElement("span",{className:`${zt.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20\uFF08\u5982\u679C\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC750MB,\u8BF7\u4E0A\u4F20\u81F3\u6570\u636E\u96C6\uFF09"))))))),$e.createElement(mn.Z,{onFinish:rr=>xr(rr)})))};var fn=(0,Mt.connect)(({shixunsDetail:Vt,loading:hn,globalSetting:Xt,user:Vn})=>({shixunsDetail:Vt,globalSetting:Xt,user:Vn,loading:hn.models.index}))(Sn),an={flex_box_center:"flex_box_center___UqJuy",flex_space_between:"flex_space_between___kWKf7",flex_box_vertical_center:"flex_box_vertical_center___nu70j",flex_box_center_end:"flex_box_center_end___NpRXJ",flex_box_column:"flex_box_column___mXaJ7",headLeft:"headLeft___CFA1O",colorBlue:"colorBlue___tdx2e",wrap:"wrap___Q6mHI",nodata:"nodata___f2U7q",nodataText:"nodataText___UUFGT",content:"content___nlH4h",gitCode:"gitCode___jaHbo",ellipsis:"ellipsis___wqs5z",menu:"menu___E01hA",overlayClass:"overlayClass___LrvQr",tips:"tips___XoHVF",gitTree:"gitTree___VsBuj"},qt={wrap:"wrap___qIbzI",content:"content___cWjqb",mainPathWrap:"mainPathWrap___QP5mq",colorBlue:"colorBlue___zUy77"},fi=Object.defineProperty,Mn=Object.getOwnPropertySymbols,On=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable,Si=(Vt,hn,Xt)=>hn in Vt?fi(Vt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):Vt[hn]=Xt,sr=(Vt,hn)=>{for(var Xt in hn||(hn={}))On.call(hn,Xt)&&Si(Vt,Xt,hn[Xt]);if(Mn)for(var Xt of Mn(hn))Hi.call(hn,Xt)&&Si(Vt,Xt,hn[Xt]);return Vt},ro=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const Wo=({shixunsDetail:Vt,globalSetting:hn,loading:Xt,dispatch:Vn,title:er,pathList:lr=[],showInputPath:ui=!1,isMergeSelectFile:Ci=!1,onFinish:Yn=()=>{}})=>{const[ln]=de.default.useForm(),_r=(0,Mt.useParams)(),Rn=(0,Mt.useLocation)(),Ir=(0,ue.useRef)(),[Or,fr]=(0,ue.useState)(""),[Bo,Zr]=(0,ue.useState)(""),[Zi,xr]=(0,ue.useState)([]),[oo,Bn]=(0,ue.useState)([]);(0,ue.useEffect)(()=>{var qi,Qi;Ir.current=((Qi=(qi=Rn.pathname)==null?void 0:qi.split("/"))==null?void 0:Qi[3])==="repository"},[]),(0,ue.useEffect)(()=>{if(Vt.actionTabs.key!=="Repository-SelectFilePath")return;const qi=lr.join("/");let Qi=[];lr.map((aa,ys)=>{ys===0?Qi.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${aa}`,path:qi}):Qi.push({val:`/${aa}`,path:qi})}),xr(Qi),fr(qi),Zr(qi),gi(qi)},[Vt.actionTabs.key]);const gi=qi=>ro(void 0,null,function*(){const Qi=yield Vn({type:Ir.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:_r.id,path:qi}});Qi&&Bn(Qi.trees||[])}),Ze=qi=>{let Qi=Or;qi.type==="tree"&&(Zi.length?Zi.push({val:`/${qi.name}`,path:qi.name}):Zi.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${qi.name}`,path:qi.name}),xr(Zi),Qi=Or?`${Or}/${qi.name}`:qi.name,fr(Qi)),gi(Qi)},Io=(qi,Qi)=>{const aa=Zi.filter((bs,_o)=>_o<=Qi);xr(aa);const ys=aa.filter((bs,_o)=>_o!==0).map(bs=>bs.val).join("").substr(1);fr(ys),gi(ys)},no=()=>ro(void 0,null,function*(){const qi=ln==null?void 0:ln.getFieldsValue(),Qi=Or?`${Or}${qi!=null&&qi.name?`/${qi==null?void 0:qi.name}`:""}`:qi==null?void 0:qi.name;if(Ci){Yn(Qi),rr();return}if(ui){yield ln.validateFields();const aa=yield Vn({type:"shixunsDetail/uploadGitFolder",payload:sr(sr({},{id:_r.id,path:Qi}),Ir.current?{}:{secret_repository:!0})});Yn(Bo),aa.status===0&&Wt.ZP.info("\u65B0\u5EFA\u6210\u529F")}else Yn(Qi),Wt.ZP.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");rr()}),rr=()=>{Vn({type:"shixunsDetail/setActionTabs",payload:{}}),ln.resetFields()};return ue.createElement(St.default,{centered:!0,title:er||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,open:Vt.actionTabs.key==="Repository-SelectFilePath",onOk:no,onCancel:rr},ue.createElement("div",{className:qt.wrap},ue.createElement("div",{className:qt.content},ue.createElement("div",{className:qt.mainPathWrap},!!(Zi!=null&&Zi.length)&&Zi.map((qi,Qi)=>ue.createElement("a",{key:Qi,onClick:()=>Io(qi,Qi)},qi.val))),!!(oo!=null&&oo.length)&&oo.map((qi,Qi)=>qi.type==="tree"&&ue.createElement("a",{key:Qi,onClick:()=>Ze(qi)},ue.createElement("i",{className:`iconfont icon-wenjianjia ${qt.colorBlue}`}),qi.name))),ue.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),ue.createElement("div",{className:"mt5 mb5"},Or),ui&&ue.createElement(de.default,{form:ln,scrollToFirstError:!0,className:"mt20"},ue.createElement(de.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ue.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};var No=(0,Mt.connect)(({shixunsDetail:Vt,loading:hn,globalSetting:Xt})=>({shixunsDetail:Vt,globalSetting:Xt,loading:hn.models.index}))(Wo),Lr=Pe(18785),Ko=Pe(84105),Oo=Pe(49692),So=Pe(955),Eo=Pe(46474),Tr=Pe(79219),Be=Object.defineProperty,ya=Object.defineProperties,to=Object.getOwnPropertyDescriptors,zn=Object.getOwnPropertySymbols,Vi=Object.prototype.hasOwnProperty,Wi=Object.prototype.propertyIsEnumerable,mi=(Vt,hn,Xt)=>hn in Vt?Be(Vt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):Vt[hn]=Xt,Jn=(Vt,hn)=>{for(var Xt in hn||(hn={}))Vi.call(hn,Xt)&&mi(Vt,Xt,hn[Xt]);if(zn)for(var Xt of zn(hn))Wi.call(hn,Xt)&&mi(Vt,Xt,hn[Xt]);return Vt},nr=(Vt,hn)=>ya(Vt,to(hn)),tn=(Vt,hn)=>{var Xt={};for(var Vn in Vt)Vi.call(Vt,Vn)&&hn.indexOf(Vn)<0&&(Xt[Vn]=Vt[Vn]);if(Vt!=null&&zn)for(var Vn of zn(Vt))hn.indexOf(Vn)<0&&Wi.call(Vt,Vn)&&(Xt[Vn]=Vt[Vn]);return Xt},_t=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const{DirectoryTree:Rt}=Oe.default,Li=Vt=>{var hn=Vt,{shixunsDetail:Xt,globalSetting:Vn,loading:er,user:lr,activeKey:ui,dispatch:Ci,practiceSetting:Yn,isRepository:ln,treeData:_r,setTreeData:Rn}=hn,Ir=tn(hn,["shixunsDetail","globalSetting","loading","user","activeKey","dispatch","practiceSetting","isRepository","treeData","setTreeData"]),Or,fr,Bo,Zr,Zi,xr,oo;const Bn=(0,Mt.useParams)(),gi=(0,Mt.useLocation)(),[Ze,Io]=(0,ue.useState)(),[no,rr]=(0,ue.useState)(!1),[qi,Qi]=(0,ue.useState)(!1),[aa,ys]=(0,ue.useState)(!1),[bs,_o]=(0,ue.useState)(!1),[Ea,za]=(0,ue.useState)("");let[kr,Rr]=(0,ue.useState)([]),[pi,ho]=(0,ue.useState)([]);const[Ba,Ws]=(0,ue.useState)([]),[Xa,ua]=(0,ue.useState)(!1),[Ta,Ls]=(0,ue.useState)(),[ll,on]=(0,ue.useState)(),[Va,nn]=(0,ue.useState)(""),[Ss,yu]=(0,ue.useState)(),[fl,Vl]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{Rn([]),Su(""),localStorage.warehouseHideTip||ua(!0)},[gi.pathname,ln]);const is=(wr="")=>_t(void 0,null,function*(){(yield(0,Oo.Zt)({id:Bn.id,secret_dir_path:wr}))&&yu(wr)}),kl=wr=>{var so;return ue.createElement(Ve.default,{className:an.menu,onClick:ca=>{switch(za(wr.path||""),ca.key){case"1":(0,So.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6"]),rr(!0);break;case"2":(0,So.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6\u5939"]),ys(!0);break;case"3":(0,So.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u4E0A\u4F20"]),_o(!0);break;case"4":(0,So.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u91CD\u547D\u540D"]),Qi(!0);break;case"5":(0,So.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u5220\u9664"]),xd(wr.path,wr.name,wr);break;case"6":(0,So.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u590D\u5236\u8DEF\u5F84"]),Ed(wr);break}}},(wr.type==="topTree"||wr.type==="tree")&&ue.createElement(Ve.default.Item,{key:"1"},"\u65B0\u5EFA\u6587\u4EF6"),(wr.type==="topTree"||wr.type==="tree")&&ue.createElement(Ve.default.Item,{key:"2"},"\u65B0\u5EFA\u6587\u4EF6\u5939"),(wr.type==="topTree"||wr.type==="tree")&&ue.createElement(Ve.default.Item,{key:"3"},"\u4E0A\u4F20"),wr.type!=="topTree"&&wr.type!=="tree"&&((so=Xt==null?void 0:Xt.detail)==null?void 0:so.public)<2&&ue.createElement(Ve.default.Item,{key:"4"},"\u91CD\u547D\u540D"),wr.type!=="topTree"&&ue.createElement(ne.CopyToClipboard,{text:`/data/workspace/myshixun/${ln?"":"secret/"}${wr==null?void 0:wr.path}`,onCopy:()=>Wt.ZP.success("\u590D\u5236\u6210\u529F")},ue.createElement(Ve.default.Item,{key:"6"},ue.createElement(ue.Fragment,null,"\u590D\u5236\u8DEF\u5F84"))),wr.type!=="topTree"&&ue.createElement(Ve.default.Item,{key:"5"},"\u5220\u9664"))},Nl=(wr,so)=>wr.map(ca=>(so==""?ca.path=so+ca.name:ca.path=so+"/"+ca.name,ca.title=ue.createElement(bt.Z,{className:"font14"},ue.createElement(wt.Z,{flex:"1"},ue.createElement(bt.Z,null,ca.type==="blob"&&ue.createElement(wt.Z,{flex:"20px",style:{marginLeft:-20}},ue.createElement("span",{className:"iconfont icon-wenjian11 font12"})),ue.createElement(wt.Z,{flex:"1"},ue.createElement("span",{className:" multi_ellipsis1"},ca.name)))),ue.createElement(wt.Z,null,(ca.type==="blob"||ca.type==="tree")&&ue.createElement(pt.Z,{dropdownRender:()=>kl(ca),className:an.ellipsis},ue.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"})))),ca.disableCheckbox=Ze&&Ze!==ca.name,ca.className=ca.type==="tree"?an.pl23:"",ca.checkable=ca.type!=="tree",ca.isLeaf=ca.type!=="tree",ca.children=ca.type==="tree"&&[],ca.key=ca.path,ca)),ga=wr=>{Ci({type:"practiceSetting/setSideBarTabs",payload:{selectPath:wr}})},gl=(wr,so)=>_t(void 0,null,function*(){const ca=wr.split("/");yield Su(Ea),setTimeout(()=>{ga(wr),kr=[ca[0]||""],pi=[wr],ho([...pi]),Rr([...kr])},150)}),Vc=(wr,so)=>{if(so=="")_r=[...wr],Rn([...wr]);else{let ca=du(_r,so,wr);_r=ca,Rn([...ca])}};function du(wr,so,ca){return wr.map(Dr=>Dr.key===so?(Dr.children=[...ca],Jn({},Dr)):Dr.children?nr(Jn({},Dr),{children:du(Dr.children,so,ca)}):Dr)}const Su=(wr="")=>_t(void 0,null,function*(){var so,ca;const Dr=yield Ci({type:ln?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:Bn.id,path:wr}});if(Dr){if((so=Dr.trees)!=null&&so.length){let Bl=Nl([...Dr.trees],wr);Vc(Bl,wr),Ws(Dr.trees||[]),on(wr||""),console.log("handleGetRepository:",Bl,wr),setTimeout(()=>console.log(_r,Dr.trees,wr,999999),2e3)}else wr==""&&Rn([]);Ls(((ca=Dr.commits)==null?void 0:ca[0])||{})}return Dr}),xu=wr=>_t(void 0,null,function*(){return new Promise((so,ca)=>_t(void 0,null,function*(){wr.children.length&&so(),nn(wr.path),yield Su(wr.path),so()}))}),ao=(wr,so)=>_t(void 0,null,function*(){var ca;console.log("handleSelectTree",wr,so.nativeEvent.target.nodeName,so);const Dr=()=>{ga(so.node.path),wr=[so.node.path],ho([...wr])};so.nativeEvent.target.nodeName==="svg"||so.nativeEvent.target.nodeName==="LI"||so.nativeEvent.target.nodeName==="I"||so.node.type==="blob"&&((ca=Yn==null?void 0:Yn.sideBar)!=null&&ca.confirmLeave?St.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Dr(),Ci({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}}):Dr())}),xd=(wr,so,ca)=>{St.default.confirm({centered:!0,title:`\u786E\u8BA4\u9700\u8981\u5220\u9664\u8BE5\u6587\u4EF6${ca.children?"\u5939":""}?`,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>_t(void 0,null,function*(){const Dr=yield Ci({type:"shixunsDetail/deleteGitFile",payload:{id:Bn.id,path:wr,message:`\u5220\u9664${wr}`,secret_repository:ln?null:!0}});let Bl=wr.split("/");if((Dr==null?void 0:Dr.status)===0){Wt.ZP.info("\u5220\u9664\u6210\u529F"),Bl.splice(Bl.length-1,1);const ku=yield Su(Bl.length>1?Bl.join("/"):"");return ku!=null&&ku.trees||(Bl.splice(Bl.length-1,1),yield Su(Bl.length>1?Bl.join("/"):"")),ga(""),!0}else(Dr==null?void 0:Dr.status)===-3?St.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:ue.createElement("div",null,"\u8BE5\u6587\u4EF6\u201C",wr,"\u201D\u5DF2\u7ECF\u88AB\u4EFB\u52A1\u5173\u5361\u7684\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u6216\u8BC4\u6D4B\u6267\u884C\u6587\u4EF6\u4F7F\u7528\uFF0C\u8BF7\u5148\u4FEE\u6539\u4EFB\u52A1\u5173\u5361\u4E2D\u8BC4\u6D4B\u8BBE\u7F6E\u7684\u6587\u4EF6\u8DEF\u5F84\u540E\u518D\u5220\u9664\u3002"),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:()=>{window.location.href=`/shixuns/${Bn.id}/edit/${Dr==null?void 0:Dr.message}/tab=2`}}):(Dr==null?void 0:Dr.status)===-4&&St.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:ue.createElement("div",null,Dr==null?void 0:Dr.message),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:()=>{window.location.href=`/shixuns/${Bn.id}/edit?tabId=service`}})})})},Ed=wr=>{console.log(wr,"item")},Bc=(wr,so)=>_t(void 0,null,function*(){if(console.log("handleExpand",so),so.nativeEvent.target.nodeName==="svg"||so.nativeEvent.target.nodeName==="path"||so.nativeEvent.target.nodeName==="LI")return!0;yield xu(so.node),kr.includes(so.node.path)?kr.splice(kr.indexOf(so.node.path),1):kr.push(so.node.path),Rr([...kr])}),Od=()=>{ua(!1),localStorage.warehouseHideTip=!0},Nh=wr=>_t(void 0,null,function*(){var so;let ca,Dr="",Bl,ku;switch(ln){case!0:Dr="\u5F00\u542F\u7248\u672C\u5E93",Bl="\u5F00\u542F",ku="\u4E0D\u5F00\u542F",ca=ue.createElement("div",null,"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361\u65F6\uFF0C\u9700\u8981\u4F7F\u7528\u4EE3\u7801\u4ED3\u5E93\uFF1B\u5982\u679C\u53EA\u6709\u9009\u62E9\u9898\u5173\u5361\uFF0C\u5219\u4E0D\u9700\u8981\u4EE3\u7801\u4ED3\u5E93\u3002\u4EE3\u7801\u4ED3\u5E93\u542F\u7528\u540E\uFF0C\u5C06\u65E0\u6CD5\u5173\u95ED\u3002");break;case!1:(so=Xt==null?void 0:Xt.detail)!=null&&so.secret_repository?(Dr="\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",Bl="\u786E\u5B9A",ku="\u53D6\u6D88",ca=ue.createElement("div",null,"\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u540E\uFF0C\u5DF2\u521B\u5EFA\u7684\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u53CA\u5176\u5185\u5BB9\uFF0C\u5C06\u88AB\u5220\u9664\u3002\u786E\u8BA4\u8981\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\uFF1F")):(Dr="\u5F00\u542F\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",Bl="\u4E0D\u4F7F\u7528",ku="\u4F7F\u7528",ca=ue.createElement("div",null,"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002\u9002\u7528\u4E8E\u547D\u4EE4\u884C\u3001\u56FE\u5F62\u5316\u684C\u9762\u4E24\u7C7B\u5B9E\u8BAD\uFF0C\u5176\u4ED6\u7C7B\u578B\u5B9E\u8BAD\u4E0D\u5EFA\u8BAE\u4F7F\u7528\u79C1\u5BC6\u7248\u672C\u5E93\u3002"));break}!ln&&(0,Eo.gy)(Ci,"\u4E0D\u80FD\u5F00\u542F/\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93")||St.default.confirm({title:Dr,okText:Bl,cancelText:ku,content:ca,onOk:()=>{var xs;(0,So.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93",Dr]),!ln&&!((xs=Xt==null?void 0:Xt.detail)!=null&&xs.secret_repository)||ir(wr)},onCancel:()=>{var xs;!ln&&!((xs=Xt==null?void 0:Xt.detail)!=null&&xs.secret_repository)&&ir(wr)}})}),ir=wr=>_t(void 0,null,function*(){ln?(yield(0,Oo.h4)(Jn({},Bn)),Ci({type:"practiceSetting/getCommonData",payload:Jn({},Bn)})):yield(0,Oo.K0)(nr(Jn({},Bn),{is_secret_repository:wr})),Su(),Ci({type:"shixunsDetail/getShixunsDetail",payload:{id:Bn.id}})}),il=wr=>{console.log(wr)},bl=wr=>_t(void 0,null,function*(){console.log(wr);const so=wr.node.key,ca=wr.dragNode.key,Dr=wr.node.pos.split("-"),Bl=wr.dropPosition-Number(Dr[Dr.length-1]);if(wr.dragNode.type==="tree"){Wt.ZP.warning("\u4E0D\u652F\u6301\u6587\u4EF6\u5939\u79FB\u52A8\u76EE\u5F55");return}if(wr.node.type!=="tree"){Wt.ZP.warning("\u672A\u79FB\u52A8\u6587\u4EF6\u76EE\u5F55\u4F4D\u7F6E");return}if((yield Ci({type:"shixunsDetail/moveGitFile",payload:Jn({id:Bn.id,from:wr.dragNode.path,to:wr.node.path+"/"+wr.dragNode.name,message:`${wr.dragNode.path} move to ${wr.node.path+"/"+wr.dragNode.name} `},ln?{}:{secret_repository:!0})})).status===0){ga(""),yield Su("");for(let Ms=0;Mskl({type:"topTree"}),className:"current"},ue.createElement(Dt.Z,{open:Xa,title:ue.createElement("div",{className:"font16"},ue.createElement(Lr.Z,{style:{position:"relative",left:-35},onClick:()=>Od()}),"\u70B9\u51FB\u6B64\u5904\u65B0\u5EFA\u6587\u4EF6\u3001\u65B0\u5EFA\u6587\u4EF6\u5939\u3001\u4E0A\u4F20\u6587\u4EF6\u3002",ue.createElement("span",{onClick:()=>Od(),className:"iconfont icon-guanbi1 ml8 current font14"})),overlayClassName:an.overlayClass,overlayStyle:{maxWidth:500},arrowPointAtCenter:!0,placement:"right",color:"#F7B500"},ln&&((Zr=Xt==null?void 0:Xt.detail)==null?void 0:Zr.init_repository)&&ue.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}),!ln&&((Zi=Xt==null?void 0:Xt.detail)==null?void 0:Zi.secret_repository)&&ue.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}))))),!!_r.length&&!ln&&ue.createElement("div",{className:"mt20 pl20 pr20 font14 c-white"},ue.createElement("div",null,"\u5B9E\u8BAD\u8BC4\u6D4B\u7684\u65F6\u5019\uFF0C\u7CFB\u7EDF\u4F1A\u4E34\u65F6\u5C06\u79C1\u5BC6\u4EE3\u7801\u5E93\u79FB\u52A8\u666E\u901A\u4EE3\u7801\u5E93\u7684secret\u76EE\u5F55\u4E0B\u9762\uFF0C\u8BC4\u6D4B\u7ED3\u675F\u4F1A\u6E05\u7A7Asecret\u76EE\u5F55\u5185\u5BB9\u3002\u5982\u679C\u79C1\u5BC6\u4EE3\u7801\u5E93\u4E2D\u5B58\u5728\u6587\u4EF6src/test.sh\uFF0C\u5728\u666E\u901A\u4EE3\u7801\u5E93\u8C03\u7528\u8BE5\u6587\u4EF6\u5219\u4F7F\u7528\u8DEF\u5F84\uFF1Asecret/src/test.sh")),_r.length?ue.createElement(ue.Fragment,null,ue.createElement("div",{className:an.content},ui==="1"&&ue.createElement("div",{className:an.tips},"\u63D0\u793A\uFF1A",ue.createElement("br",null),'\u4EE3\u7801\u8FD0\u884C\u5728\u670D\u52A1\u5668/data/workspace/myshixun/\u4E0B\uFF0C\u5982\u679C\u4EE3\u7801 \u9700\u8981\u7528\u5230\u6587\u4EF6\u8DEF\u5F84\u65F6\uFF0C\u60A8\u5C06\u9F20\u6807\u79FB\u5165\u4ED3\u5E93\u6587\u4EF6\u6216\u76EE\u5F55\u53F3\u4FA7\u7684"..." \u56FE\u6807\uFF0C\u9009\u62E9\u590D\u5236\u8DEF\u5F84\u5F97\u5230\u6587\u4EF6\u7684\u7EDD\u5BF9\u8DEF\u5F84\u3002'),ue.createElement(Rt,{disabled:!!er.effects["shixunsDetail/getFileContent"],multiple:!0,showIcon:!1,treeData:_r,switcherIcon:ue.createElement(Ko.Z,{style:{fontWeight:"bold",fontSize:14,position:"relative",top:5,left:-2}}),onExpand:Bc,expandedKeys:kr,selectedKeys:pi,onSelect:ao,draggable:!0,onDragEnter:il,onDrop:bl,className:an.gitTree}))):"",!_r.length&&ln&&((xr=Xt==null?void 0:Xt.detail)==null?void 0:xr.init_repository)&&ue.createElement(yr,null),!_r.length&&!ln&&((oo=Xt==null?void 0:Xt.detail)==null?void 0:oo.secret_repository)&&ue.createElement(yr,null))),ue.createElement(En,{visible:qi,defaultPath:Ea,onClose:()=>Qi(!1),isRepository:!ln,onOK:wr=>_t(void 0,null,function*(){const so=Ea.split("/");so.pop(),yield Su(so.join("/")),ga("")})}),ue.createElement(rn,{visible:no,defaultPath:Ea,onClose:()=>rr(!1),isRepository:ln,onOK:wr=>{gl(wr.path,wr.name)}}),ue.createElement(xt,{visible:aa,defaultPath:Ea,onClose:()=>ys(!1),isRepository:ln,onOK:wr=>{gl(wr.path,wr.name)}}),ue.createElement(fn,{defaultPath:Ea,visible:bs,isRepository:ln,onClose:()=>_o(!1),onOK:wr=>_t(void 0,null,function*(){const so=Ea.split("/");yield Su(Ea),kr=[so[0]||""],pi=[Ea],ho([...pi]),Rr([...kr])})}),ue.createElement(No,{pathList:Ea==null?void 0:Ea.split("/"),showInputPath:!0,isMergeSelectFile:fl,onFinish:wr=>{fl?is(wr):Su(wr),Vl(!1)}}))},yr=()=>ue.createElement("div",{className:`mt20 pb50 ${an.nodata}`},ue.createElement("div",{className:an.headLeft},"\u63D0\u793A\uFF1A",ue.createElement("br",null),"\u6B64\u5904\u5B58\u653E\u672C\u5B9E\u8BAD\u6240\u9700\u7684\u6240\u6709\u4EE3\u7801\u7B49\u76F8\u5173\u6587\u4EF6\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7\u4EE5\u4E0B",ue.createElement("br",null),"\u4E24\u79CD\u65B9\u5F0F\u6765\u4F7F\u7528\uFF1A",ue.createElement("br",null),"1\u3001",ue.createElement("a",{href:"/forums/2784",target:"_blank"},"Git\u5BA2\u6237\u7AEF")," \u4E0A\u4F20\u5DF2\u6709\u6587\u4EF6\u6765\u5F00\u59CB\u4F7F\u7528\u3002",ue.createElement("br",null),"2\u3001\u76F4\u63A5\u5728\u5E73\u53F0\u4E0A\u521B\u5EFA\u6587\u4EF6\u76EE\u5F55\u4EE5\u53CA\u76F8\u5173\u4EE3\u7801\u6587\u4EF6\u3002",ue.createElement("br",null),"3\u3001\u5982\u679C\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC750MB,\u8BF7\u4E0A\u4F20\u81F3\u6570\u636E\u96C6\u3002"),ue.createElement("img",{width:"100%",src:Tr.Oe}));var Oi=(0,Mt.connect)(({shixunsDetail:Vt,loading:hn,globalSetting:Xt,practiceSetting:Vn,user:er})=>({shixunsDetail:Vt,globalSetting:Xt,user:er,practiceSetting:Vn,loading:hn}))(Li),Zn={flex_box_center:"flex_box_center___JYIA5",flex_space_between:"flex_space_between___OOSa6",flex_box_vertical_center:"flex_box_vertical_center___s1AAj",flex_box_center_end:"flex_box_center_end___Ou9x8",flex_box_column:"flex_box_column___fXhOh",commitWrap:"commitWrap___xJGHF",wrap:"wrap___OEGuw",colorGray:"colorGray___nocDG",content:"content___Cvvjf",itemTime:"itemTime___wIggD",imageUrl:"imageUrl___C3Dsm",blueLight:"blueLight___qEiQB",divider:"divider___G5Y2d",empty:"empty___L1pRU"},ki=Pe(28103),Vr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,Br=Object.prototype.propertyIsEnumerable,Et=(Vt,hn)=>{var Xt={};for(var Vn in Vt)br.call(Vt,Vn)&&hn.indexOf(Vn)<0&&(Xt[Vn]=Vt[Vn]);if(Vt!=null&&Vr)for(var Vn of Vr(Vt))hn.indexOf(Vn)<0&&Br.call(Vt,Vn)&&(Xt[Vn]=Vt[Vn]);return Xt},Di=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const Cn=Vt=>{var hn=Vt,{shixunsDetail:Xt,globalSetting:Vn,loading:er,user:lr,dispatch:ui,isRepository:Ci}=hn,Yn=Et(hn,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ln=(0,Mt.useParams)(),[_r,Rn]=(0,ue.useState)([]);(0,ue.useEffect)(()=>{Ir()},[Ci]);const Ir=()=>Di(void 0,null,function*(){const Or=yield ui({type:"shixunsDetail/getRepositoryCommit",payload:{id:ln.id,secret_repository:Ci?void 0:!0}});Or&&Rn(Or.commits||[])});return ue.createElement(ue.Fragment,null,_r==""&&ue.createElement("div",{className:Zn.empty},ue.createElement("img",{src:Tr.em,width:"258"}),ue.createElement("br",null),ue.createElement("span",{className:"c-grey-c font14"},"\u6682\u65E0\u63D0\u4EA4\u8BB0\u5F55")),_r!=""&&ue.createElement("section",{className:Zn.bg},ue.createElement("div",{className:Zn.wrap},ue.createElement("div",{className:Zn.content},_r==null?void 0:_r.map(Or=>{var fr,Bo;return ue.createElement("div",null,ue.createElement(bt.Z,{align:"middle",className:"c-white font16"},ue.createElement(wt.Z,null,Or.title)),ue.createElement(bt.Z,{align:"middle",className:"mt20 "},ue.createElement(wt.Z,null,ue.createElement("img",{className:Zn.imageUrl,src:Fn.Z.IMG_SERVER+"/"+((fr=Or.author)==null?void 0:fr.image_url)})),ue.createElement(wt.Z,{className:Zn.blueLight},ue.createElement("span",{className:"ml20"},(Bo=Or.author)==null?void 0:Bo.username)),ue.createElement(wt.Z,null,ue.createElement("span",{className:`ml20 ${Zn.blueLight}`},"\u63D0\u4EA4\u4E8E"),ue.createElement("span",{className:`ml20 ${Zn.blueLight}`},Or.time))),ue.createElement(ki.Z,{className:Zn.divider}))})))))};var Kn=(0,Mt.connect)(({shixunsDetail:Vt,loading:hn,globalSetting:Xt,user:Vn})=>({shixunsDetail:Vt,globalSetting:Xt,user:Vn,loading:hn.models.index}))(Cn),Lt=Pe(23210),Ft=Pe(59301),un=Object.defineProperty,Sr=Object.defineProperties,Ii=Object.getOwnPropertyDescriptors,Ri=Object.getOwnPropertySymbols,si=Object.prototype.hasOwnProperty,Ti=Object.prototype.propertyIsEnumerable,Jr=(Vt,hn,Xt)=>hn in Vt?un(Vt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):Vt[hn]=Xt,Qr=(Vt,hn)=>{for(var Xt in hn||(hn={}))si.call(hn,Xt)&&Jr(Vt,Xt,hn[Xt]);if(Ri)for(var Xt of Ri(hn))Ti.call(hn,Xt)&&Jr(Vt,Xt,hn[Xt]);return Vt},Lo=(Vt,hn)=>Sr(Vt,Ii(hn)),Nn=(Vt,hn)=>{var Xt={};for(var Vn in Vt)si.call(Vt,Vn)&&hn.indexOf(Vn)<0&&(Xt[Vn]=Vt[Vn]);if(Vt!=null&&Ri)for(var Vn of Ri(Vt))hn.indexOf(Vn)<0&&Ti.call(Vt,Vn)&&(Xt[Vn]=Vt[Vn]);return Xt},ja=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const{TabPane:co}=kt.default,Kr=Vt=>{var hn=Vt,{globalSetting:Xt,loading:Vn,dispatch:er,practiceSetting:lr,shixunsDetail:ui}=hn,Ci=Nn(hn,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),Yn,ln,_r,Rn,Ir,Or,fr,Bo,Zr,Zi,xr,oo,Bn,gi,Ze,Io,no,rr,qi;const[Qi,aa]=(0,ue.useState)("1"),[ys,bs]=(0,ue.useState)("1");let[_o,Ea]=(0,ue.useState)();const za=(0,ue.useRef)(),[kr,Rr]=(0,ue.useState)(!0),[pi,ho]=(0,ue.useState)(["2","1"]),[Ba,Ws]=(0,ue.useState)([]),Xa=(0,ue.useRef)(),ua=(0,Mt.useParams)(),Ta=[{id:"1",name:"\u4EE3\u7801\u4ED3\u5E93"},{id:"2",name:Ft.createElement("span",null,Ft.createElement("span",null,"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"),Ft.createElement(Dt.Z,{title:"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002"},Ft.createElement("i",{className:"iconfont icon-xiaowenhao",style:{marginLeft:2,fontSize:14}})))}];(0,ue.useEffect)(()=>{var Va,nn,Ss,yu,fl,Vl,is,kl,Nl,ga,gl,Vc,du,Su,xu,ao,xd,Ed;try{((Ss=(nn=(Va=ui==null?void 0:ui.fileContent)==null?void 0:Va.content)==null?void 0:nn.content)!=null&&Ss.length||((fl=(yu=ui==null?void 0:ui.fileContent)==null?void 0:yu.content)==null?void 0:fl.content)=="")&&(((Vl=ui==null?void 0:ui.fileContent)==null?void 0:Vl.file_type)==="txt"?(za.current=window.decodeURIComponent(escape(window.atob((kl=(is=ui==null?void 0:ui.fileContent)==null?void 0:is.content)==null?void 0:kl.content))),_o=window.decodeURIComponent(escape(window.atob((ga=(Nl=ui==null?void 0:ui.fileContent)==null?void 0:Nl.content)==null?void 0:ga.content))),Ea(_o)):(za.current=(Vc=(gl=ui==null?void 0:ui.fileContent)==null?void 0:gl.content)==null?void 0:Vc.content,_o=(Su=(du=ui==null?void 0:ui.fileContent)==null?void 0:du.content)==null?void 0:Su.content,Ea(_o)))}catch(Bc){za.current=window.atob((ao=(xu=ui==null?void 0:ui.fileContent)==null?void 0:xu.content)==null?void 0:ao.content),_o=window.atob((Ed=(xd=ui==null?void 0:ui.fileContent)==null?void 0:xd.content)==null?void 0:Ed.content),Ea(_o),Wt.ZP.warning("\u8BF7\u786E\u8BA4\u6587\u4EF6\u5B57\u7B26\u96C6\u7F16\u7801\u662F\u5426\u4E3AUTF-8")}console.log("codeMirrorSourceValue1212:12",ui.fileContent.content)},[(Yn=ui==null?void 0:ui.fileContent)==null?void 0:Yn.content]),(0,ue.useEffect)(()=>{var Va;const nn=(Va=lr==null?void 0:lr.sideBar)==null?void 0:Va.selectPath.split("/");ho(nn)},[(ln=lr==null?void 0:lr.sideBar)==null?void 0:ln.selectPath]);const Ls=Va=>{Ea(Va);let nn=-1;Va===za.current?nn=0:nn=1,er({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!!nn}})};(0,ue.useEffect)(()=>{new Promise((Va,nn)=>ja(void 0,null,function*(){var Ss,yu,fl;if(((Ss=lr==null?void 0:lr.sideBar)==null?void 0:Ss.selectPath)!==""&&((yu=lr==null?void 0:lr.sideBar)!=null&&yu.selectPath)){const Vl=yield er({type:"shixunsDetail/getFileContent",payload:{id:ua.id,path:(fl=lr==null?void 0:lr.sideBar)==null?void 0:fl.selectPath,secret_repository:kr?null:!0}});Vl!=null&&Vl.content||(Vl==null?void 0:Vl.content)==""||er({type:"practiceSetting/setSideBarTabs",payload:{selectPath:""}})}}))},[(_r=lr==null?void 0:lr.sideBar)==null?void 0:_r.selectPath]);const ll=Ft.createElement(Ve.default,{className:it.menu,style:{background:"#24294b"},onClick:Va=>{var nn;!((nn=ui==null?void 0:ui.detail)!=null&&nn.secret_repository)&&Va.key==="2"&&bs("1"),aa(Va.key),Va.key==="1"?Rr(!0):Rr(!1)}},Ft.createElement(Ve.default.Item,{disabled:!0,key:"0"},"\u5207\u6362\u4ED3\u5E93"),Ta.filter(Va=>{var nn,Ss;return!((nn=ui==null?void 0:ui.detail)!=null&&nn.init_repository)||(Ss=ui==null?void 0:ui.detail)!=null&&Ss.is_jupyter_lab?Va.id!=="2":Va}).map((Va,nn)=>Ft.createElement(Ve.default.Item,{className:"leaveClick",key:Va.id},Va.name))),on=(Va=!1,nn=1)=>ja(void 0,null,function*(){var Ss,yu,fl,Vl;const is=yield er({type:"shixunsDetail/updateRepositoryFile",payload:{id:ua.id,path:(yu=(Ss=ui==null?void 0:ui.fileContent)==null?void 0:Ss.params)==null?void 0:yu.path,content:_o,secret_repository:kr?null:!0,sync_origin_shixun:Va}});is!=null&&is.content&&((fl=ui==null?void 0:ui.detail)!=null&&fl.copy_for_exercise||Wt.ZP.success("\u4FDD\u5B58\u6210\u529F"),er({type:"practiceSetting/setSideBarTabs",payload:Lo(Qr({},lr.sideBar),{confirmLeave:!1})})),(Vl=ui==null?void 0:ui.detail)!=null&&Vl.copy_for_exercise&&(0,Jt.m)(er,ui,ua.id,nn)});return Ft.createElement("div",{className:it.warehouse},Ft.createElement("div",{className:it.header},Ft.createElement(bt.Z,{align:"middle",className:"w100 c-white",style:{height:60}},Ft.createElement(wt.Z,{flex:"1"},Ft.createElement(bt.Z,{align:"middle"},Ft.createElement(wt.Z,null,Ft.createElement(pt.Z,{dropdownRender:()=>ll,className:it.menu},Ft.createElement("span",{className:"font16 c-white current ml20"},Ta.find(Va=>Va.id===Qi).name," ",Ft.createElement("span",{style:{color:"#B0B5D6"},className:"iconfont icon-sanjiaoxing font12"})))),Ft.createElement(wt.Z,{flex:"81px"},Ft.createElement("div",{className:it.line})),Ft.createElement(wt.Z,null,Ft.createElement(kt.default,{className:it.tabs,activeKey:ys,onChange:Va=>{var nn;(nn=lr==null?void 0:lr.sideBar)!=null&&nn.confirmLeave?St.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{bs(Va),er({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}})}}):(bs(Va),er({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}}))}},Ft.createElement(co,{tab:Ft.createElement("span",{className:"leaveClick"},"\u4EE3\u7801\u6587\u4EF6"),key:"1"}),kr&&((Rn=ui==null?void 0:ui.detail)==null?void 0:Rn.init_repository)&&Ft.createElement(co,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}),!kr&&((Ir=ui==null?void 0:ui.detail)==null?void 0:Ir.secret_repository)&&Ft.createElement(co,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}))))),(kr&&((Or=ui==null?void 0:ui.repository)==null?void 0:Or.git_url)||!kr&&((fr=ui==null?void 0:ui.secretRepository)==null?void 0:fr.git_url))&&Ft.createElement(Ft.Fragment,null,Ft.createElement(wt.Z,null,Ft.createElement("span",{className:it.title},"\u4ED3\u5E93\u5730\u5740:"),Ft.createElement("input",{value:kr?(Bo=ui==null?void 0:ui.repository)==null?void 0:Bo.git_url:(Zr=ui==null?void 0:ui.secretRepository)==null?void 0:Zr.git_url}),Ft.createElement(ne.CopyToClipboard,{text:kr?(Zi=ui==null?void 0:ui.repository)==null?void 0:Zi.git_url:(xr=ui==null?void 0:ui.secretRepository)==null?void 0:xr.git_url,onCopy:()=>Wt.ZP.success("\u590D\u5236\u6210\u529F")},Ft.createElement(Dt.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u7248\u672C\u5E93"},Ft.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"}))))))),Ft.createElement("div",{className:it.content,style:{overflow:"auto"}},ys==="1"&&Ft.createElement(Ft.Fragment,null,Ft.createElement("aside",{className:it.left},Ft.createElement(Ut.Z,{spinning:!!Vn.effects["shixunsDetail/getRepository"],wrapperClassName:`${it.loading} ${it.bottom0}`},Ft.createElement(Oi,{setTreeData:Ws,treeData:Ba,activeKey:Qi,isRepository:kr}))),Ft.createElement("aside",{className:it.right,ref:Xa},((oo=lr==null?void 0:lr.sideBar)==null?void 0:oo.selectPath)!==""&&Ft.createElement(Ft.Fragment,null,Ft.createElement(Ut.Z,{spinning:!!Vn.effects["shixunsDetail/getFileContent"],wrapperClassName:it.loading},Ft.createElement("div",{className:it.filePathWrp},Ft.createElement(bt.Z,{align:"middle",className:"w100"},Ft.createElement(wt.Z,null,Ft.createElement("span",{className:"iconfont icon-daimacangku2 c-white"})),Ft.createElement(wt.Z,{flex:"40px"},Ft.createElement("div",{className:it.line,style:{marginLeft:20}})),Ft.createElement(wt.Z,{className:it.filePath},pi.map((Va,nn)=>Ft.createElement("span",{className:"c-blue"},Va))))),Ft.createElement("div",{className:Vn.effects["shixunsDetail/getFileContent"]?"hide":"show"},Ft.createElement(Lt.Z,{className:"darkBlue",style:{top:66,height:"calc(100% - 60px)",position:"absolute",zIndex:1},filename:(Bn=ui==null?void 0:ui.fileContent)==null?void 0:Bn.filename,type:((gi=ui==null?void 0:ui.fileContent)==null?void 0:gi.file_type)==="office"?"download":(Ze=ui==null?void 0:ui.fileContent)==null?void 0:Ze.file_type,data:_o,monacoEditor:{value:_o,language:(Io=ui==null?void 0:ui.fileContent)==null?void 0:Io.language,onChange:Va=>Ls(Va),options:{fontSize:14}}}))),((no=ui==null?void 0:ui.fileContent)==null?void 0:no.file_type)==="txt"&&Ft.createElement(bt.Z,{align:"middle",justify:"center",className:it.footer},Ft.createElement(wt.Z,null,Ft.createElement(Zt.ZP,{type:"primary",size:"middle",ghost:!0,onClick:()=>{Mt.history.push(`/shixuns/${ua.id}/challenges`)}},"\u53D6\u6D88"),Ft.createElement(Zt.ZP,{type:"primary",size:"middle",className:"ml40",onClick:Va=>{var nn,Ss;(nn=ui==null?void 0:ui.detail)!=null&&nn.is_fork_from_creator&&((Ss=ui==null?void 0:ui.detail)!=null&&Ss.copy_for_exercise)?er({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(yu,fl)=>{on(yu,fl)}}}):on()}},"\u63D0\u4EA4")))),((rr=lr==null?void 0:lr.sideBar)==null?void 0:rr.selectPath)==""&&((qi=ui==null?void 0:ui.detail)==null?void 0:qi.init_repository)&&Ft.createElement("div",{className:it.empty},Ft.createElement("img",{src:Tr.x7,width:"258"}),Ft.createElement("br",null),Ft.createElement("span",{className:"c-grey-c"},!!(Ba!=null&&Ba.length)&&"\u5728\u5DE6\u4FA7\u4EE3\u7801\u4ED3\u5E93\u533A\u57DF\u70B9\u51FB\u76EE\u5F55\u6253\u5F00\u6587\u4EF6",!(Ba!=null&&Ba.length)&&"\u8BF7\u5148\u5728\u5DE6\u4FA7\u4E0A\u4F20\u6587\u4EF6\u6216\u65B0\u5EFA\u6587\u4EF6\uFF01")))),ys==="2"&&Ft.createElement("div",{className:it.commit},Ft.createElement(Kn,{isRepository:kr}))))};var sn=(0,Mt.connect)(({loading:Vt,globalSetting:hn,practiceSetting:Xt,shixunsDetail:Vn})=>({globalSetting:hn,loading:Vt,practiceSetting:Xt,shixunsDetail:Vn}))(Kr)},37129:function(en,jn,Pe){"use strict";Pe.r(jn),Pe.d(jn,{default:function(){return Ht}});var ue=Pe(59301),it={practiceSetting:"practiceSetting___duHIg",wrapHeader:"wrapHeader___vb3NV",wrapLayout:"wrapLayout___z6EgF",wrapSidebar:"wrapSidebar___TzHq8",wrapContent:"wrapContent___iZrCo"},Mt={flex_box_center:"flex_box_center___XeTw7",flex_space_between:"flex_space_between___Hfc9g",flex_box_vertical_center:"flex_box_vertical_center___JWkfv",flex_box_center_end:"flex_box_center_end___bKF19",flex_box_column:"flex_box_column___XWcdc",header:"header___HkrmL","flex-center":"flex-center___Xqcdj",title:"title___rc2FS",schedule:"schedule___MloKP",clickWarp:"clickWarp___yvMMm",num:"num___etFJa",subject:"subject___ZbcjS",btns:"btns___R7eGw",btn:"btn___NLvn4",simulate:"simulate___kVrJQ",exit:"exit___CTNC5"},kt=Pe(955),Dt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACL0lEQVRIS72WvU9TURTAf4e+qBUritRXoYkaB0w0alz4B3RQExTSbjpooouiddGVxf0hTjKQ+MkANhiVwYTNwcHFRuNgdIHGYiMmVWnja6+5La8ttq99Vesd3/n4nXPuOec+ocHpu6nCecVJFCcUHBDo0eoK0gKvEZ76hNnFy7Lg5kbqCXrGVa8vzyhwVsBoFIQCG5jM+xhNj0jyd90agGmpQVHcQwg0clwjU2SUcDoVk8fVsjUAc0yNiMICOlpyXlEuKCGWuiLjzqcyoBg5xP/CueOzoGDIyaQI0DU3bN61XBa3NBUZ22CvvpMiwLTUbYHzf1gWDpmw9B2S3yoeFEykYnJBdCvaBT4265Z6cEMgNgBn9sPQNHz4ugZgGx3sltCYuojiVqvRd/th4jjsC0J0BhKf63gQLknIUs+AY60A+rfB3UEIboTIDLz65Go9J6alFgT6vAIOboeHp2CrH64+h6m37pYKFnUGWWB9tZrfAOso5Gy4Ng/ZfEl62ISpYQisgzsJuD7fNKxcXUCoE+JR2NUFiSU49wQ2GDAbBV3798tw5D7kVsENMDnXEoUDEI9AeDN8WYGsDb0B0FM0PA0va7ZOLcYpkesl7+wqQXZsqhh7LI1jMNe0TfdsKUGCnfDjJwxMQnqlae1LCrpNvQxafzc8isCDN3DjhTfneo0XB83rqtADlczAsu45D6e8Kv7LslvNon3r2sm4rQ9OGdLOJ9OBtPXRr26Qf/Hb8gvtaezbqqd4vgAAAABJRU5ErkJggg==",Wt=Pe(49692),Ve=Pe(43418),bt=Pe(8591),wt=Pe(99064),pt=Pe(89070),St=Pe(59301),Ut=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,te=(tt,st)=>{var ot={};for(var wn in tt)Zt.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&Ut)for(var wn of Ut(tt))st.indexOf(wn)<0&&Oe.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},ne=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const de=tt=>{var st=tt,{globalSetting:ot,loading:wn,dispatch:wi,practiceSetting:Yi,shixunsDetail:dr}=st,Ei=te(st,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),Ln,bi;const Yr=(0,pt.useLocation)(),wo=(0,ue.useRef)(""),Nr=(0,pt.useParams)(),{title:$r,base_info_warning:To,challenges_warning:xo,service_warning:po,repository_warning:ur,mirror_warning:ma}=Yi;(0,ue.useEffect)(()=>{var yo;wo.current=(yo=Yr.pathname.split("/"))==null?void 0:yo[2],wi({type:"practiceSetting/setParams",payload:{id:wo.current}}),wi({type:"practiceSetting/getCommonData",payload:{id:wo.current}})},[Yr.pathname]),(0,ue.useEffect)(()=>((0,kt.Dk)($r||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),()=>{(0,kt.Dk)()}));const Vo=()=>ne(void 0,null,function*(){yield mo(),pt.history.push(`/shixuns/${wo.current}/challenges`)}),mo=()=>new Promise((yo,da)=>{var xa;(xa=Yi==null?void 0:Yi.sideBar)!=null&&xa.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{wi({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),yo()},onCancel:()=>{da()}}):yo()}),Fo=yo=>{var da;if(yo===(Yi==null?void 0:Yi.sideBar.tabsActive))return;const xa=()=>{pt.history.push(`/shixuns/${wo.current}/edit?tabId=${yo}`),wi({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:yo,selectPath:"",confirmLeave:!1}})};(da=Yi==null?void 0:Yi.sideBar)!=null&&da.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{xa()}}):xa()},Pr=(yo,da=!1)=>{yo=yo!=null&&yo.includes(".json")?yo:`${yo}.json`,Ve.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:St.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>ne(void 0,null,function*(){const xa=yield(0,wt.ZP)("/api"+yo,{method:"get"});if(!xa)return;bt.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Qn=yield(0,Wt.Ir)({id:xa.shixun_identifier,jump_challenge_setting:da});if(Qn!=null&&Qn.game_identifier){(0,kt.xg)(`/tasks/${Qn.game_identifier}`);return}(Qn==null?void 0:Qn.status)===2?Pr(Qn==null?void 0:Qn.message):(Qn==null?void 0:Qn.status)===3&&gr(Qn==null?void 0:Qn.message)})})},gr=yo=>{Ve.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:St.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",yo,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Mo=(yo,da)=>ne(void 0,null,function*(){var xa,Qn,Co,Xo;if(yield mo(),(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),(xa=dr.detail)!=null&&xa.is_jupyter||(Qn=dr.detail)!=null&&Qn.is_jupyter_lab){wi({type:"shixunsDetail/execJupyter",payload:{id:wo.current}}).then(qo=>{var ms;qo!=null&&qo.identifier&&((ms=pt.history)==null||ms.push(`/tasks/${qo.identifier}/jupyter`))});return}wi({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const Qo=da?yield(0,Wt.BK)({id:yo}):yield(0,Wt.Ir)({id:yo});if(wi({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(Qo==null?void 0:Qo.status)==5&&!da){Ve.default.confirm({centered:!0,icon:null,width:430,okText:"\u5B8C\u5584\u8BC4\u6D4B\u8BBE\u7F6E",cancelText:"\u76F4\u63A5\u8FDB\u5165\u6A21\u62DF\u5B9E\u6218",title:"\u63D0\u793A",content:St.createElement("div",{className:"mb10"},"\u68C0\u6D4B\u5230",(Xo=(Co=Qo==null?void 0:Qo.data)==null?void 0:Co.challenge_errors)==null?void 0:Xo.map((qo,ms)=>{var Cr;return St.createElement("span",{key:ms,style:{color:"#3061D0"}},"\u7B2C",qo==null?void 0:qo.challenge_position,"\u5173",ms!=((Cr=Qo==null?void 0:Qo.data)==null?void 0:Cr.challenge_errors)-1&&"\u3001")}),"\u5173\u5361\u4E2D\u8BC4\u6D4B\u8BBE\u7F6E\u672A\u5B8C\u6210\uFF0C\u76F4\u63A5\u8FDB\u5165\u6A21\u62DF\u5B9E\u6218\u65E0\u6CD5\u68C0\u6D4B\u6574\u4E2A\u5B9E\u9A8C\u6D41\u7A0B\uFF0C\u5EFA\u8BAE\u5148\u5B8C\u5584\u5173\u5361\u8BC4\u6D4B\u8BBE\u7F6E\u540E\u518D\u8FDB\u5165\u6A21\u62DF\u5B9E\u6218"),onOk:()=>{var qo,ms,Cr;window.location.href=`/shixuns/${wo.current}/edit/${(Cr=(ms=(qo=Qo==null?void 0:Qo.data)==null?void 0:qo.challenge_errors)==null?void 0:ms[0])==null?void 0:Cr.challenge_id}/tab=2`},onCancel:()=>{(0,Wt.Ir)({id:wo.current,jump_challenge_setting:!0}).then(qo=>{if(qo!=null&&qo.game_identifier||qo!=null&&qo.identifier){(0,kt.xg)(`/tasks/${qo.game_identifier}`);return}(qo==null?void 0:qo.status)===-3?(0,kt.eF)():(qo==null?void 0:qo.status)===2?Pr(qo==null?void 0:qo.message,!0):(qo==null?void 0:qo.status)===3&&gr(qo==null?void 0:qo.message)})}});return}if((Qo==null?void 0:Qo.status)==6&&!da){Ve.default.confirm({centered:!0,icon:null,width:430,okText:"\u5B8C\u5584\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E",title:"\u63D0\u793A",content:St.createElement("div",{className:"mb10"},"\u68C0\u6D4B\u5230\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E\u4E0D\u5B8C\u5584\uFF0C\u65E0\u6CD5\u5F00\u542F\u5B9E\u9A8C\u73AF\u5883\u8FDB\u884C\u6A21\u62DF\u5B9E\u6218\u8BF7\u5B8C\u5584\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E"),cancelButtonProps:{style:{display:"none"}},onOk:()=>{window.location.href=`/shixuns/${wo.current}/edit?tabId=environment`}});return}if(Qo!=null&&Qo.game_identifier||Qo!=null&&Qo.identifier){(0,kt.xg)(da?`/tasks/${Qo==null?void 0:Qo.identifier}/jupyter`:`/tasks/${Qo.game_identifier}`);return}(Qo==null?void 0:Qo.status)===-3?(0,kt.eF)():(Qo==null?void 0:Qo.status)===2?Pr(Qo==null?void 0:Qo.message):(Qo==null?void 0:Qo.status)===3&&gr(Qo==null?void 0:Qo.message)}),Ur=()=>ne(void 0,null,function*(){yield mo(),wi({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}})}),Do=yo=>({borderBottomColor:(Yi==null?void 0:Yi.sideBar.tabsActive)===yo?"#0152d9":"transparent"});return St.createElement("div",{className:Mt.header},St.createElement("aside",{className:Mt.title},St.createElement("i",{onClick:Vo,style:{color:"#fff",marginRight:20},className:"icon iconfont icon-fanhui1"}),St.createElement("span",{className:Mt.edit},$r||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),St.createElement("i",{onClick:Ur,className:"icon iconfont icon-xiugai1"})),St.createElement("aside",{className:Mt.schedule},St.createElement("div",null,St.createElement("span",{style:Do("information"),className:Mt.clickWarp,onClick:()=>Fo("information")},To?St.createElement("span",{className:Mt.num},"1"):St.createElement("img",{src:Dt}),St.createElement("span",{className:Mt.subject},"\u57FA\u672C\u4FE1\u606F")),St.createElement("i",{className:"iconfont icon-lujing"})),St.createElement("div",null,St.createElement("span",{style:Do("warehouse"),className:Mt.clickWarp,onClick:()=>Fo("warehouse")},ur?St.createElement("span",{className:Mt.num},"2"):St.createElement("img",{src:Dt}),St.createElement("span",{className:Mt.subject},"\u4EE3\u7801\u4ED3\u5E93")),St.createElement("i",{className:"iconfont icon-lujing"})),(dr==null?void 0:dr.detail)&&!((Ln=dr==null?void 0:dr.detail)!=null&&Ln.is_jupyter_lab)&&St.createElement("div",null,St.createElement("span",{style:Do("level"),className:Mt.clickWarp,onClick:()=>Fo("level")},xo?St.createElement("span",{className:Mt.num},"3"):St.createElement("img",{src:Dt}),St.createElement("span",{className:Mt.subject},"\u4EFB\u52A1\u5173\u5361")),St.createElement("i",{className:"iconfont icon-lujing"})),(dr==null?void 0:dr.detail)&&((bi=dr==null?void 0:dr.detail)==null?void 0:bi.is_jupyter_lab)&&St.createElement("div",null,St.createElement("span",{style:Do("service"),className:Mt.clickWarp,onClick:()=>Fo("service")},po?St.createElement("span",{className:Mt.num},"3"):St.createElement("img",{src:Dt}),St.createElement("span",{className:Mt.subject},"\u670D\u52A1")),St.createElement("i",{className:"iconfont icon-lujing"})),St.createElement("div",null,St.createElement("span",{style:Do("environment"),className:Mt.clickWarp,onClick:()=>Fo("environment")},ma?St.createElement("span",{className:Mt.num},"4"):St.createElement("img",{src:Dt}),St.createElement("span",{className:Mt.subject},"\u5B9E\u9A8C\u73AF\u5883")))),St.createElement("aside",{className:Mt.btns},St.createElement("div",{className:Mt.simulate,onClick:()=>Mo(wo.current,!1)},"\u6A21\u62DF\u5B9E\u6218")))};var le=(0,pt.connect)(({loading:tt,globalSetting:st,practiceSetting:ot,shixunsDetail:wn})=>({globalSetting:st,loading:tt,practiceSetting:ot,shixunsDetail:wn}))(de),pe={information:"information___HnFAg",scroll:"scroll___SzyY_",formWrap:"formWrap___dlZEW",img:"img___ESi1t"},xe=Pe(12290),Ae=Pe(78241),Me=Pe(3113),ke=Pe(92832),lt=Pe(19842),dt=Pe(95237),yt=Pe(43604),ut=Pe(54580),Tt=Pe(24905),xt={btn:"btn___CiIEf",s1:"s1___JCH7l",s2:"s2___jSyjE"},Nt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABjUlEQVQ4T61VsUoDQRB9s+eVYifkUlqIWCW3sbBMqYUR0cbfUPETxPgZ2giigpZaCnKXpBK1sMydpIx25+7ISu5ILhsjclvuzLx5M292lmA57PtuF2gIYIMBSYBn3BiICAg1cF0GrqjVSvLhlL+IqtVNEDUZWLAlS+8IeAPzvtduXw77ZYAMiEjKI2LeY2AskQ2cAGaiEy8MDwnQxicL7Ep5bDL+xmqijahZDsODDHBQ5sVfmVn6xmDeMuWTESAGnqf1bBpz09MSsESx729r4DwfIIA6hPjUSt2AaP7Hztwj5nXHdd0vpR7yMQzsUOT7pwzsjgEKsVIKgiCu1Za1UvfGLhynXgqCp6hSkSxEYCn9jLq+/wJgcawk5l4KYECN3YBlCVLWo4GvhmGfgVlrj4ZAjX0KmBmZD8Owj4IAMQAsvGSrKKR1zet0QpsosZQrmvnRKsqksZlxnFWVJAkT3Y6MDbAmgDlFdGcdm8IH22Qp9OmltAtdDoPlWez6SpkWtmCHFTNCvQMN/scX8A1e4fnIOEHt8AAAAABJRU5ErkJggg==",Jt=Object.defineProperty,vn=Object.getOwnPropertySymbols,Ai=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,kn=(tt,st,ot)=>st in tt?Jt(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,ci=(tt,st)=>{for(var ot in st||(st={}))Ai.call(st,ot)&&kn(tt,ot,st[ot]);if(vn)for(var ot of vn(st))hi.call(st,ot)&&kn(tt,ot,st[ot]);return tt},et=(tt,st)=>{var ot={};for(var wn in tt)Ai.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&vn)for(var wn of vn(tt))st.indexOf(wn)<0&&hi.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},yn=tt=>{var st=tt,{InputRight:ot,value:wn=[],onChange:wi}=st,Yi=et(st,["InputRight","value","onChange"]);const[dr,Ei]=(0,ue.useState)(),Ln=Yr=>{const wo=wn.filter((Nr,$r)=>$r!==Yr);wi(wo)},bi=Yr=>{if(Yr.preventDefault(),!!dr){if(wn.findIndex(wo=>wo.name===dr)>-1){bt.ZP.warning("\u4E0D\u5141\u8BB8\u6DFB\u52A0\u76F8\u540C\u6807\u7B7E");return}wi([...wn,{id:null,name:dr}]),Ei(null)}};return ue.createElement("div",null,ue.createElement(ke.default,ci({bordered:!1,style:{width:600},value:dr,onChange:Yr=>Ei(Yr.target.value),onPressEnter:bi,onBlur:bi},Yi)),ot||ue.createElement("span",{className:"pl20 font14 c-light-black"},"\u56DE\u8F66\u6DFB\u52A0\u6807\u7B7E"),ue.createElement("div",{className:"mt20"},wn==null?void 0:wn.map((Yr,wo)=>ue.createElement("div",{key:wo,className:xt.btn},ue.createElement("span",{className:xt.s1},Yr.name),ue.createElement("img",{src:Nt,className:xt.s2,onClick:()=>Ln(wo)})))))},Xn=Pe(89392),ei=Pe(3294),rn={flex_box_center:"flex_box_center___hBEA9",flex_space_between:"flex_space_between___rMB3f",flex_box_vertical_center:"flex_box_vertical_center___XT_7U",flex_box_center_end:"flex_box_center_end___ayQhe",flex_box_column:"flex_box_column___Yqif8",complete:"complete___zRKx3",cancel:"cancel___D5r7A",save:"save___sa92o"};const xn=({dispatch:tt,onCancel:st,onSave:ot,loading:wn=!1})=>ue.createElement("div",{className:rn.complete},ue.createElement("div",{onClick:st,className:rn.cancel},"\u53D6\u6D88"),ue.createElement(Me.ZP,{type:"primary",loading:wn,onClick:ot,className:rn.save},"\u4FDD\u5B58"));var Dn=(0,pt.connect)()(xn),yi=Pe(16349),qn=Pe(32050),Mi=Pe(19248),mt=Pe(85149),ht=Pe(59301),gn=Object.defineProperty,jt=Object.defineProperties,En=Object.getOwnPropertyDescriptors,Fn=Object.getOwnPropertySymbols,ii=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable,mn=(tt,st,ot)=>st in tt?gn(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,zt=(tt,st)=>{for(var ot in st||(st={}))ii.call(st,ot)&&mn(tt,ot,st[ot]);if(Fn)for(var ot of Fn(st))ni.call(st,ot)&&mn(tt,ot,st[ot]);return tt},$e=(tt,st)=>jt(tt,En(st)),At=(tt,st)=>{var ot={};for(var wn in tt)ii.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&Fn)for(var wn of Fn(tt))st.indexOf(wn)<0&&ni.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},Yt=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const Ie=tt=>{var st=tt,{globalSetting:ot,loading:wn,dispatch:wi,practiceSetting:Yi,problemset:dr,shixunsDetail:Ei}=st,Ln=At(st,["globalSetting","loading","dispatch","practiceSetting","problemset","shixunsDetail"]),bi,Yr;const[wo]=Ae.default.useForm(),[Nr,$r]=(0,ue.useState)({}),[To,xo]=(0,ue.useState)(!1),[po,ur]=(0,ue.useState)(!1),[ma,Vo]=(0,ue.useState)(!1),[mo,Fo]=(0,ue.useState)(""),[Pr,gr]=(0,ue.useState)(""),[Mo,Ur]=(0,ue.useState)(""),[Do,yo]=(0,ue.useState)(),da=(0,ue.useRef)({}),xa=(0,ue.useRef)(""),Qn=(0,ue.useRef)(""),Co=(0,ue.useRef)(""),Xo=(0,ue.useRef)(null),Qo=(0,ue.useRef)((0,Xn.throttle)(()=>Za(),2e3,{leading:!0,trailing:!1})).current,{id:qo}=Yi,[ms,Cr]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{qo&&Ha()},[qo]),(0,ue.useEffect)(()=>(JSON.stringify(Nr)!=="{}"&&Jo(),()=>{clearTimeout(Xo.current)}),[Nr,mo,Mo,Pr]);const Jo=()=>{clearTimeout(Xo.current),Xo.current=setTimeout(()=>{!(0,Xn.isEqual)(Nr,da.current)||mo!==xa.current||Mo!==Qn.current||Pr!==Co.current?wi({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):wi({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},500)},Ha=()=>Yt(void 0,null,function*(){var La,jo,ia,Yl,Ru,tc,fa;wi({type:"problemset/getEditDisciplines",payload:{source:"shixun"}});const Ua=yield(0,wt.ZP)(`/api/shixuns/${qo}/edit_base_info.json`,{method:"get"});if(Ua.status===0){const Po=$e(zt({},Ua.data),{description:(0,yi.S)(Ua.data.description)}),Wr={description:Po.description,shixun_tags:Po.shixun_tags,name:Po.name,course:((La=Po==null?void 0:Po.disciplines)==null?void 0:La.length)>0?[(ia=(jo=Po==null?void 0:Po.disciplines)==null?void 0:jo[0])==null?void 0:ia.id,(tc=(Ru=(Yl=Po==null?void 0:Po.disciplines)==null?void 0:Yl[0])==null?void 0:Ru.sub_discipline)==null?void 0:tc.id]:[]};(fa=Ei.detail)!=null&&fa.is_jupyter_lab&&(Wr.jupyter_show_description=Ua.data.jupyter_show_description),wo.setFieldsValue(Wr),da.current=zt({},Wr),xa.current=Po.attachment_id||"",Qn.current=Po.cover_image_id||"",Co.current=Po.attachment_id_b||"",$r(zt({},Wr)),Fo(Po.attachment_id||""),gr(Po.attachment_id_b||""),Ur(Po.cover_image_id||""),yo(Po.cover_image||"")}}),ls=(La,jo)=>{$r(zt({},jo))},hs=()=>{Ho()},Za=()=>{(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u57FA\u672C\u4FE1\u606F","\u4FDD\u5B58"]),wo.submit()},pr=(La,jo=!1,ia=1)=>{var Yl;const{name:Ru,description:tc,shixun_tags:fa,course:Ua,jupyter_show_description:Po=!1}=La;let Wr={name:Ru,description:tc,shixun_tags:fa,attachment_id:mo,cover_image_id:Mo,attachment_id_b:Pr,sub_discipline_ids:Ua[1]};(Yl=Ei.detail)!=null&&Yl.is_jupyter_lab&&(Wr=$e(zt({},Wr),{jupyter_show_description:Po})),(0,wt.ZP)(`/api/shixuns/${qo}/base_info_save.json`,{method:"post",body:{shixun:zt({},Wr),sync_origin_shixun:jo}}).then(Ka=>Yt(void 0,null,function*(){var Qs,Sc,Xl,sc;if(Ka.status===0&&((Qs=Ei==null?void 0:Ei.detail)!=null&&Qs.copy_for_exercise||bt.ZP.success("\u4FDD\u5B58\u6210\u529F"),wi({type:"practiceSetting/getCommonData",payload:{id:qo}}),wi({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),da.current={description:Nr.description,shixun_tags:Nr.shixun_tags,name:Nr.name},xa.current=mo,Qn.current=Mo,Co.current=Pr,(Sc=Ei==null?void 0:Ei.detail)!=null&&Sc.copy_for_exercise)){const Jl=yield wi({type:"shixunsDetail/saveCopyForExercise",payload:{id:qo,save_type:ia}});ia===1?(Xl=Jl==null?void 0:Jl.data)!=null&&Xl.exists_same_shixun_name?wi({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(sc=Jl==null?void 0:Jl.data)==null?void 0:sc.shixun_name,getBaseInfo:()=>{Ha()}}}):(bt.ZP.info("\u4FDD\u5B58\u6210\u529F"),wi({type:"classroomList/setActionTabs",payload:{}})):(wi({type:"classroomList/setActionTabs",payload:{}}),(Jl==null?void 0:Jl.status)===0&&Ve.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:ht.createElement("div",null,ht.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var nd,mr;(0,kt.xg)(`/shixuns/${(mr=(nd=Ei==null?void 0:Ei.detail)==null?void 0:nd.fork_from)==null?void 0:mr.fork_identifier}/challenges`)}}))}}))},Ho=()=>{var La;const jo=()=>{pt.history.push(`/shixuns/${qo}/challenges`),wi({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(La=Yi==null?void 0:Yi.sideBar)!=null&&La.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{jo()}}):jo()};function Wa(La){const jo=La.type==="image/jpeg"||La.type==="image/png";return jo||bt.ZP.error("\u8BF7\u4E0A\u4F20jpg\u6216png\u7684\u56FE\u7247!"),jo}const Yo=ht.createElement(Me.ZP,{loading:To,icon:ht.createElement(qn.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),ts=ht.createElement(Me.ZP,{loading:ma,icon:ht.createElement(qn.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),fs=ht.createElement(Me.ZP,{loading:po,icon:ht.createElement(qn.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");function al(La,jo){const ia=new FileReader;ia.addEventListener("load",()=>jo(ia.result)),ia.readAsDataURL(La)}const Xs=La=>{var jo,ia;if(La.file.status==="uploading"){xo(!0);return}La.file.status==="done"&&(xo(!1),Fo((ia=(jo=La==null?void 0:La.file)==null?void 0:jo.response)==null?void 0:ia.id))},Os=La=>{var jo,ia;if(La.file.status==="uploading"){ur(!0);return}La.file.status==="done"&&(ur(!1),gr((ia=(jo=La==null?void 0:La.file)==null?void 0:jo.response)==null?void 0:ia.id))},eo=()=>ht.createElement("div",{className:pe.img},ht.createElement("img",{src:(0,mt.z)("/api/attachments/"+mo,!0),alt:"avatar",style:{width:"100%"}}),ht.createElement("div",null,ht.createElement(Mi.Z,{onClick:()=>Fo(""),style:{fontSize:"16px",color:"red"}}))),qa=()=>ht.createElement("div",{className:pe.img},ht.createElement("img",{src:(0,mt.z)("/api/attachments/"+Pr,!0),alt:"avatar",style:{width:"100%"}}),ht.createElement("div",null,ht.createElement(Mi.Z,{onClick:()=>gr(""),style:{fontSize:"16px",color:"red"}}))),sl=La=>{var jo,ia;if(La.file.status==="uploading"){Vo(!0);return}La.file.status==="done"&&(Vo(!1),Ur((ia=(jo=La==null?void 0:La.file)==null?void 0:jo.response)==null?void 0:ia.id),Cr(!0))},Kl=()=>ht.createElement("div",{className:pe.img},ht.createElement("img",{src:(0,mt.z)(ms?"/api/attachments/"+Mo:Do,!0),alt:"avatar",style:{width:"100%"}}),ht.createElement("div",null,ht.createElement(Mi.Z,{onClick:()=>{Ur(""),yo("")},style:{fontSize:"16px",color:"red"}})));return ht.createElement("div",{className:pe.information},ht.createElement("section",{className:pe.scroll},ht.createElement("header",null,"\u57FA\u672C\u4FE1\u606F"),ht.createElement("div",{className:pe.formWrap}," ",ht.createElement(Ae.default,{form:wo,scrollToFirstError:!0,layout:"vertical",onValuesChange:ls,onFinish:La=>{var jo,ia;(jo=Ei==null?void 0:Ei.detail)!=null&&jo.is_fork_from_creator&&((ia=Ei==null?void 0:Ei.detail)!=null&&ia.copy_for_exercise)?wi({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:La,type:"information",fn:(Yl,Ru,tc)=>{pr(Yl,Ru,tc)}}}):pr(La)}},ht.createElement(Ae.default.Item,{name:"name",label:"\u540D\u79F0:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{max:60,message:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ht.createElement(ke.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26",suffix:`${((bi=Nr.name)==null?void 0:bi.length)||0}/60`})),ht.createElement(Ae.default.Item,{className:"customAddTags",name:"shixun_tags",label:ht.createElement("div",null,"\u6280\u80FD\u6807\u7B7E :"," ",ht.createElement("span",{className:"pl10 font14 c-light-black"},"\u5B66\u5458\u901A\u8FC7\u6240\u6709\u4EFB\u52A1\u5173\u5361\uFF0C\u5C06\u83B7\u5F97\u6280\u80FD\u6807\u7B7E")),rules:[{required:!0,message:"\u8BF7\u9009\u8F93\u5165\u6280\u80FD\u6807\u7B7E"}]},ht.createElement(yn,{placeholder:"\u6DFB\u52A0\u6807\u7B7E"})),ht.createElement(Ae.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B\uFF1A",name:"course",labelCol:{span:5},wrapperCol:{span:5}},ht.createElement(lt.Z,{placeholder:"\u8BF7\u9009\u62E9...",allowClear:!1,options:dr.courseOptions,getPopupContainer:La=>La.parentNode})),ht.createElement(dt.Z,null,ht.createElement(yt.Z,null,ht.createElement(Ae.default.Item,{label:"\u9876\u90E8\u80CC\u666F\u56FE:"},mo?eo():ht.createElement(ut.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${ei.Z.API_SERVER}/api/attachments.json`,beforeUpload:Wa,onChange:Xs},Yo))),ht.createElement(yt.Z,{className:"c-grey-999"},ht.createElement("div",{style:{marginTop:71,marginLeft:20}},"\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\u75281920*200\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),ht.createElement(dt.Z,null,ht.createElement(yt.Z,null,ht.createElement(Ae.default.Item,{label:"\u9876\u90E8\u5185\u5BB9\u56FE:"},Pr?qa():ht.createElement(ut.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${ei.Z.API_SERVER}/api/attachments.json`,beforeUpload:Wa,onChange:Os},fs))),ht.createElement(yt.Z,{className:"c-grey-999"},ht.createElement("div",{style:{marginTop:71,marginLeft:20}},"\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\u75281920*200\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),ht.createElement(dt.Z,null,ht.createElement(yt.Z,null,ht.createElement(Ae.default.Item,{label:"\u5217\u8868\u5C01\u9762\u56FE:"},Mo||Do?Kl():ht.createElement(ut.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${ei.Z.API_SERVER}/api/attachments.json`,beforeUpload:Wa,onChange:sl},ts))),ht.createElement(yt.Z,{className:"c-grey-999"},ht.createElement("div",{style:{marginTop:71,marginLeft:20}},"\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\u7528290*218\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),ht.createElement(Ae.default.Item,{name:"description",label:"\u7B80\u4ECB:"},ht.createElement(xe.Z,{defaultValue:Nr.description||"",watch:!0})),((Yr=Ei.detail)==null?void 0:Yr.is_jupyter_lab)&&ht.createElement(Ae.default.Item,{name:"jupyter_show_description",valuePropName:"checked"},ht.createElement(Tt.default,null,"\u663E\u793A\u4EFB\u52A1\u8981\u6C42\uFF08\u52FE\u9009\u540E\uFF0C\u5C06\u7B80\u4ECB\u4F5C\u4E3A\u4EFB\u52A1\u8981\u6C42\u663E\u793A\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF09"))))),ht.createElement(Dn,{onSave:Qo,onCancel:hs,loading:To||ma||po}))};var Ce=(0,pt.connect)(({problemset:tt,loading:st,globalSetting:ot,practiceSetting:wn,shixunsDetail:wi})=>({globalSetting:ot,loading:st,practiceSetting:wn,problemset:tt,shixunsDetail:wi}))(Ie),Ee=Pe(86566),Te={flex_box_center:"flex_box_center___eoeVu",flex_space_between:"flex_space_between___f9Khj",flex_box_vertical_center:"flex_box_vertical_center___mDOuj",flex_box_center_end:"flex_box_center_end___q43Rs",flex_box_column:"flex_box_column___lnTOC",level:"level___W39_7",left:"left___xugM0",container:"container___MnoCi",title:"title___HNuSO",listWrap:"listWrap___Oz5IK",list:"list___Fq6dF",s3:"s3___piVr6",s2:"s2___jJaip",listActive:"listActive___e7FOo",os:"os___Zt66K",btns:"btns___mA9Xb",btnsWrap:"btnsWrap___hx2vE",icon:"icon___l26_g",btn:"btn___AF61O",d1:"d1___WyJ4s",d2:"d2___GQq5w",shrink:"shrink___NbOqs",elseShrink:"elseShrink___ZoNE2",right:"right___zgEq_",addIcon:"addIcon___aVZVl"},Ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAABkCAYAAABKHuhiAAAgAElEQVR4Xu19CZRdVZX2d95cr+aqzAkkISG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ebXIcTtmMU8tc/Mt175ir15PNK6ry6BNBGUyc/sV2A8J2/jqXAMTawBw+ScoDzxIun+K4GRcMogMAOZUexU+RaaiSV6tCRRp6/s8uVUc0o9qetpL5jAUW5ugpgS4GlFJjLgWukcv0gWc0PtPnp5Uo7eoojlSzD3fYXzJaDOkY6tlSnVdPx5QDilu2WMxIBK6kPO7caMJTrG+EelXCyIG40Unq/yPXSGyCUtSQOA1c1nVFuhFT6vhTxK82nmvhufwQBcLRgq6ZfR1OGP3/hRqsNCP7AgVAJAUfTWZXk92bFLQW8KurzpwWEavSDKjr5DyHp2IDwh9CyiTpW1ANFE3NFySYi/3H1gJiYx6In/HH1xJ94ayaA8CcOAGl+IBCUYzMoNaNgnDHMNkbV7eXy9r8Pil9JHqXa6+Yhcdw2lyvD39hS8YPydtOOpr1FghZTVkI7pf8/eEZf5Vj+hMIAAAAASUVORK5CYII=",Le=Pe(46474),rt=Pe(71418),Sn=Pe(64165),fn=Pe(12921),an=Object.defineProperty,qt=Object.defineProperties,fi=Object.getOwnPropertyDescriptors,Mn=Object.getOwnPropertySymbols,On=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable,Si=(tt,st,ot)=>st in tt?an(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,sr=(tt,st)=>{for(var ot in st||(st={}))On.call(st,ot)&&Si(tt,ot,st[ot]);if(Mn)for(var ot of Mn(st))Hi.call(st,ot)&&Si(tt,ot,st[ot]);return tt},ro=(tt,st)=>qt(tt,fi(st)),Wo=(tt,st)=>{var ot={};for(var wn in tt)On.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&Mn)for(var wn of Mn(tt))st.indexOf(wn)<0&&Hi.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},No=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const Lr=tt=>{var st=tt,{globalSetting:ot,dispatch:wn,practiceSetting:wi}=st,Yi=Wo(st,["globalSetting","dispatch","practiceSetting"]);const dr=(0,pt.useLocation)(),[Ei]=(0,pt.useSearchParams)(),[Ln,bi]=(0,ue.useState)(!1),[Yr,wo]=(0,ue.useState)({}),[Nr,$r]=(0,ue.useState)(!0),[To,xo]=(0,ue.useState)(!1),[po,ur]=(0,ue.useState)(null),ma=(0,ue.useRef)(!1),{id:Vo,updateIndex:mo,is_published:Fo,newQuestion:Pr}=wi,{challenge_list:gr=[]}=Yr;(0,ue.useEffect)(()=>{if(Vo)return Ur(),()=>{wn({type:"practiceSetting/setParams",payload:{newQuestion:null}})}},[Vo,mo]),(0,ue.useEffect)(()=>{Mo()},[dr]);const Mo=()=>{const Cr=dr.pathname.split("/");(Cr.includes("newquestion")||Cr.includes("new")||Ei.get("tabId"))&&(ma.current=!0)},Ur=()=>No(void 0,null,function*(){var Cr,Jo,Ha;$r(!0);const ls=yield(0,Wt.n5)({id:Vo});if((Cr=ls==null?void 0:ls.challenge_list)!=null&&Cr.length){const hs=dr.pathname.split("/"),Za=ls.challenge_list.find(pr=>String(pr.challenge_id)===hs[4]);if(hs.includes("newquestion")||hs.includes("new")){const pr=ls.challenge_list[((Jo=ls.challenge_list)==null?void 0:Jo.length)-1];wn({type:"practiceSetting/setParams",payload:{newQuestion:{st:hs.includes("new")?0:1,name:""}}}),ur(void 0),Qn(pr)}else hs[4]&&Za?Do(Za,!1):Do(ls.challenge_list[0])}(Ha=ls==null?void 0:ls.challenge_list)!=null&&Ha.length||ur(null),wo(ls),$r(!1)}),Do=(Cr,Jo=!0)=>{if(ur(Cr.challenge_id),Qn(Cr),Jo){const Ha=`/shixuns/${Vo}/edit/${Cr.challenge_id}/${Cr.st===1?"editquestion":"editcheckpoint"}`;pt.history.push(Ha)}},yo=(Cr,Jo)=>{Jo.stopPropagation();const{challenge_id:Ha}=Cr,ls=()=>No(void 0,null,function*(){var hs,Za;if((yield(0,Wt.rO)({id:Vo,challengesId:Ha})).status===1){const Ho=yield(0,Wt.n5)({id:Vo});if(wo(Ho),Ha===po&&((hs=Ho.challenge_list)!=null&&hs.length)){Do(Ho.challenge_list[0]);return}(Za=Ho.challenge_list)!=null&&Za.length||(ur(null),ma.current=!0,Qn({}),pt.history.push(`/shixuns/${Vo}/edit?tabId=level`))}});Ve.default.confirm({title:"\u63D0\u793A",content:"\u662F\u5426\u5220\u9664\u8BE5\u5173\u5361!",centered:!0,onOk:ls})},da=(Cr,Jo,Ha)=>{const ls=Array.from(Cr),[hs]=ls.splice(Jo,1);return ls.splice(Ha,0,hs),ls},xa=(Cr,Jo)=>{if(!Cr.destination)return;const Ha=da(Jo,Cr.source.index,Cr.destination.index);wo(ro(sr({},Yr),{challenge_list:Ha}));const ls=Ha.map(hs=>hs.challenge_id);(0,Wt.xg)({id:Vo,ids:ls}).then(hs=>{hs.status!==0&&wo(ro(sr({},Yr),{challenge_list:Jo}))})},Qn=Cr=>{wn({type:"practiceSetting/setParams",payload:{selectQuestionParams:Cr}})},Co=(Cr,Jo)=>No(void 0,null,function*(){if(Cr===po)return;yield Xo(),ur(Cr),Qn(Jo),wn({type:"practiceSetting/setParams",payload:{newQuestion:null}});const Ha=`/shixuns/${Vo}/edit/${Cr}/${Jo.st===1?"editquestion":"editcheckpoint"}`;pt.history.push(Ha)}),Xo=()=>new Promise((Cr,Jo)=>{var Ha;(Ha=wi==null?void 0:wi.sideBar)!=null&&Ha.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{wn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Cr()},onCancel:()=>{Jo()}}):Cr()}),Qo=Cr=>ue.createElement(ue.Fragment,null,ue.createElement(fn.Z5,{onDragEnd:Jo=>xa(Jo,Cr)},ue.createElement(fn.bK,{droppableId:"droppable"},(Jo,Ha)=>ue.createElement("div",ro(sr({ref:Jo.innerRef},Jo.droppableProps),{style:{width:"100%"}}),Cr.map((ls,hs)=>{const{st:Za,name:pr,challenge_id:Ho}=ls;return ue.createElement(fn._l,{key:Ho,draggableId:Ho.toString(),index:hs,isDragDisabled:Fo},(Wa,Yo)=>ue.createElement("div",ro(sr(sr({ref:Wa.innerRef},Wa.draggableProps),Wa.dragHandleProps),{className:po===Ho?Te.listActive:Te.list,onClick:()=>Co(Ho,ls)}),ue.createElement("span",{className:Te.s1},Za===0?ue.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):ue.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),ue.createElement("span",{className:Te.s2},"\u7B2C",hs+1,"\u5173: ",pr),!Fo&&ue.createElement("span",{className:Te.s3,onClick:ts=>yo(ls,ts)},ue.createElement("i",{className:"iconfont icon-shanchu7"}))))})))),Pr&&ue.createElement("div",{className:Te.listActive},ue.createElement("span",{className:Te.s1},(Pr==null?void 0:Pr.st)===0?ue.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):ue.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),ue.createElement("span",{className:Te.s2},"\u7B2C",Cr.length+1,"\u5173: ",Pr==null?void 0:Pr.name)),!Fo&&ue.createElement("div",{className:Te.os},"--\u62D6\u62FD\u4EFB\u52A1\u5173\u5361\u8FDB\u884C\u6392\u5E8F--")),qo=Cr=>No(void 0,null,function*(){yield Xo(),Cr==="new"?pt.history.push(`/shixuns/${Vo}/edit/new`):pt.history.push(`/shixuns/${Vo}/edit/newquestion`),bi(!1),ur(void 0),wn({type:"practiceSetting/setParams",payload:{newQuestion:{st:Cr==="new"?0:1,name:""}}})}),ms=()=>{(0,Le.gy)(wn,"\u4E0D\u80FD\u65B0\u5EFA\u4EFB\u52A1\u5173\u5361")||bi(!Ln)};return ue.createElement("div",{className:Te.level},ue.createElement("aside",{className:Te.left,style:{width:To?"0":"25%"}},ue.createElement("div",{className:Te.container},ue.createElement("div",{className:Te.title},"\u4EFB\u52A1\u5173\u5361(",gr.length,")"),ue.createElement("div",{className:Te.listWrap},Nr?ue.createElement(rt.Z,{size:"middle"}):gr.length||Pr?Qo(gr):ue.createElement(Sn.Z,{image:Ue,description:"\u6682\u65E0\u4EFB\u52A1\u5173\u5361!"}))),!To&&ue.createElement("div",{className:Te.btns},ue.createElement("aside",{className:Te.btnsWrap},ue.createElement("div",{style:{transform:Ln?"rotate(45deg)":"rotate(0deg)"},className:Te.icon,onClick:ms},"+"),ue.createElement("div",{className:Te.btn,style:{left:Ln?20:-154}},ue.createElement("div",{className:Te.d1,onClick:()=>qo("new")},"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361"),ue.createElement("div",{className:Te.d2,onClick:()=>qo("newquestion")},"\u65B0\u5EFA\u7406\u8BBA\u9898\u5173\u5361")))),ue.createElement("div",{className:To?Te.elseShrink:Te.shrink,onClick:()=>xo(!To)},ue.createElement("i",{className:"iconfont icon-zuoyouzhankai"}))),ue.createElement("aside",{className:Te.right,id:"modal-level-question"},po===null&&ma.current?ue.createElement("div",{className:Te.addIcon},ue.createElement("span",null,"\u5728\u5DE6\u4FA7\u70B9\u51FB\u201C+\u201D\u53F7\u65B0\u5EFA\u5173\u5361\u3002")):ue.createElement(pt.Outlet,null)))};var Ko=(0,pt.connect)(({globalSetting:tt,practiceSetting:st})=>({globalSetting:tt,practiceSetting:st}))(Lr),Oo=Pe(61621),So=Pe(38854),Eo=Pe(20834),Tr=Pe(58421),Be=Pe(5112),ya={title:"title___NTpKq",content:"content___oL0Iy",add:"add___L4cbC",colorBlue:"colorBlue___xRARA",radio:"radio___cfwvc"},to=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,Vi=Object.prototype.propertyIsEnumerable,Wi=(tt,st)=>{var ot={};for(var wn in tt)zn.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&to)for(var wn of to(tt))st.indexOf(wn)<0&&Vi.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},mi=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const Jn=tt=>{var st=tt,{shixunsDetail:ot,globalSetting:wn,loading:wi,dispatch:Yi,onReloadData:dr}=st,Ei=Wi(st,["shixunsDetail","globalSetting","loading","dispatch","onReloadData"]);const[Ln,bi]=(0,ue.useState)(),[Yr,wo]=(0,ue.useState)([]);(0,ue.useEffect)(()=>{ot.actionTabs.key==="Collaborators-ChangeManager"&&Nr()},[ot.actionTabs.key]);const Nr=()=>mi(void 0,null,function*(){var po;const ur=yield Yi({type:"shixunsDetail/getChangeManager",payload:{id:(po=ot.actionTabs.params)==null?void 0:po.id}});wo(ur||[])}),$r=()=>{var po;Yi({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:(po=ot.actionTabs.params)==null?void 0:po.id}}})},To=()=>mi(void 0,null,function*(){var po;if(!Ln){bt.ZP.info("\u6240\u9009\u4EBA\u5458\u4E3A\u7A7A\uFF0C\u6CA1\u6709\u66F4\u6362\u6210\u529F");return}const ur=yield Yi({type:"shixunsDetail/changeManager",payload:{id:(po=ot.actionTabs.params)==null?void 0:po.id,user_id:Ln}});xo(),ur&&(dr(),bt.ZP.info(ur.message))}),xo=()=>{Yi({type:"shixunsDetail/setActionTabs",payload:{}}),bi(null)};return ue.createElement(Ve.default,{centered:!0,keyboard:!1,closable:!1,title:"\u66F4\u6362\u7BA1\u7406\u5458",open:ot.actionTabs.key==="Collaborators-ChangeManager",confirmLoading:wi.effects["shixunsDetail/changeManager"],onOk:To,onCancel:xo},ue.createElement("div",null,ue.createElement("div",{className:ya.title},"\u9009\u62E9\u7684\u6210\u5458\u5C06\u4F1A\u6210\u4E3A\u65B0\u7684\u7BA1\u7406\u5458",ue.createElement("br",null),"\u60A8\u5C06\u4E0D\u518D\u62E5\u6709\u7BA1\u7406\u5458\u7684\u6743\u9650\uFF0C\u4F46\u60A8\u4ECD\u662F\u5408\u4F5C\u56E2\u961F\u7684\u4E00\u5458"),ue.createElement("div",{className:ya.content},Yr.length?ue.createElement(Be.ZP.Group,{value:Ln,onChange:po=>bi(po.target.value)},Yr.map((po,ur)=>ue.createElement(Be.ZP,{className:ya.radio,key:ur,value:po.user_id},po.name))):ue.createElement("div",{className:ya.add},ue.createElement("span",null,"\u8BF7\u5148\u5C06\u65B0\u7684\u7BA1\u7406\u5458\u901A\u8FC7",ue.createElement("a",{className:ya.colorBlue,onClick:$r},'"\u6DFB\u52A0\u5408\u4F5C\u8005"'),"\u52A0\u5165\u5408\u4F5C\u8005\u5217\u8868")))))};var nr=(0,pt.connect)(({shixunsDetail:tt,loading:st,globalSetting:ot})=>({shixunsDetail:tt,globalSetting:ot,loading:st}))(Jn),tn=Pe(99313),_t=Pe(47362),Rt=Pe(88412);const{TabPane:Li}=tn.default;var yr=({visible:tt,onCancel:st,onSelectGroup:ot,shixunId:wn,onSelectCollaborator:wi})=>ue.createElement(Ve.default,{title:"\u6DFB\u52A0\u5408\u4F5C\u8005",open:tt,width:1100,centered:!0,keyboard:!1,onCancel:st,maskClosable:!1,destroyOnClose:!0,forceRender:!0,bodyStyle:{minHeight:400},footer:null},ue.createElement(tn.default,{defaultActiveKey:"1"},ue.createElement(Li,{tab:"\u641C\u7D22\u6DFB\u52A0",key:"1"},ue.createElement(_t.Z,{onCancel:st,container_type:2,container_id:wn,onSelect:wi})),ue.createElement(Li,{tab:"\u56E2\u961F\u6DFB\u52A0",key:"2"},ue.createElement(Rt.Z,{onCancel:st,onSelect:ot})))),Oi={bg:"bg___GzXpp",wrap:"wrap___A40jS",modal:"modal___Zz7dC",content:"content___H5ZN2",head:"head___o5t32",headCount:"headCount___eBMPN",button:"button___YSSGm",itemWrap:"itemWrap___iPWUC",imgWrap:"imgWrap___T70Es",img:"img___oumA5",manager:"manager___VdXG8",itemContent:"itemContent____npAh",nameWrap:"nameWrap___nazId",name:"name___Z48aE",actionGroup:"actionGroup___eScAq",deleteIcon:"deleteIcon___FK_OA",schoolWrap:"schoolWrap___jJuIm",school:"school___kSMwT",countWrap:"countWrap___p7epV",deletetitle:"deletetitle___uVCHi",yseTitle:"yseTitle___L6JF9"},Zn=Pe(84105),ki=Pe(61682),Vr=Object.defineProperty,br=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,Di=(tt,st,ot)=>st in tt?Vr(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Cn=(tt,st)=>{for(var ot in st||(st={}))Br.call(st,ot)&&Di(tt,ot,st[ot]);if(br)for(var ot of br(st))Et.call(st,ot)&&Di(tt,ot,st[ot]);return tt},Kn=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const Lt=({shixunsDetail:tt,globalSetting:st,loading:ot,user:wn,dispatch:wi})=>{var Yi,dr,Ei,Ln,bi,Yr;const wo=(0,pt.useParams)(),Nr=(0,ue.useRef)(),[$r,To]=(0,ue.useState)(0),[xo,po]=(0,ue.useState)([]),[ur,ma]=(0,ue.useState)({id:null,page:1}),Vo=(dr=(Yi=wn.userInfo)==null?void 0:Yi.shixun)==null?void 0:dr.editable,mo=((Ei=wn.userInfo)==null?void 0:Ei.role)<=2||((bi=(Ln=wn.userInfo)==null?void 0:Ln.shixun)==null?void 0:bi.is_creator);(0,ue.useEffect)(()=>{Nr.current=wo.id,ur.id=Nr.current,ma(ur),Fo(ur)},[]);const Fo=Qn=>Kn(void 0,null,function*(){const Co=yield wi({type:"shixunsDetail/getCollaboratorsData",payload:Qn});Co&&(po(Co.members||[]),To(Co.member_count))}),Pr=()=>Kn(void 0,null,function*(){ur.page=1,ma(ur);const Qn=(0,ki.g)();yield wi({type:"user/getUserInfo",payload:Qn}),yield Fo(ur)}),gr=Qn=>{ur.page=Qn,ma(ur),Fo(ur)},Mo=Qn=>{Ve.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:ue.createElement("div",{className:Oi.modal},"\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F"),onOk:()=>Kn(void 0,null,function*(){var Co;const Xo=yield wi({type:"shixunsDetail/deleteCollaborators",payload:{id:Nr.current,userId:Qn}});if(((Co=wn.userInfo)==null?void 0:Co.user_id)===Qn){pt.history.push("/shixuns");return}bt.ZP.info(Xo==null?void 0:Xo.message),ur.page=1,ma(ur),Fo(ur)})})},Ur=()=>{wi({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-ChangeManager",params:{id:Nr.current}}})};function Do(Qn,Co,Xo,Qo){return Kn(this,null,function*(){yield wi({type:"shixunsDetail/updateCollaboratorEditable",payload:{identifier:Qn,user_id:Co,editable:Xo?0:1}}),Fo(ur)})}const yo=()=>{wi({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:Nr.current}}})};function da(){wi({type:"shixunsDetail/setActionTabs",payload:{}})}const xa={visible:tt.actionTabs.key==="Collaborators-AddCollaborator",onCancel:da,shixunId:Nr.current,onSelectCollaborator:Qn=>Kn(void 0,null,function*(){da(),(yield wi({type:"shixunsDetail/addCollaborator",payload:{id:Nr.current,user_ids:Qn}}))&&(bt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Pr())}),onSelectGroup:Qn=>Kn(void 0,null,function*(){da(),(yield wi({type:"shixunsDetail/addTeachGroupMember",payload:{identifier:Nr.current,group_id:Qn.group_id}}))&&(bt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Pr())})};return ue.createElement("section",null,ue.createElement("div",{className:Oi.wrap},ue.createElement("div",{className:Oi.content},((Yr=tt.detail)==null?void 0:Yr.identity)<5&&ue.createElement("div",{className:Oi.head},ue.createElement("span",{className:Oi.headCount},"\u5408\u4F5C\u6210\u5458\uFF08",$r,"\u4EBA\uFF09"),ue.createElement("div",null,mo&&ue.createElement(Me.ZP,{type:"primary",ghost:!0,className:Oi.button,style:{marginRight:"20px"},onClick:Ur},"\u66F4\u6362\u7BA1\u7406\u5458"),Vo&&ue.createElement(Me.ZP,{type:"primary",className:Oi.button,style:{marginRight:"40px"},onClick:yo},"\u6DFB\u52A0\u5408\u4F5C\u8005"))),ue.createElement("div",{className:Oi.list},ue.createElement(Oo.Z,{loading:ot.effects["shixunsDetail/getCollaboratorsData"],active:!0,avatar:{size:40},paragraph:{rows:3},className:"mt30"},xo.map((Qn,Co)=>{var Xo,Qo,qo,ms,Cr,Jo,Ha,ls;return ue.createElement("div",{style:{display:"inline-block",width:"50%"}},ue.createElement("div",{className:Oi.itemWrap,key:Co},ue.createElement("a",{href:(Xo=Qn.user)==null?void 0:Xo.user_url,target:"_blank",className:Oi.imgWrap},ue.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"48",width:"48",className:Oi.img,src:`${ei.Z.IMG_SERVER}/images/${(Qo=Qn.user)==null?void 0:Qo.image_url}`}),((qo=Qn.user)==null?void 0:qo.shixun_manager)&&ue.createElement("span",{className:Oi.manager},"\u521B\u5EFA\u8005")),ue.createElement("div",{className:Oi.itemContent},ue.createElement("p",{className:Oi.nameWrap},ue.createElement("a",{href:Qn.user.user_url,target:"_blank",className:Oi.name},(ms=Qn.user)==null?void 0:ms.name,Qn.user.user_id===((Cr=wn.userInfo)==null?void 0:Cr.user_id)?ue.createElement("span",null,"\u6211"):null),ue.createElement("div",{className:Oi.actionGroup},mo?(Jo=Qn.user)!=null&&Jo.shixun_manager?null:ue.createElement(So.Z,{dropdownRender:()=>ue.createElement(Eo.default,{selectedKeys:[Qn.editable?"1":"2"],onClick:()=>{var hs;Do(tt.detail.identifier,Qn.user.user_id,Qn.editable,(hs=Qn.user)==null?void 0:hs.name)}},ue.createElement(Eo.default.Item,{key:1},"\u7F16\u8F91\u6743\u9650"),ue.createElement(Eo.default.Item,{key:2},"\u67E5\u770B\u6743\u9650"))},ue.createElement("div",null,Qn.editable?ue.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):ue.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650")," ",ue.createElement(Zn.Z,{style:{fontSize:"14px",color:"#888888"}}))):Qn.editable?ue.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):ue.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650"),!((Ha=Qn.user)!=null&&Ha.shixun_manager)&&Vo?ue.createElement("a",{className:Oi.deletetitle,onClick:()=>{var hs;return Mo((hs=Qn.user)==null?void 0:hs.user_id)}},"\u5220\u9664"):null)),ue.createElement("p",{className:Oi.schoolWrap},ue.createElement("span",{className:Oi.school},(ls=Qn.user)==null?void 0:ls.school_name)))))})))),$r>10&&ue.createElement("div",{className:Oi.countWrap},ue.createElement(Tr.Z,{showQuickJumper:!1,showSizeChanger:!1,total:$r,onChange:Qn=>gr(Qn),pageSize:10,current:ur.page}))),ue.createElement(nr,{onReloadData:Pr}),ue.createElement(yr,Cn({},xa)))};var Ft=(0,pt.connect)(({shixunsDetail:tt,loading:st,globalSetting:ot,user:wn})=>({shixunsDetail:tt,globalSetting:ot,user:wn,loading:st}))(Lt),un=Pe(10149),Sr=Pe(57809),Ii=Pe(6848),Ri=Pe(78673),si=Pe(14996),Ti=Pe(36723),Jr=Pe(14636),Qr={mirrorModal:"mirrorModal___z1tEP",right:"right___ZlGrr",title:"title___lWaS3",content:"content___bCC9x",des:"des___ujB5y",btns:"btns___L4vgc",confirm:"confirm___RFRg4",cancel:"cancel___F1WB_",modal:"modal___A5dbG"},Lo=Pe(9583),Nn=Pe(55508),ja=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const co=({newShixuns:tt,user:st,dispatch:ot,visible:wn,onOk:wi,onCancel:Yi,useId:dr=null,identifier:Ei,shixun_environment_id:Ln,tab_type:bi})=>{var Yr,wo;const[Nr,$r]=(0,ue.useState)(null),[To,xo]=(0,ue.useState)({}),[po,ur]=(0,ue.useState)(""),{environmentData:ma}=tt,{frequence_image:Vo=[],environments:mo=[],other_image:Fo=[]}=ma,{name:Pr,description:gr}=To;(0,ue.useEffect)(()=>{wn&&(ot({type:"newShixuns/getEnvironmentData",payload:{tab_type:bi}}),ur(""),$r(dr))},[wn,dr]),(0,ue.useEffect)(()=>{tt.actionTabs.key==="NewShixuns-Apply"&&Yi()},[(Yr=tt==null?void 0:tt.actionTabs)==null?void 0:Yr.key]),(0,ue.useEffect)(()=>{Nr!==null&&Mo()},[Nr]);const Mo=()=>ja(void 0,null,function*(){const Ur=yield(0,Wt.Q1)({mirror_repository_id:Nr,identifier:Ei,shixun_environment_id:Ln});xo(Ur.data)});return ue.createElement(ue.Fragment,null,ue.createElement(Ve.default,{title:"\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF",open:wn,width:1e3,destroyOnClose:!0,centered:!0,onCancel:Yi,className:Qr.modal,footer:null},ue.createElement("div",{className:Qr.mirrorModal},ue.createElement(Jr.Z,{dispatch:ot,value:Nr,data:mo,otherData:Fo,tags:Vo,onChange:Ur=>$r(Ur),onSearchWord:Ur=>ur(Ur),tab_type:bi}),ue.createElement("div",{className:Qr.right},ue.createElement("header",null,ue.createElement("div",{className:Qr.title},"\u5B9E\u9A8C\u73AF\u5883:\xA0",ue.createElement("span",{dangerouslySetInnerHTML:{__html:Nr===null?"\u2014 \u2014":(wo=Pr||"")==null?void 0:wo.replace(new RegExp(po==null?void 0:po.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi"),'$&')}}))),ue.createElement("div",{className:Qr.content},Nr===null&&ue.createElement(Sn.Z,{image:Ti,description:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883"}),Nr!==null&&ue.createElement("div",{className:Qr.des},ue.createElement(mt.Z,{value:gr,highlightKeywords:po})),ue.createElement("div",{className:Qr.btns},ue.createElement(Me.ZP,{onClick:()=>{$r(null),xo({}),Yi()},className:Qr.cancel},"\u53D6\u6D88 "),ue.createElement(Me.ZP,{onClick:()=>{wi(To)},className:Qr.confirm,type:"primary"},"\u4FDD\u5B58 ")))))),ue.createElement(Lo.Z,null),ue.createElement(Nn.Z,null))};var Kr=(0,pt.connect)(({newShixuns:tt,globalSetting:st,user:ot})=>({newShixuns:tt,globalSetting:st,user:ot}))(co),sn={flex_box_center:"flex_box_center___jnFK3",flex_space_between:"flex_space_between___JoMuQ",flex_box_vertical_center:"flex_box_vertical_center___XkWzp",flex_box_center_end:"flex_box_center_end___kfVJX",flex_box_column:"flex_box_column___mfxox",content:"content___ujW8g",explain:"explain___vGa5a",tabs:"tabs___MbGuX",active:"active___SCmkJ",btns:"btns___MiEQa",must:"must___n8wNT",popover:"popover___wqXWh",zybzForm:"zybzForm___m1nC0",graaytitle:"graaytitle___vdUDn",dataPicker:"dataPicker___RiEgz",examineStatus:"examineStatus___OCyYC",contacts:"contacts___MWvKz",contacts_img:"contacts_img___kiMTs",suc_status:"suc_status___p81iO",fail_status:"fail_status___Rv54W",bohui:"bohui___wtuT5",selecticon:"selecticon___AAPZz"},Vt=Pe(43428),hn=Pe(46400),Xt=Pe(60324),Vn=Pe(88522),er=Pe(5083),lr=Pe(5871),ui=Pe(23954),Ci={footerWrap:"footerWrap___lXI4I"},Yn=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable,Rn=(tt,st)=>{var ot={};for(var wn in tt)ln.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&Yn)for(var wn of Yn(tt))st.indexOf(wn)<0&&_r.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},Ir=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const Or=ke.default.TextArea,fr=tt=>{var st=tt,{shixunsDetail:ot,globalSetting:wn,loading:wi,dispatch:Yi,onFinish:dr=()=>{}}=st,Ei=Rn(st,["shixunsDetail","globalSetting","loading","dispatch","onFinish"]);const[Ln]=Ae.default.useForm(),bi=wo=>Ir(void 0,null,function*(){var Nr;const $r=yield Yi({type:"shixunsDetail/getCustomScript",payload:{id:(Nr=ot.actionTabs.params)==null?void 0:Nr.id,compile:wo.execute,excutive:wo.compile}});Yr(),$r&&dr($r==null?void 0:$r.shixun_script)}),Yr=()=>{Yi({type:"shixunsDetail/setActionTabs",payload:{}})};return ue.createElement(Ve.default,{centered:!0,title:"\u81EA\u5B9A\u4E49\u6A21\u677F",open:ot.actionTabs.key==="Settings-UseCustomScript",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",footer:null,onCancel:Yr},ue.createElement(Ae.default,{form:Ln,scrollToFirstError:!0,layout:"vertical",onFinish:bi},ue.createElement(Ae.default.Item,{name:"execute",label:"\u6267\u884C\u547D\u4EE4\uFF1A",rules:[{required:!0,message:"\u6267\u884C\u547D\u4EE4\u4E0D\u80FD\u4E3A\u7A7A"}]},ue.createElement(Or,{rows:4})),ue.createElement(Ae.default.Item,{name:"compile",label:"\u7F16\u8BD1\u547D\u4EE4\uFF1A"},ue.createElement(Or,{rows:4})),ue.createElement("div",{className:Ci.footerWrap},ue.createElement(Ae.default.Item,null,ue.createElement(Me.ZP,{className:"mr5",size:"middle",onClick:Yr},"\u53D6\u6D88"),ue.createElement(Me.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:wi.effects["shixunsDetail/getCustomScript"]},"\u4FDD\u5B58")))))};var Bo=(0,pt.connect)(({shixunsDetail:tt,loading:st,globalSetting:ot})=>({shixunsDetail:tt,globalSetting:ot,loading:st}))(fr),Zr=Pe(24065),Zi=Pe(61186),xr=Pe.n(Zi),oo=Pe(29679),Bn=Pe(59301),gi=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const Ze="YYYY-MM-DD HH:mm",Io=({shixunsDetail:tt,visible:st,onOk:ot,onCancel:wn,dispatch:wi,is_published:Yi,id:dr,has_relation:Ei,environment:Ln=[],verifyModal:bi})=>{var Yr,wo,Nr;const $r=(0,pt.useParams)(),[To,xo]=(0,ue.useState)(1),[po,ur]=(0,ue.useState)(!0),[ma,Vo]=(0,ue.useState)(!1),[mo,Fo]=(0,ue.useState)(null),[Pr,gr]=(0,ue.useState)(),[Mo,Ur]=(0,ue.useState)(),[Do,yo]=(0,ue.useState)([]),[da,xa]=(0,ue.useState)(!1),[Qn,Co]=(0,ue.useState)(""),[Xo,Qo]=(0,ue.useState)(null),[qo]=Ae.default.useForm(),[ms,Cr]=(0,ue.useState)([]),[Jo,Ha]=(0,ue.useState)(""),[ls,hs]=(0,ue.useState)([{id:1,name:"\u8BC4\u6D4B\u811A\u672C\u8BBE\u7F6E"},{id:2,name:"\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E"}]),Za=(0,ue.useRef)((0,Xn.throttle)(eo=>Ho(eo),1200,{leading:!0,trailing:!0})).current;(0,ue.useEffect)(()=>{var eo;((0,Zr.Ny)()||(eo=tt==null?void 0:tt.detail)!=null&&eo.manager_of_shixun)&&hs([{id:1,name:"\u8BC4\u6D4B\u811A\u672C\u8BBE\u7F6E"},{id:2,name:"\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E"},{id:3,name:"\u5B9E\u9A8C\u8D44\u6E90\u4F18\u5148\u4FDD\u969C"}])},[]),(0,ue.useEffect)(()=>{dr&&st&&pr()},[dr,st]);const pr=(eo=null)=>gi(void 0,null,function*(){var qa,sl,Kl;eo||ur(!0);const La=yield(0,wt.ZP)(`/api/shixuns/${dr}/get_shixun_env_setting.json`,{method:"get",params:{shixun_environment_id:eo}});if(La.status===0&&!eo){const{data:jo}=La;console.log("data",jo),Fo((jo==null?void 0:jo.shixun_environment_id)||null),gr((jo==null?void 0:jo.evaluate_script)||""),Ur((jo==null?void 0:jo.choice_standard_scripts)||null),yo((jo==null?void 0:jo.standard_scripts)||[]),xa(((qa=jo.shixun)==null?void 0:qa.close_internet)||!1),Co((sl=jo.shixun)==null?void 0:sl.survival_time);let ia=(Kl=jo.shixun)==null?void 0:Kl.important_shixun_configs;qo.setFieldsValue({identifier:(ia==null?void 0:ia.identifier)||"",people_number:(ia==null?void 0:ia.people_number)||"",school_id:(ia==null?void 0:ia.school_name)||"",times:ia!=null&&ia.start_time&&(ia!=null&&ia.end_time)?[xr()(ia==null?void 0:ia.start_time),xr()(ia==null?void 0:ia.end_time)]:["",""]}),Ha((ia==null?void 0:ia.verify_reason)||""),Qo((ia==null?void 0:ia.process)||null),yield Ho(ia==null?void 0:ia.school_name)}if(La.status===0&&eo){const{data:jo}=La;gr((jo==null?void 0:jo.evaluate_script)||""),Ur(null),yo((jo==null?void 0:jo.standard_scripts)||[]),yield Ho()}ur(!1)}),Ho=eo=>gi(void 0,null,function*(){const qa=yield wi({type:"account/getSchoolOption",payload:{keyword:eo,limit:99999,display_aliases:!0}});Cr(qa==null?void 0:qa.schools)}),Wa=()=>{bi()||wi({type:"shixunsDetail/setActionTabs",payload:{key:"Settings-UseCustomScript",params:{id:$r.id}}})},Yo=eo=>gi(void 0,null,function*(){const qa=yield wi({type:"shixunsDetail/getScriptContent",payload:{id:$r.id,script_id:eo}});qa&&gr(qa.content)}),ts=eo=>{Ve.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Bn.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",Bn.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>gi(void 0,null,function*(){yield Yo(eo),Ur(eo),Ve.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:Bn.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")})})})},fs=(eo=!1,qa=1)=>gi(void 0,null,function*(){var sl,Kl,La;let jo;if(To===1&&(Vo(!0),jo=yield(0,wt.ZP)(`/api/shixuns/${$r.id}/update_evaluate_script_setting.json`,{method:"put",body:{shixun_environment_id:mo,mirror_script_id:Mo,evaluate_script:Pr,sync_origin_shixun:eo}})),To===2){Vo(!0);let ia={close_internet:da,survival_time:Qn,sync_origin_shixun:eo};jo=yield(0,wt.ZP)(`/api/shixuns/${$r.id}/update_environment_setting.json`,{method:"put",body:ia})}if(To===3){let ia=qo.getFieldsValue();yield qo.validateFields(),Vo(!0);let Yl={close_internet:da,survival_time:Qn,sync_origin_shixun:eo};Yl.important_shixun_configs={identifier:ia==null?void 0:ia.identifier,people_number:ia==null?void 0:ia.people_number,school_id:(sl=ms.find(Ru=>Ru.name===(ia==null?void 0:ia.school_id)))==null?void 0:sl.id,start_time:xr()(ia==null?void 0:ia.times[0]).format("YYYY-MM-DD HH:mm"),end_time:xr()(ia==null?void 0:ia.times[1]).format("YYYY-MM-DD HH:mm")},jo=yield(0,wt.ZP)(`/api/shixuns/${$r.id}/resources_first_ensure.json`,{method:"post",body:Yl})}jo.status===0&&((!((Kl=tt==null?void 0:tt.detail)!=null&&Kl.copy_for_exercise)||To===3)&&bt.ZP.success(`${To==3?"\u63D0\u4EA4\u7533\u8BF7\u6210\u529F":"\u4FDD\u5B58\u6210\u529F"}`),(La=tt==null?void 0:tt.detail)!=null&&La.copy_for_exercise&&To!=3&&(0,yi.m)(wi,tt,dr,qa),pr(),ot()),Vo(!1)}),al=(eo,qa)=>{const sl=/^[^0-9][a-zA-Z0-9]*$/,Kl=/^.{4,30}$/;return qa&&!/^[a-zA-Z0-9]+$/.test(qa)?Promise.reject("\u8F93\u5165\u5185\u5BB9\u53EA\u80FD\u5305\u542B\u6570\u5B57\u548C\u5B57\u6BCD"):qa&&!sl.test(qa)?Promise.reject("\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934"):qa&&!Kl.test(qa)?Promise.reject("\u8F93\u5165\u5185\u5BB9\u957F\u5EA6\u5FC5\u987B\u57284\u523030\u4E2A\u5B57\u7B26\u4E4B\u95F4"):Promise.resolve()},Xs=eo=>parseInt(eo||"0",10),Os=(eo,qa)=>{if(qa&&qa.length===2){const[sl,Kl]=qa;if(!sl||!Kl)return Promise.reject(new Error("\u8BF7\u9009\u62E9\u8D77\u59CB\u65F6\u95F4\u548C\u7ED3\u675F\u65F6\u95F4"))}return Promise.resolve()};return Bn.createElement(Bn.Fragment,null,Bn.createElement(Vt.Z,{title:null,width:1e3,placement:"right",closable:!1,onClose:wn,open:st},Bn.createElement("div",{className:sn.content},Bn.createElement(Oo.Z,{loading:po,active:!0},Bn.createElement(dt.Z,{className:"mt10",justify:"space-between"},Bn.createElement("b",{className:"c-grey-333 font16"},"\u8BBE\u7F6E"),Bn.createElement("i",{onClick:wn,className:"iconfont icon-guanbi11 current",style:{color:"#979797"}})),Bn.createElement("div",{className:sn.tabs},ls.map(eo=>{const{name:qa,id:sl}=eo;return Bn.createElement("div",{key:sl,className:To===sl?sn.active:"",onClick:()=>xo(sl)},qa)})),To===1&&Bn.createElement(ue.Fragment,null,Bn.createElement(hn.Z,{className:"mt20",message:"\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883\u4E0B\u7684\u8BC4\u6D4B\u811A\u672C\uFF1A\u5C06\u4F5C\u4E3A\u6574\u4E2A\u5B9E\u8BAD\u6240\u6709\u5B9E\u9A8C\u73AF\u5883\u4E0B\uFF0C\u5B66\u5458\u8BC4\u6D4B\u65F6\u8FD0\u884C\u7684\u811A\u672C\u3002",type:"info",showIcon:!0,closable:!0}),Bn.createElement(dt.Z,{align:"middle",className:"mt20"},Bn.createElement("span",{className:"c-grey-333 font16"},"\u8FD0\u884C\u73AF\u5883"),Bn.createElement(Sr.default,{onClick:bi,getPopupContainer:eo=>eo.parentNode,bordered:!1,className:"ml10",style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},value:mo,onChange:eo=>{Fo(eo),pr(eo)},showArrow:!0,placeholder:"\u5B9E\u9A8C\u73AF\u5883"},(Yr=Ln.filter(eo=>eo.id!==0))==null?void 0:Yr.map((eo,qa)=>Bn.createElement(Sr.default.Option,{value:eo.id,name:eo.name,key:eo.id},eo.name)))),Bn.createElement(dt.Z,{align:"middle",className:"mt20"},Bn.createElement("span",{className:"c-grey-333 font16"},"\u8BC4\u6D4B\u811A\u672C"),Bn.createElement(Sr.default,{onClick:bi,getPopupContainer:eo=>eo.parentNode,bordered:!1,className:"ml10 mr10",style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0,value:Mo,placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C",onChange:eo=>{ts(eo)}},(Do||[]).map((eo,qa)=>Bn.createElement(Sr.default.Option,{value:parseInt(eo.id),name:eo.scptname,key:qa},eo.scptname))),Bn.createElement("span",{className:sn.explain,onClick:Wa},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u811A\u672C"),Bn.createElement(Xt.Z,{className:sn.popover,content:Bn.createElement("p",{className:"font12"},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u6A21\u677F\uFF0C\u5E73\u53F0\u65E0\u6CD5\u81EA\u52A8\u66F4\u65B0\u811A\u672C\uFF0C\u8BF7\u5728\u5173\u5361\u521B\u5EFA\u5B8C\u540E\u624B\u52A8\u66F4\u65B0\u811A\u672C\u4E2D\u7684\u5FC5\u586B\u53C2",Bn.createElement("br",null),"\u6570\u548C\u4EE5\u4E0B2\u4E2A\u6570\u7EC4\u5143\u7D20\uFF1A",Bn.createElement("br",null),"challengeProgramNames",Bn.createElement("br",null),"sourceClassNames",Bn.createElement("br",null),Bn.createElement("br",null),"\u793A\u4F8B\uFF1A\u67092\u4E2A\u5173\u5361\u7684\u5B9E\u8BAD",Bn.createElement("br",null),Bn.createElement("br",null),"\u5404\u5173\u5361\u7684\u5F85\u7F16\u8BD1\u6587\u4EF6\u4E3A\uFF1A",Bn.createElement("br",null),"src/step1/HelloWorld.java",Bn.createElement("br",null),"src/step2/Other.java",Bn.createElement("br",null),Bn.createElement("br",null),"\u5404\u5173\u5361\u7684\u7F16\u8BD1\u540E\u751F\u6210\u7684\u6267\u884C\u6587\u4EF6\u4E3A\uFF1A",Bn.createElement("br",null),"step1.HelloWorld",Bn.createElement("br",null),"step2.Other",Bn.createElement("br",null),Bn.createElement("br",null),"\u5219\u6570\u7EC4\u5143\u7D20\u66F4\u65B0\u5982\u4E0B\uFF1A",Bn.createElement("br",null),'ff challengeProgramNames=("src/step1/',Bn.createElement("br",null),'HelloWorld.java" "src/step2/Other.java")',Bn.createElement("br",null),'sourceClassNames=("step1.HelloWorld',Bn.createElement("br",null),'" "step2.Other")',Bn.createElement("br",null),Bn.createElement("br",null),"\u5176\u5B83\u53C2\u6570\u53EF\u6309\u5B9E\u9645\u9700\u6C42\u5B9A\u5236"),trigger:"click"},Bn.createElement("span",{style:{color:"#999",fontSize:14,marginTop:2,marginLeft:4},className:"iconfont icon-tishi11 c-grey-999"}))),Bn.createElement(ui.ZP,{style:{border:"1px solid #ccc",background:"#f5f5f5",marginTop:"30px"},language:"shell",theme:"vs-light",value:Pr,options:{readOnly:Yi},onChange:eo=>{gr(eo)}})),To===2&&Bn.createElement("div",{style:{flex:1,overflowY:"auto"}},Bn.createElement(dt.Z,{align:"middle",className:"mt20"},Bn.createElement("span",{className:"c-grey-333 font16 ml30 mr10"},"\u5B9E\u8BAD\u5BB9\u5668\u7F51\u7EDC"),Bn.createElement(Tt.default,{checked:da,onChange:eo=>xa(eo.target.checked)},Bn.createElement("span",{className:"c-grey-333 font14"},"\u5173\u95ED\u5916\u7F51"),Bn.createElement("span",{className:"c-grey-999 font14"},"\uFF08\u9009\u4E2D\uFF0C\u5728\u5B9E\u8BAD\u7F16\u8BD1\u9875\u9762\u4E2D\u4E0D\u53EF\u8BBF\u95EE\u4E92\u8054\u7F51\uFF09"))),Bn.createElement(dt.Z,{align:"middle",className:"mt20"},Bn.createElement("span",{className:"c-grey-333 font16 mr10"},"\u5B9E\u9A8C\u73AF\u5883\u4F7F\u7528\u65F6\u957F"),Bn.createElement(ke.default,{bordered:!1,value:Qn,onChange:eo=>Co(eo.target.value),style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4}}),Bn.createElement("span",{className:"ml10 c-grey-999 font14"},"\u5206"))),To===3&&((0,Zr.Ny)()||((wo=tt==null?void 0:tt.detail)==null?void 0:wo.manager_of_shixun))&&Bn.createElement("div",{style:{flex:1,overflowY:"auto"}},Bn.createElement(dt.Z,{align:"middle",className:"mt20"},Bn.createElement(Ae.default,{form:qo,layout:"horizontal",className:sn.zybzForm},Bn.createElement(dt.Z,{align:"middle"},Bn.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:55}},Bn.createElement("span",{className:sn.must},"*"),"\u4FDD\u969C\u6807\u8BC6"),Bn.createElement(Ae.default.Item,{label:"",name:"identifier",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4FDD\u969C\u6807\u8BC6"},{validator:al}]},Bn.createElement(ke.default,{bordered:!1,style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4},minLength:4,maxLength:30,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u4FDD\u969C\u6807\u8BC6"})),Bn.createElement("span",{className:"ml10 c-grey-999 font14"},"\u4FDD\u969C\u6807\u8BC6\u53EA\u80FD\u7531\u5B57\u6BCD\u548C\u6570\u5B57\u7EC4\u6210\uFF084~30 \u4F4D\uFF09\uFF0C\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934\u3002",Bn.createElement("br",null),"\u586B\u5199\u4FDD\u969C\u6807\u8BC6\u662F\u4E3A\u4E86\u4FBF\u4E8E\u5E73\u53F0\u4E3A\u6B64\u5B9E\u8DF5\u9879\u76EE\u7279\u522B\u5206\u914D\u8282\u70B9\u3002")),Bn.createElement(dt.Z,{align:"middle",className:"mt25"},Bn.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:7}},Bn.createElement("span",{className:sn.must},"*"),"\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D"),Bn.createElement("div",{style:{position:"relative"}},Bn.createElement(Ae.default.Item,{label:"",name:"school_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D"}]},Bn.createElement(Vn.Z,{bordered:!1,style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},onChange:Za,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D"},(Nr=ms==null?void 0:ms.filter(eo=>(eo==null?void 0:eo.id)!==0))==null?void 0:Nr.map((eo,qa)=>Bn.createElement(Sr.default.Option,{key:qa+1,title:eo==null?void 0:eo.name,value:eo==null?void 0:eo.name},eo==null?void 0:eo.name)))),Bn.createElement("span",{className:sn.selecticon},Bn.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Bn.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),Bn.createElement(dt.Z,{align:"middle",className:"mt25"},Bn.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:55}},Bn.createElement("span",{className:sn.must},"*"),"\u4FDD\u969C\u65F6\u95F4"),Bn.createElement("div",{className:sn.graaytitle},Bn.createElement(Ae.default.Item,{label:"",name:"times",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4\u548C\u7ED3\u675F\u65F6\u95F4"},{validator:Os}]},Bn.createElement(er.default.RangePicker,{disabledDate:eo=>eo&&eo{if(eo&&eo[0]&&eo[1]){const qa=eo[0].isBefore(xr()())?xr()():eo[0];qo.setFieldValue("times",[qa,eo[1]])}else qo.setFieldValue("times",eo)}})))),Bn.createElement(dt.Z,{align:"middle",className:"mt25"},Bn.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:55}},Bn.createElement("span",{className:sn.must},"*"),"\u4FDD\u969C\u4EBA\u6570"),Bn.createElement(Ae.default.Item,{label:"",name:"people_number",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4FDD\u969C\u4EBA\u6570"}]},Bn.createElement(lr.Z,{parser:Xs,style:{width:200},placeholder:"\u8BF7\u8F93\u5165\u4FDD\u969C\u4EBA\u6570",min:1})))),Bn.createElement("div",{className:`${sn.examineStatus} mt25`},Xo>=1&&Bn.createElement("div",null," ",Bn.createElement(oo.Z,{className:sn.suc_status})," \u5B9E\u9A8C\u8D44\u6E90\u4F18\u5148\u4FDD\u969C\u7533\u8BF7\u6210\u529F\uFF0C\u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u4E2D"),Xo>=2&&Xo!=3&&Bn.createElement("div",null," ",Bn.createElement(oo.Z,{className:sn.suc_status})," \u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u901A\u8FC7\uFF0C\u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u4E2D"),Xo==3&&Bn.createElement("div",null," ",Bn.createElement(Mi.Z,{className:sn.fail_status}),"\u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u9A73\u56DE\uFF0C\u9A73\u56DE\u539F\u56E0: ( ",Bn.createElement("span",{title:Jo,className:sn.bohui},Jo),") \u5982\u6709\u95EE\u9898\u8BF7\u8054\u7CFB",Bn.createElement("span",{className:sn.contacts},Bn.createElement("span",null,"\u5E73\u53F0\u8FD0\u8425\u4EBA\u5458")," ",Bn.createElement("div",{className:sn.contacts_img}))),Xo>=4&&Xo!=5&&Xo!=7&&Bn.createElement("div",null," ",Bn.createElement(oo.Z,{className:sn.suc_status})," \u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u5B8C\u6210\uFF0C\u5B9E\u9A8C\u8D44\u6E90\u4FDD\u969C\u4E2D"),(Xo==5||Xo==7)&&Bn.createElement("div",null," ",Bn.createElement(Mi.Z,{className:sn.fail_status}),"\u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB",Bn.createElement("span",{className:sn.contacts},Bn.createElement("span",null,"\u5E73\u53F0\u8FD0\u8425\u4EBA\u5458")," ",Bn.createElement("div",{className:sn.contacts_img}))),Xo>5&&Bn.createElement("div",null," ",Bn.createElement(oo.Z,{className:sn.suc_status})," \u5B9E\u9A8C\u8D44\u6E90\u4FDD\u969C\u5DF2\u7ED3\u675F")))),Bn.createElement("div",{className:sn.btns},Bn.createElement(Me.ZP,{onClick:wn},"\u53D6\u6D88"),Bn.createElement(Me.ZP,{disabled:To==3&&[2,4,5].includes(Xo),onClick:()=>gi(void 0,null,function*(){var eo,qa;if(To===1&&!mo){bt.ZP.warning("\u8BF7\u9009\u62E9\u8FD0\u884C\u73AF\u5883");return}(eo=tt==null?void 0:tt.detail)!=null&&eo.is_fork_from_creator&&((qa=tt==null?void 0:tt.detail)!=null&&qa.copy_for_exercise)&&To!=3&&(Ln.filter(sl=>sl.id===mo)[0].has_relation&&To===1||To===2)?wi({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"environment",fn:(sl,Kl)=>{fs(sl,Kl)},zIndex:1e4}}):fs()}),loading:ma,type:"primary",className:"ml20"},To==3?"\u63D0\u4EA4\u7533\u8BF7":"\u4FDD\u5B58"))))),Bn.createElement(Bo,{onFinish:eo=>gr(eo)}))};var no=(0,pt.connect)(({shixunsDetail:tt})=>({shixunsDetail:tt}))(Io),rr=Pe(48843),qi=Pe(25510),Qi={wrap:"wrap___S9yE5",content:"content___xIxOT",head:"head___icGJE",title:"title___NbDBd",add:"add___ntZkv",addDisable:"addDisable___pgd9I",setting:"setting___kQ9Qx",tabs:"tabs___o2qas",name:"name___HUyj5",active:"active___SVp4l",line:"line___DSw6E",resource:"resource___AgLC3",mirror:"mirror___DGr0Q",interface:"interface___xxy5c",disabled:"disabled___GqKcR",port:"port___vGmHQ",grade:"grade___b6Adk",tabsBox:"tabsBox___TnoNw",tabTitle:"tabTitle___i8cO0",more:"more___kbzpa",serverConfig:"serverConfig___BtI29",viewRecommendConfig:"viewRecommendConfig___ODGyC",system:"system___YygCM",explain:"explain___klZ55",btns:"btns___o6xWf",template:"template___AMzZZ",liWrap:"liWrap___tCbB1",li:"li___srrGx",tag:"tag___NcFBh"},aa=Pe(76895),ys=Pe(1535),bs=Pe(46539),_o=Pe(43181),Ea={list:"list___p00l5",head:"head___JcQe0",row:"row___kLpLL"},za=Pe(59301),kr=Object.defineProperty,Rr=Object.defineProperties,pi=Object.getOwnPropertyDescriptors,ho=Object.getOwnPropertySymbols,Ba=Object.prototype.hasOwnProperty,Ws=Object.prototype.propertyIsEnumerable,Xa=(tt,st,ot)=>st in tt?kr(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,ua=(tt,st)=>{for(var ot in st||(st={}))Ba.call(st,ot)&&Xa(tt,ot,st[ot]);if(ho)for(var ot of ho(st))Ws.call(st,ot)&&Xa(tt,ot,st[ot]);return tt},Ta=(tt,st)=>Rr(tt,pi(st)),ll=({showError:tt,value:st,onChange:ot,optionsLevelList:wn})=>{const[wi,Yi]=(0,ue.useState)([]);(0,ue.useEffect)(()=>{if(!st.length){Yi([{command:"",challenge_ids:[]}]);return}Yi(st)},[JSON.stringify(st)]);const dr=(Ei,Ln,bi)=>{let Yr=JSON.parse(JSON.stringify(wi));Ln==="add"?Yr.push({command:"",challenge_ids:[-1]}):Ln==="delete"?Yr.splice(bi,1):Yr[bi][Ln]=Ei,Yi(Yr),ot(Yr)};return console.log(wi,"value2"),za.createElement("div",{className:Ea.list},za.createElement("div",{className:Ea.head},za.createElement("div",{style:{width:400}},"\u547D\u4EE4"),za.createElement("div",null,"\u5E94\u7528\u5173\u5361")),wi==null?void 0:wi.map((Ei,Ln)=>{var bi,Yr,wo;let Nr=wn.map(($r,To)=>{const xo=`\u7B2C${To+1}\u5173\uFF1A${$r.name}`;let po=xo,ur=!1;return $r.st===1&&(po=za.createElement(Ii.Z,{placement:"left",title:"\u7406\u8BBA\u9898\u5173\u5361\u65E0\u6CD5\u89E6\u53D1\u547D\u4EE4"},xo),ur=!0),Ta(ua({},$r),{value:$r.challenge_id,label:po,disabled:ur})});return Nr=[{label:"\u6240\u6709\u5173\u5361",value:-1},...Nr],za.createElement(dt.Z,{wrap:!1,align:"middle",style:{position:"relative"},className:Lndr($r.target.value,"command",Ln),bordered:!1,placeholder:"\u4F8B\u5982\uFF1Amysql -uroot -p123123 -h127.0.0.1",style:{width:400,height:50,background:"#F5F5F5",borderRadius:4}}),za.createElement(Sr.default,{options:Nr,getPopupContainer:$r=>$r.parentNode,value:Ei==null?void 0:Ei.challenge_ids,onChange:$r=>{var To,xo;let po=$r;!((To=Ei==null?void 0:Ei.challenge_ids)!=null&&To.includes(-1))&&($r!=null&&$r.includes(-1))&&(po=[-1]),(xo=Ei==null?void 0:Ei.challenge_ids)!=null&&xo.includes(-1)&&($r!=null&&$r.includes(-1))&&(po=$r==null?void 0:$r.filter(ur=>ur!==-1)),dr(po,"challenge_ids",Ln)},mode:"multiple",maxTagTextLength:(wo=Ei==null?void 0:Ei.challenge_ids)!=null&&wo.includes(-1)?4:3,placeholder:"\u8BF7\u9009\u62E9\u5E94\u7528\u5173\u5361",maxTagCount:5,bordered:!1,style:{width:560,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10,margin:"0 20px"}}),za.createElement(dt.Z,{wrap:!1},za.createElement("i",{onClick:()=>dr("","add",Ln),style:{color:"#3061D0"},className:"iconfont icon-tianjiatimu font20 current ml20"}),Ln!==0&&za.createElement("i",{onClick:()=>dr("","delete",Ln),style:{color:"#E30000"},className:"iconfont icon-shanjian font20 ml20"})))}))},on=Pe(59301),Va=Object.defineProperty,nn=Object.defineProperties,Ss=Object.getOwnPropertyDescriptors,yu=Object.getOwnPropertySymbols,fl=Object.prototype.hasOwnProperty,Vl=Object.prototype.propertyIsEnumerable,is=(tt,st,ot)=>st in tt?Va(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,kl=(tt,st)=>{for(var ot in st||(st={}))fl.call(st,ot)&&is(tt,ot,st[ot]);if(yu)for(var ot of yu(st))Vl.call(st,ot)&&is(tt,ot,st[ot]);return tt},Nl=(tt,st)=>nn(tt,Ss(st)),ga=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const gl=Sr.default.Option,Vc=5,du=({practiceSetting:tt,dispatch:st,globalSetting:ot,shixunsDetail:wn,user:wi})=>{var Yi,dr,Ei,Ln,bi,Yr,wo,Nr,$r,To;const{id:xo,is_published:po}=tt,[ur,ma]=(0,ue.useState)([]),[Vo,mo]=(0,ue.useState)(null),[Fo,Pr]=(0,ue.useState)([]),[gr,Mo]=(0,ue.useState)([]),Ur=(0,ue.useRef)(null),[Do,yo]=(0,ue.useState)({}),da=(0,ue.useRef)({}),xa=(0,ue.useRef)({}),{shixun_environment:Qn={},mirror_repository:Co={},small_type:Xo=[],new_service_configs:Qo=[],network_mode_list:qo=[],boosters:ms=[]}=Do,[Cr,Jo]=(0,ue.useState)(""),[Ha,ls]=(0,ue.useState)("\u8BF7\u8F93\u5165\u7AEF\u53E3"),[hs,Za]=(0,ue.useState)(!1),[pr,Ho]=(0,ue.useState)(!1),[Wa,Yo]=(0,ue.useState)(!0),[ts,fs]=(0,ue.useState)(!0),[al,Xs]=(0,ue.useState)(!1),[Os,eo]=(0,ue.useState)(!1),[qa,sl]=(0,ue.useState)(!1),[Kl,La]=(0,ue.useState)(!1),[jo,ia]=(0,ue.useState)(0),[Yl,Ru]=(0,ue.useState)(!1),[tc,fa]=(0,ue.useState)({}),[Ua,Po]=(0,ue.useState)({}),[Wr,$o]=(0,ue.useState)({}),[Ka,Qs]=(0,ue.useState)(""),[Sc,Xl]=(0,ue.useState)(!1),[sc,Jl]=(0,ue.useState)(!1),[nd,mr]=(0,ue.useState)(!1),[vs,Aa]=(0,ue.useState)({}),[qs,Zu]=(0,ue.useState)({}),[Us,ru]=(0,ue.useState)([]),gd=(0,ue.useRef)([]);console.log("--1111-",ms,Us);const Vd=[{id:1,name:"\u901A\u7528\u4E91"},{id:2,name:"\u4E13\u6709\u4E91"}],of=[{id:1,name:"Windows",icon:"iconfont icon-Windows"},{id:2,name:"Linux",icon:"iconfont icon-Linux"},{id:3,name:"\u5176\u4ED6",icon:"iconfont icon-qitaxitong"}],bu=[{id:1,name:"VNC"},{id:2,name:"RDP"}],Ef=[{id:0,name:"\u516C\u5171\u955C\u50CF",type:"public"},{id:1,name:"\u81EA\u5B9A\u4E49\u955C\u50CF",type:"customize"},{id:2,name:"\u5171\u4EAB\u955C\u50CF",type:"share"}],ng=(gr==null?void 0:gr.find(Ot=>Ot.id===Qn.instance_startup_template_id))||{},{desc:Nf,virt_type:nh}=ng,af=((Yi=Fo==null?void 0:Fo.find(Ot=>Ot.id===(Qn==null?void 0:Qn.private_cloud_id)))==null?void 0:Yi.cloud_type)===1,ih=((dr=Fo==null?void 0:Fo.find(Ot=>Ot.id===(Qn==null?void 0:Qn.private_cloud_id)))==null?void 0:dr.cloud_type)===4;(0,ue.useEffect)(()=>(window.addEventListener("click",bd),()=>{window.removeEventListener("click",bd)}),[]),(0,ue.useEffect)(()=>{sf(),Gh(),vh(),Vh()},[]),(0,ue.useEffect)(()=>{(0,Xn.isEqual)(xa.current,Do)?st({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}):st({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}),da.current=Do},[Do]);const Js=()=>ga(void 0,null,function*(){var Ot,ri,Ji,or;const vr=yield(0,wt.ZP)("/api/shixuns/new.json",{method:"get",params:{tab_type:(Ot=Ef[Number(jo)])==null?void 0:Ot.type}});(vr==null?void 0:vr.status)===0&&(((Ji=(ri=vr==null?void 0:vr.data)==null?void 0:ri.environments)==null?void 0:Ji.length)===0&&((or=vr==null?void 0:vr.data)==null?void 0:or.other_image.length)===0?Ru(!0):Ru(!1))});(0,ue.useEffect)(()=>{Js()},[jo]);const zh=()=>{var Ot;const ri=()=>{pt.history.push(`/shixuns/${xo}/challenges`),st({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(Ot=tt==null?void 0:tt.sideBar)!=null&&Ot.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{ri()}}):ri()},sf=()=>ga(void 0,null,function*(){var Ot;const ri=yield(0,wt.ZP)(`/api/shixuns/${xo}/get_shixun_env_tabs.json`,{method:"get"});if(ri.status===0){const Ji=((Ot=ri.data)==null?void 0:Ot.shixun_environments_tabs)||[];Ji.length&&Vo===null&&mo(Ji[0].id),ma(Ji)}}),vh=()=>ga(void 0,null,function*(){var Ot;fs(!0);const ri=yield(0,wt.ZP)("/api/shixuns/get_private_clouds.json",{method:"get"});ri.status===0&&Pr((Ot=ri==null?void 0:ri.data)==null?void 0:Ot.list),fs(!1)}),Vh=()=>ga(void 0,null,function*(){const Ot=yield(0,wt.ZP)(`/api/shixuns/${xo}/challenges.json`,{method:"get"});Ot.challenge_list&&ru(Ot.challenge_list||[])}),yh=(Ot,ri)=>ga(void 0,null,function*(){var Ji;const or=yield(0,wt.ZP)("/api/shixuns/get_instance_startup_template.json",{method:"get",params:{private_cloud_id:Ot,operating_system:ri}});or.status===0&&Mo((Ji=or==null?void 0:or.data)==null?void 0:Ji.list)}),Gh=(Ot=null)=>ga(void 0,null,function*(){var ri,Ji,or,vr,jr,Er,ta,ws,Ml,us,wl,Hs,$s,wu,rs;Yo(!0);const Fs=yield(0,wt.ZP)(`/api/shixuns/${xo}/get_multi_environments.json`,{method:"get",params:{shixun_environment_id:Ot}});if(Fs.status===0){xa.current=(0,Xn.cloneDeep)(Fs.data||{}),yo(Fs.data||{}),ia(Number((Ji=(ri=Fs.data)==null?void 0:ri.shixun_environment)==null?void 0:Ji.mirror_tab_type)||0),Number((vr=(or=Fs.data)==null?void 0:or.shixun_environment)==null?void 0:vr.mirror_tab_type)===0?(fa((jr=Fs.data)==null?void 0:jr.mirror_repository),Po({}),$o({})):Number((ta=(Er=Fs.data)==null?void 0:Er.shixun_environment)==null?void 0:ta.mirror_tab_type)===1?(Po((ws=Fs.data)==null?void 0:ws.mirror_repository),fa({}),$o({})):Number((us=(Ml=Fs.data)==null?void 0:Ml.shixun_environment)==null?void 0:us.mirror_tab_type)===2&&($o((wl=Fs.data)==null?void 0:wl.mirror_repository),fa({}),$o({}));const gs=($s=(Hs=Fs==null?void 0:Fs.data)==null?void 0:Hs.shixun_environment)==null?void 0:$s.private_cloud_id,dl=(rs=(wu=Fs==null?void 0:Fs.data)==null?void 0:wu.shixun_environment)==null?void 0:rs.operating_system;gs&&dl&&yh(gs,dl)}Yo(!1)}),Bu=()=>ga(void 0,null,function*(){var Ot;const ri=yield(0,wt.ZP)(`/api/shixuns/${xo}/check_code_editor.json`,{method:"get",params:{shixun_environment_id:Vo}});return ri.status===0&&ri.is_exist_code_editor?(Ve.default.confirm({icon:null,centered:!0,className:aa.Z.CustomTipsModalCss,okButtonProps:{type:"primary"},width:425,okText:"\u524D\u5F80\u5173\u95ED",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:on.createElement("div",null,on.createElement("div",null,"\u6BCF\u4E2A\u5B9E\u8DF5\u9879\u76EE\u53EA\u80FD\u5F00\u542F\u4E00\u4E2A\u4EE3\u7801\u7F16\u8F91\u5668\u754C\u9762\u3002"),on.createElement("div",null,"\u201C",(Ot=ri==null?void 0:ri.shixun_environment)==null?void 0:Ot.name,"\u201D\u5DF2\u5F00\u542F\u4EE3\u7801\u7F16\u8F91\u5668\uFF0C\u9700\u5148\u5173\u95ED\uFF0C\u7136\u540E\u624D\u80FD\u5728\u5F53\u524D\u5B9E\u9A8C\u73AF\u5883\u9009\u62E9\u4EE3\u7801\u7F16\u8F91\u5668\u3002")),onOk:()=>ga(void 0,null,function*(){mo(ri.shixun_environment.id),Gh(ri.shixun_environment.id),sf()})}),Promise.reject()):Promise.resolve()}),Bg={shixun_environment:{id:0,resource_type:1,command_settings:[],is_support_code_editor:!1,is_support_vnc:!1,is_support_webssh:!1,is_support_thiry_party:!1,disabled_support_vnc:!1,disabled_support_webssh:!1,private_is_support_vnc:!1,private_is_support_webssh:!1,private_is_support_jupyter_lab:!1,disabled2_support_vnc:!1,disabled2_support_webssh:!1,disabled2_support_jupyter_lab:!1,proxy_port:"",web_route:"",private_cloud_id:null,instance_startup_template_id:null,operating_system:1,instance_startup_type:1},mirror_repository:{choice_small_mirrors:[],shixun_service_configs:[]},small_type:[]},Sh=(Ot,ri)=>{var Ji,or;if(typeof(Ot==null?void 0:Ot.className)=="string"&&((Ji=Ot==null?void 0:Ot.className)!=null&&Ji.includes(ri)))return Ot;for(let vr=0,jr=Ot;jr=jr.parentNode;vr++){if(typeof(Ot==null?void 0:Ot.className)=="string"&&((or=jr==null?void 0:jr.className)!=null&&or.includes(ri)))return jr;if(jr==document.documentElement)return!1}},bd=Ot=>{Sh(Ot.target,"editor-scrollable")&&lu()},lu=()=>(0,Le.gy)(st,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883"),ie=Ot=>on.createElement(si.Z,{required:!0,nameWidth:150,name:"\u5B9E\u9A8C\u754C\u9762",errorKey:"interface",errorValue:Cr,align:"start",errorName:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u754C\u9762",tooltipTitle:on.createElement("div",{className:"p10"},Ot&&on.createElement(on.Fragment,null,on.createElement("b",{className:"font14"},"\u4EE3\u7801\u7F16\u8F91\u5668"),on.createElement("br",null),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u4E3A\u5B66\u5458\u63D0\u4F9B\u4EE3\u7801\u7F16\u8F91\u5668\u3001\u7F16\u8BD1\u5668\u3001\u8C03\u8BD5\u5668\u7B49\u5DE5\u5177\u3002",on.createElement("br",null),"\u5F53\u9009\u62E9\u4E86VSCode\u76F8\u5173\u7684\u5B9E\u9A8C\u955C\u50CF\u65F6\uFF0C\u4EE3\u7801\u7F16\u8F91\u5668\u4EE5VSCode\u7684\u5F62\u5F0F\u5C55\u793A\u7ED9\u5B66\u5458\u3002",on.createElement("br",null),"\u6BCF\u4E2A\u5B9E\u8DF5\u9879\u76EE",on.createElement("b",null,"\u53EA\u80FD\u5F00\u542F\u4E00\u4E2A"),"\u4EE3\u7801\u7F16\u8F91\u5668\u754C\u9762\u3002",on.createElement("br",null)),on.createElement("div",{className:"mt10 blod font14"},"\u56FE\u5F62\u5316\u684C\u9762"),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u4F7F\u7528\u56FE\u5F62\u5316\u65B9\u5F0F\u663E\u793A\u64CD\u4F5C\u754C\u9762\u3002",on.createElement("br",null),on.createElement("div",{className:"mt10 blod font14"},"\u547D\u4EE4\u884C\u7EC8\u7AEF"),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u4E3A\u5B66\u5458\u63D0\u4F9B\u547D\u4EE4\u884C\u7A97\u53E3\u3002",Ot&&on.createElement(on.Fragment,null,on.createElement("div",{className:"mt10 blod font14"},"\u5BB9\u5668\u5185\u670D\u52A1"),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u53EF\u4EE5\u5728\u5B9E\u9A8C\u9875\u9762\u76F4\u63A5\u9884\u89C8\u5BB9\u5668\u5185\u90E8Web\u670D\u52A1\u3002"))},on.createElement("div",{className:Qi.interface},Ot&&on.createElement("div",{onClick:()=>$t("shixun_environment","is_support_code_editor",!(Qn!=null&&Qn.is_support_code_editor)),className:Qn!=null&&Qn.is_support_code_editor?Qi.active:""},on.createElement("span",{className:"iconfont icon-xuanzhong9"}),on.createElement("div",null,on.createElement("i",{className:"iconfont icon-daimabianjiqi1"}),on.createElement("span",null,"\u4EE3\u7801\u7F16\u8F91\u5668")),on.createElement("aside",null," \u63D0\u4F9B\u4EE3\u7801\u7F16\u8F91\u5668\uFF0C\u7F16\u8BD1\u5668\uFF0C\u8C03\u8BD5\u5668\u7B49\u5DE5\u5177")),Qn!=null&&Qn[Ot?"disabled_support_vnc":"disabled2_support_vnc"]?on.createElement(Ii.Z,{title:"\u9009\u62E9\u7684\u5B9E\u9A8C\u955C\u50CF\u4E0D\u652F\u6301\u56FE\u5F62\u5316\u684C\u9762"},on.createElement("div",{className:Qi.disabled},on.createElement("span",{className:"iconfont icon-xuanzhong9"}),on.createElement("div",null,on.createElement("i",{className:"iconfont icon-tuxinghuazhuomian"}),on.createElement("span",null,"\u56FE\u5F62\u5316\u684C\u9762")),on.createElement("aside",null,"\u4F7F\u7528\u56FE\u5F62\u5316\u65B9\u5F0F\u663E\u793A\u64CD\u4F5C\u754C\u9762"))):on.createElement("div",{onClick:()=>$t("shixun_environment",Ot?"is_support_vnc":"private_is_support_vnc",!(Qn!=null&&Qn[Ot?"is_support_vnc":"private_is_support_vnc"])),className:Qn!=null&&Qn[Ot?"is_support_vnc":"private_is_support_vnc"]?Qi.active:""},on.createElement("span",{className:"iconfont icon-xuanzhong9"}),on.createElement("div",null,on.createElement("i",{className:"iconfont icon-tuxinghuazhuomian"}),on.createElement("span",null,"\u56FE\u5F62\u5316\u684C\u9762")),on.createElement("aside",null,"\u4F7F\u7528\u56FE\u5F62\u5316\u65B9\u5F0F\u663E\u793A\u64CD\u4F5C\u754C\u9762")),Qn!=null&&Qn[Ot?"disabled_support_webssh":"disabled2_support_webssh"]?on.createElement(Ii.Z,{title:"\u9009\u62E9\u7684\u5B9E\u9A8C\u955C\u50CF\u4E0D\u652F\u6301\u547D\u4EE4\u884C\u7EC8\u7AEF"},on.createElement("div",{className:Qi.disabled},on.createElement("span",{className:"iconfont icon-xuanzhong9"}),on.createElement("div",null,on.createElement("i",{className:"iconfont icon-minglinghang"}),on.createElement("span",null,"\u547D\u4EE4\u884C\u7EC8\u7AEF")),on.createElement("aside",null,"\u63D0\u4F9B\u547D\u4EE4\u884C\u7A97\u53E3"))):on.createElement("div",{onClick:()=>$t("shixun_environment",Ot?"is_support_webssh":"private_is_support_webssh",!(Qn!=null&&Qn[Ot?"is_support_webssh":"private_is_support_webssh"])),className:Qn!=null&&Qn[Ot?"is_support_webssh":"private_is_support_webssh"]?Qi.active:""},on.createElement("span",{className:"iconfont icon-xuanzhong9"}),on.createElement("div",null,on.createElement("i",{className:"iconfont icon-minglinghang"}),on.createElement("span",null,"\u547D\u4EE4\u884C\u7EC8\u7AEF")),on.createElement("aside",null," \u63D0\u4F9B\u547D\u4EE4\u884C\u7A97\u53E3")),Ot&&on.createElement("div",{onClick:()=>$t("shixun_environment","is_support_thiry_party",!(Qn!=null&&Qn.is_support_thiry_party)),className:Qn!=null&&Qn.is_support_thiry_party?Qi.active:""},on.createElement("span",{className:"iconfont icon-xuanzhong9"}),on.createElement("div",null,on.createElement("i",{className:"iconfont icon-rongqi1"}),on.createElement("span",null,"\u5BB9\u5668\u5185\u670D\u52A1")),on.createElement("aside",null," \u76F4\u63A5\u9884\u89C8\u5BB9\u5668\u5185\u90E8Web\u670D\u52A1")))),ae=(Ot,ri,Ji)=>{const or=Array.from(Ot),[vr]=or.splice(ri,1);return or.splice(Ji,0,vr),or},fe=(Ot,ri)=>ga(void 0,null,function*(){if(!Ot.destination)return;const Ji=ae(ri,Ot.source.index,Ot.destination.index);ma(Ji),(0,wt.ZP)(`/api/shixuns/${xo}/update_environment_position.json`,{method:"put",body:{tabs:Ji}})}),he=(Ot,ri)=>{let Ji=ri;Ve.default.confirm({icon:null,centered:!0,className:aa.Z.CustomTipsModalCss,okButtonProps:{type:"primary"},width:460,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",title:"\u91CD\u547D\u540D",content:on.createElement("div",null,on.createElement("div",{className:"mb5 c-grey-333"},"\u5B9E\u9A8C\u73AF\u5883\u540D\u79F0"),on.createElement("div",null,on.createElement(ke.default,{defaultValue:Ji,onChange:or=>Ji=or.target.value,maxLength:8,style:{width:300},placeholder:"\u8BF7\u8F93\u5165\u5B9E\u9A8C\u73AF\u5883\u540D\u79F0"}),on.createElement("span",{className:"c-grey-999 font14 ml10"},"\u6700\u591A8\u4E2A\u5B57"))),onOk:()=>ga(void 0,null,function*(){if(!Ji)return bt.ZP.warning("\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const or=ur.map(jr=>jr.id===Ot?Nl(kl({},jr),{name:Ji}):jr);if(Vo===0){ma(or);return}(yield(0,wt.ZP)(`/api/shixuns/${xo}/update_environment_name.json`,{method:"put",body:{shixun_environment_id:Ot,name:Ji}})).status===0&&ma(or)})})},me=(Ot,ri)=>{lu()||Ve.default.confirm({icon:null,centered:!0,className:aa.Z.CustomTipsModalCss,width:425,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",title:"\u5220\u9664",content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u5B9E\u9A8C\u73AF\u5883\uFF1F",okButtonProps:{type:"primary"},onOk:()=>ga(void 0,null,function*(){var Ji;if((Vo===0?{status:0}:yield(0,wt.ZP)(`/api/shixuns/${xo}/delete_environment.json`,{method:"delete",body:{shixun_environment_id:Ot}})).status===0){const vr=ur.filter(jr=>jr.id!==Ot);if(Ot===Vo){const jr=((Ji=vr==null?void 0:vr[0])==null?void 0:Ji.id)||null;mo(jr),Gh(jr),ma(vr)}else ma(vr)}})})},De=Ot=>{var ri;if(Ot===Vo)return;const Ji=()=>{mo(Ot),Gh(Ot),sf()};(ri=tt==null?void 0:tt.sideBar)!=null&&ri.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Ji()}}):Ji()},je=Ot=>{const ri=Nl(kl({},Do),{shixun_environment:Nl(kl({},Qn),{is_support_code_editor:Ot.no_used_code_editor,is_support_vnc:!1,is_support_webssh:!1,is_support_thiry_party:!1,disabled_support_vnc:Ot.disabled_support_vnc,disabled_support_webssh:Ot.disabled_support_webssh,open_start_command:Ot.open_start_command,start_command:Ot.start_command,open_envs:Ot.open_envs,envs:Ot.envs,privileged:Ot.privileged,add_cap:Ot.add_cap,drop_cap:Ot.drop_cap}),mirror_repository:Nl(kl({},Co),{id:Ot.id,name:Ot.name,choice_small_type:[],choice_small_mirrors:[],shixun_service_configs:Ot.shixun_service_configs||[],description:Ot.description}),small_type:Ot.small_type});jo===0?fa(ri==null?void 0:ri.mirror_repository):jo===1?Po(ri==null?void 0:ri.mirror_repository):jo===2&&$o(ri==null?void 0:ri.mirror_repository),yo(ri),La(!1),Jo("")},Xe=Ot=>{La(!1)},Ke=(Ot=!1,ri=1)=>ga(void 0,null,function*(){var Ji,or,vr;Xs(!0);const jr=(Ji=ur.find(ta=>ta.id===Vo))==null?void 0:Ji.name,Er=yield(0,wt.ZP)(`/api/shixuns/${xo}/update_for_multi.json`,{method:"put",body:{tabs:ur,shixun_environment_id:Vo,sub_type:Co==null?void 0:Co.choice_small_type,main_type:Co.id,shixun_environment:Nl(kl({},Qn),{name:jr,mirror_tab_type:jo,network_mode:Ka}),shixun_service_configs:Co==null?void 0:Co.shixun_service_configs,new_service_configs:Qo,sync_origin_shixun:Ot,command_settings:Qn==null?void 0:Qn.command_settings}});Er.status===0&&(Gh(Er.shixun_environment_id),mo(Er.shixun_environment_id),sf(),(or=wn==null?void 0:wn.detail)!=null&&or.copy_for_exercise||bt.ZP.success("\u4FDD\u5B58\u6210\u529F"),(vr=wn==null?void 0:wn.detail)!=null&&vr.copy_for_exercise&&(0,yi.m)(st,wn,xo,ri)),Xs(!1)}),gt=()=>{var Ot;if(lu())return;if(Vo===0||(Ot=tt==null?void 0:tt.sideBar)!=null&&Ot.confirmLeave){bt.ZP.warning("\u5F53\u524D\u5B9E\u9A8C\u73AF\u5883\u6B63\u5728\u7F16\u8F91\u4E2D\uFF0C\u4E0D\u80FD\u6DFB\u52A0\u65B0\u7684\u5B9E\u9A8C\u73AF\u5883");return}const ri=(0,Xn.cloneDeep)(Bg);console.log("cloneData---",ri),ma([...ur,{id:0,name:`\u5B9E\u9A8C\u73AF\u5883${ur.length+1}`}]),ia(0),fa({}),Po({}),$o({}),mo(0),yo(ri)},$t=(Ot,ri,Ji)=>ga(void 0,null,function*(){var or,vr,jr,Er,ta,ws,Ml,us,wl,Hs,$s,wu,rs,Fs,gs,dl,Wu,Uu,id,Wl,Oc,ve;if(lu())return;const ye=(0,Xn.cloneDeep)(da.current);if(ri==="is_support_code_editor"&&Ji&&(yield Bu()),ri==="resource_type"&&(ye.shixun_environment.instance_startup_type=1,ye.shixun_environment.command_settings=gd.current,gd.current=da.current.shixun_environment.command_settings,Ji===2&&!ye.shixun_environment.private_cloud_id&&(ye.shixun_environment.private_cloud_id=(or=Fo==null?void 0:Fo[0])==null?void 0:or.id,ye.shixun_environment.operating_system=1,yh(ye.shixun_environment.private_cloud_id,ye.shixun_environment.operating_system))),ri==="private_cloud_id"&&(ye.shixun_environment.private_is_support_vnc=!1,ye.shixun_environment.private_is_support_webssh=!1,ye.shixun_environment.private_is_support_jupyter_lab=!1,ye.shixun_environment.operating_system=1,ye.shixun_environment.instance_startup_template_id=null,ye.shixun_environment.instance_startup_type=1,yh(Ji,ye.shixun_environment.operating_system)),ri==="operating_system"&&Ji&&(ye.shixun_environment.private_is_support_vnc=!1,ye.shixun_environment.private_is_support_webssh=!1,ye.shixun_environment.private_is_support_jupyter_lab=!1,ye.shixun_environment.instance_startup_template_id=null,ye.shixun_environment.instance_startup_type=1,yh(ye.shixun_environment.private_cloud_id,Ji)),ri==="instance_startup_template_id"){ye.shixun_environment.private_is_support_vnc=!1,ye.shixun_environment.private_is_support_webssh=!1,ye.shixun_environment.private_is_support_jupyter_lab=!1,ye.shixun_environment.instance_startup_type=1;const be=gr.find(Re=>Re.id===Ji);ye.shixun_environment.disabled2_support_vnc=be.disabled_support_vnc,ye.shixun_environment.disabled2_support_webssh=be.disabled_support_webssh,ye.shixun_environment.disabled2_support_jupyter_lab=be.disabled_support_jupyter_lab,ye.boosters=be.boosters,ye.network_mode_list=be.network_mode_list,Qs((Er=(jr=(vr=be.network_mode_list)==null?void 0:vr.filter(Re=>Re.is_default))==null?void 0:jr[0])==null?void 0:Er.network_mode),ye.new_service_configs=be!=null&&be.service_config_info?[be.service_config_info]:[]}if((ri==="private_is_support_vnc"||ri==="private_is_support_webssh")&&(ye.shixun_environment.instance_startup_type=1),ri==="choice_small_type"){ye.mirror_repository.choice_small_mirrors=Xo.filter(Ye=>Ji.includes(Ye.id));const be=ye.mirror_repository.choice_small_mirrors,Re=Co.choice_small_mirrors;if(be.length>Re.length){const Ye=(0,Xn.differenceBy)(be,Re,"id");if((ta=Ye==null?void 0:Ye[0])!=null&&ta.mirror_name){const Qe={cpu_limit:((us=(Ml=(ws=Ye==null?void 0:Ye[0])==null?void 0:ws.shixun_service_configs)==null?void 0:Ml[0])==null?void 0:us.cpu_limit)||1,lower_cpu_limit:(($s=(Hs=(wl=Ye==null?void 0:Ye[0])==null?void 0:wl.shixun_service_configs)==null?void 0:Hs[0])==null?void 0:$s.lower_cpu_limit)||.1,memory_limit:((Fs=(rs=(wu=Ye==null?void 0:Ye[0])==null?void 0:wu.shixun_service_configs)==null?void 0:rs[0])==null?void 0:Fs.memory_limit)||1,mirror_repository_id:(gs=Ye==null?void 0:Ye[0])==null?void 0:gs.id,name:(dl=Ye==null?void 0:Ye[0])==null?void 0:dl.mirror_name,request_limit:((id=(Uu=(Wu=Ye==null?void 0:Ye[0])==null?void 0:Wu.shixun_service_configs)==null?void 0:Uu[0])==null?void 0:id.request_limit)||10,resource_limit:((ve=(Oc=(Wl=Ye==null?void 0:Ye[0])==null?void 0:Wl.shixun_service_configs)==null?void 0:Oc[0])==null?void 0:ve.resource_limit)||10};ye.mirror_repository.shixun_service_configs.push(Qe)}}else{const Ye=(0,Xn.differenceBy)(Re,be,"id");ye.mirror_repository.shixun_service_configs=ye.mirror_repository.shixun_service_configs.filter(Qe=>{var ct;return Qe.mirror_repository_id!==((ct=Ye==null?void 0:Ye[0])==null?void 0:ct.id)})}}ri?ye[Ot][ri]=Ji:ye[Ot]=Ji,console.log("cloneData",ye),Jo(""),yo(ye)}),Pt=(Ot,ri,Ji)=>{var or,vr;const jr=/^\d*(\.\d*)?$/,Er=["cpu_limit","lower_cpu_limit","memory_limit","request_limit","resource_limit","gpu_memory_limit","gpu_limit"],ta=(0,Xn.cloneDeep)((vr=(or=da.current)==null?void 0:or.mirror_repository)==null?void 0:vr.shixun_service_configs);if(Er.includes(ri)){Ji.match(jr)&&(ta[Ot][ri]=Ji,$t("mirror_repository","shixun_service_configs",ta));return}ta[Ot][ri]=Ji,$t("mirror_repository","shixun_service_configs",ta)},Hn=()=>{Ve.default.info({centered:!0,icon:null,width:460,title:"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458",content:on.createElement("div",{className:"tc"},on.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:qi,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"})},In=()=>{var Ot,ri,Ji,or,vr,jr,Er,ta,ws,Ml;if(!lu()){if((Qn==null?void 0:Qn.resource_type)===1){if(!(Co!=null&&Co.id)){Jo("mirror");return}if(!(Qn!=null&&Qn.is_support_code_editor)&&!(Qn!=null&&Qn.is_support_vnc)&&!(Qn!=null&&Qn.is_support_webssh)&&!(Qn!=null&&Qn.is_support_thiry_party)){Jo("interface");return}if(Qn.is_support_thiry_party&&!(Qn!=null&&Qn.proxy_port)){Jo("port"),ls("\u8BF7\u8F93\u5165\u7AEF\u53E3");return}if(Qn.is_support_thiry_party&&(Qn!=null&&Qn.proxy_port)&&parseInt(Qn==null?void 0:Qn.proxy_port)>65535||((Ot=Qn==null?void 0:Qn.proxy_port)==null?void 0:Ot.length)>1&&((ri=Qn==null?void 0:Qn.proxy_port)==null?void 0:ri[0])==="0"){Jo("port"),ls("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u7AEF\u53E3");return}if(!((Ji=Co==null?void 0:Co.shixun_service_configs)!=null&&Ji.length)){Jo("shixun_service_configs");return}for(let us of Co==null?void 0:Co.shixun_service_configs){if(us!=null&&us.open_start_command&&!(us!=null&&us.start_command)){Jo("start_command");return}if(us!=null&&us.open_envs&&!(us!=null&&us.envs)){Jo("envs");return}}if(Qn!=null&&Qn.webssh_host&&!/^[a-z0-9\-]*$/.test(Qn==null?void 0:Qn.webssh_host)){bt.ZP.warning("\u4E3B\u673A\u540D\u53EA\u80FD\u8F93\u5165\u6570\u5B57\u3001\u5C0F\u5199\u5B57\u6BCD\u3001\u8FDE\u5B57\u7B26");return}if((vr=(or=Co==null?void 0:Co.shixun_service_configs)==null?void 0:or[0])!=null&&vr.webssh_host&&!/^(?![0-9]+$)(?!.*--)[a-z0-9](?:[a-z0-9-]{0,60}[a-z0-9])$/.test((Er=(jr=Co==null?void 0:Co.shixun_service_configs)==null?void 0:jr[0])==null?void 0:Er.webssh_host)){eo(!0);return}}if((Qn==null?void 0:Qn.resource_type)===2){if(!(Qn!=null&&Qn.operating_system)){Jo("system");return}if(!(Qn!=null&&Qn.instance_startup_template_id)){Jo("template");return}if(!(Qn!=null&&Qn.private_is_support_vnc)&&!(Qn!=null&&Qn.private_is_support_webssh)&&!(Qn!=null&&Qn.private_is_support_jupyter_lab)){Jo("interface");return}if((Qn==null?void 0:Qn.operating_system)===1&&(Qn!=null&&Qn.private_is_support_vnc)&&af&&!(Qn!=null&&Qn.instance_startup_type)){Jo("instance_startup_type");return}}if((Qn!=null&&Qn.is_support_webssh||Qn!=null&&Qn.private_is_support_webssh)&&((ta=Qn==null?void 0:Qn.command_settings)==null?void 0:ta.some(wl=>{var Hs,$s;return!wl.command&&!!((Hs=wl.challenge_ids)!=null&&Hs.length)||wl.command&&!(($s=wl.challenge_ids)!=null&&$s.length)}))){Jo("command_settings");return}(ws=wn==null?void 0:wn.detail)!=null&&ws.is_fork_from_creator&&((Ml=wn==null?void 0:wn.detail)!=null&&Ml.copy_for_exercise)&&Vo!=0&&(Qn!=null&&Qn.has_relation)?st({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"environment",fn:(us,wl)=>{Ke(us,wl)}}}):Ke()}},Ui=Ot=>ga(void 0,null,function*(){yield Pt(Ot.index,"cpu_limit",String(Ot==null?void 0:Ot.cpu)),yield Pt(Ot.index,"memory_limit",String(Ot==null?void 0:Ot.memory))}),Xi=Ot=>{const ri=(0,Xn.cloneDeep)(Qo);ri[Ot.index]=Nl(kl({},ri[Ot.index]),{cpu_limit:String(Ot==null?void 0:Ot.cpu),memory_limit:String(Ot==null?void 0:Ot.memory)}),$t("new_service_configs","",ri)};return on.createElement("div",{className:Qi.wrap},on.createElement("div",{className:Qi.content},on.createElement("div",{className:Qi.head},on.createElement("div",{className:Qi.title},"\u5B9E\u9A8C\u73AF\u5883"),ur.lengthsl(!0),className:Qi.setting},"\u8BBE\u7F6E")),!!ur.length&&on.createElement(ue.Fragment,null,on.createElement(fn.Z5,{onDragEnd:Ot=>fe(Ot,ur)},on.createElement(fn.bK,{droppableId:"droppable",direction:"horizontal"},(Ot,ri)=>on.createElement("div",Nl(kl({},Ot.droppableProps),{ref:Ot.innerRef,className:Qi.tabs}),ur.map((Ji,or)=>{const{name:vr,id:jr}=Ji;return on.createElement(fn._l,{key:jr,draggableId:jr.toString(),index:or},(Er,ta)=>on.createElement("div",Nl(kl(kl({},Er.draggableProps),Er.dragHandleProps),{ref:Er.innerRef,className:Vo===jr?Qi.active:"",key:jr}),on.createElement("i",{className:"iconfont icon-tuodong"}),on.createElement("span",{className:Qi.name,onClick:()=>De(jr)},vr),on.createElement(So.Z,{trigger:["click"],dropdownRender:()=>on.createElement(Eo.default,{style:{width:92}},on.createElement(Eo.default.Item,{onClick:()=>he(jr,vr),className:"font14"},"\u91CD\u547D\u540D"),on.createElement(Eo.default.Item,{onClick:()=>me(jr,vr),className:"font14"},"\u5220\u9664")),getPopupContainer:ws=>ws.parentNode},on.createElement("i",{className:"iconfont icon-zhankai5 current"}))))}),Ot.placeholder))),on.createElement("div",{className:Qi.line})),on.createElement(Oo.Z,{loading:Wa||ts,active:!0},!!ur.length&&on.createElement(ue.Fragment,null,on.createElement(si.Z,{required:!0,nameWidth:150,name:"\u5B9E\u9A8C\u8D44\u6E90",tooltipTitle:on.createElement("div",{className:"p10"},on.createElement("b",{className:"font14"},"\u901A\u7528\u4E91"),on.createElement("br",null),"\u5E38\u89C4\u573A\u666F\u9009\u7528\uFF0C\u8C03\u7528\u5934\u6B4C\u901A\u7528\u8D44\u6E90\uFF0C\u57FA\u4E8E\u5BB9\u5668\u5F62\u5F0F\u4E3A\u5B9E\u8BAD\u63D0\u4F9B\u865A\u62DF\u5B9E\u9A8C\u73AF\u5883\u3002",on.createElement("br",null),on.createElement("div",{className:"mt10 blod font14"},"\u4E13\u6709\u4E91"),"\u4E13\u7528\u573A\u666F\uFF0C\u53EF\u9009\u7528\u4E0D\u540C\u4E91\u96C6\u7FA4\u7684\u8D44\u6E90\uFF0C\u5305\u62EC\u963F\u91CC\u4E91\u3001\u534E\u4E3A\u4E91\u3001\u7B97\u80FD\u4E91\u7B49\uFF0C\u5982\u7B97\u80FD\u4E91\u9002\u7528\u4E8E\u9700\u8981\u8C03\u7528TPU\u8D44\u6E90\u8BAD\u7EC3\u7684\u5B9E\u8BAD")},on.createElement("div",{className:Qi.resource},Vd.map(Ot=>on.createElement("div",{key:Ot.id,className:(Qn==null?void 0:Qn.resource_type)===Ot.id?Qi.active:"",onClick:()=>{(Qn==null?void 0:Qn.resource_type)!==Ot.id&&$t("shixun_environment","resource_type",Ot.id)}},Ot.name)))),(Qn==null?void 0:Qn.resource_type)===1&&on.createElement(ue.Fragment,null,on.createElement(si.Z,{required:!0,nameWidth:150,name:"\u5B9E\u9A8C\u955C\u50CF"},on.createElement("div",{className:Qi.resource,style:{width:300}},Ef.map(Ot=>on.createElement("div",{key:Ot.id,className:jo===Ot.id?Qi.active:"",onClick:()=>{jo!==Ot.id&&(lu()||(ia(Ot.id),Jo(""),Ot.id===0&&yo(Nl(kl({},Do),{mirror_repository:kl({},tc)})),Ot.id===1&&yo(Nl(kl({},Do),{mirror_repository:kl({},Ua)})),Ot.id===2&&yo(Nl(kl({},Do),{mirror_repository:kl({},Wr)}))))}},Ot.name)))),on.createElement(si.Z,{nameWidth:150,errorKey:"mirror",errorValue:Cr,errorName:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF"},on.createElement(dt.Z,{align:"middle"},Yl===!1?on.createElement(on.Fragment,null,!!(Co!=null&&Co.id)&&on.createElement(on.Fragment,null,on.createElement("div",{onClick:()=>{lu()||La(!0)},className:Qi.mirror},on.createElement("div",null,Co==null?void 0:Co.name),on.createElement("i",{className:"iconfont icon-genghuan"})),on.createElement(rr.Z,{value:[{description:Co==null?void 0:Co.description,name:Co==null?void 0:Co.name}],title:"\u5B9E\u9A8C\u955C\u50CF\u8BF4\u660E"},on.createElement("span",{className:Qi.explain},"\u5B9E\u9A8C\u955C\u50CF\u8BF4\u660E"))),!(Co!=null&&Co.id)&&on.createElement("div",{onClick:()=>{La(!0)},className:Qi.mirror},on.createElement("i",{className:"iconfont icon-tianjia3 font14 mr10"}),on.createElement("div",null,"\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF"))):"\u6682\u65E0\u6570\u636E")),ie(!0),(Qn==null?void 0:Qn.is_support_webssh)&&on.createElement(si.Z,{nameWidth:150,align:"start",name:"\u5F00\u542F\u65F6\u89E6\u53D1\u547D\u4EE4",tooltipTitle:on.createElement("div",null,"\u6BCF\u6B21\u6253\u5F00\u65B0\u7684\u7EC8\u7AEF\u7A97\u53E3\u65F6\uFF0C\u81EA\u52A8\u53D1\u9001\u5E76\u6267\u884C\u6307\u5B9A\u7684\u547D\u4EE4\u6216\u6587\u672C\u3002\u7528\u4E8E\u81EA\u52A8\u5316\u7EC8\u7AEF\u4EFB\u52A1\u6216\u521D\u59CB\u5316\u5DE5\u4F5C\u73AF\u5883")},on.createElement(ll,{showError:Cr==="command_settings",value:Qn==null?void 0:Qn.command_settings,onChange:Ot=>$t("shixun_environment","command_settings",Ot),optionsLevelList:Us})),(Qn==null?void 0:Qn.is_support_thiry_party)&&on.createElement(si.Z,{required:!0,nameWidth:150,align:"start",name:"\u7AEF\u53E3\u914D\u7F6E",errorKey:"port",errorValue:Cr,errorName:Ha},on.createElement(dt.Z,null,on.createElement("div",{className:"font14",style:{lineHeight:"14px"}},on.createElement("div",null,"\u5BB9\u5668\u7AEF\u53E3"),on.createElement(ke.default,{onClick:lu,value:Qn==null?void 0:Qn.proxy_port,onChange:Ot=>{const ri=Ot.target.value;(ri===""||/^[0-9]\d*$/.test(ri))&&$t("shixun_environment","proxy_port",Ot.target.value)},bordered:!1,style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:6}})),on.createElement("div",{className:"ml20"},on.createElement("div",{className:"font14",style:{lineHeight:"14px"}},"\u8DEF\u7531\uFF08\u9009\u586B\uFF09"),on.createElement(ke.default,{onClick:lu,value:Qn==null?void 0:Qn.web_route,onChange:Ot=>$t("shixun_environment","web_route",Ot.target.value),bordered:!1,style:{width:450,height:50,background:"#F5F5F5",borderRadius:4,marginTop:6}})))),on.createElement(si.Z,{name:"\u9644\u5E26\u73AF\u5883",nameWidth:150},on.createElement(dt.Z,{align:"middle"},on.createElement(Sr.default,{getPopupContainer:Ot=>Ot.parentNode,onClick:lu,mode:"multiple",bordered:!1,className:"mr10",optionFilterProp:"children",placeholder:"\u8BF7\u9009\u62E9\u9644\u5E26\u73AF\u5883",style:{minWidth:400,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},value:Co==null?void 0:Co.choice_small_type,onChange:Ot=>$t("mirror_repository","choice_small_type",Ot),showArrow:!0,maxTagCount:5},Xo.map((Ot,ri)=>on.createElement(gl,{key:Ot.id,value:Ot.id},Ot.type_name))),!!((Ei=Co==null?void 0:Co.choice_small_mirrors)!=null&&Ei.length)&&on.createElement(rr.Z,{value:(Co==null?void 0:Co.choice_small_mirrors)||[],title:"\u9644\u5E26\u73AF\u5883\u8BF4\u660E"},on.createElement("span",{className:Qi.explain},"\u9644\u5E26\u73AF\u5883\u8BF4\u660E")))),(0,Zr.Ny)()&&on.createElement(ue.Fragment,null,on.createElement("div",{onClick:()=>Za(!hs),className:Qi.grade},"\u9AD8\u7EA7\u8BBE\u7F6E",on.createElement("i",{className:`iconfont ${hs?"icon-shouqi4":"icon-a-xialazhankai"}`})),hs&&on.createElement(ue.Fragment,null,on.createElement(si.Z,{required:!0,nameWidth:150,name:"\u955C\u50CF\u914D\u7F6E",align:"start",errorKey:"shixun_service_configs",errorValue:Cr,errorName:"\u8BF7\u6DFB\u52A0\u955C\u50CF\u914D\u7F6E",contentStyle:{overflow:(Ln=Co==null?void 0:Co.shixun_service_configs)!=null&&Ln.length?"hidden":"initial"}},on.createElement("div",{className:Qi.tabsBox},!((bi=Co==null?void 0:Co.shixun_service_configs)!=null&&bi.length)&&on.createElement(Sn.Z,{image:Ti,imageStyle:{height:180,marginTop:67},description:""}),!!((Yr=Co==null?void 0:Co.shixun_service_configs)!=null&&Yr.length)&&on.createElement(tn.default,{destroyInactiveTabPane:!0,moreIcon:on.createElement("span",{className:Qi.more},"\u66F4\u591A ",on.createElement("i",{className:"iconfont icon-xiala1"}))},(wo=Co==null?void 0:Co.shixun_service_configs)==null?void 0:wo.map((Ot,ri)=>{var Ji,or,vr,jr;const{cpu_limit:Er,lower_cpu_limit:ta,memory_limit:ws,request_limit:Ml,resource_limit:us,name:wl,shixun_update_logs:Hs,gpu_limit:$s,gpu_memory_limit:wu}=Ot;return on.createElement(tn.default.TabPane,{className:"p20",tab:on.createElement("div",{title:wl,className:Qi.tabTitle},wl),key:ri},(Hs==null?void 0:Hs.user_name)&&on.createElement("div",{style:{margin:"-15px 0 15px 0"}},"\u6700\u8FD1\u4FEE\u6539\u4EBA\uFF1A ",Hs==null?void 0:Hs.user_name,"\uFF08",Hs==null?void 0:Hs.user_login,"\uFF09 \u4FEE\u6539\u65F6\u95F4\uFF1A",Hs!=null&&Hs.created_at?xr()(Hs==null?void 0:Hs.created_at).format("YYYY-MM-DD HH:mm:ss"):"--"),on.createElement(si.Z,{nameWidth:150,name:"\u8D44\u6E90\u914D\u7F6E",align:"center"},on.createElement(dt.Z,{align:"middle"},on.createElement(dt.Z,{align:"middle",className:"mr20",wrap:!1},on.createElement("div",{className:Qi.serverConfig,onClick:()=>{lu()||(Aa({index:ri,cpu:Er,memory:ws}),Xl(!0))}},on.createElement("div",null,on.createElement("span",null,Er,"\u6838")," ",on.createElement("span",null,ws,"GB")),on.createElement("i",{className:"iconfont icon-bianji21"}))),ri==0&&on.createElement(dt.Z,{align:"middle",wrap:!1},on.createElement("div",{className:Qi.viewRecommendConfig,onClick:()=>mr(!0)},"\u67E5\u770B\u63A8\u8350\u914D\u7F6E")))),(((vr=(Ji=ot==null?void 0:ot.setting)==null?void 0:Ji.big_model_users)==null?void 0:vr.includes((or=wi==null?void 0:wi.userInfo)==null?void 0:or.login))||(0,Zr.fn)())&&on.createElement(si.Z,{nameWidth:150,name:"GPU\u914D\u7F6E",align:"center"},on.createElement(dt.Z,{align:"middle"},on.createElement(dt.Z,{align:"middle",className:"mr20",wrap:!1},on.createElement("div",{className:Qi.serverConfig,onClick:()=>{Zu({index:ri,gpu_limit:$s||0,gpu_memory_limit:wu||0}),Jl(!0)}},$s&&on.createElement(on.Fragment,null,on.createElement("div",null,on.createElement("span",null,"\u663E\u5361",$s,"\u4E2A")," ",on.createElement("span",null,"\u663E\u5B58",wu,"GB")),on.createElement("i",{className:"iconfont icon-bianji21"})),!$s&&on.createElement(on.Fragment,null,on.createElement("div",null,"\u672A\u914D\u7F6EGPU"),on.createElement("i",{className:"iconfont icon-bianji21"})))))),on.createElement(si.Z,{nameWidth:150,name:"\u6587\u4EF6\u5927\u5C0F\u9650\u5236",align:"center"},on.createElement(dt.Z,{align:"middle"},on.createElement(dt.Z,{align:"middle",wrap:!1},on.createElement(ke.default,{onClick:lu,style:{width:400},value:us,maxLength:5,onChange:rs=>{const{value:Fs}=rs.target,gs=/^\d*(\.\d*)?$/;Fs.match(gs)&&Pt(ri,"resource_limit",rs.target.value)},addonAfter:"M"}),on.createElement("span",{style:{marginLeft:10,color:"#999"}},"File size limit\u53C2\u6570\uFF0C\u8868\u793A\u5355\u4E2A\u6587\u4EF6\u4E0A\u4F20\u7684\u5927\u5C0F\u9650\u5236")))),on.createElement(si.Z,{nameWidth:150,name:"\u542F\u52A8\u8BBE\u7F6E",align:"start",required:Ot==null?void 0:Ot.open_start_command,errorKey:"start_command",errorValue:Cr,errorName:"\u8BF7\u8F93\u5165\u542F\u52A8\u547D\u4EE4"},on.createElement("div",{className:"font14 mb5"},"\u7528\u6237\u540D",on.createElement("span",{className:"c-grey-999"},"\uFF08\u767B\u5F55\u5BB9\u5668\u65F6\u53EF\u4F7F\u7528\u7684\u7528\u6237\u540D\uFF09")),on.createElement(Sr.default,{getPopupContainer:rs=>rs.parentNode,onClick:lu,bordered:!1,fieldNames:{label:"name",value:"id"},options:(jr=Do==null?void 0:Do.mirror_repository)==null?void 0:jr.webssh_user_arr,value:(Ot==null?void 0:Ot.webssh_user)||"root",onChange:rs=>Pt(ri,"webssh_user",rs),style:{minWidth:400,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10,marginBottom:20}}),on.createElement("div",{className:"font14 mb5"},"\u4E3B\u673A\u540D",on.createElement("span",{className:"c-grey-999"},"\uFF08\u767B\u5F55\u5BB9\u5668\u65F6\u53EF\u6307\u5B9A\u4E3B\u673A\u540D\uFF09")),on.createElement(dt.Z,{className:"mb20"},on.createElement(ke.default,{bordered:!1,onClick:lu,value:Ot==null?void 0:Ot.webssh_host,maxLength:255,placeholder:"\u9009\u586B\uFF0C\u64CD\u4F5C\u7CFB\u7EDF\u5185\u90E8\u7684\u8BA1\u7B97\u673A\u540D",onChange:rs=>{Pt(ri,"webssh_host",rs.target.value),rs.target.value?/^(?![0-9]+$)(?!.*--)[a-z0-9](?:[a-z0-9-]{0,60}[a-z0-9])$/.test(rs.target.value)?eo(!1):eo(!0):eo(!1)},style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:5,marginRight:10}}),on.createElement("div",{style:{marginTop:8,maxWidth:575},className:"c-grey-999"},"\u957F\u5EA6\u4E3A2~64\u4E2A\u5B57\u7B26\uFF0C\u53EA\u80FD\u5305\u542B\u5C0F\u5199\u5B57\u6BCD\u3001\u6570\u5B57\u3001\u8FDE\u5B57\u7B26 \u201C-\u201D\uFF0C\u5FC5\u987B\u4EE5\u5B57\u6BCD\u6216\u6570\u5B57\u5F00\u5934\u548C\u7ED3\u5C3E",on.createElement("br",null),"\u4E0D\u80FD\u8FDE\u7EED\u4F7F\u7528 \u201C-\u201D\uFF0C\u4E0D\u80FD\u4F7F\u7528\u7EAF\u6570\u5B57")),Os&&on.createElement("div",{style:{color:"#E53333",marginTop:"-15px",marginBottom:"5px"}},"\u8BF7\u8F93\u5165\u89C4\u8303\u7684\u4E3B\u673A\u540D"),on.createElement(Tt.default,{checked:Ot==null?void 0:Ot.open_start_command,onChange:rs=>Pt(ri,"open_start_command",rs.target.checked),style:{marginTop:-4},className:"font14"},"\u542F\u52A8\u547D\u4EE4",on.createElement("span",{className:"c-grey-999"},"\uFF08\u542F\u52A8\u5BB9\u5668\u65F6\u8FD0\u884C\u7684\u547D\u4EE4\u6216\u811A\u672C\uFF0C\u586B\u5199\u5C06\u8986\u76D6\u5BB9\u5668\u9ED8\u8BA4\u7684\u542F\u52A8\u6307\u4EE4\u3002\uFF09")),(Ot==null?void 0:Ot.open_start_command)&&on.createElement(ui.ZP,{width:"90%",height:250,placeholder:"\u4F8B\u5982\uFF1Aecho helloworld > /data/workspace/01.txt",style:{border:"1px solid #ccc",background:"#dedede",marginTop:"20px"},value:Ot==null?void 0:Ot.start_command,language:"shell",theme:"vs-light",onChange:rs=>Pt(ri,"start_command",rs)})),on.createElement(si.Z,{required:Ot==null?void 0:Ot.open_envs,nameWidth:150,name:"\u73AF\u5883\u53D8\u91CF",align:"start",errorKey:"envs",errorValue:Cr,errorName:"\u8BF7\u8F93\u5165\u73AF\u5883\u53D8\u91CF"},on.createElement(Tt.default,{checked:Ot==null?void 0:Ot.open_envs,onChange:rs=>Pt(ri,"open_envs",rs.target.checked),style:{marginTop:-4},className:"font14"},"\u73AF\u5883\u53D8\u91CF",on.createElement("span",{className:"c-grey-999"},"\uFF08\u4E3A\u5BB9\u5668\u6DFB\u52A0\u73AF\u5883\u53D8\u91CF\uFF09")),(Ot==null?void 0:Ot.open_envs)&&on.createElement(ui.ZP,{width:"90%",height:250,placeholder:"\u4F8B\u5982\uFF1AMY_VARIABLE=my_value",style:{border:"1px solid #ccc",background:"#dedede",marginTop:"20px"},language:"shell",theme:"vs-light",value:Ot==null?void 0:Ot.envs,onChange:rs=>Pt(ri,"envs",rs)})),on.createElement(si.Z,{name:"\u8BBF\u95EE\u6A21\u5F0F",nameWidth:150},on.createElement(dt.Z,{align:"middle"},on.createElement(Ri.Z,{checked:Ot==null?void 0:Ot.privileged,onChange:rs=>Pt(ri,"privileged",rs)}),on.createElement("span",{className:"ml10 c-grey-333 font14"},"\u7279\u6743\u6A21\u5F0F"),on.createElement("span",{className:"c-grey-999 font14"},"\uFF08\u8D4B\u4E88\u5BB9\u5668\u8BBF\u95EE\u5BBF\u4E3B\u673A\u5185\u6838\u7279\u6027\u548C\u8BBE\u5907\u7684\u80FD\u529B\uFF09"))),on.createElement(si.Z,{name:"\u6743\u9650\u63A7\u5236",nameWidth:150,align:"start"},on.createElement("div",{className:"font14"},"\u6DFB\u52A0\u6743\u9650",on.createElement("span",{className:"c-grey-999"},"\uFF08\u6DFB\u52A0\u591A\u4E2A\u6743\u9650\u7528\u82F1\u6587 , \u5206\u9694\uFF09")),on.createElement(ke.default,{onClick:lu,value:Ot==null?void 0:Ot.add_cap,onChange:rs=>Pt(ri,"add_cap",rs.target.value),bordered:!1,placeholder:"\u4F8B\u5982\uFF1ANET_ADMIN",style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:5}}),on.createElement("div",{className:"font14 mt20"},"\u79FB\u9664\u6743\u9650",on.createElement("span",{className:"c-grey-999"},"\uFF08\u79FB\u9664\u591A\u4E2A\u6743\u9650\u7528\u82F1\u6587 , \u5206\u9694\uFF09")),on.createElement(ke.default,{onClick:lu,value:Ot==null?void 0:Ot.drop_cap,onChange:rs=>Pt(ri,"drop_cap",rs.target.value),bordered:!1,placeholder:"\u4F8B\u5982\uFF1ASYS_PTRACE",style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:5}})))}))))))),(Qn==null?void 0:Qn.resource_type)===2&&on.createElement(ue.Fragment,null,on.createElement(si.Z,{nameWidth:150},on.createElement(Sr.default,{getPopupContainer:Ot=>Ot.parentNode,bordered:!1,onClick:lu,className:"mr10",style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0,value:Qn==null?void 0:Qn.private_cloud_id,onChange:Ot=>$t("shixun_environment","private_cloud_id",Ot)},Fo.map((Ot,ri)=>on.createElement(gl,{key:Ot.id,value:Ot.id},Ot.name)))),on.createElement(si.Z,{name:"\u64CD\u4F5C\u7CFB\u7EDF",nameWidth:150,required:!0,errorKey:"system",errorValue:Cr,errorName:"\u8BF7\u9009\u62E9\u64CD\u4F5C\u7CFB\u7EDF"},on.createElement("div",{className:Qi.system},of.map(Ot=>on.createElement("div",{onClick:()=>{Qn.operating_system!==Ot.id&&$t("shixun_environment","operating_system",Ot.id)},key:Ot.id,className:(Qn==null?void 0:Qn.operating_system)===Ot.id?Qi.active:""},on.createElement("i",{className:Ot.icon}),on.createElement("span",null,Ot.name))))),on.createElement(si.Z,{required:!0,nameWidth:150,name:"\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248",errorKey:"template",errorValue:Cr,errorName:"\u8BF7\u9009\u62E9\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248"},on.createElement(dt.Z,{align:"middle"},on.createElement(Sr.default,{getPopupContainer:Ot=>Ot.parentNode,bordered:!1,className:"mr10",placeholder:"\u8BF7\u9009\u62E9\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248",style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},onClick:lu,ref:Ur,showArrow:!0,dropdownRender:Ot=>on.createElement("div",{className:Qi.template},on.createElement("div",{className:Qi.liWrap},gr.map(ri=>on.createElement("div",{className:Qi.li,key:ri.id,onClick:()=>{Ur.current.blur(),$t("shixun_environment","instance_startup_template_id",ri.id)}},on.createElement("span",{title:ri.name,style:{color:(Qn==null?void 0:Qn.instance_startup_template_id)===ri.id?"#0152d9":"initial"}},ri.name),!ri.is_public&&on.createElement("b",{className:Qi.tag},"\u79C1\u6709")))),on.createElement("div",{style:{padding:12}},!gr.length&&on.createElement(Sn.Z,{image:Ti,imageStyle:{height:120,marginTop:20},description:"\u6682\u65E0\u6570\u636E"}),on.createElement("div",{style:{marginTop:gr!=null&&gr.length?0:20},className:"c-grey-999 font14"},"\u672A\u627E\u5230\u5408\u9002\u7684\u5B9E\u4F8B\u542F\u52A8\u6A21\u677F\uFF1F",on.createElement("span",{onClick:Hn,className:"c-light-primary current"},"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458")))),options:gr==null?void 0:gr.map(Ot=>({label:Ot.name,value:Ot.id})),value:Qn==null?void 0:Qn.instance_startup_template_id}),!!Nf&&on.createElement(rr.Z,{value:Nf,title:"\u6A21\u7248\u63CF\u8FF0"},on.createElement("span",{className:Qi.explain},"\u6A21\u7248\u63CF\u8FF0")))),ie(!1),(Qn==null?void 0:Qn.private_is_support_webssh)&&on.createElement(si.Z,{align:"start",nameWidth:150,name:"\u5F00\u542F\u65F6\u89E6\u53D1\u547D\u4EE4",tooltipTitle:on.createElement("div",null,"\u6BCF\u6B21\u6253\u5F00\u65B0\u7684\u7EC8\u7AEF\u7A97\u53E3\u65F6\uFF0C\u81EA\u52A8\u53D1\u9001\u5E76\u6267\u884C\u6307\u5B9A\u7684\u547D\u4EE4\u6216\u6587\u672C\u3002\u7528\u4E8E\u81EA\u52A8\u5316\u7EC8\u7AEF\u4EFB\u52A1\u6216\u521D\u59CB\u5316\u5DE5\u4F5C\u73AF\u5883")},on.createElement(ll,{showError:Cr==="command_settings",value:Qn==null?void 0:Qn.command_settings,onChange:Ot=>$t("shixun_environment","command_settings",Ot),optionsLevelList:Us})),(Qn==null?void 0:Qn.operating_system)===1&&(Qn==null?void 0:Qn.private_is_support_vnc)&&(af||ih&&nh===1)&&on.createElement(si.Z,{required:!0,nameWidth:150,name:"\u5B9E\u4F8B\u542F\u52A8\u65B9\u5F0F",errorKey:"instance_startup_type",errorValue:Cr,errorName:"\u8BF7\u9009\u62E9\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248"},on.createElement("div",{className:Qi.resource},bu.map(Ot=>on.createElement("div",{key:Ot.id,className:(Qn==null?void 0:Qn.instance_startup_type)===Ot.id?Qi.active:"",onClick:()=>$t("shixun_environment","instance_startup_type",Ot.id)},Ot.name)))),(0,Zr.Ny)()&&nh===1&&on.createElement(ue.Fragment,null,on.createElement("div",{onClick:()=>Ho(!pr),className:Qi.grade},"\u9AD8\u7EA7\u8BBE\u7F6E",on.createElement("i",{className:`iconfont ${pr?"icon-shouqi4":"icon-a-xialazhankai"}`})),pr&&on.createElement(ue.Fragment,null,on.createElement(si.Z,{required:!0,nameWidth:150,name:"\u8D44\u6E90\u914D\u7F6E",align:"start",errorKey:"shixun_service_configs",errorValue:Cr,errorName:"\u8BF7\u6DFB\u52A0\u8D44\u6E90\u914D\u7F6E",contentStyle:{overflow:Qo!=null&&Qo.length?"hidden":"initial"}},on.createElement("div",{className:Qi.tabsBox},!(Qo!=null&&Qo.length)&&on.createElement(Sn.Z,{image:Ti,imageStyle:{height:180,marginTop:67},description:""}),!!(Qo!=null&&Qo.length)&&on.createElement(tn.default,{destroyInactiveTabPane:!0,moreIcon:on.createElement("span",{className:Qi.more},"\u66F4\u591A ",on.createElement("i",{className:"iconfont icon-xiala1"}))},Qo==null?void 0:Qo.map((Ot,ri)=>{const{cpu_limit:Ji,lower_cpu_limit:or,memory_limit:vr,request_limit:jr,resource_limit:Er,name:ta}=Ot;return on.createElement(tn.default.TabPane,{className:"p20",tab:on.createElement("div",{title:ta,className:Qi.tabTitle},ta),key:ri},on.createElement(dt.Z,{align:"middle"},on.createElement(dt.Z,{align:"middle",className:"mr20",wrap:!1},on.createElement("div",{className:Qi.serverConfig,onClick:()=>{Aa({index:ri,cpu:Ji,memory:vr}),Xl(!0)}},on.createElement("div",null,on.createElement("span",null,Ji,"\u6838")," ",on.createElement("span",null,vr,"GB")),on.createElement("i",{className:"iconfont icon-bianji21"}))),ri==0&&on.createElement(dt.Z,{align:"middle",wrap:!1},on.createElement("div",{className:Qi.viewRecommendConfig,onClick:()=>mr(!0)},"\u67E5\u770B\u63A8\u8350\u914D\u7F6E"))))})))),(0,Zr.Ny)()&&(ms==null?void 0:ms.length)>0&&on.createElement(si.Z,{required:!0,nameWidth:150,name:"GPU\u52A0\u901F\u5668",align:"center"},on.createElement(Sr.default,{disabled:!0,getPopupContainer:Ot=>Ot.parentNode,bordered:!1,className:"mr10",value:ms[0],style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0},ms.map(Ot=>on.createElement(Sr.default.Option,{key:Ot,value:Ot},Ot)))),(0,Zr.Ny)()&&(qo==null?void 0:qo.length)>0&&on.createElement(si.Z,{required:!0,nameWidth:150,name:"\u7F51\u7EDC\u6A21\u5F0F",align:"center",tooltipTitle:on.createElement("div",{className:"p10"},on.createElement("p",null,"NAT\u6A21\u5F0F\uFF1A\u865A\u62DF\u673A\u901A\u8FC7\u4E3B\u673A\u7684\u7F51\u7EDC\u8FDE\u63A5\u5171\u4EABIP\u5730\u5740\u3002\u865A\u62DF\u673A\u7684IP\u56FA\u5B9A\u4E3A10.0.2.2"),on.createElement("p",null,"passt\u6A21\u5F0F\uFF1A\u5141\u8BB8\u865A\u62DF\u673A\u76F4\u63A5\u8BBF\u95EE\u4E3B\u673A\u4E0A\u7684\u786C\u4EF6\u8BBE\u5907\u3002\u865A\u62DF\u673A\u7684IP\u4E3Apod\u7684IP"))},on.createElement(Sr.default,{disabled:!0,getPopupContainer:Ot=>Ot.parentNode,bordered:!1,className:"mr10",value:($r=(Nr=qo==null?void 0:qo.filter(Ot=>Ot.is_default))==null?void 0:Nr[0])==null?void 0:$r.network_mode,onChange:Ot=>{Qs(Ot)},style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0},qo==null?void 0:qo.map(Ot=>on.createElement(Sr.default.Option,{key:Ot==null?void 0:Ot.network_mode,value:Ot==null?void 0:Ot.network_mode},Ot.name)))))))),!ur.length&&on.createElement(Sn.Z,{image:Ti,imageStyle:{height:180,marginTop:100},description:"\u8BF7\u6DFB\u52A0\u5B9E\u9A8C\u73AF\u5883"}))),on.createElement("div",{className:Qi.btns},on.createElement(Me.ZP,{onClick:zh,style:{marginRight:40}},"\u53D6\u6D88"),on.createElement(Me.ZP,{loading:al,type:"primary",disabled:!(ur!=null&&ur.length),onClick:()=>{In()}},"\u4FDD\u5B58")),on.createElement(Kr,{identifier:xo,shixun_environment_id:Vo,useId:Co==null?void 0:Co.id,visible:Kl,onCancel:()=>La(!1),onOk:Ot=>je(Ot),tab_type:(To=Ef[Number(jo)])==null?void 0:To.type}),on.createElement(no,{verifyModal:lu,id:xo,environment:ur,is_published:po,dispatch:st,visible:qa,onCancel:()=>sl(!1),onOk:Ot=>Xe(Ot)}),on.createElement(ys.Z,{visible:Sc,onOk:Ot=>{let ri=Qn==null?void 0:Qn.resource_type;ri==1&&Ui(Ot),ri==2&&Xi(Ot),Xl(!1)},onCancel:()=>Xl(!1),info:vs}),on.createElement(bs.Z,{visible:sc,onOk:Ot=>ga(void 0,null,function*(){yield Pt(Ot.index,"gpu_memory_limit",String(Ot==null?void 0:Ot.gpu_memory_limit)),setTimeout(()=>ga(void 0,null,function*(){yield Pt(Ot.index,"gpu_limit",String(Ot==null?void 0:Ot.gpu_limit)),Jl(!1)}))}),onCancel:()=>Jl(!1),info:qs}),on.createElement(_o.Z,{onOk:()=>{Gh(Qn==null?void 0:Qn.id)},identifier:xo,visible:nd,onCancel:()=>mr(!1),info:null,isJupyter:!1}))};var Su=(0,pt.connect)(({practiceSetting:tt,globalSetting:st,shixunsDetail:ot,user:wn})=>({practiceSetting:tt,globalSetting:st,shixunsDetail:ot,user:wn}))(du),xu=Pe(1710),ao=Pe(87169),xd={footerWrap:"footerWrap___Qaahm"},Ed=Object.getOwnPropertySymbols,Bc=Object.prototype.hasOwnProperty,Od=Object.prototype.propertyIsEnumerable,Nh=(tt,st)=>{var ot={};for(var wn in tt)Bc.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&Ed)for(var wn of Ed(tt))st.indexOf(wn)<0&&Od.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},ir=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const il=ke.default.TextArea,bl=tt=>{var st=tt,{shixunsDetail:ot,globalSetting:wn,loading:wi,dispatch:Yi,onFinish:dr=()=>{}}=st,Ei=Nh(st,["shixunsDetail","globalSetting","loading","dispatch","onFinish"]);const[Ln]=Ae.default.useForm(),bi=wo=>ir(void 0,null,function*(){var Nr;const $r=yield Yi({type:"shixunsDetail/getCustomScript",payload:{id:(Nr=ot.actionTabs.params)==null?void 0:Nr.id,compile:wo.execute,excutive:wo.compile}});Yr(),$r&&dr($r==null?void 0:$r.shixun_script)}),Yr=()=>{Yi({type:"shixunsDetail/setActionTabs",payload:{}})};return ue.createElement(Ve.default,{centered:!0,title:"\u81EA\u5B9A\u4E49\u6A21\u677F",open:ot.actionTabs.key==="Settings-UseCustomScript",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",footer:null,onCancel:Yr},ue.createElement(Ae.default,{form:Ln,scrollToFirstError:!0,layout:"vertical",onFinish:bi},ue.createElement(Ae.default.Item,{name:"execute",label:"\u6267\u884C\u547D\u4EE4\uFF1A",rules:[{required:!0,message:"\u6267\u884C\u547D\u4EE4\u4E0D\u80FD\u4E3A\u7A7A"}]},ue.createElement(il,{rows:4})),ue.createElement(Ae.default.Item,{name:"compile",label:"\u7F16\u8BD1\u547D\u4EE4\uFF1A"},ue.createElement(il,{rows:4})),ue.createElement("div",{className:xd.footerWrap},ue.createElement(Ae.default.Item,null,ue.createElement(Me.ZP,{className:"mr5",size:"middle",onClick:Yr},"\u53D6\u6D88"),ue.createElement(Me.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:wi.effects["shixunsDetail/getCustomScript"]},"\u4FDD\u5B58")))))};var wr=(0,pt.connect)(({shixunsDetail:tt,loading:st,globalSetting:ot})=>({shixunsDetail:tt,globalSetting:ot,loading:st}))(bl),so={wrap:"wrap___tkKvJ",head:"head___qUdlR",active:"active___fcOZ0",practice:"practice___g43Av",right:"right___plViv",title:"title___fJJJd",content:"content___Aiv2H",des:"des___kaZig",mainBody:"mainBody___fTSjs",selectBox:"selectBox___omezm",smallType:"smallType___NU4X3",evaluating:"evaluating___YaR_r",evaluatingLabel:"evaluatingLabel___Cy_Vk",mask:"mask___ewIvw",evaluatingS1:"evaluatingS1___oKt4O",serviceSettingWrap:"serviceSettingWrap___Haz9b",serviceBox:"serviceBox___Oc9DS",serviceSetLeft:"serviceSetLeft___ek9V_",serviceSetTip:"serviceSetTip___t8Vpy",btns:"btns___E8bN3",otherPractice:"otherPractice___qlpPQ",box:"box___TdGJn",popover:"popover___s3ipd",serverConfig:"serverConfig___tirr2",viewRecommendConfig:"viewRecommendConfig___vFIgu"},ca=Pe(85057),Dr=Pe(6021),Bl=Object.defineProperty,ku=Object.defineProperties,xs=Object.getOwnPropertyDescriptors,hu=Object.getOwnPropertySymbols,ic=Object.prototype.hasOwnProperty,Ms=Object.prototype.propertyIsEnumerable,Tl=(tt,st,ot)=>st in tt?Bl(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Gl=(tt,st)=>{for(var ot in st||(st={}))ic.call(st,ot)&&Tl(tt,ot,st[ot]);if(hu)for(var ot of hu(st))Ms.call(st,ot)&&Tl(tt,ot,st[ot]);return tt},Yu=(tt,st)=>ku(tt,xs(st)),ed=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const Jd=Sr.default.Option,Qh=({practiceSetting:tt,dispatch:st,shixunsDetail:ot,globalSetting:wn,user:wi})=>{var Yi,dr,Ei,Ln;const[bi,Yr]=(0,ue.useState)(null),[wo,Nr]=(0,ue.useState)([]),[$r,To]=(0,ue.useState)(!0),[xo,po]=(0,ue.useState)({}),[ur,ma]=(0,ue.useState)([]),[Vo,mo]=(0,ue.useState)(),[Fo,Pr]=(0,ue.useState)(),[gr,Mo]=(0,ue.useState)([]),[Ur,Do]=(0,ue.useState)({}),yo=(0,ue.useRef)(null),da=(0,ue.useRef)(!0),xa=(0,ue.useRef)({activeId:null,selectId:null,serviceConfigList:null,evaluateScript:null,evaluationScript:null}),Qn=(0,ue.useRef)(null),[Co,Xo]=(0,ue.useState)(!1),[Qo,qo]=(0,ue.useState)(!1),[ms,Cr]=(0,ue.useState)(!1),[Jo,Ha]=(0,ue.useState)({}),[ls,hs]=(0,ue.useState)({}),[Za,pr]=(0,ue.useState)(!0),[Ho,Wa]=(0,ue.useState)(!1),[Yo,ts]=(0,ue.useState)(""),[fs,al]=(0,ue.useState)(""),{id:Xs,is_published:Os}=tt,{frequence_image:eo=[],environments:qa=[],choice_small_type:sl=[],other_image:Kl=[]}=Ur,{name:La,description:jo,authorization:ia,small_type:Yl=[]}=xo;(0,ue.useEffect)(()=>{bi!==null&&(fa(),yo.current&&(yo.current.scrollTop=0))},[bi]),(0,ue.useEffect)(()=>{Xs&&tc()},[Xs]),(0,ue.useEffect)(()=>{if(bi!==null)return Ru(),()=>{clearTimeout(Qn.current)}},[bi,wo,ur,Vo,Fo]);const Ru=()=>{clearTimeout(Qn.current),Qn.current=setTimeout(()=>{!(0,Xn.isEqual)(xa.current.activeId,bi)||!(0,Xn.isEqual)(xa.current.selectId,wo)||!(0,Xn.isEqual)(xa.current.serviceConfigList,ur)||!(0,Xn.isEqual)(xa.current.evaluateScript,Vo)||!(0,Xn.isEqual)(xa.current.evaluationScript,Fo)?st({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):st({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},500)},tc=()=>ed(void 0,null,function*(){var mr,vs,Aa;To(!0);const qs=yield(0,wt.ZP)(`/api/shixuns/${Xs}/edit_environment_info.json`,{method:"get"});qs.status===0&&(Do(Gl({},qs.data)),To(!1),(mr=qs==null?void 0:qs.data)!=null&&mr.id?(xa.current.activeId=(vs=qs==null?void 0:qs.data)==null?void 0:vs.id,Yr((Aa=qs==null?void 0:qs.data)==null?void 0:Aa.id)):Yr(null))}),fa=()=>ed(void 0,null,function*(){var mr,vs,Aa,qs,Zu,Us,ru,gd,Vd,of;pr(!0);const bu=yield(0,wt.ZP)(`/api/shixuns/${Xs}/edit_environment_info.json`,{method:"get",params:{mirror_repository_id:bi}});po(bu.data),xa.current.selectId=(mr=bu.data)==null?void 0:mr.choice_small_type,Nr((vs=bu.data)==null?void 0:vs.choice_small_type),xa.current.serviceConfigList=(Aa=bu.data)==null?void 0:Aa.shixun_service_configs,ma((qs=bu.data)==null?void 0:qs.shixun_service_configs),xa.current.evaluateScript=bu.data.evaluate_script,mo(bu.data.evaluate_script),xa.current.evaluationScript=bu.data.choice_standard_scripts,Pr(bu.data.choice_standard_scripts),Mo(bu.data.standard_scripts),Wa((Zu=bu==null?void 0:bu.data)==null?void 0:Zu.is_jupyter_lab_private_cloud),ts(((Us=bu==null?void 0:bu.data)==null?void 0:Us.jupyter_lab_private_cloud_id)||((Vd=(gd=(ru=bu==null?void 0:bu.data)==null?void 0:ru.jupyter_lab_private_clouds)==null?void 0:gd[0])==null?void 0:Vd.id)),al((of=bu==null?void 0:bu.data)==null?void 0:of.jupyter_lab_private_instance_id),pr(!1)}),Ua=()=>{var mr;const vs=()=>{pt.history.push(`/shixuns/${Xs}/challenges`),st({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(mr=tt==null?void 0:tt.sideBar)!=null&&mr.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{vs()}}):vs()},Po=(mr=!1)=>ed(void 0,null,function*(){if((0,Le.gy)(st,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883"))return;let vs={sub_type:wo,main_type:bi,shixun:{mirror_script_id:Fo,is_jupyter_lab_private_cloud:!1},shixun_info:{evaluate_script:Vo},shixun_service_configs:ur.map(qs=>({mirror_repository_id:qs.mirror_repository_id,cpu_limit:qs.cpu_limit,lower_cpu_limit:qs.lower_cpu_limit,memory_limit:qs.memory_limit,request_limit:qs.request_limit,resource_limit:qs.resource_limit}))};if(Ho){if(!fs){bt.ZP.warning("\u8BF7\u9009\u62E9\u5B9E\u4F8B");return}vs.shixun=Yu(Gl({},vs.shixun),{is_jupyter_lab_private_cloud:!0,jupyter_lab_private_cloud_id:Yo,jupyter_lab_private_instance_id:fs})}(yield(0,wt.ZP)(`/api/shixuns/${Xs}`,{method:"put",body:vs})).status===0&&(bt.ZP.success("\u7F16\u8F91\u6210\u529F"),xa.current={activeId:bi,selectId:wo,serviceConfigList:ur,evaluateScript:Vo,evaluationScript:Fo},st({type:"practiceSetting/getCommonData",payload:{id:Xs}}),st({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}))}),Wr=Yl.filter(mr=>wo.includes(mr.id)),$o=()=>{Ua()},Ka=(mr,vs,Aa)=>{ma(qs=>qs.map((Zu,Us)=>Us===Aa?Yu(Gl({},Zu),{[vs]:mr}):Zu))},Qs=()=>{(0,Le.gy)(st,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")||st({type:"shixunsDetail/setActionTabs",payload:{key:"Settings-UseCustomScript",params:{id:Xs}}})},Sc=mr=>ed(void 0,null,function*(){const vs=yield st({type:"shixunsDetail/getScriptContent",payload:{id:Xs,script_id:mr}});vs&&mo(vs.content)}),Xl=mr=>{Ve.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ue.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",ue.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>ed(void 0,null,function*(){yield Sc(mr),Ve.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:ue.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")})})})},sc=(mr,vs)=>{const Aa=ur[0]?[ur[0]]:[];vs.forEach(qs=>{const Zu=ur.find(Us=>Us.mirror_repository_id===Number(qs.key));if(Zu)Aa.push(Zu);else{const Us=Yl.find(ru=>ru.id===Number(qs.key));if(Us.mirror_name){const ru={cpu_limit:1,lower_cpu_limit:.1,memory_limit:1,mirror_repository_id:Number(qs.key),name:Us.mirror_name,request_limit:10};Aa.push(ru)}}}),ma(Aa),Nr(mr)},Jl=mr=>{Ka(String(mr==null?void 0:mr.cpu),"cpu_limit",mr.index),Ka(String(mr==null?void 0:mr.memory),"memory_limit",mr.index),Xo(!1)},nd=mr=>{Ka(String(mr==null?void 0:mr.gpu_limit),"gpu_limit",mr.index),Ka(String(mr==null?void 0:mr.gpu_memory_limit),"gpu_memory_limit",mr.index),qo(!1)};return ue.createElement(Oo.Z,{loading:Za,active:!0},ue.createElement("div",{className:so.wrap},ue.createElement("div",{className:so.head},[{key:!1,name:"\u901A\u7528\u4E91"},{key:!0,name:"\u4E13\u6709\u4E91"}].map(mr=>ue.createElement("div",{key:mr.name,className:Ho===mr.key?so.active:"",onClick:()=>Wa(mr.key)},mr.name))),ue.createElement("div",{className:so.practice,style:{display:Ho===!1?"flex":"none"}},ue.createElement(Jr.Z,{loading:$r,skin:"night",className:so.left,dispatch:st,value:bi,data:qa,otherData:Kl,tags:eo,onChange:mr=>Yr(mr),onSearchWord:()=>{}}),ue.createElement("div",{className:so.right},ue.createElement("header",null,ue.createElement("div",{className:so.title},"\u5B9E\u9A8C\u73AF\u5883:\xA0",bi===null?"\u2014 \u2014":La)),ue.createElement("div",{className:so.content,ref:yo},bi===null&&ue.createElement(Sn.Z,{image:Ti,description:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883"}),bi!==null&&ue.createElement("div",{className:so.des},ue.createElement("div",{className:so.mainBody},ue.createElement(mt.Z,{value:jo})),ue.createElement("div",{className:so.title},"\u9644\u5E26\u73AF\u5883"),ue.createElement("div",{className:so.selectBox},ue.createElement(Sr.default,{onChange:(mr,vs)=>sc(mr,vs),getPopupContainer:mr=>mr.parentNode,mode:"multiple",bordered:!1,value:wo,optionFilterProp:"children",placeholder:"\u8BF7\u9009\u62E9\u9644\u5E26\u73AF\u5883",style:{width:400},maxTagCount:6},Yl.map((mr,vs)=>ue.createElement(Jd,{key:mr.id,value:mr.id},mr.type_name))),ue.createElement("div",{className:so.smallType},Wr.map(mr=>mr.description?ue.createElement("span",{key:mr.id},mr.description):null))),!((Yi=ot==null?void 0:ot.detail)!=null&&Yi.is_jupyter_lab)&&ue.createElement(ue.Fragment,null,ue.createElement("div",{className:so.title},"\u8BC4\u6D4B\u811A\u672C"),ue.createElement("div",{className:so.evaluating},ue.createElement("div",{className:so.evaluatingLabel},Os&&ue.createElement("div",{onClick:()=>{(0,Le.gy)(st,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")},className:so.mask}),ue.createElement(Sr.default,{style:{width:400},bordered:!1,getPopupContainer:mr=>mr.parentNode,value:Fo,placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C",onChange:mr=>{Xl(mr),Pr(mr)}},(gr||[]).map((mr,vs)=>ue.createElement(Jd,{value:parseInt(mr.id),name:mr.scptname,key:vs},mr.scptname))),ue.createElement("span",{className:so.evaluatingS1,onClick:Qs},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u811A\u672C"),ue.createElement(Xt.Z,{overlayClassName:so.popover,placement:"bottomLeft",content:ue.createElement("p",{className:"font12"},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u6A21\u677F\uFF0C\u5E73\u53F0\u65E0\u6CD5\u81EA\u52A8\u66F4\u65B0\u811A\u672C\uFF0C\u8BF7\u5728\u5173\u5361\u521B\u5EFA\u5B8C\u540E\u624B\u52A8\u66F4\u65B0\u811A\u672C\u4E2D\u7684\u5FC5\u586B\u53C2",ue.createElement("br",null),"\u6570\u548C\u4EE5\u4E0B2\u4E2A\u6570\u7EC4\u5143\u7D20\uFF1A",ue.createElement("br",null),"challengeProgramNames",ue.createElement("br",null),"sourceClassNames",ue.createElement("br",null),ue.createElement("br",null),"\u793A\u4F8B\uFF1A\u67092\u4E2A\u5173\u5361\u7684\u5B9E\u8BAD",ue.createElement("br",null),ue.createElement("br",null),"\u5404\u5173\u5361\u7684\u5F85\u7F16\u8BD1\u6587\u4EF6\u4E3A\uFF1A",ue.createElement("br",null),"src/step1/HelloWorld.java",ue.createElement("br",null),"src/step2/Other.java",ue.createElement("br",null),ue.createElement("br",null),"\u5404\u5173\u5361\u7684\u7F16\u8BD1\u540E\u751F\u6210\u7684\u6267\u884C\u6587\u4EF6\u4E3A\uFF1A",ue.createElement("br",null),"step1.HelloWorld",ue.createElement("br",null),"step2.Other",ue.createElement("br",null),ue.createElement("br",null),"\u5219\u6570\u7EC4\u5143\u7D20\u66F4\u65B0\u5982\u4E0B\uFF1A",ue.createElement("br",null),'ff challengeProgramNames=("src/step1/',ue.createElement("br",null),'HelloWorld.java" "src/step2/Other.java")',ue.createElement("br",null),'sourceClassNames=("step1.HelloWorld',ue.createElement("br",null),'" "step2.Other")',ue.createElement("br",null),ue.createElement("br",null),"\u5176\u5B83\u53C2\u6570\u53EF\u6309\u5B9E\u9645\u9700\u6C42\u5B9A\u5236"),trigger:"click"},ue.createElement("span",{style:{marginTop:"2px"},className:"ml10 current font14"},ue.createElement(ao.Z,null)))),ue.createElement(ui.ZP,{width:"90%",height:450,style:{border:"1px solid #ccc",background:"#f5f5f5",marginTop:"20px"},language:"shell",theme:"vs-light",value:Vo,onChange:mr=>{if(da.current){da.current=!1;return}mo(mr),(0,Le.gy)(st,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")&&setTimeout(()=>{da.current=!0,mo(xa.current.evaluateScript)},200)}}))),((dr=ot.detail)==null?void 0:dr.identity)<3&&!!ur.length&&ue.createElement(ue.Fragment,null,ue.createElement("div",{className:so.title},"\u8D44\u6E90\u914D\u7F6E"),ue.createElement("div",{className:so.serviceSettingWrap},ur==null?void 0:ur.map((mr,vs)=>{var Aa,qs,Zu;return ue.createElement("div",{key:vs,className:"mb30"},ue.createElement("div",{className:"mb20"},ue.createElement("span",{className:"font16"},mr.name)),ue.createElement("div",{style:{color:"#333",marginBottom:4}},"CPU\u548C\u5185\u5B58"),ue.createElement(dt.Z,{align:"middle"},ue.createElement(dt.Z,{align:"middle",wrap:!1},ue.createElement("div",{className:so.serverConfig,style:Os?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{},onClick:()=>{Os||(Ha({index:vs,cpu:mr==null?void 0:mr.cpu_limit,memory:mr==null?void 0:mr.memory_limit}),Xo(!0))}},ue.createElement("div",null,ue.createElement("span",null,mr==null?void 0:mr.cpu_limit,"\u6838")," ",ue.createElement("span",null,mr==null?void 0:mr.memory_limit,"GB")),ue.createElement("i",{className:"iconfont icon-bianji21",style:Os?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{}}))),ue.createElement(dt.Z,{align:"middle",wrap:!1},ue.createElement("div",{className:so.viewRecommendConfig,onClick:()=>Cr(!0)},"\u67E5\u770B\u63A8\u8350\u914D\u7F6E"))),(((Zu=(Aa=wn==null?void 0:wn.setting)==null?void 0:Aa.big_model_users)==null?void 0:Zu.includes((qs=wi==null?void 0:wi.userInfo)==null?void 0:qs.login))||(0,Zr.fn)())&&ue.createElement(ue.Fragment,null,ue.createElement("div",{style:{color:"#333",marginBottom:4,marginTop:15}},"GPU\u548C\u663E\u5B58"),ue.createElement(dt.Z,{align:"middle"},ue.createElement(dt.Z,{align:"middle",wrap:!1},ue.createElement("div",{className:so.serverConfig,style:Os?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{},onClick:()=>{Os||(hs({index:vs,gpu_limit:(mr==null?void 0:mr.gpu_limit)||0,gpu_memory_limit:(mr==null?void 0:mr.gpu_memory_limit)||0}),qo(!0))}},!!(mr!=null&&mr.gpu_limit)&&ue.createElement(ue.Fragment,null,ue.createElement("div",null,ue.createElement("span",null,"\u663E\u5361",mr==null?void 0:mr.gpu_limit,"\u4E2A")," ",ue.createElement("span",null,"\u663E\u5B58",mr==null?void 0:mr.gpu_memory_limit,"GB")),ue.createElement("i",{className:"iconfont icon-bianji21",style:Os?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{}})),!(mr!=null&&mr.gpu_limit)&&ue.createElement(ue.Fragment,null,ue.createElement("div",null,"\u672A\u914D\u7F6EGPU"),ue.createElement("i",{className:"iconfont icon-bianji21",style:Os?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{}})))))),ue.createElement("div",{className:so.serviceBox},ue.createElement("div",{className:so.serviceSetLeft},"\u6587\u4EF6\u5927\u5C0F\u9650\u5236"),ue.createElement(ke.default,{value:mr.resource_limit,style:{width:400,height:50},disabled:Os,maxLength:5,onChange:Us=>{const{value:ru}=Us.target,gd=/^\d*(\.\d*)?$/;ru.match(gd)&&Ka(Us.target.value,"resource_limit",vs)},addonAfter:"M"}),ue.createElement("label",{className:so.serviceSetTip},"File size limit\u53C2\u6570\uFF0C\u8868\u793A\u5355\u4E2A\u6587\u4EF6\u4E0A\u4F20\u7684\u5927\u5C0F\u9650\u5236")))}))))),ue.createElement("div",{className:so.btns},ue.createElement(Me.ZP,{size:"middle",style:{marginRight:20},onClick:$o},"\u53D6\u6D88"),ue.createElement(Me.ZP,{size:"middle",type:"primary",disabled:bi===null,onClick:()=>Po()},"\u4FDD\u5B58"))),ue.createElement(Lo.Z,null),ue.createElement(wr,{onFinish:mr=>mo(mr)}),ue.createElement(Nn.Z,null),ue.createElement(ys.Z,{visible:Co,onOk:mr=>Jl(mr),onCancel:()=>Xo(!1),info:Jo}),ue.createElement(bs.Z,{visible:Qo,onOk:mr=>nd(mr),onCancel:()=>qo(!1),info:ls}),ue.createElement(_o.Z,{identifier:Xs,visible:ms,onCancel:()=>Cr(!1),info:null,isJupyter:!0})),ue.createElement("div",{className:so.otherPractice,style:{display:Ho===!0?"flex":"none"}},ue.createElement("div",{className:so.box},ue.createElement(ca.qp,{title:"",titleWidth:0,dataSource:(xo==null?void 0:xo.jupyter_lab_private_clouds)||[],value:Yo,style:{marginLeft:-20},onChange:mr=>ts(mr)}),ue.createElement(xu.default,{rowSelection:{columnWidth:120,type:"radio",onChange:mr=>{al(mr[0])},selectedRowKeys:[fs]},style:{marginTop:13},rowKey:"id",columns:[{title:"\u540D\u79F0",dataIndex:"name"},{title:"\u63CF\u8FF0",dataIndex:"des"}],dataSource:((Ln=(Ei=xo==null?void 0:xo.jupyter_lab_private_clouds)==null?void 0:Ei.find(mr=>mr.id===Yo))==null?void 0:Ln.image)||[],pagination:!1})),ue.createElement("div",{className:so.btns},ue.createElement(Me.ZP,{size:"middle",style:{marginRight:20},onClick:$o},"\u53D6\u6D88"),ue.createElement(Dr.Z,{size:"middle",type:"primary",disabled:bi===null,onClick:Po},"\u4FDD\u5B58")))))};var Th=(0,pt.connect)(({practiceSetting:tt,globalSetting:st,shixunsDetail:ot,user:wn})=>({practiceSetting:tt,globalSetting:st,shixunsDetail:ot,user:wn}))(Qh);const Id=({shixunsDetail:tt})=>{var st,ot,wn,wi;const[Yi,dr]=(0,ue.useState)(!0);return(0,ue.useEffect)(()=>{var Ei;typeof((Ei=tt==null?void 0:tt.detail)==null?void 0:Ei.is_jupyter_lab)=="boolean"&&Yi&&dr(!1)},[(st=tt==null?void 0:tt.detail)==null?void 0:st.is_jupyter_lab,Yi]),console.log((ot=tt==null?void 0:tt.detail)==null?void 0:ot.is_jupyter_lab,Yi),ue.createElement(Oo.Z,{loading:Yi,active:!0},((wn=tt==null?void 0:tt.detail)==null?void 0:wn.is_jupyter_lab)===!1&&ue.createElement(Su,null),((wi=tt==null?void 0:tt.detail)==null?void 0:wi.is_jupyter_lab)===!0&&ue.createElement(Th,null))};var Ol=(0,pt.connect)(({shixunsDetail:tt})=>({shixunsDetail:tt}))(Id),rc=Pe(56102),Il={flex_box_center:"flex_box_center___l5eTc",flex_space_between:"flex_space_between___k0OR7",flex_box_vertical_center:"flex_box_vertical_center___OKlIC",flex_box_center_end:"flex_box_center_end___hN9A6",flex_box_column:"flex_box_column___ijTq_",dataset:"dataset___dSWAV",header:"header___BzxI4",title:"title___cPEyN",dataPath:"dataPath___wJ6mR",pathTitle:"pathTitle___TOS2Z",btns:"btns___jGE8o",content:"content___s4ep8",customTable:"customTable___OG3_9",row:"row___ONd7r",empty:"empty___CgtTE",path:"path___Cg5rX",text:"text___SCLRV",actionsBtns:"actionsBtns___L5tdC",customModal:"customModal___qVeG3",shareModal:"shareModal___HedYo",fileName:"fileName___x56US",renameModal:"renameModal___SmCAd",errorDes:"errorDes___VLR_5",uploadFileModal:"uploadFileModal___pYYDB",selectBtn:"selectBtn___m_hrR",leftButton:"leftButton___F0fvG",rightButton:"rightButton___oCK81",centerText:"centerText___jpgrt"},Dc={wrap:"wrap___EmsVa",colorBlue:"colorBlue___XqtfP",repeatedName:"repeatedName___yMQsm"},Pd=Pe(81939),Zl=Object.defineProperty,qh=Object.defineProperties,xf=Object.getOwnPropertyDescriptors,wd=Object.getOwnPropertySymbols,hh=Object.prototype.hasOwnProperty,Vu=Object.prototype.propertyIsEnumerable,_u=(tt,st,ot)=>st in tt?Zl(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,ul=(tt,st)=>{for(var ot in st||(st={}))hh.call(st,ot)&&_u(tt,ot,st[ot]);if(wd)for(var ot of wd(st))Vu.call(st,ot)&&_u(tt,ot,st[ot]);return tt},ou=(tt,st)=>qh(tt,xf(st)),Oh=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const{Dragger:Qd}=ut.default;var $h=({dispatch:tt,id:st,onClose:ot,onOK:wn,visible:wi,wrapClassName:Yi,local:dr,containerId:Ei,rootIdentifier:Ln})=>{var bi;const[Yr,wo]=(0,ue.useState)({}),[Nr,$r]=(0,ue.useState)([]),[To,xo]=(0,ue.useState)([]),[po,ur]=(0,ue.useState)(0),[ma,Vo]=(0,ue.useState)(!1),[mo,Fo]=(0,ue.useState)(!1),[Pr]=Ae.default.useForm(),[gr,Mo]=(0,ue.useState)([]),Ur=(0,ue.useRef)([]);(0,ue.useEffect)(()=>{wi&&(Pr.resetFields(),Mo([]),xo([]),$r([]),ur(0),Fo(!1),Vo(!1))},[wi]);const Do=pr=>{var Ho,Wa,Yo;if(pr.file.status==="done"||pr.file.status==="uploading"){if(Mo(pr.fileList),!pr.file.response)return;if((Ho=pr.file.response)!=null&&Ho.id){bt.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01");return}Mo(gr.filter(ts=>ts.uid!==pr.file.uid)),(Wa=pr.file.response)!=null&&Wa.message&&bt.ZP.info((Yo=pr.file.response)==null?void 0:Yo.message)}},yo=pr=>Oh(void 0,null,function*(){var Ho;if(!po){const Yo=gr.filter(ts=>ts.uid!==pr.uid);Mo(Yo),Ur.current=[...Yo],$r(Nr.filter(ts=>ts!==pr.name)),bt.ZP.info("\u5220\u9664\u6210\u529F"),Yo.length||(Pr.setFieldsValue({file:void 0}),Pr.validateFields());return}if(!pr.response){bt.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield(0,wt.ZP)(`/api/shixuns/${st}/destroy_data_sets.json`,{method:"Delete",body:{id:[(Ho=pr==null?void 0:pr.response)==null?void 0:Ho.id]}})).status===0&&(Mo(gr.filter(Yo=>Yo.uid!==pr.uid)),bt.ZP.info("\u5220\u9664\u6210\u529F"))}),da=pr=>{if(gr!=null&&gr.some(Wa=>Wa.name===pr.name))return bt.ZP.info(`${pr.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(pr.size/1024/1024>500)return bt.ZP.info("\u6587\u4EF6\u8D85\u8FC7500M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;const Ho={name:pr.name,uid:pr.uid,file:pr,percent:0};return gr.push(Ho),Ur.current=[...gr],Mo([...gr]),!1},xa={height:300,multiple:!0,disabled:po>0,withCredentials:!0,fileList:gr,action:`${ei.Z.API_SERVER}/api/attachments.json`,onChange:Do,onRemove:yo,beforeUpload:da},Qn=(pr,Ho,Wa,Yo,ts)=>{const fs=new FormData;Object.keys(pr).forEach(Xs=>{fs.append(Xs,pr[Xs])});const al=new window.XMLHttpRequest;return al.withCredentials=!0,al.addEventListener("load",function(Xs){var Os;Wa(JSON.parse((Os=Xs==null?void 0:Xs.target)==null?void 0:Os.response))},!1),al.addEventListener("error",function(Xs){ts&&ts(Xs)},!1),al.upload.onprogress=Xs=>{Yo&&Yo(Xs)},al.open("POST",Ho),al.send(fs),al},Co=(pr,Ho)=>{if(pr.lengthComputable){const Wa=Math.floor(pr.loaded/pr.total*100),Yo=ou(ul({},Ho),{percent:Wa,status:Wa===100?"done":"uploading"});console.log(Ur.current,333),Ur.current=Ur.current.map(ts=>ts.uid===Ho.uid?Yo:ts),Mo(Ur.current)}},Xo=(pr,Ho)=>{const Wa=ou(ul({},Ho),{status:"error"});bt.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),Ur.current=Ur.current.map(Yo=>Yo.uid===Ho.uid?Wa:Yo),Ur.current.every(Yo=>Yo.status==="done"||Yo.status==="error")&&(Fo(!1),ur(2)),Mo(Ur.current)},Qo=(pr,Ho)=>{let Wa=ou(ul({},Ho),{status:"done"});if(pr.status===0||(Wa=ou(ul({},Ho),{status:"error"}),bt.ZP.error("\u4E0A\u4F20\u5931\u8D25!")),Ur.current=Ur.current.map(Yo=>Yo.uid===Ho.uid?Wa:Yo),Ur.current.every(Yo=>Yo.status==="done")){bt.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),Ha(!0);return}Ur.current.every(Yo=>Yo.status==="done"||Yo.status==="error")&&(Fo(!1),ur(2)),Mo(Ur.current)},qo=()=>{let pr=!0;return window.navigator.onLine==!0?pr=!0:pr=!1,pr},ms=pr=>Oh(void 0,null,function*(){if(Fo(!0),po===3){ur(2);return}if(po===2||po===1){Cr();return}const{commitMessage:Ho="",fileOss:Wa=[]}=pr||{},ts=(dr?gr:Wa).map(al=>al.name);if(ts.filter(al=>al.indexOf("\u3001")!=-1||al.indexOf(" ")!=-1).length>0){bt.ZP.info("\u6570\u636E\u96C6\u540D\u79F0\u7981\u6B62\u6709\u7A7A\u683C\u4E0E\u3001"),Fo(!1);return}const fs=yield(0,wt.ZP)(`/api/shixuns/${st}/check_data_sets`,{method:"post",body:{files_name:ts}});if(fs.status===-3){$r(fs==null?void 0:fs.exist_files),Fo(!1);return}if(JSON.stringify(fs)==="{}"){Fo(!1),bt.ZP.error("\u7F51\u7EDC\u5DF2\u65AD\u5F00,\u8BF7\u7A0D\u540E\u91CD\u8BD5!");return}fs.status===0&&(gr.forEach(al=>{const Xs=Qn({file:al.file,description:Ho},`${ei.Z.API_SERVER}/api/shixuns/${st}/upload_data_sets.json`,Os=>Qo(Os,al),Os=>Co(Os,al),Os=>Xo(Os,al));To.push(Xs)}),ur(1))}),Cr=()=>{const{commitMessage:pr=""}=ul({},Pr.getFieldsValue())||{},Ho=Ur.current.filter(Yo=>Yo.status==="error"),Wa=Ur.current.map(Yo=>ou(ul({},Yo),{status:Yo.status==="error"?"uploading":Yo.status}));Mo(Wa),Ho.forEach(Yo=>{const ts=Qn({file:Yo.file,description:pr},`${ei.Z.API_SERVER}/api/shixuns/${st}/upload_data_sets.json`,fs=>Qo(fs,Yo),fs=>Co(fs,Yo),fs=>Xo(fs,Yo));To.push(ts)})},Jo=pr=>{var Ho,Wa;if(console.log(pr,"changedValues"),"fileOss"in pr){if(pr!=null&&pr.fileOss.every(Yo=>Yo.status==="done")&&((Ho=pr==null?void 0:pr.fileOss)!=null&&Ho.length)){bt.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),Ha(!0);return}if(pr!=null&&pr.fileOss.every(Yo=>Yo.status==="done"||Yo.status==="error")&&((Wa=pr==null?void 0:pr.fileOss)!=null&&Wa.length)){ur(3),Fo(!1);return}$r(Nr.filter(Yo=>{var ts;return(ts=pr==null?void 0:pr.fileOss)==null?void 0:ts.some(fs=>fs.name===Yo)}))}wo(ul({},Pr.getFieldsValue()))},Ha=pr=>{pr||(Vo(!0),To.forEach(Ho=>{Ho.abort()})),wn(),ot()},ls=()=>{const{fileOss:pr=[]}=ul({},Pr.getFieldsValue())||{},Ho=gr==null?void 0:gr.every(Yo=>Yo.status==="done"),Wa=pr==null?void 0:pr.every(Yo=>Yo.status==="done");if(!Ho||!Wa){Ve.default.confirm({title:"\u5173\u95ED\u5F39\u6846\u63D0\u793A",content:"\u6709\u6587\u4EF6\u672A\u4E0A\u4F20,\u662F\u5426\u786E\u5B9A\u79BB\u5F00\uFF1F",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Ha()}});return}Ha()},hs=()=>ue.createElement(ue.Fragment,null,ue.createElement("div",null,ue.createElement("i",{className:`iconfont icon-shangchuan font50 ${Dc.colorBlue}`})),ue.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",ue.createElement("span",{className:`${Dc.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20"))),Za=pr=>{console.log(pr,444)};return ue.createElement(Ve.default,{open:wi,onOk:()=>{(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0A\u4F20\u6587\u4EF6"]),Pr.submit()},centered:!0,okText:po===0?"\u786E\u5B9A":po===1?"\u4E0A\u4F20\u4E2D":"\u91CD\u65B0\u4E0A\u4F20",okButtonProps:{loading:mo},onCancel:ls,width:"1000px",title:"\u4E0A\u4F20\u6587\u4EF6"},ue.createElement("div",{className:Dc.wrap},ue.createElement(Ae.default,{className:"mt10",form:Pr,scrollToFirstError:!0,layout:"vertical",onFinish:ms,onValuesChange:Jo},dr?ue.createElement(Ae.default.Item,{label:ue.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",ue.createElement("span",{className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC7500M)")),name:"file",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},ue.createElement(Qd,ul({},xa)," ",hs())):ue.createElement(Ae.default.Item,{label:ue.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",ue.createElement("span",{className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC7100GB)")),name:"fileOss",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},ue.createElement(Pd.ZP,{identifier:Ln,cancelUpload:ma,container_type:"Shixun",container_id:Ei,uploading:po<3?po:0,disabled:po>0,height:300,maxSize:100*1024*1024*1024,description:Yr.commitMessage||"",text:hs(),onComplete:Za,realFileName:!0})),!!Nr.length&&ue.createElement("span",{className:Dc.repeatedName},Nr.join("\u3001"),"\u5DF2\u5B58\u5728,\u8BF7\u5220\u9664\u540E\u518D\u4E0A\u4F20"),ue.createElement(Ae.default.Item,{name:"commitMessage",label:"\u5907\u6CE8:",rules:[{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ue.createElement(ke.default,{bordered:!1,disabled:po>0,maxLength:100,suffix:`${((bi=Yr.commitMessage)==null?void 0:bi.length)||0}/100`,placeholder:"\u8BF7\u586B\u5199\u5907\u6CE8\u4FE1\u606F"})))))},qd=Pe(79219),Rd=Pe(31708),qr=Pe(19683),Ih=Object.defineProperty,Bt=Object.defineProperties,li=Object.getOwnPropertyDescriptors,ef=Object.getOwnPropertySymbols,Rh=Object.prototype.hasOwnProperty,cd=Object.prototype.propertyIsEnumerable,hc=(tt,st,ot)=>st in tt?Ih(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Au=(tt,st)=>{for(var ot in st||(st={}))Rh.call(st,ot)&&hc(tt,ot,st[ot]);if(ef)for(var ot of ef(st))cd.call(st,ot)&&hc(tt,ot,st[ot]);return tt},Gc=(tt,st)=>Bt(tt,li(st)),tf=(tt,st)=>{var ot={};for(var wn in tt)Rh.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&ef)for(var wn of ef(tt))st.indexOf(wn)<0&&cd.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},el=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const{Fragment:Uo}=ue,{TabPane:au}=tn.default,Xu=tt=>{var st=tt,{globalSetting:ot,dispatch:wn,practiceSetting:wi,shixunsDetail:Yi,user:dr}=st,Ei=tf(st,["globalSetting","dispatch","practiceSetting","shixunsDetail","user"]),Ln,bi,Yr,wo,Nr,$r;const{id:To}=wi,[xo,po]=(0,ue.useState)([]),[ur,ma]=(0,ue.useState)({}),[Vo,mo]=(0,ue.useState)([]),[Fo,Pr]=(0,ue.useState)(!1),[gr,Mo]=(0,ue.useState)(!0),[Ur,Do]=(0,ue.useState)(!1),[yo,da]=(0,ue.useState)(!1),[xa,Qn]=(0,ue.useState)(!1),[Co,Xo]=(0,ue.useState)(!1),[Qo,qo]=(0,ue.useState)("all"),[ms,Cr]=(0,ue.useState)([]),[Jo,Ha]=(0,ue.useState)([]),[ls,hs]=(0,ue.useState)(!1),[Za,pr]=(0,ue.useState)({}),[Ho,Wa]=(0,ue.useState)(!1),[Yo,ts]=(0,ue.useState)([]),[fs,al]=(0,ue.useState)({page:1,limit:10,total:0}),[Xs,Os]=(0,ue.useState)({page:1,limit:10,search:"",order:"mine"});(0,ue.useEffect)(()=>{To&&qa()},[To]);const eo=fa=>{const Ua=Gc(Au({},fs),{page:fa});Ha([]),al(Ua),qa(Ua)},qa=fa=>el(void 0,null,function*(){const Po=fa||{page:1,limit:10,total:0};Pr(!0);const Wr=yield wn({type:"shixunsDetail/getSetData",payload:Gc(Au({},Po),{id:To})});Wr!=null&&Wr.data_sets&&(Pr(!1),po([...Wr.data_sets]),al(Gc(Au({},Po),{total:Wr==null?void 0:Wr.data_sets_count})),Mo(!1),ma(Au({},Wr)))}),sl=()=>ue.createElement("div",{className:Il.empty},ue.createElement("img",{src:qd.x7,width:"258"}),ue.createElement("span",{className:"c-grey-c"},"\u6682\u65E0\u6570\u636E\u96C6\u6587\u4EF6~")),La={selectedRowKeys:Jo,columnWidth:70,onChange:fa=>{console.log("selectedRowKeys changed: ",fa),Ha(fa)}},jo=fa=>{(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]);const Ua=fa?[fa]:Jo;Ve.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u6587\u4EF6\u5417\uFF1F",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>el(void 0,null,function*(){if((yield(0,wt.ZP)(`/api/shixuns/${To}/destroy_data_sets.json`,{method:"Delete",body:{id:Ua}})).status===0){const Wr=Ua.length===xo.length&&fs.page>1?fs.page-1:fs.page;bt.ZP.success("\u5220\u9664\u6210\u529F"),qa(Gc(Au({},fs),{page:Wr})),Ha([])}})})},ia=()=>el(void 0,null,function*(){const{title:fa}=Za;let Ua=null;if(console.log(fa,"title"),fa===""){Ua="\u6587\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A",pr(Gc(Au({},Za),{errorDes:Ua}));return}if(fa.includes(" ")){Ua="\u6587\u4EF6\u540D\u4E0D\u80FD\u6709\u7A7A\u683C",pr(Gc(Au({},Za),{errorDes:Ua}));return}const Po=xo.find(Ka=>Ka.id===(Za==null?void 0:Za.id)).title;if(fa===Po.substring(0,Po.lastIndexOf("."))||fa===Po){Ua="\u6587\u4EF6\u540D\u4E0D\u80FD\u91CD\u540D",pr(Gc(Au({},Za),{errorDes:Ua}));return}const Wr=Po.includes(".")?Po.substring(Po.lastIndexOf("."),Po.length):"";(yield(0,wt.ZP)(`/api/shixuns/${To}/rename_data_sets.json`,{method:"post",body:{id:Za==null?void 0:Za.id,new_file_name:fa+Wr}})).status===0&&(bt.ZP.success("\u91CD\u547D\u540D\u6210\u529F"),qa(fs),Do(!1),pr({}))}),Yl=()=>{const{download_url:fa}=Za;Ru(fa),bt.ZP.success("\u590D\u5236\u6210\u529F"),da(!1),pr({})},Ru=fa=>{const Ua=fa,Po=document.createElement("input");Po.value=Ua,document.body.appendChild(Po),Po.select(),document.execCommand("Copy"),Po.style.display="none"},tc=[{title:"\u6587\u4EF6",dataIndex:"title",key:"title",align:"left",ellipsis:!0,render:fa=>ue.createElement(Ii.Z,{title:fa},ue.createElement("span",null,fa))},{title:"\u6570\u636E\u96C6\u6765\u6E90",dataIndex:"data_set_title",key:"data_set_title",align:"left",ellipsis:!0,render:(fa,Ua)=>Ua!=null&&Ua.data_set_id?ue.createElement(Ii.Z,{title:fa},ue.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{(0,kt.xg)(`/dataset/${Ua==null?void 0:Ua.data_set_id}/detail?tabId=public`)}},fa)):"--"},{title:"\u5907\u6CE8",dataIndex:"description",key:"description",align:"left",ellipsis:!0,render:fa=>ue.createElement(Ii.Z,{title:fa},ue.createElement("span",null,fa||"--"))},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_on",key:"created_on",align:"left",width:180,render:(fa,Ua)=>xr()(Ua.created_on).format("YYYY-MM-DD HH:mm")},{title:"\u6587\u4EF6\u8DEF\u5F84",dataIndex:"file_path",key:"file_path",align:"left",render:(fa,Ua)=>ue.createElement("div",{className:Il.path},ue.createElement(Ii.Z,{title:fa},ue.createElement("span",{className:Il.text},fa)),ue.createElement(rc.CopyToClipboard,{text:fa,onCopy:()=>bt.ZP.success("\u590D\u5236\u6210\u529F")},ue.createElement(Ii.Z,{title:"\u590D\u5236"},ue.createElement("i",{className:"iconfont icon-fuzhi6 ml5"}))))},{title:"\u6700\u540E\u4FEE\u6539\u4EBA",dataIndex:"author",key:"author",align:"left",width:120},{title:"\u6587\u4EF6\u5927\u5C0F",dataIndex:"filesize",key:"filesize",align:"left",width:100},{title:"\u64CD\u4F5C",dataIndex:"operation",key:"operation",align:"left",width:200,render:(fa,Ua)=>ue.createElement("div",{className:Il.actionsBtns},ue.createElement(Ii.Z,{title:"\u91CD\u547D\u540D"},ue.createElement("span",{className:"iconfont icon-zhongmingming",onClick:()=>{var Po;pr((0,Xn.clone)(Gc(Au({},Ua),{title:Ua!=null&&Ua.title.includes(".")?(Po=Ua==null?void 0:Ua.title)==null?void 0:Po.substring(0,Ua.title.lastIndexOf(".")):Ua==null?void 0:Ua.title}))),Do(!0),(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u91CD\u547D\u540D"])}})),ue.createElement(Ii.Z,{title:"\u5206\u4EAB"},ue.createElement("span",{className:"iconfont icon-fenxiang",onClick:()=>{(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5206\u4EAB"]),pr((0,Xn.clone)(Ua)),da(!0)}})),ue.createElement(Ii.Z,{title:"\u4E0B\u8F7D"},ue.createElement("span",{className:"iconfont icon-xiazai3",onClick:()=>{(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0B\u8F7D"]),(0,kt.Nd)(Ua.title,Ua==null?void 0:Ua.download_url)}})),ue.createElement(Ii.Z,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6\u4E2D"},ue.createElement("span",{className:"iconfont icon-tongbushuju",onClick:()=>{(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u540C\u6B65"]),Xo(!0),ts([Ua]),Cr([Ua.id])}})),ue.createElement(Ii.Z,{title:"\u5220\u9664"},ue.createElement("span",{className:"iconfont icon-shanchu8",onClick:()=>{(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]),jo(Ua.id)}})))}];return ue.createElement("div",{className:Il.dataset},ue.createElement("div",{className:Il.header},ue.createElement("div",{className:Il.title},"\u6570\u636E\u96C6(",fs.total,")"),ue.createElement("div",{className:Il.dataPath},ue.createElement("span",{className:Il.pathTitle},"\u6570\u636E\u96C6\u8DEF\u5F84:"),ue.createElement("input",{value:ur==null?void 0:ur.folder_name,disabled:!0}),ue.createElement(rc.CopyToClipboard,{text:ur==null?void 0:ur.folder_name,onCopy:()=>bt.ZP.success("\u590D\u5236\u6210\u529F")},ue.createElement(Ii.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u6570\u636E\u96C6\u8DEF\u5F84"},ue.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"})))),ue.createElement("div",{className:Il.btns},ue.createElement(Me.ZP,{type:"primary",ghost:!0,onClick:()=>jo(),disabled:!Jo.length,style:{width:"60px"}},"\u5220\u9664"),ue.createElement(Me.ZP,{type:"primary",className:"ml10",style:{width:"60px"},ghost:!0,onClick:()=>{Xo(!0),Cr(Jo),ts(xo.filter(fa=>Jo.includes(fa.id)))},disabled:!Jo.length},"\u540C\u6B65"),ue.createElement(So.Z,{className:"ml10",disabled:((Ln=dr==null?void 0:dr.userInfo)==null?void 0:Ln.user_status)===2,dropdownRender:()=>ue.createElement(Eo.default,null,ue.createElement(Eo.default.Item,{key:1,onClick:()=>{hs(!0)}},"\u4E0A\u4F20\u6570\u636E\u96C6"),ue.createElement(Eo.default.Item,{key:2,onClick:()=>{Qn(!0),qo("all")}},"\u9009\u62E9\u6570\u636E\u96C6"))},ue.createElement("span",{className:Il.selectBtn},ue.createElement("span",null,"\u589E\u52A0\u6570\u636E\u96C6"))))),ue.createElement("div",{className:Il.content},ue.createElement(Oo.Z,{loading:gr,active:!0,paragraph:{rows:5}},fs.total?ue.createElement(xu.default,{rowSelection:La,className:Il.customTable,dataSource:xo,bordered:!1,rowKey:fa=>fa.id,rowClassName:Il.row,columns:tc,loading:Fo,pagination:{pageSize:fs.limit,total:fs.total,current:fs.page,onChange:eo,showQuickJumper:!0,hideOnSinglePage:!0,position:["bottomCenter"]}}):sl())),ue.createElement($h,{rootIdentifier:(bi=Yi==null?void 0:Yi.detail)==null?void 0:bi.root_identifier,wrapClassName:Il.uploadFileModal,id:To,containerId:(Yr=Yi==null?void 0:Yi.detail)==null?void 0:Yr.id,local:(wo=ot==null?void 0:ot.setting)==null?void 0:wo.is_local,dispatch:wn,visible:ls,onClose:()=>hs(!1),onOK:qa}),ue.createElement(Ve.default,{title:"\u91CD\u547D\u540D",open:Ur,onOk:ia,centered:!0,wrapClassName:Il.renameModal,onCancel:()=>{Do(!1),pr({})},width:"1000px"},ue.createElement("div",null,ue.createElement("div",{className:Il.fileName},ue.createElement("sup",null,"*"),"\u6587\u4EF6\u540D\xA0:"),ue.createElement(ke.default,{value:Za==null?void 0:Za.title,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u5B57",bordered:!1,onChange:fa=>{pr(Gc(Au({},Za),{title:fa.target.value,errorDes:null}))},maxLength:60,suffix:`${((Nr=Za==null?void 0:Za.title)==null?void 0:Nr.length)||0}/60`}),(Za==null?void 0:Za.errorDes)&&ue.createElement("div",{className:Il.errorDes},Za==null?void 0:Za.errorDes))),ue.createElement(Ve.default,{title:"\u5206\u4EAB\u4E0B\u8F7D\u94FE\u63A5",open:yo,onOk:Yl,centered:!0,wrapClassName:Il.shareModal,onCancel:()=>{da(!1),pr({})},width:"1000px",okText:"\u590D\u5236\u94FE\u63A5"},ue.createElement("div",null,ue.createElement("div",{className:Il.fileName},"\u53D1\u9001\u94FE\u63A5\uFF0C\u522B\u4EBA\u53EF\u4EE5\u901A\u8FC7\u94FE\u63A5\u4E0B\u8F7D\u6587\u4EF6",ue.createElement("span",null,"(\u6709\u6548\u671F\u4E3A3\u5929)")),ue.createElement(ke.default,{bordered:!1,addonBefore:"\u94FE\u63A5",value:Za==null?void 0:Za.download_url}))),ue.createElement(Rd.Z,{setVisible:Qn,visible:xa,recordId:ms,type:Qo,updateData:qa,identifier:($r=Yi.detail)==null?void 0:$r.identifier}),ue.createElement(Ve.default,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6",open:Co,width:400,centered:!0,keyboard:!1,onCancel:()=>Xo(!1),maskClosable:!1,footer:ue.createElement("div",{style:{display:"flex",justifyContent:"center"}},ue.createElement("div",{className:Il.leftButton,onClick:()=>{Wa(!0)}},"\u751F\u6210\u65B0\u7684\u6570\u636E\u96C6"),ue.createElement("div",{className:Il.rightButton,onClick:()=>{Xo(!1),Qn(!0),qo("my")}},"\u53D1\u9001\u5230\u5DF2\u6709\u6570\u636E\u96C6\u4E2D"))},ue.createElement("div",{className:Il.centerText},"\u5C06\u8BE5\u6570\u636E\u96C6\u6587\u4EF6\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6\u4E2D\uFF0C\u8BF7\u9009\u62E9\u540C\u6B65\u65B9\u5F0F\uFF1A")),ue.createElement(qr.Z,{visible:Ho,attachmentInfo:Yo,onClose:()=>Wa(!1),onSuccess:fa=>{Wa(!1),pt.history.push(`/dataset/${fa}/detail?tabId=mine`)}}))};var tl=(0,pt.connect)(({globalSetting:tt,shixunsDetail:st,practiceSetting:ot,user:wn})=>({globalSetting:tt,shixunsDetail:st,user:wn,practiceSetting:ot}))(Xu),Oa=Pe(31797),ml={wrap:"wrap___VIvSS",content:"content___pqoZT",mainPathWrap:"mainPathWrap___v3uSU",colorBlue:"colorBlue___AjQlz"},We=Object.defineProperty,He=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,Gt=(tt,st,ot)=>st in tt?We(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Pn=(tt,st)=>{for(var ot in st||(st={}))qe.call(st,ot)&&Gt(tt,ot,st[ot]);if(He)for(var ot of He(st))It.call(st,ot)&&Gt(tt,ot,st[ot]);return tt},An=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const Un=tt=>tt!=null&&tt.length?tt.filter((st,ot)=>ot!==0).map(st=>st.val).join("").substr(1):"",ti=({shixunsDetail:tt,globalSetting:st,loading:ot,dispatch:wn,fileType:wi,path:Yi,onFinish:dr=()=>{}})=>{const Ei=(0,pt.useParams)(),[Ln,bi]=(0,ue.useState)(""),[Yr,wo]=(0,ue.useState)([]),[Nr,$r]=(0,ue.useState)([]),xo=[yl.OriginalPicturePath,yl.ExpectPicturePath,yl.PicturePath].includes(wi);(0,ue.useEffect)(()=>{tt.actionTabs.key==="EditPracticeSetting-SelectFilePath"&&(bi(Yi||""),po())},[tt.actionTabs.key]);const po=(gr="")=>An(void 0,null,function*(){var Mo;const Ur=yield wn({type:"shixunsDetail/getRepository",payload:{id:Ei.id,path:gr}});if(gr===""&&!((Mo=Ur==null?void 0:Ur.trees)!=null&&Mo.length)&&bt.ZP.warning("\u8BF7\u5148\u53BB\u4EE3\u7801\u4ED3\u5E93\u63D0\u4EA4\u6587\u4EF6"),Ur!=null&&Ur.trees){const Do=Ur.trees.map(yo=>Pn(Pn({},yo),{name:yo.name,val:yo.name}));$r(Do||[])}}),ur=gr=>{const Mo=Un(Yr),Ur=`${Mo&&`${Mo}/`}${gr}`;wi===yl.Path?!(Ln!=null&&Ln.includes(`${Ur}\uFF1B`))&&bi(`${Ln}${Ur}\uFF1B`):wi===yl.ExecPath&&bi(Ur)},ma=gr=>{if(gr.type==="tree"){Yr.length?Yr.push({val:`/${gr.val}`,path:gr.val}):Yr.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${gr.val}`,path:gr.val}),wo(Yr);const Mo=Un(Yr);xo&&bi(Mo),po(Mo)}},Vo=(gr,Mo)=>{const Ur=Yr.filter((yo,da)=>da<=Mo);wo(Ur);const Do=Un(Ur);xo&&bi(Do),po(Do)},mo=()=>An(void 0,null,function*(){dr(Ln),Fo()}),Fo=()=>{bi(""),wo([]),$r([]),wn({type:"shixunsDetail/setActionTabs",payload:{}})},Pr=Un(Yr);return ue.createElement(Ve.default,{centered:!0,title:"\u6587\u4EF6\u8DEF\u5F84",closable:!1,keyboard:!1,open:tt.actionTabs.key==="EditPracticeSetting-SelectFilePath",onOk:mo,onCancel:Fo},ue.createElement("div",{className:ml.wrap},ue.createElement("div",{className:ml.content},ue.createElement("div",{className:ml.mainPathWrap},!!(Yr!=null&&Yr.length)&&Yr.map((gr,Mo)=>ue.createElement("a",{key:Mo,onClick:()=>Vo(gr,Mo)},gr.val))),!!(Nr!=null&&Nr.length)&&Nr.map((gr,Mo)=>gr.type==="tree"?ue.createElement("a",{key:Mo,onClick:()=>ma(gr)},ue.createElement("i",{className:`iconfont icon-wenjianjia ${ml.colorBlue}`}),Pr&&`${Pr}/`,gr.name):ue.createElement("a",{key:Mo,onClick:()=>ur(`${gr.name}`)},ue.createElement("i",{className:`iconfont icon-zuoye ${ml.colorBlue}`}),Pr&&`${Pr}/`,gr.name))),ue.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),ue.createElement(ke.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09",value:Ln,onChange:gr=>bi(gr.target.value)})))};var xi=(0,pt.connect)(({shixunsDetail:tt,loading:st,globalSetting:ot})=>({shixunsDetail:tt,globalSetting:ot,loading:st.models.index}))(ti),$i={wrap:"wrap___AnxZp",fixBtn:"fixBtn___sQhsA"},vi=Pe(9165),Gi=Object.defineProperty,di=Object.getOwnPropertySymbols,hr=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable,ji=(tt,st,ot)=>st in tt?Gi(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,cr=(tt,st)=>{for(var ot in st||(st={}))hr.call(st,ot)&&ji(tt,ot,st[ot]);if(di)for(var ot of di(st))Gn.call(st,ot)&&ji(tt,ot,st[ot]);return tt},lo=(tt,st)=>{var ot={};for(var wn in tt)hr.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&di)for(var wn of di(tt))st.indexOf(wn)<0&&Gn.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},Hr=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const fo=tt=>{var st=tt,{shixunsDetail:ot,globalSetting:wn,user:wi,dispatch:Yi}=st,dr=lo(st,["shixunsDetail","globalSetting","user","dispatch"]),Ei,Ln;const bi=(0,pt.useLocation)(),Yr=(0,ue.useRef)((Ln=(Ei=bi.pathname)==null?void 0:Ei.split("/"))==null?void 0:Ln[2]),[wo]=Ae.default.useForm(),[Nr,$r]=(0,ue.useState)(""),[To,xo]=(0,ue.useState)(!1),[po,ur]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{Yr.current&&ma()},[Yr.current]);const ma=()=>Hr(void 0,null,function*(){xo(!0);const mo=yield(0,wt.ZP)(`/api/shixuns/${Yr.current}/get_standard_answer.json`,{method:"get",params:{from:"edit"}});mo.status===0&&($r((mo==null?void 0:mo.standard_answer)||""),wo.setFieldsValue({hide_answer:mo==null?void 0:mo.hide_answer,disable_copy:mo==null?void 0:mo.disable_copy}),xo(!1))}),Vo=mo=>Hr(void 0,null,function*(){ur(!0),(yield(0,wt.ZP)(`/api/shixuns/${Yr.current}/set_standard_answer.json`,{method:"post",body:cr({},mo)})).status===0&&bt.ZP.success("\u4FDD\u5B58\u6210\u529F"),ur(!1)});return ue.createElement("section",{className:$i.wrap},ue.createElement(Oo.Z,{loading:To},ue.createElement(Ae.default,{form:wo,scrollToFirstError:!0,layout:"vertical",onFinish:Vo},ue.createElement(Ae.default.Item,{name:"hide_answer",valuePropName:"checked"},ue.createElement(Tt.default,null,"\u9690\u85CF\u53C2\u8003\u7B54\u6848\u6A21\u5757")),ue.createElement(Ae.default.Item,{name:"disable_copy",valuePropName:"checked"},ue.createElement(Tt.default,null,"\u7981\u6B62\u590D\u5236\u53C2\u8003\u7B54\u6848")),ue.createElement(Ae.default.Item,{name:"standard_answer",label:"\u53C2\u8003\u7B54\u6848:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u53C2\u8003\u7B54\u6848"}]},ue.createElement(xe.Z,{defaultValue:Nr})),ue.createElement(Ae.default.Item,null,ue.createElement(vi.t,{okText:"\u4FDD\u5B58",loading:po,hasCancelBtn:!1,className:$i.fixBtn,okButtonProps:{htmlType:"submit"}})))))};var vo=(0,pt.connect)(({shixunsDetail:tt,globalSetting:st,user:ot})=>({shixunsDetail:tt,globalSetting:st,user:ot}))(fo),uo=Pe(34604),tr=Pe(61485),Ca=Pe(81833),ra=Pe(36045),Ro=Pe(59301),cs=Object.defineProperty,$a=Object.defineProperties,Ja=Object.getOwnPropertyDescriptors,js=Object.getOwnPropertySymbols,es=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,ss=(tt,st,ot)=>st in tt?cs(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,ks=(tt,st)=>{for(var ot in st||(st={}))es.call(st,ot)&&ss(tt,ot,st[ot]);if(js)for(var ot of js(st))Ga.call(st,ot)&&ss(tt,ot,st[ot]);return tt},_s=(tt,st)=>$a(tt,Ja(st)),ds=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const{Countdown:zs}=Oa.default;var vl=(tt=>(tt[tt.LoadingFail=1]="LoadingFail",tt[tt.Loading=2]="Loading",tt[tt.Finish=3]="Finish",tt))(vl||{}),yl=(tt=>(tt.Path="path",tt.ExecPath="exec_path",tt.OriginalPicturePath="original_picture_path",tt.ExpectPicturePath="expect_picture_path",tt.PicturePath="picture_path",tt))(yl||{});const Nu=({globalSetting:tt,loading:st,dispatch:ot,practiceSetting:wn,shixunsDetail:wi})=>{var Yi,dr;const[Ei,Ln]=(0,ue.useState)(),[bi,Yr]=(0,ue.useState)(),wo=(0,ue.useRef)(),[Nr,$r]=(0,ue.useState)(),[To,xo]=(0,ue.useState)(),[po,ur]=(0,ue.useState)(!0),[ma,Vo]=(0,ue.useState)(700),[mo,Fo]=(0,ue.useState)(""),[Pr,gr]=(0,ue.useState)("1"),Mo=(0,pt.useParams)(),[Ur,Do]=(0,ue.useState)(!0);(0,ue.useEffect)(()=>{var Cr;(Cr=wi==null?void 0:wi.detail)!=null&&Cr.id&&da()},[(Yi=wi==null?void 0:wi.detail)==null?void 0:Yi.id]);const yo=()=>ds(void 0,null,function*(){var Cr,Jo;const Ha=yield ot({type:"shixunsDetail/updateRepositoryFile",payload:{id:Mo.id,path:(Jo=(Cr=wi==null?void 0:wi.fileContent)==null?void 0:Cr.params)==null?void 0:Jo.path,content:Ei,secret_repository:po?null:!0}});Ha!=null&&Ha.content&&(bt.ZP.info("\u4FDD\u5B58\u6210\u529F"),ot({type:"practiceSetting/setSideBarTabs",payload:_s(ks({},wn.sideBar),{confirmLeave:!1})}))}),da=()=>ds(void 0,null,function*(){var Cr,Jo,Ha,ls,hs,Za;Do(!0);let pr=yield(0,Wt.Ui)({identifier:Mo.id});if((Cr=wi==null?void 0:wi.detail)!=null&&Cr.is_wuying){if((pr==null?void 0:pr.status)!==0)return;let Ho;do if(Ho=yield(0,ra.wj)({requestId:pr==null?void 0:pr.requestId}),Ho!=null&&Ho.data){console.log("\u64CD\u4F5C\u6210\u529F");break}else if((Ho==null?void 0:Ho.data)===null)console.log("\u8BC6\u522B\u4E2D\uFF0C\u7EE7\u7EED\u8F6E\u8BE2..."),yield new Promise(Wa=>setTimeout(Wa,1e4));else{console.log("\u72B6\u6001\u5F02\u5E38");break}while((Ho==null?void 0:Ho.data)===null);if((Ho==null?void 0:Ho.status)===0){const Wa=((Jo=Ho==null?void 0:Ho.data)==null?void 0:Jo.data)||{};pr={status:0,url:Wa==null?void 0:Wa.url}}}if(Do(!1),(ls=(Ha=pr==null?void 0:pr.data)==null?void 0:Ha.data_list)!=null&&ls.length){uo.Z.publish("pod-restrict-data",{identifier:(hs=pr==null?void 0:pr.data)==null?void 0:hs.identifier,data_list:(Za=pr==null?void 0:pr.data)==null?void 0:Za.data_list});return}pr!=null&&pr.url&&Fo(pr==null?void 0:pr.url)}),xa=()=>ds(void 0,null,function*(){const Cr=yield(0,Wt.K_)({identifier:Mo.id});(Cr==null?void 0:Cr.status)===0&&(Cr!=null&&Cr.remainingSeconds?($r(Date.now()+Cr.remainingSeconds*1e3),xo(Cr.remainingSeconds-300<=0?Date.now()+1e3:Date.now()+(Cr.remainingSeconds-300)*1e3)):Qn())}),Qn=()=>{Ve.default.confirm({centered:!0,title:"\u91CD\u7F6E\u73AF\u5883",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",zIndex:9999,content:Ro.createElement("div",{className:"tc"},"\u662F\u5426\u786E\u5B9A\u91CD\u7F6E\u73AF\u5883\uFF1F"),onOk:()=>ds(void 0,null,function*(){Co()})})},Co=()=>ds(void 0,null,function*(){Yr(2);const Cr=yield(0,Wt.zH)({identifier:Mo.id});(Cr==null?void 0:Cr.status)===0&&(Yr(3),Fo(Cr.url),wo.current=Cr.port,bt.ZP.success("\u91CD\u7F6E\u73AF\u5883\u6210\u529F!"))}),Xo=()=>{Ve.default.destroyAll(),Ve.default.confirm({centered:!0,title:"\u670D\u52A1\u4E2D\u65AD\u63D0\u9192",content:Ro.createElement("div",{className:"tc font14"},"jupyter\u5C06\u4E8E",Ro.createElement("span",null,Ro.createElement(zs,{value:Nr,format:"HH:mm:ss",onFinish:Qo})),"\u65F6\u95F4\u540E\u670D\u52A1\u4E2D\u65AD\uFF0C\u662F\u5426\u9700\u8981\u5EF6\u957F\u4F7F\u7528\u65F6\u95F4\uFF1F"),okText:"\u7ACB\u5373\u5EF6\u957F",cancelText:"\u4E0D\u9700\u8981",onOk:()=>ds(void 0,null,function*(){(yield(0,Wt.q9)({identifier:Mo.id})).status===0&&(yield xa(),bt.ZP.success("\u5EF6\u957F\u6210\u529F!"))})})},Qo=()=>{Ve.default.destroyAll(),Ve.default.confirm({centered:!0,title:"\u5012\u8BA1\u65F6\u622A\u6B62",content:Ro.createElement("p",{className:"tc font14"},"\u670D\u52A1\u5DF2\u4E2D\u65AD\uFF0C\u662F\u5426\u786E\u8BA4\u91CD\u7F6E\u5B9E\u9A8C\u73AF\u5883\uFF1F"),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>{Co()}})},qo=Cr=>{ot({type:"shixunsDetail/setActionTabs",payload:{key:"EditPracticeSetting-SelectFilePath"}})},ms=Cr=>ds(void 0,null,function*(){yield(0,Wt.QA)({id:Mo.id,startup_file:Cr}),da(),ot({type:"practiceSetting/getCommonData",payload:ks({},Mo)}),ot({type:"shixunsDetail/getShixunsDetail",payload:Mo})});return Ro.createElement(tn.default,{activeKey:Pr,onChange:Cr=>gr(Cr),tabBarStyle:{paddingLeft:20},items:[{key:"1",label:"\u670D\u52A1\u8BBE\u7F6E",children:Ro.createElement("div",null,Ro.createElement(rt.Z,{spinning:Ur},Ro.createElement(dt.Z,{className:"mt20 ml20 font14",align:"middle"},Ro.createElement(yt.Z,null,Ro.createElement("span",{className:"c-red"},"* "),"\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6\uFF1A"),Ro.createElement(yt.Z,{className:"mr10"},Ro.createElement(Ii.Z,{title:"\u5F00\u542FJupyterLab\u8BC4\u6D4B\u529F\u80FD\uFF0C\u5219\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6\u540C\u65F6\u4E5F\u4F5C\u4E3A\u8BC4\u6D4B\u7684\u6267\u884C\u6587\u4EF6\u3002",placement:"bottom"},Ro.createElement(tr.Z,{style:{cursor:"pointer"}}))),Ro.createElement(yt.Z,{flex:"300px",onClick:()=>qo("exec_path")},Ro.createElement(ke.default,{value:mo})),Ro.createElement(yt.Z,{flex:"1"},Ro.createElement(Me.ZP,{type:"primary",className:"ml10",onClick:()=>qo("exec_path")},"\u8BBE\u7F6E"))),Ro.createElement("iframe",{onLoad:Cr=>{},src:mo,scrolling:"no",style:{height:"calc(100vh - 120px)"},className:"mt10",id:"frame",name:"framename",width:"100%",frameBorder:"0"}),Ro.createElement(xi,{fileType:"path",path:(dr=wi==null?void 0:wi.detail)==null?void 0:dr.startup_file,onFinish:Cr=>ms(Cr)})))},{key:"2",label:"\u8BC4\u6D4B\u8BBE\u7F6E",children:Pr==="2"?Ro.createElement(Ca.Z,{active:"testCase",type:"jupyterLab"}):null},{key:"3",label:"\u53C2\u8003\u7B54\u6848",children:Ro.createElement(vo,null)}]})};var Rl=(0,pt.connect)(({loading:tt,globalSetting:st,practiceSetting:ot,shixunsDetail:wn})=>({globalSetting:st,loading:tt,practiceSetting:ot,shixunsDetail:wn}))(Nu),Eu={catechism:"catechism___lS6Ml",tab:"tab___vw6iE"},Ma={collect:"collect___pxqYO",head:"head___WuH5D"},Vs=Pe(59301),Pa=Object.defineProperty,Bs=Object.getOwnPropertySymbols,As=Object.prototype.hasOwnProperty,Gs=Object.prototype.propertyIsEnumerable,Tu=(tt,st,ot)=>st in tt?Pa(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,sa=(tt,st)=>{for(var ot in st||(st={}))As.call(st,ot)&&Tu(tt,ot,st[ot]);if(Bs)for(var ot of Bs(st))Gs.call(st,ot)&&Tu(tt,ot,st[ot]);return tt},Ys=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())}),su=({onOk:tt,onCancel:st,visible:ot,modalParams:wn,forceIn:wi})=>{const[Yi]=Ae.default.useForm(),[dr,Ei]=(0,ue.useState)(!1),Ln=wi?!1:typeof ot=="number";(0,ue.useEffect)(()=>{ot?Yi.setFieldsValue(sa({},wn)):Yi.resetFields()},[ot]);const bi=Yr=>Ys(void 0,null,function*(){Ei(!0),yield tt(Yr),Ei(!1)});return Vs.createElement(Ve.default,{centered:!0,destroyOnClose:!0,onCancel:()=>st(),onOk:()=>Yi.submit(),open:!!ot,confirmLoading:dr,title:Ln?"\u7F16\u8F91\u95EE\u7B54":"\u65B0\u589E\u95EE\u7B54",width:900,okText:Ln?"\u786E\u5B9A":"\u52A0\u5165\u95EE\u9898\u96C6"},Vs.createElement(Ae.default,{form:Yi,size:"large",onFinish:bi},Vs.createElement(Ae.default.Item,{name:"title",label:"\u95EE\u9898",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"}]},Vs.createElement(ke.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"})),Vs.createElement(Ae.default.Item,{className:"mb0",name:"content",label:"\u56DE\u7B54",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54"}]},Vs.createElement(xe.Z,{className:"mb0",placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54",watch:!0,defaultValue:wn==null?void 0:wn.content}))))},pa=Pe(59301),Sl=Object.defineProperty,Da=Object.getOwnPropertySymbols,Gu=Object.prototype.hasOwnProperty,fc=Object.prototype.propertyIsEnumerable,$l=(tt,st,ot)=>st in tt?Sl(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Fu=(tt,st)=>{for(var ot in st||(st={}))Gu.call(st,ot)&&$l(tt,ot,st[ot]);if(Da)for(var ot of Da(st))fc.call(st,ot)&&$l(tt,ot,st[ot]);return tt},Lc=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())}),Ns=({})=>{const tt=(0,pt.useParams)(),[st,ot]=(0,ue.useState)(!1),[wn,wi]=(0,ue.useState)(0),[Yi,dr]=(0,ue.useState)([]),[Ei,Ln]=(0,ue.useState)(!1),[bi,Yr]=(0,ue.useState)({title:"",content:""}),[wo,Nr]=(0,ue.useState)(!1),[$r,To]=(0,ue.useState)(!1),[xo,po]=(0,ue.useState)([]),[ur,ma]=(0,ue.useState)({keywords:"",page:1,limit:10});(0,ue.useEffect)(()=>{Vo(ur)},[]);const Vo=Do=>Lc(void 0,null,function*(){var yo,da;ot(!0);const xa=yield(0,wt.ZP)(`/api/shixuns/${tt.id}/qna_sets.json`,{method:"get",params:Do});xa.status===0&&(dr(((yo=xa==null?void 0:xa.data)==null?void 0:yo.qna_sets)||[]),wi((da=xa==null?void 0:xa.data)==null?void 0:da.total_count)),ot(!1)}),mo=Do=>{ur.keywords=Do,ur.page=1,ma(Fu({},ur)),Vo(ur)},Fo=(Do,yo)=>{ur.page=Do,ur.limit=yo,ma(Fu({},ur)),Vo(ur)},Pr=Do=>Lc(void 0,null,function*(){if(typeof Ei=="number"){const yo=yield(0,wt.ZP)(`/api/shixuns/${tt.id}/qna_sets/${Ei}.json`,{method:"put",body:Do});(yo==null?void 0:yo.status)===0&&(bt.ZP.success("\u7F16\u8F91\u6210\u529F"),Vo(ur),Ln(!1))}else{const yo=yield(0,wt.ZP)(`/api/shixuns/${tt.id}/qna_sets.json`,{method:"post",body:Do});(yo==null?void 0:yo.status)===0&&(bt.ZP.success("\u6DFB\u52A0\u6210\u529F"),ur.page=1,ur.keywords="",ma(Fu({},ur)),Vo(ur),Ln(!1))}}),gr=Do=>Lc(void 0,null,function*(){Ve.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5220\u9664\u5417\uFF1F",onOk:()=>Lc(void 0,null,function*(){const yo=yield(0,wt.ZP)(`/api/shixuns/${tt.id}/qna_sets/${Do.id}.json`,{method:"delete"});if((yo==null?void 0:yo.status)===0){const da=Yi.length===1&&ur.page>1?ur.page-1:ur.page;ur.page=da,ma(Fu({},ur)),Vo(ur),bt.ZP.success("\u5220\u9664\u6210\u529F")}})})}),Mo=[{title:"\u95EE\u9898",dataIndex:"title",ellipsis:!0,render:Do=>pa.createElement(Ii.Z,{placement:"topLeft",title:Do},pa.createElement("span",{className:"c-black"},Do||"--"))},{title:"\u56DE\u7B54",dataIndex:"content",ellipsis:!0,render:Do=>pa.createElement(Ii.Z,{placement:"topLeft",title:Do},pa.createElement("span",{className:"c-black"},Do||"--"))},{title:"\u64CD\u4F5C",width:104,align:"right",dataIndex:"id",ellipsis:!0,render:(Do,yo)=>pa.createElement("span",null,pa.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{Ln(Do),Yr({title:yo==null?void 0:yo.title,content:yo==null?void 0:yo.content})}},"\u7F16\u8F91"),pa.createElement("span",{className:"current c-red",onClick:()=>gr(yo)},"\u5220\u9664"))}],Ur={onRemove:()=>{po([])},beforeUpload:Do=>{if((Do==null?void 0:Do.size)>1024*1024*50)return bt.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!(Do.type==="application/vnd.ms-excel"||Do.type==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"))return bt.ZP.info("\u8BF7\u4E0A\u4F20 .xls \u6216 .xlsx \u6587\u4EF6\uFF01"),!1;let da=[];return da.push(Do),po([...da]),!1},fileList:xo,accept:".xls,.xlsx"};return pa.createElement("div",{className:Ma.collect},pa.createElement("div",{className:Ma.head},pa.createElement(ca.t7,{style:{width:480},placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",value:ur.keywords,onChange:mo}),pa.createElement(ca.op,{className:"ml40 mr20",shape:"default",onClick:()=>{Ln(!0),Yr({title:"",content:""})}},"\u65B0\u589E\u95EE\u7B54"),pa.createElement(ca.op,{type:"primary",shape:"default",onClick:()=>Nr(!0)},"\u5BFC\u5165\u95EE\u7B54")),pa.createElement(xu.default,{columns:Mo,style:{marginTop:33},dataSource:Yi,loading:st,rowKey:"id",pagination:{current:ur.page,hideOnSinglePage:!wn,showQuickJumper:!0,showSizeChanger:!0,pageSize:ur.limit,pageSizeOptions:["10","20","50","100","200"],total:wn,size:"default",showTotal:kt.rU,onChange:Fo}}),pa.createElement(Ve.default,{title:"\u5BFC\u5165\u95EE\u7B54",open:wo,centered:!0,confirmLoading:$r,onCancel:()=>{Nr(!1),po([])},onOk:()=>Lc(void 0,null,function*(){var Do;const yo=new FormData;if(xo.length>0)yo.append("file",xo[0]);else{bt.ZP.warning("\u8BF7\u9009\u62E9\u6587\u4EF6");return}To(!0);let da=yield(0,wt.ZP)(`/api/shixuns/${tt==null?void 0:tt.id}/qna_sets/import.json`,{method:"post",body:yo},!0);(da==null?void 0:da.status)===0&&((Do=da==null?void 0:da.fail)!=null&&Do.length?Ve.default.confirm({icon:null,width:485,title:"\u5BFC\u5165\u5931\u8D25",centered:!0,content:pa.createElement("span",null,"\u68C0\u6D4B\u5230\u672C\u6B21\u5BFC\u5165\u5B58\u5728\u4E0D\u7B26\u5408\u8981\u6C42\u7684\u6570\u636E\uFF0C\u70B9\u51FB\u4E0B\u8F7D",pa.createElement("a",{href:`${ei.Z.API_SERVER}/api/shixuns/${tt==null?void 0:tt.id}/qna_sets/down_error_import_file.json`},"\u5BFC\u5165\u5931\u8D25\u7684\u6570\u636E"),"\u67E5\u770B")}):(bt.ZP.success("\u5BFC\u5165\u6210\u529F"),ur.page=1,ur.keywords="",ma(Fu({},ur)),Vo(ur),Nr(!1),po([]))),To(!1)})},pa.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E00\uFF1A",pa.createElement("span",{className:"ml15 mr5"},"\u4E0B\u8F7D"),pa.createElement("a",{href:`${ei.Z.API_SERVER}/api/shixuns/${tt==null?void 0:tt.id}/qna_sets/down_template.json`},"\u5BFC\u5165\u95EE\u7B54\u96C6\u6A21\u677F"),"\uFF0C\u5E76\u586B\u5199\u5BF9\u5E94\u5185\u5BB9"),pa.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E8C\uFF1A",pa.createElement("span",{className:"ml15"},"\u4E0A\u4F20\u586B\u5199\u597D\u7684\u300A\u5BFC\u5165\u95EE\u7B54\u6A21\u677F\u300B")),pa.createElement("div",{style:{marginLeft:74}},pa.createElement(ut.default,Fu({},Ur),pa.createElement(ca.op,{shape:"default",icon:pa.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6")))),pa.createElement(su,{visible:Ei,onCancel:()=>Ln(!1),onOk:Pr,modalParams:bi}))},Ou={record:"record___Ueu3j",head:"head___UOVq4"},wa=Pe(59301),gc=Object.defineProperty,eu=Object.defineProperties,Ds=Object.getOwnPropertyDescriptors,Ts=Object.getOwnPropertySymbols,El=Object.prototype.hasOwnProperty,cl=Object.prototype.propertyIsEnumerable,tu=(tt,st,ot)=>st in tt?gc(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Ia=(tt,st)=>{for(var ot in st||(st={}))El.call(st,ot)&&tu(tt,ot,st[ot]);if(Ts)for(var ot of Ts(st))cl.call(st,ot)&&tu(tt,ot,st[ot]);return tt},Ul=(tt,st)=>eu(tt,Ds(st)),fu=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())}),gu=({})=>{const tt=(0,pt.useParams)(),[st]=Ae.default.useForm(),[ot,wn]=(0,ue.useState)(!1),[wi,Yi]=(0,ue.useState)(0),[dr,Ei]=(0,ue.useState)([]),[Ln,bi]=(0,ue.useState)(!1),[Yr,wo]=(0,ue.useState)({title:"",content:""});let[Nr,$r]=(0,ue.useState)({page:1,limit:10});(0,ue.useEffect)(()=>{po(Nr)},[]);const To=[{value:"ai",label:"AI\u6A21\u578B"},{value:"qna_set",label:"\u5B9E\u8BAD\u95EE\u7B54\u96C6"}],xo=[{value:"added_to_set",label:"\u5DF2\u52A0\u5165\u95EE\u7B54\u96C6"},{value:"skipped",label:"\u65E0\u9700\u5904\u7406"},{value:"pending",label:"\u5F85\u5904\u7406"},{value:"ignored",label:"\u5DF2\u5FFD\u7565"}],po=Pr=>fu(void 0,null,function*(){var gr,Mo;wn(!0);const Ur=yield(0,wt.ZP)(`/api/shixuns/${tt.id}/qna_records.json`,{method:"get",params:Pr});Ur.status===0&&(Ei(((gr=Ur==null?void 0:Ur.data)==null?void 0:gr.qna_records)||[]),Yi((Mo=Ur==null?void 0:Ur.data)==null?void 0:Mo.total_count)),wn(!1)}),ur=Pr=>{Nr.page=1,Nr=Ia(Ia({},Nr),Pr),$r(Ia({},Nr)),po(Nr)},ma=(Pr,gr)=>{Nr.page=Pr,Nr.limit=gr,$r(Ia({},Nr)),po(Nr)},Vo=Pr=>fu(void 0,null,function*(){const gr=yield(0,wt.ZP)(`/api/shixuns/${tt.id}/qna_sets.json`,{method:"post",body:Ul(Ia({},Pr),{qna_record_id:Ln})});(gr==null?void 0:gr.status)===0&&(bt.ZP.success("\u6DFB\u52A0\u6210\u529F"),po(Nr),bi(!1))}),mo=Pr=>fu(void 0,null,function*(){Ve.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5FFD\u7565\u5417\uFF1F",onOk:()=>fu(void 0,null,function*(){const gr=yield(0,wt.ZP)(`/api/shixuns/${tt.id}/qna_records/${Pr.id}/update_status.json`,{method:"post",body:{status:"ignored"}});(gr==null?void 0:gr.status)===0&&po(Nr)})})}),Fo=[{title:"\u95EE\u9898",dataIndex:"question",ellipsis:!0,render:Pr=>wa.createElement(Ii.Z,{placement:"topLeft",title:Pr},wa.createElement("span",{className:"c-black"},Pr||"--"))},{title:"\u56DE\u7B54",dataIndex:"answer",ellipsis:!0,render:Pr=>wa.createElement(Ii.Z,{placement:"topLeft",title:Pr},wa.createElement("span",{className:"c-black"},Pr||"--"))},{title:"\u56DE\u7B54\u6765\u6E90",dataIndex:"answer_source",width:110,render:Pr=>{var gr;return wa.createElement("span",{className:"c-black"},(gr=To==null?void 0:To.find(Mo=>Mo.value===Pr))==null?void 0:gr.label)}},{title:"\u72B6\u6001",dataIndex:"status",width:120,render:Pr=>{var gr;return wa.createElement("span",{className:"c-black"},(gr=xo==null?void 0:xo.find(Mo=>Mo.value===Pr))==null?void 0:gr.label)}},{title:"\u64CD\u4F5C",width:140,align:"right",dataIndex:"id",ellipsis:!0,render:(Pr,gr)=>wa.createElement("span",null,["pending","ignored"].includes(gr.status)&&wa.createElement(wa.Fragment,null,wa.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{bi(Pr),wo({title:gr==null?void 0:gr.question,content:gr==null?void 0:gr.answer})}},"\u52A0\u5165\u95EE\u7B54\u96C6"),wa.createElement("span",{className:"current c-light-primary",onClick:()=>mo(gr)},"\u5FFD\u7565")),["skipped"].includes(gr.status)&&wa.createElement(Ii.Z,{placement:"topRight",title:"\u56DE\u7B54\u6765\u81EA\u95EE\u9898\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},wa.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")),["added_to_set"].includes(gr.status)&&wa.createElement(Ii.Z,{placement:"topRight",title:"\u5DF2\u7ECF\u52A0\u5165\u95EE\u7B54\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},wa.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")))}];return wa.createElement("div",{className:Ou.record},wa.createElement("div",{className:Ou.head},wa.createElement(Ae.default,{layout:"inline",form:st,colon:!1,size:"large",onFinish:ur},wa.createElement(Ae.default.Item,{name:"keywords",label:"\u95EE\u9898"},wa.createElement(ke.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",style:{width:300}})),wa.createElement(Ae.default.Item,{name:"answer_source",label:"\u56DE\u7B54\u6765\u6E90"},wa.createElement(Sr.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u56DE\u7B54\u6765\u6E90",options:To,style:{width:200}})),wa.createElement(Ae.default.Item,{name:"status",label:"\u72B6\u6001"},wa.createElement(Sr.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001",options:xo,style:{width:200}})),wa.createElement(Ae.default.Item,{style:{marginRight:0}},wa.createElement(Me.ZP,{type:"primary",htmlType:"submit"},"\u641C\u7D22")))),wa.createElement(xu.default,{columns:Fo,style:{marginTop:33},dataSource:dr,loading:ot,rowKey:"id",pagination:{current:Nr.page,hideOnSinglePage:!wi,showQuickJumper:!0,showSizeChanger:!0,pageSize:Nr.limit,pageSizeOptions:["10","20","50","100","200"],total:wi,size:"default",showTotal:kt.rU,onChange:ma}}),wa.createElement(su,{visible:Ln,onCancel:()=>bi(!1),onOk:Vo,modalParams:Yr,forceIn:!0}))},Qu=Pe(59301);const Zs=({dispatch:tt,practiceSetting:st,shixunsDetail:ot})=>{const[wn,wi]=(0,ue.useState)("1");return Qu.createElement("div",{className:Eu.catechism},Qu.createElement(ca.tp,{dataSource:[{id:"1",name:"\u95EE\u7B54\u96C6"},{id:"2",name:"\u95EE\u7B54\u8BB0\u5F55"}],value:wn,onChange:Yi=>wi(Yi),className:Eu.tab}),wn==="1"&&Qu.createElement(Ns,null),wn==="2"&&Qu.createElement(gu,null))};var Iu=(0,pt.connect)(({practiceSetting:tt,shixunsDetail:st})=>({practiceSetting:tt,shixunsDetail:st}))(Zs),ha=Object.defineProperty,Ps=Object.getOwnPropertySymbols,Mc=Object.prototype.hasOwnProperty,Ju=Object.prototype.propertyIsEnumerable,nu=(tt,st,ot)=>st in tt?ha(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,pc=(tt,st)=>{for(var ot in st||(st={}))Mc.call(st,ot)&&nu(tt,ot,st[ot]);if(Ps)for(var ot of Ps(st))Ju.call(st,ot)&&nu(tt,ot,st[ot]);return tt},mc=(tt,st)=>{var ot={};for(var wn in tt)Mc.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&Ps)for(var wn of Ps(tt))st.indexOf(wn)<0&&Ju.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},kc=tt=>{var st=tt,{tabsActive:ot}=st,wn=mc(st,["tabsActive"]);return ue.createElement(ue.Fragment,null,ot==="information"&&ue.createElement(Ce,null),ot==="warehouse"&&ue.createElement(Ee.default,null),ot==="level"&&ue.createElement(Ko,pc({},wn)),ot==="collaborate"&&ue.createElement(Ft,pc({},wn)),ot==="setting"&&ue.createElement(un.Z,null),ot==="environment"&&ue.createElement(Ol,pc({},wn)),ot==="dataset"&&ue.createElement(tl,null),ot==="service"&&ue.createElement(Rl,pc({},wn)),ot==="catechism"&&ue.createElement(Iu,pc({},wn)))},Sa={flex_box_center:"flex_box_center___FN240",flex_space_between:"flex_space_between___wjShI",flex_box_vertical_center:"flex_box_vertical_center___HbcwC",flex_box_center_end:"flex_box_center_end___gj_ks",flex_box_column:"flex_box_column___zxJPU",sidebar:"sidebar___OW5LG",items:"items___j856O",item:"item___Zn_qr",name:"name___ZfhoC",itemActive:"itemActive___sW_Ri",question:"question___yfIcY"},Ao=Object.defineProperty,Qa=Object.getOwnPropertySymbols,rl=Object.prototype.hasOwnProperty,oc=Object.prototype.propertyIsEnumerable,td=(tt,st,ot)=>st in tt?Ao(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,dd=(tt,st)=>{for(var ot in st||(st={}))rl.call(st,ot)&&td(tt,ot,st[ot]);if(Qa)for(var ot of Qa(st))oc.call(st,ot)&&td(tt,ot,st[ot]);return tt};const Zc=tt=>React.createElement("svg",dd({width:16,height:16,xmlns:"http://www.w3.org/2000/svg"},tt),React.createElement("title",null,"\u63D0\u793A\u4FE1\u606F"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M8 0a8 8 0 1 1-8 8 8.01 8.01 0 0 1 8-8Z",fill:"#FEB300"}),React.createElement("path",{d:"M8.111 12a.78.78 0 1 0 .006-1.56.78.78 0 0 0-.006 1.56ZM7.556 4a.21.21 0 0 0-.212.218l.244 5.133a.117.117 0 0 0 .116.11h.815a.118.118 0 0 0 .117-.11l.243-5.133A.208.208 0 0 0 8.666 4h-1.11Z",fill:"#FFF"})));var Hl="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNOCAwYTggOCAwIDEgMS04IDggOC4wMSA4LjAxIDAgMCAxIDgtOFoiIGZpbGw9IiNGRUIzMDAiLz48cGF0aCBkPSJNOC4xMTEgMTJhLjc4Ljc4IDAgMSAwIC4wMDYtMS41Ni43OC43OCAwIDAgMC0uMDA2IDEuNTZaTTcuNTU2IDRhLjIxLjIxIDAgMCAwLS4yMTIuMjE4bC4yNDQgNS4xMzNhLjExNy4xMTcgMCAwIDAgLjExNi4xMWguODE1YS4xMTguMTE4IDAgMCAwIC4xMTctLjExbC4yNDMtNS4xMzNBLjIwOC4yMDggMCAwIDAgOC42NjYgNGgtMS4xMVoiIGZpbGw9IiNGRkYiLz48L2c+PC9zdmc+",ka=Pe(59301),Ra=Object.defineProperty,vc=Object.defineProperties,ac=Object.getOwnPropertyDescriptors,hd=Object.getOwnPropertySymbols,Wh=Object.prototype.hasOwnProperty,qu=Object.prototype.propertyIsEnumerable,$u=(tt,st,ot)=>st in tt?Ra(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Wd=(tt,st)=>{for(var ot in st||(st={}))Wh.call(st,ot)&&$u(tt,ot,st[ot]);if(hd)for(var ot of hd(st))qu.call(st,ot)&&$u(tt,ot,st[ot]);return tt},$d=(tt,st)=>vc(tt,ac(st)),Pu=(tt,st)=>{var ot={};for(var wn in tt)Wh.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&hd)for(var wn of hd(tt))st.indexOf(wn)<0&&qu.call(tt,wn)&&(ot[wn]=tt[wn]);return ot};const Nc=[{name:"\u57FA\u672C\u4FE1\u606F",icon:ka.createElement("i",{className:"icon iconfont icon-jibenxinxi1"}),tabId:"information"},{name:"\u4EE3\u7801\u4ED3\u5E93",icon:ka.createElement("i",{className:"icon iconfont icon-daimacangku"}),tabId:"warehouse"},{name:"\u4EFB\u52A1\u5173\u5361",icon:ka.createElement("i",{className:"icon iconfont icon-renwuguanka"}),tabId:"level"},{name:"\u5B9E\u9A8C\u73AF\u5883",icon:ka.createElement("i",{className:"icon iconfont icon-shiyanhuanjing"}),tabId:"environment"},{name:"\u6570\u636E\u96C6",icon:ka.createElement("i",{className:"icon iconfont icon-shujuji",style:{fontSize:25}}),tabId:"dataset"},{name:"\u670D\u52A1\u4E0E\u8BC4\u6D4B",icon:ka.createElement("i",{className:"icon iconfont icon-renwuguanka"}),tabId:"service"},{name:"\u5408\u4F5C\u4EBA\u5458",icon:ka.createElement("i",{className:"icon iconfont icon-hezuochengyuan"}),tabId:"collaborate"},{name:"\u8BBE\u7F6E",icon:ka.createElement("i",{className:"icon iconfont icon-shezhi5"}),tabId:"setting"},{name:"\u95EE\u7B54\u96C6",icon:ka.createElement("i",{className:"icon iconfont icon-wendaji"}),tabId:"catechism"}],ol=tt=>{var st=tt,{globalSetting:ot,loading:wn,dispatch:wi,shixunsDetail:Yi,practiceSetting:dr}=st,Ei=Pu(st,["globalSetting","loading","dispatch","shixunsDetail","practiceSetting"]),Ln;const{base_info_warning:bi,challenges_warning:Yr,id:wo,repository_warning:Nr,sideBar:$r,service_warning:To}=dr,xo=(0,pt.useLocation)(),po=(0,pt.useParams)(),[ur]=(0,pt.useSearchParams)();(0,ue.useEffect)(()=>{var mo;const Fo=ur.get("tabId"),Pr=xo.pathname.split("/").length,Mo=((mo=Yi==null?void 0:Yi.detail)!=null&&mo.windows_vnc?Nc.filter(Ur=>Ur.tabId!=="dataset"):Nc).map(Ur=>Ur.tabId).includes(Fo);if(Fo&&Mo){wi({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Fo}});return}if(Pr>4){wi({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"level"}});return}if(!Fo||Fo&&!Mo){wi({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}});return}},[(Ln=Yi==null?void 0:Yi.detail)==null?void 0:Ln.windows_vnc]),(0,ue.useEffect)(()=>()=>{wi({type:"practiceSetting/setSideBarTabs",payload:$d(Wd({},dr.sideBar),{selectPath:""})})},[po.id]);const ma=mo=>{var Fo;if(mo===$r.tabsActive)return;const Pr=()=>{pt.history.push(`/shixuns/${wo}/edit?tabId=${mo}`),wi({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:mo,selectPath:"",confirmLeave:!1}})};(Fo=dr==null?void 0:dr.sideBar)!=null&&Fo.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Pr()}}):Pr()},Vo=()=>{var mo;return((mo=Yi==null?void 0:Yi.detail)!=null&&mo.windows_vnc?Nc.filter(Pr=>Pr.tabId!=="dataset"):Nc).filter(Pr=>{var gr;return(gr=Yi==null?void 0:Yi.detail)!=null&&gr.is_jupyter_lab?Pr.tabId!=="level":Pr.tabId!=="service"}).map(Pr=>{const{name:gr,icon:Mo,tabId:Ur}=Pr;return ka.createElement("div",{key:Ur,className:`${dr.sideBar.tabsActive===Ur?Sa.itemActive:Sa.item} font12`,onClick:()=>ma(Ur)},Mo,ka.createElement("span",{className:Sa.name},gr),Ur==="information"&&bi&&ka.createElement(Ii.Z,{title:"\u8BF7\u5B8C\u5584\u57FA\u672C\u4FE1\u606F"},ka.createElement("img",{src:Hl,alt:""})),Ur==="level"&&Yr&&ka.createElement(Ii.Z,{title:"\u8BF7\u521B\u5EFA\u4EFB\u52A1\u5173\u5361"},ka.createElement("img",{src:Hl,alt:""})),Ur==="service"&&To&&ka.createElement(Ii.Z,{title:"\u8BF7\u8BBE\u7F6E\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6"},ka.createElement("img",{src:Hl,alt:""})),Ur==="warehouse"&&Nr&&ka.createElement(Ii.Z,{title:"\u8BF7\u5F00\u542F\u4EE3\u7801\u4ED3\u5E93"},ka.createElement("img",{src:Hl,alt:""})))})};return ka.createElement("div",{className:Sa.sidebar},ka.createElement("div",{className:Sa.items},Vo()),ka.createElement("div",{className:Sa.question},ka.createElement(Ii.Z,{placement:"right",title:"\u5E38\u89C1\u95EE\u9898"},ka.createElement("span",{style:{cursor:"pointer"},onClick:()=>window.open("https://www.educoder.net/forums/4692")},ka.createElement("img",{src:qd.Pt,height:44,width:44,alt:""})))))};var la=(0,pt.connect)(({loading:tt,globalSetting:st,shixunsDetail:ot,practiceSetting:wn})=>({globalSetting:st,loading:tt,practiceSetting:wn,shixunsDetail:ot}))(ol),pu={bottom:"bottom___AZ7c_",yes:"yes___iDEVN",no:"no___E02he"},Na=Pe(59301),eh=Object.defineProperty,gh=Object.getOwnPropertySymbols,iu=Object.prototype.hasOwnProperty,th=Object.prototype.propertyIsEnumerable,ec=(tt,st,ot)=>st in tt?eh(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Cd=(tt,st)=>{for(var ot in st||(st={}))iu.call(st,ot)&&ec(tt,ot,st[ot]);if(gh)for(var ot of gh(st))th.call(st,ot)&&ec(tt,ot,st[ot]);return tt},jd=(tt,st,ot)=>new Promise((wn,wi)=>{var Yi=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Yi,dr);Ei((ot=ot.apply(tt,st)).next())});const nf=({classroomList:tt,loading:st,dispatch:ot,shixunsDetail:wn})=>{var wi,Yi;const dr=(0,pt.useParams)(),Ei=(0,pt.useLocation)(),[Ln,bi]=(0,ue.useState)(!1),[Yr,wo]=(0,ue.useState)(!1),{actionTabs:Nr}=tt,[$r]=Ae.default.useForm(),[To,xo]=(0,ue.useState)({name:"string"}),po=mo=>mo&&mo{console.log(dr),tt.actionTabs.key==="\u91CD\u540D\u4FEE\u6539"&&(To.name=Nr==null?void 0:Nr.name),xo(Cd({},To)),$r.setFieldsValue({name:Nr==null?void 0:Nr.name})},[tt.actionTabs.key]);const Vo={information:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u57FA\u672C\u4FE1\u606F\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",wareHouse:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4EE3\u7801\u4ED3\u5E93\u4FEE\u6539\u5185\u5BB9\u540C\u6B65\u5230\u539F\u5B9E\u8BAD\u4E2D",environment:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u5B9E\u9A8C\u73AF\u5883\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",taskLevel:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u4EFB\u52A1\u5173\u5361\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",setting:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u8BBE\u7F6E\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D"};return Na.createElement(Na.Fragment,null,Na.createElement(Ve.default,{centered:!0,title:"\u63D0\u793A",open:tt.actionTabs.key==="\u540C\u6B65\u4FEE\u6539",width:460,zIndex:((wi=tt==null?void 0:tt.actionTabs)==null?void 0:wi.zIndex)||1e3,footer:null,onOk:()=>jd(void 0,null,function*(){console.log(123123)}),onCancel:()=>{ot({type:"classroomList/setActionTabs",payload:{}})}},Na.createElement("div",null,Na.createElement("p",null,"\u672C\u5B9E\u8BAD\u4E3A\u521B\u5EFA\u4F5C\u4E1A/\u8003\u8BD5\u65F6\u590D\u5236\u751F\u6210\u7684\uFF0C",Vo[tt.actionTabs.type],"\uFF1F")),Na.createElement("div",{className:pu.bottom},Na.createElement(Me.ZP,{loading:st["shixunsDetail/saveCopyForExercise"]&&Yr,className:pu.no,onClick:()=>jd(void 0,null,function*(){var mo;wo(!0),(mo=tt.actionTabs)!=null&&mo.value?tt.actionTabs.fn(tt.actionTabs.value,!0,2):tt.actionTabs.fn(!0,2)})},"\u540C\u6B65\u4FEE\u6539\u539F\u5B9E\u8BAD"),Na.createElement(Me.ZP,{loading:st["shixunsDetail/saveCopyForExercise"]&&!Yr,className:pu.yes,onClick:()=>jd(void 0,null,function*(){var mo;wo(!1),(mo=tt.actionTabs)!=null&&mo.value?tt.actionTabs.fn(tt.actionTabs.value,!1,1):tt.actionTabs.fn(!1,1)})},"\u4EC5\u4FDD\u5B58\u672C\u5B9E\u8BAD"))),Na.createElement(Ve.default,{centered:!0,title:"\u63D0\u793A",open:tt.actionTabs.key==="\u91CD\u540D\u4FEE\u6539",okText:"\u4FDD\u5B58\u540D\u79F0",cancelText:"\u4E0D\u66F4\u6362\u540D\u79F0",destroyOnClose:!0,width:550,confirmLoading:Ln,onOk:()=>jd(void 0,null,function*(){var mo,Fo;yield $r.validateFields();const Pr=$r.getFieldValue();bi(!0);const gr=yield(0,wt.ZP)(`/api/shixuns/${dr==null?void 0:dr.id}/update_shixun_name.json`,{method:"post",body:{shixun_name:Pr.name}});bi(!1),gr.status===0&&(bt.ZP.success("\u4FEE\u6539\u6210\u529F"),ot({type:"practiceSetting/getCommonData",payload:{id:dr.id}}),(mo=tt.actionTabs)!=null&&mo.getBaseInfo&&((Fo=tt.actionTabs)==null||Fo.getBaseInfo())),ot({type:"classroomList/setActionTabs",payload:{}})}),onCancel:()=>{ot({type:"classroomList/setActionTabs",payload:{}})}},Na.createElement("div",null,Na.createElement("p",null,"\u4F60\u7BA1\u7406\u7684\u5B9E\u8BAD\u4E2D\u6709\u540C\u540D\u5B9E\u8BAD\uFF0C\u5EFA\u8BAE\u66F4\u6362\u5B9E\u8BAD\u540D\u79F0\uFF08\u5982\uFF1A\u6DFB\u52A0\u65E5\u671F\u3001\u7528\u9014\u7B49\u6587\u6848\uFF09"),Na.createElement(Ae.default,{form:$r,initialValues:{name:ur},onChange:()=>{xo($r.getFieldValue())}},Na.createElement(Ae.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u540D\u79F0"}]},Na.createElement(dt.Z,{className:"mt30",align:"middle"},Na.createElement(yt.Z,{className:"font14"},"\u5B9E\u8BAD\u540D\u79F0\uFF1A"),Na.createElement(yt.Z,{flex:"1"},Na.createElement(ke.default,{maxLength:60,defaultValue:Nr==null?void 0:Nr.name,suffix:Na.createElement("span",null,((Yi=To==null?void 0:To.name)==null?void 0:Yi.length)||0,"/",60)}))))))))};var Ad=(0,pt.connect)(({classroomList:tt,loading:st,shixunsDetail:ot})=>({classroomList:tt,loading:st.effects,shixunsDetail:ot}))(nf),Uc=Pe(59301),Hc=Object.defineProperty,Tc=Object.defineProperties,rf=Object.getOwnPropertyDescriptors,Fd=Object.getOwnPropertySymbols,fd=Object.prototype.hasOwnProperty,zd=Object.prototype.propertyIsEnumerable,Pl=(tt,st,ot)=>st in tt?Hc(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,yc=(tt,st)=>{for(var ot in st||(st={}))fd.call(st,ot)&&Pl(tt,ot,st[ot]);if(Fd)for(var ot of Fd(st))zd.call(st,ot)&&Pl(tt,ot,st[ot]);return tt},ph=(tt,st)=>Tc(tt,rf(st)),jh=(tt,st)=>{var ot={};for(var wn in tt)fd.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&Fd)for(var wn of Fd(tt))st.indexOf(wn)<0&&zd.call(tt,wn)&&(ot[wn]=tt[wn]);return ot};const mh=tt=>{var st=tt,{globalSetting:ot,loading:wn,dispatch:wi,practiceSetting:Yi}=st,dr=jh(st,["globalSetting","loading","dispatch","practiceSetting"]);const{sideBar:Ei}=Yi,{tabsActive:Ln}=Ei;let bi=(0,pt.useParams)();return(0,ue.useEffect)(()=>(wi({type:"globalSetting/headerFooterToggle",payload:!1}),wi({type:"shixunsDetail/getShixunsDetail",payload:ph(yc({},bi),{shixun_managed:!0})}),()=>{wi({type:"globalSetting/headerFooterToggle",payload:!0}),wi({type:"practiceSetting/setParams",payload:{id:""}})}),[]),Uc.createElement("div",{className:it.practiceSetting},Uc.createElement("div",{className:it.wrapHeader},Uc.createElement(le,null)),Uc.createElement("div",{className:it.wrapLayout},Uc.createElement("div",{className:it.wrapSidebar},Uc.createElement(la,null)),Uc.createElement("div",{className:it.wrapContent},Uc.createElement(kc,ph(yc({},dr),{tabsActive:Yi.sideBar.tabsActive})))),Uc.createElement(Ad,null))};var Ht=(0,pt.connect)(({loading:tt,globalSetting:st,practiceSetting:ot})=>({globalSetting:st,loading:tt,practiceSetting:ot}))(mh)},16349:function(en,jn,Pe){"use strict";Pe.d(jn,{S:function(){return Wt},m:function(){return Ve}});var ue=Pe(955),it=Pe(8591),Mt=Pe(43418),kt=Pe(59301),Dt=(bt,wt,pt)=>new Promise((St,Ut)=>{var Zt=ne=>{try{te(pt.next(ne))}catch(de){Ut(de)}},Oe=ne=>{try{te(pt.throw(ne))}catch(de){Ut(de)}},te=ne=>ne.done?St(ne.value):Promise.resolve(ne.value).then(Zt,Oe);te((pt=pt.apply(bt,wt)).next())});const Wt=bt=>{let wt=document.createElement("textarea");return wt.value=bt,wt.value},Ve=(bt,wt,pt,St,Ut)=>Dt(void 0,null,function*(){var Zt,Oe;const te=yield bt({type:"shixunsDetail/saveCopyForExercise",payload:{id:pt,save_type:St}});St===1?((te==null?void 0:te.status)==0&&it.ZP.success("\u4FDD\u5B58\u6210\u529F"),(Zt=te==null?void 0:te.data)!=null&&Zt.exists_same_shixun_name?bt({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(Oe=te==null?void 0:te.data)==null?void 0:Oe.shixun_name}}):bt({type:"classroomList/setActionTabs",payload:{}})):(bt({type:"classroomList/setActionTabs",payload:{}}),(te==null?void 0:te.status)===0&&Mt.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:kt.createElement("div",null,kt.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var ne,de;(0,ue.xg)(`/shixuns/${(de=(ne=wt==null?void 0:wt.detail)==null?void 0:ne.fork_from)==null?void 0:de.fork_identifier}/challenges`)}}))})},9583:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return pe}});var ue=Pe(59301),it=Pe(89070),Mt=Pe(92832),kt=Pe(78241),Dt=Pe(43418),Wt=Pe(8591),Ve=Pe(54580),bt=Pe(3113),wt=Pe(3294),pt=Pe(55351),St={flexRow:"flexRow___JBN3B",flexColumn:"flexColumn___zXgFj",formWrap:"formWrap___aNgan",upload:"upload___yGdLQ",color0152d9:"color0152d9___zzEpS",colorCCC:"colorCCC___k4Dxq",footerWrap:"footerWrap___WrUZd",qrCode:"qrCode___GPwSg",a1:"a1___R6etl",code:"code___fCL_L",group:"group___n7tgy",groupNumber:"groupNumber___tw7hA",a2:"a2___GGjDE"},Ut=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,te=(xe,Ae)=>{var Me={};for(var ke in xe)Zt.call(xe,ke)&&Ae.indexOf(ke)<0&&(Me[ke]=xe[ke]);if(xe!=null&&Ut)for(var ke of Ut(xe))Ae.indexOf(ke)<0&&Oe.call(xe,ke)&&(Me[ke]=xe[ke]);return Me},ne=(xe,Ae,Me)=>new Promise((ke,lt)=>{var dt=Tt=>{try{ut(Me.next(Tt))}catch(xt){lt(xt)}},yt=Tt=>{try{ut(Me.throw(Tt))}catch(xt){lt(xt)}},ut=Tt=>Tt.done?ke(Tt.value):Promise.resolve(Tt.value).then(dt,yt);ut((Me=Me.apply(xe,Ae)).next())});const de=Mt.default.TextArea,le=xe=>{var Ae=xe,{newShixuns:Me,globalSetting:ke,loading:lt,dispatch:dt}=Ae,yt=te(Ae,["newShixuns","globalSetting","loading","dispatch"]);const[ut]=kt.default.useForm(),[Tt,xt]=(0,ue.useState)([]),Nt=kn=>{["uploading","done","removed"].includes(kn.file.status)&&xt(kn.fileList)},Jt=kn=>{var ci;if(!kn.percent||kn.percent==100){const et=(ci=kn.response)==null?void 0:ci.id;return Dt.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u9644\u4EF6\u5417?",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ne(void 0,null,function*(){(yield dt({type:"newShixuns/deleteAttachment",payload:{id:et}}))&&xt(Tt.filter(yn=>{var Xn;return((Xn=yn.response)==null?void 0:Xn.id)!==et}))})}),!1}},vn=kn=>Tt.length?!1:kn.size/1024/1024>50?(Wt.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0,Ai=kn=>ne(void 0,null,function*(){var ci,et;const{language:ze,env:yn,mode:Xn,code:ei}=kn||{},rn=yield dt({type:"newShixuns/applyShixunMirror",payload:{language:ze,runtime:yn,run_method:Xn,attachment_id:(et=(ci=Tt==null?void 0:Tt[0])==null?void 0:ci.response)==null?void 0:et.id}});dt({type:"newShixuns/setActionTabs",payload:{}}),rn&&Wt.ZP.success("\u65B0\u5EFA\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u7BA1\u7406\u5458\u5BA1\u6838\u3002")}),hi=()=>{ut.resetFields(),xt([])};return ue.createElement(Dt.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Me.actionTabs.key==="NewShixuns-Apply",title:"\u7533\u8BF7\u65B0\u5EFA",width:"1000px",footer:null,afterClose:hi},ue.createElement("section",{className:St.qrCode},ue.createElement("aside",{className:St.a1},ue.createElement("div",{className:St.code},ue.createElement("img",{width:120,height:120,src:pt,alt:"\u4E8C\u7EF4\u7801"})),ue.createElement("div",{className:St.group},"\u5B9E\u9A8C\u73AF\u5883\u7533\u8BF7QQ\u7FA4"),ue.createElement("div",{className:St.groupNumber},"\u7FA4\u53F7\uFF1A740157011")),ue.createElement("aside",{className:St.a2},"\u5C0A\u656C\u7684\u8001\u5E08/\u540C\u5B66\u60A8\u597D\uFF0C",ue.createElement("br",null),"\u5982\u679C\u60A8\u60F3\u65B0\u5EFA\u5B9E\u9A8C\u73AF\u5883\uFF0C\u53EF\u4EE5\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u8FDB\u7FA4\uFF0C\u76F4\u63A5\u5411\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u7533\u8BF7\u54E6~ \u4E5F\u53EF\u4EE5\u63D0\u4EA4\u4E0B\u9762\u7684\u8868\u5355\u7533\u8BF7\uFF0C\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u6536\u5230\u7533\u8BF7\u4FE1\u606F\u5C06\u4F1A\u7B2C\u4E00\u65F6\u95F4\u8054\u7CFB\u60A8\uFF01")),ue.createElement(kt.default,{className:St.formWrap,form:ut,labelCol:{span:4},wrapperCol:{span:20},onFinish:Ai},ue.createElement(kt.default.Item,{label:"\u8BED\u8A00\uFF1A",name:"language",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00"}]},ue.createElement(de,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48\u8BED\u8A00\uFF1A\u793A\u4F8B\uFF1APython",rows:4})),ue.createElement(kt.default.Item,{label:"\u7CFB\u7EDF\u73AF\u5883\uFF1A",name:"env",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00\u7CFB\u7EDF\u73AF\u5883"}]},ue.createElement(de,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48linux\u7CFB\u7EDF\u73AF\u5883,\u4EE3\u7801\u8FD0\u884C\u73AF\u5883",rows:4})),ue.createElement(kt.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F\uFF1A",name:"mode",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F"}]},ue.createElement(de,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u4E2D\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F",rows:4})),ue.createElement(kt.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\uFF1A",name:"code",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},ue.createElement("div",{className:St.upload},ue.createElement(Ve.default,{fileList:Tt,action:`${wt.Z.API_SERVER}/api/attachments.json?client_key=6d57f8c3dd186c5ada392546ace9620a`,onChange:Nt,onRemove:Jt,beforeUpload:vn,withCredentials:!0},ue.createElement("span",{className:`${St.color0152d9} current`},"\u4E0A\u4F20\u9644\u4EF6"),ue.createElement("span",{className:`${St.colorCCC} ml10`},"(\u5355\u4E2A\u6587\u4EF650M\u4EE5\u5185)")))),ue.createElement("div",{className:St.footerWrap},ue.createElement(kt.default.Item,null,ue.createElement(bt.ZP,{className:"mr5",size:"middle",onClick:()=>{dt({type:"newShixuns/setActionTabs",payload:{}})}},"\u53D6\u6D88"),ue.createElement(bt.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:lt["newShixuns/applyShixunMirror"]},"\u4FDD\u5B58")))))};var pe=(0,it.connect)(({newShixuns:xe,loading:Ae,globalSetting:Me})=>({newShixuns:xe,globalSetting:Me,loading:Ae.effects}))(le)},55508:function(en,jn,Pe){"use strict";var ue=Pe(59301),it=Pe(89070),Mt=Pe(43418),kt=Pe(55351);const Dt=({newShixuns:Wt,dispatch:Ve,user:bt})=>{var wt;const[pt,St]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{Wt.actionTabs.key==="Create-Environment"&&Zt()},[(wt=Wt==null?void 0:Wt.actionTabs)==null?void 0:wt.key]);const Ut=()=>{Ve({type:"newShixuns/setActionTabs",payload:{}})},Zt=()=>{var Oe,te,ne,de;Ut(),((Oe=bt.userInfo)==null?void 0:Oe.mirror_marker_status)===0?St(!0):((te=bt.userInfo)==null?void 0:te.mirror_marker_status)===1?it.history.push(`/users/${(ne=bt.userInfo)==null?void 0:ne.login}/experiment-img/add`):((de=bt.userInfo)==null?void 0:de.mirror_marker_status)===2&&Mt.default.confirm({title:"\u60A8\u4ECA\u65E5\u5DF2\u8FBE\u5230\u7533\u8BF7\u4E0A\u9650\uFF0C\u662F\u5426\u8DF3\u8F6C\u81F3\u4E91\u4E3B\u673A\u5217\u8868\uFF1F",content:"\u63D0\u793A\uFF1A\u6BCF\u5929\u6700\u591A\u5141\u8BB8\u7533\u8BF7\u4E00\u53F0\u4E91\u4E3B\u673A",okText:"\u8DF3\u8F6C",cancelText:"\u53D6\u6D88",onOk(){var le;it.history.push(`/users/${(le=bt.userInfo)==null?void 0:le.login}/experiment-img`)}})};return ue.createElement(Mt.default,{title:"\u52A0\u5165qq\u7FA4\u63D0\u793A",open:pt,footer:null,onCancel:()=>{St(!1)}},ue.createElement("div",{style:{textAlign:"center"}},ue.createElement("br",null),ue.createElement("img",{width:120,height:120,style:{marginTop:"20px"},src:kt,alt:"\u4E8C\u7EF4\u7801"})),ue.createElement("img",null))};jn.Z=(0,it.connect)(({newShixuns:Wt,user:Ve,globalSetting:bt})=>({newShixuns:Wt,globalSetting:bt,user:Ve}))(Dt)},4901:function(en,jn,Pe){"use strict";Pe.d(jn,{BU:function(){return it},Dj:function(){return ue},gH:function(){return Mt},vp:function(){return kt}});function ue(Dt){try{Dt.mozRequestFullScreen?Dt.mozRequestFullScreen():Dt.webkitRequestFullScreen&&Dt.webkitRequestFullScreen()}catch(Wt){console.log(Wt,":e")}}function it(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const Mt=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function kt(){var Dt=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,Wt=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",Dt),window.isFullScreen?window.isFullScreen:Dt!=null}},24768:function(en,jn,Pe){"use strict";Pe.d(jn,{AL:function(){return Ae},Iy:function(){return St},Qv:function(){return Oe},ez:function(){return xe},jb:function(){return Ut}});var ue=Pe(32834),it=Pe.n(ue),Mt=Pe(11690),kt=Pe.n(Mt);let Dt=1;function Wt(yt,ut){const Tt=yt.match(/^(\s+)(?:```)/);if(Tt===null)return ut;const xt=Tt[1];return ut.split(` + `,onClick:()=>ya(mi.type,Qn)})),kn.createElement(Wt.Z,{spinning:$t},Wi(mi.type)?kn.createElement("div",{style:{marginTop:(mi==null?void 0:mi.type)=="CPU"?Hi?"7%":"":sr?"7%":""}},kn.createElement(Ae,{dataInfo:{y:to(Mn,mi==null?void 0:mi.type,1)||[],x:to(Mn,mi==null?void 0:mi.type,0)||[]},startAndEndTime:rt,colors:So,indexKey:Qn,valueName:Mn.map(nr=>nr.name),imageTypeName:Mn.map(nr=>{var nn;return(nn=nr==null?void 0:nr.promQueryResult)==null?void 0:nn.imageTypeName}),key:`${Qn}-${Lr}`}),kn.createElement("div",{className:ke.info_con},kn.createElement("div",{className:ke.info_top},kn.createElement("div",null,"\u6700\u5927\u503C"),kn.createElement("div",null,"\u6700\u5C0F\u503C"),kn.createElement("div",null,"\u5E73\u5747\u503C")),Mn.map((nr,nn)=>{var _t;let Rt=nr==null?void 0:nr.promQueryResult;return kn.createElement("div",{className:ke.listdata,key:nn},kn.createElement("div",{className:ke.block,style:{backgroundColor:So[nn],marginRight:10}}),kn.createElement("div",{className:ke.typename},(_t=nr==null?void 0:nr.promQueryResult)==null?void 0:_t.imageTypeName),kn.createElement("div",{className:ke.val},(mi==null?void 0:mi.type)=="CPU"?`${Rt==null?void 0:Rt.cpuMaxDoubleValue}Cores`:`${Rt==null?void 0:Rt.memoryDoubleMaxValue}MiB`),kn.createElement("div",{className:ke.val},(mi==null?void 0:mi.type)=="CPU"?`${Rt==null?void 0:Rt.cpuMinDoubleValue}Cores`:`${Rt==null?void 0:Rt.memoryDoubleMinValue}MiB`),kn.createElement("div",{className:ke.val},(mi==null?void 0:mi.type)=="CPU"?`${Rt==null?void 0:Rt.cpuAvgDoubleValue}Cores`:`${Rt==null?void 0:Rt.memoryDoubleAvgValue}MiB`))}))):kn.createElement(Ai.Z,null)))))},ei=Pe(59301),on=(Fn,ri,ni)=>new Promise((mn,zt)=>{var $e=Ie=>{try{Yt(ni.next(Ie))}catch(Ce){zt(Ce)}},At=Ie=>{try{Yt(ni.throw(Ie))}catch(Ce){zt(Ce)}},Yt=Ie=>Ie.done?mn(Ie.value):Promise.resolve(Ie.value).then($e,At);Yt((ni=ni.apply(Fn,ri)).next())}),Dn=({getApi:Fn,identifier:ri,visible:ni,info:mn})=>{const[zt,$e]=(0,ue.useState)({}),[At,Yt]=(0,ue.useState)(!0);(0,ue.useEffect)(()=>{Yt(!0)},[ni]),(0,ue.useEffect)(()=>{Fn&&At&&Ie()},[Fn]);const Ie=()=>on(void 0,null,function*(){const Ce=yield(0,Oe.ZP)(`/api/shixuns/${ri}/cpu_basic_data.json`,{method:"get"});(Ce==null?void 0:Ce.status)==0&&$e(Ce)});return ei.createElement("div",null,ei.createElement(Xn,{isFirst:At,setIsFirst:Ce=>Yt(Ce),identifier:ri,data:zt,info:mn}))},yi=Pe(955),qn=Pe(89070),Mi=Pe(49692),mt=Pe(46474),ht=Pe(59301),gn=(Fn,ri,ni)=>new Promise((mn,zt)=>{var $e=Ie=>{try{Yt(ni.next(Ie))}catch(Ce){zt(Ce)}},At=Ie=>{try{Yt(ni.throw(Ie))}catch(Ce){zt(Ce)}},Yt=Ie=>Ie.done?mn(Ie.value):Promise.resolve(Ie.value).then($e,At);Yt((ni=ni.apply(Fn,ri)).next())});const jt=({globalSetting:Fn,dispatch:ri,practiceSetting:ni,shixunsDetail:mn,visible:zt,onCancel:$e,info:At,identifier:Yt,isJupyter:Ie,onOk:Ce})=>{const[Ee,Te]=(0,ue.useState)("1"),[Ue,Le]=(0,ue.useState)("\u63A8\u8350\u914D\u7F6E"),[rt,Sn]=(0,ue.useState)([]),[fn,an]=(0,ue.useState)(!1),[$t,fi]=(0,ue.useState)(!1),[Mn,On]=(0,ue.useState)({}),[Hi,Si]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{zt&&(fi(!1),Te("1"),Le("\u63A8\u8350\u914D\u7F6E"),(At==null?void 0:At.type)=="\u6311\u6218\u9875\u9762"?Sn(["\u5F53\u524D\u914D\u7F6E","\u63A8\u8350\u914D\u7F6E"]):Sn(["\u5F53\u524D\u914D\u7F6E","\u63A8\u8350\u914D\u7F6E","\u589E\u5F3A\u914D\u7F6E"]),On({}),sr(),(At==null?void 0:At.type)=="\u6311\u6218\u9875\u9762"&&ri({type:"shixunsDetail/getShixunsDetail",payload:{id:Yt}}))},[zt]);const sr=()=>gn(void 0,null,function*(){Si(!0);const Eo=yield(0,Mi.HS)(Yt);[0,-10].includes(Eo.status)&&(On(Eo),Si(!1))}),ro=Eo=>{Eo=="2"?fi(!0):fi(!1),Te(Eo)},Wo=()=>{it.default.info({centered:!0,icon:null,width:424,title:"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458",content:ht.createElement("div",{className:"tc"},ht.createElement("img",{src:Ut,alt:"\u4E8C\u7EF4\u7801",width:182,height:182,style:{pointerEvents:"none",userSelect:"none"}})),okText:"\u6211\u77E5\u9053\u4E86"})},No=()=>gn(void 0,null,function*(){if((0,mt.gy)(ri,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")||Ue=="\u5F53\u524D\u914D\u7F6E")return;an(!0),(yield(0,Oe.ZP)(`/api/shixuns/${Yt}/apply_recommend_config.json`,{method:"put",body:{data:Ue=="\u63A8\u8350\u914D\u7F6E"?Mn==null?void 0:Mn.recommend:Mn==null?void 0:Mn.high}})).status==0&&(Mt.ZP.success("\u5E94\u7528\u6210\u529F"),an(!1),$e(),Ce())}),Lr=()=>gn(void 0,null,function*(){var Eo,Tr;if(yield Ko(),(0,yi.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),(Eo=mn.detail)!=null&&Eo.is_jupyter||(Tr=mn.detail)!=null&&Tr.is_jupyter_lab){ri({type:"shixunsDetail/execJupyter",payload:{id:Yt}}).then(ya=>{var to;ya!=null&&ya.identifier&&((to=qn.history)==null||to.push(`/tasks/${ya.identifier}/jupyter`))});return}ri({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const Be=Ie?yield(0,Mi.BK)({id:Yt}):yield(0,Mi.Ir)({id:Yt});if(ri({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),Be!=null&&Be.game_identifier||Be!=null&&Be.identifier){(0,yi.xg)(Ie?`/tasks/${Be==null?void 0:Be.identifier}/jupyter`:`/tasks/${Be.game_identifier}`);return}(Be==null?void 0:Be.status)===-3?(0,yi.eF)():(Be==null?void 0:Be.status)===2?Oo(Be==null?void 0:Be.message):(Be==null?void 0:Be.status)===3&&So(Be==null?void 0:Be.message)}),Ko=()=>new Promise((Eo,Tr)=>{var Be;(Be=ni==null?void 0:ni.sideBar)!=null&&Be.confirmLeave?it.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{ri({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Eo()},onCancel:()=>{Tr()}}):Eo()}),Oo=Eo=>{Eo=Eo!=null&&Eo.includes(".json")?Eo:`${Eo}.json`,it.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ht.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>gn(void 0,null,function*(){const Tr=yield(0,Oe.ZP)("/api"+Eo,{method:"get"});if(!Tr)return;Mt.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Be=yield(0,Mi.Ir)({id:Tr.shixun_identifier});if(Be!=null&&Be.game_identifier){(0,yi.xg)(`/tasks/${Be.game_identifier}`);return}(Be==null?void 0:Be.status)===2?Oo(Be==null?void 0:Be.message):(Be==null?void 0:Be.status)===3&&So(Be==null?void 0:Be.message)})})},So=Eo=>{it.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ht.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Eo,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})};return ht.createElement(ht.Fragment,null,ht.createElement(kt.Z,{title:null,placement:"right",open:zt,width:1e3,onClose:$e,closeIcon:null,footer:null},ht.createElement("div",{className:wt.header_body},ht.createElement("span",null,"\u914D\u7F6E\u4E0E\u76D1\u63A7"),ht.createElement(pt.Z,{className:wt.close,onClick:$e})),ht.createElement(Dt.default,{activeKey:Ee,onChange:ro},ht.createElement(Dt.default.TabPane,{tab:"\u63A8\u8350\u914D\u7F6E",key:1},ht.createElement(Wt.Z,{spinning:Hi,size:"large",tip:ht.createElement("div",{style:{color:"#666",fontSize:"14px"}},ht.createElement("div",{style:{color:"#232B40",fontWeight:"bolder",marginBottom:24,marginTop:14}},"\u6B63\u5728\u8BA1\u7B97\u2026"),ht.createElement("div",{style:{lineHeight:"26px"}},"\u7CFB\u7EDF\u6B63\u5728\u6839\u636E\u5B9E\u8DF5\u9879\u76EE\u4F7F\u7528\u7684\u5B9E\u9645\u60C5\u51B5\u8BA1\u7B97\u63A8\u8350\u914D\u7F6E",ht.createElement("br",null),"\u8BF7\u8010\u5FC3\u7B49\u5F85\u2026"))},(Mn==null?void 0:Mn.status)==0?ht.createElement(ht.Fragment,null,ht.createElement("div",{className:wt.recommend_config_introduce},ht.createElement("div",null,"\u5F53\u524D\u914D\u7F6E\uFF1A\u5B9E\u9A8C\u73AF\u5883\u76EE\u524D\u5DF2\u7ECF\u914D\u7F6E\u7684\u8D44\u6E90\u3002"),ht.createElement("div",null,"\u63A8\u8350\u914D\u7F6E\uFF1A\u7CFB\u7EDF\u6839\u636E\u5B9E\u8DF5\u9879\u76EE\u4F7F\u7528\u7684\u5B9E\u9645\u60C5\u51B5\uFF0C\u8BA1\u7B97\u51FA\u63A8\u8350\u914D\u7F6E\u3002\u4F7F\u7528\u7684\u4EBA\u8D8A\u591A\uFF0C\u63A8\u8350\u8D8A\u51C6\u786E\u3002"),ht.createElement("div",null,"\u589E\u5F3A\u914D\u7F6E\uFF1A\u9002\u7528\u4E8E\u8D44\u6E90\u6D88\u8017\u8F83\u9AD8\u7684\u5B9E\u8DF5\u9879\u76EE\u3002")),ht.createElement("div",{className:wt.recommend_config},rt.map((Eo,Tr)=>ht.createElement("div",{className:`${wt.recommend_config_item} ${Eo==Ue?wt.recommend_config_active_item:""}`,key:Eo,onClick:()=>Le(Eo)},ht.createElement("div",{className:wt.item_title},ht.createElement("div",null,Eo),Tr==1?ht.createElement("div",{className:wt.recommend_text},"\u63A8\u8350"):ht.createElement(ht.Fragment,null)),(Eo=="\u5F53\u524D\u914D\u7F6E"&&(Mn==null?void 0:Mn.current)||Eo=="\u63A8\u8350\u914D\u7F6E"&&(Mn==null?void 0:Mn.recommend)||Eo=="\u589E\u5F3A\u914D\u7F6E"&&(Mn==null?void 0:Mn.high)||[]).map((Be,ya)=>ht.createElement("div",{className:wt.item_content,key:ya},ht.createElement("span",null,Be==null?void 0:Be.image_name),Be!=null&&Be.cpu_limit?ht.createElement("span",null,Be==null?void 0:Be.cpu_limit,"\u6838",Be==null?void 0:Be.memory_limit,"G"):ht.createElement("div",null,ht.createElement("span",null,"\u6682\u65E0\u63A8\u8350"),ht.createElement(Ve.Z,{title:ht.createElement("div",{style:{lineHeight:"22px",padding:5}},"\u5B9E\u9A8C\u73AF\u5883\u4E3A\u7279\u6B8A\u7684\u4E13\u6709\u4E91\u6216\u65E0\u4F7F\u7528\u6570",ht.createElement("br",null),"\u636E\uFF0C\u7CFB\u7EDF\u65E0\u6CD5\u7ED9\u51FA\u63A8\u8350\u503C\u3002\u4E00\u952E\u5E94\u7528",ht.createElement("br",null),"\u7684\u65F6\u5019\uFF0C\u5C06\u4F7F\u7528\u539F\u914D\u7F6E\u3002")},ht.createElement(St.Z,{className:wt.tooltip})))))))),ht.createElement("div",{className:wt.recommend_config_footer},ht.createElement("div",null,ht.createElement("span",null,"\u6CA1\u627E\u5230\u5408\u9002\u7684\u914D\u7F6E\uFF1F"),ht.createElement("span",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>Wo()},"\u8054\u7CFB\u7BA1\u7406\u5458")),ht.createElement(bt.ZP,{type:"primary",shape:"round",disabled:Ue=="\u5F53\u524D\u914D\u7F6E",onClick:No,loading:fn},"\u4E00\u952E\u5E94\u7528"))):Hi?ht.createElement("div",{style:{height:400}}):ht.createElement("div",{className:wt.no_data},ht.createElement("img",{src:Zt,style:{pointerEvents:"none",userSelect:"none",width:212,height:160}}),ht.createElement("p",{className:"mt20 mb20 font14",style:{color:"#7B8394",width:"100%",lineHeight:"26px"}},"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u6CA1\u6709\u4EFB\u4F55\u4EBA\u4F7F\u7528\u8FC7\uFF0C\u7CFB\u7EDF\u65E0\u6CD5\u6839\u636E\u5B9E\u9645\u4F7F\u7528\u60C5\u51B5\u7ED9\u51FA\u63A8\u8350\u914D\u7F6E\u3002",ht.createElement("br",null),"\u5EFA\u8BAE\u60A8\u5148\u6A21\u62DF\u5B9E\u6218\u5E76\u901A\u5173~"),(At==null?void 0:At.type)!="\u6311\u6218\u9875\u9762"&&ht.createElement("div",{className:wt.application,onClick:()=>{Lr(),$e()}},"\u6A21\u62DF\u5B9E\u6218")))),ht.createElement(Dt.default.TabPane,{tab:"\u8D44\u6E90\u76D1\u63A7",key:2},ht.createElement(Dn,{getApi:$t,identifier:Yt,visible:zt,info:At})))))};var En=(0,qn.connect)(({globalSetting:Fn,practiceSetting:ri,shixunsDetail:ni})=>({globalSetting:Fn,practiceSetting:ri,shixunsDetail:ni}))(jt)},1535:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return ut}});var ue=Pe(59301),it=Pe(43418),Mt=Pe(3113),kt=Pe(8591),Dt=Pe(99313),Wt=Pe(71418),Ve=Pe(10311),bt=Pe(5871),wt=Pe(1710),pt={modal:"modal___aF6vS",con_warp:"con_warp___W1gHS",flex:"flex___Cbe__",config_Warp:"config_Warp___lXnUZ",config_btn:"config_btn___OAH7T",sceneList:"sceneList___N5Y3k",sceneItem:"sceneItem____bE1H",sceneItemActive:"sceneItemActive___e82B8"},St=Pe(11724),Ut=Pe(62772),Zt=Pe(99064),Oe=Pe(8797),te=Pe(59301),ne=Object.defineProperty,de=Object.defineProperties,le=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Me=(Ot,xt,Nt)=>xt in Ot?ne(Ot,xt,{enumerable:!0,configurable:!0,writable:!0,value:Nt}):Ot[xt]=Nt,ke=(Ot,xt)=>{for(var Nt in xt||(xt={}))xe.call(xt,Nt)&&Me(Ot,Nt,xt[Nt]);if(pe)for(var Nt of pe(xt))Ae.call(xt,Nt)&&Me(Ot,Nt,xt[Nt]);return Ot},lt=(Ot,xt)=>de(Ot,le(xt)),dt=(Ot,xt,Nt)=>new Promise((Jt,vn)=>{var Ai=ci=>{try{kn(Nt.next(ci))}catch(et){vn(et)}},hi=ci=>{try{kn(Nt.throw(ci))}catch(et){vn(et)}},kn=ci=>ci.done?Jt(ci.value):Promise.resolve(ci.value).then(Ai,hi);kn((Nt=Nt.apply(Ot,xt)).next())}),ut=({visible:Ot,onOk:xt,onCancel:Nt,info:Jt})=>{var vn,Ai,hi,kn,ci;const[et,ze]=(0,ue.useState)("1"),[yn,Xn]=(0,ue.useState)([]),[ei,on]=(0,ue.useState)([]),[xn,Dn]=(0,ue.useState)(0),[yi,qn]=(0,ue.useState)(null),[Mi,mt]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{Ot&&(ht(),gn(),jt())},[Ot]);const ht=()=>{ze("1"),Xn([]),qn(null),Dn(0)};(0,ue.useEffect)(()=>{var At,Yt;((Yt=(At=ei==null?void 0:ei[xn])==null?void 0:At.content)==null?void 0:Yt.length)>0&&qn(lt(ke({},ei[xn].content[0]),{index:0}))},[et,xn,ei]);const gn=()=>dt(void 0,null,function*(){mt(!0),yield(0,Zt.ZP)("/api/home/cpu_memory_limit.json",{method:"GET"}).then(At=>{let{max_cpu:Yt,max_memory:Ie,min_cpu:Ce,min_memory:Ee}=At,{cpu:Te,memory:Ue}=Jt;Xn([{name:"CPU",value:Te,min:Ce,max:Yt,typeName:"\u6838"},{name:"\u5185\u5B58",value:Ue,min:Ee,max:Ie,typeName:"GB"}])}),mt(!1)}),jt=()=>dt(void 0,null,function*(){yield(0,Zt.ZP)("/api/home/example_cpu_list.json",{method:"GET"}).then(At=>{var Yt;if(on(At),(At==null?void 0:At.length)>0){let Ie=lt(ke({},(Yt=At==null?void 0:At[0])==null?void 0:Yt.content[0]),{index:0});qn(Ie)}})}),En=At=>{ze(At),At==="2"&&Dn(0)},Fn=(At,Yt)=>{Xn(yn.map(Ie=>Ie.name===At?Yt(Ie):Ie))},ri=(At,Yt)=>{isNaN(At)||Fn(Yt,Ie=>lt(ke({},Ie),{value:At}))},ni=At=>{var Yt;if(console.log("decline",At.value),At.value=Number(At.value),At.value<=((Yt=At.min)!=null?Yt:-1/0))return;let Ie=At.value-.5lt(ke({},Ce),{value:Ie}))},mn=At=>{var Yt;if(At.value=Number(At.value),At.value>=((Yt=At.max)!=null?Yt:1/0))return;let Ie=At.value+.5>At.max?At.max:At.value+.5;Fn(At.name,Ce=>lt(ke({},Ce),{value:Ie}))},zt=(At,Yt)=>{isNaN(At)||Fn(Yt,Ie=>lt(ke({},Ie),{value:At}))},$e=At=>{if(At==null||Number.isInteger(At))return At;const Yt=At%1;return Yt===.5?At:Math.floor(At)+(Yt<.5?.5:1)};return te.createElement(te.Fragment,null,te.createElement(it.default,{title:"\u8D44\u6E90\u914D\u7F6E",open:Ot,width:752,destroyOnClose:!0,centered:!0,onCancel:Nt,className:pt.modal,footer:[te.createElement("div",{className:pt.btn_warp,key:"1"},te.createElement(Mt.ZP,{onClick:Nt},"\u53D6\u6D88"),te.createElement(Mt.ZP,{type:"primary",onClick:()=>{let At=ke({},Jt);if(et=="1")At.cpu=yn[0].value,At.memory=yn[1].value;else if(et=="2"){if(!yi){kt.ZP.error("\u8BF7\u9009\u62E9\u4E00\u6761\u573A\u666F\u5BF9\u5E94\u7684CPU\u4E0E\u5185\u5B58");return}At=lt(ke({},At),{cpu:yi.cpu,memory:yi.memory})}xt(At)}},"\u4FDD\u5B58"))]},te.createElement(Dt.default,{activeKey:et,onChange:En},te.createElement(Dt.default.TabPane,{tab:"\u81EA\u5B9A\u4E49\u914D\u7F6E",key:1},te.createElement(Wt.Z,{spinning:Mi},yn==null?void 0:yn.map(At=>te.createElement("div",{className:pt.con_warp,key:At==null?void 0:At.name},te.createElement("div",null,At==null?void 0:At.name),te.createElement("div",null,te.createElement(Ve.Z,{min:At==null?void 0:At.min,max:At==null?void 0:At.max,onChange:Yt=>ri(Yt,At==null?void 0:At.name),value:At==null?void 0:At.value,step:.5,style:{width:482,height:6,margin:"0 20px 0 12px"}})),te.createElement("div",{className:`${pt.config_Warp} ${pt.flex}`},te.createElement("div",{className:`${pt.config_btn} ${pt.flex}`,onClick:()=>ni(At)},te.createElement(St.Z,null)),te.createElement(bt.Z,{min:At==null?void 0:At.min,max:At==null?void 0:At.max,size:"large",step:"0.1",controls:!1,style:{width:50},value:At==null?void 0:At.value,onChange:Yt=>{const Ie=$e(Yt);zt(Ie,At==null?void 0:At.name)}}),te.createElement("div",{className:`${pt.config_btn} ${pt.flex}`,onClick:()=>mn(At)},te.createElement(Ut.Z,null))),te.createElement("div",null,At==null?void 0:At.typeName))))),(ei==null?void 0:ei.length)>0&&te.createElement(Dt.default.TabPane,{tab:"\u6309\u573A\u666F\u9009\u62E9",key:2},te.createElement("div",{className:pt.sceneList},ei==null?void 0:ei.map((At,Yt)=>te.createElement("div",{className:`${pt.sceneItem} ${xn==Yt&&pt.sceneItemActive}`,key:At==null?void 0:At.id,onClick:()=>{Dn(Yt)}},At==null?void 0:At.name))),((Ai=(vn=ei==null?void 0:ei[xn])==null?void 0:vn.content)==null?void 0:Ai.length)>0?te.createElement(wt.default,{rowSelection:{type:"radio",selectedRowKeys:[yi==null?void 0:yi.index],onChange:(At,Yt)=>{qn(Yt[0])}},columns:[{title:"CPU",dataIndex:"cpu",align:"center",render:(At,Yt)=>te.createElement("div",null,At,"\u6838")},{title:"\u5185\u5B58",dataIndex:"memory",align:"center",render:(At,Yt)=>te.createElement("div",null,At,"GB")}],dataSource:(hi=ei==null?void 0:ei[xn])==null?void 0:hi.content.map((At,Yt)=>lt(ke({},At),{index:Yt})),rowKey:"index",pagination:!1,scroll:((ci=(kn=ei==null?void 0:ei[xn])==null?void 0:kn.content)==null?void 0:ci.length)>3?{y:148}:{}}):te.createElement(Oe.Z,null)))))}},44373:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return yt}});var ue=Pe(59301),it=Pe(89070),Mt=Pe(43418),kt=Pe(8591),Dt=Pe(3113),Wt=Pe(24905),Ve=Pe(5112),bt=Pe(88522),wt=Pe(49127),pt=Pe(5083),St=Pe(5871),Ut=Pe(10527),Zt=Pe(9165),Oe=Pe(46474),te=Pe(61186),ne=Pe.n(te),de={wrap:"wrap___LhoYE",labelWrap:"labelWrap___kKVu_",label:"label___we33R",labelContent:"labelContent___RWgKj",flexRow:"flexRow___WhVXT",color999:"color999___R1ot6",radio:"radio___S0Uhc",selectSchool:"selectSchool___egsX3",dataPicker:"dataPicker___zNtLB",modal:"modal___J1s9f",colorOrange:"colorOrange___NDyE2",colorYellow:"colorYellow___Ijswi",bottomButton:"bottomButton___sODGQ"},le=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,Ae=(ut,Ot)=>{var xt={};for(var Nt in ut)pe.call(ut,Nt)&&Ot.indexOf(Nt)<0&&(xt[Nt]=ut[Nt]);if(ut!=null&&le)for(var Nt of le(ut))Ot.indexOf(Nt)<0&&xe.call(ut,Nt)&&(xt[Nt]=ut[Nt]);return xt},Me=(ut,Ot,xt)=>new Promise((Nt,Jt)=>{var vn=kn=>{try{hi(xt.next(kn))}catch(ci){Jt(ci)}},Ai=kn=>{try{hi(xt.throw(kn))}catch(ci){Jt(ci)}},hi=kn=>kn.done?Nt(kn.value):Promise.resolve(kn.value).then(vn,Ai);hi((xt=xt.apply(ut,Ot)).next())});const ke=ut=>{if(!ut)return ut;const Ot=ut.split(":");if(Ot[1]=="00"||Ot[1]=="30")return ut;const xt=parseInt(Ot[1]);if(xt<30||xt==60)return[Ot[0],"30"].join(":");if(xt<60){const Nt=[Ot[0],"00"].join(":"),Jt="YYYY-MM-DD HH:mm",vn=ne()(Nt,Jt);return vn.add(1,"hours"),vn.format(Jt)}return ut},lt="YYYY-MM-DD HH:mm",dt=ut=>{var Ot=ut,{shixunsDetail:xt,globalSetting:Nt,loading:Jt,user:vn,dispatch:Ai}=Ot,hi=Ae(Ot,["shixunsDetail","globalSetting","loading","user","dispatch"]),kn,ci,et,ze,yn,Xn,ei,on,xn;const Dn=(0,ue.useRef)(),[yi,qn]=(0,ue.useState)(),[Mi,mt]=(0,ue.useState)(),[ht,gn]=(0,ue.useState)([]),[jt,En]=(0,ue.useState)([]),[Fn,ri]=(0,ue.useState)(""),[ni,mn]=(0,ue.useState)(),[zt,$e]=(0,ue.useState)(),[At,Yt]=(0,ue.useState)(),Ie=(ci=(kn=vn.userInfo)==null?void 0:kn.shixun)==null?void 0:ci.editable;(0,ue.useEffect)(()=>{var rt,Sn;Dn.current=(Sn=(rt=location.pathname)==null?void 0:rt.split("/"))==null?void 0:Sn[2],Ce()},[]),(0,ue.useEffect)(()=>{var rt,Sn,fn,an,$t,fi,Mn,On,Hi,Si,sr,ro;xt.setting&&(qn((Sn=(rt=xt.setting)==null?void 0:rt.shixun)==null?void 0:Sn.can_copy),mt((an=(fn=xt.setting)==null?void 0:fn.shixun)==null?void 0:an.use_scope),mn(!!((fi=($t=xt.setting)==null?void 0:$t.shixun)!=null&&fi.opening_time)),$e((On=(Mn=xt.setting)==null?void 0:Mn.shixun)==null?void 0:On.opening_time),gn((Si=(Hi=xt.setting)==null?void 0:Hi.shixun)==null?void 0:Si.scope_partment),Yt((ro=(sr=xt.setting)==null?void 0:sr.shixun)==null?void 0:ro.git_size))},[xt.setting]);const Ce=rt=>Me(void 0,null,function*(){const Sn=yield Ai({type:"shixunsDetail/getDepartments",payload:{q:rt}});Sn&&En(Sn.shools_name||[])}),Ee=()=>Me(void 0,null,function*(){var rt,Sn,fn,an,$t,fi;const Mn=(yield Ai({type:"shixunsDetail/getShixunQuote",payload:{id:Dn.current}}))||{};Mt.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:520,content:ue.createElement("div",{className:`tc font14 ${de.modal}`},!!((rt=Mn.subjects)!=null&&rt.length)&&ue.createElement(ue.Fragment,null,ue.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230 ",(fn=(Sn=Mn.subjects)==null?void 0:Sn.splice(0,2))==null?void 0:fn.map(On=>`\u300A${On}\u300B`),"\u7B49",ue.createElement("span",{className:de.colorOrange},Mn==null?void 0:Mn.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),ue.createElement("br",null)),!!((an=Mn.courses)!=null&&an.length)&&ue.createElement(ue.Fragment,null,ue.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(fi=($t=Mn.courses)==null?void 0:$t.splice(0,2))==null?void 0:fi.map(On=>`\u300A${On}\u300B`),"\u7B49",ue.createElement("span",{className:de.colorOrange},Mn==null?void 0:Mn.courses_count),"\u4E2A\u6559\u5B66\u8BFE\u5802"),ue.createElement("br",null)),ue.createElement("span",{className:`${de.colorYellow} mt30`},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE\u5C06\u5F71\u54CD\u8BFE\u7A0B\u53CA\u8BFE\u5802\u5BF9\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u4F7F\u7528\uFF01\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")),onOk:()=>Me(void 0,null,function*(){(yield Ai({type:"shixunsDetail/deleteShixun",payload:{id:Dn.current}})).status===1&&(kt.ZP.success("\u64CD\u4F5C\u6210\u529F"),it.history.push("/shixuns"))})})}),Te=()=>{(0,Oe.gy)(Ai,"\u4E0D\u80FD\u8FDB\u884C\u5220\u9664")},Ue=rt=>{if(ht.includes(rt)){kt.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}ri(null),gn([...ht,rt])},Le=()=>Me(void 0,null,function*(){if(ni&&!zt){kt.ZP.info("\u8BF7\u9009\u62E9\u5F00\u542F\u65F6\u95F4");return}if(Mi===1&&!ht.length){kt.ZP.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00");return}(yield Ai({type:"shixunsDetail/updatePermissionSetting",payload:{id:Dn.current,scope_partment:Mi===0?null:ht,shixun:{can_copy:yi,use_scope:Mi,opening_time:zt,git_size:At}}})).status!==-1&&(kt.ZP.info("\u6743\u9650\u914D\u7F6E\u4FDD\u5B58\u6210\u529F\uFF01"),Ai({type:"shixunsDetail/getSettingsData",payload:{id:Dn.current}}),Ai({type:"shixunsDetail/getShixunsDetail",payload:{id:Dn.current}}))});return ue.createElement("div",null,ue.createElement("section",{className:de.wrap},ue.createElement("div",{style:{position:"absolute",top:"25px",right:"25px"}},((et=xt==null?void 0:xt.detail)==null?void 0:et.shixun_status)!==2?ue.createElement(Dt.ZP,{danger:!0,onClick:Ee},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE"):ue.createElement(Dt.ZP,{danger:!0,onClick:Te},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE")),ue.createElement("div",{className:de.labelWrap},ue.createElement("label",{className:de.label},"\u590D\u5236\uFF1A"),ue.createElement("div",{className:de.labelContent},ue.createElement("div",null,ue.createElement(Wt.default,{checked:yi,onChange:rt=>qn(rt.target.checked),disabled:!Ie}),ue.createElement("span",{className:`${de.color999}`},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u8BE5\u5B9E\u8BAD\uFF09")))),!((((ze=xt.detail)==null?void 0:ze.shixun_status)>1||((yn=xt.detail)==null?void 0:yn.public)===2)&&((ei=(Xn=xt.setting)==null?void 0:Xn.shixun)==null?void 0:ei.use_scope)===0&&((on=xt.detail)==null?void 0:on.identity)>2)&&ue.createElement("div",{className:de.labelWrap},ue.createElement("label",{className:de.label},"\u516C\u5F00\u7A0B\u5EA6\uFF1A"),ue.createElement("div",{className:de.labelContent},ue.createElement(Ve.ZP.Group,{value:Mi,onChange:rt=>mt(rt.target.value),disabled:!Ie},ue.createElement(Ve.ZP,{className:de.radio,value:0},ue.createElement("span",null,"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00"),ue.createElement("span",{className:de.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),ue.createElement(Ve.ZP,{className:de.radio,value:1},ue.createElement("span",null,"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"),ue.createElement("span",{className:de.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09"))),Mi===1&&ue.createElement(ue.Fragment,null,ue.createElement("div",{className:"mt10"},ue.createElement(bt.Z,{showSearch:!0,className:de.selectSchool,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:Fn,onChange:rt=>{ri(rt),Ce(rt)},disabled:!Ie,onSelect:Ue,options:jt==null?void 0:jt.map(rt=>({value:rt}))}),ue.createElement("span",{className:de.color999},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09")),ue.createElement("div",{className:"mt10"},ht==null?void 0:ht.map(rt=>Ie?ue.createElement(wt.Z,{count:"x",className:"mr20 current",onClick:()=>gn(ht.filter(Sn=>Sn!==rt))},ue.createElement(Dt.ZP,{type:"primary",ghost:!0},rt)):ue.createElement(Dt.ZP,{type:"primary",ghost:!0,className:"mr20"},rt)))))),ue.createElement("div",{className:de.labelWrap},ue.createElement("label",{className:de.label},"\u5F00\u542F\u65F6\u95F4\uFF1A"),ue.createElement("div",{className:de.labelContent},ue.createElement("div",null,ue.createElement(Wt.default,{checked:ni,onChange:rt=>mn(rt.target.checked),disabled:!Ie}),ue.createElement("span",{className:`${de.color999} ml10`},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u6307\u5B9A\u7684\u5F00\u542F\u65F6\u95F4\u540E\uFF0C\u624D\u80FD\u5F00\u542F\u5B66\u4E60\uFF1B\u4E0D\u9009\u4E2D\u5219\u5B66\u5458\u5728\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u80FD\u7ACB\u5373\u5F00\u542F\u5B66\u4E60\uFF09")),ni&&ue.createElement(pt.default,{className:`${de.dataPicker} mt10`,format:lt,locale:Ut.Z,disabled:!Ie,placeholder:"\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4",showToday:!1,disabledDate:rt=>rt&&rt$e(ke(Sn))}))),((xn=vn==null?void 0:vn.userInfo)==null?void 0:xn.role)===1&&ue.createElement("div",{className:de.labelWrap,style:{alignItems:"center"}},ue.createElement("label",{className:de.label},"\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF\uFF1A"),ue.createElement("div",{className:de.labelContent},ue.createElement("div",null,ue.createElement(St.Z,{style:{width:150},placeholder:"\u8BF7\u8F93\u5165\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF",min:1,max:10240,value:At,onChange:rt=>{Yt(rt)}}),ue.createElement("span",{className:"c-grey-999"}," M "))))),ue.createElement(Zt.t,{okText:"\u4FDD\u5B58",hasOkBtn:Ie,loading:Jt.effects["shixunsDetail/updatePermissionSetting"],onCancel:()=>it.history.push(`/shixuns/${Dn.current}/challenges`),onOk:Le,className:de.bottomButton}))};var yt=(0,it.connect)(({shixunsDetail:ut,loading:Ot,globalSetting:xt,user:Nt})=>({shixunsDetail:ut,globalSetting:xt,user:Nt,loading:Ot}))(dt)},10149:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),antd__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(8591),antd__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(43418),antd__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(20834),antd__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(3113),antd__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(24905),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(5112),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(81327),antd__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(88522),antd__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(49127),antd__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(6848),antd__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(5083),antd__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(78673),antd__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5871),umi__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(89070),_index_less_modules__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(93055),moment__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(61186),moment__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_3__),antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(10527),_components_Permission__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(44373),_utils_env__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(3294),_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(46474),_utils_authority__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(24065),_utils__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(16349),React=__webpack_require__(59301),__async=(tn,jn,Pe)=>new Promise((ue,it)=>{var Mt=Wt=>{try{Dt(Pe.next(Wt))}catch(Ve){it(Ve)}},kt=Wt=>{try{Dt(Pe.throw(Wt))}catch(Ve){it(Ve)}},Dt=Wt=>Wt.done?ue(Wt.value):Promise.resolve(Wt.value).then(Mt,kt);Dt((Pe=Pe.apply(tn,jn)).next())});const timeFormat="YYYY-MM-DD HH:mm",handleDateString=tn=>{if(!tn)return tn;const jn=tn.split(":");if(jn[1]=="00"||jn[1]=="30")return tn;const Pe=parseInt(jn[1]);if(Pe<30||Pe==60)return[jn[0],"30"].join(":");if(Pe<60){const ue=[jn[0],"00"].join(":"),it="YYYY-MM-DD HH:mm",Mt=moment__WEBPACK_IMPORTED_MODULE_3___default()(ue,it);return Mt.add(1,"hours"),Mt.format(it)}return tn};function Setting({user,dispatch,shixunsDetail,practiceSetting}){var _a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n;const[MenuSelectKey,setMenuSelectKey]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("1"),[isShowSetting,setIsShowSetting]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!0),[taskPass,setTaskPass]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[testSetPermission,setTestSetPermission]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[isCopy,setIsCopy]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openValue,setOpenValue]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openAnswer,setOpenAnswer]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[selectDepartmentList,setSelectDepartmentList]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),[departmentList,setDepartmentList]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),[departmentValue,setDepartmentValue]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(""),[isOpenTime,setIsOpenTime]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[openTime,setOpenTime]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[codeEditPermission,setCodeEditPermission]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[allowFileUpload,setAllowFileUpload]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[codeHidden,setCodeHidden]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[forbidCopy,setForbidCopy]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[display_git_address,set_display_git_address]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[disableDiscuss,setDisableDiscuss]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[disableAI,setdisableAI]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[openCodeDebugger,setOpenCodeDebugger]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[startPermanent,setStartPermanent]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[openSelfRun,setOpenSelfRun]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[gitSize,setgitSize]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[course_workspace_file_time,setcourse_workspace_file_time]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),[podSwitch,setPodSwitch]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[ai_user,setai_user]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("1"),[openLocalEvaluate,setOpenLocalEvaluate]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),[resource_recommend,setresource_recommend]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1);let params=(0,umi__WEBPACK_IMPORTED_MODULE_1__.useParams)();const diffObj={forbid_copy:"forbidCopy",task_pass:"taskPass",test_set_permission:"testSetPermission",code_edit_permission:"codeEditPermission",allow_file_upload:"allowFileUpload",can_copy:"isCopy",use_scope:"openValue",open_answer_and_test:"openAnswer",opening_time:"openTime",is_disable_discuss:"disableDiscuss",display_git_address:"display_git_address",show_code_dir:"codeHidden",ai_reply:"disableAI",open_code_debugger:"openCodeDebugger",start_permanent:"startPermanent",open_self_run:"openSelfRun",exit_delete_pod_switch:"podSwitch",open_local_evaluate:"openLocalEvaluate"},editable=(_b=(_a=user.userInfo)==null?void 0:_a.shixun)==null?void 0:_b.editable,own=(_d=(_c=user.userInfo)==null?void 0:_c.shixun)==null?void 0:_d.own,handleGetDepartments=tn=>__async(this,null,function*(){const jn=yield dispatch({type:"shixunsDetail/getDepartments",payload:{q:tn}});jn&&setDepartmentList(jn.shools_name||[])});(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{var tn,jn;(jn=(tn=shixunsDetail.setting)==null?void 0:tn.shixun)!=null&&jn.main_type&&handleInitState()},[shixunsDetail.setting]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{dispatch({type:"shixunsDetail/getSettingsData",payload:params})},[]);const handleSelectDepartment=tn=>{if(selectDepartmentList.includes(tn)){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}setDepartmentValue(null),setSelectDepartmentList([...selectDepartmentList,tn])},handleInitState=()=>{var tn,jn,Pe,ue,it,Mt,kt,Dt,Wt,Ve,bt,wt,pt,St,Ut,Zt,Oe,te,ne,de,le,pe,xe,Ae,Me,ke,lt,dt,yt,ut,Ot,xt,Nt,Jt,vn,Ai,hi,kn,ci,et,ze,yn,Xn,ei,on,xn,Dn;setCodeEditPermission((jn=(tn=shixunsDetail.setting)==null?void 0:tn.shixun)==null?void 0:jn.code_edit_permission),setAllowFileUpload((ue=(Pe=shixunsDetail.setting)==null?void 0:Pe.shixun)==null?void 0:ue.allow_file_upload),setCodeHidden((Mt=(it=shixunsDetail.setting)==null?void 0:it.shixun)==null?void 0:Mt.show_code_dir),setForbidCopy((Dt=(kt=shixunsDetail.setting)==null?void 0:kt.shixun)==null?void 0:Dt.forbid_copy),setTaskPass((Ve=(Wt=shixunsDetail.setting)==null?void 0:Wt.shixun)==null?void 0:Ve.task_pass),setTestSetPermission((wt=(bt=shixunsDetail.setting)==null?void 0:bt.shixun)==null?void 0:wt.test_set_permission),set_display_git_address((pt=shixunsDetail.setting.shixun)==null?void 0:pt.display_git_address),setIsCopy((Ut=(St=shixunsDetail.setting)==null?void 0:St.shixun)==null?void 0:Ut.can_copy),setOpenValue((Oe=(Zt=shixunsDetail.setting)==null?void 0:Zt.shixun)==null?void 0:Oe.use_scope),setOpenAnswer((ne=(te=shixunsDetail.setting)==null?void 0:te.shixun)==null?void 0:ne.open_answer_and_test),setIsOpenTime(!!((le=(de=shixunsDetail.setting)==null?void 0:de.shixun)!=null&&le.opening_time)),setOpenTime((xe=(pe=shixunsDetail.setting)==null?void 0:pe.shixun)==null?void 0:xe.opening_time),setSelectDepartmentList((Me=(Ae=shixunsDetail.setting)==null?void 0:Ae.shixun)==null?void 0:Me.scope_partment),setDisableDiscuss((lt=(ke=shixunsDetail.setting)==null?void 0:ke.shixun)==null?void 0:lt.is_disable_discuss),setdisableAI((yt=(dt=shixunsDetail.setting)==null?void 0:dt.shixun)==null?void 0:yt.ai_reply),setresource_recommend((Ot=(ut=shixunsDetail==null?void 0:shixunsDetail.setting)==null?void 0:ut.shixun)==null?void 0:Ot.resource_recommend),setOpenCodeDebugger((Nt=(xt=shixunsDetail.setting)==null?void 0:xt.shixun)==null?void 0:Nt.open_code_debugger),setStartPermanent((vn=(Jt=shixunsDetail.setting)==null?void 0:Jt.shixun)==null?void 0:vn.start_permanent),setOpenSelfRun((hi=(Ai=shixunsDetail.setting)==null?void 0:Ai.shixun)==null?void 0:hi.open_self_run),setgitSize((ci=(kn=shixunsDetail.setting)==null?void 0:kn.shixun)==null?void 0:ci.git_size),setcourse_workspace_file_time((ze=(et=shixunsDetail.setting)==null?void 0:et.shixun)==null?void 0:ze.course_workspace_file_time),setPodSwitch((Xn=(yn=shixunsDetail.setting)==null?void 0:yn.shixun)==null?void 0:Xn.exit_delete_pod_switch),setai_user((on=(ei=shixunsDetail.setting)==null?void 0:ei.shixun)==null?void 0:on.ai_user),setOpenLocalEvaluate((Dn=(xn=shixunsDetail.setting)==null?void 0:xn.shixun)==null?void 0:Dn.open_local_evaluate)};console.log("----",ai_user),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{var _a2,_b2,_c2,_d2;let confirmLeave=!1;(_a2=Object.keys(diffObj).filter(item=>{var _a3;return((_a3=shixunsDetail.setting)==null?void 0:_a3.shixun[item])!=eval(diffObj[item])}))!=null&&_a2.length&&(confirmLeave=!0),selectDepartmentList.length!=((_d2=(_c2=(_b2=shixunsDetail.setting)==null?void 0:_b2.shixun)==null?void 0:_c2.scope_partment)==null?void 0:_d2.length)&&(confirmLeave=!0),selectDepartmentList==null||selectDepartmentList.map((tn,jn)=>{var Pe,ue;tn!=((ue=(Pe=shixunsDetail.setting)==null?void 0:Pe.shixun)==null?void 0:ue.scope_partment[jn])&&(confirmLeave=!0)}),dispatch({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave}})},[taskPass,testSetPermission,isCopy,openValue,openAnswer,selectDepartmentList,isOpenTime,openTime,display_git_address,codeHidden,codeEditPermission,allowFileUpload,forbidCopy,disableDiscuss,disableAI,openCodeDebugger,startPermanent,openSelfRun,openLocalEvaluate]);function handSubmeit(tn=!1,jn=1){return __async(this,null,function*(){var Pe,ue;const it=yield dispatch({type:"shixunsDetail/updateSetting",payload:{id:params.id,scope_partment:openValue===0?null:selectDepartmentList,open_answer_and_test:openAnswer,shixun_info:{ai_reply:disableAI,start_permanent:startPermanent,git_size:gitSize,course_workspace_file_time,ai_user,resource_recommend},shixun:{show_code_dir:codeHidden,forbid_copy:forbidCopy,task_pass:taskPass,test_set_permission:testSetPermission,display_git_address,code_edit_permission:codeEditPermission,allow_file_upload:allowFileUpload,can_copy:isCopy,use_scope:openValue,open_answer_and_test:openAnswer,opening_time:openTime,is_disable_discuss:disableDiscuss,open_code_debugger:openCodeDebugger,open_self_run:openSelfRun,exit_delete_pod_switch:podSwitch,open_local_evaluate:openLocalEvaluate},sync_origin_shixun:tn}});(it==null?void 0:it.status)===0&&((Pe=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&Pe.copy_for_exercise||antd__WEBPACK_IMPORTED_MODULE_9__.ZP.success("\u4FEE\u6539\u6210\u529F"),dispatch({type:"shixunsDetail/getSettingsData",payload:params}),dispatch({type:"shixunsDetail/getShixunsDetail",payload:params}),(ue=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&ue.copy_for_exercise&&(0,_utils__WEBPACK_IMPORTED_MODULE_8__.m)(dispatch,shixunsDetail,params.id,jn))})}const handleDeleteShixun=()=>__async(this,null,function*(){var tn,jn,Pe,ue,it,Mt;const kt=(yield dispatch({type:"shixunsDetail/getShixunQuote",payload:{id:params.id}}))||{};antd__WEBPACK_IMPORTED_MODULE_10__.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",width:520,content:React.createElement("div",null,!!((tn=kt.subjects)!=null&&tn.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230"," ",(Pe=(jn=kt.subjects)==null?void 0:jn.splice(0,2))==null?void 0:Pe.map(Dt=>`\u300A${Dt}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},kt==null?void 0:kt.subjects_count),"\u4E2A\u5B9E\u8BAD\u8BFE\u7A0B"),React.createElement("br",null)),!!((ue=kt.courses)!=null&&ue.length)&&React.createElement(React.Fragment,null,React.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u88AB\u5E94\u7528\u5230",(Mt=(it=kt.courses)==null?void 0:it.splice(0,2))==null?void 0:Mt.map(Dt=>`\u300A${Dt}\u300B`),"\u7B49",React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorOrange},kt==null?void 0:kt.courses_count),"\u4E2A\u6559\u5B66\u8BFE\u5802"),React.createElement("br",null)),React.createElement("span",{className:`${_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.colorYellow} mt30`},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE\u5C06\u5F71\u54CD\u8BFE\u7A0B\u53CA\u8BFE\u5802\u5BF9\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u4F7F\u7528\uFF01\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01")),onOk:()=>__async(this,null,function*(){(yield dispatch({type:"shixunsDetail/deleteShixun",payload:{id:params.id}})).status===1&&(antd__WEBPACK_IMPORTED_MODULE_9__.ZP.success("\u64CD\u4F5C\u6210\u529F"),umi__WEBPACK_IMPORTED_MODULE_1__.history.push("/shixuns"))})})}),handleDeleteElseShixun=()=>{(0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__.gy)(dispatch,"\u4E0D\u80FD\u8FDB\u884C\u5220\u9664")};function showExitmodel(tn){antd__WEBPACK_IMPORTED_MODULE_10__.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{setMenuSelectKey(tn),parseInt(tn)===1?(setIsShowSetting(!0),handleInitState()):setIsShowSetting(!1),dispatch({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}})}return React.createElement("div",{style:{height:"100%",display:"flex",background:"#fff",position:"relative"}},React.createElement("div",{style:{height:"100%",background:"#0A143D",width:"25%",maxWidth:"440px",padding:"20px 20px",color:"#ffffff"}},React.createElement("span",{style:{padding:"0px 15px",fontSize:"16px"}},"\u8BBE\u7F6E"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default,{selectedKeys:[MenuSelectKey],theme:"dark",style:{background:"#0A143D",marginTop:"30px",fontSize:"14px"},onClick:tn=>{var jn;if((jn=practiceSetting==null?void 0:practiceSetting.sideBar)!=null&&jn.confirmLeave){showExitmodel(tn.key);return}setMenuSelectKey(tn.key),parseInt(tn.key)===1?(setIsShowSetting(!0),handleInitState()):setIsShowSetting(!1)}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default.Item,{key:1},"\u8BBE\u7F6E"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_11__.default.Item,{key:2},"\u5173\u4E8E\u5B9E\u8BAD"))),isShowSetting&&((_e=shixunsDetail==null?void 0:shixunsDetail.detail)==null?void 0:_e.is_jupyter_lab)&&React.createElement(_components_Permission__WEBPACK_IMPORTED_MODULE_4__.Z,null),isShowSetting&&!((_f=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&_f.is_jupyter_lab)&&React.createElement("div",{style:{width:"calc(100% - 24%)",overflow:"auto"}},React.createElement("div",{style:{padding:"40px 40px",marginBottom:"70px"}},React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{display:"flex"}},React.createElement("span",{style:{flex:"1"}},"\u5173\u5361\u548C\u6D4B\u8BD5\u96C6"),((_g=shixunsDetail==null?void 0:shixunsDetail.detail)==null?void 0:_g.shixun_status)!==2?React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{danger:!0,onClick:handleDeleteShixun},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE"):React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{danger:!0,onClick:handleDeleteElseShixun},"\u5220\u9664\u5B9E\u8DF5\u9879\u76EE")),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u8DF3\u5173\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:taskPass,disabled:!editable,onChange:tn=>setTaskPass(tn.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5B66\u5458\u8DF3\u5173\u5B66\u4E60\u5B9E\u8BAD\u5173\u5361\u4EFB\u52A1\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u6D4B\u8BD5\u96C6\u89E3\u9501\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:testSetPermission,disabled:!editable,onChange:tn=>setTestSetPermission(tn.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5B66\u5458\u901A\u8FC7\u91D1\u5E01\u89E3\u9501\u67E5\u770B\u9690\u85CF\u6D4B\u8BD5\u96C6\u7684\u5185\u5BB9\uFF09")))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}},"\u6743\u9650"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u590D\u5236/\u5408\u5E76/\u62C6\u5206\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:isCopy,onChange:tn=>setIsCopy(tn.target.checked),disabled:!editable}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u590D\u5236\u3001\u5408\u5E76\u548C\u62C6\u5206\u8BE5\u5B9E\u8BAD\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u516C\u5F00\u5B9E\u8BAD\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:openValue,onChange:tn=>setOpenValue(tn.target.value),disabled:!editable},React.createElement(antd__WEBPACK_IMPORTED_MODULE_15__.Z,{direction:"vertical"},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:0},React.createElement("span",null,"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{style:{marginTop:"22px"},value:1},React.createElement("span",null,"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5B9E\u8BAD\u53D1\u5E03\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7684\u7528\u6237\u53EF\u89C1\uFF09")))),openValue===1&&React.createElement(React.Fragment,null,React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.graaytitle},React.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,{showSearch:!0,className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.selectSchool,bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:departmentValue,onChange:tn=>{setDepartmentValue(tn),handleGetDepartments(tn)},disabled:!editable,onSelect:handleSelectDepartment,options:departmentList==null?void 0:departmentList.map(tn=>({value:tn}))})),React.createElement("div",{className:"mt10"},selectDepartmentList==null?void 0:selectDepartmentList.map(tn=>editable?React.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{count:"x",className:"mr20 current",onClick:()=>setSelectDepartmentList(selectDepartmentList.filter(jn=>jn!==tn))},React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0},tn)):React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{type:"primary",ghost:!0,className:"mr20"},tn)))))),!((_i=(_h=shixunsDetail.setting)==null?void 0:_h.shixun)!=null&&_i.is_jupyter)&&!((_k=(_j=shixunsDetail.setting)==null?void 0:_j.shixun)!=null&&_k.is_jupyter_lab)&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u516C\u5F00\u7B54\u6848\u548C\u6D4B\u8BD5\u96C6\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:openAnswer,onChange:tn=>setOpenAnswer(tn.target.value),disabled:!editable},React.createElement(antd__WEBPACK_IMPORTED_MODULE_15__.Z,{direction:"vertical"},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:1},React.createElement("span",null,"\u5BF9\u6240\u6709\u8BA4\u8BC1\u6559\u5E08\u516C\u5F00"),((_m=(_l=shixunsDetail.setting)==null?void 0:_l.shixun)==null?void 0:_m.status)!==2&&React.createElement(antd__WEBPACK_IMPORTED_MODULE_18__.Z,{title:"\u8BE5\u9009\u9879\u9700\u5728\u5B9E\u8DF5\u9879\u76EE\u53D1\u5E03\u540E\u751F\u6548"},React.createElement("i",{style:{marginLeft:10,color:"#e9b357",fontSize:14},className:"iconfont icon-jinggao-3"})),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5141\u8BB8\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u67E5\u770B\uFF09")),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{style:{marginTop:"22px"},value:2},React.createElement("span",null,"\u4EC5\u5B9E\u8BAD\u5408\u4F5C\u8005\u53EF\u89C1"),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u4EC5\u5141\u8BB8\u5B9E\u8BAD\u5408\u4F5C\u8005\u53EF\u4EE5\u76F4\u63A5\u67E5\u770B\uFF0C\u5176\u4ED6\u7528\u6237\u9700\u901A\u8FC7\u91D1\u5E01\u89E3\u9501\u67E5\u770B\uFF09")))))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u5F00\u542F\u65F6\u95F4\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:isOpenTime,onChange:tn=>{setIsOpenTime(tn.target.checked),tn.target.checked||setOpenTime("")},disabled:!editable}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u6307\u5B9A\u7684\u5F00\u542F\u65F6\u95F4\u540E\u624D\u80FD\u5F00\u542F\u6311\u6218\uFF09")),isOpenTime&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.graaytitle},React.createElement(antd__WEBPACK_IMPORTED_MODULE_19__.default,{className:`${_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.dataPicker}`,format:timeFormat,locale:antd_lib_date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_20__.Z,bordered:!1,disabled:!editable,placeholder:"\u8BF7\u8F93\u5165\u5F00\u542F\u65F6\u95F4",showToday:!1,disabledDate:tn=>tn&&tnsetOpenTime(handleDateString(jn))})))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}},"\u529F\u80FD"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u4EE3\u7801\u5E93\u5730\u5740\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:display_git_address,disabled:!editable,onChange:tn=>set_display_git_address(tn.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5BF9\u5B66\u5458\u516C\u5F00\u4EE3\u7801\u5E93\u5730\u5740\uFF0C\u5B66\u5458\u53EF\u4EE5\u5C06\u6240\u6709\u4EE3\u7801\u4E0B\u8F7D\u5230\u672C\u5730\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u4EE3\u7801\u76EE\u5F55\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:codeHidden,disabled:!editable,onChange:tn=>{setCodeHidden(tn.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u9875\u9762\u663E\u793A\u7248\u672C\u5E93\u76EE\u5F55\uFF09")),codeHidden&&React.createElement("div",{style:{background:"#f5f5f5",marginTop:"10px",borderRadius:"8px",justifyContent:"left",alignItems:"center",padding:"0px 20px"}},React.createElement("div",{style:{display:"flex",marginTop:"20px"}},React.createElement("label",{style:{width:"150px",textAlign:"right"}},"\u4EE3\u7801\u5E93\u6587\u4EF6\u4FEE\u6539\u6743\u9650\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent,style:{padding:"0px"}},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:codeEditPermission,disabled:!editable,onChange:tn=>{setCodeEditPermission(tn.target.checked),tn.target.checked||setAllowFileUpload(tn.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u52FE\u9009\u540E\u5141\u8BB8\u5B66\u5458\u4FEE\u6539\u4EE3\u7801\u5E93\u6240\u6709\u6587\u4EF6\uFF0C\u5426\u5219\u4EC5\u53EF\u4FEE\u6539\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\uFF09")))),React.createElement("div",{style:{display:"flex",marginTop:"10px",marginBottom:"20px"}},React.createElement("label",{style:{width:"150px",textAlign:"right"}},"\u5141\u8BB8\u4E0A\u4F20\u6587\u4EF6\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent,style:{padding:"0px"}},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:allowFileUpload,disabled:!editable,onChange:tn=>{setAllowFileUpload(tn.target.checked),tn.target.checked&&setCodeEditPermission(tn.target.checked)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u52FE\u9009\u540E\uFF0C\u5141\u8BB8\u7528\u6237\u5B9E\u8BAD\u6311\u6218\u65F6\uFF0C\u5728\u4EE3\u7801\u76EE\u5F55\u4E2D\u4E0A\u4F20\u6587\u4EF6\uFF0C\u5426\u5219\u4E0D\u5141\u8BB8\u4E0A\u4F20\uFF09"))))))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u7981\u7528\u7C98\u8D34\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_13__.default,{checked:forbidCopy,disabled:!editable,onChange:tn=>setForbidCopy(tn.target.checked)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u9009\u4E2D\u5219\u5B66\u5458\u5728\u7F16\u7801\u533A\u57DF\u65E0\u6CD5\u4F7F\u7528\u7C98\u8D34\u529F\u80FD\uFF09")))),own&&editable&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u8C03\u8BD5\u5668",React.createElement("a",{href:"https://www.educoder.net/forums/36718",target:"_blank",className:"iconfont icon-xiaowenhao2 font14 ml5"}),"\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openCodeDebugger,onChange:tn=>setOpenCodeDebugger(tn)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF0C\u53EF\u4EE5\u4F7F\u7528\u4EE3\u7801\u8C03\u8BD5\u5DE5\u5177\u68C0\u67E5\u4EE3\u7801\u8FD0\u884C\u60C5\u51B5\u3002\u76EE\u524D\u4EC5\u652F\u6301Python3, Java, C\u8BED\u8A00\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u81EA\u6D4B\u8FD0\u884C\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openSelfRun,onChange:tn=>setOpenSelfRun(tn)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF0C\u53EF\u4EE5\u4F7F\u7528\u81EA\u6D4B\u8FD0\u884C\u529F\u80FD\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u672C\u5730\u8BC4\u6D4B\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:openLocalEvaluate,onChange:tn=>setOpenLocalEvaluate(tn)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B9E\u8BAD\u6311\u6218\u7528\u6237\u5728\u4F7F\u7528\u5BA2\u6237\u7AEF\u8FDB\u884C\u8BC4\u6D4B\u65F6\uFF0C\u5C06\u4F7F\u7528\u7528\u6237\u672C\u5730\u7684\u7B97\u529B\u8D44\u6E90\uFF0C\u51CF\u5C11\u7F51\u7EDC\u5E26\u6765\u7684\u5F71\u54CD\u3002\u76EE\u524D\u4EC5\u652F\u6301Python3\u8BED\u8A00 ",React.createElement("a",{target:"_blank",href:"/download"},"\xA0\u4E0B\u8F7D\u5BA2\u6237\u7AEF\xA0"),"\uFF09")))),((_n=user==null?void 0:user.userInfo)==null?void 0:_n.role)===1&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF \uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_22__.Z,{style:{width:150},placeholder:"\u8BF7\u8F93\u5165\u4EE3\u7801\u4ED3\u5E93\u5BB9\u91CF",min:1,max:10240,value:gitSize,onChange:tn=>{setgitSize(tn)}}),React.createElement("span",{className:"c-grey-999"}," M ")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:startPermanent,onChange:tn=>{if(!(0,_utils_authority__WEBPACK_IMPORTED_MODULE_7__.Ny)()){(0,_utils_verifyLogin__WEBPACK_IMPORTED_MODULE_6__.pW)(2);return}setStartPermanent(tn)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u5458\u5728\u901A\u7528\u4E91\u5B9E\u9A8C\u73AF\u5883\u4E0B\u7684/data/workspace\u76EE\u5F55\u5C06\u957F\u671F\u4FDD\u5B58\uFF0C\u6559\u5E08\u53D1\u9001\u5B9E\u8DF5\u9879\u76EE\u81F3\u8BFE\u5802\u540E\u53EF\u9009\u62E9\u5BFC\u51FA\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E ",React.createElement("a",{target:"_blank",href:_utils_env__WEBPACK_IMPORTED_MODULE_5__.Z.API_SERVER+"/images/educoder/shixuns/\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u64CD\u4F5C\u6307\u5F15.pdf"},"\xA0\u64CD\u4F5C\u6307\u5F15\xA0"),"\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap,style:{alignItems:"center"}},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u9ED8\u8BA4\u91CA\u653E\u5B9E\u9A8C\u8D44\u6E90\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:podSwitch,onChange:tn=>{setPodSwitch(tn)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5728\u9000\u51FA\u5B9E\u8BAD\u65F6\u9ED8\u8BA4\u91CA\u653E\u5B9E\u9A8C\u8D44\u6E90\uFF09")))),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.titlesize,style:{marginTop:"20px"}}," ","\u8BC4\u8BBA\u533A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u663E\u793A\u8BC4\u8BBA\u533A\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:!disableDiscuss,onChange:tn=>setDisableDiscuss(!tn)}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5173\u95ED\u540E\uFF0C\u5B9E\u8DF5\u9879\u76EE\u8BE6\u60C5\u9875\u53CA\u5173\u5361\u6311\u6218\u9875\u9762\u4E0D\u663E\u793A\u4EFB\u4F55\u8BC4\u8BBA\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u667A\u80FD\u63A8\u8350\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:resource_recommend,onChange:tn=>{setresource_recommend(tn)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5C06\u5B9E\u9A8C\u5173\u8054\u77E5\u8BC6\u56FE\u8C31\u5E76\u5F00\u542F\u667A\u80FD\u63A8\u8350\u540E\uFF0C\u7CFB\u7EDF\u5C06\u4F1A\u6839\u636E\u5B66\u751F\u7B54\u9898\u548C\u77E5\u8BC6\u70B9\u638C\u63E1\u7684\u60C5\u51B5\uFF0C\u667A\u80FD\u63A8\u8350\u76F8\u5173\u7684\u5B66\u4E60\u8D44\u6E90\uFF09")))),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label},"\u667A\u80FD\u95EE\u7B54\uFF1A"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement("div",null,React.createElement(antd__WEBPACK_IMPORTED_MODULE_21__.Z,{checked:disableAI,onChange:tn=>{setdisableAI(tn)}}),React.createElement("span",{className:"c-grey-999"},"\uFF08\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u7684\u8BC4\u8BBA\u5C06\u7531\u667A\u80FD\u673A\u5668\u4EBA\u8FDB\u884C\u56DE\u7B54\uFF09")))),disableAI&&React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelWrap},React.createElement("label",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.label}),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.labelContent},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.Group,{value:ai_user+"",onChange:tn=>{setai_user(tn.target.value)}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:"1"},"\u4EE5\u5934\u6B4C\u667A\u80FD\u52A9\u6559\u8EAB\u4EFD\u56DE\u7B54"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_14__.ZP,{value:"2"},"\u4EE5\u5B9E\u8BAD\u521B\u5EFA\u8005\u8EAB\u4EFD\u56DE\u7B54"))))),React.createElement("div",{style:{height:"70px",width:"76%",background:"#ffffff",boxShadow:"0px -4px 8px 1px #F1F1F1",position:"absolute",bottom:"0px",display:"flex",alignItems:"center",justifyContent:"center"}},React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{style:{marginRight:"10px",width:"100px",height:"40px",borderRadius:"4px",border:"1px solid #0152d9",color:"#0152d9"},onClick:()=>{umi__WEBPACK_IMPORTED_MODULE_1__.history.push(`/shixuns/${params.id}/challenges`)}},"\u53D6\u6D88"),React.createElement(antd__WEBPACK_IMPORTED_MODULE_12__.ZP,{style:{marginLeft:"10px",width:"100px",height:"40px",fontSize:"16px",background:"#0152d9",borderRadius:"4px"},type:"primary",onClick:()=>{var tn,jn;if(isOpenTime&&!openTime){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u9009\u62E9\u5F00\u542F\u65F6\u95F4");return}if(openValue===1&&!selectDepartmentList.length){antd__WEBPACK_IMPORTED_MODULE_9__.ZP.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00");return}(tn=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&tn.is_fork_from_creator&&((jn=shixunsDetail==null?void 0:shixunsDetail.detail)!=null&&jn.copy_for_exercise)?dispatch({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"setting",fn:(Pe,ue)=>{handSubmeit(Pe,ue)}}}):handSubmeit()}},"\u4FDD\u5B58"))),!isShowSetting&&React.createElement("div",{style:{padding:"40px"}},React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u521B\u5EFA\u8005"),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.itemWrap},React.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"60",width:"60",className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.img,src:`${_utils_env__WEBPACK_IMPORTED_MODULE_5__.Z.IMG_SERVER}/images/${practiceSetting==null?void 0:practiceSetting.user_image_url}`}),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.itemContent},React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.nameWrap},React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.name},practiceSetting==null?void 0:practiceSetting.user_name),React.createElement("div",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.actionGroup})),React.createElement("p",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.schoolWrap},React.createElement("span",{className:_index_less_modules__WEBPACK_IMPORTED_MODULE_2__.Z.school},practiceSetting==null?void 0:practiceSetting.user_school)),React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u521B\u5EFA\u65F6\u95F4\uFF1A",practiceSetting==null?void 0:practiceSetting.created_at),React.createElement("p",{style:{color:"#333333",fontSize:"16px"}},"\u66F4\u65B0\u65F6\u95F4\uFF1A",practiceSetting==null?void 0:practiceSetting.updated_at)))))}__webpack_exports__.Z=(0,umi__WEBPACK_IMPORTED_MODULE_1__.connect)(({user:tn,shixunsDetail:jn,practiceSetting:Pe})=>({user:tn,shixunsDetail:jn,practiceSetting:Pe}))(Setting)},86566:function(tn,jn,Pe){"use strict";Pe.r(jn),Pe.d(jn,{default:function(){return sn}});var ue=Pe(59301),it={flex_box_center:"flex_box_center___bPWMH",flex_space_between:"flex_space_between___fjQJK",flex_box_vertical_center:"flex_box_vertical_center___WWAEa",flex_box_center_end:"flex_box_center_end___mQNLW",flex_box_column:"flex_box_column___lOsG0",menu:"menu___szqfh",warehouse:"warehouse___SVzfZ",header:"header___DfoMH",title:"title___y2IOb",content:"content___pGWUf",left:"left___eYHD7",right:"right___RbSHM",loading:"loading___g8ST2",empty:"empty___JqJWS",tabs:"tabs___fuMob",line:"line___Wav7D",footer:"footer___xymfv",commit:"commit___ZwkDv",blueLight:"blueLight___f52KB",filePathWrp:"filePathWrp____p6mm",filePath:"filePath___qkzoJ",bottom0:"bottom0___MrVME"},Mt=Pe(89070),kt=Pe(99313),Dt=Pe(6848),Wt=Pe(8591),Ve=Pe(20834),bt=Pe(95237),wt=Pe(43604),pt=Pe(38854),St=Pe(43418),Ut=Pe(71418),Zt=Pe(3113),Oe=Pe(17574),te=Pe(78673),ne=Pe(56102),de=Pe(78241),le=Pe(92832),pe={wrap:"wrap___yTLAj",modal:"modal___B3dwx",title:"title___FHscn",path:"path___o7aJh",colorBlue:"colorBlue___p4I9Y",width240:"width240___UNGpD",filePath:"filePath___uTJLX"},xe=Object.defineProperty,Ae=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,lt=(Vt,hn,Xt)=>hn in Vt?xe(Vt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):Vt[hn]=Xt,dt=(Vt,hn)=>{for(var Xt in hn||(hn={}))Me.call(hn,Xt)&<(Vt,Xt,hn[Xt]);if(Ae)for(var Xt of Ae(hn))ke.call(hn,Xt)&<(Vt,Xt,hn[Xt]);return Vt},yt=(Vt,hn)=>{var Xt={};for(var Vn in Vt)Me.call(Vt,Vn)&&hn.indexOf(Vn)<0&&(Xt[Vn]=Vt[Vn]);if(Vt!=null&&Ae)for(var Vn of Ae(Vt))hn.indexOf(Vn)<0&&ke.call(Vt,Vn)&&(Xt[Vn]=Vt[Vn]);return Xt},ut=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const Ot=Vt=>{var hn=Vt,{shixunsDetail:Xt,globalSetting:Vn,loading:er,user:lr,dispatch:ui,isRepository:Ci}=hn,Yn=yt(hn,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ln=(0,Mt.useLocation)(),_r=(0,Mt.useParams)(),[Rn,Ir]=(0,ue.useState)({}),Or=(0,ue.useRef)(),[fr]=de.default.useForm(),[Bo,Zr]=(0,ue.useState)("");(0,ue.useEffect)(()=>{Yn.visible&&fr.resetFields()},[Yn.visible]),(0,ue.useEffect)(()=>{const oo=sessionStorage.getItem("pathArray");if(oo){const Bn=oo.split(",").join("/"),gi=Bn.indexOf("/")===0?Bn.substr(1):Bn;Zr(gi)}},[]),(0,ue.useEffect)(()=>{var oo,Bn;Or.current=(Bn=(oo=ln.pathname)==null?void 0:oo.split("/"))==null?void 0:Bn[2]},[]);const Zi=(...oo)=>ut(void 0,[...oo],function*(Bn={}){const gi=yield ui({type:"shixunsDetail/addRepositoryFile",payload:{id:_r.id,message:Bn.commitMessage,content:"",path:(Yn.defaultPath?Yn.defaultPath+"/":"")+Bn.path+"/"+(Bn.file||".gitkeep"),secret_repository:Ci?void 0:!0}});gi!=null&&gi.url&&(Wt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Yn.onOK({path:(Yn.defaultPath?Yn.defaultPath+"/":"")+Bn.path+"/"+(Bn.file||".gitkeep"),name:Bn.path.split("/")[Bn.path.split("/").length-1]}),Yn.onClose())}),xr=()=>{var oo,Bn;Mt.history.push(`/shixuns/${Or.current}/${(Bn=(oo=ln.pathname)==null?void 0:oo.split("/"))==null?void 0:Bn[3]}${Bo?`/master/shixun_show/${Bo}`:""}`)};return ue.createElement(St.default,{width:"60%",centered:!0,open:Yn.visible,wrapClassName:pe.modal,onOk:()=>{fr.submit()},onCancel:Yn.onClose,title:"\u65B0\u5EFA\u6587\u4EF6\u5939"},ue.createElement("section",{className:pe.bg},ue.createElement("div",{className:pe.wrap},ue.createElement(de.default,{className:"mt10",form:fr,scrollToFirstError:!0,layout:"vertical",onFinish:Zi,onChange:()=>{var oo,Bn,gi,Ze;const Io=dt({},fr.getFieldsValue()),no=(oo=Io==null?void 0:Io.path)==null?void 0:oo.split(""),rr=(Bn=Io==null?void 0:Io.file)==null?void 0:Bn.split("");(gi=no==null?void 0:no.filter(qi=>qi=="/"))!=null&&gi.length&&(Io.path=Io.path.substring(0,Io.path.length-1)),(Ze=rr==null?void 0:rr.filter(qi=>qi=="/"))!=null&&Ze.length&&(Io.file=Io.file.substring(0,Io.path.length-1)),fr.setFieldsValue(dt({},Io)),Ir(Io)}},ue.createElement(de.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0\uFF1A",name:"path"},ue.createElement(bt.Z,null,ue.createElement(wt.Z,null,ue.createElement("span",{className:pe.filePath},Yn.defaultPath+"/")),ue.createElement(wt.Z,{flex:"1"},ue.createElement(de.default.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ue.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0",size:"middle"}))))),ue.createElement(de.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\uFF1A",name:"file"},ue.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0\uFF0C\u5982\u679C\u4E0D\u586B\u5199\u7CFB\u7EDF\u5C06\u5728\u6587\u4EF6\u5939\u4E0B\u521B\u5EFA.gitkeep\u7684\u9ED8\u8BA4\u6587\u4EF6",size:"middle"})),ue.createElement(de.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ue.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"middle"}))))))};var xt=(0,Mt.connect)(({shixunsDetail:Vt,loading:hn,globalSetting:Xt,user:Vn})=>({shixunsDetail:Vt,globalSetting:Xt,user:Vn,loading:hn.models.index}))(Ot),Nt=Pe(53932),Jt=Pe(16349),vn=Pe(59301),Ai=Object.defineProperty,hi=Object.getOwnPropertySymbols,kn=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable,et=(Vt,hn,Xt)=>hn in Vt?Ai(Vt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):Vt[hn]=Xt,ze=(Vt,hn)=>{for(var Xt in hn||(hn={}))kn.call(hn,Xt)&&et(Vt,Xt,hn[Xt]);if(hi)for(var Xt of hi(hn))ci.call(hn,Xt)&&et(Vt,Xt,hn[Xt]);return Vt},yn=(Vt,hn)=>{var Xt={};for(var Vn in Vt)kn.call(Vt,Vn)&&hn.indexOf(Vn)<0&&(Xt[Vn]=Vt[Vn]);if(Vt!=null&&hi)for(var Vn of hi(Vt))hn.indexOf(Vn)<0&&ci.call(Vt,Vn)&&(Xt[Vn]=Vt[Vn]);return Xt},Xn=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const ei=Vt=>{var hn=Vt,{shixunsDetail:Xt,globalSetting:Vn,loading:er,user:lr,dispatch:ui,isRepository:Ci}=hn,Yn=yn(hn,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ln=(0,Mt.useLocation)(),_r=(0,Mt.useParams)(),[Rn,Ir]=(0,ue.useState)({}),Or=(0,ue.useRef)(),[fr]=de.default.useForm(),[Bo,Zr]=(0,ue.useState)("");(0,ue.useEffect)(()=>{Yn.visible&&fr.resetFields()},[Yn.visible]),(0,ue.useEffect)(()=>{const oo=sessionStorage.getItem("pathArray");if(oo){const Bn=oo.split(",").join("/"),gi=Bn.indexOf("/")===0?Bn.substr(1):Bn;Zr(gi)}},[]),(0,ue.useEffect)(()=>{var oo,Bn;Or.current=(Bn=(oo=ln.pathname)==null?void 0:oo.split("/"))==null?void 0:Bn[2]},[]);const Zi=(...oo)=>Xn(void 0,[...oo],function*(Bn={},gi=!1,Ze=1){var Io,no;const rr=yield ui({type:"shixunsDetail/addRepositoryFile",payload:{id:_r.id,message:Bn.commitMessage,content:Bn.codeMirror,path:(Yn.defaultPath?Yn.defaultPath+"/":"")+Bn.path,secret_repository:Ci?void 0:!0,sync_origin_shixun:gi}});rr!=null&&rr.url&&((Io=Xt==null?void 0:Xt.detail)!=null&&Io.copy_for_exercise||Wt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Yn.onOK({path:(Yn.defaultPath?Yn.defaultPath+"/":"")+Bn.path,name:Bn.path.split("/")[Bn.path.split("/").length-1]}),Yn.onClose()),(no=Xt==null?void 0:Xt.detail)!=null&&no.copy_for_exercise&&(0,Jt.m)(ui,Xt,_r.id,Ze)}),xr=()=>{var oo,Bn;Mt.history.push(`/shixuns/${Or.current}/${(Bn=(oo=ln.pathname)==null?void 0:oo.split("/"))==null?void 0:Bn[3]}${Bo?`/master/shixun_show/${Bo}`:""}`)};return vn.createElement(St.default,{width:"60%",open:Yn.visible,wrapClassName:pe.modal,destroyOnClose:!0,centered:!0,onOk:()=>{fr.submit()},onCancel:Yn.onClose,title:"\u65B0\u5EFA\u6587\u4EF6"},vn.createElement("section",{className:pe.bg},vn.createElement("div",{className:pe.wrap},vn.createElement(de.default,{className:"mt10",form:fr,scrollToFirstError:!0,layout:"vertical",onFinish:oo=>{var Bn,gi;(Bn=Xt==null?void 0:Xt.detail)!=null&&Bn.is_fork_from_creator&&((gi=Xt==null?void 0:Xt.detail)!=null&&gi.copy_for_exercise)?(Yn.onClose(),ui({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:oo,type:"wareHouse",fn:(Ze,Io,no)=>{Zi(Ze,Io,no)}}})):Zi(oo)},onChange:()=>{var oo,Bn;const gi=ze({},fr.getFieldsValue()),Ze=(oo=gi==null?void 0:gi.path)==null?void 0:oo.split("");((Bn=Ze==null?void 0:Ze.filter(Io=>Io=="/"))==null?void 0:Bn.length)>1&&(gi.path=gi.path.substring(0,gi.path.length-1)),fr.setFieldsValue(ze({},gi)),Ir(gi)}},vn.createElement(de.default.Item,{label:"\u6587\u4EF6\u540D\u79F0\u6216\u6587\u4EF6\u8DEF\u5F84\uFF1A",name:"path"},vn.createElement(bt.Z,null,vn.createElement(wt.Z,null,vn.createElement("span",{className:pe.filePath},Yn.defaultPath+"/")),vn.createElement(wt.Z,{flex:"1"},vn.createElement(de.default.Item,{name:"path",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},vn.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle"}))))),vn.createElement(de.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},vn.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"middle"})),vn.createElement("div",{className:"mt10 mb20"},vn.createElement(de.default.Item,{name:"codeMirror",label:"\u6587\u4EF6\u5185\u5BB9\uFF1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5185\u5BB9"}],style:{marginBottom:0}},vn.createElement(Nt.h,{options:{modal:"javascript",lineNumbers:!0,theme:"railscasts",indentUnit:4,matchBrackets:!0,autoRefresh:!0,smartIndent:!0,extraKeys:{"Alt-/":"autocomplete"},autofocus:!0,styleActiveLine:!0,lint:!0,linkurl:"",gutters:["CodeMirror-linenumbers","breakpoints","CodeMirror-lint-markers"]}})))))))};var on=(0,Mt.connect)(({shixunsDetail:Vt,loading:hn,globalSetting:Xt,user:Vn})=>({shixunsDetail:Vt,globalSetting:Xt,user:Vn,loading:hn.models.index}))(ei),xn=Object.defineProperty,Dn=Object.getOwnPropertySymbols,yi=Object.prototype.hasOwnProperty,qn=Object.prototype.propertyIsEnumerable,Mi=(Vt,hn,Xt)=>hn in Vt?xn(Vt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):Vt[hn]=Xt,mt=(Vt,hn)=>{for(var Xt in hn||(hn={}))yi.call(hn,Xt)&&Mi(Vt,Xt,hn[Xt]);if(Dn)for(var Xt of Dn(hn))qn.call(hn,Xt)&&Mi(Vt,Xt,hn[Xt]);return Vt},ht=(Vt,hn)=>{var Xt={};for(var Vn in Vt)yi.call(Vt,Vn)&&hn.indexOf(Vn)<0&&(Xt[Vn]=Vt[Vn]);if(Vt!=null&&Dn)for(var Vn of Dn(Vt))hn.indexOf(Vn)<0&&qn.call(Vt,Vn)&&(Xt[Vn]=Vt[Vn]);return Xt},gn=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const jt=Vt=>{var hn=Vt,{shixunsDetail:Xt,globalSetting:Vn,loading:er,user:lr,dispatch:ui,isRepository:Ci}=hn,Yn=ht(hn,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ln=(0,Mt.useLocation)(),_r=(0,Mt.useParams)(),[Rn,Ir]=(0,ue.useState)({}),Or=(0,ue.useRef)(),[fr]=de.default.useForm(),[Bo,Zr]=(0,ue.useState)(""),[Zi,xr]=(0,ue.useState)("");(0,ue.useEffect)(()=>{Yn.visible&&fr.resetFields()},[Yn.visible]),(0,ue.useEffect)(()=>{const gi=Yn.defaultPath.split("/");gi.length===1?(Zr(""),xr(Yn.defaultPath)):(xr(gi.pop()),Zr(gi.join("/")+"/"))},[Yn.defaultPath]),(0,ue.useEffect)(()=>{var gi,Ze;Or.current=(Ze=(gi=ln.pathname)==null?void 0:gi.split("/"))==null?void 0:Ze[2]},[]);const oo=(...gi)=>gn(void 0,[...gi],function*(Ze={}){const Io=yield ui({type:"shixunsDetail/moveGitFile",payload:{id:_r.id,from:Yn.defaultPath,to:Bo+Ze.path,message:Ze.commitMessage||`${Yn.defaultPath} rename to ${Bo}${Ze.path} `,secret_repository:Ci}});(Io==null?void 0:Io.status)===0&&(Wt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Yn.onOK({path:Ze.path,name:Ze.path}),Yn.onClose())}),Bn=()=>{var gi,Ze;Mt.history.push(`/shixuns/${Or.current}/${(Ze=(gi=ln.pathname)==null?void 0:gi.split("/"))==null?void 0:Ze[3]}${Bo?`/master/shixun_show/${Bo}`:""}`)};return ue.createElement(St.default,{width:"40%",open:Yn.visible,wrapClassName:pe.modal,centered:!0,onOk:()=>{fr.submit()},onCancel:Yn.onClose,title:"\u63D0\u4EA4\u8BF4\u660E"},ue.createElement("section",{className:pe.bg},ue.createElement("div",{className:pe.wrap},ue.createElement(de.default,{className:"mt10",form:fr,scrollToFirstError:!0,layout:"vertical",onFinish:oo,onChange:()=>{var gi,Ze;const Io=mt({},fr.getFieldsValue()),no=(gi=Io==null?void 0:Io.path)==null?void 0:gi.split("");((Ze=no==null?void 0:no.filter(rr=>rr=="/"))==null?void 0:Ze.length)>1&&(Io.path=Io.path.substring(0,Io.path.length-1)),fr.setFieldsValue(mt({},Io)),Ir(Io)}},ue.createElement(de.default.Item,{label:"\u91CD\u547D\u540D\uFF1A",name:"path"},ue.createElement(bt.Z,null,ue.createElement(wt.Z,{flex:"1"},ue.createElement(de.default.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ue.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"middle",defaultValue:Zi}))))),ue.createElement(de.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage"},ue.createElement(le.default,{placeholder:`\u5982\u4E0D\u586B\u5199\uFF0C\u9ED8\u8BA4\u63D0\u4EA4\u4FE1\u606F\u662F\uFF08${Yn.defaultPath} rename to \u65B0\u7684\u540D\u79F0 \uFF09`,size:"middle"}))))))};var En=(0,Mt.connect)(({shixunsDetail:Vt,loading:hn,globalSetting:Xt,user:Vn})=>({shixunsDetail:Vt,globalSetting:Xt,user:Vn,loading:hn.models.index}))(jt),Fn=Pe(3294),ri=Pe(99064),ni=Pe(54580),mn=Pe(62517),zt={wrap:"wrap___T4tjB",title:"title____QnQT",path:"path___PLUeD",colorBlue:"colorBlue___eL7QF"},$e=Pe(59301),At=Object.defineProperty,Yt=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Ee=(Vt,hn,Xt)=>hn in Vt?At(Vt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):Vt[hn]=Xt,Te=(Vt,hn)=>{for(var Xt in hn||(hn={}))Ie.call(hn,Xt)&&Ee(Vt,Xt,hn[Xt]);if(Yt)for(var Xt of Yt(hn))Ce.call(hn,Xt)&&Ee(Vt,Xt,hn[Xt]);return Vt},Ue=(Vt,hn)=>{var Xt={};for(var Vn in Vt)Ie.call(Vt,Vn)&&hn.indexOf(Vn)<0&&(Xt[Vn]=Vt[Vn]);if(Vt!=null&&Yt)for(var Vn of Yt(Vt))hn.indexOf(Vn)<0&&Ce.call(Vt,Vn)&&(Xt[Vn]=Vt[Vn]);return Xt},Le=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const{Dragger:rt}=ni.default,Sn=Vt=>{var hn=Vt,{shixunsDetail:Xt,globalSetting:Vn,loading:er,user:lr,dispatch:ui,isRepository:Ci}=hn,Yn=Ue(hn,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ln=(0,Mt.useLocation)(),_r=(0,Mt.useParams)(),[Rn,Ir]=(0,ue.useState)({}),Or=(0,ue.useRef)(),[fr]=de.default.useForm(),[Bo,Zr]=(0,ue.useState)([]),[Zi,xr]=(0,ue.useState)();let oo;(0,ue.useEffect)(()=>{Yn.visible&&(fr.resetFields(),Zr([]))},[Yn.visible]),(0,ue.useEffect)(()=>{Or.current=_r.id},[]),(0,ue.useEffect)(()=>{const rr=sessionStorage.getItem("pathArray");if(rr){const qi=rr.split(",").join("/"),Xi=qi.indexOf("/")===0?qi.substr(1):qi;xr(Xi)}},[]);const Bn=rr=>{var qi,Xi,aa,ys;if(oo=rr.file.name,rr.file.status==="done"||rr.file.status==="uploading"){if(Zr(rr.fileList),!rr.file.response)return;if(((qi=rr.file.response)==null?void 0:qi.status)===0){(Xi=Xt==null?void 0:Xt.detail)!=null&&Xi.copy_for_exercise||(Wt.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01"),fr.validateFields());return}Zr(Bo.filter(bs=>bs.uid!==rr.file.uid)),(aa=rr.file.response)!=null&&aa.message&&Wt.ZP.info((ys=rr.file.response)==null?void 0:ys.message)}},gi=rr=>Le(void 0,null,function*(){if(!rr.response){Wt.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield ui({type:"shixunsDetail/deleteGitFile",payload:{id:_r.id,path:Zi?`${Zi}/${rr.name}`:rr.name,message:fr.getFieldValue("commitMessage")||`\u5220\u9664\u4E86${Zi?`${Zi}/${rr.name}`:rr.name}`,secret_repository:Ci?null:!0}})).status===0&&(Zr(Bo.filter(Xi=>Xi.uid!==rr.uid)),Wt.ZP.info("\u5220\u9664\u6210\u529F"))}),Ze={height:300,multiple:!0,withCredentials:!0,openFileDialogOnClick:!!fr.getFieldValue("commitMessage"),data:()=>Le(void 0,null,function*(){return new Promise((rr,qi)=>Le(void 0,null,function*(){setTimeout(()=>Le(void 0,null,function*(){const Xi=yield fr.getFieldsValue(),aa=Te(Te({},{path:Yn.defaultPath?Yn.defaultPath:"",message:Rn.commitMessage||`\u4E0A\u4F20\u4E86${oo}`}),Ci?{}:{secret_repository:!0});rr(aa)}),200)}))}),fileList:Bo,method:"post",action:`${Fn.Z.API_SERVER}/api/shixuns/${Or.current}/upload_git_file.json`,onChange:Bn,onRemove:gi,beforeUpload:rr=>(oo=rr.name,rr.size/1024/1024>50?(Wt.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0)},Io=(rr=!1,qi=1)=>Le(void 0,null,function*(){var Xi;const aa=Te(Te({},{path:Yn.defaultPath?Yn.defaultPath:"",message:Rn.commitMessage||`\u4E0A\u4F20\u4E86${oo}`}),Ci?{}:{secret_repository:!0});for(let ys=0;ys{bs.append(Ea,aa[Ea].toString())});const _o=yield(0,ri.ZP)(`/api/shixuns/${Or.current}/upload_git_file.json`,{method:"post",body:bs},!0)}Yn.onClose(),Yn.onOK({path:Yn.defaultPath}),no(),(Xi=Xt==null?void 0:Xt.detail)!=null&&Xi.copy_for_exercise&&(0,Jt.m)(ui,Xt,_r.id,qi)}),no=()=>{var rr,qi;Mt.history.push(`/shixuns/${Or.current}/${(qi=(rr=ln.pathname)==null?void 0:rr.split("/"))==null?void 0:qi[3]}${Zi?`/master/shixun_show/${Zi}`:""}`)};return $e.createElement(St.default,{open:Yn.visible,onOk:rr=>{fr.submit()},centered:!0,onCancel:Yn.onClose,width:"70%"},$e.createElement("section",{className:zt.bg},$e.createElement("div",{className:zt.wrap},$e.createElement("div",{className:zt.title},"\u4E0A\u4F20\u6587\u4EF6"),$e.createElement(de.default,{className:"mt10",form:fr,scrollToFirstError:!0,layout:"vertical",onFinish:()=>Le(void 0,null,function*(){var rr,qi;yield fr.validateFields(),(rr=Xt==null?void 0:Xt.detail)!=null&&rr.is_fork_from_creator&&((qi=Xt==null?void 0:Xt.detail)!=null&&qi.copy_for_exercise)?(Yn.onClose(),ui({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(Xi,aa)=>{Io(Xi,aa)}}})):Io()}),onValuesChange:()=>Ir(Te({},fr.getFieldsValue()))},$e.createElement(de.default.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},$e.createElement(le.default,{placeholder:"\u5FC5\u586B\uFF0C\u63CF\u8FF0\u4E3B\u8981\u4FEE\u6539\u5185\u5BB9\uFF08\u76F8\u5F53\u4E8EGit Commit message\u7684Header\uFF09"})),$e.createElement(de.default.Item,{label:"\u9009\u62E9\u6587\u4EF6",name:"file",rules:[{required:!0,validator(rr,qi){return(Bo==null?void 0:Bo.length)===0?Promise.reject(new Error("\u8BF7\u9009\u62E9\u6587\u4EF6")):Promise.resolve()}}]},$e.createElement("div",{onClick:()=>{if(!fr.getFieldValue("commitMessage")){Wt.ZP.warning("\u8BF7\u5148\u586B\u5199\u63D0\u4EA4\u4FE1\u606F");return}}},$e.createElement(rt,Te({},Ze),$e.createElement("div",null,$e.createElement("i",{className:`iconfont icon-shangchuan font50 ${zt.colorBlue}`})),$e.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",$e.createElement("span",{className:`${zt.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20\uFF08\u5982\u679C\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC750MB,\u8BF7\u4E0A\u4F20\u81F3\u6570\u636E\u96C6\uFF09"))))))),$e.createElement(mn.Z,{onFinish:rr=>xr(rr)})))};var fn=(0,Mt.connect)(({shixunsDetail:Vt,loading:hn,globalSetting:Xt,user:Vn})=>({shixunsDetail:Vt,globalSetting:Xt,user:Vn,loading:hn.models.index}))(Sn),an={flex_box_center:"flex_box_center___UqJuy",flex_space_between:"flex_space_between___kWKf7",flex_box_vertical_center:"flex_box_vertical_center___nu70j",flex_box_center_end:"flex_box_center_end___NpRXJ",flex_box_column:"flex_box_column___mXaJ7",headLeft:"headLeft___CFA1O",colorBlue:"colorBlue___tdx2e",wrap:"wrap___Q6mHI",nodata:"nodata___f2U7q",nodataText:"nodataText___UUFGT",content:"content___nlH4h",gitCode:"gitCode___jaHbo",ellipsis:"ellipsis___wqs5z",menu:"menu___E01hA",overlayClass:"overlayClass___LrvQr",tips:"tips___XoHVF",gitTree:"gitTree___VsBuj"},$t={wrap:"wrap___qIbzI",content:"content___cWjqb",mainPathWrap:"mainPathWrap___QP5mq",colorBlue:"colorBlue___zUy77"},fi=Object.defineProperty,Mn=Object.getOwnPropertySymbols,On=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable,Si=(Vt,hn,Xt)=>hn in Vt?fi(Vt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):Vt[hn]=Xt,sr=(Vt,hn)=>{for(var Xt in hn||(hn={}))On.call(hn,Xt)&&Si(Vt,Xt,hn[Xt]);if(Mn)for(var Xt of Mn(hn))Hi.call(hn,Xt)&&Si(Vt,Xt,hn[Xt]);return Vt},ro=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const Wo=({shixunsDetail:Vt,globalSetting:hn,loading:Xt,dispatch:Vn,title:er,pathList:lr=[],showInputPath:ui=!1,isMergeSelectFile:Ci=!1,onFinish:Yn=()=>{}})=>{const[ln]=de.default.useForm(),_r=(0,Mt.useParams)(),Rn=(0,Mt.useLocation)(),Ir=(0,ue.useRef)(),[Or,fr]=(0,ue.useState)(""),[Bo,Zr]=(0,ue.useState)(""),[Zi,xr]=(0,ue.useState)([]),[oo,Bn]=(0,ue.useState)([]);(0,ue.useEffect)(()=>{var qi,Xi;Ir.current=((Xi=(qi=Rn.pathname)==null?void 0:qi.split("/"))==null?void 0:Xi[3])==="repository"},[]),(0,ue.useEffect)(()=>{if(Vt.actionTabs.key!=="Repository-SelectFilePath")return;const qi=lr.join("/");let Xi=[];lr.map((aa,ys)=>{ys===0?Xi.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${aa}`,path:qi}):Xi.push({val:`/${aa}`,path:qi})}),xr(Xi),fr(qi),Zr(qi),gi(qi)},[Vt.actionTabs.key]);const gi=qi=>ro(void 0,null,function*(){const Xi=yield Vn({type:Ir.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:_r.id,path:qi}});Xi&&Bn(Xi.trees||[])}),Ze=qi=>{let Xi=Or;qi.type==="tree"&&(Zi.length?Zi.push({val:`/${qi.name}`,path:qi.name}):Zi.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${qi.name}`,path:qi.name}),xr(Zi),Xi=Or?`${Or}/${qi.name}`:qi.name,fr(Xi)),gi(Xi)},Io=(qi,Xi)=>{const aa=Zi.filter((bs,_o)=>_o<=Xi);xr(aa);const ys=aa.filter((bs,_o)=>_o!==0).map(bs=>bs.val).join("").substr(1);fr(ys),gi(ys)},no=()=>ro(void 0,null,function*(){const qi=ln==null?void 0:ln.getFieldsValue(),Xi=Or?`${Or}${qi!=null&&qi.name?`/${qi==null?void 0:qi.name}`:""}`:qi==null?void 0:qi.name;if(Ci){Yn(Xi),rr();return}if(ui){yield ln.validateFields();const aa=yield Vn({type:"shixunsDetail/uploadGitFolder",payload:sr(sr({},{id:_r.id,path:Xi}),Ir.current?{}:{secret_repository:!0})});Yn(Bo),aa.status===0&&Wt.ZP.info("\u65B0\u5EFA\u6210\u529F")}else Yn(Xi),Wt.ZP.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");rr()}),rr=()=>{Vn({type:"shixunsDetail/setActionTabs",payload:{}}),ln.resetFields()};return ue.createElement(St.default,{centered:!0,title:er||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,open:Vt.actionTabs.key==="Repository-SelectFilePath",onOk:no,onCancel:rr},ue.createElement("div",{className:$t.wrap},ue.createElement("div",{className:$t.content},ue.createElement("div",{className:$t.mainPathWrap},!!(Zi!=null&&Zi.length)&&Zi.map((qi,Xi)=>ue.createElement("a",{key:Xi,onClick:()=>Io(qi,Xi)},qi.val))),!!(oo!=null&&oo.length)&&oo.map((qi,Xi)=>qi.type==="tree"&&ue.createElement("a",{key:Xi,onClick:()=>Ze(qi)},ue.createElement("i",{className:`iconfont icon-wenjianjia ${$t.colorBlue}`}),qi.name))),ue.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),ue.createElement("div",{className:"mt5 mb5"},Or),ui&&ue.createElement(de.default,{form:ln,scrollToFirstError:!0,className:"mt20"},ue.createElement(de.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ue.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};var No=(0,Mt.connect)(({shixunsDetail:Vt,loading:hn,globalSetting:Xt})=>({shixunsDetail:Vt,globalSetting:Xt,loading:hn.models.index}))(Wo),Lr=Pe(18785),Ko=Pe(84105),Oo=Pe(49692),So=Pe(955),Eo=Pe(46474),Tr=Pe(79219),Be=Object.defineProperty,ya=Object.defineProperties,to=Object.getOwnPropertyDescriptors,zn=Object.getOwnPropertySymbols,Vi=Object.prototype.hasOwnProperty,Wi=Object.prototype.propertyIsEnumerable,mi=(Vt,hn,Xt)=>hn in Vt?Be(Vt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):Vt[hn]=Xt,Qn=(Vt,hn)=>{for(var Xt in hn||(hn={}))Vi.call(hn,Xt)&&mi(Vt,Xt,hn[Xt]);if(zn)for(var Xt of zn(hn))Wi.call(hn,Xt)&&mi(Vt,Xt,hn[Xt]);return Vt},nr=(Vt,hn)=>ya(Vt,to(hn)),nn=(Vt,hn)=>{var Xt={};for(var Vn in Vt)Vi.call(Vt,Vn)&&hn.indexOf(Vn)<0&&(Xt[Vn]=Vt[Vn]);if(Vt!=null&&zn)for(var Vn of zn(Vt))hn.indexOf(Vn)<0&&Wi.call(Vt,Vn)&&(Xt[Vn]=Vt[Vn]);return Xt},_t=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const{DirectoryTree:Rt}=Oe.default,Li=Vt=>{var hn=Vt,{shixunsDetail:Xt,globalSetting:Vn,loading:er,user:lr,activeKey:ui,dispatch:Ci,practiceSetting:Yn,isRepository:ln,treeData:_r,setTreeData:Rn}=hn,Ir=nn(hn,["shixunsDetail","globalSetting","loading","user","activeKey","dispatch","practiceSetting","isRepository","treeData","setTreeData"]),Or,fr,Bo,Zr,Zi,xr,oo;const Bn=(0,Mt.useParams)(),gi=(0,Mt.useLocation)(),[Ze,Io]=(0,ue.useState)(),[no,rr]=(0,ue.useState)(!1),[qi,Xi]=(0,ue.useState)(!1),[aa,ys]=(0,ue.useState)(!1),[bs,_o]=(0,ue.useState)(!1),[Ea,za]=(0,ue.useState)("");let[kr,Rr]=(0,ue.useState)([]),[pi,ho]=(0,ue.useState)([]);const[Ba,Ws]=(0,ue.useState)([]),[Xa,ua]=(0,ue.useState)(!1),[Ta,Ls]=(0,ue.useState)(),[ll,Qt]=(0,ue.useState)(),[Va,rn]=(0,ue.useState)(""),[Ss,yu]=(0,ue.useState)(),[fl,Vl]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{Rn([]),Su(""),localStorage.warehouseHideTip||ua(!0)},[gi.pathname,ln]);const is=(wr="")=>_t(void 0,null,function*(){(yield(0,Oo.Zt)({id:Bn.id,secret_dir_path:wr}))&&yu(wr)}),kl=wr=>{var so;return ue.createElement(Ve.default,{className:an.menu,onClick:ca=>{switch(za(wr.path||""),ca.key){case"1":(0,So.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6"]),rr(!0);break;case"2":(0,So.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6\u5939"]),ys(!0);break;case"3":(0,So.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u4E0A\u4F20"]),_o(!0);break;case"4":(0,So.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u91CD\u547D\u540D"]),Xi(!0);break;case"5":(0,So.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u5220\u9664"]),xd(wr.path,wr.name,wr);break;case"6":(0,So.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u590D\u5236\u8DEF\u5F84"]),Ed(wr);break}}},(wr.type==="topTree"||wr.type==="tree")&&ue.createElement(Ve.default.Item,{key:"1"},"\u65B0\u5EFA\u6587\u4EF6"),(wr.type==="topTree"||wr.type==="tree")&&ue.createElement(Ve.default.Item,{key:"2"},"\u65B0\u5EFA\u6587\u4EF6\u5939"),(wr.type==="topTree"||wr.type==="tree")&&ue.createElement(Ve.default.Item,{key:"3"},"\u4E0A\u4F20"),wr.type!=="topTree"&&wr.type!=="tree"&&((so=Xt==null?void 0:Xt.detail)==null?void 0:so.public)<2&&ue.createElement(Ve.default.Item,{key:"4"},"\u91CD\u547D\u540D"),wr.type!=="topTree"&&ue.createElement(ne.CopyToClipboard,{text:`/data/workspace/myshixun/${ln?"":"secret/"}${wr==null?void 0:wr.path}`,onCopy:()=>Wt.ZP.success("\u590D\u5236\u6210\u529F")},ue.createElement(Ve.default.Item,{key:"6"},ue.createElement(ue.Fragment,null,"\u590D\u5236\u8DEF\u5F84"))),wr.type!=="topTree"&&ue.createElement(Ve.default.Item,{key:"5"},"\u5220\u9664"))},Nl=(wr,so)=>wr.map(ca=>(so==""?ca.path=so+ca.name:ca.path=so+"/"+ca.name,ca.title=ue.createElement(bt.Z,{className:"font14"},ue.createElement(wt.Z,{flex:"1"},ue.createElement(bt.Z,null,ca.type==="blob"&&ue.createElement(wt.Z,{flex:"20px",style:{marginLeft:-20}},ue.createElement("span",{className:"iconfont icon-wenjian11 font12"})),ue.createElement(wt.Z,{flex:"1"},ue.createElement("span",{className:" multi_ellipsis1"},ca.name)))),ue.createElement(wt.Z,null,(ca.type==="blob"||ca.type==="tree")&&ue.createElement(pt.Z,{dropdownRender:()=>kl(ca),className:an.ellipsis},ue.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"})))),ca.disableCheckbox=Ze&&Ze!==ca.name,ca.className=ca.type==="tree"?an.pl23:"",ca.checkable=ca.type!=="tree",ca.isLeaf=ca.type!=="tree",ca.children=ca.type==="tree"&&[],ca.key=ca.path,ca)),ga=wr=>{Ci({type:"practiceSetting/setSideBarTabs",payload:{selectPath:wr}})},gl=(wr,so)=>_t(void 0,null,function*(){const ca=wr.split("/");yield Su(Ea),setTimeout(()=>{ga(wr),kr=[ca[0]||""],pi=[wr],ho([...pi]),Rr([...kr])},150)}),Vc=(wr,so)=>{if(so=="")_r=[...wr],Rn([...wr]);else{let ca=du(_r,so,wr);_r=ca,Rn([...ca])}};function du(wr,so,ca){return wr.map(Dr=>Dr.key===so?(Dr.children=[...ca],Qn({},Dr)):Dr.children?nr(Qn({},Dr),{children:du(Dr.children,so,ca)}):Dr)}const Su=(wr="")=>_t(void 0,null,function*(){var so,ca;const Dr=yield Ci({type:ln?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:Bn.id,path:wr}});if(Dr){if((so=Dr.trees)!=null&&so.length){let Bl=Nl([...Dr.trees],wr);Vc(Bl,wr),Ws(Dr.trees||[]),Qt(wr||""),console.log("handleGetRepository:",Bl,wr),setTimeout(()=>console.log(_r,Dr.trees,wr,999999),2e3)}else wr==""&&Rn([]);Ls(((ca=Dr.commits)==null?void 0:ca[0])||{})}return Dr}),xu=wr=>_t(void 0,null,function*(){return new Promise((so,ca)=>_t(void 0,null,function*(){wr.children.length&&so(),rn(wr.path),yield Su(wr.path),so()}))}),ao=(wr,so)=>_t(void 0,null,function*(){var ca;console.log("handleSelectTree",wr,so.nativeEvent.target.nodeName,so);const Dr=()=>{ga(so.node.path),wr=[so.node.path],ho([...wr])};so.nativeEvent.target.nodeName==="svg"||so.nativeEvent.target.nodeName==="LI"||so.nativeEvent.target.nodeName==="I"||so.node.type==="blob"&&((ca=Yn==null?void 0:Yn.sideBar)!=null&&ca.confirmLeave?St.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Dr(),Ci({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}}):Dr())}),xd=(wr,so,ca)=>{St.default.confirm({centered:!0,title:`\u786E\u8BA4\u9700\u8981\u5220\u9664\u8BE5\u6587\u4EF6${ca.children?"\u5939":""}?`,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>_t(void 0,null,function*(){const Dr=yield Ci({type:"shixunsDetail/deleteGitFile",payload:{id:Bn.id,path:wr,message:`\u5220\u9664${wr}`,secret_repository:ln?null:!0}});let Bl=wr.split("/");if((Dr==null?void 0:Dr.status)===0){Wt.ZP.info("\u5220\u9664\u6210\u529F"),Bl.splice(Bl.length-1,1);const ku=yield Su(Bl.length>1?Bl.join("/"):"");return ku!=null&&ku.trees||(Bl.splice(Bl.length-1,1),yield Su(Bl.length>1?Bl.join("/"):"")),ga(""),!0}else(Dr==null?void 0:Dr.status)===-3?St.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:ue.createElement("div",null,"\u8BE5\u6587\u4EF6\u201C",wr,"\u201D\u5DF2\u7ECF\u88AB\u4EFB\u52A1\u5173\u5361\u7684\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u6216\u8BC4\u6D4B\u6267\u884C\u6587\u4EF6\u4F7F\u7528\uFF0C\u8BF7\u5148\u4FEE\u6539\u4EFB\u52A1\u5173\u5361\u4E2D\u8BC4\u6D4B\u8BBE\u7F6E\u7684\u6587\u4EF6\u8DEF\u5F84\u540E\u518D\u5220\u9664\u3002"),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:()=>{window.location.href=`/shixuns/${Bn.id}/edit/${Dr==null?void 0:Dr.message}/tab=2`}}):(Dr==null?void 0:Dr.status)===-4&&St.default.confirm({title:"\u5220\u9664\u5931\u8D25",centered:!0,content:ue.createElement("div",null,Dr==null?void 0:Dr.message),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:()=>{window.location.href=`/shixuns/${Bn.id}/edit?tabId=service`}})})})},Ed=wr=>{console.log(wr,"item")},Bc=(wr,so)=>_t(void 0,null,function*(){if(console.log("handleExpand",so),so.nativeEvent.target.nodeName==="svg"||so.nativeEvent.target.nodeName==="path"||so.nativeEvent.target.nodeName==="LI")return!0;yield xu(so.node),kr.includes(so.node.path)?kr.splice(kr.indexOf(so.node.path),1):kr.push(so.node.path),Rr([...kr])}),Od=()=>{ua(!1),localStorage.warehouseHideTip=!0},Nh=wr=>_t(void 0,null,function*(){var so;let ca,Dr="",Bl,ku;switch(ln){case!0:Dr="\u5F00\u542F\u7248\u672C\u5E93",Bl="\u5F00\u542F",ku="\u4E0D\u5F00\u542F",ca=ue.createElement("div",null,"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361\u65F6\uFF0C\u9700\u8981\u4F7F\u7528\u4EE3\u7801\u4ED3\u5E93\uFF1B\u5982\u679C\u53EA\u6709\u9009\u62E9\u9898\u5173\u5361\uFF0C\u5219\u4E0D\u9700\u8981\u4EE3\u7801\u4ED3\u5E93\u3002\u4EE3\u7801\u4ED3\u5E93\u542F\u7528\u540E\uFF0C\u5C06\u65E0\u6CD5\u5173\u95ED\u3002");break;case!1:(so=Xt==null?void 0:Xt.detail)!=null&&so.secret_repository?(Dr="\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",Bl="\u786E\u5B9A",ku="\u53D6\u6D88",ca=ue.createElement("div",null,"\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u540E\uFF0C\u5DF2\u521B\u5EFA\u7684\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u53CA\u5176\u5185\u5BB9\uFF0C\u5C06\u88AB\u5220\u9664\u3002\u786E\u8BA4\u8981\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\uFF1F")):(Dr="\u5F00\u542F\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",Bl="\u4E0D\u4F7F\u7528",ku="\u4F7F\u7528",ca=ue.createElement("div",null,"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002\u9002\u7528\u4E8E\u547D\u4EE4\u884C\u3001\u56FE\u5F62\u5316\u684C\u9762\u4E24\u7C7B\u5B9E\u8BAD\uFF0C\u5176\u4ED6\u7C7B\u578B\u5B9E\u8BAD\u4E0D\u5EFA\u8BAE\u4F7F\u7528\u79C1\u5BC6\u7248\u672C\u5E93\u3002"));break}!ln&&(0,Eo.gy)(Ci,"\u4E0D\u80FD\u5F00\u542F/\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93")||St.default.confirm({title:Dr,okText:Bl,cancelText:ku,content:ca,onOk:()=>{var xs;(0,So.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93",Dr]),!ln&&!((xs=Xt==null?void 0:Xt.detail)!=null&&xs.secret_repository)||ir(wr)},onCancel:()=>{var xs;!ln&&!((xs=Xt==null?void 0:Xt.detail)!=null&&xs.secret_repository)&&ir(wr)}})}),ir=wr=>_t(void 0,null,function*(){ln?(yield(0,Oo.h4)(Qn({},Bn)),Ci({type:"practiceSetting/getCommonData",payload:Qn({},Bn)})):yield(0,Oo.K0)(nr(Qn({},Bn),{is_secret_repository:wr})),Su(),Ci({type:"shixunsDetail/getShixunsDetail",payload:{id:Bn.id}})}),il=wr=>{console.log(wr)},bl=wr=>_t(void 0,null,function*(){console.log(wr);const so=wr.node.key,ca=wr.dragNode.key,Dr=wr.node.pos.split("-"),Bl=wr.dropPosition-Number(Dr[Dr.length-1]);if(wr.dragNode.type==="tree"){Wt.ZP.warning("\u4E0D\u652F\u6301\u6587\u4EF6\u5939\u79FB\u52A8\u76EE\u5F55");return}if(wr.node.type!=="tree"){Wt.ZP.warning("\u672A\u79FB\u52A8\u6587\u4EF6\u76EE\u5F55\u4F4D\u7F6E");return}if((yield Ci({type:"shixunsDetail/moveGitFile",payload:Qn({id:Bn.id,from:wr.dragNode.path,to:wr.node.path+"/"+wr.dragNode.name,message:`${wr.dragNode.path} move to ${wr.node.path+"/"+wr.dragNode.name} `},ln?{}:{secret_repository:!0})})).status===0){ga(""),yield Su("");for(let Ms=0;Mskl({type:"topTree"}),className:"current"},ue.createElement(Dt.Z,{open:Xa,title:ue.createElement("div",{className:"font16"},ue.createElement(Lr.Z,{style:{position:"relative",left:-35},onClick:()=>Od()}),"\u70B9\u51FB\u6B64\u5904\u65B0\u5EFA\u6587\u4EF6\u3001\u65B0\u5EFA\u6587\u4EF6\u5939\u3001\u4E0A\u4F20\u6587\u4EF6\u3002",ue.createElement("span",{onClick:()=>Od(),className:"iconfont icon-guanbi1 ml8 current font14"})),overlayClassName:an.overlayClass,overlayStyle:{maxWidth:500},arrowPointAtCenter:!0,placement:"right",color:"#F7B500"},ln&&((Zr=Xt==null?void 0:Xt.detail)==null?void 0:Zr.init_repository)&&ue.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}),!ln&&((Zi=Xt==null?void 0:Xt.detail)==null?void 0:Zi.secret_repository)&&ue.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}))))),!!_r.length&&!ln&&ue.createElement("div",{className:"mt20 pl20 pr20 font14 c-white"},ue.createElement("div",null,"\u5B9E\u8BAD\u8BC4\u6D4B\u7684\u65F6\u5019\uFF0C\u7CFB\u7EDF\u4F1A\u4E34\u65F6\u5C06\u79C1\u5BC6\u4EE3\u7801\u5E93\u79FB\u52A8\u666E\u901A\u4EE3\u7801\u5E93\u7684secret\u76EE\u5F55\u4E0B\u9762\uFF0C\u8BC4\u6D4B\u7ED3\u675F\u4F1A\u6E05\u7A7Asecret\u76EE\u5F55\u5185\u5BB9\u3002\u5982\u679C\u79C1\u5BC6\u4EE3\u7801\u5E93\u4E2D\u5B58\u5728\u6587\u4EF6src/test.sh\uFF0C\u5728\u666E\u901A\u4EE3\u7801\u5E93\u8C03\u7528\u8BE5\u6587\u4EF6\u5219\u4F7F\u7528\u8DEF\u5F84\uFF1Asecret/src/test.sh")),_r.length?ue.createElement(ue.Fragment,null,ue.createElement("div",{className:an.content},ui==="1"&&ue.createElement("div",{className:an.tips},"\u63D0\u793A\uFF1A",ue.createElement("br",null),'\u4EE3\u7801\u8FD0\u884C\u5728\u670D\u52A1\u5668/data/workspace/myshixun/\u4E0B\uFF0C\u5982\u679C\u4EE3\u7801 \u9700\u8981\u7528\u5230\u6587\u4EF6\u8DEF\u5F84\u65F6\uFF0C\u60A8\u5C06\u9F20\u6807\u79FB\u5165\u4ED3\u5E93\u6587\u4EF6\u6216\u76EE\u5F55\u53F3\u4FA7\u7684"..." \u56FE\u6807\uFF0C\u9009\u62E9\u590D\u5236\u8DEF\u5F84\u5F97\u5230\u6587\u4EF6\u7684\u7EDD\u5BF9\u8DEF\u5F84\u3002'),ue.createElement(Rt,{disabled:!!er.effects["shixunsDetail/getFileContent"],multiple:!0,showIcon:!1,treeData:_r,switcherIcon:ue.createElement(Ko.Z,{style:{fontWeight:"bold",fontSize:14,position:"relative",top:5,left:-2}}),onExpand:Bc,expandedKeys:kr,selectedKeys:pi,onSelect:ao,draggable:!0,onDragEnter:il,onDrop:bl,className:an.gitTree}))):"",!_r.length&&ln&&((xr=Xt==null?void 0:Xt.detail)==null?void 0:xr.init_repository)&&ue.createElement(yr,null),!_r.length&&!ln&&((oo=Xt==null?void 0:Xt.detail)==null?void 0:oo.secret_repository)&&ue.createElement(yr,null))),ue.createElement(En,{visible:qi,defaultPath:Ea,onClose:()=>Xi(!1),isRepository:!ln,onOK:wr=>_t(void 0,null,function*(){const so=Ea.split("/");so.pop(),yield Su(so.join("/")),ga("")})}),ue.createElement(on,{visible:no,defaultPath:Ea,onClose:()=>rr(!1),isRepository:ln,onOK:wr=>{gl(wr.path,wr.name)}}),ue.createElement(xt,{visible:aa,defaultPath:Ea,onClose:()=>ys(!1),isRepository:ln,onOK:wr=>{gl(wr.path,wr.name)}}),ue.createElement(fn,{defaultPath:Ea,visible:bs,isRepository:ln,onClose:()=>_o(!1),onOK:wr=>_t(void 0,null,function*(){const so=Ea.split("/");yield Su(Ea),kr=[so[0]||""],pi=[Ea],ho([...pi]),Rr([...kr])})}),ue.createElement(No,{pathList:Ea==null?void 0:Ea.split("/"),showInputPath:!0,isMergeSelectFile:fl,onFinish:wr=>{fl?is(wr):Su(wr),Vl(!1)}}))},yr=()=>ue.createElement("div",{className:`mt20 pb50 ${an.nodata}`},ue.createElement("div",{className:an.headLeft},"\u63D0\u793A\uFF1A",ue.createElement("br",null),"\u6B64\u5904\u5B58\u653E\u672C\u5B9E\u8BAD\u6240\u9700\u7684\u6240\u6709\u4EE3\u7801\u7B49\u76F8\u5173\u6587\u4EF6\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7\u4EE5\u4E0B",ue.createElement("br",null),"\u4E24\u79CD\u65B9\u5F0F\u6765\u4F7F\u7528\uFF1A",ue.createElement("br",null),"1\u3001",ue.createElement("a",{href:"/forums/2784",target:"_blank"},"Git\u5BA2\u6237\u7AEF")," \u4E0A\u4F20\u5DF2\u6709\u6587\u4EF6\u6765\u5F00\u59CB\u4F7F\u7528\u3002",ue.createElement("br",null),"2\u3001\u76F4\u63A5\u5728\u5E73\u53F0\u4E0A\u521B\u5EFA\u6587\u4EF6\u76EE\u5F55\u4EE5\u53CA\u76F8\u5173\u4EE3\u7801\u6587\u4EF6\u3002",ue.createElement("br",null),"3\u3001\u5982\u679C\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC750MB,\u8BF7\u4E0A\u4F20\u81F3\u6570\u636E\u96C6\u3002"),ue.createElement("img",{width:"100%",src:Tr.Oe}));var Oi=(0,Mt.connect)(({shixunsDetail:Vt,loading:hn,globalSetting:Xt,practiceSetting:Vn,user:er})=>({shixunsDetail:Vt,globalSetting:Xt,user:er,practiceSetting:Vn,loading:hn}))(Li),Zn={flex_box_center:"flex_box_center___JYIA5",flex_space_between:"flex_space_between___OOSa6",flex_box_vertical_center:"flex_box_vertical_center___s1AAj",flex_box_center_end:"flex_box_center_end___Ou9x8",flex_box_column:"flex_box_column___fXhOh",commitWrap:"commitWrap___xJGHF",wrap:"wrap___OEGuw",colorGray:"colorGray___nocDG",content:"content___Cvvjf",itemTime:"itemTime___wIggD",imageUrl:"imageUrl___C3Dsm",blueLight:"blueLight___qEiQB",divider:"divider___G5Y2d",empty:"empty___L1pRU"},ki=Pe(28103),Vr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,Br=Object.prototype.propertyIsEnumerable,Et=(Vt,hn)=>{var Xt={};for(var Vn in Vt)br.call(Vt,Vn)&&hn.indexOf(Vn)<0&&(Xt[Vn]=Vt[Vn]);if(Vt!=null&&Vr)for(var Vn of Vr(Vt))hn.indexOf(Vn)<0&&Br.call(Vt,Vn)&&(Xt[Vn]=Vt[Vn]);return Xt},Di=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const Cn=Vt=>{var hn=Vt,{shixunsDetail:Xt,globalSetting:Vn,loading:er,user:lr,dispatch:ui,isRepository:Ci}=hn,Yn=Et(hn,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]);const ln=(0,Mt.useParams)(),[_r,Rn]=(0,ue.useState)([]);(0,ue.useEffect)(()=>{Ir()},[Ci]);const Ir=()=>Di(void 0,null,function*(){const Or=yield ui({type:"shixunsDetail/getRepositoryCommit",payload:{id:ln.id,secret_repository:Ci?void 0:!0}});Or&&Rn(Or.commits||[])});return ue.createElement(ue.Fragment,null,_r==""&&ue.createElement("div",{className:Zn.empty},ue.createElement("img",{src:Tr.em,width:"258"}),ue.createElement("br",null),ue.createElement("span",{className:"c-grey-c font14"},"\u6682\u65E0\u63D0\u4EA4\u8BB0\u5F55")),_r!=""&&ue.createElement("section",{className:Zn.bg},ue.createElement("div",{className:Zn.wrap},ue.createElement("div",{className:Zn.content},_r==null?void 0:_r.map(Or=>{var fr,Bo;return ue.createElement("div",null,ue.createElement(bt.Z,{align:"middle",className:"c-white font16"},ue.createElement(wt.Z,null,Or.title)),ue.createElement(bt.Z,{align:"middle",className:"mt20 "},ue.createElement(wt.Z,null,ue.createElement("img",{className:Zn.imageUrl,src:Fn.Z.IMG_SERVER+"/"+((fr=Or.author)==null?void 0:fr.image_url)})),ue.createElement(wt.Z,{className:Zn.blueLight},ue.createElement("span",{className:"ml20"},(Bo=Or.author)==null?void 0:Bo.username)),ue.createElement(wt.Z,null,ue.createElement("span",{className:`ml20 ${Zn.blueLight}`},"\u63D0\u4EA4\u4E8E"),ue.createElement("span",{className:`ml20 ${Zn.blueLight}`},Or.time))),ue.createElement(ki.Z,{className:Zn.divider}))})))))};var Kn=(0,Mt.connect)(({shixunsDetail:Vt,loading:hn,globalSetting:Xt,user:Vn})=>({shixunsDetail:Vt,globalSetting:Xt,user:Vn,loading:hn.models.index}))(Cn),Lt=Pe(23210),Ft=Pe(59301),un=Object.defineProperty,Sr=Object.defineProperties,Ii=Object.getOwnPropertyDescriptors,Ri=Object.getOwnPropertySymbols,si=Object.prototype.hasOwnProperty,Ti=Object.prototype.propertyIsEnumerable,Jr=(Vt,hn,Xt)=>hn in Vt?un(Vt,hn,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):Vt[hn]=Xt,Qr=(Vt,hn)=>{for(var Xt in hn||(hn={}))si.call(hn,Xt)&&Jr(Vt,Xt,hn[Xt]);if(Ri)for(var Xt of Ri(hn))Ti.call(hn,Xt)&&Jr(Vt,Xt,hn[Xt]);return Vt},Lo=(Vt,hn)=>Sr(Vt,Ii(hn)),Nn=(Vt,hn)=>{var Xt={};for(var Vn in Vt)si.call(Vt,Vn)&&hn.indexOf(Vn)<0&&(Xt[Vn]=Vt[Vn]);if(Vt!=null&&Ri)for(var Vn of Ri(Vt))hn.indexOf(Vn)<0&&Ti.call(Vt,Vn)&&(Xt[Vn]=Vt[Vn]);return Xt},ja=(Vt,hn,Xt)=>new Promise((Vn,er)=>{var lr=Yn=>{try{Ci(Xt.next(Yn))}catch(ln){er(ln)}},ui=Yn=>{try{Ci(Xt.throw(Yn))}catch(ln){er(ln)}},Ci=Yn=>Yn.done?Vn(Yn.value):Promise.resolve(Yn.value).then(lr,ui);Ci((Xt=Xt.apply(Vt,hn)).next())});const{TabPane:co}=kt.default,Kr=Vt=>{var hn=Vt,{globalSetting:Xt,loading:Vn,dispatch:er,practiceSetting:lr,shixunsDetail:ui}=hn,Ci=Nn(hn,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),Yn,ln,_r,Rn,Ir,Or,fr,Bo,Zr,Zi,xr,oo,Bn,gi,Ze,Io,no,rr,qi;const[Xi,aa]=(0,ue.useState)("1"),[ys,bs]=(0,ue.useState)("1");let[_o,Ea]=(0,ue.useState)();const za=(0,ue.useRef)(),[kr,Rr]=(0,ue.useState)(!0),[pi,ho]=(0,ue.useState)(["2","1"]),[Ba,Ws]=(0,ue.useState)([]),Xa=(0,ue.useRef)(),ua=(0,Mt.useParams)(),Ta=[{id:"1",name:"\u4EE3\u7801\u4ED3\u5E93"},{id:"2",name:Ft.createElement("span",null,Ft.createElement("span",null,"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"),Ft.createElement(Dt.Z,{title:"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002"},Ft.createElement("i",{className:"iconfont icon-xiaowenhao",style:{marginLeft:2,fontSize:14}})))}];(0,ue.useEffect)(()=>{var Va,rn,Ss,yu,fl,Vl,is,kl,Nl,ga,gl,Vc,du,Su,xu,ao,xd,Ed;try{((Ss=(rn=(Va=ui==null?void 0:ui.fileContent)==null?void 0:Va.content)==null?void 0:rn.content)!=null&&Ss.length||((fl=(yu=ui==null?void 0:ui.fileContent)==null?void 0:yu.content)==null?void 0:fl.content)=="")&&(((Vl=ui==null?void 0:ui.fileContent)==null?void 0:Vl.file_type)==="txt"?(za.current=window.decodeURIComponent(escape(window.atob((kl=(is=ui==null?void 0:ui.fileContent)==null?void 0:is.content)==null?void 0:kl.content))),_o=window.decodeURIComponent(escape(window.atob((ga=(Nl=ui==null?void 0:ui.fileContent)==null?void 0:Nl.content)==null?void 0:ga.content))),Ea(_o)):(za.current=(Vc=(gl=ui==null?void 0:ui.fileContent)==null?void 0:gl.content)==null?void 0:Vc.content,_o=(Su=(du=ui==null?void 0:ui.fileContent)==null?void 0:du.content)==null?void 0:Su.content,Ea(_o)))}catch(Bc){za.current=window.atob((ao=(xu=ui==null?void 0:ui.fileContent)==null?void 0:xu.content)==null?void 0:ao.content),_o=window.atob((Ed=(xd=ui==null?void 0:ui.fileContent)==null?void 0:xd.content)==null?void 0:Ed.content),Ea(_o),Wt.ZP.warning("\u8BF7\u786E\u8BA4\u6587\u4EF6\u5B57\u7B26\u96C6\u7F16\u7801\u662F\u5426\u4E3AUTF-8")}console.log("codeMirrorSourceValue1212:12",ui.fileContent.content)},[(Yn=ui==null?void 0:ui.fileContent)==null?void 0:Yn.content]),(0,ue.useEffect)(()=>{var Va;const rn=(Va=lr==null?void 0:lr.sideBar)==null?void 0:Va.selectPath.split("/");ho(rn)},[(ln=lr==null?void 0:lr.sideBar)==null?void 0:ln.selectPath]);const Ls=Va=>{Ea(Va);let rn=-1;Va===za.current?rn=0:rn=1,er({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!!rn}})};(0,ue.useEffect)(()=>{new Promise((Va,rn)=>ja(void 0,null,function*(){var Ss,yu,fl;if(((Ss=lr==null?void 0:lr.sideBar)==null?void 0:Ss.selectPath)!==""&&((yu=lr==null?void 0:lr.sideBar)!=null&&yu.selectPath)){const Vl=yield er({type:"shixunsDetail/getFileContent",payload:{id:ua.id,path:(fl=lr==null?void 0:lr.sideBar)==null?void 0:fl.selectPath,secret_repository:kr?null:!0}});Vl!=null&&Vl.content||(Vl==null?void 0:Vl.content)==""||er({type:"practiceSetting/setSideBarTabs",payload:{selectPath:""}})}}))},[(_r=lr==null?void 0:lr.sideBar)==null?void 0:_r.selectPath]);const ll=Ft.createElement(Ve.default,{className:it.menu,style:{background:"#24294b"},onClick:Va=>{var rn;!((rn=ui==null?void 0:ui.detail)!=null&&rn.secret_repository)&&Va.key==="2"&&bs("1"),aa(Va.key),Va.key==="1"?Rr(!0):Rr(!1)}},Ft.createElement(Ve.default.Item,{disabled:!0,key:"0"},"\u5207\u6362\u4ED3\u5E93"),Ta.filter(Va=>{var rn,Ss;return!((rn=ui==null?void 0:ui.detail)!=null&&rn.init_repository)||(Ss=ui==null?void 0:ui.detail)!=null&&Ss.is_jupyter_lab?Va.id!=="2":Va}).map((Va,rn)=>Ft.createElement(Ve.default.Item,{className:"leaveClick",key:Va.id},Va.name))),Qt=(Va=!1,rn=1)=>ja(void 0,null,function*(){var Ss,yu,fl,Vl;const is=yield er({type:"shixunsDetail/updateRepositoryFile",payload:{id:ua.id,path:(yu=(Ss=ui==null?void 0:ui.fileContent)==null?void 0:Ss.params)==null?void 0:yu.path,content:_o,secret_repository:kr?null:!0,sync_origin_shixun:Va}});is!=null&&is.content&&((fl=ui==null?void 0:ui.detail)!=null&&fl.copy_for_exercise||Wt.ZP.success("\u4FDD\u5B58\u6210\u529F"),er({type:"practiceSetting/setSideBarTabs",payload:Lo(Qr({},lr.sideBar),{confirmLeave:!1})})),(Vl=ui==null?void 0:ui.detail)!=null&&Vl.copy_for_exercise&&(0,Jt.m)(er,ui,ua.id,rn)});return Ft.createElement("div",{className:it.warehouse},Ft.createElement("div",{className:it.header},Ft.createElement(bt.Z,{align:"middle",className:"w100 c-white",style:{height:60}},Ft.createElement(wt.Z,{flex:"1"},Ft.createElement(bt.Z,{align:"middle"},Ft.createElement(wt.Z,null,Ft.createElement(pt.Z,{dropdownRender:()=>ll,className:it.menu},Ft.createElement("span",{className:"font16 c-white current ml20"},Ta.find(Va=>Va.id===Xi).name," ",Ft.createElement("span",{style:{color:"#B0B5D6"},className:"iconfont icon-sanjiaoxing font12"})))),Ft.createElement(wt.Z,{flex:"81px"},Ft.createElement("div",{className:it.line})),Ft.createElement(wt.Z,null,Ft.createElement(kt.default,{className:it.tabs,activeKey:ys,onChange:Va=>{var rn;(rn=lr==null?void 0:lr.sideBar)!=null&&rn.confirmLeave?St.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{bs(Va),er({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}})}}):(bs(Va),er({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}}))}},Ft.createElement(co,{tab:Ft.createElement("span",{className:"leaveClick"},"\u4EE3\u7801\u6587\u4EF6"),key:"1"}),kr&&((Rn=ui==null?void 0:ui.detail)==null?void 0:Rn.init_repository)&&Ft.createElement(co,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}),!kr&&((Ir=ui==null?void 0:ui.detail)==null?void 0:Ir.secret_repository)&&Ft.createElement(co,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}))))),(kr&&((Or=ui==null?void 0:ui.repository)==null?void 0:Or.git_url)||!kr&&((fr=ui==null?void 0:ui.secretRepository)==null?void 0:fr.git_url))&&Ft.createElement(Ft.Fragment,null,Ft.createElement(wt.Z,null,Ft.createElement("span",{className:it.title},"\u4ED3\u5E93\u5730\u5740:"),Ft.createElement("input",{value:kr?(Bo=ui==null?void 0:ui.repository)==null?void 0:Bo.git_url:(Zr=ui==null?void 0:ui.secretRepository)==null?void 0:Zr.git_url}),Ft.createElement(ne.CopyToClipboard,{text:kr?(Zi=ui==null?void 0:ui.repository)==null?void 0:Zi.git_url:(xr=ui==null?void 0:ui.secretRepository)==null?void 0:xr.git_url,onCopy:()=>Wt.ZP.success("\u590D\u5236\u6210\u529F")},Ft.createElement(Dt.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u7248\u672C\u5E93"},Ft.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"}))))))),Ft.createElement("div",{className:it.content,style:{overflow:"auto"}},ys==="1"&&Ft.createElement(Ft.Fragment,null,Ft.createElement("aside",{className:it.left},Ft.createElement(Ut.Z,{spinning:!!Vn.effects["shixunsDetail/getRepository"],wrapperClassName:`${it.loading} ${it.bottom0}`},Ft.createElement(Oi,{setTreeData:Ws,treeData:Ba,activeKey:Xi,isRepository:kr}))),Ft.createElement("aside",{className:it.right,ref:Xa},((oo=lr==null?void 0:lr.sideBar)==null?void 0:oo.selectPath)!==""&&Ft.createElement(Ft.Fragment,null,Ft.createElement(Ut.Z,{spinning:!!Vn.effects["shixunsDetail/getFileContent"],wrapperClassName:it.loading},Ft.createElement("div",{className:it.filePathWrp},Ft.createElement(bt.Z,{align:"middle",className:"w100"},Ft.createElement(wt.Z,null,Ft.createElement("span",{className:"iconfont icon-daimacangku2 c-white"})),Ft.createElement(wt.Z,{flex:"40px"},Ft.createElement("div",{className:it.line,style:{marginLeft:20}})),Ft.createElement(wt.Z,{className:it.filePath},pi.map((Va,rn)=>Ft.createElement("span",{className:"c-blue"},Va))))),Ft.createElement("div",{className:Vn.effects["shixunsDetail/getFileContent"]?"hide":"show"},Ft.createElement(Lt.Z,{className:"darkBlue",style:{top:66,height:"calc(100% - 60px)",position:"absolute",zIndex:1},filename:(Bn=ui==null?void 0:ui.fileContent)==null?void 0:Bn.filename,type:((gi=ui==null?void 0:ui.fileContent)==null?void 0:gi.file_type)==="office"?"download":(Ze=ui==null?void 0:ui.fileContent)==null?void 0:Ze.file_type,data:_o,monacoEditor:{value:_o,language:(Io=ui==null?void 0:ui.fileContent)==null?void 0:Io.language,onChange:Va=>Ls(Va),options:{fontSize:14}}}))),((no=ui==null?void 0:ui.fileContent)==null?void 0:no.file_type)==="txt"&&Ft.createElement(bt.Z,{align:"middle",justify:"center",className:it.footer},Ft.createElement(wt.Z,null,Ft.createElement(Zt.ZP,{type:"primary",size:"middle",ghost:!0,onClick:()=>{Mt.history.push(`/shixuns/${ua.id}/challenges`)}},"\u53D6\u6D88"),Ft.createElement(Zt.ZP,{type:"primary",size:"middle",className:"ml40",onClick:Va=>{var rn,Ss;(rn=ui==null?void 0:ui.detail)!=null&&rn.is_fork_from_creator&&((Ss=ui==null?void 0:ui.detail)!=null&&Ss.copy_for_exercise)?er({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"wareHouse",fn:(yu,fl)=>{Qt(yu,fl)}}}):Qt()}},"\u63D0\u4EA4")))),((rr=lr==null?void 0:lr.sideBar)==null?void 0:rr.selectPath)==""&&((qi=ui==null?void 0:ui.detail)==null?void 0:qi.init_repository)&&Ft.createElement("div",{className:it.empty},Ft.createElement("img",{src:Tr.x7,width:"258"}),Ft.createElement("br",null),Ft.createElement("span",{className:"c-grey-c"},!!(Ba!=null&&Ba.length)&&"\u5728\u5DE6\u4FA7\u4EE3\u7801\u4ED3\u5E93\u533A\u57DF\u70B9\u51FB\u76EE\u5F55\u6253\u5F00\u6587\u4EF6",!(Ba!=null&&Ba.length)&&"\u8BF7\u5148\u5728\u5DE6\u4FA7\u4E0A\u4F20\u6587\u4EF6\u6216\u65B0\u5EFA\u6587\u4EF6\uFF01")))),ys==="2"&&Ft.createElement("div",{className:it.commit},Ft.createElement(Kn,{isRepository:kr}))))};var sn=(0,Mt.connect)(({loading:Vt,globalSetting:hn,practiceSetting:Xt,shixunsDetail:Vn})=>({globalSetting:hn,loading:Vt,practiceSetting:Xt,shixunsDetail:Vn}))(Kr)},37129:function(tn,jn,Pe){"use strict";Pe.r(jn),Pe.d(jn,{default:function(){return Ht}});var ue=Pe(59301),it={practiceSetting:"practiceSetting___duHIg",wrapHeader:"wrapHeader___vb3NV",wrapLayout:"wrapLayout___z6EgF",wrapSidebar:"wrapSidebar___TzHq8",wrapContent:"wrapContent___iZrCo"},Mt={flex_box_center:"flex_box_center___XeTw7",flex_space_between:"flex_space_between___Hfc9g",flex_box_vertical_center:"flex_box_vertical_center___JWkfv",flex_box_center_end:"flex_box_center_end___bKF19",flex_box_column:"flex_box_column___XWcdc",header:"header___HkrmL","flex-center":"flex-center___Xqcdj",title:"title___rc2FS",schedule:"schedule___MloKP",clickWarp:"clickWarp___yvMMm",num:"num___etFJa",subject:"subject___ZbcjS",btns:"btns___R7eGw",btn:"btn___NLvn4",simulate:"simulate___kVrJQ",exit:"exit___CTNC5"},kt=Pe(955),Dt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACL0lEQVRIS72WvU9TURTAf4e+qBUritRXoYkaB0w0alz4B3RQExTSbjpooouiddGVxf0hTjKQ+MkANhiVwYTNwcHFRuNgdIHGYiMmVWnja6+5La8ttq99Vesd3/n4nXPuOec+ocHpu6nCecVJFCcUHBDo0eoK0gKvEZ76hNnFy7Lg5kbqCXrGVa8vzyhwVsBoFIQCG5jM+xhNj0jyd90agGmpQVHcQwg0clwjU2SUcDoVk8fVsjUAc0yNiMICOlpyXlEuKCGWuiLjzqcyoBg5xP/CueOzoGDIyaQI0DU3bN61XBa3NBUZ22CvvpMiwLTUbYHzf1gWDpmw9B2S3yoeFEykYnJBdCvaBT4265Z6cEMgNgBn9sPQNHz4ugZgGx3sltCYuojiVqvRd/th4jjsC0J0BhKf63gQLknIUs+AY60A+rfB3UEIboTIDLz65Go9J6alFgT6vAIOboeHp2CrH64+h6m37pYKFnUGWWB9tZrfAOso5Gy4Ng/ZfEl62ISpYQisgzsJuD7fNKxcXUCoE+JR2NUFiSU49wQ2GDAbBV3798tw5D7kVsENMDnXEoUDEI9AeDN8WYGsDb0B0FM0PA0va7ZOLcYpkesl7+wqQXZsqhh7LI1jMNe0TfdsKUGCnfDjJwxMQnqlae1LCrpNvQxafzc8isCDN3DjhTfneo0XB83rqtADlczAsu45D6e8Kv7LslvNon3r2sm4rQ9OGdLOJ9OBtPXRr26Qf/Hb8gvtaezbqqd4vgAAAABJRU5ErkJggg==",Wt=Pe(49692),Ve=Pe(43418),bt=Pe(8591),wt=Pe(99064),pt=Pe(89070),St=Pe(59301),Ut=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,te=(tt,st)=>{var ot={};for(var wn in tt)Zt.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&Ut)for(var wn of Ut(tt))st.indexOf(wn)<0&&Oe.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},ne=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const de=tt=>{var st=tt,{globalSetting:ot,loading:wn,dispatch:wi,practiceSetting:Ji,shixunsDetail:dr}=st,Ei=te(st,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),Ln,bi;const Yr=(0,pt.useLocation)(),wo=(0,ue.useRef)(""),Nr=(0,pt.useParams)(),{title:$r,base_info_warning:To,challenges_warning:xo,service_warning:po,repository_warning:ur,mirror_warning:ma}=Ji;(0,ue.useEffect)(()=>{var yo;wo.current=(yo=Yr.pathname.split("/"))==null?void 0:yo[2],wi({type:"practiceSetting/setParams",payload:{id:wo.current}}),wi({type:"practiceSetting/getCommonData",payload:{id:wo.current}})},[Yr.pathname]),(0,ue.useEffect)(()=>((0,kt.Dk)($r||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),()=>{(0,kt.Dk)()}));const Vo=()=>ne(void 0,null,function*(){yield mo(),pt.history.push(`/shixuns/${wo.current}/challenges`)}),mo=()=>new Promise((yo,da)=>{var xa;(xa=Ji==null?void 0:Ji.sideBar)!=null&&xa.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{wi({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),yo()},onCancel:()=>{da()}}):yo()}),Fo=yo=>{var da;if(yo===(Ji==null?void 0:Ji.sideBar.tabsActive))return;const xa=()=>{pt.history.push(`/shixuns/${wo.current}/edit?tabId=${yo}`),wi({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:yo,selectPath:"",confirmLeave:!1}})};(da=Ji==null?void 0:Ji.sideBar)!=null&&da.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{xa()}}):xa()},Pr=(yo,da=!1)=>{yo=yo!=null&&yo.includes(".json")?yo:`${yo}.json`,Ve.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:St.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>ne(void 0,null,function*(){const xa=yield(0,wt.ZP)("/api"+yo,{method:"get"});if(!xa)return;bt.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Jn=yield(0,Wt.Ir)({id:xa.shixun_identifier,jump_challenge_setting:da});if(Jn!=null&&Jn.game_identifier){(0,kt.xg)(`/tasks/${Jn.game_identifier}`);return}(Jn==null?void 0:Jn.status)===2?Pr(Jn==null?void 0:Jn.message):(Jn==null?void 0:Jn.status)===3&&gr(Jn==null?void 0:Jn.message)})})},gr=yo=>{Ve.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:St.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",yo,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Mo=(yo,da)=>ne(void 0,null,function*(){var xa,Jn,Co,Xo;if(yield mo(),(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),(xa=dr.detail)!=null&&xa.is_jupyter||(Jn=dr.detail)!=null&&Jn.is_jupyter_lab){wi({type:"shixunsDetail/execJupyter",payload:{id:wo.current}}).then(qo=>{var ms;qo!=null&&qo.identifier&&((ms=pt.history)==null||ms.push(`/tasks/${qo.identifier}/jupyter`))});return}wi({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const Qo=da?yield(0,Wt.BK)({id:yo}):yield(0,Wt.Ir)({id:yo});if(wi({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(Qo==null?void 0:Qo.status)==5&&!da){Ve.default.confirm({centered:!0,icon:null,width:430,okText:"\u5B8C\u5584\u8BC4\u6D4B\u8BBE\u7F6E",cancelText:"\u76F4\u63A5\u8FDB\u5165\u6A21\u62DF\u5B9E\u6218",title:"\u63D0\u793A",content:St.createElement("div",{className:"mb10"},"\u68C0\u6D4B\u5230",(Xo=(Co=Qo==null?void 0:Qo.data)==null?void 0:Co.challenge_errors)==null?void 0:Xo.map((qo,ms)=>{var Cr;return St.createElement("span",{key:ms,style:{color:"#3061D0"}},"\u7B2C",qo==null?void 0:qo.challenge_position,"\u5173",ms!=((Cr=Qo==null?void 0:Qo.data)==null?void 0:Cr.challenge_errors)-1&&"\u3001")}),"\u5173\u5361\u4E2D\u8BC4\u6D4B\u8BBE\u7F6E\u672A\u5B8C\u6210\uFF0C\u76F4\u63A5\u8FDB\u5165\u6A21\u62DF\u5B9E\u6218\u65E0\u6CD5\u68C0\u6D4B\u6574\u4E2A\u5B9E\u9A8C\u6D41\u7A0B\uFF0C\u5EFA\u8BAE\u5148\u5B8C\u5584\u5173\u5361\u8BC4\u6D4B\u8BBE\u7F6E\u540E\u518D\u8FDB\u5165\u6A21\u62DF\u5B9E\u6218"),onOk:()=>{var qo,ms,Cr;window.location.href=`/shixuns/${wo.current}/edit/${(Cr=(ms=(qo=Qo==null?void 0:Qo.data)==null?void 0:qo.challenge_errors)==null?void 0:ms[0])==null?void 0:Cr.challenge_id}/tab=2`},onCancel:()=>{(0,Wt.Ir)({id:wo.current,jump_challenge_setting:!0}).then(qo=>{if(qo!=null&&qo.game_identifier||qo!=null&&qo.identifier){(0,kt.xg)(`/tasks/${qo.game_identifier}`);return}(qo==null?void 0:qo.status)===-3?(0,kt.eF)():(qo==null?void 0:qo.status)===2?Pr(qo==null?void 0:qo.message,!0):(qo==null?void 0:qo.status)===3&&gr(qo==null?void 0:qo.message)})}});return}if((Qo==null?void 0:Qo.status)==6&&!da){Ve.default.confirm({centered:!0,icon:null,width:430,okText:"\u5B8C\u5584\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E",title:"\u63D0\u793A",content:St.createElement("div",{className:"mb10"},"\u68C0\u6D4B\u5230\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E\u4E0D\u5B8C\u5584\uFF0C\u65E0\u6CD5\u5F00\u542F\u5B9E\u9A8C\u73AF\u5883\u8FDB\u884C\u6A21\u62DF\u5B9E\u6218\u8BF7\u5B8C\u5584\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E"),cancelButtonProps:{style:{display:"none"}},onOk:()=>{window.location.href=`/shixuns/${wo.current}/edit?tabId=environment`}});return}if(Qo!=null&&Qo.game_identifier||Qo!=null&&Qo.identifier){(0,kt.xg)(da?`/tasks/${Qo==null?void 0:Qo.identifier}/jupyter`:`/tasks/${Qo.game_identifier}`);return}(Qo==null?void 0:Qo.status)===-3?(0,kt.eF)():(Qo==null?void 0:Qo.status)===2?Pr(Qo==null?void 0:Qo.message):(Qo==null?void 0:Qo.status)===3&&gr(Qo==null?void 0:Qo.message)}),Ur=()=>ne(void 0,null,function*(){yield mo(),wi({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}})}),Do=yo=>({borderBottomColor:(Ji==null?void 0:Ji.sideBar.tabsActive)===yo?"#0152d9":"transparent"});return St.createElement("div",{className:Mt.header},St.createElement("aside",{className:Mt.title},St.createElement("i",{onClick:Vo,style:{color:"#fff",marginRight:20},className:"icon iconfont icon-fanhui1"}),St.createElement("span",{className:Mt.edit},$r||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"),St.createElement("i",{onClick:Ur,className:"icon iconfont icon-xiugai1"})),St.createElement("aside",{className:Mt.schedule},St.createElement("div",null,St.createElement("span",{style:Do("information"),className:Mt.clickWarp,onClick:()=>Fo("information")},To?St.createElement("span",{className:Mt.num},"1"):St.createElement("img",{src:Dt}),St.createElement("span",{className:Mt.subject},"\u57FA\u672C\u4FE1\u606F")),St.createElement("i",{className:"iconfont icon-lujing"})),St.createElement("div",null,St.createElement("span",{style:Do("warehouse"),className:Mt.clickWarp,onClick:()=>Fo("warehouse")},ur?St.createElement("span",{className:Mt.num},"2"):St.createElement("img",{src:Dt}),St.createElement("span",{className:Mt.subject},"\u4EE3\u7801\u4ED3\u5E93")),St.createElement("i",{className:"iconfont icon-lujing"})),(dr==null?void 0:dr.detail)&&!((Ln=dr==null?void 0:dr.detail)!=null&&Ln.is_jupyter_lab)&&St.createElement("div",null,St.createElement("span",{style:Do("level"),className:Mt.clickWarp,onClick:()=>Fo("level")},xo?St.createElement("span",{className:Mt.num},"3"):St.createElement("img",{src:Dt}),St.createElement("span",{className:Mt.subject},"\u4EFB\u52A1\u5173\u5361")),St.createElement("i",{className:"iconfont icon-lujing"})),(dr==null?void 0:dr.detail)&&((bi=dr==null?void 0:dr.detail)==null?void 0:bi.is_jupyter_lab)&&St.createElement("div",null,St.createElement("span",{style:Do("service"),className:Mt.clickWarp,onClick:()=>Fo("service")},po?St.createElement("span",{className:Mt.num},"3"):St.createElement("img",{src:Dt}),St.createElement("span",{className:Mt.subject},"\u670D\u52A1")),St.createElement("i",{className:"iconfont icon-lujing"})),St.createElement("div",null,St.createElement("span",{style:Do("environment"),className:Mt.clickWarp,onClick:()=>Fo("environment")},ma?St.createElement("span",{className:Mt.num},"4"):St.createElement("img",{src:Dt}),St.createElement("span",{className:Mt.subject},"\u5B9E\u9A8C\u73AF\u5883")))),St.createElement("aside",{className:Mt.btns},St.createElement("div",{className:Mt.simulate,onClick:()=>Mo(wo.current,!1)},"\u6A21\u62DF\u5B9E\u6218")))};var le=(0,pt.connect)(({loading:tt,globalSetting:st,practiceSetting:ot,shixunsDetail:wn})=>({globalSetting:st,loading:tt,practiceSetting:ot,shixunsDetail:wn}))(de),pe={information:"information___HnFAg",scroll:"scroll___SzyY_",formWrap:"formWrap___dlZEW",img:"img___ESi1t"},xe=Pe(12290),Ae=Pe(78241),Me=Pe(3113),ke=Pe(92832),lt=Pe(19842),dt=Pe(95237),yt=Pe(43604),ut=Pe(54580),Ot=Pe(24905),xt={btn:"btn___CiIEf",s1:"s1___JCH7l",s2:"s2___jSyjE"},Nt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABjUlEQVQ4T61VsUoDQRB9s+eVYifkUlqIWCW3sbBMqYUR0cbfUPETxPgZ2giigpZaCnKXpBK1sMydpIx25+7ISu5ILhsjclvuzLx5M292lmA57PtuF2gIYIMBSYBn3BiICAg1cF0GrqjVSvLhlL+IqtVNEDUZWLAlS+8IeAPzvtduXw77ZYAMiEjKI2LeY2AskQ2cAGaiEy8MDwnQxicL7Ep5bDL+xmqijahZDsODDHBQ5sVfmVn6xmDeMuWTESAGnqf1bBpz09MSsESx729r4DwfIIA6hPjUSt2AaP7Hztwj5nXHdd0vpR7yMQzsUOT7pwzsjgEKsVIKgiCu1Za1UvfGLhynXgqCp6hSkSxEYCn9jLq+/wJgcawk5l4KYECN3YBlCVLWo4GvhmGfgVlrj4ZAjX0KmBmZD8Owj4IAMQAsvGSrKKR1zet0QpsosZQrmvnRKsqksZlxnFWVJAkT3Y6MDbAmgDlFdGcdm8IH22Qp9OmltAtdDoPlWez6SpkWtmCHFTNCvQMN/scX8A1e4fnIOEHt8AAAAABJRU5ErkJggg==",Jt=Object.defineProperty,vn=Object.getOwnPropertySymbols,Ai=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,kn=(tt,st,ot)=>st in tt?Jt(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,ci=(tt,st)=>{for(var ot in st||(st={}))Ai.call(st,ot)&&kn(tt,ot,st[ot]);if(vn)for(var ot of vn(st))hi.call(st,ot)&&kn(tt,ot,st[ot]);return tt},et=(tt,st)=>{var ot={};for(var wn in tt)Ai.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&vn)for(var wn of vn(tt))st.indexOf(wn)<0&&hi.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},yn=tt=>{var st=tt,{InputRight:ot,value:wn=[],onChange:wi}=st,Ji=et(st,["InputRight","value","onChange"]);const[dr,Ei]=(0,ue.useState)(),Ln=Yr=>{const wo=wn.filter((Nr,$r)=>$r!==Yr);wi(wo)},bi=Yr=>{if(Yr.preventDefault(),!!dr){if(wn.findIndex(wo=>wo.name===dr)>-1){bt.ZP.warning("\u4E0D\u5141\u8BB8\u6DFB\u52A0\u76F8\u540C\u6807\u7B7E");return}wi([...wn,{id:null,name:dr}]),Ei(null)}};return ue.createElement("div",null,ue.createElement(ke.default,ci({bordered:!1,style:{width:600},value:dr,onChange:Yr=>Ei(Yr.target.value),onPressEnter:bi,onBlur:bi},Ji)),ot||ue.createElement("span",{className:"pl20 font14 c-light-black"},"\u56DE\u8F66\u6DFB\u52A0\u6807\u7B7E"),ue.createElement("div",{className:"mt20"},wn==null?void 0:wn.map((Yr,wo)=>ue.createElement("div",{key:wo,className:xt.btn},ue.createElement("span",{className:xt.s1},Yr.name),ue.createElement("img",{src:Nt,className:xt.s2,onClick:()=>Ln(wo)})))))},Xn=Pe(89392),ei=Pe(3294),on={flex_box_center:"flex_box_center___hBEA9",flex_space_between:"flex_space_between___rMB3f",flex_box_vertical_center:"flex_box_vertical_center___XT_7U",flex_box_center_end:"flex_box_center_end___ayQhe",flex_box_column:"flex_box_column___Yqif8",complete:"complete___zRKx3",cancel:"cancel___D5r7A",save:"save___sa92o"};const xn=({dispatch:tt,onCancel:st,onSave:ot,loading:wn=!1})=>ue.createElement("div",{className:on.complete},ue.createElement("div",{onClick:st,className:on.cancel},"\u53D6\u6D88"),ue.createElement(Me.ZP,{type:"primary",loading:wn,onClick:ot,className:on.save},"\u4FDD\u5B58"));var Dn=(0,pt.connect)()(xn),yi=Pe(16349),qn=Pe(32050),Mi=Pe(19248),mt=Pe(85149),ht=Pe(59301),gn=Object.defineProperty,jt=Object.defineProperties,En=Object.getOwnPropertyDescriptors,Fn=Object.getOwnPropertySymbols,ri=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable,mn=(tt,st,ot)=>st in tt?gn(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,zt=(tt,st)=>{for(var ot in st||(st={}))ri.call(st,ot)&&mn(tt,ot,st[ot]);if(Fn)for(var ot of Fn(st))ni.call(st,ot)&&mn(tt,ot,st[ot]);return tt},$e=(tt,st)=>jt(tt,En(st)),At=(tt,st)=>{var ot={};for(var wn in tt)ri.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&Fn)for(var wn of Fn(tt))st.indexOf(wn)<0&&ni.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},Yt=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const Ie=tt=>{var st=tt,{globalSetting:ot,loading:wn,dispatch:wi,practiceSetting:Ji,problemset:dr,shixunsDetail:Ei}=st,Ln=At(st,["globalSetting","loading","dispatch","practiceSetting","problemset","shixunsDetail"]),bi,Yr;const[wo]=Ae.default.useForm(),[Nr,$r]=(0,ue.useState)({}),[To,xo]=(0,ue.useState)(!1),[po,ur]=(0,ue.useState)(!1),[ma,Vo]=(0,ue.useState)(!1),[mo,Fo]=(0,ue.useState)(""),[Pr,gr]=(0,ue.useState)(""),[Mo,Ur]=(0,ue.useState)(""),[Do,yo]=(0,ue.useState)(),da=(0,ue.useRef)({}),xa=(0,ue.useRef)(""),Jn=(0,ue.useRef)(""),Co=(0,ue.useRef)(""),Xo=(0,ue.useRef)(null),Qo=(0,ue.useRef)((0,Xn.throttle)(()=>Za(),2e3,{leading:!0,trailing:!1})).current,{id:qo}=Ji,[ms,Cr]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{qo&&Ha()},[qo]),(0,ue.useEffect)(()=>(JSON.stringify(Nr)!=="{}"&&Jo(),()=>{clearTimeout(Xo.current)}),[Nr,mo,Mo,Pr]);const Jo=()=>{clearTimeout(Xo.current),Xo.current=setTimeout(()=>{!(0,Xn.isEqual)(Nr,da.current)||mo!==xa.current||Mo!==Jn.current||Pr!==Co.current?wi({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):wi({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},500)},Ha=()=>Yt(void 0,null,function*(){var La,jo,ia,Yl,Ru,tc,fa;wi({type:"problemset/getEditDisciplines",payload:{source:"shixun"}});const Ua=yield(0,wt.ZP)(`/api/shixuns/${qo}/edit_base_info.json`,{method:"get"});if(Ua.status===0){const Po=$e(zt({},Ua.data),{description:(0,yi.S)(Ua.data.description)}),Wr={description:Po.description,shixun_tags:Po.shixun_tags,name:Po.name,course:((La=Po==null?void 0:Po.disciplines)==null?void 0:La.length)>0?[(ia=(jo=Po==null?void 0:Po.disciplines)==null?void 0:jo[0])==null?void 0:ia.id,(tc=(Ru=(Yl=Po==null?void 0:Po.disciplines)==null?void 0:Yl[0])==null?void 0:Ru.sub_discipline)==null?void 0:tc.id]:[]};(fa=Ei.detail)!=null&&fa.is_jupyter_lab&&(Wr.jupyter_show_description=Ua.data.jupyter_show_description),wo.setFieldsValue(Wr),da.current=zt({},Wr),xa.current=Po.attachment_id||"",Jn.current=Po.cover_image_id||"",Co.current=Po.attachment_id_b||"",$r(zt({},Wr)),Fo(Po.attachment_id||""),gr(Po.attachment_id_b||""),Ur(Po.cover_image_id||""),yo(Po.cover_image||"")}}),ls=(La,jo)=>{$r(zt({},jo))},hs=()=>{Ho()},Za=()=>{(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u57FA\u672C\u4FE1\u606F","\u4FDD\u5B58"]),wo.submit()},pr=(La,jo=!1,ia=1)=>{var Yl;const{name:Ru,description:tc,shixun_tags:fa,course:Ua,jupyter_show_description:Po=!1}=La;let Wr={name:Ru,description:tc,shixun_tags:fa,attachment_id:mo,cover_image_id:Mo,attachment_id_b:Pr,sub_discipline_ids:Ua[1]};(Yl=Ei.detail)!=null&&Yl.is_jupyter_lab&&(Wr=$e(zt({},Wr),{jupyter_show_description:Po})),(0,wt.ZP)(`/api/shixuns/${qo}/base_info_save.json`,{method:"post",body:{shixun:zt({},Wr),sync_origin_shixun:jo}}).then(Ka=>Yt(void 0,null,function*(){var Qs,Sc,Xl,sc;if(Ka.status===0&&((Qs=Ei==null?void 0:Ei.detail)!=null&&Qs.copy_for_exercise||bt.ZP.success("\u4FDD\u5B58\u6210\u529F"),wi({type:"practiceSetting/getCommonData",payload:{id:qo}}),wi({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),da.current={description:Nr.description,shixun_tags:Nr.shixun_tags,name:Nr.name},xa.current=mo,Jn.current=Mo,Co.current=Pr,(Sc=Ei==null?void 0:Ei.detail)!=null&&Sc.copy_for_exercise)){const Jl=yield wi({type:"shixunsDetail/saveCopyForExercise",payload:{id:qo,save_type:ia}});ia===1?(Xl=Jl==null?void 0:Jl.data)!=null&&Xl.exists_same_shixun_name?wi({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(sc=Jl==null?void 0:Jl.data)==null?void 0:sc.shixun_name,getBaseInfo:()=>{Ha()}}}):(bt.ZP.info("\u4FDD\u5B58\u6210\u529F"),wi({type:"classroomList/setActionTabs",payload:{}})):(wi({type:"classroomList/setActionTabs",payload:{}}),(Jl==null?void 0:Jl.status)===0&&Ve.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:ht.createElement("div",null,ht.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var nd,mr;(0,kt.xg)(`/shixuns/${(mr=(nd=Ei==null?void 0:Ei.detail)==null?void 0:nd.fork_from)==null?void 0:mr.fork_identifier}/challenges`)}}))}}))},Ho=()=>{var La;const jo=()=>{pt.history.push(`/shixuns/${qo}/challenges`),wi({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(La=Ji==null?void 0:Ji.sideBar)!=null&&La.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{jo()}}):jo()};function Wa(La){const jo=La.type==="image/jpeg"||La.type==="image/png";return jo||bt.ZP.error("\u8BF7\u4E0A\u4F20jpg\u6216png\u7684\u56FE\u7247!"),jo}const Yo=ht.createElement(Me.ZP,{loading:To,icon:ht.createElement(qn.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),ts=ht.createElement(Me.ZP,{loading:ma,icon:ht.createElement(qn.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),fs=ht.createElement(Me.ZP,{loading:po,icon:ht.createElement(qn.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");function al(La,jo){const ia=new FileReader;ia.addEventListener("load",()=>jo(ia.result)),ia.readAsDataURL(La)}const Xs=La=>{var jo,ia;if(La.file.status==="uploading"){xo(!0);return}La.file.status==="done"&&(xo(!1),Fo((ia=(jo=La==null?void 0:La.file)==null?void 0:jo.response)==null?void 0:ia.id))},Os=La=>{var jo,ia;if(La.file.status==="uploading"){ur(!0);return}La.file.status==="done"&&(ur(!1),gr((ia=(jo=La==null?void 0:La.file)==null?void 0:jo.response)==null?void 0:ia.id))},eo=()=>ht.createElement("div",{className:pe.img},ht.createElement("img",{src:(0,mt.z)("/api/attachments/"+mo,!0),alt:"avatar",style:{width:"100%"}}),ht.createElement("div",null,ht.createElement(Mi.Z,{onClick:()=>Fo(""),style:{fontSize:"16px",color:"red"}}))),qa=()=>ht.createElement("div",{className:pe.img},ht.createElement("img",{src:(0,mt.z)("/api/attachments/"+Pr,!0),alt:"avatar",style:{width:"100%"}}),ht.createElement("div",null,ht.createElement(Mi.Z,{onClick:()=>gr(""),style:{fontSize:"16px",color:"red"}}))),sl=La=>{var jo,ia;if(La.file.status==="uploading"){Vo(!0);return}La.file.status==="done"&&(Vo(!1),Ur((ia=(jo=La==null?void 0:La.file)==null?void 0:jo.response)==null?void 0:ia.id),Cr(!0))},Kl=()=>ht.createElement("div",{className:pe.img},ht.createElement("img",{src:(0,mt.z)(ms?"/api/attachments/"+Mo:Do,!0),alt:"avatar",style:{width:"100%"}}),ht.createElement("div",null,ht.createElement(Mi.Z,{onClick:()=>{Ur(""),yo("")},style:{fontSize:"16px",color:"red"}})));return ht.createElement("div",{className:pe.information},ht.createElement("section",{className:pe.scroll},ht.createElement("header",null,"\u57FA\u672C\u4FE1\u606F"),ht.createElement("div",{className:pe.formWrap}," ",ht.createElement(Ae.default,{form:wo,scrollToFirstError:!0,layout:"vertical",onValuesChange:ls,onFinish:La=>{var jo,ia;(jo=Ei==null?void 0:Ei.detail)!=null&&jo.is_fork_from_creator&&((ia=Ei==null?void 0:Ei.detail)!=null&&ia.copy_for_exercise)?wi({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:La,type:"information",fn:(Yl,Ru,tc)=>{pr(Yl,Ru,tc)}}}):pr(La)}},ht.createElement(Ae.default.Item,{name:"name",label:"\u540D\u79F0:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{max:60,message:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ht.createElement(ke.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26",suffix:`${((bi=Nr.name)==null?void 0:bi.length)||0}/60`})),ht.createElement(Ae.default.Item,{className:"customAddTags",name:"shixun_tags",label:ht.createElement("div",null,"\u6280\u80FD\u6807\u7B7E :"," ",ht.createElement("span",{className:"pl10 font14 c-light-black"},"\u5B66\u5458\u901A\u8FC7\u6240\u6709\u4EFB\u52A1\u5173\u5361\uFF0C\u5C06\u83B7\u5F97\u6280\u80FD\u6807\u7B7E")),rules:[{required:!0,message:"\u8BF7\u9009\u8F93\u5165\u6280\u80FD\u6807\u7B7E"}]},ht.createElement(yn,{placeholder:"\u6DFB\u52A0\u6807\u7B7E"})),ht.createElement(Ae.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B\uFF1A",name:"course",labelCol:{span:5},wrapperCol:{span:5}},ht.createElement(lt.Z,{placeholder:"\u8BF7\u9009\u62E9...",allowClear:!1,options:dr.courseOptions,getPopupContainer:La=>La.parentNode})),ht.createElement(dt.Z,null,ht.createElement(yt.Z,null,ht.createElement(Ae.default.Item,{label:"\u9876\u90E8\u80CC\u666F\u56FE:"},mo?eo():ht.createElement(ut.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${ei.Z.API_SERVER}/api/attachments.json`,beforeUpload:Wa,onChange:Xs},Yo))),ht.createElement(yt.Z,{className:"c-grey-999"},ht.createElement("div",{style:{marginTop:71,marginLeft:20}},"\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\u75281920*200\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),ht.createElement(dt.Z,null,ht.createElement(yt.Z,null,ht.createElement(Ae.default.Item,{label:"\u9876\u90E8\u5185\u5BB9\u56FE:"},Pr?qa():ht.createElement(ut.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${ei.Z.API_SERVER}/api/attachments.json`,beforeUpload:Wa,onChange:Os},fs))),ht.createElement(yt.Z,{className:"c-grey-999"},ht.createElement("div",{style:{marginTop:71,marginLeft:20}},"\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\u75281920*200\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),ht.createElement(dt.Z,null,ht.createElement(yt.Z,null,ht.createElement(Ae.default.Item,{label:"\u5217\u8868\u5C01\u9762\u56FE:"},Mo||Do?Kl():ht.createElement(ut.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${ei.Z.API_SERVER}/api/attachments.json`,beforeUpload:Wa,onChange:sl},ts))),ht.createElement(yt.Z,{className:"c-grey-999"},ht.createElement("div",{style:{marginTop:71,marginLeft:20}},"\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\u7528290*218\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"))),ht.createElement(Ae.default.Item,{name:"description",label:"\u7B80\u4ECB:"},ht.createElement(xe.Z,{defaultValue:Nr.description||"",watch:!0})),((Yr=Ei.detail)==null?void 0:Yr.is_jupyter_lab)&&ht.createElement(Ae.default.Item,{name:"jupyter_show_description",valuePropName:"checked"},ht.createElement(Ot.default,null,"\u663E\u793A\u4EFB\u52A1\u8981\u6C42\uFF08\u52FE\u9009\u540E\uFF0C\u5C06\u7B80\u4ECB\u4F5C\u4E3A\u4EFB\u52A1\u8981\u6C42\u663E\u793A\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF09"))))),ht.createElement(Dn,{onSave:Qo,onCancel:hs,loading:To||ma||po}))};var Ce=(0,pt.connect)(({problemset:tt,loading:st,globalSetting:ot,practiceSetting:wn,shixunsDetail:wi})=>({globalSetting:ot,loading:st,practiceSetting:wn,problemset:tt,shixunsDetail:wi}))(Ie),Ee=Pe(86566),Te={flex_box_center:"flex_box_center___eoeVu",flex_space_between:"flex_space_between___f9Khj",flex_box_vertical_center:"flex_box_vertical_center___mDOuj",flex_box_center_end:"flex_box_center_end___q43Rs",flex_box_column:"flex_box_column___lnTOC",level:"level___W39_7",left:"left___xugM0",container:"container___MnoCi",title:"title___HNuSO",listWrap:"listWrap___Oz5IK",list:"list___Fq6dF",s3:"s3___piVr6",s2:"s2___jJaip",listActive:"listActive___e7FOo",os:"os___Zt66K",btns:"btns___mA9Xb",btnsWrap:"btnsWrap___hx2vE",icon:"icon___l26_g",btn:"btn___AF61O",d1:"d1___WyJ4s",d2:"d2___GQq5w",shrink:"shrink___NbOqs",elseShrink:"elseShrink___ZoNE2",right:"right___zgEq_",addIcon:"addIcon___aVZVl"},Ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAABkCAYAAABKHuhiAAAgAElEQVR4Xu19CZRdVZX2d95cr+aqzAkkISGBkBCmZhCQkADCryjaJrYo+IvdKOAEor89rL/Ir2LLIHbaCWyRtqUl0sumW0UQbVvGJqjMYUqKzEmlUhlreuP513fu2e+dunVfvXr1XqDUOmu9dd+998z7O3vvs8+5ZyvUKnTo0IoFmNMWxbGxKI5KhJFM5XAwpbGhK4WXH36/2lqroibyqX0PqFpkuex7etrUBlyQjGJKTiGPnJNrGFAaocEMtm3vxoOPXq321aLMiTxq2wNVA2H5XXrelCacT2KrEHSp6uk8lFbIbO/DTx+5TO2sbTMmcqu2B6oCwsm360mzJ+EdB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8KurzpwWEavSDKjr5DyHp2IDwh9CyiTpW1ANFE3NFySYi/3H1gJiYx6In/HH1xJ94ayaA8CcOAGl+IBCUYzMoNaNgnDHMNkbV7eXy9r8Pil9JHqXa6+Yhcdw2lyvD39hS8YPydtOOpr1FghZTVkI7pf8/eEZf5Vj+hMIAAAAASUVORK5CYII=",Le=Pe(46474),rt=Pe(71418),Sn=Pe(64165),fn=Pe(12921),an=Object.defineProperty,$t=Object.defineProperties,fi=Object.getOwnPropertyDescriptors,Mn=Object.getOwnPropertySymbols,On=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable,Si=(tt,st,ot)=>st in tt?an(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,sr=(tt,st)=>{for(var ot in st||(st={}))On.call(st,ot)&&Si(tt,ot,st[ot]);if(Mn)for(var ot of Mn(st))Hi.call(st,ot)&&Si(tt,ot,st[ot]);return tt},ro=(tt,st)=>$t(tt,fi(st)),Wo=(tt,st)=>{var ot={};for(var wn in tt)On.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&Mn)for(var wn of Mn(tt))st.indexOf(wn)<0&&Hi.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},No=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const Lr=tt=>{var st=tt,{globalSetting:ot,dispatch:wn,practiceSetting:wi}=st,Ji=Wo(st,["globalSetting","dispatch","practiceSetting"]);const dr=(0,pt.useLocation)(),[Ei]=(0,pt.useSearchParams)(),[Ln,bi]=(0,ue.useState)(!1),[Yr,wo]=(0,ue.useState)({}),[Nr,$r]=(0,ue.useState)(!0),[To,xo]=(0,ue.useState)(!1),[po,ur]=(0,ue.useState)(null),ma=(0,ue.useRef)(!1),{id:Vo,updateIndex:mo,is_published:Fo,newQuestion:Pr}=wi,{challenge_list:gr=[]}=Yr;(0,ue.useEffect)(()=>{if(Vo)return Ur(),()=>{wn({type:"practiceSetting/setParams",payload:{newQuestion:null}})}},[Vo,mo]),(0,ue.useEffect)(()=>{Mo()},[dr]);const Mo=()=>{const Cr=dr.pathname.split("/");(Cr.includes("newquestion")||Cr.includes("new")||Ei.get("tabId"))&&(ma.current=!0)},Ur=()=>No(void 0,null,function*(){var Cr,Jo,Ha;$r(!0);const ls=yield(0,Wt.n5)({id:Vo});if((Cr=ls==null?void 0:ls.challenge_list)!=null&&Cr.length){const hs=dr.pathname.split("/"),Za=ls.challenge_list.find(pr=>String(pr.challenge_id)===hs[4]);if(hs.includes("newquestion")||hs.includes("new")){const pr=ls.challenge_list[((Jo=ls.challenge_list)==null?void 0:Jo.length)-1];wn({type:"practiceSetting/setParams",payload:{newQuestion:{st:hs.includes("new")?0:1,name:""}}}),ur(void 0),Jn(pr)}else hs[4]&&Za?Do(Za,!1):Do(ls.challenge_list[0])}(Ha=ls==null?void 0:ls.challenge_list)!=null&&Ha.length||ur(null),wo(ls),$r(!1)}),Do=(Cr,Jo=!0)=>{if(ur(Cr.challenge_id),Jn(Cr),Jo){const Ha=`/shixuns/${Vo}/edit/${Cr.challenge_id}/${Cr.st===1?"editquestion":"editcheckpoint"}`;pt.history.push(Ha)}},yo=(Cr,Jo)=>{Jo.stopPropagation();const{challenge_id:Ha}=Cr,ls=()=>No(void 0,null,function*(){var hs,Za;if((yield(0,Wt.rO)({id:Vo,challengesId:Ha})).status===1){const Ho=yield(0,Wt.n5)({id:Vo});if(wo(Ho),Ha===po&&((hs=Ho.challenge_list)!=null&&hs.length)){Do(Ho.challenge_list[0]);return}(Za=Ho.challenge_list)!=null&&Za.length||(ur(null),ma.current=!0,Jn({}),pt.history.push(`/shixuns/${Vo}/edit?tabId=level`))}});Ve.default.confirm({title:"\u63D0\u793A",content:"\u662F\u5426\u5220\u9664\u8BE5\u5173\u5361!",centered:!0,onOk:ls})},da=(Cr,Jo,Ha)=>{const ls=Array.from(Cr),[hs]=ls.splice(Jo,1);return ls.splice(Ha,0,hs),ls},xa=(Cr,Jo)=>{if(!Cr.destination)return;const Ha=da(Jo,Cr.source.index,Cr.destination.index);wo(ro(sr({},Yr),{challenge_list:Ha}));const ls=Ha.map(hs=>hs.challenge_id);(0,Wt.xg)({id:Vo,ids:ls}).then(hs=>{hs.status!==0&&wo(ro(sr({},Yr),{challenge_list:Jo}))})},Jn=Cr=>{wn({type:"practiceSetting/setParams",payload:{selectQuestionParams:Cr}})},Co=(Cr,Jo)=>No(void 0,null,function*(){if(Cr===po)return;yield Xo(),ur(Cr),Jn(Jo),wn({type:"practiceSetting/setParams",payload:{newQuestion:null}});const Ha=`/shixuns/${Vo}/edit/${Cr}/${Jo.st===1?"editquestion":"editcheckpoint"}`;pt.history.push(Ha)}),Xo=()=>new Promise((Cr,Jo)=>{var Ha;(Ha=wi==null?void 0:wi.sideBar)!=null&&Ha.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{wn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Cr()},onCancel:()=>{Jo()}}):Cr()}),Qo=Cr=>ue.createElement(ue.Fragment,null,ue.createElement(fn.Z5,{onDragEnd:Jo=>xa(Jo,Cr)},ue.createElement(fn.bK,{droppableId:"droppable"},(Jo,Ha)=>ue.createElement("div",ro(sr({ref:Jo.innerRef},Jo.droppableProps),{style:{width:"100%"}}),Cr.map((ls,hs)=>{const{st:Za,name:pr,challenge_id:Ho}=ls;return ue.createElement(fn._l,{key:Ho,draggableId:Ho.toString(),index:hs,isDragDisabled:Fo},(Wa,Yo)=>ue.createElement("div",ro(sr(sr({ref:Wa.innerRef},Wa.draggableProps),Wa.dragHandleProps),{className:po===Ho?Te.listActive:Te.list,onClick:()=>Co(Ho,ls)}),ue.createElement("span",{className:Te.s1},Za===0?ue.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):ue.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),ue.createElement("span",{className:Te.s2},"\u7B2C",hs+1,"\u5173: ",pr),!Fo&&ue.createElement("span",{className:Te.s3,onClick:ts=>yo(ls,ts)},ue.createElement("i",{className:"iconfont icon-shanchu7"}))))})))),Pr&&ue.createElement("div",{className:Te.listActive},ue.createElement("span",{className:Te.s1},(Pr==null?void 0:Pr.st)===0?ue.createElement("i",{className:"iconfont icon-shixunti",style:{color:"#0152d9"}}):ue.createElement("i",{className:"iconfont icon-xuanzeti3",style:{color:"#44D7B6"}})),ue.createElement("span",{className:Te.s2},"\u7B2C",Cr.length+1,"\u5173: ",Pr==null?void 0:Pr.name)),!Fo&&ue.createElement("div",{className:Te.os},"--\u62D6\u62FD\u4EFB\u52A1\u5173\u5361\u8FDB\u884C\u6392\u5E8F--")),qo=Cr=>No(void 0,null,function*(){yield Xo(),Cr==="new"?pt.history.push(`/shixuns/${Vo}/edit/new`):pt.history.push(`/shixuns/${Vo}/edit/newquestion`),bi(!1),ur(void 0),wn({type:"practiceSetting/setParams",payload:{newQuestion:{st:Cr==="new"?0:1,name:""}}})}),ms=()=>{(0,Le.gy)(wn,"\u4E0D\u80FD\u65B0\u5EFA\u4EFB\u52A1\u5173\u5361")||bi(!Ln)};return ue.createElement("div",{className:Te.level},ue.createElement("aside",{className:Te.left,style:{width:To?"0":"25%"}},ue.createElement("div",{className:Te.container},ue.createElement("div",{className:Te.title},"\u4EFB\u52A1\u5173\u5361(",gr.length,")"),ue.createElement("div",{className:Te.listWrap},Nr?ue.createElement(rt.Z,{size:"middle"}):gr.length||Pr?Qo(gr):ue.createElement(Sn.Z,{image:Ue,description:"\u6682\u65E0\u4EFB\u52A1\u5173\u5361!"}))),!To&&ue.createElement("div",{className:Te.btns},ue.createElement("aside",{className:Te.btnsWrap},ue.createElement("div",{style:{transform:Ln?"rotate(45deg)":"rotate(0deg)"},className:Te.icon,onClick:ms},"+"),ue.createElement("div",{className:Te.btn,style:{left:Ln?20:-154}},ue.createElement("div",{className:Te.d1,onClick:()=>qo("new")},"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361"),ue.createElement("div",{className:Te.d2,onClick:()=>qo("newquestion")},"\u65B0\u5EFA\u7406\u8BBA\u9898\u5173\u5361")))),ue.createElement("div",{className:To?Te.elseShrink:Te.shrink,onClick:()=>xo(!To)},ue.createElement("i",{className:"iconfont icon-zuoyouzhankai"}))),ue.createElement("aside",{className:Te.right,id:"modal-level-question"},po===null&&ma.current?ue.createElement("div",{className:Te.addIcon},ue.createElement("span",null,"\u5728\u5DE6\u4FA7\u70B9\u51FB\u201C+\u201D\u53F7\u65B0\u5EFA\u5173\u5361\u3002")):ue.createElement(pt.Outlet,null)))};var Ko=(0,pt.connect)(({globalSetting:tt,practiceSetting:st})=>({globalSetting:tt,practiceSetting:st}))(Lr),Oo=Pe(61621),So=Pe(38854),Eo=Pe(20834),Tr=Pe(58421),Be=Pe(5112),ya={title:"title___NTpKq",content:"content___oL0Iy",add:"add___L4cbC",colorBlue:"colorBlue___xRARA",radio:"radio___cfwvc"},to=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,Vi=Object.prototype.propertyIsEnumerable,Wi=(tt,st)=>{var ot={};for(var wn in tt)zn.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&to)for(var wn of to(tt))st.indexOf(wn)<0&&Vi.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},mi=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const Qn=tt=>{var st=tt,{shixunsDetail:ot,globalSetting:wn,loading:wi,dispatch:Ji,onReloadData:dr}=st,Ei=Wi(st,["shixunsDetail","globalSetting","loading","dispatch","onReloadData"]);const[Ln,bi]=(0,ue.useState)(),[Yr,wo]=(0,ue.useState)([]);(0,ue.useEffect)(()=>{ot.actionTabs.key==="Collaborators-ChangeManager"&&Nr()},[ot.actionTabs.key]);const Nr=()=>mi(void 0,null,function*(){var po;const ur=yield Ji({type:"shixunsDetail/getChangeManager",payload:{id:(po=ot.actionTabs.params)==null?void 0:po.id}});wo(ur||[])}),$r=()=>{var po;Ji({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:(po=ot.actionTabs.params)==null?void 0:po.id}}})},To=()=>mi(void 0,null,function*(){var po;if(!Ln){bt.ZP.info("\u6240\u9009\u4EBA\u5458\u4E3A\u7A7A\uFF0C\u6CA1\u6709\u66F4\u6362\u6210\u529F");return}const ur=yield Ji({type:"shixunsDetail/changeManager",payload:{id:(po=ot.actionTabs.params)==null?void 0:po.id,user_id:Ln}});xo(),ur&&(dr(),bt.ZP.info(ur.message))}),xo=()=>{Ji({type:"shixunsDetail/setActionTabs",payload:{}}),bi(null)};return ue.createElement(Ve.default,{centered:!0,keyboard:!1,closable:!1,title:"\u66F4\u6362\u7BA1\u7406\u5458",open:ot.actionTabs.key==="Collaborators-ChangeManager",confirmLoading:wi.effects["shixunsDetail/changeManager"],onOk:To,onCancel:xo},ue.createElement("div",null,ue.createElement("div",{className:ya.title},"\u9009\u62E9\u7684\u6210\u5458\u5C06\u4F1A\u6210\u4E3A\u65B0\u7684\u7BA1\u7406\u5458",ue.createElement("br",null),"\u60A8\u5C06\u4E0D\u518D\u62E5\u6709\u7BA1\u7406\u5458\u7684\u6743\u9650\uFF0C\u4F46\u60A8\u4ECD\u662F\u5408\u4F5C\u56E2\u961F\u7684\u4E00\u5458"),ue.createElement("div",{className:ya.content},Yr.length?ue.createElement(Be.ZP.Group,{value:Ln,onChange:po=>bi(po.target.value)},Yr.map((po,ur)=>ue.createElement(Be.ZP,{className:ya.radio,key:ur,value:po.user_id},po.name))):ue.createElement("div",{className:ya.add},ue.createElement("span",null,"\u8BF7\u5148\u5C06\u65B0\u7684\u7BA1\u7406\u5458\u901A\u8FC7",ue.createElement("a",{className:ya.colorBlue,onClick:$r},'"\u6DFB\u52A0\u5408\u4F5C\u8005"'),"\u52A0\u5165\u5408\u4F5C\u8005\u5217\u8868")))))};var nr=(0,pt.connect)(({shixunsDetail:tt,loading:st,globalSetting:ot})=>({shixunsDetail:tt,globalSetting:ot,loading:st}))(Qn),nn=Pe(99313),_t=Pe(47362),Rt=Pe(88412);const{TabPane:Li}=nn.default;var yr=({visible:tt,onCancel:st,onSelectGroup:ot,shixunId:wn,onSelectCollaborator:wi})=>ue.createElement(Ve.default,{title:"\u6DFB\u52A0\u5408\u4F5C\u8005",open:tt,width:1100,centered:!0,keyboard:!1,onCancel:st,maskClosable:!1,destroyOnClose:!0,forceRender:!0,bodyStyle:{minHeight:400},footer:null},ue.createElement(nn.default,{defaultActiveKey:"1"},ue.createElement(Li,{tab:"\u641C\u7D22\u6DFB\u52A0",key:"1"},ue.createElement(_t.Z,{onCancel:st,container_type:2,container_id:wn,onSelect:wi})),ue.createElement(Li,{tab:"\u56E2\u961F\u6DFB\u52A0",key:"2"},ue.createElement(Rt.Z,{onCancel:st,onSelect:ot})))),Oi={bg:"bg___GzXpp",wrap:"wrap___A40jS",modal:"modal___Zz7dC",content:"content___H5ZN2",head:"head___o5t32",headCount:"headCount___eBMPN",button:"button___YSSGm",itemWrap:"itemWrap___iPWUC",imgWrap:"imgWrap___T70Es",img:"img___oumA5",manager:"manager___VdXG8",itemContent:"itemContent____npAh",nameWrap:"nameWrap___nazId",name:"name___Z48aE",actionGroup:"actionGroup___eScAq",deleteIcon:"deleteIcon___FK_OA",schoolWrap:"schoolWrap___jJuIm",school:"school___kSMwT",countWrap:"countWrap___p7epV",deletetitle:"deletetitle___uVCHi",yseTitle:"yseTitle___L6JF9"},Zn=Pe(84105),ki=Pe(61682),Vr=Object.defineProperty,br=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,Di=(tt,st,ot)=>st in tt?Vr(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Cn=(tt,st)=>{for(var ot in st||(st={}))Br.call(st,ot)&&Di(tt,ot,st[ot]);if(br)for(var ot of br(st))Et.call(st,ot)&&Di(tt,ot,st[ot]);return tt},Kn=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const Lt=({shixunsDetail:tt,globalSetting:st,loading:ot,user:wn,dispatch:wi})=>{var Ji,dr,Ei,Ln,bi,Yr;const wo=(0,pt.useParams)(),Nr=(0,ue.useRef)(),[$r,To]=(0,ue.useState)(0),[xo,po]=(0,ue.useState)([]),[ur,ma]=(0,ue.useState)({id:null,page:1}),Vo=(dr=(Ji=wn.userInfo)==null?void 0:Ji.shixun)==null?void 0:dr.editable,mo=((Ei=wn.userInfo)==null?void 0:Ei.role)<=2||((bi=(Ln=wn.userInfo)==null?void 0:Ln.shixun)==null?void 0:bi.is_creator);(0,ue.useEffect)(()=>{Nr.current=wo.id,ur.id=Nr.current,ma(ur),Fo(ur)},[]);const Fo=Jn=>Kn(void 0,null,function*(){const Co=yield wi({type:"shixunsDetail/getCollaboratorsData",payload:Jn});Co&&(po(Co.members||[]),To(Co.member_count))}),Pr=()=>Kn(void 0,null,function*(){ur.page=1,ma(ur);const Jn=(0,ki.g)();yield wi({type:"user/getUserInfo",payload:Jn}),yield Fo(ur)}),gr=Jn=>{ur.page=Jn,ma(ur),Fo(ur)},Mo=Jn=>{Ve.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:ue.createElement("div",{className:Oi.modal},"\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F"),onOk:()=>Kn(void 0,null,function*(){var Co;const Xo=yield wi({type:"shixunsDetail/deleteCollaborators",payload:{id:Nr.current,userId:Jn}});if(((Co=wn.userInfo)==null?void 0:Co.user_id)===Jn){pt.history.push("/shixuns");return}bt.ZP.info(Xo==null?void 0:Xo.message),ur.page=1,ma(ur),Fo(ur)})})},Ur=()=>{wi({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-ChangeManager",params:{id:Nr.current}}})};function Do(Jn,Co,Xo,Qo){return Kn(this,null,function*(){yield wi({type:"shixunsDetail/updateCollaboratorEditable",payload:{identifier:Jn,user_id:Co,editable:Xo?0:1}}),Fo(ur)})}const yo=()=>{wi({type:"shixunsDetail/setActionTabs",payload:{key:"Collaborators-AddCollaborator",params:{id:Nr.current}}})};function da(){wi({type:"shixunsDetail/setActionTabs",payload:{}})}const xa={visible:tt.actionTabs.key==="Collaborators-AddCollaborator",onCancel:da,shixunId:Nr.current,onSelectCollaborator:Jn=>Kn(void 0,null,function*(){da(),(yield wi({type:"shixunsDetail/addCollaborator",payload:{id:Nr.current,user_ids:Jn}}))&&(bt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Pr())}),onSelectGroup:Jn=>Kn(void 0,null,function*(){da(),(yield wi({type:"shixunsDetail/addTeachGroupMember",payload:{identifier:Nr.current,group_id:Jn.group_id}}))&&(bt.ZP.success("\u6DFB\u52A0\u6210\u529F"),Pr())})};return ue.createElement("section",null,ue.createElement("div",{className:Oi.wrap},ue.createElement("div",{className:Oi.content},((Yr=tt.detail)==null?void 0:Yr.identity)<5&&ue.createElement("div",{className:Oi.head},ue.createElement("span",{className:Oi.headCount},"\u5408\u4F5C\u6210\u5458\uFF08",$r,"\u4EBA\uFF09"),ue.createElement("div",null,mo&&ue.createElement(Me.ZP,{type:"primary",ghost:!0,className:Oi.button,style:{marginRight:"20px"},onClick:Ur},"\u66F4\u6362\u7BA1\u7406\u5458"),Vo&&ue.createElement(Me.ZP,{type:"primary",className:Oi.button,style:{marginRight:"40px"},onClick:yo},"\u6DFB\u52A0\u5408\u4F5C\u8005"))),ue.createElement("div",{className:Oi.list},ue.createElement(Oo.Z,{loading:ot.effects["shixunsDetail/getCollaboratorsData"],active:!0,avatar:{size:40},paragraph:{rows:3},className:"mt30"},xo.map((Jn,Co)=>{var Xo,Qo,qo,ms,Cr,Jo,Ha,ls;return ue.createElement("div",{style:{display:"inline-block",width:"50%"}},ue.createElement("div",{className:Oi.itemWrap,key:Co},ue.createElement("a",{href:(Xo=Jn.user)==null?void 0:Xo.user_url,target:"_blank",className:Oi.imgWrap},ue.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"48",width:"48",className:Oi.img,src:`${ei.Z.IMG_SERVER}/images/${(Qo=Jn.user)==null?void 0:Qo.image_url}`}),((qo=Jn.user)==null?void 0:qo.shixun_manager)&&ue.createElement("span",{className:Oi.manager},"\u521B\u5EFA\u8005")),ue.createElement("div",{className:Oi.itemContent},ue.createElement("p",{className:Oi.nameWrap},ue.createElement("a",{href:Jn.user.user_url,target:"_blank",className:Oi.name},(ms=Jn.user)==null?void 0:ms.name,Jn.user.user_id===((Cr=wn.userInfo)==null?void 0:Cr.user_id)?ue.createElement("span",null,"\u6211"):null),ue.createElement("div",{className:Oi.actionGroup},mo?(Jo=Jn.user)!=null&&Jo.shixun_manager?null:ue.createElement(So.Z,{dropdownRender:()=>ue.createElement(Eo.default,{selectedKeys:[Jn.editable?"1":"2"],onClick:()=>{var hs;Do(tt.detail.identifier,Jn.user.user_id,Jn.editable,(hs=Jn.user)==null?void 0:hs.name)}},ue.createElement(Eo.default.Item,{key:1},"\u7F16\u8F91\u6743\u9650"),ue.createElement(Eo.default.Item,{key:2},"\u67E5\u770B\u6743\u9650"))},ue.createElement("div",null,Jn.editable?ue.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):ue.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650")," ",ue.createElement(Zn.Z,{style:{fontSize:"14px",color:"#888888"}}))):Jn.editable?ue.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u7F16\u8F91\u6743\u9650"):ue.createElement("span",{style:{fontSize:"16px"},className:"c-grey-c"},"\u67E5\u770B\u6743\u9650"),!((Ha=Jn.user)!=null&&Ha.shixun_manager)&&Vo?ue.createElement("a",{className:Oi.deletetitle,onClick:()=>{var hs;return Mo((hs=Jn.user)==null?void 0:hs.user_id)}},"\u5220\u9664"):null)),ue.createElement("p",{className:Oi.schoolWrap},ue.createElement("span",{className:Oi.school},(ls=Jn.user)==null?void 0:ls.school_name)))))})))),$r>10&&ue.createElement("div",{className:Oi.countWrap},ue.createElement(Tr.Z,{showQuickJumper:!1,showSizeChanger:!1,total:$r,onChange:Jn=>gr(Jn),pageSize:10,current:ur.page}))),ue.createElement(nr,{onReloadData:Pr}),ue.createElement(yr,Cn({},xa)))};var Ft=(0,pt.connect)(({shixunsDetail:tt,loading:st,globalSetting:ot,user:wn})=>({shixunsDetail:tt,globalSetting:ot,user:wn,loading:st}))(Lt),un=Pe(10149),Sr=Pe(57809),Ii=Pe(6848),Ri=Pe(78673),si=Pe(14996),Ti=Pe(36723),Jr=Pe(14636),Qr={mirrorModal:"mirrorModal___z1tEP",right:"right___ZlGrr",title:"title___lWaS3",content:"content___bCC9x",des:"des___ujB5y",btns:"btns___L4vgc",confirm:"confirm___RFRg4",cancel:"cancel___F1WB_",modal:"modal___A5dbG"},Lo=Pe(9583),Nn=Pe(55508),ja=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const co=({newShixuns:tt,user:st,dispatch:ot,visible:wn,onOk:wi,onCancel:Ji,useId:dr=null,identifier:Ei,shixun_environment_id:Ln,tab_type:bi})=>{var Yr,wo;const[Nr,$r]=(0,ue.useState)(null),[To,xo]=(0,ue.useState)({}),[po,ur]=(0,ue.useState)(""),{environmentData:ma}=tt,{frequence_image:Vo=[],environments:mo=[],other_image:Fo=[]}=ma,{name:Pr,description:gr}=To;(0,ue.useEffect)(()=>{wn&&(ot({type:"newShixuns/getEnvironmentData",payload:{tab_type:bi}}),ur(""),$r(dr))},[wn,dr]),(0,ue.useEffect)(()=>{tt.actionTabs.key==="NewShixuns-Apply"&&Ji()},[(Yr=tt==null?void 0:tt.actionTabs)==null?void 0:Yr.key]),(0,ue.useEffect)(()=>{Nr!==null&&Mo()},[Nr]);const Mo=()=>ja(void 0,null,function*(){const Ur=yield(0,Wt.Q1)({mirror_repository_id:Nr,identifier:Ei,shixun_environment_id:Ln});xo(Ur.data)});return ue.createElement(ue.Fragment,null,ue.createElement(Ve.default,{title:"\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF",open:wn,width:1e3,destroyOnClose:!0,centered:!0,onCancel:Ji,className:Qr.modal,footer:null},ue.createElement("div",{className:Qr.mirrorModal},ue.createElement(Jr.Z,{dispatch:ot,value:Nr,data:mo,otherData:Fo,tags:Vo,onChange:Ur=>$r(Ur),onSearchWord:Ur=>ur(Ur),tab_type:bi}),ue.createElement("div",{className:Qr.right},ue.createElement("header",null,ue.createElement("div",{className:Qr.title},"\u5B9E\u9A8C\u73AF\u5883:\xA0",ue.createElement("span",{dangerouslySetInnerHTML:{__html:Nr===null?"\u2014 \u2014":(wo=Pr||"")==null?void 0:wo.replace(new RegExp(po==null?void 0:po.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi"),'$&')}}))),ue.createElement("div",{className:Qr.content},Nr===null&&ue.createElement(Sn.Z,{image:Ti,description:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883"}),Nr!==null&&ue.createElement("div",{className:Qr.des},ue.createElement(mt.Z,{value:gr,highlightKeywords:po})),ue.createElement("div",{className:Qr.btns},ue.createElement(Me.ZP,{onClick:()=>{$r(null),xo({}),Ji()},className:Qr.cancel},"\u53D6\u6D88 "),ue.createElement(Me.ZP,{onClick:()=>{wi(To)},className:Qr.confirm,type:"primary"},"\u4FDD\u5B58 ")))))),ue.createElement(Lo.Z,null),ue.createElement(Nn.Z,null))};var Kr=(0,pt.connect)(({newShixuns:tt,globalSetting:st,user:ot})=>({newShixuns:tt,globalSetting:st,user:ot}))(co),sn={flex_box_center:"flex_box_center___jnFK3",flex_space_between:"flex_space_between___JoMuQ",flex_box_vertical_center:"flex_box_vertical_center___XkWzp",flex_box_center_end:"flex_box_center_end___kfVJX",flex_box_column:"flex_box_column___mfxox",content:"content___ujW8g",explain:"explain___vGa5a",tabs:"tabs___MbGuX",active:"active___SCmkJ",btns:"btns___MiEQa",must:"must___n8wNT",popover:"popover___wqXWh",zybzForm:"zybzForm___m1nC0",graaytitle:"graaytitle___vdUDn",dataPicker:"dataPicker___RiEgz",examineStatus:"examineStatus___OCyYC",contacts:"contacts___MWvKz",contacts_img:"contacts_img___kiMTs",suc_status:"suc_status___p81iO",fail_status:"fail_status___Rv54W",bohui:"bohui___wtuT5",selecticon:"selecticon___AAPZz"},Vt=Pe(43428),hn=Pe(46400),Xt=Pe(60324),Vn=Pe(88522),er=Pe(5083),lr=Pe(5871),ui=Pe(23954),Ci={footerWrap:"footerWrap___lXI4I"},Yn=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable,Rn=(tt,st)=>{var ot={};for(var wn in tt)ln.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&Yn)for(var wn of Yn(tt))st.indexOf(wn)<0&&_r.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},Ir=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const Or=ke.default.TextArea,fr=tt=>{var st=tt,{shixunsDetail:ot,globalSetting:wn,loading:wi,dispatch:Ji,onFinish:dr=()=>{}}=st,Ei=Rn(st,["shixunsDetail","globalSetting","loading","dispatch","onFinish"]);const[Ln]=Ae.default.useForm(),bi=wo=>Ir(void 0,null,function*(){var Nr;const $r=yield Ji({type:"shixunsDetail/getCustomScript",payload:{id:(Nr=ot.actionTabs.params)==null?void 0:Nr.id,compile:wo.execute,excutive:wo.compile}});Yr(),$r&&dr($r==null?void 0:$r.shixun_script)}),Yr=()=>{Ji({type:"shixunsDetail/setActionTabs",payload:{}})};return ue.createElement(Ve.default,{centered:!0,title:"\u81EA\u5B9A\u4E49\u6A21\u677F",open:ot.actionTabs.key==="Settings-UseCustomScript",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",footer:null,onCancel:Yr},ue.createElement(Ae.default,{form:Ln,scrollToFirstError:!0,layout:"vertical",onFinish:bi},ue.createElement(Ae.default.Item,{name:"execute",label:"\u6267\u884C\u547D\u4EE4\uFF1A",rules:[{required:!0,message:"\u6267\u884C\u547D\u4EE4\u4E0D\u80FD\u4E3A\u7A7A"}]},ue.createElement(Or,{rows:4})),ue.createElement(Ae.default.Item,{name:"compile",label:"\u7F16\u8BD1\u547D\u4EE4\uFF1A"},ue.createElement(Or,{rows:4})),ue.createElement("div",{className:Ci.footerWrap},ue.createElement(Ae.default.Item,null,ue.createElement(Me.ZP,{className:"mr5",size:"middle",onClick:Yr},"\u53D6\u6D88"),ue.createElement(Me.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:wi.effects["shixunsDetail/getCustomScript"]},"\u4FDD\u5B58")))))};var Bo=(0,pt.connect)(({shixunsDetail:tt,loading:st,globalSetting:ot})=>({shixunsDetail:tt,globalSetting:ot,loading:st}))(fr),Zr=Pe(24065),Zi=Pe(61186),xr=Pe.n(Zi),oo=Pe(29679),Bn=Pe(59301),gi=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const Ze="YYYY-MM-DD HH:mm",Io=({shixunsDetail:tt,visible:st,onOk:ot,onCancel:wn,dispatch:wi,is_published:Ji,id:dr,has_relation:Ei,environment:Ln=[],verifyModal:bi})=>{var Yr,wo,Nr;const $r=(0,pt.useParams)(),[To,xo]=(0,ue.useState)(1),[po,ur]=(0,ue.useState)(!0),[ma,Vo]=(0,ue.useState)(!1),[mo,Fo]=(0,ue.useState)(null),[Pr,gr]=(0,ue.useState)(),[Mo,Ur]=(0,ue.useState)(),[Do,yo]=(0,ue.useState)([]),[da,xa]=(0,ue.useState)(!1),[Jn,Co]=(0,ue.useState)(""),[Xo,Qo]=(0,ue.useState)(null),[qo]=Ae.default.useForm(),[ms,Cr]=(0,ue.useState)([]),[Jo,Ha]=(0,ue.useState)(""),[ls,hs]=(0,ue.useState)([{id:1,name:"\u8BC4\u6D4B\u811A\u672C\u8BBE\u7F6E"},{id:2,name:"\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E"}]),Za=(0,ue.useRef)((0,Xn.throttle)(eo=>Ho(eo),1200,{leading:!0,trailing:!0})).current;(0,ue.useEffect)(()=>{var eo;((0,Zr.Ny)()||(eo=tt==null?void 0:tt.detail)!=null&&eo.manager_of_shixun)&&hs([{id:1,name:"\u8BC4\u6D4B\u811A\u672C\u8BBE\u7F6E"},{id:2,name:"\u5B9E\u9A8C\u73AF\u5883\u8BBE\u7F6E"},{id:3,name:"\u5B9E\u9A8C\u8D44\u6E90\u4F18\u5148\u4FDD\u969C"}])},[]),(0,ue.useEffect)(()=>{dr&&st&&pr()},[dr,st]);const pr=(eo=null)=>gi(void 0,null,function*(){var qa,sl,Kl;eo||ur(!0);const La=yield(0,wt.ZP)(`/api/shixuns/${dr}/get_shixun_env_setting.json`,{method:"get",params:{shixun_environment_id:eo}});if(La.status===0&&!eo){const{data:jo}=La;console.log("data",jo),Fo((jo==null?void 0:jo.shixun_environment_id)||null),gr((jo==null?void 0:jo.evaluate_script)||""),Ur((jo==null?void 0:jo.choice_standard_scripts)||null),yo((jo==null?void 0:jo.standard_scripts)||[]),xa(((qa=jo.shixun)==null?void 0:qa.close_internet)||!1),Co((sl=jo.shixun)==null?void 0:sl.survival_time);let ia=(Kl=jo.shixun)==null?void 0:Kl.important_shixun_configs;qo.setFieldsValue({identifier:(ia==null?void 0:ia.identifier)||"",people_number:(ia==null?void 0:ia.people_number)||"",school_id:(ia==null?void 0:ia.school_name)||"",times:ia!=null&&ia.start_time&&(ia!=null&&ia.end_time)?[xr()(ia==null?void 0:ia.start_time),xr()(ia==null?void 0:ia.end_time)]:["",""]}),Ha((ia==null?void 0:ia.verify_reason)||""),Qo((ia==null?void 0:ia.process)||null),yield Ho(ia==null?void 0:ia.school_name)}if(La.status===0&&eo){const{data:jo}=La;gr((jo==null?void 0:jo.evaluate_script)||""),Ur(null),yo((jo==null?void 0:jo.standard_scripts)||[]),yield Ho()}ur(!1)}),Ho=eo=>gi(void 0,null,function*(){const qa=yield wi({type:"account/getSchoolOption",payload:{keyword:eo,limit:99999,display_aliases:!0}});Cr(qa==null?void 0:qa.schools)}),Wa=()=>{bi()||wi({type:"shixunsDetail/setActionTabs",payload:{key:"Settings-UseCustomScript",params:{id:$r.id}}})},Yo=eo=>gi(void 0,null,function*(){const qa=yield wi({type:"shixunsDetail/getScriptContent",payload:{id:$r.id,script_id:eo}});qa&&gr(qa.content)}),ts=eo=>{Ve.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Bn.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",Bn.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>gi(void 0,null,function*(){yield Yo(eo),Ur(eo),Ve.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:Bn.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")})})})},fs=(eo=!1,qa=1)=>gi(void 0,null,function*(){var sl,Kl,La;let jo;if(To===1&&(Vo(!0),jo=yield(0,wt.ZP)(`/api/shixuns/${$r.id}/update_evaluate_script_setting.json`,{method:"put",body:{shixun_environment_id:mo,mirror_script_id:Mo,evaluate_script:Pr,sync_origin_shixun:eo}})),To===2){Vo(!0);let ia={close_internet:da,survival_time:Jn,sync_origin_shixun:eo};jo=yield(0,wt.ZP)(`/api/shixuns/${$r.id}/update_environment_setting.json`,{method:"put",body:ia})}if(To===3){let ia=qo.getFieldsValue();yield qo.validateFields(),Vo(!0);let Yl={close_internet:da,survival_time:Jn,sync_origin_shixun:eo};Yl.important_shixun_configs={identifier:ia==null?void 0:ia.identifier,people_number:ia==null?void 0:ia.people_number,school_id:(sl=ms.find(Ru=>Ru.name===(ia==null?void 0:ia.school_id)))==null?void 0:sl.id,start_time:xr()(ia==null?void 0:ia.times[0]).format("YYYY-MM-DD HH:mm"),end_time:xr()(ia==null?void 0:ia.times[1]).format("YYYY-MM-DD HH:mm")},jo=yield(0,wt.ZP)(`/api/shixuns/${$r.id}/resources_first_ensure.json`,{method:"post",body:Yl})}jo.status===0&&((!((Kl=tt==null?void 0:tt.detail)!=null&&Kl.copy_for_exercise)||To===3)&&bt.ZP.success(`${To==3?"\u63D0\u4EA4\u7533\u8BF7\u6210\u529F":"\u4FDD\u5B58\u6210\u529F"}`),(La=tt==null?void 0:tt.detail)!=null&&La.copy_for_exercise&&To!=3&&(0,yi.m)(wi,tt,dr,qa),pr(),ot()),Vo(!1)}),al=(eo,qa)=>{const sl=/^[^0-9][a-zA-Z0-9]*$/,Kl=/^.{4,30}$/;return qa&&!/^[a-zA-Z0-9]+$/.test(qa)?Promise.reject("\u8F93\u5165\u5185\u5BB9\u53EA\u80FD\u5305\u542B\u6570\u5B57\u548C\u5B57\u6BCD"):qa&&!sl.test(qa)?Promise.reject("\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934"):qa&&!Kl.test(qa)?Promise.reject("\u8F93\u5165\u5185\u5BB9\u957F\u5EA6\u5FC5\u987B\u57284\u523030\u4E2A\u5B57\u7B26\u4E4B\u95F4"):Promise.resolve()},Xs=eo=>parseInt(eo||"0",10),Os=(eo,qa)=>{if(qa&&qa.length===2){const[sl,Kl]=qa;if(!sl||!Kl)return Promise.reject(new Error("\u8BF7\u9009\u62E9\u8D77\u59CB\u65F6\u95F4\u548C\u7ED3\u675F\u65F6\u95F4"))}return Promise.resolve()};return Bn.createElement(Bn.Fragment,null,Bn.createElement(Vt.Z,{title:null,width:1e3,placement:"right",closable:!1,onClose:wn,open:st},Bn.createElement("div",{className:sn.content},Bn.createElement(Oo.Z,{loading:po,active:!0},Bn.createElement(dt.Z,{className:"mt10",justify:"space-between"},Bn.createElement("b",{className:"c-grey-333 font16"},"\u8BBE\u7F6E"),Bn.createElement("i",{onClick:wn,className:"iconfont icon-guanbi11 current",style:{color:"#979797"}})),Bn.createElement("div",{className:sn.tabs},ls.map(eo=>{const{name:qa,id:sl}=eo;return Bn.createElement("div",{key:sl,className:To===sl?sn.active:"",onClick:()=>xo(sl)},qa)})),To===1&&Bn.createElement(ue.Fragment,null,Bn.createElement(hn.Z,{className:"mt20",message:"\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883\u4E0B\u7684\u8BC4\u6D4B\u811A\u672C\uFF1A\u5C06\u4F5C\u4E3A\u6574\u4E2A\u5B9E\u8BAD\u6240\u6709\u5B9E\u9A8C\u73AF\u5883\u4E0B\uFF0C\u5B66\u5458\u8BC4\u6D4B\u65F6\u8FD0\u884C\u7684\u811A\u672C\u3002",type:"info",showIcon:!0,closable:!0}),Bn.createElement(dt.Z,{align:"middle",className:"mt20"},Bn.createElement("span",{className:"c-grey-333 font16"},"\u8FD0\u884C\u73AF\u5883"),Bn.createElement(Sr.default,{onClick:bi,getPopupContainer:eo=>eo.parentNode,bordered:!1,className:"ml10",style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},value:mo,onChange:eo=>{Fo(eo),pr(eo)},showArrow:!0,placeholder:"\u5B9E\u9A8C\u73AF\u5883"},(Yr=Ln.filter(eo=>eo.id!==0))==null?void 0:Yr.map((eo,qa)=>Bn.createElement(Sr.default.Option,{value:eo.id,name:eo.name,key:eo.id},eo.name)))),Bn.createElement(dt.Z,{align:"middle",className:"mt20"},Bn.createElement("span",{className:"c-grey-333 font16"},"\u8BC4\u6D4B\u811A\u672C"),Bn.createElement(Sr.default,{onClick:bi,getPopupContainer:eo=>eo.parentNode,bordered:!1,className:"ml10 mr10",style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0,value:Mo,placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C",onChange:eo=>{ts(eo)}},(Do||[]).map((eo,qa)=>Bn.createElement(Sr.default.Option,{value:parseInt(eo.id),name:eo.scptname,key:qa},eo.scptname))),Bn.createElement("span",{className:sn.explain,onClick:Wa},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u811A\u672C"),Bn.createElement(Xt.Z,{className:sn.popover,content:Bn.createElement("p",{className:"font12"},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u6A21\u677F\uFF0C\u5E73\u53F0\u65E0\u6CD5\u81EA\u52A8\u66F4\u65B0\u811A\u672C\uFF0C\u8BF7\u5728\u5173\u5361\u521B\u5EFA\u5B8C\u540E\u624B\u52A8\u66F4\u65B0\u811A\u672C\u4E2D\u7684\u5FC5\u586B\u53C2",Bn.createElement("br",null),"\u6570\u548C\u4EE5\u4E0B2\u4E2A\u6570\u7EC4\u5143\u7D20\uFF1A",Bn.createElement("br",null),"challengeProgramNames",Bn.createElement("br",null),"sourceClassNames",Bn.createElement("br",null),Bn.createElement("br",null),"\u793A\u4F8B\uFF1A\u67092\u4E2A\u5173\u5361\u7684\u5B9E\u8BAD",Bn.createElement("br",null),Bn.createElement("br",null),"\u5404\u5173\u5361\u7684\u5F85\u7F16\u8BD1\u6587\u4EF6\u4E3A\uFF1A",Bn.createElement("br",null),"src/step1/HelloWorld.java",Bn.createElement("br",null),"src/step2/Other.java",Bn.createElement("br",null),Bn.createElement("br",null),"\u5404\u5173\u5361\u7684\u7F16\u8BD1\u540E\u751F\u6210\u7684\u6267\u884C\u6587\u4EF6\u4E3A\uFF1A",Bn.createElement("br",null),"step1.HelloWorld",Bn.createElement("br",null),"step2.Other",Bn.createElement("br",null),Bn.createElement("br",null),"\u5219\u6570\u7EC4\u5143\u7D20\u66F4\u65B0\u5982\u4E0B\uFF1A",Bn.createElement("br",null),'ff challengeProgramNames=("src/step1/',Bn.createElement("br",null),'HelloWorld.java" "src/step2/Other.java")',Bn.createElement("br",null),'sourceClassNames=("step1.HelloWorld',Bn.createElement("br",null),'" "step2.Other")',Bn.createElement("br",null),Bn.createElement("br",null),"\u5176\u5B83\u53C2\u6570\u53EF\u6309\u5B9E\u9645\u9700\u6C42\u5B9A\u5236"),trigger:"click"},Bn.createElement("span",{style:{color:"#999",fontSize:14,marginTop:2,marginLeft:4},className:"iconfont icon-tishi11 c-grey-999"}))),Bn.createElement(ui.ZP,{style:{border:"1px solid #ccc",background:"#f5f5f5",marginTop:"30px"},language:"shell",theme:"vs-light",value:Pr,options:{readOnly:Ji},onChange:eo=>{gr(eo)}})),To===2&&Bn.createElement("div",{style:{flex:1,overflowY:"auto"}},Bn.createElement(dt.Z,{align:"middle",className:"mt20"},Bn.createElement("span",{className:"c-grey-333 font16 ml30 mr10"},"\u5B9E\u8BAD\u5BB9\u5668\u7F51\u7EDC"),Bn.createElement(Ot.default,{checked:da,onChange:eo=>xa(eo.target.checked)},Bn.createElement("span",{className:"c-grey-333 font14"},"\u5173\u95ED\u5916\u7F51"),Bn.createElement("span",{className:"c-grey-999 font14"},"\uFF08\u9009\u4E2D\uFF0C\u5728\u5B9E\u8BAD\u7F16\u8BD1\u9875\u9762\u4E2D\u4E0D\u53EF\u8BBF\u95EE\u4E92\u8054\u7F51\uFF09"))),Bn.createElement(dt.Z,{align:"middle",className:"mt20"},Bn.createElement("span",{className:"c-grey-333 font16 mr10"},"\u5B9E\u9A8C\u73AF\u5883\u4F7F\u7528\u65F6\u957F"),Bn.createElement(ke.default,{bordered:!1,value:Jn,onChange:eo=>Co(eo.target.value),style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4}}),Bn.createElement("span",{className:"ml10 c-grey-999 font14"},"\u5206"))),To===3&&((0,Zr.Ny)()||((wo=tt==null?void 0:tt.detail)==null?void 0:wo.manager_of_shixun))&&Bn.createElement("div",{style:{flex:1,overflowY:"auto"}},Bn.createElement(dt.Z,{align:"middle",className:"mt20"},Bn.createElement(Ae.default,{form:qo,layout:"horizontal",className:sn.zybzForm},Bn.createElement(dt.Z,{align:"middle"},Bn.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:55}},Bn.createElement("span",{className:sn.must},"*"),"\u4FDD\u969C\u6807\u8BC6"),Bn.createElement(Ae.default.Item,{label:"",name:"identifier",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4FDD\u969C\u6807\u8BC6"},{validator:al}]},Bn.createElement(ke.default,{bordered:!1,style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4},minLength:4,maxLength:30,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u4FDD\u969C\u6807\u8BC6"})),Bn.createElement("span",{className:"ml10 c-grey-999 font14"},"\u4FDD\u969C\u6807\u8BC6\u53EA\u80FD\u7531\u5B57\u6BCD\u548C\u6570\u5B57\u7EC4\u6210\uFF084~30 \u4F4D\uFF09\uFF0C\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934\u3002",Bn.createElement("br",null),"\u586B\u5199\u4FDD\u969C\u6807\u8BC6\u662F\u4E3A\u4E86\u4FBF\u4E8E\u5E73\u53F0\u4E3A\u6B64\u5B9E\u8DF5\u9879\u76EE\u7279\u522B\u5206\u914D\u8282\u70B9\u3002")),Bn.createElement(dt.Z,{align:"middle",className:"mt25"},Bn.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:7}},Bn.createElement("span",{className:sn.must},"*"),"\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D"),Bn.createElement("div",{style:{position:"relative"}},Bn.createElement(Ae.default.Item,{label:"",name:"school_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D"}]},Bn.createElement(Vn.Z,{bordered:!1,style:{width:300,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},onChange:Za,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D"},(Nr=ms==null?void 0:ms.filter(eo=>(eo==null?void 0:eo.id)!==0))==null?void 0:Nr.map((eo,qa)=>Bn.createElement(Sr.default.Option,{key:qa+1,title:eo==null?void 0:eo.name,value:eo==null?void 0:eo.name},eo==null?void 0:eo.name)))),Bn.createElement("span",{className:sn.selecticon},Bn.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Bn.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),Bn.createElement(dt.Z,{align:"middle",className:"mt25"},Bn.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:55}},Bn.createElement("span",{className:sn.must},"*"),"\u4FDD\u969C\u65F6\u95F4"),Bn.createElement("div",{className:sn.graaytitle},Bn.createElement(Ae.default.Item,{label:"",name:"times",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4\u548C\u7ED3\u675F\u65F6\u95F4"},{validator:Os}]},Bn.createElement(er.default.RangePicker,{disabledDate:eo=>eo&&eo{if(eo&&eo[0]&&eo[1]){const qa=eo[0].isBefore(xr()())?xr()():eo[0];qo.setFieldValue("times",[qa,eo[1]])}else qo.setFieldValue("times",eo)}})))),Bn.createElement(dt.Z,{align:"middle",className:"mt25"},Bn.createElement("span",{className:"c-grey-333 font16 mr10",style:{marginLeft:55}},Bn.createElement("span",{className:sn.must},"*"),"\u4FDD\u969C\u4EBA\u6570"),Bn.createElement(Ae.default.Item,{label:"",name:"people_number",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4FDD\u969C\u4EBA\u6570"}]},Bn.createElement(lr.Z,{parser:Xs,style:{width:200},placeholder:"\u8BF7\u8F93\u5165\u4FDD\u969C\u4EBA\u6570",min:1})))),Bn.createElement("div",{className:`${sn.examineStatus} mt25`},Xo>=1&&Bn.createElement("div",null," ",Bn.createElement(oo.Z,{className:sn.suc_status})," \u5B9E\u9A8C\u8D44\u6E90\u4F18\u5148\u4FDD\u969C\u7533\u8BF7\u6210\u529F\uFF0C\u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u4E2D"),Xo>=2&&Xo!=3&&Bn.createElement("div",null," ",Bn.createElement(oo.Z,{className:sn.suc_status})," \u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u901A\u8FC7\uFF0C\u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u4E2D"),Xo==3&&Bn.createElement("div",null," ",Bn.createElement(Mi.Z,{className:sn.fail_status}),"\u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u9A73\u56DE\uFF0C\u9A73\u56DE\u539F\u56E0: ( ",Bn.createElement("span",{title:Jo,className:sn.bohui},Jo),") \u5982\u6709\u95EE\u9898\u8BF7\u8054\u7CFB",Bn.createElement("span",{className:sn.contacts},Bn.createElement("span",null,"\u5E73\u53F0\u8FD0\u8425\u4EBA\u5458")," ",Bn.createElement("div",{className:sn.contacts_img}))),Xo>=4&&Xo!=5&&Xo!=7&&Bn.createElement("div",null," ",Bn.createElement(oo.Z,{className:sn.suc_status})," \u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u5B8C\u6210\uFF0C\u5B9E\u9A8C\u8D44\u6E90\u4FDD\u969C\u4E2D"),(Xo==5||Xo==7)&&Bn.createElement("div",null," ",Bn.createElement(Mi.Z,{className:sn.fail_status}),"\u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB",Bn.createElement("span",{className:sn.contacts},Bn.createElement("span",null,"\u5E73\u53F0\u8FD0\u8425\u4EBA\u5458")," ",Bn.createElement("div",{className:sn.contacts_img}))),Xo>5&&Bn.createElement("div",null," ",Bn.createElement(oo.Z,{className:sn.suc_status})," \u5B9E\u9A8C\u8D44\u6E90\u4FDD\u969C\u5DF2\u7ED3\u675F")))),Bn.createElement("div",{className:sn.btns},Bn.createElement(Me.ZP,{onClick:wn},"\u53D6\u6D88"),Bn.createElement(Me.ZP,{disabled:To==3&&[2,4,5].includes(Xo),onClick:()=>gi(void 0,null,function*(){var eo,qa;if(To===1&&!mo){bt.ZP.warning("\u8BF7\u9009\u62E9\u8FD0\u884C\u73AF\u5883");return}(eo=tt==null?void 0:tt.detail)!=null&&eo.is_fork_from_creator&&((qa=tt==null?void 0:tt.detail)!=null&&qa.copy_for_exercise)&&To!=3&&(Ln.filter(sl=>sl.id===mo)[0].has_relation&&To===1||To===2)?wi({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"environment",fn:(sl,Kl)=>{fs(sl,Kl)},zIndex:1e4}}):fs()}),loading:ma,type:"primary",className:"ml20"},To==3?"\u63D0\u4EA4\u7533\u8BF7":"\u4FDD\u5B58"))))),Bn.createElement(Bo,{onFinish:eo=>gr(eo)}))};var no=(0,pt.connect)(({shixunsDetail:tt})=>({shixunsDetail:tt}))(Io),rr=Pe(48843),qi=Pe(25510),Xi={wrap:"wrap___S9yE5",content:"content___xIxOT",head:"head___icGJE",title:"title___NbDBd",add:"add___ntZkv",addDisable:"addDisable___pgd9I",setting:"setting___kQ9Qx",tabs:"tabs___o2qas",name:"name___HUyj5",active:"active___SVp4l",line:"line___DSw6E",resource:"resource___AgLC3",mirror:"mirror___DGr0Q",interface:"interface___xxy5c",disabled:"disabled___GqKcR",port:"port___vGmHQ",grade:"grade___b6Adk",tabsBox:"tabsBox___TnoNw",tabTitle:"tabTitle___i8cO0",more:"more___kbzpa",serverConfig:"serverConfig___BtI29",viewRecommendConfig:"viewRecommendConfig___ODGyC",system:"system___YygCM",explain:"explain___klZ55",btns:"btns___o6xWf",template:"template___AMzZZ",liWrap:"liWrap___tCbB1",li:"li___srrGx",tag:"tag___NcFBh"},aa=Pe(76895),ys=Pe(1535),bs=Pe(46539),_o=Pe(43181),Ea={list:"list___p00l5",head:"head___JcQe0",row:"row___kLpLL"},za=Pe(59301),kr=Object.defineProperty,Rr=Object.defineProperties,pi=Object.getOwnPropertyDescriptors,ho=Object.getOwnPropertySymbols,Ba=Object.prototype.hasOwnProperty,Ws=Object.prototype.propertyIsEnumerable,Xa=(tt,st,ot)=>st in tt?kr(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,ua=(tt,st)=>{for(var ot in st||(st={}))Ba.call(st,ot)&&Xa(tt,ot,st[ot]);if(ho)for(var ot of ho(st))Ws.call(st,ot)&&Xa(tt,ot,st[ot]);return tt},Ta=(tt,st)=>Rr(tt,pi(st)),ll=({showError:tt,value:st,onChange:ot,optionsLevelList:wn})=>{const[wi,Ji]=(0,ue.useState)([]);(0,ue.useEffect)(()=>{if(!st.length){Ji([{command:"",challenge_ids:[]}]);return}Ji(st)},[JSON.stringify(st)]);const dr=(Ei,Ln,bi)=>{let Yr=JSON.parse(JSON.stringify(wi));Ln==="add"?Yr.push({command:"",challenge_ids:[-1]}):Ln==="delete"?Yr.splice(bi,1):Yr[bi][Ln]=Ei,Ji(Yr),ot(Yr)};return console.log(wi,"value2"),za.createElement("div",{className:Ea.list},za.createElement("div",{className:Ea.head},za.createElement("div",{style:{width:400}},"\u547D\u4EE4"),za.createElement("div",null,"\u5E94\u7528\u5173\u5361")),wi==null?void 0:wi.map((Ei,Ln)=>{var bi,Yr,wo;let Nr=wn.map(($r,To)=>{const xo=`\u7B2C${To+1}\u5173\uFF1A${$r.name}`;let po=xo,ur=!1;return $r.st===1&&(po=za.createElement(Ii.Z,{placement:"left",title:"\u7406\u8BBA\u9898\u5173\u5361\u65E0\u6CD5\u89E6\u53D1\u547D\u4EE4"},xo),ur=!0),Ta(ua({},$r),{value:$r.challenge_id,label:po,disabled:ur})});return Nr=[{label:"\u6240\u6709\u5173\u5361",value:-1},...Nr],za.createElement(dt.Z,{wrap:!1,align:"middle",style:{position:"relative"},className:Lndr($r.target.value,"command",Ln),bordered:!1,placeholder:"\u4F8B\u5982\uFF1Amysql -uroot -p123123 -h127.0.0.1",style:{width:400,height:50,background:"#F5F5F5",borderRadius:4}}),za.createElement(Sr.default,{options:Nr,getPopupContainer:$r=>$r.parentNode,value:Ei==null?void 0:Ei.challenge_ids,onChange:$r=>{var To,xo;let po=$r;!((To=Ei==null?void 0:Ei.challenge_ids)!=null&&To.includes(-1))&&($r!=null&&$r.includes(-1))&&(po=[-1]),(xo=Ei==null?void 0:Ei.challenge_ids)!=null&&xo.includes(-1)&&($r!=null&&$r.includes(-1))&&(po=$r==null?void 0:$r.filter(ur=>ur!==-1)),dr(po,"challenge_ids",Ln)},mode:"multiple",maxTagTextLength:(wo=Ei==null?void 0:Ei.challenge_ids)!=null&&wo.includes(-1)?4:3,placeholder:"\u8BF7\u9009\u62E9\u5E94\u7528\u5173\u5361",maxTagCount:5,bordered:!1,style:{width:560,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10,margin:"0 20px"}}),za.createElement(dt.Z,{wrap:!1},za.createElement("i",{onClick:()=>dr("","add",Ln),style:{color:"#3061D0"},className:"iconfont icon-tianjiatimu font20 current ml20"}),Ln!==0&&za.createElement("i",{onClick:()=>dr("","delete",Ln),style:{color:"#E30000"},className:"iconfont icon-shanjian font20 ml20"})))}))},Qt=Pe(59301),Va=Object.defineProperty,rn=Object.defineProperties,Ss=Object.getOwnPropertyDescriptors,yu=Object.getOwnPropertySymbols,fl=Object.prototype.hasOwnProperty,Vl=Object.prototype.propertyIsEnumerable,is=(tt,st,ot)=>st in tt?Va(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,kl=(tt,st)=>{for(var ot in st||(st={}))fl.call(st,ot)&&is(tt,ot,st[ot]);if(yu)for(var ot of yu(st))Vl.call(st,ot)&&is(tt,ot,st[ot]);return tt},Nl=(tt,st)=>rn(tt,Ss(st)),ga=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const gl=Sr.default.Option,Vc=5,du=({practiceSetting:tt,dispatch:st,globalSetting:ot,shixunsDetail:wn,user:wi})=>{var Ji,dr,Ei,Ln,bi,Yr,wo,Nr,$r,To;const{id:xo,is_published:po}=tt,[ur,ma]=(0,ue.useState)([]),[Vo,mo]=(0,ue.useState)(null),[Fo,Pr]=(0,ue.useState)([]),[gr,Mo]=(0,ue.useState)([]),Ur=(0,ue.useRef)(null),[Do,yo]=(0,ue.useState)({}),da=(0,ue.useRef)({}),xa=(0,ue.useRef)({}),{shixun_environment:Jn={},mirror_repository:Co={},small_type:Xo=[],new_service_configs:Qo=[],network_mode_list:qo=[],boosters:ms=[]}=Do,[Cr,Jo]=(0,ue.useState)(""),[Ha,ls]=(0,ue.useState)("\u8BF7\u8F93\u5165\u7AEF\u53E3"),[hs,Za]=(0,ue.useState)(!1),[pr,Ho]=(0,ue.useState)(!1),[Wa,Yo]=(0,ue.useState)(!0),[ts,fs]=(0,ue.useState)(!0),[al,Xs]=(0,ue.useState)(!1),[Os,eo]=(0,ue.useState)(!1),[qa,sl]=(0,ue.useState)(!1),[Kl,La]=(0,ue.useState)(!1),[jo,ia]=(0,ue.useState)(0),[Yl,Ru]=(0,ue.useState)(!1),[tc,fa]=(0,ue.useState)({}),[Ua,Po]=(0,ue.useState)({}),[Wr,$o]=(0,ue.useState)({}),[Ka,Qs]=(0,ue.useState)(""),[Sc,Xl]=(0,ue.useState)(!1),[sc,Jl]=(0,ue.useState)(!1),[nd,mr]=(0,ue.useState)(!1),[vs,Aa]=(0,ue.useState)({}),[qs,Zu]=(0,ue.useState)({}),[Us,ru]=(0,ue.useState)([]),gd=(0,ue.useRef)([]);console.log("--1111-",ms,Us);const Vd=[{id:1,name:"\u901A\u7528\u4E91"},{id:2,name:"\u4E13\u6709\u4E91"}],of=[{id:1,name:"Windows",icon:"iconfont icon-Windows"},{id:2,name:"Linux",icon:"iconfont icon-Linux"},{id:3,name:"\u5176\u4ED6",icon:"iconfont icon-qitaxitong"}],bu=[{id:1,name:"VNC"},{id:2,name:"RDP"}],Ef=[{id:0,name:"\u516C\u5171\u955C\u50CF",type:"public"},{id:1,name:"\u81EA\u5B9A\u4E49\u955C\u50CF",type:"customize"},{id:2,name:"\u5171\u4EAB\u955C\u50CF",type:"share"}],ng=(gr==null?void 0:gr.find(Tt=>Tt.id===Jn.instance_startup_template_id))||{},{desc:Nf,virt_type:nh}=ng,af=((Ji=Fo==null?void 0:Fo.find(Tt=>Tt.id===(Jn==null?void 0:Jn.private_cloud_id)))==null?void 0:Ji.cloud_type)===1,ih=((dr=Fo==null?void 0:Fo.find(Tt=>Tt.id===(Jn==null?void 0:Jn.private_cloud_id)))==null?void 0:dr.cloud_type)===4;(0,ue.useEffect)(()=>(window.addEventListener("click",bd),()=>{window.removeEventListener("click",bd)}),[]),(0,ue.useEffect)(()=>{sf(),Gh(),vh(),Vh()},[]),(0,ue.useEffect)(()=>{(0,Xn.isEqual)(xa.current,Do)?st({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}):st({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}),da.current=Do},[Do]);const Js=()=>ga(void 0,null,function*(){var Tt,ii,Yi,or;const vr=yield(0,wt.ZP)("/api/shixuns/new.json",{method:"get",params:{tab_type:(Tt=Ef[Number(jo)])==null?void 0:Tt.type}});(vr==null?void 0:vr.status)===0&&(((Yi=(ii=vr==null?void 0:vr.data)==null?void 0:ii.environments)==null?void 0:Yi.length)===0&&((or=vr==null?void 0:vr.data)==null?void 0:or.other_image.length)===0?Ru(!0):Ru(!1))});(0,ue.useEffect)(()=>{Js()},[jo]);const zh=()=>{var Tt;const ii=()=>{pt.history.push(`/shixuns/${xo}/challenges`),st({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(Tt=tt==null?void 0:tt.sideBar)!=null&&Tt.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{ii()}}):ii()},sf=()=>ga(void 0,null,function*(){var Tt;const ii=yield(0,wt.ZP)(`/api/shixuns/${xo}/get_shixun_env_tabs.json`,{method:"get"});if(ii.status===0){const Yi=((Tt=ii.data)==null?void 0:Tt.shixun_environments_tabs)||[];Yi.length&&Vo===null&&mo(Yi[0].id),ma(Yi)}}),vh=()=>ga(void 0,null,function*(){var Tt;fs(!0);const ii=yield(0,wt.ZP)("/api/shixuns/get_private_clouds.json",{method:"get"});ii.status===0&&Pr((Tt=ii==null?void 0:ii.data)==null?void 0:Tt.list),fs(!1)}),Vh=()=>ga(void 0,null,function*(){const Tt=yield(0,wt.ZP)(`/api/shixuns/${xo}/challenges.json`,{method:"get"});Tt.challenge_list&&ru(Tt.challenge_list||[])}),yh=(Tt,ii)=>ga(void 0,null,function*(){var Yi;const or=yield(0,wt.ZP)("/api/shixuns/get_instance_startup_template.json",{method:"get",params:{private_cloud_id:Tt,operating_system:ii}});or.status===0&&Mo((Yi=or==null?void 0:or.data)==null?void 0:Yi.list)}),Gh=(Tt=null)=>ga(void 0,null,function*(){var ii,Yi,or,vr,jr,Er,ta,ws,Ml,us,wl,Hs,$s,wu,rs;Yo(!0);const Fs=yield(0,wt.ZP)(`/api/shixuns/${xo}/get_multi_environments.json`,{method:"get",params:{shixun_environment_id:Tt}});if(Fs.status===0){xa.current=(0,Xn.cloneDeep)(Fs.data||{}),yo(Fs.data||{}),ia(Number((Yi=(ii=Fs.data)==null?void 0:ii.shixun_environment)==null?void 0:Yi.mirror_tab_type)||0),Number((vr=(or=Fs.data)==null?void 0:or.shixun_environment)==null?void 0:vr.mirror_tab_type)===0?(fa((jr=Fs.data)==null?void 0:jr.mirror_repository),Po({}),$o({})):Number((ta=(Er=Fs.data)==null?void 0:Er.shixun_environment)==null?void 0:ta.mirror_tab_type)===1?(Po((ws=Fs.data)==null?void 0:ws.mirror_repository),fa({}),$o({})):Number((us=(Ml=Fs.data)==null?void 0:Ml.shixun_environment)==null?void 0:us.mirror_tab_type)===2&&($o((wl=Fs.data)==null?void 0:wl.mirror_repository),fa({}),$o({}));const gs=($s=(Hs=Fs==null?void 0:Fs.data)==null?void 0:Hs.shixun_environment)==null?void 0:$s.private_cloud_id,dl=(rs=(wu=Fs==null?void 0:Fs.data)==null?void 0:wu.shixun_environment)==null?void 0:rs.operating_system;gs&&dl&&yh(gs,dl)}Yo(!1)}),Bu=()=>ga(void 0,null,function*(){var Tt;const ii=yield(0,wt.ZP)(`/api/shixuns/${xo}/check_code_editor.json`,{method:"get",params:{shixun_environment_id:Vo}});return ii.status===0&&ii.is_exist_code_editor?(Ve.default.confirm({icon:null,centered:!0,className:aa.Z.CustomTipsModalCss,okButtonProps:{type:"primary"},width:425,okText:"\u524D\u5F80\u5173\u95ED",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Qt.createElement("div",null,Qt.createElement("div",null,"\u6BCF\u4E2A\u5B9E\u8DF5\u9879\u76EE\u53EA\u80FD\u5F00\u542F\u4E00\u4E2A\u4EE3\u7801\u7F16\u8F91\u5668\u754C\u9762\u3002"),Qt.createElement("div",null,"\u201C",(Tt=ii==null?void 0:ii.shixun_environment)==null?void 0:Tt.name,"\u201D\u5DF2\u5F00\u542F\u4EE3\u7801\u7F16\u8F91\u5668\uFF0C\u9700\u5148\u5173\u95ED\uFF0C\u7136\u540E\u624D\u80FD\u5728\u5F53\u524D\u5B9E\u9A8C\u73AF\u5883\u9009\u62E9\u4EE3\u7801\u7F16\u8F91\u5668\u3002")),onOk:()=>ga(void 0,null,function*(){mo(ii.shixun_environment.id),Gh(ii.shixun_environment.id),sf()})}),Promise.reject()):Promise.resolve()}),Bg={shixun_environment:{id:0,resource_type:1,command_settings:[],is_support_code_editor:!1,is_support_vnc:!1,is_support_webssh:!1,is_support_thiry_party:!1,disabled_support_code_editor:!1,disabled_support_vnc:!1,disabled_support_webssh:!1,private_is_support_vnc:!1,private_is_support_webssh:!1,private_is_support_jupyter_lab:!1,private_is_support_code_editor:!1,disabled2_support_vnc:!1,disabled2_support_webssh:!1,disabled2_support_jupyter_lab:!1,disabled2_support_code_editor:!1,proxy_port:"",web_route:"",private_cloud_id:null,instance_startup_template_id:null,operating_system:1,instance_startup_type:1},mirror_repository:{choice_small_mirrors:[],shixun_service_configs:[]},small_type:[]},Sh=(Tt,ii)=>{var Yi,or;if(typeof(Tt==null?void 0:Tt.className)=="string"&&((Yi=Tt==null?void 0:Tt.className)!=null&&Yi.includes(ii)))return Tt;for(let vr=0,jr=Tt;jr=jr.parentNode;vr++){if(typeof(Tt==null?void 0:Tt.className)=="string"&&((or=jr==null?void 0:jr.className)!=null&&or.includes(ii)))return jr;if(jr==document.documentElement)return!1}},bd=Tt=>{Sh(Tt.target,"editor-scrollable")&&lu()},lu=()=>(0,Le.gy)(st,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883"),ie=Tt=>Qt.createElement(si.Z,{required:!0,nameWidth:150,name:"\u5B9E\u9A8C\u754C\u9762",errorKey:"interface",errorValue:Cr,align:"start",errorName:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u754C\u9762",tooltipTitle:Qt.createElement("div",{className:"p10"},Tt&&Qt.createElement(Qt.Fragment,null,Qt.createElement("b",{className:"font14"},"\u4EE3\u7801\u7F16\u8F91\u5668"),Qt.createElement("br",null),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u4E3A\u5B66\u5458\u63D0\u4F9B\u4EE3\u7801\u7F16\u8F91\u5668\u3001\u7F16\u8BD1\u5668\u3001\u8C03\u8BD5\u5668\u7B49\u5DE5\u5177\u3002",Qt.createElement("br",null),"\u5F53\u9009\u62E9\u4E86VSCode\u76F8\u5173\u7684\u5B9E\u9A8C\u955C\u50CF\u65F6\uFF0C\u4EE3\u7801\u7F16\u8F91\u5668\u4EE5VSCode\u7684\u5F62\u5F0F\u5C55\u793A\u7ED9\u5B66\u5458\u3002",Qt.createElement("br",null),"\u6BCF\u4E2A\u5B9E\u8DF5\u9879\u76EE",Qt.createElement("b",null,"\u53EA\u80FD\u5F00\u542F\u4E00\u4E2A"),"\u4EE3\u7801\u7F16\u8F91\u5668\u754C\u9762\u3002",Qt.createElement("br",null)),Qt.createElement("div",{className:"mt10 blod font14"},"\u56FE\u5F62\u5316\u684C\u9762"),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u4F7F\u7528\u56FE\u5F62\u5316\u65B9\u5F0F\u663E\u793A\u64CD\u4F5C\u754C\u9762\u3002",Qt.createElement("br",null),Qt.createElement("div",{className:"mt10 blod font14"},"\u547D\u4EE4\u884C\u7EC8\u7AEF"),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u4E3A\u5B66\u5458\u63D0\u4F9B\u547D\u4EE4\u884C\u7A97\u53E3\u3002",Tt&&Qt.createElement(Qt.Fragment,null,Qt.createElement("div",{className:"mt10 blod font14"},"\u5BB9\u5668\u5185\u670D\u52A1"),"\u5B66\u5458\u8FDB\u884C\u5B9E\u9A8C\u65F6\uFF0C\u53EF\u4EE5\u5728\u5B9E\u9A8C\u9875\u9762\u76F4\u63A5\u9884\u89C8\u5BB9\u5668\u5185\u90E8Web\u670D\u52A1\u3002"))},Qt.createElement("div",{className:Xi.interface},Jn!=null&&Jn[Tt?"disabled_support_code_editor":"disabled2_support_code_editor"]?Qt.createElement(Ii.Z,{title:"\u9009\u62E9\u7684\u5B9E\u9A8C\u955C\u50CF\u4E0D\u652F\u6301\u4EE3\u7801\u7F16\u8F91\u5668"},Qt.createElement("div",{className:Xi.disabled},Qt.createElement("span",{className:"iconfont icon-xuanzhong9"}),Qt.createElement("div",null,Qt.createElement("i",{className:"iconfont icon-daimabianjiqi1"}),Qt.createElement("span",null,"\u4EE3\u7801\u7F16\u8F91\u5668")),Qt.createElement("aside",null," \u63D0\u4F9B\u4EE3\u7801\u7F16\u8F91\u5668\uFF0C\u7F16\u8BD1\u5668\uFF0C\u8C03\u8BD5\u5668\u7B49\u5DE5\u5177"))):Qt.createElement("div",{onClick:()=>en("shixun_environment",Tt?"is_support_code_editor":"private_is_support_code_editor",!(Jn!=null&&Jn[Tt?"is_support_code_editor":"private_is_support_code_editor"])),className:Jn!=null&&Jn[Tt?"is_support_code_editor":"private_is_support_code_editor"]?Xi.active:""},Qt.createElement("span",{className:"iconfont icon-xuanzhong9"}),Qt.createElement("div",null,Qt.createElement("i",{className:"iconfont icon-daimabianjiqi1"}),Qt.createElement("span",null,"\u4EE3\u7801\u7F16\u8F91\u5668")),Qt.createElement("aside",null," \u63D0\u4F9B\u4EE3\u7801\u7F16\u8F91\u5668\uFF0C\u7F16\u8BD1\u5668\uFF0C\u8C03\u8BD5\u5668\u7B49\u5DE5\u5177")),Jn!=null&&Jn[Tt?"disabled_support_vnc":"disabled2_support_vnc"]?Qt.createElement(Ii.Z,{title:"\u9009\u62E9\u7684\u5B9E\u9A8C\u955C\u50CF\u4E0D\u652F\u6301\u56FE\u5F62\u5316\u684C\u9762"},Qt.createElement("div",{className:Xi.disabled},Qt.createElement("span",{className:"iconfont icon-xuanzhong9"}),Qt.createElement("div",null,Qt.createElement("i",{className:"iconfont icon-tuxinghuazhuomian"}),Qt.createElement("span",null,"\u56FE\u5F62\u5316\u684C\u9762")),Qt.createElement("aside",null,"\u4F7F\u7528\u56FE\u5F62\u5316\u65B9\u5F0F\u663E\u793A\u64CD\u4F5C\u754C\u9762"))):Qt.createElement("div",{onClick:()=>en("shixun_environment",Tt?"is_support_vnc":"private_is_support_vnc",!(Jn!=null&&Jn[Tt?"is_support_vnc":"private_is_support_vnc"])),className:Jn!=null&&Jn[Tt?"is_support_vnc":"private_is_support_vnc"]?Xi.active:""},Qt.createElement("span",{className:"iconfont icon-xuanzhong9"}),Qt.createElement("div",null,Qt.createElement("i",{className:"iconfont icon-tuxinghuazhuomian"}),Qt.createElement("span",null,"\u56FE\u5F62\u5316\u684C\u9762")),Qt.createElement("aside",null,"\u4F7F\u7528\u56FE\u5F62\u5316\u65B9\u5F0F\u663E\u793A\u64CD\u4F5C\u754C\u9762")),Jn!=null&&Jn[Tt?"disabled_support_webssh":"disabled2_support_webssh"]?Qt.createElement(Ii.Z,{title:"\u9009\u62E9\u7684\u5B9E\u9A8C\u955C\u50CF\u4E0D\u652F\u6301\u547D\u4EE4\u884C\u7EC8\u7AEF"},Qt.createElement("div",{className:Xi.disabled},Qt.createElement("span",{className:"iconfont icon-xuanzhong9"}),Qt.createElement("div",null,Qt.createElement("i",{className:"iconfont icon-minglinghang"}),Qt.createElement("span",null,"\u547D\u4EE4\u884C\u7EC8\u7AEF")),Qt.createElement("aside",null,"\u63D0\u4F9B\u547D\u4EE4\u884C\u7A97\u53E3"))):Qt.createElement("div",{onClick:()=>en("shixun_environment",Tt?"is_support_webssh":"private_is_support_webssh",!(Jn!=null&&Jn[Tt?"is_support_webssh":"private_is_support_webssh"])),className:Jn!=null&&Jn[Tt?"is_support_webssh":"private_is_support_webssh"]?Xi.active:""},Qt.createElement("span",{className:"iconfont icon-xuanzhong9"}),Qt.createElement("div",null,Qt.createElement("i",{className:"iconfont icon-minglinghang"}),Qt.createElement("span",null,"\u547D\u4EE4\u884C\u7EC8\u7AEF")),Qt.createElement("aside",null," \u63D0\u4F9B\u547D\u4EE4\u884C\u7A97\u53E3")),Tt&&Qt.createElement("div",{onClick:()=>en("shixun_environment","is_support_thiry_party",!(Jn!=null&&Jn.is_support_thiry_party)),className:Jn!=null&&Jn.is_support_thiry_party?Xi.active:""},Qt.createElement("span",{className:"iconfont icon-xuanzhong9"}),Qt.createElement("div",null,Qt.createElement("i",{className:"iconfont icon-rongqi1"}),Qt.createElement("span",null,"\u5BB9\u5668\u5185\u670D\u52A1")),Qt.createElement("aside",null," \u76F4\u63A5\u9884\u89C8\u5BB9\u5668\u5185\u90E8Web\u670D\u52A1")))),ae=(Tt,ii,Yi)=>{const or=Array.from(Tt),[vr]=or.splice(ii,1);return or.splice(Yi,0,vr),or},fe=(Tt,ii)=>ga(void 0,null,function*(){if(!Tt.destination)return;const Yi=ae(ii,Tt.source.index,Tt.destination.index);ma(Yi),(0,wt.ZP)(`/api/shixuns/${xo}/update_environment_position.json`,{method:"put",body:{tabs:Yi}})}),he=(Tt,ii)=>{let Yi=ii;Ve.default.confirm({icon:null,centered:!0,className:aa.Z.CustomTipsModalCss,okButtonProps:{type:"primary"},width:460,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",title:"\u91CD\u547D\u540D",content:Qt.createElement("div",null,Qt.createElement("div",{className:"mb5 c-grey-333"},"\u5B9E\u9A8C\u73AF\u5883\u540D\u79F0"),Qt.createElement("div",null,Qt.createElement(ke.default,{defaultValue:Yi,onChange:or=>Yi=or.target.value,maxLength:8,style:{width:300},placeholder:"\u8BF7\u8F93\u5165\u5B9E\u9A8C\u73AF\u5883\u540D\u79F0"}),Qt.createElement("span",{className:"c-grey-999 font14 ml10"},"\u6700\u591A8\u4E2A\u5B57"))),onOk:()=>ga(void 0,null,function*(){if(!Yi)return bt.ZP.warning("\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const or=ur.map(jr=>jr.id===Tt?Nl(kl({},jr),{name:Yi}):jr);if(Vo===0){ma(or);return}(yield(0,wt.ZP)(`/api/shixuns/${xo}/update_environment_name.json`,{method:"put",body:{shixun_environment_id:Tt,name:Yi}})).status===0&&ma(or)})})},me=(Tt,ii)=>{lu()||Ve.default.confirm({icon:null,centered:!0,className:aa.Z.CustomTipsModalCss,width:425,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",title:"\u5220\u9664",content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u5B9E\u9A8C\u73AF\u5883\uFF1F",okButtonProps:{type:"primary"},onOk:()=>ga(void 0,null,function*(){var Yi;if((Vo===0?{status:0}:yield(0,wt.ZP)(`/api/shixuns/${xo}/delete_environment.json`,{method:"delete",body:{shixun_environment_id:Tt}})).status===0){const vr=ur.filter(jr=>jr.id!==Tt);if(Tt===Vo){const jr=((Yi=vr==null?void 0:vr[0])==null?void 0:Yi.id)||null;mo(jr),Gh(jr),ma(vr)}else ma(vr)}})})},De=Tt=>{var ii;if(Tt===Vo)return;const Yi=()=>{mo(Tt),Gh(Tt),sf()};(ii=tt==null?void 0:tt.sideBar)!=null&&ii.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Yi()}}):Yi()},je=Tt=>{const ii=Nl(kl({},Do),{shixun_environment:Nl(kl({},Jn),{is_support_code_editor:Tt.no_used_code_editor,is_support_vnc:!1,is_support_webssh:!1,is_support_thiry_party:!1,disabled_support_vnc:Tt.disabled_support_vnc,disabled_support_webssh:Tt.disabled_support_webssh,open_start_command:Tt.open_start_command,start_command:Tt.start_command,open_envs:Tt.open_envs,envs:Tt.envs,privileged:Tt.privileged,add_cap:Tt.add_cap,drop_cap:Tt.drop_cap}),mirror_repository:Nl(kl({},Co),{id:Tt.id,name:Tt.name,choice_small_type:[],choice_small_mirrors:[],shixun_service_configs:Tt.shixun_service_configs||[],description:Tt.description}),small_type:Tt.small_type});jo===0?fa(ii==null?void 0:ii.mirror_repository):jo===1?Po(ii==null?void 0:ii.mirror_repository):jo===2&&$o(ii==null?void 0:ii.mirror_repository),yo(ii),La(!1),Jo("")},Xe=Tt=>{La(!1)},Ke=(Tt=!1,ii=1)=>ga(void 0,null,function*(){var Yi,or,vr;Xs(!0);const jr=(Yi=ur.find(ta=>ta.id===Vo))==null?void 0:Yi.name,Er=yield(0,wt.ZP)(`/api/shixuns/${xo}/update_for_multi.json`,{method:"put",body:{tabs:ur,shixun_environment_id:Vo,sub_type:Co==null?void 0:Co.choice_small_type,main_type:Co.id,shixun_environment:Nl(kl({},Jn),{name:jr,mirror_tab_type:jo,network_mode:Ka}),shixun_service_configs:Co==null?void 0:Co.shixun_service_configs,new_service_configs:Qo,sync_origin_shixun:Tt,command_settings:Jn==null?void 0:Jn.command_settings}});Er.status===0&&(Gh(Er.shixun_environment_id),mo(Er.shixun_environment_id),sf(),(or=wn==null?void 0:wn.detail)!=null&&or.copy_for_exercise||bt.ZP.success("\u4FDD\u5B58\u6210\u529F"),(vr=wn==null?void 0:wn.detail)!=null&&vr.copy_for_exercise&&(0,yi.m)(st,wn,xo,ii)),Xs(!1)}),gt=()=>{var Tt;if(lu())return;if(Vo===0||(Tt=tt==null?void 0:tt.sideBar)!=null&&Tt.confirmLeave){bt.ZP.warning("\u5F53\u524D\u5B9E\u9A8C\u73AF\u5883\u6B63\u5728\u7F16\u8F91\u4E2D\uFF0C\u4E0D\u80FD\u6DFB\u52A0\u65B0\u7684\u5B9E\u9A8C\u73AF\u5883");return}const ii=(0,Xn.cloneDeep)(Bg);console.log("cloneData---",ii),ma([...ur,{id:0,name:`\u5B9E\u9A8C\u73AF\u5883${ur.length+1}`}]),ia(0),fa({}),Po({}),$o({}),mo(0),yo(ii)},en=(Tt,ii,Yi)=>ga(void 0,null,function*(){var or,vr,jr,Er,ta,ws,Ml,us,wl,Hs,$s,wu,rs,Fs,gs,dl,Wu,Uu,id,Wl,Oc,ve;if(lu())return;console.log("handleValueChange",Tt,ii,Yi);const ye=(0,Xn.cloneDeep)(da.current);if((ii==="is_support_code_editor"||ii==="private_is_support_code_editor")&&Yi&&(yield Bu()),ii==="resource_type"&&(ye.shixun_environment.instance_startup_type=1,ye.shixun_environment.command_settings=gd.current,gd.current=da.current.shixun_environment.command_settings,Yi===2&&!ye.shixun_environment.private_cloud_id&&(ye.shixun_environment.private_cloud_id=(or=Fo==null?void 0:Fo[0])==null?void 0:or.id,ye.shixun_environment.operating_system=1,yh(ye.shixun_environment.private_cloud_id,ye.shixun_environment.operating_system))),ii==="private_cloud_id"&&(ye.shixun_environment.private_is_support_vnc=!1,ye.shixun_environment.private_is_support_webssh=!1,ye.shixun_environment.private_is_support_jupyter_lab=!1,ye.shixun_environment.private_is_support_code_editor=!1,ye.shixun_environment.operating_system=1,ye.shixun_environment.instance_startup_template_id=null,ye.shixun_environment.instance_startup_type=1,yh(Yi,ye.shixun_environment.operating_system)),ii==="operating_system"&&Yi&&(ye.shixun_environment.private_is_support_vnc=!1,ye.shixun_environment.private_is_support_webssh=!1,ye.shixun_environment.private_is_support_jupyter_lab=!1,ye.shixun_environment.private_is_support_code_editor=!1,ye.shixun_environment.instance_startup_template_id=null,ye.shixun_environment.instance_startup_type=1,yh(ye.shixun_environment.private_cloud_id,Yi)),ii==="instance_startup_template_id"){ye.shixun_environment.private_is_support_vnc=!1,ye.shixun_environment.private_is_support_webssh=!1,ye.shixun_environment.private_is_support_jupyter_lab=!1,ye.shixun_environment.private_is_support_code_editor=!1,ye.shixun_environment.instance_startup_type=1;const be=gr.find(Re=>Re.id===Yi);ye.shixun_environment.disabled2_support_vnc=be.disabled_support_vnc,ye.shixun_environment.disabled2_support_webssh=be.disabled_support_webssh,ye.shixun_environment.disabled2_support_jupyter_lab=be.disabled_support_jupyter_lab,ye.shixun_environment.disabled2_support_code_editor=be.disabled_support_code_editor,ye.boosters=be.boosters,ye.network_mode_list=be.network_mode_list,Qs((Er=(jr=(vr=be.network_mode_list)==null?void 0:vr.filter(Re=>Re.is_default))==null?void 0:jr[0])==null?void 0:Er.network_mode),ye.new_service_configs=be!=null&&be.service_config_info?[be.service_config_info]:[]}if((ii==="private_is_support_vnc"||ii==="private_is_support_webssh")&&(ye.shixun_environment.instance_startup_type=1),ii==="choice_small_type"){ye.mirror_repository.choice_small_mirrors=Xo.filter(Ye=>Yi.includes(Ye.id));const be=ye.mirror_repository.choice_small_mirrors,Re=Co.choice_small_mirrors;if(be.length>Re.length){const Ye=(0,Xn.differenceBy)(be,Re,"id");if((ta=Ye==null?void 0:Ye[0])!=null&&ta.mirror_name){const Qe={cpu_limit:((us=(Ml=(ws=Ye==null?void 0:Ye[0])==null?void 0:ws.shixun_service_configs)==null?void 0:Ml[0])==null?void 0:us.cpu_limit)||1,lower_cpu_limit:(($s=(Hs=(wl=Ye==null?void 0:Ye[0])==null?void 0:wl.shixun_service_configs)==null?void 0:Hs[0])==null?void 0:$s.lower_cpu_limit)||.1,memory_limit:((Fs=(rs=(wu=Ye==null?void 0:Ye[0])==null?void 0:wu.shixun_service_configs)==null?void 0:rs[0])==null?void 0:Fs.memory_limit)||1,mirror_repository_id:(gs=Ye==null?void 0:Ye[0])==null?void 0:gs.id,name:(dl=Ye==null?void 0:Ye[0])==null?void 0:dl.mirror_name,request_limit:((id=(Uu=(Wu=Ye==null?void 0:Ye[0])==null?void 0:Wu.shixun_service_configs)==null?void 0:Uu[0])==null?void 0:id.request_limit)||10,resource_limit:((ve=(Oc=(Wl=Ye==null?void 0:Ye[0])==null?void 0:Wl.shixun_service_configs)==null?void 0:Oc[0])==null?void 0:ve.resource_limit)||10};ye.mirror_repository.shixun_service_configs.push(Qe)}}else{const Ye=(0,Xn.differenceBy)(Re,be,"id");ye.mirror_repository.shixun_service_configs=ye.mirror_repository.shixun_service_configs.filter(Qe=>{var ct;return Qe.mirror_repository_id!==((ct=Ye==null?void 0:Ye[0])==null?void 0:ct.id)})}}ii?ye[Tt][ii]=Yi:ye[Tt]=Yi,console.log("cloneData",ye),Jo(""),yo(ye)}),Pt=(Tt,ii,Yi)=>{var or,vr;const jr=/^\d*(\.\d*)?$/,Er=["cpu_limit","lower_cpu_limit","memory_limit","request_limit","resource_limit","gpu_memory_limit","gpu_limit"],ta=(0,Xn.cloneDeep)((vr=(or=da.current)==null?void 0:or.mirror_repository)==null?void 0:vr.shixun_service_configs);if(Er.includes(ii)){Yi.match(jr)&&(ta[Tt][ii]=Yi,en("mirror_repository","shixun_service_configs",ta));return}ta[Tt][ii]=Yi,en("mirror_repository","shixun_service_configs",ta)},Hn=()=>{Ve.default.info({centered:!0,icon:null,width:460,title:"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458",content:Qt.createElement("div",{className:"tc"},Qt.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:qi,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"})},In=()=>{var Tt,ii,Yi,or,vr,jr,Er,ta,ws,Ml;if(!lu()){if((Jn==null?void 0:Jn.resource_type)===1){if(!(Co!=null&&Co.id)){Jo("mirror");return}if(!(Jn!=null&&Jn.is_support_code_editor)&&!(Jn!=null&&Jn.is_support_vnc)&&!(Jn!=null&&Jn.is_support_webssh)&&!(Jn!=null&&Jn.is_support_thiry_party)){Jo("interface");return}if(Jn.is_support_thiry_party&&!(Jn!=null&&Jn.proxy_port)){Jo("port"),ls("\u8BF7\u8F93\u5165\u7AEF\u53E3");return}if(Jn.is_support_thiry_party&&(Jn!=null&&Jn.proxy_port)&&parseInt(Jn==null?void 0:Jn.proxy_port)>65535||((Tt=Jn==null?void 0:Jn.proxy_port)==null?void 0:Tt.length)>1&&((ii=Jn==null?void 0:Jn.proxy_port)==null?void 0:ii[0])==="0"){Jo("port"),ls("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u7AEF\u53E3");return}if(!((Yi=Co==null?void 0:Co.shixun_service_configs)!=null&&Yi.length)){Jo("shixun_service_configs");return}for(let us of Co==null?void 0:Co.shixun_service_configs){if(us!=null&&us.open_start_command&&!(us!=null&&us.start_command)){Jo("start_command");return}if(us!=null&&us.open_envs&&!(us!=null&&us.envs)){Jo("envs");return}}if(Jn!=null&&Jn.webssh_host&&!/^[a-z0-9\-]*$/.test(Jn==null?void 0:Jn.webssh_host)){bt.ZP.warning("\u4E3B\u673A\u540D\u53EA\u80FD\u8F93\u5165\u6570\u5B57\u3001\u5C0F\u5199\u5B57\u6BCD\u3001\u8FDE\u5B57\u7B26");return}if((vr=(or=Co==null?void 0:Co.shixun_service_configs)==null?void 0:or[0])!=null&&vr.webssh_host&&!/^(?![0-9]+$)(?!.*--)[a-z0-9](?:[a-z0-9-]{0,60}[a-z0-9])$/.test((Er=(jr=Co==null?void 0:Co.shixun_service_configs)==null?void 0:jr[0])==null?void 0:Er.webssh_host)){eo(!0);return}}if((Jn==null?void 0:Jn.resource_type)===2){if(!(Jn!=null&&Jn.operating_system)){Jo("system");return}if(!(Jn!=null&&Jn.instance_startup_template_id)){Jo("template");return}if(!(Jn!=null&&Jn.private_is_support_vnc)&&!(Jn!=null&&Jn.private_is_support_webssh)&&!(Jn!=null&&Jn.private_is_support_jupyter_lab)){Jo("interface");return}if((Jn==null?void 0:Jn.operating_system)===1&&(Jn!=null&&Jn.private_is_support_vnc)&&af&&!(Jn!=null&&Jn.instance_startup_type)){Jo("instance_startup_type");return}}if((Jn!=null&&Jn.is_support_webssh||Jn!=null&&Jn.private_is_support_webssh)&&((ta=Jn==null?void 0:Jn.command_settings)==null?void 0:ta.some(wl=>{var Hs,$s;return!wl.command&&!!((Hs=wl.challenge_ids)!=null&&Hs.length)||wl.command&&!(($s=wl.challenge_ids)!=null&&$s.length)}))){Jo("command_settings");return}(ws=wn==null?void 0:wn.detail)!=null&&ws.is_fork_from_creator&&((Ml=wn==null?void 0:wn.detail)!=null&&Ml.copy_for_exercise)&&Vo!=0&&(Jn!=null&&Jn.has_relation)?st({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"environment",fn:(us,wl)=>{Ke(us,wl)}}}):Ke()}},Ui=Tt=>ga(void 0,null,function*(){yield Pt(Tt.index,"cpu_limit",String(Tt==null?void 0:Tt.cpu)),yield Pt(Tt.index,"memory_limit",String(Tt==null?void 0:Tt.memory))}),Qi=Tt=>{const ii=(0,Xn.cloneDeep)(Qo);ii[Tt.index]=Nl(kl({},ii[Tt.index]),{cpu_limit:String(Tt==null?void 0:Tt.cpu),memory_limit:String(Tt==null?void 0:Tt.memory)}),en("new_service_configs","",ii)};return Qt.createElement("div",{className:Xi.wrap},Qt.createElement("div",{className:Xi.content},Qt.createElement("div",{className:Xi.head},Qt.createElement("div",{className:Xi.title},"\u5B9E\u9A8C\u73AF\u5883"),ur.lengthsl(!0),className:Xi.setting},"\u8BBE\u7F6E")),!!ur.length&&Qt.createElement(ue.Fragment,null,Qt.createElement(fn.Z5,{onDragEnd:Tt=>fe(Tt,ur)},Qt.createElement(fn.bK,{droppableId:"droppable",direction:"horizontal"},(Tt,ii)=>Qt.createElement("div",Nl(kl({},Tt.droppableProps),{ref:Tt.innerRef,className:Xi.tabs}),ur.map((Yi,or)=>{const{name:vr,id:jr}=Yi;return Qt.createElement(fn._l,{key:jr,draggableId:jr.toString(),index:or},(Er,ta)=>Qt.createElement("div",Nl(kl(kl({},Er.draggableProps),Er.dragHandleProps),{ref:Er.innerRef,className:Vo===jr?Xi.active:"",key:jr}),Qt.createElement("i",{className:"iconfont icon-tuodong"}),Qt.createElement("span",{className:Xi.name,onClick:()=>De(jr)},vr),Qt.createElement(So.Z,{trigger:["click"],dropdownRender:()=>Qt.createElement(Eo.default,{style:{width:92}},Qt.createElement(Eo.default.Item,{onClick:()=>he(jr,vr),className:"font14"},"\u91CD\u547D\u540D"),Qt.createElement(Eo.default.Item,{onClick:()=>me(jr,vr),className:"font14"},"\u5220\u9664")),getPopupContainer:ws=>ws.parentNode},Qt.createElement("i",{className:"iconfont icon-zhankai5 current"}))))}),Tt.placeholder))),Qt.createElement("div",{className:Xi.line})),Qt.createElement(Oo.Z,{loading:Wa||ts,active:!0},!!ur.length&&Qt.createElement(ue.Fragment,null,Qt.createElement(si.Z,{required:!0,nameWidth:150,name:"\u5B9E\u9A8C\u8D44\u6E90",tooltipTitle:Qt.createElement("div",{className:"p10"},Qt.createElement("b",{className:"font14"},"\u901A\u7528\u4E91"),Qt.createElement("br",null),"\u5E38\u89C4\u573A\u666F\u9009\u7528\uFF0C\u8C03\u7528\u5934\u6B4C\u901A\u7528\u8D44\u6E90\uFF0C\u57FA\u4E8E\u5BB9\u5668\u5F62\u5F0F\u4E3A\u5B9E\u8BAD\u63D0\u4F9B\u865A\u62DF\u5B9E\u9A8C\u73AF\u5883\u3002",Qt.createElement("br",null),Qt.createElement("div",{className:"mt10 blod font14"},"\u4E13\u6709\u4E91"),"\u4E13\u7528\u573A\u666F\uFF0C\u53EF\u9009\u7528\u4E0D\u540C\u4E91\u96C6\u7FA4\u7684\u8D44\u6E90\uFF0C\u5305\u62EC\u963F\u91CC\u4E91\u3001\u534E\u4E3A\u4E91\u3001\u7B97\u80FD\u4E91\u7B49\uFF0C\u5982\u7B97\u80FD\u4E91\u9002\u7528\u4E8E\u9700\u8981\u8C03\u7528TPU\u8D44\u6E90\u8BAD\u7EC3\u7684\u5B9E\u8BAD")},Qt.createElement("div",{className:Xi.resource},Vd.map(Tt=>Qt.createElement("div",{key:Tt.id,className:(Jn==null?void 0:Jn.resource_type)===Tt.id?Xi.active:"",onClick:()=>{(Jn==null?void 0:Jn.resource_type)!==Tt.id&&en("shixun_environment","resource_type",Tt.id)}},Tt.name)))),(Jn==null?void 0:Jn.resource_type)===1&&Qt.createElement(ue.Fragment,null,Qt.createElement(si.Z,{required:!0,nameWidth:150,name:"\u5B9E\u9A8C\u955C\u50CF"},Qt.createElement("div",{className:Xi.resource,style:{width:300}},Ef.map(Tt=>Qt.createElement("div",{key:Tt.id,className:jo===Tt.id?Xi.active:"",onClick:()=>{jo!==Tt.id&&(lu()||(ia(Tt.id),Jo(""),Tt.id===0&&yo(Nl(kl({},Do),{mirror_repository:kl({},tc)})),Tt.id===1&&yo(Nl(kl({},Do),{mirror_repository:kl({},Ua)})),Tt.id===2&&yo(Nl(kl({},Do),{mirror_repository:kl({},Wr)}))))}},Tt.name)))),Qt.createElement(si.Z,{nameWidth:150,errorKey:"mirror",errorValue:Cr,errorName:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF"},Qt.createElement(dt.Z,{align:"middle"},Yl===!1?Qt.createElement(Qt.Fragment,null,!!(Co!=null&&Co.id)&&Qt.createElement(Qt.Fragment,null,Qt.createElement("div",{onClick:()=>{lu()||La(!0)},className:Xi.mirror},Qt.createElement("div",null,Co==null?void 0:Co.name),Qt.createElement("i",{className:"iconfont icon-genghuan"})),Qt.createElement(rr.Z,{value:[{description:Co==null?void 0:Co.description,name:Co==null?void 0:Co.name}],title:"\u5B9E\u9A8C\u955C\u50CF\u8BF4\u660E"},Qt.createElement("span",{className:Xi.explain},"\u5B9E\u9A8C\u955C\u50CF\u8BF4\u660E"))),!(Co!=null&&Co.id)&&Qt.createElement("div",{onClick:()=>{La(!0)},className:Xi.mirror},Qt.createElement("i",{className:"iconfont icon-tianjia3 font14 mr10"}),Qt.createElement("div",null,"\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF"))):"\u6682\u65E0\u6570\u636E")),ie(!0),(Jn==null?void 0:Jn.is_support_webssh)&&Qt.createElement(si.Z,{nameWidth:150,align:"start",name:"\u5F00\u542F\u65F6\u89E6\u53D1\u547D\u4EE4",tooltipTitle:Qt.createElement("div",null,"\u6BCF\u6B21\u6253\u5F00\u65B0\u7684\u7EC8\u7AEF\u7A97\u53E3\u65F6\uFF0C\u81EA\u52A8\u53D1\u9001\u5E76\u6267\u884C\u6307\u5B9A\u7684\u547D\u4EE4\u6216\u6587\u672C\u3002\u7528\u4E8E\u81EA\u52A8\u5316\u7EC8\u7AEF\u4EFB\u52A1\u6216\u521D\u59CB\u5316\u5DE5\u4F5C\u73AF\u5883")},Qt.createElement(ll,{showError:Cr==="command_settings",value:Jn==null?void 0:Jn.command_settings,onChange:Tt=>en("shixun_environment","command_settings",Tt),optionsLevelList:Us})),(Jn==null?void 0:Jn.is_support_thiry_party)&&Qt.createElement(si.Z,{required:!0,nameWidth:150,align:"start",name:"\u7AEF\u53E3\u914D\u7F6E",errorKey:"port",errorValue:Cr,errorName:Ha},Qt.createElement(dt.Z,null,Qt.createElement("div",{className:"font14",style:{lineHeight:"14px"}},Qt.createElement("div",null,"\u5BB9\u5668\u7AEF\u53E3"),Qt.createElement(ke.default,{onClick:lu,value:Jn==null?void 0:Jn.proxy_port,onChange:Tt=>{const ii=Tt.target.value;(ii===""||/^[0-9]\d*$/.test(ii))&&en("shixun_environment","proxy_port",Tt.target.value)},bordered:!1,style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:6}})),Qt.createElement("div",{className:"ml20"},Qt.createElement("div",{className:"font14",style:{lineHeight:"14px"}},"\u8DEF\u7531\uFF08\u9009\u586B\uFF09"),Qt.createElement(ke.default,{onClick:lu,value:Jn==null?void 0:Jn.web_route,onChange:Tt=>en("shixun_environment","web_route",Tt.target.value),bordered:!1,style:{width:450,height:50,background:"#F5F5F5",borderRadius:4,marginTop:6}})))),Qt.createElement(si.Z,{name:"\u9644\u5E26\u73AF\u5883",nameWidth:150},Qt.createElement(dt.Z,{align:"middle"},Qt.createElement(Sr.default,{getPopupContainer:Tt=>Tt.parentNode,onClick:lu,mode:"multiple",bordered:!1,className:"mr10",optionFilterProp:"children",placeholder:"\u8BF7\u9009\u62E9\u9644\u5E26\u73AF\u5883",style:{minWidth:400,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},value:Co==null?void 0:Co.choice_small_type,onChange:Tt=>en("mirror_repository","choice_small_type",Tt),showArrow:!0,maxTagCount:5},Xo.map((Tt,ii)=>Qt.createElement(gl,{key:Tt.id,value:Tt.id},Tt.type_name))),!!((Ei=Co==null?void 0:Co.choice_small_mirrors)!=null&&Ei.length)&&Qt.createElement(rr.Z,{value:(Co==null?void 0:Co.choice_small_mirrors)||[],title:"\u9644\u5E26\u73AF\u5883\u8BF4\u660E"},Qt.createElement("span",{className:Xi.explain},"\u9644\u5E26\u73AF\u5883\u8BF4\u660E")))),(0,Zr.Ny)()&&Qt.createElement(ue.Fragment,null,Qt.createElement("div",{onClick:()=>Za(!hs),className:Xi.grade},"\u9AD8\u7EA7\u8BBE\u7F6E",Qt.createElement("i",{className:`iconfont ${hs?"icon-shouqi4":"icon-a-xialazhankai"}`})),hs&&Qt.createElement(ue.Fragment,null,Qt.createElement(si.Z,{required:!0,nameWidth:150,name:"\u955C\u50CF\u914D\u7F6E",align:"start",errorKey:"shixun_service_configs",errorValue:Cr,errorName:"\u8BF7\u6DFB\u52A0\u955C\u50CF\u914D\u7F6E",contentStyle:{overflow:(Ln=Co==null?void 0:Co.shixun_service_configs)!=null&&Ln.length?"hidden":"initial"}},Qt.createElement("div",{className:Xi.tabsBox},!((bi=Co==null?void 0:Co.shixun_service_configs)!=null&&bi.length)&&Qt.createElement(Sn.Z,{image:Ti,imageStyle:{height:180,marginTop:67},description:""}),!!((Yr=Co==null?void 0:Co.shixun_service_configs)!=null&&Yr.length)&&Qt.createElement(nn.default,{destroyInactiveTabPane:!0,moreIcon:Qt.createElement("span",{className:Xi.more},"\u66F4\u591A ",Qt.createElement("i",{className:"iconfont icon-xiala1"}))},(wo=Co==null?void 0:Co.shixun_service_configs)==null?void 0:wo.map((Tt,ii)=>{var Yi,or,vr,jr;const{cpu_limit:Er,lower_cpu_limit:ta,memory_limit:ws,request_limit:Ml,resource_limit:us,name:wl,shixun_update_logs:Hs,gpu_limit:$s,gpu_memory_limit:wu}=Tt;return Qt.createElement(nn.default.TabPane,{className:"p20",tab:Qt.createElement("div",{title:wl,className:Xi.tabTitle},wl),key:ii},(Hs==null?void 0:Hs.user_name)&&Qt.createElement("div",{style:{margin:"-15px 0 15px 0"}},"\u6700\u8FD1\u4FEE\u6539\u4EBA\uFF1A ",Hs==null?void 0:Hs.user_name,"\uFF08",Hs==null?void 0:Hs.user_login,"\uFF09 \u4FEE\u6539\u65F6\u95F4\uFF1A",Hs!=null&&Hs.created_at?xr()(Hs==null?void 0:Hs.created_at).format("YYYY-MM-DD HH:mm:ss"):"--"),Qt.createElement(si.Z,{nameWidth:150,name:"\u8D44\u6E90\u914D\u7F6E",align:"center"},Qt.createElement(dt.Z,{align:"middle"},Qt.createElement(dt.Z,{align:"middle",className:"mr20",wrap:!1},Qt.createElement("div",{className:Xi.serverConfig,onClick:()=>{lu()||(Aa({index:ii,cpu:Er,memory:ws}),Xl(!0))}},Qt.createElement("div",null,Qt.createElement("span",null,Er,"\u6838")," ",Qt.createElement("span",null,ws,"GB")),Qt.createElement("i",{className:"iconfont icon-bianji21"}))),ii==0&&Qt.createElement(dt.Z,{align:"middle",wrap:!1},Qt.createElement("div",{className:Xi.viewRecommendConfig,onClick:()=>mr(!0)},"\u67E5\u770B\u63A8\u8350\u914D\u7F6E")))),(((vr=(Yi=ot==null?void 0:ot.setting)==null?void 0:Yi.big_model_users)==null?void 0:vr.includes((or=wi==null?void 0:wi.userInfo)==null?void 0:or.login))||(0,Zr.fn)())&&Qt.createElement(si.Z,{nameWidth:150,name:"GPU\u914D\u7F6E",align:"center"},Qt.createElement(dt.Z,{align:"middle"},Qt.createElement(dt.Z,{align:"middle",className:"mr20",wrap:!1},Qt.createElement("div",{className:Xi.serverConfig,onClick:()=>{Zu({index:ii,gpu_limit:$s||0,gpu_memory_limit:wu||0}),Jl(!0)}},$s&&Qt.createElement(Qt.Fragment,null,Qt.createElement("div",null,Qt.createElement("span",null,"\u663E\u5361",$s,"\u4E2A")," ",Qt.createElement("span",null,"\u663E\u5B58",wu,"GB")),Qt.createElement("i",{className:"iconfont icon-bianji21"})),!$s&&Qt.createElement(Qt.Fragment,null,Qt.createElement("div",null,"\u672A\u914D\u7F6EGPU"),Qt.createElement("i",{className:"iconfont icon-bianji21"})))))),Qt.createElement(si.Z,{nameWidth:150,name:"\u6587\u4EF6\u5927\u5C0F\u9650\u5236",align:"center"},Qt.createElement(dt.Z,{align:"middle"},Qt.createElement(dt.Z,{align:"middle",wrap:!1},Qt.createElement(ke.default,{onClick:lu,style:{width:400},value:us,maxLength:5,onChange:rs=>{const{value:Fs}=rs.target,gs=/^\d*(\.\d*)?$/;Fs.match(gs)&&Pt(ii,"resource_limit",rs.target.value)},addonAfter:"M"}),Qt.createElement("span",{style:{marginLeft:10,color:"#999"}},"File size limit\u53C2\u6570\uFF0C\u8868\u793A\u5355\u4E2A\u6587\u4EF6\u4E0A\u4F20\u7684\u5927\u5C0F\u9650\u5236")))),Qt.createElement(si.Z,{nameWidth:150,name:"\u542F\u52A8\u8BBE\u7F6E",align:"start",required:Tt==null?void 0:Tt.open_start_command,errorKey:"start_command",errorValue:Cr,errorName:"\u8BF7\u8F93\u5165\u542F\u52A8\u547D\u4EE4"},Qt.createElement("div",{className:"font14 mb5"},"\u7528\u6237\u540D",Qt.createElement("span",{className:"c-grey-999"},"\uFF08\u767B\u5F55\u5BB9\u5668\u65F6\u53EF\u4F7F\u7528\u7684\u7528\u6237\u540D\uFF09")),Qt.createElement(Sr.default,{getPopupContainer:rs=>rs.parentNode,onClick:lu,bordered:!1,fieldNames:{label:"name",value:"id"},options:(jr=Do==null?void 0:Do.mirror_repository)==null?void 0:jr.webssh_user_arr,value:(Tt==null?void 0:Tt.webssh_user)||"root",onChange:rs=>Pt(ii,"webssh_user",rs),style:{minWidth:400,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10,marginBottom:20}}),Qt.createElement("div",{className:"font14 mb5"},"\u4E3B\u673A\u540D",Qt.createElement("span",{className:"c-grey-999"},"\uFF08\u767B\u5F55\u5BB9\u5668\u65F6\u53EF\u6307\u5B9A\u4E3B\u673A\u540D\uFF09")),Qt.createElement(dt.Z,{className:"mb20"},Qt.createElement(ke.default,{bordered:!1,onClick:lu,value:Tt==null?void 0:Tt.webssh_host,maxLength:255,placeholder:"\u9009\u586B\uFF0C\u64CD\u4F5C\u7CFB\u7EDF\u5185\u90E8\u7684\u8BA1\u7B97\u673A\u540D",onChange:rs=>{Pt(ii,"webssh_host",rs.target.value),rs.target.value?/^(?![0-9]+$)(?!.*--)[a-z0-9](?:[a-z0-9-]{0,60}[a-z0-9])$/.test(rs.target.value)?eo(!1):eo(!0):eo(!1)},style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:5,marginRight:10}}),Qt.createElement("div",{style:{marginTop:8,maxWidth:575},className:"c-grey-999"},"\u957F\u5EA6\u4E3A2~64\u4E2A\u5B57\u7B26\uFF0C\u53EA\u80FD\u5305\u542B\u5C0F\u5199\u5B57\u6BCD\u3001\u6570\u5B57\u3001\u8FDE\u5B57\u7B26 \u201C-\u201D\uFF0C\u5FC5\u987B\u4EE5\u5B57\u6BCD\u6216\u6570\u5B57\u5F00\u5934\u548C\u7ED3\u5C3E",Qt.createElement("br",null),"\u4E0D\u80FD\u8FDE\u7EED\u4F7F\u7528 \u201C-\u201D\uFF0C\u4E0D\u80FD\u4F7F\u7528\u7EAF\u6570\u5B57")),Os&&Qt.createElement("div",{style:{color:"#E53333",marginTop:"-15px",marginBottom:"5px"}},"\u8BF7\u8F93\u5165\u89C4\u8303\u7684\u4E3B\u673A\u540D"),Qt.createElement(Ot.default,{checked:Tt==null?void 0:Tt.open_start_command,onChange:rs=>Pt(ii,"open_start_command",rs.target.checked),style:{marginTop:-4},className:"font14"},"\u542F\u52A8\u547D\u4EE4",Qt.createElement("span",{className:"c-grey-999"},"\uFF08\u542F\u52A8\u5BB9\u5668\u65F6\u8FD0\u884C\u7684\u547D\u4EE4\u6216\u811A\u672C\uFF0C\u586B\u5199\u5C06\u8986\u76D6\u5BB9\u5668\u9ED8\u8BA4\u7684\u542F\u52A8\u6307\u4EE4\u3002\uFF09")),(Tt==null?void 0:Tt.open_start_command)&&Qt.createElement(ui.ZP,{width:"90%",height:250,placeholder:"\u4F8B\u5982\uFF1Aecho helloworld > /data/workspace/01.txt",style:{border:"1px solid #ccc",background:"#dedede",marginTop:"20px"},value:Tt==null?void 0:Tt.start_command,language:"shell",theme:"vs-light",onChange:rs=>Pt(ii,"start_command",rs)})),Qt.createElement(si.Z,{required:Tt==null?void 0:Tt.open_envs,nameWidth:150,name:"\u73AF\u5883\u53D8\u91CF",align:"start",errorKey:"envs",errorValue:Cr,errorName:"\u8BF7\u8F93\u5165\u73AF\u5883\u53D8\u91CF"},Qt.createElement(Ot.default,{checked:Tt==null?void 0:Tt.open_envs,onChange:rs=>Pt(ii,"open_envs",rs.target.checked),style:{marginTop:-4},className:"font14"},"\u73AF\u5883\u53D8\u91CF",Qt.createElement("span",{className:"c-grey-999"},"\uFF08\u4E3A\u5BB9\u5668\u6DFB\u52A0\u73AF\u5883\u53D8\u91CF\uFF09")),(Tt==null?void 0:Tt.open_envs)&&Qt.createElement(ui.ZP,{width:"90%",height:250,placeholder:"\u4F8B\u5982\uFF1AMY_VARIABLE=my_value",style:{border:"1px solid #ccc",background:"#dedede",marginTop:"20px"},language:"shell",theme:"vs-light",value:Tt==null?void 0:Tt.envs,onChange:rs=>Pt(ii,"envs",rs)})),Qt.createElement(si.Z,{name:"\u8BBF\u95EE\u6A21\u5F0F",nameWidth:150},Qt.createElement(dt.Z,{align:"middle"},Qt.createElement(Ri.Z,{checked:Tt==null?void 0:Tt.privileged,onChange:rs=>Pt(ii,"privileged",rs)}),Qt.createElement("span",{className:"ml10 c-grey-333 font14"},"\u7279\u6743\u6A21\u5F0F"),Qt.createElement("span",{className:"c-grey-999 font14"},"\uFF08\u8D4B\u4E88\u5BB9\u5668\u8BBF\u95EE\u5BBF\u4E3B\u673A\u5185\u6838\u7279\u6027\u548C\u8BBE\u5907\u7684\u80FD\u529B\uFF09"))),Qt.createElement(si.Z,{name:"\u6743\u9650\u63A7\u5236",nameWidth:150,align:"start"},Qt.createElement("div",{className:"font14"},"\u6DFB\u52A0\u6743\u9650",Qt.createElement("span",{className:"c-grey-999"},"\uFF08\u6DFB\u52A0\u591A\u4E2A\u6743\u9650\u7528\u82F1\u6587 , \u5206\u9694\uFF09")),Qt.createElement(ke.default,{onClick:lu,value:Tt==null?void 0:Tt.add_cap,onChange:rs=>Pt(ii,"add_cap",rs.target.value),bordered:!1,placeholder:"\u4F8B\u5982\uFF1ANET_ADMIN",style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:5}}),Qt.createElement("div",{className:"font14 mt20"},"\u79FB\u9664\u6743\u9650",Qt.createElement("span",{className:"c-grey-999"},"\uFF08\u79FB\u9664\u591A\u4E2A\u6743\u9650\u7528\u82F1\u6587 , \u5206\u9694\uFF09")),Qt.createElement(ke.default,{onClick:lu,value:Tt==null?void 0:Tt.drop_cap,onChange:rs=>Pt(ii,"drop_cap",rs.target.value),bordered:!1,placeholder:"\u4F8B\u5982\uFF1ASYS_PTRACE",style:{width:400,height:50,background:"#F5F5F5",borderRadius:4,marginTop:5}})))}))))))),(Jn==null?void 0:Jn.resource_type)===2&&Qt.createElement(ue.Fragment,null,Qt.createElement(si.Z,{nameWidth:150},Qt.createElement(Sr.default,{getPopupContainer:Tt=>Tt.parentNode,bordered:!1,onClick:lu,className:"mr10",style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0,value:Jn==null?void 0:Jn.private_cloud_id,onChange:Tt=>en("shixun_environment","private_cloud_id",Tt)},Fo.map((Tt,ii)=>Qt.createElement(gl,{key:Tt.id,value:Tt.id},Tt.name)))),Qt.createElement(si.Z,{name:"\u64CD\u4F5C\u7CFB\u7EDF",nameWidth:150,required:!0,errorKey:"system",errorValue:Cr,errorName:"\u8BF7\u9009\u62E9\u64CD\u4F5C\u7CFB\u7EDF"},Qt.createElement("div",{className:Xi.system},of.map(Tt=>Qt.createElement("div",{onClick:()=>{Jn.operating_system!==Tt.id&&en("shixun_environment","operating_system",Tt.id)},key:Tt.id,className:(Jn==null?void 0:Jn.operating_system)===Tt.id?Xi.active:""},Qt.createElement("i",{className:Tt.icon}),Qt.createElement("span",null,Tt.name))))),Qt.createElement(si.Z,{required:!0,nameWidth:150,name:"\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248",errorKey:"template",errorValue:Cr,errorName:"\u8BF7\u9009\u62E9\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248"},Qt.createElement(dt.Z,{align:"middle"},Qt.createElement(Sr.default,{getPopupContainer:Tt=>Tt.parentNode,bordered:!1,className:"mr10",placeholder:"\u8BF7\u9009\u62E9\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248",style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},onClick:lu,ref:Ur,showArrow:!0,dropdownRender:Tt=>Qt.createElement("div",{className:Xi.template},Qt.createElement("div",{className:Xi.liWrap},gr.map(ii=>Qt.createElement("div",{className:Xi.li,key:ii.id,onClick:()=>{Ur.current.blur(),en("shixun_environment","instance_startup_template_id",ii.id)}},Qt.createElement("span",{title:ii.name,style:{color:(Jn==null?void 0:Jn.instance_startup_template_id)===ii.id?"#0152d9":"initial"}},ii.name),!ii.is_public&&Qt.createElement("b",{className:Xi.tag},"\u79C1\u6709")))),Qt.createElement("div",{style:{padding:12}},!gr.length&&Qt.createElement(Sn.Z,{image:Ti,imageStyle:{height:120,marginTop:20},description:"\u6682\u65E0\u6570\u636E"}),Qt.createElement("div",{style:{marginTop:gr!=null&&gr.length?0:20},className:"c-grey-999 font14"},"\u672A\u627E\u5230\u5408\u9002\u7684\u5B9E\u4F8B\u542F\u52A8\u6A21\u677F\uFF1F",Qt.createElement("span",{onClick:Hn,className:"c-light-primary current"},"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458")))),options:gr==null?void 0:gr.map(Tt=>({label:Tt.name,value:Tt.id})),value:Jn==null?void 0:Jn.instance_startup_template_id}),!!Nf&&Qt.createElement(rr.Z,{value:Nf,title:"\u6A21\u7248\u63CF\u8FF0"},Qt.createElement("span",{className:Xi.explain},"\u6A21\u7248\u63CF\u8FF0")))),ie(!1),(Jn==null?void 0:Jn.private_is_support_webssh)&&Qt.createElement(si.Z,{align:"start",nameWidth:150,name:"\u5F00\u542F\u65F6\u89E6\u53D1\u547D\u4EE4",tooltipTitle:Qt.createElement("div",null,"\u6BCF\u6B21\u6253\u5F00\u65B0\u7684\u7EC8\u7AEF\u7A97\u53E3\u65F6\uFF0C\u81EA\u52A8\u53D1\u9001\u5E76\u6267\u884C\u6307\u5B9A\u7684\u547D\u4EE4\u6216\u6587\u672C\u3002\u7528\u4E8E\u81EA\u52A8\u5316\u7EC8\u7AEF\u4EFB\u52A1\u6216\u521D\u59CB\u5316\u5DE5\u4F5C\u73AF\u5883")},Qt.createElement(ll,{showError:Cr==="command_settings",value:Jn==null?void 0:Jn.command_settings,onChange:Tt=>en("shixun_environment","command_settings",Tt),optionsLevelList:Us})),(Jn==null?void 0:Jn.operating_system)===1&&(Jn==null?void 0:Jn.private_is_support_vnc)&&(af||ih&&nh===1)&&Qt.createElement(si.Z,{required:!0,nameWidth:150,name:"\u5B9E\u4F8B\u542F\u52A8\u65B9\u5F0F",errorKey:"instance_startup_type",errorValue:Cr,errorName:"\u8BF7\u9009\u62E9\u5B9E\u4F8B\u542F\u52A8\u6A21\u7248"},Qt.createElement("div",{className:Xi.resource},bu.map(Tt=>Qt.createElement("div",{key:Tt.id,className:(Jn==null?void 0:Jn.instance_startup_type)===Tt.id?Xi.active:"",onClick:()=>en("shixun_environment","instance_startup_type",Tt.id)},Tt.name)))),(0,Zr.Ny)()&&nh===1&&Qt.createElement(ue.Fragment,null,Qt.createElement("div",{onClick:()=>Ho(!pr),className:Xi.grade},"\u9AD8\u7EA7\u8BBE\u7F6E",Qt.createElement("i",{className:`iconfont ${pr?"icon-shouqi4":"icon-a-xialazhankai"}`})),pr&&Qt.createElement(ue.Fragment,null,Qt.createElement(si.Z,{required:!0,nameWidth:150,name:"\u8D44\u6E90\u914D\u7F6E",align:"start",errorKey:"shixun_service_configs",errorValue:Cr,errorName:"\u8BF7\u6DFB\u52A0\u8D44\u6E90\u914D\u7F6E",contentStyle:{overflow:Qo!=null&&Qo.length?"hidden":"initial"}},Qt.createElement("div",{className:Xi.tabsBox},!(Qo!=null&&Qo.length)&&Qt.createElement(Sn.Z,{image:Ti,imageStyle:{height:180,marginTop:67},description:""}),!!(Qo!=null&&Qo.length)&&Qt.createElement(nn.default,{destroyInactiveTabPane:!0,moreIcon:Qt.createElement("span",{className:Xi.more},"\u66F4\u591A ",Qt.createElement("i",{className:"iconfont icon-xiala1"}))},Qo==null?void 0:Qo.map((Tt,ii)=>{const{cpu_limit:Yi,lower_cpu_limit:or,memory_limit:vr,request_limit:jr,resource_limit:Er,name:ta}=Tt;return Qt.createElement(nn.default.TabPane,{className:"p20",tab:Qt.createElement("div",{title:ta,className:Xi.tabTitle},ta),key:ii},Qt.createElement(dt.Z,{align:"middle"},Qt.createElement(dt.Z,{align:"middle",className:"mr20",wrap:!1},Qt.createElement("div",{className:Xi.serverConfig,onClick:()=>{Aa({index:ii,cpu:Yi,memory:vr}),Xl(!0)}},Qt.createElement("div",null,Qt.createElement("span",null,Yi,"\u6838")," ",Qt.createElement("span",null,vr,"GB")),Qt.createElement("i",{className:"iconfont icon-bianji21"}))),ii==0&&Qt.createElement(dt.Z,{align:"middle",wrap:!1},Qt.createElement("div",{className:Xi.viewRecommendConfig,onClick:()=>mr(!0)},"\u67E5\u770B\u63A8\u8350\u914D\u7F6E"))))})))),(0,Zr.Ny)()&&(ms==null?void 0:ms.length)>0&&Qt.createElement(si.Z,{required:!0,nameWidth:150,name:"GPU\u52A0\u901F\u5668",align:"center"},Qt.createElement(Sr.default,{disabled:!0,getPopupContainer:Tt=>Tt.parentNode,bordered:!1,className:"mr10",value:ms[0],style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0},ms.map(Tt=>Qt.createElement(Sr.default.Option,{key:Tt,value:Tt},Tt)))),(0,Zr.Ny)()&&(qo==null?void 0:qo.length)>0&&Qt.createElement(si.Z,{required:!0,nameWidth:150,name:"\u7F51\u7EDC\u6A21\u5F0F",align:"center",tooltipTitle:Qt.createElement("div",{className:"p10"},Qt.createElement("p",null,"NAT\u6A21\u5F0F\uFF1A\u865A\u62DF\u673A\u901A\u8FC7\u4E3B\u673A\u7684\u7F51\u7EDC\u8FDE\u63A5\u5171\u4EABIP\u5730\u5740\u3002\u865A\u62DF\u673A\u7684IP\u56FA\u5B9A\u4E3A10.0.2.2"),Qt.createElement("p",null,"passt\u6A21\u5F0F\uFF1A\u5141\u8BB8\u865A\u62DF\u673A\u76F4\u63A5\u8BBF\u95EE\u4E3B\u673A\u4E0A\u7684\u786C\u4EF6\u8BBE\u5907\u3002\u865A\u62DF\u673A\u7684IP\u4E3Apod\u7684IP"))},Qt.createElement(Sr.default,{disabled:!0,getPopupContainer:Tt=>Tt.parentNode,bordered:!1,className:"mr10",value:($r=(Nr=qo==null?void 0:qo.filter(Tt=>Tt.is_default))==null?void 0:Nr[0])==null?void 0:$r.network_mode,onChange:Tt=>{Qs(Tt)},style:{width:460,backgroundColor:"#f5f5f5",height:50,borderRadius:4,paddingTop:10},showArrow:!0},qo==null?void 0:qo.map(Tt=>Qt.createElement(Sr.default.Option,{key:Tt==null?void 0:Tt.network_mode,value:Tt==null?void 0:Tt.network_mode},Tt.name)))))))),!ur.length&&Qt.createElement(Sn.Z,{image:Ti,imageStyle:{height:180,marginTop:100},description:"\u8BF7\u6DFB\u52A0\u5B9E\u9A8C\u73AF\u5883"}))),Qt.createElement("div",{className:Xi.btns},Qt.createElement(Me.ZP,{onClick:zh,style:{marginRight:40}},"\u53D6\u6D88"),Qt.createElement(Me.ZP,{loading:al,type:"primary",disabled:!(ur!=null&&ur.length),onClick:()=>{In()}},"\u4FDD\u5B58")),Qt.createElement(Kr,{identifier:xo,shixun_environment_id:Vo,useId:Co==null?void 0:Co.id,visible:Kl,onCancel:()=>La(!1),onOk:Tt=>je(Tt),tab_type:(To=Ef[Number(jo)])==null?void 0:To.type}),Qt.createElement(no,{verifyModal:lu,id:xo,environment:ur,is_published:po,dispatch:st,visible:qa,onCancel:()=>sl(!1),onOk:Tt=>Xe(Tt)}),Qt.createElement(ys.Z,{visible:Sc,onOk:Tt=>{let ii=Jn==null?void 0:Jn.resource_type;ii==1&&Ui(Tt),ii==2&&Qi(Tt),Xl(!1)},onCancel:()=>Xl(!1),info:vs}),Qt.createElement(bs.Z,{visible:sc,onOk:Tt=>ga(void 0,null,function*(){yield Pt(Tt.index,"gpu_memory_limit",String(Tt==null?void 0:Tt.gpu_memory_limit)),setTimeout(()=>ga(void 0,null,function*(){yield Pt(Tt.index,"gpu_limit",String(Tt==null?void 0:Tt.gpu_limit)),Jl(!1)}))}),onCancel:()=>Jl(!1),info:qs}),Qt.createElement(_o.Z,{onOk:()=>{Gh(Jn==null?void 0:Jn.id)},identifier:xo,visible:nd,onCancel:()=>mr(!1),info:null,isJupyter:!1}))};var Su=(0,pt.connect)(({practiceSetting:tt,globalSetting:st,shixunsDetail:ot,user:wn})=>({practiceSetting:tt,globalSetting:st,shixunsDetail:ot,user:wn}))(du),xu=Pe(1710),ao=Pe(87169),xd={footerWrap:"footerWrap___Qaahm"},Ed=Object.getOwnPropertySymbols,Bc=Object.prototype.hasOwnProperty,Od=Object.prototype.propertyIsEnumerable,Nh=(tt,st)=>{var ot={};for(var wn in tt)Bc.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&Ed)for(var wn of Ed(tt))st.indexOf(wn)<0&&Od.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},ir=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const il=ke.default.TextArea,bl=tt=>{var st=tt,{shixunsDetail:ot,globalSetting:wn,loading:wi,dispatch:Ji,onFinish:dr=()=>{}}=st,Ei=Nh(st,["shixunsDetail","globalSetting","loading","dispatch","onFinish"]);const[Ln]=Ae.default.useForm(),bi=wo=>ir(void 0,null,function*(){var Nr;const $r=yield Ji({type:"shixunsDetail/getCustomScript",payload:{id:(Nr=ot.actionTabs.params)==null?void 0:Nr.id,compile:wo.execute,excutive:wo.compile}});Yr(),$r&&dr($r==null?void 0:$r.shixun_script)}),Yr=()=>{Ji({type:"shixunsDetail/setActionTabs",payload:{}})};return ue.createElement(Ve.default,{centered:!0,title:"\u81EA\u5B9A\u4E49\u6A21\u677F",open:ot.actionTabs.key==="Settings-UseCustomScript",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",footer:null,onCancel:Yr},ue.createElement(Ae.default,{form:Ln,scrollToFirstError:!0,layout:"vertical",onFinish:bi},ue.createElement(Ae.default.Item,{name:"execute",label:"\u6267\u884C\u547D\u4EE4\uFF1A",rules:[{required:!0,message:"\u6267\u884C\u547D\u4EE4\u4E0D\u80FD\u4E3A\u7A7A"}]},ue.createElement(il,{rows:4})),ue.createElement(Ae.default.Item,{name:"compile",label:"\u7F16\u8BD1\u547D\u4EE4\uFF1A"},ue.createElement(il,{rows:4})),ue.createElement("div",{className:xd.footerWrap},ue.createElement(Ae.default.Item,null,ue.createElement(Me.ZP,{className:"mr5",size:"middle",onClick:Yr},"\u53D6\u6D88"),ue.createElement(Me.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:wi.effects["shixunsDetail/getCustomScript"]},"\u4FDD\u5B58")))))};var wr=(0,pt.connect)(({shixunsDetail:tt,loading:st,globalSetting:ot})=>({shixunsDetail:tt,globalSetting:ot,loading:st}))(bl),so={wrap:"wrap___tkKvJ",head:"head___qUdlR",active:"active___fcOZ0",practice:"practice___g43Av",right:"right___plViv",title:"title___fJJJd",content:"content___Aiv2H",des:"des___kaZig",mainBody:"mainBody___fTSjs",selectBox:"selectBox___omezm",smallType:"smallType___NU4X3",evaluating:"evaluating___YaR_r",evaluatingLabel:"evaluatingLabel___Cy_Vk",mask:"mask___ewIvw",evaluatingS1:"evaluatingS1___oKt4O",serviceSettingWrap:"serviceSettingWrap___Haz9b",serviceBox:"serviceBox___Oc9DS",serviceSetLeft:"serviceSetLeft___ek9V_",serviceSetTip:"serviceSetTip___t8Vpy",btns:"btns___E8bN3",otherPractice:"otherPractice___qlpPQ",box:"box___TdGJn",popover:"popover___s3ipd",serverConfig:"serverConfig___tirr2",viewRecommendConfig:"viewRecommendConfig___vFIgu"},ca=Pe(85057),Dr=Pe(6021),Bl=Object.defineProperty,ku=Object.defineProperties,xs=Object.getOwnPropertyDescriptors,hu=Object.getOwnPropertySymbols,ic=Object.prototype.hasOwnProperty,Ms=Object.prototype.propertyIsEnumerable,Tl=(tt,st,ot)=>st in tt?Bl(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Gl=(tt,st)=>{for(var ot in st||(st={}))ic.call(st,ot)&&Tl(tt,ot,st[ot]);if(hu)for(var ot of hu(st))Ms.call(st,ot)&&Tl(tt,ot,st[ot]);return tt},Yu=(tt,st)=>ku(tt,xs(st)),ed=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const Jd=Sr.default.Option,Qh=({practiceSetting:tt,dispatch:st,shixunsDetail:ot,globalSetting:wn,user:wi})=>{var Ji,dr,Ei,Ln;const[bi,Yr]=(0,ue.useState)(null),[wo,Nr]=(0,ue.useState)([]),[$r,To]=(0,ue.useState)(!0),[xo,po]=(0,ue.useState)({}),[ur,ma]=(0,ue.useState)([]),[Vo,mo]=(0,ue.useState)(),[Fo,Pr]=(0,ue.useState)(),[gr,Mo]=(0,ue.useState)([]),[Ur,Do]=(0,ue.useState)({}),yo=(0,ue.useRef)(null),da=(0,ue.useRef)(!0),xa=(0,ue.useRef)({activeId:null,selectId:null,serviceConfigList:null,evaluateScript:null,evaluationScript:null}),Jn=(0,ue.useRef)(null),[Co,Xo]=(0,ue.useState)(!1),[Qo,qo]=(0,ue.useState)(!1),[ms,Cr]=(0,ue.useState)(!1),[Jo,Ha]=(0,ue.useState)({}),[ls,hs]=(0,ue.useState)({}),[Za,pr]=(0,ue.useState)(!0),[Ho,Wa]=(0,ue.useState)(!1),[Yo,ts]=(0,ue.useState)(""),[fs,al]=(0,ue.useState)(""),{id:Xs,is_published:Os}=tt,{frequence_image:eo=[],environments:qa=[],choice_small_type:sl=[],other_image:Kl=[]}=Ur,{name:La,description:jo,authorization:ia,small_type:Yl=[]}=xo;(0,ue.useEffect)(()=>{bi!==null&&(fa(),yo.current&&(yo.current.scrollTop=0))},[bi]),(0,ue.useEffect)(()=>{Xs&&tc()},[Xs]),(0,ue.useEffect)(()=>{if(bi!==null)return Ru(),()=>{clearTimeout(Jn.current)}},[bi,wo,ur,Vo,Fo]);const Ru=()=>{clearTimeout(Jn.current),Jn.current=setTimeout(()=>{!(0,Xn.isEqual)(xa.current.activeId,bi)||!(0,Xn.isEqual)(xa.current.selectId,wo)||!(0,Xn.isEqual)(xa.current.serviceConfigList,ur)||!(0,Xn.isEqual)(xa.current.evaluateScript,Vo)||!(0,Xn.isEqual)(xa.current.evaluationScript,Fo)?st({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):st({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},500)},tc=()=>ed(void 0,null,function*(){var mr,vs,Aa;To(!0);const qs=yield(0,wt.ZP)(`/api/shixuns/${Xs}/edit_environment_info.json`,{method:"get"});qs.status===0&&(Do(Gl({},qs.data)),To(!1),(mr=qs==null?void 0:qs.data)!=null&&mr.id?(xa.current.activeId=(vs=qs==null?void 0:qs.data)==null?void 0:vs.id,Yr((Aa=qs==null?void 0:qs.data)==null?void 0:Aa.id)):Yr(null))}),fa=()=>ed(void 0,null,function*(){var mr,vs,Aa,qs,Zu,Us,ru,gd,Vd,of;pr(!0);const bu=yield(0,wt.ZP)(`/api/shixuns/${Xs}/edit_environment_info.json`,{method:"get",params:{mirror_repository_id:bi}});po(bu.data),xa.current.selectId=(mr=bu.data)==null?void 0:mr.choice_small_type,Nr((vs=bu.data)==null?void 0:vs.choice_small_type),xa.current.serviceConfigList=(Aa=bu.data)==null?void 0:Aa.shixun_service_configs,ma((qs=bu.data)==null?void 0:qs.shixun_service_configs),xa.current.evaluateScript=bu.data.evaluate_script,mo(bu.data.evaluate_script),xa.current.evaluationScript=bu.data.choice_standard_scripts,Pr(bu.data.choice_standard_scripts),Mo(bu.data.standard_scripts),Wa((Zu=bu==null?void 0:bu.data)==null?void 0:Zu.is_jupyter_lab_private_cloud),ts(((Us=bu==null?void 0:bu.data)==null?void 0:Us.jupyter_lab_private_cloud_id)||((Vd=(gd=(ru=bu==null?void 0:bu.data)==null?void 0:ru.jupyter_lab_private_clouds)==null?void 0:gd[0])==null?void 0:Vd.id)),al((of=bu==null?void 0:bu.data)==null?void 0:of.jupyter_lab_private_instance_id),pr(!1)}),Ua=()=>{var mr;const vs=()=>{pt.history.push(`/shixuns/${Xs}/challenges`),st({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(mr=tt==null?void 0:tt.sideBar)!=null&&mr.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{vs()}}):vs()},Po=(mr=!1)=>ed(void 0,null,function*(){if((0,Le.gy)(st,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883"))return;let vs={sub_type:wo,main_type:bi,shixun:{mirror_script_id:Fo,is_jupyter_lab_private_cloud:!1},shixun_info:{evaluate_script:Vo},shixun_service_configs:ur.map(qs=>({mirror_repository_id:qs.mirror_repository_id,cpu_limit:qs.cpu_limit,lower_cpu_limit:qs.lower_cpu_limit,memory_limit:qs.memory_limit,request_limit:qs.request_limit,resource_limit:qs.resource_limit}))};if(Ho){if(!fs){bt.ZP.warning("\u8BF7\u9009\u62E9\u5B9E\u4F8B");return}vs.shixun=Yu(Gl({},vs.shixun),{is_jupyter_lab_private_cloud:!0,jupyter_lab_private_cloud_id:Yo,jupyter_lab_private_instance_id:fs})}(yield(0,wt.ZP)(`/api/shixuns/${Xs}`,{method:"put",body:vs})).status===0&&(bt.ZP.success("\u7F16\u8F91\u6210\u529F"),xa.current={activeId:bi,selectId:wo,serviceConfigList:ur,evaluateScript:Vo,evaluationScript:Fo},st({type:"practiceSetting/getCommonData",payload:{id:Xs}}),st({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}))}),Wr=Yl.filter(mr=>wo.includes(mr.id)),$o=()=>{Ua()},Ka=(mr,vs,Aa)=>{ma(qs=>qs.map((Zu,Us)=>Us===Aa?Yu(Gl({},Zu),{[vs]:mr}):Zu))},Qs=()=>{(0,Le.gy)(st,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")||st({type:"shixunsDetail/setActionTabs",payload:{key:"Settings-UseCustomScript",params:{id:Xs}}})},Sc=mr=>ed(void 0,null,function*(){const vs=yield st({type:"shixunsDetail/getScriptContent",payload:{id:Xs,script_id:mr}});vs&&mo(vs.content)}),Xl=mr=>{Ve.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ue.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",ue.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>ed(void 0,null,function*(){yield Sc(mr),Ve.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:ue.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")})})})},sc=(mr,vs)=>{const Aa=ur[0]?[ur[0]]:[];vs.forEach(qs=>{const Zu=ur.find(Us=>Us.mirror_repository_id===Number(qs.key));if(Zu)Aa.push(Zu);else{const Us=Yl.find(ru=>ru.id===Number(qs.key));if(Us.mirror_name){const ru={cpu_limit:1,lower_cpu_limit:.1,memory_limit:1,mirror_repository_id:Number(qs.key),name:Us.mirror_name,request_limit:10};Aa.push(ru)}}}),ma(Aa),Nr(mr)},Jl=mr=>{Ka(String(mr==null?void 0:mr.cpu),"cpu_limit",mr.index),Ka(String(mr==null?void 0:mr.memory),"memory_limit",mr.index),Xo(!1)},nd=mr=>{Ka(String(mr==null?void 0:mr.gpu_limit),"gpu_limit",mr.index),Ka(String(mr==null?void 0:mr.gpu_memory_limit),"gpu_memory_limit",mr.index),qo(!1)};return ue.createElement(Oo.Z,{loading:Za,active:!0},ue.createElement("div",{className:so.wrap},ue.createElement("div",{className:so.head},[{key:!1,name:"\u901A\u7528\u4E91"},{key:!0,name:"\u4E13\u6709\u4E91"}].map(mr=>ue.createElement("div",{key:mr.name,className:Ho===mr.key?so.active:"",onClick:()=>Wa(mr.key)},mr.name))),ue.createElement("div",{className:so.practice,style:{display:Ho===!1?"flex":"none"}},ue.createElement(Jr.Z,{loading:$r,skin:"night",className:so.left,dispatch:st,value:bi,data:qa,otherData:Kl,tags:eo,onChange:mr=>Yr(mr),onSearchWord:()=>{}}),ue.createElement("div",{className:so.right},ue.createElement("header",null,ue.createElement("div",{className:so.title},"\u5B9E\u9A8C\u73AF\u5883:\xA0",bi===null?"\u2014 \u2014":La)),ue.createElement("div",{className:so.content,ref:yo},bi===null&&ue.createElement(Sn.Z,{image:Ti,description:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883"}),bi!==null&&ue.createElement("div",{className:so.des},ue.createElement("div",{className:so.mainBody},ue.createElement(mt.Z,{value:jo})),ue.createElement("div",{className:so.title},"\u9644\u5E26\u73AF\u5883"),ue.createElement("div",{className:so.selectBox},ue.createElement(Sr.default,{onChange:(mr,vs)=>sc(mr,vs),getPopupContainer:mr=>mr.parentNode,mode:"multiple",bordered:!1,value:wo,optionFilterProp:"children",placeholder:"\u8BF7\u9009\u62E9\u9644\u5E26\u73AF\u5883",style:{width:400},maxTagCount:6},Yl.map((mr,vs)=>ue.createElement(Jd,{key:mr.id,value:mr.id},mr.type_name))),ue.createElement("div",{className:so.smallType},Wr.map(mr=>mr.description?ue.createElement("span",{key:mr.id},mr.description):null))),!((Ji=ot==null?void 0:ot.detail)!=null&&Ji.is_jupyter_lab)&&ue.createElement(ue.Fragment,null,ue.createElement("div",{className:so.title},"\u8BC4\u6D4B\u811A\u672C"),ue.createElement("div",{className:so.evaluating},ue.createElement("div",{className:so.evaluatingLabel},Os&&ue.createElement("div",{onClick:()=>{(0,Le.gy)(st,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")},className:so.mask}),ue.createElement(Sr.default,{style:{width:400},bordered:!1,getPopupContainer:mr=>mr.parentNode,value:Fo,placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C",onChange:mr=>{Xl(mr),Pr(mr)}},(gr||[]).map((mr,vs)=>ue.createElement(Jd,{value:parseInt(mr.id),name:mr.scptname,key:vs},mr.scptname))),ue.createElement("span",{className:so.evaluatingS1,onClick:Qs},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u811A\u672C"),ue.createElement(Xt.Z,{overlayClassName:so.popover,placement:"bottomLeft",content:ue.createElement("p",{className:"font12"},"\u4F7F\u7528\u81EA\u5B9A\u4E49\u6A21\u677F\uFF0C\u5E73\u53F0\u65E0\u6CD5\u81EA\u52A8\u66F4\u65B0\u811A\u672C\uFF0C\u8BF7\u5728\u5173\u5361\u521B\u5EFA\u5B8C\u540E\u624B\u52A8\u66F4\u65B0\u811A\u672C\u4E2D\u7684\u5FC5\u586B\u53C2",ue.createElement("br",null),"\u6570\u548C\u4EE5\u4E0B2\u4E2A\u6570\u7EC4\u5143\u7D20\uFF1A",ue.createElement("br",null),"challengeProgramNames",ue.createElement("br",null),"sourceClassNames",ue.createElement("br",null),ue.createElement("br",null),"\u793A\u4F8B\uFF1A\u67092\u4E2A\u5173\u5361\u7684\u5B9E\u8BAD",ue.createElement("br",null),ue.createElement("br",null),"\u5404\u5173\u5361\u7684\u5F85\u7F16\u8BD1\u6587\u4EF6\u4E3A\uFF1A",ue.createElement("br",null),"src/step1/HelloWorld.java",ue.createElement("br",null),"src/step2/Other.java",ue.createElement("br",null),ue.createElement("br",null),"\u5404\u5173\u5361\u7684\u7F16\u8BD1\u540E\u751F\u6210\u7684\u6267\u884C\u6587\u4EF6\u4E3A\uFF1A",ue.createElement("br",null),"step1.HelloWorld",ue.createElement("br",null),"step2.Other",ue.createElement("br",null),ue.createElement("br",null),"\u5219\u6570\u7EC4\u5143\u7D20\u66F4\u65B0\u5982\u4E0B\uFF1A",ue.createElement("br",null),'ff challengeProgramNames=("src/step1/',ue.createElement("br",null),'HelloWorld.java" "src/step2/Other.java")',ue.createElement("br",null),'sourceClassNames=("step1.HelloWorld',ue.createElement("br",null),'" "step2.Other")',ue.createElement("br",null),ue.createElement("br",null),"\u5176\u5B83\u53C2\u6570\u53EF\u6309\u5B9E\u9645\u9700\u6C42\u5B9A\u5236"),trigger:"click"},ue.createElement("span",{style:{marginTop:"2px"},className:"ml10 current font14"},ue.createElement(ao.Z,null)))),ue.createElement(ui.ZP,{width:"90%",height:450,style:{border:"1px solid #ccc",background:"#f5f5f5",marginTop:"20px"},language:"shell",theme:"vs-light",value:Vo,onChange:mr=>{if(da.current){da.current=!1;return}mo(mr),(0,Le.gy)(st,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")&&setTimeout(()=>{da.current=!0,mo(xa.current.evaluateScript)},200)}}))),((dr=ot.detail)==null?void 0:dr.identity)<3&&!!ur.length&&ue.createElement(ue.Fragment,null,ue.createElement("div",{className:so.title},"\u8D44\u6E90\u914D\u7F6E"),ue.createElement("div",{className:so.serviceSettingWrap},ur==null?void 0:ur.map((mr,vs)=>{var Aa,qs,Zu;return ue.createElement("div",{key:vs,className:"mb30"},ue.createElement("div",{className:"mb20"},ue.createElement("span",{className:"font16"},mr.name)),ue.createElement("div",{style:{color:"#333",marginBottom:4}},"CPU\u548C\u5185\u5B58"),ue.createElement(dt.Z,{align:"middle"},ue.createElement(dt.Z,{align:"middle",wrap:!1},ue.createElement("div",{className:so.serverConfig,style:Os?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{},onClick:()=>{Os||(Ha({index:vs,cpu:mr==null?void 0:mr.cpu_limit,memory:mr==null?void 0:mr.memory_limit}),Xo(!0))}},ue.createElement("div",null,ue.createElement("span",null,mr==null?void 0:mr.cpu_limit,"\u6838")," ",ue.createElement("span",null,mr==null?void 0:mr.memory_limit,"GB")),ue.createElement("i",{className:"iconfont icon-bianji21",style:Os?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{}}))),ue.createElement(dt.Z,{align:"middle",wrap:!1},ue.createElement("div",{className:so.viewRecommendConfig,onClick:()=>Cr(!0)},"\u67E5\u770B\u63A8\u8350\u914D\u7F6E"))),(((Zu=(Aa=wn==null?void 0:wn.setting)==null?void 0:Aa.big_model_users)==null?void 0:Zu.includes((qs=wi==null?void 0:wi.userInfo)==null?void 0:qs.login))||(0,Zr.fn)())&&ue.createElement(ue.Fragment,null,ue.createElement("div",{style:{color:"#333",marginBottom:4,marginTop:15}},"GPU\u548C\u663E\u5B58"),ue.createElement(dt.Z,{align:"middle"},ue.createElement(dt.Z,{align:"middle",wrap:!1},ue.createElement("div",{className:so.serverConfig,style:Os?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{},onClick:()=>{Os||(hs({index:vs,gpu_limit:(mr==null?void 0:mr.gpu_limit)||0,gpu_memory_limit:(mr==null?void 0:mr.gpu_memory_limit)||0}),qo(!0))}},!!(mr!=null&&mr.gpu_limit)&&ue.createElement(ue.Fragment,null,ue.createElement("div",null,ue.createElement("span",null,"\u663E\u5361",mr==null?void 0:mr.gpu_limit,"\u4E2A")," ",ue.createElement("span",null,"\u663E\u5B58",mr==null?void 0:mr.gpu_memory_limit,"GB")),ue.createElement("i",{className:"iconfont icon-bianji21",style:Os?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{}})),!(mr!=null&&mr.gpu_limit)&&ue.createElement(ue.Fragment,null,ue.createElement("div",null,"\u672A\u914D\u7F6EGPU"),ue.createElement("i",{className:"iconfont icon-bianji21",style:Os?{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"}:{}})))))),ue.createElement("div",{className:so.serviceBox},ue.createElement("div",{className:so.serviceSetLeft},"\u6587\u4EF6\u5927\u5C0F\u9650\u5236"),ue.createElement(ke.default,{value:mr.resource_limit,style:{width:400,height:50},disabled:Os,maxLength:5,onChange:Us=>{const{value:ru}=Us.target,gd=/^\d*(\.\d*)?$/;ru.match(gd)&&Ka(Us.target.value,"resource_limit",vs)},addonAfter:"M"}),ue.createElement("label",{className:so.serviceSetTip},"File size limit\u53C2\u6570\uFF0C\u8868\u793A\u5355\u4E2A\u6587\u4EF6\u4E0A\u4F20\u7684\u5927\u5C0F\u9650\u5236")))}))))),ue.createElement("div",{className:so.btns},ue.createElement(Me.ZP,{size:"middle",style:{marginRight:20},onClick:$o},"\u53D6\u6D88"),ue.createElement(Me.ZP,{size:"middle",type:"primary",disabled:bi===null,onClick:()=>Po()},"\u4FDD\u5B58"))),ue.createElement(Lo.Z,null),ue.createElement(wr,{onFinish:mr=>mo(mr)}),ue.createElement(Nn.Z,null),ue.createElement(ys.Z,{visible:Co,onOk:mr=>Jl(mr),onCancel:()=>Xo(!1),info:Jo}),ue.createElement(bs.Z,{visible:Qo,onOk:mr=>nd(mr),onCancel:()=>qo(!1),info:ls}),ue.createElement(_o.Z,{identifier:Xs,visible:ms,onCancel:()=>Cr(!1),info:null,isJupyter:!0})),ue.createElement("div",{className:so.otherPractice,style:{display:Ho===!0?"flex":"none"}},ue.createElement("div",{className:so.box},ue.createElement(ca.qp,{title:"",titleWidth:0,dataSource:(xo==null?void 0:xo.jupyter_lab_private_clouds)||[],value:Yo,style:{marginLeft:-20},onChange:mr=>ts(mr)}),ue.createElement(xu.default,{rowSelection:{columnWidth:120,type:"radio",onChange:mr=>{al(mr[0])},selectedRowKeys:[fs]},style:{marginTop:13},rowKey:"id",columns:[{title:"\u540D\u79F0",dataIndex:"name"},{title:"\u63CF\u8FF0",dataIndex:"des"}],dataSource:((Ln=(Ei=xo==null?void 0:xo.jupyter_lab_private_clouds)==null?void 0:Ei.find(mr=>mr.id===Yo))==null?void 0:Ln.image)||[],pagination:!1})),ue.createElement("div",{className:so.btns},ue.createElement(Me.ZP,{size:"middle",style:{marginRight:20},onClick:$o},"\u53D6\u6D88"),ue.createElement(Dr.Z,{size:"middle",type:"primary",disabled:bi===null,onClick:Po},"\u4FDD\u5B58")))))};var Th=(0,pt.connect)(({practiceSetting:tt,globalSetting:st,shixunsDetail:ot,user:wn})=>({practiceSetting:tt,globalSetting:st,shixunsDetail:ot,user:wn}))(Qh);const Id=({shixunsDetail:tt})=>{var st,ot,wn,wi;const[Ji,dr]=(0,ue.useState)(!0);return(0,ue.useEffect)(()=>{var Ei;typeof((Ei=tt==null?void 0:tt.detail)==null?void 0:Ei.is_jupyter_lab)=="boolean"&&Ji&&dr(!1)},[(st=tt==null?void 0:tt.detail)==null?void 0:st.is_jupyter_lab,Ji]),console.log((ot=tt==null?void 0:tt.detail)==null?void 0:ot.is_jupyter_lab,Ji),ue.createElement(Oo.Z,{loading:Ji,active:!0},((wn=tt==null?void 0:tt.detail)==null?void 0:wn.is_jupyter_lab)===!1&&ue.createElement(Su,null),((wi=tt==null?void 0:tt.detail)==null?void 0:wi.is_jupyter_lab)===!0&&ue.createElement(Th,null))};var Ol=(0,pt.connect)(({shixunsDetail:tt})=>({shixunsDetail:tt}))(Id),rc=Pe(56102),Il={flex_box_center:"flex_box_center___l5eTc",flex_space_between:"flex_space_between___k0OR7",flex_box_vertical_center:"flex_box_vertical_center___OKlIC",flex_box_center_end:"flex_box_center_end___hN9A6",flex_box_column:"flex_box_column___ijTq_",dataset:"dataset___dSWAV",header:"header___BzxI4",title:"title___cPEyN",dataPath:"dataPath___wJ6mR",pathTitle:"pathTitle___TOS2Z",btns:"btns___jGE8o",content:"content___s4ep8",customTable:"customTable___OG3_9",row:"row___ONd7r",empty:"empty___CgtTE",path:"path___Cg5rX",text:"text___SCLRV",actionsBtns:"actionsBtns___L5tdC",customModal:"customModal___qVeG3",shareModal:"shareModal___HedYo",fileName:"fileName___x56US",renameModal:"renameModal___SmCAd",errorDes:"errorDes___VLR_5",uploadFileModal:"uploadFileModal___pYYDB",selectBtn:"selectBtn___m_hrR",leftButton:"leftButton___F0fvG",rightButton:"rightButton___oCK81",centerText:"centerText___jpgrt"},Dc={wrap:"wrap___EmsVa",colorBlue:"colorBlue___XqtfP",repeatedName:"repeatedName___yMQsm"},Pd=Pe(81939),Zl=Object.defineProperty,qh=Object.defineProperties,xf=Object.getOwnPropertyDescriptors,wd=Object.getOwnPropertySymbols,hh=Object.prototype.hasOwnProperty,Vu=Object.prototype.propertyIsEnumerable,_u=(tt,st,ot)=>st in tt?Zl(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,ul=(tt,st)=>{for(var ot in st||(st={}))hh.call(st,ot)&&_u(tt,ot,st[ot]);if(wd)for(var ot of wd(st))Vu.call(st,ot)&&_u(tt,ot,st[ot]);return tt},ou=(tt,st)=>qh(tt,xf(st)),Oh=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const{Dragger:Qd}=ut.default;var $h=({dispatch:tt,id:st,onClose:ot,onOK:wn,visible:wi,wrapClassName:Ji,local:dr,containerId:Ei,rootIdentifier:Ln})=>{var bi;const[Yr,wo]=(0,ue.useState)({}),[Nr,$r]=(0,ue.useState)([]),[To,xo]=(0,ue.useState)([]),[po,ur]=(0,ue.useState)(0),[ma,Vo]=(0,ue.useState)(!1),[mo,Fo]=(0,ue.useState)(!1),[Pr]=Ae.default.useForm(),[gr,Mo]=(0,ue.useState)([]),Ur=(0,ue.useRef)([]);(0,ue.useEffect)(()=>{wi&&(Pr.resetFields(),Mo([]),xo([]),$r([]),ur(0),Fo(!1),Vo(!1))},[wi]);const Do=pr=>{var Ho,Wa,Yo;if(pr.file.status==="done"||pr.file.status==="uploading"){if(Mo(pr.fileList),!pr.file.response)return;if((Ho=pr.file.response)!=null&&Ho.id){bt.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01");return}Mo(gr.filter(ts=>ts.uid!==pr.file.uid)),(Wa=pr.file.response)!=null&&Wa.message&&bt.ZP.info((Yo=pr.file.response)==null?void 0:Yo.message)}},yo=pr=>Oh(void 0,null,function*(){var Ho;if(!po){const Yo=gr.filter(ts=>ts.uid!==pr.uid);Mo(Yo),Ur.current=[...Yo],$r(Nr.filter(ts=>ts!==pr.name)),bt.ZP.info("\u5220\u9664\u6210\u529F"),Yo.length||(Pr.setFieldsValue({file:void 0}),Pr.validateFields());return}if(!pr.response){bt.ZP.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01");return}(yield(0,wt.ZP)(`/api/shixuns/${st}/destroy_data_sets.json`,{method:"Delete",body:{id:[(Ho=pr==null?void 0:pr.response)==null?void 0:Ho.id]}})).status===0&&(Mo(gr.filter(Yo=>Yo.uid!==pr.uid)),bt.ZP.info("\u5220\u9664\u6210\u529F"))}),da=pr=>{if(gr!=null&&gr.some(Wa=>Wa.name===pr.name))return bt.ZP.info(`${pr.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(pr.size/1024/1024>500)return bt.ZP.info("\u6587\u4EF6\u8D85\u8FC7500M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;const Ho={name:pr.name,uid:pr.uid,file:pr,percent:0};return gr.push(Ho),Ur.current=[...gr],Mo([...gr]),!1},xa={height:300,multiple:!0,disabled:po>0,withCredentials:!0,fileList:gr,action:`${ei.Z.API_SERVER}/api/attachments.json`,onChange:Do,onRemove:yo,beforeUpload:da},Jn=(pr,Ho,Wa,Yo,ts)=>{const fs=new FormData;Object.keys(pr).forEach(Xs=>{fs.append(Xs,pr[Xs])});const al=new window.XMLHttpRequest;return al.withCredentials=!0,al.addEventListener("load",function(Xs){var Os;Wa(JSON.parse((Os=Xs==null?void 0:Xs.target)==null?void 0:Os.response))},!1),al.addEventListener("error",function(Xs){ts&&ts(Xs)},!1),al.upload.onprogress=Xs=>{Yo&&Yo(Xs)},al.open("POST",Ho),al.send(fs),al},Co=(pr,Ho)=>{if(pr.lengthComputable){const Wa=Math.floor(pr.loaded/pr.total*100),Yo=ou(ul({},Ho),{percent:Wa,status:Wa===100?"done":"uploading"});console.log(Ur.current,333),Ur.current=Ur.current.map(ts=>ts.uid===Ho.uid?Yo:ts),Mo(Ur.current)}},Xo=(pr,Ho)=>{const Wa=ou(ul({},Ho),{status:"error"});bt.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),Ur.current=Ur.current.map(Yo=>Yo.uid===Ho.uid?Wa:Yo),Ur.current.every(Yo=>Yo.status==="done"||Yo.status==="error")&&(Fo(!1),ur(2)),Mo(Ur.current)},Qo=(pr,Ho)=>{let Wa=ou(ul({},Ho),{status:"done"});if(pr.status===0||(Wa=ou(ul({},Ho),{status:"error"}),bt.ZP.error("\u4E0A\u4F20\u5931\u8D25!")),Ur.current=Ur.current.map(Yo=>Yo.uid===Ho.uid?Wa:Yo),Ur.current.every(Yo=>Yo.status==="done")){bt.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),Ha(!0);return}Ur.current.every(Yo=>Yo.status==="done"||Yo.status==="error")&&(Fo(!1),ur(2)),Mo(Ur.current)},qo=()=>{let pr=!0;return window.navigator.onLine==!0?pr=!0:pr=!1,pr},ms=pr=>Oh(void 0,null,function*(){if(Fo(!0),po===3){ur(2);return}if(po===2||po===1){Cr();return}const{commitMessage:Ho="",fileOss:Wa=[]}=pr||{},ts=(dr?gr:Wa).map(al=>al.name);if(ts.filter(al=>al.indexOf("\u3001")!=-1||al.indexOf(" ")!=-1).length>0){bt.ZP.info("\u6570\u636E\u96C6\u540D\u79F0\u7981\u6B62\u6709\u7A7A\u683C\u4E0E\u3001"),Fo(!1);return}const fs=yield(0,wt.ZP)(`/api/shixuns/${st}/check_data_sets`,{method:"post",body:{files_name:ts}});if(fs.status===-3){$r(fs==null?void 0:fs.exist_files),Fo(!1);return}if(JSON.stringify(fs)==="{}"){Fo(!1),bt.ZP.error("\u7F51\u7EDC\u5DF2\u65AD\u5F00,\u8BF7\u7A0D\u540E\u91CD\u8BD5!");return}fs.status===0&&(gr.forEach(al=>{const Xs=Jn({file:al.file,description:Ho},`${ei.Z.API_SERVER}/api/shixuns/${st}/upload_data_sets.json`,Os=>Qo(Os,al),Os=>Co(Os,al),Os=>Xo(Os,al));To.push(Xs)}),ur(1))}),Cr=()=>{const{commitMessage:pr=""}=ul({},Pr.getFieldsValue())||{},Ho=Ur.current.filter(Yo=>Yo.status==="error"),Wa=Ur.current.map(Yo=>ou(ul({},Yo),{status:Yo.status==="error"?"uploading":Yo.status}));Mo(Wa),Ho.forEach(Yo=>{const ts=Jn({file:Yo.file,description:pr},`${ei.Z.API_SERVER}/api/shixuns/${st}/upload_data_sets.json`,fs=>Qo(fs,Yo),fs=>Co(fs,Yo),fs=>Xo(fs,Yo));To.push(ts)})},Jo=pr=>{var Ho,Wa;if(console.log(pr,"changedValues"),"fileOss"in pr){if(pr!=null&&pr.fileOss.every(Yo=>Yo.status==="done")&&((Ho=pr==null?void 0:pr.fileOss)!=null&&Ho.length)){bt.ZP.success("\u4E0A\u4F20\u5B8C\u6210!"),Ha(!0);return}if(pr!=null&&pr.fileOss.every(Yo=>Yo.status==="done"||Yo.status==="error")&&((Wa=pr==null?void 0:pr.fileOss)!=null&&Wa.length)){ur(3),Fo(!1);return}$r(Nr.filter(Yo=>{var ts;return(ts=pr==null?void 0:pr.fileOss)==null?void 0:ts.some(fs=>fs.name===Yo)}))}wo(ul({},Pr.getFieldsValue()))},Ha=pr=>{pr||(Vo(!0),To.forEach(Ho=>{Ho.abort()})),wn(),ot()},ls=()=>{const{fileOss:pr=[]}=ul({},Pr.getFieldsValue())||{},Ho=gr==null?void 0:gr.every(Yo=>Yo.status==="done"),Wa=pr==null?void 0:pr.every(Yo=>Yo.status==="done");if(!Ho||!Wa){Ve.default.confirm({title:"\u5173\u95ED\u5F39\u6846\u63D0\u793A",content:"\u6709\u6587\u4EF6\u672A\u4E0A\u4F20,\u662F\u5426\u786E\u5B9A\u79BB\u5F00\uFF1F",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Ha()}});return}Ha()},hs=()=>ue.createElement(ue.Fragment,null,ue.createElement("div",null,ue.createElement("i",{className:`iconfont icon-shangchuan font50 ${Dc.colorBlue}`})),ue.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",ue.createElement("span",{className:`${Dc.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20"))),Za=pr=>{console.log(pr,444)};return ue.createElement(Ve.default,{open:wi,onOk:()=>{(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0A\u4F20\u6587\u4EF6"]),Pr.submit()},centered:!0,okText:po===0?"\u786E\u5B9A":po===1?"\u4E0A\u4F20\u4E2D":"\u91CD\u65B0\u4E0A\u4F20",okButtonProps:{loading:mo},onCancel:ls,width:"1000px",title:"\u4E0A\u4F20\u6587\u4EF6"},ue.createElement("div",{className:Dc.wrap},ue.createElement(Ae.default,{className:"mt10",form:Pr,scrollToFirstError:!0,layout:"vertical",onFinish:ms,onValuesChange:Jo},dr?ue.createElement(Ae.default.Item,{label:ue.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",ue.createElement("span",{className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC7500M)")),name:"file",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},ue.createElement(Qd,ul({},xa)," ",hs())):ue.createElement(Ae.default.Item,{label:ue.createElement("div",null,"\u9009\u62E9\u6587\u4EF6 ",ue.createElement("span",{className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC7100GB)")),name:"fileOss",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},ue.createElement(Pd.ZP,{identifier:Ln,cancelUpload:ma,container_type:"Shixun",container_id:Ei,uploading:po<3?po:0,disabled:po>0,height:300,maxSize:100*1024*1024*1024,description:Yr.commitMessage||"",text:hs(),onComplete:Za,realFileName:!0})),!!Nr.length&&ue.createElement("span",{className:Dc.repeatedName},Nr.join("\u3001"),"\u5DF2\u5B58\u5728,\u8BF7\u5220\u9664\u540E\u518D\u4E0A\u4F20"),ue.createElement(Ae.default.Item,{name:"commitMessage",label:"\u5907\u6CE8:",rules:[{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ue.createElement(ke.default,{bordered:!1,disabled:po>0,maxLength:100,suffix:`${((bi=Yr.commitMessage)==null?void 0:bi.length)||0}/100`,placeholder:"\u8BF7\u586B\u5199\u5907\u6CE8\u4FE1\u606F"})))))},qd=Pe(79219),Rd=Pe(31708),qr=Pe(19683),Ih=Object.defineProperty,Bt=Object.defineProperties,li=Object.getOwnPropertyDescriptors,ef=Object.getOwnPropertySymbols,Rh=Object.prototype.hasOwnProperty,cd=Object.prototype.propertyIsEnumerable,hc=(tt,st,ot)=>st in tt?Ih(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Au=(tt,st)=>{for(var ot in st||(st={}))Rh.call(st,ot)&&hc(tt,ot,st[ot]);if(ef)for(var ot of ef(st))cd.call(st,ot)&&hc(tt,ot,st[ot]);return tt},Gc=(tt,st)=>Bt(tt,li(st)),tf=(tt,st)=>{var ot={};for(var wn in tt)Rh.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&ef)for(var wn of ef(tt))st.indexOf(wn)<0&&cd.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},el=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const{Fragment:Uo}=ue,{TabPane:au}=nn.default,Xu=tt=>{var st=tt,{globalSetting:ot,dispatch:wn,practiceSetting:wi,shixunsDetail:Ji,user:dr}=st,Ei=tf(st,["globalSetting","dispatch","practiceSetting","shixunsDetail","user"]),Ln,bi,Yr,wo,Nr,$r;const{id:To}=wi,[xo,po]=(0,ue.useState)([]),[ur,ma]=(0,ue.useState)({}),[Vo,mo]=(0,ue.useState)([]),[Fo,Pr]=(0,ue.useState)(!1),[gr,Mo]=(0,ue.useState)(!0),[Ur,Do]=(0,ue.useState)(!1),[yo,da]=(0,ue.useState)(!1),[xa,Jn]=(0,ue.useState)(!1),[Co,Xo]=(0,ue.useState)(!1),[Qo,qo]=(0,ue.useState)("all"),[ms,Cr]=(0,ue.useState)([]),[Jo,Ha]=(0,ue.useState)([]),[ls,hs]=(0,ue.useState)(!1),[Za,pr]=(0,ue.useState)({}),[Ho,Wa]=(0,ue.useState)(!1),[Yo,ts]=(0,ue.useState)([]),[fs,al]=(0,ue.useState)({page:1,limit:10,total:0}),[Xs,Os]=(0,ue.useState)({page:1,limit:10,search:"",order:"mine"});(0,ue.useEffect)(()=>{To&&qa()},[To]);const eo=fa=>{const Ua=Gc(Au({},fs),{page:fa});Ha([]),al(Ua),qa(Ua)},qa=fa=>el(void 0,null,function*(){const Po=fa||{page:1,limit:10,total:0};Pr(!0);const Wr=yield wn({type:"shixunsDetail/getSetData",payload:Gc(Au({},Po),{id:To})});Wr!=null&&Wr.data_sets&&(Pr(!1),po([...Wr.data_sets]),al(Gc(Au({},Po),{total:Wr==null?void 0:Wr.data_sets_count})),Mo(!1),ma(Au({},Wr)))}),sl=()=>ue.createElement("div",{className:Il.empty},ue.createElement("img",{src:qd.x7,width:"258"}),ue.createElement("span",{className:"c-grey-c"},"\u6682\u65E0\u6570\u636E\u96C6\u6587\u4EF6~")),La={selectedRowKeys:Jo,columnWidth:70,onChange:fa=>{console.log("selectedRowKeys changed: ",fa),Ha(fa)}},jo=fa=>{(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]);const Ua=fa?[fa]:Jo;Ve.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u6587\u4EF6\u5417\uFF1F",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>el(void 0,null,function*(){if((yield(0,wt.ZP)(`/api/shixuns/${To}/destroy_data_sets.json`,{method:"Delete",body:{id:Ua}})).status===0){const Wr=Ua.length===xo.length&&fs.page>1?fs.page-1:fs.page;bt.ZP.success("\u5220\u9664\u6210\u529F"),qa(Gc(Au({},fs),{page:Wr})),Ha([])}})})},ia=()=>el(void 0,null,function*(){const{title:fa}=Za;let Ua=null;if(console.log(fa,"title"),fa===""){Ua="\u6587\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A",pr(Gc(Au({},Za),{errorDes:Ua}));return}if(fa.includes(" ")){Ua="\u6587\u4EF6\u540D\u4E0D\u80FD\u6709\u7A7A\u683C",pr(Gc(Au({},Za),{errorDes:Ua}));return}const Po=xo.find(Ka=>Ka.id===(Za==null?void 0:Za.id)).title;if(fa===Po.substring(0,Po.lastIndexOf("."))||fa===Po){Ua="\u6587\u4EF6\u540D\u4E0D\u80FD\u91CD\u540D",pr(Gc(Au({},Za),{errorDes:Ua}));return}const Wr=Po.includes(".")?Po.substring(Po.lastIndexOf("."),Po.length):"";(yield(0,wt.ZP)(`/api/shixuns/${To}/rename_data_sets.json`,{method:"post",body:{id:Za==null?void 0:Za.id,new_file_name:fa+Wr}})).status===0&&(bt.ZP.success("\u91CD\u547D\u540D\u6210\u529F"),qa(fs),Do(!1),pr({}))}),Yl=()=>{const{download_url:fa}=Za;Ru(fa),bt.ZP.success("\u590D\u5236\u6210\u529F"),da(!1),pr({})},Ru=fa=>{const Ua=fa,Po=document.createElement("input");Po.value=Ua,document.body.appendChild(Po),Po.select(),document.execCommand("Copy"),Po.style.display="none"},tc=[{title:"\u6587\u4EF6",dataIndex:"title",key:"title",align:"left",ellipsis:!0,render:fa=>ue.createElement(Ii.Z,{title:fa},ue.createElement("span",null,fa))},{title:"\u6570\u636E\u96C6\u6765\u6E90",dataIndex:"data_set_title",key:"data_set_title",align:"left",ellipsis:!0,render:(fa,Ua)=>Ua!=null&&Ua.data_set_id?ue.createElement(Ii.Z,{title:fa},ue.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{(0,kt.xg)(`/dataset/${Ua==null?void 0:Ua.data_set_id}/detail?tabId=public`)}},fa)):"--"},{title:"\u5907\u6CE8",dataIndex:"description",key:"description",align:"left",ellipsis:!0,render:fa=>ue.createElement(Ii.Z,{title:fa},ue.createElement("span",null,fa||"--"))},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_on",key:"created_on",align:"left",width:180,render:(fa,Ua)=>xr()(Ua.created_on).format("YYYY-MM-DD HH:mm")},{title:"\u6587\u4EF6\u8DEF\u5F84",dataIndex:"file_path",key:"file_path",align:"left",render:(fa,Ua)=>ue.createElement("div",{className:Il.path},ue.createElement(Ii.Z,{title:fa},ue.createElement("span",{className:Il.text},fa)),ue.createElement(rc.CopyToClipboard,{text:fa,onCopy:()=>bt.ZP.success("\u590D\u5236\u6210\u529F")},ue.createElement(Ii.Z,{title:"\u590D\u5236"},ue.createElement("i",{className:"iconfont icon-fuzhi6 ml5"}))))},{title:"\u6700\u540E\u4FEE\u6539\u4EBA",dataIndex:"author",key:"author",align:"left",width:120},{title:"\u6587\u4EF6\u5927\u5C0F",dataIndex:"filesize",key:"filesize",align:"left",width:100},{title:"\u64CD\u4F5C",dataIndex:"operation",key:"operation",align:"left",width:200,render:(fa,Ua)=>ue.createElement("div",{className:Il.actionsBtns},ue.createElement(Ii.Z,{title:"\u91CD\u547D\u540D"},ue.createElement("span",{className:"iconfont icon-zhongmingming",onClick:()=>{var Po;pr((0,Xn.clone)(Gc(Au({},Ua),{title:Ua!=null&&Ua.title.includes(".")?(Po=Ua==null?void 0:Ua.title)==null?void 0:Po.substring(0,Ua.title.lastIndexOf(".")):Ua==null?void 0:Ua.title}))),Do(!0),(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u91CD\u547D\u540D"])}})),ue.createElement(Ii.Z,{title:"\u5206\u4EAB"},ue.createElement("span",{className:"iconfont icon-fenxiang",onClick:()=>{(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5206\u4EAB"]),pr((0,Xn.clone)(Ua)),da(!0)}})),ue.createElement(Ii.Z,{title:"\u4E0B\u8F7D"},ue.createElement("span",{className:"iconfont icon-xiazai3",onClick:()=>{(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u4E0B\u8F7D"]),(0,kt.Nd)(Ua.title,Ua==null?void 0:Ua.download_url)}})),ue.createElement(Ii.Z,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6\u4E2D"},ue.createElement("span",{className:"iconfont icon-tongbushuju",onClick:()=>{(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u540C\u6B65"]),Xo(!0),ts([Ua]),Cr([Ua.id])}})),ue.createElement(Ii.Z,{title:"\u5220\u9664"},ue.createElement("span",{className:"iconfont icon-shanchu8",onClick:()=>{(0,kt.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6570\u636E\u96C6","\u5220\u9664"]),jo(Ua.id)}})))}];return ue.createElement("div",{className:Il.dataset},ue.createElement("div",{className:Il.header},ue.createElement("div",{className:Il.title},"\u6570\u636E\u96C6(",fs.total,")"),ue.createElement("div",{className:Il.dataPath},ue.createElement("span",{className:Il.pathTitle},"\u6570\u636E\u96C6\u8DEF\u5F84:"),ue.createElement("input",{value:ur==null?void 0:ur.folder_name,disabled:!0}),ue.createElement(rc.CopyToClipboard,{text:ur==null?void 0:ur.folder_name,onCopy:()=>bt.ZP.success("\u590D\u5236\u6210\u529F")},ue.createElement(Ii.Z,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u6570\u636E\u96C6\u8DEF\u5F84"},ue.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"})))),ue.createElement("div",{className:Il.btns},ue.createElement(Me.ZP,{type:"primary",ghost:!0,onClick:()=>jo(),disabled:!Jo.length,style:{width:"60px"}},"\u5220\u9664"),ue.createElement(Me.ZP,{type:"primary",className:"ml10",style:{width:"60px"},ghost:!0,onClick:()=>{Xo(!0),Cr(Jo),ts(xo.filter(fa=>Jo.includes(fa.id)))},disabled:!Jo.length},"\u540C\u6B65"),ue.createElement(So.Z,{className:"ml10",disabled:((Ln=dr==null?void 0:dr.userInfo)==null?void 0:Ln.user_status)===2,dropdownRender:()=>ue.createElement(Eo.default,null,ue.createElement(Eo.default.Item,{key:1,onClick:()=>{hs(!0)}},"\u4E0A\u4F20\u6570\u636E\u96C6"),ue.createElement(Eo.default.Item,{key:2,onClick:()=>{Jn(!0),qo("all")}},"\u9009\u62E9\u6570\u636E\u96C6"))},ue.createElement("span",{className:Il.selectBtn},ue.createElement("span",null,"\u589E\u52A0\u6570\u636E\u96C6"))))),ue.createElement("div",{className:Il.content},ue.createElement(Oo.Z,{loading:gr,active:!0,paragraph:{rows:5}},fs.total?ue.createElement(xu.default,{rowSelection:La,className:Il.customTable,dataSource:xo,bordered:!1,rowKey:fa=>fa.id,rowClassName:Il.row,columns:tc,loading:Fo,pagination:{pageSize:fs.limit,total:fs.total,current:fs.page,onChange:eo,showQuickJumper:!0,hideOnSinglePage:!0,position:["bottomCenter"]}}):sl())),ue.createElement($h,{rootIdentifier:(bi=Ji==null?void 0:Ji.detail)==null?void 0:bi.root_identifier,wrapClassName:Il.uploadFileModal,id:To,containerId:(Yr=Ji==null?void 0:Ji.detail)==null?void 0:Yr.id,local:(wo=ot==null?void 0:ot.setting)==null?void 0:wo.is_local,dispatch:wn,visible:ls,onClose:()=>hs(!1),onOK:qa}),ue.createElement(Ve.default,{title:"\u91CD\u547D\u540D",open:Ur,onOk:ia,centered:!0,wrapClassName:Il.renameModal,onCancel:()=>{Do(!1),pr({})},width:"1000px"},ue.createElement("div",null,ue.createElement("div",{className:Il.fileName},ue.createElement("sup",null,"*"),"\u6587\u4EF6\u540D\xA0:"),ue.createElement(ke.default,{value:Za==null?void 0:Za.title,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u5B57",bordered:!1,onChange:fa=>{pr(Gc(Au({},Za),{title:fa.target.value,errorDes:null}))},maxLength:60,suffix:`${((Nr=Za==null?void 0:Za.title)==null?void 0:Nr.length)||0}/60`}),(Za==null?void 0:Za.errorDes)&&ue.createElement("div",{className:Il.errorDes},Za==null?void 0:Za.errorDes))),ue.createElement(Ve.default,{title:"\u5206\u4EAB\u4E0B\u8F7D\u94FE\u63A5",open:yo,onOk:Yl,centered:!0,wrapClassName:Il.shareModal,onCancel:()=>{da(!1),pr({})},width:"1000px",okText:"\u590D\u5236\u94FE\u63A5"},ue.createElement("div",null,ue.createElement("div",{className:Il.fileName},"\u53D1\u9001\u94FE\u63A5\uFF0C\u522B\u4EBA\u53EF\u4EE5\u901A\u8FC7\u94FE\u63A5\u4E0B\u8F7D\u6587\u4EF6",ue.createElement("span",null,"(\u6709\u6548\u671F\u4E3A3\u5929)")),ue.createElement(ke.default,{bordered:!1,addonBefore:"\u94FE\u63A5",value:Za==null?void 0:Za.download_url}))),ue.createElement(Rd.Z,{setVisible:Jn,visible:xa,recordId:ms,type:Qo,updateData:qa,identifier:($r=Ji.detail)==null?void 0:$r.identifier}),ue.createElement(Ve.default,{title:"\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6",open:Co,width:400,centered:!0,keyboard:!1,onCancel:()=>Xo(!1),maskClosable:!1,footer:ue.createElement("div",{style:{display:"flex",justifyContent:"center"}},ue.createElement("div",{className:Il.leftButton,onClick:()=>{Wa(!0)}},"\u751F\u6210\u65B0\u7684\u6570\u636E\u96C6"),ue.createElement("div",{className:Il.rightButton,onClick:()=>{Xo(!1),Jn(!0),qo("my")}},"\u53D1\u9001\u5230\u5DF2\u6709\u6570\u636E\u96C6\u4E2D"))},ue.createElement("div",{className:Il.centerText},"\u5C06\u8BE5\u6570\u636E\u96C6\u6587\u4EF6\u540C\u6B65\u5230\u4E2A\u4EBA\u6570\u636E\u96C6\u4E2D\uFF0C\u8BF7\u9009\u62E9\u540C\u6B65\u65B9\u5F0F\uFF1A")),ue.createElement(qr.Z,{visible:Ho,attachmentInfo:Yo,onClose:()=>Wa(!1),onSuccess:fa=>{Wa(!1),pt.history.push(`/dataset/${fa}/detail?tabId=mine`)}}))};var tl=(0,pt.connect)(({globalSetting:tt,shixunsDetail:st,practiceSetting:ot,user:wn})=>({globalSetting:tt,shixunsDetail:st,user:wn,practiceSetting:ot}))(Xu),Oa=Pe(31797),ml={wrap:"wrap___VIvSS",content:"content___pqoZT",mainPathWrap:"mainPathWrap___v3uSU",colorBlue:"colorBlue___AjQlz"},We=Object.defineProperty,He=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,Gt=(tt,st,ot)=>st in tt?We(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Pn=(tt,st)=>{for(var ot in st||(st={}))qe.call(st,ot)&&Gt(tt,ot,st[ot]);if(He)for(var ot of He(st))It.call(st,ot)&&Gt(tt,ot,st[ot]);return tt},An=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const Un=tt=>tt!=null&&tt.length?tt.filter((st,ot)=>ot!==0).map(st=>st.val).join("").substr(1):"",ti=({shixunsDetail:tt,globalSetting:st,loading:ot,dispatch:wn,fileType:wi,path:Ji,onFinish:dr=()=>{}})=>{const Ei=(0,pt.useParams)(),[Ln,bi]=(0,ue.useState)(""),[Yr,wo]=(0,ue.useState)([]),[Nr,$r]=(0,ue.useState)([]),xo=[yl.OriginalPicturePath,yl.ExpectPicturePath,yl.PicturePath].includes(wi);(0,ue.useEffect)(()=>{tt.actionTabs.key==="EditPracticeSetting-SelectFilePath"&&(bi(Ji||""),po())},[tt.actionTabs.key]);const po=(gr="")=>An(void 0,null,function*(){var Mo;const Ur=yield wn({type:"shixunsDetail/getRepository",payload:{id:Ei.id,path:gr}});if(gr===""&&!((Mo=Ur==null?void 0:Ur.trees)!=null&&Mo.length)&&bt.ZP.warning("\u8BF7\u5148\u53BB\u4EE3\u7801\u4ED3\u5E93\u63D0\u4EA4\u6587\u4EF6"),Ur!=null&&Ur.trees){const Do=Ur.trees.map(yo=>Pn(Pn({},yo),{name:yo.name,val:yo.name}));$r(Do||[])}}),ur=gr=>{const Mo=Un(Yr),Ur=`${Mo&&`${Mo}/`}${gr}`;wi===yl.Path?!(Ln!=null&&Ln.includes(`${Ur}\uFF1B`))&&bi(`${Ln}${Ur}\uFF1B`):wi===yl.ExecPath&&bi(Ur)},ma=gr=>{if(gr.type==="tree"){Yr.length?Yr.push({val:`/${gr.val}`,path:gr.val}):Yr.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${gr.val}`,path:gr.val}),wo(Yr);const Mo=Un(Yr);xo&&bi(Mo),po(Mo)}},Vo=(gr,Mo)=>{const Ur=Yr.filter((yo,da)=>da<=Mo);wo(Ur);const Do=Un(Ur);xo&&bi(Do),po(Do)},mo=()=>An(void 0,null,function*(){dr(Ln),Fo()}),Fo=()=>{bi(""),wo([]),$r([]),wn({type:"shixunsDetail/setActionTabs",payload:{}})},Pr=Un(Yr);return ue.createElement(Ve.default,{centered:!0,title:"\u6587\u4EF6\u8DEF\u5F84",closable:!1,keyboard:!1,open:tt.actionTabs.key==="EditPracticeSetting-SelectFilePath",onOk:mo,onCancel:Fo},ue.createElement("div",{className:ml.wrap},ue.createElement("div",{className:ml.content},ue.createElement("div",{className:ml.mainPathWrap},!!(Yr!=null&&Yr.length)&&Yr.map((gr,Mo)=>ue.createElement("a",{key:Mo,onClick:()=>Vo(gr,Mo)},gr.val))),!!(Nr!=null&&Nr.length)&&Nr.map((gr,Mo)=>gr.type==="tree"?ue.createElement("a",{key:Mo,onClick:()=>ma(gr)},ue.createElement("i",{className:`iconfont icon-wenjianjia ${ml.colorBlue}`}),Pr&&`${Pr}/`,gr.name):ue.createElement("a",{key:Mo,onClick:()=>ur(`${gr.name}`)},ue.createElement("i",{className:`iconfont icon-zuoye ${ml.colorBlue}`}),Pr&&`${Pr}/`,gr.name))),ue.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),ue.createElement(ke.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09",value:Ln,onChange:gr=>bi(gr.target.value)})))};var xi=(0,pt.connect)(({shixunsDetail:tt,loading:st,globalSetting:ot})=>({shixunsDetail:tt,globalSetting:ot,loading:st.models.index}))(ti),$i={wrap:"wrap___AnxZp",fixBtn:"fixBtn___sQhsA"},vi=Pe(9165),Gi=Object.defineProperty,di=Object.getOwnPropertySymbols,hr=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable,ji=(tt,st,ot)=>st in tt?Gi(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,cr=(tt,st)=>{for(var ot in st||(st={}))hr.call(st,ot)&&ji(tt,ot,st[ot]);if(di)for(var ot of di(st))Gn.call(st,ot)&&ji(tt,ot,st[ot]);return tt},lo=(tt,st)=>{var ot={};for(var wn in tt)hr.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&di)for(var wn of di(tt))st.indexOf(wn)<0&&Gn.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},Hr=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const fo=tt=>{var st=tt,{shixunsDetail:ot,globalSetting:wn,user:wi,dispatch:Ji}=st,dr=lo(st,["shixunsDetail","globalSetting","user","dispatch"]),Ei,Ln;const bi=(0,pt.useLocation)(),Yr=(0,ue.useRef)((Ln=(Ei=bi.pathname)==null?void 0:Ei.split("/"))==null?void 0:Ln[2]),[wo]=Ae.default.useForm(),[Nr,$r]=(0,ue.useState)(""),[To,xo]=(0,ue.useState)(!1),[po,ur]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{Yr.current&&ma()},[Yr.current]);const ma=()=>Hr(void 0,null,function*(){xo(!0);const mo=yield(0,wt.ZP)(`/api/shixuns/${Yr.current}/get_standard_answer.json`,{method:"get",params:{from:"edit"}});mo.status===0&&($r((mo==null?void 0:mo.standard_answer)||""),wo.setFieldsValue({hide_answer:mo==null?void 0:mo.hide_answer,disable_copy:mo==null?void 0:mo.disable_copy}),xo(!1))}),Vo=mo=>Hr(void 0,null,function*(){ur(!0),(yield(0,wt.ZP)(`/api/shixuns/${Yr.current}/set_standard_answer.json`,{method:"post",body:cr({},mo)})).status===0&&bt.ZP.success("\u4FDD\u5B58\u6210\u529F"),ur(!1)});return ue.createElement("section",{className:$i.wrap},ue.createElement(Oo.Z,{loading:To},ue.createElement(Ae.default,{form:wo,scrollToFirstError:!0,layout:"vertical",onFinish:Vo},ue.createElement(Ae.default.Item,{name:"hide_answer",valuePropName:"checked"},ue.createElement(Ot.default,null,"\u9690\u85CF\u53C2\u8003\u7B54\u6848\u6A21\u5757")),ue.createElement(Ae.default.Item,{name:"disable_copy",valuePropName:"checked"},ue.createElement(Ot.default,null,"\u7981\u6B62\u590D\u5236\u53C2\u8003\u7B54\u6848")),ue.createElement(Ae.default.Item,{name:"standard_answer",label:"\u53C2\u8003\u7B54\u6848:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u53C2\u8003\u7B54\u6848"}]},ue.createElement(xe.Z,{defaultValue:Nr})),ue.createElement(Ae.default.Item,null,ue.createElement(vi.t,{okText:"\u4FDD\u5B58",loading:po,hasCancelBtn:!1,className:$i.fixBtn,okButtonProps:{htmlType:"submit"}})))))};var vo=(0,pt.connect)(({shixunsDetail:tt,globalSetting:st,user:ot})=>({shixunsDetail:tt,globalSetting:st,user:ot}))(fo),uo=Pe(34604),tr=Pe(61485),Ca=Pe(81833),ra=Pe(36045),Ro=Pe(59301),cs=Object.defineProperty,$a=Object.defineProperties,Ja=Object.getOwnPropertyDescriptors,js=Object.getOwnPropertySymbols,es=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,ss=(tt,st,ot)=>st in tt?cs(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,ks=(tt,st)=>{for(var ot in st||(st={}))es.call(st,ot)&&ss(tt,ot,st[ot]);if(js)for(var ot of js(st))Ga.call(st,ot)&&ss(tt,ot,st[ot]);return tt},_s=(tt,st)=>$a(tt,Ja(st)),ds=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const{Countdown:zs}=Oa.default;var vl=(tt=>(tt[tt.LoadingFail=1]="LoadingFail",tt[tt.Loading=2]="Loading",tt[tt.Finish=3]="Finish",tt))(vl||{}),yl=(tt=>(tt.Path="path",tt.ExecPath="exec_path",tt.OriginalPicturePath="original_picture_path",tt.ExpectPicturePath="expect_picture_path",tt.PicturePath="picture_path",tt))(yl||{});const Nu=({globalSetting:tt,loading:st,dispatch:ot,practiceSetting:wn,shixunsDetail:wi})=>{var Ji,dr;const[Ei,Ln]=(0,ue.useState)(),[bi,Yr]=(0,ue.useState)(),wo=(0,ue.useRef)(),[Nr,$r]=(0,ue.useState)(),[To,xo]=(0,ue.useState)(),[po,ur]=(0,ue.useState)(!0),[ma,Vo]=(0,ue.useState)(700),[mo,Fo]=(0,ue.useState)(""),[Pr,gr]=(0,ue.useState)("1"),Mo=(0,pt.useParams)(),[Ur,Do]=(0,ue.useState)(!0);(0,ue.useEffect)(()=>{var Cr;(Cr=wi==null?void 0:wi.detail)!=null&&Cr.id&&da()},[(Ji=wi==null?void 0:wi.detail)==null?void 0:Ji.id]);const yo=()=>ds(void 0,null,function*(){var Cr,Jo;const Ha=yield ot({type:"shixunsDetail/updateRepositoryFile",payload:{id:Mo.id,path:(Jo=(Cr=wi==null?void 0:wi.fileContent)==null?void 0:Cr.params)==null?void 0:Jo.path,content:Ei,secret_repository:po?null:!0}});Ha!=null&&Ha.content&&(bt.ZP.info("\u4FDD\u5B58\u6210\u529F"),ot({type:"practiceSetting/setSideBarTabs",payload:_s(ks({},wn.sideBar),{confirmLeave:!1})}))}),da=()=>ds(void 0,null,function*(){var Cr,Jo,Ha,ls,hs,Za;Do(!0);let pr=yield(0,Wt.Ui)({identifier:Mo.id});if((Cr=wi==null?void 0:wi.detail)!=null&&Cr.is_wuying){if((pr==null?void 0:pr.status)!==0)return;let Ho;do if(Ho=yield(0,ra.wj)({requestId:pr==null?void 0:pr.requestId}),Ho!=null&&Ho.data){console.log("\u64CD\u4F5C\u6210\u529F");break}else if((Ho==null?void 0:Ho.data)===null)console.log("\u8BC6\u522B\u4E2D\uFF0C\u7EE7\u7EED\u8F6E\u8BE2..."),yield new Promise(Wa=>setTimeout(Wa,1e4));else{console.log("\u72B6\u6001\u5F02\u5E38");break}while((Ho==null?void 0:Ho.data)===null);if((Ho==null?void 0:Ho.status)===0){const Wa=((Jo=Ho==null?void 0:Ho.data)==null?void 0:Jo.data)||{};pr={status:0,url:Wa==null?void 0:Wa.url}}}if(Do(!1),(ls=(Ha=pr==null?void 0:pr.data)==null?void 0:Ha.data_list)!=null&&ls.length){uo.Z.publish("pod-restrict-data",{identifier:(hs=pr==null?void 0:pr.data)==null?void 0:hs.identifier,data_list:(Za=pr==null?void 0:pr.data)==null?void 0:Za.data_list});return}pr!=null&&pr.url&&Fo(pr==null?void 0:pr.url)}),xa=()=>ds(void 0,null,function*(){const Cr=yield(0,Wt.K_)({identifier:Mo.id});(Cr==null?void 0:Cr.status)===0&&(Cr!=null&&Cr.remainingSeconds?($r(Date.now()+Cr.remainingSeconds*1e3),xo(Cr.remainingSeconds-300<=0?Date.now()+1e3:Date.now()+(Cr.remainingSeconds-300)*1e3)):Jn())}),Jn=()=>{Ve.default.confirm({centered:!0,title:"\u91CD\u7F6E\u73AF\u5883",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",zIndex:9999,content:Ro.createElement("div",{className:"tc"},"\u662F\u5426\u786E\u5B9A\u91CD\u7F6E\u73AF\u5883\uFF1F"),onOk:()=>ds(void 0,null,function*(){Co()})})},Co=()=>ds(void 0,null,function*(){Yr(2);const Cr=yield(0,Wt.zH)({identifier:Mo.id});(Cr==null?void 0:Cr.status)===0&&(Yr(3),Fo(Cr.url),wo.current=Cr.port,bt.ZP.success("\u91CD\u7F6E\u73AF\u5883\u6210\u529F!"))}),Xo=()=>{Ve.default.destroyAll(),Ve.default.confirm({centered:!0,title:"\u670D\u52A1\u4E2D\u65AD\u63D0\u9192",content:Ro.createElement("div",{className:"tc font14"},"jupyter\u5C06\u4E8E",Ro.createElement("span",null,Ro.createElement(zs,{value:Nr,format:"HH:mm:ss",onFinish:Qo})),"\u65F6\u95F4\u540E\u670D\u52A1\u4E2D\u65AD\uFF0C\u662F\u5426\u9700\u8981\u5EF6\u957F\u4F7F\u7528\u65F6\u95F4\uFF1F"),okText:"\u7ACB\u5373\u5EF6\u957F",cancelText:"\u4E0D\u9700\u8981",onOk:()=>ds(void 0,null,function*(){(yield(0,Wt.q9)({identifier:Mo.id})).status===0&&(yield xa(),bt.ZP.success("\u5EF6\u957F\u6210\u529F!"))})})},Qo=()=>{Ve.default.destroyAll(),Ve.default.confirm({centered:!0,title:"\u5012\u8BA1\u65F6\u622A\u6B62",content:Ro.createElement("p",{className:"tc font14"},"\u670D\u52A1\u5DF2\u4E2D\u65AD\uFF0C\u662F\u5426\u786E\u8BA4\u91CD\u7F6E\u5B9E\u9A8C\u73AF\u5883\uFF1F"),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>{Co()}})},qo=Cr=>{ot({type:"shixunsDetail/setActionTabs",payload:{key:"EditPracticeSetting-SelectFilePath"}})},ms=Cr=>ds(void 0,null,function*(){yield(0,Wt.QA)({id:Mo.id,startup_file:Cr}),da(),ot({type:"practiceSetting/getCommonData",payload:ks({},Mo)}),ot({type:"shixunsDetail/getShixunsDetail",payload:Mo})});return Ro.createElement(nn.default,{activeKey:Pr,onChange:Cr=>gr(Cr),tabBarStyle:{paddingLeft:20},items:[{key:"1",label:"\u670D\u52A1\u8BBE\u7F6E",children:Ro.createElement("div",null,Ro.createElement(rt.Z,{spinning:Ur},Ro.createElement(dt.Z,{className:"mt20 ml20 font14",align:"middle"},Ro.createElement(yt.Z,null,Ro.createElement("span",{className:"c-red"},"* "),"\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6\uFF1A"),Ro.createElement(yt.Z,{className:"mr10"},Ro.createElement(Ii.Z,{title:"\u5F00\u542FJupyterLab\u8BC4\u6D4B\u529F\u80FD\uFF0C\u5219\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6\u540C\u65F6\u4E5F\u4F5C\u4E3A\u8BC4\u6D4B\u7684\u6267\u884C\u6587\u4EF6\u3002",placement:"bottom"},Ro.createElement(tr.Z,{style:{cursor:"pointer"}}))),Ro.createElement(yt.Z,{flex:"300px",onClick:()=>qo("exec_path")},Ro.createElement(ke.default,{value:mo})),Ro.createElement(yt.Z,{flex:"1"},Ro.createElement(Me.ZP,{type:"primary",className:"ml10",onClick:()=>qo("exec_path")},"\u8BBE\u7F6E"))),Ro.createElement("iframe",{onLoad:Cr=>{},src:mo,scrolling:"no",style:{height:"calc(100vh - 120px)"},className:"mt10",id:"frame",name:"framename",width:"100%",frameBorder:"0"}),Ro.createElement(xi,{fileType:"path",path:(dr=wi==null?void 0:wi.detail)==null?void 0:dr.startup_file,onFinish:Cr=>ms(Cr)})))},{key:"2",label:"\u8BC4\u6D4B\u8BBE\u7F6E",children:Pr==="2"?Ro.createElement(Ca.Z,{active:"testCase",type:"jupyterLab"}):null},{key:"3",label:"\u53C2\u8003\u7B54\u6848",children:Ro.createElement(vo,null)}]})};var Rl=(0,pt.connect)(({loading:tt,globalSetting:st,practiceSetting:ot,shixunsDetail:wn})=>({globalSetting:st,loading:tt,practiceSetting:ot,shixunsDetail:wn}))(Nu),Eu={catechism:"catechism___lS6Ml",tab:"tab___vw6iE"},Ma={collect:"collect___pxqYO",head:"head___WuH5D"},Vs=Pe(59301),Pa=Object.defineProperty,Bs=Object.getOwnPropertySymbols,As=Object.prototype.hasOwnProperty,Gs=Object.prototype.propertyIsEnumerable,Tu=(tt,st,ot)=>st in tt?Pa(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,sa=(tt,st)=>{for(var ot in st||(st={}))As.call(st,ot)&&Tu(tt,ot,st[ot]);if(Bs)for(var ot of Bs(st))Gs.call(st,ot)&&Tu(tt,ot,st[ot]);return tt},Ys=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())}),su=({onOk:tt,onCancel:st,visible:ot,modalParams:wn,forceIn:wi})=>{const[Ji]=Ae.default.useForm(),[dr,Ei]=(0,ue.useState)(!1),Ln=wi?!1:typeof ot=="number";(0,ue.useEffect)(()=>{ot?Ji.setFieldsValue(sa({},wn)):Ji.resetFields()},[ot]);const bi=Yr=>Ys(void 0,null,function*(){Ei(!0),yield tt(Yr),Ei(!1)});return Vs.createElement(Ve.default,{centered:!0,destroyOnClose:!0,onCancel:()=>st(),onOk:()=>Ji.submit(),open:!!ot,confirmLoading:dr,title:Ln?"\u7F16\u8F91\u95EE\u7B54":"\u65B0\u589E\u95EE\u7B54",width:900,okText:Ln?"\u786E\u5B9A":"\u52A0\u5165\u95EE\u9898\u96C6"},Vs.createElement(Ae.default,{form:Ji,size:"large",onFinish:bi},Vs.createElement(Ae.default.Item,{name:"title",label:"\u95EE\u9898",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"}]},Vs.createElement(ke.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"})),Vs.createElement(Ae.default.Item,{className:"mb0",name:"content",label:"\u56DE\u7B54",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54"}]},Vs.createElement(xe.Z,{className:"mb0",placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54",watch:!0,defaultValue:wn==null?void 0:wn.content}))))},pa=Pe(59301),Sl=Object.defineProperty,Da=Object.getOwnPropertySymbols,Gu=Object.prototype.hasOwnProperty,fc=Object.prototype.propertyIsEnumerable,$l=(tt,st,ot)=>st in tt?Sl(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Fu=(tt,st)=>{for(var ot in st||(st={}))Gu.call(st,ot)&&$l(tt,ot,st[ot]);if(Da)for(var ot of Da(st))fc.call(st,ot)&&$l(tt,ot,st[ot]);return tt},Lc=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())}),Ns=({})=>{const tt=(0,pt.useParams)(),[st,ot]=(0,ue.useState)(!1),[wn,wi]=(0,ue.useState)(0),[Ji,dr]=(0,ue.useState)([]),[Ei,Ln]=(0,ue.useState)(!1),[bi,Yr]=(0,ue.useState)({title:"",content:""}),[wo,Nr]=(0,ue.useState)(!1),[$r,To]=(0,ue.useState)(!1),[xo,po]=(0,ue.useState)([]),[ur,ma]=(0,ue.useState)({keywords:"",page:1,limit:10});(0,ue.useEffect)(()=>{Vo(ur)},[]);const Vo=Do=>Lc(void 0,null,function*(){var yo,da;ot(!0);const xa=yield(0,wt.ZP)(`/api/shixuns/${tt.id}/qna_sets.json`,{method:"get",params:Do});xa.status===0&&(dr(((yo=xa==null?void 0:xa.data)==null?void 0:yo.qna_sets)||[]),wi((da=xa==null?void 0:xa.data)==null?void 0:da.total_count)),ot(!1)}),mo=Do=>{ur.keywords=Do,ur.page=1,ma(Fu({},ur)),Vo(ur)},Fo=(Do,yo)=>{ur.page=Do,ur.limit=yo,ma(Fu({},ur)),Vo(ur)},Pr=Do=>Lc(void 0,null,function*(){if(typeof Ei=="number"){const yo=yield(0,wt.ZP)(`/api/shixuns/${tt.id}/qna_sets/${Ei}.json`,{method:"put",body:Do});(yo==null?void 0:yo.status)===0&&(bt.ZP.success("\u7F16\u8F91\u6210\u529F"),Vo(ur),Ln(!1))}else{const yo=yield(0,wt.ZP)(`/api/shixuns/${tt.id}/qna_sets.json`,{method:"post",body:Do});(yo==null?void 0:yo.status)===0&&(bt.ZP.success("\u6DFB\u52A0\u6210\u529F"),ur.page=1,ur.keywords="",ma(Fu({},ur)),Vo(ur),Ln(!1))}}),gr=Do=>Lc(void 0,null,function*(){Ve.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5220\u9664\u5417\uFF1F",onOk:()=>Lc(void 0,null,function*(){const yo=yield(0,wt.ZP)(`/api/shixuns/${tt.id}/qna_sets/${Do.id}.json`,{method:"delete"});if((yo==null?void 0:yo.status)===0){const da=Ji.length===1&&ur.page>1?ur.page-1:ur.page;ur.page=da,ma(Fu({},ur)),Vo(ur),bt.ZP.success("\u5220\u9664\u6210\u529F")}})})}),Mo=[{title:"\u95EE\u9898",dataIndex:"title",ellipsis:!0,render:Do=>pa.createElement(Ii.Z,{placement:"topLeft",title:Do},pa.createElement("span",{className:"c-black"},Do||"--"))},{title:"\u56DE\u7B54",dataIndex:"content",ellipsis:!0,render:Do=>pa.createElement(Ii.Z,{placement:"topLeft",title:Do},pa.createElement("span",{className:"c-black"},Do||"--"))},{title:"\u64CD\u4F5C",width:104,align:"right",dataIndex:"id",ellipsis:!0,render:(Do,yo)=>pa.createElement("span",null,pa.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{Ln(Do),Yr({title:yo==null?void 0:yo.title,content:yo==null?void 0:yo.content})}},"\u7F16\u8F91"),pa.createElement("span",{className:"current c-red",onClick:()=>gr(yo)},"\u5220\u9664"))}],Ur={onRemove:()=>{po([])},beforeUpload:Do=>{if((Do==null?void 0:Do.size)>1024*1024*50)return bt.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!(Do.type==="application/vnd.ms-excel"||Do.type==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"))return bt.ZP.info("\u8BF7\u4E0A\u4F20 .xls \u6216 .xlsx \u6587\u4EF6\uFF01"),!1;let da=[];return da.push(Do),po([...da]),!1},fileList:xo,accept:".xls,.xlsx"};return pa.createElement("div",{className:Ma.collect},pa.createElement("div",{className:Ma.head},pa.createElement(ca.t7,{style:{width:480},placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",value:ur.keywords,onChange:mo}),pa.createElement(ca.op,{className:"ml40 mr20",shape:"default",onClick:()=>{Ln(!0),Yr({title:"",content:""})}},"\u65B0\u589E\u95EE\u7B54"),pa.createElement(ca.op,{type:"primary",shape:"default",onClick:()=>Nr(!0)},"\u5BFC\u5165\u95EE\u7B54")),pa.createElement(xu.default,{columns:Mo,style:{marginTop:33},dataSource:Ji,loading:st,rowKey:"id",pagination:{current:ur.page,hideOnSinglePage:!wn,showQuickJumper:!0,showSizeChanger:!0,pageSize:ur.limit,pageSizeOptions:["10","20","50","100","200"],total:wn,size:"default",showTotal:kt.rU,onChange:Fo}}),pa.createElement(Ve.default,{title:"\u5BFC\u5165\u95EE\u7B54",open:wo,centered:!0,confirmLoading:$r,onCancel:()=>{Nr(!1),po([])},onOk:()=>Lc(void 0,null,function*(){var Do;const yo=new FormData;if(xo.length>0)yo.append("file",xo[0]);else{bt.ZP.warning("\u8BF7\u9009\u62E9\u6587\u4EF6");return}To(!0);let da=yield(0,wt.ZP)(`/api/shixuns/${tt==null?void 0:tt.id}/qna_sets/import.json`,{method:"post",body:yo},!0);(da==null?void 0:da.status)===0&&((Do=da==null?void 0:da.fail)!=null&&Do.length?Ve.default.confirm({icon:null,width:485,title:"\u5BFC\u5165\u5931\u8D25",centered:!0,content:pa.createElement("span",null,"\u68C0\u6D4B\u5230\u672C\u6B21\u5BFC\u5165\u5B58\u5728\u4E0D\u7B26\u5408\u8981\u6C42\u7684\u6570\u636E\uFF0C\u70B9\u51FB\u4E0B\u8F7D",pa.createElement("a",{href:`${ei.Z.API_SERVER}/api/shixuns/${tt==null?void 0:tt.id}/qna_sets/down_error_import_file.json`},"\u5BFC\u5165\u5931\u8D25\u7684\u6570\u636E"),"\u67E5\u770B")}):(bt.ZP.success("\u5BFC\u5165\u6210\u529F"),ur.page=1,ur.keywords="",ma(Fu({},ur)),Vo(ur),Nr(!1),po([]))),To(!1)})},pa.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E00\uFF1A",pa.createElement("span",{className:"ml15 mr5"},"\u4E0B\u8F7D"),pa.createElement("a",{href:`${ei.Z.API_SERVER}/api/shixuns/${tt==null?void 0:tt.id}/qna_sets/down_template.json`},"\u5BFC\u5165\u95EE\u7B54\u96C6\u6A21\u677F"),"\uFF0C\u5E76\u586B\u5199\u5BF9\u5E94\u5185\u5BB9"),pa.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E8C\uFF1A",pa.createElement("span",{className:"ml15"},"\u4E0A\u4F20\u586B\u5199\u597D\u7684\u300A\u5BFC\u5165\u95EE\u7B54\u6A21\u677F\u300B")),pa.createElement("div",{style:{marginLeft:74}},pa.createElement(ut.default,Fu({},Ur),pa.createElement(ca.op,{shape:"default",icon:pa.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6")))),pa.createElement(su,{visible:Ei,onCancel:()=>Ln(!1),onOk:Pr,modalParams:bi}))},Ou={record:"record___Ueu3j",head:"head___UOVq4"},wa=Pe(59301),gc=Object.defineProperty,eu=Object.defineProperties,Ds=Object.getOwnPropertyDescriptors,Ts=Object.getOwnPropertySymbols,El=Object.prototype.hasOwnProperty,cl=Object.prototype.propertyIsEnumerable,tu=(tt,st,ot)=>st in tt?gc(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Ia=(tt,st)=>{for(var ot in st||(st={}))El.call(st,ot)&&tu(tt,ot,st[ot]);if(Ts)for(var ot of Ts(st))cl.call(st,ot)&&tu(tt,ot,st[ot]);return tt},Ul=(tt,st)=>eu(tt,Ds(st)),fu=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())}),gu=({})=>{const tt=(0,pt.useParams)(),[st]=Ae.default.useForm(),[ot,wn]=(0,ue.useState)(!1),[wi,Ji]=(0,ue.useState)(0),[dr,Ei]=(0,ue.useState)([]),[Ln,bi]=(0,ue.useState)(!1),[Yr,wo]=(0,ue.useState)({title:"",content:""});let[Nr,$r]=(0,ue.useState)({page:1,limit:10});(0,ue.useEffect)(()=>{po(Nr)},[]);const To=[{value:"ai",label:"AI\u6A21\u578B"},{value:"qna_set",label:"\u5B9E\u8BAD\u95EE\u7B54\u96C6"}],xo=[{value:"added_to_set",label:"\u5DF2\u52A0\u5165\u95EE\u7B54\u96C6"},{value:"skipped",label:"\u65E0\u9700\u5904\u7406"},{value:"pending",label:"\u5F85\u5904\u7406"},{value:"ignored",label:"\u5DF2\u5FFD\u7565"}],po=Pr=>fu(void 0,null,function*(){var gr,Mo;wn(!0);const Ur=yield(0,wt.ZP)(`/api/shixuns/${tt.id}/qna_records.json`,{method:"get",params:Pr});Ur.status===0&&(Ei(((gr=Ur==null?void 0:Ur.data)==null?void 0:gr.qna_records)||[]),Ji((Mo=Ur==null?void 0:Ur.data)==null?void 0:Mo.total_count)),wn(!1)}),ur=Pr=>{Nr.page=1,Nr=Ia(Ia({},Nr),Pr),$r(Ia({},Nr)),po(Nr)},ma=(Pr,gr)=>{Nr.page=Pr,Nr.limit=gr,$r(Ia({},Nr)),po(Nr)},Vo=Pr=>fu(void 0,null,function*(){const gr=yield(0,wt.ZP)(`/api/shixuns/${tt.id}/qna_sets.json`,{method:"post",body:Ul(Ia({},Pr),{qna_record_id:Ln})});(gr==null?void 0:gr.status)===0&&(bt.ZP.success("\u6DFB\u52A0\u6210\u529F"),po(Nr),bi(!1))}),mo=Pr=>fu(void 0,null,function*(){Ve.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5FFD\u7565\u5417\uFF1F",onOk:()=>fu(void 0,null,function*(){const gr=yield(0,wt.ZP)(`/api/shixuns/${tt.id}/qna_records/${Pr.id}/update_status.json`,{method:"post",body:{status:"ignored"}});(gr==null?void 0:gr.status)===0&&po(Nr)})})}),Fo=[{title:"\u95EE\u9898",dataIndex:"question",ellipsis:!0,render:Pr=>wa.createElement(Ii.Z,{placement:"topLeft",title:Pr},wa.createElement("span",{className:"c-black"},Pr||"--"))},{title:"\u56DE\u7B54",dataIndex:"answer",ellipsis:!0,render:Pr=>wa.createElement(Ii.Z,{placement:"topLeft",title:Pr},wa.createElement("span",{className:"c-black"},Pr||"--"))},{title:"\u56DE\u7B54\u6765\u6E90",dataIndex:"answer_source",width:110,render:Pr=>{var gr;return wa.createElement("span",{className:"c-black"},(gr=To==null?void 0:To.find(Mo=>Mo.value===Pr))==null?void 0:gr.label)}},{title:"\u72B6\u6001",dataIndex:"status",width:120,render:Pr=>{var gr;return wa.createElement("span",{className:"c-black"},(gr=xo==null?void 0:xo.find(Mo=>Mo.value===Pr))==null?void 0:gr.label)}},{title:"\u64CD\u4F5C",width:140,align:"right",dataIndex:"id",ellipsis:!0,render:(Pr,gr)=>wa.createElement("span",null,["pending","ignored"].includes(gr.status)&&wa.createElement(wa.Fragment,null,wa.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{bi(Pr),wo({title:gr==null?void 0:gr.question,content:gr==null?void 0:gr.answer})}},"\u52A0\u5165\u95EE\u7B54\u96C6"),wa.createElement("span",{className:"current c-light-primary",onClick:()=>mo(gr)},"\u5FFD\u7565")),["skipped"].includes(gr.status)&&wa.createElement(Ii.Z,{placement:"topRight",title:"\u56DE\u7B54\u6765\u81EA\u95EE\u9898\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},wa.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")),["added_to_set"].includes(gr.status)&&wa.createElement(Ii.Z,{placement:"topRight",title:"\u5DF2\u7ECF\u52A0\u5165\u95EE\u7B54\u96C6\uFF0C\u65E0\u9700\u518D\u6B21\u52A0\u5165"},wa.createElement("span",{style:{cursor:"not-allowed",color:"#CCCCCC"}},"\u52A0\u5165\u95EE\u7B54\u96C6")))}];return wa.createElement("div",{className:Ou.record},wa.createElement("div",{className:Ou.head},wa.createElement(Ae.default,{layout:"inline",form:st,colon:!1,size:"large",onFinish:ur},wa.createElement(Ae.default.Item,{name:"keywords",label:"\u95EE\u9898"},wa.createElement(ke.default,{placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",style:{width:300}})),wa.createElement(Ae.default.Item,{name:"answer_source",label:"\u56DE\u7B54\u6765\u6E90"},wa.createElement(Sr.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u56DE\u7B54\u6765\u6E90",options:To,style:{width:200}})),wa.createElement(Ae.default.Item,{name:"status",label:"\u72B6\u6001"},wa.createElement(Sr.default,{allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001",options:xo,style:{width:200}})),wa.createElement(Ae.default.Item,{style:{marginRight:0}},wa.createElement(Me.ZP,{type:"primary",htmlType:"submit"},"\u641C\u7D22")))),wa.createElement(xu.default,{columns:Fo,style:{marginTop:33},dataSource:dr,loading:ot,rowKey:"id",pagination:{current:Nr.page,hideOnSinglePage:!wi,showQuickJumper:!0,showSizeChanger:!0,pageSize:Nr.limit,pageSizeOptions:["10","20","50","100","200"],total:wi,size:"default",showTotal:kt.rU,onChange:ma}}),wa.createElement(su,{visible:Ln,onCancel:()=>bi(!1),onOk:Vo,modalParams:Yr,forceIn:!0}))},Qu=Pe(59301);const Zs=({dispatch:tt,practiceSetting:st,shixunsDetail:ot})=>{const[wn,wi]=(0,ue.useState)("1");return Qu.createElement("div",{className:Eu.catechism},Qu.createElement(ca.tp,{dataSource:[{id:"1",name:"\u95EE\u7B54\u96C6"},{id:"2",name:"\u95EE\u7B54\u8BB0\u5F55"}],value:wn,onChange:Ji=>wi(Ji),className:Eu.tab}),wn==="1"&&Qu.createElement(Ns,null),wn==="2"&&Qu.createElement(gu,null))};var Iu=(0,pt.connect)(({practiceSetting:tt,shixunsDetail:st})=>({practiceSetting:tt,shixunsDetail:st}))(Zs),ha=Object.defineProperty,Ps=Object.getOwnPropertySymbols,Mc=Object.prototype.hasOwnProperty,Ju=Object.prototype.propertyIsEnumerable,nu=(tt,st,ot)=>st in tt?ha(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,pc=(tt,st)=>{for(var ot in st||(st={}))Mc.call(st,ot)&&nu(tt,ot,st[ot]);if(Ps)for(var ot of Ps(st))Ju.call(st,ot)&&nu(tt,ot,st[ot]);return tt},mc=(tt,st)=>{var ot={};for(var wn in tt)Mc.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&Ps)for(var wn of Ps(tt))st.indexOf(wn)<0&&Ju.call(tt,wn)&&(ot[wn]=tt[wn]);return ot},kc=tt=>{var st=tt,{tabsActive:ot}=st,wn=mc(st,["tabsActive"]);return ue.createElement(ue.Fragment,null,ot==="information"&&ue.createElement(Ce,null),ot==="warehouse"&&ue.createElement(Ee.default,null),ot==="level"&&ue.createElement(Ko,pc({},wn)),ot==="collaborate"&&ue.createElement(Ft,pc({},wn)),ot==="setting"&&ue.createElement(un.Z,null),ot==="environment"&&ue.createElement(Ol,pc({},wn)),ot==="dataset"&&ue.createElement(tl,null),ot==="service"&&ue.createElement(Rl,pc({},wn)),ot==="catechism"&&ue.createElement(Iu,pc({},wn)))},Sa={flex_box_center:"flex_box_center___FN240",flex_space_between:"flex_space_between___wjShI",flex_box_vertical_center:"flex_box_vertical_center___HbcwC",flex_box_center_end:"flex_box_center_end___gj_ks",flex_box_column:"flex_box_column___zxJPU",sidebar:"sidebar___OW5LG",items:"items___j856O",item:"item___Zn_qr",name:"name___ZfhoC",itemActive:"itemActive___sW_Ri",question:"question___yfIcY"},Ao=Object.defineProperty,Qa=Object.getOwnPropertySymbols,rl=Object.prototype.hasOwnProperty,oc=Object.prototype.propertyIsEnumerable,td=(tt,st,ot)=>st in tt?Ao(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,dd=(tt,st)=>{for(var ot in st||(st={}))rl.call(st,ot)&&td(tt,ot,st[ot]);if(Qa)for(var ot of Qa(st))oc.call(st,ot)&&td(tt,ot,st[ot]);return tt};const Zc=tt=>React.createElement("svg",dd({width:16,height:16,xmlns:"http://www.w3.org/2000/svg"},tt),React.createElement("title",null,"\u63D0\u793A\u4FE1\u606F"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M8 0a8 8 0 1 1-8 8 8.01 8.01 0 0 1 8-8Z",fill:"#FEB300"}),React.createElement("path",{d:"M8.111 12a.78.78 0 1 0 .006-1.56.78.78 0 0 0-.006 1.56ZM7.556 4a.21.21 0 0 0-.212.218l.244 5.133a.117.117 0 0 0 .116.11h.815a.118.118 0 0 0 .117-.11l.243-5.133A.208.208 0 0 0 8.666 4h-1.11Z",fill:"#FFF"})));var Hl="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNOCAwYTggOCAwIDEgMS04IDggOC4wMSA4LjAxIDAgMCAxIDgtOFoiIGZpbGw9IiNGRUIzMDAiLz48cGF0aCBkPSJNOC4xMTEgMTJhLjc4Ljc4IDAgMSAwIC4wMDYtMS41Ni43OC43OCAwIDAgMC0uMDA2IDEuNTZaTTcuNTU2IDRhLjIxLjIxIDAgMCAwLS4yMTIuMjE4bC4yNDQgNS4xMzNhLjExNy4xMTcgMCAwIDAgLjExNi4xMWguODE1YS4xMTguMTE4IDAgMCAwIC4xMTctLjExbC4yNDMtNS4xMzNBLjIwOC4yMDggMCAwIDAgOC42NjYgNGgtMS4xMVoiIGZpbGw9IiNGRkYiLz48L2c+PC9zdmc+",ka=Pe(59301),Ra=Object.defineProperty,vc=Object.defineProperties,ac=Object.getOwnPropertyDescriptors,hd=Object.getOwnPropertySymbols,Wh=Object.prototype.hasOwnProperty,qu=Object.prototype.propertyIsEnumerable,$u=(tt,st,ot)=>st in tt?Ra(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Wd=(tt,st)=>{for(var ot in st||(st={}))Wh.call(st,ot)&&$u(tt,ot,st[ot]);if(hd)for(var ot of hd(st))qu.call(st,ot)&&$u(tt,ot,st[ot]);return tt},$d=(tt,st)=>vc(tt,ac(st)),Pu=(tt,st)=>{var ot={};for(var wn in tt)Wh.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&hd)for(var wn of hd(tt))st.indexOf(wn)<0&&qu.call(tt,wn)&&(ot[wn]=tt[wn]);return ot};const Nc=[{name:"\u57FA\u672C\u4FE1\u606F",icon:ka.createElement("i",{className:"icon iconfont icon-jibenxinxi1"}),tabId:"information"},{name:"\u4EE3\u7801\u4ED3\u5E93",icon:ka.createElement("i",{className:"icon iconfont icon-daimacangku"}),tabId:"warehouse"},{name:"\u4EFB\u52A1\u5173\u5361",icon:ka.createElement("i",{className:"icon iconfont icon-renwuguanka"}),tabId:"level"},{name:"\u5B9E\u9A8C\u73AF\u5883",icon:ka.createElement("i",{className:"icon iconfont icon-shiyanhuanjing"}),tabId:"environment"},{name:"\u6570\u636E\u96C6",icon:ka.createElement("i",{className:"icon iconfont icon-shujuji",style:{fontSize:25}}),tabId:"dataset"},{name:"\u670D\u52A1\u4E0E\u8BC4\u6D4B",icon:ka.createElement("i",{className:"icon iconfont icon-renwuguanka"}),tabId:"service"},{name:"\u5408\u4F5C\u4EBA\u5458",icon:ka.createElement("i",{className:"icon iconfont icon-hezuochengyuan"}),tabId:"collaborate"},{name:"\u8BBE\u7F6E",icon:ka.createElement("i",{className:"icon iconfont icon-shezhi5"}),tabId:"setting"},{name:"\u95EE\u7B54\u96C6",icon:ka.createElement("i",{className:"icon iconfont icon-wendaji"}),tabId:"catechism"}],ol=tt=>{var st=tt,{globalSetting:ot,loading:wn,dispatch:wi,shixunsDetail:Ji,practiceSetting:dr}=st,Ei=Pu(st,["globalSetting","loading","dispatch","shixunsDetail","practiceSetting"]),Ln;const{base_info_warning:bi,challenges_warning:Yr,id:wo,repository_warning:Nr,sideBar:$r,service_warning:To}=dr,xo=(0,pt.useLocation)(),po=(0,pt.useParams)(),[ur]=(0,pt.useSearchParams)();(0,ue.useEffect)(()=>{var mo;const Fo=ur.get("tabId"),Pr=xo.pathname.split("/").length,Mo=((mo=Ji==null?void 0:Ji.detail)!=null&&mo.windows_vnc?Nc.filter(Ur=>Ur.tabId!=="dataset"):Nc).map(Ur=>Ur.tabId).includes(Fo);if(Fo&&Mo){wi({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:Fo}});return}if(Pr>4){wi({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"level"}});return}if(!Fo||Fo&&!Mo){wi({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"information"}});return}},[(Ln=Ji==null?void 0:Ji.detail)==null?void 0:Ln.windows_vnc]),(0,ue.useEffect)(()=>()=>{wi({type:"practiceSetting/setSideBarTabs",payload:$d(Wd({},dr.sideBar),{selectPath:""})})},[po.id]);const ma=mo=>{var Fo;if(mo===$r.tabsActive)return;const Pr=()=>{pt.history.push(`/shixuns/${wo}/edit?tabId=${mo}`),wi({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:mo,selectPath:"",confirmLeave:!1}})};(Fo=dr==null?void 0:dr.sideBar)!=null&&Fo.confirmLeave?Ve.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Pr()}}):Pr()},Vo=()=>{var mo;return((mo=Ji==null?void 0:Ji.detail)!=null&&mo.windows_vnc?Nc.filter(Pr=>Pr.tabId!=="dataset"):Nc).filter(Pr=>{var gr;return(gr=Ji==null?void 0:Ji.detail)!=null&&gr.is_jupyter_lab?Pr.tabId!=="level":Pr.tabId!=="service"}).map(Pr=>{const{name:gr,icon:Mo,tabId:Ur}=Pr;return ka.createElement("div",{key:Ur,className:`${dr.sideBar.tabsActive===Ur?Sa.itemActive:Sa.item} font12`,onClick:()=>ma(Ur)},Mo,ka.createElement("span",{className:Sa.name},gr),Ur==="information"&&bi&&ka.createElement(Ii.Z,{title:"\u8BF7\u5B8C\u5584\u57FA\u672C\u4FE1\u606F"},ka.createElement("img",{src:Hl,alt:""})),Ur==="level"&&Yr&&ka.createElement(Ii.Z,{title:"\u8BF7\u521B\u5EFA\u4EFB\u52A1\u5173\u5361"},ka.createElement("img",{src:Hl,alt:""})),Ur==="service"&&To&&ka.createElement(Ii.Z,{title:"\u8BF7\u8BBE\u7F6E\u9ED8\u8BA4\u6253\u5F00\u6587\u4EF6"},ka.createElement("img",{src:Hl,alt:""})),Ur==="warehouse"&&Nr&&ka.createElement(Ii.Z,{title:"\u8BF7\u5F00\u542F\u4EE3\u7801\u4ED3\u5E93"},ka.createElement("img",{src:Hl,alt:""})))})};return ka.createElement("div",{className:Sa.sidebar},ka.createElement("div",{className:Sa.items},Vo()),ka.createElement("div",{className:Sa.question},ka.createElement(Ii.Z,{placement:"right",title:"\u5E38\u89C1\u95EE\u9898"},ka.createElement("span",{style:{cursor:"pointer"},onClick:()=>window.open("https://www.educoder.net/forums/4692")},ka.createElement("img",{src:qd.Pt,height:44,width:44,alt:""})))))};var la=(0,pt.connect)(({loading:tt,globalSetting:st,shixunsDetail:ot,practiceSetting:wn})=>({globalSetting:st,loading:tt,practiceSetting:wn,shixunsDetail:ot}))(ol),pu={bottom:"bottom___AZ7c_",yes:"yes___iDEVN",no:"no___E02he"},Na=Pe(59301),eh=Object.defineProperty,gh=Object.getOwnPropertySymbols,iu=Object.prototype.hasOwnProperty,th=Object.prototype.propertyIsEnumerable,ec=(tt,st,ot)=>st in tt?eh(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,Cd=(tt,st)=>{for(var ot in st||(st={}))iu.call(st,ot)&&ec(tt,ot,st[ot]);if(gh)for(var ot of gh(st))th.call(st,ot)&&ec(tt,ot,st[ot]);return tt},jd=(tt,st,ot)=>new Promise((wn,wi)=>{var Ji=Ln=>{try{Ei(ot.next(Ln))}catch(bi){wi(bi)}},dr=Ln=>{try{Ei(ot.throw(Ln))}catch(bi){wi(bi)}},Ei=Ln=>Ln.done?wn(Ln.value):Promise.resolve(Ln.value).then(Ji,dr);Ei((ot=ot.apply(tt,st)).next())});const nf=({classroomList:tt,loading:st,dispatch:ot,shixunsDetail:wn})=>{var wi,Ji;const dr=(0,pt.useParams)(),Ei=(0,pt.useLocation)(),[Ln,bi]=(0,ue.useState)(!1),[Yr,wo]=(0,ue.useState)(!1),{actionTabs:Nr}=tt,[$r]=Ae.default.useForm(),[To,xo]=(0,ue.useState)({name:"string"}),po=mo=>mo&&mo{console.log(dr),tt.actionTabs.key==="\u91CD\u540D\u4FEE\u6539"&&(To.name=Nr==null?void 0:Nr.name),xo(Cd({},To)),$r.setFieldsValue({name:Nr==null?void 0:Nr.name})},[tt.actionTabs.key]);const Vo={information:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u57FA\u672C\u4FE1\u606F\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",wareHouse:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4EE3\u7801\u4ED3\u5E93\u4FEE\u6539\u5185\u5BB9\u540C\u6B65\u5230\u539F\u5B9E\u8BAD\u4E2D",environment:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u5B9E\u9A8C\u73AF\u5883\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",taskLevel:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u4EFB\u52A1\u5173\u5361\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D",setting:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u6B21\u4FEE\u6539\u7684\u8BBE\u7F6E\u540C\u6B65\u81F3\u539F\u5B9E\u8BAD\u4E2D"};return Na.createElement(Na.Fragment,null,Na.createElement(Ve.default,{centered:!0,title:"\u63D0\u793A",open:tt.actionTabs.key==="\u540C\u6B65\u4FEE\u6539",width:460,zIndex:((wi=tt==null?void 0:tt.actionTabs)==null?void 0:wi.zIndex)||1e3,footer:null,onOk:()=>jd(void 0,null,function*(){console.log(123123)}),onCancel:()=>{ot({type:"classroomList/setActionTabs",payload:{}})}},Na.createElement("div",null,Na.createElement("p",null,"\u672C\u5B9E\u8BAD\u4E3A\u521B\u5EFA\u4F5C\u4E1A/\u8003\u8BD5\u65F6\u590D\u5236\u751F\u6210\u7684\uFF0C",Vo[tt.actionTabs.type],"\uFF1F")),Na.createElement("div",{className:pu.bottom},Na.createElement(Me.ZP,{loading:st["shixunsDetail/saveCopyForExercise"]&&Yr,className:pu.no,onClick:()=>jd(void 0,null,function*(){var mo;wo(!0),(mo=tt.actionTabs)!=null&&mo.value?tt.actionTabs.fn(tt.actionTabs.value,!0,2):tt.actionTabs.fn(!0,2)})},"\u540C\u6B65\u4FEE\u6539\u539F\u5B9E\u8BAD"),Na.createElement(Me.ZP,{loading:st["shixunsDetail/saveCopyForExercise"]&&!Yr,className:pu.yes,onClick:()=>jd(void 0,null,function*(){var mo;wo(!1),(mo=tt.actionTabs)!=null&&mo.value?tt.actionTabs.fn(tt.actionTabs.value,!1,1):tt.actionTabs.fn(!1,1)})},"\u4EC5\u4FDD\u5B58\u672C\u5B9E\u8BAD"))),Na.createElement(Ve.default,{centered:!0,title:"\u63D0\u793A",open:tt.actionTabs.key==="\u91CD\u540D\u4FEE\u6539",okText:"\u4FDD\u5B58\u540D\u79F0",cancelText:"\u4E0D\u66F4\u6362\u540D\u79F0",destroyOnClose:!0,width:550,confirmLoading:Ln,onOk:()=>jd(void 0,null,function*(){var mo,Fo;yield $r.validateFields();const Pr=$r.getFieldValue();bi(!0);const gr=yield(0,wt.ZP)(`/api/shixuns/${dr==null?void 0:dr.id}/update_shixun_name.json`,{method:"post",body:{shixun_name:Pr.name}});bi(!1),gr.status===0&&(bt.ZP.success("\u4FEE\u6539\u6210\u529F"),ot({type:"practiceSetting/getCommonData",payload:{id:dr.id}}),(mo=tt.actionTabs)!=null&&mo.getBaseInfo&&((Fo=tt.actionTabs)==null||Fo.getBaseInfo())),ot({type:"classroomList/setActionTabs",payload:{}})}),onCancel:()=>{ot({type:"classroomList/setActionTabs",payload:{}})}},Na.createElement("div",null,Na.createElement("p",null,"\u4F60\u7BA1\u7406\u7684\u5B9E\u8BAD\u4E2D\u6709\u540C\u540D\u5B9E\u8BAD\uFF0C\u5EFA\u8BAE\u66F4\u6362\u5B9E\u8BAD\u540D\u79F0\uFF08\u5982\uFF1A\u6DFB\u52A0\u65E5\u671F\u3001\u7528\u9014\u7B49\u6587\u6848\uFF09"),Na.createElement(Ae.default,{form:$r,initialValues:{name:ur},onChange:()=>{xo($r.getFieldValue())}},Na.createElement(Ae.default.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u540D\u79F0"}]},Na.createElement(dt.Z,{className:"mt30",align:"middle"},Na.createElement(yt.Z,{className:"font14"},"\u5B9E\u8BAD\u540D\u79F0\uFF1A"),Na.createElement(yt.Z,{flex:"1"},Na.createElement(ke.default,{maxLength:60,defaultValue:Nr==null?void 0:Nr.name,suffix:Na.createElement("span",null,((Ji=To==null?void 0:To.name)==null?void 0:Ji.length)||0,"/",60)}))))))))};var Ad=(0,pt.connect)(({classroomList:tt,loading:st,shixunsDetail:ot})=>({classroomList:tt,loading:st.effects,shixunsDetail:ot}))(nf),Uc=Pe(59301),Hc=Object.defineProperty,Tc=Object.defineProperties,rf=Object.getOwnPropertyDescriptors,Fd=Object.getOwnPropertySymbols,fd=Object.prototype.hasOwnProperty,zd=Object.prototype.propertyIsEnumerable,Pl=(tt,st,ot)=>st in tt?Hc(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:ot}):tt[st]=ot,yc=(tt,st)=>{for(var ot in st||(st={}))fd.call(st,ot)&&Pl(tt,ot,st[ot]);if(Fd)for(var ot of Fd(st))zd.call(st,ot)&&Pl(tt,ot,st[ot]);return tt},ph=(tt,st)=>Tc(tt,rf(st)),jh=(tt,st)=>{var ot={};for(var wn in tt)fd.call(tt,wn)&&st.indexOf(wn)<0&&(ot[wn]=tt[wn]);if(tt!=null&&Fd)for(var wn of Fd(tt))st.indexOf(wn)<0&&zd.call(tt,wn)&&(ot[wn]=tt[wn]);return ot};const mh=tt=>{var st=tt,{globalSetting:ot,loading:wn,dispatch:wi,practiceSetting:Ji}=st,dr=jh(st,["globalSetting","loading","dispatch","practiceSetting"]);const{sideBar:Ei}=Ji,{tabsActive:Ln}=Ei;let bi=(0,pt.useParams)();return(0,ue.useEffect)(()=>(wi({type:"globalSetting/headerFooterToggle",payload:!1}),wi({type:"shixunsDetail/getShixunsDetail",payload:ph(yc({},bi),{shixun_managed:!0})}),()=>{wi({type:"globalSetting/headerFooterToggle",payload:!0}),wi({type:"practiceSetting/setParams",payload:{id:""}})}),[]),Uc.createElement("div",{className:it.practiceSetting},Uc.createElement("div",{className:it.wrapHeader},Uc.createElement(le,null)),Uc.createElement("div",{className:it.wrapLayout},Uc.createElement("div",{className:it.wrapSidebar},Uc.createElement(la,null)),Uc.createElement("div",{className:it.wrapContent},Uc.createElement(kc,ph(yc({},dr),{tabsActive:Ji.sideBar.tabsActive})))),Uc.createElement(Ad,null))};var Ht=(0,pt.connect)(({loading:tt,globalSetting:st,practiceSetting:ot})=>({globalSetting:st,loading:tt,practiceSetting:ot}))(mh)},16349:function(tn,jn,Pe){"use strict";Pe.d(jn,{S:function(){return Wt},m:function(){return Ve}});var ue=Pe(955),it=Pe(8591),Mt=Pe(43418),kt=Pe(59301),Dt=(bt,wt,pt)=>new Promise((St,Ut)=>{var Zt=ne=>{try{te(pt.next(ne))}catch(de){Ut(de)}},Oe=ne=>{try{te(pt.throw(ne))}catch(de){Ut(de)}},te=ne=>ne.done?St(ne.value):Promise.resolve(ne.value).then(Zt,Oe);te((pt=pt.apply(bt,wt)).next())});const Wt=bt=>{let wt=document.createElement("textarea");return wt.value=bt,wt.value},Ve=(bt,wt,pt,St,Ut)=>Dt(void 0,null,function*(){var Zt,Oe;const te=yield bt({type:"shixunsDetail/saveCopyForExercise",payload:{id:pt,save_type:St}});St===1?((te==null?void 0:te.status)==0&&it.ZP.success("\u4FDD\u5B58\u6210\u529F"),(Zt=te==null?void 0:te.data)!=null&&Zt.exists_same_shixun_name?bt({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(Oe=te==null?void 0:te.data)==null?void 0:Oe.shixun_name}}):bt({type:"classroomList/setActionTabs",payload:{}})):(bt({type:"classroomList/setActionTabs",payload:{}}),(te==null?void 0:te.status)===0&&Mt.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:kt.createElement("div",null,kt.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var ne,de;(0,ue.xg)(`/shixuns/${(de=(ne=wt==null?void 0:wt.detail)==null?void 0:ne.fork_from)==null?void 0:de.fork_identifier}/challenges`)}}))})},9583:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return pe}});var ue=Pe(59301),it=Pe(89070),Mt=Pe(92832),kt=Pe(78241),Dt=Pe(43418),Wt=Pe(8591),Ve=Pe(54580),bt=Pe(3113),wt=Pe(3294),pt=Pe(55351),St={flexRow:"flexRow___JBN3B",flexColumn:"flexColumn___zXgFj",formWrap:"formWrap___aNgan",upload:"upload___yGdLQ",color0152d9:"color0152d9___zzEpS",colorCCC:"colorCCC___k4Dxq",footerWrap:"footerWrap___WrUZd",qrCode:"qrCode___GPwSg",a1:"a1___R6etl",code:"code___fCL_L",group:"group___n7tgy",groupNumber:"groupNumber___tw7hA",a2:"a2___GGjDE"},Ut=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,te=(xe,Ae)=>{var Me={};for(var ke in xe)Zt.call(xe,ke)&&Ae.indexOf(ke)<0&&(Me[ke]=xe[ke]);if(xe!=null&&Ut)for(var ke of Ut(xe))Ae.indexOf(ke)<0&&Oe.call(xe,ke)&&(Me[ke]=xe[ke]);return Me},ne=(xe,Ae,Me)=>new Promise((ke,lt)=>{var dt=Ot=>{try{ut(Me.next(Ot))}catch(xt){lt(xt)}},yt=Ot=>{try{ut(Me.throw(Ot))}catch(xt){lt(xt)}},ut=Ot=>Ot.done?ke(Ot.value):Promise.resolve(Ot.value).then(dt,yt);ut((Me=Me.apply(xe,Ae)).next())});const de=Mt.default.TextArea,le=xe=>{var Ae=xe,{newShixuns:Me,globalSetting:ke,loading:lt,dispatch:dt}=Ae,yt=te(Ae,["newShixuns","globalSetting","loading","dispatch"]);const[ut]=kt.default.useForm(),[Ot,xt]=(0,ue.useState)([]),Nt=kn=>{["uploading","done","removed"].includes(kn.file.status)&&xt(kn.fileList)},Jt=kn=>{var ci;if(!kn.percent||kn.percent==100){const et=(ci=kn.response)==null?void 0:ci.id;return Dt.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u9644\u4EF6\u5417?",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ne(void 0,null,function*(){(yield dt({type:"newShixuns/deleteAttachment",payload:{id:et}}))&&xt(Ot.filter(yn=>{var Xn;return((Xn=yn.response)==null?void 0:Xn.id)!==et}))})}),!1}},vn=kn=>Ot.length?!1:kn.size/1024/1024>50?(Wt.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0,Ai=kn=>ne(void 0,null,function*(){var ci,et;const{language:ze,env:yn,mode:Xn,code:ei}=kn||{},on=yield dt({type:"newShixuns/applyShixunMirror",payload:{language:ze,runtime:yn,run_method:Xn,attachment_id:(et=(ci=Ot==null?void 0:Ot[0])==null?void 0:ci.response)==null?void 0:et.id}});dt({type:"newShixuns/setActionTabs",payload:{}}),on&&Wt.ZP.success("\u65B0\u5EFA\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u7BA1\u7406\u5458\u5BA1\u6838\u3002")}),hi=()=>{ut.resetFields(),xt([])};return ue.createElement(Dt.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Me.actionTabs.key==="NewShixuns-Apply",title:"\u7533\u8BF7\u65B0\u5EFA",width:"1000px",footer:null,afterClose:hi},ue.createElement("section",{className:St.qrCode},ue.createElement("aside",{className:St.a1},ue.createElement("div",{className:St.code},ue.createElement("img",{width:120,height:120,src:pt,alt:"\u4E8C\u7EF4\u7801"})),ue.createElement("div",{className:St.group},"\u5B9E\u9A8C\u73AF\u5883\u7533\u8BF7QQ\u7FA4"),ue.createElement("div",{className:St.groupNumber},"\u7FA4\u53F7\uFF1A740157011")),ue.createElement("aside",{className:St.a2},"\u5C0A\u656C\u7684\u8001\u5E08/\u540C\u5B66\u60A8\u597D\uFF0C",ue.createElement("br",null),"\u5982\u679C\u60A8\u60F3\u65B0\u5EFA\u5B9E\u9A8C\u73AF\u5883\uFF0C\u53EF\u4EE5\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u8FDB\u7FA4\uFF0C\u76F4\u63A5\u5411\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u7533\u8BF7\u54E6~ \u4E5F\u53EF\u4EE5\u63D0\u4EA4\u4E0B\u9762\u7684\u8868\u5355\u7533\u8BF7\uFF0C\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u6536\u5230\u7533\u8BF7\u4FE1\u606F\u5C06\u4F1A\u7B2C\u4E00\u65F6\u95F4\u8054\u7CFB\u60A8\uFF01")),ue.createElement(kt.default,{className:St.formWrap,form:ut,labelCol:{span:4},wrapperCol:{span:20},onFinish:Ai},ue.createElement(kt.default.Item,{label:"\u8BED\u8A00\uFF1A",name:"language",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00"}]},ue.createElement(de,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48\u8BED\u8A00\uFF1A\u793A\u4F8B\uFF1APython",rows:4})),ue.createElement(kt.default.Item,{label:"\u7CFB\u7EDF\u73AF\u5883\uFF1A",name:"env",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00\u7CFB\u7EDF\u73AF\u5883"}]},ue.createElement(de,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48linux\u7CFB\u7EDF\u73AF\u5883,\u4EE3\u7801\u8FD0\u884C\u73AF\u5883",rows:4})),ue.createElement(kt.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F\uFF1A",name:"mode",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F"}]},ue.createElement(de,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u4E2D\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F",rows:4})),ue.createElement(kt.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\uFF1A",name:"code",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},ue.createElement("div",{className:St.upload},ue.createElement(Ve.default,{fileList:Ot,action:`${wt.Z.API_SERVER}/api/attachments.json?client_key=6d57f8c3dd186c5ada392546ace9620a`,onChange:Nt,onRemove:Jt,beforeUpload:vn,withCredentials:!0},ue.createElement("span",{className:`${St.color0152d9} current`},"\u4E0A\u4F20\u9644\u4EF6"),ue.createElement("span",{className:`${St.colorCCC} ml10`},"(\u5355\u4E2A\u6587\u4EF650M\u4EE5\u5185)")))),ue.createElement("div",{className:St.footerWrap},ue.createElement(kt.default.Item,null,ue.createElement(bt.ZP,{className:"mr5",size:"middle",onClick:()=>{dt({type:"newShixuns/setActionTabs",payload:{}})}},"\u53D6\u6D88"),ue.createElement(bt.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:lt["newShixuns/applyShixunMirror"]},"\u4FDD\u5B58")))))};var pe=(0,it.connect)(({newShixuns:xe,loading:Ae,globalSetting:Me})=>({newShixuns:xe,globalSetting:Me,loading:Ae.effects}))(le)},55508:function(tn,jn,Pe){"use strict";var ue=Pe(59301),it=Pe(89070),Mt=Pe(43418),kt=Pe(55351);const Dt=({newShixuns:Wt,dispatch:Ve,user:bt})=>{var wt;const[pt,St]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{Wt.actionTabs.key==="Create-Environment"&&Zt()},[(wt=Wt==null?void 0:Wt.actionTabs)==null?void 0:wt.key]);const Ut=()=>{Ve({type:"newShixuns/setActionTabs",payload:{}})},Zt=()=>{var Oe,te,ne,de;Ut(),((Oe=bt.userInfo)==null?void 0:Oe.mirror_marker_status)===0?St(!0):((te=bt.userInfo)==null?void 0:te.mirror_marker_status)===1?it.history.push(`/users/${(ne=bt.userInfo)==null?void 0:ne.login}/experiment-img/add`):((de=bt.userInfo)==null?void 0:de.mirror_marker_status)===2&&Mt.default.confirm({title:"\u60A8\u4ECA\u65E5\u5DF2\u8FBE\u5230\u7533\u8BF7\u4E0A\u9650\uFF0C\u662F\u5426\u8DF3\u8F6C\u81F3\u4E91\u4E3B\u673A\u5217\u8868\uFF1F",content:"\u63D0\u793A\uFF1A\u6BCF\u5929\u6700\u591A\u5141\u8BB8\u7533\u8BF7\u4E00\u53F0\u4E91\u4E3B\u673A",okText:"\u8DF3\u8F6C",cancelText:"\u53D6\u6D88",onOk(){var le;it.history.push(`/users/${(le=bt.userInfo)==null?void 0:le.login}/experiment-img`)}})};return ue.createElement(Mt.default,{title:"\u52A0\u5165qq\u7FA4\u63D0\u793A",open:pt,footer:null,onCancel:()=>{St(!1)}},ue.createElement("div",{style:{textAlign:"center"}},ue.createElement("br",null),ue.createElement("img",{width:120,height:120,style:{marginTop:"20px"},src:kt,alt:"\u4E8C\u7EF4\u7801"})),ue.createElement("img",null))};jn.Z=(0,it.connect)(({newShixuns:Wt,user:Ve,globalSetting:bt})=>({newShixuns:Wt,globalSetting:bt,user:Ve}))(Dt)},4901:function(tn,jn,Pe){"use strict";Pe.d(jn,{BU:function(){return it},Dj:function(){return ue},gH:function(){return Mt},vp:function(){return kt}});function ue(Dt){try{Dt.mozRequestFullScreen?Dt.mozRequestFullScreen():Dt.webkitRequestFullScreen&&Dt.webkitRequestFullScreen()}catch(Wt){console.log(Wt,":e")}}function it(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const Mt=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function kt(){var Dt=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,Wt=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",Dt),window.isFullScreen?window.isFullScreen:Dt!=null}},24768:function(tn,jn,Pe){"use strict";Pe.d(jn,{AL:function(){return Ae},Iy:function(){return St},Qv:function(){return Oe},ez:function(){return xe},jb:function(){return Ut}});var ue=Pe(32834),it=Pe.n(ue),Mt=Pe(11690),kt=Pe.n(Mt);let Dt=1;function Wt(yt,ut){const Ot=yt.match(/^(\s+)(?:```)/);if(Ot===null)return ut;const xt=Ot[1];return ut.split(` `).map(Nt=>{const Jt=Nt.match(/^\s+/);if(Jt===null)return Nt;const[vn]=Jt;return vn.length>=xt.length?Nt.slice(xt.length):Nt}).join(` -`)}let Ve=[],bt=["
    "];const wt=new(it()).Renderer,pt=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function St(){Ve.length=0,bt=["
      "]}const Ut={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Zt(yt,ut,Tt,xt){if(ut>=yt.length||yt[ut].level<=Tt)return ut;var Nt=yt[ut];xt.push("
    • "+Nt.text+""),ut++;var Jt=[];return ut=Zt(yt,ut,Nt.level,Jt),Jt.length>0&&(xt.push("
        "),Jt.forEach(function(vn){xt.push(vn)}),xt.push("
      ")),xt.push("
    • "),ut=Zt(yt,ut,Tt,xt),ut}function Oe(){return Zt(Ve,0,0,bt),bt.push("
    "),bt.join("")}const te={heading(yt){const ut=pt.exec(yt);if(Dt+=1,ut)return{type:"heading",raw:ut[0],depth:ut[1].length,text:ut[2]}},fences(yt){const ut=this.rules.block.fences.exec(yt);if(ut){const Tt=ut[0];let xt=Wt(Tt,ut[3]||"");const Nt=ut[2]?ut[2].trim():ut[2];if(["latex","katex","math"].indexOf(Nt)>=0){const Jt=le(),vn=xt;xt=Jt,pe[Jt]={type:"block",expression:vn}}return{type:"code",raw:Tt,lang:Nt,text:xt}}}},ne=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let de=0;const le=()=>`__special_katext_id_${de++}__`;let pe={};function xe(){return pe}function Ae(){de=0,pe={}}function Me(yt){return yt=yt.replace(ne,(ut,Tt)=>{const xt=le();return pe[xt]={type:"inline",expression:Tt},xt}),yt}const ke=wt.listitem;wt.listitem=function(yt){return ke(Me(yt))};const lt=wt.paragraph;wt.paragraph=function(yt){return lt(Me(yt))};const dt=wt.tablecell;wt.tablecell=function(yt,ut){return dt(Me(yt),ut)},wt.code=function(yt,ut,Tt){const xt=(ut||"").match(/\S*/)[0];return xt?["latex","katex","math"].indexOf(xt)>=0?`

    ${yt}

    `:`
    ${Tt?yt:(0,Mt.escape)(yt,!0)}
    -`:'
    '+(Tt?yt:(0,Mt.escape)(yt,!0))+"
    "},wt.heading=function(yt,ut,Tt){let xt=this.options.headerPrefix+Tt.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Ve.push({anchor:xt,level:ut,text:yt}),"'+yt+""},it().setOptions({silent:!0,gfm:!0,pedantic:!1}),it().use({tokenizer:te,renderer:wt}),jn.ZP=it()},46474:function(en,jn,Pe){"use strict";Pe.d(jn,{rX:function(){return Me},pW:function(){return ke},gy:function(){return lt},xY:function(){return Ae},O5:function(){return xe},hs:function(){return ne},tJ:function(){return Oe},o1:function(){return te},Rd:function(){return pe}});var ue=Pe(89070),it=Pe(43418),Mt=Pe(28103),kt=Pe(8591),Dt=Pe(24065),Wt=Pe(955),Ve=Pe(87169),bt=Pe(25510),wt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzuajgctnoTACMWoV8xTgkBgAwEFgCQgcACADIQWABABgILAMgwe5cwJ5O3jVtaWgp+z8KKW+bOPvjuwq1bMaTD+OLG2+ks2/aSSS78FTMcYQEAIQgsACADgQUAZCCwAIAMBBYAkIHAAgAyLBnW4CxnS/fb9k4r7nk7W8LBClZUQbBiYIEVI2ycnXjFIjjCAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQU4bAGK25Fu/Besm03wm27i2/bEATbNmTbN6QoRzDkhCMsACADgQUAZCCwAIAMBBY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gsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",pt=Pe.p+"static/newqrcode.a8740efb.png",St=Pe(32637),Ut=Pe(59301),Zt=(dt,yt,ut)=>new Promise((Tt,xt)=>{var Nt=Ai=>{try{vn(ut.next(Ai))}catch(hi){xt(hi)}},Jt=Ai=>{try{vn(ut.throw(Ai))}catch(hi){xt(hi)}},vn=Ai=>Ai.done?Tt(Ai.value):Promise.resolve(Ai.value).then(Nt,Jt);vn((ut=ut.apply(dt,yt)).next())});const Oe=(dt,yt=!1,ut=!1,Tt="",xt=!1)=>!!(te(dt)&&de(dt,yt,ut,Tt,xt)),te=dt=>(0,Dt.bg)()?!0:(dt({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),ne=dt=>{var yt,ut,Tt;const{user:xt}=(0,ue.getDvaApp)()._store.getState();(0,Dt.bg)()&&!((ut=(yt=xt==null?void 0:xt.userInfo)==null?void 0:yt.course)!=null&&ut.course_public)&&!((Tt=xt==null?void 0:xt.userInfo)!=null&&Tt.profile_completed)&&dt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},de=(dt,yt=!1,ut=!0,Tt="",xt=!1)=>{var Nt;const{user:Jt}=(0,ue.getDvaApp)()._store.getState();return(Nt=Jt.userInfo)!=null&&Nt.profile_completed?!0:(ut?dt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:Tt,isCurrentPage:xt}}):it.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,Wt.xg)("/account/profile/edit"),le()}}),!1)},le=()=>{it.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()}})},pe=()=>{it.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Ut.createElement("div",{style:{textAlign:"center"}},Ut.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"),Ut.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:St}),Ut.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},xe=()=>{var dt;const{user:yt}=(0,ue.getDvaApp)()._store.getState();return(dt=yt.userInfo)!=null&&dt.professional_certification?!0:(it.default.confirm({title:"\u63D0\u793A",centered:!0,content:Ut.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,Wt.xg)("/account/certification")}}),!1)},Ae=()=>(0,Dt.V9)()?!0:(it.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Ut.createElement("div",{className:"tc",style:{marginLeft:-38}},Ut.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Ut.createElement("img",{src:pt,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Me=(dt,yt)=>dt?!0:(it.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Ut.createElement("div",null,Ut.createElement("p",null,yt||"\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"),Ut.createElement("div",{style:{marginLeft:"110px"}},Ut.createElement("img",{src:wt,width:200}),Ut.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Wt.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),ke=dt=>{it.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Ut.createElement("div",null,Ut.createElement("div",null,Ut.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"),Ut.createElement(Mt.Z,null),Ut.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ut.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 ",Ut.createElement("a",null,dt),"\u5929\u3002"),Ut.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ut.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")),Ut.createElement("div",{style:{textAlign:"center",marginTop:30}},Ut.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:bt,alt:"\u4E8C\u7EF4\u7801",width:160})))})},lt=(dt,yt="")=>{const{shixunsDetail:{detail:ut}}=(0,ue.getDvaApp)()._store.getState();if((ut==null?void 0:ut.public)===2||(ut==null?void 0:ut.public)===1||(ut==null?void 0:ut.shixun_status)===3){let Tt="";return(ut==null?void 0:ut.public)===2&&(Tt="\u5DF2\u516C\u5F00"),(ut==null?void 0:ut.public)===1&&(Tt="\u5F85\u5BA1\u6838"),(ut==null?void 0:ut.shixun_status)===3&&(Tt="\u5DF2\u5173\u95ED"),it.default.info({centered:!0,icon:Ut.createElement(Ve.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Ut.createElement("div",{className:"tc",style:{marginLeft:-38}},Ut.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Ut.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Tt,"\uFF0C",yt,"\u3002"),Ut.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Ut.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:bt,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(ut==null?void 0:ut.shixun_status)===2?(it.default.confirm({centered:!0,icon:Ut.createElement(Ve.Z,null),title:"\u63D0\u793A",content:Ut.createElement("div",null,Ut.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",yt,"\u3002"),Ut.createElement("br",null),Ut.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:()=>{it.default.confirm({width:440,centered:!0,icon:Ut.createElement(Ve.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:()=>Zt(void 0,null,function*(){(yield dt({type:"shixunsDetail/cancelRelease",payload:{id:ut==null?void 0:ut.identifier}})).status!==401&&(kt.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),dt({type:"shixunsDetail/getShixunsDetail",payload:{id:ut==null?void 0:ut.identifier}}),dt({type:"practiceSetting/getCommonData",payload:{id:ut==null?void 0:ut.identifier}}))})})}}),!0):!1}},77578:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return ue}});const ue=it=>it?typeof it=="function"?it():it:null},46400:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return hi}});var ue=Pe(29679),it=Pe(19248),Mt=Pe(99267),kt=Pe(96512),Dt=Pe(78987),Wt=Pe(92310),Ve=Pe.n(Wt),bt=Pe(77900),wt=Pe(26112),pt=Pe(59301),St=Pe(92343),Ut=Pe(36355),Zt=Pe(17313),Oe=Pe(83116);const te=(kn,ci,et,ze,yn)=>({backgroundColor:kn,border:`${ze.lineWidth}px ${ze.lineType} ${ci}`,[`${yn}-icon`]:{color:et}}),ne=kn=>{const{componentCls:ci,motionDurationSlow:et,marginXS:ze,marginSM:yn,fontSize:Xn,fontSizeLG:ei,lineHeight:rn,borderRadiusLG:xn,motionEaseInOutCirc:Dn,withDescriptionIconSize:yi,colorText:qn,colorTextHeading:Mi,withDescriptionPadding:mt,defaultPadding:ht}=kn;return{[ci]:Object.assign(Object.assign({},(0,Zt.Wf)(kn)),{position:"relative",display:"flex",alignItems:"center",padding:ht,wordWrap:"break-word",borderRadius:xn,[`&${ci}-rtl`]:{direction:"rtl"},[`${ci}-content`]:{flex:1,minWidth:0},[`${ci}-icon`]:{marginInlineEnd:ze,lineHeight:0},"&-description":{display:"none",fontSize:Xn,lineHeight:rn},"&-message":{color:Mi},[`&${ci}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${et} ${Dn}, opacity ${et} ${Dn}, +`)}let Ve=[],bt=["
      "];const wt=new(it()).Renderer,pt=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function St(){Ve.length=0,bt=["
        "]}const Ut={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Zt(yt,ut,Ot,xt){if(ut>=yt.length||yt[ut].level<=Ot)return ut;var Nt=yt[ut];xt.push("
      • "+Nt.text+""),ut++;var Jt=[];return ut=Zt(yt,ut,Nt.level,Jt),Jt.length>0&&(xt.push("
          "),Jt.forEach(function(vn){xt.push(vn)}),xt.push("
        ")),xt.push("
      • "),ut=Zt(yt,ut,Ot,xt),ut}function Oe(){return Zt(Ve,0,0,bt),bt.push("
      "),bt.join("")}const te={heading(yt){const ut=pt.exec(yt);if(Dt+=1,ut)return{type:"heading",raw:ut[0],depth:ut[1].length,text:ut[2]}},fences(yt){const ut=this.rules.block.fences.exec(yt);if(ut){const Ot=ut[0];let xt=Wt(Ot,ut[3]||"");const Nt=ut[2]?ut[2].trim():ut[2];if(["latex","katex","math"].indexOf(Nt)>=0){const Jt=le(),vn=xt;xt=Jt,pe[Jt]={type:"block",expression:vn}}return{type:"code",raw:Ot,lang:Nt,text:xt}}}},ne=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let de=0;const le=()=>`__special_katext_id_${de++}__`;let pe={};function xe(){return pe}function Ae(){de=0,pe={}}function Me(yt){return yt=yt.replace(ne,(ut,Ot)=>{const xt=le();return pe[xt]={type:"inline",expression:Ot},xt}),yt}const ke=wt.listitem;wt.listitem=function(yt){return ke(Me(yt))};const lt=wt.paragraph;wt.paragraph=function(yt){return lt(Me(yt))};const dt=wt.tablecell;wt.tablecell=function(yt,ut){return dt(Me(yt),ut)},wt.code=function(yt,ut,Ot){const xt=(ut||"").match(/\S*/)[0];return xt?["latex","katex","math"].indexOf(xt)>=0?`

      ${yt}

      `:`
      ${Ot?yt:(0,Mt.escape)(yt,!0)}
      +`:'
      '+(Ot?yt:(0,Mt.escape)(yt,!0))+"
      "},wt.heading=function(yt,ut,Ot){let xt=this.options.headerPrefix+Ot.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Ve.push({anchor:xt,level:ut,text:yt}),"'+yt+""},it().setOptions({silent:!0,gfm:!0,pedantic:!1}),it().use({tokenizer:te,renderer:wt}),jn.ZP=it()},46474:function(tn,jn,Pe){"use strict";Pe.d(jn,{rX:function(){return Me},pW:function(){return ke},gy:function(){return lt},xY:function(){return Ae},O5:function(){return xe},hs:function(){return ne},tJ:function(){return Oe},o1:function(){return te},Rd:function(){return pe}});var ue=Pe(89070),it=Pe(43418),Mt=Pe(28103),kt=Pe(8591),Dt=Pe(24065),Wt=Pe(955),Ve=Pe(87169),bt=Pe(25510),wt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzuajgctnoTACMWoV8xTgkBgAwEFgCQgcACADIQWABABgILAMgwe5cwJ5O3jVtaWgp+z8KKW+bOPvjuwq1bMaTD+OL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8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",pt=Pe.p+"static/newqrcode.a8740efb.png",St=Pe(32637),Ut=Pe(59301),Zt=(dt,yt,ut)=>new Promise((Ot,xt)=>{var Nt=Ai=>{try{vn(ut.next(Ai))}catch(hi){xt(hi)}},Jt=Ai=>{try{vn(ut.throw(Ai))}catch(hi){xt(hi)}},vn=Ai=>Ai.done?Ot(Ai.value):Promise.resolve(Ai.value).then(Nt,Jt);vn((ut=ut.apply(dt,yt)).next())});const Oe=(dt,yt=!1,ut=!1,Ot="",xt=!1)=>!!(te(dt)&&de(dt,yt,ut,Ot,xt)),te=dt=>(0,Dt.bg)()?!0:(dt({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),ne=dt=>{var yt,ut,Ot;const{user:xt}=(0,ue.getDvaApp)()._store.getState();(0,Dt.bg)()&&!((ut=(yt=xt==null?void 0:xt.userInfo)==null?void 0:yt.course)!=null&&ut.course_public)&&!((Ot=xt==null?void 0:xt.userInfo)!=null&&Ot.profile_completed)&&dt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},de=(dt,yt=!1,ut=!0,Ot="",xt=!1)=>{var Nt;const{user:Jt}=(0,ue.getDvaApp)()._store.getState();return(Nt=Jt.userInfo)!=null&&Nt.profile_completed?!0:(ut?dt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:Ot,isCurrentPage:xt}}):it.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,Wt.xg)("/account/profile/edit"),le()}}),!1)},le=()=>{it.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()}})},pe=()=>{it.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Ut.createElement("div",{style:{textAlign:"center"}},Ut.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"),Ut.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:St}),Ut.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},xe=()=>{var dt;const{user:yt}=(0,ue.getDvaApp)()._store.getState();return(dt=yt.userInfo)!=null&&dt.professional_certification?!0:(it.default.confirm({title:"\u63D0\u793A",centered:!0,content:Ut.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,Wt.xg)("/account/certification")}}),!1)},Ae=()=>(0,Dt.V9)()?!0:(it.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Ut.createElement("div",{className:"tc",style:{marginLeft:-38}},Ut.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Ut.createElement("img",{src:pt,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Me=(dt,yt)=>dt?!0:(it.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Ut.createElement("div",null,Ut.createElement("p",null,yt||"\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"),Ut.createElement("div",{style:{marginLeft:"110px"}},Ut.createElement("img",{src:wt,width:200}),Ut.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Wt.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),ke=dt=>{it.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Ut.createElement("div",null,Ut.createElement("div",null,Ut.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"),Ut.createElement(Mt.Z,null),Ut.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ut.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 ",Ut.createElement("a",null,dt),"\u5929\u3002"),Ut.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ut.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")),Ut.createElement("div",{style:{textAlign:"center",marginTop:30}},Ut.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:bt,alt:"\u4E8C\u7EF4\u7801",width:160})))})},lt=(dt,yt="")=>{const{shixunsDetail:{detail:ut}}=(0,ue.getDvaApp)()._store.getState();if((ut==null?void 0:ut.public)===2||(ut==null?void 0:ut.public)===1||(ut==null?void 0:ut.shixun_status)===3){let Ot="";return(ut==null?void 0:ut.public)===2&&(Ot="\u5DF2\u516C\u5F00"),(ut==null?void 0:ut.public)===1&&(Ot="\u5F85\u5BA1\u6838"),(ut==null?void 0:ut.shixun_status)===3&&(Ot="\u5DF2\u5173\u95ED"),it.default.info({centered:!0,icon:Ut.createElement(Ve.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Ut.createElement("div",{className:"tc",style:{marginLeft:-38}},Ut.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Ut.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Ot,"\uFF0C",yt,"\u3002"),Ut.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Ut.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:bt,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(ut==null?void 0:ut.shixun_status)===2?(it.default.confirm({centered:!0,icon:Ut.createElement(Ve.Z,null),title:"\u63D0\u793A",content:Ut.createElement("div",null,Ut.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",yt,"\u3002"),Ut.createElement("br",null),Ut.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:()=>{it.default.confirm({width:440,centered:!0,icon:Ut.createElement(Ve.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:()=>Zt(void 0,null,function*(){(yield dt({type:"shixunsDetail/cancelRelease",payload:{id:ut==null?void 0:ut.identifier}})).status!==401&&(kt.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),dt({type:"shixunsDetail/getShixunsDetail",payload:{id:ut==null?void 0:ut.identifier}}),dt({type:"practiceSetting/getCommonData",payload:{id:ut==null?void 0:ut.identifier}}))})})}}),!0):!1}},77578:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return ue}});const ue=it=>it?typeof it=="function"?it():it:null},46400:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return hi}});var ue=Pe(29679),it=Pe(19248),Mt=Pe(99267),kt=Pe(96512),Dt=Pe(78987),Wt=Pe(92310),Ve=Pe.n(Wt),bt=Pe(77900),wt=Pe(26112),pt=Pe(59301),St=Pe(92343),Ut=Pe(36355),Zt=Pe(17313),Oe=Pe(83116);const te=(kn,ci,et,ze,yn)=>({backgroundColor:kn,border:`${ze.lineWidth}px ${ze.lineType} ${ci}`,[`${yn}-icon`]:{color:et}}),ne=kn=>{const{componentCls:ci,motionDurationSlow:et,marginXS:ze,marginSM:yn,fontSize:Xn,fontSizeLG:ei,lineHeight:on,borderRadiusLG:xn,motionEaseInOutCirc:Dn,withDescriptionIconSize:yi,colorText:qn,colorTextHeading:Mi,withDescriptionPadding:mt,defaultPadding:ht}=kn;return{[ci]:Object.assign(Object.assign({},(0,Zt.Wf)(kn)),{position:"relative",display:"flex",alignItems:"center",padding:ht,wordWrap:"break-word",borderRadius:xn,[`&${ci}-rtl`]:{direction:"rtl"},[`${ci}-content`]:{flex:1,minWidth:0},[`${ci}-icon`]:{marginInlineEnd:ze,lineHeight:0},"&-description":{display:"none",fontSize:Xn,lineHeight:on},"&-message":{color:Mi},[`&${ci}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${et} ${Dn}, opacity ${et} ${Dn}, padding-top ${et} ${Dn}, padding-bottom ${et} ${Dn}, - margin-bottom ${et} ${Dn}`},[`&${ci}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${ci}-with-description`]:{alignItems:"flex-start",padding:mt,[`${ci}-icon`]:{marginInlineEnd:yn,fontSize:yi,lineHeight:0},[`${ci}-message`]:{display:"block",marginBottom:ze,color:Mi,fontSize:ei},[`${ci}-description`]:{display:"block",color:qn}},[`${ci}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},de=kn=>{const{componentCls:ci,colorSuccess:et,colorSuccessBorder:ze,colorSuccessBg:yn,colorWarning:Xn,colorWarningBorder:ei,colorWarningBg:rn,colorError:xn,colorErrorBorder:Dn,colorErrorBg:yi,colorInfo:qn,colorInfoBorder:Mi,colorInfoBg:mt}=kn;return{[ci]:{"&-success":te(yn,ze,et,kn,ci),"&-info":te(mt,Mi,qn,kn,ci),"&-warning":te(rn,ei,Xn,kn,ci),"&-error":Object.assign(Object.assign({},te(yi,Dn,xn,kn,ci)),{[`${ci}-description > pre`]:{margin:0,padding:0}})}}},le=kn=>{const{componentCls:ci,iconCls:et,motionDurationMid:ze,marginXS:yn,fontSizeIcon:Xn,colorIcon:ei,colorIconHover:rn}=kn;return{[ci]:{"&-action":{marginInlineStart:yn},[`${ci}-close-icon`]:{marginInlineStart:yn,padding:0,overflow:"hidden",fontSize:Xn,lineHeight:`${Xn}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${et}-close`]:{color:ei,transition:`color ${ze}`,"&:hover":{color:rn}}},"&-close-text":{color:ei,transition:`color ${ze}`,"&:hover":{color:rn}}}}},pe=kn=>[ne(kn),de(kn),le(kn)];var xe=(0,Oe.Z)("Alert",kn=>[pe(kn)],kn=>({withDescriptionIconSize:kn.fontSizeHeading3,defaultPadding:`${kn.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${kn.paddingMD}px ${kn.paddingContentHorizontalLG}px`})),Ae=function(kn,ci){var et={};for(var ze in kn)Object.prototype.hasOwnProperty.call(kn,ze)&&ci.indexOf(ze)<0&&(et[ze]=kn[ze]);if(kn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yn=0,ze=Object.getOwnPropertySymbols(kn);yn{const{icon:ci,prefixCls:et,type:ze}=kn,yn=Me[ze]||null;return ci?(0,St.wm)(ci,pt.createElement("span",{className:`${et}-icon`},ci),()=>({className:Ve()(`${et}-icon`,{[ci.props.className]:ci.props.className})})):pt.createElement(yn,{className:`${et}-icon`})},lt=kn=>{const{isClosable:ci,prefixCls:et,closeIcon:ze,handleClose:yn}=kn,Xn=ze===!0||ze===void 0?pt.createElement(Mt.Z,null):ze;return ci?pt.createElement("button",{type:"button",onClick:yn,className:`${et}-close-icon`,tabIndex:0},Xn):null};var yt=kn=>{const{description:ci,prefixCls:et,message:ze,banner:yn,className:Xn,rootClassName:ei,style:rn,onMouseEnter:xn,onMouseLeave:Dn,onClick:yi,afterClose:qn,showIcon:Mi,closable:mt,closeText:ht,closeIcon:gn,action:jt}=kn,En=Ae(kn,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[Fn,ii]=pt.useState(!1),ni=pt.useRef(null),{getPrefixCls:mn,direction:zt,alert:$e}=pt.useContext(Ut.E_),At=mn("alert",et),[Yt,Ie]=xe(At),Ce=Sn=>{var fn;ii(!0),(fn=kn.onClose)===null||fn===void 0||fn.call(kn,Sn)},Ee=pt.useMemo(()=>kn.type!==void 0?kn.type:yn?"warning":"info",[kn.type,yn]),Te=pt.useMemo(()=>ht?!0:typeof mt=="boolean"?mt:gn!==!1&&gn!==null&&gn!==void 0,[ht,gn,mt]),Ue=yn&&Mi===void 0?!0:Mi,Le=Ve()(At,`${At}-${Ee}`,{[`${At}-with-description`]:!!ci,[`${At}-no-icon`]:!Ue,[`${At}-banner`]:!!yn,[`${At}-rtl`]:zt==="rtl"},$e==null?void 0:$e.className,Xn,ei,Ie),rt=(0,wt.Z)(En,{aria:!0,data:!0});return Yt(pt.createElement(bt.default,{visible:!Fn,motionName:`${At}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:Sn=>({maxHeight:Sn.offsetHeight}),onLeaveEnd:qn},Sn=>{let{className:fn,style:an}=Sn;return pt.createElement("div",Object.assign({ref:ni,"data-show":!Fn,className:Ve()(Le,fn),style:Object.assign(Object.assign(Object.assign({},$e==null?void 0:$e.style),rn),an),onMouseEnter:xn,onMouseLeave:Dn,onClick:yi,role:"alert"},rt),Ue?pt.createElement(ke,{description:ci,icon:kn.icon,prefixCls:At,type:Ee}):null,pt.createElement("div",{className:`${At}-content`},ze?pt.createElement("div",{className:`${At}-message`},ze):null,ci?pt.createElement("div",{className:`${At}-description`},ci):null),jt?pt.createElement("div",{className:`${At}-action`},jt):null,pt.createElement(lt,{isClosable:Te,prefixCls:At,closeIcon:ht||gn,handleClose:Ce}))}))},ut=Pe(96949),Tt=Pe(55090),xt=Pe(77205),Nt=Pe(38793),vn=function(kn){(0,xt.Z)(et,kn);var ci=(0,Nt.Z)(et);function et(){var ze;return(0,ut.Z)(this,et),ze=ci.apply(this,arguments),ze.state={error:void 0,info:{componentStack:""}},ze}return(0,Tt.Z)(et,[{key:"componentDidCatch",value:function(yn,Xn){this.setState({error:yn,info:Xn})}},{key:"render",value:function(){const{message:yn,description:Xn,children:ei}=this.props,{error:rn,info:xn}=this.state,Dn=xn&&xn.componentStack?xn.componentStack:null,yi=typeof yn=="undefined"?(rn||"").toString():yn,qn=typeof Xn=="undefined"?Dn:Xn;return rn?pt.createElement(yt,{type:"error",message:yi,description:pt.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},qn)}):ei}}]),et}(pt.Component);const Ai=yt;Ai.ErrorBoundary=vn;var hi=Ai},88522:function(en,jn,Pe){"use strict";var ue=Pe(92310),it=Pe.n(ue),Mt=Pe(11592),kt=Pe(2738),Dt=Pe(59301),Wt=Pe(53487),Ve=Pe(92343),bt=Pe(36355),wt=Pe(57809);const{Option:pt}=wt.default;function St(te){return te&&te.type&&(te.type.isSelectOption||te.type.isSelectOptGroup)}const Ut=(te,ne)=>{const{prefixCls:de,className:le,popupClassName:pe,dropdownClassName:xe,children:Ae,dataSource:Me}=te,ke=(0,Mt.Z)(Ae);let lt;ke.length===1&&(0,Ve.l$)(ke[0])&&!St(ke[0])&&([lt]=ke);const dt=lt?()=>lt:void 0;let yt;ke.length&&St(ke[0])?yt=Ae:yt=Me?Me.map(xt=>{if((0,Ve.l$)(xt))return xt;switch(typeof xt){case"string":return Dt.createElement(pt,{key:xt,value:xt},xt);case"object":{const{value:Nt}=xt;return Dt.createElement(pt,{key:Nt,value:Nt},xt.text)}default:return}}):[];const{getPrefixCls:ut}=Dt.useContext(bt.E_),Tt=ut("select",de);return Dt.createElement(wt.default,Object.assign({ref:ne,suffixIcon:null},(0,kt.Z)(te,["dataSource","dropdownClassName"]),{prefixCls:Tt,popupClassName:pe||xe,className:it()(`${Tt}-auto-complete`,le),mode:wt.default.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:dt}),yt)},Zt=Dt.forwardRef(Ut),Oe=(0,Wt.Z)(Zt);Zt.Option=pt,Zt._InternalPanelDoNotUseOrYouWillBeFired=Oe,jn.Z=Zt},49127:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return ci}});var ue=Pe(92310),it=Pe.n(ue),Mt=Pe(77900),kt=Pe(59301),Dt=Pe(36785),Wt=Pe(92343),Ve=Pe(36355),bt=Pe(93083),wt=Pe(17313),pt=Pe(45157),St=Pe(37613),Ut=Pe(83116);const Zt=new bt.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),Oe=new bt.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),te=new bt.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),ne=new bt.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),de=new bt.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),le=new bt.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),pe=et=>{const{componentCls:ze,iconCls:yn,antCls:Xn,badgeShadowSize:ei,motionDurationSlow:rn,textFontSize:xn,textFontSizeSM:Dn,statusSize:yi,dotSize:qn,textFontWeight:Mi,indicatorHeight:mt,indicatorHeightSM:ht,marginXS:gn}=et,jt=`${Xn}-scroll-number`,En=(0,pt.Z)(et,(Fn,ii)=>{let{darkColor:ni}=ii;return{[`&${ze} ${ze}-color-${Fn}`]:{background:ni,[`&:not(${ze}-count)`]:{color:ni}}}});return{[ze]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,wt.Wf)(et)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${ze}-count`]:{zIndex:et.indicatorZIndex,minWidth:mt,height:mt,color:et.badgeTextColor,fontWeight:Mi,fontSize:xn,lineHeight:`${mt}px`,whiteSpace:"nowrap",textAlign:"center",background:et.badgeColor,borderRadius:mt/2,boxShadow:`0 0 0 ${ei}px ${et.badgeShadowColor}`,transition:`background ${et.motionDurationMid}`,a:{color:et.badgeTextColor},"a:hover":{color:et.badgeTextColor},"a:hover &":{background:et.badgeColorHover}},[`${ze}-count-sm`]:{minWidth:ht,height:ht,fontSize:Dn,lineHeight:`${ht}px`,borderRadius:ht/2},[`${ze}-multiple-words`]:{padding:`0 ${et.paddingXS}px`,bdi:{unicodeBidi:"plaintext"}},[`${ze}-dot`]:{zIndex:et.indicatorZIndex,width:qn,minWidth:qn,height:qn,background:et.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${ei}px ${et.badgeShadowColor}`},[`${ze}-dot${jt}`]:{transition:`background ${rn}`},[`${ze}-count, ${ze}-dot, ${jt}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${yn}-spin`]:{animationName:le,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${ze}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${ze}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:yi,height:yi,verticalAlign:"middle",borderRadius:"50%"},[`${ze}-status-success`]:{backgroundColor:et.colorSuccess},[`${ze}-status-processing`]:{overflow:"visible",color:et.colorPrimary,backgroundColor:et.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:ei,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:Zt,animationDuration:et.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${ze}-status-default`]:{backgroundColor:et.colorTextPlaceholder},[`${ze}-status-error`]:{backgroundColor:et.colorError},[`${ze}-status-warning`]:{backgroundColor:et.colorWarning},[`${ze}-status-text`]:{marginInlineStart:gn,color:et.colorText,fontSize:et.fontSize}}}),En),{[`${ze}-zoom-appear, ${ze}-zoom-enter`]:{animationName:Oe,animationDuration:et.motionDurationSlow,animationTimingFunction:et.motionEaseOutBack,animationFillMode:"both"},[`${ze}-zoom-leave`]:{animationName:te,animationDuration:et.motionDurationSlow,animationTimingFunction:et.motionEaseOutBack,animationFillMode:"both"},[`&${ze}-not-a-wrapper`]:{[`${ze}-zoom-appear, ${ze}-zoom-enter`]:{animationName:ne,animationDuration:et.motionDurationSlow,animationTimingFunction:et.motionEaseOutBack},[`${ze}-zoom-leave`]:{animationName:de,animationDuration:et.motionDurationSlow,animationTimingFunction:et.motionEaseOutBack},[`&:not(${ze}-status)`]:{verticalAlign:"middle"},[`${jt}-custom-component, ${ze}-count`]:{transform:"none"},[`${jt}-custom-component, ${jt}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${jt}`]:{overflow:"hidden",[`${jt}-only`]:{position:"relative",display:"inline-block",height:mt,transition:`all ${et.motionDurationSlow} ${et.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${jt}-only-unit`]:{height:mt,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${jt}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${ze}-count, ${ze}-dot, ${jt}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},xe=et=>{const{fontSize:ze,lineHeight:yn,lineWidth:Xn,marginXS:ei,colorBorderBg:rn}=et,xn=Math.round(ze*yn),Dn=Xn,yi=et.colorBgContainer,qn=et.colorError,Mi=et.colorErrorHover;return(0,St.TS)(et,{badgeFontHeight:xn,badgeShadowSize:Dn,badgeTextColor:yi,badgeColor:qn,badgeColorHover:Mi,badgeShadowColor:rn,badgeProcessingDuration:"1.2s",badgeRibbonOffset:ei,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},Ae=et=>{const{fontSize:ze,lineHeight:yn,fontSizeSM:Xn,lineWidth:ei}=et;return{indicatorZIndex:"auto",indicatorHeight:Math.round(ze*yn)-2*ei,indicatorHeightSM:ze,dotSize:Xn/2,textFontSize:Xn,textFontSizeSM:Xn,textFontWeight:"normal",statusSize:Xn/2}};var Me=(0,Ut.Z)("Badge",et=>{const ze=xe(et);return[pe(ze)]},Ae);const ke=et=>{const{antCls:ze,badgeFontHeight:yn,marginXS:Xn,badgeRibbonOffset:ei}=et,rn=`${ze}-ribbon`,xn=`${ze}-ribbon-wrapper`,Dn=(0,pt.Z)(et,(yi,qn)=>{let{darkColor:Mi}=qn;return{[`&${rn}-color-${yi}`]:{background:Mi,color:Mi}}});return{[`${xn}`]:{position:"relative"},[`${rn}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,wt.Wf)(et)),{position:"absolute",top:Xn,padding:`0 ${et.paddingXS}px`,color:et.colorPrimary,lineHeight:`${yn}px`,whiteSpace:"nowrap",backgroundColor:et.colorPrimary,borderRadius:et.borderRadiusSM,[`${rn}-text`]:{color:et.colorTextLightSolid},[`${rn}-corner`]:{position:"absolute",top:"100%",width:ei,height:ei,color:"currentcolor",border:`${ei/2}px solid`,transform:et.badgeRibbonCornerTransform,transformOrigin:"top",filter:et.badgeRibbonCornerFilter}}),Dn),{[`&${rn}-placement-end`]:{insetInlineEnd:-ei,borderEndEndRadius:0,[`${rn}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${rn}-placement-start`]:{insetInlineStart:-ei,borderEndStartRadius:0,[`${rn}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var lt=(0,Ut.Z)(["Badge","Ribbon"],et=>{const ze=xe(et);return[ke(ze)]},Ae),yt=et=>{const{className:ze,prefixCls:yn,style:Xn,color:ei,children:rn,text:xn,placement:Dn="end",rootClassName:yi}=et,{getPrefixCls:qn,direction:Mi}=kt.useContext(Ve.E_),mt=qn("ribbon",yn),ht=(0,Dt.o2)(ei,!1),gn=it()(mt,`${mt}-placement-${Dn}`,{[`${mt}-rtl`]:Mi==="rtl",[`${mt}-color-${ei}`]:ht},ze),[jt,En]=lt(mt),Fn={},ii={};return ei&&!ht&&(Fn.background=ei,ii.color=ei),jt(kt.createElement("div",{className:it()(`${mt}-wrapper`,yi,En)},rn,kt.createElement("div",{className:it()(gn,En),style:Object.assign(Object.assign({},Fn),Xn)},kt.createElement("span",{className:`${mt}-text`},xn),kt.createElement("div",{className:`${mt}-corner`,style:ii}))))};function ut(et){let{prefixCls:ze,value:yn,current:Xn,offset:ei=0}=et,rn;return ei&&(rn={position:"absolute",top:`${ei}00%`,left:0}),kt.createElement("span",{style:rn,className:it()(`${ze}-only-unit`,{current:Xn})},yn)}function Tt(et,ze,yn){let Xn=et,ei=0;for(;(Xn+10)%10!==ze;)Xn+=yn,ei+=yn;return ei}function xt(et){const{prefixCls:ze,count:yn,value:Xn}=et,ei=Number(Xn),rn=Math.abs(yn),[xn,Dn]=kt.useState(ei),[yi,qn]=kt.useState(rn),Mi=()=>{Dn(ei),qn(rn)};kt.useEffect(()=>{const gn=setTimeout(()=>{Mi()},1e3);return()=>{clearTimeout(gn)}},[ei]);let mt,ht;if(xn===ei||Number.isNaN(ei)||Number.isNaN(xn))mt=[kt.createElement(ut,Object.assign({},et,{key:ei,current:!0}))],ht={transition:"none"};else{mt=[];const gn=ei+10,jt=[];for(let ii=ei;ii<=gn;ii+=1)jt.push(ii);const En=jt.findIndex(ii=>ii%10===xn);mt=jt.map((ii,ni)=>{const mn=ii%10;return kt.createElement(ut,Object.assign({},et,{key:ii,value:mn,offset:ni-En,current:ni===En}))});const Fn=yi{const{prefixCls:yn,count:Xn,className:ei,motionClassName:rn,style:xn,title:Dn,show:yi,component:qn="sup",children:Mi}=et,mt=Nt(et,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:ht}=kt.useContext(Ve.E_),gn=ht("scroll-number",yn),jt=Object.assign(Object.assign({},mt),{"data-show":yi,style:xn,className:it()(gn,ei,rn),title:Dn});let En=Xn;if(Xn&&Number(Xn)%1===0){const Fn=String(Xn).split("");En=kt.createElement("bdi",null,Fn.map((ii,ni)=>kt.createElement(xt,{prefixCls:gn,count:Number(Xn),value:ii,key:Fn.length-ni})))}return xn&&xn.borderColor&&(jt.style=Object.assign(Object.assign({},xn),{boxShadow:`0 0 0 1px ${xn.borderColor} inset`})),Mi?(0,Wt.Tm)(Mi,Fn=>({className:it()(`${gn}-custom-component`,Fn==null?void 0:Fn.className,rn)})):kt.createElement(qn,Object.assign({},jt,{ref:ze}),En)}),Ai=function(et,ze){var yn={};for(var Xn in et)Object.prototype.hasOwnProperty.call(et,Xn)&&ze.indexOf(Xn)<0&&(yn[Xn]=et[Xn]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ei=0,Xn=Object.getOwnPropertySymbols(et);ei{var yn,Xn,ei,rn,xn;const{prefixCls:Dn,scrollNumberPrefixCls:yi,children:qn,status:Mi,text:mt,color:ht,count:gn=null,overflowCount:jt=99,dot:En=!1,size:Fn="default",title:ii,offset:ni,style:mn,className:zt,rootClassName:$e,classNames:At,styles:Yt,showZero:Ie=!1}=et,Ce=Ai(et,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:Ee,direction:Te,badge:Ue}=kt.useContext(Ve.E_),Le=Ee("badge",Dn),[rt,Sn]=Me(Le),fn=gn>jt?`${jt}+`:gn,an=fn==="0"||fn===0,qt=gn===null||an&&!Ie,fi=(Mi!=null||ht!=null)&&qt,Mn=En&&!an,On=Mn?"":fn,Hi=(0,kt.useMemo)(()=>(On==null||On===""||an&&!Ie)&&!Mn,[On,an,Ie,Mn]),Si=(0,kt.useRef)(gn);Hi||(Si.current=gn);const sr=Si.current,ro=(0,kt.useRef)(On);Hi||(ro.current=On);const Wo=ro.current,No=(0,kt.useRef)(Mn);Hi||(No.current=Mn);const Lr=(0,kt.useMemo)(()=>{if(!ni)return Object.assign(Object.assign({},Ue==null?void 0:Ue.style),mn);const to={marginTop:ni[1]};return Te==="rtl"?to.left=parseInt(ni[0],10):to.right=-parseInt(ni[0],10),Object.assign(Object.assign(Object.assign({},to),Ue==null?void 0:Ue.style),mn)},[Te,ni,mn,Ue==null?void 0:Ue.style]),Ko=ii!=null?ii:typeof sr=="string"||typeof sr=="number"?sr:void 0,Oo=Hi||!mt?null:kt.createElement("span",{className:`${Le}-status-text`},mt),So=!sr||typeof sr!="object"?void 0:(0,Wt.Tm)(sr,to=>({style:Object.assign(Object.assign({},Lr),to.style)})),Eo=(0,Dt.o2)(ht,!1),Tr=it()(At==null?void 0:At.indicator,(yn=Ue==null?void 0:Ue.classNames)===null||yn===void 0?void 0:yn.indicator,{[`${Le}-status-dot`]:fi,[`${Le}-status-${Mi}`]:!!Mi,[`${Le}-color-${ht}`]:Eo}),Be={};ht&&!Eo&&(Be.color=ht,Be.background=ht);const ya=it()(Le,{[`${Le}-status`]:fi,[`${Le}-not-a-wrapper`]:!qn,[`${Le}-rtl`]:Te==="rtl"},zt,$e,Ue==null?void 0:Ue.className,(Xn=Ue==null?void 0:Ue.classNames)===null||Xn===void 0?void 0:Xn.root,At==null?void 0:At.root,Sn);if(!qn&&fi){const to=Lr.color;return rt(kt.createElement("span",Object.assign({},Ce,{className:ya,style:Object.assign(Object.assign(Object.assign({},Yt==null?void 0:Yt.root),(ei=Ue==null?void 0:Ue.styles)===null||ei===void 0?void 0:ei.root),Lr)}),kt.createElement("span",{className:Tr,style:Object.assign(Object.assign(Object.assign({},Yt==null?void 0:Yt.indicator),(rn=Ue==null?void 0:Ue.styles)===null||rn===void 0?void 0:rn.indicator),Be)}),mt&&kt.createElement("span",{style:{color:to},className:`${Le}-status-text`},mt)))}return rt(kt.createElement("span",Object.assign({ref:ze},Ce,{className:ya,style:Object.assign(Object.assign({},(xn=Ue==null?void 0:Ue.styles)===null||xn===void 0?void 0:xn.root),Yt==null?void 0:Yt.root)}),qn,kt.createElement(Mt.default,{visible:!Hi,motionName:`${Le}-zoom`,motionAppear:!1,motionDeadline:1e3},to=>{let{className:zn,ref:Vi}=to;var Wi,mi;const Jn=Ee("scroll-number",yi),nr=No.current,tn=it()(At==null?void 0:At.indicator,(Wi=Ue==null?void 0:Ue.classNames)===null||Wi===void 0?void 0:Wi.indicator,{[`${Le}-dot`]:nr,[`${Le}-count`]:!nr,[`${Le}-count-sm`]:Fn==="small",[`${Le}-multiple-words`]:!nr&&Wo&&Wo.toString().length>1,[`${Le}-status-${Mi}`]:!!Mi,[`${Le}-color-${ht}`]:Eo});let _t=Object.assign(Object.assign(Object.assign({},Yt==null?void 0:Yt.indicator),(mi=Ue==null?void 0:Ue.styles)===null||mi===void 0?void 0:mi.indicator),Lr);return ht&&!Eo&&(_t=_t||{},_t.background=ht),kt.createElement(vn,{prefixCls:Jn,show:!Hi,motionClassName:zn,className:tn,count:Wo,title:Ko,style:_t,key:"scrollNumber",ref:Vi},So)}),Oo))},kn=kt.forwardRef(hi);kn.Ribbon=yt;var ci=kn},19842:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return to}});var ue=Pe(80702),it=Pe(59301),Mt=Pe(33853),kt=Pe(58617),Dt=Pe(38819),Wt=Pe(92310),Ve=Pe.n(Wt),bt=Pe(72308),wt=Pe(52487),pt=Pe(74416),St=Pe(77861),Ut=Pe(17115),Zt=Pe(90782),Oe=Pe(6089),te=Pe(18929),ne=it.createContext(null),de=ne,le=Pe(62853),pe=Pe(49618),xe=Pe(77321),Ae="__rc_cascader_search_mark__",Me=function(Vi,Wi,mi){var Jn=mi.label;return Wi.some(function(nr){return String(nr[Jn]).toLowerCase().includes(Vi.toLowerCase())})},ke=function(Vi,Wi,mi,Jn){return Wi.map(function(nr){return nr[Jn.label]}).join(" / ")},lt=function(zn,Vi,Wi,mi,Jn,nr){var tn=Jn.filter,_t=tn===void 0?Me:tn,Rt=Jn.render,Li=Rt===void 0?ke:Rt,yr=Jn.limit,Oi=yr===void 0?50:yr,Zn=Jn.sort;return it.useMemo(function(){var ki=[];if(!zn)return[];function Vr(br,Br){var Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;br.forEach(function(Di){if(!(!Zn&&Oi!==!1&&Oi>0&&ki.length>=Oi)){var Cn=[].concat((0,ue.Z)(Br),[Di]),Kn=Di[Wi.children],Lt=Et||Di.disabled;if((!Kn||Kn.length===0||nr)&&_t(zn,Cn,{label:Wi.label})){var Ft;ki.push((0,xe.Z)((0,xe.Z)({},Di),{},(Ft={disabled:Lt},(0,pe.Z)(Ft,Wi.label,Li(zn,Cn,mi,Wi)),(0,pe.Z)(Ft,Ae,Cn),(0,pe.Z)(Ft,Wi.children,void 0),Ft)))}Kn&&Vr(Di[Wi.children],Cn,Lt)}})}return Vr(Vi,[]),Zn&&ki.sort(function(br,Br){return Zn(br[Ae],Br[Ae],zn,Wi)}),Oi!==!1&&Oi>0?ki.slice(0,Oi):ki},[zn,Vi,Wi,mi,Li,nr,_t,Zn,Oi])},dt="__RC_CASCADER_SPLIT__",yt="SHOW_PARENT",ut="SHOW_CHILD";function Tt(zn){return zn.join(dt)}function xt(zn){return zn.map(Tt)}function Nt(zn){return zn.split(dt)}function Jt(zn){var Vi=zn||{},Wi=Vi.label,mi=Vi.value,Jn=Vi.children,nr=mi||"value";return{label:Wi||"label",value:nr,key:nr,children:Jn||"children"}}function vn(zn,Vi){var Wi,mi;return(Wi=zn.isLeaf)!==null&&Wi!==void 0?Wi:!((mi=zn[Vi.children])!==null&&mi!==void 0&&mi.length)}function Ai(zn){var Vi=zn.parentElement;if(Vi){var Wi=zn.offsetTop-Vi.offsetTop;Wi-Vi.scrollTop<0?Vi.scrollTo({top:Wi}):Wi+zn.offsetHeight-Vi.scrollTop>Vi.offsetHeight&&Vi.scrollTo({top:Wi+zn.offsetHeight-Vi.offsetHeight})}}function hi(zn,Vi){return zn.map(function(Wi){var mi;return(mi=Wi[Ae])===null||mi===void 0?void 0:mi.map(function(Jn){return Jn[Vi.value]})})}function kn(zn,Vi,Wi){var mi=new Set(zn),Jn=Vi();return zn.filter(function(nr){var tn=Jn[nr],_t=tn?tn.parent:null,Rt=tn?tn.children:null;return tn&&tn.node.disabled?!0:Wi===ut?!(Rt&&Rt.some(function(Li){return Li.key&&mi.has(Li.key)})):!(_t&&!_t.node.disabled&&mi.has(_t.key))})}function ci(zn,Vi,Wi){for(var mi=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Jn=Vi,nr=[],tn=function(){var Li,yr,Oi,Zn=zn[_t],ki=(Li=Jn)===null||Li===void 0?void 0:Li.findIndex(function(br){var Br=br[Wi.value];return mi?String(Br)===String(Zn):Br===Zn}),Vr=ki!==-1?(yr=Jn)===null||yr===void 0?void 0:yr[ki]:null;nr.push({value:(Oi=Vr==null?void 0:Vr[Wi.value])!==null&&Oi!==void 0?Oi:Zn,index:ki,option:Vr}),Jn=Vr==null?void 0:Vr[Wi.children]},_t=0;_t1){var un=Vr.slice(0,-1);Di(un)}else Li(!1)},Lt=function(){var un,Sr=((un=Br[br])===null||un===void 0?void 0:un[Wi.children])||[],Ii=Sr.find(function(si){return!si.disabled});if(Ii){var Ri=[].concat((0,ue.Z)(Vr),[Ii[Wi.value]]);Di(Ri)}};it.useImperativeHandle(zn,function(){return{onKeyDown:function(un){var Sr=un.which;switch(Sr){case ht.Z.UP:case ht.Z.DOWN:{var Ii=0;Sr===ht.Z.UP?Ii=-1:Sr===ht.Z.DOWN&&(Ii=1),Ii!==0&&Cn(Ii);break}case ht.Z.LEFT:{if(Rt)break;Oi?Lt():Kn();break}case ht.Z.RIGHT:{if(Rt)break;Oi?Kn():Lt();break}case ht.Z.BACKSPACE:{Rt||Kn();break}case ht.Z.ENTER:{if(Vr.length){var Ri=Br[br],si=(Ri==null?void 0:Ri[Ae])||[];si.length?nr(si.map(function(Ti){return Ti[Wi.value]}),si[si.length-1]):nr(Vr,Br[br])}break}case ht.Z.ESC:Li(!1),yr&&un.stopPropagation()}},onKeyUp:function(){}}})},jt=it.forwardRef(function(zn,Vi){var Wi,mi,Jn,nr,tn=(0,St.lk)(),_t=tn.prefixCls,Rt=tn.multiple,Li=tn.searchValue,yr=tn.toggleOpen,Oi=tn.notFoundContent,Zn=tn.direction,ki=tn.open,Vr=it.useRef(),br=Zn==="rtl",Br=it.useContext(de),Et=Br.options,Di=Br.values,Cn=Br.halfValues,Kn=Br.fieldNames,Lt=Br.changeOnSelect,Ft=Br.onSelect,un=Br.searchOptions,Sr=Br.dropdownPrefixCls,Ii=Br.loadData,Ri=Br.expandTrigger,si=Sr||_t,Ti=it.useState([]),Jr=(0,wt.Z)(Ti,2),Qr=Jr[0],Lo=Jr[1],Nn=function(fr){if(!(!Ii||Li)){var Bo=ci(fr,Et,Kn),Zr=Bo.map(function(oo){var Bn=oo.option;return Bn}),Zi=Zr[Zr.length-1];if(Zi&&!vn(Zi,Kn)){var xr=Tt(fr);Lo(function(oo){return[].concat((0,ue.Z)(oo),[xr])}),Ii(Zr)}}};it.useEffect(function(){Qr.length&&Qr.forEach(function(Or){var fr=Nt(Or),Bo=ci(fr,Et,Kn,!0).map(function(Zi){var xr=Zi.option;return xr}),Zr=Bo[Bo.length-1];(!Zr||Zr[Kn.children]||vn(Zr,Kn))&&Lo(function(Zi){return Zi.filter(function(xr){return xr!==Or})})})},[Et,Qr,Kn]);var ja=it.useMemo(function(){return new Set(xt(Di))},[Di]),co=it.useMemo(function(){return new Set(xt(Cn))},[Cn]),Kr=mt(),sn=(0,wt.Z)(Kr,2),Vt=sn[0],hn=sn[1],Xt=function(fr){hn(fr),Nn(fr)},Vn=function(fr){var Bo=fr.disabled,Zr=vn(fr,Kn);return!Bo&&(Zr||Lt||Rt)},er=function(fr,Bo){var Zr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Ft(fr),!Rt&&(Bo||Lt&&(Ri==="hover"||Zr))&&yr(!1)},lr=it.useMemo(function(){return Li?un:Et},[Li,un,Et]),ui=it.useMemo(function(){for(var Or=[{options:lr}],fr=lr,Bo=hi(fr,Kn),Zr=function(){var Bn=Vt[Zi],gi=fr.find(function(Io,no){return(Bo[no]?Tt(Bo[no]):Io[Kn.value])===Bn}),Ze=gi==null?void 0:gi[Kn.children];if(!(Ze!=null&&Ze.length))return"break";fr=Ze,Or.push({options:Ze})},Zi=0;Zi":Qr,Nn=zn.loadingIcon,ja=zn.children,co=zn.dropdownMatchSelectWidth,Kr=co===void 0?!1:co,sn=zn.showCheckedStrategy,Vt=sn===void 0?yt:sn,hn=(0,pt.Z)(zn,mn),Xt=(0,Ut.ZP)(Wi),Vn=!!Oi,er=(0,te.Z)(tn,{value:_t,postState:$e}),lr=(0,wt.Z)(er,2),ui=lr[0],Ci=lr[1],Yn=it.useMemo(function(){return Jt(nr)},[JSON.stringify(nr)]),ln=it.useMemo(function(){return Di||[]},[Di]),_r=yn(ln,Yn),Rn=it.useCallback(function(Xa){var ua=_r();return Xa.map(function(Ta){var Ls=ua[Ta].nodes;return Ls.map(function(ll){return ll[Yn.value]})})},[_r,Yn]),Ir=(0,te.Z)("",{value:Vr,postState:function(ua){return ua||""}}),Or=(0,wt.Z)(Ir,2),fr=Or[0],Bo=Or[1],Zr=function(ua,Ta){Bo(ua),Ta.source!=="blur"&&br&&br(ua)},Zi=rn(Br),xr=(0,wt.Z)(Zi,2),oo=xr[0],Bn=xr[1],gi=lt(fr,ln,Yn,Cn||Jn,Bn,Rt),Ze=Xn(ln,Yn),Io=it.useMemo(function(){var Xa=Ze(ui),ua=(0,wt.Z)(Xa,2),Ta=ua[0],Ls=ua[1];if(!Vn||!ui.length)return[Ta,[],Ls];var ll=xt(Ta),on=_r(),Va=(0,Zt.S)(ll,!0,on),nn=Va.checkedKeys,Ss=Va.halfCheckedKeys;return[Rn(nn),Rn(Ss),Ls]},[Vn,ui,_r,Rn,Ze]),no=(0,wt.Z)(Io,3),rr=no[0],qi=no[1],Qi=no[2],aa=it.useMemo(function(){var Xa=xt(rr),ua=kn(Xa,_r,Vt);return[].concat((0,ue.Z)(Qi),(0,ue.Z)(Rn(ua)))},[rr,_r,Rn,Qi,Vt]),ys=et(aa,ln,Yn,Vn,yr),bs=(0,Oe.Z)(function(Xa){if(Ci(Xa),Li){var ua=$e(Xa),Ta=ua.map(function(on){return ci(on,ln,Yn).map(function(Va){return Va.option})}),Ls=Vn?ua:ua[0],ll=Vn?Ta:Ta[0];Li(Ls,ll)}}),_o=(0,Oe.Z)(function(Xa){if((!Vn||ki)&&Bo(""),!Vn)bs(Xa);else{var ua=Tt(Xa),Ta=xt(rr),Ls=xt(qi),ll=Ta.includes(ua),on=Qi.some(function(Nl){return Tt(Nl)===ua}),Va=rr,nn=Qi;if(on&&!ll)nn=Qi.filter(function(Nl){return Tt(Nl)!==ua});else{var Ss=ll?Ta.filter(function(Nl){return Nl!==ua}):[].concat((0,ue.Z)(Ta),[ua]),yu=_r(),fl;if(ll){var Vl=(0,Zt.S)(Ss,{checked:!1,halfCheckedKeys:Ls},yu);fl=Vl.checkedKeys}else{var is=(0,Zt.S)(Ss,!0,yu);fl=is.checkedKeys}var kl=kn(fl,_r,Vt);Va=Rn(kl)}bs([].concat((0,ue.Z)(nn),(0,ue.Z)(Va)))}}),Ea=function(ua,Ta){if(Ta.type==="clear"){bs([]);return}var Ls=Ta.values[0],ll=Ls.valueCells;_o(ll)},za=Ft!==void 0?Ft:Lt,kr=Sr||un,Rr=si||Ri,pi=function(ua){Ti==null||Ti(ua),Jr==null||Jr(ua)},ho=it.useMemo(function(){return{options:ln,fieldNames:Yn,values:rr,halfValues:qi,changeOnSelect:Rt,onSelect:_o,checkable:Oi,searchOptions:gi,dropdownPrefixCls:Cn,loadData:Kn,expandTrigger:Et,expandIcon:Lo,loadingIcon:Nn,dropdownMenuColumnStyle:Ii}},[ln,Yn,rr,qi,Rt,_o,Oi,gi,Cn,Kn,Et,Lo,Nn,Ii]),Ba=!(fr?gi:ln).length,Ws=fr&&Bn.matchInputWidth||Ba?{}:{minWidth:"auto"};return it.createElement(de.Provider,{value:ho},it.createElement(St.Ac,(0,bt.Z)({},hn,{ref:Vi,id:Xt,prefixCls:Jn,autoClearSearchValue:ki,dropdownMatchSelectWidth:Kr,dropdownStyle:Ws,displayValues:ys,onDisplayValuesChange:Ea,mode:Vn?"multiple":void 0,searchValue:fr,onSearch:Zr,showSearch:oo,OptionList:En,emptyOptions:Ba,open:za,dropdownClassName:kr,placement:Rr,onDropdownVisibleChange:pi,getRawInputElement:function(){return ja}})))});At.SHOW_PARENT=yt,At.SHOW_CHILD=ut;var Yt=At,Ie=Yt,Ce=Pe(2738),Ee=Pe(62892),Te=Pe(53487),Ue=Pe(19080),Le=Pe(36355),rt=Pe(93891),Sn=Pe(1684),fn=Pe(19716),an=Pe(32441),qt=Pe(14154),fi=Pe(58582),Mn=Pe(84443),On=Pe(66339),Hi=Pe(33234),Si=Pe(98447),sr=Pe(17313),ro=Pe(74207),Wo=Pe(83116);const No=zn=>{const{prefixCls:Vi,componentCls:Wi,antCls:mi}=zn,Jn=`${Wi}-menu-item`,nr=` - &${Jn}-expand ${Jn}-expand-icon, - ${Jn}-loading-icon - `;return[{[Wi]:{width:zn.controlWidth}},{[`${Wi}-dropdown`]:[(0,Si.C2)(`${Vi}-checkbox`,zn),{[`&${mi}-select-dropdown`]:{padding:0}},{[Wi]:{"&-checkbox":{top:0,marginInlineEnd:zn.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Wi}-menu-empty`]:{[`${Wi}-menu`]:{width:"100%",height:"auto",[Jn]:{color:zn.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:zn.controlItemWidth,height:zn.dropdownHeight,margin:0,padding:zn.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${zn.lineWidth}px ${zn.lineType} ${zn.colorSplit}`},"&-item":Object.assign(Object.assign({},sr.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:zn.optionPadding,lineHeight:zn.lineHeight,cursor:"pointer",transition:`all ${zn.motionDurationMid}`,borderRadius:zn.borderRadiusSM,"&:hover":{background:zn.controlItemBgHover},"&-disabled":{color:zn.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[nr]:{color:zn.colorTextDisabled}},[`&-active:not(${Jn}-disabled)`]:{"&, &:hover":{fontWeight:zn.optionSelectedFontWeight,backgroundColor:zn.optionSelectedBg}},"&-content":{flex:"auto"},[nr]:{marginInlineStart:zn.paddingXXS,color:zn.colorTextDescription,fontSize:zn.fontSizeIcon},"&-keyword":{color:zn.colorHighlight}})}}}]},{[`${Wi}-dropdown-rtl`]:{direction:"rtl"}},(0,ro.c)(zn)]};var Lr=(0,Wo.Z)("Cascader",zn=>[No(zn)],zn=>{const Vi=Math.round((zn.controlHeight-zn.fontSize*zn.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:zn.controlItemBgActive,optionSelectedFontWeight:zn.fontWeightStrong,optionPadding:`${Vi}px ${zn.paddingSM}px`,menuPadding:zn.paddingXXS}}),Ko=function(zn,Vi){var Wi={};for(var mi in zn)Object.prototype.hasOwnProperty.call(zn,mi)&&Vi.indexOf(mi)<0&&(Wi[mi]=zn[mi]);if(zn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jn=0,mi=Object.getOwnPropertySymbols(zn);JnRt===0?[_t]:[].concat((0,ue.Z)(tn),[Vi,_t]),[]),Jn=[];let nr=0;return mi.forEach((tn,_t)=>{const Rt=nr+tn.length;let Li=zn.slice(nr,Rt);nr=Rt,_t%2===1&&(Li=it.createElement("span",{className:`${Wi}-menu-item-keyword`,key:`separator-${_t}`},Li)),Jn.push(Li)}),Jn}const Tr=(zn,Vi,Wi,mi)=>{const Jn=[],nr=zn.toLowerCase();return Vi.forEach((tn,_t)=>{_t!==0&&Jn.push(" / ");let Rt=tn[mi.label];const Li=typeof Rt;(Li==="string"||Li==="number")&&(Rt=Eo(String(Rt),nr,Wi)),Jn.push(Rt)}),Jn},Be=it.forwardRef((zn,Vi)=>{const{prefixCls:Wi,size:mi,disabled:Jn,className:nr,rootClassName:tn,multiple:_t,bordered:Rt=!0,transitionName:Li,choiceTransitionName:yr="",popupClassName:Oi,dropdownClassName:Zn,expandIcon:ki,placement:Vr,showSearch:br,allowClear:Br=!0,notFoundContent:Et,direction:Di,getPopupContainer:Cn,status:Kn,showArrow:Lt,builtinPlacements:Ft,style:un}=zn,Sr=Ko(zn,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Ii=(0,Ce.Z)(Sr,["suffixIcon"]),{getPopupContainer:Ri,getPrefixCls:si,renderEmpty:Ti,direction:Jr,popupOverflow:Qr,cascader:Lo}=it.useContext(Le.E_),Nn=Di||Jr,ja=Nn==="rtl",{status:co,hasFeedback:Kr,isFormItemInput:sn,feedbackIcon:Vt}=it.useContext(an.aM),hn=(0,Ue.F)(co,Kn),Xt=Et||(Ti==null?void 0:Ti("Cascader"))||it.createElement(rt.Z,{componentName:"Cascader"}),Vn=si(),er=si("select",Wi),lr=si("cascader",Wi),[ui,Ci]=(0,qt.Z)(er),[Yn]=Lr(lr),{compactSize:ln,compactItemClassnames:_r}=(0,Hi.ri)(er,Di),Rn=Ve()(Oi||Zn,`${lr}-dropdown`,{[`${lr}-dropdown-rtl`]:Nn==="rtl"},tn,Ci),Ir=it.useMemo(()=>{if(!br)return br;let Qi={render:Tr};return typeof br=="object"&&(Qi=Object.assign(Object.assign({},Qi),br)),Qi},[br]),Or=(0,fn.Z)(Qi=>{var aa;return(aa=mi!=null?mi:ln)!==null&&aa!==void 0?aa:Qi}),fr=it.useContext(Sn.Z),Bo=Jn!=null?Jn:fr;let Zr=ki;ki||(Zr=ja?it.createElement(Mt.Z,null):it.createElement(Dt.Z,null));const Zi=it.createElement("span",{className:`${er}-menu-item-loading-icon`},it.createElement(kt.Z,{spin:!0})),xr=it.useMemo(()=>_t?it.createElement("span",{className:`${lr}-checkbox-inner`}):!1,[_t]),oo=(0,Mn.Z)(zn.suffixIcon,Lt),{suffixIcon:Bn,removeIcon:gi,clearIcon:Ze}=(0,On.Z)(Object.assign(Object.assign({},zn),{hasFeedback:Kr,feedbackIcon:Vt,showSuffixIcon:oo,multiple:_t,prefixCls:er,componentName:"Cascader"})),Io=it.useMemo(()=>Vr!==void 0?Vr:ja?"bottomRight":"bottomLeft",[Vr,ja]),no=(0,fi.Z)(Ft,Qr),rr=Br===!0?{clearIcon:Ze}:Br,qi=it.createElement(Ie,Object.assign({prefixCls:er,className:Ve()(!Wi&&lr,{[`${er}-lg`]:Or==="large",[`${er}-sm`]:Or==="small",[`${er}-rtl`]:ja,[`${er}-borderless`]:!Rt,[`${er}-in-form-item`]:sn},(0,Ue.Z)(er,hn,Kr),_r,Lo==null?void 0:Lo.className,nr,tn,Ci),disabled:Bo,style:Object.assign(Object.assign({},Lo==null?void 0:Lo.style),un)},Ii,{builtinPlacements:no,direction:Nn,placement:Io,notFoundContent:Xt,allowClear:rr,showSearch:Ir,expandIcon:Zr,suffixIcon:Bn,removeIcon:gi,loadingIcon:Zi,checkable:xr,dropdownClassName:Rn,dropdownPrefixCls:Wi||lr,choiceTransitionName:(0,Ee.m)(Vn,"",yr),transitionName:(0,Ee.m)(Vn,"slide-up",Li),getPopupContainer:Cn||Ri,ref:Vi}));return Yn(ui(qi))}),ya=(0,Te.Z)(Be);Be.SHOW_PARENT=So,Be.SHOW_CHILD=Oo,Be._InternalPanelDoNotUseOrYouWillBeFired=ya;var to=Be},36381:function(en,jn,Pe){"use strict";Pe.d(jn,{default:function(){return gn}});var ue=Pe(38819),it=Pe(92310),Mt=Pe.n(it),kt=Pe(72308),Dt=Pe(80702),Wt=Pe(52487),Ve=Pe(62853),bt=Pe(18929),wt=Pe(48736),pt=Pe(59301),St=Pe(74416),Ut=Pe(11592),Zt=Pe(49618),Oe=Pe(77900),te=Pe(10228),ne=pt.forwardRef(function(jt,En){var Fn=jt.prefixCls,ii=jt.forceRender,ni=jt.className,mn=jt.style,zt=jt.children,$e=jt.isActive,At=jt.role,Yt=pt.useState($e||ii),Ie=(0,Wt.Z)(Yt,2),Ce=Ie[0],Ee=Ie[1];return pt.useEffect(function(){(ii||$e)&&Ee(!0)},[ii,$e]),Ce?pt.createElement("div",{ref:En,className:Mt()("".concat(Fn,"-content"),(0,Zt.Z)((0,Zt.Z)({},"".concat(Fn,"-content-active"),$e),"".concat(Fn,"-content-inactive"),!$e),ni),style:mn,role:At},pt.createElement("div",{className:"".concat(Fn,"-content-box")},zt)):null});ne.displayName="PanelContent";var de=ne,le=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],pe=pt.forwardRef(function(jt,En){var Fn=jt.showArrow,ii=Fn===void 0?!0:Fn,ni=jt.headerClass,mn=jt.isActive,zt=jt.onItemClick,$e=jt.forceRender,At=jt.className,Yt=jt.prefixCls,Ie=jt.collapsible,Ce=jt.accordion,Ee=jt.panelKey,Te=jt.extra,Ue=jt.header,Le=jt.expandIcon,rt=jt.openMotion,Sn=jt.destroyInactivePanel,fn=jt.children,an=(0,St.Z)(jt,le),qt=Ie==="disabled",fi=Ie==="header",Mn=Ie==="icon",On=Te!=null&&typeof Te!="boolean",Hi=function(){zt==null||zt(Ee)},Si=function(Ko){(Ko.key==="Enter"||Ko.keyCode===te.Z.ENTER||Ko.which===te.Z.ENTER)&&Hi()},sr=typeof Le=="function"?Le(jt):pt.createElement("i",{className:"arrow"});sr&&(sr=pt.createElement("div",{className:"".concat(Yt,"-expand-icon"),onClick:["header","icon"].includes(Ie)?Hi:void 0},sr));var ro=Mt()((0,Zt.Z)((0,Zt.Z)((0,Zt.Z)({},"".concat(Yt,"-item"),!0),"".concat(Yt,"-item-active"),mn),"".concat(Yt,"-item-disabled"),qt),At),Wo=Mt()(ni,(0,Zt.Z)((0,Zt.Z)((0,Zt.Z)({},"".concat(Yt,"-header"),!0),"".concat(Yt,"-header-collapsible-only"),fi),"".concat(Yt,"-icon-collapsible-only"),Mn)),No={className:Wo,"aria-expanded":mn,"aria-disabled":qt,onKeyDown:Si};return!fi&&!Mn&&(No.onClick=Hi,No.role=Ce?"tab":"button",No.tabIndex=qt?-1:0),pt.createElement("div",(0,kt.Z)({},an,{ref:En,className:ro}),pt.createElement("div",No,ii&&sr,pt.createElement("span",{className:"".concat(Yt,"-header-text"),onClick:Ie==="header"?Hi:void 0},Ue),On&&pt.createElement("div",{className:"".concat(Yt,"-extra")},Te)),pt.createElement(Oe.default,(0,kt.Z)({visible:mn,leavedClassName:"".concat(Yt,"-content-hidden")},rt,{forceRender:$e,removeOnLeave:Sn}),function(Lr,Ko){var Oo=Lr.className,So=Lr.style;return pt.createElement(de,{ref:Ko,prefixCls:Yt,className:Oo,style:So,isActive:mn,forceRender:$e,role:Ce?"tabpanel":void 0},fn)}))}),xe=pe,Ae=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],Me=function(En,Fn){var ii=Fn.prefixCls,ni=Fn.accordion,mn=Fn.collapsible,zt=Fn.destroyInactivePanel,$e=Fn.onItemClick,At=Fn.activeKey,Yt=Fn.openMotion,Ie=Fn.expandIcon;return En.map(function(Ce,Ee){var Te=Ce.children,Ue=Ce.label,Le=Ce.key,rt=Ce.collapsible,Sn=Ce.onItemClick,fn=Ce.destroyInactivePanel,an=(0,St.Z)(Ce,Ae),qt=String(Le!=null?Le:Ee),fi=rt!=null?rt:mn,Mn=fn!=null?fn:zt,On=function(sr){fi!=="disabled"&&($e(sr),Sn==null||Sn(sr))},Hi=!1;return ni?Hi=At[0]===qt:Hi=At.indexOf(qt)>-1,pt.createElement(xe,(0,kt.Z)({},an,{prefixCls:ii,key:qt,panelKey:qt,isActive:Hi,accordion:ni,openMotion:Yt,expandIcon:Ie,header:Ue,collapsible:fi,onItemClick:On,destroyInactivePanel:Mn}),Te)})},ke=function(En,Fn,ii){if(!En)return null;var ni=ii.prefixCls,mn=ii.accordion,zt=ii.collapsible,$e=ii.destroyInactivePanel,At=ii.onItemClick,Yt=ii.activeKey,Ie=ii.openMotion,Ce=ii.expandIcon,Ee=En.key||String(Fn),Te=En.props,Ue=Te.header,Le=Te.headerClass,rt=Te.destroyInactivePanel,Sn=Te.collapsible,fn=Te.onItemClick,an=!1;mn?an=Yt[0]===Ee:an=Yt.indexOf(Ee)>-1;var qt=Sn!=null?Sn:zt,fi=function(Hi){qt!=="disabled"&&(At(Hi),fn==null||fn(Hi))},Mn={key:Ee,panelKey:Ee,header:Ue,headerClass:Le,isActive:an,prefixCls:ni,destroyInactivePanel:rt!=null?rt:$e,openMotion:Ie,accordion:mn,children:En.props.children,onItemClick:fi,expandIcon:Ce,collapsible:qt};return typeof En.type=="string"?En:(Object.keys(Mn).forEach(function(On){typeof Mn[On]=="undefined"&&delete Mn[On]}),pt.cloneElement(En,Mn))};function lt(jt,En,Fn){return Array.isArray(jt)?Me(jt,Fn):(0,Ut.Z)(En).map(function(ii,ni){return ke(ii,ni,Fn)})}var dt=lt,yt=Pe(26112);function ut(jt){var En=jt;if(!Array.isArray(En)){var Fn=(0,Ve.Z)(En);En=Fn==="number"||Fn==="string"?[En]:[]}return En.map(function(ii){return String(ii)})}var Tt=pt.forwardRef(function(jt,En){var Fn=jt.prefixCls,ii=Fn===void 0?"rc-collapse":Fn,ni=jt.destroyInactivePanel,mn=ni===void 0?!1:ni,zt=jt.style,$e=jt.accordion,At=jt.className,Yt=jt.children,Ie=jt.collapsible,Ce=jt.openMotion,Ee=jt.expandIcon,Te=jt.activeKey,Ue=jt.defaultActiveKey,Le=jt.onChange,rt=jt.items,Sn=Mt()(ii,At),fn=(0,bt.Z)([],{value:Te,onChange:function(Si){return Le==null?void 0:Le(Si)},defaultValue:Ue,postState:ut}),an=(0,Wt.Z)(fn,2),qt=an[0],fi=an[1],Mn=function(Si){return fi(function(){if($e)return qt[0]===Si?[]:[Si];var sr=qt.indexOf(Si),ro=sr>-1;return ro?qt.filter(function(Wo){return Wo!==Si}):[].concat((0,Dt.Z)(qt),[Si])})};(0,wt.ZP)(!Yt,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var On=dt(rt,Yt,{prefixCls:ii,accordion:$e,openMotion:Ce,expandIcon:Ee,collapsible:Ie,destroyInactivePanel:mn,onItemClick:Mn,activeKey:qt});return pt.createElement("div",(0,kt.Z)({ref:En,className:Sn,style:zt,role:$e?"tablist":void 0},(0,yt.Z)(jt,{aria:!0,data:!0})),On)}),xt=Object.assign(Tt,{Panel:xe}),Nt=xt,Jt=xt.Panel,vn=Pe(2738),Ai=Pe(62892),hi=Pe(92343),kn=Pe(36355),ci=Pe(19716),ze=pt.forwardRef((jt,En)=>{const{getPrefixCls:Fn}=pt.useContext(kn.E_),{prefixCls:ii,className:ni,showArrow:mn=!0}=jt,zt=Fn("collapse",ii),$e=Mt()({[`${zt}-no-arrow`]:!mn},ni);return pt.createElement(Nt.Panel,Object.assign({ref:En},jt,{prefixCls:zt,className:$e}))}),yn=Pe(17313),Xn=Pe(8378),ei=Pe(83116),rn=Pe(37613);const xn=jt=>{const{componentCls:En,contentBg:Fn,padding:ii,headerBg:ni,headerPadding:mn,collapseHeaderPaddingSM:zt,collapseHeaderPaddingLG:$e,collapsePanelBorderRadius:At,lineWidth:Yt,lineType:Ie,colorBorder:Ce,colorText:Ee,colorTextHeading:Te,colorTextDisabled:Ue,fontSize:Le,fontSizeLG:rt,lineHeight:Sn,marginSM:fn,paddingSM:an,paddingLG:qt,paddingXS:fi,motionDurationSlow:Mn,fontSizeIcon:On,contentPadding:Hi}=jt,Si=`${Yt}px ${Ie} ${Ce}`;return{[En]:Object.assign(Object.assign({},(0,yn.Wf)(jt)),{backgroundColor:ni,border:Si,borderBottom:0,borderRadius:`${At}px`,"&-rtl":{direction:"rtl"},[`& > ${En}-item`]:{borderBottom:Si,"&:last-child":{[` + margin-bottom ${et} ${Dn}`},[`&${ci}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${ci}-with-description`]:{alignItems:"flex-start",padding:mt,[`${ci}-icon`]:{marginInlineEnd:yn,fontSize:yi,lineHeight:0},[`${ci}-message`]:{display:"block",marginBottom:ze,color:Mi,fontSize:ei},[`${ci}-description`]:{display:"block",color:qn}},[`${ci}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},de=kn=>{const{componentCls:ci,colorSuccess:et,colorSuccessBorder:ze,colorSuccessBg:yn,colorWarning:Xn,colorWarningBorder:ei,colorWarningBg:on,colorError:xn,colorErrorBorder:Dn,colorErrorBg:yi,colorInfo:qn,colorInfoBorder:Mi,colorInfoBg:mt}=kn;return{[ci]:{"&-success":te(yn,ze,et,kn,ci),"&-info":te(mt,Mi,qn,kn,ci),"&-warning":te(on,ei,Xn,kn,ci),"&-error":Object.assign(Object.assign({},te(yi,Dn,xn,kn,ci)),{[`${ci}-description > pre`]:{margin:0,padding:0}})}}},le=kn=>{const{componentCls:ci,iconCls:et,motionDurationMid:ze,marginXS:yn,fontSizeIcon:Xn,colorIcon:ei,colorIconHover:on}=kn;return{[ci]:{"&-action":{marginInlineStart:yn},[`${ci}-close-icon`]:{marginInlineStart:yn,padding:0,overflow:"hidden",fontSize:Xn,lineHeight:`${Xn}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${et}-close`]:{color:ei,transition:`color ${ze}`,"&:hover":{color:on}}},"&-close-text":{color:ei,transition:`color ${ze}`,"&:hover":{color:on}}}}},pe=kn=>[ne(kn),de(kn),le(kn)];var xe=(0,Oe.Z)("Alert",kn=>[pe(kn)],kn=>({withDescriptionIconSize:kn.fontSizeHeading3,defaultPadding:`${kn.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${kn.paddingMD}px ${kn.paddingContentHorizontalLG}px`})),Ae=function(kn,ci){var et={};for(var ze in kn)Object.prototype.hasOwnProperty.call(kn,ze)&&ci.indexOf(ze)<0&&(et[ze]=kn[ze]);if(kn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yn=0,ze=Object.getOwnPropertySymbols(kn);yn{const{icon:ci,prefixCls:et,type:ze}=kn,yn=Me[ze]||null;return ci?(0,St.wm)(ci,pt.createElement("span",{className:`${et}-icon`},ci),()=>({className:Ve()(`${et}-icon`,{[ci.props.className]:ci.props.className})})):pt.createElement(yn,{className:`${et}-icon`})},lt=kn=>{const{isClosable:ci,prefixCls:et,closeIcon:ze,handleClose:yn}=kn,Xn=ze===!0||ze===void 0?pt.createElement(Mt.Z,null):ze;return ci?pt.createElement("button",{type:"button",onClick:yn,className:`${et}-close-icon`,tabIndex:0},Xn):null};var yt=kn=>{const{description:ci,prefixCls:et,message:ze,banner:yn,className:Xn,rootClassName:ei,style:on,onMouseEnter:xn,onMouseLeave:Dn,onClick:yi,afterClose:qn,showIcon:Mi,closable:mt,closeText:ht,closeIcon:gn,action:jt}=kn,En=Ae(kn,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[Fn,ri]=pt.useState(!1),ni=pt.useRef(null),{getPrefixCls:mn,direction:zt,alert:$e}=pt.useContext(Ut.E_),At=mn("alert",et),[Yt,Ie]=xe(At),Ce=Sn=>{var fn;ri(!0),(fn=kn.onClose)===null||fn===void 0||fn.call(kn,Sn)},Ee=pt.useMemo(()=>kn.type!==void 0?kn.type:yn?"warning":"info",[kn.type,yn]),Te=pt.useMemo(()=>ht?!0:typeof mt=="boolean"?mt:gn!==!1&&gn!==null&&gn!==void 0,[ht,gn,mt]),Ue=yn&&Mi===void 0?!0:Mi,Le=Ve()(At,`${At}-${Ee}`,{[`${At}-with-description`]:!!ci,[`${At}-no-icon`]:!Ue,[`${At}-banner`]:!!yn,[`${At}-rtl`]:zt==="rtl"},$e==null?void 0:$e.className,Xn,ei,Ie),rt=(0,wt.Z)(En,{aria:!0,data:!0});return Yt(pt.createElement(bt.default,{visible:!Fn,motionName:`${At}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:Sn=>({maxHeight:Sn.offsetHeight}),onLeaveEnd:qn},Sn=>{let{className:fn,style:an}=Sn;return pt.createElement("div",Object.assign({ref:ni,"data-show":!Fn,className:Ve()(Le,fn),style:Object.assign(Object.assign(Object.assign({},$e==null?void 0:$e.style),on),an),onMouseEnter:xn,onMouseLeave:Dn,onClick:yi,role:"alert"},rt),Ue?pt.createElement(ke,{description:ci,icon:kn.icon,prefixCls:At,type:Ee}):null,pt.createElement("div",{className:`${At}-content`},ze?pt.createElement("div",{className:`${At}-message`},ze):null,ci?pt.createElement("div",{className:`${At}-description`},ci):null),jt?pt.createElement("div",{className:`${At}-action`},jt):null,pt.createElement(lt,{isClosable:Te,prefixCls:At,closeIcon:ht||gn,handleClose:Ce}))}))},ut=Pe(96949),Ot=Pe(55090),xt=Pe(77205),Nt=Pe(38793),vn=function(kn){(0,xt.Z)(et,kn);var ci=(0,Nt.Z)(et);function et(){var ze;return(0,ut.Z)(this,et),ze=ci.apply(this,arguments),ze.state={error:void 0,info:{componentStack:""}},ze}return(0,Ot.Z)(et,[{key:"componentDidCatch",value:function(yn,Xn){this.setState({error:yn,info:Xn})}},{key:"render",value:function(){const{message:yn,description:Xn,children:ei}=this.props,{error:on,info:xn}=this.state,Dn=xn&&xn.componentStack?xn.componentStack:null,yi=typeof yn=="undefined"?(on||"").toString():yn,qn=typeof Xn=="undefined"?Dn:Xn;return on?pt.createElement(yt,{type:"error",message:yi,description:pt.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},qn)}):ei}}]),et}(pt.Component);const Ai=yt;Ai.ErrorBoundary=vn;var hi=Ai},88522:function(tn,jn,Pe){"use strict";var ue=Pe(92310),it=Pe.n(ue),Mt=Pe(11592),kt=Pe(2738),Dt=Pe(59301),Wt=Pe(53487),Ve=Pe(92343),bt=Pe(36355),wt=Pe(57809);const{Option:pt}=wt.default;function St(te){return te&&te.type&&(te.type.isSelectOption||te.type.isSelectOptGroup)}const Ut=(te,ne)=>{const{prefixCls:de,className:le,popupClassName:pe,dropdownClassName:xe,children:Ae,dataSource:Me}=te,ke=(0,Mt.Z)(Ae);let lt;ke.length===1&&(0,Ve.l$)(ke[0])&&!St(ke[0])&&([lt]=ke);const dt=lt?()=>lt:void 0;let yt;ke.length&&St(ke[0])?yt=Ae:yt=Me?Me.map(xt=>{if((0,Ve.l$)(xt))return xt;switch(typeof xt){case"string":return Dt.createElement(pt,{key:xt,value:xt},xt);case"object":{const{value:Nt}=xt;return Dt.createElement(pt,{key:Nt,value:Nt},xt.text)}default:return}}):[];const{getPrefixCls:ut}=Dt.useContext(bt.E_),Ot=ut("select",de);return Dt.createElement(wt.default,Object.assign({ref:ne,suffixIcon:null},(0,kt.Z)(te,["dataSource","dropdownClassName"]),{prefixCls:Ot,popupClassName:pe||xe,className:it()(`${Ot}-auto-complete`,le),mode:wt.default.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:dt}),yt)},Zt=Dt.forwardRef(Ut),Oe=(0,Wt.Z)(Zt);Zt.Option=pt,Zt._InternalPanelDoNotUseOrYouWillBeFired=Oe,jn.Z=Zt},49127:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return ci}});var ue=Pe(92310),it=Pe.n(ue),Mt=Pe(77900),kt=Pe(59301),Dt=Pe(36785),Wt=Pe(92343),Ve=Pe(36355),bt=Pe(93083),wt=Pe(17313),pt=Pe(45157),St=Pe(37613),Ut=Pe(83116);const Zt=new bt.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),Oe=new bt.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),te=new bt.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),ne=new bt.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),de=new bt.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),le=new bt.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),pe=et=>{const{componentCls:ze,iconCls:yn,antCls:Xn,badgeShadowSize:ei,motionDurationSlow:on,textFontSize:xn,textFontSizeSM:Dn,statusSize:yi,dotSize:qn,textFontWeight:Mi,indicatorHeight:mt,indicatorHeightSM:ht,marginXS:gn}=et,jt=`${Xn}-scroll-number`,En=(0,pt.Z)(et,(Fn,ri)=>{let{darkColor:ni}=ri;return{[`&${ze} ${ze}-color-${Fn}`]:{background:ni,[`&:not(${ze}-count)`]:{color:ni}}}});return{[ze]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,wt.Wf)(et)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${ze}-count`]:{zIndex:et.indicatorZIndex,minWidth:mt,height:mt,color:et.badgeTextColor,fontWeight:Mi,fontSize:xn,lineHeight:`${mt}px`,whiteSpace:"nowrap",textAlign:"center",background:et.badgeColor,borderRadius:mt/2,boxShadow:`0 0 0 ${ei}px ${et.badgeShadowColor}`,transition:`background ${et.motionDurationMid}`,a:{color:et.badgeTextColor},"a:hover":{color:et.badgeTextColor},"a:hover &":{background:et.badgeColorHover}},[`${ze}-count-sm`]:{minWidth:ht,height:ht,fontSize:Dn,lineHeight:`${ht}px`,borderRadius:ht/2},[`${ze}-multiple-words`]:{padding:`0 ${et.paddingXS}px`,bdi:{unicodeBidi:"plaintext"}},[`${ze}-dot`]:{zIndex:et.indicatorZIndex,width:qn,minWidth:qn,height:qn,background:et.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${ei}px ${et.badgeShadowColor}`},[`${ze}-dot${jt}`]:{transition:`background ${on}`},[`${ze}-count, ${ze}-dot, ${jt}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${yn}-spin`]:{animationName:le,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${ze}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${ze}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:yi,height:yi,verticalAlign:"middle",borderRadius:"50%"},[`${ze}-status-success`]:{backgroundColor:et.colorSuccess},[`${ze}-status-processing`]:{overflow:"visible",color:et.colorPrimary,backgroundColor:et.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:ei,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:Zt,animationDuration:et.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${ze}-status-default`]:{backgroundColor:et.colorTextPlaceholder},[`${ze}-status-error`]:{backgroundColor:et.colorError},[`${ze}-status-warning`]:{backgroundColor:et.colorWarning},[`${ze}-status-text`]:{marginInlineStart:gn,color:et.colorText,fontSize:et.fontSize}}}),En),{[`${ze}-zoom-appear, ${ze}-zoom-enter`]:{animationName:Oe,animationDuration:et.motionDurationSlow,animationTimingFunction:et.motionEaseOutBack,animationFillMode:"both"},[`${ze}-zoom-leave`]:{animationName:te,animationDuration:et.motionDurationSlow,animationTimingFunction:et.motionEaseOutBack,animationFillMode:"both"},[`&${ze}-not-a-wrapper`]:{[`${ze}-zoom-appear, ${ze}-zoom-enter`]:{animationName:ne,animationDuration:et.motionDurationSlow,animationTimingFunction:et.motionEaseOutBack},[`${ze}-zoom-leave`]:{animationName:de,animationDuration:et.motionDurationSlow,animationTimingFunction:et.motionEaseOutBack},[`&:not(${ze}-status)`]:{verticalAlign:"middle"},[`${jt}-custom-component, ${ze}-count`]:{transform:"none"},[`${jt}-custom-component, ${jt}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${jt}`]:{overflow:"hidden",[`${jt}-only`]:{position:"relative",display:"inline-block",height:mt,transition:`all ${et.motionDurationSlow} ${et.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${jt}-only-unit`]:{height:mt,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${jt}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${ze}-count, ${ze}-dot, ${jt}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},xe=et=>{const{fontSize:ze,lineHeight:yn,lineWidth:Xn,marginXS:ei,colorBorderBg:on}=et,xn=Math.round(ze*yn),Dn=Xn,yi=et.colorBgContainer,qn=et.colorError,Mi=et.colorErrorHover;return(0,St.TS)(et,{badgeFontHeight:xn,badgeShadowSize:Dn,badgeTextColor:yi,badgeColor:qn,badgeColorHover:Mi,badgeShadowColor:on,badgeProcessingDuration:"1.2s",badgeRibbonOffset:ei,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},Ae=et=>{const{fontSize:ze,lineHeight:yn,fontSizeSM:Xn,lineWidth:ei}=et;return{indicatorZIndex:"auto",indicatorHeight:Math.round(ze*yn)-2*ei,indicatorHeightSM:ze,dotSize:Xn/2,textFontSize:Xn,textFontSizeSM:Xn,textFontWeight:"normal",statusSize:Xn/2}};var Me=(0,Ut.Z)("Badge",et=>{const ze=xe(et);return[pe(ze)]},Ae);const ke=et=>{const{antCls:ze,badgeFontHeight:yn,marginXS:Xn,badgeRibbonOffset:ei}=et,on=`${ze}-ribbon`,xn=`${ze}-ribbon-wrapper`,Dn=(0,pt.Z)(et,(yi,qn)=>{let{darkColor:Mi}=qn;return{[`&${on}-color-${yi}`]:{background:Mi,color:Mi}}});return{[`${xn}`]:{position:"relative"},[`${on}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,wt.Wf)(et)),{position:"absolute",top:Xn,padding:`0 ${et.paddingXS}px`,color:et.colorPrimary,lineHeight:`${yn}px`,whiteSpace:"nowrap",backgroundColor:et.colorPrimary,borderRadius:et.borderRadiusSM,[`${on}-text`]:{color:et.colorTextLightSolid},[`${on}-corner`]:{position:"absolute",top:"100%",width:ei,height:ei,color:"currentcolor",border:`${ei/2}px solid`,transform:et.badgeRibbonCornerTransform,transformOrigin:"top",filter:et.badgeRibbonCornerFilter}}),Dn),{[`&${on}-placement-end`]:{insetInlineEnd:-ei,borderEndEndRadius:0,[`${on}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${on}-placement-start`]:{insetInlineStart:-ei,borderEndStartRadius:0,[`${on}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var lt=(0,Ut.Z)(["Badge","Ribbon"],et=>{const ze=xe(et);return[ke(ze)]},Ae),yt=et=>{const{className:ze,prefixCls:yn,style:Xn,color:ei,children:on,text:xn,placement:Dn="end",rootClassName:yi}=et,{getPrefixCls:qn,direction:Mi}=kt.useContext(Ve.E_),mt=qn("ribbon",yn),ht=(0,Dt.o2)(ei,!1),gn=it()(mt,`${mt}-placement-${Dn}`,{[`${mt}-rtl`]:Mi==="rtl",[`${mt}-color-${ei}`]:ht},ze),[jt,En]=lt(mt),Fn={},ri={};return ei&&!ht&&(Fn.background=ei,ri.color=ei),jt(kt.createElement("div",{className:it()(`${mt}-wrapper`,yi,En)},on,kt.createElement("div",{className:it()(gn,En),style:Object.assign(Object.assign({},Fn),Xn)},kt.createElement("span",{className:`${mt}-text`},xn),kt.createElement("div",{className:`${mt}-corner`,style:ri}))))};function ut(et){let{prefixCls:ze,value:yn,current:Xn,offset:ei=0}=et,on;return ei&&(on={position:"absolute",top:`${ei}00%`,left:0}),kt.createElement("span",{style:on,className:it()(`${ze}-only-unit`,{current:Xn})},yn)}function Ot(et,ze,yn){let Xn=et,ei=0;for(;(Xn+10)%10!==ze;)Xn+=yn,ei+=yn;return ei}function xt(et){const{prefixCls:ze,count:yn,value:Xn}=et,ei=Number(Xn),on=Math.abs(yn),[xn,Dn]=kt.useState(ei),[yi,qn]=kt.useState(on),Mi=()=>{Dn(ei),qn(on)};kt.useEffect(()=>{const gn=setTimeout(()=>{Mi()},1e3);return()=>{clearTimeout(gn)}},[ei]);let mt,ht;if(xn===ei||Number.isNaN(ei)||Number.isNaN(xn))mt=[kt.createElement(ut,Object.assign({},et,{key:ei,current:!0}))],ht={transition:"none"};else{mt=[];const gn=ei+10,jt=[];for(let ri=ei;ri<=gn;ri+=1)jt.push(ri);const En=jt.findIndex(ri=>ri%10===xn);mt=jt.map((ri,ni)=>{const mn=ri%10;return kt.createElement(ut,Object.assign({},et,{key:ri,value:mn,offset:ni-En,current:ni===En}))});const Fn=yi{const{prefixCls:yn,count:Xn,className:ei,motionClassName:on,style:xn,title:Dn,show:yi,component:qn="sup",children:Mi}=et,mt=Nt(et,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:ht}=kt.useContext(Ve.E_),gn=ht("scroll-number",yn),jt=Object.assign(Object.assign({},mt),{"data-show":yi,style:xn,className:it()(gn,ei,on),title:Dn});let En=Xn;if(Xn&&Number(Xn)%1===0){const Fn=String(Xn).split("");En=kt.createElement("bdi",null,Fn.map((ri,ni)=>kt.createElement(xt,{prefixCls:gn,count:Number(Xn),value:ri,key:Fn.length-ni})))}return xn&&xn.borderColor&&(jt.style=Object.assign(Object.assign({},xn),{boxShadow:`0 0 0 1px ${xn.borderColor} inset`})),Mi?(0,Wt.Tm)(Mi,Fn=>({className:it()(`${gn}-custom-component`,Fn==null?void 0:Fn.className,on)})):kt.createElement(qn,Object.assign({},jt,{ref:ze}),En)}),Ai=function(et,ze){var yn={};for(var Xn in et)Object.prototype.hasOwnProperty.call(et,Xn)&&ze.indexOf(Xn)<0&&(yn[Xn]=et[Xn]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ei=0,Xn=Object.getOwnPropertySymbols(et);ei{var yn,Xn,ei,on,xn;const{prefixCls:Dn,scrollNumberPrefixCls:yi,children:qn,status:Mi,text:mt,color:ht,count:gn=null,overflowCount:jt=99,dot:En=!1,size:Fn="default",title:ri,offset:ni,style:mn,className:zt,rootClassName:$e,classNames:At,styles:Yt,showZero:Ie=!1}=et,Ce=Ai(et,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:Ee,direction:Te,badge:Ue}=kt.useContext(Ve.E_),Le=Ee("badge",Dn),[rt,Sn]=Me(Le),fn=gn>jt?`${jt}+`:gn,an=fn==="0"||fn===0,$t=gn===null||an&&!Ie,fi=(Mi!=null||ht!=null)&&$t,Mn=En&&!an,On=Mn?"":fn,Hi=(0,kt.useMemo)(()=>(On==null||On===""||an&&!Ie)&&!Mn,[On,an,Ie,Mn]),Si=(0,kt.useRef)(gn);Hi||(Si.current=gn);const sr=Si.current,ro=(0,kt.useRef)(On);Hi||(ro.current=On);const Wo=ro.current,No=(0,kt.useRef)(Mn);Hi||(No.current=Mn);const Lr=(0,kt.useMemo)(()=>{if(!ni)return Object.assign(Object.assign({},Ue==null?void 0:Ue.style),mn);const to={marginTop:ni[1]};return Te==="rtl"?to.left=parseInt(ni[0],10):to.right=-parseInt(ni[0],10),Object.assign(Object.assign(Object.assign({},to),Ue==null?void 0:Ue.style),mn)},[Te,ni,mn,Ue==null?void 0:Ue.style]),Ko=ri!=null?ri:typeof sr=="string"||typeof sr=="number"?sr:void 0,Oo=Hi||!mt?null:kt.createElement("span",{className:`${Le}-status-text`},mt),So=!sr||typeof sr!="object"?void 0:(0,Wt.Tm)(sr,to=>({style:Object.assign(Object.assign({},Lr),to.style)})),Eo=(0,Dt.o2)(ht,!1),Tr=it()(At==null?void 0:At.indicator,(yn=Ue==null?void 0:Ue.classNames)===null||yn===void 0?void 0:yn.indicator,{[`${Le}-status-dot`]:fi,[`${Le}-status-${Mi}`]:!!Mi,[`${Le}-color-${ht}`]:Eo}),Be={};ht&&!Eo&&(Be.color=ht,Be.background=ht);const ya=it()(Le,{[`${Le}-status`]:fi,[`${Le}-not-a-wrapper`]:!qn,[`${Le}-rtl`]:Te==="rtl"},zt,$e,Ue==null?void 0:Ue.className,(Xn=Ue==null?void 0:Ue.classNames)===null||Xn===void 0?void 0:Xn.root,At==null?void 0:At.root,Sn);if(!qn&&fi){const to=Lr.color;return rt(kt.createElement("span",Object.assign({},Ce,{className:ya,style:Object.assign(Object.assign(Object.assign({},Yt==null?void 0:Yt.root),(ei=Ue==null?void 0:Ue.styles)===null||ei===void 0?void 0:ei.root),Lr)}),kt.createElement("span",{className:Tr,style:Object.assign(Object.assign(Object.assign({},Yt==null?void 0:Yt.indicator),(on=Ue==null?void 0:Ue.styles)===null||on===void 0?void 0:on.indicator),Be)}),mt&&kt.createElement("span",{style:{color:to},className:`${Le}-status-text`},mt)))}return rt(kt.createElement("span",Object.assign({ref:ze},Ce,{className:ya,style:Object.assign(Object.assign({},(xn=Ue==null?void 0:Ue.styles)===null||xn===void 0?void 0:xn.root),Yt==null?void 0:Yt.root)}),qn,kt.createElement(Mt.default,{visible:!Hi,motionName:`${Le}-zoom`,motionAppear:!1,motionDeadline:1e3},to=>{let{className:zn,ref:Vi}=to;var Wi,mi;const Qn=Ee("scroll-number",yi),nr=No.current,nn=it()(At==null?void 0:At.indicator,(Wi=Ue==null?void 0:Ue.classNames)===null||Wi===void 0?void 0:Wi.indicator,{[`${Le}-dot`]:nr,[`${Le}-count`]:!nr,[`${Le}-count-sm`]:Fn==="small",[`${Le}-multiple-words`]:!nr&&Wo&&Wo.toString().length>1,[`${Le}-status-${Mi}`]:!!Mi,[`${Le}-color-${ht}`]:Eo});let _t=Object.assign(Object.assign(Object.assign({},Yt==null?void 0:Yt.indicator),(mi=Ue==null?void 0:Ue.styles)===null||mi===void 0?void 0:mi.indicator),Lr);return ht&&!Eo&&(_t=_t||{},_t.background=ht),kt.createElement(vn,{prefixCls:Qn,show:!Hi,motionClassName:zn,className:nn,count:Wo,title:Ko,style:_t,key:"scrollNumber",ref:Vi},So)}),Oo))},kn=kt.forwardRef(hi);kn.Ribbon=yt;var ci=kn},19842:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return to}});var ue=Pe(80702),it=Pe(59301),Mt=Pe(33853),kt=Pe(58617),Dt=Pe(38819),Wt=Pe(92310),Ve=Pe.n(Wt),bt=Pe(72308),wt=Pe(52487),pt=Pe(74416),St=Pe(77861),Ut=Pe(17115),Zt=Pe(90782),Oe=Pe(6089),te=Pe(18929),ne=it.createContext(null),de=ne,le=Pe(62853),pe=Pe(49618),xe=Pe(77321),Ae="__rc_cascader_search_mark__",Me=function(Vi,Wi,mi){var Qn=mi.label;return Wi.some(function(nr){return String(nr[Qn]).toLowerCase().includes(Vi.toLowerCase())})},ke=function(Vi,Wi,mi,Qn){return Wi.map(function(nr){return nr[Qn.label]}).join(" / ")},lt=function(zn,Vi,Wi,mi,Qn,nr){var nn=Qn.filter,_t=nn===void 0?Me:nn,Rt=Qn.render,Li=Rt===void 0?ke:Rt,yr=Qn.limit,Oi=yr===void 0?50:yr,Zn=Qn.sort;return it.useMemo(function(){var ki=[];if(!zn)return[];function Vr(br,Br){var Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;br.forEach(function(Di){if(!(!Zn&&Oi!==!1&&Oi>0&&ki.length>=Oi)){var Cn=[].concat((0,ue.Z)(Br),[Di]),Kn=Di[Wi.children],Lt=Et||Di.disabled;if((!Kn||Kn.length===0||nr)&&_t(zn,Cn,{label:Wi.label})){var Ft;ki.push((0,xe.Z)((0,xe.Z)({},Di),{},(Ft={disabled:Lt},(0,pe.Z)(Ft,Wi.label,Li(zn,Cn,mi,Wi)),(0,pe.Z)(Ft,Ae,Cn),(0,pe.Z)(Ft,Wi.children,void 0),Ft)))}Kn&&Vr(Di[Wi.children],Cn,Lt)}})}return Vr(Vi,[]),Zn&&ki.sort(function(br,Br){return Zn(br[Ae],Br[Ae],zn,Wi)}),Oi!==!1&&Oi>0?ki.slice(0,Oi):ki},[zn,Vi,Wi,mi,Li,nr,_t,Zn,Oi])},dt="__RC_CASCADER_SPLIT__",yt="SHOW_PARENT",ut="SHOW_CHILD";function Ot(zn){return zn.join(dt)}function xt(zn){return zn.map(Ot)}function Nt(zn){return zn.split(dt)}function Jt(zn){var Vi=zn||{},Wi=Vi.label,mi=Vi.value,Qn=Vi.children,nr=mi||"value";return{label:Wi||"label",value:nr,key:nr,children:Qn||"children"}}function vn(zn,Vi){var Wi,mi;return(Wi=zn.isLeaf)!==null&&Wi!==void 0?Wi:!((mi=zn[Vi.children])!==null&&mi!==void 0&&mi.length)}function Ai(zn){var Vi=zn.parentElement;if(Vi){var Wi=zn.offsetTop-Vi.offsetTop;Wi-Vi.scrollTop<0?Vi.scrollTo({top:Wi}):Wi+zn.offsetHeight-Vi.scrollTop>Vi.offsetHeight&&Vi.scrollTo({top:Wi+zn.offsetHeight-Vi.offsetHeight})}}function hi(zn,Vi){return zn.map(function(Wi){var mi;return(mi=Wi[Ae])===null||mi===void 0?void 0:mi.map(function(Qn){return Qn[Vi.value]})})}function kn(zn,Vi,Wi){var mi=new Set(zn),Qn=Vi();return zn.filter(function(nr){var nn=Qn[nr],_t=nn?nn.parent:null,Rt=nn?nn.children:null;return nn&&nn.node.disabled?!0:Wi===ut?!(Rt&&Rt.some(function(Li){return Li.key&&mi.has(Li.key)})):!(_t&&!_t.node.disabled&&mi.has(_t.key))})}function ci(zn,Vi,Wi){for(var mi=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Qn=Vi,nr=[],nn=function(){var Li,yr,Oi,Zn=zn[_t],ki=(Li=Qn)===null||Li===void 0?void 0:Li.findIndex(function(br){var Br=br[Wi.value];return mi?String(Br)===String(Zn):Br===Zn}),Vr=ki!==-1?(yr=Qn)===null||yr===void 0?void 0:yr[ki]:null;nr.push({value:(Oi=Vr==null?void 0:Vr[Wi.value])!==null&&Oi!==void 0?Oi:Zn,index:ki,option:Vr}),Qn=Vr==null?void 0:Vr[Wi.children]},_t=0;_t1){var un=Vr.slice(0,-1);Di(un)}else Li(!1)},Lt=function(){var un,Sr=((un=Br[br])===null||un===void 0?void 0:un[Wi.children])||[],Ii=Sr.find(function(si){return!si.disabled});if(Ii){var Ri=[].concat((0,ue.Z)(Vr),[Ii[Wi.value]]);Di(Ri)}};it.useImperativeHandle(zn,function(){return{onKeyDown:function(un){var Sr=un.which;switch(Sr){case ht.Z.UP:case ht.Z.DOWN:{var Ii=0;Sr===ht.Z.UP?Ii=-1:Sr===ht.Z.DOWN&&(Ii=1),Ii!==0&&Cn(Ii);break}case ht.Z.LEFT:{if(Rt)break;Oi?Lt():Kn();break}case ht.Z.RIGHT:{if(Rt)break;Oi?Kn():Lt();break}case ht.Z.BACKSPACE:{Rt||Kn();break}case ht.Z.ENTER:{if(Vr.length){var Ri=Br[br],si=(Ri==null?void 0:Ri[Ae])||[];si.length?nr(si.map(function(Ti){return Ti[Wi.value]}),si[si.length-1]):nr(Vr,Br[br])}break}case ht.Z.ESC:Li(!1),yr&&un.stopPropagation()}},onKeyUp:function(){}}})},jt=it.forwardRef(function(zn,Vi){var Wi,mi,Qn,nr,nn=(0,St.lk)(),_t=nn.prefixCls,Rt=nn.multiple,Li=nn.searchValue,yr=nn.toggleOpen,Oi=nn.notFoundContent,Zn=nn.direction,ki=nn.open,Vr=it.useRef(),br=Zn==="rtl",Br=it.useContext(de),Et=Br.options,Di=Br.values,Cn=Br.halfValues,Kn=Br.fieldNames,Lt=Br.changeOnSelect,Ft=Br.onSelect,un=Br.searchOptions,Sr=Br.dropdownPrefixCls,Ii=Br.loadData,Ri=Br.expandTrigger,si=Sr||_t,Ti=it.useState([]),Jr=(0,wt.Z)(Ti,2),Qr=Jr[0],Lo=Jr[1],Nn=function(fr){if(!(!Ii||Li)){var Bo=ci(fr,Et,Kn),Zr=Bo.map(function(oo){var Bn=oo.option;return Bn}),Zi=Zr[Zr.length-1];if(Zi&&!vn(Zi,Kn)){var xr=Ot(fr);Lo(function(oo){return[].concat((0,ue.Z)(oo),[xr])}),Ii(Zr)}}};it.useEffect(function(){Qr.length&&Qr.forEach(function(Or){var fr=Nt(Or),Bo=ci(fr,Et,Kn,!0).map(function(Zi){var xr=Zi.option;return xr}),Zr=Bo[Bo.length-1];(!Zr||Zr[Kn.children]||vn(Zr,Kn))&&Lo(function(Zi){return Zi.filter(function(xr){return xr!==Or})})})},[Et,Qr,Kn]);var ja=it.useMemo(function(){return new Set(xt(Di))},[Di]),co=it.useMemo(function(){return new Set(xt(Cn))},[Cn]),Kr=mt(),sn=(0,wt.Z)(Kr,2),Vt=sn[0],hn=sn[1],Xt=function(fr){hn(fr),Nn(fr)},Vn=function(fr){var Bo=fr.disabled,Zr=vn(fr,Kn);return!Bo&&(Zr||Lt||Rt)},er=function(fr,Bo){var Zr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Ft(fr),!Rt&&(Bo||Lt&&(Ri==="hover"||Zr))&&yr(!1)},lr=it.useMemo(function(){return Li?un:Et},[Li,un,Et]),ui=it.useMemo(function(){for(var Or=[{options:lr}],fr=lr,Bo=hi(fr,Kn),Zr=function(){var Bn=Vt[Zi],gi=fr.find(function(Io,no){return(Bo[no]?Ot(Bo[no]):Io[Kn.value])===Bn}),Ze=gi==null?void 0:gi[Kn.children];if(!(Ze!=null&&Ze.length))return"break";fr=Ze,Or.push({options:Ze})},Zi=0;Zi":Qr,Nn=zn.loadingIcon,ja=zn.children,co=zn.dropdownMatchSelectWidth,Kr=co===void 0?!1:co,sn=zn.showCheckedStrategy,Vt=sn===void 0?yt:sn,hn=(0,pt.Z)(zn,mn),Xt=(0,Ut.ZP)(Wi),Vn=!!Oi,er=(0,te.Z)(nn,{value:_t,postState:$e}),lr=(0,wt.Z)(er,2),ui=lr[0],Ci=lr[1],Yn=it.useMemo(function(){return Jt(nr)},[JSON.stringify(nr)]),ln=it.useMemo(function(){return Di||[]},[Di]),_r=yn(ln,Yn),Rn=it.useCallback(function(Xa){var ua=_r();return Xa.map(function(Ta){var Ls=ua[Ta].nodes;return Ls.map(function(ll){return ll[Yn.value]})})},[_r,Yn]),Ir=(0,te.Z)("",{value:Vr,postState:function(ua){return ua||""}}),Or=(0,wt.Z)(Ir,2),fr=Or[0],Bo=Or[1],Zr=function(ua,Ta){Bo(ua),Ta.source!=="blur"&&br&&br(ua)},Zi=on(Br),xr=(0,wt.Z)(Zi,2),oo=xr[0],Bn=xr[1],gi=lt(fr,ln,Yn,Cn||Qn,Bn,Rt),Ze=Xn(ln,Yn),Io=it.useMemo(function(){var Xa=Ze(ui),ua=(0,wt.Z)(Xa,2),Ta=ua[0],Ls=ua[1];if(!Vn||!ui.length)return[Ta,[],Ls];var ll=xt(Ta),Qt=_r(),Va=(0,Zt.S)(ll,!0,Qt),rn=Va.checkedKeys,Ss=Va.halfCheckedKeys;return[Rn(rn),Rn(Ss),Ls]},[Vn,ui,_r,Rn,Ze]),no=(0,wt.Z)(Io,3),rr=no[0],qi=no[1],Xi=no[2],aa=it.useMemo(function(){var Xa=xt(rr),ua=kn(Xa,_r,Vt);return[].concat((0,ue.Z)(Xi),(0,ue.Z)(Rn(ua)))},[rr,_r,Rn,Xi,Vt]),ys=et(aa,ln,Yn,Vn,yr),bs=(0,Oe.Z)(function(Xa){if(Ci(Xa),Li){var ua=$e(Xa),Ta=ua.map(function(Qt){return ci(Qt,ln,Yn).map(function(Va){return Va.option})}),Ls=Vn?ua:ua[0],ll=Vn?Ta:Ta[0];Li(Ls,ll)}}),_o=(0,Oe.Z)(function(Xa){if((!Vn||ki)&&Bo(""),!Vn)bs(Xa);else{var ua=Ot(Xa),Ta=xt(rr),Ls=xt(qi),ll=Ta.includes(ua),Qt=Xi.some(function(Nl){return Ot(Nl)===ua}),Va=rr,rn=Xi;if(Qt&&!ll)rn=Xi.filter(function(Nl){return Ot(Nl)!==ua});else{var Ss=ll?Ta.filter(function(Nl){return Nl!==ua}):[].concat((0,ue.Z)(Ta),[ua]),yu=_r(),fl;if(ll){var Vl=(0,Zt.S)(Ss,{checked:!1,halfCheckedKeys:Ls},yu);fl=Vl.checkedKeys}else{var is=(0,Zt.S)(Ss,!0,yu);fl=is.checkedKeys}var kl=kn(fl,_r,Vt);Va=Rn(kl)}bs([].concat((0,ue.Z)(rn),(0,ue.Z)(Va)))}}),Ea=function(ua,Ta){if(Ta.type==="clear"){bs([]);return}var Ls=Ta.values[0],ll=Ls.valueCells;_o(ll)},za=Ft!==void 0?Ft:Lt,kr=Sr||un,Rr=si||Ri,pi=function(ua){Ti==null||Ti(ua),Jr==null||Jr(ua)},ho=it.useMemo(function(){return{options:ln,fieldNames:Yn,values:rr,halfValues:qi,changeOnSelect:Rt,onSelect:_o,checkable:Oi,searchOptions:gi,dropdownPrefixCls:Cn,loadData:Kn,expandTrigger:Et,expandIcon:Lo,loadingIcon:Nn,dropdownMenuColumnStyle:Ii}},[ln,Yn,rr,qi,Rt,_o,Oi,gi,Cn,Kn,Et,Lo,Nn,Ii]),Ba=!(fr?gi:ln).length,Ws=fr&&Bn.matchInputWidth||Ba?{}:{minWidth:"auto"};return it.createElement(de.Provider,{value:ho},it.createElement(St.Ac,(0,bt.Z)({},hn,{ref:Vi,id:Xt,prefixCls:Qn,autoClearSearchValue:ki,dropdownMatchSelectWidth:Kr,dropdownStyle:Ws,displayValues:ys,onDisplayValuesChange:Ea,mode:Vn?"multiple":void 0,searchValue:fr,onSearch:Zr,showSearch:oo,OptionList:En,emptyOptions:Ba,open:za,dropdownClassName:kr,placement:Rr,onDropdownVisibleChange:pi,getRawInputElement:function(){return ja}})))});At.SHOW_PARENT=yt,At.SHOW_CHILD=ut;var Yt=At,Ie=Yt,Ce=Pe(2738),Ee=Pe(62892),Te=Pe(53487),Ue=Pe(19080),Le=Pe(36355),rt=Pe(93891),Sn=Pe(1684),fn=Pe(19716),an=Pe(32441),$t=Pe(14154),fi=Pe(58582),Mn=Pe(84443),On=Pe(66339),Hi=Pe(33234),Si=Pe(98447),sr=Pe(17313),ro=Pe(74207),Wo=Pe(83116);const No=zn=>{const{prefixCls:Vi,componentCls:Wi,antCls:mi}=zn,Qn=`${Wi}-menu-item`,nr=` + &${Qn}-expand ${Qn}-expand-icon, + ${Qn}-loading-icon + `;return[{[Wi]:{width:zn.controlWidth}},{[`${Wi}-dropdown`]:[(0,Si.C2)(`${Vi}-checkbox`,zn),{[`&${mi}-select-dropdown`]:{padding:0}},{[Wi]:{"&-checkbox":{top:0,marginInlineEnd:zn.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Wi}-menu-empty`]:{[`${Wi}-menu`]:{width:"100%",height:"auto",[Qn]:{color:zn.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:zn.controlItemWidth,height:zn.dropdownHeight,margin:0,padding:zn.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${zn.lineWidth}px ${zn.lineType} ${zn.colorSplit}`},"&-item":Object.assign(Object.assign({},sr.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:zn.optionPadding,lineHeight:zn.lineHeight,cursor:"pointer",transition:`all ${zn.motionDurationMid}`,borderRadius:zn.borderRadiusSM,"&:hover":{background:zn.controlItemBgHover},"&-disabled":{color:zn.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[nr]:{color:zn.colorTextDisabled}},[`&-active:not(${Qn}-disabled)`]:{"&, &:hover":{fontWeight:zn.optionSelectedFontWeight,backgroundColor:zn.optionSelectedBg}},"&-content":{flex:"auto"},[nr]:{marginInlineStart:zn.paddingXXS,color:zn.colorTextDescription,fontSize:zn.fontSizeIcon},"&-keyword":{color:zn.colorHighlight}})}}}]},{[`${Wi}-dropdown-rtl`]:{direction:"rtl"}},(0,ro.c)(zn)]};var Lr=(0,Wo.Z)("Cascader",zn=>[No(zn)],zn=>{const Vi=Math.round((zn.controlHeight-zn.fontSize*zn.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:zn.controlItemBgActive,optionSelectedFontWeight:zn.fontWeightStrong,optionPadding:`${Vi}px ${zn.paddingSM}px`,menuPadding:zn.paddingXXS}}),Ko=function(zn,Vi){var Wi={};for(var mi in zn)Object.prototype.hasOwnProperty.call(zn,mi)&&Vi.indexOf(mi)<0&&(Wi[mi]=zn[mi]);if(zn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qn=0,mi=Object.getOwnPropertySymbols(zn);QnRt===0?[_t]:[].concat((0,ue.Z)(nn),[Vi,_t]),[]),Qn=[];let nr=0;return mi.forEach((nn,_t)=>{const Rt=nr+nn.length;let Li=zn.slice(nr,Rt);nr=Rt,_t%2===1&&(Li=it.createElement("span",{className:`${Wi}-menu-item-keyword`,key:`separator-${_t}`},Li)),Qn.push(Li)}),Qn}const Tr=(zn,Vi,Wi,mi)=>{const Qn=[],nr=zn.toLowerCase();return Vi.forEach((nn,_t)=>{_t!==0&&Qn.push(" / ");let Rt=nn[mi.label];const Li=typeof Rt;(Li==="string"||Li==="number")&&(Rt=Eo(String(Rt),nr,Wi)),Qn.push(Rt)}),Qn},Be=it.forwardRef((zn,Vi)=>{const{prefixCls:Wi,size:mi,disabled:Qn,className:nr,rootClassName:nn,multiple:_t,bordered:Rt=!0,transitionName:Li,choiceTransitionName:yr="",popupClassName:Oi,dropdownClassName:Zn,expandIcon:ki,placement:Vr,showSearch:br,allowClear:Br=!0,notFoundContent:Et,direction:Di,getPopupContainer:Cn,status:Kn,showArrow:Lt,builtinPlacements:Ft,style:un}=zn,Sr=Ko(zn,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Ii=(0,Ce.Z)(Sr,["suffixIcon"]),{getPopupContainer:Ri,getPrefixCls:si,renderEmpty:Ti,direction:Jr,popupOverflow:Qr,cascader:Lo}=it.useContext(Le.E_),Nn=Di||Jr,ja=Nn==="rtl",{status:co,hasFeedback:Kr,isFormItemInput:sn,feedbackIcon:Vt}=it.useContext(an.aM),hn=(0,Ue.F)(co,Kn),Xt=Et||(Ti==null?void 0:Ti("Cascader"))||it.createElement(rt.Z,{componentName:"Cascader"}),Vn=si(),er=si("select",Wi),lr=si("cascader",Wi),[ui,Ci]=(0,$t.Z)(er),[Yn]=Lr(lr),{compactSize:ln,compactItemClassnames:_r}=(0,Hi.ri)(er,Di),Rn=Ve()(Oi||Zn,`${lr}-dropdown`,{[`${lr}-dropdown-rtl`]:Nn==="rtl"},nn,Ci),Ir=it.useMemo(()=>{if(!br)return br;let Xi={render:Tr};return typeof br=="object"&&(Xi=Object.assign(Object.assign({},Xi),br)),Xi},[br]),Or=(0,fn.Z)(Xi=>{var aa;return(aa=mi!=null?mi:ln)!==null&&aa!==void 0?aa:Xi}),fr=it.useContext(Sn.Z),Bo=Qn!=null?Qn:fr;let Zr=ki;ki||(Zr=ja?it.createElement(Mt.Z,null):it.createElement(Dt.Z,null));const Zi=it.createElement("span",{className:`${er}-menu-item-loading-icon`},it.createElement(kt.Z,{spin:!0})),xr=it.useMemo(()=>_t?it.createElement("span",{className:`${lr}-checkbox-inner`}):!1,[_t]),oo=(0,Mn.Z)(zn.suffixIcon,Lt),{suffixIcon:Bn,removeIcon:gi,clearIcon:Ze}=(0,On.Z)(Object.assign(Object.assign({},zn),{hasFeedback:Kr,feedbackIcon:Vt,showSuffixIcon:oo,multiple:_t,prefixCls:er,componentName:"Cascader"})),Io=it.useMemo(()=>Vr!==void 0?Vr:ja?"bottomRight":"bottomLeft",[Vr,ja]),no=(0,fi.Z)(Ft,Qr),rr=Br===!0?{clearIcon:Ze}:Br,qi=it.createElement(Ie,Object.assign({prefixCls:er,className:Ve()(!Wi&&lr,{[`${er}-lg`]:Or==="large",[`${er}-sm`]:Or==="small",[`${er}-rtl`]:ja,[`${er}-borderless`]:!Rt,[`${er}-in-form-item`]:sn},(0,Ue.Z)(er,hn,Kr),_r,Lo==null?void 0:Lo.className,nr,nn,Ci),disabled:Bo,style:Object.assign(Object.assign({},Lo==null?void 0:Lo.style),un)},Ii,{builtinPlacements:no,direction:Nn,placement:Io,notFoundContent:Xt,allowClear:rr,showSearch:Ir,expandIcon:Zr,suffixIcon:Bn,removeIcon:gi,loadingIcon:Zi,checkable:xr,dropdownClassName:Rn,dropdownPrefixCls:Wi||lr,choiceTransitionName:(0,Ee.m)(Vn,"",yr),transitionName:(0,Ee.m)(Vn,"slide-up",Li),getPopupContainer:Cn||Ri,ref:Vi}));return Yn(ui(qi))}),ya=(0,Te.Z)(Be);Be.SHOW_PARENT=So,Be.SHOW_CHILD=Oo,Be._InternalPanelDoNotUseOrYouWillBeFired=ya;var to=Be},36381:function(tn,jn,Pe){"use strict";Pe.d(jn,{default:function(){return gn}});var ue=Pe(38819),it=Pe(92310),Mt=Pe.n(it),kt=Pe(72308),Dt=Pe(80702),Wt=Pe(52487),Ve=Pe(62853),bt=Pe(18929),wt=Pe(48736),pt=Pe(59301),St=Pe(74416),Ut=Pe(11592),Zt=Pe(49618),Oe=Pe(77900),te=Pe(10228),ne=pt.forwardRef(function(jt,En){var Fn=jt.prefixCls,ri=jt.forceRender,ni=jt.className,mn=jt.style,zt=jt.children,$e=jt.isActive,At=jt.role,Yt=pt.useState($e||ri),Ie=(0,Wt.Z)(Yt,2),Ce=Ie[0],Ee=Ie[1];return pt.useEffect(function(){(ri||$e)&&Ee(!0)},[ri,$e]),Ce?pt.createElement("div",{ref:En,className:Mt()("".concat(Fn,"-content"),(0,Zt.Z)((0,Zt.Z)({},"".concat(Fn,"-content-active"),$e),"".concat(Fn,"-content-inactive"),!$e),ni),style:mn,role:At},pt.createElement("div",{className:"".concat(Fn,"-content-box")},zt)):null});ne.displayName="PanelContent";var de=ne,le=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],pe=pt.forwardRef(function(jt,En){var Fn=jt.showArrow,ri=Fn===void 0?!0:Fn,ni=jt.headerClass,mn=jt.isActive,zt=jt.onItemClick,$e=jt.forceRender,At=jt.className,Yt=jt.prefixCls,Ie=jt.collapsible,Ce=jt.accordion,Ee=jt.panelKey,Te=jt.extra,Ue=jt.header,Le=jt.expandIcon,rt=jt.openMotion,Sn=jt.destroyInactivePanel,fn=jt.children,an=(0,St.Z)(jt,le),$t=Ie==="disabled",fi=Ie==="header",Mn=Ie==="icon",On=Te!=null&&typeof Te!="boolean",Hi=function(){zt==null||zt(Ee)},Si=function(Ko){(Ko.key==="Enter"||Ko.keyCode===te.Z.ENTER||Ko.which===te.Z.ENTER)&&Hi()},sr=typeof Le=="function"?Le(jt):pt.createElement("i",{className:"arrow"});sr&&(sr=pt.createElement("div",{className:"".concat(Yt,"-expand-icon"),onClick:["header","icon"].includes(Ie)?Hi:void 0},sr));var ro=Mt()((0,Zt.Z)((0,Zt.Z)((0,Zt.Z)({},"".concat(Yt,"-item"),!0),"".concat(Yt,"-item-active"),mn),"".concat(Yt,"-item-disabled"),$t),At),Wo=Mt()(ni,(0,Zt.Z)((0,Zt.Z)((0,Zt.Z)({},"".concat(Yt,"-header"),!0),"".concat(Yt,"-header-collapsible-only"),fi),"".concat(Yt,"-icon-collapsible-only"),Mn)),No={className:Wo,"aria-expanded":mn,"aria-disabled":$t,onKeyDown:Si};return!fi&&!Mn&&(No.onClick=Hi,No.role=Ce?"tab":"button",No.tabIndex=$t?-1:0),pt.createElement("div",(0,kt.Z)({},an,{ref:En,className:ro}),pt.createElement("div",No,ri&&sr,pt.createElement("span",{className:"".concat(Yt,"-header-text"),onClick:Ie==="header"?Hi:void 0},Ue),On&&pt.createElement("div",{className:"".concat(Yt,"-extra")},Te)),pt.createElement(Oe.default,(0,kt.Z)({visible:mn,leavedClassName:"".concat(Yt,"-content-hidden")},rt,{forceRender:$e,removeOnLeave:Sn}),function(Lr,Ko){var Oo=Lr.className,So=Lr.style;return pt.createElement(de,{ref:Ko,prefixCls:Yt,className:Oo,style:So,isActive:mn,forceRender:$e,role:Ce?"tabpanel":void 0},fn)}))}),xe=pe,Ae=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],Me=function(En,Fn){var ri=Fn.prefixCls,ni=Fn.accordion,mn=Fn.collapsible,zt=Fn.destroyInactivePanel,$e=Fn.onItemClick,At=Fn.activeKey,Yt=Fn.openMotion,Ie=Fn.expandIcon;return En.map(function(Ce,Ee){var Te=Ce.children,Ue=Ce.label,Le=Ce.key,rt=Ce.collapsible,Sn=Ce.onItemClick,fn=Ce.destroyInactivePanel,an=(0,St.Z)(Ce,Ae),$t=String(Le!=null?Le:Ee),fi=rt!=null?rt:mn,Mn=fn!=null?fn:zt,On=function(sr){fi!=="disabled"&&($e(sr),Sn==null||Sn(sr))},Hi=!1;return ni?Hi=At[0]===$t:Hi=At.indexOf($t)>-1,pt.createElement(xe,(0,kt.Z)({},an,{prefixCls:ri,key:$t,panelKey:$t,isActive:Hi,accordion:ni,openMotion:Yt,expandIcon:Ie,header:Ue,collapsible:fi,onItemClick:On,destroyInactivePanel:Mn}),Te)})},ke=function(En,Fn,ri){if(!En)return null;var ni=ri.prefixCls,mn=ri.accordion,zt=ri.collapsible,$e=ri.destroyInactivePanel,At=ri.onItemClick,Yt=ri.activeKey,Ie=ri.openMotion,Ce=ri.expandIcon,Ee=En.key||String(Fn),Te=En.props,Ue=Te.header,Le=Te.headerClass,rt=Te.destroyInactivePanel,Sn=Te.collapsible,fn=Te.onItemClick,an=!1;mn?an=Yt[0]===Ee:an=Yt.indexOf(Ee)>-1;var $t=Sn!=null?Sn:zt,fi=function(Hi){$t!=="disabled"&&(At(Hi),fn==null||fn(Hi))},Mn={key:Ee,panelKey:Ee,header:Ue,headerClass:Le,isActive:an,prefixCls:ni,destroyInactivePanel:rt!=null?rt:$e,openMotion:Ie,accordion:mn,children:En.props.children,onItemClick:fi,expandIcon:Ce,collapsible:$t};return typeof En.type=="string"?En:(Object.keys(Mn).forEach(function(On){typeof Mn[On]=="undefined"&&delete Mn[On]}),pt.cloneElement(En,Mn))};function lt(jt,En,Fn){return Array.isArray(jt)?Me(jt,Fn):(0,Ut.Z)(En).map(function(ri,ni){return ke(ri,ni,Fn)})}var dt=lt,yt=Pe(26112);function ut(jt){var En=jt;if(!Array.isArray(En)){var Fn=(0,Ve.Z)(En);En=Fn==="number"||Fn==="string"?[En]:[]}return En.map(function(ri){return String(ri)})}var Ot=pt.forwardRef(function(jt,En){var Fn=jt.prefixCls,ri=Fn===void 0?"rc-collapse":Fn,ni=jt.destroyInactivePanel,mn=ni===void 0?!1:ni,zt=jt.style,$e=jt.accordion,At=jt.className,Yt=jt.children,Ie=jt.collapsible,Ce=jt.openMotion,Ee=jt.expandIcon,Te=jt.activeKey,Ue=jt.defaultActiveKey,Le=jt.onChange,rt=jt.items,Sn=Mt()(ri,At),fn=(0,bt.Z)([],{value:Te,onChange:function(Si){return Le==null?void 0:Le(Si)},defaultValue:Ue,postState:ut}),an=(0,Wt.Z)(fn,2),$t=an[0],fi=an[1],Mn=function(Si){return fi(function(){if($e)return $t[0]===Si?[]:[Si];var sr=$t.indexOf(Si),ro=sr>-1;return ro?$t.filter(function(Wo){return Wo!==Si}):[].concat((0,Dt.Z)($t),[Si])})};(0,wt.ZP)(!Yt,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var On=dt(rt,Yt,{prefixCls:ri,accordion:$e,openMotion:Ce,expandIcon:Ee,collapsible:Ie,destroyInactivePanel:mn,onItemClick:Mn,activeKey:$t});return pt.createElement("div",(0,kt.Z)({ref:En,className:Sn,style:zt,role:$e?"tablist":void 0},(0,yt.Z)(jt,{aria:!0,data:!0})),On)}),xt=Object.assign(Ot,{Panel:xe}),Nt=xt,Jt=xt.Panel,vn=Pe(2738),Ai=Pe(62892),hi=Pe(92343),kn=Pe(36355),ci=Pe(19716),ze=pt.forwardRef((jt,En)=>{const{getPrefixCls:Fn}=pt.useContext(kn.E_),{prefixCls:ri,className:ni,showArrow:mn=!0}=jt,zt=Fn("collapse",ri),$e=Mt()({[`${zt}-no-arrow`]:!mn},ni);return pt.createElement(Nt.Panel,Object.assign({ref:En},jt,{prefixCls:zt,className:$e}))}),yn=Pe(17313),Xn=Pe(8378),ei=Pe(83116),on=Pe(37613);const xn=jt=>{const{componentCls:En,contentBg:Fn,padding:ri,headerBg:ni,headerPadding:mn,collapseHeaderPaddingSM:zt,collapseHeaderPaddingLG:$e,collapsePanelBorderRadius:At,lineWidth:Yt,lineType:Ie,colorBorder:Ce,colorText:Ee,colorTextHeading:Te,colorTextDisabled:Ue,fontSize:Le,fontSizeLG:rt,lineHeight:Sn,marginSM:fn,paddingSM:an,paddingLG:$t,paddingXS:fi,motionDurationSlow:Mn,fontSizeIcon:On,contentPadding:Hi}=jt,Si=`${Yt}px ${Ie} ${Ce}`;return{[En]:Object.assign(Object.assign({},(0,yn.Wf)(jt)),{backgroundColor:ni,border:Si,borderBottom:0,borderRadius:`${At}px`,"&-rtl":{direction:"rtl"},[`& > ${En}-item`]:{borderBottom:Si,"&:last-child":{[` &, - & > ${En}-header`]:{borderRadius:`0 0 ${At}px ${At}px`}},[`> ${En}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:mn,color:Te,lineHeight:Sn,cursor:"pointer",transition:`all ${Mn}, visibility 0s`,[`> ${En}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${En}-expand-icon`]:{height:Le*Sn,display:"flex",alignItems:"center",paddingInlineEnd:fn},[`${En}-arrow`]:Object.assign(Object.assign({},(0,yn.Ro)()),{fontSize:On,svg:{transition:`transform ${Mn}`}}),[`${En}-header-text`]:{marginInlineEnd:"auto"}},[`${En}-header-collapsible-only`]:{cursor:"default",[`${En}-header-text`]:{flex:"none",cursor:"pointer"}},[`${En}-icon-collapsible-only`]:{cursor:"default",[`${En}-expand-icon`]:{cursor:"pointer"}}},[`${En}-content`]:{color:Ee,backgroundColor:Fn,borderTop:Si,[`& > ${En}-content-box`]:{padding:Hi},"&-hidden":{display:"none"}},"&-small":{[`> ${En}-item`]:{[`> ${En}-header`]:{padding:zt,paddingInlineStart:fi,[`> ${En}-expand-icon`]:{marginInlineStart:an-fi}},[`> ${En}-content > ${En}-content-box`]:{padding:an}}},"&-large":{[`> ${En}-item`]:{fontSize:rt,[`> ${En}-header`]:{padding:$e,paddingInlineStart:ii,[`> ${En}-expand-icon`]:{height:rt*Sn,marginInlineStart:qt-ii}},[`> ${En}-content > ${En}-content-box`]:{padding:qt}}},[`${En}-item:last-child`]:{[`> ${En}-content`]:{borderRadius:`0 0 ${At}px ${At}px`}},[`& ${En}-item-disabled > ${En}-header`]:{"\n &,\n & > .arrow\n ":{color:Ue,cursor:"not-allowed"}},[`&${En}-icon-position-end`]:{[`& > ${En}-item`]:{[`> ${En}-header`]:{[`${En}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:fn}}}}})}},Dn=jt=>{const{componentCls:En}=jt,Fn=`> ${En}-item > ${En}-header ${En}-arrow svg`;return{[`${En}-rtl`]:{[Fn]:{transform:"rotate(180deg)"}}}},yi=jt=>{const{componentCls:En,headerBg:Fn,paddingXXS:ii,colorBorder:ni}=jt;return{[`${En}-borderless`]:{backgroundColor:Fn,border:0,[`> ${En}-item`]:{borderBottom:`1px solid ${ni}`},[` + & > ${En}-header`]:{borderRadius:`0 0 ${At}px ${At}px`}},[`> ${En}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:mn,color:Te,lineHeight:Sn,cursor:"pointer",transition:`all ${Mn}, visibility 0s`,[`> ${En}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${En}-expand-icon`]:{height:Le*Sn,display:"flex",alignItems:"center",paddingInlineEnd:fn},[`${En}-arrow`]:Object.assign(Object.assign({},(0,yn.Ro)()),{fontSize:On,svg:{transition:`transform ${Mn}`}}),[`${En}-header-text`]:{marginInlineEnd:"auto"}},[`${En}-header-collapsible-only`]:{cursor:"default",[`${En}-header-text`]:{flex:"none",cursor:"pointer"}},[`${En}-icon-collapsible-only`]:{cursor:"default",[`${En}-expand-icon`]:{cursor:"pointer"}}},[`${En}-content`]:{color:Ee,backgroundColor:Fn,borderTop:Si,[`& > ${En}-content-box`]:{padding:Hi},"&-hidden":{display:"none"}},"&-small":{[`> ${En}-item`]:{[`> ${En}-header`]:{padding:zt,paddingInlineStart:fi,[`> ${En}-expand-icon`]:{marginInlineStart:an-fi}},[`> ${En}-content > ${En}-content-box`]:{padding:an}}},"&-large":{[`> ${En}-item`]:{fontSize:rt,[`> ${En}-header`]:{padding:$e,paddingInlineStart:ri,[`> ${En}-expand-icon`]:{height:rt*Sn,marginInlineStart:$t-ri}},[`> ${En}-content > ${En}-content-box`]:{padding:$t}}},[`${En}-item:last-child`]:{[`> ${En}-content`]:{borderRadius:`0 0 ${At}px ${At}px`}},[`& ${En}-item-disabled > ${En}-header`]:{"\n &,\n & > .arrow\n ":{color:Ue,cursor:"not-allowed"}},[`&${En}-icon-position-end`]:{[`& > ${En}-item`]:{[`> ${En}-header`]:{[`${En}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:fn}}}}})}},Dn=jt=>{const{componentCls:En}=jt,Fn=`> ${En}-item > ${En}-header ${En}-arrow svg`;return{[`${En}-rtl`]:{[Fn]:{transform:"rotate(180deg)"}}}},yi=jt=>{const{componentCls:En,headerBg:Fn,paddingXXS:ri,colorBorder:ni}=jt;return{[`${En}-borderless`]:{backgroundColor:Fn,border:0,[`> ${En}-item`]:{borderBottom:`1px solid ${ni}`},[` > ${En}-item:last-child, > ${En}-item:last-child ${En}-header - `]:{borderRadius:0},[`> ${En}-item:last-child`]:{borderBottom:0},[`> ${En}-item > ${En}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${En}-item > ${En}-content > ${En}-content-box`]:{paddingTop:ii}}}},qn=jt=>{const{componentCls:En,paddingSM:Fn}=jt;return{[`${En}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${En}-item`]:{borderBottom:0,[`> ${En}-content`]:{backgroundColor:"transparent",border:0,[`> ${En}-content-box`]:{paddingBlock:Fn}}}}}};var Mi=(0,ei.Z)("Collapse",jt=>{const En=(0,rn.TS)(jt,{collapseHeaderPaddingSM:`${jt.paddingXS}px ${jt.paddingSM}px`,collapseHeaderPaddingLG:`${jt.padding}px ${jt.paddingLG}px`,collapsePanelBorderRadius:jt.borderRadiusLG});return[xn(En),yi(En),qn(En),Dn(En),(0,Xn.Z)(En)]},jt=>({headerPadding:`${jt.paddingSM}px ${jt.padding}px`,headerBg:jt.colorFillAlter,contentPadding:`${jt.padding}px 16px`,contentBg:jt.colorBgContainer})),ht=Object.assign(pt.forwardRef((jt,En)=>{const{getPrefixCls:Fn,direction:ii,collapse:ni}=pt.useContext(kn.E_),{prefixCls:mn,className:zt,rootClassName:$e,style:At,bordered:Yt=!0,ghost:Ie,size:Ce,expandIconPosition:Ee="start",children:Te,expandIcon:Ue}=jt,Le=(0,ci.Z)(Si=>{var sr;return(sr=Ce!=null?Ce:Si)!==null&&sr!==void 0?sr:"middle"}),rt=Fn("collapse",mn),Sn=Fn(),[fn,an]=Mi(rt),qt=pt.useMemo(()=>Ee==="left"?"start":Ee==="right"?"end":Ee,[Ee]),fi=function(){let Si=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const sr=Ue?Ue(Si):pt.createElement(ue.Z,{rotate:Si.isActive?90:void 0});return(0,hi.Tm)(sr,()=>({className:Mt()(sr.props.className,`${rt}-arrow`)}))},Mn=Mt()(`${rt}-icon-position-${qt}`,{[`${rt}-borderless`]:!Yt,[`${rt}-rtl`]:ii==="rtl",[`${rt}-ghost`]:!!Ie,[`${rt}-${Le}`]:Le!=="middle"},ni==null?void 0:ni.className,zt,$e,an),On=Object.assign(Object.assign({},(0,Ai.Z)(Sn)),{motionAppear:!1,leavedClassName:`${rt}-content-hidden`}),Hi=pt.useMemo(()=>Te?(0,Ut.Z)(Te).map((Si,sr)=>{var ro,Wo;if(!((ro=Si.props)===null||ro===void 0)&&ro.disabled){const No=(Wo=Si.key)!==null&&Wo!==void 0?Wo:String(sr),{disabled:Lr,collapsible:Ko}=Si.props,Oo=Object.assign(Object.assign({},(0,vn.Z)(Si.props,["disabled"])),{key:No,collapsible:Ko!=null?Ko:Lr?"disabled":void 0});return(0,hi.Tm)(Si,Oo)}return Si}):null,[Te]);return fn(pt.createElement(Nt,Object.assign({ref:En,openMotion:On},(0,vn.Z)(jt,["rootClassName"]),{expandIcon:fi,prefixCls:rt,className:Mn,style:Object.assign(Object.assign({},ni==null?void 0:ni.style),At)}),Hi))}),{Panel:ze}),gn=ht},5083:function(en,jn,Pe){"use strict";Pe.d(jn,{default:function(){return ml}});var ue=Pe(61186),it=Pe.n(ue),Mt=Pe(48736),kt=Pe(90111),Dt=Pe.n(kt),Wt=Pe(58319),Ve=Pe.n(Wt),bt=Pe(23250),wt=Pe.n(bt),pt=Pe(74959),St=Pe.n(pt),Ut=Pe(10238),Zt=Pe.n(Ut),Oe=Pe(33656),te=Pe.n(Oe);it().extend(te()),it().extend(Zt()),it().extend(Dt()),it().extend(Ve()),it().extend(wt()),it().extend(St()),it().extend(function(We,He){var qe=He.prototype,It=qe.format;qe.format=function(Pn){var An=(Pn||"").replace("Wo","wo");return It.bind(this)(An)}});var ne={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},de=function(He){var qe=ne[He];return qe||He.split("_")[0]},le=function(){(0,Mt.ET)(!1,"Not match any format. Please help to fire a issue about this.")},pe={getNow:function(){return it()()},getFixedDate:function(He){return it()(He,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(He){return He.endOf("month")},getWeekDay:function(He){var qe=He.locale("en");return qe.weekday()+qe.localeData().firstDayOfWeek()},getYear:function(He){return He.year()},getMonth:function(He){return He.month()},getDate:function(He){return He.date()},getHour:function(He){return He.hour()},getMinute:function(He){return He.minute()},getSecond:function(He){return He.second()},addYear:function(He,qe){return He.add(qe,"year")},addMonth:function(He,qe){return He.add(qe,"month")},addDate:function(He,qe){return He.add(qe,"day")},setYear:function(He,qe){return He.year(qe)},setMonth:function(He,qe){return He.month(qe)},setDate:function(He,qe){return He.date(qe)},setHour:function(He,qe){return He.hour(qe)},setMinute:function(He,qe){return He.minute(qe)},setSecond:function(He,qe){return He.second(qe)},isAfter:function(He,qe){return He.isAfter(qe)},isValidate:function(He){return He.isValid()},locale:{getWeekFirstDay:function(He){return it()().locale(de(He)).localeData().firstDayOfWeek()},getWeekFirstDate:function(He,qe){return qe.locale(de(He)).weekday(0)},getWeek:function(He,qe){return qe.locale(de(He)).week()},getShortWeekDays:function(He){return it()().locale(de(He)).localeData().weekdaysMin()},getShortMonths:function(He){return it()().locale(de(He)).localeData().monthsShort()},format:function(He,qe,It){return qe.locale(de(He)).format(It)},parse:function(He,qe,It){for(var Gt=de(He),Pn=0;Pn1&&(An=He.addDate(An,-7)),An}function an(We,He,qe){var It=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(He){case"year":return qe.addYear(We,It*10);case"quarter":case"month":return qe.addYear(We,It);default:return qe.addMonth(We,It)}}function qt(We,He){var qe=He.generateConfig,It=He.locale,Gt=He.format;return typeof Gt=="function"?Gt(We):qe.locale.format(It.locale,We,Gt)}function fi(We,He){var qe=He.generateConfig,It=He.locale,Gt=He.formatList;return!We||typeof Gt[0]=="function"?null:qe.locale.parse(It.locale,We,Gt)}function Mn(We){var He=We.cellDate,qe=We.mode,It=We.disabledDate,Gt=We.generateConfig;if(!It)return!1;var Pn=function(hr,Gn,ji){for(var cr=Gn;cr<=ji;){var lo=void 0;switch(hr){case"date":{if(lo=Gt.setDate(He,cr),!It(lo))return!1;break}case"month":{if(lo=Gt.setMonth(He,cr),!Mn({cellDate:lo,mode:"month",generateConfig:Gt,disabledDate:It}))return!1;break}case"year":{if(lo=Gt.setYear(He,cr),!Mn({cellDate:lo,mode:"year",generateConfig:Gt,disabledDate:It}))return!1;break}}cr+=1}return!0};switch(qe){case"date":case"week":return It(He);case"month":{var An=1,Un=Gt.getDate(Gt.getEndDate(He));return Pn("date",An,Un)}case"quarter":{var ti=Math.floor(Gt.getMonth(He)/3)*3,xi=ti+2;return Pn("month",ti,xi)}case"year":return Pn("month",0,11);case"decade":{var $i=Gt.getYear(He),vi=Math.floor($i/ni)*ni,Gi=vi+ni-1;return Pn("year",vi,Gi)}}}function On(We,He){var qe=He.formatList,It=He.generateConfig,Gt=He.locale;return(0,Fn.Z)(function(){if(!We)return[[""],""];for(var Pn="",An=[],Un=0;Un1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(xi.current),cr){ti(ji);return}xi.current=requestAnimationFrame(function(){ti(ji)})}var vi=On(Un,{formatList:qe,generateConfig:It,locale:Gt}),Gi=(0,gn.Z)(vi,2),di=Gi[1];function hr(ji){$i(ji)}function Gn(){var ji=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;$i(null,ji)}return(0,ke.useEffect)(function(){Gn(!0)},[We]),(0,ke.useEffect)(function(){return function(){return cancelAnimationFrame(xi.current)}},[]),[di,hr,Gn]}var Si=Pe(10228),sr=Pe(16089),ro=Pe(80702),Wo=Pe(29194),No=new Map;function Lr(We,He){var qe;function It(){(0,Wo.Z)(We)?He():qe=(0,sr.Z)(function(){It()})}return It(),function(){sr.Z.cancel(qe)}}function Ko(We,He,qe){if(No.get(We)&&cancelAnimationFrame(No.get(We)),qe<=0){No.set(We,requestAnimationFrame(function(){We.scrollTop=He}));return}var It=He-We.scrollTop,Gt=It/qe*10;No.set(We,requestAnimationFrame(function(){We.scrollTop+=Gt,We.scrollTop!==He&&Ko(We,He,qe-10)}))}function Oo(We,He){var qe=He.onLeftRight,It=He.onCtrlLeftRight,Gt=He.onUpDown,Pn=He.onPageUpDown,An=He.onEnter,Un=We.which,ti=We.ctrlKey,xi=We.metaKey;switch(Un){case Si.Z.LEFT:if(ti||xi){if(It)return It(-1),!0}else if(qe)return qe(-1),!0;break;case Si.Z.RIGHT:if(ti||xi){if(It)return It(1),!0}else if(qe)return qe(1),!0;break;case Si.Z.UP:if(Gt)return Gt(-1),!0;break;case Si.Z.DOWN:if(Gt)return Gt(1),!0;break;case Si.Z.PAGE_UP:if(Pn)return Pn(-1),!0;break;case Si.Z.PAGE_DOWN:if(Pn)return Pn(1),!0;break;case Si.Z.ENTER:if(An)return An(),!0;break}return!1}function So(We,He,qe,It){var Gt=We;if(!Gt)switch(He){case"time":Gt=It?"hh:mm:ss a":"HH:mm:ss";break;case"week":Gt="gggg-wo";break;case"month":Gt="YYYY-MM";break;case"quarter":Gt="YYYY-[Q]Q";break;case"year":Gt="YYYY";break;default:Gt=qe?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Gt}function Eo(We,He,qe){var It=We==="time"?8:10,Gt=typeof He=="function"?He(qe.getNow()).length:He.length;return Math.max(It,Gt)+2}var Tr=null,Be=new Set;function ya(We){return!Tr&&typeof window!="undefined"&&window.addEventListener&&(Tr=function(qe){(0,ro.Z)(Be).forEach(function(It){It(qe)})},window.addEventListener("mousedown",Tr)),Be.add(We),function(){Be.delete(We),Be.size===0&&(window.removeEventListener("mousedown",Tr),Tr=null)}}function to(We){var He=We.target;if(We.composed&&He.shadowRoot){var qe;return((qe=We.composedPath)===null||qe===void 0?void 0:qe.call(We)[0])||He}return He}var zn=function(He){return He==="month"||He==="date"?"year":He},Vi=function(He){return He==="date"?"month":He},Wi=function(He){return He==="month"||He==="date"?"quarter":He},mi=function(He){return He==="date"?"week":He},Jn={year:zn,month:Vi,quarter:Wi,week:mi,time:null,date:null};function nr(We,He){return We.some(function(qe){return qe&&qe.contains(He)})}function tn(We){var He=We.open,qe=We.value,It=We.isClickOutside,Gt=We.triggerOpen,Pn=We.forwardKeyDown,An=We.onKeyDown,Un=We.blurToCancel,ti=We.onSubmit,xi=We.onCancel,$i=We.onFocus,vi=We.onBlur,Gi=We.changeOnBlur,di=(0,ke.useState)(!1),hr=(0,gn.Z)(di,2),Gn=hr[0],ji=hr[1],cr=(0,ke.useState)(!1),lo=(0,gn.Z)(cr,2),Hr=lo[0],fo=lo[1],vo=(0,ke.useRef)(!1),uo=(0,ke.useRef)(!1),tr=(0,ke.useRef)(!1),Ca={onMouseDown:function(){ji(!0),Gt(!0)},onKeyDown:function(Ro){var cs=function(){tr.current=!0};if(An(Ro,cs),!tr.current){switch(Ro.which){case Si.Z.ENTER:{He?ti()!==!1&&ji(!0):Gt(!0),Ro.preventDefault();return}case Si.Z.TAB:{Gn&&He&&!Ro.shiftKey?(ji(!1),Ro.preventDefault()):!Gn&&He&&!Pn(Ro)&&Ro.shiftKey&&(ji(!0),Ro.preventDefault());return}case Si.Z.ESC:{ji(!0),xi();return}}!He&&![Si.Z.SHIFT].includes(Ro.which)?Gt(!0):Gn||Pn(Ro)}},onFocus:function(Ro){ji(!0),fo(!0),$i&&$i(Ro)},onBlur:function(Ro){if(vo.current||!It(document.activeElement)){vo.current=!1;return}Un?setTimeout(function(){for(var cs=document,$a=cs.activeElement;$a&&$a.shadowRoot;)$a=$a.shadowRoot.activeElement;It($a)&&xi()},0):He&&(Gt(!1),uo.current&&ti()),fo(!1),vi==null||vi(Ro)}};return(0,ke.useEffect)(function(){uo.current=!1},[He]),(0,ke.useEffect)(function(){uo.current=!0},[qe]),(0,ke.useEffect)(function(){return ya(function(ra){var Ro=to(ra),cs=It(Ro);He&&(cs?!Gi&&(!Hr||cs)&&Gt(!1):(vo.current=!0,(0,sr.Z)(function(){vo.current=!1})))})}),[Ca,{focused:Hr,typing:Gn}]}function _t(We,He){return ke.useMemo(function(){return We||(He?((0,Mt.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(He).map(function(qe){var It=(0,gn.Z)(qe,2),Gt=It[0],Pn=It[1];return{label:Gt,value:Pn}})):[])},[We,He])}var Rt=Pe(34280);function Li(We){var He=We.valueTexts,qe=We.onTextChange,It=ke.useState(""),Gt=(0,gn.Z)(It,2),Pn=Gt[0],An=Gt[1],Un=ke.useRef([]);Un.current=He;function ti($i){An($i),qe($i)}function xi(){An(Un.current[0])}return(0,Rt.Z)(function(){He.every(function($i){return $i!==Pn})&&xi()},[He.join("||")]),[Pn,ti,xi]}var yr=ke.createContext({}),Oi=yr,Zn=Pe(62853);function ki(We){var He=We.cellRender,qe=We.monthCellRender,It=We.dateRender,Gt=ke.useMemo(function(){if(He)return He;if(!(!qe&&!It))return function(Pn,An){var Un=Pn;return It&&An.type==="date"?It(Un,An.today):qe&&An.type==="month"?qe(Un,An.locale):An.originNode}},[He,qe,It]);return Gt}function Vr(We,He){for(var qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",It=String(We);It.length=1?qe|0:1,An=We;An<=He;An+=Pn)Gt.push({label:Vr(An,2),value:An,disabled:(It||[]).includes(An)});return Gt}function Yn(We){var He=We.generateConfig,qe=We.prefixCls,It=We.operationRef,Gt=We.activeColumnIndex,Pn=We.value,An=We.showHour,Un=We.showMinute,ti=We.showSecond,xi=We.use12Hours,$i=We.hourStep,vi=$i===void 0?1:$i,Gi=We.minuteStep,di=Gi===void 0?1:Gi,hr=We.secondStep,Gn=hr===void 0?1:hr,ji=We.disabledHours,cr=We.disabledMinutes,lo=We.disabledSeconds,Hr=We.disabledTime,fo=We.hideDisabledOptions,vo=We.onSelect,uo=We.cellRender,tr=We.locale,Ca=[],ra="".concat(qe,"-content"),Ro="".concat(qe,"-time-panel"),cs,$a=Pn?He.getHour(Pn):-1,Ja=$a,js=Pn?He.getMinute(Pn):-1,es=Pn?He.getSecond(Pn):-1,Ga=He.getNow(),ss=ke.useMemo(function(){if(Hr){var sa=Hr(Ga);return[sa.disabledHours,sa.disabledMinutes,sa.disabledSeconds]}return[ji,cr,lo]},[ji,cr,lo,Hr,Ga]),ks=(0,gn.Z)(ss,3),_s=ks[0],ds=ks[1],zs=ks[2],vl=Ci(0,23,vi,_s&&_s()),yl=(0,Fn.Z)(function(){return vl},vl,ui);xi&&(cs=Ja>=12,Ja%=12);var Nu=ke.useMemo(function(){if(!xi)return[!1,!1];var sa=[!0,!0];return yl.forEach(function(Ys){var Dl=Ys.disabled,su=Ys.value;Dl||(su>=12?sa[1]=!1:sa[0]=!1)}),sa},[xi,yl]),Rl=(0,gn.Z)(Nu,2),Eu=Rl[0],Ma=Rl[1],Vs=ke.useMemo(function(){return xi?yl.filter(cs?function(sa){return sa.value>=12}:function(sa){return sa.value<12}).map(function(sa){var Ys=sa.value%12,Dl=Ys===0?"12":Vr(Ys,2);return(0,ht.Z)((0,ht.Z)({},sa),{},{label:Dl,value:Ys})}):yl},[xi,cs,yl]),Pa=Ci(0,59,di,ds&&ds($a)),Bs=Ci(0,59,Gn,zs&&zs($a,js)),As=Vn({value:Pn,generateConfig:He,disabledMinutes:ds,disabledSeconds:zs,minutes:Pa,seconds:Bs,use12Hours:xi});It.current={onUpDown:function(Ys){var Dl=Ca[Gt];if(Dl)for(var su=Dl.units.findIndex(function(Gu){return Gu.value===Dl.value}),pa=Dl.units.length,Sl=1;Sl2&&arguments[2]!==void 0?arguments[2]:!1;(Ts===ji||rl)&&(Fu(Ao),Ca&&Ca(Ao),As&&As(Ao,Qa),ra&&!rt(ti,Ao,$l)&&!(di!=null&&di(Ao))&&ra(Ao))},gu=function(Ao){if(kl.includes(Ts)){var Qa,rl,oc=Ts==="date";switch(Ao===Si.Z.PAGE_UP||Ao===Si.Z.PAGE_DOWN?rl=oc?ti.addMonth:ti.addYear:rl=oc?ti.addDate:ti.addMonth,Ao){case Si.Z.LEFT:case Si.Z.PAGE_UP:Qa=rl(Ns,-1);break;case Si.Z.RIGHT:case Si.Z.PAGE_DOWN:Qa=rl(Ns,1);break;case Si.Z.UP:case Si.Z.DOWN:Qa=rl(Ns,Number("".concat(Ao===Si.Z.UP?"-":"").concat(oc?zt:qi)));break}if(Qa)return!(di!=null&&di(Qa))}return!0},Qu=function(Ao){if(Sl.current&&Sl.current.onKeyDown){var Qa=!0,rl=Ao.which;if([Si.Z.LEFT,Si.Z.RIGHT,Si.Z.UP,Si.Z.DOWN,Si.Z.PAGE_UP,Si.Z.PAGE_DOWN,Si.Z.ENTER].includes(rl)&&(Ao.preventDefault(),rl!==Si.Z.ENTER&&lo===0&&(Qa=gu(rl))),Qa)return Sl.current.onKeyDown(Ao)}return(0,Mt.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Zs=function(Ao){Sl.current&&Sl.current.onBlur&&Sl.current.onBlur(Ao)};Bs&&Dl!=="right"&&(Bs.current={onKeyDown:Qu,onClose:function(){Sl.current&&Sl.current.onClose&&Sl.current.onClose()}}),ke.useEffect(function(){xi&&!Da.current&&Ou(xi)},[xi]),ke.useEffect(function(){Da.current=!1},[]);var Iu,ha=ki({cellRender:Nu,monthCellRender:yl,dateRender:vl}),Ps=(0,ht.Z)((0,ht.Z)({},We),{},{cellRender:ha,operationRef:Sl,prefixCls:Gt,viewDate:Ns,value:$l,onViewDateChange:wa,sourceMode:Ia,onPanelChange:fu,disabledDate:di});switch(delete Ps.onChange,delete Ps.onSelect,Ts){case"decade":Iu=ke.createElement(Io,(0,Me.Z)({},Ps,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}}));break;case"year":Iu=ke.createElement(fl,(0,Me.Z)({},Ps,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}}));break;case"month":Iu=ke.createElement(_o,(0,Me.Z)({},Ps,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}}));break;case"quarter":Iu=ke.createElement(Ws,(0,Me.Z)({},Ps,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}}));break;case"week":Iu=ke.createElement(ua,(0,Me.Z)({},Ps,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}}));break;case"time":delete Ps.showTime,Iu=ke.createElement(Ir,(0,Me.Z)({},Ps,(0,Zn.Z)(fo)==="object"?fo:null,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}}));break;default:fo?Iu=ke.createElement(Bo,(0,Me.Z)({},Ps,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}})):Iu=ke.createElement(Vt,(0,Me.Z)({},Ps,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}}))}var Mc,Ju,nu=function(){var Ao=ti.getNow(),Qa=Ii(ti.getHour(Ao),ti.getMinute(Ao),ti.getSecond(Ao),Eu?ss:1,Ma?_s:1,Vs?zs:1),rl=un(ti,Ao,Qa[0],Qa[1],Qa[2]);Ll(rl,"submit")};Gs||(Mc=Vl(Gt,Ts,uo),fo&&Ts!=="date"?Ju=null:Ju=is({prefixCls:Gt,components:js,needConfirmButton:Rl,okDisabled:!$l||di&&di($l),locale:Un,showNow:Hr,onNow:Rl&&nu,onOk:function(){$l&&(Ll($l,"submit",!0),Ja&&Ja($l))}}));var pc;if(vo&&Ts==="date"&&ji==="date"&&!fo){var mc=ti.getNow(),fh="".concat(Gt,"-today-btn"),kc=di&&di(mc);pc=ke.createElement("a",{className:rn()(fh,kc&&"".concat(fh,"-disabled")),"aria-disabled":kc,onClick:function(){kc||Ll(mc,"mouse",!0)}},Un.today)}return ke.createElement(Oi.Provider,{value:(0,ht.Z)((0,ht.Z)({},Pa),{},{mode:Ts,hideHeader:"hideHeader"in We?tr:Pa.hideHeader,hidePrevBtn:Ys&&Dl==="right",hideNextBtn:Ys&&Dl==="left"})},ke.createElement("div",{tabIndex:lo,className:rn()("".concat(Gt,"-panel"),Pn,(He={},(0,mt.Z)(He,"".concat(Gt,"-panel-has-range"),su&&su[0]&&su[1]),(0,mt.Z)(He,"".concat(Gt,"-panel-has-range-hover"),pa&&pa[0]&&pa[1]),(0,mt.Z)(He,"".concat(Gt,"-panel-rtl"),es==="rtl"),He)),style:An,onKeyDown:Qu,onBlur:Zs,onMouseDown:cs},Iu,Mc||Ju||pc?ke.createElement("div",{className:"".concat(Gt,"-footer")},Mc,Ju,pc):null))}var ga=Nl,gl=Pe(35593),Vc={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function du(We){var He,qe=We.prefixCls,It=We.popupElement,Gt=We.popupStyle,Pn=We.visible,An=We.dropdownClassName,Un=We.dropdownAlign,ti=We.transitionName,xi=We.getPopupContainer,$i=We.children,vi=We.range,Gi=We.popupPlacement,di=We.direction,hr="".concat(qe,"-dropdown"),Gn=function(){return Gi!==void 0?Gi:di==="rtl"?"bottomRight":"bottomLeft"};return ke.createElement(gl.Z,{showAction:[],hideAction:[],popupPlacement:Gn(),builtinPlacements:Vc,prefixCls:hr,popupTransitionName:ti,popup:It,popupAlign:Un,popupVisible:Pn,popupClassName:rn()(An,(He={},(0,mt.Z)(He,"".concat(hr,"-range"),vi),(0,mt.Z)(He,"".concat(hr,"-rtl"),di==="rtl"),He)),popupStyle:Gt,getPopupContainer:xi},$i)}var Su=du;function xu(We){var He=We.prefixCls,qe=We.presets,It=We.onClick,Gt=We.onHover;return qe.length?ke.createElement("div",{className:"".concat(He,"-presets")},ke.createElement("ul",null,qe.map(function(Pn,An){var Un=Pn.label,ti=Pn.value;return ke.createElement("li",{key:An,onClick:function(){return It==null?void 0:It(Cn(ti))},onMouseEnter:function(){return Gt==null?void 0:Gt(Cn(ti))},onMouseLeave:function(){return Gt==null?void 0:Gt(null)}},Un)}))):null}function ao(We){var He=We.picker,qe=We.disabledHours,It=We.disabledMinutes,Gt=We.disabledSeconds;He==="time"&&(qe||It||Gt)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function xd(We,He,qe){var It=(0,Zn.Z)(He)==="object"?He.clearIcon:qe;return It||ke.createElement("span",{className:"".concat(We,"-clear-btn")})}function Ed(We){var He,qe=We,It=qe.prefixCls,Gt=It===void 0?"rc-picker":It,Pn=qe.id,An=qe.name,Un=qe.tabIndex,ti=qe.style,xi=qe.className,$i=qe.dropdownClassName,vi=qe.dropdownAlign,Gi=qe.popupStyle,di=qe.transitionName,hr=qe.generateConfig,Gn=qe.locale,ji=qe.inputReadOnly,cr=qe.allowClear,lo=qe.autoFocus,Hr=qe.showTime,fo=qe.picker,vo=fo===void 0?"date":fo,uo=qe.format,tr=qe.use12Hours,Ca=qe.value,ra=qe.defaultValue,Ro=qe.presets,cs=qe.open,$a=qe.defaultOpen,Ja=qe.defaultOpenValue,js=qe.suffixIcon,es=qe.clearIcon,Ga=qe.disabled,ss=qe.disabledDate,ks=qe.placeholder,_s=qe.getPopupContainer,ds=qe.pickerRef,zs=qe.panelRender,vl=qe.onChange,yl=qe.onOpenChange,Nu=qe.onFocus,Rl=qe.onBlur,Eu=qe.onMouseDown,Ma=qe.onMouseUp,Vs=qe.onMouseEnter,Pa=qe.onMouseLeave,Bs=qe.onContextMenu,As=qe.onClick,Gs=qe.onKeyDown,Tu=qe.onSelect,sa=qe.direction,Ys=qe.autoComplete,Dl=Ys===void 0?"off":Ys,su=qe.inputRender,pa=qe.changeOnBlur,Sl=ke.useRef(null),Da=vo==="date"&&!!Hr||vo==="time",Gu=_t(Ro),fc=Br(So(uo,vo,Hr,tr)),$l=ke.useRef(null),Fu=ke.useRef(null),Lc=ke.useRef(null),xl=(0,jt.Z)(null,{value:Ca,defaultValue:ra}),Ns=(0,gn.Z)(xl,2),Ou=Ns[0],wa=Ns[1],gc=ke.useState(Ou),eu=(0,gn.Z)(gc,2),Ds=eu[0],Ts=eu[1],El=ke.useRef(null),cl=(0,jt.Z)(!1,{value:cs,defaultValue:$a,postState:function(la){return Ga?!1:la},onChange:function(la){yl&&yl(la),!la&&El.current&&El.current.onClose&&El.current.onClose()}}),tu=(0,gn.Z)(cl,2),Ia=tu[0],Ul=tu[1],fu=On(Ds,{formatList:fc,generateConfig:hr,locale:Gn}),Ll=(0,gn.Z)(fu,2),gu=Ll[0],Qu=Ll[1],Zs=Li({valueTexts:gu,onTextChange:function(la){var pu=fi(la,{locale:Gn,formatList:fc,generateConfig:hr});pu&&(!ss||!ss(pu))&&Ts(pu)}}),Iu=(0,gn.Z)(Zs,3),ha=Iu[0],Ps=Iu[1],Mc=Iu[2],Ju=function(la){Ts(la),wa(la),vl&&!rt(hr,Ou,la)&&vl(la,la?qt(la,{generateConfig:hr,locale:Gn,format:fc[0]}):"")},nu=function(la){Ga&&la||Ul(la)},pc=function(la){return Ia&&El.current&&El.current.onKeyDown?El.current.onKeyDown(la):((0,Mt.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},mc=function(){for(var la=arguments.length,pu=new Array(la),Na=0;NaGi(xi);case"month":return vi(Gn)>vi(xi);case"week":return $i(Gn)>$i(xi);default:return!Te(Un,Gn,xi)&&Un.isAfter(Gn,xi)}return!1},[Pn,An[1],xi,He]),hr=ke.useCallback(function(Gn){if(An[1]||Pn&&Pn(Gn))return!0;if(An[0]&&ti)return!Te(Un,Gn,xi)&&Un.isAfter(ti,Gn);if(!He&&ti)switch(qe){case"quarter":return Gi(Gn)0&&arguments[0]!==void 0?arguments[0]:!1,Wr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$o=null;ka&&Yi&&Yi[0]&&Yi[1]&&Gn.isAfter(Yi[1],Yi[0])&&($o=Yi);var Ka=tr;if(tr&&(0,Zn.Z)(tr)==="object"&&tr.defaultValue){var Qs=tr.defaultValue;Ka=(0,ht.Z)((0,ht.Z)({},tr),{},{defaultValue:Et(Qs,Ra)||void 0})}return ke.createElement(Ft.Provider,{value:{inRange:!0,panelPosition:Po,rangedValue:st||Sa,hoverRangedValue:$o}},ke.createElement(ga,(0,Me.Z)({},We,Wr,{cellRender:Ho,showTime:Ka,mode:oc[Ra],generateConfig:Gn,style:void 0,direction:Ns,disabledDate:Ra===0?Wd:$d,disabledTime:function(Xl){return ss?ss(Xl,Ra===0?"start":"end"):!1},className:rn()((0,mt.Z)({},"".concat(An,"-panel-focused"),Ra===0?!Co:!Jo)),value:Et(Sa,Ra),locale:ji,tabIndex:-1,onPanelChange:function(Xl,sc){Ra===0&&wo(!0),Ra===1&&po(!0),dd(Di(oc,sc,Ra),Di(Sa,Xl,Ra));var Jl=Xl;Po==="right"&&oc[Ra]===sc&&(Jl=an(Jl,sc,Gn,-1)),mc(Jl,Ra)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Ra===0?Et(Sa,1):Et(Sa,0)})))}var ts=0,fs=0;if(Ra&&cl.current&&Ia.current&&El.current&&Ll.current){ts=cl.current.offsetWidth+Ia.current.offsetWidth;var al=Ll.current.offsetLeft>ts?Ll.current.offsetLeft-ts:Ll.current.offsetLeft,Xs=El.current.offsetWidth,Os=Ll.current.offsetWidth;Xs&&Os&&ts>Xs-Os-(Ns==="rtl"?0:al)&&(fs=ts)}var eo=Ns==="rtl"?{right:ts}:{left:ts};function qa(){var Po,Wr=Vl(An,oc[Ra],As),$o=is({prefixCls:An,components:Lc,needConfirmButton:Ds,okDisabled:!Et(Sa,Ra)||Ga&&Ga(Sa[Ra]),locale:ji,onOk:function(){var vs=Et(Sa,Ra);vs&&(Na(Sa,Ra),$l==null||$l(Sa),ac(!1,Ra,"confirm"))}});if(uo!=="time"&&!tr){var Ka=pc(Ra),Qs=an(Ka,uo,Gn),Sc=oc[Ra],Xl=Sc===uo,sc=Yo(Xl?"left":!1,{pickerValue:Ka,onPickerValueChange:function(vs){mc(vs,Ra)}}),Jl=Yo("right",{pickerValue:Qs,onPickerValueChange:function(vs){mc(an(vs,uo,Gn,-1),Ra)}});Ns==="rtl"?Po=ke.createElement(ke.Fragment,null,Jl,Xl&&sc):Po=ke.createElement(ke.Fragment,null,sc,Xl&&Jl)}else Po=Yo();var nd=ke.createElement("div",{className:"".concat(An,"-panel-layout")},ke.createElement(xu,{prefixCls:An,presets:Wa,onClick:function(vs){Na(vs,null),ac(!1,Ra,"preset")},onHover:function(vs){ot(vs)}}),ke.createElement("div",null,ke.createElement("div",{className:"".concat(An,"-panels")},Po),(Wr||$o)&&ke.createElement("div",{className:"".concat(An,"-footer")},Wr,$o)));return zs&&(nd=zs(nd)),ke.createElement("div",{className:"".concat(An,"-panel-container"),style:{marginLeft:fs},ref:El,onMouseDown:function(vs){vs.preventDefault()}},nd)}var sl=ke.createElement("div",{className:rn()("".concat(An,"-range-wrapper"),"".concat(An,"-").concat(uo,"-range-wrapper")),style:{minWidth:ol}},ke.createElement("div",{ref:Ll,className:"".concat(An,"-range-arrow"),style:eo}),qa()),Kl;Eu&&(Kl=ke.createElement("span",{className:"".concat(An,"-suffix"),onMouseDown:function(Wr){Wr.preventDefault()}},Eu));var La=xd(An,Rl,Ma),jo=ke.createElement("span",{onMouseDown:function(Wr){Wr.preventDefault(),Wr.stopPropagation()},onMouseUp:function(Wr){Wr.preventDefault(),Wr.stopPropagation();var $o=Ps;Zs[0]||($o=Di($o,null,0)),Zs[1]||($o=Di($o,null,1)),Na($o,null),ac(!1,Ra,"clear")},className:"".concat(An,"-clear"),role:"button"},La),ia=Rl&&(Et(Ps,0)&&!Zs[0]||Et(Ps,1)&&!Zs[1]),Yl={size:Eo(uo,gu[0],Gn)},Ru=0,tc=0;cl.current&&tu.current&&Ia.current&&(Ra===0?tc=cl.current.offsetWidth:(Ru=ts,tc=tu.current.offsetWidth));var fa=Ns==="rtl"?{right:Ru}:{left:Ru},Ua=function(Wr,$o){var Ka=Di(Sa,Wr,Ra);if($o==="submit"||$o!=="key"&&!Ds){Na(Ka,Ra),Ra===0?wo():po();var Qs=Ra===0?1:0;Zs[Qs]?ac(!1,!1,"confirm"):ac(!1,Ra,"confirm")}else Ao(Ka)};return ke.createElement(Oi.Provider,{value:{operationRef:Qu,hideHeader:uo==="time",onDateMouseEnter:ur,onDateMouseLeave:ma,hideRanges:!0,onSelect:Ua,open:ka}},ke.createElement(Su,{visible:ka,popupElement:sl,popupStyle:$i,prefixCls:An,dropdownClassName:vi,dropdownAlign:di,getPopupContainer:hr,transitionName:Gi,range:!0,direction:Ns},ke.createElement("div",(0,Me.Z)({ref:Ts,className:rn()(An,"".concat(An,"-range"),xi,(He={},(0,mt.Z)(He,"".concat(An,"-disabled"),Zs[0]&&Zs[1]),(0,mt.Z)(He,"".concat(An,"-focused"),Ra===0?Qn:Cr),(0,mt.Z)(He,"".concat(An,"-rtl"),Ns==="rtl"),He)),style:ti,onClick:Ha,onMouseEnter:Da,onMouseLeave:Gu,onMouseDown:ls,onMouseUp:Sl},(0,En.Z)(We,{aria:!0,data:!0})),ke.createElement("div",{className:rn()("".concat(An,"-input"),(qe={},(0,mt.Z)(qe,"".concat(An,"-input-active"),Ra===0),(0,mt.Z)(qe,"".concat(An,"-input-placeholder"),!!bi),qe)),ref:cl},ke.createElement("input",(0,Me.Z)({id:Un,disabled:Zs[0],readOnly:Pa||typeof gu[0]=="function"||!Co,value:bi||Fd,onChange:function(Wr){fd(Wr.target.value)},autoFocus:lo,placeholder:Et(cr,0)||"",ref:Ul},da,Yl,{autoComplete:gc}))),ke.createElement("div",{className:"".concat(An,"-range-separator"),ref:Ia},Ro),ke.createElement("div",{className:rn()("".concat(An,"-input"),(It={},(0,mt.Z)(It,"".concat(An,"-input-active"),Ra===1),(0,mt.Z)(It,"".concat(An,"-input-placeholder"),!!To),It)),ref:tu},ke.createElement("input",(0,Me.Z)({disabled:Zs[1],readOnly:Pa||typeof gu[0]=="function"||!Jo,value:To||ph,onChange:function(Wr){jh(Wr.target.value)},placeholder:Et(cr,1)||"",ref:fu},qo,Yl,{autoComplete:gc}))),ke.createElement("div",{className:"".concat(An,"-active-bar"),style:(0,ht.Z)((0,ht.Z)({},fa),{},{width:tc,position:"absolute"})}),Kl,ia&&jo)))}var xs=function(We){(0,qn.Z)(qe,We);var He=(0,Mi.Z)(qe);function qe(){var It;(0,xn.Z)(this,qe);for(var Gt=arguments.length,Pn=new Array(Gt),An=0;An{const{lineHeight:Gt}=We,Pn=Math.floor(qe*Gt)+2,An=Math.max((He-Pn)/2,0),Un=Math.max(He-Pn-An,0);return{padding:`${An}px ${It}px ${Un}px`}},hh=We=>{const{componentCls:He,pickerCellCls:qe,pickerCellInnerCls:It,cellHeight:Gt,motionDurationSlow:Pn,borderRadiusSM:An,motionDurationMid:Un,cellHoverBg:ti,lineWidth:xi,lineType:$i,colorPrimary:vi,cellActiveWithRangeBg:Gi,colorTextLightSolid:di,controlHeightSM:hr,cellRangeBorderColor:Gn,pickerCellBorderGap:ji,cellHoverWithRangeBg:cr,cellWidth:lo,colorTextDisabled:Hr,cellBgDisabled:fo}=We;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Gt,transform:"translateY(-50%)",transition:`all ${Pn}`,content:'""'},[It]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Gt,height:Gt,lineHeight:`${Gt}px`,borderRadius:An,transition:`background ${Un}, border ${Un}`},"&-range-hover-start, &-range-hover-end":{[It]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${qe}-in-view), + `]:{borderRadius:0},[`> ${En}-item:last-child`]:{borderBottom:0},[`> ${En}-item > ${En}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${En}-item > ${En}-content > ${En}-content-box`]:{paddingTop:ri}}}},qn=jt=>{const{componentCls:En,paddingSM:Fn}=jt;return{[`${En}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${En}-item`]:{borderBottom:0,[`> ${En}-content`]:{backgroundColor:"transparent",border:0,[`> ${En}-content-box`]:{paddingBlock:Fn}}}}}};var Mi=(0,ei.Z)("Collapse",jt=>{const En=(0,on.TS)(jt,{collapseHeaderPaddingSM:`${jt.paddingXS}px ${jt.paddingSM}px`,collapseHeaderPaddingLG:`${jt.padding}px ${jt.paddingLG}px`,collapsePanelBorderRadius:jt.borderRadiusLG});return[xn(En),yi(En),qn(En),Dn(En),(0,Xn.Z)(En)]},jt=>({headerPadding:`${jt.paddingSM}px ${jt.padding}px`,headerBg:jt.colorFillAlter,contentPadding:`${jt.padding}px 16px`,contentBg:jt.colorBgContainer})),ht=Object.assign(pt.forwardRef((jt,En)=>{const{getPrefixCls:Fn,direction:ri,collapse:ni}=pt.useContext(kn.E_),{prefixCls:mn,className:zt,rootClassName:$e,style:At,bordered:Yt=!0,ghost:Ie,size:Ce,expandIconPosition:Ee="start",children:Te,expandIcon:Ue}=jt,Le=(0,ci.Z)(Si=>{var sr;return(sr=Ce!=null?Ce:Si)!==null&&sr!==void 0?sr:"middle"}),rt=Fn("collapse",mn),Sn=Fn(),[fn,an]=Mi(rt),$t=pt.useMemo(()=>Ee==="left"?"start":Ee==="right"?"end":Ee,[Ee]),fi=function(){let Si=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const sr=Ue?Ue(Si):pt.createElement(ue.Z,{rotate:Si.isActive?90:void 0});return(0,hi.Tm)(sr,()=>({className:Mt()(sr.props.className,`${rt}-arrow`)}))},Mn=Mt()(`${rt}-icon-position-${$t}`,{[`${rt}-borderless`]:!Yt,[`${rt}-rtl`]:ri==="rtl",[`${rt}-ghost`]:!!Ie,[`${rt}-${Le}`]:Le!=="middle"},ni==null?void 0:ni.className,zt,$e,an),On=Object.assign(Object.assign({},(0,Ai.Z)(Sn)),{motionAppear:!1,leavedClassName:`${rt}-content-hidden`}),Hi=pt.useMemo(()=>Te?(0,Ut.Z)(Te).map((Si,sr)=>{var ro,Wo;if(!((ro=Si.props)===null||ro===void 0)&&ro.disabled){const No=(Wo=Si.key)!==null&&Wo!==void 0?Wo:String(sr),{disabled:Lr,collapsible:Ko}=Si.props,Oo=Object.assign(Object.assign({},(0,vn.Z)(Si.props,["disabled"])),{key:No,collapsible:Ko!=null?Ko:Lr?"disabled":void 0});return(0,hi.Tm)(Si,Oo)}return Si}):null,[Te]);return fn(pt.createElement(Nt,Object.assign({ref:En,openMotion:On},(0,vn.Z)(jt,["rootClassName"]),{expandIcon:fi,prefixCls:rt,className:Mn,style:Object.assign(Object.assign({},ni==null?void 0:ni.style),At)}),Hi))}),{Panel:ze}),gn=ht},5083:function(tn,jn,Pe){"use strict";Pe.d(jn,{default:function(){return ml}});var ue=Pe(61186),it=Pe.n(ue),Mt=Pe(48736),kt=Pe(90111),Dt=Pe.n(kt),Wt=Pe(58319),Ve=Pe.n(Wt),bt=Pe(23250),wt=Pe.n(bt),pt=Pe(74959),St=Pe.n(pt),Ut=Pe(10238),Zt=Pe.n(Ut),Oe=Pe(33656),te=Pe.n(Oe);it().extend(te()),it().extend(Zt()),it().extend(Dt()),it().extend(Ve()),it().extend(wt()),it().extend(St()),it().extend(function(We,He){var qe=He.prototype,It=qe.format;qe.format=function(Pn){var An=(Pn||"").replace("Wo","wo");return It.bind(this)(An)}});var ne={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},de=function(He){var qe=ne[He];return qe||He.split("_")[0]},le=function(){(0,Mt.ET)(!1,"Not match any format. Please help to fire a issue about this.")},pe={getNow:function(){return it()()},getFixedDate:function(He){return it()(He,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(He){return He.endOf("month")},getWeekDay:function(He){var qe=He.locale("en");return qe.weekday()+qe.localeData().firstDayOfWeek()},getYear:function(He){return He.year()},getMonth:function(He){return He.month()},getDate:function(He){return He.date()},getHour:function(He){return He.hour()},getMinute:function(He){return He.minute()},getSecond:function(He){return He.second()},addYear:function(He,qe){return He.add(qe,"year")},addMonth:function(He,qe){return He.add(qe,"month")},addDate:function(He,qe){return He.add(qe,"day")},setYear:function(He,qe){return He.year(qe)},setMonth:function(He,qe){return He.month(qe)},setDate:function(He,qe){return He.date(qe)},setHour:function(He,qe){return He.hour(qe)},setMinute:function(He,qe){return He.minute(qe)},setSecond:function(He,qe){return He.second(qe)},isAfter:function(He,qe){return He.isAfter(qe)},isValidate:function(He){return He.isValid()},locale:{getWeekFirstDay:function(He){return it()().locale(de(He)).localeData().firstDayOfWeek()},getWeekFirstDate:function(He,qe){return qe.locale(de(He)).weekday(0)},getWeek:function(He,qe){return qe.locale(de(He)).week()},getShortWeekDays:function(He){return it()().locale(de(He)).localeData().weekdaysMin()},getShortMonths:function(He){return it()().locale(de(He)).localeData().monthsShort()},format:function(He,qe,It){return qe.locale(de(He)).format(It)},parse:function(He,qe,It){for(var Gt=de(He),Pn=0;Pn1&&(An=He.addDate(An,-7)),An}function an(We,He,qe){var It=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(He){case"year":return qe.addYear(We,It*10);case"quarter":case"month":return qe.addYear(We,It);default:return qe.addMonth(We,It)}}function $t(We,He){var qe=He.generateConfig,It=He.locale,Gt=He.format;return typeof Gt=="function"?Gt(We):qe.locale.format(It.locale,We,Gt)}function fi(We,He){var qe=He.generateConfig,It=He.locale,Gt=He.formatList;return!We||typeof Gt[0]=="function"?null:qe.locale.parse(It.locale,We,Gt)}function Mn(We){var He=We.cellDate,qe=We.mode,It=We.disabledDate,Gt=We.generateConfig;if(!It)return!1;var Pn=function(hr,Gn,ji){for(var cr=Gn;cr<=ji;){var lo=void 0;switch(hr){case"date":{if(lo=Gt.setDate(He,cr),!It(lo))return!1;break}case"month":{if(lo=Gt.setMonth(He,cr),!Mn({cellDate:lo,mode:"month",generateConfig:Gt,disabledDate:It}))return!1;break}case"year":{if(lo=Gt.setYear(He,cr),!Mn({cellDate:lo,mode:"year",generateConfig:Gt,disabledDate:It}))return!1;break}}cr+=1}return!0};switch(qe){case"date":case"week":return It(He);case"month":{var An=1,Un=Gt.getDate(Gt.getEndDate(He));return Pn("date",An,Un)}case"quarter":{var ti=Math.floor(Gt.getMonth(He)/3)*3,xi=ti+2;return Pn("month",ti,xi)}case"year":return Pn("month",0,11);case"decade":{var $i=Gt.getYear(He),vi=Math.floor($i/ni)*ni,Gi=vi+ni-1;return Pn("year",vi,Gi)}}}function On(We,He){var qe=He.formatList,It=He.generateConfig,Gt=He.locale;return(0,Fn.Z)(function(){if(!We)return[[""],""];for(var Pn="",An=[],Un=0;Un1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(xi.current),cr){ti(ji);return}xi.current=requestAnimationFrame(function(){ti(ji)})}var vi=On(Un,{formatList:qe,generateConfig:It,locale:Gt}),Gi=(0,gn.Z)(vi,2),di=Gi[1];function hr(ji){$i(ji)}function Gn(){var ji=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;$i(null,ji)}return(0,ke.useEffect)(function(){Gn(!0)},[We]),(0,ke.useEffect)(function(){return function(){return cancelAnimationFrame(xi.current)}},[]),[di,hr,Gn]}var Si=Pe(10228),sr=Pe(16089),ro=Pe(80702),Wo=Pe(29194),No=new Map;function Lr(We,He){var qe;function It(){(0,Wo.Z)(We)?He():qe=(0,sr.Z)(function(){It()})}return It(),function(){sr.Z.cancel(qe)}}function Ko(We,He,qe){if(No.get(We)&&cancelAnimationFrame(No.get(We)),qe<=0){No.set(We,requestAnimationFrame(function(){We.scrollTop=He}));return}var It=He-We.scrollTop,Gt=It/qe*10;No.set(We,requestAnimationFrame(function(){We.scrollTop+=Gt,We.scrollTop!==He&&Ko(We,He,qe-10)}))}function Oo(We,He){var qe=He.onLeftRight,It=He.onCtrlLeftRight,Gt=He.onUpDown,Pn=He.onPageUpDown,An=He.onEnter,Un=We.which,ti=We.ctrlKey,xi=We.metaKey;switch(Un){case Si.Z.LEFT:if(ti||xi){if(It)return It(-1),!0}else if(qe)return qe(-1),!0;break;case Si.Z.RIGHT:if(ti||xi){if(It)return It(1),!0}else if(qe)return qe(1),!0;break;case Si.Z.UP:if(Gt)return Gt(-1),!0;break;case Si.Z.DOWN:if(Gt)return Gt(1),!0;break;case Si.Z.PAGE_UP:if(Pn)return Pn(-1),!0;break;case Si.Z.PAGE_DOWN:if(Pn)return Pn(1),!0;break;case Si.Z.ENTER:if(An)return An(),!0;break}return!1}function So(We,He,qe,It){var Gt=We;if(!Gt)switch(He){case"time":Gt=It?"hh:mm:ss a":"HH:mm:ss";break;case"week":Gt="gggg-wo";break;case"month":Gt="YYYY-MM";break;case"quarter":Gt="YYYY-[Q]Q";break;case"year":Gt="YYYY";break;default:Gt=qe?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Gt}function Eo(We,He,qe){var It=We==="time"?8:10,Gt=typeof He=="function"?He(qe.getNow()).length:He.length;return Math.max(It,Gt)+2}var Tr=null,Be=new Set;function ya(We){return!Tr&&typeof window!="undefined"&&window.addEventListener&&(Tr=function(qe){(0,ro.Z)(Be).forEach(function(It){It(qe)})},window.addEventListener("mousedown",Tr)),Be.add(We),function(){Be.delete(We),Be.size===0&&(window.removeEventListener("mousedown",Tr),Tr=null)}}function to(We){var He=We.target;if(We.composed&&He.shadowRoot){var qe;return((qe=We.composedPath)===null||qe===void 0?void 0:qe.call(We)[0])||He}return He}var zn=function(He){return He==="month"||He==="date"?"year":He},Vi=function(He){return He==="date"?"month":He},Wi=function(He){return He==="month"||He==="date"?"quarter":He},mi=function(He){return He==="date"?"week":He},Qn={year:zn,month:Vi,quarter:Wi,week:mi,time:null,date:null};function nr(We,He){return We.some(function(qe){return qe&&qe.contains(He)})}function nn(We){var He=We.open,qe=We.value,It=We.isClickOutside,Gt=We.triggerOpen,Pn=We.forwardKeyDown,An=We.onKeyDown,Un=We.blurToCancel,ti=We.onSubmit,xi=We.onCancel,$i=We.onFocus,vi=We.onBlur,Gi=We.changeOnBlur,di=(0,ke.useState)(!1),hr=(0,gn.Z)(di,2),Gn=hr[0],ji=hr[1],cr=(0,ke.useState)(!1),lo=(0,gn.Z)(cr,2),Hr=lo[0],fo=lo[1],vo=(0,ke.useRef)(!1),uo=(0,ke.useRef)(!1),tr=(0,ke.useRef)(!1),Ca={onMouseDown:function(){ji(!0),Gt(!0)},onKeyDown:function(Ro){var cs=function(){tr.current=!0};if(An(Ro,cs),!tr.current){switch(Ro.which){case Si.Z.ENTER:{He?ti()!==!1&&ji(!0):Gt(!0),Ro.preventDefault();return}case Si.Z.TAB:{Gn&&He&&!Ro.shiftKey?(ji(!1),Ro.preventDefault()):!Gn&&He&&!Pn(Ro)&&Ro.shiftKey&&(ji(!0),Ro.preventDefault());return}case Si.Z.ESC:{ji(!0),xi();return}}!He&&![Si.Z.SHIFT].includes(Ro.which)?Gt(!0):Gn||Pn(Ro)}},onFocus:function(Ro){ji(!0),fo(!0),$i&&$i(Ro)},onBlur:function(Ro){if(vo.current||!It(document.activeElement)){vo.current=!1;return}Un?setTimeout(function(){for(var cs=document,$a=cs.activeElement;$a&&$a.shadowRoot;)$a=$a.shadowRoot.activeElement;It($a)&&xi()},0):He&&(Gt(!1),uo.current&&ti()),fo(!1),vi==null||vi(Ro)}};return(0,ke.useEffect)(function(){uo.current=!1},[He]),(0,ke.useEffect)(function(){uo.current=!0},[qe]),(0,ke.useEffect)(function(){return ya(function(ra){var Ro=to(ra),cs=It(Ro);He&&(cs?!Gi&&(!Hr||cs)&&Gt(!1):(vo.current=!0,(0,sr.Z)(function(){vo.current=!1})))})}),[Ca,{focused:Hr,typing:Gn}]}function _t(We,He){return ke.useMemo(function(){return We||(He?((0,Mt.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(He).map(function(qe){var It=(0,gn.Z)(qe,2),Gt=It[0],Pn=It[1];return{label:Gt,value:Pn}})):[])},[We,He])}var Rt=Pe(34280);function Li(We){var He=We.valueTexts,qe=We.onTextChange,It=ke.useState(""),Gt=(0,gn.Z)(It,2),Pn=Gt[0],An=Gt[1],Un=ke.useRef([]);Un.current=He;function ti($i){An($i),qe($i)}function xi(){An(Un.current[0])}return(0,Rt.Z)(function(){He.every(function($i){return $i!==Pn})&&xi()},[He.join("||")]),[Pn,ti,xi]}var yr=ke.createContext({}),Oi=yr,Zn=Pe(62853);function ki(We){var He=We.cellRender,qe=We.monthCellRender,It=We.dateRender,Gt=ke.useMemo(function(){if(He)return He;if(!(!qe&&!It))return function(Pn,An){var Un=Pn;return It&&An.type==="date"?It(Un,An.today):qe&&An.type==="month"?qe(Un,An.locale):An.originNode}},[He,qe,It]);return Gt}function Vr(We,He){for(var qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",It=String(We);It.length=1?qe|0:1,An=We;An<=He;An+=Pn)Gt.push({label:Vr(An,2),value:An,disabled:(It||[]).includes(An)});return Gt}function Yn(We){var He=We.generateConfig,qe=We.prefixCls,It=We.operationRef,Gt=We.activeColumnIndex,Pn=We.value,An=We.showHour,Un=We.showMinute,ti=We.showSecond,xi=We.use12Hours,$i=We.hourStep,vi=$i===void 0?1:$i,Gi=We.minuteStep,di=Gi===void 0?1:Gi,hr=We.secondStep,Gn=hr===void 0?1:hr,ji=We.disabledHours,cr=We.disabledMinutes,lo=We.disabledSeconds,Hr=We.disabledTime,fo=We.hideDisabledOptions,vo=We.onSelect,uo=We.cellRender,tr=We.locale,Ca=[],ra="".concat(qe,"-content"),Ro="".concat(qe,"-time-panel"),cs,$a=Pn?He.getHour(Pn):-1,Ja=$a,js=Pn?He.getMinute(Pn):-1,es=Pn?He.getSecond(Pn):-1,Ga=He.getNow(),ss=ke.useMemo(function(){if(Hr){var sa=Hr(Ga);return[sa.disabledHours,sa.disabledMinutes,sa.disabledSeconds]}return[ji,cr,lo]},[ji,cr,lo,Hr,Ga]),ks=(0,gn.Z)(ss,3),_s=ks[0],ds=ks[1],zs=ks[2],vl=Ci(0,23,vi,_s&&_s()),yl=(0,Fn.Z)(function(){return vl},vl,ui);xi&&(cs=Ja>=12,Ja%=12);var Nu=ke.useMemo(function(){if(!xi)return[!1,!1];var sa=[!0,!0];return yl.forEach(function(Ys){var Dl=Ys.disabled,su=Ys.value;Dl||(su>=12?sa[1]=!1:sa[0]=!1)}),sa},[xi,yl]),Rl=(0,gn.Z)(Nu,2),Eu=Rl[0],Ma=Rl[1],Vs=ke.useMemo(function(){return xi?yl.filter(cs?function(sa){return sa.value>=12}:function(sa){return sa.value<12}).map(function(sa){var Ys=sa.value%12,Dl=Ys===0?"12":Vr(Ys,2);return(0,ht.Z)((0,ht.Z)({},sa),{},{label:Dl,value:Ys})}):yl},[xi,cs,yl]),Pa=Ci(0,59,di,ds&&ds($a)),Bs=Ci(0,59,Gn,zs&&zs($a,js)),As=Vn({value:Pn,generateConfig:He,disabledMinutes:ds,disabledSeconds:zs,minutes:Pa,seconds:Bs,use12Hours:xi});It.current={onUpDown:function(Ys){var Dl=Ca[Gt];if(Dl)for(var su=Dl.units.findIndex(function(Gu){return Gu.value===Dl.value}),pa=Dl.units.length,Sl=1;Sl2&&arguments[2]!==void 0?arguments[2]:!1;(Ts===ji||rl)&&(Fu(Ao),Ca&&Ca(Ao),As&&As(Ao,Qa),ra&&!rt(ti,Ao,$l)&&!(di!=null&&di(Ao))&&ra(Ao))},gu=function(Ao){if(kl.includes(Ts)){var Qa,rl,oc=Ts==="date";switch(Ao===Si.Z.PAGE_UP||Ao===Si.Z.PAGE_DOWN?rl=oc?ti.addMonth:ti.addYear:rl=oc?ti.addDate:ti.addMonth,Ao){case Si.Z.LEFT:case Si.Z.PAGE_UP:Qa=rl(Ns,-1);break;case Si.Z.RIGHT:case Si.Z.PAGE_DOWN:Qa=rl(Ns,1);break;case Si.Z.UP:case Si.Z.DOWN:Qa=rl(Ns,Number("".concat(Ao===Si.Z.UP?"-":"").concat(oc?zt:qi)));break}if(Qa)return!(di!=null&&di(Qa))}return!0},Qu=function(Ao){if(Sl.current&&Sl.current.onKeyDown){var Qa=!0,rl=Ao.which;if([Si.Z.LEFT,Si.Z.RIGHT,Si.Z.UP,Si.Z.DOWN,Si.Z.PAGE_UP,Si.Z.PAGE_DOWN,Si.Z.ENTER].includes(rl)&&(Ao.preventDefault(),rl!==Si.Z.ENTER&&lo===0&&(Qa=gu(rl))),Qa)return Sl.current.onKeyDown(Ao)}return(0,Mt.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Zs=function(Ao){Sl.current&&Sl.current.onBlur&&Sl.current.onBlur(Ao)};Bs&&Dl!=="right"&&(Bs.current={onKeyDown:Qu,onClose:function(){Sl.current&&Sl.current.onClose&&Sl.current.onClose()}}),ke.useEffect(function(){xi&&!Da.current&&Ou(xi)},[xi]),ke.useEffect(function(){Da.current=!1},[]);var Iu,ha=ki({cellRender:Nu,monthCellRender:yl,dateRender:vl}),Ps=(0,ht.Z)((0,ht.Z)({},We),{},{cellRender:ha,operationRef:Sl,prefixCls:Gt,viewDate:Ns,value:$l,onViewDateChange:wa,sourceMode:Ia,onPanelChange:fu,disabledDate:di});switch(delete Ps.onChange,delete Ps.onSelect,Ts){case"decade":Iu=ke.createElement(Io,(0,Me.Z)({},Ps,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}}));break;case"year":Iu=ke.createElement(fl,(0,Me.Z)({},Ps,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}}));break;case"month":Iu=ke.createElement(_o,(0,Me.Z)({},Ps,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}}));break;case"quarter":Iu=ke.createElement(Ws,(0,Me.Z)({},Ps,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}}));break;case"week":Iu=ke.createElement(ua,(0,Me.Z)({},Ps,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}}));break;case"time":delete Ps.showTime,Iu=ke.createElement(Ir,(0,Me.Z)({},Ps,(0,Zn.Z)(fo)==="object"?fo:null,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}}));break;default:fo?Iu=ke.createElement(Bo,(0,Me.Z)({},Ps,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}})):Iu=ke.createElement(Vt,(0,Me.Z)({},Ps,{onSelect:function(Ao,Qa){wa(Ao),Ll(Ao,Qa)}}))}var Mc,Ju,nu=function(){var Ao=ti.getNow(),Qa=Ii(ti.getHour(Ao),ti.getMinute(Ao),ti.getSecond(Ao),Eu?ss:1,Ma?_s:1,Vs?zs:1),rl=un(ti,Ao,Qa[0],Qa[1],Qa[2]);Ll(rl,"submit")};Gs||(Mc=Vl(Gt,Ts,uo),fo&&Ts!=="date"?Ju=null:Ju=is({prefixCls:Gt,components:js,needConfirmButton:Rl,okDisabled:!$l||di&&di($l),locale:Un,showNow:Hr,onNow:Rl&&nu,onOk:function(){$l&&(Ll($l,"submit",!0),Ja&&Ja($l))}}));var pc;if(vo&&Ts==="date"&&ji==="date"&&!fo){var mc=ti.getNow(),fh="".concat(Gt,"-today-btn"),kc=di&&di(mc);pc=ke.createElement("a",{className:on()(fh,kc&&"".concat(fh,"-disabled")),"aria-disabled":kc,onClick:function(){kc||Ll(mc,"mouse",!0)}},Un.today)}return ke.createElement(Oi.Provider,{value:(0,ht.Z)((0,ht.Z)({},Pa),{},{mode:Ts,hideHeader:"hideHeader"in We?tr:Pa.hideHeader,hidePrevBtn:Ys&&Dl==="right",hideNextBtn:Ys&&Dl==="left"})},ke.createElement("div",{tabIndex:lo,className:on()("".concat(Gt,"-panel"),Pn,(He={},(0,mt.Z)(He,"".concat(Gt,"-panel-has-range"),su&&su[0]&&su[1]),(0,mt.Z)(He,"".concat(Gt,"-panel-has-range-hover"),pa&&pa[0]&&pa[1]),(0,mt.Z)(He,"".concat(Gt,"-panel-rtl"),es==="rtl"),He)),style:An,onKeyDown:Qu,onBlur:Zs,onMouseDown:cs},Iu,Mc||Ju||pc?ke.createElement("div",{className:"".concat(Gt,"-footer")},Mc,Ju,pc):null))}var ga=Nl,gl=Pe(35593),Vc={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function du(We){var He,qe=We.prefixCls,It=We.popupElement,Gt=We.popupStyle,Pn=We.visible,An=We.dropdownClassName,Un=We.dropdownAlign,ti=We.transitionName,xi=We.getPopupContainer,$i=We.children,vi=We.range,Gi=We.popupPlacement,di=We.direction,hr="".concat(qe,"-dropdown"),Gn=function(){return Gi!==void 0?Gi:di==="rtl"?"bottomRight":"bottomLeft"};return ke.createElement(gl.Z,{showAction:[],hideAction:[],popupPlacement:Gn(),builtinPlacements:Vc,prefixCls:hr,popupTransitionName:ti,popup:It,popupAlign:Un,popupVisible:Pn,popupClassName:on()(An,(He={},(0,mt.Z)(He,"".concat(hr,"-range"),vi),(0,mt.Z)(He,"".concat(hr,"-rtl"),di==="rtl"),He)),popupStyle:Gt,getPopupContainer:xi},$i)}var Su=du;function xu(We){var He=We.prefixCls,qe=We.presets,It=We.onClick,Gt=We.onHover;return qe.length?ke.createElement("div",{className:"".concat(He,"-presets")},ke.createElement("ul",null,qe.map(function(Pn,An){var Un=Pn.label,ti=Pn.value;return ke.createElement("li",{key:An,onClick:function(){return It==null?void 0:It(Cn(ti))},onMouseEnter:function(){return Gt==null?void 0:Gt(Cn(ti))},onMouseLeave:function(){return Gt==null?void 0:Gt(null)}},Un)}))):null}function ao(We){var He=We.picker,qe=We.disabledHours,It=We.disabledMinutes,Gt=We.disabledSeconds;He==="time"&&(qe||It||Gt)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function xd(We,He,qe){var It=(0,Zn.Z)(He)==="object"?He.clearIcon:qe;return It||ke.createElement("span",{className:"".concat(We,"-clear-btn")})}function Ed(We){var He,qe=We,It=qe.prefixCls,Gt=It===void 0?"rc-picker":It,Pn=qe.id,An=qe.name,Un=qe.tabIndex,ti=qe.style,xi=qe.className,$i=qe.dropdownClassName,vi=qe.dropdownAlign,Gi=qe.popupStyle,di=qe.transitionName,hr=qe.generateConfig,Gn=qe.locale,ji=qe.inputReadOnly,cr=qe.allowClear,lo=qe.autoFocus,Hr=qe.showTime,fo=qe.picker,vo=fo===void 0?"date":fo,uo=qe.format,tr=qe.use12Hours,Ca=qe.value,ra=qe.defaultValue,Ro=qe.presets,cs=qe.open,$a=qe.defaultOpen,Ja=qe.defaultOpenValue,js=qe.suffixIcon,es=qe.clearIcon,Ga=qe.disabled,ss=qe.disabledDate,ks=qe.placeholder,_s=qe.getPopupContainer,ds=qe.pickerRef,zs=qe.panelRender,vl=qe.onChange,yl=qe.onOpenChange,Nu=qe.onFocus,Rl=qe.onBlur,Eu=qe.onMouseDown,Ma=qe.onMouseUp,Vs=qe.onMouseEnter,Pa=qe.onMouseLeave,Bs=qe.onContextMenu,As=qe.onClick,Gs=qe.onKeyDown,Tu=qe.onSelect,sa=qe.direction,Ys=qe.autoComplete,Dl=Ys===void 0?"off":Ys,su=qe.inputRender,pa=qe.changeOnBlur,Sl=ke.useRef(null),Da=vo==="date"&&!!Hr||vo==="time",Gu=_t(Ro),fc=Br(So(uo,vo,Hr,tr)),$l=ke.useRef(null),Fu=ke.useRef(null),Lc=ke.useRef(null),xl=(0,jt.Z)(null,{value:Ca,defaultValue:ra}),Ns=(0,gn.Z)(xl,2),Ou=Ns[0],wa=Ns[1],gc=ke.useState(Ou),eu=(0,gn.Z)(gc,2),Ds=eu[0],Ts=eu[1],El=ke.useRef(null),cl=(0,jt.Z)(!1,{value:cs,defaultValue:$a,postState:function(la){return Ga?!1:la},onChange:function(la){yl&&yl(la),!la&&El.current&&El.current.onClose&&El.current.onClose()}}),tu=(0,gn.Z)(cl,2),Ia=tu[0],Ul=tu[1],fu=On(Ds,{formatList:fc,generateConfig:hr,locale:Gn}),Ll=(0,gn.Z)(fu,2),gu=Ll[0],Qu=Ll[1],Zs=Li({valueTexts:gu,onTextChange:function(la){var pu=fi(la,{locale:Gn,formatList:fc,generateConfig:hr});pu&&(!ss||!ss(pu))&&Ts(pu)}}),Iu=(0,gn.Z)(Zs,3),ha=Iu[0],Ps=Iu[1],Mc=Iu[2],Ju=function(la){Ts(la),wa(la),vl&&!rt(hr,Ou,la)&&vl(la,la?$t(la,{generateConfig:hr,locale:Gn,format:fc[0]}):"")},nu=function(la){Ga&&la||Ul(la)},pc=function(la){return Ia&&El.current&&El.current.onKeyDown?El.current.onKeyDown(la):((0,Mt.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},mc=function(){for(var la=arguments.length,pu=new Array(la),Na=0;NaGi(xi);case"month":return vi(Gn)>vi(xi);case"week":return $i(Gn)>$i(xi);default:return!Te(Un,Gn,xi)&&Un.isAfter(Gn,xi)}return!1},[Pn,An[1],xi,He]),hr=ke.useCallback(function(Gn){if(An[1]||Pn&&Pn(Gn))return!0;if(An[0]&&ti)return!Te(Un,Gn,xi)&&Un.isAfter(ti,Gn);if(!He&&ti)switch(qe){case"quarter":return Gi(Gn)0&&arguments[0]!==void 0?arguments[0]:!1,Wr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$o=null;ka&&Ji&&Ji[0]&&Ji[1]&&Gn.isAfter(Ji[1],Ji[0])&&($o=Ji);var Ka=tr;if(tr&&(0,Zn.Z)(tr)==="object"&&tr.defaultValue){var Qs=tr.defaultValue;Ka=(0,ht.Z)((0,ht.Z)({},tr),{},{defaultValue:Et(Qs,Ra)||void 0})}return ke.createElement(Ft.Provider,{value:{inRange:!0,panelPosition:Po,rangedValue:st||Sa,hoverRangedValue:$o}},ke.createElement(ga,(0,Me.Z)({},We,Wr,{cellRender:Ho,showTime:Ka,mode:oc[Ra],generateConfig:Gn,style:void 0,direction:Ns,disabledDate:Ra===0?Wd:$d,disabledTime:function(Xl){return ss?ss(Xl,Ra===0?"start":"end"):!1},className:on()((0,mt.Z)({},"".concat(An,"-panel-focused"),Ra===0?!Co:!Jo)),value:Et(Sa,Ra),locale:ji,tabIndex:-1,onPanelChange:function(Xl,sc){Ra===0&&wo(!0),Ra===1&&po(!0),dd(Di(oc,sc,Ra),Di(Sa,Xl,Ra));var Jl=Xl;Po==="right"&&oc[Ra]===sc&&(Jl=an(Jl,sc,Gn,-1)),mc(Jl,Ra)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Ra===0?Et(Sa,1):Et(Sa,0)})))}var ts=0,fs=0;if(Ra&&cl.current&&Ia.current&&El.current&&Ll.current){ts=cl.current.offsetWidth+Ia.current.offsetWidth;var al=Ll.current.offsetLeft>ts?Ll.current.offsetLeft-ts:Ll.current.offsetLeft,Xs=El.current.offsetWidth,Os=Ll.current.offsetWidth;Xs&&Os&&ts>Xs-Os-(Ns==="rtl"?0:al)&&(fs=ts)}var eo=Ns==="rtl"?{right:ts}:{left:ts};function qa(){var Po,Wr=Vl(An,oc[Ra],As),$o=is({prefixCls:An,components:Lc,needConfirmButton:Ds,okDisabled:!Et(Sa,Ra)||Ga&&Ga(Sa[Ra]),locale:ji,onOk:function(){var vs=Et(Sa,Ra);vs&&(Na(Sa,Ra),$l==null||$l(Sa),ac(!1,Ra,"confirm"))}});if(uo!=="time"&&!tr){var Ka=pc(Ra),Qs=an(Ka,uo,Gn),Sc=oc[Ra],Xl=Sc===uo,sc=Yo(Xl?"left":!1,{pickerValue:Ka,onPickerValueChange:function(vs){mc(vs,Ra)}}),Jl=Yo("right",{pickerValue:Qs,onPickerValueChange:function(vs){mc(an(vs,uo,Gn,-1),Ra)}});Ns==="rtl"?Po=ke.createElement(ke.Fragment,null,Jl,Xl&&sc):Po=ke.createElement(ke.Fragment,null,sc,Xl&&Jl)}else Po=Yo();var nd=ke.createElement("div",{className:"".concat(An,"-panel-layout")},ke.createElement(xu,{prefixCls:An,presets:Wa,onClick:function(vs){Na(vs,null),ac(!1,Ra,"preset")},onHover:function(vs){ot(vs)}}),ke.createElement("div",null,ke.createElement("div",{className:"".concat(An,"-panels")},Po),(Wr||$o)&&ke.createElement("div",{className:"".concat(An,"-footer")},Wr,$o)));return zs&&(nd=zs(nd)),ke.createElement("div",{className:"".concat(An,"-panel-container"),style:{marginLeft:fs},ref:El,onMouseDown:function(vs){vs.preventDefault()}},nd)}var sl=ke.createElement("div",{className:on()("".concat(An,"-range-wrapper"),"".concat(An,"-").concat(uo,"-range-wrapper")),style:{minWidth:ol}},ke.createElement("div",{ref:Ll,className:"".concat(An,"-range-arrow"),style:eo}),qa()),Kl;Eu&&(Kl=ke.createElement("span",{className:"".concat(An,"-suffix"),onMouseDown:function(Wr){Wr.preventDefault()}},Eu));var La=xd(An,Rl,Ma),jo=ke.createElement("span",{onMouseDown:function(Wr){Wr.preventDefault(),Wr.stopPropagation()},onMouseUp:function(Wr){Wr.preventDefault(),Wr.stopPropagation();var $o=Ps;Zs[0]||($o=Di($o,null,0)),Zs[1]||($o=Di($o,null,1)),Na($o,null),ac(!1,Ra,"clear")},className:"".concat(An,"-clear"),role:"button"},La),ia=Rl&&(Et(Ps,0)&&!Zs[0]||Et(Ps,1)&&!Zs[1]),Yl={size:Eo(uo,gu[0],Gn)},Ru=0,tc=0;cl.current&&tu.current&&Ia.current&&(Ra===0?tc=cl.current.offsetWidth:(Ru=ts,tc=tu.current.offsetWidth));var fa=Ns==="rtl"?{right:Ru}:{left:Ru},Ua=function(Wr,$o){var Ka=Di(Sa,Wr,Ra);if($o==="submit"||$o!=="key"&&!Ds){Na(Ka,Ra),Ra===0?wo():po();var Qs=Ra===0?1:0;Zs[Qs]?ac(!1,!1,"confirm"):ac(!1,Ra,"confirm")}else Ao(Ka)};return ke.createElement(Oi.Provider,{value:{operationRef:Qu,hideHeader:uo==="time",onDateMouseEnter:ur,onDateMouseLeave:ma,hideRanges:!0,onSelect:Ua,open:ka}},ke.createElement(Su,{visible:ka,popupElement:sl,popupStyle:$i,prefixCls:An,dropdownClassName:vi,dropdownAlign:di,getPopupContainer:hr,transitionName:Gi,range:!0,direction:Ns},ke.createElement("div",(0,Me.Z)({ref:Ts,className:on()(An,"".concat(An,"-range"),xi,(He={},(0,mt.Z)(He,"".concat(An,"-disabled"),Zs[0]&&Zs[1]),(0,mt.Z)(He,"".concat(An,"-focused"),Ra===0?Jn:Cr),(0,mt.Z)(He,"".concat(An,"-rtl"),Ns==="rtl"),He)),style:ti,onClick:Ha,onMouseEnter:Da,onMouseLeave:Gu,onMouseDown:ls,onMouseUp:Sl},(0,En.Z)(We,{aria:!0,data:!0})),ke.createElement("div",{className:on()("".concat(An,"-input"),(qe={},(0,mt.Z)(qe,"".concat(An,"-input-active"),Ra===0),(0,mt.Z)(qe,"".concat(An,"-input-placeholder"),!!bi),qe)),ref:cl},ke.createElement("input",(0,Me.Z)({id:Un,disabled:Zs[0],readOnly:Pa||typeof gu[0]=="function"||!Co,value:bi||Fd,onChange:function(Wr){fd(Wr.target.value)},autoFocus:lo,placeholder:Et(cr,0)||"",ref:Ul},da,Yl,{autoComplete:gc}))),ke.createElement("div",{className:"".concat(An,"-range-separator"),ref:Ia},Ro),ke.createElement("div",{className:on()("".concat(An,"-input"),(It={},(0,mt.Z)(It,"".concat(An,"-input-active"),Ra===1),(0,mt.Z)(It,"".concat(An,"-input-placeholder"),!!To),It)),ref:tu},ke.createElement("input",(0,Me.Z)({disabled:Zs[1],readOnly:Pa||typeof gu[0]=="function"||!Jo,value:To||ph,onChange:function(Wr){jh(Wr.target.value)},placeholder:Et(cr,1)||"",ref:fu},qo,Yl,{autoComplete:gc}))),ke.createElement("div",{className:"".concat(An,"-active-bar"),style:(0,ht.Z)((0,ht.Z)({},fa),{},{width:tc,position:"absolute"})}),Kl,ia&&jo)))}var xs=function(We){(0,qn.Z)(qe,We);var He=(0,Mi.Z)(qe);function qe(){var It;(0,xn.Z)(this,qe);for(var Gt=arguments.length,Pn=new Array(Gt),An=0;An{const{lineHeight:Gt}=We,Pn=Math.floor(qe*Gt)+2,An=Math.max((He-Pn)/2,0),Un=Math.max(He-Pn-An,0);return{padding:`${An}px ${It}px ${Un}px`}},hh=We=>{const{componentCls:He,pickerCellCls:qe,pickerCellInnerCls:It,cellHeight:Gt,motionDurationSlow:Pn,borderRadiusSM:An,motionDurationMid:Un,cellHoverBg:ti,lineWidth:xi,lineType:$i,colorPrimary:vi,cellActiveWithRangeBg:Gi,colorTextLightSolid:di,controlHeightSM:hr,cellRangeBorderColor:Gn,pickerCellBorderGap:ji,cellHoverWithRangeBg:cr,cellWidth:lo,colorTextDisabled:Hr,cellBgDisabled:fo}=We;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Gt,transform:"translateY(-50%)",transition:`all ${Pn}`,content:'""'},[It]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Gt,height:Gt,lineHeight:`${Gt}px`,borderRadius:An,transition:`background ${Un}, border ${Un}`},"&-range-hover-start, &-range-hover-end":{[It]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${qe}-in-view), &:hover:not(${qe}-selected):not(${qe}-range-start):not(${qe}-range-end):not(${qe}-range-hover-start):not(${qe}-range-hover-end)`]:{[It]:{background:ti}},[`&-in-view${qe}-today ${It}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${xi}px ${$i} ${vi}`,borderRadius:An,content:'""'}},[`&-in-view${qe}-in-range`]:{position:"relative","&::before":{background:Gi}},[`&-in-view${qe}-selected ${It}, &-in-view${qe}-range-start ${It}, &-in-view${qe}-range-end ${It}`]:{color:di,background:vi},[`&-in-view${qe}-range-start:not(${qe}-range-start-single), @@ -1152,7 +1152,7 @@ &${qe}-slide-up-appear${qe}-slide-up-appear-active${He}-dropdown-placement-bottomRight`]:{animationName:Pd.fJ},[`&${qe}-slide-up-leave${qe}-slide-up-leave-active${He}-dropdown-placement-topLeft, &${qe}-slide-up-leave${qe}-slide-up-leave-active${He}-dropdown-placement-topRight`]:{animationName:Pd.ly},[`&${qe}-slide-up-leave${qe}-slide-up-leave-active${He}-dropdown-placement-bottomLeft, &${qe}-slide-up-leave${qe}-slide-up-leave-active${He}-dropdown-placement-bottomRight`]:{animationName:Pd.Uw},[`${He}-panel > ${He}-time-panel`]:{paddingTop:cs},[`${He}-ranges`]:{marginBottom:0,padding:`${cs}px ${$a}px`,overflow:"hidden",lineHeight:`${Ja-2*Un-Hr/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${He}-preset > ${qe}-tag-blue`]:{color:Ca,background:js,borderColor:es,cursor:"pointer"},[`${He}-ok`]:{marginInlineStart:"auto"}},[`${He}-range-wrapper`]:{display:"flex",position:"relative"},[`${He}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:Pn*1.5,transition:`left ${ra} ease-out`},(0,Il.r)(Ga,ss,ks,_s,Ma)),[`${He}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:_s,borderRadius:ds,boxShadow:zs,transition:`margin ${ra}`,[`${He}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${He}-presets`]:{display:"flex",flexDirection:"column",minWidth:Rl,maxWidth:Eu,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Hr,borderInlineEnd:`${Un}px ${ti} ${yl}`,li:Object.assign(Object.assign({},rc.vS),{borderRadius:vl,paddingInline:Hr,paddingBlock:(cr-Math.round(Gt*tr))/2,cursor:"pointer",transition:`all ${ra}`,"+ li":{marginTop:fo},"&:hover":{background:Nu}})}},[`${He}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${He}-panel`]:{borderWidth:`0 0 ${Un}px`},"&:last-child":{[`${He}-panel`]:{borderWidth:0}}},[`${He}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${He}-content, - table`]:{textAlign:"center"},"&-focused":{borderColor:xi}}}}),"&-dropdown-range":{padding:`${Ga*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${He}-separator`]:{transform:"rotate(180deg)"},[`${He}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Pd.oN)(We,"slide-up"),(0,Pd.oN)(We,"slide-down"),(0,Zl.Fm)(We,"move-up"),(0,Zl.Fm)(We,"move-down")]},ou=We=>{const{componentCls:He,controlHeightLG:qe,paddingXXS:It,padding:Gt}=We;return{pickerCellCls:`${He}-cell`,pickerCellInnerCls:`${He}-cell-inner`,pickerYearMonthCellWidth:qe*1.5,pickerQuarterPanelContentHeight:qe*1.4,pickerCellPaddingVertical:It+It/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Gt+It/2}},Oh=We=>({cellHoverBg:We.controlItemBgHover,cellActiveWithRangeBg:We.controlItemBgActive,cellHoverWithRangeBg:new Id.C(We.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Id.C(We.colorPrimary).lighten(20).toHexString(),cellBgDisabled:We.colorBgContainerDisabled,timeColumnWidth:We.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:We.controlHeightSM*1.5,cellHeight:We.controlHeightSM,textHeight:We.controlHeightLG,withoutTimeCellHeight:We.controlHeightLG*1.65});var Qd=(0,xf.Z)("DatePicker",We=>{const He=(0,qh.TS)((0,Ol.e5)(We),ou(We));return[ul(He),_u(He),(0,Dc.c)(We,{focusElCls:`${We.componentCls}-focused`})]},We=>Object.assign(Object.assign(Object.assign({},(0,Ol.TM)(We)),Oh(We)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:We.zIndexPopupBase+50}));function pl(We,He,qe){return qe!==void 0?qe:He==="year"&&We.lang.yearPlaceholder?We.lang.yearPlaceholder:He==="quarter"&&We.lang.quarterPlaceholder?We.lang.quarterPlaceholder:He==="month"&&We.lang.monthPlaceholder?We.lang.monthPlaceholder:He==="week"&&We.lang.weekPlaceholder?We.lang.weekPlaceholder:He==="time"&&We.timePickerLocale.placeholder?We.timePickerLocale.placeholder:We.lang.placeholder}function $h(We,He,qe){return qe!==void 0?qe:He==="year"&&We.lang.yearPlaceholder?We.lang.rangeYearPlaceholder:He==="quarter"&&We.lang.quarterPlaceholder?We.lang.rangeQuarterPlaceholder:He==="month"&&We.lang.monthPlaceholder?We.lang.rangeMonthPlaceholder:He==="week"&&We.lang.weekPlaceholder?We.lang.rangeWeekPlaceholder:He==="time"&&We.timePickerLocale.placeholder?We.timePickerLocale.rangePlaceholder:We.lang.rangePlaceholder}function qd(We,He){const qe={adjustX:1,adjustY:1};switch(He){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:qe};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:qe};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:qe};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:qe};default:return{points:We==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:qe}}}function Rd(We){return We?Array.isArray(We)?We:[We]:[]}function qr(We){const{format:He,picker:qe,showHour:It,showMinute:Gt,showSecond:Pn,use12Hours:An}=We,Un=Rd(He)[0],ti=Object.assign({},We);return He&&Array.isArray(He)&&(ti.format=Un),Un&&typeof Un=="string"&&(!Un.includes("s")&&Pn===void 0&&(ti.showSecond=!1),!Un.includes("m")&&Gt===void 0&&(ti.showMinute=!1),!Un.includes("H")&&!Un.includes("h")&&!Un.includes("K")&&!Un.includes("k")&&It===void 0&&(ti.showHour=!1),(Un.includes("a")||Un.includes("A"))&&An===void 0&&(ti.use12Hours=!0)),qe==="time"?ti:(typeof Un=="function"&&delete ti.format,{showTime:ti})}function Ih(We,He,qe){if(We===!1)return!1;const It={clearIcon:He!=null?He:qe};return typeof We=="object"?Object.assign(Object.assign({},It),We):It}var Bt=Pe(3113);function li(We){return ke.createElement(Bt.ZP,Object.assign({size:"small",type:"primary"},We))}var Rh={button:li},cd=function(We,He){var qe={};for(var It in We)Object.prototype.hasOwnProperty.call(We,It)&&He.indexOf(It)<0&&(qe[It]=We[It]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,It=Object.getOwnPropertySymbols(We);Gt{const{prefixCls:Gt,getPopupContainer:Pn,className:An,placement:Un,size:ti,disabled:xi,bordered:$i=!0,placeholder:vi,popupClassName:Gi,dropdownClassName:di,status:hr,clearIcon:Gn,allowClear:ji,rootClassName:cr}=qe,lo=cd(qe,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Hr=ke.useRef(null),{getPrefixCls:fo,direction:vo,getPopupContainer:uo}=(0,ke.useContext)(Tl.E_),tr=fo("picker",Gt),{compactSize:Ca,compactItemClassnames:ra}=(0,Qh.ri)(tr,vo),{format:Ro,showTime:cs,picker:$a}=qe,Ja=fo(),[js,es]=Qd(tr),Ga=Object.assign(Object.assign({},cs?qr(Object.assign({format:Ro,picker:$a},cs)):{}),$a==="time"?qr(Object.assign(Object.assign({format:Ro},qe),{picker:$a})):{}),ss=(0,Yu.Z)(Ma=>{var Vs;return(Vs=ti!=null?ti:Ca)!==null&&Vs!==void 0?Vs:Ma}),ks=ke.useContext(Gl.Z),_s=xi!=null?xi:ks,ds=(0,ke.useContext)(ed.aM),{hasFeedback:zs,status:vl,feedbackIcon:yl}=ds,Nu=ke.createElement(ke.Fragment,null,$a==="time"?ke.createElement(hi,null):ke.createElement(xt,null),zs&&yl);(0,ke.useImperativeHandle)(It,()=>({focus:()=>{var Ma;return(Ma=Hr.current)===null||Ma===void 0?void 0:Ma.focus()},blur:()=>{var Ma;return(Ma=Hr.current)===null||Ma===void 0?void 0:Ma.blur()}}));const[Rl]=(0,Jd.Z)("Calendar",Th.Z),Eu=Object.assign(Object.assign({},Rl),qe.locale);return js(ke.createElement(hu,Object.assign({separator:ke.createElement("span",{"aria-label":"to",className:`${tr}-separator`},ke.createElement(Xn,null)),disabled:_s,ref:Hr,dropdownAlign:qd(vo,Un),placeholder:$h(Eu,$a,vi),suffixIcon:Nu,prevIcon:ke.createElement("span",{className:`${tr}-prev-icon`}),nextIcon:ke.createElement("span",{className:`${tr}-next-icon`}),superPrevIcon:ke.createElement("span",{className:`${tr}-super-prev-icon`}),superNextIcon:ke.createElement("span",{className:`${tr}-super-next-icon`}),transitionName:`${Ja}-slide-up`},lo,Ga,{className:rn()({[`${tr}-${ss}`]:ss,[`${tr}-borderless`]:!$i},(0,Ms.Z)(tr,(0,Ms.F)(vl,hr),zs),es,ra,An,cr),locale:Eu.lang,prefixCls:tr,getPopupContainer:Pn||uo,generateConfig:We,components:Rh,direction:vo,dropdownClassName:rn()(es,Gi||di,cr),allowClear:Ih(ji,Gn,ke.createElement(kn.Z,null))})))})}var Au=function(We,He){var qe={};for(var It in We)Object.prototype.hasOwnProperty.call(We,It)&&He.indexOf(It)<0&&(qe[It]=We[It]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,It=Object.getOwnPropertySymbols(We);Gt{const{prefixCls:hr,getPopupContainer:Gn,style:ji,className:cr,rootClassName:lo,size:Hr,bordered:fo=!0,placement:vo,placeholder:uo,popupClassName:tr,dropdownClassName:Ca,disabled:ra,status:Ro,clearIcon:cs,allowClear:$a}=Gi,Ja=Au(Gi,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:js,direction:es,getPopupContainer:Ga,[$i]:ss}=(0,ke.useContext)(Tl.E_),ks=js("picker",hr),{compactSize:_s,compactItemClassnames:ds}=(0,Qh.ri)(ks,es),zs=ke.useRef(null),{format:vl,showTime:yl}=Gi,[Nu,Rl]=Qd(ks);(0,ke.useImperativeHandle)(di,()=>({focus:()=>{var Da;return(Da=zs.current)===null||Da===void 0?void 0:Da.focus()},blur:()=>{var Da;return(Da=zs.current)===null||Da===void 0?void 0:Da.blur()}}));const Eu={showToday:!0};let Ma={};ti&&(Ma.picker=ti);const Vs=ti||Gi.picker;Ma=Object.assign(Object.assign(Object.assign({},Ma),yl?qr(Object.assign({format:vl,picker:Vs},yl)):{}),Vs==="time"?qr(Object.assign(Object.assign({format:vl},Gi),{picker:Vs})):{});const Pa=js(),Bs=(0,Yu.Z)(Da=>{var Gu;return(Gu=Hr!=null?Hr:_s)!==null&&Gu!==void 0?Gu:Da}),As=ke.useContext(Gl.Z),Gs=ra!=null?ra:As,Tu=(0,ke.useContext)(ed.aM),{hasFeedback:sa,status:Ys,feedbackIcon:Dl}=Tu,su=ke.createElement(ke.Fragment,null,Vs==="time"?ke.createElement(hi,null):ke.createElement(xt,null),sa&&Dl),[pa]=(0,Jd.Z)("DatePicker",Th.Z),Sl=Object.assign(Object.assign({},pa),Gi.locale);return Nu(ke.createElement(ic,Object.assign({ref:zs,placeholder:pl(Sl,Vs,uo),suffixIcon:su,dropdownAlign:qd(es,vo),prevIcon:ke.createElement("span",{className:`${ks}-prev-icon`}),nextIcon:ke.createElement("span",{className:`${ks}-next-icon`}),superPrevIcon:ke.createElement("span",{className:`${ks}-super-prev-icon`}),superNextIcon:ke.createElement("span",{className:`${ks}-super-next-icon`}),transitionName:`${Pa}-slide-up`},Eu,Ja,Ma,{locale:Sl.lang,className:rn()({[`${ks}-${Bs}`]:Bs,[`${ks}-borderless`]:!fo},(0,Ms.Z)(ks,(0,Ms.F)(Ys,Ro),sa),Rl,ds,ss==null?void 0:ss.className,cr,lo),style:Object.assign(Object.assign({},ss==null?void 0:ss.style),ji),prefixCls:ks,getPopupContainer:Gn||Ga,generateConfig:We,components:Rh,direction:es,disabled:Gs,dropdownClassName:rn()(Rl,lo,tr||Ca),allowClear:Ih($a,cs,ke.createElement(kn.Z,null))})))});return xi&&(vi.displayName=xi),vi}const qe=He(),It=He("week","WeekPicker"),Gt=He("month","MonthPicker"),Pn=He("year","YearPicker"),An=He("time","TimePicker"),Un=He("quarter","QuarterPicker");return{DatePicker:qe,WeekPicker:It,MonthPicker:Gt,YearPicker:Pn,TimePicker:An,QuarterPicker:Un}}const tf=null;function el(We){const{DatePicker:He,WeekPicker:qe,MonthPicker:It,YearPicker:Gt,TimePicker:Pn,QuarterPicker:An}=Gc(We),Un=hc(We),ti=He;return ti.WeekPicker=qe,ti.MonthPicker=It,ti.YearPicker=Gt,ti.RangePicker=Un,ti.TimePicker=Pn,ti.QuarterPicker=An,ti}var Uo=el;const au=Uo(xe);function Xu(We){const He=qd(We.direction,We.placement);return He.overflow.adjustY=!1,He.overflow.adjustX=!1,Object.assign(Object.assign({},We),{dropdownAlign:He})}const tl=(0,Ae.Z)(au,"picker",null,Xu);au._InternalPanelDoNotUseOrYouWillBeFired=tl;const Oa=(0,Ae.Z)(au.RangePicker,"picker",null,Xu);au._InternalRangePanelDoNotUseOrYouWillBeFired=Oa,au.generatePicker=Uo;var ml=au},28103:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Ut}});var ue=Pe(92310),it=Pe.n(ue),Mt=Pe(59301),kt=Pe(36355),Dt=Pe(17313),Wt=Pe(83116),Ve=Pe(37613);const bt=Zt=>{const{componentCls:Oe,sizePaddingEdgeHorizontal:te,colorSplit:ne,lineWidth:de,textPaddingInline:le,orientationMargin:pe,verticalMarginInline:xe}=Zt;return{[Oe]:Object.assign(Object.assign({},(0,Dt.Wf)(Zt)),{borderBlockStart:`${de}px solid ${ne}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:xe,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${de}px solid ${ne}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Zt.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${Oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${Zt.dividerHorizontalWithTextGutterMargin}px 0`,color:Zt.colorTextHeading,fontWeight:500,fontSize:Zt.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${ne}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${de}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Oe}-with-text-left`]:{"&::before":{width:`${pe*100}%`},"&::after":{width:`${100-pe*100}%`}},[`&-horizontal${Oe}-with-text-right`]:{"&::before":{width:`${100-pe*100}%`},"&::after":{width:`${pe*100}%`}},[`${Oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:le},"&-dashed":{background:"none",borderColor:ne,borderStyle:"dashed",borderWidth:`${de}px 0 0`},[`&-horizontal${Oe}-with-text${Oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Oe}-dashed`]:{borderInlineStartWidth:de,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Oe}-with-text`]:{color:Zt.colorText,fontWeight:"normal",fontSize:Zt.fontSize},[`&-horizontal${Oe}-with-text-left${Oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Oe}-inner-text`]:{paddingInlineStart:te}},[`&-horizontal${Oe}-with-text-right${Oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Oe}-inner-text`]:{paddingInlineEnd:te}}})}};var wt=(0,Wt.Z)("Divider",Zt=>{const Oe=(0,Ve.TS)(Zt,{dividerHorizontalWithTextGutterMargin:Zt.margin,dividerHorizontalGutterMargin:Zt.marginLG,sizePaddingEdgeHorizontal:0});return[bt(Oe)]},Zt=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Zt.marginXS})),pt=function(Zt,Oe){var te={};for(var ne in Zt)Object.prototype.hasOwnProperty.call(Zt,ne)&&Oe.indexOf(ne)<0&&(te[ne]=Zt[ne]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ne=Object.getOwnPropertySymbols(Zt);de{const{getPrefixCls:Oe,direction:te,divider:ne}=Mt.useContext(kt.E_),{prefixCls:de,type:le="horizontal",orientation:pe="center",orientationMargin:xe,className:Ae,rootClassName:Me,children:ke,dashed:lt,plain:dt,style:yt}=Zt,ut=pt(Zt,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Tt=Oe("divider",de),[xt,Nt]=wt(Tt),Jt=pe.length>0?`-${pe}`:pe,vn=!!ke,Ai=pe==="left"&&xe!=null,hi=pe==="right"&&xe!=null,kn=it()(Tt,ne==null?void 0:ne.className,Nt,`${Tt}-${le}`,{[`${Tt}-with-text`]:vn,[`${Tt}-with-text${Jt}`]:vn,[`${Tt}-dashed`]:!!lt,[`${Tt}-plain`]:!!dt,[`${Tt}-rtl`]:te==="rtl",[`${Tt}-no-default-orientation-margin-left`]:Ai,[`${Tt}-no-default-orientation-margin-right`]:hi},Ae,Me),ci=Mt.useMemo(()=>typeof xe=="number"?xe:/^\d+$/.test(xe)?Number(xe):xe,[xe]),et=Object.assign(Object.assign({},Ai&&{marginLeft:ci}),hi&&{marginRight:ci});return xt(Mt.createElement("div",Object.assign({className:kn,style:Object.assign(Object.assign({},ne==null?void 0:ne.style),yt)},ut,{role:"separator"}),ke&&le!=="vertical"&&Mt.createElement("span",{className:`${Tt}-inner-text`,style:et},ke)))}},43428:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return mt}});var ue=Pe(92310),it=Pe.n(ue),Mt=Pe(77321),kt=Pe(52487),Dt=Pe(43403),Wt=Pe(34280),Ve=Pe(59301),bt=Ve.createContext(null),wt=Ve.createContext({}),pt=bt,St=Pe(49618),Ut=Pe(72308),Zt=Pe(77900),Oe=Pe(10228),te=Pe(26112),ne=Pe(70425),de=function(gn){var jt=gn.prefixCls,En=gn.className,Fn=gn.style,ii=gn.children,ni=gn.containerRef,mn=gn.id,zt=gn.onMouseEnter,$e=gn.onMouseOver,At=gn.onMouseLeave,Yt=gn.onClick,Ie=gn.onKeyDown,Ce=gn.onKeyUp,Ee={onMouseEnter:zt,onMouseOver:$e,onMouseLeave:At,onClick:Yt,onKeyDown:Ie,onKeyUp:Ce},Te=Ve.useContext(wt),Ue=Te.panel,Le=(0,ne.useComposeRef)(Ue,ni);return Ve.createElement(Ve.Fragment,null,Ve.createElement("div",(0,Ut.Z)({id:mn,className:it()("".concat(jt,"-content"),En),style:(0,Mt.Z)({},Fn),"aria-modal":"true",role:"dialog",ref:Le},Ee),ii))},le=de,pe=Pe(48736);function xe(ht){return typeof ht=="string"&&String(Number(ht))===ht?((0,pe.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(ht)):ht}function Ae(ht){warning(!("wrapperClassName"in ht),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!ht.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Me={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ke(ht,gn){var jt,En,Fn,ii,ni=ht.prefixCls,mn=ht.open,zt=ht.placement,$e=ht.inline,At=ht.push,Yt=ht.forceRender,Ie=ht.autoFocus,Ce=ht.keyboard,Ee=ht.rootClassName,Te=ht.rootStyle,Ue=ht.zIndex,Le=ht.className,rt=ht.id,Sn=ht.style,fn=ht.motion,an=ht.width,qt=ht.height,fi=ht.children,Mn=ht.contentWrapperStyle,On=ht.mask,Hi=ht.maskClosable,Si=ht.maskMotion,sr=ht.maskClassName,ro=ht.maskStyle,Wo=ht.afterOpenChange,No=ht.onClose,Lr=ht.onMouseEnter,Ko=ht.onMouseOver,Oo=ht.onMouseLeave,So=ht.onClick,Eo=ht.onKeyDown,Tr=ht.onKeyUp,Be=Ve.useRef(),ya=Ve.useRef(),to=Ve.useRef();Ve.useImperativeHandle(gn,function(){return Be.current});var zn=function(Br){var Et=Br.keyCode,Di=Br.shiftKey;switch(Et){case Oe.Z.TAB:{if(Et===Oe.Z.TAB){if(!Di&&document.activeElement===to.current){var Cn;(Cn=ya.current)===null||Cn===void 0||Cn.focus({preventScroll:!0})}else if(Di&&document.activeElement===ya.current){var Kn;(Kn=to.current)===null||Kn===void 0||Kn.focus({preventScroll:!0})}}break}case Oe.Z.ESC:{No&&Ce&&(Br.stopPropagation(),No(Br));break}}};Ve.useEffect(function(){if(mn&&Ie){var br;(br=Be.current)===null||br===void 0||br.focus({preventScroll:!0})}},[mn]);var Vi=Ve.useState(!1),Wi=(0,kt.Z)(Vi,2),mi=Wi[0],Jn=Wi[1],nr=Ve.useContext(pt),tn;At===!1?tn={distance:0}:At===!0?tn={}:tn=At||{};var _t=(jt=(En=(Fn=tn)===null||Fn===void 0?void 0:Fn.distance)!==null&&En!==void 0?En:nr==null?void 0:nr.pushDistance)!==null&&jt!==void 0?jt:180,Rt=Ve.useMemo(function(){return{pushDistance:_t,push:function(){Jn(!0)},pull:function(){Jn(!1)}}},[_t]);Ve.useEffect(function(){if(mn){var br;nr==null||(br=nr.push)===null||br===void 0||br.call(nr)}else{var Br;nr==null||(Br=nr.pull)===null||Br===void 0||Br.call(nr)}},[mn]),Ve.useEffect(function(){return function(){var br;nr==null||(br=nr.pull)===null||br===void 0||br.call(nr)}},[]);var Li=On&&Ve.createElement(Zt.default,(0,Ut.Z)({key:"mask"},Si,{visible:mn}),function(br,Br){var Et=br.className,Di=br.style;return Ve.createElement("div",{className:it()("".concat(ni,"-mask"),Et,sr),style:(0,Mt.Z)((0,Mt.Z)({},Di),ro),onClick:Hi&&mn?No:void 0,ref:Br})}),yr=typeof fn=="function"?fn(zt):fn,Oi={};if(mi&&_t)switch(zt){case"top":Oi.transform="translateY(".concat(_t,"px)");break;case"bottom":Oi.transform="translateY(".concat(-_t,"px)");break;case"left":Oi.transform="translateX(".concat(_t,"px)");break;default:Oi.transform="translateX(".concat(-_t,"px)");break}zt==="left"||zt==="right"?Oi.width=xe(an):Oi.height=xe(qt);var Zn={onMouseEnter:Lr,onMouseOver:Ko,onMouseLeave:Oo,onClick:So,onKeyDown:Eo,onKeyUp:Tr},ki=Ve.createElement(Zt.default,(0,Ut.Z)({key:"panel"},yr,{visible:mn,forceRender:Yt,onVisibleChanged:function(Br){Wo==null||Wo(Br)},removeOnLeave:!1,leavedClassName:"".concat(ni,"-content-wrapper-hidden")}),function(br,Br){var Et=br.className,Di=br.style;return Ve.createElement("div",(0,Ut.Z)({className:it()("".concat(ni,"-content-wrapper"),Et),style:(0,Mt.Z)((0,Mt.Z)((0,Mt.Z)({},Oi),Di),Mn)},(0,te.Z)(ht,{data:!0})),Ve.createElement(le,(0,Ut.Z)({id:rt,containerRef:Br,prefixCls:ni,className:Le,style:Sn},Zn),fi))}),Vr=(0,Mt.Z)({},Te);return Ue&&(Vr.zIndex=Ue),Ve.createElement(pt.Provider,{value:Rt},Ve.createElement("div",{className:it()(ni,"".concat(ni,"-").concat(zt),Ee,(ii={},(0,St.Z)(ii,"".concat(ni,"-open"),mn),(0,St.Z)(ii,"".concat(ni,"-inline"),$e),ii)),style:Vr,tabIndex:-1,ref:Be,onKeyDown:zn},Li,Ve.createElement("div",{tabIndex:0,ref:ya,style:Me,"aria-hidden":"true","data-sentinel":"start"}),ki,Ve.createElement("div",{tabIndex:0,ref:to,style:Me,"aria-hidden":"true","data-sentinel":"end"})))}var lt=Ve.forwardRef(ke),dt=lt,yt=function(gn){var jt=gn.open,En=jt===void 0?!1:jt,Fn=gn.prefixCls,ii=Fn===void 0?"rc-drawer":Fn,ni=gn.placement,mn=ni===void 0?"right":ni,zt=gn.autoFocus,$e=zt===void 0?!0:zt,At=gn.keyboard,Yt=At===void 0?!0:At,Ie=gn.width,Ce=Ie===void 0?378:Ie,Ee=gn.mask,Te=Ee===void 0?!0:Ee,Ue=gn.maskClosable,Le=Ue===void 0?!0:Ue,rt=gn.getContainer,Sn=gn.forceRender,fn=gn.afterOpenChange,an=gn.destroyOnClose,qt=gn.onMouseEnter,fi=gn.onMouseOver,Mn=gn.onMouseLeave,On=gn.onClick,Hi=gn.onKeyDown,Si=gn.onKeyUp,sr=gn.panelRef,ro=Ve.useState(!1),Wo=(0,kt.Z)(ro,2),No=Wo[0],Lr=Wo[1],Ko=Ve.useState(!1),Oo=(0,kt.Z)(Ko,2),So=Oo[0],Eo=Oo[1];(0,Wt.Z)(function(){Eo(!0)},[]);var Tr=So?En:!1,Be=Ve.useRef(),ya=Ve.useRef();(0,Wt.Z)(function(){Tr&&(ya.current=document.activeElement)},[Tr]);var to=function(Jn){var nr;if(Lr(Jn),fn==null||fn(Jn),!Jn&&ya.current&&!((nr=Be.current)!==null&&nr!==void 0&&nr.contains(ya.current))){var tn;(tn=ya.current)===null||tn===void 0||tn.focus({preventScroll:!0})}},zn=Ve.useMemo(function(){return{panel:sr}},[sr]);if(!Sn&&!No&&!Tr&&an)return null;var Vi={onMouseEnter:qt,onMouseOver:fi,onMouseLeave:Mn,onClick:On,onKeyDown:Hi,onKeyUp:Si},Wi=(0,Mt.Z)((0,Mt.Z)({},gn),{},{open:Tr,prefixCls:ii,placement:mn,autoFocus:$e,keyboard:Yt,width:Ce,mask:Te,maskClosable:Le,inline:rt===!1,afterOpenChange:to,ref:Be},Vi);return Ve.createElement(wt.Provider,{value:zn},Ve.createElement(Dt.Z,{open:Tr||Sn||No,autoDestroy:!1,getContainer:rt,autoLock:Te&&(Tr||No)},Ve.createElement(dt,Wi)))},ut=yt,Tt=ut,xt=Pe(62892),Nt=Pe(36355),Jt=Pe(32441),vn=Pe(47729),hi=ht=>{const{prefixCls:gn,title:jt,footer:En,extra:Fn,closeIcon:ii,closable:ni,onClose:mn,headerStyle:zt,drawerStyle:$e,bodyStyle:At,footerStyle:Yt,children:Ie}=ht,Ce=Ve.useCallback(rt=>Ve.createElement("button",{type:"button",onClick:mn,"aria-label":"Close",className:`${gn}-close`},rt),[mn]),[Ee,Te]=(0,vn.Z)(ni,ii,Ce,void 0,!0),Ue=Ve.useMemo(()=>!jt&&!Ee?null:Ve.createElement("div",{style:zt,className:it()(`${gn}-header`,{[`${gn}-header-close-only`]:Ee&&!jt&&!Fn})},Ve.createElement("div",{className:`${gn}-header-title`},Te,jt&&Ve.createElement("div",{className:`${gn}-title`},jt)),Fn&&Ve.createElement("div",{className:`${gn}-extra`},Fn)),[Ee,Te,Fn,zt,gn,jt]),Le=Ve.useMemo(()=>{if(!En)return null;const rt=`${gn}-footer`;return Ve.createElement("div",{className:rt,style:Yt},En)},[En,Yt,gn]);return Ve.createElement("div",{className:`${gn}-wrapper-body`,style:$e},Ue,Ve.createElement("div",{className:`${gn}-body`,style:At},Ie),Le)},kn=Pe(33234),ci=Pe(83116),et=Pe(37613),yn=ht=>{const{componentCls:gn,motionDurationSlow:jt}=ht,En={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${jt}`}}};return{[gn]:{[`${gn}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${jt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${gn}-panel-motion`]:{"&-left":[En,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[En,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[En,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[En,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Xn=ht=>{const{componentCls:gn,zIndexPopup:jt,colorBgMask:En,colorBgElevated:Fn,motionDurationSlow:ii,motionDurationMid:ni,padding:mn,paddingLG:zt,fontSizeLG:$e,lineHeightLG:At,lineWidth:Yt,lineType:Ie,colorSplit:Ce,marginSM:Ee,colorIcon:Te,colorIconHover:Ue,colorText:Le,fontWeightStrong:rt,footerPaddingBlock:Sn,footerPaddingInline:fn}=ht,an=`${gn}-content-wrapper`;return{[gn]:{position:"fixed",inset:0,zIndex:jt,pointerEvents:"none","&-pure":{position:"relative",background:Fn,[`&${gn}-left`]:{boxShadow:ht.boxShadowDrawerLeft},[`&${gn}-right`]:{boxShadow:ht.boxShadowDrawerRight},[`&${gn}-top`]:{boxShadow:ht.boxShadowDrawerUp},[`&${gn}-bottom`]:{boxShadow:ht.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${gn}-mask`]:{position:"absolute",inset:0,zIndex:jt,background:En,pointerEvents:"auto"},[an]:{position:"absolute",zIndex:jt,maxWidth:"100vw",transition:`all ${ii}`,"&-hidden":{display:"none"}},[`&-left > ${an}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ht.boxShadowDrawerLeft},[`&-right > ${an}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ht.boxShadowDrawerRight},[`&-top > ${an}`]:{top:0,insetInline:0,boxShadow:ht.boxShadowDrawerUp},[`&-bottom > ${an}`]:{bottom:0,insetInline:0,boxShadow:ht.boxShadowDrawerDown},[`${gn}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Fn,pointerEvents:"auto"},[`${gn}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${gn}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${mn}px ${zt}px`,fontSize:$e,lineHeight:At,borderBottom:`${Yt}px ${Ie} ${Ce}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${gn}-extra`]:{flex:"none"},[`${gn}-close`]:{display:"inline-block",marginInlineEnd:Ee,color:Te,fontWeight:rt,fontSize:$e,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${ni}`,textRendering:"auto","&:focus, &:hover":{color:Ue,textDecoration:"none"}},[`${gn}-title`]:{flex:1,margin:0,color:Le,fontWeight:ht.fontWeightStrong,fontSize:$e,lineHeight:At},[`${gn}-body`]:{flex:1,minWidth:0,minHeight:0,padding:zt,overflow:"auto"},[`${gn}-footer`]:{flexShrink:0,padding:`${Sn}px ${fn}px`,borderTop:`${Yt}px ${Ie} ${Ce}`},"&-rtl":{direction:"rtl"}}}};var ei=(0,ci.Z)("Drawer",ht=>{const gn=(0,et.TS)(ht,{});return[Xn(gn),yn(gn)]},ht=>({zIndexPopup:ht.zIndexPopupBase,footerPaddingBlock:ht.paddingXS,footerPaddingInline:ht.padding})),rn=Pe(11575),xn=function(ht,gn){var jt={};for(var En in ht)Object.prototype.hasOwnProperty.call(ht,En)&&gn.indexOf(En)<0&&(jt[En]=ht[En]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fn=0,En=Object.getOwnPropertySymbols(ht);Fn{var gn;const{rootClassName:jt,width:En,height:Fn,size:ii="default",mask:ni=!0,push:mn=yi,open:zt,afterOpenChange:$e,onClose:At,prefixCls:Yt,getContainer:Ie,style:Ce,className:Ee,visible:Te,afterVisibleChange:Ue}=ht,Le=xn(ht,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:rt,getPrefixCls:Sn,direction:fn,drawer:an}=Ve.useContext(Nt.E_),qt=Sn("drawer",Yt),[fi,Mn]=ei(qt),On=Ie===void 0&&rt?()=>rt(document.body):Ie,Hi=it()({"no-mask":!ni,[`${qt}-rtl`]:fn==="rtl"},jt,Mn),Si=Ve.useMemo(()=>En!=null?En:ii==="large"?736:378,[En,ii]),sr=Ve.useMemo(()=>Fn!=null?Fn:ii==="large"?736:378,[Fn,ii]),ro={motionName:(0,xt.m)(qt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Wo=Lr=>({motionName:(0,xt.m)(qt,`panel-motion-${Lr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),No=(0,rn.H)();return fi(Ve.createElement(kn.BR,null,Ve.createElement(Jt.Ux,{status:!0,override:!0},Ve.createElement(Tt,Object.assign({prefixCls:qt,onClose:At,maskMotion:ro,motion:Wo},Le,{open:zt!=null?zt:Te,mask:ni,push:mn,width:Si,height:sr,style:Object.assign(Object.assign({},an==null?void 0:an.style),Ce),className:it()(an==null?void 0:an.className,Ee),rootClassName:Hi,getContainer:On,afterOpenChange:$e!=null?$e:Ue,panelRef:No}),Ve.createElement(hi,Object.assign({prefixCls:qt},Le,{onClose:At}))))))},Mi=ht=>{const{prefixCls:gn,style:jt,className:En,placement:Fn="right"}=ht,ii=xn(ht,["prefixCls","style","className","placement"]),{getPrefixCls:ni}=Ve.useContext(Nt.E_),mn=ni("drawer",gn),[zt,$e]=ei(mn),At=it()(mn,`${mn}-pure`,`${mn}-${Fn}`,$e,En);return zt(Ve.createElement("div",{className:At,style:jt},Ve.createElement(hi,Object.assign({prefixCls:mn},ii))))};qn._InternalPanelDoNotUseOrYouWillBeFired=Mi;var mt=qn},44e3:function(en,jn,Pe){"use strict";var ue=Pe(84966),it=Pe(45818);const Mt=ue.ZP;Mt.Header=ue.h4,Mt.Footer=ue.$_,Mt.Content=ue.VY,Mt.Sider=it.Z,jn.default=Mt},39722:function(en,jn,Pe){"use strict";Pe.d(jn,{t5:function(){return pt}});var ue=Pe(92310),it=Pe.n(ue),Mt=Pe(55477),kt=Pe(59301),Dt=Pe(36355),Wt=Pe(77578),Ve=Pe(17356),bt=function(Ut,Zt){var Oe={};for(var te in Ut)Object.prototype.hasOwnProperty.call(Ut,te)&&Zt.indexOf(te)<0&&(Oe[te]=Ut[te]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,te=Object.getOwnPropertySymbols(Ut);ne{if(!(!Zt&&!Oe))return kt.createElement(kt.Fragment,null,Zt&&kt.createElement("div",{className:`${Ut}-title`},(0,Wt.Z)(Zt)),kt.createElement("div",{className:`${Ut}-inner-content`},(0,Wt.Z)(Oe)))},pt=Ut=>{const{hashId:Zt,prefixCls:Oe,className:te,style:ne,placement:de="top",title:le,content:pe,children:xe}=Ut;return kt.createElement("div",{className:it()(Zt,Oe,`${Oe}-pure`,`${Oe}-placement-${de}`,te),style:ne},kt.createElement("div",{className:`${Oe}-arrow`}),kt.createElement(Mt.G,Object.assign({},Ut,{className:Zt,prefixCls:Oe}),xe||wt(Oe,le,pe)))},St=Ut=>{const{prefixCls:Zt}=Ut,Oe=bt(Ut,["prefixCls"]),{getPrefixCls:te}=kt.useContext(Dt.E_),ne=te("popover",Zt),[de,le]=(0,Ve.Z)(ne);return de(kt.createElement(pt,Object.assign({},Oe,{prefixCls:ne,hashId:le})))};jn.ZP=St},60324:function(en,jn,Pe){"use strict";var ue=Pe(92310),it=Pe.n(ue),Mt=Pe(59301),kt=Pe(77578),Dt=Pe(62892),Wt=Pe(36355),Ve=Pe(6848),bt=Pe(39722),wt=Pe(17356),pt=function(Zt,Oe){var te={};for(var ne in Zt)Object.prototype.hasOwnProperty.call(Zt,ne)&&Oe.indexOf(ne)<0&&(te[ne]=Zt[ne]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ne=Object.getOwnPropertySymbols(Zt);de{let{title:Oe,content:te,prefixCls:ne}=Zt;return Mt.createElement(Mt.Fragment,null,Oe&&Mt.createElement("div",{className:`${ne}-title`},(0,kt.Z)(Oe)),Mt.createElement("div",{className:`${ne}-inner-content`},(0,kt.Z)(te)))},Ut=Mt.forwardRef((Zt,Oe)=>{const{prefixCls:te,title:ne,content:de,overlayClassName:le,placement:pe="top",trigger:xe="hover",mouseEnterDelay:Ae=.1,mouseLeaveDelay:Me=.1,overlayStyle:ke={}}=Zt,lt=pt(Zt,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:dt}=Mt.useContext(Wt.E_),yt=dt("popover",te),[ut,Tt]=(0,wt.Z)(yt),xt=dt(),Nt=it()(le,Tt);return ut(Mt.createElement(Ve.Z,Object.assign({placement:pe,trigger:xe,mouseEnterDelay:Ae,mouseLeaveDelay:Me,overlayStyle:ke},lt,{prefixCls:yt,overlayClassName:Nt,ref:Oe,overlay:ne||de?Mt.createElement(St,{prefixCls:yt,title:ne,content:de}):null,transitionName:(0,Dt.m)(xt,"zoom-big",lt.transitionName),"data-popover-inject":!0})))});Ut._InternalPanelDoNotUseOrYouWillBeFired=bt.ZP,jn.Z=Ut},17356:function(en,jn,Pe){"use strict";var ue=Pe(17313),it=Pe(29878),Mt=Pe(19447),kt=Pe(33166),Dt=Pe(83116),Wt=Pe(37613);const Ve=pt=>{const{componentCls:St,popoverColor:Ut,minWidth:Zt,fontWeightStrong:Oe,popoverPadding:te,boxShadowSecondary:ne,colorTextHeading:de,borderRadiusLG:le,zIndexPopup:pe,marginXS:xe,colorBgElevated:Ae,popoverBg:Me}=pt;return[{[St]:Object.assign(Object.assign({},(0,ue.Wf)(pt)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:pe,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":Ae,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${St}-content`]:{position:"relative"},[`${St}-inner`]:{backgroundColor:Me,backgroundClip:"padding-box",borderRadius:le,boxShadow:ne,padding:te},[`${St}-title`]:{minWidth:Zt,marginBottom:xe,color:de,fontWeight:Oe},[`${St}-inner-content`]:{color:Ut}})},(0,Mt.ZP)(pt,{colorBg:"var(--antd-arrow-background-color)"}),{[`${St}-pure`]:{position:"relative",maxWidth:"none",margin:pt.sizePopupArrow,display:"inline-block",[`${St}-content`]:{display:"inline-block"}}}]},bt=pt=>{const{componentCls:St}=pt;return{[St]:kt.i.map(Ut=>{const Zt=pt[`${Ut}6`];return{[`&${St}-${Ut}`]:{"--antd-arrow-background-color":Zt,[`${St}-inner`]:{backgroundColor:Zt},[`${St}-arrow`]:{background:"transparent"}}}})}},wt=pt=>{const{componentCls:St,lineWidth:Ut,lineType:Zt,colorSplit:Oe,paddingSM:te,controlHeight:ne,fontSize:de,lineHeight:le,padding:pe}=pt,xe=ne-Math.round(de*le),Ae=xe/2,Me=xe/2-Ut,ke=pe;return{[St]:{[`${St}-inner`]:{padding:0},[`${St}-title`]:{margin:0,padding:`${Ae}px ${ke}px ${Me}px`,borderBottom:`${Ut}px ${Zt} ${Oe}`},[`${St}-inner-content`]:{padding:`${te}px ${ke}px`}}}};jn.Z=(0,Dt.Z)("Popover",pt=>{const{colorBgElevated:St,colorText:Ut,wireframe:Zt}=pt,Oe=(0,Wt.TS)(pt,{popoverPadding:12,popoverBg:St,popoverColor:Ut});return[Ve(Oe),bt(Oe),Zt&&wt(Oe),(0,it._y)(Oe,"zoom-big")]},pt=>({width:177,minWidth:177,zIndexPopup:pt.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},10311:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return zt}});var ue=Pe(92310),it=Pe.n(ue),Mt=Pe(49618),kt=Pe(80702),Dt=Pe(52487),Wt=Pe(62853),Ve=Pe(59301),bt=Pe(13697),wt=Pe(18929),pt=Pe(72308),St=Pe(74416),Ut=Pe(77321),Zt=Pe(10228),Oe=Ve.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0}),te=Oe;function ne($e,At,Yt){return($e-At)/(Yt-At)}function de($e,At,Yt,Ie){var Ce=ne(At,Yt,Ie),Ee={};switch($e){case"rtl":Ee.right="".concat(Ce*100,"%"),Ee.transform="translateX(50%)";break;case"btt":Ee.bottom="".concat(Ce*100,"%"),Ee.transform="translateY(50%)";break;case"ttb":Ee.top="".concat(Ce*100,"%"),Ee.transform="translateY(-50%)";break;default:Ee.left="".concat(Ce*100,"%"),Ee.transform="translateX(-50%)";break}return Ee}function le($e,At){return Array.isArray($e)?$e[At]:$e}var pe=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],xe=Ve.forwardRef(function($e,At){var Yt,Ie,Ce=$e.prefixCls,Ee=$e.value,Te=$e.valueIndex,Ue=$e.onStartMove,Le=$e.style,rt=$e.render,Sn=$e.dragging,fn=$e.onOffsetChange,an=(0,St.Z)($e,pe),qt=Ve.useContext(te),fi=qt.min,Mn=qt.max,On=qt.direction,Hi=qt.disabled,Si=qt.keyboard,sr=qt.range,ro=qt.tabIndex,Wo=qt.ariaLabelForHandle,No=qt.ariaLabelledByForHandle,Lr=qt.ariaValueTextFormatterForHandle,Ko="".concat(Ce,"-handle"),Oo=function(ya){Hi||Ue(ya,Te)},So=function(ya){if(!Hi&&Si){var to=null;switch(ya.which||ya.keyCode){case Zt.Z.LEFT:to=On==="ltr"||On==="btt"?-1:1;break;case Zt.Z.RIGHT:to=On==="ltr"||On==="btt"?1:-1;break;case Zt.Z.UP:to=On!=="ttb"?1:-1;break;case Zt.Z.DOWN:to=On!=="ttb"?-1:1;break;case Zt.Z.HOME:to="min";break;case Zt.Z.END:to="max";break;case Zt.Z.PAGE_UP:to=2;break;case Zt.Z.PAGE_DOWN:to=-2;break}to!==null&&(ya.preventDefault(),fn(to,Te))}},Eo=de(On,Ee,fi,Mn),Tr=Ve.createElement("div",(0,pt.Z)({ref:At,className:it()(Ko,(Yt={},(0,Mt.Z)(Yt,"".concat(Ko,"-").concat(Te+1),sr),(0,Mt.Z)(Yt,"".concat(Ko,"-dragging"),Sn),Yt)),style:(0,Ut.Z)((0,Ut.Z)({},Eo),Le),onMouseDown:Oo,onTouchStart:Oo,onKeyDown:So,tabIndex:Hi?null:le(ro,Te),role:"slider","aria-valuemin":fi,"aria-valuemax":Mn,"aria-valuenow":Ee,"aria-disabled":Hi,"aria-label":le(Wo,Te),"aria-labelledby":le(No,Te),"aria-valuetext":(Ie=le(Lr,Te))===null||Ie===void 0?void 0:Ie(Ee),"aria-orientation":On==="ltr"||On==="rtl"?"horizontal":"vertical"},an));return rt&&(Tr=rt(Tr,{index:Te,prefixCls:Ce,value:Ee,dragging:Sn})),Tr}),Ae=xe,Me=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],ke=Ve.forwardRef(function($e,At){var Yt=$e.prefixCls,Ie=$e.style,Ce=$e.onStartMove,Ee=$e.onOffsetChange,Te=$e.values,Ue=$e.handleRender,Le=$e.draggingIndex,rt=(0,St.Z)($e,Me),Sn=Ve.useRef({});return Ve.useImperativeHandle(At,function(){return{focus:function(an){var qt;(qt=Sn.current[an])===null||qt===void 0||qt.focus()}}}),Ve.createElement(Ve.Fragment,null,Te.map(function(fn,an){return Ve.createElement(Ae,(0,pt.Z)({ref:function(fi){fi?Sn.current[an]=fi:delete Sn.current[an]},dragging:Le===an,prefixCls:Yt,style:le(Ie,an),key:an,value:fn,valueIndex:an,onStartMove:Ce,onOffsetChange:Ee,render:Ue},rt))}))}),lt=ke;function dt($e){var At="touches"in $e?$e.touches[0]:$e;return{pageX:At.pageX,pageY:At.pageY}}function yt($e,At,Yt,Ie,Ce,Ee,Te,Ue,Le){var rt=Ve.useState(null),Sn=(0,Dt.Z)(rt,2),fn=Sn[0],an=Sn[1],qt=Ve.useState(-1),fi=(0,Dt.Z)(qt,2),Mn=fi[0],On=fi[1],Hi=Ve.useState(Yt),Si=(0,Dt.Z)(Hi,2),sr=Si[0],ro=Si[1],Wo=Ve.useState(Yt),No=(0,Dt.Z)(Wo,2),Lr=No[0],Ko=No[1],Oo=Ve.useRef(null),So=Ve.useRef(null);Ve.useEffect(function(){Mn===-1&&ro(Yt)},[Yt,Mn]),Ve.useEffect(function(){return function(){document.removeEventListener("mousemove",Oo.current),document.removeEventListener("mouseup",So.current),document.removeEventListener("touchmove",Oo.current),document.removeEventListener("touchend",So.current)}},[]);var Eo=function(Vi,Wi){sr.some(function(mi,Jn){return mi!==Vi[Jn]})&&(Wi!==void 0&&an(Wi),ro(Vi),Te(Vi))},Tr=function(Vi,Wi){if(Vi===-1){var mi=Lr[0],Jn=Lr[Lr.length-1],nr=Ie-mi,tn=Ce-Jn,_t=Wi*(Ce-Ie);_t=Math.max(_t,nr),_t=Math.min(_t,tn);var Rt=Ee(mi+_t);_t=Rt-mi;var Li=Lr.map(function(ki){return ki+_t});Eo(Li)}else{var yr=(Ce-Ie)*Wi,Oi=(0,kt.Z)(sr);Oi[Vi]=Lr[Vi];var Zn=Le(Oi,yr,Vi,"dist");Eo(Zn.values,Zn.value)}},Be=Ve.useRef(Tr);Be.current=Tr;var ya=function(Vi,Wi){Vi.stopPropagation();var mi=Yt[Wi];On(Wi),an(mi),Ko(Yt);var Jn=dt(Vi),nr=Jn.pageX,tn=Jn.pageY,_t=function(yr){yr.preventDefault();var Oi=dt(yr),Zn=Oi.pageX,ki=Oi.pageY,Vr=Zn-nr,br=ki-tn,Br=$e.current.getBoundingClientRect(),Et=Br.width,Di=Br.height,Cn;switch(At){case"btt":Cn=-br/Di;break;case"ttb":Cn=br/Di;break;case"rtl":Cn=-Vr/Et;break;default:Cn=Vr/Et}Be.current(Wi,Cn)},Rt=function Li(yr){yr.preventDefault(),document.removeEventListener("mouseup",Li),document.removeEventListener("mousemove",_t),document.removeEventListener("touchend",Li),document.removeEventListener("touchmove",_t),Oo.current=null,So.current=null,On(-1),Ue()};document.addEventListener("mouseup",Rt),document.addEventListener("mousemove",_t),document.addEventListener("touchend",Rt),document.addEventListener("touchmove",_t),Oo.current=_t,So.current=Rt},to=Ve.useMemo(function(){var zn=(0,kt.Z)(Yt).sort(function(Wi,mi){return Wi-mi}),Vi=(0,kt.Z)(sr).sort(function(Wi,mi){return Wi-mi});return zn.every(function(Wi,mi){return Wi===Vi[mi]})?sr:Yt},[Yt,sr]);return[Mn,fn,to,ya]}function ut($e){var At,Yt=$e.prefixCls,Ie=$e.style,Ce=$e.start,Ee=$e.end,Te=$e.index,Ue=$e.onStartMove,Le=Ve.useContext(te),rt=Le.direction,Sn=Le.min,fn=Le.max,an=Le.disabled,qt=Le.range,fi="".concat(Yt,"-track"),Mn=ne(Ce,Sn,fn),On=ne(Ee,Sn,fn),Hi=function(ro){!an&&Ue&&Ue(ro,-1)},Si={};switch(rt){case"rtl":Si.right="".concat(Mn*100,"%"),Si.width="".concat(On*100-Mn*100,"%");break;case"btt":Si.bottom="".concat(Mn*100,"%"),Si.height="".concat(On*100-Mn*100,"%");break;case"ttb":Si.top="".concat(Mn*100,"%"),Si.height="".concat(On*100-Mn*100,"%");break;default:Si.left="".concat(Mn*100,"%"),Si.width="".concat(On*100-Mn*100,"%")}return Ve.createElement("div",{className:it()(fi,(At={},(0,Mt.Z)(At,"".concat(fi,"-").concat(Te+1),qt),(0,Mt.Z)(At,"".concat(Yt,"-track-draggable"),Ue),At)),style:(0,Ut.Z)((0,Ut.Z)({},Si),Ie),onMouseDown:Hi,onTouchStart:Hi})}function Tt($e){var At=$e.prefixCls,Yt=$e.style,Ie=$e.values,Ce=$e.startPoint,Ee=$e.onStartMove,Te=Ve.useContext(te),Ue=Te.included,Le=Te.range,rt=Te.min,Sn=Ve.useMemo(function(){if(!Le){if(Ie.length===0)return[];var fn=Ce!=null?Ce:rt,an=Ie[0];return[{start:Math.min(fn,an),end:Math.max(fn,an)}]}for(var qt=[],fi=0;fi3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof Mn=="number"){var Si,sr=fi[On],ro=sr+Mn,Wo=[];Ie.forEach(function(So){Wo.push(So.value)}),Wo.push($e,At),Wo.push(Ue(sr));var No=Mn>0?1:-1;Hi==="unit"?Wo.push(Ue(sr+No*Yt)):Wo.push(Ue(ro)),Wo=Wo.filter(function(So){return So!==null}).filter(function(So){return Mn<0?So<=sr:So>=sr}),Hi==="unit"&&(Wo=Wo.filter(function(So){return So!==sr}));var Lr=Hi==="unit"?sr:ro;Si=Wo[0];var Ko=Math.abs(Si-Lr);if(Wo.forEach(function(So){var Eo=Math.abs(So-Lr);Eo1){var Oo=(0,kt.Z)(fi);return Oo[On]=Si,qt(Oo,Mn-No,On,Hi)}return Si}else{if(Mn==="min")return $e;if(Mn==="max")return At}},Sn=function(fi,Mn,On){var Hi=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",Si=fi[On],sr=rt(fi,Mn,On,Hi);return{value:sr,changed:sr!==Si}},fn=function(fi){return Ee===null&&fi===0||typeof Ee=="number"&&fi3&&arguments[3]!==void 0?arguments[3]:"unit",Si=fi.map(Le),sr=Si[On],ro=rt(Si,Mn,On,Hi);if(Si[On]=ro,Ce===!1){var Wo=Ee||0;On>0&&Si[On-1]!==sr&&(Si[On]=Math.max(Si[On],Si[On-1]+Wo)),On0;Oo-=1)for(var So=!0;fn(Si[Oo]-Si[Oo-1])&&So;){var Eo=Sn(Si,-1,Oo-1);Si[Oo-1]=Eo.value,So=Eo.changed}for(var Tr=Si.length-1;Tr>0;Tr-=1)for(var Be=!0;fn(Si[Tr]-Si[Tr-1])&&Be;){var ya=Sn(Si,-1,Tr-1);Si[Tr-1]=ya.value,Be=ya.changed}for(var to=0;to=0?ya:!1},[ya,un]),Ii=Ve.useMemo(function(){var no=Object.keys(yr||{});return no.map(function(rr){var qi=yr[rr],Qi={value:Number(rr)};return qi&&(0,Wt.Z)(qi)==="object"&&!Ve.isValidElement(qi)&&("label"in qi||"style"in qi)?(Qi.style=qi.style,Qi.label=qi.label):Qi.label=qi,Qi}).filter(function(rr){var qi=rr.label;return qi||typeof qi=="number"}).sort(function(rr,qi){return rr.value-qi.value})},[yr]),Ri=Ai(Lt,Ft,un,Ii,Tr,Sr),si=(0,Dt.Z)(Ri,2),Ti=si[0],Jr=si[1],Qr=(0,wt.Z)(Wo,{value:ro}),Lo=(0,Dt.Z)(Qr,2),Nn=Lo[0],ja=Lo[1],co=Ve.useMemo(function(){var no=Nn==null?[]:Array.isArray(Nn)?Nn:[Nn],rr=(0,Dt.Z)(no,1),qi=rr[0],Qi=qi===void 0?Lt:qi,aa=Nn===null?[]:[Qi];if(No){if(aa=(0,kt.Z)(no),Lr||Nn===void 0){var ys=Lr>=0?Lr+1:2;for(aa=aa.slice(0,ys);aa.length=0&&Di.current.focus(no)}ui(null)},[lr]);var Yn=Ve.useMemo(function(){return to&&un===null?!1:to},[to,un]),ln=function(){So==null||So(sn(Kr.current))},_r=yt(Cn,Kn,co,Lt,Ft,Ti,Vt,ln,Jr),Rn=(0,Dt.Z)(_r,4),Ir=Rn[0],Or=Rn[1],fr=Rn[2],Bo=Rn[3],Zr=function(rr,qi){Bo(rr,qi),Oo==null||Oo(sn(Kr.current))},Zi=Ir!==-1;Ve.useEffect(function(){if(!Zi){var no=co.lastIndexOf(Or);Di.current.focus(no)}},[Zi]);var xr=Ve.useMemo(function(){return(0,kt.Z)(fr).sort(function(no,rr){return no-rr})},[fr]),oo=Ve.useMemo(function(){return No?[xr[0],xr[xr.length-1]]:[Lt,xr[0]]},[xr,No,Lt]),Bn=(0,Dt.Z)(oo,2),gi=Bn[0],Ze=Bn[1];Ve.useImperativeHandle(At,function(){return{focus:function(){Di.current.focus(0)},blur:function(){var rr=document,qi=rr.activeElement;Cn.current.contains(qi)&&(qi==null||qi.blur())}}}),Ve.useEffect(function(){fn&&Di.current.focus(0)},[]);var Io=Ve.useMemo(function(){return{min:Lt,max:Ft,direction:Kn,disabled:Le,keyboard:Sn,step:un,included:mi,includedStart:gi,includedEnd:Ze,range:No,tabIndex:Vr,ariaLabelForHandle:br,ariaLabelledByForHandle:Br,ariaValueTextFormatterForHandle:Et}},[Lt,Ft,Kn,Le,Sn,un,mi,gi,Ze,No,Vr,br,Br,Et]);return Ve.createElement(te.Provider,{value:Io},Ve.createElement("div",{ref:Cn,className:it()(Ce,Ee,(Yt={},(0,Mt.Z)(Yt,"".concat(Ce,"-disabled"),Le),(0,Mt.Z)(Yt,"".concat(Ce,"-vertical"),Vi),(0,Mt.Z)(Yt,"".concat(Ce,"-horizontal"),!Vi),(0,Mt.Z)(Yt,"".concat(Ce,"-with-marks"),Ii.length),Yt)),style:Te,onMouseDown:Xt},Ve.createElement("div",{className:"".concat(Ce,"-rail"),style:_t}),Ve.createElement(Tt,{prefixCls:Ce,style:nr,values:xr,startPoint:Jn,onStartMove:Yn?Zr:null}),Ve.createElement(vn,{prefixCls:Ce,marks:Ii,dots:Oi,style:Rt,activeStyle:Li}),Ve.createElement(lt,{ref:Di,prefixCls:Ce,style:tn,values:fr,draggingIndex:Ir,onStartMove:Zr,onOffsetChange:Ci,onFocus:an,onBlur:qt,handleRender:Zn}),Ve.createElement(Nt,{prefixCls:Ce,marks:Ii,onClick:hn})))}),ci=kn,et=ci,ze=Pe(36355),yn=Pe(1684),Xn=Pe(16089),ei=Pe(8654),rn=Pe(6848),Dn=Ve.forwardRef(($e,At)=>{const{open:Yt}=$e,Ie=(0,Ve.useRef)(null),Ce=(0,Ve.useRef)(null);function Ee(){Xn.Z.cancel(Ce.current),Ce.current=null}function Te(){Ce.current=(0,Xn.Z)(()=>{var Ue;(Ue=Ie.current)===null||Ue===void 0||Ue.forceAlign(),Ce.current=null})}return Ve.useEffect(()=>(Yt?Te():Ee(),Ee),[Yt,$e.title]),Ve.createElement(rn.Z,Object.assign({ref:(0,ei.sQ)(Ie,At)},$e))}),yi=Pe(64993),qn=Pe(17313),Mi=Pe(83116),mt=Pe(37613);const ht=$e=>{const{componentCls:At,antCls:Yt,controlSize:Ie,dotSize:Ce,marginFull:Ee,marginPart:Te,colorFillContentHover:Ue}=$e;return{[At]:Object.assign(Object.assign({},(0,qn.Wf)($e)),{position:"relative",height:Ie,margin:`${Te}px ${Ee}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${Ee}px ${Te}px`},[`${At}-rail`]:{position:"absolute",backgroundColor:$e.railBg,borderRadius:$e.borderRadiusXS,transition:`background-color ${$e.motionDurationMid}`},[`${At}-track`]:{position:"absolute",backgroundColor:$e.trackBg,borderRadius:$e.borderRadiusXS,transition:`background-color ${$e.motionDurationMid}`},[`${At}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${At}-rail`]:{backgroundColor:$e.railHoverBg},[`${At}-track`]:{backgroundColor:$e.trackHoverBg},[`${At}-dot`]:{borderColor:Ue},[`${At}-handle::after`]:{boxShadow:`0 0 0 ${$e.handleLineWidth}px ${$e.colorPrimaryBorderHover}`},[`${At}-dot-active`]:{borderColor:$e.dotActiveBorderColor}},[`${At}-handle`]:{position:"absolute",width:$e.handleSize,height:$e.handleSize,outline:"none",[`${At}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-$e.handleLineWidth,insetBlockStart:-$e.handleLineWidth,width:$e.handleSize+$e.handleLineWidth*2,height:$e.handleSize+$e.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:$e.handleSize,height:$e.handleSize,backgroundColor:$e.colorBgElevated,boxShadow:`0 0 0 ${$e.handleLineWidth}px ${$e.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:` + table`]:{textAlign:"center"},"&-focused":{borderColor:xi}}}}),"&-dropdown-range":{padding:`${Ga*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${He}-separator`]:{transform:"rotate(180deg)"},[`${He}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Pd.oN)(We,"slide-up"),(0,Pd.oN)(We,"slide-down"),(0,Zl.Fm)(We,"move-up"),(0,Zl.Fm)(We,"move-down")]},ou=We=>{const{componentCls:He,controlHeightLG:qe,paddingXXS:It,padding:Gt}=We;return{pickerCellCls:`${He}-cell`,pickerCellInnerCls:`${He}-cell-inner`,pickerYearMonthCellWidth:qe*1.5,pickerQuarterPanelContentHeight:qe*1.4,pickerCellPaddingVertical:It+It/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Gt+It/2}},Oh=We=>({cellHoverBg:We.controlItemBgHover,cellActiveWithRangeBg:We.controlItemBgActive,cellHoverWithRangeBg:new Id.C(We.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Id.C(We.colorPrimary).lighten(20).toHexString(),cellBgDisabled:We.colorBgContainerDisabled,timeColumnWidth:We.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:We.controlHeightSM*1.5,cellHeight:We.controlHeightSM,textHeight:We.controlHeightLG,withoutTimeCellHeight:We.controlHeightLG*1.65});var Qd=(0,xf.Z)("DatePicker",We=>{const He=(0,qh.TS)((0,Ol.e5)(We),ou(We));return[ul(He),_u(He),(0,Dc.c)(We,{focusElCls:`${We.componentCls}-focused`})]},We=>Object.assign(Object.assign(Object.assign({},(0,Ol.TM)(We)),Oh(We)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:We.zIndexPopupBase+50}));function pl(We,He,qe){return qe!==void 0?qe:He==="year"&&We.lang.yearPlaceholder?We.lang.yearPlaceholder:He==="quarter"&&We.lang.quarterPlaceholder?We.lang.quarterPlaceholder:He==="month"&&We.lang.monthPlaceholder?We.lang.monthPlaceholder:He==="week"&&We.lang.weekPlaceholder?We.lang.weekPlaceholder:He==="time"&&We.timePickerLocale.placeholder?We.timePickerLocale.placeholder:We.lang.placeholder}function $h(We,He,qe){return qe!==void 0?qe:He==="year"&&We.lang.yearPlaceholder?We.lang.rangeYearPlaceholder:He==="quarter"&&We.lang.quarterPlaceholder?We.lang.rangeQuarterPlaceholder:He==="month"&&We.lang.monthPlaceholder?We.lang.rangeMonthPlaceholder:He==="week"&&We.lang.weekPlaceholder?We.lang.rangeWeekPlaceholder:He==="time"&&We.timePickerLocale.placeholder?We.timePickerLocale.rangePlaceholder:We.lang.rangePlaceholder}function qd(We,He){const qe={adjustX:1,adjustY:1};switch(He){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:qe};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:qe};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:qe};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:qe};default:return{points:We==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:qe}}}function Rd(We){return We?Array.isArray(We)?We:[We]:[]}function qr(We){const{format:He,picker:qe,showHour:It,showMinute:Gt,showSecond:Pn,use12Hours:An}=We,Un=Rd(He)[0],ti=Object.assign({},We);return He&&Array.isArray(He)&&(ti.format=Un),Un&&typeof Un=="string"&&(!Un.includes("s")&&Pn===void 0&&(ti.showSecond=!1),!Un.includes("m")&&Gt===void 0&&(ti.showMinute=!1),!Un.includes("H")&&!Un.includes("h")&&!Un.includes("K")&&!Un.includes("k")&&It===void 0&&(ti.showHour=!1),(Un.includes("a")||Un.includes("A"))&&An===void 0&&(ti.use12Hours=!0)),qe==="time"?ti:(typeof Un=="function"&&delete ti.format,{showTime:ti})}function Ih(We,He,qe){if(We===!1)return!1;const It={clearIcon:He!=null?He:qe};return typeof We=="object"?Object.assign(Object.assign({},It),We):It}var Bt=Pe(3113);function li(We){return ke.createElement(Bt.ZP,Object.assign({size:"small",type:"primary"},We))}var Rh={button:li},cd=function(We,He){var qe={};for(var It in We)Object.prototype.hasOwnProperty.call(We,It)&&He.indexOf(It)<0&&(qe[It]=We[It]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,It=Object.getOwnPropertySymbols(We);Gt{const{prefixCls:Gt,getPopupContainer:Pn,className:An,placement:Un,size:ti,disabled:xi,bordered:$i=!0,placeholder:vi,popupClassName:Gi,dropdownClassName:di,status:hr,clearIcon:Gn,allowClear:ji,rootClassName:cr}=qe,lo=cd(qe,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Hr=ke.useRef(null),{getPrefixCls:fo,direction:vo,getPopupContainer:uo}=(0,ke.useContext)(Tl.E_),tr=fo("picker",Gt),{compactSize:Ca,compactItemClassnames:ra}=(0,Qh.ri)(tr,vo),{format:Ro,showTime:cs,picker:$a}=qe,Ja=fo(),[js,es]=Qd(tr),Ga=Object.assign(Object.assign({},cs?qr(Object.assign({format:Ro,picker:$a},cs)):{}),$a==="time"?qr(Object.assign(Object.assign({format:Ro},qe),{picker:$a})):{}),ss=(0,Yu.Z)(Ma=>{var Vs;return(Vs=ti!=null?ti:Ca)!==null&&Vs!==void 0?Vs:Ma}),ks=ke.useContext(Gl.Z),_s=xi!=null?xi:ks,ds=(0,ke.useContext)(ed.aM),{hasFeedback:zs,status:vl,feedbackIcon:yl}=ds,Nu=ke.createElement(ke.Fragment,null,$a==="time"?ke.createElement(hi,null):ke.createElement(xt,null),zs&&yl);(0,ke.useImperativeHandle)(It,()=>({focus:()=>{var Ma;return(Ma=Hr.current)===null||Ma===void 0?void 0:Ma.focus()},blur:()=>{var Ma;return(Ma=Hr.current)===null||Ma===void 0?void 0:Ma.blur()}}));const[Rl]=(0,Jd.Z)("Calendar",Th.Z),Eu=Object.assign(Object.assign({},Rl),qe.locale);return js(ke.createElement(hu,Object.assign({separator:ke.createElement("span",{"aria-label":"to",className:`${tr}-separator`},ke.createElement(Xn,null)),disabled:_s,ref:Hr,dropdownAlign:qd(vo,Un),placeholder:$h(Eu,$a,vi),suffixIcon:Nu,prevIcon:ke.createElement("span",{className:`${tr}-prev-icon`}),nextIcon:ke.createElement("span",{className:`${tr}-next-icon`}),superPrevIcon:ke.createElement("span",{className:`${tr}-super-prev-icon`}),superNextIcon:ke.createElement("span",{className:`${tr}-super-next-icon`}),transitionName:`${Ja}-slide-up`},lo,Ga,{className:on()({[`${tr}-${ss}`]:ss,[`${tr}-borderless`]:!$i},(0,Ms.Z)(tr,(0,Ms.F)(vl,hr),zs),es,ra,An,cr),locale:Eu.lang,prefixCls:tr,getPopupContainer:Pn||uo,generateConfig:We,components:Rh,direction:vo,dropdownClassName:on()(es,Gi||di,cr),allowClear:Ih(ji,Gn,ke.createElement(kn.Z,null))})))})}var Au=function(We,He){var qe={};for(var It in We)Object.prototype.hasOwnProperty.call(We,It)&&He.indexOf(It)<0&&(qe[It]=We[It]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,It=Object.getOwnPropertySymbols(We);Gt{const{prefixCls:hr,getPopupContainer:Gn,style:ji,className:cr,rootClassName:lo,size:Hr,bordered:fo=!0,placement:vo,placeholder:uo,popupClassName:tr,dropdownClassName:Ca,disabled:ra,status:Ro,clearIcon:cs,allowClear:$a}=Gi,Ja=Au(Gi,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:js,direction:es,getPopupContainer:Ga,[$i]:ss}=(0,ke.useContext)(Tl.E_),ks=js("picker",hr),{compactSize:_s,compactItemClassnames:ds}=(0,Qh.ri)(ks,es),zs=ke.useRef(null),{format:vl,showTime:yl}=Gi,[Nu,Rl]=Qd(ks);(0,ke.useImperativeHandle)(di,()=>({focus:()=>{var Da;return(Da=zs.current)===null||Da===void 0?void 0:Da.focus()},blur:()=>{var Da;return(Da=zs.current)===null||Da===void 0?void 0:Da.blur()}}));const Eu={showToday:!0};let Ma={};ti&&(Ma.picker=ti);const Vs=ti||Gi.picker;Ma=Object.assign(Object.assign(Object.assign({},Ma),yl?qr(Object.assign({format:vl,picker:Vs},yl)):{}),Vs==="time"?qr(Object.assign(Object.assign({format:vl},Gi),{picker:Vs})):{});const Pa=js(),Bs=(0,Yu.Z)(Da=>{var Gu;return(Gu=Hr!=null?Hr:_s)!==null&&Gu!==void 0?Gu:Da}),As=ke.useContext(Gl.Z),Gs=ra!=null?ra:As,Tu=(0,ke.useContext)(ed.aM),{hasFeedback:sa,status:Ys,feedbackIcon:Dl}=Tu,su=ke.createElement(ke.Fragment,null,Vs==="time"?ke.createElement(hi,null):ke.createElement(xt,null),sa&&Dl),[pa]=(0,Jd.Z)("DatePicker",Th.Z),Sl=Object.assign(Object.assign({},pa),Gi.locale);return Nu(ke.createElement(ic,Object.assign({ref:zs,placeholder:pl(Sl,Vs,uo),suffixIcon:su,dropdownAlign:qd(es,vo),prevIcon:ke.createElement("span",{className:`${ks}-prev-icon`}),nextIcon:ke.createElement("span",{className:`${ks}-next-icon`}),superPrevIcon:ke.createElement("span",{className:`${ks}-super-prev-icon`}),superNextIcon:ke.createElement("span",{className:`${ks}-super-next-icon`}),transitionName:`${Pa}-slide-up`},Eu,Ja,Ma,{locale:Sl.lang,className:on()({[`${ks}-${Bs}`]:Bs,[`${ks}-borderless`]:!fo},(0,Ms.Z)(ks,(0,Ms.F)(Ys,Ro),sa),Rl,ds,ss==null?void 0:ss.className,cr,lo),style:Object.assign(Object.assign({},ss==null?void 0:ss.style),ji),prefixCls:ks,getPopupContainer:Gn||Ga,generateConfig:We,components:Rh,direction:es,disabled:Gs,dropdownClassName:on()(Rl,lo,tr||Ca),allowClear:Ih($a,cs,ke.createElement(kn.Z,null))})))});return xi&&(vi.displayName=xi),vi}const qe=He(),It=He("week","WeekPicker"),Gt=He("month","MonthPicker"),Pn=He("year","YearPicker"),An=He("time","TimePicker"),Un=He("quarter","QuarterPicker");return{DatePicker:qe,WeekPicker:It,MonthPicker:Gt,YearPicker:Pn,TimePicker:An,QuarterPicker:Un}}const tf=null;function el(We){const{DatePicker:He,WeekPicker:qe,MonthPicker:It,YearPicker:Gt,TimePicker:Pn,QuarterPicker:An}=Gc(We),Un=hc(We),ti=He;return ti.WeekPicker=qe,ti.MonthPicker=It,ti.YearPicker=Gt,ti.RangePicker=Un,ti.TimePicker=Pn,ti.QuarterPicker=An,ti}var Uo=el;const au=Uo(xe);function Xu(We){const He=qd(We.direction,We.placement);return He.overflow.adjustY=!1,He.overflow.adjustX=!1,Object.assign(Object.assign({},We),{dropdownAlign:He})}const tl=(0,Ae.Z)(au,"picker",null,Xu);au._InternalPanelDoNotUseOrYouWillBeFired=tl;const Oa=(0,Ae.Z)(au.RangePicker,"picker",null,Xu);au._InternalRangePanelDoNotUseOrYouWillBeFired=Oa,au.generatePicker=Uo;var ml=au},28103:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Ut}});var ue=Pe(92310),it=Pe.n(ue),Mt=Pe(59301),kt=Pe(36355),Dt=Pe(17313),Wt=Pe(83116),Ve=Pe(37613);const bt=Zt=>{const{componentCls:Oe,sizePaddingEdgeHorizontal:te,colorSplit:ne,lineWidth:de,textPaddingInline:le,orientationMargin:pe,verticalMarginInline:xe}=Zt;return{[Oe]:Object.assign(Object.assign({},(0,Dt.Wf)(Zt)),{borderBlockStart:`${de}px solid ${ne}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:xe,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${de}px solid ${ne}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Zt.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${Oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${Zt.dividerHorizontalWithTextGutterMargin}px 0`,color:Zt.colorTextHeading,fontWeight:500,fontSize:Zt.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${ne}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${de}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Oe}-with-text-left`]:{"&::before":{width:`${pe*100}%`},"&::after":{width:`${100-pe*100}%`}},[`&-horizontal${Oe}-with-text-right`]:{"&::before":{width:`${100-pe*100}%`},"&::after":{width:`${pe*100}%`}},[`${Oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:le},"&-dashed":{background:"none",borderColor:ne,borderStyle:"dashed",borderWidth:`${de}px 0 0`},[`&-horizontal${Oe}-with-text${Oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Oe}-dashed`]:{borderInlineStartWidth:de,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Oe}-with-text`]:{color:Zt.colorText,fontWeight:"normal",fontSize:Zt.fontSize},[`&-horizontal${Oe}-with-text-left${Oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Oe}-inner-text`]:{paddingInlineStart:te}},[`&-horizontal${Oe}-with-text-right${Oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Oe}-inner-text`]:{paddingInlineEnd:te}}})}};var wt=(0,Wt.Z)("Divider",Zt=>{const Oe=(0,Ve.TS)(Zt,{dividerHorizontalWithTextGutterMargin:Zt.margin,dividerHorizontalGutterMargin:Zt.marginLG,sizePaddingEdgeHorizontal:0});return[bt(Oe)]},Zt=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Zt.marginXS})),pt=function(Zt,Oe){var te={};for(var ne in Zt)Object.prototype.hasOwnProperty.call(Zt,ne)&&Oe.indexOf(ne)<0&&(te[ne]=Zt[ne]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ne=Object.getOwnPropertySymbols(Zt);de{const{getPrefixCls:Oe,direction:te,divider:ne}=Mt.useContext(kt.E_),{prefixCls:de,type:le="horizontal",orientation:pe="center",orientationMargin:xe,className:Ae,rootClassName:Me,children:ke,dashed:lt,plain:dt,style:yt}=Zt,ut=pt(Zt,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Ot=Oe("divider",de),[xt,Nt]=wt(Ot),Jt=pe.length>0?`-${pe}`:pe,vn=!!ke,Ai=pe==="left"&&xe!=null,hi=pe==="right"&&xe!=null,kn=it()(Ot,ne==null?void 0:ne.className,Nt,`${Ot}-${le}`,{[`${Ot}-with-text`]:vn,[`${Ot}-with-text${Jt}`]:vn,[`${Ot}-dashed`]:!!lt,[`${Ot}-plain`]:!!dt,[`${Ot}-rtl`]:te==="rtl",[`${Ot}-no-default-orientation-margin-left`]:Ai,[`${Ot}-no-default-orientation-margin-right`]:hi},Ae,Me),ci=Mt.useMemo(()=>typeof xe=="number"?xe:/^\d+$/.test(xe)?Number(xe):xe,[xe]),et=Object.assign(Object.assign({},Ai&&{marginLeft:ci}),hi&&{marginRight:ci});return xt(Mt.createElement("div",Object.assign({className:kn,style:Object.assign(Object.assign({},ne==null?void 0:ne.style),yt)},ut,{role:"separator"}),ke&&le!=="vertical"&&Mt.createElement("span",{className:`${Ot}-inner-text`,style:et},ke)))}},43428:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return mt}});var ue=Pe(92310),it=Pe.n(ue),Mt=Pe(77321),kt=Pe(52487),Dt=Pe(43403),Wt=Pe(34280),Ve=Pe(59301),bt=Ve.createContext(null),wt=Ve.createContext({}),pt=bt,St=Pe(49618),Ut=Pe(72308),Zt=Pe(77900),Oe=Pe(10228),te=Pe(26112),ne=Pe(70425),de=function(gn){var jt=gn.prefixCls,En=gn.className,Fn=gn.style,ri=gn.children,ni=gn.containerRef,mn=gn.id,zt=gn.onMouseEnter,$e=gn.onMouseOver,At=gn.onMouseLeave,Yt=gn.onClick,Ie=gn.onKeyDown,Ce=gn.onKeyUp,Ee={onMouseEnter:zt,onMouseOver:$e,onMouseLeave:At,onClick:Yt,onKeyDown:Ie,onKeyUp:Ce},Te=Ve.useContext(wt),Ue=Te.panel,Le=(0,ne.useComposeRef)(Ue,ni);return Ve.createElement(Ve.Fragment,null,Ve.createElement("div",(0,Ut.Z)({id:mn,className:it()("".concat(jt,"-content"),En),style:(0,Mt.Z)({},Fn),"aria-modal":"true",role:"dialog",ref:Le},Ee),ri))},le=de,pe=Pe(48736);function xe(ht){return typeof ht=="string"&&String(Number(ht))===ht?((0,pe.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(ht)):ht}function Ae(ht){warning(!("wrapperClassName"in ht),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!ht.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Me={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ke(ht,gn){var jt,En,Fn,ri,ni=ht.prefixCls,mn=ht.open,zt=ht.placement,$e=ht.inline,At=ht.push,Yt=ht.forceRender,Ie=ht.autoFocus,Ce=ht.keyboard,Ee=ht.rootClassName,Te=ht.rootStyle,Ue=ht.zIndex,Le=ht.className,rt=ht.id,Sn=ht.style,fn=ht.motion,an=ht.width,$t=ht.height,fi=ht.children,Mn=ht.contentWrapperStyle,On=ht.mask,Hi=ht.maskClosable,Si=ht.maskMotion,sr=ht.maskClassName,ro=ht.maskStyle,Wo=ht.afterOpenChange,No=ht.onClose,Lr=ht.onMouseEnter,Ko=ht.onMouseOver,Oo=ht.onMouseLeave,So=ht.onClick,Eo=ht.onKeyDown,Tr=ht.onKeyUp,Be=Ve.useRef(),ya=Ve.useRef(),to=Ve.useRef();Ve.useImperativeHandle(gn,function(){return Be.current});var zn=function(Br){var Et=Br.keyCode,Di=Br.shiftKey;switch(Et){case Oe.Z.TAB:{if(Et===Oe.Z.TAB){if(!Di&&document.activeElement===to.current){var Cn;(Cn=ya.current)===null||Cn===void 0||Cn.focus({preventScroll:!0})}else if(Di&&document.activeElement===ya.current){var Kn;(Kn=to.current)===null||Kn===void 0||Kn.focus({preventScroll:!0})}}break}case Oe.Z.ESC:{No&&Ce&&(Br.stopPropagation(),No(Br));break}}};Ve.useEffect(function(){if(mn&&Ie){var br;(br=Be.current)===null||br===void 0||br.focus({preventScroll:!0})}},[mn]);var Vi=Ve.useState(!1),Wi=(0,kt.Z)(Vi,2),mi=Wi[0],Qn=Wi[1],nr=Ve.useContext(pt),nn;At===!1?nn={distance:0}:At===!0?nn={}:nn=At||{};var _t=(jt=(En=(Fn=nn)===null||Fn===void 0?void 0:Fn.distance)!==null&&En!==void 0?En:nr==null?void 0:nr.pushDistance)!==null&&jt!==void 0?jt:180,Rt=Ve.useMemo(function(){return{pushDistance:_t,push:function(){Qn(!0)},pull:function(){Qn(!1)}}},[_t]);Ve.useEffect(function(){if(mn){var br;nr==null||(br=nr.push)===null||br===void 0||br.call(nr)}else{var Br;nr==null||(Br=nr.pull)===null||Br===void 0||Br.call(nr)}},[mn]),Ve.useEffect(function(){return function(){var br;nr==null||(br=nr.pull)===null||br===void 0||br.call(nr)}},[]);var Li=On&&Ve.createElement(Zt.default,(0,Ut.Z)({key:"mask"},Si,{visible:mn}),function(br,Br){var Et=br.className,Di=br.style;return Ve.createElement("div",{className:it()("".concat(ni,"-mask"),Et,sr),style:(0,Mt.Z)((0,Mt.Z)({},Di),ro),onClick:Hi&&mn?No:void 0,ref:Br})}),yr=typeof fn=="function"?fn(zt):fn,Oi={};if(mi&&_t)switch(zt){case"top":Oi.transform="translateY(".concat(_t,"px)");break;case"bottom":Oi.transform="translateY(".concat(-_t,"px)");break;case"left":Oi.transform="translateX(".concat(_t,"px)");break;default:Oi.transform="translateX(".concat(-_t,"px)");break}zt==="left"||zt==="right"?Oi.width=xe(an):Oi.height=xe($t);var Zn={onMouseEnter:Lr,onMouseOver:Ko,onMouseLeave:Oo,onClick:So,onKeyDown:Eo,onKeyUp:Tr},ki=Ve.createElement(Zt.default,(0,Ut.Z)({key:"panel"},yr,{visible:mn,forceRender:Yt,onVisibleChanged:function(Br){Wo==null||Wo(Br)},removeOnLeave:!1,leavedClassName:"".concat(ni,"-content-wrapper-hidden")}),function(br,Br){var Et=br.className,Di=br.style;return Ve.createElement("div",(0,Ut.Z)({className:it()("".concat(ni,"-content-wrapper"),Et),style:(0,Mt.Z)((0,Mt.Z)((0,Mt.Z)({},Oi),Di),Mn)},(0,te.Z)(ht,{data:!0})),Ve.createElement(le,(0,Ut.Z)({id:rt,containerRef:Br,prefixCls:ni,className:Le,style:Sn},Zn),fi))}),Vr=(0,Mt.Z)({},Te);return Ue&&(Vr.zIndex=Ue),Ve.createElement(pt.Provider,{value:Rt},Ve.createElement("div",{className:it()(ni,"".concat(ni,"-").concat(zt),Ee,(ri={},(0,St.Z)(ri,"".concat(ni,"-open"),mn),(0,St.Z)(ri,"".concat(ni,"-inline"),$e),ri)),style:Vr,tabIndex:-1,ref:Be,onKeyDown:zn},Li,Ve.createElement("div",{tabIndex:0,ref:ya,style:Me,"aria-hidden":"true","data-sentinel":"start"}),ki,Ve.createElement("div",{tabIndex:0,ref:to,style:Me,"aria-hidden":"true","data-sentinel":"end"})))}var lt=Ve.forwardRef(ke),dt=lt,yt=function(gn){var jt=gn.open,En=jt===void 0?!1:jt,Fn=gn.prefixCls,ri=Fn===void 0?"rc-drawer":Fn,ni=gn.placement,mn=ni===void 0?"right":ni,zt=gn.autoFocus,$e=zt===void 0?!0:zt,At=gn.keyboard,Yt=At===void 0?!0:At,Ie=gn.width,Ce=Ie===void 0?378:Ie,Ee=gn.mask,Te=Ee===void 0?!0:Ee,Ue=gn.maskClosable,Le=Ue===void 0?!0:Ue,rt=gn.getContainer,Sn=gn.forceRender,fn=gn.afterOpenChange,an=gn.destroyOnClose,$t=gn.onMouseEnter,fi=gn.onMouseOver,Mn=gn.onMouseLeave,On=gn.onClick,Hi=gn.onKeyDown,Si=gn.onKeyUp,sr=gn.panelRef,ro=Ve.useState(!1),Wo=(0,kt.Z)(ro,2),No=Wo[0],Lr=Wo[1],Ko=Ve.useState(!1),Oo=(0,kt.Z)(Ko,2),So=Oo[0],Eo=Oo[1];(0,Wt.Z)(function(){Eo(!0)},[]);var Tr=So?En:!1,Be=Ve.useRef(),ya=Ve.useRef();(0,Wt.Z)(function(){Tr&&(ya.current=document.activeElement)},[Tr]);var to=function(Qn){var nr;if(Lr(Qn),fn==null||fn(Qn),!Qn&&ya.current&&!((nr=Be.current)!==null&&nr!==void 0&&nr.contains(ya.current))){var nn;(nn=ya.current)===null||nn===void 0||nn.focus({preventScroll:!0})}},zn=Ve.useMemo(function(){return{panel:sr}},[sr]);if(!Sn&&!No&&!Tr&&an)return null;var Vi={onMouseEnter:$t,onMouseOver:fi,onMouseLeave:Mn,onClick:On,onKeyDown:Hi,onKeyUp:Si},Wi=(0,Mt.Z)((0,Mt.Z)({},gn),{},{open:Tr,prefixCls:ri,placement:mn,autoFocus:$e,keyboard:Yt,width:Ce,mask:Te,maskClosable:Le,inline:rt===!1,afterOpenChange:to,ref:Be},Vi);return Ve.createElement(wt.Provider,{value:zn},Ve.createElement(Dt.Z,{open:Tr||Sn||No,autoDestroy:!1,getContainer:rt,autoLock:Te&&(Tr||No)},Ve.createElement(dt,Wi)))},ut=yt,Ot=ut,xt=Pe(62892),Nt=Pe(36355),Jt=Pe(32441),vn=Pe(47729),hi=ht=>{const{prefixCls:gn,title:jt,footer:En,extra:Fn,closeIcon:ri,closable:ni,onClose:mn,headerStyle:zt,drawerStyle:$e,bodyStyle:At,footerStyle:Yt,children:Ie}=ht,Ce=Ve.useCallback(rt=>Ve.createElement("button",{type:"button",onClick:mn,"aria-label":"Close",className:`${gn}-close`},rt),[mn]),[Ee,Te]=(0,vn.Z)(ni,ri,Ce,void 0,!0),Ue=Ve.useMemo(()=>!jt&&!Ee?null:Ve.createElement("div",{style:zt,className:it()(`${gn}-header`,{[`${gn}-header-close-only`]:Ee&&!jt&&!Fn})},Ve.createElement("div",{className:`${gn}-header-title`},Te,jt&&Ve.createElement("div",{className:`${gn}-title`},jt)),Fn&&Ve.createElement("div",{className:`${gn}-extra`},Fn)),[Ee,Te,Fn,zt,gn,jt]),Le=Ve.useMemo(()=>{if(!En)return null;const rt=`${gn}-footer`;return Ve.createElement("div",{className:rt,style:Yt},En)},[En,Yt,gn]);return Ve.createElement("div",{className:`${gn}-wrapper-body`,style:$e},Ue,Ve.createElement("div",{className:`${gn}-body`,style:At},Ie),Le)},kn=Pe(33234),ci=Pe(83116),et=Pe(37613),yn=ht=>{const{componentCls:gn,motionDurationSlow:jt}=ht,En={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${jt}`}}};return{[gn]:{[`${gn}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${jt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${gn}-panel-motion`]:{"&-left":[En,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[En,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[En,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[En,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Xn=ht=>{const{componentCls:gn,zIndexPopup:jt,colorBgMask:En,colorBgElevated:Fn,motionDurationSlow:ri,motionDurationMid:ni,padding:mn,paddingLG:zt,fontSizeLG:$e,lineHeightLG:At,lineWidth:Yt,lineType:Ie,colorSplit:Ce,marginSM:Ee,colorIcon:Te,colorIconHover:Ue,colorText:Le,fontWeightStrong:rt,footerPaddingBlock:Sn,footerPaddingInline:fn}=ht,an=`${gn}-content-wrapper`;return{[gn]:{position:"fixed",inset:0,zIndex:jt,pointerEvents:"none","&-pure":{position:"relative",background:Fn,[`&${gn}-left`]:{boxShadow:ht.boxShadowDrawerLeft},[`&${gn}-right`]:{boxShadow:ht.boxShadowDrawerRight},[`&${gn}-top`]:{boxShadow:ht.boxShadowDrawerUp},[`&${gn}-bottom`]:{boxShadow:ht.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${gn}-mask`]:{position:"absolute",inset:0,zIndex:jt,background:En,pointerEvents:"auto"},[an]:{position:"absolute",zIndex:jt,maxWidth:"100vw",transition:`all ${ri}`,"&-hidden":{display:"none"}},[`&-left > ${an}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ht.boxShadowDrawerLeft},[`&-right > ${an}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ht.boxShadowDrawerRight},[`&-top > ${an}`]:{top:0,insetInline:0,boxShadow:ht.boxShadowDrawerUp},[`&-bottom > ${an}`]:{bottom:0,insetInline:0,boxShadow:ht.boxShadowDrawerDown},[`${gn}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Fn,pointerEvents:"auto"},[`${gn}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${gn}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${mn}px ${zt}px`,fontSize:$e,lineHeight:At,borderBottom:`${Yt}px ${Ie} ${Ce}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${gn}-extra`]:{flex:"none"},[`${gn}-close`]:{display:"inline-block",marginInlineEnd:Ee,color:Te,fontWeight:rt,fontSize:$e,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${ni}`,textRendering:"auto","&:focus, &:hover":{color:Ue,textDecoration:"none"}},[`${gn}-title`]:{flex:1,margin:0,color:Le,fontWeight:ht.fontWeightStrong,fontSize:$e,lineHeight:At},[`${gn}-body`]:{flex:1,minWidth:0,minHeight:0,padding:zt,overflow:"auto"},[`${gn}-footer`]:{flexShrink:0,padding:`${Sn}px ${fn}px`,borderTop:`${Yt}px ${Ie} ${Ce}`},"&-rtl":{direction:"rtl"}}}};var ei=(0,ci.Z)("Drawer",ht=>{const gn=(0,et.TS)(ht,{});return[Xn(gn),yn(gn)]},ht=>({zIndexPopup:ht.zIndexPopupBase,footerPaddingBlock:ht.paddingXS,footerPaddingInline:ht.padding})),on=Pe(11575),xn=function(ht,gn){var jt={};for(var En in ht)Object.prototype.hasOwnProperty.call(ht,En)&&gn.indexOf(En)<0&&(jt[En]=ht[En]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fn=0,En=Object.getOwnPropertySymbols(ht);Fn{var gn;const{rootClassName:jt,width:En,height:Fn,size:ri="default",mask:ni=!0,push:mn=yi,open:zt,afterOpenChange:$e,onClose:At,prefixCls:Yt,getContainer:Ie,style:Ce,className:Ee,visible:Te,afterVisibleChange:Ue}=ht,Le=xn(ht,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:rt,getPrefixCls:Sn,direction:fn,drawer:an}=Ve.useContext(Nt.E_),$t=Sn("drawer",Yt),[fi,Mn]=ei($t),On=Ie===void 0&&rt?()=>rt(document.body):Ie,Hi=it()({"no-mask":!ni,[`${$t}-rtl`]:fn==="rtl"},jt,Mn),Si=Ve.useMemo(()=>En!=null?En:ri==="large"?736:378,[En,ri]),sr=Ve.useMemo(()=>Fn!=null?Fn:ri==="large"?736:378,[Fn,ri]),ro={motionName:(0,xt.m)($t,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Wo=Lr=>({motionName:(0,xt.m)($t,`panel-motion-${Lr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),No=(0,on.H)();return fi(Ve.createElement(kn.BR,null,Ve.createElement(Jt.Ux,{status:!0,override:!0},Ve.createElement(Ot,Object.assign({prefixCls:$t,onClose:At,maskMotion:ro,motion:Wo},Le,{open:zt!=null?zt:Te,mask:ni,push:mn,width:Si,height:sr,style:Object.assign(Object.assign({},an==null?void 0:an.style),Ce),className:it()(an==null?void 0:an.className,Ee),rootClassName:Hi,getContainer:On,afterOpenChange:$e!=null?$e:Ue,panelRef:No}),Ve.createElement(hi,Object.assign({prefixCls:$t},Le,{onClose:At}))))))},Mi=ht=>{const{prefixCls:gn,style:jt,className:En,placement:Fn="right"}=ht,ri=xn(ht,["prefixCls","style","className","placement"]),{getPrefixCls:ni}=Ve.useContext(Nt.E_),mn=ni("drawer",gn),[zt,$e]=ei(mn),At=it()(mn,`${mn}-pure`,`${mn}-${Fn}`,$e,En);return zt(Ve.createElement("div",{className:At,style:jt},Ve.createElement(hi,Object.assign({prefixCls:mn},ri))))};qn._InternalPanelDoNotUseOrYouWillBeFired=Mi;var mt=qn},44e3:function(tn,jn,Pe){"use strict";var ue=Pe(84966),it=Pe(45818);const Mt=ue.ZP;Mt.Header=ue.h4,Mt.Footer=ue.$_,Mt.Content=ue.VY,Mt.Sider=it.Z,jn.default=Mt},39722:function(tn,jn,Pe){"use strict";Pe.d(jn,{t5:function(){return pt}});var ue=Pe(92310),it=Pe.n(ue),Mt=Pe(55477),kt=Pe(59301),Dt=Pe(36355),Wt=Pe(77578),Ve=Pe(17356),bt=function(Ut,Zt){var Oe={};for(var te in Ut)Object.prototype.hasOwnProperty.call(Ut,te)&&Zt.indexOf(te)<0&&(Oe[te]=Ut[te]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,te=Object.getOwnPropertySymbols(Ut);ne{if(!(!Zt&&!Oe))return kt.createElement(kt.Fragment,null,Zt&&kt.createElement("div",{className:`${Ut}-title`},(0,Wt.Z)(Zt)),kt.createElement("div",{className:`${Ut}-inner-content`},(0,Wt.Z)(Oe)))},pt=Ut=>{const{hashId:Zt,prefixCls:Oe,className:te,style:ne,placement:de="top",title:le,content:pe,children:xe}=Ut;return kt.createElement("div",{className:it()(Zt,Oe,`${Oe}-pure`,`${Oe}-placement-${de}`,te),style:ne},kt.createElement("div",{className:`${Oe}-arrow`}),kt.createElement(Mt.G,Object.assign({},Ut,{className:Zt,prefixCls:Oe}),xe||wt(Oe,le,pe)))},St=Ut=>{const{prefixCls:Zt}=Ut,Oe=bt(Ut,["prefixCls"]),{getPrefixCls:te}=kt.useContext(Dt.E_),ne=te("popover",Zt),[de,le]=(0,Ve.Z)(ne);return de(kt.createElement(pt,Object.assign({},Oe,{prefixCls:ne,hashId:le})))};jn.ZP=St},60324:function(tn,jn,Pe){"use strict";var ue=Pe(92310),it=Pe.n(ue),Mt=Pe(59301),kt=Pe(77578),Dt=Pe(62892),Wt=Pe(36355),Ve=Pe(6848),bt=Pe(39722),wt=Pe(17356),pt=function(Zt,Oe){var te={};for(var ne in Zt)Object.prototype.hasOwnProperty.call(Zt,ne)&&Oe.indexOf(ne)<0&&(te[ne]=Zt[ne]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ne=Object.getOwnPropertySymbols(Zt);de{let{title:Oe,content:te,prefixCls:ne}=Zt;return Mt.createElement(Mt.Fragment,null,Oe&&Mt.createElement("div",{className:`${ne}-title`},(0,kt.Z)(Oe)),Mt.createElement("div",{className:`${ne}-inner-content`},(0,kt.Z)(te)))},Ut=Mt.forwardRef((Zt,Oe)=>{const{prefixCls:te,title:ne,content:de,overlayClassName:le,placement:pe="top",trigger:xe="hover",mouseEnterDelay:Ae=.1,mouseLeaveDelay:Me=.1,overlayStyle:ke={}}=Zt,lt=pt(Zt,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:dt}=Mt.useContext(Wt.E_),yt=dt("popover",te),[ut,Ot]=(0,wt.Z)(yt),xt=dt(),Nt=it()(le,Ot);return ut(Mt.createElement(Ve.Z,Object.assign({placement:pe,trigger:xe,mouseEnterDelay:Ae,mouseLeaveDelay:Me,overlayStyle:ke},lt,{prefixCls:yt,overlayClassName:Nt,ref:Oe,overlay:ne||de?Mt.createElement(St,{prefixCls:yt,title:ne,content:de}):null,transitionName:(0,Dt.m)(xt,"zoom-big",lt.transitionName),"data-popover-inject":!0})))});Ut._InternalPanelDoNotUseOrYouWillBeFired=bt.ZP,jn.Z=Ut},17356:function(tn,jn,Pe){"use strict";var ue=Pe(17313),it=Pe(29878),Mt=Pe(19447),kt=Pe(33166),Dt=Pe(83116),Wt=Pe(37613);const Ve=pt=>{const{componentCls:St,popoverColor:Ut,minWidth:Zt,fontWeightStrong:Oe,popoverPadding:te,boxShadowSecondary:ne,colorTextHeading:de,borderRadiusLG:le,zIndexPopup:pe,marginXS:xe,colorBgElevated:Ae,popoverBg:Me}=pt;return[{[St]:Object.assign(Object.assign({},(0,ue.Wf)(pt)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:pe,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":Ae,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${St}-content`]:{position:"relative"},[`${St}-inner`]:{backgroundColor:Me,backgroundClip:"padding-box",borderRadius:le,boxShadow:ne,padding:te},[`${St}-title`]:{minWidth:Zt,marginBottom:xe,color:de,fontWeight:Oe},[`${St}-inner-content`]:{color:Ut}})},(0,Mt.ZP)(pt,{colorBg:"var(--antd-arrow-background-color)"}),{[`${St}-pure`]:{position:"relative",maxWidth:"none",margin:pt.sizePopupArrow,display:"inline-block",[`${St}-content`]:{display:"inline-block"}}}]},bt=pt=>{const{componentCls:St}=pt;return{[St]:kt.i.map(Ut=>{const Zt=pt[`${Ut}6`];return{[`&${St}-${Ut}`]:{"--antd-arrow-background-color":Zt,[`${St}-inner`]:{backgroundColor:Zt},[`${St}-arrow`]:{background:"transparent"}}}})}},wt=pt=>{const{componentCls:St,lineWidth:Ut,lineType:Zt,colorSplit:Oe,paddingSM:te,controlHeight:ne,fontSize:de,lineHeight:le,padding:pe}=pt,xe=ne-Math.round(de*le),Ae=xe/2,Me=xe/2-Ut,ke=pe;return{[St]:{[`${St}-inner`]:{padding:0},[`${St}-title`]:{margin:0,padding:`${Ae}px ${ke}px ${Me}px`,borderBottom:`${Ut}px ${Zt} ${Oe}`},[`${St}-inner-content`]:{padding:`${te}px ${ke}px`}}}};jn.Z=(0,Dt.Z)("Popover",pt=>{const{colorBgElevated:St,colorText:Ut,wireframe:Zt}=pt,Oe=(0,Wt.TS)(pt,{popoverPadding:12,popoverBg:St,popoverColor:Ut});return[Ve(Oe),bt(Oe),Zt&&wt(Oe),(0,it._y)(Oe,"zoom-big")]},pt=>({width:177,minWidth:177,zIndexPopup:pt.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},10311:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return zt}});var ue=Pe(92310),it=Pe.n(ue),Mt=Pe(49618),kt=Pe(80702),Dt=Pe(52487),Wt=Pe(62853),Ve=Pe(59301),bt=Pe(13697),wt=Pe(18929),pt=Pe(72308),St=Pe(74416),Ut=Pe(77321),Zt=Pe(10228),Oe=Ve.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0}),te=Oe;function ne($e,At,Yt){return($e-At)/(Yt-At)}function de($e,At,Yt,Ie){var Ce=ne(At,Yt,Ie),Ee={};switch($e){case"rtl":Ee.right="".concat(Ce*100,"%"),Ee.transform="translateX(50%)";break;case"btt":Ee.bottom="".concat(Ce*100,"%"),Ee.transform="translateY(50%)";break;case"ttb":Ee.top="".concat(Ce*100,"%"),Ee.transform="translateY(-50%)";break;default:Ee.left="".concat(Ce*100,"%"),Ee.transform="translateX(-50%)";break}return Ee}function le($e,At){return Array.isArray($e)?$e[At]:$e}var pe=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],xe=Ve.forwardRef(function($e,At){var Yt,Ie,Ce=$e.prefixCls,Ee=$e.value,Te=$e.valueIndex,Ue=$e.onStartMove,Le=$e.style,rt=$e.render,Sn=$e.dragging,fn=$e.onOffsetChange,an=(0,St.Z)($e,pe),$t=Ve.useContext(te),fi=$t.min,Mn=$t.max,On=$t.direction,Hi=$t.disabled,Si=$t.keyboard,sr=$t.range,ro=$t.tabIndex,Wo=$t.ariaLabelForHandle,No=$t.ariaLabelledByForHandle,Lr=$t.ariaValueTextFormatterForHandle,Ko="".concat(Ce,"-handle"),Oo=function(ya){Hi||Ue(ya,Te)},So=function(ya){if(!Hi&&Si){var to=null;switch(ya.which||ya.keyCode){case Zt.Z.LEFT:to=On==="ltr"||On==="btt"?-1:1;break;case Zt.Z.RIGHT:to=On==="ltr"||On==="btt"?1:-1;break;case Zt.Z.UP:to=On!=="ttb"?1:-1;break;case Zt.Z.DOWN:to=On!=="ttb"?-1:1;break;case Zt.Z.HOME:to="min";break;case Zt.Z.END:to="max";break;case Zt.Z.PAGE_UP:to=2;break;case Zt.Z.PAGE_DOWN:to=-2;break}to!==null&&(ya.preventDefault(),fn(to,Te))}},Eo=de(On,Ee,fi,Mn),Tr=Ve.createElement("div",(0,pt.Z)({ref:At,className:it()(Ko,(Yt={},(0,Mt.Z)(Yt,"".concat(Ko,"-").concat(Te+1),sr),(0,Mt.Z)(Yt,"".concat(Ko,"-dragging"),Sn),Yt)),style:(0,Ut.Z)((0,Ut.Z)({},Eo),Le),onMouseDown:Oo,onTouchStart:Oo,onKeyDown:So,tabIndex:Hi?null:le(ro,Te),role:"slider","aria-valuemin":fi,"aria-valuemax":Mn,"aria-valuenow":Ee,"aria-disabled":Hi,"aria-label":le(Wo,Te),"aria-labelledby":le(No,Te),"aria-valuetext":(Ie=le(Lr,Te))===null||Ie===void 0?void 0:Ie(Ee),"aria-orientation":On==="ltr"||On==="rtl"?"horizontal":"vertical"},an));return rt&&(Tr=rt(Tr,{index:Te,prefixCls:Ce,value:Ee,dragging:Sn})),Tr}),Ae=xe,Me=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],ke=Ve.forwardRef(function($e,At){var Yt=$e.prefixCls,Ie=$e.style,Ce=$e.onStartMove,Ee=$e.onOffsetChange,Te=$e.values,Ue=$e.handleRender,Le=$e.draggingIndex,rt=(0,St.Z)($e,Me),Sn=Ve.useRef({});return Ve.useImperativeHandle(At,function(){return{focus:function(an){var $t;($t=Sn.current[an])===null||$t===void 0||$t.focus()}}}),Ve.createElement(Ve.Fragment,null,Te.map(function(fn,an){return Ve.createElement(Ae,(0,pt.Z)({ref:function(fi){fi?Sn.current[an]=fi:delete Sn.current[an]},dragging:Le===an,prefixCls:Yt,style:le(Ie,an),key:an,value:fn,valueIndex:an,onStartMove:Ce,onOffsetChange:Ee,render:Ue},rt))}))}),lt=ke;function dt($e){var At="touches"in $e?$e.touches[0]:$e;return{pageX:At.pageX,pageY:At.pageY}}function yt($e,At,Yt,Ie,Ce,Ee,Te,Ue,Le){var rt=Ve.useState(null),Sn=(0,Dt.Z)(rt,2),fn=Sn[0],an=Sn[1],$t=Ve.useState(-1),fi=(0,Dt.Z)($t,2),Mn=fi[0],On=fi[1],Hi=Ve.useState(Yt),Si=(0,Dt.Z)(Hi,2),sr=Si[0],ro=Si[1],Wo=Ve.useState(Yt),No=(0,Dt.Z)(Wo,2),Lr=No[0],Ko=No[1],Oo=Ve.useRef(null),So=Ve.useRef(null);Ve.useEffect(function(){Mn===-1&&ro(Yt)},[Yt,Mn]),Ve.useEffect(function(){return function(){document.removeEventListener("mousemove",Oo.current),document.removeEventListener("mouseup",So.current),document.removeEventListener("touchmove",Oo.current),document.removeEventListener("touchend",So.current)}},[]);var Eo=function(Vi,Wi){sr.some(function(mi,Qn){return mi!==Vi[Qn]})&&(Wi!==void 0&&an(Wi),ro(Vi),Te(Vi))},Tr=function(Vi,Wi){if(Vi===-1){var mi=Lr[0],Qn=Lr[Lr.length-1],nr=Ie-mi,nn=Ce-Qn,_t=Wi*(Ce-Ie);_t=Math.max(_t,nr),_t=Math.min(_t,nn);var Rt=Ee(mi+_t);_t=Rt-mi;var Li=Lr.map(function(ki){return ki+_t});Eo(Li)}else{var yr=(Ce-Ie)*Wi,Oi=(0,kt.Z)(sr);Oi[Vi]=Lr[Vi];var Zn=Le(Oi,yr,Vi,"dist");Eo(Zn.values,Zn.value)}},Be=Ve.useRef(Tr);Be.current=Tr;var ya=function(Vi,Wi){Vi.stopPropagation();var mi=Yt[Wi];On(Wi),an(mi),Ko(Yt);var Qn=dt(Vi),nr=Qn.pageX,nn=Qn.pageY,_t=function(yr){yr.preventDefault();var Oi=dt(yr),Zn=Oi.pageX,ki=Oi.pageY,Vr=Zn-nr,br=ki-nn,Br=$e.current.getBoundingClientRect(),Et=Br.width,Di=Br.height,Cn;switch(At){case"btt":Cn=-br/Di;break;case"ttb":Cn=br/Di;break;case"rtl":Cn=-Vr/Et;break;default:Cn=Vr/Et}Be.current(Wi,Cn)},Rt=function Li(yr){yr.preventDefault(),document.removeEventListener("mouseup",Li),document.removeEventListener("mousemove",_t),document.removeEventListener("touchend",Li),document.removeEventListener("touchmove",_t),Oo.current=null,So.current=null,On(-1),Ue()};document.addEventListener("mouseup",Rt),document.addEventListener("mousemove",_t),document.addEventListener("touchend",Rt),document.addEventListener("touchmove",_t),Oo.current=_t,So.current=Rt},to=Ve.useMemo(function(){var zn=(0,kt.Z)(Yt).sort(function(Wi,mi){return Wi-mi}),Vi=(0,kt.Z)(sr).sort(function(Wi,mi){return Wi-mi});return zn.every(function(Wi,mi){return Wi===Vi[mi]})?sr:Yt},[Yt,sr]);return[Mn,fn,to,ya]}function ut($e){var At,Yt=$e.prefixCls,Ie=$e.style,Ce=$e.start,Ee=$e.end,Te=$e.index,Ue=$e.onStartMove,Le=Ve.useContext(te),rt=Le.direction,Sn=Le.min,fn=Le.max,an=Le.disabled,$t=Le.range,fi="".concat(Yt,"-track"),Mn=ne(Ce,Sn,fn),On=ne(Ee,Sn,fn),Hi=function(ro){!an&&Ue&&Ue(ro,-1)},Si={};switch(rt){case"rtl":Si.right="".concat(Mn*100,"%"),Si.width="".concat(On*100-Mn*100,"%");break;case"btt":Si.bottom="".concat(Mn*100,"%"),Si.height="".concat(On*100-Mn*100,"%");break;case"ttb":Si.top="".concat(Mn*100,"%"),Si.height="".concat(On*100-Mn*100,"%");break;default:Si.left="".concat(Mn*100,"%"),Si.width="".concat(On*100-Mn*100,"%")}return Ve.createElement("div",{className:it()(fi,(At={},(0,Mt.Z)(At,"".concat(fi,"-").concat(Te+1),$t),(0,Mt.Z)(At,"".concat(Yt,"-track-draggable"),Ue),At)),style:(0,Ut.Z)((0,Ut.Z)({},Si),Ie),onMouseDown:Hi,onTouchStart:Hi})}function Ot($e){var At=$e.prefixCls,Yt=$e.style,Ie=$e.values,Ce=$e.startPoint,Ee=$e.onStartMove,Te=Ve.useContext(te),Ue=Te.included,Le=Te.range,rt=Te.min,Sn=Ve.useMemo(function(){if(!Le){if(Ie.length===0)return[];var fn=Ce!=null?Ce:rt,an=Ie[0];return[{start:Math.min(fn,an),end:Math.max(fn,an)}]}for(var $t=[],fi=0;fi3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof Mn=="number"){var Si,sr=fi[On],ro=sr+Mn,Wo=[];Ie.forEach(function(So){Wo.push(So.value)}),Wo.push($e,At),Wo.push(Ue(sr));var No=Mn>0?1:-1;Hi==="unit"?Wo.push(Ue(sr+No*Yt)):Wo.push(Ue(ro)),Wo=Wo.filter(function(So){return So!==null}).filter(function(So){return Mn<0?So<=sr:So>=sr}),Hi==="unit"&&(Wo=Wo.filter(function(So){return So!==sr}));var Lr=Hi==="unit"?sr:ro;Si=Wo[0];var Ko=Math.abs(Si-Lr);if(Wo.forEach(function(So){var Eo=Math.abs(So-Lr);Eo1){var Oo=(0,kt.Z)(fi);return Oo[On]=Si,$t(Oo,Mn-No,On,Hi)}return Si}else{if(Mn==="min")return $e;if(Mn==="max")return At}},Sn=function(fi,Mn,On){var Hi=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",Si=fi[On],sr=rt(fi,Mn,On,Hi);return{value:sr,changed:sr!==Si}},fn=function(fi){return Ee===null&&fi===0||typeof Ee=="number"&&fi3&&arguments[3]!==void 0?arguments[3]:"unit",Si=fi.map(Le),sr=Si[On],ro=rt(Si,Mn,On,Hi);if(Si[On]=ro,Ce===!1){var Wo=Ee||0;On>0&&Si[On-1]!==sr&&(Si[On]=Math.max(Si[On],Si[On-1]+Wo)),On0;Oo-=1)for(var So=!0;fn(Si[Oo]-Si[Oo-1])&&So;){var Eo=Sn(Si,-1,Oo-1);Si[Oo-1]=Eo.value,So=Eo.changed}for(var Tr=Si.length-1;Tr>0;Tr-=1)for(var Be=!0;fn(Si[Tr]-Si[Tr-1])&&Be;){var ya=Sn(Si,-1,Tr-1);Si[Tr-1]=ya.value,Be=ya.changed}for(var to=0;to=0?ya:!1},[ya,un]),Ii=Ve.useMemo(function(){var no=Object.keys(yr||{});return no.map(function(rr){var qi=yr[rr],Xi={value:Number(rr)};return qi&&(0,Wt.Z)(qi)==="object"&&!Ve.isValidElement(qi)&&("label"in qi||"style"in qi)?(Xi.style=qi.style,Xi.label=qi.label):Xi.label=qi,Xi}).filter(function(rr){var qi=rr.label;return qi||typeof qi=="number"}).sort(function(rr,qi){return rr.value-qi.value})},[yr]),Ri=Ai(Lt,Ft,un,Ii,Tr,Sr),si=(0,Dt.Z)(Ri,2),Ti=si[0],Jr=si[1],Qr=(0,wt.Z)(Wo,{value:ro}),Lo=(0,Dt.Z)(Qr,2),Nn=Lo[0],ja=Lo[1],co=Ve.useMemo(function(){var no=Nn==null?[]:Array.isArray(Nn)?Nn:[Nn],rr=(0,Dt.Z)(no,1),qi=rr[0],Xi=qi===void 0?Lt:qi,aa=Nn===null?[]:[Xi];if(No){if(aa=(0,kt.Z)(no),Lr||Nn===void 0){var ys=Lr>=0?Lr+1:2;for(aa=aa.slice(0,ys);aa.length=0&&Di.current.focus(no)}ui(null)},[lr]);var Yn=Ve.useMemo(function(){return to&&un===null?!1:to},[to,un]),ln=function(){So==null||So(sn(Kr.current))},_r=yt(Cn,Kn,co,Lt,Ft,Ti,Vt,ln,Jr),Rn=(0,Dt.Z)(_r,4),Ir=Rn[0],Or=Rn[1],fr=Rn[2],Bo=Rn[3],Zr=function(rr,qi){Bo(rr,qi),Oo==null||Oo(sn(Kr.current))},Zi=Ir!==-1;Ve.useEffect(function(){if(!Zi){var no=co.lastIndexOf(Or);Di.current.focus(no)}},[Zi]);var xr=Ve.useMemo(function(){return(0,kt.Z)(fr).sort(function(no,rr){return no-rr})},[fr]),oo=Ve.useMemo(function(){return No?[xr[0],xr[xr.length-1]]:[Lt,xr[0]]},[xr,No,Lt]),Bn=(0,Dt.Z)(oo,2),gi=Bn[0],Ze=Bn[1];Ve.useImperativeHandle(At,function(){return{focus:function(){Di.current.focus(0)},blur:function(){var rr=document,qi=rr.activeElement;Cn.current.contains(qi)&&(qi==null||qi.blur())}}}),Ve.useEffect(function(){fn&&Di.current.focus(0)},[]);var Io=Ve.useMemo(function(){return{min:Lt,max:Ft,direction:Kn,disabled:Le,keyboard:Sn,step:un,included:mi,includedStart:gi,includedEnd:Ze,range:No,tabIndex:Vr,ariaLabelForHandle:br,ariaLabelledByForHandle:Br,ariaValueTextFormatterForHandle:Et}},[Lt,Ft,Kn,Le,Sn,un,mi,gi,Ze,No,Vr,br,Br,Et]);return Ve.createElement(te.Provider,{value:Io},Ve.createElement("div",{ref:Cn,className:it()(Ce,Ee,(Yt={},(0,Mt.Z)(Yt,"".concat(Ce,"-disabled"),Le),(0,Mt.Z)(Yt,"".concat(Ce,"-vertical"),Vi),(0,Mt.Z)(Yt,"".concat(Ce,"-horizontal"),!Vi),(0,Mt.Z)(Yt,"".concat(Ce,"-with-marks"),Ii.length),Yt)),style:Te,onMouseDown:Xt},Ve.createElement("div",{className:"".concat(Ce,"-rail"),style:_t}),Ve.createElement(Ot,{prefixCls:Ce,style:nr,values:xr,startPoint:Qn,onStartMove:Yn?Zr:null}),Ve.createElement(vn,{prefixCls:Ce,marks:Ii,dots:Oi,style:Rt,activeStyle:Li}),Ve.createElement(lt,{ref:Di,prefixCls:Ce,style:nn,values:fr,draggingIndex:Ir,onStartMove:Zr,onOffsetChange:Ci,onFocus:an,onBlur:$t,handleRender:Zn}),Ve.createElement(Nt,{prefixCls:Ce,marks:Ii,onClick:hn})))}),ci=kn,et=ci,ze=Pe(36355),yn=Pe(1684),Xn=Pe(16089),ei=Pe(8654),on=Pe(6848),Dn=Ve.forwardRef(($e,At)=>{const{open:Yt}=$e,Ie=(0,Ve.useRef)(null),Ce=(0,Ve.useRef)(null);function Ee(){Xn.Z.cancel(Ce.current),Ce.current=null}function Te(){Ce.current=(0,Xn.Z)(()=>{var Ue;(Ue=Ie.current)===null||Ue===void 0||Ue.forceAlign(),Ce.current=null})}return Ve.useEffect(()=>(Yt?Te():Ee(),Ee),[Yt,$e.title]),Ve.createElement(on.Z,Object.assign({ref:(0,ei.sQ)(Ie,At)},$e))}),yi=Pe(64993),qn=Pe(17313),Mi=Pe(83116),mt=Pe(37613);const ht=$e=>{const{componentCls:At,antCls:Yt,controlSize:Ie,dotSize:Ce,marginFull:Ee,marginPart:Te,colorFillContentHover:Ue}=$e;return{[At]:Object.assign(Object.assign({},(0,qn.Wf)($e)),{position:"relative",height:Ie,margin:`${Te}px ${Ee}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${Ee}px ${Te}px`},[`${At}-rail`]:{position:"absolute",backgroundColor:$e.railBg,borderRadius:$e.borderRadiusXS,transition:`background-color ${$e.motionDurationMid}`},[`${At}-track`]:{position:"absolute",backgroundColor:$e.trackBg,borderRadius:$e.borderRadiusXS,transition:`background-color ${$e.motionDurationMid}`},[`${At}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${At}-rail`]:{backgroundColor:$e.railHoverBg},[`${At}-track`]:{backgroundColor:$e.trackHoverBg},[`${At}-dot`]:{borderColor:Ue},[`${At}-handle::after`]:{boxShadow:`0 0 0 ${$e.handleLineWidth}px ${$e.colorPrimaryBorderHover}`},[`${At}-dot-active`]:{borderColor:$e.dotActiveBorderColor}},[`${At}-handle`]:{position:"absolute",width:$e.handleSize,height:$e.handleSize,outline:"none",[`${At}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-$e.handleLineWidth,insetBlockStart:-$e.handleLineWidth,width:$e.handleSize+$e.handleLineWidth*2,height:$e.handleSize+$e.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:$e.handleSize,height:$e.handleSize,backgroundColor:$e.colorBgElevated,boxShadow:`0 0 0 ${$e.handleLineWidth}px ${$e.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:` inset-inline-start ${$e.motionDurationMid}, inset-block-start ${$e.motionDurationMid}, width ${$e.motionDurationMid}, @@ -1163,38 +1163,38 @@ `]:{backgroundColor:$e.colorBgElevated,borderColor:$e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${At}-handle::after`]:{backgroundColor:$e.colorBgElevated,cursor:"not-allowed",width:$e.handleSize,height:$e.handleSize,boxShadow:`0 0 0 ${$e.handleLineWidth}px ${new yi.C($e.colorTextDisabled).onBackground($e.colorBgContainer).toHexShortString()}`,insetInlineStart:0,insetBlockStart:0},[` ${At}-mark-text, ${At}-dot - `]:{cursor:"not-allowed !important"}},[`&-tooltip ${Yt}-tooltip-inner`]:{minWidth:"unset"}})}},gn=($e,At)=>{const{componentCls:Yt,railSize:Ie,handleSize:Ce,dotSize:Ee}=$e,Te=At?"paddingBlock":"paddingInline",Ue=At?"width":"height",Le=At?"height":"width",rt=At?"insetBlockStart":"insetInlineStart",Sn=At?"top":"insetInlineStart",fn=(Ie*3-Ce)/2,an=(Ce-Ie)/2,qt=At?{borderWidth:`${an}px 0`,transform:`translateY(-${an}px)`}:{borderWidth:`0 ${an}px`,transform:`translateX(-${an}px)`};return{[Te]:Ie,[Le]:Ie*3,[`${Yt}-rail`]:{[Ue]:"100%",[Le]:Ie},[`${Yt}-track`]:{[Le]:Ie},[`${Yt}-track-draggable`]:Object.assign({},qt),[`${Yt}-handle`]:{[rt]:fn},[`${Yt}-mark`]:{insetInlineStart:0,top:0,[Sn]:Ie*3+(At?0:$e.marginFull),[Ue]:"100%"},[`${Yt}-step`]:{insetInlineStart:0,top:0,[Sn]:Ie,[Ue]:"100%",[Le]:Ie},[`${Yt}-dot`]:{position:"absolute",[rt]:(Ie-Ee)/2}}},jt=$e=>{const{componentCls:At,marginPartWithMark:Yt}=$e;return{[`${At}-horizontal`]:Object.assign(Object.assign({},gn($e,!0)),{[`&${At}-with-marks`]:{marginBottom:Yt}})}},En=$e=>{const{componentCls:At}=$e;return{[`${At}-vertical`]:Object.assign(Object.assign({},gn($e,!1)),{height:"100%"})}};var Fn=(0,Mi.Z)("Slider",$e=>{const At=(0,mt.TS)($e,{marginPart:($e.controlHeight-$e.controlSize)/2,marginFull:$e.controlSize/2,marginPartWithMark:$e.controlHeightLG-$e.controlSize});return[ht(At),jt(At),En(At)]},$e=>{const Yt=$e.controlHeightLG/4,Ie=$e.controlHeightSM/2,Ce=$e.lineWidth+1,Ee=$e.lineWidth+1*3;return{controlSize:Yt,railSize:4,handleSize:Yt,handleSizeHover:Ie,dotSize:8,handleLineWidth:Ce,handleLineWidthHover:Ee,railBg:$e.colorFillTertiary,railHoverBg:$e.colorFillSecondary,trackBg:$e.colorPrimaryBorder,trackHoverBg:$e.colorPrimaryBorderHover,handleColor:$e.colorPrimaryBorder,handleActiveColor:$e.colorPrimary,dotBorderColor:$e.colorBorderSecondary,dotActiveBorderColor:$e.colorPrimaryBorder,trackBgDisabled:$e.colorBgContainerDisabled}}),ii=function($e,At){var Yt={};for(var Ie in $e)Object.prototype.hasOwnProperty.call($e,Ie)&&At.indexOf(Ie)<0&&(Yt[Ie]=$e[Ie]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ie=Object.getOwnPropertySymbols($e);Cetypeof $e=="number"?$e.toString():"";var zt=Ve.forwardRef(($e,At)=>{const{prefixCls:Yt,range:Ie,className:Ce,rootClassName:Ee,style:Te,disabled:Ue,tooltipPrefixCls:Le,tipFormatter:rt,tooltipVisible:Sn,getTooltipPopupContainer:fn,tooltipPlacement:an}=$e,qt=ii($e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:fi,slider:Mn,getPrefixCls:On,getPopupContainer:Hi}=Ve.useContext(ze.E_),Si=Ve.useContext(yn.Z),sr=Ue!=null?Ue:Si,[ro,Wo]=Ve.useState({}),No=(zn,Vi)=>{Wo(Wi=>Object.assign(Object.assign({},Wi),{[zn]:Vi}))},Lr=(zn,Vi)=>zn||(Vi?fi==="rtl"?"left":"right":"top"),Ko=On("slider",Yt),[Oo,So]=Fn(Ko),Eo=it()(Ce,Mn==null?void 0:Mn.className,Ee,{[`${Ko}-rtl`]:fi==="rtl"},So);fi==="rtl"&&!qt.vertical&&(qt.reverse=!qt.reverse);const[Tr,Be]=Ve.useMemo(()=>Ie?typeof Ie=="object"?[!0,Ie.draggableTrack]:[!0,!1]:[!1],[Ie]),ya=(zn,Vi)=>{var Wi;const{index:mi,dragging:Jn}=Vi,{tooltip:nr={},vertical:tn}=$e,_t=Object.assign({},nr),{open:Rt,placement:Li,getPopupContainer:yr,prefixCls:Oi,formatter:Zn}=_t;let ki;Zn||Zn===null?ki=Zn:rt||rt===null?ki=rt:ki=ni;const Vr=ki?ro[mi]||Jn:!1,br=(Wi=Rt!=null?Rt:Sn)!==null&&Wi!==void 0?Wi:Rt===void 0&&Vr,Br=Object.assign(Object.assign({},zn.props),{onMouseEnter:()=>No(mi,!0),onMouseLeave:()=>No(mi,!1)}),Et=On("tooltip",Oi!=null?Oi:Le);return Ve.createElement(Dn,Object.assign({},_t,{prefixCls:Et,title:ki?ki(Vi.value):"",open:br,placement:Lr(Li!=null?Li:an,tn),key:mi,overlayClassName:`${Ko}-tooltip`,getPopupContainer:yr||fn||Hi}),Ve.cloneElement(zn,Br))},to=Object.assign(Object.assign({},Mn==null?void 0:Mn.style),Te);return Oo(Ve.createElement(et,Object.assign({},qt,{step:qt.step,range:Tr,draggableTrack:Be,className:Eo,style:to,disabled:sr,ref:At,prefixCls:Ko,handleRender:ya})))})},78673:function(en,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Nt}});var ue=Pe(58617),it=Pe(92310),Mt=Pe.n(it),kt=Pe(72308),Dt=Pe(49618),Wt=Pe(52487),Ve=Pe(74416),bt=Pe(59301),wt=Pe(18929),pt=Pe(10228),St=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Ut=bt.forwardRef(function(Jt,vn){var Ai,hi=Jt.prefixCls,kn=hi===void 0?"rc-switch":hi,ci=Jt.className,et=Jt.checked,ze=Jt.defaultChecked,yn=Jt.disabled,Xn=Jt.loadingIcon,ei=Jt.checkedChildren,rn=Jt.unCheckedChildren,xn=Jt.onClick,Dn=Jt.onChange,yi=Jt.onKeyDown,qn=(0,Ve.Z)(Jt,St),Mi=(0,wt.Z)(!1,{value:et,defaultValue:ze}),mt=(0,Wt.Z)(Mi,2),ht=mt[0],gn=mt[1];function jt(ni,mn){var zt=ht;return yn||(zt=ni,gn(zt),Dn==null||Dn(zt,mn)),zt}function En(ni){ni.which===pt.Z.LEFT?jt(!1,ni):ni.which===pt.Z.RIGHT&&jt(!0,ni),yi==null||yi(ni)}function Fn(ni){var mn=jt(!ht,ni);xn==null||xn(mn,ni)}var ii=Mt()(kn,ci,(Ai={},(0,Dt.Z)(Ai,"".concat(kn,"-checked"),ht),(0,Dt.Z)(Ai,"".concat(kn,"-disabled"),yn),Ai));return bt.createElement("button",(0,kt.Z)({},qn,{type:"button",role:"switch","aria-checked":ht,disabled:yn,className:ii,ref:vn,onKeyDown:En,onClick:Fn}),Xn,bt.createElement("span",{className:"".concat(kn,"-inner")},bt.createElement("span",{className:"".concat(kn,"-inner-checked")},ei),bt.createElement("span",{className:"".concat(kn,"-inner-unchecked")},rn)))});Ut.displayName="Switch";var Zt=Ut,Oe=Pe(14088),te=Pe(36355),ne=Pe(1684),de=Pe(19716),le=Pe(64993),pe=Pe(17313),xe=Pe(83116),Ae=Pe(37613);const Me=Jt=>{const{componentCls:vn,trackHeightSM:Ai,trackPadding:hi,trackMinWidthSM:kn,innerMinMarginSM:ci,innerMaxMarginSM:et,handleSizeSM:ze}=Jt,yn=`${vn}-inner`;return{[vn]:{[`&${vn}-small`]:{minWidth:kn,height:Ai,lineHeight:`${Ai}px`,[`${vn}-inner`]:{paddingInlineStart:et,paddingInlineEnd:ci,[`${yn}-checked`]:{marginInlineStart:`calc(-100% + ${ze+hi*2}px - ${et*2}px)`,marginInlineEnd:`calc(100% - ${ze+hi*2}px + ${et*2}px)`},[`${yn}-unchecked`]:{marginTop:-Ai,marginInlineStart:0,marginInlineEnd:0}},[`${vn}-handle`]:{width:ze,height:ze},[`${vn}-loading-icon`]:{top:(ze-Jt.switchLoadingIconSize)/2,fontSize:Jt.switchLoadingIconSize},[`&${vn}-checked`]:{[`${vn}-inner`]:{paddingInlineStart:ci,paddingInlineEnd:et,[`${yn}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${yn}-unchecked`]:{marginInlineStart:`calc(100% - ${ze+hi*2}px + ${et*2}px)`,marginInlineEnd:`calc(-100% + ${ze+hi*2}px - ${et*2}px)`}},[`${vn}-handle`]:{insetInlineStart:`calc(100% - ${ze+hi}px)`}},[`&:not(${vn}-disabled):active`]:{[`&:not(${vn}-checked) ${yn}`]:{[`${yn}-unchecked`]:{marginInlineStart:Jt.marginXXS/2,marginInlineEnd:-Jt.marginXXS/2}},[`&${vn}-checked ${yn}`]:{[`${yn}-checked`]:{marginInlineStart:-Jt.marginXXS/2,marginInlineEnd:Jt.marginXXS/2}}}}}}},ke=Jt=>{const{componentCls:vn,handleSize:Ai}=Jt;return{[vn]:{[`${vn}-loading-icon${Jt.iconCls}`]:{position:"relative",top:(Ai-Jt.fontSize)/2,color:Jt.switchLoadingIconColor,verticalAlign:"top"},[`&${vn}-checked ${vn}-loading-icon`]:{color:Jt.switchColor}}}},lt=Jt=>{const{componentCls:vn,motion:Ai,trackPadding:hi,handleBg:kn,handleShadow:ci,handleSize:et}=Jt,ze=`${vn}-handle`;return{[vn]:{[ze]:{position:"absolute",top:hi,insetInlineStart:hi,width:et,height:et,transition:`all ${Jt.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:kn,borderRadius:et/2,boxShadow:ci,transition:`all ${Jt.switchDuration} ease-in-out`,content:'""'}},[`&${vn}-checked ${ze}`]:{insetInlineStart:`calc(100% - ${et+hi}px)`},[`&:not(${vn}-disabled):active`]:Ai?{[`${ze}::before`]:{insetInlineEnd:Jt.switchHandleActiveInset,insetInlineStart:0},[`&${vn}-checked ${ze}::before`]:{insetInlineEnd:0,insetInlineStart:Jt.switchHandleActiveInset}}:{}}}},dt=Jt=>{const{componentCls:vn,trackHeight:Ai,trackPadding:hi,innerMinMargin:kn,innerMaxMargin:ci,handleSize:et}=Jt,ze=`${vn}-inner`;return{[vn]:{[ze]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:ci,paddingInlineEnd:kn,transition:`padding-inline-start ${Jt.switchDuration} ease-in-out, padding-inline-end ${Jt.switchDuration} ease-in-out`,[`${ze}-checked, ${ze}-unchecked`]:{display:"block",color:Jt.colorTextLightSolid,fontSize:Jt.fontSizeSM,transition:`margin-inline-start ${Jt.switchDuration} ease-in-out, margin-inline-end ${Jt.switchDuration} ease-in-out`,pointerEvents:"none"},[`${ze}-checked`]:{marginInlineStart:`calc(-100% + ${et+hi*2}px - ${ci*2}px)`,marginInlineEnd:`calc(100% - ${et+hi*2}px + ${ci*2}px)`},[`${ze}-unchecked`]:{marginTop:-Ai,marginInlineStart:0,marginInlineEnd:0}},[`&${vn}-checked ${ze}`]:{paddingInlineStart:kn,paddingInlineEnd:ci,[`${ze}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${ze}-unchecked`]:{marginInlineStart:`calc(100% - ${et+hi*2}px + ${ci*2}px)`,marginInlineEnd:`calc(-100% + ${et+hi*2}px - ${ci*2}px)`}},[`&:not(${vn}-disabled):active`]:{[`&:not(${vn}-checked) ${ze}`]:{[`${ze}-unchecked`]:{marginInlineStart:hi*2,marginInlineEnd:-hi*2}},[`&${vn}-checked ${ze}`]:{[`${ze}-checked`]:{marginInlineStart:-hi*2,marginInlineEnd:hi*2}}}}}},yt=Jt=>{const{componentCls:vn,trackHeight:Ai,trackMinWidth:hi}=Jt;return{[vn]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,pe.Wf)(Jt)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:hi,height:Ai,lineHeight:`${Ai}px`,verticalAlign:"middle",background:Jt.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Jt.motionDurationMid}`,userSelect:"none",[`&:hover:not(${vn}-disabled)`]:{background:Jt.colorTextTertiary}}),(0,pe.Qy)(Jt)),{[`&${vn}-checked`]:{background:Jt.switchColor,[`&:hover:not(${vn}-disabled)`]:{background:Jt.colorPrimaryHover}},[`&${vn}-loading, &${vn}-disabled`]:{cursor:"not-allowed",opacity:Jt.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${vn}-rtl`]:{direction:"rtl"}})}};var ut=(0,xe.Z)("Switch",Jt=>{const vn=(0,Ae.TS)(Jt,{switchDuration:Jt.motionDurationMid,switchColor:Jt.colorPrimary,switchDisabledOpacity:Jt.opacityLoading,switchLoadingIconSize:Jt.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${Jt.opacityLoading})`,switchHandleActiveInset:"-30%"});return[yt(vn),dt(vn),lt(vn),ke(vn),Me(vn)]},Jt=>{const{fontSize:vn,lineHeight:Ai,controlHeight:hi,colorWhite:kn}=Jt,ci=vn*Ai,et=hi/2,ze=2,yn=ci-ze*2,Xn=et-ze*2;return{trackHeight:ci,trackHeightSM:et,trackMinWidth:yn*2+ze*4,trackMinWidthSM:Xn*2+ze*2,trackPadding:ze,handleBg:kn,handleSize:yn,handleSizeSM:Xn,handleShadow:`0 2px 4px 0 ${new le.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:yn/2,innerMaxMargin:yn+ze+ze*2,innerMinMarginSM:Xn/2,innerMaxMarginSM:Xn+ze+ze*2}}),Tt=function(Jt,vn){var Ai={};for(var hi in Jt)Object.prototype.hasOwnProperty.call(Jt,hi)&&vn.indexOf(hi)<0&&(Ai[hi]=Jt[hi]);if(Jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kn=0,hi=Object.getOwnPropertySymbols(Jt);kn{const{prefixCls:Ai,size:hi,disabled:kn,loading:ci,className:et,rootClassName:ze,style:yn}=Jt,Xn=Tt(Jt,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:ei,direction:rn,switch:xn}=bt.useContext(te.E_),Dn=bt.useContext(ne.Z),yi=(kn!=null?kn:Dn)||ci,qn=ei("switch",Ai),Mi=bt.createElement("div",{className:`${qn}-handle`},ci&&bt.createElement(ue.Z,{className:`${qn}-loading-icon`})),[mt,ht]=ut(qn),gn=(0,de.Z)(hi),jt=Mt()(xn==null?void 0:xn.className,{[`${qn}-small`]:gn==="small",[`${qn}-loading`]:ci,[`${qn}-rtl`]:rn==="rtl"},et,ze,ht),En=Object.assign(Object.assign({},xn==null?void 0:xn.style),yn);return mt(bt.createElement(Oe.Z,{component:"Switch"},bt.createElement(Zt,Object.assign({},Xn,{prefixCls:qn,className:jt,style:En,disabled:yi,ref:vn,loadingIcon:Mi}))))});xt.__ANT_SWITCH=!0;var Nt=xt},10527:function(en,jn,Pe){"use strict";var ue,it=Pe(8219).default;ue={value:!0},jn.Z=void 0;var Mt=it(Pe(65835)),kt=it(Pe(6432));const Dt={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},Mt.default),timePickerLocale:Object.assign({},kt.default)};Dt.lang.ok="\u786E\u5B9A";var Wt=Dt;jn.Z=Wt},6432:function(en,jn){"use strict";Object.defineProperty(jn,"__esModule",{value:!0}),jn.default=void 0;var ue={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};jn.default=ue},99498:function(en,jn,Pe){(function(ue){ue(Pe(89780))})(function(ue){ue.defineOption("placeholder","",function(bt,wt,pt){var St=pt&&pt!=ue.Init;if(wt&&!St)bt.on("blur",Dt),bt.on("change",Wt),bt.on("swapDoc",Wt),ue.on(bt.getInputField(),"compositionupdate",bt.state.placeholderCompose=function(){kt(bt)}),Wt(bt);else if(!wt&&St){bt.off("blur",Dt),bt.off("change",Wt),bt.off("swapDoc",Wt),ue.off(bt.getInputField(),"compositionupdate",bt.state.placeholderCompose),it(bt);var Ut=bt.getWrapperElement();Ut.className=Ut.className.replace(" CodeMirror-empty","")}wt&&!bt.hasFocus()&&Dt(bt)});function it(bt){bt.state.placeholder&&(bt.state.placeholder.parentNode.removeChild(bt.state.placeholder),bt.state.placeholder=null)}function Mt(bt){it(bt);var wt=bt.state.placeholder=document.createElement("pre");wt.style.cssText="height: 0; overflow: visible",wt.style.direction=bt.getOption("direction"),wt.className="CodeMirror-placeholder CodeMirror-line-like";var pt=bt.getOption("placeholder");typeof pt=="string"&&(pt=document.createTextNode(pt)),wt.appendChild(pt),bt.display.lineSpace.insertBefore(wt,bt.display.lineSpace.firstChild)}function kt(bt){setTimeout(function(){var wt=!1,pt=bt.getInputField();pt.nodeName=="TEXTAREA"?wt=!pt.value:bt.lineCount()==1&&(wt=!/[^\u200b]/.test(pt.querySelector(".CodeMirror-line").textContent)),wt?Mt(bt):it(bt)},20)}function Dt(bt){Ve(bt)&&Mt(bt)}function Wt(bt){var wt=bt.getWrapperElement(),pt=Ve(bt);wt.className=wt.className.replace(" CodeMirror-empty","")+(pt?" CodeMirror-empty":""),pt?Mt(bt):it(bt)}function Ve(bt){return bt.lineCount()===1&&bt.getLine(0)===""}})},25717:function(en,jn,Pe){(function(ue){ue(Pe(89780))})(function(ue){var it={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Mt=ue.Pos;ue.defineOption("autoCloseBrackets",!1,function(te,ne,de){de&&de!=ue.Init&&(te.removeKeyMap(Dt),te.state.closeBrackets=null),ne&&(Wt(kt(ne,"pairs")),te.state.closeBrackets=ne,te.addKeyMap(Dt))});function kt(te,ne){return ne=="pairs"&&typeof te=="string"?te:typeof te=="object"&&te[ne]!=null?te[ne]:it[ne]}var Dt={Backspace:wt,Enter:pt};function Wt(te){for(var ne=0;ne=0;pe--){var Ae=le[pe].head;te.replaceRange("",Mt(Ae.line,Ae.ch-1),Mt(Ae.line,Ae.ch+1),"+delete")}}function pt(te){var ne=bt(te),de=ne&&kt(ne,"explode");if(!de||te.getOption("disableInput"))return ue.Pass;for(var le=te.listSelections(),pe=0;pe0;return{anchor:new Mt(te.anchor.line,te.anchor.ch+(ne?-1:1)),head:new Mt(te.head.line,te.head.ch+(ne?1:-1))}}function Ut(te,ne){var de=bt(te);if(!de||te.getOption("disableInput"))return ue.Pass;var le=kt(de,"pairs"),pe=le.indexOf(ne);if(pe==-1)return ue.Pass;for(var xe=kt(de,"closeBefore"),Ae=kt(de,"triples"),Me=le.charAt(pe+1)==ne,ke=te.listSelections(),lt=pe%2==0,dt,yt=0;yt=0&&te.getRange(Tt,Mt(Tt.line,Tt.ch+3))==ne+ne+ne?xt="skipThree":xt="skip";else if(Me&&Tt.ch>1&&Ae.indexOf(ne)>=0&&te.getRange(Mt(Tt.line,Tt.ch-2),Tt)==ne+ne){if(Tt.ch>2&&/\bstring/.test(te.getTokenTypeAt(Mt(Tt.line,Tt.ch-2))))return ue.Pass;xt="addFour"}else if(Me){var Jt=Tt.ch==0?" ":te.getRange(Mt(Tt.line,Tt.ch-1),Tt);if(!ue.isWordChar(Nt)&&Jt!=ne&&!ue.isWordChar(Jt))xt="both";else return ue.Pass}else if(lt&&(Nt.length===0||/\s/.test(Nt)||xe.indexOf(Nt)>-1))xt="both";else return ue.Pass;if(!dt)dt=xt;else if(dt!=xt)return ue.Pass}var vn=pe%2?le.charAt(pe-1):ne,Ai=pe%2?ne:le.charAt(pe+1);te.operation(function(){if(dt=="skip")te.execCommand("goCharRight");else if(dt=="skipThree")for(var hi=0;hi<3;hi++)te.execCommand("goCharRight");else if(dt=="surround"){for(var kn=te.getSelections(),hi=0;hi'"]=function(Zt){return kt(Zt)}),wt.addKeyMap(Ut)}});var it=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Mt=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function kt(wt){if(wt.getOption("disableInput"))return ue.Pass;for(var pt=wt.listSelections(),St=[],Ut=wt.getOption("autoCloseTags"),Zt=0;ZtOe.ch&&(pe=pe.slice(0,pe.length-te.end+Oe.ch));var ke=pe.toLowerCase();if(!pe||te.type=="string"&&(te.end!=Oe.ch||!/[\"\']/.test(te.string.charAt(te.string.length-1))||te.string.length==1)||te.type=="tag"&&le.close||te.string.indexOf("/")==Oe.ch-te.start-1||Ae&&Ve(Ae,ke)>-1||bt(wt,ne.mode.xmlCurrentContext&&ne.mode.xmlCurrentContext(de)||[],pe,Oe,!0))return ue.Pass;var lt=typeof Ut=="object"&&Ut.emptyTags;if(lt&&Ve(lt,pe)>-1){St[Zt]={text:"/>",newPos:ue.Pos(Oe.line,Oe.ch+2)};continue}var dt=Me&&Ve(Me,ke)>-1;St[Zt]={indent:dt,text:">"+(dt?` + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${Yt}-tooltip-inner`]:{minWidth:"unset"}})}},gn=($e,At)=>{const{componentCls:Yt,railSize:Ie,handleSize:Ce,dotSize:Ee}=$e,Te=At?"paddingBlock":"paddingInline",Ue=At?"width":"height",Le=At?"height":"width",rt=At?"insetBlockStart":"insetInlineStart",Sn=At?"top":"insetInlineStart",fn=(Ie*3-Ce)/2,an=(Ce-Ie)/2,$t=At?{borderWidth:`${an}px 0`,transform:`translateY(-${an}px)`}:{borderWidth:`0 ${an}px`,transform:`translateX(-${an}px)`};return{[Te]:Ie,[Le]:Ie*3,[`${Yt}-rail`]:{[Ue]:"100%",[Le]:Ie},[`${Yt}-track`]:{[Le]:Ie},[`${Yt}-track-draggable`]:Object.assign({},$t),[`${Yt}-handle`]:{[rt]:fn},[`${Yt}-mark`]:{insetInlineStart:0,top:0,[Sn]:Ie*3+(At?0:$e.marginFull),[Ue]:"100%"},[`${Yt}-step`]:{insetInlineStart:0,top:0,[Sn]:Ie,[Ue]:"100%",[Le]:Ie},[`${Yt}-dot`]:{position:"absolute",[rt]:(Ie-Ee)/2}}},jt=$e=>{const{componentCls:At,marginPartWithMark:Yt}=$e;return{[`${At}-horizontal`]:Object.assign(Object.assign({},gn($e,!0)),{[`&${At}-with-marks`]:{marginBottom:Yt}})}},En=$e=>{const{componentCls:At}=$e;return{[`${At}-vertical`]:Object.assign(Object.assign({},gn($e,!1)),{height:"100%"})}};var Fn=(0,Mi.Z)("Slider",$e=>{const At=(0,mt.TS)($e,{marginPart:($e.controlHeight-$e.controlSize)/2,marginFull:$e.controlSize/2,marginPartWithMark:$e.controlHeightLG-$e.controlSize});return[ht(At),jt(At),En(At)]},$e=>{const Yt=$e.controlHeightLG/4,Ie=$e.controlHeightSM/2,Ce=$e.lineWidth+1,Ee=$e.lineWidth+1*3;return{controlSize:Yt,railSize:4,handleSize:Yt,handleSizeHover:Ie,dotSize:8,handleLineWidth:Ce,handleLineWidthHover:Ee,railBg:$e.colorFillTertiary,railHoverBg:$e.colorFillSecondary,trackBg:$e.colorPrimaryBorder,trackHoverBg:$e.colorPrimaryBorderHover,handleColor:$e.colorPrimaryBorder,handleActiveColor:$e.colorPrimary,dotBorderColor:$e.colorBorderSecondary,dotActiveBorderColor:$e.colorPrimaryBorder,trackBgDisabled:$e.colorBgContainerDisabled}}),ri=function($e,At){var Yt={};for(var Ie in $e)Object.prototype.hasOwnProperty.call($e,Ie)&&At.indexOf(Ie)<0&&(Yt[Ie]=$e[Ie]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ie=Object.getOwnPropertySymbols($e);Cetypeof $e=="number"?$e.toString():"";var zt=Ve.forwardRef(($e,At)=>{const{prefixCls:Yt,range:Ie,className:Ce,rootClassName:Ee,style:Te,disabled:Ue,tooltipPrefixCls:Le,tipFormatter:rt,tooltipVisible:Sn,getTooltipPopupContainer:fn,tooltipPlacement:an}=$e,$t=ri($e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:fi,slider:Mn,getPrefixCls:On,getPopupContainer:Hi}=Ve.useContext(ze.E_),Si=Ve.useContext(yn.Z),sr=Ue!=null?Ue:Si,[ro,Wo]=Ve.useState({}),No=(zn,Vi)=>{Wo(Wi=>Object.assign(Object.assign({},Wi),{[zn]:Vi}))},Lr=(zn,Vi)=>zn||(Vi?fi==="rtl"?"left":"right":"top"),Ko=On("slider",Yt),[Oo,So]=Fn(Ko),Eo=it()(Ce,Mn==null?void 0:Mn.className,Ee,{[`${Ko}-rtl`]:fi==="rtl"},So);fi==="rtl"&&!$t.vertical&&($t.reverse=!$t.reverse);const[Tr,Be]=Ve.useMemo(()=>Ie?typeof Ie=="object"?[!0,Ie.draggableTrack]:[!0,!1]:[!1],[Ie]),ya=(zn,Vi)=>{var Wi;const{index:mi,dragging:Qn}=Vi,{tooltip:nr={},vertical:nn}=$e,_t=Object.assign({},nr),{open:Rt,placement:Li,getPopupContainer:yr,prefixCls:Oi,formatter:Zn}=_t;let ki;Zn||Zn===null?ki=Zn:rt||rt===null?ki=rt:ki=ni;const Vr=ki?ro[mi]||Qn:!1,br=(Wi=Rt!=null?Rt:Sn)!==null&&Wi!==void 0?Wi:Rt===void 0&&Vr,Br=Object.assign(Object.assign({},zn.props),{onMouseEnter:()=>No(mi,!0),onMouseLeave:()=>No(mi,!1)}),Et=On("tooltip",Oi!=null?Oi:Le);return Ve.createElement(Dn,Object.assign({},_t,{prefixCls:Et,title:ki?ki(Vi.value):"",open:br,placement:Lr(Li!=null?Li:an,nn),key:mi,overlayClassName:`${Ko}-tooltip`,getPopupContainer:yr||fn||Hi}),Ve.cloneElement(zn,Br))},to=Object.assign(Object.assign({},Mn==null?void 0:Mn.style),Te);return Oo(Ve.createElement(et,Object.assign({},$t,{step:$t.step,range:Tr,draggableTrack:Be,className:Eo,style:to,disabled:sr,ref:At,prefixCls:Ko,handleRender:ya})))})},78673:function(tn,jn,Pe){"use strict";Pe.d(jn,{Z:function(){return Nt}});var ue=Pe(58617),it=Pe(92310),Mt=Pe.n(it),kt=Pe(72308),Dt=Pe(49618),Wt=Pe(52487),Ve=Pe(74416),bt=Pe(59301),wt=Pe(18929),pt=Pe(10228),St=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Ut=bt.forwardRef(function(Jt,vn){var Ai,hi=Jt.prefixCls,kn=hi===void 0?"rc-switch":hi,ci=Jt.className,et=Jt.checked,ze=Jt.defaultChecked,yn=Jt.disabled,Xn=Jt.loadingIcon,ei=Jt.checkedChildren,on=Jt.unCheckedChildren,xn=Jt.onClick,Dn=Jt.onChange,yi=Jt.onKeyDown,qn=(0,Ve.Z)(Jt,St),Mi=(0,wt.Z)(!1,{value:et,defaultValue:ze}),mt=(0,Wt.Z)(Mi,2),ht=mt[0],gn=mt[1];function jt(ni,mn){var zt=ht;return yn||(zt=ni,gn(zt),Dn==null||Dn(zt,mn)),zt}function En(ni){ni.which===pt.Z.LEFT?jt(!1,ni):ni.which===pt.Z.RIGHT&&jt(!0,ni),yi==null||yi(ni)}function Fn(ni){var mn=jt(!ht,ni);xn==null||xn(mn,ni)}var ri=Mt()(kn,ci,(Ai={},(0,Dt.Z)(Ai,"".concat(kn,"-checked"),ht),(0,Dt.Z)(Ai,"".concat(kn,"-disabled"),yn),Ai));return bt.createElement("button",(0,kt.Z)({},qn,{type:"button",role:"switch","aria-checked":ht,disabled:yn,className:ri,ref:vn,onKeyDown:En,onClick:Fn}),Xn,bt.createElement("span",{className:"".concat(kn,"-inner")},bt.createElement("span",{className:"".concat(kn,"-inner-checked")},ei),bt.createElement("span",{className:"".concat(kn,"-inner-unchecked")},on)))});Ut.displayName="Switch";var Zt=Ut,Oe=Pe(14088),te=Pe(36355),ne=Pe(1684),de=Pe(19716),le=Pe(64993),pe=Pe(17313),xe=Pe(83116),Ae=Pe(37613);const Me=Jt=>{const{componentCls:vn,trackHeightSM:Ai,trackPadding:hi,trackMinWidthSM:kn,innerMinMarginSM:ci,innerMaxMarginSM:et,handleSizeSM:ze}=Jt,yn=`${vn}-inner`;return{[vn]:{[`&${vn}-small`]:{minWidth:kn,height:Ai,lineHeight:`${Ai}px`,[`${vn}-inner`]:{paddingInlineStart:et,paddingInlineEnd:ci,[`${yn}-checked`]:{marginInlineStart:`calc(-100% + ${ze+hi*2}px - ${et*2}px)`,marginInlineEnd:`calc(100% - ${ze+hi*2}px + ${et*2}px)`},[`${yn}-unchecked`]:{marginTop:-Ai,marginInlineStart:0,marginInlineEnd:0}},[`${vn}-handle`]:{width:ze,height:ze},[`${vn}-loading-icon`]:{top:(ze-Jt.switchLoadingIconSize)/2,fontSize:Jt.switchLoadingIconSize},[`&${vn}-checked`]:{[`${vn}-inner`]:{paddingInlineStart:ci,paddingInlineEnd:et,[`${yn}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${yn}-unchecked`]:{marginInlineStart:`calc(100% - ${ze+hi*2}px + ${et*2}px)`,marginInlineEnd:`calc(-100% + ${ze+hi*2}px - ${et*2}px)`}},[`${vn}-handle`]:{insetInlineStart:`calc(100% - ${ze+hi}px)`}},[`&:not(${vn}-disabled):active`]:{[`&:not(${vn}-checked) ${yn}`]:{[`${yn}-unchecked`]:{marginInlineStart:Jt.marginXXS/2,marginInlineEnd:-Jt.marginXXS/2}},[`&${vn}-checked ${yn}`]:{[`${yn}-checked`]:{marginInlineStart:-Jt.marginXXS/2,marginInlineEnd:Jt.marginXXS/2}}}}}}},ke=Jt=>{const{componentCls:vn,handleSize:Ai}=Jt;return{[vn]:{[`${vn}-loading-icon${Jt.iconCls}`]:{position:"relative",top:(Ai-Jt.fontSize)/2,color:Jt.switchLoadingIconColor,verticalAlign:"top"},[`&${vn}-checked ${vn}-loading-icon`]:{color:Jt.switchColor}}}},lt=Jt=>{const{componentCls:vn,motion:Ai,trackPadding:hi,handleBg:kn,handleShadow:ci,handleSize:et}=Jt,ze=`${vn}-handle`;return{[vn]:{[ze]:{position:"absolute",top:hi,insetInlineStart:hi,width:et,height:et,transition:`all ${Jt.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:kn,borderRadius:et/2,boxShadow:ci,transition:`all ${Jt.switchDuration} ease-in-out`,content:'""'}},[`&${vn}-checked ${ze}`]:{insetInlineStart:`calc(100% - ${et+hi}px)`},[`&:not(${vn}-disabled):active`]:Ai?{[`${ze}::before`]:{insetInlineEnd:Jt.switchHandleActiveInset,insetInlineStart:0},[`&${vn}-checked ${ze}::before`]:{insetInlineEnd:0,insetInlineStart:Jt.switchHandleActiveInset}}:{}}}},dt=Jt=>{const{componentCls:vn,trackHeight:Ai,trackPadding:hi,innerMinMargin:kn,innerMaxMargin:ci,handleSize:et}=Jt,ze=`${vn}-inner`;return{[vn]:{[ze]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:ci,paddingInlineEnd:kn,transition:`padding-inline-start ${Jt.switchDuration} ease-in-out, padding-inline-end ${Jt.switchDuration} ease-in-out`,[`${ze}-checked, ${ze}-unchecked`]:{display:"block",color:Jt.colorTextLightSolid,fontSize:Jt.fontSizeSM,transition:`margin-inline-start ${Jt.switchDuration} ease-in-out, margin-inline-end ${Jt.switchDuration} ease-in-out`,pointerEvents:"none"},[`${ze}-checked`]:{marginInlineStart:`calc(-100% + ${et+hi*2}px - ${ci*2}px)`,marginInlineEnd:`calc(100% - ${et+hi*2}px + ${ci*2}px)`},[`${ze}-unchecked`]:{marginTop:-Ai,marginInlineStart:0,marginInlineEnd:0}},[`&${vn}-checked ${ze}`]:{paddingInlineStart:kn,paddingInlineEnd:ci,[`${ze}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${ze}-unchecked`]:{marginInlineStart:`calc(100% - ${et+hi*2}px + ${ci*2}px)`,marginInlineEnd:`calc(-100% + ${et+hi*2}px - ${ci*2}px)`}},[`&:not(${vn}-disabled):active`]:{[`&:not(${vn}-checked) ${ze}`]:{[`${ze}-unchecked`]:{marginInlineStart:hi*2,marginInlineEnd:-hi*2}},[`&${vn}-checked ${ze}`]:{[`${ze}-checked`]:{marginInlineStart:-hi*2,marginInlineEnd:hi*2}}}}}},yt=Jt=>{const{componentCls:vn,trackHeight:Ai,trackMinWidth:hi}=Jt;return{[vn]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,pe.Wf)(Jt)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:hi,height:Ai,lineHeight:`${Ai}px`,verticalAlign:"middle",background:Jt.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Jt.motionDurationMid}`,userSelect:"none",[`&:hover:not(${vn}-disabled)`]:{background:Jt.colorTextTertiary}}),(0,pe.Qy)(Jt)),{[`&${vn}-checked`]:{background:Jt.switchColor,[`&:hover:not(${vn}-disabled)`]:{background:Jt.colorPrimaryHover}},[`&${vn}-loading, &${vn}-disabled`]:{cursor:"not-allowed",opacity:Jt.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${vn}-rtl`]:{direction:"rtl"}})}};var ut=(0,xe.Z)("Switch",Jt=>{const vn=(0,Ae.TS)(Jt,{switchDuration:Jt.motionDurationMid,switchColor:Jt.colorPrimary,switchDisabledOpacity:Jt.opacityLoading,switchLoadingIconSize:Jt.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${Jt.opacityLoading})`,switchHandleActiveInset:"-30%"});return[yt(vn),dt(vn),lt(vn),ke(vn),Me(vn)]},Jt=>{const{fontSize:vn,lineHeight:Ai,controlHeight:hi,colorWhite:kn}=Jt,ci=vn*Ai,et=hi/2,ze=2,yn=ci-ze*2,Xn=et-ze*2;return{trackHeight:ci,trackHeightSM:et,trackMinWidth:yn*2+ze*4,trackMinWidthSM:Xn*2+ze*2,trackPadding:ze,handleBg:kn,handleSize:yn,handleSizeSM:Xn,handleShadow:`0 2px 4px 0 ${new le.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:yn/2,innerMaxMargin:yn+ze+ze*2,innerMinMarginSM:Xn/2,innerMaxMarginSM:Xn+ze+ze*2}}),Ot=function(Jt,vn){var Ai={};for(var hi in Jt)Object.prototype.hasOwnProperty.call(Jt,hi)&&vn.indexOf(hi)<0&&(Ai[hi]=Jt[hi]);if(Jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kn=0,hi=Object.getOwnPropertySymbols(Jt);kn{const{prefixCls:Ai,size:hi,disabled:kn,loading:ci,className:et,rootClassName:ze,style:yn}=Jt,Xn=Ot(Jt,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:ei,direction:on,switch:xn}=bt.useContext(te.E_),Dn=bt.useContext(ne.Z),yi=(kn!=null?kn:Dn)||ci,qn=ei("switch",Ai),Mi=bt.createElement("div",{className:`${qn}-handle`},ci&&bt.createElement(ue.Z,{className:`${qn}-loading-icon`})),[mt,ht]=ut(qn),gn=(0,de.Z)(hi),jt=Mt()(xn==null?void 0:xn.className,{[`${qn}-small`]:gn==="small",[`${qn}-loading`]:ci,[`${qn}-rtl`]:on==="rtl"},et,ze,ht),En=Object.assign(Object.assign({},xn==null?void 0:xn.style),yn);return mt(bt.createElement(Oe.Z,{component:"Switch"},bt.createElement(Zt,Object.assign({},Xn,{prefixCls:qn,className:jt,style:En,disabled:yi,ref:vn,loadingIcon:Mi}))))});xt.__ANT_SWITCH=!0;var Nt=xt},10527:function(tn,jn,Pe){"use strict";var ue,it=Pe(8219).default;ue={value:!0},jn.Z=void 0;var Mt=it(Pe(65835)),kt=it(Pe(6432));const Dt={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},Mt.default),timePickerLocale:Object.assign({},kt.default)};Dt.lang.ok="\u786E\u5B9A";var Wt=Dt;jn.Z=Wt},6432:function(tn,jn){"use strict";Object.defineProperty(jn,"__esModule",{value:!0}),jn.default=void 0;var ue={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};jn.default=ue},99498:function(tn,jn,Pe){(function(ue){ue(Pe(89780))})(function(ue){ue.defineOption("placeholder","",function(bt,wt,pt){var St=pt&&pt!=ue.Init;if(wt&&!St)bt.on("blur",Dt),bt.on("change",Wt),bt.on("swapDoc",Wt),ue.on(bt.getInputField(),"compositionupdate",bt.state.placeholderCompose=function(){kt(bt)}),Wt(bt);else if(!wt&&St){bt.off("blur",Dt),bt.off("change",Wt),bt.off("swapDoc",Wt),ue.off(bt.getInputField(),"compositionupdate",bt.state.placeholderCompose),it(bt);var Ut=bt.getWrapperElement();Ut.className=Ut.className.replace(" CodeMirror-empty","")}wt&&!bt.hasFocus()&&Dt(bt)});function it(bt){bt.state.placeholder&&(bt.state.placeholder.parentNode.removeChild(bt.state.placeholder),bt.state.placeholder=null)}function Mt(bt){it(bt);var wt=bt.state.placeholder=document.createElement("pre");wt.style.cssText="height: 0; overflow: visible",wt.style.direction=bt.getOption("direction"),wt.className="CodeMirror-placeholder CodeMirror-line-like";var pt=bt.getOption("placeholder");typeof pt=="string"&&(pt=document.createTextNode(pt)),wt.appendChild(pt),bt.display.lineSpace.insertBefore(wt,bt.display.lineSpace.firstChild)}function kt(bt){setTimeout(function(){var wt=!1,pt=bt.getInputField();pt.nodeName=="TEXTAREA"?wt=!pt.value:bt.lineCount()==1&&(wt=!/[^\u200b]/.test(pt.querySelector(".CodeMirror-line").textContent)),wt?Mt(bt):it(bt)},20)}function Dt(bt){Ve(bt)&&Mt(bt)}function Wt(bt){var wt=bt.getWrapperElement(),pt=Ve(bt);wt.className=wt.className.replace(" CodeMirror-empty","")+(pt?" CodeMirror-empty":""),pt?Mt(bt):it(bt)}function Ve(bt){return bt.lineCount()===1&&bt.getLine(0)===""}})},25717:function(tn,jn,Pe){(function(ue){ue(Pe(89780))})(function(ue){var it={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Mt=ue.Pos;ue.defineOption("autoCloseBrackets",!1,function(te,ne,de){de&&de!=ue.Init&&(te.removeKeyMap(Dt),te.state.closeBrackets=null),ne&&(Wt(kt(ne,"pairs")),te.state.closeBrackets=ne,te.addKeyMap(Dt))});function kt(te,ne){return ne=="pairs"&&typeof te=="string"?te:typeof te=="object"&&te[ne]!=null?te[ne]:it[ne]}var Dt={Backspace:wt,Enter:pt};function Wt(te){for(var ne=0;ne=0;pe--){var Ae=le[pe].head;te.replaceRange("",Mt(Ae.line,Ae.ch-1),Mt(Ae.line,Ae.ch+1),"+delete")}}function pt(te){var ne=bt(te),de=ne&&kt(ne,"explode");if(!de||te.getOption("disableInput"))return ue.Pass;for(var le=te.listSelections(),pe=0;pe0;return{anchor:new Mt(te.anchor.line,te.anchor.ch+(ne?-1:1)),head:new Mt(te.head.line,te.head.ch+(ne?1:-1))}}function Ut(te,ne){var de=bt(te);if(!de||te.getOption("disableInput"))return ue.Pass;var le=kt(de,"pairs"),pe=le.indexOf(ne);if(pe==-1)return ue.Pass;for(var xe=kt(de,"closeBefore"),Ae=kt(de,"triples"),Me=le.charAt(pe+1)==ne,ke=te.listSelections(),lt=pe%2==0,dt,yt=0;yt=0&&te.getRange(Ot,Mt(Ot.line,Ot.ch+3))==ne+ne+ne?xt="skipThree":xt="skip";else if(Me&&Ot.ch>1&&Ae.indexOf(ne)>=0&&te.getRange(Mt(Ot.line,Ot.ch-2),Ot)==ne+ne){if(Ot.ch>2&&/\bstring/.test(te.getTokenTypeAt(Mt(Ot.line,Ot.ch-2))))return ue.Pass;xt="addFour"}else if(Me){var Jt=Ot.ch==0?" ":te.getRange(Mt(Ot.line,Ot.ch-1),Ot);if(!ue.isWordChar(Nt)&&Jt!=ne&&!ue.isWordChar(Jt))xt="both";else return ue.Pass}else if(lt&&(Nt.length===0||/\s/.test(Nt)||xe.indexOf(Nt)>-1))xt="both";else return ue.Pass;if(!dt)dt=xt;else if(dt!=xt)return ue.Pass}var vn=pe%2?le.charAt(pe-1):ne,Ai=pe%2?ne:le.charAt(pe+1);te.operation(function(){if(dt=="skip")te.execCommand("goCharRight");else if(dt=="skipThree")for(var hi=0;hi<3;hi++)te.execCommand("goCharRight");else if(dt=="surround"){for(var kn=te.getSelections(),hi=0;hi'"]=function(Zt){return kt(Zt)}),wt.addKeyMap(Ut)}});var it=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Mt=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function kt(wt){if(wt.getOption("disableInput"))return ue.Pass;for(var pt=wt.listSelections(),St=[],Ut=wt.getOption("autoCloseTags"),Zt=0;ZtOe.ch&&(pe=pe.slice(0,pe.length-te.end+Oe.ch));var ke=pe.toLowerCase();if(!pe||te.type=="string"&&(te.end!=Oe.ch||!/[\"\']/.test(te.string.charAt(te.string.length-1))||te.string.length==1)||te.type=="tag"&&le.close||te.string.indexOf("/")==Oe.ch-te.start-1||Ae&&Ve(Ae,ke)>-1||bt(wt,ne.mode.xmlCurrentContext&&ne.mode.xmlCurrentContext(de)||[],pe,Oe,!0))return ue.Pass;var lt=typeof Ut=="object"&&Ut.emptyTags;if(lt&&Ve(lt,pe)>-1){St[Zt]={text:"/>",newPos:ue.Pos(Oe.line,Oe.ch+2)};continue}var dt=Me&&Ve(Me,ke)>-1;St[Zt]={indent:dt,text:">"+(dt?` -`:"")+"",newPos:dt?ue.Pos(Oe.line+1,0):ue.Pos(Oe.line,Oe.ch+1)}}for(var yt=typeof Ut=="object"&&Ut.dontIndentOnAutoClose,Zt=pt.length-1;Zt>=0;Zt--){var ut=St[Zt];wt.replaceRange(ut.text,pt[Zt].head,pt[Zt].anchor,"+insert");var Tt=wt.listSelections().slice(0);Tt[Zt]={head:ut.newPos,anchor:ut.newPos},wt.setSelections(Tt),!yt&&ut.indent&&(wt.indentLine(ut.newPos.line,null,!0),wt.indentLine(ut.newPos.line+1,null,!0))}}function Dt(wt,pt){for(var St=wt.listSelections(),Ut=[],Zt=pt?"/":""&&(Ae+=">"),Ut[ne]=Ae}if(wt.replaceSelections(Ut),St=wt.listSelections(),!te)for(var ne=0;ne=0&&pt[de]==St;de--)++ne;Ut=te.to;for(var de=1;de=de.max))return de.ch=0,de.text=de.cm.getLine(++de.line),!0}function pt(de){if(!(de.line<=de.min))return de.text=de.cm.getLine(--de.line),de.ch=de.text.length,!0}function St(de){for(;;){var le=de.text.indexOf(">",de.ch);if(le==-1){if(wt(de))continue;return}if(!bt(de,le+1)){de.ch=le+1;continue}var pe=de.text.lastIndexOf("/",le),xe=pe>-1&&!/\S/.test(de.text.slice(pe+1,le));return de.ch=le+1,xe?"selfClose":"regular"}}function Ut(de){for(;;){var le=de.ch?de.text.lastIndexOf("<",de.ch-1):-1;if(le==-1){if(pt(de))continue;return}if(!bt(de,le+1)){de.ch=le;continue}Wt.lastIndex=le,de.ch=le;var pe=Wt.exec(de.text);if(pe&&pe.index==le)return pe}}function Zt(de){for(;;){Wt.lastIndex=de.ch;var le=Wt.exec(de.text);if(!le){if(wt(de))continue;return}if(!bt(de,le.index+1)){de.ch=le.index+1;continue}return de.ch=le.index+le[0].length,le}}function Oe(de){for(;;){var le=de.ch?de.text.lastIndexOf(">",de.ch-1):-1;if(le==-1){if(pt(de))continue;return}if(!bt(de,le+1)){de.ch=le;continue}var pe=de.text.lastIndexOf("/",le),xe=pe>-1&&!/\S/.test(de.text.slice(pe+1,le));return de.ch=le+1,xe?"selfClose":"regular"}}function te(de,le){for(var pe=[];;){var xe=Zt(de),Ae,Me=de.line,ke=de.ch-(xe?xe[0].length:0);if(!xe||!(Ae=St(de)))return;if(Ae!="selfClose")if(xe[1]){for(var lt=pe.length-1;lt>=0;--lt)if(pe[lt]==xe[2]){pe.length=lt;break}if(lt<0&&(!le||le==xe[2]))return{tag:xe[2],from:it(Me,ke),to:it(de.line,de.ch)}}else pe.push(xe[2])}}function ne(de,le){for(var pe=[];;){var xe=Oe(de);if(!xe)return;if(xe=="selfClose"){Ut(de);continue}var Ae=de.line,Me=de.ch,ke=Ut(de);if(!ke)return;if(ke[1])pe.push(ke[2]);else{for(var lt=pe.length-1;lt>=0;--lt)if(pe[lt]==ke[2]){pe.length=lt;break}if(lt<0&&(!le||le==ke[2]))return{tag:ke[2],from:it(de.line,de.ch),to:it(Ae,Me)}}}}ue.registerHelper("fold","xml",function(de,le){for(var pe=new Ve(de,le.line,0);;){var xe=Zt(pe);if(!xe||pe.line!=le.line)return;var Ae=St(pe);if(!Ae)return;if(!xe[1]&&Ae!="selfClose"){var Me=it(pe.line,pe.ch),ke=te(pe,xe[2]);return ke&&Mt(ke.from,Me)>0?{from:Me,to:ke.from}:null}}}),ue.findMatchingTag=function(de,le,pe){var xe=new Ve(de,le.line,le.ch,pe);if(!(xe.text.indexOf(">")==-1&&xe.text.indexOf("<")==-1)){var Ae=St(xe),Me=Ae&&it(xe.line,xe.ch),ke=Ae&&Ut(xe);if(!(!Ae||!ke||Mt(xe,le)>0)){var lt={from:it(xe.line,xe.ch),to:Me,tag:ke[2]};return Ae=="selfClose"?{open:lt,close:null,at:"open"}:ke[1]?{open:ne(xe,ke[2]),close:lt,at:"close"}:(xe=new Ve(de,Me.line,Me.ch,pe),{open:lt,close:te(xe,ke[2]),at:"open"})}}},ue.findEnclosingTag=function(de,le,pe,xe){for(var Ae=new Ve(de,le.line,le.ch,pe);;){var Me=ne(Ae,xe);if(!Me)break;var ke=new Ve(de,le.line,le.ch,pe),lt=te(ke,Me.tag);if(lt)return{open:Me,close:lt}}},ue.scanForClosingTag=function(de,le,pe,xe){var Ae=new Ve(de,le.line,le.ch,xe?{from:0,to:xe}:null);return te(Ae,pe)}})},89780:function(en){(function(jn,Pe){en.exports=Pe()})(this,function(){"use strict";var jn=navigator.userAgent,Pe=navigator.platform,ue=/gecko\/\d/i.test(jn),it=/MSIE \d/.test(jn),Mt=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(jn),kt=/Edge\/(\d+)/.exec(jn),Dt=it||Mt||kt,Wt=Dt&&(it?document.documentMode||6:+(kt||Mt)[1]),Ve=!kt&&/WebKit\//.test(jn),bt=Ve&&/Qt\/\d+\.\d+/.test(jn),wt=!kt&&/Chrome\//.test(jn),pt=/Opera\//.test(jn),St=/Apple Computer/.test(navigator.vendor),Ut=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(jn),Zt=/PhantomJS/.test(jn),Oe=!kt&&/AppleWebKit/.test(jn)&&/Mobile\/\w+/.test(jn),te=/Android/.test(jn),ne=Oe||te||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(jn),de=Oe||/Mac/.test(Pe),le=/\bCrOS\b/.test(jn),pe=/win/i.test(Pe),xe=pt&&jn.match(/Version\/(\d*\.\d*)/);xe&&(xe=Number(xe[1])),xe&&xe>=15&&(pt=!1,Ve=!0);var Ae=de&&(bt||pt&&(xe==null||xe<12.11)),Me=ue||Dt&&Wt>=9;function ke(ie){return new RegExp("(^|\\s)"+ie+"(?:$|\\s)\\s*")}var lt=function(ie,ae){var fe=ie.className,he=ke(ae).exec(fe);if(he){var me=fe.slice(he.index+he[0].length);ie.className=fe.slice(0,he.index)+(me?he[1]+me:"")}};function dt(ie){for(var ae=ie.childNodes.length;ae>0;--ae)ie.removeChild(ie.firstChild);return ie}function yt(ie,ae){return dt(ie).appendChild(ae)}function ut(ie,ae,fe,he){var me=document.createElement(ie);if(fe&&(me.className=fe),he&&(me.style.cssText=he),typeof ae=="string")me.appendChild(document.createTextNode(ae));else if(ae)for(var De=0;De=ae)return je+(ae-De);je+=Xe-De,je+=fe-je%fe,De=Xe+1}}var ze=function(){this.id=null,this.f=null,this.time=0,this.handler=kn(this.onTimeout,this)};ze.prototype.onTimeout=function(ie){ie.id=0,ie.time<=+new Date?ie.f():setTimeout(ie.handler,ie.time-+new Date)},ze.prototype.set=function(ie,ae){this.f=ae;var fe=+new Date+ie;(!this.id||fe=ae)return he+Math.min(je,ae-me);if(me+=De-he,me+=fe-me%fe,he=De+1,me>=ae)return he}}var qn=[""];function Mi(ie){for(;qn.length<=ie;)qn.push(mt(qn)+" ");return qn[ie]}function mt(ie){return ie[ie.length-1]}function ht(ie,ae){for(var fe=[],he=0;he"\x80"&&(ie.toUpperCase()!=ie.toLowerCase()||Fn.test(ie))}function ni(ie,ae){return ae?ae.source.indexOf("\\w")>-1&&ii(ie)?!0:ae.test(ie):ii(ie)}function mn(ie){for(var ae in ie)if(ie.hasOwnProperty(ae)&&ie[ae])return!1;return!0}var zt=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function $e(ie){return ie.charCodeAt(0)>=768&&zt.test(ie)}function At(ie,ae,fe){for(;(fe<0?ae>0:aefe?-1:1;;){if(ae==fe)return ae;var me=(ae+fe)/2,De=he<0?Math.ceil(me):Math.floor(me);if(De==ae)return ie(De)?ae:fe;ie(De)?fe=De:ae=De+he}}function Ie(ie,ae,fe,he){if(!ie)return he(ae,fe,"ltr",0);for(var me=!1,De=0;Deae||ae==fe&&je.to==ae)&&(he(Math.max(je.from,ae),Math.min(je.to,fe),je.level==1?"rtl":"ltr",De),me=!0)}me||he(ae,fe,"ltr")}var Ce=null;function Ee(ie,ae,fe){var he;Ce=null;for(var me=0;meae)return me;De.to==ae&&(De.from!=De.to&&fe=="before"?he=me:Ce=me),De.from==ae&&(De.from!=De.to&&fe!="before"?he=me:Ce=me)}return he!=null?he:Ce}var Te=function(){var ie="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",ae="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function fe(gt){return gt<=247?ie.charAt(gt):1424<=gt&><=1524?"R":1536<=gt&><=1785?ae.charAt(gt-1536):1774<=gt&><=2220?"r":8192<=gt&><=8203?"w":gt==8204?"b":"L"}var he=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,me=/[stwN]/,De=/[LRr]/,je=/[Lb1n]/,Xe=/[1n]/;function Ke(gt,$t,Pt){this.level=gt,this.from=$t,this.to=Pt}return function(gt,$t){var Pt=$t=="ltr"?"L":"R";if(gt.length==0||$t=="ltr"&&!he.test(gt))return!1;for(var Hn=gt.length,In=[],Ui=0;Ui-1&&(he[ae]=me.slice(0,De).concat(me.slice(De+1)))}}}function an(ie,ae){var fe=Sn(ie,ae);if(fe.length)for(var he=Array.prototype.slice.call(arguments,2),me=0;me0}function On(ie){ie.prototype.on=function(ae,fe){rt(this,ae,fe)},ie.prototype.off=function(ae,fe){fn(this,ae,fe)}}function Hi(ie){ie.preventDefault?ie.preventDefault():ie.returnValue=!1}function Si(ie){ie.stopPropagation?ie.stopPropagation():ie.cancelBubble=!0}function sr(ie){return ie.defaultPrevented!=null?ie.defaultPrevented:ie.returnValue==!1}function ro(ie){Hi(ie),Si(ie)}function Wo(ie){return ie.target||ie.srcElement}function No(ie){var ae=ie.which;return ae==null&&(ie.button&1?ae=1:ie.button&2?ae=3:ie.button&4&&(ae=2)),de&&ie.ctrlKey&&ae==1&&(ae=3),ae}var Lr=function(){if(Dt&&Wt<9)return!1;var ie=ut("div");return"draggable"in ie||"dragDrop"in ie}(),Ko;function Oo(ie){if(Ko==null){var ae=ut("span","\u200B");yt(ie,ut("span",[ae,document.createTextNode("x")])),ie.firstChild.offsetHeight!=0&&(Ko=ae.offsetWidth<=1&&ae.offsetHeight>2&&!(Dt&&Wt<8))}var fe=Ko?ut("span","\u200B"):ut("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return fe.setAttribute("cm-text",""),fe}var So;function Eo(ie){if(So!=null)return So;var ae=yt(ie,document.createTextNode("A\u062EA")),fe=xt(ae,0,1).getBoundingClientRect(),he=xt(ae,1,2).getBoundingClientRect();return dt(ie),!fe||fe.left==fe.right?!1:So=he.right-fe.right<3}var Tr=` +`:"")+"",newPos:dt?ue.Pos(Oe.line+1,0):ue.Pos(Oe.line,Oe.ch+1)}}for(var yt=typeof Ut=="object"&&Ut.dontIndentOnAutoClose,Zt=pt.length-1;Zt>=0;Zt--){var ut=St[Zt];wt.replaceRange(ut.text,pt[Zt].head,pt[Zt].anchor,"+insert");var Ot=wt.listSelections().slice(0);Ot[Zt]={head:ut.newPos,anchor:ut.newPos},wt.setSelections(Ot),!yt&&ut.indent&&(wt.indentLine(ut.newPos.line,null,!0),wt.indentLine(ut.newPos.line+1,null,!0))}}function Dt(wt,pt){for(var St=wt.listSelections(),Ut=[],Zt=pt?"/":""&&(Ae+=">"),Ut[ne]=Ae}if(wt.replaceSelections(Ut),St=wt.listSelections(),!te)for(var ne=0;ne=0&&pt[de]==St;de--)++ne;Ut=te.to;for(var de=1;de=de.max))return de.ch=0,de.text=de.cm.getLine(++de.line),!0}function pt(de){if(!(de.line<=de.min))return de.text=de.cm.getLine(--de.line),de.ch=de.text.length,!0}function St(de){for(;;){var le=de.text.indexOf(">",de.ch);if(le==-1){if(wt(de))continue;return}if(!bt(de,le+1)){de.ch=le+1;continue}var pe=de.text.lastIndexOf("/",le),xe=pe>-1&&!/\S/.test(de.text.slice(pe+1,le));return de.ch=le+1,xe?"selfClose":"regular"}}function Ut(de){for(;;){var le=de.ch?de.text.lastIndexOf("<",de.ch-1):-1;if(le==-1){if(pt(de))continue;return}if(!bt(de,le+1)){de.ch=le;continue}Wt.lastIndex=le,de.ch=le;var pe=Wt.exec(de.text);if(pe&&pe.index==le)return pe}}function Zt(de){for(;;){Wt.lastIndex=de.ch;var le=Wt.exec(de.text);if(!le){if(wt(de))continue;return}if(!bt(de,le.index+1)){de.ch=le.index+1;continue}return de.ch=le.index+le[0].length,le}}function Oe(de){for(;;){var le=de.ch?de.text.lastIndexOf(">",de.ch-1):-1;if(le==-1){if(pt(de))continue;return}if(!bt(de,le+1)){de.ch=le;continue}var pe=de.text.lastIndexOf("/",le),xe=pe>-1&&!/\S/.test(de.text.slice(pe+1,le));return de.ch=le+1,xe?"selfClose":"regular"}}function te(de,le){for(var pe=[];;){var xe=Zt(de),Ae,Me=de.line,ke=de.ch-(xe?xe[0].length:0);if(!xe||!(Ae=St(de)))return;if(Ae!="selfClose")if(xe[1]){for(var lt=pe.length-1;lt>=0;--lt)if(pe[lt]==xe[2]){pe.length=lt;break}if(lt<0&&(!le||le==xe[2]))return{tag:xe[2],from:it(Me,ke),to:it(de.line,de.ch)}}else pe.push(xe[2])}}function ne(de,le){for(var pe=[];;){var xe=Oe(de);if(!xe)return;if(xe=="selfClose"){Ut(de);continue}var Ae=de.line,Me=de.ch,ke=Ut(de);if(!ke)return;if(ke[1])pe.push(ke[2]);else{for(var lt=pe.length-1;lt>=0;--lt)if(pe[lt]==ke[2]){pe.length=lt;break}if(lt<0&&(!le||le==ke[2]))return{tag:ke[2],from:it(de.line,de.ch),to:it(Ae,Me)}}}}ue.registerHelper("fold","xml",function(de,le){for(var pe=new Ve(de,le.line,0);;){var xe=Zt(pe);if(!xe||pe.line!=le.line)return;var Ae=St(pe);if(!Ae)return;if(!xe[1]&&Ae!="selfClose"){var Me=it(pe.line,pe.ch),ke=te(pe,xe[2]);return ke&&Mt(ke.from,Me)>0?{from:Me,to:ke.from}:null}}}),ue.findMatchingTag=function(de,le,pe){var xe=new Ve(de,le.line,le.ch,pe);if(!(xe.text.indexOf(">")==-1&&xe.text.indexOf("<")==-1)){var Ae=St(xe),Me=Ae&&it(xe.line,xe.ch),ke=Ae&&Ut(xe);if(!(!Ae||!ke||Mt(xe,le)>0)){var lt={from:it(xe.line,xe.ch),to:Me,tag:ke[2]};return Ae=="selfClose"?{open:lt,close:null,at:"open"}:ke[1]?{open:ne(xe,ke[2]),close:lt,at:"close"}:(xe=new Ve(de,Me.line,Me.ch,pe),{open:lt,close:te(xe,ke[2]),at:"open"})}}},ue.findEnclosingTag=function(de,le,pe,xe){for(var Ae=new Ve(de,le.line,le.ch,pe);;){var Me=ne(Ae,xe);if(!Me)break;var ke=new Ve(de,le.line,le.ch,pe),lt=te(ke,Me.tag);if(lt)return{open:Me,close:lt}}},ue.scanForClosingTag=function(de,le,pe,xe){var Ae=new Ve(de,le.line,le.ch,xe?{from:0,to:xe}:null);return te(Ae,pe)}})},89780:function(tn){(function(jn,Pe){tn.exports=Pe()})(this,function(){"use strict";var jn=navigator.userAgent,Pe=navigator.platform,ue=/gecko\/\d/i.test(jn),it=/MSIE \d/.test(jn),Mt=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(jn),kt=/Edge\/(\d+)/.exec(jn),Dt=it||Mt||kt,Wt=Dt&&(it?document.documentMode||6:+(kt||Mt)[1]),Ve=!kt&&/WebKit\//.test(jn),bt=Ve&&/Qt\/\d+\.\d+/.test(jn),wt=!kt&&/Chrome\//.test(jn),pt=/Opera\//.test(jn),St=/Apple Computer/.test(navigator.vendor),Ut=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(jn),Zt=/PhantomJS/.test(jn),Oe=!kt&&/AppleWebKit/.test(jn)&&/Mobile\/\w+/.test(jn),te=/Android/.test(jn),ne=Oe||te||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(jn),de=Oe||/Mac/.test(Pe),le=/\bCrOS\b/.test(jn),pe=/win/i.test(Pe),xe=pt&&jn.match(/Version\/(\d*\.\d*)/);xe&&(xe=Number(xe[1])),xe&&xe>=15&&(pt=!1,Ve=!0);var Ae=de&&(bt||pt&&(xe==null||xe<12.11)),Me=ue||Dt&&Wt>=9;function ke(ie){return new RegExp("(^|\\s)"+ie+"(?:$|\\s)\\s*")}var lt=function(ie,ae){var fe=ie.className,he=ke(ae).exec(fe);if(he){var me=fe.slice(he.index+he[0].length);ie.className=fe.slice(0,he.index)+(me?he[1]+me:"")}};function dt(ie){for(var ae=ie.childNodes.length;ae>0;--ae)ie.removeChild(ie.firstChild);return ie}function yt(ie,ae){return dt(ie).appendChild(ae)}function ut(ie,ae,fe,he){var me=document.createElement(ie);if(fe&&(me.className=fe),he&&(me.style.cssText=he),typeof ae=="string")me.appendChild(document.createTextNode(ae));else if(ae)for(var De=0;De=ae)return je+(ae-De);je+=Xe-De,je+=fe-je%fe,De=Xe+1}}var ze=function(){this.id=null,this.f=null,this.time=0,this.handler=kn(this.onTimeout,this)};ze.prototype.onTimeout=function(ie){ie.id=0,ie.time<=+new Date?ie.f():setTimeout(ie.handler,ie.time-+new Date)},ze.prototype.set=function(ie,ae){this.f=ae;var fe=+new Date+ie;(!this.id||fe=ae)return he+Math.min(je,ae-me);if(me+=De-he,me+=fe-me%fe,he=De+1,me>=ae)return he}}var qn=[""];function Mi(ie){for(;qn.length<=ie;)qn.push(mt(qn)+" ");return qn[ie]}function mt(ie){return ie[ie.length-1]}function ht(ie,ae){for(var fe=[],he=0;he"\x80"&&(ie.toUpperCase()!=ie.toLowerCase()||Fn.test(ie))}function ni(ie,ae){return ae?ae.source.indexOf("\\w")>-1&&ri(ie)?!0:ae.test(ie):ri(ie)}function mn(ie){for(var ae in ie)if(ie.hasOwnProperty(ae)&&ie[ae])return!1;return!0}var zt=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function $e(ie){return ie.charCodeAt(0)>=768&&zt.test(ie)}function At(ie,ae,fe){for(;(fe<0?ae>0:aefe?-1:1;;){if(ae==fe)return ae;var me=(ae+fe)/2,De=he<0?Math.ceil(me):Math.floor(me);if(De==ae)return ie(De)?ae:fe;ie(De)?fe=De:ae=De+he}}function Ie(ie,ae,fe,he){if(!ie)return he(ae,fe,"ltr",0);for(var me=!1,De=0;Deae||ae==fe&&je.to==ae)&&(he(Math.max(je.from,ae),Math.min(je.to,fe),je.level==1?"rtl":"ltr",De),me=!0)}me||he(ae,fe,"ltr")}var Ce=null;function Ee(ie,ae,fe){var he;Ce=null;for(var me=0;meae)return me;De.to==ae&&(De.from!=De.to&&fe=="before"?he=me:Ce=me),De.from==ae&&(De.from!=De.to&&fe!="before"?he=me:Ce=me)}return he!=null?he:Ce}var Te=function(){var ie="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",ae="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function fe(gt){return gt<=247?ie.charAt(gt):1424<=gt&><=1524?"R":1536<=gt&><=1785?ae.charAt(gt-1536):1774<=gt&><=2220?"r":8192<=gt&><=8203?"w":gt==8204?"b":"L"}var he=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,me=/[stwN]/,De=/[LRr]/,je=/[Lb1n]/,Xe=/[1n]/;function Ke(gt,en,Pt){this.level=gt,this.from=en,this.to=Pt}return function(gt,en){var Pt=en=="ltr"?"L":"R";if(gt.length==0||en=="ltr"&&!he.test(gt))return!1;for(var Hn=gt.length,In=[],Ui=0;Ui-1&&(he[ae]=me.slice(0,De).concat(me.slice(De+1)))}}}function an(ie,ae){var fe=Sn(ie,ae);if(fe.length)for(var he=Array.prototype.slice.call(arguments,2),me=0;me0}function On(ie){ie.prototype.on=function(ae,fe){rt(this,ae,fe)},ie.prototype.off=function(ae,fe){fn(this,ae,fe)}}function Hi(ie){ie.preventDefault?ie.preventDefault():ie.returnValue=!1}function Si(ie){ie.stopPropagation?ie.stopPropagation():ie.cancelBubble=!0}function sr(ie){return ie.defaultPrevented!=null?ie.defaultPrevented:ie.returnValue==!1}function ro(ie){Hi(ie),Si(ie)}function Wo(ie){return ie.target||ie.srcElement}function No(ie){var ae=ie.which;return ae==null&&(ie.button&1?ae=1:ie.button&2?ae=3:ie.button&4&&(ae=2)),de&&ie.ctrlKey&&ae==1&&(ae=3),ae}var Lr=function(){if(Dt&&Wt<9)return!1;var ie=ut("div");return"draggable"in ie||"dragDrop"in ie}(),Ko;function Oo(ie){if(Ko==null){var ae=ut("span","\u200B");yt(ie,ut("span",[ae,document.createTextNode("x")])),ie.firstChild.offsetHeight!=0&&(Ko=ae.offsetWidth<=1&&ae.offsetHeight>2&&!(Dt&&Wt<8))}var fe=Ko?ut("span","\u200B"):ut("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return fe.setAttribute("cm-text",""),fe}var So;function Eo(ie){if(So!=null)return So;var ae=yt(ie,document.createTextNode("A\u062EA")),fe=xt(ae,0,1).getBoundingClientRect(),he=xt(ae,1,2).getBoundingClientRect();return dt(ie),!fe||fe.left==fe.right?!1:So=he.right-fe.right<3}var Tr=` b`.split(/\n/).length!=3?function(ie){for(var ae=0,fe=[],he=ie.length;ae<=he;){var me=ie.indexOf(` -`,ae);me==-1&&(me=ie.length);var De=ie.slice(ae,ie.charAt(me-1)=="\r"?me-1:me),je=De.indexOf("\r");je!=-1?(fe.push(De.slice(0,je)),ae+=je+1):(fe.push(De),ae=me+1)}return fe}:function(ie){return ie.split(/\r\n?|\n/)},Be=window.getSelection?function(ie){try{return ie.selectionStart!=ie.selectionEnd}catch(ae){return!1}}:function(ie){var ae;try{ae=ie.ownerDocument.selection.createRange()}catch(fe){}return!ae||ae.parentElement()!=ie?!1:ae.compareEndPoints("StartToEnd",ae)!=0},ya=function(){var ie=ut("div");return"oncopy"in ie?!0:(ie.setAttribute("oncopy","return;"),typeof ie.oncopy=="function")}(),to=null;function zn(ie){if(to!=null)return to;var ae=yt(ie,ut("span","x")),fe=ae.getBoundingClientRect(),he=xt(ae,0,1).getBoundingClientRect();return to=Math.abs(fe.left-he.left)>1}var Vi={},Wi={};function mi(ie,ae){arguments.length>2&&(ae.dependencies=Array.prototype.slice.call(arguments,2)),Vi[ie]=ae}function Jn(ie,ae){Wi[ie]=ae}function nr(ie){if(typeof ie=="string"&&Wi.hasOwnProperty(ie))ie=Wi[ie];else if(ie&&typeof ie.name=="string"&&Wi.hasOwnProperty(ie.name)){var ae=Wi[ie.name];typeof ae=="string"&&(ae={name:ae}),ie=En(ae,ie),ie.name=ae.name}else{if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(ie))return nr("application/xml");if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(ie))return nr("application/json")}return typeof ie=="string"?{name:ie}:ie||{name:"null"}}function tn(ie,ae){ae=nr(ae);var fe=Vi[ae.name];if(!fe)return tn(ie,"text/plain");var he=fe(ie,ae);if(_t.hasOwnProperty(ae.name)){var me=_t[ae.name];for(var De in me)me.hasOwnProperty(De)&&(he.hasOwnProperty(De)&&(he["_"+De]=he[De]),he[De]=me[De])}if(he.name=ae.name,ae.helperType&&(he.helperType=ae.helperType),ae.modeProps)for(var je in ae.modeProps)he[je]=ae.modeProps[je];return he}var _t={};function Rt(ie,ae){var fe=_t.hasOwnProperty(ie)?_t[ie]:_t[ie]={};ci(ae,fe)}function Li(ie,ae){if(ae===!0)return ae;if(ie.copyState)return ie.copyState(ae);var fe={};for(var he in ae){var me=ae[he];me instanceof Array&&(me=me.concat([])),fe[he]=me}return fe}function yr(ie,ae){for(var fe;ie.innerMode&&(fe=ie.innerMode(ae),!(!fe||fe.mode==ie));)ae=fe.state,ie=fe.mode;return fe||{mode:ie,state:ae}}function Oi(ie,ae,fe){return ie.startState?ie.startState(ae,fe):!0}var Zn=function(ie,ae,fe){this.pos=this.start=0,this.string=ie,this.tabSize=ae||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=fe};Zn.prototype.eol=function(){return this.pos>=this.string.length},Zn.prototype.sol=function(){return this.pos==this.lineStart},Zn.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Zn.prototype.next=function(){if(this.posae},Zn.prototype.eatSpace=function(){for(var ie=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>ie},Zn.prototype.skipToEnd=function(){this.pos=this.string.length},Zn.prototype.skipTo=function(ie){var ae=this.string.indexOf(ie,this.pos);if(ae>-1)return this.pos=ae,!0},Zn.prototype.backUp=function(ie){this.pos-=ie},Zn.prototype.column=function(){return this.lastColumnPos0?null:(De&&ae!==!1&&(this.pos+=De[0].length),De)}},Zn.prototype.current=function(){return this.string.slice(this.start,this.pos)},Zn.prototype.hideFirstChars=function(ie,ae){this.lineStart+=ie;try{return ae()}finally{this.lineStart-=ie}},Zn.prototype.lookAhead=function(ie){var ae=this.lineOracle;return ae&&ae.lookAhead(ie)},Zn.prototype.baseToken=function(){var ie=this.lineOracle;return ie&&ie.baseToken(this.pos)};function ki(ie,ae){if(ae-=ie.first,ae<0||ae>=ie.size)throw new Error("There is no line "+(ae+ie.first)+" in the document.");for(var fe=ie;!fe.lines;)for(var he=0;;++he){var me=fe.children[he],De=me.chunkSize();if(ae=ie.first&&aefe?Lt(fe,ki(ie,fe).text.length):Jr(ae,ki(ie,ae.line).text.length)}function Jr(ie,ae){var fe=ie.ch;return fe==null||fe>ae?Lt(ie.line,ae):fe<0?Lt(ie.line,0):ie}function Qr(ie,ae){for(var fe=[],he=0;hethis.maxLookAhead&&(this.maxLookAhead=ie),ae},Nn.prototype.baseToken=function(ie){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=ie;)this.baseTokenPos+=2;var ae=this.baseTokens[this.baseTokenPos+1];return{type:ae&&ae.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-ie}},Nn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Nn.fromSaved=function(ie,ae,fe){return ae instanceof Lo?new Nn(ie,Li(ie.mode,ae.state),fe,ae.lookAhead):new Nn(ie,Li(ie.mode,ae),fe)},Nn.prototype.save=function(ie){var ae=ie!==!1?Li(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Lo(ae,this.maxLookAhead):ae};function ja(ie,ae,fe,he){var me=[ie.state.modeGen],De={};lr(ie,ae.text,ie.doc.mode,fe,function(gt,$t){return me.push(gt,$t)},De,he);for(var je=fe.state,Xe=function(gt){fe.baseTokens=me;var $t=ie.state.overlays[gt],Pt=1,Hn=0;fe.state=!0,lr(ie,ae.text,$t.mode,fe,function(In,Ui){for(var Xi=Pt;HnIn&&me.splice(Pt,1,In,me[Pt+1],Ot),Pt+=2,Hn=Math.min(In,Ot)}if(Ui)if($t.opaque)me.splice(Xi,Pt-Xi,In,"overlay "+Ui),Pt=Xi+2;else for(;Xiie.options.maxHighlightLength&&Li(ie.doc.mode,he.state),De=ja(ie,ae,he);me&&(he.state=me),ae.stateAfter=he.save(!me),ae.styles=De.styles,De.classes?ae.styleClasses=De.classes:ae.styleClasses&&(ae.styleClasses=null),fe===ie.doc.highlightFrontier&&(ie.doc.modeFrontier=Math.max(ie.doc.modeFrontier,++ie.doc.highlightFrontier))}return ae.styles}function Kr(ie,ae,fe){var he=ie.doc,me=ie.display;if(!he.mode.startState)return new Nn(he,!0,ae);var De=ui(ie,ae,fe),je=De>he.first&&ki(he,De-1).stateAfter,Xe=je?Nn.fromSaved(he,je,De):new Nn(he,Oi(he.mode),De);return he.iter(De,ae,function(Ke){sn(ie,Ke.text,Xe);var gt=Xe.line;Ke.stateAfter=gt==ae-1||gt%5==0||gt>=me.viewFrom&>ae.start)return De}throw new Error("Mode "+ie.name+" failed to advance stream.")}var Xt=function(ie,ae,fe){this.start=ie.start,this.end=ie.pos,this.string=ie.current(),this.type=ae||null,this.state=fe};function Vn(ie,ae,fe,he){var me=ie.doc,De=me.mode,je;ae=Ti(me,ae);var Xe=ki(me,ae.line),Ke=Kr(ie,ae.line,fe),gt=new Zn(Xe.text,ie.options.tabSize,Ke),$t;for(he&&($t=[]);(he||gt.posie.options.maxHighlightLength?(Xe=!1,je&&sn(ie,ae,he,$t.pos),$t.pos=ae.length,Pt=null):Pt=er(hn(fe,$t,he.state,Hn),De),Hn){var In=Hn[0].name;In&&(Pt="m-"+(Pt?In+" "+Pt:In))}if(!Xe||gt!=Pt){for(;Ke<$t.start;)Ke=Math.min($t.start,Ke+5e3),me(Ke,gt);gt=Pt}$t.start=$t.pos}for(;Ke<$t.pos;){var Ui=Math.min($t.pos,Ke+5e3);me(Ui,gt),Ke=Ui}}function ui(ie,ae,fe){for(var he,me,De=ie.doc,je=fe?-1:ae-(ie.doc.mode.innerMode?1e3:100),Xe=ae;Xe>je;--Xe){if(Xe<=De.first)return De.first;var Ke=ki(De,Xe-1),gt=Ke.stateAfter;if(gt&&(!fe||Xe+(gt instanceof Lo?gt.lookAhead:0)<=De.modeFrontier))return Xe;var $t=et(Ke.text,null,ie.options.tabSize);(me==null||he>$t)&&(me=Xe-1,he=$t)}return me}function Ci(ie,ae){if(ie.modeFrontier=Math.min(ie.modeFrontier,ae),!(ie.highlightFrontierfe;he--){var me=ki(ie,he).stateAfter;if(me&&(!(me instanceof Lo)||he+me.lookAhead=ae:De.to>ae);(he||(he=[])).push(new Ir(je,De.from,Ke?null:De.to))}}return he}function Zi(ie,ae,fe){var he;if(ie)for(var me=0;me=ae:De.to>ae);if(Xe||De.from==ae&&je.type=="bookmark"&&(!fe||De.marker.insertLeft)){var Ke=De.from==null||(je.inclusiveLeft?De.from<=ae:De.from0&&Xe)for(var vr=0;vr0)){var $t=[Ke,1],Pt=Ft(gt.from,Xe.from),Hn=Ft(gt.to,Xe.to);(Pt<0||!je.inclusiveLeft&&!Pt)&&$t.push({from:gt.from,to:Xe.from}),(Hn>0||!je.inclusiveRight&&!Hn)&&$t.push({from:Xe.to,to:gt.to}),me.splice.apply(me,$t),Ke+=$t.length-3}}return me}function gi(ie){var ae=ie.markedSpans;if(ae){for(var fe=0;feae)&&(!he||rr(he,De.marker)<0)&&(he=De.marker)}return he}function bs(ie,ae,fe,he,me){var De=ki(ie,ae),je=ln&&De.markedSpans;if(je)for(var Xe=0;Xe=0&&Pt<=0||$t<=0&&Pt>=0)&&($t<=0&&(Ke.marker.inclusiveRight&&me.inclusiveLeft?Ft(gt.to,fe)>=0:Ft(gt.to,fe)>0)||$t>=0&&(Ke.marker.inclusiveRight&&me.inclusiveLeft?Ft(gt.from,he)<=0:Ft(gt.from,he)<0)))return!0}}}function _o(ie){for(var ae;ae=Qi(ie);)ie=ae.find(-1,!0).line;return ie}function Ea(ie){for(var ae;ae=aa(ie);)ie=ae.find(1,!0).line;return ie}function za(ie){for(var ae,fe;ae=aa(ie);)ie=ae.find(1,!0).line,(fe||(fe=[])).push(ie);return fe}function kr(ie,ae){var fe=ki(ie,ae),he=_o(fe);return fe==he?ae:Et(he)}function Rr(ie,ae){if(ae>ie.lastLine())return ae;var fe=ki(ie,ae),he;if(!pi(ie,fe))return ae;for(;he=aa(fe);)fe=he.find(1,!0).line;return Et(fe)+1}function pi(ie,ae){var fe=ln&&ae.markedSpans;if(fe){for(var he=void 0,me=0;meae.maxLineLength&&(ae.maxLineLength=me,ae.maxLine=he)})}var ua=function(ie,ae,fe){this.text=ie,Ze(this,ae),this.height=fe?fe(this):1};ua.prototype.lineNo=function(){return Et(this)},On(ua);function Ta(ie,ae,fe,he){ie.text=ae,ie.stateAfter&&(ie.stateAfter=null),ie.styles&&(ie.styles=null),ie.order!=null&&(ie.order=null),gi(ie),Ze(ie,fe);var me=he?he(ie):1;me!=ie.height&&Br(ie,me)}function Ls(ie){ie.parent=null,gi(ie)}var ll={},on={};function Va(ie,ae){if(!ie||/^\s*$/.test(ie))return null;var fe=ae.addModeClass?on:ll;return fe[ie]||(fe[ie]=ie.replace(/\S+/g,"cm-$&"))}function nn(ie,ae){var fe=Tt("span",null,null,Ve?"padding-right: .1px":null),he={pre:Tt("pre",[fe],"CodeMirror-line"),content:fe,col:0,pos:0,cm:ie,trailingSpace:!1,splitSpaces:ie.getOption("lineWrapping")};ae.measure={};for(var me=0;me<=(ae.rest?ae.rest.length:0);me++){var De=me?ae.rest[me-1]:ae.line,je=void 0;he.pos=0,he.addToken=yu,Eo(ie.display.measure)&&(je=Ue(De,ie.doc.direction))&&(he.addToken=Vl(he.addToken,je)),he.map=[];var Xe=ae!=ie.display.externalMeasured&&Et(De);kl(De,he,co(ie,De,Xe)),De.styleClasses&&(De.styleClasses.bgClass&&(he.bgClass=Ai(De.styleClasses.bgClass,he.bgClass||"")),De.styleClasses.textClass&&(he.textClass=Ai(De.styleClasses.textClass,he.textClass||""))),he.map.length==0&&he.map.push(0,0,he.content.appendChild(Oo(ie.display.measure))),me==0?(ae.measure.map=he.map,ae.measure.cache={}):((ae.measure.maps||(ae.measure.maps=[])).push(he.map),(ae.measure.caches||(ae.measure.caches=[])).push({}))}if(Ve){var Ke=he.content.lastChild;(/\bcm-tab\b/.test(Ke.className)||Ke.querySelector&&Ke.querySelector(".cm-tab"))&&(he.content.className="cm-tab-wrap-hack")}return an(ie,"renderLine",ie,ae.line,he.pre),he.pre.className&&(he.textClass=Ai(he.pre.className,he.textClass||"")),he}function Ss(ie){var ae=ut("span","\u2022","cm-invalidchar");return ae.title="\\u"+ie.charCodeAt(0).toString(16),ae.setAttribute("aria-label",ae.title),ae}function yu(ie,ae,fe,he,me,De,je){if(ae){var Xe=ie.splitSpaces?fl(ae,ie.trailingSpace):ae,Ke=ie.cm.state.specialChars,gt=!1,$t;if(!Ke.test(ae))ie.col+=ae.length,$t=document.createTextNode(Xe),ie.map.push(ie.pos,ie.pos+ae.length,$t),Dt&&Wt<9&&(gt=!0),ie.pos+=ae.length;else{$t=document.createDocumentFragment();for(var Pt=0;;){Ke.lastIndex=Pt;var Hn=Ke.exec(ae),In=Hn?Hn.index-Pt:ae.length-Pt;if(In){var Ui=document.createTextNode(Xe.slice(Pt,Pt+In));Dt&&Wt<9?$t.appendChild(ut("span",[Ui])):$t.appendChild(Ui),ie.map.push(ie.pos,ie.pos+In,Ui),ie.col+=In,ie.pos+=In}if(!Hn)break;Pt+=In+1;var Xi=void 0;if(Hn[0]==" "){var Ot=ie.cm.options.tabSize,ri=Ot-ie.col%Ot;Xi=$t.appendChild(ut("span",Mi(ri),"cm-tab")),Xi.setAttribute("role","presentation"),Xi.setAttribute("cm-text"," "),ie.col+=ri}else Hn[0]=="\r"||Hn[0]==` -`?(Xi=$t.appendChild(ut("span",Hn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Xi.setAttribute("cm-text",Hn[0]),ie.col+=1):(Xi=ie.cm.options.specialCharPlaceholder(Hn[0]),Xi.setAttribute("cm-text",Hn[0]),Dt&&Wt<9?$t.appendChild(ut("span",[Xi])):$t.appendChild(Xi),ie.col+=1);ie.map.push(ie.pos,ie.pos+1,Xi),ie.pos++}}if(ie.trailingSpace=Xe.charCodeAt(ae.length-1)==32,fe||he||me||gt||De||je){var Ji=fe||"";he&&(Ji+=he),me&&(Ji+=me);var or=ut("span",[$t],Ji,De);if(je)for(var vr in je)je.hasOwnProperty(vr)&&vr!="style"&&vr!="class"&&or.setAttribute(vr,je[vr]);return ie.content.appendChild(or)}ie.content.appendChild($t)}}function fl(ie,ae){if(ie.length>1&&!/ /.test(ie))return ie;for(var fe=ae,he="",me=0;megt&&Pt.from<=gt));Hn++);if(Pt.to>=$t)return ie(fe,he,me,De,je,Xe,Ke);ie(fe,he.slice(0,Pt.to-gt),me,De,null,Xe,Ke),De=null,he=he.slice(Pt.to-gt),gt=Pt.to}}}function is(ie,ae,fe,he){var me=!he&&fe.widgetNode;me&&ie.map.push(ie.pos,ie.pos+ae,me),!he&&ie.cm.display.input.needsContentAttribute&&(me||(me=ie.content.appendChild(document.createElement("span"))),me.setAttribute("cm-marker",fe.id)),me&&(ie.cm.display.input.setUneditable(me),ie.content.appendChild(me)),ie.pos+=ae,ie.trailingSpace=!1}function kl(ie,ae,fe){var he=ie.markedSpans,me=ie.text,De=0;if(!he){for(var je=1;jeKe||ta.collapsed&&Er.to==Ke&&Er.from==Ke)){if(Er.to!=null&&Er.to!=Ke&&In>Er.to&&(In=Er.to,Xi=""),ta.className&&(Ui+=" "+ta.className),ta.css&&(Hn=(Hn?Hn+";":"")+ta.css),ta.startStyle&&Er.from==Ke&&(Ot+=" "+ta.startStyle),ta.endStyle&&Er.to==In&&(vr||(vr=[])).push(ta.endStyle,Er.to),ta.title&&((Ji||(Ji={})).title=ta.title),ta.attributes)for(var ws in ta.attributes)(Ji||(Ji={}))[ws]=ta.attributes[ws];ta.collapsed&&(!ri||rr(ri.marker,ta)<0)&&(ri=Er)}else Er.from>Ke&&In>Er.from&&(In=Er.from)}if(vr)for(var Ml=0;Ml=Xe)break;for(var wl=Math.min(Xe,In);;){if($t){var Hs=Ke+$t.length;if(!ri){var $s=Hs>wl?$t.slice(0,wl-Ke):$t;ae.addToken(ae,$s,Pt?Pt+Ui:Ui,Ot,Ke+$s.length==In?Xi:"",Hn,Ji)}if(Hs>=wl){$t=$t.slice(wl-Ke),Ke=wl;break}Ke=Hs,Ot=""}$t=me.slice(De,De=fe[gt++]),Pt=Va(fe[gt++],ae.cm.options)}}}function Nl(ie,ae,fe){this.line=ae,this.rest=za(ae),this.size=this.rest?Et(mt(this.rest))-fe+1:1,this.node=this.text=null,this.hidden=pi(ie,ae)}function ga(ie,ae,fe){for(var he=[],me,De=ae;De2&&De.push((Ke.bottom+gt.top)/2-fe.top)}}De.push(fe.bottom-fe.top)}}function Jd(ie,ae,fe){if(ie.line==ae)return{map:ie.measure.map,cache:ie.measure.cache};for(var he=0;hefe)return{map:ie.measure.maps[me],cache:ie.measure.caches[me],before:!0}}function Qh(ie,ae){ae=_o(ae);var fe=Et(ae),he=ie.display.externalMeasured=new Nl(ie.doc,ae,fe);he.lineN=fe;var me=he.built=nn(ie,he);return he.text=me.pre,yt(ie.display.lineMeasure,me.pre),he}function Th(ie,ae,fe,he){return rc(ie,Ol(ie,ae),fe,he)}function Id(ie,ae){if(ae>=ie.display.viewFrom&&ae=fe.lineN&&aeae)&&(De=Ke-Xe,me=De-1,ae>=Ke&&(je="right")),me!=null){if(he=ie[gt+2],Xe==Ke&&fe==(he.insertLeft?"left":"right")&&(je=fe),fe=="left"&&me==0)for(;gt&&ie[gt-2]==ie[gt-3]&&ie[gt-1].insertLeft;)he=ie[(gt-=3)+2],je="left";if(fe=="right"&&me==Ke-Xe)for(;gt=0&&(fe=ie[me]).left==fe.right;me--);return fe}function Zl(ie,ae,fe,he){var me=Dc(ae.map,fe,he),De=me.node,je=me.start,Xe=me.end,Ke=me.collapse,gt;if(De.nodeType==3){for(var $t=0;$t<4;$t++){for(;je&&$e(ae.line.text.charAt(me.coverStart+je));)--je;for(;me.coverStart+Xe0&&(Ke=he="right");var Pt;ie.options.lineWrapping&&(Pt=De.getClientRects()).length>1?gt=Pt[he=="right"?Pt.length-1:0]:gt=De.getBoundingClientRect()}if(Dt&&Wt<9&&!je&&(!gt||!gt.left&&!gt.right)){var Hn=De.parentNode.getClientRects()[0];Hn?gt={left:Hn.left,right:Hn.left+Au(ie.display),top:Hn.top,bottom:Hn.bottom}:gt=Il}for(var In=gt.top-ae.rect.top,Ui=gt.bottom-ae.rect.top,Xi=(In+Ui)/2,Ot=ae.view.measure.heights,ri=0;ri=he.text.length?(Ke=he.text.length,gt="before"):Ke<=0&&(Ke=0,gt="after"),!Xe)return je(gt=="before"?Ke-1:Ke,gt=="before");function $t(Ui,Xi,Ot){var ri=Xe[Xi],Ji=ri.level==1;return je(Ot?Ui-1:Ui,Ji!=Ot)}var Pt=Ee(Xe,Ke,gt),Hn=Ce,In=$t(Ke,Pt,gt=="before");return Hn!=null&&(In.other=$t(Ke,Hn,gt!="before")),In}function $h(ie,ae){var fe=0;ae=Ti(ie.doc,ae),ie.options.lineWrapping||(fe=Au(ie.display)*ae.ch);var he=ki(ie.doc,ae.line),me=Ba(he)+hu(ie.display);return{left:fe,right:fe,top:me,bottom:me+he.height}}function qd(ie,ae,fe,he,me){var De=Lt(ie,ae,fe);return De.xRel=me,he&&(De.outside=he),De}function Rd(ie,ae,fe){var he=ie.doc;if(fe+=ie.display.viewOffset,fe<0)return qd(he.first,0,null,-1,-1);var me=Di(he,fe),De=he.first+he.size-1;if(me>De)return qd(he.first+he.size-1,ki(he,De).text.length,null,1,1);ae<0&&(ae=0);for(var je=ki(he,me);;){var Xe=li(ie,je,me,ae,fe),Ke=ys(je,Xe.ch+(Xe.xRel>0||Xe.outside>0?1:0));if(!Ke)return Xe;var gt=Ke.find(1);if(gt.line==me)return gt;je=ki(he,me=gt.line)}}function qr(ie,ae,fe,he){he-=ul(ae);var me=ae.text.length,De=Yt(function(je){return rc(ie,fe,je-1).bottom<=he},me,0);return me=Yt(function(je){return rc(ie,fe,je).top>he},De,me),{begin:De,end:me}}function Ih(ie,ae,fe,he){fe||(fe=Ol(ie,ae));var me=ou(ie,ae,rc(ie,fe,he),"line").top;return qr(ie,ae,fe,me)}function Bt(ie,ae,fe,he){return ie.bottom<=fe?!1:ie.top>fe?!0:(he?ie.left:ie.right)>ae}function li(ie,ae,fe,he,me){me-=Ba(ae);var De=Ol(ie,ae),je=ul(ae),Xe=0,Ke=ae.text.length,gt=!0,$t=Ue(ae,ie.doc.direction);if($t){var Pt=(ie.options.lineWrapping?Rh:ef)(ie,ae,fe,De,$t,he,me);gt=Pt.level!=1,Xe=gt?Pt.from:Pt.to-1,Ke=gt?Pt.to:Pt.from-1}var Hn=null,In=null,Ui=Yt(function(jr){var Er=rc(ie,De,jr);return Er.top+=je,Er.bottom+=je,Bt(Er,he,me,!1)?(Er.top<=me&&Er.left<=he&&(Hn=jr,In=Er),!0):!1},Xe,Ke),Xi,Ot,ri=!1;if(In){var Ji=he-In.left=vr.bottom?1:0}return Ui=At(ae.text,Ui,1),qd(fe,Ui,Ot,ri,he-Xi)}function ef(ie,ae,fe,he,me,De,je){var Xe=Yt(function(Pt){var Hn=me[Pt],In=Hn.level!=1;return Bt(pl(ie,Lt(fe,In?Hn.to:Hn.from,In?"before":"after"),"line",ae,he),De,je,!0)},0,me.length-1),Ke=me[Xe];if(Xe>0){var gt=Ke.level!=1,$t=pl(ie,Lt(fe,gt?Ke.from:Ke.to,gt?"after":"before"),"line",ae,he);Bt($t,De,je,!0)&&$t.top>je&&(Ke=me[Xe-1])}return Ke}function Rh(ie,ae,fe,he,me,De,je){var Xe=qr(ie,ae,he,je),Ke=Xe.begin,gt=Xe.end;/\s/.test(ae.text.charAt(gt-1))&>--;for(var $t=null,Pt=null,Hn=0;Hn=gt||In.to<=Ke)){var Ui=In.level!=1,Xi=rc(ie,he,Ui?Math.min(gt,In.to)-1:Math.max(Ke,In.from)).right,Ot=XiOt)&&($t=In,Pt=Ot)}}return $t||($t=me[me.length-1]),$t.fromgt&&($t={from:$t.from,to:gt,level:$t.level}),$t}var cd;function hc(ie){if(ie.cachedTextHeight!=null)return ie.cachedTextHeight;if(cd==null){cd=ut("pre",null,"CodeMirror-line-like");for(var ae=0;ae<49;++ae)cd.appendChild(document.createTextNode("x")),cd.appendChild(ut("br"));cd.appendChild(document.createTextNode("x"))}yt(ie.measure,cd);var fe=cd.offsetHeight/50;return fe>3&&(ie.cachedTextHeight=fe),dt(ie.measure),fe||1}function Au(ie){if(ie.cachedCharWidth!=null)return ie.cachedCharWidth;var ae=ut("span","xxxxxxxxxx"),fe=ut("pre",[ae],"CodeMirror-line-like");yt(ie.measure,fe);var he=ae.getBoundingClientRect(),me=(he.right-he.left)/10;return me>2&&(ie.cachedCharWidth=me),me||10}function Gc(ie){for(var ae=ie.display,fe={},he={},me=ae.gutters.clientLeft,De=ae.gutters.firstChild,je=0;De;De=De.nextSibling,++je){var Xe=ie.display.gutterSpecs[je].className;fe[Xe]=De.offsetLeft+De.clientLeft+me,he[Xe]=De.clientWidth}return{fixedPos:tf(ae),gutterTotalWidth:ae.gutters.offsetWidth,gutterLeft:fe,gutterWidth:he,wrapperWidth:ae.wrapper.clientWidth}}function tf(ie){return ie.scroller.getBoundingClientRect().left-ie.sizer.getBoundingClientRect().left}function el(ie){var ae=hc(ie.display),fe=ie.options.lineWrapping,he=fe&&Math.max(5,ie.display.scroller.clientWidth/Au(ie.display)-3);return function(me){if(pi(ie.doc,me))return 0;var De=0;if(me.widgets)for(var je=0;je0&&(gt=ki(ie.doc,Ke.line).text).length==Ke.ch){var $t=et(gt,gt.length,ie.options.tabSize)-gt.length;Ke=Lt(Ke.line,Math.max(0,Math.round((De-Ms(ie.display).left)/Au(ie.display))-$t))}return Ke}function Xu(ie,ae){if(ae>=ie.display.viewTo||(ae-=ie.display.viewFrom,ae<0))return null;for(var fe=ie.display.view,he=0;heae)&&(me.updateLineNumbers=ae),ie.curOp.viewChanged=!0,ae>=me.viewTo)ln&&kr(ie.doc,ae)me.viewFrom?ml(ie):(me.viewFrom+=he,me.viewTo+=he);else if(ae<=me.viewFrom&&fe>=me.viewTo)ml(ie);else if(ae<=me.viewFrom){var De=We(ie,fe,fe+he,1);De?(me.view=me.view.slice(De.index),me.viewFrom=De.lineN,me.viewTo+=he):ml(ie)}else if(fe>=me.viewTo){var je=We(ie,ae,ae,-1);je?(me.view=me.view.slice(0,je.index),me.viewTo=je.lineN):ml(ie)}else{var Xe=We(ie,ae,ae,-1),Ke=We(ie,fe,fe+he,1);Xe&&Ke?(me.view=me.view.slice(0,Xe.index).concat(ga(ie,Xe.lineN,Ke.lineN)).concat(me.view.slice(Ke.index)),me.viewTo+=he):ml(ie)}var gt=me.externalMeasured;gt&&(fe=me.lineN&&ae=he.viewTo)){var De=he.view[Xu(ie,ae)];if(De.node!=null){var je=De.changes||(De.changes=[]);yn(je,fe)==-1&&je.push(fe)}}}function ml(ie){ie.display.viewFrom=ie.display.viewTo=ie.doc.first,ie.display.view=[],ie.display.viewOffset=0}function We(ie,ae,fe,he){var me=Xu(ie,ae),De,je=ie.display.view;if(!ln||fe==ie.doc.first+ie.doc.size)return{index:me,lineN:fe};for(var Xe=ie.display.viewFrom,Ke=0;Ke0){if(me==je.length-1)return null;De=Xe+je[me].size-ae,me++}else De=Xe-ae;ae+=De,fe+=De}for(;kr(ie.doc,fe)!=fe;){if(me==(he<0?0:je.length-1))return null;fe+=he*je[me-(he<0?1:0)].size,me+=he}return{index:me,lineN:fe}}function He(ie,ae,fe){var he=ie.display,me=he.view;me.length==0||ae>=he.viewTo||fe<=he.viewFrom?(he.view=ga(ie,ae,fe),he.viewFrom=ae):(he.viewFrom>ae?he.view=ga(ie,ae,he.viewFrom).concat(he.view):he.viewFromfe&&(he.view=he.view.slice(0,Xu(ie,fe)))),he.viewTo=fe}function qe(ie){for(var ae=ie.display.view,fe=0,he=0;he=ie.display.viewTo||Xe.to().line1}var Vi={},Wi={};function mi(ie,ae){arguments.length>2&&(ae.dependencies=Array.prototype.slice.call(arguments,2)),Vi[ie]=ae}function Qn(ie,ae){Wi[ie]=ae}function nr(ie){if(typeof ie=="string"&&Wi.hasOwnProperty(ie))ie=Wi[ie];else if(ie&&typeof ie.name=="string"&&Wi.hasOwnProperty(ie.name)){var ae=Wi[ie.name];typeof ae=="string"&&(ae={name:ae}),ie=En(ae,ie),ie.name=ae.name}else{if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(ie))return nr("application/xml");if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(ie))return nr("application/json")}return typeof ie=="string"?{name:ie}:ie||{name:"null"}}function nn(ie,ae){ae=nr(ae);var fe=Vi[ae.name];if(!fe)return nn(ie,"text/plain");var he=fe(ie,ae);if(_t.hasOwnProperty(ae.name)){var me=_t[ae.name];for(var De in me)me.hasOwnProperty(De)&&(he.hasOwnProperty(De)&&(he["_"+De]=he[De]),he[De]=me[De])}if(he.name=ae.name,ae.helperType&&(he.helperType=ae.helperType),ae.modeProps)for(var je in ae.modeProps)he[je]=ae.modeProps[je];return he}var _t={};function Rt(ie,ae){var fe=_t.hasOwnProperty(ie)?_t[ie]:_t[ie]={};ci(ae,fe)}function Li(ie,ae){if(ae===!0)return ae;if(ie.copyState)return ie.copyState(ae);var fe={};for(var he in ae){var me=ae[he];me instanceof Array&&(me=me.concat([])),fe[he]=me}return fe}function yr(ie,ae){for(var fe;ie.innerMode&&(fe=ie.innerMode(ae),!(!fe||fe.mode==ie));)ae=fe.state,ie=fe.mode;return fe||{mode:ie,state:ae}}function Oi(ie,ae,fe){return ie.startState?ie.startState(ae,fe):!0}var Zn=function(ie,ae,fe){this.pos=this.start=0,this.string=ie,this.tabSize=ae||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=fe};Zn.prototype.eol=function(){return this.pos>=this.string.length},Zn.prototype.sol=function(){return this.pos==this.lineStart},Zn.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Zn.prototype.next=function(){if(this.posae},Zn.prototype.eatSpace=function(){for(var ie=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>ie},Zn.prototype.skipToEnd=function(){this.pos=this.string.length},Zn.prototype.skipTo=function(ie){var ae=this.string.indexOf(ie,this.pos);if(ae>-1)return this.pos=ae,!0},Zn.prototype.backUp=function(ie){this.pos-=ie},Zn.prototype.column=function(){return this.lastColumnPos0?null:(De&&ae!==!1&&(this.pos+=De[0].length),De)}},Zn.prototype.current=function(){return this.string.slice(this.start,this.pos)},Zn.prototype.hideFirstChars=function(ie,ae){this.lineStart+=ie;try{return ae()}finally{this.lineStart-=ie}},Zn.prototype.lookAhead=function(ie){var ae=this.lineOracle;return ae&&ae.lookAhead(ie)},Zn.prototype.baseToken=function(){var ie=this.lineOracle;return ie&&ie.baseToken(this.pos)};function ki(ie,ae){if(ae-=ie.first,ae<0||ae>=ie.size)throw new Error("There is no line "+(ae+ie.first)+" in the document.");for(var fe=ie;!fe.lines;)for(var he=0;;++he){var me=fe.children[he],De=me.chunkSize();if(ae=ie.first&&aefe?Lt(fe,ki(ie,fe).text.length):Jr(ae,ki(ie,ae.line).text.length)}function Jr(ie,ae){var fe=ie.ch;return fe==null||fe>ae?Lt(ie.line,ae):fe<0?Lt(ie.line,0):ie}function Qr(ie,ae){for(var fe=[],he=0;hethis.maxLookAhead&&(this.maxLookAhead=ie),ae},Nn.prototype.baseToken=function(ie){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=ie;)this.baseTokenPos+=2;var ae=this.baseTokens[this.baseTokenPos+1];return{type:ae&&ae.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-ie}},Nn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Nn.fromSaved=function(ie,ae,fe){return ae instanceof Lo?new Nn(ie,Li(ie.mode,ae.state),fe,ae.lookAhead):new Nn(ie,Li(ie.mode,ae),fe)},Nn.prototype.save=function(ie){var ae=ie!==!1?Li(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Lo(ae,this.maxLookAhead):ae};function ja(ie,ae,fe,he){var me=[ie.state.modeGen],De={};lr(ie,ae.text,ie.doc.mode,fe,function(gt,en){return me.push(gt,en)},De,he);for(var je=fe.state,Xe=function(gt){fe.baseTokens=me;var en=ie.state.overlays[gt],Pt=1,Hn=0;fe.state=!0,lr(ie,ae.text,en.mode,fe,function(In,Ui){for(var Qi=Pt;HnIn&&me.splice(Pt,1,In,me[Pt+1],Tt),Pt+=2,Hn=Math.min(In,Tt)}if(Ui)if(en.opaque)me.splice(Qi,Pt-Qi,In,"overlay "+Ui),Pt=Qi+2;else for(;Qiie.options.maxHighlightLength&&Li(ie.doc.mode,he.state),De=ja(ie,ae,he);me&&(he.state=me),ae.stateAfter=he.save(!me),ae.styles=De.styles,De.classes?ae.styleClasses=De.classes:ae.styleClasses&&(ae.styleClasses=null),fe===ie.doc.highlightFrontier&&(ie.doc.modeFrontier=Math.max(ie.doc.modeFrontier,++ie.doc.highlightFrontier))}return ae.styles}function Kr(ie,ae,fe){var he=ie.doc,me=ie.display;if(!he.mode.startState)return new Nn(he,!0,ae);var De=ui(ie,ae,fe),je=De>he.first&&ki(he,De-1).stateAfter,Xe=je?Nn.fromSaved(he,je,De):new Nn(he,Oi(he.mode),De);return he.iter(De,ae,function(Ke){sn(ie,Ke.text,Xe);var gt=Xe.line;Ke.stateAfter=gt==ae-1||gt%5==0||gt>=me.viewFrom&>ae.start)return De}throw new Error("Mode "+ie.name+" failed to advance stream.")}var Xt=function(ie,ae,fe){this.start=ie.start,this.end=ie.pos,this.string=ie.current(),this.type=ae||null,this.state=fe};function Vn(ie,ae,fe,he){var me=ie.doc,De=me.mode,je;ae=Ti(me,ae);var Xe=ki(me,ae.line),Ke=Kr(ie,ae.line,fe),gt=new Zn(Xe.text,ie.options.tabSize,Ke),en;for(he&&(en=[]);(he||gt.posie.options.maxHighlightLength?(Xe=!1,je&&sn(ie,ae,he,en.pos),en.pos=ae.length,Pt=null):Pt=er(hn(fe,en,he.state,Hn),De),Hn){var In=Hn[0].name;In&&(Pt="m-"+(Pt?In+" "+Pt:In))}if(!Xe||gt!=Pt){for(;Keje;--Xe){if(Xe<=De.first)return De.first;var Ke=ki(De,Xe-1),gt=Ke.stateAfter;if(gt&&(!fe||Xe+(gt instanceof Lo?gt.lookAhead:0)<=De.modeFrontier))return Xe;var en=et(Ke.text,null,ie.options.tabSize);(me==null||he>en)&&(me=Xe-1,he=en)}return me}function Ci(ie,ae){if(ie.modeFrontier=Math.min(ie.modeFrontier,ae),!(ie.highlightFrontierfe;he--){var me=ki(ie,he).stateAfter;if(me&&(!(me instanceof Lo)||he+me.lookAhead=ae:De.to>ae);(he||(he=[])).push(new Ir(je,De.from,Ke?null:De.to))}}return he}function Zi(ie,ae,fe){var he;if(ie)for(var me=0;me=ae:De.to>ae);if(Xe||De.from==ae&&je.type=="bookmark"&&(!fe||De.marker.insertLeft)){var Ke=De.from==null||(je.inclusiveLeft?De.from<=ae:De.from0&&Xe)for(var vr=0;vr0)){var en=[Ke,1],Pt=Ft(gt.from,Xe.from),Hn=Ft(gt.to,Xe.to);(Pt<0||!je.inclusiveLeft&&!Pt)&&en.push({from:gt.from,to:Xe.from}),(Hn>0||!je.inclusiveRight&&!Hn)&&en.push({from:Xe.to,to:gt.to}),me.splice.apply(me,en),Ke+=en.length-3}}return me}function gi(ie){var ae=ie.markedSpans;if(ae){for(var fe=0;feae)&&(!he||rr(he,De.marker)<0)&&(he=De.marker)}return he}function bs(ie,ae,fe,he,me){var De=ki(ie,ae),je=ln&&De.markedSpans;if(je)for(var Xe=0;Xe=0&&Pt<=0||en<=0&&Pt>=0)&&(en<=0&&(Ke.marker.inclusiveRight&&me.inclusiveLeft?Ft(gt.to,fe)>=0:Ft(gt.to,fe)>0)||en>=0&&(Ke.marker.inclusiveRight&&me.inclusiveLeft?Ft(gt.from,he)<=0:Ft(gt.from,he)<0)))return!0}}}function _o(ie){for(var ae;ae=Xi(ie);)ie=ae.find(-1,!0).line;return ie}function Ea(ie){for(var ae;ae=aa(ie);)ie=ae.find(1,!0).line;return ie}function za(ie){for(var ae,fe;ae=aa(ie);)ie=ae.find(1,!0).line,(fe||(fe=[])).push(ie);return fe}function kr(ie,ae){var fe=ki(ie,ae),he=_o(fe);return fe==he?ae:Et(he)}function Rr(ie,ae){if(ae>ie.lastLine())return ae;var fe=ki(ie,ae),he;if(!pi(ie,fe))return ae;for(;he=aa(fe);)fe=he.find(1,!0).line;return Et(fe)+1}function pi(ie,ae){var fe=ln&&ae.markedSpans;if(fe){for(var he=void 0,me=0;meae.maxLineLength&&(ae.maxLineLength=me,ae.maxLine=he)})}var ua=function(ie,ae,fe){this.text=ie,Ze(this,ae),this.height=fe?fe(this):1};ua.prototype.lineNo=function(){return Et(this)},On(ua);function Ta(ie,ae,fe,he){ie.text=ae,ie.stateAfter&&(ie.stateAfter=null),ie.styles&&(ie.styles=null),ie.order!=null&&(ie.order=null),gi(ie),Ze(ie,fe);var me=he?he(ie):1;me!=ie.height&&Br(ie,me)}function Ls(ie){ie.parent=null,gi(ie)}var ll={},Qt={};function Va(ie,ae){if(!ie||/^\s*$/.test(ie))return null;var fe=ae.addModeClass?Qt:ll;return fe[ie]||(fe[ie]=ie.replace(/\S+/g,"cm-$&"))}function rn(ie,ae){var fe=Ot("span",null,null,Ve?"padding-right: .1px":null),he={pre:Ot("pre",[fe],"CodeMirror-line"),content:fe,col:0,pos:0,cm:ie,trailingSpace:!1,splitSpaces:ie.getOption("lineWrapping")};ae.measure={};for(var me=0;me<=(ae.rest?ae.rest.length:0);me++){var De=me?ae.rest[me-1]:ae.line,je=void 0;he.pos=0,he.addToken=yu,Eo(ie.display.measure)&&(je=Ue(De,ie.doc.direction))&&(he.addToken=Vl(he.addToken,je)),he.map=[];var Xe=ae!=ie.display.externalMeasured&&Et(De);kl(De,he,co(ie,De,Xe)),De.styleClasses&&(De.styleClasses.bgClass&&(he.bgClass=Ai(De.styleClasses.bgClass,he.bgClass||"")),De.styleClasses.textClass&&(he.textClass=Ai(De.styleClasses.textClass,he.textClass||""))),he.map.length==0&&he.map.push(0,0,he.content.appendChild(Oo(ie.display.measure))),me==0?(ae.measure.map=he.map,ae.measure.cache={}):((ae.measure.maps||(ae.measure.maps=[])).push(he.map),(ae.measure.caches||(ae.measure.caches=[])).push({}))}if(Ve){var Ke=he.content.lastChild;(/\bcm-tab\b/.test(Ke.className)||Ke.querySelector&&Ke.querySelector(".cm-tab"))&&(he.content.className="cm-tab-wrap-hack")}return an(ie,"renderLine",ie,ae.line,he.pre),he.pre.className&&(he.textClass=Ai(he.pre.className,he.textClass||"")),he}function Ss(ie){var ae=ut("span","\u2022","cm-invalidchar");return ae.title="\\u"+ie.charCodeAt(0).toString(16),ae.setAttribute("aria-label",ae.title),ae}function yu(ie,ae,fe,he,me,De,je){if(ae){var Xe=ie.splitSpaces?fl(ae,ie.trailingSpace):ae,Ke=ie.cm.state.specialChars,gt=!1,en;if(!Ke.test(ae))ie.col+=ae.length,en=document.createTextNode(Xe),ie.map.push(ie.pos,ie.pos+ae.length,en),Dt&&Wt<9&&(gt=!0),ie.pos+=ae.length;else{en=document.createDocumentFragment();for(var Pt=0;;){Ke.lastIndex=Pt;var Hn=Ke.exec(ae),In=Hn?Hn.index-Pt:ae.length-Pt;if(In){var Ui=document.createTextNode(Xe.slice(Pt,Pt+In));Dt&&Wt<9?en.appendChild(ut("span",[Ui])):en.appendChild(Ui),ie.map.push(ie.pos,ie.pos+In,Ui),ie.col+=In,ie.pos+=In}if(!Hn)break;Pt+=In+1;var Qi=void 0;if(Hn[0]==" "){var Tt=ie.cm.options.tabSize,ii=Tt-ie.col%Tt;Qi=en.appendChild(ut("span",Mi(ii),"cm-tab")),Qi.setAttribute("role","presentation"),Qi.setAttribute("cm-text"," "),ie.col+=ii}else Hn[0]=="\r"||Hn[0]==` +`?(Qi=en.appendChild(ut("span",Hn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Qi.setAttribute("cm-text",Hn[0]),ie.col+=1):(Qi=ie.cm.options.specialCharPlaceholder(Hn[0]),Qi.setAttribute("cm-text",Hn[0]),Dt&&Wt<9?en.appendChild(ut("span",[Qi])):en.appendChild(Qi),ie.col+=1);ie.map.push(ie.pos,ie.pos+1,Qi),ie.pos++}}if(ie.trailingSpace=Xe.charCodeAt(ae.length-1)==32,fe||he||me||gt||De||je){var Yi=fe||"";he&&(Yi+=he),me&&(Yi+=me);var or=ut("span",[en],Yi,De);if(je)for(var vr in je)je.hasOwnProperty(vr)&&vr!="style"&&vr!="class"&&or.setAttribute(vr,je[vr]);return ie.content.appendChild(or)}ie.content.appendChild(en)}}function fl(ie,ae){if(ie.length>1&&!/ /.test(ie))return ie;for(var fe=ae,he="",me=0;megt&&Pt.from<=gt));Hn++);if(Pt.to>=en)return ie(fe,he,me,De,je,Xe,Ke);ie(fe,he.slice(0,Pt.to-gt),me,De,null,Xe,Ke),De=null,he=he.slice(Pt.to-gt),gt=Pt.to}}}function is(ie,ae,fe,he){var me=!he&&fe.widgetNode;me&&ie.map.push(ie.pos,ie.pos+ae,me),!he&&ie.cm.display.input.needsContentAttribute&&(me||(me=ie.content.appendChild(document.createElement("span"))),me.setAttribute("cm-marker",fe.id)),me&&(ie.cm.display.input.setUneditable(me),ie.content.appendChild(me)),ie.pos+=ae,ie.trailingSpace=!1}function kl(ie,ae,fe){var he=ie.markedSpans,me=ie.text,De=0;if(!he){for(var je=1;jeKe||ta.collapsed&&Er.to==Ke&&Er.from==Ke)){if(Er.to!=null&&Er.to!=Ke&&In>Er.to&&(In=Er.to,Qi=""),ta.className&&(Ui+=" "+ta.className),ta.css&&(Hn=(Hn?Hn+";":"")+ta.css),ta.startStyle&&Er.from==Ke&&(Tt+=" "+ta.startStyle),ta.endStyle&&Er.to==In&&(vr||(vr=[])).push(ta.endStyle,Er.to),ta.title&&((Yi||(Yi={})).title=ta.title),ta.attributes)for(var ws in ta.attributes)(Yi||(Yi={}))[ws]=ta.attributes[ws];ta.collapsed&&(!ii||rr(ii.marker,ta)<0)&&(ii=Er)}else Er.from>Ke&&In>Er.from&&(In=Er.from)}if(vr)for(var Ml=0;Ml=Xe)break;for(var wl=Math.min(Xe,In);;){if(en){var Hs=Ke+en.length;if(!ii){var $s=Hs>wl?en.slice(0,wl-Ke):en;ae.addToken(ae,$s,Pt?Pt+Ui:Ui,Tt,Ke+$s.length==In?Qi:"",Hn,Yi)}if(Hs>=wl){en=en.slice(wl-Ke),Ke=wl;break}Ke=Hs,Tt=""}en=me.slice(De,De=fe[gt++]),Pt=Va(fe[gt++],ae.cm.options)}}}function Nl(ie,ae,fe){this.line=ae,this.rest=za(ae),this.size=this.rest?Et(mt(this.rest))-fe+1:1,this.node=this.text=null,this.hidden=pi(ie,ae)}function ga(ie,ae,fe){for(var he=[],me,De=ae;De2&&De.push((Ke.bottom+gt.top)/2-fe.top)}}De.push(fe.bottom-fe.top)}}function Jd(ie,ae,fe){if(ie.line==ae)return{map:ie.measure.map,cache:ie.measure.cache};for(var he=0;hefe)return{map:ie.measure.maps[me],cache:ie.measure.caches[me],before:!0}}function Qh(ie,ae){ae=_o(ae);var fe=Et(ae),he=ie.display.externalMeasured=new Nl(ie.doc,ae,fe);he.lineN=fe;var me=he.built=rn(ie,he);return he.text=me.pre,yt(ie.display.lineMeasure,me.pre),he}function Th(ie,ae,fe,he){return rc(ie,Ol(ie,ae),fe,he)}function Id(ie,ae){if(ae>=ie.display.viewFrom&&ae=fe.lineN&&aeae)&&(De=Ke-Xe,me=De-1,ae>=Ke&&(je="right")),me!=null){if(he=ie[gt+2],Xe==Ke&&fe==(he.insertLeft?"left":"right")&&(je=fe),fe=="left"&&me==0)for(;gt&&ie[gt-2]==ie[gt-3]&&ie[gt-1].insertLeft;)he=ie[(gt-=3)+2],je="left";if(fe=="right"&&me==Ke-Xe)for(;gt=0&&(fe=ie[me]).left==fe.right;me--);return fe}function Zl(ie,ae,fe,he){var me=Dc(ae.map,fe,he),De=me.node,je=me.start,Xe=me.end,Ke=me.collapse,gt;if(De.nodeType==3){for(var en=0;en<4;en++){for(;je&&$e(ae.line.text.charAt(me.coverStart+je));)--je;for(;me.coverStart+Xe0&&(Ke=he="right");var Pt;ie.options.lineWrapping&&(Pt=De.getClientRects()).length>1?gt=Pt[he=="right"?Pt.length-1:0]:gt=De.getBoundingClientRect()}if(Dt&&Wt<9&&!je&&(!gt||!gt.left&&!gt.right)){var Hn=De.parentNode.getClientRects()[0];Hn?gt={left:Hn.left,right:Hn.left+Au(ie.display),top:Hn.top,bottom:Hn.bottom}:gt=Il}for(var In=gt.top-ae.rect.top,Ui=gt.bottom-ae.rect.top,Qi=(In+Ui)/2,Tt=ae.view.measure.heights,ii=0;ii=he.text.length?(Ke=he.text.length,gt="before"):Ke<=0&&(Ke=0,gt="after"),!Xe)return je(gt=="before"?Ke-1:Ke,gt=="before");function en(Ui,Qi,Tt){var ii=Xe[Qi],Yi=ii.level==1;return je(Tt?Ui-1:Ui,Yi!=Tt)}var Pt=Ee(Xe,Ke,gt),Hn=Ce,In=en(Ke,Pt,gt=="before");return Hn!=null&&(In.other=en(Ke,Hn,gt!="before")),In}function $h(ie,ae){var fe=0;ae=Ti(ie.doc,ae),ie.options.lineWrapping||(fe=Au(ie.display)*ae.ch);var he=ki(ie.doc,ae.line),me=Ba(he)+hu(ie.display);return{left:fe,right:fe,top:me,bottom:me+he.height}}function qd(ie,ae,fe,he,me){var De=Lt(ie,ae,fe);return De.xRel=me,he&&(De.outside=he),De}function Rd(ie,ae,fe){var he=ie.doc;if(fe+=ie.display.viewOffset,fe<0)return qd(he.first,0,null,-1,-1);var me=Di(he,fe),De=he.first+he.size-1;if(me>De)return qd(he.first+he.size-1,ki(he,De).text.length,null,1,1);ae<0&&(ae=0);for(var je=ki(he,me);;){var Xe=li(ie,je,me,ae,fe),Ke=ys(je,Xe.ch+(Xe.xRel>0||Xe.outside>0?1:0));if(!Ke)return Xe;var gt=Ke.find(1);if(gt.line==me)return gt;je=ki(he,me=gt.line)}}function qr(ie,ae,fe,he){he-=ul(ae);var me=ae.text.length,De=Yt(function(je){return rc(ie,fe,je-1).bottom<=he},me,0);return me=Yt(function(je){return rc(ie,fe,je).top>he},De,me),{begin:De,end:me}}function Ih(ie,ae,fe,he){fe||(fe=Ol(ie,ae));var me=ou(ie,ae,rc(ie,fe,he),"line").top;return qr(ie,ae,fe,me)}function Bt(ie,ae,fe,he){return ie.bottom<=fe?!1:ie.top>fe?!0:(he?ie.left:ie.right)>ae}function li(ie,ae,fe,he,me){me-=Ba(ae);var De=Ol(ie,ae),je=ul(ae),Xe=0,Ke=ae.text.length,gt=!0,en=Ue(ae,ie.doc.direction);if(en){var Pt=(ie.options.lineWrapping?Rh:ef)(ie,ae,fe,De,en,he,me);gt=Pt.level!=1,Xe=gt?Pt.from:Pt.to-1,Ke=gt?Pt.to:Pt.from-1}var Hn=null,In=null,Ui=Yt(function(jr){var Er=rc(ie,De,jr);return Er.top+=je,Er.bottom+=je,Bt(Er,he,me,!1)?(Er.top<=me&&Er.left<=he&&(Hn=jr,In=Er),!0):!1},Xe,Ke),Qi,Tt,ii=!1;if(In){var Yi=he-In.left=vr.bottom?1:0}return Ui=At(ae.text,Ui,1),qd(fe,Ui,Tt,ii,he-Qi)}function ef(ie,ae,fe,he,me,De,je){var Xe=Yt(function(Pt){var Hn=me[Pt],In=Hn.level!=1;return Bt(pl(ie,Lt(fe,In?Hn.to:Hn.from,In?"before":"after"),"line",ae,he),De,je,!0)},0,me.length-1),Ke=me[Xe];if(Xe>0){var gt=Ke.level!=1,en=pl(ie,Lt(fe,gt?Ke.from:Ke.to,gt?"after":"before"),"line",ae,he);Bt(en,De,je,!0)&&en.top>je&&(Ke=me[Xe-1])}return Ke}function Rh(ie,ae,fe,he,me,De,je){var Xe=qr(ie,ae,he,je),Ke=Xe.begin,gt=Xe.end;/\s/.test(ae.text.charAt(gt-1))&>--;for(var en=null,Pt=null,Hn=0;Hn=gt||In.to<=Ke)){var Ui=In.level!=1,Qi=rc(ie,he,Ui?Math.min(gt,In.to)-1:Math.max(Ke,In.from)).right,Tt=QiTt)&&(en=In,Pt=Tt)}}return en||(en=me[me.length-1]),en.fromgt&&(en={from:en.from,to:gt,level:en.level}),en}var cd;function hc(ie){if(ie.cachedTextHeight!=null)return ie.cachedTextHeight;if(cd==null){cd=ut("pre",null,"CodeMirror-line-like");for(var ae=0;ae<49;++ae)cd.appendChild(document.createTextNode("x")),cd.appendChild(ut("br"));cd.appendChild(document.createTextNode("x"))}yt(ie.measure,cd);var fe=cd.offsetHeight/50;return fe>3&&(ie.cachedTextHeight=fe),dt(ie.measure),fe||1}function Au(ie){if(ie.cachedCharWidth!=null)return ie.cachedCharWidth;var ae=ut("span","xxxxxxxxxx"),fe=ut("pre",[ae],"CodeMirror-line-like");yt(ie.measure,fe);var he=ae.getBoundingClientRect(),me=(he.right-he.left)/10;return me>2&&(ie.cachedCharWidth=me),me||10}function Gc(ie){for(var ae=ie.display,fe={},he={},me=ae.gutters.clientLeft,De=ae.gutters.firstChild,je=0;De;De=De.nextSibling,++je){var Xe=ie.display.gutterSpecs[je].className;fe[Xe]=De.offsetLeft+De.clientLeft+me,he[Xe]=De.clientWidth}return{fixedPos:tf(ae),gutterTotalWidth:ae.gutters.offsetWidth,gutterLeft:fe,gutterWidth:he,wrapperWidth:ae.wrapper.clientWidth}}function tf(ie){return ie.scroller.getBoundingClientRect().left-ie.sizer.getBoundingClientRect().left}function el(ie){var ae=hc(ie.display),fe=ie.options.lineWrapping,he=fe&&Math.max(5,ie.display.scroller.clientWidth/Au(ie.display)-3);return function(me){if(pi(ie.doc,me))return 0;var De=0;if(me.widgets)for(var je=0;je0&&(gt=ki(ie.doc,Ke.line).text).length==Ke.ch){var en=et(gt,gt.length,ie.options.tabSize)-gt.length;Ke=Lt(Ke.line,Math.max(0,Math.round((De-Ms(ie.display).left)/Au(ie.display))-en))}return Ke}function Xu(ie,ae){if(ae>=ie.display.viewTo||(ae-=ie.display.viewFrom,ae<0))return null;for(var fe=ie.display.view,he=0;heae)&&(me.updateLineNumbers=ae),ie.curOp.viewChanged=!0,ae>=me.viewTo)ln&&kr(ie.doc,ae)me.viewFrom?ml(ie):(me.viewFrom+=he,me.viewTo+=he);else if(ae<=me.viewFrom&&fe>=me.viewTo)ml(ie);else if(ae<=me.viewFrom){var De=We(ie,fe,fe+he,1);De?(me.view=me.view.slice(De.index),me.viewFrom=De.lineN,me.viewTo+=he):ml(ie)}else if(fe>=me.viewTo){var je=We(ie,ae,ae,-1);je?(me.view=me.view.slice(0,je.index),me.viewTo=je.lineN):ml(ie)}else{var Xe=We(ie,ae,ae,-1),Ke=We(ie,fe,fe+he,1);Xe&&Ke?(me.view=me.view.slice(0,Xe.index).concat(ga(ie,Xe.lineN,Ke.lineN)).concat(me.view.slice(Ke.index)),me.viewTo+=he):ml(ie)}var gt=me.externalMeasured;gt&&(fe=me.lineN&&ae=he.viewTo)){var De=he.view[Xu(ie,ae)];if(De.node!=null){var je=De.changes||(De.changes=[]);yn(je,fe)==-1&&je.push(fe)}}}function ml(ie){ie.display.viewFrom=ie.display.viewTo=ie.doc.first,ie.display.view=[],ie.display.viewOffset=0}function We(ie,ae,fe,he){var me=Xu(ie,ae),De,je=ie.display.view;if(!ln||fe==ie.doc.first+ie.doc.size)return{index:me,lineN:fe};for(var Xe=ie.display.viewFrom,Ke=0;Ke0){if(me==je.length-1)return null;De=Xe+je[me].size-ae,me++}else De=Xe-ae;ae+=De,fe+=De}for(;kr(ie.doc,fe)!=fe;){if(me==(he<0?0:je.length-1))return null;fe+=he*je[me-(he<0?1:0)].size,me+=he}return{index:me,lineN:fe}}function He(ie,ae,fe){var he=ie.display,me=he.view;me.length==0||ae>=he.viewTo||fe<=he.viewFrom?(he.view=ga(ie,ae,fe),he.viewFrom=ae):(he.viewFrom>ae?he.view=ga(ie,ae,he.viewFrom).concat(he.view):he.viewFromfe&&(he.view=he.view.slice(0,Xu(ie,fe)))),he.viewTo=fe}function qe(ie){for(var ae=ie.display.view,fe=0,he=0;he=ie.display.viewTo||Xe.to().line0?ae.blinker=setInterval(function(){ie.hasFocus()||Gi(ie),ae.cursorDiv.style.visibility=(fe=!fe)?"":"hidden"},ie.options.cursorBlinkRate):ie.options.cursorBlinkRate<0&&(ae.cursorDiv.style.visibility="hidden")}}function xi(ie){ie.state.focused||(ie.display.input.focus(),vi(ie))}function $i(ie){ie.state.delayingBlurEvent=!0,setTimeout(function(){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1,Gi(ie))},100)}function vi(ie,ae){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1),ie.options.readOnly!="nocursor"&&(ie.state.focused||(an(ie,"focus",ie,ae),ie.state.focused=!0,vn(ie.display.wrapper,"CodeMirror-focused"),!ie.curOp&&ie.display.selForContextMenu!=ie.doc.sel&&(ie.display.input.reset(),Ve&&setTimeout(function(){return ie.display.input.reset(!0)},20)),ie.display.input.receivedFocus()),ti(ie))}function Gi(ie,ae){ie.state.delayingBlurEvent||(ie.state.focused&&(an(ie,"blur",ie,ae),ie.state.focused=!1,lt(ie.display.wrapper,"CodeMirror-focused")),clearInterval(ie.display.blinker),setTimeout(function(){ie.state.focused||(ie.display.shift=!1)},150))}function di(ie){for(var ae=ie.display,fe=ae.lineDiv.offsetTop,he=0;he.005||$t<-.005)&&(Br(me.line,je),hr(me.line),me.rest))for(var Pt=0;Ptie.display.sizerWidth){var Hn=Math.ceil(Xe/Au(ie.display));Hn>ie.display.maxLineLength&&(ie.display.maxLineLength=Hn,ie.display.maxLine=me.line,ie.display.maxLineChanged=!0)}}}}function hr(ie){if(ie.widgets)for(var ae=0;ae=je&&(De=Di(ae,Ba(ki(ae,Ke))-ie.wrapper.clientHeight),je=Ke)}return{from:De,to:Math.max(je,De+1)}}function ji(ie,ae){if(!qt(ie,"scrollCursorIntoView")){var fe=ie.display,he=fe.sizer.getBoundingClientRect(),me=null;if(ae.top+he.top<0?me=!0:ae.bottom+he.top>(window.innerHeight||document.documentElement.clientHeight)&&(me=!1),me!=null&&!Zt){var De=ut("div","\u200B",null,`position: absolute; + height: `+(Er-vr)+"px"))}function Pt(or,vr,jr){var Er=ki(me,or),ta=Er.text.length,ws,Ml;function us($s,wu){return Qd(ie,Lt(or,$s),"div",Er,wu)}function wl($s,wu,rs){var Fs=Ih(ie,Er,null,$s),gs=wu=="ltr"==(rs=="after")?"left":"right",dl=rs=="after"?Fs.begin:Fs.end-(/\s/.test(Er.text.charAt(Fs.end-1))?2:1);return us(dl,gs)[gs]}var Hs=Ue(Er,me.direction);return Ie(Hs,vr||0,jr==null?ta:jr,function($s,wu,rs,Fs){var gs=rs=="ltr",dl=us($s,gs?"left":"right"),Wu=us(wu-1,gs?"right":"left"),Uu=vr==null&&$s==0,id=jr==null&&wu==ta,Wl=Fs==0,Oc=!Hs||Fs==Hs.length-1;if(Wu.top-dl.top<=3){var ve=(gt?Uu:id)&&Wl,ye=(gt?id:Uu)&&Oc,be=ve?Xe:(gs?dl:Wu).left,Re=ye?Ke:(gs?Wu:dl).right;en(be,dl.top,Re-be,dl.bottom)}else{var Ye,Qe,ct,vt;gs?(Ye=gt&&Uu&&Wl?Xe:dl.left,Qe=gt?Ke:wl($s,rs,"before"),ct=gt?Xe:wl(wu,rs,"after"),vt=gt&&id&&Oc?Ke:Wu.right):(Ye=gt?wl($s,rs,"before"):Xe,Qe=!gt&&Uu&&Wl?Ke:dl.right,ct=!gt&&id&&Oc?Xe:Wu.left,vt=gt?wl(wu,rs,"after"):Ke),en(Ye,dl.top,Qe-Ye,dl.bottom),dl.bottom0?ae.blinker=setInterval(function(){ie.hasFocus()||Gi(ie),ae.cursorDiv.style.visibility=(fe=!fe)?"":"hidden"},ie.options.cursorBlinkRate):ie.options.cursorBlinkRate<0&&(ae.cursorDiv.style.visibility="hidden")}}function xi(ie){ie.state.focused||(ie.display.input.focus(),vi(ie))}function $i(ie){ie.state.delayingBlurEvent=!0,setTimeout(function(){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1,Gi(ie))},100)}function vi(ie,ae){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1),ie.options.readOnly!="nocursor"&&(ie.state.focused||(an(ie,"focus",ie,ae),ie.state.focused=!0,vn(ie.display.wrapper,"CodeMirror-focused"),!ie.curOp&&ie.display.selForContextMenu!=ie.doc.sel&&(ie.display.input.reset(),Ve&&setTimeout(function(){return ie.display.input.reset(!0)},20)),ie.display.input.receivedFocus()),ti(ie))}function Gi(ie,ae){ie.state.delayingBlurEvent||(ie.state.focused&&(an(ie,"blur",ie,ae),ie.state.focused=!1,lt(ie.display.wrapper,"CodeMirror-focused")),clearInterval(ie.display.blinker),setTimeout(function(){ie.state.focused||(ie.display.shift=!1)},150))}function di(ie){for(var ae=ie.display,fe=ae.lineDiv.offsetTop,he=0;he.005||en<-.005)&&(Br(me.line,je),hr(me.line),me.rest))for(var Pt=0;Ptie.display.sizerWidth){var Hn=Math.ceil(Xe/Au(ie.display));Hn>ie.display.maxLineLength&&(ie.display.maxLineLength=Hn,ie.display.maxLine=me.line,ie.display.maxLineChanged=!0)}}}}function hr(ie){if(ie.widgets)for(var ae=0;ae=je&&(De=Di(ae,Ba(ki(ae,Ke))-ie.wrapper.clientHeight),je=Ke)}return{from:De,to:Math.max(je,De+1)}}function ji(ie,ae){if(!$t(ie,"scrollCursorIntoView")){var fe=ie.display,he=fe.sizer.getBoundingClientRect(),me=null;if(ae.top+he.top<0?me=!0:ae.bottom+he.top>(window.innerHeight||document.documentElement.clientHeight)&&(me=!1),me!=null&&!Zt){var De=ut("div","\u200B",null,`position: absolute; top: `+(ae.top-fe.viewOffset-hu(ie.display))+`px; height: `+(ae.bottom-ae.top+Tl(ie)+fe.barHeight)+`px; - left: `+ae.left+"px; width: "+Math.max(2,ae.right-ae.left)+"px;");ie.display.lineSpace.appendChild(De),De.scrollIntoView(me),ie.display.lineSpace.removeChild(De)}}}function cr(ie,ae,fe,he){he==null&&(he=0);var me;!ie.options.lineWrapping&&ae==fe&&(ae=ae.ch?Lt(ae.line,ae.sticky=="before"?ae.ch-1:ae.ch,"after"):ae,fe=ae.sticky=="before"?Lt(ae.line,ae.ch+1,"before"):ae);for(var De=0;De<5;De++){var je=!1,Xe=pl(ie,ae),Ke=!fe||fe==ae?Xe:pl(ie,fe);me={left:Math.min(Xe.left,Ke.left),top:Math.min(Xe.top,Ke.top)-he,right:Math.max(Xe.left,Ke.left),bottom:Math.max(Xe.bottom,Ke.bottom)+he};var gt=Hr(ie,me),$t=ie.doc.scrollTop,Pt=ie.doc.scrollLeft;if(gt.scrollTop!=null&&(Ro(ie,gt.scrollTop),Math.abs(ie.doc.scrollTop-$t)>1&&(je=!0)),gt.scrollLeft!=null&&($a(ie,gt.scrollLeft),Math.abs(ie.doc.scrollLeft-Pt)>1&&(je=!0)),!je)break}return me}function lo(ie,ae){var fe=Hr(ie,ae);fe.scrollTop!=null&&Ro(ie,fe.scrollTop),fe.scrollLeft!=null&&$a(ie,fe.scrollLeft)}function Hr(ie,ae){var fe=ie.display,he=hc(ie.display);ae.top<0&&(ae.top=0);var me=ie.curOp&&ie.curOp.scrollTop!=null?ie.curOp.scrollTop:fe.scroller.scrollTop,De=Yu(ie),je={};ae.bottom-ae.top>De&&(ae.bottom=ae.top+De);var Xe=ie.doc.height+ic(fe),Ke=ae.topXe-he;if(ae.topme+De){var $t=Math.min(ae.top,(gt?Xe:ae.bottom)-De);$t!=me&&(je.scrollTop=$t)}var Pt=ie.options.fixedGutter?0:fe.gutters.offsetWidth,Hn=ie.curOp&&ie.curOp.scrollLeft!=null?ie.curOp.scrollLeft:fe.scroller.scrollLeft-Pt,In=Gl(ie)-fe.gutters.offsetWidth,Ui=ae.right-ae.left>In;return Ui&&(ae.right=ae.left+In),ae.left<10?je.scrollLeft=0:ae.leftIn+Hn-3&&(je.scrollLeft=ae.right+(Ui?0:10)-In),je}function fo(ie,ae){ae!=null&&(Ca(ie),ie.curOp.scrollTop=(ie.curOp.scrollTop==null?ie.doc.scrollTop:ie.curOp.scrollTop)+ae)}function vo(ie){Ca(ie);var ae=ie.getCursor();ie.curOp.scrollToPos={from:ae,to:ae,margin:ie.options.cursorScrollMargin}}function uo(ie,ae,fe){(ae!=null||fe!=null)&&Ca(ie),ae!=null&&(ie.curOp.scrollLeft=ae),fe!=null&&(ie.curOp.scrollTop=fe)}function tr(ie,ae){Ca(ie),ie.curOp.scrollToPos=ae}function Ca(ie){var ae=ie.curOp.scrollToPos;if(ae){ie.curOp.scrollToPos=null;var fe=$h(ie,ae.from),he=$h(ie,ae.to);ra(ie,fe,he,ae.margin)}}function ra(ie,ae,fe,he){var me=Hr(ie,{left:Math.min(ae.left,fe.left),top:Math.min(ae.top,fe.top)-he,right:Math.max(ae.right,fe.right),bottom:Math.max(ae.bottom,fe.bottom)+he});uo(ie,me.scrollLeft,me.scrollTop)}function Ro(ie,ae){Math.abs(ie.doc.scrollTop-ae)<2||(ue||Gu(ie,{top:ae}),cs(ie,ae,!0),ue&&Gu(ie),Tu(ie,100))}function cs(ie,ae,fe){ae=Math.max(0,Math.min(ie.display.scroller.scrollHeight-ie.display.scroller.clientHeight,ae)),!(ie.display.scroller.scrollTop==ae&&!fe)&&(ie.doc.scrollTop=ae,ie.display.scrollbars.setScrollTop(ae),ie.display.scroller.scrollTop!=ae&&(ie.display.scroller.scrollTop=ae))}function $a(ie,ae,fe,he){ae=Math.max(0,Math.min(ae,ie.display.scroller.scrollWidth-ie.display.scroller.clientWidth)),!((fe?ae==ie.doc.scrollLeft:Math.abs(ie.doc.scrollLeft-ae)<2)&&!he)&&(ie.doc.scrollLeft=ae,Lc(ie),ie.display.scroller.scrollLeft!=ae&&(ie.display.scroller.scrollLeft=ae),ie.display.scrollbars.setScrollLeft(ae))}function Ja(ie){var ae=ie.display,fe=ae.gutters.offsetWidth,he=Math.round(ie.doc.height+ic(ie.display));return{clientHeight:ae.scroller.clientHeight,viewHeight:ae.wrapper.clientHeight,scrollWidth:ae.scroller.scrollWidth,clientWidth:ae.scroller.clientWidth,viewWidth:ae.wrapper.clientWidth,barLeft:ie.options.fixedGutter?fe:0,docHeight:he,scrollHeight:he+Tl(ie)+ae.barHeight,nativeBarWidth:ae.nativeBarWidth,gutterWidth:fe}}var js=function(ie,ae,fe){this.cm=fe;var he=this.vert=ut("div",[ut("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),me=this.horiz=ut("div",[ut("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");he.tabIndex=me.tabIndex=-1,ie(he),ie(me),rt(he,"scroll",function(){he.clientHeight&&ae(he.scrollTop,"vertical")}),rt(me,"scroll",function(){me.clientWidth&&ae(me.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Dt&&Wt<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};js.prototype.update=function(ie){var ae=ie.scrollWidth>ie.clientWidth+1,fe=ie.scrollHeight>ie.clientHeight+1,he=ie.nativeBarWidth;if(fe){this.vert.style.display="block",this.vert.style.bottom=ae?he+"px":"0";var me=ie.viewHeight-(ae?he:0);this.vert.firstChild.style.height=Math.max(0,ie.scrollHeight-ie.clientHeight+me)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(ae){this.horiz.style.display="block",this.horiz.style.right=fe?he+"px":"0",this.horiz.style.left=ie.barLeft+"px";var De=ie.viewWidth-ie.barLeft-(fe?he:0);this.horiz.firstChild.style.width=Math.max(0,ie.scrollWidth-ie.clientWidth+De)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&ie.clientHeight>0&&(he==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:fe?he:0,bottom:ae?he:0}},js.prototype.setScrollLeft=function(ie){this.horiz.scrollLeft!=ie&&(this.horiz.scrollLeft=ie),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},js.prototype.setScrollTop=function(ie){this.vert.scrollTop!=ie&&(this.vert.scrollTop=ie),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},js.prototype.zeroWidthHack=function(){var ie=de&&!Ut?"12px":"18px";this.horiz.style.height=this.vert.style.width=ie,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new ze,this.disableVert=new ze},js.prototype.enableZeroWidthBar=function(ie,ae,fe){ie.style.pointerEvents="auto";function he(){var me=ie.getBoundingClientRect(),De=fe=="vert"?document.elementFromPoint(me.right-1,(me.top+me.bottom)/2):document.elementFromPoint((me.right+me.left)/2,me.bottom-1);De!=ie?ie.style.pointerEvents="none":ae.set(1e3,he)}ae.set(1e3,he)},js.prototype.clear=function(){var ie=this.horiz.parentNode;ie.removeChild(this.horiz),ie.removeChild(this.vert)};var es=function(){};es.prototype.update=function(){return{bottom:0,right:0}},es.prototype.setScrollLeft=function(){},es.prototype.setScrollTop=function(){},es.prototype.clear=function(){};function Ga(ie,ae){ae||(ae=Ja(ie));var fe=ie.display.barWidth,he=ie.display.barHeight;ss(ie,ae);for(var me=0;me<4&&fe!=ie.display.barWidth||he!=ie.display.barHeight;me++)fe!=ie.display.barWidth&&ie.options.lineWrapping&&di(ie),ss(ie,Ja(ie)),fe=ie.display.barWidth,he=ie.display.barHeight}function ss(ie,ae){var fe=ie.display,he=fe.scrollbars.update(ae);fe.sizer.style.paddingRight=(fe.barWidth=he.right)+"px",fe.sizer.style.paddingBottom=(fe.barHeight=he.bottom)+"px",fe.heightForcer.style.borderBottom=he.bottom+"px solid transparent",he.right&&he.bottom?(fe.scrollbarFiller.style.display="block",fe.scrollbarFiller.style.height=he.bottom+"px",fe.scrollbarFiller.style.width=he.right+"px"):fe.scrollbarFiller.style.display="",he.bottom&&ie.options.coverGutterNextToScrollbar&&ie.options.fixedGutter?(fe.gutterFiller.style.display="block",fe.gutterFiller.style.height=he.bottom+"px",fe.gutterFiller.style.width=ae.gutterWidth+"px"):fe.gutterFiller.style.display=""}var ks={native:js,null:es};function _s(ie){ie.display.scrollbars&&(ie.display.scrollbars.clear(),ie.display.scrollbars.addClass&<(ie.display.wrapper,ie.display.scrollbars.addClass)),ie.display.scrollbars=new ks[ie.options.scrollbarStyle](function(ae){ie.display.wrapper.insertBefore(ae,ie.display.scrollbarFiller),rt(ae,"mousedown",function(){ie.state.focused&&setTimeout(function(){return ie.display.input.focus()},0)}),ae.setAttribute("cm-not-content","true")},function(ae,fe){fe=="horizontal"?$a(ie,ae):Ro(ie,ae)},ie),ie.display.scrollbars.addClass&&vn(ie.display.wrapper,ie.display.scrollbars.addClass)}var ds=0;function zs(ie){ie.curOp={cm:ie,viewChanged:!1,startHeight:ie.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++ds},Vc(ie.curOp)}function vl(ie){var ae=ie.curOp;ae&&Su(ae,function(fe){for(var he=0;he=fe.viewTo)||fe.maxLineChanged&&ae.options.lineWrapping,ie.update=ie.mustUpdate&&new Ys(ae,ie.mustUpdate&&{top:ie.scrollTop,ensure:ie.scrollToPos},ie.forceUpdate)}function Rl(ie){ie.updatedDisplay=ie.mustUpdate&&Sl(ie.cm,ie.update)}function Eu(ie){var ae=ie.cm,fe=ae.display;ie.updatedDisplay&&di(ae),ie.barMeasure=Ja(ae),fe.maxLineChanged&&!ae.options.lineWrapping&&(ie.adjustWidthTo=Th(ae,fe.maxLine,fe.maxLine.text.length).left+3,ae.display.sizerWidth=ie.adjustWidthTo,ie.barMeasure.scrollWidth=Math.max(fe.scroller.clientWidth,fe.sizer.offsetLeft+ie.adjustWidthTo+Tl(ae)+ae.display.barWidth),ie.maxScrollLeft=Math.max(0,fe.sizer.offsetLeft+ie.adjustWidthTo-Gl(ae))),(ie.updatedDisplay||ie.selectionChanged)&&(ie.preparedSelection=fe.input.prepareSelection())}function Ma(ie){var ae=ie.cm;ie.adjustWidthTo!=null&&(ae.display.sizer.style.minWidth=ie.adjustWidthTo+"px",ie.maxScrollLeft=ie.display.viewTo)){var fe=+new Date+ie.options.workTime,he=Kr(ie,ae.highlightFrontier),me=[];ae.iter(he.line,Math.min(ae.first+ae.size,ie.display.viewTo+500),function(De){if(he.line>=ie.display.viewFrom){var je=De.styles,Xe=De.text.length>ie.options.maxHighlightLength?Li(ae.mode,he.state):null,Ke=ja(ie,De,he,!0);Xe&&(he.state=Xe),De.styles=Ke.styles;var gt=De.styleClasses,$t=Ke.classes;$t?De.styleClasses=$t:gt&&(De.styleClasses=null);for(var Pt=!je||je.length!=De.styles.length||gt!=$t&&(!gt||!$t||gt.bgClass!=$t.bgClass||gt.textClass!=$t.textClass),Hn=0;!Pt&&Hnfe)return Tu(ie,ie.options.workDelay),!0}),ae.highlightFrontier=he.line,ae.modeFrontier=Math.max(ae.modeFrontier,he.line),me.length&&Pa(ie,function(){for(var De=0;De=fe.viewFrom&&ae.visible.to<=fe.viewTo&&(fe.updateLineNumbers==null||fe.updateLineNumbers>=fe.viewTo)&&fe.renderedView==fe.view&&qe(ie)==0)return!1;xl(ie)&&(ml(ie),ae.dims=Gc(ie));var me=he.first+he.size,De=Math.max(ae.visible.from-ie.options.viewportMargin,he.first),je=Math.min(me,ae.visible.to+ie.options.viewportMargin);fe.viewFromje&&fe.viewTo-je<20&&(je=Math.min(me,fe.viewTo)),ln&&(De=kr(ie.doc,De),je=Rr(ie.doc,je));var Xe=De!=fe.viewFrom||je!=fe.viewTo||fe.lastWrapHeight!=ae.wrapperHeight||fe.lastWrapWidth!=ae.wrapperWidth;He(ie,De,je),fe.viewOffset=Ba(ki(ie.doc,fe.viewFrom)),ie.display.mover.style.top=fe.viewOffset+"px";var Ke=qe(ie);if(!Xe&&Ke==0&&!ae.force&&fe.renderedView==fe.view&&(fe.updateLineNumbers==null||fe.updateLineNumbers>=fe.viewTo))return!1;var gt=su(ie);return Ke>4&&(fe.lineDiv.style.display="none"),fc(ie,fe.updateLineNumbers,ae.dims),Ke>4&&(fe.lineDiv.style.display=""),fe.renderedView=fe.view,pa(gt),dt(fe.cursorDiv),dt(fe.selectionDiv),fe.gutters.style.height=fe.sizer.style.minHeight=0,Xe&&(fe.lastWrapHeight=ae.wrapperHeight,fe.lastWrapWidth=ae.wrapperWidth,Tu(ie,400)),fe.updateLineNumbers=null,!0}function Da(ie,ae){for(var fe=ae.viewport,he=!0;;he=!1){if(!he||!ie.options.lineWrapping||ae.oldDisplayWidth==Gl(ie)){if(fe&&fe.top!=null&&(fe={top:Math.min(ie.doc.height+ic(ie.display)-Yu(ie),fe.top)}),ae.visible=Gn(ie.display,ie.doc,fe),ae.visible.from>=ie.display.viewFrom&&ae.visible.to<=ie.display.viewTo)break}else he&&(ae.visible=Gn(ie.display,ie.doc,fe));if(!Sl(ie,ae))break;di(ie);var me=Ja(ie);It(ie),Ga(ie,me),Fu(ie,me),ae.force=!1}ae.signal(ie,"update",ie),(ie.display.viewFrom!=ie.display.reportedViewFrom||ie.display.viewTo!=ie.display.reportedViewTo)&&(ae.signal(ie,"viewportChange",ie,ie.display.viewFrom,ie.display.viewTo),ie.display.reportedViewFrom=ie.display.viewFrom,ie.display.reportedViewTo=ie.display.viewTo)}function Gu(ie,ae){var fe=new Ys(ie,ae);if(Sl(ie,fe)){di(ie),Da(ie,fe);var he=Ja(ie);It(ie),Ga(ie,he),Fu(ie,he),fe.finish()}}function fc(ie,ae,fe){var he=ie.display,me=ie.options.lineNumbers,De=he.lineDiv,je=De.firstChild;function Xe(Ui){var Xi=Ui.nextSibling;return Ve&&de&&ie.display.currentWheelTarget==Ui?Ui.style.display="none":Ui.parentNode.removeChild(Ui),Xi}for(var Ke=he.view,gt=he.viewFrom,$t=0;$t-1&&(In=!1),Ed(ie,Pt,gt,fe)),In&&(dt(Pt.lineNumber),Pt.lineNumber.appendChild(document.createTextNode(Kn(ie.options,gt)))),je=Pt.node.nextSibling}gt+=Pt.size}for(;je;)je=Xe(je)}function $l(ie){var ae=ie.gutters.offsetWidth;ie.sizer.style.marginLeft=ae+"px"}function Fu(ie,ae){ie.display.sizer.style.minHeight=ae.docHeight+"px",ie.display.heightForcer.style.top=ae.docHeight+"px",ie.display.gutters.style.height=ae.docHeight+ie.display.barHeight+Tl(ie)+"px"}function Lc(ie){var ae=ie.display,fe=ae.view;if(!(!ae.alignWidgets&&(!ae.gutters.firstChild||!ie.options.fixedGutter))){for(var he=tf(ae)-ae.scroller.scrollLeft+ie.doc.scrollLeft,me=ae.gutters.offsetWidth,De=he+"px",je=0;jeje.clientWidth,Ke=je.scrollHeight>je.clientHeight;if(he&&Xe||me&&Ke){if(me&&de&&Ve){e:for(var gt=ae.target,$t=De.view;gt!=je;gt=gt.parentNode)for(var Pt=0;Pt<$t.length;Pt++)if($t[Pt].node==gt){ie.display.currentWheelTarget=gt;break e}}if(he&&!ue&&!pt&&Ds!=null){me&&Ke&&Ro(ie,Math.max(0,je.scrollTop+me*Ds)),$a(ie,Math.max(0,je.scrollLeft+he*Ds)),(!me||me&&Ke)&&Hi(ae),De.wheelStartX=null;return}if(me&&Ds!=null){var Hn=me*Ds,In=ie.doc.scrollTop,Ui=In+De.wrapper.clientHeight;Hn<0?In=Math.max(0,In+Hn-50):Ui=Math.min(ie.doc.height,Ui+Hn+50),Gu(ie,{top:In,bottom:Ui})}eu<20&&(De.wheelStartX==null?(De.wheelStartX=je.scrollLeft,De.wheelStartY=je.scrollTop,De.wheelDX=he,De.wheelDY=me,setTimeout(function(){if(De.wheelStartX!=null){var Xi=je.scrollLeft-De.wheelStartX,Ot=je.scrollTop-De.wheelStartY,ri=Ot&&De.wheelDY&&Ot/De.wheelDY||Xi&&De.wheelDX&&Xi/De.wheelDX;De.wheelStartX=De.wheelStartY=null,ri&&(Ds=(Ds*eu+ri)/(eu+1),++eu)}},200)):(De.wheelDX+=he,De.wheelDY+=me))}}var tu=function(ie,ae){this.ranges=ie,this.primIndex=ae};tu.prototype.primary=function(){return this.ranges[this.primIndex]},tu.prototype.equals=function(ie){if(ie==this)return!0;if(ie.primIndex!=this.primIndex||ie.ranges.length!=this.ranges.length)return!1;for(var ae=0;ae=0&&Ft(ie,he.to())<=0)return fe}return-1};var Ia=function(ie,ae){this.anchor=ie,this.head=ae};Ia.prototype.from=function(){return Ri(this.anchor,this.head)},Ia.prototype.to=function(){return Ii(this.anchor,this.head)},Ia.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Ul(ie,ae,fe){var he=ie&&ie.options.selectionsMayTouch,me=ae[fe];ae.sort(function(Hn,In){return Ft(Hn.from(),In.from())}),fe=yn(ae,me);for(var De=1;De0:Ke>=0){var gt=Ri(Xe.from(),je.from()),$t=Ii(Xe.to(),je.to()),Pt=Xe.empty()?je.from()==je.head:Xe.from()==Xe.head;De<=fe&&--fe,ae.splice(--De,2,new Ia(Pt?$t:gt,Pt?gt:$t))}}return new tu(ae,fe)}function fu(ie,ae){return new tu([new Ia(ie,ae||ie)],0)}function Ll(ie){return ie.text?Lt(ie.from.line+ie.text.length-1,mt(ie.text).length+(ie.text.length==1?ie.from.ch:0)):ie.to}function gu(ie,ae){if(Ft(ie,ae.from)<0)return ie;if(Ft(ie,ae.to)<=0)return Ll(ae);var fe=ie.line+ae.text.length-(ae.to.line-ae.from.line)-1,he=ie.ch;return ie.line==ae.to.line&&(he+=Ll(ae).ch-ae.to.ch),Lt(fe,he)}function Qu(ie,ae){for(var fe=[],he=0;he1&&ie.remove(Xe.line+1,Ui-1),ie.insert(Xe.line+1,ri)}ao(ie,"change",ie,ae)}function nu(ie,ae,fe){function he(me,De,je){if(me.linked)for(var Xe=0;Xe1&&!ie.done[ie.done.length-2].ranges)return ie.done.pop(),mt(ie.done)}function rl(ie,ae,fe,he){var me=ie.history;me.undone.length=0;var De=+new Date,je,Xe;if((me.lastOp==he||me.lastOrigin==ae.origin&&ae.origin&&(ae.origin.charAt(0)=="+"&&me.lastModTime>De-(ie.cm?ie.cm.options.historyEventDelay:500)||ae.origin.charAt(0)=="*"))&&(je=Qa(me,me.lastOp==he)))Xe=mt(je.changes),Ft(ae.from,ae.to)==0&&Ft(ae.from,Xe.to)==0?Xe.to=Ll(ae):je.changes.push(Sa(ie,ae));else{var Ke=mt(me.done);for((!Ke||!Ke.ranges)&&dd(ie.sel,me.done),je={changes:[Sa(ie,ae)],generation:me.generation},me.done.push(je);me.done.length>me.undoDepth;)me.done.shift(),me.done[0].ranges||me.done.shift()}me.done.push(fe),me.generation=++me.maxGeneration,me.lastModTime=me.lastSelTime=De,me.lastOp=me.lastSelOp=he,me.lastOrigin=me.lastSelOrigin=ae.origin,Xe||an(ie,"historyAdded")}function oc(ie,ae,fe,he){var me=ae.charAt(0);return me=="*"||me=="+"&&fe.ranges.length==he.ranges.length&&fe.somethingSelected()==he.somethingSelected()&&new Date-ie.history.lastSelTime<=(ie.cm?ie.cm.options.historyEventDelay:500)}function td(ie,ae,fe,he){var me=ie.history,De=he&&he.origin;fe==me.lastSelOp||De&&me.lastSelOrigin==De&&(me.lastModTime==me.lastSelTime&&me.lastOrigin==De||oc(ie,De,mt(me.done),ae))?me.done[me.done.length-1]=ae:dd(ae,me.done),me.lastSelTime=+new Date,me.lastSelOrigin=De,me.lastSelOp=fe,he&&he.clearRedo!==!1&&Ao(me.undone)}function dd(ie,ae){var fe=mt(ae);fe&&fe.ranges&&fe.equals(ie)||ae.push(ie)}function Zc(ie,ae,fe,he){var me=ae["spans_"+ie.id],De=0;ie.iter(Math.max(ie.first,fe),Math.min(ie.first+ie.size,he),function(je){je.markedSpans&&((me||(me=ae["spans_"+ie.id]={}))[De]=je.markedSpans),++De})}function Hl(ie){if(!ie)return null;for(var ae,fe=0;fe-1&&(mt(Xe)[Pt]=gt[Pt],delete gt[Pt])}}return he}function ac(ie,ae,fe,he){if(he){var me=ie.anchor;if(fe){var De=Ft(ae,me)<0;De!=Ft(fe,me)<0?(me=ae,ae=fe):De!=Ft(ae,fe)<0&&(ae=fe)}return new Ia(me,ae)}else return new Ia(fe||ae,ae)}function hd(ie,ae,fe,he,me){me==null&&(me=ie.cm&&(ie.cm.display.shift||ie.extend)),Pu(ie,new tu([ac(ie.sel.primary(),ae,fe,me)],0),he)}function Wh(ie,ae,fe){for(var he=[],me=ie.cm&&(ie.cm.display.shift||ie.extend),De=0;De=ae.ch:Xe.to>ae.ch))){if(me&&(an(Ke,"beforeCursorEnter"),Ke.explicitlyCleared))if(De.markedSpans){--je;continue}else break;if(!Ke.atomic)continue;if(fe){var Pt=Ke.find(he<0?1:-1),Hn=void 0;if((he<0?$t:gt)&&(Pt=gh(ie,Pt,-he,Pt&&Pt.line==ae.line?De:null)),Pt&&Pt.line==ae.line&&(Hn=Ft(Pt,fe))&&(he<0?Hn<0:Hn>0))return Na(ie,Pt,ae,he,me)}var In=Ke.find(he<0?-1:1);return(he<0?gt:$t)&&(In=gh(ie,In,he,In.line==ae.line?De:null)),In?Na(ie,In,ae,he,me):null}}return ae}function eh(ie,ae,fe,he,me){var De=he||1,je=Na(ie,ae,fe,De,me)||!me&&Na(ie,ae,fe,De,!0)||Na(ie,ae,fe,-De,me)||!me&&Na(ie,ae,fe,-De,!0);return je||(ie.cantEdit=!0,Lt(ie.first,0))}function gh(ie,ae,fe,he){return fe<0&&ae.ch==0?ae.line>ie.first?Ti(ie,Lt(ae.line-1)):null:fe>0&&ae.ch==(he||ki(ie,ae.line)).text.length?ae.line=0;--me)Cd(ie,{from:he[me].from,to:he[me].to,text:me?[""]:ae.text,origin:ae.origin});else Cd(ie,ae)}}function Cd(ie,ae){if(!(ae.text.length==1&&ae.text[0]==""&&Ft(ae.from,ae.to)==0)){var fe=Qu(ie,ae);rl(ie,ae,fe,ie.cm?ie.cm.curOp.id:NaN),Ad(ie,ae,fe,xr(ie,ae));var he=[];nu(ie,function(me,De){!De&&yn(he,me.history)==-1&&(Fd(me.history,ae),he.push(me.history)),Ad(me,ae,null,xr(me,ae))})}}function jd(ie,ae,fe){var he=ie.cm&&ie.cm.state.suppressEdits;if(!(he&&!fe)){for(var me=ie.history,De,je=ie.sel,Xe=ae=="undo"?me.done:me.undone,Ke=ae=="undo"?me.undone:me.done,gt=0;gt=0;--In){var Ui=Hn(In);if(Ui)return Ui.v}}}}function nf(ie,ae){if(ae!=0&&(ie.first+=ae,ie.sel=new tu(ht(ie.sel.ranges,function(me){return new Ia(Lt(me.anchor.line+ae,me.anchor.ch),Lt(me.head.line+ae,me.head.ch))}),ie.sel.primIndex),ie.cm)){tl(ie.cm,ie.first,ie.first-ae,ae);for(var fe=ie.cm.display,he=fe.viewFrom;heie.lastLine())){if(ae.from.lineDe&&(ae={from:ae.from,to:Lt(De,ki(ie,De).text.length),text:[ae.text[0]],origin:ae.origin}),ae.removed=Vr(ie,ae.from,ae.to),fe||(fe=Qu(ie,ae)),ie.cm?Uc(ie.cm,ae,he):Ju(ie,ae,he),Nc(ie,fe,rn),ie.cantEdit&&eh(ie,Lt(ie.firstLine(),0))&&(ie.cantEdit=!1)}}function Uc(ie,ae,fe){var he=ie.doc,me=ie.display,De=ae.from,je=ae.to,Xe=!1,Ke=De.line;ie.options.lineWrapping||(Ke=Et(_o(ki(he,De.line))),he.iter(Ke,je.line+1,function(In){if(In==me.maxLine)return Xe=!0,!0})),he.sel.contains(ae.from,ae.to)>-1&&fi(ie),Ju(he,ae,fe,el(ie)),ie.options.lineWrapping||(he.iter(Ke,De.line+ae.text.length,function(In){var Ui=Ws(In);Ui>me.maxLineLength&&(me.maxLine=In,me.maxLineLength=Ui,me.maxLineChanged=!0,Xe=!1)}),Xe&&(ie.curOp.updateMaxLine=!0)),Ci(he,De.line),Tu(ie,400);var gt=ae.text.length-(je.line-De.line)-1;ae.full?tl(ie):De.line==je.line&&ae.text.length==1&&!Mc(ie.doc,ae)?Oa(ie,De.line,"text"):tl(ie,De.line,je.line+1,gt);var $t=Mn(ie,"changes"),Pt=Mn(ie,"change");if(Pt||$t){var Hn={from:De,to:je,text:ae.text,removed:ae.removed,origin:ae.origin};Pt&&ao(ie,"change",ie,Hn),$t&&(ie.curOp.changeObjs||(ie.curOp.changeObjs=[])).push(Hn)}ie.display.selForContextMenu=null}function Hc(ie,ae,fe,he,me){var De;he||(he=fe),Ft(he,fe)<0&&(De=[he,fe],fe=De[0],he=De[1]),typeof ae=="string"&&(ae=ie.splitLines(ae)),ec(ie,{from:fe,to:he,text:ae,origin:me})}function Tc(ie,ae,fe,he){fe1||!(this.children[0]instanceof zd))){var Xe=[];this.collapse(Xe),this.children=[new zd(Xe)],this.children[0].parent=this}},collapse:function(ie){for(var ae=0;ae50){for(var je=me.lines.length%25+25,Xe=je;Xe10);ie.parent.maybeSpill()}},iterN:function(ie,ae,fe){for(var he=0;heie.display.maxLineLength&&(ie.display.maxLine=gt,ie.display.maxLineLength=$t,ie.display.maxLineChanged=!0)}he!=null&&ie&&this.collapsed&&tl(ie,he,me+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,ie&&la(ie.doc)),ie&&ao(ie,"markerCleared",ie,this,he,me),ae&&vl(ie),this.parent&&this.parent.clear()}},Ht.prototype.find=function(ie,ae){ie==null&&this.type=="bookmark"&&(ie=1);for(var fe,he,me=0;me0||je==0&&De.clearWhenEmpty!==!1)return De;if(De.replacedWith&&(De.collapsed=!0,De.widgetNode=Tt("span",[De.replacedWith],"CodeMirror-widget"),he.handleMouseEvents||De.widgetNode.setAttribute("cm-ignore-events","true"),he.insertLeft&&(De.widgetNode.insertLeft=!0)),De.collapsed){if(bs(ie,ae.line,ae,fe,De)||ae.line!=fe.line&&bs(ie,fe.line,ae,fe,De))throw new Error("Inserting collapsed marker partially overlapping an existing one");Rn()}De.addToHistory&&rl(ie,{from:ae,to:fe,origin:"markText"},ie.sel,NaN);var Xe=ae.line,Ke=ie.cm,gt;if(ie.iter(Xe,fe.line+1,function(Pt){Ke&&De.collapsed&&!Ke.options.lineWrapping&&_o(Pt)==Ke.display.maxLine&&(gt=!0),De.collapsed&&Xe!=ae.line&&Br(Pt,0),Bo(Pt,new Ir(De,Xe==ae.line?ae.ch:null,Xe==fe.line?fe.ch:null)),++Xe}),De.collapsed&&ie.iter(ae.line,fe.line+1,function(Pt){pi(ie,Pt)&&Br(Pt,0)}),De.clearOnEnter&&rt(De,"beforeCursorEnter",function(){return De.clear()}),De.readOnly&&(_r(),(ie.history.done.length||ie.history.undone.length)&&ie.clearHistory()),De.collapsed&&(De.id=++mh,De.atomic=!0),Ke){if(gt&&(Ke.curOp.updateMaxLine=!0),De.collapsed)tl(Ke,ae.line,fe.line+1);else if(De.className||De.startStyle||De.endStyle||De.css||De.attributes||De.title)for(var $t=ae.line;$t<=fe.line;$t++)Oa(Ke,$t,"text");De.atomic&&la(Ke.doc),ao(Ke,"markerAdded",Ke,De)}return De}var st=function(ie,ae){this.markers=ie,this.primary=ae;for(var fe=0;fe=0;Ke--)ec(this,he[Ke]);Xe?$d(this,Xe):this.cm&&vo(this.cm)}),undo:Gs(function(){jd(this,"undo")}),redo:Gs(function(){jd(this,"redo")}),undoSelection:Gs(function(){jd(this,"undo",!0)}),redoSelection:Gs(function(){jd(this,"redo",!0)}),setExtending:function(ie){this.extend=ie},getExtending:function(){return this.extend},historySize:function(){for(var ie=this.history,ae=0,fe=0,he=0;he=ie.ch)&&ae.push(me.marker.parent||me.marker)}return ae},findMarks:function(ie,ae,fe){ie=Ti(this,ie),ae=Ti(this,ae);var he=[],me=ie.line;return this.iter(ie.line,ae.line+1,function(De){var je=De.markedSpans;if(je)for(var Xe=0;Xe=Ke.to||Ke.from==null&&me!=ie.line||Ke.from!=null&&me==ae.line&&Ke.from>=ae.ch)&&(!fe||fe(Ke.marker))&&he.push(Ke.marker.parent||Ke.marker)}++me}),he},getAllMarks:function(){var ie=[];return this.iter(function(ae){var fe=ae.markedSpans;if(fe)for(var he=0;heie)return ae=ie,!0;ie-=De,++fe}),Ti(this,Lt(fe,ae))},indexFromPos:function(ie){ie=Ti(this,ie);var ae=ie.ch;if(ie.lineae&&(ae=ie.from),ie.to!=null&&ie.to-1){ae.state.draggingText(ie),setTimeout(function(){return ae.display.input.focus()},20);return}try{var $t=ie.dataTransfer.getData("Text");if($t){var Pt;if(ae.state.draggingText&&!ae.state.draggingText.copy&&(Pt=ae.listSelections()),Nc(ae.doc,fu(fe,fe)),Pt)for(var Hn=0;Hn=0;Xe--)Hc(ie.doc,"",he[Xe].from,he[Xe].to,"+delete");vo(ie)})}function Co(ie,ae,fe){var he=At(ie.text,ae+fe,fe);return he<0||he>ie.text.length?null:he}function Xo(ie,ae,fe){var he=Co(ie,ae.ch,fe);return he==null?null:new Lt(ae.line,he,fe<0?"after":"before")}function Qo(ie,ae,fe,he,me){if(ie){ae.doc.direction=="rtl"&&(me=-me);var De=Ue(fe,ae.doc.direction);if(De){var je=me<0?mt(De):De[0],Xe=me<0==(je.level==1),Ke=Xe?"after":"before",gt;if(je.level>0||ae.doc.direction=="rtl"){var $t=Ol(ae,fe);gt=me<0?fe.text.length-1:0;var Pt=rc(ae,$t,gt).top;gt=Yt(function(Hn){return rc(ae,$t,Hn).top==Pt},me<0==(je.level==1)?je.from:je.to-1,gt),Ke=="before"&&(gt=Co(fe,gt,1))}else gt=me<0?je.to:je.from;return new Lt(he,gt,Ke)}}return new Lt(he,me<0?fe.text.length:0,me<0?"before":"after")}function qo(ie,ae,fe,he){var me=Ue(ae,ie.doc.direction);if(!me)return Xo(ae,fe,he);fe.ch>=ae.text.length?(fe.ch=ae.text.length,fe.sticky="before"):fe.ch<=0&&(fe.ch=0,fe.sticky="after");var De=Ee(me,fe.ch,fe.sticky),je=me[De];if(ie.doc.direction=="ltr"&&je.level%2==0&&(he>0?je.to>fe.ch:je.from=je.from&&Hn>=$t.begin)){var In=Pt?"before":"after";return new Lt(fe.line,Hn,In)}}var Ui=function(ri,Ji,or){for(var vr=function(ws,Ml){return Ml?new Lt(fe.line,Xe(ws,1),"before"):new Lt(fe.line,ws,"after")};ri>=0&&ri0==(jr.level!=1),ta=Er?or.begin:Xe(or.end,-1);if(jr.from<=ta&&ta0?$t.end:Xe($t.begin,-1);return Ot!=null&&!(he>0&&Ot==ae.text.length)&&(Xi=Ui(he>0?0:me.length-1,he,gt(Ot)),Xi)?Xi:null}var ms={selectAll:iu,singleSelection:function(ie){return ie.setSelection(ie.getCursor("anchor"),ie.getCursor("head"),rn)},killLine:function(ie){return Qn(ie,function(ae){if(ae.empty()){var fe=ki(ie.doc,ae.head.line).text.length;return ae.head.ch==fe&&ae.head.line0)me=new Lt(me.line,me.ch+1),ie.replaceRange(De.charAt(me.ch-1)+De.charAt(me.ch-2),Lt(me.line,me.ch-2),me,"+transpose");else if(me.line>ie.doc.first){var je=ki(ie.doc,me.line-1).text;je&&(me=new Lt(me.line,1),ie.replaceRange(De.charAt(0)+ie.doc.lineSeparator()+je.charAt(je.length-1),Lt(me.line-1,je.length-1),me,"+transpose"))}}fe.push(new Ia(me,me))}ie.setSelections(fe)})},newlineAndIndent:function(ie){return Pa(ie,function(){for(var ae=ie.listSelections(),fe=ae.length-1;fe>=0;fe--)ie.replaceRange(ie.doc.lineSeparator(),ae[fe].anchor,ae[fe].head,"+input");ae=ie.listSelections();for(var he=0;heie&&Ft(ae,this.pos)==0&&fe==this.button};var sl,Kl;function La(ie,ae){var fe=+new Date;return Kl&&Kl.compare(fe,ie,ae)?(sl=Kl=null,"triple"):sl&&sl.compare(fe,ie,ae)?(Kl=new qa(fe,ie,ae),sl=null,"double"):(sl=new qa(fe,ie,ae),Kl=null,"single")}function jo(ie){var ae=this,fe=ae.display;if(!(qt(ae,ie)||fe.activeTouch&&fe.input.supportsTouch())){if(fe.input.ensurePolled(),fe.shift=ie.shiftKey,xs(fe,ie)){Ve||(fe.scroller.draggable=!1,setTimeout(function(){return fe.scroller.draggable=!0},100));return}if(!$o(ae,ie)){var he=au(ae,ie),me=No(ie),De=he?La(he,me):"single";window.focus(),me==1&&ae.state.selectingText&&ae.state.selectingText(ie),!(he&&ia(ae,me,he,De,ie))&&(me==1?he?Ru(ae,he,De,ie):Wo(ie)==fe.scroller&&Hi(ie):me==2?(he&&hd(ae.doc,he),setTimeout(function(){return fe.input.focus()},20)):me==3&&(Me?ae.display.input.onContextMenu(ie):$i(ae)))}}}function ia(ie,ae,fe,he,me){var De="Click";return he=="double"?De="Double"+De:he=="triple"&&(De="Triple"+De),De=(ae==1?"Left":ae==2?"Middle":"Right")+De,pr(ie,yo(De,me),me,function(je){if(typeof je=="string"&&(je=ms[je]),!je)return!1;var Xe=!1;try{ie.isReadOnly()&&(ie.state.suppressEdits=!0),Xe=je(ie,fe)!=ei}finally{ie.state.suppressEdits=!1}return Xe})}function Yl(ie,ae,fe){var he=ie.getOption("configureMouse"),me=he?he(ie,ae,fe):{};if(me.unit==null){var De=le?fe.shiftKey&&fe.metaKey:fe.altKey;me.unit=De?"rectangle":ae=="single"?"char":ae=="double"?"word":"line"}return(me.extend==null||ie.doc.extend)&&(me.extend=ie.doc.extend||fe.shiftKey),me.addNew==null&&(me.addNew=de?fe.metaKey:fe.ctrlKey),me.moveOnDrag==null&&(me.moveOnDrag=!(de?fe.altKey:fe.ctrlKey)),me}function Ru(ie,ae,fe,he){Dt?setTimeout(kn(xi,ie),0):ie.curOp.focus=Jt();var me=Yl(ie,fe,he),De=ie.doc.sel,je;ie.options.dragDrop&&Lr&&!ie.isReadOnly()&&fe=="single"&&(je=De.contains(ae))>-1&&(Ft((je=De.ranges[je]).from(),ae)<0||ae.xRel>0)&&(Ft(je.to(),ae)>0||ae.xRel<0)?tc(ie,he,ae,me):Ua(ie,he,ae,me)}function tc(ie,ae,fe,he){var me=ie.display,De=!1,je=Bs(ie,function(gt){Ve&&(me.scroller.draggable=!1),ie.state.draggingText=!1,fn(me.wrapper.ownerDocument,"mouseup",je),fn(me.wrapper.ownerDocument,"mousemove",Xe),fn(me.scroller,"dragstart",Ke),fn(me.scroller,"drop",je),De||(Hi(gt),he.addNew||hd(ie.doc,fe,null,null,he.extend),Ve&&!St||Dt&&Wt==9?setTimeout(function(){me.wrapper.ownerDocument.body.focus({preventScroll:!0}),me.input.focus()},20):me.input.focus())}),Xe=function(gt){De=De||Math.abs(ae.clientX-gt.clientX)+Math.abs(ae.clientY-gt.clientY)>=10},Ke=function(){return De=!0};Ve&&(me.scroller.draggable=!0),ie.state.draggingText=je,je.copy=!he.moveOnDrag,me.scroller.dragDrop&&me.scroller.dragDrop(),rt(me.wrapper.ownerDocument,"mouseup",je),rt(me.wrapper.ownerDocument,"mousemove",Xe),rt(me.scroller,"dragstart",Ke),rt(me.scroller,"drop",je),$i(ie),setTimeout(function(){return me.input.focus()},20)}function fa(ie,ae,fe){if(fe=="char")return new Ia(ae,ae);if(fe=="word")return ie.findWordAt(ae);if(fe=="line")return new Ia(Lt(ae.line,0),Ti(ie.doc,Lt(ae.line+1,0)));var he=fe(ie,ae);return new Ia(he.from,he.to)}function Ua(ie,ae,fe,he){var me=ie.display,De=ie.doc;Hi(ae);var je,Xe,Ke=De.sel,gt=Ke.ranges;if(he.addNew&&!he.extend?(Xe=De.sel.contains(fe),Xe>-1?je=gt[Xe]:je=new Ia(fe,fe)):(je=De.sel.primary(),Xe=De.sel.primIndex),he.unit=="rectangle")he.addNew||(je=new Ia(fe,fe)),fe=au(ie,ae,!0,!0),Xe=-1;else{var $t=fa(ie,fe,he.unit);he.extend?je=ac(je,$t.anchor,$t.head,he.extend):je=$t}he.addNew?Xe==-1?(Xe=gt.length,Pu(De,Ul(ie,gt.concat([je]),Xe),{scroll:!1,origin:"*mouse"})):gt.length>1&>[Xe].empty()&&he.unit=="char"&&!he.extend?(Pu(De,Ul(ie,gt.slice(0,Xe).concat(gt.slice(Xe+1)),0),{scroll:!1,origin:"*mouse"}),Ke=De.sel):qu(De,Xe,je,xn):(Xe=0,Pu(De,new tu([je],0),xn),Ke=De.sel);var Pt=fe;function Hn(or){if(Ft(Pt,or)!=0)if(Pt=or,he.unit=="rectangle"){for(var vr=[],jr=ie.options.tabSize,Er=et(ki(De,fe.line).text,fe.ch,jr),ta=et(ki(De,or.line).text,or.ch,jr),ws=Math.min(Er,ta),Ml=Math.max(Er,ta),us=Math.min(fe.line,or.line),wl=Math.min(ie.lastLine(),Math.max(fe.line,or.line));us<=wl;us++){var Hs=ki(De,us).text,$s=yi(Hs,ws,jr);ws==Ml?vr.push(new Ia(Lt(us,$s),Lt(us,$s))):Hs.length>$s&&vr.push(new Ia(Lt(us,$s),Lt(us,yi(Hs,Ml,jr))))}vr.length||vr.push(new Ia(fe,fe)),Pu(De,Ul(ie,Ke.ranges.slice(0,Xe).concat(vr),Xe),{origin:"*mouse",scroll:!1}),ie.scrollIntoView(or)}else{var wu=je,rs=fa(ie,or,he.unit),Fs=wu.anchor,gs;Ft(rs.anchor,Fs)>0?(gs=rs.head,Fs=Ri(wu.from(),rs.anchor)):(gs=rs.anchor,Fs=Ii(wu.to(),rs.head));var dl=Ke.ranges.slice(0);dl[Xe]=Po(ie,new Ia(Ti(De,Fs),gs)),Pu(De,Ul(ie,dl,Xe),xn)}}var In=me.wrapper.getBoundingClientRect(),Ui=0;function Xi(or){var vr=++Ui,jr=au(ie,or,!0,he.unit=="rectangle");if(jr)if(Ft(jr,Pt)!=0){ie.curOp.focus=Jt(),Hn(jr);var Er=Gn(me,De);(jr.line>=Er.to||jr.lineIn.bottom?20:0;ta&&setTimeout(Bs(ie,function(){Ui==vr&&(me.scroller.scrollTop+=ta,Xi(or))}),50)}}function Ot(or){ie.state.selectingText=!1,Ui=1/0,or&&(Hi(or),me.input.focus()),fn(me.wrapper.ownerDocument,"mousemove",ri),fn(me.wrapper.ownerDocument,"mouseup",Ji),De.history.lastSelOrigin=null}var ri=Bs(ie,function(or){or.buttons===0||!No(or)?Ot(or):Xi(or)}),Ji=Bs(ie,Ot);ie.state.selectingText=Ji,rt(me.wrapper.ownerDocument,"mousemove",ri),rt(me.wrapper.ownerDocument,"mouseup",Ji)}function Po(ie,ae){var fe=ae.anchor,he=ae.head,me=ki(ie.doc,fe.line);if(Ft(fe,he)==0&&fe.sticky==he.sticky)return ae;var De=Ue(me);if(!De)return ae;var je=Ee(De,fe.ch,fe.sticky),Xe=De[je];if(Xe.from!=fe.ch&&Xe.to!=fe.ch)return ae;var Ke=je+(Xe.from==fe.ch==(Xe.level!=1)?0:1);if(Ke==0||Ke==De.length)return ae;var gt;if(he.line!=fe.line)gt=(he.line-fe.line)*(ie.doc.direction=="ltr"?1:-1)>0;else{var $t=Ee(De,he.ch,he.sticky),Pt=$t-je||(he.ch-fe.ch)*(Xe.level==1?-1:1);$t==Ke-1||$t==Ke?gt=Pt<0:gt=Pt>0}var Hn=De[Ke+(gt?-1:0)],In=gt==(Hn.level==1),Ui=In?Hn.from:Hn.to,Xi=In?"after":"before";return fe.ch==Ui&&fe.sticky==Xi?ae:new Ia(new Lt(fe.line,Ui,Xi),he)}function Wr(ie,ae,fe,he){var me,De;if(ae.touches)me=ae.touches[0].clientX,De=ae.touches[0].clientY;else try{me=ae.clientX,De=ae.clientY}catch(Hn){return!1}if(me>=Math.floor(ie.display.gutters.getBoundingClientRect().right))return!1;he&&Hi(ae);var je=ie.display,Xe=je.lineDiv.getBoundingClientRect();if(De>Xe.bottom||!Mn(ie,fe))return sr(ae);De-=Xe.top-je.viewOffset;for(var Ke=0;Ke=me){var $t=Di(ie.doc,De),Pt=ie.display.gutterSpecs[Ke];return an(ie,fe,ie,$t,Pt.className,ae),sr(ae)}}}function $o(ie,ae){return Wr(ie,ae,"gutterClick",!0)}function Ka(ie,ae){xs(ie.display,ae)||Qs(ie,ae)||qt(ie,ae,"contextmenu")||Me||ie.display.input.onContextMenu(ae)}function Qs(ie,ae){return Mn(ie,"gutterContextMenu")?Wr(ie,ae,"gutterContextMenu",!1):!1}function Sc(ie){ie.display.wrapper.className=ie.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+ie.options.theme.replace(/(^|\s)\s*/g," cm-s-"),hh(ie)}var Xl={toString:function(){return"CodeMirror.Init"}},sc={},Jl={};function nd(ie){var ae=ie.optionHandlers;function fe(he,me,De,je){ie.defaults[he]=me,De&&(ae[he]=je?function(Xe,Ke,gt){gt!=Xl&&De(Xe,Ke,gt)}:De)}ie.defineOption=fe,ie.Init=Xl,fe("value","",function(he,me){return he.setValue(me)},!0),fe("mode",null,function(he,me){he.doc.modeOption=me,ha(he)},!0),fe("indentUnit",2,ha,!0),fe("indentWithTabs",!1),fe("smartIndent",!0),fe("tabSize",4,function(he){Ps(he),hh(he),tl(he)},!0),fe("lineSeparator",null,function(he,me){if(he.doc.lineSep=me,!!me){var De=[],je=he.doc.first;he.doc.iter(function(Ke){for(var gt=0;;){var $t=Ke.text.indexOf(me,gt);if($t==-1)break;gt=$t+me.length,De.push(Lt(je,$t))}je++});for(var Xe=De.length-1;Xe>=0;Xe--)Hc(he.doc,me,De[Xe],Lt(De[Xe].line,De[Xe].ch+me.length))}}),fe("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(he,me,De){he.state.specialChars=new RegExp(me.source+(me.test(" ")?"":"| "),"g"),De!=Xl&&he.refresh()}),fe("specialCharPlaceholder",Ss,function(he){return he.refresh()},!0),fe("electricChars",!0),fe("inputStyle",ne?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),fe("spellcheck",!1,function(he,me){return he.getInputField().spellcheck=me},!0),fe("autocorrect",!1,function(he,me){return he.getInputField().autocorrect=me},!0),fe("autocapitalize",!1,function(he,me){return he.getInputField().autocapitalize=me},!0),fe("rtlMoveVisually",!pe),fe("wholeLineUpdateBefore",!0),fe("theme","default",function(he){Sc(he),wa(he)},!0),fe("keyMap","default",function(he,me,De){var je=xa(me),Xe=De!=Xl&&xa(De);Xe&&Xe.detach&&Xe.detach(he,je),je.attach&&je.attach(he,Xe||null)}),fe("extraKeys",null),fe("configureMouse",null),fe("lineWrapping",!1,vs,!0),fe("gutters",[],function(he,me){he.display.gutterSpecs=Ns(me,he.options.lineNumbers),wa(he)},!0),fe("fixedGutter",!0,function(he,me){he.display.gutters.style.left=me?tf(he.display)+"px":"0",he.refresh()},!0),fe("coverGutterNextToScrollbar",!1,function(he){return Ga(he)},!0),fe("scrollbarStyle","native",function(he){_s(he),Ga(he),he.display.scrollbars.setScrollTop(he.doc.scrollTop),he.display.scrollbars.setScrollLeft(he.doc.scrollLeft)},!0),fe("lineNumbers",!1,function(he,me){he.display.gutterSpecs=Ns(he.options.gutters,me),wa(he)},!0),fe("firstLineNumber",1,wa,!0),fe("lineNumberFormatter",function(he){return he},wa,!0),fe("showCursorWhenSelecting",!1,It,!0),fe("resetSelectionOnContextMenu",!0),fe("lineWiseCopyCut",!0),fe("pasteLinesPerSelection",!0),fe("selectionsMayTouch",!1),fe("readOnly",!1,function(he,me){me=="nocursor"&&(Gi(he),he.display.input.blur()),he.display.input.readOnlyChanged(me)}),fe("screenReaderLabel",null,function(he,me){me=me===""?null:me,he.display.input.screenReaderLabelChanged(me)}),fe("disableInput",!1,function(he,me){me||he.display.input.reset()},!0),fe("dragDrop",!0,mr),fe("allowDropFileTypes",null),fe("cursorBlinkRate",530),fe("cursorScrollMargin",0),fe("cursorHeight",1,It,!0),fe("singleCursorHeightPerLine",!0,It,!0),fe("workTime",100),fe("workDelay",100),fe("flattenSpans",!0,Ps,!0),fe("addModeClass",!1,Ps,!0),fe("pollInterval",100),fe("undoDepth",200,function(he,me){return he.doc.history.undoDepth=me}),fe("historyEventDelay",1250),fe("viewportMargin",10,function(he){return he.refresh()},!0),fe("maxHighlightLength",1e4,Ps,!0),fe("moveInputWithCursor",!0,function(he,me){me||he.display.input.resetPosition()}),fe("tabindex",null,function(he,me){return he.display.input.getField().tabIndex=me||""}),fe("autofocus",null),fe("direction","ltr",function(he,me){return he.doc.setDirection(me)},!0),fe("phrases",null)}function mr(ie,ae,fe){var he=fe&&fe!=Xl;if(!ae!=!he){var me=ie.display.dragFunctions,De=ae?rt:fn;De(ie.display.scroller,"dragstart",me.start),De(ie.display.scroller,"dragenter",me.enter),De(ie.display.scroller,"dragover",me.over),De(ie.display.scroller,"dragleave",me.leave),De(ie.display.scroller,"drop",me.drop)}}function vs(ie){ie.options.lineWrapping?(vn(ie.display.wrapper,"CodeMirror-wrap"),ie.display.sizer.style.minWidth="",ie.display.sizerWidth=null):(lt(ie.display.wrapper,"CodeMirror-wrap"),Xa(ie)),Uo(ie),tl(ie),hh(ie),setTimeout(function(){return Ga(ie)},100)}function Aa(ie,ae){var fe=this;if(!(this instanceof Aa))return new Aa(ie,ae);this.options=ae=ae?ci(ae):{},ci(sc,ae,!1);var he=ae.value;typeof he=="string"?he=new Ei(he,ae.mode,null,ae.lineSeparator,ae.direction):ae.mode&&(he.modeOption=ae.mode),this.doc=he;var me=new Aa.inputStyles[ae.inputStyle](this),De=this.display=new gc(ie,he,me,ae);De.wrapper.CodeMirror=this,Sc(this),ae.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),_s(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new ze,keySeq:null,specialChars:null},ae.autofocus&&!ne&&De.input.focus(),Dt&&Wt<11&&setTimeout(function(){return fe.display.input.reset(!0)},20),qs(this),xo(),zs(this),this.curOp.forceUpdate=!0,pc(this,he),ae.autofocus&&!ne||this.hasFocus()?setTimeout(function(){fe.hasFocus()&&!fe.state.focused&&vi(fe)},20):Gi(this);for(var je in Jl)Jl.hasOwnProperty(je)&&Jl[je](this,ae[je],Xl);xl(this),ae.finishInit&&ae.finishInit(this);for(var Xe=0;Xe20*20}rt(ae.scroller,"touchstart",function(Ke){if(!qt(ie,Ke)&&!De(Ke)&&!$o(ie,Ke)){ae.input.ensurePolled(),clearTimeout(fe);var gt=+new Date;ae.activeTouch={start:gt,moved:!1,prev:gt-he.end<=300?he:null},Ke.touches.length==1&&(ae.activeTouch.left=Ke.touches[0].pageX,ae.activeTouch.top=Ke.touches[0].pageY)}}),rt(ae.scroller,"touchmove",function(){ae.activeTouch&&(ae.activeTouch.moved=!0)}),rt(ae.scroller,"touchend",function(Ke){var gt=ae.activeTouch;if(gt&&!xs(ae,Ke)&>.left!=null&&!gt.moved&&new Date-gt.start<300){var $t=ie.coordsChar(ae.activeTouch,"page"),Pt;!gt.prev||je(gt,gt.prev)?Pt=new Ia($t,$t):!gt.prev.prev||je(gt,gt.prev.prev)?Pt=ie.findWordAt($t):Pt=new Ia(Lt($t.line,0),Ti(ie.doc,Lt($t.line+1,0))),ie.setSelection(Pt.anchor,Pt.head),ie.focus(),Hi(Ke)}me()}),rt(ae.scroller,"touchcancel",me),rt(ae.scroller,"scroll",function(){ae.scroller.clientHeight&&(Ro(ie,ae.scroller.scrollTop),$a(ie,ae.scroller.scrollLeft,!0),an(ie,"scroll",ie))}),rt(ae.scroller,"mousewheel",function(Ke){return cl(ie,Ke)}),rt(ae.scroller,"DOMMouseScroll",function(Ke){return cl(ie,Ke)}),rt(ae.wrapper,"scroll",function(){return ae.wrapper.scrollTop=ae.wrapper.scrollLeft=0}),ae.dragFunctions={enter:function(Ke){qt(ie,Ke)||ro(Ke)},over:function(Ke){qt(ie,Ke)||(wo(ie,Ke),ro(Ke))},start:function(Ke){return Yr(ie,Ke)},drop:Bs(ie,bi),leave:function(Ke){qt(ie,Ke)||Nr(ie)}};var Xe=ae.input.getField();rt(Xe,"keyup",function(Ke){return Xs.call(ie,Ke)}),rt(Xe,"keydown",Bs(ie,fs)),rt(Xe,"keypress",Bs(ie,Os)),rt(Xe,"focus",function(Ke){return vi(ie,Ke)}),rt(Xe,"blur",function(Ke){return Gi(ie,Ke)})}var Zu=[];Aa.defineInitHook=function(ie){return Zu.push(ie)};function Us(ie,ae,fe,he){var me=ie.doc,De;fe==null&&(fe="add"),fe=="smart"&&(me.mode.indent?De=Kr(ie,ae).state:fe="prev");var je=ie.options.tabSize,Xe=ki(me,ae),Ke=et(Xe.text,null,je);Xe.stateAfter&&(Xe.stateAfter=null);var gt=Xe.text.match(/^\s*/)[0],$t;if(!he&&!/\S/.test(Xe.text))$t=0,fe="not";else if(fe=="smart"&&($t=me.mode.indent(De,Xe.text.slice(gt.length),Xe.text),$t==ei||$t>150)){if(!he)return;fe="prev"}fe=="prev"?ae>me.first?$t=et(ki(me,ae-1).text,null,je):$t=0:fe=="add"?$t=Ke+ie.options.indentUnit:fe=="subtract"?$t=Ke-ie.options.indentUnit:typeof fe=="number"&&($t=Ke+fe),$t=Math.max(0,$t);var Pt="",Hn=0;if(ie.options.indentWithTabs)for(var In=Math.floor($t/je);In;--In)Hn+=je,Pt+=" ";if(Hn<$t&&(Pt+=Mi($t-Hn)),Pt!=gt)return Hc(me,Pt,Lt(ae,0),Lt(ae,gt.length),"+input"),Xe.stateAfter=null,!0;for(var Ui=0;Uije,Ke=Tr(ae),gt=null;if(Xe&&he.ranges.length>1)if(ru&&ru.text.join(` -`)==ae){if(he.ranges.length%ru.text.length==0){gt=[];for(var $t=0;$t=0;Hn--){var In=he.ranges[Hn],Ui=In.from(),Xi=In.to();In.empty()&&(fe&&fe>0?Ui=Lt(Ui.line,Ui.ch-fe):ie.state.overwrite&&!Xe?Xi=Lt(Xi.line,Math.min(ki(De,Xi.line).text.length,Xi.ch+mt(Ke).length)):Xe&&ru&&ru.lineWise&&ru.text.join(` + left: `+ae.left+"px; width: "+Math.max(2,ae.right-ae.left)+"px;");ie.display.lineSpace.appendChild(De),De.scrollIntoView(me),ie.display.lineSpace.removeChild(De)}}}function cr(ie,ae,fe,he){he==null&&(he=0);var me;!ie.options.lineWrapping&&ae==fe&&(ae=ae.ch?Lt(ae.line,ae.sticky=="before"?ae.ch-1:ae.ch,"after"):ae,fe=ae.sticky=="before"?Lt(ae.line,ae.ch+1,"before"):ae);for(var De=0;De<5;De++){var je=!1,Xe=pl(ie,ae),Ke=!fe||fe==ae?Xe:pl(ie,fe);me={left:Math.min(Xe.left,Ke.left),top:Math.min(Xe.top,Ke.top)-he,right:Math.max(Xe.left,Ke.left),bottom:Math.max(Xe.bottom,Ke.bottom)+he};var gt=Hr(ie,me),en=ie.doc.scrollTop,Pt=ie.doc.scrollLeft;if(gt.scrollTop!=null&&(Ro(ie,gt.scrollTop),Math.abs(ie.doc.scrollTop-en)>1&&(je=!0)),gt.scrollLeft!=null&&($a(ie,gt.scrollLeft),Math.abs(ie.doc.scrollLeft-Pt)>1&&(je=!0)),!je)break}return me}function lo(ie,ae){var fe=Hr(ie,ae);fe.scrollTop!=null&&Ro(ie,fe.scrollTop),fe.scrollLeft!=null&&$a(ie,fe.scrollLeft)}function Hr(ie,ae){var fe=ie.display,he=hc(ie.display);ae.top<0&&(ae.top=0);var me=ie.curOp&&ie.curOp.scrollTop!=null?ie.curOp.scrollTop:fe.scroller.scrollTop,De=Yu(ie),je={};ae.bottom-ae.top>De&&(ae.bottom=ae.top+De);var Xe=ie.doc.height+ic(fe),Ke=ae.topXe-he;if(ae.topme+De){var en=Math.min(ae.top,(gt?Xe:ae.bottom)-De);en!=me&&(je.scrollTop=en)}var Pt=ie.options.fixedGutter?0:fe.gutters.offsetWidth,Hn=ie.curOp&&ie.curOp.scrollLeft!=null?ie.curOp.scrollLeft:fe.scroller.scrollLeft-Pt,In=Gl(ie)-fe.gutters.offsetWidth,Ui=ae.right-ae.left>In;return Ui&&(ae.right=ae.left+In),ae.left<10?je.scrollLeft=0:ae.leftIn+Hn-3&&(je.scrollLeft=ae.right+(Ui?0:10)-In),je}function fo(ie,ae){ae!=null&&(Ca(ie),ie.curOp.scrollTop=(ie.curOp.scrollTop==null?ie.doc.scrollTop:ie.curOp.scrollTop)+ae)}function vo(ie){Ca(ie);var ae=ie.getCursor();ie.curOp.scrollToPos={from:ae,to:ae,margin:ie.options.cursorScrollMargin}}function uo(ie,ae,fe){(ae!=null||fe!=null)&&Ca(ie),ae!=null&&(ie.curOp.scrollLeft=ae),fe!=null&&(ie.curOp.scrollTop=fe)}function tr(ie,ae){Ca(ie),ie.curOp.scrollToPos=ae}function Ca(ie){var ae=ie.curOp.scrollToPos;if(ae){ie.curOp.scrollToPos=null;var fe=$h(ie,ae.from),he=$h(ie,ae.to);ra(ie,fe,he,ae.margin)}}function ra(ie,ae,fe,he){var me=Hr(ie,{left:Math.min(ae.left,fe.left),top:Math.min(ae.top,fe.top)-he,right:Math.max(ae.right,fe.right),bottom:Math.max(ae.bottom,fe.bottom)+he});uo(ie,me.scrollLeft,me.scrollTop)}function Ro(ie,ae){Math.abs(ie.doc.scrollTop-ae)<2||(ue||Gu(ie,{top:ae}),cs(ie,ae,!0),ue&&Gu(ie),Tu(ie,100))}function cs(ie,ae,fe){ae=Math.max(0,Math.min(ie.display.scroller.scrollHeight-ie.display.scroller.clientHeight,ae)),!(ie.display.scroller.scrollTop==ae&&!fe)&&(ie.doc.scrollTop=ae,ie.display.scrollbars.setScrollTop(ae),ie.display.scroller.scrollTop!=ae&&(ie.display.scroller.scrollTop=ae))}function $a(ie,ae,fe,he){ae=Math.max(0,Math.min(ae,ie.display.scroller.scrollWidth-ie.display.scroller.clientWidth)),!((fe?ae==ie.doc.scrollLeft:Math.abs(ie.doc.scrollLeft-ae)<2)&&!he)&&(ie.doc.scrollLeft=ae,Lc(ie),ie.display.scroller.scrollLeft!=ae&&(ie.display.scroller.scrollLeft=ae),ie.display.scrollbars.setScrollLeft(ae))}function Ja(ie){var ae=ie.display,fe=ae.gutters.offsetWidth,he=Math.round(ie.doc.height+ic(ie.display));return{clientHeight:ae.scroller.clientHeight,viewHeight:ae.wrapper.clientHeight,scrollWidth:ae.scroller.scrollWidth,clientWidth:ae.scroller.clientWidth,viewWidth:ae.wrapper.clientWidth,barLeft:ie.options.fixedGutter?fe:0,docHeight:he,scrollHeight:he+Tl(ie)+ae.barHeight,nativeBarWidth:ae.nativeBarWidth,gutterWidth:fe}}var js=function(ie,ae,fe){this.cm=fe;var he=this.vert=ut("div",[ut("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),me=this.horiz=ut("div",[ut("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");he.tabIndex=me.tabIndex=-1,ie(he),ie(me),rt(he,"scroll",function(){he.clientHeight&&ae(he.scrollTop,"vertical")}),rt(me,"scroll",function(){me.clientWidth&&ae(me.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Dt&&Wt<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};js.prototype.update=function(ie){var ae=ie.scrollWidth>ie.clientWidth+1,fe=ie.scrollHeight>ie.clientHeight+1,he=ie.nativeBarWidth;if(fe){this.vert.style.display="block",this.vert.style.bottom=ae?he+"px":"0";var me=ie.viewHeight-(ae?he:0);this.vert.firstChild.style.height=Math.max(0,ie.scrollHeight-ie.clientHeight+me)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(ae){this.horiz.style.display="block",this.horiz.style.right=fe?he+"px":"0",this.horiz.style.left=ie.barLeft+"px";var De=ie.viewWidth-ie.barLeft-(fe?he:0);this.horiz.firstChild.style.width=Math.max(0,ie.scrollWidth-ie.clientWidth+De)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&ie.clientHeight>0&&(he==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:fe?he:0,bottom:ae?he:0}},js.prototype.setScrollLeft=function(ie){this.horiz.scrollLeft!=ie&&(this.horiz.scrollLeft=ie),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},js.prototype.setScrollTop=function(ie){this.vert.scrollTop!=ie&&(this.vert.scrollTop=ie),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},js.prototype.zeroWidthHack=function(){var ie=de&&!Ut?"12px":"18px";this.horiz.style.height=this.vert.style.width=ie,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new ze,this.disableVert=new ze},js.prototype.enableZeroWidthBar=function(ie,ae,fe){ie.style.pointerEvents="auto";function he(){var me=ie.getBoundingClientRect(),De=fe=="vert"?document.elementFromPoint(me.right-1,(me.top+me.bottom)/2):document.elementFromPoint((me.right+me.left)/2,me.bottom-1);De!=ie?ie.style.pointerEvents="none":ae.set(1e3,he)}ae.set(1e3,he)},js.prototype.clear=function(){var ie=this.horiz.parentNode;ie.removeChild(this.horiz),ie.removeChild(this.vert)};var es=function(){};es.prototype.update=function(){return{bottom:0,right:0}},es.prototype.setScrollLeft=function(){},es.prototype.setScrollTop=function(){},es.prototype.clear=function(){};function Ga(ie,ae){ae||(ae=Ja(ie));var fe=ie.display.barWidth,he=ie.display.barHeight;ss(ie,ae);for(var me=0;me<4&&fe!=ie.display.barWidth||he!=ie.display.barHeight;me++)fe!=ie.display.barWidth&&ie.options.lineWrapping&&di(ie),ss(ie,Ja(ie)),fe=ie.display.barWidth,he=ie.display.barHeight}function ss(ie,ae){var fe=ie.display,he=fe.scrollbars.update(ae);fe.sizer.style.paddingRight=(fe.barWidth=he.right)+"px",fe.sizer.style.paddingBottom=(fe.barHeight=he.bottom)+"px",fe.heightForcer.style.borderBottom=he.bottom+"px solid transparent",he.right&&he.bottom?(fe.scrollbarFiller.style.display="block",fe.scrollbarFiller.style.height=he.bottom+"px",fe.scrollbarFiller.style.width=he.right+"px"):fe.scrollbarFiller.style.display="",he.bottom&&ie.options.coverGutterNextToScrollbar&&ie.options.fixedGutter?(fe.gutterFiller.style.display="block",fe.gutterFiller.style.height=he.bottom+"px",fe.gutterFiller.style.width=ae.gutterWidth+"px"):fe.gutterFiller.style.display=""}var ks={native:js,null:es};function _s(ie){ie.display.scrollbars&&(ie.display.scrollbars.clear(),ie.display.scrollbars.addClass&<(ie.display.wrapper,ie.display.scrollbars.addClass)),ie.display.scrollbars=new ks[ie.options.scrollbarStyle](function(ae){ie.display.wrapper.insertBefore(ae,ie.display.scrollbarFiller),rt(ae,"mousedown",function(){ie.state.focused&&setTimeout(function(){return ie.display.input.focus()},0)}),ae.setAttribute("cm-not-content","true")},function(ae,fe){fe=="horizontal"?$a(ie,ae):Ro(ie,ae)},ie),ie.display.scrollbars.addClass&&vn(ie.display.wrapper,ie.display.scrollbars.addClass)}var ds=0;function zs(ie){ie.curOp={cm:ie,viewChanged:!1,startHeight:ie.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++ds},Vc(ie.curOp)}function vl(ie){var ae=ie.curOp;ae&&Su(ae,function(fe){for(var he=0;he=fe.viewTo)||fe.maxLineChanged&&ae.options.lineWrapping,ie.update=ie.mustUpdate&&new Ys(ae,ie.mustUpdate&&{top:ie.scrollTop,ensure:ie.scrollToPos},ie.forceUpdate)}function Rl(ie){ie.updatedDisplay=ie.mustUpdate&&Sl(ie.cm,ie.update)}function Eu(ie){var ae=ie.cm,fe=ae.display;ie.updatedDisplay&&di(ae),ie.barMeasure=Ja(ae),fe.maxLineChanged&&!ae.options.lineWrapping&&(ie.adjustWidthTo=Th(ae,fe.maxLine,fe.maxLine.text.length).left+3,ae.display.sizerWidth=ie.adjustWidthTo,ie.barMeasure.scrollWidth=Math.max(fe.scroller.clientWidth,fe.sizer.offsetLeft+ie.adjustWidthTo+Tl(ae)+ae.display.barWidth),ie.maxScrollLeft=Math.max(0,fe.sizer.offsetLeft+ie.adjustWidthTo-Gl(ae))),(ie.updatedDisplay||ie.selectionChanged)&&(ie.preparedSelection=fe.input.prepareSelection())}function Ma(ie){var ae=ie.cm;ie.adjustWidthTo!=null&&(ae.display.sizer.style.minWidth=ie.adjustWidthTo+"px",ie.maxScrollLeft=ie.display.viewTo)){var fe=+new Date+ie.options.workTime,he=Kr(ie,ae.highlightFrontier),me=[];ae.iter(he.line,Math.min(ae.first+ae.size,ie.display.viewTo+500),function(De){if(he.line>=ie.display.viewFrom){var je=De.styles,Xe=De.text.length>ie.options.maxHighlightLength?Li(ae.mode,he.state):null,Ke=ja(ie,De,he,!0);Xe&&(he.state=Xe),De.styles=Ke.styles;var gt=De.styleClasses,en=Ke.classes;en?De.styleClasses=en:gt&&(De.styleClasses=null);for(var Pt=!je||je.length!=De.styles.length||gt!=en&&(!gt||!en||gt.bgClass!=en.bgClass||gt.textClass!=en.textClass),Hn=0;!Pt&&Hnfe)return Tu(ie,ie.options.workDelay),!0}),ae.highlightFrontier=he.line,ae.modeFrontier=Math.max(ae.modeFrontier,he.line),me.length&&Pa(ie,function(){for(var De=0;De=fe.viewFrom&&ae.visible.to<=fe.viewTo&&(fe.updateLineNumbers==null||fe.updateLineNumbers>=fe.viewTo)&&fe.renderedView==fe.view&&qe(ie)==0)return!1;xl(ie)&&(ml(ie),ae.dims=Gc(ie));var me=he.first+he.size,De=Math.max(ae.visible.from-ie.options.viewportMargin,he.first),je=Math.min(me,ae.visible.to+ie.options.viewportMargin);fe.viewFromje&&fe.viewTo-je<20&&(je=Math.min(me,fe.viewTo)),ln&&(De=kr(ie.doc,De),je=Rr(ie.doc,je));var Xe=De!=fe.viewFrom||je!=fe.viewTo||fe.lastWrapHeight!=ae.wrapperHeight||fe.lastWrapWidth!=ae.wrapperWidth;He(ie,De,je),fe.viewOffset=Ba(ki(ie.doc,fe.viewFrom)),ie.display.mover.style.top=fe.viewOffset+"px";var Ke=qe(ie);if(!Xe&&Ke==0&&!ae.force&&fe.renderedView==fe.view&&(fe.updateLineNumbers==null||fe.updateLineNumbers>=fe.viewTo))return!1;var gt=su(ie);return Ke>4&&(fe.lineDiv.style.display="none"),fc(ie,fe.updateLineNumbers,ae.dims),Ke>4&&(fe.lineDiv.style.display=""),fe.renderedView=fe.view,pa(gt),dt(fe.cursorDiv),dt(fe.selectionDiv),fe.gutters.style.height=fe.sizer.style.minHeight=0,Xe&&(fe.lastWrapHeight=ae.wrapperHeight,fe.lastWrapWidth=ae.wrapperWidth,Tu(ie,400)),fe.updateLineNumbers=null,!0}function Da(ie,ae){for(var fe=ae.viewport,he=!0;;he=!1){if(!he||!ie.options.lineWrapping||ae.oldDisplayWidth==Gl(ie)){if(fe&&fe.top!=null&&(fe={top:Math.min(ie.doc.height+ic(ie.display)-Yu(ie),fe.top)}),ae.visible=Gn(ie.display,ie.doc,fe),ae.visible.from>=ie.display.viewFrom&&ae.visible.to<=ie.display.viewTo)break}else he&&(ae.visible=Gn(ie.display,ie.doc,fe));if(!Sl(ie,ae))break;di(ie);var me=Ja(ie);It(ie),Ga(ie,me),Fu(ie,me),ae.force=!1}ae.signal(ie,"update",ie),(ie.display.viewFrom!=ie.display.reportedViewFrom||ie.display.viewTo!=ie.display.reportedViewTo)&&(ae.signal(ie,"viewportChange",ie,ie.display.viewFrom,ie.display.viewTo),ie.display.reportedViewFrom=ie.display.viewFrom,ie.display.reportedViewTo=ie.display.viewTo)}function Gu(ie,ae){var fe=new Ys(ie,ae);if(Sl(ie,fe)){di(ie),Da(ie,fe);var he=Ja(ie);It(ie),Ga(ie,he),Fu(ie,he),fe.finish()}}function fc(ie,ae,fe){var he=ie.display,me=ie.options.lineNumbers,De=he.lineDiv,je=De.firstChild;function Xe(Ui){var Qi=Ui.nextSibling;return Ve&&de&&ie.display.currentWheelTarget==Ui?Ui.style.display="none":Ui.parentNode.removeChild(Ui),Qi}for(var Ke=he.view,gt=he.viewFrom,en=0;en-1&&(In=!1),Ed(ie,Pt,gt,fe)),In&&(dt(Pt.lineNumber),Pt.lineNumber.appendChild(document.createTextNode(Kn(ie.options,gt)))),je=Pt.node.nextSibling}gt+=Pt.size}for(;je;)je=Xe(je)}function $l(ie){var ae=ie.gutters.offsetWidth;ie.sizer.style.marginLeft=ae+"px"}function Fu(ie,ae){ie.display.sizer.style.minHeight=ae.docHeight+"px",ie.display.heightForcer.style.top=ae.docHeight+"px",ie.display.gutters.style.height=ae.docHeight+ie.display.barHeight+Tl(ie)+"px"}function Lc(ie){var ae=ie.display,fe=ae.view;if(!(!ae.alignWidgets&&(!ae.gutters.firstChild||!ie.options.fixedGutter))){for(var he=tf(ae)-ae.scroller.scrollLeft+ie.doc.scrollLeft,me=ae.gutters.offsetWidth,De=he+"px",je=0;jeje.clientWidth,Ke=je.scrollHeight>je.clientHeight;if(he&&Xe||me&&Ke){if(me&&de&&Ve){e:for(var gt=ae.target,en=De.view;gt!=je;gt=gt.parentNode)for(var Pt=0;Pt=0&&Ft(ie,he.to())<=0)return fe}return-1};var Ia=function(ie,ae){this.anchor=ie,this.head=ae};Ia.prototype.from=function(){return Ri(this.anchor,this.head)},Ia.prototype.to=function(){return Ii(this.anchor,this.head)},Ia.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Ul(ie,ae,fe){var he=ie&&ie.options.selectionsMayTouch,me=ae[fe];ae.sort(function(Hn,In){return Ft(Hn.from(),In.from())}),fe=yn(ae,me);for(var De=1;De0:Ke>=0){var gt=Ri(Xe.from(),je.from()),en=Ii(Xe.to(),je.to()),Pt=Xe.empty()?je.from()==je.head:Xe.from()==Xe.head;De<=fe&&--fe,ae.splice(--De,2,new Ia(Pt?en:gt,Pt?gt:en))}}return new tu(ae,fe)}function fu(ie,ae){return new tu([new Ia(ie,ae||ie)],0)}function Ll(ie){return ie.text?Lt(ie.from.line+ie.text.length-1,mt(ie.text).length+(ie.text.length==1?ie.from.ch:0)):ie.to}function gu(ie,ae){if(Ft(ie,ae.from)<0)return ie;if(Ft(ie,ae.to)<=0)return Ll(ae);var fe=ie.line+ae.text.length-(ae.to.line-ae.from.line)-1,he=ie.ch;return ie.line==ae.to.line&&(he+=Ll(ae).ch-ae.to.ch),Lt(fe,he)}function Qu(ie,ae){for(var fe=[],he=0;he1&&ie.remove(Xe.line+1,Ui-1),ie.insert(Xe.line+1,ii)}ao(ie,"change",ie,ae)}function nu(ie,ae,fe){function he(me,De,je){if(me.linked)for(var Xe=0;Xe1&&!ie.done[ie.done.length-2].ranges)return ie.done.pop(),mt(ie.done)}function rl(ie,ae,fe,he){var me=ie.history;me.undone.length=0;var De=+new Date,je,Xe;if((me.lastOp==he||me.lastOrigin==ae.origin&&ae.origin&&(ae.origin.charAt(0)=="+"&&me.lastModTime>De-(ie.cm?ie.cm.options.historyEventDelay:500)||ae.origin.charAt(0)=="*"))&&(je=Qa(me,me.lastOp==he)))Xe=mt(je.changes),Ft(ae.from,ae.to)==0&&Ft(ae.from,Xe.to)==0?Xe.to=Ll(ae):je.changes.push(Sa(ie,ae));else{var Ke=mt(me.done);for((!Ke||!Ke.ranges)&&dd(ie.sel,me.done),je={changes:[Sa(ie,ae)],generation:me.generation},me.done.push(je);me.done.length>me.undoDepth;)me.done.shift(),me.done[0].ranges||me.done.shift()}me.done.push(fe),me.generation=++me.maxGeneration,me.lastModTime=me.lastSelTime=De,me.lastOp=me.lastSelOp=he,me.lastOrigin=me.lastSelOrigin=ae.origin,Xe||an(ie,"historyAdded")}function oc(ie,ae,fe,he){var me=ae.charAt(0);return me=="*"||me=="+"&&fe.ranges.length==he.ranges.length&&fe.somethingSelected()==he.somethingSelected()&&new Date-ie.history.lastSelTime<=(ie.cm?ie.cm.options.historyEventDelay:500)}function td(ie,ae,fe,he){var me=ie.history,De=he&&he.origin;fe==me.lastSelOp||De&&me.lastSelOrigin==De&&(me.lastModTime==me.lastSelTime&&me.lastOrigin==De||oc(ie,De,mt(me.done),ae))?me.done[me.done.length-1]=ae:dd(ae,me.done),me.lastSelTime=+new Date,me.lastSelOrigin=De,me.lastSelOp=fe,he&&he.clearRedo!==!1&&Ao(me.undone)}function dd(ie,ae){var fe=mt(ae);fe&&fe.ranges&&fe.equals(ie)||ae.push(ie)}function Zc(ie,ae,fe,he){var me=ae["spans_"+ie.id],De=0;ie.iter(Math.max(ie.first,fe),Math.min(ie.first+ie.size,he),function(je){je.markedSpans&&((me||(me=ae["spans_"+ie.id]={}))[De]=je.markedSpans),++De})}function Hl(ie){if(!ie)return null;for(var ae,fe=0;fe-1&&(mt(Xe)[Pt]=gt[Pt],delete gt[Pt])}}return he}function ac(ie,ae,fe,he){if(he){var me=ie.anchor;if(fe){var De=Ft(ae,me)<0;De!=Ft(fe,me)<0?(me=ae,ae=fe):De!=Ft(ae,fe)<0&&(ae=fe)}return new Ia(me,ae)}else return new Ia(fe||ae,ae)}function hd(ie,ae,fe,he,me){me==null&&(me=ie.cm&&(ie.cm.display.shift||ie.extend)),Pu(ie,new tu([ac(ie.sel.primary(),ae,fe,me)],0),he)}function Wh(ie,ae,fe){for(var he=[],me=ie.cm&&(ie.cm.display.shift||ie.extend),De=0;De=ae.ch:Xe.to>ae.ch))){if(me&&(an(Ke,"beforeCursorEnter"),Ke.explicitlyCleared))if(De.markedSpans){--je;continue}else break;if(!Ke.atomic)continue;if(fe){var Pt=Ke.find(he<0?1:-1),Hn=void 0;if((he<0?en:gt)&&(Pt=gh(ie,Pt,-he,Pt&&Pt.line==ae.line?De:null)),Pt&&Pt.line==ae.line&&(Hn=Ft(Pt,fe))&&(he<0?Hn<0:Hn>0))return Na(ie,Pt,ae,he,me)}var In=Ke.find(he<0?-1:1);return(he<0?gt:en)&&(In=gh(ie,In,he,In.line==ae.line?De:null)),In?Na(ie,In,ae,he,me):null}}return ae}function eh(ie,ae,fe,he,me){var De=he||1,je=Na(ie,ae,fe,De,me)||!me&&Na(ie,ae,fe,De,!0)||Na(ie,ae,fe,-De,me)||!me&&Na(ie,ae,fe,-De,!0);return je||(ie.cantEdit=!0,Lt(ie.first,0))}function gh(ie,ae,fe,he){return fe<0&&ae.ch==0?ae.line>ie.first?Ti(ie,Lt(ae.line-1)):null:fe>0&&ae.ch==(he||ki(ie,ae.line)).text.length?ae.line=0;--me)Cd(ie,{from:he[me].from,to:he[me].to,text:me?[""]:ae.text,origin:ae.origin});else Cd(ie,ae)}}function Cd(ie,ae){if(!(ae.text.length==1&&ae.text[0]==""&&Ft(ae.from,ae.to)==0)){var fe=Qu(ie,ae);rl(ie,ae,fe,ie.cm?ie.cm.curOp.id:NaN),Ad(ie,ae,fe,xr(ie,ae));var he=[];nu(ie,function(me,De){!De&&yn(he,me.history)==-1&&(Fd(me.history,ae),he.push(me.history)),Ad(me,ae,null,xr(me,ae))})}}function jd(ie,ae,fe){var he=ie.cm&&ie.cm.state.suppressEdits;if(!(he&&!fe)){for(var me=ie.history,De,je=ie.sel,Xe=ae=="undo"?me.done:me.undone,Ke=ae=="undo"?me.undone:me.done,gt=0;gt=0;--In){var Ui=Hn(In);if(Ui)return Ui.v}}}}function nf(ie,ae){if(ae!=0&&(ie.first+=ae,ie.sel=new tu(ht(ie.sel.ranges,function(me){return new Ia(Lt(me.anchor.line+ae,me.anchor.ch),Lt(me.head.line+ae,me.head.ch))}),ie.sel.primIndex),ie.cm)){tl(ie.cm,ie.first,ie.first-ae,ae);for(var fe=ie.cm.display,he=fe.viewFrom;heie.lastLine())){if(ae.from.lineDe&&(ae={from:ae.from,to:Lt(De,ki(ie,De).text.length),text:[ae.text[0]],origin:ae.origin}),ae.removed=Vr(ie,ae.from,ae.to),fe||(fe=Qu(ie,ae)),ie.cm?Uc(ie.cm,ae,he):Ju(ie,ae,he),Nc(ie,fe,on),ie.cantEdit&&eh(ie,Lt(ie.firstLine(),0))&&(ie.cantEdit=!1)}}function Uc(ie,ae,fe){var he=ie.doc,me=ie.display,De=ae.from,je=ae.to,Xe=!1,Ke=De.line;ie.options.lineWrapping||(Ke=Et(_o(ki(he,De.line))),he.iter(Ke,je.line+1,function(In){if(In==me.maxLine)return Xe=!0,!0})),he.sel.contains(ae.from,ae.to)>-1&&fi(ie),Ju(he,ae,fe,el(ie)),ie.options.lineWrapping||(he.iter(Ke,De.line+ae.text.length,function(In){var Ui=Ws(In);Ui>me.maxLineLength&&(me.maxLine=In,me.maxLineLength=Ui,me.maxLineChanged=!0,Xe=!1)}),Xe&&(ie.curOp.updateMaxLine=!0)),Ci(he,De.line),Tu(ie,400);var gt=ae.text.length-(je.line-De.line)-1;ae.full?tl(ie):De.line==je.line&&ae.text.length==1&&!Mc(ie.doc,ae)?Oa(ie,De.line,"text"):tl(ie,De.line,je.line+1,gt);var en=Mn(ie,"changes"),Pt=Mn(ie,"change");if(Pt||en){var Hn={from:De,to:je,text:ae.text,removed:ae.removed,origin:ae.origin};Pt&&ao(ie,"change",ie,Hn),en&&(ie.curOp.changeObjs||(ie.curOp.changeObjs=[])).push(Hn)}ie.display.selForContextMenu=null}function Hc(ie,ae,fe,he,me){var De;he||(he=fe),Ft(he,fe)<0&&(De=[he,fe],fe=De[0],he=De[1]),typeof ae=="string"&&(ae=ie.splitLines(ae)),ec(ie,{from:fe,to:he,text:ae,origin:me})}function Tc(ie,ae,fe,he){fe1||!(this.children[0]instanceof zd))){var Xe=[];this.collapse(Xe),this.children=[new zd(Xe)],this.children[0].parent=this}},collapse:function(ie){for(var ae=0;ae50){for(var je=me.lines.length%25+25,Xe=je;Xe10);ie.parent.maybeSpill()}},iterN:function(ie,ae,fe){for(var he=0;heie.display.maxLineLength&&(ie.display.maxLine=gt,ie.display.maxLineLength=en,ie.display.maxLineChanged=!0)}he!=null&&ie&&this.collapsed&&tl(ie,he,me+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,ie&&la(ie.doc)),ie&&ao(ie,"markerCleared",ie,this,he,me),ae&&vl(ie),this.parent&&this.parent.clear()}},Ht.prototype.find=function(ie,ae){ie==null&&this.type=="bookmark"&&(ie=1);for(var fe,he,me=0;me0||je==0&&De.clearWhenEmpty!==!1)return De;if(De.replacedWith&&(De.collapsed=!0,De.widgetNode=Ot("span",[De.replacedWith],"CodeMirror-widget"),he.handleMouseEvents||De.widgetNode.setAttribute("cm-ignore-events","true"),he.insertLeft&&(De.widgetNode.insertLeft=!0)),De.collapsed){if(bs(ie,ae.line,ae,fe,De)||ae.line!=fe.line&&bs(ie,fe.line,ae,fe,De))throw new Error("Inserting collapsed marker partially overlapping an existing one");Rn()}De.addToHistory&&rl(ie,{from:ae,to:fe,origin:"markText"},ie.sel,NaN);var Xe=ae.line,Ke=ie.cm,gt;if(ie.iter(Xe,fe.line+1,function(Pt){Ke&&De.collapsed&&!Ke.options.lineWrapping&&_o(Pt)==Ke.display.maxLine&&(gt=!0),De.collapsed&&Xe!=ae.line&&Br(Pt,0),Bo(Pt,new Ir(De,Xe==ae.line?ae.ch:null,Xe==fe.line?fe.ch:null)),++Xe}),De.collapsed&&ie.iter(ae.line,fe.line+1,function(Pt){pi(ie,Pt)&&Br(Pt,0)}),De.clearOnEnter&&rt(De,"beforeCursorEnter",function(){return De.clear()}),De.readOnly&&(_r(),(ie.history.done.length||ie.history.undone.length)&&ie.clearHistory()),De.collapsed&&(De.id=++mh,De.atomic=!0),Ke){if(gt&&(Ke.curOp.updateMaxLine=!0),De.collapsed)tl(Ke,ae.line,fe.line+1);else if(De.className||De.startStyle||De.endStyle||De.css||De.attributes||De.title)for(var en=ae.line;en<=fe.line;en++)Oa(Ke,en,"text");De.atomic&&la(Ke.doc),ao(Ke,"markerAdded",Ke,De)}return De}var st=function(ie,ae){this.markers=ie,this.primary=ae;for(var fe=0;fe=0;Ke--)ec(this,he[Ke]);Xe?$d(this,Xe):this.cm&&vo(this.cm)}),undo:Gs(function(){jd(this,"undo")}),redo:Gs(function(){jd(this,"redo")}),undoSelection:Gs(function(){jd(this,"undo",!0)}),redoSelection:Gs(function(){jd(this,"redo",!0)}),setExtending:function(ie){this.extend=ie},getExtending:function(){return this.extend},historySize:function(){for(var ie=this.history,ae=0,fe=0,he=0;he=ie.ch)&&ae.push(me.marker.parent||me.marker)}return ae},findMarks:function(ie,ae,fe){ie=Ti(this,ie),ae=Ti(this,ae);var he=[],me=ie.line;return this.iter(ie.line,ae.line+1,function(De){var je=De.markedSpans;if(je)for(var Xe=0;Xe=Ke.to||Ke.from==null&&me!=ie.line||Ke.from!=null&&me==ae.line&&Ke.from>=ae.ch)&&(!fe||fe(Ke.marker))&&he.push(Ke.marker.parent||Ke.marker)}++me}),he},getAllMarks:function(){var ie=[];return this.iter(function(ae){var fe=ae.markedSpans;if(fe)for(var he=0;heie)return ae=ie,!0;ie-=De,++fe}),Ti(this,Lt(fe,ae))},indexFromPos:function(ie){ie=Ti(this,ie);var ae=ie.ch;if(ie.lineae&&(ae=ie.from),ie.to!=null&&ie.to-1){ae.state.draggingText(ie),setTimeout(function(){return ae.display.input.focus()},20);return}try{var en=ie.dataTransfer.getData("Text");if(en){var Pt;if(ae.state.draggingText&&!ae.state.draggingText.copy&&(Pt=ae.listSelections()),Nc(ae.doc,fu(fe,fe)),Pt)for(var Hn=0;Hn=0;Xe--)Hc(ie.doc,"",he[Xe].from,he[Xe].to,"+delete");vo(ie)})}function Co(ie,ae,fe){var he=At(ie.text,ae+fe,fe);return he<0||he>ie.text.length?null:he}function Xo(ie,ae,fe){var he=Co(ie,ae.ch,fe);return he==null?null:new Lt(ae.line,he,fe<0?"after":"before")}function Qo(ie,ae,fe,he,me){if(ie){ae.doc.direction=="rtl"&&(me=-me);var De=Ue(fe,ae.doc.direction);if(De){var je=me<0?mt(De):De[0],Xe=me<0==(je.level==1),Ke=Xe?"after":"before",gt;if(je.level>0||ae.doc.direction=="rtl"){var en=Ol(ae,fe);gt=me<0?fe.text.length-1:0;var Pt=rc(ae,en,gt).top;gt=Yt(function(Hn){return rc(ae,en,Hn).top==Pt},me<0==(je.level==1)?je.from:je.to-1,gt),Ke=="before"&&(gt=Co(fe,gt,1))}else gt=me<0?je.to:je.from;return new Lt(he,gt,Ke)}}return new Lt(he,me<0?fe.text.length:0,me<0?"before":"after")}function qo(ie,ae,fe,he){var me=Ue(ae,ie.doc.direction);if(!me)return Xo(ae,fe,he);fe.ch>=ae.text.length?(fe.ch=ae.text.length,fe.sticky="before"):fe.ch<=0&&(fe.ch=0,fe.sticky="after");var De=Ee(me,fe.ch,fe.sticky),je=me[De];if(ie.doc.direction=="ltr"&&je.level%2==0&&(he>0?je.to>fe.ch:je.from=je.from&&Hn>=en.begin)){var In=Pt?"before":"after";return new Lt(fe.line,Hn,In)}}var Ui=function(ii,Yi,or){for(var vr=function(ws,Ml){return Ml?new Lt(fe.line,Xe(ws,1),"before"):new Lt(fe.line,ws,"after")};ii>=0&&ii0==(jr.level!=1),ta=Er?or.begin:Xe(or.end,-1);if(jr.from<=ta&&ta0?en.end:Xe(en.begin,-1);return Tt!=null&&!(he>0&&Tt==ae.text.length)&&(Qi=Ui(he>0?0:me.length-1,he,gt(Tt)),Qi)?Qi:null}var ms={selectAll:iu,singleSelection:function(ie){return ie.setSelection(ie.getCursor("anchor"),ie.getCursor("head"),on)},killLine:function(ie){return Jn(ie,function(ae){if(ae.empty()){var fe=ki(ie.doc,ae.head.line).text.length;return ae.head.ch==fe&&ae.head.line0)me=new Lt(me.line,me.ch+1),ie.replaceRange(De.charAt(me.ch-1)+De.charAt(me.ch-2),Lt(me.line,me.ch-2),me,"+transpose");else if(me.line>ie.doc.first){var je=ki(ie.doc,me.line-1).text;je&&(me=new Lt(me.line,1),ie.replaceRange(De.charAt(0)+ie.doc.lineSeparator()+je.charAt(je.length-1),Lt(me.line-1,je.length-1),me,"+transpose"))}}fe.push(new Ia(me,me))}ie.setSelections(fe)})},newlineAndIndent:function(ie){return Pa(ie,function(){for(var ae=ie.listSelections(),fe=ae.length-1;fe>=0;fe--)ie.replaceRange(ie.doc.lineSeparator(),ae[fe].anchor,ae[fe].head,"+input");ae=ie.listSelections();for(var he=0;heie&&Ft(ae,this.pos)==0&&fe==this.button};var sl,Kl;function La(ie,ae){var fe=+new Date;return Kl&&Kl.compare(fe,ie,ae)?(sl=Kl=null,"triple"):sl&&sl.compare(fe,ie,ae)?(Kl=new qa(fe,ie,ae),sl=null,"double"):(sl=new qa(fe,ie,ae),Kl=null,"single")}function jo(ie){var ae=this,fe=ae.display;if(!($t(ae,ie)||fe.activeTouch&&fe.input.supportsTouch())){if(fe.input.ensurePolled(),fe.shift=ie.shiftKey,xs(fe,ie)){Ve||(fe.scroller.draggable=!1,setTimeout(function(){return fe.scroller.draggable=!0},100));return}if(!$o(ae,ie)){var he=au(ae,ie),me=No(ie),De=he?La(he,me):"single";window.focus(),me==1&&ae.state.selectingText&&ae.state.selectingText(ie),!(he&&ia(ae,me,he,De,ie))&&(me==1?he?Ru(ae,he,De,ie):Wo(ie)==fe.scroller&&Hi(ie):me==2?(he&&hd(ae.doc,he),setTimeout(function(){return fe.input.focus()},20)):me==3&&(Me?ae.display.input.onContextMenu(ie):$i(ae)))}}}function ia(ie,ae,fe,he,me){var De="Click";return he=="double"?De="Double"+De:he=="triple"&&(De="Triple"+De),De=(ae==1?"Left":ae==2?"Middle":"Right")+De,pr(ie,yo(De,me),me,function(je){if(typeof je=="string"&&(je=ms[je]),!je)return!1;var Xe=!1;try{ie.isReadOnly()&&(ie.state.suppressEdits=!0),Xe=je(ie,fe)!=ei}finally{ie.state.suppressEdits=!1}return Xe})}function Yl(ie,ae,fe){var he=ie.getOption("configureMouse"),me=he?he(ie,ae,fe):{};if(me.unit==null){var De=le?fe.shiftKey&&fe.metaKey:fe.altKey;me.unit=De?"rectangle":ae=="single"?"char":ae=="double"?"word":"line"}return(me.extend==null||ie.doc.extend)&&(me.extend=ie.doc.extend||fe.shiftKey),me.addNew==null&&(me.addNew=de?fe.metaKey:fe.ctrlKey),me.moveOnDrag==null&&(me.moveOnDrag=!(de?fe.altKey:fe.ctrlKey)),me}function Ru(ie,ae,fe,he){Dt?setTimeout(kn(xi,ie),0):ie.curOp.focus=Jt();var me=Yl(ie,fe,he),De=ie.doc.sel,je;ie.options.dragDrop&&Lr&&!ie.isReadOnly()&&fe=="single"&&(je=De.contains(ae))>-1&&(Ft((je=De.ranges[je]).from(),ae)<0||ae.xRel>0)&&(Ft(je.to(),ae)>0||ae.xRel<0)?tc(ie,he,ae,me):Ua(ie,he,ae,me)}function tc(ie,ae,fe,he){var me=ie.display,De=!1,je=Bs(ie,function(gt){Ve&&(me.scroller.draggable=!1),ie.state.draggingText=!1,fn(me.wrapper.ownerDocument,"mouseup",je),fn(me.wrapper.ownerDocument,"mousemove",Xe),fn(me.scroller,"dragstart",Ke),fn(me.scroller,"drop",je),De||(Hi(gt),he.addNew||hd(ie.doc,fe,null,null,he.extend),Ve&&!St||Dt&&Wt==9?setTimeout(function(){me.wrapper.ownerDocument.body.focus({preventScroll:!0}),me.input.focus()},20):me.input.focus())}),Xe=function(gt){De=De||Math.abs(ae.clientX-gt.clientX)+Math.abs(ae.clientY-gt.clientY)>=10},Ke=function(){return De=!0};Ve&&(me.scroller.draggable=!0),ie.state.draggingText=je,je.copy=!he.moveOnDrag,me.scroller.dragDrop&&me.scroller.dragDrop(),rt(me.wrapper.ownerDocument,"mouseup",je),rt(me.wrapper.ownerDocument,"mousemove",Xe),rt(me.scroller,"dragstart",Ke),rt(me.scroller,"drop",je),$i(ie),setTimeout(function(){return me.input.focus()},20)}function fa(ie,ae,fe){if(fe=="char")return new Ia(ae,ae);if(fe=="word")return ie.findWordAt(ae);if(fe=="line")return new Ia(Lt(ae.line,0),Ti(ie.doc,Lt(ae.line+1,0)));var he=fe(ie,ae);return new Ia(he.from,he.to)}function Ua(ie,ae,fe,he){var me=ie.display,De=ie.doc;Hi(ae);var je,Xe,Ke=De.sel,gt=Ke.ranges;if(he.addNew&&!he.extend?(Xe=De.sel.contains(fe),Xe>-1?je=gt[Xe]:je=new Ia(fe,fe)):(je=De.sel.primary(),Xe=De.sel.primIndex),he.unit=="rectangle")he.addNew||(je=new Ia(fe,fe)),fe=au(ie,ae,!0,!0),Xe=-1;else{var en=fa(ie,fe,he.unit);he.extend?je=ac(je,en.anchor,en.head,he.extend):je=en}he.addNew?Xe==-1?(Xe=gt.length,Pu(De,Ul(ie,gt.concat([je]),Xe),{scroll:!1,origin:"*mouse"})):gt.length>1&>[Xe].empty()&&he.unit=="char"&&!he.extend?(Pu(De,Ul(ie,gt.slice(0,Xe).concat(gt.slice(Xe+1)),0),{scroll:!1,origin:"*mouse"}),Ke=De.sel):qu(De,Xe,je,xn):(Xe=0,Pu(De,new tu([je],0),xn),Ke=De.sel);var Pt=fe;function Hn(or){if(Ft(Pt,or)!=0)if(Pt=or,he.unit=="rectangle"){for(var vr=[],jr=ie.options.tabSize,Er=et(ki(De,fe.line).text,fe.ch,jr),ta=et(ki(De,or.line).text,or.ch,jr),ws=Math.min(Er,ta),Ml=Math.max(Er,ta),us=Math.min(fe.line,or.line),wl=Math.min(ie.lastLine(),Math.max(fe.line,or.line));us<=wl;us++){var Hs=ki(De,us).text,$s=yi(Hs,ws,jr);ws==Ml?vr.push(new Ia(Lt(us,$s),Lt(us,$s))):Hs.length>$s&&vr.push(new Ia(Lt(us,$s),Lt(us,yi(Hs,Ml,jr))))}vr.length||vr.push(new Ia(fe,fe)),Pu(De,Ul(ie,Ke.ranges.slice(0,Xe).concat(vr),Xe),{origin:"*mouse",scroll:!1}),ie.scrollIntoView(or)}else{var wu=je,rs=fa(ie,or,he.unit),Fs=wu.anchor,gs;Ft(rs.anchor,Fs)>0?(gs=rs.head,Fs=Ri(wu.from(),rs.anchor)):(gs=rs.anchor,Fs=Ii(wu.to(),rs.head));var dl=Ke.ranges.slice(0);dl[Xe]=Po(ie,new Ia(Ti(De,Fs),gs)),Pu(De,Ul(ie,dl,Xe),xn)}}var In=me.wrapper.getBoundingClientRect(),Ui=0;function Qi(or){var vr=++Ui,jr=au(ie,or,!0,he.unit=="rectangle");if(jr)if(Ft(jr,Pt)!=0){ie.curOp.focus=Jt(),Hn(jr);var Er=Gn(me,De);(jr.line>=Er.to||jr.lineIn.bottom?20:0;ta&&setTimeout(Bs(ie,function(){Ui==vr&&(me.scroller.scrollTop+=ta,Qi(or))}),50)}}function Tt(or){ie.state.selectingText=!1,Ui=1/0,or&&(Hi(or),me.input.focus()),fn(me.wrapper.ownerDocument,"mousemove",ii),fn(me.wrapper.ownerDocument,"mouseup",Yi),De.history.lastSelOrigin=null}var ii=Bs(ie,function(or){or.buttons===0||!No(or)?Tt(or):Qi(or)}),Yi=Bs(ie,Tt);ie.state.selectingText=Yi,rt(me.wrapper.ownerDocument,"mousemove",ii),rt(me.wrapper.ownerDocument,"mouseup",Yi)}function Po(ie,ae){var fe=ae.anchor,he=ae.head,me=ki(ie.doc,fe.line);if(Ft(fe,he)==0&&fe.sticky==he.sticky)return ae;var De=Ue(me);if(!De)return ae;var je=Ee(De,fe.ch,fe.sticky),Xe=De[je];if(Xe.from!=fe.ch&&Xe.to!=fe.ch)return ae;var Ke=je+(Xe.from==fe.ch==(Xe.level!=1)?0:1);if(Ke==0||Ke==De.length)return ae;var gt;if(he.line!=fe.line)gt=(he.line-fe.line)*(ie.doc.direction=="ltr"?1:-1)>0;else{var en=Ee(De,he.ch,he.sticky),Pt=en-je||(he.ch-fe.ch)*(Xe.level==1?-1:1);en==Ke-1||en==Ke?gt=Pt<0:gt=Pt>0}var Hn=De[Ke+(gt?-1:0)],In=gt==(Hn.level==1),Ui=In?Hn.from:Hn.to,Qi=In?"after":"before";return fe.ch==Ui&&fe.sticky==Qi?ae:new Ia(new Lt(fe.line,Ui,Qi),he)}function Wr(ie,ae,fe,he){var me,De;if(ae.touches)me=ae.touches[0].clientX,De=ae.touches[0].clientY;else try{me=ae.clientX,De=ae.clientY}catch(Hn){return!1}if(me>=Math.floor(ie.display.gutters.getBoundingClientRect().right))return!1;he&&Hi(ae);var je=ie.display,Xe=je.lineDiv.getBoundingClientRect();if(De>Xe.bottom||!Mn(ie,fe))return sr(ae);De-=Xe.top-je.viewOffset;for(var Ke=0;Ke=me){var en=Di(ie.doc,De),Pt=ie.display.gutterSpecs[Ke];return an(ie,fe,ie,en,Pt.className,ae),sr(ae)}}}function $o(ie,ae){return Wr(ie,ae,"gutterClick",!0)}function Ka(ie,ae){xs(ie.display,ae)||Qs(ie,ae)||$t(ie,ae,"contextmenu")||Me||ie.display.input.onContextMenu(ae)}function Qs(ie,ae){return Mn(ie,"gutterContextMenu")?Wr(ie,ae,"gutterContextMenu",!1):!1}function Sc(ie){ie.display.wrapper.className=ie.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+ie.options.theme.replace(/(^|\s)\s*/g," cm-s-"),hh(ie)}var Xl={toString:function(){return"CodeMirror.Init"}},sc={},Jl={};function nd(ie){var ae=ie.optionHandlers;function fe(he,me,De,je){ie.defaults[he]=me,De&&(ae[he]=je?function(Xe,Ke,gt){gt!=Xl&&De(Xe,Ke,gt)}:De)}ie.defineOption=fe,ie.Init=Xl,fe("value","",function(he,me){return he.setValue(me)},!0),fe("mode",null,function(he,me){he.doc.modeOption=me,ha(he)},!0),fe("indentUnit",2,ha,!0),fe("indentWithTabs",!1),fe("smartIndent",!0),fe("tabSize",4,function(he){Ps(he),hh(he),tl(he)},!0),fe("lineSeparator",null,function(he,me){if(he.doc.lineSep=me,!!me){var De=[],je=he.doc.first;he.doc.iter(function(Ke){for(var gt=0;;){var en=Ke.text.indexOf(me,gt);if(en==-1)break;gt=en+me.length,De.push(Lt(je,en))}je++});for(var Xe=De.length-1;Xe>=0;Xe--)Hc(he.doc,me,De[Xe],Lt(De[Xe].line,De[Xe].ch+me.length))}}),fe("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(he,me,De){he.state.specialChars=new RegExp(me.source+(me.test(" ")?"":"| "),"g"),De!=Xl&&he.refresh()}),fe("specialCharPlaceholder",Ss,function(he){return he.refresh()},!0),fe("electricChars",!0),fe("inputStyle",ne?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),fe("spellcheck",!1,function(he,me){return he.getInputField().spellcheck=me},!0),fe("autocorrect",!1,function(he,me){return he.getInputField().autocorrect=me},!0),fe("autocapitalize",!1,function(he,me){return he.getInputField().autocapitalize=me},!0),fe("rtlMoveVisually",!pe),fe("wholeLineUpdateBefore",!0),fe("theme","default",function(he){Sc(he),wa(he)},!0),fe("keyMap","default",function(he,me,De){var je=xa(me),Xe=De!=Xl&&xa(De);Xe&&Xe.detach&&Xe.detach(he,je),je.attach&&je.attach(he,Xe||null)}),fe("extraKeys",null),fe("configureMouse",null),fe("lineWrapping",!1,vs,!0),fe("gutters",[],function(he,me){he.display.gutterSpecs=Ns(me,he.options.lineNumbers),wa(he)},!0),fe("fixedGutter",!0,function(he,me){he.display.gutters.style.left=me?tf(he.display)+"px":"0",he.refresh()},!0),fe("coverGutterNextToScrollbar",!1,function(he){return Ga(he)},!0),fe("scrollbarStyle","native",function(he){_s(he),Ga(he),he.display.scrollbars.setScrollTop(he.doc.scrollTop),he.display.scrollbars.setScrollLeft(he.doc.scrollLeft)},!0),fe("lineNumbers",!1,function(he,me){he.display.gutterSpecs=Ns(he.options.gutters,me),wa(he)},!0),fe("firstLineNumber",1,wa,!0),fe("lineNumberFormatter",function(he){return he},wa,!0),fe("showCursorWhenSelecting",!1,It,!0),fe("resetSelectionOnContextMenu",!0),fe("lineWiseCopyCut",!0),fe("pasteLinesPerSelection",!0),fe("selectionsMayTouch",!1),fe("readOnly",!1,function(he,me){me=="nocursor"&&(Gi(he),he.display.input.blur()),he.display.input.readOnlyChanged(me)}),fe("screenReaderLabel",null,function(he,me){me=me===""?null:me,he.display.input.screenReaderLabelChanged(me)}),fe("disableInput",!1,function(he,me){me||he.display.input.reset()},!0),fe("dragDrop",!0,mr),fe("allowDropFileTypes",null),fe("cursorBlinkRate",530),fe("cursorScrollMargin",0),fe("cursorHeight",1,It,!0),fe("singleCursorHeightPerLine",!0,It,!0),fe("workTime",100),fe("workDelay",100),fe("flattenSpans",!0,Ps,!0),fe("addModeClass",!1,Ps,!0),fe("pollInterval",100),fe("undoDepth",200,function(he,me){return he.doc.history.undoDepth=me}),fe("historyEventDelay",1250),fe("viewportMargin",10,function(he){return he.refresh()},!0),fe("maxHighlightLength",1e4,Ps,!0),fe("moveInputWithCursor",!0,function(he,me){me||he.display.input.resetPosition()}),fe("tabindex",null,function(he,me){return he.display.input.getField().tabIndex=me||""}),fe("autofocus",null),fe("direction","ltr",function(he,me){return he.doc.setDirection(me)},!0),fe("phrases",null)}function mr(ie,ae,fe){var he=fe&&fe!=Xl;if(!ae!=!he){var me=ie.display.dragFunctions,De=ae?rt:fn;De(ie.display.scroller,"dragstart",me.start),De(ie.display.scroller,"dragenter",me.enter),De(ie.display.scroller,"dragover",me.over),De(ie.display.scroller,"dragleave",me.leave),De(ie.display.scroller,"drop",me.drop)}}function vs(ie){ie.options.lineWrapping?(vn(ie.display.wrapper,"CodeMirror-wrap"),ie.display.sizer.style.minWidth="",ie.display.sizerWidth=null):(lt(ie.display.wrapper,"CodeMirror-wrap"),Xa(ie)),Uo(ie),tl(ie),hh(ie),setTimeout(function(){return Ga(ie)},100)}function Aa(ie,ae){var fe=this;if(!(this instanceof Aa))return new Aa(ie,ae);this.options=ae=ae?ci(ae):{},ci(sc,ae,!1);var he=ae.value;typeof he=="string"?he=new Ei(he,ae.mode,null,ae.lineSeparator,ae.direction):ae.mode&&(he.modeOption=ae.mode),this.doc=he;var me=new Aa.inputStyles[ae.inputStyle](this),De=this.display=new gc(ie,he,me,ae);De.wrapper.CodeMirror=this,Sc(this),ae.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),_s(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new ze,keySeq:null,specialChars:null},ae.autofocus&&!ne&&De.input.focus(),Dt&&Wt<11&&setTimeout(function(){return fe.display.input.reset(!0)},20),qs(this),xo(),zs(this),this.curOp.forceUpdate=!0,pc(this,he),ae.autofocus&&!ne||this.hasFocus()?setTimeout(function(){fe.hasFocus()&&!fe.state.focused&&vi(fe)},20):Gi(this);for(var je in Jl)Jl.hasOwnProperty(je)&&Jl[je](this,ae[je],Xl);xl(this),ae.finishInit&&ae.finishInit(this);for(var Xe=0;Xe20*20}rt(ae.scroller,"touchstart",function(Ke){if(!$t(ie,Ke)&&!De(Ke)&&!$o(ie,Ke)){ae.input.ensurePolled(),clearTimeout(fe);var gt=+new Date;ae.activeTouch={start:gt,moved:!1,prev:gt-he.end<=300?he:null},Ke.touches.length==1&&(ae.activeTouch.left=Ke.touches[0].pageX,ae.activeTouch.top=Ke.touches[0].pageY)}}),rt(ae.scroller,"touchmove",function(){ae.activeTouch&&(ae.activeTouch.moved=!0)}),rt(ae.scroller,"touchend",function(Ke){var gt=ae.activeTouch;if(gt&&!xs(ae,Ke)&>.left!=null&&!gt.moved&&new Date-gt.start<300){var en=ie.coordsChar(ae.activeTouch,"page"),Pt;!gt.prev||je(gt,gt.prev)?Pt=new Ia(en,en):!gt.prev.prev||je(gt,gt.prev.prev)?Pt=ie.findWordAt(en):Pt=new Ia(Lt(en.line,0),Ti(ie.doc,Lt(en.line+1,0))),ie.setSelection(Pt.anchor,Pt.head),ie.focus(),Hi(Ke)}me()}),rt(ae.scroller,"touchcancel",me),rt(ae.scroller,"scroll",function(){ae.scroller.clientHeight&&(Ro(ie,ae.scroller.scrollTop),$a(ie,ae.scroller.scrollLeft,!0),an(ie,"scroll",ie))}),rt(ae.scroller,"mousewheel",function(Ke){return cl(ie,Ke)}),rt(ae.scroller,"DOMMouseScroll",function(Ke){return cl(ie,Ke)}),rt(ae.wrapper,"scroll",function(){return ae.wrapper.scrollTop=ae.wrapper.scrollLeft=0}),ae.dragFunctions={enter:function(Ke){$t(ie,Ke)||ro(Ke)},over:function(Ke){$t(ie,Ke)||(wo(ie,Ke),ro(Ke))},start:function(Ke){return Yr(ie,Ke)},drop:Bs(ie,bi),leave:function(Ke){$t(ie,Ke)||Nr(ie)}};var Xe=ae.input.getField();rt(Xe,"keyup",function(Ke){return Xs.call(ie,Ke)}),rt(Xe,"keydown",Bs(ie,fs)),rt(Xe,"keypress",Bs(ie,Os)),rt(Xe,"focus",function(Ke){return vi(ie,Ke)}),rt(Xe,"blur",function(Ke){return Gi(ie,Ke)})}var Zu=[];Aa.defineInitHook=function(ie){return Zu.push(ie)};function Us(ie,ae,fe,he){var me=ie.doc,De;fe==null&&(fe="add"),fe=="smart"&&(me.mode.indent?De=Kr(ie,ae).state:fe="prev");var je=ie.options.tabSize,Xe=ki(me,ae),Ke=et(Xe.text,null,je);Xe.stateAfter&&(Xe.stateAfter=null);var gt=Xe.text.match(/^\s*/)[0],en;if(!he&&!/\S/.test(Xe.text))en=0,fe="not";else if(fe=="smart"&&(en=me.mode.indent(De,Xe.text.slice(gt.length),Xe.text),en==ei||en>150)){if(!he)return;fe="prev"}fe=="prev"?ae>me.first?en=et(ki(me,ae-1).text,null,je):en=0:fe=="add"?en=Ke+ie.options.indentUnit:fe=="subtract"?en=Ke-ie.options.indentUnit:typeof fe=="number"&&(en=Ke+fe),en=Math.max(0,en);var Pt="",Hn=0;if(ie.options.indentWithTabs)for(var In=Math.floor(en/je);In;--In)Hn+=je,Pt+=" ";if(Hnje,Ke=Tr(ae),gt=null;if(Xe&&he.ranges.length>1)if(ru&&ru.text.join(` +`)==ae){if(he.ranges.length%ru.text.length==0){gt=[];for(var en=0;en=0;Hn--){var In=he.ranges[Hn],Ui=In.from(),Qi=In.to();In.empty()&&(fe&&fe>0?Ui=Lt(Ui.line,Ui.ch-fe):ie.state.overwrite&&!Xe?Qi=Lt(Qi.line,Math.min(ki(De,Qi.line).text.length,Qi.ch+mt(Ke).length)):Xe&&ru&&ru.lineWise&&ru.text.join(` `)==Ke.join(` -`)&&(Ui=Xi=Lt(Ui.line,0)));var Ot={from:Ui,to:Xi,text:gt?gt[Hn%gt.length]:Ke,origin:me||(Xe?"paste":ie.state.cutIncoming>je?"cut":"+input")};ec(ie.doc,Ot),ao(ie,"inputRead",ie,Ot)}ae&&!Xe&&bu(ie,ae),vo(ie),ie.curOp.updateInput<2&&(ie.curOp.updateInput=Pt),ie.curOp.typing=!0,ie.state.pasteIncoming=ie.state.cutIncoming=-1}function of(ie,ae){var fe=ie.clipboardData&&ie.clipboardData.getData("Text");if(fe)return ie.preventDefault(),!ae.isReadOnly()&&!ae.options.disableInput&&Pa(ae,function(){return Vd(ae,fe,0,null,"paste")}),!0}function bu(ie,ae){if(!(!ie.options.electricChars||!ie.options.smartIndent))for(var fe=ie.doc.sel,he=fe.ranges.length-1;he>=0;he--){var me=fe.ranges[he];if(!(me.head.ch>100||he&&fe.ranges[he-1].head.line==me.head.line)){var De=ie.getModeAt(me.head),je=!1;if(De.electricChars){for(var Xe=0;Xe-1){je=Us(ie,me.head.line,"smart");break}}else De.electricInput&&De.electricInput.test(ki(ie.doc,me.head.line).text.slice(0,me.head.ch))&&(je=Us(ie,me.head.line,"smart"));je&&ao(ie,"electricInput",ie,me.head.line)}}}function Ef(ie){for(var ae=[],fe=[],he=0;heDe&&(Us(this,Xe.head.line,he,!0),De=Xe.head.line,je==this.doc.sel.primIndex&&vo(this));else{var Ke=Xe.from(),gt=Xe.to(),$t=Math.max(De,Ke.line);De=Math.min(this.lastLine(),gt.line-(gt.ch?0:1))+1;for(var Pt=$t;Pt0&&qu(this.doc,je,new Ia(Ke,Hn[je].to()),rn)}}}),getTokenAt:function(he,me){return Vn(this,he,me)},getLineTokens:function(he,me){return Vn(this,Lt(he),me,!0)},getTokenTypeAt:function(he){he=Ti(this.doc,he);var me=co(this,ki(this.doc,he.line)),De=0,je=(me.length-1)/2,Xe=he.ch,Ke;if(Xe==0)Ke=me[2];else for(;;){var gt=De+je>>1;if((gt?me[gt*2-1]:0)>=Xe)je=gt;else if(me[gt*2+1]Ke&&(he=Ke,je=!0),Xe=ki(this.doc,he)}else Xe=he;return ou(this,Xe,{top:0,left:0},me||"page",De||je).top+(je?this.doc.height-Ba(Xe):0)},defaultTextHeight:function(){return hc(this.display)},defaultCharWidth:function(){return Au(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(he,me,De,je,Xe){var Ke=this.display;he=pl(this,Ti(this.doc,he));var gt=he.bottom,$t=he.left;if(me.style.position="absolute",me.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(me),Ke.sizer.appendChild(me),je=="over")gt=he.top;else if(je=="above"||je=="near"){var Pt=Math.max(Ke.wrapper.clientHeight,this.doc.height),Hn=Math.max(Ke.sizer.clientWidth,Ke.lineSpace.clientWidth);(je=="above"||he.bottom+me.offsetHeight>Pt)&&he.top>me.offsetHeight?gt=he.top-me.offsetHeight:he.bottom+me.offsetHeight<=Pt&&(gt=he.bottom),$t+me.offsetWidth>Hn&&($t=Hn-me.offsetWidth)}me.style.top=gt+"px",me.style.left=me.style.right="",Xe=="right"?($t=Ke.sizer.clientWidth-me.offsetWidth,me.style.right="0px"):(Xe=="left"?$t=0:Xe=="middle"&&($t=(Ke.sizer.clientWidth-me.offsetWidth)/2),me.style.left=$t+"px"),De&&lo(this,{left:$t,top:gt,right:$t+me.offsetWidth,bottom:gt+me.offsetHeight})},triggerOnKeyDown:As(fs),triggerOnKeyPress:As(Os),triggerOnKeyUp:Xs,triggerOnMouseDown:As(jo),execCommand:function(he){if(ms.hasOwnProperty(he))return ms[he].call(null,this)},triggerElectric:As(function(he){bu(this,he)}),findPosH:function(he,me,De,je){var Xe=1;me<0&&(Xe=-1,me=-me);for(var Ke=Ti(this.doc,he),gt=0;gt0&&$t(De.charAt(je-1));)--je;for(;Xe.5||this.options.lineWrapping)&&Uo(this),an(this,"refresh",this)}),swapDoc:As(function(he){var me=this.doc;return me.cm=null,this.state.selectingText&&this.state.selectingText(),pc(this,he),hh(this),this.display.input.reset(),uo(this,he.scrollLeft,he.scrollTop),this.curOp.forceScroll=!0,ao(this,"swapDoc",this,me),me}),phrase:function(he){var me=this.options.phrases;return me&&Object.prototype.hasOwnProperty.call(me,he)?me[he]:he},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},On(ie),ie.registerHelper=function(he,me,De){fe.hasOwnProperty(he)||(fe[he]=ie[he]={_global:[]}),fe[he][me]=De},ie.registerGlobalHelper=function(he,me,De,je){ie.registerHelper(he,me,je),fe[he]._global.push({pred:De,val:je})}}function af(ie,ae,fe,he,me){var De=ae,je=fe,Xe=ki(ie,ae.line),Ke=me&&ie.direction=="rtl"?-fe:fe;function gt(){var Ji=ae.line+Ke;return Ji=ie.first+ie.size?!1:(ae=new Lt(Ji,ae.ch,ae.sticky),Xe=ki(ie,Ji))}function $t(Ji){var or;if(he=="codepoint"){var vr=Xe.text.charCodeAt(ae.ch+(he>0?0:-1));isNaN(vr)?or=null:or=new Lt(ae.line,Math.max(0,Math.min(Xe.text.length,ae.ch+fe*(vr>=55296&&vr<56320?2:1))),-fe)}else me?or=qo(ie.cm,Xe,ae,fe):or=Xo(Xe,ae,fe);if(or==null)if(!Ji&>())ae=Qo(me,ie.cm,Xe,ae.line,Ke);else return!1;else ae=or;return!0}if(he=="char"||he=="codepoint")$t();else if(he=="column")$t(!0);else if(he=="word"||he=="group")for(var Pt=null,Hn=he=="group",In=ie.cm&&ie.cm.getHelper(ae,"wordChars"),Ui=!0;!(fe<0&&!$t(!Ui));Ui=!1){var Xi=Xe.text.charAt(ae.ch)||` -`,Ot=ni(Xi,In)?"w":Hn&&Xi==` -`?"n":!Hn||/\s/.test(Xi)?null:"p";if(Hn&&!Ui&&!Ot&&(Ot="s"),Pt&&Pt!=Ot){fe<0&&(fe=1,$t(),ae.sticky="after");break}if(Ot&&(Pt=Ot),fe>0&&!$t(!Ui))break}var ri=eh(ie,ae,De,je,!0);return un(De,ri)&&(ri.hitSide=!0),ri}function ih(ie,ae,fe,he){var me=ie.doc,De=ae.left,je;if(he=="page"){var Xe=Math.min(ie.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ke=Math.max(Xe-.5*hc(ie.display),3);je=(fe>0?ae.bottom:ae.top)+fe*Ke}else he=="line"&&(je=fe>0?ae.bottom+3:ae.top-3);for(var gt;gt=Rd(ie,De,je),!!gt.outside;){if(fe<0?je<=0:je>=me.height){gt.hitSide=!0;break}je+=fe*5}return gt}var Js=function(ie){this.cm=ie,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ze,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Js.prototype.init=function(ie){var ae=this,fe=this,he=fe.cm,me=fe.div=ie.lineDiv;ng(me,he.options.spellcheck,he.options.autocorrect,he.options.autocapitalize);function De(Xe){for(var Ke=Xe.target;Ke;Ke=Ke.parentNode){if(Ke==me)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ke.className))break}return!1}rt(me,"paste",function(Xe){!De(Xe)||qt(he,Xe)||of(Xe,he)||Wt<=11&&setTimeout(Bs(he,function(){return ae.updateFromDOM()}),20)}),rt(me,"compositionstart",function(Xe){ae.composing={data:Xe.data,done:!1}}),rt(me,"compositionupdate",function(Xe){ae.composing||(ae.composing={data:Xe.data,done:!1})}),rt(me,"compositionend",function(Xe){ae.composing&&(Xe.data!=ae.composing.data&&ae.readFromDOMSoon(),ae.composing.done=!0)}),rt(me,"touchstart",function(){return fe.forceCompositionEnd()}),rt(me,"input",function(){ae.composing||ae.readFromDOMSoon()});function je(Xe){if(!(!De(Xe)||qt(he,Xe))){if(he.somethingSelected())gd({lineWise:!1,text:he.getSelections()}),Xe.type=="cut"&&he.replaceSelection("",null,"cut");else if(he.options.lineWiseCopyCut){var Ke=Ef(he);gd({lineWise:!0,text:Ke.text}),Xe.type=="cut"&&he.operation(function(){he.setSelections(Ke.ranges,0,rn),he.replaceSelection("",null,"cut")})}else return;if(Xe.clipboardData){Xe.clipboardData.clearData();var gt=ru.text.join(` -`);if(Xe.clipboardData.setData("Text",gt),Xe.clipboardData.getData("Text")==gt){Xe.preventDefault();return}}var $t=Nf(),Pt=$t.firstChild;he.display.lineSpace.insertBefore($t,he.display.lineSpace.firstChild),Pt.value=ru.text.join(` -`);var Hn=document.activeElement;hi(Pt),setTimeout(function(){he.display.lineSpace.removeChild($t),Hn.focus(),Hn==me&&fe.showPrimarySelection()},50)}}rt(me,"copy",je),rt(me,"cut",je)},Js.prototype.screenReaderLabelChanged=function(ie){ie?this.div.setAttribute("aria-label",ie):this.div.removeAttribute("aria-label")},Js.prototype.prepareSelection=function(){var ie=Gt(this.cm,!1);return ie.focus=document.activeElement==this.div,ie},Js.prototype.showSelection=function(ie,ae){!ie||!this.cm.display.view.length||((ie.focus||ae)&&this.showPrimarySelection(),this.showMultipleSelections(ie))},Js.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Js.prototype.showPrimarySelection=function(){var ie=this.getSelection(),ae=this.cm,fe=ae.doc.sel.primary(),he=fe.from(),me=fe.to();if(ae.display.viewTo==ae.display.viewFrom||he.line>=ae.display.viewTo||me.line=ae.display.viewFrom&&zh(ae,he)||{node:Xe[0].measure.map[2],offset:0},gt=me.lineie.firstLine()&&(he=Lt(he.line-1,ki(ie.doc,he.line-1).length)),me.ch==ki(ie.doc,me.line).text.length&&me.lineae.viewTo-1)return!1;var De,je,Xe;he.line==ae.viewFrom||(De=Xu(ie,he.line))==0?(je=Et(ae.view[0].line),Xe=ae.view[0].node):(je=Et(ae.view[De].line),Xe=ae.view[De-1].node.nextSibling);var Ke=Xu(ie,me.line),gt,$t;if(Ke==ae.view.length-1?(gt=ae.viewTo-1,$t=ae.lineDiv.lastChild):(gt=Et(ae.view[Ke+1].line)-1,$t=ae.view[Ke+1].node.previousSibling),!Xe)return!1;for(var Pt=ie.doc.splitLines(Vh(ie,Xe,$t,je,gt)),Hn=Vr(ie.doc,Lt(je,0),Lt(gt,ki(ie.doc,gt).text.length));Pt.length>1&&Hn.length>1;)if(mt(Pt)==mt(Hn))Pt.pop(),Hn.pop(),gt--;else if(Pt[0]==Hn[0])Pt.shift(),Hn.shift(),je++;else break;for(var In=0,Ui=0,Xi=Pt[0],Ot=Hn[0],ri=Math.min(Xi.length,Ot.length);Inhe.ch&&Ji.charCodeAt(Ji.length-Ui-1)==or.charCodeAt(or.length-Ui-1);)In--,Ui++;Pt[Pt.length-1]=Ji.slice(0,Ji.length-Ui).replace(/^\u200b+/,""),Pt[0]=Pt[0].slice(In).replace(/\u200b+$/,"");var jr=Lt(je,In),Er=Lt(gt,Hn.length?mt(Hn).length-Ui:0);if(Pt.length>1||Pt[0]||Ft(jr,Er))return Hc(ie.doc,Pt,jr,Er,"+input"),!0},Js.prototype.ensurePolled=function(){this.forceCompositionEnd()},Js.prototype.reset=function(){this.forceCompositionEnd()},Js.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Js.prototype.readFromDOMSoon=function(){var ie=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(ie.readDOMTimeout=null,ie.composing)if(ie.composing.done)ie.composing=null;else return;ie.updateFromDOM()},80))},Js.prototype.updateFromDOM=function(){var ie=this;(this.cm.isReadOnly()||!this.pollContent())&&Pa(this.cm,function(){return tl(ie.cm)})},Js.prototype.setUneditable=function(ie){ie.contentEditable="false"},Js.prototype.onKeyPress=function(ie){ie.charCode==0||this.composing||(ie.preventDefault(),this.cm.isReadOnly()||Bs(this.cm,Vd)(this.cm,String.fromCharCode(ie.charCode==null?ie.keyCode:ie.charCode),0))},Js.prototype.readOnlyChanged=function(ie){this.div.contentEditable=String(ie!="nocursor")},Js.prototype.onContextMenu=function(){},Js.prototype.resetPosition=function(){},Js.prototype.needsContentAttribute=!0;function zh(ie,ae){var fe=Id(ie,ae.line);if(!fe||fe.hidden)return null;var he=ki(ie.doc,ae.line),me=Jd(fe,he,ae.line),De=Ue(he,ie.doc.direction),je="left";if(De){var Xe=Ee(De,ae.ch);je=Xe%2?"right":"left"}var Ke=Dc(me.map,ae.ch,je);return Ke.offset=Ke.collapse=="right"?Ke.end:Ke.start,Ke}function sf(ie){for(var ae=ie;ae;ae=ae.parentNode)if(/CodeMirror-gutter-wrapper/.test(ae.className))return!0;return!1}function vh(ie,ae){return ae&&(ie.bad=!0),ie}function Vh(ie,ae,fe,he,me){var De="",je=!1,Xe=ie.doc.lineSeparator(),Ke=!1;function gt(In){return function(Ui){return Ui.id==In}}function $t(){je&&(De+=Xe,Ke&&(De+=Xe),je=Ke=!1)}function Pt(In){In&&($t(),De+=In)}function Hn(In){if(In.nodeType==1){var Ui=In.getAttribute("cm-text");if(Ui){Pt(Ui);return}var Xi=In.getAttribute("cm-marker"),Ot;if(Xi){var ri=ie.findMarks(Lt(he,0),Lt(me+1,0),gt(+Xi));ri.length&&(Ot=ri[0].find(0))&&Pt(Vr(ie.doc,Ot.from,Ot.to).join(Xe));return}if(In.getAttribute("contenteditable")=="false")return;var Ji=/^(pre|div|p|li|table|br)$/i.test(In.nodeName);if(!/^br$/i.test(In.nodeName)&&In.textContent.length==0)return;Ji&&$t();for(var or=0;or=9&&ae.hasSelection&&(ae.hasSelection=null),fe.poll()}),rt(me,"paste",function(je){qt(he,je)||of(je,he)||(he.state.pasteIncoming=+new Date,fe.fastPoll())});function De(je){if(!qt(he,je)){if(he.somethingSelected())gd({lineWise:!1,text:he.getSelections()});else if(he.options.lineWiseCopyCut){var Xe=Ef(he);gd({lineWise:!0,text:Xe.text}),je.type=="cut"?he.setSelections(Xe.ranges,null,rn):(fe.prevInput="",me.value=Xe.text.join(` -`),hi(me))}else return;je.type=="cut"&&(he.state.cutIncoming=+new Date)}}rt(me,"cut",De),rt(me,"copy",De),rt(ie.scroller,"paste",function(je){if(!(xs(ie,je)||qt(he,je))){if(!me.dispatchEvent){he.state.pasteIncoming=+new Date,fe.focus();return}var Xe=new Event("paste");Xe.clipboardData=je.clipboardData,me.dispatchEvent(Xe)}}),rt(ie.lineSpace,"selectstart",function(je){xs(ie,je)||Hi(je)}),rt(me,"compositionstart",function(){var je=he.getCursor("from");fe.composing&&fe.composing.range.clear(),fe.composing={start:je,range:he.markText(je,he.getCursor("to"),{className:"CodeMirror-composing"})}}),rt(me,"compositionend",function(){fe.composing&&(fe.poll(),fe.composing.range.clear(),fe.composing=null)})},Bu.prototype.createField=function(ie){this.wrapper=Nf(),this.textarea=this.wrapper.firstChild},Bu.prototype.screenReaderLabelChanged=function(ie){ie?this.textarea.setAttribute("aria-label",ie):this.textarea.removeAttribute("aria-label")},Bu.prototype.prepareSelection=function(){var ie=this.cm,ae=ie.display,fe=ie.doc,he=Gt(ie);if(ie.options.moveInputWithCursor){var me=pl(ie,fe.sel.primary().head,"div"),De=ae.wrapper.getBoundingClientRect(),je=ae.lineDiv.getBoundingClientRect();he.teTop=Math.max(0,Math.min(ae.wrapper.clientHeight-10,me.top+je.top-De.top)),he.teLeft=Math.max(0,Math.min(ae.wrapper.clientWidth-10,me.left+je.left-De.left))}return he},Bu.prototype.showSelection=function(ie){var ae=this.cm,fe=ae.display;yt(fe.cursorDiv,ie.cursors),yt(fe.selectionDiv,ie.selection),ie.teTop!=null&&(this.wrapper.style.top=ie.teTop+"px",this.wrapper.style.left=ie.teLeft+"px")},Bu.prototype.reset=function(ie){if(!(this.contextMenuPending||this.composing)){var ae=this.cm;if(ae.somethingSelected()){this.prevInput="";var fe=ae.getSelection();this.textarea.value=fe,ae.state.focused&&hi(this.textarea),Dt&&Wt>=9&&(this.hasSelection=fe)}else ie||(this.prevInput=this.textarea.value="",Dt&&Wt>=9&&(this.hasSelection=null))}},Bu.prototype.getField=function(){return this.textarea},Bu.prototype.supportsTouch=function(){return!1},Bu.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ne||Jt()!=this.textarea))try{this.textarea.focus()}catch(ie){}},Bu.prototype.blur=function(){this.textarea.blur()},Bu.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Bu.prototype.receivedFocus=function(){this.slowPoll()},Bu.prototype.slowPoll=function(){var ie=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){ie.poll(),ie.cm.state.focused&&ie.slowPoll()})},Bu.prototype.fastPoll=function(){var ie=!1,ae=this;ae.pollingFast=!0;function fe(){var he=ae.poll();!he&&!ie?(ie=!0,ae.polling.set(60,fe)):(ae.pollingFast=!1,ae.slowPoll())}ae.polling.set(20,fe)},Bu.prototype.poll=function(){var ie=this,ae=this.cm,fe=this.textarea,he=this.prevInput;if(this.contextMenuPending||!ae.state.focused||Be(fe)&&!he&&!this.composing||ae.isReadOnly()||ae.options.disableInput||ae.state.keySeq)return!1;var me=fe.value;if(me==he&&!ae.somethingSelected())return!1;if(Dt&&Wt>=9&&this.hasSelection===me||de&&/[\uf700-\uf7ff]/.test(me))return ae.display.input.reset(),!1;if(ae.doc.sel==ae.display.selForContextMenu){var De=me.charCodeAt(0);if(De==8203&&!he&&(he="\u200B"),De==8666)return this.reset(),this.cm.execCommand("undo")}for(var je=0,Xe=Math.min(he.length,me.length);je1e3||me.indexOf(` -`)>-1?fe.value=ie.prevInput="":ie.prevInput=me,ie.composing&&(ie.composing.range.clear(),ie.composing.range=ae.markText(ie.composing.start,ae.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Bu.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Bu.prototype.onKeyPress=function(){Dt&&Wt>=9&&(this.hasSelection=null),this.fastPoll()},Bu.prototype.onContextMenu=function(ie){var ae=this,fe=ae.cm,he=fe.display,me=ae.textarea;ae.contextMenuPending&&ae.contextMenuPending();var De=au(fe,ie),je=he.scroller.scrollTop;if(!De||pt)return;var Xe=fe.options.resetSelectionOnContextMenu;Xe&&fe.doc.sel.contains(De)==-1&&Bs(fe,Pu)(fe.doc,fu(De),rn);var Ke=me.style.cssText,gt=ae.wrapper.style.cssText,$t=ae.wrapper.offsetParent.getBoundingClientRect();ae.wrapper.style.cssText="position: static",me.style.cssText=`position: absolute; width: 30px; height: 30px; - top: `+(ie.clientY-$t.top-5)+"px; left: "+(ie.clientX-$t.left-5)+`px; +`)&&(Ui=Qi=Lt(Ui.line,0)));var Tt={from:Ui,to:Qi,text:gt?gt[Hn%gt.length]:Ke,origin:me||(Xe?"paste":ie.state.cutIncoming>je?"cut":"+input")};ec(ie.doc,Tt),ao(ie,"inputRead",ie,Tt)}ae&&!Xe&&bu(ie,ae),vo(ie),ie.curOp.updateInput<2&&(ie.curOp.updateInput=Pt),ie.curOp.typing=!0,ie.state.pasteIncoming=ie.state.cutIncoming=-1}function of(ie,ae){var fe=ie.clipboardData&&ie.clipboardData.getData("Text");if(fe)return ie.preventDefault(),!ae.isReadOnly()&&!ae.options.disableInput&&Pa(ae,function(){return Vd(ae,fe,0,null,"paste")}),!0}function bu(ie,ae){if(!(!ie.options.electricChars||!ie.options.smartIndent))for(var fe=ie.doc.sel,he=fe.ranges.length-1;he>=0;he--){var me=fe.ranges[he];if(!(me.head.ch>100||he&&fe.ranges[he-1].head.line==me.head.line)){var De=ie.getModeAt(me.head),je=!1;if(De.electricChars){for(var Xe=0;Xe-1){je=Us(ie,me.head.line,"smart");break}}else De.electricInput&&De.electricInput.test(ki(ie.doc,me.head.line).text.slice(0,me.head.ch))&&(je=Us(ie,me.head.line,"smart"));je&&ao(ie,"electricInput",ie,me.head.line)}}}function Ef(ie){for(var ae=[],fe=[],he=0;heDe&&(Us(this,Xe.head.line,he,!0),De=Xe.head.line,je==this.doc.sel.primIndex&&vo(this));else{var Ke=Xe.from(),gt=Xe.to(),en=Math.max(De,Ke.line);De=Math.min(this.lastLine(),gt.line-(gt.ch?0:1))+1;for(var Pt=en;Pt0&&qu(this.doc,je,new Ia(Ke,Hn[je].to()),on)}}}),getTokenAt:function(he,me){return Vn(this,he,me)},getLineTokens:function(he,me){return Vn(this,Lt(he),me,!0)},getTokenTypeAt:function(he){he=Ti(this.doc,he);var me=co(this,ki(this.doc,he.line)),De=0,je=(me.length-1)/2,Xe=he.ch,Ke;if(Xe==0)Ke=me[2];else for(;;){var gt=De+je>>1;if((gt?me[gt*2-1]:0)>=Xe)je=gt;else if(me[gt*2+1]Ke&&(he=Ke,je=!0),Xe=ki(this.doc,he)}else Xe=he;return ou(this,Xe,{top:0,left:0},me||"page",De||je).top+(je?this.doc.height-Ba(Xe):0)},defaultTextHeight:function(){return hc(this.display)},defaultCharWidth:function(){return Au(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(he,me,De,je,Xe){var Ke=this.display;he=pl(this,Ti(this.doc,he));var gt=he.bottom,en=he.left;if(me.style.position="absolute",me.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(me),Ke.sizer.appendChild(me),je=="over")gt=he.top;else if(je=="above"||je=="near"){var Pt=Math.max(Ke.wrapper.clientHeight,this.doc.height),Hn=Math.max(Ke.sizer.clientWidth,Ke.lineSpace.clientWidth);(je=="above"||he.bottom+me.offsetHeight>Pt)&&he.top>me.offsetHeight?gt=he.top-me.offsetHeight:he.bottom+me.offsetHeight<=Pt&&(gt=he.bottom),en+me.offsetWidth>Hn&&(en=Hn-me.offsetWidth)}me.style.top=gt+"px",me.style.left=me.style.right="",Xe=="right"?(en=Ke.sizer.clientWidth-me.offsetWidth,me.style.right="0px"):(Xe=="left"?en=0:Xe=="middle"&&(en=(Ke.sizer.clientWidth-me.offsetWidth)/2),me.style.left=en+"px"),De&&lo(this,{left:en,top:gt,right:en+me.offsetWidth,bottom:gt+me.offsetHeight})},triggerOnKeyDown:As(fs),triggerOnKeyPress:As(Os),triggerOnKeyUp:Xs,triggerOnMouseDown:As(jo),execCommand:function(he){if(ms.hasOwnProperty(he))return ms[he].call(null,this)},triggerElectric:As(function(he){bu(this,he)}),findPosH:function(he,me,De,je){var Xe=1;me<0&&(Xe=-1,me=-me);for(var Ke=Ti(this.doc,he),gt=0;gt0&&en(De.charAt(je-1));)--je;for(;Xe.5||this.options.lineWrapping)&&Uo(this),an(this,"refresh",this)}),swapDoc:As(function(he){var me=this.doc;return me.cm=null,this.state.selectingText&&this.state.selectingText(),pc(this,he),hh(this),this.display.input.reset(),uo(this,he.scrollLeft,he.scrollTop),this.curOp.forceScroll=!0,ao(this,"swapDoc",this,me),me}),phrase:function(he){var me=this.options.phrases;return me&&Object.prototype.hasOwnProperty.call(me,he)?me[he]:he},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},On(ie),ie.registerHelper=function(he,me,De){fe.hasOwnProperty(he)||(fe[he]=ie[he]={_global:[]}),fe[he][me]=De},ie.registerGlobalHelper=function(he,me,De,je){ie.registerHelper(he,me,je),fe[he]._global.push({pred:De,val:je})}}function af(ie,ae,fe,he,me){var De=ae,je=fe,Xe=ki(ie,ae.line),Ke=me&&ie.direction=="rtl"?-fe:fe;function gt(){var Yi=ae.line+Ke;return Yi=ie.first+ie.size?!1:(ae=new Lt(Yi,ae.ch,ae.sticky),Xe=ki(ie,Yi))}function en(Yi){var or;if(he=="codepoint"){var vr=Xe.text.charCodeAt(ae.ch+(he>0?0:-1));isNaN(vr)?or=null:or=new Lt(ae.line,Math.max(0,Math.min(Xe.text.length,ae.ch+fe*(vr>=55296&&vr<56320?2:1))),-fe)}else me?or=qo(ie.cm,Xe,ae,fe):or=Xo(Xe,ae,fe);if(or==null)if(!Yi&>())ae=Qo(me,ie.cm,Xe,ae.line,Ke);else return!1;else ae=or;return!0}if(he=="char"||he=="codepoint")en();else if(he=="column")en(!0);else if(he=="word"||he=="group")for(var Pt=null,Hn=he=="group",In=ie.cm&&ie.cm.getHelper(ae,"wordChars"),Ui=!0;!(fe<0&&!en(!Ui));Ui=!1){var Qi=Xe.text.charAt(ae.ch)||` +`,Tt=ni(Qi,In)?"w":Hn&&Qi==` +`?"n":!Hn||/\s/.test(Qi)?null:"p";if(Hn&&!Ui&&!Tt&&(Tt="s"),Pt&&Pt!=Tt){fe<0&&(fe=1,en(),ae.sticky="after");break}if(Tt&&(Pt=Tt),fe>0&&!en(!Ui))break}var ii=eh(ie,ae,De,je,!0);return un(De,ii)&&(ii.hitSide=!0),ii}function ih(ie,ae,fe,he){var me=ie.doc,De=ae.left,je;if(he=="page"){var Xe=Math.min(ie.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ke=Math.max(Xe-.5*hc(ie.display),3);je=(fe>0?ae.bottom:ae.top)+fe*Ke}else he=="line"&&(je=fe>0?ae.bottom+3:ae.top-3);for(var gt;gt=Rd(ie,De,je),!!gt.outside;){if(fe<0?je<=0:je>=me.height){gt.hitSide=!0;break}je+=fe*5}return gt}var Js=function(ie){this.cm=ie,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ze,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Js.prototype.init=function(ie){var ae=this,fe=this,he=fe.cm,me=fe.div=ie.lineDiv;ng(me,he.options.spellcheck,he.options.autocorrect,he.options.autocapitalize);function De(Xe){for(var Ke=Xe.target;Ke;Ke=Ke.parentNode){if(Ke==me)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ke.className))break}return!1}rt(me,"paste",function(Xe){!De(Xe)||$t(he,Xe)||of(Xe,he)||Wt<=11&&setTimeout(Bs(he,function(){return ae.updateFromDOM()}),20)}),rt(me,"compositionstart",function(Xe){ae.composing={data:Xe.data,done:!1}}),rt(me,"compositionupdate",function(Xe){ae.composing||(ae.composing={data:Xe.data,done:!1})}),rt(me,"compositionend",function(Xe){ae.composing&&(Xe.data!=ae.composing.data&&ae.readFromDOMSoon(),ae.composing.done=!0)}),rt(me,"touchstart",function(){return fe.forceCompositionEnd()}),rt(me,"input",function(){ae.composing||ae.readFromDOMSoon()});function je(Xe){if(!(!De(Xe)||$t(he,Xe))){if(he.somethingSelected())gd({lineWise:!1,text:he.getSelections()}),Xe.type=="cut"&&he.replaceSelection("",null,"cut");else if(he.options.lineWiseCopyCut){var Ke=Ef(he);gd({lineWise:!0,text:Ke.text}),Xe.type=="cut"&&he.operation(function(){he.setSelections(Ke.ranges,0,on),he.replaceSelection("",null,"cut")})}else return;if(Xe.clipboardData){Xe.clipboardData.clearData();var gt=ru.text.join(` +`);if(Xe.clipboardData.setData("Text",gt),Xe.clipboardData.getData("Text")==gt){Xe.preventDefault();return}}var en=Nf(),Pt=en.firstChild;he.display.lineSpace.insertBefore(en,he.display.lineSpace.firstChild),Pt.value=ru.text.join(` +`);var Hn=document.activeElement;hi(Pt),setTimeout(function(){he.display.lineSpace.removeChild(en),Hn.focus(),Hn==me&&fe.showPrimarySelection()},50)}}rt(me,"copy",je),rt(me,"cut",je)},Js.prototype.screenReaderLabelChanged=function(ie){ie?this.div.setAttribute("aria-label",ie):this.div.removeAttribute("aria-label")},Js.prototype.prepareSelection=function(){var ie=Gt(this.cm,!1);return ie.focus=document.activeElement==this.div,ie},Js.prototype.showSelection=function(ie,ae){!ie||!this.cm.display.view.length||((ie.focus||ae)&&this.showPrimarySelection(),this.showMultipleSelections(ie))},Js.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Js.prototype.showPrimarySelection=function(){var ie=this.getSelection(),ae=this.cm,fe=ae.doc.sel.primary(),he=fe.from(),me=fe.to();if(ae.display.viewTo==ae.display.viewFrom||he.line>=ae.display.viewTo||me.line=ae.display.viewFrom&&zh(ae,he)||{node:Xe[0].measure.map[2],offset:0},gt=me.lineie.firstLine()&&(he=Lt(he.line-1,ki(ie.doc,he.line-1).length)),me.ch==ki(ie.doc,me.line).text.length&&me.lineae.viewTo-1)return!1;var De,je,Xe;he.line==ae.viewFrom||(De=Xu(ie,he.line))==0?(je=Et(ae.view[0].line),Xe=ae.view[0].node):(je=Et(ae.view[De].line),Xe=ae.view[De-1].node.nextSibling);var Ke=Xu(ie,me.line),gt,en;if(Ke==ae.view.length-1?(gt=ae.viewTo-1,en=ae.lineDiv.lastChild):(gt=Et(ae.view[Ke+1].line)-1,en=ae.view[Ke+1].node.previousSibling),!Xe)return!1;for(var Pt=ie.doc.splitLines(Vh(ie,Xe,en,je,gt)),Hn=Vr(ie.doc,Lt(je,0),Lt(gt,ki(ie.doc,gt).text.length));Pt.length>1&&Hn.length>1;)if(mt(Pt)==mt(Hn))Pt.pop(),Hn.pop(),gt--;else if(Pt[0]==Hn[0])Pt.shift(),Hn.shift(),je++;else break;for(var In=0,Ui=0,Qi=Pt[0],Tt=Hn[0],ii=Math.min(Qi.length,Tt.length);Inhe.ch&&Yi.charCodeAt(Yi.length-Ui-1)==or.charCodeAt(or.length-Ui-1);)In--,Ui++;Pt[Pt.length-1]=Yi.slice(0,Yi.length-Ui).replace(/^\u200b+/,""),Pt[0]=Pt[0].slice(In).replace(/\u200b+$/,"");var jr=Lt(je,In),Er=Lt(gt,Hn.length?mt(Hn).length-Ui:0);if(Pt.length>1||Pt[0]||Ft(jr,Er))return Hc(ie.doc,Pt,jr,Er,"+input"),!0},Js.prototype.ensurePolled=function(){this.forceCompositionEnd()},Js.prototype.reset=function(){this.forceCompositionEnd()},Js.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Js.prototype.readFromDOMSoon=function(){var ie=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(ie.readDOMTimeout=null,ie.composing)if(ie.composing.done)ie.composing=null;else return;ie.updateFromDOM()},80))},Js.prototype.updateFromDOM=function(){var ie=this;(this.cm.isReadOnly()||!this.pollContent())&&Pa(this.cm,function(){return tl(ie.cm)})},Js.prototype.setUneditable=function(ie){ie.contentEditable="false"},Js.prototype.onKeyPress=function(ie){ie.charCode==0||this.composing||(ie.preventDefault(),this.cm.isReadOnly()||Bs(this.cm,Vd)(this.cm,String.fromCharCode(ie.charCode==null?ie.keyCode:ie.charCode),0))},Js.prototype.readOnlyChanged=function(ie){this.div.contentEditable=String(ie!="nocursor")},Js.prototype.onContextMenu=function(){},Js.prototype.resetPosition=function(){},Js.prototype.needsContentAttribute=!0;function zh(ie,ae){var fe=Id(ie,ae.line);if(!fe||fe.hidden)return null;var he=ki(ie.doc,ae.line),me=Jd(fe,he,ae.line),De=Ue(he,ie.doc.direction),je="left";if(De){var Xe=Ee(De,ae.ch);je=Xe%2?"right":"left"}var Ke=Dc(me.map,ae.ch,je);return Ke.offset=Ke.collapse=="right"?Ke.end:Ke.start,Ke}function sf(ie){for(var ae=ie;ae;ae=ae.parentNode)if(/CodeMirror-gutter-wrapper/.test(ae.className))return!0;return!1}function vh(ie,ae){return ae&&(ie.bad=!0),ie}function Vh(ie,ae,fe,he,me){var De="",je=!1,Xe=ie.doc.lineSeparator(),Ke=!1;function gt(In){return function(Ui){return Ui.id==In}}function en(){je&&(De+=Xe,Ke&&(De+=Xe),je=Ke=!1)}function Pt(In){In&&(en(),De+=In)}function Hn(In){if(In.nodeType==1){var Ui=In.getAttribute("cm-text");if(Ui){Pt(Ui);return}var Qi=In.getAttribute("cm-marker"),Tt;if(Qi){var ii=ie.findMarks(Lt(he,0),Lt(me+1,0),gt(+Qi));ii.length&&(Tt=ii[0].find(0))&&Pt(Vr(ie.doc,Tt.from,Tt.to).join(Xe));return}if(In.getAttribute("contenteditable")=="false")return;var Yi=/^(pre|div|p|li|table|br)$/i.test(In.nodeName);if(!/^br$/i.test(In.nodeName)&&In.textContent.length==0)return;Yi&&en();for(var or=0;or=9&&ae.hasSelection&&(ae.hasSelection=null),fe.poll()}),rt(me,"paste",function(je){$t(he,je)||of(je,he)||(he.state.pasteIncoming=+new Date,fe.fastPoll())});function De(je){if(!$t(he,je)){if(he.somethingSelected())gd({lineWise:!1,text:he.getSelections()});else if(he.options.lineWiseCopyCut){var Xe=Ef(he);gd({lineWise:!0,text:Xe.text}),je.type=="cut"?he.setSelections(Xe.ranges,null,on):(fe.prevInput="",me.value=Xe.text.join(` +`),hi(me))}else return;je.type=="cut"&&(he.state.cutIncoming=+new Date)}}rt(me,"cut",De),rt(me,"copy",De),rt(ie.scroller,"paste",function(je){if(!(xs(ie,je)||$t(he,je))){if(!me.dispatchEvent){he.state.pasteIncoming=+new Date,fe.focus();return}var Xe=new Event("paste");Xe.clipboardData=je.clipboardData,me.dispatchEvent(Xe)}}),rt(ie.lineSpace,"selectstart",function(je){xs(ie,je)||Hi(je)}),rt(me,"compositionstart",function(){var je=he.getCursor("from");fe.composing&&fe.composing.range.clear(),fe.composing={start:je,range:he.markText(je,he.getCursor("to"),{className:"CodeMirror-composing"})}}),rt(me,"compositionend",function(){fe.composing&&(fe.poll(),fe.composing.range.clear(),fe.composing=null)})},Bu.prototype.createField=function(ie){this.wrapper=Nf(),this.textarea=this.wrapper.firstChild},Bu.prototype.screenReaderLabelChanged=function(ie){ie?this.textarea.setAttribute("aria-label",ie):this.textarea.removeAttribute("aria-label")},Bu.prototype.prepareSelection=function(){var ie=this.cm,ae=ie.display,fe=ie.doc,he=Gt(ie);if(ie.options.moveInputWithCursor){var me=pl(ie,fe.sel.primary().head,"div"),De=ae.wrapper.getBoundingClientRect(),je=ae.lineDiv.getBoundingClientRect();he.teTop=Math.max(0,Math.min(ae.wrapper.clientHeight-10,me.top+je.top-De.top)),he.teLeft=Math.max(0,Math.min(ae.wrapper.clientWidth-10,me.left+je.left-De.left))}return he},Bu.prototype.showSelection=function(ie){var ae=this.cm,fe=ae.display;yt(fe.cursorDiv,ie.cursors),yt(fe.selectionDiv,ie.selection),ie.teTop!=null&&(this.wrapper.style.top=ie.teTop+"px",this.wrapper.style.left=ie.teLeft+"px")},Bu.prototype.reset=function(ie){if(!(this.contextMenuPending||this.composing)){var ae=this.cm;if(ae.somethingSelected()){this.prevInput="";var fe=ae.getSelection();this.textarea.value=fe,ae.state.focused&&hi(this.textarea),Dt&&Wt>=9&&(this.hasSelection=fe)}else ie||(this.prevInput=this.textarea.value="",Dt&&Wt>=9&&(this.hasSelection=null))}},Bu.prototype.getField=function(){return this.textarea},Bu.prototype.supportsTouch=function(){return!1},Bu.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ne||Jt()!=this.textarea))try{this.textarea.focus()}catch(ie){}},Bu.prototype.blur=function(){this.textarea.blur()},Bu.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Bu.prototype.receivedFocus=function(){this.slowPoll()},Bu.prototype.slowPoll=function(){var ie=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){ie.poll(),ie.cm.state.focused&&ie.slowPoll()})},Bu.prototype.fastPoll=function(){var ie=!1,ae=this;ae.pollingFast=!0;function fe(){var he=ae.poll();!he&&!ie?(ie=!0,ae.polling.set(60,fe)):(ae.pollingFast=!1,ae.slowPoll())}ae.polling.set(20,fe)},Bu.prototype.poll=function(){var ie=this,ae=this.cm,fe=this.textarea,he=this.prevInput;if(this.contextMenuPending||!ae.state.focused||Be(fe)&&!he&&!this.composing||ae.isReadOnly()||ae.options.disableInput||ae.state.keySeq)return!1;var me=fe.value;if(me==he&&!ae.somethingSelected())return!1;if(Dt&&Wt>=9&&this.hasSelection===me||de&&/[\uf700-\uf7ff]/.test(me))return ae.display.input.reset(),!1;if(ae.doc.sel==ae.display.selForContextMenu){var De=me.charCodeAt(0);if(De==8203&&!he&&(he="\u200B"),De==8666)return this.reset(),this.cm.execCommand("undo")}for(var je=0,Xe=Math.min(he.length,me.length);je1e3||me.indexOf(` +`)>-1?fe.value=ie.prevInput="":ie.prevInput=me,ie.composing&&(ie.composing.range.clear(),ie.composing.range=ae.markText(ie.composing.start,ae.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Bu.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Bu.prototype.onKeyPress=function(){Dt&&Wt>=9&&(this.hasSelection=null),this.fastPoll()},Bu.prototype.onContextMenu=function(ie){var ae=this,fe=ae.cm,he=fe.display,me=ae.textarea;ae.contextMenuPending&&ae.contextMenuPending();var De=au(fe,ie),je=he.scroller.scrollTop;if(!De||pt)return;var Xe=fe.options.resetSelectionOnContextMenu;Xe&&fe.doc.sel.contains(De)==-1&&Bs(fe,Pu)(fe.doc,fu(De),on);var Ke=me.style.cssText,gt=ae.wrapper.style.cssText,en=ae.wrapper.offsetParent.getBoundingClientRect();ae.wrapper.style.cssText="position: static",me.style.cssText=`position: absolute; width: 30px; height: 30px; + top: `+(ie.clientY-en.top-5)+"px; left: "+(ie.clientX-en.left-5)+`px; z-index: 1000; background: `+(Dt?"rgba(255, 255, 255, .05)":"transparent")+`; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Pt;Ve&&(Pt=window.scrollY),he.input.focus(),Ve&&window.scrollTo(null,Pt),he.input.reset(),fe.somethingSelected()||(me.value=ae.prevInput=" "),ae.contextMenuPending=In,he.selForContextMenu=fe.doc.sel,clearTimeout(he.detectingSelectAll);function Hn(){if(me.selectionStart!=null){var Xi=fe.somethingSelected(),Ot="\u200B"+(Xi?me.value:"");me.value="\u21DA",me.value=Ot,ae.prevInput=Xi?"":"\u200B",me.selectionStart=1,me.selectionEnd=Ot.length,he.selForContextMenu=fe.doc.sel}}function In(){if(ae.contextMenuPending==In&&(ae.contextMenuPending=!1,ae.wrapper.style.cssText=gt,me.style.cssText=Ke,Dt&&Wt<9&&he.scrollbars.setScrollTop(he.scroller.scrollTop=je),me.selectionStart!=null)){(!Dt||Dt&&Wt<9)&&Hn();var Xi=0,Ot=function(){he.selForContextMenu==fe.doc.sel&&me.selectionStart==0&&me.selectionEnd>0&&ae.prevInput=="\u200B"?Bs(fe,iu)(fe):Xi++<10?he.detectingSelectAll=setTimeout(Ot,500):(he.selForContextMenu=null,he.input.reset())};he.detectingSelectAll=setTimeout(Ot,200)}}if(Dt&&Wt>=9&&Hn(),Me){ro(ie);var Ui=function(){fn(window,"mouseup",Ui),setTimeout(In,20)};rt(window,"mouseup",Ui)}else setTimeout(In,50)},Bu.prototype.readOnlyChanged=function(ie){ie||this.reset(),this.textarea.disabled=ie=="nocursor",this.textarea.readOnly=!!ie},Bu.prototype.setUneditable=function(){},Bu.prototype.needsContentAttribute=!1;function Bg(ie,ae){if(ae=ae?ci(ae):{},ae.value=ie.value,!ae.tabindex&&ie.tabIndex&&(ae.tabindex=ie.tabIndex),!ae.placeholder&&ie.placeholder&&(ae.placeholder=ie.placeholder),ae.autofocus==null){var fe=Jt();ae.autofocus=fe==ie||ie.getAttribute("autofocus")!=null&&fe==document.body}function he(){ie.value=Xe.getValue()}var me;if(ie.form&&(rt(ie.form,"submit",he),!ae.leaveSubmitMethodAlone)){var De=ie.form;me=De.submit;try{var je=De.submit=function(){he(),De.submit=me,De.submit(),De.submit=je}}catch(Ke){}}ae.finishInit=function(Ke){Ke.save=he,Ke.getTextArea=function(){return ie},Ke.toTextArea=function(){Ke.toTextArea=isNaN,he(),ie.parentNode.removeChild(Ke.getWrapperElement()),ie.style.display="",ie.form&&(fn(ie.form,"submit",he),!ae.leaveSubmitMethodAlone&&typeof ie.form.submit=="function"&&(ie.form.submit=me))}},ie.style.display="none";var Xe=Aa(function(Ke){return ie.parentNode.insertBefore(Ke,ie.nextSibling)},ae);return Xe}function Sh(ie){ie.off=fn,ie.on=rt,ie.wheelEventPixels=El,ie.Doc=Ei,ie.splitLines=Tr,ie.countColumn=et,ie.findColumn=yi,ie.isWordChar=ii,ie.Pass=ei,ie.signal=an,ie.Line=ua,ie.changeEnd=Ll,ie.scrollbarModel=ks,ie.Pos=Lt,ie.cmpPos=Ft,ie.modes=Vi,ie.mimeModes=Wi,ie.resolveMode=nr,ie.getMode=tn,ie.modeExtensions=_t,ie.extendMode=Rt,ie.copyState=Li,ie.startState=Oi,ie.innerMode=yr,ie.commands=ms,ie.keyMap=Pr,ie.keyName=da,ie.isModifierKey=Do,ie.lookupKey=Ur,ie.normalizeKeyMap=Mo,ie.StringStream=Zn,ie.SharedTextMarker=st,ie.TextMarker=Ht,ie.LineWidget=yc,ie.e_preventDefault=Hi,ie.e_stopPropagation=Si,ie.e_stop=ro,ie.addClass=vn,ie.contains=Nt,ie.rmClass=lt,ie.keyNames=ma}nd(Aa),nh(Aa);var bd="iter insert remove copy getEditor constructor".split(" ");for(var lu in Ei.prototype)Ei.prototype.hasOwnProperty(lu)&&yn(bd,lu)<0&&(Aa.prototype[lu]=function(ie){return function(){return ie.apply(this.doc,arguments)}}(Ei.prototype[lu]));return On(Ei),Aa.inputStyles={textarea:Bu,contenteditable:Js},Aa.defineMode=function(ie){!Aa.defaults.mode&&ie!="null"&&(Aa.defaults.mode=ie),mi.apply(this,arguments)},Aa.defineMIME=Jn,Aa.defineMode("null",function(){return{token:function(ie){return ie.skipToEnd()}}}),Aa.defineMIME("text/plain","null"),Aa.defineExtension=function(ie,ae){Aa.prototype[ie]=ae},Aa.defineDocExtension=function(ie,ae){Ei.prototype[ie]=ae},Aa.fromTextArea=Bg,Sh(Aa),Aa.version="5.58.2",Aa})},25419:function(en,jn,Pe){(function(ue){ue(Pe(89780),Pe(15525),Pe(98101))})(function(ue){"use strict";ue.defineMode("markdown",function(it,Mt){var kt=ue.getMode(it,"text/html"),Dt=kt.name=="null";function Wt(et){if(ue.findModeByName){var ze=ue.findModeByName(et);ze&&(et=ze.mime||ze.mimes[0])}var yn=ue.getMode(it,et);return yn.name=="null"?null:yn}Mt.highlightFormatting===void 0&&(Mt.highlightFormatting=!1),Mt.maxBlockquoteDepth===void 0&&(Mt.maxBlockquoteDepth=0),Mt.taskLists===void 0&&(Mt.taskLists=!1),Mt.strikethrough===void 0&&(Mt.strikethrough=!1),Mt.emoji===void 0&&(Mt.emoji=!1),Mt.fencedCodeBlockHighlighting===void 0&&(Mt.fencedCodeBlockHighlighting=!0),Mt.fencedCodeBlockDefaultMode===void 0&&(Mt.fencedCodeBlockDefaultMode="text/plain"),Mt.xml===void 0&&(Mt.xml=!0),Mt.tokenTypeOverrides===void 0&&(Mt.tokenTypeOverrides={});var Ve={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var bt in Ve)Ve.hasOwnProperty(bt)&&Mt.tokenTypeOverrides[bt]&&(Ve[bt]=Mt.tokenTypeOverrides[bt]);var wt=/^([*\-_])(?:\s*\1){2,}\s*$/,pt=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,St=/^\[(x| )\](?=\s)/i,Ut=Mt.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Zt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Oe=/^[^#!\[\]*_\\<>` "'(~:]+/,te=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ne=/^\s*\[[^\]]+?\]:.*$/,de=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,le=" ";function pe(et,ze,yn){return ze.f=ze.inline=yn,yn(et,ze)}function xe(et,ze,yn){return ze.f=ze.block=yn,yn(et,ze)}function Ae(et){return!et||!/\S/.test(et.string)}function Me(et){if(et.linkTitle=!1,et.linkHref=!1,et.linkText=!1,et.em=!1,et.strong=!1,et.strikethrough=!1,et.quote=0,et.indentedCode=!1,et.f==lt){var ze=Dt;if(!ze){var yn=ue.innerMode(kt,et.htmlState);ze=yn.mode.name=="xml"&&yn.state.tagStart===null&&!yn.state.context&&yn.state.tokenize.isInText}ze&&(et.f=Tt,et.block=ke,et.htmlState=null)}return et.trailingSpace=0,et.trailingSpaceNewLine=!1,et.prevLine=et.thisLine,et.thisLine={stream:null},null}function ke(et,ze){var yn=et.column()===ze.indentation,Xn=Ae(ze.prevLine.stream),ei=ze.indentedCode,rn=ze.prevLine.hr,xn=ze.list!==!1,Dn=(ze.listStack[ze.listStack.length-1]||0)+3;ze.indentedCode=!1;var yi=ze.indentation;if(ze.indentationDiff===null&&(ze.indentationDiff=ze.indentation,xn)){for(ze.list=null;yi=4&&(ei||ze.prevLine.fencedCodeEnd||ze.prevLine.header||Xn))return et.skipToEnd(),ze.indentedCode=!0,Ve.code;if(et.eatSpace())return null;if(yn&&ze.indentation<=Dn&&(mt=et.match(Ut))&&mt[1].length<=6)return ze.quote=0,ze.header=mt[1].length,ze.thisLine.header=!0,Mt.highlightFormatting&&(ze.formatting="header"),ze.f=ze.inline,yt(ze);if(ze.indentation<=Dn&&et.eat(">"))return ze.quote=yn?1:ze.quote+1,Mt.highlightFormatting&&(ze.formatting="quote"),et.eatSpace(),yt(ze);if(!Mi&&!ze.setext&&yn&&ze.indentation<=Dn&&(mt=et.match(pt))){var ht=mt[1]?"ol":"ul";return ze.indentation=yi+et.current().length,ze.list=!0,ze.quote=0,ze.listStack.push(ze.indentation),ze.em=!1,ze.strong=!1,ze.code=!1,ze.strikethrough=!1,Mt.taskLists&&et.match(St,!1)&&(ze.taskList=!0),ze.f=ze.inline,Mt.highlightFormatting&&(ze.formatting=["list","list-"+ht]),yt(ze)}else{if(yn&&ze.indentation<=Dn&&(mt=et.match(te,!0)))return ze.quote=0,ze.fencedEndRE=new RegExp(mt[1]+"+ *$"),ze.localMode=Mt.fencedCodeBlockHighlighting&&Wt(mt[2]||Mt.fencedCodeBlockDefaultMode),ze.localMode&&(ze.localState=ue.startState(ze.localMode)),ze.f=ze.block=dt,Mt.highlightFormatting&&(ze.formatting="code-block"),ze.code=-1,yt(ze);if(ze.setext||(!qn||!xn)&&!ze.quote&&ze.list===!1&&!ze.code&&!Mi&&!ne.test(et.string)&&(mt=et.lookAhead(1))&&(mt=mt.match(Zt)))return ze.setext?(ze.header=ze.setext,ze.setext=0,et.skipToEnd(),Mt.highlightFormatting&&(ze.formatting="header")):(ze.header=mt[0].charAt(0)=="="?1:2,ze.setext=ze.header),ze.thisLine.header=!0,ze.f=ze.inline,yt(ze);if(Mi)return et.skipToEnd(),ze.hr=!0,ze.thisLine.hr=!0,Ve.hr;if(et.peek()==="[")return pe(et,ze,Ai)}return pe(et,ze,ze.inline)}function lt(et,ze){var yn=kt.token(et,ze.htmlState);if(!Dt){var Xn=ue.innerMode(kt,ze.htmlState);(Xn.mode.name=="xml"&&Xn.state.tagStart===null&&!Xn.state.context&&Xn.state.tokenize.isInText||ze.md_inside&&et.current().indexOf(">")>-1)&&(ze.f=Tt,ze.block=ke,ze.htmlState=null)}return yn}function dt(et,ze){var yn=ze.listStack[ze.listStack.length-1]||0,Xn=ze.indentation=et.quote?ze.push(Ve.formatting+"-"+et.formatting[yn]+"-"+et.quote):ze.push("error"))}if(et.taskOpen)return ze.push("meta"),ze.length?ze.join(" "):null;if(et.taskClosed)return ze.push("property"),ze.length?ze.join(" "):null;if(et.linkHref?ze.push(Ve.linkHref,"url"):(et.strong&&ze.push(Ve.strong),et.em&&ze.push(Ve.em),et.strikethrough&&ze.push(Ve.strikethrough),et.emoji&&ze.push(Ve.emoji),et.linkText&&ze.push(Ve.linkText),et.code&&ze.push(Ve.code),et.image&&ze.push(Ve.image),et.imageAltText&&ze.push(Ve.imageAltText,"link"),et.imageMarker&&ze.push(Ve.imageMarker)),et.header&&ze.push(Ve.header,Ve.header+"-"+et.header),et.quote&&(ze.push(Ve.quote),!Mt.maxBlockquoteDepth||Mt.maxBlockquoteDepth>=et.quote?ze.push(Ve.quote+"-"+et.quote):ze.push(Ve.quote+"-"+Mt.maxBlockquoteDepth)),et.list!==!1){var Xn=(et.listStack.length-1)%3;Xn?Xn===1?ze.push(Ve.list2):ze.push(Ve.list3):ze.push(Ve.list1)}return et.trailingSpaceNewLine?ze.push("trailing-space-new-line"):et.trailingSpace&&ze.push("trailing-space-"+(et.trailingSpace%2?"a":"b")),ze.length?ze.join(" "):null}function ut(et,ze){if(et.match(Oe,!0))return yt(ze)}function Tt(et,ze){var yn=ze.text(et,ze);if(typeof yn!="undefined")return yn;if(ze.list)return ze.list=null,yt(ze);if(ze.taskList){var Xn=et.match(St,!0)[1]===" ";return Xn?ze.taskOpen=!0:ze.taskClosed=!0,Mt.highlightFormatting&&(ze.formatting="task"),ze.taskList=!1,yt(ze)}if(ze.taskOpen=!1,ze.taskClosed=!1,ze.header&&et.match(/^#+$/,!0))return Mt.highlightFormatting&&(ze.formatting="header"),yt(ze);var ei=et.next();if(ze.linkTitle){ze.linkTitle=!1;var rn=ei;ei==="("&&(rn=")"),rn=(rn+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var xn="^\\s*(?:[^"+rn+"\\\\]+|\\\\\\\\|\\\\.)"+rn;if(et.match(new RegExp(xn),!0))return Ve.linkHref}if(ei==="`"){var Dn=ze.formatting;Mt.highlightFormatting&&(ze.formatting="code"),et.eatWhile("`");var yi=et.current().length;if(ze.code==0&&(!ze.quote||yi==1))return ze.code=yi,yt(ze);if(yi==ze.code){var qn=yt(ze);return ze.code=0,qn}else return ze.formatting=Dn,yt(ze)}else if(ze.code)return yt(ze);if(ei==="\\"&&(et.next(),Mt.highlightFormatting)){var Mi=yt(ze),mt=Ve.formatting+"-escape";return Mi?Mi+" "+mt:mt}if(ei==="!"&&et.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return ze.imageMarker=!0,ze.image=!0,Mt.highlightFormatting&&(ze.formatting="image"),yt(ze);if(ei==="["&&ze.imageMarker&&et.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return ze.imageMarker=!1,ze.imageAltText=!0,Mt.highlightFormatting&&(ze.formatting="image"),yt(ze);if(ei==="]"&&ze.imageAltText){Mt.highlightFormatting&&(ze.formatting="image");var Mi=yt(ze);return ze.imageAltText=!1,ze.image=!1,ze.inline=ze.f=Nt,Mi}if(ei==="["&&!ze.image)return ze.linkText&&et.match(/^.*?\]/)||(ze.linkText=!0,Mt.highlightFormatting&&(ze.formatting="link")),yt(ze);if(ei==="]"&&ze.linkText){Mt.highlightFormatting&&(ze.formatting="link");var Mi=yt(ze);return ze.linkText=!1,ze.inline=ze.f=et.match(/\(.*?\)| ?\[.*?\]/,!1)?Nt:Tt,Mi}if(ei==="<"&&et.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){ze.f=ze.inline=xt,Mt.highlightFormatting&&(ze.formatting="link");var Mi=yt(ze);return Mi?Mi+=" ":Mi="",Mi+Ve.linkInline}if(ei==="<"&&et.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){ze.f=ze.inline=xt,Mt.highlightFormatting&&(ze.formatting="link");var Mi=yt(ze);return Mi?Mi+=" ":Mi="",Mi+Ve.linkEmail}if(Mt.xml&&ei==="<"&&et.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var ht=et.string.indexOf(">",et.pos);if(ht!=-1){var gn=et.string.substring(et.start,ht);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(gn)&&(ze.md_inside=!0)}return et.backUp(1),ze.htmlState=ue.startState(kt),xe(et,ze,lt)}if(Mt.xml&&ei==="<"&&et.match(/^\/\w*?>/))return ze.md_inside=!1,"tag";if(ei==="*"||ei==="_"){for(var jt=1,En=et.pos==1?" ":et.string.charAt(et.pos-2);jt<3&&et.eat(ei);)jt++;var Fn=et.peek()||" ",ii=!/\s/.test(Fn)&&(!de.test(Fn)||/\s/.test(En)||de.test(En)),ni=!/\s/.test(En)&&(!de.test(En)||/\s/.test(Fn)||de.test(Fn)),mn=null,zt=null;if(jt%2&&(!ze.em&&ii&&(ei==="*"||!ni||de.test(En))?mn=!0:ze.em==ei&&ni&&(ei==="*"||!ii||de.test(Fn))&&(mn=!1)),jt>1&&(!ze.strong&&ii&&(ei==="*"||!ni||de.test(En))?zt=!0:ze.strong==ei&&ni&&(ei==="*"||!ii||de.test(Fn))&&(zt=!1)),zt!=null||mn!=null){Mt.highlightFormatting&&(ze.formatting=mn==null?"strong":zt==null?"em":"strong em"),mn===!0&&(ze.em=ei),zt===!0&&(ze.strong=ei);var qn=yt(ze);return mn===!1&&(ze.em=!1),zt===!1&&(ze.strong=!1),qn}}else if(ei===" "&&(et.eat("*")||et.eat("_"))){if(et.peek()===" ")return yt(ze);et.backUp(1)}if(Mt.strikethrough){if(ei==="~"&&et.eatWhile(ei)){if(ze.strikethrough){Mt.highlightFormatting&&(ze.formatting="strikethrough");var qn=yt(ze);return ze.strikethrough=!1,qn}else if(et.match(/^[^\s]/,!1))return ze.strikethrough=!0,Mt.highlightFormatting&&(ze.formatting="strikethrough"),yt(ze)}else if(ei===" "&&et.match(/^~~/,!0)){if(et.peek()===" ")return yt(ze);et.backUp(2)}}if(Mt.emoji&&ei===":"&&et.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){ze.emoji=!0,Mt.highlightFormatting&&(ze.formatting="emoji");var $e=yt(ze);return ze.emoji=!1,$e}return ei===" "&&(et.match(/^ +$/,!1)?ze.trailingSpace++:ze.trailingSpace&&(ze.trailingSpaceNewLine=!0)),yt(ze)}function xt(et,ze){var yn=et.next();if(yn===">"){ze.f=ze.inline=Tt,Mt.highlightFormatting&&(ze.formatting="link");var Xn=yt(ze);return Xn?Xn+=" ":Xn="",Xn+Ve.linkInline}return et.match(/^[^>]+/,!0),Ve.linkInline}function Nt(et,ze){if(et.eatSpace())return null;var yn=et.next();return yn==="("||yn==="["?(ze.f=ze.inline=vn(yn==="("?")":"]"),Mt.highlightFormatting&&(ze.formatting="link-string"),ze.linkHref=!0,yt(ze)):"error"}var Jt={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function vn(et){return function(ze,yn){var Xn=ze.next();if(Xn===et){yn.f=yn.inline=Tt,Mt.highlightFormatting&&(yn.formatting="link-string");var ei=yt(yn);return yn.linkHref=!1,ei}return ze.match(Jt[et]),yn.linkHref=!0,yt(yn)}}function Ai(et,ze){return et.match(/^([^\]\\]|\\.)*\]:/,!1)?(ze.f=hi,et.next(),Mt.highlightFormatting&&(ze.formatting="link"),ze.linkText=!0,yt(ze)):pe(et,ze,Tt)}function hi(et,ze){if(et.match(/^\]:/,!0)){ze.f=ze.inline=kn,Mt.highlightFormatting&&(ze.formatting="link");var yn=yt(ze);return ze.linkText=!1,yn}return et.match(/^([^\]\\]|\\.)+/,!0),Ve.linkText}function kn(et,ze){return et.eatSpace()?null:(et.match(/^[^\s]+/,!0),et.peek()===void 0?ze.linkTitle=!0:et.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),ze.f=ze.inline=Tt,Ve.linkHref+" url")}var ci={startState:function(){return{f:ke,prevLine:{stream:null},thisLine:{stream:null},block:ke,htmlState:null,indentation:0,inline:Tt,text:ut,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(et){return{f:et.f,prevLine:et.prevLine,thisLine:et.thisLine,block:et.block,htmlState:et.htmlState&&ue.copyState(kt,et.htmlState),indentation:et.indentation,localMode:et.localMode,localState:et.localMode?ue.copyState(et.localMode,et.localState):null,inline:et.inline,text:et.text,formatting:!1,linkText:et.linkText,linkTitle:et.linkTitle,linkHref:et.linkHref,code:et.code,em:et.em,strong:et.strong,strikethrough:et.strikethrough,emoji:et.emoji,header:et.header,setext:et.setext,hr:et.hr,taskList:et.taskList,list:et.list,listStack:et.listStack.slice(0),quote:et.quote,indentedCode:et.indentedCode,trailingSpace:et.trailingSpace,trailingSpaceNewLine:et.trailingSpaceNewLine,md_inside:et.md_inside,fencedEndRE:et.fencedEndRE}},token:function(et,ze){if(ze.formatting=!1,et!=ze.thisLine.stream){if(ze.header=0,ze.hr=!1,et.match(/^\s*$/,!0))return Me(ze),null;if(ze.prevLine=ze.thisLine,ze.thisLine={stream:et},ze.taskList=!1,ze.trailingSpace=0,ze.trailingSpaceNewLine=!1,!ze.localState&&(ze.f=ze.block,ze.f!=lt)){var yn=et.match(/^\s*/,!0)[0].replace(/\t/g,le).length;if(ze.indentation=yn,ze.indentationDiff=null,yn>0)return null}}return ze.f(et,ze)},innerMode:function(et){return et.block==lt?{state:et.htmlState,mode:kt}:et.localState?{state:et.localState,mode:et.localMode}:{state:et,mode:ci}},indent:function(et,ze,yn){return et.block==lt&&kt.indent?kt.indent(et.htmlState,ze,yn):et.localState&&et.localMode.indent?et.localMode.indent(et.localState,ze,yn):ue.Pass},blankLine:Me,getType:yt,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return ci},"xml"),ue.defineMIME("text/markdown","markdown"),ue.defineMIME("text/x-markdown","markdown")})},98101:function(en,jn,Pe){(function(ue){ue(Pe(89780))})(function(ue){"use strict";ue.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var it=0;it-1&&kt.substring(Ve+1,kt.length);if(bt)return ue.findModeByExtension(bt)},ue.findModeByName=function(kt){kt=kt.toLowerCase();for(var Dt=0;Dt0?Oe.cmdState[Oe.cmdState.length-1]:null}function Wt(Oe){var te=Oe.cmdState.pop();te&&te.closeBracket()}function Ve(Oe){for(var te=Oe.cmdState,ne=te.length-1;ne>=0;ne--){var de=te[ne];if(de.name!="DEFAULT")return de}return{styleIdentifier:function(){return null}}}function bt(Oe,te,ne){return function(){this.name=Oe,this.bracketNo=0,this.style=te,this.styles=ne,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var wt={};wt.importmodule=bt("importmodule","tag",["string","builtin"]),wt.documentclass=bt("documentclass","tag",["","atom"]),wt.usepackage=bt("usepackage","tag",["atom"]),wt.begin=bt("begin","tag",["atom"]),wt.end=bt("end","tag",["atom"]),wt.label=bt("label","tag",["atom"]),wt.ref=bt("ref","tag",["atom"]),wt.eqref=bt("eqref","tag",["atom"]),wt.cite=bt("cite","tag",["atom"]),wt.bibitem=bt("bibitem","tag",["atom"]),wt.Bibitem=bt("Bibitem","tag",["atom"]),wt.RBibitem=bt("RBibitem","tag",["atom"]),wt.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function pt(Oe,te){Oe.f=te}function St(Oe,te){var ne;if(Oe.match(/^\\[a-zA-Z@]+/)){var de=Oe.current().slice(1);return ne=wt.hasOwnProperty(de)?wt[de]:wt.DEFAULT,ne=new ne,kt(te,ne),pt(te,Zt),ne.style}if(Oe.match(/^\\[$&%#{}_]/)||Oe.match(/^\\[,;!\/\\]/))return"tag";if(Oe.match("\\["))return pt(te,function(pe,xe){return Ut(pe,xe,"\\]")}),"keyword";if(Oe.match("\\("))return pt(te,function(pe,xe){return Ut(pe,xe,"\\)")}),"keyword";if(Oe.match("$$"))return pt(te,function(pe,xe){return Ut(pe,xe,"$$")}),"keyword";if(Oe.match("$"))return pt(te,function(pe,xe){return Ut(pe,xe,"$")}),"keyword";var le=Oe.next();if(le=="%")return Oe.skipToEnd(),"comment";if(le=="}"||le=="]"){if(ne=Dt(te),ne)ne.closeBracket(le),pt(te,Zt);else return"error";return"bracket"}else return le=="{"||le=="["?(ne=wt.DEFAULT,ne=new ne,kt(te,ne),"bracket"):/\d/.test(le)?(Oe.eatWhile(/[\w.%]/),"atom"):(Oe.eatWhile(/[\w\-_]/),ne=Ve(te),ne.name=="begin"&&(ne.argument=Oe.current()),ne.styleIdentifier())}function Ut(Oe,te,ne){if(Oe.eatSpace())return null;if(ne&&Oe.match(ne))return pt(te,St),"keyword";if(Oe.match(/^\\[a-zA-Z@]+/))return"tag";if(Oe.match(/^[a-zA-Z]+/))return"variable-2";if(Oe.match(/^\\[$&%#{}_]/)||Oe.match(/^\\[,;!\/]/)||Oe.match(/^[\^_&]/))return"tag";if(Oe.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Oe.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var de=Oe.next();return de=="{"||de=="}"||de=="["||de=="]"||de=="("||de==")"?"bracket":de=="%"?(Oe.skipToEnd(),"comment"):"error"}function Zt(Oe,te){var ne=Oe.peek(),de;return ne=="{"||ne=="["?(de=Dt(te),de.openBracket(ne),Oe.eat(ne),pt(te,St),"bracket"):/[ \t\r]/.test(ne)?(Oe.eat(ne),null):(pt(te,St),Wt(te),St(Oe,te))}return{startState:function(){var Oe=Mt.inMathMode?function(te,ne){return Ut(te,ne)}:St;return{cmdState:[],f:Oe}},copyState:function(Oe){return{cmdState:Oe.cmdState.slice(),f:Oe.f}},token:function(Oe,te){return te.f(Oe,te)},blankLine:function(Oe){Oe.f=St,Oe.cmdState.length=0},lineComment:"%"}}),ue.defineMIME("text/x-stex","stex"),ue.defineMIME("text/x-latex","stex")})},15525:function(en,jn,Pe){(function(ue){ue(Pe(89780))})(function(ue){"use strict";var it={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},Mt={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};ue.defineMode("xml",function(kt,Dt){var Wt=kt.indentUnit,Ve={},bt=Dt.htmlMode?it:Mt;for(var wt in bt)Ve[wt]=bt[wt];for(var wt in Dt)Ve[wt]=Dt[wt];var pt,St;function Ut(xt,Nt){function Jt(hi){return Nt.tokenize=hi,hi(xt,Nt)}var vn=xt.next();if(vn=="<")return xt.eat("!")?xt.eat("[")?xt.match("CDATA[")?Jt(te("atom","]]>")):null:xt.match("--")?Jt(te("comment","-->")):xt.match("DOCTYPE",!0,!0)?(xt.eatWhile(/[\w\._\-]/),Jt(ne(1))):null:xt.eat("?")?(xt.eatWhile(/[\w\._\-]/),Nt.tokenize=te("meta","?>"),"meta"):(pt=xt.eat("/")?"closeTag":"openTag",Nt.tokenize=Zt,"tag bracket");if(vn=="&"){var Ai;return xt.eat("#")?xt.eat("x")?Ai=xt.eatWhile(/[a-fA-F\d]/)&&xt.eat(";"):Ai=xt.eatWhile(/[\d]/)&&xt.eat(";"):Ai=xt.eatWhile(/[\w\.\-:]/)&&xt.eat(";"),Ai?"atom":"error"}else return xt.eatWhile(/[^&<]/),null}Ut.isInText=!0;function Zt(xt,Nt){var Jt=xt.next();if(Jt==">"||Jt=="/"&&xt.eat(">"))return Nt.tokenize=Ut,pt=Jt==">"?"endTag":"selfcloseTag","tag bracket";if(Jt=="=")return pt="equals",null;if(Jt=="<"){Nt.tokenize=Ut,Nt.state=xe,Nt.tagName=Nt.tagStart=null;var vn=Nt.tokenize(xt,Nt);return vn?vn+" tag error":"tag error"}else return/[\'\"]/.test(Jt)?(Nt.tokenize=Oe(Jt),Nt.stringStartCol=xt.column(),Nt.tokenize(xt,Nt)):(xt.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Oe(xt){var Nt=function(Jt,vn){for(;!Jt.eol();)if(Jt.next()==xt){vn.tokenize=Zt;break}return"string"};return Nt.isInAttribute=!0,Nt}function te(xt,Nt){return function(Jt,vn){for(;!Jt.eol();){if(Jt.match(Nt)){vn.tokenize=Ut;break}Jt.next()}return xt}}function ne(xt){return function(Nt,Jt){for(var vn;(vn=Nt.next())!=null;){if(vn=="<")return Jt.tokenize=ne(xt+1),Jt.tokenize(Nt,Jt);if(vn==">")if(xt==1){Jt.tokenize=Ut;break}else return Jt.tokenize=ne(xt-1),Jt.tokenize(Nt,Jt)}return"meta"}}function de(xt,Nt,Jt){this.prev=xt.context,this.tagName=Nt,this.indent=xt.indented,this.startOfLine=Jt,(Ve.doNotIndent.hasOwnProperty(Nt)||xt.context&&xt.context.noIndent)&&(this.noIndent=!0)}function le(xt){xt.context&&(xt.context=xt.context.prev)}function pe(xt,Nt){for(var Jt;;){if(!xt.context||(Jt=xt.context.tagName,!Ve.contextGrabbers.hasOwnProperty(Jt)||!Ve.contextGrabbers[Jt].hasOwnProperty(Nt)))return;le(xt)}}function xe(xt,Nt,Jt){return xt=="openTag"?(Jt.tagStart=Nt.column(),Ae):xt=="closeTag"?Me:xe}function Ae(xt,Nt,Jt){return xt=="word"?(Jt.tagName=Nt.current(),St="tag",dt):Ve.allowMissingTagName&&xt=="endTag"?(St="tag bracket",dt(xt,Nt,Jt)):(St="error",Ae)}function Me(xt,Nt,Jt){if(xt=="word"){var vn=Nt.current();return Jt.context&&Jt.context.tagName!=vn&&Ve.implicitlyClosed.hasOwnProperty(Jt.context.tagName)&&le(Jt),Jt.context&&Jt.context.tagName==vn||Ve.matchClosing===!1?(St="tag",ke):(St="tag error",lt)}else return Ve.allowMissingTagName&&xt=="endTag"?(St="tag bracket",ke(xt,Nt,Jt)):(St="error",lt)}function ke(xt,Nt,Jt){return xt!="endTag"?(St="error",ke):(le(Jt),xe)}function lt(xt,Nt,Jt){return St="error",ke(xt,Nt,Jt)}function dt(xt,Nt,Jt){if(xt=="word")return St="attribute",yt;if(xt=="endTag"||xt=="selfcloseTag"){var vn=Jt.tagName,Ai=Jt.tagStart;return Jt.tagName=Jt.tagStart=null,xt=="selfcloseTag"||Ve.autoSelfClosers.hasOwnProperty(vn)?pe(Jt,vn):(pe(Jt,vn),Jt.context=new de(Jt,vn,Ai==Jt.indented)),xe}return St="error",dt}function yt(xt,Nt,Jt){return xt=="equals"?ut:(Ve.allowMissing||(St="error"),dt(xt,Nt,Jt))}function ut(xt,Nt,Jt){return xt=="string"?Tt:xt=="word"&&Ve.allowUnquoted?(St="string",dt):(St="error",dt(xt,Nt,Jt))}function Tt(xt,Nt,Jt){return xt=="string"?Tt:dt(xt,Nt,Jt)}return{startState:function(xt){var Nt={tokenize:Ut,state:xe,indented:xt||0,tagName:null,tagStart:null,context:null};return xt!=null&&(Nt.baseIndent=xt),Nt},token:function(xt,Nt){if(!Nt.tagName&&xt.sol()&&(Nt.indented=xt.indentation()),xt.eatSpace())return null;pt=null;var Jt=Nt.tokenize(xt,Nt);return(Jt||pt)&&Jt!="comment"&&(St=null,Nt.state=Nt.state(pt||Jt,xt,Nt),St&&(Jt=St=="error"?Jt+" error":St)),Jt},indent:function(xt,Nt,Jt){var vn=xt.context;if(xt.tokenize.isInAttribute)return xt.tagStart==xt.indented?xt.stringStartCol+1:xt.indented+Wt;if(vn&&vn.noIndent)return ue.Pass;if(xt.tokenize!=Zt&&xt.tokenize!=Ut)return Jt?Jt.match(/^(\s*)/)[0].length:0;if(xt.tagName)return Ve.multilineTagIndentPastTag!==!1?xt.tagStart+xt.tagName.length+2:xt.tagStart+Wt*(Ve.multilineTagIndentFactor||1);if(Ve.alignCDATA&&/$/,blockCommentStart:"",configuration:Ve.htmlMode?"html":"xml",helperType:Ve.htmlMode?"html":"xml",skipAttribute:function(xt){xt.state==ut&&(xt.state=dt)},xmlCurrentTag:function(xt){return xt.tagName?{name:xt.tagName,close:xt.type=="closeTag"}:null},xmlCurrentContext:function(xt){for(var Nt=[],Jt=xt.context;Jt;Jt=Jt.prev)Jt.tagName&&Nt.push(Jt.tagName);return Nt.reverse()}}}),ue.defineMIME("text/xml","xml"),ue.defineMIME("application/xml","xml"),ue.mimeModes.hasOwnProperty("text/html")||ue.defineMIME("text/html",{name:"xml",htmlMode:!0})})},12378:function(en,jn,Pe){"use strict";Pe.d(jn,{$u:function(){return wt},BD:function(){return jt},E9:function(){return bt},FF:function(){return Ko},FJ:function(){return xe},Hn:function(){return pe},KX:function(){return Me},NB:function(){return Ie},S0:function(){return mt},UL:function(){return pt},Vk:function(){return le},Vm:function(){return Ee},YI:function(){return ht},ZA:function(){return Mt},Zt:function(){return St},al:function(){return mn},bn:function(){return ni},bx:function(){return En},g2:function(){return gn},h1:function(){return ut},hD:function(){return On},l4:function(){return Wt},rU:function(){return Ce},s_:function(){return Fn},uz:function(){return Yt},z6:function(){return Ut}}),en=Pe.hmd(en),function(){var Be;function ya(a){var y=0;return function(){return yx&&(x=Math.max(0,b+x)),(E==null||E>b)&&(E=b),E=Number(E),0>E&&(E=Math.max(0,b+E)),x=Number(x||0);x=a.length?a.push(x):a.splice(y,0,x):Et("Cannot insert an object into an HTMLCollection or NodeList: "+x+" at "+y)}function Ii(a,y){Array.isArray(a)?y>=a.length?a.pop():a.splice(y,1):Et("Cannot remove an object from an HTMLCollection or NodeList at "+y)}function Ri(){var a=Kr.pop();return a===void 0?[]:a}function si(a){a.length=0,Kr.push(a)}function Ti(a){if(typeof a=="function"){if(a.className)return a.className;if(a.name)return a.name;var y=a.toString();if(y=y.substring(9,y.indexOf("(")).trim(),y!=="")return a._className=y}else if(Lt(a)&&a.constructor)return Ti(a.constructor);return typeof a}function Jr(a){var y=a;return Lt(a)&&(a.text?y=a.text:a.name?y=a.name:a.key!==void 0?y=a.key:a.id!==void 0?y=a.id:a.constructor===Object&&(a.Text?y=a.Text:a.Name?y=a.Name:a.Key!==void 0?y=a.Key:a.Id!==void 0?y=a.Id:a.ID!==void 0&&(y=a.ID))),y===void 0?"undefined":y===null?"null":y.toString()}function Qr(a,y){if(a.hasOwnProperty(y))return!0;for(a=Object.getPrototypeOf(a);a&&a!==Function;){if(a.hasOwnProperty(y))return!0;var x=a.CA;if(x&&x[y])return!0;a=Object.getPrototypeOf(a)}return!1}function Lo(a,y,x){Object.defineProperty(Gn.prototype,a,{get:y,set:x})}function Nn(a){for(var y=[],x=0;256>x;x++)y["0123456789abcdef".charAt(x>>4)+"0123456789abcdef".charAt(x&15)]=String.fromCharCode(x);a.length%2&&(a="0"+a),x=[];for(var E=0,b=0;bx;x++)y[x]=x;for(x=E=0;256>x;x++)E=(E+y[x]+119)%256,b=y[x],y[x]=y[E],y[E]=b;E=x=0;for(var z="",ee=0;ee-1||z.indexOf("\xA9 1998-2021 Northwoods Software")>-1||z.indexOf("Not for distribution or production use")>-1||z.indexOf("gojs.net")>-1?"":z}var ja=Zn.navigator!==void 0&&0this.key)return!1;a=a.s;var y=a.length,x=++this.Za,E=this.qf;if(E!==null)for(;xthis.key)return!1;var y=--this.Za;return 0<=y?(this.key=y,this.value=a.s[y],!0):(this.de(),!1)},Yn.prototype.Ad=function(){return this.next()},Yn.prototype.first=function(){var a=this.Bb;this.qa=a.Ja;var y=a.s;return this.Za=a=y.length-1,0<=a?(y=y[a],this.key=a,this.value=y):null},Yn.prototype.any=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(a(y[x]))return!0;return!1},Yn.prototype.all=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(!a(y[x]))return!1;return!0},Yn.prototype.each=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)a(y[x]);return this},Yn.prototype.map=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var E=y.length;for(this.Za=E,--E;0<=E;E--)x.push(a(y[E]));return a=new ln,a.s=x,a.xb(),a.iterator},Yn.prototype.filter=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var E=y.length;for(this.Za=E,--E;0<=E;E--){var b=y[E];a(b)&&x.push(b)}return a=new ln,a.s=x,a.xb(),a.iterator},Yn.prototype.de=function(){this.key=-1,this.value=null,this.qa=-1,this.Bb.Hg=this},Yn.prototype.toString=function(){return"ListIteratorBackwards("+this.Za+"/"+this.Bb.count+")"},Rt.Object.defineProperties(Yn.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.Bb.s.length}}}),Yn.prototype.first=Yn.prototype.first,Yn.prototype.hasNext=Yn.prototype.Ad,Yn.prototype.next=Yn.prototype.next,Yn.prototype.reset=Yn.prototype.reset,Yn.className="ListIteratorBackwards";function ln(a){Ir(this),this._isFrozen=!1,this.s=[],this.Ja=0,this.Hg=this.Sa=null,typeof a=="string"&&Et("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Be=ln.prototype,Be.xb=function(){var a=this.Ja;a++,999999999a||a>=y.length)&&Cn(a,"0 <= i < length",ln,"elt:i"),y[a]},Be.get=function(a){return this.M(a)},Be.cd=function(a,y){var x=this.s;(0>a||a>=x.length)&&Cn(a,"0 <= i < length",ln,"setElt:i"),this._isFrozen&&Di(this,a),x[a]=y},Be.set=function(a,y){this.cd(a,y)},Be.first=function(){var a=this.s;return a.length===0?null:a[0]},Be.jc=function(){var a=this.s,y=a.length;return 0a&&Cn(a,">= 0",ln,"insertAt:i"),this._isFrozen&&Di(this,a);var x=this.s;a>=x.length?x.push(y):x.splice(a,0,y),this.xb()},Be.remove=function(a){if(a===null)return!1;this._isFrozen&&Di(this,a);var y=this.s;return a=y.indexOf(a),a===-1?!1:(a===y.length-1?y.pop():y.splice(a,1),this.xb(),!0)},Be.delete=function(a){return this.remove(a)},Be.mb=function(a){var y=this.s;(0>a||a>=y.length)&&Cn(a,"0 <= i < length",ln,"removeAt:i"),this._isFrozen&&Di(this,a),a===y.length-1?y.pop():y.splice(a,1),this.xb()},Be.removeRange=function(a,y){var x=this.s,E=x.length;if(0>a)a=0;else if(a>=E)return this;if(0>y)return this;if(y>=E&&(y=E-1),a>y)return this;this._isFrozen&&Di(this);for(var b=a,z=y+1;z=z)return this;if((0>y||y>=b-1)&&Cn(y,"0 <= from < length",ln,"sortRange:from"),z===2)return x=E[y],b=E[y+1],0=b)E.sort(a);else for(y=E.slice(0,x),y.sort(a),a=0;a=b)for(x=E.slice(y),x.sort(a),a=y;a=this.s.length)return lr;var a=this.Sa;return a!==null?(a.reset(),a):new Ci(this)}},iteratorBackwards:{get:function(){if(0>=this.s.length)return lr;var a=this.Hg;return a!==null?(a.reset(),a):new Yn(this)}}}),ln.prototype.reverse=ln.prototype.reverse,ln.prototype.sortRange=ln.prototype.zi,ln.prototype.sort=ln.prototype.sort,ln.prototype.toSet=ln.prototype.Iv,ln.prototype.toArray=ln.prototype.Fa,ln.prototype.removeRange=ln.prototype.removeRange,ln.prototype.removeAt=ln.prototype.mb,ln.prototype.delete=ln.prototype.delete,ln.prototype.remove=ln.prototype.remove,ln.prototype.insertAt=ln.prototype.Gb,ln.prototype.pop=ln.prototype.pop,ln.prototype.last=ln.prototype.jc,ln.prototype.first=ln.prototype.first,ln.prototype.set=ln.prototype.set,ln.prototype.setElt=ln.prototype.cd,ln.prototype.get=ln.prototype.get,ln.prototype.elt=ln.prototype.M,ln.prototype.indexOf=ln.prototype.indexOf,ln.prototype.has=ln.prototype.has,ln.prototype.contains=ln.prototype.contains,ln.prototype.clear=ln.prototype.clear,ln.prototype.addAll=ln.prototype.addAll,ln.prototype.push=ln.prototype.push,ln.prototype.add=ln.prototype.add,ln.prototype.thaw=ln.prototype.ka,ln.prototype.freeze=ln.prototype.freeze,ln.className="List";function _r(a){this.eg=a,a.Sa=null,this.qa=a.Ja,this.sa=null}_r.prototype.reset=function(){var a=this.eg;a.Sa=null,this.qa=a.Ja,this.sa=null},_r.prototype.next=function(){var a=this.eg;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},_r.prototype.Ad=function(){return this.next()},_r.prototype.first=function(){var a=this.eg;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},_r.prototype.any=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},_r.prototype.all=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},_r.prototype.each=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},_r.prototype.map=function(a){var y=this.eg;y.Sa=null;var x=new ln;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},_r.prototype.filter=function(a){var y=this.eg;y.Sa=null;var x=new ln;for(y=y.ea;y!==null;){var E=y.value;a(E)&&x.add(E),y=y.va}return x.iterator},_r.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.eg.Sa=this},_r.prototype.toString=function(){return this.sa!==null?"SetIterator@"+this.sa.value:"SetIterator"},Rt.Object.defineProperties(_r.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.eg.Sb}}}),_r.prototype.first=_r.prototype.first,_r.prototype.hasNext=_r.prototype.Ad,_r.prototype.next=_r.prototype.next,_r.prototype.reset=_r.prototype.reset,_r.className="SetIterator";function Rn(a){Ir(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&Et("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Be=Rn.prototype,Be.xb=function(){var a=this.Ja;a++,999999999=this.Sb)return lr;var a=this.Sa;return a!==null?(a.reset(),a):new _r(this)}}}),Rn.prototype.toList=Rn.prototype.Hv,Rn.prototype.toArray=Rn.prototype.Fa,Rn.prototype.clear=Rn.prototype.clear,Rn.prototype.retainAll=Rn.prototype.pA,Rn.prototype.removeAll=Rn.prototype.hp,Rn.prototype.delete=Rn.prototype.delete,Rn.prototype.remove=Rn.prototype.remove,Rn.prototype.first=Rn.prototype.first,Rn.prototype.containsAny=Rn.prototype.Ty,Rn.prototype.containsAll=Rn.prototype.Sy,Rn.prototype.has=Rn.prototype.has,Rn.prototype.contains=Rn.prototype.contains,Rn.prototype.addAll=Rn.prototype.addAll,Rn.prototype.add=Rn.prototype.add,Rn.prototype.thaw=Rn.prototype.ka,Rn.prototype.freeze=Rn.prototype.freeze;var Bo=1;Rn.className="Set",Rn.uniqueHash=Ir,Rn.hashIdUnique=Or,Rn.hashId=fr;function Zr(a){this.ma=a,this.qa=a.Ja,this.sa=null}Zr.prototype.reset=function(){this.qa=this.ma.Ja,this.sa=null},Zr.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=this.key=a=y.key,!0):(this.de(),!1)},Zr.prototype.Ad=function(){return this.next()},Zr.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.value=this.key=a=a.key):null},Zr.prototype.any=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},Zr.prototype.all=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},Zr.prototype.each=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;)a(y.key),y=y.va;return this},Zr.prototype.map=function(a){var y=this.ma;this.sa=null;var x=new ln;for(y=y.ea;y!==null;)x.add(a(y.key)),y=y.va;return x.iterator},Zr.prototype.filter=function(a){var y=this.ma;this.sa=null;var x=new ln;for(y=y.ea;y!==null;){var E=y.key;a(E)&&x.add(E),y=y.va}return x.iterator},Zr.prototype.de=function(){this.value=this.key=null,this.qa=-1},Zr.prototype.toString=function(){return this.sa!==null?"MapKeySetIterator@"+this.sa.value:"MapKeySetIterator"},Rt.Object.defineProperties(Zr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Zr.prototype.first=Zr.prototype.first,Zr.prototype.hasNext=Zr.prototype.Ad,Zr.prototype.next=Zr.prototype.next,Zr.prototype.reset=Zr.prototype.reset,Zr.className="MapKeySetIterator";function Zi(a){Rn.call(this),Ir(this),this._isFrozen=!0,this.ma=a}_t(Zi,Rn),Be=Zi.prototype,Be.freeze=function(){return this},Be.ka=function(){return this},Be.toString=function(){return"MapKeySet("+this.ma.toString()+")"},Be.add=function(){Et("This Set is read-only: "+this.toString())},Be.contains=function(a){return this.ma.contains(a)},Be.has=function(a){return this.contains(a)},Be.remove=function(){Et("This Set is read-only: "+this.toString())},Be.delete=function(a){return this.remove(a)},Be.clear=function(){Et("This Set is read-only: "+this.toString())},Be.first=function(){var a=this.ma.ea;return a!==null?a.key:null},Zi.prototype.any=function(a){for(var y=this.ma.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},Zi.prototype.all=function(a){for(var y=this.ma.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},Zi.prototype.each=function(a){for(var y=this.ma.ea;y!==null;)a(y.key),y=y.va;return this},Zi.prototype.map=function(a){for(var y=new Rn,x=this.ma.ea;x!==null;)y.add(a(x.key)),x=x.va;return y},Zi.prototype.filter=function(a){for(var y=new Rn,x=this.ma.ea;x!==null;){var E=x.key;a(E)&&y.add(E),x=x.va}return y},Zi.prototype.copy=function(){return new Zi(this.ma)},Zi.prototype.Iv=function(){var a=new Rn,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},Zi.prototype.Fa=function(){var a=this.ma.Tb,y=Array(this.ma.Sb),x=0,E;for(E in a)y[x]=a[E].key,x++;return y},Zi.prototype.Hv=function(){var a=new ln,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},Rt.Object.defineProperties(Zi.prototype,{count:{get:function(){return this.ma.Sb}},size:{get:function(){return this.ma.Sb}},iterator:{get:function(){return 0>=this.ma.Sb?lr:new Zr(this.ma)}}}),Zi.prototype.toList=Zi.prototype.Hv,Zi.prototype.toArray=Zi.prototype.Fa,Zi.prototype.toSet=Zi.prototype.Iv,Zi.prototype.first=Zi.prototype.first,Zi.prototype.clear=Zi.prototype.clear,Zi.prototype.delete=Zi.prototype.delete,Zi.prototype.remove=Zi.prototype.remove,Zi.prototype.has=Zi.prototype.has,Zi.prototype.contains=Zi.prototype.contains,Zi.prototype.add=Zi.prototype.add,Zi.prototype.thaw=Zi.prototype.ka,Zi.prototype.freeze=Zi.prototype.freeze,Zi.className="MapKeySet";function xr(a){this.ma=a,a.jf=null,this.qa=a.Ja,this.sa=null}xr.prototype.reset=function(){var a=this.ma;a.jf=null,this.qa=a.Ja,this.sa=null},xr.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},xr.prototype.Ad=function(){return this.next()},xr.prototype.first=function(){var a=this.ma;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},xr.prototype.any=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},xr.prototype.all=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},xr.prototype.each=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},xr.prototype.map=function(a){var y=this.ma;this.sa=y.jf=null;var x=new ln;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},xr.prototype.filter=function(a){var y=this.ma;this.sa=y.jf=null;var x=new ln;for(y=y.ea;y!==null;){var E=y.value;a(E)&&x.add(E),y=y.va}return x.iterator},xr.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.jf=this},xr.prototype.toString=function(){return this.sa!==null?"MapValueSetIterator@"+this.sa.value:"MapValueSetIterator"},Rt.Object.defineProperties(xr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),xr.prototype.first=xr.prototype.first,xr.prototype.hasNext=xr.prototype.Ad,xr.prototype.next=xr.prototype.next,xr.prototype.reset=xr.prototype.reset,xr.className="MapValueSetIterator";function oo(a,y){this.key=a,this.value=y,this.ll=this.va=null}oo.prototype.toString=function(){return"{"+this.key+":"+this.value+"}"},oo.className="KeyValuePair";function Bn(a){this.ma=a,a.Sa=null,this.qa=a.Ja,this.sa=null}Bn.prototype.reset=function(){var a=this.ma;a.Sa=null,this.qa=a.Ja,this.sa=null},Bn.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.key=y.key,this.value=y.value,!0):(this.de(),!1)},Bn.prototype.Ad=function(){return this.next()},Bn.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.key=a.key,this.value=a.value,a):null},Bn.prototype.any=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y))return!0;y=y.va}return!1},Bn.prototype.all=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y))return!1;y=y.va}return!0},Bn.prototype.each=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y),y=y.va;return this},Bn.prototype.map=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new ln;for(y=y.ea;y!==null;)x.add(a(y)),y=y.va;return x.iterator},Bn.prototype.filter=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new ln;for(y=y.ea;y!==null;)a(y)&&x.add(y),y=y.va;return x.iterator},Bn.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.Sa=this},Bn.prototype.toString=function(){return this.sa!==null?"MapIterator@"+this.sa:"MapIterator"},Rt.Object.defineProperties(Bn.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Bn.prototype.first=Bn.prototype.first,Bn.prototype.hasNext=Bn.prototype.Ad,Bn.prototype.next=Bn.prototype.next,Bn.prototype.reset=Bn.prototype.reset,Bn.className="MapIterator";function gi(a){Ir(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.jf=this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&Et("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Be=gi.prototype,Be.xb=function(){var a=this.Ja;a++,999999999=this.count)return lr;var a=this.Sa;return a!==null?(a.reset(),a):new Bn(this)}},iteratorKeys:{get:function(){return 0>=this.count?lr:new Zr(this)}},iteratorValues:{get:function(){if(0>=this.count)return lr;var a=this.jf;return a!==null?(a.reset(),a):new xr(this)}}}),gi.prototype.toKeySet=gi.prototype.Lf,gi.prototype.toArray=gi.prototype.Fa,gi.prototype.clear=gi.prototype.clear,gi.prototype.delete=gi.prototype.delete,gi.prototype.remove=gi.prototype.remove,gi.prototype.get=gi.prototype.get,gi.prototype.getValue=gi.prototype.I,gi.prototype.has=gi.prototype.has,gi.prototype.contains=gi.prototype.contains,gi.prototype.first=gi.prototype.first,gi.prototype.addAll=gi.prototype.addAll,gi.prototype.set=gi.prototype.set,gi.prototype.add=gi.prototype.add,gi.prototype.thaw=gi.prototype.ka,gi.prototype.freeze=gi.prototype.freeze,gi.className="Map";function Ze(a,y){a===void 0?this.y=this.x=0:typeof a=="number"&&typeof y=="number"?(this.x=a,this.y=y):Et("Invalid arguments to Point constructor: "+a+", "+y),this._isFrozen=!1}var Io,no,rr,qi,Qi;Ze.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this},Ze.prototype.h=function(a,y){return this.x=a,this.y=y,this},Ze.prototype.sg=function(a,y){return this.x=a,this.y=y,this},Ze.prototype.set=function(a){return this.x=a.x,this.y=a.y,this},Ze.prototype.copy=function(){var a=new Ze;return a.x=this.x,a.y=this.y,a},Be=Ze.prototype,Be.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Be.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Be.freeze=function(){return this._isFrozen=!0,this},Be.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function aa(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var E=a[y++];E&&(x=parseFloat(E));for(var b=0;a[y]==="";)y++;return(E=a[y++])&&(b=parseFloat(E)),new Ze(x,b)}return new Ze}function ys(a){return a.x.toString()+" "+a.y.toString()}Be.toString=function(){return"Point("+this.x+","+this.y+")"},Be.D=function(a){return a instanceof Ze?this.x===a.x&&this.y===a.y:!1},Be.hi=function(a,y){return this.x===a&&this.y===y},Be.Xa=function(a){return Bt.B(this.x,a.x)&&Bt.B(this.y,a.y)},Be.add=function(a){return this.x+=a.x,this.y+=a.y,this},Be.re=function(a){return this.x-=a.x,this.y-=a.y,this},Be.offset=function(a,y){return this.x+=a,this.y+=y,this},Ze.prototype.rotate=function(a){if(a===0)return this;var y=this.x,x=this.y;if(y===0&&x===0)return this;if(360<=a?a-=360:0>a&&(a+=360),a===90){a=0;var E=1}else a===180?(a=-1,E=0):a===270?(a=0,E=-1):(E=a*Math.PI/180,a=Math.cos(E),E=Math.sin(E));return this.x=a*y-E*x,this.y=E*y+a*x,this},Be=Ze.prototype,Be.scale=function(a,y){return this.x*=a,this.y*=y,this},Be.Bf=function(a){var y=a.x-this.x;return a=a.y-this.y,y*y+a*a},Be.zd=function(a,y){return a-=this.x,y-=this.y,a*a+y*y},Be.normalize=function(){var a=this.x,y=this.y,x=Math.sqrt(a*a+y*y);return 0y?270:0;if(y===0)return 0a?x=0>y?x+180:180-x:0>y&&(x=360-x),x}Be.Ry=function(a,y){return Bt.Fl(a.x,a.y,y.x,y.y,this.x,this.y)},Be.fA=function(a,y,x,E){return Bt.qh(a,y,x,E,this.x,this.y,this),this},Be.gA=function(a,y){return Bt.qh(a.x,a.y,y.x,y.y,this.x,this.y,this),this},Be.uA=function(a,y,x,E){return Bt.No(this.x,this.y,a,y,x,E,this),this},Be.vA=function(a,y){return Bt.No(this.x,this.y,a.x,a.y,y.width,y.height,this),this},Be.xi=function(a,y){return this.x=a.x+y.x*a.width+y.offsetX,this.y=a.y+y.y*a.height+y.offsetY,this},Be.yi=function(a,y,x,E,b){return this.x=a+b.x*x+b.offsetX,this.y=y+b.y*E+b.offsetY,this},Be.transform=function(a){return a.Ga(this),this};function _o(a,y){return y.Cd(a),a}function Ea(a,y,x,E,b,z){var ee=b-x,re=z-E,oe=ee*ee+re*re;x-=a,E-=y;var se=-x*ee-E*re;return 0>=se||se>=oe?(ee=b-a,re=z-y,Math.min(x*x+E*E,ee*ee+re*re)):(a=ee*E-re*x,a*a/oe)}function za(a,y,x,E){return a=x-a,y=E-y,a*a+y*y}function kr(a,y,x,E){return a=x-a,y=E-y,a===0?0y?270:0:y===0?0a?E=0>y?E+180:180-E:0>y&&(E=360-E),E)}Be.w=function(){return isFinite(this.x)&&isFinite(this.y)},Ze.alloc=function(){var a=Rr.pop();return a===void 0?new Ze:a},Ze.allocAt=function(a,y){var x=Rr.pop();return x===void 0?new Ze(a,y):(x.x=a,x.y=y,x)},Ze.free=function(a){Rr.push(a)},Ze.prototype.isReal=Ze.prototype.w,Ze.prototype.setSpot=Ze.prototype.yi,Ze.prototype.setRectSpot=Ze.prototype.xi,Ze.prototype.snapToGridPoint=Ze.prototype.vA,Ze.prototype.snapToGrid=Ze.prototype.uA,Ze.prototype.projectOntoLineSegmentPoint=Ze.prototype.gA,Ze.prototype.projectOntoLineSegment=Ze.prototype.fA,Ze.intersectingLineSegments=function(a,y,x,E,b,z,ee,re){return Bt.Rl(a,y,x,E,b,z,ee,re)},Ze.prototype.compareWithLineSegmentPoint=Ze.prototype.Ry,Ze.compareWithLineSegment=function(a,y,x,E,b,z){return Bt.Fl(a,y,x,E,b,z)},Ze.prototype.direction=Ze.prototype.direction,Ze.prototype.directionPoint=Ze.prototype.ab,Ze.prototype.normalize=Ze.prototype.normalize,Ze.prototype.distanceSquared=Ze.prototype.zd,Ze.prototype.distanceSquaredPoint=Ze.prototype.Bf,Ze.prototype.scale=Ze.prototype.scale,Ze.prototype.rotate=Ze.prototype.rotate,Ze.prototype.offset=Ze.prototype.offset,Ze.prototype.subtract=Ze.prototype.re,Ze.prototype.add=Ze.prototype.add,Ze.prototype.equalsApprox=Ze.prototype.Xa,Ze.prototype.equalTo=Ze.prototype.hi,Ze.prototype.equals=Ze.prototype.D,Ze.prototype.set=Ze.prototype.set,Ze.prototype.setTo=Ze.prototype.sg;var Rr=[];Ze.className="Point",Ze.parse=aa,Ze.stringify=ys,Ze.distanceLineSegmentSquared=Ea,Ze.distanceSquared=za,Ze.direction=kr,Ze.Origin=Io=new Ze(0,0).ja(),Ze.InfiniteTopLeft=no=new Ze(-1/0,-1/0).ja(),Ze.InfiniteBottomRight=rr=new Ze(1/0,1/0).ja(),Ze.SixPoint=qi=new Ze(6,6).ja(),Ze.NoPoint=Qi=new Ze(NaN,NaN).ja(),Ze.parse=aa,Ze.stringify=ys,Ze.distanceLineSegmentSquared=Ea,Ze.distanceSquared=za,Ze.direction=kr;function pi(a,y){a===void 0?this.height=this.width=0:typeof a=="number"&&(0<=a||isNaN(a))&&typeof y=="number"&&(0<=y||isNaN(y))?(this.width=a,this.height=y):Et("Invalid arguments to Size constructor: "+a+", "+y),this._isFrozen=!1}var ho,Ba,Ws,Xa,ua,Ta,Ls;pi.prototype.assign=function(a){return this.width=a.width,this.height=a.height,this},pi.prototype.h=function(a,y){return this.width=a,this.height=y,this},pi.prototype.sg=function(a,y){return this.width=a,this.height=y,this},pi.prototype.set=function(a){return this.width=a.width,this.height=a.height,this},pi.prototype.copy=function(){var a=new pi;return a.width=this.width,a.height=this.height,a},Be=pi.prototype,Be.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Be.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Be.freeze=function(){return this._isFrozen=!0,this},Be.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function ll(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var E=a[y++];E&&(x=parseFloat(E));for(var b=0;a[y]==="";)y++;return(E=a[y++])&&(b=parseFloat(E)),new pi(x,b)}return new pi}function on(a){return a.width.toString()+" "+a.height.toString()}Be.toString=function(){return"Size("+this.width+","+this.height+")"},Be.D=function(a){return a instanceof pi?this.width===a.width&&this.height===a.height:!1},Be.hi=function(a,y){return this.width===a&&this.height===y},Be.Xa=function(a){return Bt.B(this.width,a.width)&&Bt.B(this.height,a.height)},Be.Bc=function(a,y){return a=this.width+a,this.width=0<=a?a:0,y=this.height+y,this.height=0<=y?y:0,this},Be.w=function(){return isFinite(this.width)&&isFinite(this.height)},pi.alloc=function(){var a=Va.pop();return a===void 0?new pi:a},pi.free=function(a){Va.push(a)},pi.prototype.isReal=pi.prototype.w,pi.prototype.inflate=pi.prototype.Bc,pi.prototype.equalsApprox=pi.prototype.Xa,pi.prototype.equalTo=pi.prototype.hi,pi.prototype.equals=pi.prototype.D,pi.prototype.set=pi.prototype.set,pi.prototype.setTo=pi.prototype.sg;var Va=[];pi.className="Size",pi.parse=ll,pi.stringify=on,pi.ZeroSize=ho=new pi(0,0).ja(),pi.OneSize=Ba=new pi(1,1).ja(),pi.SixSize=Ws=new pi(6,6).ja(),pi.EightSize=Xa=new pi(8,8).ja(),pi.TenSize=ua=new pi(10,10).ja(),pi.InfiniteSize=Ta=new pi(1/0,1/0).ja(),pi.NoSize=Ls=new pi(NaN,NaN).ja(),pi.parse=ll,pi.stringify=on;function nn(a,y,x,E){a===void 0?this.height=this.width=this.y=this.x=0:typeof a=="number"&&typeof y=="number"&&typeof x=="number"&&(0<=x||isNaN(x))&&typeof E=="number"&&(0<=E||isNaN(E))?(this.x=a,this.y=y,this.width=x,this.height=E):a instanceof Ze?(x=a.x,a=a.y,y instanceof Ze?(E=y.x,y=y.y,this.x=Math.min(x,E),this.y=Math.min(a,y),this.width=Math.abs(x-E),this.height=Math.abs(a-y)):y instanceof pi?(this.x=x,this.y=a,this.width=y.width,this.height=y.height):Et("Incorrect second argument supplied to Rect constructor "+y)):Et("Invalid arguments to Rect constructor: "+a+", "+y+", "+x+", "+E),this._isFrozen=!1}Be=nn.prototype,Be.assign=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Be.h=function(a,y,x,E){return this.x=a,this.y=y,this.width=x,this.height=E,this};function Ss(a,y,x){a.width=y,a.height=x}Be.sg=function(a,y,x,E){return this.x=a,this.y=y,this.width=x,this.height=E,this},Be.set=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Be.dd=function(a){return this.x=a.x,this.y=a.y,this},Be.tA=function(a){return this.width=a.width,this.height=a.height,this},nn.prototype.copy=function(){var a=new nn;return a.x=this.x,a.y=this.y,a.width=this.width,a.height=this.height,a},Be=nn.prototype,Be.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Be.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Be.freeze=function(){return this._isFrozen=!0,this},Be.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function yu(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var E=a[y++];E&&(x=parseFloat(E));for(var b=0;a[y]==="";)y++;(E=a[y++])&&(b=parseFloat(E));for(var z=0;a[y]==="";)y++;(E=a[y++])&&(z=parseFloat(E));for(var ee=0;a[y]==="";)y++;return(E=a[y++])&&(ee=parseFloat(E)),new nn(x,b,z,ee)}return new nn}function fl(a){return a.x.toString()+" "+a.y.toString()+" "+a.width.toString()+" "+a.height.toString()}Be.toString=function(){return"Rect("+this.x+","+this.y+","+this.width+","+this.height+")"},Be.D=function(a){return a instanceof nn?this.x===a.x&&this.y===a.y&&this.width===a.width&&this.height===a.height:!1},Be.hi=function(a,y,x,E){return this.x===a&&this.y===y&&this.width===x&&this.height===E},Be.Xa=function(a){return Bt.B(this.x,a.x)&&Bt.B(this.y,a.y)&&Bt.B(this.width,a.width)&&Bt.B(this.height,a.height)};function Vl(a,y){return Bt.$(a.x,y.x)&&Bt.$(a.y,y.y)&&Bt.$(a.width,y.width)&&Bt.$(a.height,y.height)}Be.ca=function(a){return this.x<=a.x&&this.x+this.width>=a.x&&this.y<=a.y&&this.y+this.height>=a.y},Be.Re=function(a){return this.x<=a.x&&a.x+a.width<=this.x+this.width&&this.y<=a.y&&a.y+a.height<=this.y+this.height},Be.contains=function(a,y,x,E){return x===void 0&&(x=0),E===void 0&&(E=0),this.x<=a&&a+x<=this.x+this.width&&this.y<=y&&y+E<=this.y+this.height},Be.offset=function(a,y){return this.x+=a,this.y+=y,this},Be.Bc=function(a,y){return is(this,y,a,y,a)},Be.Co=function(a){return is(this,a.top,a.right,a.bottom,a.left)},Be.Fv=function(a){return is(this,-a.top,-a.right,-a.bottom,-a.left)},Be.Hz=function(a,y,x,E){return is(this,a,y,x,E)};function is(a,y,x,E,b){var z=a.width;return x+b<=-z?(a.x+=z/2,a.width=0):(a.x-=b,a.width+=x+b),x=a.height,y+E<=-x?(a.y+=x/2,a.height=0):(a.y-=y,a.height+=y+E),a}Be.Ex=function(a){return kl(this,a.x,a.y,a.width,a.height)},Be.Uu=function(a,y,x,E){return kl(this,a,y,x,E)};function kl(a,y,x,E,b){var z=Math.max(a.x,y),ee=Math.max(a.y,x);return y=Math.min(a.x+a.width,y+E),x=Math.min(a.y+a.height,x+b),a.x=z,a.y=ee,a.width=Math.max(0,y-z),a.height=Math.max(0,x-ee),a}Be.Yc=function(a){return this.Vu(a.x,a.y,a.width,a.height)},Be.Vu=function(a,y,x,E){var b=this.width,z=this.x;return b!==1/0&&x!==1/0&&(b+=z,x+=a,isNaN(x)||isNaN(b)||z>x||a>b)?!1:(a=this.height,x=this.y,!(a!==1/0&&E!==1/0&&(a+=x,E+=y,isNaN(E)||isNaN(a)||x>E||y>a)))};function Nl(a,y){var x=a.width,E=a.x,b=y.x-10;return E>y.width+10+10+b||b>x+E?!1:(x=a.height,a=a.y,E=y.y-10,!(a>y.height+10+10+E||E>x+a))}Be.Ye=function(a){return ga(this,a.x,a.y,0,0)},Be.ed=function(a){return ga(this,a.x,a.y,a.width,a.height)},Be.Kv=function(a,y,x,E){return x===void 0&&(x=0),E===void 0&&(E=0),ga(this,a,y,x,E)};function ga(a,y,x,E,b){var z=Math.min(a.x,y),ee=Math.min(a.y,x);return y=Math.max(a.x+a.width,y+E),x=Math.max(a.y+a.height,x+b),a.x=z,a.y=ee,a.width=y-z,a.height=x-ee,a}Be.yi=function(a,y,x){return this.x=a-x.offsetX-x.x*this.width,this.y=y-x.offsetY-x.y*this.height,this};function gl(a,y,x,E,b,z,ee,re){return ee===void 0&&(ee=0),re===void 0&&(re=0),a<=b&&b+ee<=a+x&&y<=z&&z+re<=y+E}function Vc(a,y,x,E,b,z,ee,re){return a>ee+b||b>x+a?!1:!(y>re+z||z>E+y)}Be.w=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},Be.Mz=function(){return this.width===0&&this.height===0},nn.alloc=function(){var a=xu.pop();return a===void 0?new nn:a},nn.allocAt=function(a,y,x,E){var b=xu.pop();return b===void 0?new nn(a,y,x,E):b.h(a,y,x,E)},nn.free=function(a){xu.push(a)},Rt.Object.defineProperties(nn.prototype,{left:{get:function(){return this.x},set:function(a){this.x=a}},top:{get:function(){return this.y},set:function(a){this.y=a}},right:{get:function(){return this.x+this.width},set:function(a){this.x+=a-(this.x+this.width)}},bottom:{get:function(){return this.y+this.height},set:function(a){this.y+=a-(this.y+this.height)}},position:{get:function(){return new Ze(this.x,this.y)},set:function(a){this.x=a.x,this.y=a.y}},size:{get:function(){return new pi(this.width,this.height)},set:function(a){this.width=a.width,this.height=a.height}},center:{get:function(){return new Ze(this.x+this.width/2,this.y+this.height/2)},set:function(a){this.x=a.x-this.width/2,this.y=a.y-this.height/2}},centerX:{get:function(){return this.x+this.width/2},set:function(a){this.x=a-this.width/2}},centerY:{get:function(){return this.y+this.height/2},set:function(a){this.y=a-this.height/2}}}),nn.prototype.isEmpty=nn.prototype.Mz,nn.prototype.isReal=nn.prototype.w,nn.intersectsLineSegment=function(a,y,x,E,b,z,ee,re){return Bt.Fx(a,y,x,E,b,z,ee,re)},nn.prototype.setSpot=nn.prototype.yi,nn.prototype.union=nn.prototype.Kv,nn.prototype.unionRect=nn.prototype.ed,nn.prototype.unionPoint=nn.prototype.Ye,nn.prototype.intersects=nn.prototype.Vu,nn.prototype.intersectsRect=nn.prototype.Yc,nn.prototype.intersect=nn.prototype.Uu,nn.prototype.intersectRect=nn.prototype.Ex,nn.prototype.grow=nn.prototype.Hz,nn.prototype.subtractMargin=nn.prototype.Fv,nn.prototype.addMargin=nn.prototype.Co,nn.prototype.inflate=nn.prototype.Bc,nn.prototype.offset=nn.prototype.offset,nn.prototype.contains=nn.prototype.contains,nn.prototype.containsRect=nn.prototype.Re,nn.prototype.containsPoint=nn.prototype.ca,nn.prototype.equalsApprox=nn.prototype.Xa,nn.prototype.equalTo=nn.prototype.hi,nn.prototype.equals=nn.prototype.D,nn.prototype.setSize=nn.prototype.tA,nn.prototype.setPoint=nn.prototype.dd,nn.prototype.set=nn.prototype.set,nn.prototype.setTo=nn.prototype.sg;var du=null,Su=null,xu=[];nn.className="Rect",nn.parse=yu,nn.stringify=fl,nn.contains=gl,nn.intersects=Vc,nn.ZeroRect=du=new nn(0,0,0,0).ja(),nn.NoRect=Su=new nn(NaN,NaN,NaN,NaN).ja(),nn.parse=yu,nn.stringify=fl,nn.contains=gl,nn.intersects=Vc;function ao(a,y,x,E){a===void 0?this.left=this.bottom=this.right=this.top=0:y===void 0?this.left=this.bottom=this.right=this.top=a:x===void 0?(this.top=a,this.right=y,this.bottom=a,this.left=y):E!==void 0?(this.top=a,this.right=y,this.bottom=x,this.left=E):Et("Invalid arguments to Margin constructor: "+a+", "+y+", "+x+", "+E),this._isFrozen=!1}ao.prototype.assign=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},ao.prototype.sg=function(a,y,x,E){return this.top=a,this.right=y,this.bottom=x,this.left=E,this},ao.prototype.set=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},ao.prototype.copy=function(){var a=new ao;return a.top=this.top,a.right=this.right,a.bottom=this.bottom,a.left=this.left,a},Be=ao.prototype,Be.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Be.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Be.freeze=function(){return this._isFrozen=!0,this},Be.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function xd(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=NaN;a[y]==="";)y++;var E=a[y++];if(E&&(x=parseFloat(E)),isNaN(x))return new ao;for(var b=NaN;a[y]==="";)y++;if((E=a[y++])&&(b=parseFloat(E)),isNaN(b))return new ao(x);for(var z=NaN;a[y]==="";)y++;if((E=a[y++])&&(z=parseFloat(E)),isNaN(z))return new ao(x,b);for(var ee=NaN;a[y]==="";)y++;return(E=a[y++])&&(ee=parseFloat(E)),isNaN(ee)?new ao(x,b):new ao(x,b,z,ee)}return new ao}function Ed(a){return a.top.toString()+" "+a.right.toString()+" "+a.bottom.toString()+" "+a.left.toString()}Be.toString=function(){return"Margin("+this.top+","+this.right+","+this.bottom+","+this.left+")"},Be.D=function(a){return a instanceof ao?this.top===a.top&&this.right===a.right&&this.bottom===a.bottom&&this.left===a.left:!1},Be.hi=function(a,y,x,E){return this.top===a&&this.right===y&&this.bottom===x&&this.left===E},Be.Xa=function(a){return Bt.B(this.top,a.top)&&Bt.B(this.right,a.right)&&Bt.B(this.bottom,a.bottom)&&Bt.B(this.left,a.left)},Be.w=function(){return isFinite(this.top)&&isFinite(this.right)&&isFinite(this.bottom)&&isFinite(this.left)},ao.alloc=function(){var a=Nh.pop();return a===void 0?new ao:a},ao.free=function(a){Nh.push(a)},ao.prototype.isReal=ao.prototype.w,ao.prototype.equalsApprox=ao.prototype.Xa,ao.prototype.equalTo=ao.prototype.hi,ao.prototype.equals=ao.prototype.D,ao.prototype.set=ao.prototype.set,ao.prototype.setTo=ao.prototype.sg;var Bc=null,Od=null,Nh=[];ao.className="Margin",ao.parse=xd,ao.stringify=Ed,ao.ZeroMargin=Bc=new ao(0,0,0,0).ja(),ao.TwoMargin=Od=new ao(2,2,2,2).ja(),ao.parse=xd,ao.stringify=Ed;function ir(a,y,x,E){a===void 0?this.offsetY=this.offsetX=this.y=this.x=0:(y===void 0&&(y=0),x===void 0&&(x=0),E===void 0&&(E=0),this.x=a,this.y=y,this.offsetX=x,this.offsetY=E),this._isFrozen=!1}var il,bl,wr,so,ca,Dr,Bl,ku,xs,hu,ic,Ms,Tl,Gl,Yu,ed,Jd,Qh,Th,Id,Ol,rc,Il,Dc,Pd,Zl,qh,xf,wd,hh,Vu,_u,ul,ou,Oh,Qd;ir.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},ir.prototype.sg=function(a,y,x,E){return this.x=a,this.y=y,this.offsetX=x,this.offsetY=E,this},ir.prototype.set=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},ir.prototype.copy=function(){var a=new ir;return a.x=this.x,a.y=this.y,a.offsetX=this.offsetX,a.offsetY=this.offsetY,a},Be=ir.prototype,Be.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Be.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Be.freeze=function(){return this._isFrozen=!0,this},Be.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function pl(a,y){return a.x=NaN,a.y=NaN,a.offsetX=y,a}function $h(a){if(typeof a=="string"){if(a=a.trim(),a==="None")return il;if(a==="TopLeft")return bl;if(a==="Top"||a==="TopCenter"||a==="MiddleTop")return wr;if(a==="TopRight")return so;if(a==="Left"||a==="LeftCenter"||a==="MiddleLeft")return ca;if(a==="Center")return Dr;if(a==="Right"||a==="RightCenter"||a==="MiddleRight")return Bl;if(a==="BottomLeft")return ku;if(a==="Bottom"||a==="BottomCenter"||a==="MiddleBottom")return xs;if(a==="BottomRight")return hu;if(a==="TopSide")return ic;if(a==="LeftSide")return Ms;if(a==="RightSide")return Tl;if(a==="BottomSide")return Gl;if(a==="TopBottomSides")return Yu;if(a==="LeftRightSides")return ed;if(a==="TopLeftSides")return Jd;if(a==="TopRightSides")return Qh;if(a==="BottomLeftSides")return Th;if(a==="BottomRightSides")return Id;if(a==="NotTopSide")return Ol;if(a==="NotLeftSide")return rc;if(a==="NotRightSide")return Il;if(a==="NotBottomSide")return Dc;if(a==="AllSides")return Pd;if(a==="Default")return Zl;a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var E=a[y++];E!==void 0&&0a&&(a+=360),a===0)return this;if(this.translate(y,x),a===90){a=0;var E=1}else a===180?(a=-1,E=0):a===270?(a=0,E=-1):(E=a*Math.PI/180,a=Math.cos(E),E=Math.sin(E));var b=this.m12*a+this.m22*E,z=this.m11*-E+this.m21*a,ee=this.m12*-E+this.m22*a;return this.m11=this.m11*a+this.m21*E,this.m12=b,this.m21=z,this.m22=ee,this.translate(-y,-x),this},Be=qr.prototype,Be.translate=function(a,y){return this.dx+=this.m11*a+this.m21*y,this.dy+=this.m12*a+this.m22*y,this},Be.scale=function(a,y){return y===void 0&&(y=a),this.m11*=a,this.m12*=a,this.m21*=y,this.m22*=y,this},Be.Ga=function(a){var y=a.x,x=a.y;return a.h(y*this.m11+x*this.m21+this.dx,y*this.m12+x*this.m22+this.dy)},Be.Cd=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=a.x,E=a.y;return a.h(x*this.m22*y+E*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+E*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Be.Eu=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=1.25*a.x,E=1.2*a.y;return a.h(x*this.m22*y+E*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+E*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Be.pp=function(a){var y=a.x,x=a.y,E=y+a.width,b=x+a.height,z=this.m11,ee=this.m12,re=this.m21,oe=this.m22,se=this.dx,ce=this.dy,ge=y*z+x*re+se,Se=y*ee+x*oe+ce,we=E*z+x*re+se,Fe=E*ee+x*oe+ce;return x=y*z+b*re+se,y=y*ee+b*oe+ce,z=E*z+b*re+se,E=E*ee+b*oe+ce,b=Math.min(ge,we),ge=Math.max(ge,we),we=Math.min(Se,Fe),Se=Math.max(Se,Fe),b=Math.min(b,x),ge=Math.max(ge,x),we=Math.min(we,y),Se=Math.max(Se,y),b=Math.min(b,z),ge=Math.max(ge,z),we=Math.min(we,E),Se=Math.max(Se,E),a.h(b,we,ge-b,Se-we),a},qr.alloc=function(){var a=Ih.pop();return a===void 0?new qr:a},qr.free=function(a){Ih.push(a)},qr.prototype.transformRect=qr.prototype.pp,qr.prototype.transformPoint=qr.prototype.Ga,qr.prototype.scale=qr.prototype.scale,qr.prototype.translate=qr.prototype.translate,qr.prototype.rotate=qr.prototype.rotate,qr.prototype.invert=qr.prototype.Vj,qr.prototype.multiplyInverted=qr.prototype.bv,qr.prototype.multiply=qr.prototype.multiply,qr.prototype.reset=qr.prototype.reset,qr.prototype.isIdentity=qr.prototype.ws,qr.prototype.equals=qr.prototype.D,qr.prototype.setTransform=qr.prototype.setTransform,qr.prototype.set=qr.prototype.set;var Ih=[];qr.className="Transform",qr.xF="54a702f3e53909c447824c6706603faf4c";var Bt={AA:"7da71ca0ad381e90",wg:(Math.sqrt(2)-1)/3*4,Uv:null,sqrt:function(a){if(0>=a)return 0;var y=Bt.Uv;if(y===null){y=[];for(var x=0;2e3>=x;x++)y[x]=Math.sqrt(x);Bt.Uv=y}return 1>a?(x=1/a,2e3>=x?1/y[x|0]:Math.sqrt(a)):2e3>=a?y[a|0]:Math.sqrt(a)},B:function(a,y){return a-=y,.5>a&&-.5a&&-5e-8=b&&(b=1e-6),ace-se)if(a-x>b||x-a>b){if(z=(E-y)/(x-a)*(z-a)+y,z-b<=ee&&ee<=z+b)return!0}else return!0;else if(y-E>b||E-y>b){if(ee=(x-a)/(E-y)*(ee-y)+a,ee-b<=z&&z<=ee+b)return!0}else return!0;return!1},cs:function(a,y,x,E,b,z,ee,re,oe,se,ce,ge){if(Bt.Yb(a,y,ee,re,ge,x,E)&&Bt.Yb(a,y,ee,re,ge,b,z))return Bt.Yb(a,y,ee,re,ge,se,ce);var Se=(a+x)/2,we=(y+E)/2,Fe=(x+b)/2,Ne=(E+z)/2;b=(b+ee)/2,z=(z+re)/2,E=(Se+Fe)/2,x=(we+Ne)/2,Fe=(Fe+b)/2,Ne=(Ne+z)/2;var Je=(E+Fe)/2,Ge=(x+Ne)/2;return Bt.cs(a,y,Se,we,E,x,Je,Ge,oe,se,ce,ge)||Bt.cs(Je,Ge,Fe,Ne,b,z,ee,re,oe,se,ce,ge)},ax:function(a,y,x,E,b,z,ee,re,oe){var se=(x+b)/2,ce=(E+z)/2;return oe.h((((a+x)/2+se)/2+(se+(b+ee)/2)/2)/2,(((y+E)/2+ce)/2+(ce+(z+re)/2)/2)/2),oe},My:function(a,y,x,E,b,z,ee,re){var oe=(x+b)/2,se=(E+z)/2;return kr(((a+x)/2+oe)/2,((y+E)/2+se)/2,(oe+(b+ee)/2)/2,(se+(z+re)/2)/2)},Dl:function(a,y,x,E,b,z,ee,re,oe,se){if(Bt.Yb(a,y,ee,re,oe,x,E)&&Bt.Yb(a,y,ee,re,oe,b,z))ga(se,a,y,0,0),ga(se,ee,re,0,0);else{var ce=(a+x)/2,ge=(y+E)/2,Se=(x+b)/2,we=(E+z)/2;b=(b+ee)/2,z=(z+re)/2,E=(ce+Se)/2,x=(ge+we)/2,Se=(Se+b)/2,we=(we+z)/2;var Fe=(E+Se)/2,Ne=(x+we)/2;Bt.Dl(a,y,ce,ge,E,x,Fe,Ne,oe,se),Bt.Dl(Fe,Ne,Se,we,b,z,ee,re,oe,se)}return se},Qe:function(a,y,x,E,b,z,ee,re,oe,se){if(Bt.Yb(a,y,ee,re,oe,x,E)&&Bt.Yb(a,y,ee,re,oe,b,z))se.length===0&&(se.push(a),se.push(y)),se.push(ee),se.push(re);else{var ce=(a+x)/2,ge=(y+E)/2,Se=(x+b)/2,we=(E+z)/2;b=(b+ee)/2,z=(z+re)/2,E=(ce+Se)/2,x=(ge+we)/2,Se=(Se+b)/2,we=(we+z)/2;var Fe=(E+Se)/2,Ne=(x+we)/2;Bt.Qe(a,y,ce,ge,E,x,Fe,Ne,oe,se),Bt.Qe(Fe,Ne,Se,we,b,z,ee,re,oe,se)}return se},jv:function(a,y,x,E,b,z,ee,re,oe,se){if(Bt.Yb(a,y,b,z,se,x,E))return Bt.Yb(a,y,b,z,se,re,oe);var ce=(a+x)/2,ge=(y+E)/2;x=(x+b)/2,E=(E+z)/2;var Se=(ce+x)/2,we=(ge+E)/2;return Bt.jv(a,y,ce,ge,Se,we,ee,re,oe,se)||Bt.jv(Se,we,x,E,b,z,ee,re,oe,se)},OA:function(a,y,x,E,b,z,ee){return ee.h(((a+x)/2+(x+b)/2)/2,((y+E)/2+(E+z)/2)/2),ee},iv:function(a,y,x,E,b,z,ee,re){if(Bt.Yb(a,y,b,z,ee,x,E))ga(re,a,y,0,0),ga(re,b,z,0,0);else{var oe=(a+x)/2,se=(y+E)/2;x=(x+b)/2,E=(E+z)/2;var ce=(oe+x)/2,ge=(se+E)/2;Bt.iv(a,y,oe,se,ce,ge,ee,re),Bt.iv(ce,ge,x,E,b,z,ee,re)}return re},ep:function(a,y,x,E,b,z,ee,re){if(Bt.Yb(a,y,b,z,ee,x,E))re.length===0&&(re.push(a),re.push(y)),re.push(b),re.push(z);else{var oe=(a+x)/2,se=(y+E)/2;x=(x+b)/2,E=(E+z)/2;var ce=(oe+x)/2,ge=(se+E)/2;Bt.ep(a,y,oe,se,ce,ge,ee,re),Bt.ep(ce,ge,x,E,b,z,ee,re)}return re},Eo:function(a,y,x,E,b,z,ee,re,oe,se,ce,ge,Se,we){if(Bt.Yb(a,y,ee,re,Se,x,E)&&Bt.Yb(a,y,ee,re,Se,b,z))return!Bt.Rl(a,y,ee,re,oe,se,ce,ge)||(Se=(a-ee)*(se-ge)-(y-re)*(oe-ce),Se===0)?!1:(we.h(((a*re-y*ee)*(oe-ce)-(a-ee)*(oe*ge-se*ce))/Se,((a*re-y*ee)*(se-ge)-(y-re)*(oe*ge-se*ce))/Se),!0);var Fe=(a+x)/2,Ne=(y+E)/2,Je=(x+b)/2,Ge=(E+z)/2;b=(b+ee)/2,z=(z+re)/2,E=(Fe+Je)/2,x=(Ne+Ge)/2,Je=(Je+b)/2,Ge=(Ge+z)/2;var nt=(E+Je)/2,at=(x+Ge)/2,ft=1/0,Ct=!1,Kt=0,Pi=0;return Bt.Eo(a,y,Fe,Ne,E,x,nt,at,oe,se,ce,ge,Se,we)&&(a=(we.x-oe)*(we.x-oe)+(we.y-se)*(we.y-se),a=ce)return we;if((oe>ce?oe-ce:ce-oe)<(se>ge?se-ge:ge-se)){if(ya)return we}else if(aa)return we;0Se&&we--}else{Fe=(a+x)/2,Ne=(y+E)/2;var Je=(x+b)/2,Ge=(E+z)/2;b=(b+ee)/2,z=(z+re)/2,E=(Fe+Je)/2,x=(Ne+Ge)/2,Je=(Je+b)/2,Ge=(Ge+z)/2;var nt=(E+Je)/2,at=(x+Ge)/2;we+=Bt.Fo(a,y,Fe,Ne,E,x,nt,at,oe,se,ce,ge,Se),we+=Bt.Fo(nt,at,Je,Ge,b,z,ee,re,oe,se,ce,ge,Se)}return we},qh:function(a,y,x,E,b,z,ee){return Bt.$(a,x)?(yy?(ee.h(a,y),!1):(ee.h(a,z),!0)):Bt.$(y,E)?(aa?(ee.h(a,y),!1):(ee.h(b,y),!0)):(b=((a-b)*(a-x)+(y-z)*(y-E))/((x-a)*(x-a)+(E-y)*(E-y)),-5e-6>b?(ee.h(a,y),!1):1.000005y?(oe.h(a,y),!1):(oe.h(a,x),!0)):(ee=(E-y)/(x-a),Bt.$(re,ee)?(Bt.qh(a,y,x,E,b,z,oe),!1):(b=(ee*a-re*b+z-y)/(ee-re),Bt.$(ee,0)?(aa?(oe.h(a,y),!1):(oe.h(b,y),!0)):Bt.qh(a,y,x,E,b,ee*(b-a)+y,oe))))},MA:function(a,y,x,E,b){return Bt.Ve(x.x,x.y,E.x,E.y,a.x,a.y,y.x,y.y,b)},KA:function(a,y,x,E,b,z,ee,re,oe,se){function ce(Je,Ge){var nt=(Je-a)*(Je-a)+(Ge-y)*(Ge-y);nt(x>a?x-a:a-x)){if(Se=1-(x-b)*(x-b)/(Se*Se),0>Se)return oe;Se=Math.sqrt(Se),E=-se*Se+z,ce(x,se*Se+z),ce(x,E)}else{if(x=(E-y)/(x-a),E=1/(Se*Se)+x*x/(se*se),re=2*x*(y-x*a)/(se*se)-2*x*z/(se*se)-2*b/(Se*Se),Se=re*re-4*E*(2*x*a*z/(se*se)-2*y*z/(se*se)+z*z/(se*se)+b*b/(Se*Se)-1+(y-x*a)*(y-x*a)/(se*se)),0>Se)return oe;Se=Math.sqrt(Se),se=(-re+Se)/(2*E),ce(se,x*se-x*a+y),Se=(-re-Se)/(2*E),ce(Se,x*Se-x*a+y)}return oe},Ff:function(a,y,x,E,b,z,ee,re,oe){var se=1e21,ce=a,ge=y;if(Bt.Ve(a,y,a,E,b,z,ee,re,oe)){var Se=(oe.x-b)*(oe.x-b)+(oe.y-z)*(oe.y-z);Sese},us:function(a,y,x){return Bt.Fx(a.x,a.y,a.width,a.height,y.x,y.y,x.x,x.y)},Fx:function(a,y,x,E,b,z,ee,re){var oe=a+x,se=y+E;return b===ee?(z=y):z===re?(b=a):!!(gl(a,y,x,E,b,z)||gl(a,y,x,E,ee,re)||Bt.Rl(a,y,oe,y,b,z,ee,re)||Bt.Rl(oe,y,oe,se,b,z,ee,re)||Bt.Rl(oe,se,a,se,b,z,ee,re)||Bt.Rl(a,se,a,y,b,z,ee,re))},Rl:function(a,y,x,E,b,z,ee,re){return a===x&&y===E&&b===ee&&z===re?a===b&&y===z:0>=Bt.Fl(a,y,x,E,b,z)*Bt.Fl(a,y,x,E,ee,re)&&0>=Bt.Fl(b,z,ee,re,a,y)*Bt.Fl(b,z,ee,re,x,E)},Fl:function(a,y,x,E,b,z){return x-=a,E-=y,a=b-a,y=z-y,z=a*E-y*x,z===0&&(z=a*x+y*E,0z&&(z=0))),z},bp:function(a){return 0>a&&(a+=360),360<=a&&(a-=360),a},jx:function(a,y,x,E,b,z){var ee=Math.PI;z||(E*=ee/180,b*=ee/180);var re=E>b?-1:1;z=[];var oe=ee/2,se=E;if(E=Math.min(2*ee,Math.abs(b-E)),1e-5>E)return oe=se+re*Math.min(E,oe),re=a+x*Math.cos(se),se=y+x*Math.sin(se),a+=x*Math.cos(oe),y+=x*Math.sin(oe),x=(re+a)/2,oe=(se+y)/2,z.push([re,se,x,oe,x,oe,a,y]),z;for(;1e-5x,z=0>E;if(ase&&(y=.5*(re+oe),!(y===re||y===oe));++se){var ce=a/(y+b),ge=ee/(y+z);if(ce=ce*ce+ge*ge-1,0ce)oe=y;else break}x=b*x/(y+b)-x,E=z*E/(y+z)-E,x=Math.sqrt(x*x+E*E)}else x=Math.abs(E-y);else E=a*a-y*y,z=a*x,za?"M"+this.startX.toString()+" "+this.startY.toString()+"L"+this.endX.toString()+" "+this.endY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a)+"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);case li.u:var y=new nn(this.startX,this.startY,0,0);return y.Kv(this.endX,this.endY,0,0),0>a?"M"+y.x.toString()+" "+y.y.toString()+"H"+y.right.toString()+"V"+y.bottom.toString()+"H"+y.left.toString()+"z":"M"+y.x.toFixed(a)+" "+y.y.toFixed(a)+"H"+y.right.toFixed(a)+"V"+y.bottom.toFixed(a)+"H"+y.left.toFixed(a)+"z";case li.F:if(y=new nn(this.startX,this.startY,0,0),y.Kv(this.endX,this.endY,0,0),0>a)return a=y.left.toString()+" "+(y.y+y.height/2).toString(),"M"+a+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+(y.right.toString()+" "+(y.y+y.height/2).toString())+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+a;var x=y.left.toFixed(a)+" "+(y.y+y.height/2).toFixed(a);return"M"+x+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+(y.right.toFixed(a)+" "+(y.y+y.height/2).toFixed(a))+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+x;case li.o:y="",x=this.figures.s;for(var E=x.length,b=0;b=ft-1?!0:se[Ne+1].match(Ct)!==null}function E(){return Ne++,se[Ne]}function b(zr){var Fr=parseFloat(E()),oa=parseFloat(E());Je===Je.toLowerCase()&&(Fr=at.x+Fr,oa=at.y+oa),zr.h(Fr,oa)}function z(){return b(at),at}function ee(){return b(nt),nt}function re(){var zr=Ge.toLowerCase();return zr!=="c"&&zr!=="s"&&zr!=="q"&&zr!=="t"?at:new Ze(2*at.x-nt.x,2*at.y-nt.y)}y===void 0&&(y=!1);var oe=/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm;a=a.replace(/,/gm," "),a=a.replace(oe,"$1 $2"),a=a.replace(oe,"$1 $2"),a=a.replace(/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([^s])/gm,"$1 $2"),a=a.replace(/([^s])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm,"$1 $2"),a=a.replace(/([0-9])([+\-])/gm,"$1 $2"),a=a.replace(/[\s\r\t\n]+/gm," "),a=a.replace(/^\s+|\s+$/g,"");var se=a.split(" ");for(a=0;a=ft-1);)if(Ge=Je,Je=E(),Je!=="")switch(Je.toUpperCase()){case"X":we=!0,ge=ce=!1;break;case"M":for(Fe=z(),a.mc===null||we===!0?(Fp(a,Fe.x,Fe.y,ce,!ge,Se),we=!1):a.moveTo(Fe.x,Fe.y),oe.assign(at);!x();)Fe=z(),a.lineTo(Fe.x,Fe.y);break;case"L":for(;!x();)Fe=z(),a.lineTo(Fe.x,Fe.y);break;case"H":for(;!x();)at=new Ze((Je===Je.toLowerCase()?at.x:0)+parseFloat(E()),at.y),a.lineTo(at.x,at.y);break;case"V":for(;!x();)at=new Ze(at.x,(Je===Je.toLowerCase()?at.y:0)+parseFloat(E())),a.lineTo(at.x,at.y);break;case"C":for(;!x();){Fe=new Ze,b(Fe);var Kt=ee(),Pi=z();Rf(a,Fe.x,Fe.y,Kt.x,Kt.y,Pi.x,Pi.y)}break;case"S":for(;!x();)Fe=re(),Kt=ee(),Pi=z(),Rf(a,Fe.x,Fe.y,Kt.x,Kt.y,Pi.x,Pi.y);break;case"Q":for(;!x();)Fe=ee(),Kt=z(),x0(a,Fe.x,Fe.y,Kt.x,Kt.y);break;case"T":for(;!x();)nt=Fe=re(),Kt=z(),x0(a,Fe.x,Fe.y,Kt.x,Kt.y);break;case"B":for(;!x();){Fe=parseFloat(E()),Kt=parseFloat(E()),Pi=parseFloat(E());var zi=parseFloat(E()),Ni=parseFloat(E()),oi=Ni,Tn=!1;x()||(oi=parseFloat(E()),x()||(Tn=parseFloat(E())!==0)),Je===Je.toLowerCase()&&(Pi+=at.x,zi+=at.y),a.arcTo(Fe,Kt,Pi,zi,Ni,oi,Tn)}break;case"A":for(;!x();)Fe=Math.abs(parseFloat(E())),Kt=Math.abs(parseFloat(E())),Pi=parseFloat(E()),Ni=zi=!1,Tn=oi=0,oi=E(),oi.length===1?(zi=!!parseFloat(oi),Ni=!!parseFloat(E()),oi=parseFloat(E())):oi.length===2?(zi=!!parseFloat(oi[0]),Ni=!!parseFloat(oi[1]),oi=parseFloat(E())):(zi=!!parseFloat(oi[0]),Ni=!!parseFloat(oi[1]),oi=parseFloat(oi.slice(2))),Tn=parseFloat(E()),Je===Je.toLowerCase()&&(oi=at.x+oi,Tn=at.y+Tn),at.h(oi,Tn),Nx(a,Fe,Kt,Pi,zi,Ni,oi,Tn);break;case"Z":kx(a),at.assign(oe);break;case"F":for(Fe="",Kt=1;se[Ne+Kt];)if(se[Ne+Kt]==="0")Se=!0,Kt++;else if(se[Ne+Kt].match(/[Uu]/)!==null)Kt++;else if(se[Ne+Kt].match(Ct)===null)Kt++;else{Fe=se[Ne+Kt];break}Fe.match(/[Mm]/)?ce=!0:0ee&&(ee+=360),Fe.startAngle+=ee),0>a&&(Fe.startAngle=180-Fe.startAngle,Fe.sweepAngle=-Fe.sweepAngle),0>E&&(Fe.startAngle=-Fe.startAngle,Fe.sweepAngle=-Fe.sweepAngle),Fe.radiusX*=Math.sqrt(a*a+x*x),Fe.radiusY!==void 0&&(Fe.radiusY*=Math.sqrt(y*y+E*E));break;case qe:if(ee=Fe.endX,re=Fe.endY,Fe.endX=ee*a+re*x+b,Fe.endY=ee*y+re*E+z,Fe.radiusX===0||Fe.radiusY===0)break;y!==0&&(ee=180*Math.atan2(y,a)/Math.PI,0>ee&&(ee+=360),Fe.xAxisRotation+=ee),0>a&&(Fe.xAxisRotation=180-Fe.xAxisRotation,Fe.isClockwiseArc=!Fe.isClockwiseArc),0>E&&(Fe.xAxisRotation=-Fe.xAxisRotation,Fe.isClockwiseArc=!Fe.isClockwiseArc),Fe.radiusX*=Math.sqrt(a*a+x*x),Fe.radiusY*=Math.sqrt(y*y+E*E);break;default:Et("Unknown Segment type: "+Fe.type)}}}}return this._isInvalidBounds=!0,this},Be.ca=function(a,y){y===void 0&&(y=0);var x=this.od,E=this.pd,b=this.Dc,z=this.Ec;switch(this.type){case li.j:return Bt.Yb(x,E,b,z,y,a.x,a.y);case li.u:var ee=nn.allocAt(Math.min(x,b)-y,Math.min(E,z)-y,Math.abs(b-x)+2*y,Math.abs(z-E)+2*y);return a=ee.ca(a),nn.free(ee),a;case li.F:ee=Math.min(x,b)-y;var re=Math.min(E,z)-y;return x=(Math.abs(b-x)+2*y)/2,y=(Math.abs(z-E)+2*y)/2,0>=x||0>=y?!1:(ee=a.x-(ee+x),re=a.y-(re+y),1>=ee*ee/(x*x)+re*re/(y*y));case li.o:return cd(this,a,y,!0,!1);default:return!1}};function cd(a,y,x,E,b){var z=y.x;y=y.y;for(var ee=a.bounds.x-20,re=0,oe,se,ce,ge,Se=a.figures.s,we=Se.length,Fe=0;Fe=a)return 0;if((b>ee?b-ee:ee-b)<(z>re?z-re:re-z)){if(zre)return 0}else if(yz)return 0}else if(bee)return 0}else if(seb)return 0;return 0a?a=0:1=z)return E=z-ee,E=ce===0?0:E/ce,x=x[re],re=x[2*a],b=x[2*a+1],y.h(re+(x[2*a+2]-re)*E,b+(x[2*a+3]-b)*E),y;ee+=ce}}return y},Be.wx=function(a){if(0>a?a=0:1=b)return b=y[ee],y=b[2*a],x=b[2*a+1],E=b[2*a+2],a=b[2*a+3],1>Math.abs(E-y)&&1>Math.abs(a-x)?0:1>Math.abs(E-y)?0<=a-x?90:270:1>Math.abs(a-x)?0<=E-y?0:180:180*Math.atan2(a-x,E-y)/Math.PI;z+=se}}return NaN},Be.Qu=function(a,y){if(0>a?a=0:1=z)return E=z-ee,E=ce===0?0:E/ce,ce=x[re],x=ce[2*a],re=ce[2*a+1],b=ce[2*a+2],a=ce[2*a+3],y[0]=x+(b-x)*E,y[1]=re+(a-re)*E,y[2]=1>Math.abs(b-x)&&1>Math.abs(a-re)?0:1>Math.abs(b-x)?0<=a-re?90:270:1>Math.abs(a-re)?0<=b-x?0:180:180*Math.atan2(a-re,b-x)/Math.PI,y;ee+=ce}}return y},Be.xx=function(a){if(this.type===li.j){var y=this.startX,x=this.startY,E=this.endX,b=this.endY;if(y!==E||x!==b){var z=a.x;if(a=a.y,y===E){if(x=E?E===x?0:1:Math.abs(a-x)/(E-ee)}if(x===b)return y=E?E===y?0:1:Math.abs(z-y)/(E-ee);ee=(E-y)*(E-y)+(b-x)*(b-x);var re=Ze.alloc();return Bt.qh(y,x,E,b,z,a,re),a=re.x,z=re.y,Ze.free(re),Math.sqrt(((a-y)*(a-y)+(z-x)*(z-x))/ee)}}else if(this.type===li.u){ee=this.startX,re=this.startY;var oe=this.endX;if(b=this.endY,ee!==oe||re!==b){y=oe-ee,x=b-re,z=2*y+2*x,E=a.x,a=a.y,E=Math.min(Math.max(E,ee),oe),a=Math.min(Math.max(a,re),b),ee=Math.abs(E-ee),oe=Math.abs(E-oe),re=Math.abs(a-re),b=Math.abs(a-b);var se=Math.min(ee,oe,re,b);if(se===re)return E/z;if(se===oe)return(y+a)/z;if(se===b)return(2*y+x-E)/z;if(se===ee)return(2*y+2*x-a)/z}}else{y=this.flattenedSegments,x=this.flattenedLengths,z=this.flattenedTotalLength,E=Ze.alloc(),b=1/0,re=ee=0,oe=y.length;for(var ce=se=0,ge=0;gea?0:1a?"M"+this.startX.toString()+" "+this.startY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a),x=this.segments.s,E=x.length,b=0;ba&&(a+=360),this.Ne=a,this.Vh=0,this.Wh=Math.max(E,0),this.Pg=Math.max(b,0),typeof ee=="boolean"?ee&&(this.isLargeArc=!0):typeof ee=="number"&&ee&&(this.isLargeArc=!0),re&&(this.isClockwiseArc=!0)):(this.Ne=E,this.Vh=b,a===He&&(z=Math.max(z,0)),this.Wh=z,typeof ee=="number"?(a===He&&(ee=Math.max(ee,0)),this.Pg=ee):this.Pg=0),this.ae=null}Uo.prototype.copy=function(){var a=new Uo;return a.na=this.na,a.l=this.l&-2,a.Dc=this.Dc,a.Ec=this.Ec,a.Ne=this.Ne,a.Vh=this.Vh,a.Wh=this.Wh,a.Pg=this.Pg,a},Be=Uo.prototype,Be.Xa=function(a){if(!(a instanceof Uo)||this.type!==a.type||this.isClosed!==a.isClosed)return!1;switch(this.type){case tl:case Oa:return Bt.B(this.endX,a.endX)&&Bt.B(this.endY,a.endY);case ml:return Bt.B(this.endX,a.endX)&&Bt.B(this.endY,a.endY)&&Bt.B(this.point1X,a.point1X)&&Bt.B(this.point1Y,a.point1Y)&&Bt.B(this.point2X,a.point2X)&&Bt.B(this.point2Y,a.point2Y);case We:return Bt.B(this.endX,a.endX)&&Bt.B(this.endY,a.endY)&&Bt.B(this.point1X,a.point1X)&&Bt.B(this.point1Y,a.point1Y);case He:return Bt.B(this.startAngle,a.startAngle)&&Bt.B(this.sweepAngle,a.sweepAngle)&&Bt.B(this.centerX,a.centerX)&&Bt.B(this.centerY,a.centerY)&&Bt.B(this.radiusX,a.radiusX)&&Bt.B(this.radiusY,a.radiusY);case qe:return this.isClockwiseArc===a.isClockwiseArc&&this.isLargeArc===a.isLargeArc&&Bt.B(this.xAxisRotation,a.xAxisRotation)&&Bt.B(this.endX,a.endX)&&Bt.B(this.endY,a.endY)&&Bt.B(this.radiusX,a.radiusX)&&Bt.B(this.radiusY,a.radiusY);default:return!1}},Be.qb=function(a){a.classType===Uo&&(this.type=a)},Be.toString=function(a){switch(a===void 0&&(a=-1),this.type){case tl:a=0>a?"M"+this.endX.toString()+" "+this.endY.toString():"M"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case Oa:a=0>a?"L"+this.endX.toString()+" "+this.endY.toString():"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case ml:a=0>a?"C"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.point2X.toString()+" "+this.point2Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"C"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.point2X.toFixed(a)+" "+this.point2Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case We:a=0>a?"Q"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"Q"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case He:a=0>a?"B"+this.startAngle.toString()+" "+this.sweepAngle.toString()+" "+this.centerX.toString()+" "+this.centerY.toString()+" "+this.radiusX.toString()+" "+this.radiusY.toString():"B"+this.startAngle.toFixed(a)+" "+this.sweepAngle.toFixed(a)+" "+this.centerX.toFixed(a)+" "+this.centerY.toFixed(a)+" "+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a);break;case qe:a=0>a?"A"+this.radiusX.toString()+" "+this.radiusY.toString()+" "+this.xAxisRotation.toString()+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toString()+" "+this.endY.toString():"A"+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a)+" "+this.xAxisRotation.toFixed(a)+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;default:a=this.type.toString()}return a+(this.isClosed?"z":"")},Be.freeze=function(){return this._isFrozen=!0,this},Be.ka=function(){return this._isFrozen=!1,this},Be.close=function(){return this.isClosed=!0,this};function au(a,y){if(a.ae!==null&&y._isInvalidBounds===!1)return a.ae;var x=a.radiusX,E=a.radiusY;if(E===void 0&&(E=x),x===0||E===0)return a.ae=[],a.ae;y=a.Ne;var b=a.Vh,z=Bt.jx(0,0,x=we?ee=Math.PI:1<=we&&(ee=0),!oe&&0ee&&(ee+=2*Math.PI),oe=y>z?1:y/z,we=y>z?z/y:1,y=Bt.jx(0,0,y>z?y:z,ce,ce+ee,!0),z=qr.alloc(),z.reset(),z.translate(x,E),z.rotate(a.Ne,0,0),z.scale(oe,we),li.Ha(y,z),qr.free(z),a.ae=y,a.ae}Rt.Object.defineProperties(Uo.prototype,{_isFrozen:{get:function(){return(this.l&1)!==0},set:function(a){this.l=a?this.l|1:this.l&-2}},_isInvalidBounds:{get:function(){return(this.l&2)!==0},set:function(a){this.l=a?this.l|2:this.l&-3}},isClosed:{get:function(){return(this.l&8)!==0},set:function(a){this.isClosed!==a&&(this.l=a?this.l|8:this.l&-9,this._isInvalidBounds=!0)}},type:{get:function(){return this.na},set:function(a){this._isFrozen&&Di(this,a),this.na=a,this._isInvalidBounds=!0}},endX:{get:function(){return this.Dc},set:function(a){this._isFrozen&&Di(this,a),this.Dc=a,this._isInvalidBounds=!0}},endY:{get:function(){return this.Ec},set:function(a){this._isFrozen&&Di(this,a),this.Ec=a,this._isInvalidBounds=!0}},point1X:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Di(this,a),this.Ne=a,this._isInvalidBounds=!0}},point1Y:{get:function(){return this.Vh},set:function(a){this._isFrozen&&Di(this,a),this.Vh=a,this._isInvalidBounds=!0}},point2X:{get:function(){return this.Wh},set:function(a){this._isFrozen&&Di(this,a),this.Wh=a,this._isInvalidBounds=!0}},point2Y:{get:function(){return this.Pg},set:function(a){this._isFrozen&&Di(this,a),this.Pg=a,this._isInvalidBounds=!0}},centerX:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Di(this,a),this.Ne=a,this._isInvalidBounds=!0}},centerY:{get:function(){return this.Vh},set:function(a){this._isFrozen&&Di(this,a),this.Vh=a,this._isInvalidBounds=!0}},radiusX:{get:function(){return this.Wh},set:function(a){0>a&&Cn(a,">= zero",Uo,"radiusX"),this._isFrozen&&Di(this,a),this.Wh=a,this._isInvalidBounds=!0}},radiusY:{get:function(){return this.Pg},set:function(a){0>a&&Cn(a,">= zero",Uo,"radiusY"),this._isFrozen&&Di(this,a),this.Pg=a,this._isInvalidBounds=!0}},startAngle:{get:function(){return this.Dc},set:function(a){this._isFrozen&&Di(this,a),a%=360,0>a&&(a+=360),this.Dc=a,this._isInvalidBounds=!0}},sweepAngle:{get:function(){return this.Ec},set:function(a){this._isFrozen&&Di(this,a),360a&&(a=-360),this.Ec=a,this._isInvalidBounds=!0}},isClockwiseArc:{get:function(){return(this.l&4)!==0},set:function(a){this._isFrozen&&Di(this,a),this.l=a?this.l|4:this.l&-5,this._isInvalidBounds=!0}},isLargeArc:{get:function(){return(this.l&16)!==0},set:function(a){this._isFrozen&&Di(this,a),this.l=a?this.l|16:this.l&-17,this._isInvalidBounds=!0}},xAxisRotation:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Di(this,a),a%=360,0>a&&(a+=360),this.Ne=a,this._isInvalidBounds=!0}}}),Uo.prototype.equalsApprox=Uo.prototype.Xa;var tl=new sn(Uo,"Move",0),Oa=new sn(Uo,"Line",1),ml=new sn(Uo,"Bezier",2),We=new sn(Uo,"QuadraticBezier",3),He=new sn(Uo,"Arc",4),qe=new sn(Uo,"SvgArc",4);Uo.className="PathSegment",Uo.Move=tl,Uo.Line=Oa,Uo.Bezier=ml,Uo.QuadraticBezier=We,Uo.Arc=He,Uo.SvgArc=qe;function It(){this.H=null,this.xu=new Ze(0,0).freeze(),this.mt=new Ze(0,0).freeze(),this.Bp=this.Rq=0,this.Cp=1,this.xq="",this.Wr=this.Tp=!1,this.Rp=this.Ep=0,this.xg=this.nq=this.tq=!1,this.Zp=null,this.Rr=0,this.xd=this.Nr=null}It.prototype.copy=function(){var a=new It;return this.clone(a)},It.prototype.clone=function(a){return a.H=this.H,a.xu.assign(this.viewPoint),a.mt.assign(this.documentPoint),a.Rq=this.Rq,a.Bp=this.Bp,a.Cp=this.Cp,a.xq=this.xq,a.Tp=this.Tp,a.Wr=this.Wr,a.Ep=this.Ep,a.Rp=this.Rp,a.tq=this.tq,a.nq=this.nq,a.xg=this.xg,a.Zp=this.Zp,a.Rr=this.Rr,a.Nr=this.Nr,a.xd=this.xd,a},It.prototype.toString=function(){var a="^";return this.modifiers!==0&&(a+="M:"+this.modifiers),this.button!==0&&(a+="B:"+this.button),this.key!==""&&(a+="K:"+this.key),this.clickCount!==0&&(a+="C:"+this.clickCount),this.delta!==0&&(a+="D:"+this.delta),this.handled&&(a+="h"),this.bubbles&&(a+="b"),this.documentPoint!==null&&(a+="@"+this.documentPoint.toString()),a},It.prototype.So=function(a,y){var x=this.diagram;return x===null||yo(x,a,y),y},It.prototype.Bz=function(a,y){var x=this.diagram;return x===null||(yo(x,a,y),y.assign(x.Ps(y))),y},Rt.Object.defineProperties(It.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},viewPoint:{get:function(){return this.xu},set:function(a){this.xu.assign(a)}},documentPoint:{get:function(){return this.mt},set:function(a){this.mt.assign(a)}},modifiers:{get:function(){return this.Rq},set:function(a){this.Rq=a}},button:{get:function(){return this.Bp},set:function(a){if(this.Bp=a,this.event===null)switch(a){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2}}},buttons:{get:function(){return this.Cp},set:function(a){this.Cp=a}},key:{get:function(){return this.xq},set:function(a){this.xq=a}},down:{get:function(){return this.Tp},set:function(a){this.Tp=a}},up:{get:function(){return this.Wr},set:function(a){this.Wr=a}},clickCount:{get:function(){return this.Ep},set:function(a){this.Ep=a}},delta:{get:function(){return this.Rp},set:function(a){this.Rp=a}},isMultiTouch:{get:function(){return this.tq},set:function(a){this.tq=a}},handled:{get:function(){return this.nq},set:function(a){this.nq=a}},bubbles:{get:function(){return this.xg},set:function(a){this.xg=a}},event:{get:function(){return this.Zp},set:function(a){this.Zp=a}},isTouchEvent:{get:function(){var a=this.event;return a===null?!1:a.pointerType==="touch"||a.pointerType==="pen"}},timestamp:{get:function(){return this.Rr},set:function(a){this.Rr=a}},targetDiagram:{get:function(){return this.Nr},set:function(a){this.Nr=a}},targetObject:{get:function(){return this.xd},set:function(a){this.xd=a}},control:{get:function(){return(this.modifiers&1)!==0},set:function(a){this.modifiers=a?this.modifiers|1:this.modifiers&-2}},shift:{get:function(){return(this.modifiers&4)!==0},set:function(a){this.modifiers=a?this.modifiers|4:this.modifiers&-5}},alt:{get:function(){return(this.modifiers&2)!==0},set:function(a){this.modifiers=a?this.modifiers|2:this.modifiers&-3}},meta:{get:function(){return(this.modifiers&8)!==0},set:function(a){this.modifiers=a?this.modifiers|8:this.modifiers&-9}},left:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&1)!==0:this.button===0},set:function(a){this.buttons=a?this.buttons|1:this.buttons&-2}},right:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&2)!==0:this.button===2},set:function(a){this.buttons=a?this.buttons|2:this.buttons&-3}},middle:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&4)!==0:this.button===1},set:function(a){this.buttons=a?this.buttons|4:this.buttons&-5}}}),It.prototype.getMultiTouchDocumentPoint=It.prototype.Bz,It.prototype.getMultiTouchViewPoint=It.prototype.So,It.className="InputEvent";function Gt(){this.H=null,this.xa="",this.ar=this.Lr=null}Gt.prototype.copy=function(){var a=new Gt;return a.H=this.H,a.xa=this.xa,a.Lr=this.Lr,a.ar=this.ar,a},Gt.prototype.toString=function(){var a="*"+this.name;return this.subject!==null&&(a+=":"+this.subject.toString()),this.parameter!==null&&(a+="("+this.parameter.toString()+")"),a},Rt.Object.defineProperties(Gt.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},subject:{get:function(){return this.Lr},set:function(a){this.Lr=a}},parameter:{get:function(){return this.ar},set:function(a){this.ar=a}}}),Gt.className="DiagramEvent";function Pn(){this.Fm=Un,this.rf=this.Qq="",this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null}Pn.prototype.clear=function(){this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null},Pn.prototype.copy=function(){var a=new Pn;a.Fm=this.Fm,a.Qq=this.Qq,a.rf=this.rf,a.cc=this.cc,a.H=this.H,a.Qn=this.Qn;var y=this.Sn;return a.Sn=Lt(y)&&typeof y.J=="function"?y.J():y,y=this.Rn,a.Rn=Lt(y)&&typeof y.J=="function"?y.J():y,y=this.Mn,a.Mn=Lt(y)&&typeof y.J=="function"?y.J():y,y=this.Ln,a.Ln=Lt(y)&&typeof y.J=="function"?y.J():y,a},Pn.prototype.qb=function(a){a.classType===Pn&&(this.change=a)},Pn.prototype.toString=function(){var a="";return a=this.change===An?a+"* ":this.change===Un?a+(this.model!==null?"!m":"!d"):a+((this.model!==null?"!m":"!d")+this.change),this.propertyName&&typeof this.propertyName=="string"&&(a+=" "+this.propertyName),this.modelChange&&this.modelChange!==this.propertyName&&(a+=" "+this.modelChange),a+=": ",this.change===An?this.oldValue!==null&&(a+=" "+this.oldValue):(this.object!==null&&(a+=Jr(this.object)),this.oldValue!==null&&(a+=" old: "+Jr(this.oldValue)),this.oldParam!==null&&(a+=" "+this.oldParam),this.newValue!==null&&(a+=" new: "+Jr(this.newValue)),this.newParam!==null&&(a+=" "+this.newParam)),a},Pn.prototype.I=function(a){return a?this.oldValue:this.newValue},Pn.prototype.Dz=function(a){return a?this.oldParam:this.newParam},Pn.prototype.canUndo=function(){return this.model!==null||this.diagram!==null},Pn.prototype.undo=function(){this.canUndo()&&(this.model!==null?this.model.changeState(this,!0):this.diagram!==null&&this.diagram.changeState(this,!0))},Pn.prototype.canRedo=function(){return this.model!==null||this.diagram!==null},Pn.prototype.redo=function(){this.canRedo()&&(this.model!==null?this.model.changeState(this,!1):this.diagram!==null&&this.diagram.changeState(this,!1))},Rt.Object.defineProperties(Pn.prototype,{model:{get:function(){return this.cc},set:function(a){this.cc=a}},diagram:{get:function(){return this.H},set:function(a){this.H=a}},change:{get:function(){return this.Fm},set:function(a){this.Fm=a}},modelChange:{get:function(){return this.Qq},set:function(a){this.Qq=a}},propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},isTransactionFinished:{get:function(){return this.Fm===An&&(this.rf==="CommittedTransaction"||this.rf==="FinishedUndo"||this.rf==="FinishedRedo")}},object:{get:function(){return this.Qn},set:function(a){this.Qn=a}},oldValue:{get:function(){return this.Sn},set:function(a){this.Sn=a}},oldParam:{get:function(){return this.Rn},set:function(a){this.Rn=a}},newValue:{get:function(){return this.Mn},set:function(a){this.Mn=a}},newParam:{get:function(){return this.Ln},set:function(a){this.Ln=a}}}),Pn.prototype.redo=Pn.prototype.redo,Pn.prototype.canRedo=Pn.prototype.canRedo,Pn.prototype.undo=Pn.prototype.undo,Pn.prototype.canUndo=Pn.prototype.canUndo,Pn.prototype.getParam=Pn.prototype.Dz,Pn.prototype.getValue=Pn.prototype.I,Pn.prototype.clear=Pn.prototype.clear;var An=new sn(Pn,"Transaction",-1),Un=new sn(Pn,"Property",0),ti=new sn(Pn,"Insert",1),xi=new sn(Pn,"Remove",2);Pn.className="ChangedEvent",Pn.Transaction=An,Pn.Property=Un,Pn.Insert=ti,Pn.Remove=xi;function $i(){this.o=new ln().freeze(),this.xa="",this.j=!1}$i.prototype.toString=function(a){var y="Transaction: "+this.name+" "+this.changes.count.toString()+(this.isComplete?"":", incomplete");if(a!==void 0&&00&&ae.prevInput=="\u200B"?Bs(fe,iu)(fe):Qi++<10?he.detectingSelectAll=setTimeout(Tt,500):(he.selForContextMenu=null,he.input.reset())};he.detectingSelectAll=setTimeout(Tt,200)}}if(Dt&&Wt>=9&&Hn(),Me){ro(ie);var Ui=function(){fn(window,"mouseup",Ui),setTimeout(In,20)};rt(window,"mouseup",Ui)}else setTimeout(In,50)},Bu.prototype.readOnlyChanged=function(ie){ie||this.reset(),this.textarea.disabled=ie=="nocursor",this.textarea.readOnly=!!ie},Bu.prototype.setUneditable=function(){},Bu.prototype.needsContentAttribute=!1;function Bg(ie,ae){if(ae=ae?ci(ae):{},ae.value=ie.value,!ae.tabindex&&ie.tabIndex&&(ae.tabindex=ie.tabIndex),!ae.placeholder&&ie.placeholder&&(ae.placeholder=ie.placeholder),ae.autofocus==null){var fe=Jt();ae.autofocus=fe==ie||ie.getAttribute("autofocus")!=null&&fe==document.body}function he(){ie.value=Xe.getValue()}var me;if(ie.form&&(rt(ie.form,"submit",he),!ae.leaveSubmitMethodAlone)){var De=ie.form;me=De.submit;try{var je=De.submit=function(){he(),De.submit=me,De.submit(),De.submit=je}}catch(Ke){}}ae.finishInit=function(Ke){Ke.save=he,Ke.getTextArea=function(){return ie},Ke.toTextArea=function(){Ke.toTextArea=isNaN,he(),ie.parentNode.removeChild(Ke.getWrapperElement()),ie.style.display="",ie.form&&(fn(ie.form,"submit",he),!ae.leaveSubmitMethodAlone&&typeof ie.form.submit=="function"&&(ie.form.submit=me))}},ie.style.display="none";var Xe=Aa(function(Ke){return ie.parentNode.insertBefore(Ke,ie.nextSibling)},ae);return Xe}function Sh(ie){ie.off=fn,ie.on=rt,ie.wheelEventPixels=El,ie.Doc=Ei,ie.splitLines=Tr,ie.countColumn=et,ie.findColumn=yi,ie.isWordChar=ri,ie.Pass=ei,ie.signal=an,ie.Line=ua,ie.changeEnd=Ll,ie.scrollbarModel=ks,ie.Pos=Lt,ie.cmpPos=Ft,ie.modes=Vi,ie.mimeModes=Wi,ie.resolveMode=nr,ie.getMode=nn,ie.modeExtensions=_t,ie.extendMode=Rt,ie.copyState=Li,ie.startState=Oi,ie.innerMode=yr,ie.commands=ms,ie.keyMap=Pr,ie.keyName=da,ie.isModifierKey=Do,ie.lookupKey=Ur,ie.normalizeKeyMap=Mo,ie.StringStream=Zn,ie.SharedTextMarker=st,ie.TextMarker=Ht,ie.LineWidget=yc,ie.e_preventDefault=Hi,ie.e_stopPropagation=Si,ie.e_stop=ro,ie.addClass=vn,ie.contains=Nt,ie.rmClass=lt,ie.keyNames=ma}nd(Aa),nh(Aa);var bd="iter insert remove copy getEditor constructor".split(" ");for(var lu in Ei.prototype)Ei.prototype.hasOwnProperty(lu)&&yn(bd,lu)<0&&(Aa.prototype[lu]=function(ie){return function(){return ie.apply(this.doc,arguments)}}(Ei.prototype[lu]));return On(Ei),Aa.inputStyles={textarea:Bu,contenteditable:Js},Aa.defineMode=function(ie){!Aa.defaults.mode&&ie!="null"&&(Aa.defaults.mode=ie),mi.apply(this,arguments)},Aa.defineMIME=Qn,Aa.defineMode("null",function(){return{token:function(ie){return ie.skipToEnd()}}}),Aa.defineMIME("text/plain","null"),Aa.defineExtension=function(ie,ae){Aa.prototype[ie]=ae},Aa.defineDocExtension=function(ie,ae){Ei.prototype[ie]=ae},Aa.fromTextArea=Bg,Sh(Aa),Aa.version="5.58.2",Aa})},25419:function(tn,jn,Pe){(function(ue){ue(Pe(89780),Pe(15525),Pe(98101))})(function(ue){"use strict";ue.defineMode("markdown",function(it,Mt){var kt=ue.getMode(it,"text/html"),Dt=kt.name=="null";function Wt(et){if(ue.findModeByName){var ze=ue.findModeByName(et);ze&&(et=ze.mime||ze.mimes[0])}var yn=ue.getMode(it,et);return yn.name=="null"?null:yn}Mt.highlightFormatting===void 0&&(Mt.highlightFormatting=!1),Mt.maxBlockquoteDepth===void 0&&(Mt.maxBlockquoteDepth=0),Mt.taskLists===void 0&&(Mt.taskLists=!1),Mt.strikethrough===void 0&&(Mt.strikethrough=!1),Mt.emoji===void 0&&(Mt.emoji=!1),Mt.fencedCodeBlockHighlighting===void 0&&(Mt.fencedCodeBlockHighlighting=!0),Mt.fencedCodeBlockDefaultMode===void 0&&(Mt.fencedCodeBlockDefaultMode="text/plain"),Mt.xml===void 0&&(Mt.xml=!0),Mt.tokenTypeOverrides===void 0&&(Mt.tokenTypeOverrides={});var Ve={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var bt in Ve)Ve.hasOwnProperty(bt)&&Mt.tokenTypeOverrides[bt]&&(Ve[bt]=Mt.tokenTypeOverrides[bt]);var wt=/^([*\-_])(?:\s*\1){2,}\s*$/,pt=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,St=/^\[(x| )\](?=\s)/i,Ut=Mt.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Zt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Oe=/^[^#!\[\]*_\\<>` "'(~:]+/,te=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ne=/^\s*\[[^\]]+?\]:.*$/,de=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,le=" ";function pe(et,ze,yn){return ze.f=ze.inline=yn,yn(et,ze)}function xe(et,ze,yn){return ze.f=ze.block=yn,yn(et,ze)}function Ae(et){return!et||!/\S/.test(et.string)}function Me(et){if(et.linkTitle=!1,et.linkHref=!1,et.linkText=!1,et.em=!1,et.strong=!1,et.strikethrough=!1,et.quote=0,et.indentedCode=!1,et.f==lt){var ze=Dt;if(!ze){var yn=ue.innerMode(kt,et.htmlState);ze=yn.mode.name=="xml"&&yn.state.tagStart===null&&!yn.state.context&&yn.state.tokenize.isInText}ze&&(et.f=Ot,et.block=ke,et.htmlState=null)}return et.trailingSpace=0,et.trailingSpaceNewLine=!1,et.prevLine=et.thisLine,et.thisLine={stream:null},null}function ke(et,ze){var yn=et.column()===ze.indentation,Xn=Ae(ze.prevLine.stream),ei=ze.indentedCode,on=ze.prevLine.hr,xn=ze.list!==!1,Dn=(ze.listStack[ze.listStack.length-1]||0)+3;ze.indentedCode=!1;var yi=ze.indentation;if(ze.indentationDiff===null&&(ze.indentationDiff=ze.indentation,xn)){for(ze.list=null;yi=4&&(ei||ze.prevLine.fencedCodeEnd||ze.prevLine.header||Xn))return et.skipToEnd(),ze.indentedCode=!0,Ve.code;if(et.eatSpace())return null;if(yn&&ze.indentation<=Dn&&(mt=et.match(Ut))&&mt[1].length<=6)return ze.quote=0,ze.header=mt[1].length,ze.thisLine.header=!0,Mt.highlightFormatting&&(ze.formatting="header"),ze.f=ze.inline,yt(ze);if(ze.indentation<=Dn&&et.eat(">"))return ze.quote=yn?1:ze.quote+1,Mt.highlightFormatting&&(ze.formatting="quote"),et.eatSpace(),yt(ze);if(!Mi&&!ze.setext&&yn&&ze.indentation<=Dn&&(mt=et.match(pt))){var ht=mt[1]?"ol":"ul";return ze.indentation=yi+et.current().length,ze.list=!0,ze.quote=0,ze.listStack.push(ze.indentation),ze.em=!1,ze.strong=!1,ze.code=!1,ze.strikethrough=!1,Mt.taskLists&&et.match(St,!1)&&(ze.taskList=!0),ze.f=ze.inline,Mt.highlightFormatting&&(ze.formatting=["list","list-"+ht]),yt(ze)}else{if(yn&&ze.indentation<=Dn&&(mt=et.match(te,!0)))return ze.quote=0,ze.fencedEndRE=new RegExp(mt[1]+"+ *$"),ze.localMode=Mt.fencedCodeBlockHighlighting&&Wt(mt[2]||Mt.fencedCodeBlockDefaultMode),ze.localMode&&(ze.localState=ue.startState(ze.localMode)),ze.f=ze.block=dt,Mt.highlightFormatting&&(ze.formatting="code-block"),ze.code=-1,yt(ze);if(ze.setext||(!qn||!xn)&&!ze.quote&&ze.list===!1&&!ze.code&&!Mi&&!ne.test(et.string)&&(mt=et.lookAhead(1))&&(mt=mt.match(Zt)))return ze.setext?(ze.header=ze.setext,ze.setext=0,et.skipToEnd(),Mt.highlightFormatting&&(ze.formatting="header")):(ze.header=mt[0].charAt(0)=="="?1:2,ze.setext=ze.header),ze.thisLine.header=!0,ze.f=ze.inline,yt(ze);if(Mi)return et.skipToEnd(),ze.hr=!0,ze.thisLine.hr=!0,Ve.hr;if(et.peek()==="[")return pe(et,ze,Ai)}return pe(et,ze,ze.inline)}function lt(et,ze){var yn=kt.token(et,ze.htmlState);if(!Dt){var Xn=ue.innerMode(kt,ze.htmlState);(Xn.mode.name=="xml"&&Xn.state.tagStart===null&&!Xn.state.context&&Xn.state.tokenize.isInText||ze.md_inside&&et.current().indexOf(">")>-1)&&(ze.f=Ot,ze.block=ke,ze.htmlState=null)}return yn}function dt(et,ze){var yn=ze.listStack[ze.listStack.length-1]||0,Xn=ze.indentation=et.quote?ze.push(Ve.formatting+"-"+et.formatting[yn]+"-"+et.quote):ze.push("error"))}if(et.taskOpen)return ze.push("meta"),ze.length?ze.join(" "):null;if(et.taskClosed)return ze.push("property"),ze.length?ze.join(" "):null;if(et.linkHref?ze.push(Ve.linkHref,"url"):(et.strong&&ze.push(Ve.strong),et.em&&ze.push(Ve.em),et.strikethrough&&ze.push(Ve.strikethrough),et.emoji&&ze.push(Ve.emoji),et.linkText&&ze.push(Ve.linkText),et.code&&ze.push(Ve.code),et.image&&ze.push(Ve.image),et.imageAltText&&ze.push(Ve.imageAltText,"link"),et.imageMarker&&ze.push(Ve.imageMarker)),et.header&&ze.push(Ve.header,Ve.header+"-"+et.header),et.quote&&(ze.push(Ve.quote),!Mt.maxBlockquoteDepth||Mt.maxBlockquoteDepth>=et.quote?ze.push(Ve.quote+"-"+et.quote):ze.push(Ve.quote+"-"+Mt.maxBlockquoteDepth)),et.list!==!1){var Xn=(et.listStack.length-1)%3;Xn?Xn===1?ze.push(Ve.list2):ze.push(Ve.list3):ze.push(Ve.list1)}return et.trailingSpaceNewLine?ze.push("trailing-space-new-line"):et.trailingSpace&&ze.push("trailing-space-"+(et.trailingSpace%2?"a":"b")),ze.length?ze.join(" "):null}function ut(et,ze){if(et.match(Oe,!0))return yt(ze)}function Ot(et,ze){var yn=ze.text(et,ze);if(typeof yn!="undefined")return yn;if(ze.list)return ze.list=null,yt(ze);if(ze.taskList){var Xn=et.match(St,!0)[1]===" ";return Xn?ze.taskOpen=!0:ze.taskClosed=!0,Mt.highlightFormatting&&(ze.formatting="task"),ze.taskList=!1,yt(ze)}if(ze.taskOpen=!1,ze.taskClosed=!1,ze.header&&et.match(/^#+$/,!0))return Mt.highlightFormatting&&(ze.formatting="header"),yt(ze);var ei=et.next();if(ze.linkTitle){ze.linkTitle=!1;var on=ei;ei==="("&&(on=")"),on=(on+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var xn="^\\s*(?:[^"+on+"\\\\]+|\\\\\\\\|\\\\.)"+on;if(et.match(new RegExp(xn),!0))return Ve.linkHref}if(ei==="`"){var Dn=ze.formatting;Mt.highlightFormatting&&(ze.formatting="code"),et.eatWhile("`");var yi=et.current().length;if(ze.code==0&&(!ze.quote||yi==1))return ze.code=yi,yt(ze);if(yi==ze.code){var qn=yt(ze);return ze.code=0,qn}else return ze.formatting=Dn,yt(ze)}else if(ze.code)return yt(ze);if(ei==="\\"&&(et.next(),Mt.highlightFormatting)){var Mi=yt(ze),mt=Ve.formatting+"-escape";return Mi?Mi+" "+mt:mt}if(ei==="!"&&et.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return ze.imageMarker=!0,ze.image=!0,Mt.highlightFormatting&&(ze.formatting="image"),yt(ze);if(ei==="["&&ze.imageMarker&&et.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return ze.imageMarker=!1,ze.imageAltText=!0,Mt.highlightFormatting&&(ze.formatting="image"),yt(ze);if(ei==="]"&&ze.imageAltText){Mt.highlightFormatting&&(ze.formatting="image");var Mi=yt(ze);return ze.imageAltText=!1,ze.image=!1,ze.inline=ze.f=Nt,Mi}if(ei==="["&&!ze.image)return ze.linkText&&et.match(/^.*?\]/)||(ze.linkText=!0,Mt.highlightFormatting&&(ze.formatting="link")),yt(ze);if(ei==="]"&&ze.linkText){Mt.highlightFormatting&&(ze.formatting="link");var Mi=yt(ze);return ze.linkText=!1,ze.inline=ze.f=et.match(/\(.*?\)| ?\[.*?\]/,!1)?Nt:Ot,Mi}if(ei==="<"&&et.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){ze.f=ze.inline=xt,Mt.highlightFormatting&&(ze.formatting="link");var Mi=yt(ze);return Mi?Mi+=" ":Mi="",Mi+Ve.linkInline}if(ei==="<"&&et.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){ze.f=ze.inline=xt,Mt.highlightFormatting&&(ze.formatting="link");var Mi=yt(ze);return Mi?Mi+=" ":Mi="",Mi+Ve.linkEmail}if(Mt.xml&&ei==="<"&&et.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var ht=et.string.indexOf(">",et.pos);if(ht!=-1){var gn=et.string.substring(et.start,ht);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(gn)&&(ze.md_inside=!0)}return et.backUp(1),ze.htmlState=ue.startState(kt),xe(et,ze,lt)}if(Mt.xml&&ei==="<"&&et.match(/^\/\w*?>/))return ze.md_inside=!1,"tag";if(ei==="*"||ei==="_"){for(var jt=1,En=et.pos==1?" ":et.string.charAt(et.pos-2);jt<3&&et.eat(ei);)jt++;var Fn=et.peek()||" ",ri=!/\s/.test(Fn)&&(!de.test(Fn)||/\s/.test(En)||de.test(En)),ni=!/\s/.test(En)&&(!de.test(En)||/\s/.test(Fn)||de.test(Fn)),mn=null,zt=null;if(jt%2&&(!ze.em&&ri&&(ei==="*"||!ni||de.test(En))?mn=!0:ze.em==ei&&ni&&(ei==="*"||!ri||de.test(Fn))&&(mn=!1)),jt>1&&(!ze.strong&&ri&&(ei==="*"||!ni||de.test(En))?zt=!0:ze.strong==ei&&ni&&(ei==="*"||!ri||de.test(Fn))&&(zt=!1)),zt!=null||mn!=null){Mt.highlightFormatting&&(ze.formatting=mn==null?"strong":zt==null?"em":"strong em"),mn===!0&&(ze.em=ei),zt===!0&&(ze.strong=ei);var qn=yt(ze);return mn===!1&&(ze.em=!1),zt===!1&&(ze.strong=!1),qn}}else if(ei===" "&&(et.eat("*")||et.eat("_"))){if(et.peek()===" ")return yt(ze);et.backUp(1)}if(Mt.strikethrough){if(ei==="~"&&et.eatWhile(ei)){if(ze.strikethrough){Mt.highlightFormatting&&(ze.formatting="strikethrough");var qn=yt(ze);return ze.strikethrough=!1,qn}else if(et.match(/^[^\s]/,!1))return ze.strikethrough=!0,Mt.highlightFormatting&&(ze.formatting="strikethrough"),yt(ze)}else if(ei===" "&&et.match(/^~~/,!0)){if(et.peek()===" ")return yt(ze);et.backUp(2)}}if(Mt.emoji&&ei===":"&&et.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){ze.emoji=!0,Mt.highlightFormatting&&(ze.formatting="emoji");var $e=yt(ze);return ze.emoji=!1,$e}return ei===" "&&(et.match(/^ +$/,!1)?ze.trailingSpace++:ze.trailingSpace&&(ze.trailingSpaceNewLine=!0)),yt(ze)}function xt(et,ze){var yn=et.next();if(yn===">"){ze.f=ze.inline=Ot,Mt.highlightFormatting&&(ze.formatting="link");var Xn=yt(ze);return Xn?Xn+=" ":Xn="",Xn+Ve.linkInline}return et.match(/^[^>]+/,!0),Ve.linkInline}function Nt(et,ze){if(et.eatSpace())return null;var yn=et.next();return yn==="("||yn==="["?(ze.f=ze.inline=vn(yn==="("?")":"]"),Mt.highlightFormatting&&(ze.formatting="link-string"),ze.linkHref=!0,yt(ze)):"error"}var Jt={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function vn(et){return function(ze,yn){var Xn=ze.next();if(Xn===et){yn.f=yn.inline=Ot,Mt.highlightFormatting&&(yn.formatting="link-string");var ei=yt(yn);return yn.linkHref=!1,ei}return ze.match(Jt[et]),yn.linkHref=!0,yt(yn)}}function Ai(et,ze){return et.match(/^([^\]\\]|\\.)*\]:/,!1)?(ze.f=hi,et.next(),Mt.highlightFormatting&&(ze.formatting="link"),ze.linkText=!0,yt(ze)):pe(et,ze,Ot)}function hi(et,ze){if(et.match(/^\]:/,!0)){ze.f=ze.inline=kn,Mt.highlightFormatting&&(ze.formatting="link");var yn=yt(ze);return ze.linkText=!1,yn}return et.match(/^([^\]\\]|\\.)+/,!0),Ve.linkText}function kn(et,ze){return et.eatSpace()?null:(et.match(/^[^\s]+/,!0),et.peek()===void 0?ze.linkTitle=!0:et.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),ze.f=ze.inline=Ot,Ve.linkHref+" url")}var ci={startState:function(){return{f:ke,prevLine:{stream:null},thisLine:{stream:null},block:ke,htmlState:null,indentation:0,inline:Ot,text:ut,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(et){return{f:et.f,prevLine:et.prevLine,thisLine:et.thisLine,block:et.block,htmlState:et.htmlState&&ue.copyState(kt,et.htmlState),indentation:et.indentation,localMode:et.localMode,localState:et.localMode?ue.copyState(et.localMode,et.localState):null,inline:et.inline,text:et.text,formatting:!1,linkText:et.linkText,linkTitle:et.linkTitle,linkHref:et.linkHref,code:et.code,em:et.em,strong:et.strong,strikethrough:et.strikethrough,emoji:et.emoji,header:et.header,setext:et.setext,hr:et.hr,taskList:et.taskList,list:et.list,listStack:et.listStack.slice(0),quote:et.quote,indentedCode:et.indentedCode,trailingSpace:et.trailingSpace,trailingSpaceNewLine:et.trailingSpaceNewLine,md_inside:et.md_inside,fencedEndRE:et.fencedEndRE}},token:function(et,ze){if(ze.formatting=!1,et!=ze.thisLine.stream){if(ze.header=0,ze.hr=!1,et.match(/^\s*$/,!0))return Me(ze),null;if(ze.prevLine=ze.thisLine,ze.thisLine={stream:et},ze.taskList=!1,ze.trailingSpace=0,ze.trailingSpaceNewLine=!1,!ze.localState&&(ze.f=ze.block,ze.f!=lt)){var yn=et.match(/^\s*/,!0)[0].replace(/\t/g,le).length;if(ze.indentation=yn,ze.indentationDiff=null,yn>0)return null}}return ze.f(et,ze)},innerMode:function(et){return et.block==lt?{state:et.htmlState,mode:kt}:et.localState?{state:et.localState,mode:et.localMode}:{state:et,mode:ci}},indent:function(et,ze,yn){return et.block==lt&&kt.indent?kt.indent(et.htmlState,ze,yn):et.localState&&et.localMode.indent?et.localMode.indent(et.localState,ze,yn):ue.Pass},blankLine:Me,getType:yt,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return ci},"xml"),ue.defineMIME("text/markdown","markdown"),ue.defineMIME("text/x-markdown","markdown")})},98101:function(tn,jn,Pe){(function(ue){ue(Pe(89780))})(function(ue){"use strict";ue.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var it=0;it-1&&kt.substring(Ve+1,kt.length);if(bt)return ue.findModeByExtension(bt)},ue.findModeByName=function(kt){kt=kt.toLowerCase();for(var Dt=0;Dt0?Oe.cmdState[Oe.cmdState.length-1]:null}function Wt(Oe){var te=Oe.cmdState.pop();te&&te.closeBracket()}function Ve(Oe){for(var te=Oe.cmdState,ne=te.length-1;ne>=0;ne--){var de=te[ne];if(de.name!="DEFAULT")return de}return{styleIdentifier:function(){return null}}}function bt(Oe,te,ne){return function(){this.name=Oe,this.bracketNo=0,this.style=te,this.styles=ne,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var wt={};wt.importmodule=bt("importmodule","tag",["string","builtin"]),wt.documentclass=bt("documentclass","tag",["","atom"]),wt.usepackage=bt("usepackage","tag",["atom"]),wt.begin=bt("begin","tag",["atom"]),wt.end=bt("end","tag",["atom"]),wt.label=bt("label","tag",["atom"]),wt.ref=bt("ref","tag",["atom"]),wt.eqref=bt("eqref","tag",["atom"]),wt.cite=bt("cite","tag",["atom"]),wt.bibitem=bt("bibitem","tag",["atom"]),wt.Bibitem=bt("Bibitem","tag",["atom"]),wt.RBibitem=bt("RBibitem","tag",["atom"]),wt.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function pt(Oe,te){Oe.f=te}function St(Oe,te){var ne;if(Oe.match(/^\\[a-zA-Z@]+/)){var de=Oe.current().slice(1);return ne=wt.hasOwnProperty(de)?wt[de]:wt.DEFAULT,ne=new ne,kt(te,ne),pt(te,Zt),ne.style}if(Oe.match(/^\\[$&%#{}_]/)||Oe.match(/^\\[,;!\/\\]/))return"tag";if(Oe.match("\\["))return pt(te,function(pe,xe){return Ut(pe,xe,"\\]")}),"keyword";if(Oe.match("\\("))return pt(te,function(pe,xe){return Ut(pe,xe,"\\)")}),"keyword";if(Oe.match("$$"))return pt(te,function(pe,xe){return Ut(pe,xe,"$$")}),"keyword";if(Oe.match("$"))return pt(te,function(pe,xe){return Ut(pe,xe,"$")}),"keyword";var le=Oe.next();if(le=="%")return Oe.skipToEnd(),"comment";if(le=="}"||le=="]"){if(ne=Dt(te),ne)ne.closeBracket(le),pt(te,Zt);else return"error";return"bracket"}else return le=="{"||le=="["?(ne=wt.DEFAULT,ne=new ne,kt(te,ne),"bracket"):/\d/.test(le)?(Oe.eatWhile(/[\w.%]/),"atom"):(Oe.eatWhile(/[\w\-_]/),ne=Ve(te),ne.name=="begin"&&(ne.argument=Oe.current()),ne.styleIdentifier())}function Ut(Oe,te,ne){if(Oe.eatSpace())return null;if(ne&&Oe.match(ne))return pt(te,St),"keyword";if(Oe.match(/^\\[a-zA-Z@]+/))return"tag";if(Oe.match(/^[a-zA-Z]+/))return"variable-2";if(Oe.match(/^\\[$&%#{}_]/)||Oe.match(/^\\[,;!\/]/)||Oe.match(/^[\^_&]/))return"tag";if(Oe.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Oe.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var de=Oe.next();return de=="{"||de=="}"||de=="["||de=="]"||de=="("||de==")"?"bracket":de=="%"?(Oe.skipToEnd(),"comment"):"error"}function Zt(Oe,te){var ne=Oe.peek(),de;return ne=="{"||ne=="["?(de=Dt(te),de.openBracket(ne),Oe.eat(ne),pt(te,St),"bracket"):/[ \t\r]/.test(ne)?(Oe.eat(ne),null):(pt(te,St),Wt(te),St(Oe,te))}return{startState:function(){var Oe=Mt.inMathMode?function(te,ne){return Ut(te,ne)}:St;return{cmdState:[],f:Oe}},copyState:function(Oe){return{cmdState:Oe.cmdState.slice(),f:Oe.f}},token:function(Oe,te){return te.f(Oe,te)},blankLine:function(Oe){Oe.f=St,Oe.cmdState.length=0},lineComment:"%"}}),ue.defineMIME("text/x-stex","stex"),ue.defineMIME("text/x-latex","stex")})},15525:function(tn,jn,Pe){(function(ue){ue(Pe(89780))})(function(ue){"use strict";var it={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},Mt={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};ue.defineMode("xml",function(kt,Dt){var Wt=kt.indentUnit,Ve={},bt=Dt.htmlMode?it:Mt;for(var wt in bt)Ve[wt]=bt[wt];for(var wt in Dt)Ve[wt]=Dt[wt];var pt,St;function Ut(xt,Nt){function Jt(hi){return Nt.tokenize=hi,hi(xt,Nt)}var vn=xt.next();if(vn=="<")return xt.eat("!")?xt.eat("[")?xt.match("CDATA[")?Jt(te("atom","]]>")):null:xt.match("--")?Jt(te("comment","-->")):xt.match("DOCTYPE",!0,!0)?(xt.eatWhile(/[\w\._\-]/),Jt(ne(1))):null:xt.eat("?")?(xt.eatWhile(/[\w\._\-]/),Nt.tokenize=te("meta","?>"),"meta"):(pt=xt.eat("/")?"closeTag":"openTag",Nt.tokenize=Zt,"tag bracket");if(vn=="&"){var Ai;return xt.eat("#")?xt.eat("x")?Ai=xt.eatWhile(/[a-fA-F\d]/)&&xt.eat(";"):Ai=xt.eatWhile(/[\d]/)&&xt.eat(";"):Ai=xt.eatWhile(/[\w\.\-:]/)&&xt.eat(";"),Ai?"atom":"error"}else return xt.eatWhile(/[^&<]/),null}Ut.isInText=!0;function Zt(xt,Nt){var Jt=xt.next();if(Jt==">"||Jt=="/"&&xt.eat(">"))return Nt.tokenize=Ut,pt=Jt==">"?"endTag":"selfcloseTag","tag bracket";if(Jt=="=")return pt="equals",null;if(Jt=="<"){Nt.tokenize=Ut,Nt.state=xe,Nt.tagName=Nt.tagStart=null;var vn=Nt.tokenize(xt,Nt);return vn?vn+" tag error":"tag error"}else return/[\'\"]/.test(Jt)?(Nt.tokenize=Oe(Jt),Nt.stringStartCol=xt.column(),Nt.tokenize(xt,Nt)):(xt.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Oe(xt){var Nt=function(Jt,vn){for(;!Jt.eol();)if(Jt.next()==xt){vn.tokenize=Zt;break}return"string"};return Nt.isInAttribute=!0,Nt}function te(xt,Nt){return function(Jt,vn){for(;!Jt.eol();){if(Jt.match(Nt)){vn.tokenize=Ut;break}Jt.next()}return xt}}function ne(xt){return function(Nt,Jt){for(var vn;(vn=Nt.next())!=null;){if(vn=="<")return Jt.tokenize=ne(xt+1),Jt.tokenize(Nt,Jt);if(vn==">")if(xt==1){Jt.tokenize=Ut;break}else return Jt.tokenize=ne(xt-1),Jt.tokenize(Nt,Jt)}return"meta"}}function de(xt,Nt,Jt){this.prev=xt.context,this.tagName=Nt,this.indent=xt.indented,this.startOfLine=Jt,(Ve.doNotIndent.hasOwnProperty(Nt)||xt.context&&xt.context.noIndent)&&(this.noIndent=!0)}function le(xt){xt.context&&(xt.context=xt.context.prev)}function pe(xt,Nt){for(var Jt;;){if(!xt.context||(Jt=xt.context.tagName,!Ve.contextGrabbers.hasOwnProperty(Jt)||!Ve.contextGrabbers[Jt].hasOwnProperty(Nt)))return;le(xt)}}function xe(xt,Nt,Jt){return xt=="openTag"?(Jt.tagStart=Nt.column(),Ae):xt=="closeTag"?Me:xe}function Ae(xt,Nt,Jt){return xt=="word"?(Jt.tagName=Nt.current(),St="tag",dt):Ve.allowMissingTagName&&xt=="endTag"?(St="tag bracket",dt(xt,Nt,Jt)):(St="error",Ae)}function Me(xt,Nt,Jt){if(xt=="word"){var vn=Nt.current();return Jt.context&&Jt.context.tagName!=vn&&Ve.implicitlyClosed.hasOwnProperty(Jt.context.tagName)&&le(Jt),Jt.context&&Jt.context.tagName==vn||Ve.matchClosing===!1?(St="tag",ke):(St="tag error",lt)}else return Ve.allowMissingTagName&&xt=="endTag"?(St="tag bracket",ke(xt,Nt,Jt)):(St="error",lt)}function ke(xt,Nt,Jt){return xt!="endTag"?(St="error",ke):(le(Jt),xe)}function lt(xt,Nt,Jt){return St="error",ke(xt,Nt,Jt)}function dt(xt,Nt,Jt){if(xt=="word")return St="attribute",yt;if(xt=="endTag"||xt=="selfcloseTag"){var vn=Jt.tagName,Ai=Jt.tagStart;return Jt.tagName=Jt.tagStart=null,xt=="selfcloseTag"||Ve.autoSelfClosers.hasOwnProperty(vn)?pe(Jt,vn):(pe(Jt,vn),Jt.context=new de(Jt,vn,Ai==Jt.indented)),xe}return St="error",dt}function yt(xt,Nt,Jt){return xt=="equals"?ut:(Ve.allowMissing||(St="error"),dt(xt,Nt,Jt))}function ut(xt,Nt,Jt){return xt=="string"?Ot:xt=="word"&&Ve.allowUnquoted?(St="string",dt):(St="error",dt(xt,Nt,Jt))}function Ot(xt,Nt,Jt){return xt=="string"?Ot:dt(xt,Nt,Jt)}return{startState:function(xt){var Nt={tokenize:Ut,state:xe,indented:xt||0,tagName:null,tagStart:null,context:null};return xt!=null&&(Nt.baseIndent=xt),Nt},token:function(xt,Nt){if(!Nt.tagName&&xt.sol()&&(Nt.indented=xt.indentation()),xt.eatSpace())return null;pt=null;var Jt=Nt.tokenize(xt,Nt);return(Jt||pt)&&Jt!="comment"&&(St=null,Nt.state=Nt.state(pt||Jt,xt,Nt),St&&(Jt=St=="error"?Jt+" error":St)),Jt},indent:function(xt,Nt,Jt){var vn=xt.context;if(xt.tokenize.isInAttribute)return xt.tagStart==xt.indented?xt.stringStartCol+1:xt.indented+Wt;if(vn&&vn.noIndent)return ue.Pass;if(xt.tokenize!=Zt&&xt.tokenize!=Ut)return Jt?Jt.match(/^(\s*)/)[0].length:0;if(xt.tagName)return Ve.multilineTagIndentPastTag!==!1?xt.tagStart+xt.tagName.length+2:xt.tagStart+Wt*(Ve.multilineTagIndentFactor||1);if(Ve.alignCDATA&&/$/,blockCommentStart:"",configuration:Ve.htmlMode?"html":"xml",helperType:Ve.htmlMode?"html":"xml",skipAttribute:function(xt){xt.state==ut&&(xt.state=dt)},xmlCurrentTag:function(xt){return xt.tagName?{name:xt.tagName,close:xt.type=="closeTag"}:null},xmlCurrentContext:function(xt){for(var Nt=[],Jt=xt.context;Jt;Jt=Jt.prev)Jt.tagName&&Nt.push(Jt.tagName);return Nt.reverse()}}}),ue.defineMIME("text/xml","xml"),ue.defineMIME("application/xml","xml"),ue.mimeModes.hasOwnProperty("text/html")||ue.defineMIME("text/html",{name:"xml",htmlMode:!0})})},12378:function(tn,jn,Pe){"use strict";Pe.d(jn,{$u:function(){return wt},BD:function(){return jt},E9:function(){return bt},FF:function(){return Ko},FJ:function(){return xe},Hn:function(){return pe},KX:function(){return Me},NB:function(){return Ie},S0:function(){return mt},UL:function(){return pt},Vk:function(){return le},Vm:function(){return Ee},YI:function(){return ht},ZA:function(){return Mt},Zt:function(){return St},al:function(){return mn},bn:function(){return ni},bx:function(){return En},g2:function(){return gn},h1:function(){return ut},hD:function(){return On},l4:function(){return Wt},rU:function(){return Ce},s_:function(){return Fn},uz:function(){return Yt},z6:function(){return Ut}}),tn=Pe.hmd(tn),function(){var Be;function ya(a){var y=0;return function(){return yx&&(x=Math.max(0,b+x)),(E==null||E>b)&&(E=b),E=Number(E),0>E&&(E=Math.max(0,b+E)),x=Number(x||0);x=a.length?a.push(x):a.splice(y,0,x):Et("Cannot insert an object into an HTMLCollection or NodeList: "+x+" at "+y)}function Ii(a,y){Array.isArray(a)?y>=a.length?a.pop():a.splice(y,1):Et("Cannot remove an object from an HTMLCollection or NodeList at "+y)}function Ri(){var a=Kr.pop();return a===void 0?[]:a}function si(a){a.length=0,Kr.push(a)}function Ti(a){if(typeof a=="function"){if(a.className)return a.className;if(a.name)return a.name;var y=a.toString();if(y=y.substring(9,y.indexOf("(")).trim(),y!=="")return a._className=y}else if(Lt(a)&&a.constructor)return Ti(a.constructor);return typeof a}function Jr(a){var y=a;return Lt(a)&&(a.text?y=a.text:a.name?y=a.name:a.key!==void 0?y=a.key:a.id!==void 0?y=a.id:a.constructor===Object&&(a.Text?y=a.Text:a.Name?y=a.Name:a.Key!==void 0?y=a.Key:a.Id!==void 0?y=a.Id:a.ID!==void 0&&(y=a.ID))),y===void 0?"undefined":y===null?"null":y.toString()}function Qr(a,y){if(a.hasOwnProperty(y))return!0;for(a=Object.getPrototypeOf(a);a&&a!==Function;){if(a.hasOwnProperty(y))return!0;var x=a.CA;if(x&&x[y])return!0;a=Object.getPrototypeOf(a)}return!1}function Lo(a,y,x){Object.defineProperty(Gn.prototype,a,{get:y,set:x})}function Nn(a){for(var y=[],x=0;256>x;x++)y["0123456789abcdef".charAt(x>>4)+"0123456789abcdef".charAt(x&15)]=String.fromCharCode(x);a.length%2&&(a="0"+a),x=[];for(var E=0,b=0;bx;x++)y[x]=x;for(x=E=0;256>x;x++)E=(E+y[x]+119)%256,b=y[x],y[x]=y[E],y[E]=b;E=x=0;for(var z="",ee=0;ee-1||z.indexOf("\xA9 1998-2021 Northwoods Software")>-1||z.indexOf("Not for distribution or production use")>-1||z.indexOf("gojs.net")>-1?"":z}var ja=Zn.navigator!==void 0&&0this.key)return!1;a=a.s;var y=a.length,x=++this.Za,E=this.qf;if(E!==null)for(;xthis.key)return!1;var y=--this.Za;return 0<=y?(this.key=y,this.value=a.s[y],!0):(this.de(),!1)},Yn.prototype.Ad=function(){return this.next()},Yn.prototype.first=function(){var a=this.Bb;this.qa=a.Ja;var y=a.s;return this.Za=a=y.length-1,0<=a?(y=y[a],this.key=a,this.value=y):null},Yn.prototype.any=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(a(y[x]))return!0;return!1},Yn.prototype.all=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(!a(y[x]))return!1;return!0},Yn.prototype.each=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)a(y[x]);return this},Yn.prototype.map=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var E=y.length;for(this.Za=E,--E;0<=E;E--)x.push(a(y[E]));return a=new ln,a.s=x,a.xb(),a.iterator},Yn.prototype.filter=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var E=y.length;for(this.Za=E,--E;0<=E;E--){var b=y[E];a(b)&&x.push(b)}return a=new ln,a.s=x,a.xb(),a.iterator},Yn.prototype.de=function(){this.key=-1,this.value=null,this.qa=-1,this.Bb.Hg=this},Yn.prototype.toString=function(){return"ListIteratorBackwards("+this.Za+"/"+this.Bb.count+")"},Rt.Object.defineProperties(Yn.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.Bb.s.length}}}),Yn.prototype.first=Yn.prototype.first,Yn.prototype.hasNext=Yn.prototype.Ad,Yn.prototype.next=Yn.prototype.next,Yn.prototype.reset=Yn.prototype.reset,Yn.className="ListIteratorBackwards";function ln(a){Ir(this),this._isFrozen=!1,this.s=[],this.Ja=0,this.Hg=this.Sa=null,typeof a=="string"&&Et("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Be=ln.prototype,Be.xb=function(){var a=this.Ja;a++,999999999a||a>=y.length)&&Cn(a,"0 <= i < length",ln,"elt:i"),y[a]},Be.get=function(a){return this.M(a)},Be.cd=function(a,y){var x=this.s;(0>a||a>=x.length)&&Cn(a,"0 <= i < length",ln,"setElt:i"),this._isFrozen&&Di(this,a),x[a]=y},Be.set=function(a,y){this.cd(a,y)},Be.first=function(){var a=this.s;return a.length===0?null:a[0]},Be.jc=function(){var a=this.s,y=a.length;return 0a&&Cn(a,">= 0",ln,"insertAt:i"),this._isFrozen&&Di(this,a);var x=this.s;a>=x.length?x.push(y):x.splice(a,0,y),this.xb()},Be.remove=function(a){if(a===null)return!1;this._isFrozen&&Di(this,a);var y=this.s;return a=y.indexOf(a),a===-1?!1:(a===y.length-1?y.pop():y.splice(a,1),this.xb(),!0)},Be.delete=function(a){return this.remove(a)},Be.mb=function(a){var y=this.s;(0>a||a>=y.length)&&Cn(a,"0 <= i < length",ln,"removeAt:i"),this._isFrozen&&Di(this,a),a===y.length-1?y.pop():y.splice(a,1),this.xb()},Be.removeRange=function(a,y){var x=this.s,E=x.length;if(0>a)a=0;else if(a>=E)return this;if(0>y)return this;if(y>=E&&(y=E-1),a>y)return this;this._isFrozen&&Di(this);for(var b=a,z=y+1;z=z)return this;if((0>y||y>=b-1)&&Cn(y,"0 <= from < length",ln,"sortRange:from"),z===2)return x=E[y],b=E[y+1],0=b)E.sort(a);else for(y=E.slice(0,x),y.sort(a),a=0;a=b)for(x=E.slice(y),x.sort(a),a=y;a=this.s.length)return lr;var a=this.Sa;return a!==null?(a.reset(),a):new Ci(this)}},iteratorBackwards:{get:function(){if(0>=this.s.length)return lr;var a=this.Hg;return a!==null?(a.reset(),a):new Yn(this)}}}),ln.prototype.reverse=ln.prototype.reverse,ln.prototype.sortRange=ln.prototype.zi,ln.prototype.sort=ln.prototype.sort,ln.prototype.toSet=ln.prototype.Iv,ln.prototype.toArray=ln.prototype.Fa,ln.prototype.removeRange=ln.prototype.removeRange,ln.prototype.removeAt=ln.prototype.mb,ln.prototype.delete=ln.prototype.delete,ln.prototype.remove=ln.prototype.remove,ln.prototype.insertAt=ln.prototype.Gb,ln.prototype.pop=ln.prototype.pop,ln.prototype.last=ln.prototype.jc,ln.prototype.first=ln.prototype.first,ln.prototype.set=ln.prototype.set,ln.prototype.setElt=ln.prototype.cd,ln.prototype.get=ln.prototype.get,ln.prototype.elt=ln.prototype.M,ln.prototype.indexOf=ln.prototype.indexOf,ln.prototype.has=ln.prototype.has,ln.prototype.contains=ln.prototype.contains,ln.prototype.clear=ln.prototype.clear,ln.prototype.addAll=ln.prototype.addAll,ln.prototype.push=ln.prototype.push,ln.prototype.add=ln.prototype.add,ln.prototype.thaw=ln.prototype.ka,ln.prototype.freeze=ln.prototype.freeze,ln.className="List";function _r(a){this.eg=a,a.Sa=null,this.qa=a.Ja,this.sa=null}_r.prototype.reset=function(){var a=this.eg;a.Sa=null,this.qa=a.Ja,this.sa=null},_r.prototype.next=function(){var a=this.eg;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},_r.prototype.Ad=function(){return this.next()},_r.prototype.first=function(){var a=this.eg;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},_r.prototype.any=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},_r.prototype.all=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},_r.prototype.each=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},_r.prototype.map=function(a){var y=this.eg;y.Sa=null;var x=new ln;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},_r.prototype.filter=function(a){var y=this.eg;y.Sa=null;var x=new ln;for(y=y.ea;y!==null;){var E=y.value;a(E)&&x.add(E),y=y.va}return x.iterator},_r.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.eg.Sa=this},_r.prototype.toString=function(){return this.sa!==null?"SetIterator@"+this.sa.value:"SetIterator"},Rt.Object.defineProperties(_r.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.eg.Sb}}}),_r.prototype.first=_r.prototype.first,_r.prototype.hasNext=_r.prototype.Ad,_r.prototype.next=_r.prototype.next,_r.prototype.reset=_r.prototype.reset,_r.className="SetIterator";function Rn(a){Ir(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&Et("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Be=Rn.prototype,Be.xb=function(){var a=this.Ja;a++,999999999=this.Sb)return lr;var a=this.Sa;return a!==null?(a.reset(),a):new _r(this)}}}),Rn.prototype.toList=Rn.prototype.Hv,Rn.prototype.toArray=Rn.prototype.Fa,Rn.prototype.clear=Rn.prototype.clear,Rn.prototype.retainAll=Rn.prototype.pA,Rn.prototype.removeAll=Rn.prototype.hp,Rn.prototype.delete=Rn.prototype.delete,Rn.prototype.remove=Rn.prototype.remove,Rn.prototype.first=Rn.prototype.first,Rn.prototype.containsAny=Rn.prototype.Ty,Rn.prototype.containsAll=Rn.prototype.Sy,Rn.prototype.has=Rn.prototype.has,Rn.prototype.contains=Rn.prototype.contains,Rn.prototype.addAll=Rn.prototype.addAll,Rn.prototype.add=Rn.prototype.add,Rn.prototype.thaw=Rn.prototype.ka,Rn.prototype.freeze=Rn.prototype.freeze;var Bo=1;Rn.className="Set",Rn.uniqueHash=Ir,Rn.hashIdUnique=Or,Rn.hashId=fr;function Zr(a){this.ma=a,this.qa=a.Ja,this.sa=null}Zr.prototype.reset=function(){this.qa=this.ma.Ja,this.sa=null},Zr.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=this.key=a=y.key,!0):(this.de(),!1)},Zr.prototype.Ad=function(){return this.next()},Zr.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.value=this.key=a=a.key):null},Zr.prototype.any=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},Zr.prototype.all=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},Zr.prototype.each=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;)a(y.key),y=y.va;return this},Zr.prototype.map=function(a){var y=this.ma;this.sa=null;var x=new ln;for(y=y.ea;y!==null;)x.add(a(y.key)),y=y.va;return x.iterator},Zr.prototype.filter=function(a){var y=this.ma;this.sa=null;var x=new ln;for(y=y.ea;y!==null;){var E=y.key;a(E)&&x.add(E),y=y.va}return x.iterator},Zr.prototype.de=function(){this.value=this.key=null,this.qa=-1},Zr.prototype.toString=function(){return this.sa!==null?"MapKeySetIterator@"+this.sa.value:"MapKeySetIterator"},Rt.Object.defineProperties(Zr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Zr.prototype.first=Zr.prototype.first,Zr.prototype.hasNext=Zr.prototype.Ad,Zr.prototype.next=Zr.prototype.next,Zr.prototype.reset=Zr.prototype.reset,Zr.className="MapKeySetIterator";function Zi(a){Rn.call(this),Ir(this),this._isFrozen=!0,this.ma=a}_t(Zi,Rn),Be=Zi.prototype,Be.freeze=function(){return this},Be.ka=function(){return this},Be.toString=function(){return"MapKeySet("+this.ma.toString()+")"},Be.add=function(){Et("This Set is read-only: "+this.toString())},Be.contains=function(a){return this.ma.contains(a)},Be.has=function(a){return this.contains(a)},Be.remove=function(){Et("This Set is read-only: "+this.toString())},Be.delete=function(a){return this.remove(a)},Be.clear=function(){Et("This Set is read-only: "+this.toString())},Be.first=function(){var a=this.ma.ea;return a!==null?a.key:null},Zi.prototype.any=function(a){for(var y=this.ma.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},Zi.prototype.all=function(a){for(var y=this.ma.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},Zi.prototype.each=function(a){for(var y=this.ma.ea;y!==null;)a(y.key),y=y.va;return this},Zi.prototype.map=function(a){for(var y=new Rn,x=this.ma.ea;x!==null;)y.add(a(x.key)),x=x.va;return y},Zi.prototype.filter=function(a){for(var y=new Rn,x=this.ma.ea;x!==null;){var E=x.key;a(E)&&y.add(E),x=x.va}return y},Zi.prototype.copy=function(){return new Zi(this.ma)},Zi.prototype.Iv=function(){var a=new Rn,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},Zi.prototype.Fa=function(){var a=this.ma.Tb,y=Array(this.ma.Sb),x=0,E;for(E in a)y[x]=a[E].key,x++;return y},Zi.prototype.Hv=function(){var a=new ln,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},Rt.Object.defineProperties(Zi.prototype,{count:{get:function(){return this.ma.Sb}},size:{get:function(){return this.ma.Sb}},iterator:{get:function(){return 0>=this.ma.Sb?lr:new Zr(this.ma)}}}),Zi.prototype.toList=Zi.prototype.Hv,Zi.prototype.toArray=Zi.prototype.Fa,Zi.prototype.toSet=Zi.prototype.Iv,Zi.prototype.first=Zi.prototype.first,Zi.prototype.clear=Zi.prototype.clear,Zi.prototype.delete=Zi.prototype.delete,Zi.prototype.remove=Zi.prototype.remove,Zi.prototype.has=Zi.prototype.has,Zi.prototype.contains=Zi.prototype.contains,Zi.prototype.add=Zi.prototype.add,Zi.prototype.thaw=Zi.prototype.ka,Zi.prototype.freeze=Zi.prototype.freeze,Zi.className="MapKeySet";function xr(a){this.ma=a,a.jf=null,this.qa=a.Ja,this.sa=null}xr.prototype.reset=function(){var a=this.ma;a.jf=null,this.qa=a.Ja,this.sa=null},xr.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},xr.prototype.Ad=function(){return this.next()},xr.prototype.first=function(){var a=this.ma;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},xr.prototype.any=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},xr.prototype.all=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},xr.prototype.each=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},xr.prototype.map=function(a){var y=this.ma;this.sa=y.jf=null;var x=new ln;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},xr.prototype.filter=function(a){var y=this.ma;this.sa=y.jf=null;var x=new ln;for(y=y.ea;y!==null;){var E=y.value;a(E)&&x.add(E),y=y.va}return x.iterator},xr.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.jf=this},xr.prototype.toString=function(){return this.sa!==null?"MapValueSetIterator@"+this.sa.value:"MapValueSetIterator"},Rt.Object.defineProperties(xr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),xr.prototype.first=xr.prototype.first,xr.prototype.hasNext=xr.prototype.Ad,xr.prototype.next=xr.prototype.next,xr.prototype.reset=xr.prototype.reset,xr.className="MapValueSetIterator";function oo(a,y){this.key=a,this.value=y,this.ll=this.va=null}oo.prototype.toString=function(){return"{"+this.key+":"+this.value+"}"},oo.className="KeyValuePair";function Bn(a){this.ma=a,a.Sa=null,this.qa=a.Ja,this.sa=null}Bn.prototype.reset=function(){var a=this.ma;a.Sa=null,this.qa=a.Ja,this.sa=null},Bn.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.key=y.key,this.value=y.value,!0):(this.de(),!1)},Bn.prototype.Ad=function(){return this.next()},Bn.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.key=a.key,this.value=a.value,a):null},Bn.prototype.any=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y))return!0;y=y.va}return!1},Bn.prototype.all=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y))return!1;y=y.va}return!0},Bn.prototype.each=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y),y=y.va;return this},Bn.prototype.map=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new ln;for(y=y.ea;y!==null;)x.add(a(y)),y=y.va;return x.iterator},Bn.prototype.filter=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new ln;for(y=y.ea;y!==null;)a(y)&&x.add(y),y=y.va;return x.iterator},Bn.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.Sa=this},Bn.prototype.toString=function(){return this.sa!==null?"MapIterator@"+this.sa:"MapIterator"},Rt.Object.defineProperties(Bn.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Bn.prototype.first=Bn.prototype.first,Bn.prototype.hasNext=Bn.prototype.Ad,Bn.prototype.next=Bn.prototype.next,Bn.prototype.reset=Bn.prototype.reset,Bn.className="MapIterator";function gi(a){Ir(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.jf=this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&Et("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Be=gi.prototype,Be.xb=function(){var a=this.Ja;a++,999999999=this.count)return lr;var a=this.Sa;return a!==null?(a.reset(),a):new Bn(this)}},iteratorKeys:{get:function(){return 0>=this.count?lr:new Zr(this)}},iteratorValues:{get:function(){if(0>=this.count)return lr;var a=this.jf;return a!==null?(a.reset(),a):new xr(this)}}}),gi.prototype.toKeySet=gi.prototype.Lf,gi.prototype.toArray=gi.prototype.Fa,gi.prototype.clear=gi.prototype.clear,gi.prototype.delete=gi.prototype.delete,gi.prototype.remove=gi.prototype.remove,gi.prototype.get=gi.prototype.get,gi.prototype.getValue=gi.prototype.I,gi.prototype.has=gi.prototype.has,gi.prototype.contains=gi.prototype.contains,gi.prototype.first=gi.prototype.first,gi.prototype.addAll=gi.prototype.addAll,gi.prototype.set=gi.prototype.set,gi.prototype.add=gi.prototype.add,gi.prototype.thaw=gi.prototype.ka,gi.prototype.freeze=gi.prototype.freeze,gi.className="Map";function Ze(a,y){a===void 0?this.y=this.x=0:typeof a=="number"&&typeof y=="number"?(this.x=a,this.y=y):Et("Invalid arguments to Point constructor: "+a+", "+y),this._isFrozen=!1}var Io,no,rr,qi,Xi;Ze.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this},Ze.prototype.h=function(a,y){return this.x=a,this.y=y,this},Ze.prototype.sg=function(a,y){return this.x=a,this.y=y,this},Ze.prototype.set=function(a){return this.x=a.x,this.y=a.y,this},Ze.prototype.copy=function(){var a=new Ze;return a.x=this.x,a.y=this.y,a},Be=Ze.prototype,Be.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Be.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Be.freeze=function(){return this._isFrozen=!0,this},Be.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function aa(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var E=a[y++];E&&(x=parseFloat(E));for(var b=0;a[y]==="";)y++;return(E=a[y++])&&(b=parseFloat(E)),new Ze(x,b)}return new Ze}function ys(a){return a.x.toString()+" "+a.y.toString()}Be.toString=function(){return"Point("+this.x+","+this.y+")"},Be.D=function(a){return a instanceof Ze?this.x===a.x&&this.y===a.y:!1},Be.hi=function(a,y){return this.x===a&&this.y===y},Be.Xa=function(a){return Bt.B(this.x,a.x)&&Bt.B(this.y,a.y)},Be.add=function(a){return this.x+=a.x,this.y+=a.y,this},Be.re=function(a){return this.x-=a.x,this.y-=a.y,this},Be.offset=function(a,y){return this.x+=a,this.y+=y,this},Ze.prototype.rotate=function(a){if(a===0)return this;var y=this.x,x=this.y;if(y===0&&x===0)return this;if(360<=a?a-=360:0>a&&(a+=360),a===90){a=0;var E=1}else a===180?(a=-1,E=0):a===270?(a=0,E=-1):(E=a*Math.PI/180,a=Math.cos(E),E=Math.sin(E));return this.x=a*y-E*x,this.y=E*y+a*x,this},Be=Ze.prototype,Be.scale=function(a,y){return this.x*=a,this.y*=y,this},Be.Bf=function(a){var y=a.x-this.x;return a=a.y-this.y,y*y+a*a},Be.zd=function(a,y){return a-=this.x,y-=this.y,a*a+y*y},Be.normalize=function(){var a=this.x,y=this.y,x=Math.sqrt(a*a+y*y);return 0y?270:0;if(y===0)return 0a?x=0>y?x+180:180-x:0>y&&(x=360-x),x}Be.Ry=function(a,y){return Bt.Fl(a.x,a.y,y.x,y.y,this.x,this.y)},Be.fA=function(a,y,x,E){return Bt.qh(a,y,x,E,this.x,this.y,this),this},Be.gA=function(a,y){return Bt.qh(a.x,a.y,y.x,y.y,this.x,this.y,this),this},Be.uA=function(a,y,x,E){return Bt.No(this.x,this.y,a,y,x,E,this),this},Be.vA=function(a,y){return Bt.No(this.x,this.y,a.x,a.y,y.width,y.height,this),this},Be.xi=function(a,y){return this.x=a.x+y.x*a.width+y.offsetX,this.y=a.y+y.y*a.height+y.offsetY,this},Be.yi=function(a,y,x,E,b){return this.x=a+b.x*x+b.offsetX,this.y=y+b.y*E+b.offsetY,this},Be.transform=function(a){return a.Ga(this),this};function _o(a,y){return y.Cd(a),a}function Ea(a,y,x,E,b,z){var ee=b-x,re=z-E,oe=ee*ee+re*re;x-=a,E-=y;var se=-x*ee-E*re;return 0>=se||se>=oe?(ee=b-a,re=z-y,Math.min(x*x+E*E,ee*ee+re*re)):(a=ee*E-re*x,a*a/oe)}function za(a,y,x,E){return a=x-a,y=E-y,a*a+y*y}function kr(a,y,x,E){return a=x-a,y=E-y,a===0?0y?270:0:y===0?0a?E=0>y?E+180:180-E:0>y&&(E=360-E),E)}Be.w=function(){return isFinite(this.x)&&isFinite(this.y)},Ze.alloc=function(){var a=Rr.pop();return a===void 0?new Ze:a},Ze.allocAt=function(a,y){var x=Rr.pop();return x===void 0?new Ze(a,y):(x.x=a,x.y=y,x)},Ze.free=function(a){Rr.push(a)},Ze.prototype.isReal=Ze.prototype.w,Ze.prototype.setSpot=Ze.prototype.yi,Ze.prototype.setRectSpot=Ze.prototype.xi,Ze.prototype.snapToGridPoint=Ze.prototype.vA,Ze.prototype.snapToGrid=Ze.prototype.uA,Ze.prototype.projectOntoLineSegmentPoint=Ze.prototype.gA,Ze.prototype.projectOntoLineSegment=Ze.prototype.fA,Ze.intersectingLineSegments=function(a,y,x,E,b,z,ee,re){return Bt.Rl(a,y,x,E,b,z,ee,re)},Ze.prototype.compareWithLineSegmentPoint=Ze.prototype.Ry,Ze.compareWithLineSegment=function(a,y,x,E,b,z){return Bt.Fl(a,y,x,E,b,z)},Ze.prototype.direction=Ze.prototype.direction,Ze.prototype.directionPoint=Ze.prototype.ab,Ze.prototype.normalize=Ze.prototype.normalize,Ze.prototype.distanceSquared=Ze.prototype.zd,Ze.prototype.distanceSquaredPoint=Ze.prototype.Bf,Ze.prototype.scale=Ze.prototype.scale,Ze.prototype.rotate=Ze.prototype.rotate,Ze.prototype.offset=Ze.prototype.offset,Ze.prototype.subtract=Ze.prototype.re,Ze.prototype.add=Ze.prototype.add,Ze.prototype.equalsApprox=Ze.prototype.Xa,Ze.prototype.equalTo=Ze.prototype.hi,Ze.prototype.equals=Ze.prototype.D,Ze.prototype.set=Ze.prototype.set,Ze.prototype.setTo=Ze.prototype.sg;var Rr=[];Ze.className="Point",Ze.parse=aa,Ze.stringify=ys,Ze.distanceLineSegmentSquared=Ea,Ze.distanceSquared=za,Ze.direction=kr,Ze.Origin=Io=new Ze(0,0).ja(),Ze.InfiniteTopLeft=no=new Ze(-1/0,-1/0).ja(),Ze.InfiniteBottomRight=rr=new Ze(1/0,1/0).ja(),Ze.SixPoint=qi=new Ze(6,6).ja(),Ze.NoPoint=Xi=new Ze(NaN,NaN).ja(),Ze.parse=aa,Ze.stringify=ys,Ze.distanceLineSegmentSquared=Ea,Ze.distanceSquared=za,Ze.direction=kr;function pi(a,y){a===void 0?this.height=this.width=0:typeof a=="number"&&(0<=a||isNaN(a))&&typeof y=="number"&&(0<=y||isNaN(y))?(this.width=a,this.height=y):Et("Invalid arguments to Size constructor: "+a+", "+y),this._isFrozen=!1}var ho,Ba,Ws,Xa,ua,Ta,Ls;pi.prototype.assign=function(a){return this.width=a.width,this.height=a.height,this},pi.prototype.h=function(a,y){return this.width=a,this.height=y,this},pi.prototype.sg=function(a,y){return this.width=a,this.height=y,this},pi.prototype.set=function(a){return this.width=a.width,this.height=a.height,this},pi.prototype.copy=function(){var a=new pi;return a.width=this.width,a.height=this.height,a},Be=pi.prototype,Be.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Be.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Be.freeze=function(){return this._isFrozen=!0,this},Be.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function ll(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var E=a[y++];E&&(x=parseFloat(E));for(var b=0;a[y]==="";)y++;return(E=a[y++])&&(b=parseFloat(E)),new pi(x,b)}return new pi}function Qt(a){return a.width.toString()+" "+a.height.toString()}Be.toString=function(){return"Size("+this.width+","+this.height+")"},Be.D=function(a){return a instanceof pi?this.width===a.width&&this.height===a.height:!1},Be.hi=function(a,y){return this.width===a&&this.height===y},Be.Xa=function(a){return Bt.B(this.width,a.width)&&Bt.B(this.height,a.height)},Be.Bc=function(a,y){return a=this.width+a,this.width=0<=a?a:0,y=this.height+y,this.height=0<=y?y:0,this},Be.w=function(){return isFinite(this.width)&&isFinite(this.height)},pi.alloc=function(){var a=Va.pop();return a===void 0?new pi:a},pi.free=function(a){Va.push(a)},pi.prototype.isReal=pi.prototype.w,pi.prototype.inflate=pi.prototype.Bc,pi.prototype.equalsApprox=pi.prototype.Xa,pi.prototype.equalTo=pi.prototype.hi,pi.prototype.equals=pi.prototype.D,pi.prototype.set=pi.prototype.set,pi.prototype.setTo=pi.prototype.sg;var Va=[];pi.className="Size",pi.parse=ll,pi.stringify=Qt,pi.ZeroSize=ho=new pi(0,0).ja(),pi.OneSize=Ba=new pi(1,1).ja(),pi.SixSize=Ws=new pi(6,6).ja(),pi.EightSize=Xa=new pi(8,8).ja(),pi.TenSize=ua=new pi(10,10).ja(),pi.InfiniteSize=Ta=new pi(1/0,1/0).ja(),pi.NoSize=Ls=new pi(NaN,NaN).ja(),pi.parse=ll,pi.stringify=Qt;function rn(a,y,x,E){a===void 0?this.height=this.width=this.y=this.x=0:typeof a=="number"&&typeof y=="number"&&typeof x=="number"&&(0<=x||isNaN(x))&&typeof E=="number"&&(0<=E||isNaN(E))?(this.x=a,this.y=y,this.width=x,this.height=E):a instanceof Ze?(x=a.x,a=a.y,y instanceof Ze?(E=y.x,y=y.y,this.x=Math.min(x,E),this.y=Math.min(a,y),this.width=Math.abs(x-E),this.height=Math.abs(a-y)):y instanceof pi?(this.x=x,this.y=a,this.width=y.width,this.height=y.height):Et("Incorrect second argument supplied to Rect constructor "+y)):Et("Invalid arguments to Rect constructor: "+a+", "+y+", "+x+", "+E),this._isFrozen=!1}Be=rn.prototype,Be.assign=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Be.h=function(a,y,x,E){return this.x=a,this.y=y,this.width=x,this.height=E,this};function Ss(a,y,x){a.width=y,a.height=x}Be.sg=function(a,y,x,E){return this.x=a,this.y=y,this.width=x,this.height=E,this},Be.set=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Be.dd=function(a){return this.x=a.x,this.y=a.y,this},Be.tA=function(a){return this.width=a.width,this.height=a.height,this},rn.prototype.copy=function(){var a=new rn;return a.x=this.x,a.y=this.y,a.width=this.width,a.height=this.height,a},Be=rn.prototype,Be.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Be.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Be.freeze=function(){return this._isFrozen=!0,this},Be.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function yu(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var E=a[y++];E&&(x=parseFloat(E));for(var b=0;a[y]==="";)y++;(E=a[y++])&&(b=parseFloat(E));for(var z=0;a[y]==="";)y++;(E=a[y++])&&(z=parseFloat(E));for(var ee=0;a[y]==="";)y++;return(E=a[y++])&&(ee=parseFloat(E)),new rn(x,b,z,ee)}return new rn}function fl(a){return a.x.toString()+" "+a.y.toString()+" "+a.width.toString()+" "+a.height.toString()}Be.toString=function(){return"Rect("+this.x+","+this.y+","+this.width+","+this.height+")"},Be.D=function(a){return a instanceof rn?this.x===a.x&&this.y===a.y&&this.width===a.width&&this.height===a.height:!1},Be.hi=function(a,y,x,E){return this.x===a&&this.y===y&&this.width===x&&this.height===E},Be.Xa=function(a){return Bt.B(this.x,a.x)&&Bt.B(this.y,a.y)&&Bt.B(this.width,a.width)&&Bt.B(this.height,a.height)};function Vl(a,y){return Bt.$(a.x,y.x)&&Bt.$(a.y,y.y)&&Bt.$(a.width,y.width)&&Bt.$(a.height,y.height)}Be.ca=function(a){return this.x<=a.x&&this.x+this.width>=a.x&&this.y<=a.y&&this.y+this.height>=a.y},Be.Re=function(a){return this.x<=a.x&&a.x+a.width<=this.x+this.width&&this.y<=a.y&&a.y+a.height<=this.y+this.height},Be.contains=function(a,y,x,E){return x===void 0&&(x=0),E===void 0&&(E=0),this.x<=a&&a+x<=this.x+this.width&&this.y<=y&&y+E<=this.y+this.height},Be.offset=function(a,y){return this.x+=a,this.y+=y,this},Be.Bc=function(a,y){return is(this,y,a,y,a)},Be.Co=function(a){return is(this,a.top,a.right,a.bottom,a.left)},Be.Fv=function(a){return is(this,-a.top,-a.right,-a.bottom,-a.left)},Be.Hz=function(a,y,x,E){return is(this,a,y,x,E)};function is(a,y,x,E,b){var z=a.width;return x+b<=-z?(a.x+=z/2,a.width=0):(a.x-=b,a.width+=x+b),x=a.height,y+E<=-x?(a.y+=x/2,a.height=0):(a.y-=y,a.height+=y+E),a}Be.Ex=function(a){return kl(this,a.x,a.y,a.width,a.height)},Be.Uu=function(a,y,x,E){return kl(this,a,y,x,E)};function kl(a,y,x,E,b){var z=Math.max(a.x,y),ee=Math.max(a.y,x);return y=Math.min(a.x+a.width,y+E),x=Math.min(a.y+a.height,x+b),a.x=z,a.y=ee,a.width=Math.max(0,y-z),a.height=Math.max(0,x-ee),a}Be.Yc=function(a){return this.Vu(a.x,a.y,a.width,a.height)},Be.Vu=function(a,y,x,E){var b=this.width,z=this.x;return b!==1/0&&x!==1/0&&(b+=z,x+=a,isNaN(x)||isNaN(b)||z>x||a>b)?!1:(a=this.height,x=this.y,!(a!==1/0&&E!==1/0&&(a+=x,E+=y,isNaN(E)||isNaN(a)||x>E||y>a)))};function Nl(a,y){var x=a.width,E=a.x,b=y.x-10;return E>y.width+10+10+b||b>x+E?!1:(x=a.height,a=a.y,E=y.y-10,!(a>y.height+10+10+E||E>x+a))}Be.Ye=function(a){return ga(this,a.x,a.y,0,0)},Be.ed=function(a){return ga(this,a.x,a.y,a.width,a.height)},Be.Kv=function(a,y,x,E){return x===void 0&&(x=0),E===void 0&&(E=0),ga(this,a,y,x,E)};function ga(a,y,x,E,b){var z=Math.min(a.x,y),ee=Math.min(a.y,x);return y=Math.max(a.x+a.width,y+E),x=Math.max(a.y+a.height,x+b),a.x=z,a.y=ee,a.width=y-z,a.height=x-ee,a}Be.yi=function(a,y,x){return this.x=a-x.offsetX-x.x*this.width,this.y=y-x.offsetY-x.y*this.height,this};function gl(a,y,x,E,b,z,ee,re){return ee===void 0&&(ee=0),re===void 0&&(re=0),a<=b&&b+ee<=a+x&&y<=z&&z+re<=y+E}function Vc(a,y,x,E,b,z,ee,re){return a>ee+b||b>x+a?!1:!(y>re+z||z>E+y)}Be.w=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},Be.Mz=function(){return this.width===0&&this.height===0},rn.alloc=function(){var a=xu.pop();return a===void 0?new rn:a},rn.allocAt=function(a,y,x,E){var b=xu.pop();return b===void 0?new rn(a,y,x,E):b.h(a,y,x,E)},rn.free=function(a){xu.push(a)},Rt.Object.defineProperties(rn.prototype,{left:{get:function(){return this.x},set:function(a){this.x=a}},top:{get:function(){return this.y},set:function(a){this.y=a}},right:{get:function(){return this.x+this.width},set:function(a){this.x+=a-(this.x+this.width)}},bottom:{get:function(){return this.y+this.height},set:function(a){this.y+=a-(this.y+this.height)}},position:{get:function(){return new Ze(this.x,this.y)},set:function(a){this.x=a.x,this.y=a.y}},size:{get:function(){return new pi(this.width,this.height)},set:function(a){this.width=a.width,this.height=a.height}},center:{get:function(){return new Ze(this.x+this.width/2,this.y+this.height/2)},set:function(a){this.x=a.x-this.width/2,this.y=a.y-this.height/2}},centerX:{get:function(){return this.x+this.width/2},set:function(a){this.x=a-this.width/2}},centerY:{get:function(){return this.y+this.height/2},set:function(a){this.y=a-this.height/2}}}),rn.prototype.isEmpty=rn.prototype.Mz,rn.prototype.isReal=rn.prototype.w,rn.intersectsLineSegment=function(a,y,x,E,b,z,ee,re){return Bt.Fx(a,y,x,E,b,z,ee,re)},rn.prototype.setSpot=rn.prototype.yi,rn.prototype.union=rn.prototype.Kv,rn.prototype.unionRect=rn.prototype.ed,rn.prototype.unionPoint=rn.prototype.Ye,rn.prototype.intersects=rn.prototype.Vu,rn.prototype.intersectsRect=rn.prototype.Yc,rn.prototype.intersect=rn.prototype.Uu,rn.prototype.intersectRect=rn.prototype.Ex,rn.prototype.grow=rn.prototype.Hz,rn.prototype.subtractMargin=rn.prototype.Fv,rn.prototype.addMargin=rn.prototype.Co,rn.prototype.inflate=rn.prototype.Bc,rn.prototype.offset=rn.prototype.offset,rn.prototype.contains=rn.prototype.contains,rn.prototype.containsRect=rn.prototype.Re,rn.prototype.containsPoint=rn.prototype.ca,rn.prototype.equalsApprox=rn.prototype.Xa,rn.prototype.equalTo=rn.prototype.hi,rn.prototype.equals=rn.prototype.D,rn.prototype.setSize=rn.prototype.tA,rn.prototype.setPoint=rn.prototype.dd,rn.prototype.set=rn.prototype.set,rn.prototype.setTo=rn.prototype.sg;var du=null,Su=null,xu=[];rn.className="Rect",rn.parse=yu,rn.stringify=fl,rn.contains=gl,rn.intersects=Vc,rn.ZeroRect=du=new rn(0,0,0,0).ja(),rn.NoRect=Su=new rn(NaN,NaN,NaN,NaN).ja(),rn.parse=yu,rn.stringify=fl,rn.contains=gl,rn.intersects=Vc;function ao(a,y,x,E){a===void 0?this.left=this.bottom=this.right=this.top=0:y===void 0?this.left=this.bottom=this.right=this.top=a:x===void 0?(this.top=a,this.right=y,this.bottom=a,this.left=y):E!==void 0?(this.top=a,this.right=y,this.bottom=x,this.left=E):Et("Invalid arguments to Margin constructor: "+a+", "+y+", "+x+", "+E),this._isFrozen=!1}ao.prototype.assign=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},ao.prototype.sg=function(a,y,x,E){return this.top=a,this.right=y,this.bottom=x,this.left=E,this},ao.prototype.set=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},ao.prototype.copy=function(){var a=new ao;return a.top=this.top,a.right=this.right,a.bottom=this.bottom,a.left=this.left,a},Be=ao.prototype,Be.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Be.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Be.freeze=function(){return this._isFrozen=!0,this},Be.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function xd(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=NaN;a[y]==="";)y++;var E=a[y++];if(E&&(x=parseFloat(E)),isNaN(x))return new ao;for(var b=NaN;a[y]==="";)y++;if((E=a[y++])&&(b=parseFloat(E)),isNaN(b))return new ao(x);for(var z=NaN;a[y]==="";)y++;if((E=a[y++])&&(z=parseFloat(E)),isNaN(z))return new ao(x,b);for(var ee=NaN;a[y]==="";)y++;return(E=a[y++])&&(ee=parseFloat(E)),isNaN(ee)?new ao(x,b):new ao(x,b,z,ee)}return new ao}function Ed(a){return a.top.toString()+" "+a.right.toString()+" "+a.bottom.toString()+" "+a.left.toString()}Be.toString=function(){return"Margin("+this.top+","+this.right+","+this.bottom+","+this.left+")"},Be.D=function(a){return a instanceof ao?this.top===a.top&&this.right===a.right&&this.bottom===a.bottom&&this.left===a.left:!1},Be.hi=function(a,y,x,E){return this.top===a&&this.right===y&&this.bottom===x&&this.left===E},Be.Xa=function(a){return Bt.B(this.top,a.top)&&Bt.B(this.right,a.right)&&Bt.B(this.bottom,a.bottom)&&Bt.B(this.left,a.left)},Be.w=function(){return isFinite(this.top)&&isFinite(this.right)&&isFinite(this.bottom)&&isFinite(this.left)},ao.alloc=function(){var a=Nh.pop();return a===void 0?new ao:a},ao.free=function(a){Nh.push(a)},ao.prototype.isReal=ao.prototype.w,ao.prototype.equalsApprox=ao.prototype.Xa,ao.prototype.equalTo=ao.prototype.hi,ao.prototype.equals=ao.prototype.D,ao.prototype.set=ao.prototype.set,ao.prototype.setTo=ao.prototype.sg;var Bc=null,Od=null,Nh=[];ao.className="Margin",ao.parse=xd,ao.stringify=Ed,ao.ZeroMargin=Bc=new ao(0,0,0,0).ja(),ao.TwoMargin=Od=new ao(2,2,2,2).ja(),ao.parse=xd,ao.stringify=Ed;function ir(a,y,x,E){a===void 0?this.offsetY=this.offsetX=this.y=this.x=0:(y===void 0&&(y=0),x===void 0&&(x=0),E===void 0&&(E=0),this.x=a,this.y=y,this.offsetX=x,this.offsetY=E),this._isFrozen=!1}var il,bl,wr,so,ca,Dr,Bl,ku,xs,hu,ic,Ms,Tl,Gl,Yu,ed,Jd,Qh,Th,Id,Ol,rc,Il,Dc,Pd,Zl,qh,xf,wd,hh,Vu,_u,ul,ou,Oh,Qd;ir.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},ir.prototype.sg=function(a,y,x,E){return this.x=a,this.y=y,this.offsetX=x,this.offsetY=E,this},ir.prototype.set=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},ir.prototype.copy=function(){var a=new ir;return a.x=this.x,a.y=this.y,a.offsetX=this.offsetX,a.offsetY=this.offsetY,a},Be=ir.prototype,Be.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Be.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Be.freeze=function(){return this._isFrozen=!0,this},Be.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this};function pl(a,y){return a.x=NaN,a.y=NaN,a.offsetX=y,a}function $h(a){if(typeof a=="string"){if(a=a.trim(),a==="None")return il;if(a==="TopLeft")return bl;if(a==="Top"||a==="TopCenter"||a==="MiddleTop")return wr;if(a==="TopRight")return so;if(a==="Left"||a==="LeftCenter"||a==="MiddleLeft")return ca;if(a==="Center")return Dr;if(a==="Right"||a==="RightCenter"||a==="MiddleRight")return Bl;if(a==="BottomLeft")return ku;if(a==="Bottom"||a==="BottomCenter"||a==="MiddleBottom")return xs;if(a==="BottomRight")return hu;if(a==="TopSide")return ic;if(a==="LeftSide")return Ms;if(a==="RightSide")return Tl;if(a==="BottomSide")return Gl;if(a==="TopBottomSides")return Yu;if(a==="LeftRightSides")return ed;if(a==="TopLeftSides")return Jd;if(a==="TopRightSides")return Qh;if(a==="BottomLeftSides")return Th;if(a==="BottomRightSides")return Id;if(a==="NotTopSide")return Ol;if(a==="NotLeftSide")return rc;if(a==="NotRightSide")return Il;if(a==="NotBottomSide")return Dc;if(a==="AllSides")return Pd;if(a==="Default")return Zl;a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var E=a[y++];E!==void 0&&0a&&(a+=360),a===0)return this;if(this.translate(y,x),a===90){a=0;var E=1}else a===180?(a=-1,E=0):a===270?(a=0,E=-1):(E=a*Math.PI/180,a=Math.cos(E),E=Math.sin(E));var b=this.m12*a+this.m22*E,z=this.m11*-E+this.m21*a,ee=this.m12*-E+this.m22*a;return this.m11=this.m11*a+this.m21*E,this.m12=b,this.m21=z,this.m22=ee,this.translate(-y,-x),this},Be=qr.prototype,Be.translate=function(a,y){return this.dx+=this.m11*a+this.m21*y,this.dy+=this.m12*a+this.m22*y,this},Be.scale=function(a,y){return y===void 0&&(y=a),this.m11*=a,this.m12*=a,this.m21*=y,this.m22*=y,this},Be.Ga=function(a){var y=a.x,x=a.y;return a.h(y*this.m11+x*this.m21+this.dx,y*this.m12+x*this.m22+this.dy)},Be.Cd=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=a.x,E=a.y;return a.h(x*this.m22*y+E*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+E*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Be.Eu=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=1.25*a.x,E=1.2*a.y;return a.h(x*this.m22*y+E*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+E*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Be.pp=function(a){var y=a.x,x=a.y,E=y+a.width,b=x+a.height,z=this.m11,ee=this.m12,re=this.m21,oe=this.m22,se=this.dx,ce=this.dy,ge=y*z+x*re+se,Se=y*ee+x*oe+ce,we=E*z+x*re+se,Fe=E*ee+x*oe+ce;return x=y*z+b*re+se,y=y*ee+b*oe+ce,z=E*z+b*re+se,E=E*ee+b*oe+ce,b=Math.min(ge,we),ge=Math.max(ge,we),we=Math.min(Se,Fe),Se=Math.max(Se,Fe),b=Math.min(b,x),ge=Math.max(ge,x),we=Math.min(we,y),Se=Math.max(Se,y),b=Math.min(b,z),ge=Math.max(ge,z),we=Math.min(we,E),Se=Math.max(Se,E),a.h(b,we,ge-b,Se-we),a},qr.alloc=function(){var a=Ih.pop();return a===void 0?new qr:a},qr.free=function(a){Ih.push(a)},qr.prototype.transformRect=qr.prototype.pp,qr.prototype.transformPoint=qr.prototype.Ga,qr.prototype.scale=qr.prototype.scale,qr.prototype.translate=qr.prototype.translate,qr.prototype.rotate=qr.prototype.rotate,qr.prototype.invert=qr.prototype.Vj,qr.prototype.multiplyInverted=qr.prototype.bv,qr.prototype.multiply=qr.prototype.multiply,qr.prototype.reset=qr.prototype.reset,qr.prototype.isIdentity=qr.prototype.ws,qr.prototype.equals=qr.prototype.D,qr.prototype.setTransform=qr.prototype.setTransform,qr.prototype.set=qr.prototype.set;var Ih=[];qr.className="Transform",qr.xF="54a702f3e53909c447824c6706603faf4c";var Bt={AA:"7da71ca0ad381e90",wg:(Math.sqrt(2)-1)/3*4,Uv:null,sqrt:function(a){if(0>=a)return 0;var y=Bt.Uv;if(y===null){y=[];for(var x=0;2e3>=x;x++)y[x]=Math.sqrt(x);Bt.Uv=y}return 1>a?(x=1/a,2e3>=x?1/y[x|0]:Math.sqrt(a)):2e3>=a?y[a|0]:Math.sqrt(a)},B:function(a,y){return a-=y,.5>a&&-.5a&&-5e-8=b&&(b=1e-6),ace-se)if(a-x>b||x-a>b){if(z=(E-y)/(x-a)*(z-a)+y,z-b<=ee&&ee<=z+b)return!0}else return!0;else if(y-E>b||E-y>b){if(ee=(x-a)/(E-y)*(ee-y)+a,ee-b<=z&&z<=ee+b)return!0}else return!0;return!1},cs:function(a,y,x,E,b,z,ee,re,oe,se,ce,ge){if(Bt.Yb(a,y,ee,re,ge,x,E)&&Bt.Yb(a,y,ee,re,ge,b,z))return Bt.Yb(a,y,ee,re,ge,se,ce);var Se=(a+x)/2,we=(y+E)/2,Fe=(x+b)/2,Ne=(E+z)/2;b=(b+ee)/2,z=(z+re)/2,E=(Se+Fe)/2,x=(we+Ne)/2,Fe=(Fe+b)/2,Ne=(Ne+z)/2;var Je=(E+Fe)/2,Ge=(x+Ne)/2;return Bt.cs(a,y,Se,we,E,x,Je,Ge,oe,se,ce,ge)||Bt.cs(Je,Ge,Fe,Ne,b,z,ee,re,oe,se,ce,ge)},ax:function(a,y,x,E,b,z,ee,re,oe){var se=(x+b)/2,ce=(E+z)/2;return oe.h((((a+x)/2+se)/2+(se+(b+ee)/2)/2)/2,(((y+E)/2+ce)/2+(ce+(z+re)/2)/2)/2),oe},My:function(a,y,x,E,b,z,ee,re){var oe=(x+b)/2,se=(E+z)/2;return kr(((a+x)/2+oe)/2,((y+E)/2+se)/2,(oe+(b+ee)/2)/2,(se+(z+re)/2)/2)},Dl:function(a,y,x,E,b,z,ee,re,oe,se){if(Bt.Yb(a,y,ee,re,oe,x,E)&&Bt.Yb(a,y,ee,re,oe,b,z))ga(se,a,y,0,0),ga(se,ee,re,0,0);else{var ce=(a+x)/2,ge=(y+E)/2,Se=(x+b)/2,we=(E+z)/2;b=(b+ee)/2,z=(z+re)/2,E=(ce+Se)/2,x=(ge+we)/2,Se=(Se+b)/2,we=(we+z)/2;var Fe=(E+Se)/2,Ne=(x+we)/2;Bt.Dl(a,y,ce,ge,E,x,Fe,Ne,oe,se),Bt.Dl(Fe,Ne,Se,we,b,z,ee,re,oe,se)}return se},Qe:function(a,y,x,E,b,z,ee,re,oe,se){if(Bt.Yb(a,y,ee,re,oe,x,E)&&Bt.Yb(a,y,ee,re,oe,b,z))se.length===0&&(se.push(a),se.push(y)),se.push(ee),se.push(re);else{var ce=(a+x)/2,ge=(y+E)/2,Se=(x+b)/2,we=(E+z)/2;b=(b+ee)/2,z=(z+re)/2,E=(ce+Se)/2,x=(ge+we)/2,Se=(Se+b)/2,we=(we+z)/2;var Fe=(E+Se)/2,Ne=(x+we)/2;Bt.Qe(a,y,ce,ge,E,x,Fe,Ne,oe,se),Bt.Qe(Fe,Ne,Se,we,b,z,ee,re,oe,se)}return se},jv:function(a,y,x,E,b,z,ee,re,oe,se){if(Bt.Yb(a,y,b,z,se,x,E))return Bt.Yb(a,y,b,z,se,re,oe);var ce=(a+x)/2,ge=(y+E)/2;x=(x+b)/2,E=(E+z)/2;var Se=(ce+x)/2,we=(ge+E)/2;return Bt.jv(a,y,ce,ge,Se,we,ee,re,oe,se)||Bt.jv(Se,we,x,E,b,z,ee,re,oe,se)},OA:function(a,y,x,E,b,z,ee){return ee.h(((a+x)/2+(x+b)/2)/2,((y+E)/2+(E+z)/2)/2),ee},iv:function(a,y,x,E,b,z,ee,re){if(Bt.Yb(a,y,b,z,ee,x,E))ga(re,a,y,0,0),ga(re,b,z,0,0);else{var oe=(a+x)/2,se=(y+E)/2;x=(x+b)/2,E=(E+z)/2;var ce=(oe+x)/2,ge=(se+E)/2;Bt.iv(a,y,oe,se,ce,ge,ee,re),Bt.iv(ce,ge,x,E,b,z,ee,re)}return re},ep:function(a,y,x,E,b,z,ee,re){if(Bt.Yb(a,y,b,z,ee,x,E))re.length===0&&(re.push(a),re.push(y)),re.push(b),re.push(z);else{var oe=(a+x)/2,se=(y+E)/2;x=(x+b)/2,E=(E+z)/2;var ce=(oe+x)/2,ge=(se+E)/2;Bt.ep(a,y,oe,se,ce,ge,ee,re),Bt.ep(ce,ge,x,E,b,z,ee,re)}return re},Eo:function(a,y,x,E,b,z,ee,re,oe,se,ce,ge,Se,we){if(Bt.Yb(a,y,ee,re,Se,x,E)&&Bt.Yb(a,y,ee,re,Se,b,z))return!Bt.Rl(a,y,ee,re,oe,se,ce,ge)||(Se=(a-ee)*(se-ge)-(y-re)*(oe-ce),Se===0)?!1:(we.h(((a*re-y*ee)*(oe-ce)-(a-ee)*(oe*ge-se*ce))/Se,((a*re-y*ee)*(se-ge)-(y-re)*(oe*ge-se*ce))/Se),!0);var Fe=(a+x)/2,Ne=(y+E)/2,Je=(x+b)/2,Ge=(E+z)/2;b=(b+ee)/2,z=(z+re)/2,E=(Fe+Je)/2,x=(Ne+Ge)/2,Je=(Je+b)/2,Ge=(Ge+z)/2;var nt=(E+Je)/2,at=(x+Ge)/2,ft=1/0,Ct=!1,Kt=0,Pi=0;return Bt.Eo(a,y,Fe,Ne,E,x,nt,at,oe,se,ce,ge,Se,we)&&(a=(we.x-oe)*(we.x-oe)+(we.y-se)*(we.y-se),a=ce)return we;if((oe>ce?oe-ce:ce-oe)<(se>ge?se-ge:ge-se)){if(ya)return we}else if(aa)return we;0Se&&we--}else{Fe=(a+x)/2,Ne=(y+E)/2;var Je=(x+b)/2,Ge=(E+z)/2;b=(b+ee)/2,z=(z+re)/2,E=(Fe+Je)/2,x=(Ne+Ge)/2,Je=(Je+b)/2,Ge=(Ge+z)/2;var nt=(E+Je)/2,at=(x+Ge)/2;we+=Bt.Fo(a,y,Fe,Ne,E,x,nt,at,oe,se,ce,ge,Se),we+=Bt.Fo(nt,at,Je,Ge,b,z,ee,re,oe,se,ce,ge,Se)}return we},qh:function(a,y,x,E,b,z,ee){return Bt.$(a,x)?(yy?(ee.h(a,y),!1):(ee.h(a,z),!0)):Bt.$(y,E)?(aa?(ee.h(a,y),!1):(ee.h(b,y),!0)):(b=((a-b)*(a-x)+(y-z)*(y-E))/((x-a)*(x-a)+(E-y)*(E-y)),-5e-6>b?(ee.h(a,y),!1):1.000005y?(oe.h(a,y),!1):(oe.h(a,x),!0)):(ee=(E-y)/(x-a),Bt.$(re,ee)?(Bt.qh(a,y,x,E,b,z,oe),!1):(b=(ee*a-re*b+z-y)/(ee-re),Bt.$(ee,0)?(aa?(oe.h(a,y),!1):(oe.h(b,y),!0)):Bt.qh(a,y,x,E,b,ee*(b-a)+y,oe))))},MA:function(a,y,x,E,b){return Bt.Ve(x.x,x.y,E.x,E.y,a.x,a.y,y.x,y.y,b)},KA:function(a,y,x,E,b,z,ee,re,oe,se){function ce(Je,Ge){var nt=(Je-a)*(Je-a)+(Ge-y)*(Ge-y);nt(x>a?x-a:a-x)){if(Se=1-(x-b)*(x-b)/(Se*Se),0>Se)return oe;Se=Math.sqrt(Se),E=-se*Se+z,ce(x,se*Se+z),ce(x,E)}else{if(x=(E-y)/(x-a),E=1/(Se*Se)+x*x/(se*se),re=2*x*(y-x*a)/(se*se)-2*x*z/(se*se)-2*b/(Se*Se),Se=re*re-4*E*(2*x*a*z/(se*se)-2*y*z/(se*se)+z*z/(se*se)+b*b/(Se*Se)-1+(y-x*a)*(y-x*a)/(se*se)),0>Se)return oe;Se=Math.sqrt(Se),se=(-re+Se)/(2*E),ce(se,x*se-x*a+y),Se=(-re-Se)/(2*E),ce(Se,x*Se-x*a+y)}return oe},Ff:function(a,y,x,E,b,z,ee,re,oe){var se=1e21,ce=a,ge=y;if(Bt.Ve(a,y,a,E,b,z,ee,re,oe)){var Se=(oe.x-b)*(oe.x-b)+(oe.y-z)*(oe.y-z);Sese},us:function(a,y,x){return Bt.Fx(a.x,a.y,a.width,a.height,y.x,y.y,x.x,x.y)},Fx:function(a,y,x,E,b,z,ee,re){var oe=a+x,se=y+E;return b===ee?(z=y):z===re?(b=a):!!(gl(a,y,x,E,b,z)||gl(a,y,x,E,ee,re)||Bt.Rl(a,y,oe,y,b,z,ee,re)||Bt.Rl(oe,y,oe,se,b,z,ee,re)||Bt.Rl(oe,se,a,se,b,z,ee,re)||Bt.Rl(a,se,a,y,b,z,ee,re))},Rl:function(a,y,x,E,b,z,ee,re){return a===x&&y===E&&b===ee&&z===re?a===b&&y===z:0>=Bt.Fl(a,y,x,E,b,z)*Bt.Fl(a,y,x,E,ee,re)&&0>=Bt.Fl(b,z,ee,re,a,y)*Bt.Fl(b,z,ee,re,x,E)},Fl:function(a,y,x,E,b,z){return x-=a,E-=y,a=b-a,y=z-y,z=a*E-y*x,z===0&&(z=a*x+y*E,0z&&(z=0))),z},bp:function(a){return 0>a&&(a+=360),360<=a&&(a-=360),a},jx:function(a,y,x,E,b,z){var ee=Math.PI;z||(E*=ee/180,b*=ee/180);var re=E>b?-1:1;z=[];var oe=ee/2,se=E;if(E=Math.min(2*ee,Math.abs(b-E)),1e-5>E)return oe=se+re*Math.min(E,oe),re=a+x*Math.cos(se),se=y+x*Math.sin(se),a+=x*Math.cos(oe),y+=x*Math.sin(oe),x=(re+a)/2,oe=(se+y)/2,z.push([re,se,x,oe,x,oe,a,y]),z;for(;1e-5x,z=0>E;if(ase&&(y=.5*(re+oe),!(y===re||y===oe));++se){var ce=a/(y+b),ge=ee/(y+z);if(ce=ce*ce+ge*ge-1,0ce)oe=y;else break}x=b*x/(y+b)-x,E=z*E/(y+z)-E,x=Math.sqrt(x*x+E*E)}else x=Math.abs(E-y);else E=a*a-y*y,z=a*x,za?"M"+this.startX.toString()+" "+this.startY.toString()+"L"+this.endX.toString()+" "+this.endY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a)+"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);case li.u:var y=new rn(this.startX,this.startY,0,0);return y.Kv(this.endX,this.endY,0,0),0>a?"M"+y.x.toString()+" "+y.y.toString()+"H"+y.right.toString()+"V"+y.bottom.toString()+"H"+y.left.toString()+"z":"M"+y.x.toFixed(a)+" "+y.y.toFixed(a)+"H"+y.right.toFixed(a)+"V"+y.bottom.toFixed(a)+"H"+y.left.toFixed(a)+"z";case li.F:if(y=new rn(this.startX,this.startY,0,0),y.Kv(this.endX,this.endY,0,0),0>a)return a=y.left.toString()+" "+(y.y+y.height/2).toString(),"M"+a+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+(y.right.toString()+" "+(y.y+y.height/2).toString())+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+a;var x=y.left.toFixed(a)+" "+(y.y+y.height/2).toFixed(a);return"M"+x+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+(y.right.toFixed(a)+" "+(y.y+y.height/2).toFixed(a))+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+x;case li.o:y="",x=this.figures.s;for(var E=x.length,b=0;b=ft-1?!0:se[Ne+1].match(Ct)!==null}function E(){return Ne++,se[Ne]}function b(zr){var Fr=parseFloat(E()),oa=parseFloat(E());Je===Je.toLowerCase()&&(Fr=at.x+Fr,oa=at.y+oa),zr.h(Fr,oa)}function z(){return b(at),at}function ee(){return b(nt),nt}function re(){var zr=Ge.toLowerCase();return zr!=="c"&&zr!=="s"&&zr!=="q"&&zr!=="t"?at:new Ze(2*at.x-nt.x,2*at.y-nt.y)}y===void 0&&(y=!1);var oe=/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm;a=a.replace(/,/gm," "),a=a.replace(oe,"$1 $2"),a=a.replace(oe,"$1 $2"),a=a.replace(/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([^s])/gm,"$1 $2"),a=a.replace(/([^s])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm,"$1 $2"),a=a.replace(/([0-9])([+\-])/gm,"$1 $2"),a=a.replace(/[\s\r\t\n]+/gm," "),a=a.replace(/^\s+|\s+$/g,"");var se=a.split(" ");for(a=0;a=ft-1);)if(Ge=Je,Je=E(),Je!=="")switch(Je.toUpperCase()){case"X":we=!0,ge=ce=!1;break;case"M":for(Fe=z(),a.mc===null||we===!0?(Fp(a,Fe.x,Fe.y,ce,!ge,Se),we=!1):a.moveTo(Fe.x,Fe.y),oe.assign(at);!x();)Fe=z(),a.lineTo(Fe.x,Fe.y);break;case"L":for(;!x();)Fe=z(),a.lineTo(Fe.x,Fe.y);break;case"H":for(;!x();)at=new Ze((Je===Je.toLowerCase()?at.x:0)+parseFloat(E()),at.y),a.lineTo(at.x,at.y);break;case"V":for(;!x();)at=new Ze(at.x,(Je===Je.toLowerCase()?at.y:0)+parseFloat(E())),a.lineTo(at.x,at.y);break;case"C":for(;!x();){Fe=new Ze,b(Fe);var Kt=ee(),Pi=z();Rf(a,Fe.x,Fe.y,Kt.x,Kt.y,Pi.x,Pi.y)}break;case"S":for(;!x();)Fe=re(),Kt=ee(),Pi=z(),Rf(a,Fe.x,Fe.y,Kt.x,Kt.y,Pi.x,Pi.y);break;case"Q":for(;!x();)Fe=ee(),Kt=z(),x0(a,Fe.x,Fe.y,Kt.x,Kt.y);break;case"T":for(;!x();)nt=Fe=re(),Kt=z(),x0(a,Fe.x,Fe.y,Kt.x,Kt.y);break;case"B":for(;!x();){Fe=parseFloat(E()),Kt=parseFloat(E()),Pi=parseFloat(E());var zi=parseFloat(E()),Ni=parseFloat(E()),oi=Ni,Tn=!1;x()||(oi=parseFloat(E()),x()||(Tn=parseFloat(E())!==0)),Je===Je.toLowerCase()&&(Pi+=at.x,zi+=at.y),a.arcTo(Fe,Kt,Pi,zi,Ni,oi,Tn)}break;case"A":for(;!x();)Fe=Math.abs(parseFloat(E())),Kt=Math.abs(parseFloat(E())),Pi=parseFloat(E()),Ni=zi=!1,Tn=oi=0,oi=E(),oi.length===1?(zi=!!parseFloat(oi),Ni=!!parseFloat(E()),oi=parseFloat(E())):oi.length===2?(zi=!!parseFloat(oi[0]),Ni=!!parseFloat(oi[1]),oi=parseFloat(E())):(zi=!!parseFloat(oi[0]),Ni=!!parseFloat(oi[1]),oi=parseFloat(oi.slice(2))),Tn=parseFloat(E()),Je===Je.toLowerCase()&&(oi=at.x+oi,Tn=at.y+Tn),at.h(oi,Tn),Nx(a,Fe,Kt,Pi,zi,Ni,oi,Tn);break;case"Z":kx(a),at.assign(oe);break;case"F":for(Fe="",Kt=1;se[Ne+Kt];)if(se[Ne+Kt]==="0")Se=!0,Kt++;else if(se[Ne+Kt].match(/[Uu]/)!==null)Kt++;else if(se[Ne+Kt].match(Ct)===null)Kt++;else{Fe=se[Ne+Kt];break}Fe.match(/[Mm]/)?ce=!0:0ee&&(ee+=360),Fe.startAngle+=ee),0>a&&(Fe.startAngle=180-Fe.startAngle,Fe.sweepAngle=-Fe.sweepAngle),0>E&&(Fe.startAngle=-Fe.startAngle,Fe.sweepAngle=-Fe.sweepAngle),Fe.radiusX*=Math.sqrt(a*a+x*x),Fe.radiusY!==void 0&&(Fe.radiusY*=Math.sqrt(y*y+E*E));break;case qe:if(ee=Fe.endX,re=Fe.endY,Fe.endX=ee*a+re*x+b,Fe.endY=ee*y+re*E+z,Fe.radiusX===0||Fe.radiusY===0)break;y!==0&&(ee=180*Math.atan2(y,a)/Math.PI,0>ee&&(ee+=360),Fe.xAxisRotation+=ee),0>a&&(Fe.xAxisRotation=180-Fe.xAxisRotation,Fe.isClockwiseArc=!Fe.isClockwiseArc),0>E&&(Fe.xAxisRotation=-Fe.xAxisRotation,Fe.isClockwiseArc=!Fe.isClockwiseArc),Fe.radiusX*=Math.sqrt(a*a+x*x),Fe.radiusY*=Math.sqrt(y*y+E*E);break;default:Et("Unknown Segment type: "+Fe.type)}}}}return this._isInvalidBounds=!0,this},Be.ca=function(a,y){y===void 0&&(y=0);var x=this.od,E=this.pd,b=this.Dc,z=this.Ec;switch(this.type){case li.j:return Bt.Yb(x,E,b,z,y,a.x,a.y);case li.u:var ee=rn.allocAt(Math.min(x,b)-y,Math.min(E,z)-y,Math.abs(b-x)+2*y,Math.abs(z-E)+2*y);return a=ee.ca(a),rn.free(ee),a;case li.F:ee=Math.min(x,b)-y;var re=Math.min(E,z)-y;return x=(Math.abs(b-x)+2*y)/2,y=(Math.abs(z-E)+2*y)/2,0>=x||0>=y?!1:(ee=a.x-(ee+x),re=a.y-(re+y),1>=ee*ee/(x*x)+re*re/(y*y));case li.o:return cd(this,a,y,!0,!1);default:return!1}};function cd(a,y,x,E,b){var z=y.x;y=y.y;for(var ee=a.bounds.x-20,re=0,oe,se,ce,ge,Se=a.figures.s,we=Se.length,Fe=0;Fe=a)return 0;if((b>ee?b-ee:ee-b)<(z>re?z-re:re-z)){if(zre)return 0}else if(yz)return 0}else if(bee)return 0}else if(seb)return 0;return 0a?a=0:1=z)return E=z-ee,E=ce===0?0:E/ce,x=x[re],re=x[2*a],b=x[2*a+1],y.h(re+(x[2*a+2]-re)*E,b+(x[2*a+3]-b)*E),y;ee+=ce}}return y},Be.wx=function(a){if(0>a?a=0:1=b)return b=y[ee],y=b[2*a],x=b[2*a+1],E=b[2*a+2],a=b[2*a+3],1>Math.abs(E-y)&&1>Math.abs(a-x)?0:1>Math.abs(E-y)?0<=a-x?90:270:1>Math.abs(a-x)?0<=E-y?0:180:180*Math.atan2(a-x,E-y)/Math.PI;z+=se}}return NaN},Be.Qu=function(a,y){if(0>a?a=0:1=z)return E=z-ee,E=ce===0?0:E/ce,ce=x[re],x=ce[2*a],re=ce[2*a+1],b=ce[2*a+2],a=ce[2*a+3],y[0]=x+(b-x)*E,y[1]=re+(a-re)*E,y[2]=1>Math.abs(b-x)&&1>Math.abs(a-re)?0:1>Math.abs(b-x)?0<=a-re?90:270:1>Math.abs(a-re)?0<=b-x?0:180:180*Math.atan2(a-re,b-x)/Math.PI,y;ee+=ce}}return y},Be.xx=function(a){if(this.type===li.j){var y=this.startX,x=this.startY,E=this.endX,b=this.endY;if(y!==E||x!==b){var z=a.x;if(a=a.y,y===E){if(x=E?E===x?0:1:Math.abs(a-x)/(E-ee)}if(x===b)return y=E?E===y?0:1:Math.abs(z-y)/(E-ee);ee=(E-y)*(E-y)+(b-x)*(b-x);var re=Ze.alloc();return Bt.qh(y,x,E,b,z,a,re),a=re.x,z=re.y,Ze.free(re),Math.sqrt(((a-y)*(a-y)+(z-x)*(z-x))/ee)}}else if(this.type===li.u){ee=this.startX,re=this.startY;var oe=this.endX;if(b=this.endY,ee!==oe||re!==b){y=oe-ee,x=b-re,z=2*y+2*x,E=a.x,a=a.y,E=Math.min(Math.max(E,ee),oe),a=Math.min(Math.max(a,re),b),ee=Math.abs(E-ee),oe=Math.abs(E-oe),re=Math.abs(a-re),b=Math.abs(a-b);var se=Math.min(ee,oe,re,b);if(se===re)return E/z;if(se===oe)return(y+a)/z;if(se===b)return(2*y+x-E)/z;if(se===ee)return(2*y+2*x-a)/z}}else{y=this.flattenedSegments,x=this.flattenedLengths,z=this.flattenedTotalLength,E=Ze.alloc(),b=1/0,re=ee=0,oe=y.length;for(var ce=se=0,ge=0;gea?0:1a?"M"+this.startX.toString()+" "+this.startY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a),x=this.segments.s,E=x.length,b=0;ba&&(a+=360),this.Ne=a,this.Vh=0,this.Wh=Math.max(E,0),this.Pg=Math.max(b,0),typeof ee=="boolean"?ee&&(this.isLargeArc=!0):typeof ee=="number"&&ee&&(this.isLargeArc=!0),re&&(this.isClockwiseArc=!0)):(this.Ne=E,this.Vh=b,a===He&&(z=Math.max(z,0)),this.Wh=z,typeof ee=="number"?(a===He&&(ee=Math.max(ee,0)),this.Pg=ee):this.Pg=0),this.ae=null}Uo.prototype.copy=function(){var a=new Uo;return a.na=this.na,a.l=this.l&-2,a.Dc=this.Dc,a.Ec=this.Ec,a.Ne=this.Ne,a.Vh=this.Vh,a.Wh=this.Wh,a.Pg=this.Pg,a},Be=Uo.prototype,Be.Xa=function(a){if(!(a instanceof Uo)||this.type!==a.type||this.isClosed!==a.isClosed)return!1;switch(this.type){case tl:case Oa:return Bt.B(this.endX,a.endX)&&Bt.B(this.endY,a.endY);case ml:return Bt.B(this.endX,a.endX)&&Bt.B(this.endY,a.endY)&&Bt.B(this.point1X,a.point1X)&&Bt.B(this.point1Y,a.point1Y)&&Bt.B(this.point2X,a.point2X)&&Bt.B(this.point2Y,a.point2Y);case We:return Bt.B(this.endX,a.endX)&&Bt.B(this.endY,a.endY)&&Bt.B(this.point1X,a.point1X)&&Bt.B(this.point1Y,a.point1Y);case He:return Bt.B(this.startAngle,a.startAngle)&&Bt.B(this.sweepAngle,a.sweepAngle)&&Bt.B(this.centerX,a.centerX)&&Bt.B(this.centerY,a.centerY)&&Bt.B(this.radiusX,a.radiusX)&&Bt.B(this.radiusY,a.radiusY);case qe:return this.isClockwiseArc===a.isClockwiseArc&&this.isLargeArc===a.isLargeArc&&Bt.B(this.xAxisRotation,a.xAxisRotation)&&Bt.B(this.endX,a.endX)&&Bt.B(this.endY,a.endY)&&Bt.B(this.radiusX,a.radiusX)&&Bt.B(this.radiusY,a.radiusY);default:return!1}},Be.qb=function(a){a.classType===Uo&&(this.type=a)},Be.toString=function(a){switch(a===void 0&&(a=-1),this.type){case tl:a=0>a?"M"+this.endX.toString()+" "+this.endY.toString():"M"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case Oa:a=0>a?"L"+this.endX.toString()+" "+this.endY.toString():"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case ml:a=0>a?"C"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.point2X.toString()+" "+this.point2Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"C"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.point2X.toFixed(a)+" "+this.point2Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case We:a=0>a?"Q"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"Q"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case He:a=0>a?"B"+this.startAngle.toString()+" "+this.sweepAngle.toString()+" "+this.centerX.toString()+" "+this.centerY.toString()+" "+this.radiusX.toString()+" "+this.radiusY.toString():"B"+this.startAngle.toFixed(a)+" "+this.sweepAngle.toFixed(a)+" "+this.centerX.toFixed(a)+" "+this.centerY.toFixed(a)+" "+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a);break;case qe:a=0>a?"A"+this.radiusX.toString()+" "+this.radiusY.toString()+" "+this.xAxisRotation.toString()+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toString()+" "+this.endY.toString():"A"+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a)+" "+this.xAxisRotation.toFixed(a)+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;default:a=this.type.toString()}return a+(this.isClosed?"z":"")},Be.freeze=function(){return this._isFrozen=!0,this},Be.ka=function(){return this._isFrozen=!1,this},Be.close=function(){return this.isClosed=!0,this};function au(a,y){if(a.ae!==null&&y._isInvalidBounds===!1)return a.ae;var x=a.radiusX,E=a.radiusY;if(E===void 0&&(E=x),x===0||E===0)return a.ae=[],a.ae;y=a.Ne;var b=a.Vh,z=Bt.jx(0,0,x=we?ee=Math.PI:1<=we&&(ee=0),!oe&&0ee&&(ee+=2*Math.PI),oe=y>z?1:y/z,we=y>z?z/y:1,y=Bt.jx(0,0,y>z?y:z,ce,ce+ee,!0),z=qr.alloc(),z.reset(),z.translate(x,E),z.rotate(a.Ne,0,0),z.scale(oe,we),li.Ha(y,z),qr.free(z),a.ae=y,a.ae}Rt.Object.defineProperties(Uo.prototype,{_isFrozen:{get:function(){return(this.l&1)!==0},set:function(a){this.l=a?this.l|1:this.l&-2}},_isInvalidBounds:{get:function(){return(this.l&2)!==0},set:function(a){this.l=a?this.l|2:this.l&-3}},isClosed:{get:function(){return(this.l&8)!==0},set:function(a){this.isClosed!==a&&(this.l=a?this.l|8:this.l&-9,this._isInvalidBounds=!0)}},type:{get:function(){return this.na},set:function(a){this._isFrozen&&Di(this,a),this.na=a,this._isInvalidBounds=!0}},endX:{get:function(){return this.Dc},set:function(a){this._isFrozen&&Di(this,a),this.Dc=a,this._isInvalidBounds=!0}},endY:{get:function(){return this.Ec},set:function(a){this._isFrozen&&Di(this,a),this.Ec=a,this._isInvalidBounds=!0}},point1X:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Di(this,a),this.Ne=a,this._isInvalidBounds=!0}},point1Y:{get:function(){return this.Vh},set:function(a){this._isFrozen&&Di(this,a),this.Vh=a,this._isInvalidBounds=!0}},point2X:{get:function(){return this.Wh},set:function(a){this._isFrozen&&Di(this,a),this.Wh=a,this._isInvalidBounds=!0}},point2Y:{get:function(){return this.Pg},set:function(a){this._isFrozen&&Di(this,a),this.Pg=a,this._isInvalidBounds=!0}},centerX:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Di(this,a),this.Ne=a,this._isInvalidBounds=!0}},centerY:{get:function(){return this.Vh},set:function(a){this._isFrozen&&Di(this,a),this.Vh=a,this._isInvalidBounds=!0}},radiusX:{get:function(){return this.Wh},set:function(a){0>a&&Cn(a,">= zero",Uo,"radiusX"),this._isFrozen&&Di(this,a),this.Wh=a,this._isInvalidBounds=!0}},radiusY:{get:function(){return this.Pg},set:function(a){0>a&&Cn(a,">= zero",Uo,"radiusY"),this._isFrozen&&Di(this,a),this.Pg=a,this._isInvalidBounds=!0}},startAngle:{get:function(){return this.Dc},set:function(a){this._isFrozen&&Di(this,a),a%=360,0>a&&(a+=360),this.Dc=a,this._isInvalidBounds=!0}},sweepAngle:{get:function(){return this.Ec},set:function(a){this._isFrozen&&Di(this,a),360a&&(a=-360),this.Ec=a,this._isInvalidBounds=!0}},isClockwiseArc:{get:function(){return(this.l&4)!==0},set:function(a){this._isFrozen&&Di(this,a),this.l=a?this.l|4:this.l&-5,this._isInvalidBounds=!0}},isLargeArc:{get:function(){return(this.l&16)!==0},set:function(a){this._isFrozen&&Di(this,a),this.l=a?this.l|16:this.l&-17,this._isInvalidBounds=!0}},xAxisRotation:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Di(this,a),a%=360,0>a&&(a+=360),this.Ne=a,this._isInvalidBounds=!0}}}),Uo.prototype.equalsApprox=Uo.prototype.Xa;var tl=new sn(Uo,"Move",0),Oa=new sn(Uo,"Line",1),ml=new sn(Uo,"Bezier",2),We=new sn(Uo,"QuadraticBezier",3),He=new sn(Uo,"Arc",4),qe=new sn(Uo,"SvgArc",4);Uo.className="PathSegment",Uo.Move=tl,Uo.Line=Oa,Uo.Bezier=ml,Uo.QuadraticBezier=We,Uo.Arc=He,Uo.SvgArc=qe;function It(){this.H=null,this.xu=new Ze(0,0).freeze(),this.mt=new Ze(0,0).freeze(),this.Bp=this.Rq=0,this.Cp=1,this.xq="",this.Wr=this.Tp=!1,this.Rp=this.Ep=0,this.xg=this.nq=this.tq=!1,this.Zp=null,this.Rr=0,this.xd=this.Nr=null}It.prototype.copy=function(){var a=new It;return this.clone(a)},It.prototype.clone=function(a){return a.H=this.H,a.xu.assign(this.viewPoint),a.mt.assign(this.documentPoint),a.Rq=this.Rq,a.Bp=this.Bp,a.Cp=this.Cp,a.xq=this.xq,a.Tp=this.Tp,a.Wr=this.Wr,a.Ep=this.Ep,a.Rp=this.Rp,a.tq=this.tq,a.nq=this.nq,a.xg=this.xg,a.Zp=this.Zp,a.Rr=this.Rr,a.Nr=this.Nr,a.xd=this.xd,a},It.prototype.toString=function(){var a="^";return this.modifiers!==0&&(a+="M:"+this.modifiers),this.button!==0&&(a+="B:"+this.button),this.key!==""&&(a+="K:"+this.key),this.clickCount!==0&&(a+="C:"+this.clickCount),this.delta!==0&&(a+="D:"+this.delta),this.handled&&(a+="h"),this.bubbles&&(a+="b"),this.documentPoint!==null&&(a+="@"+this.documentPoint.toString()),a},It.prototype.So=function(a,y){var x=this.diagram;return x===null||yo(x,a,y),y},It.prototype.Bz=function(a,y){var x=this.diagram;return x===null||(yo(x,a,y),y.assign(x.Ps(y))),y},Rt.Object.defineProperties(It.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},viewPoint:{get:function(){return this.xu},set:function(a){this.xu.assign(a)}},documentPoint:{get:function(){return this.mt},set:function(a){this.mt.assign(a)}},modifiers:{get:function(){return this.Rq},set:function(a){this.Rq=a}},button:{get:function(){return this.Bp},set:function(a){if(this.Bp=a,this.event===null)switch(a){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2}}},buttons:{get:function(){return this.Cp},set:function(a){this.Cp=a}},key:{get:function(){return this.xq},set:function(a){this.xq=a}},down:{get:function(){return this.Tp},set:function(a){this.Tp=a}},up:{get:function(){return this.Wr},set:function(a){this.Wr=a}},clickCount:{get:function(){return this.Ep},set:function(a){this.Ep=a}},delta:{get:function(){return this.Rp},set:function(a){this.Rp=a}},isMultiTouch:{get:function(){return this.tq},set:function(a){this.tq=a}},handled:{get:function(){return this.nq},set:function(a){this.nq=a}},bubbles:{get:function(){return this.xg},set:function(a){this.xg=a}},event:{get:function(){return this.Zp},set:function(a){this.Zp=a}},isTouchEvent:{get:function(){var a=this.event;return a===null?!1:a.pointerType==="touch"||a.pointerType==="pen"}},timestamp:{get:function(){return this.Rr},set:function(a){this.Rr=a}},targetDiagram:{get:function(){return this.Nr},set:function(a){this.Nr=a}},targetObject:{get:function(){return this.xd},set:function(a){this.xd=a}},control:{get:function(){return(this.modifiers&1)!==0},set:function(a){this.modifiers=a?this.modifiers|1:this.modifiers&-2}},shift:{get:function(){return(this.modifiers&4)!==0},set:function(a){this.modifiers=a?this.modifiers|4:this.modifiers&-5}},alt:{get:function(){return(this.modifiers&2)!==0},set:function(a){this.modifiers=a?this.modifiers|2:this.modifiers&-3}},meta:{get:function(){return(this.modifiers&8)!==0},set:function(a){this.modifiers=a?this.modifiers|8:this.modifiers&-9}},left:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&1)!==0:this.button===0},set:function(a){this.buttons=a?this.buttons|1:this.buttons&-2}},right:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&2)!==0:this.button===2},set:function(a){this.buttons=a?this.buttons|2:this.buttons&-3}},middle:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&4)!==0:this.button===1},set:function(a){this.buttons=a?this.buttons|4:this.buttons&-5}}}),It.prototype.getMultiTouchDocumentPoint=It.prototype.Bz,It.prototype.getMultiTouchViewPoint=It.prototype.So,It.className="InputEvent";function Gt(){this.H=null,this.xa="",this.ar=this.Lr=null}Gt.prototype.copy=function(){var a=new Gt;return a.H=this.H,a.xa=this.xa,a.Lr=this.Lr,a.ar=this.ar,a},Gt.prototype.toString=function(){var a="*"+this.name;return this.subject!==null&&(a+=":"+this.subject.toString()),this.parameter!==null&&(a+="("+this.parameter.toString()+")"),a},Rt.Object.defineProperties(Gt.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},subject:{get:function(){return this.Lr},set:function(a){this.Lr=a}},parameter:{get:function(){return this.ar},set:function(a){this.ar=a}}}),Gt.className="DiagramEvent";function Pn(){this.Fm=Un,this.rf=this.Qq="",this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null}Pn.prototype.clear=function(){this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null},Pn.prototype.copy=function(){var a=new Pn;a.Fm=this.Fm,a.Qq=this.Qq,a.rf=this.rf,a.cc=this.cc,a.H=this.H,a.Qn=this.Qn;var y=this.Sn;return a.Sn=Lt(y)&&typeof y.J=="function"?y.J():y,y=this.Rn,a.Rn=Lt(y)&&typeof y.J=="function"?y.J():y,y=this.Mn,a.Mn=Lt(y)&&typeof y.J=="function"?y.J():y,y=this.Ln,a.Ln=Lt(y)&&typeof y.J=="function"?y.J():y,a},Pn.prototype.qb=function(a){a.classType===Pn&&(this.change=a)},Pn.prototype.toString=function(){var a="";return a=this.change===An?a+"* ":this.change===Un?a+(this.model!==null?"!m":"!d"):a+((this.model!==null?"!m":"!d")+this.change),this.propertyName&&typeof this.propertyName=="string"&&(a+=" "+this.propertyName),this.modelChange&&this.modelChange!==this.propertyName&&(a+=" "+this.modelChange),a+=": ",this.change===An?this.oldValue!==null&&(a+=" "+this.oldValue):(this.object!==null&&(a+=Jr(this.object)),this.oldValue!==null&&(a+=" old: "+Jr(this.oldValue)),this.oldParam!==null&&(a+=" "+this.oldParam),this.newValue!==null&&(a+=" new: "+Jr(this.newValue)),this.newParam!==null&&(a+=" "+this.newParam)),a},Pn.prototype.I=function(a){return a?this.oldValue:this.newValue},Pn.prototype.Dz=function(a){return a?this.oldParam:this.newParam},Pn.prototype.canUndo=function(){return this.model!==null||this.diagram!==null},Pn.prototype.undo=function(){this.canUndo()&&(this.model!==null?this.model.changeState(this,!0):this.diagram!==null&&this.diagram.changeState(this,!0))},Pn.prototype.canRedo=function(){return this.model!==null||this.diagram!==null},Pn.prototype.redo=function(){this.canRedo()&&(this.model!==null?this.model.changeState(this,!1):this.diagram!==null&&this.diagram.changeState(this,!1))},Rt.Object.defineProperties(Pn.prototype,{model:{get:function(){return this.cc},set:function(a){this.cc=a}},diagram:{get:function(){return this.H},set:function(a){this.H=a}},change:{get:function(){return this.Fm},set:function(a){this.Fm=a}},modelChange:{get:function(){return this.Qq},set:function(a){this.Qq=a}},propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},isTransactionFinished:{get:function(){return this.Fm===An&&(this.rf==="CommittedTransaction"||this.rf==="FinishedUndo"||this.rf==="FinishedRedo")}},object:{get:function(){return this.Qn},set:function(a){this.Qn=a}},oldValue:{get:function(){return this.Sn},set:function(a){this.Sn=a}},oldParam:{get:function(){return this.Rn},set:function(a){this.Rn=a}},newValue:{get:function(){return this.Mn},set:function(a){this.Mn=a}},newParam:{get:function(){return this.Ln},set:function(a){this.Ln=a}}}),Pn.prototype.redo=Pn.prototype.redo,Pn.prototype.canRedo=Pn.prototype.canRedo,Pn.prototype.undo=Pn.prototype.undo,Pn.prototype.canUndo=Pn.prototype.canUndo,Pn.prototype.getParam=Pn.prototype.Dz,Pn.prototype.getValue=Pn.prototype.I,Pn.prototype.clear=Pn.prototype.clear;var An=new sn(Pn,"Transaction",-1),Un=new sn(Pn,"Property",0),ti=new sn(Pn,"Insert",1),xi=new sn(Pn,"Remove",2);Pn.className="ChangedEvent",Pn.Transaction=An,Pn.Property=Un,Pn.Insert=ti,Pn.Remove=xi;function $i(){this.o=new ln().freeze(),this.xa="",this.j=!1}$i.prototype.toString=function(a){var y="Transaction: "+this.name+" "+this.changes.count.toString()+(this.isComplete?"":", incomplete");if(a!==void 0&&0y&&a.cd(y,E),y++);for(;a.length>y;)a.pop();a.freeze()}},Rt.Object.defineProperties($i.prototype,{changes:{get:function(){return this.o}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isComplete:{get:function(){return this.j},set:function(a){this.j=a}}}),$i.prototype.optimize=$i.prototype.ak,$i.prototype.redo=$i.prototype.redo,$i.prototype.canRedo=$i.prototype.canRedo,$i.prototype.undo=$i.prototype.undo,$i.prototype.canUndo=$i.prototype.canUndo,$i.prototype.clear=$i.prototype.clear,$i.className="Transaction";function vi(){this.Pt=new Rn,this.Jd=!1,this.u=new ln().freeze(),this.Ce=-1,this.o=999,this.Fe=!1,this.Np=null,this.bi=0,this.j=!1,this.Ie=new ln().freeze(),this.hl=new ln,this.tt=!0,this.Dt=this.rq=this.Gt=this.Ft=!1}vi.prototype.toString=function(a){var y="UndoManager "+this.historyIndex+"<"+this.history.count+"<="+this.maxHistoryLength;y+="[";for(var x=this.nestedTransactionNames.count,E=0;Ea.transactionLevel&&Kn("Ending transaction without having started a transaction: "+x);var E=a.transactionLevel===1,b=a.currentTransaction;E&&y&&(a.isInternalTransaction||a.Ob("CommittingTransaction",x,b));var z=0;if(0=E&&(z=y.M(0),z!==null&&z.clear(),y.mb(0),a.Ce--)),E===0||y.count!==0&&y.get(y.count-1)===b||(y.add(b),a.Ce++),y.freeze()),a.isInternalTransaction||a.Ob("CommittedTransaction",x,b);else{a.Fe=!0;try{a.isEnabled&&b!==null&&(b.isComplete=!0,b.undo())}finally{a.isInternalTransaction||a.Ob("RolledBackTransaction",x,b),a.Fe=!1}b!==null&&b.clear()}return a.Np=null,a.isPendingClear&&a.clear(),a.isPendingClear=!1,a.isPendingUnmodified=!1,!0}if(a.isEnabled&&!y&&b!==null){for(a=z,x=b.changes,b=x.count-1;b>=a;b--)y=x.M(b),y!==null&&y.undo(),x.ka(),x.mb(b);x.freeze()}return!1}Be.lx=function(){if(!this.isUndoingRedoing&&this.canRedo()){var a=this.history;a.ka();for(var y=a.count-1;y>this.historyIndex;y--){var x=a.M(y);x!==null&&x.clear(),a.mb(y),this.rq=!0}a.freeze()}},vi.prototype.canUndo=function(){if(!this.isEnabled||0=this.transactionLevel&&!this.tt&&(a=a.diagram,a!==null&&a.pi===!1||Kn("Change not within a transaction: "+x.toString()))}},vi.prototype.skipsEvent=function(a){if(a===null||0>a.change.value)return!0;if(a=a.object,a===null)return!1;if(a.layer!==void 0){if(a=a.layer,a!==null&&a.isTemporary)return!0}else if(a.isTemporary)return!0;return!1},Rt.Object.defineProperties(vi.prototype,{models:{get:function(){return this.Pt.iterator}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},transactionToUndo:{get:function(){return 0<=this.historyIndex&&this.historyIndex<=this.history.count-1?this.history.M(this.historyIndex):null}},transactionToRedo:{get:function(){return this.historyIndexb||Math.abs(y.y-a.y)>E},Rt.Object.defineProperties(di.prototype,{diagram:{get:function(){return this.H},set:function(a){a instanceof Ht&&(this.H=a)}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},isActive:{get:function(){return this.nb},set:function(a){this.nb=a}},transactionResult:{get:function(){return this.wm},set:function(a){this.wm=a}}}),di.prototype.startTransaction=di.prototype.Ea,di.className="Tool";function Gn(){di.call(this),this.name="ToolManager",this.hb=new ln,this.ob=new ln,this.Hb=new ln,this.F=this.V=850,this.o=new pi(2,2).ja(),this.Ha=5e3,this.ia=cr,this.u=fo,this.Mp=this.j=null,this.zj=-1}_t(Gn,di),Gn.prototype.initializeStandardTools=function(){},Gn.prototype.updateAdornments=function(a){var y=this.currentToolTip;if(y instanceof na&&this.Mp===a){var x=y.adornedObject;(a!==null?x.part===a:x===null)?this.showToolTip(y,x):this.hideToolTip()}},Gn.prototype.doMouseDown=function(){var a=this.diagram,y=a.lastInput;if(y.isTouchEvent&&this.gestureBehavior===vo&&(y.bubbles=!1),y.isMultiTouch){if(this.cancelWaitAfter(),this.gestureBehavior===uo){y.bubbles=!0;return}if(this.gestureBehavior===vo)return;if(a.currentTool.canStartMultiTouch()){a.currentTool.standardPinchZoomStart();return}}for(var x=this.mouseDownTools.length,E=0;Eb.right&&(x.x-=E.width+5/y.scale),x.xb.bottom?x.y-(E.height+5/y.scale):x.y+20/y.scale,x.yx.pointsCount)){var E=a.diagram;if(!E.isReadOnly){var b=a.Oe;if(b!==null){var z=null,ee=null;x.fromNode===null&&(z=ds(a,x.i(0),!1),z!==null&&(ee=z.part));var re=null,oe=null;x.toNode===null&&(re=ds(a,x.i(x.pointsCount-1),!0),re!==null&&(oe=re.part)),b.isValidLink(ee,z,oe,re)?y?(x.defaultFromPoint=x.i(0),x.defaultToPoint=x.i(x.pointsCount-1),x.suspendsRouting=!1,x.fromNode=ee,z!==null&&(x.fromPortId=z.portId),x.toNode=oe,re!==null&&(x.toPortId=re.portId),x.fromPort!==E.Mx&&E.R("LinkRelinked",x,E.Mx),x.toPort!==E.Nx&&E.R("LinkRelinked",x,E.Nx)):Sl(b,ee,z,oe,re):Sl(b,null,null,null,null)}}}}tr.prototype.doDragOver=function(){};function vl(a,y){var x=a.diagram;a.dragsLink&&zs(a,!0),Ro(a);var E=a.findDragOverObject(y),b=x.lastInput;if(b.targetObject=E,E!==null){b.handled=!1;for(var z=E;z!==null;){var ee=z.mouseDrop;if(ee!==null&&(ee(b,z),b.handled))break;yl(a,b,z),z=_s(z)}}else z=x.mouseDrop,z!==null&&z(b);if(a.isActive||Ma!==null){for(b=(a.copiedParts||a.draggedParts).iterator;b.next();)z=b.key,z instanceof Fi&&z.linksConnected.each(function(re){re.suspendsRouting=!1});if(a.doDropOnto(y,E),a.isActive||Ma!==null){for(a=nn.alloc(),y=x.selection.iterator;y.next();)E=y.value,E instanceof Fi&&Nu(x,E,a);nn.free(a)}}}function yl(a,y,x){a=a.diagram,x=x.part,!a.handlesDragDropForTopLevelParts||!x.isTopLevel||x instanceof Gr||(x=a.mouseDrop,x!==null&&x(y))}function Nu(a,y,x){var E=!1;if(x=y.getAvoidableRect(x),a.viewportBounds.Re(x)&&(E=!0),a=a.Nu(x,function(b){return b.part},function(b){return b instanceof ai},!0,function(b){return b instanceof ai},E),a.count!==0)for(a=a.iterator;a.next();)x=a.value,!x.Td(y)&&x.isAvoiding&&x.bb()}tr.prototype.doDropOnto=function(){},tr.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;this.simulatedMouseMove(y.event,y.documentPoint,y.targetDiagram)||this.currentPart===null||this.draggedParts===null||(this.mayCopy()?($a(this,!1),Yo(a,this.copiedParts),es(this,this.copiedParts,!1),ts(a,this.copiedParts)):this.mayMove()?(Ja(this),es(this,this.draggedParts,!0)):this.mayDragOut()?($a(this,!1),es(this,this.copiedParts,!1)):Ja(this),ss(this,a.lastInput.documentPoint))}},tr.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;if(!this.simulatedMouseUp(y.event,y.documentPoint,y.targetDiagram)){y=!1;var x=this.mayCopy();if(x&&this.copiedParts!==null?(Ja(this),$a(this,!0),Yo(a,this.copiedParts),es(this,this.copiedParts,!1),ts(a,this.copiedParts),this.copiedParts!==null&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),this.copiedParts.iteratorKeys.each(function(b){b.isSelected=!0}))):(y=!0,Ja(this),this.mayMove()&&(es(this,this.draggedParts,!0),ss(this,a.lastInput.documentPoint))),this.Ym=!0,vl(this,a.lastInput.documentPoint),this.isActive){var E=x?this.copiedParts.Lf():this.draggedParts.Lf();this.copiedParts=null,y&&Rl(this),a.Ya(),ts(a,this.draggedParts),this.transactionResult=x?"Copy":"Move",a.R(x?"SelectionCopied":"SelectionMoved",E)}this.stopTool(),x&&a.R("ChangedSelection",a.selection)}}},tr.prototype.simulatedMouseMove=function(a,y,x){if(Ma===null)return!1;var E=Ma.diagram;x instanceof Ht||(x=null);var b=Vs;return x!==b&&(b!==null&&b!==E&&(b.ug(),Ma.isDragOutStarted=!1,b=b.toolManager.findTool("Dragging"),b!==null&&b.doSimulatedDragLeave()),Vs=x,x!==null&&x!==E&&(cs(),b=x.toolManager.findTool("Dragging"),b!==null&&(Ca.contains(b)||Ca.add(b),b.doSimulatedDragEnter())),this.doUpdateCursor(null)),x===null||x===E||!x.allowDrop||x.isReadOnly||!x.allowInsert?!1:(E=x.toolManager.findTool("Dragging"),E!==null&&(a!==null&&(a.targetTouches!==void 0&&(0ee&&(ee=se),ce>re&&(re=ce))}}for(E===1/0?z.h(0,0,0,0):z.h(E,b,ee-E,re-b),E=z.x+z.width/2,b=z.y+z.height/2,nn.free(z),z=a.Fr,ee=new gi,re=Ze.alloc(),oe=y.iterator;oe.next();)se=oe.value,se instanceof ai&&se.canCopy()&&(ce=x.I(se),ce!==null&&(ce.points=se.points,zf(ce,z.x-E,z.y-b),ce.suspendsRouting=!0,ee.add(ce,a.Pd())));for(y=y.iterator;y.next();)se=y.value,se.Zc()&&se.canCopy()&&(oe=x.I(se),oe!==null&&(se=se.location,re.h(z.x-(E-se.x),z.y-(b-se.y)),oe.location=re,oe.Va(),ee.add(oe,a.Pd(re))));Ze.free(re),a.copiedParts=ee,ra(a,ee.Lf()),a.draggedLink!==null&&(x=a.draggedLink,y=x.routeBounds,zf(x,a.startPoint.x-(y.x+y.width/2),a.startPoint.y-(y.y+y.height/2))),a.doUpdateCursor(null)}}}tr.prototype.doSimulatedDragOut=function(){var a=this.diagram;a.Ns=!1,this.mayCopy()||this.mayMove()?a.currentCursor="":a.currentCursor=this.nodropCursor,this.Bn=null},tr.prototype.computeMove=function(a,y,x,E){return x=this.diagram,x!==null?x.computeMove(a,y,this.dragOptions,E):new Ze},Rt.Object.defineProperties(tr.prototype,{isCopyEnabled:{get:function(){return this.ob},set:function(a){this.ob=a}},copiesEffectiveCollection:{get:function(){return this.u},set:function(a){this.u=a}},dragOptions:{get:function(){return this.ia},set:function(a){this.ia=a}},isGridSnapEnabled:{get:function(){return this.dragOptions.isGridSnapEnabled},set:function(a){this.dragOptions.isGridSnapEnabled=a}},isComplexRoutingRealtime:{get:function(){return this.hb},set:function(a){this.hb=a}},isGridSnapRealtime:{get:function(){return this.dragOptions.isGridSnapRealtime},set:function(a){this.dragOptions.isGridSnapRealtime=a}},gridSnapCellSize:{get:function(){return this.dragOptions.gridSnapCellSize},set:function(a){this.dragOptions.gridSnapCellSize.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSize=a)}},gridSnapCellSpot:{get:function(){return this.dragOptions.gridSnapCellSpot},set:function(a){this.dragOptions.gridSnapCellSpot.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSpot=a)}},gridSnapOrigin:{get:function(){return this.dragOptions.gridSnapOrigin},set:function(a){this.dragOptions.gridSnapOrigin.D(a)||(a=a.J(),this.dragOptions.gridSnapOrigin=a)}},dragsLink:{get:function(){return this.dragOptions.dragsLink},set:function(a){this.dragOptions.dragsLink=a}},dragsTree:{get:function(){return this.dragOptions.dragsTree},set:function(a){this.dragOptions.dragsTree=a}},copyCursor:{get:function(){return this.F},set:function(a){this.F=a}},moveCursor:{get:function(){return this.Oc},set:function(a){this.Oc=a}},nodropCursor:{get:function(){return this.Pc},set:function(a){this.Pc=a}},currentPart:{get:function(){return this.V},set:function(a){this.V=a}},copiedParts:{get:function(){return this.o},set:function(a){this.o=a}},draggedParts:{get:function(){return this.Ha},set:function(a){this.Ha=a}},draggingParts:{get:function(){return this.copiedParts!==null?this.copiedParts.Lf():this.draggedParts!==null?this.draggedParts.Lf():this.te}},draggedLink:{get:function(){return this.diagram.draggedLink},set:function(a){this.diagram.draggedLink=a}},isDragOutStarted:{get:function(){return this.Hb},set:function(a){this.Hb=a}},startPoint:{get:function(){return this.Fr},set:function(a){this.Fr.D(a)||this.Fr.assign(a)}},delay:{get:function(){return this.Ik},set:function(a){this.Ik=a}}}),tr.prototype.getDraggingSource=tr.prototype.Az;var Ma=null,Vs=null;tr.className="DraggingTool",Ca=new ln,Lo("draggingTool",function(){return this.findTool("Dragging")},function(a){this.gb("Dragging",a,this.mouseMoveTools)}),Gn.prototype.doCancel=function(){Ma!==null&&Ma.doCancel(),di.prototype.doCancel.call(this)};function Pa(){di.call(this),this.te=100,this.Ha=!1,this.u="pointer";var a=new ai,y=new io;y.isPanelMain=!0,y.stroke="blue",a.add(y),y=new io,y.toArrow="Standard",y.fill="blue",y.stroke="blue",a.add(y),a.layerName="Tool",this.Ci=a,a=new Fi,y=new io,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=Ba,a.add(y),a.selectable=!1,a.layerName="Tool",this.Bi=a,this.j=y,a=new Fi,y=new io,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=Ba,a.add(y),a.selectable=!1,a.layerName="Tool",this.Di=a,this.o=y,this.Pc=this.Oc=this.ob=this.hb=this.Hb=null,this.ia=!0,this.hy=new gi,this.Of=this.gj=this.Pf=null}_t(Pa,di),Pa.prototype.doStop=function(){this.diagram.ug(),this.originalToPort=this.originalToNode=this.originalFromPort=this.originalFromNode=this.originalLink=null,this.validPortsCache.clear(),this.targetPort=null},Pa.prototype.copyPortProperties=function(a,y,x,E,b){if(a!==null&&y!==null&&x!==null&&E!==null){var z=y.Df(),ee=pi.alloc();ee.width=y.naturalBounds.width*z,ee.height=y.naturalBounds.height*z,E.desiredSize=ee,pi.free(ee),b?(E.toSpot=y.toSpot,E.toEndSegmentLength=y.toEndSegmentLength):(E.fromSpot=y.fromSpot,E.fromEndSegmentLength=y.fromEndSegmentLength),x.locationSpot=Dr,z=Ze.alloc(),x.location=y.ga(Dr,z),Ze.free(z),E.angle=y.li(),this.portTargeted!==null&&this.portTargeted(a,y,x,E,b)}},Pa.prototype.setNoTargetPortProperties=function(a,y,x){y!==null&&(y.desiredSize=Ba,y.fromSpot=il,y.toSpot=il),a!==null&&(a.location=this.diagram.lastInput.documentPoint),this.portTargeted!==null&&this.portTargeted(null,null,a,y,x)},Pa.prototype.doMouseDown=function(){this.isActive&&this.doMouseMove()},Pa.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram;if(this.targetPort=this.findTargetPort(this.isForwards),this.targetPort!==null&&this.targetPort.part instanceof Fi){var y=this.targetPort.part;this.isForwards?this.copyPortProperties(y,this.targetPort,this.temporaryToNode,this.temporaryToPort,!0):this.copyPortProperties(y,this.targetPort,this.temporaryFromNode,this.temporaryFromPort,!1)}else this.isForwards?this.setNoTargetPortProperties(this.temporaryToNode,this.temporaryToPort,!0):this.setNoTargetPortProperties(this.temporaryFromNode,this.temporaryFromPort,!1);(a.allowHorizontalScroll||a.allowVerticalScroll)&&a.gs(a.lastInput.viewPoint)}},Pa.prototype.findValidLinkablePort=function(a,y){if(a===null)return null;var x=a.part;if(!(x instanceof Fi))return null;for(;a!==null;){var E=y?a.toLinkable:a.fromLinkable;if(E===!0&&(a.portId!==null||a instanceof Fi)&&(y?this.isValidTo(x,a):this.isValidFrom(x,a)))return a;if(E===!1)break;a=a.panel}return null},Pa.prototype.findTargetPort=function(a){var y=this.diagram,x=y.lastInput.documentPoint,E=this.portGravity;0>=E&&(E=.1);var b=this,z=y.og(x,E,function(ge){return b.findValidLinkablePort(ge,a)},null,!0);for(E=1/0,y=null,z=z.iterator;z.next();){var ee=z.value,re=ee.part;if(re instanceof Fi){var oe=ee.ga(Dr,Ze.alloc()),se=x.x-oe.x,ce=x.y-oe.y;Ze.free(oe),oe=se*se+ce*ce,oex){if(this.originalLink!==null&&a===this.originalFromNode&&y===this.originalFromPort)return!0;if(y=y.portId,y===null&&(y=""),a.Mo(y).count>=x)return!1}return!0},Pa.prototype.isValidTo=function(a,y){if(a===null||y===null)return this.isUnconnectedLinkValid;if(this.diagram.currentTool===this&&(a.layer!==null&&!a.layer.allowLink||y.toLinkable!==!0))return!1;var x=y.toMaxLinks;if(1/0>x){if(this.originalLink!==null&&a===this.originalToNode&&y===this.originalToPort)return!0;if(y=y.portId,y===null&&(y=""),a.Sd(y).count>=x)return!1}return!0},Pa.prototype.isInSameNode=function(a,y){return a===null||y===null?!1:a===y?!0:(a=a.part,y=y.part,a!==null&&a===y)},Pa.prototype.isLinked=function(a,y){if(a===null||y===null)return!1;var x=a.part;if(!(x instanceof Fi))return!1;a=a.portId,a===null&&(a="");var E=y.part;if(!(E instanceof Fi))return!1;for(y=y.portId,y===null&&(y=""),y=E.Sd(y);y.next();)if(E=y.value,E.fromNode===x&&E.fromPortId===a)return!0;return!1},Pa.prototype.isValidLink=function(a,y,x,E){if(!this.isValidFrom(a,y)||!this.isValidTo(x,E)||!(y===null||E===null||(y.fromLinkableSelfNode&&E.toLinkableSelfNode||!this.isInSameNode(y,E))&&(y.fromLinkableDuplicates&&E.toLinkableDuplicates||!this.isLinked(y,E)))||this.originalLink!==null&&(a!==null&&this.isLabelDependentOnLink(a,this.originalLink)||x!==null&&this.isLabelDependentOnLink(x,this.originalLink))||a!==null&&x!==null&&(a.data===null&&x.data!==null||a.data!==null&&x.data===null)||!this.isValidCycle(a,x,this.originalLink))return!1;if(a!==null){var b=a.linkValidation;if(b!==null&&!b(a,y,x,E,this.originalLink))return!1}return x!==null&&(b=x.linkValidation,b!==null&&!b(a,y,x,E,this.originalLink))?!1:(b=this.linkValidation,b!==null?b(a,y,x,E,this.originalLink):!0)},Pa.prototype.isLabelDependentOnLink=function(a,y){if(a===null)return!1;var x=a.labeledLink;if(x===null)return!1;if(x===y)return!0;var E=new Rn;return E.add(a),Bs(this,x,y,E)};function Bs(a,y,x,E){if(y===x)return!0;var b=y.fromNode;return b!==null&&b.isLinkLabel&&(E.add(b),Bs(a,b.labeledLink,x,E))?!0:(y=y.toNode,!!(y!==null&&y.isLinkLabel&&(E.add(y),Bs(a,y.labeledLink,x,E))))}Pa.prototype.isValidCycle=function(a,y,x){if(x===void 0&&(x=null),a===null||y===null)return this.isUnconnectedLinkValid;var E=this.diagram.validCycle;if(E!==Vd){if(E===ng){if(E=x||this.temporaryLink,E!==null&&!E.isTreeLink)return!0;for(E=y.linksConnected;E.next();){var b=E.value;if(b!==x&&b.isTreeLink&&b.toNode===y)return!1}return!As(this,a,y,x,!0)}if(E===Nf){if(E=x||this.temporaryLink,E!==null&&!E.isTreeLink)return!0;for(E=a.linksConnected;E.next();)if(b=E.value,b!==x&&b.isTreeLink&&b.fromNode===a)return!1;return!As(this,a,y,x,!0)}if(E===of)return a===y?a=!0:(E=new Rn,E.add(y),a=Gs(this,E,a,y,x)),!a;if(E===bu)return!As(this,a,y,x,!1);if(E===Ef)return a===y?a=!0:(E=new Rn,E.add(y),a=Tu(this,E,a,y,x)),!a}return!0};function As(a,y,x,E,b){if(y===x)return!0;if(y===null||x===null)return!1;for(var z=y.linksConnected;z.next();){var ee=z.value;if(ee!==E&&(!b||ee.isTreeLink)&&ee.toNode===y&&(ee=ee.fromNode,ee!==y&&As(a,ee,x,E,b)))return!0}return!1}function Gs(a,y,x,E,b){if(x===E)return!0;if(x===null||E===null||y.contains(x))return!1;y.add(x);for(var z=x.linksConnected;z.next();){var ee=z.value;if(ee!==b&&ee.toNode===x&&(ee=ee.fromNode,ee!==x&&Gs(a,y,ee,E,b)))return!0}return!1}function Tu(a,y,x,E,b){if(x===E)return!0;if(x===null||E===null||y.contains(x))return!1;y.add(x);for(var z=x.linksConnected;z.next();){var ee=z.value;if(ee!==b){var re=ee.fromNode;if(ee=ee.toNode,re=re===x?ee:re,re!==x&&Tu(a,y,re,E,b))return!0}}return!1}Rt.Object.defineProperties(Pa.prototype,{portGravity:{get:function(){return this.te},set:function(a){0<=a&&(this.te=a)}},isUnconnectedLinkValid:{get:function(){return this.Ha},set:function(a){this.Ha=a}},linkingCursor:{get:function(){return this.u},set:function(a){this.u=a}},temporaryLink:{get:function(){return this.Ci},set:function(a){this.Ci=a}},temporaryFromNode:{get:function(){return this.Bi},set:function(a){(this.Bi=a)&&(this.j=a.port)}},temporaryFromPort:{get:function(){return this.j},set:function(a){if(this.j!==null){var y=this.j.panel;if(y!==null){var x=y.O.indexOf(this.j);y.mb(x),y.Gb(x,a)}}this.j=a}},temporaryToNode:{get:function(){return this.Di},set:function(a){(this.Di=a)&&(this.o=a.port)}},temporaryToPort:{get:function(){return this.o},set:function(a){if(this.o!==null){var y=this.o.panel;if(y!==null){var x=y.O.indexOf(this.o);y.mb(x),y.Gb(x,a)}}this.o=a}},originalLink:{get:function(){return this.Hb},set:function(a){this.Hb=a}},originalFromNode:{get:function(){return this.hb},set:function(a){this.hb=a}},originalFromPort:{get:function(){return this.ob},set:function(a){this.ob=a}},originalToNode:{get:function(){return this.Oc},set:function(a){this.Oc=a}},originalToPort:{get:function(){return this.Pc},set:function(a){this.Pc=a}},isForwards:{get:function(){return this.ia},set:function(a){this.ia=a}},validPortsCache:{get:function(){return this.hy}},targetPort:{get:function(){return this.Pf},set:function(a){this.Pf=a}},linkValidation:{get:function(){return this.gj},set:function(a){this.gj=a}},portTargeted:{get:function(){return this.Of},set:function(a){this.Of=a}}}),Pa.className="LinkingBaseTool";function sa(){Pa.call(this),this.name="Linking",this.V={},this.F=null,this.K=Ys,this.Xd=null}_t(sa,Pa),sa.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return a.isReadOnly||a.isModelReadOnly||!a.allowLink||!a.model.xs()||!a.lastInput.left||a.currentTool!==this&&!this.isBeyondDragSize()?!1:this.findLinkablePort()!==null},sa.prototype.findLinkablePort=function(){var a=this.diagram,y=this.startObject;if(y===null&&(y=a.ic(a.firstInput.documentPoint,null,null)),y===null||(a=y.part,!(a instanceof Fi)))return null;var x=this.direction;if(x===Ys||x===Dl){var E=this.findValidLinkablePort(y,!1);if(E!==null||this.startObject===a&&(E=a.port,this.findValidLinkablePort(E,!1)))return this.isForwards=!0,E}return(x===Ys||x===su)&&(y=this.findValidLinkablePort(y,!0),y!==null||this.startObject===a&&(y=a.port,this.findValidLinkablePort(y,!0)))?(this.isForwards=!1,y):null},sa.prototype.doActivate=function(){var a=this.diagram,y=this.findLinkablePort();y===null?this.stopTool():(this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.isForwards?(this.temporaryToNode!==null&&(this.temporaryToNode.location=a.lastInput.documentPoint),this.originalFromPort=y,y=this.originalFromPort.part,y instanceof Fi&&(this.originalFromNode=y),this.copyPortProperties(this.originalFromNode,this.originalFromPort,this.temporaryFromNode,this.temporaryFromPort,!1)):(this.temporaryFromNode!==null&&(this.temporaryFromNode.location=a.lastInput.documentPoint),this.originalToPort=y,y=this.originalToPort.part,y instanceof Fi&&(this.originalToNode=y),this.copyPortProperties(this.originalToNode,this.originalToPort,this.temporaryToNode,this.temporaryToPort,!0)),a.add(this.temporaryFromNode),this.temporaryFromNode&&this.temporaryFromNode.Va(),a.add(this.temporaryToNode),this.temporaryToNode&&this.temporaryToNode.Va(),this.temporaryLink!==null&&(this.temporaryFromNode!==null&&(this.temporaryLink.fromNode=this.temporaryFromNode),this.temporaryToNode!==null&&(this.temporaryLink.toNode=this.temporaryToNode),this.temporaryLink.isTreeLink=this.isNewTreeLink(),this.temporaryLink.bb(),a.add(this.temporaryLink)),this.isActive=!0)},sa.prototype.doDeactivate=function(){this.isActive=!1;var a=this.diagram;a.remove(this.temporaryLink),a.remove(this.temporaryFromNode),a.remove(this.temporaryToNode),a.isMouseCaptured=!1,a.currentCursor="",this.stopTransaction()},sa.prototype.doStop=function(){Pa.prototype.doStop.call(this),this.startObject=null},sa.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=this.transactionResult=null,x=null,E=null,b=null,z=null;try{var ee=this.targetPort=this.findTargetPort(this.isForwards);if(ee!==null){var re=ee.part;re instanceof Fi&&(this.isForwards?(this.originalFromNode!==null&&(y=this.originalFromNode,x=this.originalFromPort),E=re,b=ee):(y=re,x=ee,this.originalToNode!==null&&(E=this.originalToNode,b=this.originalToPort)))}else this.isForwards?this.originalFromNode!==null&&this.isUnconnectedLinkValid&&(y=this.originalFromNode,x=this.originalFromPort):this.originalToNode!==null&&this.isUnconnectedLinkValid&&(E=this.originalToNode,b=this.originalToPort);y!==null||E!==null?(z=this.insertLink(y,x,E,b),z!==null?(ee===null&&(this.isForwards?z.defaultToPoint=a.lastInput.documentPoint:z.defaultFromPoint=a.lastInput.documentPoint),a.allowSelect&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),z.isSelected=!0),this.transactionResult=this.name,a.R("LinkDrawn",z)):this.doNoLink(y,x,E,b)):this.isForwards?this.doNoLink(this.originalFromNode,this.originalFromPort,null,null):this.doNoLink(null,null,this.originalToNode,this.originalToPort)}finally{this.stopTool(),z&&a.allowSelect&&a.R("ChangedSelection",a.selection)}}},sa.prototype.isNewTreeLink=function(){var a=this.archetypeLinkData;if(a===null)return!0;if(a instanceof ai)return a.isTreeLink;var y=this.diagram;return y===null?!0:(a=y.partManager.getLinkCategoryForData(a),y=y.partManager.findLinkTemplateForCategory(a),y!==null?y.isTreeLink:!0)},sa.prototype.insertLink=function(a,y,x,E){return this.diagram.partManager.insertLink(a,y,x,E)},sa.prototype.doNoLink=function(){},Rt.Object.defineProperties(sa.prototype,{archetypeLinkData:{get:function(){return this.V},set:function(a){this.V=a}},archetypeLabelNodeData:{get:function(){return this.F},set:function(a){this.F=a}},direction:{get:function(){return this.K},set:function(a){this.K=a}},startObject:{get:function(){return this.Xd},set:function(a){this.Xd=a}}});var Ys=new sn(sa,"Either",0),Dl=new sn(sa,"ForwardsOnly",0),su=new sn(sa,"BackwardsOnly",0);sa.className="LinkingTool",sa.Either=Ys,sa.ForwardsOnly=Dl,sa.BackwardsOnly=su;function pa(){Pa.call(this),this.name="Relinking";var a=new io;a.figure="Diamond",a.desiredSize=Xa,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=0,this.V=a,a=new io,a.figure="Diamond",a.desiredSize=Xa,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=-1,this.Xd=a,this.F=null,this.Ew=new nn}_t(pa,Pa),pa.prototype.updateAdornments=function(a){if(a!==null&&a instanceof ai){var y="RelinkFrom",x=null;if(a.isSelected&&!this.diagram.isReadOnly){var E=a.selectionObject;E!==null&&a.canRelinkFrom()&&a.actualBounds.w()&&a.isVisible()&&E.actualBounds.w()&&E.Ed()&&(x=a.Pj(y),x===null&&(x=this.makeAdornment(E,!1),a.bh(y,x)))}x===null&&a.Jf(y),y="RelinkTo",x=null,a.isSelected&&!this.diagram.isReadOnly&&(E=a.selectionObject,E!==null&&a.canRelinkTo()&&a.actualBounds.w()&&a.isVisible()&&E.actualBounds.w()&&E.Ed()&&(x=a.Pj(y),x===null?(x=this.makeAdornment(E,!0),a.bh(y,x)):x.v())),x===null&&a.Jf(y)}},pa.prototype.makeAdornment=function(a,y){var x=new na;return x.type=$n.Link,y=y?this.toHandleArchetype:this.fromHandleArchetype,y!==null&&x.add(y.copy()),x.adornedObject=a,x},pa.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowRelink||!a.model.xs()||!a.lastInput.left)return!1;var y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom");return y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo")),y!==null},pa.prototype.doActivate=function(){var a=this.diagram;if(this.originalLink===null){var y=this.handle;if(y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom"),y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo"))),y===null)return;var x=y.part;if(!(x instanceof na&&x.adornedPart instanceof ai))return;this.handle=y,this.isForwards=x===null||x.category==="RelinkTo",this.originalLink=x.adornedPart}this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.originalFromPort=this.originalLink.fromPort,this.originalFromNode=this.originalLink.fromNode,this.originalToPort=this.originalLink.toPort,this.originalToNode=this.originalLink.toNode,this.Ew.set(this.originalLink.actualBounds),this.originalLink!==null&&0y.firstPickIndex+1&&x=x.x)y=0>=x.y?y+225:1<=x.y?y+135:y+180;else if(1<=x.x)0>=x.y?y+=315:1<=x.y&&(y+=45);else if(0>=x.y)y+=270;else if(1<=x.y)y+=90;else break e;0>y?y+=360:360<=y&&(y-=360),a.cursor=22.5>y?"e-resize":67.5>y?"se-resize":112.5>y?"s-resize":157.5>y?"sw-resize":202.5>y?"w-resize":247.5>y?"nw-resize":292.5>y?"n-resize":337.5>y?"ne-resize":"e-resize"}else if(a instanceof $n)for(a=a.elements;a.next();)this.updateResizeHandles(a.value,y)}},xl.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return!a.isReadOnly&&a.allowResize&&a.lastInput.left?this.findToolHandleAt(a.firstInput.documentPoint,this.name)!==null:!1},xl.prototype.doActivate=function(){var a=this.diagram;this.handle===null&&(this.handle=this.findToolHandleAt(a.firstInput.documentPoint,this.name)),this.handle!==null&&(this.adornedObject=this.handle.part.adornedObject,this.adornedObject!==null&&(a.isMouseCaptured=!0,a.animationManager.Cc(),this.Ea(this.name),this.Xq.set(this.adornedObject.ga(this.handle.alignment.gv())),this.Tn.set(this.adornedObject.part.location),this.Dw.set(this.adornedObject.desiredSize),this.pt=this.computeCellSize(),this.rt=this.computeMinSize(),this.qt=this.computeMaxSize(),this.isActive=!0))},xl.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.isActive=a.isMouseCaptured=!1},xl.prototype.stopTransaction=function(){var a=this.diagram,y=di.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},xl.prototype.doCancel=function(){this.adornedObject!==null&&(this.adornedObject.desiredSize=this.originalDesiredSize,this.adornedObject.part.location=this.originalLocation),this.stopTool()},xl.prototype.doMouseMove=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,E=this.pt,b=this.adornedObject.qs(a.lastInput.documentPoint,Ze.alloc()),z=this.computeReshape();y=this.computeResize(b,this.handle.alignment,y,x,E,z),this.resize(y),a.bd(),Ze.free(b)}},xl.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,E=this.pt,b=this.adornedObject.qs(a.lastInput.documentPoint,Ze.alloc()),z=this.computeReshape();y=this.computeResize(b,this.handle.alignment,y,x,E,z),this.resize(y),Ze.free(b),a.Ya(),this.transactionResult=this.name,a.R("PartResized",this.adornedObject,this.originalDesiredSize)}this.stopTool()},xl.prototype.resize=function(a){var y=this.diagram,x=this.adornedObject;if(x!==null){if(x.desiredSize=a.size,a=x.part,a.Va(),x=x.ga(this.handle.alignment.gv()),a instanceof Gr){var E=new ln;if(E.add(a),!this.dragsMembers&&a.placeholder===null){var b=new ae;b.dragsMembers=!1}y.moveParts(E,this.oppositePoint.copy().re(x),!0,b)}else a.location=a.location.copy().re(x).add(this.oppositePoint);y.bd()}},xl.prototype.computeResize=function(a,y,x,E,b,z){y.Mc()&&(y=Dr);var ee=this.adornedObject.naturalBounds,re=ee.x,oe=ee.y,se=ee.x+ee.width,ce=ee.y+ee.height,ge=1;if(!z){ge=ee.width;var Se=ee.height;0>=ge&&(ge=1),0>=Se&&(Se=1),ge=Se/ge}return Se=Ze.alloc(),Bt.No(a.x,a.y,re,oe,b.width,b.height,Se),a=ee.copy(),0>=y.x?0>=y.y?(a.x=Math.max(Se.x,se-E.width),a.x=Math.min(a.x,se-x.width),a.width=Math.max(se-a.x,x.width),a.y=Math.max(Se.y,ce-E.height),a.y=Math.min(a.y,ce-x.height),a.height=Math.max(ce-a.y,x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ge*a.width,E.height),x.height),a.width=a.height/ge):(a.width=Math.max(Math.min(a.height/ge,E.width),x.width),a.height=ge*a.width),a.x=se-a.width,a.y=ce-a.height)):1<=y.y?(a.x=Math.max(Se.x,se-E.width),a.x=Math.min(a.x,se-x.width),a.width=Math.max(se-a.x,x.width),a.height=Math.max(Math.min(Se.y-oe,E.height),x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ge*a.width,E.height),x.height),a.width=a.height/ge):(a.width=Math.max(Math.min(a.height/ge,E.width),x.width),a.height=ge*a.width),a.x=se-a.width)):(a.x=Math.max(Se.x,se-E.width),a.x=Math.min(a.x,se-x.width),a.width=se-a.x,z||(a.height=Math.max(Math.min(ge*a.width,E.height),x.height),a.width=a.height/ge,a.y=oe+.5*(ce-oe-a.height))):1<=y.x?0>=y.y?(a.width=Math.max(Math.min(Se.x-re,E.width),x.width),a.y=Math.max(Se.y,ce-E.height),a.y=Math.min(a.y,ce-x.height),a.height=Math.max(ce-a.y,x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ge*a.width,E.height),x.height),a.width=a.height/ge):(a.width=Math.max(Math.min(a.height/ge,E.width),x.width),a.height=ge*a.width),a.y=ce-a.height)):1<=y.y?(a.width=Math.max(Math.min(Se.x-re,E.width),x.width),a.height=Math.max(Math.min(Se.y-oe,E.height),x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ge*a.width,E.height),x.height),a.width=a.height/ge):(a.width=Math.max(Math.min(a.height/ge,E.width),x.width),a.height=ge*a.width))):(a.width=Math.max(Math.min(Se.x-re,E.width),x.width),z||(a.height=Math.max(Math.min(ge*a.width,E.height),x.height),a.width=a.height/ge,a.y=oe+.5*(ce-oe-a.height))):0>=y.y?(a.y=Math.max(Se.y,ce-E.height),a.y=Math.min(a.y,ce-x.height),a.height=ce-a.y,z||(a.width=Math.max(Math.min(a.height/ge,E.width),x.width),a.height=ge*a.width,a.x=re+.5*(se-re-a.width))):1<=y.y&&(a.height=Math.max(Math.min(Se.y-oe,E.height),x.height),z||(a.width=Math.max(Math.min(a.height/ge,E.width),x.width),a.height=ge*a.width,a.x=re+.5*(se-re-a.width))),Ze.free(Se),a},xl.prototype.computeReshape=function(){var a=In;return this.adornedObject instanceof io&&(a=Uv(this.adornedObject)),!(a===Ui||this.diagram.lastInput.shift)},xl.prototype.computeMinSize=function(){var a=this.adornedObject.minSize.copy(),y=this.minSize;return!isNaN(y.width)&&y.width>a.width&&(a.width=y.width),!isNaN(y.height)&&y.height>a.height&&(a.height=y.height),a},xl.prototype.computeMaxSize=function(){var a=this.adornedObject.maxSize.copy(),y=this.maxSize;return!isNaN(y.width)&&y.widthx?x+=360:360<=x&&(x-=360),x=Math.round(45*Math.round(x/45));var E=this.handleDistance;return x===0?y.x=a.naturalBounds.width+E:x===45?(y.x=a.naturalBounds.width+E,y.y=a.naturalBounds.height+E):x===90?y.y=a.naturalBounds.height+E:x===135?(y.x=-E,y.y=a.naturalBounds.height+E):x===180?y.x=-E:x===225?(y.x=-E,y.y=-E):x===270?y.y=-E:x===315&&(y.x=a.naturalBounds.width+E,y.y=-E),a.ga(y)},Ns.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.kr=new Ze(NaN,NaN),this.isActive=a.isMouseCaptured=!1},Ns.prototype.stopTransaction=function(){var a=this.diagram,y=di.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},Ns.prototype.doCancel=function(){this.diagram.delaysLayout=!1,this.rotate(this.originalAngle),this.stopTool()},Ns.prototype.doMouseMove=function(){var a=this.diagram;this.isActive&&(a=this.computeRotate(a.lastInput.documentPoint),this.rotate(a))},Ns.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){a.delaysLayout=!1;var y=this.computeRotate(a.lastInput.documentPoint);this.rotate(y),a.Ya(),this.transactionResult=this.name,a.R("PartRotated",this.adornedObject,this.originalAngle)}this.stopTool()},Ns.prototype.rotate=function(a){var y=this.adornedObject;if(y!==null){y.angle=a,y=y.part,y.Va();var x=y.locationObject,E=y.rotateObject;(x===E||x.rg(E))&&(x=this.Tn.copy(),y.location=x.re(this.rotationPoint).rotate(a-this.originalAngle).add(this.rotationPoint)),this.diagram.bd()}},Ns.prototype.computeRotate=function(a){a=this.rotationPoint.ab(a)-this.handleAngle;var y=this.adornedObject.panel;y!==null&&(a-=y.li()),360<=a?a-=360:0>a&&(a+=360),y=Math.min(Math.abs(this.snapAngleMultiple),180);var x=Math.min(Math.abs(this.snapAngleEpsilon),y/2);return!this.diagram.lastInput.shift&&0y-x&&(a=(Math.floor(a/y)+1)*y)),360<=a?a-=360:0>a&&(a+=360),a},Rt.Object.defineProperties(Ns.prototype,{handleArchetype:{get:function(){return this.o},set:function(a){this.o=a}},handle:{get:function(){return this.j},set:function(a){if(a!==null&&!(a.part instanceof na))throw Error("new handle is not in an Adornment: "+a);this.j=a}},adornedObject:{get:function(){return this.ue},set:function(a){if(a!==null&&a.part instanceof na)throw Error("new handle must not be in an Adornment: "+a);this.ue=a}},snapAngleMultiple:{get:function(){return this.ia},set:function(a){this.ia=a}},snapAngleEpsilon:{get:function(){return this.V},set:function(a){this.V=a}},originalAngle:{get:function(){return this.Cw}},rotationPoint:{get:function(){return this.kr},set:function(a){this.kr=a.copy()}},handleAngle:{get:function(){return this.u},set:function(a){this.u=a}},handleDistance:{get:function(){return this.F},set:function(a){this.F=a}}}),Ns.className="RotatingTool",Lo("rotatingTool",function(){return this.findTool("Rotating")},function(a){this.gb("Rotating",a,this.mouseDownTools)});function Ou(){di.call(this),this.name="ClickSelecting"}_t(Ou,di),Ou.prototype.canStart=function(){return!(!this.isEnabled||this.isBeyondDragSize())},Ou.prototype.doMouseUp=function(){this.isActive&&(this.standardMouseSelect(),!this.standardMouseClick()&&this.diagram.lastInput.isTouchEvent&&this.diagram.toolManager.doToolTip()),this.stopTool()},Ou.className="ClickSelectingTool";function wa(){di.call(this),this.name="Action",this.pk=null}_t(wa,di),wa.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram,y=a.lastInput,x=a.ic(y.documentPoint,function(E){for(;E.panel!==null&&!E.isActionable;)E=E.panel;return E});return x!==null&&x.isActionable?(this.pk=x,a.Ck=a.ic(y.documentPoint,null,null),!0):!1},wa.prototype.doMouseDown=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionDown!==null&&y.actionDown(a,y))}else this.canStart()&&this.doActivate()},wa.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionMove!==null&&y.actionMove(a,y))}},wa.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;if(y===null)return;a.targetObject=y,y.actionUp!==null&&y.actionUp(a,y),this.standardMouseClick(function(x){for(;x.panel!==null&&(!x.isActionable||x!==y);)x=x.panel;return x},function(x){return x===y})}this.stopTool()},wa.prototype.doCancel=function(){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionCancel!==null&&y.actionCancel(a,y),this.stopTool())},wa.prototype.doStop=function(){this.pk=null},wa.className="ActionTool";function gc(){di.call(this),this.name="ClickCreating",this.Ri=null,this.o=!0,this.j=!1,this.mw=new Ze(0,0)}_t(gc,di),gc.prototype.canStart=function(){if(!this.isEnabled||this.archetypeNodeData===null)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowInsert||!a.lastInput.left||this.isBeyondDragSize())return!1;if(this.isDoubleClick){if(a.lastInput.clickCount===1&&(this.mw=a.lastInput.viewPoint.copy()),a.lastInput.clickCount!==2||this.isBeyondDragSize(this.mw))return!1}else if(a.lastInput.clickCount!==1)return!1;return!(a.currentTool!==this&&a.Ol(a.lastInput.documentPoint,!0)!==null)},gc.prototype.doMouseUp=function(){var a=this.diagram;this.isActive&&this.insertPart(a.lastInput.documentPoint),this.stopTool()},gc.prototype.insertPart=function(a){var y=this.diagram,x=this.archetypeNodeData;if(x===null)return null;var E=null;try{if(y.R("ChangingSelection",y.selection),this.Ea(this.name),x instanceof ar)x.Zc()&&(Zd(x),E=x.copy(),E!==null&&y.add(E));else if(x!==null){var b=y.model.copyNodeData(x);Lt(b)&&(y.model.xf(b),E=y.Lc(b))}if(E!==null){var z=Ze.allocAt(a.x,a.y);this.isGridSnapEnabled&&Wa(this.diagram,E,a,z),E.location=z,y.allowSelect&&(y.clearSelection(!0),E.isSelected=!0),Ze.free(z)}y.Ya(),this.transactionResult=this.name,y.R("PartCreated",E)}finally{this.stopTransaction(),y.R("ChangedSelection",y.selection)}return E},Rt.Object.defineProperties(gc.prototype,{archetypeNodeData:{get:function(){return this.Ri},set:function(a){this.Ri=a}},isDoubleClick:{get:function(){return this.o},set:function(a){this.o=a}},isGridSnapEnabled:{get:function(){return this.j},set:function(a){this.j=a}}}),gc.className="ClickCreatingTool";function eu(){di.call(this),this.name="DragSelecting",this.Ik=175,this.o=!1;var a=new ar;a.layerName="Tool",a.selectable=!1;var y=new io;y.name="SHAPE",y.figure="Rectangle",y.fill=null,y.stroke="magenta",a.add(y),this.j=a}_t(eu,di),eu.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(!a.allowSelect)return!1;var y=a.lastInput;return!(!y.left||a.currentTool!==this&&(!this.isBeyondDragSize()||y.timestamp-a.firstInput.timestampb.right&&(x.x-=E.width+5/y.scale),x.xb.bottom&&(x.y-=E.height+5/y.scale),x.ya.lastInput.clickCount)):!1},ha.prototype.doStart=function(){Zc=this,this.textBlock!==null&&this.doActivate()},ha.prototype.doActivate=function(){if(!this.isActive){var a=this.diagram;if(a!==null){var y=this.textBlock;if(y===null&&(y=a.ic(a.lastInput.documentPoint)),y!==null&&y instanceof os&&(this.textBlock=y,y.part!==null)){a.animationManager.Cc(),this.isActive=!0,this.qa=Qa;var x=this.defaultTextEditor;y.textEditor!==null&&(x=y.textEditor),this.Zh=this.textBlock.copy();var E=new nn(this.textBlock.ga(bl),this.textBlock.ga(hu));a.tv(E),x.show(y,a,this),this.currentTextEditor=x}}}},ha.prototype.doCancel=function(){this.stopTool()},ha.prototype.doMouseUp=function(){this.canStart()&&this.doActivate()},ha.prototype.doMouseDown=function(){this.isActive&&this.acceptText(nu)},ha.prototype.acceptText=function(a){switch(a){case nu:this.qa===dd?this.currentTextEditor instanceof HTMLElement&&this.currentTextEditor.focus():(this.qa===Qa||this.qa===td||this.qa===rl)&&(this.qa=oc,Mc(this));break;case Ju:case mc:case pc:(mc!==a||this.textBlock.isMultiline!==!0)&&(this.qa===Qa||this.qa===td||this.qa===rl)&&(this.qa=oc,Mc(this))}};function Mc(a){var y=a.textBlock,x=a.diagram,E=a.currentTextEditor;if(y!==null&&E!==null){var b=y.text,z="";E.valueFunction!==null&&(z=E.valueFunction()),a.isValidText(y,b,z)?(a.Ea(a.name),a.qa=dd,a.transactionResult=a.name,y.text=z,a.doSuccess(b,z),x!==null&&x.R("TextEdited",y,b),a.stopTransaction(),a.stopTool(),x!==null&&x.doFocus()):(a.qa=td,a.doError(b,z))}}ha.prototype.doError=function(a,y){var x=this.textBlock;x.errorFunction!==null&&x.errorFunction(this,a,y),(a=this.currentTextEditor)&&a.show(x,this.diagram,this)},ha.prototype.doSuccess=function(a,y){var x=this.textBlock;x.textEdited!==null&&x.textEdited(x,a,y)},ha.prototype.doDeactivate=function(){var a=this.diagram;a!==null&&(this.qa=Ao,this.currentTextEditor!==null&&this.currentTextEditor.hide(a,this),this.textBlock=null,this.isActive=!1)},ha.prototype.doStop=function(){Zc=null},ha.prototype.isValidText=function(a,y,x){var E=this.textValidation;return E!==null&&!E(a,y,x)?!1:(E=a.textValidation,!!(E===null||E(a,y,x)))},ha.prototype.Lx=function(a){var y=this.Zh;return y.text=a,y.measure(this.textBlock.Ih,1/0),y},Rt.Object.defineProperties(ha.prototype,{textBlock:{get:function(){return this.ia},set:function(a){this.ia=a}},currentTextEditor:{get:function(){return this.o},set:function(a){this.o=a}},defaultTextEditor:{get:function(){return this.j},set:function(a){this.j=a}},starting:{get:function(){return this.V},set:function(a){this.V=a}},textValidation:{get:function(){return this.vj},set:function(a){this.vj=a}},minimumEditorScale:{get:function(){return this.u},set:function(a){this.u=a}},selectsTextOnActivate:{get:function(){return this.F},set:function(a){this.F=a}},state:{get:function(){return this.qa},set:function(a){this.qa!==a&&(this.qa=a)}}}),ha.prototype.measureTemporaryTextBlock=ha.prototype.Lx;var Ju=new sn(ha,"LostFocus",0),nu=new sn(ha,"MouseDown",1),pc=new sn(ha,"Tab",2),mc=new sn(ha,"Enter",3),fh=new sn(ha,"SingleClick",0),kc=new sn(ha,"SingleClickSelected",1),Sa=new sn(ha,"DoubleClick",2),Ao=new sn(ha,"StateNone",0),Qa=new sn(ha,"StateActive",1),rl=new sn(ha,"StateEditing",2),oc=new sn(ha,"StateValidating",3),td=new sn(ha,"StateInvalid",4),dd=new sn(ha,"StateValidated",5),Zc=null;ha.className="TextEditingTool",ha.LostFocus=Ju,ha.MouseDown=nu,ha.Tab=pc,ha.Enter=mc,ha.SingleClick=fh,ha.SingleClickSelected=kc,ha.DoubleClick=Sa,ha.StateNone=Ao,ha.StateActive=Qa,ha.StateEditing=rl,ha.StateValidating=oc,ha.StateInvalid=td,ha.StateValidated=dd,Lo("textEditingTool",function(){return this.findTool("TextEditing")},function(a){this.gb("TextEditing",a,this.mouseUpTools)});function Hl(a){pu||(ol(),pu=!0),this.H=st,this.Ok=this.zb=this.vq=this.bc=!1,this.Qw=!0,this.Pk=Na,this.Dm=!1,this.Gh=this.Jd=!0,this.Dg=600,this.cw=this.Ow=!1,this.Zd=new Rn,this.ce=new iu,this.ce.Yd=this,this.Ei=new Rn,this.pu=new Rn,this.Sr=new Rn,this.pr=new Rn,a&&Object.assign(this,a)}Hl.prototype.Xe=function(a){this.H=a},Hl.prototype.canStart=function(){return!0};function ka(a,y){a.Jd&&a.canStart(y)&&(a.Zd.add(y),a.defaultAnimation.isAnimating&&a.Cc(),Xo(a.H),a.zb=!0)}function Ra(a){if(a.Jd&&a.zb){var y=a.ce,x=a.H,E=a.Zd.contains("Model");E&&(a.Ok=!0,a.Pk===Na?(y.isViewportUnconstrained=!0,y.vc.clear(),y.add(x,"position",x.position.copy().offset(0,-200),x.position),y.add(x,"opacity",0,1)):a.Pk===gh&&y.vc.clear(),a.Qw=!!(a.Pk===eh&&x.du.D(x.pa)),x.R("InitialAnimationStarting",a)),E&&!a.Gh||y.vc.count===0?(a.Zd.clear(),a.zb=!1,y.vc.clear(),th(y,x),a.Ok=!1,x.N()):(a.Zd.clear(),x.kg=!1,E=y.vc.get(x),x.autoScale!==Us&&E!==null&&(delete E.start.scale,delete E.end.scale),Zn.requestAnimationFrame(function(){a.zb===!1||y.bc||(x.Gf("temporaryPixelRatio")&&Ei(x),bi(x),a.zb=!1,y.start(),y.bc&&(qu(a),x.Ya(),nf(y,0),Qn(x,!0),$u(a),x.R("AnimationStarting",a)))}))}}function vc(a){return a.Zd.contains("Trigger")&&a.Zd.count===1}function ac(a,y,x,E){a.isTicking||vc(a)||y instanceof ai&&(y.fromNode!==null||y.toNode!==null)||a.ce.add(y,"position",x,E,!1)}Be=Hl.prototype,Be.fv=function(a){return this.ce.fv(a)},Be.Xu=function(a){return this.ce.Xu(a)};function hd(a,y){function x(){if(0z?z+=360:oe+=360),z=b(x,z,oe-z,E)%360,ee=b(x,ee,se-ee,E),re=b(x,re,ce-re,E),x=b(x,a,y-a,E),"hsla("+z+", "+ee+"%, "+re+"%, "+x+")"}function ol(){function a(x,E,b,z,ee,re){x.position=new Ze(z(ee,E.x,b.x-E.x,re),z(ee,E.y,b.y-E.y,re))}var y=new gi;y.add("position:diagram",a),y.add("position",a),y.add("position:part",function(x,E,b,z,ee,re){eea&&Cn(a,">= 1",Hl,"duration"),this.Dg=a}},isAnimating:{get:function(){return this.bc}},isTicking:{get:function(){return this.vq}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a}},defaultAnimation:{get:function(){return this.ce}},activeAnimations:{get:function(){return this.Ei}},initialAnimationStyle:{get:function(){return this.Pk},set:function(a){this.Pk=a}}}),Hl.prototype.stopAnimation=Hl.prototype.Cc;var la=null,pu=!1,Na=new sn(Hl,"Default",1),eh=new sn(Hl,"AnimateLocations",2),gh=new sn(Hl,"None",3);Hl.className="AnimationManager",Hl.defineAnimationEffect=function(a,y){pu||(ol(),pu=!0),la.add(a,y)},Hl.Default=Na,Hl.AnimateLocations=eh,Hl.None=gh;function iu(a){this.vu=this.Nw=this.Yd=this.H=null,this.Xk=this.bc=this.j=!1,this.cn=this.Qd=0,this.Lp=this.ot=Ad,this.Wk=this.ho=!1,this.cu=1,this.au=0,this.Gd=this.Dg=NaN,this.gw=0,this.dn=null,this.o=Io,this.vc=new gi,this.Tt=new gi,this.yl=new Rn,this.Ut=new Rn,this.dw=nh,a&&Object.assign(this,a)}iu.prototype.suspend=function(){this.Xk=!0},iu.prototype.advanceTo=function(a,y){y&&(this.Xk=!1),this.ho&&a>=this.Gd&&(this.Wk=!0,a-=this.Gd),this.gw=a,jd(this,!0),qu(this.Yd),Qn(this.H),$u(this.Yd),this.H.redraw()};function th(a,y){if(a.Tt.clear(),a.Wk=!1,a.au=0,a.Gd=NaN,0a.cn?a.Gd:E-a.Qd;y&&(b=a.gw,ba.cn&&(a.ho&&!a.Wk?(a.Qd=+new Date,a.cn=a.Qd+a.Gd,a.Wk=!0):a.Ml(!1))}}}function nf(a,y){for(var x=a.Gd,E=a.vc.iterator,b=a.Wk;E.next();){var z=E.key;if(!(z instanceof Pt&&z.diagram===null)){var ee=E.value,re=b?ee.end:ee.start;ee=b?ee.start:ee.end;var oe=la,se;for(se in ee)se==="position"&&(ee["position:placeholder"]||ee["position:nodeCollapse"])||oe.get(se)===null||oe.get(se)(z,re[se],ee[se],a.Lp,y,x,a)}}}Be.stop=function(){return this.bc?(this.Ml(!0),this):this},Be.Ml=function(a){if(this.vu!==null&&this.vu.jo.remove(this.Nw),this.bc){var y=this.H,x=this.Yd;this.Xk=this.bc=x.Ok=!1,qu(x);for(var E=this.vc,b=this.yl.iterator;b.next();)y.remove(b.value);for(b=this.Ut.iterator;b.next();)b.value.v();b=this.ho,E=E.iterator;for(var z=la;E.next();){var ee=E.key,re=E.value,oe=b?re.end:re.start,se=b?re.start:re.end,ce=re.Ku,ge;for(ge in se)if(z.get(ge)!==null){var Se=ge;!re.Hu||Se!=="position:nodeCollapse"&&Se!=="position:placeholder"||(Se="position"),z.get(Se)(ee,oe[ge],ce[ge]!==void 0?ce[ge]:re.Hu?oe[ge]:se[ge],this.Lp,this.Gd,this.Gd,this)}re.Hu&&ce.location!==void 0&&ee instanceof ar&&(ee.location=ce.location),re.nv&&ee instanceof ar&&ee.Zb(!1)}if(y.As.clear(),Ln(y,!1),y.Ya(),y.N(),Qn(y,!0),x.defaultAnimation===this){for(ge=x.pr.iterator;ge.next();)b=ge.value,b.Tg!==null&&(b.points=b.Tg,b.Tg=null);x.pr.clear()}Qn(y,!0),this.isViewportUnconstrained&&(y.scrollMode=this.dw),$u(x),this.au++,!a&&this.cu>this.au?(this.Wk=!1,this.start()):(this.dn&&this.dn(this),th(this,null),x.Ml(this),y.$b())}},Be.Cj=function(a,y){var x=y.actualBounds,E=null;if(y instanceof Gr&&(E=y.placeholder),E!==null?(x=E.ga(bl),E=E.padding,x.x+=E.left,x.y+=E.top,this.add(a,"position",x,a.position,!1)):this.add(a,"position",new Ze(x.x+x.width/2,x.y+x.height/2),a.position,!1),this.add(a,"scale",.01,a.scale,!1),a instanceof Gr)for(a=a.memberParts;a.next();)E=a.value,E instanceof Fi&&this.Cj(E,y)},Be.Aj=function(a,y){if(a.isVisible()){var x=null;if(y instanceof Gr&&(x=y.placeholder),x!==null){var E=x.ga(bl);x=x.padding,E.x+=x.left,E.y+=x.top,this.add(a,"position:placeholder",a.position,E,!0)}else this.add(a,"position:nodeCollapse",a.position,y,!0);if(this.add(a,"scale",a.scale,.01,!0),E=this.vc,E.contains(a)&&(E.I(a).nv=!0),a instanceof Gr)for(a=a.memberParts;a.next();)E=a.value,E instanceof Fi&&this.Aj(E,y)}},Be.Ez=function(a){var y=this.Tt.get(a);return y===null&&(y={},this.Tt.add(a,y)),y},Rt.Object.defineProperties(iu.prototype,{duration:{get:function(){return this.Dg},set:function(a){1>a&&Cn(a,">= 1",iu,"duration"),this.Dg=a}},reversible:{get:function(){return this.ho},set:function(a){this.ho=a}},runCount:{get:function(){return this.cu},set:function(a){0a?x/2*a*a+y:-x/2*(--a*(a-2)-1)+y}function Uc(a,y,x,E){return a===E?y+x:x*(-Math.pow(2,-10*a/E)+1)+y}iu.className="Animation",iu.EaseLinear=function(a,y,x,E){return x*a/E+y},iu.EaseInOutQuad=Ad,iu.EaseInQuad=function(a,y,x,E){return x*(a/=E)*a+y},iu.EaseOutQuad=function(a,y,x,E){return-x*(a/=E)*(a-2)+y},iu.EaseInExpo=function(a,y,x,E){return a===0?y:x*Math.pow(2,10*(a/E-1))+y},iu.EaseOutExpo=Uc;function Hc(a,y,x){this.start=a,this.end=y,this.Ku={},this.Hu=x,this.nv=!1}Hc.className="AnimationState";function Tc(a,y,x){this.xd=null,this.rf=a,this.so=x||Fd,this.uk=null,y!==void 0&&(this.uk=y,x===void 0&&(this.so=fd))}Tc.prototype.copy=function(){var a=new Tc(this.rf);a.so=this.so;var y=this.uk;if(y!==null){var x={};y.duration!==void 0&&(x.duration=y.duration),y.finished!==void 0&&(x.finished=y.finished),y.easing!==void 0&&(x.easing=y.easing),a.uk=x}return a};function rf(a,y){a=a.uk,a!==null&&(a.duration&&(y.duration=a.duration),a.finished&&(y.finished=a.finished),a.easing&&(y.easing=a.easing))}Rt.Object.defineProperties(Tc.prototype,{propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},animationSettings:{get:function(){return this.uk},set:function(a){this.uk=a}},startCondition:{get:function(){return this.so},set:function(a){this.so=a}}});var Fd=new sn(Tc,"Default",1),fd=new sn(Tc,"Immediate",2),zd=new sn(Tc,"Bundled",3);Tc.className="AnimationTrigger",Tc.Default=Fd,Tc.Immediate=fd,Tc.Bundled=zd;function Pl(a){Ir(this),this.H=null,this.Pa=new ln,this.xa="",this.pb=1,this.o=!1,this.j=this.Uh=this.u=this.Oi=this.Ni=this.Mi=this.Li=this.Ji=this.Ki=this.Ii=this.Qi=this.Hi=this.Pi=this.Gi=this.Fi=!0,this.Zq=[],a&&Object.assign(this,a)}Be=Pl.prototype,Be.clear=function(){for(var a=this.Pa,y=0;y=a)return y;for(var x=0,E=0,b=0,z=0,ee=0,re=this.Pa.iterator;re.next();){var oe=re.value;oe instanceof Gr?b++:oe instanceof Fi?E++:oe instanceof ai?z++:oe instanceof na?ee++:x++}if(re="",0x.Oq||re.height*b>x.Oq?y.gc(a,x):(b=y.actualBounds,z=y.naturalBounds,b.width===0||b.height===0||isNaN(b.x)||isNaN(b.y)||!y.isVisible()||(x=y.transform,y.areaBackground!==null&&(gs(y,a,y.areaBackground,!0,!0,z,b),a.fillRect(b.x,b.y,b.width,b.height)),y.areaBackground===null&&y.background===null&&(gs(y,a,"rgba(0,0,0,0.3)",!0,!1,z,b),a.fillRect(b.x,b.y,b.width,b.height)),y.background!==null&&(a.transform(x.m11,x.m12,x.m21,x.m22,x.dx,x.dy),gs(y,a,y.background,!0,!1,z,b),a.fillRect(0,0,z.width/2,z.height/2),x.ws()||(y=1/(x.m11*x.m22-x.m12*x.m21),a.transform(x.m22*y,-x.m12*y,-x.m21*y,x.m11*y,y*(x.m21*x.dy-x.m22*x.dx),y*(x.m12*x.dx-x.m11*x.dy)))))),E&&(a.restore(),a.Vc(!0))}},Be.g=function(a,y,x,E,b){var z=this.diagram;z!==null&&z.cb(Un,a,this,y,x,E,b)},Be.oi=function(a,y,x){var E=this.Pa;if(y.Ig=this,this===null&&Fs(y),a>=E.count)a=E.count;else if(E.M(a)===y)return-1;return E.Gb(a,y),y.Vo(x),E=this.diagram,E!==null&&(x?E.N():E.oi(y)),jh(this,a,y),a},Be.pc=function(a,y,x){if(!x&&y.layer!==this&&y.layer!==null)return y.layer.pc(a,y,x);var E=this.Pa;if(0>a||a>=E.length){if(a=E.indexOf(y),0>a)return-1}else if(E.M(a)!==y&&(a=E.indexOf(y),0>a))return-1;return y.Wo(x),E.mb(a),E=this.diagram,E!==null&&(x?E.N():E.pc(y)),y.Ig=null,Fs(y),a};function jh(a,y,x){if(y=mh(a,y,x),x instanceof Gr&&x!==null&&isNaN(x.zOrder)){if(x.memberParts.count!==0){for(var E=-1,b=a.Pa.s,z=b.length,ee=0;eeE&&re.containingGroup===x&&(E=ee,0<=y))break}!(0>E)&&E=b)return y;if(0>y&&(y=a.indexOf(x)),0>y)return-1;for(var z=y-1,ee=NaN;0<=z&&(ee=a.M(z).zOrder,!!isNaN(ee));)z--;for(var re=y+1,oe=NaN;reE)for(;;){if(z===-1||ee<=E){if(z++,z===y)break;return a.mb(y),a.Gb(z,x),z}for(ee=NaN;0<=--z&&(ee=a.M(z).zOrder,isNaN(ee)););}else if(!isNaN(oe)&&oe=E){if(re--,re===y)break;return a.mb(y),a.Gb(re,x),re}for(oe=NaN;++rea||1=a)return y;for(var x=this.Wa.iterator;x.next();)y+=` - `+x.value.toString(a-1);return y};function Yi(a,y){if(Aa){if(y!=null||Et("Diagram setup requires an argument DIV."),a.Ka!==null&&Et("Diagram has already completed setup."),typeof y=="string"?a.Ka=Zn.document.getElementById(y):y instanceof HTMLDivElement?a.Ka=y:Et("No DIV or DIV id supplied: "+y),a.Ka===null&&Et("Invalid DIV id; could not get element with id: "+y),a.Ka.H!==void 0&&Et("Invalid div id; div already has a Diagram associated with it."),!a.ol&&Zn.ResizeObserver){var x=Vr(function(){a.$b()},250);a.ol=new Zn.ResizeObserver(function(){x()}),a.ol.observe(a.Ka)}Zn.getComputedStyle(a.Ka,null).position==="static"&&(a.Ka.style.position="relative"),y=5;var E="rgba(2"+y+"5, 255, 255, 0)";y--,a.Ka.style["-webkit-tap-highlight-color"]=E,a.Ka.innerHTML="",a.Ka.H=a,a.Ka.goDiagram=a,a.Ka.go=Zn.go;var b=new zu(a);if(b.style!==void 0&&(b.style.position="absolute",b.style.top="0px",b.style.left="0px",Zn.getComputedStyle(a.Ka,null).getPropertyValue("direction")==="rtl"&&(a.tn=!0),b.style.zIndex="2",b.style.userSelect="none",b.style.MozUserSelect="none",b.style.touchAction="none",b.style.letterSpacing="normal !important",b.style.wordSpacing="normal !important"),a.ta=b,a.ib=b.context,E=a.ib,a.Mb=a.computePixelRatio(),a.viewSize.w()||(a.Aa=a.Ka.clientWidth||1,a.ya=a.Ka.clientHeight||1),Ha(a,a.Aa,a.ya),a.Ka.insertBefore(b.Oa,a.Ka.firstChild),b=new zu(null),b.width=1,b.height=1,a.jw=b,a.oy=b.context,Aa){b=Br("div");var z=Br("div");b.style.position="absolute",b.style.overflow="auto",b.style.width=a.Aa+"px",b.style.height=a.ya+"px",b.style.zIndex="1",z.style.position="absolute",z.style.width="1px",z.style.height="1px",a.Ka.appendChild(b),b.appendChild(z),b.onscroll=Nr,b.addEventListener("pointerdown",$r),b.H=a,b.uy=!0,b.vy=!0,a.ku=b,a.hu=z}a.hk=Vr(function(){a.Yh=null,a.N()},300),a.Ov=Vr(function(){bi(a)},250),a.preventDefault=function(ee){return ee.preventDefault(),!1},a.$j=function(ee){if(a.isEnabled){var re=Pr(a,ee,!0);re.bubbles=!0;var oe=0,se=0;re.delta=0,ee.deltaX!==void 0?(ee.deltaX!==0&&(oe=0Math.abs(ee.deltaY)?-oe:-se):ee.wheelDeltaX!==void 0?(ee.wheelDeltaX!==0&&(oe=0Math.abs(ee.wheelDeltaY)?-oe:-se):ee.wheelDelta!==void 0&&ee.wheelDelta!==0&&(re.delta=0re||Math.abs(se.y-ee.screenY)>re)?a.yq++:a.yq=1,oe.clickCount=a.yq,a.tw=ee.timeStamp,a.uw.sg(ee.screenX,ee.screenY),a.doMouseDown(),ee.button===1?ee.preventDefault():Ur(oe,ee)}},a.dk=function(ee){if(a.isEnabled){a.Vk=!0;var re=a.oj;if(re[0]===null||re[0].pointerId!==ee.pointerId&&re[0].pointerType===ee.pointerType){if(re[1]!==null&&re[1].pointerId===ee.pointerId){re[1]=ee;return}if(re[0]===null)re[0]=ee;else return}else re[0]=ee;if(re[0].pointerId===ee.pointerId){re=Mo(a,ee,!1,!1,!1,re[1]!==null);var oe=Zn.document.elementFromPoint(ee.clientX,ee.clientY)||null;oe!==null&&oe.shadowRoot!==void 0&&oe.shadowRoot!==null&&(oe=oe.shadowRoot.elementFromPoint(ee.clientX,ee.clientY));var se=a,ce=ee;oe&&oe.H&&(ce=ee,se=oe.H),re.targetDiagram=se,Do(a,ce,re),re.targetObject=null,a.doMouseMove(),Ur(re,ee)}}},a.fk=function(ee){if(a.isEnabled){a.Vk=!0;var re=ee.pointerType==="touch"||ee.pointerType==="pen",oe=a.Yt;if(re&&a.qu)delete oe[ee.pointerId],ee.preventDefault();else if(oe=a.oj,oe[0]===null||oe[0].pointerId!==ee.pointerId&&oe[0].pointerType===ee.pointerType)oe[1]!==null&&oe[1].pointerId===ee.pointerId&&(oe[1]=null);else{oe[0]=null,oe=Mo(a,ee,!1,!0,!0,!1);var se=Zn.document.elementFromPoint(ee.clientX,ee.clientY)||null;se!==null&&se.shadowRoot!==void 0&&se.shadowRoot!==null&&(se=se.shadowRoot.elementFromPoint(ee.clientX,ee.clientY)),se!==null&&se.H instanceof Ht&&se.H!==a&&Do(se.H,ee,oe),se===null&&(se=ee.target),Do(a,ee,oe),oe.clickCount=a.yq,oe.targetDiagram=gr(ee,se),oe.targetObject=null,a.doMouseUp(),Ur(oe,ee),re&&(a.wq=!1)}}},a.ek=function(ee){if(a.isEnabled){a.Vk=!1;var re=a.Yt;re[ee.pointerId]&&delete re[ee.pointerId],re=a.oj,re[0]!==null&&re[0].pointerId===ee.pointerId&&(re[0]=null),re[1]!==null&&re[1].pointerId===ee.pointerId&&(re[1]=null),ee.pointerType!=="touch"&&ee.pointerType!=="pen"&&(ee=a.currentTool,ee.cancelWaitAfter(),ee.standardMouseOver())}},a.ck=function(ee){var re=a.oj;re[0]!==null&&re[0].pointerId===ee.pointerId?(re[0]=null,a.wq=!1):re[1]!==null&&re[1].pointerId===ee.pointerId&&(re[1]=null)},a.Vp=E.Z["d"+lu[1]+lu[2]+"wI"+Vh.slice(1,5)]["b"+Gx.slice(1,y)](E.Z,yh,y,y),E.Vc(!0),dr(a),a.nl==="svg"&&(y=a.pj.get("svg"),a.Ka.appendChild(y.Oa),a.ib=y.context)}}Ht.prototype.addEventListener=function(a,y,x,E){a.addEventListener(y,x,{capture:E,passive:!1})},Ht.prototype.removeEventListener=function(a,y,x,E){a.removeEventListener(y,x,{capture:E})};function dr(a){var y=a.ta.Oa;y instanceof HTMLCanvasElement||(y=a.div),a.addEventListener(y,"pointerdown",a.ui,!1),a.addEventListener(y,"pointermove",a.dk,!1),a.addEventListener(y,"pointerup",a.fk,!1),a.addEventListener(y,"pointerout",a.ek,!1),a.addEventListener(y,"pointercancel",a.ck,!1),a.addEventListener(y,"pointerenter",a.bz,!1),a.addEventListener(y,"pointerleave",a.cz,!1),a.addEventListener(y,"wheel",a.$j,!1),a.addEventListener(y,"keydown",a.Qz,!1),a.addEventListener(y,"keyup",a.Rz,!1),a.addEventListener(y,"blur",a.Ny,!1),a.addEventListener(y,"focus",a.Oy,!1),a.addEventListener(y,"selectstart",function(x){return x.preventDefault(),!1},!1),a.addEventListener(y,"contextmenu",function(x){return x.preventDefault(),!1},!1),a.addEventListener(Zn,"resize",a.Ov,!1)}function Ei(a){30Fe&&(this.position=Je.h(-(y.scrollWidth-this.Aa)+Ge-this.Aa/b+ce,this.position.y))),a.vy&&this.allowVerticalScroll&&(reNe&&(this.position=Je.h(this.position.x,-(y.scrollHeight-this.ya)+a.scrollTop-this.ya/b+z))),Ze.free(Je),this.vd=!0,this.Ee=this.qr=!1,E=this.documentBounds,b=this.viewportBounds,ce=E.right,Fe=b.right,z=E.bottom,Ne=b.bottom,ee=E.x,ge=b.x,re=E.y,E=b.y,Se>=oe&&ee>=ge&&ce<=Fe&&(x.style.width="1px"),we>=se&&re>=E&&z<=Ne&&(x.style.height="1px"))}},Ht.prototype.computeBounds=function(a){return a===void 0&&(a=new nn),Xo(this),To(this,a)};function To(a,y){if(a.fixedBounds.w())return y.assign(a.fixedBounds),y.Co(a.yb),y;for(var x=!0,E=a.Wa.s,b=E.length,z=0;zx&&(y=x),ya.maxScale&&(y=a.maxScale),y):y===gd?(y=oe>re?(ee-a.Db)/E:(z-a.Db)/b,y>x&&(y=x),ya.maxScale&&(y=a.maxScale),y):a.scale}Ht.prototype.zoomToFit=function(){var a=this.sj;this.sj=nh,this.scale=po(this,ru),a!==nh&&(xo(this,!1),ur(this,this.documentBounds,this.Aa/this.Ca,this.ya/this.Ca,this.zk,!1)),this.sj=a},Be=Ht.prototype,Be.BA=function(a,y){y===void 0&&(y=ru);var x=a.width,E=a.height;if(!(x===0||E===0||isNaN(x)&&isNaN(E))){var b=1;if(y===ru||y===gd)if(isNaN(x))b=this.viewportBounds.height*this.scale/E;else if(isNaN(E))b=this.viewportBounds.width*this.scale/x;else{b=this.Aa;var z=this.ya;b=y===gd?z/E>b/x?(z-(this.Be?this.Db:0))/E:(b-(this.gf?this.Db:0))/x:Math.min(z/E,b/x)}this.scale=b,this.position=new Ze(a.x,a.y)}},Be.Jy=function(a,y){this.Va();var x=this.documentBounds,E=this.viewportBounds;this.position=new Ze(x.x+(a.x*x.width+a.offsetX)-(y.x*E.width-y.offsetX),x.y+(a.y*x.height+a.offsetY)-(y.y*E.height-y.offsetY))},Be.zz=function(a){if(a instanceof Pt){this.eq=a;var y=Ze.alloc();this.fq=this.op(a.ga(bl,y)),Ze.free(y)}else this.eq=null,this.fq=Qi};function ur(a,y,x,E,b,z){var ee=Ze.allocAt(a.pa.x,a.pa.y),re=ee.x,oe=ee.y;if(a.eq!==null){var se=Ze.alloc();se=a.eq.ga(bl,se),re=se.x-a.fq.x/a.scale,oe=se.y-a.fq.y/a.scale,b=il,Ze.free(se)}(z||a.scrollMode===nh)&&(b.sb()&&(x>y.width&&(re=y.x+(b.x*y.width+b.offsetX)-(b.x*x-b.offsetX)),E>y.height&&(oe=y.y+(b.y*y.height+b.offsetY)-(b.y*E-b.offsetY))),b=a.rj,z=x-y.width,xy.left?re=y.left:rey.top?oe=y.top:oey;y++){var x=a.De.iterator;if(x===null||a.De.count===0)break;a.De=new Rn,a.Nv(x,a.De)}a.nodes.each(function(E){E instanceof Gr&&E.U&65536&&(E.U=E.U^65536)})}}Be.Nv=function(a,y){for(a.reset();a.next();){var x=a.value;!x.Zc()||x instanceof Gr||(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))}for(a.reset();a.next();)x=a.value,x instanceof Gr&&x.isVisible()&&Qo(this,x);for(a.reset();a.next();)x=a.value,x instanceof ai&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x));for(a.reset();a.next();)x=a.value,x instanceof na&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))};function Qo(a,y){for(var x=Ri(),E=Ri(),b=y.memberParts;b.next();){var z=b.value;z.isVisible()&&(z instanceof Gr?(Ye(z)||ct(z)||sg(z))&&Qo(a,z):z instanceof ai?z.fromNode===y||z.toNode===y?E.push(z):x.push(z):(z.measure(1/0,1/0),z.arrange()))}for(a=x.length,b=0;bCt&&(Ge=Pi.left,nt=Pi.right),Je.height>Kt&&(at=Pi.top,ft=Pi.bottom)):(Ge=Pi.left,nt=Pi.right,at=Pi.top,ft=Pi.bottom);var zi=Je.width+Ge+nt,Ni=Je.height+at+ft;Pi=a.scale;var oi=zi>oe/Pi,Tn=Ni>se/Pi;if(!(z||a.gf||a.Be||oi||Tn))return!0;Ge=Je.x-Ge,oe=ce.x,nt=Je.right+nt,se=ce.right+ee,at=Je.y-at;var zr=ce.y;Je=Je.bottom+ft,ce=ce.bottom+re;var Fr="1px";if(ft="1px",a.scrollMode===nh&&(oi||Tn)&&(oi&&a.hasHorizontalScrollbar&&a.allowHorizontalScroll&&(oi=1,Ge+1se+1&&(oi=Math.max((nt-se)*Pi+a.Aa,oi)),Ct+ee+1ce+1&&(oi=Math.max((Je-ce)*Pi+a.ya,oi)),Kt+re+1se+1&&(ee=Math.max((nt-se)*Pi+a.Aa,ee)),Ct+1ce+1&&(re=Math.max((Je-ce)*Pi+ee,re)),Kt+1se+1&&(y=a.position.x*Pi)),a.tn)switch(a.bu){case"negative":y=-(Fe.scrollWidth-y-Fe.clientWidth);break;case"reverse":y=Fe.scrollWidth-y-Fe.clientWidth}return Fe.scrollLeft=y,a.hasVerticalScrollbar&&a.allowVerticalScroll&&(Kt+1ce+1&&(Fe.scrollTop=a.position.y*Pi)),oe=a.Aa,se=a.ya,Fe.style.width=oe+(a.gf?a.Db:0)+"px",Fe.style.height=se+(a.Be?a.Db:0)+"px",x!==oe||E!==se||a.animationManager.zb?(x=nn.allocAt(b,ge,Se,we),a.onViewportBoundsChanged(x,a.viewportBounds,Pi,z),nn.free(x),!1):!0}Be=Ht.prototype,Be.add=function(a){var y=a.diagram;if(y!==this&&(y!==null&&Et("Cannot add part "+a.toString()+" to "+this.toString()+". It is already a part of "+y.toString()),y=this.Qj(a.layerName),y===null&&(y=this.Qj("")),y===null&&Et('Cannot add a Part when unable find a Layer named "'+a.layerName+'" and there is no default Layer'),a.layer!==y)){var x=y.oi(99999999,a,a.diagram===this);0<=x&&this.cb(ti,"parts",y,null,a,null,x),y.isTemporary||this.Ya(),a.C(1),x=a.layerChanged,x!==null&&x(a,null,y)}},Be.oi=function(a){this.partManager.oi(a);var y=this;Mg(a,function(x){sl(y,x)}),(a instanceof na||a instanceof Gr&&a.placeholder!==null)&&a.v(),a.data!==null&&Mg(a,function(x){By(y.partManager,x)}),ct(a)!==!0&&sg(a)!==!0||this.De.add(a),X1(a,!0,this),Q1(a)?(a.actualBounds.w()&&this.N(Tg(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(Tg(a,a.actualBounds)),this.$b()},Be.pc=function(a){a.Ej(),this.partManager.pc(a);var y=this;a.data!==null&&Mg(a,function(x){Dy(y.partManager,x,y)}),this.De.remove(a),Q1(a)?(a.actualBounds.w()&&this.N(Tg(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(Tg(a,a.actualBounds)),this.$b()},Be.remove=function(a){hs(this,a,!0)};function hs(a,y,x){var E=y.layer;E!==null&&E.diagram===a&&(y.isSelected=!1,y.isHighlighted=!1,y.C(2),x&&y.Lj(),x=E.pc(-1,y,!1),0<=x&&a.cb(xi,"parts",E,y,null,x,null),a=y.layerChanged,a!==null&&a(y,E,null))}Be.Is=function(a,y){if(y===void 0&&(y=!1),Ft(a))for(var x=a.length,E=0;EE&&this.Ya(),this},Be.Cy=function(a,y){al(this,a,y),a.Xe(this);var x=this.Wa,E=x.indexOf(a);0<=E&&(x.remove(a),this.cc!==null&&this.cb(xi,"layers",this,a,null,E,null));var b=x.count,z;for(z=0;zE&&this.Ya(),this},Be.kA=function(a){if(a.diagram!==this&&Et("Cannot remove a Layer from another Diagram: "+a+" of "+a.diagram),a.name!==""){var y=this.Wa,x=y.indexOf(a);if(y.remove(a)){for(y=a.Pa.copy().iterator;y.next();){var E=y.value,b=E.layerName;b!==a.name?E.layerName=b:E.layerName=""}this.cc!==null&&this.cb(xi,"layers",this,a,null,x,null),this.N(),this.Ya()}}},Be.Qj=function(a){for(var y=this.layers;y.next();){var x=y.value;if(x.name===a)return x}return null},Be.Yw=function(a){return this.pf===null&&(this.pf=new ln),this.pf.add(a),this.model.Pe(a),this},Be.mA=function(a){this.pf!==null&&(this.pf.remove(a),this.pf.count===0&&(this.pf=null)),this.model.ik(a)},Be.Pe=function(a){return this.zg===null&&(this.zg=new ln),this.zg.add(a),this},Be.ik=function(a){this.zg!==null&&(this.zg.remove(a),this.zg.count===0&&(this.zg=null))},Be.ds=function(a){if(this.skipsUndoManager||this.model.skipsUndoManager||this.model.undoManager.Tu(a),a.change!==An&&(this.isModified=!0),this.zg!==null)for(var y=this.zg,x=y.length,E=0;Ege.Pa.indexOf(we)&&ge.oi(Se,we,Fe):(we.isSelected=!1,we.isHighlighted=!1,we.Wb(),ge.pc(Fe?Se:-1,we,Fe)))}else ge instanceof Ht?typeof Se=="number"&&we instanceof Pl&&(y?(we.Xe(this),this.Wa.Gb(Se,we)):this.Wa.mb(Se)):Et("unknown ChangedEvent.Remove object: "+a.toString());this.isModified=!0}else E!==An&&Et("unknown ChangedEvent: "+a.toString())}finally{this.skipsModelSourceBindings=x}}},Ht.prototype.Ea=function(a){return this.undoManager.Ea(a)},Ht.prototype.eb=function(a){return this.undoManager.eb(a)},Ht.prototype.Kf=function(){return this.undoManager.Kf()},Ht.prototype.commit=function(a,y){y===void 0&&(y="");var x=this.skipsUndoManager;y===null&&(this.skipsUndoManager=!0,y=""),this.undoManager.Ea(y);var E=!1;try{a(this),E=!0}finally{E?this.undoManager.eb(y):this.undoManager.Kf(),this.skipsUndoManager=x}},Ht.prototype.updateAllTargetBindings=function(a){this.partManager.updateAllTargetBindings(a)},Ht.prototype.rp=function(){this.partManager.rp()};function Xs(a,y,x){var E=a.animationManager;if(a.vb||a.ld)a.Ca=x,jo(a),a.N(),a.Ee=!0,E.zb&&(vc(E)||E.ce.add(E.H,"scale",y,a.Ca));else if(a.ta===null)a.Ca=x,jo(a);else{a.vb=!0;var b=a.viewportBounds.copy(),z=a.Aa,ee=a.ya,re=a.zoomPoint.x,oe=a.zoomPoint.y,se=a.contentAlignment;isNaN(re)&&(se.$c()?se.Hf(Ms)?re=0:se.Hf(Tl)&&(re=z-1):re=se.sb()?se.x*(z-1):z/2),isNaN(oe)&&(se.$c()?se.Hf(ic)?oe=0:se.Hf(Gl)&&(oe=ee-1):oe=se.sb()?se.y*(ee-1):ee/2),a.scaleComputation===null||a.animationManager.defaultAnimation.isAnimating||(x=a.scaleComputation(a,x)),xa.maxScale&&(x=a.maxScale),z=Ze.allocAt(a.pa.x+re/y-re/x,a.pa.y+oe/y-oe/x),a.position=z,Ze.free(z),a.Ca=x,jo(a),a.vb=!1,a.onViewportBoundsChanged(b,a.viewportBounds,y,!1),xo(a,!1),E.zb&&(vc(E)||E.ce.add(E.H,"scale",y,a.Ca))}}Ht.prototype.onViewportBoundsChanged=function(a,y,x,E){if(!a.D(y)){E===void 0&&(E=!1),E||(this.Ee=!0),this.vd=!0;var b=this.layout;b===null||!b.isViewportSized||this.autoScale!==Us||a.width===y.width&&a.height===y.height||b.C(),b=this.currentTool,this.Vk===!0&&b instanceof Gn&&(this.lastInput.documentPoint=this.Ps(this.lastInput.viewPoint),ji(b,this)),this.vb||this.invalidateViewport(a,y),Os(this),this.fc.scale=x,this.fc.position.x=a.x,this.fc.position.y=a.y,this.fc.bounds.assign(a),this.fc.canvasSize.width=Math.round(a.width*x),this.fc.canvasSize.height=Math.round(a.height*x),this.fc.newCanvasSize.width=this.Aa,this.fc.newCanvasSize.height=this.ya,this.fc.isScroll=E,this.R("ViewportBoundsChanged",this.fc,a),this.isVirtualized&&this.links.each(function(z){z.isAvoiding&&z.actualBounds.Yc(y)&&z.bb()})}};function Os(a,y){var x=a.fe;if(x!==null&&x.visible){for(var E=pi.alloc(),b=1,z=1,ee=x.O.s,re=ee.length,oe=0;oece||(Iv(se.figure)?z=z*ce/Bt.vx(z,ce):b=b*ce/Bt.vx(b,ce))}if(ee=x.gridCellSize,E.h(z*ee.width,b*ee.height),y!==void 0)b=y.width,z=y.height,a=y.x,ee=y.y;else{if(y=nn.alloc(),a=a.viewportBounds,y.h(a.x,a.y,a.width,a.height),!y.w()){nn.free(y);return}b=y.width,z=y.height,a=y.x,ee=y.y,nn.free(y)}x.width=b+2*E.width,x.height=z+2*E.height,y=Ze.alloc(),Bt.No(a,ee,0,0,E.width,E.height,y),y.offset(-E.width,-E.height),pi.free(E),x.part.location=y,Ze.free(y)}}Ht.prototype.clearSelection=function(a){a===void 0&&(a=!1);var y=this.selection;if(y.count!==0){a||this.R("ChangingSelection",y);for(var x=y.Fa(),E=x.length,b=0;b=E&&!z.defaultAnimation.isAnimating&&!z.zb&&(y||ka(z,"Layout")),a.xh=!1;for(var ee=a.ai.iterator;ee.next();)fa(a,ee.value,y,E);b.isValidLayout||(!y||b.isRealtime||b.isRealtime===null||E===0?(b.doLayout(a),Xo(a),b.isValidLayout=!0):a.xh=!0)}finally{y=a.undoManager.isInternalTransaction,E===0&&(a.eb("Layout"),a.undoManager.isInternalTransaction=!1),!y||E!==0&&E!==1||Ra(z),a.aa=x}}}function fa(a,y,x,E){if(y!==null){for(var b=y.gl.iterator;b.next();)fa(a,b.value,x,E);b=y.layout,b===null||b.isValidLayout||(!x||b.isRealtime||E===0?(y.rh=!y.location.w(),b.doLayout(y),y.C(32),Qo(a,y),b.isValidLayout=!0):a.xh=!0)}}Be.yz=function(){for(var a=new ln,y=this.nodes;y.next();){var x=y.value;x.isTopLevel&&x.kh()===null&&a.add(x)}return a.iterator};function Ua(a){function y(b){var z=b.toLowerCase(),ee=new ln;x.add(b,ee),x.add(z,ee),E.add(b,b),E.add(z,b)}var x=new gi,E=new gi;y("InitialAnimationStarting"),y("AnimationStarting"),y("AnimationFinished"),y("BackgroundSingleClicked"),y("BackgroundDoubleClicked"),y("BackgroundContextClicked"),y("ClipboardChanged"),y("ClipboardPasted"),y("DocumentBoundsChanged"),y("ExternalObjectsDropped"),y("GainedFocus"),y("InitialLayoutCompleted"),y("LayoutCompleted"),y("LinkDrawn"),y("LinkRelinked"),y("LinkReshaped"),y("LostFocus"),y("Modified"),y("ObjectSingleClicked"),y("ObjectDoubleClicked"),y("ObjectContextClicked"),y("PartCreated"),y("PartResized"),y("PartRotated"),y("SelectionMoved"),y("SelectionCopied"),y("SelectionDeleting"),y("SelectionDeleted"),y("SelectionGrouped"),y("SelectionUngrouped"),y("ChangingSelection"),y("ChangedSelection"),y("SubGraphCollapsed"),y("SubGraphExpanded"),y("TextEdited"),y("TreeCollapsed"),y("TreeExpanded"),y("ViewportBoundsChanged"),y("InvalidateDraw"),a.iw=x,a.hw=E}function Po(a,y){var x=a.hw.I(y);return x!==null?x:a.hw.I(y.toLowerCase())}function Wr(a,y){var x=a.iw.I(y);if(x!==null||(x=a.iw.I(y.toLowerCase()),x!==null))return x;Et("Unknown DiagramEvent name: "+y)}Be.Bj=function(a,y){return a=Wr(this,a),a!==null&&a.add(y),this},Be.am=function(a,y){a=Wr(this,a),a!==null&&a.remove(y)},Be.R=function(a,y,x){var E=Wr(this,a),b=new Gt;if(b.diagram=this,a=Po(this,a),a!==null&&(b.name=a),y!==void 0&&(b.subject=y),x!==void 0&&(b.parameter=x),y=E.length,y===1)E.M(0)(b);else if(y!==0)for(E=E.Fa(),x=0;x=x.top&&0>=x.left&&0>=x.right&&0>=x.bottom)return y;var E=this.viewportBounds,b=this.scale;E=nn.allocAt(0,0,E.width*b,E.height*b);var z=Ze.allocAt(0,0);if(a.x>=E.x&&a.xE.x+E.width-x.right&&this.allowHorizontalScroll&&(ee=Math.max(this.scrollHorizontalLineChange,1),ee|=0,z.x+=ee,a.x>E.x+E.width-x.right/2&&(z.x+=ee),a.x>E.x+E.width-x.right/4&&(z.x+=4*ee));return a.y>=E.y&&a.yE.y+E.height-x.bottom&&this.allowVerticalScroll&&(ee=Math.max(this.scrollVerticalLineChange,1),ee|=0,z.y+=ee,a.y>E.y+E.height-x.bottom/2&&(z.y+=ee),a.y>E.y+E.height-x.bottom/4&&(z.y+=4*ee)),z.Xa(Io)||(y=new Ze(y.x+z.x/b,y.y+z.y/b)),nn.free(E),Ze.free(z),y},Be=Ht.prototype,Be.Cs=function(){return null},Be.av=function(){return null},Be.bs=function(a,y){this.pj.add(a,y)},Be.Fu=function(a){(this.Pw=a)||this.nodes.each(function(y){y instanceof Gr&&(y.$p=null)})};function Jl(a,y,x){function E(){var ce=+new Date;for(z=!0,ee.reset();ee.next();)if(!ee.value[0].al){z=!1;break}z||ce-se>oe?y(x,b,re):Zn.requestAnimationFrame(E)}for(var b=x.callback,z=!0,ee=a.Og.iterator;ee.next();)if(!ee.value[0].al){z=!1;break}if(typeof b!="function"||z)return y(x,b,a);var re=a,oe=x.callbackTimeout||300,se=+new Date;return Zn.requestAnimationFrame(function(){E()}),null}Be.Wz=function(a){return Aa?(a===void 0&&(a={}),a.returnType="Image",this.Jx(a)):null},Be.Jx=function(a){return a===void 0&&(a={}),Jl(this,this.Xz,a)},Be.Xz=function(a,y,x){var E=nd(x,a,"canvas",null);if(E===null)return null;x=E.Z.canvas;var b=null;if(x!==null)switch(b=a.returnType,b===void 0?b="string":b=b.toLowerCase(),b){case Vh+"data":b=E.getImageData(0,0,x.width,x.height);break;case Vh:E=(a.document||document).createElement("img"),E.src=x.toDataURL(a.type,a.details),b=E;break;case"blob":return typeof y!="function"&&Et('Error: Diagram.makeImageData called with "returnType: toBlob", but no required "callback" function property defined.'),typeof x.toBlob=="function"?(x.toBlob(y,a.type,a.details),"toBlob"):(y(null),null);default:b=x.toDataURL(a.type,a.details)}return typeof y=="function"?(y(b),null):b};function nd(a,y,x,E){if(a.animationManager.Cc(),a.bd(),a.ta===null)return null;typeof y!="object"&&Et("properties argument must be an Object.");var b=y.size||null,z=y.scale||null;y.scale!==void 0&&isNaN(y.scale)&&(z="NaN");var ee=y.maxSize;y.maxSize===void 0&&(ee=x==="SVG"?new pi(1/0,1/0):new pi(2e3,2e3));var re=y.position||null,oe=y.parts||null,se=y.padding===void 0?1:y.padding,ce=y.background||null,ge=y.omitTemporary;ge===void 0&&(ge=!0);var Se=y.document||document,we=y.elementFinished||null,Fe=y.showTemporary;Fe===void 0&&(Fe=!ge),y=y.showGrid,y===void 0&&(y=Fe),b!==null&&isNaN(b.width)&&isNaN(b.height)&&(b=null),typeof se=="number"?se=new ao(se):se instanceof ao||Et("MakeImage padding must be a Margin or a number."),se.left=Math.max(se.left,0),se.right=Math.max(se.right,0),se.top=Math.max(se.top,0),se.bottom=Math.max(se.bottom,0),a.ib.Vc(!0),ge=new zu(null,Se,void 0,!0);var Ne=ge.context;if(!(b||z||oe||re))return ge.width=a.Aa+Math.ceil(se.left+se.right),ge.height=a.ya+Math.ceil(se.top+se.bottom),x==="SVG"?E===null?null:(E.resize(ge.width,ge.height,ge.width,ge.height),E.ownerDocument=Se,E.hs=we,qo(a,E.context,se,new pi(ge.width,ge.height),a.Ca,a.pa,oe,ce,Fe,y),E.context):(a.Xm=!1,qo(a,Ne,se,new pi(ge.width,ge.height),a.Ca,a.pa,oe,ce,Fe,y),a.Xm=!0,ge.context);var Je=a.Pp,Ge=a.documentBounds.copy();if(Ge.Fv(a.yb),Fe)for(var nt=a.Wa.s,at=nt.length,ft=0;ftJe?(z=Je,b=Ge.width,Ge=Ge.height):(b=ee.width,Ge=ee.height)):(b=Ge.width*z,Ge=Ge.height*z):(z=Je,b=Ge.width,Ge=Ge.height),se!==null?(b+=re,Ge+=at):se=new ao(0),ee!==null&&(Je=ee.width,ee=ee.height,isNaN(Je)&&(Je=2e3),isNaN(ee)&&(ee=2e3),isFinite(Je)&&(b=Math.min(b,Je)),isFinite(ee)&&(Ge=Math.min(Ge,ee))),ge.width=Math.ceil(b),ge.height=Math.ceil(Ge),x==="SVG"?E===null?null:(E.resize(ge.width,ge.height,ge.width,ge.height),E.ownerDocument=Se,E.hs=we,qo(a,E.context,se,new pi(Math.ceil(b),Math.ceil(Ge)),z,nt,oe,ce,Fe,y),E.context):(a.Xm=!1,qo(a,Ne,se,new pi(Math.ceil(b),Math.ceil(Ge)),z,nt,oe,ce,Fe,y),a.Xm=!0,ge.context)}Rt.Object.defineProperties(Ht.prototype,{renderer:{get:function(){return this.nl},set:function(a){this instanceof me||(a===""&&(a="default"),a=a.toLowerCase(),a!==this.nl&&(this.nl=a,a==="default"||a==="canvas"?(a=this.pj.get("svg"),a!==null&&a.Oa.remove(),this.ta&&(this.ib=this.ta.context)):a==="svg"?(this.pj.contains("svg")?a=this.pj.get("svg"):(a=new zo(this,Zn.document),this.bs("svg",a)),this.div!==null&&this.div.appendChild(a.Oa),this.ib=a.context,this.ta&&(this.ta.context.setTransform(this.Mb,0,0,this.Mb,0,0),this.ta.context.clearRect(0,0,this.Aa,this.ya))):a!=="debug"||this.pj.contains("SVG")||(a=new zo(this,Zn.document),this.bs("SVG",a),a.Oa.style.backgroundColor="whitesmoke",this.div!==null&&this.div.after(a.Oa)),this.hk()))}},div:{get:function(){return this.Ka},set:function(a){if(this.Ka!==a){var y=this.Ka;y!==null?(y.H=void 0,y.goDiagram=void 0,y.go=void 0,y.innerHTML="",this.ta!==null&&(y=this.ta.Oa,this.removeEventListener(y,"pointermove",this.dk,!1),this.removeEventListener(y,"pointerdown",this.ui,!1),this.removeEventListener(y,"pointerup",this.fk,!1),this.removeEventListener(y,"pointerout",this.ek,!1),this.removeEventListener(y,"pointercancel",this.ck,!1),this.ta.mx()),this.ol&&(this.ol.disconnect(),this.ol=null),y=this.toolManager,y!==null&&(y.mouseDownTools.each(function(x){x.cancelWaitAfter()}),y.mouseMoveTools.each(function(x){x.cancelWaitAfter()}),y.mouseUpTools.each(function(x){x.cancelWaitAfter()})),y.cancelWaitAfter(),this.currentTool.doCancel(),this.ta=null,this.removeEventListener(Zn,"resize",this.Ov,!1),this.removeEventListener(Zn,"wheel",this.$j,!0),st===this&&(st=null)):this.ui===null&&(this.hf=!1),this.Ka=null,a!==null&&((y=a.H)&&(y.div=null),Yi(this,a),this.hk())}}},$w:{get:function(){return this.Sq}},pi:{get:function(){return this.hf}},draggedLink:{get:function(){return this.nt},set:function(a){this.nt!==a&&(this.nt=a,a!==null&&(this.Vt=a.fromPort,this.Wt=a.toPort))}},Mx:{get:function(){return this.Vt},set:function(a){this.Vt=a}},Nx:{get:function(){return this.Wt},set:function(a){this.Wt=a}},animationManager:{get:function(){return this.Yd}},undoManager:{get:function(){return this.cc.undoManager}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a,this.cc.skipsUndoManager=a}},delaysLayout:{get:function(){return this.lt},set:function(a){this.lt=a}},opacity:{get:function(){return this.pb},set:function(a){var y=this.pb;y!==a&&((0>a||1a&&Cn(a,">= 0",Ht,"scrollHorizontalLineChange"),this.iu=a,this.g("scrollHorizontalLineChange",y,a))}},scrollVerticalLineChange:{get:function(){return this.mu},set:function(a){var y=this.mu;y!==a&&(0>a&&Cn(a,">= 0",Ht,"scrollVerticalLineChange"),this.mu=a,this.g("scrollVerticalLineChange",y,a))}},lastInput:{get:function(){return this.cj},set:function(a){this.cj=a}},previousInput:{get:function(){return this.Qg},set:function(a){this.Qg=a}},firstInput:{get:function(){return this.bq},set:function(a){this.bq=a}},currentCursor:{get:function(){return this.it},set:function(a){if(a===""&&(a=this.Op),this.it!==a){var y=this.ta,x=this.Ka;if(y!==null&&x!==null){this.it=a;var E=y.style.cursor;y.style.cursor=a,x.style.cursor=a,y.style.cursor===E&&(y.style.cursor="-webkit-"+a,x.style.cursor="-webkit-"+a,y.style.cursor===E&&(y.style.cursor="-moz-"+a,x.style.cursor="-moz-"+a,y.style.cursor===E&&(y.style.cursor=a,x.style.cursor=a)))}}}},defaultCursor:{get:function(){return this.Op},set:function(a){a===""&&(a="auto");var y=this.Op;y!==a&&(this.Op=a,this.g("defaultCursor",y,a))}},click:{get:function(){return this.zh},set:function(a){var y=this.zh;y!==a&&(this.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.Fh},set:function(a){var y=this.Fh;y!==a&&(this.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.Bh},set:function(a){var y=this.Bh;y!==a&&(this.Bh=a,this.g("contextClick",y,a))}},mouseOver:{get:function(){return this.Qh},set:function(a){var y=this.Qh;y!==a&&(this.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.Oh},set:function(a){var y=this.Oh;y!==a&&(this.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.Nh},set:function(a){var y=this.Nh;y!==a&&(this.Nh=a,this.g("mouseHold",y,a))}},mouseDragOver:{get:function(){return this.Qt},set:function(a){var y=this.Qt;y!==a&&(this.Qt=a,this.g("mouseDragOver",y,a))}},mouseDrop:{get:function(){return this.Lh},set:function(a){var y=this.Lh;y!==a&&(this.Lh=a,this.g("mouseDrop",y,a))}},handlesDragDropForTopLevelParts:{get:function(){return this.xt},set:function(a){var y=this.xt;y!==a&&(this.xt=a,this.g("handlesDragDropForTopLevelParts",y,a))}},mouseEnter:{get:function(){return this.Mh},set:function(a){var y=this.Mh;y!==a&&(this.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.Ph},set:function(a){var y=this.Ph;y!==a&&(this.Ph=a,this.g("mouseLeave",y,a))}},toolTip:{get:function(){return this.$h},set:function(a){var y=this.$h;y!==a&&(this.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.Ch},set:function(a){var y=this.Ch;y!==a&&(this.Ch=a,this.g("contextMenu",y,a))}},commandHandler:{get:function(){return this.nb},set:function(a){this.nb!==a&&(this.nb=a,a.Xe(this))}},toolManager:{get:function(){return this.te},set:function(a){this.te!==a&&(this.te=a,a.diagram=this)}},defaultTool:{get:function(){return this.ob},set:function(a){var y=this.ob;y!==a&&(this.ob=a,a.diagram=this,this.currentTool===y&&(this.currentTool=a))}},currentTool:{get:function(){return this.hb},set:function(a){var y=this.hb;y&&(y.isActive&&y.doDeactivate(),y.cancelWaitAfter(),y.doStop()),a===null&&(a=this.defaultTool),a!==null&&(this.hb=a,a.diagram=this,a.doStart())}},selection:{get:function(){return this.Hw}},maxSelectionCount:{get:function(){return this.Nt},set:function(a){var y=this.Nt;if(y!==a)if(0<=a&&!isNaN(a)){if(this.Nt=a,this.g("maxSelectionCount",y,a),!this.undoManager.isUndoingRedoing&&(a=this.selection.count-a,0= 0",Ht,"maxSelectionCount")}},nodeSelectionAdornmentTemplate:{get:function(){return this.St},set:function(a){var y=this.St;y!==a&&(this.St=a,this.g("nodeSelectionAdornmentTemplate",y,a))}},groupSelectionAdornmentTemplate:{get:function(){return this.wt},set:function(a){var y=this.wt;y!==a&&(this.wt=a,this.g("groupSelectionAdornmentTemplate",y,a))}},linkSelectionAdornmentTemplate:{get:function(){return this.Kt},set:function(a){var y=this.Kt;y!==a&&(this.Kt=a,this.g("linkSelectionAdornmentTemplate",y,a))}},highlighteds:{get:function(){return this.nw}},isModified:{get:function(){var a=this.undoManager;return a.isEnabled?a.currentTransaction!==null?!0:this.rn&&this.Ce!==a.historyIndex:this.rn},set:function(a){if(this.rn!==a){this.rn=a;var y=this.undoManager;!a&&y.isEnabled&&(this.Ce=y.historyIndex),a||eo(this)}}},model:{get:function(){return this.cc},set:function(a){var y=this.cc;if(y!==a){this.currentTool.doCancel(),y&&y.undoManager!==a.undoManager&&y.undoManager.isInTransaction&&Et("Do not replace a Diagram.model while a transaction is in progress."),this.animationManager.Cc(!0);var x=wn(this,!0);this.hf=!1,this.fn=!0,this.Ce=-2,this.kg=!1;var E=this.vb;this.vb=!0,ka(this.animationManager,"Model"),y&&(this.pf!==null&&this.pf.each(function(z){return y.ik(z)}),y.ik(this.Oc)),this.cc=a,this.partManager=qa(this.cc.type);for(var b=0;bthis.scale&&(this.scale=a)):Cn(a,"> 0",Ht,"minScale"))}},maxScale:{get:function(){return this.Mt},set:function(a){var y=this.Mt;y!==a&&(0 0",Ht,"maxScale"))}},zoomPoint:{get:function(){return this.zu},set:function(a){this.zu.D(a)||(this.zu=a=a.J())}},contentAlignment:{get:function(){return this.zk},set:function(a){var y=this.zk;y.D(a)||(this.zk=a=a.J(),this.g("contentAlignment",y,a),xo(this,!1))}},initialContentAlignment:{get:function(){return this.pq},set:function(a){var y=this.pq;y.D(a)||(this.pq=a=a.J(),this.g("initialContentAlignment",y,a))}},padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new ao(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.Ya(),this.g("padding",y,a))}},partManager:{get:function(){return this.Pc},set:function(a){var y=this.Pc;y!==a&&(a.diagram!==null&&Et("Cannot share PartManagers between Diagrams: "+a.toString()),y&&y.Xe(null),this.Pc=a,a.Xe(this))}},nodes:{get:function(){return this.partManager.nodes.iterator}},links:{get:function(){return this.partManager.links.iterator}},parts:{get:function(){return this.partManager.parts.iterator}},layout:{get:function(){return this.Sc},set:function(a){var y=this.Sc;y!==a&&(this.Sc=a,a.diagram=this,a.group=null,this.xh=!0,this.g("layout",y,a),this.$b())}},isTreePathToChildren:{get:function(){return this.Ht},set:function(a){var y=this.Ht;if(y!==a&&(this.Ht=a,this.g("isTreePathToChildren",y,a),!this.undoManager.isUndoingRedoing))for(a=this.nodes;a.next();)lm(a.value)}},treeCollapsePolicy:{get:function(){return this.uu},set:function(a){var y=this.uu;y!==a&&(a!==ih&&a!==Js&&a!==zh&&Et("Unknown Diagram.treeCollapsePolicy: "+a),this.uu=a,this.g("treeCollapsePolicy",y,a))}},Ue:{get:function(){return this.pw},set:function(a){this.pw=a}},avoidanceCellSize:{get:function(){return this.aw},set:function(a){this.Xh=null,this.aw=new pi(Math.max(1,a.width),Math.max(1,a.height))}},avoidanceLimit:{get:function(){return this.bw},set:function(a){this.bw=Math.max(1,a)}},autoScrollInterval:{get:function(){return this.vp},set:function(a){var y=this.vp;y!==a&&(this.vp=a,this.g("autoScrollInterval",y,a))}},autoScrollRegion:{get:function(){return this.xp},set:function(a){typeof a=="number"&&(a=new ao(a));var y=this.xp;y.D(a)||(this.xp=a=a.J(),this.Ya(),this.g("autoScrollRegion",y,a))}}}),Rt.Object.defineProperties(Ht,{licenseKey:{get:function(){return sf.jc()},set:function(a){sf.add(a.replace(/\s/g,""))}},version:{get:function(){return vh}}}),Ht.prototype.makeImageData=Ht.prototype.Jx,Ht.prototype.makeImage=Ht.prototype.Wz,Ht.prototype.cacheGroupExternalLinks=Ht.prototype.Fu,Ht.prototype.addRenderer=Ht.prototype.bs,Ht.prototype.makeSVG=Ht.prototype.av,Ht.prototype.makeSvg=Ht.prototype.Cs,Ht.prototype.stopAutoScroll=Ht.prototype.ug,Ht.prototype.doAutoScroll=Ht.prototype.gs,Ht.prototype.isUnoccupied=Ht.prototype.Yj,Ht.prototype.raiseDiagramEvent=Ht.prototype.R,Ht.prototype.removeDiagramListener=Ht.prototype.am,Ht.prototype.addDiagramListener=Ht.prototype.Bj,Ht.prototype.findTreeRoots=Ht.prototype.yz,Ht.prototype.layoutDiagram=Ht.prototype.Uz,Ht.prototype.findTopLevelGroups=Ht.prototype.qz,Ht.prototype.findTopLevelNodesAndLinks=Ht.prototype.rz,Ht.prototype.ensureBounds=Ht.prototype.Va,Ht.prototype.findLinksByExample=Ht.prototype.ls,Ht.prototype.findNodesByExample=Ht.prototype.ms,Ht.prototype.findLinkForData=Ht.prototype.Kc,Ht.prototype.findNodeForData=Ht.prototype.ii,Ht.prototype.findPartForData=Ht.prototype.Lc,Ht.prototype.findLinkForKey=Ht.prototype.findLinkForKey,Ht.prototype.findNodeForKey=Ht.prototype.Vb,Ht.prototype.findPartForKey=Ht.prototype.findPartForKey,Ht.prototype.rebuildParts=Ht.prototype.Wd,Ht.prototype.transformViewToDoc=Ht.prototype.Ps,Ht.prototype.transformRectDocToView=Ht.prototype.zA,Ht.prototype.transformDocToView=Ht.prototype.op,Ht.prototype.centerRect=Ht.prototype.es,Ht.prototype.scrollToRect=Ht.prototype.tv,Ht.prototype.scroll=Ht.prototype.scroll,Ht.prototype.highlightCollection=Ht.prototype.Jz,Ht.prototype.highlight=Ht.prototype.Iz,Ht.prototype.selectCollection=Ht.prototype.rA,Ht.prototype.select=Ht.prototype.select,Ht.prototype.updateAllRelationshipsFromData=Ht.prototype.rp,Ht.prototype.updateAllTargetBindings=Ht.prototype.updateAllTargetBindings,Ht.prototype.commit=Ht.prototype.commit,Ht.prototype.rollbackTransaction=Ht.prototype.Kf,Ht.prototype.commitTransaction=Ht.prototype.eb,Ht.prototype.startTransaction=Ht.prototype.Ea,Ht.prototype.raiseChanged=Ht.prototype.g,Ht.prototype.raiseChangedEvent=Ht.prototype.cb,Ht.prototype.removeChangedListener=Ht.prototype.ik,Ht.prototype.addChangedListener=Ht.prototype.Pe,Ht.prototype.removeModelChangedListener=Ht.prototype.mA,Ht.prototype.addModelChangedListener=Ht.prototype.Yw,Ht.prototype.findLayer=Ht.prototype.Qj,Ht.prototype.removeLayer=Ht.prototype.kA,Ht.prototype.addLayerAfter=Ht.prototype.Cy,Ht.prototype.addLayerBefore=Ht.prototype.Ww,Ht.prototype.addLayer=Ht.prototype.Al,Ht.prototype.moveParts=Ht.prototype.moveParts,Ht.prototype.copyParts=Ht.prototype.Kj,Ht.prototype.removeParts=Ht.prototype.Is,Ht.prototype.remove=Ht.prototype.remove,Ht.prototype.add=Ht.prototype.add,Ht.prototype.clearDelayedGeometries=Ht.prototype.bx,Ht.prototype.setProperties=Ht.prototype.nm,Ht.prototype.attach=Ht.prototype.Du,Ht.prototype.set=Ht.prototype.set,Ht.prototype.resetInputOptions=Ht.prototype.Sx,Ht.prototype.setInputOption=Ht.prototype.sA,Ht.prototype.getInputOption=Ht.prototype.Ql,Ht.prototype.resetRenderingHints=Ht.prototype.Tx,Ht.prototype.setRenderingHint=Ht.prototype.Xx,Ht.prototype.getRenderingHint=Ht.prototype.Gf,Ht.prototype.maybeUpdate=Ht.prototype.bd,Ht.prototype.requestUpdate=Ht.prototype.$b,Ht.prototype.delayInitialization=Ht.prototype.Xy,Ht.prototype.isUpdateRequested=Ht.prototype.Pz,Ht.prototype.invalidateDocumentBounds=Ht.prototype.Ya,Ht.prototype.findObjectsNear=Ht.prototype.og,Ht.prototype.findPartsNear=Ht.prototype.mz,Ht.prototype.findObjectsIn=Ht.prototype.Cf,Ht.prototype.findPartsIn=Ht.prototype.ux,Ht.prototype.findObjectsAt=Ht.prototype.ji,Ht.prototype.findPartsAt=Ht.prototype.lz,Ht.prototype.findObjectAt=Ht.prototype.ic,Ht.prototype.findPartAt=Ht.prototype.Ol,Ht.prototype.focusObject=Ht.prototype.zz,Ht.prototype.alignDocument=Ht.prototype.Jy,Ht.prototype.zoomToRect=Ht.prototype.BA,Ht.prototype.zoomToFit=Ht.prototype.zoomToFit,Ht.prototype.diagramScroll=Ht.prototype.kx,Ht.prototype.focus=Ht.prototype.focus;var mr=new gi,vs=null,Aa=Zn.document!==void 0,qs=null,Zu="",Us=new sn(Ht,"None",0),ru=new sn(Ht,"Uniform",1),gd=new sn(Ht,"UniformToFill",2),Vd=new sn(Ht,"CycleAll",10),of=new sn(Ht,"CycleNotDirected",11),bu=new sn(Ht,"CycleNotDirectedFast",12),Ef=new sn(Ht,"CycleNotUndirected",13),ng=new sn(Ht,"CycleDestinationTree",14),Nf=new sn(Ht,"CycleSourceTree",15),nh=new sn(Ht,"DocumentScroll",1),af=new sn(Ht,"InfiniteScroll",2),ih=new sn(Ht,"TreeParentCollapsed",21),Js=new sn(Ht,"AllParentsCollapsed",22),zh=new sn(Ht,"AnyParentsCollapsed",23),sf=new ln,vh="2.3.10",Vh="image",yh=null,Gh=!1;function Bu(){if(Aa){var a=Zn.document.createElement("canvas"),y=a.getContext("2d"),x=Nn("7ca11abfd022028846");y[x]=Nn("398c3597c01238");for(var E=["5da73c80a36455d7038e4972187c3cae51fd22",ki.Dx+"4ae6247590da4bb21c324ba3a84e385776",qr.xF+"fb236cdfda5de14c134ba1a95a2d4c7cc6f93c1387",Bt.za],b=1;5>b;b++)y[Nn("7ca11abfd7330390")](Nn(E[b-1]),10,15*b);for(y[x]=Nn("39f046ebb36e4b"),x=1;5>x;x++)y[Nn("7ca11abfd7330390")](Nn(E[x-1]),10,15*x);(E.length!==4||E[0][0]!=="5"||E[3][0]!=="7")&&(qr.prototype.Cd=qr.prototype.Eu),yh=a}}Ht.className="Diagram",Ht.fromDiv=function(a){var y=a;return typeof a=="string"&&(y=Zn.document.getElementById(a)),y instanceof HTMLDivElement&&y.H instanceof Ht?y.H:null},Ht.inherit=function(a,y){function x(){}if(Object.getPrototypeOf(a).prototype)throw Error(`Used go.Diagram.inherit defining already defined class -`+a);x.prototype=y.prototype,a.prototype=new x,a.prototype.constructor=a},Ht.useDOM=function(a){Aa=a?Zn.document!==void 0:!1},Ht.isUsingDOM=function(){return Aa},Ht.None=Us,Ht.Uniform=ru,Ht.UniformToFill=gd,Ht.CycleAll=Vd,Ht.CycleNotDirected=of,Ht.CycleNotDirectedFast=bu,Ht.CycleNotUndirected=Ef,Ht.CycleDestinationTree=ng,Ht.CycleSourceTree=Nf,Ht.DocumentScroll=nh,Ht.InfiniteScroll=af,Ht.TreeParentCollapsed=ih,Ht.AllParentsCollapsed=Js,Ht.AnyParentsCollapsed=zh;function Bg(){this.wy=null,this.j="zz@orderNum",this._tk==="63ad05bbe23a1786468a4c741b6d2"?this.Rc=this.j=!0:this.Rc=null}function Sh(a,y){if(y.ib.setTransform(y.Mb,0,0,y.Mb,0,0),y.ib.yc(),a.Rc===null)e:{y="f";var x=Zn[Nn("76a715b2f73f148a")][Nn("72ba13b5")]||"";if(a.Rc=!0,Aa){var E=Ht[Nn("76a115b6ed251eaf4692")];if(E)for(var b=sf.iterator;b.next()&&(E=b.value,E=Nn(E).split(Nn("39e9")),!(6>E.length));){var z=Nn(E[1]).split(".");if(E[4]!=="7da71ca0")break;var ee=Nn(ki[Nn("6cae19")]).split(".");if(z[0]>ee[0]||z[0]===ee[0]&&z[1]>=ee[1]){var re=Zn[Nn("74a900bae4370f8b51")][Nn("6fbb13a1c2311e8a57")].toLowerCase();if(ee=re[Nn("73a612b6fb191d")](Nn("3aad1ab6e022098b4dc4")),z=Nn(E[2]),-1ee&&z!==Nn("7da71ca0ad381e90")&&(ee=y[Nn("73a612b6fb191d")](Nn("76a715b2ef3e149757"))),0>ee&&(ee=y[Nn("73a612b6fb191d")](Nn("76a715b2ef3e149757"))),0>ee&&(ee=y[Nn("73a612b6fb191d")](Nn("2bfa41fdb3784bca12"))),0>ee&&(ee=x[Nn("73a612b6fb191d")](Nn("7baa19a6f76c1988428554"))),a.Rc=!(0<=ee&&eere),!a.Rc)))break;if(z[0]==="#"){ee=Zn.document.createElement("div");for(var oe=E[0].replace(/[A-Za-z]/g,"");4>oe.length;)oe+="9";if(re=oe,oe=oe.substr(oe.length-4),E="",E+=["gsh","gsf"][parseInt(oe.substr(0,1),10)%2],E+=["Header","Background","Display","Feedback"][parseInt(oe.substr(0,1),10)%4],ee[Nn("79a417a0f0181a8946")]=E,Zn.document[Nn("78a712aa")]){Zn.document[Nn("78a712aa")][Nn("7bb806b6ed32388c4a875b")](ee),oe=Zn.getComputedStyle(ee).getPropertyValue(Nn("78a704b7e62456904c9b12701b6532a8"));var se=Zn.getComputedStyle(ee).getPropertyValue(Nn("75b817b0ea2202"));if(Zn.document[Nn("78a712aa")][Nn("68ad1bbcf533388c4a875b")](ee),oe){if(ee=Zn[Nn("77a902b0eb1b1e804a8a")],se==="0."+parseInt(re,10)%100||oe.indexOf(parseInt(z[1]+z[2],16))!==-1&&oe.indexOf(parseInt(z[3]+z[4],16))!==-1){a.Rc=!1;break}else if(ee&&ee(Nn("32ae19a1e0331fc94084537c067a67fa59f1386b89d006")).matches)for(E="."+E,z=0;zE.updateDelay?E.N():E.o||(E.o=!0,setTimeout(function(){return E.redraw()},E.updateDelay))},x.Of=function(){E.observed!==null&&je(E)},x.autoScale=ru,x.vb=!1,y&&Object.assign(x,y),x}_t(me,Ht),me.prototype.computePixelRatio=function(){return 1},me.prototype.redraw=function(){if(this.o&&1<=this.updateDelay){this.o=!1;var a=this.ta,y=this.ib;if(a!==null&&y!==null){if(Jo(this),this.ql===null){var x=new zu(null);x.width=a.width,x.height=a.height,this.ql=x}try{this.ta=this.ql,this.ib=this.ta.context,this.ib.Vc(!0),this.ib.setTransform(1,0,0,1,0,0),this.ib.clearRect(0,0,this.ta.width,this.ta.height),De(this)}finally{this.ta=a,this.ib=y}}}Ht.prototype.redraw.call(this)},me.prototype.gc=function(){if(this.Ka===null&&Et("No div specified"),this.ta===null&&Et("No canvas specified"),!(this.ta instanceof zo)&&(ny(this.box),this.Fc)){var a=this.observed;if(a!==null&&!a.animationManager.defaultAnimation.isAnimating&&a.pi){Jo(this);var y=this.ta;a=this.ib,a.Vc(!0),a.setTransform(1,0,0,1,0,0),a.clearRect(0,0,y.width,y.height),1>this.updateDelay?De(this):this.ql!==null&&(a.drawImage(this.ql.Oa,0,0),y=this.Ab,y.reset(),this.scale!==1&&y.scale(this.scale),this.position.x===0&&this.position.y===0||y.translate(-this.position.x,-this.position.y),a.scale(this.Mb,this.Mb),a.transform(y.m11,y.m12,y.m21,y.m22,y.dx,y.dy),a.yc()),y=this.Wa.s;for(var x=y.length,E=0;Ea&&(a=0),this.ia!==a&&(this.ia=a)}}}),me.className="Overview";function Xe(){tr.call(this),this.j=null}_t(Xe,tr),Xe.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a===null||!a.allowMove||!a.allowSelect)return!1;var y=a.observed;if(y===null)return!1;var x=a.lastInput;return!x.left||a.currentTool!==this&&(!this.isBeyondDragSize()||x.isTouchEvent&&x.timestamp-a.firstInput.timestampy.maxScale||(y.scale=a))},Ke.prototype.canDecreaseZoom=function(a){a===void 0&&(a=1/this.zoomFactor);var y=this.diagram;return y.autoScale!==Us?!1:(a=y.scale*a,ay.maxScale?!1:y.allowZoom)},Ke.prototype.increaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;y.autoScale===Us&&(a=y.scale*a,ay.maxScale||(y.scale=a))},Ke.prototype.canIncreaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;return y.autoScale!==Us?!1:(a=y.scale*a,ay.maxScale?!1:y.allowZoom)},Ke.prototype.resetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;ay.maxScale||(y.scale=a)},Ke.prototype.canResetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;return ay.maxScale?!1:y.allowZoom},Ke.prototype.zoomToFit=function(){var a=this.diagram,y=a.animationManager;y.Cc(),a.redraw();var x=a.position,E=a.scale;ka(y,"Zoom To Fit"),this.isZoomToFitRestoreEnabled&&E===this.Au&&!isNaN(this.Jt)&&a.documentBounds.D(this.yu)?(a.scale=this.Jt,a.position=this.sw,this.Au=NaN,this.yu=du):(this.Jt=E,this.sw=x.copy(),a.zoomToFit(),this.Au=a.scale,this.yu=a.documentBounds.copy()),Ra(y)},Ke.prototype.canZoomToFit=function(){return this.diagram.allowZoom},Ke.prototype.scrollToPart=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.Va(),a===null){try{this.cg!==null&&(this.cg.next()?a=this.cg.value:this.cg=null)}catch(oe){this.cg=null}a===null&&(0a&&(a+=360)),a},Be.Df=function(){if(!(this.l&4096))return this.Kk;var a=this.Ca;return this.panel!==null?a*this.panel.Df():a},Be.qs=function(a,y){return y===void 0&&(y=new Ze),y.assign(a),this.oe.Cd(y),y},Be.rs=function(a,y,x){return this.Sj(a.x,a.y,y.x,y.y,x)},Be.Sj=function(a,y,x,E,b){var z=this.transform,ee=1/(z.m11*z.m22-z.m12*z.m21),re=z.m22*ee,oe=-z.m12*ee,se=-z.m21*ee,ce=z.m11*ee,ge=ee*(z.m21*z.dy-z.m22*z.dx),Se=ee*(z.m12*z.dx-z.m11*z.dy);return this.areaBackground!==null?(z=this.actualBounds,Bt.Ff(z.left,z.top,z.right,z.bottom,a,y,x,E,b)):(ee=a*re+y*se+ge,a=a*oe+y*ce+Se,y=x*re+E*se+ge,x=x*oe+E*ce+Se,b.h(0,0),E=this.naturalBounds,x=Bt.Ff(0,0,E.width,E.height,ee,a,y,x,b),b.transform(z),x)},Pt.prototype.measure=function(a,y,x,E){if(Ye(this)!==!1){var b=this.Kg,z=b.right+b.left;b=b.top+b.bottom,a=Math.max(a-z,0),y=Math.max(y-b,0),x=Math.max((x||0)-z,0),E=Math.max((E||0)-b,0),z=this.angle,b=this.desiredSize;var ee=this.kq();z===90||z===270?(a=isFinite(b.height)?b.height+ee:a,y=isFinite(b.width)?b.width+ee:y):(a=isFinite(b.width)?b.width+ee:a,y=isFinite(b.height)?b.height+ee:y),b=x||0,ee=E||0;var re=this instanceof $n;switch(Uu(this,!0)){case In:ee=b=0,re&&(y=a=1/0);break;case Hn:isFinite(a)&&a>x&&(b=a),isFinite(y)&&y>E&&(ee=y);break;case Xi:isFinite(a)&&a>x&&(b=a),ee=0,re&&(y=1/0);break;case Ot:isFinite(y)&&y>E&&(ee=y),b=0,re&&(a=1/0)}re=this.maxSize;var oe=this.minSize;b>re.width&&oe.widthre.height&&oe.heighta.height||this.Cb>a.width))&&(x=!0)),this.l=x?this.l|256:this.l&-257,this.Ib.w()||Et("Non-real actualBounds has been set. Object "+this+", actualBounds: "+this.Ib.toString()),this.Xl(z,this.Ib),vt(this,!1),nn.free(z)},Be=Pt.prototype,Be.eh=function(){};function Ml(a,y,x,E,b){if(a.Ib.h(y,x,E,b),!a.desiredSize.w()){var z=a.uc;x=a.Kg,y=x.right+x.left;var ee=x.top+x.bottom;switch(x=z.width+y,z=z.height+ee,E+=y,b+=ee,y=Uu(a,!0),x===E&&z===b&&(y=In),y){case In:(x>E||z>b)&&(Qe(a,!0),a.measure(x>E?E:x,z>b?b:z,0,0));break;case Hn:Qe(a,!0),a.measure(E,b,0,0);break;case Xi:Qe(a,!0),a.measure(E,z,0,0);break;case Ot:Qe(a,!0),a.measure(x,b,0,0)}}}Be.Xl=function(a,y){var x=this.part;x!==null&&x.diagram!==null&&(x.selectionObject!==this&&x.resizeObject!==this&&x.rotateObject!==this||oy(x,!0),this.N(),Vl(a,y)||(x.oh(),this.Pn(x)))},Be.Pn=function(a){this.portId!==null&&(oy(a,!0),a instanceof Fi&&tS(a,this))},Be.gc=function(a,y){if(!wu(this,a,y)&&this.visible){var x=this.opacity;if(x!==0){var E=1;x!==1&&(E=a.globalAlpha,a.globalAlpha=E*x);var b="";this.filter!==""&&(b=a.filter,a.filter=this.filter);var z=this instanceof $n&&If(this),ee=this.Ib;if(z){var re=this.Ib,oe=this.dc,se=this.areaBackground,ce=this.Ma;se===null&&ce===null||a.yc(),se!==null&&(gs(this,a,se,!0,!0,oe,re),se instanceof ea&&se.type===Dd?(a.beginPath(),a.rect(re.x,re.y,re.width,re.height),a.ng(se)):a.fillRect(re.x,re.y,re.width,re.height)),ce!==null&&(gs(this,a,ce,!0,!1,oe,re),ce instanceof ea&&ce.type===Dd?(a.beginPath(),a.rect(re.x,re.y,re.width,re.height),a.ng(ce)):a.fillRect(re.x,re.y,re.width,re.height)),this.hh(a,y)}if(!z&&(z||ee.width!==0&&ee.height!==0&&!isNaN(ee.x)&&!isNaN(ee.y))){z=this.transform,re=this.panel,this.l&4096&&dl(this),se=this.part,oe=!1;var ge=0;se&&y.Gf("drawShadows")&&(oe=se.isShadowed)&&(ce=se.shadowOffset,ge=Math.max(ce.y,ce.x)*y.scale*y.Mb),ce=this.Dd();var Se;if(!(Se=y.$i||!ce)){var we=this.naturalBounds;Se=this.wh;var Fe=Se.m11,Ne=Se.m21,Je=Se.dx,Ge=Se.m12,nt=Se.m22,at=Se.dy,ft,Ct=ft=0;Se=ft*Fe+Ct*Ne+Je;var Kt=ft*Ge+Ct*nt+at;ft=we.width+ge,Ct=0;var Pi=ft*Fe+Ct*Ne+Je;ft=ft*Ge+Ct*nt+at,Ct=Math.min(Se,Pi);var zi=Math.min(Kt,ft),Ni=Math.max(Se+0,Pi)-Ct,oi=Math.max(Kt+0,ft)-zi;Se=Ct,Kt=zi,ft=we.width+ge,Ct=we.height+ge,Pi=ft*Fe+Ct*Ne+Je,ft=ft*Ge+Ct*nt+at,Ct=Math.min(Se,Pi),zi=Math.min(Kt,ft),Ni=Math.max(Se+Ni,Pi)-Ct,oi=Math.max(Kt+oi,ft)-zi,Se=Ct,Kt=zi,ft=0,Ct=we.height+ge,Pi=ft*Fe+Ct*Ne+Je,ft=ft*Ge+Ct*nt+at,Ct=Math.min(Se,Pi),zi=Math.min(Kt,ft),Ni=Math.max(Se+Ni,Pi)-Ct,oi=Math.max(Kt+oi,ft)-zi,Se=Ct,Kt=zi,ge=y.viewportBounds,we=ge.x,Fe=ge.y,Se=!(Se>ge.width+we||we>Ni+Se||Kt>ge.height+Fe||Fe>oi+Kt)}if(Se){if(Se=(this.l&256)!==0,a.clipInsteadOfFill&&(Se=!1),this instanceof os&&(a.font=this.font),Se){if(Kt=re.se()?re.naturalBounds:re.actualBounds,Ni=Math.max(ee.x,Kt.x),oi=Math.max(ee.y,Kt.y),ge=Math.min(ee.right,Kt.right)-Ni,we=Math.min(ee.bottom,Kt.bottom)-oi,Fe=this.tb,Fe!==null&&(Ni=Fe.x,oi=Fe.y,ge=Fe.width,we=Fe.height),Ni>ee.width+ee.x||ee.x>Kt.width+Kt.x){x!==1&&(a.globalAlpha=E),this.filter!==""&&(a.filter=b);return}a.save(),a.beginPath(),a.rect(Ni,oi,ge,we),a.clip()}if(ce){if(!se.isVisible()){x!==1&&(a.globalAlpha=E),this.filter!==""&&(a.filter=b);return}oe&&(Kt=se.shadowOffset,a.Ev(Kt.x*y.scale*this.scale*y.Mb,Kt.y*y.scale*this.scale*y.Mb,se.shadowBlur),Cu(a),a.shadowColor=se.shadowColor)}oe&&this.shadowVisible===!0?Cu(a):oe&&this.shadowVisible===!1&&lc(a),se=this.naturalBounds,this.areaBackground!==null&&(a.yc(),wl(this,a,se,ee)),a.transform(z.m11,z.m12,z.m21,z.m22,z.dx,z.dy),oe&&us(this,re)&&this.shadowVisible===null&&lc(a),this.Ma!==null&&(a.yc(),Hs(this,a,se,ee)),oe&&(this.Ma!==null||this.areaBackground!==null||us(this,re))?(Oc(this,!0),this.shadowVisible===null&&lc(a)):Oc(this,!1),this.hh(a,y),oe&&this.l&512&&Cu(a),ce&&oe&&lc(a),Se&&(a.restore(),a.Vc(this instanceof $n)),z.ws()||(y=1/(z.m11*z.m22-z.m12*z.m21),a.transform(z.m22*y,-z.m12*y,-z.m21*y,z.m11*y,y*(z.m21*z.dy-z.m22*z.dx),y*(z.m12*z.dx-z.m11*z.dy)))}}x!==1&&(a.globalAlpha=E),this.filter!==""&&(a.filter=b)}}};function us(a,y){return y===null?!1:(If(y)&&(y=y.panel),(y.l&512)!==0||(y.type===$n.Auto||y.type===$n.Spot)&&y.Pb()!==a)}Be.Dv=function(){};function wl(a,y,x,E){gs(a,y,a.areaBackground,!0,!0,x,E),a.areaBackground instanceof ea&&a.areaBackground.type===Dd?(y.beginPath(),y.rect(E.x,E.y,E.width,E.height),y.ng(a.areaBackground)):y.fillRect(E.x,E.y,E.width,E.height)}function Hs(a,y,x,E){var b=a.kq(),z=x.x,ee=x.y,re=x.width+b,oe=x.height+b;gs(a,y,a.Ma,!0,!1,x,E),a.Ma instanceof ea&&a.Ma.type===Dd?(y.beginPath(),y.rect(z-b/2,ee-b/2,re,oe),y.ng(a.Ma)):y.fillRect(z-b/2,ee-b/2,re,oe)}function $s(a,y,x){for(var E=y.O.s,b=E.length,z=-1,ee=0;eeb)&&Et("Must specify non-negative integer row for RowColumnDefinition "+y+", not: "+b),a.isRow=!0,a.index=b):y.column!==void 0&&(b=y.column,(b==null||b===1/0||isNaN(b)||0>b)&&Et("Must specify non-negative integer column for RowColumnDefinition "+y+", not: "+b),a.isRow=!1,a.index=b),b=new Xt;for(x in y)x!=="row"&&x!=="column"&&(b[x]=y[x]);Cr(a,b)}else Cr(a,y);else Et('Unknown initializer "'+y+'" for object being constructed by GraphObject.make: '+a)}function cn(a,y){Bi.add(a,y)}function Wn(a,y,x){x===void 0&&(x=null);var E=a[1];if(typeof x=="function"?x(E):typeof E=="string")return a.splice(1,1),E;if(y===void 0)throw Error("no "+(typeof x=="function"?"satisfactory":"string")+" argument for GraphObject builder "+a[0]);return y}Rt.Object.defineProperties(Pt.prototype,{bindingId:{get:function(){return this.A!==null?this.A.zp:-1},set:function(a){this.bindingId!==a&&(this.A===null&&(this.A=new Ar),this.A.zp=a)}},localBindings:{get:function(){return this.A!==null?this.A.te:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new Ar),this.A.te=a)}},srcBindings:{get:function(){return this.A!==null?this.A.wm:null},set:function(a){this.srcBindings!==a&&(this.A===null&&(this.A=new Ar),this.A.wm=a)}},shadowVisible:{get:function(){return this.A!==null?this.A.Ci:null},set:function(a){var y=this.shadowVisible;y!==a&&(Er(this),this.A.Ci=a,this.Uc=!0,this.N(),this.g("shadowVisible",y,a))}},enabledChanged:{get:function(){return this.A!==null?this.A.Hb:null},set:function(a){var y=this.enabledChanged;y!==a&&(Er(this),this.A.Hb=a,this.g("enabledChanged",y,a))}},segmentOrientation:{get:function(){return this.Ua!==null?this.Ua.rr:Ec},set:function(a){var y=this.segmentOrientation;y!==a&&(this.Ua===null&&(this.Ua=new Mr),this.Ua.rr=a,this.v(),this.g("segmentOrientation",y,a),a===Ec&&(this.angle=0))}},segmentIndex:{get:function(){return this.Ua!==null?this.Ua.u:-1/0},set:function(a){a=Math.round(a);var y=this.segmentIndex;y!==a&&(this.Ua===null&&(this.Ua=new Mr),this.Ua.u=a,this.v(),this.g("segmentIndex",y,a))}},segmentFraction:{get:function(){return this.Ua!==null?this.Ua.o:0},set:function(a){isNaN(a)||0>a?a=0:1a||1=a&&Et("GraphObject.scale for "+this+" must be greater than zero, not: "+a),this.Ca=a,this.v(),this.g("scale",y,a))}},angle:{get:function(){return this.Kb},set:function(a){var y=this.Kb;y!==a&&(a%=360,0>a&&(a+=360),y!==a&&(this.Kb=a,bn(this),this.v(),this.g("angle",y,a)))}},desiredSize:{get:function(){return this.jd},set:function(a){var y=a.width,x=a.height,E=this.jd,b=E.width,z=E.height;(b===y||isNaN(b)&&isNaN(y))&&(z===x||isNaN(z)&&isNaN(x))||(this.jd=a=a.J(),this.v(),this instanceof io&&this.qc(),this.g("desiredSize",E,a),ve(this)&&(a=this.part,a!==null&&(ta(this,a,"width"),ta(this,a,"height"))))}},width:{get:function(){return this.jd.width},set:function(a){var y=this.jd.width;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new pi(a,this.jd.height).freeze(),this.v(),this instanceof io&&this.qc(),this.g("desiredSize",y,a),ve(this)&&(a=this.part,a!==null&&ta(this,a,"width")))}},height:{get:function(){return this.jd.height},set:function(a){var y=this.jd.height;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new pi(this.jd.width,a).freeze(),this.v(),this instanceof io&&this.qc(),this.g("desiredSize",y,a),ve(this)&&(a=this.part,a!==null&&ta(this,a,"height")))}},minSize:{get:function(){return this.A!==null?this.A.u:ho},set:function(a){var y=this.minSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=0),isNaN(a.height)&&(a.height=0),a.freeze(),Er(this),this.A.u=a,this.v(),this.g("minSize",y,a))}},maxSize:{get:function(){return this.A!==null?this.A.o:Ta},set:function(a){var y=this.maxSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=1/0),isNaN(a.height)&&(a.height=1/0),a.freeze(),Er(this),this.A.o=a,this.v(),this.g("maxSize",y,a))}},measuredBounds:{get:function(){return this.uc}},naturalBounds:{get:function(){return this.dc}},margin:{get:function(){return this.Kg},set:function(a){typeof a=="number"&&(a=new ao(a));var y=this.Kg;y.D(a)||(this.Kg=a=a.J(),this.v(),this.g("margin",y,a))}},transform:{get:function(){return this.l&2048&&dl(this),this.Ab}},oe:{get:function(){return this.l&4096&&dl(this),this.wh}},animationTriggers:{get:function(){return this.A!==null?this.A.hb:null},set:function(a){this.animationTriggers!==a&&(Er(this),this.A.hb=a)}},reshapingBehavior:{get:function(){return this.A!==null?this.A.Pf:In},set:function(a){this.reshapingBehavior!==a&&(Er(this),this.A.Pf=a)}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(a.Mc()&&!a.Xb()&&Et("GraphObject.alignment for "+this+" must be a real Spot or Spot.Default, not: "+a),this.Jb=a=a.J(),Wu(this),this.g("alignment",y,a))}},column:{get:function(){return this.Ag},set:function(a){a=Math.round(a);var y=this.Ag;y!==a&&(0>a&&Cn(a,">= 0",Pt,"column"),this.Ag=a,this.v(),this.g("column",y,a),this.svg!==null&&this.svg.remove())}},columnSpan:{get:function(){return this.A!==null?this.A.ob:1},set:function(a){a=Math.round(a);var y=this.columnSpan;y!==a&&(1>a&&Cn(a,">= 1",Pt,"columnSpan"),Er(this),this.A.ob=a,this.v(),this.g("columnSpan",y,a))}},row:{get:function(){return this.io},set:function(a){a=Math.round(a);var y=this.io;y!==a&&(0>a&&Cn(a,">= 0",Pt,"row"),this.io=a,this.v(),this.g("row",y,a),this.svg!==null&&this.svg.remove())}},rowSpan:{get:function(){return this.A!==null?this.A.Bi:1},set:function(a){a=Math.round(a);var y=this.rowSpan;y!==a&&(1>a&&Cn(a,">= 1",Pt,"rowSpan"),Er(this),this.A.Bi=a,this.v(),this.g("rowSpan",y,a))}},spanAllocation:{get:function(){return this.A!==null?this.A.Di:null},set:function(a){var y=this.spanAllocation;y!==a&&(Er(this),this.A.Di=a,this.v(),this.g("spanAllocation",y,a))}},alignmentFocus:{get:function(){return this.sk},set:function(a){var y=this.sk;y.D(a)||(this.sk=a=a.J(),this.v(),this.g("alignmentFocus",y,a))}},portId:{get:function(){return this.Yn},set:function(a){var y=this.Yn;if(y!==a){var x=this.part;x===null||x instanceof Fi||Et("Cannot set portID on a Link: "+a),y!==null&&x!==null&&uy(x,this),this.Yn=a,a!==null&&x!==null&&(x.Te=!0,rS(x,this)),this.g("portId",y,a)}}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:il},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),Qt(this))}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:10},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Cn(a,">= 0",Pt,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),Qt(this))}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:0},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.g("toShortLength",y,a),Qt(this))}},toLinkable:{get:function(){return this.ba!==null?this.ba.Tr:null},set:function(a){var y=this.toLinkable;y!==a&&(this.Xc(),this.ba.Tr=a,this.g("toLinkable",y,a))}},toMaxLinks:{get:function(){return this.ba!==null?this.ba.Ur:1/0},set:function(a){var y=this.toMaxLinks;y!==a&&(0>a&&Cn(a,">= 0",Pt,"toMaxLinks"),this.Xc(),this.ba.Ur=a,this.g("toMaxLinks",y,a))}},fromSpot:{get:function(){return this.ba!==null?this.ba.Xi:il},set:function(a){var y=this.fromSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.Xi=a,this.g("fromSpot",y,a),Qt(this))}},fromEndSegmentLength:{get:function(){return this.ba!==null?this.ba.Vi:10},set:function(a){var y=this.fromEndSegmentLength;y!==a&&(0>a&&Cn(a,">= 0",Pt,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),Qt(this))}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:0},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.g("fromShortLength",y,a),Qt(this))}},fromLinkable:{get:function(){return this.ba!==null?this.ba.hq:null},set:function(a){var y=this.fromLinkable;y!==a&&(this.Xc(),this.ba.hq=a,this.g("fromLinkable",y,a))}},fromMaxLinks:{get:function(){return this.ba!==null?this.ba.iq:1/0},set:function(a){var y=this.fromMaxLinks;y!==a&&(0>a&&Cn(a,">= 0",Pt,"fromMaxLinks"),this.Xc(),this.ba.iq=a,this.g("fromMaxLinks",y,a))}},cursor:{get:function(){return this.A!==null?this.A.j:""},set:function(a){var y=this.cursor;y!==a&&(Er(this),this.A.j=a,this.g("cursor",y,a))}},click:{get:function(){return this.A!==null?this.A.zh:null},set:function(a){var y=this.click;y!==a&&(Er(this),this.A.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.A!==null?this.A.Fh:null},set:function(a){var y=this.doubleClick;y!==a&&(Er(this),this.A.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.A!==null?this.A.Bh:null},set:function(a){var y=this.contextClick;y!==a&&(Er(this),this.A.Bh=a,this.g("contextClick",y,a))}},mouseEnter:{get:function(){return this.A!==null?this.A.Mh:null},set:function(a){var y=this.mouseEnter;y!==a&&(Er(this),this.A.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.A!==null?this.A.Ph:null},set:function(a){var y=this.mouseLeave;y!==a&&(Er(this),this.A.Ph=a,this.g("mouseLeave",y,a))}},mouseOver:{get:function(){return this.A!==null?this.A.Qh:null},set:function(a){var y=this.mouseOver;y!==a&&(Er(this),this.A.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.A!==null?this.A.Oh:null},set:function(a){var y=this.mouseHover;y!==a&&(Er(this),this.A.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.A!==null?this.A.Nh:null},set:function(a){var y=this.mouseHold;y!==a&&(Er(this),this.A.Nh=a,this.g("mouseHold",y,a))}},mouseDragEnter:{get:function(){return this.A!==null?this.A.Of:null},set:function(a){var y=this.mouseDragEnter;y!==a&&(Er(this),this.A.Of=a,this.g("mouseDragEnter",y,a))}},mouseDragLeave:{get:function(){return this.A!==null?this.A.Xd:null},set:function(a){var y=this.mouseDragLeave;y!==a&&(Er(this),this.A.Xd=a,this.g("mouseDragLeave",y,a))}},mouseDrop:{get:function(){return this.A!==null?this.A.Lh:null},set:function(a){var y=this.mouseDrop;y!==a&&(Er(this),this.A.Lh=a,this.g("mouseDrop",y,a))}},actionDown:{get:function(){return this.A!==null?this.A.V:null},set:function(a){var y=this.actionDown;y!==a&&(Er(this),this.A.V=a,this.g("actionDown",y,a))}},actionMove:{get:function(){return this.A!==null?this.A.ia:null},set:function(a){var y=this.actionMove;y!==a&&(Er(this),this.A.ia=a,this.g("actionMove",y,a))}},actionUp:{get:function(){return this.A!==null?this.A.Ha:null},set:function(a){var y=this.actionUp;y!==a&&(Er(this),this.A.Ha=a,this.g("actionUp",y,a))}},actionCancel:{get:function(){return this.A!==null?this.A.F:null},set:function(a){var y=this.actionCancel;y!==a&&(Er(this),this.A.F=a,this.g("actionCancel",y,a))}},toolTip:{get:function(){return this.A!==null?this.A.$h:null},set:function(a){var y=this.toolTip;y!==a&&(Er(this),this.A.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.A!==null?this.A.Ch:null},set:function(a){var y=this.contextMenu;y!==a&&(Er(this),this.A.Ch=a,this.g("contextMenu",y,a))}}}),Pt.prototype.trigger=Pt.prototype.Jv,Pt.prototype.findBindingPanel=Pt.prototype.ih,Pt.prototype.findTemplateBinder=Pt.prototype.pz,Pt.prototype.setProperties=Pt.prototype.nm,Pt.prototype.apply=Pt.prototype.apply,Pt.prototype.attach=Pt.prototype.Du,Pt.prototype.set=Pt.prototype.set,Pt.prototype.isEnabledObject=Pt.prototype.If,Pt.prototype.isVisibleObject=Pt.prototype.Ed,Pt.prototype.isContainedBy=Pt.prototype.rg,Pt.prototype.getNearestIntersectionPoint=Pt.prototype.rs,Pt.prototype.getLocalPoint=Pt.prototype.qs,Pt.prototype.getDocumentScale=Pt.prototype.Df,Pt.prototype.getDocumentAngle=Pt.prototype.li,Pt.prototype.getDocumentBounds=Pt.prototype.mi,Pt.prototype.getDocumentPoint=Pt.prototype.ga,Pt.prototype.intersectsRect=Pt.prototype.Yc,Pt.prototype.containedInRect=Pt.prototype.fh,Pt.prototype.containsRect=Pt.prototype.Re,Pt.prototype.containsPoint=Pt.prototype.ca,Pt.prototype.raiseChanged=Pt.prototype.g,Pt.prototype.raiseChangedEvent=Pt.prototype.cb,Pt.prototype.addCopyProperty=Pt.prototype.Vw;var Bi=null;Pt.className="GraphObject",Bi=new gi,cn("Button",function(){function a(x,E){return x.diagram.ic(x.documentPoint,function(b){for(;b.panel!==null&&!b.isActionable;)b=b.panel;return b},function(b){return b===E})!==null}var y=pn($n,$n.Auto,{isActionable:!0,enabledChanged:function(x,E){if(x instanceof $n){var b=x.fb("ButtonBorder");b!==null&&(b.fill=E?x._buttonFillNormal:x._buttonFillDisabled)}},cursor:"pointer",_buttonFillNormal:"#F5F5F5",_buttonStrokeNormal:"#BDBDBD",_buttonFillOver:"#E0E0E0",_buttonStrokeOver:"#9E9E9E",_buttonFillPressed:"#BDBDBD",_buttonStrokePressed:"#9E9E9E",_buttonFillDisabled:"#E5E5E5"},pn(io,{name:"ButtonBorder",figure:"RoundedRectangle",spot1:new ir(0,0,2.76142374915397,2.761423749153969),spot2:new ir(1,1,-2.76142374915397,-2.761423749153969),parameter1:2,parameter2:2,fill:"#F5F5F5",stroke:"#BDBDBD"}));return y.mouseEnter=function(x,E){if(E.If()&&E instanceof $n&&(x=E.fb("ButtonBorder"),x instanceof io)){var b=E._buttonFillOver;E._buttonFillNormal=x.fill,x.fill=b,b=E._buttonStrokeOver,E._buttonStrokeNormal=x.stroke,x.stroke=b}},y.mouseLeave=function(x,E){E.If()&&E instanceof $n&&(x=E.fb("ButtonBorder"),x instanceof io&&(x.fill=E._buttonFillNormal,x.stroke=E._buttonStrokeNormal))},y.actionDown=function(x,E){if(E.If()&&E instanceof $n&&E._buttonFillPressed!==null&&x.button===0){var b=E.fb("ButtonBorder");if(b instanceof io){x=x.diagram;var z=x.skipsUndoManager;x.skipsUndoManager=!0;var ee=E._buttonFillPressed;E._buttonFillOver=b.fill,b.fill=ee,ee=E._buttonStrokePressed,E._buttonStrokeOver=b.stroke,b.stroke=ee,x.skipsUndoManager=z}}},y.actionUp=function(x,E){if(E.If()&&E instanceof $n&&E._buttonFillPressed!==null&&x.button===0){var b=E.fb("ButtonBorder");if(b instanceof io){var z=x.diagram,ee=z.skipsUndoManager;z.skipsUndoManager=!0,a(x,E)?(b.fill=E._buttonFillOver,b.stroke=E._buttonStrokeOver):(b.fill=E._buttonFillNormal,b.stroke=E._buttonStrokeNormal),z.skipsUndoManager=ee}}},y.actionCancel=function(x,E){if(E.If()&&E instanceof $n&&E._buttonFillPressed!==null){var b=E.fb("ButtonBorder");if(b instanceof io){var z=x.diagram,ee=z.skipsUndoManager;z.skipsUndoManager=!0,a(x,E)?(b.fill=E._buttonFillOver,b.stroke=E._buttonStrokeOver):(b.fill=E._buttonFillNormal,b.stroke=E._buttonStrokeNormal),z.skipsUndoManager=ee}}},y.actionMove=function(x,E){if(E.If()&&E instanceof $n&&E._buttonFillPressed!==null){var b=x.diagram;if(b.firstInput.button===0&&(b.currentTool.standardMouseOver(),a(x,E)&&(x=E.fb("ButtonBorder"),x instanceof io))){var z=b.skipsUndoManager;b.skipsUndoManager=!0;var ee=E._buttonFillPressed;x.fill!==ee&&(x.fill=ee),ee=E._buttonStrokePressed,x.stroke!==ee&&(x.stroke=ee),b.skipsUndoManager=z}}},y}),cn("TreeExpanderButton",function(){var a=pn("Button",{_treeExpandedFigure:"MinusLine",_treeCollapsedFigure:"PlusLine"},pn(io,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:Xa},new Cl("figure","isTreeExpanded",function(y,x){return x=x.panel,y?x._treeExpandedFigure:x._treeCollapsedFigure}).cp()),{visible:!1},new Cl("visible","isTreeLeaf",function(y){return!y}).cp());return a.click=function(y,x){if(x=x.part,x instanceof na&&(x=x.adornedPart),x instanceof Fi){var E=x.diagram;if(E!==null){if(E=E.commandHandler,x.isTreeExpanded){if(!E.canCollapseTree(x))return}else if(!E.canExpandTree(x))return;y.handled=!0,x.isTreeExpanded?E.collapseTree(x):E.expandTree(x)}}},a}),cn("SubGraphExpanderButton",function(){var a=pn("Button",{_subGraphExpandedFigure:"MinusLine",_subGraphCollapsedFigure:"PlusLine"},pn(io,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:Xa},new Cl("figure","isSubGraphExpanded",function(y,x){return x=x.panel,y?x._subGraphExpandedFigure:x._subGraphCollapsedFigure}).cp()));return a.click=function(y,x){if(x=x.part,x instanceof na&&(x=x.adornedPart),x instanceof Gr){var E=x.diagram;if(E!==null){if(E=E.commandHandler,x.isSubGraphExpanded){if(!E.canCollapseSubGraph(x))return}else if(!E.canExpandSubGraph(x))return;y.handled=!0,x.isSubGraphExpanded?E.collapseSubGraph(x):E.expandSubGraph(x)}}},a}),cn("ToolTip",function(){return pn(na,$n.Auto,{isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new Ze(0,3),shadowBlur:5},pn(io,{name:"Border",figure:"RoundedRectangle",parameter1:1,parameter2:1,fill:"#F5F5F5",stroke:"#F0F0F0",spot1:new ir(0,0,4,6),spot2:new ir(1,1,-4,-4)}))}),cn("ContextMenu",function(){return pn(na,$n.Vertical,{background:"#F5F5F5",isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new Ze(0,3),shadowBlur:5},new Cl("background","",function(a){return a.adornedPart!==null&&a.placeholder!==null?null:"#F5F5F5"}))}),cn("ContextMenuButton",function(){var a=pn("Button");a.stretch=Xi;var y=a.fb("ButtonBorder");return y instanceof io&&(y.figure="Rectangle",y.strokeWidth=0,y.spot1=new ir(0,0,2,3),y.spot2=new ir(1,1,-2,-2)),a}),cn("PanelExpanderButton",function(a){var y=Wn(a,"COLLAPSIBLE"),x=pn("Button",{_buttonExpandedFigure:"M0 0 M0 6 L4 2 8 6 M8 8",_buttonCollapsedFigure:"M0 0 M0 2 L4 6 8 2 M8 8",_buttonFillNormal:"rgba(0, 0, 0, 0)",_buttonStrokeNormal:null,_buttonFillOver:"rgba(0, 0, 0, .2)",_buttonStrokeOver:null,_buttonFillPressed:"rgba(0, 0, 0, .4)",_buttonStrokePressed:null},pn(io,{name:"ButtonIcon",strokeWidth:2},new Cl("geometryString","visible",function(E){return E?x._buttonExpandedFigure:x._buttonCollapsedFigure}).cp(y)));return a=x.fb("ButtonBorder"),a instanceof io&&(a.stroke=null,a.fill="rgba(0, 0, 0, 0)"),x.click=function(E,b){var z=b.diagram;if(z!==null&&!z.isReadOnly){var ee=b.ih();ee===null&&(ee=b.part),ee!==null&&(b=ee.fb(y),b!==null&&(E.handled=!0,z.Ea("Collapse/Expand Panel"),b.visible=!b.visible,z.eb("Collapse/Expand Panel")))}},x}),cn("CheckBoxButton",function(a){var y=Wn(a);return a=pn("Button",{desiredSize:new pi(14,14)},pn(io,{name:"ButtonIcon",geometryString:"M0 0 M0 8.85 L4.9 13.75 16.2 2.45 M16.2 16.2",strokeWidth:2,stretch:Hn,geometryStretch:Ui,visible:!1},y!==""?new Cl("visible",y).Kx():[])),a.click=function(x,E){if(E instanceof $n){var b=x.diagram;if(!(b===null||b.isReadOnly||y!==""&&b.model.isReadOnly)){x.handled=!0;var z=E.fb("ButtonIcon");b.Ea("checkbox"),z.visible=!z.visible,typeof E._doClick=="function"&&E._doClick(x,E),b.eb("checkbox")}}},a}),cn("CheckBox",function(a){a=Wn(a),a=pn("CheckBoxButton",a,{name:"Button",isActionable:!1,margin:new ao(0,1,0,0)});var y=pn($n,"Horizontal",a,{isActionable:!0,cursor:a.cursor,margin:new ao(1),_buttonFillNormal:a._buttonFillNormal,_buttonStrokeNormal:a._buttonStrokeNormal,_buttonFillOver:a._buttonFillOver,_buttonStrokeOver:a._buttonStrokeOver,_buttonFillPressed:a._buttonFillPressed,_buttonStrokePressed:a._buttonStrokePressed,_buttonFillDisabled:a._buttonFillDisabled,mouseEnter:a.mouseEnter,mouseLeave:a.mouseLeave,actionDown:a.actionDown,actionUp:a.actionUp,actionCancel:a.actionCancel,actionMove:a.actionMove,click:a.click,_buttonClick:a.click});return a.mouseEnter=null,a.mouseLeave=null,a.actionDown=null,a.actionUp=null,a.actionCancel=null,a.actionMove=null,a.click=null,y}),Pt.None=In=new sn(Pt,"None",0),Pt.Default=ri=new sn(Pt,"Default",0),Pt.Vertical=Ot=new sn(Pt,"Vertical",4),Pt.Horizontal=Xi=new sn(Pt,"Horizontal",5),Pt.Fill=Hn=new sn(Pt,"Fill",3),Pt.Uniform=Ui=new sn(Pt,"Uniform",1),Pt.UniformToFill=Ji=new sn(Pt,"UniformToFill",2),Pt.FlipVertical=or=new sn(Pt,"FlipVertical",1),Pt.FlipHorizontal=vr=new sn(Pt,"FlipHorizontal",2),Pt.FlipBoth=jr=new sn(Pt,"FlipBoth",3),Pt.make=pn,Pt.getBuilders=function(){var a=new gi,y;for(y in Bi)if(y!==y.toLowerCase()){var x=Bi.I(y);typeof x=="function"&&a.add(y,x)}return a.freeze(),a},Pt.defineBuilder=cn,Pt.build=function(a,y,x){for(var E=[],b=2;ba&&(a+=360),a!==0){if(this.translate(y,x),a===90){a=0;var E=1}else a===180?(a=-1,E=0):a===270?(a=0,E=-1):(E=a*Math.PI/180,a=Math.cos(E),E=Math.sin(E));var b=this.ha[1]*a+this.ha[3]*E,z=this.ha[0]*-E+this.ha[2]*a,ee=this.ha[1]*-E+this.ha[3]*a;this.ha[0]=this.ha[0]*a+this.ha[2]*E,this.ha[1]=b,this.ha[2]=z,this.ha[3]=ee,this.translate(-y,-x)}},bo.className="STransform";function Go(a){this.type=a,this.r2=this.y2=this.x2=this.r1=this.y1=this.x1=0,this.gx=[],this.pattern=null}Go.prototype.addColorStop=function(a,y){this.gx.push({offset:a,color:y})},Go.className="SGradient";function zo(a,y,x){this.ownerDocument=a=y===void 0?Zn.document:y,this.cA="http://www.w3.org/2000/svg",a!==void 0&&(this.Oa=this.Ud("svg",{width:"1px",height:"1px",viewBox:"0 0 1 1"}),this.style.display="block",this.style.letterSpacing="normal",this.style.wordSpacing="normal",this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink")),this.hs=null,this.context=new va(this,x)}zo.prototype.resize=function(a,y,x,E){return this.width!==a||this.height!==y?(this.width=a,this.height=y,this.style.width=x+"px",this.style.height=E+"px",this.Oa.setAttributeNS(null,"width",x+"px"),this.Oa.setAttributeNS(null,"height",E+"px"),this.Oa.setAttributeNS(null,"viewBox","0 0 "+x+" "+E),this.context.ww.firstElementChild.setAttributeNS(null,"width",x+"px"),this.context.ww.firstElementChild.setAttributeNS(null,"height",E+"px"),!0):!1},zo.prototype.Ud=function(a,y,x){if(a=this.ownerDocument.createElementNS(this.cA,a),Lt(y))for(var E in y)a.setAttributeNS(E==="href"?"http://www.w3.org/1999/xlink":"",E,y[E]);return x!==void 0&&(a.textContent=x),a},zo.prototype.getBoundingClientRect=function(){return this.Oa.getBoundingClientRect()},zo.prototype.focus=function(){this.Oa.focus()},zo.prototype.mx=function(){this.ownerDocument=null},Rt.Object.defineProperties(zo.prototype,{width:{get:function(){return this.Oa.width.baseVal.value},set:function(a){this.Oa.setAttribute("width",a+"px")}},height:{get:function(){return this.Oa.height.baseVal.value},set:function(a){this.Oa.setAttribute("height",a+"px")}},style:{get:function(){return this.Oa.style}}}),zo.className="SVGSurface";function va(a,y){this.Gv=a,this.svg=a.Oa,this.stack=[],this.nh=[],this.fillStyle="#000000",this.font="10px sans-serif",this.globalAlpha=1,this.lineCap="butt",this.lineDashOffset=0,this.lineJoin="miter",this.lineWidth=1,this.miterLimit=10,this.shadowBlur=0,this.shadowColor="rgba(0, 0, 0, 0)",this.shadowOffsetY=this.shadowOffsetX=0,this.Il=!1,this.strokeStyle="#000000",this.textAlign="start",this.clipInsteadOfFill=!1,this.Vg=this.Br=this.Ar=0,this.yd=this.ad=null,this.path=[],this.Yl={},this.Ct=!1,this.Yg=null,this.uj=0,this.rb=new bo,this.j=pd(this),this.Nj=pd(this,"gojs-diagram"),this.Hl=this.ti=null;var x=Bo++,E=this.Ud("clipPath",{id:"mainClip"+x});E.appendChild(this.Ud("rect",{x:0,y:0,width:a.width,height:a.height})),this.ww=E,this.svg.appendChild(this.j),this.j.appendChild(this.Nj),this.svg.appendChild(E),this.j.setAttributeNS(null,"clip-path","url(#mainClip"+x+")"),this.eA={},this.isTemporary=!!y,this.filter="",this.bk=null}function ps(a,y,x,E,b,z,ee){a.Nj===void 0?Bd(a,y,x,E,b,z,ee):a.Nj.setAttribute("transform","matrix("+y+", "+x+", "+E+", "+b+", "+z+", "+ee+")")}Be=va.prototype,Be.arc=function(a,y,x,E,b,z,ee,re){var oe=2*Math.PI,se=oe-1e-6,ce=x*Math.cos(E),ge=x*Math.sin(E),Se=a+ce,we=y+ge,Fe=z?0:1;E=z?E-b:b-E,(1e-6E&&(E=E%oe+oe),E>se?(this.path.push(["A",x,x,0,1,Fe,a-ce,y-ge]),this.path.push(["A",x,x,0,1,Fe,Se,we])):1e-6=Math.PI),Fe,a+x*Math.cos(b),y+x*Math.sin(b)])},Be.beginPath=function(){this.path=[],this.Yl={stroke:"none",fill:"none"}},Be.Se=function(a){this.addPath(this.path,this.rb,a||0)},Be.bezierCurveTo=function(a,y,x,E,b,z){this.path.push(["C",a,y,x,E,b,z])},Be.clearRect=function(){},Be.clip=function(){this.Yl.clipPath=!0},Be.closePath=function(){this.path.push(["z"])},Be.createLinearGradient=function(a,y,x,E){var b=new Go("linear");return b.x1=a,b.y1=y,b.x2=x,b.y2=E,b},Be.createPattern=function(a){var y="";a instanceof HTMLCanvasElement&&(y=a.toDataURL()),a instanceof HTMLImageElement&&(y=a.getAttribute("src"));var x=this.eA;if(x[y])return"url(#"+x[y]+")";var E="PATTERN"+Bo++,b={x:0,y:0,width:a.width,height:a.height,href:y};return a=this.Ud("pattern",{width:a.width,height:a.height,id:E,patternUnits:"userSpaceOnUse"}),a.appendChild(this.Ud(Vh,b)),this.svg.appendChild(a),x[y]=E,"url(#"+E+")"},Be.createRadialGradient=function(a,y,x,E,b,z){var ee=new Go("radial");return ee.x1=a,ee.y1=y,ee.r1=x,ee.x2=E,ee.y2=b,ee.r2=z,ee};function Ks(a,y,x,E,b,z,ee,re,oe){E=re/E,b=oe/b,z===0&&ee===0||a.rb.translate(z,ee),E===1&&b===1||a.rb.scale(E,b),y===0&&x===0||a.rb.translate(-y,-x)}Be.drawImage=function(a,y,x,E,b,z,ee,re,oe){var se="";a instanceof HTMLCanvasElement&&(se=a.toDataURL()),a instanceof HTMLImageElement&&(se=a.getAttribute("src"));var ce=a instanceof HTMLImageElement?a.naturalWidth:a.width;a=a instanceof HTMLImageElement?a.naturalHeight:a.height,E===void 0&&(z=y,ee=x,re=E=ce,oe=b=a),E=E||0,b=b||0,re=re||0,oe=oe||0,Ks(this,y,x,E,b,z||0,ee||0,re,oe),z={x:0,y:0,width:ce||E,height:a||b,href:se},Bt.$(E,re)&&Bt.$(b,oe)?se.toLowerCase().indexOf(".svg")===-1&&se.toLowerCase().indexOf("data:image/svg")===-1&&(z.preserveAspectRatio="xMidYMid slice"):z.preserveAspectRatio="none",(y!==0||x!==0||E!==ce||b!==a)&&(E+=y,b+=x,z["clip-path"]="path('M "+y+","+x+" L "+E+" "+x+" L "+E+" "+b+" L "+y+" "+b+" z')"),Is(this,Vh,z,this.rb),this.addElement(Vh,z)},Be.fill=function(a){a&&(this.Yl["fill-rule"]="evenodd"),ju(this,this.Yl)},Be.ng=function(a,y){this.clipInsteadOfFill?this.clip():this.fill(y)},Be.fillRect=function(a,y,x,E){a=[a,y,x,E],a={x:a[0],y:a[1],width:a[2],height:a[3]},Is(this,"fill",a,this.rb),this.addElement("rect",a)},Be.ox=function(a,y,x,E){a={x:a,y,width:x,height:E},Is(this,"fill",a,this.rb),ju(this,a),this.svg.prepend(this.Ud("rect",a))},Be.fillText=function(a,y,x){a=[a,y,x],y=this.textAlign,y==="left"?y="start":y==="right"?y="end":y==="center"&&(y="middle"),y={x:a[1],y:a[2],style:"font: "+this.font,"text-anchor":y},Is(this,"fill",y,this.rb),this.addElement("text",y,a[0])},Be.lineTo=function(a,y){this.path.push(["L",a,y])},Be.moveTo=function(a,y){this.path.push(["M",a,y])},Be.quadraticCurveTo=function(a,y,x,E){this.path.push(["Q",a,y,x,E])},Be.rect=function(a,y,x,E){this.path.push(["M",a,y],["L",a+x,y],["L",a+x,y+E],["L",a,y+E],["z"])},Be.restore=function(){this.rb=this.stack.pop(),this.path=this.stack.pop();var a=this.stack.pop();this.fillStyle=a.fillStyle,this.font=a.font,this.globalAlpha=a.globalAlpha,this.lineCap=a.lineCap,this.lineDashOffset=a.lineDashOffset,this.lineJoin=a.lineJoin,this.lineWidth=a.lineWidth,this.miterLimit=a.miterLimit,this.shadowBlur=a.shadowBlur,this.shadowColor=a.shadowColor,this.shadowOffsetX=a.shadowOffsetX,this.shadowOffsetY=a.shadowOffsetY,this.strokeStyle=a.strokeStyle,this.textAlign=a.textAlign,this.bk=a.bk},Be.save=function(){this.stack.push({fillStyle:this.fillStyle,font:this.font,globalAlpha:this.globalAlpha,lineCap:this.lineCap,lineDashOffset:this.lineDashOffset,lineJoin:this.lineJoin,lineWidth:this.lineWidth,miterLimit:this.miterLimit,shadowBlur:this.shadowBlur,shadowColor:this.shadowColor,shadowOffsetX:this.shadowOffsetX,shadowOffsetY:this.shadowOffsetY,strokeStyle:this.strokeStyle,textAlign:this.textAlign,bk:this.bk});for(var a=[],y=0;yce.offset?1:-1}),b=0;bx?(this.scale(x/a,1),this.translate((a-x)/2,0)):x>a&&(this.scale(1,a/x),this.translate(0,(x-a)/2)),this.Hm?this.clip():this.fill(y),a>x?(this.translate(-(a-x)/2,0),this.scale(1/(x/a),1)):x>a&&(this.translate(0,-(x-a)/2),this.scale(1,1/(a/x)))}else this.Hm?this.clip():this.fill(y)},Be.jk=function(){this.Hm||this.stroke()},Be.Ev=function(a,y,x){this.Ar=a,this.Br=y,this.Vg=x},Be.js=function(a,y){var x=this.Z;x.setLineDash!==void 0&&(x.setLineDash(a),x.lineDashOffset=y)},Be.fs=function(){var a=this.Z;a.setLineDash!==void 0&&(a.setLineDash(ig),a.lineDashOffset=0)},Be.Vc=function(a){a&&(this.dt=""),this.ct=this.et=""},Be.Hs=function(){},Rt.Object.defineProperties(Eh.prototype,{fillStyle:{get:function(){return this.Z.fillStyle},set:function(a){this.ct!==a&&(this.ct=this.Z.fillStyle=a)}},font:{get:function(){return this.Z.font},set:function(a){this.dt!==a&&(this.dt=this.Z.font=a)}},globalAlpha:{get:function(){return this.Z.globalAlpha},set:function(a){this.Z.globalAlpha=a}},lineCap:{get:function(){return this.Z.lineCap},set:function(a){this.Z.lineCap=a}},lineDashOffset:{get:function(){return this.Z.lineDashOffset},set:function(a){this.Z.lineDashOffset=a}},lineJoin:{get:function(){return this.Z.lineJoin},set:function(a){this.Z.lineJoin=a}},lineWidth:{get:function(){return this.Z.lineWidth},set:function(a){this.Z.lineWidth=a}},miterLimit:{get:function(){return this.Z.miterLimit},set:function(a){this.Z.miterLimit=a}},shadowBlur:{get:function(){return this.Z.shadowBlur},set:function(a){this.Z.shadowBlur=a}},shadowColor:{get:function(){return this.Z.shadowColor},set:function(a){this.Z.shadowColor=a}},shadowOffsetX:{get:function(){return this.Z.shadowOffsetX},set:function(a){this.Z.shadowOffsetX=a}},shadowOffsetY:{get:function(){return this.Z.shadowOffsetY},set:function(a){this.Z.shadowOffsetY=a}},strokeStyle:{get:function(){return this.Z.strokeStyle},set:function(a){this.et!==a&&(this.et=this.Z.strokeStyle=a)}},textAlign:{get:function(){return this.Z.textAlign},set:function(a){this.Z.textAlign=a}},imageSmoothingEnabled:{get:function(){return this.Z.imageSmoothingEnabled},set:function(a){this.Z.imageSmoothingEnabled=a}},filter:{get:function(){return this.Z.filter},set:function(a){this.Z.filter=a===""?"none":a}},clipInsteadOfFill:{get:function(){return this.Hm},set:function(a){this.Hm=a}}});var ig=Object.freeze([]);Eh.className="CanvasSurfaceContext";function Ph(){this.F=this.o=this.u=this.j=0}Ph.className="ColorNumbers";function ea(a,y){yp||(vp(),yp=!0),Ir(this),this._isFrozen=!1,a===void 0?(this.na=Of,this.xk="black"):typeof a=="string"?(this.na=Of,this.xk=a):(this.na=a,this.xk="black"),a=this.na,a===wf?(this.Qd=wr,this.Lk=xs):this.Lk=a===Dd?this.Qd=Dr:this.Qd=il,this.Gr=0,this.Xp=NaN,this.xe=this.cr=this.we=null,this.ft=this.yk=0,y&&Object.assign(this,y)}ea.prototype.copy=function(){var a=new ea;return a.na=this.na,a.xk=this.xk,a.Qd=this.Qd.J(),a.Lk=this.Lk.J(),a.Gr=this.Gr,a.Xp=this.Xp,this.we!==null&&(a.we=this.we.copy()),a.cr=this.cr,a},Be=ea.prototype,Be.freeze=function(){return this._isFrozen=!0,this.we!==null&&this.we.freeze(),this},Be.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this.we!==null&&this.we.ka(),this},Be.qb=function(a){a.classType===ea&&(this.type=a)},Be.toString=function(){var a="Brush(";if(this.type===Of)a+=this.color;else if(a=this.type===wf?a+"Linear ":this.type===Dd?a+"Radial ":this.type===Sp?a+"Pattern ":a+"(unknown) ",a+=this.start+" "+this.end,this.colorStops!==null)for(var y=this.colorStops.iterator;y.next();)a+=" "+y.key+":"+y.value;return a+")"},Be.addColorStop=function(a,y){return this._isFrozen&&Di(this),(typeof a!="number"||!isFinite(a)||1a)&&Cn(a,"0 <= loc <= 1",ea,"addColorStop:loc"),this.we===null&&(this.we=new gi),this.we.add(a,y),this.na===Of&&(this.type=wf),this.xe=null,this},Be.Vz=function(a,y){if(this._isFrozen&&Di(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?xp:y,this.type===Of)md(this.color),this.color=Pf(a,y);else if((this.type===wf||this.type===Dd)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)md(x.value),this.addColorStop(x.key,Pf(a,y));return this};function Tf(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?xp:x,md(a),Pf(y,x)}Be.Wy=function(a,y){if(this._isFrozen&&Di(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?xp:y,this.type===Of)md(this.color),this.color=Pf(-a,y);else if((this.type===wf||this.type===Dd)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)md(x.value),this.addColorStop(x.key,Pf(-a,y));return this};function Kg(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?xp:x,md(a),Pf(-y,x)}function wh(a,y,x){md(a),a=Ya.j;var E=Ya.u,b=Ya.o,z=Ya.F;return md(y),x===void 0&&(x=.5),"rgba("+Math.round((Ya.j-a)*x+a)+", "+Math.round((Ya.u-E)*x+E)+", "+Math.round((Ya.o-b)*x+b)+", "+Math.round((Ya.F-z)*x+z)+")"}Be.Gx=function(){if(this.type===Of)return lf(this.color);if((this.type===wf||this.type===Dd)&&this.colorStops!==null){var a=this.colorStops;if(this.type===Dd)return lf(a.first().value);if(a.get(.5)!==null)return lf(a.get(.5));if(a.count===2)return a=a.Fa(),lf(wh(a[0].value,a[1].value));for(var y=a.iterator,x=-1,E=-1,b=1,z=1;y.next();){var ee=y.key,re=Math.abs(.5-y.key);b>z&&re=b&&reE&&(z=x,x=E,E=z,z=b),b=E-x,lf(wh(a.get(x),a.get(E),1-z/b))}return!1};function lf(a){return a?a instanceof ea?a.Gx():(md(a),128>(299*Ya.j+587*Ya.u+114*Ya.o)/1e3):!1}function Pf(a,y){switch(y){case xp:y=100*Lg(Ya.j);var x=100*Lg(Ya.u),E=100*Lg(Ya.o);return Du.j=.4124564*y+.3575761*x+.1804375*E,Du.u=.2126729*y+.7151522*x+.072175*E,Du.o=.0193339*y+.119192*x+.9503041*E,Du.F=Ya.F,y=$p(Du.j/ag[0]),x=$p(Du.u/ag[1]),E=$p(Du.o/ag[2]),Gd.j=116*x-16,Gd.u=500*(y-x),Gd.o=200*(x-E),Gd.F=Du.F,Gd.j=Math.min(100,Math.max(0,Gd.j+100*a)),a=(Gd.j+16)/116,y=a-Gd.o/200,Du.j=ag[0]*Yg(Gd.u/500+a),Du.u=ag[1]*(Gd.j>og*Xg?Math.pow(a,3):Gd.j/og),Du.o=ag[2]*Yg(y),Du.F=Gd.F,a=-.969266*Du.j+1.8760108*Du.u+.041556*Du.o,y=.0556434*Du.j+-.2040259*Du.u+1.0572252*Du.o,Ya.j=255*mp((3.2404542*Du.j+-1.5371385*Du.u+-.4985314*Du.o)/100),Ya.u=255*mp(a/100),Ya.o=255*mp(y/100),Ya.F=Du.F,Ya.j=Math.round(Ya.j),255Ya.j&&(Ya.j=0),Ya.u=Math.round(Ya.u),255Ya.u&&(Ya.u=0),Ya.o=Math.round(Ya.o),255Ya.o&&(Ya.o=0),"rgba("+Ya.j+", "+Ya.u+", "+Ya.o+", "+Ya.F+")";case g1:return Dg(),Yc.o=Math.min(100,Math.max(0,Yc.o+100*a)),"hsla("+Yc.j+", "+Yc.u+"%, "+Yc.o+"%, "+Yc.F+")";default:Et("Unknown color space: "+y)}}function md(a){yp||(vp(),yp=!0);var y=Jg;if(y!==null){y.clearRect(0,0,1,1),y.fillStyle="#000000";var x=y.fillStyle;y.fillStyle=a,y.fillStyle!==x?(y.fillRect(0,0,1,1),a=y.getImageData(0,0,1,1).data,Ya.j=a[0],Ya.u=a[1],Ya.o=a[2],Ya.F=a[3]/255):(y.fillStyle="#FFFFFF",y.fillStyle=a,Ya.j=0,Ya.u=0,Ya.o=0,Ya.F=1)}}function Dg(){var a=Ya.j/255,y=Ya.u/255,x=Ya.o/255,E=Math.max(a,y,x),b=Math.min(a,y,x),z=E-b;if(b=(E+b)/2,z===0)var ee=a=0;else{switch(E){case a:ee=(y-x)/z%6;break;case y:ee=(x-a)/z+2;break;case x:ee=(a-y)/z+4}ee*=60,0>ee&&(ee+=360),a=z/(1-Math.abs(2*b-1))}Yc.j=Math.round(ee),Yc.u=Math.round(100*a),Yc.o=Math.round(100*b),Yc.F=Ya.F}function Lg(a){return a/=255,.04045>=a?a/12.92:Math.pow((a+.055)/1.055,2.4)}function mp(a){return .0031308>=a?12.92*a:1.055*Math.pow(a,1/2.4)-.055}function $p(a){return a>Xg?Math.pow(a,1/3):(og*a+16)/116}function Yg(a){var y=a*a*a;return y>Xg?y:(116*a-16)/og}function rg(a,y){typeof a!="string"&&(a instanceof ea||Et("Value for "+y+" must be a color string or a Brush, not "+a))}function vp(){Jg=Aa?new zu(null,void 0,{willReadFrequently:!0}).context:null}Rt.Object.defineProperties(ea.prototype,{type:{get:function(){return this.na},set:function(a){this._isFrozen&&Di(this,a),this.na=a,this.start.Mc()&&(a===wf?this.start=wr:a===Dd&&(this.start=Dr)),this.end.Mc()&&(a===wf?this.end=xs:a===Dd&&(this.end=Dr)),this.xe=null}},color:{get:function(){return this.xk},set:function(a){this._isFrozen&&Di(this,a),this.xk=a,this.xe=null}},start:{get:function(){return this.Qd},set:function(a){this._isFrozen&&Di(this,a),this.Qd=a.J(),this.xe=null}},end:{get:function(){return this.Lk},set:function(a){this._isFrozen&&Di(this,a),this.Lk=a.J(),this.xe=null}},startRadius:{get:function(){return this.Gr},set:function(a){this._isFrozen&&Di(this,a),0>a&&Cn(a,">= zero",ea,"startRadius"),this.Gr=a,this.xe=null}},endRadius:{get:function(){return this.Xp},set:function(a){this._isFrozen&&Di(this,a),0>a&&Cn(a,">= zero",ea,"endRadius"),this.Xp=a,this.xe=null}},colorStops:{get:function(){return this.we},set:function(a){this._isFrozen&&Di(this,a),this.we=a,this.xe=null}},pattern:{get:function(){return this.cr},set:function(a){this._isFrozen&&Di(this,a),this.cr=a,this.xe=null}}}),ea.prototype.isDark=ea.prototype.Gx,ea.prototype.darkenBy=ea.prototype.Wy,ea.prototype.lightenBy=ea.prototype.Vz,ea.prototype.addColorStop=ea.prototype.addColorStop;var Xg=216/24389,og=24389/27,ag=[95.047,100,108.883],Jg=null,Ya=new Ph,Yc=new Ph,Du=new Ph,Gd=new Ph,yp=!1;ea.className="Brush";var Of;ea.Solid=Of=new sn(ea,"Solid",0);var wf;ea.Linear=wf=new sn(ea,"Linear",1);var Dd;ea.Radial=Dd=new sn(ea,"Radial",2);var Sp;ea.Pattern=Sp=new sn(ea,"Pattern",4);var xp;ea.Lab=xp=new sn(ea,"Lab",5);var g1;ea.HSL=g1=new sn(ea,"HSL",6),ea.randomColor=function(a,y){a===void 0&&(a=128),y===void 0&&(y=Math.max(a,255));var x=Math.abs(y-a);y=Math.floor(a+Math.random()*x).toString(16);var E=Math.floor(a+Math.random()*x).toString(16);return a=Math.floor(a+Math.random()*x).toString(16),2>y.length&&(y="0"+y),2>E.length&&(E="0"+E),2>a.length&&(a="0"+a),"#"+y+E+a},ea.isValidColor=function(a){if(a==="black")return!0;if(a==="")return!1;yp||(vp(),yp=!0);var y=Jg;if(y===null)return!0;y.fillStyle="#000000";var x=y.fillStyle;return y.fillStyle=a,y.fillStyle!==x?!0:(y.fillStyle="#FFFFFF",x=y.fillStyle,y.fillStyle=a,y.fillStyle!==x)},ea.lighten=function(a){return Tf(a)},ea.lightenBy=Tf,ea.darken=function(a){return Kg(a)},ea.darkenBy=Kg,ea.mix=wh,ea.isDark=lf;function Ql(){this.xa="Base"}Ql.prototype.measure=function(){},Ql.prototype.Yz=function(a,y,x,E,b){a.measure(y,x,E,b)},Ql.prototype.arrange=function(){},Ql.prototype.Ly=function(a,y,x,E,b,z){a.arrange(y,x,E,b,z)},Ql.prototype.iA=function(a){a.Uj()},Ql.prototype.gc=function(){},Rt.Object.defineProperties(Ql.prototype,{name:{get:function(){return this.xa},set:function(a){this.xa=a}},classType:{get:function(){return $n}}}),Ql.prototype.remeasureObject=Ql.prototype.iA,Ql.prototype.arrangeElement=Ql.prototype.Ly,Ql.prototype.measureElement=Ql.prototype.Yz,Ql.className="PanelLayout";function Xm(){this.xa="Base"}_t(Xm,Ql),Xm.prototype.measure=function(a,y,x,E,b,z,ee){var re=E.length;a=Cf(a);for(var oe=0;oezi&&(cu=Math.max(zi-Eg,0));var wv=Tn.oa===0;Tn.oc=Tn.oc+cu,Tn.actual=Tn.oa+cu,zi=Math.max(zi-(cu+(wv?Eg:0)),0)}if(Jc.columnSpan===1&&(dc===In||dc===Ot)){Tn=a.Eb(cc);var Vm=Tn.Wc();cu=Math.max(jg-Tn.actual,0),cu+Vm>Pi&&(cu=Math.max(Pi-Vm,0));var s1=Tn.oa===0;Tn.oc=Tn.oc+cu,Tn.actual=Tn.oa+cu,Pi=Math.max(Pi-(cu+(s1?Vm:0)),0)}xg&&Jc.Uj()}}}}}si(nt);var vf=0,bf=0;z=a.columnCount;for(var up=0;up=a.rowCount);Qf++)Tn=a.Fb(nl.row+Qf),cu=0,cu=dc===Hn||dc===Ot?Math.max(Tn.minimum,Mh[nl.row+Qf]===0?Tn.maximum:Math.min(Mh[nl.row+Qf],Tn.maximum)):Math.max(Tn.minimum,isNaN(Tn.Hc)?Tn.maximum:Math.min(Tn.Hc,Tn.maximum)),Lf.height+=cu,ud+=Tn.minimum;for(var Xd=1;Xd=a.columnCount);Xd++)Tn=a.Eb(nl.column+Xd),cu=0,cu=dc===Hn||dc===Xi?Math.max(Tn.minimum,Td[nl.column+Xd]===0?Tn.maximum:Math.min(Td[nl.column+Xd],Tn.maximum)):Math.max(Tn.minimum,isNaN(Tn.Hc)?Tn.maximum:Math.min(Tn.Hc,Tn.maximum)),Lf.width+=cu,bv+=Tn.minimum;Mu.width+=Lf.width,Mu.height+=Lf.height;var Jp=nl.margin,Fg=Jp.right+Jp.left,Zm=Jp.top+Jp.bottom;nl.measure(Mu.width,Mu.height,bv,ud);for(var Qp=nl.measuredBounds,Jh=Math.max(Qp.width+Fg,0),Zg=Math.max(Qp.height+Zm,0),bg=0,qp=0;qp=a.rowCount);qp++)Tn=a.Fb(nl.row+qp),bg+=Tn.total||0;if(bg=qf)&&!(nl.row+Mf>=a.rowCount);Mf++){Tn=a.Fb(nl.row+Mf);var eg=Tn.oa||0,Ug=$f(nl,Tn,Sf);Tn.actual=Math.min(Tn.maximum,eg+Ug),Tn.oa!==eg&&(qf-=Tn.oa-eg)}for(;0kh&&(Tn.actual=Math.min(Tn.maximum,kh+qf),Tn.oa!==kh&&(qf-=Tn.oa-kh)),Tn.index===0)break;Tn=a.Fb(Tn.index-1)}}for(var hp=0,tg=0;tg=a.columnCount);tg++)Tn=a.Eb(nl.column+tg),hp+=Tn.total||0;if(hp=fp)&&!(nl.column+Hg>=a.columnCount);Hg++){Tn=a.Eb(nl.column+Hg);var Um=Tn.oa||0,c1=kf(nl,Tn,u1);Tn.actual=Math.min(Tn.maximum,Um+c1),Tn.oa!==Um&&(fp-=Tn.oa-Um)}for(;0Bv&&(Tn.actual=Math.min(Tn.maximum,Bv+fp),Tn.oa!==Bv&&(fp-=Tn.oa-Bv)),Tn.index===0)break;Tn=a.Eb(Tn.index-1)}}}}si(at),pi.free(Lf),pi.free(Mu),Mh!==void 0&&si(Mh),Td!==void 0&&si(Td);var gp=0,pp=0,Dv=a.desiredSize,Fx=a.maxSize;dc=Uu(a,!0);var Hm=bf=vf=0,Km=0;z=a.columnCount;for(var Lv=0;Lv=a.rowCount);Tn++){var zr=a.Fb(nt+Tn);zr.oa!==0&&(Ge.height+=zr.total)}for(Tn=1;Tn=a.columnCount);Tn++)zr=a.Eb(ft+Tn),zr.oa!==0&&(Ge.width+=zr.total);var Fr=Ct.oa+Ge.width,oa=at.oa+Ge.height;Tn=re,zr=oe;var ns=Fr,uu=oa,vu=re,uc=oe,cu=Fr,Kf=oa;re+Fr>x.width&&(cu=Math.max(x.width-re,0)),oe+oa>x.height&&(Kf=Math.max(x.height-oe,0));var Al=Ni.alignment;if(Al.Xb()){Al=a.defaultAlignment,Al.sb()||(Al=Dr);var Bh=Al.x,cc=Al.y,Yf=Al.offsetX;Al=Al.offsetY;var Sd=Ct.alignment,Kd=at.alignment;Sd.sb()&&(Bh=Sd.x,Yf=Sd.offsetX),Kd.sb()&&(cc=Kd.y,Al=Kd.offsetY)}else Bh=Al.x,cc=Al.y,Yf=Al.offsetX,Al=Al.offsetY;(isNaN(Bh)||isNaN(cc))&&(cc=Bh=.5,Al=Yf=0),Sd=oi.width,Kd=oi.height;var ad=Ni.margin,Jc=ad.left+ad.right,xg=ad.top+ad.bottom,Dh=id(Ni,at,Ct,!1);!isNaN(Ni.desiredSize.width)||Dh!==Hn&&Dh!==Xi||(Sd=Math.max(Fr-Jc,0)),!isNaN(Ni.desiredSize.height)||Dh!==Hn&&Dh!==Ot||(Kd=Math.max(oa-xg,0)),Fr=Ni.maxSize,oa=Ni.minSize,Sd=Math.min(Fr.width,Sd),Kd=Math.min(Fr.height,Kd),Sd=Math.max(oa.width,Sd),Kd=Math.max(oa.height,Kd),Fr=Kd+xg,Tn+=ns*Bh-(Sd+Jc)*Bh+Yf+ad.left,zr+=uu*cc-Fr*cc+Al+ad.top,Ni.visible&&(gl(vu,uc,cu,Kf,Tn,zr,oi.width,oi.height)?Ni.arrange(Tn,zr,Sd,Kd):Ni.arrange(Tn,zr,Sd,Kd,new nn(vu,uc,cu,Kf)))}}}for(pi.free(Ge),a=0;a=x&&(x=1);var E=a.gridCellSize,b=E.width;E=E.height;var z=a.naturalBounds,ee=a.actualBounds,re=z.width,oe=z.height,se=Math.ceil(re/b),ce=Math.ceil(oe/E),ge=a.gridOrigin,Se=ge.x;ge=ge.y,y.save(),y.beginPath(),y.rect(0,0,re,oe),y.clip(),y.Se();for(var we=[],Fe=a.O.s,Ne=Fe.length,Je=0;Jeat)){Ge=Iv(Ge.figure);for(var ft=0;ftat&&nt.push(Ct))}}}}for(Fe=a.O.s,Ne=Fe.length,Je=0;Jeb*Ge*x))){if(at=Kt.segmentIndex,(!isFinite(at)||isNaN(at))&&(at=0),0>at&&(at=Ge-Math.min(-at,Ge)),at=Math.round(at%Ge),Ge=Kt.opacity,ft=1,Ge!==1){if(Ge===0)continue;ft=y.globalAlpha,y.globalAlpha=ft*Ge}Ct=we[Je];var Pi=!1,zi=Kt.strokeDashArray;if(zi!==null&&(Pi=!0,y.js(zi,Kt.strokeDashOffset)),Kt.figure==="LineV"&&Kt.stroke!==null&&0y)return a%y===x;if(a%y!==x)return!1;y=E.length;for(var b=0;bge)nt.measure(1/0,1/0,0,0),at=nt.measuredBounds,x.ed(at),we.push(at);else{var ft=nt.segmentIndex,Ct=nt.segmentFraction,Kt=nt.alignmentFocus;Kt.Mc()&&(Kt=Dr);var Pi=nt.segmentOrientation,zi=nt.segmentOffset;if(isNaN(ft)){var Ni=oe.ua;at=Ri(),Ni.Qu(Ct,at);var oi=Ze.allocAt(at[0],at[1]);if(oi.add(oe.i(0)),Ni.type===li.j?oi.offset(-Ni.startX,-Ni.startY):(Ni=Ni.figures.first(),Ni!==null&&oi.offset(-Ni.startX,-Ni.startY)),Ni=at[2],Pi!==Ec){var Tn=oe.computeAngle(nt,Pi,Ni);nt.Kb=Tn}Tn=oi.x-y.x;var zr=oi.y-y.y;Ze.free(oi),si(at)}else if(ft<-ge||ft>=ge)at=Ze.alloc(),oe.vg(),oe.computeMidPoint(at),Ni=oe.midAngle,Pi!==Ec&&(Tn=oe.computeAngle(nt,Pi,Ni),nt.Kb=Tn),Tn=at.x-y.x,zr=at.y-y.y,Ze.free(at);else{if(Tn=0,0<=ft?(zr=ce.M(ft),at=ftFr+10?0<=ft?Ni.ab(zr):zr.ab(Ni):Fr>oi+10?0<=ft?at.ab(Tn):Tn.ab(at):0<=ft?Ni.ab(Tn):Tn.ab(Ni)}else Ni=0<=ft?zr.ab(at):at.ab(zr);Pi!==Ec&&(Tn=oe.computeAngle(nt,Pi,Ni),nt.Kb=Tn),Tn=zr.x+(at.x-zr.x)*Ct-y.x,zr=zr.y+(at.y-zr.y)*Ct-y.y}nt.measure(1/0,1/0,0,0),at=nt.measuredBounds,oi=nt.naturalBounds;var oa=0;nt instanceof io&&(oa=nt.strokeWidth),Fr=oi.width+oa;var ns=oi.height+oa;Fe.reset(),Fe.translate(-at.x,-at.y),Fe.scale(nt.scale,nt.scale),Fe.rotate(Pi===Ec?nt.angle:Ni,Fr/2,ns/2),Pi!==fm&&Pi!==pm||Fe.rotate(90,Fr/2,ns/2),Pi!==gm&&Pi!==mm||Fe.rotate(-90,Fr/2,ns/2),Pi===O0&&(45Ni||225Ni)&&Fe.rotate(-Ni,Fr/2,ns/2),oi=new nn(0,0,Fr,ns),Ne.xi(oi,Kt),Fe.Ga(Ne),Kt=-Ne.x+oa/2*nt.scale,nt=-Ne.y+oa/2*nt.scale,Je.assign(zi),oa=isNaN(zi.x);var uu=isNaN(zi.y);if(oa||uu){Fr=Fr/2+3,ns=ns/2+3;var vu=45<=Ni&&135>=Ni,uc=225<=Ni&&315>=Ni;Pi===Ec&&(vu||uc)?(Je.x=uu?Fr:zi.y,Je.y=oa?ns:zi.x,vu?0<=ft||isNaN(ft)&&.5>Ct||!oa||(Je.y=-ns):uc&&((0<=ft||isNaN(ft)&&.5>Ct)&&oa&&(Je.y=-ns),uu&&(Je.x=-Fr))):(oa&&(Je.x=0<=ft||isNaN(ft)&&.5>Ct?Fr:-Fr),uu&&(Je.y=-ns),Je.rotate(Ni))}else Je.rotate(Ni);Tn+=Je.x,zr+=Je.y,oi.set(at),oi.h(Tn+Kt,zr+nt,at.width,at.height),we.push(oi),x.ed(oi)}}if(ee!==null)for(E=ee.labelNodes;E.next();)E.value.measure(1/0,1/0);a.jg=x,a.position.h(y.x+x.x,y.y+x.y),Ss(b,x.width||0,x.height||0),qr.free(Fe),Ze.free(Ne),Ze.free(Je)}}}},o0.prototype.arrange=function(a,y){var x=y.length;if(a instanceof na||a instanceof ai){var E=a,b=null;a instanceof na&&(b=a,E=b.adornedPart);var z=a instanceof na?null:E.path,ee=a.j;if(ee.length!==0){var re=0;if(z!==null&&re=x)Fe=Ze.alloc(),we=ge,Je=Fe,we.vg(),we.computeMidPoint(Je),we=ge.midAngle,se!==Ec&&(ge=ge.computeAngle(ee,se,we),ee.angle=ge),ge=Fe.x,Je=Fe.y,Ze.free(Fe);else{if(Ne=0,0<=re?(Fe=y.s[re],Je=rent+10?0<=re?we.ab(Fe):Fe.ab(we):nt>Ge+10?0<=re?Je.ab(Ne):Ne.ab(Je):0<=re?we.ab(Ne):Ne.ab(we)}else we=0<=re?Fe.ab(Je):Je.ab(Fe);se!==Ec&&(ge=ge.computeAngle(ee,se,we),ee.angle=ge),ge=Fe.x+(Je.x-Fe.x)*oe,Je=Fe.y+(Je.y-Fe.y)*oe}if(Se.ys())ee.location=new Ze(ge,Je);else{Se.Mc()&&(Se=Dr),Fe=qr.alloc(),Fe.reset(),Fe.scale(ee.scale,ee.scale),Fe.rotate(ee.angle,0,0);var at=ee.naturalBounds;Ne=nn.allocAt(0,0,at.width,at.height),Ge=Ze.alloc(),Ge.xi(Ne,Se),Fe.Ga(Ge),Se=-Ge.x,nt=-Ge.y;var ft=at.width,Ct=at.height;at=Ze.alloc(),at.assign(ce);var Kt=isNaN(ce.x),Pi=isNaN(ce.y);if(Kt||Pi){ft=ft/2+3,Ct=Ct/2+3;var zi=45<=we&&135>=we,Ni=225<=we&&315>=we;se===Ec&&(zi||Ni)?(at.x=Pi?ft:ce.y,at.y=Kt?Ct:ce.x,zi?0<=re||isNaN(re)&&.5>oe||!Kt||(at.y=-Ct):Ni&&((0<=re||isNaN(re)&&.5>oe)&&Kt&&(at.y=-Ct),Pi&&(at.x=-ft))):(Kt&&(at.x=0<=re||isNaN(re)&&.5>oe?ft:-ft),Pi&&(at.y=-Ct),at.rotate(we))}else at.rotate(we);ge+=at.x,Je+=at.y,Fe.pp(Ne),Se+=Ne.x,nt+=Ne.y,re=Ze.allocAt(ge+Se,Je+nt),ee.move(re),Ze.free(re),Ze.free(at),Ze.free(Ge),nn.free(Ne),qr.free(Fe)}}b!==null?b.Ul(!1):E.Ul(!1),E=Z1(a),a.location.h(a.position.x+E.x,a.position.y+E.y),Ze.free(E)}};function p1(a,y,x,E){if(Ye(E)!==!1){var b=E.strokeWidth;b===0&&a instanceof na&&a.type===$n.Link&&a.adornedObject instanceof io&&(b=a.adornedObject.strokeWidth),b*=E.Ca,a instanceof ai&&a.ua!==null?(a=a.geometry.bounds,E.Ge(a.x-b/2,a.y-b/2,a.width+b,a.height+b)):a instanceof na&&a.adornedPart.ua!==null?(a=a.adornedPart.ua.bounds,E.Ge(a.x-b/2,a.y-b/2,a.width+b,a.height+b)):E.Ge(-(b/2),-(b/2),y+b,x+b),b=E.desiredSize,b.w()||E.ua===null?E.dc.h(0,0,b.width,b.height):E.dc.assign(E.ua.bounds),Qe(E,!1)}}function tm(){this.xa="Base"}_t(tm,Ql),tm.prototype.measure=function(a,y,x,E,b,z,ee){var re=a.Pb();a.graduatedBounds=[];var oe=re.margin,se=oe.right+oe.left,ce=oe.top+oe.bottom;re.measure(y,x,z,ee);var ge=re.measuredBounds,Se=new nn(-oe.left,-oe.top,Math.max(ge.width+se,0),Math.max(ge.height+ce,0));a.graduatedBounds.push(Se),b.assign(Se);for(var we=re.geometry,Fe=re.strokeWidth,Ne=we.flattenedSegments,Je=we.flattenedLengths,Ge=we.flattenedTotalLength,nt=Ne.length,at=0,ft=0,Ct=Ri(),Kt=0;KtFr&&(Fr+=360),zi.push(Fr)}at=Tn,ft=zr}Ct.push(zi)}if(a.graduatedIntervals===null){for(var oa=[],ns=a.O.s,uu=ns.length,vu=0;vuKf)){for(var Al=0;AlKf&&cu.push(cc)}}}}}a.graduatedIntervals=oa}var Yf=a.graduatedIntervals,Sd=a.O.s,Kd=Sd.length,ad=0,Jc=0,xg=Ge;a.graduatedMarks=[];for(var Dh,Gp=0;Gpzm*dc*Ge/a.graduatedRange&&sd.graduatedSkip===null)){var lp=Je[0][0],Kh=0,Qc=0;Jc=Ge*sd.graduatedStart-1e-4,xg=Ge*sd.graduatedEnd+1e-4;var jg=zm*dc,ld=a.graduatedTickBase;if(lda.graduatedMin+jg&&(ld-=Math.floor((ld-a.graduatedMin)/jg)*jg);for(var wv=Yf[Gp],Vm=ld,s1=1e-6*a.graduatedMax,vf=1;ld<=a.graduatedMax+s1;vf++){e:{for(var bf=wv.length,up=0;up-Zp){var wg=!1;break e}}wg=!0}if(wg&&(ld>a.graduatedMax&&(ld=a.graduatedMax),sd.graduatedSkip===null||sd instanceof os&&!sd.graduatedSkip(ld,sd)||sd instanceof io&&!sd.graduatedSkip(ld,sd))&&(ad=(ld-a.graduatedMin)*Ge/a.graduatedRange,ad>Ge&&(ad=Ge),Jc<=ad&&ad<=xg)){for(var yf=Ct[Kh][Qc],Xf=Je[Kh][Qc];Khlp&&QcBf&&.4995Bf?0Bf||.9995cp){var Hp=1-Math.abs(.5-Bf);yf=(Lh*Hp+Xh*(1-Hp))%360;break e}}}yf=Lh}if(sd instanceof os){var ch="";sd.graduatedFunction!==null?(ch=sd.graduatedFunction(ld,sd),ch=ch!=null?ch.toString():""):ch=(+ld.toFixed(2)).toString(),ch!==""&&Dh.push({$l:Up,angle:yf,text:ch})}else Dh.push({$l:Up,angle:yf})}ld=Vm+vf*jg}}}a.graduatedMarks.push(Dh)}si(Ct);var Mu=a.graduatedMarks;if(Mu!==null)for(var Gm=E.length,Fc=0;Fcdh;dh++){switch(dh){case 0:$c.h(Lf,Mh);break;case 1:$c.h(Lf+Kp,Mh);break;case 2:$c.h(Lf,Mh+Gg);break;case 3:$c.h(Lf+Kp,Mh+Gg)}$c.rotate(nl+Fl.angle),$c.offset(Fv,Xp),Yp===0&&dh===0?Td.h($c.x,$c.y,0,0):Td.Ye($c),$c.offset(-Fv,-Xp),$c.rotate(-nl-Fl.angle)}Ze.free($c),Df.graduatedBounds!==null&&Df.graduatedBounds.push(Td),ga(Jf,Td.x,Td.y,Td.width,Td.height)}else if(Fl instanceof os){var Yd=a,bv=b;Yd.temporaryTextBlock===null&&(Yd.temporaryTextBlock=new os);var ud=Yd.temporaryTextBlock;L1(ud,Fl);var Qf=Fl.alignmentFocus;Qf.Mc()&&(Qf=wr);for(var Xd=Fl.segmentOrientation,Jp=Fl.segmentOffset,Fg=new nn,Zm=0,Qp=0,Jh=0,Zg=0,bg=0,qp=bc.length,qf=0;qfJh||225Jh)&&kh.rotate(-Jh,eg/2,Ug/2);var hp=nn.allocAt(0,0,eg,Ug),tg=Ze.alloc();tg.xi(hp,Qf),kh.Ga(tg);var fp=-tg.x,u1=-tg.y,kf=Ze.alloc();kf.assign(Jp),isNaN(kf.x)&&(kf.x=eg/2+3),isNaN(kf.y)&&(kf.y=-(Ug/2+3)),kf.rotate(Jh),Zm+=kf.x+fp,Qp+=kf.y+u1;var Hg=new nn(Zm,Qp,$f.width,$f.height),Um=new nn($f.x,$f.y,$f.width,$f.height),c1=new nn(Mf.x,Mf.y,Mf.width,Mf.height);Sf.Sz=Zg,Sf.lineCount=ud.lineCount,Sf.lines=[ud.Cb,ud.Ih,ud.df,ud.Le,ud.Qc,ud.Qb,ud.ze],Sf.actualBounds=Hg,Sf.measuredBounds=Um,Sf.naturalBounds=c1,qf===0?Fg.assign(Hg):Fg.ed(Hg),Ze.free(kf),Ze.free(tg),nn.free(hp),qr.free(kh)}Yd.graduatedBounds!==null&&Yd.graduatedBounds.push(Fg),ga(bv,Fg.x,Fg.y,Fg.width,Fg.height)}Qe(Fl,!1)}}},tm.prototype.arrange=function(a,y,x){if(a.graduatedBounds!==null){var E=a.Pb(),b=a.graduatedMarks;if(b!==null){var z=a.graduatedBounds,ee=0,re=z[ee];ee++,E!==null&&E.arrange(re.x-x.x,re.y-x.y,re.width,re.height);for(var oe=y.length,se=0;se=ee&&(ee=1);for(var re=z.actualBounds,oe=a.O.s,se=a.graduatedMarks,ce=oe.length,ge=0;gea.graduatedTickUnit*Se.interval*z.geometry.flattenedTotalLength/a.graduatedRange*ee&&Se.graduatedSkip===null)){var Ne=Se.measuredBounds,Je=Se.strokeWidth*Se.scale,Ge=Se.alignmentFocus;Ge.Mc()&&(Ge=wr);for(var nt=0;ntee.height)continue}else if(se.position>ee.width)continue;var ce=se.separatorStrokeWidth;isNaN(ce)&&(ce=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var ge=se.separatorStroke;if(ge===null&&(ge=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),ce!==0&&ge!==null){gs(a,y,ge,!1,!1,ee,z),ge=!1;var Se=se.separatorDashArray;Se===null&&(Se=x?a.defaultRowSeparatorDashArray:a.defaultColumnSeparatorDashArray),Se!==null&&(ge=!0,y.js(Se,0)),y.beginPath(),Se=se.position+ce,x?Se>ee.height&&(ce-=Se-ee.height):Se>ee.width&&(ce-=Se-ee.width),se=se.position+ce/2,y.lineWidth=ce,ce=a.yb,x?(se+=ce.top,Se=ee.width-ce.right,y.moveTo(ce.left,se),y.lineTo(Se,se)):(se+=ce.left,Se=ee.height-ce.bottom,y.moveTo(se,ce.top),y.lineTo(se,Se)),y.stroke(),y.Se(),ge&&y.fs()}}}}function a0(a,y,x,E,b){for(var z=E.length,ee=a.actualBounds,re=a.naturalBounds,oe=v1(a,!0),se=v1(a,!1),ce=0;ceSe)){var we=ge.Wc(),Fe=ge.separatorStrokeWidth;isNaN(Fe)&&(Fe=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var Ne=ge.separatorStroke;Ne===null&&(Ne=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),(Ne===null||ge.index===(x?oe:se))&&(Fe=0),we-=Fe,Fe=ge.position+Fe,we+=ge.actual,Fe+we>Se&&(we=Se-Fe),0>=we||(Se=a.yb,gs(a,y,ge.background,!0,!1,re,ee),x?y.fillRect(Se.left,Fe+Se.top,ee.width-(Se.left+Se.right),we):y.fillRect(Fe+Se.left,Se.top,we,ee.height-(Se.top+Se.bottom)))}}}}function v1(a,y){for(var x=y?a.rowCount:a.columnCount,E=0;EE&&b.set(Fe),Ze.free(Fe)),Ze.free(ce),z&&b.transform(ee),se},Be.Gj=function(){for(var a=this.O.s,y=a.length,x=0;xx||z>E)&&(this.v(),this.measure(y>x?x:y,z>E?E:z,0,0));break;case Hn:this.v(!0),this.measure(x+re,E+ee,0,0);break;case Xi:this.v(!0),this.measure(x+re,z+ee,0,0);break;case Ot:this.v(!0),this.measure(y+re,E+ee,0,0)}}this.na.arrange(this,b,this.jg)}},Be.gh=function(a){var y=this.naturalBounds,x=Cf(this);if(gl(0,0,y.width,y.height,a.x,a.y)){y=this.O.s;for(var E=y.length,b=Ze.allocAt(0,0);E--;){var z=y[E];if((z.visible||z===x)&&(_o(b.set(a),z.transform),z.ca(b)))return Ze.free(b),!0}return Ze.free(b),!(this.Ma===null&&this.areaBackground===null)}return!1},Be.ks=function(a){if(this.bindingId===a)return this;for(var y=this.O.s,x=y.length,E=0;ESe.width||ge.y>Se.height||0>ge.x+ge.width||0>ge.y+ge.height||(ge=ce,ce=ce instanceof $n?ce:null,Se=qr.alloc(),Se.set(ee),(ce!==null?ce.Cf(a,y,x,E,b,Se):ws(ge,a,E,Se))&&(y!==null&&(ge=y(ge)),ge===null||x!==null&&!x(ge)||b.add(ge)),qr.free(Se))}}return z===void 0&&qr.free(ee),E}return z===void 0&&qr.free(ee),!1};function Rv(a,y,x,E){for(var b=a.O.s,z=b.length;z--;){var ee=b[z];if(ee.visible){var re=ee.actualBounds,oe=a.naturalBounds;re.x>oe.width||re.y>oe.height||0>re.x+re.width||0>re.y+re.height||(ee instanceof $n&&Rv(ee,y,x,E),y!==null&&(ee=y(ee)),ee===null||x!==null&&!x(ee)||E.add(ee))}}}Be.og=function(a,y,x,E,b,z){if(this.pickable===!1)return!1;x===void 0&&(x=null),E===void 0&&(E=null);var ee=this.naturalBounds,re=this.se(),oe=re?a:_o(Ze.allocAt(a.x,a.y),this.transform),se=re?y:_o(Ze.allocAt(y.x,y.y),this.transform),ce=oe.Bf(se),ge=0Je.width||Ne.y>Je.height||0>Ne.x+Ne.width||0>Ne.y+Ne.height))&&(Fe.se()?(Ne=Fe.transform,_o(oe.set(a),Ne),_o(se.set(y),Ne)):(oe.set(a),se.set(y)),Ne=Fe,Fe=Fe instanceof $n?Fe:null,(Fe!==null?Fe.og(oe,se,x,E,b,z):Ne.tx(oe,se,b))&&(x!==null&&(Ne=x(Ne)),Ne===null||E!==null&&!E(Ne)||z.add(Ne)))}}Ze.free(oe),Ze.free(se)}return b?ge:ee}return!1};function Wv(a){var y=null;return a instanceof io&&(y=a.spot1,y===Zl&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot1)),y===null&&(y=bl),y}function jv(a){var y=null;return a instanceof io&&(y=a.spot2,y===Zl&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot2)),y===null&&(y=hu),y}Be.add=function(a){for(var y=[],x=0;x=b.count&&a>=b.count)return;b.mb(z),E=z}else Et("element "+y.toString()+" has panel "+x.toString()+" but is not contained by it.")}(0>a||a>b.count)&&(a=b.count),b.Gb(a,y),(a===0||y.isPanelMain)&&(this.$g=null),Ye(this)||this.v(),y.v(!1),y.portId!==null?this.Te=!0:y instanceof $n&&y.Te===!0&&(this.Te=!0),this.graduatedIntervals=null,this.If()||l0(this,y,!1),x=this.part,x!==null&&(x.Rh=null,x.ag=NaN,this.Te&&x instanceof Fi&&(x.Te=!0),x.Te&&x instanceof Fi&&(x.wc=null),b=this.diagram,b!==null&&b.undoManager.isUndoingRedoing||(E!==-1&&x.cb(xi,"elements",this,y,null,E,null),x.cb(ti,"elements",this,null,y,null,a)))};function zv(a,y){a.l=y?a.l|16777216:a.l&-16777217}Be.remove=function(a){for(var y=this.O.s,x=y.length,E=-1,b=0;ba&&Cn(a,">= 0",$n,"getRowDefinition:idx"),a=Math.round(a);var y=this.rowDefs;if(y[a]===void 0){var x=new jl;x.wi(this),x.isRow=!0,x.index=a,y[a]=x,this.cb(ti,"rowdefs",this,null,x,null,a)}return y[a]},Be.oA=function(a){if(0>a&&Cn(a,">= 0",$n,"removeRowDefinition:idx"),this.rowCount!==0){a=Math.round(a);var y=this.rowDefs,x=y[a];if(x){y[a]=void 0;for(var E=y.length-1;0<=E&&y[E--]===void 0;)y.length--;this.cb(xi,"rowdefs",this,x,null,a,null),this.v()}}};function P1(a,y,x){var E=a.rowDefs;if(!(0>y)){if(E[y]=x instanceof jl?x:void 0,!x)for(y=E.length-1;0<=y&&E[y--]===void 0;)E.length--;a.v()}}Be.Eb=function(a){0>a&&Cn(a,">= 0",$n,"getColumnDefinition:idx"),a=Math.round(a);var y=this.colDefs;if(y[a]===void 0){var x=new jl;x.wi(this),x.isRow=!1,x.index=a,y[a]=x,this.cb(ti,"coldefs",this,null,x,null,a)}return y[a]},Be.jA=function(a){if(0>a&&Cn(a,">= 0",$n,"removeColumnDefinition:idx"),this.columnCount!==0){a=Math.round(a);var y=this.colDefs,x=y[a];if(x){y[a]=void 0;for(var E=y.length-1;0<=E&&y[E--]===void 0;)y.length--;this.cb(xi,"coldefs",this,x,null,a,null),this.v()}}};function w1(a,y,x){var E=a.colDefs;if(!(0>y)){if(E[y]=x instanceof jl?x:void 0,!x)for(y=E.length-1;0<=y&&E[y--]===void 0;)E.length--;a.v()}}Be.Gy=function(a){var y=null;return a.isRow?y=this.Fb(a.index):a.isRow||(y=this.Eb(a.index)),y&&u0(y,a),this},Be.Hy=function(a,y){return(a=this.Fb(a))&&u0(a,new jl(y)),this},Be.By=function(a,y){return(a=this.Eb(a))&&u0(a,new jl(y)),this},Be.nz=function(a){if(0>a||this.type!==$n.Table||this.rowCount===0)return-1;for(var y=0,x=this.rowDefs,E=x.length,b=this.topIndex;ba||this.type!==$n.Table||this.columnCount===0)return-1;for(var y=0,x=this.colDefs,E=x.length,b=this.leftIndex;ba;)this.pc(this.O.length-1,!1);A1(this,this.itemArray)};function A1(a,y){var x=nm(a);if(y===null||y.length===0)for(;a.O.length>x;)a.pc(a.O.length-1,!1);else if(a.O.length<=x){x=y.length;for(var E=0;Ex)){var b=_v(a,y);if(b=Gv(a,b),b!==null){if(Zd(b),b=b.copy(),b.l&16777216){var z=a.ih();z!==null&&zv(z,!0)}typeof y=="object"&&(a.ge===null&&(a.ge=new gi),a.ge.add(y,b)),z=x+nm(a),a.Gb(z,b),E&&(b.ub=y,Vv(a,z,x),b.ub=null),b.data=y}}}function Vv(a,y,x){for(a=a.O;ya&&Cn(a,">= 0",$n,"padding"),a=new ao(a)):(0>a.left&&Cn(a.left,">= 0",$n,"padding:value.left"),0>a.right&&Cn(a.right,">= 0",$n,"padding:value.right"),0>a.top&&Cn(a.top,">= 0",$n,"padding:value.top"),0>a.bottom&&Cn(a.bottom,">= 0",$n,"padding:value.bottom"));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.v(),this.g("padding",y,a))}},defaultAlignment:{get:function(){return this.Tm},set:function(a){var y=this.Tm;y.D(a)||(this.Tm=a=a.J(),this.v(),this.g("defaultAlignment",y,a))}},defaultStretch:{get:function(){return this.Uf},set:function(a){var y=this.Uf;y!==a&&(this.Uf=a,this.v(),this.g("defaultStretch",y,a))}},defaultSeparatorPadding:{get:function(){return this.T!==null?this.T.Qp:Bc},set:function(a){typeof a=="number"&&(a=new ao(a));var y=this.defaultSeparatorPadding;y.D(a)||(a=a.J(),this.T===null&&(this.T=new Ld),this.T.Qp=a,this.v(),this.g("defaultSeparatorPadding",y,a))}},defaultRowSeparatorStroke:{get:function(){return this.T!==null?this.T.ia:null},set:function(a){var y=this.defaultRowSeparatorStroke;y!==a&&(a===null||typeof a=="string"||a instanceof ea)&&(a instanceof ea&&a.freeze(),this.T===null&&(this.T=new Ld),this.T.ia=a,this.N(),this.g("defaultRowSeparatorStroke",y,a))}},defaultRowSeparatorStrokeWidth:{get:function(){return this.T!==null?this.T.Ha:1},set:function(a){var y=this.defaultRowSeparatorStrokeWidth;y!==a&&isFinite(a)&&0<=a&&(this.T===null&&(this.T=new Ld),this.T.Ha=a,this.v(),this.g("defaultRowSeparatorStrokeWidth",y,a))}},defaultRowSeparatorDashArray:{get:function(){return this.T!==null?this.T.V:null},set:function(a){var y=this.defaultRowSeparatorDashArray;if(y!==a){if(a!==null){for(var x=a.length,E=0,b=0;ba)&&Et("Panel.topIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new Ld),this.T.Hb=a,this.v(),this.g("topIndex",y,a))}},leftIndex:{get:function(){return this.T!==null?this.T.hb:0},set:function(a){var y=this.leftIndex;y!==a&&((!isFinite(a)||0>a)&&Et("Panel.leftIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new Ld),this.T.hb=a,this.v(),this.g("leftIndex",y,a))}},data:{get:function(){return this.ub},set:function(a){var y=this.ub;if(y!==a){var x=this instanceof ar&&!(this instanceof na);Zd(this),this.ub=a;var E=this.diagram;E!==null&&(x?(x=E.partManager,this instanceof ai?(y!==null&&x.bf.remove(y),a!==null&&x.bf.add(a,this)):this instanceof ar&&(y!==null&&x.cf.remove(y),a!==null&&x.cf.add(a,this))):(x=this.panel,x!==null&&x.ge!==null&&(y!==null&&x.ge.remove(y),a!==null&&x.ge.add(a,this)))),this.g("data",y,a),E!==null&&E.undoManager.isUndoingRedoing||a!==null&&this.La()}}},itemIndex:{get:function(){return this.zn},set:function(a){var y=this.zn;y!==a&&(this.zn=a,this.g("itemIndex",y,a))}},allBindings:{get:function(){return this.A!==null?this.A.nb:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new Ar),this.A.nb=a)}},itemArray:{get:function(){return this.Hh},set:function(a){var y=this.Hh;if(y!==a||a!==null&&Dx(this,a)){var x=this.diagram;y!==a&&(x!==null&&y!==null&&Dy(x.partManager,this,x),this.Hh=a,x!==null&&a!==null&&By(x.partManager,this)),this.g("itemArray",y,a),x!==null&&x.undoManager.isUndoingRedoing||A1(this,a)}}},itemTemplate:{get:function(){return this.itemTemplateMap===null?null:this.itemTemplateMap.I("")},set:function(a){if(this.itemTemplateMap===null){if(a===null)return;this.itemTemplateMap=new gi}var y=this.itemTemplateMap.I("");y!==a&&((a instanceof ar||a.isPanelMain)&&Et("Panel.itemTemplate must not be a Part or be Panel.isPanelMain: "+a),this.itemTemplateMap.add("",a),this.g("itemTemplate",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv())}},itemTemplateMap:{get:function(){return this.A!==null?this.A.Pc:null},set:function(a){var y=this.itemTemplateMap;if(y!==a){for(var x=a.iterator;x.next(););Er(this),this.A.Pc=a,this.g("itemTemplateMap",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv()}}},itemCategoryProperty:{get:function(){return this.A!==null?this.A.Oc:"category"},set:function(a){var y=this.itemCategoryProperty;y!==a&&(Er(this),this.A.Oc=a,this.g("itemCategoryProperty",y,a))}},isAtomic:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.g("isAtomic",y,a))}},isClipping:{get:function(){return(this.l&2097152)!==0},set:function(a){var y=(this.l&2097152)!==0;y!==a&&(this.l^=2097152,this instanceof Gr&&(this.tb=null),this.v(),this.g("isClipping",y,a))}},isOpposite:{get:function(){return(this.l&33554432)!==0},set:function(a){var y=(this.l&33554432)!==0;y!==a&&(this.l^=33554432,this.v(),this.g("isOpposite",y,a))}},isEnabled:{get:function(){return(this.l&4194304)!==0},set:function(a){var y=(this.l&4194304)!==0;if(y!==a){var x=this.panel===null||this.panel.If();this.l^=4194304,this.g("isEnabled",y,a),y=this.diagram,y!==null&&y.undoManager.isUndoingRedoing||x&&l0(this,this,a)}}},alignmentFocusName:{get:function(){return this.$e},set:function(a){var y=this.$e;y!==a&&(this.$e=a,this.v(),this.g("alignmentFocusName",y,a))}}}),Rt.Object.defineProperties($n,{Position:{get:function(){return rh.I("Position")}},Horizontal:{get:function(){return rh.I("Horizontal")}},Vertical:{get:function(){return rh.I("Vertical")}},Spot:{get:function(){return rh.I("Spot")}},Auto:{get:function(){return rh.I("Auto")}},Table:{get:function(){return rh.I("Table")}},Viewbox:{get:function(){return rh.I("Viewbox")}},TableRow:{get:function(){return rh.I("TableRow")}},TableColumn:{get:function(){return rh.I("TableColumn")}},Link:{get:function(){return rh.I("Link")}},Grid:{get:function(){return rh.I("Grid")}},Graduated:{get:function(){return rh.I("Graduated")}}}),$n.prototype.rebuildItemElements=$n.prototype.mv,$n.prototype.findItemPanelForData=$n.prototype.sx,$n.prototype.updateTargetBindings=$n.prototype.La,$n.prototype.copyTemplate=$n.prototype.Uy,$n.prototype.graduatedValueForPoint=$n.prototype.Gz,$n.prototype.graduatedPointForValue=$n.prototype.Fz,$n.prototype.findColumnForLocalX=$n.prototype.fz,$n.prototype.findRowForLocalY=$n.prototype.nz,$n.prototype.addColumnDefinition=$n.prototype.By,$n.prototype.addRowDefinition=$n.prototype.Hy,$n.prototype.addRowColumnDefinition=$n.prototype.Gy,$n.prototype.removeColumnDefinition=$n.prototype.jA,$n.prototype.getColumnDefinition=$n.prototype.Eb,$n.prototype.removeRowDefinition=$n.prototype.oA,$n.prototype.getRowDefinition=$n.prototype.Fb,$n.prototype.removeAt=$n.prototype.mb,$n.prototype.remove=$n.prototype.remove,$n.prototype.insertAt=$n.prototype.Gb,$n.prototype.elt=$n.prototype.M,$n.prototype.add=$n.prototype.add,$n.prototype.findObject=$n.prototype.fb,$n.prototype.findInVisualTree=$n.prototype.Nl,$n.prototype.walkVisualTreeFrom=$n.prototype.qm,$n.prototype.findMainElement=$n.prototype.Pb;var F1=!1,b1=null,rh=new gi;$n.className="Panel",$n.definePanelLayout=Uh,Uh("Position",new Xm),Uh("Vertical",new Qm),Uh("Auto",new $m),Uh("Link",new o0);function Af(){this.lq=0,this.F=100,this.ia=10,this.V=0,this.Zh=this.o=this.j=this.u=null}Af.prototype.copy=function(){var a=new Af;return a.lq=this.lq,a.F=this.F,a.ia=this.ia,a.V=this.V,a.u=this.u,a.j=this.j,a.o=this.o,a.Zh=this.Zh,a},Af.className="GradPanelSettings";function Ld(){this.Pc=[],this.Oc=[],this.j=this.ob=d0,this.hb=this.Hb=0,this.Qp=Bc,this.Ha=1,this.V=this.ia=null,this.F=1,this.nb=this.o=this.u=null}Ld.prototype.copy=function(a){for(var y=new Ld,x=this.Pc,E=x.length,b=y.Pc,z=0;za&&Cn(a,">= 0",jl,"height"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("height",y,a))}},width:{get:function(){return this.Hc},set:function(a){var y=this.Hc;y!==a&&(0>a&&Cn(a,">= 0",jl,"width"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("width",y,a))}},minimum:{get:function(){return this.jj},set:function(a){var y=this.jj;y!==a&&((0>a||!isFinite(a))&&Cn(a,">= 0",jl,"minimum"),this.jj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("minimum",y,a))}},maximum:{get:function(){return this.hj},set:function(a){var y=this.hj;y!==a&&(0>a&&Cn(a,">= 0",jl,"maximum"),this.hj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("maximum",y,a))}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(this.Jb=a.J(),this.panel!==null&&this.panel.v(),this.Ob("alignment",y,a))}},stretch:{get:function(){return this.hg},set:function(a){var y=this.hg;y!==a&&(this.hg=a,this.panel!==null&&this.panel.v(),this.Ob("stretch",y,a))}},separatorPadding:{get:function(){return this.dg},set:function(a){typeof a=="number"&&(a=new ao(a));var y=this.dg;a!==null&&y!==null&&y.D(a)||(a!==null&&(a=a.J()),this.dg=a,this.panel!==null&&this.panel.v(),this.Ob("separatorPadding",y,a))}},separatorStroke:{get:function(){return this.lo},set:function(a){var y=this.lo;y!==a&&(a!==null&&rg(a,"RowColumnDefinition.separatorStroke"),a instanceof ea&&a.freeze(),this.lo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStroke",y,a))}},separatorStrokeWidth:{get:function(){return this.mo},set:function(a){var y=this.mo;y!==a&&(this.mo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStrokeWidth",y,a))}},separatorDashArray:{get:function(){return this.tj},set:function(a){var y=this.tj;if(y!==a){if(a!==null){for(var x=a.length,E=0,b=0;bb)){var z=E.measuredBounds,ee=Math.max(1,z.width);z=z.height;for(var re=x[0],oe=x[1],se,ce,ge,Se,we,Fe,Ne=0,Je=Ri(),Ge=2;Gege&&(ge=1),b=x=ge,se=ee/2,ce=se!==0,Ge=0,Fe=Je[Ge],ge=Fe[0],we=Fe[1],Se=Fe[2],Fe=Fe[3];for(var nt=0;.1<=Ne;){if(nt===0&&(ce?(b=x,b-=se,Ne-=se,ce=!1):b=x,b===0&&(b=1)),b>Ne){si(Je);return}b>Fe?(nt=b-Fe,b=Fe):nt=0;var at=Math.sqrt(b*b/(1+Se*Se));if(0>ge&&(at=-at),re+=at,oe+=Se*at,a.translate(re,oe),a.rotate(we),a.translate(-(ee/2),-(z/2)),nt===0&&E.hh(a,y),a.translate(ee/2,z/2),a.rotate(-we),a.translate(-re,-oe),Ne-=b,Fe-=b,nt!==0){if(Ge++,Ge===Je.length){si(Je);return}Fe=Je[Ge],ge=Fe[0],we=Fe[1],Se=Fe[2],Fe=Fe[3],b=nt}}si(Je)}}Be.hh=function(a,y){var x=this.xc,E=this.Ui;if(x!==null||E!==null){var b=this.ua;if(b!==null){a.yc();var z=this.actualBounds,ee=this.naturalBounds;E!==null&&gs(this,a,E,!0,!1,ee,z);var re=this.part,oe=this.ig;if(x===null||oe!==0||re===null||!this.isPanelMain&&re.Pb()!==this||(oe=re.type===$n.Link&&re instanceof na&&re.category==="Selection"&&re.adornedObject instanceof io&&re.adornedPart.Pb()===re.adornedObject?re.adornedObject.strokeWidth:0),oe===0&&(x=null),x!==null&&oe!==0&&(gs(this,a,x,!1,!1,ee,z),a.lineWidth=oe,a.lineJoin=this.strokeJoin,a.lineCap=this.strokeCap,a.miterLimit=this.strokeMiterLimit),z=!1,re&&y.Gf("drawShadows")&&(z=re.isShadowed),a.Il===!1&&(z=!1),re=!0,x===null||E!==null&&E!=="transparent"||(re=!1),ee=!1,oe=this.strokeDashArray,oe!==null&&(ee=!0,a.js(oe,this.strokeDashOffset)),b.type===li.j)a.beginPath(),a.moveTo(b.startX,b.startY),a.lineTo(b.endX,b.endY),x!==null&&a.jk(),a.Se();else if(b.type===li.u){var se=b.startX;oe=b.startY;var ce=b.endX,ge=b.endY;b=Math.min(se,ce);var Se=Math.min(oe,ge);se=Math.abs(ce-se),oe=Math.abs(ge-oe),a.beginPath(),a.rect(b,Se,se,oe),E!==null&&a.ng(E),x!==null&&(re&&z&&lc(a),a.jk(),re&&z&&Cu(a)),a.Se()}else if(b.type===li.F)se=b.startX,oe=b.startY,ce=b.endX,ge=b.endY,b=Math.abs(ce-se)/2,Se=Math.abs(ge-oe)/2,se=Math.min(se,ce)+b,oe=Math.min(oe,ge)+Se,a.beginPath(),a.moveTo(se,oe-Se),a.bezierCurveTo(se+Bt.wg*b,oe-Se,se+b,oe-Bt.wg*Se,se+b,oe),a.bezierCurveTo(se+b,oe+Bt.wg*Se,se+Bt.wg*b,oe+Se,se,oe+Se),a.bezierCurveTo(se-Bt.wg*b,oe+Se,se-b,oe+Bt.wg*Se,se-b,oe),a.bezierCurveTo(se-b,oe-Bt.wg*Se,se-Bt.wg*b,oe-Se,se,oe-Se),a.closePath(),E!==null&&a.ng(E),x!==null&&(re&&z&&lc(a),a.jk(),re&&z&&Cu(a)),a.Se();else if(b.type===li.o)for(b=b.figures,oe=b.length,Se=0;SeNe.sweepAngle,we!==null?we.endX:se.startX,we!==null?we.endY:se.startY)}else if(we=au(Ne,se),Je=we.length,Je===0)a.lineTo(Ne.centerX,Ne.centerY);else for(var Ge=0;Ge(x.startX-x.endX)*(a.x-x.endX)+(x.startY-x.endY)*(a.y-x.endY)||0>E)?!1:(nn.free(z),Bt.Yb(x.startX,x.startY,x.endX,x.endY,b,a.x,a.y));if(x.type===li.u){y=x.startX;var ee=x.startY,re=x.endX;if(x=x.endY,z.x=Math.min(y,re),z.y=Math.min(ee,x),z.width=Math.abs(re-y),z.height=Math.abs(x-ee),this.fill===null){if(z.Bc(-E,-E),z.ca(a))return nn.free(z),!1;z.Bc(E,E)}return this.stroke!==null&&z.Bc(b,b),a=z.ca(a),nn.free(z),a}if(x.type===li.F){ee=x.startX,b=x.startY,re=x.endX;var oe=x.endY;if(x=Math.min(ee,re),y=Math.min(b,oe),ee=Math.abs(re-ee)/2,b=Math.abs(oe-b)/2,x=a.x-(x+ee),y=a.y-(y+b),this.fill===null){if(ee-=E,b-=E,0>=ee||0>=b||1>=x*x/(ee*ee)+y*y/(b*b))return nn.free(z),!1;ee+=E,b+=E}return this.stroke!==null&&(ee+=E,b+=E),nn.free(z),0>=ee||0>=b?!1:1>=x*x/(ee*ee)+y*y/(b*b)}if(x.type===li.o)return nn.free(z),this.fill===null?Au(x,a.x,a.y,b):cd(x,a,b,1=this.strokeWidth)ce=Bt.Ve(se.startX,se.startY,se.endX,se.endY,z,ee,re,oe,b);else{if(se.startX===se.endX?(E=ge,ce=0):(y=(se.endY-se.startY)/(se.endX-se.startX),ce=ge/Math.sqrt(1+y*y),E=ce*y),y=Ri(),a=new Ze,Bt.Ve(se.startX+E,se.startY+ce,se.endX+E,se.endY+ce,z,ee,re,oe,a)&&y.push(a),a=new Ze,Bt.Ve(se.startX-E,se.startY-ce,se.endX-E,se.endY-ce,z,ee,re,oe,a)&&y.push(a),a=new Ze,Bt.Ve(se.startX+E,se.startY+ce,se.startX-E,se.startY-ce,z,ee,re,oe,a)&&y.push(a),a=new Ze,Bt.Ve(se.endX+E,se.endY+ce,se.endX-E,se.endY-ce,z,ee,re,oe,a)&&y.push(a),re=y.length,re===0)return si(y),!1;for(ce=!0,oe=1/0,E=0;EMath.abs(x)){if(oe=ee-ce-x*(z-E),0>a*a*x*x+se*se-oe*oe){b.x=NaN,b.y=NaN,ce=!1;break e}ge=Math.sqrt(a*a*x*x+se*se-oe*oe),re=(-(a*a*x*oe)+a*se*ge)/(se*se+a*a*x*x)+E,a=(-(a*a*x*oe)-a*se*ge)/(se*se+a*a*x*x)+E,se=x*(re-E)+oe+ce,oe=x*(a-E)+oe+ce,Math.abs((z-re)*(z-re))+Math.abs((ee-se)*(ee-se))re){b.x=NaN,b.y=NaN,ce=!1;break e}oe=Math.sqrt(re),re=ce+oe,oe=ce-oe,Math.abs(re-ee)Math.abs(Fe)?(Ne*=.5/Fe,Fe=.5):Ne!==0&&.5>Math.abs(Ne)&&(Fe*=.5/Ne,Ne=.5),Ge-=Fe,nt-=Ne;we.contains(Ge,nt);)Ge-=Fe,nt-=Ne;for(b.x=re,b.y=oe,Ne=0;Nex?a-x:x-a)<(y>E?y-E:E-y)?(a=ya||Bt.$(oe.y,a))&&(oe.yy||Bt.$(oe.x,y))&&(oe.x=a&&E<=y):(a=E&&x<=a)}Be.tx=function(a,y,x){function E(Je,Ge){for(var nt=Je.length,at=0;atb)return!0;return!1}if(x&&this.fill!==null&&this.gh(a,!0))return!0;var b=a.Bf(y),z=b;if(1.5=b||za(y,z,0,-ge)>=b||za(y,z,0,ge)>=b||za(y,z,ce,0)>=b)}else if(y.type===li.o){if(se=y.bounds,z=se.x,re=se.y,oe=se.x+se.width,se=se.y+se.height,a.x>oe&&a.xse&&a.yb&&Ea(a.x,a.y,z,re,oe,re)>b&&Ea(a.x,a.y,oe,se,z,se)>b&&Ea(a.x,a.y,oe,se,oe,re)>b)return!1;if(z=Math.sqrt(b),x){if(this.fill===null?Au(y,a.x,a.y,z):cd(y,a,z,!0,!1))return!0}else{for(x=y.figures,y=0;yb)return!1;for(re=z.segments.s,oe=re.length,se=0;seb)return!1;break;case ml:var Se=Ri();if(Bt.Qe(ee,ce,ge.point1X,ge.point1Y,ge.point2X,ge.point2Y,ge.endX,ge.endY,.8,Se),ee=E(Se,a),si(Se),ee||(ee=ge.endX,ce=ge.endY,a.zd(ee,ce)>b))return!1;break;case We:if(Se=Ri(),Bt.ep(ee,ce,ge.point1X,ge.point1Y,ge.endX,ge.endY,.8,Se),ee=E(Se,a),si(Se),ee||(ee=ge.endX,ce=ge.endY,a.zd(ee,ce)>b))return!1;break;case He:case qe:Se=ge.type===He?au(ge,z):Xu(ge,z,ee,ce);var we=Se.length;if(we===0){if(ee=ge.type===He?ge.centerX:ge.endX,ce=ge.type===He?ge.centerY:ge.endY,a.zd(ee,ce)>b)return!1;break}ge=null;for(var Fe=Ri(),Ne=0;Ne= 0",io,"strokeWidth:value")}},strokeCap:{get:function(){return this.Na!==null?this.Na.Hr:"butt"},set:function(a){var y=this.strokeCap;y!==a&&(typeof a!="string"||a!=="butt"&&a!=="round"&&a!=="square"?Cn(a,'"butt", "round", or "square"',io,"strokeCap"):(kg(this),this.Na.Hr=a,this.N(),this.g("strokeCap",y,a)))}},strokeJoin:{get:function(){return this.Na!==null?this.Na.Ir:"miter"},set:function(a){var y=this.strokeJoin;y!==a&&(typeof a!="string"||a!=="miter"&&a!=="bevel"&&a!=="round"?Cn(a,'"miter", "bevel", or "round"',io,"strokeJoin"):(kg(this),this.Na.Ir=a,this.N(),this.g("strokeJoin",y,a)))}},strokeMiterLimit:{get:function(){return this.Na!==null?this.Na.Jr:10},set:function(a){var y=this.strokeMiterLimit;if(y!==a&&1<=a){kg(this),this.Na.Jr=a,this.N();var x=this.part;x!==null&&(x.ag=NaN),this.g("strokeMiterLimit",y,a)}}},strokeDashArray:{get:function(){return this.Yg},set:function(a){var y=this.Yg;if(y!==a){if(a!==null){for(var x=a.length,E=0,b=0;ba?a=0:1a?a=0:1(ge*ge+ce*ce)*Se*Se&&(x=!0),y.ib!==a&&(x=!1),y.ib instanceof va&&(x=!1),y.Gf("textGreeking")===!1&&(x=!1),y=this.spacingAbove,ge=this.spacingBelow,this.flip){case vr:a.translate(b,0),a.scale(-1,1);break;case or:a.translate(0,z),a.scale(1,-1);break;case jr:a.translate(b,z),a.scale(-1,-1)}if(a.yc(),ce=this.Gc,Se=(y+ee+ge)*ce,z>Se&&(E=this.verticalAlignment,E=E.y*z-E.y*Se+E.offsetY),ce===1&&this.ze!==null)ge=this.Cb,ge>b&&(ge=b),this.Oj(this.ze,a,0,E+y,b,ee,ge,x,re,oe,se);else if(this.Qc!==null&&this.Qb!==null)for(Se=0;Seb&&(we=b),E+=y,this.Oj(this.Qb[Se],a,0,E,b,ee,we,x,re,oe,se),E+=ee+ge}switch(this.flip){case vr:a.scale(-1,1),a.translate(-b,0);break;case or:a.scale(1,-1),a.translate(0,-z);break;case jr:a.scale(-1,-1),a.translate(-b,-z)}}},Be.Oj=function(a,y,x,E,b,z,ee,re,oe,se,ce){var ge=0;if(re)oe==="left"?ge=0:oe==="right"?ge=b-ee:oe==="center"&&(ge=(b-ee)/2),y.fillRect(x+ge,E+.25*z,ee,1);else{if(oe==="left"?ge=0:oe==="right"?ge=b:oe==="center"&&(ge=b/2),b=g0!==null?g0(this,z):.75*z,y.fillText(a,x+ge,E+b),a=z/20|0,a===0&&(a=1),oe==="right"?ge-=ee:oe==="center"&&(ge-=ee/2),se){re=p0!==null?p0(this,z):.8*z,oe=x+ge,se=E+re,b=x+ge+ee,re=E+re;var Se=a;y.beginPath(),y.lineWidth=Se,y.moveTo(oe,se),y.lineTo(b,re),y.stroke(),y.Se(),y instanceof va&&y.ad.classList.add("gojs-td")}ce&&(ce=E+z-z/2.2|0,a%2!==0&&(ce+=.5),E=x+ge,z=ce,x=x+ge+ee,ee=ce,ge=a,y.beginPath(),y.lineWidth=ge,y.moveTo(E,z),y.lineTo(x,ee),y.stroke(),y.Se(),y instanceof va&&y.ad.classList.add("gojs-td"))}},Be.kk=function(a,y,x){if(!Pt.prototype.kk.call(this,a,y,x))return!1;if(gs(this,a,this.xc,!0,!1,this.naturalBounds,this.actualBounds),x){if(this.svg.getElementsByTagName("text").length===0)return!0;for(y=this.svg.getElementsByClassName("gojs-td"),x=0;xa.transactionLevel&&Kn("Ending transaction without having started a transaction: "+x);var E=a.transactionLevel===1,b=a.currentTransaction;E&&y&&(a.isInternalTransaction||a.Ob("CommittingTransaction",x,b));var z=0;if(0=E&&(z=y.M(0),z!==null&&z.clear(),y.mb(0),a.Ce--)),E===0||y.count!==0&&y.get(y.count-1)===b||(y.add(b),a.Ce++),y.freeze()),a.isInternalTransaction||a.Ob("CommittedTransaction",x,b);else{a.Fe=!0;try{a.isEnabled&&b!==null&&(b.isComplete=!0,b.undo())}finally{a.isInternalTransaction||a.Ob("RolledBackTransaction",x,b),a.Fe=!1}b!==null&&b.clear()}return a.Np=null,a.isPendingClear&&a.clear(),a.isPendingClear=!1,a.isPendingUnmodified=!1,!0}if(a.isEnabled&&!y&&b!==null){for(a=z,x=b.changes,b=x.count-1;b>=a;b--)y=x.M(b),y!==null&&y.undo(),x.ka(),x.mb(b);x.freeze()}return!1}Be.lx=function(){if(!this.isUndoingRedoing&&this.canRedo()){var a=this.history;a.ka();for(var y=a.count-1;y>this.historyIndex;y--){var x=a.M(y);x!==null&&x.clear(),a.mb(y),this.rq=!0}a.freeze()}},vi.prototype.canUndo=function(){if(!this.isEnabled||0=this.transactionLevel&&!this.tt&&(a=a.diagram,a!==null&&a.pi===!1||Kn("Change not within a transaction: "+x.toString()))}},vi.prototype.skipsEvent=function(a){if(a===null||0>a.change.value)return!0;if(a=a.object,a===null)return!1;if(a.layer!==void 0){if(a=a.layer,a!==null&&a.isTemporary)return!0}else if(a.isTemporary)return!0;return!1},Rt.Object.defineProperties(vi.prototype,{models:{get:function(){return this.Pt.iterator}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},transactionToUndo:{get:function(){return 0<=this.historyIndex&&this.historyIndex<=this.history.count-1?this.history.M(this.historyIndex):null}},transactionToRedo:{get:function(){return this.historyIndexb||Math.abs(y.y-a.y)>E},Rt.Object.defineProperties(di.prototype,{diagram:{get:function(){return this.H},set:function(a){a instanceof Ht&&(this.H=a)}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},isActive:{get:function(){return this.nb},set:function(a){this.nb=a}},transactionResult:{get:function(){return this.wm},set:function(a){this.wm=a}}}),di.prototype.startTransaction=di.prototype.Ea,di.className="Tool";function Gn(){di.call(this),this.name="ToolManager",this.hb=new ln,this.ob=new ln,this.Hb=new ln,this.F=this.V=850,this.o=new pi(2,2).ja(),this.Ha=5e3,this.ia=cr,this.u=fo,this.Mp=this.j=null,this.zj=-1}_t(Gn,di),Gn.prototype.initializeStandardTools=function(){},Gn.prototype.updateAdornments=function(a){var y=this.currentToolTip;if(y instanceof na&&this.Mp===a){var x=y.adornedObject;(a!==null?x.part===a:x===null)?this.showToolTip(y,x):this.hideToolTip()}},Gn.prototype.doMouseDown=function(){var a=this.diagram,y=a.lastInput;if(y.isTouchEvent&&this.gestureBehavior===vo&&(y.bubbles=!1),y.isMultiTouch){if(this.cancelWaitAfter(),this.gestureBehavior===uo){y.bubbles=!0;return}if(this.gestureBehavior===vo)return;if(a.currentTool.canStartMultiTouch()){a.currentTool.standardPinchZoomStart();return}}for(var x=this.mouseDownTools.length,E=0;Eb.right&&(x.x-=E.width+5/y.scale),x.xb.bottom?x.y-(E.height+5/y.scale):x.y+20/y.scale,x.yx.pointsCount)){var E=a.diagram;if(!E.isReadOnly){var b=a.Oe;if(b!==null){var z=null,ee=null;x.fromNode===null&&(z=ds(a,x.i(0),!1),z!==null&&(ee=z.part));var re=null,oe=null;x.toNode===null&&(re=ds(a,x.i(x.pointsCount-1),!0),re!==null&&(oe=re.part)),b.isValidLink(ee,z,oe,re)?y?(x.defaultFromPoint=x.i(0),x.defaultToPoint=x.i(x.pointsCount-1),x.suspendsRouting=!1,x.fromNode=ee,z!==null&&(x.fromPortId=z.portId),x.toNode=oe,re!==null&&(x.toPortId=re.portId),x.fromPort!==E.Mx&&E.R("LinkRelinked",x,E.Mx),x.toPort!==E.Nx&&E.R("LinkRelinked",x,E.Nx)):Sl(b,ee,z,oe,re):Sl(b,null,null,null,null)}}}}tr.prototype.doDragOver=function(){};function vl(a,y){var x=a.diagram;a.dragsLink&&zs(a,!0),Ro(a);var E=a.findDragOverObject(y),b=x.lastInput;if(b.targetObject=E,E!==null){b.handled=!1;for(var z=E;z!==null;){var ee=z.mouseDrop;if(ee!==null&&(ee(b,z),b.handled))break;yl(a,b,z),z=_s(z)}}else z=x.mouseDrop,z!==null&&z(b);if(a.isActive||Ma!==null){for(b=(a.copiedParts||a.draggedParts).iterator;b.next();)z=b.key,z instanceof Fi&&z.linksConnected.each(function(re){re.suspendsRouting=!1});if(a.doDropOnto(y,E),a.isActive||Ma!==null){for(a=rn.alloc(),y=x.selection.iterator;y.next();)E=y.value,E instanceof Fi&&Nu(x,E,a);rn.free(a)}}}function yl(a,y,x){a=a.diagram,x=x.part,!a.handlesDragDropForTopLevelParts||!x.isTopLevel||x instanceof Gr||(x=a.mouseDrop,x!==null&&x(y))}function Nu(a,y,x){var E=!1;if(x=y.getAvoidableRect(x),a.viewportBounds.Re(x)&&(E=!0),a=a.Nu(x,function(b){return b.part},function(b){return b instanceof ai},!0,function(b){return b instanceof ai},E),a.count!==0)for(a=a.iterator;a.next();)x=a.value,!x.Td(y)&&x.isAvoiding&&x.bb()}tr.prototype.doDropOnto=function(){},tr.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;this.simulatedMouseMove(y.event,y.documentPoint,y.targetDiagram)||this.currentPart===null||this.draggedParts===null||(this.mayCopy()?($a(this,!1),Yo(a,this.copiedParts),es(this,this.copiedParts,!1),ts(a,this.copiedParts)):this.mayMove()?(Ja(this),es(this,this.draggedParts,!0)):this.mayDragOut()?($a(this,!1),es(this,this.copiedParts,!1)):Ja(this),ss(this,a.lastInput.documentPoint))}},tr.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;if(!this.simulatedMouseUp(y.event,y.documentPoint,y.targetDiagram)){y=!1;var x=this.mayCopy();if(x&&this.copiedParts!==null?(Ja(this),$a(this,!0),Yo(a,this.copiedParts),es(this,this.copiedParts,!1),ts(a,this.copiedParts),this.copiedParts!==null&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),this.copiedParts.iteratorKeys.each(function(b){b.isSelected=!0}))):(y=!0,Ja(this),this.mayMove()&&(es(this,this.draggedParts,!0),ss(this,a.lastInput.documentPoint))),this.Ym=!0,vl(this,a.lastInput.documentPoint),this.isActive){var E=x?this.copiedParts.Lf():this.draggedParts.Lf();this.copiedParts=null,y&&Rl(this),a.Ya(),ts(a,this.draggedParts),this.transactionResult=x?"Copy":"Move",a.R(x?"SelectionCopied":"SelectionMoved",E)}this.stopTool(),x&&a.R("ChangedSelection",a.selection)}}},tr.prototype.simulatedMouseMove=function(a,y,x){if(Ma===null)return!1;var E=Ma.diagram;x instanceof Ht||(x=null);var b=Vs;return x!==b&&(b!==null&&b!==E&&(b.ug(),Ma.isDragOutStarted=!1,b=b.toolManager.findTool("Dragging"),b!==null&&b.doSimulatedDragLeave()),Vs=x,x!==null&&x!==E&&(cs(),b=x.toolManager.findTool("Dragging"),b!==null&&(Ca.contains(b)||Ca.add(b),b.doSimulatedDragEnter())),this.doUpdateCursor(null)),x===null||x===E||!x.allowDrop||x.isReadOnly||!x.allowInsert?!1:(E=x.toolManager.findTool("Dragging"),E!==null&&(a!==null&&(a.targetTouches!==void 0&&(0ee&&(ee=se),ce>re&&(re=ce))}}for(E===1/0?z.h(0,0,0,0):z.h(E,b,ee-E,re-b),E=z.x+z.width/2,b=z.y+z.height/2,rn.free(z),z=a.Fr,ee=new gi,re=Ze.alloc(),oe=y.iterator;oe.next();)se=oe.value,se instanceof ai&&se.canCopy()&&(ce=x.I(se),ce!==null&&(ce.points=se.points,zf(ce,z.x-E,z.y-b),ce.suspendsRouting=!0,ee.add(ce,a.Pd())));for(y=y.iterator;y.next();)se=y.value,se.Zc()&&se.canCopy()&&(oe=x.I(se),oe!==null&&(se=se.location,re.h(z.x-(E-se.x),z.y-(b-se.y)),oe.location=re,oe.Va(),ee.add(oe,a.Pd(re))));Ze.free(re),a.copiedParts=ee,ra(a,ee.Lf()),a.draggedLink!==null&&(x=a.draggedLink,y=x.routeBounds,zf(x,a.startPoint.x-(y.x+y.width/2),a.startPoint.y-(y.y+y.height/2))),a.doUpdateCursor(null)}}}tr.prototype.doSimulatedDragOut=function(){var a=this.diagram;a.Ns=!1,this.mayCopy()||this.mayMove()?a.currentCursor="":a.currentCursor=this.nodropCursor,this.Bn=null},tr.prototype.computeMove=function(a,y,x,E){return x=this.diagram,x!==null?x.computeMove(a,y,this.dragOptions,E):new Ze},Rt.Object.defineProperties(tr.prototype,{isCopyEnabled:{get:function(){return this.ob},set:function(a){this.ob=a}},copiesEffectiveCollection:{get:function(){return this.u},set:function(a){this.u=a}},dragOptions:{get:function(){return this.ia},set:function(a){this.ia=a}},isGridSnapEnabled:{get:function(){return this.dragOptions.isGridSnapEnabled},set:function(a){this.dragOptions.isGridSnapEnabled=a}},isComplexRoutingRealtime:{get:function(){return this.hb},set:function(a){this.hb=a}},isGridSnapRealtime:{get:function(){return this.dragOptions.isGridSnapRealtime},set:function(a){this.dragOptions.isGridSnapRealtime=a}},gridSnapCellSize:{get:function(){return this.dragOptions.gridSnapCellSize},set:function(a){this.dragOptions.gridSnapCellSize.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSize=a)}},gridSnapCellSpot:{get:function(){return this.dragOptions.gridSnapCellSpot},set:function(a){this.dragOptions.gridSnapCellSpot.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSpot=a)}},gridSnapOrigin:{get:function(){return this.dragOptions.gridSnapOrigin},set:function(a){this.dragOptions.gridSnapOrigin.D(a)||(a=a.J(),this.dragOptions.gridSnapOrigin=a)}},dragsLink:{get:function(){return this.dragOptions.dragsLink},set:function(a){this.dragOptions.dragsLink=a}},dragsTree:{get:function(){return this.dragOptions.dragsTree},set:function(a){this.dragOptions.dragsTree=a}},copyCursor:{get:function(){return this.F},set:function(a){this.F=a}},moveCursor:{get:function(){return this.Oc},set:function(a){this.Oc=a}},nodropCursor:{get:function(){return this.Pc},set:function(a){this.Pc=a}},currentPart:{get:function(){return this.V},set:function(a){this.V=a}},copiedParts:{get:function(){return this.o},set:function(a){this.o=a}},draggedParts:{get:function(){return this.Ha},set:function(a){this.Ha=a}},draggingParts:{get:function(){return this.copiedParts!==null?this.copiedParts.Lf():this.draggedParts!==null?this.draggedParts.Lf():this.te}},draggedLink:{get:function(){return this.diagram.draggedLink},set:function(a){this.diagram.draggedLink=a}},isDragOutStarted:{get:function(){return this.Hb},set:function(a){this.Hb=a}},startPoint:{get:function(){return this.Fr},set:function(a){this.Fr.D(a)||this.Fr.assign(a)}},delay:{get:function(){return this.Ik},set:function(a){this.Ik=a}}}),tr.prototype.getDraggingSource=tr.prototype.Az;var Ma=null,Vs=null;tr.className="DraggingTool",Ca=new ln,Lo("draggingTool",function(){return this.findTool("Dragging")},function(a){this.gb("Dragging",a,this.mouseMoveTools)}),Gn.prototype.doCancel=function(){Ma!==null&&Ma.doCancel(),di.prototype.doCancel.call(this)};function Pa(){di.call(this),this.te=100,this.Ha=!1,this.u="pointer";var a=new ai,y=new io;y.isPanelMain=!0,y.stroke="blue",a.add(y),y=new io,y.toArrow="Standard",y.fill="blue",y.stroke="blue",a.add(y),a.layerName="Tool",this.Ci=a,a=new Fi,y=new io,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=Ba,a.add(y),a.selectable=!1,a.layerName="Tool",this.Bi=a,this.j=y,a=new Fi,y=new io,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=Ba,a.add(y),a.selectable=!1,a.layerName="Tool",this.Di=a,this.o=y,this.Pc=this.Oc=this.ob=this.hb=this.Hb=null,this.ia=!0,this.hy=new gi,this.Of=this.gj=this.Pf=null}_t(Pa,di),Pa.prototype.doStop=function(){this.diagram.ug(),this.originalToPort=this.originalToNode=this.originalFromPort=this.originalFromNode=this.originalLink=null,this.validPortsCache.clear(),this.targetPort=null},Pa.prototype.copyPortProperties=function(a,y,x,E,b){if(a!==null&&y!==null&&x!==null&&E!==null){var z=y.Df(),ee=pi.alloc();ee.width=y.naturalBounds.width*z,ee.height=y.naturalBounds.height*z,E.desiredSize=ee,pi.free(ee),b?(E.toSpot=y.toSpot,E.toEndSegmentLength=y.toEndSegmentLength):(E.fromSpot=y.fromSpot,E.fromEndSegmentLength=y.fromEndSegmentLength),x.locationSpot=Dr,z=Ze.alloc(),x.location=y.ga(Dr,z),Ze.free(z),E.angle=y.li(),this.portTargeted!==null&&this.portTargeted(a,y,x,E,b)}},Pa.prototype.setNoTargetPortProperties=function(a,y,x){y!==null&&(y.desiredSize=Ba,y.fromSpot=il,y.toSpot=il),a!==null&&(a.location=this.diagram.lastInput.documentPoint),this.portTargeted!==null&&this.portTargeted(null,null,a,y,x)},Pa.prototype.doMouseDown=function(){this.isActive&&this.doMouseMove()},Pa.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram;if(this.targetPort=this.findTargetPort(this.isForwards),this.targetPort!==null&&this.targetPort.part instanceof Fi){var y=this.targetPort.part;this.isForwards?this.copyPortProperties(y,this.targetPort,this.temporaryToNode,this.temporaryToPort,!0):this.copyPortProperties(y,this.targetPort,this.temporaryFromNode,this.temporaryFromPort,!1)}else this.isForwards?this.setNoTargetPortProperties(this.temporaryToNode,this.temporaryToPort,!0):this.setNoTargetPortProperties(this.temporaryFromNode,this.temporaryFromPort,!1);(a.allowHorizontalScroll||a.allowVerticalScroll)&&a.gs(a.lastInput.viewPoint)}},Pa.prototype.findValidLinkablePort=function(a,y){if(a===null)return null;var x=a.part;if(!(x instanceof Fi))return null;for(;a!==null;){var E=y?a.toLinkable:a.fromLinkable;if(E===!0&&(a.portId!==null||a instanceof Fi)&&(y?this.isValidTo(x,a):this.isValidFrom(x,a)))return a;if(E===!1)break;a=a.panel}return null},Pa.prototype.findTargetPort=function(a){var y=this.diagram,x=y.lastInput.documentPoint,E=this.portGravity;0>=E&&(E=.1);var b=this,z=y.og(x,E,function(ge){return b.findValidLinkablePort(ge,a)},null,!0);for(E=1/0,y=null,z=z.iterator;z.next();){var ee=z.value,re=ee.part;if(re instanceof Fi){var oe=ee.ga(Dr,Ze.alloc()),se=x.x-oe.x,ce=x.y-oe.y;Ze.free(oe),oe=se*se+ce*ce,oex){if(this.originalLink!==null&&a===this.originalFromNode&&y===this.originalFromPort)return!0;if(y=y.portId,y===null&&(y=""),a.Mo(y).count>=x)return!1}return!0},Pa.prototype.isValidTo=function(a,y){if(a===null||y===null)return this.isUnconnectedLinkValid;if(this.diagram.currentTool===this&&(a.layer!==null&&!a.layer.allowLink||y.toLinkable!==!0))return!1;var x=y.toMaxLinks;if(1/0>x){if(this.originalLink!==null&&a===this.originalToNode&&y===this.originalToPort)return!0;if(y=y.portId,y===null&&(y=""),a.Sd(y).count>=x)return!1}return!0},Pa.prototype.isInSameNode=function(a,y){return a===null||y===null?!1:a===y?!0:(a=a.part,y=y.part,a!==null&&a===y)},Pa.prototype.isLinked=function(a,y){if(a===null||y===null)return!1;var x=a.part;if(!(x instanceof Fi))return!1;a=a.portId,a===null&&(a="");var E=y.part;if(!(E instanceof Fi))return!1;for(y=y.portId,y===null&&(y=""),y=E.Sd(y);y.next();)if(E=y.value,E.fromNode===x&&E.fromPortId===a)return!0;return!1},Pa.prototype.isValidLink=function(a,y,x,E){if(!this.isValidFrom(a,y)||!this.isValidTo(x,E)||!(y===null||E===null||(y.fromLinkableSelfNode&&E.toLinkableSelfNode||!this.isInSameNode(y,E))&&(y.fromLinkableDuplicates&&E.toLinkableDuplicates||!this.isLinked(y,E)))||this.originalLink!==null&&(a!==null&&this.isLabelDependentOnLink(a,this.originalLink)||x!==null&&this.isLabelDependentOnLink(x,this.originalLink))||a!==null&&x!==null&&(a.data===null&&x.data!==null||a.data!==null&&x.data===null)||!this.isValidCycle(a,x,this.originalLink))return!1;if(a!==null){var b=a.linkValidation;if(b!==null&&!b(a,y,x,E,this.originalLink))return!1}return x!==null&&(b=x.linkValidation,b!==null&&!b(a,y,x,E,this.originalLink))?!1:(b=this.linkValidation,b!==null?b(a,y,x,E,this.originalLink):!0)},Pa.prototype.isLabelDependentOnLink=function(a,y){if(a===null)return!1;var x=a.labeledLink;if(x===null)return!1;if(x===y)return!0;var E=new Rn;return E.add(a),Bs(this,x,y,E)};function Bs(a,y,x,E){if(y===x)return!0;var b=y.fromNode;return b!==null&&b.isLinkLabel&&(E.add(b),Bs(a,b.labeledLink,x,E))?!0:(y=y.toNode,!!(y!==null&&y.isLinkLabel&&(E.add(y),Bs(a,y.labeledLink,x,E))))}Pa.prototype.isValidCycle=function(a,y,x){if(x===void 0&&(x=null),a===null||y===null)return this.isUnconnectedLinkValid;var E=this.diagram.validCycle;if(E!==Vd){if(E===ng){if(E=x||this.temporaryLink,E!==null&&!E.isTreeLink)return!0;for(E=y.linksConnected;E.next();){var b=E.value;if(b!==x&&b.isTreeLink&&b.toNode===y)return!1}return!As(this,a,y,x,!0)}if(E===Nf){if(E=x||this.temporaryLink,E!==null&&!E.isTreeLink)return!0;for(E=a.linksConnected;E.next();)if(b=E.value,b!==x&&b.isTreeLink&&b.fromNode===a)return!1;return!As(this,a,y,x,!0)}if(E===of)return a===y?a=!0:(E=new Rn,E.add(y),a=Gs(this,E,a,y,x)),!a;if(E===bu)return!As(this,a,y,x,!1);if(E===Ef)return a===y?a=!0:(E=new Rn,E.add(y),a=Tu(this,E,a,y,x)),!a}return!0};function As(a,y,x,E,b){if(y===x)return!0;if(y===null||x===null)return!1;for(var z=y.linksConnected;z.next();){var ee=z.value;if(ee!==E&&(!b||ee.isTreeLink)&&ee.toNode===y&&(ee=ee.fromNode,ee!==y&&As(a,ee,x,E,b)))return!0}return!1}function Gs(a,y,x,E,b){if(x===E)return!0;if(x===null||E===null||y.contains(x))return!1;y.add(x);for(var z=x.linksConnected;z.next();){var ee=z.value;if(ee!==b&&ee.toNode===x&&(ee=ee.fromNode,ee!==x&&Gs(a,y,ee,E,b)))return!0}return!1}function Tu(a,y,x,E,b){if(x===E)return!0;if(x===null||E===null||y.contains(x))return!1;y.add(x);for(var z=x.linksConnected;z.next();){var ee=z.value;if(ee!==b){var re=ee.fromNode;if(ee=ee.toNode,re=re===x?ee:re,re!==x&&Tu(a,y,re,E,b))return!0}}return!1}Rt.Object.defineProperties(Pa.prototype,{portGravity:{get:function(){return this.te},set:function(a){0<=a&&(this.te=a)}},isUnconnectedLinkValid:{get:function(){return this.Ha},set:function(a){this.Ha=a}},linkingCursor:{get:function(){return this.u},set:function(a){this.u=a}},temporaryLink:{get:function(){return this.Ci},set:function(a){this.Ci=a}},temporaryFromNode:{get:function(){return this.Bi},set:function(a){(this.Bi=a)&&(this.j=a.port)}},temporaryFromPort:{get:function(){return this.j},set:function(a){if(this.j!==null){var y=this.j.panel;if(y!==null){var x=y.O.indexOf(this.j);y.mb(x),y.Gb(x,a)}}this.j=a}},temporaryToNode:{get:function(){return this.Di},set:function(a){(this.Di=a)&&(this.o=a.port)}},temporaryToPort:{get:function(){return this.o},set:function(a){if(this.o!==null){var y=this.o.panel;if(y!==null){var x=y.O.indexOf(this.o);y.mb(x),y.Gb(x,a)}}this.o=a}},originalLink:{get:function(){return this.Hb},set:function(a){this.Hb=a}},originalFromNode:{get:function(){return this.hb},set:function(a){this.hb=a}},originalFromPort:{get:function(){return this.ob},set:function(a){this.ob=a}},originalToNode:{get:function(){return this.Oc},set:function(a){this.Oc=a}},originalToPort:{get:function(){return this.Pc},set:function(a){this.Pc=a}},isForwards:{get:function(){return this.ia},set:function(a){this.ia=a}},validPortsCache:{get:function(){return this.hy}},targetPort:{get:function(){return this.Pf},set:function(a){this.Pf=a}},linkValidation:{get:function(){return this.gj},set:function(a){this.gj=a}},portTargeted:{get:function(){return this.Of},set:function(a){this.Of=a}}}),Pa.className="LinkingBaseTool";function sa(){Pa.call(this),this.name="Linking",this.V={},this.F=null,this.K=Ys,this.Xd=null}_t(sa,Pa),sa.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return a.isReadOnly||a.isModelReadOnly||!a.allowLink||!a.model.xs()||!a.lastInput.left||a.currentTool!==this&&!this.isBeyondDragSize()?!1:this.findLinkablePort()!==null},sa.prototype.findLinkablePort=function(){var a=this.diagram,y=this.startObject;if(y===null&&(y=a.ic(a.firstInput.documentPoint,null,null)),y===null||(a=y.part,!(a instanceof Fi)))return null;var x=this.direction;if(x===Ys||x===Dl){var E=this.findValidLinkablePort(y,!1);if(E!==null||this.startObject===a&&(E=a.port,this.findValidLinkablePort(E,!1)))return this.isForwards=!0,E}return(x===Ys||x===su)&&(y=this.findValidLinkablePort(y,!0),y!==null||this.startObject===a&&(y=a.port,this.findValidLinkablePort(y,!0)))?(this.isForwards=!1,y):null},sa.prototype.doActivate=function(){var a=this.diagram,y=this.findLinkablePort();y===null?this.stopTool():(this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.isForwards?(this.temporaryToNode!==null&&(this.temporaryToNode.location=a.lastInput.documentPoint),this.originalFromPort=y,y=this.originalFromPort.part,y instanceof Fi&&(this.originalFromNode=y),this.copyPortProperties(this.originalFromNode,this.originalFromPort,this.temporaryFromNode,this.temporaryFromPort,!1)):(this.temporaryFromNode!==null&&(this.temporaryFromNode.location=a.lastInput.documentPoint),this.originalToPort=y,y=this.originalToPort.part,y instanceof Fi&&(this.originalToNode=y),this.copyPortProperties(this.originalToNode,this.originalToPort,this.temporaryToNode,this.temporaryToPort,!0)),a.add(this.temporaryFromNode),this.temporaryFromNode&&this.temporaryFromNode.Va(),a.add(this.temporaryToNode),this.temporaryToNode&&this.temporaryToNode.Va(),this.temporaryLink!==null&&(this.temporaryFromNode!==null&&(this.temporaryLink.fromNode=this.temporaryFromNode),this.temporaryToNode!==null&&(this.temporaryLink.toNode=this.temporaryToNode),this.temporaryLink.isTreeLink=this.isNewTreeLink(),this.temporaryLink.bb(),a.add(this.temporaryLink)),this.isActive=!0)},sa.prototype.doDeactivate=function(){this.isActive=!1;var a=this.diagram;a.remove(this.temporaryLink),a.remove(this.temporaryFromNode),a.remove(this.temporaryToNode),a.isMouseCaptured=!1,a.currentCursor="",this.stopTransaction()},sa.prototype.doStop=function(){Pa.prototype.doStop.call(this),this.startObject=null},sa.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=this.transactionResult=null,x=null,E=null,b=null,z=null;try{var ee=this.targetPort=this.findTargetPort(this.isForwards);if(ee!==null){var re=ee.part;re instanceof Fi&&(this.isForwards?(this.originalFromNode!==null&&(y=this.originalFromNode,x=this.originalFromPort),E=re,b=ee):(y=re,x=ee,this.originalToNode!==null&&(E=this.originalToNode,b=this.originalToPort)))}else this.isForwards?this.originalFromNode!==null&&this.isUnconnectedLinkValid&&(y=this.originalFromNode,x=this.originalFromPort):this.originalToNode!==null&&this.isUnconnectedLinkValid&&(E=this.originalToNode,b=this.originalToPort);y!==null||E!==null?(z=this.insertLink(y,x,E,b),z!==null?(ee===null&&(this.isForwards?z.defaultToPoint=a.lastInput.documentPoint:z.defaultFromPoint=a.lastInput.documentPoint),a.allowSelect&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),z.isSelected=!0),this.transactionResult=this.name,a.R("LinkDrawn",z)):this.doNoLink(y,x,E,b)):this.isForwards?this.doNoLink(this.originalFromNode,this.originalFromPort,null,null):this.doNoLink(null,null,this.originalToNode,this.originalToPort)}finally{this.stopTool(),z&&a.allowSelect&&a.R("ChangedSelection",a.selection)}}},sa.prototype.isNewTreeLink=function(){var a=this.archetypeLinkData;if(a===null)return!0;if(a instanceof ai)return a.isTreeLink;var y=this.diagram;return y===null?!0:(a=y.partManager.getLinkCategoryForData(a),y=y.partManager.findLinkTemplateForCategory(a),y!==null?y.isTreeLink:!0)},sa.prototype.insertLink=function(a,y,x,E){return this.diagram.partManager.insertLink(a,y,x,E)},sa.prototype.doNoLink=function(){},Rt.Object.defineProperties(sa.prototype,{archetypeLinkData:{get:function(){return this.V},set:function(a){this.V=a}},archetypeLabelNodeData:{get:function(){return this.F},set:function(a){this.F=a}},direction:{get:function(){return this.K},set:function(a){this.K=a}},startObject:{get:function(){return this.Xd},set:function(a){this.Xd=a}}});var Ys=new sn(sa,"Either",0),Dl=new sn(sa,"ForwardsOnly",0),su=new sn(sa,"BackwardsOnly",0);sa.className="LinkingTool",sa.Either=Ys,sa.ForwardsOnly=Dl,sa.BackwardsOnly=su;function pa(){Pa.call(this),this.name="Relinking";var a=new io;a.figure="Diamond",a.desiredSize=Xa,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=0,this.V=a,a=new io,a.figure="Diamond",a.desiredSize=Xa,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=-1,this.Xd=a,this.F=null,this.Ew=new rn}_t(pa,Pa),pa.prototype.updateAdornments=function(a){if(a!==null&&a instanceof ai){var y="RelinkFrom",x=null;if(a.isSelected&&!this.diagram.isReadOnly){var E=a.selectionObject;E!==null&&a.canRelinkFrom()&&a.actualBounds.w()&&a.isVisible()&&E.actualBounds.w()&&E.Ed()&&(x=a.Pj(y),x===null&&(x=this.makeAdornment(E,!1),a.bh(y,x)))}x===null&&a.Jf(y),y="RelinkTo",x=null,a.isSelected&&!this.diagram.isReadOnly&&(E=a.selectionObject,E!==null&&a.canRelinkTo()&&a.actualBounds.w()&&a.isVisible()&&E.actualBounds.w()&&E.Ed()&&(x=a.Pj(y),x===null?(x=this.makeAdornment(E,!0),a.bh(y,x)):x.v())),x===null&&a.Jf(y)}},pa.prototype.makeAdornment=function(a,y){var x=new na;return x.type=$n.Link,y=y?this.toHandleArchetype:this.fromHandleArchetype,y!==null&&x.add(y.copy()),x.adornedObject=a,x},pa.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowRelink||!a.model.xs()||!a.lastInput.left)return!1;var y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom");return y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo")),y!==null},pa.prototype.doActivate=function(){var a=this.diagram;if(this.originalLink===null){var y=this.handle;if(y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom"),y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo"))),y===null)return;var x=y.part;if(!(x instanceof na&&x.adornedPart instanceof ai))return;this.handle=y,this.isForwards=x===null||x.category==="RelinkTo",this.originalLink=x.adornedPart}this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.originalFromPort=this.originalLink.fromPort,this.originalFromNode=this.originalLink.fromNode,this.originalToPort=this.originalLink.toPort,this.originalToNode=this.originalLink.toNode,this.Ew.set(this.originalLink.actualBounds),this.originalLink!==null&&0y.firstPickIndex+1&&x=x.x)y=0>=x.y?y+225:1<=x.y?y+135:y+180;else if(1<=x.x)0>=x.y?y+=315:1<=x.y&&(y+=45);else if(0>=x.y)y+=270;else if(1<=x.y)y+=90;else break e;0>y?y+=360:360<=y&&(y-=360),a.cursor=22.5>y?"e-resize":67.5>y?"se-resize":112.5>y?"s-resize":157.5>y?"sw-resize":202.5>y?"w-resize":247.5>y?"nw-resize":292.5>y?"n-resize":337.5>y?"ne-resize":"e-resize"}else if(a instanceof $n)for(a=a.elements;a.next();)this.updateResizeHandles(a.value,y)}},xl.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return!a.isReadOnly&&a.allowResize&&a.lastInput.left?this.findToolHandleAt(a.firstInput.documentPoint,this.name)!==null:!1},xl.prototype.doActivate=function(){var a=this.diagram;this.handle===null&&(this.handle=this.findToolHandleAt(a.firstInput.documentPoint,this.name)),this.handle!==null&&(this.adornedObject=this.handle.part.adornedObject,this.adornedObject!==null&&(a.isMouseCaptured=!0,a.animationManager.Cc(),this.Ea(this.name),this.Xq.set(this.adornedObject.ga(this.handle.alignment.gv())),this.Tn.set(this.adornedObject.part.location),this.Dw.set(this.adornedObject.desiredSize),this.pt=this.computeCellSize(),this.rt=this.computeMinSize(),this.qt=this.computeMaxSize(),this.isActive=!0))},xl.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.isActive=a.isMouseCaptured=!1},xl.prototype.stopTransaction=function(){var a=this.diagram,y=di.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},xl.prototype.doCancel=function(){this.adornedObject!==null&&(this.adornedObject.desiredSize=this.originalDesiredSize,this.adornedObject.part.location=this.originalLocation),this.stopTool()},xl.prototype.doMouseMove=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,E=this.pt,b=this.adornedObject.qs(a.lastInput.documentPoint,Ze.alloc()),z=this.computeReshape();y=this.computeResize(b,this.handle.alignment,y,x,E,z),this.resize(y),a.bd(),Ze.free(b)}},xl.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,E=this.pt,b=this.adornedObject.qs(a.lastInput.documentPoint,Ze.alloc()),z=this.computeReshape();y=this.computeResize(b,this.handle.alignment,y,x,E,z),this.resize(y),Ze.free(b),a.Ya(),this.transactionResult=this.name,a.R("PartResized",this.adornedObject,this.originalDesiredSize)}this.stopTool()},xl.prototype.resize=function(a){var y=this.diagram,x=this.adornedObject;if(x!==null){if(x.desiredSize=a.size,a=x.part,a.Va(),x=x.ga(this.handle.alignment.gv()),a instanceof Gr){var E=new ln;if(E.add(a),!this.dragsMembers&&a.placeholder===null){var b=new ae;b.dragsMembers=!1}y.moveParts(E,this.oppositePoint.copy().re(x),!0,b)}else a.location=a.location.copy().re(x).add(this.oppositePoint);y.bd()}},xl.prototype.computeResize=function(a,y,x,E,b,z){y.Mc()&&(y=Dr);var ee=this.adornedObject.naturalBounds,re=ee.x,oe=ee.y,se=ee.x+ee.width,ce=ee.y+ee.height,ge=1;if(!z){ge=ee.width;var Se=ee.height;0>=ge&&(ge=1),0>=Se&&(Se=1),ge=Se/ge}return Se=Ze.alloc(),Bt.No(a.x,a.y,re,oe,b.width,b.height,Se),a=ee.copy(),0>=y.x?0>=y.y?(a.x=Math.max(Se.x,se-E.width),a.x=Math.min(a.x,se-x.width),a.width=Math.max(se-a.x,x.width),a.y=Math.max(Se.y,ce-E.height),a.y=Math.min(a.y,ce-x.height),a.height=Math.max(ce-a.y,x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ge*a.width,E.height),x.height),a.width=a.height/ge):(a.width=Math.max(Math.min(a.height/ge,E.width),x.width),a.height=ge*a.width),a.x=se-a.width,a.y=ce-a.height)):1<=y.y?(a.x=Math.max(Se.x,se-E.width),a.x=Math.min(a.x,se-x.width),a.width=Math.max(se-a.x,x.width),a.height=Math.max(Math.min(Se.y-oe,E.height),x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ge*a.width,E.height),x.height),a.width=a.height/ge):(a.width=Math.max(Math.min(a.height/ge,E.width),x.width),a.height=ge*a.width),a.x=se-a.width)):(a.x=Math.max(Se.x,se-E.width),a.x=Math.min(a.x,se-x.width),a.width=se-a.x,z||(a.height=Math.max(Math.min(ge*a.width,E.height),x.height),a.width=a.height/ge,a.y=oe+.5*(ce-oe-a.height))):1<=y.x?0>=y.y?(a.width=Math.max(Math.min(Se.x-re,E.width),x.width),a.y=Math.max(Se.y,ce-E.height),a.y=Math.min(a.y,ce-x.height),a.height=Math.max(ce-a.y,x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ge*a.width,E.height),x.height),a.width=a.height/ge):(a.width=Math.max(Math.min(a.height/ge,E.width),x.width),a.height=ge*a.width),a.y=ce-a.height)):1<=y.y?(a.width=Math.max(Math.min(Se.x-re,E.width),x.width),a.height=Math.max(Math.min(Se.y-oe,E.height),x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ge*a.width,E.height),x.height),a.width=a.height/ge):(a.width=Math.max(Math.min(a.height/ge,E.width),x.width),a.height=ge*a.width))):(a.width=Math.max(Math.min(Se.x-re,E.width),x.width),z||(a.height=Math.max(Math.min(ge*a.width,E.height),x.height),a.width=a.height/ge,a.y=oe+.5*(ce-oe-a.height))):0>=y.y?(a.y=Math.max(Se.y,ce-E.height),a.y=Math.min(a.y,ce-x.height),a.height=ce-a.y,z||(a.width=Math.max(Math.min(a.height/ge,E.width),x.width),a.height=ge*a.width,a.x=re+.5*(se-re-a.width))):1<=y.y&&(a.height=Math.max(Math.min(Se.y-oe,E.height),x.height),z||(a.width=Math.max(Math.min(a.height/ge,E.width),x.width),a.height=ge*a.width,a.x=re+.5*(se-re-a.width))),Ze.free(Se),a},xl.prototype.computeReshape=function(){var a=In;return this.adornedObject instanceof io&&(a=Uv(this.adornedObject)),!(a===Ui||this.diagram.lastInput.shift)},xl.prototype.computeMinSize=function(){var a=this.adornedObject.minSize.copy(),y=this.minSize;return!isNaN(y.width)&&y.width>a.width&&(a.width=y.width),!isNaN(y.height)&&y.height>a.height&&(a.height=y.height),a},xl.prototype.computeMaxSize=function(){var a=this.adornedObject.maxSize.copy(),y=this.maxSize;return!isNaN(y.width)&&y.widthx?x+=360:360<=x&&(x-=360),x=Math.round(45*Math.round(x/45));var E=this.handleDistance;return x===0?y.x=a.naturalBounds.width+E:x===45?(y.x=a.naturalBounds.width+E,y.y=a.naturalBounds.height+E):x===90?y.y=a.naturalBounds.height+E:x===135?(y.x=-E,y.y=a.naturalBounds.height+E):x===180?y.x=-E:x===225?(y.x=-E,y.y=-E):x===270?y.y=-E:x===315&&(y.x=a.naturalBounds.width+E,y.y=-E),a.ga(y)},Ns.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.kr=new Ze(NaN,NaN),this.isActive=a.isMouseCaptured=!1},Ns.prototype.stopTransaction=function(){var a=this.diagram,y=di.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},Ns.prototype.doCancel=function(){this.diagram.delaysLayout=!1,this.rotate(this.originalAngle),this.stopTool()},Ns.prototype.doMouseMove=function(){var a=this.diagram;this.isActive&&(a=this.computeRotate(a.lastInput.documentPoint),this.rotate(a))},Ns.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){a.delaysLayout=!1;var y=this.computeRotate(a.lastInput.documentPoint);this.rotate(y),a.Ya(),this.transactionResult=this.name,a.R("PartRotated",this.adornedObject,this.originalAngle)}this.stopTool()},Ns.prototype.rotate=function(a){var y=this.adornedObject;if(y!==null){y.angle=a,y=y.part,y.Va();var x=y.locationObject,E=y.rotateObject;(x===E||x.rg(E))&&(x=this.Tn.copy(),y.location=x.re(this.rotationPoint).rotate(a-this.originalAngle).add(this.rotationPoint)),this.diagram.bd()}},Ns.prototype.computeRotate=function(a){a=this.rotationPoint.ab(a)-this.handleAngle;var y=this.adornedObject.panel;y!==null&&(a-=y.li()),360<=a?a-=360:0>a&&(a+=360),y=Math.min(Math.abs(this.snapAngleMultiple),180);var x=Math.min(Math.abs(this.snapAngleEpsilon),y/2);return!this.diagram.lastInput.shift&&0y-x&&(a=(Math.floor(a/y)+1)*y)),360<=a?a-=360:0>a&&(a+=360),a},Rt.Object.defineProperties(Ns.prototype,{handleArchetype:{get:function(){return this.o},set:function(a){this.o=a}},handle:{get:function(){return this.j},set:function(a){if(a!==null&&!(a.part instanceof na))throw Error("new handle is not in an Adornment: "+a);this.j=a}},adornedObject:{get:function(){return this.ue},set:function(a){if(a!==null&&a.part instanceof na)throw Error("new handle must not be in an Adornment: "+a);this.ue=a}},snapAngleMultiple:{get:function(){return this.ia},set:function(a){this.ia=a}},snapAngleEpsilon:{get:function(){return this.V},set:function(a){this.V=a}},originalAngle:{get:function(){return this.Cw}},rotationPoint:{get:function(){return this.kr},set:function(a){this.kr=a.copy()}},handleAngle:{get:function(){return this.u},set:function(a){this.u=a}},handleDistance:{get:function(){return this.F},set:function(a){this.F=a}}}),Ns.className="RotatingTool",Lo("rotatingTool",function(){return this.findTool("Rotating")},function(a){this.gb("Rotating",a,this.mouseDownTools)});function Ou(){di.call(this),this.name="ClickSelecting"}_t(Ou,di),Ou.prototype.canStart=function(){return!(!this.isEnabled||this.isBeyondDragSize())},Ou.prototype.doMouseUp=function(){this.isActive&&(this.standardMouseSelect(),!this.standardMouseClick()&&this.diagram.lastInput.isTouchEvent&&this.diagram.toolManager.doToolTip()),this.stopTool()},Ou.className="ClickSelectingTool";function wa(){di.call(this),this.name="Action",this.pk=null}_t(wa,di),wa.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram,y=a.lastInput,x=a.ic(y.documentPoint,function(E){for(;E.panel!==null&&!E.isActionable;)E=E.panel;return E});return x!==null&&x.isActionable?(this.pk=x,a.Ck=a.ic(y.documentPoint,null,null),!0):!1},wa.prototype.doMouseDown=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionDown!==null&&y.actionDown(a,y))}else this.canStart()&&this.doActivate()},wa.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionMove!==null&&y.actionMove(a,y))}},wa.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;if(y===null)return;a.targetObject=y,y.actionUp!==null&&y.actionUp(a,y),this.standardMouseClick(function(x){for(;x.panel!==null&&(!x.isActionable||x!==y);)x=x.panel;return x},function(x){return x===y})}this.stopTool()},wa.prototype.doCancel=function(){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionCancel!==null&&y.actionCancel(a,y),this.stopTool())},wa.prototype.doStop=function(){this.pk=null},wa.className="ActionTool";function gc(){di.call(this),this.name="ClickCreating",this.Ri=null,this.o=!0,this.j=!1,this.mw=new Ze(0,0)}_t(gc,di),gc.prototype.canStart=function(){if(!this.isEnabled||this.archetypeNodeData===null)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowInsert||!a.lastInput.left||this.isBeyondDragSize())return!1;if(this.isDoubleClick){if(a.lastInput.clickCount===1&&(this.mw=a.lastInput.viewPoint.copy()),a.lastInput.clickCount!==2||this.isBeyondDragSize(this.mw))return!1}else if(a.lastInput.clickCount!==1)return!1;return!(a.currentTool!==this&&a.Ol(a.lastInput.documentPoint,!0)!==null)},gc.prototype.doMouseUp=function(){var a=this.diagram;this.isActive&&this.insertPart(a.lastInput.documentPoint),this.stopTool()},gc.prototype.insertPart=function(a){var y=this.diagram,x=this.archetypeNodeData;if(x===null)return null;var E=null;try{if(y.R("ChangingSelection",y.selection),this.Ea(this.name),x instanceof ar)x.Zc()&&(Zd(x),E=x.copy(),E!==null&&y.add(E));else if(x!==null){var b=y.model.copyNodeData(x);Lt(b)&&(y.model.xf(b),E=y.Lc(b))}if(E!==null){var z=Ze.allocAt(a.x,a.y);this.isGridSnapEnabled&&Wa(this.diagram,E,a,z),E.location=z,y.allowSelect&&(y.clearSelection(!0),E.isSelected=!0),Ze.free(z)}y.Ya(),this.transactionResult=this.name,y.R("PartCreated",E)}finally{this.stopTransaction(),y.R("ChangedSelection",y.selection)}return E},Rt.Object.defineProperties(gc.prototype,{archetypeNodeData:{get:function(){return this.Ri},set:function(a){this.Ri=a}},isDoubleClick:{get:function(){return this.o},set:function(a){this.o=a}},isGridSnapEnabled:{get:function(){return this.j},set:function(a){this.j=a}}}),gc.className="ClickCreatingTool";function eu(){di.call(this),this.name="DragSelecting",this.Ik=175,this.o=!1;var a=new ar;a.layerName="Tool",a.selectable=!1;var y=new io;y.name="SHAPE",y.figure="Rectangle",y.fill=null,y.stroke="magenta",a.add(y),this.j=a}_t(eu,di),eu.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(!a.allowSelect)return!1;var y=a.lastInput;return!(!y.left||a.currentTool!==this&&(!this.isBeyondDragSize()||y.timestamp-a.firstInput.timestampb.right&&(x.x-=E.width+5/y.scale),x.xb.bottom&&(x.y-=E.height+5/y.scale),x.ya.lastInput.clickCount)):!1},ha.prototype.doStart=function(){Zc=this,this.textBlock!==null&&this.doActivate()},ha.prototype.doActivate=function(){if(!this.isActive){var a=this.diagram;if(a!==null){var y=this.textBlock;if(y===null&&(y=a.ic(a.lastInput.documentPoint)),y!==null&&y instanceof os&&(this.textBlock=y,y.part!==null)){a.animationManager.Cc(),this.isActive=!0,this.qa=Qa;var x=this.defaultTextEditor;y.textEditor!==null&&(x=y.textEditor),this.Zh=this.textBlock.copy();var E=new rn(this.textBlock.ga(bl),this.textBlock.ga(hu));a.tv(E),x.show(y,a,this),this.currentTextEditor=x}}}},ha.prototype.doCancel=function(){this.stopTool()},ha.prototype.doMouseUp=function(){this.canStart()&&this.doActivate()},ha.prototype.doMouseDown=function(){this.isActive&&this.acceptText(nu)},ha.prototype.acceptText=function(a){switch(a){case nu:this.qa===dd?this.currentTextEditor instanceof HTMLElement&&this.currentTextEditor.focus():(this.qa===Qa||this.qa===td||this.qa===rl)&&(this.qa=oc,Mc(this));break;case Ju:case mc:case pc:(mc!==a||this.textBlock.isMultiline!==!0)&&(this.qa===Qa||this.qa===td||this.qa===rl)&&(this.qa=oc,Mc(this))}};function Mc(a){var y=a.textBlock,x=a.diagram,E=a.currentTextEditor;if(y!==null&&E!==null){var b=y.text,z="";E.valueFunction!==null&&(z=E.valueFunction()),a.isValidText(y,b,z)?(a.Ea(a.name),a.qa=dd,a.transactionResult=a.name,y.text=z,a.doSuccess(b,z),x!==null&&x.R("TextEdited",y,b),a.stopTransaction(),a.stopTool(),x!==null&&x.doFocus()):(a.qa=td,a.doError(b,z))}}ha.prototype.doError=function(a,y){var x=this.textBlock;x.errorFunction!==null&&x.errorFunction(this,a,y),(a=this.currentTextEditor)&&a.show(x,this.diagram,this)},ha.prototype.doSuccess=function(a,y){var x=this.textBlock;x.textEdited!==null&&x.textEdited(x,a,y)},ha.prototype.doDeactivate=function(){var a=this.diagram;a!==null&&(this.qa=Ao,this.currentTextEditor!==null&&this.currentTextEditor.hide(a,this),this.textBlock=null,this.isActive=!1)},ha.prototype.doStop=function(){Zc=null},ha.prototype.isValidText=function(a,y,x){var E=this.textValidation;return E!==null&&!E(a,y,x)?!1:(E=a.textValidation,!!(E===null||E(a,y,x)))},ha.prototype.Lx=function(a){var y=this.Zh;return y.text=a,y.measure(this.textBlock.Ih,1/0),y},Rt.Object.defineProperties(ha.prototype,{textBlock:{get:function(){return this.ia},set:function(a){this.ia=a}},currentTextEditor:{get:function(){return this.o},set:function(a){this.o=a}},defaultTextEditor:{get:function(){return this.j},set:function(a){this.j=a}},starting:{get:function(){return this.V},set:function(a){this.V=a}},textValidation:{get:function(){return this.vj},set:function(a){this.vj=a}},minimumEditorScale:{get:function(){return this.u},set:function(a){this.u=a}},selectsTextOnActivate:{get:function(){return this.F},set:function(a){this.F=a}},state:{get:function(){return this.qa},set:function(a){this.qa!==a&&(this.qa=a)}}}),ha.prototype.measureTemporaryTextBlock=ha.prototype.Lx;var Ju=new sn(ha,"LostFocus",0),nu=new sn(ha,"MouseDown",1),pc=new sn(ha,"Tab",2),mc=new sn(ha,"Enter",3),fh=new sn(ha,"SingleClick",0),kc=new sn(ha,"SingleClickSelected",1),Sa=new sn(ha,"DoubleClick",2),Ao=new sn(ha,"StateNone",0),Qa=new sn(ha,"StateActive",1),rl=new sn(ha,"StateEditing",2),oc=new sn(ha,"StateValidating",3),td=new sn(ha,"StateInvalid",4),dd=new sn(ha,"StateValidated",5),Zc=null;ha.className="TextEditingTool",ha.LostFocus=Ju,ha.MouseDown=nu,ha.Tab=pc,ha.Enter=mc,ha.SingleClick=fh,ha.SingleClickSelected=kc,ha.DoubleClick=Sa,ha.StateNone=Ao,ha.StateActive=Qa,ha.StateEditing=rl,ha.StateValidating=oc,ha.StateInvalid=td,ha.StateValidated=dd,Lo("textEditingTool",function(){return this.findTool("TextEditing")},function(a){this.gb("TextEditing",a,this.mouseUpTools)});function Hl(a){pu||(ol(),pu=!0),this.H=st,this.Ok=this.zb=this.vq=this.bc=!1,this.Qw=!0,this.Pk=Na,this.Dm=!1,this.Gh=this.Jd=!0,this.Dg=600,this.cw=this.Ow=!1,this.Zd=new Rn,this.ce=new iu,this.ce.Yd=this,this.Ei=new Rn,this.pu=new Rn,this.Sr=new Rn,this.pr=new Rn,a&&Object.assign(this,a)}Hl.prototype.Xe=function(a){this.H=a},Hl.prototype.canStart=function(){return!0};function ka(a,y){a.Jd&&a.canStart(y)&&(a.Zd.add(y),a.defaultAnimation.isAnimating&&a.Cc(),Xo(a.H),a.zb=!0)}function Ra(a){if(a.Jd&&a.zb){var y=a.ce,x=a.H,E=a.Zd.contains("Model");E&&(a.Ok=!0,a.Pk===Na?(y.isViewportUnconstrained=!0,y.vc.clear(),y.add(x,"position",x.position.copy().offset(0,-200),x.position),y.add(x,"opacity",0,1)):a.Pk===gh&&y.vc.clear(),a.Qw=!!(a.Pk===eh&&x.du.D(x.pa)),x.R("InitialAnimationStarting",a)),E&&!a.Gh||y.vc.count===0?(a.Zd.clear(),a.zb=!1,y.vc.clear(),th(y,x),a.Ok=!1,x.N()):(a.Zd.clear(),x.kg=!1,E=y.vc.get(x),x.autoScale!==Us&&E!==null&&(delete E.start.scale,delete E.end.scale),Zn.requestAnimationFrame(function(){a.zb===!1||y.bc||(x.Gf("temporaryPixelRatio")&&Ei(x),bi(x),a.zb=!1,y.start(),y.bc&&(qu(a),x.Ya(),nf(y,0),Jn(x,!0),$u(a),x.R("AnimationStarting",a)))}))}}function vc(a){return a.Zd.contains("Trigger")&&a.Zd.count===1}function ac(a,y,x,E){a.isTicking||vc(a)||y instanceof ai&&(y.fromNode!==null||y.toNode!==null)||a.ce.add(y,"position",x,E,!1)}Be=Hl.prototype,Be.fv=function(a){return this.ce.fv(a)},Be.Xu=function(a){return this.ce.Xu(a)};function hd(a,y){function x(){if(0z?z+=360:oe+=360),z=b(x,z,oe-z,E)%360,ee=b(x,ee,se-ee,E),re=b(x,re,ce-re,E),x=b(x,a,y-a,E),"hsla("+z+", "+ee+"%, "+re+"%, "+x+")"}function ol(){function a(x,E,b,z,ee,re){x.position=new Ze(z(ee,E.x,b.x-E.x,re),z(ee,E.y,b.y-E.y,re))}var y=new gi;y.add("position:diagram",a),y.add("position",a),y.add("position:part",function(x,E,b,z,ee,re){eea&&Cn(a,">= 1",Hl,"duration"),this.Dg=a}},isAnimating:{get:function(){return this.bc}},isTicking:{get:function(){return this.vq}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a}},defaultAnimation:{get:function(){return this.ce}},activeAnimations:{get:function(){return this.Ei}},initialAnimationStyle:{get:function(){return this.Pk},set:function(a){this.Pk=a}}}),Hl.prototype.stopAnimation=Hl.prototype.Cc;var la=null,pu=!1,Na=new sn(Hl,"Default",1),eh=new sn(Hl,"AnimateLocations",2),gh=new sn(Hl,"None",3);Hl.className="AnimationManager",Hl.defineAnimationEffect=function(a,y){pu||(ol(),pu=!0),la.add(a,y)},Hl.Default=Na,Hl.AnimateLocations=eh,Hl.None=gh;function iu(a){this.vu=this.Nw=this.Yd=this.H=null,this.Xk=this.bc=this.j=!1,this.cn=this.Qd=0,this.Lp=this.ot=Ad,this.Wk=this.ho=!1,this.cu=1,this.au=0,this.Gd=this.Dg=NaN,this.gw=0,this.dn=null,this.o=Io,this.vc=new gi,this.Tt=new gi,this.yl=new Rn,this.Ut=new Rn,this.dw=nh,a&&Object.assign(this,a)}iu.prototype.suspend=function(){this.Xk=!0},iu.prototype.advanceTo=function(a,y){y&&(this.Xk=!1),this.ho&&a>=this.Gd&&(this.Wk=!0,a-=this.Gd),this.gw=a,jd(this,!0),qu(this.Yd),Jn(this.H),$u(this.Yd),this.H.redraw()};function th(a,y){if(a.Tt.clear(),a.Wk=!1,a.au=0,a.Gd=NaN,0a.cn?a.Gd:E-a.Qd;y&&(b=a.gw,ba.cn&&(a.ho&&!a.Wk?(a.Qd=+new Date,a.cn=a.Qd+a.Gd,a.Wk=!0):a.Ml(!1))}}}function nf(a,y){for(var x=a.Gd,E=a.vc.iterator,b=a.Wk;E.next();){var z=E.key;if(!(z instanceof Pt&&z.diagram===null)){var ee=E.value,re=b?ee.end:ee.start;ee=b?ee.start:ee.end;var oe=la,se;for(se in ee)se==="position"&&(ee["position:placeholder"]||ee["position:nodeCollapse"])||oe.get(se)===null||oe.get(se)(z,re[se],ee[se],a.Lp,y,x,a)}}}Be.stop=function(){return this.bc?(this.Ml(!0),this):this},Be.Ml=function(a){if(this.vu!==null&&this.vu.jo.remove(this.Nw),this.bc){var y=this.H,x=this.Yd;this.Xk=this.bc=x.Ok=!1,qu(x);for(var E=this.vc,b=this.yl.iterator;b.next();)y.remove(b.value);for(b=this.Ut.iterator;b.next();)b.value.v();b=this.ho,E=E.iterator;for(var z=la;E.next();){var ee=E.key,re=E.value,oe=b?re.end:re.start,se=b?re.start:re.end,ce=re.Ku,ge;for(ge in se)if(z.get(ge)!==null){var Se=ge;!re.Hu||Se!=="position:nodeCollapse"&&Se!=="position:placeholder"||(Se="position"),z.get(Se)(ee,oe[ge],ce[ge]!==void 0?ce[ge]:re.Hu?oe[ge]:se[ge],this.Lp,this.Gd,this.Gd,this)}re.Hu&&ce.location!==void 0&&ee instanceof ar&&(ee.location=ce.location),re.nv&&ee instanceof ar&&ee.Zb(!1)}if(y.As.clear(),Ln(y,!1),y.Ya(),y.N(),Jn(y,!0),x.defaultAnimation===this){for(ge=x.pr.iterator;ge.next();)b=ge.value,b.Tg!==null&&(b.points=b.Tg,b.Tg=null);x.pr.clear()}Jn(y,!0),this.isViewportUnconstrained&&(y.scrollMode=this.dw),$u(x),this.au++,!a&&this.cu>this.au?(this.Wk=!1,this.start()):(this.dn&&this.dn(this),th(this,null),x.Ml(this),y.$b())}},Be.Cj=function(a,y){var x=y.actualBounds,E=null;if(y instanceof Gr&&(E=y.placeholder),E!==null?(x=E.ga(bl),E=E.padding,x.x+=E.left,x.y+=E.top,this.add(a,"position",x,a.position,!1)):this.add(a,"position",new Ze(x.x+x.width/2,x.y+x.height/2),a.position,!1),this.add(a,"scale",.01,a.scale,!1),a instanceof Gr)for(a=a.memberParts;a.next();)E=a.value,E instanceof Fi&&this.Cj(E,y)},Be.Aj=function(a,y){if(a.isVisible()){var x=null;if(y instanceof Gr&&(x=y.placeholder),x!==null){var E=x.ga(bl);x=x.padding,E.x+=x.left,E.y+=x.top,this.add(a,"position:placeholder",a.position,E,!0)}else this.add(a,"position:nodeCollapse",a.position,y,!0);if(this.add(a,"scale",a.scale,.01,!0),E=this.vc,E.contains(a)&&(E.I(a).nv=!0),a instanceof Gr)for(a=a.memberParts;a.next();)E=a.value,E instanceof Fi&&this.Aj(E,y)}},Be.Ez=function(a){var y=this.Tt.get(a);return y===null&&(y={},this.Tt.add(a,y)),y},Rt.Object.defineProperties(iu.prototype,{duration:{get:function(){return this.Dg},set:function(a){1>a&&Cn(a,">= 1",iu,"duration"),this.Dg=a}},reversible:{get:function(){return this.ho},set:function(a){this.ho=a}},runCount:{get:function(){return this.cu},set:function(a){0a?x/2*a*a+y:-x/2*(--a*(a-2)-1)+y}function Uc(a,y,x,E){return a===E?y+x:x*(-Math.pow(2,-10*a/E)+1)+y}iu.className="Animation",iu.EaseLinear=function(a,y,x,E){return x*a/E+y},iu.EaseInOutQuad=Ad,iu.EaseInQuad=function(a,y,x,E){return x*(a/=E)*a+y},iu.EaseOutQuad=function(a,y,x,E){return-x*(a/=E)*(a-2)+y},iu.EaseInExpo=function(a,y,x,E){return a===0?y:x*Math.pow(2,10*(a/E-1))+y},iu.EaseOutExpo=Uc;function Hc(a,y,x){this.start=a,this.end=y,this.Ku={},this.Hu=x,this.nv=!1}Hc.className="AnimationState";function Tc(a,y,x){this.xd=null,this.rf=a,this.so=x||Fd,this.uk=null,y!==void 0&&(this.uk=y,x===void 0&&(this.so=fd))}Tc.prototype.copy=function(){var a=new Tc(this.rf);a.so=this.so;var y=this.uk;if(y!==null){var x={};y.duration!==void 0&&(x.duration=y.duration),y.finished!==void 0&&(x.finished=y.finished),y.easing!==void 0&&(x.easing=y.easing),a.uk=x}return a};function rf(a,y){a=a.uk,a!==null&&(a.duration&&(y.duration=a.duration),a.finished&&(y.finished=a.finished),a.easing&&(y.easing=a.easing))}Rt.Object.defineProperties(Tc.prototype,{propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},animationSettings:{get:function(){return this.uk},set:function(a){this.uk=a}},startCondition:{get:function(){return this.so},set:function(a){this.so=a}}});var Fd=new sn(Tc,"Default",1),fd=new sn(Tc,"Immediate",2),zd=new sn(Tc,"Bundled",3);Tc.className="AnimationTrigger",Tc.Default=Fd,Tc.Immediate=fd,Tc.Bundled=zd;function Pl(a){Ir(this),this.H=null,this.Pa=new ln,this.xa="",this.pb=1,this.o=!1,this.j=this.Uh=this.u=this.Oi=this.Ni=this.Mi=this.Li=this.Ji=this.Ki=this.Ii=this.Qi=this.Hi=this.Pi=this.Gi=this.Fi=!0,this.Zq=[],a&&Object.assign(this,a)}Be=Pl.prototype,Be.clear=function(){for(var a=this.Pa,y=0;y=a)return y;for(var x=0,E=0,b=0,z=0,ee=0,re=this.Pa.iterator;re.next();){var oe=re.value;oe instanceof Gr?b++:oe instanceof Fi?E++:oe instanceof ai?z++:oe instanceof na?ee++:x++}if(re="",0x.Oq||re.height*b>x.Oq?y.gc(a,x):(b=y.actualBounds,z=y.naturalBounds,b.width===0||b.height===0||isNaN(b.x)||isNaN(b.y)||!y.isVisible()||(x=y.transform,y.areaBackground!==null&&(gs(y,a,y.areaBackground,!0,!0,z,b),a.fillRect(b.x,b.y,b.width,b.height)),y.areaBackground===null&&y.background===null&&(gs(y,a,"rgba(0,0,0,0.3)",!0,!1,z,b),a.fillRect(b.x,b.y,b.width,b.height)),y.background!==null&&(a.transform(x.m11,x.m12,x.m21,x.m22,x.dx,x.dy),gs(y,a,y.background,!0,!1,z,b),a.fillRect(0,0,z.width/2,z.height/2),x.ws()||(y=1/(x.m11*x.m22-x.m12*x.m21),a.transform(x.m22*y,-x.m12*y,-x.m21*y,x.m11*y,y*(x.m21*x.dy-x.m22*x.dx),y*(x.m12*x.dx-x.m11*x.dy)))))),E&&(a.restore(),a.Vc(!0))}},Be.g=function(a,y,x,E,b){var z=this.diagram;z!==null&&z.cb(Un,a,this,y,x,E,b)},Be.oi=function(a,y,x){var E=this.Pa;if(y.Ig=this,this===null&&Fs(y),a>=E.count)a=E.count;else if(E.M(a)===y)return-1;return E.Gb(a,y),y.Vo(x),E=this.diagram,E!==null&&(x?E.N():E.oi(y)),jh(this,a,y),a},Be.pc=function(a,y,x){if(!x&&y.layer!==this&&y.layer!==null)return y.layer.pc(a,y,x);var E=this.Pa;if(0>a||a>=E.length){if(a=E.indexOf(y),0>a)return-1}else if(E.M(a)!==y&&(a=E.indexOf(y),0>a))return-1;return y.Wo(x),E.mb(a),E=this.diagram,E!==null&&(x?E.N():E.pc(y)),y.Ig=null,Fs(y),a};function jh(a,y,x){if(y=mh(a,y,x),x instanceof Gr&&x!==null&&isNaN(x.zOrder)){if(x.memberParts.count!==0){for(var E=-1,b=a.Pa.s,z=b.length,ee=0;eeE&&re.containingGroup===x&&(E=ee,0<=y))break}!(0>E)&&E=b)return y;if(0>y&&(y=a.indexOf(x)),0>y)return-1;for(var z=y-1,ee=NaN;0<=z&&(ee=a.M(z).zOrder,!!isNaN(ee));)z--;for(var re=y+1,oe=NaN;reE)for(;;){if(z===-1||ee<=E){if(z++,z===y)break;return a.mb(y),a.Gb(z,x),z}for(ee=NaN;0<=--z&&(ee=a.M(z).zOrder,isNaN(ee)););}else if(!isNaN(oe)&&oe=E){if(re--,re===y)break;return a.mb(y),a.Gb(re,x),re}for(oe=NaN;++rea||1=a)return y;for(var x=this.Wa.iterator;x.next();)y+=` + `+x.value.toString(a-1);return y};function Ji(a,y){if(Aa){if(y!=null||Et("Diagram setup requires an argument DIV."),a.Ka!==null&&Et("Diagram has already completed setup."),typeof y=="string"?a.Ka=Zn.document.getElementById(y):y instanceof HTMLDivElement?a.Ka=y:Et("No DIV or DIV id supplied: "+y),a.Ka===null&&Et("Invalid DIV id; could not get element with id: "+y),a.Ka.H!==void 0&&Et("Invalid div id; div already has a Diagram associated with it."),!a.ol&&Zn.ResizeObserver){var x=Vr(function(){a.$b()},250);a.ol=new Zn.ResizeObserver(function(){x()}),a.ol.observe(a.Ka)}Zn.getComputedStyle(a.Ka,null).position==="static"&&(a.Ka.style.position="relative"),y=5;var E="rgba(2"+y+"5, 255, 255, 0)";y--,a.Ka.style["-webkit-tap-highlight-color"]=E,a.Ka.innerHTML="",a.Ka.H=a,a.Ka.goDiagram=a,a.Ka.go=Zn.go;var b=new zu(a);if(b.style!==void 0&&(b.style.position="absolute",b.style.top="0px",b.style.left="0px",Zn.getComputedStyle(a.Ka,null).getPropertyValue("direction")==="rtl"&&(a.tn=!0),b.style.zIndex="2",b.style.userSelect="none",b.style.MozUserSelect="none",b.style.touchAction="none",b.style.letterSpacing="normal !important",b.style.wordSpacing="normal !important"),a.ta=b,a.ib=b.context,E=a.ib,a.Mb=a.computePixelRatio(),a.viewSize.w()||(a.Aa=a.Ka.clientWidth||1,a.ya=a.Ka.clientHeight||1),Ha(a,a.Aa,a.ya),a.Ka.insertBefore(b.Oa,a.Ka.firstChild),b=new zu(null),b.width=1,b.height=1,a.jw=b,a.oy=b.context,Aa){b=Br("div");var z=Br("div");b.style.position="absolute",b.style.overflow="auto",b.style.width=a.Aa+"px",b.style.height=a.ya+"px",b.style.zIndex="1",z.style.position="absolute",z.style.width="1px",z.style.height="1px",a.Ka.appendChild(b),b.appendChild(z),b.onscroll=Nr,b.addEventListener("pointerdown",$r),b.H=a,b.uy=!0,b.vy=!0,a.ku=b,a.hu=z}a.hk=Vr(function(){a.Yh=null,a.N()},300),a.Ov=Vr(function(){bi(a)},250),a.preventDefault=function(ee){return ee.preventDefault(),!1},a.$j=function(ee){if(a.isEnabled){var re=Pr(a,ee,!0);re.bubbles=!0;var oe=0,se=0;re.delta=0,ee.deltaX!==void 0?(ee.deltaX!==0&&(oe=0Math.abs(ee.deltaY)?-oe:-se):ee.wheelDeltaX!==void 0?(ee.wheelDeltaX!==0&&(oe=0Math.abs(ee.wheelDeltaY)?-oe:-se):ee.wheelDelta!==void 0&&ee.wheelDelta!==0&&(re.delta=0re||Math.abs(se.y-ee.screenY)>re)?a.yq++:a.yq=1,oe.clickCount=a.yq,a.tw=ee.timeStamp,a.uw.sg(ee.screenX,ee.screenY),a.doMouseDown(),ee.button===1?ee.preventDefault():Ur(oe,ee)}},a.dk=function(ee){if(a.isEnabled){a.Vk=!0;var re=a.oj;if(re[0]===null||re[0].pointerId!==ee.pointerId&&re[0].pointerType===ee.pointerType){if(re[1]!==null&&re[1].pointerId===ee.pointerId){re[1]=ee;return}if(re[0]===null)re[0]=ee;else return}else re[0]=ee;if(re[0].pointerId===ee.pointerId){re=Mo(a,ee,!1,!1,!1,re[1]!==null);var oe=Zn.document.elementFromPoint(ee.clientX,ee.clientY)||null;oe!==null&&oe.shadowRoot!==void 0&&oe.shadowRoot!==null&&(oe=oe.shadowRoot.elementFromPoint(ee.clientX,ee.clientY));var se=a,ce=ee;oe&&oe.H&&(ce=ee,se=oe.H),re.targetDiagram=se,Do(a,ce,re),re.targetObject=null,a.doMouseMove(),Ur(re,ee)}}},a.fk=function(ee){if(a.isEnabled){a.Vk=!0;var re=ee.pointerType==="touch"||ee.pointerType==="pen",oe=a.Yt;if(re&&a.qu)delete oe[ee.pointerId],ee.preventDefault();else if(oe=a.oj,oe[0]===null||oe[0].pointerId!==ee.pointerId&&oe[0].pointerType===ee.pointerType)oe[1]!==null&&oe[1].pointerId===ee.pointerId&&(oe[1]=null);else{oe[0]=null,oe=Mo(a,ee,!1,!0,!0,!1);var se=Zn.document.elementFromPoint(ee.clientX,ee.clientY)||null;se!==null&&se.shadowRoot!==void 0&&se.shadowRoot!==null&&(se=se.shadowRoot.elementFromPoint(ee.clientX,ee.clientY)),se!==null&&se.H instanceof Ht&&se.H!==a&&Do(se.H,ee,oe),se===null&&(se=ee.target),Do(a,ee,oe),oe.clickCount=a.yq,oe.targetDiagram=gr(ee,se),oe.targetObject=null,a.doMouseUp(),Ur(oe,ee),re&&(a.wq=!1)}}},a.ek=function(ee){if(a.isEnabled){a.Vk=!1;var re=a.Yt;re[ee.pointerId]&&delete re[ee.pointerId],re=a.oj,re[0]!==null&&re[0].pointerId===ee.pointerId&&(re[0]=null),re[1]!==null&&re[1].pointerId===ee.pointerId&&(re[1]=null),ee.pointerType!=="touch"&&ee.pointerType!=="pen"&&(ee=a.currentTool,ee.cancelWaitAfter(),ee.standardMouseOver())}},a.ck=function(ee){var re=a.oj;re[0]!==null&&re[0].pointerId===ee.pointerId?(re[0]=null,a.wq=!1):re[1]!==null&&re[1].pointerId===ee.pointerId&&(re[1]=null)},a.Vp=E.Z["d"+lu[1]+lu[2]+"wI"+Vh.slice(1,5)]["b"+Gx.slice(1,y)](E.Z,yh,y,y),E.Vc(!0),dr(a),a.nl==="svg"&&(y=a.pj.get("svg"),a.Ka.appendChild(y.Oa),a.ib=y.context)}}Ht.prototype.addEventListener=function(a,y,x,E){a.addEventListener(y,x,{capture:E,passive:!1})},Ht.prototype.removeEventListener=function(a,y,x,E){a.removeEventListener(y,x,{capture:E})};function dr(a){var y=a.ta.Oa;y instanceof HTMLCanvasElement||(y=a.div),a.addEventListener(y,"pointerdown",a.ui,!1),a.addEventListener(y,"pointermove",a.dk,!1),a.addEventListener(y,"pointerup",a.fk,!1),a.addEventListener(y,"pointerout",a.ek,!1),a.addEventListener(y,"pointercancel",a.ck,!1),a.addEventListener(y,"pointerenter",a.bz,!1),a.addEventListener(y,"pointerleave",a.cz,!1),a.addEventListener(y,"wheel",a.$j,!1),a.addEventListener(y,"keydown",a.Qz,!1),a.addEventListener(y,"keyup",a.Rz,!1),a.addEventListener(y,"blur",a.Ny,!1),a.addEventListener(y,"focus",a.Oy,!1),a.addEventListener(y,"selectstart",function(x){return x.preventDefault(),!1},!1),a.addEventListener(y,"contextmenu",function(x){return x.preventDefault(),!1},!1),a.addEventListener(Zn,"resize",a.Ov,!1)}function Ei(a){30Fe&&(this.position=Je.h(-(y.scrollWidth-this.Aa)+Ge-this.Aa/b+ce,this.position.y))),a.vy&&this.allowVerticalScroll&&(reNe&&(this.position=Je.h(this.position.x,-(y.scrollHeight-this.ya)+a.scrollTop-this.ya/b+z))),Ze.free(Je),this.vd=!0,this.Ee=this.qr=!1,E=this.documentBounds,b=this.viewportBounds,ce=E.right,Fe=b.right,z=E.bottom,Ne=b.bottom,ee=E.x,ge=b.x,re=E.y,E=b.y,Se>=oe&&ee>=ge&&ce<=Fe&&(x.style.width="1px"),we>=se&&re>=E&&z<=Ne&&(x.style.height="1px"))}},Ht.prototype.computeBounds=function(a){return a===void 0&&(a=new rn),Xo(this),To(this,a)};function To(a,y){if(a.fixedBounds.w())return y.assign(a.fixedBounds),y.Co(a.yb),y;for(var x=!0,E=a.Wa.s,b=E.length,z=0;zx&&(y=x),ya.maxScale&&(y=a.maxScale),y):y===gd?(y=oe>re?(ee-a.Db)/E:(z-a.Db)/b,y>x&&(y=x),ya.maxScale&&(y=a.maxScale),y):a.scale}Ht.prototype.zoomToFit=function(){var a=this.sj;this.sj=nh,this.scale=po(this,ru),a!==nh&&(xo(this,!1),ur(this,this.documentBounds,this.Aa/this.Ca,this.ya/this.Ca,this.zk,!1)),this.sj=a},Be=Ht.prototype,Be.BA=function(a,y){y===void 0&&(y=ru);var x=a.width,E=a.height;if(!(x===0||E===0||isNaN(x)&&isNaN(E))){var b=1;if(y===ru||y===gd)if(isNaN(x))b=this.viewportBounds.height*this.scale/E;else if(isNaN(E))b=this.viewportBounds.width*this.scale/x;else{b=this.Aa;var z=this.ya;b=y===gd?z/E>b/x?(z-(this.Be?this.Db:0))/E:(b-(this.gf?this.Db:0))/x:Math.min(z/E,b/x)}this.scale=b,this.position=new Ze(a.x,a.y)}},Be.Jy=function(a,y){this.Va();var x=this.documentBounds,E=this.viewportBounds;this.position=new Ze(x.x+(a.x*x.width+a.offsetX)-(y.x*E.width-y.offsetX),x.y+(a.y*x.height+a.offsetY)-(y.y*E.height-y.offsetY))},Be.zz=function(a){if(a instanceof Pt){this.eq=a;var y=Ze.alloc();this.fq=this.op(a.ga(bl,y)),Ze.free(y)}else this.eq=null,this.fq=Xi};function ur(a,y,x,E,b,z){var ee=Ze.allocAt(a.pa.x,a.pa.y),re=ee.x,oe=ee.y;if(a.eq!==null){var se=Ze.alloc();se=a.eq.ga(bl,se),re=se.x-a.fq.x/a.scale,oe=se.y-a.fq.y/a.scale,b=il,Ze.free(se)}(z||a.scrollMode===nh)&&(b.sb()&&(x>y.width&&(re=y.x+(b.x*y.width+b.offsetX)-(b.x*x-b.offsetX)),E>y.height&&(oe=y.y+(b.y*y.height+b.offsetY)-(b.y*E-b.offsetY))),b=a.rj,z=x-y.width,xy.left?re=y.left:rey.top?oe=y.top:oey;y++){var x=a.De.iterator;if(x===null||a.De.count===0)break;a.De=new Rn,a.Nv(x,a.De)}a.nodes.each(function(E){E instanceof Gr&&E.U&65536&&(E.U=E.U^65536)})}}Be.Nv=function(a,y){for(a.reset();a.next();){var x=a.value;!x.Zc()||x instanceof Gr||(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))}for(a.reset();a.next();)x=a.value,x instanceof Gr&&x.isVisible()&&Qo(this,x);for(a.reset();a.next();)x=a.value,x instanceof ai&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x));for(a.reset();a.next();)x=a.value,x instanceof na&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))};function Qo(a,y){for(var x=Ri(),E=Ri(),b=y.memberParts;b.next();){var z=b.value;z.isVisible()&&(z instanceof Gr?(Ye(z)||ct(z)||sg(z))&&Qo(a,z):z instanceof ai?z.fromNode===y||z.toNode===y?E.push(z):x.push(z):(z.measure(1/0,1/0),z.arrange()))}for(a=x.length,b=0;bCt&&(Ge=Pi.left,nt=Pi.right),Je.height>Kt&&(at=Pi.top,ft=Pi.bottom)):(Ge=Pi.left,nt=Pi.right,at=Pi.top,ft=Pi.bottom);var zi=Je.width+Ge+nt,Ni=Je.height+at+ft;Pi=a.scale;var oi=zi>oe/Pi,Tn=Ni>se/Pi;if(!(z||a.gf||a.Be||oi||Tn))return!0;Ge=Je.x-Ge,oe=ce.x,nt=Je.right+nt,se=ce.right+ee,at=Je.y-at;var zr=ce.y;Je=Je.bottom+ft,ce=ce.bottom+re;var Fr="1px";if(ft="1px",a.scrollMode===nh&&(oi||Tn)&&(oi&&a.hasHorizontalScrollbar&&a.allowHorizontalScroll&&(oi=1,Ge+1se+1&&(oi=Math.max((nt-se)*Pi+a.Aa,oi)),Ct+ee+1ce+1&&(oi=Math.max((Je-ce)*Pi+a.ya,oi)),Kt+re+1se+1&&(ee=Math.max((nt-se)*Pi+a.Aa,ee)),Ct+1ce+1&&(re=Math.max((Je-ce)*Pi+ee,re)),Kt+1se+1&&(y=a.position.x*Pi)),a.tn)switch(a.bu){case"negative":y=-(Fe.scrollWidth-y-Fe.clientWidth);break;case"reverse":y=Fe.scrollWidth-y-Fe.clientWidth}return Fe.scrollLeft=y,a.hasVerticalScrollbar&&a.allowVerticalScroll&&(Kt+1ce+1&&(Fe.scrollTop=a.position.y*Pi)),oe=a.Aa,se=a.ya,Fe.style.width=oe+(a.gf?a.Db:0)+"px",Fe.style.height=se+(a.Be?a.Db:0)+"px",x!==oe||E!==se||a.animationManager.zb?(x=rn.allocAt(b,ge,Se,we),a.onViewportBoundsChanged(x,a.viewportBounds,Pi,z),rn.free(x),!1):!0}Be=Ht.prototype,Be.add=function(a){var y=a.diagram;if(y!==this&&(y!==null&&Et("Cannot add part "+a.toString()+" to "+this.toString()+". It is already a part of "+y.toString()),y=this.Qj(a.layerName),y===null&&(y=this.Qj("")),y===null&&Et('Cannot add a Part when unable find a Layer named "'+a.layerName+'" and there is no default Layer'),a.layer!==y)){var x=y.oi(99999999,a,a.diagram===this);0<=x&&this.cb(ti,"parts",y,null,a,null,x),y.isTemporary||this.Ya(),a.C(1),x=a.layerChanged,x!==null&&x(a,null,y)}},Be.oi=function(a){this.partManager.oi(a);var y=this;Mg(a,function(x){sl(y,x)}),(a instanceof na||a instanceof Gr&&a.placeholder!==null)&&a.v(),a.data!==null&&Mg(a,function(x){By(y.partManager,x)}),ct(a)!==!0&&sg(a)!==!0||this.De.add(a),X1(a,!0,this),Q1(a)?(a.actualBounds.w()&&this.N(Tg(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(Tg(a,a.actualBounds)),this.$b()},Be.pc=function(a){a.Ej(),this.partManager.pc(a);var y=this;a.data!==null&&Mg(a,function(x){Dy(y.partManager,x,y)}),this.De.remove(a),Q1(a)?(a.actualBounds.w()&&this.N(Tg(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(Tg(a,a.actualBounds)),this.$b()},Be.remove=function(a){hs(this,a,!0)};function hs(a,y,x){var E=y.layer;E!==null&&E.diagram===a&&(y.isSelected=!1,y.isHighlighted=!1,y.C(2),x&&y.Lj(),x=E.pc(-1,y,!1),0<=x&&a.cb(xi,"parts",E,y,null,x,null),a=y.layerChanged,a!==null&&a(y,E,null))}Be.Is=function(a,y){if(y===void 0&&(y=!1),Ft(a))for(var x=a.length,E=0;EE&&this.Ya(),this},Be.Cy=function(a,y){al(this,a,y),a.Xe(this);var x=this.Wa,E=x.indexOf(a);0<=E&&(x.remove(a),this.cc!==null&&this.cb(xi,"layers",this,a,null,E,null));var b=x.count,z;for(z=0;zE&&this.Ya(),this},Be.kA=function(a){if(a.diagram!==this&&Et("Cannot remove a Layer from another Diagram: "+a+" of "+a.diagram),a.name!==""){var y=this.Wa,x=y.indexOf(a);if(y.remove(a)){for(y=a.Pa.copy().iterator;y.next();){var E=y.value,b=E.layerName;b!==a.name?E.layerName=b:E.layerName=""}this.cc!==null&&this.cb(xi,"layers",this,a,null,x,null),this.N(),this.Ya()}}},Be.Qj=function(a){for(var y=this.layers;y.next();){var x=y.value;if(x.name===a)return x}return null},Be.Yw=function(a){return this.pf===null&&(this.pf=new ln),this.pf.add(a),this.model.Pe(a),this},Be.mA=function(a){this.pf!==null&&(this.pf.remove(a),this.pf.count===0&&(this.pf=null)),this.model.ik(a)},Be.Pe=function(a){return this.zg===null&&(this.zg=new ln),this.zg.add(a),this},Be.ik=function(a){this.zg!==null&&(this.zg.remove(a),this.zg.count===0&&(this.zg=null))},Be.ds=function(a){if(this.skipsUndoManager||this.model.skipsUndoManager||this.model.undoManager.Tu(a),a.change!==An&&(this.isModified=!0),this.zg!==null)for(var y=this.zg,x=y.length,E=0;Ege.Pa.indexOf(we)&&ge.oi(Se,we,Fe):(we.isSelected=!1,we.isHighlighted=!1,we.Wb(),ge.pc(Fe?Se:-1,we,Fe)))}else ge instanceof Ht?typeof Se=="number"&&we instanceof Pl&&(y?(we.Xe(this),this.Wa.Gb(Se,we)):this.Wa.mb(Se)):Et("unknown ChangedEvent.Remove object: "+a.toString());this.isModified=!0}else E!==An&&Et("unknown ChangedEvent: "+a.toString())}finally{this.skipsModelSourceBindings=x}}},Ht.prototype.Ea=function(a){return this.undoManager.Ea(a)},Ht.prototype.eb=function(a){return this.undoManager.eb(a)},Ht.prototype.Kf=function(){return this.undoManager.Kf()},Ht.prototype.commit=function(a,y){y===void 0&&(y="");var x=this.skipsUndoManager;y===null&&(this.skipsUndoManager=!0,y=""),this.undoManager.Ea(y);var E=!1;try{a(this),E=!0}finally{E?this.undoManager.eb(y):this.undoManager.Kf(),this.skipsUndoManager=x}},Ht.prototype.updateAllTargetBindings=function(a){this.partManager.updateAllTargetBindings(a)},Ht.prototype.rp=function(){this.partManager.rp()};function Xs(a,y,x){var E=a.animationManager;if(a.vb||a.ld)a.Ca=x,jo(a),a.N(),a.Ee=!0,E.zb&&(vc(E)||E.ce.add(E.H,"scale",y,a.Ca));else if(a.ta===null)a.Ca=x,jo(a);else{a.vb=!0;var b=a.viewportBounds.copy(),z=a.Aa,ee=a.ya,re=a.zoomPoint.x,oe=a.zoomPoint.y,se=a.contentAlignment;isNaN(re)&&(se.$c()?se.Hf(Ms)?re=0:se.Hf(Tl)&&(re=z-1):re=se.sb()?se.x*(z-1):z/2),isNaN(oe)&&(se.$c()?se.Hf(ic)?oe=0:se.Hf(Gl)&&(oe=ee-1):oe=se.sb()?se.y*(ee-1):ee/2),a.scaleComputation===null||a.animationManager.defaultAnimation.isAnimating||(x=a.scaleComputation(a,x)),xa.maxScale&&(x=a.maxScale),z=Ze.allocAt(a.pa.x+re/y-re/x,a.pa.y+oe/y-oe/x),a.position=z,Ze.free(z),a.Ca=x,jo(a),a.vb=!1,a.onViewportBoundsChanged(b,a.viewportBounds,y,!1),xo(a,!1),E.zb&&(vc(E)||E.ce.add(E.H,"scale",y,a.Ca))}}Ht.prototype.onViewportBoundsChanged=function(a,y,x,E){if(!a.D(y)){E===void 0&&(E=!1),E||(this.Ee=!0),this.vd=!0;var b=this.layout;b===null||!b.isViewportSized||this.autoScale!==Us||a.width===y.width&&a.height===y.height||b.C(),b=this.currentTool,this.Vk===!0&&b instanceof Gn&&(this.lastInput.documentPoint=this.Ps(this.lastInput.viewPoint),ji(b,this)),this.vb||this.invalidateViewport(a,y),Os(this),this.fc.scale=x,this.fc.position.x=a.x,this.fc.position.y=a.y,this.fc.bounds.assign(a),this.fc.canvasSize.width=Math.round(a.width*x),this.fc.canvasSize.height=Math.round(a.height*x),this.fc.newCanvasSize.width=this.Aa,this.fc.newCanvasSize.height=this.ya,this.fc.isScroll=E,this.R("ViewportBoundsChanged",this.fc,a),this.isVirtualized&&this.links.each(function(z){z.isAvoiding&&z.actualBounds.Yc(y)&&z.bb()})}};function Os(a,y){var x=a.fe;if(x!==null&&x.visible){for(var E=pi.alloc(),b=1,z=1,ee=x.O.s,re=ee.length,oe=0;oece||(Iv(se.figure)?z=z*ce/Bt.vx(z,ce):b=b*ce/Bt.vx(b,ce))}if(ee=x.gridCellSize,E.h(z*ee.width,b*ee.height),y!==void 0)b=y.width,z=y.height,a=y.x,ee=y.y;else{if(y=rn.alloc(),a=a.viewportBounds,y.h(a.x,a.y,a.width,a.height),!y.w()){rn.free(y);return}b=y.width,z=y.height,a=y.x,ee=y.y,rn.free(y)}x.width=b+2*E.width,x.height=z+2*E.height,y=Ze.alloc(),Bt.No(a,ee,0,0,E.width,E.height,y),y.offset(-E.width,-E.height),pi.free(E),x.part.location=y,Ze.free(y)}}Ht.prototype.clearSelection=function(a){a===void 0&&(a=!1);var y=this.selection;if(y.count!==0){a||this.R("ChangingSelection",y);for(var x=y.Fa(),E=x.length,b=0;b=E&&!z.defaultAnimation.isAnimating&&!z.zb&&(y||ka(z,"Layout")),a.xh=!1;for(var ee=a.ai.iterator;ee.next();)fa(a,ee.value,y,E);b.isValidLayout||(!y||b.isRealtime||b.isRealtime===null||E===0?(b.doLayout(a),Xo(a),b.isValidLayout=!0):a.xh=!0)}finally{y=a.undoManager.isInternalTransaction,E===0&&(a.eb("Layout"),a.undoManager.isInternalTransaction=!1),!y||E!==0&&E!==1||Ra(z),a.aa=x}}}function fa(a,y,x,E){if(y!==null){for(var b=y.gl.iterator;b.next();)fa(a,b.value,x,E);b=y.layout,b===null||b.isValidLayout||(!x||b.isRealtime||E===0?(y.rh=!y.location.w(),b.doLayout(y),y.C(32),Qo(a,y),b.isValidLayout=!0):a.xh=!0)}}Be.yz=function(){for(var a=new ln,y=this.nodes;y.next();){var x=y.value;x.isTopLevel&&x.kh()===null&&a.add(x)}return a.iterator};function Ua(a){function y(b){var z=b.toLowerCase(),ee=new ln;x.add(b,ee),x.add(z,ee),E.add(b,b),E.add(z,b)}var x=new gi,E=new gi;y("InitialAnimationStarting"),y("AnimationStarting"),y("AnimationFinished"),y("BackgroundSingleClicked"),y("BackgroundDoubleClicked"),y("BackgroundContextClicked"),y("ClipboardChanged"),y("ClipboardPasted"),y("DocumentBoundsChanged"),y("ExternalObjectsDropped"),y("GainedFocus"),y("InitialLayoutCompleted"),y("LayoutCompleted"),y("LinkDrawn"),y("LinkRelinked"),y("LinkReshaped"),y("LostFocus"),y("Modified"),y("ObjectSingleClicked"),y("ObjectDoubleClicked"),y("ObjectContextClicked"),y("PartCreated"),y("PartResized"),y("PartRotated"),y("SelectionMoved"),y("SelectionCopied"),y("SelectionDeleting"),y("SelectionDeleted"),y("SelectionGrouped"),y("SelectionUngrouped"),y("ChangingSelection"),y("ChangedSelection"),y("SubGraphCollapsed"),y("SubGraphExpanded"),y("TextEdited"),y("TreeCollapsed"),y("TreeExpanded"),y("ViewportBoundsChanged"),y("InvalidateDraw"),a.iw=x,a.hw=E}function Po(a,y){var x=a.hw.I(y);return x!==null?x:a.hw.I(y.toLowerCase())}function Wr(a,y){var x=a.iw.I(y);if(x!==null||(x=a.iw.I(y.toLowerCase()),x!==null))return x;Et("Unknown DiagramEvent name: "+y)}Be.Bj=function(a,y){return a=Wr(this,a),a!==null&&a.add(y),this},Be.am=function(a,y){a=Wr(this,a),a!==null&&a.remove(y)},Be.R=function(a,y,x){var E=Wr(this,a),b=new Gt;if(b.diagram=this,a=Po(this,a),a!==null&&(b.name=a),y!==void 0&&(b.subject=y),x!==void 0&&(b.parameter=x),y=E.length,y===1)E.M(0)(b);else if(y!==0)for(E=E.Fa(),x=0;x=x.top&&0>=x.left&&0>=x.right&&0>=x.bottom)return y;var E=this.viewportBounds,b=this.scale;E=rn.allocAt(0,0,E.width*b,E.height*b);var z=Ze.allocAt(0,0);if(a.x>=E.x&&a.xE.x+E.width-x.right&&this.allowHorizontalScroll&&(ee=Math.max(this.scrollHorizontalLineChange,1),ee|=0,z.x+=ee,a.x>E.x+E.width-x.right/2&&(z.x+=ee),a.x>E.x+E.width-x.right/4&&(z.x+=4*ee));return a.y>=E.y&&a.yE.y+E.height-x.bottom&&this.allowVerticalScroll&&(ee=Math.max(this.scrollVerticalLineChange,1),ee|=0,z.y+=ee,a.y>E.y+E.height-x.bottom/2&&(z.y+=ee),a.y>E.y+E.height-x.bottom/4&&(z.y+=4*ee)),z.Xa(Io)||(y=new Ze(y.x+z.x/b,y.y+z.y/b)),rn.free(E),Ze.free(z),y},Be=Ht.prototype,Be.Cs=function(){return null},Be.av=function(){return null},Be.bs=function(a,y){this.pj.add(a,y)},Be.Fu=function(a){(this.Pw=a)||this.nodes.each(function(y){y instanceof Gr&&(y.$p=null)})};function Jl(a,y,x){function E(){var ce=+new Date;for(z=!0,ee.reset();ee.next();)if(!ee.value[0].al){z=!1;break}z||ce-se>oe?y(x,b,re):Zn.requestAnimationFrame(E)}for(var b=x.callback,z=!0,ee=a.Og.iterator;ee.next();)if(!ee.value[0].al){z=!1;break}if(typeof b!="function"||z)return y(x,b,a);var re=a,oe=x.callbackTimeout||300,se=+new Date;return Zn.requestAnimationFrame(function(){E()}),null}Be.Wz=function(a){return Aa?(a===void 0&&(a={}),a.returnType="Image",this.Jx(a)):null},Be.Jx=function(a){return a===void 0&&(a={}),Jl(this,this.Xz,a)},Be.Xz=function(a,y,x){var E=nd(x,a,"canvas",null);if(E===null)return null;x=E.Z.canvas;var b=null;if(x!==null)switch(b=a.returnType,b===void 0?b="string":b=b.toLowerCase(),b){case Vh+"data":b=E.getImageData(0,0,x.width,x.height);break;case Vh:E=(a.document||document).createElement("img"),E.src=x.toDataURL(a.type,a.details),b=E;break;case"blob":return typeof y!="function"&&Et('Error: Diagram.makeImageData called with "returnType: toBlob", but no required "callback" function property defined.'),typeof x.toBlob=="function"?(x.toBlob(y,a.type,a.details),"toBlob"):(y(null),null);default:b=x.toDataURL(a.type,a.details)}return typeof y=="function"?(y(b),null):b};function nd(a,y,x,E){if(a.animationManager.Cc(),a.bd(),a.ta===null)return null;typeof y!="object"&&Et("properties argument must be an Object.");var b=y.size||null,z=y.scale||null;y.scale!==void 0&&isNaN(y.scale)&&(z="NaN");var ee=y.maxSize;y.maxSize===void 0&&(ee=x==="SVG"?new pi(1/0,1/0):new pi(2e3,2e3));var re=y.position||null,oe=y.parts||null,se=y.padding===void 0?1:y.padding,ce=y.background||null,ge=y.omitTemporary;ge===void 0&&(ge=!0);var Se=y.document||document,we=y.elementFinished||null,Fe=y.showTemporary;Fe===void 0&&(Fe=!ge),y=y.showGrid,y===void 0&&(y=Fe),b!==null&&isNaN(b.width)&&isNaN(b.height)&&(b=null),typeof se=="number"?se=new ao(se):se instanceof ao||Et("MakeImage padding must be a Margin or a number."),se.left=Math.max(se.left,0),se.right=Math.max(se.right,0),se.top=Math.max(se.top,0),se.bottom=Math.max(se.bottom,0),a.ib.Vc(!0),ge=new zu(null,Se,void 0,!0);var Ne=ge.context;if(!(b||z||oe||re))return ge.width=a.Aa+Math.ceil(se.left+se.right),ge.height=a.ya+Math.ceil(se.top+se.bottom),x==="SVG"?E===null?null:(E.resize(ge.width,ge.height,ge.width,ge.height),E.ownerDocument=Se,E.hs=we,qo(a,E.context,se,new pi(ge.width,ge.height),a.Ca,a.pa,oe,ce,Fe,y),E.context):(a.Xm=!1,qo(a,Ne,se,new pi(ge.width,ge.height),a.Ca,a.pa,oe,ce,Fe,y),a.Xm=!0,ge.context);var Je=a.Pp,Ge=a.documentBounds.copy();if(Ge.Fv(a.yb),Fe)for(var nt=a.Wa.s,at=nt.length,ft=0;ftJe?(z=Je,b=Ge.width,Ge=Ge.height):(b=ee.width,Ge=ee.height)):(b=Ge.width*z,Ge=Ge.height*z):(z=Je,b=Ge.width,Ge=Ge.height),se!==null?(b+=re,Ge+=at):se=new ao(0),ee!==null&&(Je=ee.width,ee=ee.height,isNaN(Je)&&(Je=2e3),isNaN(ee)&&(ee=2e3),isFinite(Je)&&(b=Math.min(b,Je)),isFinite(ee)&&(Ge=Math.min(Ge,ee))),ge.width=Math.ceil(b),ge.height=Math.ceil(Ge),x==="SVG"?E===null?null:(E.resize(ge.width,ge.height,ge.width,ge.height),E.ownerDocument=Se,E.hs=we,qo(a,E.context,se,new pi(Math.ceil(b),Math.ceil(Ge)),z,nt,oe,ce,Fe,y),E.context):(a.Xm=!1,qo(a,Ne,se,new pi(Math.ceil(b),Math.ceil(Ge)),z,nt,oe,ce,Fe,y),a.Xm=!0,ge.context)}Rt.Object.defineProperties(Ht.prototype,{renderer:{get:function(){return this.nl},set:function(a){this instanceof me||(a===""&&(a="default"),a=a.toLowerCase(),a!==this.nl&&(this.nl=a,a==="default"||a==="canvas"?(a=this.pj.get("svg"),a!==null&&a.Oa.remove(),this.ta&&(this.ib=this.ta.context)):a==="svg"?(this.pj.contains("svg")?a=this.pj.get("svg"):(a=new zo(this,Zn.document),this.bs("svg",a)),this.div!==null&&this.div.appendChild(a.Oa),this.ib=a.context,this.ta&&(this.ta.context.setTransform(this.Mb,0,0,this.Mb,0,0),this.ta.context.clearRect(0,0,this.Aa,this.ya))):a!=="debug"||this.pj.contains("SVG")||(a=new zo(this,Zn.document),this.bs("SVG",a),a.Oa.style.backgroundColor="whitesmoke",this.div!==null&&this.div.after(a.Oa)),this.hk()))}},div:{get:function(){return this.Ka},set:function(a){if(this.Ka!==a){var y=this.Ka;y!==null?(y.H=void 0,y.goDiagram=void 0,y.go=void 0,y.innerHTML="",this.ta!==null&&(y=this.ta.Oa,this.removeEventListener(y,"pointermove",this.dk,!1),this.removeEventListener(y,"pointerdown",this.ui,!1),this.removeEventListener(y,"pointerup",this.fk,!1),this.removeEventListener(y,"pointerout",this.ek,!1),this.removeEventListener(y,"pointercancel",this.ck,!1),this.ta.mx()),this.ol&&(this.ol.disconnect(),this.ol=null),y=this.toolManager,y!==null&&(y.mouseDownTools.each(function(x){x.cancelWaitAfter()}),y.mouseMoveTools.each(function(x){x.cancelWaitAfter()}),y.mouseUpTools.each(function(x){x.cancelWaitAfter()})),y.cancelWaitAfter(),this.currentTool.doCancel(),this.ta=null,this.removeEventListener(Zn,"resize",this.Ov,!1),this.removeEventListener(Zn,"wheel",this.$j,!0),st===this&&(st=null)):this.ui===null&&(this.hf=!1),this.Ka=null,a!==null&&((y=a.H)&&(y.div=null),Ji(this,a),this.hk())}}},$w:{get:function(){return this.Sq}},pi:{get:function(){return this.hf}},draggedLink:{get:function(){return this.nt},set:function(a){this.nt!==a&&(this.nt=a,a!==null&&(this.Vt=a.fromPort,this.Wt=a.toPort))}},Mx:{get:function(){return this.Vt},set:function(a){this.Vt=a}},Nx:{get:function(){return this.Wt},set:function(a){this.Wt=a}},animationManager:{get:function(){return this.Yd}},undoManager:{get:function(){return this.cc.undoManager}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a,this.cc.skipsUndoManager=a}},delaysLayout:{get:function(){return this.lt},set:function(a){this.lt=a}},opacity:{get:function(){return this.pb},set:function(a){var y=this.pb;y!==a&&((0>a||1a&&Cn(a,">= 0",Ht,"scrollHorizontalLineChange"),this.iu=a,this.g("scrollHorizontalLineChange",y,a))}},scrollVerticalLineChange:{get:function(){return this.mu},set:function(a){var y=this.mu;y!==a&&(0>a&&Cn(a,">= 0",Ht,"scrollVerticalLineChange"),this.mu=a,this.g("scrollVerticalLineChange",y,a))}},lastInput:{get:function(){return this.cj},set:function(a){this.cj=a}},previousInput:{get:function(){return this.Qg},set:function(a){this.Qg=a}},firstInput:{get:function(){return this.bq},set:function(a){this.bq=a}},currentCursor:{get:function(){return this.it},set:function(a){if(a===""&&(a=this.Op),this.it!==a){var y=this.ta,x=this.Ka;if(y!==null&&x!==null){this.it=a;var E=y.style.cursor;y.style.cursor=a,x.style.cursor=a,y.style.cursor===E&&(y.style.cursor="-webkit-"+a,x.style.cursor="-webkit-"+a,y.style.cursor===E&&(y.style.cursor="-moz-"+a,x.style.cursor="-moz-"+a,y.style.cursor===E&&(y.style.cursor=a,x.style.cursor=a)))}}}},defaultCursor:{get:function(){return this.Op},set:function(a){a===""&&(a="auto");var y=this.Op;y!==a&&(this.Op=a,this.g("defaultCursor",y,a))}},click:{get:function(){return this.zh},set:function(a){var y=this.zh;y!==a&&(this.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.Fh},set:function(a){var y=this.Fh;y!==a&&(this.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.Bh},set:function(a){var y=this.Bh;y!==a&&(this.Bh=a,this.g("contextClick",y,a))}},mouseOver:{get:function(){return this.Qh},set:function(a){var y=this.Qh;y!==a&&(this.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.Oh},set:function(a){var y=this.Oh;y!==a&&(this.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.Nh},set:function(a){var y=this.Nh;y!==a&&(this.Nh=a,this.g("mouseHold",y,a))}},mouseDragOver:{get:function(){return this.Qt},set:function(a){var y=this.Qt;y!==a&&(this.Qt=a,this.g("mouseDragOver",y,a))}},mouseDrop:{get:function(){return this.Lh},set:function(a){var y=this.Lh;y!==a&&(this.Lh=a,this.g("mouseDrop",y,a))}},handlesDragDropForTopLevelParts:{get:function(){return this.xt},set:function(a){var y=this.xt;y!==a&&(this.xt=a,this.g("handlesDragDropForTopLevelParts",y,a))}},mouseEnter:{get:function(){return this.Mh},set:function(a){var y=this.Mh;y!==a&&(this.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.Ph},set:function(a){var y=this.Ph;y!==a&&(this.Ph=a,this.g("mouseLeave",y,a))}},toolTip:{get:function(){return this.$h},set:function(a){var y=this.$h;y!==a&&(this.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.Ch},set:function(a){var y=this.Ch;y!==a&&(this.Ch=a,this.g("contextMenu",y,a))}},commandHandler:{get:function(){return this.nb},set:function(a){this.nb!==a&&(this.nb=a,a.Xe(this))}},toolManager:{get:function(){return this.te},set:function(a){this.te!==a&&(this.te=a,a.diagram=this)}},defaultTool:{get:function(){return this.ob},set:function(a){var y=this.ob;y!==a&&(this.ob=a,a.diagram=this,this.currentTool===y&&(this.currentTool=a))}},currentTool:{get:function(){return this.hb},set:function(a){var y=this.hb;y&&(y.isActive&&y.doDeactivate(),y.cancelWaitAfter(),y.doStop()),a===null&&(a=this.defaultTool),a!==null&&(this.hb=a,a.diagram=this,a.doStart())}},selection:{get:function(){return this.Hw}},maxSelectionCount:{get:function(){return this.Nt},set:function(a){var y=this.Nt;if(y!==a)if(0<=a&&!isNaN(a)){if(this.Nt=a,this.g("maxSelectionCount",y,a),!this.undoManager.isUndoingRedoing&&(a=this.selection.count-a,0= 0",Ht,"maxSelectionCount")}},nodeSelectionAdornmentTemplate:{get:function(){return this.St},set:function(a){var y=this.St;y!==a&&(this.St=a,this.g("nodeSelectionAdornmentTemplate",y,a))}},groupSelectionAdornmentTemplate:{get:function(){return this.wt},set:function(a){var y=this.wt;y!==a&&(this.wt=a,this.g("groupSelectionAdornmentTemplate",y,a))}},linkSelectionAdornmentTemplate:{get:function(){return this.Kt},set:function(a){var y=this.Kt;y!==a&&(this.Kt=a,this.g("linkSelectionAdornmentTemplate",y,a))}},highlighteds:{get:function(){return this.nw}},isModified:{get:function(){var a=this.undoManager;return a.isEnabled?a.currentTransaction!==null?!0:this.rn&&this.Ce!==a.historyIndex:this.rn},set:function(a){if(this.rn!==a){this.rn=a;var y=this.undoManager;!a&&y.isEnabled&&(this.Ce=y.historyIndex),a||eo(this)}}},model:{get:function(){return this.cc},set:function(a){var y=this.cc;if(y!==a){this.currentTool.doCancel(),y&&y.undoManager!==a.undoManager&&y.undoManager.isInTransaction&&Et("Do not replace a Diagram.model while a transaction is in progress."),this.animationManager.Cc(!0);var x=wn(this,!0);this.hf=!1,this.fn=!0,this.Ce=-2,this.kg=!1;var E=this.vb;this.vb=!0,ka(this.animationManager,"Model"),y&&(this.pf!==null&&this.pf.each(function(z){return y.ik(z)}),y.ik(this.Oc)),this.cc=a,this.partManager=qa(this.cc.type);for(var b=0;bthis.scale&&(this.scale=a)):Cn(a,"> 0",Ht,"minScale"))}},maxScale:{get:function(){return this.Mt},set:function(a){var y=this.Mt;y!==a&&(0 0",Ht,"maxScale"))}},zoomPoint:{get:function(){return this.zu},set:function(a){this.zu.D(a)||(this.zu=a=a.J())}},contentAlignment:{get:function(){return this.zk},set:function(a){var y=this.zk;y.D(a)||(this.zk=a=a.J(),this.g("contentAlignment",y,a),xo(this,!1))}},initialContentAlignment:{get:function(){return this.pq},set:function(a){var y=this.pq;y.D(a)||(this.pq=a=a.J(),this.g("initialContentAlignment",y,a))}},padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new ao(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.Ya(),this.g("padding",y,a))}},partManager:{get:function(){return this.Pc},set:function(a){var y=this.Pc;y!==a&&(a.diagram!==null&&Et("Cannot share PartManagers between Diagrams: "+a.toString()),y&&y.Xe(null),this.Pc=a,a.Xe(this))}},nodes:{get:function(){return this.partManager.nodes.iterator}},links:{get:function(){return this.partManager.links.iterator}},parts:{get:function(){return this.partManager.parts.iterator}},layout:{get:function(){return this.Sc},set:function(a){var y=this.Sc;y!==a&&(this.Sc=a,a.diagram=this,a.group=null,this.xh=!0,this.g("layout",y,a),this.$b())}},isTreePathToChildren:{get:function(){return this.Ht},set:function(a){var y=this.Ht;if(y!==a&&(this.Ht=a,this.g("isTreePathToChildren",y,a),!this.undoManager.isUndoingRedoing))for(a=this.nodes;a.next();)lm(a.value)}},treeCollapsePolicy:{get:function(){return this.uu},set:function(a){var y=this.uu;y!==a&&(a!==ih&&a!==Js&&a!==zh&&Et("Unknown Diagram.treeCollapsePolicy: "+a),this.uu=a,this.g("treeCollapsePolicy",y,a))}},Ue:{get:function(){return this.pw},set:function(a){this.pw=a}},avoidanceCellSize:{get:function(){return this.aw},set:function(a){this.Xh=null,this.aw=new pi(Math.max(1,a.width),Math.max(1,a.height))}},avoidanceLimit:{get:function(){return this.bw},set:function(a){this.bw=Math.max(1,a)}},autoScrollInterval:{get:function(){return this.vp},set:function(a){var y=this.vp;y!==a&&(this.vp=a,this.g("autoScrollInterval",y,a))}},autoScrollRegion:{get:function(){return this.xp},set:function(a){typeof a=="number"&&(a=new ao(a));var y=this.xp;y.D(a)||(this.xp=a=a.J(),this.Ya(),this.g("autoScrollRegion",y,a))}}}),Rt.Object.defineProperties(Ht,{licenseKey:{get:function(){return sf.jc()},set:function(a){sf.add(a.replace(/\s/g,""))}},version:{get:function(){return vh}}}),Ht.prototype.makeImageData=Ht.prototype.Jx,Ht.prototype.makeImage=Ht.prototype.Wz,Ht.prototype.cacheGroupExternalLinks=Ht.prototype.Fu,Ht.prototype.addRenderer=Ht.prototype.bs,Ht.prototype.makeSVG=Ht.prototype.av,Ht.prototype.makeSvg=Ht.prototype.Cs,Ht.prototype.stopAutoScroll=Ht.prototype.ug,Ht.prototype.doAutoScroll=Ht.prototype.gs,Ht.prototype.isUnoccupied=Ht.prototype.Yj,Ht.prototype.raiseDiagramEvent=Ht.prototype.R,Ht.prototype.removeDiagramListener=Ht.prototype.am,Ht.prototype.addDiagramListener=Ht.prototype.Bj,Ht.prototype.findTreeRoots=Ht.prototype.yz,Ht.prototype.layoutDiagram=Ht.prototype.Uz,Ht.prototype.findTopLevelGroups=Ht.prototype.qz,Ht.prototype.findTopLevelNodesAndLinks=Ht.prototype.rz,Ht.prototype.ensureBounds=Ht.prototype.Va,Ht.prototype.findLinksByExample=Ht.prototype.ls,Ht.prototype.findNodesByExample=Ht.prototype.ms,Ht.prototype.findLinkForData=Ht.prototype.Kc,Ht.prototype.findNodeForData=Ht.prototype.ii,Ht.prototype.findPartForData=Ht.prototype.Lc,Ht.prototype.findLinkForKey=Ht.prototype.findLinkForKey,Ht.prototype.findNodeForKey=Ht.prototype.Vb,Ht.prototype.findPartForKey=Ht.prototype.findPartForKey,Ht.prototype.rebuildParts=Ht.prototype.Wd,Ht.prototype.transformViewToDoc=Ht.prototype.Ps,Ht.prototype.transformRectDocToView=Ht.prototype.zA,Ht.prototype.transformDocToView=Ht.prototype.op,Ht.prototype.centerRect=Ht.prototype.es,Ht.prototype.scrollToRect=Ht.prototype.tv,Ht.prototype.scroll=Ht.prototype.scroll,Ht.prototype.highlightCollection=Ht.prototype.Jz,Ht.prototype.highlight=Ht.prototype.Iz,Ht.prototype.selectCollection=Ht.prototype.rA,Ht.prototype.select=Ht.prototype.select,Ht.prototype.updateAllRelationshipsFromData=Ht.prototype.rp,Ht.prototype.updateAllTargetBindings=Ht.prototype.updateAllTargetBindings,Ht.prototype.commit=Ht.prototype.commit,Ht.prototype.rollbackTransaction=Ht.prototype.Kf,Ht.prototype.commitTransaction=Ht.prototype.eb,Ht.prototype.startTransaction=Ht.prototype.Ea,Ht.prototype.raiseChanged=Ht.prototype.g,Ht.prototype.raiseChangedEvent=Ht.prototype.cb,Ht.prototype.removeChangedListener=Ht.prototype.ik,Ht.prototype.addChangedListener=Ht.prototype.Pe,Ht.prototype.removeModelChangedListener=Ht.prototype.mA,Ht.prototype.addModelChangedListener=Ht.prototype.Yw,Ht.prototype.findLayer=Ht.prototype.Qj,Ht.prototype.removeLayer=Ht.prototype.kA,Ht.prototype.addLayerAfter=Ht.prototype.Cy,Ht.prototype.addLayerBefore=Ht.prototype.Ww,Ht.prototype.addLayer=Ht.prototype.Al,Ht.prototype.moveParts=Ht.prototype.moveParts,Ht.prototype.copyParts=Ht.prototype.Kj,Ht.prototype.removeParts=Ht.prototype.Is,Ht.prototype.remove=Ht.prototype.remove,Ht.prototype.add=Ht.prototype.add,Ht.prototype.clearDelayedGeometries=Ht.prototype.bx,Ht.prototype.setProperties=Ht.prototype.nm,Ht.prototype.attach=Ht.prototype.Du,Ht.prototype.set=Ht.prototype.set,Ht.prototype.resetInputOptions=Ht.prototype.Sx,Ht.prototype.setInputOption=Ht.prototype.sA,Ht.prototype.getInputOption=Ht.prototype.Ql,Ht.prototype.resetRenderingHints=Ht.prototype.Tx,Ht.prototype.setRenderingHint=Ht.prototype.Xx,Ht.prototype.getRenderingHint=Ht.prototype.Gf,Ht.prototype.maybeUpdate=Ht.prototype.bd,Ht.prototype.requestUpdate=Ht.prototype.$b,Ht.prototype.delayInitialization=Ht.prototype.Xy,Ht.prototype.isUpdateRequested=Ht.prototype.Pz,Ht.prototype.invalidateDocumentBounds=Ht.prototype.Ya,Ht.prototype.findObjectsNear=Ht.prototype.og,Ht.prototype.findPartsNear=Ht.prototype.mz,Ht.prototype.findObjectsIn=Ht.prototype.Cf,Ht.prototype.findPartsIn=Ht.prototype.ux,Ht.prototype.findObjectsAt=Ht.prototype.ji,Ht.prototype.findPartsAt=Ht.prototype.lz,Ht.prototype.findObjectAt=Ht.prototype.ic,Ht.prototype.findPartAt=Ht.prototype.Ol,Ht.prototype.focusObject=Ht.prototype.zz,Ht.prototype.alignDocument=Ht.prototype.Jy,Ht.prototype.zoomToRect=Ht.prototype.BA,Ht.prototype.zoomToFit=Ht.prototype.zoomToFit,Ht.prototype.diagramScroll=Ht.prototype.kx,Ht.prototype.focus=Ht.prototype.focus;var mr=new gi,vs=null,Aa=Zn.document!==void 0,qs=null,Zu="",Us=new sn(Ht,"None",0),ru=new sn(Ht,"Uniform",1),gd=new sn(Ht,"UniformToFill",2),Vd=new sn(Ht,"CycleAll",10),of=new sn(Ht,"CycleNotDirected",11),bu=new sn(Ht,"CycleNotDirectedFast",12),Ef=new sn(Ht,"CycleNotUndirected",13),ng=new sn(Ht,"CycleDestinationTree",14),Nf=new sn(Ht,"CycleSourceTree",15),nh=new sn(Ht,"DocumentScroll",1),af=new sn(Ht,"InfiniteScroll",2),ih=new sn(Ht,"TreeParentCollapsed",21),Js=new sn(Ht,"AllParentsCollapsed",22),zh=new sn(Ht,"AnyParentsCollapsed",23),sf=new ln,vh="2.3.10",Vh="image",yh=null,Gh=!1;function Bu(){if(Aa){var a=Zn.document.createElement("canvas"),y=a.getContext("2d"),x=Nn("7ca11abfd022028846");y[x]=Nn("398c3597c01238");for(var E=["5da73c80a36455d7038e4972187c3cae51fd22",ki.Dx+"4ae6247590da4bb21c324ba3a84e385776",qr.xF+"fb236cdfda5de14c134ba1a95a2d4c7cc6f93c1387",Bt.za],b=1;5>b;b++)y[Nn("7ca11abfd7330390")](Nn(E[b-1]),10,15*b);for(y[x]=Nn("39f046ebb36e4b"),x=1;5>x;x++)y[Nn("7ca11abfd7330390")](Nn(E[x-1]),10,15*x);(E.length!==4||E[0][0]!=="5"||E[3][0]!=="7")&&(qr.prototype.Cd=qr.prototype.Eu),yh=a}}Ht.className="Diagram",Ht.fromDiv=function(a){var y=a;return typeof a=="string"&&(y=Zn.document.getElementById(a)),y instanceof HTMLDivElement&&y.H instanceof Ht?y.H:null},Ht.inherit=function(a,y){function x(){}if(Object.getPrototypeOf(a).prototype)throw Error(`Used go.Diagram.inherit defining already defined class +`+a);x.prototype=y.prototype,a.prototype=new x,a.prototype.constructor=a},Ht.useDOM=function(a){Aa=a?Zn.document!==void 0:!1},Ht.isUsingDOM=function(){return Aa},Ht.None=Us,Ht.Uniform=ru,Ht.UniformToFill=gd,Ht.CycleAll=Vd,Ht.CycleNotDirected=of,Ht.CycleNotDirectedFast=bu,Ht.CycleNotUndirected=Ef,Ht.CycleDestinationTree=ng,Ht.CycleSourceTree=Nf,Ht.DocumentScroll=nh,Ht.InfiniteScroll=af,Ht.TreeParentCollapsed=ih,Ht.AllParentsCollapsed=Js,Ht.AnyParentsCollapsed=zh;function Bg(){this.wy=null,this.j="zz@orderNum",this._tk==="63ad05bbe23a1786468a4c741b6d2"?this.Rc=this.j=!0:this.Rc=null}function Sh(a,y){if(y.ib.setTransform(y.Mb,0,0,y.Mb,0,0),y.ib.yc(),a.Rc===null)e:{y="f";var x=Zn[Nn("76a715b2f73f148a")][Nn("72ba13b5")]||"";if(a.Rc=!0,Aa){var E=Ht[Nn("76a115b6ed251eaf4692")];if(E)for(var b=sf.iterator;b.next()&&(E=b.value,E=Nn(E).split(Nn("39e9")),!(6>E.length));){var z=Nn(E[1]).split(".");if(E[4]!=="7da71ca0")break;var ee=Nn(ki[Nn("6cae19")]).split(".");if(z[0]>ee[0]||z[0]===ee[0]&&z[1]>=ee[1]){var re=Zn[Nn("74a900bae4370f8b51")][Nn("6fbb13a1c2311e8a57")].toLowerCase();if(ee=re[Nn("73a612b6fb191d")](Nn("3aad1ab6e022098b4dc4")),z=Nn(E[2]),-1ee&&z!==Nn("7da71ca0ad381e90")&&(ee=y[Nn("73a612b6fb191d")](Nn("76a715b2ef3e149757"))),0>ee&&(ee=y[Nn("73a612b6fb191d")](Nn("76a715b2ef3e149757"))),0>ee&&(ee=y[Nn("73a612b6fb191d")](Nn("2bfa41fdb3784bca12"))),0>ee&&(ee=x[Nn("73a612b6fb191d")](Nn("7baa19a6f76c1988428554"))),a.Rc=!(0<=ee&&eere),!a.Rc)))break;if(z[0]==="#"){ee=Zn.document.createElement("div");for(var oe=E[0].replace(/[A-Za-z]/g,"");4>oe.length;)oe+="9";if(re=oe,oe=oe.substr(oe.length-4),E="",E+=["gsh","gsf"][parseInt(oe.substr(0,1),10)%2],E+=["Header","Background","Display","Feedback"][parseInt(oe.substr(0,1),10)%4],ee[Nn("79a417a0f0181a8946")]=E,Zn.document[Nn("78a712aa")]){Zn.document[Nn("78a712aa")][Nn("7bb806b6ed32388c4a875b")](ee),oe=Zn.getComputedStyle(ee).getPropertyValue(Nn("78a704b7e62456904c9b12701b6532a8"));var se=Zn.getComputedStyle(ee).getPropertyValue(Nn("75b817b0ea2202"));if(Zn.document[Nn("78a712aa")][Nn("68ad1bbcf533388c4a875b")](ee),oe){if(ee=Zn[Nn("77a902b0eb1b1e804a8a")],se==="0."+parseInt(re,10)%100||oe.indexOf(parseInt(z[1]+z[2],16))!==-1&&oe.indexOf(parseInt(z[3]+z[4],16))!==-1){a.Rc=!1;break}else if(ee&&ee(Nn("32ae19a1e0331fc94084537c067a67fa59f1386b89d006")).matches)for(E="."+E,z=0;zE.updateDelay?E.N():E.o||(E.o=!0,setTimeout(function(){return E.redraw()},E.updateDelay))},x.Of=function(){E.observed!==null&&je(E)},x.autoScale=ru,x.vb=!1,y&&Object.assign(x,y),x}_t(me,Ht),me.prototype.computePixelRatio=function(){return 1},me.prototype.redraw=function(){if(this.o&&1<=this.updateDelay){this.o=!1;var a=this.ta,y=this.ib;if(a!==null&&y!==null){if(Jo(this),this.ql===null){var x=new zu(null);x.width=a.width,x.height=a.height,this.ql=x}try{this.ta=this.ql,this.ib=this.ta.context,this.ib.Vc(!0),this.ib.setTransform(1,0,0,1,0,0),this.ib.clearRect(0,0,this.ta.width,this.ta.height),De(this)}finally{this.ta=a,this.ib=y}}}Ht.prototype.redraw.call(this)},me.prototype.gc=function(){if(this.Ka===null&&Et("No div specified"),this.ta===null&&Et("No canvas specified"),!(this.ta instanceof zo)&&(ny(this.box),this.Fc)){var a=this.observed;if(a!==null&&!a.animationManager.defaultAnimation.isAnimating&&a.pi){Jo(this);var y=this.ta;a=this.ib,a.Vc(!0),a.setTransform(1,0,0,1,0,0),a.clearRect(0,0,y.width,y.height),1>this.updateDelay?De(this):this.ql!==null&&(a.drawImage(this.ql.Oa,0,0),y=this.Ab,y.reset(),this.scale!==1&&y.scale(this.scale),this.position.x===0&&this.position.y===0||y.translate(-this.position.x,-this.position.y),a.scale(this.Mb,this.Mb),a.transform(y.m11,y.m12,y.m21,y.m22,y.dx,y.dy),a.yc()),y=this.Wa.s;for(var x=y.length,E=0;Ea&&(a=0),this.ia!==a&&(this.ia=a)}}}),me.className="Overview";function Xe(){tr.call(this),this.j=null}_t(Xe,tr),Xe.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a===null||!a.allowMove||!a.allowSelect)return!1;var y=a.observed;if(y===null)return!1;var x=a.lastInput;return!x.left||a.currentTool!==this&&(!this.isBeyondDragSize()||x.isTouchEvent&&x.timestamp-a.firstInput.timestampy.maxScale||(y.scale=a))},Ke.prototype.canDecreaseZoom=function(a){a===void 0&&(a=1/this.zoomFactor);var y=this.diagram;return y.autoScale!==Us?!1:(a=y.scale*a,ay.maxScale?!1:y.allowZoom)},Ke.prototype.increaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;y.autoScale===Us&&(a=y.scale*a,ay.maxScale||(y.scale=a))},Ke.prototype.canIncreaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;return y.autoScale!==Us?!1:(a=y.scale*a,ay.maxScale?!1:y.allowZoom)},Ke.prototype.resetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;ay.maxScale||(y.scale=a)},Ke.prototype.canResetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;return ay.maxScale?!1:y.allowZoom},Ke.prototype.zoomToFit=function(){var a=this.diagram,y=a.animationManager;y.Cc(),a.redraw();var x=a.position,E=a.scale;ka(y,"Zoom To Fit"),this.isZoomToFitRestoreEnabled&&E===this.Au&&!isNaN(this.Jt)&&a.documentBounds.D(this.yu)?(a.scale=this.Jt,a.position=this.sw,this.Au=NaN,this.yu=du):(this.Jt=E,this.sw=x.copy(),a.zoomToFit(),this.Au=a.scale,this.yu=a.documentBounds.copy()),Ra(y)},Ke.prototype.canZoomToFit=function(){return this.diagram.allowZoom},Ke.prototype.scrollToPart=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.Va(),a===null){try{this.cg!==null&&(this.cg.next()?a=this.cg.value:this.cg=null)}catch(oe){this.cg=null}a===null&&(0a&&(a+=360)),a},Be.Df=function(){if(!(this.l&4096))return this.Kk;var a=this.Ca;return this.panel!==null?a*this.panel.Df():a},Be.qs=function(a,y){return y===void 0&&(y=new Ze),y.assign(a),this.oe.Cd(y),y},Be.rs=function(a,y,x){return this.Sj(a.x,a.y,y.x,y.y,x)},Be.Sj=function(a,y,x,E,b){var z=this.transform,ee=1/(z.m11*z.m22-z.m12*z.m21),re=z.m22*ee,oe=-z.m12*ee,se=-z.m21*ee,ce=z.m11*ee,ge=ee*(z.m21*z.dy-z.m22*z.dx),Se=ee*(z.m12*z.dx-z.m11*z.dy);return this.areaBackground!==null?(z=this.actualBounds,Bt.Ff(z.left,z.top,z.right,z.bottom,a,y,x,E,b)):(ee=a*re+y*se+ge,a=a*oe+y*ce+Se,y=x*re+E*se+ge,x=x*oe+E*ce+Se,b.h(0,0),E=this.naturalBounds,x=Bt.Ff(0,0,E.width,E.height,ee,a,y,x,b),b.transform(z),x)},Pt.prototype.measure=function(a,y,x,E){if(Ye(this)!==!1){var b=this.Kg,z=b.right+b.left;b=b.top+b.bottom,a=Math.max(a-z,0),y=Math.max(y-b,0),x=Math.max((x||0)-z,0),E=Math.max((E||0)-b,0),z=this.angle,b=this.desiredSize;var ee=this.kq();z===90||z===270?(a=isFinite(b.height)?b.height+ee:a,y=isFinite(b.width)?b.width+ee:y):(a=isFinite(b.width)?b.width+ee:a,y=isFinite(b.height)?b.height+ee:y),b=x||0,ee=E||0;var re=this instanceof $n;switch(Uu(this,!0)){case In:ee=b=0,re&&(y=a=1/0);break;case Hn:isFinite(a)&&a>x&&(b=a),isFinite(y)&&y>E&&(ee=y);break;case Qi:isFinite(a)&&a>x&&(b=a),ee=0,re&&(y=1/0);break;case Tt:isFinite(y)&&y>E&&(ee=y),b=0,re&&(a=1/0)}re=this.maxSize;var oe=this.minSize;b>re.width&&oe.widthre.height&&oe.heighta.height||this.Cb>a.width))&&(x=!0)),this.l=x?this.l|256:this.l&-257,this.Ib.w()||Et("Non-real actualBounds has been set. Object "+this+", actualBounds: "+this.Ib.toString()),this.Xl(z,this.Ib),vt(this,!1),rn.free(z)},Be=Pt.prototype,Be.eh=function(){};function Ml(a,y,x,E,b){if(a.Ib.h(y,x,E,b),!a.desiredSize.w()){var z=a.uc;x=a.Kg,y=x.right+x.left;var ee=x.top+x.bottom;switch(x=z.width+y,z=z.height+ee,E+=y,b+=ee,y=Uu(a,!0),x===E&&z===b&&(y=In),y){case In:(x>E||z>b)&&(Qe(a,!0),a.measure(x>E?E:x,z>b?b:z,0,0));break;case Hn:Qe(a,!0),a.measure(E,b,0,0);break;case Qi:Qe(a,!0),a.measure(E,z,0,0);break;case Tt:Qe(a,!0),a.measure(x,b,0,0)}}}Be.Xl=function(a,y){var x=this.part;x!==null&&x.diagram!==null&&(x.selectionObject!==this&&x.resizeObject!==this&&x.rotateObject!==this||oy(x,!0),this.N(),Vl(a,y)||(x.oh(),this.Pn(x)))},Be.Pn=function(a){this.portId!==null&&(oy(a,!0),a instanceof Fi&&tS(a,this))},Be.gc=function(a,y){if(!wu(this,a,y)&&this.visible){var x=this.opacity;if(x!==0){var E=1;x!==1&&(E=a.globalAlpha,a.globalAlpha=E*x);var b="";this.filter!==""&&(b=a.filter,a.filter=this.filter);var z=this instanceof $n&&If(this),ee=this.Ib;if(z){var re=this.Ib,oe=this.dc,se=this.areaBackground,ce=this.Ma;se===null&&ce===null||a.yc(),se!==null&&(gs(this,a,se,!0,!0,oe,re),se instanceof ea&&se.type===Dd?(a.beginPath(),a.rect(re.x,re.y,re.width,re.height),a.ng(se)):a.fillRect(re.x,re.y,re.width,re.height)),ce!==null&&(gs(this,a,ce,!0,!1,oe,re),ce instanceof ea&&ce.type===Dd?(a.beginPath(),a.rect(re.x,re.y,re.width,re.height),a.ng(ce)):a.fillRect(re.x,re.y,re.width,re.height)),this.hh(a,y)}if(!z&&(z||ee.width!==0&&ee.height!==0&&!isNaN(ee.x)&&!isNaN(ee.y))){z=this.transform,re=this.panel,this.l&4096&&dl(this),se=this.part,oe=!1;var ge=0;se&&y.Gf("drawShadows")&&(oe=se.isShadowed)&&(ce=se.shadowOffset,ge=Math.max(ce.y,ce.x)*y.scale*y.Mb),ce=this.Dd();var Se;if(!(Se=y.$i||!ce)){var we=this.naturalBounds;Se=this.wh;var Fe=Se.m11,Ne=Se.m21,Je=Se.dx,Ge=Se.m12,nt=Se.m22,at=Se.dy,ft,Ct=ft=0;Se=ft*Fe+Ct*Ne+Je;var Kt=ft*Ge+Ct*nt+at;ft=we.width+ge,Ct=0;var Pi=ft*Fe+Ct*Ne+Je;ft=ft*Ge+Ct*nt+at,Ct=Math.min(Se,Pi);var zi=Math.min(Kt,ft),Ni=Math.max(Se+0,Pi)-Ct,oi=Math.max(Kt+0,ft)-zi;Se=Ct,Kt=zi,ft=we.width+ge,Ct=we.height+ge,Pi=ft*Fe+Ct*Ne+Je,ft=ft*Ge+Ct*nt+at,Ct=Math.min(Se,Pi),zi=Math.min(Kt,ft),Ni=Math.max(Se+Ni,Pi)-Ct,oi=Math.max(Kt+oi,ft)-zi,Se=Ct,Kt=zi,ft=0,Ct=we.height+ge,Pi=ft*Fe+Ct*Ne+Je,ft=ft*Ge+Ct*nt+at,Ct=Math.min(Se,Pi),zi=Math.min(Kt,ft),Ni=Math.max(Se+Ni,Pi)-Ct,oi=Math.max(Kt+oi,ft)-zi,Se=Ct,Kt=zi,ge=y.viewportBounds,we=ge.x,Fe=ge.y,Se=!(Se>ge.width+we||we>Ni+Se||Kt>ge.height+Fe||Fe>oi+Kt)}if(Se){if(Se=(this.l&256)!==0,a.clipInsteadOfFill&&(Se=!1),this instanceof os&&(a.font=this.font),Se){if(Kt=re.se()?re.naturalBounds:re.actualBounds,Ni=Math.max(ee.x,Kt.x),oi=Math.max(ee.y,Kt.y),ge=Math.min(ee.right,Kt.right)-Ni,we=Math.min(ee.bottom,Kt.bottom)-oi,Fe=this.tb,Fe!==null&&(Ni=Fe.x,oi=Fe.y,ge=Fe.width,we=Fe.height),Ni>ee.width+ee.x||ee.x>Kt.width+Kt.x){x!==1&&(a.globalAlpha=E),this.filter!==""&&(a.filter=b);return}a.save(),a.beginPath(),a.rect(Ni,oi,ge,we),a.clip()}if(ce){if(!se.isVisible()){x!==1&&(a.globalAlpha=E),this.filter!==""&&(a.filter=b);return}oe&&(Kt=se.shadowOffset,a.Ev(Kt.x*y.scale*this.scale*y.Mb,Kt.y*y.scale*this.scale*y.Mb,se.shadowBlur),Cu(a),a.shadowColor=se.shadowColor)}oe&&this.shadowVisible===!0?Cu(a):oe&&this.shadowVisible===!1&&lc(a),se=this.naturalBounds,this.areaBackground!==null&&(a.yc(),wl(this,a,se,ee)),a.transform(z.m11,z.m12,z.m21,z.m22,z.dx,z.dy),oe&&us(this,re)&&this.shadowVisible===null&&lc(a),this.Ma!==null&&(a.yc(),Hs(this,a,se,ee)),oe&&(this.Ma!==null||this.areaBackground!==null||us(this,re))?(Oc(this,!0),this.shadowVisible===null&&lc(a)):Oc(this,!1),this.hh(a,y),oe&&this.l&512&&Cu(a),ce&&oe&&lc(a),Se&&(a.restore(),a.Vc(this instanceof $n)),z.ws()||(y=1/(z.m11*z.m22-z.m12*z.m21),a.transform(z.m22*y,-z.m12*y,-z.m21*y,z.m11*y,y*(z.m21*z.dy-z.m22*z.dx),y*(z.m12*z.dx-z.m11*z.dy)))}}x!==1&&(a.globalAlpha=E),this.filter!==""&&(a.filter=b)}}};function us(a,y){return y===null?!1:(If(y)&&(y=y.panel),(y.l&512)!==0||(y.type===$n.Auto||y.type===$n.Spot)&&y.Pb()!==a)}Be.Dv=function(){};function wl(a,y,x,E){gs(a,y,a.areaBackground,!0,!0,x,E),a.areaBackground instanceof ea&&a.areaBackground.type===Dd?(y.beginPath(),y.rect(E.x,E.y,E.width,E.height),y.ng(a.areaBackground)):y.fillRect(E.x,E.y,E.width,E.height)}function Hs(a,y,x,E){var b=a.kq(),z=x.x,ee=x.y,re=x.width+b,oe=x.height+b;gs(a,y,a.Ma,!0,!1,x,E),a.Ma instanceof ea&&a.Ma.type===Dd?(y.beginPath(),y.rect(z-b/2,ee-b/2,re,oe),y.ng(a.Ma)):y.fillRect(z-b/2,ee-b/2,re,oe)}function $s(a,y,x){for(var E=y.O.s,b=E.length,z=-1,ee=0;eeb)&&Et("Must specify non-negative integer row for RowColumnDefinition "+y+", not: "+b),a.isRow=!0,a.index=b):y.column!==void 0&&(b=y.column,(b==null||b===1/0||isNaN(b)||0>b)&&Et("Must specify non-negative integer column for RowColumnDefinition "+y+", not: "+b),a.isRow=!1,a.index=b),b=new Xt;for(x in y)x!=="row"&&x!=="column"&&(b[x]=y[x]);Cr(a,b)}else Cr(a,y);else Et('Unknown initializer "'+y+'" for object being constructed by GraphObject.make: '+a)}function cn(a,y){Bi.add(a,y)}function Wn(a,y,x){x===void 0&&(x=null);var E=a[1];if(typeof x=="function"?x(E):typeof E=="string")return a.splice(1,1),E;if(y===void 0)throw Error("no "+(typeof x=="function"?"satisfactory":"string")+" argument for GraphObject builder "+a[0]);return y}Rt.Object.defineProperties(Pt.prototype,{bindingId:{get:function(){return this.A!==null?this.A.zp:-1},set:function(a){this.bindingId!==a&&(this.A===null&&(this.A=new Ar),this.A.zp=a)}},localBindings:{get:function(){return this.A!==null?this.A.te:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new Ar),this.A.te=a)}},srcBindings:{get:function(){return this.A!==null?this.A.wm:null},set:function(a){this.srcBindings!==a&&(this.A===null&&(this.A=new Ar),this.A.wm=a)}},shadowVisible:{get:function(){return this.A!==null?this.A.Ci:null},set:function(a){var y=this.shadowVisible;y!==a&&(Er(this),this.A.Ci=a,this.Uc=!0,this.N(),this.g("shadowVisible",y,a))}},enabledChanged:{get:function(){return this.A!==null?this.A.Hb:null},set:function(a){var y=this.enabledChanged;y!==a&&(Er(this),this.A.Hb=a,this.g("enabledChanged",y,a))}},segmentOrientation:{get:function(){return this.Ua!==null?this.Ua.rr:Ec},set:function(a){var y=this.segmentOrientation;y!==a&&(this.Ua===null&&(this.Ua=new Mr),this.Ua.rr=a,this.v(),this.g("segmentOrientation",y,a),a===Ec&&(this.angle=0))}},segmentIndex:{get:function(){return this.Ua!==null?this.Ua.u:-1/0},set:function(a){a=Math.round(a);var y=this.segmentIndex;y!==a&&(this.Ua===null&&(this.Ua=new Mr),this.Ua.u=a,this.v(),this.g("segmentIndex",y,a))}},segmentFraction:{get:function(){return this.Ua!==null?this.Ua.o:0},set:function(a){isNaN(a)||0>a?a=0:1a||1=a&&Et("GraphObject.scale for "+this+" must be greater than zero, not: "+a),this.Ca=a,this.v(),this.g("scale",y,a))}},angle:{get:function(){return this.Kb},set:function(a){var y=this.Kb;y!==a&&(a%=360,0>a&&(a+=360),y!==a&&(this.Kb=a,bn(this),this.v(),this.g("angle",y,a)))}},desiredSize:{get:function(){return this.jd},set:function(a){var y=a.width,x=a.height,E=this.jd,b=E.width,z=E.height;(b===y||isNaN(b)&&isNaN(y))&&(z===x||isNaN(z)&&isNaN(x))||(this.jd=a=a.J(),this.v(),this instanceof io&&this.qc(),this.g("desiredSize",E,a),ve(this)&&(a=this.part,a!==null&&(ta(this,a,"width"),ta(this,a,"height"))))}},width:{get:function(){return this.jd.width},set:function(a){var y=this.jd.width;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new pi(a,this.jd.height).freeze(),this.v(),this instanceof io&&this.qc(),this.g("desiredSize",y,a),ve(this)&&(a=this.part,a!==null&&ta(this,a,"width")))}},height:{get:function(){return this.jd.height},set:function(a){var y=this.jd.height;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new pi(this.jd.width,a).freeze(),this.v(),this instanceof io&&this.qc(),this.g("desiredSize",y,a),ve(this)&&(a=this.part,a!==null&&ta(this,a,"height")))}},minSize:{get:function(){return this.A!==null?this.A.u:ho},set:function(a){var y=this.minSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=0),isNaN(a.height)&&(a.height=0),a.freeze(),Er(this),this.A.u=a,this.v(),this.g("minSize",y,a))}},maxSize:{get:function(){return this.A!==null?this.A.o:Ta},set:function(a){var y=this.maxSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=1/0),isNaN(a.height)&&(a.height=1/0),a.freeze(),Er(this),this.A.o=a,this.v(),this.g("maxSize",y,a))}},measuredBounds:{get:function(){return this.uc}},naturalBounds:{get:function(){return this.dc}},margin:{get:function(){return this.Kg},set:function(a){typeof a=="number"&&(a=new ao(a));var y=this.Kg;y.D(a)||(this.Kg=a=a.J(),this.v(),this.g("margin",y,a))}},transform:{get:function(){return this.l&2048&&dl(this),this.Ab}},oe:{get:function(){return this.l&4096&&dl(this),this.wh}},animationTriggers:{get:function(){return this.A!==null?this.A.hb:null},set:function(a){this.animationTriggers!==a&&(Er(this),this.A.hb=a)}},reshapingBehavior:{get:function(){return this.A!==null?this.A.Pf:In},set:function(a){this.reshapingBehavior!==a&&(Er(this),this.A.Pf=a)}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(a.Mc()&&!a.Xb()&&Et("GraphObject.alignment for "+this+" must be a real Spot or Spot.Default, not: "+a),this.Jb=a=a.J(),Wu(this),this.g("alignment",y,a))}},column:{get:function(){return this.Ag},set:function(a){a=Math.round(a);var y=this.Ag;y!==a&&(0>a&&Cn(a,">= 0",Pt,"column"),this.Ag=a,this.v(),this.g("column",y,a),this.svg!==null&&this.svg.remove())}},columnSpan:{get:function(){return this.A!==null?this.A.ob:1},set:function(a){a=Math.round(a);var y=this.columnSpan;y!==a&&(1>a&&Cn(a,">= 1",Pt,"columnSpan"),Er(this),this.A.ob=a,this.v(),this.g("columnSpan",y,a))}},row:{get:function(){return this.io},set:function(a){a=Math.round(a);var y=this.io;y!==a&&(0>a&&Cn(a,">= 0",Pt,"row"),this.io=a,this.v(),this.g("row",y,a),this.svg!==null&&this.svg.remove())}},rowSpan:{get:function(){return this.A!==null?this.A.Bi:1},set:function(a){a=Math.round(a);var y=this.rowSpan;y!==a&&(1>a&&Cn(a,">= 1",Pt,"rowSpan"),Er(this),this.A.Bi=a,this.v(),this.g("rowSpan",y,a))}},spanAllocation:{get:function(){return this.A!==null?this.A.Di:null},set:function(a){var y=this.spanAllocation;y!==a&&(Er(this),this.A.Di=a,this.v(),this.g("spanAllocation",y,a))}},alignmentFocus:{get:function(){return this.sk},set:function(a){var y=this.sk;y.D(a)||(this.sk=a=a.J(),this.v(),this.g("alignmentFocus",y,a))}},portId:{get:function(){return this.Yn},set:function(a){var y=this.Yn;if(y!==a){var x=this.part;x===null||x instanceof Fi||Et("Cannot set portID on a Link: "+a),y!==null&&x!==null&&uy(x,this),this.Yn=a,a!==null&&x!==null&&(x.Te=!0,rS(x,this)),this.g("portId",y,a)}}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:il},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),qt(this))}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:10},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Cn(a,">= 0",Pt,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),qt(this))}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:0},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.g("toShortLength",y,a),qt(this))}},toLinkable:{get:function(){return this.ba!==null?this.ba.Tr:null},set:function(a){var y=this.toLinkable;y!==a&&(this.Xc(),this.ba.Tr=a,this.g("toLinkable",y,a))}},toMaxLinks:{get:function(){return this.ba!==null?this.ba.Ur:1/0},set:function(a){var y=this.toMaxLinks;y!==a&&(0>a&&Cn(a,">= 0",Pt,"toMaxLinks"),this.Xc(),this.ba.Ur=a,this.g("toMaxLinks",y,a))}},fromSpot:{get:function(){return this.ba!==null?this.ba.Xi:il},set:function(a){var y=this.fromSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.Xi=a,this.g("fromSpot",y,a),qt(this))}},fromEndSegmentLength:{get:function(){return this.ba!==null?this.ba.Vi:10},set:function(a){var y=this.fromEndSegmentLength;y!==a&&(0>a&&Cn(a,">= 0",Pt,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),qt(this))}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:0},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.g("fromShortLength",y,a),qt(this))}},fromLinkable:{get:function(){return this.ba!==null?this.ba.hq:null},set:function(a){var y=this.fromLinkable;y!==a&&(this.Xc(),this.ba.hq=a,this.g("fromLinkable",y,a))}},fromMaxLinks:{get:function(){return this.ba!==null?this.ba.iq:1/0},set:function(a){var y=this.fromMaxLinks;y!==a&&(0>a&&Cn(a,">= 0",Pt,"fromMaxLinks"),this.Xc(),this.ba.iq=a,this.g("fromMaxLinks",y,a))}},cursor:{get:function(){return this.A!==null?this.A.j:""},set:function(a){var y=this.cursor;y!==a&&(Er(this),this.A.j=a,this.g("cursor",y,a))}},click:{get:function(){return this.A!==null?this.A.zh:null},set:function(a){var y=this.click;y!==a&&(Er(this),this.A.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.A!==null?this.A.Fh:null},set:function(a){var y=this.doubleClick;y!==a&&(Er(this),this.A.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.A!==null?this.A.Bh:null},set:function(a){var y=this.contextClick;y!==a&&(Er(this),this.A.Bh=a,this.g("contextClick",y,a))}},mouseEnter:{get:function(){return this.A!==null?this.A.Mh:null},set:function(a){var y=this.mouseEnter;y!==a&&(Er(this),this.A.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.A!==null?this.A.Ph:null},set:function(a){var y=this.mouseLeave;y!==a&&(Er(this),this.A.Ph=a,this.g("mouseLeave",y,a))}},mouseOver:{get:function(){return this.A!==null?this.A.Qh:null},set:function(a){var y=this.mouseOver;y!==a&&(Er(this),this.A.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.A!==null?this.A.Oh:null},set:function(a){var y=this.mouseHover;y!==a&&(Er(this),this.A.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.A!==null?this.A.Nh:null},set:function(a){var y=this.mouseHold;y!==a&&(Er(this),this.A.Nh=a,this.g("mouseHold",y,a))}},mouseDragEnter:{get:function(){return this.A!==null?this.A.Of:null},set:function(a){var y=this.mouseDragEnter;y!==a&&(Er(this),this.A.Of=a,this.g("mouseDragEnter",y,a))}},mouseDragLeave:{get:function(){return this.A!==null?this.A.Xd:null},set:function(a){var y=this.mouseDragLeave;y!==a&&(Er(this),this.A.Xd=a,this.g("mouseDragLeave",y,a))}},mouseDrop:{get:function(){return this.A!==null?this.A.Lh:null},set:function(a){var y=this.mouseDrop;y!==a&&(Er(this),this.A.Lh=a,this.g("mouseDrop",y,a))}},actionDown:{get:function(){return this.A!==null?this.A.V:null},set:function(a){var y=this.actionDown;y!==a&&(Er(this),this.A.V=a,this.g("actionDown",y,a))}},actionMove:{get:function(){return this.A!==null?this.A.ia:null},set:function(a){var y=this.actionMove;y!==a&&(Er(this),this.A.ia=a,this.g("actionMove",y,a))}},actionUp:{get:function(){return this.A!==null?this.A.Ha:null},set:function(a){var y=this.actionUp;y!==a&&(Er(this),this.A.Ha=a,this.g("actionUp",y,a))}},actionCancel:{get:function(){return this.A!==null?this.A.F:null},set:function(a){var y=this.actionCancel;y!==a&&(Er(this),this.A.F=a,this.g("actionCancel",y,a))}},toolTip:{get:function(){return this.A!==null?this.A.$h:null},set:function(a){var y=this.toolTip;y!==a&&(Er(this),this.A.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.A!==null?this.A.Ch:null},set:function(a){var y=this.contextMenu;y!==a&&(Er(this),this.A.Ch=a,this.g("contextMenu",y,a))}}}),Pt.prototype.trigger=Pt.prototype.Jv,Pt.prototype.findBindingPanel=Pt.prototype.ih,Pt.prototype.findTemplateBinder=Pt.prototype.pz,Pt.prototype.setProperties=Pt.prototype.nm,Pt.prototype.apply=Pt.prototype.apply,Pt.prototype.attach=Pt.prototype.Du,Pt.prototype.set=Pt.prototype.set,Pt.prototype.isEnabledObject=Pt.prototype.If,Pt.prototype.isVisibleObject=Pt.prototype.Ed,Pt.prototype.isContainedBy=Pt.prototype.rg,Pt.prototype.getNearestIntersectionPoint=Pt.prototype.rs,Pt.prototype.getLocalPoint=Pt.prototype.qs,Pt.prototype.getDocumentScale=Pt.prototype.Df,Pt.prototype.getDocumentAngle=Pt.prototype.li,Pt.prototype.getDocumentBounds=Pt.prototype.mi,Pt.prototype.getDocumentPoint=Pt.prototype.ga,Pt.prototype.intersectsRect=Pt.prototype.Yc,Pt.prototype.containedInRect=Pt.prototype.fh,Pt.prototype.containsRect=Pt.prototype.Re,Pt.prototype.containsPoint=Pt.prototype.ca,Pt.prototype.raiseChanged=Pt.prototype.g,Pt.prototype.raiseChangedEvent=Pt.prototype.cb,Pt.prototype.addCopyProperty=Pt.prototype.Vw;var Bi=null;Pt.className="GraphObject",Bi=new gi,cn("Button",function(){function a(x,E){return x.diagram.ic(x.documentPoint,function(b){for(;b.panel!==null&&!b.isActionable;)b=b.panel;return b},function(b){return b===E})!==null}var y=pn($n,$n.Auto,{isActionable:!0,enabledChanged:function(x,E){if(x instanceof $n){var b=x.fb("ButtonBorder");b!==null&&(b.fill=E?x._buttonFillNormal:x._buttonFillDisabled)}},cursor:"pointer",_buttonFillNormal:"#F5F5F5",_buttonStrokeNormal:"#BDBDBD",_buttonFillOver:"#E0E0E0",_buttonStrokeOver:"#9E9E9E",_buttonFillPressed:"#BDBDBD",_buttonStrokePressed:"#9E9E9E",_buttonFillDisabled:"#E5E5E5"},pn(io,{name:"ButtonBorder",figure:"RoundedRectangle",spot1:new ir(0,0,2.76142374915397,2.761423749153969),spot2:new ir(1,1,-2.76142374915397,-2.761423749153969),parameter1:2,parameter2:2,fill:"#F5F5F5",stroke:"#BDBDBD"}));return y.mouseEnter=function(x,E){if(E.If()&&E instanceof $n&&(x=E.fb("ButtonBorder"),x instanceof io)){var b=E._buttonFillOver;E._buttonFillNormal=x.fill,x.fill=b,b=E._buttonStrokeOver,E._buttonStrokeNormal=x.stroke,x.stroke=b}},y.mouseLeave=function(x,E){E.If()&&E instanceof $n&&(x=E.fb("ButtonBorder"),x instanceof io&&(x.fill=E._buttonFillNormal,x.stroke=E._buttonStrokeNormal))},y.actionDown=function(x,E){if(E.If()&&E instanceof $n&&E._buttonFillPressed!==null&&x.button===0){var b=E.fb("ButtonBorder");if(b instanceof io){x=x.diagram;var z=x.skipsUndoManager;x.skipsUndoManager=!0;var ee=E._buttonFillPressed;E._buttonFillOver=b.fill,b.fill=ee,ee=E._buttonStrokePressed,E._buttonStrokeOver=b.stroke,b.stroke=ee,x.skipsUndoManager=z}}},y.actionUp=function(x,E){if(E.If()&&E instanceof $n&&E._buttonFillPressed!==null&&x.button===0){var b=E.fb("ButtonBorder");if(b instanceof io){var z=x.diagram,ee=z.skipsUndoManager;z.skipsUndoManager=!0,a(x,E)?(b.fill=E._buttonFillOver,b.stroke=E._buttonStrokeOver):(b.fill=E._buttonFillNormal,b.stroke=E._buttonStrokeNormal),z.skipsUndoManager=ee}}},y.actionCancel=function(x,E){if(E.If()&&E instanceof $n&&E._buttonFillPressed!==null){var b=E.fb("ButtonBorder");if(b instanceof io){var z=x.diagram,ee=z.skipsUndoManager;z.skipsUndoManager=!0,a(x,E)?(b.fill=E._buttonFillOver,b.stroke=E._buttonStrokeOver):(b.fill=E._buttonFillNormal,b.stroke=E._buttonStrokeNormal),z.skipsUndoManager=ee}}},y.actionMove=function(x,E){if(E.If()&&E instanceof $n&&E._buttonFillPressed!==null){var b=x.diagram;if(b.firstInput.button===0&&(b.currentTool.standardMouseOver(),a(x,E)&&(x=E.fb("ButtonBorder"),x instanceof io))){var z=b.skipsUndoManager;b.skipsUndoManager=!0;var ee=E._buttonFillPressed;x.fill!==ee&&(x.fill=ee),ee=E._buttonStrokePressed,x.stroke!==ee&&(x.stroke=ee),b.skipsUndoManager=z}}},y}),cn("TreeExpanderButton",function(){var a=pn("Button",{_treeExpandedFigure:"MinusLine",_treeCollapsedFigure:"PlusLine"},pn(io,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:Xa},new Cl("figure","isTreeExpanded",function(y,x){return x=x.panel,y?x._treeExpandedFigure:x._treeCollapsedFigure}).cp()),{visible:!1},new Cl("visible","isTreeLeaf",function(y){return!y}).cp());return a.click=function(y,x){if(x=x.part,x instanceof na&&(x=x.adornedPart),x instanceof Fi){var E=x.diagram;if(E!==null){if(E=E.commandHandler,x.isTreeExpanded){if(!E.canCollapseTree(x))return}else if(!E.canExpandTree(x))return;y.handled=!0,x.isTreeExpanded?E.collapseTree(x):E.expandTree(x)}}},a}),cn("SubGraphExpanderButton",function(){var a=pn("Button",{_subGraphExpandedFigure:"MinusLine",_subGraphCollapsedFigure:"PlusLine"},pn(io,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:Xa},new Cl("figure","isSubGraphExpanded",function(y,x){return x=x.panel,y?x._subGraphExpandedFigure:x._subGraphCollapsedFigure}).cp()));return a.click=function(y,x){if(x=x.part,x instanceof na&&(x=x.adornedPart),x instanceof Gr){var E=x.diagram;if(E!==null){if(E=E.commandHandler,x.isSubGraphExpanded){if(!E.canCollapseSubGraph(x))return}else if(!E.canExpandSubGraph(x))return;y.handled=!0,x.isSubGraphExpanded?E.collapseSubGraph(x):E.expandSubGraph(x)}}},a}),cn("ToolTip",function(){return pn(na,$n.Auto,{isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new Ze(0,3),shadowBlur:5},pn(io,{name:"Border",figure:"RoundedRectangle",parameter1:1,parameter2:1,fill:"#F5F5F5",stroke:"#F0F0F0",spot1:new ir(0,0,4,6),spot2:new ir(1,1,-4,-4)}))}),cn("ContextMenu",function(){return pn(na,$n.Vertical,{background:"#F5F5F5",isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new Ze(0,3),shadowBlur:5},new Cl("background","",function(a){return a.adornedPart!==null&&a.placeholder!==null?null:"#F5F5F5"}))}),cn("ContextMenuButton",function(){var a=pn("Button");a.stretch=Qi;var y=a.fb("ButtonBorder");return y instanceof io&&(y.figure="Rectangle",y.strokeWidth=0,y.spot1=new ir(0,0,2,3),y.spot2=new ir(1,1,-2,-2)),a}),cn("PanelExpanderButton",function(a){var y=Wn(a,"COLLAPSIBLE"),x=pn("Button",{_buttonExpandedFigure:"M0 0 M0 6 L4 2 8 6 M8 8",_buttonCollapsedFigure:"M0 0 M0 2 L4 6 8 2 M8 8",_buttonFillNormal:"rgba(0, 0, 0, 0)",_buttonStrokeNormal:null,_buttonFillOver:"rgba(0, 0, 0, .2)",_buttonStrokeOver:null,_buttonFillPressed:"rgba(0, 0, 0, .4)",_buttonStrokePressed:null},pn(io,{name:"ButtonIcon",strokeWidth:2},new Cl("geometryString","visible",function(E){return E?x._buttonExpandedFigure:x._buttonCollapsedFigure}).cp(y)));return a=x.fb("ButtonBorder"),a instanceof io&&(a.stroke=null,a.fill="rgba(0, 0, 0, 0)"),x.click=function(E,b){var z=b.diagram;if(z!==null&&!z.isReadOnly){var ee=b.ih();ee===null&&(ee=b.part),ee!==null&&(b=ee.fb(y),b!==null&&(E.handled=!0,z.Ea("Collapse/Expand Panel"),b.visible=!b.visible,z.eb("Collapse/Expand Panel")))}},x}),cn("CheckBoxButton",function(a){var y=Wn(a);return a=pn("Button",{desiredSize:new pi(14,14)},pn(io,{name:"ButtonIcon",geometryString:"M0 0 M0 8.85 L4.9 13.75 16.2 2.45 M16.2 16.2",strokeWidth:2,stretch:Hn,geometryStretch:Ui,visible:!1},y!==""?new Cl("visible",y).Kx():[])),a.click=function(x,E){if(E instanceof $n){var b=x.diagram;if(!(b===null||b.isReadOnly||y!==""&&b.model.isReadOnly)){x.handled=!0;var z=E.fb("ButtonIcon");b.Ea("checkbox"),z.visible=!z.visible,typeof E._doClick=="function"&&E._doClick(x,E),b.eb("checkbox")}}},a}),cn("CheckBox",function(a){a=Wn(a),a=pn("CheckBoxButton",a,{name:"Button",isActionable:!1,margin:new ao(0,1,0,0)});var y=pn($n,"Horizontal",a,{isActionable:!0,cursor:a.cursor,margin:new ao(1),_buttonFillNormal:a._buttonFillNormal,_buttonStrokeNormal:a._buttonStrokeNormal,_buttonFillOver:a._buttonFillOver,_buttonStrokeOver:a._buttonStrokeOver,_buttonFillPressed:a._buttonFillPressed,_buttonStrokePressed:a._buttonStrokePressed,_buttonFillDisabled:a._buttonFillDisabled,mouseEnter:a.mouseEnter,mouseLeave:a.mouseLeave,actionDown:a.actionDown,actionUp:a.actionUp,actionCancel:a.actionCancel,actionMove:a.actionMove,click:a.click,_buttonClick:a.click});return a.mouseEnter=null,a.mouseLeave=null,a.actionDown=null,a.actionUp=null,a.actionCancel=null,a.actionMove=null,a.click=null,y}),Pt.None=In=new sn(Pt,"None",0),Pt.Default=ii=new sn(Pt,"Default",0),Pt.Vertical=Tt=new sn(Pt,"Vertical",4),Pt.Horizontal=Qi=new sn(Pt,"Horizontal",5),Pt.Fill=Hn=new sn(Pt,"Fill",3),Pt.Uniform=Ui=new sn(Pt,"Uniform",1),Pt.UniformToFill=Yi=new sn(Pt,"UniformToFill",2),Pt.FlipVertical=or=new sn(Pt,"FlipVertical",1),Pt.FlipHorizontal=vr=new sn(Pt,"FlipHorizontal",2),Pt.FlipBoth=jr=new sn(Pt,"FlipBoth",3),Pt.make=pn,Pt.getBuilders=function(){var a=new gi,y;for(y in Bi)if(y!==y.toLowerCase()){var x=Bi.I(y);typeof x=="function"&&a.add(y,x)}return a.freeze(),a},Pt.defineBuilder=cn,Pt.build=function(a,y,x){for(var E=[],b=2;ba&&(a+=360),a!==0){if(this.translate(y,x),a===90){a=0;var E=1}else a===180?(a=-1,E=0):a===270?(a=0,E=-1):(E=a*Math.PI/180,a=Math.cos(E),E=Math.sin(E));var b=this.ha[1]*a+this.ha[3]*E,z=this.ha[0]*-E+this.ha[2]*a,ee=this.ha[1]*-E+this.ha[3]*a;this.ha[0]=this.ha[0]*a+this.ha[2]*E,this.ha[1]=b,this.ha[2]=z,this.ha[3]=ee,this.translate(-y,-x)}},bo.className="STransform";function Go(a){this.type=a,this.r2=this.y2=this.x2=this.r1=this.y1=this.x1=0,this.gx=[],this.pattern=null}Go.prototype.addColorStop=function(a,y){this.gx.push({offset:a,color:y})},Go.className="SGradient";function zo(a,y,x){this.ownerDocument=a=y===void 0?Zn.document:y,this.cA="http://www.w3.org/2000/svg",a!==void 0&&(this.Oa=this.Ud("svg",{width:"1px",height:"1px",viewBox:"0 0 1 1"}),this.style.display="block",this.style.letterSpacing="normal",this.style.wordSpacing="normal",this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink")),this.hs=null,this.context=new va(this,x)}zo.prototype.resize=function(a,y,x,E){return this.width!==a||this.height!==y?(this.width=a,this.height=y,this.style.width=x+"px",this.style.height=E+"px",this.Oa.setAttributeNS(null,"width",x+"px"),this.Oa.setAttributeNS(null,"height",E+"px"),this.Oa.setAttributeNS(null,"viewBox","0 0 "+x+" "+E),this.context.ww.firstElementChild.setAttributeNS(null,"width",x+"px"),this.context.ww.firstElementChild.setAttributeNS(null,"height",E+"px"),!0):!1},zo.prototype.Ud=function(a,y,x){if(a=this.ownerDocument.createElementNS(this.cA,a),Lt(y))for(var E in y)a.setAttributeNS(E==="href"?"http://www.w3.org/1999/xlink":"",E,y[E]);return x!==void 0&&(a.textContent=x),a},zo.prototype.getBoundingClientRect=function(){return this.Oa.getBoundingClientRect()},zo.prototype.focus=function(){this.Oa.focus()},zo.prototype.mx=function(){this.ownerDocument=null},Rt.Object.defineProperties(zo.prototype,{width:{get:function(){return this.Oa.width.baseVal.value},set:function(a){this.Oa.setAttribute("width",a+"px")}},height:{get:function(){return this.Oa.height.baseVal.value},set:function(a){this.Oa.setAttribute("height",a+"px")}},style:{get:function(){return this.Oa.style}}}),zo.className="SVGSurface";function va(a,y){this.Gv=a,this.svg=a.Oa,this.stack=[],this.nh=[],this.fillStyle="#000000",this.font="10px sans-serif",this.globalAlpha=1,this.lineCap="butt",this.lineDashOffset=0,this.lineJoin="miter",this.lineWidth=1,this.miterLimit=10,this.shadowBlur=0,this.shadowColor="rgba(0, 0, 0, 0)",this.shadowOffsetY=this.shadowOffsetX=0,this.Il=!1,this.strokeStyle="#000000",this.textAlign="start",this.clipInsteadOfFill=!1,this.Vg=this.Br=this.Ar=0,this.yd=this.ad=null,this.path=[],this.Yl={},this.Ct=!1,this.Yg=null,this.uj=0,this.rb=new bo,this.j=pd(this),this.Nj=pd(this,"gojs-diagram"),this.Hl=this.ti=null;var x=Bo++,E=this.Ud("clipPath",{id:"mainClip"+x});E.appendChild(this.Ud("rect",{x:0,y:0,width:a.width,height:a.height})),this.ww=E,this.svg.appendChild(this.j),this.j.appendChild(this.Nj),this.svg.appendChild(E),this.j.setAttributeNS(null,"clip-path","url(#mainClip"+x+")"),this.eA={},this.isTemporary=!!y,this.filter="",this.bk=null}function ps(a,y,x,E,b,z,ee){a.Nj===void 0?Bd(a,y,x,E,b,z,ee):a.Nj.setAttribute("transform","matrix("+y+", "+x+", "+E+", "+b+", "+z+", "+ee+")")}Be=va.prototype,Be.arc=function(a,y,x,E,b,z,ee,re){var oe=2*Math.PI,se=oe-1e-6,ce=x*Math.cos(E),ge=x*Math.sin(E),Se=a+ce,we=y+ge,Fe=z?0:1;E=z?E-b:b-E,(1e-6E&&(E=E%oe+oe),E>se?(this.path.push(["A",x,x,0,1,Fe,a-ce,y-ge]),this.path.push(["A",x,x,0,1,Fe,Se,we])):1e-6=Math.PI),Fe,a+x*Math.cos(b),y+x*Math.sin(b)])},Be.beginPath=function(){this.path=[],this.Yl={stroke:"none",fill:"none"}},Be.Se=function(a){this.addPath(this.path,this.rb,a||0)},Be.bezierCurveTo=function(a,y,x,E,b,z){this.path.push(["C",a,y,x,E,b,z])},Be.clearRect=function(){},Be.clip=function(){this.Yl.clipPath=!0},Be.closePath=function(){this.path.push(["z"])},Be.createLinearGradient=function(a,y,x,E){var b=new Go("linear");return b.x1=a,b.y1=y,b.x2=x,b.y2=E,b},Be.createPattern=function(a){var y="";a instanceof HTMLCanvasElement&&(y=a.toDataURL()),a instanceof HTMLImageElement&&(y=a.getAttribute("src"));var x=this.eA;if(x[y])return"url(#"+x[y]+")";var E="PATTERN"+Bo++,b={x:0,y:0,width:a.width,height:a.height,href:y};return a=this.Ud("pattern",{width:a.width,height:a.height,id:E,patternUnits:"userSpaceOnUse"}),a.appendChild(this.Ud(Vh,b)),this.svg.appendChild(a),x[y]=E,"url(#"+E+")"},Be.createRadialGradient=function(a,y,x,E,b,z){var ee=new Go("radial");return ee.x1=a,ee.y1=y,ee.r1=x,ee.x2=E,ee.y2=b,ee.r2=z,ee};function Ks(a,y,x,E,b,z,ee,re,oe){E=re/E,b=oe/b,z===0&&ee===0||a.rb.translate(z,ee),E===1&&b===1||a.rb.scale(E,b),y===0&&x===0||a.rb.translate(-y,-x)}Be.drawImage=function(a,y,x,E,b,z,ee,re,oe){var se="";a instanceof HTMLCanvasElement&&(se=a.toDataURL()),a instanceof HTMLImageElement&&(se=a.getAttribute("src"));var ce=a instanceof HTMLImageElement?a.naturalWidth:a.width;a=a instanceof HTMLImageElement?a.naturalHeight:a.height,E===void 0&&(z=y,ee=x,re=E=ce,oe=b=a),E=E||0,b=b||0,re=re||0,oe=oe||0,Ks(this,y,x,E,b,z||0,ee||0,re,oe),z={x:0,y:0,width:ce||E,height:a||b,href:se},Bt.$(E,re)&&Bt.$(b,oe)?se.toLowerCase().indexOf(".svg")===-1&&se.toLowerCase().indexOf("data:image/svg")===-1&&(z.preserveAspectRatio="xMidYMid slice"):z.preserveAspectRatio="none",(y!==0||x!==0||E!==ce||b!==a)&&(E+=y,b+=x,z["clip-path"]="path('M "+y+","+x+" L "+E+" "+x+" L "+E+" "+b+" L "+y+" "+b+" z')"),Is(this,Vh,z,this.rb),this.addElement(Vh,z)},Be.fill=function(a){a&&(this.Yl["fill-rule"]="evenodd"),ju(this,this.Yl)},Be.ng=function(a,y){this.clipInsteadOfFill?this.clip():this.fill(y)},Be.fillRect=function(a,y,x,E){a=[a,y,x,E],a={x:a[0],y:a[1],width:a[2],height:a[3]},Is(this,"fill",a,this.rb),this.addElement("rect",a)},Be.ox=function(a,y,x,E){a={x:a,y,width:x,height:E},Is(this,"fill",a,this.rb),ju(this,a),this.svg.prepend(this.Ud("rect",a))},Be.fillText=function(a,y,x){a=[a,y,x],y=this.textAlign,y==="left"?y="start":y==="right"?y="end":y==="center"&&(y="middle"),y={x:a[1],y:a[2],style:"font: "+this.font,"text-anchor":y},Is(this,"fill",y,this.rb),this.addElement("text",y,a[0])},Be.lineTo=function(a,y){this.path.push(["L",a,y])},Be.moveTo=function(a,y){this.path.push(["M",a,y])},Be.quadraticCurveTo=function(a,y,x,E){this.path.push(["Q",a,y,x,E])},Be.rect=function(a,y,x,E){this.path.push(["M",a,y],["L",a+x,y],["L",a+x,y+E],["L",a,y+E],["z"])},Be.restore=function(){this.rb=this.stack.pop(),this.path=this.stack.pop();var a=this.stack.pop();this.fillStyle=a.fillStyle,this.font=a.font,this.globalAlpha=a.globalAlpha,this.lineCap=a.lineCap,this.lineDashOffset=a.lineDashOffset,this.lineJoin=a.lineJoin,this.lineWidth=a.lineWidth,this.miterLimit=a.miterLimit,this.shadowBlur=a.shadowBlur,this.shadowColor=a.shadowColor,this.shadowOffsetX=a.shadowOffsetX,this.shadowOffsetY=a.shadowOffsetY,this.strokeStyle=a.strokeStyle,this.textAlign=a.textAlign,this.bk=a.bk},Be.save=function(){this.stack.push({fillStyle:this.fillStyle,font:this.font,globalAlpha:this.globalAlpha,lineCap:this.lineCap,lineDashOffset:this.lineDashOffset,lineJoin:this.lineJoin,lineWidth:this.lineWidth,miterLimit:this.miterLimit,shadowBlur:this.shadowBlur,shadowColor:this.shadowColor,shadowOffsetX:this.shadowOffsetX,shadowOffsetY:this.shadowOffsetY,strokeStyle:this.strokeStyle,textAlign:this.textAlign,bk:this.bk});for(var a=[],y=0;yce.offset?1:-1}),b=0;bx?(this.scale(x/a,1),this.translate((a-x)/2,0)):x>a&&(this.scale(1,a/x),this.translate(0,(x-a)/2)),this.Hm?this.clip():this.fill(y),a>x?(this.translate(-(a-x)/2,0),this.scale(1/(x/a),1)):x>a&&(this.translate(0,-(x-a)/2),this.scale(1,1/(a/x)))}else this.Hm?this.clip():this.fill(y)},Be.jk=function(){this.Hm||this.stroke()},Be.Ev=function(a,y,x){this.Ar=a,this.Br=y,this.Vg=x},Be.js=function(a,y){var x=this.Z;x.setLineDash!==void 0&&(x.setLineDash(a),x.lineDashOffset=y)},Be.fs=function(){var a=this.Z;a.setLineDash!==void 0&&(a.setLineDash(ig),a.lineDashOffset=0)},Be.Vc=function(a){a&&(this.dt=""),this.ct=this.et=""},Be.Hs=function(){},Rt.Object.defineProperties(Eh.prototype,{fillStyle:{get:function(){return this.Z.fillStyle},set:function(a){this.ct!==a&&(this.ct=this.Z.fillStyle=a)}},font:{get:function(){return this.Z.font},set:function(a){this.dt!==a&&(this.dt=this.Z.font=a)}},globalAlpha:{get:function(){return this.Z.globalAlpha},set:function(a){this.Z.globalAlpha=a}},lineCap:{get:function(){return this.Z.lineCap},set:function(a){this.Z.lineCap=a}},lineDashOffset:{get:function(){return this.Z.lineDashOffset},set:function(a){this.Z.lineDashOffset=a}},lineJoin:{get:function(){return this.Z.lineJoin},set:function(a){this.Z.lineJoin=a}},lineWidth:{get:function(){return this.Z.lineWidth},set:function(a){this.Z.lineWidth=a}},miterLimit:{get:function(){return this.Z.miterLimit},set:function(a){this.Z.miterLimit=a}},shadowBlur:{get:function(){return this.Z.shadowBlur},set:function(a){this.Z.shadowBlur=a}},shadowColor:{get:function(){return this.Z.shadowColor},set:function(a){this.Z.shadowColor=a}},shadowOffsetX:{get:function(){return this.Z.shadowOffsetX},set:function(a){this.Z.shadowOffsetX=a}},shadowOffsetY:{get:function(){return this.Z.shadowOffsetY},set:function(a){this.Z.shadowOffsetY=a}},strokeStyle:{get:function(){return this.Z.strokeStyle},set:function(a){this.et!==a&&(this.et=this.Z.strokeStyle=a)}},textAlign:{get:function(){return this.Z.textAlign},set:function(a){this.Z.textAlign=a}},imageSmoothingEnabled:{get:function(){return this.Z.imageSmoothingEnabled},set:function(a){this.Z.imageSmoothingEnabled=a}},filter:{get:function(){return this.Z.filter},set:function(a){this.Z.filter=a===""?"none":a}},clipInsteadOfFill:{get:function(){return this.Hm},set:function(a){this.Hm=a}}});var ig=Object.freeze([]);Eh.className="CanvasSurfaceContext";function Ph(){this.F=this.o=this.u=this.j=0}Ph.className="ColorNumbers";function ea(a,y){yp||(vp(),yp=!0),Ir(this),this._isFrozen=!1,a===void 0?(this.na=Of,this.xk="black"):typeof a=="string"?(this.na=Of,this.xk=a):(this.na=a,this.xk="black"),a=this.na,a===wf?(this.Qd=wr,this.Lk=xs):this.Lk=a===Dd?this.Qd=Dr:this.Qd=il,this.Gr=0,this.Xp=NaN,this.xe=this.cr=this.we=null,this.ft=this.yk=0,y&&Object.assign(this,y)}ea.prototype.copy=function(){var a=new ea;return a.na=this.na,a.xk=this.xk,a.Qd=this.Qd.J(),a.Lk=this.Lk.J(),a.Gr=this.Gr,a.Xp=this.Xp,this.we!==null&&(a.we=this.we.copy()),a.cr=this.cr,a},Be=ea.prototype,Be.freeze=function(){return this._isFrozen=!0,this.we!==null&&this.we.freeze(),this},Be.ka=function(){return Object.isFrozen(this)&&Et("cannot thaw constant: "+this),this._isFrozen=!1,this.we!==null&&this.we.ka(),this},Be.qb=function(a){a.classType===ea&&(this.type=a)},Be.toString=function(){var a="Brush(";if(this.type===Of)a+=this.color;else if(a=this.type===wf?a+"Linear ":this.type===Dd?a+"Radial ":this.type===Sp?a+"Pattern ":a+"(unknown) ",a+=this.start+" "+this.end,this.colorStops!==null)for(var y=this.colorStops.iterator;y.next();)a+=" "+y.key+":"+y.value;return a+")"},Be.addColorStop=function(a,y){return this._isFrozen&&Di(this),(typeof a!="number"||!isFinite(a)||1a)&&Cn(a,"0 <= loc <= 1",ea,"addColorStop:loc"),this.we===null&&(this.we=new gi),this.we.add(a,y),this.na===Of&&(this.type=wf),this.xe=null,this},Be.Vz=function(a,y){if(this._isFrozen&&Di(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?xp:y,this.type===Of)md(this.color),this.color=Pf(a,y);else if((this.type===wf||this.type===Dd)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)md(x.value),this.addColorStop(x.key,Pf(a,y));return this};function Tf(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?xp:x,md(a),Pf(y,x)}Be.Wy=function(a,y){if(this._isFrozen&&Di(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?xp:y,this.type===Of)md(this.color),this.color=Pf(-a,y);else if((this.type===wf||this.type===Dd)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)md(x.value),this.addColorStop(x.key,Pf(-a,y));return this};function Kg(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?xp:x,md(a),Pf(-y,x)}function wh(a,y,x){md(a),a=Ya.j;var E=Ya.u,b=Ya.o,z=Ya.F;return md(y),x===void 0&&(x=.5),"rgba("+Math.round((Ya.j-a)*x+a)+", "+Math.round((Ya.u-E)*x+E)+", "+Math.round((Ya.o-b)*x+b)+", "+Math.round((Ya.F-z)*x+z)+")"}Be.Gx=function(){if(this.type===Of)return lf(this.color);if((this.type===wf||this.type===Dd)&&this.colorStops!==null){var a=this.colorStops;if(this.type===Dd)return lf(a.first().value);if(a.get(.5)!==null)return lf(a.get(.5));if(a.count===2)return a=a.Fa(),lf(wh(a[0].value,a[1].value));for(var y=a.iterator,x=-1,E=-1,b=1,z=1;y.next();){var ee=y.key,re=Math.abs(.5-y.key);b>z&&re=b&&reE&&(z=x,x=E,E=z,z=b),b=E-x,lf(wh(a.get(x),a.get(E),1-z/b))}return!1};function lf(a){return a?a instanceof ea?a.Gx():(md(a),128>(299*Ya.j+587*Ya.u+114*Ya.o)/1e3):!1}function Pf(a,y){switch(y){case xp:y=100*Lg(Ya.j);var x=100*Lg(Ya.u),E=100*Lg(Ya.o);return Du.j=.4124564*y+.3575761*x+.1804375*E,Du.u=.2126729*y+.7151522*x+.072175*E,Du.o=.0193339*y+.119192*x+.9503041*E,Du.F=Ya.F,y=$p(Du.j/ag[0]),x=$p(Du.u/ag[1]),E=$p(Du.o/ag[2]),Gd.j=116*x-16,Gd.u=500*(y-x),Gd.o=200*(x-E),Gd.F=Du.F,Gd.j=Math.min(100,Math.max(0,Gd.j+100*a)),a=(Gd.j+16)/116,y=a-Gd.o/200,Du.j=ag[0]*Yg(Gd.u/500+a),Du.u=ag[1]*(Gd.j>og*Xg?Math.pow(a,3):Gd.j/og),Du.o=ag[2]*Yg(y),Du.F=Gd.F,a=-.969266*Du.j+1.8760108*Du.u+.041556*Du.o,y=.0556434*Du.j+-.2040259*Du.u+1.0572252*Du.o,Ya.j=255*mp((3.2404542*Du.j+-1.5371385*Du.u+-.4985314*Du.o)/100),Ya.u=255*mp(a/100),Ya.o=255*mp(y/100),Ya.F=Du.F,Ya.j=Math.round(Ya.j),255Ya.j&&(Ya.j=0),Ya.u=Math.round(Ya.u),255Ya.u&&(Ya.u=0),Ya.o=Math.round(Ya.o),255Ya.o&&(Ya.o=0),"rgba("+Ya.j+", "+Ya.u+", "+Ya.o+", "+Ya.F+")";case g1:return Dg(),Yc.o=Math.min(100,Math.max(0,Yc.o+100*a)),"hsla("+Yc.j+", "+Yc.u+"%, "+Yc.o+"%, "+Yc.F+")";default:Et("Unknown color space: "+y)}}function md(a){yp||(vp(),yp=!0);var y=Jg;if(y!==null){y.clearRect(0,0,1,1),y.fillStyle="#000000";var x=y.fillStyle;y.fillStyle=a,y.fillStyle!==x?(y.fillRect(0,0,1,1),a=y.getImageData(0,0,1,1).data,Ya.j=a[0],Ya.u=a[1],Ya.o=a[2],Ya.F=a[3]/255):(y.fillStyle="#FFFFFF",y.fillStyle=a,Ya.j=0,Ya.u=0,Ya.o=0,Ya.F=1)}}function Dg(){var a=Ya.j/255,y=Ya.u/255,x=Ya.o/255,E=Math.max(a,y,x),b=Math.min(a,y,x),z=E-b;if(b=(E+b)/2,z===0)var ee=a=0;else{switch(E){case a:ee=(y-x)/z%6;break;case y:ee=(x-a)/z+2;break;case x:ee=(a-y)/z+4}ee*=60,0>ee&&(ee+=360),a=z/(1-Math.abs(2*b-1))}Yc.j=Math.round(ee),Yc.u=Math.round(100*a),Yc.o=Math.round(100*b),Yc.F=Ya.F}function Lg(a){return a/=255,.04045>=a?a/12.92:Math.pow((a+.055)/1.055,2.4)}function mp(a){return .0031308>=a?12.92*a:1.055*Math.pow(a,1/2.4)-.055}function $p(a){return a>Xg?Math.pow(a,1/3):(og*a+16)/116}function Yg(a){var y=a*a*a;return y>Xg?y:(116*a-16)/og}function rg(a,y){typeof a!="string"&&(a instanceof ea||Et("Value for "+y+" must be a color string or a Brush, not "+a))}function vp(){Jg=Aa?new zu(null,void 0,{willReadFrequently:!0}).context:null}Rt.Object.defineProperties(ea.prototype,{type:{get:function(){return this.na},set:function(a){this._isFrozen&&Di(this,a),this.na=a,this.start.Mc()&&(a===wf?this.start=wr:a===Dd&&(this.start=Dr)),this.end.Mc()&&(a===wf?this.end=xs:a===Dd&&(this.end=Dr)),this.xe=null}},color:{get:function(){return this.xk},set:function(a){this._isFrozen&&Di(this,a),this.xk=a,this.xe=null}},start:{get:function(){return this.Qd},set:function(a){this._isFrozen&&Di(this,a),this.Qd=a.J(),this.xe=null}},end:{get:function(){return this.Lk},set:function(a){this._isFrozen&&Di(this,a),this.Lk=a.J(),this.xe=null}},startRadius:{get:function(){return this.Gr},set:function(a){this._isFrozen&&Di(this,a),0>a&&Cn(a,">= zero",ea,"startRadius"),this.Gr=a,this.xe=null}},endRadius:{get:function(){return this.Xp},set:function(a){this._isFrozen&&Di(this,a),0>a&&Cn(a,">= zero",ea,"endRadius"),this.Xp=a,this.xe=null}},colorStops:{get:function(){return this.we},set:function(a){this._isFrozen&&Di(this,a),this.we=a,this.xe=null}},pattern:{get:function(){return this.cr},set:function(a){this._isFrozen&&Di(this,a),this.cr=a,this.xe=null}}}),ea.prototype.isDark=ea.prototype.Gx,ea.prototype.darkenBy=ea.prototype.Wy,ea.prototype.lightenBy=ea.prototype.Vz,ea.prototype.addColorStop=ea.prototype.addColorStop;var Xg=216/24389,og=24389/27,ag=[95.047,100,108.883],Jg=null,Ya=new Ph,Yc=new Ph,Du=new Ph,Gd=new Ph,yp=!1;ea.className="Brush";var Of;ea.Solid=Of=new sn(ea,"Solid",0);var wf;ea.Linear=wf=new sn(ea,"Linear",1);var Dd;ea.Radial=Dd=new sn(ea,"Radial",2);var Sp;ea.Pattern=Sp=new sn(ea,"Pattern",4);var xp;ea.Lab=xp=new sn(ea,"Lab",5);var g1;ea.HSL=g1=new sn(ea,"HSL",6),ea.randomColor=function(a,y){a===void 0&&(a=128),y===void 0&&(y=Math.max(a,255));var x=Math.abs(y-a);y=Math.floor(a+Math.random()*x).toString(16);var E=Math.floor(a+Math.random()*x).toString(16);return a=Math.floor(a+Math.random()*x).toString(16),2>y.length&&(y="0"+y),2>E.length&&(E="0"+E),2>a.length&&(a="0"+a),"#"+y+E+a},ea.isValidColor=function(a){if(a==="black")return!0;if(a==="")return!1;yp||(vp(),yp=!0);var y=Jg;if(y===null)return!0;y.fillStyle="#000000";var x=y.fillStyle;return y.fillStyle=a,y.fillStyle!==x?!0:(y.fillStyle="#FFFFFF",x=y.fillStyle,y.fillStyle=a,y.fillStyle!==x)},ea.lighten=function(a){return Tf(a)},ea.lightenBy=Tf,ea.darken=function(a){return Kg(a)},ea.darkenBy=Kg,ea.mix=wh,ea.isDark=lf;function Ql(){this.xa="Base"}Ql.prototype.measure=function(){},Ql.prototype.Yz=function(a,y,x,E,b){a.measure(y,x,E,b)},Ql.prototype.arrange=function(){},Ql.prototype.Ly=function(a,y,x,E,b,z){a.arrange(y,x,E,b,z)},Ql.prototype.iA=function(a){a.Uj()},Ql.prototype.gc=function(){},Rt.Object.defineProperties(Ql.prototype,{name:{get:function(){return this.xa},set:function(a){this.xa=a}},classType:{get:function(){return $n}}}),Ql.prototype.remeasureObject=Ql.prototype.iA,Ql.prototype.arrangeElement=Ql.prototype.Ly,Ql.prototype.measureElement=Ql.prototype.Yz,Ql.className="PanelLayout";function Xm(){this.xa="Base"}_t(Xm,Ql),Xm.prototype.measure=function(a,y,x,E,b,z,ee){var re=E.length;a=Cf(a);for(var oe=0;oezi&&(cu=Math.max(zi-Eg,0));var wv=Tn.oa===0;Tn.oc=Tn.oc+cu,Tn.actual=Tn.oa+cu,zi=Math.max(zi-(cu+(wv?Eg:0)),0)}if(Jc.columnSpan===1&&(dc===In||dc===Tt)){Tn=a.Eb(cc);var Vm=Tn.Wc();cu=Math.max(jg-Tn.actual,0),cu+Vm>Pi&&(cu=Math.max(Pi-Vm,0));var s1=Tn.oa===0;Tn.oc=Tn.oc+cu,Tn.actual=Tn.oa+cu,Pi=Math.max(Pi-(cu+(s1?Vm:0)),0)}xg&&Jc.Uj()}}}}}si(nt);var vf=0,bf=0;z=a.columnCount;for(var up=0;up=a.rowCount);Qf++)Tn=a.Fb(nl.row+Qf),cu=0,cu=dc===Hn||dc===Tt?Math.max(Tn.minimum,Mh[nl.row+Qf]===0?Tn.maximum:Math.min(Mh[nl.row+Qf],Tn.maximum)):Math.max(Tn.minimum,isNaN(Tn.Hc)?Tn.maximum:Math.min(Tn.Hc,Tn.maximum)),Lf.height+=cu,ud+=Tn.minimum;for(var Xd=1;Xd=a.columnCount);Xd++)Tn=a.Eb(nl.column+Xd),cu=0,cu=dc===Hn||dc===Qi?Math.max(Tn.minimum,Td[nl.column+Xd]===0?Tn.maximum:Math.min(Td[nl.column+Xd],Tn.maximum)):Math.max(Tn.minimum,isNaN(Tn.Hc)?Tn.maximum:Math.min(Tn.Hc,Tn.maximum)),Lf.width+=cu,bv+=Tn.minimum;Mu.width+=Lf.width,Mu.height+=Lf.height;var Jp=nl.margin,Fg=Jp.right+Jp.left,Zm=Jp.top+Jp.bottom;nl.measure(Mu.width,Mu.height,bv,ud);for(var Qp=nl.measuredBounds,Jh=Math.max(Qp.width+Fg,0),Zg=Math.max(Qp.height+Zm,0),bg=0,qp=0;qp=a.rowCount);qp++)Tn=a.Fb(nl.row+qp),bg+=Tn.total||0;if(bg=qf)&&!(nl.row+Mf>=a.rowCount);Mf++){Tn=a.Fb(nl.row+Mf);var eg=Tn.oa||0,Ug=$f(nl,Tn,Sf);Tn.actual=Math.min(Tn.maximum,eg+Ug),Tn.oa!==eg&&(qf-=Tn.oa-eg)}for(;0kh&&(Tn.actual=Math.min(Tn.maximum,kh+qf),Tn.oa!==kh&&(qf-=Tn.oa-kh)),Tn.index===0)break;Tn=a.Fb(Tn.index-1)}}for(var hp=0,tg=0;tg=a.columnCount);tg++)Tn=a.Eb(nl.column+tg),hp+=Tn.total||0;if(hp=fp)&&!(nl.column+Hg>=a.columnCount);Hg++){Tn=a.Eb(nl.column+Hg);var Um=Tn.oa||0,c1=kf(nl,Tn,u1);Tn.actual=Math.min(Tn.maximum,Um+c1),Tn.oa!==Um&&(fp-=Tn.oa-Um)}for(;0Bv&&(Tn.actual=Math.min(Tn.maximum,Bv+fp),Tn.oa!==Bv&&(fp-=Tn.oa-Bv)),Tn.index===0)break;Tn=a.Eb(Tn.index-1)}}}}si(at),pi.free(Lf),pi.free(Mu),Mh!==void 0&&si(Mh),Td!==void 0&&si(Td);var gp=0,pp=0,Dv=a.desiredSize,Fx=a.maxSize;dc=Uu(a,!0);var Hm=bf=vf=0,Km=0;z=a.columnCount;for(var Lv=0;Lv=a.rowCount);Tn++){var zr=a.Fb(nt+Tn);zr.oa!==0&&(Ge.height+=zr.total)}for(Tn=1;Tn=a.columnCount);Tn++)zr=a.Eb(ft+Tn),zr.oa!==0&&(Ge.width+=zr.total);var Fr=Ct.oa+Ge.width,oa=at.oa+Ge.height;Tn=re,zr=oe;var ns=Fr,uu=oa,vu=re,uc=oe,cu=Fr,Kf=oa;re+Fr>x.width&&(cu=Math.max(x.width-re,0)),oe+oa>x.height&&(Kf=Math.max(x.height-oe,0));var Al=Ni.alignment;if(Al.Xb()){Al=a.defaultAlignment,Al.sb()||(Al=Dr);var Bh=Al.x,cc=Al.y,Yf=Al.offsetX;Al=Al.offsetY;var Sd=Ct.alignment,Kd=at.alignment;Sd.sb()&&(Bh=Sd.x,Yf=Sd.offsetX),Kd.sb()&&(cc=Kd.y,Al=Kd.offsetY)}else Bh=Al.x,cc=Al.y,Yf=Al.offsetX,Al=Al.offsetY;(isNaN(Bh)||isNaN(cc))&&(cc=Bh=.5,Al=Yf=0),Sd=oi.width,Kd=oi.height;var ad=Ni.margin,Jc=ad.left+ad.right,xg=ad.top+ad.bottom,Dh=id(Ni,at,Ct,!1);!isNaN(Ni.desiredSize.width)||Dh!==Hn&&Dh!==Qi||(Sd=Math.max(Fr-Jc,0)),!isNaN(Ni.desiredSize.height)||Dh!==Hn&&Dh!==Tt||(Kd=Math.max(oa-xg,0)),Fr=Ni.maxSize,oa=Ni.minSize,Sd=Math.min(Fr.width,Sd),Kd=Math.min(Fr.height,Kd),Sd=Math.max(oa.width,Sd),Kd=Math.max(oa.height,Kd),Fr=Kd+xg,Tn+=ns*Bh-(Sd+Jc)*Bh+Yf+ad.left,zr+=uu*cc-Fr*cc+Al+ad.top,Ni.visible&&(gl(vu,uc,cu,Kf,Tn,zr,oi.width,oi.height)?Ni.arrange(Tn,zr,Sd,Kd):Ni.arrange(Tn,zr,Sd,Kd,new rn(vu,uc,cu,Kf)))}}}for(pi.free(Ge),a=0;a=x&&(x=1);var E=a.gridCellSize,b=E.width;E=E.height;var z=a.naturalBounds,ee=a.actualBounds,re=z.width,oe=z.height,se=Math.ceil(re/b),ce=Math.ceil(oe/E),ge=a.gridOrigin,Se=ge.x;ge=ge.y,y.save(),y.beginPath(),y.rect(0,0,re,oe),y.clip(),y.Se();for(var we=[],Fe=a.O.s,Ne=Fe.length,Je=0;Jeat)){Ge=Iv(Ge.figure);for(var ft=0;ftat&&nt.push(Ct))}}}}for(Fe=a.O.s,Ne=Fe.length,Je=0;Jeb*Ge*x))){if(at=Kt.segmentIndex,(!isFinite(at)||isNaN(at))&&(at=0),0>at&&(at=Ge-Math.min(-at,Ge)),at=Math.round(at%Ge),Ge=Kt.opacity,ft=1,Ge!==1){if(Ge===0)continue;ft=y.globalAlpha,y.globalAlpha=ft*Ge}Ct=we[Je];var Pi=!1,zi=Kt.strokeDashArray;if(zi!==null&&(Pi=!0,y.js(zi,Kt.strokeDashOffset)),Kt.figure==="LineV"&&Kt.stroke!==null&&0y)return a%y===x;if(a%y!==x)return!1;y=E.length;for(var b=0;bge)nt.measure(1/0,1/0,0,0),at=nt.measuredBounds,x.ed(at),we.push(at);else{var ft=nt.segmentIndex,Ct=nt.segmentFraction,Kt=nt.alignmentFocus;Kt.Mc()&&(Kt=Dr);var Pi=nt.segmentOrientation,zi=nt.segmentOffset;if(isNaN(ft)){var Ni=oe.ua;at=Ri(),Ni.Qu(Ct,at);var oi=Ze.allocAt(at[0],at[1]);if(oi.add(oe.i(0)),Ni.type===li.j?oi.offset(-Ni.startX,-Ni.startY):(Ni=Ni.figures.first(),Ni!==null&&oi.offset(-Ni.startX,-Ni.startY)),Ni=at[2],Pi!==Ec){var Tn=oe.computeAngle(nt,Pi,Ni);nt.Kb=Tn}Tn=oi.x-y.x;var zr=oi.y-y.y;Ze.free(oi),si(at)}else if(ft<-ge||ft>=ge)at=Ze.alloc(),oe.vg(),oe.computeMidPoint(at),Ni=oe.midAngle,Pi!==Ec&&(Tn=oe.computeAngle(nt,Pi,Ni),nt.Kb=Tn),Tn=at.x-y.x,zr=at.y-y.y,Ze.free(at);else{if(Tn=0,0<=ft?(zr=ce.M(ft),at=ftFr+10?0<=ft?Ni.ab(zr):zr.ab(Ni):Fr>oi+10?0<=ft?at.ab(Tn):Tn.ab(at):0<=ft?Ni.ab(Tn):Tn.ab(Ni)}else Ni=0<=ft?zr.ab(at):at.ab(zr);Pi!==Ec&&(Tn=oe.computeAngle(nt,Pi,Ni),nt.Kb=Tn),Tn=zr.x+(at.x-zr.x)*Ct-y.x,zr=zr.y+(at.y-zr.y)*Ct-y.y}nt.measure(1/0,1/0,0,0),at=nt.measuredBounds,oi=nt.naturalBounds;var oa=0;nt instanceof io&&(oa=nt.strokeWidth),Fr=oi.width+oa;var ns=oi.height+oa;Fe.reset(),Fe.translate(-at.x,-at.y),Fe.scale(nt.scale,nt.scale),Fe.rotate(Pi===Ec?nt.angle:Ni,Fr/2,ns/2),Pi!==fm&&Pi!==pm||Fe.rotate(90,Fr/2,ns/2),Pi!==gm&&Pi!==mm||Fe.rotate(-90,Fr/2,ns/2),Pi===O0&&(45Ni||225Ni)&&Fe.rotate(-Ni,Fr/2,ns/2),oi=new rn(0,0,Fr,ns),Ne.xi(oi,Kt),Fe.Ga(Ne),Kt=-Ne.x+oa/2*nt.scale,nt=-Ne.y+oa/2*nt.scale,Je.assign(zi),oa=isNaN(zi.x);var uu=isNaN(zi.y);if(oa||uu){Fr=Fr/2+3,ns=ns/2+3;var vu=45<=Ni&&135>=Ni,uc=225<=Ni&&315>=Ni;Pi===Ec&&(vu||uc)?(Je.x=uu?Fr:zi.y,Je.y=oa?ns:zi.x,vu?0<=ft||isNaN(ft)&&.5>Ct||!oa||(Je.y=-ns):uc&&((0<=ft||isNaN(ft)&&.5>Ct)&&oa&&(Je.y=-ns),uu&&(Je.x=-Fr))):(oa&&(Je.x=0<=ft||isNaN(ft)&&.5>Ct?Fr:-Fr),uu&&(Je.y=-ns),Je.rotate(Ni))}else Je.rotate(Ni);Tn+=Je.x,zr+=Je.y,oi.set(at),oi.h(Tn+Kt,zr+nt,at.width,at.height),we.push(oi),x.ed(oi)}}if(ee!==null)for(E=ee.labelNodes;E.next();)E.value.measure(1/0,1/0);a.jg=x,a.position.h(y.x+x.x,y.y+x.y),Ss(b,x.width||0,x.height||0),qr.free(Fe),Ze.free(Ne),Ze.free(Je)}}}},o0.prototype.arrange=function(a,y){var x=y.length;if(a instanceof na||a instanceof ai){var E=a,b=null;a instanceof na&&(b=a,E=b.adornedPart);var z=a instanceof na?null:E.path,ee=a.j;if(ee.length!==0){var re=0;if(z!==null&&re=x)Fe=Ze.alloc(),we=ge,Je=Fe,we.vg(),we.computeMidPoint(Je),we=ge.midAngle,se!==Ec&&(ge=ge.computeAngle(ee,se,we),ee.angle=ge),ge=Fe.x,Je=Fe.y,Ze.free(Fe);else{if(Ne=0,0<=re?(Fe=y.s[re],Je=rent+10?0<=re?we.ab(Fe):Fe.ab(we):nt>Ge+10?0<=re?Je.ab(Ne):Ne.ab(Je):0<=re?we.ab(Ne):Ne.ab(we)}else we=0<=re?Fe.ab(Je):Je.ab(Fe);se!==Ec&&(ge=ge.computeAngle(ee,se,we),ee.angle=ge),ge=Fe.x+(Je.x-Fe.x)*oe,Je=Fe.y+(Je.y-Fe.y)*oe}if(Se.ys())ee.location=new Ze(ge,Je);else{Se.Mc()&&(Se=Dr),Fe=qr.alloc(),Fe.reset(),Fe.scale(ee.scale,ee.scale),Fe.rotate(ee.angle,0,0);var at=ee.naturalBounds;Ne=rn.allocAt(0,0,at.width,at.height),Ge=Ze.alloc(),Ge.xi(Ne,Se),Fe.Ga(Ge),Se=-Ge.x,nt=-Ge.y;var ft=at.width,Ct=at.height;at=Ze.alloc(),at.assign(ce);var Kt=isNaN(ce.x),Pi=isNaN(ce.y);if(Kt||Pi){ft=ft/2+3,Ct=Ct/2+3;var zi=45<=we&&135>=we,Ni=225<=we&&315>=we;se===Ec&&(zi||Ni)?(at.x=Pi?ft:ce.y,at.y=Kt?Ct:ce.x,zi?0<=re||isNaN(re)&&.5>oe||!Kt||(at.y=-Ct):Ni&&((0<=re||isNaN(re)&&.5>oe)&&Kt&&(at.y=-Ct),Pi&&(at.x=-ft))):(Kt&&(at.x=0<=re||isNaN(re)&&.5>oe?ft:-ft),Pi&&(at.y=-Ct),at.rotate(we))}else at.rotate(we);ge+=at.x,Je+=at.y,Fe.pp(Ne),Se+=Ne.x,nt+=Ne.y,re=Ze.allocAt(ge+Se,Je+nt),ee.move(re),Ze.free(re),Ze.free(at),Ze.free(Ge),rn.free(Ne),qr.free(Fe)}}b!==null?b.Ul(!1):E.Ul(!1),E=Z1(a),a.location.h(a.position.x+E.x,a.position.y+E.y),Ze.free(E)}};function p1(a,y,x,E){if(Ye(E)!==!1){var b=E.strokeWidth;b===0&&a instanceof na&&a.type===$n.Link&&a.adornedObject instanceof io&&(b=a.adornedObject.strokeWidth),b*=E.Ca,a instanceof ai&&a.ua!==null?(a=a.geometry.bounds,E.Ge(a.x-b/2,a.y-b/2,a.width+b,a.height+b)):a instanceof na&&a.adornedPart.ua!==null?(a=a.adornedPart.ua.bounds,E.Ge(a.x-b/2,a.y-b/2,a.width+b,a.height+b)):E.Ge(-(b/2),-(b/2),y+b,x+b),b=E.desiredSize,b.w()||E.ua===null?E.dc.h(0,0,b.width,b.height):E.dc.assign(E.ua.bounds),Qe(E,!1)}}function tm(){this.xa="Base"}_t(tm,Ql),tm.prototype.measure=function(a,y,x,E,b,z,ee){var re=a.Pb();a.graduatedBounds=[];var oe=re.margin,se=oe.right+oe.left,ce=oe.top+oe.bottom;re.measure(y,x,z,ee);var ge=re.measuredBounds,Se=new rn(-oe.left,-oe.top,Math.max(ge.width+se,0),Math.max(ge.height+ce,0));a.graduatedBounds.push(Se),b.assign(Se);for(var we=re.geometry,Fe=re.strokeWidth,Ne=we.flattenedSegments,Je=we.flattenedLengths,Ge=we.flattenedTotalLength,nt=Ne.length,at=0,ft=0,Ct=Ri(),Kt=0;KtFr&&(Fr+=360),zi.push(Fr)}at=Tn,ft=zr}Ct.push(zi)}if(a.graduatedIntervals===null){for(var oa=[],ns=a.O.s,uu=ns.length,vu=0;vuKf)){for(var Al=0;AlKf&&cu.push(cc)}}}}}a.graduatedIntervals=oa}var Yf=a.graduatedIntervals,Sd=a.O.s,Kd=Sd.length,ad=0,Jc=0,xg=Ge;a.graduatedMarks=[];for(var Dh,Gp=0;Gpzm*dc*Ge/a.graduatedRange&&sd.graduatedSkip===null)){var lp=Je[0][0],Kh=0,Qc=0;Jc=Ge*sd.graduatedStart-1e-4,xg=Ge*sd.graduatedEnd+1e-4;var jg=zm*dc,ld=a.graduatedTickBase;if(lda.graduatedMin+jg&&(ld-=Math.floor((ld-a.graduatedMin)/jg)*jg);for(var wv=Yf[Gp],Vm=ld,s1=1e-6*a.graduatedMax,vf=1;ld<=a.graduatedMax+s1;vf++){e:{for(var bf=wv.length,up=0;up-Zp){var wg=!1;break e}}wg=!0}if(wg&&(ld>a.graduatedMax&&(ld=a.graduatedMax),sd.graduatedSkip===null||sd instanceof os&&!sd.graduatedSkip(ld,sd)||sd instanceof io&&!sd.graduatedSkip(ld,sd))&&(ad=(ld-a.graduatedMin)*Ge/a.graduatedRange,ad>Ge&&(ad=Ge),Jc<=ad&&ad<=xg)){for(var yf=Ct[Kh][Qc],Xf=Je[Kh][Qc];Khlp&&QcBf&&.4995Bf?0Bf||.9995cp){var Hp=1-Math.abs(.5-Bf);yf=(Lh*Hp+Xh*(1-Hp))%360;break e}}}yf=Lh}if(sd instanceof os){var ch="";sd.graduatedFunction!==null?(ch=sd.graduatedFunction(ld,sd),ch=ch!=null?ch.toString():""):ch=(+ld.toFixed(2)).toString(),ch!==""&&Dh.push({$l:Up,angle:yf,text:ch})}else Dh.push({$l:Up,angle:yf})}ld=Vm+vf*jg}}}a.graduatedMarks.push(Dh)}si(Ct);var Mu=a.graduatedMarks;if(Mu!==null)for(var Gm=E.length,Fc=0;Fcdh;dh++){switch(dh){case 0:$c.h(Lf,Mh);break;case 1:$c.h(Lf+Kp,Mh);break;case 2:$c.h(Lf,Mh+Gg);break;case 3:$c.h(Lf+Kp,Mh+Gg)}$c.rotate(nl+Fl.angle),$c.offset(Fv,Xp),Yp===0&&dh===0?Td.h($c.x,$c.y,0,0):Td.Ye($c),$c.offset(-Fv,-Xp),$c.rotate(-nl-Fl.angle)}Ze.free($c),Df.graduatedBounds!==null&&Df.graduatedBounds.push(Td),ga(Jf,Td.x,Td.y,Td.width,Td.height)}else if(Fl instanceof os){var Yd=a,bv=b;Yd.temporaryTextBlock===null&&(Yd.temporaryTextBlock=new os);var ud=Yd.temporaryTextBlock;L1(ud,Fl);var Qf=Fl.alignmentFocus;Qf.Mc()&&(Qf=wr);for(var Xd=Fl.segmentOrientation,Jp=Fl.segmentOffset,Fg=new rn,Zm=0,Qp=0,Jh=0,Zg=0,bg=0,qp=bc.length,qf=0;qfJh||225Jh)&&kh.rotate(-Jh,eg/2,Ug/2);var hp=rn.allocAt(0,0,eg,Ug),tg=Ze.alloc();tg.xi(hp,Qf),kh.Ga(tg);var fp=-tg.x,u1=-tg.y,kf=Ze.alloc();kf.assign(Jp),isNaN(kf.x)&&(kf.x=eg/2+3),isNaN(kf.y)&&(kf.y=-(Ug/2+3)),kf.rotate(Jh),Zm+=kf.x+fp,Qp+=kf.y+u1;var Hg=new rn(Zm,Qp,$f.width,$f.height),Um=new rn($f.x,$f.y,$f.width,$f.height),c1=new rn(Mf.x,Mf.y,Mf.width,Mf.height);Sf.Sz=Zg,Sf.lineCount=ud.lineCount,Sf.lines=[ud.Cb,ud.Ih,ud.df,ud.Le,ud.Qc,ud.Qb,ud.ze],Sf.actualBounds=Hg,Sf.measuredBounds=Um,Sf.naturalBounds=c1,qf===0?Fg.assign(Hg):Fg.ed(Hg),Ze.free(kf),Ze.free(tg),rn.free(hp),qr.free(kh)}Yd.graduatedBounds!==null&&Yd.graduatedBounds.push(Fg),ga(bv,Fg.x,Fg.y,Fg.width,Fg.height)}Qe(Fl,!1)}}},tm.prototype.arrange=function(a,y,x){if(a.graduatedBounds!==null){var E=a.Pb(),b=a.graduatedMarks;if(b!==null){var z=a.graduatedBounds,ee=0,re=z[ee];ee++,E!==null&&E.arrange(re.x-x.x,re.y-x.y,re.width,re.height);for(var oe=y.length,se=0;se=ee&&(ee=1);for(var re=z.actualBounds,oe=a.O.s,se=a.graduatedMarks,ce=oe.length,ge=0;gea.graduatedTickUnit*Se.interval*z.geometry.flattenedTotalLength/a.graduatedRange*ee&&Se.graduatedSkip===null)){var Ne=Se.measuredBounds,Je=Se.strokeWidth*Se.scale,Ge=Se.alignmentFocus;Ge.Mc()&&(Ge=wr);for(var nt=0;ntee.height)continue}else if(se.position>ee.width)continue;var ce=se.separatorStrokeWidth;isNaN(ce)&&(ce=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var ge=se.separatorStroke;if(ge===null&&(ge=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),ce!==0&&ge!==null){gs(a,y,ge,!1,!1,ee,z),ge=!1;var Se=se.separatorDashArray;Se===null&&(Se=x?a.defaultRowSeparatorDashArray:a.defaultColumnSeparatorDashArray),Se!==null&&(ge=!0,y.js(Se,0)),y.beginPath(),Se=se.position+ce,x?Se>ee.height&&(ce-=Se-ee.height):Se>ee.width&&(ce-=Se-ee.width),se=se.position+ce/2,y.lineWidth=ce,ce=a.yb,x?(se+=ce.top,Se=ee.width-ce.right,y.moveTo(ce.left,se),y.lineTo(Se,se)):(se+=ce.left,Se=ee.height-ce.bottom,y.moveTo(se,ce.top),y.lineTo(se,Se)),y.stroke(),y.Se(),ge&&y.fs()}}}}function a0(a,y,x,E,b){for(var z=E.length,ee=a.actualBounds,re=a.naturalBounds,oe=v1(a,!0),se=v1(a,!1),ce=0;ceSe)){var we=ge.Wc(),Fe=ge.separatorStrokeWidth;isNaN(Fe)&&(Fe=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var Ne=ge.separatorStroke;Ne===null&&(Ne=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),(Ne===null||ge.index===(x?oe:se))&&(Fe=0),we-=Fe,Fe=ge.position+Fe,we+=ge.actual,Fe+we>Se&&(we=Se-Fe),0>=we||(Se=a.yb,gs(a,y,ge.background,!0,!1,re,ee),x?y.fillRect(Se.left,Fe+Se.top,ee.width-(Se.left+Se.right),we):y.fillRect(Fe+Se.left,Se.top,we,ee.height-(Se.top+Se.bottom)))}}}}function v1(a,y){for(var x=y?a.rowCount:a.columnCount,E=0;EE&&b.set(Fe),Ze.free(Fe)),Ze.free(ce),z&&b.transform(ee),se},Be.Gj=function(){for(var a=this.O.s,y=a.length,x=0;xx||z>E)&&(this.v(),this.measure(y>x?x:y,z>E?E:z,0,0));break;case Hn:this.v(!0),this.measure(x+re,E+ee,0,0);break;case Qi:this.v(!0),this.measure(x+re,z+ee,0,0);break;case Tt:this.v(!0),this.measure(y+re,E+ee,0,0)}}this.na.arrange(this,b,this.jg)}},Be.gh=function(a){var y=this.naturalBounds,x=Cf(this);if(gl(0,0,y.width,y.height,a.x,a.y)){y=this.O.s;for(var E=y.length,b=Ze.allocAt(0,0);E--;){var z=y[E];if((z.visible||z===x)&&(_o(b.set(a),z.transform),z.ca(b)))return Ze.free(b),!0}return Ze.free(b),!(this.Ma===null&&this.areaBackground===null)}return!1},Be.ks=function(a){if(this.bindingId===a)return this;for(var y=this.O.s,x=y.length,E=0;ESe.width||ge.y>Se.height||0>ge.x+ge.width||0>ge.y+ge.height||(ge=ce,ce=ce instanceof $n?ce:null,Se=qr.alloc(),Se.set(ee),(ce!==null?ce.Cf(a,y,x,E,b,Se):ws(ge,a,E,Se))&&(y!==null&&(ge=y(ge)),ge===null||x!==null&&!x(ge)||b.add(ge)),qr.free(Se))}}return z===void 0&&qr.free(ee),E}return z===void 0&&qr.free(ee),!1};function Rv(a,y,x,E){for(var b=a.O.s,z=b.length;z--;){var ee=b[z];if(ee.visible){var re=ee.actualBounds,oe=a.naturalBounds;re.x>oe.width||re.y>oe.height||0>re.x+re.width||0>re.y+re.height||(ee instanceof $n&&Rv(ee,y,x,E),y!==null&&(ee=y(ee)),ee===null||x!==null&&!x(ee)||E.add(ee))}}}Be.og=function(a,y,x,E,b,z){if(this.pickable===!1)return!1;x===void 0&&(x=null),E===void 0&&(E=null);var ee=this.naturalBounds,re=this.se(),oe=re?a:_o(Ze.allocAt(a.x,a.y),this.transform),se=re?y:_o(Ze.allocAt(y.x,y.y),this.transform),ce=oe.Bf(se),ge=0Je.width||Ne.y>Je.height||0>Ne.x+Ne.width||0>Ne.y+Ne.height))&&(Fe.se()?(Ne=Fe.transform,_o(oe.set(a),Ne),_o(se.set(y),Ne)):(oe.set(a),se.set(y)),Ne=Fe,Fe=Fe instanceof $n?Fe:null,(Fe!==null?Fe.og(oe,se,x,E,b,z):Ne.tx(oe,se,b))&&(x!==null&&(Ne=x(Ne)),Ne===null||E!==null&&!E(Ne)||z.add(Ne)))}}Ze.free(oe),Ze.free(se)}return b?ge:ee}return!1};function Wv(a){var y=null;return a instanceof io&&(y=a.spot1,y===Zl&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot1)),y===null&&(y=bl),y}function jv(a){var y=null;return a instanceof io&&(y=a.spot2,y===Zl&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot2)),y===null&&(y=hu),y}Be.add=function(a){for(var y=[],x=0;x=b.count&&a>=b.count)return;b.mb(z),E=z}else Et("element "+y.toString()+" has panel "+x.toString()+" but is not contained by it.")}(0>a||a>b.count)&&(a=b.count),b.Gb(a,y),(a===0||y.isPanelMain)&&(this.$g=null),Ye(this)||this.v(),y.v(!1),y.portId!==null?this.Te=!0:y instanceof $n&&y.Te===!0&&(this.Te=!0),this.graduatedIntervals=null,this.If()||l0(this,y,!1),x=this.part,x!==null&&(x.Rh=null,x.ag=NaN,this.Te&&x instanceof Fi&&(x.Te=!0),x.Te&&x instanceof Fi&&(x.wc=null),b=this.diagram,b!==null&&b.undoManager.isUndoingRedoing||(E!==-1&&x.cb(xi,"elements",this,y,null,E,null),x.cb(ti,"elements",this,null,y,null,a)))};function zv(a,y){a.l=y?a.l|16777216:a.l&-16777217}Be.remove=function(a){for(var y=this.O.s,x=y.length,E=-1,b=0;ba&&Cn(a,">= 0",$n,"getRowDefinition:idx"),a=Math.round(a);var y=this.rowDefs;if(y[a]===void 0){var x=new jl;x.wi(this),x.isRow=!0,x.index=a,y[a]=x,this.cb(ti,"rowdefs",this,null,x,null,a)}return y[a]},Be.oA=function(a){if(0>a&&Cn(a,">= 0",$n,"removeRowDefinition:idx"),this.rowCount!==0){a=Math.round(a);var y=this.rowDefs,x=y[a];if(x){y[a]=void 0;for(var E=y.length-1;0<=E&&y[E--]===void 0;)y.length--;this.cb(xi,"rowdefs",this,x,null,a,null),this.v()}}};function P1(a,y,x){var E=a.rowDefs;if(!(0>y)){if(E[y]=x instanceof jl?x:void 0,!x)for(y=E.length-1;0<=y&&E[y--]===void 0;)E.length--;a.v()}}Be.Eb=function(a){0>a&&Cn(a,">= 0",$n,"getColumnDefinition:idx"),a=Math.round(a);var y=this.colDefs;if(y[a]===void 0){var x=new jl;x.wi(this),x.isRow=!1,x.index=a,y[a]=x,this.cb(ti,"coldefs",this,null,x,null,a)}return y[a]},Be.jA=function(a){if(0>a&&Cn(a,">= 0",$n,"removeColumnDefinition:idx"),this.columnCount!==0){a=Math.round(a);var y=this.colDefs,x=y[a];if(x){y[a]=void 0;for(var E=y.length-1;0<=E&&y[E--]===void 0;)y.length--;this.cb(xi,"coldefs",this,x,null,a,null),this.v()}}};function w1(a,y,x){var E=a.colDefs;if(!(0>y)){if(E[y]=x instanceof jl?x:void 0,!x)for(y=E.length-1;0<=y&&E[y--]===void 0;)E.length--;a.v()}}Be.Gy=function(a){var y=null;return a.isRow?y=this.Fb(a.index):a.isRow||(y=this.Eb(a.index)),y&&u0(y,a),this},Be.Hy=function(a,y){return(a=this.Fb(a))&&u0(a,new jl(y)),this},Be.By=function(a,y){return(a=this.Eb(a))&&u0(a,new jl(y)),this},Be.nz=function(a){if(0>a||this.type!==$n.Table||this.rowCount===0)return-1;for(var y=0,x=this.rowDefs,E=x.length,b=this.topIndex;ba||this.type!==$n.Table||this.columnCount===0)return-1;for(var y=0,x=this.colDefs,E=x.length,b=this.leftIndex;ba;)this.pc(this.O.length-1,!1);A1(this,this.itemArray)};function A1(a,y){var x=nm(a);if(y===null||y.length===0)for(;a.O.length>x;)a.pc(a.O.length-1,!1);else if(a.O.length<=x){x=y.length;for(var E=0;Ex)){var b=_v(a,y);if(b=Gv(a,b),b!==null){if(Zd(b),b=b.copy(),b.l&16777216){var z=a.ih();z!==null&&zv(z,!0)}typeof y=="object"&&(a.ge===null&&(a.ge=new gi),a.ge.add(y,b)),z=x+nm(a),a.Gb(z,b),E&&(b.ub=y,Vv(a,z,x),b.ub=null),b.data=y}}}function Vv(a,y,x){for(a=a.O;ya&&Cn(a,">= 0",$n,"padding"),a=new ao(a)):(0>a.left&&Cn(a.left,">= 0",$n,"padding:value.left"),0>a.right&&Cn(a.right,">= 0",$n,"padding:value.right"),0>a.top&&Cn(a.top,">= 0",$n,"padding:value.top"),0>a.bottom&&Cn(a.bottom,">= 0",$n,"padding:value.bottom"));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.v(),this.g("padding",y,a))}},defaultAlignment:{get:function(){return this.Tm},set:function(a){var y=this.Tm;y.D(a)||(this.Tm=a=a.J(),this.v(),this.g("defaultAlignment",y,a))}},defaultStretch:{get:function(){return this.Uf},set:function(a){var y=this.Uf;y!==a&&(this.Uf=a,this.v(),this.g("defaultStretch",y,a))}},defaultSeparatorPadding:{get:function(){return this.T!==null?this.T.Qp:Bc},set:function(a){typeof a=="number"&&(a=new ao(a));var y=this.defaultSeparatorPadding;y.D(a)||(a=a.J(),this.T===null&&(this.T=new Ld),this.T.Qp=a,this.v(),this.g("defaultSeparatorPadding",y,a))}},defaultRowSeparatorStroke:{get:function(){return this.T!==null?this.T.ia:null},set:function(a){var y=this.defaultRowSeparatorStroke;y!==a&&(a===null||typeof a=="string"||a instanceof ea)&&(a instanceof ea&&a.freeze(),this.T===null&&(this.T=new Ld),this.T.ia=a,this.N(),this.g("defaultRowSeparatorStroke",y,a))}},defaultRowSeparatorStrokeWidth:{get:function(){return this.T!==null?this.T.Ha:1},set:function(a){var y=this.defaultRowSeparatorStrokeWidth;y!==a&&isFinite(a)&&0<=a&&(this.T===null&&(this.T=new Ld),this.T.Ha=a,this.v(),this.g("defaultRowSeparatorStrokeWidth",y,a))}},defaultRowSeparatorDashArray:{get:function(){return this.T!==null?this.T.V:null},set:function(a){var y=this.defaultRowSeparatorDashArray;if(y!==a){if(a!==null){for(var x=a.length,E=0,b=0;ba)&&Et("Panel.topIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new Ld),this.T.Hb=a,this.v(),this.g("topIndex",y,a))}},leftIndex:{get:function(){return this.T!==null?this.T.hb:0},set:function(a){var y=this.leftIndex;y!==a&&((!isFinite(a)||0>a)&&Et("Panel.leftIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new Ld),this.T.hb=a,this.v(),this.g("leftIndex",y,a))}},data:{get:function(){return this.ub},set:function(a){var y=this.ub;if(y!==a){var x=this instanceof ar&&!(this instanceof na);Zd(this),this.ub=a;var E=this.diagram;E!==null&&(x?(x=E.partManager,this instanceof ai?(y!==null&&x.bf.remove(y),a!==null&&x.bf.add(a,this)):this instanceof ar&&(y!==null&&x.cf.remove(y),a!==null&&x.cf.add(a,this))):(x=this.panel,x!==null&&x.ge!==null&&(y!==null&&x.ge.remove(y),a!==null&&x.ge.add(a,this)))),this.g("data",y,a),E!==null&&E.undoManager.isUndoingRedoing||a!==null&&this.La()}}},itemIndex:{get:function(){return this.zn},set:function(a){var y=this.zn;y!==a&&(this.zn=a,this.g("itemIndex",y,a))}},allBindings:{get:function(){return this.A!==null?this.A.nb:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new Ar),this.A.nb=a)}},itemArray:{get:function(){return this.Hh},set:function(a){var y=this.Hh;if(y!==a||a!==null&&Dx(this,a)){var x=this.diagram;y!==a&&(x!==null&&y!==null&&Dy(x.partManager,this,x),this.Hh=a,x!==null&&a!==null&&By(x.partManager,this)),this.g("itemArray",y,a),x!==null&&x.undoManager.isUndoingRedoing||A1(this,a)}}},itemTemplate:{get:function(){return this.itemTemplateMap===null?null:this.itemTemplateMap.I("")},set:function(a){if(this.itemTemplateMap===null){if(a===null)return;this.itemTemplateMap=new gi}var y=this.itemTemplateMap.I("");y!==a&&((a instanceof ar||a.isPanelMain)&&Et("Panel.itemTemplate must not be a Part or be Panel.isPanelMain: "+a),this.itemTemplateMap.add("",a),this.g("itemTemplate",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv())}},itemTemplateMap:{get:function(){return this.A!==null?this.A.Pc:null},set:function(a){var y=this.itemTemplateMap;if(y!==a){for(var x=a.iterator;x.next(););Er(this),this.A.Pc=a,this.g("itemTemplateMap",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv()}}},itemCategoryProperty:{get:function(){return this.A!==null?this.A.Oc:"category"},set:function(a){var y=this.itemCategoryProperty;y!==a&&(Er(this),this.A.Oc=a,this.g("itemCategoryProperty",y,a))}},isAtomic:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.g("isAtomic",y,a))}},isClipping:{get:function(){return(this.l&2097152)!==0},set:function(a){var y=(this.l&2097152)!==0;y!==a&&(this.l^=2097152,this instanceof Gr&&(this.tb=null),this.v(),this.g("isClipping",y,a))}},isOpposite:{get:function(){return(this.l&33554432)!==0},set:function(a){var y=(this.l&33554432)!==0;y!==a&&(this.l^=33554432,this.v(),this.g("isOpposite",y,a))}},isEnabled:{get:function(){return(this.l&4194304)!==0},set:function(a){var y=(this.l&4194304)!==0;if(y!==a){var x=this.panel===null||this.panel.If();this.l^=4194304,this.g("isEnabled",y,a),y=this.diagram,y!==null&&y.undoManager.isUndoingRedoing||x&&l0(this,this,a)}}},alignmentFocusName:{get:function(){return this.$e},set:function(a){var y=this.$e;y!==a&&(this.$e=a,this.v(),this.g("alignmentFocusName",y,a))}}}),Rt.Object.defineProperties($n,{Position:{get:function(){return rh.I("Position")}},Horizontal:{get:function(){return rh.I("Horizontal")}},Vertical:{get:function(){return rh.I("Vertical")}},Spot:{get:function(){return rh.I("Spot")}},Auto:{get:function(){return rh.I("Auto")}},Table:{get:function(){return rh.I("Table")}},Viewbox:{get:function(){return rh.I("Viewbox")}},TableRow:{get:function(){return rh.I("TableRow")}},TableColumn:{get:function(){return rh.I("TableColumn")}},Link:{get:function(){return rh.I("Link")}},Grid:{get:function(){return rh.I("Grid")}},Graduated:{get:function(){return rh.I("Graduated")}}}),$n.prototype.rebuildItemElements=$n.prototype.mv,$n.prototype.findItemPanelForData=$n.prototype.sx,$n.prototype.updateTargetBindings=$n.prototype.La,$n.prototype.copyTemplate=$n.prototype.Uy,$n.prototype.graduatedValueForPoint=$n.prototype.Gz,$n.prototype.graduatedPointForValue=$n.prototype.Fz,$n.prototype.findColumnForLocalX=$n.prototype.fz,$n.prototype.findRowForLocalY=$n.prototype.nz,$n.prototype.addColumnDefinition=$n.prototype.By,$n.prototype.addRowDefinition=$n.prototype.Hy,$n.prototype.addRowColumnDefinition=$n.prototype.Gy,$n.prototype.removeColumnDefinition=$n.prototype.jA,$n.prototype.getColumnDefinition=$n.prototype.Eb,$n.prototype.removeRowDefinition=$n.prototype.oA,$n.prototype.getRowDefinition=$n.prototype.Fb,$n.prototype.removeAt=$n.prototype.mb,$n.prototype.remove=$n.prototype.remove,$n.prototype.insertAt=$n.prototype.Gb,$n.prototype.elt=$n.prototype.M,$n.prototype.add=$n.prototype.add,$n.prototype.findObject=$n.prototype.fb,$n.prototype.findInVisualTree=$n.prototype.Nl,$n.prototype.walkVisualTreeFrom=$n.prototype.qm,$n.prototype.findMainElement=$n.prototype.Pb;var F1=!1,b1=null,rh=new gi;$n.className="Panel",$n.definePanelLayout=Uh,Uh("Position",new Xm),Uh("Vertical",new Qm),Uh("Auto",new $m),Uh("Link",new o0);function Af(){this.lq=0,this.F=100,this.ia=10,this.V=0,this.Zh=this.o=this.j=this.u=null}Af.prototype.copy=function(){var a=new Af;return a.lq=this.lq,a.F=this.F,a.ia=this.ia,a.V=this.V,a.u=this.u,a.j=this.j,a.o=this.o,a.Zh=this.Zh,a},Af.className="GradPanelSettings";function Ld(){this.Pc=[],this.Oc=[],this.j=this.ob=d0,this.hb=this.Hb=0,this.Qp=Bc,this.Ha=1,this.V=this.ia=null,this.F=1,this.nb=this.o=this.u=null}Ld.prototype.copy=function(a){for(var y=new Ld,x=this.Pc,E=x.length,b=y.Pc,z=0;za&&Cn(a,">= 0",jl,"height"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("height",y,a))}},width:{get:function(){return this.Hc},set:function(a){var y=this.Hc;y!==a&&(0>a&&Cn(a,">= 0",jl,"width"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("width",y,a))}},minimum:{get:function(){return this.jj},set:function(a){var y=this.jj;y!==a&&((0>a||!isFinite(a))&&Cn(a,">= 0",jl,"minimum"),this.jj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("minimum",y,a))}},maximum:{get:function(){return this.hj},set:function(a){var y=this.hj;y!==a&&(0>a&&Cn(a,">= 0",jl,"maximum"),this.hj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("maximum",y,a))}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(this.Jb=a.J(),this.panel!==null&&this.panel.v(),this.Ob("alignment",y,a))}},stretch:{get:function(){return this.hg},set:function(a){var y=this.hg;y!==a&&(this.hg=a,this.panel!==null&&this.panel.v(),this.Ob("stretch",y,a))}},separatorPadding:{get:function(){return this.dg},set:function(a){typeof a=="number"&&(a=new ao(a));var y=this.dg;a!==null&&y!==null&&y.D(a)||(a!==null&&(a=a.J()),this.dg=a,this.panel!==null&&this.panel.v(),this.Ob("separatorPadding",y,a))}},separatorStroke:{get:function(){return this.lo},set:function(a){var y=this.lo;y!==a&&(a!==null&&rg(a,"RowColumnDefinition.separatorStroke"),a instanceof ea&&a.freeze(),this.lo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStroke",y,a))}},separatorStrokeWidth:{get:function(){return this.mo},set:function(a){var y=this.mo;y!==a&&(this.mo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStrokeWidth",y,a))}},separatorDashArray:{get:function(){return this.tj},set:function(a){var y=this.tj;if(y!==a){if(a!==null){for(var x=a.length,E=0,b=0;bb)){var z=E.measuredBounds,ee=Math.max(1,z.width);z=z.height;for(var re=x[0],oe=x[1],se,ce,ge,Se,we,Fe,Ne=0,Je=Ri(),Ge=2;Gege&&(ge=1),b=x=ge,se=ee/2,ce=se!==0,Ge=0,Fe=Je[Ge],ge=Fe[0],we=Fe[1],Se=Fe[2],Fe=Fe[3];for(var nt=0;.1<=Ne;){if(nt===0&&(ce?(b=x,b-=se,Ne-=se,ce=!1):b=x,b===0&&(b=1)),b>Ne){si(Je);return}b>Fe?(nt=b-Fe,b=Fe):nt=0;var at=Math.sqrt(b*b/(1+Se*Se));if(0>ge&&(at=-at),re+=at,oe+=Se*at,a.translate(re,oe),a.rotate(we),a.translate(-(ee/2),-(z/2)),nt===0&&E.hh(a,y),a.translate(ee/2,z/2),a.rotate(-we),a.translate(-re,-oe),Ne-=b,Fe-=b,nt!==0){if(Ge++,Ge===Je.length){si(Je);return}Fe=Je[Ge],ge=Fe[0],we=Fe[1],Se=Fe[2],Fe=Fe[3],b=nt}}si(Je)}}Be.hh=function(a,y){var x=this.xc,E=this.Ui;if(x!==null||E!==null){var b=this.ua;if(b!==null){a.yc();var z=this.actualBounds,ee=this.naturalBounds;E!==null&&gs(this,a,E,!0,!1,ee,z);var re=this.part,oe=this.ig;if(x===null||oe!==0||re===null||!this.isPanelMain&&re.Pb()!==this||(oe=re.type===$n.Link&&re instanceof na&&re.category==="Selection"&&re.adornedObject instanceof io&&re.adornedPart.Pb()===re.adornedObject?re.adornedObject.strokeWidth:0),oe===0&&(x=null),x!==null&&oe!==0&&(gs(this,a,x,!1,!1,ee,z),a.lineWidth=oe,a.lineJoin=this.strokeJoin,a.lineCap=this.strokeCap,a.miterLimit=this.strokeMiterLimit),z=!1,re&&y.Gf("drawShadows")&&(z=re.isShadowed),a.Il===!1&&(z=!1),re=!0,x===null||E!==null&&E!=="transparent"||(re=!1),ee=!1,oe=this.strokeDashArray,oe!==null&&(ee=!0,a.js(oe,this.strokeDashOffset)),b.type===li.j)a.beginPath(),a.moveTo(b.startX,b.startY),a.lineTo(b.endX,b.endY),x!==null&&a.jk(),a.Se();else if(b.type===li.u){var se=b.startX;oe=b.startY;var ce=b.endX,ge=b.endY;b=Math.min(se,ce);var Se=Math.min(oe,ge);se=Math.abs(ce-se),oe=Math.abs(ge-oe),a.beginPath(),a.rect(b,Se,se,oe),E!==null&&a.ng(E),x!==null&&(re&&z&&lc(a),a.jk(),re&&z&&Cu(a)),a.Se()}else if(b.type===li.F)se=b.startX,oe=b.startY,ce=b.endX,ge=b.endY,b=Math.abs(ce-se)/2,Se=Math.abs(ge-oe)/2,se=Math.min(se,ce)+b,oe=Math.min(oe,ge)+Se,a.beginPath(),a.moveTo(se,oe-Se),a.bezierCurveTo(se+Bt.wg*b,oe-Se,se+b,oe-Bt.wg*Se,se+b,oe),a.bezierCurveTo(se+b,oe+Bt.wg*Se,se+Bt.wg*b,oe+Se,se,oe+Se),a.bezierCurveTo(se-Bt.wg*b,oe+Se,se-b,oe+Bt.wg*Se,se-b,oe),a.bezierCurveTo(se-b,oe-Bt.wg*Se,se-Bt.wg*b,oe-Se,se,oe-Se),a.closePath(),E!==null&&a.ng(E),x!==null&&(re&&z&&lc(a),a.jk(),re&&z&&Cu(a)),a.Se();else if(b.type===li.o)for(b=b.figures,oe=b.length,Se=0;SeNe.sweepAngle,we!==null?we.endX:se.startX,we!==null?we.endY:se.startY)}else if(we=au(Ne,se),Je=we.length,Je===0)a.lineTo(Ne.centerX,Ne.centerY);else for(var Ge=0;Ge(x.startX-x.endX)*(a.x-x.endX)+(x.startY-x.endY)*(a.y-x.endY)||0>E)?!1:(rn.free(z),Bt.Yb(x.startX,x.startY,x.endX,x.endY,b,a.x,a.y));if(x.type===li.u){y=x.startX;var ee=x.startY,re=x.endX;if(x=x.endY,z.x=Math.min(y,re),z.y=Math.min(ee,x),z.width=Math.abs(re-y),z.height=Math.abs(x-ee),this.fill===null){if(z.Bc(-E,-E),z.ca(a))return rn.free(z),!1;z.Bc(E,E)}return this.stroke!==null&&z.Bc(b,b),a=z.ca(a),rn.free(z),a}if(x.type===li.F){ee=x.startX,b=x.startY,re=x.endX;var oe=x.endY;if(x=Math.min(ee,re),y=Math.min(b,oe),ee=Math.abs(re-ee)/2,b=Math.abs(oe-b)/2,x=a.x-(x+ee),y=a.y-(y+b),this.fill===null){if(ee-=E,b-=E,0>=ee||0>=b||1>=x*x/(ee*ee)+y*y/(b*b))return rn.free(z),!1;ee+=E,b+=E}return this.stroke!==null&&(ee+=E,b+=E),rn.free(z),0>=ee||0>=b?!1:1>=x*x/(ee*ee)+y*y/(b*b)}if(x.type===li.o)return rn.free(z),this.fill===null?Au(x,a.x,a.y,b):cd(x,a,b,1=this.strokeWidth)ce=Bt.Ve(se.startX,se.startY,se.endX,se.endY,z,ee,re,oe,b);else{if(se.startX===se.endX?(E=ge,ce=0):(y=(se.endY-se.startY)/(se.endX-se.startX),ce=ge/Math.sqrt(1+y*y),E=ce*y),y=Ri(),a=new Ze,Bt.Ve(se.startX+E,se.startY+ce,se.endX+E,se.endY+ce,z,ee,re,oe,a)&&y.push(a),a=new Ze,Bt.Ve(se.startX-E,se.startY-ce,se.endX-E,se.endY-ce,z,ee,re,oe,a)&&y.push(a),a=new Ze,Bt.Ve(se.startX+E,se.startY+ce,se.startX-E,se.startY-ce,z,ee,re,oe,a)&&y.push(a),a=new Ze,Bt.Ve(se.endX+E,se.endY+ce,se.endX-E,se.endY-ce,z,ee,re,oe,a)&&y.push(a),re=y.length,re===0)return si(y),!1;for(ce=!0,oe=1/0,E=0;EMath.abs(x)){if(oe=ee-ce-x*(z-E),0>a*a*x*x+se*se-oe*oe){b.x=NaN,b.y=NaN,ce=!1;break e}ge=Math.sqrt(a*a*x*x+se*se-oe*oe),re=(-(a*a*x*oe)+a*se*ge)/(se*se+a*a*x*x)+E,a=(-(a*a*x*oe)-a*se*ge)/(se*se+a*a*x*x)+E,se=x*(re-E)+oe+ce,oe=x*(a-E)+oe+ce,Math.abs((z-re)*(z-re))+Math.abs((ee-se)*(ee-se))re){b.x=NaN,b.y=NaN,ce=!1;break e}oe=Math.sqrt(re),re=ce+oe,oe=ce-oe,Math.abs(re-ee)Math.abs(Fe)?(Ne*=.5/Fe,Fe=.5):Ne!==0&&.5>Math.abs(Ne)&&(Fe*=.5/Ne,Ne=.5),Ge-=Fe,nt-=Ne;we.contains(Ge,nt);)Ge-=Fe,nt-=Ne;for(b.x=re,b.y=oe,Ne=0;Nex?a-x:x-a)<(y>E?y-E:E-y)?(a=ya||Bt.$(oe.y,a))&&(oe.yy||Bt.$(oe.x,y))&&(oe.x=a&&E<=y):(a=E&&x<=a)}Be.tx=function(a,y,x){function E(Je,Ge){for(var nt=Je.length,at=0;atb)return!0;return!1}if(x&&this.fill!==null&&this.gh(a,!0))return!0;var b=a.Bf(y),z=b;if(1.5=b||za(y,z,0,-ge)>=b||za(y,z,0,ge)>=b||za(y,z,ce,0)>=b)}else if(y.type===li.o){if(se=y.bounds,z=se.x,re=se.y,oe=se.x+se.width,se=se.y+se.height,a.x>oe&&a.xse&&a.yb&&Ea(a.x,a.y,z,re,oe,re)>b&&Ea(a.x,a.y,oe,se,z,se)>b&&Ea(a.x,a.y,oe,se,oe,re)>b)return!1;if(z=Math.sqrt(b),x){if(this.fill===null?Au(y,a.x,a.y,z):cd(y,a,z,!0,!1))return!0}else{for(x=y.figures,y=0;yb)return!1;for(re=z.segments.s,oe=re.length,se=0;seb)return!1;break;case ml:var Se=Ri();if(Bt.Qe(ee,ce,ge.point1X,ge.point1Y,ge.point2X,ge.point2Y,ge.endX,ge.endY,.8,Se),ee=E(Se,a),si(Se),ee||(ee=ge.endX,ce=ge.endY,a.zd(ee,ce)>b))return!1;break;case We:if(Se=Ri(),Bt.ep(ee,ce,ge.point1X,ge.point1Y,ge.endX,ge.endY,.8,Se),ee=E(Se,a),si(Se),ee||(ee=ge.endX,ce=ge.endY,a.zd(ee,ce)>b))return!1;break;case He:case qe:Se=ge.type===He?au(ge,z):Xu(ge,z,ee,ce);var we=Se.length;if(we===0){if(ee=ge.type===He?ge.centerX:ge.endX,ce=ge.type===He?ge.centerY:ge.endY,a.zd(ee,ce)>b)return!1;break}ge=null;for(var Fe=Ri(),Ne=0;Ne= 0",io,"strokeWidth:value")}},strokeCap:{get:function(){return this.Na!==null?this.Na.Hr:"butt"},set:function(a){var y=this.strokeCap;y!==a&&(typeof a!="string"||a!=="butt"&&a!=="round"&&a!=="square"?Cn(a,'"butt", "round", or "square"',io,"strokeCap"):(kg(this),this.Na.Hr=a,this.N(),this.g("strokeCap",y,a)))}},strokeJoin:{get:function(){return this.Na!==null?this.Na.Ir:"miter"},set:function(a){var y=this.strokeJoin;y!==a&&(typeof a!="string"||a!=="miter"&&a!=="bevel"&&a!=="round"?Cn(a,'"miter", "bevel", or "round"',io,"strokeJoin"):(kg(this),this.Na.Ir=a,this.N(),this.g("strokeJoin",y,a)))}},strokeMiterLimit:{get:function(){return this.Na!==null?this.Na.Jr:10},set:function(a){var y=this.strokeMiterLimit;if(y!==a&&1<=a){kg(this),this.Na.Jr=a,this.N();var x=this.part;x!==null&&(x.ag=NaN),this.g("strokeMiterLimit",y,a)}}},strokeDashArray:{get:function(){return this.Yg},set:function(a){var y=this.Yg;if(y!==a){if(a!==null){for(var x=a.length,E=0,b=0;ba?a=0:1a?a=0:1(ge*ge+ce*ce)*Se*Se&&(x=!0),y.ib!==a&&(x=!1),y.ib instanceof va&&(x=!1),y.Gf("textGreeking")===!1&&(x=!1),y=this.spacingAbove,ge=this.spacingBelow,this.flip){case vr:a.translate(b,0),a.scale(-1,1);break;case or:a.translate(0,z),a.scale(1,-1);break;case jr:a.translate(b,z),a.scale(-1,-1)}if(a.yc(),ce=this.Gc,Se=(y+ee+ge)*ce,z>Se&&(E=this.verticalAlignment,E=E.y*z-E.y*Se+E.offsetY),ce===1&&this.ze!==null)ge=this.Cb,ge>b&&(ge=b),this.Oj(this.ze,a,0,E+y,b,ee,ge,x,re,oe,se);else if(this.Qc!==null&&this.Qb!==null)for(Se=0;Seb&&(we=b),E+=y,this.Oj(this.Qb[Se],a,0,E,b,ee,we,x,re,oe,se),E+=ee+ge}switch(this.flip){case vr:a.scale(-1,1),a.translate(-b,0);break;case or:a.scale(1,-1),a.translate(0,-z);break;case jr:a.scale(-1,-1),a.translate(-b,-z)}}},Be.Oj=function(a,y,x,E,b,z,ee,re,oe,se,ce){var ge=0;if(re)oe==="left"?ge=0:oe==="right"?ge=b-ee:oe==="center"&&(ge=(b-ee)/2),y.fillRect(x+ge,E+.25*z,ee,1);else{if(oe==="left"?ge=0:oe==="right"?ge=b:oe==="center"&&(ge=b/2),b=g0!==null?g0(this,z):.75*z,y.fillText(a,x+ge,E+b),a=z/20|0,a===0&&(a=1),oe==="right"?ge-=ee:oe==="center"&&(ge-=ee/2),se){re=p0!==null?p0(this,z):.8*z,oe=x+ge,se=E+re,b=x+ge+ee,re=E+re;var Se=a;y.beginPath(),y.lineWidth=Se,y.moveTo(oe,se),y.lineTo(b,re),y.stroke(),y.Se(),y instanceof va&&y.ad.classList.add("gojs-td")}ce&&(ce=E+z-z/2.2|0,a%2!==0&&(ce+=.5),E=x+ge,z=ce,x=x+ge+ee,ee=ce,ge=a,y.beginPath(),y.lineWidth=ge,y.moveTo(E,z),y.lineTo(x,ee),y.stroke(),y.Se(),y instanceof va&&y.ad.classList.add("gojs-td"))}},Be.kk=function(a,y,x){if(!Pt.prototype.kk.call(this,a,y,x))return!1;if(gs(this,a,this.xc,!0,!1,this.naturalBounds,this.actualBounds),x){if(this.svg.getElementsByTagName("text").length===0)return!0;for(y=this.svg.getElementsByClassName("gojs-td"),x=0;xa?a=0:1a?a=0:1=a&&Cn(a,"> 0",os,"maxLines"),Hh(this),this.da.Jq=a,this.v(),this.g("maxLines",y,a))}},metrics:{get:function(){return{arrSize:this.Qc!==null?this.Qc:[this.Cb],arrText:this.Qb!==null?this.Qb:[this.ze],maxLineWidth:this.Cb,fontHeight:this.df}}},choices:{get:function(){return this.Gm},set:function(a){var y=this.Gm;y!==a&&(this.Gm=a,this.g("choices",y,a))}}});var g0=null,p0=null,Xv=new sn(os,"None",0),N1=new sn(os,"WrapFit",1),Jv=new sn(os,"WrapDesiredSize",2),T1=new sn(os,"WrapBreakAll",3),Qv=new sn(os,"OverflowClip",0),m0=new sn(os,"OverflowEllipsis",1),am=new sn(os,"FormatTrim",0),O1=new sn(os,"FormatNone",0),Lx=/[ \u200b\u00ad]/,qv=new Xt,I1=0,v0=new Xt,$v=0,sm="...",R1="",Rc=null,y0=!1;os.className="TextBlock";function ey(){this.nc=!1,this.Hd=null,this.Xf=In,this.gq=am,this.Jq=1/0,this.$q=Qv,this.Er=this.Dr=0,this.Or="start",this.vj=this.Qr=this.Pr=null,this.Yr=wd,this.$r=Jv}ey.prototype.copy=function(){var a=new ey;return a.Hd=this.Hd,a.Xf=this.Xf,a.gq=this.gq,a.Jq=this.Jq,a.$q=this.$q,a.Dr=this.Dr,a.Er=this.Er,a.Or=this.Or,a.Pr=this.Pr,a.Qr=this.Qr,a.vj=this.vj,a.Yr=this.Yr,a.$r=this.$r,a},os.getEllipsis=function(){return sm},os.setEllipsis=function(a){sm=a,v0=new Xt,$v=0},os.getBaseline=function(){return g0},os.setBaseline=function(a){g0=a},os.getUnderline=function(){return p0},os.setUnderline=function(a){p0=a},os.isValidFont=function(a){if(y0||(Rc=Aa?new zu(null).context:null,y0=!0),Rc===null)return!0;var y=Rc.font;if(a===y||a==="10px sans-serif")return!0;Rc.font="10px sans-serif",Rc.font=a;var x=Rc.font;if(x!=="10px sans-serif")return Rc.font=y,!0;Rc.font="19px serif";var E=Rc.font;return Rc.font=a,x=Rc.font,Rc.font=y,x!==E},os.FormatNone=O1,os.FormatTrim=am,os.None=Xv,os.OverflowClip=Qv,os.OverflowEllipsis=m0,os.WrapBreakAll=T1,os.WrapDesiredSize=Jv,os.WrapFit=N1;function cf(){this.Tk=1,this.u=0,this.j=1,this.o=this.F=null}cf.prototype.copy=function(){var a=new cf;return a.Tk=this.Tk,a.u=this.u,a.j=this.j,a.F=this.F,a.o=this.o,a},cf.className="GradElementSettings";function Wc(a,y){Pt.call(this),this.Eg=null,this.qo="",this.Xg=Su,this.Nk=Hn,this.Zg=this.Hd=null,this.Mk=Dr,this.Xf=In,this.vl=null,this.qn=!1,this.en=!0,this.al=!1,this.bt=this.rl=null,typeof a=="string"?this.source=a:a&&Object.assign(this,a),y&&Object.assign(this,y)}var wp;_t(Wc,Pt),Wc.prototype.cloneProtected=function(a){Pt.prototype.cloneProtected.call(this,a),a.qo=this.qo,a.element=this.Eg,a.Xg=this.Xg.J(),a.Nk=this.Nk,a.Xf=this.Xf,a.Hd=this.Hd,a.Zg=this.Zg,a.Mk=this.Mk.J(),a.en=this.en,a.rl=this.rl},Wc.prototype.qb=function(a){a===In||a===Ui||a===Ji?this.imageStretch=a:Pt.prototype.qb.call(this,a)},Wc.prototype.toString=function(){return"Picture("+this.source+")#"+fr(this)};function Cp(a){a===void 0&&(a=""),a!==""?wp[a]&&(delete wp[a],S0--):(wp=new Xt,S0=0)}function W1(a,y){y.qy||(y.Fq=function(x){y.sq=!0,y.ln=!1;var E=y.Bg.copy();if(E!=null){for(E=E.iterator;E.next();){var b=E.value;b.N();var z=y.getAttribute("src")||"",ee=b.Og.I(z);if(ee!==null)for(var re=ee.length,oe=0;oe=E.width&&(z=z+Fe.offsetX+(ge*Fe.x-E.width*Fe.x)),Se>=E.height&&(ee=ee+Fe.offsetY+(Se*Fe.y-E.height*Fe.y)),oe=Math.min(E.width,ge),re=Math.min(E.height,Se);break;case Hn:ge=E.width,Se=E.height;break;case Ui:case Ji:we===Ui?(we=Math.min(E.height/Se,E.width/ge),ge*=we,Se*=we):we===Ji&&(we=Math.max(E.height/Se,E.width/ge),ge*=we,Se*=we,ge>=E.width&&(z=(z+Fe.offsetX+(ge*Fe.x-E.width*Fe.x)/ge)*oe),Se>=E.height&&(ee=(ee+Fe.offsetY+(Se*Fe.y-E.height*Fe.y)/Se)*re),oe*=1/(ge/E.width),re*=1/(Se/E.height),ge=E.width,Se=E.height)}we=this.Df()*y.scale;var Ne=ge*we*Se*we,Je=oe*re/Ne,Ge=x.__goCache;we=null;var nt=Mx;if(!b){if(x.sq&&Ge!==void 0&&4nt*nt)for(Ge.gi===null&&(z1(Ge,4,se,ce,x),z1(Ge,16,se,ce,x)),b=Ge.gi,se=b.length,ce=0;cea)&&(a=5),a=Math.min(a,y/3),a=Math.min(a,x/3);var E="rr"+y+","+x+","+a,b=Bt.Mf[E];if(b!==void 0)return b;var z=a*Bt.wg;return b=new li().add(new el(a,0,!0).add(new Uo(Oa,y-a,0)).add(new Uo(ml,y,a,y-z,0,y,z)).add(new Uo(Oa,y,x-a)).add(new Uo(ml,y-a,x,y,x-z,y-z,x)).add(new Uo(Oa,a,x)).add(new Uo(ml,0,x-a,z,x,0,x-z)).add(new Uo(Oa,0,a)).add(new Uo(ml,a,0,0,z,z,0).close())),1b.x&&a.y>b.y&&a.rightb.x&&y.y>b.y&&y.right=x.maxSelectionCount)){this.G^=4096;var E=!1;if(x!==null){E=x.skipsUndoManager,x.skipsUndoManager=!0;var b=x.selection;b.ka(),a?b.add(this):b.remove(this),b.freeze()}this.g("isSelected",y,a),this.Wb(),a=this.selectionChanged,a!==null&&a(this),x!==null&&(x.$b(),x.skipsUndoManager=E)}}}},isHighlighted:{get:function(){return(this.G&524288)!==0},set:function(a){var y=(this.G&524288)!==0;if(y!==a){this.G^=524288;var x=this.diagram;x!==null&&(x=x.highlighteds,x.ka(),a?x.add(this):x.remove(this),x.freeze()),this.g("isHighlighted",y,a),this.N(),a=this.highlightedChanged,a!==null&&a(this)}}},isShadowed:{get:function(){return(this.G&8192)!==0},set:function(a){var y=(this.G&8192)!==0;y!==a&&(this.G^=8192,this.Uc=!0,this.g("isShadowed",y,a),this.N())}},isAnimated:{get:function(){return(this.G&262144)!==0},set:function(a){var y=(this.G&262144)!==0;y!==a&&(this.G^=262144,this.g("isAnimated",y,a))}},highlightedChanged:{get:function(){return this.P!==null?this.P.oq:null},set:function(a){var y=this.highlightedChanged;y!==a&&(jc(this),this.P.oq=a,this.g("highlightedChanged",y,a))}},selectionObjectName:{get:function(){return this.P!==null?this.P.vr:""},set:function(a){var y=this.selectionObjectName;y!==a&&(jc(this),this.P.vr=a,this.Ug=null,this.g("selectionObjectName",y,a))}},selectionAdornmentTemplate:{get:function(){return this.P!==null?this.P.tr:null},set:function(a){var y=this.selectionAdornmentTemplate;y!==a&&(jc(this),this.P.tr=a,this.g("selectionAdornmentTemplate",y,a))}},selectionObject:{get:function(){if(this.Ug===null){var a=this.selectionObjectName;a!==null&&a!==""?(a=this.fb(a),a!==null?this.Ug=a:this.Ug=this):this instanceof ai?(a=this.path,a!==null?this.Ug=a:this.Ug=this):this.Ug=this}return this.Ug}},selectionChanged:{get:function(){return this.P!==null?this.P.ur:null},set:function(a){var y=this.selectionChanged;y!==a&&(jc(this),this.P.ur=a,this.g("selectionChanged",y,a))}},resizeAdornmentTemplate:{get:function(){return this.P!==null?this.P.fr:null},set:function(a){var y=this.resizeAdornmentTemplate;y!==a&&(jc(this),this.P.fr=a,this.g("resizeAdornmentTemplate",y,a))}},resizeObjectName:{get:function(){return this.P!==null?this.P.hr:""},set:function(a){var y=this.resizeObjectName;y!==a&&(jc(this),this.P.hr=a,this.g("resizeObjectName",y,a))}},resizeObject:{get:function(){var a=this.resizeObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},resizeCellSize:{get:function(){return this.P!==null?this.P.gr:Ls},set:function(a){var y=this.resizeCellSize;y.D(a)||(a=a.J(),jc(this),this.P.gr=a,this.g("resizeCellSize",y,a))}},rotateAdornmentTemplate:{get:function(){return this.P!==null?this.P.ir:null},set:function(a){var y=this.rotateAdornmentTemplate;y!==a&&(jc(this),this.P.ir=a,this.g("rotateAdornmentTemplate",y,a))}},rotateObjectName:{get:function(){return this.P!==null?this.P.jr:""},set:function(a){var y=this.rotateObjectName;y!==a&&(jc(this),this.P.jr=a,this.g("rotateObjectName",y,a))}},rotateObject:{get:function(){var a=this.rotateObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},rotationSpot:{get:function(){return this.P!==null?this.P.lr:Zl},set:function(a){var y=this.rotationSpot;y.D(a)||(a=a.J(),jc(this),this.P.lr=a,this.g("rotationSpot",y,a))}},text:{get:function(){return this.ec},set:function(a){var y=this.ec;y!==a&&(this.ec=a,this.g("text",y,a))}},containingGroup:{get:function(){return this.Ah},set:function(a){if(this.Zc()){var y=this.Ah;if(y!==a){a===null||this!==a&&!a.Td(this)||(this===a&&Et("Cannot make a Group a member of itself: "+this.toString()),Et("Cannot make a Group indirectly contain itself: "+this.toString()+" already contains "+a.toString())),this.C(2);var x=this.diagram;if(y!==null?hy(y,this):this instanceof Gr&&x!==null&&x.ai.remove(this),this.Ah=a,a!==null?dy(a,this):this instanceof Gr&&x!==null&&x.ai.add(this),this.C(1),x!==null&&x.aa){var E=this.data,b=x.model;if(E!==null&&b.Xj()){var z=b.wa(a!==null?a.data:null);b.mp(E,z)}}if(E=this.containingGroupChanged,E!==null&&(b=!0,x!==null&&(b=x.aa,x.aa=!0),E(this,y,a),x!==null&&(x.aa=b)),this instanceof Gr){for(x=new Rn,ug(x,this,!0,0,!0),x=x.iterator;x.next();)if(E=x.value,E instanceof Fi)for(E=E.linksConnected;E.next();)bp(E.value)}if(this instanceof Fi){for(x=this.linksConnected;x.next();)bp(x.value);x=this.labeledLink,x!==null&&bp(x)}this.g("containingGroup",y,a),a!==null&&(y=a.layer,y!==null&&jh(y,-1,a))}}else Et("cannot set the Part.containingGroup of a Link or Adornment")}},containingGroupChanged:{get:function(){return this.P!==null?this.P.Kp:null},set:function(a){var y=this.containingGroupChanged;y!==a&&(jc(this),this.P.Kp=a,this.g("containingGroupChanged",y,a))}},isTopLevel:{get:function(){return!(this.containingGroup!==null||this instanceof Fi&&this.labeledLink!==null)}},layoutConditions:{get:function(){return this.P!==null?this.P.Cq:127},set:function(a){var y=this.layoutConditions;y!==a&&(jc(this),this.P.Cq=a,this.g("layoutConditions",y,a))}},dragComputation:{get:function(){return this.P!==null?this.P.Up:null},set:function(a){var y=this.dragComputation;y!==a&&(jc(this),this.P.Up=a,this.g("dragComputation",y,a))}},shadowOffset:{get:function(){return this.P!==null?this.P.zr:qi},set:function(a){var y=this.shadowOffset;y.D(a)||(a=a.J(),jc(this),this.P.zr=a,this.N(),this.g("shadowOffset",y,a))}},shadowColor:{get:function(){return this.P!==null?this.P.yr:"gray"},set:function(a){var y=this.shadowColor;y!==a&&(jc(this),this.P.yr=a,this.N(),this.g("shadowColor",y,a))}},shadowBlur:{get:function(){return this.P!==null?this.P.Vg:4},set:function(a){var y=this.shadowBlur;y!==a&&(jc(this),this.P.Vg=a,this.N(),this.g("shadowBlur",y,a))}}}),ar.prototype.invalidateLayout=ar.prototype.C,ar.prototype.findCommonContainingGroup=ar.prototype.px,ar.prototype.isMemberOf=ar.prototype.Td,ar.prototype.findTopLevelPart=ar.prototype.sz,ar.prototype.findSubGraphLevel=ar.prototype.oz,ar.prototype.ensureBounds=ar.prototype.Va,ar.prototype.getDocumentBounds=ar.prototype.mi,ar.prototype.findObject=ar.prototype.fb,ar.prototype.moveTo=ar.prototype.moveTo,ar.prototype.invalidateAdornments=ar.prototype.Wb,ar.prototype.clearAdornments=ar.prototype.Ej,ar.prototype.removeAdornment=ar.prototype.Jf,ar.prototype.addAdornment=ar.prototype.bh,ar.prototype.findAdornment=ar.prototype.Pj,ar.prototype.updateTargetBindings=ar.prototype.La;var q1=!1;ar.className="Part",ar.LayoutNone=0,ar.LayoutAdded=1,ar.LayoutRemoved=2,ar.LayoutShown=4,ar.LayoutHidden=8,ar.LayoutNodeSized=16,ar.LayoutGroupLayout=32,ar.LayoutNodeReplaced=64,ar.LayoutStandard=127,ar.LayoutAll=16777215;function na(a,y){a===void 0||a instanceof Ql||typeof a=="string"?ar.call(this,a):(ar.call(this),a&&(y=a)),this.G&=-257,this.Jg="Adornment",this.ue=null,this.Aw=0,this.Uw=!1,this.j=this.$a=null,y&&Object.assign(this,y)}_t(na,ar),na.prototype.toString=function(){var a=this.adornedPart;return"Adornment("+this.category+")"+(a!==null?a.toString():"")},na.prototype.updateRelationshipsFromData=function(){},na.prototype.Ul=function(a){var y=this.adornedObject,x=y==null?void 0:y.part;if(x instanceof ai&&y instanceof io){y=x.path,x.Ul(a),a=y.geometry,x=this.O.s,y=x.length;for(var E=0;Ea&&(a=1);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new Rn;x.add(this),aS(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===ih),y.Ue=!1}};function aS(a,y,x,E,b,z,ee){if(1a&&(a=2);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new Rn;x.add(this),lS(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===ih),y.Ue=!1}};function lS(a,y,x,E,b,z,ee){for(var re=z===a?!1:a.isTreeExpanded,oe=x?a.Mo():a.Sd(),se={};oe.next();){var ce=oe.value;if(ce.isTreeLink&&(re||ce.fd||ce.bb(),ce=ce.To(a),ce!==null&&ce!==a&&!y.contains(ce))){if(y.add(ce),!re){ce.Zb(!0),ce.oh();var ge=x?ce.Oo():ce.Po();se.vv=a,ge.all(function(Se){return function(we){return we===Se.vv||!we.isTreeExpanded}}(se))&&b.Cj(ce,z)}(2b&&(b=re.right),re.bottom>z&&(z=re.bottom)}}return isFinite(x)&&isFinite(E)?a.h(x,E,b-x,z-E):(y=y.location,a.h(y.x,y.y,0,0)),a},Rt.Object.defineProperties(xc.prototype,{padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new ao(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.g("padding",y,a),this.v())}}}),xc.className="Placeholder";function ai(a){ar.call(this,$n.Link),this.Qa=8,this.ef=null,this.ff="",this.uf=this.gn=null,this.vf="",this.uo=null,this.qk=Ec,this.Om=0,this.Qm=Ec,this.Rm=NaN,this.qj=vy,this.po=.5,this.wd=null,this.Nb=new ln().freeze(),this.Tg=this.Mg=null,this.ml=new nn,this.ua=new li,this.u=this.o=this.Sf=this.Wf=null,this.su=new Ze,this.cq=this.Mw=this.Lw=null,this.vt=NaN,this.ba=null,this.j=[],a&&Object.assign(this,a)}_t(ai,ar),ai.prototype.cloneProtected=function(a){ar.prototype.cloneProtected.call(this,a),a.Qa=this.Qa&-113,a.ff=this.ff,a.gn=this.gn,a.vf=this.vf,a.uo=this.uo,a.qk=this.qk,a.Om=this.Om,a.Qm=this.Qm,a.Rm=this.Rm,a.qj=this.qj,a.po=this.po,this.ba!==null&&(a.ba=this.ba.copy())},Be=ai.prototype,Be.Af=function(a){ar.prototype.Af.call(this,a),this.ff=a.ff,this.vf=a.vf,a.Mg=null,a.bb(),a.Sf=this.Sf;var y=a.fromPort;y!==null&&rd(y),a=a.toPort,a!==null&&rd(a)},Be.qb=function(a){a.classType===ai?(a.value&2)===2?this.routing=a:a===vd||a===Vf||a===Dp?this.curve=a:a===dm||a===k0||a===N0?this.adjusting=a:a!==vy&&a!==Ec&&Et("Unknown Link enum value for a Link property: "+a):ar.prototype.qb.call(this,a)},Be.Xc=function(){this.ba===null&&(this.ba=new Xr)},Be.si=function(){var a=this.fromNode;if(a!==null){var y=a.findVisibleNode();if(y!==null&&(a=y),ct(a)||sg(a))return!1}return a=this.toNode,!(a!==null&&(y=a.findVisibleNode(),y!==null&&(a=y),ct(a)||sg(a)))},Be.zv=function(){return!1},Be.Av=function(){},Be.Zc=function(){return!1},ai.prototype.computeAngle=function(a,y,x){return ai.computeAngle(y,x)},ai.computeAngle=function(a,y){switch(a){default:case Ec:a=0;break;case hm:a=y;break;case fm:a=y+90;break;case gm:a=y-90;break;case yy:a=y+180;break;case T0:a=Bt.bp(y),90a&&(a-=180);break;case pm:a=Bt.bp(y+90),90a&&(a-=180);break;case mm:a=Bt.bp(y-90),90a&&(a-=180);break;case O0:if(a=Bt.bp(y),45a||225a)return 0;90a&&(a-=180)}return Bt.bp(a)};function bp(a){var y=a.fromNode,x=a.toNode,E=null;if(y!==null?E=x!==null?y.px(x):y.containingGroup:x!==null?E=x.containingGroup:E=null,y=E,x=a.Ah,x!==y){x!==null&&hy(x,a),a.Ah=y,y!==null&&dy(y,a);var b=a.containingGroupChanged;if(b!==null){var z=!0,ee=a.diagram;ee!==null&&(z=ee.aa,ee.aa=!0),b(a,x,y),ee!==null&&(ee.aa=z)}!a.fd||a.Lw!==x&&a.Mw!==x||a.bb()}if(a.isLabeledLink)for(a=a.labelNodes;a.next();)a.value.containingGroup=E}Be=ai.prototype,Be.oh=function(){var a=this.containingGroup;a!==null&&this.fromNode!==a&&this.toNode!==a&&a.computesBoundsIncludingLinks&&ar.prototype.oh.call(this)},Be.To=function(a){var y=this.fromNode;return a===y?this.toNode:y},Be.Cz=function(a){var y=this.fromPort;return a===y?this.toPort:y};function dS(a,y){a.wd===null&&(a.wd=new Rn),a.wd.add(y),a.v()}Be.Vo=function(a){if(ar.prototype.Vo.call(this,a),Og(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,C0(a,this,y));var x=this.uf;if(x!==null){var E=this.toPort;x===a&&E===y||C0(x,this,E)}um(this)}},Be.Wo=function(a){if(ar.prototype.Wo.call(this,a),Og(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,A0(a,this,y));var x=this.uf;if(x!==null){var E=this.toPort;x===a&&E===y||A0(x,this,E)}cm(this)}},Be.Lj=function(){if(this.fd=!0,this.wd!==null){var a=this.diagram;if(a!==null)for(var y=this.wd.copy().iterator;y.next();)a.remove(y.value)}this.data!==null&&(a=this.diagram,a!==null&&a.partManager.removeDataForLink(this))},ai.prototype.updateRelationshipsFromData=function(){if(this.data!==null){var a=this.diagram;a!==null&&a.partManager.updateRelationshipsFromData(this)}},ai.prototype.move=function(a,y){var x=y?this.location:this.position,E=x.x;isNaN(E)&&(E=0);var b=x.y;for(isNaN(b)&&(b=0),E=a.x-E,b=a.y-b,y===!0?ar.prototype.move.call(this,a,!1):(a=Ze.allocAt(x.x+E,x.y+b),ar.prototype.move.call(this,a,!1),Ze.free(a)),zf(this,E,b),a=this.labelNodes;a.next();)y=a.value,x=y.position,y.moveTo(x.x+E,x.y+b)},ai.prototype.canRelinkFrom=function(){if(!this.relinkableFrom)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},ai.prototype.canRelinkTo=function(){if(!this.relinkableTo)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},ai.prototype.computeMidPoint=function(a){var y=this.pointsCount;if(y===0)return a.assign(Qi),a;if(y===1)return a.assign(this.i(0)),a;if(y===2){var x=this.i(0),E=this.i(1);return a.h((x.x+E.x)/2,(x.y+E.y)/2),a}if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===vd))return this.ua.Pu(.5,a),a.add(this.i(0)),x=this.ua.figures.first(),a.offset(-x.startX,-x.startY),a;if(this.computeCurve()===vd){if(y===3){x=this.i(0),E=this.i(1);var b=this.i(2);return Bt.ax(x.x,x.y,E.x,E.y,E.x,E.y,b.x,b.y,a),a}if(E=(y-1)/3|0,x=3*(E/2|0),E%2===1){E=this.i(x),b=this.i(x+1);var z=this.i(x+2);x=this.i(x+3),Bt.ax(E.x,E.y,b.x,b.y,z.x,z.y,x.x,x.y,a)}else a.assign(this.i(x));return a}var ee=this.flattenedLengths;for(x=this.flattenedTotalLength,b=z=E=0;Ex/2));)E+=b,z++;return y=this.i(z),z=this.i(z+1),1>Math.abs(y.x-z.x)?y.y>z.y?a.h(y.x,y.y-(x/2-E)):a.h(y.x,y.y+(x/2-E)):1>Math.abs(y.y-z.y)?y.x>z.x?a.h(y.x-(x/2-E),y.y):a.h(y.x+(x/2-E),y.y):(x=(x/2-E)/b,a.h(y.x+x*(z.x-y.x),y.y+x*(z.y-y.y))),a},ai.prototype.computeMidAngle=function(){var a=this.pointsCount;if(2>a)return NaN;if(a===2)return this.i(0).ab(this.i(1));if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===vd))return this.ua.wx(.5);if(this.computeCurve()===vd&&4<=a){var y=(a-1)/3|0,x=3*(y/2|0);if(y%2===1){x=Math.floor(x),a=this.i(x),y=this.i(x+1);var E=this.i(x+2);return x=this.i(x+3),Bt.My(a.x,a.y,y.x,y.y,E.x,E.y,x.x,x.y)}if(0E/2));)b+=z,x++;if(y=this.i(x),E=this.i(x+1),1>Math.abs(y.x-E.x)&&1>Math.abs(y.y-E.y)){if(0Math.abs(y.x-E.x))return y.y>E.y?270:90;if(1>Math.abs(y.y-E.y))return y.x>E.x?180:0}return y.ab(E)},Be=ai.prototype,Be.i=function(a){return this.Nb.s[a]},Be.dd=function(a,y){this.Nb.cd(a,y)},Be.L=function(a,y,x){this.Nb.cd(a,new Ze(y,x))},Be.Kz=function(a,y){this.Nb.Gb(a,y)},Be.m=function(a,y,x){this.Nb.Gb(a,new Ze(y,x))},Be.ne=function(a){this.Nb.add(a)},Be.yf=function(a,y){this.Nb.add(new Ze(a,y))},Be.pv=function(a){this.Nb.mb(a)},Be.Fj=function(){this.Nb.clear()};function zf(a,y,x){if(y!==0||x!==0)if(a.pointsCount===0)a.defaultFromPoint&&a.defaultFromPoint.offset(y,x),a.defaultToPoint&&a.defaultToPoint.offset(y,x);else{for(var E=a.fd,b=new ln,z=a.Nb.iterator;z.next();){var ee=z.value;b.add(new Ze(ee.x+y,ee.y+x).freeze())}b.freeze(),z=a.Nb,a.Nb=b,ee=a.diagram,isNaN(y)||isNaN(x)||ee!==null&&ee.animationManager.zb?a.v():(a.ke.h(a.ke.x+y,a.ke.y+x),a.pa.h(a.pa.x+y,a.pa.y+x),Wu(a)),E?b0(a):(a.defaultFromPoint&&(a.defaultFromPoint=a.i(0)),a.defaultToPoint&&(a.defaultToPoint=a.i(a.pointsCount-1))),ee!==null&&ee.animationManager.zb&&$d(ee.animationManager,a,b),a.g("points",z,b)}}Be.uh=function(){this.Mg===null&&(this.Mg=this.Nb,this.Nb=this.Nb.copy())},Be.zf=function(){if(this.Mg!==null){for(var a=this.Mg,y=this.Nb,x=1/0,E=1/0,b=a.s,z=b.length,ee=0;eese&&(ge=-ge),Ne=(0>oe?-1:1)*ge+we,Je=ce*(Ne-we)+Fe),we=z.x+2*re/3,Fe=z.y+2*oe/3;var Ge=we,nt=Fe;Bt.B(oe,0)?nt=0oe?-1:1)*ge+we,nt=ce*(Ge-we)+Fe),this.Fj(),this.ne(z),this.yf(Ne,Je),this.yf(Ge,nt),this.ne(Se),this.dd(0,this.getLinkPoint(a,y,ee,!0,!1,E,b)),this.dd(3,this.getLinkPoint(E,b,x,!1,!1,a,y))}else z=E,Se=b,E=this.getLinkPoint(a,y,ee,!0,!1,z,Se),b=this.getLinkPoint(z,Se,x,!1,!1,a,y),this.hasCurviness()?(Se=b.x-E.x,x=b.y-E.y,ee=this.computeCurviness(),a=E.x+Se/2,y=E.y+x/2,z=a,re=y,Bt.B(x,0)?re=0ee&&(z=-z),z=(0>x?-1:1)*z+a,re=Se*(z-a)+y),this.ne(E),this.yf(z,re),this.ne(b)):(this.ne(E),this.ne(b),re=nn.alloc(),y.mi(re),oe=re.ca(b),Se.mi(re),se=re.ca(E),(oe||se)&&(ee=y.ga(D0(ee),new Ze),this.dd(0,this.getLinkPointFromPoint(a,y,ee,b,!0,ee)),x=Se.ga(D0(x),new Ze),this.dd(1,this.getLinkPointFromPoint(z,Se,x,E,!1,x))),nn.free(re))}else{ge=this.isAvoiding,Se&&(ce&&ge||se)&&this.Fj();var at=se?this.computeCurviness():0;ge=this.getLinkPoint(a,y,ee,!0,ce,E,b),we=Ne=Fe=0,(ce||!re||se)&&(Je=this.computeEndSegmentLength(a,y,ee,!0),we=this.getLinkDirection(a,y,ge,ee,!0,ce,E,b),se&&(re||ee.D(x)||!ce&&ee.x+x.x===1&&ee.y+x.y===1)&&(we-=ce?90:30,0>at&&(we-=180)),0>we?we+=360:360<=we&&(we-=360),se&&(Je+=Math.abs(at)*(ce?1:2)),we===0?Fe=Je:we===90?Ne=Je:we===180?Fe=-Je:we===270?Ne=-Je:(Fe=Je*Math.cos(we*Math.PI/180),Ne=Je*Math.sin(we*Math.PI/180)),ee.Mc()&&se&&(Je=y.ga(Dr,Ze.alloc()),Ge=Ze.allocAt(Je.x+1e3*Fe,Je.y+1e3*Ne),this.getLinkPointFromPoint(a,y,Je,Ge,!0,ge),Ze.free(Je),Ze.free(Ge))),Je=this.getLinkPoint(E,b,x,!1,ce,a,y);var ft=nt=Ge=0;if(ce||!oe||se){var Ct=this.computeEndSegmentLength(E,b,x,!1);ft=this.getLinkDirection(E,b,Je,x,!1,ce,a,y),se&&(oe||ee.D(x)||!ce&&ee.x+x.x===1&&ee.y+x.y===1)&&(ft+=ce?0:30,0>at&&(ft+=180)),0>ft?ft+=360:360<=ft&&(ft-=360),se&&(Ct+=Math.abs(at)*(ce?1:2)),ft===0?Ge=Ct:ft===90?nt=Ct:ft===180?Ge=-Ct:ft===270?nt=-Ct:(Ge=Ct*Math.cos(ft*Math.PI/180),nt=Ct*Math.sin(ft*Math.PI/180)),x.Mc()&&se&&(x=b.ga(Dr,Ze.alloc()),ee=Ze.allocAt(x.x+1e3*Ge,x.y+1e3*nt),this.getLinkPointFromPoint(E,b,x,ee,!1,Je),Ze.free(x),Ze.free(ee))}x=ge,(ce||!re||se)&&(x=new Ze(ge.x+Fe,ge.y+Ne)),ee=Je,(ce||!oe||se)&&(ee=new Ze(Je.x+Ge,Je.y+nt)),!Se&&!ce&&re&&3Math.abs(y.y-a.y)?(y.x>=a.x?y.x=a.x+9e9:y.x=a.x-9e9,y.y=a.y):(y.y>=a.y?y.y=a.y+9e9:y.y=a.y-9e9,y.x=a.x),y}ai.prototype.getLinkPointFromPoint=function(a,y,x,E,b,z){if(z===void 0&&(z=new Ze),a===null||y===null)return z.assign(x),z;if(a.isVisible()||(b=a.findVisibleNode(),b!==null&&b!==a&&(y=b.port)),a=null,b=y.panel,b===null||b.se()||(b=b.panel),b===null){b=E.x,E=E.y;var ee=x.x;x=x.y}else{a=b.oe,b=1/(a.m11*a.m22-a.m12*a.m21),ee=a.m22*b;var re=-a.m12*b,oe=-a.m21*b,se=a.m11*b,ce=b*(a.m21*a.dy-a.m22*a.dx),ge=b*(a.m12*a.dx-a.m11*a.dy);b=E.x*ee+E.y*oe+ce,E=E.x*re+E.y*se+ge,ee=x.x*ee+x.y*oe+ce,x=x.x*re+x.y*se+ge}return y.Sj(b,E,ee,x,z),a!==null&&z.transform(a),z};function B0(a,y){var x=y.Zn;return x===null&&(x=new tp,x.port=y,x.node=y.part,y.Zn=x),SS(x,a)}ai.prototype.getLinkPoint=function(a,y,x,E,b,z,ee,re){if(re===void 0&&(re=new Ze),x.sb()&&!Bp(x))return y.ga(x,re),re;if(x.$c()){var oe=B0(this,y);if(oe!==null){if(re.assign(oe.Zo),b&&this.routing===fS){var se=B0(this,ee);if(se!==null&&oe.Gl=ce.y&&a.y<=ce.y+ce.height?re.y=a.y:(x.Hf(ic)||x.Hf(Gl))&&a.x>=ce.x&&a.x<=ce.x+ce.width&&(re.x=a.x),Ze.free(oe),Ze.free(se)}}return re}}return x=y.ga(D0(x),Ze.alloc()),this.pointsCount>(b?6:2)?(ee=E?this.i(1):this.i(this.pointsCount-2),b&&(ee=fy(x,ee.copy()))):(oe=this.computeSpot(!E,ee),z=Ze.alloc(),ee=ee.ga(D0(oe),z),b&&(ee=fy(x,ee)),Ze.free(z)),this.getLinkPointFromPoint(a,y,x,ee,E,re),Ze.free(x),re},ai.prototype.getLinkDirection=function(a,y,x,E,b,z,ee,re){e:if(E.sb())var oe=E.x>E.y?E.x>1-E.y?0:E.x<1-E.y?270:315:E.x1-E.y?90:E.x<1-E.y?180:135:.5>E.x?225:.5(z?6:2)?(re=b?this.i(1):this.i(this.pointsCount-2),re=z?fy(oe,re.copy()):x):(x=Ze.alloc(),re=re.ga(Dr,x),Ze.free(x)),x=Math.abs(re.x-oe.x)>Math.abs(re.y-oe.y)?re.x>=oe.x?0:180:re.y>=oe.y?90:270,Ze.free(oe),oe=x}return E.Mc()&&ee.Td(a)&&(oe+=180,360<=oe&&(oe-=360)),Bp(E)||(a=y.li(),a===0)||(45<=a&&135>a?oe+=90:135<=a&&225>a?oe+=180:225<=a&&315>a&&(oe+=270),360<=oe&&(oe-=360)),oe},ai.prototype.computeEndSegmentLength=function(a,y,x,E){return y!==null&&x.$c()&&(a=B0(this,y),a!==null)?a.Ju:(a=E?this.fromEndSegmentLength:this.toEndSegmentLength,y!==null&&isNaN(a)&&(a=E?y.fromEndSegmentLength:y.toEndSegmentLength),isNaN(a)&&(a=10),a)},ai.prototype.computeSpot=function(a,y){return y===void 0&&(y=null),a?(a=y||this.fromPort,a===null?a=Dr:(y=this.fromSpot,y.Xb()&&(y=a.fromSpot),a=y===Zl?il:y)):(a=y||this.toPort,a===null?a=Dr:(y=this.toSpot,y.Xb()&&(y=a.toSpot),a=y===Zl?il:y)),a};function Bp(a){return a===il||a.x===.5&&a.y===.5}function D0(a){return a.x===.5&&a.y===.5?a:Dr}ai.prototype.computeOtherPoint=function(a,y){return this.computeAdjusting()!==Ec&&4Se.width||ge.y>Se.height||0>ge.x+ge.width||0>ge.y+ge.height)){if(ge=qr.alloc(),ge.set(ee),ce instanceof $n)re=ce.Cf(a,y,x,E,b,ge);else if(this.path===ce){if(ce instanceof io)if(re=a,Se=E,ce.pickable===!1)re=!1;else if(ge.multiply(ce.transform),Se)e:{var we=re,Fe=ge;if(ce.fh(we,Fe))re=!0;else{if(Fe===void 0&&(Fe=ce.transform,we.Re(ce.actualBounds))){re=!0;break e}re=we.left,Se=we.right;var Ne=we.top;we=we.bottom;var Je=Ze.alloc(),Ge=Ze.alloc(),nt=Ze.alloc(),at=qr.alloc();at.set(Fe),at.bv(ce.transform),at.Vj(),Ge.x=Se,Ge.y=Ne,Ge.transform(at),Je.x=re,Je.y=Ne,Je.transform(at),Fe=!1,Ng(ce,Je,Ge,nt)?Fe=!0:(Je.x=Se,Je.y=we,Je.transform(at),Ng(ce,Je,Ge,nt)?Fe=!0:(Ge.x=re,Ge.y=we,Ge.transform(at),Ng(ce,Je,Ge,nt)?Fe=!0:(Je.x=re,Je.y=Ne,Je.transform(at),Ng(ce,Je,Ge,nt)&&(Fe=!0)))),qr.free(at),Ze.free(Je),Ze.free(Ge),Ze.free(nt),re=Fe}}else re=ce.fh(re,ge)}else re=ws(ce,a,E,ge);re&&(Se=ce,y!==null&&(Se=y(ce)),Se&&(x===null||x(Se))&&b.add(Se)),qr.free(ge)}}}return z===void 0&&qr.free(ee),re||this.background!==null||this.areaBackground!==null}return z===void 0&&qr.free(ee),!1},ai.prototype.computeCurve=function(){if(this.Wf===null){var a=this.fromPort,y=this.isOrthogonal;this.Wf=a!==null&&a===this.toPort&&!y}return this.Wf?vd:this.curve},ai.prototype.computeCorner=function(){if(this.curve===vd)return 0;var a=this.corner;return(isNaN(a)||0>a)&&(a=10),a},ai.prototype.findMidLabel=function(){for(var a=this.path,y=this.O.s,x=y.length,E=0;Eoe?-Math.PI/2:Math.PI/2;else ce=Math.atan(oe/Math.abs(re)),0>re&&(ce=Math.PI-ce);ee=y.x;var ge=y.y;re=E.x-ee;var Se=E.y-ge;for(oe=Math.sqrt(re*re+Se*Se),Bt.$(re,0)?Se=0>Se?-Math.PI/2:Math.PI/2:(Se=Math.atan(Se/Math.abs(re)),0>re&&(Se=Math.PI-Se)),se=oe/se,ce=Se-ce,this.dd(a,y),a+=1;aoe?-Math.PI/2:Math.PI/2:(oe=Math.atan(oe/Math.abs(re)),0>re&&(oe=Math.PI-oe)),re=oe+ce,y*=se,this.L(a,ee+y*Math.cos(re),ge+y*Math.sin(re)));this.dd(x,E)}}return!0;case N0:if(z=this.i(a),ge=this.i(x),!z.Xa(y)||!ge.Xa(E)){b=z.x,z=z.y,ee=ge.x,ge=ge.y,se=(ee-b)*(ee-b)+(ge-z)*(ge-z),re=y.x,ce=y.y,oe=E.x,Se=E.y;var we=1;if(oe-re!==0){var Fe=(Se-ce)/(oe-re);we=Math.sqrt(1+1/(Fe*Fe))}else Fe=9e9;for(this.dd(a,y),a+=1;ay?y+=360:360<=y&&(y-=360),0>E?E+=360:360<=E&&(E-=360);var ee=E;y=315<=y||45>y?0:45<=y&&135>y?90:135<=y&&225>y?180:270,E=315<=E||45>E?0:45<=E&&135>E?90:135<=E&&225>E?180:270;var re=b.actualBounds.copy(),oe=z.actualBounds.copy();if(re.w()&&oe.w()){re.Bc(vm,vm),oe.Bc(vm,vm),re.Ye(a),oe.Ye(x);var se=Ze.alloc(),ce=Ze.alloc();y===0?x.x>a.x||E===270&&x.ya.x||E===90&&x.y>a.y&&oe.right>a.x?(se.h(x.x,a.y),ce.h(x.x,(a.y+x.y)/2),E===180?(se.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1),ce.x=se.x,ce.y=x.y):E===270&&x.ya.y?(se.x=a.xoe.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):oe.right,ce.x=se.x,ce.y=x.y):E===0&&a.xoe.top&&a.yre.bottom)&&(E===180&&(oe.ca(a)||re.ca(x))?se.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.ya.y&&(E===180||E===270)&&(se.y=this.computeMidOrthoPosition(a.x,re.bottom,x.x,Math.min(x.y,oe.top),!0)),ce.x=x.x,ce.y=se.y),se.y>re.top&&se.y=re.left&&x.x<=a.x||a.x<=oe.right&&a.x>=x.x?(E===90||E===270)&&(se.h(Math.max((a.x+x.x)/2,a.x),a.y),ce.h(se.x,x.y)):(se.y=E===270||(E===0||E===180)&&x.ya.y&&oe.lefta.y?(se.x=a.x>oe.right?this.computeMidOrthoPosition(a.x,a.y,oe.right,x.y,!1):a.x>oe.left&&(E===270&&a.yoe.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):oe.left,ce.x=se.x,ce.y=x.y):E===180&&a.x>oe.right&&a.y>oe.top&&a.yre.bottom)&&(E===0&&(oe.ca(a)||re.ca(x))?se.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.ya.y&&(E===0||E===270)&&(se.y=this.computeMidOrthoPosition(a.x,re.bottom,x.x,Math.min(x.y,oe.top),!0)),ce.x=x.x,ce.y=se.y),se.y>re.top&&se.y=a.x||a.x>=oe.left&&a.x<=x.x?(E===90||E===270)&&(se.h(Math.min((a.x+x.x)/2,a.x),a.y),ce.h(se.x,x.y)):(se.y=E===270||(E===0||E===180)&&x.ya.y||E===180&&x.xa.y||E===0&&x.x>a.x&&oe.bottom>a.y?(se.h(a.x,x.y),ce.h((a.x+x.x)/2,x.y),E===270?(se.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0),ce.x=x.x,ce.y=se.y):E===180&&x.xa.x?(se.y=a.yoe.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):oe.bottom,ce.x=x.x,ce.y=se.y):E===90&&a.yoe.left&&a.xre.right)&&(E===270&&(oe.ca(a)||re.ca(x))?se.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.xa.x&&(E===270||E===180)&&(se.x=this.computeMidOrthoPosition(re.right,a.y,Math.min(x.x,oe.left),x.y,!1)),ce.x=se.x,ce.y=x.y),se.x>re.left&&se.x=re.top&&x.y<=a.y||a.y<=oe.bottom&&a.y>=x.y?(E===0||E===180)&&(se.h(a.x,Math.max((a.y+x.y)/2,a.y)),ce.h(x.x,se.y)):(se.x=E===180||(E===90||E===270)&&x.xa.x&&oe.top=a.x?(se.y=a.y>oe.bottom?this.computeMidOrthoPosition(a.x,a.y,x.x,oe.bottom,!0):a.y>oe.top&&(E===180&&a.xoe.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):oe.top,ce.x=x.x,ce.y=se.y):E===270&&a.y>oe.bottom&&a.x>oe.left&&a.xre.right)&&(E===90&&(oe.ca(a)||re.ca(x))?se.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.xa.x&&(E===90||E===180)&&(se.x=this.computeMidOrthoPosition(re.right,a.y,Math.min(x.x,oe.left),x.y,!1)),ce.x=se.x,ce.y=x.y),se.x>re.left&&se.x=a.y||a.y>=oe.top&&a.y<=x.y?(E===0||E===180)&&(se.h(a.x,Math.min((a.y+x.y)/2,a.y)),ce.h(x.x,se.y)):(se.x=E===180||(E===90||E===270)&&x.x=Mp&&(mS(we),re.Bc(we.Ho*we.Hx,we.Go*we.Ix),vS(we,a,y,ge,E,re,!1),oe=df(we,ge.x,ge.y)),!we.abort&&oethis.pointsCount?(y===0||y===180?(re.x=a.x,re.y=ge.y):(re.x=ge.x,re.y=a.y),this.L(2,re.x,re.y),this.m(3,re.x,re.y)):(ee=this.i(3),y===0||y===180?Bt.B(re.x,ee.x)?(re=y===0?Math.max(re.x,a.x):Math.min(re.x,a.x),this.L(2,re,a.y),this.L(3,re,ee.y)):Bt.B(re.y,ee.y)?(Math.abs(a.y-re.y)<=we.Go/2&&(this.L(2,re.x,a.y),this.L(3,ee.x,a.y)),this.m(2,re.x,a.y)):this.L(2,a.x,re.y):(y===90||y===270)&&(Bt.B(re.y,ee.y)?(re=y===90?Math.max(re.y,a.y):Math.min(re.y,a.y),this.L(2,a.x,re),this.L(3,ee.x,re)):Bt.B(re.x,ee.x)?(Math.abs(a.x-re.x)<=we.Ho/2&&(this.L(2,a.x,re.y),this.L(3,a.x,ee.y)),this.m(2,a.x,re.y)):this.L(2,re.x,a.y))),x!==null&&(a=this.i(1),ee=this.i(2),a.x!==ee.x&&a.y!==ee.y?y===0||y===180?this.m(2,a.x,ee.y):this.m(2,ee.x,a.y):y===0||y===180?this.m(2,b.x,x.y):this.m(2,x.x,b.y)),Fe!==null&&(E===0||E===180?this.yf(z.x,Fe.y):this.yf(Fe.x,z.y)),y=!0):y=!1}}}else y=!1;y||(this.ne(se.copy()),this.ne(ce.copy())),Ze.free(se),Ze.free(ce)}},ai.prototype.computeMidOrthoPosition=function(a,y,x,E,b){var z=0;return!this.hasCurviness()||this.computeSpot(!0,this.fromPort).$c()||this.computeSpot(!1,this.toPort).$c()||(z=this.computeCurviness()),b?(y+E)/2+z:(a+x)/2+z};function gy(a){if(a.diagram===null||!a.isAvoiding||!$o(a.diagram))return!1;var y=a.points.s,x=y.length;if(4>x)return!1;a=Ka(a.diagram,!0,a.containingGroup,null);for(var E=1;EIg&&df(y,ce,ge)!==se-1&&(df(y,x-re,E)===se-1?(b=180,ce=x-re,ge=E):df(y,x+re,E)===se-1?(b=0,ce=x+re,ge=E):df(y,x,E-oe)===se-1?(b=270,ce=x,ge=E-oe):df(y,x,E+oe)===se-1&&(b=90,ce=x,ge=E+oe));se>Ig&&df(y,ce,ge)===se-1;)x=ce,E=ge,b===0?ce+=re:b===90?ge+=oe:b===180?ce-=re:ge-=oe,--se;z?se>Ig&&(b===180||b===0?x=Math.floor(x/re)*re+re/2:(b===90||b===270)&&(E=Math.floor(E/oe)*oe+oe/2)):(x=Math.floor(x/re)*re+re/2,E=Math.floor(E/oe)*oe+oe/2),se>Ig&&(z=b,ee=x,ce=E,b===0?(z=90,ce+=oe):b===90?(z=180,ee-=re):b===180?(z=270,ce-=oe):b===270&&(z=0,ee+=re),df(y,ee,ce)===se-1?py(a,y,ee,ce,z,!1,z):(ee=x,ce=E,b===0?(z=270,ce-=oe):b===90?(z=0,ee+=re):b===180?(z=90,ce+=oe):b===270&&(z=180,ee-=re),df(y,ee,ce)===se-1&&py(a,y,ee,ce,z,!1,z))),a.yf(x,E)}ai.prototype.ez=function(a){var y=a.x;a=a.y;for(var x=this.i(0),E=this.i(1),b=Ea(y,a,x.x,x.y,E.x,E.y),z=0,ee=1;eethis.pointsCount?this.lk=!0:this.ua=this.makeGeometry(),a=this.path,a!==null)){a.ua=this.ua;for(var y=this.O.s,x=y.length,E=0;E=y&&(E=y-1),oe=this.i(E),z.x=Math.min(oe.x,z.x),z.y=Math.min(oe.y,z.y);E=z.x,oe=z.y}else{for(oe=0;oeJe?Fe>we?(z.x=Ge-at,z.y=we-at,b.x=Ge+Ne,b.y=we+Ne):(z.x=Ge-at,z.y=we+at,b.x=Ge+Ne,b.y=we-Ne):Fe>we?(z.x=Ge+at,z.y=we-at,b.x=Ge-Ne,b.y=we+Ne):(z.x=Ge+at,z.y=we+at,b.x=Ge-Ne,b.y=we-Ne)),Bt.$(Je,Ge)&&Bt.$(we,Fe)&&(we>Se?(nt>Ge?(z.x=Ge-at,z.y=we-at,b.x=Ge+Ne):(z.x=Ge+at,z.y=we-at,b.x=Ge-Ne),b.y=we+Ne):(nt>Ge?(z.x=Ge-at,z.y=we+at,b.x=Ge+Ne):(z.x=Ge+at,z.y=we+at,b.x=Ge-Ne),b.y=we-Ne)),(Bt.$(Je,Ge)&&Bt.$(Ge,nt)||Bt.$(Se,we)&&Bt.$(we,Fe))&&(Je=.5*(Je+nt),Se=.5*(Se+Fe),z.x=Je,z.y=Se,b.x=Je,b.y=Se),(ge===1||ge===2&&Bt.$(ee.x,this.i(0).x)&&Bt.$(ee.y,this.i(0).y))&&(x.x=.5*(ee.x+se.x),x.y=.5*(ee.y+se.y)),Rf(re,x.x-E,x.y-oe,z.x-E,z.y-oe,se.x-E,se.y-oe),y.set(z),x.set(b),ee=se}}se=ee.x,ee=ee.y,ce=this.i(this.pointsCount-1),this.computeShortLength(!1)!==0&&(ce=Qg(this,ce.copy(),!1,Io)),se=.5*(se+ce.x),ee=.5*(ee+ce.y),Rf(re,b.x-E,b.y-oe,se-E,ee-oe,ce.x-E,ce.y-oe),Ze.free(y),Ze.free(x),Ze.free(z),Ze.free(b)}else for(x=3;x=y&&(x=y-1),b=this.i(x-1),ee=this.i(x),x===y-1&&this.computeShortLength(!1)!==0&&(ee=Qg(this,ee.copy(),!1,Io)),Rf(re,z.x-E,z.y-oe,b.x-E,b.y-oe,ee.x-E,ee.y-oe);else{for(z=Ze.alloc(),z.assign(this.i(0)),b=Ze.alloc(),b.assign(z),ee=this.computeCorner(),ge=1,se=0;ge=y-1){if(!z.D(ce))this.computeShortLength(!1)!==0&&(ce=Qg(this,ce.copy(),!1,Io)),qg(this,re,-E,-oe,z,ce,x);else if(se===0)for(ge=1;gez.x?ft=Se.x-Fe:ft=Se.x+Fe,Ge.y>Se.y?nt=Se.y+at:nt=Se.y-at,Ge=Ze.allocAt(ft,Ct),qg(this,re,ge,Je,z,Ge,Ne),Ze.free(Ge),x0(re,Se.x+ge,Se.y+Je,we+ge,nt+Je),z.h(we,nt)}else Bt.B(z.x,Se.x)&&Bt.B(Se.y,Ge.y)?(Fe=Math.min(ee,Math.abs(Se.y-b.y)/2),Fe=at=Math.min(Fe,Math.abs(Ge.x-Se.x)/2),Bt.B(at,0)?(qg(this,re,ge,Je,z,Se,Ne),z.assign(Se)):(ft=Se.x,Ct=Se.y,we=ft,nt=Ct,Se.y>z.y?Ct=Se.y-Fe:Ct=Se.y+Fe,Ge.x>Se.x?we=Se.x+at:we=Se.x-at,Ge=Ze.allocAt(ft,Ct),qg(this,re,ge,Je,z,Ge,Ne),Ze.free(Ge),x0(re,Se.x+ge,Se.y+Je,we+ge,nt+Je),z.h(we,nt))):(qg(this,re,ge,Je,z,Se,Ne),z.assign(Se));b.assign(ce),ge=se}Ze.free(z)}E0=re}else re=this.i(1).copy(),re.x-=E,re.y-=oe,this.computeShortLength(!0)!==0&&(b=Qg(this,b,!0,z)),this.computeShortLength(!1)!==0&&(re=Qg(this,re,!1,z)),a.type=li.j,a.startX=b.x,a.startY=b.y,a.endX=re.x,a.endY=re.y;return this.lk=!0,a};function L0(a,y,x,E){return a=x-a,isNaN(a)||a===1/0||a===-1/0?NaN:(0>a&&(a=-a),y=E-y,isNaN(y)||y===1/0||y===-1/0?NaN:(0>y&&(y=-y),Bt.$(a,0)?y:Bt.$(y,0)?a:Math.sqrt(a*a+y*y)))}function Qg(a,y,x,E){var b=a.pointsCount;if(2>b)return y;if(x){var z=a.i(1);if(x=z.x-E.x,z=z.y-E.y,E=L0(y.x,y.y,x,z),E===0)return y;b=b===2?.5*E:E,a=a.computeShortLength(!0),a>b&&(a=b),b=a*(z-y.y)/E,y.x+=a*(x-y.x)/E,y.y+=b}else{if(z=a.i(b-2),x=z.x-E.x,z=z.y-E.y,E=L0(y.x,y.y,x,z),E===0)return y;b=b===2?.5*E:E,a=a.computeShortLength(!1),a>b&&(a=b),b=a*(y.y-z)/E,y.x-=a*(y.x-x)/E,y.y-=b}return y}function my(a,y,x,E){for(var b=a.pointsCount,z=y;Bt.$(y.x,z.x)&&Bt.$(y.y,z.y);){if(x>=b)return b-1;z=a.i(x++)}if(!Bt.$(y.x,z.x)&&!Bt.$(y.y,z.y))return x-1;for(var ee=z;Bt.$(y.x,z.x)&&Bt.$(z.x,ee.x)&&(!E||(y.y>=z.y?z.y>=ee.y:z.y<=ee.y))||Bt.$(y.y,z.y)&&Bt.$(z.y,ee.y)&&(!E||(y.x>=z.x?z.x>=ee.x:z.x<=ee.x));){if(x>=b)return b-1;ee=a.i(x++)}return x-2}ai.prototype.computeJumpLength=function(){return 10};function qg(a,y,x,E,b,z,ee){if(!ee&&Og(a)){ee=a.computeJumpLength();var re=ee/2,oe=[],se=0;if(a.isVisible()&&(se=Ix(a,b,z,oe)),0ge-ee);)se--,ge=Math.max(ce-re,z.x);ce=z.y-ee+E,ge+=x,we=z.y+E,a.curve===Vf?Fp(y,ge,we,!1):Rf(y,Se,ce,ge,ce,ge,we)}else if(Bt.B(b.x,z.x))if(b.yce-ee);)se--,ce=Math.max(ge-re,z.y);ge=z.x-ee+x,we=z.x+x,ce+=E,a.curve===Vf?Fp(y,we,ce,!1):Rf(y,ge,Se,ge,ce,we,ce)}}}y.lineTo(z.x+x,z.y+E)}function Ix(a,y,x,E){var b=a.diagram;if(b===null||y.D(x))return 0;for(b=b.layers;b.next();){var z=b.value;if(z!==null&&z.visible){z=z.Pa.s;for(var ee=z.length,re=0;reee.x&&ce.x>=se.x||se.xee.y&&ce.y>=se.y||se.yee&&Math.min(Fe,Ne)ce&&!Bt.B(Fe,Ne)){re.x=ce,re.y=ee,ce=!0;break e}}else if(Bt.B(ge,we)&&Bt.B(Fe,Ne)&&Math.min(ce,Se)Fe&&Math.min(ee,Je)ge&&!Bt.B(ee,Je)){re.x=Fe,re.y=ge,ce=!0;break e}re.x=0,re.y=0,ce=!1}ce&&(b?x.push(re.x):x.push(re.y)),ee=se}Ze.free(re)}function Og(a){return a=a.curve,a===Dp||a===Vf}function M0(a,y){(y||Og(a))&&(y=a.diagram,y===null||y.animationManager.isTicking||y.Eh.contains(a)||a.ml.width===0&&a.ml.height===0||y.Eh.add(a,a.ml.copy()))}ai.prototype.Xo=function(a){var y=this.layer;if(y!==null&&y.visible&&!y.isTemporary){var x=y.diagram;if(x!==null&&!x.animationManager.isTicking){var E=!1;for(x=x.layers;x.next();){var b=x.value;if(b.visible){if(b===y){E=!0;var z=!1;b=b.Pa.s;for(var ee=b.length,re=0;rea&&Cn(a,">= 0",ai,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),this.bb())}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:NaN},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.qc(),this.g("fromShortLength",y,a))}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:Zl},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),(y.$c()||a.$c())&&this.toNode!==null&&rd(this.toPort),this.bb())}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:NaN},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Cn(a,">= 0",ai,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),this.bb())}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:NaN},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.qc(),this.g("toShortLength",y,a))}},isLabeledLink:{get:function(){return this.wd===null?!1:0=E&&(z=E-1);var re=this.i(z-1),oe=this.i(z);Bt.Dl(b.x,b.y,ee.x,ee.y,re.x,re.y,oe.x,oe.y,.5,a),y=Math.min(oe.x,y),x=Math.min(oe.y,x),b=oe}else for(b=this.i(0),z=this.i(1),y=Math.min(b.x,z.x),x=Math.min(b.y,z.y),a.h(b.x,b.y,0,0),a.Ye(z),b=2;bE&&(E=-E)):Bt.$(E.y,b.y)?(E=b.x-E.x,0>E&&(E=-E)):E=Math.sqrt(E.Bf(b)),a.push(E)}}return this.cq}},flattenedTotalLength:{get:function(){var a=this.vt;if(isNaN(a)){for(var y=this.flattenedLengths,x=y.length,E=a=0;Ethis.pointsCount)return this.lk=!0,this.ua;this.ua=this.makeGeometry()}return this.ua}},firstPickIndex:{get:function(){return 2>=this.pointsCount?0:this.isOrthogonal||!Bp(this.computeSpot(!0))?1:0}},lastPickIndex:{get:function(){var a=this.pointsCount;return a===0?0:2>=a?a-1:this.isOrthogonal||!Bp(this.computeSpot(!1))?a-2:a-1}},adjusting:{get:function(){return this.qk},set:function(a){var y=this.qk;y!==a&&(this.qk=a,this.g("adjusting",y,a))}},corner:{get:function(){return this.Om},set:function(a){var y=this.Om;y!==a&&(this.Om=a,this.qc(),this.g("corner",y,a))}},curve:{get:function(){return this.Qm},set:function(a){var y=this.Qm;y!==a&&(this.Qm=a,this.bb(),this.qc(),M0(this,y===Vf||y===Dp||a===Vf||a===Dp),this.g("curve",y,a))}},curviness:{get:function(){return this.Rm},set:function(a){var y=this.Rm;y!==a&&(this.Rm=a,this.bb(),this.qc(),this.g("curviness",y,a))}},routing:{get:function(){return this.qj},set:function(a){var y=this.qj;y!==a&&(this.qj=a,this.Wf=null,this.bb(),M0(this,(y.value&2)===2||(a.value&2)===2),this.g("routing",y,a))}},smoothness:{get:function(){return this.po},set:function(a){var y=this.po;y!==a&&(this.po=a,this.qc(),this.g("smoothness",y,a))}},key:{get:function(){var a=this.diagram;if(a!==null&&a.model.ri())return a.model.Ac(this.data)}}}),ai.prototype.invalidateOtherJumpOvers=ai.prototype.Xo,ai.prototype.findClosestSegment=ai.prototype.ez,ai.prototype.updateRoute=ai.prototype.vg,ai.prototype.invalidateRoute=ai.prototype.bb,ai.prototype.rollbackRoute=ai.prototype.rv,ai.prototype.commitRoute=ai.prototype.zf,ai.prototype.startRoute=ai.prototype.uh,ai.prototype.clearPoints=ai.prototype.Fj,ai.prototype.removePoint=ai.prototype.pv,ai.prototype.addPointAt=ai.prototype.yf,ai.prototype.addPoint=ai.prototype.ne,ai.prototype.insertPointAt=ai.prototype.m,ai.prototype.insertPoint=ai.prototype.Kz,ai.prototype.setPointAt=ai.prototype.L,ai.prototype.setPoint=ai.prototype.dd,ai.prototype.getPoint=ai.prototype.i,ai.prototype.getOtherPort=ai.prototype.Cz,ai.prototype.getOtherNode=ai.prototype.To;var $g=null,ep=null,vy=new sn(ai,"Normal",1),Wx=new sn(ai,"Orthogonal",2),jx=new sn(ai,"AvoidsNodes",6),fS=new sn(ai,"AvoidsNodesStraight",7),Ec=new sn(ai,"None",0),vd=new sn(ai,"Bezier",9),Vf=new sn(ai,"JumpGap",10),Dp=new sn(ai,"JumpOver",11),dm=new sn(ai,"End",17),k0=new sn(ai,"Scale",18),N0=new sn(ai,"Stretch",19),hm=new sn(ai,"OrientAlong",21),fm=new sn(ai,"OrientPlus90",22),gm=new sn(ai,"OrientMinus90",23),yy=new sn(ai,"OrientOpposite",24),T0=new sn(ai,"OrientUpright",25),pm=new sn(ai,"OrientPlus90Upright",26),mm=new sn(ai,"OrientMinus90Upright",27),O0=new sn(ai,"OrientUpright45",28),gS=16,pS=14,vm=8;ai.className="Link",ai.Normal=vy,ai.Orthogonal=Wx,ai.AvoidsNodes=jx,ai.AvoidsNodesStraight=fS,ai.None=Ec,ai.Bezier=vd,ai.JumpGap=Vf,ai.JumpOver=Dp,ai.End=dm,ai.Scale=k0,ai.Stretch=N0,ai.OrientAlong=hm,ai.OrientPlus90=fm,ai.OrientMinus90=gm,ai.OrientOpposite=yy,ai.OrientUpright=T0,ai.OrientPlus90Upright=pm,ai.OrientMinus90Upright=mm,ai.OrientUpright45=O0,ai.EndSegmentStep=8,ai.CurvinessStart=gS,ai.SpacingMin=pS,ai.OrthoShortCut=vm;function I0(a,y,x,E){Ir(this),this.Fe=this.qq=!1,this.Ds=a,this.Ox=y,this.cv=x,this.Px=E,this.links=[]}I0.prototype.Sl=function(){if(!this.qq){var a=this.links;0=a.width||0>=a.height)){var y=a.y,x=a.x+a.width,E=a.y+a.height;if(this.Nd=Math.floor((a.x-this.rc)/this.rc)*this.rc,this.Od=Math.floor((y-this.sc)/this.sc)*this.sc,this.En=Math.ceil((x+2*this.rc)/this.rc)*this.rc,this.Fn=Math.ceil((E+2*this.sc)/this.sc)*this.sc,a=1+(Math.ceil((this.En-this.Nd)/this.rc)|0),y=1+(Math.ceil((this.Fn-this.Od)/this.sc)|0),this.ac===null||this.di=Ig&&(x[E]=Sy)}ym.prototype.Yj=function(a,y,x,E){if(a>this.En||a+xthis.Fn||y+Ea&&(x+=a,a=0),0>y&&(b+=y,y=0),0>x||0>b)return!0;for(E=Math.min(a+x-1,this.di)|0,x=Math.min(y+b-1,this.ei)|0;a<=E;a++){b=this.ac[a];for(var z=y;z<=x;z++)if(b[z]===Gf)return!1}return!0};function hf(a,y,x,E,b,z,ee,re,oe){if(!(yee||xoe)){var se=y|0,ce=x|0,ge=a.ac[se][ce];if(ge>=Ig&&ge=a.ac[se][ce]);)a.ac[se][ce]=ge,ge+=1,b?ce+=E:se+=E;if(se=b?ce:se,b)if(0se;x+=E)hf(a,y,x,1,!b,z,ee,re,oe),hf(a,y,x,-1,!b,z,ee,re,oe);else if(0se;y+=E)hf(a,y,x,1,!b,z,ee,re,oe),hf(a,y,x,-1,!b,z,ee,re,oe)}}function R0(a,y,x,E,b,z,ee,re,oe){y|=0,x|=0;var se=Gf,ce=Ig;for(a.ac[y][x]=ce;se===Gf&&y>z&&yre&&xz&&yre&&x=Math.abs(re-se)&&1>=Math.abs(oe-ce))a.abort=!0;else{var ge=z.x;E=z.y,y=z.x+z.width;var Se=z.y+z.height;ge-=a.Nd,ge/=a.rc,E-=a.Od,E/=a.sc,y-=a.Nd,y/=a.rc,Se-=a.Od,Se/=a.sc,z=Math.max(0,Math.min(a.di,ge|0)),y=Math.min(a.di,Math.max(0,y|0)),ge=Math.max(0,Math.min(a.ei,E|0)),Se=Math.min(a.ei,Math.max(0,Se|0)),E=a.ac,re|=0,oe|=0,se|=0,ce|=0;var we=x===0||x===90?1:-1;if(x=x===90||x===270,E[re][oe]===Gf?(R0(a,re,oe,we,x,z,y,ge,Se),R0(a,re,oe,1,!x,z,y,ge,Se),R0(a,re,oe,-1,!x,z,y,ge,Se)):R0(a,re,oe,we,x,re,oe,re,oe),E[se][ce]===Gf?(W0(a,se,ce,b===0||b===90?1:-1,b===90||b===270,z,y,ge,Se),W0(a,se,ce,1,!(b===90||b===270),z,y,ge,Se),W0(a,se,ce,-1,!(b===90||b===270),z,y,ge,Se)):W0(a,se,ce,we,x,se,ce,se,ce),x=Ri(),ee&&yS(a,se,ce,b,re,oe,x))for((x[0]!==se||x[1]!==ce)&&(x.unshift(ce),x.unshift(se)),(x[x.length-2]!==re||x[x.length-1]!==oe)&&(x.push(re),x.push(oe)),a=Ig,b=x[x.length-2],ee=x[x.length-1],E[b][ee]=a++,z=x.length-4;0<=z;z-=2)for(b=x[z+2],ee=x[z+3],y=x[z],se=x[z+1];y>b?b++:yee?ee++:seb)ce--;else break;else if(ge>z)ge--;else break;var Se=re[ce][ge];if(Se===0||Se===xy)break;oe=ce,se=ge}for(;;){if(ce=E,ge=oe,Se=se,E===0?Sez&&(ce=270,Se--):E===90?geb&&(ce=180,ge--):E===180?Sez&&(ce=270,Se--):geb&&(ce=180,ge--),ge=re[ge][Se],ce!==E&&ge!==0&&ge!==xy){if(ee.push(oe),ee.push(se),yS(a,oe,se,ce,b,z,ee))return!0;ee.pop(),ee.pop()}if(re[oe][se]=xy,E===0){if(oe===y)return!1;oe--}else if(E===90){if(se===x)return!1;se--}else if(E===180){if(oe===y)return!1;oe++}else{if(se===x)return!1;se++}}}Rt.Object.defineProperties(ym.prototype,{bounds:{get:function(){return new nn(this.Nd,this.Od,this.En-this.Nd,this.Fn-this.Od)}},Ho:{get:function(){return this.rc},set:function(a){0=x?180:0}switch(a=180*Math.atan2(a.height,a.width)/Math.PI,y){case 3:return x>a&&x<=180+a?180:270;case 5:return x>180-a&&x<=360-a?270:0;case 12:return x>a&&x<=180+a?90:0;case 10:return x>180-a&&x<=360-a?180:90;case 7:return 90180+a&&x<=360-a?270:0;case 13:return 180a&&180>=x?90:0;case 14:return x>a&&x<=180-a?90:x>180-a&&270>=x?180:0;case 11:return x>180-a&&x<=180+a?180:x>180+a?270:90}return E&&y!==15&&(x-=15,0>x&&(x+=360)),x>a&&x<180-a?90:x>=180-a&&x<=180+a?180:x>180+a&&x<360-a?270:0}tp.prototype.Sl=function(){this.pe.length=0};function SS(a,y){var x=a.pe;if(x.length===0){e:if(!a.ap){x=a.ap,a.ap=!0;var E=null,b=a.node,z=b instanceof Gr?b:null;if(z===null||z.isSubGraphExpanded)var ee=b.isTreeExpanded?b.findLinksConnected(a.port.portId):b.qx();else{if(!z.actualBounds.w()){a.ap=x;break e}E=z,ee=E.Lu()}z=a.pe.length=0;var re=a.port.ga(bl,Ze.alloc()),oe=a.port.ga(hu,Ze.alloc());for(b=nn.allocAt(re.x,re.y,0,0),b.Ye(oe),Ze.free(re),Ze.free(oe),re=Ze.allocAt(b.x+b.width/2,b.y+b.height/2),oe=a.port.li(),ee=ee.iterator;ee.next();){var se=ee.value;if(se.isVisible()&&se.fromPort!==se.toPort){var ce=se.fromPort===a.port||se.fromNode!==null&&se.fromNode.Td(E),ge=se.computeSpot(ce,a.port);if(ge.$c()&&(ce=ce?se.toPort:se.fromPort,ce!==null)){var Se=ce.part;if(Se!==null){var we=Se.findVisibleNode();we!==null&&we!==Se&&(Se=we,ce=Se.port),ce=se.computeOtherPoint(Se,ce),Se=re.ab(ce),Se-=oe,0>Se?Se+=360:360<=Se&&(Se-=360),ge=zx(b,ge,Se,se.isOrthogonal),ge===0?(ge=4,180Se&&(Se+=360)),we=a.pe[z],we===void 0?(we=new Ey(se,Se,ge),a.pe[z]=we):(we.link=se,we.angle=Se,we.Nc=ge),we.hv.set(ce),z++}}}}for(Ze.free(re),a.pe.sort(tp.prototype.j),oe=a.pe.length,E=-1,z=re=0;zMath.abs(Ne)?(nt=Math.abs(Ne)/Se,Se=Math.abs(Ne)):nt=1;break;case 2:we>Math.abs(at)?(nt=Math.abs(at)/we,we=Math.abs(at)):nt=1;break;case 1:ge>Math.abs(Ne)?(nt=Math.abs(Ne)/ge,ge=Math.abs(Ne)):nt=1;break;default:case 4:ce>Math.abs(at)?(nt=Math.abs(at)/ce,ce=Math.abs(at)):nt=1}Ge=0}var Kt=ft.Zo;if(E===cy){switch(ft=ft.link.computeThickness(),ft*=nt,Kt.set(Ct),Fe){case 8:Kt.x=Ct.x+Ne/2+Se/2-Ge-ft/2;break;case 2:Kt.y=Ct.y+at/2+we/2-Ge-ft/2;break;case 1:Kt.x=Ct.x+Ne/2-ge/2+Ge+ft/2;break;default:case 4:Kt.y=Ct.y+at/2-ce/2+Ge+ft/2}Ge+=ft}else{var Pi=.5;E===F0&&(Pi=(ft.Uo+1)/(ft.Gl+1)),Kt.x=Ct.x+Ne*Pi,Kt.y=Ct.y+at*Pi}}}for(Ze.free(re),Ze.free(oe),Ze.free(ee),Ze.free(se),Ct=a.pe,z=0;zy.Nc?1:a.angley.angle?1:0},tp.prototype.computeEndSegmentLength=function(a){var y=a.link,x=y.computeEndSegmentLength(this.node,this.port,il,y.fromPort===this.port),E=a.Uo;if(0>E)return x;var b=a.Gl;if(1>=b||!y.isOrthogonal)return x;y=a.hv;var z=a.Zo;return(a.Nc===2||a.Nc===8)&&(E=b-1-E),((a=a.Nc===2||a.Nc===4)?y.y=y-1?(z=0,E=x,b+=ee+20,ee=0):z++}},Cs.prototype.doMinimalNetworkLayout=function(){var a=Math.ceil(Math.sqrt(this.network.vertexes.count));this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);for(var y=this.arrangementOrigin.x,x=y,E=this.arrangementOrigin.y,b=0,z=0,ee=this.network.vertexes.iterator;ee.next();){var re=ee.value.node;if(!(re===null||re instanceof ai)&&(Sm(re),this.rh(re))){var oe=re.measuredBounds,se=oe.width;oe=oe.height,re.moveTo(x,E),re instanceof Gr&&(re.rh=!1),x+=Math.max(se,50)+20,z=Math.max(z,Math.max(oe,50)),b>=a-1?(b=0,x=y,E+=z+20,z=0):b++}}},Cs.prototype.rh=function(a){return!!(!a.location.w()||a instanceof Gr&&a.rh)};function cg(a,y,x,E,b,z,ee,re){for(x=x.iterator;x.next();){var oe=x.value;E&&!oe.isTopLevel||b!==null&&!b(oe)||!oe.canLayout()||(z&&oe instanceof Fi?oe.isLinkLabel||(oe instanceof Gr&&oe.layout===null?cg(a,y,oe.memberParts,!1,b,z,ee,re):(Sm(oe),y.add(oe))):ee&&oe instanceof ai?y.add(oe):!re||!oe.Zc()||oe instanceof Fi||(Sm(oe),y.add(oe)))}}function Sm(a){var y=a.actualBounds;(y.width===0||y.height===0||isNaN(y.width)||isNaN(y.height))&&a.Va()}Cs.prototype.ni=function(a,y){var x=this.boundsComputation;return x!==null?(y||(y=new nn),x(a,this,y)):y?(y.set(a.actualBounds),y):a.actualBounds},Cs.prototype.ex=function(a){var y=new Rn;return a instanceof Ht?(cg(this,y,a.nodes,!0,null,!0,!0,!0),cg(this,y,a.links,!0,null,!0,!0,!0),cg(this,y,a.parts,!0,null,!0,!0,!0)):a instanceof Gr?cg(this,y,a.memberParts,!1,null,!0,!0,!0):cg(this,y,a.iterator,!1,null,!0,!0,!0),y},Cs.prototype.initialOrigin=function(a){var y=this.group;if(y!==null){var x=y.position.copy();return(isNaN(x.x)||isNaN(x.y))&&x.set(a),y=y.placeholder,y!==null&&(x=y.ga(bl),(isNaN(x.x)||isNaN(x.y))&&x.set(a),a=y.padding,x.x+=a.left,x.y+=a.top),x}return a},Rt.Object.defineProperties(Cs.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},group:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a,a!==null&&(this.H=a.diagram))}},isOngoing:{get:function(){return this.sn},set:function(a){this.sn!==a&&(this.sn=a)}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a,a||(this.xn=!0)}},isViewportSized:{get:function(){return this.yn},set:function(a){this.yn!==a&&(this.yn=a)&&this.C()}},isRouting:{get:function(){return this.vn},set:function(a){this.vn!==a&&(this.vn=a)}},isRealtime:{get:function(){return this.un},set:function(a){this.un!==a&&(this.un=a)}},isValidLayout:{get:function(){return this.xn},set:function(a){this.xn!==a&&(this.xn=a,a||(a=this.diagram,a!==null&&(a.xh=!0)))}},network:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a,a!==null&&(a.layout=this))}},boundsComputation:{get:function(){return this.Em},set:function(a){this.Em!==a&&(this.Em=a,this.C())}},arrangementOrigin:{get:function(){return this.Am},set:function(a){this.Am.D(a)||(this.Am.assign(a),this.C())}}}),Cs.prototype.collectParts=Cs.prototype.ex,Cs.prototype.getLayoutBounds=Cs.prototype.ni,Cs.prototype.invalidateLayout=Cs.prototype.C,Cs.className="Layout";function as(a){Ir(this),this.Sc=a,this.wf=new Rn,this.ye=new Rn,this.Es=new gi,this.zs=new gi}as.prototype.clear=function(){if(this.wf)for(var a=this.wf.iterator;a.next();)a.value.clear();if(this.ye)for(a=this.ye.iterator;a.next();)a.value.clear();this.wf=new Rn,this.ye=new Rn,this.Es=new gi,this.zs=new gi},as.prototype.toString=function(a){a===void 0&&(a=0);var y="LayoutNetwork"+(this.layout!==null?"("+this.layout.toString()+")":"");if(0>=a)return y;if(y+=" vertexes: "+this.wf.count+" edges: "+this.ye.count,1a?a=0:1a?a=0:1=a&&Cn(a,"> 0",os,"maxLines"),Hh(this),this.da.Jq=a,this.v(),this.g("maxLines",y,a))}},metrics:{get:function(){return{arrSize:this.Qc!==null?this.Qc:[this.Cb],arrText:this.Qb!==null?this.Qb:[this.ze],maxLineWidth:this.Cb,fontHeight:this.df}}},choices:{get:function(){return this.Gm},set:function(a){var y=this.Gm;y!==a&&(this.Gm=a,this.g("choices",y,a))}}});var g0=null,p0=null,Xv=new sn(os,"None",0),N1=new sn(os,"WrapFit",1),Jv=new sn(os,"WrapDesiredSize",2),T1=new sn(os,"WrapBreakAll",3),Qv=new sn(os,"OverflowClip",0),m0=new sn(os,"OverflowEllipsis",1),am=new sn(os,"FormatTrim",0),O1=new sn(os,"FormatNone",0),Lx=/[ \u200b\u00ad]/,qv=new Xt,I1=0,v0=new Xt,$v=0,sm="...",R1="",Rc=null,y0=!1;os.className="TextBlock";function ey(){this.nc=!1,this.Hd=null,this.Xf=In,this.gq=am,this.Jq=1/0,this.$q=Qv,this.Er=this.Dr=0,this.Or="start",this.vj=this.Qr=this.Pr=null,this.Yr=wd,this.$r=Jv}ey.prototype.copy=function(){var a=new ey;return a.Hd=this.Hd,a.Xf=this.Xf,a.gq=this.gq,a.Jq=this.Jq,a.$q=this.$q,a.Dr=this.Dr,a.Er=this.Er,a.Or=this.Or,a.Pr=this.Pr,a.Qr=this.Qr,a.vj=this.vj,a.Yr=this.Yr,a.$r=this.$r,a},os.getEllipsis=function(){return sm},os.setEllipsis=function(a){sm=a,v0=new Xt,$v=0},os.getBaseline=function(){return g0},os.setBaseline=function(a){g0=a},os.getUnderline=function(){return p0},os.setUnderline=function(a){p0=a},os.isValidFont=function(a){if(y0||(Rc=Aa?new zu(null).context:null,y0=!0),Rc===null)return!0;var y=Rc.font;if(a===y||a==="10px sans-serif")return!0;Rc.font="10px sans-serif",Rc.font=a;var x=Rc.font;if(x!=="10px sans-serif")return Rc.font=y,!0;Rc.font="19px serif";var E=Rc.font;return Rc.font=a,x=Rc.font,Rc.font=y,x!==E},os.FormatNone=O1,os.FormatTrim=am,os.None=Xv,os.OverflowClip=Qv,os.OverflowEllipsis=m0,os.WrapBreakAll=T1,os.WrapDesiredSize=Jv,os.WrapFit=N1;function cf(){this.Tk=1,this.u=0,this.j=1,this.o=this.F=null}cf.prototype.copy=function(){var a=new cf;return a.Tk=this.Tk,a.u=this.u,a.j=this.j,a.F=this.F,a.o=this.o,a},cf.className="GradElementSettings";function Wc(a,y){Pt.call(this),this.Eg=null,this.qo="",this.Xg=Su,this.Nk=Hn,this.Zg=this.Hd=null,this.Mk=Dr,this.Xf=In,this.vl=null,this.qn=!1,this.en=!0,this.al=!1,this.bt=this.rl=null,typeof a=="string"?this.source=a:a&&Object.assign(this,a),y&&Object.assign(this,y)}var wp;_t(Wc,Pt),Wc.prototype.cloneProtected=function(a){Pt.prototype.cloneProtected.call(this,a),a.qo=this.qo,a.element=this.Eg,a.Xg=this.Xg.J(),a.Nk=this.Nk,a.Xf=this.Xf,a.Hd=this.Hd,a.Zg=this.Zg,a.Mk=this.Mk.J(),a.en=this.en,a.rl=this.rl},Wc.prototype.qb=function(a){a===In||a===Ui||a===Yi?this.imageStretch=a:Pt.prototype.qb.call(this,a)},Wc.prototype.toString=function(){return"Picture("+this.source+")#"+fr(this)};function Cp(a){a===void 0&&(a=""),a!==""?wp[a]&&(delete wp[a],S0--):(wp=new Xt,S0=0)}function W1(a,y){y.qy||(y.Fq=function(x){y.sq=!0,y.ln=!1;var E=y.Bg.copy();if(E!=null){for(E=E.iterator;E.next();){var b=E.value;b.N();var z=y.getAttribute("src")||"",ee=b.Og.I(z);if(ee!==null)for(var re=ee.length,oe=0;oe=E.width&&(z=z+Fe.offsetX+(ge*Fe.x-E.width*Fe.x)),Se>=E.height&&(ee=ee+Fe.offsetY+(Se*Fe.y-E.height*Fe.y)),oe=Math.min(E.width,ge),re=Math.min(E.height,Se);break;case Hn:ge=E.width,Se=E.height;break;case Ui:case Yi:we===Ui?(we=Math.min(E.height/Se,E.width/ge),ge*=we,Se*=we):we===Yi&&(we=Math.max(E.height/Se,E.width/ge),ge*=we,Se*=we,ge>=E.width&&(z=(z+Fe.offsetX+(ge*Fe.x-E.width*Fe.x)/ge)*oe),Se>=E.height&&(ee=(ee+Fe.offsetY+(Se*Fe.y-E.height*Fe.y)/Se)*re),oe*=1/(ge/E.width),re*=1/(Se/E.height),ge=E.width,Se=E.height)}we=this.Df()*y.scale;var Ne=ge*we*Se*we,Je=oe*re/Ne,Ge=x.__goCache;we=null;var nt=Mx;if(!b){if(x.sq&&Ge!==void 0&&4nt*nt)for(Ge.gi===null&&(z1(Ge,4,se,ce,x),z1(Ge,16,se,ce,x)),b=Ge.gi,se=b.length,ce=0;cea)&&(a=5),a=Math.min(a,y/3),a=Math.min(a,x/3);var E="rr"+y+","+x+","+a,b=Bt.Mf[E];if(b!==void 0)return b;var z=a*Bt.wg;return b=new li().add(new el(a,0,!0).add(new Uo(Oa,y-a,0)).add(new Uo(ml,y,a,y-z,0,y,z)).add(new Uo(Oa,y,x-a)).add(new Uo(ml,y-a,x,y,x-z,y-z,x)).add(new Uo(Oa,a,x)).add(new Uo(ml,0,x-a,z,x,0,x-z)).add(new Uo(Oa,0,a)).add(new Uo(ml,a,0,0,z,z,0).close())),1b.x&&a.y>b.y&&a.rightb.x&&y.y>b.y&&y.right=x.maxSelectionCount)){this.G^=4096;var E=!1;if(x!==null){E=x.skipsUndoManager,x.skipsUndoManager=!0;var b=x.selection;b.ka(),a?b.add(this):b.remove(this),b.freeze()}this.g("isSelected",y,a),this.Wb(),a=this.selectionChanged,a!==null&&a(this),x!==null&&(x.$b(),x.skipsUndoManager=E)}}}},isHighlighted:{get:function(){return(this.G&524288)!==0},set:function(a){var y=(this.G&524288)!==0;if(y!==a){this.G^=524288;var x=this.diagram;x!==null&&(x=x.highlighteds,x.ka(),a?x.add(this):x.remove(this),x.freeze()),this.g("isHighlighted",y,a),this.N(),a=this.highlightedChanged,a!==null&&a(this)}}},isShadowed:{get:function(){return(this.G&8192)!==0},set:function(a){var y=(this.G&8192)!==0;y!==a&&(this.G^=8192,this.Uc=!0,this.g("isShadowed",y,a),this.N())}},isAnimated:{get:function(){return(this.G&262144)!==0},set:function(a){var y=(this.G&262144)!==0;y!==a&&(this.G^=262144,this.g("isAnimated",y,a))}},highlightedChanged:{get:function(){return this.P!==null?this.P.oq:null},set:function(a){var y=this.highlightedChanged;y!==a&&(jc(this),this.P.oq=a,this.g("highlightedChanged",y,a))}},selectionObjectName:{get:function(){return this.P!==null?this.P.vr:""},set:function(a){var y=this.selectionObjectName;y!==a&&(jc(this),this.P.vr=a,this.Ug=null,this.g("selectionObjectName",y,a))}},selectionAdornmentTemplate:{get:function(){return this.P!==null?this.P.tr:null},set:function(a){var y=this.selectionAdornmentTemplate;y!==a&&(jc(this),this.P.tr=a,this.g("selectionAdornmentTemplate",y,a))}},selectionObject:{get:function(){if(this.Ug===null){var a=this.selectionObjectName;a!==null&&a!==""?(a=this.fb(a),a!==null?this.Ug=a:this.Ug=this):this instanceof ai?(a=this.path,a!==null?this.Ug=a:this.Ug=this):this.Ug=this}return this.Ug}},selectionChanged:{get:function(){return this.P!==null?this.P.ur:null},set:function(a){var y=this.selectionChanged;y!==a&&(jc(this),this.P.ur=a,this.g("selectionChanged",y,a))}},resizeAdornmentTemplate:{get:function(){return this.P!==null?this.P.fr:null},set:function(a){var y=this.resizeAdornmentTemplate;y!==a&&(jc(this),this.P.fr=a,this.g("resizeAdornmentTemplate",y,a))}},resizeObjectName:{get:function(){return this.P!==null?this.P.hr:""},set:function(a){var y=this.resizeObjectName;y!==a&&(jc(this),this.P.hr=a,this.g("resizeObjectName",y,a))}},resizeObject:{get:function(){var a=this.resizeObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},resizeCellSize:{get:function(){return this.P!==null?this.P.gr:Ls},set:function(a){var y=this.resizeCellSize;y.D(a)||(a=a.J(),jc(this),this.P.gr=a,this.g("resizeCellSize",y,a))}},rotateAdornmentTemplate:{get:function(){return this.P!==null?this.P.ir:null},set:function(a){var y=this.rotateAdornmentTemplate;y!==a&&(jc(this),this.P.ir=a,this.g("rotateAdornmentTemplate",y,a))}},rotateObjectName:{get:function(){return this.P!==null?this.P.jr:""},set:function(a){var y=this.rotateObjectName;y!==a&&(jc(this),this.P.jr=a,this.g("rotateObjectName",y,a))}},rotateObject:{get:function(){var a=this.rotateObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},rotationSpot:{get:function(){return this.P!==null?this.P.lr:Zl},set:function(a){var y=this.rotationSpot;y.D(a)||(a=a.J(),jc(this),this.P.lr=a,this.g("rotationSpot",y,a))}},text:{get:function(){return this.ec},set:function(a){var y=this.ec;y!==a&&(this.ec=a,this.g("text",y,a))}},containingGroup:{get:function(){return this.Ah},set:function(a){if(this.Zc()){var y=this.Ah;if(y!==a){a===null||this!==a&&!a.Td(this)||(this===a&&Et("Cannot make a Group a member of itself: "+this.toString()),Et("Cannot make a Group indirectly contain itself: "+this.toString()+" already contains "+a.toString())),this.C(2);var x=this.diagram;if(y!==null?hy(y,this):this instanceof Gr&&x!==null&&x.ai.remove(this),this.Ah=a,a!==null?dy(a,this):this instanceof Gr&&x!==null&&x.ai.add(this),this.C(1),x!==null&&x.aa){var E=this.data,b=x.model;if(E!==null&&b.Xj()){var z=b.wa(a!==null?a.data:null);b.mp(E,z)}}if(E=this.containingGroupChanged,E!==null&&(b=!0,x!==null&&(b=x.aa,x.aa=!0),E(this,y,a),x!==null&&(x.aa=b)),this instanceof Gr){for(x=new Rn,ug(x,this,!0,0,!0),x=x.iterator;x.next();)if(E=x.value,E instanceof Fi)for(E=E.linksConnected;E.next();)bp(E.value)}if(this instanceof Fi){for(x=this.linksConnected;x.next();)bp(x.value);x=this.labeledLink,x!==null&&bp(x)}this.g("containingGroup",y,a),a!==null&&(y=a.layer,y!==null&&jh(y,-1,a))}}else Et("cannot set the Part.containingGroup of a Link or Adornment")}},containingGroupChanged:{get:function(){return this.P!==null?this.P.Kp:null},set:function(a){var y=this.containingGroupChanged;y!==a&&(jc(this),this.P.Kp=a,this.g("containingGroupChanged",y,a))}},isTopLevel:{get:function(){return!(this.containingGroup!==null||this instanceof Fi&&this.labeledLink!==null)}},layoutConditions:{get:function(){return this.P!==null?this.P.Cq:127},set:function(a){var y=this.layoutConditions;y!==a&&(jc(this),this.P.Cq=a,this.g("layoutConditions",y,a))}},dragComputation:{get:function(){return this.P!==null?this.P.Up:null},set:function(a){var y=this.dragComputation;y!==a&&(jc(this),this.P.Up=a,this.g("dragComputation",y,a))}},shadowOffset:{get:function(){return this.P!==null?this.P.zr:qi},set:function(a){var y=this.shadowOffset;y.D(a)||(a=a.J(),jc(this),this.P.zr=a,this.N(),this.g("shadowOffset",y,a))}},shadowColor:{get:function(){return this.P!==null?this.P.yr:"gray"},set:function(a){var y=this.shadowColor;y!==a&&(jc(this),this.P.yr=a,this.N(),this.g("shadowColor",y,a))}},shadowBlur:{get:function(){return this.P!==null?this.P.Vg:4},set:function(a){var y=this.shadowBlur;y!==a&&(jc(this),this.P.Vg=a,this.N(),this.g("shadowBlur",y,a))}}}),ar.prototype.invalidateLayout=ar.prototype.C,ar.prototype.findCommonContainingGroup=ar.prototype.px,ar.prototype.isMemberOf=ar.prototype.Td,ar.prototype.findTopLevelPart=ar.prototype.sz,ar.prototype.findSubGraphLevel=ar.prototype.oz,ar.prototype.ensureBounds=ar.prototype.Va,ar.prototype.getDocumentBounds=ar.prototype.mi,ar.prototype.findObject=ar.prototype.fb,ar.prototype.moveTo=ar.prototype.moveTo,ar.prototype.invalidateAdornments=ar.prototype.Wb,ar.prototype.clearAdornments=ar.prototype.Ej,ar.prototype.removeAdornment=ar.prototype.Jf,ar.prototype.addAdornment=ar.prototype.bh,ar.prototype.findAdornment=ar.prototype.Pj,ar.prototype.updateTargetBindings=ar.prototype.La;var q1=!1;ar.className="Part",ar.LayoutNone=0,ar.LayoutAdded=1,ar.LayoutRemoved=2,ar.LayoutShown=4,ar.LayoutHidden=8,ar.LayoutNodeSized=16,ar.LayoutGroupLayout=32,ar.LayoutNodeReplaced=64,ar.LayoutStandard=127,ar.LayoutAll=16777215;function na(a,y){a===void 0||a instanceof Ql||typeof a=="string"?ar.call(this,a):(ar.call(this),a&&(y=a)),this.G&=-257,this.Jg="Adornment",this.ue=null,this.Aw=0,this.Uw=!1,this.j=this.$a=null,y&&Object.assign(this,y)}_t(na,ar),na.prototype.toString=function(){var a=this.adornedPart;return"Adornment("+this.category+")"+(a!==null?a.toString():"")},na.prototype.updateRelationshipsFromData=function(){},na.prototype.Ul=function(a){var y=this.adornedObject,x=y==null?void 0:y.part;if(x instanceof ai&&y instanceof io){y=x.path,x.Ul(a),a=y.geometry,x=this.O.s,y=x.length;for(var E=0;Ea&&(a=1);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new Rn;x.add(this),aS(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===ih),y.Ue=!1}};function aS(a,y,x,E,b,z,ee){if(1a&&(a=2);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new Rn;x.add(this),lS(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===ih),y.Ue=!1}};function lS(a,y,x,E,b,z,ee){for(var re=z===a?!1:a.isTreeExpanded,oe=x?a.Mo():a.Sd(),se={};oe.next();){var ce=oe.value;if(ce.isTreeLink&&(re||ce.fd||ce.bb(),ce=ce.To(a),ce!==null&&ce!==a&&!y.contains(ce))){if(y.add(ce),!re){ce.Zb(!0),ce.oh();var ge=x?ce.Oo():ce.Po();se.vv=a,ge.all(function(Se){return function(we){return we===Se.vv||!we.isTreeExpanded}}(se))&&b.Cj(ce,z)}(2b&&(b=re.right),re.bottom>z&&(z=re.bottom)}}return isFinite(x)&&isFinite(E)?a.h(x,E,b-x,z-E):(y=y.location,a.h(y.x,y.y,0,0)),a},Rt.Object.defineProperties(xc.prototype,{padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new ao(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.g("padding",y,a),this.v())}}}),xc.className="Placeholder";function ai(a){ar.call(this,$n.Link),this.Qa=8,this.ef=null,this.ff="",this.uf=this.gn=null,this.vf="",this.uo=null,this.qk=Ec,this.Om=0,this.Qm=Ec,this.Rm=NaN,this.qj=vy,this.po=.5,this.wd=null,this.Nb=new ln().freeze(),this.Tg=this.Mg=null,this.ml=new rn,this.ua=new li,this.u=this.o=this.Sf=this.Wf=null,this.su=new Ze,this.cq=this.Mw=this.Lw=null,this.vt=NaN,this.ba=null,this.j=[],a&&Object.assign(this,a)}_t(ai,ar),ai.prototype.cloneProtected=function(a){ar.prototype.cloneProtected.call(this,a),a.Qa=this.Qa&-113,a.ff=this.ff,a.gn=this.gn,a.vf=this.vf,a.uo=this.uo,a.qk=this.qk,a.Om=this.Om,a.Qm=this.Qm,a.Rm=this.Rm,a.qj=this.qj,a.po=this.po,this.ba!==null&&(a.ba=this.ba.copy())},Be=ai.prototype,Be.Af=function(a){ar.prototype.Af.call(this,a),this.ff=a.ff,this.vf=a.vf,a.Mg=null,a.bb(),a.Sf=this.Sf;var y=a.fromPort;y!==null&&rd(y),a=a.toPort,a!==null&&rd(a)},Be.qb=function(a){a.classType===ai?(a.value&2)===2?this.routing=a:a===vd||a===Vf||a===Dp?this.curve=a:a===dm||a===k0||a===N0?this.adjusting=a:a!==vy&&a!==Ec&&Et("Unknown Link enum value for a Link property: "+a):ar.prototype.qb.call(this,a)},Be.Xc=function(){this.ba===null&&(this.ba=new Xr)},Be.si=function(){var a=this.fromNode;if(a!==null){var y=a.findVisibleNode();if(y!==null&&(a=y),ct(a)||sg(a))return!1}return a=this.toNode,!(a!==null&&(y=a.findVisibleNode(),y!==null&&(a=y),ct(a)||sg(a)))},Be.zv=function(){return!1},Be.Av=function(){},Be.Zc=function(){return!1},ai.prototype.computeAngle=function(a,y,x){return ai.computeAngle(y,x)},ai.computeAngle=function(a,y){switch(a){default:case Ec:a=0;break;case hm:a=y;break;case fm:a=y+90;break;case gm:a=y-90;break;case yy:a=y+180;break;case T0:a=Bt.bp(y),90a&&(a-=180);break;case pm:a=Bt.bp(y+90),90a&&(a-=180);break;case mm:a=Bt.bp(y-90),90a&&(a-=180);break;case O0:if(a=Bt.bp(y),45a||225a)return 0;90a&&(a-=180)}return Bt.bp(a)};function bp(a){var y=a.fromNode,x=a.toNode,E=null;if(y!==null?E=x!==null?y.px(x):y.containingGroup:x!==null?E=x.containingGroup:E=null,y=E,x=a.Ah,x!==y){x!==null&&hy(x,a),a.Ah=y,y!==null&&dy(y,a);var b=a.containingGroupChanged;if(b!==null){var z=!0,ee=a.diagram;ee!==null&&(z=ee.aa,ee.aa=!0),b(a,x,y),ee!==null&&(ee.aa=z)}!a.fd||a.Lw!==x&&a.Mw!==x||a.bb()}if(a.isLabeledLink)for(a=a.labelNodes;a.next();)a.value.containingGroup=E}Be=ai.prototype,Be.oh=function(){var a=this.containingGroup;a!==null&&this.fromNode!==a&&this.toNode!==a&&a.computesBoundsIncludingLinks&&ar.prototype.oh.call(this)},Be.To=function(a){var y=this.fromNode;return a===y?this.toNode:y},Be.Cz=function(a){var y=this.fromPort;return a===y?this.toPort:y};function dS(a,y){a.wd===null&&(a.wd=new Rn),a.wd.add(y),a.v()}Be.Vo=function(a){if(ar.prototype.Vo.call(this,a),Og(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,C0(a,this,y));var x=this.uf;if(x!==null){var E=this.toPort;x===a&&E===y||C0(x,this,E)}um(this)}},Be.Wo=function(a){if(ar.prototype.Wo.call(this,a),Og(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,A0(a,this,y));var x=this.uf;if(x!==null){var E=this.toPort;x===a&&E===y||A0(x,this,E)}cm(this)}},Be.Lj=function(){if(this.fd=!0,this.wd!==null){var a=this.diagram;if(a!==null)for(var y=this.wd.copy().iterator;y.next();)a.remove(y.value)}this.data!==null&&(a=this.diagram,a!==null&&a.partManager.removeDataForLink(this))},ai.prototype.updateRelationshipsFromData=function(){if(this.data!==null){var a=this.diagram;a!==null&&a.partManager.updateRelationshipsFromData(this)}},ai.prototype.move=function(a,y){var x=y?this.location:this.position,E=x.x;isNaN(E)&&(E=0);var b=x.y;for(isNaN(b)&&(b=0),E=a.x-E,b=a.y-b,y===!0?ar.prototype.move.call(this,a,!1):(a=Ze.allocAt(x.x+E,x.y+b),ar.prototype.move.call(this,a,!1),Ze.free(a)),zf(this,E,b),a=this.labelNodes;a.next();)y=a.value,x=y.position,y.moveTo(x.x+E,x.y+b)},ai.prototype.canRelinkFrom=function(){if(!this.relinkableFrom)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},ai.prototype.canRelinkTo=function(){if(!this.relinkableTo)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},ai.prototype.computeMidPoint=function(a){var y=this.pointsCount;if(y===0)return a.assign(Xi),a;if(y===1)return a.assign(this.i(0)),a;if(y===2){var x=this.i(0),E=this.i(1);return a.h((x.x+E.x)/2,(x.y+E.y)/2),a}if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===vd))return this.ua.Pu(.5,a),a.add(this.i(0)),x=this.ua.figures.first(),a.offset(-x.startX,-x.startY),a;if(this.computeCurve()===vd){if(y===3){x=this.i(0),E=this.i(1);var b=this.i(2);return Bt.ax(x.x,x.y,E.x,E.y,E.x,E.y,b.x,b.y,a),a}if(E=(y-1)/3|0,x=3*(E/2|0),E%2===1){E=this.i(x),b=this.i(x+1);var z=this.i(x+2);x=this.i(x+3),Bt.ax(E.x,E.y,b.x,b.y,z.x,z.y,x.x,x.y,a)}else a.assign(this.i(x));return a}var ee=this.flattenedLengths;for(x=this.flattenedTotalLength,b=z=E=0;Ex/2));)E+=b,z++;return y=this.i(z),z=this.i(z+1),1>Math.abs(y.x-z.x)?y.y>z.y?a.h(y.x,y.y-(x/2-E)):a.h(y.x,y.y+(x/2-E)):1>Math.abs(y.y-z.y)?y.x>z.x?a.h(y.x-(x/2-E),y.y):a.h(y.x+(x/2-E),y.y):(x=(x/2-E)/b,a.h(y.x+x*(z.x-y.x),y.y+x*(z.y-y.y))),a},ai.prototype.computeMidAngle=function(){var a=this.pointsCount;if(2>a)return NaN;if(a===2)return this.i(0).ab(this.i(1));if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===vd))return this.ua.wx(.5);if(this.computeCurve()===vd&&4<=a){var y=(a-1)/3|0,x=3*(y/2|0);if(y%2===1){x=Math.floor(x),a=this.i(x),y=this.i(x+1);var E=this.i(x+2);return x=this.i(x+3),Bt.My(a.x,a.y,y.x,y.y,E.x,E.y,x.x,x.y)}if(0E/2));)b+=z,x++;if(y=this.i(x),E=this.i(x+1),1>Math.abs(y.x-E.x)&&1>Math.abs(y.y-E.y)){if(0Math.abs(y.x-E.x))return y.y>E.y?270:90;if(1>Math.abs(y.y-E.y))return y.x>E.x?180:0}return y.ab(E)},Be=ai.prototype,Be.i=function(a){return this.Nb.s[a]},Be.dd=function(a,y){this.Nb.cd(a,y)},Be.L=function(a,y,x){this.Nb.cd(a,new Ze(y,x))},Be.Kz=function(a,y){this.Nb.Gb(a,y)},Be.m=function(a,y,x){this.Nb.Gb(a,new Ze(y,x))},Be.ne=function(a){this.Nb.add(a)},Be.yf=function(a,y){this.Nb.add(new Ze(a,y))},Be.pv=function(a){this.Nb.mb(a)},Be.Fj=function(){this.Nb.clear()};function zf(a,y,x){if(y!==0||x!==0)if(a.pointsCount===0)a.defaultFromPoint&&a.defaultFromPoint.offset(y,x),a.defaultToPoint&&a.defaultToPoint.offset(y,x);else{for(var E=a.fd,b=new ln,z=a.Nb.iterator;z.next();){var ee=z.value;b.add(new Ze(ee.x+y,ee.y+x).freeze())}b.freeze(),z=a.Nb,a.Nb=b,ee=a.diagram,isNaN(y)||isNaN(x)||ee!==null&&ee.animationManager.zb?a.v():(a.ke.h(a.ke.x+y,a.ke.y+x),a.pa.h(a.pa.x+y,a.pa.y+x),Wu(a)),E?b0(a):(a.defaultFromPoint&&(a.defaultFromPoint=a.i(0)),a.defaultToPoint&&(a.defaultToPoint=a.i(a.pointsCount-1))),ee!==null&&ee.animationManager.zb&&$d(ee.animationManager,a,b),a.g("points",z,b)}}Be.uh=function(){this.Mg===null&&(this.Mg=this.Nb,this.Nb=this.Nb.copy())},Be.zf=function(){if(this.Mg!==null){for(var a=this.Mg,y=this.Nb,x=1/0,E=1/0,b=a.s,z=b.length,ee=0;eese&&(ge=-ge),Ne=(0>oe?-1:1)*ge+we,Je=ce*(Ne-we)+Fe),we=z.x+2*re/3,Fe=z.y+2*oe/3;var Ge=we,nt=Fe;Bt.B(oe,0)?nt=0oe?-1:1)*ge+we,nt=ce*(Ge-we)+Fe),this.Fj(),this.ne(z),this.yf(Ne,Je),this.yf(Ge,nt),this.ne(Se),this.dd(0,this.getLinkPoint(a,y,ee,!0,!1,E,b)),this.dd(3,this.getLinkPoint(E,b,x,!1,!1,a,y))}else z=E,Se=b,E=this.getLinkPoint(a,y,ee,!0,!1,z,Se),b=this.getLinkPoint(z,Se,x,!1,!1,a,y),this.hasCurviness()?(Se=b.x-E.x,x=b.y-E.y,ee=this.computeCurviness(),a=E.x+Se/2,y=E.y+x/2,z=a,re=y,Bt.B(x,0)?re=0ee&&(z=-z),z=(0>x?-1:1)*z+a,re=Se*(z-a)+y),this.ne(E),this.yf(z,re),this.ne(b)):(this.ne(E),this.ne(b),re=rn.alloc(),y.mi(re),oe=re.ca(b),Se.mi(re),se=re.ca(E),(oe||se)&&(ee=y.ga(D0(ee),new Ze),this.dd(0,this.getLinkPointFromPoint(a,y,ee,b,!0,ee)),x=Se.ga(D0(x),new Ze),this.dd(1,this.getLinkPointFromPoint(z,Se,x,E,!1,x))),rn.free(re))}else{ge=this.isAvoiding,Se&&(ce&&ge||se)&&this.Fj();var at=se?this.computeCurviness():0;ge=this.getLinkPoint(a,y,ee,!0,ce,E,b),we=Ne=Fe=0,(ce||!re||se)&&(Je=this.computeEndSegmentLength(a,y,ee,!0),we=this.getLinkDirection(a,y,ge,ee,!0,ce,E,b),se&&(re||ee.D(x)||!ce&&ee.x+x.x===1&&ee.y+x.y===1)&&(we-=ce?90:30,0>at&&(we-=180)),0>we?we+=360:360<=we&&(we-=360),se&&(Je+=Math.abs(at)*(ce?1:2)),we===0?Fe=Je:we===90?Ne=Je:we===180?Fe=-Je:we===270?Ne=-Je:(Fe=Je*Math.cos(we*Math.PI/180),Ne=Je*Math.sin(we*Math.PI/180)),ee.Mc()&&se&&(Je=y.ga(Dr,Ze.alloc()),Ge=Ze.allocAt(Je.x+1e3*Fe,Je.y+1e3*Ne),this.getLinkPointFromPoint(a,y,Je,Ge,!0,ge),Ze.free(Je),Ze.free(Ge))),Je=this.getLinkPoint(E,b,x,!1,ce,a,y);var ft=nt=Ge=0;if(ce||!oe||se){var Ct=this.computeEndSegmentLength(E,b,x,!1);ft=this.getLinkDirection(E,b,Je,x,!1,ce,a,y),se&&(oe||ee.D(x)||!ce&&ee.x+x.x===1&&ee.y+x.y===1)&&(ft+=ce?0:30,0>at&&(ft+=180)),0>ft?ft+=360:360<=ft&&(ft-=360),se&&(Ct+=Math.abs(at)*(ce?1:2)),ft===0?Ge=Ct:ft===90?nt=Ct:ft===180?Ge=-Ct:ft===270?nt=-Ct:(Ge=Ct*Math.cos(ft*Math.PI/180),nt=Ct*Math.sin(ft*Math.PI/180)),x.Mc()&&se&&(x=b.ga(Dr,Ze.alloc()),ee=Ze.allocAt(x.x+1e3*Ge,x.y+1e3*nt),this.getLinkPointFromPoint(E,b,x,ee,!1,Je),Ze.free(x),Ze.free(ee))}x=ge,(ce||!re||se)&&(x=new Ze(ge.x+Fe,ge.y+Ne)),ee=Je,(ce||!oe||se)&&(ee=new Ze(Je.x+Ge,Je.y+nt)),!Se&&!ce&&re&&3Math.abs(y.y-a.y)?(y.x>=a.x?y.x=a.x+9e9:y.x=a.x-9e9,y.y=a.y):(y.y>=a.y?y.y=a.y+9e9:y.y=a.y-9e9,y.x=a.x),y}ai.prototype.getLinkPointFromPoint=function(a,y,x,E,b,z){if(z===void 0&&(z=new Ze),a===null||y===null)return z.assign(x),z;if(a.isVisible()||(b=a.findVisibleNode(),b!==null&&b!==a&&(y=b.port)),a=null,b=y.panel,b===null||b.se()||(b=b.panel),b===null){b=E.x,E=E.y;var ee=x.x;x=x.y}else{a=b.oe,b=1/(a.m11*a.m22-a.m12*a.m21),ee=a.m22*b;var re=-a.m12*b,oe=-a.m21*b,se=a.m11*b,ce=b*(a.m21*a.dy-a.m22*a.dx),ge=b*(a.m12*a.dx-a.m11*a.dy);b=E.x*ee+E.y*oe+ce,E=E.x*re+E.y*se+ge,ee=x.x*ee+x.y*oe+ce,x=x.x*re+x.y*se+ge}return y.Sj(b,E,ee,x,z),a!==null&&z.transform(a),z};function B0(a,y){var x=y.Zn;return x===null&&(x=new tp,x.port=y,x.node=y.part,y.Zn=x),SS(x,a)}ai.prototype.getLinkPoint=function(a,y,x,E,b,z,ee,re){if(re===void 0&&(re=new Ze),x.sb()&&!Bp(x))return y.ga(x,re),re;if(x.$c()){var oe=B0(this,y);if(oe!==null){if(re.assign(oe.Zo),b&&this.routing===fS){var se=B0(this,ee);if(se!==null&&oe.Gl=ce.y&&a.y<=ce.y+ce.height?re.y=a.y:(x.Hf(ic)||x.Hf(Gl))&&a.x>=ce.x&&a.x<=ce.x+ce.width&&(re.x=a.x),Ze.free(oe),Ze.free(se)}}return re}}return x=y.ga(D0(x),Ze.alloc()),this.pointsCount>(b?6:2)?(ee=E?this.i(1):this.i(this.pointsCount-2),b&&(ee=fy(x,ee.copy()))):(oe=this.computeSpot(!E,ee),z=Ze.alloc(),ee=ee.ga(D0(oe),z),b&&(ee=fy(x,ee)),Ze.free(z)),this.getLinkPointFromPoint(a,y,x,ee,E,re),Ze.free(x),re},ai.prototype.getLinkDirection=function(a,y,x,E,b,z,ee,re){e:if(E.sb())var oe=E.x>E.y?E.x>1-E.y?0:E.x<1-E.y?270:315:E.x1-E.y?90:E.x<1-E.y?180:135:.5>E.x?225:.5(z?6:2)?(re=b?this.i(1):this.i(this.pointsCount-2),re=z?fy(oe,re.copy()):x):(x=Ze.alloc(),re=re.ga(Dr,x),Ze.free(x)),x=Math.abs(re.x-oe.x)>Math.abs(re.y-oe.y)?re.x>=oe.x?0:180:re.y>=oe.y?90:270,Ze.free(oe),oe=x}return E.Mc()&&ee.Td(a)&&(oe+=180,360<=oe&&(oe-=360)),Bp(E)||(a=y.li(),a===0)||(45<=a&&135>a?oe+=90:135<=a&&225>a?oe+=180:225<=a&&315>a&&(oe+=270),360<=oe&&(oe-=360)),oe},ai.prototype.computeEndSegmentLength=function(a,y,x,E){return y!==null&&x.$c()&&(a=B0(this,y),a!==null)?a.Ju:(a=E?this.fromEndSegmentLength:this.toEndSegmentLength,y!==null&&isNaN(a)&&(a=E?y.fromEndSegmentLength:y.toEndSegmentLength),isNaN(a)&&(a=10),a)},ai.prototype.computeSpot=function(a,y){return y===void 0&&(y=null),a?(a=y||this.fromPort,a===null?a=Dr:(y=this.fromSpot,y.Xb()&&(y=a.fromSpot),a=y===Zl?il:y)):(a=y||this.toPort,a===null?a=Dr:(y=this.toSpot,y.Xb()&&(y=a.toSpot),a=y===Zl?il:y)),a};function Bp(a){return a===il||a.x===.5&&a.y===.5}function D0(a){return a.x===.5&&a.y===.5?a:Dr}ai.prototype.computeOtherPoint=function(a,y){return this.computeAdjusting()!==Ec&&4Se.width||ge.y>Se.height||0>ge.x+ge.width||0>ge.y+ge.height)){if(ge=qr.alloc(),ge.set(ee),ce instanceof $n)re=ce.Cf(a,y,x,E,b,ge);else if(this.path===ce){if(ce instanceof io)if(re=a,Se=E,ce.pickable===!1)re=!1;else if(ge.multiply(ce.transform),Se)e:{var we=re,Fe=ge;if(ce.fh(we,Fe))re=!0;else{if(Fe===void 0&&(Fe=ce.transform,we.Re(ce.actualBounds))){re=!0;break e}re=we.left,Se=we.right;var Ne=we.top;we=we.bottom;var Je=Ze.alloc(),Ge=Ze.alloc(),nt=Ze.alloc(),at=qr.alloc();at.set(Fe),at.bv(ce.transform),at.Vj(),Ge.x=Se,Ge.y=Ne,Ge.transform(at),Je.x=re,Je.y=Ne,Je.transform(at),Fe=!1,Ng(ce,Je,Ge,nt)?Fe=!0:(Je.x=Se,Je.y=we,Je.transform(at),Ng(ce,Je,Ge,nt)?Fe=!0:(Ge.x=re,Ge.y=we,Ge.transform(at),Ng(ce,Je,Ge,nt)?Fe=!0:(Je.x=re,Je.y=Ne,Je.transform(at),Ng(ce,Je,Ge,nt)&&(Fe=!0)))),qr.free(at),Ze.free(Je),Ze.free(Ge),Ze.free(nt),re=Fe}}else re=ce.fh(re,ge)}else re=ws(ce,a,E,ge);re&&(Se=ce,y!==null&&(Se=y(ce)),Se&&(x===null||x(Se))&&b.add(Se)),qr.free(ge)}}}return z===void 0&&qr.free(ee),re||this.background!==null||this.areaBackground!==null}return z===void 0&&qr.free(ee),!1},ai.prototype.computeCurve=function(){if(this.Wf===null){var a=this.fromPort,y=this.isOrthogonal;this.Wf=a!==null&&a===this.toPort&&!y}return this.Wf?vd:this.curve},ai.prototype.computeCorner=function(){if(this.curve===vd)return 0;var a=this.corner;return(isNaN(a)||0>a)&&(a=10),a},ai.prototype.findMidLabel=function(){for(var a=this.path,y=this.O.s,x=y.length,E=0;Eoe?-Math.PI/2:Math.PI/2;else ce=Math.atan(oe/Math.abs(re)),0>re&&(ce=Math.PI-ce);ee=y.x;var ge=y.y;re=E.x-ee;var Se=E.y-ge;for(oe=Math.sqrt(re*re+Se*Se),Bt.$(re,0)?Se=0>Se?-Math.PI/2:Math.PI/2:(Se=Math.atan(Se/Math.abs(re)),0>re&&(Se=Math.PI-Se)),se=oe/se,ce=Se-ce,this.dd(a,y),a+=1;aoe?-Math.PI/2:Math.PI/2:(oe=Math.atan(oe/Math.abs(re)),0>re&&(oe=Math.PI-oe)),re=oe+ce,y*=se,this.L(a,ee+y*Math.cos(re),ge+y*Math.sin(re)));this.dd(x,E)}}return!0;case N0:if(z=this.i(a),ge=this.i(x),!z.Xa(y)||!ge.Xa(E)){b=z.x,z=z.y,ee=ge.x,ge=ge.y,se=(ee-b)*(ee-b)+(ge-z)*(ge-z),re=y.x,ce=y.y,oe=E.x,Se=E.y;var we=1;if(oe-re!==0){var Fe=(Se-ce)/(oe-re);we=Math.sqrt(1+1/(Fe*Fe))}else Fe=9e9;for(this.dd(a,y),a+=1;ay?y+=360:360<=y&&(y-=360),0>E?E+=360:360<=E&&(E-=360);var ee=E;y=315<=y||45>y?0:45<=y&&135>y?90:135<=y&&225>y?180:270,E=315<=E||45>E?0:45<=E&&135>E?90:135<=E&&225>E?180:270;var re=b.actualBounds.copy(),oe=z.actualBounds.copy();if(re.w()&&oe.w()){re.Bc(vm,vm),oe.Bc(vm,vm),re.Ye(a),oe.Ye(x);var se=Ze.alloc(),ce=Ze.alloc();y===0?x.x>a.x||E===270&&x.ya.x||E===90&&x.y>a.y&&oe.right>a.x?(se.h(x.x,a.y),ce.h(x.x,(a.y+x.y)/2),E===180?(se.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1),ce.x=se.x,ce.y=x.y):E===270&&x.ya.y?(se.x=a.xoe.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):oe.right,ce.x=se.x,ce.y=x.y):E===0&&a.xoe.top&&a.yre.bottom)&&(E===180&&(oe.ca(a)||re.ca(x))?se.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.ya.y&&(E===180||E===270)&&(se.y=this.computeMidOrthoPosition(a.x,re.bottom,x.x,Math.min(x.y,oe.top),!0)),ce.x=x.x,ce.y=se.y),se.y>re.top&&se.y=re.left&&x.x<=a.x||a.x<=oe.right&&a.x>=x.x?(E===90||E===270)&&(se.h(Math.max((a.x+x.x)/2,a.x),a.y),ce.h(se.x,x.y)):(se.y=E===270||(E===0||E===180)&&x.ya.y&&oe.lefta.y?(se.x=a.x>oe.right?this.computeMidOrthoPosition(a.x,a.y,oe.right,x.y,!1):a.x>oe.left&&(E===270&&a.yoe.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):oe.left,ce.x=se.x,ce.y=x.y):E===180&&a.x>oe.right&&a.y>oe.top&&a.yre.bottom)&&(E===0&&(oe.ca(a)||re.ca(x))?se.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.ya.y&&(E===0||E===270)&&(se.y=this.computeMidOrthoPosition(a.x,re.bottom,x.x,Math.min(x.y,oe.top),!0)),ce.x=x.x,ce.y=se.y),se.y>re.top&&se.y=a.x||a.x>=oe.left&&a.x<=x.x?(E===90||E===270)&&(se.h(Math.min((a.x+x.x)/2,a.x),a.y),ce.h(se.x,x.y)):(se.y=E===270||(E===0||E===180)&&x.ya.y||E===180&&x.xa.y||E===0&&x.x>a.x&&oe.bottom>a.y?(se.h(a.x,x.y),ce.h((a.x+x.x)/2,x.y),E===270?(se.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0),ce.x=x.x,ce.y=se.y):E===180&&x.xa.x?(se.y=a.yoe.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):oe.bottom,ce.x=x.x,ce.y=se.y):E===90&&a.yoe.left&&a.xre.right)&&(E===270&&(oe.ca(a)||re.ca(x))?se.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.xa.x&&(E===270||E===180)&&(se.x=this.computeMidOrthoPosition(re.right,a.y,Math.min(x.x,oe.left),x.y,!1)),ce.x=se.x,ce.y=x.y),se.x>re.left&&se.x=re.top&&x.y<=a.y||a.y<=oe.bottom&&a.y>=x.y?(E===0||E===180)&&(se.h(a.x,Math.max((a.y+x.y)/2,a.y)),ce.h(x.x,se.y)):(se.x=E===180||(E===90||E===270)&&x.xa.x&&oe.top=a.x?(se.y=a.y>oe.bottom?this.computeMidOrthoPosition(a.x,a.y,x.x,oe.bottom,!0):a.y>oe.top&&(E===180&&a.xoe.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):oe.top,ce.x=x.x,ce.y=se.y):E===270&&a.y>oe.bottom&&a.x>oe.left&&a.xre.right)&&(E===90&&(oe.ca(a)||re.ca(x))?se.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.xa.x&&(E===90||E===180)&&(se.x=this.computeMidOrthoPosition(re.right,a.y,Math.min(x.x,oe.left),x.y,!1)),ce.x=se.x,ce.y=x.y),se.x>re.left&&se.x=a.y||a.y>=oe.top&&a.y<=x.y?(E===0||E===180)&&(se.h(a.x,Math.min((a.y+x.y)/2,a.y)),ce.h(x.x,se.y)):(se.x=E===180||(E===90||E===270)&&x.x=Mp&&(mS(we),re.Bc(we.Ho*we.Hx,we.Go*we.Ix),vS(we,a,y,ge,E,re,!1),oe=df(we,ge.x,ge.y)),!we.abort&&oethis.pointsCount?(y===0||y===180?(re.x=a.x,re.y=ge.y):(re.x=ge.x,re.y=a.y),this.L(2,re.x,re.y),this.m(3,re.x,re.y)):(ee=this.i(3),y===0||y===180?Bt.B(re.x,ee.x)?(re=y===0?Math.max(re.x,a.x):Math.min(re.x,a.x),this.L(2,re,a.y),this.L(3,re,ee.y)):Bt.B(re.y,ee.y)?(Math.abs(a.y-re.y)<=we.Go/2&&(this.L(2,re.x,a.y),this.L(3,ee.x,a.y)),this.m(2,re.x,a.y)):this.L(2,a.x,re.y):(y===90||y===270)&&(Bt.B(re.y,ee.y)?(re=y===90?Math.max(re.y,a.y):Math.min(re.y,a.y),this.L(2,a.x,re),this.L(3,ee.x,re)):Bt.B(re.x,ee.x)?(Math.abs(a.x-re.x)<=we.Ho/2&&(this.L(2,a.x,re.y),this.L(3,a.x,ee.y)),this.m(2,a.x,re.y)):this.L(2,re.x,a.y))),x!==null&&(a=this.i(1),ee=this.i(2),a.x!==ee.x&&a.y!==ee.y?y===0||y===180?this.m(2,a.x,ee.y):this.m(2,ee.x,a.y):y===0||y===180?this.m(2,b.x,x.y):this.m(2,x.x,b.y)),Fe!==null&&(E===0||E===180?this.yf(z.x,Fe.y):this.yf(Fe.x,z.y)),y=!0):y=!1}}}else y=!1;y||(this.ne(se.copy()),this.ne(ce.copy())),Ze.free(se),Ze.free(ce)}},ai.prototype.computeMidOrthoPosition=function(a,y,x,E,b){var z=0;return!this.hasCurviness()||this.computeSpot(!0,this.fromPort).$c()||this.computeSpot(!1,this.toPort).$c()||(z=this.computeCurviness()),b?(y+E)/2+z:(a+x)/2+z};function gy(a){if(a.diagram===null||!a.isAvoiding||!$o(a.diagram))return!1;var y=a.points.s,x=y.length;if(4>x)return!1;a=Ka(a.diagram,!0,a.containingGroup,null);for(var E=1;EIg&&df(y,ce,ge)!==se-1&&(df(y,x-re,E)===se-1?(b=180,ce=x-re,ge=E):df(y,x+re,E)===se-1?(b=0,ce=x+re,ge=E):df(y,x,E-oe)===se-1?(b=270,ce=x,ge=E-oe):df(y,x,E+oe)===se-1&&(b=90,ce=x,ge=E+oe));se>Ig&&df(y,ce,ge)===se-1;)x=ce,E=ge,b===0?ce+=re:b===90?ge+=oe:b===180?ce-=re:ge-=oe,--se;z?se>Ig&&(b===180||b===0?x=Math.floor(x/re)*re+re/2:(b===90||b===270)&&(E=Math.floor(E/oe)*oe+oe/2)):(x=Math.floor(x/re)*re+re/2,E=Math.floor(E/oe)*oe+oe/2),se>Ig&&(z=b,ee=x,ce=E,b===0?(z=90,ce+=oe):b===90?(z=180,ee-=re):b===180?(z=270,ce-=oe):b===270&&(z=0,ee+=re),df(y,ee,ce)===se-1?py(a,y,ee,ce,z,!1,z):(ee=x,ce=E,b===0?(z=270,ce-=oe):b===90?(z=0,ee+=re):b===180?(z=90,ce+=oe):b===270&&(z=180,ee-=re),df(y,ee,ce)===se-1&&py(a,y,ee,ce,z,!1,z))),a.yf(x,E)}ai.prototype.ez=function(a){var y=a.x;a=a.y;for(var x=this.i(0),E=this.i(1),b=Ea(y,a,x.x,x.y,E.x,E.y),z=0,ee=1;eethis.pointsCount?this.lk=!0:this.ua=this.makeGeometry(),a=this.path,a!==null)){a.ua=this.ua;for(var y=this.O.s,x=y.length,E=0;E=y&&(E=y-1),oe=this.i(E),z.x=Math.min(oe.x,z.x),z.y=Math.min(oe.y,z.y);E=z.x,oe=z.y}else{for(oe=0;oeJe?Fe>we?(z.x=Ge-at,z.y=we-at,b.x=Ge+Ne,b.y=we+Ne):(z.x=Ge-at,z.y=we+at,b.x=Ge+Ne,b.y=we-Ne):Fe>we?(z.x=Ge+at,z.y=we-at,b.x=Ge-Ne,b.y=we+Ne):(z.x=Ge+at,z.y=we+at,b.x=Ge-Ne,b.y=we-Ne)),Bt.$(Je,Ge)&&Bt.$(we,Fe)&&(we>Se?(nt>Ge?(z.x=Ge-at,z.y=we-at,b.x=Ge+Ne):(z.x=Ge+at,z.y=we-at,b.x=Ge-Ne),b.y=we+Ne):(nt>Ge?(z.x=Ge-at,z.y=we+at,b.x=Ge+Ne):(z.x=Ge+at,z.y=we+at,b.x=Ge-Ne),b.y=we-Ne)),(Bt.$(Je,Ge)&&Bt.$(Ge,nt)||Bt.$(Se,we)&&Bt.$(we,Fe))&&(Je=.5*(Je+nt),Se=.5*(Se+Fe),z.x=Je,z.y=Se,b.x=Je,b.y=Se),(ge===1||ge===2&&Bt.$(ee.x,this.i(0).x)&&Bt.$(ee.y,this.i(0).y))&&(x.x=.5*(ee.x+se.x),x.y=.5*(ee.y+se.y)),Rf(re,x.x-E,x.y-oe,z.x-E,z.y-oe,se.x-E,se.y-oe),y.set(z),x.set(b),ee=se}}se=ee.x,ee=ee.y,ce=this.i(this.pointsCount-1),this.computeShortLength(!1)!==0&&(ce=Qg(this,ce.copy(),!1,Io)),se=.5*(se+ce.x),ee=.5*(ee+ce.y),Rf(re,b.x-E,b.y-oe,se-E,ee-oe,ce.x-E,ce.y-oe),Ze.free(y),Ze.free(x),Ze.free(z),Ze.free(b)}else for(x=3;x=y&&(x=y-1),b=this.i(x-1),ee=this.i(x),x===y-1&&this.computeShortLength(!1)!==0&&(ee=Qg(this,ee.copy(),!1,Io)),Rf(re,z.x-E,z.y-oe,b.x-E,b.y-oe,ee.x-E,ee.y-oe);else{for(z=Ze.alloc(),z.assign(this.i(0)),b=Ze.alloc(),b.assign(z),ee=this.computeCorner(),ge=1,se=0;ge=y-1){if(!z.D(ce))this.computeShortLength(!1)!==0&&(ce=Qg(this,ce.copy(),!1,Io)),qg(this,re,-E,-oe,z,ce,x);else if(se===0)for(ge=1;gez.x?ft=Se.x-Fe:ft=Se.x+Fe,Ge.y>Se.y?nt=Se.y+at:nt=Se.y-at,Ge=Ze.allocAt(ft,Ct),qg(this,re,ge,Je,z,Ge,Ne),Ze.free(Ge),x0(re,Se.x+ge,Se.y+Je,we+ge,nt+Je),z.h(we,nt)}else Bt.B(z.x,Se.x)&&Bt.B(Se.y,Ge.y)?(Fe=Math.min(ee,Math.abs(Se.y-b.y)/2),Fe=at=Math.min(Fe,Math.abs(Ge.x-Se.x)/2),Bt.B(at,0)?(qg(this,re,ge,Je,z,Se,Ne),z.assign(Se)):(ft=Se.x,Ct=Se.y,we=ft,nt=Ct,Se.y>z.y?Ct=Se.y-Fe:Ct=Se.y+Fe,Ge.x>Se.x?we=Se.x+at:we=Se.x-at,Ge=Ze.allocAt(ft,Ct),qg(this,re,ge,Je,z,Ge,Ne),Ze.free(Ge),x0(re,Se.x+ge,Se.y+Je,we+ge,nt+Je),z.h(we,nt))):(qg(this,re,ge,Je,z,Se,Ne),z.assign(Se));b.assign(ce),ge=se}Ze.free(z)}E0=re}else re=this.i(1).copy(),re.x-=E,re.y-=oe,this.computeShortLength(!0)!==0&&(b=Qg(this,b,!0,z)),this.computeShortLength(!1)!==0&&(re=Qg(this,re,!1,z)),a.type=li.j,a.startX=b.x,a.startY=b.y,a.endX=re.x,a.endY=re.y;return this.lk=!0,a};function L0(a,y,x,E){return a=x-a,isNaN(a)||a===1/0||a===-1/0?NaN:(0>a&&(a=-a),y=E-y,isNaN(y)||y===1/0||y===-1/0?NaN:(0>y&&(y=-y),Bt.$(a,0)?y:Bt.$(y,0)?a:Math.sqrt(a*a+y*y)))}function Qg(a,y,x,E){var b=a.pointsCount;if(2>b)return y;if(x){var z=a.i(1);if(x=z.x-E.x,z=z.y-E.y,E=L0(y.x,y.y,x,z),E===0)return y;b=b===2?.5*E:E,a=a.computeShortLength(!0),a>b&&(a=b),b=a*(z-y.y)/E,y.x+=a*(x-y.x)/E,y.y+=b}else{if(z=a.i(b-2),x=z.x-E.x,z=z.y-E.y,E=L0(y.x,y.y,x,z),E===0)return y;b=b===2?.5*E:E,a=a.computeShortLength(!1),a>b&&(a=b),b=a*(y.y-z)/E,y.x-=a*(y.x-x)/E,y.y-=b}return y}function my(a,y,x,E){for(var b=a.pointsCount,z=y;Bt.$(y.x,z.x)&&Bt.$(y.y,z.y);){if(x>=b)return b-1;z=a.i(x++)}if(!Bt.$(y.x,z.x)&&!Bt.$(y.y,z.y))return x-1;for(var ee=z;Bt.$(y.x,z.x)&&Bt.$(z.x,ee.x)&&(!E||(y.y>=z.y?z.y>=ee.y:z.y<=ee.y))||Bt.$(y.y,z.y)&&Bt.$(z.y,ee.y)&&(!E||(y.x>=z.x?z.x>=ee.x:z.x<=ee.x));){if(x>=b)return b-1;ee=a.i(x++)}return x-2}ai.prototype.computeJumpLength=function(){return 10};function qg(a,y,x,E,b,z,ee){if(!ee&&Og(a)){ee=a.computeJumpLength();var re=ee/2,oe=[],se=0;if(a.isVisible()&&(se=Ix(a,b,z,oe)),0ge-ee);)se--,ge=Math.max(ce-re,z.x);ce=z.y-ee+E,ge+=x,we=z.y+E,a.curve===Vf?Fp(y,ge,we,!1):Rf(y,Se,ce,ge,ce,ge,we)}else if(Bt.B(b.x,z.x))if(b.yce-ee);)se--,ce=Math.max(ge-re,z.y);ge=z.x-ee+x,we=z.x+x,ce+=E,a.curve===Vf?Fp(y,we,ce,!1):Rf(y,ge,Se,ge,ce,we,ce)}}}y.lineTo(z.x+x,z.y+E)}function Ix(a,y,x,E){var b=a.diagram;if(b===null||y.D(x))return 0;for(b=b.layers;b.next();){var z=b.value;if(z!==null&&z.visible){z=z.Pa.s;for(var ee=z.length,re=0;reee.x&&ce.x>=se.x||se.xee.y&&ce.y>=se.y||se.yee&&Math.min(Fe,Ne)ce&&!Bt.B(Fe,Ne)){re.x=ce,re.y=ee,ce=!0;break e}}else if(Bt.B(ge,we)&&Bt.B(Fe,Ne)&&Math.min(ce,Se)Fe&&Math.min(ee,Je)ge&&!Bt.B(ee,Je)){re.x=Fe,re.y=ge,ce=!0;break e}re.x=0,re.y=0,ce=!1}ce&&(b?x.push(re.x):x.push(re.y)),ee=se}Ze.free(re)}function Og(a){return a=a.curve,a===Dp||a===Vf}function M0(a,y){(y||Og(a))&&(y=a.diagram,y===null||y.animationManager.isTicking||y.Eh.contains(a)||a.ml.width===0&&a.ml.height===0||y.Eh.add(a,a.ml.copy()))}ai.prototype.Xo=function(a){var y=this.layer;if(y!==null&&y.visible&&!y.isTemporary){var x=y.diagram;if(x!==null&&!x.animationManager.isTicking){var E=!1;for(x=x.layers;x.next();){var b=x.value;if(b.visible){if(b===y){E=!0;var z=!1;b=b.Pa.s;for(var ee=b.length,re=0;rea&&Cn(a,">= 0",ai,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),this.bb())}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:NaN},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.qc(),this.g("fromShortLength",y,a))}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:Zl},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),(y.$c()||a.$c())&&this.toNode!==null&&rd(this.toPort),this.bb())}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:NaN},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Cn(a,">= 0",ai,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),this.bb())}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:NaN},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.qc(),this.g("toShortLength",y,a))}},isLabeledLink:{get:function(){return this.wd===null?!1:0=E&&(z=E-1);var re=this.i(z-1),oe=this.i(z);Bt.Dl(b.x,b.y,ee.x,ee.y,re.x,re.y,oe.x,oe.y,.5,a),y=Math.min(oe.x,y),x=Math.min(oe.y,x),b=oe}else for(b=this.i(0),z=this.i(1),y=Math.min(b.x,z.x),x=Math.min(b.y,z.y),a.h(b.x,b.y,0,0),a.Ye(z),b=2;bE&&(E=-E)):Bt.$(E.y,b.y)?(E=b.x-E.x,0>E&&(E=-E)):E=Math.sqrt(E.Bf(b)),a.push(E)}}return this.cq}},flattenedTotalLength:{get:function(){var a=this.vt;if(isNaN(a)){for(var y=this.flattenedLengths,x=y.length,E=a=0;Ethis.pointsCount)return this.lk=!0,this.ua;this.ua=this.makeGeometry()}return this.ua}},firstPickIndex:{get:function(){return 2>=this.pointsCount?0:this.isOrthogonal||!Bp(this.computeSpot(!0))?1:0}},lastPickIndex:{get:function(){var a=this.pointsCount;return a===0?0:2>=a?a-1:this.isOrthogonal||!Bp(this.computeSpot(!1))?a-2:a-1}},adjusting:{get:function(){return this.qk},set:function(a){var y=this.qk;y!==a&&(this.qk=a,this.g("adjusting",y,a))}},corner:{get:function(){return this.Om},set:function(a){var y=this.Om;y!==a&&(this.Om=a,this.qc(),this.g("corner",y,a))}},curve:{get:function(){return this.Qm},set:function(a){var y=this.Qm;y!==a&&(this.Qm=a,this.bb(),this.qc(),M0(this,y===Vf||y===Dp||a===Vf||a===Dp),this.g("curve",y,a))}},curviness:{get:function(){return this.Rm},set:function(a){var y=this.Rm;y!==a&&(this.Rm=a,this.bb(),this.qc(),this.g("curviness",y,a))}},routing:{get:function(){return this.qj},set:function(a){var y=this.qj;y!==a&&(this.qj=a,this.Wf=null,this.bb(),M0(this,(y.value&2)===2||(a.value&2)===2),this.g("routing",y,a))}},smoothness:{get:function(){return this.po},set:function(a){var y=this.po;y!==a&&(this.po=a,this.qc(),this.g("smoothness",y,a))}},key:{get:function(){var a=this.diagram;if(a!==null&&a.model.ri())return a.model.Ac(this.data)}}}),ai.prototype.invalidateOtherJumpOvers=ai.prototype.Xo,ai.prototype.findClosestSegment=ai.prototype.ez,ai.prototype.updateRoute=ai.prototype.vg,ai.prototype.invalidateRoute=ai.prototype.bb,ai.prototype.rollbackRoute=ai.prototype.rv,ai.prototype.commitRoute=ai.prototype.zf,ai.prototype.startRoute=ai.prototype.uh,ai.prototype.clearPoints=ai.prototype.Fj,ai.prototype.removePoint=ai.prototype.pv,ai.prototype.addPointAt=ai.prototype.yf,ai.prototype.addPoint=ai.prototype.ne,ai.prototype.insertPointAt=ai.prototype.m,ai.prototype.insertPoint=ai.prototype.Kz,ai.prototype.setPointAt=ai.prototype.L,ai.prototype.setPoint=ai.prototype.dd,ai.prototype.getPoint=ai.prototype.i,ai.prototype.getOtherPort=ai.prototype.Cz,ai.prototype.getOtherNode=ai.prototype.To;var $g=null,ep=null,vy=new sn(ai,"Normal",1),Wx=new sn(ai,"Orthogonal",2),jx=new sn(ai,"AvoidsNodes",6),fS=new sn(ai,"AvoidsNodesStraight",7),Ec=new sn(ai,"None",0),vd=new sn(ai,"Bezier",9),Vf=new sn(ai,"JumpGap",10),Dp=new sn(ai,"JumpOver",11),dm=new sn(ai,"End",17),k0=new sn(ai,"Scale",18),N0=new sn(ai,"Stretch",19),hm=new sn(ai,"OrientAlong",21),fm=new sn(ai,"OrientPlus90",22),gm=new sn(ai,"OrientMinus90",23),yy=new sn(ai,"OrientOpposite",24),T0=new sn(ai,"OrientUpright",25),pm=new sn(ai,"OrientPlus90Upright",26),mm=new sn(ai,"OrientMinus90Upright",27),O0=new sn(ai,"OrientUpright45",28),gS=16,pS=14,vm=8;ai.className="Link",ai.Normal=vy,ai.Orthogonal=Wx,ai.AvoidsNodes=jx,ai.AvoidsNodesStraight=fS,ai.None=Ec,ai.Bezier=vd,ai.JumpGap=Vf,ai.JumpOver=Dp,ai.End=dm,ai.Scale=k0,ai.Stretch=N0,ai.OrientAlong=hm,ai.OrientPlus90=fm,ai.OrientMinus90=gm,ai.OrientOpposite=yy,ai.OrientUpright=T0,ai.OrientPlus90Upright=pm,ai.OrientMinus90Upright=mm,ai.OrientUpright45=O0,ai.EndSegmentStep=8,ai.CurvinessStart=gS,ai.SpacingMin=pS,ai.OrthoShortCut=vm;function I0(a,y,x,E){Ir(this),this.Fe=this.qq=!1,this.Ds=a,this.Ox=y,this.cv=x,this.Px=E,this.links=[]}I0.prototype.Sl=function(){if(!this.qq){var a=this.links;0=a.width||0>=a.height)){var y=a.y,x=a.x+a.width,E=a.y+a.height;if(this.Nd=Math.floor((a.x-this.rc)/this.rc)*this.rc,this.Od=Math.floor((y-this.sc)/this.sc)*this.sc,this.En=Math.ceil((x+2*this.rc)/this.rc)*this.rc,this.Fn=Math.ceil((E+2*this.sc)/this.sc)*this.sc,a=1+(Math.ceil((this.En-this.Nd)/this.rc)|0),y=1+(Math.ceil((this.Fn-this.Od)/this.sc)|0),this.ac===null||this.di=Ig&&(x[E]=Sy)}ym.prototype.Yj=function(a,y,x,E){if(a>this.En||a+xthis.Fn||y+Ea&&(x+=a,a=0),0>y&&(b+=y,y=0),0>x||0>b)return!0;for(E=Math.min(a+x-1,this.di)|0,x=Math.min(y+b-1,this.ei)|0;a<=E;a++){b=this.ac[a];for(var z=y;z<=x;z++)if(b[z]===Gf)return!1}return!0};function hf(a,y,x,E,b,z,ee,re,oe){if(!(yee||xoe)){var se=y|0,ce=x|0,ge=a.ac[se][ce];if(ge>=Ig&&ge=a.ac[se][ce]);)a.ac[se][ce]=ge,ge+=1,b?ce+=E:se+=E;if(se=b?ce:se,b)if(0se;x+=E)hf(a,y,x,1,!b,z,ee,re,oe),hf(a,y,x,-1,!b,z,ee,re,oe);else if(0se;y+=E)hf(a,y,x,1,!b,z,ee,re,oe),hf(a,y,x,-1,!b,z,ee,re,oe)}}function R0(a,y,x,E,b,z,ee,re,oe){y|=0,x|=0;var se=Gf,ce=Ig;for(a.ac[y][x]=ce;se===Gf&&y>z&&yre&&xz&&yre&&x=Math.abs(re-se)&&1>=Math.abs(oe-ce))a.abort=!0;else{var ge=z.x;E=z.y,y=z.x+z.width;var Se=z.y+z.height;ge-=a.Nd,ge/=a.rc,E-=a.Od,E/=a.sc,y-=a.Nd,y/=a.rc,Se-=a.Od,Se/=a.sc,z=Math.max(0,Math.min(a.di,ge|0)),y=Math.min(a.di,Math.max(0,y|0)),ge=Math.max(0,Math.min(a.ei,E|0)),Se=Math.min(a.ei,Math.max(0,Se|0)),E=a.ac,re|=0,oe|=0,se|=0,ce|=0;var we=x===0||x===90?1:-1;if(x=x===90||x===270,E[re][oe]===Gf?(R0(a,re,oe,we,x,z,y,ge,Se),R0(a,re,oe,1,!x,z,y,ge,Se),R0(a,re,oe,-1,!x,z,y,ge,Se)):R0(a,re,oe,we,x,re,oe,re,oe),E[se][ce]===Gf?(W0(a,se,ce,b===0||b===90?1:-1,b===90||b===270,z,y,ge,Se),W0(a,se,ce,1,!(b===90||b===270),z,y,ge,Se),W0(a,se,ce,-1,!(b===90||b===270),z,y,ge,Se)):W0(a,se,ce,we,x,se,ce,se,ce),x=Ri(),ee&&yS(a,se,ce,b,re,oe,x))for((x[0]!==se||x[1]!==ce)&&(x.unshift(ce),x.unshift(se)),(x[x.length-2]!==re||x[x.length-1]!==oe)&&(x.push(re),x.push(oe)),a=Ig,b=x[x.length-2],ee=x[x.length-1],E[b][ee]=a++,z=x.length-4;0<=z;z-=2)for(b=x[z+2],ee=x[z+3],y=x[z],se=x[z+1];y>b?b++:yee?ee++:seb)ce--;else break;else if(ge>z)ge--;else break;var Se=re[ce][ge];if(Se===0||Se===xy)break;oe=ce,se=ge}for(;;){if(ce=E,ge=oe,Se=se,E===0?Sez&&(ce=270,Se--):E===90?geb&&(ce=180,ge--):E===180?Sez&&(ce=270,Se--):geb&&(ce=180,ge--),ge=re[ge][Se],ce!==E&&ge!==0&&ge!==xy){if(ee.push(oe),ee.push(se),yS(a,oe,se,ce,b,z,ee))return!0;ee.pop(),ee.pop()}if(re[oe][se]=xy,E===0){if(oe===y)return!1;oe--}else if(E===90){if(se===x)return!1;se--}else if(E===180){if(oe===y)return!1;oe++}else{if(se===x)return!1;se++}}}Rt.Object.defineProperties(ym.prototype,{bounds:{get:function(){return new rn(this.Nd,this.Od,this.En-this.Nd,this.Fn-this.Od)}},Ho:{get:function(){return this.rc},set:function(a){0=x?180:0}switch(a=180*Math.atan2(a.height,a.width)/Math.PI,y){case 3:return x>a&&x<=180+a?180:270;case 5:return x>180-a&&x<=360-a?270:0;case 12:return x>a&&x<=180+a?90:0;case 10:return x>180-a&&x<=360-a?180:90;case 7:return 90180+a&&x<=360-a?270:0;case 13:return 180a&&180>=x?90:0;case 14:return x>a&&x<=180-a?90:x>180-a&&270>=x?180:0;case 11:return x>180-a&&x<=180+a?180:x>180+a?270:90}return E&&y!==15&&(x-=15,0>x&&(x+=360)),x>a&&x<180-a?90:x>=180-a&&x<=180+a?180:x>180+a&&x<360-a?270:0}tp.prototype.Sl=function(){this.pe.length=0};function SS(a,y){var x=a.pe;if(x.length===0){e:if(!a.ap){x=a.ap,a.ap=!0;var E=null,b=a.node,z=b instanceof Gr?b:null;if(z===null||z.isSubGraphExpanded)var ee=b.isTreeExpanded?b.findLinksConnected(a.port.portId):b.qx();else{if(!z.actualBounds.w()){a.ap=x;break e}E=z,ee=E.Lu()}z=a.pe.length=0;var re=a.port.ga(bl,Ze.alloc()),oe=a.port.ga(hu,Ze.alloc());for(b=rn.allocAt(re.x,re.y,0,0),b.Ye(oe),Ze.free(re),Ze.free(oe),re=Ze.allocAt(b.x+b.width/2,b.y+b.height/2),oe=a.port.li(),ee=ee.iterator;ee.next();){var se=ee.value;if(se.isVisible()&&se.fromPort!==se.toPort){var ce=se.fromPort===a.port||se.fromNode!==null&&se.fromNode.Td(E),ge=se.computeSpot(ce,a.port);if(ge.$c()&&(ce=ce?se.toPort:se.fromPort,ce!==null)){var Se=ce.part;if(Se!==null){var we=Se.findVisibleNode();we!==null&&we!==Se&&(Se=we,ce=Se.port),ce=se.computeOtherPoint(Se,ce),Se=re.ab(ce),Se-=oe,0>Se?Se+=360:360<=Se&&(Se-=360),ge=zx(b,ge,Se,se.isOrthogonal),ge===0?(ge=4,180Se&&(Se+=360)),we=a.pe[z],we===void 0?(we=new Ey(se,Se,ge),a.pe[z]=we):(we.link=se,we.angle=Se,we.Nc=ge),we.hv.set(ce),z++}}}}for(Ze.free(re),a.pe.sort(tp.prototype.j),oe=a.pe.length,E=-1,z=re=0;zMath.abs(Ne)?(nt=Math.abs(Ne)/Se,Se=Math.abs(Ne)):nt=1;break;case 2:we>Math.abs(at)?(nt=Math.abs(at)/we,we=Math.abs(at)):nt=1;break;case 1:ge>Math.abs(Ne)?(nt=Math.abs(Ne)/ge,ge=Math.abs(Ne)):nt=1;break;default:case 4:ce>Math.abs(at)?(nt=Math.abs(at)/ce,ce=Math.abs(at)):nt=1}Ge=0}var Kt=ft.Zo;if(E===cy){switch(ft=ft.link.computeThickness(),ft*=nt,Kt.set(Ct),Fe){case 8:Kt.x=Ct.x+Ne/2+Se/2-Ge-ft/2;break;case 2:Kt.y=Ct.y+at/2+we/2-Ge-ft/2;break;case 1:Kt.x=Ct.x+Ne/2-ge/2+Ge+ft/2;break;default:case 4:Kt.y=Ct.y+at/2-ce/2+Ge+ft/2}Ge+=ft}else{var Pi=.5;E===F0&&(Pi=(ft.Uo+1)/(ft.Gl+1)),Kt.x=Ct.x+Ne*Pi,Kt.y=Ct.y+at*Pi}}}for(Ze.free(re),Ze.free(oe),Ze.free(ee),Ze.free(se),Ct=a.pe,z=0;zy.Nc?1:a.angley.angle?1:0},tp.prototype.computeEndSegmentLength=function(a){var y=a.link,x=y.computeEndSegmentLength(this.node,this.port,il,y.fromPort===this.port),E=a.Uo;if(0>E)return x;var b=a.Gl;if(1>=b||!y.isOrthogonal)return x;y=a.hv;var z=a.Zo;return(a.Nc===2||a.Nc===8)&&(E=b-1-E),((a=a.Nc===2||a.Nc===4)?y.y=y-1?(z=0,E=x,b+=ee+20,ee=0):z++}},Cs.prototype.doMinimalNetworkLayout=function(){var a=Math.ceil(Math.sqrt(this.network.vertexes.count));this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);for(var y=this.arrangementOrigin.x,x=y,E=this.arrangementOrigin.y,b=0,z=0,ee=this.network.vertexes.iterator;ee.next();){var re=ee.value.node;if(!(re===null||re instanceof ai)&&(Sm(re),this.rh(re))){var oe=re.measuredBounds,se=oe.width;oe=oe.height,re.moveTo(x,E),re instanceof Gr&&(re.rh=!1),x+=Math.max(se,50)+20,z=Math.max(z,Math.max(oe,50)),b>=a-1?(b=0,x=y,E+=z+20,z=0):b++}}},Cs.prototype.rh=function(a){return!!(!a.location.w()||a instanceof Gr&&a.rh)};function cg(a,y,x,E,b,z,ee,re){for(x=x.iterator;x.next();){var oe=x.value;E&&!oe.isTopLevel||b!==null&&!b(oe)||!oe.canLayout()||(z&&oe instanceof Fi?oe.isLinkLabel||(oe instanceof Gr&&oe.layout===null?cg(a,y,oe.memberParts,!1,b,z,ee,re):(Sm(oe),y.add(oe))):ee&&oe instanceof ai?y.add(oe):!re||!oe.Zc()||oe instanceof Fi||(Sm(oe),y.add(oe)))}}function Sm(a){var y=a.actualBounds;(y.width===0||y.height===0||isNaN(y.width)||isNaN(y.height))&&a.Va()}Cs.prototype.ni=function(a,y){var x=this.boundsComputation;return x!==null?(y||(y=new rn),x(a,this,y)):y?(y.set(a.actualBounds),y):a.actualBounds},Cs.prototype.ex=function(a){var y=new Rn;return a instanceof Ht?(cg(this,y,a.nodes,!0,null,!0,!0,!0),cg(this,y,a.links,!0,null,!0,!0,!0),cg(this,y,a.parts,!0,null,!0,!0,!0)):a instanceof Gr?cg(this,y,a.memberParts,!1,null,!0,!0,!0):cg(this,y,a.iterator,!1,null,!0,!0,!0),y},Cs.prototype.initialOrigin=function(a){var y=this.group;if(y!==null){var x=y.position.copy();return(isNaN(x.x)||isNaN(x.y))&&x.set(a),y=y.placeholder,y!==null&&(x=y.ga(bl),(isNaN(x.x)||isNaN(x.y))&&x.set(a),a=y.padding,x.x+=a.left,x.y+=a.top),x}return a},Rt.Object.defineProperties(Cs.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},group:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a,a!==null&&(this.H=a.diagram))}},isOngoing:{get:function(){return this.sn},set:function(a){this.sn!==a&&(this.sn=a)}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a,a||(this.xn=!0)}},isViewportSized:{get:function(){return this.yn},set:function(a){this.yn!==a&&(this.yn=a)&&this.C()}},isRouting:{get:function(){return this.vn},set:function(a){this.vn!==a&&(this.vn=a)}},isRealtime:{get:function(){return this.un},set:function(a){this.un!==a&&(this.un=a)}},isValidLayout:{get:function(){return this.xn},set:function(a){this.xn!==a&&(this.xn=a,a||(a=this.diagram,a!==null&&(a.xh=!0)))}},network:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a,a!==null&&(a.layout=this))}},boundsComputation:{get:function(){return this.Em},set:function(a){this.Em!==a&&(this.Em=a,this.C())}},arrangementOrigin:{get:function(){return this.Am},set:function(a){this.Am.D(a)||(this.Am.assign(a),this.C())}}}),Cs.prototype.collectParts=Cs.prototype.ex,Cs.prototype.getLayoutBounds=Cs.prototype.ni,Cs.prototype.invalidateLayout=Cs.prototype.C,Cs.className="Layout";function as(a){Ir(this),this.Sc=a,this.wf=new Rn,this.ye=new Rn,this.Es=new gi,this.zs=new gi}as.prototype.clear=function(){if(this.wf)for(var a=this.wf.iterator;a.next();)a.value.clear();if(this.ye)for(a=this.ye.iterator;a.next();)a.value.clear();this.wf=new Rn,this.ye=new Rn,this.Es=new gi,this.zs=new gi},as.prototype.toString=function(a){a===void 0&&(a=0);var y="LayoutNetwork"+(this.layout!==null?"("+this.layout.toString()+")":"");if(0>=a)return y;if(y+=" vertexes: "+this.wf.count+" edges: "+this.ye.count,1y?1:0):1:y!==null?-1:0}Rt.Object.defineProperties(ql.prototype,{sourceEdgesArrayAccess:{get:function(){return this.tg._dataArray}},destinationEdgesArrayAccess:{get:function(){return this.mg._dataArray}},data:{get:function(){return this.ub},set:function(a){if(this.ub=a,a!==null&&a.bounds){var y=a.bounds;a=y.x;var x=y.y,E=y.width;y=y.height,this.o.h(E/2,y/2),this.j.h(a,x,E,y)}}},node:{get:function(){return this.Sh},set:function(a){if(this.Sh!==a){this.Sh=a,a.Va();var y=this.network.layout,x=nn.alloc(),E=y.ni(a,x);y=E.x;var b=E.y,z=E.width;if(E=E.height,isNaN(y)&&(y=0),isNaN(b)&&(b=0),this.j.h(y,b,z,E),nn.free(x),!(a instanceof Gr)&&(a=a.locationObject.ga(Dr),a.w())){this.o.h(a.x-y,a.y-b);return}this.o.h(z/2,E/2)}}},bounds:{get:function(){return this.j},set:function(a){this.j.D(a)||this.j.assign(a)}},focus:{get:function(){return this.o},set:function(a){this.o.D(a)||this.o.assign(a)}},centerX:{get:function(){return this.j.x+this.o.x},set:function(a){var y=this.j;y.x+this.o.x!==a&&(y.ka(),y.x=a-this.o.x,y.freeze())}},centerY:{get:function(){return this.j.y+this.o.y},set:function(a){var y=this.j;y.y+this.o.y!==a&&(y.ka(),y.y=a-this.o.y,y.freeze())}},focusX:{get:function(){return this.o.x},set:function(a){var y=this.o;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},focusY:{get:function(){return this.o.y},set:function(a){var y=this.o;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},x:{get:function(){return this.j.x},set:function(a){var y=this.j;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},y:{get:function(){return this.j.y},set:function(a){var y=this.j;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},width:{get:function(){return this.j.width},set:function(a){var y=this.j;y.width!==a&&(y.ka(),y.width=a,y.freeze())}},height:{get:function(){return this.j.height},set:function(a){var y=this.j;y.height!==a&&(y.ka(),y.height=a,y.freeze())}},network:{get:function(){return this.ob},set:function(a){this.ob=a}},sourceVertexes:{get:function(){for(var a=new Rn,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);return a.iterator}},destinationVertexes:{get:function(){for(var a=new Rn,y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},vertexes:{get:function(){for(var a=new Rn,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);for(y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},sourceEdges:{get:function(){return this.tg.iterator}},destinationEdges:{get:function(){return this.mg.iterator}},edges:{get:function(){for(var a=new ln,y=this.sourceEdges;y.next();)a.add(y.value);for(y=this.destinationEdges;y.next();)a.add(y.value);return a.iterator}},edgesCount:{get:function(){return this.tg.count+this.mg.count}}}),ql.prototype.deleteDestinationEdge=ql.prototype.Jl,ql.prototype.addDestinationEdge=ql.prototype.zl,ql.prototype.deleteSourceEdge=ql.prototype.Kl,ql.prototype.addSourceEdge=ql.prototype.Cl,ql.className="LayoutVertex",ql.standardComparer=Ay,ql.smartComparer=function(a,y){if(a!==null){if(y!==null){a=a.Sh;var x=y.Sh;if(a!==null){if(x!==null){for(y=a.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),a=x.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),x=0;x "+(this.qd?this.qd.toString():"null"))),y},od.prototype.gm=function(){var a=this.kd;this.kd=this.qd,this.qd=a},od.prototype.commit=function(){},od.prototype.Ax=function(a){return this.qd===a?this.kd:this.kd===a?this.qd:null},Rt.Object.defineProperties(od.prototype,{network:{get:function(){return this.nb},set:function(a){this.nb=a}},data:{get:function(){return this.ub},set:function(a){this.ub!==a&&(this.ub=a)}},link:{get:function(){return this.$k},set:function(a){this.$k!==a&&(this.$k=a)}},fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}}}),od.prototype.getOtherVertex=od.prototype.Ax,od.className="LayoutEdge";function Lu(a){Cs.call(this),this.isViewportSized=!0,this.yo=this.zo=NaN,this.yg=new pi(NaN,NaN).freeze(),this.tf=new pi(10,10).freeze(),this.Jb=xm,this.Rb=z0,this.nd=Em,this.hd=ES,a&&Object.assign(this,a)}_t(Lu,Cs),Lu.prototype.cloneProtected=function(a){Cs.prototype.cloneProtected.call(this,a),a.zo=this.zo,a.yo=this.yo,a.yg.assign(this.yg),a.tf.assign(this.tf),a.Jb=this.Jb,a.Rb=this.Rb,a.nd=this.nd,a.hd=this.hd},Lu.prototype.qb=function(a){a.classType===Lu?a===Em||a===_0||a===Fy||a===V0?this.sorting=a:a===z0||a===Ch?this.arrangement=a:a===xm||a===j0?this.alignment=a:Et("Unknown enum value: "+a):Cs.prototype.qb.call(this,a)},Lu.prototype.doLayout=function(a){this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var y=this.ex(a);a=this.diagram;for(var x=y.copy().iterator;x.next();){var E=x.value;if(!E.ph()||E.fromNode===null&&E.toNode===null){if(E.Va(),E instanceof Gr)for(E=E.memberParts;E.next();)y.remove(E.value)}else y.remove(E)}var b=y.Fa();if(b.length!==0){switch(this.sorting){case V0:b.reverse();break;case Em:b.sort(this.comparer);break;case _0:b.sort(this.comparer),b.reverse()}var z=this.wrappingColumn;isNaN(z)&&(z=0);var ee=this.wrappingWidth;switch(isNaN(ee)&&a!==null?(y=a.padding,ee=Math.max(a.viewportBounds.width-y.left-y.right,0)):ee=Math.max(this.wrappingWidth,0),0>=z&&0>=ee&&(z=1),y=this.spacing.width,isFinite(y)||(y=0),x=this.spacing.height,isFinite(x)||(x=0),a!==null&&a.Ea("Layout"),E=[],this.alignment){case j0:var re=y,oe=x,se=nn.alloc(),ce=Math.max(this.cellSize.width,1);if(!isFinite(ce))for(var ge=ce=0;gez-1||0ee)&&(E.push(new nn(0,Ne,ee+re,Ge)),Je=0,Fe=we,Ne+=Ge,Ge=0),Ge=Math.max(Ge,Kt),Se){case Ch:ft=-ft.width;break;default:ft=0}switch(at.moveTo(Fe+ft,Ne),Se){case Ch:Fe-=Ct;break;default:Fe+=Ct}Je++}E.push(new nn(0,Ne,ee+re,Ge)),nn.free(se);break;case xm:for(oe=ee,ce=z,ge=y,Se=x,ee=nn.alloc(),we=Math.max(this.cellSize.width,1),z=Ne=se=0,re=Ze.alloc(),Fe=0;Fe=se&&(oe-=se),se=at=0,Ct=Math.max(this.cellSize.height,1),ft=z=0,Kt=!0,Je=Ze.alloc(),Pi=0;Pice-1||0oe){for(E.push(new nn(0,Kt?nt-z:nt,oe+ge,ft+z+Se)),zi=0;zise&&(z.width+=z.x-se,z.x=se);nn.free(ee)}for(re=z=ee=b=0;rey?1:0}Rt.Object.defineProperties(Lu.prototype,{wrappingWidth:{get:function(){return this.zo},set:function(a){this.zo!==a&&(0ge)){var Ne=ge+nm(Fe);Fe.pc(Ne,!0),Vv(Fe,Ne,ge)}}y.isModified=!0}}finally{y.aa=!0}}}}},Fa.prototype.updateAllTargetBindings=function(a){a===void 0&&(a="");for(var y=this.parts.iterator;y.next();)y.value.La(a);for(y=this.nodes.iterator;y.next();)y.value.La(a);for(y=this.links.iterator;y.next();)y.value.La(a)},Fa.prototype.rp=function(){for(var a=this.H.model,y=new Rn,x=a.nodeDataArray,E=0;Ey?1:0):1:y!==null?-1:0}Rt.Object.defineProperties(ql.prototype,{sourceEdgesArrayAccess:{get:function(){return this.tg._dataArray}},destinationEdgesArrayAccess:{get:function(){return this.mg._dataArray}},data:{get:function(){return this.ub},set:function(a){if(this.ub=a,a!==null&&a.bounds){var y=a.bounds;a=y.x;var x=y.y,E=y.width;y=y.height,this.o.h(E/2,y/2),this.j.h(a,x,E,y)}}},node:{get:function(){return this.Sh},set:function(a){if(this.Sh!==a){this.Sh=a,a.Va();var y=this.network.layout,x=rn.alloc(),E=y.ni(a,x);y=E.x;var b=E.y,z=E.width;if(E=E.height,isNaN(y)&&(y=0),isNaN(b)&&(b=0),this.j.h(y,b,z,E),rn.free(x),!(a instanceof Gr)&&(a=a.locationObject.ga(Dr),a.w())){this.o.h(a.x-y,a.y-b);return}this.o.h(z/2,E/2)}}},bounds:{get:function(){return this.j},set:function(a){this.j.D(a)||this.j.assign(a)}},focus:{get:function(){return this.o},set:function(a){this.o.D(a)||this.o.assign(a)}},centerX:{get:function(){return this.j.x+this.o.x},set:function(a){var y=this.j;y.x+this.o.x!==a&&(y.ka(),y.x=a-this.o.x,y.freeze())}},centerY:{get:function(){return this.j.y+this.o.y},set:function(a){var y=this.j;y.y+this.o.y!==a&&(y.ka(),y.y=a-this.o.y,y.freeze())}},focusX:{get:function(){return this.o.x},set:function(a){var y=this.o;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},focusY:{get:function(){return this.o.y},set:function(a){var y=this.o;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},x:{get:function(){return this.j.x},set:function(a){var y=this.j;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},y:{get:function(){return this.j.y},set:function(a){var y=this.j;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},width:{get:function(){return this.j.width},set:function(a){var y=this.j;y.width!==a&&(y.ka(),y.width=a,y.freeze())}},height:{get:function(){return this.j.height},set:function(a){var y=this.j;y.height!==a&&(y.ka(),y.height=a,y.freeze())}},network:{get:function(){return this.ob},set:function(a){this.ob=a}},sourceVertexes:{get:function(){for(var a=new Rn,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);return a.iterator}},destinationVertexes:{get:function(){for(var a=new Rn,y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},vertexes:{get:function(){for(var a=new Rn,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);for(y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},sourceEdges:{get:function(){return this.tg.iterator}},destinationEdges:{get:function(){return this.mg.iterator}},edges:{get:function(){for(var a=new ln,y=this.sourceEdges;y.next();)a.add(y.value);for(y=this.destinationEdges;y.next();)a.add(y.value);return a.iterator}},edgesCount:{get:function(){return this.tg.count+this.mg.count}}}),ql.prototype.deleteDestinationEdge=ql.prototype.Jl,ql.prototype.addDestinationEdge=ql.prototype.zl,ql.prototype.deleteSourceEdge=ql.prototype.Kl,ql.prototype.addSourceEdge=ql.prototype.Cl,ql.className="LayoutVertex",ql.standardComparer=Ay,ql.smartComparer=function(a,y){if(a!==null){if(y!==null){a=a.Sh;var x=y.Sh;if(a!==null){if(x!==null){for(y=a.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),a=x.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),x=0;x "+(this.qd?this.qd.toString():"null"))),y},od.prototype.gm=function(){var a=this.kd;this.kd=this.qd,this.qd=a},od.prototype.commit=function(){},od.prototype.Ax=function(a){return this.qd===a?this.kd:this.kd===a?this.qd:null},Rt.Object.defineProperties(od.prototype,{network:{get:function(){return this.nb},set:function(a){this.nb=a}},data:{get:function(){return this.ub},set:function(a){this.ub!==a&&(this.ub=a)}},link:{get:function(){return this.$k},set:function(a){this.$k!==a&&(this.$k=a)}},fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}}}),od.prototype.getOtherVertex=od.prototype.Ax,od.className="LayoutEdge";function Lu(a){Cs.call(this),this.isViewportSized=!0,this.yo=this.zo=NaN,this.yg=new pi(NaN,NaN).freeze(),this.tf=new pi(10,10).freeze(),this.Jb=xm,this.Rb=z0,this.nd=Em,this.hd=ES,a&&Object.assign(this,a)}_t(Lu,Cs),Lu.prototype.cloneProtected=function(a){Cs.prototype.cloneProtected.call(this,a),a.zo=this.zo,a.yo=this.yo,a.yg.assign(this.yg),a.tf.assign(this.tf),a.Jb=this.Jb,a.Rb=this.Rb,a.nd=this.nd,a.hd=this.hd},Lu.prototype.qb=function(a){a.classType===Lu?a===Em||a===_0||a===Fy||a===V0?this.sorting=a:a===z0||a===Ch?this.arrangement=a:a===xm||a===j0?this.alignment=a:Et("Unknown enum value: "+a):Cs.prototype.qb.call(this,a)},Lu.prototype.doLayout=function(a){this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var y=this.ex(a);a=this.diagram;for(var x=y.copy().iterator;x.next();){var E=x.value;if(!E.ph()||E.fromNode===null&&E.toNode===null){if(E.Va(),E instanceof Gr)for(E=E.memberParts;E.next();)y.remove(E.value)}else y.remove(E)}var b=y.Fa();if(b.length!==0){switch(this.sorting){case V0:b.reverse();break;case Em:b.sort(this.comparer);break;case _0:b.sort(this.comparer),b.reverse()}var z=this.wrappingColumn;isNaN(z)&&(z=0);var ee=this.wrappingWidth;switch(isNaN(ee)&&a!==null?(y=a.padding,ee=Math.max(a.viewportBounds.width-y.left-y.right,0)):ee=Math.max(this.wrappingWidth,0),0>=z&&0>=ee&&(z=1),y=this.spacing.width,isFinite(y)||(y=0),x=this.spacing.height,isFinite(x)||(x=0),a!==null&&a.Ea("Layout"),E=[],this.alignment){case j0:var re=y,oe=x,se=rn.alloc(),ce=Math.max(this.cellSize.width,1);if(!isFinite(ce))for(var ge=ce=0;gez-1||0ee)&&(E.push(new rn(0,Ne,ee+re,Ge)),Je=0,Fe=we,Ne+=Ge,Ge=0),Ge=Math.max(Ge,Kt),Se){case Ch:ft=-ft.width;break;default:ft=0}switch(at.moveTo(Fe+ft,Ne),Se){case Ch:Fe-=Ct;break;default:Fe+=Ct}Je++}E.push(new rn(0,Ne,ee+re,Ge)),rn.free(se);break;case xm:for(oe=ee,ce=z,ge=y,Se=x,ee=rn.alloc(),we=Math.max(this.cellSize.width,1),z=Ne=se=0,re=Ze.alloc(),Fe=0;Fe=se&&(oe-=se),se=at=0,Ct=Math.max(this.cellSize.height,1),ft=z=0,Kt=!0,Je=Ze.alloc(),Pi=0;Pice-1||0oe){for(E.push(new rn(0,Kt?nt-z:nt,oe+ge,ft+z+Se)),zi=0;zise&&(z.width+=z.x-se,z.x=se);rn.free(ee)}for(re=z=ee=b=0;rey?1:0}Rt.Object.defineProperties(Lu.prototype,{wrappingWidth:{get:function(){return this.zo},set:function(a){this.zo!==a&&(0ge)){var Ne=ge+nm(Fe);Fe.pc(Ne,!0),Vv(Fe,Ne,ge)}}y.isModified=!0}}finally{y.aa=!0}}}}},Fa.prototype.updateAllTargetBindings=function(a){a===void 0&&(a="");for(var y=this.parts.iterator;y.next();)y.value.La(a);for(y=this.nodes.iterator;y.next();)y.value.La(a);for(y=this.links.iterator;y.next();)y.value.La(a)},Fa.prototype.rp=function(){for(var a=this.H.model,y=new Rn,x=a.nodeDataArray,E=0;E=E)return"[]";var b=new hn;b.add("["),x&&1E)return;Ii(a.Tc,E)}zl(a,"nodeDataArray",xi,"nodeDataArray",a,y,null,E,null),a.qp(y)}Be.nA=function(a){if(Ft(a))for(var y=a.length,x=0;xy&&(y=a.length),Sr(a,y,x),zl(this,"",ti,"",a,null,x,null,y)},Be.ov=function(a,y){y===void 0&&(y=-1),a===this.Tc&&Et("Model.removeArrayItem should not be called on the Model.nodeDataArray"),y===-1&&(y=a.length-1);var x=a[y];Ii(a,y),zl(this,"",xi,"",a,x,null,y,null)},Be.Ro=function(a){if(a===null)return"";var y=this.lj;if(y===""||(y=hl(a,y),y===void 0))return"";if(typeof y=="string")return y;Et("getCategoryForNodeData found a non-string category for "+a+": "+y)},Be.jm=function(a,y){if(a!==null){var x=this.lj;if(x!=="")if(this.lb(a)){var E=hl(a,x);E===void 0&&(E=""),E!==y&&(Es(a,x,y),zl(this,"nodeCategory",Un,x,a,E,y))}else Es(a,x,y)}},Be.lm=function(a,y){this.jm(y,this.Ro(a))},Be.Tl=function(){return!1},Be.Wj=function(){return!1},Be.ri=function(){return!1},Be.xs=function(){return!1},Be.Xj=function(){return!1};function My(){return new Ki}function wm(a,y){if(typeof y=="function"){if(y.className)return y.className;if(y.name)return y.name}else if(typeof y=="object"&&y!==null&&y.constructor)return wm(a,y.constructor);return typeof y}function ky(a){return ah[a]?ah[a]:Zn.go!==void 0&&Zn.go[a]?Zn.go[a]:null}function hl(a,y){if(!a||!y)return null;try{if(typeof y=="function")var x=y(a);else typeof a.getAttribute=="function"?(x=a.getAttribute(y),x===null&&(x=void 0)):x=a[y]}catch(E){}return x}function Es(a,y,x){if(a&&y)try{typeof y=="function"?y(a,x):typeof a.setAttribute=="function"?a.setAttribute(y,x):a[y]=x}catch(E){}}Rt.Object.defineProperties(Ki.prototype,{name:{get:function(){return this.xa},set:function(a){var y=this.xa;y!==a&&(this.xa=a,this.g("name",y,a))}},dataFormat:{get:function(){return this.Sm},set:function(a){var y=this.Sm;y!==a&&(this.Sm=a,this.g("dataFormat",y,a))}},isReadOnly:{get:function(){return this.Gg},set:function(a){var y=this.Gg;y!==a&&(this.Gg=a,this.g("isReadOnly",y,a))}},modelData:{get:function(){return this.j},set:function(a){var y=this.j;y!==a&&(this.j=a,this.g("modelData",y,a),this.La(a))}},undoManager:{get:function(){return this.o},set:function(a){var y=this.o;y!==a&&(y!==null&&y.Rx(this),this.o=a,a!==null&&a.Xw(this))}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a}},nodeKeyProperty:{get:function(){return this.Th},set:function(a){var y=this.Th;y!==a&&(a===""&&Et("Model.nodeKeyProperty may not be the empty string"),0E)return;Ii(a.Tc,E)}zl(a,"nodeDataArray",xi,"nodeDataArray",a,y,null,E,null),a.qp(y)}Be.nA=function(a){if(Ft(a))for(var y=a.length,x=0;xy&&(y=a.length),Sr(a,y,x),zl(this,"",ti,"",a,null,x,null,y)},Be.ov=function(a,y){y===void 0&&(y=-1),a===this.Tc&&Et("Model.removeArrayItem should not be called on the Model.nodeDataArray"),y===-1&&(y=a.length-1);var x=a[y];Ii(a,y),zl(this,"",xi,"",a,x,null,y,null)},Be.Ro=function(a){if(a===null)return"";var y=this.lj;if(y===""||(y=hl(a,y),y===void 0))return"";if(typeof y=="string")return y;Et("getCategoryForNodeData found a non-string category for "+a+": "+y)},Be.jm=function(a,y){if(a!==null){var x=this.lj;if(x!=="")if(this.lb(a)){var E=hl(a,x);E===void 0&&(E=""),E!==y&&(Es(a,x,y),zl(this,"nodeCategory",Un,x,a,E,y))}else Es(a,x,y)}},Be.lm=function(a,y){this.jm(y,this.Ro(a))},Be.Tl=function(){return!1},Be.Wj=function(){return!1},Be.ri=function(){return!1},Be.xs=function(){return!1},Be.Xj=function(){return!1};function My(){return new Ki}function wm(a,y){if(typeof y=="function"){if(y.className)return y.className;if(y.name)return y.name}else if(typeof y=="object"&&y!==null&&y.constructor)return wm(a,y.constructor);return typeof y}function ky(a){return ah[a]?ah[a]:Zn.go!==void 0&&Zn.go[a]?Zn.go[a]:null}function hl(a,y){if(!a||!y)return null;try{if(typeof y=="function")var x=y(a);else typeof a.getAttribute=="function"?(x=a.getAttribute(y),x===null&&(x=void 0)):x=a[y]}catch(E){}return x}function Es(a,y,x){if(a&&y)try{typeof y=="function"?y(a,x):typeof a.setAttribute=="function"?a.setAttribute(y,x):a[y]=x}catch(E){}}Rt.Object.defineProperties(Ki.prototype,{name:{get:function(){return this.xa},set:function(a){var y=this.xa;y!==a&&(this.xa=a,this.g("name",y,a))}},dataFormat:{get:function(){return this.Sm},set:function(a){var y=this.Sm;y!==a&&(this.Sm=a,this.g("dataFormat",y,a))}},isReadOnly:{get:function(){return this.Gg},set:function(a){var y=this.Gg;y!==a&&(this.Gg=a,this.g("isReadOnly",y,a))}},modelData:{get:function(){return this.j},set:function(a){var y=this.j;y!==a&&(this.j=a,this.g("modelData",y,a),this.La(a))}},undoManager:{get:function(){return this.o},set:function(a){var y=this.o;y!==a&&(y!==null&&y.Rx(this),this.o=a,a!==null&&a.Xw(this))}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a}},nodeKeyProperty:{get:function(){return this.Th},set:function(a){var y=this.Th;y!==a&&(a===""&&Et("Model.nodeKeyProperty may not be the empty string"),0E.indexOf(a.newValue)&&E.splice(x,0,a.newValue));return}}else if(a.change===xi){if(x=a.oldParam,a.modelChange==="linkDataArray"){a=a.oldValue,Lt(a)&&typeof x=="number"&&(E=this.Ac(a),y?(this.$f.add(a),this.md[x]!==a&&this.md.splice(x,0,a),E!==void 0&&this.wb.add(E,a)):(this.$f.remove(a),this.md[x]===a&&this.md.splice(x,1),E!==void 0&&this.wb.remove(E)));return}if(a.modelChange==="linkLabelKeys"){E=this.Ef(a.object),Array.isArray(E)&&typeof x=="number"&&(y?0>E.indexOf(a.newValue)&&E.splice(x,0,a.newValue):(x=E.indexOf(a.newValue),0<=x&&E.splice(x,1)));return}}Ki.prototype.changeState.call(this,a,y)}},Be=Zo.prototype,Be.Vl=function(a){if(a!==void 0){var y=this.Ri;if(y!==null){var x=this.hc(a);x===null&&(x=this.copyNodeData(y),Es(x,this.nodeKeyProperty,a),this.xf(x))}return a}},Be.yx=function(a){return yd(this,a,!0)},Be.wv=function(a,y){Np(this,a,y,!0)},Be.Bx=function(a){return yd(this,a,!1)},Be.Bv=function(a,y){Np(this,a,y,!1)};function yd(a,y,x){if(y!==null&&(a=x?a.lf:a.mf,a!==""&&(a=hl(y,a),a!==void 0))){if(hg(a))return a;Et((x?"FromKey":"ToKey")+" value for link data "+y+" is not a number or a string: "+a)}}function Np(a,y,x,E){if(x===null&&(x=void 0),y!==null){var b=E?a.lf:a.mf;if(b!=="")if(x=a.Vl(x),a.Jc(y)){var z=hl(y,b);z!==x&&(Fh(a,z,y),Es(y,b,x),a.hc(x)===null&&Ah(a,x,y),zl(a,E?"linkFromKey":"linkToKey",Un,b,y,z,x),typeof b=="string"&&a.La(y,b))}else Es(y,b,x)}}Be.zx=function(a){return K0(this,a,!0)},Be.xv=function(a,y){Tp(this,a,y,!0)},Be.Cx=function(a){return K0(this,a,!1)},Be.Cv=function(a,y){Tp(this,a,y,!1)};function K0(a,y,x){return y===null||(a=x?a.ej:a.fj,a==="")?"":(y=hl(y,a),y===void 0?"":y)}function Tp(a,y,x,E){if(y!==null){var b=E?a.ej:a.fj;if(b!=="")if(a.Jc(y)){var z=hl(y,b);z===void 0&&(z=""),z!==x&&(Es(y,b,x),zl(a,E?"linkFromPortId":"linkToPortId",Un,b,y,z,x),typeof b=="string"&&a.La(y,b))}else Es(y,b,x)}}Be.Ef=function(a){if(a===null)return Y0;var y=this.je;return y===""?Y0:(a=hl(a,y),a===void 0?Y0:a)},Be.Ls=function(a,y){if(a!==null){var x=this.je;if(x!=="")if(this.Jc(a)){var E=hl(a,x);if(E===void 0&&(E=Y0),E!==y){if(Array.isArray(E))for(var b=E.length,z=0;zb||(E.splice(b,1),this.Jc(a)&&(Fh(this,y,a),zl(this,"linkLabelKeys",xi,x,a,y,null,b,null)))}else E!==void 0&&Et(x+" property is not an Array; cannot removeLabelKeyforLinkData: "+a)}}},Be.Ac=function(a){if(a!==null){var y=this.Jh;if(y!==""&&(y=hl(a,y),y!==void 0)){if(hg(y))return y;Et("Key value for link data "+a+" is not a number or a string: "+y)}}},Be.Ks=function(a,y){if(a!==null){var x=this.Jh;if(x!=="")if(this.Jc(a)){var E=hl(a,x);E!==y&&this.jh(y)===null&&(Es(a,x,y),E!==void 0&&this.wb.remove(E),this.wb.add(y,a),zl(this,"linkKey",Un,x,a,E,y),typeof x=="string"&&this.La(a,x))}else Es(a,x,y)}},Be.jh=function(a){return a===null&&Et("GraphLinksModel.findLinkDataForKey:key must not be null"),a!==void 0&&hg(a)?this.wb.I(a):null},Be.Bs=function(a){if(a!==null){var y=this.Jh;if(y!==""){var x=this.Ac(a);if(x===void 0||this.wb.contains(x)){var E=this.cl;if(E!==null&&(x=E(this,a),x!=null&&!this.wb.contains(x))){Es(a,y,x);return}if(typeof x=="string"){for(E=2;this.wb.contains(x+E);)E++;Es(a,y,x+E)}else if(x===void 0||typeof x=="number"){for(x=-this.wb.count-1;this.wb.contains(x);)x--;Es(a,y,x)}}}}},Be.Jc=function(a){return a===null?!1:this.$f.contains(a)},Be.fi=function(a){a!==null&&(Or(a),this.Jc(a)||VS(this,a,!0))};function VS(a,y,x){if(a.linkKeyProperty!==""){var E=a.Ac(y);if(E!==void 0&&a.wb.I(E)===y)return;a.Bs(y),E=a.Ac(y),E===void 0&&Et("GraphLinksModel.makeLinkDataKeyUnique failed on "+y+". Data not added to model."),a.wb.add(E,y)}a.$f.add(y),E=null,x&&(E=a.md.length,a.md.splice(E,0,y)),zl(a,"linkDataArray",ti,"linkDataArray",a,null,y,null,E),Ny(a,y)}Be.Ey=function(a){if(Array.isArray(a))for(var y=a.length,x=0;xE)return;a.md.splice(E,1)}if(zl(a,"linkDataArray",xi,"linkDataArray",a,y,null,E,null),x=yd(a,y,!0),Fh(a,x,y),x=yd(a,y,!1),Fh(a,x,y),E=a.Ef(y),Array.isArray(E))for(var b=E.length,z=0;z=a.count)a.count===1&&(a=a.first(),a.centerX=0,a.centerY=0);else{var y=new ln;y.addAll(a.iterator),a=new ln;var x=new ln,E=this.sort(y),b,z,ee=this.Jp,re=this.arrangement,oe=this.nodeDiameterFormula,se=this.radius;(!isFinite(se)||0>=se)&&(se=NaN);var ce=this.aspectRatio;(!isFinite(ce)||0>=ce)&&(ce=1);var ge=this.startAngle;isFinite(ge)||(ge=0);var Se=this.sweepAngle;if((!isFinite(Se)||360Se)&&(Se=360),y=this.spacing,isFinite(y)||(y=NaN),re===lh&&oe===np?re=sh:re===lh&&oe!==np&&(re=this.arrangement),(this.direction===Rg||this.direction===Op)&&this.sorting!==Ip){for(oe=0;!(oe>=E.length)&&(a.add(E.M(oe)),!(oe+1>=E.length));oe+=2)x.add(E.M(oe+1));this.direction===Rg?(this.arrangement===lh&&a.reverse(),E=new ln,E.addAll(a),E.addAll(x)):(this.arrangement===lh&&x.reverse(),E=new ln,E.addAll(x),E.addAll(a))}oe=E.length;for(var we=z=b=0;weSe&&(we===0||we===E.length-1)&&(Ne/=2),b+=Ne,z++}if(isNaN(se)||re===lh){if(isNaN(y)&&(y=6),re!==sh&&re!==lh){for(z=-1/0,ee=0;eese?(se=b,z=se*ce):ee=we/(360<=Se?oe:oe-1)}if(this.kw=re,this.lc=se,this.Zm=ce,this.lw=ge,this.Wp=Se,this.Ti=y,this.me=z,this.Jp=ee,y=E,E=this.kw,re=this.lc,se=this.lw,ce=this.Wp,ge=this.Ti,Se=this.me,oe=this.Jp,this.direction!==Rg&&this.direction!==Op||E!==lh)if(this.direction===Rg||this.direction===Op){switch(ee=0,E){case fg:ee=180*J0(this,re,Se,se,oe)/Math.PI;break;case sh:oe=y=0,ee=a.first(),ee!==null&&(y=pg(ee,Math.PI/2)),ee=x.first(),ee!==null&&(oe=pg(ee,Math.PI/2)),ee=180*J0(this,re,Se,se,ge+(y+oe)/2)/Math.PI;break;case Zf:ee=ce/y.length}if(this.direction===Rg){switch(E){case fg:bm(this,a,se,gg);break;case sh:Fm(this,a,se,gg);break;case Zf:Am(this,a,ce/2,se,gg)}switch(E){case fg:bm(this,x,se+ee,Ac);break;case sh:Fm(this,x,se+ee,Ac);break;case Zf:Am(this,x,ce/2,se+ee,Ac)}}else{switch(E){case fg:bm(this,x,se,gg);break;case sh:Fm(this,x,se,gg);break;case Zf:Am(this,x,ce/2,se,gg)}switch(E){case fg:bm(this,a,se+ee,Ac);break;case sh:Fm(this,a,se+ee,Ac);break;case Zf:Am(this,a,ce/2,se+ee,Ac)}}}else switch(E){case fg:bm(this,y,se,this.direction);break;case sh:Fm(this,y,se,this.direction);break;case Zf:Am(this,y,ce,se,this.direction);break;case lh:ZS(this,y,ce,se,this.direction)}else ZS(this,y,ce,se-ce/2,Ac)}this.updateParts(),this.network=null,this.isValidLayout=!0};function Am(a,y,x,E,b){var z=a.Wp,ee=a.lc;a=a.me,E=E*Math.PI/180,x=x*Math.PI/180;for(var re=y.length,oe=0;oex){for(z=E+(b===Ac?z:-z);0>z;)z+=360;z%=360,180=ce.length-1));ge++)KS(a,oe,se,ce,ge,b,z)||YS(a,oe,se,ce,ge,b,z),oe=z.x,se=z.y;if(Ze.free(z),a.mj++,!(23Math.abs(we)?Math.abs(oe-z)<(ce[0].width+ce[ce.length-1].width)/2&&(ee=0):ee=0Math.abs(Se)?0:Se,oe=Math.abs(z)>Math.abs(ge)?0ge:0a.mj?a.lc-ee/(2*Math.PI):5>ce.length&&10=ge.length-1));Se++)KS(a,oe,se,ge,Se,b,ce)||YS(a,oe,se,ge,Se,b,ce),oe=ce.x,se=ce.y;if(Ze.free(ce),a.mj++,!(23a.mj?a.lc-z/(2*Math.PI):a.lc-(0re){if(z=y-a,z<-re)return ee.x=z,ee.y=se,!1;ce=!0}}else if(z=y-a,z<-re){if(z=y+a,z>re)return ee.x=z,ee.y=se,!1;ce=!0}return se=Math.sqrt(1-Math.min(1,z*z/(re*re)))*oe,0>x!==ce&&(se=-se),Math.abs(x-se)>(E[b].height+E[b+1].height)/2?(ee.x=z,ee.y=se,!1):(ee.x=z,ee.y=se,!0)}function YS(a,y,x,E,b,z,ee){var re=a.lc,oe=a.me,se=0;if(a=(E[b].height+E[b+1].height)/2+a.Ti,E=!1,0<=y!=(z===Ac)){if(z=x-a,z<-oe){if(z=x+a,z>oe){ee.x=se,ee.y=z;return}E=!0}}else if(z=x+a,z>oe){if(z=x-a,z<-oe){ee.x=se,ee.y=z;return}E=!0}se=Math.sqrt(1-Math.min(1,z*z/(oe*oe)))*re,0>y!==E&&(se=-se),ee.x=se,ee.y=z}Rs.prototype.commitLayout=function(){this.commitNodes(),this.isRouting&&this.commitLinks()},Rs.prototype.commitNodes=function(){var a=this.group!==null&&this.group.placeholder!==null&&this.group.isSubGraphExpanded,y=a?this.group.location.copy():null,x=this.actualCenter;a?x=new Ze(0,0):(x.x=this.arrangementOrigin.x+this.lc,x.y=this.arrangementOrigin.y+this.me);for(var E=this.network.vertexes.iterator;E.next();){var b=E.value;b.x+=x.x,b.y+=x.y,b.commit()}a&&(this.group.Va(),a=this.group.position.copy(),x=this.group.location.copy(),y=y.re(x.re(a)),this.group.move(y),this.Zv=y.re(a))},Rs.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()};function Ty(a,y,x,E,b){var z=a.ty;if(.001>Math.abs(a.Zm-1))return E!==void 0&&b!==void 0?b*y:2*Math.PI*y;a=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x;for(var ee=0,re=E!==void 0&&b!==void 0?b/(z+1):Math.PI/(2*(z+1)),oe=0,se=0;se<=z;se++){E!==void 0&&b!==void 0?oe=E+se*b/z:oe=se*Math.PI/(2*z);var ce=Math.sin(oe);ee+=Math.sqrt(1-a*a*ce*ce)*re}return E!==void 0&&b!==void 0?(y>x?y:x)*ee:4*(y>x?y:x)*ee}function X0(a,y,x,E,b){return y/(E!==void 0&&b!==void 0?Ty(a,1,x,E,b):Ty(a,1,x))}function J0(a,y,x,E,b){if(.001>Math.abs(a.Zm-1))return b/y;var z=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x,ee=0;a=2*Math.PI/(700*a.network.vertexes.count),y>x&&(E+=Math.PI/2);for(var re=0;;re++){var oe=Math.sin(E+re*a);if(ee+=(y>x?y:x)*Math.sqrt(1-z*z*oe*oe)*a,ee>=b)return re*a}}Rs.prototype.sort=function(a){switch(this.sorting){case Q0:break;case q0:a.reverse();break;case $0:a.sort(this.comparer);break;case ev:a.sort(this.comparer),a.reverse();break;case Ip:return this.ak(Zx(a));default:Et("Invalid sorting type.")}return a};function Zx(a){for(var y=[],x=0;xb&&(b=re,z=ee)}else for(ee=0;eeb&&(b=re,z=ee);for(x.add(a.M(z)),y[z]=-1,z=a.M(z),ee=z.sourceEdges;ee.next();)b=a.indexOf(ee.value.fromVertex),0>b||0<=y[b]&&y[b]++;for(z=z.destinationEdges;z.next();)b=a.indexOf(z.value.toVertex),0>b||0<=y[b]&&y[b]++}return x}Rs.prototype.ak=function(a){for(var y=[],x=0;xy[x].indexOf(b)&&y[x].push(b);for(E=E.sourceEdges;E.next();)b=a.indexOf(E.value.fromVertex),b!==x&&0>y[x].indexOf(b)&&y[x].push(b)}for(z=[],x=0;xy[x[Fe]].indexOf(x[Fe===x.length-1?0:Fe+1])&&we.push(Fe===x.length-1?0:Fe+1);if(we.length===0)for(Fe=0;Fex.indexOf(Kt)||Ctx.indexOf(Kt)||Ct=Ne?Ct+1:Ct)),Ge+=Ct=Ne&&Ct++,at>=Ne&&at++,Ct>at&&(ft=at,at=Ct,Ct=ft),at-Ct<(x.length+2)/2==(Ctwe||we===ce||(Fe=we>ce?we-ce:ce-we,ge+=weee-Fe?1:-1);x.splice(0>ge?ce:ce+1,0,oe),E.splice(re,1),re--}else z=!1;if(z)break;x.push(E[0]),E.splice(0,1)}for(y=0;y=a?this.ul=a:this.ul=360,this.C())}},arrangement:{get:function(){return this.Rb},set:function(a){this.Rb===a||a!==lh&&a!==sh&&a!==fg&&a!==Zf||(this.Rb=a,this.C())}},direction:{get:function(){return this.K},set:function(a){this.K===a||a!==Ac&&a!==gg&&a!==Rg&&a!==Op||(this.K=a,this.C())}},sorting:{get:function(){return this.nd},set:function(a){this.nd===a||a!==Q0&&a!==q0&&a!==$0&&!ev&&a!==Ip||(this.nd=a,this.C())}},comparer:{get:function(){return this.hd},set:function(a){this.hd!==a&&(this.hd=a,this.C())}},spacing:{get:function(){return this.tf},set:function(a){this.tf!==a&&(this.tf=a,this.C())}},nodeDiameterFormula:{get:function(){return this.Nn},set:function(a){this.Nn===a||a!==tv&&a!==np||(this.Nn=a,this.C())}},actualXRadius:{get:function(){return this.lc}},actualYRadius:{get:function(){return this.me}},actualSpacing:{get:function(){return this.Ti}},actualCenter:{get:function(){return this.Zv}}});var sh=new sn(Rs,"ConstantSpacing",0),fg=new sn(Rs,"ConstantDistance",1),Zf=new sn(Rs,"ConstantAngle",2),lh=new sn(Rs,"Packed",3),Ac=new sn(Rs,"Clockwise",4),gg=new sn(Rs,"Counterclockwise",5),Rg=new sn(Rs,"BidirectionalLeft",6),Op=new sn(Rs,"BidirectionalRight",7),Q0=new sn(Rs,"Forwards",8),q0=new sn(Rs,"Reverse",9),$0=new sn(Rs,"Ascending",10),ev=new sn(Rs,"Descending",11),Ip=new sn(Rs,"Optimized",12),tv=new sn(Rs,"Pythagorean",13),np=new sn(Rs,"Circular",14);Rs.className="CircularLayout",Rs.ConstantSpacing=sh,Rs.ConstantDistance=fg,Rs.ConstantAngle=Zf,Rs.Packed=lh,Rs.Clockwise=Ac,Rs.Counterclockwise=gg,Rs.BidirectionalLeft=Rg,Rs.BidirectionalRight=Op,Rs.Forwards=Q0,Rs.Reverse=q0,Rs.Ascending=$0,Rs.Descending=ev,Rs.Optimized=Ip,Rs.Pythagorean=tv,Rs.Circular=np;function Bm(){this.Pl=-1/0,this.tm=this.mk=null}Bm.prototype.compare=function(a,y){if(0this.Pl||Math.abs(a)a&&0re?(b=Se.x+Se.width/2,z=Se.y+Se.height/2,se[0]=new Ze(Se.x+Se.width+E.width,Se.y),se[1]=new Ze(Se.x,Se.y+Se.height+E.height),re=2):(oe=JS(se,re,b,z,Se.width,Se.height,E),ge=se[oe],we=new Ze(ge.x+Se.width+E.width,ge.y),Se=new Ze(ge.x,ge.y+Se.height+E.height),oe+1this.network.vertexes.count)return!1;for(var a=0,y=0,x=this.network.vertexes.first().bounds,E=this.network.vertexes.iterator;E.next();){if(E.value.bounds.Yc(x)&&(a++,2a.network.vertexes.count)return!1;for(a.ah=a.network.vertexes.Fa(),a=a.ah,a.sort(function(x,E){return x===null||E===null||x===E?0:E.Vd-x.Vd}),y=a.length-1;0<=y&&1>=a[y].Vd;)y--;return 1=ee))){for(var se=re=0,ce=oe.count-ee;cewe&&(we=1),re=Bt.sqrt((re+we+se*se*4/(ee*ee))/we),ee=(re-1)*ce/2,re=(re-1)*ge/2,b.bounds=new nn(z-Se.x-ee,oe-Se.y-re,ce+2*ee,ge+2*re),b.focus=new Ze(Se.x+ee,Se.y+re)}}return a.network=E,x}function Kx(a,y){for(var x=a.network.vertexes.iterator;x.next();){var E=x.value;if(E.network=y,E.We!==null){var b=E.We.M(E.sv);E.Vd=b.Rs;var z=b.Sv,ee=b.Tv;E.bounds=new nn(E.centerX-z,E.centerY-ee,b.Ss,b.Qs),E.focus=new Ze(z,ee),E.sv--}}for(x=a.network.edges.iterator;x.next();)x.value.network=y;a.network=y}function Yx(a,y){var x=y.Hj;if(x!==null&&x.count!==0){var E=y.centerX,b=y.centerY,z=y.width,ee=y.height;y.We!==null&&0=ge.Vd?oe++:(re=!0,se++,ee+=Math.atan2(y.centerY-ge.centerY,y.centerX-ge.centerX))}if(oe!==0){for(0>1)+se)*(re%2===0?1:-1),oe.centerX=E+ce*Math.cos(ge),oe.centerY=b+ce*Math.sin(ge),re++}}}}function JS(a,y,x,E,b,z,ee){var re=9e19,oe=-1,se=0;e:for(;sece.y&&a[Se].x-ce.xce.x&&a[Se].y-ce.yy+z?(x=E+b-ee,a=a-y-z,Bt.sqrt(x*x+a*a)):a+xee+re?a>y+z?(x=E-ee-re,a=a-y-z,Bt.sqrt(x*x+a*a)):a+xy+z?a-(y+z):a+x=y.length)return!1;var x=y[0];x.forceX=0,x.forceY=0;for(var E=x.centerX,b=E,z=x=x.centerY,ee=1;eez-x)?y.sort(function(Ne,Je){return Ne===null||Je===null||Ne===Je?0:Ne.centerX-Je.centerX}):y.sort(function(Ne,Je){return Ne===null||Je===null||Ne===Je?0:Ne.centerY-Je.centerY}),x=a.Zf;var se=E=re=0;for(z=0;zx||se-oe>x){if(b)break}else if(ce-we>x||we-ce>x){if(!b)break}else{var Fe=QS(ee,Se);1>Fe?(E=a.randomNumberGenerator,E===null&&(a.randomNumberGenerator=E=new iv),Fe=E.random(),re=E.random(),oe>se?(E=Math.abs(Se.bounds.right-ee.bounds.x),E=(1+E)*Fe):oewe?(se=Math.abs(Se.bounds.bottom-ee.bounds.y),se=(1+se)*re):oege?(ge=a.randomNumberGenerator,ge===null&&(a.randomNumberGenerator=ge=new iv),re=ge.random(),ge=ge.random(),E=(E>oe?1:-1)*(1+(z.width>x.width?z.width:x.width))*re,se=(ee>ce?1:-1)*(1+(z.height>x.height?z.height:x.height))*ge):(re=re.stiffness*(ge-re.length),E=(oe-E)/ge*re,se=(ce-ee)/ge*re),x.forceX+=E,x.forceY+=se,z.forceX-=E,z.forceY-=se;for(b=E=0;ba.epsilonDistance*a.epsilonDistance}Ku.prototype.moveVertex=function(a){var y=a.forceX,x=a.forceY,E=this.moveLimit;return y<-E?y=-E:y>E&&(y=E),x<-E?x=-E:x>E&&(x=E),a.centerX+=y,a.centerY+=x,y*y+x*x},Ku.prototype.moveFixedVertex=function(){},Ku.prototype.commitLayout=function(){this.yv(),this.commitNodes(),this.isRouting&&this.commitLinks()},Ku.prototype.yv=function(){if(this.setsPortSpots)for(var a=this.network.edges.iterator;a.next();){var y=a.value.link;y!==null&&(y.fromSpot=Zl,y.toSpot=Zl)}},Ku.prototype.commitNodes=function(){var a=0,y=0;if(this.arrangesToOrigin){var x=nn.alloc();this.computeBounds(this.network,x),y=this.arrangementOrigin,a=y.x-x.x,y=y.y-x.y,nn.free(x)}x=nn.alloc();for(var E=this.network.vertexes.iterator;E.next();){var b=E.value;(a!==0||y!==0)&&(x.assign(b.bounds),x.x+=a,x.y+=y,b.bounds=x),b.commit()}nn.free(x)},Ku.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()},Ku.prototype.springStiffness=function(a){return a=a.stiffness,isNaN(a)?this.Hk:a},Ku.prototype.springLength=function(a){return a=a.length,isNaN(a)?this.Gk:a},Ku.prototype.electricalCharge=function(a){return a=a.charge,isNaN(a)?this.Ek:a},Ku.prototype.electricalFieldX=function(){return 0},Ku.prototype.electricalFieldY=function(){return 0},Ku.prototype.gravitationalMass=function(a){return a=a.mass,isNaN(a)?this.Fk:a},Ku.prototype.gravitationalFieldX=function(){return 0},Ku.prototype.gravitationalFieldY=function(){return 0},Ku.prototype.isFixed=function(a){return a.isFixed},Rt.Object.defineProperties(Ku.prototype,{currentIteration:{get:function(){return this.An}},arrangementSpacing:{get:function(){return this.$d},set:function(a){this.$d.D(a)||(this.$d.assign(a),this.C())}},arrangesToOrigin:{get:function(){return this.Bm},set:function(a){this.Bm!==a&&(this.Bm=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},comments:{get:function(){return this.td},set:function(a){this.td!==a&&(this.td=a,this.C())}},maxIterations:{get:function(){return this.dl},set:function(a){this.dl!==a&&0<=a&&(this.dl=a,this.C())}},epsilonDistance:{get:function(){return this.$m},set:function(a){this.$m!==a&&0Ne&&0Ne&&0a[this.Md]&&(this.Iq=a[x]-1,this.Md=x),a[x]ee)for(var ce=ee+1;ceoe;ce--)ge=E[ce],ge.near===se&&ge.Dj===se.Dj||re++;var Se;if(0<=x)for(oe=E[ee].sourceEdgesArrayAccess,se=0;seNe||ge===Ne&&we>Fe)&&re++,Jege||Ne===ge&&Fe>we)&&re++}}}if(0>=x){for(oe=E[ee].destinationEdgesArrayAccess,se=0;seNe||ge===Ne&&ce>Je)&&re++,Fege||Ne===ge&&Je>ce)&&re++)}for(z[ee*b+ee]=re,oe=ee+1;oe=x){for(re=E[ee].destinationEdgesArrayAccess,at=E[oe].destinationEdgesArrayAccess,se=0;se=x&&(oe=re.sourceEdgesArrayAccess);var se=null;0<=x&&(se=re.destinationEdgesArrayAccess);var ce=0,ge=0,Se=re.near;if(Se!==null&&Se.layer===re.layer&&(ce+=Se.column-1,ge++),oe!==null)for(Se=0;Se=x&&(oe=re.sourceEdgesArrayAccess);var se=null;0<=x&&(se=re.destinationEdgesArrayAccess);var ce=0,ge=[],Se=re.near;if(Se!==null&&Se.layer===re.layer&&(ge[ce]=Se.column-1,ce++),re=void 0,oe!==null)for(Se=0;Se>1,z[ee]=ce&1?ge[se]:ge[se-1]+ge[se]>>1)}return vg(a,y,E),z}function km(a,y,x,E,b,z){if(y.component===E){if(y.component=x,b)for(var ee=y.destinationEdges;ee.next();){var re=ee.value,oe=re.toVertex,se=y.layer-oe.layer;re=a.linkMinLength(re),se===re&&km(a,oe,x,E,b,z)}if(z)for(ee=y.sourceEdges;ee.next();)re=ee.value,oe=re.fromVertex,se=oe.layer-y.layer,re=a.linkMinLength(re),se===re&&km(a,oe,x,E,b,z)}}function Ry(a,y,x,E,b,z){if(y.component===E){if(y.component=x,b)for(var ee=y.destinationEdges;ee.next();)Ry(a,ee.value.toVertex,x,E,b,z);if(z)for(y=y.sourceEdges;y.next();)Ry(a,y.value.fromVertex,x,E,b,z)}}ba.prototype.removeCycles=function(){for(var a=this.network.edges.iterator;a.next();)a.value.rev=!1;switch(this.Dk){default:case zy:a=this.network;var y=0,x=a.vertexes.count-1,E=[];E.length=x+1;for(var b=a.vertexes.iterator;b.next();)b.value.valid=!0;for(;Jx(a)!==null;){for(b=nx(a);b!==null;)E[x]=b,x--,b.valid=!1,b=nx(a);for(b=ix(a);b!==null;)E[y]=b,y++,b.valid=!1,b=ix(a);b=null;for(var z=0,ee=this.network.vertexes.iterator;ee.next();){var re=ee.value;if(re.valid){for(var oe=0,se=re.destinationEdges;se.next();)se.value.toVertex.valid&&oe++;se=0;for(var ce=re.sourceEdges;ce.next();)ce.value.fromVertex.valid&&se++;(b===null||zy.toVertex.index&&(a.gm(y),y.rev=!0);break;case lv:for(E=this.network.vertexes.iterator;E.next();)a=E.value,a.Ll=-1,a.finish=-1;for(a=this.network.edges.iterator;a.next();)a.value.forest=!1;for(this.Kn=0,E.reset();E.next();)y=E.value,y.sourceEdges.count===0&&Wy(this,y);for(E.reset();E.next();)y=E.value,y.Ll===-1&&Wy(this,y);for(a.reset();a.next();)E=a.value,E.forest||(y=E.fromVertex,x=y.finish,b=E.toVertex,z=b.finish,b.LlE){if(0>E)for(y.reset();y.next();)y.value.layer-=E;for(E=[],y.reset();y.next();)x=y.value,b=E[x.layer],b===void 0?E[x.layer]=[x]:b.push(x);for(x=y=0;xee&&km(a,re,0,-1,!0,!1)}for(km(a,y,1,-1,!0,!0);y.component!==0;){for(z=0,E=1/0,re=0,oe=null,ee=a.network.vertexes.iterator;ee.next();){var se=ee.value;if(se.component===1){var ce=0,ge=!1,Se=se.sourceEdgesArrayAccess;b=Se.length;for(var we=0;wez)&&!ce&&(re=ee,z=se)}if(0>E){for(x.reset();x.next();)E=x.value,E.component===1&&(E.layer-=b);y.component=0}else re.component=0}}}function lx(a,y,x){return a.K===90?x&&!y.rev||!x&&y.rev?270:90:a.K===180?x&&!y.rev||!x&&y.rev?0:180:a.K===270?x&&!y.rev||!x&&y.rev?90:270:x&&!y.rev||!x&&y.rev?180:0}ba.prototype.initializeIndices=function(){switch(this.Qk){default:case Zy:for(var a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;y.index=this.tc[x],this.tc[x]++}break;case cv:for(a=this.network.vertexes.iterator,y=this.Ia;0<=y;y--)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&ux(this,x);break;case Gy:for(a=this.network.vertexes.iterator,y=0;y<=this.Ia;y++)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&cx(this,x)}};function ux(a,y){var x=y.layer;for(y.index=a.tc[x],a.tc[x]++,y=y.destinationEdgesArrayAccess,x=!0;x;){x=!1;for(var E=0;Ez.portFromColOffset&&(x=!0,y[E]=z,y[E+1]=b)}}for(x=0;xz.portToColOffset&&(E=!0,y[x]=z,y[x+1]=b)}for(x=0;x=ee;E--)z=Ud(this,E,-1)||z;for(b=this.countCrossings(),b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=x;E>=ee;E--)z=Ud(this,E,1)||z;for(b=this.countCrossings(),b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=ee;E<=x;E++)z=Ud(this,E,1)||z;for(b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=ee;E<=x;E++)z=Ud(this,E,-1)||z;for(b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=x;E>=ee;E--)z=Ud(this,E,0)||z;for(b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=ee;E<=x;E++)z=Ud(this,E,0)||z;b>=a?kd(this,y):(a=b,y=zc(this))}break;default:case dv:for(x=this.Ia,ee=0,re=a+1;(E=this.countCrossings())=ee;E--)z=Ud(this,E,-1)||z;for(b=this.countCrossings(),b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=x;E>=ee;E--)z=Ud(this,E,1)||z;for(b=this.countCrossings(),b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=ee;E<=x;E++)z=Ud(this,E,1)||z;for(b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=ee;E<=x;E++)z=Ud(this,E,-1)||z;for(b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=x;E>=ee;E--)z=Ud(this,E,0)||z;for(b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=ee;E<=x;E++)z=Ud(this,E,0)||z;b>=a?kd(this,y):(a=b,y=zc(this))}}kd(this,y)};function ov(a,y,x){var E=mg(a,y),b=a.tc[y],z=tx(a,y,x),ee=Iy(a,y,x);for(x=0;xz+1&&(Se+=4*(nt-z),we+=4*(nt-(z+1)))}for(ft=E[z].destinationEdges.iterator,ft.reset();ft.next();)if(nt=ft.value,at=nt.toVertex,nt.valid&&at.layer===y){for(nt=0;E[nt]!==at;)nt++;nt===z+1&&(we+=1)}for(ft=E[z+1].sourceEdges.iterator,ft.reset();ft.next();)if(nt=ft.value,at=nt.fromVertex,nt.valid&&at.layer===y){for(nt=0;E[nt]!==at;)nt++;ntz+1&&(Se+=4*(nt-(z+1)),we+=4*(nt-z))}for(ft=E[z+1].destinationEdges.iterator,ft.reset();ft.next();)if(nt=ft.value,at=nt.toVertex,nt.valid&&at.layer===y){for(nt=0;E[nt]!==at;)nt++;nt===z&&(Se+=1)}nt=at=0,ft=ee[E[z].index];var Ct=re[E[z].index],Kt=ee[E[z+1].index],Pi=re[E[z+1].index];ft!==-1&&(at+=Math.abs(ft-Fe),nt+=Math.abs(ft-Ge)),Ct!==-1&&(at+=Math.abs(Ct-Fe),nt+=Math.abs(Ct-Ge)),Kt!==-1&&(at+=Math.abs(Kt-Ne),nt+=Math.abs(Kt-Je)),Pi!==-1&&(at+=Math.abs(Pi-Ne),nt+=Math.abs(Pi-Je)),(we>1)+8*E;this.Ra*=8}if(this.bg&2)for(x=!0;x;){for(x=!1,y=this.Md+1;y<=this.Ia;y++)x=Wp(this,y,1)||x;for(y=this.Md-1;0<=y;y--)x=Wp(this,y,-1)||x;x=Wp(this,this.Md,0)||x}if(this.bg&4){for(y=this.Md+1;y<=this.Ia;y++)jy(this,y,1);for(y=this.Md-1;0<=y;y--)jy(this,y,-1);jy(this,this.Md,0)}if(a&&(dx(this,-1),dx(this,1)),this.bg&2)for(x=!0;x;){for(x=!1,x=Wp(this,this.Md,0)||x,y=this.Md+1;y<=this.Ia;y++)x=Wp(this,y,0)||x;for(y=this.Md-1;0<=y;y--)x=Wp(this,y,0)||x}}else e5(this)};function Wp(a,y,x){for(var E=!1;Qx(a,y,x);)E=!0;return E}function Qx(a,y,x){var E,b=mg(a,y),z=a.tc[y],ee=Iy(a,y,-1);if(0x)for(E=0;EE-1||ce-b[E-1].column-1>ge+a.nodeMinColumnSpace(b[E-1],!1)?we=ce-1:we=ce,ge=E+1>=z||b[E+1].column-ce-1>Se+a.nodeMinColumnSpace(b[E+1],!0)?ce+1:ce;var Fe=Se=0,Ne=0;if(0>=x)for(var Je=b[E].sourceEdges.iterator;Je.next();){var Ge=Je.value,nt=Ge.fromVertex;if(Ge.valid&&nt.layer!==y){var at=Oy(Ge),ft=Ge.portFromColOffset;Ge=Ge.portToColOffset,nt=nt.column,Se+=(Math.abs(ce+Ge-(nt+ft))+1)*at,Fe+=(Math.abs(we+Ge-(nt+ft))+1)*at,Ne+=(Math.abs(ge+Ge-(nt+ft))+1)*at}}if(0<=x)for(Je=b[E].destinationEdges.iterator;Je.next();)Ge=Je.value,nt=Ge.toVertex,Ge.valid&&nt.layer!==y&&(at=Oy(Ge),ft=Ge.portFromColOffset,Ge=Ge.portToColOffset,nt=nt.column,Se+=(Math.abs(ce+ft-(nt+Ge))+1)*at,Fe+=(Math.abs(we+ft-(nt+Ge))+1)*at,Ne+=(Math.abs(ge+ft-(nt+Ge))+1)*at);Ge=ft=at=0,Je=ee[b[E].index],nt=re[b[E].index],Je!==-1&&(at+=Math.abs(Je-ce),ft+=Math.abs(Je-we),Ge+=Math.abs(Je-ge)),nt!==-1&&(at+=Math.abs(nt-ce),ft+=Math.abs(nt-we),Ge+=Math.abs(nt-ge)),Fe=ee[x]?ce=oe:se<=ee[x]&&(ce=se));ce!==re&&(z=!0,E[x].column=ce)}vg(a,y,E),a.normalize()}function qx(a,y){for(var x=!0,E=a.network.vertexes.iterator;E.next();){var b=E.value,z=a.nodeMinColumnSpace(b,!0),ee=a.nodeMinColumnSpace(b,!1);if(b.column-z<=y&&b.column+ee>=y){x=!1;break}}if(a=!1,x)for(E.reset();E.next();)x=E.value,x.column>y&&(--x.column,a=!0);return a}function $x(a,y){var x=y+1,E,b=[],z=[];for(E=0;E<=a.Ia;E++)b[E]=!1,z[E]=!1;for(var ee=a.network.vertexes.iterator;ee.next();){E=ee.value;var re=E.column-a.nodeMinColumnSpace(E,!0),oe=E.column+a.nodeMinColumnSpace(E,!1);re<=y&&oe>=y&&(b[E.layer]=!0),re<=x&&oe>=x&&(z[E.layer]=!0)}for(re=!0,x=!1,E=0;E<=a.Ia;E++)re=re&&!(b[E]&&z[E]);if(re)for(ee.reset();ee.next();)a=ee.value,a.column>y&&(--a.column,x=!0);return x}function dx(a,y){for(var x=0;x<=a.Ra;x++)for(;qx(a,x););for(a.normalize(),x=0;xz?kd(a,b):eey)for(x=a.Ra;0<=x;x--)for(b=zc(a),z=rv(a),E=z+1;zz?kd(a,b):eex)for(E.reset();E.next();)b=E.value,b.column+a.nodeMinColumnSpace(b,!1)>=y&&(b.component=a.le);for(a.le++,E.reset();E.next();)y=E.value,y.component===-1&&(Ry(a,y,a.le,-1,!0,!0),a.le++);var z;for(y=[],z=0;zx)for(ee=a.Ra;0x)for(E.reset();E.next();)x=E.value,b[x.component]&&(x.column+=1)}function e5(a){for(var y=Ri(),x=a.fl.length,E=0;E<=x;E++)y[E]=[];for(E=a.network.vertexes.iterator;E.next();){var b=E.value;y[x-b.layer][b.index]=b}x=new Rn,t5(y,x);var z=null,ee=null,re=null,oe=null,se=(a.ve&1)!==0,ce=(a.ve&2)!==0,ge=(a.ve&4)!==0,Se=(a.ve&8)!==0;for(se&&(a.verticalAlignment(y,x,!0),z=av(a,y,!0,!1)),y.reverse(),ge&&(a.verticalAlignment(y,x,!1),re=av(a,y,!1,!1)),E=to(y),b=E.next();!b.done;b=E.next())b.value.reverse();Se&&(a.verticalAlignment(y,x,!1),oe=av(a,y,!1,!0)),y.reverse(),ce&&(a.verticalAlignment(y,x,!0),ee=av(a,y,!0,!0)),si(y),a.u(z,ee,re,oe),a.network.vertexes.each(function(we){var Fe=Ri();se&&Fe.push(z.get(we)),ce&&Fe.push(ee.get(we)),ge&&Fe.push(re.get(we)),Se&&Fe.push(oe.get(we)),Fe.sort(function(Je,Ge){return Je-Ge});var Ne=Fe.length;Ne=(Fe[Math.floor((Ne-1)/2)]+Fe[Math.ceil((Ne-1)/2)])/2,si(Fe),we.zc=Ne})}function t5(a,y){for(var x=a.length,E=1;Ece)&&y.add(ge);z++}b=ce}}}ba.prototype.verticalAlignment=function(a,y,x){n5(a),a=to(a);for(var E=a.next();!E.done;E=a.next()){var b=-1;E=to(E.value);for(var z=E.next();!z.done;z=E.next()){z=z.value;var ee=x?Ky(z):o5(z),re=ee.length;if(0=y[x].length)&&(ee=y[x][0],ee.sd===ee)){ee.sd.shift===1/0&&(ee.sd.shift=0),ee=x,re=0;do{for(z=y[ee][re];z.align!==z.root;)z=z.align,ee++,0a&&Et("Could not determine previous vertex in layer"),y[x][a-1]}ba.prototype.u=function(a){for(var y=[],x=0;xee;ee++)if(y[ee]){var re=i5(this,y[ee],E,b,ee);reee;z={delta:z.delta},ee++)y[ee]&&(z.delta=ee===0||ee===2?E[x]-E[ee]:b[x]-b[ee],z.delta!==0&&y[ee].each(function(oe){return function(se){se.value+=oe.delta}}(z)));si(E),si(b)};function i5(a,y,x,E,b){if(!y||y.count===0)return x[b]=0,E[b]=0,1/0;var z=1/0,ee=-1/0;return y.each(function(re){var oe=re.key;re=re.value,oe=a.K===90||a.K===270?oe.width:oe.height,reee&&(ee=re+oe)}),x[b]=z,E[b]=ee,ee-z}ba.prototype.commitLayout=function(){if(this.setsPortSpots)for(var a=sv(this,!0),y=sv(this,!1),x=this.network.edges.iterator;x.next();){var E=x.value.link;E!==null&&(E.fromSpot=a,E.toSpot=y)}this.commitNodes(),this.Gu(),this.isRouting&&this.commitLinks()};function sv(a,y){return a.K===270?y?Vu:ou:a.K===90?y?ou:Vu:a.K===180?y?_u:ul:y?ul:_u}ba.prototype.commitNodes=function(){this.he=[],this.Ld=[],this.Kd=[],this.Ta=[];for(var a=0;a<=this.Ia;a++)this.he[a]=0,this.Ld[a]=0,this.Kd[a]=0,this.Ta[a]=0;for(a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;this.he[x]=Math.max(this.he[x],this.nodeMinLayerSpace(y,!0)),this.Ld[x]=Math.max(this.Ld[x],this.nodeMinLayerSpace(y,!1))}y=0,x=this.ie;for(var E=0;E<=this.Ia;E++){var b=x;0>=this.he[E]+this.Ld[E]&&(b=0),0=ge.bounds.bottom?(ge=ge.bounds.y+ge.bounds.height,y.m(Ne++,ft,ge+Kt),y.m(Ne++,ft,ge),y.m(Ne++,ft,ge-at)):(y.m(Ne++,ft,Ct+Kt),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct-at)):this.K===270?Ct<=ge.bounds.y?(ge=ge.bounds.y,y.m(Ne++,ft,ge-at),y.m(Ne++,ft,ge),y.m(Ne++,ft,ge+Kt)):(y.m(Ne++,ft,Ct-at),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct+Kt)):this.K===0&&(ft>=ge.bounds.right?(ge=ge.bounds.x+ge.bounds.width,y.m(Ne++,ge+Kt,Ct),y.m(Ne++,ge,Ct),y.m(Ne++,ge-at,Ct)):(y.m(Ne++,ft+Kt,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft-at,Ct)));else{y.m(Ne++,Ge,nt);var Pi=0;this.K===180||this.K===0?((this.K===180?ft>=ge.bounds.right:ft<=ge.bounds.x)&&(Pi=(this.K===0?-at:Kt)/2),y.m(Ne++,Ge+Pi,Ct)):((this.K===270?Ct>=ge.bounds.bottom:Ct<=ge.bounds.y)&&(Pi=(this.K===90?-at:Kt)/2),y.m(Ne++,ft,nt+Pi)),y.m(Ne++,ft,Ct)}}else at=Math.max(10,this.he[Je.layer]),Kt=Math.max(10,this.Ld[Je.layer]),Se?this.K===180?(y.m(Ne++,ft-at-Fe,Ct),y.m(Ne++,Math.min(ft-at+Fe/2,ft),Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,Math.max(ft+Kt-Fe/2,ft),Ct),y.m(Ne++,ft+Kt+Fe,Ct)):this.K===90?(y.m(Ne++,ft,Ct+Kt+Fe),y.m(Ne++,ft,Math.max(Ct+Kt-Fe/2,Ct)),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Math.min(Ct-at+Fe/2,Ct)),y.m(Ne++,ft,Ct-at-Fe)):this.K===270?(y.m(Ne++,ft,Ct-at-Fe),y.m(Ne++,ft,Math.min(Ct-at+Fe/2,Ct)),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Math.max(Ct+Kt-Fe/2,Ct)),y.m(Ne++,ft,Ct+Kt+Fe)):(y.m(Ne++,ft+Kt+Fe,Ct),y.m(Ne++,Math.max(ft+Kt-Fe/2,ft),Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,Math.min(ft-at+Fe/2,ft),Ct),y.m(Ne++,ft-at-Fe,Ct)):y.m(Ne++,ft,Ct)}ge=Je}(re===null||se!==il||we)&&(Ge=y.i(Ne-1).x,nt=y.i(Ne-1).y,ft=y.i(Ne).x,Ct=y.i(Ne).y,we?(Fe=this.Ld[ce.layer],this.K===180||this.K===0?(we=nt,we>=ce.bounds.y&&we<=ce.bounds.bottom&&(this.K===180?ft>=ce.bounds.x:ft<=ce.bounds.right)&&(ge=ce.centerX+(this.K===180?-Fe:Fe),we=ce.bounds.x&&we<=ce.bounds.right&&(this.K===270?Ct>=ce.bounds.y:Ct<=ce.bounds.bottom)&&(ge=ce.centerY+(this.K===270?-Fe:Fe),we=ce.bounds.x?(ge=ce.bounds.x+ce.bounds.width,y.L(Ne-2,ge,nt),y.L(Ne-1,ge+Kt,nt)):this.K===90&&Ct<=ce.bounds.bottom?(ge=ce.bounds.y,y.L(Ne-2,Ge,ge),y.L(Ne-1,Ge,ge-at)):this.K===270&&Ct>=ce.bounds.y?(ge=ce.bounds.y+ce.bounds.height,y.L(Ne-2,Ge,ge),y.L(Ne-1,Ge,ge+Kt)):this.K===0&&ft<=ce.bounds.right&&(ge=ce.bounds.x,y.L(Ne-2,ge,nt),y.L(Ne-1,ge-at,nt))):(at=Math.max(10,this.he[ce.layer]),Kt=Math.max(10,this.Ld[ce.layer]),we=0,this.K===180||this.K===0?((this.K===180?ft<=ce.bounds.x:ft>=ce.bounds.right)&&(we=(this.K===0?Kt:-at)/2),y.m(Ne++,ft+we,nt)):((this.K===270?Ct<=ce.bounds.y:Ct>=ce.bounds.bottom)&&(we=(this.K===90?Kt:-at)/2),y.m(Ne++,Ge,Ct+we)),y.m(Ne++,ft,Ct)))}else{for(;ce!==null&&ce!==ge;){for(at=Je=null,ce=ce.destinationEdges.iterator;ce.next()&&(Ge=ce.value,Ge.link!==x.link||(Je=Ge.toVertex,at=Ge.fromVertex,at.node!==null&&(at=null),Je.node!==null)););if(Je===null)break;Je!==ge&&(Ge=y.i(Ne-1).x,nt=y.i(Ne-1).y,ft=Je.centerX,Ct=Je.centerY,we?this.K===180||this.K===0?(at!==null?at.centerY:nt)!==Ct&&(at=this.Ta[Je.layer]+this.Rf.x,Ne===y.firstPickIndex+1&&(at=this.K===0?Math.max(at,Ge):Math.min(at,Ge)),y.m(Ne++,at,nt),y.m(Ne++,at,Ct)):(at!==null?at.centerX:Ge)!==ft&&(at=this.Ta[Je.layer]+this.Rf.y,Ne===y.firstPickIndex+1&&(at=this.K===90?Math.max(at,nt):Math.min(at,nt)),y.m(Ne++,Ge,at),y.m(Ne++,ft,at)):(at=Math.max(10,this.he[Je.layer]),Kt=Math.max(10,this.Ld[Je.layer]),Se?this.K===180?(y.m(Ne++,ft+Kt+Fe,Ct),y.m(Ne++,Math.max(ft+Kt-Fe/2,ft),Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,Math.min(ft-at+Fe/2,ft),Ct),y.m(Ne++,ft-at-Fe,Ct)):this.K===90?(y.m(Ne++,ft,Ct-at-Fe),y.m(Ne++,ft,Math.min(Ct-at+Fe/2,Ct)),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Math.max(Ct+Kt-Fe/2,Ct)),y.m(Ne++,ft,Ct+Kt+Fe)):this.K===270?(y.m(Ne++,ft,Ct+Kt+Fe),y.m(Ne++,ft,Math.max(Ct+Kt-Fe/2,Ct)),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Math.min(Ct-at+Fe/2,Ct)),y.m(Ne++,ft,Ct-at-Fe)):(y.m(Ne++,ft-at-Fe,Ct),y.m(Ne++,Math.min(ft-at+Fe/2,ft),Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,Math.max(ft+Kt-Fe/2,ft),Ct),y.m(Ne++,ft+Kt+Fe,Ct)):this.K===180?(y.m(Ne++,ft+Kt,Ct),y.m(Ne++,ft-at,Ct)):this.K===90?(y.m(Ne++,ft,Ct-at),y.m(Ne++,ft,Ct+Kt)):this.K===270?(y.m(Ne++,ft,Ct+Kt),y.m(Ne++,ft,Ct-at)):(y.m(Ne++,ft-at,Ct),y.m(Ne++,ft+Kt,Ct)))),ce=Je}we&&(Ge=y.i(Ne-1).x,nt=y.i(Ne-1).y,ft=y.i(Ne).x,Ct=y.i(Ne).y,this.K===180||this.K===0?nt!==Ct&&(at=this.K===0?Math.min(Math.max((ft+Ge)/2,this.Ta[ge.layer]+this.Rf.x),ft):Math.max(Math.min((ft+Ge)/2,this.Ta[ge.layer]+this.Rf.x),ft),y.m(Ne++,at,nt),y.m(Ne++,at,Ct)):Ge!==ft&&(at=this.K===90?Math.min(Math.max((Ct+nt)/2,this.Ta[ge.layer]+this.Rf.y),Ct):Math.max(Math.min((Ct+nt)/2,this.Ta[ge.layer]+this.Rf.y),Ct),y.m(Ne++,Ge,at),y.m(Ne++,ft,at)))}E!==null&&Se&&4<=y.pointsCount&&(ee!==null&&(ee=se===il?y.getLinkPointFromPoint(b,ee,ee.ga(Dr),y.i(3),!0):y.i(0),se===il&&(se=y.i(2),E=y.i(3),this.direction===90||this.direction===270?(y.L(1,(ee.x+se.x)/2,se.y),y.L(2,E.x,(se.y+E.y)/2)):(y.L(1,se.x,(ee.y+se.y)/2),y.L(2,(se.x+E.x)/2,E.y))),ee.w()||ee.set(b.actualBounds.center),y.L(0,ee.x,ee.y)),re!==null&&(b=oe===il?y.getLinkPointFromPoint(z,re,re.ga(Dr),y.i(y.pointsCount-4),!1):y.i(y.pointsCount-1),oe===il&&(re=y.i(y.pointsCount-3),oe=y.i(y.pointsCount-4),this.direction===90||this.direction===270?(y.L(y.pointsCount-2,(b.x+re.x)/2,re.y),y.L(y.pointsCount-2,oe.x,(re.y+oe.y)/2)):(y.L(y.pointsCount-2,re.x,(b.y+re.y)/2),y.L(y.pointsCount-3,(re.x+oe.x)/2,oe.y))),b.w()||b.set(z.actualBounds.center),y.L(y.pointsCount-1,b.x,b.y))),y.zf(),x.commit()}}}this.avoidOrthogonalOverlaps()},ba.prototype.avoidOrthogonalOverlaps=function(){if(!(0>=this.linkSpacing)){for(var a=new ln,y=this.network.edges.iterator;y.next();){var x=y.value.link;x!==null&&x.isOrthogonal&&!a.contains(x)&&a.add(x)}if(0z.y&&(ce=se.y>z.y?0:ee.xz.x&&(ce=se.x>z.x?0:ee.yy.layer?1:a.rdy.rd?1:a.Icy.Ic?1:0:0},Be.Ux=function(a,y){return a instanceof yg&&y instanceof yg&&a!==y?a.firsty.first||a.jy.j||a.rdy.rd?1:a.Icy.Ic?1:0:0},Be.Js=function(a,y){return a instanceof yg&&y instanceof yg&&a!==y?a.jcy.jc||a.jy.j||a.rdy.rd?1:a.Icy.Ic?1:0:0},Be.B=function(a,y){return a-=y,-1a},Be.zi=function(a,y,x,E){var b=a.length,z=E-x;if(!(1>=z))if((0>x||x>=b-1)&&Et("not in range 0 <= from < length: "+x),z===2)E=a[x],b=a[x+1],0=b)a.sort(y);else for(x=a.slice(0,E),x.sort(y),y=0;y=b)for(E=a.slice(x),E.sort(y),y=x;y=a.He.length){for(var E=[],b=0;ba&&(this.bg=a,this.C())}},alignOption:{get:function(){return this.ve},set:function(a){this.ve!==a&&0<=a&&16>a&&(this.ve=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},linkSpacing:{get:function(){return this.Cn},set:function(a){this.Cn!==a&&0<=a&&(this.Cn=a,this.C())}},maxLayer:{get:function(){return this.Ia}},maxIndex:{get:function(){return this.Iq}},maxColumn:{get:function(){return this.Ra}},minIndexLayer:{get:function(){return this.Hn}},maxIndexLayer:{get:function(){return this.Md}}});var lv=new sn(ba,"CycleDepthFirst",0),zy=new sn(ba,"CycleGreedy",1),Nm=new sn(ba,"CycleFromLayers",2),uv=new sn(ba,"LayerOptimalLinkLength",0),Vy=new sn(ba,"LayerLongestPathSink",1),_y=new sn(ba,"LayerLongestPathSource",2),cv=new sn(ba,"InitDepthFirstOut",0),Gy=new sn(ba,"InitDepthFirstIn",1),Zy=new sn(ba,"InitNaive",2),Uy=new sn(ba,"AggressiveNone",0),dv=new sn(ba,"AggressiveLess",1),Hy=new sn(ba,"AggressiveMore",2),r5=8;ba.className="LayeredDigraphLayout",ba.CycleDepthFirst=lv,ba.CycleGreedy=zy,ba.CycleFromLayers=Nm,ba.LayerOptimalLinkLength=uv,ba.LayerLongestPathSink=Vy,ba.LayerLongestPathSource=_y,ba.InitDepthFirstOut=cv,ba.InitDepthFirstIn=Gy,ba.InitNaive=Zy,ba.AggressiveNone=Uy,ba.AggressiveLess=dv,ba.AggressiveMore=Hy,ba.PackNone=0,ba.PackExpand=1,ba.PackStraighten=2,ba.PackMedian=4,ba.PackAll=15,ba.AlignNone=0,ba.AlignUpperLeft=1,ba.AlignUpperRight=2,ba.AlignLowerLeft=4,ba.AlignLowerRight=8,ba.AlignAll=15;function yg(){this.index=this.Ic=this.rd=this.jc=this.first=this.layer=0,this.link=null,this.j=0}yg.className="SegInfo";function jp(a){as.call(this,a)}_t(jp,as),jp.prototype.createVertex=function(){return new Nd(this)},jp.prototype.createEdge=function(){return new Tm(this)},jp.className="LayeredDigraphNetwork";function Nd(a){ql.call(this,a),this.$n=this.bo=this.ao=this.co=null,this.Za=this.Ag=this.Ig=-1,this.u=NaN,this.F=null,this.valid=!1,this.finish=this.Ll=NaN,this.Dj=0,this.dv=this.ev=null}_t(Nd,ql);function px(a,y){return a.index-y.index}function hv(a,y){if(!a.$n){for(var x=[],E=to(a.destinationEdgesArrayAccess),b=E.next();!b.done;b=E.next())b=b.value,b.valid&&x.push(b);a.$n=x}for(a=to(a.$n),x=a.next();!x.done;x=a.next())if(x=x.value,x.toVertex===y)return x;Et("Unable to find destination edge to given vertex")}function Ky(a){if(!a.co){for(var y=[],x=to(a.sourceEdgesArrayAccess),E=x.next();!E.done;E=x.next())E=E.value,E.valid&&y.push(E.fromVertex);y.sort(px),a.co=y}return a.co}function o5(a){if(!a.ao){for(var y=[],x=to(a.destinationEdgesArrayAccess),E=x.next();!E.done;E=x.next())E=E.value,E.valid&&y.push(E.toVertex);y.sort(px),a.ao=y}return a.ao}Nd.prototype.Cl=function(a){ql.prototype.Cl.call(this,a),this.bo=this.co=null},Nd.prototype.Kl=function(a){ql.prototype.Kl.call(this,a),this.bo=this.co=null},Nd.prototype.zl=function(a){ql.prototype.zl.call(this,a),this.$n=this.ao=null},Nd.prototype.Jl=function(a){ql.prototype.Jl.call(this,a),this.$n=this.ao=null},Rt.Object.defineProperties(Nd.prototype,{layer:{get:function(){return this.Ig},set:function(a){this.Ig!==a&&(this.Ig=a)}},column:{get:function(){return this.Ag},set:function(a){this.Ag!==a&&(this.Ag=a)}},index:{get:function(){return this.Za},set:function(a){this.Za!==a&&(this.Za=a)}},component:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},near:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),Nd.prototype.deleteDestinationEdge=Nd.prototype.Jl,Nd.prototype.addDestinationEdge=Nd.prototype.zl,Nd.prototype.deleteSourceEdge=Nd.prototype.Kl,Nd.prototype.addSourceEdge=Nd.prototype.Cl,Nd.className="LayeredDigraphVertex";function Tm(a){od.call(this,a),this.j=this.ia=this.Ha=!1,this.V=this.u=NaN,this.F=this.o=0}_t(Tm,od),Rt.Object.defineProperties(Tm.prototype,{fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}},valid:{get:function(){return this.Ha},set:function(a){this.Ha!==a&&(this.Ha=a)}},rev:{get:function(){return this.ia},set:function(a){this.ia!==a&&(this.ia=a)}},forest:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a)}},portFromPos:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},portToPos:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},portFromColOffset:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a)}},portToColOffset:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),Tm.className="LayeredDigraphEdge";function ko(a){Cs.call(this),this.Ub=new Rn,this.Wn=mv,this.ud=ff,this.vo=yv,this.Bq=r1,this.$v=[],this.td=!0,this.Rb=Sv,this.$d=new pi(10,10).freeze();var y=new sp(this);this.W=new Hd(y),this.Y=new Hd(y),this.ru=[],a&&Object.assign(this,a)}_t(ko,Cs),ko.prototype.cloneProtected=function(a){Cs.prototype.cloneProtected.call(this,a),a.Wn=this.Wn,a.vo=this.vo,a.Bq=this.Bq,a.td=this.td,a.Rb=this.Rb,a.$d.assign(this.$d),a.W.copyInheritedPropertiesFrom(this.W),a.Y.copyInheritedPropertiesFrom(this.Y)},ko.prototype.qb=function(a){a.classType===ko?a.name.indexOf("Alignment")===0?this.alignment=a:a.name.indexOf("Arrangement")===0?this.arrangement=a:a.name.indexOf("Compaction")===0?this.compaction=a:a.name.indexOf("Path")===0?this.path=a:a.name.indexOf("Sorting")===0?this.sorting=a:a.name.indexOf("Style")===0?this.treeStyle=a:Et("Unknown enum value: "+a):Cs.prototype.qb.call(this,a)},ko.prototype.createNetwork=function(){return new sp(this)},ko.prototype.makeNetwork=function(a){function y(E){if(E instanceof Fi)return!E.isLinkLabel&&E.category!=="Comment";if(E instanceof ai){var b=E.fromNode;return b===null||b.isLinkLabel||b.category==="Comment"?!1:(E=E.toNode,!(E===null||E.isLinkLabel||E.category==="Comment"))}return!1}var x=this.createNetwork();return a instanceof Ht?(x.lg(a.nodes,!0,y),x.lg(a.links,!0,y)):a instanceof Gr?x.lg(a.memberParts,!1,y):x.lg(a.iterator,!1,y),x},ko.prototype.doLayout=function(a){this.network===null&&(this.network=this.makeNetwork(a)),this.arrangement!==xv&&(this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin));var y=this.diagram;if(y===null&&a instanceof Ht&&(y=a),this.path===mv&&y!==null?this.ud=y.isTreePathToChildren?ff:op:this.ud=this.path===mv?ff:this.path,0y.level)return!1;a.removeChild(x.parent,x)}return!0}ko.prototype.removeChild=function(a,y){if(a!==null&&y!==null){for(var x=a.children,E=0,b=0;bb?Px(this,a,ee,Fr,Ge,nt):wx(this,a,ee,Fr,Ge,nt),Fr=nt.x,Ge=nt.width,nt=nt.height;break;case Hf:for(ft=0;ftge&&(zivu&&(rp(a,-vu,0,zr,oa-1),pv(ft,-vu,0),pv(Ct,-vu,0),vu=0)}ns.S.h(vu,Ni),Ge=Math.max(Ge,Kt),nt=Math.max(nt,at+(oi===0?0:Fe)+uu.height),zi=Kt}else 0ge&&(Nivu&&(rp(a,0,-vu,zr,oa-1),pv(ft,0,-vu),pv(Ct,0,-vu),vu=0)),ns.S.h(zi,vu),nt=Math.max(nt,Pi),Ge=Math.max(Ge,at+(oi===0?0:Fe)+uu.width),Ni=Pi;Tn++}switch(0se&&(se=0),135Ne&&(Ne=0),oe===Ff&&(re+=Se/2+a.focus.y),ee+=E+x):y?(a.comments===null?E>Ge&&(Ge=qy(oe,E-Ge,0),ee=Ge.x,re=Ge.y,Ge=E,se=0):Ge=Jy(a,Ge,se),0>se&&(ee-=se,se=0),135nt&&(nt=qy(oe,0,Je-nt),ee=nt.x,re=nt.y,nt=Je,Ne=0):nt=Qy(a,nt,Ne),0>Ne&&(re-=Ne,Ne=0),ee+=E+x),0b[0].x?b[2].assign(b[1]):b[1].assign(b[2])),b[3].yb[0].x?b[3].assign(b[2]):b[2].assign(b[3])),oi[0].h(se+E,0),oi[1].h(oi[0].x,Je),oi[2].yb[0].y?b[2].assign(b[1]):b[1].assign(b[2])),b[3].xb[0].y?b[3].assign(b[2]):b[2].assign(b[3])),oi[0].h(0,Ne+Je),oi[1].h(E,oi[0].y),oi[2].xE?Px(a,y,b,Tn,at,ft):wx(a,y,b,Tn,at,ft),Tn=ft.x,at=ft.width,ft=ft.height;break;case Hf:for(Se=0;SeSe&&(KtSe&&(Pige&&(ge=0),135Ge&&(Ge=0)),y.la.h(ge,Ge),y.Da.h(at,ft)}}ko.prototype.customAlignment=function(a,y,x,E,b){return[y,x,E,b]};function Px(a,y,x,E,b,z){var ee=x.length;if(ee===0)return new nn(E,0,b,z);if(ee===1)return y=x[0],b=y.Da.width,z=y.Da.height,new nn(E,0,b,z);for(var re=y.nodeSpacing,oe=y.rowSpacing,se=uh(y)===90,ce=0,ge=0,Se=0,we=0;wese&&(b-=se),z=Math.max(z,Math.max(we,Se)+a+ee.height),0>x.S.x&&(E=fv(y,x.S.x,!1,E,re))):(x.S.h(b+a,E+re/2-x.focus.y-x.la.y),b=Math.max(b,Math.max(Fe,ge)+a+ee.width),Se=E+re/2-x.focus.y-x.la.y,z=Math.max(z,Se+ee.height),0>Se&&(z-=Se),0>x.S.y&&(E=fv(y,x.S.y,!0,E,re)))),new nn(E,0,b,z)}function wx(a,y,x,E,b,z){var ee=x.length;if(ee===0)return new nn(E,0,b,z);if(ee===1)return x=x[0],b=x.Da.width,z=x.Da.height,new nn(E,0,b,z);for(var re=y.nodeSpacing,oe=y.rowSpacing,se=uh(y)===270,ce=0,ge=0,Se=0,we=0;wege&&(b-=ge),z=Math.max(z,Math.abs(Math.min(we,Se))+a+ce.height),0>oe.S.x&&(E=fv(y,oe.S.x,!1,E,re))):(oe.S.h(-b-ce.width-a,E+re/2-oe.focus.y-oe.la.y),b=Math.max(b,Math.abs(Math.min(Fe,ge))+a+ce.width),Se=E+re/2-oe.focus.y-oe.la.y,z=Math.max(z,Se+ce.height),0>Se&&(z-=Se),0>oe.S.y&&(E=fv(y,oe.S.y,!0,E,re)))),y=0;yy&&(y=x+a.width),0>x&&(y-=x),y;case gf:return a.width>y?a.width:y;case pf:return 2*a.focus.x>y?a.width:y+a.width-2*a.focus.x;case Uf:case mf:return Math.max(a.width,Math.max(y,x+a.width)-Math.min(0,x));case Hf:return a.width-a.focus.x+a.nodeSpacing/2+y;case Ff:return Math.max(a.width,a.focus.x+a.nodeSpacing/2+y);default:return y}}function Qy(a,y,x){switch(a.alignment){case ap:case Vp:return x+a.height>y&&(y=x+a.height),0>x&&(y-=x),y;case gf:return a.height>y?a.height:y;case pf:return 2*a.focus.y>y?a.height:y+a.height-2*a.focus.y;case Uf:case mf:return Math.max(a.height,Math.max(y,x+a.height)-Math.min(0,x));case Hf:return a.height-a.focus.y+a.nodeSpacing/2+y;case Ff:return Math.max(a.height,a.focus.y+a.nodeSpacing/2+y);default:return y}}function qy(a,y,x){switch(a){case Vp:y/=2,x/=2;break;case ap:y/=2,x/=2;break;case gf:x=y=0;break;case pf:break;default:Et("Unhandled alignment value "+a.toString())}return new Ze(y,x)}function Wg(a,y,x,E,b,z){y=qy(y,x,E),rp(a,y.x,y.y,b,z)}function rp(a,y,x,E,b){if(y!==0||x!==0)for(a=a.children;E<=b;E++){var z=a[E].S;z.x+=y,z.y+=x}}function gv(a,y,x,E){var b=y.parent;switch(a.ud){case ff:for(a=y.sourceEdges;a.next();)y=a.value,y.fromVertex===b&&y.relativePoint.h(x,E);break;case op:for(a=y.destinationEdges;a.next();)y=a.value,y.toVertex===b&&y.relativePoint.h(x,E);break;default:Et("Unhandled path value "+a.ud.toString())}}function pv(a,y,x){for(var E=0;Ege.length||we===null||2>we.length))for(b=x=0;xse&&z.yz.y&&sey.length||x===null||2>x.length)E=null;else{for(ce=Xc(a,y.length+x.length),E=z=oe=0;zoe;)se=x[z++],ce[E++].h(se.x+b,se.y);for(x=Xc(a,E),oe=0;oege.length||z===null||2>z.length)b=null;else{for(ce=Xc(a,ge.length+z.length),b=se=x=0;xz;)oe=ge[x++],ce[b++].h(oe.x,oe.y);for(z=Xc(a,b),x=0;xge.length||we===null||2>we.length))for(b=x=0;xoe&&z.xz.x&&oey.length||x===null||2>x.length)E=null;else{for(ce=Xc(a,y.length+x.length),E=z=oe=0;zoe;)se=x[z++],ce[E++].h(se.x,se.y+b);for(x=Xc(a,E),oe=0;oege.length||z===null||2>z.length)b=null;else{for(ce=Xc(a,ge.length+z.length),b=se=x=0;xz;)oe=ge[x++],ce[b++].h(oe.x,oe.y);for(z=Xc(a,b),x=0;x=a?0:135>=a?90:225>=a?180:315>=a?270:0}ko.prototype.computeLayerSpacing=function(a){var y=uh(a);y=y===90||y===270;var x=a.layerSpacing;if(0=a&&(this.W.nodeIndentPastParent=a,this.C())}},nodeSpacing:{get:function(){return this.W.nodeSpacing},set:function(a){this.W.nodeSpacing!==a&&(this.W.nodeSpacing=a,this.C())}},layerSpacing:{get:function(){return this.W.layerSpacing},set:function(a){this.W.layerSpacing!==a&&(this.W.layerSpacing=a,this.C())}},layerSpacingParentOverlap:{get:function(){return this.W.layerSpacingParentOverlap},set:function(a){this.W.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.W.layerSpacingParentOverlap=a,this.C())}},compaction:{get:function(){return this.W.compaction},set:function(a){this.W.compaction===a||a!==vv&&a!==jm||(this.W.compaction=a,this.C())}},breadthLimit:{get:function(){return this.W.breadthLimit},set:function(a){this.W.breadthLimit!==a&&0<=a&&(this.W.breadthLimit=a,this.C())}},rowSpacing:{get:function(){return this.W.rowSpacing},set:function(a){this.W.rowSpacing!==a&&(this.W.rowSpacing=a,this.C())}},rowIndent:{get:function(){return this.W.rowIndent},set:function(a){this.W.rowIndent!==a&&0<=a&&(this.W.rowIndent=a,this.C())}},commentSpacing:{get:function(){return this.W.commentSpacing},set:function(a){this.W.commentSpacing!==a&&(this.W.commentSpacing=a,this.C())}},commentMargin:{get:function(){return this.W.commentMargin},set:function(a){this.W.commentMargin!==a&&(this.W.commentMargin=a,this.C())}},setsPortSpot:{get:function(){return this.W.setsPortSpot},set:function(a){this.W.setsPortSpot!==a&&(this.W.setsPortSpot=a,this.C())}},portSpot:{get:function(){return this.W.portSpot},set:function(a){this.W.portSpot.D(a)||(this.W.portSpot=a,this.C())}},setsChildPortSpot:{get:function(){return this.W.setsChildPortSpot},set:function(a){this.W.setsChildPortSpot!==a&&(this.W.setsChildPortSpot=a,this.C())}},childPortSpot:{get:function(){return this.W.childPortSpot},set:function(a){this.W.childPortSpot.D(a)||(this.W.childPortSpot=a,this.C())}},alternateSorting:{get:function(){return this.Y.sorting},set:function(a){this.Y.sorting===a||a!==zp&&a!==Im&&a!==Rm&&!Wm||(this.Y.sorting=a,this.C())}},alternateComparer:{get:function(){return this.Y.comparer},set:function(a){this.Y.comparer!==a&&(this.Y.comparer=a,this.C())}},alternateAngle:{get:function(){return this.Y.angle},set:function(a){this.Y.angle===a||a!==0&&a!==90&&a!==180&&a!==270||(this.Y.angle=a,this.C())}},alternateAlignment:{get:function(){return this.Y.alignment},set:function(a){this.Y.alignment!==a&&(this.Y.alignment=a,this.C())}},alternateNodeIndent:{get:function(){return this.Y.nodeIndent},set:function(a){this.Y.nodeIndent!==a&&0<=a&&(this.Y.nodeIndent=a,this.C())}},alternateNodeIndentPastParent:{get:function(){return this.Y.nodeIndentPastParent},set:function(a){this.Y.nodeIndentPastParent!==a&&0<=a&&1>=a&&(this.Y.nodeIndentPastParent=a,this.C())}},alternateNodeSpacing:{get:function(){return this.Y.nodeSpacing},set:function(a){this.Y.nodeSpacing!==a&&(this.Y.nodeSpacing=a,this.C())}},alternateLayerSpacing:{get:function(){return this.Y.layerSpacing},set:function(a){this.Y.layerSpacing!==a&&(this.Y.layerSpacing=a,this.C())}},alternateLayerSpacingParentOverlap:{get:function(){return this.Y.layerSpacingParentOverlap},set:function(a){this.Y.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.Y.layerSpacingParentOverlap=a,this.C())}},alternateCompaction:{get:function(){return this.Y.compaction},set:function(a){this.Y.compaction===a||a!==vv&&a!==jm||(this.Y.compaction=a,this.C())}},alternateBreadthLimit:{get:function(){return this.Y.breadthLimit},set:function(a){this.Y.breadthLimit!==a&&0<=a&&(this.Y.breadthLimit=a,this.C())}},alternateRowSpacing:{get:function(){return this.Y.rowSpacing},set:function(a){this.Y.rowSpacing!==a&&(this.Y.rowSpacing=a,this.C())}},alternateRowIndent:{get:function(){return this.Y.rowIndent},set:function(a){this.Y.rowIndent!==a&&0<=a&&(this.Y.rowIndent=a,this.C())}},alternateCommentSpacing:{get:function(){return this.Y.commentSpacing},set:function(a){this.Y.commentSpacing!==a&&(this.Y.commentSpacing=a,this.C())}},alternateCommentMargin:{get:function(){return this.Y.commentMargin},set:function(a){this.Y.commentMargin!==a&&(this.Y.commentMargin=a,this.C())}},alternateSetsPortSpot:{get:function(){return this.Y.setsPortSpot},set:function(a){this.Y.setsPortSpot!==a&&(this.Y.setsPortSpot=a,this.C())}},alternatePortSpot:{get:function(){return this.Y.portSpot},set:function(a){this.Y.portSpot.D(a)||(this.Y.portSpot=a,this.C())}},alternateSetsChildPortSpot:{get:function(){return this.Y.setsChildPortSpot},set:function(a){this.Y.setsChildPortSpot!==a&&(this.Y.setsChildPortSpot=a,this.C())}},alternateChildPortSpot:{get:function(){return this.Y.childPortSpot},set:function(a){this.Y.childPortSpot.D(a)||(this.Y.childPortSpot=a,this.C())}}});var mv=new sn(ko,"PathDefault",-1),ff=new sn(ko,"PathDestination",0),op=new sn(ko,"PathSource",1),zp=new sn(ko,"SortingForwards",10),Im=new sn(ko,"SortingReverse",11),Rm=new sn(ko,"SortingAscending",12),Wm=new sn(ko,"SortingDescending",13),Vp=new sn(ko,"AlignmentCenterSubtrees",20),ap=new sn(ko,"AlignmentCenterChildren",21),gf=new sn(ko,"AlignmentStart",22),pf=new sn(ko,"AlignmentEnd",23),Uf=new sn(ko,"AlignmentBus",24),mf=new sn(ko,"AlignmentBusBranching",25),Hf=new sn(ko,"AlignmentTopLeftBus",26),Ff=new sn(ko,"AlignmentBottomRightBus",27),vv=new sn(ko,"CompactionNone",30),jm=new sn(ko,"CompactionBlock",31),yv=new sn(ko,"StyleLayered",40),e1=new sn(ko,"StyleLastParents",41),t1=new sn(ko,"StyleAlternating",42),n1=new sn(ko,"StyleRootOnly",43),Sv=new sn(ko,"ArrangementVertical",50),i1=new sn(ko,"ArrangementHorizontal",51),xv=new sn(ko,"ArrangementFixedRoots",52),r1=new sn(ko,"LayerIndividual",60),o1=new sn(ko,"LayerSiblings",61),Ev=new sn(ko,"LayerUniform",62);ko.className="TreeLayout",ko.PathDefault=mv,ko.PathDestination=ff,ko.PathSource=op,ko.SortingForwards=zp,ko.SortingReverse=Im,ko.SortingAscending=Rm,ko.SortingDescending=Wm,ko.AlignmentCenterSubtrees=Vp,ko.AlignmentCenterChildren=ap,ko.AlignmentStart=gf,ko.AlignmentEnd=pf,ko.AlignmentBus=Uf,ko.AlignmentBusBranching=mf,ko.AlignmentTopLeftBus=Hf,ko.AlignmentBottomRightBus=Ff,ko.CompactionNone=vv,ko.CompactionBlock=jm,ko.StyleLayered=yv,ko.StyleLastParents=e1,ko.StyleAlternating=t1,ko.StyleRootOnly=n1,ko.ArrangementVertical=Sv,ko.ArrangementHorizontal=i1,ko.ArrangementFixedRoots=xv,ko.LayerIndividual=r1,ko.LayerSiblings=o1,ko.LayerUniform=Ev;function sp(a){as.call(this,a)}_t(sp,as),sp.prototype.createVertex=function(){return new Hd(this)},sp.prototype.createEdge=function(){return new _p(this)},sp.className="TreeNetwork";function Hd(a){ql.call(this,a),this.V=!1,this.hb=null,this.u=[],this.nb=this.Ha=this.F=this.ia=0,this.td=null,this.S=new Ze(0,0),this.Da=new pi(0,0),this.la=new Ze(0,0),this.im=this.hm=this.qA=!1,this.kp=this.Yo=null,this.nd=zp,this.hd=Ay,this.Kb=0,this.Jb=ap,this.Vq=this.Uq=0,this.Wq=20,this.ie=50,this.Aq=0,this.Hp=jm,this.Ap=0,this.nr=25,this.Gp=this.mr=10,this.Fp=20,this.xr=!0,this.dr=Zl,this.wr=!0,this.Dp=Zl}_t(Hd,ql),Hd.prototype.copyInheritedPropertiesFrom=function(a){a!==null&&(this.nd=a.sorting,this.hd=a.comparer,this.Kb=a.angle,this.Jb=a.alignment,this.Uq=a.nodeIndent,this.Vq=a.nodeIndentPastParent,this.Wq=a.nodeSpacing,this.ie=a.layerSpacing,this.Aq=a.layerSpacingParentOverlap,this.Hp=a.compaction,this.Ap=a.breadthLimit,this.nr=a.rowSpacing,this.mr=a.rowIndent,this.Gp=a.commentSpacing,this.Fp=a.commentMargin,this.xr=a.setsPortSpot,this.dr=a.portSpot,this.wr=a.setsChildPortSpot,this.Dp=a.childPortSpot)},Rt.Object.defineProperties(Hd.prototype,{initialized:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},parent:{get:function(){return this.hb},set:function(a){this.hb!==a&&(this.hb=a)}},children:{get:function(){return this.u},set:function(a){if(this.u!==a){if(a!==null)for(var y=a.length,x=0;xwe.y+x.rowIndent&&(z=Math.min(z,Math.max(ge.y,z-y.computeNodeIndent(x))))):x.alignment===gf?(z=E.top+b.y,b.y===0&&ge.ywe.x+x.rowIndent&&(z=Math.min(z,Math.max(ge.x,z-y.computeNodeIndent(x))))):x.alignment===gf?(z=E.left+b.x,b.x===0&&ge.xwe.y+x.rowIndent&&(z=Math.min(z,Math.max(ge.y,z-y.computeNodeIndent(x))))):x.alignment===gf?(z=E.top+b.y,b.y===0&&ge.ywe.x+x.rowIndent&&(z=Math.min(z,Math.max(ge.x,z-y.computeNodeIndent(x))))):x.alignment===gf?(z=E.left+b.x,b.x===0&&ge.x=0;Re--){var Ye=ye[Re](ve);if(Ye)return Ye}return function(Qe,ct){throw new Error("Invalid value of type "+typeof ve+" for "+be+" argument when connecting component "+ct.wrappedComponentName+".")}}function zt(ve,ye){return ve===ye}function $e(ve){var ye=ve===void 0?{}:ve,be=ye.connectHOC,Re=be===void 0?vn:be,Ye=ye.mapStateToPropsFactories,Qe=Ye===void 0?yi:Ye,ct=ye.mapDispatchToPropsFactories,vt=ct===void 0?rn:ct,Qt=ye.mergePropsFactories,bn=Qt===void 0?gn:Qt,pn=ye.selectorFactory,dn=pn===void 0?ii:pn;return function(Wn,Bi,Ar,Mr){Mr===void 0&&(Mr={});var Xr=Mr,bo=Xr.pure,Go=bo===void 0?!0:bo,zo=Xr.areStatesEqual,va=zo===void 0?zt:zo,ps=Xr.areOwnPropsEqual,Ks=ps===void 0?hi:ps,Hu=Xr.areStatePropsEqual,Is=Hu===void 0?hi:Hu,ju=Xr.areMergedPropsEqual,Ic=ju===void 0?hi:ju,Kc=(0,le.Z)(Xr,ni),xh=mn(Wn,Qe,"mapStateToProps"),Bd=mn(Bi,vt,"mapDispatchToProps"),pd=mn(Ar,bn,"mergeProps");return Re(dn,(0,kt.Z)({methodName:"connect",getDisplayName:function(Cu){return"Connect("+Cu+")"},shouldHandleStateChanges:!!Wn,initMapStateToProps:xh,initMapDispatchToProps:Bd,initMergeProps:pd,pure:Go,areStatesEqual:va,areOwnPropsEqual:Ks,areStatePropsEqual:Is,areMergedPropsEqual:Ic},Kc))}}var At=$e();function Yt(){var ve=useContext(ReactReduxContext);return ve}function Ie(ve){ve===void 0&&(ve=ReactReduxContext);var ye=ve===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ve)};return function(){var Re=ye(),Ye=Re.store;return Ye}}var Ce=null;function Ee(ve){ve===void 0&&(ve=ReactReduxContext);var ye=ve===ReactReduxContext?useDefaultStore:createStoreHook(ve);return function(){var Re=ye();return Re.dispatch}}var Te=null,Ue=function(ye,be){return ye===be};function Le(ve,ye,be,Re){var Ye=useReducer(function(Bi){return Bi+1},0),Qe=Ye[1],ct=useMemo(function(){return createSubscription(be,Re)},[be,Re]),vt=useRef(),Qt=useRef(),bn=useRef(),pn=useRef(),dn=be.getState(),cn;try{if(ve!==Qt.current||dn!==bn.current||vt.current){var Wn=ve(dn);pn.current===void 0||!ye(Wn,pn.current)?cn=Wn:cn=pn.current}else cn=pn.current}catch(Bi){throw vt.current&&(Bi.message+=` + "nodeParentKeyProperty": `+this.quote(this.nodeParentKeyProperty)),a+y},Be.gp=function(a){Ki.prototype.gp.call(this,a),a.nodeParentKeyProperty&&(this.nodeParentKeyProperty=a.nodeParentKeyProperty)},Be.fp=function(a){a.nodeParentKeyProperty!==void 0&&a.nodeParentKeyProperty!==this.nodeParentKeyProperty&&Et("applyIncrementalJson cannot change Model properties"),Ki.prototype.fp.call(this,a)},Be.Vl=function(a){return a},Be.mh=function(a){if(a!==null){var y=this.Ke;if(y!==""&&(y=hl(a,y),y!==void 0)){if(hg(y))return y;Et("ParentKey value for node data "+a+" is not a number or a string: "+y)}}},Be.qe=function(a,y){if(y===null&&(y=void 0),a!==null){var x=this.Ke;if(x!=="")if(y=this.Vl(y),this.lb(a)){var E=hl(a,x);E!==y&&(Fh(this,E,a),Es(a,x,y),this.hc(y)===null&&Ah(this,y,a),zl(this,"nodeParentKey",Un,x,a,E,y),typeof x=="string"&&this.La(a,x))}else Es(a,x,y)}},Be.ss=function(a){if(a===null)return"";var y=this.nj;return y===""||(y=hl(a,y),y===void 0)?"":typeof y=="string"?y:(Et("getParentLinkCategoryForNodeData found a non-string category for "+a+": "+y),"")},Cc.prototype.getLinkCategoryForData=function(a){return this.ss(a)},Cc.prototype.Ms=function(a,y){if(a!==null){var x=this.nj;if(x!=="")if(this.lb(a)){var E=hl(a,x);E===void 0&&(E=""),E!==y&&(Es(a,x,y),zl(this,"parentLinkCategory",Un,x,a,E,y),typeof x=="string"&&this.La(a,x))}else Es(a,x,y)}},Cc.prototype.setLinkCategoryForData=function(a,y){this.Ms(a,y)},Cc.prototype.copyNodeData=function(a){return a===null?null:(a=Ki.prototype.copyNodeData.call(this,a),this.Jj||this.Ke===""||hl(a,this.Ke)===void 0||Es(a,this.Ke,void 0),a)},Cc.prototype.setDataProperty=function(a,y,x){if(this.lb(a)){if(y===this.nodeKeyProperty){this.km(a,x);return}if(y===this.nodeCategoryProperty){this.jm(a,x);return}if(y===this.nodeParentKeyProperty){this.qe(a,x);return}}var E=hl(a,y);E!==x&&(Es(a,y,x),this.Fs(a,y,E,x))},Be=Cc.prototype,Be.jp=function(a,y){Ki.prototype.jp.call(this,a,y);for(var x=this.kb.iterator;x.next();)this.qv(x.value,a,y)},Be.qv=function(a,y,x){if(this.mh(a)===y){var E=this.Ke;Es(a,E,x),zl(this,"nodeParentKey",Un,E,a,y,x),typeof E=="string"&&this.La(a,E)}},Be.fm=function(a){Ki.prototype.fm.call(this,a),a=this.wa(a);var y=Pm(this,a);if(y!==null){var x=Ri();for(y=y.iterator;y.next();){var E=y.value;if(this.lb(E)&&this.mh(E)===a){var b=this.Ke;zl(this,"nodeParentKey",Un,b,E,a,a),typeof b=="string"&&this.La(E,b),x.push(E)}}for(y=0;y=a.count)a.count===1&&(a=a.first(),a.centerX=0,a.centerY=0);else{var y=new ln;y.addAll(a.iterator),a=new ln;var x=new ln,E=this.sort(y),b,z,ee=this.Jp,re=this.arrangement,oe=this.nodeDiameterFormula,se=this.radius;(!isFinite(se)||0>=se)&&(se=NaN);var ce=this.aspectRatio;(!isFinite(ce)||0>=ce)&&(ce=1);var ge=this.startAngle;isFinite(ge)||(ge=0);var Se=this.sweepAngle;if((!isFinite(Se)||360Se)&&(Se=360),y=this.spacing,isFinite(y)||(y=NaN),re===lh&&oe===np?re=sh:re===lh&&oe!==np&&(re=this.arrangement),(this.direction===Rg||this.direction===Op)&&this.sorting!==Ip){for(oe=0;!(oe>=E.length)&&(a.add(E.M(oe)),!(oe+1>=E.length));oe+=2)x.add(E.M(oe+1));this.direction===Rg?(this.arrangement===lh&&a.reverse(),E=new ln,E.addAll(a),E.addAll(x)):(this.arrangement===lh&&x.reverse(),E=new ln,E.addAll(x),E.addAll(a))}oe=E.length;for(var we=z=b=0;weSe&&(we===0||we===E.length-1)&&(Ne/=2),b+=Ne,z++}if(isNaN(se)||re===lh){if(isNaN(y)&&(y=6),re!==sh&&re!==lh){for(z=-1/0,ee=0;eese?(se=b,z=se*ce):ee=we/(360<=Se?oe:oe-1)}if(this.kw=re,this.lc=se,this.Zm=ce,this.lw=ge,this.Wp=Se,this.Ti=y,this.me=z,this.Jp=ee,y=E,E=this.kw,re=this.lc,se=this.lw,ce=this.Wp,ge=this.Ti,Se=this.me,oe=this.Jp,this.direction!==Rg&&this.direction!==Op||E!==lh)if(this.direction===Rg||this.direction===Op){switch(ee=0,E){case fg:ee=180*J0(this,re,Se,se,oe)/Math.PI;break;case sh:oe=y=0,ee=a.first(),ee!==null&&(y=pg(ee,Math.PI/2)),ee=x.first(),ee!==null&&(oe=pg(ee,Math.PI/2)),ee=180*J0(this,re,Se,se,ge+(y+oe)/2)/Math.PI;break;case Zf:ee=ce/y.length}if(this.direction===Rg){switch(E){case fg:bm(this,a,se,gg);break;case sh:Fm(this,a,se,gg);break;case Zf:Am(this,a,ce/2,se,gg)}switch(E){case fg:bm(this,x,se+ee,Ac);break;case sh:Fm(this,x,se+ee,Ac);break;case Zf:Am(this,x,ce/2,se+ee,Ac)}}else{switch(E){case fg:bm(this,x,se,gg);break;case sh:Fm(this,x,se,gg);break;case Zf:Am(this,x,ce/2,se,gg)}switch(E){case fg:bm(this,a,se+ee,Ac);break;case sh:Fm(this,a,se+ee,Ac);break;case Zf:Am(this,a,ce/2,se+ee,Ac)}}}else switch(E){case fg:bm(this,y,se,this.direction);break;case sh:Fm(this,y,se,this.direction);break;case Zf:Am(this,y,ce,se,this.direction);break;case lh:ZS(this,y,ce,se,this.direction)}else ZS(this,y,ce,se-ce/2,Ac)}this.updateParts(),this.network=null,this.isValidLayout=!0};function Am(a,y,x,E,b){var z=a.Wp,ee=a.lc;a=a.me,E=E*Math.PI/180,x=x*Math.PI/180;for(var re=y.length,oe=0;oex){for(z=E+(b===Ac?z:-z);0>z;)z+=360;z%=360,180=ce.length-1));ge++)KS(a,oe,se,ce,ge,b,z)||YS(a,oe,se,ce,ge,b,z),oe=z.x,se=z.y;if(Ze.free(z),a.mj++,!(23Math.abs(we)?Math.abs(oe-z)<(ce[0].width+ce[ce.length-1].width)/2&&(ee=0):ee=0Math.abs(Se)?0:Se,oe=Math.abs(z)>Math.abs(ge)?0ge:0a.mj?a.lc-ee/(2*Math.PI):5>ce.length&&10=ge.length-1));Se++)KS(a,oe,se,ge,Se,b,ce)||YS(a,oe,se,ge,Se,b,ce),oe=ce.x,se=ce.y;if(Ze.free(ce),a.mj++,!(23a.mj?a.lc-z/(2*Math.PI):a.lc-(0re){if(z=y-a,z<-re)return ee.x=z,ee.y=se,!1;ce=!0}}else if(z=y-a,z<-re){if(z=y+a,z>re)return ee.x=z,ee.y=se,!1;ce=!0}return se=Math.sqrt(1-Math.min(1,z*z/(re*re)))*oe,0>x!==ce&&(se=-se),Math.abs(x-se)>(E[b].height+E[b+1].height)/2?(ee.x=z,ee.y=se,!1):(ee.x=z,ee.y=se,!0)}function YS(a,y,x,E,b,z,ee){var re=a.lc,oe=a.me,se=0;if(a=(E[b].height+E[b+1].height)/2+a.Ti,E=!1,0<=y!=(z===Ac)){if(z=x-a,z<-oe){if(z=x+a,z>oe){ee.x=se,ee.y=z;return}E=!0}}else if(z=x+a,z>oe){if(z=x-a,z<-oe){ee.x=se,ee.y=z;return}E=!0}se=Math.sqrt(1-Math.min(1,z*z/(oe*oe)))*re,0>y!==E&&(se=-se),ee.x=se,ee.y=z}Rs.prototype.commitLayout=function(){this.commitNodes(),this.isRouting&&this.commitLinks()},Rs.prototype.commitNodes=function(){var a=this.group!==null&&this.group.placeholder!==null&&this.group.isSubGraphExpanded,y=a?this.group.location.copy():null,x=this.actualCenter;a?x=new Ze(0,0):(x.x=this.arrangementOrigin.x+this.lc,x.y=this.arrangementOrigin.y+this.me);for(var E=this.network.vertexes.iterator;E.next();){var b=E.value;b.x+=x.x,b.y+=x.y,b.commit()}a&&(this.group.Va(),a=this.group.position.copy(),x=this.group.location.copy(),y=y.re(x.re(a)),this.group.move(y),this.Zv=y.re(a))},Rs.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()};function Ty(a,y,x,E,b){var z=a.ty;if(.001>Math.abs(a.Zm-1))return E!==void 0&&b!==void 0?b*y:2*Math.PI*y;a=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x;for(var ee=0,re=E!==void 0&&b!==void 0?b/(z+1):Math.PI/(2*(z+1)),oe=0,se=0;se<=z;se++){E!==void 0&&b!==void 0?oe=E+se*b/z:oe=se*Math.PI/(2*z);var ce=Math.sin(oe);ee+=Math.sqrt(1-a*a*ce*ce)*re}return E!==void 0&&b!==void 0?(y>x?y:x)*ee:4*(y>x?y:x)*ee}function X0(a,y,x,E,b){return y/(E!==void 0&&b!==void 0?Ty(a,1,x,E,b):Ty(a,1,x))}function J0(a,y,x,E,b){if(.001>Math.abs(a.Zm-1))return b/y;var z=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x,ee=0;a=2*Math.PI/(700*a.network.vertexes.count),y>x&&(E+=Math.PI/2);for(var re=0;;re++){var oe=Math.sin(E+re*a);if(ee+=(y>x?y:x)*Math.sqrt(1-z*z*oe*oe)*a,ee>=b)return re*a}}Rs.prototype.sort=function(a){switch(this.sorting){case Q0:break;case q0:a.reverse();break;case $0:a.sort(this.comparer);break;case ev:a.sort(this.comparer),a.reverse();break;case Ip:return this.ak(Zx(a));default:Et("Invalid sorting type.")}return a};function Zx(a){for(var y=[],x=0;xb&&(b=re,z=ee)}else for(ee=0;eeb&&(b=re,z=ee);for(x.add(a.M(z)),y[z]=-1,z=a.M(z),ee=z.sourceEdges;ee.next();)b=a.indexOf(ee.value.fromVertex),0>b||0<=y[b]&&y[b]++;for(z=z.destinationEdges;z.next();)b=a.indexOf(z.value.toVertex),0>b||0<=y[b]&&y[b]++}return x}Rs.prototype.ak=function(a){for(var y=[],x=0;xy[x].indexOf(b)&&y[x].push(b);for(E=E.sourceEdges;E.next();)b=a.indexOf(E.value.fromVertex),b!==x&&0>y[x].indexOf(b)&&y[x].push(b)}for(z=[],x=0;xy[x[Fe]].indexOf(x[Fe===x.length-1?0:Fe+1])&&we.push(Fe===x.length-1?0:Fe+1);if(we.length===0)for(Fe=0;Fex.indexOf(Kt)||Ctx.indexOf(Kt)||Ct=Ne?Ct+1:Ct)),Ge+=Ct=Ne&&Ct++,at>=Ne&&at++,Ct>at&&(ft=at,at=Ct,Ct=ft),at-Ct<(x.length+2)/2==(Ctwe||we===ce||(Fe=we>ce?we-ce:ce-we,ge+=weee-Fe?1:-1);x.splice(0>ge?ce:ce+1,0,oe),E.splice(re,1),re--}else z=!1;if(z)break;x.push(E[0]),E.splice(0,1)}for(y=0;y=a?this.ul=a:this.ul=360,this.C())}},arrangement:{get:function(){return this.Rb},set:function(a){this.Rb===a||a!==lh&&a!==sh&&a!==fg&&a!==Zf||(this.Rb=a,this.C())}},direction:{get:function(){return this.K},set:function(a){this.K===a||a!==Ac&&a!==gg&&a!==Rg&&a!==Op||(this.K=a,this.C())}},sorting:{get:function(){return this.nd},set:function(a){this.nd===a||a!==Q0&&a!==q0&&a!==$0&&!ev&&a!==Ip||(this.nd=a,this.C())}},comparer:{get:function(){return this.hd},set:function(a){this.hd!==a&&(this.hd=a,this.C())}},spacing:{get:function(){return this.tf},set:function(a){this.tf!==a&&(this.tf=a,this.C())}},nodeDiameterFormula:{get:function(){return this.Nn},set:function(a){this.Nn===a||a!==tv&&a!==np||(this.Nn=a,this.C())}},actualXRadius:{get:function(){return this.lc}},actualYRadius:{get:function(){return this.me}},actualSpacing:{get:function(){return this.Ti}},actualCenter:{get:function(){return this.Zv}}});var sh=new sn(Rs,"ConstantSpacing",0),fg=new sn(Rs,"ConstantDistance",1),Zf=new sn(Rs,"ConstantAngle",2),lh=new sn(Rs,"Packed",3),Ac=new sn(Rs,"Clockwise",4),gg=new sn(Rs,"Counterclockwise",5),Rg=new sn(Rs,"BidirectionalLeft",6),Op=new sn(Rs,"BidirectionalRight",7),Q0=new sn(Rs,"Forwards",8),q0=new sn(Rs,"Reverse",9),$0=new sn(Rs,"Ascending",10),ev=new sn(Rs,"Descending",11),Ip=new sn(Rs,"Optimized",12),tv=new sn(Rs,"Pythagorean",13),np=new sn(Rs,"Circular",14);Rs.className="CircularLayout",Rs.ConstantSpacing=sh,Rs.ConstantDistance=fg,Rs.ConstantAngle=Zf,Rs.Packed=lh,Rs.Clockwise=Ac,Rs.Counterclockwise=gg,Rs.BidirectionalLeft=Rg,Rs.BidirectionalRight=Op,Rs.Forwards=Q0,Rs.Reverse=q0,Rs.Ascending=$0,Rs.Descending=ev,Rs.Optimized=Ip,Rs.Pythagorean=tv,Rs.Circular=np;function Bm(){this.Pl=-1/0,this.tm=this.mk=null}Bm.prototype.compare=function(a,y){if(0this.Pl||Math.abs(a)a&&0re?(b=Se.x+Se.width/2,z=Se.y+Se.height/2,se[0]=new Ze(Se.x+Se.width+E.width,Se.y),se[1]=new Ze(Se.x,Se.y+Se.height+E.height),re=2):(oe=JS(se,re,b,z,Se.width,Se.height,E),ge=se[oe],we=new Ze(ge.x+Se.width+E.width,ge.y),Se=new Ze(ge.x,ge.y+Se.height+E.height),oe+1this.network.vertexes.count)return!1;for(var a=0,y=0,x=this.network.vertexes.first().bounds,E=this.network.vertexes.iterator;E.next();){if(E.value.bounds.Yc(x)&&(a++,2a.network.vertexes.count)return!1;for(a.ah=a.network.vertexes.Fa(),a=a.ah,a.sort(function(x,E){return x===null||E===null||x===E?0:E.Vd-x.Vd}),y=a.length-1;0<=y&&1>=a[y].Vd;)y--;return 1=ee))){for(var se=re=0,ce=oe.count-ee;cewe&&(we=1),re=Bt.sqrt((re+we+se*se*4/(ee*ee))/we),ee=(re-1)*ce/2,re=(re-1)*ge/2,b.bounds=new rn(z-Se.x-ee,oe-Se.y-re,ce+2*ee,ge+2*re),b.focus=new Ze(Se.x+ee,Se.y+re)}}return a.network=E,x}function Kx(a,y){for(var x=a.network.vertexes.iterator;x.next();){var E=x.value;if(E.network=y,E.We!==null){var b=E.We.M(E.sv);E.Vd=b.Rs;var z=b.Sv,ee=b.Tv;E.bounds=new rn(E.centerX-z,E.centerY-ee,b.Ss,b.Qs),E.focus=new Ze(z,ee),E.sv--}}for(x=a.network.edges.iterator;x.next();)x.value.network=y;a.network=y}function Yx(a,y){var x=y.Hj;if(x!==null&&x.count!==0){var E=y.centerX,b=y.centerY,z=y.width,ee=y.height;y.We!==null&&0=ge.Vd?oe++:(re=!0,se++,ee+=Math.atan2(y.centerY-ge.centerY,y.centerX-ge.centerX))}if(oe!==0){for(0>1)+se)*(re%2===0?1:-1),oe.centerX=E+ce*Math.cos(ge),oe.centerY=b+ce*Math.sin(ge),re++}}}}function JS(a,y,x,E,b,z,ee){var re=9e19,oe=-1,se=0;e:for(;sece.y&&a[Se].x-ce.xce.x&&a[Se].y-ce.yy+z?(x=E+b-ee,a=a-y-z,Bt.sqrt(x*x+a*a)):a+xee+re?a>y+z?(x=E-ee-re,a=a-y-z,Bt.sqrt(x*x+a*a)):a+xy+z?a-(y+z):a+x=y.length)return!1;var x=y[0];x.forceX=0,x.forceY=0;for(var E=x.centerX,b=E,z=x=x.centerY,ee=1;eez-x)?y.sort(function(Ne,Je){return Ne===null||Je===null||Ne===Je?0:Ne.centerX-Je.centerX}):y.sort(function(Ne,Je){return Ne===null||Je===null||Ne===Je?0:Ne.centerY-Je.centerY}),x=a.Zf;var se=E=re=0;for(z=0;zx||se-oe>x){if(b)break}else if(ce-we>x||we-ce>x){if(!b)break}else{var Fe=QS(ee,Se);1>Fe?(E=a.randomNumberGenerator,E===null&&(a.randomNumberGenerator=E=new iv),Fe=E.random(),re=E.random(),oe>se?(E=Math.abs(Se.bounds.right-ee.bounds.x),E=(1+E)*Fe):oewe?(se=Math.abs(Se.bounds.bottom-ee.bounds.y),se=(1+se)*re):oege?(ge=a.randomNumberGenerator,ge===null&&(a.randomNumberGenerator=ge=new iv),re=ge.random(),ge=ge.random(),E=(E>oe?1:-1)*(1+(z.width>x.width?z.width:x.width))*re,se=(ee>ce?1:-1)*(1+(z.height>x.height?z.height:x.height))*ge):(re=re.stiffness*(ge-re.length),E=(oe-E)/ge*re,se=(ce-ee)/ge*re),x.forceX+=E,x.forceY+=se,z.forceX-=E,z.forceY-=se;for(b=E=0;ba.epsilonDistance*a.epsilonDistance}Ku.prototype.moveVertex=function(a){var y=a.forceX,x=a.forceY,E=this.moveLimit;return y<-E?y=-E:y>E&&(y=E),x<-E?x=-E:x>E&&(x=E),a.centerX+=y,a.centerY+=x,y*y+x*x},Ku.prototype.moveFixedVertex=function(){},Ku.prototype.commitLayout=function(){this.yv(),this.commitNodes(),this.isRouting&&this.commitLinks()},Ku.prototype.yv=function(){if(this.setsPortSpots)for(var a=this.network.edges.iterator;a.next();){var y=a.value.link;y!==null&&(y.fromSpot=Zl,y.toSpot=Zl)}},Ku.prototype.commitNodes=function(){var a=0,y=0;if(this.arrangesToOrigin){var x=rn.alloc();this.computeBounds(this.network,x),y=this.arrangementOrigin,a=y.x-x.x,y=y.y-x.y,rn.free(x)}x=rn.alloc();for(var E=this.network.vertexes.iterator;E.next();){var b=E.value;(a!==0||y!==0)&&(x.assign(b.bounds),x.x+=a,x.y+=y,b.bounds=x),b.commit()}rn.free(x)},Ku.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()},Ku.prototype.springStiffness=function(a){return a=a.stiffness,isNaN(a)?this.Hk:a},Ku.prototype.springLength=function(a){return a=a.length,isNaN(a)?this.Gk:a},Ku.prototype.electricalCharge=function(a){return a=a.charge,isNaN(a)?this.Ek:a},Ku.prototype.electricalFieldX=function(){return 0},Ku.prototype.electricalFieldY=function(){return 0},Ku.prototype.gravitationalMass=function(a){return a=a.mass,isNaN(a)?this.Fk:a},Ku.prototype.gravitationalFieldX=function(){return 0},Ku.prototype.gravitationalFieldY=function(){return 0},Ku.prototype.isFixed=function(a){return a.isFixed},Rt.Object.defineProperties(Ku.prototype,{currentIteration:{get:function(){return this.An}},arrangementSpacing:{get:function(){return this.$d},set:function(a){this.$d.D(a)||(this.$d.assign(a),this.C())}},arrangesToOrigin:{get:function(){return this.Bm},set:function(a){this.Bm!==a&&(this.Bm=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},comments:{get:function(){return this.td},set:function(a){this.td!==a&&(this.td=a,this.C())}},maxIterations:{get:function(){return this.dl},set:function(a){this.dl!==a&&0<=a&&(this.dl=a,this.C())}},epsilonDistance:{get:function(){return this.$m},set:function(a){this.$m!==a&&0Ne&&0Ne&&0a[this.Md]&&(this.Iq=a[x]-1,this.Md=x),a[x]ee)for(var ce=ee+1;ceoe;ce--)ge=E[ce],ge.near===se&&ge.Dj===se.Dj||re++;var Se;if(0<=x)for(oe=E[ee].sourceEdgesArrayAccess,se=0;seNe||ge===Ne&&we>Fe)&&re++,Jege||Ne===ge&&Fe>we)&&re++}}}if(0>=x){for(oe=E[ee].destinationEdgesArrayAccess,se=0;seNe||ge===Ne&&ce>Je)&&re++,Fege||Ne===ge&&Je>ce)&&re++)}for(z[ee*b+ee]=re,oe=ee+1;oe=x){for(re=E[ee].destinationEdgesArrayAccess,at=E[oe].destinationEdgesArrayAccess,se=0;se=x&&(oe=re.sourceEdgesArrayAccess);var se=null;0<=x&&(se=re.destinationEdgesArrayAccess);var ce=0,ge=0,Se=re.near;if(Se!==null&&Se.layer===re.layer&&(ce+=Se.column-1,ge++),oe!==null)for(Se=0;Se=x&&(oe=re.sourceEdgesArrayAccess);var se=null;0<=x&&(se=re.destinationEdgesArrayAccess);var ce=0,ge=[],Se=re.near;if(Se!==null&&Se.layer===re.layer&&(ge[ce]=Se.column-1,ce++),re=void 0,oe!==null)for(Se=0;Se>1,z[ee]=ce&1?ge[se]:ge[se-1]+ge[se]>>1)}return vg(a,y,E),z}function km(a,y,x,E,b,z){if(y.component===E){if(y.component=x,b)for(var ee=y.destinationEdges;ee.next();){var re=ee.value,oe=re.toVertex,se=y.layer-oe.layer;re=a.linkMinLength(re),se===re&&km(a,oe,x,E,b,z)}if(z)for(ee=y.sourceEdges;ee.next();)re=ee.value,oe=re.fromVertex,se=oe.layer-y.layer,re=a.linkMinLength(re),se===re&&km(a,oe,x,E,b,z)}}function Ry(a,y,x,E,b,z){if(y.component===E){if(y.component=x,b)for(var ee=y.destinationEdges;ee.next();)Ry(a,ee.value.toVertex,x,E,b,z);if(z)for(y=y.sourceEdges;y.next();)Ry(a,y.value.fromVertex,x,E,b,z)}}ba.prototype.removeCycles=function(){for(var a=this.network.edges.iterator;a.next();)a.value.rev=!1;switch(this.Dk){default:case zy:a=this.network;var y=0,x=a.vertexes.count-1,E=[];E.length=x+1;for(var b=a.vertexes.iterator;b.next();)b.value.valid=!0;for(;Jx(a)!==null;){for(b=nx(a);b!==null;)E[x]=b,x--,b.valid=!1,b=nx(a);for(b=ix(a);b!==null;)E[y]=b,y++,b.valid=!1,b=ix(a);b=null;for(var z=0,ee=this.network.vertexes.iterator;ee.next();){var re=ee.value;if(re.valid){for(var oe=0,se=re.destinationEdges;se.next();)se.value.toVertex.valid&&oe++;se=0;for(var ce=re.sourceEdges;ce.next();)ce.value.fromVertex.valid&&se++;(b===null||zy.toVertex.index&&(a.gm(y),y.rev=!0);break;case lv:for(E=this.network.vertexes.iterator;E.next();)a=E.value,a.Ll=-1,a.finish=-1;for(a=this.network.edges.iterator;a.next();)a.value.forest=!1;for(this.Kn=0,E.reset();E.next();)y=E.value,y.sourceEdges.count===0&&Wy(this,y);for(E.reset();E.next();)y=E.value,y.Ll===-1&&Wy(this,y);for(a.reset();a.next();)E=a.value,E.forest||(y=E.fromVertex,x=y.finish,b=E.toVertex,z=b.finish,b.LlE){if(0>E)for(y.reset();y.next();)y.value.layer-=E;for(E=[],y.reset();y.next();)x=y.value,b=E[x.layer],b===void 0?E[x.layer]=[x]:b.push(x);for(x=y=0;xee&&km(a,re,0,-1,!0,!1)}for(km(a,y,1,-1,!0,!0);y.component!==0;){for(z=0,E=1/0,re=0,oe=null,ee=a.network.vertexes.iterator;ee.next();){var se=ee.value;if(se.component===1){var ce=0,ge=!1,Se=se.sourceEdgesArrayAccess;b=Se.length;for(var we=0;wez)&&!ce&&(re=ee,z=se)}if(0>E){for(x.reset();x.next();)E=x.value,E.component===1&&(E.layer-=b);y.component=0}else re.component=0}}}function lx(a,y,x){return a.K===90?x&&!y.rev||!x&&y.rev?270:90:a.K===180?x&&!y.rev||!x&&y.rev?0:180:a.K===270?x&&!y.rev||!x&&y.rev?90:270:x&&!y.rev||!x&&y.rev?180:0}ba.prototype.initializeIndices=function(){switch(this.Qk){default:case Zy:for(var a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;y.index=this.tc[x],this.tc[x]++}break;case cv:for(a=this.network.vertexes.iterator,y=this.Ia;0<=y;y--)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&ux(this,x);break;case Gy:for(a=this.network.vertexes.iterator,y=0;y<=this.Ia;y++)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&cx(this,x)}};function ux(a,y){var x=y.layer;for(y.index=a.tc[x],a.tc[x]++,y=y.destinationEdgesArrayAccess,x=!0;x;){x=!1;for(var E=0;Ez.portFromColOffset&&(x=!0,y[E]=z,y[E+1]=b)}}for(x=0;xz.portToColOffset&&(E=!0,y[x]=z,y[x+1]=b)}for(x=0;x=ee;E--)z=Ud(this,E,-1)||z;for(b=this.countCrossings(),b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=x;E>=ee;E--)z=Ud(this,E,1)||z;for(b=this.countCrossings(),b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=ee;E<=x;E++)z=Ud(this,E,1)||z;for(b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=ee;E<=x;E++)z=Ud(this,E,-1)||z;for(b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=x;E>=ee;E--)z=Ud(this,E,0)||z;for(b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=ee;E<=x;E++)z=Ud(this,E,0)||z;b>=a?kd(this,y):(a=b,y=zc(this))}break;default:case dv:for(x=this.Ia,ee=0,re=a+1;(E=this.countCrossings())=ee;E--)z=Ud(this,E,-1)||z;for(b=this.countCrossings(),b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=x;E>=ee;E--)z=Ud(this,E,1)||z;for(b=this.countCrossings(),b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=ee;E<=x;E++)z=Ud(this,E,1)||z;for(b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=ee;E<=x;E++)z=Ud(this,E,-1)||z;for(b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=x;E>=ee;E--)z=Ud(this,E,0)||z;for(b>=a?kd(this,y):(a=b,y=zc(this)),z=!0;z;)for(z=!1,E=ee;E<=x;E++)z=Ud(this,E,0)||z;b>=a?kd(this,y):(a=b,y=zc(this))}}kd(this,y)};function ov(a,y,x){var E=mg(a,y),b=a.tc[y],z=tx(a,y,x),ee=Iy(a,y,x);for(x=0;xz+1&&(Se+=4*(nt-z),we+=4*(nt-(z+1)))}for(ft=E[z].destinationEdges.iterator,ft.reset();ft.next();)if(nt=ft.value,at=nt.toVertex,nt.valid&&at.layer===y){for(nt=0;E[nt]!==at;)nt++;nt===z+1&&(we+=1)}for(ft=E[z+1].sourceEdges.iterator,ft.reset();ft.next();)if(nt=ft.value,at=nt.fromVertex,nt.valid&&at.layer===y){for(nt=0;E[nt]!==at;)nt++;ntz+1&&(Se+=4*(nt-(z+1)),we+=4*(nt-z))}for(ft=E[z+1].destinationEdges.iterator,ft.reset();ft.next();)if(nt=ft.value,at=nt.toVertex,nt.valid&&at.layer===y){for(nt=0;E[nt]!==at;)nt++;nt===z&&(Se+=1)}nt=at=0,ft=ee[E[z].index];var Ct=re[E[z].index],Kt=ee[E[z+1].index],Pi=re[E[z+1].index];ft!==-1&&(at+=Math.abs(ft-Fe),nt+=Math.abs(ft-Ge)),Ct!==-1&&(at+=Math.abs(Ct-Fe),nt+=Math.abs(Ct-Ge)),Kt!==-1&&(at+=Math.abs(Kt-Ne),nt+=Math.abs(Kt-Je)),Pi!==-1&&(at+=Math.abs(Pi-Ne),nt+=Math.abs(Pi-Je)),(we>1)+8*E;this.Ra*=8}if(this.bg&2)for(x=!0;x;){for(x=!1,y=this.Md+1;y<=this.Ia;y++)x=Wp(this,y,1)||x;for(y=this.Md-1;0<=y;y--)x=Wp(this,y,-1)||x;x=Wp(this,this.Md,0)||x}if(this.bg&4){for(y=this.Md+1;y<=this.Ia;y++)jy(this,y,1);for(y=this.Md-1;0<=y;y--)jy(this,y,-1);jy(this,this.Md,0)}if(a&&(dx(this,-1),dx(this,1)),this.bg&2)for(x=!0;x;){for(x=!1,x=Wp(this,this.Md,0)||x,y=this.Md+1;y<=this.Ia;y++)x=Wp(this,y,0)||x;for(y=this.Md-1;0<=y;y--)x=Wp(this,y,0)||x}}else e5(this)};function Wp(a,y,x){for(var E=!1;Qx(a,y,x);)E=!0;return E}function Qx(a,y,x){var E,b=mg(a,y),z=a.tc[y],ee=Iy(a,y,-1);if(0x)for(E=0;EE-1||ce-b[E-1].column-1>ge+a.nodeMinColumnSpace(b[E-1],!1)?we=ce-1:we=ce,ge=E+1>=z||b[E+1].column-ce-1>Se+a.nodeMinColumnSpace(b[E+1],!0)?ce+1:ce;var Fe=Se=0,Ne=0;if(0>=x)for(var Je=b[E].sourceEdges.iterator;Je.next();){var Ge=Je.value,nt=Ge.fromVertex;if(Ge.valid&&nt.layer!==y){var at=Oy(Ge),ft=Ge.portFromColOffset;Ge=Ge.portToColOffset,nt=nt.column,Se+=(Math.abs(ce+Ge-(nt+ft))+1)*at,Fe+=(Math.abs(we+Ge-(nt+ft))+1)*at,Ne+=(Math.abs(ge+Ge-(nt+ft))+1)*at}}if(0<=x)for(Je=b[E].destinationEdges.iterator;Je.next();)Ge=Je.value,nt=Ge.toVertex,Ge.valid&&nt.layer!==y&&(at=Oy(Ge),ft=Ge.portFromColOffset,Ge=Ge.portToColOffset,nt=nt.column,Se+=(Math.abs(ce+ft-(nt+Ge))+1)*at,Fe+=(Math.abs(we+ft-(nt+Ge))+1)*at,Ne+=(Math.abs(ge+ft-(nt+Ge))+1)*at);Ge=ft=at=0,Je=ee[b[E].index],nt=re[b[E].index],Je!==-1&&(at+=Math.abs(Je-ce),ft+=Math.abs(Je-we),Ge+=Math.abs(Je-ge)),nt!==-1&&(at+=Math.abs(nt-ce),ft+=Math.abs(nt-we),Ge+=Math.abs(nt-ge)),Fe=ee[x]?ce=oe:se<=ee[x]&&(ce=se));ce!==re&&(z=!0,E[x].column=ce)}vg(a,y,E),a.normalize()}function qx(a,y){for(var x=!0,E=a.network.vertexes.iterator;E.next();){var b=E.value,z=a.nodeMinColumnSpace(b,!0),ee=a.nodeMinColumnSpace(b,!1);if(b.column-z<=y&&b.column+ee>=y){x=!1;break}}if(a=!1,x)for(E.reset();E.next();)x=E.value,x.column>y&&(--x.column,a=!0);return a}function $x(a,y){var x=y+1,E,b=[],z=[];for(E=0;E<=a.Ia;E++)b[E]=!1,z[E]=!1;for(var ee=a.network.vertexes.iterator;ee.next();){E=ee.value;var re=E.column-a.nodeMinColumnSpace(E,!0),oe=E.column+a.nodeMinColumnSpace(E,!1);re<=y&&oe>=y&&(b[E.layer]=!0),re<=x&&oe>=x&&(z[E.layer]=!0)}for(re=!0,x=!1,E=0;E<=a.Ia;E++)re=re&&!(b[E]&&z[E]);if(re)for(ee.reset();ee.next();)a=ee.value,a.column>y&&(--a.column,x=!0);return x}function dx(a,y){for(var x=0;x<=a.Ra;x++)for(;qx(a,x););for(a.normalize(),x=0;xz?kd(a,b):eey)for(x=a.Ra;0<=x;x--)for(b=zc(a),z=rv(a),E=z+1;zz?kd(a,b):eex)for(E.reset();E.next();)b=E.value,b.column+a.nodeMinColumnSpace(b,!1)>=y&&(b.component=a.le);for(a.le++,E.reset();E.next();)y=E.value,y.component===-1&&(Ry(a,y,a.le,-1,!0,!0),a.le++);var z;for(y=[],z=0;zx)for(ee=a.Ra;0x)for(E.reset();E.next();)x=E.value,b[x.component]&&(x.column+=1)}function e5(a){for(var y=Ri(),x=a.fl.length,E=0;E<=x;E++)y[E]=[];for(E=a.network.vertexes.iterator;E.next();){var b=E.value;y[x-b.layer][b.index]=b}x=new Rn,t5(y,x);var z=null,ee=null,re=null,oe=null,se=(a.ve&1)!==0,ce=(a.ve&2)!==0,ge=(a.ve&4)!==0,Se=(a.ve&8)!==0;for(se&&(a.verticalAlignment(y,x,!0),z=av(a,y,!0,!1)),y.reverse(),ge&&(a.verticalAlignment(y,x,!1),re=av(a,y,!1,!1)),E=to(y),b=E.next();!b.done;b=E.next())b.value.reverse();Se&&(a.verticalAlignment(y,x,!1),oe=av(a,y,!1,!0)),y.reverse(),ce&&(a.verticalAlignment(y,x,!0),ee=av(a,y,!0,!0)),si(y),a.u(z,ee,re,oe),a.network.vertexes.each(function(we){var Fe=Ri();se&&Fe.push(z.get(we)),ce&&Fe.push(ee.get(we)),ge&&Fe.push(re.get(we)),Se&&Fe.push(oe.get(we)),Fe.sort(function(Je,Ge){return Je-Ge});var Ne=Fe.length;Ne=(Fe[Math.floor((Ne-1)/2)]+Fe[Math.ceil((Ne-1)/2)])/2,si(Fe),we.zc=Ne})}function t5(a,y){for(var x=a.length,E=1;Ece)&&y.add(ge);z++}b=ce}}}ba.prototype.verticalAlignment=function(a,y,x){n5(a),a=to(a);for(var E=a.next();!E.done;E=a.next()){var b=-1;E=to(E.value);for(var z=E.next();!z.done;z=E.next()){z=z.value;var ee=x?Ky(z):o5(z),re=ee.length;if(0=y[x].length)&&(ee=y[x][0],ee.sd===ee)){ee.sd.shift===1/0&&(ee.sd.shift=0),ee=x,re=0;do{for(z=y[ee][re];z.align!==z.root;)z=z.align,ee++,0a&&Et("Could not determine previous vertex in layer"),y[x][a-1]}ba.prototype.u=function(a){for(var y=[],x=0;xee;ee++)if(y[ee]){var re=i5(this,y[ee],E,b,ee);reee;z={delta:z.delta},ee++)y[ee]&&(z.delta=ee===0||ee===2?E[x]-E[ee]:b[x]-b[ee],z.delta!==0&&y[ee].each(function(oe){return function(se){se.value+=oe.delta}}(z)));si(E),si(b)};function i5(a,y,x,E,b){if(!y||y.count===0)return x[b]=0,E[b]=0,1/0;var z=1/0,ee=-1/0;return y.each(function(re){var oe=re.key;re=re.value,oe=a.K===90||a.K===270?oe.width:oe.height,reee&&(ee=re+oe)}),x[b]=z,E[b]=ee,ee-z}ba.prototype.commitLayout=function(){if(this.setsPortSpots)for(var a=sv(this,!0),y=sv(this,!1),x=this.network.edges.iterator;x.next();){var E=x.value.link;E!==null&&(E.fromSpot=a,E.toSpot=y)}this.commitNodes(),this.Gu(),this.isRouting&&this.commitLinks()};function sv(a,y){return a.K===270?y?Vu:ou:a.K===90?y?ou:Vu:a.K===180?y?_u:ul:y?ul:_u}ba.prototype.commitNodes=function(){this.he=[],this.Ld=[],this.Kd=[],this.Ta=[];for(var a=0;a<=this.Ia;a++)this.he[a]=0,this.Ld[a]=0,this.Kd[a]=0,this.Ta[a]=0;for(a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;this.he[x]=Math.max(this.he[x],this.nodeMinLayerSpace(y,!0)),this.Ld[x]=Math.max(this.Ld[x],this.nodeMinLayerSpace(y,!1))}y=0,x=this.ie;for(var E=0;E<=this.Ia;E++){var b=x;0>=this.he[E]+this.Ld[E]&&(b=0),0=ge.bounds.bottom?(ge=ge.bounds.y+ge.bounds.height,y.m(Ne++,ft,ge+Kt),y.m(Ne++,ft,ge),y.m(Ne++,ft,ge-at)):(y.m(Ne++,ft,Ct+Kt),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct-at)):this.K===270?Ct<=ge.bounds.y?(ge=ge.bounds.y,y.m(Ne++,ft,ge-at),y.m(Ne++,ft,ge),y.m(Ne++,ft,ge+Kt)):(y.m(Ne++,ft,Ct-at),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct+Kt)):this.K===0&&(ft>=ge.bounds.right?(ge=ge.bounds.x+ge.bounds.width,y.m(Ne++,ge+Kt,Ct),y.m(Ne++,ge,Ct),y.m(Ne++,ge-at,Ct)):(y.m(Ne++,ft+Kt,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft-at,Ct)));else{y.m(Ne++,Ge,nt);var Pi=0;this.K===180||this.K===0?((this.K===180?ft>=ge.bounds.right:ft<=ge.bounds.x)&&(Pi=(this.K===0?-at:Kt)/2),y.m(Ne++,Ge+Pi,Ct)):((this.K===270?Ct>=ge.bounds.bottom:Ct<=ge.bounds.y)&&(Pi=(this.K===90?-at:Kt)/2),y.m(Ne++,ft,nt+Pi)),y.m(Ne++,ft,Ct)}}else at=Math.max(10,this.he[Je.layer]),Kt=Math.max(10,this.Ld[Je.layer]),Se?this.K===180?(y.m(Ne++,ft-at-Fe,Ct),y.m(Ne++,Math.min(ft-at+Fe/2,ft),Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,Math.max(ft+Kt-Fe/2,ft),Ct),y.m(Ne++,ft+Kt+Fe,Ct)):this.K===90?(y.m(Ne++,ft,Ct+Kt+Fe),y.m(Ne++,ft,Math.max(Ct+Kt-Fe/2,Ct)),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Math.min(Ct-at+Fe/2,Ct)),y.m(Ne++,ft,Ct-at-Fe)):this.K===270?(y.m(Ne++,ft,Ct-at-Fe),y.m(Ne++,ft,Math.min(Ct-at+Fe/2,Ct)),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Math.max(Ct+Kt-Fe/2,Ct)),y.m(Ne++,ft,Ct+Kt+Fe)):(y.m(Ne++,ft+Kt+Fe,Ct),y.m(Ne++,Math.max(ft+Kt-Fe/2,ft),Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,Math.min(ft-at+Fe/2,ft),Ct),y.m(Ne++,ft-at-Fe,Ct)):y.m(Ne++,ft,Ct)}ge=Je}(re===null||se!==il||we)&&(Ge=y.i(Ne-1).x,nt=y.i(Ne-1).y,ft=y.i(Ne).x,Ct=y.i(Ne).y,we?(Fe=this.Ld[ce.layer],this.K===180||this.K===0?(we=nt,we>=ce.bounds.y&&we<=ce.bounds.bottom&&(this.K===180?ft>=ce.bounds.x:ft<=ce.bounds.right)&&(ge=ce.centerX+(this.K===180?-Fe:Fe),we=ce.bounds.x&&we<=ce.bounds.right&&(this.K===270?Ct>=ce.bounds.y:Ct<=ce.bounds.bottom)&&(ge=ce.centerY+(this.K===270?-Fe:Fe),we=ce.bounds.x?(ge=ce.bounds.x+ce.bounds.width,y.L(Ne-2,ge,nt),y.L(Ne-1,ge+Kt,nt)):this.K===90&&Ct<=ce.bounds.bottom?(ge=ce.bounds.y,y.L(Ne-2,Ge,ge),y.L(Ne-1,Ge,ge-at)):this.K===270&&Ct>=ce.bounds.y?(ge=ce.bounds.y+ce.bounds.height,y.L(Ne-2,Ge,ge),y.L(Ne-1,Ge,ge+Kt)):this.K===0&&ft<=ce.bounds.right&&(ge=ce.bounds.x,y.L(Ne-2,ge,nt),y.L(Ne-1,ge-at,nt))):(at=Math.max(10,this.he[ce.layer]),Kt=Math.max(10,this.Ld[ce.layer]),we=0,this.K===180||this.K===0?((this.K===180?ft<=ce.bounds.x:ft>=ce.bounds.right)&&(we=(this.K===0?Kt:-at)/2),y.m(Ne++,ft+we,nt)):((this.K===270?Ct<=ce.bounds.y:Ct>=ce.bounds.bottom)&&(we=(this.K===90?Kt:-at)/2),y.m(Ne++,Ge,Ct+we)),y.m(Ne++,ft,Ct)))}else{for(;ce!==null&&ce!==ge;){for(at=Je=null,ce=ce.destinationEdges.iterator;ce.next()&&(Ge=ce.value,Ge.link!==x.link||(Je=Ge.toVertex,at=Ge.fromVertex,at.node!==null&&(at=null),Je.node!==null)););if(Je===null)break;Je!==ge&&(Ge=y.i(Ne-1).x,nt=y.i(Ne-1).y,ft=Je.centerX,Ct=Je.centerY,we?this.K===180||this.K===0?(at!==null?at.centerY:nt)!==Ct&&(at=this.Ta[Je.layer]+this.Rf.x,Ne===y.firstPickIndex+1&&(at=this.K===0?Math.max(at,Ge):Math.min(at,Ge)),y.m(Ne++,at,nt),y.m(Ne++,at,Ct)):(at!==null?at.centerX:Ge)!==ft&&(at=this.Ta[Je.layer]+this.Rf.y,Ne===y.firstPickIndex+1&&(at=this.K===90?Math.max(at,nt):Math.min(at,nt)),y.m(Ne++,Ge,at),y.m(Ne++,ft,at)):(at=Math.max(10,this.he[Je.layer]),Kt=Math.max(10,this.Ld[Je.layer]),Se?this.K===180?(y.m(Ne++,ft+Kt+Fe,Ct),y.m(Ne++,Math.max(ft+Kt-Fe/2,ft),Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,Math.min(ft-at+Fe/2,ft),Ct),y.m(Ne++,ft-at-Fe,Ct)):this.K===90?(y.m(Ne++,ft,Ct-at-Fe),y.m(Ne++,ft,Math.min(Ct-at+Fe/2,Ct)),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Math.max(Ct+Kt-Fe/2,Ct)),y.m(Ne++,ft,Ct+Kt+Fe)):this.K===270?(y.m(Ne++,ft,Ct+Kt+Fe),y.m(Ne++,ft,Math.max(Ct+Kt-Fe/2,Ct)),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Math.min(Ct-at+Fe/2,Ct)),y.m(Ne++,ft,Ct-at-Fe)):(y.m(Ne++,ft-at-Fe,Ct),y.m(Ne++,Math.min(ft-at+Fe/2,ft),Ct),y.m(Ne++,ft,Ct),y.m(Ne++,ft,Ct),y.m(Ne++,Math.max(ft+Kt-Fe/2,ft),Ct),y.m(Ne++,ft+Kt+Fe,Ct)):this.K===180?(y.m(Ne++,ft+Kt,Ct),y.m(Ne++,ft-at,Ct)):this.K===90?(y.m(Ne++,ft,Ct-at),y.m(Ne++,ft,Ct+Kt)):this.K===270?(y.m(Ne++,ft,Ct+Kt),y.m(Ne++,ft,Ct-at)):(y.m(Ne++,ft-at,Ct),y.m(Ne++,ft+Kt,Ct)))),ce=Je}we&&(Ge=y.i(Ne-1).x,nt=y.i(Ne-1).y,ft=y.i(Ne).x,Ct=y.i(Ne).y,this.K===180||this.K===0?nt!==Ct&&(at=this.K===0?Math.min(Math.max((ft+Ge)/2,this.Ta[ge.layer]+this.Rf.x),ft):Math.max(Math.min((ft+Ge)/2,this.Ta[ge.layer]+this.Rf.x),ft),y.m(Ne++,at,nt),y.m(Ne++,at,Ct)):Ge!==ft&&(at=this.K===90?Math.min(Math.max((Ct+nt)/2,this.Ta[ge.layer]+this.Rf.y),Ct):Math.max(Math.min((Ct+nt)/2,this.Ta[ge.layer]+this.Rf.y),Ct),y.m(Ne++,Ge,at),y.m(Ne++,ft,at)))}E!==null&&Se&&4<=y.pointsCount&&(ee!==null&&(ee=se===il?y.getLinkPointFromPoint(b,ee,ee.ga(Dr),y.i(3),!0):y.i(0),se===il&&(se=y.i(2),E=y.i(3),this.direction===90||this.direction===270?(y.L(1,(ee.x+se.x)/2,se.y),y.L(2,E.x,(se.y+E.y)/2)):(y.L(1,se.x,(ee.y+se.y)/2),y.L(2,(se.x+E.x)/2,E.y))),ee.w()||ee.set(b.actualBounds.center),y.L(0,ee.x,ee.y)),re!==null&&(b=oe===il?y.getLinkPointFromPoint(z,re,re.ga(Dr),y.i(y.pointsCount-4),!1):y.i(y.pointsCount-1),oe===il&&(re=y.i(y.pointsCount-3),oe=y.i(y.pointsCount-4),this.direction===90||this.direction===270?(y.L(y.pointsCount-2,(b.x+re.x)/2,re.y),y.L(y.pointsCount-2,oe.x,(re.y+oe.y)/2)):(y.L(y.pointsCount-2,re.x,(b.y+re.y)/2),y.L(y.pointsCount-3,(re.x+oe.x)/2,oe.y))),b.w()||b.set(z.actualBounds.center),y.L(y.pointsCount-1,b.x,b.y))),y.zf(),x.commit()}}}this.avoidOrthogonalOverlaps()},ba.prototype.avoidOrthogonalOverlaps=function(){if(!(0>=this.linkSpacing)){for(var a=new ln,y=this.network.edges.iterator;y.next();){var x=y.value.link;x!==null&&x.isOrthogonal&&!a.contains(x)&&a.add(x)}if(0z.y&&(ce=se.y>z.y?0:ee.xz.x&&(ce=se.x>z.x?0:ee.yy.layer?1:a.rdy.rd?1:a.Icy.Ic?1:0:0},Be.Ux=function(a,y){return a instanceof yg&&y instanceof yg&&a!==y?a.firsty.first||a.jy.j||a.rdy.rd?1:a.Icy.Ic?1:0:0},Be.Js=function(a,y){return a instanceof yg&&y instanceof yg&&a!==y?a.jcy.jc||a.jy.j||a.rdy.rd?1:a.Icy.Ic?1:0:0},Be.B=function(a,y){return a-=y,-1a},Be.zi=function(a,y,x,E){var b=a.length,z=E-x;if(!(1>=z))if((0>x||x>=b-1)&&Et("not in range 0 <= from < length: "+x),z===2)E=a[x],b=a[x+1],0=b)a.sort(y);else for(x=a.slice(0,E),x.sort(y),y=0;y=b)for(E=a.slice(x),E.sort(y),y=x;y=a.He.length){for(var E=[],b=0;ba&&(this.bg=a,this.C())}},alignOption:{get:function(){return this.ve},set:function(a){this.ve!==a&&0<=a&&16>a&&(this.ve=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},linkSpacing:{get:function(){return this.Cn},set:function(a){this.Cn!==a&&0<=a&&(this.Cn=a,this.C())}},maxLayer:{get:function(){return this.Ia}},maxIndex:{get:function(){return this.Iq}},maxColumn:{get:function(){return this.Ra}},minIndexLayer:{get:function(){return this.Hn}},maxIndexLayer:{get:function(){return this.Md}}});var lv=new sn(ba,"CycleDepthFirst",0),zy=new sn(ba,"CycleGreedy",1),Nm=new sn(ba,"CycleFromLayers",2),uv=new sn(ba,"LayerOptimalLinkLength",0),Vy=new sn(ba,"LayerLongestPathSink",1),_y=new sn(ba,"LayerLongestPathSource",2),cv=new sn(ba,"InitDepthFirstOut",0),Gy=new sn(ba,"InitDepthFirstIn",1),Zy=new sn(ba,"InitNaive",2),Uy=new sn(ba,"AggressiveNone",0),dv=new sn(ba,"AggressiveLess",1),Hy=new sn(ba,"AggressiveMore",2),r5=8;ba.className="LayeredDigraphLayout",ba.CycleDepthFirst=lv,ba.CycleGreedy=zy,ba.CycleFromLayers=Nm,ba.LayerOptimalLinkLength=uv,ba.LayerLongestPathSink=Vy,ba.LayerLongestPathSource=_y,ba.InitDepthFirstOut=cv,ba.InitDepthFirstIn=Gy,ba.InitNaive=Zy,ba.AggressiveNone=Uy,ba.AggressiveLess=dv,ba.AggressiveMore=Hy,ba.PackNone=0,ba.PackExpand=1,ba.PackStraighten=2,ba.PackMedian=4,ba.PackAll=15,ba.AlignNone=0,ba.AlignUpperLeft=1,ba.AlignUpperRight=2,ba.AlignLowerLeft=4,ba.AlignLowerRight=8,ba.AlignAll=15;function yg(){this.index=this.Ic=this.rd=this.jc=this.first=this.layer=0,this.link=null,this.j=0}yg.className="SegInfo";function jp(a){as.call(this,a)}_t(jp,as),jp.prototype.createVertex=function(){return new Nd(this)},jp.prototype.createEdge=function(){return new Tm(this)},jp.className="LayeredDigraphNetwork";function Nd(a){ql.call(this,a),this.$n=this.bo=this.ao=this.co=null,this.Za=this.Ag=this.Ig=-1,this.u=NaN,this.F=null,this.valid=!1,this.finish=this.Ll=NaN,this.Dj=0,this.dv=this.ev=null}_t(Nd,ql);function px(a,y){return a.index-y.index}function hv(a,y){if(!a.$n){for(var x=[],E=to(a.destinationEdgesArrayAccess),b=E.next();!b.done;b=E.next())b=b.value,b.valid&&x.push(b);a.$n=x}for(a=to(a.$n),x=a.next();!x.done;x=a.next())if(x=x.value,x.toVertex===y)return x;Et("Unable to find destination edge to given vertex")}function Ky(a){if(!a.co){for(var y=[],x=to(a.sourceEdgesArrayAccess),E=x.next();!E.done;E=x.next())E=E.value,E.valid&&y.push(E.fromVertex);y.sort(px),a.co=y}return a.co}function o5(a){if(!a.ao){for(var y=[],x=to(a.destinationEdgesArrayAccess),E=x.next();!E.done;E=x.next())E=E.value,E.valid&&y.push(E.toVertex);y.sort(px),a.ao=y}return a.ao}Nd.prototype.Cl=function(a){ql.prototype.Cl.call(this,a),this.bo=this.co=null},Nd.prototype.Kl=function(a){ql.prototype.Kl.call(this,a),this.bo=this.co=null},Nd.prototype.zl=function(a){ql.prototype.zl.call(this,a),this.$n=this.ao=null},Nd.prototype.Jl=function(a){ql.prototype.Jl.call(this,a),this.$n=this.ao=null},Rt.Object.defineProperties(Nd.prototype,{layer:{get:function(){return this.Ig},set:function(a){this.Ig!==a&&(this.Ig=a)}},column:{get:function(){return this.Ag},set:function(a){this.Ag!==a&&(this.Ag=a)}},index:{get:function(){return this.Za},set:function(a){this.Za!==a&&(this.Za=a)}},component:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},near:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),Nd.prototype.deleteDestinationEdge=Nd.prototype.Jl,Nd.prototype.addDestinationEdge=Nd.prototype.zl,Nd.prototype.deleteSourceEdge=Nd.prototype.Kl,Nd.prototype.addSourceEdge=Nd.prototype.Cl,Nd.className="LayeredDigraphVertex";function Tm(a){od.call(this,a),this.j=this.ia=this.Ha=!1,this.V=this.u=NaN,this.F=this.o=0}_t(Tm,od),Rt.Object.defineProperties(Tm.prototype,{fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}},valid:{get:function(){return this.Ha},set:function(a){this.Ha!==a&&(this.Ha=a)}},rev:{get:function(){return this.ia},set:function(a){this.ia!==a&&(this.ia=a)}},forest:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a)}},portFromPos:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},portToPos:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},portFromColOffset:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a)}},portToColOffset:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),Tm.className="LayeredDigraphEdge";function ko(a){Cs.call(this),this.Ub=new Rn,this.Wn=mv,this.ud=ff,this.vo=yv,this.Bq=r1,this.$v=[],this.td=!0,this.Rb=Sv,this.$d=new pi(10,10).freeze();var y=new sp(this);this.W=new Hd(y),this.Y=new Hd(y),this.ru=[],a&&Object.assign(this,a)}_t(ko,Cs),ko.prototype.cloneProtected=function(a){Cs.prototype.cloneProtected.call(this,a),a.Wn=this.Wn,a.vo=this.vo,a.Bq=this.Bq,a.td=this.td,a.Rb=this.Rb,a.$d.assign(this.$d),a.W.copyInheritedPropertiesFrom(this.W),a.Y.copyInheritedPropertiesFrom(this.Y)},ko.prototype.qb=function(a){a.classType===ko?a.name.indexOf("Alignment")===0?this.alignment=a:a.name.indexOf("Arrangement")===0?this.arrangement=a:a.name.indexOf("Compaction")===0?this.compaction=a:a.name.indexOf("Path")===0?this.path=a:a.name.indexOf("Sorting")===0?this.sorting=a:a.name.indexOf("Style")===0?this.treeStyle=a:Et("Unknown enum value: "+a):Cs.prototype.qb.call(this,a)},ko.prototype.createNetwork=function(){return new sp(this)},ko.prototype.makeNetwork=function(a){function y(E){if(E instanceof Fi)return!E.isLinkLabel&&E.category!=="Comment";if(E instanceof ai){var b=E.fromNode;return b===null||b.isLinkLabel||b.category==="Comment"?!1:(E=E.toNode,!(E===null||E.isLinkLabel||E.category==="Comment"))}return!1}var x=this.createNetwork();return a instanceof Ht?(x.lg(a.nodes,!0,y),x.lg(a.links,!0,y)):a instanceof Gr?x.lg(a.memberParts,!1,y):x.lg(a.iterator,!1,y),x},ko.prototype.doLayout=function(a){this.network===null&&(this.network=this.makeNetwork(a)),this.arrangement!==xv&&(this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin));var y=this.diagram;if(y===null&&a instanceof Ht&&(y=a),this.path===mv&&y!==null?this.ud=y.isTreePathToChildren?ff:op:this.ud=this.path===mv?ff:this.path,0y.level)return!1;a.removeChild(x.parent,x)}return!0}ko.prototype.removeChild=function(a,y){if(a!==null&&y!==null){for(var x=a.children,E=0,b=0;bb?Px(this,a,ee,Fr,Ge,nt):wx(this,a,ee,Fr,Ge,nt),Fr=nt.x,Ge=nt.width,nt=nt.height;break;case Hf:for(ft=0;ftge&&(zivu&&(rp(a,-vu,0,zr,oa-1),pv(ft,-vu,0),pv(Ct,-vu,0),vu=0)}ns.S.h(vu,Ni),Ge=Math.max(Ge,Kt),nt=Math.max(nt,at+(oi===0?0:Fe)+uu.height),zi=Kt}else 0ge&&(Nivu&&(rp(a,0,-vu,zr,oa-1),pv(ft,0,-vu),pv(Ct,0,-vu),vu=0)),ns.S.h(zi,vu),nt=Math.max(nt,Pi),Ge=Math.max(Ge,at+(oi===0?0:Fe)+uu.width),Ni=Pi;Tn++}switch(0se&&(se=0),135Ne&&(Ne=0),oe===Ff&&(re+=Se/2+a.focus.y),ee+=E+x):y?(a.comments===null?E>Ge&&(Ge=qy(oe,E-Ge,0),ee=Ge.x,re=Ge.y,Ge=E,se=0):Ge=Jy(a,Ge,se),0>se&&(ee-=se,se=0),135nt&&(nt=qy(oe,0,Je-nt),ee=nt.x,re=nt.y,nt=Je,Ne=0):nt=Qy(a,nt,Ne),0>Ne&&(re-=Ne,Ne=0),ee+=E+x),0b[0].x?b[2].assign(b[1]):b[1].assign(b[2])),b[3].yb[0].x?b[3].assign(b[2]):b[2].assign(b[3])),oi[0].h(se+E,0),oi[1].h(oi[0].x,Je),oi[2].yb[0].y?b[2].assign(b[1]):b[1].assign(b[2])),b[3].xb[0].y?b[3].assign(b[2]):b[2].assign(b[3])),oi[0].h(0,Ne+Je),oi[1].h(E,oi[0].y),oi[2].xE?Px(a,y,b,Tn,at,ft):wx(a,y,b,Tn,at,ft),Tn=ft.x,at=ft.width,ft=ft.height;break;case Hf:for(Se=0;SeSe&&(KtSe&&(Pige&&(ge=0),135Ge&&(Ge=0)),y.la.h(ge,Ge),y.Da.h(at,ft)}}ko.prototype.customAlignment=function(a,y,x,E,b){return[y,x,E,b]};function Px(a,y,x,E,b,z){var ee=x.length;if(ee===0)return new rn(E,0,b,z);if(ee===1)return y=x[0],b=y.Da.width,z=y.Da.height,new rn(E,0,b,z);for(var re=y.nodeSpacing,oe=y.rowSpacing,se=uh(y)===90,ce=0,ge=0,Se=0,we=0;wese&&(b-=se),z=Math.max(z,Math.max(we,Se)+a+ee.height),0>x.S.x&&(E=fv(y,x.S.x,!1,E,re))):(x.S.h(b+a,E+re/2-x.focus.y-x.la.y),b=Math.max(b,Math.max(Fe,ge)+a+ee.width),Se=E+re/2-x.focus.y-x.la.y,z=Math.max(z,Se+ee.height),0>Se&&(z-=Se),0>x.S.y&&(E=fv(y,x.S.y,!0,E,re)))),new rn(E,0,b,z)}function wx(a,y,x,E,b,z){var ee=x.length;if(ee===0)return new rn(E,0,b,z);if(ee===1)return x=x[0],b=x.Da.width,z=x.Da.height,new rn(E,0,b,z);for(var re=y.nodeSpacing,oe=y.rowSpacing,se=uh(y)===270,ce=0,ge=0,Se=0,we=0;wege&&(b-=ge),z=Math.max(z,Math.abs(Math.min(we,Se))+a+ce.height),0>oe.S.x&&(E=fv(y,oe.S.x,!1,E,re))):(oe.S.h(-b-ce.width-a,E+re/2-oe.focus.y-oe.la.y),b=Math.max(b,Math.abs(Math.min(Fe,ge))+a+ce.width),Se=E+re/2-oe.focus.y-oe.la.y,z=Math.max(z,Se+ce.height),0>Se&&(z-=Se),0>oe.S.y&&(E=fv(y,oe.S.y,!0,E,re)))),y=0;yy&&(y=x+a.width),0>x&&(y-=x),y;case gf:return a.width>y?a.width:y;case pf:return 2*a.focus.x>y?a.width:y+a.width-2*a.focus.x;case Uf:case mf:return Math.max(a.width,Math.max(y,x+a.width)-Math.min(0,x));case Hf:return a.width-a.focus.x+a.nodeSpacing/2+y;case Ff:return Math.max(a.width,a.focus.x+a.nodeSpacing/2+y);default:return y}}function Qy(a,y,x){switch(a.alignment){case ap:case Vp:return x+a.height>y&&(y=x+a.height),0>x&&(y-=x),y;case gf:return a.height>y?a.height:y;case pf:return 2*a.focus.y>y?a.height:y+a.height-2*a.focus.y;case Uf:case mf:return Math.max(a.height,Math.max(y,x+a.height)-Math.min(0,x));case Hf:return a.height-a.focus.y+a.nodeSpacing/2+y;case Ff:return Math.max(a.height,a.focus.y+a.nodeSpacing/2+y);default:return y}}function qy(a,y,x){switch(a){case Vp:y/=2,x/=2;break;case ap:y/=2,x/=2;break;case gf:x=y=0;break;case pf:break;default:Et("Unhandled alignment value "+a.toString())}return new Ze(y,x)}function Wg(a,y,x,E,b,z){y=qy(y,x,E),rp(a,y.x,y.y,b,z)}function rp(a,y,x,E,b){if(y!==0||x!==0)for(a=a.children;E<=b;E++){var z=a[E].S;z.x+=y,z.y+=x}}function gv(a,y,x,E){var b=y.parent;switch(a.ud){case ff:for(a=y.sourceEdges;a.next();)y=a.value,y.fromVertex===b&&y.relativePoint.h(x,E);break;case op:for(a=y.destinationEdges;a.next();)y=a.value,y.toVertex===b&&y.relativePoint.h(x,E);break;default:Et("Unhandled path value "+a.ud.toString())}}function pv(a,y,x){for(var E=0;Ege.length||we===null||2>we.length))for(b=x=0;xse&&z.yz.y&&sey.length||x===null||2>x.length)E=null;else{for(ce=Xc(a,y.length+x.length),E=z=oe=0;zoe;)se=x[z++],ce[E++].h(se.x+b,se.y);for(x=Xc(a,E),oe=0;oege.length||z===null||2>z.length)b=null;else{for(ce=Xc(a,ge.length+z.length),b=se=x=0;xz;)oe=ge[x++],ce[b++].h(oe.x,oe.y);for(z=Xc(a,b),x=0;xge.length||we===null||2>we.length))for(b=x=0;xoe&&z.xz.x&&oey.length||x===null||2>x.length)E=null;else{for(ce=Xc(a,y.length+x.length),E=z=oe=0;zoe;)se=x[z++],ce[E++].h(se.x,se.y+b);for(x=Xc(a,E),oe=0;oege.length||z===null||2>z.length)b=null;else{for(ce=Xc(a,ge.length+z.length),b=se=x=0;xz;)oe=ge[x++],ce[b++].h(oe.x,oe.y);for(z=Xc(a,b),x=0;x=a?0:135>=a?90:225>=a?180:315>=a?270:0}ko.prototype.computeLayerSpacing=function(a){var y=uh(a);y=y===90||y===270;var x=a.layerSpacing;if(0=a&&(this.W.nodeIndentPastParent=a,this.C())}},nodeSpacing:{get:function(){return this.W.nodeSpacing},set:function(a){this.W.nodeSpacing!==a&&(this.W.nodeSpacing=a,this.C())}},layerSpacing:{get:function(){return this.W.layerSpacing},set:function(a){this.W.layerSpacing!==a&&(this.W.layerSpacing=a,this.C())}},layerSpacingParentOverlap:{get:function(){return this.W.layerSpacingParentOverlap},set:function(a){this.W.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.W.layerSpacingParentOverlap=a,this.C())}},compaction:{get:function(){return this.W.compaction},set:function(a){this.W.compaction===a||a!==vv&&a!==jm||(this.W.compaction=a,this.C())}},breadthLimit:{get:function(){return this.W.breadthLimit},set:function(a){this.W.breadthLimit!==a&&0<=a&&(this.W.breadthLimit=a,this.C())}},rowSpacing:{get:function(){return this.W.rowSpacing},set:function(a){this.W.rowSpacing!==a&&(this.W.rowSpacing=a,this.C())}},rowIndent:{get:function(){return this.W.rowIndent},set:function(a){this.W.rowIndent!==a&&0<=a&&(this.W.rowIndent=a,this.C())}},commentSpacing:{get:function(){return this.W.commentSpacing},set:function(a){this.W.commentSpacing!==a&&(this.W.commentSpacing=a,this.C())}},commentMargin:{get:function(){return this.W.commentMargin},set:function(a){this.W.commentMargin!==a&&(this.W.commentMargin=a,this.C())}},setsPortSpot:{get:function(){return this.W.setsPortSpot},set:function(a){this.W.setsPortSpot!==a&&(this.W.setsPortSpot=a,this.C())}},portSpot:{get:function(){return this.W.portSpot},set:function(a){this.W.portSpot.D(a)||(this.W.portSpot=a,this.C())}},setsChildPortSpot:{get:function(){return this.W.setsChildPortSpot},set:function(a){this.W.setsChildPortSpot!==a&&(this.W.setsChildPortSpot=a,this.C())}},childPortSpot:{get:function(){return this.W.childPortSpot},set:function(a){this.W.childPortSpot.D(a)||(this.W.childPortSpot=a,this.C())}},alternateSorting:{get:function(){return this.Y.sorting},set:function(a){this.Y.sorting===a||a!==zp&&a!==Im&&a!==Rm&&!Wm||(this.Y.sorting=a,this.C())}},alternateComparer:{get:function(){return this.Y.comparer},set:function(a){this.Y.comparer!==a&&(this.Y.comparer=a,this.C())}},alternateAngle:{get:function(){return this.Y.angle},set:function(a){this.Y.angle===a||a!==0&&a!==90&&a!==180&&a!==270||(this.Y.angle=a,this.C())}},alternateAlignment:{get:function(){return this.Y.alignment},set:function(a){this.Y.alignment!==a&&(this.Y.alignment=a,this.C())}},alternateNodeIndent:{get:function(){return this.Y.nodeIndent},set:function(a){this.Y.nodeIndent!==a&&0<=a&&(this.Y.nodeIndent=a,this.C())}},alternateNodeIndentPastParent:{get:function(){return this.Y.nodeIndentPastParent},set:function(a){this.Y.nodeIndentPastParent!==a&&0<=a&&1>=a&&(this.Y.nodeIndentPastParent=a,this.C())}},alternateNodeSpacing:{get:function(){return this.Y.nodeSpacing},set:function(a){this.Y.nodeSpacing!==a&&(this.Y.nodeSpacing=a,this.C())}},alternateLayerSpacing:{get:function(){return this.Y.layerSpacing},set:function(a){this.Y.layerSpacing!==a&&(this.Y.layerSpacing=a,this.C())}},alternateLayerSpacingParentOverlap:{get:function(){return this.Y.layerSpacingParentOverlap},set:function(a){this.Y.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.Y.layerSpacingParentOverlap=a,this.C())}},alternateCompaction:{get:function(){return this.Y.compaction},set:function(a){this.Y.compaction===a||a!==vv&&a!==jm||(this.Y.compaction=a,this.C())}},alternateBreadthLimit:{get:function(){return this.Y.breadthLimit},set:function(a){this.Y.breadthLimit!==a&&0<=a&&(this.Y.breadthLimit=a,this.C())}},alternateRowSpacing:{get:function(){return this.Y.rowSpacing},set:function(a){this.Y.rowSpacing!==a&&(this.Y.rowSpacing=a,this.C())}},alternateRowIndent:{get:function(){return this.Y.rowIndent},set:function(a){this.Y.rowIndent!==a&&0<=a&&(this.Y.rowIndent=a,this.C())}},alternateCommentSpacing:{get:function(){return this.Y.commentSpacing},set:function(a){this.Y.commentSpacing!==a&&(this.Y.commentSpacing=a,this.C())}},alternateCommentMargin:{get:function(){return this.Y.commentMargin},set:function(a){this.Y.commentMargin!==a&&(this.Y.commentMargin=a,this.C())}},alternateSetsPortSpot:{get:function(){return this.Y.setsPortSpot},set:function(a){this.Y.setsPortSpot!==a&&(this.Y.setsPortSpot=a,this.C())}},alternatePortSpot:{get:function(){return this.Y.portSpot},set:function(a){this.Y.portSpot.D(a)||(this.Y.portSpot=a,this.C())}},alternateSetsChildPortSpot:{get:function(){return this.Y.setsChildPortSpot},set:function(a){this.Y.setsChildPortSpot!==a&&(this.Y.setsChildPortSpot=a,this.C())}},alternateChildPortSpot:{get:function(){return this.Y.childPortSpot},set:function(a){this.Y.childPortSpot.D(a)||(this.Y.childPortSpot=a,this.C())}}});var mv=new sn(ko,"PathDefault",-1),ff=new sn(ko,"PathDestination",0),op=new sn(ko,"PathSource",1),zp=new sn(ko,"SortingForwards",10),Im=new sn(ko,"SortingReverse",11),Rm=new sn(ko,"SortingAscending",12),Wm=new sn(ko,"SortingDescending",13),Vp=new sn(ko,"AlignmentCenterSubtrees",20),ap=new sn(ko,"AlignmentCenterChildren",21),gf=new sn(ko,"AlignmentStart",22),pf=new sn(ko,"AlignmentEnd",23),Uf=new sn(ko,"AlignmentBus",24),mf=new sn(ko,"AlignmentBusBranching",25),Hf=new sn(ko,"AlignmentTopLeftBus",26),Ff=new sn(ko,"AlignmentBottomRightBus",27),vv=new sn(ko,"CompactionNone",30),jm=new sn(ko,"CompactionBlock",31),yv=new sn(ko,"StyleLayered",40),e1=new sn(ko,"StyleLastParents",41),t1=new sn(ko,"StyleAlternating",42),n1=new sn(ko,"StyleRootOnly",43),Sv=new sn(ko,"ArrangementVertical",50),i1=new sn(ko,"ArrangementHorizontal",51),xv=new sn(ko,"ArrangementFixedRoots",52),r1=new sn(ko,"LayerIndividual",60),o1=new sn(ko,"LayerSiblings",61),Ev=new sn(ko,"LayerUniform",62);ko.className="TreeLayout",ko.PathDefault=mv,ko.PathDestination=ff,ko.PathSource=op,ko.SortingForwards=zp,ko.SortingReverse=Im,ko.SortingAscending=Rm,ko.SortingDescending=Wm,ko.AlignmentCenterSubtrees=Vp,ko.AlignmentCenterChildren=ap,ko.AlignmentStart=gf,ko.AlignmentEnd=pf,ko.AlignmentBus=Uf,ko.AlignmentBusBranching=mf,ko.AlignmentTopLeftBus=Hf,ko.AlignmentBottomRightBus=Ff,ko.CompactionNone=vv,ko.CompactionBlock=jm,ko.StyleLayered=yv,ko.StyleLastParents=e1,ko.StyleAlternating=t1,ko.StyleRootOnly=n1,ko.ArrangementVertical=Sv,ko.ArrangementHorizontal=i1,ko.ArrangementFixedRoots=xv,ko.LayerIndividual=r1,ko.LayerSiblings=o1,ko.LayerUniform=Ev;function sp(a){as.call(this,a)}_t(sp,as),sp.prototype.createVertex=function(){return new Hd(this)},sp.prototype.createEdge=function(){return new _p(this)},sp.className="TreeNetwork";function Hd(a){ql.call(this,a),this.V=!1,this.hb=null,this.u=[],this.nb=this.Ha=this.F=this.ia=0,this.td=null,this.S=new Ze(0,0),this.Da=new pi(0,0),this.la=new Ze(0,0),this.im=this.hm=this.qA=!1,this.kp=this.Yo=null,this.nd=zp,this.hd=Ay,this.Kb=0,this.Jb=ap,this.Vq=this.Uq=0,this.Wq=20,this.ie=50,this.Aq=0,this.Hp=jm,this.Ap=0,this.nr=25,this.Gp=this.mr=10,this.Fp=20,this.xr=!0,this.dr=Zl,this.wr=!0,this.Dp=Zl}_t(Hd,ql),Hd.prototype.copyInheritedPropertiesFrom=function(a){a!==null&&(this.nd=a.sorting,this.hd=a.comparer,this.Kb=a.angle,this.Jb=a.alignment,this.Uq=a.nodeIndent,this.Vq=a.nodeIndentPastParent,this.Wq=a.nodeSpacing,this.ie=a.layerSpacing,this.Aq=a.layerSpacingParentOverlap,this.Hp=a.compaction,this.Ap=a.breadthLimit,this.nr=a.rowSpacing,this.mr=a.rowIndent,this.Gp=a.commentSpacing,this.Fp=a.commentMargin,this.xr=a.setsPortSpot,this.dr=a.portSpot,this.wr=a.setsChildPortSpot,this.Dp=a.childPortSpot)},Rt.Object.defineProperties(Hd.prototype,{initialized:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},parent:{get:function(){return this.hb},set:function(a){this.hb!==a&&(this.hb=a)}},children:{get:function(){return this.u},set:function(a){if(this.u!==a){if(a!==null)for(var y=a.length,x=0;xwe.y+x.rowIndent&&(z=Math.min(z,Math.max(ge.y,z-y.computeNodeIndent(x))))):x.alignment===gf?(z=E.top+b.y,b.y===0&&ge.ywe.x+x.rowIndent&&(z=Math.min(z,Math.max(ge.x,z-y.computeNodeIndent(x))))):x.alignment===gf?(z=E.left+b.x,b.x===0&&ge.xwe.y+x.rowIndent&&(z=Math.min(z,Math.max(ge.y,z-y.computeNodeIndent(x))))):x.alignment===gf?(z=E.top+b.y,b.y===0&&ge.ywe.x+x.rowIndent&&(z=Math.min(z,Math.max(ge.x,z-y.computeNodeIndent(x))))):x.alignment===gf?(z=E.left+b.x,b.x===0&&ge.x=0;Re--){var Ye=ye[Re](ve);if(Ye)return Ye}return function(Qe,ct){throw new Error("Invalid value of type "+typeof ve+" for "+be+" argument when connecting component "+ct.wrappedComponentName+".")}}function zt(ve,ye){return ve===ye}function $e(ve){var ye=ve===void 0?{}:ve,be=ye.connectHOC,Re=be===void 0?vn:be,Ye=ye.mapStateToPropsFactories,Qe=Ye===void 0?yi:Ye,ct=ye.mapDispatchToPropsFactories,vt=ct===void 0?on:ct,qt=ye.mergePropsFactories,bn=qt===void 0?gn:qt,pn=ye.selectorFactory,dn=pn===void 0?ri:pn;return function(Wn,Bi,Ar,Mr){Mr===void 0&&(Mr={});var Xr=Mr,bo=Xr.pure,Go=bo===void 0?!0:bo,zo=Xr.areStatesEqual,va=zo===void 0?zt:zo,ps=Xr.areOwnPropsEqual,Ks=ps===void 0?hi:ps,Hu=Xr.areStatePropsEqual,Is=Hu===void 0?hi:Hu,ju=Xr.areMergedPropsEqual,Ic=ju===void 0?hi:ju,Kc=(0,le.Z)(Xr,ni),xh=mn(Wn,Qe,"mapStateToProps"),Bd=mn(Bi,vt,"mapDispatchToProps"),pd=mn(Ar,bn,"mergeProps");return Re(dn,(0,kt.Z)({methodName:"connect",getDisplayName:function(Cu){return"Connect("+Cu+")"},shouldHandleStateChanges:!!Wn,initMapStateToProps:xh,initMapDispatchToProps:Bd,initMergeProps:pd,pure:Go,areStatesEqual:va,areOwnPropsEqual:Ks,areStatePropsEqual:Is,areMergedPropsEqual:Ic},Kc))}}var At=$e();function Yt(){var ve=useContext(ReactReduxContext);return ve}function Ie(ve){ve===void 0&&(ve=ReactReduxContext);var ye=ve===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ve)};return function(){var Re=ye(),Ye=Re.store;return Ye}}var Ce=null;function Ee(ve){ve===void 0&&(ve=ReactReduxContext);var ye=ve===ReactReduxContext?useDefaultStore:createStoreHook(ve);return function(){var Re=ye();return Re.dispatch}}var Te=null,Ue=function(ye,be){return ye===be};function Le(ve,ye,be,Re){var Ye=useReducer(function(Bi){return Bi+1},0),Qe=Ye[1],ct=useMemo(function(){return createSubscription(be,Re)},[be,Re]),vt=useRef(),qt=useRef(),bn=useRef(),pn=useRef(),dn=be.getState(),cn;try{if(ve!==qt.current||dn!==bn.current||vt.current){var Wn=ve(dn);pn.current===void 0||!ye(Wn,pn.current)?cn=Wn:cn=pn.current}else cn=pn.current}catch(Bi){throw vt.current&&(Bi.message+=` The error may be correlated with this previous error: `+vt.current.stack+` -`),Bi}return useIsomorphicLayoutEffect(function(){Qt.current=ve,bn.current=dn,pn.current=cn,vt.current=void 0}),useIsomorphicLayoutEffect(function(){function Bi(){try{var Ar=be.getState();if(Ar===bn.current)return;var Mr=Qt.current(Ar);if(ye(Mr,pn.current))return;pn.current=Mr,bn.current=Ar}catch(Xr){vt.current=Xr}Qe()}return ct.onStateChange=Bi,ct.trySubscribe(),Bi(),function(){return ct.tryUnsubscribe()}},[be,ct]),cn}function rt(ve){ve===void 0&&(ve=ReactReduxContext);var ye=ve===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ve)};return function(Re,Ye){Ye===void 0&&(Ye=Ue);var Qe=ye(),ct=Qe.store,vt=Qe.subscription,Qt=Le(Re,Ye,ct,vt);return useDebugValue(Qt),Qt}}var Sn=null,fn=Pe(4676);pt(fn.unstable_batchedUpdates);function an(ve,ye){if(ve.length!==ye.length)return!1;for(var be=0;be");return Re.callbacks},Re.setCallbacks=function(vt){Re.callbacks=vt},Re}var be=ye.prototype;return be.componentDidMount=function(){this.unbind=Cn(window,[{eventName:"error",fn:this.onWindowError}])},be.componentWillUnmount=function(){this.unbind()},be.componentDidCatch=function(Ye){if(Ye instanceof Ft){this.setState({});return}throw Ye},be.render=function(){return this.props.children(this.setCallbacks)},ye}(ue.Component),Ii=` +`)},Zn=function(ye){return[Oi(ye),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},ki="__react-beautiful-dnd-disable-dev-warnings";function Vr(ve,ye){var be;_t||typeof window!="undefined"&&window[ki]||(be=console)[ve].apply(be,Zn(ye))}var br=Vr.bind(null,"warn"),Br=Vr.bind(null,"error");function Et(){}function Di(ve,ye){return(0,kt.Z)({},ve,{},ye)}function Cn(ve,ye,be){var Re=ye.map(function(Ye){var Qe=Di(be,Ye.options);return ve.addEventListener(Ye.eventName,Ye.fn,Qe),function(){ve.removeEventListener(Ye.eventName,Ye.fn,Qe)}});return function(){Re.forEach(function(Qe){Qe()})}}var Kn=!0,Lt="Invariant failed";function Ft(ve){this.message=ve}Ft.prototype.toString=function(){return this.message};function un(ve,ye){if(!ve)throw Kn?new Ft(Lt):new Ft(Lt+": "+(ye||""))}var Sr=function(ve){Mt(ye,ve);function ye(){for(var Re,Ye=arguments.length,Qe=new Array(Ye),ct=0;ct");return Re.callbacks},Re.setCallbacks=function(vt){Re.callbacks=vt},Re}var be=ye.prototype;return be.componentDidMount=function(){this.unbind=Cn(window,[{eventName:"error",fn:this.onWindowError}])},be.componentWillUnmount=function(){this.unbind()},be.componentDidCatch=function(Ye){if(Ye instanceof Ft){this.setState({});return}throw Ye},be.render=function(){return this.props.children(this.setCallbacks)},ye}(ue.Component),Ii=` 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 @@ -1286,7 +1286,7 @@ The error may be correlated with this previous error: `:` The item has been dropped while not over a drop area. `+Lo(ye.source)+` - `},ja={dragHandleUsageInstructions:Ii,onDragStart:si,onDragUpdate:Qr,onDragEnd:Nn},co={x:0,y:0},Kr=function(ye,be){return{x:ye.x+be.x,y:ye.y+be.y}},sn=function(ye,be){return{x:ye.x-be.x,y:ye.y-be.y}},Vt=function(ye,be){return ye.x===be.x&&ye.y===be.y},hn=function(ye){return{x:ye.x!==0?-ye.x:0,y:ye.y!==0?-ye.y:0}},Xt=function(ye,be,Re){var Ye;return Re===void 0&&(Re=0),Ye={},Ye[ye]=be,Ye[ye==="x"?"y":"x"]=Re,Ye},Vn=function(ye,be){return Math.sqrt(Math.pow(be.x-ye.x,2)+Math.pow(be.y-ye.y,2))},er=function(ye,be){return Math.min.apply(Math,be.map(function(Re){return Vn(ye,Re)}))},lr=function(ye){return function(be){return{x:ye(be.x),y:ye(be.y)}}},ui=function(ve,ye){var be=ro({top:Math.max(ye.top,ve.top),right:Math.min(ye.right,ve.right),bottom:Math.min(ye.bottom,ve.bottom),left:Math.max(ye.left,ve.left)});return be.width<=0||be.height<=0?null:be},Ci=function(ye,be){return{top:ye.top+be.y,left:ye.left+be.x,bottom:ye.bottom+be.y,right:ye.right+be.x}},Yn=function(ye){return[{x:ye.left,y:ye.top},{x:ye.right,y:ye.top},{x:ye.left,y:ye.bottom},{x:ye.right,y:ye.bottom}]},ln={top:0,right:0,bottom:0,left:0},_r=function(ye,be){return be?Ci(ye,be.scroll.diff.displacement):ye},Rn=function(ye,be,Re){if(Re&&Re.increasedBy){var Ye;return(0,kt.Z)({},ye,(Ye={},Ye[be.end]=ye[be.end]+Re.increasedBy[be.line],Ye))}return ye},Ir=function(ye,be){return be&&be.shouldClipSubject?ui(be.pageMarginBox,ye):ro(ye)},Or=function(ve){var ye=ve.page,be=ve.withPlaceholder,Re=ve.axis,Ye=ve.frame,Qe=_r(ye.marginBox,Ye),ct=Rn(Qe,Re,be),vt=Ir(ct,Ye);return{page:ye,withPlaceholder:be,active:vt}},fr=function(ve,ye){ve.frame||un(!1);var be=ve.frame,Re=sn(ye,be.scroll.initial),Ye=hn(Re),Qe=(0,kt.Z)({},be,{scroll:{initial:be.scroll.initial,current:ye,diff:{value:Re,displacement:Ye},max:be.scroll.max}}),ct=Or({page:ve.subject.page,withPlaceholder:ve.subject.withPlaceholder,axis:ve.axis,frame:Qe}),vt=(0,kt.Z)({},ve,{frame:Qe,subject:ct});return vt};function Bo(ve){return Number.isInteger?Number.isInteger(ve):typeof ve=="number"&&isFinite(ve)&&Math.floor(ve)===ve}function Zr(ve){return Object.values?Object.values(ve):Object.keys(ve).map(function(ye){return ve[ye]})}function Zi(ve,ye){if(ve.findIndex)return ve.findIndex(ye);for(var be=0;beve.bottom,bn=Re.leftve.right,pn=Qt&&bn;if(pn)return!0;var dn=Qt&&ct||bn&&Qe;return dn}},Rr=function(ve){var ye=za(ve.top,ve.bottom),be=za(ve.left,ve.right);return function(Re){var Ye=ye(Re.top)&&ye(Re.bottom)&&be(Re.left)&&be(Re.right);return Ye}},pi={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ho={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Ba=function(ve){return function(ye){var be=za(ye.top,ye.bottom),Re=za(ye.left,ye.right);return function(Ye){return ve===pi?be(Ye.top)&&be(Ye.bottom):Re(Ye.left)&&Re(Ye.right)}}},Ws=function(ye,be){var Re=be.frame?be.frame.scroll.diff.displacement:co;return Ci(ye,Re)},Xa=function(ye,be,Re){return be.subject.active?Re(be.subject.active)(ye):!1},ua=function(ye,be,Re){return Re(be)(ye)},Ta=function(ye){var be=ye.target,Re=ye.destination,Ye=ye.viewport,Qe=ye.withDroppableDisplacement,ct=ye.isVisibleThroughFrameFn,vt=Qe?Ws(be,Re):be;return Xa(vt,Re,ct)&&ua(vt,Ye,ct)},Ls=function(ye){return Ta((0,kt.Z)({},ye,{isVisibleThroughFrameFn:kr}))},ll=function(ye){return Ta((0,kt.Z)({},ye,{isVisibleThroughFrameFn:Rr}))},on=function(ye){return Ta((0,kt.Z)({},ye,{isVisibleThroughFrameFn:Ba(ye.destination.axis)}))},Va=function(ye,be,Re){if(typeof Re=="boolean")return Re;if(!be)return!0;var Ye=be.invisible,Qe=be.visible;if(Ye[ye])return!1;var ct=Qe[ye];return ct?ct.shouldAnimate:!0};function nn(ve,ye){var be=ve.page.marginBox,Re={top:ye.point.y,right:0,bottom:0,left:ye.point.x};return ro(Wo(be,Re))}function Ss(ve){var ye=ve.afterDragging,be=ve.destination,Re=ve.displacedBy,Ye=ve.viewport,Qe=ve.forceShouldAnimate,ct=ve.last;return ye.reduce(function(Qt,bn){var pn=nn(bn,Re),dn=bn.descriptor.id;Qt.all.push(dn);var cn=Ls({target:pn,destination:be,viewport:Ye,withDroppableDisplacement:!0});if(!cn)return Qt.invisible[bn.descriptor.id]=!0,Qt;var Wn=Va(dn,ct,Qe),Bi={draggableId:dn,shouldAnimate:Wn};return Qt.visible[dn]=Bi,Qt},{all:[],visible:{},invisible:{}})}function yu(ve,ye){if(!ve.length)return 0;var be=ve[ve.length-1].descriptor.index;return ye.inHomeList?be:be+1}function fl(ve){var ye=ve.insideDestination,be=ve.inHomeList,Re=ve.displacedBy,Ye=ve.destination,Qe=yu(ye,{inHomeList:be});return{displaced:_o,displacedBy:Re,at:{type:"REORDER",destination:{droppableId:Ye.descriptor.id,index:Qe}}}}function Vl(ve){var ye=ve.draggable,be=ve.insideDestination,Re=ve.destination,Ye=ve.viewport,Qe=ve.displacedBy,ct=ve.last,vt=ve.index,Qt=ve.forceShouldAnimate,bn=ys(ye,Re);if(vt==null)return fl({insideDestination:be,inHomeList:bn,displacedBy:Qe,destination:Re});var pn=xr(be,function(Ar){return Ar.descriptor.index===vt});if(!pn)return fl({insideDestination:be,inHomeList:bn,displacedBy:Qe,destination:Re});var dn=Qi(ye,be),cn=be.indexOf(pn),Wn=dn.slice(cn),Bi=Ss({afterDragging:Wn,destination:Re,displacedBy:Qe,last:ct,viewport:Ye.frame,forceShouldAnimate:Qt});return{displaced:Bi,displacedBy:Qe,at:{type:"REORDER",destination:{droppableId:Re.descriptor.id,index:vt}}}}function is(ve,ye){return!!ye.effected[ve]}var kl=function(ve){var ye=ve.isMovingForward,be=ve.destination,Re=ve.draggables,Ye=ve.combine,Qe=ve.afterCritical;if(!be.isCombineEnabled)return null;var ct=Ye.draggableId,vt=Re[ct],Qt=vt.descriptor.index,bn=is(ct,Qe);return bn?ye?Qt:Qt-1:ye?Qt+1:Qt},Nl=function(ve){var ye=ve.isMovingForward,be=ve.isInHomeList,Re=ve.insideDestination,Ye=ve.location;if(!Re.length)return null;var Qe=Ye.index,ct=ye?Qe+1:Qe-1,vt=Re[0].descriptor.index,Qt=Re[Re.length-1].descriptor.index,bn=be?Qt:Qt+1;return ctbn?null:ct},ga=function(ve){var ye=ve.isMovingForward,be=ve.isInHomeList,Re=ve.draggable,Ye=ve.draggables,Qe=ve.destination,ct=ve.insideDestination,vt=ve.previousImpact,Qt=ve.viewport,bn=ve.afterCritical,pn=vt.at;if(pn||un(!1),pn.type==="REORDER"){var dn=Nl({isMovingForward:ye,isInHomeList:be,location:pn.destination,insideDestination:ct});return dn==null?null:Vl({draggable:Re,insideDestination:ct,destination:Qe,viewport:Qt,last:vt.displaced,displacedBy:vt.displacedBy,index:dn})}var cn=kl({isMovingForward:ye,destination:Qe,displaced:vt.displaced,draggables:Ye,combine:pn.combine,afterCritical:bn});return cn==null?null:Vl({draggable:Re,insideDestination:ct,destination:Qe,viewport:Qt,last:vt.displaced,displacedBy:vt.displacedBy,index:cn})},gl=function(ve){var ye=ve.displaced,be=ve.afterCritical,Re=ve.combineWith,Ye=ve.displacedBy,Qe=!!(ye.visible[Re]||ye.invisible[Re]);return is(Re,be)?Qe?co:hn(Ye.point):Qe?Ye.point:co},Vc=function(ve){var ye=ve.afterCritical,be=ve.impact,Re=ve.draggables,Ye=qi(be);Ye||un(!1);var Qe=Ye.draggableId,ct=Re[Qe].page.borderBox.center,vt=gl({displaced:be.displaced,afterCritical:ye,combineWith:Qe,displacedBy:be.displacedBy});return Kr(ct,vt)},du=function(ye,be){return be.margin[ye.start]+be.borderBox[ye.size]/2},Su=function(ye,be){return be.margin[ye.end]+be.borderBox[ye.size]/2},xu=function(ye,be,Re){return be[ye.crossAxisStart]+Re.margin[ye.crossAxisStart]+Re.borderBox[ye.crossAxisSize]/2},ao=function(ye){var be=ye.axis,Re=ye.moveRelativeTo,Ye=ye.isMoving;return Xt(be.line,Re.marginBox[be.end]+du(be,Ye),xu(be,Re.marginBox,Ye))},xd=function(ye){var be=ye.axis,Re=ye.moveRelativeTo,Ye=ye.isMoving;return Xt(be.line,Re.marginBox[be.start]-Su(be,Ye),xu(be,Re.marginBox,Ye))},Ed=function(ye){var be=ye.axis,Re=ye.moveInto,Ye=ye.isMoving;return Xt(be.line,Re.contentBox[be.start]+du(be,Ye),xu(be,Re.contentBox,Ye))},Bc=function(ve){var ye=ve.impact,be=ve.draggable,Re=ve.draggables,Ye=ve.droppable,Qe=ve.afterCritical,ct=no(Ye.descriptor.id,Re),vt=be.page,Qt=Ye.axis;if(!ct.length)return Ed({axis:Qt,moveInto:Ye.page,isMoving:vt});var bn=ye.displaced,pn=ye.displacedBy,dn=bn.all[0];if(dn){var cn=Re[dn];if(is(dn,Qe))return xd({axis:Qt,moveRelativeTo:cn.page,isMoving:vt});var Wn=Tr(cn.page,pn.point);return xd({axis:Qt,moveRelativeTo:Wn,isMoving:vt})}var Bi=ct[ct.length-1];if(Bi.descriptor.id===be.descriptor.id)return vt.borderBox.center;if(is(Bi.descriptor.id,Qe)){var Ar=Tr(Bi.page,hn(Qe.displacedBy.point));return ao({axis:Qt,moveRelativeTo:Ar,isMoving:vt})}return ao({axis:Qt,moveRelativeTo:Bi.page,isMoving:vt})},Od=function(ve,ye){var be=ve.frame;return be?Kr(ye,be.scroll.diff.displacement):ye},Nh=function(ye){var be=ye.impact,Re=ye.draggable,Ye=ye.droppable,Qe=ye.draggables,ct=ye.afterCritical,vt=Re.page.borderBox.center,Qt=be.at;return!Ye||!Qt?vt:Qt.type==="REORDER"?Bc({impact:be,draggable:Re,draggables:Qe,droppable:Ye,afterCritical:ct}):Vc({impact:be,draggables:Qe,afterCritical:ct})},ir=function(ve){var ye=Nh(ve),be=ve.droppable,Re=be?Od(be,ye):ye;return Re},il=function(ve,ye){var be=sn(ye,ve.scroll.initial),Re=hn(be),Ye=ro({top:ye.y,bottom:ye.y+ve.frame.height,left:ye.x,right:ye.x+ve.frame.width}),Qe={frame:Ye,scroll:{initial:ve.scroll.initial,max:ve.scroll.max,current:ye,diff:{value:be,displacement:Re}}};return Qe};function bl(ve,ye){return ve.map(function(be){return ye[be]})}function wr(ve,ye){for(var be=0;be1?pn.sort(function(dn,cn){return xs(dn)[vt.start]-xs(cn)[vt.start]})[0]:bn.sort(function(dn,cn){var Wn=er(be,Yn(xs(dn))),Bi=er(be,Yn(xs(cn)));return Wn!==Bi?Wn-Bi:xs(dn)[vt.start]-xs(cn)[vt.start]})[0]},ic=function(ye,be){var Re=ye.page.borderBox.center;return is(ye.descriptor.id,be)?sn(Re,be.displacedBy.point):Re},Ms=function(ye,be){var Re=ye.page.borderBox;return is(ye.descriptor.id,be)?Ci(Re,hn(be.displacedBy.point)):Re},Tl=function(ve){var ye=ve.pageBorderBoxCenter,be=ve.viewport,Re=ve.destination,Ye=ve.insideDestination,Qe=ve.afterCritical,ct=Ye.filter(function(vt){return ll({target:Ms(vt,Qe),destination:Re,viewport:be.frame,withDroppableDisplacement:!0})}).sort(function(vt,Qt){var bn=Vn(ye,Od(Re,ic(vt,Qe))),pn=Vn(ye,Od(Re,ic(Qt,Qe)));return bnye.left&&ve.topye.top}function qh(ve){var ye=ve.pageBorderBox,be=ve.draggable,Re=ve.candidates,Ye=be.page.borderBox.center,Qe=Re.map(function(ct){var vt=ct.axis,Qt=Xt(ct.axis.line,ye.center[vt.line],ct.page.borderBox.center[vt.crossAxisLine]);return{id:ct.descriptor.id,distance:Vn(Ye,Qt)}}).sort(function(ct,vt){return vt.distance-ct.distance});return Qe[0]?Qe[0].id:null}function xf(ve){var ye=ve.pageBorderBox,be=ve.draggable,Re=ve.droppables,Ye=Ze(Re).filter(function(Qe){if(!Qe.isEnabled)return!1;var ct=Qe.subject.active;if(!ct||!Zl(ye,ct))return!1;if(Pd(ct)(ye.center))return!0;var vt=Qe.axis,Qt=ct.center[vt.crossAxisLine],bn=ye[vt.crossAxisStart],pn=ye[vt.crossAxisEnd],dn=za(ct[vt.crossAxisStart],ct[vt.crossAxisEnd]),cn=dn(bn),Wn=dn(pn);return!cn&&!Wn?!0:cn?bnQt});return Ye.length?Ye.length===1?Ye[0].descriptor.id:qh({pageBorderBox:ye,draggable:be,candidates:Ye}):null}var wd=function(ye,be){return ro(Ci(ye,be))},hh=function(ve,ye){var be=ve.frame;return be?wd(ye,be.scroll.diff.value):ye};function Vu(ve){var ye=ve.displaced,be=ve.id;return!!(ye.visible[be]||ye.invisible[be])}function _u(ve){var ye=ve.draggable,be=ve.closest,Re=ve.inHomeList;return be?Re&&be.descriptor.index>ye.descriptor.index?be.descriptor.index-1:be.descriptor.index:null}var ul=function(ve){var ye=ve.pageBorderBoxWithDroppableScroll,be=ve.draggable,Re=ve.destination,Ye=ve.insideDestination,Qe=ve.last,ct=ve.viewport,vt=ve.afterCritical,Qt=Re.axis,bn=Gl(Re.axis,be.displaceBy),pn=bn.value,dn=ye[Qt.start],cn=ye[Qt.end],Wn=Qi(be,Ye),Bi=xr(Wn,function(Mr){var Xr=Mr.descriptor.id,bo=Mr.page.borderBox.center[Qt.line],Go=is(Xr,vt),zo=Vu({displaced:Qe,id:Xr});return Go?zo?cn<=bo:dnXr[vt.start]+Go&&dnXr[vt.start]-bn+Go&&pnXr[vt.start]+bn+Go&&dnXr[vt.start]+Go&&pn=_s)return ss;var Qe=Ye/_s,ct=Ga+ks*Qe,vt=Re==="CANCEL"?ct*ds:ct;return Number(vt.toFixed(2))},vl=function(ve){var ye=ve.impact,be=ve.draggable,Re=ve.dimensions,Ye=ve.viewport,Qe=ve.afterCritical,ct=Re.draggables,vt=Re.droppables,Qt=Ol(ye),bn=Qt?vt[Qt]:null,pn=vt[be.descriptor.droppableId],dn=Bt({impact:ye,draggable:be,draggables:ct,afterCritical:Qe,droppable:bn||pn,viewport:Ye}),cn=sn(dn,be.client.borderBox.center);return cn},yl=function(ve){var ye=ve.draggables,be=ve.reason,Re=ve.lastImpact,Ye=ve.home,Qe=ve.viewport,ct=ve.onLiftImpact;if(!Re.at||be!=="DROP"){var vt=Ih({draggables:ye,impact:ct,destination:Ye,viewport:Qe,forceShouldAnimate:!0});return{impact:vt,didDropInsideDroppable:!1}}if(Re.at.type==="REORDER")return{impact:Re,didDropInsideDroppable:!0};var Qt=(0,kt.Z)({},Re,{displaced:_o});return{impact:Qt,didDropInsideDroppable:!0}},Nu=function(ve){var ye=ve.getState,be=ve.dispatch;return function(Re){return function(Ye){if(Ye.type!=="DROP"){Re(Ye);return}var Qe=ye(),ct=Ye.payload.reason;if(Qe.phase==="COLLECTING"){be(Hr({reason:ct}));return}if(Qe.phase!=="IDLE"){var vt=Qe.phase==="DROP_PENDING"&&Qe.isWaiting;vt&&un(!1),Qe.phase==="DRAGGING"||Qe.phase==="DROP_PENDING"||un(!1);var Qt=Qe.critical,bn=Qe.dimensions,pn=bn.draggables[Qe.critical.draggable.id],dn=yl({reason:ct,lastImpact:Qe.impact,afterCritical:Qe.afterCritical,onLiftImpact:Qe.onLiftImpact,home:Qe.dimensions.droppables[Qe.critical.droppable.id],viewport:Qe.viewport,draggables:Qe.dimensions.draggables}),cn=dn.impact,Wn=dn.didDropInsideDroppable,Bi=Wn?rr(cn):null,Ar=Wn?qi(cn):null,Mr={index:Qt.draggable.index,droppableId:Qt.droppable.id},Xr={draggableId:pn.descriptor.id,type:pn.descriptor.type,source:Mr,reason:ct,mode:Qe.movementMode,destination:Bi,combine:Ar},bo=vl({impact:cn,draggable:pn,dimensions:bn,viewport:Qe.viewport,afterCritical:Qe.afterCritical}),Go={critical:Qe.critical,afterCritical:Qe.afterCritical,result:Xr,impact:cn},zo=!Vt(Qe.current.client.offset,bo)||!!Xr.combine;if(!zo){be(cr({completed:Go}));return}var va=zs({current:Qe.current.client.offset,destination:bo,reason:ct}),ps={newHomeClientOffset:bo,dropDuration:va,completed:Go};be(ji(ps))}}}},Rl=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Eu(ve){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(be){be.target!==window&&be.target!==window.document||ve()}}}function Ma(ve){var ye=ve.onWindowScroll;function be(){ye(Rl())}var Re=tn(be),Ye=Eu(Re),Qe=Et;function ct(){return Qe!==Et}function vt(){ct()&&un(!1),Qe=Cn(window,[Ye])}function Qt(){ct()||un(!1),Re.cancel(),Qe(),Qe=Et}return{start:vt,stop:Qt,isActive:ct}}var Vs=function(ye){return ye.type==="DROP_COMPLETE"||ye.type==="DROP_ANIMATE"||ye.type==="FLUSH"},Pa=function(ve){var ye=Ma({onWindowScroll:function(Re){ve.dispatch(xi({newScroll:Re}))}});return function(be){return function(Re){!ye.isActive()&&Re.type==="INITIAL_PUBLISH"&&ye.start(),ye.isActive()&&Vs(Re)&&ye.stop(),be(Re)}}},Bs=function(ve){var ye=!1,be=!1,Re=setTimeout(function(){be=!0}),Ye=function(ct){ye||be||(ye=!0,ve(ct),clearTimeout(Re))};return Ye.wasCalled=function(){return ye},Ye},As=function(){var ve=[],ye=function(Qe){var ct=Zi(ve,function(bn){return bn.timerId===Qe});ct===-1&&un(!1);var vt=ve.splice(ct,1),Qt=vt[0];Qt.callback()},be=function(Qe){var ct=setTimeout(function(){return ye(ct)}),vt={timerId:ct,callback:Qe};ve.push(vt)},Re=function(){if(ve.length){var Qe=[].concat(ve);ve.length=0,Qe.forEach(function(ct){clearTimeout(ct.timerId),ct.callback()})}};return{add:be,flush:Re}},Gs=function(ye,be){return ye==null&&be==null?!0:ye==null||be==null?!1:ye.droppableId===be.droppableId&&ye.index===be.index},Tu=function(ye,be){return ye==null&&be==null?!0:ye==null||be==null?!1:ye.draggableId===be.draggableId&&ye.droppableId===be.droppableId},sa=function(ye,be){if(ye===be)return!0;var Re=ye.draggable.id===be.draggable.id&&ye.draggable.droppableId===be.draggable.droppableId&&ye.draggable.type===be.draggable.type&&ye.draggable.index===be.draggable.index,Ye=ye.droppable.id===be.droppable.id&&ye.droppable.type===be.droppable.type;return Re&&Ye},Ys=function(ye,be){hc(),be(),Au()},Dl=function(ye,be){return{draggableId:ye.draggable.id,type:ye.droppable.type,source:{droppableId:ye.droppable.id,index:ye.draggable.index},mode:be}},su=function(ye,be,Re,Ye){if(!ye){Re(Ye(be));return}var Qe=Bs(Re),ct={announce:Qe};ye(be,ct),Qe.wasCalled()||Re(Ye(be))},pa=function(ve,ye){var be=As(),Re=null,Ye=function(cn,Wn){Re&&un(!1),Ys("onBeforeCapture",function(){var Bi=ve().onBeforeCapture;if(Bi){var Ar={draggableId:cn,mode:Wn};Bi(Ar)}})},Qe=function(cn,Wn){Re&&un(!1),Ys("onBeforeDragStart",function(){var Bi=ve().onBeforeDragStart;Bi&&Bi(Dl(cn,Wn))})},ct=function(cn,Wn){Re&&un(!1);var Bi=Dl(cn,Wn);Re={mode:Wn,lastCritical:cn,lastLocation:Bi.source,lastCombine:null},be.add(function(){Ys("onDragStart",function(){return su(ve().onDragStart,Bi,ye,ja.onDragStart)})})},vt=function(cn,Wn){var Bi=rr(Wn),Ar=qi(Wn);Re||un(!1);var Mr=!sa(cn,Re.lastCritical);Mr&&(Re.lastCritical=cn);var Xr=!Gs(Re.lastLocation,Bi);Xr&&(Re.lastLocation=Bi);var bo=!Tu(Re.lastCombine,Ar);if(bo&&(Re.lastCombine=Ar),!(!Mr&&!Xr&&!bo)){var Go=(0,kt.Z)({},Dl(cn,Re.mode),{combine:Ar,destination:Bi});be.add(function(){Ys("onDragUpdate",function(){return su(ve().onDragUpdate,Go,ye,ja.onDragUpdate)})})}},Qt=function(){Re||un(!1),be.flush()},bn=function(cn){Re||un(!1),Re=null,Ys("onDragEnd",function(){return su(ve().onDragEnd,cn,ye,ja.onDragEnd)})},pn=function(){if(Re){var cn=(0,kt.Z)({},Dl(Re.lastCritical,Re.mode),{combine:null,destination:null,reason:"CANCEL"});bn(cn)}};return{beforeCapture:Ye,beforeStart:Qe,start:ct,update:vt,flush:Qt,drop:bn,abort:pn}},Sl=function(ve,ye){var be=pa(ve,ye);return function(Re){return function(Ye){return function(Qe){if(Qe.type==="BEFORE_INITIAL_CAPTURE"){be.beforeCapture(Qe.payload.draggableId,Qe.payload.movementMode);return}if(Qe.type==="INITIAL_PUBLISH"){var ct=Qe.payload.critical;be.beforeStart(ct,Qe.payload.movementMode),Ye(Qe),be.start(ct,Qe.payload.movementMode);return}if(Qe.type==="DROP_COMPLETE"){var vt=Qe.payload.completed.result;be.flush(),Ye(Qe),be.drop(vt);return}if(Ye(Qe),Qe.type==="FLUSH"){be.abort();return}var Qt=Re.getState();Qt.phase==="DRAGGING"&&be.update(Qt.critical,Qt.impact)}}}},Da=function(ve){return function(ye){return function(be){if(be.type!=="DROP_ANIMATION_FINISHED"){ye(be);return}var Re=ve.getState();Re.phase!=="DROP_ANIMATING"&&un(!1),ve.dispatch(cr({completed:Re.completed}))}}},Gu=function(ve){var ye=null,be=null;function Re(){be&&(cancelAnimationFrame(be),be=null),ye&&(ye(),ye=null)}return function(Ye){return function(Qe){if((Qe.type==="FLUSH"||Qe.type==="DROP_COMPLETE"||Qe.type==="DROP_ANIMATION_FINISHED")&&Re(),Ye(Qe),Qe.type==="DROP_ANIMATE"){var ct={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Qt=ve.getState();Qt.phase==="DROP_ANIMATING"&&ve.dispatch(fo())}};be=requestAnimationFrame(function(){be=null,ye=Cn(window,[ct])})}}}},fc=function(ve){return function(){return function(ye){return function(be){(be.type==="DROP_COMPLETE"||be.type==="FLUSH"||be.type==="DROP_ANIMATE")&&ve.stopPublishing(),ye(be)}}}},$l=function(ve){var ye=!1;return function(){return function(be){return function(Re){if(Re.type==="INITIAL_PUBLISH"){ye=!0,ve.tryRecordFocus(Re.payload.critical.draggable.id),be(Re),ve.tryRestoreFocusRecorded();return}if(be(Re),!!ye){if(Re.type==="FLUSH"){ye=!1,ve.tryRestoreFocusRecorded();return}if(Re.type==="DROP_COMPLETE"){ye=!1;var Ye=Re.payload.completed.result;Ye.combine&&ve.tryShiftRecord(Ye.draggableId,Ye.combine.draggableId),ve.tryRestoreFocusRecorded()}}}}}},Fu=function(ye){return ye.type==="DROP_COMPLETE"||ye.type==="DROP_ANIMATE"||ye.type==="FLUSH"},Lc=function(ve){return function(ye){return function(be){return function(Re){if(Fu(Re)){ve.stop(),be(Re);return}if(Re.type==="INITIAL_PUBLISH"){be(Re);var Ye=ye.getState();Ye.phase!=="DRAGGING"&&un(!1),ve.start(Ye);return}be(Re),ve.scroll(ye.getState())}}}},xl=function(ve){return function(ye){return function(be){if(ye(be),be.type==="PUBLISH_WHILE_DRAGGING"){var Re=ve.getState();Re.phase==="DROP_PENDING"&&(Re.isWaiting||ve.dispatch(lo({reason:Re.reason})))}}}},Ns=Dt.qC,Ou=function(ve){var ye=ve.dimensionMarshal,be=ve.focusMarshal,Re=ve.styleMarshal,Ye=ve.getResponders,Qe=ve.announce,ct=ve.autoScroller;return(0,Dt.MT)(ml,Ns((0,Dt.md)(Ca(Re),fc(ye),tr(ye),Nu,Da,Gu,xl,Lc(ct),Pa,$l(be),Sl(Ye,Qe))))},wa=function(){return{additions:{},removals:{},modified:{}}};function gc(ve){var ye=ve.registry,be=ve.callbacks,Re=wa(),Ye=null,Qe=function(){Ye||(be.collectionStarting(),Ye=requestAnimationFrame(function(){Ye=null,hc();var pn=Re,dn=pn.additions,cn=pn.removals,Wn=pn.modified,Bi=Object.keys(dn).map(function(Xr){return ye.draggable.getById(Xr).getDimension(co)}).sort(function(Xr,bo){return Xr.descriptor.index-bo.descriptor.index}),Ar=Object.keys(Wn).map(function(Xr){var bo=ye.droppable.getById(Xr),Go=bo.callbacks.getScrollWhileDragging();return{droppableId:Xr,scroll:Go}}),Mr={additions:Bi,removals:Object.keys(cn),modified:Ar};Re=wa(),Au(),be.publish(Mr)}))},ct=function(pn){var dn=pn.descriptor.id;Re.additions[dn]=pn,Re.modified[pn.descriptor.droppableId]=!0,Re.removals[dn]&&delete Re.removals[dn],Qe()},vt=function(pn){var dn=pn.descriptor;Re.removals[dn.id]=!0,Re.modified[dn.droppableId]=!0,Re.additions[dn.id]&&delete Re.additions[dn.id],Qe()},Qt=function(){Ye&&(cancelAnimationFrame(Ye),Ye=null,Re=wa())};return{add:ct,remove:vt,stop:Qt}}var eu=function(ve){var ye=ve.scrollHeight,be=ve.scrollWidth,Re=ve.height,Ye=ve.width,Qe=sn({x:be,y:ye},{x:Ye,y:Re}),ct={x:Math.max(0,Qe.x),y:Math.max(0,Qe.y)};return ct},Ds=function(){var ve=document.documentElement;return ve||un(!1),ve},Ts=function(){var ve=Ds(),ye=eu({scrollHeight:ve.scrollHeight,scrollWidth:ve.scrollWidth,width:ve.clientWidth,height:ve.clientHeight});return ye},El=function(){var ve=Rl(),ye=Ts(),be=ve.y,Re=ve.x,Ye=Ds(),Qe=Ye.clientWidth,ct=Ye.clientHeight,vt=Re+Qe,Qt=be+ct,bn=ro({top:be,left:Re,right:vt,bottom:Qt}),pn={frame:bn,scroll:{initial:ve,current:ve,max:ye,diff:{value:co,displacement:co}}};return pn},cl=function(ve){var ye=ve.critical,be=ve.scrollOptions,Re=ve.registry;hc();var Ye=El(),Qe=Ye.scroll.current,ct=ye.droppable,vt=Re.droppable.getAllByType(ct.type).map(function(dn){return dn.callbacks.getDimensionAndWatchScroll(Qe,be)}),Qt=Re.draggable.getAllByType(ye.draggable.type).map(function(dn){return dn.getDimension(Qe)}),bn={draggables:gi(Qt),droppables:Bn(vt)};Au();var pn={dimensions:bn,critical:ye,viewport:Ye};return pn};function tu(ve,ye,be){if(be.descriptor.id===ye.id||be.descriptor.type!==ye.type)return!1;var Re=ve.droppable.getById(be.descriptor.droppableId);return Re.descriptor.mode==="virtual"}var Ia=function(ve,ye){var be=null,Re=gc({callbacks:{publish:ye.publishWhileDragging,collectionStarting:ye.collectionStarting},registry:ve}),Ye=function(Wn,Bi){ve.droppable.exists(Wn)||un(!1),be&&ye.updateDroppableIsEnabled({id:Wn,isEnabled:Bi})},Qe=function(Wn,Bi){be&&(ve.droppable.exists(Wn)||un(!1),ye.updateDroppableIsCombineEnabled({id:Wn,isCombineEnabled:Bi}))},ct=function(Wn,Bi){be&&(ve.droppable.exists(Wn)||un(!1),ye.updateDroppableScroll({id:Wn,newScroll:Bi}))},vt=function(Wn,Bi){be&&ve.droppable.getById(Wn).callbacks.scroll(Bi)},Qt=function(){if(be){Re.stop();var Wn=be.critical.droppable;ve.droppable.getAllByType(Wn.type).forEach(function(Bi){return Bi.callbacks.dragStopped()}),be.unsubscribe(),be=null}},bn=function(Wn){be||un(!1);var Bi=be.critical.draggable;Wn.type==="ADDITION"&&tu(ve,Bi,Wn.value)&&Re.add(Wn.value),Wn.type==="REMOVAL"&&tu(ve,Bi,Wn.value)&&Re.remove(Wn.value)},pn=function(Wn){be&&un(!1);var Bi=ve.draggable.getById(Wn.draggableId),Ar=ve.droppable.getById(Bi.descriptor.droppableId),Mr={draggable:Bi.descriptor,droppable:Ar.descriptor},Xr=ve.subscribe(bn);return be={critical:Mr,unsubscribe:Xr},cl({critical:Mr,registry:ve,scrollOptions:Wn.scrollOptions})},dn={updateDroppableIsEnabled:Ye,updateDroppableIsCombineEnabled:Qe,scrollDroppable:vt,updateDroppableScroll:ct,startPublishing:pn,stopPublishing:Qt};return dn},Ul=function(ve,ye){return ve.phase==="IDLE"?!0:ve.phase!=="DROP_ANIMATING"||ve.completed.result.draggableId===ye?!1:ve.completed.result.reason==="DROP"},fu=function(ve){window.scrollBy(ve.x,ve.y)},Ll=Jn(function(ve){return Ze(ve).filter(function(ye){return!(!ye.isEnabled||!ye.frame)})}),gu=function(ye,be){var Re=xr(Ll(be),function(Ye){return Ye.frame||un(!1),Pd(Ye.frame.pageMarginBox)(ye)});return Re},Qu=function(ve){var ye=ve.center,be=ve.destination,Re=ve.droppables;if(be){var Ye=Re[be];return Ye.frame?Ye:null}var Qe=gu(ye,Re);return Qe},Zs={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ye){return Math.pow(ye,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Iu=function(ve,ye){var be=ve[ye.size]*Zs.startFromPercentage,Re=ve[ye.size]*Zs.maxScrollAtPercentage,Ye={startScrollingFrom:be,maxScrollValueAt:Re};return Ye},ha=function(ve){var ye=ve.startOfRange,be=ve.endOfRange,Re=ve.current,Ye=be-ye;if(Ye===0)return 0;var Qe=Re-ye,ct=Qe/Ye;return ct},Ps=1,Mc=function(ve,ye){if(ve>ye.startScrollingFrom)return 0;if(ve<=ye.maxScrollValueAt)return Zs.maxPixelScroll;if(ve===ye.startScrollingFrom)return Ps;var be=ha({startOfRange:ye.maxScrollValueAt,endOfRange:ye.startScrollingFrom,current:ve}),Re=1-be,Ye=Zs.maxPixelScroll*Zs.ease(Re);return Math.ceil(Ye)},Ju=Zs.durationDampening.accelerateAt,nu=Zs.durationDampening.stopDampeningAt,pc=function(ve,ye){var be=ye,Re=nu,Ye=Date.now(),Qe=Ye-be;if(Qe>=nu)return ve;if(Qeye.height,Qe=be.width>ye.width;return!Qe&&!Ye?Re:Qe&&Ye?null:{x:Qe?0:Re.x,y:Ye?0:Re.y}},Sa=lr(function(ve){return ve===0?0:ve}),Ao=function(ve){var ye=ve.dragStartTime,be=ve.container,Re=ve.subject,Ye=ve.center,Qe=ve.shouldUseTimeDampening,ct={top:Ye.y-be.top,right:be.right-Ye.x,bottom:be.bottom-Ye.y,left:Ye.x-be.left},vt=fh({container:be,distanceToEdges:ct,dragStartTime:ye,axis:pi,shouldUseTimeDampening:Qe}),Qt=fh({container:be,distanceToEdges:ct,dragStartTime:ye,axis:ho,shouldUseTimeDampening:Qe}),bn=Sa({x:Qt,y:vt});if(Vt(bn,co))return null;var pn=kc({container:be,subject:Re,proposedScroll:bn});return pn?Vt(pn,co)?null:pn:null},Qa=lr(function(ve){return ve===0?0:ve>0?1:-1}),rl=function(){var ve=function(be,Re){return be<0?be:be>Re?be-Re:0};return function(ye){var be=ye.current,Re=ye.max,Ye=ye.change,Qe=Kr(be,Ye),ct={x:ve(Qe.x,Re.x),y:ve(Qe.y,Re.y)};return Vt(ct,co)?null:ct}}(),oc=function(ye){var be=ye.max,Re=ye.current,Ye=ye.change,Qe={x:Math.max(Re.x,be.x),y:Math.max(Re.y,be.y)},ct=Qa(Ye),vt=rl({max:Qe,current:Re,change:ct});return!vt||ct.x!==0&&vt.x===0||ct.y!==0&&vt.y===0},td=function(ye,be){return oc({current:ye.scroll.current,max:ye.scroll.max,change:be})},dd=function(ye,be){if(!td(ye,be))return null;var Re=ye.scroll.max,Ye=ye.scroll.current;return rl({current:Ye,max:Re,change:be})},Zc=function(ye,be){var Re=ye.frame;return Re?oc({current:Re.scroll.current,max:Re.scroll.max,change:be}):!1},Hl=function(ye,be){var Re=ye.frame;return!Re||!Zc(ye,be)?null:rl({current:Re.scroll.current,max:Re.scroll.max,change:be})},ka=function(ve){var ye=ve.viewport,be=ve.subject,Re=ve.center,Ye=ve.dragStartTime,Qe=ve.shouldUseTimeDampening,ct=Ao({dragStartTime:Ye,container:ye.frame,subject:be,center:Re,shouldUseTimeDampening:Qe});return ct&&td(ye,ct)?ct:null},Ra=function(ve){var ye=ve.droppable,be=ve.subject,Re=ve.center,Ye=ve.dragStartTime,Qe=ve.shouldUseTimeDampening,ct=ye.frame;if(!ct)return null;var vt=Ao({dragStartTime:Ye,container:ct.pageMarginBox,subject:be,center:Re,shouldUseTimeDampening:Qe});return vt&&Zc(ye,vt)?vt:null},vc=function(ve){var ye=ve.state,be=ve.dragStartTime,Re=ve.shouldUseTimeDampening,Ye=ve.scrollWindow,Qe=ve.scrollDroppable,ct=ye.current.page.borderBoxCenter,vt=ye.dimensions.draggables[ye.critical.draggable.id],Qt=vt.page.marginBox;if(ye.isWindowScrollAllowed){var bn=ye.viewport,pn=ka({dragStartTime:be,viewport:bn,subject:Qt,center:ct,shouldUseTimeDampening:Re});if(pn){Ye(pn);return}}var dn=Qu({center:ct,destination:Ol(ye.impact),droppables:ye.dimensions.droppables});if(dn){var cn=Ra({dragStartTime:be,droppable:dn,subject:Qt,center:ct,shouldUseTimeDampening:Re});cn&&Qe(dn.descriptor.id,cn)}},ac=function(ve){var ye=ve.scrollWindow,be=ve.scrollDroppable,Re=tn(ye),Ye=tn(be),Qe=null,ct=function(pn){Qe||un(!1);var dn=Qe,cn=dn.shouldUseTimeDampening,Wn=dn.dragStartTime;vc({state:pn,scrollWindow:Re,scrollDroppable:Ye,dragStartTime:Wn,shouldUseTimeDampening:cn})},vt=function(pn){hc(),Qe&&un(!1);var dn=Date.now(),cn=!1,Wn=function(){cn=!0};vc({state:pn,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Wn,scrollDroppable:Wn}),Qe={dragStartTime:dn,shouldUseTimeDampening:cn},Au(),cn&&ct(pn)},Qt=function(){Qe&&(Re.cancel(),Ye.cancel(),Qe=null)};return{start:vt,stop:Qt,scroll:ct}},hd=function(ve){var ye=ve.move,be=ve.scrollDroppable,Re=ve.scrollWindow,Ye=function(bn,pn){var dn=Kr(bn.current.client.selection,pn);ye({client:dn})},Qe=function(bn,pn){if(!Zc(bn,pn))return pn;var dn=Hl(bn,pn);if(!dn)return be(bn.descriptor.id,pn),null;var cn=sn(pn,dn);be(bn.descriptor.id,cn);var Wn=sn(pn,cn);return Wn},ct=function(bn,pn,dn){if(!bn||!td(pn,dn))return dn;var cn=dd(pn,dn);if(!cn)return Re(dn),null;var Wn=sn(dn,cn);Re(Wn);var Bi=sn(dn,Wn);return Bi},vt=function(bn){var pn=bn.scrollJumpRequest;if(pn){var dn=Ol(bn.impact);dn||un(!1);var cn=Qe(bn.dimensions.droppables[dn],pn);if(cn){var Wn=bn.viewport,Bi=ct(bn.isWindowScrollAllowed,Wn,cn);Bi&&Ye(bn,Bi)}}};return vt},Wh=function(ve){var ye=ve.scrollDroppable,be=ve.scrollWindow,Re=ve.move,Ye=ac({scrollWindow:be,scrollDroppable:ye}),Qe=hd({move:Re,scrollWindow:be,scrollDroppable:ye}),ct=function(bn){if(bn.phase==="DRAGGING"){if(bn.movementMode==="FLUID"){Ye.scroll(bn);return}bn.scrollJumpRequest&&Qe(bn)}},vt={scroll:ct,start:Ye.start,stop:Ye.stop};return vt},qu="data-rbd",$u=function(){var ve=qu+"-drag-handle";return{base:ve,draggableId:ve+"-draggable-id",contextId:ve+"-context-id"}}(),Wd=function(){var ve=qu+"-draggable";return{base:ve,contextId:ve+"-context-id",id:ve+"-id"}}(),$d=function(){var ve=qu+"-droppable";return{base:ve,contextId:ve+"-context-id",id:ve+"-id"}}(),Pu={contextId:qu+"-scroll-container-context-id"},Nc=function(ye){return function(be){return"["+be+'="'+ye+'"]'}},ol=function(ye,be){return ye.map(function(Re){var Ye=Re.styles[be];return Ye?Re.selector+" { "+Ye+" }":""}).join(" ")},la="pointer-events: none;",pu=function(ve){var ye=Nc(ve),be=function(){var vt=` + `},ja={dragHandleUsageInstructions:Ii,onDragStart:si,onDragUpdate:Qr,onDragEnd:Nn},co={x:0,y:0},Kr=function(ye,be){return{x:ye.x+be.x,y:ye.y+be.y}},sn=function(ye,be){return{x:ye.x-be.x,y:ye.y-be.y}},Vt=function(ye,be){return ye.x===be.x&&ye.y===be.y},hn=function(ye){return{x:ye.x!==0?-ye.x:0,y:ye.y!==0?-ye.y:0}},Xt=function(ye,be,Re){var Ye;return Re===void 0&&(Re=0),Ye={},Ye[ye]=be,Ye[ye==="x"?"y":"x"]=Re,Ye},Vn=function(ye,be){return Math.sqrt(Math.pow(be.x-ye.x,2)+Math.pow(be.y-ye.y,2))},er=function(ye,be){return Math.min.apply(Math,be.map(function(Re){return Vn(ye,Re)}))},lr=function(ye){return function(be){return{x:ye(be.x),y:ye(be.y)}}},ui=function(ve,ye){var be=ro({top:Math.max(ye.top,ve.top),right:Math.min(ye.right,ve.right),bottom:Math.min(ye.bottom,ve.bottom),left:Math.max(ye.left,ve.left)});return be.width<=0||be.height<=0?null:be},Ci=function(ye,be){return{top:ye.top+be.y,left:ye.left+be.x,bottom:ye.bottom+be.y,right:ye.right+be.x}},Yn=function(ye){return[{x:ye.left,y:ye.top},{x:ye.right,y:ye.top},{x:ye.left,y:ye.bottom},{x:ye.right,y:ye.bottom}]},ln={top:0,right:0,bottom:0,left:0},_r=function(ye,be){return be?Ci(ye,be.scroll.diff.displacement):ye},Rn=function(ye,be,Re){if(Re&&Re.increasedBy){var Ye;return(0,kt.Z)({},ye,(Ye={},Ye[be.end]=ye[be.end]+Re.increasedBy[be.line],Ye))}return ye},Ir=function(ye,be){return be&&be.shouldClipSubject?ui(be.pageMarginBox,ye):ro(ye)},Or=function(ve){var ye=ve.page,be=ve.withPlaceholder,Re=ve.axis,Ye=ve.frame,Qe=_r(ye.marginBox,Ye),ct=Rn(Qe,Re,be),vt=Ir(ct,Ye);return{page:ye,withPlaceholder:be,active:vt}},fr=function(ve,ye){ve.frame||un(!1);var be=ve.frame,Re=sn(ye,be.scroll.initial),Ye=hn(Re),Qe=(0,kt.Z)({},be,{scroll:{initial:be.scroll.initial,current:ye,diff:{value:Re,displacement:Ye},max:be.scroll.max}}),ct=Or({page:ve.subject.page,withPlaceholder:ve.subject.withPlaceholder,axis:ve.axis,frame:Qe}),vt=(0,kt.Z)({},ve,{frame:Qe,subject:ct});return vt};function Bo(ve){return Number.isInteger?Number.isInteger(ve):typeof ve=="number"&&isFinite(ve)&&Math.floor(ve)===ve}function Zr(ve){return Object.values?Object.values(ve):Object.keys(ve).map(function(ye){return ve[ye]})}function Zi(ve,ye){if(ve.findIndex)return ve.findIndex(ye);for(var be=0;beve.bottom,bn=Re.leftve.right,pn=qt&&bn;if(pn)return!0;var dn=qt&&ct||bn&&Qe;return dn}},Rr=function(ve){var ye=za(ve.top,ve.bottom),be=za(ve.left,ve.right);return function(Re){var Ye=ye(Re.top)&&ye(Re.bottom)&&be(Re.left)&&be(Re.right);return Ye}},pi={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ho={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Ba=function(ve){return function(ye){var be=za(ye.top,ye.bottom),Re=za(ye.left,ye.right);return function(Ye){return ve===pi?be(Ye.top)&&be(Ye.bottom):Re(Ye.left)&&Re(Ye.right)}}},Ws=function(ye,be){var Re=be.frame?be.frame.scroll.diff.displacement:co;return Ci(ye,Re)},Xa=function(ye,be,Re){return be.subject.active?Re(be.subject.active)(ye):!1},ua=function(ye,be,Re){return Re(be)(ye)},Ta=function(ye){var be=ye.target,Re=ye.destination,Ye=ye.viewport,Qe=ye.withDroppableDisplacement,ct=ye.isVisibleThroughFrameFn,vt=Qe?Ws(be,Re):be;return Xa(vt,Re,ct)&&ua(vt,Ye,ct)},Ls=function(ye){return Ta((0,kt.Z)({},ye,{isVisibleThroughFrameFn:kr}))},ll=function(ye){return Ta((0,kt.Z)({},ye,{isVisibleThroughFrameFn:Rr}))},Qt=function(ye){return Ta((0,kt.Z)({},ye,{isVisibleThroughFrameFn:Ba(ye.destination.axis)}))},Va=function(ye,be,Re){if(typeof Re=="boolean")return Re;if(!be)return!0;var Ye=be.invisible,Qe=be.visible;if(Ye[ye])return!1;var ct=Qe[ye];return ct?ct.shouldAnimate:!0};function rn(ve,ye){var be=ve.page.marginBox,Re={top:ye.point.y,right:0,bottom:0,left:ye.point.x};return ro(Wo(be,Re))}function Ss(ve){var ye=ve.afterDragging,be=ve.destination,Re=ve.displacedBy,Ye=ve.viewport,Qe=ve.forceShouldAnimate,ct=ve.last;return ye.reduce(function(qt,bn){var pn=rn(bn,Re),dn=bn.descriptor.id;qt.all.push(dn);var cn=Ls({target:pn,destination:be,viewport:Ye,withDroppableDisplacement:!0});if(!cn)return qt.invisible[bn.descriptor.id]=!0,qt;var Wn=Va(dn,ct,Qe),Bi={draggableId:dn,shouldAnimate:Wn};return qt.visible[dn]=Bi,qt},{all:[],visible:{},invisible:{}})}function yu(ve,ye){if(!ve.length)return 0;var be=ve[ve.length-1].descriptor.index;return ye.inHomeList?be:be+1}function fl(ve){var ye=ve.insideDestination,be=ve.inHomeList,Re=ve.displacedBy,Ye=ve.destination,Qe=yu(ye,{inHomeList:be});return{displaced:_o,displacedBy:Re,at:{type:"REORDER",destination:{droppableId:Ye.descriptor.id,index:Qe}}}}function Vl(ve){var ye=ve.draggable,be=ve.insideDestination,Re=ve.destination,Ye=ve.viewport,Qe=ve.displacedBy,ct=ve.last,vt=ve.index,qt=ve.forceShouldAnimate,bn=ys(ye,Re);if(vt==null)return fl({insideDestination:be,inHomeList:bn,displacedBy:Qe,destination:Re});var pn=xr(be,function(Ar){return Ar.descriptor.index===vt});if(!pn)return fl({insideDestination:be,inHomeList:bn,displacedBy:Qe,destination:Re});var dn=Xi(ye,be),cn=be.indexOf(pn),Wn=dn.slice(cn),Bi=Ss({afterDragging:Wn,destination:Re,displacedBy:Qe,last:ct,viewport:Ye.frame,forceShouldAnimate:qt});return{displaced:Bi,displacedBy:Qe,at:{type:"REORDER",destination:{droppableId:Re.descriptor.id,index:vt}}}}function is(ve,ye){return!!ye.effected[ve]}var kl=function(ve){var ye=ve.isMovingForward,be=ve.destination,Re=ve.draggables,Ye=ve.combine,Qe=ve.afterCritical;if(!be.isCombineEnabled)return null;var ct=Ye.draggableId,vt=Re[ct],qt=vt.descriptor.index,bn=is(ct,Qe);return bn?ye?qt:qt-1:ye?qt+1:qt},Nl=function(ve){var ye=ve.isMovingForward,be=ve.isInHomeList,Re=ve.insideDestination,Ye=ve.location;if(!Re.length)return null;var Qe=Ye.index,ct=ye?Qe+1:Qe-1,vt=Re[0].descriptor.index,qt=Re[Re.length-1].descriptor.index,bn=be?qt:qt+1;return ctbn?null:ct},ga=function(ve){var ye=ve.isMovingForward,be=ve.isInHomeList,Re=ve.draggable,Ye=ve.draggables,Qe=ve.destination,ct=ve.insideDestination,vt=ve.previousImpact,qt=ve.viewport,bn=ve.afterCritical,pn=vt.at;if(pn||un(!1),pn.type==="REORDER"){var dn=Nl({isMovingForward:ye,isInHomeList:be,location:pn.destination,insideDestination:ct});return dn==null?null:Vl({draggable:Re,insideDestination:ct,destination:Qe,viewport:qt,last:vt.displaced,displacedBy:vt.displacedBy,index:dn})}var cn=kl({isMovingForward:ye,destination:Qe,displaced:vt.displaced,draggables:Ye,combine:pn.combine,afterCritical:bn});return cn==null?null:Vl({draggable:Re,insideDestination:ct,destination:Qe,viewport:qt,last:vt.displaced,displacedBy:vt.displacedBy,index:cn})},gl=function(ve){var ye=ve.displaced,be=ve.afterCritical,Re=ve.combineWith,Ye=ve.displacedBy,Qe=!!(ye.visible[Re]||ye.invisible[Re]);return is(Re,be)?Qe?co:hn(Ye.point):Qe?Ye.point:co},Vc=function(ve){var ye=ve.afterCritical,be=ve.impact,Re=ve.draggables,Ye=qi(be);Ye||un(!1);var Qe=Ye.draggableId,ct=Re[Qe].page.borderBox.center,vt=gl({displaced:be.displaced,afterCritical:ye,combineWith:Qe,displacedBy:be.displacedBy});return Kr(ct,vt)},du=function(ye,be){return be.margin[ye.start]+be.borderBox[ye.size]/2},Su=function(ye,be){return be.margin[ye.end]+be.borderBox[ye.size]/2},xu=function(ye,be,Re){return be[ye.crossAxisStart]+Re.margin[ye.crossAxisStart]+Re.borderBox[ye.crossAxisSize]/2},ao=function(ye){var be=ye.axis,Re=ye.moveRelativeTo,Ye=ye.isMoving;return Xt(be.line,Re.marginBox[be.end]+du(be,Ye),xu(be,Re.marginBox,Ye))},xd=function(ye){var be=ye.axis,Re=ye.moveRelativeTo,Ye=ye.isMoving;return Xt(be.line,Re.marginBox[be.start]-Su(be,Ye),xu(be,Re.marginBox,Ye))},Ed=function(ye){var be=ye.axis,Re=ye.moveInto,Ye=ye.isMoving;return Xt(be.line,Re.contentBox[be.start]+du(be,Ye),xu(be,Re.contentBox,Ye))},Bc=function(ve){var ye=ve.impact,be=ve.draggable,Re=ve.draggables,Ye=ve.droppable,Qe=ve.afterCritical,ct=no(Ye.descriptor.id,Re),vt=be.page,qt=Ye.axis;if(!ct.length)return Ed({axis:qt,moveInto:Ye.page,isMoving:vt});var bn=ye.displaced,pn=ye.displacedBy,dn=bn.all[0];if(dn){var cn=Re[dn];if(is(dn,Qe))return xd({axis:qt,moveRelativeTo:cn.page,isMoving:vt});var Wn=Tr(cn.page,pn.point);return xd({axis:qt,moveRelativeTo:Wn,isMoving:vt})}var Bi=ct[ct.length-1];if(Bi.descriptor.id===be.descriptor.id)return vt.borderBox.center;if(is(Bi.descriptor.id,Qe)){var Ar=Tr(Bi.page,hn(Qe.displacedBy.point));return ao({axis:qt,moveRelativeTo:Ar,isMoving:vt})}return ao({axis:qt,moveRelativeTo:Bi.page,isMoving:vt})},Od=function(ve,ye){var be=ve.frame;return be?Kr(ye,be.scroll.diff.displacement):ye},Nh=function(ye){var be=ye.impact,Re=ye.draggable,Ye=ye.droppable,Qe=ye.draggables,ct=ye.afterCritical,vt=Re.page.borderBox.center,qt=be.at;return!Ye||!qt?vt:qt.type==="REORDER"?Bc({impact:be,draggable:Re,draggables:Qe,droppable:Ye,afterCritical:ct}):Vc({impact:be,draggables:Qe,afterCritical:ct})},ir=function(ve){var ye=Nh(ve),be=ve.droppable,Re=be?Od(be,ye):ye;return Re},il=function(ve,ye){var be=sn(ye,ve.scroll.initial),Re=hn(be),Ye=ro({top:ye.y,bottom:ye.y+ve.frame.height,left:ye.x,right:ye.x+ve.frame.width}),Qe={frame:Ye,scroll:{initial:ve.scroll.initial,max:ve.scroll.max,current:ye,diff:{value:be,displacement:Re}}};return Qe};function bl(ve,ye){return ve.map(function(be){return ye[be]})}function wr(ve,ye){for(var be=0;be1?pn.sort(function(dn,cn){return xs(dn)[vt.start]-xs(cn)[vt.start]})[0]:bn.sort(function(dn,cn){var Wn=er(be,Yn(xs(dn))),Bi=er(be,Yn(xs(cn)));return Wn!==Bi?Wn-Bi:xs(dn)[vt.start]-xs(cn)[vt.start]})[0]},ic=function(ye,be){var Re=ye.page.borderBox.center;return is(ye.descriptor.id,be)?sn(Re,be.displacedBy.point):Re},Ms=function(ye,be){var Re=ye.page.borderBox;return is(ye.descriptor.id,be)?Ci(Re,hn(be.displacedBy.point)):Re},Tl=function(ve){var ye=ve.pageBorderBoxCenter,be=ve.viewport,Re=ve.destination,Ye=ve.insideDestination,Qe=ve.afterCritical,ct=Ye.filter(function(vt){return ll({target:Ms(vt,Qe),destination:Re,viewport:be.frame,withDroppableDisplacement:!0})}).sort(function(vt,qt){var bn=Vn(ye,Od(Re,ic(vt,Qe))),pn=Vn(ye,Od(Re,ic(qt,Qe)));return bnye.left&&ve.topye.top}function qh(ve){var ye=ve.pageBorderBox,be=ve.draggable,Re=ve.candidates,Ye=be.page.borderBox.center,Qe=Re.map(function(ct){var vt=ct.axis,qt=Xt(ct.axis.line,ye.center[vt.line],ct.page.borderBox.center[vt.crossAxisLine]);return{id:ct.descriptor.id,distance:Vn(Ye,qt)}}).sort(function(ct,vt){return vt.distance-ct.distance});return Qe[0]?Qe[0].id:null}function xf(ve){var ye=ve.pageBorderBox,be=ve.draggable,Re=ve.droppables,Ye=Ze(Re).filter(function(Qe){if(!Qe.isEnabled)return!1;var ct=Qe.subject.active;if(!ct||!Zl(ye,ct))return!1;if(Pd(ct)(ye.center))return!0;var vt=Qe.axis,qt=ct.center[vt.crossAxisLine],bn=ye[vt.crossAxisStart],pn=ye[vt.crossAxisEnd],dn=za(ct[vt.crossAxisStart],ct[vt.crossAxisEnd]),cn=dn(bn),Wn=dn(pn);return!cn&&!Wn?!0:cn?bnqt});return Ye.length?Ye.length===1?Ye[0].descriptor.id:qh({pageBorderBox:ye,draggable:be,candidates:Ye}):null}var wd=function(ye,be){return ro(Ci(ye,be))},hh=function(ve,ye){var be=ve.frame;return be?wd(ye,be.scroll.diff.value):ye};function Vu(ve){var ye=ve.displaced,be=ve.id;return!!(ye.visible[be]||ye.invisible[be])}function _u(ve){var ye=ve.draggable,be=ve.closest,Re=ve.inHomeList;return be?Re&&be.descriptor.index>ye.descriptor.index?be.descriptor.index-1:be.descriptor.index:null}var ul=function(ve){var ye=ve.pageBorderBoxWithDroppableScroll,be=ve.draggable,Re=ve.destination,Ye=ve.insideDestination,Qe=ve.last,ct=ve.viewport,vt=ve.afterCritical,qt=Re.axis,bn=Gl(Re.axis,be.displaceBy),pn=bn.value,dn=ye[qt.start],cn=ye[qt.end],Wn=Xi(be,Ye),Bi=xr(Wn,function(Mr){var Xr=Mr.descriptor.id,bo=Mr.page.borderBox.center[qt.line],Go=is(Xr,vt),zo=Vu({displaced:Qe,id:Xr});return Go?zo?cn<=bo:dnXr[vt.start]+Go&&dnXr[vt.start]-bn+Go&&pnXr[vt.start]+bn+Go&&dnXr[vt.start]+Go&&pn=_s)return ss;var Qe=Ye/_s,ct=Ga+ks*Qe,vt=Re==="CANCEL"?ct*ds:ct;return Number(vt.toFixed(2))},vl=function(ve){var ye=ve.impact,be=ve.draggable,Re=ve.dimensions,Ye=ve.viewport,Qe=ve.afterCritical,ct=Re.draggables,vt=Re.droppables,qt=Ol(ye),bn=qt?vt[qt]:null,pn=vt[be.descriptor.droppableId],dn=Bt({impact:ye,draggable:be,draggables:ct,afterCritical:Qe,droppable:bn||pn,viewport:Ye}),cn=sn(dn,be.client.borderBox.center);return cn},yl=function(ve){var ye=ve.draggables,be=ve.reason,Re=ve.lastImpact,Ye=ve.home,Qe=ve.viewport,ct=ve.onLiftImpact;if(!Re.at||be!=="DROP"){var vt=Ih({draggables:ye,impact:ct,destination:Ye,viewport:Qe,forceShouldAnimate:!0});return{impact:vt,didDropInsideDroppable:!1}}if(Re.at.type==="REORDER")return{impact:Re,didDropInsideDroppable:!0};var qt=(0,kt.Z)({},Re,{displaced:_o});return{impact:qt,didDropInsideDroppable:!0}},Nu=function(ve){var ye=ve.getState,be=ve.dispatch;return function(Re){return function(Ye){if(Ye.type!=="DROP"){Re(Ye);return}var Qe=ye(),ct=Ye.payload.reason;if(Qe.phase==="COLLECTING"){be(Hr({reason:ct}));return}if(Qe.phase!=="IDLE"){var vt=Qe.phase==="DROP_PENDING"&&Qe.isWaiting;vt&&un(!1),Qe.phase==="DRAGGING"||Qe.phase==="DROP_PENDING"||un(!1);var qt=Qe.critical,bn=Qe.dimensions,pn=bn.draggables[Qe.critical.draggable.id],dn=yl({reason:ct,lastImpact:Qe.impact,afterCritical:Qe.afterCritical,onLiftImpact:Qe.onLiftImpact,home:Qe.dimensions.droppables[Qe.critical.droppable.id],viewport:Qe.viewport,draggables:Qe.dimensions.draggables}),cn=dn.impact,Wn=dn.didDropInsideDroppable,Bi=Wn?rr(cn):null,Ar=Wn?qi(cn):null,Mr={index:qt.draggable.index,droppableId:qt.droppable.id},Xr={draggableId:pn.descriptor.id,type:pn.descriptor.type,source:Mr,reason:ct,mode:Qe.movementMode,destination:Bi,combine:Ar},bo=vl({impact:cn,draggable:pn,dimensions:bn,viewport:Qe.viewport,afterCritical:Qe.afterCritical}),Go={critical:Qe.critical,afterCritical:Qe.afterCritical,result:Xr,impact:cn},zo=!Vt(Qe.current.client.offset,bo)||!!Xr.combine;if(!zo){be(cr({completed:Go}));return}var va=zs({current:Qe.current.client.offset,destination:bo,reason:ct}),ps={newHomeClientOffset:bo,dropDuration:va,completed:Go};be(ji(ps))}}}},Rl=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Eu(ve){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(be){be.target!==window&&be.target!==window.document||ve()}}}function Ma(ve){var ye=ve.onWindowScroll;function be(){ye(Rl())}var Re=nn(be),Ye=Eu(Re),Qe=Et;function ct(){return Qe!==Et}function vt(){ct()&&un(!1),Qe=Cn(window,[Ye])}function qt(){ct()||un(!1),Re.cancel(),Qe(),Qe=Et}return{start:vt,stop:qt,isActive:ct}}var Vs=function(ye){return ye.type==="DROP_COMPLETE"||ye.type==="DROP_ANIMATE"||ye.type==="FLUSH"},Pa=function(ve){var ye=Ma({onWindowScroll:function(Re){ve.dispatch(xi({newScroll:Re}))}});return function(be){return function(Re){!ye.isActive()&&Re.type==="INITIAL_PUBLISH"&&ye.start(),ye.isActive()&&Vs(Re)&&ye.stop(),be(Re)}}},Bs=function(ve){var ye=!1,be=!1,Re=setTimeout(function(){be=!0}),Ye=function(ct){ye||be||(ye=!0,ve(ct),clearTimeout(Re))};return Ye.wasCalled=function(){return ye},Ye},As=function(){var ve=[],ye=function(Qe){var ct=Zi(ve,function(bn){return bn.timerId===Qe});ct===-1&&un(!1);var vt=ve.splice(ct,1),qt=vt[0];qt.callback()},be=function(Qe){var ct=setTimeout(function(){return ye(ct)}),vt={timerId:ct,callback:Qe};ve.push(vt)},Re=function(){if(ve.length){var Qe=[].concat(ve);ve.length=0,Qe.forEach(function(ct){clearTimeout(ct.timerId),ct.callback()})}};return{add:be,flush:Re}},Gs=function(ye,be){return ye==null&&be==null?!0:ye==null||be==null?!1:ye.droppableId===be.droppableId&&ye.index===be.index},Tu=function(ye,be){return ye==null&&be==null?!0:ye==null||be==null?!1:ye.draggableId===be.draggableId&&ye.droppableId===be.droppableId},sa=function(ye,be){if(ye===be)return!0;var Re=ye.draggable.id===be.draggable.id&&ye.draggable.droppableId===be.draggable.droppableId&&ye.draggable.type===be.draggable.type&&ye.draggable.index===be.draggable.index,Ye=ye.droppable.id===be.droppable.id&&ye.droppable.type===be.droppable.type;return Re&&Ye},Ys=function(ye,be){hc(),be(),Au()},Dl=function(ye,be){return{draggableId:ye.draggable.id,type:ye.droppable.type,source:{droppableId:ye.droppable.id,index:ye.draggable.index},mode:be}},su=function(ye,be,Re,Ye){if(!ye){Re(Ye(be));return}var Qe=Bs(Re),ct={announce:Qe};ye(be,ct),Qe.wasCalled()||Re(Ye(be))},pa=function(ve,ye){var be=As(),Re=null,Ye=function(cn,Wn){Re&&un(!1),Ys("onBeforeCapture",function(){var Bi=ve().onBeforeCapture;if(Bi){var Ar={draggableId:cn,mode:Wn};Bi(Ar)}})},Qe=function(cn,Wn){Re&&un(!1),Ys("onBeforeDragStart",function(){var Bi=ve().onBeforeDragStart;Bi&&Bi(Dl(cn,Wn))})},ct=function(cn,Wn){Re&&un(!1);var Bi=Dl(cn,Wn);Re={mode:Wn,lastCritical:cn,lastLocation:Bi.source,lastCombine:null},be.add(function(){Ys("onDragStart",function(){return su(ve().onDragStart,Bi,ye,ja.onDragStart)})})},vt=function(cn,Wn){var Bi=rr(Wn),Ar=qi(Wn);Re||un(!1);var Mr=!sa(cn,Re.lastCritical);Mr&&(Re.lastCritical=cn);var Xr=!Gs(Re.lastLocation,Bi);Xr&&(Re.lastLocation=Bi);var bo=!Tu(Re.lastCombine,Ar);if(bo&&(Re.lastCombine=Ar),!(!Mr&&!Xr&&!bo)){var Go=(0,kt.Z)({},Dl(cn,Re.mode),{combine:Ar,destination:Bi});be.add(function(){Ys("onDragUpdate",function(){return su(ve().onDragUpdate,Go,ye,ja.onDragUpdate)})})}},qt=function(){Re||un(!1),be.flush()},bn=function(cn){Re||un(!1),Re=null,Ys("onDragEnd",function(){return su(ve().onDragEnd,cn,ye,ja.onDragEnd)})},pn=function(){if(Re){var cn=(0,kt.Z)({},Dl(Re.lastCritical,Re.mode),{combine:null,destination:null,reason:"CANCEL"});bn(cn)}};return{beforeCapture:Ye,beforeStart:Qe,start:ct,update:vt,flush:qt,drop:bn,abort:pn}},Sl=function(ve,ye){var be=pa(ve,ye);return function(Re){return function(Ye){return function(Qe){if(Qe.type==="BEFORE_INITIAL_CAPTURE"){be.beforeCapture(Qe.payload.draggableId,Qe.payload.movementMode);return}if(Qe.type==="INITIAL_PUBLISH"){var ct=Qe.payload.critical;be.beforeStart(ct,Qe.payload.movementMode),Ye(Qe),be.start(ct,Qe.payload.movementMode);return}if(Qe.type==="DROP_COMPLETE"){var vt=Qe.payload.completed.result;be.flush(),Ye(Qe),be.drop(vt);return}if(Ye(Qe),Qe.type==="FLUSH"){be.abort();return}var qt=Re.getState();qt.phase==="DRAGGING"&&be.update(qt.critical,qt.impact)}}}},Da=function(ve){return function(ye){return function(be){if(be.type!=="DROP_ANIMATION_FINISHED"){ye(be);return}var Re=ve.getState();Re.phase!=="DROP_ANIMATING"&&un(!1),ve.dispatch(cr({completed:Re.completed}))}}},Gu=function(ve){var ye=null,be=null;function Re(){be&&(cancelAnimationFrame(be),be=null),ye&&(ye(),ye=null)}return function(Ye){return function(Qe){if((Qe.type==="FLUSH"||Qe.type==="DROP_COMPLETE"||Qe.type==="DROP_ANIMATION_FINISHED")&&Re(),Ye(Qe),Qe.type==="DROP_ANIMATE"){var ct={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var qt=ve.getState();qt.phase==="DROP_ANIMATING"&&ve.dispatch(fo())}};be=requestAnimationFrame(function(){be=null,ye=Cn(window,[ct])})}}}},fc=function(ve){return function(){return function(ye){return function(be){(be.type==="DROP_COMPLETE"||be.type==="FLUSH"||be.type==="DROP_ANIMATE")&&ve.stopPublishing(),ye(be)}}}},$l=function(ve){var ye=!1;return function(){return function(be){return function(Re){if(Re.type==="INITIAL_PUBLISH"){ye=!0,ve.tryRecordFocus(Re.payload.critical.draggable.id),be(Re),ve.tryRestoreFocusRecorded();return}if(be(Re),!!ye){if(Re.type==="FLUSH"){ye=!1,ve.tryRestoreFocusRecorded();return}if(Re.type==="DROP_COMPLETE"){ye=!1;var Ye=Re.payload.completed.result;Ye.combine&&ve.tryShiftRecord(Ye.draggableId,Ye.combine.draggableId),ve.tryRestoreFocusRecorded()}}}}}},Fu=function(ye){return ye.type==="DROP_COMPLETE"||ye.type==="DROP_ANIMATE"||ye.type==="FLUSH"},Lc=function(ve){return function(ye){return function(be){return function(Re){if(Fu(Re)){ve.stop(),be(Re);return}if(Re.type==="INITIAL_PUBLISH"){be(Re);var Ye=ye.getState();Ye.phase!=="DRAGGING"&&un(!1),ve.start(Ye);return}be(Re),ve.scroll(ye.getState())}}}},xl=function(ve){return function(ye){return function(be){if(ye(be),be.type==="PUBLISH_WHILE_DRAGGING"){var Re=ve.getState();Re.phase==="DROP_PENDING"&&(Re.isWaiting||ve.dispatch(lo({reason:Re.reason})))}}}},Ns=Dt.qC,Ou=function(ve){var ye=ve.dimensionMarshal,be=ve.focusMarshal,Re=ve.styleMarshal,Ye=ve.getResponders,Qe=ve.announce,ct=ve.autoScroller;return(0,Dt.MT)(ml,Ns((0,Dt.md)(Ca(Re),fc(ye),tr(ye),Nu,Da,Gu,xl,Lc(ct),Pa,$l(be),Sl(Ye,Qe))))},wa=function(){return{additions:{},removals:{},modified:{}}};function gc(ve){var ye=ve.registry,be=ve.callbacks,Re=wa(),Ye=null,Qe=function(){Ye||(be.collectionStarting(),Ye=requestAnimationFrame(function(){Ye=null,hc();var pn=Re,dn=pn.additions,cn=pn.removals,Wn=pn.modified,Bi=Object.keys(dn).map(function(Xr){return ye.draggable.getById(Xr).getDimension(co)}).sort(function(Xr,bo){return Xr.descriptor.index-bo.descriptor.index}),Ar=Object.keys(Wn).map(function(Xr){var bo=ye.droppable.getById(Xr),Go=bo.callbacks.getScrollWhileDragging();return{droppableId:Xr,scroll:Go}}),Mr={additions:Bi,removals:Object.keys(cn),modified:Ar};Re=wa(),Au(),be.publish(Mr)}))},ct=function(pn){var dn=pn.descriptor.id;Re.additions[dn]=pn,Re.modified[pn.descriptor.droppableId]=!0,Re.removals[dn]&&delete Re.removals[dn],Qe()},vt=function(pn){var dn=pn.descriptor;Re.removals[dn.id]=!0,Re.modified[dn.droppableId]=!0,Re.additions[dn.id]&&delete Re.additions[dn.id],Qe()},qt=function(){Ye&&(cancelAnimationFrame(Ye),Ye=null,Re=wa())};return{add:ct,remove:vt,stop:qt}}var eu=function(ve){var ye=ve.scrollHeight,be=ve.scrollWidth,Re=ve.height,Ye=ve.width,Qe=sn({x:be,y:ye},{x:Ye,y:Re}),ct={x:Math.max(0,Qe.x),y:Math.max(0,Qe.y)};return ct},Ds=function(){var ve=document.documentElement;return ve||un(!1),ve},Ts=function(){var ve=Ds(),ye=eu({scrollHeight:ve.scrollHeight,scrollWidth:ve.scrollWidth,width:ve.clientWidth,height:ve.clientHeight});return ye},El=function(){var ve=Rl(),ye=Ts(),be=ve.y,Re=ve.x,Ye=Ds(),Qe=Ye.clientWidth,ct=Ye.clientHeight,vt=Re+Qe,qt=be+ct,bn=ro({top:be,left:Re,right:vt,bottom:qt}),pn={frame:bn,scroll:{initial:ve,current:ve,max:ye,diff:{value:co,displacement:co}}};return pn},cl=function(ve){var ye=ve.critical,be=ve.scrollOptions,Re=ve.registry;hc();var Ye=El(),Qe=Ye.scroll.current,ct=ye.droppable,vt=Re.droppable.getAllByType(ct.type).map(function(dn){return dn.callbacks.getDimensionAndWatchScroll(Qe,be)}),qt=Re.draggable.getAllByType(ye.draggable.type).map(function(dn){return dn.getDimension(Qe)}),bn={draggables:gi(qt),droppables:Bn(vt)};Au();var pn={dimensions:bn,critical:ye,viewport:Ye};return pn};function tu(ve,ye,be){if(be.descriptor.id===ye.id||be.descriptor.type!==ye.type)return!1;var Re=ve.droppable.getById(be.descriptor.droppableId);return Re.descriptor.mode==="virtual"}var Ia=function(ve,ye){var be=null,Re=gc({callbacks:{publish:ye.publishWhileDragging,collectionStarting:ye.collectionStarting},registry:ve}),Ye=function(Wn,Bi){ve.droppable.exists(Wn)||un(!1),be&&ye.updateDroppableIsEnabled({id:Wn,isEnabled:Bi})},Qe=function(Wn,Bi){be&&(ve.droppable.exists(Wn)||un(!1),ye.updateDroppableIsCombineEnabled({id:Wn,isCombineEnabled:Bi}))},ct=function(Wn,Bi){be&&(ve.droppable.exists(Wn)||un(!1),ye.updateDroppableScroll({id:Wn,newScroll:Bi}))},vt=function(Wn,Bi){be&&ve.droppable.getById(Wn).callbacks.scroll(Bi)},qt=function(){if(be){Re.stop();var Wn=be.critical.droppable;ve.droppable.getAllByType(Wn.type).forEach(function(Bi){return Bi.callbacks.dragStopped()}),be.unsubscribe(),be=null}},bn=function(Wn){be||un(!1);var Bi=be.critical.draggable;Wn.type==="ADDITION"&&tu(ve,Bi,Wn.value)&&Re.add(Wn.value),Wn.type==="REMOVAL"&&tu(ve,Bi,Wn.value)&&Re.remove(Wn.value)},pn=function(Wn){be&&un(!1);var Bi=ve.draggable.getById(Wn.draggableId),Ar=ve.droppable.getById(Bi.descriptor.droppableId),Mr={draggable:Bi.descriptor,droppable:Ar.descriptor},Xr=ve.subscribe(bn);return be={critical:Mr,unsubscribe:Xr},cl({critical:Mr,registry:ve,scrollOptions:Wn.scrollOptions})},dn={updateDroppableIsEnabled:Ye,updateDroppableIsCombineEnabled:Qe,scrollDroppable:vt,updateDroppableScroll:ct,startPublishing:pn,stopPublishing:qt};return dn},Ul=function(ve,ye){return ve.phase==="IDLE"?!0:ve.phase!=="DROP_ANIMATING"||ve.completed.result.draggableId===ye?!1:ve.completed.result.reason==="DROP"},fu=function(ve){window.scrollBy(ve.x,ve.y)},Ll=Qn(function(ve){return Ze(ve).filter(function(ye){return!(!ye.isEnabled||!ye.frame)})}),gu=function(ye,be){var Re=xr(Ll(be),function(Ye){return Ye.frame||un(!1),Pd(Ye.frame.pageMarginBox)(ye)});return Re},Qu=function(ve){var ye=ve.center,be=ve.destination,Re=ve.droppables;if(be){var Ye=Re[be];return Ye.frame?Ye:null}var Qe=gu(ye,Re);return Qe},Zs={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ye){return Math.pow(ye,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Iu=function(ve,ye){var be=ve[ye.size]*Zs.startFromPercentage,Re=ve[ye.size]*Zs.maxScrollAtPercentage,Ye={startScrollingFrom:be,maxScrollValueAt:Re};return Ye},ha=function(ve){var ye=ve.startOfRange,be=ve.endOfRange,Re=ve.current,Ye=be-ye;if(Ye===0)return 0;var Qe=Re-ye,ct=Qe/Ye;return ct},Ps=1,Mc=function(ve,ye){if(ve>ye.startScrollingFrom)return 0;if(ve<=ye.maxScrollValueAt)return Zs.maxPixelScroll;if(ve===ye.startScrollingFrom)return Ps;var be=ha({startOfRange:ye.maxScrollValueAt,endOfRange:ye.startScrollingFrom,current:ve}),Re=1-be,Ye=Zs.maxPixelScroll*Zs.ease(Re);return Math.ceil(Ye)},Ju=Zs.durationDampening.accelerateAt,nu=Zs.durationDampening.stopDampeningAt,pc=function(ve,ye){var be=ye,Re=nu,Ye=Date.now(),Qe=Ye-be;if(Qe>=nu)return ve;if(Qeye.height,Qe=be.width>ye.width;return!Qe&&!Ye?Re:Qe&&Ye?null:{x:Qe?0:Re.x,y:Ye?0:Re.y}},Sa=lr(function(ve){return ve===0?0:ve}),Ao=function(ve){var ye=ve.dragStartTime,be=ve.container,Re=ve.subject,Ye=ve.center,Qe=ve.shouldUseTimeDampening,ct={top:Ye.y-be.top,right:be.right-Ye.x,bottom:be.bottom-Ye.y,left:Ye.x-be.left},vt=fh({container:be,distanceToEdges:ct,dragStartTime:ye,axis:pi,shouldUseTimeDampening:Qe}),qt=fh({container:be,distanceToEdges:ct,dragStartTime:ye,axis:ho,shouldUseTimeDampening:Qe}),bn=Sa({x:qt,y:vt});if(Vt(bn,co))return null;var pn=kc({container:be,subject:Re,proposedScroll:bn});return pn?Vt(pn,co)?null:pn:null},Qa=lr(function(ve){return ve===0?0:ve>0?1:-1}),rl=function(){var ve=function(be,Re){return be<0?be:be>Re?be-Re:0};return function(ye){var be=ye.current,Re=ye.max,Ye=ye.change,Qe=Kr(be,Ye),ct={x:ve(Qe.x,Re.x),y:ve(Qe.y,Re.y)};return Vt(ct,co)?null:ct}}(),oc=function(ye){var be=ye.max,Re=ye.current,Ye=ye.change,Qe={x:Math.max(Re.x,be.x),y:Math.max(Re.y,be.y)},ct=Qa(Ye),vt=rl({max:Qe,current:Re,change:ct});return!vt||ct.x!==0&&vt.x===0||ct.y!==0&&vt.y===0},td=function(ye,be){return oc({current:ye.scroll.current,max:ye.scroll.max,change:be})},dd=function(ye,be){if(!td(ye,be))return null;var Re=ye.scroll.max,Ye=ye.scroll.current;return rl({current:Ye,max:Re,change:be})},Zc=function(ye,be){var Re=ye.frame;return Re?oc({current:Re.scroll.current,max:Re.scroll.max,change:be}):!1},Hl=function(ye,be){var Re=ye.frame;return!Re||!Zc(ye,be)?null:rl({current:Re.scroll.current,max:Re.scroll.max,change:be})},ka=function(ve){var ye=ve.viewport,be=ve.subject,Re=ve.center,Ye=ve.dragStartTime,Qe=ve.shouldUseTimeDampening,ct=Ao({dragStartTime:Ye,container:ye.frame,subject:be,center:Re,shouldUseTimeDampening:Qe});return ct&&td(ye,ct)?ct:null},Ra=function(ve){var ye=ve.droppable,be=ve.subject,Re=ve.center,Ye=ve.dragStartTime,Qe=ve.shouldUseTimeDampening,ct=ye.frame;if(!ct)return null;var vt=Ao({dragStartTime:Ye,container:ct.pageMarginBox,subject:be,center:Re,shouldUseTimeDampening:Qe});return vt&&Zc(ye,vt)?vt:null},vc=function(ve){var ye=ve.state,be=ve.dragStartTime,Re=ve.shouldUseTimeDampening,Ye=ve.scrollWindow,Qe=ve.scrollDroppable,ct=ye.current.page.borderBoxCenter,vt=ye.dimensions.draggables[ye.critical.draggable.id],qt=vt.page.marginBox;if(ye.isWindowScrollAllowed){var bn=ye.viewport,pn=ka({dragStartTime:be,viewport:bn,subject:qt,center:ct,shouldUseTimeDampening:Re});if(pn){Ye(pn);return}}var dn=Qu({center:ct,destination:Ol(ye.impact),droppables:ye.dimensions.droppables});if(dn){var cn=Ra({dragStartTime:be,droppable:dn,subject:qt,center:ct,shouldUseTimeDampening:Re});cn&&Qe(dn.descriptor.id,cn)}},ac=function(ve){var ye=ve.scrollWindow,be=ve.scrollDroppable,Re=nn(ye),Ye=nn(be),Qe=null,ct=function(pn){Qe||un(!1);var dn=Qe,cn=dn.shouldUseTimeDampening,Wn=dn.dragStartTime;vc({state:pn,scrollWindow:Re,scrollDroppable:Ye,dragStartTime:Wn,shouldUseTimeDampening:cn})},vt=function(pn){hc(),Qe&&un(!1);var dn=Date.now(),cn=!1,Wn=function(){cn=!0};vc({state:pn,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Wn,scrollDroppable:Wn}),Qe={dragStartTime:dn,shouldUseTimeDampening:cn},Au(),cn&&ct(pn)},qt=function(){Qe&&(Re.cancel(),Ye.cancel(),Qe=null)};return{start:vt,stop:qt,scroll:ct}},hd=function(ve){var ye=ve.move,be=ve.scrollDroppable,Re=ve.scrollWindow,Ye=function(bn,pn){var dn=Kr(bn.current.client.selection,pn);ye({client:dn})},Qe=function(bn,pn){if(!Zc(bn,pn))return pn;var dn=Hl(bn,pn);if(!dn)return be(bn.descriptor.id,pn),null;var cn=sn(pn,dn);be(bn.descriptor.id,cn);var Wn=sn(pn,cn);return Wn},ct=function(bn,pn,dn){if(!bn||!td(pn,dn))return dn;var cn=dd(pn,dn);if(!cn)return Re(dn),null;var Wn=sn(dn,cn);Re(Wn);var Bi=sn(dn,Wn);return Bi},vt=function(bn){var pn=bn.scrollJumpRequest;if(pn){var dn=Ol(bn.impact);dn||un(!1);var cn=Qe(bn.dimensions.droppables[dn],pn);if(cn){var Wn=bn.viewport,Bi=ct(bn.isWindowScrollAllowed,Wn,cn);Bi&&Ye(bn,Bi)}}};return vt},Wh=function(ve){var ye=ve.scrollDroppable,be=ve.scrollWindow,Re=ve.move,Ye=ac({scrollWindow:be,scrollDroppable:ye}),Qe=hd({move:Re,scrollWindow:be,scrollDroppable:ye}),ct=function(bn){if(bn.phase==="DRAGGING"){if(bn.movementMode==="FLUID"){Ye.scroll(bn);return}bn.scrollJumpRequest&&Qe(bn)}},vt={scroll:ct,start:Ye.start,stop:Ye.stop};return vt},qu="data-rbd",$u=function(){var ve=qu+"-drag-handle";return{base:ve,draggableId:ve+"-draggable-id",contextId:ve+"-context-id"}}(),Wd=function(){var ve=qu+"-draggable";return{base:ve,contextId:ve+"-context-id",id:ve+"-id"}}(),$d=function(){var ve=qu+"-droppable";return{base:ve,contextId:ve+"-context-id",id:ve+"-id"}}(),Pu={contextId:qu+"-scroll-container-context-id"},Nc=function(ye){return function(be){return"["+be+'="'+ye+'"]'}},ol=function(ye,be){return ye.map(function(Re){var Ye=Re.styles[be];return Ye?Re.selector+" { "+Ye+" }":""}).join(" ")},la="pointer-events: none;",pu=function(ve){var ye=Nc(ve),be=function(){var vt=` cursor: -webkit-grab; cursor: grab; `;return{selector:ye($u.contextId),styles:{always:` @@ -1303,9 +1303,9 @@ The error may be correlated with this previous error: -moz-user-select: none; -ms-user-select: none; overflow-anchor: none; - `}},ct=[Re,be,Ye,Qe];return{always:ol(ct,"always"),resting:ol(ct,"resting"),dragging:ol(ct,"dragging"),dropAnimating:ol(ct,"dropAnimating"),userCancel:ol(ct,"userCancel")}},Na=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?ue.useLayoutEffect:ue.useEffect,eh=function(){var ye=document.querySelector("head");return ye||un(!1),ye},gh=function(ye){var be=document.createElement("style");return ye&&be.setAttribute("nonce",ye),be.type="text/css",be};function iu(ve,ye){var be=Mn(function(){return pu(ve)},[ve]),Re=(0,ue.useRef)(null),Ye=(0,ue.useRef)(null),Qe=On(Jn(function(dn){var cn=Ye.current;cn||un(!1),cn.textContent=dn}),[]),ct=On(function(dn){var cn=Re.current;cn||un(!1),cn.textContent=dn},[]);Na(function(){!Re.current&&!Ye.current||un(!1);var dn=gh(ye),cn=gh(ye);return Re.current=dn,Ye.current=cn,dn.setAttribute(qu+"-always",ve),cn.setAttribute(qu+"-dynamic",ve),eh().appendChild(dn),eh().appendChild(cn),ct(be.always),Qe(be.resting),function(){var Wn=function(Ar){var Mr=Ar.current;Mr||un(!1),eh().removeChild(Mr),Ar.current=null};Wn(Re),Wn(Ye)}},[ye,ct,Qe,be.always,be.resting,ve]);var vt=On(function(){return Qe(be.dragging)},[Qe,be.dragging]),Qt=On(function(dn){if(dn==="DROP"){Qe(be.dropAnimating);return}Qe(be.userCancel)},[Qe,be.dropAnimating,be.userCancel]),bn=On(function(){Ye.current&&Qe(be.resting)},[Qe,be.resting]),pn=Mn(function(){return{dragging:vt,dropping:Qt,resting:bn}},[vt,Qt,bn]);return pn}var th=function(ve){return ve&&ve.ownerDocument?ve.ownerDocument.defaultView:window};function ec(ve){return ve instanceof th(ve).HTMLElement}function Cd(ve,ye){var be="["+$u.contextId+'="'+ve+'"]',Re=oo(document.querySelectorAll(be));if(!Re.length)return null;var Ye=xr(Re,function(Qe){return Qe.getAttribute($u.draggableId)===ye});return!Ye||!ec(Ye)?null:Ye}function jd(ve){var ye=(0,ue.useRef)({}),be=(0,ue.useRef)(null),Re=(0,ue.useRef)(null),Ye=(0,ue.useRef)(!1),Qe=On(function(cn,Wn){var Bi={id:cn,focus:Wn};return ye.current[cn]=Bi,function(){var Mr=ye.current,Xr=Mr[cn];Xr!==Bi&&delete Mr[cn]}},[]),ct=On(function(cn){var Wn=Cd(ve,cn);Wn&&Wn!==document.activeElement&&Wn.focus()},[ve]),vt=On(function(cn,Wn){be.current===cn&&(be.current=Wn)},[]),Qt=On(function(){Re.current||Ye.current&&(Re.current=requestAnimationFrame(function(){Re.current=null;var cn=be.current;cn&&ct(cn)}))},[ct]),bn=On(function(cn){be.current=null;var Wn=document.activeElement;Wn&&Wn.getAttribute($u.draggableId)===cn&&(be.current=cn)},[]);Na(function(){return Ye.current=!0,function(){Ye.current=!1;var cn=Re.current;cn&&cancelAnimationFrame(cn)}},[]);var pn=Mn(function(){return{register:Qe,tryRecordFocus:bn,tryRestoreFocusRecorded:Qt,tryShiftRecord:vt}},[Qe,bn,Qt,vt]);return pn}function nf(){var ve={draggables:{},droppables:{}},ye=[];function be(dn){return ye.push(dn),function(){var Wn=ye.indexOf(dn);Wn!==-1&&ye.splice(Wn,1)}}function Re(dn){ye.length&&ye.forEach(function(cn){return cn(dn)})}function Ye(dn){return ve.draggables[dn]||null}function Qe(dn){var cn=Ye(dn);return cn||un(!1),cn}var ct={register:function(cn){ve.draggables[cn.descriptor.id]=cn,Re({type:"ADDITION",value:cn})},update:function(cn,Wn){var Bi=ve.draggables[Wn.descriptor.id];Bi&&Bi.uniqueId===cn.uniqueId&&(delete ve.draggables[Wn.descriptor.id],ve.draggables[cn.descriptor.id]=cn)},unregister:function(cn){var Wn=cn.descriptor.id,Bi=Ye(Wn);Bi&&cn.uniqueId===Bi.uniqueId&&(delete ve.draggables[Wn],Re({type:"REMOVAL",value:cn}))},getById:Qe,findById:Ye,exists:function(cn){return!!Ye(cn)},getAllByType:function(cn){return Zr(ve.draggables).filter(function(Wn){return Wn.descriptor.type===cn})}};function vt(dn){return ve.droppables[dn]||null}function Qt(dn){var cn=vt(dn);return cn||un(!1),cn}var bn={register:function(cn){ve.droppables[cn.descriptor.id]=cn},unregister:function(cn){var Wn=vt(cn.descriptor.id);Wn&&cn.uniqueId===Wn.uniqueId&&delete ve.droppables[cn.descriptor.id]},getById:Qt,findById:vt,exists:function(cn){return!!vt(cn)},getAllByType:function(cn){return Zr(ve.droppables).filter(function(Wn){return Wn.descriptor.type===cn})}};function pn(){ve.draggables={},ve.droppables={},ye.length=0}return{draggable:ct,droppable:bn,subscribe:be,clean:pn}}function Ad(){var ve=Mn(nf,[]);return(0,ue.useEffect)(function(){return function(){requestAnimationFrame(ve.clean)}},[ve]),ve}var Uc=ue.createContext(null),Hc=function(){var ve=document.body;return ve||un(!1),ve},Tc={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},rf=function(ye){return"rbd-announcement-"+ye};function Fd(ve){var ye=Mn(function(){return rf(ve)},[ve]),be=(0,ue.useRef)(null);(0,ue.useEffect)(function(){var Qe=document.createElement("div");return be.current=Qe,Qe.id=ye,Qe.setAttribute("aria-live","assertive"),Qe.setAttribute("aria-atomic","true"),(0,kt.Z)(Qe.style,Tc),Hc().appendChild(Qe),function(){setTimeout(function(){var Qt=Hc();Qt.contains(Qe)&&Qt.removeChild(Qe),Qe===be.current&&(be.current=null)})}},[ye]);var Re=On(function(Ye){var Qe=be.current;if(Qe){Qe.textContent=Ye;return}},[]);return Re}var fd=0,zd={separator:"::"};function Pl(){fd=0}function yc(ve,ye){return ye===void 0&&(ye=zd),Mn(function(){return""+ve+ye.separator+fd++},[ye.separator,ve])}function ph(ve){var ye=ve.contextId,be=ve.uniqueId;return"rbd-hidden-text-"+ye+"-"+be}function jh(ve){var ye=ve.contextId,be=ve.text,Re=yc("hidden-text",{separator:"-"}),Ye=Mn(function(){return ph({contextId:ye,uniqueId:Re})},[Re,ye]);return(0,ue.useEffect)(function(){var ct=document.createElement("div");return ct.id=Ye,ct.textContent=be,ct.style.display="none",Hc().appendChild(ct),function(){var Qt=Hc();Qt.contains(ct)&&Qt.removeChild(ct)}},[Ye,be]),Ye}var mh=ue.createContext(null),Ht={react:"^16.8.5","react-dom":"^16.8.5"},tt=/(\d+)\.(\d+)\.(\d+)/,st=function(ye){var be=tt.exec(ye);be==null&&un(!1);var Re=Number(be[1]),Ye=Number(be[2]),Qe=Number(be[3]);return{major:Re,minor:Ye,patch:Qe,raw:ye}},ot=function(ye,be){return be.major>ye.major?!0:be.majorye.minor?!0:be.minor=ye.patch},wn=function(ve,ye){var be=st(ve),Re=st(ye);ot(be,Re)},wi=` + `}},ct=[Re,be,Ye,Qe];return{always:ol(ct,"always"),resting:ol(ct,"resting"),dragging:ol(ct,"dragging"),dropAnimating:ol(ct,"dropAnimating"),userCancel:ol(ct,"userCancel")}},Na=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?ue.useLayoutEffect:ue.useEffect,eh=function(){var ye=document.querySelector("head");return ye||un(!1),ye},gh=function(ye){var be=document.createElement("style");return ye&&be.setAttribute("nonce",ye),be.type="text/css",be};function iu(ve,ye){var be=Mn(function(){return pu(ve)},[ve]),Re=(0,ue.useRef)(null),Ye=(0,ue.useRef)(null),Qe=On(Qn(function(dn){var cn=Ye.current;cn||un(!1),cn.textContent=dn}),[]),ct=On(function(dn){var cn=Re.current;cn||un(!1),cn.textContent=dn},[]);Na(function(){!Re.current&&!Ye.current||un(!1);var dn=gh(ye),cn=gh(ye);return Re.current=dn,Ye.current=cn,dn.setAttribute(qu+"-always",ve),cn.setAttribute(qu+"-dynamic",ve),eh().appendChild(dn),eh().appendChild(cn),ct(be.always),Qe(be.resting),function(){var Wn=function(Ar){var Mr=Ar.current;Mr||un(!1),eh().removeChild(Mr),Ar.current=null};Wn(Re),Wn(Ye)}},[ye,ct,Qe,be.always,be.resting,ve]);var vt=On(function(){return Qe(be.dragging)},[Qe,be.dragging]),qt=On(function(dn){if(dn==="DROP"){Qe(be.dropAnimating);return}Qe(be.userCancel)},[Qe,be.dropAnimating,be.userCancel]),bn=On(function(){Ye.current&&Qe(be.resting)},[Qe,be.resting]),pn=Mn(function(){return{dragging:vt,dropping:qt,resting:bn}},[vt,qt,bn]);return pn}var th=function(ve){return ve&&ve.ownerDocument?ve.ownerDocument.defaultView:window};function ec(ve){return ve instanceof th(ve).HTMLElement}function Cd(ve,ye){var be="["+$u.contextId+'="'+ve+'"]',Re=oo(document.querySelectorAll(be));if(!Re.length)return null;var Ye=xr(Re,function(Qe){return Qe.getAttribute($u.draggableId)===ye});return!Ye||!ec(Ye)?null:Ye}function jd(ve){var ye=(0,ue.useRef)({}),be=(0,ue.useRef)(null),Re=(0,ue.useRef)(null),Ye=(0,ue.useRef)(!1),Qe=On(function(cn,Wn){var Bi={id:cn,focus:Wn};return ye.current[cn]=Bi,function(){var Mr=ye.current,Xr=Mr[cn];Xr!==Bi&&delete Mr[cn]}},[]),ct=On(function(cn){var Wn=Cd(ve,cn);Wn&&Wn!==document.activeElement&&Wn.focus()},[ve]),vt=On(function(cn,Wn){be.current===cn&&(be.current=Wn)},[]),qt=On(function(){Re.current||Ye.current&&(Re.current=requestAnimationFrame(function(){Re.current=null;var cn=be.current;cn&&ct(cn)}))},[ct]),bn=On(function(cn){be.current=null;var Wn=document.activeElement;Wn&&Wn.getAttribute($u.draggableId)===cn&&(be.current=cn)},[]);Na(function(){return Ye.current=!0,function(){Ye.current=!1;var cn=Re.current;cn&&cancelAnimationFrame(cn)}},[]);var pn=Mn(function(){return{register:Qe,tryRecordFocus:bn,tryRestoreFocusRecorded:qt,tryShiftRecord:vt}},[Qe,bn,qt,vt]);return pn}function nf(){var ve={draggables:{},droppables:{}},ye=[];function be(dn){return ye.push(dn),function(){var Wn=ye.indexOf(dn);Wn!==-1&&ye.splice(Wn,1)}}function Re(dn){ye.length&&ye.forEach(function(cn){return cn(dn)})}function Ye(dn){return ve.draggables[dn]||null}function Qe(dn){var cn=Ye(dn);return cn||un(!1),cn}var ct={register:function(cn){ve.draggables[cn.descriptor.id]=cn,Re({type:"ADDITION",value:cn})},update:function(cn,Wn){var Bi=ve.draggables[Wn.descriptor.id];Bi&&Bi.uniqueId===cn.uniqueId&&(delete ve.draggables[Wn.descriptor.id],ve.draggables[cn.descriptor.id]=cn)},unregister:function(cn){var Wn=cn.descriptor.id,Bi=Ye(Wn);Bi&&cn.uniqueId===Bi.uniqueId&&(delete ve.draggables[Wn],Re({type:"REMOVAL",value:cn}))},getById:Qe,findById:Ye,exists:function(cn){return!!Ye(cn)},getAllByType:function(cn){return Zr(ve.draggables).filter(function(Wn){return Wn.descriptor.type===cn})}};function vt(dn){return ve.droppables[dn]||null}function qt(dn){var cn=vt(dn);return cn||un(!1),cn}var bn={register:function(cn){ve.droppables[cn.descriptor.id]=cn},unregister:function(cn){var Wn=vt(cn.descriptor.id);Wn&&cn.uniqueId===Wn.uniqueId&&delete ve.droppables[cn.descriptor.id]},getById:qt,findById:vt,exists:function(cn){return!!vt(cn)},getAllByType:function(cn){return Zr(ve.droppables).filter(function(Wn){return Wn.descriptor.type===cn})}};function pn(){ve.draggables={},ve.droppables={},ye.length=0}return{draggable:ct,droppable:bn,subscribe:be,clean:pn}}function Ad(){var ve=Mn(nf,[]);return(0,ue.useEffect)(function(){return function(){requestAnimationFrame(ve.clean)}},[ve]),ve}var Uc=ue.createContext(null),Hc=function(){var ve=document.body;return ve||un(!1),ve},Tc={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},rf=function(ye){return"rbd-announcement-"+ye};function Fd(ve){var ye=Mn(function(){return rf(ve)},[ve]),be=(0,ue.useRef)(null);(0,ue.useEffect)(function(){var Qe=document.createElement("div");return be.current=Qe,Qe.id=ye,Qe.setAttribute("aria-live","assertive"),Qe.setAttribute("aria-atomic","true"),(0,kt.Z)(Qe.style,Tc),Hc().appendChild(Qe),function(){setTimeout(function(){var qt=Hc();qt.contains(Qe)&&qt.removeChild(Qe),Qe===be.current&&(be.current=null)})}},[ye]);var Re=On(function(Ye){var Qe=be.current;if(Qe){Qe.textContent=Ye;return}},[]);return Re}var fd=0,zd={separator:"::"};function Pl(){fd=0}function yc(ve,ye){return ye===void 0&&(ye=zd),Mn(function(){return""+ve+ye.separator+fd++},[ye.separator,ve])}function ph(ve){var ye=ve.contextId,be=ve.uniqueId;return"rbd-hidden-text-"+ye+"-"+be}function jh(ve){var ye=ve.contextId,be=ve.text,Re=yc("hidden-text",{separator:"-"}),Ye=Mn(function(){return ph({contextId:ye,uniqueId:Re})},[Re,ye]);return(0,ue.useEffect)(function(){var ct=document.createElement("div");return ct.id=Ye,ct.textContent=be,ct.style.display="none",Hc().appendChild(ct),function(){var qt=Hc();qt.contains(ct)&&qt.removeChild(ct)}},[Ye,be]),Ye}var mh=ue.createContext(null),Ht={react:"^16.8.5","react-dom":"^16.8.5"},tt=/(\d+)\.(\d+)\.(\d+)/,st=function(ye){var be=tt.exec(ye);be==null&&un(!1);var Re=Number(be[1]),Ye=Number(be[2]),Qe=Number(be[3]);return{major:Re,minor:Ye,patch:Qe,raw:ye}},ot=function(ye,be){return be.major>ye.major?!0:be.majorye.minor?!0:be.minor=ye.patch},wn=function(ve,ye){var be=st(ve),Re=st(ye);ot(be,Re)},wi=` 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 -`,Yi=function(ve){var ye=ve.doctype;ye&&(ye.name.toLowerCase(),ye.publicId)};function dr(ve){}function Ei(ve,ye){}function Ln(){Ei(function(){wn(Ht.react,ue.version),Yi(document)},[])}function bi(ve){var ye=(0,ue.useRef)(ve);return(0,ue.useEffect)(function(){ye.current=ve}),ye}function Yr(){var ve=null;function ye(){return!!ve}function be(ct){return ct===ve}function Re(ct){ve&&un(!1);var vt={abandon:ct};return ve=vt,vt}function Ye(){ve||un(!1),ve=null}function Qe(){ve&&(ve.abandon(),Ye())}return{isClaimed:ye,isActive:be,claim:Re,release:Ye,tryAbandon:Qe}}var wo=9,Nr=13,$r=27,To=32,xo=33,po=34,ur=35,ma=36,Vo=37,mo=38,Fo=39,Pr=40,gr,Mo=(gr={},gr[Nr]=!0,gr[wo]=!0,gr),Ur=function(ve){Mo[ve.keyCode]&&ve.preventDefault()},Do=function(){var ve="visibilitychange";if(typeof document=="undefined")return ve;var ye=[ve,"ms"+ve,"webkit"+ve,"moz"+ve,"o"+ve],be=xr(ye,function(Re){return"on"+Re in document});return be||ve}(),yo=0,da=5;function xa(ve,ye){return Math.abs(ye.x-ve.x)>=da||Math.abs(ye.y-ve.y)>=da}var Qn={type:"IDLE"};function Co(ve){var ye=ve.cancel,be=ve.completed,Re=ve.getPhase,Ye=ve.setPhase;return[{eventName:"mousemove",fn:function(ct){var vt=ct.button,Qt=ct.clientX,bn=ct.clientY;if(vt===yo){var pn={x:Qt,y:bn},dn=Re();if(dn.type==="DRAGGING"){ct.preventDefault(),dn.actions.move(pn);return}dn.type!=="PENDING"&&un(!1);var cn=dn.point;if(xa(cn,pn)){ct.preventDefault();var Wn=dn.actions.fluidLift(pn);Ye({type:"DRAGGING",actions:Wn})}}}},{eventName:"mouseup",fn:function(ct){var vt=Re();if(vt.type!=="DRAGGING"){ye();return}ct.preventDefault(),vt.actions.drop({shouldBlockNextClick:!0}),be()}},{eventName:"mousedown",fn:function(ct){Re().type==="DRAGGING"&&ct.preventDefault(),ye()}},{eventName:"keydown",fn:function(ct){var vt=Re();if(vt.type==="PENDING"){ye();return}if(ct.keyCode===$r){ct.preventDefault(),ye();return}Ur(ct)}},{eventName:"resize",fn:ye},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){Re().type==="PENDING"&&ye()}},{eventName:"webkitmouseforcedown",fn:function(ct){var vt=Re();if(vt.type==="IDLE"&&un(!1),vt.actions.shouldRespectForcePress()){ye();return}ct.preventDefault()}},{eventName:Do,fn:ye}]}function Xo(ve){var ye=(0,ue.useRef)(Qn),be=(0,ue.useRef)(Et),Re=Mn(function(){return{eventName:"mousedown",fn:function(dn){if(!dn.defaultPrevented&&dn.button===yo&&!(dn.ctrlKey||dn.metaKey||dn.shiftKey||dn.altKey)){var cn=ve.findClosestDraggableId(dn);if(cn){var Wn=ve.tryGetLock(cn,ct,{sourceEvent:dn});if(Wn){dn.preventDefault();var Bi={x:dn.clientX,y:dn.clientY};be.current(),bn(Wn,Bi)}}}}}},[ve]),Ye=Mn(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(dn){if(!dn.defaultPrevented){var cn=ve.findClosestDraggableId(dn);if(cn){var Wn=ve.findOptionsForDraggable(cn);Wn&&(Wn.shouldRespectForcePress||ve.canGetLock(cn)&&dn.preventDefault())}}}}},[ve]),Qe=On(function(){var dn={passive:!1,capture:!0};be.current=Cn(window,[Ye,Re],dn)},[Ye,Re]),ct=On(function(){var pn=ye.current;pn.type!=="IDLE"&&(ye.current=Qn,be.current(),Qe())},[Qe]),vt=On(function(){var pn=ye.current;ct(),pn.type==="DRAGGING"&&pn.actions.cancel({shouldBlockNextClick:!0}),pn.type==="PENDING"&&pn.actions.abort()},[ct]),Qt=On(function(){var dn={capture:!0,passive:!1},cn=Co({cancel:vt,completed:ct,getPhase:function(){return ye.current},setPhase:function(Bi){ye.current=Bi}});be.current=Cn(window,cn,dn)},[vt,ct]),bn=On(function(dn,cn){ye.current.type!=="IDLE"&&un(!1),ye.current={type:"PENDING",point:cn,actions:dn},Qt()},[Qt]);Na(function(){return Qe(),function(){be.current()}},[Qe])}var Qo;function qo(){}var ms=(Qo={},Qo[po]=!0,Qo[xo]=!0,Qo[ma]=!0,Qo[ur]=!0,Qo);function Cr(ve,ye){function be(){ye(),ve.cancel()}function Re(){ye(),ve.drop()}return[{eventName:"keydown",fn:function(Qe){if(Qe.keyCode===$r){Qe.preventDefault(),be();return}if(Qe.keyCode===To){Qe.preventDefault(),Re();return}if(Qe.keyCode===Pr){Qe.preventDefault(),ve.moveDown();return}if(Qe.keyCode===mo){Qe.preventDefault(),ve.moveUp();return}if(Qe.keyCode===Fo){Qe.preventDefault(),ve.moveRight();return}if(Qe.keyCode===Vo){Qe.preventDefault(),ve.moveLeft();return}if(ms[Qe.keyCode]){Qe.preventDefault();return}Ur(Qe)}},{eventName:"mousedown",fn:be},{eventName:"mouseup",fn:be},{eventName:"click",fn:be},{eventName:"touchstart",fn:be},{eventName:"resize",fn:be},{eventName:"wheel",fn:be,options:{passive:!0}},{eventName:Do,fn:be}]}function Jo(ve){var ye=(0,ue.useRef)(qo),be=Mn(function(){return{eventName:"keydown",fn:function(Qe){if(Qe.defaultPrevented||Qe.keyCode!==To)return;var ct=ve.findClosestDraggableId(Qe);if(!ct)return;var vt=ve.tryGetLock(ct,pn,{sourceEvent:Qe});if(!vt)return;Qe.preventDefault();var Qt=!0,bn=vt.snapLift();ye.current();function pn(){Qt||un(!1),Qt=!1,ye.current(),Re()}ye.current=Cn(window,Cr(bn,pn),{capture:!0,passive:!1})}}},[ve]),Re=On(function(){var Qe={passive:!1,capture:!0};ye.current=Cn(window,[be],Qe)},[be]);Na(function(){return Re(),function(){ye.current()}},[Re])}var Ha={type:"IDLE"},ls=120,hs=.15;function Za(ve){var ye=ve.cancel,be=ve.getPhase;return[{eventName:"orientationchange",fn:ye},{eventName:"resize",fn:ye},{eventName:"contextmenu",fn:function(Ye){Ye.preventDefault()}},{eventName:"keydown",fn:function(Ye){if(be().type!=="DRAGGING"){ye();return}Ye.keyCode===$r&&Ye.preventDefault(),ye()}},{eventName:Do,fn:ye}]}function pr(ve){var ye=ve.cancel,be=ve.completed,Re=ve.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Qe){var ct=Re();if(ct.type!=="DRAGGING"){ye();return}ct.hasMoved=!0;var vt=Qe.touches[0],Qt=vt.clientX,bn=vt.clientY,pn={x:Qt,y:bn};Qe.preventDefault(),ct.actions.move(pn)}},{eventName:"touchend",fn:function(Qe){var ct=Re();if(ct.type!=="DRAGGING"){ye();return}Qe.preventDefault(),ct.actions.drop({shouldBlockNextClick:!0}),be()}},{eventName:"touchcancel",fn:function(Qe){if(Re().type!=="DRAGGING"){ye();return}Qe.preventDefault(),ye()}},{eventName:"touchforcechange",fn:function(Qe){var ct=Re();ct.type==="IDLE"&&un(!1);var vt=Qe.touches[0];if(vt){var Qt=vt.force>=hs;if(Qt){var bn=ct.actions.shouldRespectForcePress();if(ct.type==="PENDING"){bn&&ye();return}if(bn){if(ct.hasMoved){Qe.preventDefault();return}ye();return}Qe.preventDefault()}}}},{eventName:Do,fn:ye}]}function Ho(ve){var ye=(0,ue.useRef)(Ha),be=(0,ue.useRef)(Et),Re=On(function(){return ye.current},[]),Ye=On(function(Wn){ye.current=Wn},[]),Qe=Mn(function(){return{eventName:"touchstart",fn:function(Wn){if(!Wn.defaultPrevented){var Bi=ve.findClosestDraggableId(Wn);if(Bi){var Ar=ve.tryGetLock(Bi,vt,{sourceEvent:Wn});if(Ar){var Mr=Wn.touches[0],Xr=Mr.clientX,bo=Mr.clientY,Go={x:Xr,y:bo};be.current(),dn(Ar,Go)}}}}}},[ve]),ct=On(function(){var Wn={capture:!0,passive:!1};be.current=Cn(window,[Qe],Wn)},[Qe]),vt=On(function(){var cn=ye.current;cn.type!=="IDLE"&&(cn.type==="PENDING"&&clearTimeout(cn.longPressTimerId),Ye(Ha),be.current(),ct())},[ct,Ye]),Qt=On(function(){var cn=ye.current;vt(),cn.type==="DRAGGING"&&cn.actions.cancel({shouldBlockNextClick:!0}),cn.type==="PENDING"&&cn.actions.abort()},[vt]),bn=On(function(){var Wn={capture:!0,passive:!1},Bi={cancel:Qt,completed:vt,getPhase:Re},Ar=Cn(window,pr(Bi),Wn),Mr=Cn(window,Za(Bi),Wn);be.current=function(){Ar(),Mr()}},[Qt,Re,vt]),pn=On(function(){var Wn=Re();Wn.type!=="PENDING"&&un(!1);var Bi=Wn.actions.fluidLift(Wn.point);Ye({type:"DRAGGING",actions:Bi,hasMoved:!1})},[Re,Ye]),dn=On(function(Wn,Bi){Re().type!=="IDLE"&&un(!1);var Ar=setTimeout(pn,ls);Ye({type:"PENDING",point:Bi,actions:Wn,longPressTimerId:Ar}),bn()},[bn,Re,Ye,pn]);Na(function(){return ct(),function(){be.current();var Bi=Re();Bi.type==="PENDING"&&(clearTimeout(Bi.longPressTimerId),Ye(Ha))}},[Re,ct,Ye]),Na(function(){var Wn=Cn(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Wn},[])}function Wa(ve){}var Yo={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function ts(ve,ye){if(ye==null)return!1;var be=!!Yo[ye.tagName.toLowerCase()];if(be)return!0;var Re=ye.getAttribute("contenteditable");return Re==="true"||Re===""?!0:ye===ve?!1:ts(ve,ye.parentElement)}function fs(ve,ye){var be=ye.target;return ec(be)?ts(ve,be):!1}var al=function(ve){return ro(ve.getBoundingClientRect()).center};function Xs(ve){return ve instanceof th(ve).Element}var Os=function(){var ve="matches";if(typeof document=="undefined")return ve;var ye=[ve,"msMatchesSelector","webkitMatchesSelector"],be=xr(ye,function(Re){return Re in Element.prototype});return be||ve}();function eo(ve,ye){return ve==null?null:ve[Os](ye)?ve:eo(ve.parentElement,ye)}function qa(ve,ye){return ve.closest?ve.closest(ye):eo(ve,ye)}function sl(ve){return"["+$u.contextId+'="'+ve+'"]'}function Kl(ve,ye){var be=ye.target;if(!Xs(be))return null;var Re=sl(ve),Ye=qa(be,Re);return!Ye||!ec(Ye)?null:Ye}function La(ve,ye){var be=Kl(ve,ye);return be?be.getAttribute($u.draggableId):null}function jo(ve,ye){var be="["+Wd.contextId+'="'+ve+'"]',Re=oo(document.querySelectorAll(be)),Ye=xr(Re,function(Qe){return Qe.getAttribute(Wd.id)===ye});return!Ye||!ec(Ye)?null:Ye}function ia(ve){ve.preventDefault()}function Yl(ve){var ye=ve.expected,be=ve.phase,Re=ve.isLockActive,Ye=ve.shouldWarn;return!(!Re()||ye!==be)}function Ru(ve){var ye=ve.lockAPI,be=ve.store,Re=ve.registry,Ye=ve.draggableId;if(ye.isClaimed())return!1;var Qe=Re.draggable.findById(Ye);return!(!Qe||!Qe.options.isEnabled||!Ul(be.getState(),Ye))}function tc(ve){var ye=ve.lockAPI,be=ve.contextId,Re=ve.store,Ye=ve.registry,Qe=ve.draggableId,ct=ve.forceSensorStop,vt=ve.sourceEvent,Qt=Ru({lockAPI:ye,store:Re,registry:Ye,draggableId:Qe});if(!Qt)return null;var bn=Ye.draggable.getById(Qe),pn=jo(be,bn.descriptor.id);if(!pn||vt&&!bn.options.canDragInteractiveElements&&fs(pn,vt))return null;var dn=ye.claim(ct||Et),cn="PRE_DRAG";function Wn(){return bn.options.shouldRespectForcePress}function Bi(){return ye.isActive(dn)}function Ar(ps,Ks){Yl({expected:ps,phase:cn,isLockActive:Bi,shouldWarn:!0})&&Re.dispatch(Ks())}var Mr=Ar.bind(null,"DRAGGING");function Xr(ps){function Ks(){ye.release(),cn="COMPLETED"}cn!=="PRE_DRAG"&&(Ks(),cn!=="PRE_DRAG"&&un(!1)),Re.dispatch(He(ps.liftActionArgs)),cn="DRAGGING";function Hu(Is,ju){if(ju===void 0&&(ju={shouldBlockNextClick:!1}),ps.cleanup(),ju.shouldBlockNextClick){var Ic=Cn(window,[{eventName:"click",fn:ia,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(Ic)}Ks(),Re.dispatch(lo({reason:Is}))}return(0,kt.Z)({isActive:function(){return Yl({expected:"DRAGGING",phase:cn,isLockActive:Bi,shouldWarn:!1})},shouldRespectForcePress:Wn,drop:function(ju){return Hu("DROP",ju)},cancel:function(ju){return Hu("CANCEL",ju)}},ps.actions)}function bo(ps){var Ks=tn(function(Is){Mr(function(){return ti({client:Is})})}),Hu=Xr({liftActionArgs:{id:Qe,clientSelection:ps,movementMode:"FLUID"},cleanup:function(){return Ks.cancel()},actions:{move:Ks}});return(0,kt.Z)({},Hu,{move:Ks})}function Go(){var ps={moveUp:function(){return Mr(vi)},moveRight:function(){return Mr(di)},moveDown:function(){return Mr(Gi)},moveLeft:function(){return Mr(hr)}};return Xr({liftActionArgs:{id:Qe,clientSelection:al(pn),movementMode:"SNAP"},cleanup:Et,actions:ps})}function zo(){var ps=Yl({expected:"PRE_DRAG",phase:cn,isLockActive:Bi,shouldWarn:!0});ps&&ye.release()}var va={isActive:function(){return Yl({expected:"PRE_DRAG",phase:cn,isLockActive:Bi,shouldWarn:!1})},shouldRespectForcePress:Wn,fluidLift:bo,snapLift:Go,abort:zo};return va}var fa=[Xo,Jo,Ho];function Ua(ve){var ye=ve.contextId,be=ve.store,Re=ve.registry,Ye=ve.customSensors,Qe=ve.enableDefaultSensors,ct=[].concat(Qe?fa:[],Ye||[]),vt=(0,ue.useState)(function(){return Yr()})[0],Qt=On(function(bo,Go){bo.isDragging&&!Go.isDragging&&vt.tryAbandon()},[vt]);Na(function(){var bo=be.getState(),Go=be.subscribe(function(){var zo=be.getState();Qt(bo,zo),bo=zo});return Go},[vt,be,Qt]),Na(function(){return vt.tryAbandon},[vt.tryAbandon]);var bn=On(function(Xr){return Ru({lockAPI:vt,registry:Re,store:be,draggableId:Xr})},[vt,Re,be]),pn=On(function(Xr,bo,Go){return tc({lockAPI:vt,registry:Re,contextId:ye,store:be,draggableId:Xr,forceSensorStop:bo,sourceEvent:Go&&Go.sourceEvent?Go.sourceEvent:null})},[ye,vt,Re,be]),dn=On(function(Xr){return La(ye,Xr)},[ye]),cn=On(function(Xr){var bo=Re.draggable.findById(Xr);return bo?bo.options:null},[Re.draggable]),Wn=On(function(){vt.isClaimed()&&(vt.tryAbandon(),be.getState().phase!=="IDLE"&&be.dispatch(Gn()))},[vt,be]),Bi=On(vt.isClaimed,[vt]),Ar=Mn(function(){return{canGetLock:bn,tryGetLock:pn,findClosestDraggableId:dn,findOptionsForDraggable:cn,tryReleaseLock:Wn,isLockClaimed:Bi}},[bn,pn,dn,cn,Wn,Bi]);Wa(ct);for(var Mr=0;Mr=0||Object.prototype.hasOwnProperty.call(Ut,te)&&(Oe[te]=Ut[te]);return Oe}function bt(Ut,Zt){if(!(Ut instanceof Zt))throw new TypeError("Cannot call a class as a function")}function wt(Ut,Zt){if(!Ut)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Zt&&(typeof Zt=="object"||typeof Zt=="function")?Zt:Ut}function pt(Ut,Zt){if(typeof Zt!="function"&&Zt!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Zt);Ut.prototype=Object.create(Zt&&Zt.prototype,{constructor:{value:Ut,enumerable:!1,writable:!0,configurable:!0}}),Zt&&(Object.setPrototypeOf?Object.setPrototypeOf(Ut,Zt):Ut.__proto__=Zt)}var St=function(Ut){pt(Zt,Ut);function Zt(Oe){bt(this,Zt);var te=wt(this,(Zt.__proto__||Object.getPrototypeOf(Zt)).call(this,Oe));return te.scrollListener=te.scrollListener.bind(te),te.eventListenerOptions=te.eventListenerOptions.bind(te),te.mousewheelListener=te.mousewheelListener.bind(te),te}return ue(Zt,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var te=this.getParentElement(this.scrollComponent);te.scrollTop=te.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var te=!1,ne={get passive(){te=!0}};try{document.addEventListener("test",null,ne),document.removeEventListener("test",null,ne)}catch(de){}return te}},{key:"eventListenerOptions",value:function(){var te=this.props.useCapture;return this.isPassiveSupported()&&(te={useCapture:this.props.useCapture,passive:!0}),te}},{key:"setDefaultLoader",value:function(te){this.defaultLoader=te}},{key:"detachMousewheelListener",value:function(){var te=window;this.props.useWindow===!1&&(te=this.scrollComponent.parentNode),te.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var te=window;this.props.useWindow===!1&&(te=this.getParentElement(this.scrollComponent)),te.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),te.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(te){var ne=this.props.getScrollParent&&this.props.getScrollParent();return ne!=null?ne:te&&te.parentNode}},{key:"filterProps",value:function(te){return te}},{key:"attachScrollListener",value:function(){var te=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!te)){var ne=window;this.props.useWindow===!1&&(ne=te),ne.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),ne.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),ne.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(te){te.deltaY===1&&!this.isPassiveSupported()&&te.preventDefault()}},{key:"scrollListener",value:function(){var te=this.scrollComponent,ne=window,de=this.getParentElement(te),le=void 0;if(this.props.useWindow){var pe=document.documentElement||document.body.parentNode||document.body,xe=ne.pageYOffset!==void 0?ne.pageYOffset:pe.scrollTop;this.props.isReverse?le=xe:le=this.calculateOffset(te,xe)}else this.props.isReverse?le=de.scrollTop:le=te.scrollHeight-de.scrollTop-de.clientHeight;le=da||Math.abs(ye.y-ve.y)>=da}var Jn={type:"IDLE"};function Co(ve){var ye=ve.cancel,be=ve.completed,Re=ve.getPhase,Ye=ve.setPhase;return[{eventName:"mousemove",fn:function(ct){var vt=ct.button,qt=ct.clientX,bn=ct.clientY;if(vt===yo){var pn={x:qt,y:bn},dn=Re();if(dn.type==="DRAGGING"){ct.preventDefault(),dn.actions.move(pn);return}dn.type!=="PENDING"&&un(!1);var cn=dn.point;if(xa(cn,pn)){ct.preventDefault();var Wn=dn.actions.fluidLift(pn);Ye({type:"DRAGGING",actions:Wn})}}}},{eventName:"mouseup",fn:function(ct){var vt=Re();if(vt.type!=="DRAGGING"){ye();return}ct.preventDefault(),vt.actions.drop({shouldBlockNextClick:!0}),be()}},{eventName:"mousedown",fn:function(ct){Re().type==="DRAGGING"&&ct.preventDefault(),ye()}},{eventName:"keydown",fn:function(ct){var vt=Re();if(vt.type==="PENDING"){ye();return}if(ct.keyCode===$r){ct.preventDefault(),ye();return}Ur(ct)}},{eventName:"resize",fn:ye},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){Re().type==="PENDING"&&ye()}},{eventName:"webkitmouseforcedown",fn:function(ct){var vt=Re();if(vt.type==="IDLE"&&un(!1),vt.actions.shouldRespectForcePress()){ye();return}ct.preventDefault()}},{eventName:Do,fn:ye}]}function Xo(ve){var ye=(0,ue.useRef)(Jn),be=(0,ue.useRef)(Et),Re=Mn(function(){return{eventName:"mousedown",fn:function(dn){if(!dn.defaultPrevented&&dn.button===yo&&!(dn.ctrlKey||dn.metaKey||dn.shiftKey||dn.altKey)){var cn=ve.findClosestDraggableId(dn);if(cn){var Wn=ve.tryGetLock(cn,ct,{sourceEvent:dn});if(Wn){dn.preventDefault();var Bi={x:dn.clientX,y:dn.clientY};be.current(),bn(Wn,Bi)}}}}}},[ve]),Ye=Mn(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(dn){if(!dn.defaultPrevented){var cn=ve.findClosestDraggableId(dn);if(cn){var Wn=ve.findOptionsForDraggable(cn);Wn&&(Wn.shouldRespectForcePress||ve.canGetLock(cn)&&dn.preventDefault())}}}}},[ve]),Qe=On(function(){var dn={passive:!1,capture:!0};be.current=Cn(window,[Ye,Re],dn)},[Ye,Re]),ct=On(function(){var pn=ye.current;pn.type!=="IDLE"&&(ye.current=Jn,be.current(),Qe())},[Qe]),vt=On(function(){var pn=ye.current;ct(),pn.type==="DRAGGING"&&pn.actions.cancel({shouldBlockNextClick:!0}),pn.type==="PENDING"&&pn.actions.abort()},[ct]),qt=On(function(){var dn={capture:!0,passive:!1},cn=Co({cancel:vt,completed:ct,getPhase:function(){return ye.current},setPhase:function(Bi){ye.current=Bi}});be.current=Cn(window,cn,dn)},[vt,ct]),bn=On(function(dn,cn){ye.current.type!=="IDLE"&&un(!1),ye.current={type:"PENDING",point:cn,actions:dn},qt()},[qt]);Na(function(){return Qe(),function(){be.current()}},[Qe])}var Qo;function qo(){}var ms=(Qo={},Qo[po]=!0,Qo[xo]=!0,Qo[ma]=!0,Qo[ur]=!0,Qo);function Cr(ve,ye){function be(){ye(),ve.cancel()}function Re(){ye(),ve.drop()}return[{eventName:"keydown",fn:function(Qe){if(Qe.keyCode===$r){Qe.preventDefault(),be();return}if(Qe.keyCode===To){Qe.preventDefault(),Re();return}if(Qe.keyCode===Pr){Qe.preventDefault(),ve.moveDown();return}if(Qe.keyCode===mo){Qe.preventDefault(),ve.moveUp();return}if(Qe.keyCode===Fo){Qe.preventDefault(),ve.moveRight();return}if(Qe.keyCode===Vo){Qe.preventDefault(),ve.moveLeft();return}if(ms[Qe.keyCode]){Qe.preventDefault();return}Ur(Qe)}},{eventName:"mousedown",fn:be},{eventName:"mouseup",fn:be},{eventName:"click",fn:be},{eventName:"touchstart",fn:be},{eventName:"resize",fn:be},{eventName:"wheel",fn:be,options:{passive:!0}},{eventName:Do,fn:be}]}function Jo(ve){var ye=(0,ue.useRef)(qo),be=Mn(function(){return{eventName:"keydown",fn:function(Qe){if(Qe.defaultPrevented||Qe.keyCode!==To)return;var ct=ve.findClosestDraggableId(Qe);if(!ct)return;var vt=ve.tryGetLock(ct,pn,{sourceEvent:Qe});if(!vt)return;Qe.preventDefault();var qt=!0,bn=vt.snapLift();ye.current();function pn(){qt||un(!1),qt=!1,ye.current(),Re()}ye.current=Cn(window,Cr(bn,pn),{capture:!0,passive:!1})}}},[ve]),Re=On(function(){var Qe={passive:!1,capture:!0};ye.current=Cn(window,[be],Qe)},[be]);Na(function(){return Re(),function(){ye.current()}},[Re])}var Ha={type:"IDLE"},ls=120,hs=.15;function Za(ve){var ye=ve.cancel,be=ve.getPhase;return[{eventName:"orientationchange",fn:ye},{eventName:"resize",fn:ye},{eventName:"contextmenu",fn:function(Ye){Ye.preventDefault()}},{eventName:"keydown",fn:function(Ye){if(be().type!=="DRAGGING"){ye();return}Ye.keyCode===$r&&Ye.preventDefault(),ye()}},{eventName:Do,fn:ye}]}function pr(ve){var ye=ve.cancel,be=ve.completed,Re=ve.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Qe){var ct=Re();if(ct.type!=="DRAGGING"){ye();return}ct.hasMoved=!0;var vt=Qe.touches[0],qt=vt.clientX,bn=vt.clientY,pn={x:qt,y:bn};Qe.preventDefault(),ct.actions.move(pn)}},{eventName:"touchend",fn:function(Qe){var ct=Re();if(ct.type!=="DRAGGING"){ye();return}Qe.preventDefault(),ct.actions.drop({shouldBlockNextClick:!0}),be()}},{eventName:"touchcancel",fn:function(Qe){if(Re().type!=="DRAGGING"){ye();return}Qe.preventDefault(),ye()}},{eventName:"touchforcechange",fn:function(Qe){var ct=Re();ct.type==="IDLE"&&un(!1);var vt=Qe.touches[0];if(vt){var qt=vt.force>=hs;if(qt){var bn=ct.actions.shouldRespectForcePress();if(ct.type==="PENDING"){bn&&ye();return}if(bn){if(ct.hasMoved){Qe.preventDefault();return}ye();return}Qe.preventDefault()}}}},{eventName:Do,fn:ye}]}function Ho(ve){var ye=(0,ue.useRef)(Ha),be=(0,ue.useRef)(Et),Re=On(function(){return ye.current},[]),Ye=On(function(Wn){ye.current=Wn},[]),Qe=Mn(function(){return{eventName:"touchstart",fn:function(Wn){if(!Wn.defaultPrevented){var Bi=ve.findClosestDraggableId(Wn);if(Bi){var Ar=ve.tryGetLock(Bi,vt,{sourceEvent:Wn});if(Ar){var Mr=Wn.touches[0],Xr=Mr.clientX,bo=Mr.clientY,Go={x:Xr,y:bo};be.current(),dn(Ar,Go)}}}}}},[ve]),ct=On(function(){var Wn={capture:!0,passive:!1};be.current=Cn(window,[Qe],Wn)},[Qe]),vt=On(function(){var cn=ye.current;cn.type!=="IDLE"&&(cn.type==="PENDING"&&clearTimeout(cn.longPressTimerId),Ye(Ha),be.current(),ct())},[ct,Ye]),qt=On(function(){var cn=ye.current;vt(),cn.type==="DRAGGING"&&cn.actions.cancel({shouldBlockNextClick:!0}),cn.type==="PENDING"&&cn.actions.abort()},[vt]),bn=On(function(){var Wn={capture:!0,passive:!1},Bi={cancel:qt,completed:vt,getPhase:Re},Ar=Cn(window,pr(Bi),Wn),Mr=Cn(window,Za(Bi),Wn);be.current=function(){Ar(),Mr()}},[qt,Re,vt]),pn=On(function(){var Wn=Re();Wn.type!=="PENDING"&&un(!1);var Bi=Wn.actions.fluidLift(Wn.point);Ye({type:"DRAGGING",actions:Bi,hasMoved:!1})},[Re,Ye]),dn=On(function(Wn,Bi){Re().type!=="IDLE"&&un(!1);var Ar=setTimeout(pn,ls);Ye({type:"PENDING",point:Bi,actions:Wn,longPressTimerId:Ar}),bn()},[bn,Re,Ye,pn]);Na(function(){return ct(),function(){be.current();var Bi=Re();Bi.type==="PENDING"&&(clearTimeout(Bi.longPressTimerId),Ye(Ha))}},[Re,ct,Ye]),Na(function(){var Wn=Cn(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Wn},[])}function Wa(ve){}var Yo={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function ts(ve,ye){if(ye==null)return!1;var be=!!Yo[ye.tagName.toLowerCase()];if(be)return!0;var Re=ye.getAttribute("contenteditable");return Re==="true"||Re===""?!0:ye===ve?!1:ts(ve,ye.parentElement)}function fs(ve,ye){var be=ye.target;return ec(be)?ts(ve,be):!1}var al=function(ve){return ro(ve.getBoundingClientRect()).center};function Xs(ve){return ve instanceof th(ve).Element}var Os=function(){var ve="matches";if(typeof document=="undefined")return ve;var ye=[ve,"msMatchesSelector","webkitMatchesSelector"],be=xr(ye,function(Re){return Re in Element.prototype});return be||ve}();function eo(ve,ye){return ve==null?null:ve[Os](ye)?ve:eo(ve.parentElement,ye)}function qa(ve,ye){return ve.closest?ve.closest(ye):eo(ve,ye)}function sl(ve){return"["+$u.contextId+'="'+ve+'"]'}function Kl(ve,ye){var be=ye.target;if(!Xs(be))return null;var Re=sl(ve),Ye=qa(be,Re);return!Ye||!ec(Ye)?null:Ye}function La(ve,ye){var be=Kl(ve,ye);return be?be.getAttribute($u.draggableId):null}function jo(ve,ye){var be="["+Wd.contextId+'="'+ve+'"]',Re=oo(document.querySelectorAll(be)),Ye=xr(Re,function(Qe){return Qe.getAttribute(Wd.id)===ye});return!Ye||!ec(Ye)?null:Ye}function ia(ve){ve.preventDefault()}function Yl(ve){var ye=ve.expected,be=ve.phase,Re=ve.isLockActive,Ye=ve.shouldWarn;return!(!Re()||ye!==be)}function Ru(ve){var ye=ve.lockAPI,be=ve.store,Re=ve.registry,Ye=ve.draggableId;if(ye.isClaimed())return!1;var Qe=Re.draggable.findById(Ye);return!(!Qe||!Qe.options.isEnabled||!Ul(be.getState(),Ye))}function tc(ve){var ye=ve.lockAPI,be=ve.contextId,Re=ve.store,Ye=ve.registry,Qe=ve.draggableId,ct=ve.forceSensorStop,vt=ve.sourceEvent,qt=Ru({lockAPI:ye,store:Re,registry:Ye,draggableId:Qe});if(!qt)return null;var bn=Ye.draggable.getById(Qe),pn=jo(be,bn.descriptor.id);if(!pn||vt&&!bn.options.canDragInteractiveElements&&fs(pn,vt))return null;var dn=ye.claim(ct||Et),cn="PRE_DRAG";function Wn(){return bn.options.shouldRespectForcePress}function Bi(){return ye.isActive(dn)}function Ar(ps,Ks){Yl({expected:ps,phase:cn,isLockActive:Bi,shouldWarn:!0})&&Re.dispatch(Ks())}var Mr=Ar.bind(null,"DRAGGING");function Xr(ps){function Ks(){ye.release(),cn="COMPLETED"}cn!=="PRE_DRAG"&&(Ks(),cn!=="PRE_DRAG"&&un(!1)),Re.dispatch(He(ps.liftActionArgs)),cn="DRAGGING";function Hu(Is,ju){if(ju===void 0&&(ju={shouldBlockNextClick:!1}),ps.cleanup(),ju.shouldBlockNextClick){var Ic=Cn(window,[{eventName:"click",fn:ia,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(Ic)}Ks(),Re.dispatch(lo({reason:Is}))}return(0,kt.Z)({isActive:function(){return Yl({expected:"DRAGGING",phase:cn,isLockActive:Bi,shouldWarn:!1})},shouldRespectForcePress:Wn,drop:function(ju){return Hu("DROP",ju)},cancel:function(ju){return Hu("CANCEL",ju)}},ps.actions)}function bo(ps){var Ks=nn(function(Is){Mr(function(){return ti({client:Is})})}),Hu=Xr({liftActionArgs:{id:Qe,clientSelection:ps,movementMode:"FLUID"},cleanup:function(){return Ks.cancel()},actions:{move:Ks}});return(0,kt.Z)({},Hu,{move:Ks})}function Go(){var ps={moveUp:function(){return Mr(vi)},moveRight:function(){return Mr(di)},moveDown:function(){return Mr(Gi)},moveLeft:function(){return Mr(hr)}};return Xr({liftActionArgs:{id:Qe,clientSelection:al(pn),movementMode:"SNAP"},cleanup:Et,actions:ps})}function zo(){var ps=Yl({expected:"PRE_DRAG",phase:cn,isLockActive:Bi,shouldWarn:!0});ps&&ye.release()}var va={isActive:function(){return Yl({expected:"PRE_DRAG",phase:cn,isLockActive:Bi,shouldWarn:!1})},shouldRespectForcePress:Wn,fluidLift:bo,snapLift:Go,abort:zo};return va}var fa=[Xo,Jo,Ho];function Ua(ve){var ye=ve.contextId,be=ve.store,Re=ve.registry,Ye=ve.customSensors,Qe=ve.enableDefaultSensors,ct=[].concat(Qe?fa:[],Ye||[]),vt=(0,ue.useState)(function(){return Yr()})[0],qt=On(function(bo,Go){bo.isDragging&&!Go.isDragging&&vt.tryAbandon()},[vt]);Na(function(){var bo=be.getState(),Go=be.subscribe(function(){var zo=be.getState();qt(bo,zo),bo=zo});return Go},[vt,be,qt]),Na(function(){return vt.tryAbandon},[vt.tryAbandon]);var bn=On(function(Xr){return Ru({lockAPI:vt,registry:Re,store:be,draggableId:Xr})},[vt,Re,be]),pn=On(function(Xr,bo,Go){return tc({lockAPI:vt,registry:Re,contextId:ye,store:be,draggableId:Xr,forceSensorStop:bo,sourceEvent:Go&&Go.sourceEvent?Go.sourceEvent:null})},[ye,vt,Re,be]),dn=On(function(Xr){return La(ye,Xr)},[ye]),cn=On(function(Xr){var bo=Re.draggable.findById(Xr);return bo?bo.options:null},[Re.draggable]),Wn=On(function(){vt.isClaimed()&&(vt.tryAbandon(),be.getState().phase!=="IDLE"&&be.dispatch(Gn()))},[vt,be]),Bi=On(vt.isClaimed,[vt]),Ar=Mn(function(){return{canGetLock:bn,tryGetLock:pn,findClosestDraggableId:dn,findOptionsForDraggable:cn,tryReleaseLock:Wn,isLockClaimed:Bi}},[bn,pn,dn,cn,Wn,Bi]);Wa(ct);for(var Mr=0;Mr=0||Object.prototype.hasOwnProperty.call(Ut,te)&&(Oe[te]=Ut[te]);return Oe}function bt(Ut,Zt){if(!(Ut instanceof Zt))throw new TypeError("Cannot call a class as a function")}function wt(Ut,Zt){if(!Ut)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Zt&&(typeof Zt=="object"||typeof Zt=="function")?Zt:Ut}function pt(Ut,Zt){if(typeof Zt!="function"&&Zt!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Zt);Ut.prototype=Object.create(Zt&&Zt.prototype,{constructor:{value:Ut,enumerable:!1,writable:!0,configurable:!0}}),Zt&&(Object.setPrototypeOf?Object.setPrototypeOf(Ut,Zt):Ut.__proto__=Zt)}var St=function(Ut){pt(Zt,Ut);function Zt(Oe){bt(this,Zt);var te=wt(this,(Zt.__proto__||Object.getPrototypeOf(Zt)).call(this,Oe));return te.scrollListener=te.scrollListener.bind(te),te.eventListenerOptions=te.eventListenerOptions.bind(te),te.mousewheelListener=te.mousewheelListener.bind(te),te}return ue(Zt,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var te=this.getParentElement(this.scrollComponent);te.scrollTop=te.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var te=!1,ne={get passive(){te=!0}};try{document.addEventListener("test",null,ne),document.removeEventListener("test",null,ne)}catch(de){}return te}},{key:"eventListenerOptions",value:function(){var te=this.props.useCapture;return this.isPassiveSupported()&&(te={useCapture:this.props.useCapture,passive:!0}),te}},{key:"setDefaultLoader",value:function(te){this.defaultLoader=te}},{key:"detachMousewheelListener",value:function(){var te=window;this.props.useWindow===!1&&(te=this.scrollComponent.parentNode),te.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var te=window;this.props.useWindow===!1&&(te=this.getParentElement(this.scrollComponent)),te.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),te.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(te){var ne=this.props.getScrollParent&&this.props.getScrollParent();return ne!=null?ne:te&&te.parentNode}},{key:"filterProps",value:function(te){return te}},{key:"attachScrollListener",value:function(){var te=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!te)){var ne=window;this.props.useWindow===!1&&(ne=te),ne.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),ne.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),ne.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(te){te.deltaY===1&&!this.isPassiveSupported()&&te.preventDefault()}},{key:"scrollListener",value:function(){var te=this.scrollComponent,ne=window,de=this.getParentElement(te),le=void 0;if(this.props.useWindow){var pe=document.documentElement||document.body.parentNode||document.body,xe=ne.pageYOffset!==void 0?ne.pageYOffset:pe.scrollTop;this.props.isReverse?le=xe:le=this.calculateOffset(te,xe)}else this.props.isReverse?le=de.scrollTop:le=te.scrollHeight-de.scrollTop-de.clientHeight;le0,Kr=z.useState(!Ye||!Qe),Xr=(0,T.Z)(Kr,2),Or=Xr[0],er=Xr[1];if((0,_.Z)(function(){!Or&&Qe&&le&&er(!0)},[Or,Qe,le]),!Or)return null;var Me="auto",Ze={left:"-1000vw",top:"-1000vh",right:Me,bottom:Me};if(Wt||!Ee){var i,B=Le.points,W=Le.dynamicInset||((i=Le._experimental)===null||i===void 0?void 0:i.dynamicInset),V=W&&B[0][1]==="r",fe=W&&B[0][0]==="b";V?(Ze.right=fr,Ze.left=Me):(Ze.left=Jt,Ze.right=Me),fe?(Ze.bottom=yt,Ze.top=Me):(Ze.top=ar,Ze.bottom=Me)}var ye={};return Gt&&(Gt.includes("height")&&qt?ye.height=qt:Gt.includes("minHeight")&&qt&&(ye.minHeight=qt),Gt.includes("width")&&st?ye.width=st:Gt.includes("minWidth")&&st&&(ye.minWidth=st)),Ee||(ye.pointerEvents="none"),z.createElement(Bt,{open:ft||ir,getContainer:Ye&&function(){return Ye(le)},autoDestroy:Re},z.createElement(te,{prefixCls:ee,open:Ee,zIndex:Ut,mask:De,motion:ot}),z.createElement(g.Z,{onResize:Dt,disabled:!Ee},function(Ae){return z.createElement(ie.default,(0,pe.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ft,leavedClassName:"".concat(ee,"-hidden")},et,{onAppearPrepare:wt,onEnterPrepare:wt,visible:Ee,onVisibleChanged:function(Ne){var Ve;et==null||(Ve=et.onVisibleChanged)===null||Ve===void 0||Ve.call(et,Ne),ne(Ne)}}),function(ke,Ne){var Ve=ke.className,ze=ke.style,tt=b()(ee,Ve,X);return z.createElement("div",{ref:(0,be.sQ)(Ae,M,Ne),className:tt,style:(0,m.Z)((0,m.Z)((0,m.Z)((0,m.Z)({"--arrow-x":"".concat(Te.x||0,"px"),"--arrow-y":"".concat(Te.y||0,"px")},Ze),ye),ze),{},{boxSizing:"border-box",zIndex:Ut},de),onMouseEnter:Mt,onMouseLeave:Ct,onPointerEnter:dr,onClick:Se},Be&&z.createElement(he,{prefixCls:ee,arrow:Be,arrowPos:Te,align:Le}),z.createElement(G,{cache:!Ee&&!ge},Et))})}))}),f=d,L=z.forwardRef(function(x,M){var C=x.children,X=x.getTriggerDOMNode,ee=(0,be.Yr)(C),de=z.useCallback(function(ne){(0,be.mH)(M,X?X(ne):ne)},[X]),le=(0,be.x1)(de,C.ref);return ee?z.cloneElement(C,{ref:le}):C}),Y=L,ae=z.createContext(null),oe=ae;function q(x){return x?Array.isArray(x)?x:[x]:[]}function A(x,M,C,X){return z.useMemo(function(){var ee=q(C!=null?C:M),de=q(X!=null?X:M),le=new Set(ee),ne=new Set(de);return x&&(le.has("hover")&&(le.delete("hover"),le.add("click")),ne.has("hover")&&(ne.delete("hover"),ne.add("click"))),[le,ne]},[x,M,C,X])}var w=t(29194);function u(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],C=arguments.length>2?arguments[2]:void 0;return C?x[0]===M[0]:x[0]===M[0]&&x[1]===M[1]}function S(x,M,C,X){for(var ee=C.points,de=Object.keys(x),le=0;le1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(x)?M:x}function U(x){return D(parseFloat(x),0)}function r(x,M){var C=(0,m.Z)({},x);return(M||[]).forEach(function(X){if(!(X instanceof HTMLBodyElement||X instanceof HTMLHtmlElement)){var ee=I(X).getComputedStyle(X),de=ee.overflow,le=ee.overflowClipMargin,ne=ee.borderTopWidth,Ee=ee.borderBottomWidth,me=ee.borderLeftWidth,ge=ee.borderRightWidth,Se=X.getBoundingClientRect(),De=X.offsetHeight,Be=X.clientHeight,Te=X.offsetWidth,Le=X.clientWidth,et=U(ne),ot=U(Ee),ft=U(me),Ye=U(ge),Re=D(Math.round(Se.width/Te*1e3)/1e3),Bt=D(Math.round(Se.height/De*1e3)/1e3),Ut=(Te-Le-ft-Ye)*Re,Mt=(De-Be-et-ot)*Bt,Ct=et*Bt,dr=ot*Bt,Wt=ft*Re,Jt=Ye*Re,ar=0,fr=0;if(de==="clip"){var yt=U(le);ar=yt*Re,fr=yt*Bt}var Dt=Se.x+Wt-ar,wt=Se.y+Ct-fr,Gt=Dt+Se.width+2*ar-Wt-Jt-Ut,st=wt+Se.height+2*fr-Ct-dr-Mt;C.left=Math.max(C.left,Dt),C.top=Math.max(C.top,wt),C.right=Math.min(C.right,Gt),C.bottom=Math.min(C.bottom,st)}}),C}function l(x){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,C="".concat(M),X=C.match(/^(.*)\%$/);return X?x*(parseFloat(X[1])/100):parseFloat(C)}function s(x,M){var C=M||[],X=(0,T.Z)(C,2),ee=X[0],de=X[1];return[l(x.width,ee),l(x.height,de)]}function o(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[x[0],x[1]]}function a(x,M){var C=M[0],X=M[1],ee,de;return C==="t"?de=x.y:C==="b"?de=x.y+x.height:de=x.y+x.height/2,X==="l"?ee=x.x:X==="r"?ee=x.x+x.width:ee=x.x+x.width/2,{x:ee,y:de}}function p(x,M){var C={t:"b",b:"t",l:"r",r:"l"};return x.map(function(X,ee){return ee===M?C[X]||"c":X}).join("")}function P(x,M,C,X,ee,de,le){var ne=z.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ee[X]||{}}),Ee=(0,T.Z)(ne,2),me=Ee[0],ge=Ee[1],Se=z.useRef(0),De=z.useMemo(function(){return M?h(M):[]},[M]),Be=z.useRef({}),Te=function(){Be.current={}};x||Te();var Le=(0,H.Z)(function(){if(M&&C&&x){let pt=function(Rt,Ot){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:tt,cr=Et.x+Rt,vr=Et.y+Ot,mr=cr+i,br=vr+Ze,Cr=Math.max(cr,sr.left),Ge=Math.max(vr,sr.top),kt=Math.min(mr,sr.right),Dr=Math.min(br,sr.bottom);return Math.max(0,(kt-Cr)*(Dr-Ge))},Pe=function(){xr=Et.y+Je,jr=xr+Ze,lr=Et.x+mt,$r=lr+i};var ft,Ye,Re=M,Bt=Re.ownerDocument,Ut=I(Re),Mt=Ut.getComputedStyle(Re),Ct=Mt.width,dr=Mt.height,Wt=Mt.position,Jt=Re.style.left,ar=Re.style.top,fr=Re.style.right,yt=Re.style.bottom,Dt=Re.style.overflow,wt=(0,m.Z)((0,m.Z)({},ee[X]),de),Gt=Bt.createElement("div");(ft=Re.parentElement)===null||ft===void 0||ft.appendChild(Gt),Gt.style.left="".concat(Re.offsetLeft,"px"),Gt.style.top="".concat(Re.offsetTop,"px"),Gt.style.position=Wt,Gt.style.height="".concat(Re.offsetHeight,"px"),Gt.style.width="".concat(Re.offsetWidth,"px"),Re.style.left="0",Re.style.top="0",Re.style.right="auto",Re.style.bottom="auto",Re.style.overflow="hidden";var st;if(Array.isArray(C))st={x:C[0],y:C[1],width:0,height:0};else{var qt=C.getBoundingClientRect();st={x:qt.x,y:qt.y,width:qt.width,height:qt.height}}var Et=Re.getBoundingClientRect(),ir=Bt.documentElement,Qe=ir.clientWidth,Kr=ir.clientHeight,Xr=ir.scrollWidth,Or=ir.scrollHeight,er=ir.scrollTop,Me=ir.scrollLeft,Ze=Et.height,i=Et.width,B=st.height,W=st.width,V={left:0,top:0,right:Qe,bottom:Kr},fe={left:-Me,top:-er,right:Xr-Me,bottom:Or-er},ye=wt.htmlRegion,Ae="visible",ke="visibleFirst";ye!=="scroll"&&ye!==ke&&(ye=Ae);var Ne=ye===ke,Ve=r(fe,De),ze=r(V,De),tt=ye===Ae?ze:Ve,vt=Ne?ze:tt;Re.style.left="auto",Re.style.top="auto",Re.style.right="0",Re.style.bottom="0";var Tt=Re.getBoundingClientRect();Re.style.left=Jt,Re.style.top=ar,Re.style.right=fr,Re.style.bottom=yt,Re.style.overflow=Dt,(Ye=Re.parentElement)===null||Ye===void 0||Ye.removeChild(Gt);var zt=D(Math.round(i/parseFloat(Ct)*1e3)/1e3),Pt=D(Math.round(Ze/parseFloat(dr)*1e3)/1e3);if(zt===0||Pt===0||(0,R.Sh)(C)&&!(0,w.Z)(C))return;var Ht=wt.offset,Ke=wt.targetOffset,We=s(Et,Ht),$t=(0,T.Z)(We,2),at=$t[0],_e=$t[1],lt=s(st,Ke),tr=(0,T.Z)(lt,2),Kt=tr[0],Pr=tr[1];st.x-=Kt,st.y-=Pr;var rr=wt.points||[],Vt=(0,T.Z)(rr,2),nr=Vt[0],Rr=Vt[1],St=o(Rr),At=o(nr),hr=a(st,St),zr=a(Et,At),or=(0,m.Z)({},wt),mt=hr.x-zr.x+at,Je=hr.y-zr.y+_e,gr=pt(mt,Je),pr=pt(mt,Je,ze),Xt=a(st,["t","l"]),ht=a(Et,["t","l"]),_t=a(st,["b","r"]),Yt=a(Et,["b","r"]),Nt=wt.overflow||{},wr=Nt.adjustX,jt=Nt.adjustY,Fe=Nt.shiftX,yr=Nt.shiftY,ct=function(Ot){return typeof Ot=="boolean"?Ot:Ot>=0},xr,jr,lr,$r;Pe();var Jr=ct(jt),Br=At[0]===St[0];if(Jr&&At[0]==="t"&&(jr>vt.bottom||Be.current.bt)){var Fr=Je;Br?Fr-=Ze-B:Fr=Xt.y-Yt.y-_e;var Ir=pt(mt,Fr),Vr=pt(mt,Fr,ze);Ir>gr||Ir===gr&&(!Ne||Vr>=pr)?(Be.current.bt=!0,Je=Fr,_e=-_e,or.points=[p(At,0),p(St,0)]):Be.current.bt=!1}if(Jr&&At[0]==="b"&&(xrgr||_r===gr&&(!Ne||hn>=pr)?(Be.current.tb=!0,Je=Qt,_e=-_e,or.points=[p(At,0),p(St,0)]):Be.current.tb=!1}var fn=ct(wr),vn=At[1]===St[1];if(fn&&At[1]==="l"&&($r>vt.right||Be.current.rl)){var Yr=mt;vn?Yr-=i-W:Yr=Xt.x-Yt.x-at;var mn=pt(Yr,Je),gn=pt(Yr,Je,ze);mn>gr||mn===gr&&(!Ne||gn>=pr)?(Be.current.rl=!0,mt=Yr,at=-at,or.points=[p(At,1),p(St,1)]):Be.current.rl=!1}if(fn&&At[1]==="r"&&(lrgr||ln===gr&&(!Ne||kr>=pr)?(Be.current.lr=!0,mt=Qr,at=-at,or.points=[p(At,1),p(St,1)]):Be.current.lr=!1}Pe();var Ur=Fe===!0?0:Fe;typeof Ur=="number"&&(lrze.right&&(mt-=$r-ze.right-at,st.x>ze.right-Ur&&(mt+=st.x-ze.right+Ur)));var qr=yr===!0?0:yr;typeof qr=="number"&&(xrze.bottom&&(Je-=jr-ze.bottom-_e,st.y>ze.bottom-qr&&(Je+=st.y-ze.bottom+qr)));var e=Et.x+mt,n=e+i,c=Et.y+Je,O=c+Ze,j=st.x,K=j+W,Oe=st.y,ce=Oe+B,Ue=Math.max(e,j),ut=Math.min(n,K),gt=(Ue+ut)/2,Lt=gt-e,nt=Math.max(c,Oe),Ft=Math.min(O,ce),dt=(nt+Ft)/2,it=dt-c;le==null||le(M,or);var Zt=Tt.right-Et.x-(mt+Et.width),xt=Tt.bottom-Et.y-(Je+Et.height);ge({ready:!0,offsetX:mt/zt,offsetY:Je/Pt,offsetR:Zt/zt,offsetB:xt/Pt,arrowX:Lt/zt,arrowY:it/Pt,scaleX:zt,scaleY:Pt,align:or})}}),et=function(){Se.current+=1;var Ye=Se.current;Promise.resolve().then(function(){Se.current===Ye&&Le()})},ot=function(){ge(function(Ye){return(0,m.Z)((0,m.Z)({},Ye),{},{ready:!1})})};return(0,_.Z)(ot,[X]),(0,_.Z)(function(){x||ot()},[x]),[me.ready,me.offsetX,me.offsetY,me.offsetR,me.offsetB,me.arrowX,me.arrowY,me.scaleX,me.scaleY,me.align,et]}var Q=t(80702);function we(x,M,C,X,ee){(0,_.Z)(function(){if(x&&M&&C){let Se=function(){X(),ee()};var de=M,le=C,ne=h(de),Ee=h(le),me=I(le),ge=new Set([me].concat((0,Q.Z)(ne),(0,Q.Z)(Ee)));return ge.forEach(function(De){De.addEventListener("scroll",Se,{passive:!0})}),me.addEventListener("resize",Se,{passive:!0}),X(),function(){ge.forEach(function(De){De.removeEventListener("scroll",Se),me.removeEventListener("resize",Se)})}}},[x,M,C])}var F=t(48736),J=t(16089);function ue(x,M,C,X,ee,de,le,ne){var Ee=z.useRef(x),me=z.useRef(!1);Ee.current!==x&&(me.current=!0,Ee.current=x),z.useEffect(function(){var ge=(0,J.Z)(function(){me.current=!1});return function(){J.Z.cancel(ge)}},[x]),z.useEffect(function(){if(M&&X&&(!ee||de)){var ge=function(){var Wt=!1,Jt=function(yt){var Dt=yt.target;Wt=le(Dt)},ar=function(yt){var Dt=yt.target;!me.current&&Ee.current&&!Wt&&!le(Dt)&&ne(!1)};return[Jt,ar]},Se=ge(),De=(0,T.Z)(Se,2),Be=De[0],Te=De[1],Le=ge(),et=(0,T.Z)(Le,2),ot=et[0],ft=et[1],Ye=I(X);Ye.addEventListener("mousedown",Be,!0),Ye.addEventListener("click",Te,!0),Ye.addEventListener("contextmenu",Te,!0);var Re=(0,Z.A)(C);if(Re&&(Re.addEventListener("mousedown",ot,!0),Re.addEventListener("click",ft,!0),Re.addEventListener("contextmenu",ft,!0)),0)var Bt,Ut,Mt,Ct;return function(){Ye.removeEventListener("mousedown",Be,!0),Ye.removeEventListener("click",Te,!0),Ye.removeEventListener("contextmenu",Te,!0),Re&&(Re.removeEventListener("mousedown",ot,!0),Re.removeEventListener("click",ft,!0),Re.removeEventListener("contextmenu",ft,!0))}}},[M,C,X,ee,de])}var ve=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function xe(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v.Z,M=z.forwardRef(function(C,X){var ee=C.prefixCls,de=ee===void 0?"rc-trigger-popup":ee,le=C.children,ne=C.action,Ee=ne===void 0?"hover":ne,me=C.showAction,ge=C.hideAction,Se=C.popupVisible,De=C.defaultPopupVisible,Be=C.onPopupVisibleChange,Te=C.afterPopupVisibleChange,Le=C.mouseEnterDelay,et=C.mouseLeaveDelay,ot=et===void 0?.1:et,ft=C.focusDelay,Ye=C.blurDelay,Re=C.mask,Bt=C.maskClosable,Ut=Bt===void 0?!0:Bt,Mt=C.getPopupContainer,Ct=C.forceRender,dr=C.autoDestroy,Wt=C.destroyPopupOnHide,Jt=C.popup,ar=C.popupClassName,fr=C.popupStyle,yt=C.popupPlacement,Dt=C.builtinPlacements,wt=Dt===void 0?{}:Dt,Gt=C.popupAlign,st=C.zIndex,qt=C.stretch,Et=C.getPopupClassNameFromAlign,ir=C.fresh,Qe=C.alignPoint,Kr=C.onPopupClick,Xr=C.onPopupAlign,Or=C.arrow,er=C.popupMotion,Me=C.maskMotion,Ze=C.popupTransitionName,i=C.popupAnimation,B=C.maskTransitionName,W=C.maskAnimation,V=C.className,fe=C.getTriggerDOMNode,ye=(0,$.Z)(C,ve),Ae=dr||Wt||!1,ke=z.useState(!1),Ne=(0,T.Z)(ke,2),Ve=Ne[0],ze=Ne[1];(0,_.Z)(function(){ze((0,k.Z)())},[]);var tt=z.useRef({}),vt=z.useContext(oe),Tt=z.useMemo(function(){return{registerSubPopup:function(je,Xe){tt.current[je]=Xe,vt==null||vt.registerSubPopup(je,Xe)}}},[vt]),zt=(0,re.Z)(),Pt=z.useState(null),Ht=(0,T.Z)(Pt,2),Ke=Ht[0],We=Ht[1],$t=(0,H.Z)(function(Ce){(0,R.Sh)(Ce)&&Ke!==Ce&&We(Ce),vt==null||vt.registerSubPopup(zt,Ce)}),at=z.useState(null),_e=(0,T.Z)(at,2),lt=_e[0],tr=_e[1],Kt=z.useRef(null),Pr=(0,H.Z)(function(Ce){(0,R.Sh)(Ce)&<!==Ce&&(tr(Ce),Kt.current=Ce)}),rr=z.Children.only(le),Vt=(rr==null?void 0:rr.props)||{},nr={},Rr=(0,H.Z)(function(Ce){var je,Xe,bt=lt;return(bt==null?void 0:bt.contains(Ce))||((je=(0,Z.A)(bt))===null||je===void 0?void 0:je.host)===Ce||Ce===bt||(Ke==null?void 0:Ke.contains(Ce))||((Xe=(0,Z.A)(Ke))===null||Xe===void 0?void 0:Xe.host)===Ce||Ce===Ke||Object.values(tt.current).some(function(He){return(He==null?void 0:He.contains(Ce))||Ce===He})}),St=E(de,er,i,Ze),At=E(de,Me,W,B),hr=z.useState(De||!1),zr=(0,T.Z)(hr,2),or=zr[0],mt=zr[1],Je=Se!=null?Se:or,gr=(0,H.Z)(function(Ce){Se===void 0&&mt(Ce)});(0,_.Z)(function(){mt(Se||!1)},[Se]);var pr=z.useRef(Je);pr.current=Je;var Xt=z.useRef([]);Xt.current=[];var ht=(0,H.Z)(function(Ce){var je;gr(Ce),((je=Xt.current[Xt.current.length-1])!==null&&je!==void 0?je:Je)!==Ce&&(Xt.current.push(Ce),Be==null||Be(Ce))}),_t=z.useRef(),Yt=function(){clearTimeout(_t.current)},Nt=function(je){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Yt(),Xe===0?ht(je):_t.current=setTimeout(function(){ht(je)},Xe*1e3)};z.useEffect(function(){return Yt},[]);var wr=z.useState(!1),jt=(0,T.Z)(wr,2),Fe=jt[0],yr=jt[1];(0,_.Z)(function(Ce){(!Ce||Je)&&yr(!0)},[Je]);var ct=z.useState(null),xr=(0,T.Z)(ct,2),jr=xr[0],lr=xr[1],$r=z.useState([0,0]),Jr=(0,T.Z)($r,2),Br=Jr[0],Fr=Jr[1],Ir=function(je){Fr([je.clientX,je.clientY])},Vr=P(Je,Ke,Qe?Br:lt,yt,wt,Gt,Xr),Qt=(0,T.Z)(Vr,11),_r=Qt[0],hn=Qt[1],fn=Qt[2],vn=Qt[3],Yr=Qt[4],mn=Qt[5],gn=Qt[6],Qr=Qt[7],ln=Qt[8],kr=Qt[9],Ur=Qt[10],qr=A(Ve,Ee,me,ge),e=(0,T.Z)(qr,2),n=e[0],c=e[1],O=n.has("click"),j=c.has("click")||c.has("contextMenu"),K=(0,H.Z)(function(){Fe||Ur()}),Oe=function(){pr.current&&Qe&&j&&Nt(!1)};we(Je,lt,Ke,K,Oe),(0,_.Z)(function(){K()},[Br,yt]),(0,_.Z)(function(){Je&&!(wt!=null&&wt[yt])&&K()},[JSON.stringify(Gt)]);var ce=z.useMemo(function(){var Ce=S(wt,de,kr,Qe);return b()(Ce,Et==null?void 0:Et(kr))},[kr,Et,wt,de,Qe]);z.useImperativeHandle(X,function(){return{nativeElement:Kt.current,forceAlign:K}});var Ue=z.useState(0),ut=(0,T.Z)(Ue,2),gt=ut[0],Lt=ut[1],nt=z.useState(0),Ft=(0,T.Z)(nt,2),dt=Ft[0],it=Ft[1],Zt=function(){if(qt&<){var je=lt.getBoundingClientRect();Lt(je.width),it(je.height)}},xt=function(){Zt(),K()},pt=function(je){yr(!1),Ur(),Te==null||Te(je)},Pe=function(){return new Promise(function(je){Zt(),lr(function(){return je})})};(0,_.Z)(function(){jr&&(Ur(),jr(),lr(null))},[jr]);function Rt(Ce,je,Xe,bt){nr[Ce]=function(He){var en;bt==null||bt(He),Nt(je,Xe);for(var Ar=arguments.length,tn=new Array(Ar>1?Ar-1:0),Mr=1;Mr1?Xe-1:0),He=1;He1?Xe-1:0),He=1;He0,Kr=z.useState(!Ye||!Qe),Xr=(0,T.Z)(Kr,2),Or=Xr[0],er=Xr[1];if((0,_.Z)(function(){!Or&&Qe&&le&&er(!0)},[Or,Qe,le]),!Or)return null;var Me="auto",Ze={left:"-1000vw",top:"-1000vh",right:Me,bottom:Me};if(Wt||!Ee){var i,B=Le.points,W=Le.dynamicInset||((i=Le._experimental)===null||i===void 0?void 0:i.dynamicInset),V=W&&B[0][1]==="r",fe=W&&B[0][0]==="b";V?(Ze.right=fr,Ze.left=Me):(Ze.left=Jt,Ze.right=Me),fe?(Ze.bottom=yt,Ze.top=Me):(Ze.top=ar,Ze.bottom=Me)}var ye={};return Gt&&(Gt.includes("height")&&qt?ye.height=qt:Gt.includes("minHeight")&&qt&&(ye.minHeight=qt),Gt.includes("width")&&st?ye.width=st:Gt.includes("minWidth")&&st&&(ye.minWidth=st)),Ee||(ye.pointerEvents="none"),z.createElement(Bt,{open:ft||ir,getContainer:Ye&&function(){return Ye(le)},autoDestroy:Re},z.createElement(te,{prefixCls:ee,open:Ee,zIndex:Ut,mask:De,motion:ot}),z.createElement(g.Z,{onResize:Dt,disabled:!Ee},function(Ae){return z.createElement(ie.default,(0,pe.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ft,leavedClassName:"".concat(ee,"-hidden")},et,{onAppearPrepare:wt,onEnterPrepare:wt,visible:Ee,onVisibleChanged:function(Ne){var Ve;et==null||(Ve=et.onVisibleChanged)===null||Ve===void 0||Ve.call(et,Ne),ne(Ne)}}),function(ke,Ne){var Ve=ke.className,ze=ke.style,tt=b()(ee,Ve,X);return z.createElement("div",{ref:(0,be.sQ)(Ae,M,Ne),className:tt,style:(0,m.Z)((0,m.Z)((0,m.Z)((0,m.Z)({"--arrow-x":"".concat(Te.x||0,"px"),"--arrow-y":"".concat(Te.y||0,"px")},Ze),ye),ze),{},{boxSizing:"border-box",zIndex:Ut},de),onMouseEnter:Mt,onMouseLeave:Ct,onPointerEnter:dr,onClick:Se},Be&&z.createElement(he,{prefixCls:ee,arrow:Be,arrowPos:Te,align:Le}),z.createElement(G,{cache:!Ee&&!ge},Et))})}))}),f=d,L=z.forwardRef(function(x,M){var C=x.children,X=x.getTriggerDOMNode,ee=(0,be.Yr)(C),de=z.useCallback(function(ne){(0,be.mH)(M,X?X(ne):ne)},[X]),le=(0,be.x1)(de,C.ref);return ee?z.cloneElement(C,{ref:le}):C}),Y=L,ae=z.createContext(null),oe=ae;function q(x){return x?Array.isArray(x)?x:[x]:[]}function A(x,M,C,X){return z.useMemo(function(){var ee=q(C!=null?C:M),de=q(X!=null?X:M),le=new Set(ee),ne=new Set(de);return x&&(le.has("hover")&&(le.delete("hover"),le.add("click")),ne.has("hover")&&(ne.delete("hover"),ne.add("click"))),[le,ne]},[x,M,C,X])}var w=t(29194);function u(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],C=arguments.length>2?arguments[2]:void 0;return C?x[0]===M[0]:x[0]===M[0]&&x[1]===M[1]}function S(x,M,C,X){for(var ee=C.points,de=Object.keys(x),le=0;le1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(x)?M:x}function U(x){return D(parseFloat(x),0)}function r(x,M){var C=(0,m.Z)({},x);return(M||[]).forEach(function(X){if(!(X instanceof HTMLBodyElement||X instanceof HTMLHtmlElement)){var ee=I(X).getComputedStyle(X),de=ee.overflow,le=ee.overflowClipMargin,ne=ee.borderTopWidth,Ee=ee.borderBottomWidth,me=ee.borderLeftWidth,ge=ee.borderRightWidth,Se=X.getBoundingClientRect(),De=X.offsetHeight,Be=X.clientHeight,Te=X.offsetWidth,Le=X.clientWidth,et=U(ne),ot=U(Ee),ft=U(me),Ye=U(ge),Re=D(Math.round(Se.width/Te*1e3)/1e3),Bt=D(Math.round(Se.height/De*1e3)/1e3),Ut=(Te-Le-ft-Ye)*Re,Mt=(De-Be-et-ot)*Bt,Ct=et*Bt,dr=ot*Bt,Wt=ft*Re,Jt=Ye*Re,ar=0,fr=0;if(de==="clip"){var yt=U(le);ar=yt*Re,fr=yt*Bt}var Dt=Se.x+Wt-ar,wt=Se.y+Ct-fr,Gt=Dt+Se.width+2*ar-Wt-Jt-Ut,st=wt+Se.height+2*fr-Ct-dr-Mt;C.left=Math.max(C.left,Dt),C.top=Math.max(C.top,wt),C.right=Math.min(C.right,Gt),C.bottom=Math.min(C.bottom,st)}}),C}function l(x){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,C="".concat(M),X=C.match(/^(.*)\%$/);return X?x*(parseFloat(X[1])/100):parseFloat(C)}function s(x,M){var C=M||[],X=(0,T.Z)(C,2),ee=X[0],de=X[1];return[l(x.width,ee),l(x.height,de)]}function o(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[x[0],x[1]]}function a(x,M){var C=M[0],X=M[1],ee,de;return C==="t"?de=x.y:C==="b"?de=x.y+x.height:de=x.y+x.height/2,X==="l"?ee=x.x:X==="r"?ee=x.x+x.width:ee=x.x+x.width/2,{x:ee,y:de}}function p(x,M){var C={t:"b",b:"t",l:"r",r:"l"};return x.map(function(X,ee){return ee===M?C[X]||"c":X}).join("")}function P(x,M,C,X,ee,de,le){var ne=z.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ee[X]||{}}),Ee=(0,T.Z)(ne,2),me=Ee[0],ge=Ee[1],Se=z.useRef(0),De=z.useMemo(function(){return M?h(M):[]},[M]),Be=z.useRef({}),Te=function(){Be.current={}};x||Te();var Le=(0,H.Z)(function(){if(M&&C&&x){let pt=function(Rt,Ot){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:tt,cr=Et.x+Rt,vr=Et.y+Ot,mr=cr+i,br=vr+Ze,Cr=Math.max(cr,sr.left),Ge=Math.max(vr,sr.top),kt=Math.min(mr,sr.right),Dr=Math.min(br,sr.bottom);return Math.max(0,(kt-Cr)*(Dr-Ge))},Pe=function(){xr=Et.y+Je,jr=xr+Ze,lr=Et.x+mt,$r=lr+i};var ft,Ye,Re=M,Bt=Re.ownerDocument,Ut=I(Re),Mt=Ut.getComputedStyle(Re),Ct=Mt.width,dr=Mt.height,Wt=Mt.position,Jt=Re.style.left,ar=Re.style.top,fr=Re.style.right,yt=Re.style.bottom,Dt=Re.style.overflow,wt=(0,m.Z)((0,m.Z)({},ee[X]),de),Gt=Bt.createElement("div");(ft=Re.parentElement)===null||ft===void 0||ft.appendChild(Gt),Gt.style.left="".concat(Re.offsetLeft,"px"),Gt.style.top="".concat(Re.offsetTop,"px"),Gt.style.position=Wt,Gt.style.height="".concat(Re.offsetHeight,"px"),Gt.style.width="".concat(Re.offsetWidth,"px"),Re.style.left="0",Re.style.top="0",Re.style.right="auto",Re.style.bottom="auto",Re.style.overflow="hidden";var st;if(Array.isArray(C))st={x:C[0],y:C[1],width:0,height:0};else{var qt=C.getBoundingClientRect();st={x:qt.x,y:qt.y,width:qt.width,height:qt.height}}var Et=Re.getBoundingClientRect(),ir=Bt.documentElement,Qe=ir.clientWidth,Kr=ir.clientHeight,Xr=ir.scrollWidth,Or=ir.scrollHeight,er=ir.scrollTop,Me=ir.scrollLeft,Ze=Et.height,i=Et.width,B=st.height,W=st.width,V={left:0,top:0,right:Qe,bottom:Kr},fe={left:-Me,top:-er,right:Xr-Me,bottom:Or-er},ye=wt.htmlRegion,Ae="visible",ke="visibleFirst";ye!=="scroll"&&ye!==ke&&(ye=Ae);var Ne=ye===ke,Ve=r(fe,De),ze=r(V,De),tt=ye===Ae?ze:Ve,vt=Ne?ze:tt;Re.style.left="auto",Re.style.top="auto",Re.style.right="0",Re.style.bottom="0";var Tt=Re.getBoundingClientRect();Re.style.left=Jt,Re.style.top=ar,Re.style.right=fr,Re.style.bottom=yt,Re.style.overflow=Dt,(Ye=Re.parentElement)===null||Ye===void 0||Ye.removeChild(Gt);var zt=D(Math.round(i/parseFloat(Ct)*1e3)/1e3),Pt=D(Math.round(Ze/parseFloat(dr)*1e3)/1e3);if(zt===0||Pt===0||(0,R.Sh)(C)&&!(0,w.Z)(C))return;var Ht=wt.offset,Ke=wt.targetOffset,We=s(Et,Ht),$t=(0,T.Z)(We,2),at=$t[0],_e=$t[1],lt=s(st,Ke),tr=(0,T.Z)(lt,2),Kt=tr[0],Pr=tr[1];st.x-=Kt,st.y-=Pr;var rr=wt.points||[],Vt=(0,T.Z)(rr,2),nr=Vt[0],Rr=Vt[1],St=o(Rr),At=o(nr),hr=a(st,St),zr=a(Et,At),or=(0,m.Z)({},wt),mt=hr.x-zr.x+at,Je=hr.y-zr.y+_e,gr=pt(mt,Je),pr=pt(mt,Je,ze),Xt=a(st,["t","l"]),ht=a(Et,["t","l"]),_t=a(st,["b","r"]),Yt=a(Et,["b","r"]),Nt=wt.overflow||{},wr=Nt.adjustX,jt=Nt.adjustY,Fe=Nt.shiftX,yr=Nt.shiftY,ct=function(Ot){return typeof Ot=="boolean"?Ot:Ot>=0},xr,jr,lr,$r;Pe();var Jr=ct(jt),Br=At[0]===St[0];if(Jr&&At[0]==="t"&&(jr>vt.bottom||Be.current.bt)){var Fr=Je;Br?Fr-=Ze-B:Fr=Xt.y-Yt.y-_e;var Ir=pt(mt,Fr),Vr=pt(mt,Fr,ze);Ir>gr||Ir===gr&&(!Ne||Vr>=pr)?(Be.current.bt=!0,Je=Fr,_e=-_e,or.points=[p(At,0),p(St,0)]):Be.current.bt=!1}if(Jr&&At[0]==="b"&&(xrgr||_r===gr&&(!Ne||hn>=pr)?(Be.current.tb=!0,Je=Qt,_e=-_e,or.points=[p(At,0),p(St,0)]):Be.current.tb=!1}var fn=ct(wr),vn=At[1]===St[1];if(fn&&At[1]==="l"&&($r>vt.right||Be.current.rl)){var Yr=mt;vn?Yr-=i-W:Yr=Xt.x-Yt.x-at;var mn=pt(Yr,Je),gn=pt(Yr,Je,ze);mn>gr||mn===gr&&(!Ne||gn>=pr)?(Be.current.rl=!0,mt=Yr,at=-at,or.points=[p(At,1),p(St,1)]):Be.current.rl=!1}if(fn&&At[1]==="r"&&(lrgr||ln===gr&&(!Ne||kr>=pr)?(Be.current.lr=!0,mt=Qr,at=-at,or.points=[p(At,1),p(St,1)]):Be.current.lr=!1}Pe();var Ur=Fe===!0?0:Fe;typeof Ur=="number"&&(lrze.right&&(mt-=$r-ze.right-at,st.x>ze.right-Ur&&(mt+=st.x-ze.right+Ur)));var qr=yr===!0?0:yr;typeof qr=="number"&&(xrze.bottom&&(Je-=jr-ze.bottom-_e,st.y>ze.bottom-qr&&(Je+=st.y-ze.bottom+qr)));var e=Et.x+mt,n=e+i,c=Et.y+Je,O=c+Ze,j=st.x,K=j+W,Oe=st.y,ce=Oe+B,Ue=Math.max(e,j),ut=Math.min(n,K),gt=(Ue+ut)/2,Lt=gt-e,nt=Math.max(c,Oe),Ft=Math.min(O,ce),dt=(nt+Ft)/2,it=dt-c;le==null||le(M,or);var Zt=Tt.right-Et.x-(mt+Et.width),xt=Tt.bottom-Et.y-(Je+Et.height);ge({ready:!0,offsetX:mt/zt,offsetY:Je/Pt,offsetR:Zt/zt,offsetB:xt/Pt,arrowX:Lt/zt,arrowY:it/Pt,scaleX:zt,scaleY:Pt,align:or})}}),et=function(){Se.current+=1;var Ye=Se.current;Promise.resolve().then(function(){Se.current===Ye&&Le()})},ot=function(){ge(function(Ye){return(0,m.Z)((0,m.Z)({},Ye),{},{ready:!1})})};return(0,_.Z)(ot,[X]),(0,_.Z)(function(){x||ot()},[x]),[me.ready,me.offsetX,me.offsetY,me.offsetR,me.offsetB,me.arrowX,me.arrowY,me.scaleX,me.scaleY,me.align,et]}var Q=t(80702);function we(x,M,C,X,ee){(0,_.Z)(function(){if(x&&M&&C){let Se=function(){X(),ee()};var de=M,le=C,ne=h(de),Ee=h(le),me=I(le),ge=new Set([me].concat((0,Q.Z)(ne),(0,Q.Z)(Ee)));return ge.forEach(function(De){De.addEventListener("scroll",Se,{passive:!0})}),me.addEventListener("resize",Se,{passive:!0}),X(),function(){ge.forEach(function(De){De.removeEventListener("scroll",Se),me.removeEventListener("resize",Se)})}}},[x,M,C])}var F=t(48736),J=t(16089);function ue(x,M,C,X,ee,de,le,ne){var Ee=z.useRef(x),me=z.useRef(!1);Ee.current!==x&&(me.current=!0,Ee.current=x),z.useEffect(function(){var ge=(0,J.Z)(function(){me.current=!1});return function(){J.Z.cancel(ge)}},[x]),z.useEffect(function(){if(M&&X&&(!ee||de)){var ge=function(){var Wt=!1,Jt=function(yt){var Dt=yt.target;Wt=le(Dt)},ar=function(yt){var Dt=yt.target;!me.current&&Ee.current&&!Wt&&!le(Dt)&&ne(!1)};return[Jt,ar]},Se=ge(),De=(0,T.Z)(Se,2),Be=De[0],Te=De[1],Le=ge(),et=(0,T.Z)(Le,2),ot=et[0],ft=et[1],Ye=I(X);Ye.addEventListener("mousedown",Be,!0),Ye.addEventListener("click",Te,!0),Ye.addEventListener("contextmenu",Te,!0);var Re=(0,Z.A)(C);if(Re&&(Re.addEventListener("mousedown",ot,!0),Re.addEventListener("click",ft,!0),Re.addEventListener("contextmenu",ft,!0)),0)var Bt,Ut,Mt,Ct;return function(){Ye.removeEventListener("mousedown",Be,!0),Ye.removeEventListener("click",Te,!0),Ye.removeEventListener("contextmenu",Te,!0),Re&&(Re.removeEventListener("mousedown",ot,!0),Re.removeEventListener("click",ft,!0),Re.removeEventListener("contextmenu",ft,!0))}}},[M,C,X,ee,de])}var ve=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function xe(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v.Z,M=z.forwardRef(function(C,X){var ee=C.prefixCls,de=ee===void 0?"rc-trigger-popup":ee,le=C.children,ne=C.action,Ee=ne===void 0?"hover":ne,me=C.showAction,ge=C.hideAction,Se=C.popupVisible,De=C.defaultPopupVisible,Be=C.onPopupVisibleChange,Te=C.afterPopupVisibleChange,Le=C.mouseEnterDelay,et=C.mouseLeaveDelay,ot=et===void 0?.1:et,ft=C.focusDelay,Ye=C.blurDelay,Re=C.mask,Bt=C.maskClosable,Ut=Bt===void 0?!0:Bt,Mt=C.getPopupContainer,Ct=C.forceRender,dr=C.autoDestroy,Wt=C.destroyPopupOnHide,Jt=C.popup,ar=C.popupClassName,fr=C.popupStyle,yt=C.popupPlacement,Dt=C.builtinPlacements,wt=Dt===void 0?{}:Dt,Gt=C.popupAlign,st=C.zIndex,qt=C.stretch,Et=C.getPopupClassNameFromAlign,ir=C.fresh,Qe=C.alignPoint,Kr=C.onPopupClick,Xr=C.onPopupAlign,Or=C.arrow,er=C.popupMotion,Me=C.maskMotion,Ze=C.popupTransitionName,i=C.popupAnimation,B=C.maskTransitionName,W=C.maskAnimation,V=C.className,fe=C.getTriggerDOMNode,ye=(0,$.Z)(C,ve),Ae=dr||Wt||!1,ke=z.useState(!1),Ne=(0,T.Z)(ke,2),Ve=Ne[0],ze=Ne[1];(0,_.Z)(function(){ze((0,k.Z)())},[]);var tt=z.useRef({}),vt=z.useContext(oe),Tt=z.useMemo(function(){return{registerSubPopup:function(je,Xe){tt.current[je]=Xe,vt==null||vt.registerSubPopup(je,Xe)}}},[vt]),zt=(0,re.Z)(),Pt=z.useState(null),Ht=(0,T.Z)(Pt,2),Ke=Ht[0],We=Ht[1],$t=(0,H.Z)(function(Ce){(0,R.Sh)(Ce)&&Ke!==Ce&&We(Ce),vt==null||vt.registerSubPopup(zt,Ce)}),at=z.useState(null),_e=(0,T.Z)(at,2),lt=_e[0],tr=_e[1],Kt=z.useRef(null),Pr=(0,H.Z)(function(Ce){(0,R.Sh)(Ce)&<!==Ce&&(tr(Ce),Kt.current=Ce)}),rr=z.Children.only(le),Vt=(rr==null?void 0:rr.props)||{},nr={},Rr=(0,H.Z)(function(Ce){var je,Xe,bt=lt;return(bt==null?void 0:bt.contains(Ce))||((je=(0,Z.A)(bt))===null||je===void 0?void 0:je.host)===Ce||Ce===bt||(Ke==null?void 0:Ke.contains(Ce))||((Xe=(0,Z.A)(Ke))===null||Xe===void 0?void 0:Xe.host)===Ce||Ce===Ke||Object.values(tt.current).some(function(He){return(He==null?void 0:He.contains(Ce))||Ce===He})}),St=E(de,er,i,Ze),At=E(de,Me,W,B),hr=z.useState(De||!1),zr=(0,T.Z)(hr,2),or=zr[0],mt=zr[1],Je=Se!=null?Se:or,gr=(0,H.Z)(function(Ce){Se===void 0&&mt(Ce)});(0,_.Z)(function(){mt(Se||!1)},[Se]);var pr=z.useRef(Je);pr.current=Je;var Xt=z.useRef([]);Xt.current=[];var ht=(0,H.Z)(function(Ce){var je;gr(Ce),((je=Xt.current[Xt.current.length-1])!==null&&je!==void 0?je:Je)!==Ce&&(Xt.current.push(Ce),Be==null||Be(Ce))}),_t=z.useRef(),Yt=function(){clearTimeout(_t.current)},Nt=function(je){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Yt(),Xe===0?ht(je):_t.current=setTimeout(function(){ht(je)},Xe*1e3)};z.useEffect(function(){return Yt},[]);var wr=z.useState(!1),jt=(0,T.Z)(wr,2),Fe=jt[0],yr=jt[1];(0,_.Z)(function(Ce){(!Ce||Je)&&yr(!0)},[Je]);var ct=z.useState(null),xr=(0,T.Z)(ct,2),jr=xr[0],lr=xr[1],$r=z.useState([0,0]),Jr=(0,T.Z)($r,2),Br=Jr[0],Fr=Jr[1],Ir=function(je){Fr([je.clientX,je.clientY])},Vr=P(Je,Ke,Qe?Br:lt,yt,wt,Gt,Xr),Qt=(0,T.Z)(Vr,11),_r=Qt[0],hn=Qt[1],fn=Qt[2],vn=Qt[3],Yr=Qt[4],mn=Qt[5],gn=Qt[6],Qr=Qt[7],ln=Qt[8],kr=Qt[9],Ur=Qt[10],qr=A(Ve,Ee,me,ge),e=(0,T.Z)(qr,2),n=e[0],c=e[1],O=n.has("click"),j=c.has("click")||c.has("contextMenu"),K=(0,H.Z)(function(){Fe||Ur()}),Oe=function(){pr.current&&Qe&&j&&Nt(!1)};we(Je,lt,Ke,K,Oe),(0,_.Z)(function(){K()},[Br,yt]),(0,_.Z)(function(){Je&&!(wt!=null&&wt[yt])&&K()},[JSON.stringify(Gt)]);var ce=z.useMemo(function(){var Ce=S(wt,de,kr,Qe);return b()(Ce,Et==null?void 0:Et(kr))},[kr,Et,wt,de,Qe]);z.useImperativeHandle(X,function(){return{nativeElement:Kt.current,forceAlign:K}});var Ue=z.useState(0),ut=(0,T.Z)(Ue,2),gt=ut[0],Lt=ut[1],nt=z.useState(0),Ft=(0,T.Z)(nt,2),dt=Ft[0],it=Ft[1],Zt=function(){if(qt&<){var je=lt.getBoundingClientRect();Lt(je.width),it(je.height)}},xt=function(){Zt(),K()},pt=function(je){yr(!1),Ur(),Te==null||Te(je)},Pe=function(){return new Promise(function(je){Zt(),lr(function(){return je})})};(0,_.Z)(function(){jr&&(Ur(),jr(),lr(null))},[jr]);function Rt(Ce,je,Xe,bt){nr[Ce]=function(He){var en;bt==null||bt(He),Nt(je,Xe);for(var Ar=arguments.length,tn=new Array(Ar>1?Ar-1:0),Mr=1;Mr1?Xe-1:0),He=1;He1?Xe-1:0),He=1;He0?Number(e.toFixed(n)):e}var f="".concat(pe,"-button"),L=function(e){var n,c=e.className,O=e.disabled,j=e.active,K=e.success,Oe=e.error,ce=e.verify,Ue=e.buttonRef,ut=(0,m._T)(e,["className","disabled","active","success","error","verify","buttonRef"]);return v.createElement("span",(0,m.pi)({className:$()(f,c,(n={},n["".concat(f,"-disabled")]=O,n["".concat(f,"-active")]=j,n["".concat(f,"-verify")]=ce,n["".concat(f,"-success")]=K,n["".concat(f,"-error")]=Oe,n["".concat(f,"-pc")]=!N,n)),ref:Ue},ut))};L.displayName="SliderButton";var Y=function(e){return v.createElement("svg",(0,m.pi)({viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),v.createElement("path",{d:"M116.9408 561.4592m0-40.96l0 0q0-40.96 40.96-40.96l573.44 0q40.96 0 40.96 40.96l0 0q0 40.96-40.96 40.96l-573.44 0q-40.96 0-40.96-40.96Z"}),v.createElement("path",{d:"M769.82272 519.43424l-203.22304-203.22304a40.96 40.96 0 1 1 57.91744-57.91744l231.71072 231.71072a40.96 40.96 0 0 1 0.45056 58.44992L624.9472 780.12416a40.96 40.96 0 0 1-57.93792-57.91744l202.79296-202.79296z"}))},ae=function(e){return v.createElement("svg",(0,m.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),v.createElement("path",{d:"M864.554667 268.501333a42.666667 42.666667 0 0 1 0 60.330667L412.032 781.397333a42.453333 42.453333 0 0 1-22.613333 11.818667l-5.034667 0.597333H379.306667a42.496 42.496 0 0 1-27.648-12.416l-211.2-211.2a42.666667 42.666667 0 1 1 60.330666-60.330666l180.992 180.992 422.4-422.4a42.666667 42.666667 0 0 1 60.330667 0z"}))},oe=function(e){return v.createElement("svg",(0,m.pi)({viewBox:"0 0 120 120",width:"1em",height:"1em"},e),v.createElement("defs",null,v.createElement("line",{id:"l",x1:"60",x2:"60",y1:"7",y2:"27",stroke:"currentColor",strokeWidth:"11",strokeLinecap:"round"})),v.createElement("g",null,v.createElement("use",{xlinkHref:"#l",opacity:".27"}),v.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(30 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(60 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(90 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(120 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(150 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".37",transform:"rotate(180 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".46",transform:"rotate(210 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".56",transform:"rotate(240 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".66",transform:"rotate(270 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".75",transform:"rotate(300 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".85",transform:"rotate(330 60,60)"})))},q=function(e){return v.createElement("svg",(0,m.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),v.createElement("path",{d:"M866.133333 573.013333a42.666667 42.666667 0 0 0-53.333333 27.733334A304.64 304.64 0 0 1 519.68 810.666667 302.933333 302.933333 0 0 1 213.333333 512a302.933333 302.933333 0 0 1 306.346667-298.666667 309.76 309.76 0 0 1 198.4 71.253334l-92.586667-15.36a42.666667 42.666667 0 0 0-49.066666 35.413333 42.666667 42.666667 0 0 0 35.413333 49.066667l180.906667 29.866666h7.253333a42.666667 42.666667 0 0 0 14.506667-2.56 14.08 14.08 0 0 0 4.266666-2.56 33.28 33.28 0 0 0 8.533334-4.693333l3.84-4.693333c0-2.133333 3.84-3.84 5.546666-6.4s0-4.266667 2.133334-5.973334a57.173333 57.173333 0 0 0 2.986666-7.68l32-170.666666a42.666667 42.666667 0 0 0-85.333333-16.213334l-11.52 61.866667A392.96 392.96 0 0 0 519.68 128 388.266667 388.266667 0 0 0 128 512a388.266667 388.266667 0 0 0 391.68 384A389.12 389.12 0 0 0 896 626.346667a42.666667 42.666667 0 0 0-29.866667-53.333334z"}))},A=function(e){return v.createElement("svg",(0,m.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),v.createElement("path",{d:"M572.96896 524.6976l217.23136 217.25184a40.96 40.96 0 1 1-57.93792 57.91744L515.072 582.63552l-212.3776 212.3776a40.96 40.96 0 1 1-57.9584-57.91744l212.39808-212.3776-217.21088-217.23136a40.96 40.96 0 1 1 57.91744-57.91744l217.23136 217.21088L737.0752 244.736a40.96 40.96 0 1 1 57.93792 57.91744L572.96896 524.71808z"}))},w=function(e){return v.createElement("svg",(0,m.pi)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16"},e),v.createElement("path",{d:"M.002 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2zm1 9v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9.5l-3.777-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062zm5-6.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"}))},u="".concat(pe,"-icon"),S=function(e){var n,c=e.className,O=e.spin,j=(0,m._T)(e,["className","spin"]);return v.createElement("span",(0,m.pi)({className:$()(u,(n={},n["".concat(u,"-spin")]=O,n),c)},j))},E={arrowRight:v.createElement(Y,null),check:v.createElement(ae,null),loading:v.createElement(oe,null),refresh:v.createElement(q,null),x:v.createElement(A,null),imageFill:v.createElement(w,null)},I=function(e){var n=e.type,c=(0,m._T)(e,["type"]);return v.createElement(S,(0,m.pi)({},c),E[n])},h;(function(e){e[e.Default=1]="Default",e[e.Loading=2]="Loading",e[e.Moving=3]="Moving",e[e.Verify=4]="Verify",e[e.Success=5]="Success",e[e.Error=6]="Error",e[e.LoadFailed=7]="LoadFailed"})(h||(h={}));var D="".concat(pe,"-control"),U=40,r=2,l=function(e){var n,c=e.status,O=c===void 0?h.Default:c,j=e.isLimitErrors,K=e.tipText,Oe=e.tipIcon,ce=e.sliderButtonProps,Ue=e.indicatorProps,ut=e.controlRef,gt=(0,m._T)(e,["status","isLimitErrors","tipText","tipIcon","sliderButtonProps","indicatorProps","controlRef"]),Lt=(0,v.useRef)(null),nt=(0,v.useRef)(null),Ft=(0,v.useRef)(null),dt=(0,v.useRef)({}),it=(0,v.useMemo)(function(){return(0,m.pi)({default:"\u5411\u53F3\u62D6\u52A8\u6ED1\u5757\u586B\u5145\u62FC\u56FE",loading:"\u52A0\u8F7D\u4E2D...",moving:null,verifying:null,success:null,error:null,errors:v.createElement(v.Fragment,null,v.createElement(I,{type:"x",style:{fontSize:20}})," \u5931\u8D25\u8FC7\u591A\uFF0C\u70B9\u51FB\u91CD\u8BD5"),loadFailed:"\u52A0\u8F7D\u5931\u8D25\uFF0C\u70B9\u51FB\u91CD\u8BD5"},K)},[K]),Zt=(0,v.useMemo)(function(){return(0,m.pi)({default:v.createElement(I,{type:"arrowRight"}),loading:v.createElement(I,{type:"loading",spin:!0}),error:v.createElement(I,{type:"x"}),success:v.createElement(I,{type:"check"})},Oe)},[Oe]),xt=(0,v.useMemo)(function(){var Ge;return Ge={},Ge[h.Default]=[it.default,Zt.default],Ge[h.Loading]=[it.loading,Zt.default],Ge[h.Moving]=[it.moving,Zt.default],Ge[h.Verify]=[it.verifying,Zt.loading],Ge[h.Error]=[it.error,Zt.error],Ge[h.Success]=[it.success,Zt.success],Ge[h.LoadFailed]=[it.loadFailed,Zt.default],Ge},[it,Zt]),pt=function(Ge){var kt;return(Ge||typeof dt.current.sliderButtonWidth!="number")&&(dt.current.sliderButtonWidth=((kt=nt.current)===null||kt===void 0?void 0:kt.clientWidth)||U),dt.current.sliderButtonWidth},Pe=function(Ge){if(Ge||typeof dt.current.indicatorBorderWidth!="number")if(Ft.current){var kt=window.getComputedStyle(Ft.current);dt.current.indicatorBorderWidth=parseInt(kt.borderLeftWidth)+parseInt(kt.borderRightWidth)}else dt.current.indicatorBorderWidth=r;return dt.current.indicatorBorderWidth},Rt=function(Ge){var kt;return(Ge||!dt.current.rect)&&Lt.current&&(dt.current.rect=(kt=Lt.current)===null||kt===void 0?void 0:kt.getBoundingClientRect()),dt.current.rect};(0,v.useImperativeHandle)(ut,function(){return{getSliderButtonWidth:pt,getIndicatorBorderWidth:Pe,getRect:Rt,updateLeft:function(Ge){var kt=pt(),Dr=Pe();be(nt.current,{left:Ge+"px"}),be(Ft.current,{width:Ge+kt+Dr+"px"})}}},[]);var Ot=O===h.Loading,sr=O===h.Moving,cr=O===h.Verify,vr=O===h.Success,mr=O===h.Error,br=O===h.LoadFailed,Cr=j?it.errors:xt[O][0];return v.createElement("div",(0,m.pi)({},gt,{className:$()(D,(n={},n["".concat(D,"-loading")]=Ot,n["".concat(D,"-moving")]=sr,n["".concat(D,"-verify")]=cr,n["".concat(D,"-success")]=vr,n["".concat(D,"-error")]=mr,n["".concat(D,"-errors")]=j,n["".concat(D,"-load-failed")]=br,n),gt.className),ref:Lt}),v.createElement("div",(0,m.pi)({},Ue,{className:$()("".concat(D,"-indicator"),Ue==null?void 0:Ue.className),ref:Ft})),v.createElement(L,(0,m.pi)({},ce,{className:$()("".concat(D,"-button"),ce==null?void 0:ce.className),disabled:Ot,active:sr,verify:cr,success:vr,error:mr,buttonRef:nt}),xt[O][1]),v.createElement("div",{className:$()("".concat(D,"-tips")),style:Cr?{}:{display:"none"}},Cr))},s="".concat(pe,"-loading"),o=function(e){var n=e.icon,c=n===void 0?v.createElement(I,{type:"loading",spin:!0}):n,O=e.text,j=O===void 0?"\u52A0\u8F7D\u4E2D...":O,K=e.className,Oe=(0,m._T)(e,["icon","text","className"]);return v.createElement("div",(0,m.pi)({className:$()(s,K)},Oe),v.createElement("div",{className:"".concat(s,"-icon")},c),v.createElement("div",{className:"".concat(s,"-text")},j))},a="".concat(pe,"-jigsaw"),p={bgSize:{width:320,height:160},puzzleSize:{width:60,left:0},loadFailedIcon:v.createElement(I,{type:"imageFill"}),refreshIcon:v.createElement(I,{type:"refresh"})},P=function(e){var n,c,O=e.status,j=e.bgSize,K=j===void 0?p.bgSize:j,Oe=e.puzzleSize,ce=Oe===void 0?p.puzzleSize:Oe,Ue=e.bgUrl,ut=e.puzzleUrl,gt=e.bgImgProps,Lt=e.puzzleImgProps,nt=e.jigsawRef,Ft=e.loadingBoxProps,dt=e.loadFailedIcon,it=dt===void 0?p.loadFailedIcon:dt,Zt=e.showRefreshIcon,xt=Zt===void 0?!0:Zt,pt=e.refreshIcon,Pe=pt===void 0?p.refreshIcon:pt,Rt=e.disabledRefresh,Ot=e.onRefresh,sr=e.style,cr=e.className,vr=e.children,mr=(0,m._T)(e,["status","bgSize","puzzleSize","bgUrl","puzzleUrl","bgImgProps","puzzleImgProps","jigsawRef","loadingBoxProps","loadFailedIcon","showRefreshIcon","refreshIcon","disabledRefresh","onRefresh","style","className","children"]),br=(0,v.useRef)(null);if((0,v.useImperativeHandle)(nt,function(){return{updateLeft:function(Ge){be(br.current,{left:Ge+"px"})}}}),O===h.Loading)return v.createElement(o,(0,m.pi)({},Ft,{style:(0,m.pi)((0,m.pi)({},Ft==null?void 0:Ft.style),K)}));if(O===h.LoadFailed||!Ue||!ut)return v.createElement("div",{className:"".concat(pe,"-load-failed"),style:K},it);var Cr=O===h.Verify||O===h.Error||O===h.Success;return v.createElement("div",(0,m.pi)({className:$()(a,(n={},n["".concat(a,"-stop")]=Cr,n),cr),style:(0,m.pi)((0,m.pi)({},sr),K)},mr),v.createElement("img",(0,m.pi)({src:Ue,alt:""},gt,{className:$()("".concat(a,"-bg"),gt==null?void 0:gt.className),style:(0,m.pi)((0,m.pi)({},gt==null?void 0:gt.style),K)})),v.createElement("img",(0,m.pi)({src:ut,alt:""},Lt,{className:$()("".concat(a,"-puzzle"),Lt==null?void 0:Lt.className),style:(0,m.pi)((0,m.pi)({},Lt==null?void 0:Lt.style),ce),ref:br})),xt&&O!==h.Success&&Pe&&v.createElement("div",{className:$()("".concat(a,"-refresh"),(c={},c["".concat(a,"-refresh-disabled")]=O===h.Verify||Rt,c)),onClick:function(){O!==h.Verify&&!Rt&&(Ot==null||Ot())}},Pe),vr)},Q=te?{start:"pointerdown",move:"pointermove",end:"pointerup",cancel:"pointercancel"}:N?{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"}:{start:"mousedown",move:"mousemove",end:"mouseup",cancel:"touchcancel"},we=te?"onPointerDown":N?"onTouchStart":"onMouseDown",F;(function(e){e.Puzzle="puzzle",e.Button="button"})(F||(F={}));var J=function(e){var n,c,O,j=e.mode,K=j===void 0?"embed":j,Oe=e.limitErrorCount,ce=Oe===void 0?0:Oe,Ue=e.tipText,ut=e.tipIcon,gt=e.refreshIcon,Lt=e.bgSize,nt=e.puzzleSize,Ft=e.request,dt=e.autoRequest,it=dt===void 0?!0:dt,Zt=e.onVerify,xt=e.autoRefreshOnError,pt=xt===void 0?!0:xt,Pe=e.actionRef,Rt=e.showRefreshIcon,Ot=Rt===void 0?!0:Rt,sr=e.jigsawContent,cr=e.errorHoldDuration,vr=cr===void 0?500:cr,mr=e.loadingDelay,br=mr===void 0?0:mr,Cr=e.placement,Ge=Cr===void 0?"top":Cr,kt=e.loadingBoxProps,Dr=e.sliderButtonProps,Ce=e.precision,je=Ce===void 0?7:Ce,Xe=e.className,bt=e.style,He=e.styles,en=R(),Ar=en[0],tn=en[1],Mr=R(h.Default),Tr=Mr[0],ur=Mr[1],on=H(Tr),rn=(0,v.useRef)(null),Er=(0,v.useRef)(null),Gr=(0,v.useRef)(null),Zr=(0,v.useMemo)(function(){return K==="float"||K==="slider"?K:"embed"},[K]),pn=(0,v.useMemo)(function(){if(gt!==void 0)return gt;if((ut==null?void 0:ut.refresh)!==void 0)return ut.refresh},[gt,ut]),nn=(0,v.useMemo)(function(){return(0,m.pi)((0,m.pi)({},p.bgSize),Lt)},[Lt]),Sr=(0,v.useMemo)(function(){return(0,m.pi)((0,m.pi)({},p.puzzleSize),nt)},[nt]),Wr=(0,v.useMemo)(function(){return Ge==="bottom"?"top":"bottom"},[Ge]),$e=(0,v.useRef)({isPressed:!1,trail:[],errorCount:0,startInfo:{x:0,y:0,timestamp:0},currentTargetType:F.Button,floatTransitionTimer:null,floatDelayShowTimer:null,floatDelayHideTimer:null,refreshTimer:null,loadingTimer:null,sliderButtonWidth:40,indicatorBorderWidth:2,ratio:1,buttonMaxDistance:0,puzzleMaxDistance:0}),an=Zr==="slider",bn=typeof br=="number"&&br>0,sn=Tr===h.Error&&ce>0&&$e.current.errorCount>=ce,Sn=function(){$e.current.buttonMaxDistance=nn.width-$e.current.sliderButtonWidth-$e.current.indicatorBorderWidth,$e.current.puzzleMaxDistance=nn.width-Sr.width-Sr.left},Cn=function(){var qe;return((qe=rn.current)===null||qe===void 0?void 0:qe.getRect(!0).height)||42},yn=function(){return(0,m.mG)(void 0,void 0,void 0,function(){var qe;return(0,m.Jh)(this,function(It){switch(It.label){case 0:if(an)return[2];if(!Ft)return[3,4];bn?$e.current.loadingTimer=setTimeout(function(){ur(h.Loading)},br):ur(h.Loading),It.label=1;case 1:return It.trys.push([1,3,,4]),[4,Ft()];case 2:return qe=It.sent(),bn&&clearTimeout($e.current.loadingTimer),tn(qe),ur(h.Default),[3,4];case 3:return It.sent(),bn&&clearTimeout($e.current.loadingTimer),ur(h.LoadFailed),[3,4];case 4:return[2]}})})},xn=function(qe){qe===void 0&&(qe=300),!(Zr!=="float"||on.current===h.Success)&&(clearTimeout($e.current.floatTransitionTimer),clearTimeout($e.current.floatDelayHideTimer),clearTimeout($e.current.floatDelayShowTimer),$e.current.floatDelayShowTimer=setTimeout(function(){var It;be(Gr.current,{display:"block"}),G(Gr.current);var Hr=Cn()+"px";be(Gr.current,(It={},It[Wr]=Hr,It.opacity="1",It))},qe))},cn=function(qe){qe===void 0&&(qe=300),Zr==="float"&&(clearTimeout($e.current.floatTransitionTimer),clearTimeout($e.current.floatDelayHideTimer),clearTimeout($e.current.floatDelayShowTimer),$e.current.floatDelayHideTimer=setTimeout(function(){var It,Hr=Cn()/2+"px";be(Gr.current,(It={},It[Wr]=Hr,It.opacity="0",It)),$e.current.floatTransitionTimer=setTimeout(function(){be(Gr.current,{display:"none"})},300)},qe))},Pn=function(qe){var It;an||(It=Er.current)===null||It===void 0||It.updateLeft(qe)},Rn=function(){var qe;$e.current.isPressed=!1,ur(h.Default),(qe=rn.current)===null||qe===void 0||qe.updateLeft(0),Pn(Sr.left)},wn=function(qe){qe===void 0&&(qe=!1),qe&&($e.current.errorCount=0),clearTimeout($e.current.refreshTimer),on.current!==h.Loading&&(Rn(),yn())},Mn=function(){(sn||Tr===h.LoadFailed)&&wn(sn)},Tn=function(){N||xn()},zn=function(){N||cn()},jn=function(qe){$e.current.currentTargetType=F.Puzzle,$n(qe)},Bn=function(qe){$e.current.currentTargetType=F.Button,$n(qe)},$n=function(qe){if(on.current===h.Default){qe.preventDefault();var It=ie(qe),Hr=It.clientX,un=It.clientY;$e.current.startInfo={x:Hr,y:un,timestamp:new Date().getTime()},$e.current.trail=[[Hr,un]],rn.current&&($e.current.sliderButtonWidth=rn.current.getSliderButtonWidth(!0),$e.current.indicatorBorderWidth=rn.current.getIndicatorBorderWidth(!0)),Sn(),$e.current.ratio=$e.current.puzzleMaxDistance/$e.current.buttonMaxDistance,$e.current.currentTargetType===F.Puzzle&&($e.current.ratio=1/$e.current.ratio),(N||qe.pointerType==="pen"||qe.pointerType==="touch")&&xn(0),$e.current.isPressed=!0,document.addEventListener(Q.move,In),document.addEventListener(Q.end,En),document.addEventListener(Q.cancel,En)}},In=function(qe){var It;if($e.current.isPressed){qe.preventDefault();var Hr=ie(qe),un=Hr.clientX,On=Hr.clientY,Nr=un-$e.current.startInfo.x;$e.current.trail.push([un,On]),on.current!==h.Moving&&Nr>0&&ur(h.Moving);var Lr=Nr,dn=Nr;$e.current.currentTargetType===F.Puzzle?(Nr=Math.max(0,Math.min(Nr,$e.current.puzzleMaxDistance)),Lr=Nr+Sr.left,dn=Nr*$e.current.ratio):(Nr=Math.max(0,Math.min(Nr,$e.current.buttonMaxDistance)),dn=Nr,Lr=Nr*$e.current.ratio+Sr.left),(It=rn.current)===null||It===void 0||It.updateLeft(dn),Pn(Lr)}},En=function(qe){if(document.removeEventListener(Q.move,In),document.removeEventListener(Q.end,En),document.removeEventListener(Q.cancel,En),!!$e.current.isPressed){if(on.current!==h.Moving){$e.current.isPressed=!1,N&&cn();return}if(Zt){$e.current.isPressed=!1,ur(h.Verify);var It=new Date().getTime(),Hr=ie(qe),un=Hr.clientX,On=Hr.clientY,Nr=On-$e.current.startInfo.y,Lr=un-$e.current.startInfo.x,dn=Lr;$e.current.currentTargetType===F.Puzzle?(Lr=Math.max(0,Math.min(Lr,$e.current.puzzleMaxDistance)),dn=Lr*$e.current.ratio):(Lr=Math.max(0,Math.min(Lr,$e.current.buttonMaxDistance)),dn=Lr,Lr*=$e.current.ratio),Zt({x:d(Lr,je),y:d(Nr,je),sliderOffsetX:d(dn,je),duration:It-$e.current.startInfo.timestamp,trail:$e.current.trail,targetType:$e.current.currentTargetType,errorCount:$e.current.errorCount}).then(function(){$e.current.errorCount=0,ur(h.Success),cn()}).catch(function(){$e.current.errorCount+=1,ur(h.Error),(N||qe.pointerType==="pen"||qe.pointerType==="touch")&&cn(),(ce<=0||$e.current.errorCount0?(j.forEach(function(K){K.wrap.apply(K.context,c)}),!0):!1},e}(),ve={},xe=function(){function e(n){n===void 0&&(n="default"),this.scope=n,ve[this.scope]||(ve[this.scope]={}),this.data=ve[this.scope]}return e.prototype.getItem=function(n){return n in this.data?this.data[n]:null},e.prototype.setItem=function(n,c){this.data[n]=c},e.prototype.removeItem=function(n){delete this.data[n]},e.prototype.clear=function(){ve[this.scope]={},this.data=ve[this.scope]},e}();function Ie(){return Math.random().toString(16).substring(2,8)}function x(e){try{var n=typeof e=="object"&&e!==null&&!!e.setItem&&!!e.getItem&&!!e.removeItem;if(n){var c=Ie()+new Date().getTime(),O="1";if(e.setItem(c,O),e.getItem(c)!==O)return!1;e.removeItem(c)}return n}catch(j){return console.error("[cache2] ".concat(e," is not supported. The default memory cache will be used.")),!1}}function M(e,n){try{return JSON.parse(e,n)}catch(c){return e}}function C(e,n){return JSON.stringify(e,n)}var X=function(){function e(n,c){c===void 0&&(c={});var O=n?x(n):!1;this.options=(0,m.pi)({needParsed:O,prefix:""},c),this.storage=O?n:new xe(this.options.memoryScope)}return e.prototype.getKey=function(n){return this.options.prefix+n},e.prototype.get=function(n){var c=this.storage.getItem(this.getKey(n));return this.options.needParsed?M(c,this.options.reviver):c},e.prototype.set=function(n,c){this.storage.setItem(this.getKey(n),this.options.needParsed?C(c,this.options.replacer):c)},e.prototype.del=function(n){this.storage.removeItem(this.getKey(n))},e.prototype.clear=function(){typeof this.storage.clear=="function"&&this.storage.clear()},e}(),ee="cache2_",de="default",le=function(e){(0,m.ZT)(n,e);function n(c,O){var j=e.call(this)||this,K=de,Oe;return typeof c=="string"?K=c||de:typeof c=="object"&&(Oe=c),!Oe&&typeof O=="object"&&(Oe=O),j.options=(0,m.pi)({max:-1,stdTTL:0,maxStrategy:"limited",checkperiod:0,prefix:ee},Oe),j.storage=new X(j.options.storage,(0,m.pi)({memoryScope:K},j.options)),j.cacheKey=K,j.startCheckperiod(),j}return n.prototype._check=function(c,O){var j=!0;return O.t!==0&&O.t0?j+K:0;return{v:c,t:Oe,n:j}},n.prototype._isLimited=function(c){return this.options.max>-1&&c>=this.options.max},n.prototype._getReplaceKey=function(c,O){var j=c[0];return c.forEach(function(K){(O[K].t0&&this.setCacheValues(j),K},n.prototype.clear=function(){this.storage.del(this.cacheKey)},n.prototype.keys=function(){var c=this,O=this.cacheValues,j=Object.keys(O);return j.filter(function(K){return c._check(K,O[K])})},n.prototype.has=function(c){var O=this.cacheValues[c];return!!(O&&this._check(c,O))},n.prototype.take=function(c){var O,j=this.cacheValues[c];return j&&this._check(c,j)&&(O=j.v,this.del(c)),O},n.prototype.ttl=function(c,O){var j=this.cacheValues,K=j[c];return K&&this._check(c,K)?(j[c]=this._wrap(K.v,O),!0):!1},n.prototype.getTtl=function(c){var O=this.cacheValues,j=O[c];if(j&&this._check(c,j))return O[c].t},n.prototype.getLastModified=function(c){var O=this.cacheValues,j=O[c];if(j&&this._check(c,j))return O[c].n},n.prototype.startCheckperiod=function(){var c=this;this.keys(),this.options.checkperiod>0&&(clearTimeout(this._checkTimeout),this._checkTimeout=setTimeout(function(){c.startCheckperiod()},this.options.checkperiod))},n.prototype.stopCheckperiod=function(){clearTimeout(this._checkTimeout)},n}(ue),ne=void 0,Ee="undefined",me="object",ge=Object.prototype,Se=ge.toString,De=ge.hasOwnProperty,Be=ge.propertyIsEnumerable,Te=Object.getOwnPropertySymbols,Le=Object.getPrototypeOf,et=Object.keys,ot=Function.prototype,ft=ot.toString,Ye=typeof Symbol!==Ee,Re=Ye?Symbol.prototype:ne,Bt=Array.prototype,Ut=Bt.slice,Mt=Math.min,Ct=Math.max,dr=Math.random,Wt=Math.floor,Jt=Math.ceil,ar=Math.abs,fr=Number.isFinite,yt=Number.isInteger,Dt=Number.isSafeInteger,wt=typeof globalThis===me&&globalThis,Gt=typeof t.g===me&&t.g,st=typeof self===me&&self,qt=Number.MAX_SAFE_INTEGER||9007199254740991,Et=Number.MIN_SAFE_INTEGER||-9007199254740991,ir=4294967295,Qe="[object ",Kr=Qe+"BigInt]",Xr=Qe+"Number]",Or=Qe+"Boolean]",er=Qe+"String]",Me=Qe+"Date]",Ze=Qe+"RegExp]",i=Qe+"Symbol]",B=Qe+"Error]",W=Qe+"ArrayBuffer]",V=Qe+"Arguments]",fe=Qe+"Array]",ye=["Function","AsyncFunction","GeneratorFunction","Proxy"].map(function(e){return Qe+e+"]"}),Ae=Qe+"WeakSet]",ke=Qe+"Blob]",Ne=Qe+"File]",Ve=Qe+"DOMException]",ze=Qe+"Object]",tt=Qe+"DataView]",vt=Qe+"Map]",Tt=Qe+"Promise]",zt=Qe+"Set]",Pt=Qe+"WeakMap]",Ht=Qe+"Window]";function Ke(e){return Se.call(e)}function We(e){return typeof e=="string"||Ke(e)===er}var $t=function(){function e(n,c){c===void 0&&(c="uh_async_memo"),this.promiseCache={},this.cache=new le(c,n)}return e.prototype.run=function(n,c,O){var j=this;if(!c||!We(c))return n();var K=(0,m.pi)({persisted:!0},O);if(K.persisted){var Oe=this.cache.get(c);if(Oe)return Promise.resolve(Oe)}return this.promiseCache[c]||(this.promiseCache[c]=n().then(function(ce){return delete j.promiseCache[c],j.cache.set(c,ce,K.ttl),ce}).catch(function(ce){return delete j.promiseCache[c],Promise.reject(ce)})),this.promiseCache[c]},e}(),at=typeof Blob!==Ee;function _e(e){return at&&e instanceof Blob?!0:Ke(e)===ke}function lt(e){return function(){return e}}function tr(){}var Kt=typeof URL!="undefined",Pr=void 0,rr=Object.keys,Vt=Object.values,nr=Kt?URL.createObjectURL:lt(""),Rr=Kt?URL.revokeObjectURL:tr;function St(e,n){var c=n||{},O=c.method,j=O===void 0?"get":O,K=c.data,Oe=K===void 0?null:K,ce=c.timeout,Ue=c.headers,ut=c.withCredentials,gt=ut===void 0?!1:ut,Lt=c.async,nt=Lt===void 0?!0:Lt,Ft=c.user,dt=Ft===void 0?null:Ft,it=c.password,Zt=it===void 0?null:it,xt=c.responseType,pt=c.onReadyStateChange,Pe=c.onLoadStart,Rt=c.onProgress,Ot=c.onAbort,sr=c.onTimeout,cr=c.onError,vr=c.onLoad,mr=c.onLoadEnd;return new Promise(function(br,Cr){var Ge=new XMLHttpRequest;Ge.open(j.toLowerCase(),e,nt,dt,Zt),pt&&(Ge.onreadystatechange=pt),typeof ce=="number"&&ce>0&&(Ge.timeout=ce),Ge.withCredentials=gt,xt&&(Ge.responseType=xt),typeof Ue=="object"&&rr(Ue).map(function(Xe){Ge.setRequestHeader(Xe,Ue[Xe])});var kt=function(Xe){return function(bt){br(bt),Xe==null||Xe.call(Ge,bt)}},Dr=function(Xe){return function(bt){Cr(bt),Xe==null||Xe.call(Ge,bt)}},Ce={loadstart:Pe,progress:Rt,abort:Dr(Ot),timeout:Dr(sr),error:Dr(cr),load:kt(vr),loadend:mr},je=rr(Ce);je.forEach(function(Xe){var bt=Ce[Xe];bt&&Ge.addEventListener(Xe,bt)}),Ge.send(Oe)})}var At=[200,304];function hr(e,n){return new Promise(function(c,O){_e(e)?c(e):St(e,(0,m.pi)({responseType:"blob"},n)).then(function(j){var K=j.target.status;if(At.indexOf(K)!==-1)c(j.target.response);else{var Oe=new Error("The file does not support get requests, responseStatus ".concat(K,", '").concat(e,"'."));console.error(Oe),O(Oe)}}).catch(function(j){console.error(new Error("Failed to request file. ".concat(j))),O(j)})})}function zr(e){return new Promise(function(n,c){var O=_e(e),j=O?nr(e):e,K=new Image;O||(K.crossOrigin="anonymous"),K.onload=function(){n(K)},K.onerror=function(Oe){O&&Rr(j),console.error("[loadImage] The image load failed, '".concat(e,"'.")),c(Oe)},K.src=j})}function or(e,n){return hr(e,n).then(function(c){return zr(c).then(function(O){return{blob:c,image:O}})})}function mt(e){return e!==null&&typeof e=="object"}function Je(e){return typeof e=="function"||mt(e)}function gr(e){return typeof e=="symbol"||Ke(e)===i}var pr=/^0b[01]+$/i,Xt=/^0o[0-7]+$/i,ht=/^[-+]0x[0-9a-f]+$/i;function _t(e){if(typeof e=="number")return e;if(gr(e))return NaN;if(Je(e)&&(e=Number(e)),typeof e!="string")return e===0?e:+e;e=e.trim();var n=pr.test(e);return n||Xt.test(e)?parseInt(e.slice(2),n?2:8):ht.test(e)?NaN:+e}var Yt=17976931348623157e292;function Nt(e){if(!e)return e===0?e:0;if(e=_t(e),e===1/0||e===-1/0){var n=e<0?-1:1;return n*Yt}return e===e?e:0}function wr(e,n){e===void 0&&(e=0),n===void 0&&(n=1),e=Nt(e),n=Nt(n);var c=Jt(Mt(e,n)||0),O=Wt(Ct(e,n)||0);if(c>O){var j=c;c=O,O=j}return Wt(c+dr()*(O-c+1))}var jt=Math.PI,Fe;(function(e){e[e.None=0]="None",e[e.Outer=1]="Outer",e[e.Inner=2]="Inner"})(Fe||(Fe={}));var yr=[Fe.None,Fe.Outer,Fe.Inner];function ct(e){var n=e.length,c=wr(0,n-1);return e[c]}function xr(e){var n={top:ct(yr),right:ct(yr),bottom:ct(yr),left:ct(yr)},c=Object.keys(n),O=["top","bottom"],j=["left","right"];if(n.top===Fe.Outer&&n.bottom===Fe.Outer?n[ct(O)]=Fe.Inner:n.top!==Fe.Outer&&n.bottom!==Fe.Outer&&(n[ct(O)]=Fe.Outer),n.left===Fe.Outer&&n.right===Fe.Outer?n[ct(j)]=Fe.Inner:n.left!==Fe.Outer&&n.right!==Fe.Outer&&(n[ct(j)]=Fe.Outer),e){var K=[],Oe=[];c.forEach(function(ce){n[ce]===Fe.Inner?K.push(ce):n[ce]===Fe.None&&Oe.push(ce)}),e===2?K.forEach(function(ce){return n[ce]=Fe.None}):e===3?K.length===0?n[ct(Oe)]=Fe.Inner:K.length===2&&(n[ct(K)]=Fe.None):e==4&&Oe.forEach(function(ce){return n[ce]=Fe.Inner})}return n}function jr(e,n){n===void 0&&(n={});var c=n.x,O=c===void 0?0:c,j=n.y,K=j===void 0?0:j,Oe=n.w,ce=Oe===void 0?60:Oe,Ue=n.h,ut=Ue===void 0?60:Ue,gt=n.needClosePath,Lt=gt===void 0?!0:gt,nt=n.points,Ft=n.margin,dt=Ft===void 0?0:Ft;dt=dt<=0?0:dt,(typeof nt=="number"||!nt)&&(nt=xr(nt));var it=(Math.min(ce,ut)-dt*2)*.15,Zt=Math.hypot(it,it),xt=Zt/2,pt=it+xt,Pe={x:O+dt,y:K+dt,w:ce-pt-dt*2,h:ut-pt-dt*2},Rt=Pe.w/2,Ot=Pe.h/2;nt.left===Fe.Outer&&(Pe.x+=pt),nt.top===Fe.Outer&&(Pe.y+=pt),e.beginPath(),e.lineWidth=2,e.moveTo(Pe.x,Pe.y),nt.top!==Fe.None&&(e.lineTo(Pe.x+Rt-xt,Pe.y),nt.top===Fe.Inner?e.arc(Pe.x+Rt,Pe.y+xt,it,1.25*jt,1.75*jt,!0):e.arc(Pe.x+Rt,Pe.y-xt,it,.75*jt,.25*jt)),e.lineTo(Pe.x+Pe.w,Pe.y),nt.right!==Fe.None&&(e.lineTo(Pe.x+Pe.w,Pe.y+Ot-xt),nt.right===Fe.Inner?e.arc(Pe.x+Pe.w-xt,Pe.y+Ot,it,1.75*jt,.25*jt,!0):e.arc(Pe.x+Pe.w+xt,Pe.y+Ot,it,1.25*jt,.75*jt)),e.lineTo(Pe.x+Pe.w,Pe.y+Pe.h),nt.bottom!==Fe.None&&(e.lineTo(Pe.x+Rt+xt,Pe.y+Pe.h),nt.bottom===Fe.Inner?e.arc(Pe.x+Rt,Pe.y+Pe.h-xt,it,.25*jt,.75*jt,!0):e.arc(Pe.x+Rt,Pe.y+Pe.h+xt,it,1.75*jt,1.25*jt)),e.lineTo(Pe.x,Pe.y+Pe.h),nt.left!==Fe.None&&(e.lineTo(Pe.x,Pe.y+Ot+xt),nt.left===Fe.Inner?e.arc(Pe.x+xt,Pe.y+Ot,it,.75*jt,1.25*jt,!0):e.arc(Pe.x-xt,Pe.y+Ot,it,.25*jt,1.75*jt)),e.lineTo(Pe.x,Pe.y),e.stroke(),Lt&&e.closePath()}function lr(e,n,c,O){return new Promise(function(j){n?e.toBlob(function(K){j(K?URL.createObjectURL(K):e.toDataURL(c,O))},c,O):j(e.toDataURL(c,O))})}var $r=new $t({max:5,maxStrategy:"replaced"});$r.cache.on("del",function(e,n){try{n.image.src&&URL.revokeObjectURL(n.image.src)}catch(c){}});function Jr(e){e?$r.cache.del(e):$r.cache.clear()}var Br=new WeakMap,Fr=function(e){if(!Je(e))return String(e);if(!Br.get(e)){var n="_"+Date.now();Br.set(e,n)}return Br.get(e)},Ir={jpeg:"image/jpeg",png:"image/png"},Vr=[];function Qt(e){e.forEach(function(n){URL.revokeObjectURL(n)})}function _r(e,n){n===void 0&&(n={});var c=n.borderWidth,O=c===void 0?2:c,j=n.borderColor,K=j===void 0?"rgba(255,255,255,0.7)":j,Oe=n.fillColor,ce=Oe===void 0?"rgba(255,255,255,0.7)":Oe,Ue=n.points,ut=n.width,gt=ut===void 0?60:ut,Lt=n.height,nt=Lt===void 0?60:Lt,Ft=n.x,dt=n.y,it=n.margin,Zt=it===void 0?2:it,xt=n.equalHeight,pt=xt===void 0?!0:xt,Pe=n.imageWidth,Rt=n.imageHeight,Ot=n.bgWidth,sr=n.bgHeight,cr=n.bgOffset,vr=cr===void 0?[0,0]:cr,mr=n.bgImageType,br=mr===void 0?Ir.jpeg:mr,Cr=n.quality,Ge=Cr===void 0?.8:Cr,kt=n.format,Dr=kt===void 0?"dataURL":kt,Ce=n.cacheImage,je=Ce===void 0?!0:Ce,Xe=n.autoRevokePreviousBlobUrl,bt=Xe===void 0?!0:Xe,He=n.ajaxOptions;return new Promise(function(en,Ar){var tn=document.createElement("canvas"),Mr=document.createElement("canvas"),Tr=tn.getContext("2d"),ur=Mr.getContext("2d"),on=je?Fr(e):void 0;$r.run(function(){return or(e,He)},on).then(function(rn){var Er=rn.image;Pe&&(Er.width=Pe),Rt&&(Er.height=Rt);var Gr=typeof Ot=="number"&&Ot>0?Ot>gt?Ot:gt:Er.width,Zr=typeof sr=="number"&&sr>0?sr>nt?sr:nt:Er.height;tn.width=Gr,tn.height=Zr;var pn=Gr-gt,nn=Zr-nt,Sr=typeof Ft=="undefined"?wr(gt,pn):Ft||0,Wr=typeof dt=="undefined"?wr(0,nn):dt||0;Sr<0?Sr=0:Sr>pn&&(Sr=pn),Wr<0?Wr=0:Wr>nn&&(Wr=nn);var $e=typeof Ue=="number"||!Ue?xr(Ue):Ue,an=typeof vr=="function"?vr(Er.width,Er.height):vr;Tr.strokeStyle=K,Tr.lineWidth=O,Tr.fillStyle=ce,jr(Tr,{x:Sr,y:Wr,w:gt,h:nt,points:$e,margin:Zt}),Tr.fillStyle=ce,Tr.fill(),Tr.globalCompositeOperation="destination-over",Tr.drawImage(Er,an[0],an[1],Er.width,Er.height),Mr.width=Gr,Mr.height=Zr,ur.strokeStyle=K,ur.lineWidth=O,jr(ur,{x:Sr,y:Wr,w:gt,h:nt,points:$e,margin:Zt}),ur.globalCompositeOperation="destination-over",ur.clip(),ur.drawImage(Er,an[0],an[1],Er.width,Er.height);var bn=ur.getImageData(Sr,Wr,gt,nt);ur.clearRect(0,0,Gr,Zr),Mr.width=gt,Mr.height=pt?Zr:nt,ur.putImageData(bn,0,pt?Wr:0);var sn=Dr==="blob",Sn=lr(Mr,sn,Ir.png,Ge),Cn=lr(tn,sn,br,Ge);Promise.all([Sn,Cn]).then(function(yn){var xn=yn[0],cn=yn[1];bt&&(Vr.length&&(Qt(Vr),Vr.length=0),sn&&Vr.push(cn,xn)),en({puzzleUrl:xn,bgUrl:cn,x:Sr,y:pt?0:Wr})}).catch(Ar)}).catch(Ar)})}var hn=t(43418),fn=t(3113),vn=Object.defineProperty,Yr=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,Qr=(e,n,c)=>n in e?vn(e,n,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[n]=c,ln=(e,n)=>{for(var c in n||(n={}))mn.call(n,c)&&Qr(e,c,n[c]);if(Yr)for(var c of Yr(n))gn.call(n,c)&&Qr(e,c,n[c]);return e},kr=(e,n,c)=>new Promise((O,j)=>{var K=Ue=>{try{ce(c.next(Ue))}catch(ut){j(ut)}},Oe=Ue=>{try{ce(c.throw(Ue))}catch(ut){j(ut)}},ce=Ue=>Ue.done?O(Ue.value):Promise.resolve(Ue.value).then(K,Oe);ce((c=c.apply(e,n)).next())});const Ur=({ModalProps:e,onFinish:n})=>{const[c,O]=(0,v.useState)(),j=(0,v.useRef)(),K=()=>kr(void 0,null,function*(){const ce=`/images/VerifCodeBg/img${Math.floor(Math.random()*23)+1}.jpg`,Ue=yield _r(ce,{imageHeight:180,imageWidth:360});return O(Ue),Ue}),Oe=ce=>kr(void 0,null,function*(){return ce!=null&&ce.x&&ce.x>c.x-5&&ce.x{var ce;e!=null&&e.open&&j.current&&((ce=j.current)==null||ce.refresh())},[e==null?void 0:e.open,j]),v.createElement(hn.default,ln({},ln({title:"\u8BF7\u5B8C\u6210\u4E0B\u5217\u9A8C\u8BC1\u540E\u7EE7\u7EED",width:410,footer:null,centered:!0},e)),v.createElement(J,{actionRef:j,request:K,onVerify:ce=>kr(void 0,null,function*(){return Oe(ce)}),bgSize:{width:360,height:180}}),v.createElement("div",{className:"flex mt10"},v.createElement(fn.ZP,{style:{paddingLeft:"0px",paddingRight:"0px"},type:"link",icon:v.createElement("i",{className:"iconfont icon-shuaxin3"}),onClick:()=>{var ce;(ce=j.current)==null||ce.refresh()}},"\u5237\u65B0")))};var qr=v.memo(Ur)},30614:function(rt,se,t){t.d(se,{Z:function(){return te}});var m=t(59301),T=t(99267),$=t(40001),v=t(49198),y=t(955),b=Object.defineProperty,g=Object.defineProperties,R=Object.getOwnPropertyDescriptors,Z=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,_=(N,G,d)=>G in N?b(N,G,{enumerable:!0,configurable:!0,writable:!0,value:d}):N[G]=d,k=(N,G)=>{for(var d in G||(G={}))H.call(G,d)&&_(N,d,G[d]);if(Z)for(var d of Z(G))re.call(G,d)&&_(N,d,G[d]);return N},z=(N,G)=>g(N,R(G)),pe=(N,G,d)=>new Promise((f,L)=>{var Y=q=>{try{oe(d.next(q))}catch(A){L(A)}},ae=q=>{try{oe(d.throw(q))}catch(A){L(A)}},oe=q=>q.done?f(q.value):Promise.resolve(q.value).then(Y,ae);oe((d=d.apply(N,G)).next())});const ie={moveX:0,verify:0};var be=(N=>(N[N.SET_MOVEX=0]="SET_MOVEX",N[N.VERIFY=1]="VERIFY",N))(be||{});function he(N,G){switch(G.type){case 0:return z(k({},N),{moveX:G.payload});case 1:return k(k({},N),G.payload);default:throw new Error}}var te=({value:N,onChange:G,onValidate:d})=>{const[f,L]=(0,m.useReducer)(he,ie),{moveX:Y,verify:ae}=f,oe=(0,m.useRef)(),q=(0,m.useRef)(),A=(0,m.useRef)(),w=(0,m.useRef)(),u=(0,m.useMemo)(()=>{if(q.current)return q.current.getBoundingClientRect()},[q.current]);(0,m.useEffect)(()=>{if(u){let l=function(s){return pe(this,null,function*(){if(w.current){let o=s.pageX-D;r&&(o=s.changedTouches[0].pageX-D),o<0&&(o=0),o>=U?(w.current=!1,o=U,I=yield d(),L({type:1,payload:{moveX:o,verify:I}}),G(I)):L({type:0,payload:o})}})},E=function(){w.current=!1,I===0&&(oe.current.style.transition="left .5s ease",A.current.style.transition="width .5s ease",L({type:1,payload:{moveX:0}}))},I=0;const{width:h,left:D}=u;let U=h-48;const r=!(0,y.b9)();return r?(window.addEventListener("touchmove",l),window.addEventListener("touchend",E)):(window.addEventListener("mousemove",l),window.addEventListener("mouseup",E)),()=>{r?(window.removeEventListener("touchmove",l),window.removeEventListener("touchend",E)):(window.removeEventListener("mousemove",l),window.removeEventListener("mouseup",E))}}},[u,y.b9]),(0,m.useEffect)(()=>{L({type:1,payload:{verify:N,moveX:N?(u==null?void 0:u.width)-48:0}})},[N]);function S(){ae||(w.current=!0,oe.current.style.transition="",A.current.style.transition="")}return m.createElement("div",{ref:q,className:"unlock-wrapper"},m.createElement("div",{ref:A,className:ae===1?"unlock-error-bg":"unlock-bg",style:{width:Y}}),m.createElement("div",{className:"unlock-text"},ae?ae===1?"\u9A8C\u8BC1\u5931\u8D25":"\u9A8C\u8BC1\u901A\u8FC7":"\u62D6\u52A8\u6ED1\u5757\u81F3\u53F3\u4FA7\u9A8C\u8BC1"),m.createElement("div",{ref:oe,onTouchStart:S,onMouseDown:S,style:{left:Y},className:"unlock-handler"},ae?ae===1?m.createElement(T.Z,null):m.createElement($.Z,null):m.createElement(v.Z,null)))}},22138:function(rt,se,t){t.r(se),t.d(se,{default:function(){return l}});var m=t(59301),T=t(78241),$=t(8591),v=t(92832),y=t(3113),b=t(24905),g=t(30614),R=t(955),Z=t(89070),H={wrap:"wrap___FgHHn",formWrapper:"formWrapper___FFsPt",link:"link___Z6mDj",serviceTerms:"serviceTerms___VjOD1"},re=t(28386),_=t(59301),k=Object.defineProperty,z=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,te=(s,o,a)=>o in s?k(s,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[o]=a,N=(s,o)=>{for(var a in o||(o={}))be.call(o,a)&&te(s,a,o[a]);if(ie)for(var a of ie(o))he.call(o,a)&&te(s,a,o[a]);return s},G=(s,o)=>z(s,pe(o)),d=(s,o,a)=>new Promise((p,P)=>{var Q=J=>{try{F(a.next(J))}catch(ue){P(ue)}},we=J=>{try{F(a.throw(J))}catch(ue){P(ue)}},F=J=>J.done?p(J.value):Promise.resolve(J.value).then(Q,we);F((a=a.apply(s,o)).next())});const f={height:46,borderRadius:4},L=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,Y={timer:0};var ae=(s=>(s[s.setTimer=0]="setTimer",s))(ae||{});function oe(s,o){switch(o.type){case 0:return G(N({},s),{timer:o.payload});default:throw new Error}}const q=({validateName:s,getCode:o,register:a,style:p={},buttonText:P="\u6CE8\u518C",globalSetting:Q})=>{var we,F;const[J]=T.default.useForm(),[ue,ve]=(0,m.useReducer)(oe,Y),[xe,Ie]=(0,m.useState)(!1),{timer:x}=ue,[M,C]=(0,m.useState)(!1);function X(me){return d(this,null,function*(){const{login:ge,password:Se,code:De}=me,{message:Be,status:Te}=yield a({login:ge,password:Se,code:De});if(Te<0){J.setFields([{name:"code",errors:[Be]}]);return}if(localStorage.removeItem("extension-modal"),$.ZP.info("\u6CE8\u518C\u6210\u529F"),localStorage.getItem("addinfo")==="2"){localStorage.setItem("addinfo","2");let et=localStorage.getItem("classromeurl");Z.history.replace(et)}else Z.history.replace("/")})}function ee(){return d(this,null,function*(){let me=J.getFieldValue("login"),ge=0;if(!L.test(me)||me.indexOf(" ")>-1)return J.setFields([{name:"login",errors:["\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"]}]),ge=1,ge;let{status:Se,message:De}=yield s({login:me,type:1});return Se>0?ge=2:(J.setFields([{name:"login",errors:[De]}]),ge=1),ge})}const de=()=>d(void 0,null,function*(){const me=J.getFieldValue("verify"),ge=J.getFieldValue("login");if(!me)J.validateFields(["verify"]);else{Ie(!0);const{status:Se,message:De}=yield o({login:ge,type:1,smscode:(0,R.M)(ge)});Se<0&&J.setFields([{name:"code",errors:[De]}]),ve({type:0,payload:60}),Ie(!1)}});function le(me,ge){if(!ge)return Promise.resolve();if(ge.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C");const Se=ge.length;return Se>=8&&Se<=16?Promise.resolve():Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C")}const ne=(me,ge)=>ge?Promise.resolve():Promise.reject("\u8BF7\u62D6\u52A8\u6ED1\u5757\u9A8C\u8BC1");(0,m.useEffect)(()=>{x>0&&setTimeout(()=>{ve({type:0,payload:x-1})},1e3)},[x]);const Ee=(me,ge)=>ge?ge.indexOf(" ")>-1?Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):L.test(ge)?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Promise.resolve();return _.createElement("div",{className:H.wrap},_.createElement(T.default,{layout:"vertical",form:J,className:H.formWrapper,style:p,initialValues:{autologin:!0,protool:!1},onFinish:X},_.createElement(T.default.Item,{name:"login",label:"\u8D26\u53F7",required:!1,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"},{validator:Ee}]},_.createElement(v.default,{style:f,autoComplete:"new-login",size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7",onChange:()=>J.setFieldsValue({verify:0})})),_.createElement(T.default.Item,{name:"verify",rules:[{validator:ne}]},_.createElement(g.Z,{onValidate:ee})),!((we=Q==null?void 0:Q.setting)!=null&&we.is_local)&&_.createElement(T.default.Item,{label:"\u9A8C\u8BC1\u7801",required:!1,name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},_.createElement(v.default,{suffix:_.createElement(y.ZP,{loading:xe,type:"link",onClick:me=>{if(me.stopPropagation(),!J.getFieldValue("verify")){J.validateFields(["verify"]);return}C(!0)},disabled:x>0}," ",x===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`${x}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`),style:{paddingRight:2,height:48,borderRadius:4},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"})),_.createElement(T.default.Item,{label:"\u5BC6\u7801",name:"password",required:!1,rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"},{validator:le}]},_.createElement(v.default.Password,{autoComplete:"new-password",style:f,size:"middle",placeholder:"\u8F93\u51658\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199",visibilityToggle:!1})),!((F=Q==null?void 0:Q.setting)!=null&&F.is_local)&&_.createElement(T.default.Item,{className:H.serviceTerms},_.createElement(T.default.Item,{noStyle:!0,name:"protool",valuePropName:"checked",rules:[{validator:(me,ge)=>ge?Promise.resolve():Promise.reject("\u8BF7\u540C\u610F\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B")}]},_.createElement(b.default,{style:{marginRight:10}})),_.createElement("span",{style:{color:"#666666",fontSize:14}},"\u6211\u5DF2\u9605\u8BFB\u5E76\u540C\u610F"),_.createElement("a",{className:"font14",href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B")),_.createElement(y.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:f,className:"font16"}," ",P," ")),_.createElement(re.Z,{ModalProps:{open:M,onCancel:()=>{C(!1)}},onFinish:()=>{C(!1),de()}}))};var A=(0,Z.connect)(({globalSetting:s})=>({globalSetting:s}))(q),w=t(11260),u={loginBtn:"loginBtn___QkOCa"},S=Object.defineProperty,E=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,D=(s,o,a)=>o in s?S(s,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[o]=a,U=(s,o)=>{for(var a in o||(o={}))I.call(o,a)&&D(s,a,o[a]);if(E)for(var a of E(o))h.call(o,a)&&D(s,a,o[a]);return s},r=(s,o,a)=>new Promise((p,P)=>{var Q=J=>{try{F(a.next(J))}catch(ue){P(ue)}},we=J=>{try{F(a.throw(J))}catch(ue){P(ue)}},F=J=>J.done?p(J.value):Promise.resolve(J.value).then(Q,we);F((a=a.apply(s,o)).next())}),l=()=>{const s={getCode:w.o1,register:o=>r(void 0,null,function*(){return yield(0,w.z2)(o)}),validateName:w.Ol};return m.createElement("div",null,m.createElement(A,U({},s)),m.createElement(y.ZP,{block:!0,className:u.loginBtn,onClick:()=>Z.history.push("/user/login")},m.createElement("span",{style:{color:"#666666"}},"\u5DF2\u6709\u8D26\u53F7\uFF1F"),m.createElement("span",{style:{color:"#3061D0"}},"\u7ACB\u5373\u767B\u5F55")))}},11260:function(rt,se,t){t.d(se,{Ol:function(){return T},c0:function(){return b},o1:function(){return $},z2:function(){return v}});var m=t(99064);function T(g){return(0,m.U2)("accounts/valid_email_and_phone.json",g)}function $(g){return(0,m.U2)("accounts/get_verification_code.json",g)}function v(g){return(0,m.v_)("accounts/register.json",g)}function y(g){return post("weapps/register.json",g)}function b(g){return(0,m.v_)("accounts/reset_password.json",g)}},36785:function(rt,se,t){t.d(se,{o2:function(){return y},yT:function(){return b}});var m=t(80702),T=t(33166);const $=T.i.map(g=>`${g}-inverse`),v=["success","processing","error","default","warning"];function y(g){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,m.Z)($),(0,m.Z)(T.i)).includes(g):T.i.includes(g)}function b(g){return v.includes(g)}},79676:function(rt,se,t){t.d(se,{Z:function(){return b}});var m=t(19447);function T(g,R,Z,H){if(H===!1)return{adjustX:!1,adjustY:!1};const re=H&&typeof H=="object"?H:{},_={};switch(g){case"top":case"bottom":_.shiftX=R.dropdownArrowOffset*2+Z;break;case"left":case"right":_.shiftY=R.dropdownArrowOffsetVertical*2+Z;break}const k=Object.assign(Object.assign({},_),re);return k.shiftX||(k.adjustX=!0),k.shiftY||(k.adjustY=!0),k}const $={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},v={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},y=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function b(g){const{arrowWidth:R,autoAdjustOverflow:Z,arrowPointAtCenter:H,offset:re,borderRadius:_,visibleFirst:k}=g,z=R/2,pe={};return Object.keys($).forEach(ie=>{const be=H&&v[ie]||$[ie],he=Object.assign(Object.assign({},be),{offset:[0,0]});switch(pe[ie]=he,y.has(ie)&&(he.autoArrow=!1),ie){case"top":case"topLeft":case"topRight":he.offset[1]=-z-re;break;case"bottom":case"bottomLeft":case"bottomRight":he.offset[1]=z+re;break;case"left":case"leftTop":case"leftBottom":he.offset[0]=-z-re;break;case"right":case"rightTop":case"rightBottom":he.offset[0]=z+re;break}const te=(0,m.fS)({contentRadius:_,limitVerticalRadius:!0});if(H)switch(ie){case"topLeft":case"bottomLeft":he.offset[0]=-te.dropdownArrowOffset-z;break;case"topRight":case"bottomRight":he.offset[0]=te.dropdownArrowOffset+z;break;case"leftTop":case"rightTop":he.offset[1]=-te.dropdownArrowOffset-z;break;case"leftBottom":case"rightBottom":he.offset[1]=te.dropdownArrowOffset+z;break}he.overflow=T(ie,te,R,Z),k&&(he.htmlRegion="visibleFirst")}),pe}},19080:function(rt,se,t){t.d(se,{F:function(){return y},Z:function(){return v}});var m=t(92310),T=t.n(m);const $=null;function v(b,g,R){return T()({[`${b}-status-success`]:g==="success",[`${b}-status-warning`]:g==="warning",[`${b}-status-error`]:g==="error",[`${b}-status-validating`]:g==="validating",[`${b}-has-feedback`]:R})}const y=(b,g)=>g||b},24905:function(rt,se,t){t.d(se,{default:function(){return L}});var m=t(92310),T=t.n(m),$=t(5630),v=t(59301),y=t(36355),b=t(1684),g=t(32441),Z=v.createContext(null),H=t(98447),re=t(14088),_=t(4572),k=function(Y,ae){var oe={};for(var q in Y)Object.prototype.hasOwnProperty.call(Y,q)&&ae.indexOf(q)<0&&(oe[q]=Y[q]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,q=Object.getOwnPropertySymbols(Y);A{var oe;const{prefixCls:q,className:A,rootClassName:w,children:u,indeterminate:S=!1,style:E,onMouseEnter:I,onMouseLeave:h,skipGroup:D=!1,disabled:U}=Y,r=k(Y,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:l,direction:s,checkbox:o}=v.useContext(y.E_),a=v.useContext(Z),{isFormItemInput:p}=v.useContext(g.aM),P=v.useContext(b.Z),Q=(oe=(a==null?void 0:a.disabled)||U)!==null&&oe!==void 0?oe:P,we=v.useRef(r.value);v.useEffect(()=>{a==null||a.registerValue(r.value)},[]),v.useEffect(()=>{if(!D)return r.value!==we.current&&(a==null||a.cancelValue(we.current),a==null||a.registerValue(r.value),we.current=r.value),()=>a==null?void 0:a.cancelValue(r.value)},[r.value]);const F=l("checkbox",q),[J,ue]=(0,H.ZP)(F),ve=Object.assign({},r);a&&!D&&(ve.onChange=function(){r.onChange&&r.onChange.apply(r,arguments),a.toggleOption&&a.toggleOption({label:u,value:r.value})},ve.name=a.name,ve.checked=a.value.includes(r.value));const xe=T()(`${F}-wrapper`,{[`${F}-rtl`]:s==="rtl",[`${F}-wrapper-checked`]:ve.checked,[`${F}-wrapper-disabled`]:Q,[`${F}-wrapper-in-form-item`]:p},o==null?void 0:o.className,A,w,ue),Ie=T()({[`${F}-indeterminate`]:S},_.A,ue),x=S?"mixed":void 0;return J(v.createElement(re.Z,{component:"Checkbox",disabled:Q},v.createElement("label",{className:xe,style:Object.assign(Object.assign({},o==null?void 0:o.style),E),onMouseEnter:I,onMouseLeave:h},v.createElement($.Z,Object.assign({"aria-checked":x},ve,{prefixCls:F,className:Ie,disabled:Q,ref:ae})),u!==void 0&&v.createElement("span",null,u))))};var ie=v.forwardRef(z),be=t(80702),he=t(2738),te=function(Y,ae){var oe={};for(var q in Y)Object.prototype.hasOwnProperty.call(Y,q)&&ae.indexOf(q)<0&&(oe[q]=Y[q]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,q=Object.getOwnPropertySymbols(Y);A{const{defaultValue:oe,children:q,options:A=[],prefixCls:w,className:u,rootClassName:S,style:E,onChange:I}=Y,h=te(Y,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:D,direction:U}=v.useContext(y.E_),[r,l]=v.useState(h.value||oe||[]),[s,o]=v.useState([]);v.useEffect(()=>{"value"in h&&l(h.value||[])},[h.value]);const a=v.useMemo(()=>A.map(M=>typeof M=="string"||typeof M=="number"?{label:M,value:M}:M),[A]),p=M=>{o(C=>C.filter(X=>X!==M))},P=M=>{o(C=>[].concat((0,be.Z)(C),[M]))},Q=M=>{const C=r.indexOf(M.value),X=(0,be.Z)(r);C===-1?X.push(M.value):X.splice(C,1),"value"in h||l(X),I==null||I(X.filter(ee=>s.includes(ee)).sort((ee,de)=>{const le=a.findIndex(Ee=>Ee.value===ee),ne=a.findIndex(Ee=>Ee.value===de);return le-ne}))},we=D("checkbox",w),F=`${we}-group`,[J,ue]=(0,H.ZP)(we),ve=(0,he.Z)(h,["value","disabled"]),xe=A.length?a.map(M=>v.createElement(ie,{prefixCls:we,key:M.value.toString(),disabled:"disabled"in M?M.disabled:h.disabled,value:M.value,checked:r.includes(M.value),onChange:M.onChange,className:`${F}-item`,style:M.style,title:M.title},M.label)):q,Ie={toggleOption:Q,value:r,disabled:h.disabled,name:h.name,registerValue:P,cancelValue:p},x=T()(F,{[`${F}-rtl`]:U==="rtl"},u,S,ue);return J(v.createElement("div",Object.assign({className:x,style:E},ve,{ref:ae}),v.createElement(Z.Provider,{value:Ie},xe)))},G=v.forwardRef(N);var d=v.memo(G);const f=ie;f.Group=d,f.__ANT_CHECKBOX=!0;var L=f},98447:function(rt,se,t){t.d(se,{C2:function(){return y}});var m=t(17313),T=t(37613),$=t(83116);const v=b=>{const{checkboxCls:g}=b,R=`${g}-wrapper`;return[{[`${g}-group`]:Object.assign(Object.assign({},(0,m.Wf)(b)),{display:"inline-flex",flexWrap:"wrap",columnGap:b.marginXS,[`> ${b.antCls}-row`]:{flex:1}}),[R]:Object.assign(Object.assign({},(0,m.Wf)(b)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${R}`]:{marginInlineStart:0},[`&${R}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[g]:Object.assign(Object.assign({},(0,m.Wf)(b)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:b.borderRadiusSM,alignSelf:"center",[`${g}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${g}-inner`]:Object.assign({},(0,m.oN)(b))},[`${g}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:b.checkboxSize,height:b.checkboxSize,direction:"ltr",backgroundColor:b.colorBgContainer,border:`${b.lineWidth}px ${b.lineType} ${b.colorBorder}`,borderRadius:b.borderRadiusSM,borderCollapse:"separate",transition:`all ${b.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:b.checkboxSize/14*5,height:b.checkboxSize/14*8,border:`${b.lineWidthBold}px solid ${b.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${b.motionDurationFast} ${b.motionEaseInBack}, opacity ${b.motionDurationFast}`}},"& + span":{paddingInlineStart:b.paddingXS,paddingInlineEnd:b.paddingXS}})},{[` +`;k(z);var pe="rc-slider-captcha";function ie(e){var n=0,c=0;return typeof e.clientX=="number"&&typeof e.clientY=="number"?(n=e.clientX,c=e.clientY):e.touches&&e.touches[0]?(n=e.touches[0].clientX,c=e.touches[0].clientY):e.changedTouches&&e.changedTouches[0]&&(n=e.changedTouches[0].clientX,c=e.changedTouches[0].clientY),{clientX:n,clientY:c}}function be(e,n){if(n===void 0&&(n={}),e)for(var c in n)e.style[c]=n[c]}var he=typeof window=="object"&&window&&typeof document=="object"&&document&&window.document===document&&!!document.addEventListener,te=he&&"onpointerdown"in window,N=he&&"ontouchstart"in window,G=function(e){return e==null?void 0:e.scrollTop};function d(e,n){return typeof e=="number"&&!Number.isNaN(e)&&typeof n=="number"&&n>0?Number(e.toFixed(n)):e}var f="".concat(pe,"-button"),L=function(e){var n,c=e.className,O=e.disabled,j=e.active,K=e.success,Oe=e.error,ce=e.verify,Ue=e.buttonRef,ut=(0,m._T)(e,["className","disabled","active","success","error","verify","buttonRef"]);return v.createElement("span",(0,m.pi)({className:$()(f,c,(n={},n["".concat(f,"-disabled")]=O,n["".concat(f,"-active")]=j,n["".concat(f,"-verify")]=ce,n["".concat(f,"-success")]=K,n["".concat(f,"-error")]=Oe,n["".concat(f,"-pc")]=!N,n)),ref:Ue},ut))};L.displayName="SliderButton";var Y=function(e){return v.createElement("svg",(0,m.pi)({viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),v.createElement("path",{d:"M116.9408 561.4592m0-40.96l0 0q0-40.96 40.96-40.96l573.44 0q40.96 0 40.96 40.96l0 0q0 40.96-40.96 40.96l-573.44 0q-40.96 0-40.96-40.96Z"}),v.createElement("path",{d:"M769.82272 519.43424l-203.22304-203.22304a40.96 40.96 0 1 1 57.91744-57.91744l231.71072 231.71072a40.96 40.96 0 0 1 0.45056 58.44992L624.9472 780.12416a40.96 40.96 0 0 1-57.93792-57.91744l202.79296-202.79296z"}))},ae=function(e){return v.createElement("svg",(0,m.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),v.createElement("path",{d:"M864.554667 268.501333a42.666667 42.666667 0 0 1 0 60.330667L412.032 781.397333a42.453333 42.453333 0 0 1-22.613333 11.818667l-5.034667 0.597333H379.306667a42.496 42.496 0 0 1-27.648-12.416l-211.2-211.2a42.666667 42.666667 0 1 1 60.330666-60.330666l180.992 180.992 422.4-422.4a42.666667 42.666667 0 0 1 60.330667 0z"}))},oe=function(e){return v.createElement("svg",(0,m.pi)({viewBox:"0 0 120 120",width:"1em",height:"1em"},e),v.createElement("defs",null,v.createElement("line",{id:"l",x1:"60",x2:"60",y1:"7",y2:"27",stroke:"currentColor",strokeWidth:"11",strokeLinecap:"round"})),v.createElement("g",null,v.createElement("use",{xlinkHref:"#l",opacity:".27"}),v.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(30 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(60 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(90 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(120 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(150 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".37",transform:"rotate(180 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".46",transform:"rotate(210 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".56",transform:"rotate(240 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".66",transform:"rotate(270 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".75",transform:"rotate(300 60,60)"}),v.createElement("use",{xlinkHref:"#l",opacity:".85",transform:"rotate(330 60,60)"})))},q=function(e){return v.createElement("svg",(0,m.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),v.createElement("path",{d:"M866.133333 573.013333a42.666667 42.666667 0 0 0-53.333333 27.733334A304.64 304.64 0 0 1 519.68 810.666667 302.933333 302.933333 0 0 1 213.333333 512a302.933333 302.933333 0 0 1 306.346667-298.666667 309.76 309.76 0 0 1 198.4 71.253334l-92.586667-15.36a42.666667 42.666667 0 0 0-49.066666 35.413333 42.666667 42.666667 0 0 0 35.413333 49.066667l180.906667 29.866666h7.253333a42.666667 42.666667 0 0 0 14.506667-2.56 14.08 14.08 0 0 0 4.266666-2.56 33.28 33.28 0 0 0 8.533334-4.693333l3.84-4.693333c0-2.133333 3.84-3.84 5.546666-6.4s0-4.266667 2.133334-5.973334a57.173333 57.173333 0 0 0 2.986666-7.68l32-170.666666a42.666667 42.666667 0 0 0-85.333333-16.213334l-11.52 61.866667A392.96 392.96 0 0 0 519.68 128 388.266667 388.266667 0 0 0 128 512a388.266667 388.266667 0 0 0 391.68 384A389.12 389.12 0 0 0 896 626.346667a42.666667 42.666667 0 0 0-29.866667-53.333334z"}))},A=function(e){return v.createElement("svg",(0,m.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),v.createElement("path",{d:"M572.96896 524.6976l217.23136 217.25184a40.96 40.96 0 1 1-57.93792 57.91744L515.072 582.63552l-212.3776 212.3776a40.96 40.96 0 1 1-57.9584-57.91744l212.39808-212.3776-217.21088-217.23136a40.96 40.96 0 1 1 57.91744-57.91744l217.23136 217.21088L737.0752 244.736a40.96 40.96 0 1 1 57.93792 57.91744L572.96896 524.71808z"}))},w=function(e){return v.createElement("svg",(0,m.pi)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16"},e),v.createElement("path",{d:"M.002 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2zm1 9v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9.5l-3.777-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062zm5-6.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"}))},u="".concat(pe,"-icon"),S=function(e){var n,c=e.className,O=e.spin,j=(0,m._T)(e,["className","spin"]);return v.createElement("span",(0,m.pi)({className:$()(u,(n={},n["".concat(u,"-spin")]=O,n),c)},j))},E={arrowRight:v.createElement(Y,null),check:v.createElement(ae,null),loading:v.createElement(oe,null),refresh:v.createElement(q,null),x:v.createElement(A,null),imageFill:v.createElement(w,null)},I=function(e){var n=e.type,c=(0,m._T)(e,["type"]);return v.createElement(S,(0,m.pi)({},c),E[n])},h;(function(e){e[e.Default=1]="Default",e[e.Loading=2]="Loading",e[e.Moving=3]="Moving",e[e.Verify=4]="Verify",e[e.Success=5]="Success",e[e.Error=6]="Error",e[e.LoadFailed=7]="LoadFailed"})(h||(h={}));var D="".concat(pe,"-control"),U=40,r=2,l=function(e){var n,c=e.status,O=c===void 0?h.Default:c,j=e.isLimitErrors,K=e.tipText,Oe=e.tipIcon,ce=e.sliderButtonProps,Ue=e.indicatorProps,ut=e.controlRef,gt=(0,m._T)(e,["status","isLimitErrors","tipText","tipIcon","sliderButtonProps","indicatorProps","controlRef"]),Lt=(0,v.useRef)(null),nt=(0,v.useRef)(null),Ft=(0,v.useRef)(null),dt=(0,v.useRef)({}),it=(0,v.useMemo)(function(){return(0,m.pi)({default:"\u5411\u53F3\u62D6\u52A8\u6ED1\u5757\u586B\u5145\u62FC\u56FE",loading:"\u52A0\u8F7D\u4E2D...",moving:null,verifying:null,success:null,error:null,errors:v.createElement(v.Fragment,null,v.createElement(I,{type:"x",style:{fontSize:20}})," \u5931\u8D25\u8FC7\u591A\uFF0C\u70B9\u51FB\u91CD\u8BD5"),loadFailed:"\u52A0\u8F7D\u5931\u8D25\uFF0C\u70B9\u51FB\u91CD\u8BD5"},K)},[K]),Zt=(0,v.useMemo)(function(){return(0,m.pi)({default:v.createElement(I,{type:"arrowRight"}),loading:v.createElement(I,{type:"loading",spin:!0}),error:v.createElement(I,{type:"x"}),success:v.createElement(I,{type:"check"})},Oe)},[Oe]),xt=(0,v.useMemo)(function(){var Ge;return Ge={},Ge[h.Default]=[it.default,Zt.default],Ge[h.Loading]=[it.loading,Zt.default],Ge[h.Moving]=[it.moving,Zt.default],Ge[h.Verify]=[it.verifying,Zt.loading],Ge[h.Error]=[it.error,Zt.error],Ge[h.Success]=[it.success,Zt.success],Ge[h.LoadFailed]=[it.loadFailed,Zt.default],Ge},[it,Zt]),pt=function(Ge){var kt;return(Ge||typeof dt.current.sliderButtonWidth!="number")&&(dt.current.sliderButtonWidth=((kt=nt.current)===null||kt===void 0?void 0:kt.clientWidth)||U),dt.current.sliderButtonWidth},Pe=function(Ge){if(Ge||typeof dt.current.indicatorBorderWidth!="number")if(Ft.current){var kt=window.getComputedStyle(Ft.current);dt.current.indicatorBorderWidth=parseInt(kt.borderLeftWidth)+parseInt(kt.borderRightWidth)}else dt.current.indicatorBorderWidth=r;return dt.current.indicatorBorderWidth},Rt=function(Ge){var kt;return(Ge||!dt.current.rect)&&Lt.current&&(dt.current.rect=(kt=Lt.current)===null||kt===void 0?void 0:kt.getBoundingClientRect()),dt.current.rect};(0,v.useImperativeHandle)(ut,function(){return{getSliderButtonWidth:pt,getIndicatorBorderWidth:Pe,getRect:Rt,updateLeft:function(Ge){var kt=pt(),Dr=Pe();be(nt.current,{left:Ge+"px"}),be(Ft.current,{width:Ge+kt+Dr+"px"})}}},[]);var Ot=O===h.Loading,sr=O===h.Moving,cr=O===h.Verify,vr=O===h.Success,mr=O===h.Error,br=O===h.LoadFailed,Cr=j?it.errors:xt[O][0];return v.createElement("div",(0,m.pi)({},gt,{className:$()(D,(n={},n["".concat(D,"-loading")]=Ot,n["".concat(D,"-moving")]=sr,n["".concat(D,"-verify")]=cr,n["".concat(D,"-success")]=vr,n["".concat(D,"-error")]=mr,n["".concat(D,"-errors")]=j,n["".concat(D,"-load-failed")]=br,n),gt.className),ref:Lt}),v.createElement("div",(0,m.pi)({},Ue,{className:$()("".concat(D,"-indicator"),Ue==null?void 0:Ue.className),ref:Ft})),v.createElement(L,(0,m.pi)({},ce,{className:$()("".concat(D,"-button"),ce==null?void 0:ce.className),disabled:Ot,active:sr,verify:cr,success:vr,error:mr,buttonRef:nt}),xt[O][1]),v.createElement("div",{className:$()("".concat(D,"-tips")),style:Cr?{}:{display:"none"}},Cr))},s="".concat(pe,"-loading"),o=function(e){var n=e.icon,c=n===void 0?v.createElement(I,{type:"loading",spin:!0}):n,O=e.text,j=O===void 0?"\u52A0\u8F7D\u4E2D...":O,K=e.className,Oe=(0,m._T)(e,["icon","text","className"]);return v.createElement("div",(0,m.pi)({className:$()(s,K)},Oe),v.createElement("div",{className:"".concat(s,"-icon")},c),v.createElement("div",{className:"".concat(s,"-text")},j))},a="".concat(pe,"-jigsaw"),p={bgSize:{width:320,height:160},puzzleSize:{width:60,left:0},loadFailedIcon:v.createElement(I,{type:"imageFill"}),refreshIcon:v.createElement(I,{type:"refresh"})},P=function(e){var n,c,O=e.status,j=e.bgSize,K=j===void 0?p.bgSize:j,Oe=e.puzzleSize,ce=Oe===void 0?p.puzzleSize:Oe,Ue=e.bgUrl,ut=e.puzzleUrl,gt=e.bgImgProps,Lt=e.puzzleImgProps,nt=e.jigsawRef,Ft=e.loadingBoxProps,dt=e.loadFailedIcon,it=dt===void 0?p.loadFailedIcon:dt,Zt=e.showRefreshIcon,xt=Zt===void 0?!0:Zt,pt=e.refreshIcon,Pe=pt===void 0?p.refreshIcon:pt,Rt=e.disabledRefresh,Ot=e.onRefresh,sr=e.style,cr=e.className,vr=e.children,mr=(0,m._T)(e,["status","bgSize","puzzleSize","bgUrl","puzzleUrl","bgImgProps","puzzleImgProps","jigsawRef","loadingBoxProps","loadFailedIcon","showRefreshIcon","refreshIcon","disabledRefresh","onRefresh","style","className","children"]),br=(0,v.useRef)(null);if((0,v.useImperativeHandle)(nt,function(){return{updateLeft:function(Ge){be(br.current,{left:Ge+"px"})}}}),O===h.Loading)return v.createElement(o,(0,m.pi)({},Ft,{style:(0,m.pi)((0,m.pi)({},Ft==null?void 0:Ft.style),K)}));if(O===h.LoadFailed||!Ue||!ut)return v.createElement("div",{className:"".concat(pe,"-load-failed"),style:K},it);var Cr=O===h.Verify||O===h.Error||O===h.Success;return v.createElement("div",(0,m.pi)({className:$()(a,(n={},n["".concat(a,"-stop")]=Cr,n),cr),style:(0,m.pi)((0,m.pi)({},sr),K)},mr),v.createElement("img",(0,m.pi)({src:Ue,alt:""},gt,{className:$()("".concat(a,"-bg"),gt==null?void 0:gt.className),style:(0,m.pi)((0,m.pi)({},gt==null?void 0:gt.style),K)})),v.createElement("img",(0,m.pi)({src:ut,alt:""},Lt,{className:$()("".concat(a,"-puzzle"),Lt==null?void 0:Lt.className),style:(0,m.pi)((0,m.pi)({},Lt==null?void 0:Lt.style),ce),ref:br})),xt&&O!==h.Success&&Pe&&v.createElement("div",{className:$()("".concat(a,"-refresh"),(c={},c["".concat(a,"-refresh-disabled")]=O===h.Verify||Rt,c)),onClick:function(){O!==h.Verify&&!Rt&&(Ot==null||Ot())}},Pe),vr)},Q=te?{start:"pointerdown",move:"pointermove",end:"pointerup",cancel:"pointercancel"}:N?{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"}:{start:"mousedown",move:"mousemove",end:"mouseup",cancel:"touchcancel"},we=te?"onPointerDown":N?"onTouchStart":"onMouseDown",F;(function(e){e.Puzzle="puzzle",e.Button="button"})(F||(F={}));var J=function(e){var n,c,O,j=e.mode,K=j===void 0?"embed":j,Oe=e.limitErrorCount,ce=Oe===void 0?0:Oe,Ue=e.tipText,ut=e.tipIcon,gt=e.refreshIcon,Lt=e.bgSize,nt=e.puzzleSize,Ft=e.request,dt=e.autoRequest,it=dt===void 0?!0:dt,Zt=e.onVerify,xt=e.autoRefreshOnError,pt=xt===void 0?!0:xt,Pe=e.actionRef,Rt=e.showRefreshIcon,Ot=Rt===void 0?!0:Rt,sr=e.jigsawContent,cr=e.errorHoldDuration,vr=cr===void 0?500:cr,mr=e.loadingDelay,br=mr===void 0?0:mr,Cr=e.placement,Ge=Cr===void 0?"top":Cr,kt=e.loadingBoxProps,Dr=e.sliderButtonProps,Ce=e.precision,je=Ce===void 0?7:Ce,Xe=e.className,bt=e.style,He=e.styles,en=R(),Ar=en[0],tn=en[1],Mr=R(h.Default),Tr=Mr[0],ur=Mr[1],on=H(Tr),rn=(0,v.useRef)(null),Er=(0,v.useRef)(null),Gr=(0,v.useRef)(null),Zr=(0,v.useMemo)(function(){return K==="float"||K==="slider"?K:"embed"},[K]),pn=(0,v.useMemo)(function(){if(gt!==void 0)return gt;if((ut==null?void 0:ut.refresh)!==void 0)return ut.refresh},[gt,ut]),nn=(0,v.useMemo)(function(){return(0,m.pi)((0,m.pi)({},p.bgSize),Lt)},[Lt]),Sr=(0,v.useMemo)(function(){return(0,m.pi)((0,m.pi)({},p.puzzleSize),nt)},[nt]),Wr=(0,v.useMemo)(function(){return Ge==="bottom"?"top":"bottom"},[Ge]),$e=(0,v.useRef)({isPressed:!1,trail:[],errorCount:0,startInfo:{x:0,y:0,timestamp:0},currentTargetType:F.Button,floatTransitionTimer:null,floatDelayShowTimer:null,floatDelayHideTimer:null,refreshTimer:null,loadingTimer:null,sliderButtonWidth:40,indicatorBorderWidth:2,ratio:1,buttonMaxDistance:0,puzzleMaxDistance:0}),an=Zr==="slider",bn=typeof br=="number"&&br>0,sn=Tr===h.Error&&ce>0&&$e.current.errorCount>=ce,Sn=function(){$e.current.buttonMaxDistance=nn.width-$e.current.sliderButtonWidth-$e.current.indicatorBorderWidth,$e.current.puzzleMaxDistance=nn.width-Sr.width-Sr.left},Cn=function(){var qe;return((qe=rn.current)===null||qe===void 0?void 0:qe.getRect(!0).height)||42},yn=function(){return(0,m.mG)(void 0,void 0,void 0,function(){var qe;return(0,m.Jh)(this,function(It){switch(It.label){case 0:if(an)return[2];if(!Ft)return[3,4];bn?$e.current.loadingTimer=setTimeout(function(){ur(h.Loading)},br):ur(h.Loading),It.label=1;case 1:return It.trys.push([1,3,,4]),[4,Ft()];case 2:return qe=It.sent(),bn&&clearTimeout($e.current.loadingTimer),tn(qe),ur(h.Default),[3,4];case 3:return It.sent(),bn&&clearTimeout($e.current.loadingTimer),ur(h.LoadFailed),[3,4];case 4:return[2]}})})},xn=function(qe){qe===void 0&&(qe=300),!(Zr!=="float"||on.current===h.Success)&&(clearTimeout($e.current.floatTransitionTimer),clearTimeout($e.current.floatDelayHideTimer),clearTimeout($e.current.floatDelayShowTimer),$e.current.floatDelayShowTimer=setTimeout(function(){var It;be(Gr.current,{display:"block"}),G(Gr.current);var Hr=Cn()+"px";be(Gr.current,(It={},It[Wr]=Hr,It.opacity="1",It))},qe))},cn=function(qe){qe===void 0&&(qe=300),Zr==="float"&&(clearTimeout($e.current.floatTransitionTimer),clearTimeout($e.current.floatDelayHideTimer),clearTimeout($e.current.floatDelayShowTimer),$e.current.floatDelayHideTimer=setTimeout(function(){var It,Hr=Cn()/2+"px";be(Gr.current,(It={},It[Wr]=Hr,It.opacity="0",It)),$e.current.floatTransitionTimer=setTimeout(function(){be(Gr.current,{display:"none"})},300)},qe))},Pn=function(qe){var It;an||(It=Er.current)===null||It===void 0||It.updateLeft(qe)},Rn=function(){var qe;$e.current.isPressed=!1,ur(h.Default),(qe=rn.current)===null||qe===void 0||qe.updateLeft(0),Pn(Sr.left)},wn=function(qe){qe===void 0&&(qe=!1),qe&&($e.current.errorCount=0),clearTimeout($e.current.refreshTimer),on.current!==h.Loading&&(Rn(),yn())},Mn=function(){(sn||Tr===h.LoadFailed)&&wn(sn)},Tn=function(){N||xn()},zn=function(){N||cn()},jn=function(qe){$e.current.currentTargetType=F.Puzzle,$n(qe)},Bn=function(qe){$e.current.currentTargetType=F.Button,$n(qe)},$n=function(qe){if(on.current===h.Default){qe.preventDefault();var It=ie(qe),Hr=It.clientX,un=It.clientY;$e.current.startInfo={x:Hr,y:un,timestamp:new Date().getTime()},$e.current.trail=[[Hr,un]],rn.current&&($e.current.sliderButtonWidth=rn.current.getSliderButtonWidth(!0),$e.current.indicatorBorderWidth=rn.current.getIndicatorBorderWidth(!0)),Sn(),$e.current.ratio=$e.current.puzzleMaxDistance/$e.current.buttonMaxDistance,$e.current.currentTargetType===F.Puzzle&&($e.current.ratio=1/$e.current.ratio),(N||qe.pointerType==="pen"||qe.pointerType==="touch")&&xn(0),$e.current.isPressed=!0,document.addEventListener(Q.move,In),document.addEventListener(Q.end,En),document.addEventListener(Q.cancel,En)}},In=function(qe){var It;if($e.current.isPressed){qe.preventDefault();var Hr=ie(qe),un=Hr.clientX,On=Hr.clientY,Nr=un-$e.current.startInfo.x;$e.current.trail.push([un,On]),on.current!==h.Moving&&Nr>0&&ur(h.Moving);var Lr=Nr,dn=Nr;$e.current.currentTargetType===F.Puzzle?(Nr=Math.max(0,Math.min(Nr,$e.current.puzzleMaxDistance)),Lr=Nr+Sr.left,dn=Nr*$e.current.ratio):(Nr=Math.max(0,Math.min(Nr,$e.current.buttonMaxDistance)),dn=Nr,Lr=Nr*$e.current.ratio+Sr.left),(It=rn.current)===null||It===void 0||It.updateLeft(dn),Pn(Lr)}},En=function(qe){if(document.removeEventListener(Q.move,In),document.removeEventListener(Q.end,En),document.removeEventListener(Q.cancel,En),!!$e.current.isPressed){if(on.current!==h.Moving){$e.current.isPressed=!1,N&&cn();return}if(Zt){$e.current.isPressed=!1,ur(h.Verify);var It=new Date().getTime(),Hr=ie(qe),un=Hr.clientX,On=Hr.clientY,Nr=On-$e.current.startInfo.y,Lr=un-$e.current.startInfo.x,dn=Lr;$e.current.currentTargetType===F.Puzzle?(Lr=Math.max(0,Math.min(Lr,$e.current.puzzleMaxDistance)),dn=Lr*$e.current.ratio):(Lr=Math.max(0,Math.min(Lr,$e.current.buttonMaxDistance)),dn=Lr,Lr*=$e.current.ratio),Zt({x:d(Lr,je),y:d(Nr,je),sliderOffsetX:d(dn,je),duration:It-$e.current.startInfo.timestamp,trail:$e.current.trail,targetType:$e.current.currentTargetType,errorCount:$e.current.errorCount}).then(function(){$e.current.errorCount=0,ur(h.Success),cn()}).catch(function(){$e.current.errorCount+=1,ur(h.Error),(N||qe.pointerType==="pen"||qe.pointerType==="touch")&&cn(),(ce<=0||$e.current.errorCount0?(j.forEach(function(K){K.wrap.apply(K.context,c)}),!0):!1},e}(),ve={},xe=function(){function e(n){n===void 0&&(n="default"),this.scope=n,ve[this.scope]||(ve[this.scope]={}),this.data=ve[this.scope]}return e.prototype.getItem=function(n){return n in this.data?this.data[n]:null},e.prototype.setItem=function(n,c){this.data[n]=c},e.prototype.removeItem=function(n){delete this.data[n]},e.prototype.clear=function(){ve[this.scope]={},this.data=ve[this.scope]},e}();function Ie(){return Math.random().toString(16).substring(2,8)}function x(e){try{var n=typeof e=="object"&&e!==null&&!!e.setItem&&!!e.getItem&&!!e.removeItem;if(n){var c=Ie()+new Date().getTime(),O="1";if(e.setItem(c,O),e.getItem(c)!==O)return!1;e.removeItem(c)}return n}catch(j){return console.error("[cache2] ".concat(e," is not supported. The default memory cache will be used.")),!1}}function M(e,n){try{return JSON.parse(e,n)}catch(c){return e}}function C(e,n){return JSON.stringify(e,n)}var X=function(){function e(n,c){c===void 0&&(c={});var O=n?x(n):!1;this.options=(0,m.pi)({needParsed:O,prefix:""},c),this.storage=O?n:new xe(this.options.memoryScope)}return e.prototype.getKey=function(n){return this.options.prefix+n},e.prototype.get=function(n){var c=this.storage.getItem(this.getKey(n));return this.options.needParsed?M(c,this.options.reviver):c},e.prototype.set=function(n,c){this.storage.setItem(this.getKey(n),this.options.needParsed?C(c,this.options.replacer):c)},e.prototype.del=function(n){this.storage.removeItem(this.getKey(n))},e.prototype.clear=function(){typeof this.storage.clear=="function"&&this.storage.clear()},e}(),ee="cache2_",de="default",le=function(e){(0,m.ZT)(n,e);function n(c,O){var j=e.call(this)||this,K=de,Oe;return typeof c=="string"?K=c||de:typeof c=="object"&&(Oe=c),!Oe&&typeof O=="object"&&(Oe=O),j.options=(0,m.pi)({max:-1,stdTTL:0,maxStrategy:"limited",checkperiod:0,prefix:ee},Oe),j.storage=new X(j.options.storage,(0,m.pi)({memoryScope:K},j.options)),j.cacheKey=K,j.startCheckperiod(),j}return n.prototype._check=function(c,O){var j=!0;return O.t!==0&&O.t0?j+K:0;return{v:c,t:Oe,n:j}},n.prototype._isLimited=function(c){return this.options.max>-1&&c>=this.options.max},n.prototype._getReplaceKey=function(c,O){var j=c[0];return c.forEach(function(K){(O[K].t0&&this.setCacheValues(j),K},n.prototype.clear=function(){this.storage.del(this.cacheKey)},n.prototype.keys=function(){var c=this,O=this.cacheValues,j=Object.keys(O);return j.filter(function(K){return c._check(K,O[K])})},n.prototype.has=function(c){var O=this.cacheValues[c];return!!(O&&this._check(c,O))},n.prototype.take=function(c){var O,j=this.cacheValues[c];return j&&this._check(c,j)&&(O=j.v,this.del(c)),O},n.prototype.ttl=function(c,O){var j=this.cacheValues,K=j[c];return K&&this._check(c,K)?(j[c]=this._wrap(K.v,O),!0):!1},n.prototype.getTtl=function(c){var O=this.cacheValues,j=O[c];if(j&&this._check(c,j))return O[c].t},n.prototype.getLastModified=function(c){var O=this.cacheValues,j=O[c];if(j&&this._check(c,j))return O[c].n},n.prototype.startCheckperiod=function(){var c=this;this.keys(),this.options.checkperiod>0&&(clearTimeout(this._checkTimeout),this._checkTimeout=setTimeout(function(){c.startCheckperiod()},this.options.checkperiod))},n.prototype.stopCheckperiod=function(){clearTimeout(this._checkTimeout)},n}(ue),ne=void 0,Ee="undefined",me="object",ge=Object.prototype,Se=ge.toString,De=ge.hasOwnProperty,Be=ge.propertyIsEnumerable,Te=Object.getOwnPropertySymbols,Le=Object.getPrototypeOf,et=Object.keys,ot=Function.prototype,ft=ot.toString,Ye=typeof Symbol!==Ee,Re=Ye?Symbol.prototype:ne,Bt=Array.prototype,Ut=Bt.slice,Mt=Math.min,Ct=Math.max,dr=Math.random,Wt=Math.floor,Jt=Math.ceil,ar=Math.abs,fr=Number.isFinite,yt=Number.isInteger,Dt=Number.isSafeInteger,wt=typeof globalThis===me&&globalThis,Gt=typeof t.g===me&&t.g,st=typeof self===me&&self,qt=Number.MAX_SAFE_INTEGER||9007199254740991,Et=Number.MIN_SAFE_INTEGER||-9007199254740991,ir=4294967295,Qe="[object ",Kr=Qe+"BigInt]",Xr=Qe+"Number]",Or=Qe+"Boolean]",er=Qe+"String]",Me=Qe+"Date]",Ze=Qe+"RegExp]",i=Qe+"Symbol]",B=Qe+"Error]",W=Qe+"ArrayBuffer]",V=Qe+"Arguments]",fe=Qe+"Array]",ye=["Function","AsyncFunction","GeneratorFunction","Proxy"].map(function(e){return Qe+e+"]"}),Ae=Qe+"WeakSet]",ke=Qe+"Blob]",Ne=Qe+"File]",Ve=Qe+"DOMException]",ze=Qe+"Object]",tt=Qe+"DataView]",vt=Qe+"Map]",Tt=Qe+"Promise]",zt=Qe+"Set]",Pt=Qe+"WeakMap]",Ht=Qe+"Window]";function Ke(e){return Se.call(e)}function We(e){return typeof e=="string"||Ke(e)===er}var $t=function(){function e(n,c){c===void 0&&(c="uh_async_memo"),this.promiseCache={},this.cache=new le(c,n)}return e.prototype.run=function(n,c,O){var j=this;if(!c||!We(c))return n();var K=(0,m.pi)({persisted:!0},O);if(K.persisted){var Oe=this.cache.get(c);if(Oe)return Promise.resolve(Oe)}return this.promiseCache[c]||(this.promiseCache[c]=n().then(function(ce){return delete j.promiseCache[c],j.cache.set(c,ce,K.ttl),ce}).catch(function(ce){return delete j.promiseCache[c],Promise.reject(ce)})),this.promiseCache[c]},e}(),at=typeof Blob!==Ee;function _e(e){return at&&e instanceof Blob?!0:Ke(e)===ke}function lt(e){return function(){return e}}function tr(){}var Kt=typeof URL!="undefined",Pr=void 0,rr=Object.keys,Vt=Object.values,nr=Kt?URL.createObjectURL:lt(""),Rr=Kt?URL.revokeObjectURL:tr;function St(e,n){var c=n||{},O=c.method,j=O===void 0?"get":O,K=c.data,Oe=K===void 0?null:K,ce=c.timeout,Ue=c.headers,ut=c.withCredentials,gt=ut===void 0?!1:ut,Lt=c.async,nt=Lt===void 0?!0:Lt,Ft=c.user,dt=Ft===void 0?null:Ft,it=c.password,Zt=it===void 0?null:it,xt=c.responseType,pt=c.onReadyStateChange,Pe=c.onLoadStart,Rt=c.onProgress,Ot=c.onAbort,sr=c.onTimeout,cr=c.onError,vr=c.onLoad,mr=c.onLoadEnd;return new Promise(function(br,Cr){var Ge=new XMLHttpRequest;Ge.open(j.toLowerCase(),e,nt,dt,Zt),pt&&(Ge.onreadystatechange=pt),typeof ce=="number"&&ce>0&&(Ge.timeout=ce),Ge.withCredentials=gt,xt&&(Ge.responseType=xt),typeof Ue=="object"&&rr(Ue).map(function(Xe){Ge.setRequestHeader(Xe,Ue[Xe])});var kt=function(Xe){return function(bt){br(bt),Xe==null||Xe.call(Ge,bt)}},Dr=function(Xe){return function(bt){Cr(bt),Xe==null||Xe.call(Ge,bt)}},Ce={loadstart:Pe,progress:Rt,abort:Dr(Ot),timeout:Dr(sr),error:Dr(cr),load:kt(vr),loadend:mr},je=rr(Ce);je.forEach(function(Xe){var bt=Ce[Xe];bt&&Ge.addEventListener(Xe,bt)}),Ge.send(Oe)})}var At=[200,304];function hr(e,n){return new Promise(function(c,O){_e(e)?c(e):St(e,(0,m.pi)({responseType:"blob"},n)).then(function(j){var K=j.target.status;if(At.indexOf(K)!==-1)c(j.target.response);else{var Oe=new Error("The file does not support get requests, responseStatus ".concat(K,", '").concat(e,"'."));console.error(Oe),O(Oe)}}).catch(function(j){console.error(new Error("Failed to request file. ".concat(j))),O(j)})})}function zr(e){return new Promise(function(n,c){var O=_e(e),j=O?nr(e):e,K=new Image;O||(K.crossOrigin="anonymous"),K.onload=function(){n(K)},K.onerror=function(Oe){O&&Rr(j),console.error("[loadImage] The image load failed, '".concat(e,"'.")),c(Oe)},K.src=j})}function or(e,n){return hr(e,n).then(function(c){return zr(c).then(function(O){return{blob:c,image:O}})})}function mt(e){return e!==null&&typeof e=="object"}function Je(e){return typeof e=="function"||mt(e)}function gr(e){return typeof e=="symbol"||Ke(e)===i}var pr=/^0b[01]+$/i,Xt=/^0o[0-7]+$/i,ht=/^[-+]0x[0-9a-f]+$/i;function _t(e){if(typeof e=="number")return e;if(gr(e))return NaN;if(Je(e)&&(e=Number(e)),typeof e!="string")return e===0?e:+e;e=e.trim();var n=pr.test(e);return n||Xt.test(e)?parseInt(e.slice(2),n?2:8):ht.test(e)?NaN:+e}var Yt=17976931348623157e292;function Nt(e){if(!e)return e===0?e:0;if(e=_t(e),e===1/0||e===-1/0){var n=e<0?-1:1;return n*Yt}return e===e?e:0}function wr(e,n){e===void 0&&(e=0),n===void 0&&(n=1),e=Nt(e),n=Nt(n);var c=Jt(Mt(e,n)||0),O=Wt(Ct(e,n)||0);if(c>O){var j=c;c=O,O=j}return Wt(c+dr()*(O-c+1))}var jt=Math.PI,Fe;(function(e){e[e.None=0]="None",e[e.Outer=1]="Outer",e[e.Inner=2]="Inner"})(Fe||(Fe={}));var yr=[Fe.None,Fe.Outer,Fe.Inner];function ct(e){var n=e.length,c=wr(0,n-1);return e[c]}function xr(e){var n={top:ct(yr),right:ct(yr),bottom:ct(yr),left:ct(yr)},c=Object.keys(n),O=["top","bottom"],j=["left","right"];if(n.top===Fe.Outer&&n.bottom===Fe.Outer?n[ct(O)]=Fe.Inner:n.top!==Fe.Outer&&n.bottom!==Fe.Outer&&(n[ct(O)]=Fe.Outer),n.left===Fe.Outer&&n.right===Fe.Outer?n[ct(j)]=Fe.Inner:n.left!==Fe.Outer&&n.right!==Fe.Outer&&(n[ct(j)]=Fe.Outer),e){var K=[],Oe=[];c.forEach(function(ce){n[ce]===Fe.Inner?K.push(ce):n[ce]===Fe.None&&Oe.push(ce)}),e===2?K.forEach(function(ce){return n[ce]=Fe.None}):e===3?K.length===0?n[ct(Oe)]=Fe.Inner:K.length===2&&(n[ct(K)]=Fe.None):e==4&&Oe.forEach(function(ce){return n[ce]=Fe.Inner})}return n}function jr(e,n){n===void 0&&(n={});var c=n.x,O=c===void 0?0:c,j=n.y,K=j===void 0?0:j,Oe=n.w,ce=Oe===void 0?60:Oe,Ue=n.h,ut=Ue===void 0?60:Ue,gt=n.needClosePath,Lt=gt===void 0?!0:gt,nt=n.points,Ft=n.margin,dt=Ft===void 0?0:Ft;dt=dt<=0?0:dt,(typeof nt=="number"||!nt)&&(nt=xr(nt));var it=(Math.min(ce,ut)-dt*2)*.15,Zt=Math.hypot(it,it),xt=Zt/2,pt=it+xt,Pe={x:O+dt,y:K+dt,w:ce-pt-dt*2,h:ut-pt-dt*2},Rt=Pe.w/2,Ot=Pe.h/2;nt.left===Fe.Outer&&(Pe.x+=pt),nt.top===Fe.Outer&&(Pe.y+=pt),e.beginPath(),e.lineWidth=2,e.moveTo(Pe.x,Pe.y),nt.top!==Fe.None&&(e.lineTo(Pe.x+Rt-xt,Pe.y),nt.top===Fe.Inner?e.arc(Pe.x+Rt,Pe.y+xt,it,1.25*jt,1.75*jt,!0):e.arc(Pe.x+Rt,Pe.y-xt,it,.75*jt,.25*jt)),e.lineTo(Pe.x+Pe.w,Pe.y),nt.right!==Fe.None&&(e.lineTo(Pe.x+Pe.w,Pe.y+Ot-xt),nt.right===Fe.Inner?e.arc(Pe.x+Pe.w-xt,Pe.y+Ot,it,1.75*jt,.25*jt,!0):e.arc(Pe.x+Pe.w+xt,Pe.y+Ot,it,1.25*jt,.75*jt)),e.lineTo(Pe.x+Pe.w,Pe.y+Pe.h),nt.bottom!==Fe.None&&(e.lineTo(Pe.x+Rt+xt,Pe.y+Pe.h),nt.bottom===Fe.Inner?e.arc(Pe.x+Rt,Pe.y+Pe.h-xt,it,.25*jt,.75*jt,!0):e.arc(Pe.x+Rt,Pe.y+Pe.h+xt,it,1.75*jt,1.25*jt)),e.lineTo(Pe.x,Pe.y+Pe.h),nt.left!==Fe.None&&(e.lineTo(Pe.x,Pe.y+Ot+xt),nt.left===Fe.Inner?e.arc(Pe.x+xt,Pe.y+Ot,it,.75*jt,1.25*jt,!0):e.arc(Pe.x-xt,Pe.y+Ot,it,.25*jt,1.75*jt)),e.lineTo(Pe.x,Pe.y),e.stroke(),Lt&&e.closePath()}function lr(e,n,c,O){return new Promise(function(j){n?e.toBlob(function(K){j(K?URL.createObjectURL(K):e.toDataURL(c,O))},c,O):j(e.toDataURL(c,O))})}var $r=new $t({max:5,maxStrategy:"replaced"});$r.cache.on("del",function(e,n){try{n.image.src&&URL.revokeObjectURL(n.image.src)}catch(c){}});function Jr(e){e?$r.cache.del(e):$r.cache.clear()}var Br=new WeakMap,Fr=function(e){if(!Je(e))return String(e);if(!Br.get(e)){var n="_"+Date.now();Br.set(e,n)}return Br.get(e)},Ir={jpeg:"image/jpeg",png:"image/png"},Vr=[];function Qt(e){e.forEach(function(n){URL.revokeObjectURL(n)})}function _r(e,n){n===void 0&&(n={});var c=n.borderWidth,O=c===void 0?2:c,j=n.borderColor,K=j===void 0?"rgba(255,255,255,0.7)":j,Oe=n.fillColor,ce=Oe===void 0?"rgba(255,255,255,0.7)":Oe,Ue=n.points,ut=n.width,gt=ut===void 0?60:ut,Lt=n.height,nt=Lt===void 0?60:Lt,Ft=n.x,dt=n.y,it=n.margin,Zt=it===void 0?2:it,xt=n.equalHeight,pt=xt===void 0?!0:xt,Pe=n.imageWidth,Rt=n.imageHeight,Ot=n.bgWidth,sr=n.bgHeight,cr=n.bgOffset,vr=cr===void 0?[0,0]:cr,mr=n.bgImageType,br=mr===void 0?Ir.jpeg:mr,Cr=n.quality,Ge=Cr===void 0?.8:Cr,kt=n.format,Dr=kt===void 0?"dataURL":kt,Ce=n.cacheImage,je=Ce===void 0?!0:Ce,Xe=n.autoRevokePreviousBlobUrl,bt=Xe===void 0?!0:Xe,He=n.ajaxOptions;return new Promise(function(en,Ar){var tn=document.createElement("canvas"),Mr=document.createElement("canvas"),Tr=tn.getContext("2d"),ur=Mr.getContext("2d"),on=je?Fr(e):void 0;$r.run(function(){return or(e,He)},on).then(function(rn){var Er=rn.image;Pe&&(Er.width=Pe),Rt&&(Er.height=Rt);var Gr=typeof Ot=="number"&&Ot>0?Ot>gt?Ot:gt:Er.width,Zr=typeof sr=="number"&&sr>0?sr>nt?sr:nt:Er.height;tn.width=Gr,tn.height=Zr;var pn=Gr-gt,nn=Zr-nt,Sr=typeof Ft=="undefined"?wr(gt,pn):Ft||0,Wr=typeof dt=="undefined"?wr(0,nn):dt||0;Sr<0?Sr=0:Sr>pn&&(Sr=pn),Wr<0?Wr=0:Wr>nn&&(Wr=nn);var $e=typeof Ue=="number"||!Ue?xr(Ue):Ue,an=typeof vr=="function"?vr(Er.width,Er.height):vr;Tr.strokeStyle=K,Tr.lineWidth=O,Tr.fillStyle=ce,jr(Tr,{x:Sr,y:Wr,w:gt,h:nt,points:$e,margin:Zt}),Tr.fillStyle=ce,Tr.fill(),Tr.globalCompositeOperation="destination-over",Tr.drawImage(Er,an[0],an[1],Er.width,Er.height),Mr.width=Gr,Mr.height=Zr,ur.strokeStyle=K,ur.lineWidth=O,jr(ur,{x:Sr,y:Wr,w:gt,h:nt,points:$e,margin:Zt}),ur.globalCompositeOperation="destination-over",ur.clip(),ur.drawImage(Er,an[0],an[1],Er.width,Er.height);var bn=ur.getImageData(Sr,Wr,gt,nt);ur.clearRect(0,0,Gr,Zr),Mr.width=gt,Mr.height=pt?Zr:nt,ur.putImageData(bn,0,pt?Wr:0);var sn=Dr==="blob",Sn=lr(Mr,sn,Ir.png,Ge),Cn=lr(tn,sn,br,Ge);Promise.all([Sn,Cn]).then(function(yn){var xn=yn[0],cn=yn[1];bt&&(Vr.length&&(Qt(Vr),Vr.length=0),sn&&Vr.push(cn,xn)),en({puzzleUrl:xn,bgUrl:cn,x:Sr,y:pt?0:Wr})}).catch(Ar)}).catch(Ar)})}var hn=t(43418),fn=t(3113),vn=Object.defineProperty,Yr=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,Qr=(e,n,c)=>n in e?vn(e,n,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[n]=c,ln=(e,n)=>{for(var c in n||(n={}))mn.call(n,c)&&Qr(e,c,n[c]);if(Yr)for(var c of Yr(n))gn.call(n,c)&&Qr(e,c,n[c]);return e},kr=(e,n,c)=>new Promise((O,j)=>{var K=Ue=>{try{ce(c.next(Ue))}catch(ut){j(ut)}},Oe=Ue=>{try{ce(c.throw(Ue))}catch(ut){j(ut)}},ce=Ue=>Ue.done?O(Ue.value):Promise.resolve(Ue.value).then(K,Oe);ce((c=c.apply(e,n)).next())});const Ur=({ModalProps:e,onFinish:n})=>{const[c,O]=(0,v.useState)(),j=(0,v.useRef)(),K=()=>kr(void 0,null,function*(){const ce=`/images/VerifCodeBg/img${Math.floor(Math.random()*23)+1}.jpg`,Ue=yield _r(ce,{imageHeight:180,imageWidth:360});return O(Ue),Ue}),Oe=ce=>kr(void 0,null,function*(){return ce!=null&&ce.x&&ce.x>c.x-5&&ce.x{var ce;e!=null&&e.open&&j.current&&((ce=j.current)==null||ce.refresh())},[e==null?void 0:e.open,j]),v.createElement(hn.default,ln({},ln({title:"\u8BF7\u5B8C\u6210\u4E0B\u5217\u9A8C\u8BC1\u540E\u7EE7\u7EED",width:410,footer:null,centered:!0},e)),v.createElement(J,{actionRef:j,request:K,onVerify:ce=>kr(void 0,null,function*(){return Oe(ce)}),bgSize:{width:360,height:180}}),v.createElement("div",{className:"flex mt10"},v.createElement(fn.ZP,{style:{paddingLeft:"0px",paddingRight:"0px"},type:"link",icon:v.createElement("i",{className:"iconfont icon-shuaxin3"}),onClick:()=>{var ce;(ce=j.current)==null||ce.refresh()}},"\u5237\u65B0")))};var qr=v.memo(Ur)},30614:function(rt,se,t){t.d(se,{Z:function(){return te}});var m=t(59301),T=t(99267),$=t(40001),v=t(49198),y=t(955),b=Object.defineProperty,g=Object.defineProperties,R=Object.getOwnPropertyDescriptors,Z=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,_=(N,G,d)=>G in N?b(N,G,{enumerable:!0,configurable:!0,writable:!0,value:d}):N[G]=d,k=(N,G)=>{for(var d in G||(G={}))H.call(G,d)&&_(N,d,G[d]);if(Z)for(var d of Z(G))re.call(G,d)&&_(N,d,G[d]);return N},z=(N,G)=>g(N,R(G)),pe=(N,G,d)=>new Promise((f,L)=>{var Y=q=>{try{oe(d.next(q))}catch(A){L(A)}},ae=q=>{try{oe(d.throw(q))}catch(A){L(A)}},oe=q=>q.done?f(q.value):Promise.resolve(q.value).then(Y,ae);oe((d=d.apply(N,G)).next())});const ie={moveX:0,verify:0};var be=(N=>(N[N.SET_MOVEX=0]="SET_MOVEX",N[N.VERIFY=1]="VERIFY",N))(be||{});function he(N,G){switch(G.type){case 0:return z(k({},N),{moveX:G.payload});case 1:return k(k({},N),G.payload);default:throw new Error}}var te=({value:N,onChange:G,onValidate:d})=>{const[f,L]=(0,m.useReducer)(he,ie),{moveX:Y,verify:ae}=f,oe=(0,m.useRef)(),q=(0,m.useRef)(),A=(0,m.useRef)(),w=(0,m.useRef)(),u=(0,m.useMemo)(()=>{if(q.current)return q.current.getBoundingClientRect()},[q.current]);(0,m.useEffect)(()=>{if(u){let l=function(s){return pe(this,null,function*(){if(w.current){let o=s.pageX-D;r&&(o=s.changedTouches[0].pageX-D),o<0&&(o=0),o>=U?(w.current=!1,o=U,I=yield d(),L({type:1,payload:{moveX:o,verify:I}}),G(I)):L({type:0,payload:o})}})},E=function(){w.current=!1,I===0&&(oe.current.style.transition="left .5s ease",A.current.style.transition="width .5s ease",L({type:1,payload:{moveX:0}}))},I=0;const{width:h,left:D}=u;let U=h-48;const r=!(0,y.b9)();return r?(window.addEventListener("touchmove",l),window.addEventListener("touchend",E)):(window.addEventListener("mousemove",l),window.addEventListener("mouseup",E)),()=>{r?(window.removeEventListener("touchmove",l),window.removeEventListener("touchend",E)):(window.removeEventListener("mousemove",l),window.removeEventListener("mouseup",E))}}},[u,y.b9]),(0,m.useEffect)(()=>{L({type:1,payload:{verify:N,moveX:N?(u==null?void 0:u.width)-48:0}})},[N]);function S(){ae||(w.current=!0,oe.current.style.transition="",A.current.style.transition="")}return m.createElement("div",{ref:q,className:"unlock-wrapper"},m.createElement("div",{ref:A,className:ae===1?"unlock-error-bg":"unlock-bg",style:{width:Y}}),m.createElement("div",{className:"unlock-text"},ae?ae===1?"\u9A8C\u8BC1\u5931\u8D25":"\u9A8C\u8BC1\u901A\u8FC7":"\u62D6\u52A8\u6ED1\u5757\u81F3\u53F3\u4FA7\u9A8C\u8BC1"),m.createElement("div",{ref:oe,onTouchStart:S,onMouseDown:S,style:{left:Y},className:"unlock-handler"},ae?ae===1?m.createElement(T.Z,null):m.createElement($.Z,null):m.createElement(v.Z,null)))}},22138:function(rt,se,t){t.r(se),t.d(se,{default:function(){return l}});var m=t(59301),T=t(78241),$=t(8591),v=t(92832),y=t(3113),b=t(24905),g=t(30614),R=t(955),Z=t(89070),H={wrap:"wrap___FgHHn",formWrapper:"formWrapper___FFsPt",link:"link___Z6mDj",serviceTerms:"serviceTerms___VjOD1"},re=t(1011),_=t(59301),k=Object.defineProperty,z=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,te=(s,o,a)=>o in s?k(s,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[o]=a,N=(s,o)=>{for(var a in o||(o={}))be.call(o,a)&&te(s,a,o[a]);if(ie)for(var a of ie(o))he.call(o,a)&&te(s,a,o[a]);return s},G=(s,o)=>z(s,pe(o)),d=(s,o,a)=>new Promise((p,P)=>{var Q=J=>{try{F(a.next(J))}catch(ue){P(ue)}},we=J=>{try{F(a.throw(J))}catch(ue){P(ue)}},F=J=>J.done?p(J.value):Promise.resolve(J.value).then(Q,we);F((a=a.apply(s,o)).next())});const f={height:46,borderRadius:4},L=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,Y={timer:0};var ae=(s=>(s[s.setTimer=0]="setTimer",s))(ae||{});function oe(s,o){switch(o.type){case 0:return G(N({},s),{timer:o.payload});default:throw new Error}}const q=({validateName:s,getCode:o,register:a,style:p={},buttonText:P="\u6CE8\u518C",globalSetting:Q})=>{var we,F;const[J]=T.default.useForm(),[ue,ve]=(0,m.useReducer)(oe,Y),[xe,Ie]=(0,m.useState)(!1),{timer:x}=ue,[M,C]=(0,m.useState)(!1);function X(me){return d(this,null,function*(){const{login:ge,password:Se,code:De}=me,{message:Be,status:Te}=yield a({login:ge,password:Se,code:De});if(Te<0){J.setFields([{name:"code",errors:[Be]}]);return}if(localStorage.removeItem("extension-modal"),$.ZP.info("\u6CE8\u518C\u6210\u529F"),localStorage.getItem("addinfo")==="2"){localStorage.setItem("addinfo","2");let et=localStorage.getItem("classromeurl");Z.history.replace(et)}else Z.history.replace("/")})}function ee(){return d(this,null,function*(){let me=J.getFieldValue("login"),ge=0;if(!L.test(me)||me.indexOf(" ")>-1)return J.setFields([{name:"login",errors:["\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"]}]),ge=1,ge;let{status:Se,message:De}=yield s({login:me,type:1});return Se>0?ge=2:(J.setFields([{name:"login",errors:[De]}]),ge=1),ge})}const de=()=>d(void 0,null,function*(){const me=J.getFieldValue("verify"),ge=J.getFieldValue("login");if(!me)J.validateFields(["verify"]);else{Ie(!0);const{status:Se,message:De}=yield o({login:ge,type:1,smscode:(0,R.M)(ge)});Se<0&&J.setFields([{name:"code",errors:[De]}]),ve({type:0,payload:60}),Ie(!1)}});function le(me,ge){if(!ge)return Promise.resolve();if(ge.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C");const Se=ge.length;return Se>=8&&Se<=16?Promise.resolve():Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C")}const ne=(me,ge)=>ge?Promise.resolve():Promise.reject("\u8BF7\u62D6\u52A8\u6ED1\u5757\u9A8C\u8BC1");(0,m.useEffect)(()=>{x>0&&setTimeout(()=>{ve({type:0,payload:x-1})},1e3)},[x]);const Ee=(me,ge)=>ge?ge.indexOf(" ")>-1?Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):L.test(ge)?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Promise.resolve();return _.createElement("div",{className:H.wrap},_.createElement(T.default,{layout:"vertical",form:J,className:H.formWrapper,style:p,initialValues:{autologin:!0,protool:!1},onFinish:X},_.createElement(T.default.Item,{name:"login",label:"\u8D26\u53F7",required:!1,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"},{validator:Ee}]},_.createElement(v.default,{style:f,autoComplete:"new-login",size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7",onChange:()=>J.setFieldsValue({verify:0})})),_.createElement(T.default.Item,{name:"verify",rules:[{validator:ne}]},_.createElement(g.Z,{onValidate:ee})),!((we=Q==null?void 0:Q.setting)!=null&&we.is_local)&&_.createElement(T.default.Item,{label:"\u9A8C\u8BC1\u7801",required:!1,name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},_.createElement(v.default,{suffix:_.createElement(y.ZP,{loading:xe,type:"link",onClick:me=>{if(me.stopPropagation(),!J.getFieldValue("verify")){J.validateFields(["verify"]);return}C(!0)},disabled:x>0}," ",x===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`${x}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`),style:{paddingRight:2,height:48,borderRadius:4},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"})),_.createElement(T.default.Item,{label:"\u5BC6\u7801",name:"password",required:!1,rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"},{validator:le}]},_.createElement(v.default.Password,{autoComplete:"new-password",style:f,size:"middle",placeholder:"\u8F93\u51658\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199",visibilityToggle:!1})),!((F=Q==null?void 0:Q.setting)!=null&&F.is_local)&&_.createElement(T.default.Item,{className:H.serviceTerms},_.createElement(T.default.Item,{noStyle:!0,name:"protool",valuePropName:"checked",rules:[{validator:(me,ge)=>ge?Promise.resolve():Promise.reject("\u8BF7\u540C\u610F\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B")}]},_.createElement(b.default,{style:{marginRight:10}})),_.createElement("span",{style:{color:"#666666",fontSize:14}},"\u6211\u5DF2\u9605\u8BFB\u5E76\u540C\u610F"),_.createElement("a",{className:"font14",href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B")),_.createElement(y.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:f,className:"font16"}," ",P," ")),_.createElement(re.Z,{ModalProps:{open:M,onCancel:()=>{C(!1)}},onFinish:()=>{C(!1),de()}}))};var A=(0,Z.connect)(({globalSetting:s})=>({globalSetting:s}))(q),w=t(11260),u={loginBtn:"loginBtn___QkOCa"},S=Object.defineProperty,E=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,D=(s,o,a)=>o in s?S(s,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[o]=a,U=(s,o)=>{for(var a in o||(o={}))I.call(o,a)&&D(s,a,o[a]);if(E)for(var a of E(o))h.call(o,a)&&D(s,a,o[a]);return s},r=(s,o,a)=>new Promise((p,P)=>{var Q=J=>{try{F(a.next(J))}catch(ue){P(ue)}},we=J=>{try{F(a.throw(J))}catch(ue){P(ue)}},F=J=>J.done?p(J.value):Promise.resolve(J.value).then(Q,we);F((a=a.apply(s,o)).next())}),l=()=>{const s={getCode:w.o1,register:o=>r(void 0,null,function*(){return yield(0,w.z2)(o)}),validateName:w.Ol};return m.createElement("div",null,m.createElement(A,U({},s)),m.createElement(y.ZP,{block:!0,className:u.loginBtn,onClick:()=>Z.history.push("/user/login")},m.createElement("span",{style:{color:"#666666"}},"\u5DF2\u6709\u8D26\u53F7\uFF1F"),m.createElement("span",{style:{color:"#3061D0"}},"\u7ACB\u5373\u767B\u5F55")))}},11260:function(rt,se,t){t.d(se,{Ol:function(){return T},c0:function(){return b},o1:function(){return $},z2:function(){return v}});var m=t(99064);function T(g){return(0,m.U2)("accounts/valid_email_and_phone.json",g)}function $(g){return(0,m.U2)("accounts/get_verification_code.json",g)}function v(g){return(0,m.v_)("accounts/register.json",g)}function y(g){return post("weapps/register.json",g)}function b(g){return(0,m.v_)("accounts/reset_password.json",g)}},36785:function(rt,se,t){t.d(se,{o2:function(){return y},yT:function(){return b}});var m=t(80702),T=t(33166);const $=T.i.map(g=>`${g}-inverse`),v=["success","processing","error","default","warning"];function y(g){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,m.Z)($),(0,m.Z)(T.i)).includes(g):T.i.includes(g)}function b(g){return v.includes(g)}},79676:function(rt,se,t){t.d(se,{Z:function(){return b}});var m=t(19447);function T(g,R,Z,H){if(H===!1)return{adjustX:!1,adjustY:!1};const re=H&&typeof H=="object"?H:{},_={};switch(g){case"top":case"bottom":_.shiftX=R.dropdownArrowOffset*2+Z;break;case"left":case"right":_.shiftY=R.dropdownArrowOffsetVertical*2+Z;break}const k=Object.assign(Object.assign({},_),re);return k.shiftX||(k.adjustX=!0),k.shiftY||(k.adjustY=!0),k}const $={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},v={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},y=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function b(g){const{arrowWidth:R,autoAdjustOverflow:Z,arrowPointAtCenter:H,offset:re,borderRadius:_,visibleFirst:k}=g,z=R/2,pe={};return Object.keys($).forEach(ie=>{const be=H&&v[ie]||$[ie],he=Object.assign(Object.assign({},be),{offset:[0,0]});switch(pe[ie]=he,y.has(ie)&&(he.autoArrow=!1),ie){case"top":case"topLeft":case"topRight":he.offset[1]=-z-re;break;case"bottom":case"bottomLeft":case"bottomRight":he.offset[1]=z+re;break;case"left":case"leftTop":case"leftBottom":he.offset[0]=-z-re;break;case"right":case"rightTop":case"rightBottom":he.offset[0]=z+re;break}const te=(0,m.fS)({contentRadius:_,limitVerticalRadius:!0});if(H)switch(ie){case"topLeft":case"bottomLeft":he.offset[0]=-te.dropdownArrowOffset-z;break;case"topRight":case"bottomRight":he.offset[0]=te.dropdownArrowOffset+z;break;case"leftTop":case"rightTop":he.offset[1]=-te.dropdownArrowOffset-z;break;case"leftBottom":case"rightBottom":he.offset[1]=te.dropdownArrowOffset+z;break}he.overflow=T(ie,te,R,Z),k&&(he.htmlRegion="visibleFirst")}),pe}},19080:function(rt,se,t){t.d(se,{F:function(){return y},Z:function(){return v}});var m=t(92310),T=t.n(m);const $=null;function v(b,g,R){return T()({[`${b}-status-success`]:g==="success",[`${b}-status-warning`]:g==="warning",[`${b}-status-error`]:g==="error",[`${b}-status-validating`]:g==="validating",[`${b}-has-feedback`]:R})}const y=(b,g)=>g||b},24905:function(rt,se,t){t.d(se,{default:function(){return L}});var m=t(92310),T=t.n(m),$=t(5630),v=t(59301),y=t(36355),b=t(1684),g=t(32441),Z=v.createContext(null),H=t(98447),re=t(14088),_=t(4572),k=function(Y,ae){var oe={};for(var q in Y)Object.prototype.hasOwnProperty.call(Y,q)&&ae.indexOf(q)<0&&(oe[q]=Y[q]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,q=Object.getOwnPropertySymbols(Y);A{var oe;const{prefixCls:q,className:A,rootClassName:w,children:u,indeterminate:S=!1,style:E,onMouseEnter:I,onMouseLeave:h,skipGroup:D=!1,disabled:U}=Y,r=k(Y,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:l,direction:s,checkbox:o}=v.useContext(y.E_),a=v.useContext(Z),{isFormItemInput:p}=v.useContext(g.aM),P=v.useContext(b.Z),Q=(oe=(a==null?void 0:a.disabled)||U)!==null&&oe!==void 0?oe:P,we=v.useRef(r.value);v.useEffect(()=>{a==null||a.registerValue(r.value)},[]),v.useEffect(()=>{if(!D)return r.value!==we.current&&(a==null||a.cancelValue(we.current),a==null||a.registerValue(r.value),we.current=r.value),()=>a==null?void 0:a.cancelValue(r.value)},[r.value]);const F=l("checkbox",q),[J,ue]=(0,H.ZP)(F),ve=Object.assign({},r);a&&!D&&(ve.onChange=function(){r.onChange&&r.onChange.apply(r,arguments),a.toggleOption&&a.toggleOption({label:u,value:r.value})},ve.name=a.name,ve.checked=a.value.includes(r.value));const xe=T()(`${F}-wrapper`,{[`${F}-rtl`]:s==="rtl",[`${F}-wrapper-checked`]:ve.checked,[`${F}-wrapper-disabled`]:Q,[`${F}-wrapper-in-form-item`]:p},o==null?void 0:o.className,A,w,ue),Ie=T()({[`${F}-indeterminate`]:S},_.A,ue),x=S?"mixed":void 0;return J(v.createElement(re.Z,{component:"Checkbox",disabled:Q},v.createElement("label",{className:xe,style:Object.assign(Object.assign({},o==null?void 0:o.style),E),onMouseEnter:I,onMouseLeave:h},v.createElement($.Z,Object.assign({"aria-checked":x},ve,{prefixCls:F,className:Ie,disabled:Q,ref:ae})),u!==void 0&&v.createElement("span",null,u))))};var ie=v.forwardRef(z),be=t(80702),he=t(2738),te=function(Y,ae){var oe={};for(var q in Y)Object.prototype.hasOwnProperty.call(Y,q)&&ae.indexOf(q)<0&&(oe[q]=Y[q]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,q=Object.getOwnPropertySymbols(Y);A{const{defaultValue:oe,children:q,options:A=[],prefixCls:w,className:u,rootClassName:S,style:E,onChange:I}=Y,h=te(Y,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:D,direction:U}=v.useContext(y.E_),[r,l]=v.useState(h.value||oe||[]),[s,o]=v.useState([]);v.useEffect(()=>{"value"in h&&l(h.value||[])},[h.value]);const a=v.useMemo(()=>A.map(M=>typeof M=="string"||typeof M=="number"?{label:M,value:M}:M),[A]),p=M=>{o(C=>C.filter(X=>X!==M))},P=M=>{o(C=>[].concat((0,be.Z)(C),[M]))},Q=M=>{const C=r.indexOf(M.value),X=(0,be.Z)(r);C===-1?X.push(M.value):X.splice(C,1),"value"in h||l(X),I==null||I(X.filter(ee=>s.includes(ee)).sort((ee,de)=>{const le=a.findIndex(Ee=>Ee.value===ee),ne=a.findIndex(Ee=>Ee.value===de);return le-ne}))},we=D("checkbox",w),F=`${we}-group`,[J,ue]=(0,H.ZP)(we),ve=(0,he.Z)(h,["value","disabled"]),xe=A.length?a.map(M=>v.createElement(ie,{prefixCls:we,key:M.value.toString(),disabled:"disabled"in M?M.disabled:h.disabled,value:M.value,checked:r.includes(M.value),onChange:M.onChange,className:`${F}-item`,style:M.style,title:M.title},M.label)):q,Ie={toggleOption:Q,value:r,disabled:h.disabled,name:h.name,registerValue:P,cancelValue:p},x=T()(F,{[`${F}-rtl`]:U==="rtl"},u,S,ue);return J(v.createElement("div",Object.assign({className:x,style:E},ve,{ref:ae}),v.createElement(Z.Provider,{value:Ie},xe)))},G=v.forwardRef(N);var d=v.memo(G);const f=ie;f.Group=d,f.__ANT_CHECKBOX=!0;var L=f},98447:function(rt,se,t){t.d(se,{C2:function(){return y}});var m=t(17313),T=t(37613),$=t(83116);const v=b=>{const{checkboxCls:g}=b,R=`${g}-wrapper`;return[{[`${g}-group`]:Object.assign(Object.assign({},(0,m.Wf)(b)),{display:"inline-flex",flexWrap:"wrap",columnGap:b.marginXS,[`> ${b.antCls}-row`]:{flex:1}}),[R]:Object.assign(Object.assign({},(0,m.Wf)(b)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${R}`]:{marginInlineStart:0},[`&${R}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[g]:Object.assign(Object.assign({},(0,m.Wf)(b)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:b.borderRadiusSM,alignSelf:"center",[`${g}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${g}-inner`]:Object.assign({},(0,m.oN)(b))},[`${g}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:b.checkboxSize,height:b.checkboxSize,direction:"ltr",backgroundColor:b.colorBgContainer,border:`${b.lineWidth}px ${b.lineType} ${b.colorBorder}`,borderRadius:b.borderRadiusSM,borderCollapse:"separate",transition:`all ${b.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:b.checkboxSize/14*5,height:b.checkboxSize/14*8,border:`${b.lineWidthBold}px solid ${b.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${b.motionDurationFast} ${b.motionEaseInBack}, opacity ${b.motionDurationFast}`}},"& + span":{paddingInlineStart:b.paddingXS,paddingInlineEnd:b.paddingXS}})},{[` ${R}:not(${R}-disabled), ${g}:not(${g}-disabled) `]:{[`&:hover ${g}-inner`]:{borderColor:b.colorPrimary}},[`${R}:not(${R}-disabled)`]:{[`&:hover ${g}-checked:not(${g}-disabled) ${g}-inner`]:{backgroundColor:b.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${g}-checked:not(${g}-disabled):after`]:{borderColor:b.colorPrimaryHover}}},{[`${g}-checked`]:{[`${g}-inner`]:{backgroundColor:b.colorPrimary,borderColor:b.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${b.motionDurationMid} ${b.motionEaseOutBack} ${b.motionDurationFast}`}}},[` diff --git a/p__User__ResetPassword__index.a4fc885c.async.js b/p__User__ResetPassword__index.35bb175b.async.js similarity index 94% rename from p__User__ResetPassword__index.a4fc885c.async.js rename to p__User__ResetPassword__index.35bb175b.async.js index 304ef25cc7..5e4f4e156b 100644 --- a/p__User__ResetPassword__index.a4fc885c.async.js +++ b/p__User__ResetPassword__index.35bb175b.async.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7182],{40001:function(it,ie,t){t.d(ie,{Z:function(){return z}});var v=t(72308),B=t(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},g=P,p=t(7657),T=function(N,te){return B.createElement(p.Z,(0,v.Z)({},N,{ref:te,icon:g}))},x=B.forwardRef(T),z=x},49198:function(it,ie,t){t.d(ie,{Z:function(){return z}});var v=t(72308),B=t(59301),P={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"},g=P,p=t(7657),T=function(N,te){return B.createElement(p.Z,(0,v.Z)({},N,{ref:te,icon:g}))},x=B.forwardRef(T),z=x},73331:function(it,ie,t){t.d(ie,{Z:function(){return z}});var v=t(72308),B=t(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},g=P,p=t(7657),T=function(N,te){return B.createElement(p.Z,(0,v.Z)({},N,{ref:te,icon:g}))},x=B.forwardRef(T),z=x},15277:function(it,ie,t){t.d(ie,{Z:function(){return z}});var v=t(72308),B=t(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},g=P,p=t(7657),T=function(N,te){return B.createElement(p.Z,(0,v.Z)({},N,{ref:te,icon:g}))},x=B.forwardRef(T),z=x},61485:function(it,ie,t){t.d(ie,{Z:function(){return z}});var v=t(72308),B=t(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},g=P,p=t(7657),T=function(N,te){return B.createElement(p.Z,(0,v.Z)({},N,{ref:te,icon:g}))},x=B.forwardRef(T),z=x},47472:function(it,ie,t){t.d(ie,{Z:function(){return z}});var v=t(72308),B=t(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},g=P,p=t(7657),T=function(N,te){return B.createElement(p.Z,(0,v.Z)({},N,{ref:te,icon:g}))},x=B.forwardRef(T),z=x},35593:function(it,ie,t){t.d(ie,{Z:function(){return Te}});var v=t(77321),B=t(52487),P=t(74416),g=t(43403),p=t(92310),T=t.n(p),x=t(29301),z=t(76846),V=t(96452),N=t(6089),te=t(80402),re=t(34280),Q=t(49658),A=t(59301),de=t(72308),se=t(77900),me=t(8654);function le(b){var F=b.prefixCls,y=b.align,G=b.arrow,_=b.arrowPos,k=G||{},ee=k.className,q=k.content,xe=_.x,Ce=xe===void 0?0:xe,Me=_.y,Pe=Me===void 0?0:Me,De=A.useRef();if(!y||!y.points)return null;var Be={position:"absolute"};if(y.autoArrow!==!1){var ze=y.points[0],Le=y.points[1],tt=ze[0],nt=ze[1],ft=Le[0],Ye=Le[1];tt===ft||!["t","b"].includes(tt)?Be.top=Pe:tt==="t"?Be.top=0:Be.bottom=0,nt===Ye||!["l","r"].includes(nt)?Be.left=Ce:nt==="l"?Be.left=0:Be.right=0}return A.createElement("div",{ref:De,className:T()("".concat(F,"-arrow"),ee),style:Be},q)}function J(b){var F=b.prefixCls,y=b.open,G=b.zIndex,_=b.mask,k=b.motion;return _?A.createElement(se.default,(0,de.Z)({},k,{motionAppear:!0,visible:y,removeOnLeave:!0}),function(ee){var q=ee.className;return A.createElement("div",{style:{zIndex:G},className:T()("".concat(F,"-mask"),q)})}):null}var D=A.memo(function(b){var F=b.children;return F},function(b,F){return F.cache}),K=D,l=A.forwardRef(function(b,F){var y=b.popup,G=b.className,_=b.prefixCls,k=b.style,ee=b.target,q=b.onVisibleChanged,xe=b.open,Ce=b.keepDom,Me=b.fresh,Pe=b.onClick,De=b.mask,Be=b.arrow,ze=b.arrowPos,Le=b.align,tt=b.motion,nt=b.maskMotion,ft=b.forceRender,Ye=b.getPopupContainer,Se=b.autoDestroy,Bt=b.portal,_t=b.zIndex,Tt=b.onMouseEnter,xt=b.onMouseLeave,dr=b.onPointerEnter,Wt=b.ready,kt=b.offsetX,ar=b.offsetY,fr=b.offsetR,yt=b.offsetB,At=b.onAlign,Ct=b.onPrepare,Gt=b.stretch,st=b.targetWidth,qt=b.targetHeight,Et=typeof y=="function"?y():y,ir=xe||Ce,Qe=(Ye==null?void 0:Ye.length)>0,Kr=A.useState(!Ye||!Qe),Xr=(0,B.Z)(Kr,2),Or=Xr[0],er=Xr[1];if((0,re.Z)(function(){!Or&&Qe&&ee&&er(!0)},[Or,Qe,ee]),!Or)return null;var Ie="auto",Ze={left:"-1000vw",top:"-1000vh",right:Ie,bottom:Ie};if(Wt||!xe){var o,j=Le.points,Z=Le.dynamicInset||((o=Le._experimental)===null||o===void 0?void 0:o.dynamicInset),W=Z&&j[0][1]==="r",ae=Z&&j[0][0]==="b";W?(Ze.right=fr,Ze.left=Ie):(Ze.left=kt,Ze.right=Ie),ae?(Ze.bottom=yt,Ze.top=Ie):(Ze.top=ar,Ze.bottom=Ie)}var ce={};return Gt&&(Gt.includes("height")&&qt?ce.height=qt:Gt.includes("minHeight")&&qt&&(ce.minHeight=qt),Gt.includes("width")&&st?ce.width=st:Gt.includes("minWidth")&&st&&(ce.minWidth=st)),xe||(ce.pointerEvents="none"),A.createElement(Bt,{open:ft||ir,getContainer:Ye&&function(){return Ye(ee)},autoDestroy:Se},A.createElement(J,{prefixCls:_,open:xe,zIndex:_t,mask:De,motion:nt}),A.createElement(x.Z,{onResize:At,disabled:!xe},function(Ae){return A.createElement(se.default,(0,de.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ft,leavedClassName:"".concat(_,"-hidden")},tt,{onAppearPrepare:Ct,onEnterPrepare:Ct,visible:xe,onVisibleChanged:function(Ne){var Ve;tt==null||(Ve=tt.onVisibleChanged)===null||Ve===void 0||Ve.call(tt,Ne),q(Ne)}}),function(Je,Ne){var Ve=Je.className,$e=Je.style,et=T()(_,Ve,G);return A.createElement("div",{ref:(0,me.sQ)(Ae,F,Ne),className:et,style:(0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)({"--arrow-x":"".concat(ze.x||0,"px"),"--arrow-y":"".concat(ze.y||0,"px")},Ze),ce),$e),{},{boxSizing:"border-box",zIndex:_t},k),onMouseEnter:Tt,onMouseLeave:xt,onPointerEnter:dr,onClick:Pe},Be&&A.createElement(le,{prefixCls:_,arrow:Be,arrowPos:ze,align:Le}),A.createElement(K,{cache:!xe&&!Me},Et))})}))}),f=l,L=A.forwardRef(function(b,F){var y=b.children,G=b.getTriggerDOMNode,_=(0,me.Yr)(y),k=A.useCallback(function(q){(0,me.mH)(F,G?G(q):q)},[G]),ee=(0,me.x1)(k,y.ref);return _?A.cloneElement(y,{ref:ee}):y}),ne=L,fe=A.createContext(null),ue=fe;function Ee(b){return b?Array.isArray(b)?b:[b]:[]}function H(b,F,y,G){return A.useMemo(function(){var _=Ee(y!=null?y:F),k=Ee(G!=null?G:F),ee=new Set(_),q=new Set(k);return b&&(ee.has("hover")&&(ee.delete("hover"),ee.add("click")),q.has("hover")&&(q.delete("hover"),q.add("click"))),[ee,q]},[b,F,y,G])}var C=t(29194);function s(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],y=arguments.length>2?arguments[2]:void 0;return y?b[0]===F[0]:b[0]===F[0]&&b[1]===F[1]}function E(b,F,y,G){for(var _=y.points,k=Object.keys(b),ee=0;ee1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(b)?F:b}function $(b){return R(parseFloat(b),0)}function r(b,F){var y=(0,v.Z)({},b);return(F||[]).forEach(function(G){if(!(G instanceof HTMLBodyElement||G instanceof HTMLHtmlElement)){var _=I(G).getComputedStyle(G),k=_.overflow,ee=_.overflowClipMargin,q=_.borderTopWidth,xe=_.borderBottomWidth,Ce=_.borderLeftWidth,Me=_.borderRightWidth,Pe=G.getBoundingClientRect(),De=G.offsetHeight,Be=G.clientHeight,ze=G.offsetWidth,Le=G.clientWidth,tt=$(q),nt=$(xe),ft=$(Ce),Ye=$(Me),Se=R(Math.round(Pe.width/ze*1e3)/1e3),Bt=R(Math.round(Pe.height/De*1e3)/1e3),_t=(ze-Le-ft-Ye)*Se,Tt=(De-Be-tt-nt)*Bt,xt=tt*Bt,dr=nt*Bt,Wt=ft*Se,kt=Ye*Se,ar=0,fr=0;if(k==="clip"){var yt=$(ee);ar=yt*Se,fr=yt*Bt}var At=Pe.x+Wt-ar,Ct=Pe.y+xt-fr,Gt=At+Pe.width+2*ar-Wt-kt-_t,st=Ct+Pe.height+2*fr-xt-dr-Tt;y.left=Math.max(y.left,At),y.top=Math.max(y.top,Ct),y.right=Math.min(y.right,Gt),y.bottom=Math.min(y.bottom,st)}}),y}function a(b){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,y="".concat(F),G=y.match(/^(.*)\%$/);return G?b*(parseFloat(G[1])/100):parseFloat(y)}function c(b,F){var y=F||[],G=(0,B.Z)(y,2),_=G[0],k=G[1];return[a(b.width,_),a(b.height,k)]}function u(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[b[0],b[1]]}function d(b,F){var y=F[0],G=F[1],_,k;return y==="t"?k=b.y:y==="b"?k=b.y+b.height:k=b.y+b.height/2,G==="l"?_=b.x:G==="r"?_=b.x+b.width:_=b.x+b.width/2,{x:_,y:k}}function m(b,F){var y={t:"b",b:"t",l:"r",r:"l"};return b.map(function(G,_){return _===F?y[G]||"c":G}).join("")}function S(b,F,y,G,_,k,ee){var q=A.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:_[G]||{}}),xe=(0,B.Z)(q,2),Ce=xe[0],Me=xe[1],Pe=A.useRef(0),De=A.useMemo(function(){return F?h(F):[]},[F]),Be=A.useRef({}),ze=function(){Be.current={}};b||ze();var Le=(0,N.Z)(function(){if(F&&y&&b){let pt=function(Rt,Ot){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:et,cr=Et.x+Rt,vr=Et.y+Ot,mr=cr+o,br=vr+Ze,xr=Math.max(cr,sr.left),Ge=Math.max(vr,sr.top),Jt=Math.min(mr,sr.right),Ar=Math.min(br,sr.bottom);return Math.max(0,(Jt-xr)*(Ar-Ge))},we=function(){wr=Et.y+ke,jr=wr+Ze,lr=Et.x+mt,Ir=lr+o};var ft,Ye,Se=F,Bt=Se.ownerDocument,_t=I(Se),Tt=_t.getComputedStyle(Se),xt=Tt.width,dr=Tt.height,Wt=Tt.position,kt=Se.style.left,ar=Se.style.top,fr=Se.style.right,yt=Se.style.bottom,At=Se.style.overflow,Ct=(0,v.Z)((0,v.Z)({},_[G]),k),Gt=Bt.createElement("div");(ft=Se.parentElement)===null||ft===void 0||ft.appendChild(Gt),Gt.style.left="".concat(Se.offsetLeft,"px"),Gt.style.top="".concat(Se.offsetTop,"px"),Gt.style.position=Wt,Gt.style.height="".concat(Se.offsetHeight,"px"),Gt.style.width="".concat(Se.offsetWidth,"px"),Se.style.left="0",Se.style.top="0",Se.style.right="auto",Se.style.bottom="auto",Se.style.overflow="hidden";var st;if(Array.isArray(y))st={x:y[0],y:y[1],width:0,height:0};else{var qt=y.getBoundingClientRect();st={x:qt.x,y:qt.y,width:qt.width,height:qt.height}}var Et=Se.getBoundingClientRect(),ir=Bt.documentElement,Qe=ir.clientWidth,Kr=ir.clientHeight,Xr=ir.scrollWidth,Or=ir.scrollHeight,er=ir.scrollTop,Ie=ir.scrollLeft,Ze=Et.height,o=Et.width,j=st.height,Z=st.width,W={left:0,top:0,right:Qe,bottom:Kr},ae={left:-Ie,top:-er,right:Xr-Ie,bottom:Or-er},ce=Ct.htmlRegion,Ae="visible",Je="visibleFirst";ce!=="scroll"&&ce!==Je&&(ce=Ae);var Ne=ce===Je,Ve=r(ae,De),$e=r(W,De),et=ce===Ae?$e:Ve,vt=Ne?$e:et;Se.style.left="auto",Se.style.top="auto",Se.style.right="0",Se.style.bottom="0";var Mt=Se.getBoundingClientRect();Se.style.left=kt,Se.style.top=ar,Se.style.right=fr,Se.style.bottom=yt,Se.style.overflow=At,(Ye=Se.parentElement)===null||Ye===void 0||Ye.removeChild(Gt);var zt=R(Math.round(o/parseFloat(xt)*1e3)/1e3),Pt=R(Math.round(Ze/parseFloat(dr)*1e3)/1e3);if(zt===0||Pt===0||(0,z.Sh)(y)&&!(0,C.Z)(y))return;var Ht=Ct.offset,Ke=Ct.targetOffset,We=c(Et,Ht),It=(0,B.Z)(We,2),ot=It[0],Ue=It[1],lt=c(st,Ke),tr=(0,B.Z)(lt,2),Kt=tr[0],Pr=tr[1];st.x-=Kt,st.y-=Pr;var rr=Ct.points||[],Vt=(0,B.Z)(rr,2),nr=Vt[0],Rr=Vt[1],St=u(Rr),Nt=u(nr),hr=d(st,St),zr=d(Et,Nt),or=(0,v.Z)({},Ct),mt=hr.x-zr.x+ot,ke=hr.y-zr.y+Ue,gr=pt(mt,ke),pr=pt(mt,ke,$e),Xt=d(st,["t","l"]),ht=d(Et,["t","l"]),Ut=d(st,["b","r"]),Yt=d(Et,["b","r"]),Dt=Ct.overflow||{},Cr=Dt.adjustX,jt=Dt.adjustY,Fe=Dt.shiftX,yr=Dt.shiftY,ct=function(Ot){return typeof Ot=="boolean"?Ot:Ot>=0},wr,jr,lr,Ir;we();var kr=ct(jt),Br=Nt[0]===St[0];if(kr&&Nt[0]==="t"&&(jr>vt.bottom||Be.current.bt)){var Fr=ke;Br?Fr-=Ze-j:Fr=Xt.y-Yt.y-Ue;var $r=pt(mt,Fr),Vr=pt(mt,Fr,$e);$r>gr||$r===gr&&(!Ne||Vr>=pr)?(Be.current.bt=!0,ke=Fr,Ue=-Ue,or.points=[m(Nt,0),m(St,0)]):Be.current.bt=!1}if(kr&&Nt[0]==="b"&&(wrgr||Ur===gr&&(!Ne||hn>=pr)?(Be.current.tb=!0,ke=Qt,Ue=-Ue,or.points=[m(Nt,0),m(St,0)]):Be.current.tb=!1}var fn=ct(Cr),vn=Nt[1]===St[1];if(fn&&Nt[1]==="l"&&(Ir>vt.right||Be.current.rl)){var Yr=mt;vn?Yr-=o-Z:Yr=Xt.x-Yt.x-ot;var mn=pt(Yr,ke),gn=pt(Yr,ke,$e);mn>gr||mn===gr&&(!Ne||gn>=pr)?(Be.current.rl=!0,mt=Yr,ot=-ot,or.points=[m(Nt,1),m(St,1)]):Be.current.rl=!1}if(fn&&Nt[1]==="r"&&(lrgr||ln===gr&&(!Ne||Jr>=pr)?(Be.current.lr=!0,mt=Qr,ot=-ot,or.points=[m(Nt,1),m(St,1)]):Be.current.lr=!1}we();var _r=Fe===!0?0:Fe;typeof _r=="number"&&(lr<$e.left&&(mt-=lr-$e.left-ot,st.x+Z<$e.left+_r&&(mt+=st.x-$e.left+Z-_r)),Ir>$e.right&&(mt-=Ir-$e.right-ot,st.x>$e.right-_r&&(mt+=st.x-$e.right+_r)));var qr=yr===!0?0:yr;typeof qr=="number"&&(wr<$e.top&&(ke-=wr-$e.top-Ue,st.y+j<$e.top+qr&&(ke+=st.y-$e.top+j-qr)),jr>$e.bottom&&(ke-=jr-$e.bottom-Ue,st.y>$e.bottom-qr&&(ke+=st.y-$e.bottom+qr)));var e=Et.x+mt,n=e+o,i=Et.y+ke,O=i+Ze,M=st.x,X=M+Z,ye=st.y,oe=ye+j,_e=Math.max(e,M),ut=Math.min(n,X),gt=(_e+ut)/2,Lt=gt-e,rt=Math.max(i,ye),Ft=Math.min(O,oe),dt=(rt+Ft)/2,at=dt-i;ee==null||ee(F,or);var Zt=Mt.right-Et.x-(mt+Et.width),wt=Mt.bottom-Et.y-(ke+Et.height);Me({ready:!0,offsetX:mt/zt,offsetY:ke/Pt,offsetR:Zt/zt,offsetB:wt/Pt,arrowX:Lt/zt,arrowY:at/Pt,scaleX:zt,scaleY:Pt,align:or})}}),tt=function(){Pe.current+=1;var Ye=Pe.current;Promise.resolve().then(function(){Pe.current===Ye&&Le()})},nt=function(){Me(function(Ye){return(0,v.Z)((0,v.Z)({},Ye),{},{ready:!1})})};return(0,re.Z)(nt,[G]),(0,re.Z)(function(){b||nt()},[b]),[Ce.ready,Ce.offsetX,Ce.offsetY,Ce.offsetR,Ce.offsetB,Ce.arrowX,Ce.arrowY,Ce.scaleX,Ce.scaleY,Ce.align,tt]}var Y=t(80702);function Re(b,F,y,G,_){(0,re.Z)(function(){if(b&&F&&y){let Pe=function(){G(),_()};var k=F,ee=y,q=h(k),xe=h(ee),Ce=I(ee),Me=new Set([Ce].concat((0,Y.Z)(q),(0,Y.Z)(xe)));return Me.forEach(function(De){De.addEventListener("scroll",Pe,{passive:!0})}),Ce.addEventListener("resize",Pe,{passive:!0}),G(),function(){Me.forEach(function(De){De.removeEventListener("scroll",Pe),Ce.removeEventListener("resize",Pe)})}}},[b,F,y])}var U=t(48736),ge=t(16089);function pe(b,F,y,G,_,k,ee,q){var xe=A.useRef(b),Ce=A.useRef(!1);xe.current!==b&&(Ce.current=!0,xe.current=b),A.useEffect(function(){var Me=(0,ge.Z)(function(){Ce.current=!1});return function(){ge.Z.cancel(Me)}},[b]),A.useEffect(function(){if(F&&G&&(!_||k)){var Me=function(){var Wt=!1,kt=function(yt){var At=yt.target;Wt=ee(At)},ar=function(yt){var At=yt.target;!Ce.current&&xe.current&&!Wt&&!ee(At)&&q(!1)};return[kt,ar]},Pe=Me(),De=(0,B.Z)(Pe,2),Be=De[0],ze=De[1],Le=Me(),tt=(0,B.Z)(Le,2),nt=tt[0],ft=tt[1],Ye=I(G);Ye.addEventListener("mousedown",Be,!0),Ye.addEventListener("click",ze,!0),Ye.addEventListener("contextmenu",ze,!0);var Se=(0,V.A)(y);if(Se&&(Se.addEventListener("mousedown",nt,!0),Se.addEventListener("click",ft,!0),Se.addEventListener("contextmenu",ft,!0)),0)var Bt,_t,Tt,xt;return function(){Ye.removeEventListener("mousedown",Be,!0),Ye.removeEventListener("click",ze,!0),Ye.removeEventListener("contextmenu",ze,!0),Se&&(Se.removeEventListener("mousedown",nt,!0),Se.removeEventListener("click",ft,!0),Se.removeEventListener("contextmenu",ft,!0))}}},[F,y,G,_,k])}var he=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function be(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g.Z,F=A.forwardRef(function(y,G){var _=y.prefixCls,k=_===void 0?"rc-trigger-popup":_,ee=y.children,q=y.action,xe=q===void 0?"hover":q,Ce=y.showAction,Me=y.hideAction,Pe=y.popupVisible,De=y.defaultPopupVisible,Be=y.onPopupVisibleChange,ze=y.afterPopupVisibleChange,Le=y.mouseEnterDelay,tt=y.mouseLeaveDelay,nt=tt===void 0?.1:tt,ft=y.focusDelay,Ye=y.blurDelay,Se=y.mask,Bt=y.maskClosable,_t=Bt===void 0?!0:Bt,Tt=y.getPopupContainer,xt=y.forceRender,dr=y.autoDestroy,Wt=y.destroyPopupOnHide,kt=y.popup,ar=y.popupClassName,fr=y.popupStyle,yt=y.popupPlacement,At=y.builtinPlacements,Ct=At===void 0?{}:At,Gt=y.popupAlign,st=y.zIndex,qt=y.stretch,Et=y.getPopupClassNameFromAlign,ir=y.fresh,Qe=y.alignPoint,Kr=y.onPopupClick,Xr=y.onPopupAlign,Or=y.arrow,er=y.popupMotion,Ie=y.maskMotion,Ze=y.popupTransitionName,o=y.popupAnimation,j=y.maskTransitionName,Z=y.maskAnimation,W=y.className,ae=y.getTriggerDOMNode,ce=(0,P.Z)(y,he),Ae=dr||Wt||!1,Je=A.useState(!1),Ne=(0,B.Z)(Je,2),Ve=Ne[0],$e=Ne[1];(0,re.Z)(function(){$e((0,Q.Z)())},[]);var et=A.useRef({}),vt=A.useContext(ue),Mt=A.useMemo(function(){return{registerSubPopup:function(je,Xe){et.current[je]=Xe,vt==null||vt.registerSubPopup(je,Xe)}}},[vt]),zt=(0,te.Z)(),Pt=A.useState(null),Ht=(0,B.Z)(Pt,2),Ke=Ht[0],We=Ht[1],It=(0,N.Z)(function(ve){(0,z.Sh)(ve)&&Ke!==ve&&We(ve),vt==null||vt.registerSubPopup(zt,ve)}),ot=A.useState(null),Ue=(0,B.Z)(ot,2),lt=Ue[0],tr=Ue[1],Kt=A.useRef(null),Pr=(0,N.Z)(function(ve){(0,z.Sh)(ve)&<!==ve&&(tr(ve),Kt.current=ve)}),rr=A.Children.only(ee),Vt=(rr==null?void 0:rr.props)||{},nr={},Rr=(0,N.Z)(function(ve){var je,Xe,bt=lt;return(bt==null?void 0:bt.contains(ve))||((je=(0,V.A)(bt))===null||je===void 0?void 0:je.host)===ve||ve===bt||(Ke==null?void 0:Ke.contains(ve))||((Xe=(0,V.A)(Ke))===null||Xe===void 0?void 0:Xe.host)===ve||ve===Ke||Object.values(et.current).some(function(He){return(He==null?void 0:He.contains(ve))||ve===He})}),St=w(k,er,o,Ze),Nt=w(k,Ie,Z,j),hr=A.useState(De||!1),zr=(0,B.Z)(hr,2),or=zr[0],mt=zr[1],ke=Pe!=null?Pe:or,gr=(0,N.Z)(function(ve){Pe===void 0&&mt(ve)});(0,re.Z)(function(){mt(Pe||!1)},[Pe]);var pr=A.useRef(ke);pr.current=ke;var Xt=A.useRef([]);Xt.current=[];var ht=(0,N.Z)(function(ve){var je;gr(ve),((je=Xt.current[Xt.current.length-1])!==null&&je!==void 0?je:ke)!==ve&&(Xt.current.push(ve),Be==null||Be(ve))}),Ut=A.useRef(),Yt=function(){clearTimeout(Ut.current)},Dt=function(je){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Yt(),Xe===0?ht(je):Ut.current=setTimeout(function(){ht(je)},Xe*1e3)};A.useEffect(function(){return Yt},[]);var Cr=A.useState(!1),jt=(0,B.Z)(Cr,2),Fe=jt[0],yr=jt[1];(0,re.Z)(function(ve){(!ve||ke)&&yr(!0)},[ke]);var ct=A.useState(null),wr=(0,B.Z)(ct,2),jr=wr[0],lr=wr[1],Ir=A.useState([0,0]),kr=(0,B.Z)(Ir,2),Br=kr[0],Fr=kr[1],$r=function(je){Fr([je.clientX,je.clientY])},Vr=S(ke,Ke,Qe?Br:lt,yt,Ct,Gt,Xr),Qt=(0,B.Z)(Vr,11),Ur=Qt[0],hn=Qt[1],fn=Qt[2],vn=Qt[3],Yr=Qt[4],mn=Qt[5],gn=Qt[6],Qr=Qt[7],ln=Qt[8],Jr=Qt[9],_r=Qt[10],qr=H(Ve,xe,Ce,Me),e=(0,B.Z)(qr,2),n=e[0],i=e[1],O=n.has("click"),M=i.has("click")||i.has("contextMenu"),X=(0,N.Z)(function(){Fe||_r()}),ye=function(){pr.current&&Qe&&M&&Dt(!1)};Re(ke,lt,Ke,X,ye),(0,re.Z)(function(){X()},[Br,yt]),(0,re.Z)(function(){ke&&!(Ct!=null&&Ct[yt])&&X()},[JSON.stringify(Gt)]);var oe=A.useMemo(function(){var ve=E(Ct,k,Jr,Qe);return T()(ve,Et==null?void 0:Et(Jr))},[Jr,Et,Ct,k,Qe]);A.useImperativeHandle(G,function(){return{nativeElement:Kt.current,forceAlign:X}});var _e=A.useState(0),ut=(0,B.Z)(_e,2),gt=ut[0],Lt=ut[1],rt=A.useState(0),Ft=(0,B.Z)(rt,2),dt=Ft[0],at=Ft[1],Zt=function(){if(qt&<){var je=lt.getBoundingClientRect();Lt(je.width),at(je.height)}},wt=function(){Zt(),X()},pt=function(je){yr(!1),_r(),ze==null||ze(je)},we=function(){return new Promise(function(je){Zt(),lr(function(){return je})})};(0,re.Z)(function(){jr&&(_r(),jr(),lr(null))},[jr]);function Rt(ve,je,Xe,bt){nr[ve]=function(He){var en;bt==null||bt(He),Dt(je,Xe);for(var Nr=arguments.length,tn=new Array(Nr>1?Nr-1:0),Tr=1;Tr1?Xe-1:0),He=1;He1?Xe-1:0),He=1;He0,Kr=A.useState(!Ye||!Qe),Xr=(0,B.Z)(Kr,2),Or=Xr[0],er=Xr[1];if((0,re.Z)(function(){!Or&&Qe&&ee&&er(!0)},[Or,Qe,ee]),!Or)return null;var Ie="auto",Ze={left:"-1000vw",top:"-1000vh",right:Ie,bottom:Ie};if(Wt||!xe){var o,j=Le.points,Z=Le.dynamicInset||((o=Le._experimental)===null||o===void 0?void 0:o.dynamicInset),W=Z&&j[0][1]==="r",ae=Z&&j[0][0]==="b";W?(Ze.right=fr,Ze.left=Ie):(Ze.left=kt,Ze.right=Ie),ae?(Ze.bottom=yt,Ze.top=Ie):(Ze.top=ar,Ze.bottom=Ie)}var ce={};return Gt&&(Gt.includes("height")&&qt?ce.height=qt:Gt.includes("minHeight")&&qt&&(ce.minHeight=qt),Gt.includes("width")&&st?ce.width=st:Gt.includes("minWidth")&&st&&(ce.minWidth=st)),xe||(ce.pointerEvents="none"),A.createElement(Bt,{open:ft||ir,getContainer:Ye&&function(){return Ye(ee)},autoDestroy:Se},A.createElement(J,{prefixCls:_,open:xe,zIndex:_t,mask:De,motion:nt}),A.createElement(x.Z,{onResize:At,disabled:!xe},function(Ae){return A.createElement(se.default,(0,de.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ft,leavedClassName:"".concat(_,"-hidden")},tt,{onAppearPrepare:Ct,onEnterPrepare:Ct,visible:xe,onVisibleChanged:function(Ne){var Ve;tt==null||(Ve=tt.onVisibleChanged)===null||Ve===void 0||Ve.call(tt,Ne),q(Ne)}}),function(Je,Ne){var Ve=Je.className,$e=Je.style,et=T()(_,Ve,G);return A.createElement("div",{ref:(0,me.sQ)(Ae,F,Ne),className:et,style:(0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)({"--arrow-x":"".concat(ze.x||0,"px"),"--arrow-y":"".concat(ze.y||0,"px")},Ze),ce),$e),{},{boxSizing:"border-box",zIndex:_t},k),onMouseEnter:Tt,onMouseLeave:xt,onPointerEnter:dr,onClick:Pe},Be&&A.createElement(le,{prefixCls:_,arrow:Be,arrowPos:ze,align:Le}),A.createElement(K,{cache:!xe&&!Me},Et))})}))}),f=l,L=A.forwardRef(function(b,F){var y=b.children,G=b.getTriggerDOMNode,_=(0,me.Yr)(y),k=A.useCallback(function(q){(0,me.mH)(F,G?G(q):q)},[G]),ee=(0,me.x1)(k,y.ref);return _?A.cloneElement(y,{ref:ee}):y}),ne=L,fe=A.createContext(null),ue=fe;function Ee(b){return b?Array.isArray(b)?b:[b]:[]}function H(b,F,y,G){return A.useMemo(function(){var _=Ee(y!=null?y:F),k=Ee(G!=null?G:F),ee=new Set(_),q=new Set(k);return b&&(ee.has("hover")&&(ee.delete("hover"),ee.add("click")),q.has("hover")&&(q.delete("hover"),q.add("click"))),[ee,q]},[b,F,y,G])}var C=t(29194);function s(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],y=arguments.length>2?arguments[2]:void 0;return y?b[0]===F[0]:b[0]===F[0]&&b[1]===F[1]}function E(b,F,y,G){for(var _=y.points,k=Object.keys(b),ee=0;ee1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(b)?F:b}function $(b){return R(parseFloat(b),0)}function r(b,F){var y=(0,v.Z)({},b);return(F||[]).forEach(function(G){if(!(G instanceof HTMLBodyElement||G instanceof HTMLHtmlElement)){var _=I(G).getComputedStyle(G),k=_.overflow,ee=_.overflowClipMargin,q=_.borderTopWidth,xe=_.borderBottomWidth,Ce=_.borderLeftWidth,Me=_.borderRightWidth,Pe=G.getBoundingClientRect(),De=G.offsetHeight,Be=G.clientHeight,ze=G.offsetWidth,Le=G.clientWidth,tt=$(q),nt=$(xe),ft=$(Ce),Ye=$(Me),Se=R(Math.round(Pe.width/ze*1e3)/1e3),Bt=R(Math.round(Pe.height/De*1e3)/1e3),_t=(ze-Le-ft-Ye)*Se,Tt=(De-Be-tt-nt)*Bt,xt=tt*Bt,dr=nt*Bt,Wt=ft*Se,kt=Ye*Se,ar=0,fr=0;if(k==="clip"){var yt=$(ee);ar=yt*Se,fr=yt*Bt}var At=Pe.x+Wt-ar,Ct=Pe.y+xt-fr,Gt=At+Pe.width+2*ar-Wt-kt-_t,st=Ct+Pe.height+2*fr-xt-dr-Tt;y.left=Math.max(y.left,At),y.top=Math.max(y.top,Ct),y.right=Math.min(y.right,Gt),y.bottom=Math.min(y.bottom,st)}}),y}function a(b){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,y="".concat(F),G=y.match(/^(.*)\%$/);return G?b*(parseFloat(G[1])/100):parseFloat(y)}function c(b,F){var y=F||[],G=(0,B.Z)(y,2),_=G[0],k=G[1];return[a(b.width,_),a(b.height,k)]}function u(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[b[0],b[1]]}function d(b,F){var y=F[0],G=F[1],_,k;return y==="t"?k=b.y:y==="b"?k=b.y+b.height:k=b.y+b.height/2,G==="l"?_=b.x:G==="r"?_=b.x+b.width:_=b.x+b.width/2,{x:_,y:k}}function m(b,F){var y={t:"b",b:"t",l:"r",r:"l"};return b.map(function(G,_){return _===F?y[G]||"c":G}).join("")}function S(b,F,y,G,_,k,ee){var q=A.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:_[G]||{}}),xe=(0,B.Z)(q,2),Ce=xe[0],Me=xe[1],Pe=A.useRef(0),De=A.useMemo(function(){return F?h(F):[]},[F]),Be=A.useRef({}),ze=function(){Be.current={}};b||ze();var Le=(0,N.Z)(function(){if(F&&y&&b){let pt=function(Rt,Ot){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:et,cr=Et.x+Rt,vr=Et.y+Ot,mr=cr+o,br=vr+Ze,xr=Math.max(cr,sr.left),Ge=Math.max(vr,sr.top),Jt=Math.min(mr,sr.right),Ar=Math.min(br,sr.bottom);return Math.max(0,(Jt-xr)*(Ar-Ge))},we=function(){wr=Et.y+ke,jr=wr+Ze,lr=Et.x+mt,Ir=lr+o};var ft,Ye,Se=F,Bt=Se.ownerDocument,_t=I(Se),Tt=_t.getComputedStyle(Se),xt=Tt.width,dr=Tt.height,Wt=Tt.position,kt=Se.style.left,ar=Se.style.top,fr=Se.style.right,yt=Se.style.bottom,At=Se.style.overflow,Ct=(0,v.Z)((0,v.Z)({},_[G]),k),Gt=Bt.createElement("div");(ft=Se.parentElement)===null||ft===void 0||ft.appendChild(Gt),Gt.style.left="".concat(Se.offsetLeft,"px"),Gt.style.top="".concat(Se.offsetTop,"px"),Gt.style.position=Wt,Gt.style.height="".concat(Se.offsetHeight,"px"),Gt.style.width="".concat(Se.offsetWidth,"px"),Se.style.left="0",Se.style.top="0",Se.style.right="auto",Se.style.bottom="auto",Se.style.overflow="hidden";var st;if(Array.isArray(y))st={x:y[0],y:y[1],width:0,height:0};else{var qt=y.getBoundingClientRect();st={x:qt.x,y:qt.y,width:qt.width,height:qt.height}}var Et=Se.getBoundingClientRect(),ir=Bt.documentElement,Qe=ir.clientWidth,Kr=ir.clientHeight,Xr=ir.scrollWidth,Or=ir.scrollHeight,er=ir.scrollTop,Ie=ir.scrollLeft,Ze=Et.height,o=Et.width,j=st.height,Z=st.width,W={left:0,top:0,right:Qe,bottom:Kr},ae={left:-Ie,top:-er,right:Xr-Ie,bottom:Or-er},ce=Ct.htmlRegion,Ae="visible",Je="visibleFirst";ce!=="scroll"&&ce!==Je&&(ce=Ae);var Ne=ce===Je,Ve=r(ae,De),$e=r(W,De),et=ce===Ae?$e:Ve,vt=Ne?$e:et;Se.style.left="auto",Se.style.top="auto",Se.style.right="0",Se.style.bottom="0";var Mt=Se.getBoundingClientRect();Se.style.left=kt,Se.style.top=ar,Se.style.right=fr,Se.style.bottom=yt,Se.style.overflow=At,(Ye=Se.parentElement)===null||Ye===void 0||Ye.removeChild(Gt);var zt=R(Math.round(o/parseFloat(xt)*1e3)/1e3),Pt=R(Math.round(Ze/parseFloat(dr)*1e3)/1e3);if(zt===0||Pt===0||(0,z.Sh)(y)&&!(0,C.Z)(y))return;var Ht=Ct.offset,Ke=Ct.targetOffset,We=c(Et,Ht),It=(0,B.Z)(We,2),ot=It[0],Ue=It[1],lt=c(st,Ke),tr=(0,B.Z)(lt,2),Kt=tr[0],Pr=tr[1];st.x-=Kt,st.y-=Pr;var rr=Ct.points||[],Vt=(0,B.Z)(rr,2),nr=Vt[0],Rr=Vt[1],St=u(Rr),Nt=u(nr),hr=d(st,St),zr=d(Et,Nt),or=(0,v.Z)({},Ct),mt=hr.x-zr.x+ot,ke=hr.y-zr.y+Ue,gr=pt(mt,ke),pr=pt(mt,ke,$e),Xt=d(st,["t","l"]),ht=d(Et,["t","l"]),Ut=d(st,["b","r"]),Yt=d(Et,["b","r"]),Dt=Ct.overflow||{},Cr=Dt.adjustX,jt=Dt.adjustY,Fe=Dt.shiftX,yr=Dt.shiftY,ct=function(Ot){return typeof Ot=="boolean"?Ot:Ot>=0},wr,jr,lr,Ir;we();var kr=ct(jt),Br=Nt[0]===St[0];if(kr&&Nt[0]==="t"&&(jr>vt.bottom||Be.current.bt)){var Fr=ke;Br?Fr-=Ze-j:Fr=Xt.y-Yt.y-Ue;var $r=pt(mt,Fr),Vr=pt(mt,Fr,$e);$r>gr||$r===gr&&(!Ne||Vr>=pr)?(Be.current.bt=!0,ke=Fr,Ue=-Ue,or.points=[m(Nt,0),m(St,0)]):Be.current.bt=!1}if(kr&&Nt[0]==="b"&&(wrgr||Ur===gr&&(!Ne||hn>=pr)?(Be.current.tb=!0,ke=Qt,Ue=-Ue,or.points=[m(Nt,0),m(St,0)]):Be.current.tb=!1}var fn=ct(Cr),vn=Nt[1]===St[1];if(fn&&Nt[1]==="l"&&(Ir>vt.right||Be.current.rl)){var Yr=mt;vn?Yr-=o-Z:Yr=Xt.x-Yt.x-ot;var mn=pt(Yr,ke),gn=pt(Yr,ke,$e);mn>gr||mn===gr&&(!Ne||gn>=pr)?(Be.current.rl=!0,mt=Yr,ot=-ot,or.points=[m(Nt,1),m(St,1)]):Be.current.rl=!1}if(fn&&Nt[1]==="r"&&(lrgr||ln===gr&&(!Ne||Jr>=pr)?(Be.current.lr=!0,mt=Qr,ot=-ot,or.points=[m(Nt,1),m(St,1)]):Be.current.lr=!1}we();var _r=Fe===!0?0:Fe;typeof _r=="number"&&(lr<$e.left&&(mt-=lr-$e.left-ot,st.x+Z<$e.left+_r&&(mt+=st.x-$e.left+Z-_r)),Ir>$e.right&&(mt-=Ir-$e.right-ot,st.x>$e.right-_r&&(mt+=st.x-$e.right+_r)));var qr=yr===!0?0:yr;typeof qr=="number"&&(wr<$e.top&&(ke-=wr-$e.top-Ue,st.y+j<$e.top+qr&&(ke+=st.y-$e.top+j-qr)),jr>$e.bottom&&(ke-=jr-$e.bottom-Ue,st.y>$e.bottom-qr&&(ke+=st.y-$e.bottom+qr)));var e=Et.x+mt,n=e+o,i=Et.y+ke,O=i+Ze,M=st.x,X=M+Z,ye=st.y,oe=ye+j,_e=Math.max(e,M),ut=Math.min(n,X),gt=(_e+ut)/2,Lt=gt-e,rt=Math.max(i,ye),Ft=Math.min(O,oe),dt=(rt+Ft)/2,at=dt-i;ee==null||ee(F,or);var Zt=Mt.right-Et.x-(mt+Et.width),wt=Mt.bottom-Et.y-(ke+Et.height);Me({ready:!0,offsetX:mt/zt,offsetY:ke/Pt,offsetR:Zt/zt,offsetB:wt/Pt,arrowX:Lt/zt,arrowY:at/Pt,scaleX:zt,scaleY:Pt,align:or})}}),tt=function(){Pe.current+=1;var Ye=Pe.current;Promise.resolve().then(function(){Pe.current===Ye&&Le()})},nt=function(){Me(function(Ye){return(0,v.Z)((0,v.Z)({},Ye),{},{ready:!1})})};return(0,re.Z)(nt,[G]),(0,re.Z)(function(){b||nt()},[b]),[Ce.ready,Ce.offsetX,Ce.offsetY,Ce.offsetR,Ce.offsetB,Ce.arrowX,Ce.arrowY,Ce.scaleX,Ce.scaleY,Ce.align,tt]}var Y=t(80702);function Re(b,F,y,G,_){(0,re.Z)(function(){if(b&&F&&y){let Pe=function(){G(),_()};var k=F,ee=y,q=h(k),xe=h(ee),Ce=I(ee),Me=new Set([Ce].concat((0,Y.Z)(q),(0,Y.Z)(xe)));return Me.forEach(function(De){De.addEventListener("scroll",Pe,{passive:!0})}),Ce.addEventListener("resize",Pe,{passive:!0}),G(),function(){Me.forEach(function(De){De.removeEventListener("scroll",Pe),Ce.removeEventListener("resize",Pe)})}}},[b,F,y])}var U=t(48736),ge=t(16089);function pe(b,F,y,G,_,k,ee,q){var xe=A.useRef(b),Ce=A.useRef(!1);xe.current!==b&&(Ce.current=!0,xe.current=b),A.useEffect(function(){var Me=(0,ge.Z)(function(){Ce.current=!1});return function(){ge.Z.cancel(Me)}},[b]),A.useEffect(function(){if(F&&G&&(!_||k)){var Me=function(){var Wt=!1,kt=function(yt){var At=yt.target;Wt=ee(At)},ar=function(yt){var At=yt.target;!Ce.current&&xe.current&&!Wt&&!ee(At)&&q(!1)};return[kt,ar]},Pe=Me(),De=(0,B.Z)(Pe,2),Be=De[0],ze=De[1],Le=Me(),tt=(0,B.Z)(Le,2),nt=tt[0],ft=tt[1],Ye=I(G);Ye.addEventListener("mousedown",Be,!0),Ye.addEventListener("click",ze,!0),Ye.addEventListener("contextmenu",ze,!0);var Se=(0,V.A)(y);if(Se&&(Se.addEventListener("mousedown",nt,!0),Se.addEventListener("click",ft,!0),Se.addEventListener("contextmenu",ft,!0)),0)var Bt,_t,Tt,xt;return function(){Ye.removeEventListener("mousedown",Be,!0),Ye.removeEventListener("click",ze,!0),Ye.removeEventListener("contextmenu",ze,!0),Se&&(Se.removeEventListener("mousedown",nt,!0),Se.removeEventListener("click",ft,!0),Se.removeEventListener("contextmenu",ft,!0))}}},[F,y,G,_,k])}var he=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function be(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g.Z,F=A.forwardRef(function(y,G){var _=y.prefixCls,k=_===void 0?"rc-trigger-popup":_,ee=y.children,q=y.action,xe=q===void 0?"hover":q,Ce=y.showAction,Me=y.hideAction,Pe=y.popupVisible,De=y.defaultPopupVisible,Be=y.onPopupVisibleChange,ze=y.afterPopupVisibleChange,Le=y.mouseEnterDelay,tt=y.mouseLeaveDelay,nt=tt===void 0?.1:tt,ft=y.focusDelay,Ye=y.blurDelay,Se=y.mask,Bt=y.maskClosable,_t=Bt===void 0?!0:Bt,Tt=y.getPopupContainer,xt=y.forceRender,dr=y.autoDestroy,Wt=y.destroyPopupOnHide,kt=y.popup,ar=y.popupClassName,fr=y.popupStyle,yt=y.popupPlacement,At=y.builtinPlacements,Ct=At===void 0?{}:At,Gt=y.popupAlign,st=y.zIndex,qt=y.stretch,Et=y.getPopupClassNameFromAlign,ir=y.fresh,Qe=y.alignPoint,Kr=y.onPopupClick,Xr=y.onPopupAlign,Or=y.arrow,er=y.popupMotion,Ie=y.maskMotion,Ze=y.popupTransitionName,o=y.popupAnimation,j=y.maskTransitionName,Z=y.maskAnimation,W=y.className,ae=y.getTriggerDOMNode,ce=(0,P.Z)(y,he),Ae=dr||Wt||!1,Je=A.useState(!1),Ne=(0,B.Z)(Je,2),Ve=Ne[0],$e=Ne[1];(0,re.Z)(function(){$e((0,Q.Z)())},[]);var et=A.useRef({}),vt=A.useContext(ue),Mt=A.useMemo(function(){return{registerSubPopup:function(je,Xe){et.current[je]=Xe,vt==null||vt.registerSubPopup(je,Xe)}}},[vt]),zt=(0,te.Z)(),Pt=A.useState(null),Ht=(0,B.Z)(Pt,2),Ke=Ht[0],We=Ht[1],It=(0,N.Z)(function(ve){(0,z.Sh)(ve)&&Ke!==ve&&We(ve),vt==null||vt.registerSubPopup(zt,ve)}),ot=A.useState(null),Ue=(0,B.Z)(ot,2),lt=Ue[0],tr=Ue[1],Kt=A.useRef(null),Pr=(0,N.Z)(function(ve){(0,z.Sh)(ve)&<!==ve&&(tr(ve),Kt.current=ve)}),rr=A.Children.only(ee),Vt=(rr==null?void 0:rr.props)||{},nr={},Rr=(0,N.Z)(function(ve){var je,Xe,bt=lt;return(bt==null?void 0:bt.contains(ve))||((je=(0,V.A)(bt))===null||je===void 0?void 0:je.host)===ve||ve===bt||(Ke==null?void 0:Ke.contains(ve))||((Xe=(0,V.A)(Ke))===null||Xe===void 0?void 0:Xe.host)===ve||ve===Ke||Object.values(et.current).some(function(He){return(He==null?void 0:He.contains(ve))||ve===He})}),St=w(k,er,o,Ze),Nt=w(k,Ie,Z,j),hr=A.useState(De||!1),zr=(0,B.Z)(hr,2),or=zr[0],mt=zr[1],ke=Pe!=null?Pe:or,gr=(0,N.Z)(function(ve){Pe===void 0&&mt(ve)});(0,re.Z)(function(){mt(Pe||!1)},[Pe]);var pr=A.useRef(ke);pr.current=ke;var Xt=A.useRef([]);Xt.current=[];var ht=(0,N.Z)(function(ve){var je;gr(ve),((je=Xt.current[Xt.current.length-1])!==null&&je!==void 0?je:ke)!==ve&&(Xt.current.push(ve),Be==null||Be(ve))}),Ut=A.useRef(),Yt=function(){clearTimeout(Ut.current)},Dt=function(je){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Yt(),Xe===0?ht(je):Ut.current=setTimeout(function(){ht(je)},Xe*1e3)};A.useEffect(function(){return Yt},[]);var Cr=A.useState(!1),jt=(0,B.Z)(Cr,2),Fe=jt[0],yr=jt[1];(0,re.Z)(function(ve){(!ve||ke)&&yr(!0)},[ke]);var ct=A.useState(null),wr=(0,B.Z)(ct,2),jr=wr[0],lr=wr[1],Ir=A.useState([0,0]),kr=(0,B.Z)(Ir,2),Br=kr[0],Fr=kr[1],$r=function(je){Fr([je.clientX,je.clientY])},Vr=S(ke,Ke,Qe?Br:lt,yt,Ct,Gt,Xr),Qt=(0,B.Z)(Vr,11),Ur=Qt[0],hn=Qt[1],fn=Qt[2],vn=Qt[3],Yr=Qt[4],mn=Qt[5],gn=Qt[6],Qr=Qt[7],ln=Qt[8],Jr=Qt[9],_r=Qt[10],qr=H(Ve,xe,Ce,Me),e=(0,B.Z)(qr,2),n=e[0],i=e[1],O=n.has("click"),M=i.has("click")||i.has("contextMenu"),X=(0,N.Z)(function(){Fe||_r()}),ye=function(){pr.current&&Qe&&M&&Dt(!1)};Re(ke,lt,Ke,X,ye),(0,re.Z)(function(){X()},[Br,yt]),(0,re.Z)(function(){ke&&!(Ct!=null&&Ct[yt])&&X()},[JSON.stringify(Gt)]);var oe=A.useMemo(function(){var ve=E(Ct,k,Jr,Qe);return T()(ve,Et==null?void 0:Et(Jr))},[Jr,Et,Ct,k,Qe]);A.useImperativeHandle(G,function(){return{nativeElement:Kt.current,forceAlign:X}});var _e=A.useState(0),ut=(0,B.Z)(_e,2),gt=ut[0],Lt=ut[1],rt=A.useState(0),Ft=(0,B.Z)(rt,2),dt=Ft[0],at=Ft[1],Zt=function(){if(qt&<){var je=lt.getBoundingClientRect();Lt(je.width),at(je.height)}},wt=function(){Zt(),X()},pt=function(je){yr(!1),_r(),ze==null||ze(je)},we=function(){return new Promise(function(je){Zt(),lr(function(){return je})})};(0,re.Z)(function(){jr&&(_r(),jr(),lr(null))},[jr]);function Rt(ve,je,Xe,bt){nr[ve]=function(He){var en;bt==null||bt(He),Dt(je,Xe);for(var Nr=arguments.length,tn=new Array(Nr>1?Nr-1:0),Tr=1;Tr1?Xe-1:0),He=1;He1?Xe-1:0),He=1;He0?Number(e.toFixed(n)):e}var f="".concat(de,"-button"),L=function(e){var n,i=e.className,O=e.disabled,M=e.active,X=e.success,ye=e.error,oe=e.verify,_e=e.buttonRef,ut=(0,v._T)(e,["className","disabled","active","success","error","verify","buttonRef"]);return g.createElement("span",(0,v.pi)({className:P()(f,i,(n={},n["".concat(f,"-disabled")]=O,n["".concat(f,"-active")]=M,n["".concat(f,"-verify")]=oe,n["".concat(f,"-success")]=X,n["".concat(f,"-error")]=ye,n["".concat(f,"-pc")]=!D,n)),ref:_e},ut))};L.displayName="SliderButton";var ne=function(e){return g.createElement("svg",(0,v.pi)({viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),g.createElement("path",{d:"M116.9408 561.4592m0-40.96l0 0q0-40.96 40.96-40.96l573.44 0q40.96 0 40.96 40.96l0 0q0 40.96-40.96 40.96l-573.44 0q-40.96 0-40.96-40.96Z"}),g.createElement("path",{d:"M769.82272 519.43424l-203.22304-203.22304a40.96 40.96 0 1 1 57.91744-57.91744l231.71072 231.71072a40.96 40.96 0 0 1 0.45056 58.44992L624.9472 780.12416a40.96 40.96 0 0 1-57.93792-57.91744l202.79296-202.79296z"}))},fe=function(e){return g.createElement("svg",(0,v.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),g.createElement("path",{d:"M864.554667 268.501333a42.666667 42.666667 0 0 1 0 60.330667L412.032 781.397333a42.453333 42.453333 0 0 1-22.613333 11.818667l-5.034667 0.597333H379.306667a42.496 42.496 0 0 1-27.648-12.416l-211.2-211.2a42.666667 42.666667 0 1 1 60.330666-60.330666l180.992 180.992 422.4-422.4a42.666667 42.666667 0 0 1 60.330667 0z"}))},ue=function(e){return g.createElement("svg",(0,v.pi)({viewBox:"0 0 120 120",width:"1em",height:"1em"},e),g.createElement("defs",null,g.createElement("line",{id:"l",x1:"60",x2:"60",y1:"7",y2:"27",stroke:"currentColor",strokeWidth:"11",strokeLinecap:"round"})),g.createElement("g",null,g.createElement("use",{xlinkHref:"#l",opacity:".27"}),g.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(30 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(60 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(90 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(120 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(150 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".37",transform:"rotate(180 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".46",transform:"rotate(210 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".56",transform:"rotate(240 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".66",transform:"rotate(270 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".75",transform:"rotate(300 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".85",transform:"rotate(330 60,60)"})))},Ee=function(e){return g.createElement("svg",(0,v.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),g.createElement("path",{d:"M866.133333 573.013333a42.666667 42.666667 0 0 0-53.333333 27.733334A304.64 304.64 0 0 1 519.68 810.666667 302.933333 302.933333 0 0 1 213.333333 512a302.933333 302.933333 0 0 1 306.346667-298.666667 309.76 309.76 0 0 1 198.4 71.253334l-92.586667-15.36a42.666667 42.666667 0 0 0-49.066666 35.413333 42.666667 42.666667 0 0 0 35.413333 49.066667l180.906667 29.866666h7.253333a42.666667 42.666667 0 0 0 14.506667-2.56 14.08 14.08 0 0 0 4.266666-2.56 33.28 33.28 0 0 0 8.533334-4.693333l3.84-4.693333c0-2.133333 3.84-3.84 5.546666-6.4s0-4.266667 2.133334-5.973334a57.173333 57.173333 0 0 0 2.986666-7.68l32-170.666666a42.666667 42.666667 0 0 0-85.333333-16.213334l-11.52 61.866667A392.96 392.96 0 0 0 519.68 128 388.266667 388.266667 0 0 0 128 512a388.266667 388.266667 0 0 0 391.68 384A389.12 389.12 0 0 0 896 626.346667a42.666667 42.666667 0 0 0-29.866667-53.333334z"}))},H=function(e){return g.createElement("svg",(0,v.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),g.createElement("path",{d:"M572.96896 524.6976l217.23136 217.25184a40.96 40.96 0 1 1-57.93792 57.91744L515.072 582.63552l-212.3776 212.3776a40.96 40.96 0 1 1-57.9584-57.91744l212.39808-212.3776-217.21088-217.23136a40.96 40.96 0 1 1 57.91744-57.91744l217.23136 217.21088L737.0752 244.736a40.96 40.96 0 1 1 57.93792 57.91744L572.96896 524.71808z"}))},C=function(e){return g.createElement("svg",(0,v.pi)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16"},e),g.createElement("path",{d:"M.002 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2zm1 9v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9.5l-3.777-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062zm5-6.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"}))},s="".concat(de,"-icon"),E=function(e){var n,i=e.className,O=e.spin,M=(0,v._T)(e,["className","spin"]);return g.createElement("span",(0,v.pi)({className:P()(s,(n={},n["".concat(s,"-spin")]=O,n),i)},M))},w={arrowRight:g.createElement(ne,null),check:g.createElement(fe,null),loading:g.createElement(ue,null),refresh:g.createElement(Ee,null),x:g.createElement(H,null),imageFill:g.createElement(C,null)},I=function(e){var n=e.type,i=(0,v._T)(e,["type"]);return g.createElement(E,(0,v.pi)({},i),w[n])},h;(function(e){e[e.Default=1]="Default",e[e.Loading=2]="Loading",e[e.Moving=3]="Moving",e[e.Verify=4]="Verify",e[e.Success=5]="Success",e[e.Error=6]="Error",e[e.LoadFailed=7]="LoadFailed"})(h||(h={}));var R="".concat(de,"-control"),$=40,r=2,a=function(e){var n,i=e.status,O=i===void 0?h.Default:i,M=e.isLimitErrors,X=e.tipText,ye=e.tipIcon,oe=e.sliderButtonProps,_e=e.indicatorProps,ut=e.controlRef,gt=(0,v._T)(e,["status","isLimitErrors","tipText","tipIcon","sliderButtonProps","indicatorProps","controlRef"]),Lt=(0,g.useRef)(null),rt=(0,g.useRef)(null),Ft=(0,g.useRef)(null),dt=(0,g.useRef)({}),at=(0,g.useMemo)(function(){return(0,v.pi)({default:"\u5411\u53F3\u62D6\u52A8\u6ED1\u5757\u586B\u5145\u62FC\u56FE",loading:"\u52A0\u8F7D\u4E2D...",moving:null,verifying:null,success:null,error:null,errors:g.createElement(g.Fragment,null,g.createElement(I,{type:"x",style:{fontSize:20}})," \u5931\u8D25\u8FC7\u591A\uFF0C\u70B9\u51FB\u91CD\u8BD5"),loadFailed:"\u52A0\u8F7D\u5931\u8D25\uFF0C\u70B9\u51FB\u91CD\u8BD5"},X)},[X]),Zt=(0,g.useMemo)(function(){return(0,v.pi)({default:g.createElement(I,{type:"arrowRight"}),loading:g.createElement(I,{type:"loading",spin:!0}),error:g.createElement(I,{type:"x"}),success:g.createElement(I,{type:"check"})},ye)},[ye]),wt=(0,g.useMemo)(function(){var Ge;return Ge={},Ge[h.Default]=[at.default,Zt.default],Ge[h.Loading]=[at.loading,Zt.default],Ge[h.Moving]=[at.moving,Zt.default],Ge[h.Verify]=[at.verifying,Zt.loading],Ge[h.Error]=[at.error,Zt.error],Ge[h.Success]=[at.success,Zt.success],Ge[h.LoadFailed]=[at.loadFailed,Zt.default],Ge},[at,Zt]),pt=function(Ge){var Jt;return(Ge||typeof dt.current.sliderButtonWidth!="number")&&(dt.current.sliderButtonWidth=((Jt=rt.current)===null||Jt===void 0?void 0:Jt.clientWidth)||$),dt.current.sliderButtonWidth},we=function(Ge){if(Ge||typeof dt.current.indicatorBorderWidth!="number")if(Ft.current){var Jt=window.getComputedStyle(Ft.current);dt.current.indicatorBorderWidth=parseInt(Jt.borderLeftWidth)+parseInt(Jt.borderRightWidth)}else dt.current.indicatorBorderWidth=r;return dt.current.indicatorBorderWidth},Rt=function(Ge){var Jt;return(Ge||!dt.current.rect)&&Lt.current&&(dt.current.rect=(Jt=Lt.current)===null||Jt===void 0?void 0:Jt.getBoundingClientRect()),dt.current.rect};(0,g.useImperativeHandle)(ut,function(){return{getSliderButtonWidth:pt,getIndicatorBorderWidth:we,getRect:Rt,updateLeft:function(Ge){var Jt=pt(),Ar=we();me(rt.current,{left:Ge+"px"}),me(Ft.current,{width:Ge+Jt+Ar+"px"})}}},[]);var Ot=O===h.Loading,sr=O===h.Moving,cr=O===h.Verify,vr=O===h.Success,mr=O===h.Error,br=O===h.LoadFailed,xr=M?at.errors:wt[O][0];return g.createElement("div",(0,v.pi)({},gt,{className:P()(R,(n={},n["".concat(R,"-loading")]=Ot,n["".concat(R,"-moving")]=sr,n["".concat(R,"-verify")]=cr,n["".concat(R,"-success")]=vr,n["".concat(R,"-error")]=mr,n["".concat(R,"-errors")]=M,n["".concat(R,"-load-failed")]=br,n),gt.className),ref:Lt}),g.createElement("div",(0,v.pi)({},_e,{className:P()("".concat(R,"-indicator"),_e==null?void 0:_e.className),ref:Ft})),g.createElement(L,(0,v.pi)({},oe,{className:P()("".concat(R,"-button"),oe==null?void 0:oe.className),disabled:Ot,active:sr,verify:cr,success:vr,error:mr,buttonRef:rt}),wt[O][1]),g.createElement("div",{className:P()("".concat(R,"-tips")),style:xr?{}:{display:"none"}},xr))},c="".concat(de,"-loading"),u=function(e){var n=e.icon,i=n===void 0?g.createElement(I,{type:"loading",spin:!0}):n,O=e.text,M=O===void 0?"\u52A0\u8F7D\u4E2D...":O,X=e.className,ye=(0,v._T)(e,["icon","text","className"]);return g.createElement("div",(0,v.pi)({className:P()(c,X)},ye),g.createElement("div",{className:"".concat(c,"-icon")},i),g.createElement("div",{className:"".concat(c,"-text")},M))},d="".concat(de,"-jigsaw"),m={bgSize:{width:320,height:160},puzzleSize:{width:60,left:0},loadFailedIcon:g.createElement(I,{type:"imageFill"}),refreshIcon:g.createElement(I,{type:"refresh"})},S=function(e){var n,i,O=e.status,M=e.bgSize,X=M===void 0?m.bgSize:M,ye=e.puzzleSize,oe=ye===void 0?m.puzzleSize:ye,_e=e.bgUrl,ut=e.puzzleUrl,gt=e.bgImgProps,Lt=e.puzzleImgProps,rt=e.jigsawRef,Ft=e.loadingBoxProps,dt=e.loadFailedIcon,at=dt===void 0?m.loadFailedIcon:dt,Zt=e.showRefreshIcon,wt=Zt===void 0?!0:Zt,pt=e.refreshIcon,we=pt===void 0?m.refreshIcon:pt,Rt=e.disabledRefresh,Ot=e.onRefresh,sr=e.style,cr=e.className,vr=e.children,mr=(0,v._T)(e,["status","bgSize","puzzleSize","bgUrl","puzzleUrl","bgImgProps","puzzleImgProps","jigsawRef","loadingBoxProps","loadFailedIcon","showRefreshIcon","refreshIcon","disabledRefresh","onRefresh","style","className","children"]),br=(0,g.useRef)(null);if((0,g.useImperativeHandle)(rt,function(){return{updateLeft:function(Ge){me(br.current,{left:Ge+"px"})}}}),O===h.Loading)return g.createElement(u,(0,v.pi)({},Ft,{style:(0,v.pi)((0,v.pi)({},Ft==null?void 0:Ft.style),X)}));if(O===h.LoadFailed||!_e||!ut)return g.createElement("div",{className:"".concat(de,"-load-failed"),style:X},at);var xr=O===h.Verify||O===h.Error||O===h.Success;return g.createElement("div",(0,v.pi)({className:P()(d,(n={},n["".concat(d,"-stop")]=xr,n),cr),style:(0,v.pi)((0,v.pi)({},sr),X)},mr),g.createElement("img",(0,v.pi)({src:_e,alt:""},gt,{className:P()("".concat(d,"-bg"),gt==null?void 0:gt.className),style:(0,v.pi)((0,v.pi)({},gt==null?void 0:gt.style),X)})),g.createElement("img",(0,v.pi)({src:ut,alt:""},Lt,{className:P()("".concat(d,"-puzzle"),Lt==null?void 0:Lt.className),style:(0,v.pi)((0,v.pi)({},Lt==null?void 0:Lt.style),oe),ref:br})),wt&&O!==h.Success&&we&&g.createElement("div",{className:P()("".concat(d,"-refresh"),(i={},i["".concat(d,"-refresh-disabled")]=O===h.Verify||Rt,i)),onClick:function(){O!==h.Verify&&!Rt&&(Ot==null||Ot())}},we),vr)},Y=J?{start:"pointerdown",move:"pointermove",end:"pointerup",cancel:"pointercancel"}:D?{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"}:{start:"mousedown",move:"mousemove",end:"mouseup",cancel:"touchcancel"},Re=J?"onPointerDown":D?"onTouchStart":"onMouseDown",U;(function(e){e.Puzzle="puzzle",e.Button="button"})(U||(U={}));var ge=function(e){var n,i,O,M=e.mode,X=M===void 0?"embed":M,ye=e.limitErrorCount,oe=ye===void 0?0:ye,_e=e.tipText,ut=e.tipIcon,gt=e.refreshIcon,Lt=e.bgSize,rt=e.puzzleSize,Ft=e.request,dt=e.autoRequest,at=dt===void 0?!0:dt,Zt=e.onVerify,wt=e.autoRefreshOnError,pt=wt===void 0?!0:wt,we=e.actionRef,Rt=e.showRefreshIcon,Ot=Rt===void 0?!0:Rt,sr=e.jigsawContent,cr=e.errorHoldDuration,vr=cr===void 0?500:cr,mr=e.loadingDelay,br=mr===void 0?0:mr,xr=e.placement,Ge=xr===void 0?"top":xr,Jt=e.loadingBoxProps,Ar=e.sliderButtonProps,ve=e.precision,je=ve===void 0?7:ve,Xe=e.className,bt=e.style,He=e.styles,en=z(),Nr=en[0],tn=en[1],Tr=z(h.Default),Mr=Tr[0],ur=Tr[1],on=N(Mr),rn=(0,g.useRef)(null),Er=(0,g.useRef)(null),Gr=(0,g.useRef)(null),Zr=(0,g.useMemo)(function(){return X==="float"||X==="slider"?X:"embed"},[X]),pn=(0,g.useMemo)(function(){if(gt!==void 0)return gt;if((ut==null?void 0:ut.refresh)!==void 0)return ut.refresh},[gt,ut]),nn=(0,g.useMemo)(function(){return(0,v.pi)((0,v.pi)({},m.bgSize),Lt)},[Lt]),Sr=(0,g.useMemo)(function(){return(0,v.pi)((0,v.pi)({},m.puzzleSize),rt)},[rt]),Wr=(0,g.useMemo)(function(){return Ge==="bottom"?"top":"bottom"},[Ge]),Oe=(0,g.useRef)({isPressed:!1,trail:[],errorCount:0,startInfo:{x:0,y:0,timestamp:0},currentTargetType:U.Button,floatTransitionTimer:null,floatDelayShowTimer:null,floatDelayHideTimer:null,refreshTimer:null,loadingTimer:null,sliderButtonWidth:40,indicatorBorderWidth:2,ratio:1,buttonMaxDistance:0,puzzleMaxDistance:0}),an=Zr==="slider",bn=typeof br=="number"&&br>0,sn=Mr===h.Error&&oe>0&&Oe.current.errorCount>=oe,Sn=function(){Oe.current.buttonMaxDistance=nn.width-Oe.current.sliderButtonWidth-Oe.current.indicatorBorderWidth,Oe.current.puzzleMaxDistance=nn.width-Sr.width-Sr.left},xn=function(){var qe;return((qe=rn.current)===null||qe===void 0?void 0:qe.getRect(!0).height)||42},yn=function(){return(0,v.mG)(void 0,void 0,void 0,function(){var qe;return(0,v.Jh)(this,function($t){switch($t.label){case 0:if(an)return[2];if(!Ft)return[3,4];bn?Oe.current.loadingTimer=setTimeout(function(){ur(h.Loading)},br):ur(h.Loading),$t.label=1;case 1:return $t.trys.push([1,3,,4]),[4,Ft()];case 2:return qe=$t.sent(),bn&&clearTimeout(Oe.current.loadingTimer),tn(qe),ur(h.Default),[3,4];case 3:return $t.sent(),bn&&clearTimeout(Oe.current.loadingTimer),ur(h.LoadFailed),[3,4];case 4:return[2]}})})},wn=function(qe){qe===void 0&&(qe=300),!(Zr!=="float"||on.current===h.Success)&&(clearTimeout(Oe.current.floatTransitionTimer),clearTimeout(Oe.current.floatDelayHideTimer),clearTimeout(Oe.current.floatDelayShowTimer),Oe.current.floatDelayShowTimer=setTimeout(function(){var $t;me(Gr.current,{display:"block"}),K(Gr.current);var Hr=xn()+"px";me(Gr.current,($t={},$t[Wr]=Hr,$t.opacity="1",$t))},qe))},cn=function(qe){qe===void 0&&(qe=300),Zr==="float"&&(clearTimeout(Oe.current.floatTransitionTimer),clearTimeout(Oe.current.floatDelayHideTimer),clearTimeout(Oe.current.floatDelayShowTimer),Oe.current.floatDelayHideTimer=setTimeout(function(){var $t,Hr=xn()/2+"px";me(Gr.current,($t={},$t[Wr]=Hr,$t.opacity="0",$t)),Oe.current.floatTransitionTimer=setTimeout(function(){me(Gr.current,{display:"none"})},300)},qe))},Pn=function(qe){var $t;an||($t=Er.current)===null||$t===void 0||$t.updateLeft(qe)},Rn=function(){var qe;Oe.current.isPressed=!1,ur(h.Default),(qe=rn.current)===null||qe===void 0||qe.updateLeft(0),Pn(Sr.left)},Cn=function(qe){qe===void 0&&(qe=!1),qe&&(Oe.current.errorCount=0),clearTimeout(Oe.current.refreshTimer),on.current!==h.Loading&&(Rn(),yn())},Tn=function(){(sn||Mr===h.LoadFailed)&&Cn(sn)},Mn=function(){D||wn()},zn=function(){D||cn()},jn=function(qe){Oe.current.currentTargetType=U.Puzzle,In(qe)},Bn=function(qe){Oe.current.currentTargetType=U.Button,In(qe)},In=function(qe){if(on.current===h.Default){qe.preventDefault();var $t=se(qe),Hr=$t.clientX,un=$t.clientY;Oe.current.startInfo={x:Hr,y:un,timestamp:new Date().getTime()},Oe.current.trail=[[Hr,un]],rn.current&&(Oe.current.sliderButtonWidth=rn.current.getSliderButtonWidth(!0),Oe.current.indicatorBorderWidth=rn.current.getIndicatorBorderWidth(!0)),Sn(),Oe.current.ratio=Oe.current.puzzleMaxDistance/Oe.current.buttonMaxDistance,Oe.current.currentTargetType===U.Puzzle&&(Oe.current.ratio=1/Oe.current.ratio),(D||qe.pointerType==="pen"||qe.pointerType==="touch")&&wn(0),Oe.current.isPressed=!0,document.addEventListener(Y.move,$n),document.addEventListener(Y.end,En),document.addEventListener(Y.cancel,En)}},$n=function(qe){var $t;if(Oe.current.isPressed){qe.preventDefault();var Hr=se(qe),un=Hr.clientX,On=Hr.clientY,Dr=un-Oe.current.startInfo.x;Oe.current.trail.push([un,On]),on.current!==h.Moving&&Dr>0&&ur(h.Moving);var Lr=Dr,dn=Dr;Oe.current.currentTargetType===U.Puzzle?(Dr=Math.max(0,Math.min(Dr,Oe.current.puzzleMaxDistance)),Lr=Dr+Sr.left,dn=Dr*Oe.current.ratio):(Dr=Math.max(0,Math.min(Dr,Oe.current.buttonMaxDistance)),dn=Dr,Lr=Dr*Oe.current.ratio+Sr.left),($t=rn.current)===null||$t===void 0||$t.updateLeft(dn),Pn(Lr)}},En=function(qe){if(document.removeEventListener(Y.move,$n),document.removeEventListener(Y.end,En),document.removeEventListener(Y.cancel,En),!!Oe.current.isPressed){if(on.current!==h.Moving){Oe.current.isPressed=!1,D&&cn();return}if(Zt){Oe.current.isPressed=!1,ur(h.Verify);var $t=new Date().getTime(),Hr=se(qe),un=Hr.clientX,On=Hr.clientY,Dr=On-Oe.current.startInfo.y,Lr=un-Oe.current.startInfo.x,dn=Lr;Oe.current.currentTargetType===U.Puzzle?(Lr=Math.max(0,Math.min(Lr,Oe.current.puzzleMaxDistance)),dn=Lr*Oe.current.ratio):(Lr=Math.max(0,Math.min(Lr,Oe.current.buttonMaxDistance)),dn=Lr,Lr*=Oe.current.ratio),Zt({x:l(Lr,je),y:l(Dr,je),sliderOffsetX:l(dn,je),duration:$t-Oe.current.startInfo.timestamp,trail:Oe.current.trail,targetType:Oe.current.currentTargetType,errorCount:Oe.current.errorCount}).then(function(){Oe.current.errorCount=0,ur(h.Success),cn()}).catch(function(){Oe.current.errorCount+=1,ur(h.Error),(D||qe.pointerType==="pen"||qe.pointerType==="touch")&&cn(),(oe<=0||Oe.current.errorCount0?(M.forEach(function(X){X.wrap.apply(X.context,i)}),!0):!1},e}(),he={},be=function(){function e(n){n===void 0&&(n="default"),this.scope=n,he[this.scope]||(he[this.scope]={}),this.data=he[this.scope]}return e.prototype.getItem=function(n){return n in this.data?this.data[n]:null},e.prototype.setItem=function(n,i){this.data[n]=i},e.prototype.removeItem=function(n){delete this.data[n]},e.prototype.clear=function(){he[this.scope]={},this.data=he[this.scope]},e}();function Te(){return Math.random().toString(16).substring(2,8)}function b(e){try{var n=typeof e=="object"&&e!==null&&!!e.setItem&&!!e.getItem&&!!e.removeItem;if(n){var i=Te()+new Date().getTime(),O="1";if(e.setItem(i,O),e.getItem(i)!==O)return!1;e.removeItem(i)}return n}catch(M){return console.error("[cache2] ".concat(e," is not supported. The default memory cache will be used.")),!1}}function F(e,n){try{return JSON.parse(e,n)}catch(i){return e}}function y(e,n){return JSON.stringify(e,n)}var G=function(){function e(n,i){i===void 0&&(i={});var O=n?b(n):!1;this.options=(0,v.pi)({needParsed:O,prefix:""},i),this.storage=O?n:new be(this.options.memoryScope)}return e.prototype.getKey=function(n){return this.options.prefix+n},e.prototype.get=function(n){var i=this.storage.getItem(this.getKey(n));return this.options.needParsed?F(i,this.options.reviver):i},e.prototype.set=function(n,i){this.storage.setItem(this.getKey(n),this.options.needParsed?y(i,this.options.replacer):i)},e.prototype.del=function(n){this.storage.removeItem(this.getKey(n))},e.prototype.clear=function(){typeof this.storage.clear=="function"&&this.storage.clear()},e}(),_="cache2_",k="default",ee=function(e){(0,v.ZT)(n,e);function n(i,O){var M=e.call(this)||this,X=k,ye;return typeof i=="string"?X=i||k:typeof i=="object"&&(ye=i),!ye&&typeof O=="object"&&(ye=O),M.options=(0,v.pi)({max:-1,stdTTL:0,maxStrategy:"limited",checkperiod:0,prefix:_},ye),M.storage=new G(M.options.storage,(0,v.pi)({memoryScope:X},M.options)),M.cacheKey=X,M.startCheckperiod(),M}return n.prototype._check=function(i,O){var M=!0;return O.t!==0&&O.t0?M+X:0;return{v:i,t:ye,n:M}},n.prototype._isLimited=function(i){return this.options.max>-1&&i>=this.options.max},n.prototype._getReplaceKey=function(i,O){var M=i[0];return i.forEach(function(X){(O[X].t0&&this.setCacheValues(M),X},n.prototype.clear=function(){this.storage.del(this.cacheKey)},n.prototype.keys=function(){var i=this,O=this.cacheValues,M=Object.keys(O);return M.filter(function(X){return i._check(X,O[X])})},n.prototype.has=function(i){var O=this.cacheValues[i];return!!(O&&this._check(i,O))},n.prototype.take=function(i){var O,M=this.cacheValues[i];return M&&this._check(i,M)&&(O=M.v,this.del(i)),O},n.prototype.ttl=function(i,O){var M=this.cacheValues,X=M[i];return X&&this._check(i,X)?(M[i]=this._wrap(X.v,O),!0):!1},n.prototype.getTtl=function(i){var O=this.cacheValues,M=O[i];if(M&&this._check(i,M))return O[i].t},n.prototype.getLastModified=function(i){var O=this.cacheValues,M=O[i];if(M&&this._check(i,M))return O[i].n},n.prototype.startCheckperiod=function(){var i=this;this.keys(),this.options.checkperiod>0&&(clearTimeout(this._checkTimeout),this._checkTimeout=setTimeout(function(){i.startCheckperiod()},this.options.checkperiod))},n.prototype.stopCheckperiod=function(){clearTimeout(this._checkTimeout)},n}(pe),q=void 0,xe="undefined",Ce="object",Me=Object.prototype,Pe=Me.toString,De=Me.hasOwnProperty,Be=Me.propertyIsEnumerable,ze=Object.getOwnPropertySymbols,Le=Object.getPrototypeOf,tt=Object.keys,nt=Function.prototype,ft=nt.toString,Ye=typeof Symbol!==xe,Se=Ye?Symbol.prototype:q,Bt=Array.prototype,_t=Bt.slice,Tt=Math.min,xt=Math.max,dr=Math.random,Wt=Math.floor,kt=Math.ceil,ar=Math.abs,fr=Number.isFinite,yt=Number.isInteger,At=Number.isSafeInteger,Ct=typeof globalThis===Ce&&globalThis,Gt=typeof t.g===Ce&&t.g,st=typeof self===Ce&&self,qt=Number.MAX_SAFE_INTEGER||9007199254740991,Et=Number.MIN_SAFE_INTEGER||-9007199254740991,ir=4294967295,Qe="[object ",Kr=Qe+"BigInt]",Xr=Qe+"Number]",Or=Qe+"Boolean]",er=Qe+"String]",Ie=Qe+"Date]",Ze=Qe+"RegExp]",o=Qe+"Symbol]",j=Qe+"Error]",Z=Qe+"ArrayBuffer]",W=Qe+"Arguments]",ae=Qe+"Array]",ce=["Function","AsyncFunction","GeneratorFunction","Proxy"].map(function(e){return Qe+e+"]"}),Ae=Qe+"WeakSet]",Je=Qe+"Blob]",Ne=Qe+"File]",Ve=Qe+"DOMException]",$e=Qe+"Object]",et=Qe+"DataView]",vt=Qe+"Map]",Mt=Qe+"Promise]",zt=Qe+"Set]",Pt=Qe+"WeakMap]",Ht=Qe+"Window]";function Ke(e){return Pe.call(e)}function We(e){return typeof e=="string"||Ke(e)===er}var It=function(){function e(n,i){i===void 0&&(i="uh_async_memo"),this.promiseCache={},this.cache=new ee(i,n)}return e.prototype.run=function(n,i,O){var M=this;if(!i||!We(i))return n();var X=(0,v.pi)({persisted:!0},O);if(X.persisted){var ye=this.cache.get(i);if(ye)return Promise.resolve(ye)}return this.promiseCache[i]||(this.promiseCache[i]=n().then(function(oe){return delete M.promiseCache[i],M.cache.set(i,oe,X.ttl),oe}).catch(function(oe){return delete M.promiseCache[i],Promise.reject(oe)})),this.promiseCache[i]},e}(),ot=typeof Blob!==xe;function Ue(e){return ot&&e instanceof Blob?!0:Ke(e)===Je}function lt(e){return function(){return e}}function tr(){}var Kt=typeof URL!="undefined",Pr=void 0,rr=Object.keys,Vt=Object.values,nr=Kt?URL.createObjectURL:lt(""),Rr=Kt?URL.revokeObjectURL:tr;function St(e,n){var i=n||{},O=i.method,M=O===void 0?"get":O,X=i.data,ye=X===void 0?null:X,oe=i.timeout,_e=i.headers,ut=i.withCredentials,gt=ut===void 0?!1:ut,Lt=i.async,rt=Lt===void 0?!0:Lt,Ft=i.user,dt=Ft===void 0?null:Ft,at=i.password,Zt=at===void 0?null:at,wt=i.responseType,pt=i.onReadyStateChange,we=i.onLoadStart,Rt=i.onProgress,Ot=i.onAbort,sr=i.onTimeout,cr=i.onError,vr=i.onLoad,mr=i.onLoadEnd;return new Promise(function(br,xr){var Ge=new XMLHttpRequest;Ge.open(M.toLowerCase(),e,rt,dt,Zt),pt&&(Ge.onreadystatechange=pt),typeof oe=="number"&&oe>0&&(Ge.timeout=oe),Ge.withCredentials=gt,wt&&(Ge.responseType=wt),typeof _e=="object"&&rr(_e).map(function(Xe){Ge.setRequestHeader(Xe,_e[Xe])});var Jt=function(Xe){return function(bt){br(bt),Xe==null||Xe.call(Ge,bt)}},Ar=function(Xe){return function(bt){xr(bt),Xe==null||Xe.call(Ge,bt)}},ve={loadstart:we,progress:Rt,abort:Ar(Ot),timeout:Ar(sr),error:Ar(cr),load:Jt(vr),loadend:mr},je=rr(ve);je.forEach(function(Xe){var bt=ve[Xe];bt&&Ge.addEventListener(Xe,bt)}),Ge.send(ye)})}var Nt=[200,304];function hr(e,n){return new Promise(function(i,O){Ue(e)?i(e):St(e,(0,v.pi)({responseType:"blob"},n)).then(function(M){var X=M.target.status;if(Nt.indexOf(X)!==-1)i(M.target.response);else{var ye=new Error("The file does not support get requests, responseStatus ".concat(X,", '").concat(e,"'."));console.error(ye),O(ye)}}).catch(function(M){console.error(new Error("Failed to request file. ".concat(M))),O(M)})})}function zr(e){return new Promise(function(n,i){var O=Ue(e),M=O?nr(e):e,X=new Image;O||(X.crossOrigin="anonymous"),X.onload=function(){n(X)},X.onerror=function(ye){O&&Rr(M),console.error("[loadImage] The image load failed, '".concat(e,"'.")),i(ye)},X.src=M})}function or(e,n){return hr(e,n).then(function(i){return zr(i).then(function(O){return{blob:i,image:O}})})}function mt(e){return e!==null&&typeof e=="object"}function ke(e){return typeof e=="function"||mt(e)}function gr(e){return typeof e=="symbol"||Ke(e)===o}var pr=/^0b[01]+$/i,Xt=/^0o[0-7]+$/i,ht=/^[-+]0x[0-9a-f]+$/i;function Ut(e){if(typeof e=="number")return e;if(gr(e))return NaN;if(ke(e)&&(e=Number(e)),typeof e!="string")return e===0?e:+e;e=e.trim();var n=pr.test(e);return n||Xt.test(e)?parseInt(e.slice(2),n?2:8):ht.test(e)?NaN:+e}var Yt=17976931348623157e292;function Dt(e){if(!e)return e===0?e:0;if(e=Ut(e),e===1/0||e===-1/0){var n=e<0?-1:1;return n*Yt}return e===e?e:0}function Cr(e,n){e===void 0&&(e=0),n===void 0&&(n=1),e=Dt(e),n=Dt(n);var i=kt(Tt(e,n)||0),O=Wt(xt(e,n)||0);if(i>O){var M=i;i=O,O=M}return Wt(i+dr()*(O-i+1))}var jt=Math.PI,Fe;(function(e){e[e.None=0]="None",e[e.Outer=1]="Outer",e[e.Inner=2]="Inner"})(Fe||(Fe={}));var yr=[Fe.None,Fe.Outer,Fe.Inner];function ct(e){var n=e.length,i=Cr(0,n-1);return e[i]}function wr(e){var n={top:ct(yr),right:ct(yr),bottom:ct(yr),left:ct(yr)},i=Object.keys(n),O=["top","bottom"],M=["left","right"];if(n.top===Fe.Outer&&n.bottom===Fe.Outer?n[ct(O)]=Fe.Inner:n.top!==Fe.Outer&&n.bottom!==Fe.Outer&&(n[ct(O)]=Fe.Outer),n.left===Fe.Outer&&n.right===Fe.Outer?n[ct(M)]=Fe.Inner:n.left!==Fe.Outer&&n.right!==Fe.Outer&&(n[ct(M)]=Fe.Outer),e){var X=[],ye=[];i.forEach(function(oe){n[oe]===Fe.Inner?X.push(oe):n[oe]===Fe.None&&ye.push(oe)}),e===2?X.forEach(function(oe){return n[oe]=Fe.None}):e===3?X.length===0?n[ct(ye)]=Fe.Inner:X.length===2&&(n[ct(X)]=Fe.None):e==4&&ye.forEach(function(oe){return n[oe]=Fe.Inner})}return n}function jr(e,n){n===void 0&&(n={});var i=n.x,O=i===void 0?0:i,M=n.y,X=M===void 0?0:M,ye=n.w,oe=ye===void 0?60:ye,_e=n.h,ut=_e===void 0?60:_e,gt=n.needClosePath,Lt=gt===void 0?!0:gt,rt=n.points,Ft=n.margin,dt=Ft===void 0?0:Ft;dt=dt<=0?0:dt,(typeof rt=="number"||!rt)&&(rt=wr(rt));var at=(Math.min(oe,ut)-dt*2)*.15,Zt=Math.hypot(at,at),wt=Zt/2,pt=at+wt,we={x:O+dt,y:X+dt,w:oe-pt-dt*2,h:ut-pt-dt*2},Rt=we.w/2,Ot=we.h/2;rt.left===Fe.Outer&&(we.x+=pt),rt.top===Fe.Outer&&(we.y+=pt),e.beginPath(),e.lineWidth=2,e.moveTo(we.x,we.y),rt.top!==Fe.None&&(e.lineTo(we.x+Rt-wt,we.y),rt.top===Fe.Inner?e.arc(we.x+Rt,we.y+wt,at,1.25*jt,1.75*jt,!0):e.arc(we.x+Rt,we.y-wt,at,.75*jt,.25*jt)),e.lineTo(we.x+we.w,we.y),rt.right!==Fe.None&&(e.lineTo(we.x+we.w,we.y+Ot-wt),rt.right===Fe.Inner?e.arc(we.x+we.w-wt,we.y+Ot,at,1.75*jt,.25*jt,!0):e.arc(we.x+we.w+wt,we.y+Ot,at,1.25*jt,.75*jt)),e.lineTo(we.x+we.w,we.y+we.h),rt.bottom!==Fe.None&&(e.lineTo(we.x+Rt+wt,we.y+we.h),rt.bottom===Fe.Inner?e.arc(we.x+Rt,we.y+we.h-wt,at,.25*jt,.75*jt,!0):e.arc(we.x+Rt,we.y+we.h+wt,at,1.75*jt,1.25*jt)),e.lineTo(we.x,we.y+we.h),rt.left!==Fe.None&&(e.lineTo(we.x,we.y+Ot+wt),rt.left===Fe.Inner?e.arc(we.x+wt,we.y+Ot,at,.75*jt,1.25*jt,!0):e.arc(we.x-wt,we.y+Ot,at,.25*jt,1.75*jt)),e.lineTo(we.x,we.y),e.stroke(),Lt&&e.closePath()}function lr(e,n,i,O){return new Promise(function(M){n?e.toBlob(function(X){M(X?URL.createObjectURL(X):e.toDataURL(i,O))},i,O):M(e.toDataURL(i,O))})}var Ir=new It({max:5,maxStrategy:"replaced"});Ir.cache.on("del",function(e,n){try{n.image.src&&URL.revokeObjectURL(n.image.src)}catch(i){}});function kr(e){e?Ir.cache.del(e):Ir.cache.clear()}var Br=new WeakMap,Fr=function(e){if(!ke(e))return String(e);if(!Br.get(e)){var n="_"+Date.now();Br.set(e,n)}return Br.get(e)},$r={jpeg:"image/jpeg",png:"image/png"},Vr=[];function Qt(e){e.forEach(function(n){URL.revokeObjectURL(n)})}function Ur(e,n){n===void 0&&(n={});var i=n.borderWidth,O=i===void 0?2:i,M=n.borderColor,X=M===void 0?"rgba(255,255,255,0.7)":M,ye=n.fillColor,oe=ye===void 0?"rgba(255,255,255,0.7)":ye,_e=n.points,ut=n.width,gt=ut===void 0?60:ut,Lt=n.height,rt=Lt===void 0?60:Lt,Ft=n.x,dt=n.y,at=n.margin,Zt=at===void 0?2:at,wt=n.equalHeight,pt=wt===void 0?!0:wt,we=n.imageWidth,Rt=n.imageHeight,Ot=n.bgWidth,sr=n.bgHeight,cr=n.bgOffset,vr=cr===void 0?[0,0]:cr,mr=n.bgImageType,br=mr===void 0?$r.jpeg:mr,xr=n.quality,Ge=xr===void 0?.8:xr,Jt=n.format,Ar=Jt===void 0?"dataURL":Jt,ve=n.cacheImage,je=ve===void 0?!0:ve,Xe=n.autoRevokePreviousBlobUrl,bt=Xe===void 0?!0:Xe,He=n.ajaxOptions;return new Promise(function(en,Nr){var tn=document.createElement("canvas"),Tr=document.createElement("canvas"),Mr=tn.getContext("2d"),ur=Tr.getContext("2d"),on=je?Fr(e):void 0;Ir.run(function(){return or(e,He)},on).then(function(rn){var Er=rn.image;we&&(Er.width=we),Rt&&(Er.height=Rt);var Gr=typeof Ot=="number"&&Ot>0?Ot>gt?Ot:gt:Er.width,Zr=typeof sr=="number"&&sr>0?sr>rt?sr:rt:Er.height;tn.width=Gr,tn.height=Zr;var pn=Gr-gt,nn=Zr-rt,Sr=typeof Ft=="undefined"?Cr(gt,pn):Ft||0,Wr=typeof dt=="undefined"?Cr(0,nn):dt||0;Sr<0?Sr=0:Sr>pn&&(Sr=pn),Wr<0?Wr=0:Wr>nn&&(Wr=nn);var Oe=typeof _e=="number"||!_e?wr(_e):_e,an=typeof vr=="function"?vr(Er.width,Er.height):vr;Mr.strokeStyle=X,Mr.lineWidth=O,Mr.fillStyle=oe,jr(Mr,{x:Sr,y:Wr,w:gt,h:rt,points:Oe,margin:Zt}),Mr.fillStyle=oe,Mr.fill(),Mr.globalCompositeOperation="destination-over",Mr.drawImage(Er,an[0],an[1],Er.width,Er.height),Tr.width=Gr,Tr.height=Zr,ur.strokeStyle=X,ur.lineWidth=O,jr(ur,{x:Sr,y:Wr,w:gt,h:rt,points:Oe,margin:Zt}),ur.globalCompositeOperation="destination-over",ur.clip(),ur.drawImage(Er,an[0],an[1],Er.width,Er.height);var bn=ur.getImageData(Sr,Wr,gt,rt);ur.clearRect(0,0,Gr,Zr),Tr.width=gt,Tr.height=pt?Zr:rt,ur.putImageData(bn,0,pt?Wr:0);var sn=Ar==="blob",Sn=lr(Tr,sn,$r.png,Ge),xn=lr(tn,sn,br,Ge);Promise.all([Sn,xn]).then(function(yn){var wn=yn[0],cn=yn[1];bt&&(Vr.length&&(Qt(Vr),Vr.length=0),sn&&Vr.push(cn,wn)),en({puzzleUrl:wn,bgUrl:cn,x:Sr,y:pt?0:Wr})}).catch(Nr)}).catch(Nr)})}var hn=t(43418),fn=t(3113),vn=Object.defineProperty,Yr=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,Qr=(e,n,i)=>n in e?vn(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,ln=(e,n)=>{for(var i in n||(n={}))mn.call(n,i)&&Qr(e,i,n[i]);if(Yr)for(var i of Yr(n))gn.call(n,i)&&Qr(e,i,n[i]);return e},Jr=(e,n,i)=>new Promise((O,M)=>{var X=_e=>{try{oe(i.next(_e))}catch(ut){M(ut)}},ye=_e=>{try{oe(i.throw(_e))}catch(ut){M(ut)}},oe=_e=>_e.done?O(_e.value):Promise.resolve(_e.value).then(X,ye);oe((i=i.apply(e,n)).next())});const _r=({ModalProps:e,onFinish:n})=>{const[i,O]=(0,g.useState)(),M=(0,g.useRef)(),X=()=>Jr(void 0,null,function*(){const oe=`/images/VerifCodeBg/img${Math.floor(Math.random()*23)+1}.jpg`,_e=yield Ur(oe,{imageHeight:180,imageWidth:360});return O(_e),_e}),ye=oe=>Jr(void 0,null,function*(){return oe!=null&&oe.x&&oe.x>i.x-5&&oe.x{var oe;e!=null&&e.open&&M.current&&((oe=M.current)==null||oe.refresh())},[e==null?void 0:e.open,M]),g.createElement(hn.default,ln({},ln({title:"\u8BF7\u5B8C\u6210\u4E0B\u5217\u9A8C\u8BC1\u540E\u7EE7\u7EED",width:410,footer:null,centered:!0},e)),g.createElement(ge,{actionRef:M,request:X,onVerify:oe=>Jr(void 0,null,function*(){return ye(oe)}),bgSize:{width:360,height:180}}),g.createElement("div",{className:"flex mt10"},g.createElement(fn.ZP,{style:{paddingLeft:"0px",paddingRight:"0px"},type:"link",icon:g.createElement("i",{className:"iconfont icon-shuaxin3"}),onClick:()=>{var oe;(oe=M.current)==null||oe.refresh()}},"\u5237\u65B0")))};var qr=g.memo(_r)},30614:function(it,ie,t){t.d(ie,{Z:function(){return J}});var v=t(59301),B=t(99267),P=t(40001),g=t(49198),p=t(955),T=Object.defineProperty,x=Object.defineProperties,z=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,re=(D,K,l)=>K in D?T(D,K,{enumerable:!0,configurable:!0,writable:!0,value:l}):D[K]=l,Q=(D,K)=>{for(var l in K||(K={}))N.call(K,l)&&re(D,l,K[l]);if(V)for(var l of V(K))te.call(K,l)&&re(D,l,K[l]);return D},A=(D,K)=>x(D,z(K)),de=(D,K,l)=>new Promise((f,L)=>{var ne=Ee=>{try{ue(l.next(Ee))}catch(H){L(H)}},fe=Ee=>{try{ue(l.throw(Ee))}catch(H){L(H)}},ue=Ee=>Ee.done?f(Ee.value):Promise.resolve(Ee.value).then(ne,fe);ue((l=l.apply(D,K)).next())});const se={moveX:0,verify:0};var me=(D=>(D[D.SET_MOVEX=0]="SET_MOVEX",D[D.VERIFY=1]="VERIFY",D))(me||{});function le(D,K){switch(K.type){case 0:return A(Q({},D),{moveX:K.payload});case 1:return Q(Q({},D),K.payload);default:throw new Error}}var J=({value:D,onChange:K,onValidate:l})=>{const[f,L]=(0,v.useReducer)(le,se),{moveX:ne,verify:fe}=f,ue=(0,v.useRef)(),Ee=(0,v.useRef)(),H=(0,v.useRef)(),C=(0,v.useRef)(),s=(0,v.useMemo)(()=>{if(Ee.current)return Ee.current.getBoundingClientRect()},[Ee.current]);(0,v.useEffect)(()=>{if(s){let a=function(c){return de(this,null,function*(){if(C.current){let u=c.pageX-R;r&&(u=c.changedTouches[0].pageX-R),u<0&&(u=0),u>=$?(C.current=!1,u=$,I=yield l(),L({type:1,payload:{moveX:u,verify:I}}),K(I)):L({type:0,payload:u})}})},w=function(){C.current=!1,I===0&&(ue.current.style.transition="left .5s ease",H.current.style.transition="width .5s ease",L({type:1,payload:{moveX:0}}))},I=0;const{width:h,left:R}=s;let $=h-48;const r=!(0,p.b9)();return r?(window.addEventListener("touchmove",a),window.addEventListener("touchend",w)):(window.addEventListener("mousemove",a),window.addEventListener("mouseup",w)),()=>{r?(window.removeEventListener("touchmove",a),window.removeEventListener("touchend",w)):(window.removeEventListener("mousemove",a),window.removeEventListener("mouseup",w))}}},[s,p.b9]),(0,v.useEffect)(()=>{L({type:1,payload:{verify:D,moveX:D?(s==null?void 0:s.width)-48:0}})},[D]);function E(){fe||(C.current=!0,ue.current.style.transition="",H.current.style.transition="")}return v.createElement("div",{ref:Ee,className:"unlock-wrapper"},v.createElement("div",{ref:H,className:fe===1?"unlock-error-bg":"unlock-bg",style:{width:ne}}),v.createElement("div",{className:"unlock-text"},fe?fe===1?"\u9A8C\u8BC1\u5931\u8D25":"\u9A8C\u8BC1\u901A\u8FC7":"\u62D6\u52A8\u6ED1\u5757\u81F3\u53F3\u4FA7\u9A8C\u8BC1"),v.createElement("div",{ref:ue,onTouchStart:E,onMouseDown:E,style:{left:ne},className:"unlock-handler"},fe?fe===1?v.createElement(B.Z,null):v.createElement(P.Z,null):v.createElement(g.Z,null)))}},11260:function(it,ie,t){t.d(ie,{Ol:function(){return B},c0:function(){return T},o1:function(){return P},z2:function(){return g}});var v=t(99064);function B(x){return(0,v.U2)("accounts/valid_email_and_phone.json",x)}function P(x){return(0,v.U2)("accounts/get_verification_code.json",x)}function g(x){return(0,v.v_)("accounts/register.json",x)}function p(x){return post("weapps/register.json",x)}function T(x){return(0,v.v_)("accounts/reset_password.json",x)}},71228:function(it,ie,t){t.r(ie),t.d(ie,{default:function(){return h}});var v=t(59301),B=t(78241),P=t(92832),g=t(3113),p=t(30614),T=t(955),x=t(89070),z={wrap:"wrap___jh1g8",formWrapper:"formWrapper___ac7hS",link:"link___eiEQu"},V=t(28386),N=t(59301),te=Object.defineProperty,re=Object.defineProperties,Q=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,me=(R,$,r)=>$ in R?te(R,$,{enumerable:!0,configurable:!0,writable:!0,value:r}):R[$]=r,le=(R,$)=>{for(var r in $||($={}))de.call($,r)&&me(R,r,$[r]);if(A)for(var r of A($))se.call($,r)&&me(R,r,$[r]);return R},J=(R,$)=>re(R,Q($)),D=(R,$,r)=>new Promise((a,c)=>{var u=S=>{try{m(r.next(S))}catch(Y){c(Y)}},d=S=>{try{m(r.throw(S))}catch(Y){c(Y)}},m=S=>S.done?a(S.value):Promise.resolve(S.value).then(u,d);m((r=r.apply(R,$)).next())});const K={height:48,borderRadius:4},l=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,f={timer:0};var L=(R=>(R[R.setTimer=0]="setTimer",R))(L||{});function ne(R,$){switch($.type){case 0:return J(le({},R),{timer:$.payload});default:throw new Error}}var fe=({validateName:R,getCode:$,callback:r,style:a={}})=>{const c=(0,x.useLocation)(),[u]=(0,x.useSearchParams)(),[d]=B.default.useForm(),[m,S]=(0,v.useReducer)(ne,f),[Y,Re]=(0,v.useState)(!1),{timer:U}=m,[ge,pe]=(0,v.useState)(!1);function he(G){return D(this,null,function*(){const{login:_,new_password:k,code:ee,new_password_confirmation:q}=G,{message:xe,status:Ce,show:Me,start_date:Pe}=yield r({login:_,new_password_confirmation:q,new_password:k,code:ee});if(Ce===0){Me?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",Pe)):localStorage.removeItem("extension-modal");const De=u.get("from");De&&De.indexOf("login")<0?x.history.replace(De):x.history.replace("/")}else d.setFields([{name:"code",errors:[xe]}])})}function be(){return D(this,null,function*(){let G=d.getFieldValue("login"),_=0;if(!l.test(G)||G.indexOf(" ")>-1)return d.setFields([{name:"login",errors:["\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"]}]),_=1,_;let{status:k,message:ee}=yield R({login:G,type:2});return k>0?_=2:(d.setFields([{name:"login",errors:[ee]}]),_=1),_})}const Te=()=>D(void 0,null,function*(){const G=d.getFieldValue("verify"),_=d.getFieldValue("login");if(!G)d.validateFields(["verify"]);else{Re(!0);const{status:k,message:ee}=yield $({login:_,type:2,smscode:(0,T.M)(_)});k<0&&d.setFields([{name:"code",errors:[ee]}]),S({type:0,payload:60}),Re(!1)}});function b(G,_){const k=d.getFieldValue("new_password_confirmation");if(!_)return Promise.resolve();if(d.setFields([{name:"new_password_confirmation",errors:k&&k!==_?["\u4E24\u6B21\u5BC6\u7801\u4E0D\u4E00\u81F4"]:[]}]),_.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C");const ee=_.length;return ee>=8&&ee<=16?Promise.resolve():Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C")}(0,v.useEffect)(()=>{U>0&&setTimeout(()=>{S({type:0,payload:U-1})},1e3)},[U]);const F=(G,_)=>_?Promise.resolve():Promise.reject("\u8BF7\u62D6\u52A8\u6ED1\u5757\u9A8C\u8BC1"),y=(G,_)=>_?_.indexOf(" ")>-1?Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):l.test(_)?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Promise.resolve();return N.createElement("div",{className:z.wrap},N.createElement(B.default,{layout:"vertical",form:d,style:a,className:z.formWrapper,initialValues:{autologin:!0,protool:!0},onFinish:he},N.createElement(B.default.Item,{name:"login",label:"\u8D26\u53F7",required:!1,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"},{validator:y}]},N.createElement(P.default,{style:K,size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7",onChange:()=>d.setFieldsValue({verify:0})})),N.createElement(B.default.Item,{name:"verify",rules:[{validator:F}]},N.createElement(p.Z,{onValidate:be})),N.createElement(B.default.Item,{label:"\u5BC6\u7801",required:!1,name:"new_password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"},{validator:b}]},N.createElement(P.default.Password,{style:K,size:"middle",placeholder:"\u8F93\u51658\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199",visibilityToggle:!1})),N.createElement(B.default.Item,{name:"new_password_confirmation",rules:[{required:!0,message:"\u8BF7\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801"},({getFieldValue:G})=>({validator(_,k){return!k||G("new_password")===k?Promise.resolve():Promise.reject("\u4E24\u6B21\u5BC6\u7801\u4E0D\u4E00\u81F4")}})]},N.createElement(P.default.Password,{style:K,size:"middle",placeholder:"\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801",visibilityToggle:!1})),N.createElement(B.default.Item,{name:"code",label:"\u9A8C\u8BC1\u7801",required:!1,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},N.createElement(P.default,{suffix:N.createElement(g.ZP,{loading:Y,type:"link",onClick:G=>{if(G.stopPropagation(),!d.getFieldValue("verify")){d.validateFields(["verify"]);return}pe(!0)},disabled:U>0}," ",U===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`${U}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`),style:{paddingRight:2,height:48,borderRadius:4},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"})),N.createElement(B.default.Item,null,N.createElement(g.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:K}," \u5B8C\u6210 ")),N.createElement(B.default.Item,{className:"tc"},N.createElement(x.Link,{className:"font14",to:"/user/login"},"\u8FD4\u56DE\u767B\u5F55"))),N.createElement(V.Z,{ModalProps:{open:ge,onCancel:()=>{pe(!1)}},onFinish:()=>{pe(!1),Te()}}))},ue=t(11260),Ee=Object.defineProperty,H=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,E=(R,$,r)=>$ in R?Ee(R,$,{enumerable:!0,configurable:!0,writable:!0,value:r}):R[$]=r,w=(R,$)=>{for(var r in $||($={}))C.call($,r)&&E(R,r,$[r]);if(H)for(var r of H($))s.call($,r)&&E(R,r,$[r]);return R},I=(R,$,r)=>new Promise((a,c)=>{var u=S=>{try{m(r.next(S))}catch(Y){c(Y)}},d=S=>{try{m(r.throw(S))}catch(Y){c(Y)}},m=S=>S.done?a(S.value):Promise.resolve(S.value).then(u,d);m((r=r.apply(R,$)).next())}),h=()=>{const R={getCode:ue.o1,callback:$=>I(void 0,null,function*(){return yield(0,ue.c0)($)}),validateName:ue.Ol};return v.createElement(fe,w({},R))}},36785:function(it,ie,t){t.d(ie,{o2:function(){return p},yT:function(){return T}});var v=t(80702),B=t(33166);const P=B.i.map(x=>`${x}-inverse`),g=["success","processing","error","default","warning"];function p(x){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,v.Z)(P),(0,v.Z)(B.i)).includes(x):B.i.includes(x)}function T(x){return g.includes(x)}},79676:function(it,ie,t){t.d(ie,{Z:function(){return T}});var v=t(19447);function B(x,z,V,N){if(N===!1)return{adjustX:!1,adjustY:!1};const te=N&&typeof N=="object"?N:{},re={};switch(x){case"top":case"bottom":re.shiftX=z.dropdownArrowOffset*2+V;break;case"left":case"right":re.shiftY=z.dropdownArrowOffsetVertical*2+V;break}const Q=Object.assign(Object.assign({},re),te);return Q.shiftX||(Q.adjustX=!0),Q.shiftY||(Q.adjustY=!0),Q}const P={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},g={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},p=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function T(x){const{arrowWidth:z,autoAdjustOverflow:V,arrowPointAtCenter:N,offset:te,borderRadius:re,visibleFirst:Q}=x,A=z/2,de={};return Object.keys(P).forEach(se=>{const me=N&&g[se]||P[se],le=Object.assign(Object.assign({},me),{offset:[0,0]});switch(de[se]=le,p.has(se)&&(le.autoArrow=!1),se){case"top":case"topLeft":case"topRight":le.offset[1]=-A-te;break;case"bottom":case"bottomLeft":case"bottomRight":le.offset[1]=A+te;break;case"left":case"leftTop":case"leftBottom":le.offset[0]=-A-te;break;case"right":case"rightTop":case"rightBottom":le.offset[0]=A+te;break}const J=(0,v.fS)({contentRadius:re,limitVerticalRadius:!0});if(N)switch(se){case"topLeft":case"bottomLeft":le.offset[0]=-J.dropdownArrowOffset-A;break;case"topRight":case"bottomRight":le.offset[0]=J.dropdownArrowOffset+A;break;case"leftTop":case"rightTop":le.offset[1]=-J.dropdownArrowOffset-A;break;case"leftBottom":case"rightBottom":le.offset[1]=J.dropdownArrowOffset+A;break}le.overflow=B(se,J,z,V),Q&&(le.htmlRegion="visibleFirst")}),de}},19080:function(it,ie,t){t.d(ie,{F:function(){return p},Z:function(){return g}});var v=t(92310),B=t.n(v);const P=null;function g(T,x,z){return B()({[`${T}-status-success`]:x==="success",[`${T}-status-warning`]:x==="warning",[`${T}-status-error`]:x==="error",[`${T}-status-validating`]:x==="validating",[`${T}-has-feedback`]:z})}const p=(T,x)=>x||T},78241:function(it,ie,t){t.d(ie,{default:function(){return Ze}});var v=t(80702),B=t(92310),P=t.n(B),g=t(77900),p=t(59301),T=t(62892),x=t(32441);function z(o){const[j,Z]=p.useState(o);return p.useEffect(()=>{const W=setTimeout(()=>{Z(o)},o.length?0:10);return()=>{clearTimeout(W)}},[o]),j}var V=t(17313),N=t(29878),te=t(8378),re=t(37613),Q=t(83116),de=o=>{const{componentCls:j}=o,Z=`${j}-show-help`,W=`${j}-show-help-item`;return{[Z]:{transition:`opacity ${o.motionDurationSlow} ${o.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[W]:{overflow:"hidden",transition:`height ${o.motionDurationSlow} ${o.motionEaseInOut}, +`;Q(A);var de="rc-slider-captcha";function se(e){var n=0,i=0;return typeof e.clientX=="number"&&typeof e.clientY=="number"?(n=e.clientX,i=e.clientY):e.touches&&e.touches[0]?(n=e.touches[0].clientX,i=e.touches[0].clientY):e.changedTouches&&e.changedTouches[0]&&(n=e.changedTouches[0].clientX,i=e.changedTouches[0].clientY),{clientX:n,clientY:i}}function me(e,n){if(n===void 0&&(n={}),e)for(var i in n)e.style[i]=n[i]}var le=typeof window=="object"&&window&&typeof document=="object"&&document&&window.document===document&&!!document.addEventListener,J=le&&"onpointerdown"in window,D=le&&"ontouchstart"in window,K=function(e){return e==null?void 0:e.scrollTop};function l(e,n){return typeof e=="number"&&!Number.isNaN(e)&&typeof n=="number"&&n>0?Number(e.toFixed(n)):e}var f="".concat(de,"-button"),L=function(e){var n,i=e.className,O=e.disabled,M=e.active,X=e.success,ye=e.error,oe=e.verify,_e=e.buttonRef,ut=(0,v._T)(e,["className","disabled","active","success","error","verify","buttonRef"]);return g.createElement("span",(0,v.pi)({className:P()(f,i,(n={},n["".concat(f,"-disabled")]=O,n["".concat(f,"-active")]=M,n["".concat(f,"-verify")]=oe,n["".concat(f,"-success")]=X,n["".concat(f,"-error")]=ye,n["".concat(f,"-pc")]=!D,n)),ref:_e},ut))};L.displayName="SliderButton";var ne=function(e){return g.createElement("svg",(0,v.pi)({viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),g.createElement("path",{d:"M116.9408 561.4592m0-40.96l0 0q0-40.96 40.96-40.96l573.44 0q40.96 0 40.96 40.96l0 0q0 40.96-40.96 40.96l-573.44 0q-40.96 0-40.96-40.96Z"}),g.createElement("path",{d:"M769.82272 519.43424l-203.22304-203.22304a40.96 40.96 0 1 1 57.91744-57.91744l231.71072 231.71072a40.96 40.96 0 0 1 0.45056 58.44992L624.9472 780.12416a40.96 40.96 0 0 1-57.93792-57.91744l202.79296-202.79296z"}))},fe=function(e){return g.createElement("svg",(0,v.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),g.createElement("path",{d:"M864.554667 268.501333a42.666667 42.666667 0 0 1 0 60.330667L412.032 781.397333a42.453333 42.453333 0 0 1-22.613333 11.818667l-5.034667 0.597333H379.306667a42.496 42.496 0 0 1-27.648-12.416l-211.2-211.2a42.666667 42.666667 0 1 1 60.330666-60.330666l180.992 180.992 422.4-422.4a42.666667 42.666667 0 0 1 60.330667 0z"}))},ue=function(e){return g.createElement("svg",(0,v.pi)({viewBox:"0 0 120 120",width:"1em",height:"1em"},e),g.createElement("defs",null,g.createElement("line",{id:"l",x1:"60",x2:"60",y1:"7",y2:"27",stroke:"currentColor",strokeWidth:"11",strokeLinecap:"round"})),g.createElement("g",null,g.createElement("use",{xlinkHref:"#l",opacity:".27"}),g.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(30 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(60 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(90 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(120 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(150 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".37",transform:"rotate(180 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".46",transform:"rotate(210 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".56",transform:"rotate(240 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".66",transform:"rotate(270 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".75",transform:"rotate(300 60,60)"}),g.createElement("use",{xlinkHref:"#l",opacity:".85",transform:"rotate(330 60,60)"})))},Ee=function(e){return g.createElement("svg",(0,v.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),g.createElement("path",{d:"M866.133333 573.013333a42.666667 42.666667 0 0 0-53.333333 27.733334A304.64 304.64 0 0 1 519.68 810.666667 302.933333 302.933333 0 0 1 213.333333 512a302.933333 302.933333 0 0 1 306.346667-298.666667 309.76 309.76 0 0 1 198.4 71.253334l-92.586667-15.36a42.666667 42.666667 0 0 0-49.066666 35.413333 42.666667 42.666667 0 0 0 35.413333 49.066667l180.906667 29.866666h7.253333a42.666667 42.666667 0 0 0 14.506667-2.56 14.08 14.08 0 0 0 4.266666-2.56 33.28 33.28 0 0 0 8.533334-4.693333l3.84-4.693333c0-2.133333 3.84-3.84 5.546666-6.4s0-4.266667 2.133334-5.973334a57.173333 57.173333 0 0 0 2.986666-7.68l32-170.666666a42.666667 42.666667 0 0 0-85.333333-16.213334l-11.52 61.866667A392.96 392.96 0 0 0 519.68 128 388.266667 388.266667 0 0 0 128 512a388.266667 388.266667 0 0 0 391.68 384A389.12 389.12 0 0 0 896 626.346667a42.666667 42.666667 0 0 0-29.866667-53.333334z"}))},H=function(e){return g.createElement("svg",(0,v.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e),g.createElement("path",{d:"M572.96896 524.6976l217.23136 217.25184a40.96 40.96 0 1 1-57.93792 57.91744L515.072 582.63552l-212.3776 212.3776a40.96 40.96 0 1 1-57.9584-57.91744l212.39808-212.3776-217.21088-217.23136a40.96 40.96 0 1 1 57.91744-57.91744l217.23136 217.21088L737.0752 244.736a40.96 40.96 0 1 1 57.93792 57.91744L572.96896 524.71808z"}))},C=function(e){return g.createElement("svg",(0,v.pi)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16"},e),g.createElement("path",{d:"M.002 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2zm1 9v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9.5l-3.777-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062zm5-6.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"}))},s="".concat(de,"-icon"),E=function(e){var n,i=e.className,O=e.spin,M=(0,v._T)(e,["className","spin"]);return g.createElement("span",(0,v.pi)({className:P()(s,(n={},n["".concat(s,"-spin")]=O,n),i)},M))},w={arrowRight:g.createElement(ne,null),check:g.createElement(fe,null),loading:g.createElement(ue,null),refresh:g.createElement(Ee,null),x:g.createElement(H,null),imageFill:g.createElement(C,null)},I=function(e){var n=e.type,i=(0,v._T)(e,["type"]);return g.createElement(E,(0,v.pi)({},i),w[n])},h;(function(e){e[e.Default=1]="Default",e[e.Loading=2]="Loading",e[e.Moving=3]="Moving",e[e.Verify=4]="Verify",e[e.Success=5]="Success",e[e.Error=6]="Error",e[e.LoadFailed=7]="LoadFailed"})(h||(h={}));var R="".concat(de,"-control"),$=40,r=2,a=function(e){var n,i=e.status,O=i===void 0?h.Default:i,M=e.isLimitErrors,X=e.tipText,ye=e.tipIcon,oe=e.sliderButtonProps,_e=e.indicatorProps,ut=e.controlRef,gt=(0,v._T)(e,["status","isLimitErrors","tipText","tipIcon","sliderButtonProps","indicatorProps","controlRef"]),Lt=(0,g.useRef)(null),rt=(0,g.useRef)(null),Ft=(0,g.useRef)(null),dt=(0,g.useRef)({}),at=(0,g.useMemo)(function(){return(0,v.pi)({default:"\u5411\u53F3\u62D6\u52A8\u6ED1\u5757\u586B\u5145\u62FC\u56FE",loading:"\u52A0\u8F7D\u4E2D...",moving:null,verifying:null,success:null,error:null,errors:g.createElement(g.Fragment,null,g.createElement(I,{type:"x",style:{fontSize:20}})," \u5931\u8D25\u8FC7\u591A\uFF0C\u70B9\u51FB\u91CD\u8BD5"),loadFailed:"\u52A0\u8F7D\u5931\u8D25\uFF0C\u70B9\u51FB\u91CD\u8BD5"},X)},[X]),Zt=(0,g.useMemo)(function(){return(0,v.pi)({default:g.createElement(I,{type:"arrowRight"}),loading:g.createElement(I,{type:"loading",spin:!0}),error:g.createElement(I,{type:"x"}),success:g.createElement(I,{type:"check"})},ye)},[ye]),wt=(0,g.useMemo)(function(){var Ge;return Ge={},Ge[h.Default]=[at.default,Zt.default],Ge[h.Loading]=[at.loading,Zt.default],Ge[h.Moving]=[at.moving,Zt.default],Ge[h.Verify]=[at.verifying,Zt.loading],Ge[h.Error]=[at.error,Zt.error],Ge[h.Success]=[at.success,Zt.success],Ge[h.LoadFailed]=[at.loadFailed,Zt.default],Ge},[at,Zt]),pt=function(Ge){var Jt;return(Ge||typeof dt.current.sliderButtonWidth!="number")&&(dt.current.sliderButtonWidth=((Jt=rt.current)===null||Jt===void 0?void 0:Jt.clientWidth)||$),dt.current.sliderButtonWidth},we=function(Ge){if(Ge||typeof dt.current.indicatorBorderWidth!="number")if(Ft.current){var Jt=window.getComputedStyle(Ft.current);dt.current.indicatorBorderWidth=parseInt(Jt.borderLeftWidth)+parseInt(Jt.borderRightWidth)}else dt.current.indicatorBorderWidth=r;return dt.current.indicatorBorderWidth},Rt=function(Ge){var Jt;return(Ge||!dt.current.rect)&&Lt.current&&(dt.current.rect=(Jt=Lt.current)===null||Jt===void 0?void 0:Jt.getBoundingClientRect()),dt.current.rect};(0,g.useImperativeHandle)(ut,function(){return{getSliderButtonWidth:pt,getIndicatorBorderWidth:we,getRect:Rt,updateLeft:function(Ge){var Jt=pt(),Ar=we();me(rt.current,{left:Ge+"px"}),me(Ft.current,{width:Ge+Jt+Ar+"px"})}}},[]);var Ot=O===h.Loading,sr=O===h.Moving,cr=O===h.Verify,vr=O===h.Success,mr=O===h.Error,br=O===h.LoadFailed,xr=M?at.errors:wt[O][0];return g.createElement("div",(0,v.pi)({},gt,{className:P()(R,(n={},n["".concat(R,"-loading")]=Ot,n["".concat(R,"-moving")]=sr,n["".concat(R,"-verify")]=cr,n["".concat(R,"-success")]=vr,n["".concat(R,"-error")]=mr,n["".concat(R,"-errors")]=M,n["".concat(R,"-load-failed")]=br,n),gt.className),ref:Lt}),g.createElement("div",(0,v.pi)({},_e,{className:P()("".concat(R,"-indicator"),_e==null?void 0:_e.className),ref:Ft})),g.createElement(L,(0,v.pi)({},oe,{className:P()("".concat(R,"-button"),oe==null?void 0:oe.className),disabled:Ot,active:sr,verify:cr,success:vr,error:mr,buttonRef:rt}),wt[O][1]),g.createElement("div",{className:P()("".concat(R,"-tips")),style:xr?{}:{display:"none"}},xr))},c="".concat(de,"-loading"),u=function(e){var n=e.icon,i=n===void 0?g.createElement(I,{type:"loading",spin:!0}):n,O=e.text,M=O===void 0?"\u52A0\u8F7D\u4E2D...":O,X=e.className,ye=(0,v._T)(e,["icon","text","className"]);return g.createElement("div",(0,v.pi)({className:P()(c,X)},ye),g.createElement("div",{className:"".concat(c,"-icon")},i),g.createElement("div",{className:"".concat(c,"-text")},M))},d="".concat(de,"-jigsaw"),m={bgSize:{width:320,height:160},puzzleSize:{width:60,left:0},loadFailedIcon:g.createElement(I,{type:"imageFill"}),refreshIcon:g.createElement(I,{type:"refresh"})},S=function(e){var n,i,O=e.status,M=e.bgSize,X=M===void 0?m.bgSize:M,ye=e.puzzleSize,oe=ye===void 0?m.puzzleSize:ye,_e=e.bgUrl,ut=e.puzzleUrl,gt=e.bgImgProps,Lt=e.puzzleImgProps,rt=e.jigsawRef,Ft=e.loadingBoxProps,dt=e.loadFailedIcon,at=dt===void 0?m.loadFailedIcon:dt,Zt=e.showRefreshIcon,wt=Zt===void 0?!0:Zt,pt=e.refreshIcon,we=pt===void 0?m.refreshIcon:pt,Rt=e.disabledRefresh,Ot=e.onRefresh,sr=e.style,cr=e.className,vr=e.children,mr=(0,v._T)(e,["status","bgSize","puzzleSize","bgUrl","puzzleUrl","bgImgProps","puzzleImgProps","jigsawRef","loadingBoxProps","loadFailedIcon","showRefreshIcon","refreshIcon","disabledRefresh","onRefresh","style","className","children"]),br=(0,g.useRef)(null);if((0,g.useImperativeHandle)(rt,function(){return{updateLeft:function(Ge){me(br.current,{left:Ge+"px"})}}}),O===h.Loading)return g.createElement(u,(0,v.pi)({},Ft,{style:(0,v.pi)((0,v.pi)({},Ft==null?void 0:Ft.style),X)}));if(O===h.LoadFailed||!_e||!ut)return g.createElement("div",{className:"".concat(de,"-load-failed"),style:X},at);var xr=O===h.Verify||O===h.Error||O===h.Success;return g.createElement("div",(0,v.pi)({className:P()(d,(n={},n["".concat(d,"-stop")]=xr,n),cr),style:(0,v.pi)((0,v.pi)({},sr),X)},mr),g.createElement("img",(0,v.pi)({src:_e,alt:""},gt,{className:P()("".concat(d,"-bg"),gt==null?void 0:gt.className),style:(0,v.pi)((0,v.pi)({},gt==null?void 0:gt.style),X)})),g.createElement("img",(0,v.pi)({src:ut,alt:""},Lt,{className:P()("".concat(d,"-puzzle"),Lt==null?void 0:Lt.className),style:(0,v.pi)((0,v.pi)({},Lt==null?void 0:Lt.style),oe),ref:br})),wt&&O!==h.Success&&we&&g.createElement("div",{className:P()("".concat(d,"-refresh"),(i={},i["".concat(d,"-refresh-disabled")]=O===h.Verify||Rt,i)),onClick:function(){O!==h.Verify&&!Rt&&(Ot==null||Ot())}},we),vr)},Y=J?{start:"pointerdown",move:"pointermove",end:"pointerup",cancel:"pointercancel"}:D?{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"}:{start:"mousedown",move:"mousemove",end:"mouseup",cancel:"touchcancel"},Re=J?"onPointerDown":D?"onTouchStart":"onMouseDown",U;(function(e){e.Puzzle="puzzle",e.Button="button"})(U||(U={}));var ge=function(e){var n,i,O,M=e.mode,X=M===void 0?"embed":M,ye=e.limitErrorCount,oe=ye===void 0?0:ye,_e=e.tipText,ut=e.tipIcon,gt=e.refreshIcon,Lt=e.bgSize,rt=e.puzzleSize,Ft=e.request,dt=e.autoRequest,at=dt===void 0?!0:dt,Zt=e.onVerify,wt=e.autoRefreshOnError,pt=wt===void 0?!0:wt,we=e.actionRef,Rt=e.showRefreshIcon,Ot=Rt===void 0?!0:Rt,sr=e.jigsawContent,cr=e.errorHoldDuration,vr=cr===void 0?500:cr,mr=e.loadingDelay,br=mr===void 0?0:mr,xr=e.placement,Ge=xr===void 0?"top":xr,Jt=e.loadingBoxProps,Ar=e.sliderButtonProps,ve=e.precision,je=ve===void 0?7:ve,Xe=e.className,bt=e.style,He=e.styles,en=z(),Nr=en[0],tn=en[1],Tr=z(h.Default),Mr=Tr[0],ur=Tr[1],on=N(Mr),rn=(0,g.useRef)(null),Er=(0,g.useRef)(null),Gr=(0,g.useRef)(null),Zr=(0,g.useMemo)(function(){return X==="float"||X==="slider"?X:"embed"},[X]),pn=(0,g.useMemo)(function(){if(gt!==void 0)return gt;if((ut==null?void 0:ut.refresh)!==void 0)return ut.refresh},[gt,ut]),nn=(0,g.useMemo)(function(){return(0,v.pi)((0,v.pi)({},m.bgSize),Lt)},[Lt]),Sr=(0,g.useMemo)(function(){return(0,v.pi)((0,v.pi)({},m.puzzleSize),rt)},[rt]),Wr=(0,g.useMemo)(function(){return Ge==="bottom"?"top":"bottom"},[Ge]),Oe=(0,g.useRef)({isPressed:!1,trail:[],errorCount:0,startInfo:{x:0,y:0,timestamp:0},currentTargetType:U.Button,floatTransitionTimer:null,floatDelayShowTimer:null,floatDelayHideTimer:null,refreshTimer:null,loadingTimer:null,sliderButtonWidth:40,indicatorBorderWidth:2,ratio:1,buttonMaxDistance:0,puzzleMaxDistance:0}),an=Zr==="slider",bn=typeof br=="number"&&br>0,sn=Mr===h.Error&&oe>0&&Oe.current.errorCount>=oe,Sn=function(){Oe.current.buttonMaxDistance=nn.width-Oe.current.sliderButtonWidth-Oe.current.indicatorBorderWidth,Oe.current.puzzleMaxDistance=nn.width-Sr.width-Sr.left},xn=function(){var qe;return((qe=rn.current)===null||qe===void 0?void 0:qe.getRect(!0).height)||42},yn=function(){return(0,v.mG)(void 0,void 0,void 0,function(){var qe;return(0,v.Jh)(this,function($t){switch($t.label){case 0:if(an)return[2];if(!Ft)return[3,4];bn?Oe.current.loadingTimer=setTimeout(function(){ur(h.Loading)},br):ur(h.Loading),$t.label=1;case 1:return $t.trys.push([1,3,,4]),[4,Ft()];case 2:return qe=$t.sent(),bn&&clearTimeout(Oe.current.loadingTimer),tn(qe),ur(h.Default),[3,4];case 3:return $t.sent(),bn&&clearTimeout(Oe.current.loadingTimer),ur(h.LoadFailed),[3,4];case 4:return[2]}})})},wn=function(qe){qe===void 0&&(qe=300),!(Zr!=="float"||on.current===h.Success)&&(clearTimeout(Oe.current.floatTransitionTimer),clearTimeout(Oe.current.floatDelayHideTimer),clearTimeout(Oe.current.floatDelayShowTimer),Oe.current.floatDelayShowTimer=setTimeout(function(){var $t;me(Gr.current,{display:"block"}),K(Gr.current);var Hr=xn()+"px";me(Gr.current,($t={},$t[Wr]=Hr,$t.opacity="1",$t))},qe))},cn=function(qe){qe===void 0&&(qe=300),Zr==="float"&&(clearTimeout(Oe.current.floatTransitionTimer),clearTimeout(Oe.current.floatDelayHideTimer),clearTimeout(Oe.current.floatDelayShowTimer),Oe.current.floatDelayHideTimer=setTimeout(function(){var $t,Hr=xn()/2+"px";me(Gr.current,($t={},$t[Wr]=Hr,$t.opacity="0",$t)),Oe.current.floatTransitionTimer=setTimeout(function(){me(Gr.current,{display:"none"})},300)},qe))},Pn=function(qe){var $t;an||($t=Er.current)===null||$t===void 0||$t.updateLeft(qe)},Rn=function(){var qe;Oe.current.isPressed=!1,ur(h.Default),(qe=rn.current)===null||qe===void 0||qe.updateLeft(0),Pn(Sr.left)},Cn=function(qe){qe===void 0&&(qe=!1),qe&&(Oe.current.errorCount=0),clearTimeout(Oe.current.refreshTimer),on.current!==h.Loading&&(Rn(),yn())},Tn=function(){(sn||Mr===h.LoadFailed)&&Cn(sn)},Mn=function(){D||wn()},zn=function(){D||cn()},jn=function(qe){Oe.current.currentTargetType=U.Puzzle,In(qe)},Bn=function(qe){Oe.current.currentTargetType=U.Button,In(qe)},In=function(qe){if(on.current===h.Default){qe.preventDefault();var $t=se(qe),Hr=$t.clientX,un=$t.clientY;Oe.current.startInfo={x:Hr,y:un,timestamp:new Date().getTime()},Oe.current.trail=[[Hr,un]],rn.current&&(Oe.current.sliderButtonWidth=rn.current.getSliderButtonWidth(!0),Oe.current.indicatorBorderWidth=rn.current.getIndicatorBorderWidth(!0)),Sn(),Oe.current.ratio=Oe.current.puzzleMaxDistance/Oe.current.buttonMaxDistance,Oe.current.currentTargetType===U.Puzzle&&(Oe.current.ratio=1/Oe.current.ratio),(D||qe.pointerType==="pen"||qe.pointerType==="touch")&&wn(0),Oe.current.isPressed=!0,document.addEventListener(Y.move,$n),document.addEventListener(Y.end,En),document.addEventListener(Y.cancel,En)}},$n=function(qe){var $t;if(Oe.current.isPressed){qe.preventDefault();var Hr=se(qe),un=Hr.clientX,On=Hr.clientY,Dr=un-Oe.current.startInfo.x;Oe.current.trail.push([un,On]),on.current!==h.Moving&&Dr>0&&ur(h.Moving);var Lr=Dr,dn=Dr;Oe.current.currentTargetType===U.Puzzle?(Dr=Math.max(0,Math.min(Dr,Oe.current.puzzleMaxDistance)),Lr=Dr+Sr.left,dn=Dr*Oe.current.ratio):(Dr=Math.max(0,Math.min(Dr,Oe.current.buttonMaxDistance)),dn=Dr,Lr=Dr*Oe.current.ratio+Sr.left),($t=rn.current)===null||$t===void 0||$t.updateLeft(dn),Pn(Lr)}},En=function(qe){if(document.removeEventListener(Y.move,$n),document.removeEventListener(Y.end,En),document.removeEventListener(Y.cancel,En),!!Oe.current.isPressed){if(on.current!==h.Moving){Oe.current.isPressed=!1,D&&cn();return}if(Zt){Oe.current.isPressed=!1,ur(h.Verify);var $t=new Date().getTime(),Hr=se(qe),un=Hr.clientX,On=Hr.clientY,Dr=On-Oe.current.startInfo.y,Lr=un-Oe.current.startInfo.x,dn=Lr;Oe.current.currentTargetType===U.Puzzle?(Lr=Math.max(0,Math.min(Lr,Oe.current.puzzleMaxDistance)),dn=Lr*Oe.current.ratio):(Lr=Math.max(0,Math.min(Lr,Oe.current.buttonMaxDistance)),dn=Lr,Lr*=Oe.current.ratio),Zt({x:l(Lr,je),y:l(Dr,je),sliderOffsetX:l(dn,je),duration:$t-Oe.current.startInfo.timestamp,trail:Oe.current.trail,targetType:Oe.current.currentTargetType,errorCount:Oe.current.errorCount}).then(function(){Oe.current.errorCount=0,ur(h.Success),cn()}).catch(function(){Oe.current.errorCount+=1,ur(h.Error),(D||qe.pointerType==="pen"||qe.pointerType==="touch")&&cn(),(oe<=0||Oe.current.errorCount0?(M.forEach(function(X){X.wrap.apply(X.context,i)}),!0):!1},e}(),he={},be=function(){function e(n){n===void 0&&(n="default"),this.scope=n,he[this.scope]||(he[this.scope]={}),this.data=he[this.scope]}return e.prototype.getItem=function(n){return n in this.data?this.data[n]:null},e.prototype.setItem=function(n,i){this.data[n]=i},e.prototype.removeItem=function(n){delete this.data[n]},e.prototype.clear=function(){he[this.scope]={},this.data=he[this.scope]},e}();function Te(){return Math.random().toString(16).substring(2,8)}function b(e){try{var n=typeof e=="object"&&e!==null&&!!e.setItem&&!!e.getItem&&!!e.removeItem;if(n){var i=Te()+new Date().getTime(),O="1";if(e.setItem(i,O),e.getItem(i)!==O)return!1;e.removeItem(i)}return n}catch(M){return console.error("[cache2] ".concat(e," is not supported. The default memory cache will be used.")),!1}}function F(e,n){try{return JSON.parse(e,n)}catch(i){return e}}function y(e,n){return JSON.stringify(e,n)}var G=function(){function e(n,i){i===void 0&&(i={});var O=n?b(n):!1;this.options=(0,v.pi)({needParsed:O,prefix:""},i),this.storage=O?n:new be(this.options.memoryScope)}return e.prototype.getKey=function(n){return this.options.prefix+n},e.prototype.get=function(n){var i=this.storage.getItem(this.getKey(n));return this.options.needParsed?F(i,this.options.reviver):i},e.prototype.set=function(n,i){this.storage.setItem(this.getKey(n),this.options.needParsed?y(i,this.options.replacer):i)},e.prototype.del=function(n){this.storage.removeItem(this.getKey(n))},e.prototype.clear=function(){typeof this.storage.clear=="function"&&this.storage.clear()},e}(),_="cache2_",k="default",ee=function(e){(0,v.ZT)(n,e);function n(i,O){var M=e.call(this)||this,X=k,ye;return typeof i=="string"?X=i||k:typeof i=="object"&&(ye=i),!ye&&typeof O=="object"&&(ye=O),M.options=(0,v.pi)({max:-1,stdTTL:0,maxStrategy:"limited",checkperiod:0,prefix:_},ye),M.storage=new G(M.options.storage,(0,v.pi)({memoryScope:X},M.options)),M.cacheKey=X,M.startCheckperiod(),M}return n.prototype._check=function(i,O){var M=!0;return O.t!==0&&O.t0?M+X:0;return{v:i,t:ye,n:M}},n.prototype._isLimited=function(i){return this.options.max>-1&&i>=this.options.max},n.prototype._getReplaceKey=function(i,O){var M=i[0];return i.forEach(function(X){(O[X].t0&&this.setCacheValues(M),X},n.prototype.clear=function(){this.storage.del(this.cacheKey)},n.prototype.keys=function(){var i=this,O=this.cacheValues,M=Object.keys(O);return M.filter(function(X){return i._check(X,O[X])})},n.prototype.has=function(i){var O=this.cacheValues[i];return!!(O&&this._check(i,O))},n.prototype.take=function(i){var O,M=this.cacheValues[i];return M&&this._check(i,M)&&(O=M.v,this.del(i)),O},n.prototype.ttl=function(i,O){var M=this.cacheValues,X=M[i];return X&&this._check(i,X)?(M[i]=this._wrap(X.v,O),!0):!1},n.prototype.getTtl=function(i){var O=this.cacheValues,M=O[i];if(M&&this._check(i,M))return O[i].t},n.prototype.getLastModified=function(i){var O=this.cacheValues,M=O[i];if(M&&this._check(i,M))return O[i].n},n.prototype.startCheckperiod=function(){var i=this;this.keys(),this.options.checkperiod>0&&(clearTimeout(this._checkTimeout),this._checkTimeout=setTimeout(function(){i.startCheckperiod()},this.options.checkperiod))},n.prototype.stopCheckperiod=function(){clearTimeout(this._checkTimeout)},n}(pe),q=void 0,xe="undefined",Ce="object",Me=Object.prototype,Pe=Me.toString,De=Me.hasOwnProperty,Be=Me.propertyIsEnumerable,ze=Object.getOwnPropertySymbols,Le=Object.getPrototypeOf,tt=Object.keys,nt=Function.prototype,ft=nt.toString,Ye=typeof Symbol!==xe,Se=Ye?Symbol.prototype:q,Bt=Array.prototype,_t=Bt.slice,Tt=Math.min,xt=Math.max,dr=Math.random,Wt=Math.floor,kt=Math.ceil,ar=Math.abs,fr=Number.isFinite,yt=Number.isInteger,At=Number.isSafeInteger,Ct=typeof globalThis===Ce&&globalThis,Gt=typeof t.g===Ce&&t.g,st=typeof self===Ce&&self,qt=Number.MAX_SAFE_INTEGER||9007199254740991,Et=Number.MIN_SAFE_INTEGER||-9007199254740991,ir=4294967295,Qe="[object ",Kr=Qe+"BigInt]",Xr=Qe+"Number]",Or=Qe+"Boolean]",er=Qe+"String]",Ie=Qe+"Date]",Ze=Qe+"RegExp]",o=Qe+"Symbol]",j=Qe+"Error]",Z=Qe+"ArrayBuffer]",W=Qe+"Arguments]",ae=Qe+"Array]",ce=["Function","AsyncFunction","GeneratorFunction","Proxy"].map(function(e){return Qe+e+"]"}),Ae=Qe+"WeakSet]",Je=Qe+"Blob]",Ne=Qe+"File]",Ve=Qe+"DOMException]",$e=Qe+"Object]",et=Qe+"DataView]",vt=Qe+"Map]",Mt=Qe+"Promise]",zt=Qe+"Set]",Pt=Qe+"WeakMap]",Ht=Qe+"Window]";function Ke(e){return Pe.call(e)}function We(e){return typeof e=="string"||Ke(e)===er}var It=function(){function e(n,i){i===void 0&&(i="uh_async_memo"),this.promiseCache={},this.cache=new ee(i,n)}return e.prototype.run=function(n,i,O){var M=this;if(!i||!We(i))return n();var X=(0,v.pi)({persisted:!0},O);if(X.persisted){var ye=this.cache.get(i);if(ye)return Promise.resolve(ye)}return this.promiseCache[i]||(this.promiseCache[i]=n().then(function(oe){return delete M.promiseCache[i],M.cache.set(i,oe,X.ttl),oe}).catch(function(oe){return delete M.promiseCache[i],Promise.reject(oe)})),this.promiseCache[i]},e}(),ot=typeof Blob!==xe;function Ue(e){return ot&&e instanceof Blob?!0:Ke(e)===Je}function lt(e){return function(){return e}}function tr(){}var Kt=typeof URL!="undefined",Pr=void 0,rr=Object.keys,Vt=Object.values,nr=Kt?URL.createObjectURL:lt(""),Rr=Kt?URL.revokeObjectURL:tr;function St(e,n){var i=n||{},O=i.method,M=O===void 0?"get":O,X=i.data,ye=X===void 0?null:X,oe=i.timeout,_e=i.headers,ut=i.withCredentials,gt=ut===void 0?!1:ut,Lt=i.async,rt=Lt===void 0?!0:Lt,Ft=i.user,dt=Ft===void 0?null:Ft,at=i.password,Zt=at===void 0?null:at,wt=i.responseType,pt=i.onReadyStateChange,we=i.onLoadStart,Rt=i.onProgress,Ot=i.onAbort,sr=i.onTimeout,cr=i.onError,vr=i.onLoad,mr=i.onLoadEnd;return new Promise(function(br,xr){var Ge=new XMLHttpRequest;Ge.open(M.toLowerCase(),e,rt,dt,Zt),pt&&(Ge.onreadystatechange=pt),typeof oe=="number"&&oe>0&&(Ge.timeout=oe),Ge.withCredentials=gt,wt&&(Ge.responseType=wt),typeof _e=="object"&&rr(_e).map(function(Xe){Ge.setRequestHeader(Xe,_e[Xe])});var Jt=function(Xe){return function(bt){br(bt),Xe==null||Xe.call(Ge,bt)}},Ar=function(Xe){return function(bt){xr(bt),Xe==null||Xe.call(Ge,bt)}},ve={loadstart:we,progress:Rt,abort:Ar(Ot),timeout:Ar(sr),error:Ar(cr),load:Jt(vr),loadend:mr},je=rr(ve);je.forEach(function(Xe){var bt=ve[Xe];bt&&Ge.addEventListener(Xe,bt)}),Ge.send(ye)})}var Nt=[200,304];function hr(e,n){return new Promise(function(i,O){Ue(e)?i(e):St(e,(0,v.pi)({responseType:"blob"},n)).then(function(M){var X=M.target.status;if(Nt.indexOf(X)!==-1)i(M.target.response);else{var ye=new Error("The file does not support get requests, responseStatus ".concat(X,", '").concat(e,"'."));console.error(ye),O(ye)}}).catch(function(M){console.error(new Error("Failed to request file. ".concat(M))),O(M)})})}function zr(e){return new Promise(function(n,i){var O=Ue(e),M=O?nr(e):e,X=new Image;O||(X.crossOrigin="anonymous"),X.onload=function(){n(X)},X.onerror=function(ye){O&&Rr(M),console.error("[loadImage] The image load failed, '".concat(e,"'.")),i(ye)},X.src=M})}function or(e,n){return hr(e,n).then(function(i){return zr(i).then(function(O){return{blob:i,image:O}})})}function mt(e){return e!==null&&typeof e=="object"}function ke(e){return typeof e=="function"||mt(e)}function gr(e){return typeof e=="symbol"||Ke(e)===o}var pr=/^0b[01]+$/i,Xt=/^0o[0-7]+$/i,ht=/^[-+]0x[0-9a-f]+$/i;function Ut(e){if(typeof e=="number")return e;if(gr(e))return NaN;if(ke(e)&&(e=Number(e)),typeof e!="string")return e===0?e:+e;e=e.trim();var n=pr.test(e);return n||Xt.test(e)?parseInt(e.slice(2),n?2:8):ht.test(e)?NaN:+e}var Yt=17976931348623157e292;function Dt(e){if(!e)return e===0?e:0;if(e=Ut(e),e===1/0||e===-1/0){var n=e<0?-1:1;return n*Yt}return e===e?e:0}function Cr(e,n){e===void 0&&(e=0),n===void 0&&(n=1),e=Dt(e),n=Dt(n);var i=kt(Tt(e,n)||0),O=Wt(xt(e,n)||0);if(i>O){var M=i;i=O,O=M}return Wt(i+dr()*(O-i+1))}var jt=Math.PI,Fe;(function(e){e[e.None=0]="None",e[e.Outer=1]="Outer",e[e.Inner=2]="Inner"})(Fe||(Fe={}));var yr=[Fe.None,Fe.Outer,Fe.Inner];function ct(e){var n=e.length,i=Cr(0,n-1);return e[i]}function wr(e){var n={top:ct(yr),right:ct(yr),bottom:ct(yr),left:ct(yr)},i=Object.keys(n),O=["top","bottom"],M=["left","right"];if(n.top===Fe.Outer&&n.bottom===Fe.Outer?n[ct(O)]=Fe.Inner:n.top!==Fe.Outer&&n.bottom!==Fe.Outer&&(n[ct(O)]=Fe.Outer),n.left===Fe.Outer&&n.right===Fe.Outer?n[ct(M)]=Fe.Inner:n.left!==Fe.Outer&&n.right!==Fe.Outer&&(n[ct(M)]=Fe.Outer),e){var X=[],ye=[];i.forEach(function(oe){n[oe]===Fe.Inner?X.push(oe):n[oe]===Fe.None&&ye.push(oe)}),e===2?X.forEach(function(oe){return n[oe]=Fe.None}):e===3?X.length===0?n[ct(ye)]=Fe.Inner:X.length===2&&(n[ct(X)]=Fe.None):e==4&&ye.forEach(function(oe){return n[oe]=Fe.Inner})}return n}function jr(e,n){n===void 0&&(n={});var i=n.x,O=i===void 0?0:i,M=n.y,X=M===void 0?0:M,ye=n.w,oe=ye===void 0?60:ye,_e=n.h,ut=_e===void 0?60:_e,gt=n.needClosePath,Lt=gt===void 0?!0:gt,rt=n.points,Ft=n.margin,dt=Ft===void 0?0:Ft;dt=dt<=0?0:dt,(typeof rt=="number"||!rt)&&(rt=wr(rt));var at=(Math.min(oe,ut)-dt*2)*.15,Zt=Math.hypot(at,at),wt=Zt/2,pt=at+wt,we={x:O+dt,y:X+dt,w:oe-pt-dt*2,h:ut-pt-dt*2},Rt=we.w/2,Ot=we.h/2;rt.left===Fe.Outer&&(we.x+=pt),rt.top===Fe.Outer&&(we.y+=pt),e.beginPath(),e.lineWidth=2,e.moveTo(we.x,we.y),rt.top!==Fe.None&&(e.lineTo(we.x+Rt-wt,we.y),rt.top===Fe.Inner?e.arc(we.x+Rt,we.y+wt,at,1.25*jt,1.75*jt,!0):e.arc(we.x+Rt,we.y-wt,at,.75*jt,.25*jt)),e.lineTo(we.x+we.w,we.y),rt.right!==Fe.None&&(e.lineTo(we.x+we.w,we.y+Ot-wt),rt.right===Fe.Inner?e.arc(we.x+we.w-wt,we.y+Ot,at,1.75*jt,.25*jt,!0):e.arc(we.x+we.w+wt,we.y+Ot,at,1.25*jt,.75*jt)),e.lineTo(we.x+we.w,we.y+we.h),rt.bottom!==Fe.None&&(e.lineTo(we.x+Rt+wt,we.y+we.h),rt.bottom===Fe.Inner?e.arc(we.x+Rt,we.y+we.h-wt,at,.25*jt,.75*jt,!0):e.arc(we.x+Rt,we.y+we.h+wt,at,1.75*jt,1.25*jt)),e.lineTo(we.x,we.y+we.h),rt.left!==Fe.None&&(e.lineTo(we.x,we.y+Ot+wt),rt.left===Fe.Inner?e.arc(we.x+wt,we.y+Ot,at,.75*jt,1.25*jt,!0):e.arc(we.x-wt,we.y+Ot,at,.25*jt,1.75*jt)),e.lineTo(we.x,we.y),e.stroke(),Lt&&e.closePath()}function lr(e,n,i,O){return new Promise(function(M){n?e.toBlob(function(X){M(X?URL.createObjectURL(X):e.toDataURL(i,O))},i,O):M(e.toDataURL(i,O))})}var Ir=new It({max:5,maxStrategy:"replaced"});Ir.cache.on("del",function(e,n){try{n.image.src&&URL.revokeObjectURL(n.image.src)}catch(i){}});function kr(e){e?Ir.cache.del(e):Ir.cache.clear()}var Br=new WeakMap,Fr=function(e){if(!ke(e))return String(e);if(!Br.get(e)){var n="_"+Date.now();Br.set(e,n)}return Br.get(e)},$r={jpeg:"image/jpeg",png:"image/png"},Vr=[];function Qt(e){e.forEach(function(n){URL.revokeObjectURL(n)})}function Ur(e,n){n===void 0&&(n={});var i=n.borderWidth,O=i===void 0?2:i,M=n.borderColor,X=M===void 0?"rgba(255,255,255,0.7)":M,ye=n.fillColor,oe=ye===void 0?"rgba(255,255,255,0.7)":ye,_e=n.points,ut=n.width,gt=ut===void 0?60:ut,Lt=n.height,rt=Lt===void 0?60:Lt,Ft=n.x,dt=n.y,at=n.margin,Zt=at===void 0?2:at,wt=n.equalHeight,pt=wt===void 0?!0:wt,we=n.imageWidth,Rt=n.imageHeight,Ot=n.bgWidth,sr=n.bgHeight,cr=n.bgOffset,vr=cr===void 0?[0,0]:cr,mr=n.bgImageType,br=mr===void 0?$r.jpeg:mr,xr=n.quality,Ge=xr===void 0?.8:xr,Jt=n.format,Ar=Jt===void 0?"dataURL":Jt,ve=n.cacheImage,je=ve===void 0?!0:ve,Xe=n.autoRevokePreviousBlobUrl,bt=Xe===void 0?!0:Xe,He=n.ajaxOptions;return new Promise(function(en,Nr){var tn=document.createElement("canvas"),Tr=document.createElement("canvas"),Mr=tn.getContext("2d"),ur=Tr.getContext("2d"),on=je?Fr(e):void 0;Ir.run(function(){return or(e,He)},on).then(function(rn){var Er=rn.image;we&&(Er.width=we),Rt&&(Er.height=Rt);var Gr=typeof Ot=="number"&&Ot>0?Ot>gt?Ot:gt:Er.width,Zr=typeof sr=="number"&&sr>0?sr>rt?sr:rt:Er.height;tn.width=Gr,tn.height=Zr;var pn=Gr-gt,nn=Zr-rt,Sr=typeof Ft=="undefined"?Cr(gt,pn):Ft||0,Wr=typeof dt=="undefined"?Cr(0,nn):dt||0;Sr<0?Sr=0:Sr>pn&&(Sr=pn),Wr<0?Wr=0:Wr>nn&&(Wr=nn);var Oe=typeof _e=="number"||!_e?wr(_e):_e,an=typeof vr=="function"?vr(Er.width,Er.height):vr;Mr.strokeStyle=X,Mr.lineWidth=O,Mr.fillStyle=oe,jr(Mr,{x:Sr,y:Wr,w:gt,h:rt,points:Oe,margin:Zt}),Mr.fillStyle=oe,Mr.fill(),Mr.globalCompositeOperation="destination-over",Mr.drawImage(Er,an[0],an[1],Er.width,Er.height),Tr.width=Gr,Tr.height=Zr,ur.strokeStyle=X,ur.lineWidth=O,jr(ur,{x:Sr,y:Wr,w:gt,h:rt,points:Oe,margin:Zt}),ur.globalCompositeOperation="destination-over",ur.clip(),ur.drawImage(Er,an[0],an[1],Er.width,Er.height);var bn=ur.getImageData(Sr,Wr,gt,rt);ur.clearRect(0,0,Gr,Zr),Tr.width=gt,Tr.height=pt?Zr:rt,ur.putImageData(bn,0,pt?Wr:0);var sn=Ar==="blob",Sn=lr(Tr,sn,$r.png,Ge),xn=lr(tn,sn,br,Ge);Promise.all([Sn,xn]).then(function(yn){var wn=yn[0],cn=yn[1];bt&&(Vr.length&&(Qt(Vr),Vr.length=0),sn&&Vr.push(cn,wn)),en({puzzleUrl:wn,bgUrl:cn,x:Sr,y:pt?0:Wr})}).catch(Nr)}).catch(Nr)})}var hn=t(43418),fn=t(3113),vn=Object.defineProperty,Yr=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,Qr=(e,n,i)=>n in e?vn(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,ln=(e,n)=>{for(var i in n||(n={}))mn.call(n,i)&&Qr(e,i,n[i]);if(Yr)for(var i of Yr(n))gn.call(n,i)&&Qr(e,i,n[i]);return e},Jr=(e,n,i)=>new Promise((O,M)=>{var X=_e=>{try{oe(i.next(_e))}catch(ut){M(ut)}},ye=_e=>{try{oe(i.throw(_e))}catch(ut){M(ut)}},oe=_e=>_e.done?O(_e.value):Promise.resolve(_e.value).then(X,ye);oe((i=i.apply(e,n)).next())});const _r=({ModalProps:e,onFinish:n})=>{const[i,O]=(0,g.useState)(),M=(0,g.useRef)(),X=()=>Jr(void 0,null,function*(){const oe=`/images/VerifCodeBg/img${Math.floor(Math.random()*23)+1}.jpg`,_e=yield Ur(oe,{imageHeight:180,imageWidth:360});return O(_e),_e}),ye=oe=>Jr(void 0,null,function*(){return oe!=null&&oe.x&&oe.x>i.x-5&&oe.x{var oe;e!=null&&e.open&&M.current&&((oe=M.current)==null||oe.refresh())},[e==null?void 0:e.open,M]),g.createElement(hn.default,ln({},ln({title:"\u8BF7\u5B8C\u6210\u4E0B\u5217\u9A8C\u8BC1\u540E\u7EE7\u7EED",width:410,footer:null,centered:!0},e)),g.createElement(ge,{actionRef:M,request:X,onVerify:oe=>Jr(void 0,null,function*(){return ye(oe)}),bgSize:{width:360,height:180}}),g.createElement("div",{className:"flex mt10"},g.createElement(fn.ZP,{style:{paddingLeft:"0px",paddingRight:"0px"},type:"link",icon:g.createElement("i",{className:"iconfont icon-shuaxin3"}),onClick:()=>{var oe;(oe=M.current)==null||oe.refresh()}},"\u5237\u65B0")))};var qr=g.memo(_r)},30614:function(it,ie,t){t.d(ie,{Z:function(){return J}});var v=t(59301),B=t(99267),P=t(40001),g=t(49198),p=t(955),T=Object.defineProperty,x=Object.defineProperties,z=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,re=(D,K,l)=>K in D?T(D,K,{enumerable:!0,configurable:!0,writable:!0,value:l}):D[K]=l,Q=(D,K)=>{for(var l in K||(K={}))N.call(K,l)&&re(D,l,K[l]);if(V)for(var l of V(K))te.call(K,l)&&re(D,l,K[l]);return D},A=(D,K)=>x(D,z(K)),de=(D,K,l)=>new Promise((f,L)=>{var ne=Ee=>{try{ue(l.next(Ee))}catch(H){L(H)}},fe=Ee=>{try{ue(l.throw(Ee))}catch(H){L(H)}},ue=Ee=>Ee.done?f(Ee.value):Promise.resolve(Ee.value).then(ne,fe);ue((l=l.apply(D,K)).next())});const se={moveX:0,verify:0};var me=(D=>(D[D.SET_MOVEX=0]="SET_MOVEX",D[D.VERIFY=1]="VERIFY",D))(me||{});function le(D,K){switch(K.type){case 0:return A(Q({},D),{moveX:K.payload});case 1:return Q(Q({},D),K.payload);default:throw new Error}}var J=({value:D,onChange:K,onValidate:l})=>{const[f,L]=(0,v.useReducer)(le,se),{moveX:ne,verify:fe}=f,ue=(0,v.useRef)(),Ee=(0,v.useRef)(),H=(0,v.useRef)(),C=(0,v.useRef)(),s=(0,v.useMemo)(()=>{if(Ee.current)return Ee.current.getBoundingClientRect()},[Ee.current]);(0,v.useEffect)(()=>{if(s){let a=function(c){return de(this,null,function*(){if(C.current){let u=c.pageX-R;r&&(u=c.changedTouches[0].pageX-R),u<0&&(u=0),u>=$?(C.current=!1,u=$,I=yield l(),L({type:1,payload:{moveX:u,verify:I}}),K(I)):L({type:0,payload:u})}})},w=function(){C.current=!1,I===0&&(ue.current.style.transition="left .5s ease",H.current.style.transition="width .5s ease",L({type:1,payload:{moveX:0}}))},I=0;const{width:h,left:R}=s;let $=h-48;const r=!(0,p.b9)();return r?(window.addEventListener("touchmove",a),window.addEventListener("touchend",w)):(window.addEventListener("mousemove",a),window.addEventListener("mouseup",w)),()=>{r?(window.removeEventListener("touchmove",a),window.removeEventListener("touchend",w)):(window.removeEventListener("mousemove",a),window.removeEventListener("mouseup",w))}}},[s,p.b9]),(0,v.useEffect)(()=>{L({type:1,payload:{verify:D,moveX:D?(s==null?void 0:s.width)-48:0}})},[D]);function E(){fe||(C.current=!0,ue.current.style.transition="",H.current.style.transition="")}return v.createElement("div",{ref:Ee,className:"unlock-wrapper"},v.createElement("div",{ref:H,className:fe===1?"unlock-error-bg":"unlock-bg",style:{width:ne}}),v.createElement("div",{className:"unlock-text"},fe?fe===1?"\u9A8C\u8BC1\u5931\u8D25":"\u9A8C\u8BC1\u901A\u8FC7":"\u62D6\u52A8\u6ED1\u5757\u81F3\u53F3\u4FA7\u9A8C\u8BC1"),v.createElement("div",{ref:ue,onTouchStart:E,onMouseDown:E,style:{left:ne},className:"unlock-handler"},fe?fe===1?v.createElement(B.Z,null):v.createElement(P.Z,null):v.createElement(g.Z,null)))}},11260:function(it,ie,t){t.d(ie,{Ol:function(){return B},c0:function(){return T},o1:function(){return P},z2:function(){return g}});var v=t(99064);function B(x){return(0,v.U2)("accounts/valid_email_and_phone.json",x)}function P(x){return(0,v.U2)("accounts/get_verification_code.json",x)}function g(x){return(0,v.v_)("accounts/register.json",x)}function p(x){return post("weapps/register.json",x)}function T(x){return(0,v.v_)("accounts/reset_password.json",x)}},71228:function(it,ie,t){t.r(ie),t.d(ie,{default:function(){return h}});var v=t(59301),B=t(78241),P=t(92832),g=t(3113),p=t(30614),T=t(955),x=t(89070),z={wrap:"wrap___jh1g8",formWrapper:"formWrapper___ac7hS",link:"link___eiEQu"},V=t(1011),N=t(59301),te=Object.defineProperty,re=Object.defineProperties,Q=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,me=(R,$,r)=>$ in R?te(R,$,{enumerable:!0,configurable:!0,writable:!0,value:r}):R[$]=r,le=(R,$)=>{for(var r in $||($={}))de.call($,r)&&me(R,r,$[r]);if(A)for(var r of A($))se.call($,r)&&me(R,r,$[r]);return R},J=(R,$)=>re(R,Q($)),D=(R,$,r)=>new Promise((a,c)=>{var u=S=>{try{m(r.next(S))}catch(Y){c(Y)}},d=S=>{try{m(r.throw(S))}catch(Y){c(Y)}},m=S=>S.done?a(S.value):Promise.resolve(S.value).then(u,d);m((r=r.apply(R,$)).next())});const K={height:48,borderRadius:4},l=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,f={timer:0};var L=(R=>(R[R.setTimer=0]="setTimer",R))(L||{});function ne(R,$){switch($.type){case 0:return J(le({},R),{timer:$.payload});default:throw new Error}}var fe=({validateName:R,getCode:$,callback:r,style:a={}})=>{const c=(0,x.useLocation)(),[u]=(0,x.useSearchParams)(),[d]=B.default.useForm(),[m,S]=(0,v.useReducer)(ne,f),[Y,Re]=(0,v.useState)(!1),{timer:U}=m,[ge,pe]=(0,v.useState)(!1);function he(G){return D(this,null,function*(){const{login:_,new_password:k,code:ee,new_password_confirmation:q}=G,{message:xe,status:Ce,show:Me,start_date:Pe}=yield r({login:_,new_password_confirmation:q,new_password:k,code:ee});if(Ce===0){Me?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",Pe)):localStorage.removeItem("extension-modal");const De=u.get("from");De&&De.indexOf("login")<0?x.history.replace(De):x.history.replace("/")}else d.setFields([{name:"code",errors:[xe]}])})}function be(){return D(this,null,function*(){let G=d.getFieldValue("login"),_=0;if(!l.test(G)||G.indexOf(" ")>-1)return d.setFields([{name:"login",errors:["\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"]}]),_=1,_;let{status:k,message:ee}=yield R({login:G,type:2});return k>0?_=2:(d.setFields([{name:"login",errors:[ee]}]),_=1),_})}const Te=()=>D(void 0,null,function*(){const G=d.getFieldValue("verify"),_=d.getFieldValue("login");if(!G)d.validateFields(["verify"]);else{Re(!0);const{status:k,message:ee}=yield $({login:_,type:2,smscode:(0,T.M)(_)});k<0&&d.setFields([{name:"code",errors:[ee]}]),S({type:0,payload:60}),Re(!1)}});function b(G,_){const k=d.getFieldValue("new_password_confirmation");if(!_)return Promise.resolve();if(d.setFields([{name:"new_password_confirmation",errors:k&&k!==_?["\u4E24\u6B21\u5BC6\u7801\u4E0D\u4E00\u81F4"]:[]}]),_.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C");const ee=_.length;return ee>=8&&ee<=16?Promise.resolve():Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C")}(0,v.useEffect)(()=>{U>0&&setTimeout(()=>{S({type:0,payload:U-1})},1e3)},[U]);const F=(G,_)=>_?Promise.resolve():Promise.reject("\u8BF7\u62D6\u52A8\u6ED1\u5757\u9A8C\u8BC1"),y=(G,_)=>_?_.indexOf(" ")>-1?Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):l.test(_)?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Promise.resolve();return N.createElement("div",{className:z.wrap},N.createElement(B.default,{layout:"vertical",form:d,style:a,className:z.formWrapper,initialValues:{autologin:!0,protool:!0},onFinish:he},N.createElement(B.default.Item,{name:"login",label:"\u8D26\u53F7",required:!1,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"},{validator:y}]},N.createElement(P.default,{style:K,size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7",onChange:()=>d.setFieldsValue({verify:0})})),N.createElement(B.default.Item,{name:"verify",rules:[{validator:F}]},N.createElement(p.Z,{onValidate:be})),N.createElement(B.default.Item,{label:"\u5BC6\u7801",required:!1,name:"new_password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"},{validator:b}]},N.createElement(P.default.Password,{style:K,size:"middle",placeholder:"\u8F93\u51658\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199",visibilityToggle:!1})),N.createElement(B.default.Item,{name:"new_password_confirmation",rules:[{required:!0,message:"\u8BF7\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801"},({getFieldValue:G})=>({validator(_,k){return!k||G("new_password")===k?Promise.resolve():Promise.reject("\u4E24\u6B21\u5BC6\u7801\u4E0D\u4E00\u81F4")}})]},N.createElement(P.default.Password,{style:K,size:"middle",placeholder:"\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801",visibilityToggle:!1})),N.createElement(B.default.Item,{name:"code",label:"\u9A8C\u8BC1\u7801",required:!1,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},N.createElement(P.default,{suffix:N.createElement(g.ZP,{loading:Y,type:"link",onClick:G=>{if(G.stopPropagation(),!d.getFieldValue("verify")){d.validateFields(["verify"]);return}pe(!0)},disabled:U>0}," ",U===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`${U}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`),style:{paddingRight:2,height:48,borderRadius:4},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"})),N.createElement(B.default.Item,null,N.createElement(g.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:K}," \u5B8C\u6210 ")),N.createElement(B.default.Item,{className:"tc"},N.createElement(x.Link,{className:"font14",to:"/user/login"},"\u8FD4\u56DE\u767B\u5F55"))),N.createElement(V.Z,{ModalProps:{open:ge,onCancel:()=>{pe(!1)}},onFinish:()=>{pe(!1),Te()}}))},ue=t(11260),Ee=Object.defineProperty,H=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,E=(R,$,r)=>$ in R?Ee(R,$,{enumerable:!0,configurable:!0,writable:!0,value:r}):R[$]=r,w=(R,$)=>{for(var r in $||($={}))C.call($,r)&&E(R,r,$[r]);if(H)for(var r of H($))s.call($,r)&&E(R,r,$[r]);return R},I=(R,$,r)=>new Promise((a,c)=>{var u=S=>{try{m(r.next(S))}catch(Y){c(Y)}},d=S=>{try{m(r.throw(S))}catch(Y){c(Y)}},m=S=>S.done?a(S.value):Promise.resolve(S.value).then(u,d);m((r=r.apply(R,$)).next())}),h=()=>{const R={getCode:ue.o1,callback:$=>I(void 0,null,function*(){return yield(0,ue.c0)($)}),validateName:ue.Ol};return v.createElement(fe,w({},R))}},36785:function(it,ie,t){t.d(ie,{o2:function(){return p},yT:function(){return T}});var v=t(80702),B=t(33166);const P=B.i.map(x=>`${x}-inverse`),g=["success","processing","error","default","warning"];function p(x){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,v.Z)(P),(0,v.Z)(B.i)).includes(x):B.i.includes(x)}function T(x){return g.includes(x)}},79676:function(it,ie,t){t.d(ie,{Z:function(){return T}});var v=t(19447);function B(x,z,V,N){if(N===!1)return{adjustX:!1,adjustY:!1};const te=N&&typeof N=="object"?N:{},re={};switch(x){case"top":case"bottom":re.shiftX=z.dropdownArrowOffset*2+V;break;case"left":case"right":re.shiftY=z.dropdownArrowOffsetVertical*2+V;break}const Q=Object.assign(Object.assign({},re),te);return Q.shiftX||(Q.adjustX=!0),Q.shiftY||(Q.adjustY=!0),Q}const P={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},g={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},p=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function T(x){const{arrowWidth:z,autoAdjustOverflow:V,arrowPointAtCenter:N,offset:te,borderRadius:re,visibleFirst:Q}=x,A=z/2,de={};return Object.keys(P).forEach(se=>{const me=N&&g[se]||P[se],le=Object.assign(Object.assign({},me),{offset:[0,0]});switch(de[se]=le,p.has(se)&&(le.autoArrow=!1),se){case"top":case"topLeft":case"topRight":le.offset[1]=-A-te;break;case"bottom":case"bottomLeft":case"bottomRight":le.offset[1]=A+te;break;case"left":case"leftTop":case"leftBottom":le.offset[0]=-A-te;break;case"right":case"rightTop":case"rightBottom":le.offset[0]=A+te;break}const J=(0,v.fS)({contentRadius:re,limitVerticalRadius:!0});if(N)switch(se){case"topLeft":case"bottomLeft":le.offset[0]=-J.dropdownArrowOffset-A;break;case"topRight":case"bottomRight":le.offset[0]=J.dropdownArrowOffset+A;break;case"leftTop":case"rightTop":le.offset[1]=-J.dropdownArrowOffset-A;break;case"leftBottom":case"rightBottom":le.offset[1]=J.dropdownArrowOffset+A;break}le.overflow=B(se,J,z,V),Q&&(le.htmlRegion="visibleFirst")}),de}},19080:function(it,ie,t){t.d(ie,{F:function(){return p},Z:function(){return g}});var v=t(92310),B=t.n(v);const P=null;function g(T,x,z){return B()({[`${T}-status-success`]:x==="success",[`${T}-status-warning`]:x==="warning",[`${T}-status-error`]:x==="error",[`${T}-status-validating`]:x==="validating",[`${T}-has-feedback`]:z})}const p=(T,x)=>x||T},78241:function(it,ie,t){t.d(ie,{default:function(){return Ze}});var v=t(80702),B=t(92310),P=t.n(B),g=t(77900),p=t(59301),T=t(62892),x=t(32441);function z(o){const[j,Z]=p.useState(o);return p.useEffect(()=>{const W=setTimeout(()=>{Z(o)},o.length?0:10);return()=>{clearTimeout(W)}},[o]),j}var V=t(17313),N=t(29878),te=t(8378),re=t(37613),Q=t(83116),de=o=>{const{componentCls:j}=o,Z=`${j}-show-help`,W=`${j}-show-help-item`;return{[Z]:{transition:`opacity ${o.motionDurationSlow} ${o.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[W]:{overflow:"hidden",transition:`height ${o.motionDurationSlow} ${o.motionEaseInOut}, opacity ${o.motionDurationSlow} ${o.motionEaseInOut}, transform ${o.motionDurationSlow} ${o.motionEaseInOut} !important`,[`&${W}-appear, &${W}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${W}-leave-active`]:{transform:"translateY(-5px)"}}}}};const se=o=>({legend:{display:"block",width:"100%",marginBottom:o.marginLG,padding:0,color:o.colorTextDescription,fontSize:o.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${o.lineWidth}px ${o.lineType} ${o.colorBorder}`},label:{fontSize:o.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${o.controlOutlineWidth}px ${o.controlOutline}`},output:{display:"block",paddingTop:15,color:o.colorText,fontSize:o.fontSize,lineHeight:o.lineHeight}}),me=(o,j)=>{const{formItemCls:Z}=o;return{[Z]:{[`${Z}-label > label`]:{height:j},[`${Z}-control-input`]:{minHeight:j}}}},le=o=>{const{componentCls:j}=o;return{[o.componentCls]:Object.assign(Object.assign(Object.assign({},(0,V.Wf)(o)),se(o)),{[`${j}-text`]:{display:"inline-block",paddingInlineEnd:o.paddingSM},"&-small":Object.assign({},me(o,o.controlHeightSM)),"&-large":Object.assign({},me(o,o.controlHeightLG))})}},J=o=>{const{formItemCls:j,iconCls:Z,componentCls:W,rootPrefixCls:ae,labelRequiredMarkColor:ce,labelColor:Ae,labelFontSize:Je,labelHeight:Ne,labelColonMarginInlineStart:Ve,labelColonMarginInlineEnd:$e,itemMarginBottom:et}=o;return{[j]:Object.assign(Object.assign({},(0,V.Wf)(o)),{marginBottom:et,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden.${ae}-row`]:{display:"none"},"&-has-warning":{[`${j}-split`]:{color:o.colorError}},"&-has-error":{[`${j}-split`]:{color:o.colorWarning}},[`${j}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${o.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Ne,color:Ae,fontSize:Je,[`> ${Z}`]:{fontSize:o.fontSize,verticalAlign:"top"},[`&${j}-required:not(${j}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:o.marginXXS,color:ce,fontSize:o.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${W}-hide-required-mark &`]:{display:"none"}},[`${j}-optional`]:{display:"inline-block",marginInlineStart:o.marginXXS,color:o.colorTextDescription,[`${W}-hide-required-mark &`]:{display:"none"}},[`${j}-tooltip`]:{color:o.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:o.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Ve,marginInlineEnd:$e},[`&${j}-no-colon::after`]:{content:'"\\a0"'}}},[`${j}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${ae}-col-'"]):not([class*="' ${ae}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:o.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[j]:{"&-explain, &-extra":{clear:"both",color:o.colorTextDescription,fontSize:o.fontSize,lineHeight:o.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:o.controlHeightSM,transition:`color ${o.motionDurationMid} ${o.motionEaseOut}`},"&-explain":{"&-error":{color:o.colorError},"&-warning":{color:o.colorWarning}}},[`&-with-help ${j}-explain`]:{height:"auto",opacity:1},[`${j}-feedback-icon`]:{fontSize:o.fontSize,textAlign:"center",visibility:"visible",animationName:N.kr,animationDuration:o.motionDurationMid,animationTimingFunction:o.motionEaseOutBack,pointerEvents:"none","&-success":{color:o.colorSuccess},"&-error":{color:o.colorError},"&-warning":{color:o.colorWarning},"&-validating":{color:o.colorPrimary}}})}},D=o=>{const{componentCls:j,formItemCls:Z}=o;return{[`${j}-horizontal`]:{[`${Z}-label`]:{flexGrow:0},[`${Z}-control`]:{flex:"1 1 0",minWidth:0},[`${Z}-label[class$='-24'], ${Z}-label[class*='-24 ']`]:{[`& + ${Z}-control`]:{minWidth:"unset"}}}}},K=o=>{const{componentCls:j,formItemCls:Z}=o;return{[`${j}-inline`]:{display:"flex",flexWrap:"wrap",[Z]:{flex:"none",marginInlineEnd:o.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Z}-label, diff --git a/umi.9bc4ee81.js b/umi.66060867.js similarity index 99% rename from umi.9bc4ee81.js rename to umi.66060867.js index 27f552432c..056b6c1b50 100644 --- a/umi.9bc4ee81.js +++ b/umi.66060867.js @@ -95,7 +95,7 @@ Try polyfilling it using "@formatjs/intl-displaynames" \u4F7F\u7528\u6B64 api \u4F1A\u9020\u6210\u5207\u6362\u8BED\u8A00\u7684\u65F6\u5019\u65E0\u6CD5\u81EA\u52A8\u5237\u65B0\uFF0C\u8BF7\u4F7F\u7528 useIntl \u6216 injectIntl\u3002 http://j.mp/37Fkd5Q - `),vt=!1),Sa||be(De()),Sa.formatMessage(ue,me)),ce=()=>Object.keys(gn)},16209:function(i,d,e){"use strict";e.d(d,{y:function(){return u}});var t=e(43418),r=e(95237),n=e(43604),o=e(58539),s=e(59301);const u=c=>new Promise((a,f)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return f("WebRTC not supported by browser");let g=new RTCPeerConnection,p=[];g.createDataChannel(""),g.createOffer().then(b=>g.setLocalDescription(b)).catch(b=>f(b)),g.onicecandidate=b=>{console.log("event:",b);const h=[];if(!b||!b.candidate){if(console.log("ips",p),p.length==0||!(0,o.t)(p[0])){const R=t.default.info({title:s.createElement(r.Z,null,s.createElement(n.Z,{flex:"1"},"\u63D0\u793A"),s.createElement(n.Z,null,s.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>R.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:s.createElement(r.Z,null,s.createElement(n.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(c.ip_limit==="inner"||c.ip_bind)&&s.createElement(s.Fragment,null,s.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),s.createElement("br",null),s.createElement("a",{href:"https://www.educoder.net/forums/4478",target:"_blank"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return f("WebRTC disabled or restricted by browser")}const L=p.filter(R=>(0,o.t)(R));return!L||!L.length?f("IP\u83B7\u53D6\u5931\u8D25"):a(L.join(""))}let E=b.candidate.candidate.split(" "),[P,A,I,C,O,T,,D,...k]=E,$=["rtp","rtpc"];if(console.log("event:",b),p.some(L=>L==O)||p.push(O),console.log(" candidate: "+P.split(":")[1]),console.log(" component: "+$[A-1]),console.log(" protocol: "+I),console.log(" priority: "+C),console.log(" ip: "+O),console.log(" port: "+T),console.log(" type: "+D),k.length){console.log("attributes: ");for(let L=0;L "+k[L]+": "+k[L+1])}}})},52743:function(i,d,e){"use strict";e.d(d,{k:function(){return E}});var t=e(38650),r=e(8591),n=e(99309),o=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,g=(A,I,C)=>I in A?o(A,I,{enumerable:!0,configurable:!0,writable:!0,value:C}):A[I]=C,p=(A,I)=>{for(var C in I||(I={}))a.call(I,C)&&g(A,C,I[C]);if(c)for(var C of c(I))f.call(I,C)&&g(A,C,I[C]);return A},b=(A,I)=>s(A,u(I)),h=(A,I)=>{var C={};for(var O in A)a.call(A,O)&&I.indexOf(O)<0&&(C[O]=A[O]);if(A!=null&&c)for(var O of c(A))I.indexOf(O)<0&&f.call(A,O)&&(C[O]=A[O]);return C};const E=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],P={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[E[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${E[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[E[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${E[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:A},{call:I,put:C}){yield C({type:"save",payload:{actionTabs:p({},A)}})},*getMajorList({payload:A},{call:I,put:C,select:O}){const{userInfo:T}=yield O(D=>D.user);if(T!=null&&T.school_id){const D=yield I(t.BA,T.school_id);if(D&&D.data){const k=n.U.getItem(T==null?void 0:T.login);yield C({type:"setMajorOrYearDataSource",payload:{key:E[0],value:D.data.map($=>({label:$.name,value:$.ec_major_school_id})),active:D.data.length>0?k[0]||D.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:A},{call:I,put:C,select:O}){const T=yield I(t.Nx,A.id),{userInfo:D}=yield O(k=>k.user);if(T&&T.data){const k=n.U.getItem(D==null?void 0:D.login);yield C({type:"setMajorOrYearDataSource",payload:{key:E[1],value:T.data.map($=>({label:$.year,value:$.ec_year_id})),active:T.data.length>0?A.firstEnter?k[1]:T.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:A={}},{call:I,put:C,select:O}){const{calc:T,page:D,per_page:k}=A,{headerData:$,tabListData:L}=yield O(N=>N.engineeringEvaluteList),{userInfo:R}=yield O(N=>N.user);let z=$.active[E[1]];if(z){let N={id:z,page:D||1,per_page:k||L.pageSize};T&&(N=b(p({},N),{page:L.pageNo}));const V=yield I(t._y,N),j=[$.active[E[0]],$.active[E[1]]];n.U.setItem(R==null?void 0:R.login,j),V&&V.ec_courses&&(yield C({type:"setCourseResults",payload:b(p({},L),{pageNo:N.page,total:V.count,pageSize:N.per_page||L.pageSize,dataSource:V.ec_courses.map((Y,G)=>b(p({},Y),{key:N.page>1?(N.page-1)*N.per_page+G+1:G+1}))})}))}else yield C({type:"setCourseResults",payload:b(p({},L),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:A},{call:I,select:C}){const{headerData:O}=yield C(T=>T.engineeringEvaluteList);O.active[E[1]]&&(yield I(t.F,O.active[E[1]]))},*compute({payload:A},{call:I,put:C}){const O=A,{all:T}=O,D=h(O,["all"]),k=yield I(T?t.At:t.PX,D);k&&k.status===0?(r.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield C({type:"getCourseResults",payload:{calc:!0}})):r.ZP.error(k.message)}},reducers:{save(A,I){return p(p({},A),I.payload)},setMajorOrYearDataSource(A,{payload:I}){let C=A.headerData.active;return I.active&&(C=b(p({},C),{[I.key]:I.active})),b(p({},A),{headerData:b(p({},A.headerData),{dataSource:b(p({},A.headerData.dataSource),{[I.key]:b(p({},A.headerData.dataSource[I.key]),{dataList:I.value})}),active:C})})},setMajorOrYearActive(A,{payload:I}){return b(p({},A),{headerData:b(p({},A.headerData),{active:b(p({},A.headerData.active),{[I.key]:I.value})})})},setCourseResults(A,{payload:I}){return b(p({},A),{tabListData:p(p({},A.tabListData),I)})}},subscriptions:{setup({dispatch:A,history:I}){return I.listen(({pathname:C})=>{C==="/"&&A({type:"query"})})}}};d.Z=P},26422:function(i,d,e){"use strict";e.d(d,{L:function(){return c},r:function(){return f}});var t=Object.defineProperty,r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,s=(g,p,b)=>p in g?t(g,p,{enumerable:!0,configurable:!0,writable:!0,value:b}):g[p]=b,u=(g,p)=>{for(var b in p||(p={}))n.call(p,b)&&s(g,b,p[b]);if(r)for(var b of r(p))o.call(p,b)&&s(g,b,p[b]);return g};const c=g=>g==null?void 0:g.map(p=>{const b=(p.sub_disciplines||[]).map(h=>({value:h.id,label:h.name}));return{value:p.id,label:p.name,children:b}}),a={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},f=g=>{if(!g)return;const{all_questions_count:p,all_score:b,single_questions:h,multiple_questions:E,judgement_questions:P,program_questions:A,completion_questions:I,subjective_questions:C,practical_questions:O,combination_questions:T}=g||{},k=[u({type:"SINGLE",name:"\u5355\u9009\u9898"},h),u({type:"MULTIPLE",name:"\u591A\u9009\u9898"},E),u({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},I),u({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},P),u({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},C),u({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},A),u({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},O),u({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},T)].filter($=>$.questions_count>0).map(($,L)=>u(u({},$),{number:a[L+1]}));return{all_questions_count:p,all_score:b,questionList:k}}},99309:function(i,d,e){"use strict";e.d(d,{U:function(){return o},t:function(){return n}});var t=e(43418),r=e(24065);const n=(s,u="")=>{t.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:u,onOk:s})},o={setItem:(s,u)=>{var c;const a=s+"-engineering"+((c=(0,r.eY)())==null?void 0:c.school_id),f=JSON.stringify(u);localStorage.setItem(a,f)},getItem:s=>{var u;const c=s+"-engineering"+((u=(0,r.eY)())==null?void 0:u.school_id),a=localStorage.getItem(c);return a!==null&&a!=="[object Object]"?JSON.parse(a):[]},clear:s=>{var u;const c=s+"-engineering"+((u=(0,r.eY)())==null?void 0:u.school_id);localStorage.removeItem(c)}}},35390:function(i,d,e){"use strict";e.d(d,{$f:function(){return p},Cq:function(){return E},GY:function(){return u},I8:function(){return A},Ow:function(){return b},P:function(){return g},Ql:function(){return c},RA:function(){return O},Zm:function(){return a},bz:function(){return s},eF:function(){return P},gQ:function(){return I},ht:function(){return h},kN:function(){return T},n1:function(){return n},nI:function(){return D},o9:function(){return o},sG:function(){return f},wi:function(){return C}});var t=e(99064),r=(k,$,L)=>new Promise((R,z)=>{var N=Y=>{try{j(L.next(Y))}catch(G){z(G)}},V=Y=>{try{j(L.throw(Y))}catch(G){z(G)}},j=Y=>Y.done?R(Y.value):Promise.resolve(Y.value).then(N,V);j((L=L.apply(k,$)).next())});function n(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/avatar.json`,{method:"put",body:k})})}function o(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}.json`,{method:"get"})})}function s(k){return r(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:k})})}function u(k){return r(this,null,function*(){return(0,t.ZP)("/api/schools/limit_list.json",{method:"get",params:k})})}function c(k){return r(this,null,function*(){return(0,t.ZP)(`/api/schools/${k.id}/departments/for_option.json`,{method:"get",params:k})})}function a(k){return r(this,null,function*(){return(0,t.ZP)("/api/add_department_applies.json",{method:"post",body:k})})}function f(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.id}.json`,{method:"put",body:k})})}function g(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/authentication_apply.json`,{method:"delete"})})}function p(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/professional_auth_apply.json`,{method:"delete"})})}function b(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.id}/professional_auth_apply.json`,{method:"post",body:k})})}function h(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.id}/authentication_apply.json`,{method:"post",body:k})})}function E(k){return r(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:k})})}function P(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/phone_bind.json`,{method:"post",body:k})})}function A(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/email_bind.json`,{method:"post",body:k})})}function I(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/password.json`,{method:"put",body:k})})}function C(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.basicInfoId}/open_users/${k.id}.json`,{method:"delete"})})}function O(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${k.login}/cancel_authentication.json`,{method:"post",body:k})})}function T(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${k.login}/cancel_professional_certification.json`,{method:"post",body:k})})}function D(k,$){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${k.login}/videos/${k.id}/create_subject_video.json`,{method:"post",body:$})})}},13112:function(i,d,e){"use strict";e.d(d,{An:function(){return b},TO:function(){return f},my:function(){return p},nZ:function(){return g}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(h,E,P)=>E in h?r(h,E,{enumerable:!0,configurable:!0,writable:!0,value:P}):h[E]=P,c=(h,E)=>{for(var P in E||(E={}))o.call(E,P)&&u(h,P,E[P]);if(n)for(var P of n(E))s.call(E,P)&&u(h,P,E[P]);return h},a=(h,E,P)=>new Promise((A,I)=>{var C=D=>{try{T(P.next(D))}catch(k){I(k)}},O=D=>{try{T(P.throw(D))}catch(k){I(k)}},T=D=>D.done?A(D.value):Promise.resolve(D.value).then(C,O);T((P=P.apply(h,E)).next())});function f(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/inform_up.json`,{method:"post",body:c({},h)})})}function g(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/inform_down.json`,{method:"post",body:c({},h)})})}function p(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/update_informs.json`,{method:"post",body:c({},h)})})}function b(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/new_informs.json`,{method:"post",body:c({},h)})})}},19381:function(i,d,e){"use strict";e.d(d,{$n:function(){return P},H:function(){return E},Nm:function(){return b},Ot:function(){return h},SV:function(){return f},fc:function(){return I},mn:function(){return A},tO:function(){return p},zI:function(){return g}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(C,O,T)=>O in C?r(C,O,{enumerable:!0,configurable:!0,writable:!0,value:T}):C[O]=T,c=(C,O)=>{for(var T in O||(O={}))o.call(O,T)&&u(C,T,O[T]);if(n)for(var T of n(O))s.call(O,T)&&u(C,T,O[T]);return C},a=(C,O,T)=>new Promise((D,k)=>{var $=z=>{try{R(T.next(z))}catch(N){k(N)}},L=z=>{try{R(T.throw(z))}catch(N){k(N)}},R=z=>z.done?D(z.value):Promise.resolve(z.value).then($,L);R((T=T.apply(C,O)).next())});function f(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/public_with_course_and_project",{method:"get",params:c({},C)})})}function g(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:c({},C)})})}function p(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/import.json",{method:"post",body:c({},C)})})}function b(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C.id}.json`,{method:"get",params:c({},C)})})}function h(C){return a(this,null,function*(){const{id:O}=C;return delete C.id,(0,t.ZP)(`/api/files/${O}.json`,{method:"put",body:c({},C)})})}function E(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C.id}/update_visits.json`,{method:"post"})})}function P(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C==null?void 0:C.id}/watch_list.json`,{method:"get",params:c({},C)})})}function A(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:c({},C)})})}function I(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C==null?void 0:C.id}/add_file_quantity.json`,{method:"post",body:c({},C)})})}},10813:function(i,d,e){"use strict";e.d(d,{CJ:function(){return b},Mf:function(){return I},NA:function(){return P},PC:function(){return h},PP:function(){return E},YQ:function(){return A},cc:function(){return p},dI:function(){return g},yq:function(){return f}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(C,O,T)=>O in C?r(C,O,{enumerable:!0,configurable:!0,writable:!0,value:T}):C[O]=T,c=(C,O)=>{for(var T in O||(O={}))o.call(O,T)&&u(C,T,O[T]);if(n)for(var T of n(O))s.call(O,T)&&u(C,T,O[T]);return C},a=(C,O,T)=>new Promise((D,k)=>{var $=z=>{try{R(T.next(z))}catch(N){k(N)}},L=z=>{try{R(T.throw(z))}catch(N){k(N)}},R=z=>z.done?D(z.value):Promise.resolve(z.value).then($,L);R((T=T.apply(C,O)).next())});function f(C){return a(this,null,function*(){return(0,t.ZP)("/api/courses/board_list.json",{method:"get",params:c({},C)})})}function g(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}.json`,{method:"get",params:c({},C)})})}function p(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function b(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function h(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}/reply_list.json`,{method:"get",params:c({},C)})})}function E(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}/reply.json`,{method:"post",body:c({},C)})})}function P(C){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:c({},C)})})}function A(C){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:c({},C)})})}function I(C){return a(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:c({},C)})})}},92365:function(i,d,e){"use strict";e.d(d,{$T:function(){return ht},A:function(){return Ht},Ab:function(){return rn},Al:function(){return Y},BQ:function(){return Fe},BR:function(){return j},Bn:function(){return $e},Cq:function(){return yr},DJ:function(){return ee},Dd:function(){return h},Ds:function(){return qe},EO:function(){return ge},Ed:function(){return oe},Ew:function(){return Ra},FU:function(){return Me},Fg:function(){return E},GV:function(){return Ue},Gk:function(){return R},Gm:function(){return yt},Gz:function(){return P},Hl:function(){return A},Hn:function(){return T},ID:function(){return Qr},IU:function(){return Zt},J2:function(){return he},K$:function(){return At},KP:function(){return de},KT:function(){return B},L$:function(){return et},Lk:function(){return ba},Ls:function(){return Z},MA:function(){return ze},Mc:function(){return qn},N7:function(){return V},Nd:function(){return L},Nl:function(){return ot},Ns:function(){return on},O3:function(){return H},Pj:function(){return at},QX:function(){return dt},QZ:function(){return M},R2:function(){return N},Rk:function(){return Or},S9:function(){return Xe},U8:function(){return tr},UD:function(){return hr},U_:function(){return k},Uy:function(){return Nr},V8:function(){return O},Vw:function(){return Q},W0:function(){return le},W7:function(){return Qe},WK:function(){return kt},Wr:function(){return qt},YR:function(){return bt},Z0:function(){return rt},ZL:function(){return xt},ZT:function(){return nn},ZX:function(){return Ee},Zj:function(){return Ya},_9:function(){return Et},_B:function(){return Gn},aP:function(){return ct},aQ:function(){return ye},aZ:function(){return Ve},al:function(){return jt},bm:function(){return Rr},bz:function(){return we},c_:function(){return Er},ds:function(){return fr},fN:function(){return Ft},fr:function(){return ke},g4:function(){return He},gq:function(){return I},hf:function(){return J},i:function(){return or},i6:function(){return Ze},i7:function(){return Wr},iE:function(){return f},ih:function(){return rr},kW:function(){return _e},km:function(){return ur},nP:function(){return p},nQ:function(){return Ce},nX:function(){return Dt},oM:function(){return St},oR:function(){return Rn},o_:function(){return Je},pf:function(){return sr},pr:function(){return dn},pv:function(){return Ne},qB:function(){return G},rS:function(){return C},s:function(){return Tr},sb:function(){return Be},sm:function(){return b},t1:function(){return tt},tB:function(){return ln},tI:function(){return Oa},td:function(){return it},uh:function(){return Re},up:function(){return Gt},v2:function(){return g},vV:function(){return Rt},w9:function(){return $},wR:function(){return te},yS:function(){return ut},yV:function(){return z},yd:function(){return Te},zC:function(){return la},zg:function(){return K}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(Ae,Bn,ta)=>Bn in Ae?r(Ae,Bn,{enumerable:!0,configurable:!0,writable:!0,value:ta}):Ae[Bn]=ta,c=(Ae,Bn)=>{for(var ta in Bn||(Bn={}))o.call(Bn,ta)&&u(Ae,ta,Bn[ta]);if(n)for(var ta of n(Bn))s.call(Bn,ta)&&u(Ae,ta,Bn[ta]);return Ae},a=(Ae,Bn,ta)=>new Promise((Sa,Ja)=>{var qa=gn=>{try{Ia(ta.next(gn))}catch(yn){Ja(yn)}},zn=gn=>{try{Ia(ta.throw(gn))}catch(yn){Ja(yn)}},Ia=gn=>gn.done?Sa(gn.value):Promise.resolve(gn.value).then(qa,zn);Ia((ta=ta.apply(Ae,Bn)).next())});const f=Ae=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.course_id}/course_videos/configs.json`,{method:"put",body:Ae})}),g=Ae=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Ae})}),p=Ae=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Ae})}),b=Ae=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Ae})}),h=Ae=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Ae})}),E=Ae=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Ae})}),P=Ae=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Ae})}),A=Ae=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:Ae})});function I(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.course_id}/set_assistant_permissions.json`,{method:"post",body:c({},Ae.permissions)})})}function C(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.course_id}/assistant_permissions.json`,{method:"Get",params:c({},Ae)})})}function O(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"Get",params:c({},Ae)})})}function T(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:c({},Ae)})})}function D(Ae){return a(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:c({},Ae)})})}function k(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/top_banner.json`,{method:"get",params:c({},Ae)})})}function $(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id||Ae.coursesId}/left_banner.json`,{method:"get",params:c({},Ae)})})}function L(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/homework_commons.json`,{method:"get",params:c({},Ae)})})}function R(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/homework_commons/list.json`,{method:"get",params:c({},Ae)})})}function z(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/graduation_topics.json`,{method:"get",params:c({},Ae)})})}function N(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/graduation_tasks.json`,{method:"get",params:c({},Ae)})})}function V(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/v2/courses/${Ae.id}/exercises.json`,{method:"get",params:c({},Ae)})})}function j(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/polls.json`,{method:"get",params:c({},Ae)})})}function Y(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/homework_commons.json`,{method:"get",params:c({},Ae)})})}function G(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/course_groups.json`,{method:"get",params:c({},Ae)})})}function J(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/all_course_groups.json`,{method:"get",params:c({},Ae)})})}function Q(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/attendances.json`,{method:"get",params:c({},Ae)})})}function Z(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/weapps/courses/${Ae.coursesId}/attendances.json`,{method:"get",params:c({},Ae)})})}function K(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/attendances/${Ae.id}/edit.json`,{method:"get",params:c({},Ae)})})}function M(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/informs.json`,{method:"get",params:c({},Ae)})})}function B(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/files.json",{method:"get",params:c({},Ae)})})}function H(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/course_videos.json`,{method:"get",params:c({},Ae)})})}function ee(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/live_links.json`,{method:"get",params:c({},Ae)})})}function oe(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/courses/mine.json",{method:"get",params:c({},Ae)})})}function de(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/boards/${Ae.categoryId}/messages.json`,{method:"get",params:c({},Ae)})})}function _e(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/course_groups.json`,{method:"get",params:c({},Ae)})})}function he(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/students.json`,{method:"get",params:c({},Ae)})})}function He(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/statistics.json`,{method:"get",params:c({},Ae)})})}function Ue(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/work_score.json`,{method:"get",params:c({},Ae)})})}function tt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/act_score.json`,{method:"get",params:c({},Ae)})})}function at(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/shixun_lists.json",{method:"get",params:c({},Ae)})})}function yt(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"get",params:c({},Ae)})})}function Et(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:c({},Ae)})})}function ye(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:c({},Ae)})})}function Fe(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:c({},Ae)})})}function Qe(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/subject_lists.json",{method:"get",params:c({},Ae)})})}function qe(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:c({},Ae)})})}function At(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/schools/school_list.json",{method:"get",params:Ae})})}function St(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/courses/search_course_list.json",{method:"post",body:Ae})})}function $e(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"post",body:Ae})})}function we(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:Ae})})}function Ce(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/users/member_search.json",{method:"get",params:Ae})})}function Me(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/courses/search_all.json",{method:"get",params:Ae})})}function Re(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/add_teacher.json`,{method:"post",body:Ae})})}function Ve(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/add_students_by_search.json`,{method:"post",body:Ae})})}function Be(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/set_public_or_private.json`,{method:"post",body:Ae})})}function et(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/set_invite_code_halt.json`,{method:"post",body:Ae})})}function Xe(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/duplicate_course.json`,{method:"post",body:Ae})})}function jt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/update_end_date.json`,{method:"put",body:Ae})})}function Ht(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}.json`,{method:"delete",body:Ae})})}function ge(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/settings.json`,{method:"get",params:c({},Ae)})})}function ke(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}.json`,{method:"put",body:Ae})})}function bt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function ut(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/export_member_act_score_async.json`,{method:"get",params:c({export:!0},Ae)})})}function dt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:c({export:!0},Ae)})})}function ot(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:c({export:!0},Ae)})})}function Zt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/export_star_user.json`,{method:"get",params:c({export:!0},Ae)})})}function it(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/export_mooc_records.json`,{method:"get",params:c({export:!0},Ae)})})}function le(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/export_total_course_score.json`,{method:"get",params:c({export:!0},Ae)})})}function ct(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ae.categoryId}/export_scores.json`,{method:"get",params:c({export:!0},Ae)})})}function Je(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ae.categoryId}/export_shixun_report.json`,{method:"get",params:c({export:!0},Ae)})})}function xt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ae.categoryId}/export_exercise_users.json`,{method:"get",params:c({export:!0},Ae)})})}function Rt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ae.categoryId}/export_exercise_word.json`,{method:"get",params:c({export:!0},Ae)})})}function vr(Ae){return a(this,null,function*(){return Fetch(`/api/homework_commons/${Ae.categoryId}/works_list.zip`,{method:"get",params:c({export:!0},Ae)})})}function rt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api//course_second_categories/${Ae.id}.json`,{method:"delete",params:{export:!0}})})}function or(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api//boards/${Ae.id}.json`,{method:"delete",params:{export:!0}})})}function Te(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${Ae.id}/sticky_module.json`,{method:"get"})})}function Dt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${Ae.id}/hidden_module.json`,{method:"get"})})}function sr(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/courses/new.json",{method:"get",params:Ae})})}function fr(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/weapps/attendances/${Ae.id}.json`,{method:"get",params:Ae})})}function Rr(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Ae})})}function hr(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Ae})})}function _r(Ae){return a(this,null,function*(){return Fetch(`/api/polls/${Ae.categoryId}/commit_result.xlsx`,{method:"get",params:c({export:!0},Ae)})})}function Nr(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ae.categoryId}/export_scores.json`,{method:"get",params:c({export:!0},Ae)})})}function Wr(Ae){return(0,t.ZP)(`/api/polls/${Ae.categoryId}/start_answer.json`,{method:"get",params:c({},Ae)})}function Qr(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Ae.questionId}/poll_votes.json`,{method:"post",body:Ae})})}function on(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${Ae.categoryId}/commit_poll.json`,{method:"post",body:Ae})})}function ur(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.courseId}/tasks_list.json`,{method:"get",params:Ae})})}function tr(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.courseId}/update_task_position.json`,{method:"post",body:Ae})})}function Gt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:Ae})})}function Er(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/all_course_groups.json`,{method:"get",params:Ae})})}function yr(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/polls/all_course_groups.json`,{method:"get",params:Ae})})}function Or(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/students.json`,{method:"get",params:Ae})})}function ht(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${Ae.categoryId}/rename_group.json`,{method:"POST",body:Ae})})}function Ne(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${Ae.categoryId}.json`,{method:"delete",body:Ae})})}function Ze(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/join_course_group.json`,{method:"POST",body:Ae})})}function te(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/transfer_to_course_group.json`,{method:"post",body:Ae})})}function ze(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/delete_from_course.json`,{method:"post",body:Ae})})}function kt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/join_course_group.json`,{method:"post",body:Ae})})}function Ft(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/exit_course.json`,{method:"post"})})}function Ee(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:c({},Ae)})})}function rr(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/mooc_users/${Ae.user_id}/edit.json`,{method:"get",params:Ae})})}function Tr(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/mooc_users.json`,{method:"post",body:Ae})})}function ln(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/mooc_users/${Ae.user_id}.json`,{method:"put",body:Ae})})}function qt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/course_second_categories/${Ae.id}/move_category.json`,{method:"post",body:Ae})})}function rn(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/boards/${Ae.id}/move_category.json`,{method:"post",body:Ae})})}function nn(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/courseware.json`,{method:"get",params:Ae})})}function dn(Ae,Bn){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ae}/mark_wrong_topic.json`,{method:"get",params:Bn})})}function Gn(Ae,Bn){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ae}/cancel_wrong_topic.json`,{method:"get",params:Bn})})}function Rn(Ae,Bn){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ae}/allow_end_group.json`,{method:"get",params:Bn})})}function qn(Ae,Bn){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:Bn})})}function ba(Ae,Bn){return a(this,null,function*(){return(0,t.ZP)(`/api/tasks/${Ae}/get_content_for_commit_id.json`,{method:"get",params:Bn})})}function Oa(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.course_id}/course_ai_info.json`,{method:"Get",params:c({},Ae)})})}function la(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.course_id}/set_open_ai.json`,{method:"post",body:Ae})})}function Ra(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.id}/smart_plans.json`,{method:"get",params:c({},Ae)})})}function Ya(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.id}/smart_plans.json`,{method:"post",body:c({},Ae)})})}},52721:function(i,d,e){"use strict";e.d(d,{$M:function(){return yt},$P:function(){return jt},Ax:function(){return g},Dh:function(){return A},FU:function(){return R},GQ:function(){return Q},IN:function(){return we},JM:function(){return Ve},Ju:function(){return at},Mn:function(){return $e},Ni:function(){return H},Pg:function(){return I},Pt:function(){return P},Qp:function(){return G},R9:function(){return z},Ux:function(){return J},Vy:function(){return _e},XJ:function(){return B},XR:function(){return Ue},Ze:function(){return D},aq:function(){return T},bQ:function(){return h},bu:function(){return p},cC:function(){return f},jS:function(){return V},lm:function(){return Ce},ml:function(){return K},o3:function(){return ye},pA:function(){return Qe},pS:function(){return Re},pU:function(){return M},ps:function(){return L},q0:function(){return At},qN:function(){return St},qS:function(){return E},qj:function(){return He},qt:function(){return et},rV:function(){return C},rZ:function(){return Be},rk:function(){return oe},rm:function(){return Y},sK:function(){return j},sL:function(){return qe},su:function(){return Me},tC:function(){return de},tO:function(){return he},u9:function(){return Z},uZ:function(){return ee},vV:function(){return $},xx:function(){return Ht},y8:function(){return tt},yS:function(){return k},zF:function(){return b},zc:function(){return N},zj:function(){return O},zz:function(){return Xe}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(ge,ke,bt)=>ke in ge?r(ge,ke,{enumerable:!0,configurable:!0,writable:!0,value:bt}):ge[ke]=bt,c=(ge,ke)=>{for(var bt in ke||(ke={}))o.call(ke,bt)&&u(ge,bt,ke[bt]);if(n)for(var bt of n(ke))s.call(ke,bt)&&u(ge,bt,ke[bt]);return ge},a=(ge,ke,bt)=>new Promise((ut,dt)=>{var ot=le=>{try{it(bt.next(le))}catch(ct){dt(ct)}},Zt=le=>{try{it(bt.throw(le))}catch(ct){dt(ct)}},it=le=>le.done?ut(le.value):Promise.resolve(le.value).then(ot,Zt);it((bt=bt.apply(ge,ke)).next())});const f=ge=>(0,t.ZP)(`/api/competitions/${ge.identifier}/create_guide.json`,{method:"post",body:ge}),g=ge=>(0,t.ZP)(`/api/competitions/${ge.identifier}/guides.json`,{method:"get",params:ge}),p=ge=>(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.competition_team_id}/edit_info.json`,{method:"put",body:ge});function b(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/update_result.json`,{method:"post",body:ge})})}function h(ge){return a(this,null,function*(){return(0,t.ZP)("/api/competitions.json",{method:"Get",params:c({},ge)})})}function E(ge){return a(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:ge})})}function P(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams.json`,{method:"post"})})}function A(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_staff.json`,{method:"get"})})}function I(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/common_header.json`,{method:"get"})})}function C(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/${ge.url}`,{method:"get",params:c({},ge)})})}function O(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/update_md_content.json`,{method:"post",body:ge})})}function T(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams.json`,{method:"get",params:ge})})}function D(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.Teannameid}/edit.json`,{method:"get",params:ge})})}function k(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.Teannameid}.json`,{method:"put",body:ge})})}function $(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.id}/leave.json`,{method:"post",body:ge})})}function L(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.id}.json`,{method:"delete"})})}function R(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams.json`,{method:"post",body:ge})})}function z(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.id}/add_managers.json`,{method:"post",body:ge})})}function N(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/join.json`,{method:"post",body:ge})})}function V(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/teachers.json`,{method:"get",params:ge})})}function j(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/students.json`,{method:"get",params:ge})})}function Y(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.teamid}/crud_team_members.json`,{method:"post",body:ge})})}function G(ge){return a(this,null,function*(){return(0,t.ZP)("/api/users/competition_reward.json",{method:"post",body:ge})})}function J(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/chart_rules.json`,{method:"get"})})}function Q(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/charts.json`,{method:"get",params:ge})})}function Z(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/results.json`,{method:"get",params:ge})})}function K(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/md_tab_rules.json`,{method:"get",params:ge})})}function M(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/prize.json`,{method:"get",params:ge})})}function B(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ge.id}.json`,{method:"get",params:ge})})}function H(ge){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:ge})})}function ee(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ge.userid}/phone_bind.json`,{method:"post",body:ge})})}function oe(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ge.userid}/email_bind.json`,{method:"post",body:ge})})}function de(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ge.userid}/professional_auth_apply.json`,{method:"delete"})})}function _e(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ge.userid}/authentication_apply.json`,{method:"delete"})})}function he(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/prize_leader_account.json`,{method:"put",body:ge})})}function He(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.teamid}/shixun_detail.json`,{method:"get"})})}function Ue(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.teamid}/course_detail.json`,{method:"get"})})}function tt(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/attachments/${ge.id}.json`,{method:"delete"})})}function at(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.id}/get_certificate_info.json`,{method:"get",params:ge})})}function yt(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.id}/basic_setting.json`,{method:"post",body:ge})})}function Et(){return a(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function ye(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge}/common_header.json`,{method:"get"})})}function Fe(ge){return a(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:ge})})}function Qe(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/search_managers.json`,{method:"get",params:ge})})}function qe(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge}/get_managers.json`,{method:"get"})})}function At(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/add_managers.json`,{method:"post",body:ge})})}function St(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/delete_managers.json`,{method:"delete",body:ge})})}function $e(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge}/get_picture.json`,{method:"get"})})}function we(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/identifier_exist.json`,{method:"post",body:ge})})}function Ce(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge}/get_shixun_settings.json`,{method:"get"})})}function Me(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/shixun_add.json`,{method:"post",body:ge})})}function Re(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/shixun_delete.json`,{method:"delete",body:ge})})}function Ve(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/shixun_select.json`,{method:"post",body:ge})})}function Be(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge}/info_finish.json`,{method:"get"})})}function et(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/competition_review.json`,{method:"post",body:c({},ge)})})}function Xe(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams.json`,{method:"get",params:ge})})}function jt(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/all_team_members.json`,{method:"get",params:ge})})}function Ht(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_commit_records/member_works.json`,{method:"get",params:ge})})}},38650:function(i,d,e){"use strict";e.d(d,{F:function(){return E},OE:function(){return O},ff:function(){return P},p1:function(){return A},_y:function(){return h},mK:function(){return $},gq:function(){return R},eM:function(){return k},BA:function(){return V},bA:function(){return Y},Nx:function(){return j},Qx:function(){return T},At:function(){return I},PX:function(){return C},Xl:function(){return D},y9:function(){return L},No:function(){return z},ay:function(){return G}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(J,Q,Z)=>Q in J?r(J,Q,{enumerable:!0,configurable:!0,writable:!0,value:Z}):J[Q]=Z,f=(J,Q)=>{for(var Z in Q||(Q={}))u.call(Q,Z)&&a(J,Z,Q[Z]);if(s)for(var Z of s(Q))c.call(Q,Z)&&a(J,Z,Q[Z]);return J},g=(J,Q)=>n(J,o(Q)),p=(J,Q)=>{var Z={};for(var K in J)u.call(J,K)&&Q.indexOf(K)<0&&(Z[K]=J[K]);if(J!=null&&s)for(var K of s(J))Q.indexOf(K)<0&&c.call(J,K)&&(Z[K]=J[K]);return Z},b=(J,Q,Z)=>new Promise((K,M)=>{var B=oe=>{try{ee(Z.next(oe))}catch(de){M(de)}},H=oe=>{try{ee(Z.throw(oe))}catch(de){M(de)}},ee=oe=>oe.done?K(oe.value):Promise.resolve(oe.value).then(B,H);ee((Z=Z.apply(J,Q)).next())});const h=J=>b(void 0,null,function*(){var Q=J,{id:Z}=Q,K=p(Q,["id"]);return(0,t.ZP)(`/api/ec_years/${Z}/course_results.json`,{method:"get",params:K})}),E=J=>{let Q=document.createElement("iframe");Q.src=`/api/ec_years/${J}/course_results.xlsx`,Q.style.display="none",document.body.appendChild(Q)},P=({ec_year_id:J})=>(0,t.ZP)(`/api/ec_years/${J}/course_results/get_class.json`,{method:"get"}),A=({ec_year_id:J,id:Q,class_name:Z=null})=>(0,t.ZP)(`/api/ec_years/${J}/course_results/${Q}.json`,{method:"get",params:{class_name:Z}}),I=({ec_year_id:J})=>(0,t.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:J}}),C=({ec_course_id:J})=>(0,t.ZP)(`/api/ec_courses/${J}/evaluations/evaluation_data`,{method:"POST"}),O=J=>{let Q=document.createElement("iframe");Q.src=`/api/ec_years/${J}/ec_graduation_results.xlsx`,Q.style.display="none",document.body.appendChild(Q)},T=({ec_year_id:J})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/compute_all`,{method:"post"}),D=({ec_year_id:J,id:Q})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/compute_single?id=${Q}`,{method:"POST"}),k=J=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results.json`,{method:"get"}),$=J=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/get_formulas.json`,{method:"get"}),L=({ec_year_id:J,formula_one:Q,formula_two:Z,formula_three:K})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:Q,formula_two_id:Z,formula_three_id:K}}),R=({ec_year_id:J,id:Q})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/${Q}.json`,{method:"get"}),z=J=>{var Q=J,{ec_year_id:Z,type:K,goal_value:M}=Q,B=p(Q,["ec_year_id","type","goal_value"]);let H=`?type=${K}`,ee={method:"PUT"};return K==="all"&&(H+=`&goal_value=${M}`),K==="each"&&(ee=g(f({},ee),{body:B})),(0,t.ZP)(`/api/ec_years/${Z}/ec_graduation_results/set_goal_value${H}`,ee)};var N=(J,Q,Z)=>new Promise((K,M)=>{var B=oe=>{try{ee(Z.next(oe))}catch(de){M(de)}},H=oe=>{try{ee(Z.throw(oe))}catch(de){M(de)}},ee=oe=>oe.done?K(oe.value):Promise.resolve(oe.value).then(B,H);ee((Z=Z.apply(J,Q)).next())});const V=J=>N(void 0,null,function*(){return(0,t.ZP)(`/api/schools/${J}/ec_majors/get_major_list.json`,{method:"get"})}),j=J=>N(void 0,null,function*(){return(0,t.ZP)(`/api/ec_major_schools/${J}/ec_years/get_year_list.json`,{method:"get"})}),Y=({ec_year_id:J,school_id:Q})=>(0,t.ZP)(`/api/ec_years/${J}/top_pages.json`,{method:"get",params:{school_id:Q}}),G=({id:J,name:Q})=>(0,t.ZP)(`/api/ec_years/1/top_pages/${J}?name=${Q}`,{method:"PUT"})},94941:function(i,d,e){"use strict";e.d(d,{$Q:function(){return O},$l:function(){return Ft},BJ:function(){return St},CD:function(){return ke},Cd:function(){return et},Cl:function(){return _r},Di:function(){return Et},Fl:function(){return Qe},G$:function(){return K},GK:function(){return Fe},Ip:function(){return Ce},J:function(){return M},KE:function(){return qe},L8:function(){return it},LP:function(){return Me},MK:function(){return ye},Mb:function(){return ur},N0:function(){return L},N3:function(){return he},OO:function(){return I},P8:function(){return Or},PJ:function(){return H},PT:function(){return Gt},Qc:function(){return z},RK:function(){return Z},Ty:function(){return fr},UH:function(){return vr},UK:function(){return He},Uj:function(){return Ht},Ul:function(){return Be},VL:function(){return dt},Vj:function(){return ct},W4:function(){return jt},WL:function(){return Je},Wj:function(){return Q},X4:function(){return we},Xn:function(){return Qr},Xo:function(){return V},YY:function(){return yt},Ym:function(){return k},Yu:function(){return ht},ZD:function(){return yr},Zg:function(){return Nr},_B:function(){return ge},_F:function(){return tr},_U:function(){return Y},_u:function(){return ee},aU:function(){return $},ab:function(){return hr},cC:function(){return sr},cV:function(){return G},ck:function(){return Er},dp:function(){return R},eA:function(){return ze},fG:function(){return P},gA:function(){return J},gG:function(){return on},gJ:function(){return Ne},hk:function(){return b},hv:function(){return h},iB:function(){return E},iU:function(){return A},iw:function(){return Dt},kp:function(){return ot},lL:function(){return C},lf:function(){return _e},n$:function(){return de},n7:function(){return j},nF:function(){return le},o3:function(){return Ze},oS:function(){return Re},oX:function(){return ut},oy:function(){return Rr},p7:function(){return D},pL:function(){return bt},pu:function(){return $e},q6:function(){return Zt},qf:function(){return at},qz:function(){return Ve},s:function(){return or},sA:function(){return xt},sS:function(){return te},tX:function(){return rt},uR:function(){return Ue},ux:function(){return At},wy:function(){return tt},xA:function(){return Te},yE:function(){return N},yu:function(){return Rt},zP:function(){return T},zR:function(){return kt}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(Ee,rr,Tr)=>rr in Ee?r(Ee,rr,{enumerable:!0,configurable:!0,writable:!0,value:Tr}):Ee[rr]=Tr,f=(Ee,rr)=>{for(var Tr in rr||(rr={}))u.call(rr,Tr)&&a(Ee,Tr,rr[Tr]);if(s)for(var Tr of s(rr))c.call(rr,Tr)&&a(Ee,Tr,rr[Tr]);return Ee},g=(Ee,rr)=>n(Ee,o(rr)),p=(Ee,rr,Tr)=>new Promise((ln,qt)=>{var rn=Gn=>{try{dn(Tr.next(Gn))}catch(Rn){qt(Rn)}},nn=Gn=>{try{dn(Tr.throw(Gn))}catch(Rn){qt(Rn)}},dn=Gn=>Gn.done?ln(Gn.value):Promise.resolve(Gn.value).then(rn,nn);dn((Tr=Tr.apply(Ee,rr)).next())});const b=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:Ee}),h=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:Ee}),E=Ee=>(0,t.ZP)(`/api/exercises/${Ee.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:Ee}),P=Ee=>(0,t.ZP)(`/api/exercises/${Ee.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:Ee}),A=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:Ee}),I=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.exercise_id}/statistics/list_student_score.json`,{method:"get",params:Ee}),C=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:Ee}),O=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.exercise_id}/statistics/score_ranges.json`,{method:"get",params:Ee}),T=Ee=>(0,t.ZP)(`/api/exercises/${Ee.id}/sava_exam_summary.json`,{method:"post",body:Ee}),D=Ee=>(0,t.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:Ee}),k=Ee=>(0,t.ZP)(`/api/exercises/${Ee.id}/generate_exam_summary.json`,{method:"post",body:Ee}),$=Ee=>(0,t.ZP)(`/api/exercises/${Ee.id}/exam_summary_settings.json`,{method:"post",body:Ee}),L=Ee=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.exercise_id}/review_exercise_user.json`,{method:"post",body:Ee})}),R=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.id}/code_check.json`,{method:"get",params:Ee}),z=Ee=>(0,t.ZP)(`/api/exercises/${Ee.id}/reset_pwd.json`,{method:"post",body:Ee}),N=Ee=>(0,t.ZP)(`/api/exercises/${Ee.id}/encrypt_or_decrypt.json`,{method:"post",body:Ee}),V=Ee=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.id}/delayed_time_or_force.json`,{method:"post",body:Ee})}),j=Ee=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.id}/exercise_time.json`,{method:"Get",params:Ee})}),Y=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.id}/exercise_question_result.json`,{method:"get",params:Ee}),G=Ee=>(0,t.ZP)(`/api/exercises/${Ee.id}/get_question_type_alias.json`,{method:"get",params:Ee});function J(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee==null?void 0:Ee.id}/teacher_update.json`,{method:"post",body:f({},Ee)})})}function Q(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee==null?void 0:Ee.id}/adjust_comment.json`,{method:"post",body:f({},Ee)})})}function Z(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.id}/edit_question_type_alias.json`,{method:"POST",body:Ee})})}function K(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/exercise_lists.json`,{method:"get",params:f({},Ee)})})}function M(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/exercise_identity_photos.json`,{method:"get",params:f({},Ee)})})}function B(Ee){return p(this,null,function*(){return Fetch(`/api/exercises/${Ee.categoryId}/video_push_url.json`,{method:"get",params:f({},Ee)})})}function H(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/query_identity_photo_state.json`,{method:"get",params:f({},Ee)})})}function ee(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/exercise_result.json`,{method:"get",params:f({},Ee)})})}function oe(Ee){return p(this,null,function*(){return Fetch(`/api/exercises/${Ee.categoryId}/exercise_score_area_setting.json`,{method:"post",body:f({},Ee)})})}function de(Ee){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:f({},Ee)})})}function _e(Ee){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:f({},Ee)})})}function he(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ee.coursesId}/exercises/publish_modal.json`,{method:"get",params:f({},Ee)})})}function He(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/common_header.json`,{method:"get",params:f({},Ee)})})}function Ue(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ee.coursesId}/exercises.json`,{method:"post",body:f({},Ee)})})}function tt(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.exerciseId}.json`,{method:"put",body:f({},Ee)})})}function at(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}.json`,{method:"get",params:f({},Ee)})})}function yt(Ee){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"get",params:f({},Ee)})})}function Et(Ee){return p(this,null,function*(){const{id:rr}=Ee;return delete Ee.id,(0,t.ZP)(`/api/exercise_questions/${rr}.json`,{method:"put",body:f({},Ee)})})}function ye(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/exercise_questions.json`,{method:"post",body:f({},Ee)})})}function Fe(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee.id}/up_down.json`,{method:"post",body:f({},Ee)})})}function Qe(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee.id}.json`,{method:"delete"})})}function qe(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ee.coursesId}/exercises/end_modal.json`,{method:"get",params:f({},Ee)})})}function At(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/publish_groups.json`,{method:"get",params:f({},Ee)})})}function St(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.exerciseId}/user_exercise_detail.json`,{method:"get",params:f({},Ee)})})}function $e(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.exerciseId}/consult_exercise.json`,{method:"post",body:f({},Ee)})})}function we(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.exerciseId}/teacher_appraise.json`,{method:"get",params:f({},Ee)})})}function Ce(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee.id}/adjust_score.json`,{method:"post",body:f({},Ee)})})}function Me(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee.id}/batch_adjust_score.json`,{method:"post",body:f({},Ee)})})}function Re(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.id}/adjust_score.json`,{method:"post",body:f({},Ee)})})}function Ve(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.id}/delayed_time.json`,{method:"post",body:f({},Ee)})})}function Be(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/exercise_setting.json`,{method:"get",params:f({},Ee)})})}function et(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/v2/exercises/${Ee.categoryId}/exercise_setting.json`,{method:"get",params:f({},Ee)})})}function Xe(Ee){return p(this,null,function*(){return Fetch(`/api/exercises/${Ee.categoryId}/commit_setting.json`,{method:"post",body:f({},Ee)})})}function jt(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.exerciseId}/review_exercises_by_students.json`,{method:"post",body:f({},Ee)})})}function Ht(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/exercise_lists.xlsx`,{method:"get",params:g(f({},Ee),{export:!0})})})}function ge(Ee){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/user_exercise_detail.json`,{method:"get",params:g(f({},Ee),{login:null})})}function ke(Ee){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/start.json`,{method:"get",params:f({},Ee)})}function bt(Ee){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/start_unlock.json`,{method:"post",body:f({},Ee)})}function ut(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee.questionId}/exercise_answers.json`,{method:"post",body:Ee})})}function dt(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/commit_exercise.json`,{method:"post",body:Ee})})}function ot(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/simulate_commit_exercise.json`,{method:"post",body:Ee})})}function Zt(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/redo_exercise.json`,{method:"post",body:Ee})})}function it(Ee){return(0,t.ZP)(`/api/${Ee.url}`,{method:"get",params:f({},Ee)})}function le(Ee){return(0,t.ZP)(`/api/problems/${Ee.id}/start.json`,{method:"get",params:f({},Ee)})}function ct(Ee){return(0,t.ZP)(`/api/exercises/${Ee.id}/begin_commit.json`,{method:"get",params:f({},Ee)})}function Je(Ee){return(0,t.ZP)(`/api/exercises/${Ee.id}/simulate_begin_commit.json`,{method:"get",params:f({},Ee)})}function xt(Ee){return(0,t.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:f({},Ee)})}function Rt(Ee){return console.log("params:",Ee),(0,t.ZP)(`/api/exercises/${Ee.categoryId}/edit.json`,{method:"get",params:f({},Ee)})}function vr(Ee){return(0,t.ZP)(`/api/exercises/${Ee.id}/get_objective_scores.json`,{method:"get",params:f({},Ee)})}function rt(Ee){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/redo_modal.json`,{method:"get",params:f({},Ee)})}function or(Ee){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/student_redo_lists.json`,{method:"get",params:f({},Ee)})}function Te(Ee){return(0,t.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:Ee})}function Dt(Ee){return(0,t.ZP)(`/api/exercises/${Ee.id}/exercise_header.json`,{method:"get",params:f({},Ee)})}function sr(Ee){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/allow_close_camera.json`,{method:"post",body:f({},Ee)})}function fr(Ee){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/get_exercise_user_info.json`,{method:"get",params:f({},Ee)})}function Rr(Ee){return(0,t.ZP)(`/api/exercises/${Ee.id}/record_screen`,{method:"post",params:f({},Ee)})}function hr(Ee){return(0,t.ZP)(`/api/exercises/${Ee.id}/unbind_ip.json`,{method:"post",body:f({},Ee)})}function _r(Ee){return(0,t.ZP)(`/api/exercises/${Ee.id}/check_ip.json`,{method:"get",params:f({},Ee)})}function Nr(Ee){return(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.id}/check_user_exercise.json`,{method:"get",params:f({},Ee)})}function Wr(Ee){return Fetch(`/api/exercises/${Ee.id}/make_up_students.json`,{method:"get",params:f({},Ee)})}function Qr(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ee.coursesId}/exercises/code_review_detail.json`,{method:"get",params:f({},Ee)})})}function on(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee.question_id}/adjust_score.json`,{method:"post",body:f({},Ee)})})}function ur(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Ee.categoryId}/simulate_exercise.json`,{method:"post",body:f({},Ee)})})}function tr(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/simulate_start_answer.json`,{method:"get",params:f({},Ee)})})}function Gt(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/exercise_time.json`,{method:"get",params:f({},Ee)})})}function Er(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/commit_screen_at.json`,{method:"post",body:f({},Ee)})})}function yr(Ee,rr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee}/unlock_user`,{method:"post",body:rr})})}function Or(Ee,rr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee}/save_screen_record.json`,{method:"post",body:rr})})}function ht(Ee,rr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee}/screen_record_list.json`,{method:"get",params:rr})})}function Ne(Ee){return p(this,null,function*(){return(0,t.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:f({},Ee)})})}function Ze(Ee){return p(this,null,function*(){return(0,t.ZP)("/api/exercises/need_redo.json",{method:"get",params:Ee})})}function te(Ee,rr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee}/mark.json`,{method:"post",body:rr})})}function ze(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Ee}/exit_delete_pod.json`,{method:"post",body:Ee})})}function kt(Ee){return p(this,null,function*(){return(0,t.ZP)("/api/users/change_exercise_score.json",{method:"put",body:Ee})})}function Ft(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee==null?void 0:Ee.id}/send_to_item_bank.json`,{method:"post",body:f({},Ee)})})}},67508:function(i,d,e){"use strict";e.d(d,{B0:function(){return p},Si:function(){return I},Sr:function(){return O},YP:function(){return C},b4:function(){return A},bc:function(){return f},dX:function(){return P},eh:function(){return T},iI:function(){return h},kd:function(){return g},qR:function(){return E},sW:function(){return b},ts:function(){return k},vL:function(){return D},z5:function(){return $}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(L,R,z)=>R in L?r(L,R,{enumerable:!0,configurable:!0,writable:!0,value:z}):L[R]=z,c=(L,R)=>{for(var z in R||(R={}))o.call(R,z)&&u(L,z,R[z]);if(n)for(var z of n(R))s.call(R,z)&&u(L,z,R[z]);return L},a=(L,R,z)=>new Promise((N,V)=>{var j=J=>{try{G(z.next(J))}catch(Q){V(Q)}},Y=J=>{try{G(z.throw(J))}catch(Q){V(Q)}},G=J=>J.done?N(J.value):Promise.resolve(J.value).then(j,Y);G((z=z.apply(L,R)).next())});function f(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"get",params:L})})}function g(L){return a(this,null,function*(){return(0,t.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:L})})}function p(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}/sticky_or_cancel.json`,{method:"post",body:L})})}function b(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}.json`,{method:"delete",body:L})})}function h(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos/new.json",{method:"get",params:L})})}function E(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}/edit.json`,{method:"get",params:L})})}function P(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"post",body:c({},L)})})}function A(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}.json`,{method:"put",body:c({},L)})})}function I(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}.json`,{method:"get",params:L})})}function C(L){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${L.user_id}/watch.json`,{method:"post",body:L})})}function O(L){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${L.user_id}/watch.json`,{method:"delete",body:c({},L)})})}function T(L){return a(this,null,function*(){return(0,t.ZP)(`/api/discusses/${L.id}/reward_code.json`,{method:"post",body:L})})}function D(L){return a(this,null,function*(){return(0,t.ZP)(`/api/discusses/${L.id}/plus.json`,{method:"post",body:L})})}function k(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos/reply.json",{method:"post",body:L})})}function $(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}/more_reply.json`,{method:"get",params:L})})}},30534:function(i,d,e){"use strict";e.d(d,{D2:function(){return n},n0:function(){return o},tk:function(){return s}});var t=e(99064),r=(u,c,a)=>new Promise((f,g)=>{var p=E=>{try{h(a.next(E))}catch(P){g(P)}},b=E=>{try{h(a.throw(E))}catch(P){g(P)}},h=E=>E.done?f(E.value):Promise.resolve(E.value).then(p,b);h((a=a.apply(u,c)).next())});function n(){return r(this,null,function*(){return(0,t.ZP)("/api/setting.json",{method:"Get"})})}function o(){return r(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"Get"})})}function s(u){return r(this,null,function*(){return(0,t.ZP)("/api/search_records",{method:"post",body:u})})}},89887:function(i,d,e){"use strict";e.d(d,{B6:function(){return p},Gr:function(){return k},Mf:function(){return O},NA:function(){return I},PC:function(){return P},PP:function(){return A},QA:function(){return g},RP:function(){return R},Sv:function(){return L},YQ:function(){return C},_n:function(){return z},hL:function(){return D},je:function(){return E},mM:function(){return h},wA:function(){return $},x_:function(){return b},y0:function(){return T},y3:function(){return f}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(N,V,j)=>V in N?r(N,V,{enumerable:!0,configurable:!0,writable:!0,value:j}):N[V]=j,c=(N,V)=>{for(var j in V||(V={}))o.call(V,j)&&u(N,j,V[j]);if(n)for(var j of n(V))s.call(V,j)&&u(N,j,V[j]);return N},a=(N,V,j)=>new Promise((Y,G)=>{var J=K=>{try{Z(j.next(K))}catch(M){G(M)}},Q=K=>{try{Z(j.throw(K))}catch(M){G(M)}},Z=K=>K.done?Y(K.value):Promise.resolve(K.value).then(J,Q);Z((j=j.apply(N,V)).next())});function f(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}.json`,{method:"get",params:c({},N)})})}function g(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}/tasks_list.json`,{method:"get",params:c({},N)})})}function p(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/show_detail.json`,{method:"get",params:c({},N)})})}function b(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}.json`,{method:"get",params:c({},N)})})}function h(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/refuse_student_topic.json`,{method:"post",body:c({},N)})})}function E(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/accept_student_topic.json`,{method:"post",body:c({},N)})})}function P(N){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${N.categoryId}/show_comment.json`,{method:"get",params:c({},N)})})}function A(N){return a(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:c({},N)})})}function I(N){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:c({},N)})})}function C(N){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:c({},N)})})}function O(N){return a(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:c({},N)})})}function T(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/new.json`,{method:"get",params:c({},N)})})}function D(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/edit.json`,{method:"get",params:c({},N)})})}function k(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics`,{method:"post",body:c({},N)})})}function $(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}`,{method:"put",body:c({},N)})})}function L(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_tasks`,{method:"post",body:c({},N)})})}function R(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}.json`,{method:"put",body:c({},N)})})}function z(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}/edit.json`,{method:"get",params:c({},N)})})}},2742:function(i,d,e){"use strict";e.d(d,{AA:function(){return $},Db:function(){return g},Dd:function(){return E},F7:function(){return j},Fi:function(){return K},H3:function(){return h},HF:function(){return A},HH:function(){return b},Ib:function(){return J},J3:function(){return u},NT:function(){return n},NX:function(){return C},Ot:function(){return I},Ou:function(){return Y},Ps:function(){return o},Rk:function(){return V},Tz:function(){return f},V1:function(){return Q},Wz:function(){return s},Xh:function(){return p},Xw:function(){return N},YS:function(){return R},Zd:function(){return Z},bS:function(){return O},ck:function(){return P},eh:function(){return k},il:function(){return c},j7:function(){return a},jW:function(){return L},km:function(){return z},l5:function(){return D},rU:function(){return M},xF:function(){return T},zC:function(){return G},zT:function(){return B}});var t=e(99064),r=(H,ee,oe)=>new Promise((de,_e)=>{var he=tt=>{try{Ue(oe.next(tt))}catch(at){_e(at)}},He=tt=>{try{Ue(oe.throw(tt))}catch(at){_e(at)}},Ue=tt=>tt.done?de(tt.value):Promise.resolve(tt.value).then(he,He);Ue((oe=oe.apply(H,ee)).next())});function n(H){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:H})}function o(H){return(0,t.ZP)(`/api/schools/${H.id}/departments/for_option.json`,{method:"get",params:H})}function s(H){return(0,t.ZP)("/api/graduations.json",{method:"POST",body:H})}function u(H){return(0,t.ZP)("/api/graduations.json",{method:"get",params:H})}function c(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_stages/${H.stageid}/authorized_redelivery.json`,{method:"POST",body:H})})}function a(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_stages/${H.stageid}/submit.json`,{method:"POST",body:H})})}function f(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/export_status.json`,{method:"get",params:H})})}function g(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/export_all_attachments.json`,{method:"get",params:H})})}function p(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_stages/${H.id}.json`,{method:"get",params:H})})}function b(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/set_final_score.json`,{method:"POST",body:H})})}function h(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/final_score.json`,{method:"get",params:H})})}function E(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/set_novice_guide.json`,{method:"POST",body:H})})}function P(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_notices/${H.doid}/set_do.json`,{method:"POST",body:H})})}function A(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_teachers.json`,{method:"POST",body:H})})}function I(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_students/${H.id}/update_major.json`,{method:"PUT",body:H})})}function C(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_students.json`,{method:"POST",body:H})})}function O(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_teachers/search.json`,{method:"get",params:H})})}function T(H){return r(this,null,function*(){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:H})})}function D(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_students/search.json`,{method:"get",params:H})})}function k(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_students.json`,{method:"get",params:H})})}function $(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_teachers.json`,{method:"get",params:H})})}function L(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.graduation_id}/graduation_tasks.json`,{method:"POST",body:H})})}function R(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.graduation_id}/graduation_tasks/${H.id}.json`,{method:"PUT",body:H})})}function z(H){return r(this,null,function*(){var ee;return(0,t.ZP)(`/api/graduations/${H.id}/graduation_tasks/${(ee=H.ids)==null?void 0:ee[0]}`,{method:"DELETE",body:{ids:H.ids}})})}function N(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_tasks.json`,{method:"get",params:H})})}function V(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_notices.json`,{method:"get",params:H})})}function j(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}.json`,{method:"get"})})}function Y(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H==null?void 0:H.id}/common_header.json`,{method:"get"})})}function G(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/preview.json`,{method:"get"})})}function J(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_teachers/not_pass.json`,{method:"post",body:ee})})}function Q(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_teachers/pass.json`,{method:"post",body:ee})})}function Z(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_students/not_pass.json`,{method:"post",body:ee})})}function K(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_students/pass.json`,{method:"post",body:ee})})}function M(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_students/batch_delete`,{method:"delete",body:ee})})}function B(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_teachers/batch_delete`,{method:"delete",body:ee})})}},1:function(i,d,e){"use strict";e.d(d,{LA:function(){return u},S_:function(){return c},Tt:function(){return n},cR:function(){return o},vm:function(){return s}});var t=e(99064),r=(a,f,g)=>new Promise((p,b)=>{var h=A=>{try{P(g.next(A))}catch(I){b(I)}},E=A=>{try{P(g.throw(A))}catch(I){b(I)}},P=A=>A.done?p(A.value):Promise.resolve(A.value).then(h,E);P((g=g.apply(a,f)).next())});function n(){return r(this,null,function*(){return(0,t.ZP)("/api/home/index.json",{method:"Get"})})}function o(a){return r(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:a})})}function s(a){return r(this,null,function*(){return(0,t.ZP)("/api/project_applies.json",{method:"post",body:a})})}function u(a){return r(this,null,function*(){return(0,t.ZP)("/api/users/home_notice.json",{method:"Get"})})}function c(a){return r(this,null,function*(){return(0,t.ZP)("/api/users/view_notice.json",{method:"post",body:a})})}},10656:function(i,d,e){"use strict";e.d(d,{AD:function(){return f},Ig:function(){return g},Ko:function(){return h},QJ:function(){return E},Ub:function(){return P},V8:function(){return p},dl:function(){return A},w0:function(){return b}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(I,C,O)=>C in I?r(I,C,{enumerable:!0,configurable:!0,writable:!0,value:O}):I[C]=O,c=(I,C)=>{for(var O in C||(C={}))o.call(C,O)&&u(I,O,C[O]);if(n)for(var O of n(C))s.call(C,O)&&u(I,O,C[O]);return I},a=(I,C,O)=>new Promise((T,D)=>{var k=R=>{try{L(O.next(R))}catch(z){D(z)}},$=R=>{try{L(O.throw(R))}catch(z){D(z)}},L=R=>R.done?T(R.value):Promise.resolve(R.value).then(k,$);L((O=O.apply(I,C)).next())});function f(I){return a(this,null,function*(){return(0,t.ZP)("/api/users/tidings.json",{method:"get",params:c({},I)})})}function g(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/unread_message_info.json`,{method:"get",params:c({},I)})})}function p(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages.json`,{method:"get",params:c({},I)})})}function b(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages.json`,{method:"post",body:c({},I)})})}function h(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.id}/recent_contacts.json`,{method:"get",params:c({},I)})})}function E(I){return a(this,null,function*(){return(0,t.ZP)("/api/users_for_private_messages.json",{method:"get",params:c({},I)})})}function P(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_message_details.json`,{method:"get",params:c({},I)})})}function A(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages/${I.id}.json`,{method:"delete"})})}},34640:function(i,d,e){"use strict";e.d(d,{A2:function(){return E},CI:function(){return p},Ep:function(){return h},Ex:function(){return T},R7:function(){return f},WW:function(){return D},_V:function(){return O},ms:function(){return I},s0:function(){return P},vf:function(){return b},xn:function(){return g},yy:function(){return C}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(k,$,L)=>$ in k?r(k,$,{enumerable:!0,configurable:!0,writable:!0,value:L}):k[$]=L,c=(k,$)=>{for(var L in $||($={}))o.call($,L)&&u(k,L,$[L]);if(n)for(var L of n($))s.call($,L)&&u(k,L,$[L]);return k},a=(k,$,L)=>new Promise((R,z)=>{var N=Y=>{try{j(L.next(Y))}catch(G){z(G)}},V=Y=>{try{j(L.throw(Y))}catch(G){z(G)}},j=Y=>Y.done?R(Y.value):Promise.resolve(Y.value).then(N,V);j((L=L.apply(k,$)).next())});function f(k){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${k.coursesId}/online_learning.json`,{method:"get"})})}function g(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}.json`,{method:"put",body:k})})}function p(k){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${k.coursesId}/course_stages.json`,{method:"post",body:k})})}function b(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/add_shixun_to_stage.json`,{method:"post",body:k})})}function h(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/select_shixun_to_stage.json`,{method:"post",body:k})})}function E(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/add_video_to_stage.json`,{method:"post",body:k})})}function P(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/add_attachment_to_stage.json`,{method:"post",body:k})})}function A(k){return a(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:k})})}function I(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/up_position.json`,{method:"post"})})}function C(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/down_position.json`,{method:"post"})})}function O(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}.json`,{method:"delete"})})}function T(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.stage_id}/items/move_position.json`,{method:"post",body:c({},k)})})}function D(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.stage_id}/items/${k.id}`,{method:"delete"})})}},80401:function(i,d,e){"use strict";e.d(d,{DF:function(){return E},Di:function(){return Q},Dm:function(){return V},Dq:function(){return oe},Gd:function(){return h},Hb:function(){return de},Hm:function(){return R},ID:function(){return a},JP:function(){return ee},NC:function(){return $},Pl:function(){return P},Qc:function(){return o},Qp:function(){return j},RK:function(){return g},YP:function(){return L},a2:function(){return u},ar:function(){return b},cV:function(){return f},d1:function(){return p},dp:function(){return n},fn:function(){return A},iT:function(){return T},jK:function(){return N},kF:function(){return _e},kp:function(){return O},lc:function(){return C},oF:function(){return K},q$:function(){return c},qN:function(){return z},tS:function(){return I},ts:function(){return D},un:function(){return G},w0:function(){return J},wX:function(){return Y},yE:function(){return s}});var t=e(99064),r=(he,He,Ue)=>new Promise((tt,at)=>{var yt=Fe=>{try{ye(Ue.next(Fe))}catch(Qe){at(Qe)}},Et=Fe=>{try{ye(Ue.throw(Fe))}catch(Qe){at(Qe)}},ye=Fe=>Fe.done?tt(Fe.value):Promise.resolve(Fe.value).then(yt,Et);ye((Ue=Ue.apply(he,He)).next())});const n=he=>(0,t.ZP)(`/api/examination_banks/${he==null?void 0:he.id}/code_check.json`,{method:"get",params:he}),o=he=>(0,t.ZP)(`/api/examination_banks/${he.id}/reset_pwd.json`,{method:"post",body:he}),s=he=>(0,t.ZP)(`/api/examination_banks/${he.id}/encrypt_or_decrypt.json`,{method:"post",body:he}),u=he=>(0,t.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:he}),c=he=>(0,t.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:he}),a=he=>(0,t.ZP)(`/api/examination_banks/${he.id}/copy.json`,{method:"post",body:he}),f=he=>(0,t.ZP)(`/api/examination_banks/${he.id}/get_question_type_alias.json`,{method:"get",params:he});function g(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/edit_question_type_alias.json`,{method:"POST",body:he})})}function p(he){return r(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:he})})}function b(he){return r(this,null,function*(){return(0,t.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:he})})}function h(he){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"get",params:he})})}function E(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/set_public.json`,{method:"post"})})}function P(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/set_private.json`,{method:"post"})})}function A(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}.json`,{method:"delete"})})}function I(he){return r(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:he})})}const C=he=>(0,t.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:he});function O(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/send_to_course.json`,{method:"post",body:he})})}function T(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}.json`,{method:"get",params:he})})}function D(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/${he.itemId}/set_score`,{method:"post",body:he})})}function k(he){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he.id}/examination_banks_item_banks/${he.itemId}/set_shixun_score.json`,{method:"post",body:he})})}function $(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/${he.itemId}.json`,{method:"delete"})})}function L(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:he})})}function R(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:he})})}function z(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/${he.itemId}/adjust_position.json`,{method:"post",body:he})})}function N(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}.json`,{method:"put",body:he})})}function V(he){return r(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:he})})}function j(he){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:he})})}function Y(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he==null?void 0:he.id}/set_public.json`,{method:"post",body:he})})}function G(he){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:he})})}function J(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/update_exam.json`,{method:"put",body:he})})}function Q(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/edit_exam.json`,{method:"get"})})}function Z(he,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he}/examination_banks_item_banks.json`,{method:"post",body:He})})}function K(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:he})})}function M(he,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he}/sort_question_type.json`,{method:"post",body:He})})}function B(he){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he.exam_id}/examination_banks_item_banks/${he.question_id}.json`,{method:"delete"})})}function H(he,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he}/batch_set_score.json`,{method:"post",body:He})})}function ee(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he}/simulate_exercise.json`,{method:"post"})})}function oe(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he}/exercise_header.json`,{method:"get"})})}function de(he,He,Ue){return r(this,null,function*(){const tt=new FormData;return tt.append("file",He),tt.append("sub_discipline_id",Ue),(0,t.ZP)(`/api/examination_banks/${he}/import_item_banks.json`,{method:"post",body:tt},!0)})}function _e(he){return r(this,null,function*(){return(0,t.ZP)("/api/users/change_exam_score.json",{method:"put",body:he})})}},86248:function(i,d,e){"use strict";e.d(d,{$D:function(){return at},A2:function(){return ct},A7:function(){return Or},AQ:function(){return oe},Ax:function(){return sr},Bn:function(){return Ze},Bz:function(){return h},CB:function(){return I},CI:function(){return vr},DQ:function(){return tr},DU:function(){return ut},EG:function(){return k},EP:function(){return tt},Ep:function(){return le},Er:function(){return $e},Eu:function(){return P},Ex:function(){return hr},FD:function(){return Gt},F_:function(){return bt},Fg:function(){return V},GY:function(){return Qr},Go:function(){return qe},Gz:function(){return j},Hl:function(){return Y},Ho:function(){return p},JS:function(){return et},Jd:function(){return C},Ju:function(){return E},KM:function(){return ye},M2:function(){return xt},Mt:function(){return Rt},Mu:function(){return fr},NV:function(){return Ne},O9:function(){return g},PQ:function(){return A},Q:function(){return Ce},Sp:function(){return ee},VO:function(){return Er},WD:function(){return Wr},WO:function(){return St},WW:function(){return _r},YP:function(){return L},_C:function(){return ht},_V:function(){return Dt},bw:function(){return Ue},bz:function(){return ur},c2:function(){return O},c3:function(){return Be},cn:function(){return Q},dX:function(){return z},eJ:function(){return Qe},ef:function(){return ke},fh:function(){return Z},fj:function(){return At},hS:function(){return G},jT:function(){return yr},j_:function(){return R},ke:function(){return Nr},lk:function(){return H},mE:function(){return b},mQ:function(){return B},ms:function(){return or},mx:function(){return Re},nq:function(){return N},ol:function(){return on},p:function(){return _e},p4:function(){return Me},pU:function(){return M},pf:function(){return D},rS:function(){return Xe},rs:function(){return Fe},s0:function(){return Je},se:function(){return T},sm:function(){return Ve},tS:function(){return J},tu:function(){return K},ue:function(){return de},vf:function(){return Zt},w4:function(){return he},wv:function(){return $},xG:function(){return it},xn:function(){return ot},yN:function(){return He},yy:function(){return Te},zc:function(){return f}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(te,ze,kt)=>ze in te?r(te,ze,{enumerable:!0,configurable:!0,writable:!0,value:kt}):te[ze]=kt,c=(te,ze)=>{for(var kt in ze||(ze={}))o.call(ze,kt)&&u(te,kt,ze[kt]);if(n)for(var kt of n(ze))s.call(ze,kt)&&u(te,kt,ze[kt]);return te},a=(te,ze,kt)=>new Promise((Ft,Ee)=>{var rr=qt=>{try{ln(kt.next(qt))}catch(rn){Ee(rn)}},Tr=qt=>{try{ln(kt.throw(qt))}catch(rn){Ee(rn)}},ln=qt=>qt.done?Ft(qt.value):Promise.resolve(qt.value).then(rr,Tr);ln((kt=kt.apply(te,ze)).next())});const f=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/send_to_course.json",{method:"POST",body:te})}),g=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/check_knowledge_repeat.json",{method:"POST",body:te})}),p=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/courses.json",{method:"get",params:te})}),b=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/toggle.json",{method:"get",params:te})}),h=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/v2/knowledge_graphs/${te==null?void 0:te.graphable_type}/${te==null?void 0:te.graphable_id}`,{method:"get",params:te})}),E=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${te==null?void 0:te.id}/detail.json`,{method:"get",params:te})}),P=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals/home.json",{method:"get",params:te})}),A=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_tags/${te==null?void 0:te.id}.json`,{method:"delete",body:te})}),I=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_tags.json",{method:"POST",body:te})}),C=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_tags.json",{method:"get",params:te})}),O=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/tree.json",{method:"get",params:te})}),T=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${te==null?void 0:te.id}/edit`,{method:"get",params:te})}),D=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${te==null?void 0:te.id}.json`,{method:"delete",body:te})}),k=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${te==null?void 0:te.id}.json`,{method:"PUT",body:te})}),$=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals.json",{method:"POST",body:te})}),L=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals.json",{method:"get",params:te})}),R=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/update_knowledge_statistic.json",{method:"POST",body:te})}),z=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/subject_knowledge_statistic.json",{method:"Get",params:te})}),N=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:te})}),V=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:te})}),j=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:te})}),Y=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:te})}),G=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:te})});function J(te){return a(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"Get",params:c({},te)})})}function Q(te){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:c({},te)})})}function Z(te){return a(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:c({},te)})})}function K(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}.json`,{method:"PUT",body:te})})}function M(te){return a(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"post",body:te})})}function B(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/edit.json`,{method:"get"})})}function H(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}.json`,{method:"get",params:c({identifier:te.id},te)})})}function ee(te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${te.id}.json`,{method:"get",params:c({identifier:te.id},te)})})}function oe(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/right_banner.json`,{method:"get",params:te})})}function de(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/spoc_courses.json`,{method:"get",params:te})})}const _e=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/v2/stages.json",{method:"Get",params:te})}),he=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/v2/stage_shixuns/${te.id}/children.json`,{method:"Get",params:te})});function He(te){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:te})})}function Ue(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/update_team_title.json`,{method:"post",body:te})})}function tt(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/delete_member.json`,{method:"Delete",body:te})})}function at(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/spoc_courses/${te==null?void 0:te.courseid}.json`,{method:"Delete"})})}function yt(te){return a(this,null,function*(){return Fetch(`/api/paths/${te.id}/up_member_position.json`,{method:"post",body:te})})}function Et(te){return a(this,null,function*(){return Fetch(`/api/paths/${te.id}/down_member_position.json`,{method:"post",body:te})})}function ye(te){return a(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"post",body:te})})}function Fe(te){return a(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:te})})}function Qe(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}.json`,{method:"Delete",body:te})})}function qe(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/publish.json`,{method:"post",body:te})})}function At(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/cancel_publish.json`,{method:"post",body:te})})}function St(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/apply_public.json`,{method:"post",body:te})})}function $e(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/cancel_public.json`,{method:"post",body:te})})}function we(te){return a(this,null,function*(){return Fetch(`/api/paths/${te.id}/choose_course.json`,{method:"get",params:te})})}function Ce(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/send_to_course.json`,{method:"post",body:te})})}function Me(te){return a(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${te.id}/send_to_course.json`,{method:"post",body:te})})}function Re(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/add_subject_members.json`,{method:"post",body:te})})}function Ve(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/spoc_courses.json`,{method:"post",body:te})})}function Be(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/appointment.json`,{method:"post",body:te})})}function et(te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${te.id}/join_excellent_course.json`,{method:"post",body:te})})}function Xe(te){return a(this,null,function*(){return(0,t.ZP)("/api/watch_attachment_histories.json",{method:"post",body:te})})}function jt(te){return a(this,null,function*(){return Fetch(`/api/paths/${te.id}/statistics_info.json`,{method:"get",params:te})})}function Ht(te){return a(this,null,function*(){return Fetch(`/api/paths/${te.id}/shixun_analyze.json`,{method:"get",params:te})})}function ge(te){return a(this,null,function*(){return Fetch(`/api/paths/${te.id}/learning_analyze.json`,{method:"get",params:te})})}function ke(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/learning_statistics.json`,{method:"get",params:te})})}function bt(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/shixun_statistics.json`,{method:"get",params:te})})}function ut(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/study_analyze/${te.type}.json`,{method:"get",params:te})})}function dt(te){return a(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:te})})}function ot(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}.json`,{method:"put",body:te})})}function Zt(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}/add_shixun_to_stage.json`,{method:"post",body:te})})}const it=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/stages/${te==null?void 0:te.stage_id}/select_challenge_to_stage.json`,{method:"post",body:te})});function le(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}/select_shixun_to_stage.json`,{method:"post",body:te})})}function ct(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}/add_video_to_stage.json`,{method:"post",body:te})})}function Je(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}/add_attachment_to_stage.json`,{method:"post",body:te})})}function xt(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${te.id}.json`,{method:"put",body:te})})}function Rt(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}/add_blank_to_stage.json`,{method:"post",body:te})})}function vr(te){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"post",body:te})})}function rt(te){return a(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:te})})}function or(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}/up_position.json`,{method:"get"})})}function Te(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}/down_position.json`,{method:"get"})})}function Dt(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}.json`,{method:"delete"})})}function sr(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.pathId}/discusses.json`,{method:"get",params:c({},te)})})}function fr(te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${te.coursesId}/excellent_discusses.json`,{method:"get",params:c({},te)})})}function Rr(te){return a(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:c({},te)})})}function hr(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.stage_id}/items/move_position`,{method:"post",body:c({},te)})})}function _r(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.stage_id}/items/${te.id}`,{method:"delete"})})}function Nr(te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${te.id}/excellent_discuss`,{method:"post",body:c({},te)})})}function Wr(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/post_discuss`,{method:"post",body:c({},te)})})}function Qr(te){return a(this,null,function*(){return(0,t.ZP)("/api/schools/for_option.json",{method:"get",params:te})})}function on(te){return a(this,null,function*(){return(0,t.ZP)("/api/schools/province_data.json",{method:"get",params:te})})}function ur(te){return a(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:te})})}function tr(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te==null?void 0:te.id}/add_homework_to_stage.json`,{method:"post",body:te})})}function Gt(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${te==null?void 0:te.id}/edit.json`,{method:"get",params:te})})}function Er(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${te==null?void 0:te.id}.json`,{method:"put",body:te})})}function yr(te){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${te==null?void 0:te.user_id}/subjects/subject_homework.json`,{method:"get",params:te})})}function Or(te){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${te==null?void 0:te.user_id}/courses/course_homework.json`,{method:"get",params:te})})}function ht(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te==null?void 0:te.id}/batch_add_homework_to_stage.json`,{method:"post",body:te})})}function Ne(te){return a(this,null,function*(){return(0,t.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:te})})}function Ze(te){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${te==null?void 0:te.user_login}/subjects/cancel.json`,{method:"get",params:te})})}},31417:function(i,d,e){"use strict";e.d(d,{Fd:function(){return J},Hi:function(){return b},IU:function(){return $},KE:function(){return E},Kc:function(){return Z},MK:function(){return L},Q9:function(){return O},Qg:function(){return k},Qn:function(){return A},UK:function(){return p},W:function(){return M},Ye:function(){return D},_c:function(){return f},hO:function(){return V},iV:function(){return K},jy:function(){return R},kp:function(){return N},lf:function(){return C},m7:function(){return h},n$:function(){return I},rJ:function(){return T},s3:function(){return g},ux:function(){return P},vf:function(){return G},wh:function(){return z},wo:function(){return Q},x$:function(){return Y}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(B,H,ee)=>H in B?r(B,H,{enumerable:!0,configurable:!0,writable:!0,value:ee}):B[H]=ee,c=(B,H)=>{for(var ee in H||(H={}))o.call(H,ee)&&u(B,ee,H[ee]);if(n)for(var ee of n(H))s.call(H,ee)&&u(B,ee,H[ee]);return B},a=(B,H,ee)=>new Promise((oe,de)=>{var _e=Ue=>{try{He(ee.next(Ue))}catch(tt){de(tt)}},he=Ue=>{try{He(ee.throw(Ue))}catch(tt){de(tt)}},He=Ue=>Ue.done?oe(Ue.value):Promise.resolve(Ue.value).then(_e,he);He((ee=ee.apply(B,H)).next())});const f=B=>a(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B==null?void 0:B.id}/commit_word_cloud.json`,{method:"Get",params:B})});function g(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/poll_lists.json`,{method:"get",params:c({},B)})})}function p(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/common_header.json`,{method:"get"})})}function b(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/poll_setting.json`,{method:"get"})})}function h(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/commit_setting.json`,{method:"post",body:c({},B)})})}function E(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls/end_poll_modal.json`,{method:"get",params:c({},B)})})}function P(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/publish_groups.json`,{method:"get",params:c({},B)})})}function A(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/commit_result.json`,{method:"get",params:c({},B)})})}function I(B){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:c({},B)})})}function C(B){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:c({},B)})})}function O(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls/publish_modal.json`,{method:"get",params:c({},B)})})}function T(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls.json`,{method:"POST",body:c({},B)})})}function D(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/edit.json`,{method:"get"})})}function k(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.pollsId}.json`,{method:"put",body:c({},B)})})}function $(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}.json`,{method:"put",body:c({},B)})})}function L(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.pollsId}/poll_questions.json`,{method:"post",body:c({},B)})})}function R(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}.json`,{method:"delete",body:c({},B)})})}function z(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}/up_down.json`,{method:"post",body:c({},B)})})}function N(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${B.topicId}.json`,{method:"get"})})}function V(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${B.topicId}.json`,{method:"put",body:c({},B)})})}function j(B){return a(this,null,function*(){return Fetch(`/api/exercise_banks/${B.topicId}.json`,{method:"put",body:c({},B)})})}function Y(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.pollsId}.json`,{method:"delete",body:c({},B)})})}function G(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}/up_down.json`,{method:"post",body:c({},B)})})}function J(B){return a(this,null,function*(){return(0,t.ZP)("/api/poll_bank_questions.json",{method:"post",body:c({},B)})})}function Q(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_bank_questions/${B.pollsId}.json`,{method:"put",body:c({},B)})})}function Z(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.id}.json`,{method:"put",body:c({},B)})})}function K(B){return a(this,null,function*(){return(0,t.ZP)("/api/exercise_bank_questions.json",{method:"post",body:c({},B)})})}function M(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.exerciseId}/up_down.json`,{method:"post",body:c({},B)})})}},16149:function(i,d,e){"use strict";e.d(d,{$c:function(){return et},A1:function(){return Ve},Bd:function(){return O},Bo:function(){return j},Cc:function(){return J},Cn:function(){return K},DF:function(){return I},Dm:function(){return ye},FG:function(){return V},GW:function(){return Fe},HF:function(){return L},Hm:function(){return B},IJ:function(){return Re},L5:function(){return Et},LS:function(){return qe},MZ:function(){return Ce},Mr:function(){return N},NZ:function(){return He},Of:function(){return P},Pl:function(){return A},Qj:function(){return h},Qp:function(){return St},RT:function(){return ge},Rp:function(){return At},U6:function(){return R},Vl:function(){return Q},Wk:function(){return z},YP:function(){return M},Ys:function(){return D},al:function(){return T},bF:function(){return Xe},d1:function(){return b},dt:function(){return jt},et:function(){return ee},ex:function(){return E},fY:function(){return oe},fn:function(){return C},hI:function(){return Ue},hg:function(){return we},iT:function(){return Y},lS:function(){return he},nD:function(){return Qe},qN:function(){return H},rV:function(){return k},s:function(){return _e},sD:function(){return Me},sS:function(){return yt},ts:function(){return G},vi:function(){return Be},wX:function(){return $e},x5:function(){return $},zh:function(){return de}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(ke,bt,ut)=>bt in ke?r(ke,bt,{enumerable:!0,configurable:!0,writable:!0,value:ut}):ke[bt]=ut,f=(ke,bt)=>{for(var ut in bt||(bt={}))u.call(bt,ut)&&a(ke,ut,bt[ut]);if(s)for(var ut of s(bt))c.call(bt,ut)&&a(ke,ut,bt[ut]);return ke},g=(ke,bt)=>n(ke,o(bt)),p=(ke,bt,ut)=>new Promise((dt,ot)=>{var Zt=ct=>{try{le(ut.next(ct))}catch(Je){ot(Je)}},it=ct=>{try{le(ut.throw(ct))}catch(Je){ot(Je)}},le=ct=>ct.done?dt(ct.value):Promise.resolve(ct.value).then(Zt,it);le((ut=ut.apply(ke,bt)).next())});function b(ke){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:g(f({},ke),{clazz:"ItemBanksGroup"})})})}function h(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:ke})})}function E(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:ke})})}function P(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/list.json",{method:"post",body:ke})})}function A(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}/set_private.json`,{method:"post"})})}function I(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}/set_public.json`,{method:"post"})})}function C(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}.json`,{method:"delete"})})}function O(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${ke.id}/start.json`,{method:"get"})})}function T(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ke.id}.json`,{method:"delete",body:f({},ke)})})}function D(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"post",body:ke})})}function k(ke){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:ke})})}function $(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:ke.type}})})}function L(ke){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:ke})})}function R(ke){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"post",body:ke})})}function z(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}.json`,{method:"put",body:ke})})}function N(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"post",body:ke})})}function V(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}/edit.json`,{method:"get"})})}function j(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${ke.id}/edit.json`,{method:"get"})})}function Y(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"get",params:ke})})}function G(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ke.id}/set_score.json`,{method:"post",body:ke})})}function J(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ke.id}/set_challenge_score.json`,{method:"post",body:ke})})}function Q(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ke.id}/combination_set_score.json`,{method:"post",body:ke})})}function Z(ke){return p(this,null,function*(){return Fetch(`/api/examination_banks//${ke.exerid}/examination_banks_item_banks/${ke.id}/combination_set_score.json`,{method:"post",body:ke})})}function K(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ke.id}.json`,{method:"delete"})})}function M(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:ke})})}function B(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:ke})})}function H(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ke.id}/adjust_position.json`,{method:"post",body:ke})})}function ee(ke){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"post",body:ke})})}function oe(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}/revoke_item.json`,{method:"delete",body:ke})})}function de(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.exam_id}/examination_banks_item_banks.json`,{method:"post",body:ke})})}function _e(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}/join_to_collection.json`,{method:"post",params:ke})})}function he(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}/cancel_collection.json`,{method:"post",params:ke})})}function He(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"get",params:ke})})}function Ue(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:ke})})}function tt(ke){return p(this,null,function*(){return Fetch(`/api/item_banks/${ke.id}/join_to_group.json`,{method:"post",body:ke})})}function at(ke){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${ke.id}.json`,{method:"put",body:ke})})}function yt(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"post",body:ke})})}function Et(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}/feedback.json`,{method:"post",body:ke})})}function ye(ke){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:ke})})}function Fe(ke){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"post",body:ke})})}function Qe(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:ke})})}function qe(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:ke})})}function At(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:ke})})}function St(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:ke})})}function $e(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke==null?void 0:ke.id}/set_public.json`,{method:"post",body:ke})})}function we(ke){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:ke})})}function Ce(ke){return(0,t.ZP)(`/api/problems/${ke.identifier}/publish.json`,{method:"post",body:ke})}function Me(ke){return(0,t.ZP)(`/api/problems/${ke.identifier}/cancel_publish.json`,{method:"post",body:ke})}function Re(ke){return(0,t.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...ke.id]}})}function Ve(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${ke.id}/up_position.json`,{method:"get",params:ke})})}function Be(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${ke.id}/down_position.json`,{method:"get",params:ke})})}function et(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${ke.id}/edit_hack.json`,{method:"get",params:ke})})}function Xe(ke){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:ke})})}function jt(ke){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish.json",{method:"post",body:ke})})}function Ht(ke){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:ke})})}function ge(){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},52403:function(i,d,e){"use strict";e.d(d,{E1:function(){return s},Go:function(){return n},H5:function(){return o}});var t=e(99064),r=(u,c,a)=>new Promise((f,g)=>{var p=E=>{try{h(a.next(E))}catch(P){g(P)}},b=E=>{try{h(a.throw(E))}catch(P){g(P)}},h=E=>E.done?f(E.value):Promise.resolve(E.value).then(p,b);h((a=a.apply(u,c)).next())});function n(u){return r(this,null,function*(){return(0,t.ZP)("/api/restfuls.json",{method:"get",params:u})})}function o(u){return r(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${u.id}.json`,{method:"get",params:u})})}function s(u){return r(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${u.id}.json`,{method:"delete",params:u})})}},36708:function(i,d,e){"use strict";e.d(d,{Am:function(){return h},Ar:function(){return ye},BD:function(){return Be},Be:function(){return $e},Dx:function(){return Q},Fr:function(){return Je},G$:function(){return A},GS:function(){return R},Gw:function(){return P},H:function(){return yt},H1:function(){return Et},Hj:function(){return Xe},JA:function(){return Ht},JG:function(){return J},KE:function(){return M},Lz:function(){return Re},Mf:function(){return at},NA:function(){return Ue},PC:function(){return he},PP:function(){return He},PW:function(){return qe},Q3:function(){return Z},QC:function(){return ge},Qt:function(){return Ve},Qz:function(){return O},R$:function(){return le},RP:function(){return V},Ti:function(){return or},Uc:function(){return dt},Ul:function(){return Y},VB:function(){return vr},Vs:function(){return ot},Wr:function(){return I},Xn:function(){return j},YQ:function(){return tt},Yn:function(){return E},Z8:function(){return $},ak:function(){return Qe},cN:function(){return D},co:function(){return we},cz:function(){return de},fK:function(){return L},gG:function(){return _e},gZ:function(){return ut},h$:function(){return k},ku:function(){return Me},lf:function(){return H},m7:function(){return G},mQ:function(){return T},mz:function(){return St},n$:function(){return B},oK:function(){return b},oN:function(){return rt},pH:function(){return et},pb:function(){return Rt},qP:function(){return ke},ql:function(){return bt},rN:function(){return Ce},sw:function(){return ee},t1:function(){return oe},to:function(){return N},ub:function(){return jt},ux:function(){return K},wS:function(){return xt},wT:function(){return C},yT:function(){return Fe},yy:function(){return Zt},z2:function(){return At}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(Te,Dt,sr)=>Dt in Te?r(Te,Dt,{enumerable:!0,configurable:!0,writable:!0,value:sr}):Te[Dt]=sr,f=(Te,Dt)=>{for(var sr in Dt||(Dt={}))u.call(Dt,sr)&&a(Te,sr,Dt[sr]);if(s)for(var sr of s(Dt))c.call(Dt,sr)&&a(Te,sr,Dt[sr]);return Te},g=(Te,Dt)=>n(Te,o(Dt)),p=(Te,Dt,sr)=>new Promise((fr,Rr)=>{var hr=Wr=>{try{Nr(sr.next(Wr))}catch(Qr){Rr(Qr)}},_r=Wr=>{try{Nr(sr.throw(Wr))}catch(Qr){Rr(Qr)}},Nr=Wr=>Wr.done?fr(Wr.value):Promise.resolve(Wr.value).then(hr,_r);Nr((sr=sr.apply(Te,Dt)).next())});const b=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.id}/update_journals.json`,{method:"post",body:Te})}),h=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Te==null?void 0:Te.homeworkId}/change_score.json`,{method:"post",body:Te})}),E=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Te==null?void 0:Te.homeworkId}/history_comment`,{method:"Get",params:Te})}),P=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Te==null?void 0:Te.homeworkId}/feedback_know`,{method:"Get",params:Te})}),A=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te==null?void 0:Te.userId}/student_work_feedbacks.json`,{method:"POST",body:Te})}),I=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Te==null?void 0:Te.userId}/feedback_list.json`,{method:"Get",params:Te})}),C=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Te==null?void 0:Te.userId}/histories.json`,{method:"Get",params:Te})}),O=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te==null?void 0:Te.homeworkId}/feedback_list`,{method:"Get",params:Te})}),T=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te==null?void 0:Te.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Te})}),D=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te==null?void 0:Te.homeworkId}/appeal_list`,{method:"Get",params:Te})});function k(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/works_list.json`,{method:"post",body:f({},Te)})})}function $(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Te.categoryId}/student_works.json`,{method:"get",params:f({},Te)})})}function L(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Te.categoryId}/header_info.json`,{method:"get",params:f({},Te)})})}function R(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te}/query_game_url.json`,{method:"get"})})}function z(Te){return p(this,null,function*(){return Fetch(`/api/student_works/${Te}/get_newest_shixun_work_comments.json`,{method:"get"})})}function N(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}.json`,{method:"get"})})}function V(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/code_review_results.json`,{method:"get",params:f({},Te)})})}function j(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/code_review_detail.json`,{method:"get",params:f({},Te)})})}function Y(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/settings.json`,{method:"get",params:f({},Te)})})}function G(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/update_settings.json`,{method:"post",body:f({},Te)})})}function J(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/group_list.json`,{method:"get",params:f({},Te)})})}function Q(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/works_list.xlsx`,{method:"get",params:f({},Te)})})}function Z(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.coursesId}/reference_answer.json`,{method:"get",params:f({},Te)})})}function K(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/publish_groups.json`,{method:"get",params:f({},Te)})})}function M(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/end_groups.json`,{method:"get",params:f({},Te)})})}function B(Te){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:f({},Te)})})}function H(Te){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"post",body:f({},Te)})})}function ee(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}/shixun_work_report.json`,{method:"get",params:Te})})}function oe(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Te})})}function de(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:g(f({},Te),{id:Te.categoryId})})})}function _e(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.categoryId}/adjust_review_score.json`,{method:"post",body:f({},Te)})})}function he(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/show_comment.json`,{method:"get",params:f({},Te)})})}function He(Te){return p(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:f({},Te)})})}function Ue(Te){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:f({},Te)})})}function tt(Te){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:f({},Te)})})}function at(Te){return p(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:f({},Te)})})}function yt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/update_explanation.json`,{method:"post",body:f({},Te)})})}function Et(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.coursesId}/homework_commons.json`,{method:"post",body:f({},Te)})})}function ye(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}.json`,{method:"put",body:f({},Te)})})}function Fe(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Te.id}.json`,{method:"put",body:f({},Te)})})}function Qe(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.commonHomeworkId}/student_works/new.json`,{method:"get",params:f({},Te)})})}function qe(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}/edit.json`,{method:"get",params:f({},Te)})})}function At(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}.json`,{method:"put",body:f({},Te)})})}function St(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}/revise_attachment.json`,{method:"post",body:f({},Te)})})}function $e(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.commonHomeworkId}/student_works.json`,{method:"post",body:f({},Te)})})}function we(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.homeworkId}/student_works/relate_project.json`,{method:"post",body:f({},Te)})})}function Ce(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Me(Te){return p(this,null,function*(){return(0,t.ZP)("/api/users/projects/search.json",{method:"get",params:f({},Te)})})}function Re(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:f({},Te)})})}function Ve(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.coursesId}/homework_commons/new.json`,{method:"get",params:f({},Te)})})}function Be(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/edit.json`,{method:"get",params:f({},Te)})})}function et(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Te.id}.json`,{method:"get",params:f({},Te)})})}function Xe(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.userId}.json`,{method:"get",params:f({},Te)})})}function jt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.userId}/supply_attachments.json`,{method:"get",params:f({},Te)})})}function Ht(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.userId}/comment_list.json`,{method:"get",params:f({},Te)})})}function ge(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.userId}/destroy_score.json`,{method:"delete",body:f({},Te)})})}function ke(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.userId}/add_score_reply.json`,{method:"post",body:f({},Te)})})}function bt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/all_student_works.json`,{method:"get",params:f({},Te)})})}function ut(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}/destroy_work_comment.json`,{method:"delete",body:f({},Te)})})}function dt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/score_status.json`,{method:"get",params:f({},Te)})})}function ot(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/update_score.json`,{method:"get",params:f({},Te)})})}function Zt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.userId}/add_score.json`,{method:"post",body:f({},Te)})})}function it(Te){return p(this,null,function*(){return Fetch(`/api/student_works/${Te.userId}/cancel_appeal.json`,{method:"post",body:f({},Te)})})}function le(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.userId}/appeal_anonymous_score.json`,{method:"post",body:f({},Te)})})}function ct(Te){return p(this,null,function*(){return Fetch(`/api/student_works/${Te.userId}/deal_appeal_score.json`,{method:"post",body:f({},Te)})})}function Je(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Te.id}/reset_my_game.json`,{method:"get",params:f({},Te)})})}function xt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}/commit_des.json`,{method:"get",params:f({},Te)})})}function Rt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}/update_des.json`,{method:"post",body:f({},Te)})})}function vr(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:f({},Te)})})}function rt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:f({},Te)})})}function or(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:f({},Te)})})}},49692:function(i,d,e){"use strict";e.d(d,{$Q:function(){return qt},AE:function(){return hr},AQ:function(){return M},Ag:function(){return ht},Ar:function(){return Fe},At:function(){return qn},BK:function(){return ee},Bj:function(){return ke},Cf:function(){return A},DC:function(){return Ht},Dz:function(){return ba},E4:function(){return b},EH:function(){return At},Ee:function(){return ta},Er:function(){return Et},Ez:function(){return C},FB:function(){return H},Fg:function(){return G},Ft:function(){return z},GI:function(){return we},Gr:function(){return dt},Gu:function(){return $e},Gz:function(){return Y},HS:function(){return Ut},Hl:function(){return V},IF:function(){return $},IT:function(){return yr},I_:function(){return Z},Ij:function(){return L},Ir:function(){return oe},Je:function(){return kt},K:function(){return la},K0:function(){return Bn},KM:function(){return Ue},K_:function(){return nn},LK:function(){return Ft},LP:function(){return Ce},Ne:function(){return yt},OL:function(){return I},OQ:function(){return h},OV:function(){return Re},OW:function(){return qe},Op:function(){return ln},P2:function(){return Be},P4:function(){return R},Po:function(){return K},Ps:function(){return ot},Q:function(){return at},Q1:function(){return Ra},QA:function(){return be},Ql:function(){return it},Rs:function(){return Te},SG:function(){return vt},Tn:function(){return Nr},Tr:function(){return De},U0:function(){return xt},U9:function(){return Zt},UQ:function(){return tr},Ui:function(){return rn},Vx:function(){return Ae},WO:function(){return ye},WT:function(){return Pe},Wi:function(){return bt},Wl:function(){return Ne},X$:function(){return et},Yn:function(){return Qr},Z2:function(){return ge},ZO:function(){return ut},Zt:function(){return Oa},_7:function(){return tt},_9:function(){return on},aH:function(){return le},al:function(){return rt},b8:function(){return Qe},bV:function(){return k},bk:function(){return P},bq:function(){return Wr},dK:function(){return de},e:function(){return J},eX:function(){return St},eb:function(){return Dt},fH:function(){return O},fL:function(){return ze},h4:function(){return Ya},hS:function(){return j},h_:function(){return jt},he:function(){return Q},hn:function(){return he},hy:function(){return T},ii:function(){return or},im:function(){return ur},j8:function(){return Me},jq:function(){return Tr},kF:function(){return rr},km:function(){return vr},l3:function(){return Ve},m7:function(){return Je},mI:function(){return Ie},n5:function(){return B},np:function(){return D},nu:function(){return Ee},p0:function(){return Er},q0:function(){return Rr},q9:function(){return Rn},qA:function(){return Gn},rO:function(){return fr},rs:function(){return He},sr:function(){return Gt},t2:function(){return Or},tX:function(){return Sa},uo:function(){return Rt},v3:function(){return te},w:function(){return Ze},wX:function(){return N},xK:function(){return _r},xM:function(){return E},xg:function(){return sr},xk:function(){return Xe},yE:function(){return ct},yx:function(){return ft},zD:function(){return _e},zH:function(){return dn}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(ce,ue,me)=>ue in ce?r(ce,ue,{enumerable:!0,configurable:!0,writable:!0,value:me}):ce[ue]=me,f=(ce,ue)=>{for(var me in ue||(ue={}))u.call(ue,me)&&a(ce,me,ue[me]);if(s)for(var me of s(ue))c.call(ue,me)&&a(ce,me,ue[me]);return ce},g=(ce,ue)=>n(ce,o(ue)),p=(ce,ue,me)=>new Promise((X,Ke)=>{var Pt=Mt=>{try{Bt(me.next(Mt))}catch(Vt){Ke(Vt)}},Yt=Mt=>{try{Bt(me.throw(Mt))}catch(Vt){Ke(Vt)}},Bt=Mt=>Mt.done?X(Mt.value):Promise.resolve(Mt.value).then(Pt,Yt);Bt((me=me.apply(ce,ue)).next())});const b=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/commit_result.json",{method:"get",params:ce})}),h=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/edit.json",{method:"get",params:ce})}),E=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/select_polls.json",{method:"post",body:ce})}),P=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/select_polls_list.json",{method:"get",params:ce})}),A=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/commit_poll.json",{method:"post",body:ce})}),I=ce=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${ce==null?void 0:ce.questionId}/poll_votes.json`,{method:"post",body:ce})}),C=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls.json",{method:"put",body:ce})}),O=ce=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${ce==null?void 0:ce.poll_question_id}/up_down.json`,{method:"post",body:ce})}),T=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls.json",{method:"post",body:ce})}),D=ce=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${ce==null?void 0:ce.poll_question_id}.json`,{method:"put",body:ce})}),k=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/poll_questions.json",{method:"post",body:ce})}),$=ce=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${ce==null?void 0:ce.poll_question_id}.json`,{method:"delete"})}),L=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/collect.json",{method:"post",body:ce})}),R=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/publish.json",{method:"post",body:ce})}),z=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/delete.json",{method:"post",body:ce})}),N=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/start_answer.json",{method:"Get",params:ce})}),V=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:ce})}),j=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:ce})}),Y=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:ce})}),G=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:ce})}),J=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:ce})});function Q(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"Get",params:f({},ce)})})}function Z(ce){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:f({source:"shixun"},ce||{})})})}function K(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}.json`,{method:"Get",params:ce})})}function M(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/show_right.json`,{method:"Get"})})}function B(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges.json`,{method:"Get"})})}function H(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:ce.save_type}})})}function ee(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/jupyter_exec.json${ce.reset?`?reset=${ce.reset}`:""}`,{method:"Get",params:ce})})}function oe(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/shixun_exec.json${ce.reset?`?reset=${ce.reset}`:""}`,{method:"Get",params:ce})})}function de(ce){return p(this,null,function*(){return(0,t.ZP)(ce.url,{method:"Get"})})}function _e(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.shixun_identifier}/challenges/${ce.challenge_id}/index_up.json`,{method:"Get"})})}function he(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.shixun_identifier}/challenges/${ce.challenge_id}/index_down.json`,{method:"Get"})})}function He(ce){return p(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:ce.container_id,container_type:ce.container_type}})})}function Ue(ce){return p(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"Post",body:{container_id:ce.container_id,container_type:ce.container_type}})})}function tt(ce){return p(this,null,function*(){const{id:ue}=ce||{};return(0,t.ZP)(`/api/shixuns/${ue}/search_user_courses.json`,{method:"Get",params:ce})})}function at(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce==null?void 0:ce.id}/send_to_course.json`,{method:"Post",body:f({},ce)})})}function yt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/cancel_publish.json`,{method:"Get"})})}function Et(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/cancel_apply_public.json`,{method:"Get"})})}function ye(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/apply_public.json`,{method:"post",body:f({},ce)})})}function Fe(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/publish.json`,{method:"Get"})})}function Qe(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function qe(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/attachments/${ce.id}.json`,{method:"delete"})})}function At(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:ce})})}function St(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"post",body:ce})})}function $e(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:ce})})}function we(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/review_newest_record.json`,{method:"Get"})})}function Ce(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/review_shixun.json`,{method:"post",body:ce})})}function Me(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/collaborators.json`,{method:"Get",params:ce})})}function Re(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/shixun_members_added.json`,{method:"post",body:ce})})}function Ve(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.identifier}/add_members_group.json`,{method:"post",body:ce})})}function Be(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/change_manager.json`,{method:"Get",params:ce})})}function et(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/change_manager.json`,{method:"post",body:ce})})}function Xe(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/collaborators_delete.json`,{method:"delete",body:{user_id:ce.userId}})})}function jt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/ranking_list.json`,{method:"Get"})})}function Ht(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/settings.json`,{method:"Get"})})}function ge(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:ce.mirror_id}})})}function ke(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/get_script_contents.json`,{method:"Get",params:ce})})}function bt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/get_custom_script.json`,{method:"Get",params:ce})})}function ut(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/update_for_jupyter.json`,{method:"put",body:ce})})}function dt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/shixun_quotes.json`,{method:"Get"})})}function ot(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}.json`,{method:"delete"})})}function Zt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/close.json`,{method:"post",body:ce})})}function it(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/departments.json",{method:"Get",params:ce})})}function le(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/update_permission_setting.json`,{method:"post",body:ce})})}function ct(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/update_learn_setting.json`,{method:"post",body:ce})})}function Je(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/update_setting`,{method:"post",body:ce})})}function xt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/get_data_sets.json`,{method:"Get",params:ce})})}function Rt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/destroy_data_sets.json`,{method:"Delete",body:{id:ce.deleteId}})})}function vr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/new.json`,{method:"get"})})}function rt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.identifier}/challenges.json`,{method:"post",body:f({},ce)})})}function or(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengeId}/edit.json`,{method:"get",params:{tab:ce.tab}})})}function Te(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}.json`,{method:"put",body:f({},ce)})})}function Dt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/choose_questions.json`,{method:"get"})})}function sr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/move_position.json`,{method:"post",body:f({},ce)})})}function fr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}.json`,{method:"delete",body:f({},ce)})})}function Rr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/edit.json`,{method:"get",params:f({},ce)})})}function hr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengeId}/answer.json`,{method:"get",params:f({},ce)})})}function _r(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengeId}/crud_answer.json`,{method:"post",body:f({},ce)})})}function Nr(ce){return p(this,null,function*(){if(ce.type===1)return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/create_choose_question.json`,{method:"post",body:f({},ce)});if(ce.type===2)return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/create_blank_question.json`,{method:"post",body:f({},ce)});if(ce.type===3)return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/create_judge_question.json`,{method:"post",body:f({},ce)})})}function Wr(ce){return p(this,null,function*(){if(ce.type===1)return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/update_choose_question.json`,{method:"post",body:g(f({},ce),{choose_id:ce.questionId})});if(ce.type===2)return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/update_blank_question.json`,{method:"put",body:g(f({},ce),{choose_id:ce.questionId})});if(ce.type===3)return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/update_judge_question.json`,{method:"put",body:g(f({},ce),{choose_id:ce.questionId})})})}function Qr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:ce.questionId}})})}function on(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:ce.questionId}})})}function ur(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:ce.questionId}})})}function tr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/edit_choose_question.json`,{method:"get",params:g(f({},ce),{choose_id:ce.questionId})})})}function Gt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/delete_git_file.json`,{method:"Delete",body:ce})})}function Er(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${ce.id}/delete_git_file.json`,{method:"Delete",body:ce})})}function yr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/mv_file.json`,{method:"post",body:ce})})}function Or(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${ce.id}/mv_file.json`,{method:"post",body:ce})})}function ht(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/repository.json`,{method:"post",body:ce})})}function Ne(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${ce.id}/repository.json`,{method:"post",body:ce})})}function Ze(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/secret_repository.json`,{method:"post",body:ce})})}function te(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/add_file.json`,{method:"post",body:ce})})}function ze(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${ce.id}/add_file.json`,{method:"post",body:ce})})}function kt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/commits.json`,{method:"post",body:ce})})}function Ft(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/file_content.json`,{method:"post",body:ce})})}function Ee(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${ce.id}/file_content.json`,{method:"post",body:ce})})}function rr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/update_file.json`,{method:"post",body:ce})})}function Tr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${ce.id}/update_file.json`,{method:"post",body:ce})})}function ln(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/upload_git_folder.json`,{method:"post",body:{path:ce.path,secret_repository:ce.secret_repository}})})}function qt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/${ce.url}`,{method:"Get"})})}function rn(ce){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:ce})})}function nn(ce){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:ce})})}function dn(ce){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:ce})})}function Gn(ce){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:ce})})}function Rn(ce){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:ce})})}function qn(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/fork_list.json`,{method:"Get",params:ce})})}function ba(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.identifier}/change_editable.json`,{method:"put",body:f({},ce)})})}function Oa(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/set_secret_dir.json`,{method:"post",body:f({},ce)})})}function la(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/new.json",{method:"Get",params:ce})})}function Ra(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/environment_info",{method:"Get",params:ce})})}function Ya(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/init_repository.json`,{method:"post",body:f({},ce)})})}function Ae(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${ce.id}/init_repository.json`,{method:"post",body:f({},ce)})})}function Bn(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/update_secret_repository.json`,{method:"post",body:f({},ce)})})}function ta(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/exist_exercise.json`,{method:"get",params:f({},ce)})})}function Sa(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/mirror_applies/${ce.id}.json`,{method:"get",params:f({},ce)})})}function Ja(ce){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ce.id}/publish.json`,{method:"post",body:f({},ce)})})}function qa(ce){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ce.id}/open_vnc.json`,{method:"post",params:f({},ce)})})}function zn(ce){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ce.id}/open_webssh.json`,{method:"post",params:f({},ce)})})}function Ia(ce){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ce.id}/save_image.json`,{method:"post",body:f({},ce)})})}function gn(ce){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ce.id}/delete_image.json`,{method:"post",body:f({},ce)})})}function yn(ce){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ce.id}/extend_vnc.json`,{method:"post",body:f({},ce)})})}function On(ce){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ce.id}/reset_vnc_link.json`,{method:"post",body:f({},ce)})})}function ft(ce){return p(this,null,function*(){return(0,t.ZP)("/api/paths/get_task_pass.json",{method:"get",params:f({},ce)})})}function Ie(ce){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:f({},ce)})})}function be(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/update_jupyter_lab_setting.json`,{method:"post",body:f({},ce)})})}function De(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:ce})})}function Pe(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/progress_homeworks/${ce}`,{method:"get",params:{is_initiative_study:1}})})}function pt(ce){return p(this,null,function*(){return Fetch(`/api/shixuns/${ce.id}/update_shixun_study_num.json`,{method:"post",body:f({},ce)})})}function vt(ce){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/preview.json",{method:"get",params:ce})})}function Ut(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce}/recommend_config.json`,{method:"get"})})}},43859:function(i,d,e){"use strict";e.d(d,{Bg:function(){return p},FO:function(){return T},eJ:function(){return E},eZ:function(){return P},fd:function(){return L},gp:function(){return f},iU:function(){return k},l3:function(){return I},mw:function(){return C},oZ:function(){return h},rM:function(){return O},r_:function(){return $},s:function(){return g},ur:function(){return D},xV:function(){return b},yb:function(){return A}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(R,z,N)=>z in R?r(R,z,{enumerable:!0,configurable:!0,writable:!0,value:N}):R[z]=N,c=(R,z)=>{for(var N in z||(z={}))o.call(z,N)&&u(R,N,z[N]);if(n)for(var N of n(z))s.call(z,N)&&u(R,N,z[N]);return R},a=(R,z,N)=>new Promise((V,j)=>{var Y=Q=>{try{J(N.next(Q))}catch(Z){j(Z)}},G=Q=>{try{J(N.throw(Q))}catch(Z){j(Z)}},J=Q=>Q.done?V(Q.value):Promise.resolve(Q.value).then(Y,G);J((N=N.apply(R,z)).next())});function f(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/teachers.json`,{method:"get",params:c({},R)})})}function g(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/apply_teachers.json`,{method:"get",params:c({},R)})})}function p(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/graduation_group_list.json`,{method:"get",params:c({},R)})})}function b(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/all_course_groups.json`,{method:"get",params:c({},R)})})}function h(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/set_course_group.json`,{method:"post",body:c({},R)})})}function E(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/join_graduation_group.json`,{method:"post",body:c({},R)})})}function P(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/create_graduation_group.json`,{method:"post",body:c({},R)})})}function A(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/delete_course_teacher.json`,{method:"post",body:c({},R)})})}function I(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/delete_from_course.json`,{method:"post",body:c({},R)})})}function C(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/change_member_role.json`,{method:"post",body:c({},R)})})}function O(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/change_course_admin.json`,{method:"post",body:c({},R)})})}function T(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/teacher_application_review.json`,{method:"post",body:c({},R)})})}function D(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/students.json`,{method:"get",params:c({},R)})})}function k(R,z){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R}/apply_students.json`,{method:"get",params:z})})}function $(R,z){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R}/join_student_checkout.json`,{method:"get",params:z})})}function L(R,z){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R}/student_application_review.json`,{method:"post",body:z})})}},24780:function(i,d,e){"use strict";e.d(d,{B$:function(){return b},Cx:function(){return Y},Cy:function(){return oe},DA:function(){return O},DH:function(){return p},Ef:function(){return Q},Es:function(){return E},Ex:function(){return at},FM:function(){return N},Fn:function(){return Z},Gq:function(){return Et},Ho:function(){return D},IU:function(){return ee},JJ:function(){return K},Ol:function(){return he},Qx:function(){return z},Tv:function(){return M},V8:function(){return g},WS:function(){return G},WY:function(){return R},ai:function(){return j},bG:function(){return A},bJ:function(){return f},c0:function(){return yt},dE:function(){return H},dt:function(){return B},gI:function(){return J},lO:function(){return V},mW:function(){return L},n0:function(){return C},nV:function(){return _e},o1:function(){return He},qE:function(){return h},qN:function(){return T},rV:function(){return k},sh:function(){return de},vR:function(){return P},w3:function(){return $},x4:function(){return I},z2:function(){return Ue}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(ye,Fe,Qe)=>Fe in ye?r(ye,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):ye[Fe]=Qe,c=(ye,Fe)=>{for(var Qe in Fe||(Fe={}))o.call(Fe,Qe)&&u(ye,Qe,Fe[Qe]);if(n)for(var Qe of n(Fe))s.call(Fe,Qe)&&u(ye,Qe,Fe[Qe]);return ye},a=(ye,Fe,Qe)=>new Promise((qe,At)=>{var St=Ce=>{try{we(Qe.next(Ce))}catch(Me){At(Me)}},$e=Ce=>{try{we(Qe.throw(Ce))}catch(Me){At(Me)}},we=Ce=>Ce.done?qe(Ce.value):Promise.resolve(Ce.value).then(St,$e);we((Qe=Qe.apply(ye,Fe)).next())});const f=ye=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${ye.id}/move.json`,{method:"post",body:ye})}),g=ye=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${ye.id}.json`,{method:"delete",body:ye})}),p=ye=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${ye.id}.json`,{method:"put",body:ye})}),b=ye=>a(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"post",body:ye})}),h=ye=>a(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"Get",params:ye})});function E(ye){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/login.json",{method:"post",body:c({},ye)})})}function P(ye){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/logout.json",{method:"get"})})}function A(ye){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_user_info.json",{method:"get",params:c({},ye)})})}function I(ye){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_notice.json",{method:"get",params:c({},ye)})})}function C(){return a(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"get"})})}function O(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/homepage_info.json`,{method:"get"})})}function T(ye){return a(this,null,function*(){return(0,t.ZP)("/api/users/attendance.json",{method:"post"})})}function D(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/courses.json`,{method:"get",params:ye})})}function k(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/shixuns.json`,{method:"get",params:ye})})}function $(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/subjects.json`,{method:"get",params:ye})})}function L(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/projects.json`,{method:"get",params:ye})})}function R(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/videos.json`,{method:"get",params:ye})})}function z(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/videos/review.json`,{method:"get",params:ye})})}function N(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/videos/${ye.id}.json`,{method:"delete"})})}function V(ye){return a(this,null,function*(){return(0,t.ZP)("/api/watch_video_histories.json",{method:"post",body:ye})})}function j(ye){return a(this,null,function*(){return(0,t.ZP)("/api/users/question_banks.json",{method:"get",params:ye})})}function Y(ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_public.json",{method:"post",body:ye})})}function G(ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:ye})})}function J(ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:ye})})}function Q(ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:ye})})}function Z(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/videos/${ye.object_id}/create_course_video.json`,{method:"post",body:ye})})}function K(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${ye.topicId}.json`,{method:"get",params:ye})})}function M(ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:c({},ye)})})}function B(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/videos/batch_publish.json`,{method:"post",body:ye})})}function H(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${ye.identifier}/cancel.json`,{method:"delete",body:c({},ye)})})}function ee(){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_engineer_url.json",{method:"get"})})}function oe(ye){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:c({},ye)})})}function de(){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function _e(){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function he(ye){return(0,t.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:ye})}function He(ye){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:ye})}function Ue(ye){return(0,t.ZP)("/api/accounts/register.json",{method:"post",body:c({},ye)})}function tt(ye){return Fetch("/api/weapps/register.json",{method:"post",body:c({},ye)})}function at(ye){return(0,t.ZP)(`/api/users/accounts/${ye.login}/password.json`,{method:"put",body:c({},ye)})}function yt(ye){return(0,t.ZP)("/api/accounts/reset_password.json",{method:"post",body:c({},ye)})}function Et(ye){return(0,t.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:c({},ye)})}},75730:function(i,d,e){"use strict";e.d(d,{BQ:function(){return f},DH:function(){return D},Db:function(){return V},Ju:function(){return N},Mz:function(){return L},O2:function(){return h},TJ:function(){return A},Vg:function(){return b},ZY:function(){return g},Zx:function(){return $},cU:function(){return p},fn:function(){return z},jK:function(){return I},yN:function(){return R}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(j,Y,G)=>Y in j?r(j,Y,{enumerable:!0,configurable:!0,writable:!0,value:G}):j[Y]=G,c=(j,Y)=>{for(var G in Y||(Y={}))o.call(Y,G)&&u(j,G,Y[G]);if(n)for(var G of n(Y))s.call(Y,G)&&u(j,G,Y[G]);return j},a=(j,Y,G)=>new Promise((J,Q)=>{var Z=B=>{try{M(G.next(B))}catch(H){Q(H)}},K=B=>{try{M(G.throw(B))}catch(H){Q(H)}},M=B=>B.done?J(B.value):Promise.resolve(B.value).then(Z,K);M((G=G.apply(j,Y)).next())});function f(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/watch_video_histories.json`,{method:"Get",params:c({},j)})})}function g(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/watch_statics.json`,{method:"Get",params:c({},j)})})}function p(j){return a(this,null,function*(){return(0,t.ZP)(`/api/course_videos/${j.videoId}/watch_histories.json`,{method:"Get",params:c({},j)})})}function b(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/own_watch_histories.json`,{method:"Get",params:c({},j)})})}function h(j){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${j.id}.json`,{method:"Get",params:c({},j)})})}function E(j){return a(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:j})})}function P(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}/edit.json`,{method:"Get",params:c({},j)})})}function A(j){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${j.id}/edit.json`,{method:"Get",params:c({},j)})})}function I(j){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${j.id}/star.json`,{method:"post",body:j})})}function C(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}.json`,{method:"put",body:j})})}function O(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}/send_to_course.json`,{method:"post",body:j})})}function T(j){return a(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:c({},j)})})}function D(j){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${j.id}/view_video.json`,{method:"post",body:j})})}function k(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}/add_school.json`,{method:"post",body:j})})}function $(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.course_id}/video_people_statics.json`,{method:"get",params:j})})}function L(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.course_id}/video_duration_statics.json`,{method:"get",params:j})})}function R(j){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:j})})}function z(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j==null?void 0:j.id}/course_videos_tree.json`,{method:"get",params:j})})}function N(j){return a(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses.json",{method:"post",body:j})})}function V(j){return a(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:j})})}},62406:function(i,d,e){"use strict";e.d(d,{A:function(){return L},CH:function(){return o},EA:function(){return c},FU:function(){return g},G_:function(){return h},LY:function(){return T},Ll:function(){return u},MM:function(){return I},Ps:function(){return D},Sl:function(){return P},To:function(){return p},Vf:function(){return b},XQ:function(){return s},b:function(){return f},bq:function(){return $},cZ:function(){return a},rV:function(){return O},sT:function(){return E},tS:function(){return k},xt:function(){return C},y2:function(){return n}});var t=e(99064),r=(R,z,N)=>new Promise((V,j)=>{var Y=Q=>{try{J(N.next(Q))}catch(Z){j(Z)}},G=Q=>{try{J(N.throw(Q))}catch(Z){j(Z)}},J=Q=>Q.done?V(Q.value):Promise.resolve(Q.value).then(Y,G);J((N=N.apply(R,z)).next())});const n=R=>r(void 0,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:R})});function o(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions/${R.id}.json`,{method:"put",body:R})})}function s(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions/${R.id}.json`,{method:"get",params:R})})}function u(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions.json`,{method:"post",body:R})})}function c(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions.json`,{method:"get",params:R})})}function a(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}/add_resources.json`,{method:"post",body:R})})}function f(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}/lesson_resources_list.json`,{method:"get",params:R})})}function g(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}.json`,{method:"get",params:R})})}function p(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}.json`,{method:"put",body:R})})}function b(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons.json`,{method:"post",body:R})})}function h(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons.json`,{method:"get",params:R})})}function E(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R==null?void 0:R.id}.json`,{method:"get"})})}function P(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R==null?void 0:R.id}/modules.json`,{method:"get"})})}function A(R){return r(this,null,function*(){return Fetch(`/api/virtual_classrooms/${R.id}/videos/batch_publish.json`,{method:"post",body:R})})}function I(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/members.json`,{method:"post",body:R})})}function C(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/members/${R.id}/change_creator.json`,{method:"post",body:R})})}function O(R,z){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/shixuns.json`,{method:"get",params:z})})}function T(R,z){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/shixuns`,{method:"post",body:z})})}function D(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_classroom_id}/shixuns/${R.shixun_id}.json`,{method:"delete"})})}function k(R,z){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/subjects.json`,{method:"get",params:z})})}function $(R,z){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/subjects.json`,{method:"post",body:z})})}function L(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_classroom_id}/subjects/${R.subject_id}.json`,{method:"delete"})})}},24065:function(i,d,e){"use strict";e.d(d,{$O:function(){return Y},G5:function(){return $},GD:function(){return r},GJ:function(){return g},Gg:function(){return p},I2:function(){return s},IR:function(){return R},JA:function(){return et},JL:function(){return C},Jd:function(){return j},Ny:function(){return A},RV:function(){return N},Rb:function(){return k},Rm:function(){return L},V9:function(){return H},Yh:function(){return K},aN:function(){return E},aQ:function(){return a},ag:function(){return Be},bg:function(){return Ht},d8:function(){return D},dE:function(){return z},eB:function(){return V},eY:function(){return ge},fn:function(){return Ve},h:function(){return Zt},j5:function(){return h},m$:function(){return ke},oF:function(){return b},qz:function(){return c},t_:function(){return P},tu:function(){return ut},y8:function(){return jt}});var t=e(89070),r=(it=>(it[it.SuperAdmin=1]="SuperAdmin",it[it.Operation=2]="Operation",it[it.CertifiedTeacher=5]="CertifiedTeacher",it[it.TrainingProduction=8]="TrainingProduction",it[it.UncertifiedTeacher=12]="UncertifiedTeacher",it[it.Student=15]="Student",it))(r||{}),n=(it=>(it[it.SuperAdmin=1]="SuperAdmin",it[it.Operation=2]="Operation",it[it.Admin=5]="Admin",it[it.Teacher=8]="Teacher",it[it.Assistant=12]="Assistant",it[it.Student=15]="Student",it))(n||{}),o=(it=>(it[it.SuperAdmin=0]="SuperAdmin",it[it.Teacher=1]="Teacher",it[it.Student=2]="Student",it))(o||{});const s=it=>{const{user:le}=(0,t.getDvaApp)()._store.getState(),{userInfo:ct}=le;return it.some(Je=>Je==(ct==null?void 0:ct.role))},u=it=>{const{user:le}=(0,t.getDvaApp)()._store.getState(),{userInfo:ct}=le;return ct!=null&&ct.own?!0:it.some(Je=>{var xt;return Je==((xt=ct==null?void 0:ct.course)==null?void 0:xt.course_role)})},c=()=>{const{user:it}=(0,t.getDvaApp)()._store.getState(),{userInfo:le}=it;return le.main_site},a=()=>{var it;const{user:le}=(0,t.getDvaApp)()._store.getState(),{userInfo:ct}=le;return(it=ct==null?void 0:ct.course)==null?void 0:it.course_is_end},f=()=>{const{user:it}=getDvaApp()._store.getState(),{userInfo:le}=it;return le.authentication},g=()=>u([1,2,5,8,12]),p=()=>u([1,8,5,12,2]),b=()=>u([1,8,5]),h=()=>u([1]),E=()=>u([1,2,5]),P=()=>u([1,2]),A=()=>s([1,2]),I=()=>s([1]),C=()=>s([1,2,5]),O=()=>u([1,5]),T=()=>u([5,8]),D=()=>u([5]),k=()=>u([1,5,2]),$=()=>u([1,2,5,8]),L=()=>u([12]),R=()=>u([8]),z=()=>u([15]),N=()=>u([1,2,5,8,12,15]),V=()=>u([1,2,5,8,12]),j=()=>{var it;const{user:le}=(0,t.getDvaApp)()._store.getState(),{userInfo:ct}=le;return((it=ct==null?void 0:ct.course)==null?void 0:it.course_role)===null},Y=()=>{const{user:it}=(0,t.getDvaApp)()._store.getState(),{userInfo:le}=it;return le==null?void 0:le.has_big_model_permission},G=()=>{const{user:it}=getDvaApp()._store.getState(),{userInfo:le}=it;return le==null?void 0:le.big_model_user_unlimited},J=(it=!0,le=!1)=>s([1,2,5,8,12,15]),Q=(it=!0,le=!1)=>le||!le&&s([1]),Z=(it=!0,le=!1)=>le||!le&&s([1,2]),K=()=>s([15]),M=(it=!0,le=!1)=>it?s([1,2,5,8,12,15]):le||!le&&s([1,2]),B=(it=!0,le=!1)=>it?s([1,2,5,8,12,15]):le||!le&&s([1,2]),H=(it=!0,le=!1)=>{const{user:ct}=(0,t.getDvaApp)()._store.getState(),{userInfo:Je}=ct;return Je!=null&&Je.is_shixun_marker?!0:s([1,2,5,8])},ee=(it=!0,le=!1)=>it?s([1]):le||!le&&s([1]),oe=(it=!0,le=!1)=>it?s([1,2]):le||!le&&s([1,2]),de=(it=!0,le=!1)=>it?s([1,2,5,8,12,15]):le||!le&&s([1,2]),_e=(it=!0,le=!1)=>it?s([1,2,5,8,12]):le||!le&&s([1,2]),he=(it=!0,le=!1)=>it?s([1,2,5]):le||!le&&s([1,2]),He=(it=!0,le=!1)=>it?s([1]):!1,Ue=(it=!0,le=!1)=>s([1,2,5,8,12,15]),tt=(it=!0,le=!1)=>it?s([1]):le||!le&&s([1]),at=(it=!0,le=!1)=>it?s([1,2]):le||!le&&s([1,2]),yt=(it=!0,le=!1)=>it?s([1,2,5,8,12,15]):le||!le&&s([1,2]),Et=(it=!0,le=!1)=>it?!1:le||!le&&s([1,2]),ye=(it=!0,le=!1)=>it?le||!le&&s([1,2]):!1,Fe=(it=!0,le=!1)=>it?s([1,2,5,8,12]):!1,Qe=(it=!0,le=!1)=>it?!le&&s([1,2,5,8,12]):!1,qe=(it=!0,le=!1)=>it?s([1,2,5]):le||!le&&s([1,2]),At=(it=!0,le=!1)=>s([1,2,5,8,12]),St=(it=!0,le=!1)=>it?s([1]):le||!le&&s([1]),$e=(it=!0,le=!1)=>it?s([1,2]):le||!le&&s([1,2]),we=(it=!0,le=!1)=>it?s([1,2,5,8,12]):le||!le&&s([1,2]),Ce=(it=!0,le=!1)=>it?le||!le&&s([1,2]):!1,Me=(it=!0,le=!1)=>it?s([1,2,5,8,12]):le||!le&&s([1,2]),Re=(it=!0,le=!1)=>u([8]),Ve=()=>s([1]),Be=()=>s([1,2]),et=()=>s([15]),Xe=()=>s([1,2,5]),jt=()=>s([1,2,5,12]),Ht=()=>{var it;const{user:le}=(0,t.getDvaApp)()._store.getState();return!!((it=le.userInfo)!=null&&it.login)},ge=()=>{const{user:it}=(0,t.getDvaApp)()._store.getState();return it.userInfo},ke=()=>{var it,le;const{user:ct}=(0,t.getDvaApp)()._store.getState();return!!((le=(it=ct.userInfo)==null?void 0:it.path)!=null&&le.own)},bt=it=>{const{graduations:le}=(0,t.getDvaApp)()._store.getState(),{details:ct}=le;return it.some(Je=>Je===(ct==null?void 0:ct.user_identity))},ut=()=>bt([0,1]),dt=()=>bt([0]),ot=()=>bt([1]),Zt=()=>bt([2])},14165:function(i,d,e){"use strict";e.d(d,{a2:function(){return o},fw:function(){return t},gW:function(){return n},k:function(){return s},k4:function(){return r}});const t=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],r=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var n=(u=>(u.PROBLEM="problem",u.PAPER="paper",u.OTHER="other",u))(n||{}),o=(u=>(u.SINGLE="single",u.MULTIPLEFLOW="multiple_flow",u.MULTIPLEFIXED="multiple_fixed",u.OTHER="other",u))(o||{}),s=(u=>(u[u.BISHI=1]="BISHI",u[u.JISHI=2]="JISHI",u[u.KOUSHI=3]="KOUSHI",u[u.OTHER=4]="OTHER",u))(s||{})},33466:function(i,d,e){"use strict";e.d(d,{F:function(){return t}});const t={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},3294:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});const t={PROXY_SERVER:"https://test2-data.educoder.net",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"https://new-testali-cdn.educoder.net",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var r=null,o={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:t,newReactTest:{API_SERVER:(()=>{let s;switch(location.host){case"test4.educoder.net":s="https://test4-data.educoder.net";break;case"test3.educoder.net":s="https://test3-data.educoder.net";break;case"test2.educoder.net":s="https://test2-data.educoder.net";break;default:s="https://test-data.educoder.net";break}return s})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let s="https://new-testali-cdn.educoder.net";const u=location.host;return u==="test3.educoder.net"&&(s="https://test3-data.educoder.net"),u==="test4.educoder.net"&&(s="https://test4-data.educoder.net"),s})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let s="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(s="https://pre-data2.educoder.net"),s})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let s="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?s="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(s="https://data.tokcoder.com"),s})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},99064:function(i,d,e){"use strict";e.d(d,{IV:function(){return K},U2:function(){return G},ZP:function(){return N},d4:function(){return J},gz:function(){return Z},rz:function(){return z},v_:function(){return Q}});var t=e(3294),r=e(28909),n=e(43418),o=e(8591),s=e(85582),u=e.n(s),c=e(59301),a=e(89070),f=e(955),g=Object.defineProperty,p=Object.defineProperties,b=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,A=(M,B,H)=>B in M?g(M,B,{enumerable:!0,configurable:!0,writable:!0,value:H}):M[B]=H,I=(M,B)=>{for(var H in B||(B={}))E.call(B,H)&&A(M,H,B[H]);if(h)for(var H of h(B))P.call(B,H)&&A(M,H,B[H]);return M},C=(M,B)=>p(M,b(B)),O=(M,B,H)=>new Promise((ee,oe)=>{var de=He=>{try{he(H.next(He))}catch(Ue){oe(Ue)}},_e=He=>{try{he(H.throw(He))}catch(Ue){oe(Ue)}},he=He=>He.done?ee(He.value):Promise.resolve(He.value).then(de,_e);he((H=H.apply(M,B)).next())});let T;const D={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},k=M=>{try{typeof M=="string"&&(M=JSON.parse(M));const B=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,H=/\"\/api\/attachments\/(\d+)\//g,ee=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,oe=/\/api\/attachments\/(\d+)/g,de=/\/attachments\/download\/(\d+)/g;return JSON.stringify(M).replace(oe,(he,He,Ue,tt)=>{const at=He||Ue||tt;return"/api/attachments/"+(0,f.Jn)(at)}).replace(de,(he,He,Ue)=>{const tt=He||Ue;return"/attachments/download/"+(0,f.Jn)(tt)}).replace(B,(he,He,Ue,tt)=>{const at=He||Ue||tt;return"(/api/attachments/"+(0,f.Jn)(at)}).replace(H,(he,He,Ue)=>{const tt=He||Ue;return'"/api/attachments/'+(0,f.Jn)(tt)}).replace(ee,(he,He,Ue)=>{const tt=He||Ue;return"(/files/uploads/"+(0,f.Jn)(tt)}).replace(/\r\n/g,` + `),vt=!1),Sa||be(De()),Sa.formatMessage(ue,me)),ce=()=>Object.keys(gn)},16209:function(i,d,e){"use strict";e.d(d,{y:function(){return u}});var t=e(43418),r=e(95237),n=e(43604),o=e(58539),s=e(59301);const u=c=>new Promise((a,f)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return f("WebRTC not supported by browser");let g=new RTCPeerConnection,p=[];g.createDataChannel(""),g.createOffer().then(b=>g.setLocalDescription(b)).catch(b=>f(b)),g.onicecandidate=b=>{console.log("event:",b);const h=[];if(!b||!b.candidate){if(console.log("ips",p),p.length==0||!(0,o.t)(p[0])){const R=t.default.info({title:s.createElement(r.Z,null,s.createElement(n.Z,{flex:"1"},"\u63D0\u793A"),s.createElement(n.Z,null,s.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>R.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:s.createElement(r.Z,null,s.createElement(n.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(c.ip_limit==="inner"||c.ip_bind)&&s.createElement(s.Fragment,null,s.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),s.createElement("br",null),s.createElement("a",{href:"https://www.educoder.net/forums/4478",target:"_blank"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return f("WebRTC disabled or restricted by browser")}const L=p.filter(R=>(0,o.t)(R));return!L||!L.length?f("IP\u83B7\u53D6\u5931\u8D25"):a(L.join(""))}let E=b.candidate.candidate.split(" "),[P,A,I,C,O,T,,D,...k]=E,$=["rtp","rtpc"];if(console.log("event:",b),p.some(L=>L==O)||p.push(O),console.log(" candidate: "+P.split(":")[1]),console.log(" component: "+$[A-1]),console.log(" protocol: "+I),console.log(" priority: "+C),console.log(" ip: "+O),console.log(" port: "+T),console.log(" type: "+D),k.length){console.log("attributes: ");for(let L=0;L "+k[L]+": "+k[L+1])}}})},52743:function(i,d,e){"use strict";e.d(d,{k:function(){return E}});var t=e(38650),r=e(8591),n=e(99309),o=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,g=(A,I,C)=>I in A?o(A,I,{enumerable:!0,configurable:!0,writable:!0,value:C}):A[I]=C,p=(A,I)=>{for(var C in I||(I={}))a.call(I,C)&&g(A,C,I[C]);if(c)for(var C of c(I))f.call(I,C)&&g(A,C,I[C]);return A},b=(A,I)=>s(A,u(I)),h=(A,I)=>{var C={};for(var O in A)a.call(A,O)&&I.indexOf(O)<0&&(C[O]=A[O]);if(A!=null&&c)for(var O of c(A))I.indexOf(O)<0&&f.call(A,O)&&(C[O]=A[O]);return C};const E=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],P={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[E[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${E[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[E[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${E[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:A},{call:I,put:C}){yield C({type:"save",payload:{actionTabs:p({},A)}})},*getMajorList({payload:A},{call:I,put:C,select:O}){const{userInfo:T}=yield O(D=>D.user);if(T!=null&&T.school_id){const D=yield I(t.BA,T.school_id);if(D&&D.data){const k=n.U.getItem(T==null?void 0:T.login);yield C({type:"setMajorOrYearDataSource",payload:{key:E[0],value:D.data.map($=>({label:$.name,value:$.ec_major_school_id})),active:D.data.length>0?k[0]||D.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:A},{call:I,put:C,select:O}){const T=yield I(t.Nx,A.id),{userInfo:D}=yield O(k=>k.user);if(T&&T.data){const k=n.U.getItem(D==null?void 0:D.login);yield C({type:"setMajorOrYearDataSource",payload:{key:E[1],value:T.data.map($=>({label:$.year,value:$.ec_year_id})),active:T.data.length>0?A.firstEnter?k[1]:T.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:A={}},{call:I,put:C,select:O}){const{calc:T,page:D,per_page:k}=A,{headerData:$,tabListData:L}=yield O(N=>N.engineeringEvaluteList),{userInfo:R}=yield O(N=>N.user);let z=$.active[E[1]];if(z){let N={id:z,page:D||1,per_page:k||L.pageSize};T&&(N=b(p({},N),{page:L.pageNo}));const V=yield I(t._y,N),j=[$.active[E[0]],$.active[E[1]]];n.U.setItem(R==null?void 0:R.login,j),V&&V.ec_courses&&(yield C({type:"setCourseResults",payload:b(p({},L),{pageNo:N.page,total:V.count,pageSize:N.per_page||L.pageSize,dataSource:V.ec_courses.map((Y,G)=>b(p({},Y),{key:N.page>1?(N.page-1)*N.per_page+G+1:G+1}))})}))}else yield C({type:"setCourseResults",payload:b(p({},L),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:A},{call:I,select:C}){const{headerData:O}=yield C(T=>T.engineeringEvaluteList);O.active[E[1]]&&(yield I(t.F,O.active[E[1]]))},*compute({payload:A},{call:I,put:C}){const O=A,{all:T}=O,D=h(O,["all"]),k=yield I(T?t.At:t.PX,D);k&&k.status===0?(r.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield C({type:"getCourseResults",payload:{calc:!0}})):r.ZP.error(k.message)}},reducers:{save(A,I){return p(p({},A),I.payload)},setMajorOrYearDataSource(A,{payload:I}){let C=A.headerData.active;return I.active&&(C=b(p({},C),{[I.key]:I.active})),b(p({},A),{headerData:b(p({},A.headerData),{dataSource:b(p({},A.headerData.dataSource),{[I.key]:b(p({},A.headerData.dataSource[I.key]),{dataList:I.value})}),active:C})})},setMajorOrYearActive(A,{payload:I}){return b(p({},A),{headerData:b(p({},A.headerData),{active:b(p({},A.headerData.active),{[I.key]:I.value})})})},setCourseResults(A,{payload:I}){return b(p({},A),{tabListData:p(p({},A.tabListData),I)})}},subscriptions:{setup({dispatch:A,history:I}){return I.listen(({pathname:C})=>{C==="/"&&A({type:"query"})})}}};d.Z=P},26422:function(i,d,e){"use strict";e.d(d,{L:function(){return c},r:function(){return f}});var t=Object.defineProperty,r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,s=(g,p,b)=>p in g?t(g,p,{enumerable:!0,configurable:!0,writable:!0,value:b}):g[p]=b,u=(g,p)=>{for(var b in p||(p={}))n.call(p,b)&&s(g,b,p[b]);if(r)for(var b of r(p))o.call(p,b)&&s(g,b,p[b]);return g};const c=g=>g==null?void 0:g.map(p=>{const b=(p.sub_disciplines||[]).map(h=>({value:h.id,label:h.name}));return{value:p.id,label:p.name,children:b}}),a={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},f=g=>{if(!g)return;const{all_questions_count:p,all_score:b,single_questions:h,multiple_questions:E,judgement_questions:P,program_questions:A,completion_questions:I,subjective_questions:C,practical_questions:O,combination_questions:T}=g||{},k=[u({type:"SINGLE",name:"\u5355\u9009\u9898"},h),u({type:"MULTIPLE",name:"\u591A\u9009\u9898"},E),u({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},I),u({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},P),u({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},C),u({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},A),u({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},O),u({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},T)].filter($=>$.questions_count>0).map(($,L)=>u(u({},$),{number:a[L+1]}));return{all_questions_count:p,all_score:b,questionList:k}}},99309:function(i,d,e){"use strict";e.d(d,{U:function(){return o},t:function(){return n}});var t=e(43418),r=e(24065);const n=(s,u="")=>{t.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:u,onOk:s})},o={setItem:(s,u)=>{var c;const a=s+"-engineering"+((c=(0,r.eY)())==null?void 0:c.school_id),f=JSON.stringify(u);localStorage.setItem(a,f)},getItem:s=>{var u;const c=s+"-engineering"+((u=(0,r.eY)())==null?void 0:u.school_id),a=localStorage.getItem(c);return a!==null&&a!=="[object Object]"?JSON.parse(a):[]},clear:s=>{var u;const c=s+"-engineering"+((u=(0,r.eY)())==null?void 0:u.school_id);localStorage.removeItem(c)}}},35390:function(i,d,e){"use strict";e.d(d,{$f:function(){return p},Cq:function(){return E},GY:function(){return u},I8:function(){return A},Ow:function(){return b},P:function(){return g},Ql:function(){return c},RA:function(){return O},Zm:function(){return a},bz:function(){return s},eF:function(){return P},gQ:function(){return I},ht:function(){return h},kN:function(){return T},n1:function(){return n},nI:function(){return D},o9:function(){return o},sG:function(){return f},wi:function(){return C}});var t=e(99064),r=(k,$,L)=>new Promise((R,z)=>{var N=Y=>{try{j(L.next(Y))}catch(G){z(G)}},V=Y=>{try{j(L.throw(Y))}catch(G){z(G)}},j=Y=>Y.done?R(Y.value):Promise.resolve(Y.value).then(N,V);j((L=L.apply(k,$)).next())});function n(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/avatar.json`,{method:"put",body:k})})}function o(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}.json`,{method:"get"})})}function s(k){return r(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:k})})}function u(k){return r(this,null,function*(){return(0,t.ZP)("/api/schools/limit_list.json",{method:"get",params:k})})}function c(k){return r(this,null,function*(){return(0,t.ZP)(`/api/schools/${k.id}/departments/for_option.json`,{method:"get",params:k})})}function a(k){return r(this,null,function*(){return(0,t.ZP)("/api/add_department_applies.json",{method:"post",body:k})})}function f(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.id}.json`,{method:"put",body:k})})}function g(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/authentication_apply.json`,{method:"delete"})})}function p(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/professional_auth_apply.json`,{method:"delete"})})}function b(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.id}/professional_auth_apply.json`,{method:"post",body:k})})}function h(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.id}/authentication_apply.json`,{method:"post",body:k})})}function E(k){return r(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:k})})}function P(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/phone_bind.json`,{method:"post",body:k})})}function A(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/email_bind.json`,{method:"post",body:k})})}function I(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.login}/password.json`,{method:"put",body:k})})}function C(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${k.basicInfoId}/open_users/${k.id}.json`,{method:"delete"})})}function O(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${k.login}/cancel_authentication.json`,{method:"post",body:k})})}function T(k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${k.login}/cancel_professional_certification.json`,{method:"post",body:k})})}function D(k,$){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${k.login}/videos/${k.id}/create_subject_video.json`,{method:"post",body:$})})}},13112:function(i,d,e){"use strict";e.d(d,{An:function(){return b},TO:function(){return f},my:function(){return p},nZ:function(){return g}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(h,E,P)=>E in h?r(h,E,{enumerable:!0,configurable:!0,writable:!0,value:P}):h[E]=P,c=(h,E)=>{for(var P in E||(E={}))o.call(E,P)&&u(h,P,E[P]);if(n)for(var P of n(E))s.call(E,P)&&u(h,P,E[P]);return h},a=(h,E,P)=>new Promise((A,I)=>{var C=D=>{try{T(P.next(D))}catch(k){I(k)}},O=D=>{try{T(P.throw(D))}catch(k){I(k)}},T=D=>D.done?A(D.value):Promise.resolve(D.value).then(C,O);T((P=P.apply(h,E)).next())});function f(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/inform_up.json`,{method:"post",body:c({},h)})})}function g(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/inform_down.json`,{method:"post",body:c({},h)})})}function p(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/update_informs.json`,{method:"post",body:c({},h)})})}function b(h){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${h.coursesId}/new_informs.json`,{method:"post",body:c({},h)})})}},19381:function(i,d,e){"use strict";e.d(d,{$n:function(){return P},H:function(){return E},Nm:function(){return b},Ot:function(){return h},SV:function(){return f},fc:function(){return I},mn:function(){return A},tO:function(){return p},zI:function(){return g}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(C,O,T)=>O in C?r(C,O,{enumerable:!0,configurable:!0,writable:!0,value:T}):C[O]=T,c=(C,O)=>{for(var T in O||(O={}))o.call(O,T)&&u(C,T,O[T]);if(n)for(var T of n(O))s.call(O,T)&&u(C,T,O[T]);return C},a=(C,O,T)=>new Promise((D,k)=>{var $=z=>{try{R(T.next(z))}catch(N){k(N)}},L=z=>{try{R(T.throw(z))}catch(N){k(N)}},R=z=>z.done?D(z.value):Promise.resolve(z.value).then($,L);R((T=T.apply(C,O)).next())});function f(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/public_with_course_and_project",{method:"get",params:c({},C)})})}function g(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:c({},C)})})}function p(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/import.json",{method:"post",body:c({},C)})})}function b(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C.id}.json`,{method:"get",params:c({},C)})})}function h(C){return a(this,null,function*(){const{id:O}=C;return delete C.id,(0,t.ZP)(`/api/files/${O}.json`,{method:"put",body:c({},C)})})}function E(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C.id}/update_visits.json`,{method:"post"})})}function P(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C==null?void 0:C.id}/watch_list.json`,{method:"get",params:c({},C)})})}function A(C){return a(this,null,function*(){return(0,t.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:c({},C)})})}function I(C){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${C==null?void 0:C.id}/add_file_quantity.json`,{method:"post",body:c({},C)})})}},10813:function(i,d,e){"use strict";e.d(d,{CJ:function(){return b},Mf:function(){return I},NA:function(){return P},PC:function(){return h},PP:function(){return E},YQ:function(){return A},cc:function(){return p},dI:function(){return g},yq:function(){return f}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(C,O,T)=>O in C?r(C,O,{enumerable:!0,configurable:!0,writable:!0,value:T}):C[O]=T,c=(C,O)=>{for(var T in O||(O={}))o.call(O,T)&&u(C,T,O[T]);if(n)for(var T of n(O))s.call(O,T)&&u(C,T,O[T]);return C},a=(C,O,T)=>new Promise((D,k)=>{var $=z=>{try{R(T.next(z))}catch(N){k(N)}},L=z=>{try{R(T.throw(z))}catch(N){k(N)}},R=z=>z.done?D(z.value):Promise.resolve(z.value).then($,L);R((T=T.apply(C,O)).next())});function f(C){return a(this,null,function*(){return(0,t.ZP)("/api/courses/board_list.json",{method:"get",params:c({},C)})})}function g(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}.json`,{method:"get",params:c({},C)})})}function p(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function b(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function h(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}/reply_list.json`,{method:"get",params:c({},C)})})}function E(C){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${C.boardId}/reply.json`,{method:"post",body:c({},C)})})}function P(C){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:c({},C)})})}function A(C){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:c({},C)})})}function I(C){return a(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:c({},C)})})}},92365:function(i,d,e){"use strict";e.d(d,{$T:function(){return ht},A:function(){return Ht},Ab:function(){return rn},Al:function(){return Y},BQ:function(){return Fe},BR:function(){return j},Bn:function(){return $e},Cq:function(){return yr},DJ:function(){return ee},Dd:function(){return h},Ds:function(){return qe},EO:function(){return ge},Ed:function(){return oe},Ew:function(){return Ra},FU:function(){return Me},Fg:function(){return E},GV:function(){return Ue},Gk:function(){return R},Gm:function(){return yt},Gz:function(){return P},Hl:function(){return A},Hn:function(){return T},ID:function(){return Qr},IU:function(){return Zt},J2:function(){return he},K$:function(){return At},KP:function(){return de},KT:function(){return B},L$:function(){return et},Lk:function(){return ba},Ls:function(){return Z},MA:function(){return ze},Mc:function(){return qn},N7:function(){return V},Nd:function(){return L},Nl:function(){return ot},Ns:function(){return on},O3:function(){return H},Pj:function(){return at},QX:function(){return dt},QZ:function(){return M},R2:function(){return N},Rk:function(){return Or},S9:function(){return Xe},U8:function(){return tr},UD:function(){return hr},U_:function(){return k},Uy:function(){return Nr},V8:function(){return O},Vw:function(){return Q},W0:function(){return le},W7:function(){return Qe},WK:function(){return kt},Wr:function(){return qt},YR:function(){return bt},Z0:function(){return rt},ZL:function(){return xt},ZT:function(){return nn},ZX:function(){return Ee},Zj:function(){return Ya},_9:function(){return Et},_B:function(){return Gn},aP:function(){return ct},aQ:function(){return ye},aZ:function(){return Ve},al:function(){return jt},bm:function(){return Rr},bz:function(){return we},c_:function(){return Er},ds:function(){return fr},fN:function(){return Ft},fr:function(){return ke},g4:function(){return He},gq:function(){return I},hf:function(){return J},i:function(){return or},i6:function(){return Ze},i7:function(){return Wr},iE:function(){return f},ih:function(){return rr},kW:function(){return _e},km:function(){return ur},nP:function(){return p},nQ:function(){return Ce},nX:function(){return Dt},oM:function(){return St},oR:function(){return Rn},o_:function(){return Je},pf:function(){return sr},pr:function(){return dn},pv:function(){return Ne},qB:function(){return G},rS:function(){return C},s:function(){return Tr},sb:function(){return Be},sm:function(){return b},t1:function(){return tt},tB:function(){return ln},tI:function(){return Oa},td:function(){return it},uh:function(){return Re},up:function(){return Gt},v2:function(){return g},vV:function(){return Rt},w9:function(){return $},wR:function(){return te},yS:function(){return ut},yV:function(){return z},yd:function(){return Te},zC:function(){return la},zg:function(){return K}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(Ae,Bn,ta)=>Bn in Ae?r(Ae,Bn,{enumerable:!0,configurable:!0,writable:!0,value:ta}):Ae[Bn]=ta,c=(Ae,Bn)=>{for(var ta in Bn||(Bn={}))o.call(Bn,ta)&&u(Ae,ta,Bn[ta]);if(n)for(var ta of n(Bn))s.call(Bn,ta)&&u(Ae,ta,Bn[ta]);return Ae},a=(Ae,Bn,ta)=>new Promise((Sa,Ja)=>{var qa=gn=>{try{Ia(ta.next(gn))}catch(yn){Ja(yn)}},zn=gn=>{try{Ia(ta.throw(gn))}catch(yn){Ja(yn)}},Ia=gn=>gn.done?Sa(gn.value):Promise.resolve(gn.value).then(qa,zn);Ia((ta=ta.apply(Ae,Bn)).next())});const f=Ae=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.course_id}/course_videos/configs.json`,{method:"put",body:Ae})}),g=Ae=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Ae})}),p=Ae=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Ae})}),b=Ae=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Ae})}),h=Ae=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Ae})}),E=Ae=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Ae})}),P=Ae=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Ae})}),A=Ae=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:Ae})});function I(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.course_id}/set_assistant_permissions.json`,{method:"post",body:c({},Ae.permissions)})})}function C(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.course_id}/assistant_permissions.json`,{method:"Get",params:c({},Ae)})})}function O(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"Get",params:c({},Ae)})})}function T(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:c({},Ae)})})}function D(Ae){return a(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:c({},Ae)})})}function k(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/top_banner.json`,{method:"get",params:c({},Ae)})})}function $(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id||Ae.coursesId}/left_banner.json`,{method:"get",params:c({},Ae)})})}function L(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/homework_commons.json`,{method:"get",params:c({},Ae)})})}function R(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/homework_commons/list.json`,{method:"get",params:c({},Ae)})})}function z(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/graduation_topics.json`,{method:"get",params:c({},Ae)})})}function N(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/graduation_tasks.json`,{method:"get",params:c({},Ae)})})}function V(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/v2/courses/${Ae.id}/exercises.json`,{method:"get",params:c({},Ae)})})}function j(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/polls.json`,{method:"get",params:c({},Ae)})})}function Y(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/homework_commons.json`,{method:"get",params:c({},Ae)})})}function G(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/course_groups.json`,{method:"get",params:c({},Ae)})})}function J(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/all_course_groups.json`,{method:"get",params:c({},Ae)})})}function Q(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/attendances.json`,{method:"get",params:c({},Ae)})})}function Z(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/weapps/courses/${Ae.coursesId}/attendances.json`,{method:"get",params:c({},Ae)})})}function K(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/attendances/${Ae.id}/edit.json`,{method:"get",params:c({},Ae)})})}function M(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/informs.json`,{method:"get",params:c({},Ae)})})}function B(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/files.json",{method:"get",params:c({},Ae)})})}function H(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/course_videos.json`,{method:"get",params:c({},Ae)})})}function ee(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/live_links.json`,{method:"get",params:c({},Ae)})})}function oe(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/courses/mine.json",{method:"get",params:c({},Ae)})})}function de(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/boards/${Ae.categoryId}/messages.json`,{method:"get",params:c({},Ae)})})}function _e(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/course_groups.json`,{method:"get",params:c({},Ae)})})}function he(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/students.json`,{method:"get",params:c({},Ae)})})}function He(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/statistics.json`,{method:"get",params:c({},Ae)})})}function Ue(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/work_score.json`,{method:"get",params:c({},Ae)})})}function tt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/act_score.json`,{method:"get",params:c({},Ae)})})}function at(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/shixun_lists.json",{method:"get",params:c({},Ae)})})}function yt(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"get",params:c({},Ae)})})}function Et(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:c({},Ae)})})}function ye(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:c({},Ae)})})}function Fe(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:c({},Ae)})})}function Qe(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/subject_lists.json",{method:"get",params:c({},Ae)})})}function qe(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:c({},Ae)})})}function At(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/schools/school_list.json",{method:"get",params:Ae})})}function St(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/courses/search_course_list.json",{method:"post",body:Ae})})}function $e(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"post",body:Ae})})}function we(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:Ae})})}function Ce(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/users/member_search.json",{method:"get",params:Ae})})}function Me(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/courses/search_all.json",{method:"get",params:Ae})})}function Re(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/add_teacher.json`,{method:"post",body:Ae})})}function Ve(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/add_students_by_search.json`,{method:"post",body:Ae})})}function Be(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/set_public_or_private.json`,{method:"post",body:Ae})})}function et(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/set_invite_code_halt.json`,{method:"post",body:Ae})})}function Xe(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/duplicate_course.json`,{method:"post",body:Ae})})}function jt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/update_end_date.json`,{method:"put",body:Ae})})}function Ht(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}.json`,{method:"delete",body:Ae})})}function ge(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/settings.json`,{method:"get",params:c({},Ae)})})}function ke(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}.json`,{method:"put",body:Ae})})}function bt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function ut(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/export_member_act_score_async.json`,{method:"get",params:c({export:!0},Ae)})})}function dt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:c({export:!0},Ae)})})}function ot(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:c({export:!0},Ae)})})}function Zt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/export_star_user.json`,{method:"get",params:c({export:!0},Ae)})})}function it(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/export_mooc_records.json`,{method:"get",params:c({export:!0},Ae)})})}function le(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/export_total_course_score.json`,{method:"get",params:c({export:!0},Ae)})})}function ct(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ae.categoryId}/export_scores.json`,{method:"get",params:c({export:!0},Ae)})})}function Je(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ae.categoryId}/export_shixun_report.json`,{method:"get",params:c({export:!0},Ae)})})}function xt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ae.categoryId}/export_exercise_users.json`,{method:"get",params:c({export:!0},Ae)})})}function Rt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ae.categoryId}/export_exercise_word.json`,{method:"get",params:c({export:!0},Ae)})})}function vr(Ae){return a(this,null,function*(){return Fetch(`/api/homework_commons/${Ae.categoryId}/works_list.zip`,{method:"get",params:c({export:!0},Ae)})})}function rt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api//course_second_categories/${Ae.id}.json`,{method:"delete",params:{export:!0}})})}function or(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api//boards/${Ae.id}.json`,{method:"delete",params:{export:!0}})})}function Te(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${Ae.id}/sticky_module.json`,{method:"get"})})}function Dt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${Ae.id}/hidden_module.json`,{method:"get"})})}function sr(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/courses/new.json",{method:"get",params:Ae})})}function fr(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/weapps/attendances/${Ae.id}.json`,{method:"get",params:Ae})})}function Rr(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Ae})})}function hr(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Ae})})}function _r(Ae){return a(this,null,function*(){return Fetch(`/api/polls/${Ae.categoryId}/commit_result.xlsx`,{method:"get",params:c({export:!0},Ae)})})}function Nr(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ae.categoryId}/export_scores.json`,{method:"get",params:c({export:!0},Ae)})})}function Wr(Ae){return(0,t.ZP)(`/api/polls/${Ae.categoryId}/start_answer.json`,{method:"get",params:c({},Ae)})}function Qr(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Ae.questionId}/poll_votes.json`,{method:"post",body:Ae})})}function on(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${Ae.categoryId}/commit_poll.json`,{method:"post",body:Ae})})}function ur(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.courseId}/tasks_list.json`,{method:"get",params:Ae})})}function tr(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.courseId}/update_task_position.json`,{method:"post",body:Ae})})}function Gt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:Ae})})}function Er(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/all_course_groups.json`,{method:"get",params:Ae})})}function yr(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/polls/all_course_groups.json`,{method:"get",params:Ae})})}function Or(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/students.json`,{method:"get",params:Ae})})}function ht(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${Ae.categoryId}/rename_group.json`,{method:"POST",body:Ae})})}function Ne(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${Ae.categoryId}.json`,{method:"delete",body:Ae})})}function Ze(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/join_course_group.json`,{method:"POST",body:Ae})})}function te(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/transfer_to_course_group.json`,{method:"post",body:Ae})})}function ze(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/delete_from_course.json`,{method:"post",body:Ae})})}function kt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/join_course_group.json`,{method:"post",body:Ae})})}function Ft(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/exit_course.json`,{method:"post"})})}function Ee(Ae){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:c({},Ae)})})}function rr(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/mooc_users/${Ae.user_id}/edit.json`,{method:"get",params:Ae})})}function Tr(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/mooc_users.json`,{method:"post",body:Ae})})}function ln(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.coursesId}/mooc_users/${Ae.user_id}.json`,{method:"put",body:Ae})})}function qt(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/course_second_categories/${Ae.id}/move_category.json`,{method:"post",body:Ae})})}function rn(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/boards/${Ae.id}/move_category.json`,{method:"post",body:Ae})})}function nn(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.id}/courseware.json`,{method:"get",params:Ae})})}function dn(Ae,Bn){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ae}/mark_wrong_topic.json`,{method:"get",params:Bn})})}function Gn(Ae,Bn){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ae}/cancel_wrong_topic.json`,{method:"get",params:Bn})})}function Rn(Ae,Bn){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ae}/allow_end_group.json`,{method:"get",params:Bn})})}function qn(Ae,Bn){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:Bn})})}function ba(Ae,Bn){return a(this,null,function*(){return(0,t.ZP)(`/api/tasks/${Ae}/get_content_for_commit_id.json`,{method:"get",params:Bn})})}function Oa(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.course_id}/course_ai_info.json`,{method:"Get",params:c({},Ae)})})}function la(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae.course_id}/set_open_ai.json`,{method:"post",body:Ae})})}function Ra(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.id}/smart_plans.json`,{method:"get",params:c({},Ae)})})}function Ya(Ae){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ae==null?void 0:Ae.id}/smart_plans.json`,{method:"post",body:c({},Ae)})})}},52721:function(i,d,e){"use strict";e.d(d,{$M:function(){return yt},$P:function(){return jt},Ax:function(){return g},Dh:function(){return A},FU:function(){return R},GQ:function(){return Q},IN:function(){return we},JM:function(){return Ve},Ju:function(){return at},Mn:function(){return $e},Ni:function(){return H},Pg:function(){return I},Pt:function(){return P},Qp:function(){return G},R9:function(){return z},Ux:function(){return J},Vy:function(){return _e},XJ:function(){return B},XR:function(){return Ue},Ze:function(){return D},aq:function(){return T},bQ:function(){return h},bu:function(){return p},cC:function(){return f},jS:function(){return V},lm:function(){return Ce},ml:function(){return K},o3:function(){return ye},pA:function(){return Qe},pS:function(){return Re},pU:function(){return M},ps:function(){return L},q0:function(){return At},qN:function(){return St},qS:function(){return E},qj:function(){return He},qt:function(){return et},rV:function(){return C},rZ:function(){return Be},rk:function(){return oe},rm:function(){return Y},sK:function(){return j},sL:function(){return qe},su:function(){return Me},tC:function(){return de},tO:function(){return he},u9:function(){return Z},uZ:function(){return ee},vV:function(){return $},xx:function(){return Ht},y8:function(){return tt},yS:function(){return k},zF:function(){return b},zc:function(){return N},zj:function(){return O},zz:function(){return Xe}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(ge,ke,bt)=>ke in ge?r(ge,ke,{enumerable:!0,configurable:!0,writable:!0,value:bt}):ge[ke]=bt,c=(ge,ke)=>{for(var bt in ke||(ke={}))o.call(ke,bt)&&u(ge,bt,ke[bt]);if(n)for(var bt of n(ke))s.call(ke,bt)&&u(ge,bt,ke[bt]);return ge},a=(ge,ke,bt)=>new Promise((ut,dt)=>{var ot=le=>{try{it(bt.next(le))}catch(ct){dt(ct)}},Zt=le=>{try{it(bt.throw(le))}catch(ct){dt(ct)}},it=le=>le.done?ut(le.value):Promise.resolve(le.value).then(ot,Zt);it((bt=bt.apply(ge,ke)).next())});const f=ge=>(0,t.ZP)(`/api/competitions/${ge.identifier}/create_guide.json`,{method:"post",body:ge}),g=ge=>(0,t.ZP)(`/api/competitions/${ge.identifier}/guides.json`,{method:"get",params:ge}),p=ge=>(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.competition_team_id}/edit_info.json`,{method:"put",body:ge});function b(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/update_result.json`,{method:"post",body:ge})})}function h(ge){return a(this,null,function*(){return(0,t.ZP)("/api/competitions.json",{method:"Get",params:c({},ge)})})}function E(ge){return a(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:ge})})}function P(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams.json`,{method:"post"})})}function A(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_staff.json`,{method:"get"})})}function I(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/common_header.json`,{method:"get"})})}function C(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/${ge.url}`,{method:"get",params:c({},ge)})})}function O(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/update_md_content.json`,{method:"post",body:ge})})}function T(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams.json`,{method:"get",params:ge})})}function D(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.Teannameid}/edit.json`,{method:"get",params:ge})})}function k(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.Teannameid}.json`,{method:"put",body:ge})})}function $(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.id}/leave.json`,{method:"post",body:ge})})}function L(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.id}.json`,{method:"delete"})})}function R(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams.json`,{method:"post",body:ge})})}function z(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.id}/add_managers.json`,{method:"post",body:ge})})}function N(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/join.json`,{method:"post",body:ge})})}function V(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/teachers.json`,{method:"get",params:ge})})}function j(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/students.json`,{method:"get",params:ge})})}function Y(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.teamid}/crud_team_members.json`,{method:"post",body:ge})})}function G(ge){return a(this,null,function*(){return(0,t.ZP)("/api/users/competition_reward.json",{method:"post",body:ge})})}function J(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/chart_rules.json`,{method:"get"})})}function Q(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/charts.json`,{method:"get",params:ge})})}function Z(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/results.json`,{method:"get",params:ge})})}function K(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/md_tab_rules.json`,{method:"get",params:ge})})}function M(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/prize.json`,{method:"get",params:ge})})}function B(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ge.id}.json`,{method:"get",params:ge})})}function H(ge){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:ge})})}function ee(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ge.userid}/phone_bind.json`,{method:"post",body:ge})})}function oe(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ge.userid}/email_bind.json`,{method:"post",body:ge})})}function de(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ge.userid}/professional_auth_apply.json`,{method:"delete"})})}function _e(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ge.userid}/authentication_apply.json`,{method:"delete"})})}function he(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/prize_leader_account.json`,{method:"put",body:ge})})}function He(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.teamid}/shixun_detail.json`,{method:"get"})})}function Ue(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams/${ge.teamid}/course_detail.json`,{method:"get"})})}function tt(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/attachments/${ge.id}.json`,{method:"delete"})})}function at(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.id}/get_certificate_info.json`,{method:"get",params:ge})})}function yt(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.id}/basic_setting.json`,{method:"post",body:ge})})}function Et(){return a(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function ye(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge}/common_header.json`,{method:"get"})})}function Fe(ge){return a(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:ge})})}function Qe(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/search_managers.json`,{method:"get",params:ge})})}function qe(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge}/get_managers.json`,{method:"get"})})}function At(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/add_managers.json`,{method:"post",body:ge})})}function St(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/delete_managers.json`,{method:"delete",body:ge})})}function $e(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge}/get_picture.json`,{method:"get"})})}function we(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/identifier_exist.json`,{method:"post",body:ge})})}function Ce(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge}/get_shixun_settings.json`,{method:"get"})})}function Me(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/shixun_add.json`,{method:"post",body:ge})})}function Re(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/shixun_delete.json`,{method:"delete",body:ge})})}function Ve(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/shixun_select.json`,{method:"post",body:ge})})}function Be(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge}/info_finish.json`,{method:"get"})})}function et(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge==null?void 0:ge.id}/competition_review.json`,{method:"post",body:c({},ge)})})}function Xe(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_teams.json`,{method:"get",params:ge})})}function jt(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/all_team_members.json`,{method:"get",params:ge})})}function Ht(ge){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ge.identifier}/competition_commit_records/member_works.json`,{method:"get",params:ge})})}},38650:function(i,d,e){"use strict";e.d(d,{F:function(){return E},OE:function(){return O},ff:function(){return P},p1:function(){return A},_y:function(){return h},mK:function(){return $},gq:function(){return R},eM:function(){return k},BA:function(){return V},bA:function(){return Y},Nx:function(){return j},Qx:function(){return T},At:function(){return I},PX:function(){return C},Xl:function(){return D},y9:function(){return L},No:function(){return z},ay:function(){return G}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(J,Q,Z)=>Q in J?r(J,Q,{enumerable:!0,configurable:!0,writable:!0,value:Z}):J[Q]=Z,f=(J,Q)=>{for(var Z in Q||(Q={}))u.call(Q,Z)&&a(J,Z,Q[Z]);if(s)for(var Z of s(Q))c.call(Q,Z)&&a(J,Z,Q[Z]);return J},g=(J,Q)=>n(J,o(Q)),p=(J,Q)=>{var Z={};for(var K in J)u.call(J,K)&&Q.indexOf(K)<0&&(Z[K]=J[K]);if(J!=null&&s)for(var K of s(J))Q.indexOf(K)<0&&c.call(J,K)&&(Z[K]=J[K]);return Z},b=(J,Q,Z)=>new Promise((K,M)=>{var B=oe=>{try{ee(Z.next(oe))}catch(de){M(de)}},H=oe=>{try{ee(Z.throw(oe))}catch(de){M(de)}},ee=oe=>oe.done?K(oe.value):Promise.resolve(oe.value).then(B,H);ee((Z=Z.apply(J,Q)).next())});const h=J=>b(void 0,null,function*(){var Q=J,{id:Z}=Q,K=p(Q,["id"]);return(0,t.ZP)(`/api/ec_years/${Z}/course_results.json`,{method:"get",params:K})}),E=J=>{let Q=document.createElement("iframe");Q.src=`/api/ec_years/${J}/course_results.xlsx`,Q.style.display="none",document.body.appendChild(Q)},P=({ec_year_id:J})=>(0,t.ZP)(`/api/ec_years/${J}/course_results/get_class.json`,{method:"get"}),A=({ec_year_id:J,id:Q,class_name:Z=null})=>(0,t.ZP)(`/api/ec_years/${J}/course_results/${Q}.json`,{method:"get",params:{class_name:Z}}),I=({ec_year_id:J})=>(0,t.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:J}}),C=({ec_course_id:J})=>(0,t.ZP)(`/api/ec_courses/${J}/evaluations/evaluation_data`,{method:"POST"}),O=J=>{let Q=document.createElement("iframe");Q.src=`/api/ec_years/${J}/ec_graduation_results.xlsx`,Q.style.display="none",document.body.appendChild(Q)},T=({ec_year_id:J})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/compute_all`,{method:"post"}),D=({ec_year_id:J,id:Q})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/compute_single?id=${Q}`,{method:"POST"}),k=J=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results.json`,{method:"get"}),$=J=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/get_formulas.json`,{method:"get"}),L=({ec_year_id:J,formula_one:Q,formula_two:Z,formula_three:K})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:Q,formula_two_id:Z,formula_three_id:K}}),R=({ec_year_id:J,id:Q})=>(0,t.ZP)(`/api/ec_years/${J}/ec_graduation_results/${Q}.json`,{method:"get"}),z=J=>{var Q=J,{ec_year_id:Z,type:K,goal_value:M}=Q,B=p(Q,["ec_year_id","type","goal_value"]);let H=`?type=${K}`,ee={method:"PUT"};return K==="all"&&(H+=`&goal_value=${M}`),K==="each"&&(ee=g(f({},ee),{body:B})),(0,t.ZP)(`/api/ec_years/${Z}/ec_graduation_results/set_goal_value${H}`,ee)};var N=(J,Q,Z)=>new Promise((K,M)=>{var B=oe=>{try{ee(Z.next(oe))}catch(de){M(de)}},H=oe=>{try{ee(Z.throw(oe))}catch(de){M(de)}},ee=oe=>oe.done?K(oe.value):Promise.resolve(oe.value).then(B,H);ee((Z=Z.apply(J,Q)).next())});const V=J=>N(void 0,null,function*(){return(0,t.ZP)(`/api/schools/${J}/ec_majors/get_major_list.json`,{method:"get"})}),j=J=>N(void 0,null,function*(){return(0,t.ZP)(`/api/ec_major_schools/${J}/ec_years/get_year_list.json`,{method:"get"})}),Y=({ec_year_id:J,school_id:Q})=>(0,t.ZP)(`/api/ec_years/${J}/top_pages.json`,{method:"get",params:{school_id:Q}}),G=({id:J,name:Q})=>(0,t.ZP)(`/api/ec_years/1/top_pages/${J}?name=${Q}`,{method:"PUT"})},94941:function(i,d,e){"use strict";e.d(d,{$Q:function(){return O},$l:function(){return Ft},BJ:function(){return St},CD:function(){return ke},Cd:function(){return et},Cl:function(){return _r},Di:function(){return Et},Fl:function(){return Qe},G$:function(){return K},GK:function(){return Fe},Ip:function(){return Ce},J:function(){return M},KE:function(){return qe},L8:function(){return it},LP:function(){return Me},MK:function(){return ye},Mb:function(){return ur},N0:function(){return L},N3:function(){return he},OO:function(){return I},P8:function(){return Or},PJ:function(){return H},PT:function(){return Gt},Qc:function(){return z},RK:function(){return Z},Ty:function(){return fr},UH:function(){return vr},UK:function(){return He},Uj:function(){return Ht},Ul:function(){return Be},VL:function(){return dt},Vj:function(){return ct},W4:function(){return jt},WL:function(){return Je},Wj:function(){return Q},X4:function(){return we},Xn:function(){return Qr},Xo:function(){return V},YY:function(){return yt},Ym:function(){return k},Yu:function(){return ht},ZD:function(){return yr},Zg:function(){return Nr},_B:function(){return ge},_F:function(){return tr},_U:function(){return Y},_u:function(){return ee},aU:function(){return $},ab:function(){return hr},cC:function(){return sr},cV:function(){return G},ck:function(){return Er},dp:function(){return R},eA:function(){return ze},fG:function(){return P},gA:function(){return J},gG:function(){return on},gJ:function(){return Ne},hk:function(){return b},hv:function(){return h},iB:function(){return E},iU:function(){return A},iw:function(){return Dt},kp:function(){return ot},lL:function(){return C},lf:function(){return _e},n$:function(){return de},n7:function(){return j},nF:function(){return le},o3:function(){return Ze},oS:function(){return Re},oX:function(){return ut},oy:function(){return Rr},p7:function(){return D},pL:function(){return bt},pu:function(){return $e},q6:function(){return Zt},qf:function(){return at},qz:function(){return Ve},s:function(){return or},sA:function(){return xt},sS:function(){return te},tX:function(){return rt},uR:function(){return Ue},ux:function(){return At},wy:function(){return tt},xA:function(){return Te},yE:function(){return N},yu:function(){return Rt},zP:function(){return T},zR:function(){return kt}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(Ee,rr,Tr)=>rr in Ee?r(Ee,rr,{enumerable:!0,configurable:!0,writable:!0,value:Tr}):Ee[rr]=Tr,f=(Ee,rr)=>{for(var Tr in rr||(rr={}))u.call(rr,Tr)&&a(Ee,Tr,rr[Tr]);if(s)for(var Tr of s(rr))c.call(rr,Tr)&&a(Ee,Tr,rr[Tr]);return Ee},g=(Ee,rr)=>n(Ee,o(rr)),p=(Ee,rr,Tr)=>new Promise((ln,qt)=>{var rn=Gn=>{try{dn(Tr.next(Gn))}catch(Rn){qt(Rn)}},nn=Gn=>{try{dn(Tr.throw(Gn))}catch(Rn){qt(Rn)}},dn=Gn=>Gn.done?ln(Gn.value):Promise.resolve(Gn.value).then(rn,nn);dn((Tr=Tr.apply(Ee,rr)).next())});const b=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:Ee}),h=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:Ee}),E=Ee=>(0,t.ZP)(`/api/exercises/${Ee.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:Ee}),P=Ee=>(0,t.ZP)(`/api/exercises/${Ee.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:Ee}),A=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:Ee}),I=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.exercise_id}/statistics/list_student_score.json`,{method:"get",params:Ee}),C=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:Ee}),O=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.exercise_id}/statistics/score_ranges.json`,{method:"get",params:Ee}),T=Ee=>(0,t.ZP)(`/api/exercises/${Ee.id}/sava_exam_summary.json`,{method:"post",body:Ee}),D=Ee=>(0,t.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:Ee}),k=Ee=>(0,t.ZP)(`/api/exercises/${Ee.id}/generate_exam_summary.json`,{method:"post",body:Ee}),$=Ee=>(0,t.ZP)(`/api/exercises/${Ee.id}/exam_summary_settings.json`,{method:"post",body:Ee}),L=Ee=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.exercise_id}/review_exercise_user.json`,{method:"post",body:Ee})}),R=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.id}/code_check.json`,{method:"get",params:Ee}),z=Ee=>(0,t.ZP)(`/api/exercises/${Ee.id}/reset_pwd.json`,{method:"post",body:Ee}),N=Ee=>(0,t.ZP)(`/api/exercises/${Ee.id}/encrypt_or_decrypt.json`,{method:"post",body:Ee}),V=Ee=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.id}/delayed_time_or_force.json`,{method:"post",body:Ee})}),j=Ee=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.id}/exercise_time.json`,{method:"Get",params:Ee})}),Y=Ee=>(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.id}/exercise_question_result.json`,{method:"get",params:Ee}),G=Ee=>(0,t.ZP)(`/api/exercises/${Ee.id}/get_question_type_alias.json`,{method:"get",params:Ee});function J(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee==null?void 0:Ee.id}/teacher_update.json`,{method:"post",body:f({},Ee)})})}function Q(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee==null?void 0:Ee.id}/adjust_comment.json`,{method:"post",body:f({},Ee)})})}function Z(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.id}/edit_question_type_alias.json`,{method:"POST",body:Ee})})}function K(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/exercise_lists.json`,{method:"get",params:f({},Ee)})})}function M(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/exercise_identity_photos.json`,{method:"get",params:f({},Ee)})})}function B(Ee){return p(this,null,function*(){return Fetch(`/api/exercises/${Ee.categoryId}/video_push_url.json`,{method:"get",params:f({},Ee)})})}function H(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/query_identity_photo_state.json`,{method:"get",params:f({},Ee)})})}function ee(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/exercise_result.json`,{method:"get",params:f({},Ee)})})}function oe(Ee){return p(this,null,function*(){return Fetch(`/api/exercises/${Ee.categoryId}/exercise_score_area_setting.json`,{method:"post",body:f({},Ee)})})}function de(Ee){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:f({},Ee)})})}function _e(Ee){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:f({},Ee)})})}function he(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ee.coursesId}/exercises/publish_modal.json`,{method:"get",params:f({},Ee)})})}function He(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/common_header.json`,{method:"get",params:f({},Ee)})})}function Ue(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ee.coursesId}/exercises.json`,{method:"post",body:f({},Ee)})})}function tt(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.exerciseId}.json`,{method:"put",body:f({},Ee)})})}function at(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}.json`,{method:"get",params:f({},Ee)})})}function yt(Ee){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"get",params:f({},Ee)})})}function Et(Ee){return p(this,null,function*(){const{id:rr}=Ee;return delete Ee.id,(0,t.ZP)(`/api/exercise_questions/${rr}.json`,{method:"put",body:f({},Ee)})})}function ye(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/exercise_questions.json`,{method:"post",body:f({},Ee)})})}function Fe(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee.id}/up_down.json`,{method:"post",body:f({},Ee)})})}function Qe(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee.id}.json`,{method:"delete"})})}function qe(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ee.coursesId}/exercises/end_modal.json`,{method:"get",params:f({},Ee)})})}function At(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/publish_groups.json`,{method:"get",params:f({},Ee)})})}function St(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.exerciseId}/user_exercise_detail.json`,{method:"get",params:f({},Ee)})})}function $e(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.exerciseId}/consult_exercise.json`,{method:"post",body:f({},Ee)})})}function we(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.exerciseId}/teacher_appraise.json`,{method:"get",params:f({},Ee)})})}function Ce(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee.id}/adjust_score.json`,{method:"post",body:f({},Ee)})})}function Me(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee.id}/batch_adjust_score.json`,{method:"post",body:f({},Ee)})})}function Re(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.id}/adjust_score.json`,{method:"post",body:f({},Ee)})})}function Ve(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.id}/delayed_time.json`,{method:"post",body:f({},Ee)})})}function Be(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/exercise_setting.json`,{method:"get",params:f({},Ee)})})}function et(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/v2/exercises/${Ee.categoryId}/exercise_setting.json`,{method:"get",params:f({},Ee)})})}function Xe(Ee){return p(this,null,function*(){return Fetch(`/api/exercises/${Ee.categoryId}/commit_setting.json`,{method:"post",body:f({},Ee)})})}function jt(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.exerciseId}/review_exercises_by_students.json`,{method:"post",body:f({},Ee)})})}function Ht(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/exercise_lists.xlsx`,{method:"get",params:g(f({},Ee),{export:!0})})})}function ge(Ee){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/user_exercise_detail.json`,{method:"get",params:g(f({},Ee),{login:null})})}function ke(Ee){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/start.json`,{method:"get",params:f({},Ee)})}function bt(Ee){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/start_unlock.json`,{method:"post",body:f({},Ee)})}function ut(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee.questionId}/exercise_answers.json`,{method:"post",body:Ee})})}function dt(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/commit_exercise.json`,{method:"post",body:Ee})})}function ot(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/simulate_commit_exercise.json`,{method:"post",body:Ee})})}function Zt(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/redo_exercise.json`,{method:"post",body:Ee})})}function it(Ee){return(0,t.ZP)(`/api/${Ee.url}`,{method:"get",params:f({},Ee)})}function le(Ee){return(0,t.ZP)(`/api/problems/${Ee.id}/start.json`,{method:"get",params:f({},Ee)})}function ct(Ee){return(0,t.ZP)(`/api/exercises/${Ee.id}/begin_commit.json`,{method:"get",params:f({},Ee)})}function Je(Ee){return(0,t.ZP)(`/api/exercises/${Ee.id}/simulate_begin_commit.json`,{method:"get",params:f({},Ee)})}function xt(Ee){return(0,t.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:f({},Ee)})}function Rt(Ee){return console.log("params:",Ee),(0,t.ZP)(`/api/exercises/${Ee.categoryId}/edit.json`,{method:"get",params:f({},Ee)})}function vr(Ee){return(0,t.ZP)(`/api/exercises/${Ee.id}/get_objective_scores.json`,{method:"get",params:f({},Ee)})}function rt(Ee){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/redo_modal.json`,{method:"get",params:f({},Ee)})}function or(Ee){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/student_redo_lists.json`,{method:"get",params:f({},Ee)})}function Te(Ee){return(0,t.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:Ee})}function Dt(Ee){return(0,t.ZP)(`/api/exercises/${Ee.id}/exercise_header.json`,{method:"get",params:f({},Ee)})}function sr(Ee){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/allow_close_camera.json`,{method:"post",body:f({},Ee)})}function fr(Ee){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/get_exercise_user_info.json`,{method:"get",params:f({},Ee)})}function Rr(Ee){return(0,t.ZP)(`/api/exercises/${Ee.id}/record_screen`,{method:"post",params:f({},Ee)})}function hr(Ee){return(0,t.ZP)(`/api/exercises/${Ee.id}/unbind_ip.json`,{method:"post",body:f({},Ee)})}function _r(Ee){return(0,t.ZP)(`/api/exercises/${Ee.id}/check_ip.json`,{method:"get",params:f({},Ee)})}function Nr(Ee){return(0,t.ZP)(`/api/exercises/${Ee==null?void 0:Ee.id}/check_user_exercise.json`,{method:"get",params:f({},Ee)})}function Wr(Ee){return Fetch(`/api/exercises/${Ee.id}/make_up_students.json`,{method:"get",params:f({},Ee)})}function Qr(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ee.coursesId}/exercises/code_review_detail.json`,{method:"get",params:f({},Ee)})})}function on(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee.question_id}/adjust_score.json`,{method:"post",body:f({},Ee)})})}function ur(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Ee.categoryId}/simulate_exercise.json`,{method:"post",body:f({},Ee)})})}function tr(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/simulate_start_answer.json`,{method:"get",params:f({},Ee)})})}function Gt(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/exercise_time.json`,{method:"get",params:f({},Ee)})})}function Er(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee.categoryId}/commit_screen_at.json`,{method:"post",body:f({},Ee)})})}function yr(Ee,rr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee}/unlock_user`,{method:"post",body:rr})})}function Or(Ee,rr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee}/save_screen_record.json`,{method:"post",body:rr})})}function ht(Ee,rr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee}/screen_record_list.json`,{method:"get",params:rr})})}function Ne(Ee){return p(this,null,function*(){return(0,t.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:f({},Ee)})})}function Ze(Ee){return p(this,null,function*(){return(0,t.ZP)("/api/exercises/need_redo.json",{method:"get",params:Ee})})}function te(Ee,rr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Ee}/mark.json`,{method:"post",body:rr})})}function ze(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Ee}/exit_delete_pod.json`,{method:"post",body:Ee})})}function kt(Ee){return p(this,null,function*(){return(0,t.ZP)("/api/users/change_exercise_score.json",{method:"put",body:Ee})})}function Ft(Ee){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Ee==null?void 0:Ee.id}/send_to_item_bank.json`,{method:"post",body:f({},Ee)})})}},67508:function(i,d,e){"use strict";e.d(d,{B0:function(){return p},Si:function(){return I},Sr:function(){return O},YP:function(){return C},b4:function(){return A},bc:function(){return f},dX:function(){return P},eh:function(){return T},iI:function(){return h},kd:function(){return g},qR:function(){return E},sW:function(){return b},ts:function(){return k},vL:function(){return D},z5:function(){return $}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(L,R,z)=>R in L?r(L,R,{enumerable:!0,configurable:!0,writable:!0,value:z}):L[R]=z,c=(L,R)=>{for(var z in R||(R={}))o.call(R,z)&&u(L,z,R[z]);if(n)for(var z of n(R))s.call(R,z)&&u(L,z,R[z]);return L},a=(L,R,z)=>new Promise((N,V)=>{var j=J=>{try{G(z.next(J))}catch(Q){V(Q)}},Y=J=>{try{G(z.throw(J))}catch(Q){V(Q)}},G=J=>J.done?N(J.value):Promise.resolve(J.value).then(j,Y);G((z=z.apply(L,R)).next())});function f(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"get",params:L})})}function g(L){return a(this,null,function*(){return(0,t.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:L})})}function p(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}/sticky_or_cancel.json`,{method:"post",body:L})})}function b(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}.json`,{method:"delete",body:L})})}function h(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos/new.json",{method:"get",params:L})})}function E(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}/edit.json`,{method:"get",params:L})})}function P(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"post",body:c({},L)})})}function A(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}.json`,{method:"put",body:c({},L)})})}function I(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}.json`,{method:"get",params:L})})}function C(L){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${L.user_id}/watch.json`,{method:"post",body:L})})}function O(L){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${L.user_id}/watch.json`,{method:"delete",body:c({},L)})})}function T(L){return a(this,null,function*(){return(0,t.ZP)(`/api/discusses/${L.id}/reward_code.json`,{method:"post",body:L})})}function D(L){return a(this,null,function*(){return(0,t.ZP)(`/api/discusses/${L.id}/plus.json`,{method:"post",body:L})})}function k(L){return a(this,null,function*(){return(0,t.ZP)("/api/memos/reply.json",{method:"post",body:L})})}function $(L){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${L.id}/more_reply.json`,{method:"get",params:L})})}},30534:function(i,d,e){"use strict";e.d(d,{D2:function(){return n},n0:function(){return o},tk:function(){return s}});var t=e(99064),r=(u,c,a)=>new Promise((f,g)=>{var p=E=>{try{h(a.next(E))}catch(P){g(P)}},b=E=>{try{h(a.throw(E))}catch(P){g(P)}},h=E=>E.done?f(E.value):Promise.resolve(E.value).then(p,b);h((a=a.apply(u,c)).next())});function n(){return r(this,null,function*(){return(0,t.ZP)("/api/setting.json",{method:"Get"})})}function o(){return r(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"Get"})})}function s(u){return r(this,null,function*(){return(0,t.ZP)("/api/search_records",{method:"post",body:u})})}},89887:function(i,d,e){"use strict";e.d(d,{B6:function(){return p},Gr:function(){return k},Mf:function(){return O},NA:function(){return I},PC:function(){return P},PP:function(){return A},QA:function(){return g},RP:function(){return R},Sv:function(){return L},YQ:function(){return C},_n:function(){return z},hL:function(){return D},je:function(){return E},mM:function(){return h},wA:function(){return $},x_:function(){return b},y0:function(){return T},y3:function(){return f}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(N,V,j)=>V in N?r(N,V,{enumerable:!0,configurable:!0,writable:!0,value:j}):N[V]=j,c=(N,V)=>{for(var j in V||(V={}))o.call(V,j)&&u(N,j,V[j]);if(n)for(var j of n(V))s.call(V,j)&&u(N,j,V[j]);return N},a=(N,V,j)=>new Promise((Y,G)=>{var J=K=>{try{Z(j.next(K))}catch(M){G(M)}},Q=K=>{try{Z(j.throw(K))}catch(M){G(M)}},Z=K=>K.done?Y(K.value):Promise.resolve(K.value).then(J,Q);Z((j=j.apply(N,V)).next())});function f(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}.json`,{method:"get",params:c({},N)})})}function g(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}/tasks_list.json`,{method:"get",params:c({},N)})})}function p(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/show_detail.json`,{method:"get",params:c({},N)})})}function b(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}.json`,{method:"get",params:c({},N)})})}function h(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/refuse_student_topic.json`,{method:"post",body:c({},N)})})}function E(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/accept_student_topic.json`,{method:"post",body:c({},N)})})}function P(N){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${N.categoryId}/show_comment.json`,{method:"get",params:c({},N)})})}function A(N){return a(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:c({},N)})})}function I(N){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:c({},N)})})}function C(N){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:c({},N)})})}function O(N){return a(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:c({},N)})})}function T(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/new.json`,{method:"get",params:c({},N)})})}function D(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}/edit.json`,{method:"get",params:c({},N)})})}function k(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics`,{method:"post",body:c({},N)})})}function $(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_topics/${N.categoryId}`,{method:"put",body:c({},N)})})}function L(N){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/graduation_tasks`,{method:"post",body:c({},N)})})}function R(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}.json`,{method:"put",body:c({},N)})})}function z(N){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${N.categoryId}/edit.json`,{method:"get",params:c({},N)})})}},2742:function(i,d,e){"use strict";e.d(d,{AA:function(){return $},Db:function(){return g},Dd:function(){return E},F7:function(){return j},Fi:function(){return K},H3:function(){return h},HF:function(){return A},HH:function(){return b},Ib:function(){return J},J3:function(){return u},NT:function(){return n},NX:function(){return C},Ot:function(){return I},Ou:function(){return Y},Ps:function(){return o},Rk:function(){return V},Tz:function(){return f},V1:function(){return Q},Wz:function(){return s},Xh:function(){return p},Xw:function(){return N},YS:function(){return R},Zd:function(){return Z},bS:function(){return O},ck:function(){return P},eh:function(){return k},il:function(){return c},j7:function(){return a},jW:function(){return L},km:function(){return z},l5:function(){return D},rU:function(){return M},xF:function(){return T},zC:function(){return G},zT:function(){return B}});var t=e(99064),r=(H,ee,oe)=>new Promise((de,_e)=>{var he=tt=>{try{Ue(oe.next(tt))}catch(at){_e(at)}},He=tt=>{try{Ue(oe.throw(tt))}catch(at){_e(at)}},Ue=tt=>tt.done?de(tt.value):Promise.resolve(tt.value).then(he,He);Ue((oe=oe.apply(H,ee)).next())});function n(H){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:H})}function o(H){return(0,t.ZP)(`/api/schools/${H.id}/departments/for_option.json`,{method:"get",params:H})}function s(H){return(0,t.ZP)("/api/graduations.json",{method:"POST",body:H})}function u(H){return(0,t.ZP)("/api/graduations.json",{method:"get",params:H})}function c(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_stages/${H.stageid}/authorized_redelivery.json`,{method:"POST",body:H})})}function a(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_stages/${H.stageid}/submit.json`,{method:"POST",body:H})})}function f(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/export_status.json`,{method:"get",params:H})})}function g(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/export_all_attachments.json`,{method:"get",params:H})})}function p(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_stages/${H.id}.json`,{method:"get",params:H})})}function b(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/set_final_score.json`,{method:"POST",body:H})})}function h(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/student_tasks/final_score.json`,{method:"get",params:H})})}function E(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/set_novice_guide.json`,{method:"POST",body:H})})}function P(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_notices/${H.doid}/set_do.json`,{method:"POST",body:H})})}function A(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_teachers.json`,{method:"POST",body:H})})}function I(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.identifier}/graduation_students/${H.id}/update_major.json`,{method:"PUT",body:H})})}function C(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_students.json`,{method:"POST",body:H})})}function O(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_teachers/search.json`,{method:"get",params:H})})}function T(H){return r(this,null,function*(){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:H})})}function D(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_students/search.json`,{method:"get",params:H})})}function k(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_students.json`,{method:"get",params:H})})}function $(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_teachers.json`,{method:"get",params:H})})}function L(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.graduation_id}/graduation_tasks.json`,{method:"POST",body:H})})}function R(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.graduation_id}/graduation_tasks/${H.id}.json`,{method:"PUT",body:H})})}function z(H){return r(this,null,function*(){var ee;return(0,t.ZP)(`/api/graduations/${H.id}/graduation_tasks/${(ee=H.ids)==null?void 0:ee[0]}`,{method:"DELETE",body:{ids:H.ids}})})}function N(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_tasks.json`,{method:"get",params:H})})}function V(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}/graduation_notices.json`,{method:"get",params:H})})}function j(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H.id}.json`,{method:"get"})})}function Y(H){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H==null?void 0:H.id}/common_header.json`,{method:"get"})})}function G(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/preview.json`,{method:"get"})})}function J(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_teachers/not_pass.json`,{method:"post",body:ee})})}function Q(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_teachers/pass.json`,{method:"post",body:ee})})}function Z(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_students/not_pass.json`,{method:"post",body:ee})})}function K(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_students/pass.json`,{method:"post",body:ee})})}function M(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_students/batch_delete`,{method:"delete",body:ee})})}function B(H,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${H}/graduation_teachers/batch_delete`,{method:"delete",body:ee})})}},1:function(i,d,e){"use strict";e.d(d,{LA:function(){return u},S_:function(){return c},Tt:function(){return n},cR:function(){return o},vm:function(){return s}});var t=e(99064),r=(a,f,g)=>new Promise((p,b)=>{var h=A=>{try{P(g.next(A))}catch(I){b(I)}},E=A=>{try{P(g.throw(A))}catch(I){b(I)}},P=A=>A.done?p(A.value):Promise.resolve(A.value).then(h,E);P((g=g.apply(a,f)).next())});function n(){return r(this,null,function*(){return(0,t.ZP)("/api/home/index.json",{method:"Get"})})}function o(a){return r(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:a})})}function s(a){return r(this,null,function*(){return(0,t.ZP)("/api/project_applies.json",{method:"post",body:a})})}function u(a){return r(this,null,function*(){return(0,t.ZP)("/api/users/home_notice.json",{method:"Get"})})}function c(a){return r(this,null,function*(){return(0,t.ZP)("/api/users/view_notice.json",{method:"post",body:a})})}},10656:function(i,d,e){"use strict";e.d(d,{AD:function(){return f},Ig:function(){return g},Ko:function(){return h},QJ:function(){return E},Ub:function(){return P},V8:function(){return p},dl:function(){return A},w0:function(){return b}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(I,C,O)=>C in I?r(I,C,{enumerable:!0,configurable:!0,writable:!0,value:O}):I[C]=O,c=(I,C)=>{for(var O in C||(C={}))o.call(C,O)&&u(I,O,C[O]);if(n)for(var O of n(C))s.call(C,O)&&u(I,O,C[O]);return I},a=(I,C,O)=>new Promise((T,D)=>{var k=R=>{try{L(O.next(R))}catch(z){D(z)}},$=R=>{try{L(O.throw(R))}catch(z){D(z)}},L=R=>R.done?T(R.value):Promise.resolve(R.value).then(k,$);L((O=O.apply(I,C)).next())});function f(I){return a(this,null,function*(){return(0,t.ZP)("/api/users/tidings.json",{method:"get",params:c({},I)})})}function g(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/unread_message_info.json`,{method:"get",params:c({},I)})})}function p(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages.json`,{method:"get",params:c({},I)})})}function b(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages.json`,{method:"post",body:c({},I)})})}function h(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.id}/recent_contacts.json`,{method:"get",params:c({},I)})})}function E(I){return a(this,null,function*(){return(0,t.ZP)("/api/users_for_private_messages.json",{method:"get",params:c({},I)})})}function P(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_message_details.json`,{method:"get",params:c({},I)})})}function A(I){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages/${I.id}.json`,{method:"delete"})})}},34640:function(i,d,e){"use strict";e.d(d,{A2:function(){return E},CI:function(){return p},Ep:function(){return h},Ex:function(){return T},R7:function(){return f},WW:function(){return D},_V:function(){return O},ms:function(){return I},s0:function(){return P},vf:function(){return b},xn:function(){return g},yy:function(){return C}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(k,$,L)=>$ in k?r(k,$,{enumerable:!0,configurable:!0,writable:!0,value:L}):k[$]=L,c=(k,$)=>{for(var L in $||($={}))o.call($,L)&&u(k,L,$[L]);if(n)for(var L of n($))s.call($,L)&&u(k,L,$[L]);return k},a=(k,$,L)=>new Promise((R,z)=>{var N=Y=>{try{j(L.next(Y))}catch(G){z(G)}},V=Y=>{try{j(L.throw(Y))}catch(G){z(G)}},j=Y=>Y.done?R(Y.value):Promise.resolve(Y.value).then(N,V);j((L=L.apply(k,$)).next())});function f(k){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${k.coursesId}/online_learning.json`,{method:"get"})})}function g(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}.json`,{method:"put",body:k})})}function p(k){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${k.coursesId}/course_stages.json`,{method:"post",body:k})})}function b(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/add_shixun_to_stage.json`,{method:"post",body:k})})}function h(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/select_shixun_to_stage.json`,{method:"post",body:k})})}function E(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/add_video_to_stage.json`,{method:"post",body:k})})}function P(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/add_attachment_to_stage.json`,{method:"post",body:k})})}function A(k){return a(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:k})})}function I(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/up_position.json`,{method:"post"})})}function C(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}/down_position.json`,{method:"post"})})}function O(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.id}.json`,{method:"delete"})})}function T(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.stage_id}/items/move_position.json`,{method:"post",body:c({},k)})})}function D(k){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${k.stage_id}/items/${k.id}`,{method:"delete"})})}},80401:function(i,d,e){"use strict";e.d(d,{DF:function(){return E},Di:function(){return Q},Dm:function(){return V},Dq:function(){return oe},Gd:function(){return h},Hb:function(){return de},Hm:function(){return R},ID:function(){return a},JP:function(){return ee},NC:function(){return $},Pl:function(){return P},Qc:function(){return o},Qp:function(){return j},RK:function(){return g},YP:function(){return L},a2:function(){return u},ar:function(){return b},cV:function(){return f},d1:function(){return p},dp:function(){return n},fn:function(){return A},iT:function(){return T},jK:function(){return N},kF:function(){return _e},kp:function(){return O},lc:function(){return C},oF:function(){return K},q$:function(){return c},qN:function(){return z},tS:function(){return I},ts:function(){return D},un:function(){return G},w0:function(){return J},wX:function(){return Y},yE:function(){return s}});var t=e(99064),r=(he,He,Ue)=>new Promise((tt,at)=>{var yt=Fe=>{try{ye(Ue.next(Fe))}catch(Qe){at(Qe)}},Et=Fe=>{try{ye(Ue.throw(Fe))}catch(Qe){at(Qe)}},ye=Fe=>Fe.done?tt(Fe.value):Promise.resolve(Fe.value).then(yt,Et);ye((Ue=Ue.apply(he,He)).next())});const n=he=>(0,t.ZP)(`/api/examination_banks/${he==null?void 0:he.id}/code_check.json`,{method:"get",params:he}),o=he=>(0,t.ZP)(`/api/examination_banks/${he.id}/reset_pwd.json`,{method:"post",body:he}),s=he=>(0,t.ZP)(`/api/examination_banks/${he.id}/encrypt_or_decrypt.json`,{method:"post",body:he}),u=he=>(0,t.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:he}),c=he=>(0,t.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:he}),a=he=>(0,t.ZP)(`/api/examination_banks/${he.id}/copy.json`,{method:"post",body:he}),f=he=>(0,t.ZP)(`/api/examination_banks/${he.id}/get_question_type_alias.json`,{method:"get",params:he});function g(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/edit_question_type_alias.json`,{method:"POST",body:he})})}function p(he){return r(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:he})})}function b(he){return r(this,null,function*(){return(0,t.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:he})})}function h(he){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"get",params:he})})}function E(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/set_public.json`,{method:"post"})})}function P(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/set_private.json`,{method:"post"})})}function A(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}.json`,{method:"delete"})})}function I(he){return r(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:he})})}const C=he=>(0,t.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:he});function O(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/send_to_course.json`,{method:"post",body:he})})}function T(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}.json`,{method:"get",params:he})})}function D(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/${he.itemId}/set_score`,{method:"post",body:he})})}function k(he){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he.id}/examination_banks_item_banks/${he.itemId}/set_shixun_score.json`,{method:"post",body:he})})}function $(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/${he.itemId}.json`,{method:"delete"})})}function L(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:he})})}function R(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:he})})}function z(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/${he.itemId}/adjust_position.json`,{method:"post",body:he})})}function N(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}.json`,{method:"put",body:he})})}function V(he){return r(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:he})})}function j(he){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:he})})}function Y(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he==null?void 0:he.id}/set_public.json`,{method:"post",body:he})})}function G(he){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:he})})}function J(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/update_exam.json`,{method:"put",body:he})})}function Q(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/edit_exam.json`,{method:"get"})})}function Z(he,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he}/examination_banks_item_banks.json`,{method:"post",body:He})})}function K(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:he})})}function M(he,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he}/sort_question_type.json`,{method:"post",body:He})})}function B(he){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he.exam_id}/examination_banks_item_banks/${he.question_id}.json`,{method:"delete"})})}function H(he,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he}/batch_set_score.json`,{method:"post",body:He})})}function ee(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he}/simulate_exercise.json`,{method:"post"})})}function oe(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he}/exercise_header.json`,{method:"get"})})}function de(he,He,Ue){return r(this,null,function*(){const tt=new FormData;return tt.append("file",He),tt.append("sub_discipline_id",Ue),(0,t.ZP)(`/api/examination_banks/${he}/import_item_banks.json`,{method:"post",body:tt},!0)})}function _e(he){return r(this,null,function*(){return(0,t.ZP)("/api/users/change_exam_score.json",{method:"put",body:he})})}},86248:function(i,d,e){"use strict";e.d(d,{$D:function(){return at},A2:function(){return ct},A7:function(){return Or},AQ:function(){return oe},Ax:function(){return sr},Bn:function(){return Ze},Bz:function(){return h},CB:function(){return I},CI:function(){return vr},DQ:function(){return tr},DU:function(){return ut},EG:function(){return k},EP:function(){return tt},Ep:function(){return le},Er:function(){return $e},Eu:function(){return P},Ex:function(){return hr},FD:function(){return Gt},F_:function(){return bt},Fg:function(){return V},GY:function(){return Qr},Go:function(){return qe},Gz:function(){return j},Hl:function(){return Y},Ho:function(){return p},JS:function(){return et},Jd:function(){return C},Ju:function(){return E},KM:function(){return ye},M2:function(){return xt},Mt:function(){return Rt},Mu:function(){return fr},NV:function(){return Ne},O9:function(){return g},PQ:function(){return A},Q:function(){return Ce},Sp:function(){return ee},VO:function(){return Er},WD:function(){return Wr},WO:function(){return St},WW:function(){return _r},YP:function(){return L},_C:function(){return ht},_V:function(){return Dt},bw:function(){return Ue},bz:function(){return ur},c2:function(){return O},c3:function(){return Be},cn:function(){return Q},dX:function(){return z},eJ:function(){return Qe},ef:function(){return ke},fh:function(){return Z},fj:function(){return At},hS:function(){return G},jT:function(){return yr},j_:function(){return R},ke:function(){return Nr},lk:function(){return H},mE:function(){return b},mQ:function(){return B},ms:function(){return or},mx:function(){return Re},nq:function(){return N},ol:function(){return on},p:function(){return _e},p4:function(){return Me},pU:function(){return M},pf:function(){return D},rS:function(){return Xe},rs:function(){return Fe},s0:function(){return Je},se:function(){return T},sm:function(){return Ve},tS:function(){return J},tu:function(){return K},ue:function(){return de},vf:function(){return Zt},w4:function(){return he},wv:function(){return $},xG:function(){return it},xn:function(){return ot},yN:function(){return He},yy:function(){return Te},zc:function(){return f}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(te,ze,kt)=>ze in te?r(te,ze,{enumerable:!0,configurable:!0,writable:!0,value:kt}):te[ze]=kt,c=(te,ze)=>{for(var kt in ze||(ze={}))o.call(ze,kt)&&u(te,kt,ze[kt]);if(n)for(var kt of n(ze))s.call(ze,kt)&&u(te,kt,ze[kt]);return te},a=(te,ze,kt)=>new Promise((Ft,Ee)=>{var rr=qt=>{try{ln(kt.next(qt))}catch(rn){Ee(rn)}},Tr=qt=>{try{ln(kt.throw(qt))}catch(rn){Ee(rn)}},ln=qt=>qt.done?Ft(qt.value):Promise.resolve(qt.value).then(rr,Tr);ln((kt=kt.apply(te,ze)).next())});const f=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/send_to_course.json",{method:"POST",body:te})}),g=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/check_knowledge_repeat.json",{method:"POST",body:te})}),p=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/courses.json",{method:"get",params:te})}),b=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/toggle.json",{method:"get",params:te})}),h=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/v2/knowledge_graphs/${te==null?void 0:te.graphable_type}/${te==null?void 0:te.graphable_id}`,{method:"get",params:te})}),E=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${te==null?void 0:te.id}/detail.json`,{method:"get",params:te})}),P=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals/home.json",{method:"get",params:te})}),A=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_tags/${te==null?void 0:te.id}.json`,{method:"delete",body:te})}),I=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_tags.json",{method:"POST",body:te})}),C=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_tags.json",{method:"get",params:te})}),O=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/tree.json",{method:"get",params:te})}),T=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${te==null?void 0:te.id}/edit`,{method:"get",params:te})}),D=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${te==null?void 0:te.id}.json`,{method:"delete",body:te})}),k=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${te==null?void 0:te.id}.json`,{method:"PUT",body:te})}),$=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals.json",{method:"POST",body:te})}),L=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals.json",{method:"get",params:te})}),R=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/update_knowledge_statistic.json",{method:"POST",body:te})}),z=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/subject_knowledge_statistic.json",{method:"Get",params:te})}),N=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:te})}),V=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:te})}),j=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:te})}),Y=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:te})}),G=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:te})});function J(te){return a(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"Get",params:c({},te)})})}function Q(te){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:c({},te)})})}function Z(te){return a(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:c({},te)})})}function K(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}.json`,{method:"PUT",body:te})})}function M(te){return a(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"post",body:te})})}function B(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/edit.json`,{method:"get"})})}function H(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}.json`,{method:"get",params:c({identifier:te.id},te)})})}function ee(te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${te.id}.json`,{method:"get",params:c({identifier:te.id},te)})})}function oe(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/right_banner.json`,{method:"get",params:te})})}function de(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/spoc_courses.json`,{method:"get",params:te})})}const _e=te=>a(void 0,null,function*(){return(0,t.ZP)("/api/v2/stages.json",{method:"Get",params:te})}),he=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/v2/stage_shixuns/${te.id}/children.json`,{method:"Get",params:te})});function He(te){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:te})})}function Ue(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/update_team_title.json`,{method:"post",body:te})})}function tt(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/delete_member.json`,{method:"Delete",body:te})})}function at(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/spoc_courses/${te==null?void 0:te.courseid}.json`,{method:"Delete"})})}function yt(te){return a(this,null,function*(){return Fetch(`/api/paths/${te.id}/up_member_position.json`,{method:"post",body:te})})}function Et(te){return a(this,null,function*(){return Fetch(`/api/paths/${te.id}/down_member_position.json`,{method:"post",body:te})})}function ye(te){return a(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"post",body:te})})}function Fe(te){return a(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:te})})}function Qe(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}.json`,{method:"Delete",body:te})})}function qe(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/publish.json`,{method:"post",body:te})})}function At(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/cancel_publish.json`,{method:"post",body:te})})}function St(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/apply_public.json`,{method:"post",body:te})})}function $e(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/cancel_public.json`,{method:"post",body:te})})}function we(te){return a(this,null,function*(){return Fetch(`/api/paths/${te.id}/choose_course.json`,{method:"get",params:te})})}function Ce(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/send_to_course.json`,{method:"post",body:te})})}function Me(te){return a(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${te.id}/send_to_course.json`,{method:"post",body:te})})}function Re(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/add_subject_members.json`,{method:"post",body:te})})}function Ve(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/spoc_courses.json`,{method:"post",body:te})})}function Be(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/appointment.json`,{method:"post",body:te})})}function et(te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${te.id}/join_excellent_course.json`,{method:"post",body:te})})}function Xe(te){return a(this,null,function*(){return(0,t.ZP)("/api/watch_attachment_histories.json",{method:"post",body:te})})}function jt(te){return a(this,null,function*(){return Fetch(`/api/paths/${te.id}/statistics_info.json`,{method:"get",params:te})})}function Ht(te){return a(this,null,function*(){return Fetch(`/api/paths/${te.id}/shixun_analyze.json`,{method:"get",params:te})})}function ge(te){return a(this,null,function*(){return Fetch(`/api/paths/${te.id}/learning_analyze.json`,{method:"get",params:te})})}function ke(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/learning_statistics.json`,{method:"get",params:te})})}function bt(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/shixun_statistics.json`,{method:"get",params:te})})}function ut(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/study_analyze/${te.type}.json`,{method:"get",params:te})})}function dt(te){return a(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:te})})}function ot(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}.json`,{method:"put",body:te})})}function Zt(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}/add_shixun_to_stage.json`,{method:"post",body:te})})}const it=te=>a(void 0,null,function*(){return(0,t.ZP)(`/api/stages/${te==null?void 0:te.stage_id}/select_challenge_to_stage.json`,{method:"post",body:te})});function le(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}/select_shixun_to_stage.json`,{method:"post",body:te})})}function ct(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}/add_video_to_stage.json`,{method:"post",body:te})})}function Je(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}/add_attachment_to_stage.json`,{method:"post",body:te})})}function xt(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${te.id}.json`,{method:"put",body:te})})}function Rt(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}/add_blank_to_stage.json`,{method:"post",body:te})})}function vr(te){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"post",body:te})})}function rt(te){return a(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:te})})}function or(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}/up_position.json`,{method:"get"})})}function Te(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}/down_position.json`,{method:"get"})})}function Dt(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.id}.json`,{method:"delete"})})}function sr(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.pathId}/discusses.json`,{method:"get",params:c({},te)})})}function fr(te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${te.coursesId}/excellent_discusses.json`,{method:"get",params:c({},te)})})}function Rr(te){return a(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:c({},te)})})}function hr(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.stage_id}/items/move_position`,{method:"post",body:c({},te)})})}function _r(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te.stage_id}/items/${te.id}`,{method:"delete"})})}function Nr(te){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${te.id}/excellent_discuss`,{method:"post",body:c({},te)})})}function Wr(te){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${te.id}/post_discuss`,{method:"post",body:c({},te)})})}function Qr(te){return a(this,null,function*(){return(0,t.ZP)("/api/schools/for_option.json",{method:"get",params:te})})}function on(te){return a(this,null,function*(){return(0,t.ZP)("/api/schools/province_data.json",{method:"get",params:te})})}function ur(te){return a(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:te})})}function tr(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te==null?void 0:te.id}/add_homework_to_stage.json`,{method:"post",body:te})})}function Gt(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${te==null?void 0:te.id}/edit.json`,{method:"get",params:te})})}function Er(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${te==null?void 0:te.id}.json`,{method:"put",body:te})})}function yr(te){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${te==null?void 0:te.user_id}/subjects/subject_homework.json`,{method:"get",params:te})})}function Or(te){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${te==null?void 0:te.user_id}/courses/course_homework.json`,{method:"get",params:te})})}function ht(te){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${te==null?void 0:te.id}/batch_add_homework_to_stage.json`,{method:"post",body:te})})}function Ne(te){return a(this,null,function*(){return(0,t.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:te})})}function Ze(te){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${te==null?void 0:te.user_login}/subjects/cancel.json`,{method:"get",params:te})})}},31417:function(i,d,e){"use strict";e.d(d,{Fd:function(){return J},Hi:function(){return b},IU:function(){return $},KE:function(){return E},Kc:function(){return Z},MK:function(){return L},Q9:function(){return O},Qg:function(){return k},Qn:function(){return A},UK:function(){return p},W:function(){return M},Ye:function(){return D},_c:function(){return f},hO:function(){return V},iV:function(){return K},jy:function(){return R},kp:function(){return N},lf:function(){return C},m7:function(){return h},n$:function(){return I},rJ:function(){return T},s3:function(){return g},ux:function(){return P},vf:function(){return G},wh:function(){return z},wo:function(){return Q},x$:function(){return Y}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(B,H,ee)=>H in B?r(B,H,{enumerable:!0,configurable:!0,writable:!0,value:ee}):B[H]=ee,c=(B,H)=>{for(var ee in H||(H={}))o.call(H,ee)&&u(B,ee,H[ee]);if(n)for(var ee of n(H))s.call(H,ee)&&u(B,ee,H[ee]);return B},a=(B,H,ee)=>new Promise((oe,de)=>{var _e=Ue=>{try{He(ee.next(Ue))}catch(tt){de(tt)}},he=Ue=>{try{He(ee.throw(Ue))}catch(tt){de(tt)}},He=Ue=>Ue.done?oe(Ue.value):Promise.resolve(Ue.value).then(_e,he);He((ee=ee.apply(B,H)).next())});const f=B=>a(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B==null?void 0:B.id}/commit_word_cloud.json`,{method:"Get",params:B})});function g(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/poll_lists.json`,{method:"get",params:c({},B)})})}function p(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/common_header.json`,{method:"get"})})}function b(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/poll_setting.json`,{method:"get"})})}function h(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/commit_setting.json`,{method:"post",body:c({},B)})})}function E(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls/end_poll_modal.json`,{method:"get",params:c({},B)})})}function P(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/publish_groups.json`,{method:"get",params:c({},B)})})}function A(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/commit_result.json`,{method:"get",params:c({},B)})})}function I(B){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:c({},B)})})}function C(B){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:c({},B)})})}function O(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls/publish_modal.json`,{method:"get",params:c({},B)})})}function T(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls.json`,{method:"POST",body:c({},B)})})}function D(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/edit.json`,{method:"get"})})}function k(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.pollsId}.json`,{method:"put",body:c({},B)})})}function $(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}.json`,{method:"put",body:c({},B)})})}function L(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.pollsId}/poll_questions.json`,{method:"post",body:c({},B)})})}function R(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}.json`,{method:"delete",body:c({},B)})})}function z(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}/up_down.json`,{method:"post",body:c({},B)})})}function N(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${B.topicId}.json`,{method:"get"})})}function V(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${B.topicId}.json`,{method:"put",body:c({},B)})})}function j(B){return a(this,null,function*(){return Fetch(`/api/exercise_banks/${B.topicId}.json`,{method:"put",body:c({},B)})})}function Y(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.pollsId}.json`,{method:"delete",body:c({},B)})})}function G(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}/up_down.json`,{method:"post",body:c({},B)})})}function J(B){return a(this,null,function*(){return(0,t.ZP)("/api/poll_bank_questions.json",{method:"post",body:c({},B)})})}function Q(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_bank_questions/${B.pollsId}.json`,{method:"put",body:c({},B)})})}function Z(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.id}.json`,{method:"put",body:c({},B)})})}function K(B){return a(this,null,function*(){return(0,t.ZP)("/api/exercise_bank_questions.json",{method:"post",body:c({},B)})})}function M(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.exerciseId}/up_down.json`,{method:"post",body:c({},B)})})}},16149:function(i,d,e){"use strict";e.d(d,{$c:function(){return et},A1:function(){return Ve},Bd:function(){return O},Bo:function(){return j},Cc:function(){return J},Cn:function(){return K},DF:function(){return I},Dm:function(){return ye},FG:function(){return V},GW:function(){return Fe},HF:function(){return L},Hm:function(){return B},IJ:function(){return Re},L5:function(){return Et},LS:function(){return qe},MZ:function(){return Ce},Mr:function(){return N},NZ:function(){return He},Of:function(){return P},Pl:function(){return A},Qj:function(){return h},Qp:function(){return St},RT:function(){return ge},Rp:function(){return At},U6:function(){return R},Vl:function(){return Q},Wk:function(){return z},YP:function(){return M},Ys:function(){return D},al:function(){return T},bF:function(){return Xe},d1:function(){return b},dt:function(){return jt},et:function(){return ee},ex:function(){return E},fY:function(){return oe},fn:function(){return C},hI:function(){return Ue},hg:function(){return we},iT:function(){return Y},lS:function(){return he},nD:function(){return Qe},qN:function(){return H},rV:function(){return k},s:function(){return _e},sD:function(){return Me},sS:function(){return yt},ts:function(){return G},vi:function(){return Be},wX:function(){return $e},x5:function(){return $},zh:function(){return de}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(ke,bt,ut)=>bt in ke?r(ke,bt,{enumerable:!0,configurable:!0,writable:!0,value:ut}):ke[bt]=ut,f=(ke,bt)=>{for(var ut in bt||(bt={}))u.call(bt,ut)&&a(ke,ut,bt[ut]);if(s)for(var ut of s(bt))c.call(bt,ut)&&a(ke,ut,bt[ut]);return ke},g=(ke,bt)=>n(ke,o(bt)),p=(ke,bt,ut)=>new Promise((dt,ot)=>{var Zt=ct=>{try{le(ut.next(ct))}catch(Je){ot(Je)}},it=ct=>{try{le(ut.throw(ct))}catch(Je){ot(Je)}},le=ct=>ct.done?dt(ct.value):Promise.resolve(ct.value).then(Zt,it);le((ut=ut.apply(ke,bt)).next())});function b(ke){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:g(f({},ke),{clazz:"ItemBanksGroup"})})})}function h(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:ke})})}function E(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:ke})})}function P(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/list.json",{method:"post",body:ke})})}function A(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}/set_private.json`,{method:"post"})})}function I(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}/set_public.json`,{method:"post"})})}function C(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}.json`,{method:"delete"})})}function O(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${ke.id}/start.json`,{method:"get"})})}function T(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ke.id}.json`,{method:"delete",body:f({},ke)})})}function D(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"post",body:ke})})}function k(ke){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:ke})})}function $(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:ke.type}})})}function L(ke){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:ke})})}function R(ke){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"post",body:ke})})}function z(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}.json`,{method:"put",body:ke})})}function N(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"post",body:ke})})}function V(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}/edit.json`,{method:"get"})})}function j(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${ke.id}/edit.json`,{method:"get"})})}function Y(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"get",params:ke})})}function G(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ke.id}/set_score.json`,{method:"post",body:ke})})}function J(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ke.id}/set_challenge_score.json`,{method:"post",body:ke})})}function Q(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ke.id}/combination_set_score.json`,{method:"post",body:ke})})}function Z(ke){return p(this,null,function*(){return Fetch(`/api/examination_banks//${ke.exerid}/examination_banks_item_banks/${ke.id}/combination_set_score.json`,{method:"post",body:ke})})}function K(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ke.id}.json`,{method:"delete"})})}function M(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:ke})})}function B(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:ke})})}function H(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ke.id}/adjust_position.json`,{method:"post",body:ke})})}function ee(ke){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"post",body:ke})})}function oe(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.id}/revoke_item.json`,{method:"delete",body:ke})})}function de(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.exam_id}/examination_banks_item_banks.json`,{method:"post",body:ke})})}function _e(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}/join_to_collection.json`,{method:"post",params:ke})})}function he(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}/cancel_collection.json`,{method:"post",params:ke})})}function He(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"get",params:ke})})}function Ue(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:ke})})}function tt(ke){return p(this,null,function*(){return Fetch(`/api/item_banks/${ke.id}/join_to_group.json`,{method:"post",body:ke})})}function at(ke){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${ke.id}.json`,{method:"put",body:ke})})}function yt(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"post",body:ke})})}function Et(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke.id}/feedback.json`,{method:"post",body:ke})})}function ye(ke){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:ke})})}function Fe(ke){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"post",body:ke})})}function Qe(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:ke})})}function qe(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:ke})})}function At(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:ke})})}function St(ke){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:ke})})}function $e(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ke==null?void 0:ke.id}/set_public.json`,{method:"post",body:ke})})}function we(ke){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:ke})})}function Ce(ke){return(0,t.ZP)(`/api/problems/${ke.identifier}/publish.json`,{method:"post",body:ke})}function Me(ke){return(0,t.ZP)(`/api/problems/${ke.identifier}/cancel_publish.json`,{method:"post",body:ke})}function Re(ke){return(0,t.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...ke.id]}})}function Ve(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${ke.id}/up_position.json`,{method:"get",params:ke})})}function Be(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${ke.id}/down_position.json`,{method:"get",params:ke})})}function et(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${ke.id}/edit_hack.json`,{method:"get",params:ke})})}function Xe(ke){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:ke})})}function jt(ke){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish.json",{method:"post",body:ke})})}function Ht(ke){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:ke})})}function ge(){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},52403:function(i,d,e){"use strict";e.d(d,{E1:function(){return s},Go:function(){return n},H5:function(){return o}});var t=e(99064),r=(u,c,a)=>new Promise((f,g)=>{var p=E=>{try{h(a.next(E))}catch(P){g(P)}},b=E=>{try{h(a.throw(E))}catch(P){g(P)}},h=E=>E.done?f(E.value):Promise.resolve(E.value).then(p,b);h((a=a.apply(u,c)).next())});function n(u){return r(this,null,function*(){return(0,t.ZP)("/api/restfuls.json",{method:"get",params:u})})}function o(u){return r(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${u.id}.json`,{method:"get",params:u})})}function s(u){return r(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${u.id}.json`,{method:"delete",params:u})})}},36708:function(i,d,e){"use strict";e.d(d,{Am:function(){return h},Ar:function(){return ye},BD:function(){return Be},Be:function(){return $e},Dx:function(){return Q},Fr:function(){return Je},G$:function(){return A},GS:function(){return R},Gw:function(){return P},H:function(){return yt},H1:function(){return Et},Hj:function(){return Xe},JA:function(){return Ht},JG:function(){return J},KE:function(){return M},Lz:function(){return Re},Mf:function(){return at},NA:function(){return Ue},PC:function(){return he},PP:function(){return He},PW:function(){return qe},Q3:function(){return Z},QC:function(){return ge},Qt:function(){return Ve},Qz:function(){return O},R$:function(){return le},RP:function(){return V},Ti:function(){return or},Uc:function(){return dt},Ul:function(){return Y},VB:function(){return vr},Vs:function(){return ot},Wr:function(){return I},Xn:function(){return j},YQ:function(){return tt},Yn:function(){return E},Z8:function(){return $},ak:function(){return Qe},cN:function(){return D},co:function(){return we},cz:function(){return de},fK:function(){return L},gG:function(){return _e},gZ:function(){return ut},h$:function(){return k},ku:function(){return Me},lf:function(){return H},m7:function(){return G},mQ:function(){return T},mz:function(){return St},n$:function(){return B},oK:function(){return b},oN:function(){return rt},pH:function(){return et},pb:function(){return Rt},qP:function(){return ke},ql:function(){return bt},rN:function(){return Ce},sw:function(){return ee},t1:function(){return oe},to:function(){return N},ub:function(){return jt},ux:function(){return K},wS:function(){return xt},wT:function(){return C},yT:function(){return Fe},yy:function(){return Zt},z2:function(){return At}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(Te,Dt,sr)=>Dt in Te?r(Te,Dt,{enumerable:!0,configurable:!0,writable:!0,value:sr}):Te[Dt]=sr,f=(Te,Dt)=>{for(var sr in Dt||(Dt={}))u.call(Dt,sr)&&a(Te,sr,Dt[sr]);if(s)for(var sr of s(Dt))c.call(Dt,sr)&&a(Te,sr,Dt[sr]);return Te},g=(Te,Dt)=>n(Te,o(Dt)),p=(Te,Dt,sr)=>new Promise((fr,Rr)=>{var hr=Wr=>{try{Nr(sr.next(Wr))}catch(Qr){Rr(Qr)}},_r=Wr=>{try{Nr(sr.throw(Wr))}catch(Qr){Rr(Qr)}},Nr=Wr=>Wr.done?fr(Wr.value):Promise.resolve(Wr.value).then(hr,_r);Nr((sr=sr.apply(Te,Dt)).next())});const b=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.id}/update_journals.json`,{method:"post",body:Te})}),h=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Te==null?void 0:Te.homeworkId}/change_score.json`,{method:"post",body:Te})}),E=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Te==null?void 0:Te.homeworkId}/history_comment`,{method:"Get",params:Te})}),P=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Te==null?void 0:Te.homeworkId}/feedback_know`,{method:"Get",params:Te})}),A=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te==null?void 0:Te.userId}/student_work_feedbacks.json`,{method:"POST",body:Te})}),I=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Te==null?void 0:Te.userId}/feedback_list.json`,{method:"Get",params:Te})}),C=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Te==null?void 0:Te.userId}/histories.json`,{method:"Get",params:Te})}),O=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te==null?void 0:Te.homeworkId}/feedback_list`,{method:"Get",params:Te})}),T=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te==null?void 0:Te.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Te})}),D=Te=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te==null?void 0:Te.homeworkId}/appeal_list`,{method:"Get",params:Te})});function k(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/works_list.json`,{method:"post",body:f({},Te)})})}function $(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Te.categoryId}/student_works.json`,{method:"get",params:f({},Te)})})}function L(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Te.categoryId}/header_info.json`,{method:"get",params:f({},Te)})})}function R(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te}/query_game_url.json`,{method:"get"})})}function z(Te){return p(this,null,function*(){return Fetch(`/api/student_works/${Te}/get_newest_shixun_work_comments.json`,{method:"get"})})}function N(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}.json`,{method:"get"})})}function V(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/code_review_results.json`,{method:"get",params:f({},Te)})})}function j(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/code_review_detail.json`,{method:"get",params:f({},Te)})})}function Y(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/settings.json`,{method:"get",params:f({},Te)})})}function G(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/update_settings.json`,{method:"post",body:f({},Te)})})}function J(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/group_list.json`,{method:"get",params:f({},Te)})})}function Q(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/works_list.xlsx`,{method:"get",params:f({},Te)})})}function Z(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.coursesId}/reference_answer.json`,{method:"get",params:f({},Te)})})}function K(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/publish_groups.json`,{method:"get",params:f({},Te)})})}function M(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/end_groups.json`,{method:"get",params:f({},Te)})})}function B(Te){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:f({},Te)})})}function H(Te){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"post",body:f({},Te)})})}function ee(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}/shixun_work_report.json`,{method:"get",params:Te})})}function oe(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Te})})}function de(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:g(f({},Te),{id:Te.categoryId})})})}function _e(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.categoryId}/adjust_review_score.json`,{method:"post",body:f({},Te)})})}function he(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/show_comment.json`,{method:"get",params:f({},Te)})})}function He(Te){return p(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:f({},Te)})})}function Ue(Te){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:f({},Te)})})}function tt(Te){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:f({},Te)})})}function at(Te){return p(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:f({},Te)})})}function yt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/update_explanation.json`,{method:"post",body:f({},Te)})})}function Et(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.coursesId}/homework_commons.json`,{method:"post",body:f({},Te)})})}function ye(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}.json`,{method:"put",body:f({},Te)})})}function Fe(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Te.id}.json`,{method:"put",body:f({},Te)})})}function Qe(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.commonHomeworkId}/student_works/new.json`,{method:"get",params:f({},Te)})})}function qe(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}/edit.json`,{method:"get",params:f({},Te)})})}function At(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}.json`,{method:"put",body:f({},Te)})})}function St(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}/revise_attachment.json`,{method:"post",body:f({},Te)})})}function $e(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.commonHomeworkId}/student_works.json`,{method:"post",body:f({},Te)})})}function we(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.homeworkId}/student_works/relate_project.json`,{method:"post",body:f({},Te)})})}function Ce(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Me(Te){return p(this,null,function*(){return(0,t.ZP)("/api/users/projects/search.json",{method:"get",params:f({},Te)})})}function Re(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:f({},Te)})})}function Ve(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.coursesId}/homework_commons/new.json`,{method:"get",params:f({},Te)})})}function Be(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/edit.json`,{method:"get",params:f({},Te)})})}function et(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Te.id}.json`,{method:"get",params:f({},Te)})})}function Xe(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.userId}.json`,{method:"get",params:f({},Te)})})}function jt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.userId}/supply_attachments.json`,{method:"get",params:f({},Te)})})}function Ht(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.userId}/comment_list.json`,{method:"get",params:f({},Te)})})}function ge(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.userId}/destroy_score.json`,{method:"delete",body:f({},Te)})})}function ke(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.userId}/add_score_reply.json`,{method:"post",body:f({},Te)})})}function bt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/all_student_works.json`,{method:"get",params:f({},Te)})})}function ut(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}/destroy_work_comment.json`,{method:"delete",body:f({},Te)})})}function dt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/score_status.json`,{method:"get",params:f({},Te)})})}function ot(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Te.categoryId}/update_score.json`,{method:"get",params:f({},Te)})})}function Zt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.userId}/add_score.json`,{method:"post",body:f({},Te)})})}function it(Te){return p(this,null,function*(){return Fetch(`/api/student_works/${Te.userId}/cancel_appeal.json`,{method:"post",body:f({},Te)})})}function le(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.userId}/appeal_anonymous_score.json`,{method:"post",body:f({},Te)})})}function ct(Te){return p(this,null,function*(){return Fetch(`/api/student_works/${Te.userId}/deal_appeal_score.json`,{method:"post",body:f({},Te)})})}function Je(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Te.id}/reset_my_game.json`,{method:"get",params:f({},Te)})})}function xt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}/commit_des.json`,{method:"get",params:f({},Te)})})}function Rt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Te.homeworkId}/update_des.json`,{method:"post",body:f({},Te)})})}function vr(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:f({},Te)})})}function rt(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:f({},Te)})})}function or(Te){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Te.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:f({},Te)})})}},49692:function(i,d,e){"use strict";e.d(d,{$Q:function(){return qt},AE:function(){return hr},AQ:function(){return M},Ag:function(){return ht},Ar:function(){return Fe},At:function(){return qn},BK:function(){return ee},Bj:function(){return ke},Cf:function(){return A},DC:function(){return Ht},Dz:function(){return ba},E4:function(){return b},EH:function(){return At},Ee:function(){return ta},Er:function(){return Et},Ez:function(){return C},FB:function(){return H},Fg:function(){return G},Ft:function(){return z},GI:function(){return we},Gr:function(){return dt},Gu:function(){return $e},Gz:function(){return Y},HS:function(){return Ut},Hl:function(){return V},IF:function(){return $},IT:function(){return yr},I_:function(){return Z},Ij:function(){return L},Ir:function(){return oe},Je:function(){return kt},K:function(){return la},K0:function(){return Bn},KM:function(){return Ue},K_:function(){return nn},LK:function(){return Ft},LP:function(){return Ce},Ne:function(){return yt},OL:function(){return I},OQ:function(){return h},OV:function(){return Re},OW:function(){return qe},Op:function(){return ln},P2:function(){return Be},P4:function(){return R},Po:function(){return K},Ps:function(){return ot},Q:function(){return at},Q1:function(){return Ra},QA:function(){return be},Ql:function(){return it},Rs:function(){return Te},SG:function(){return vt},Tn:function(){return Nr},Tr:function(){return De},U0:function(){return xt},U9:function(){return Zt},UQ:function(){return tr},Ui:function(){return rn},Vx:function(){return Ae},WO:function(){return ye},WT:function(){return Pe},Wi:function(){return bt},Wl:function(){return Ne},X$:function(){return et},Yn:function(){return Qr},Z2:function(){return ge},ZO:function(){return ut},Zt:function(){return Oa},_7:function(){return tt},_9:function(){return on},aH:function(){return le},al:function(){return rt},b8:function(){return Qe},bV:function(){return k},bk:function(){return P},bq:function(){return Wr},dK:function(){return de},e:function(){return J},eX:function(){return St},eb:function(){return Dt},fH:function(){return O},fL:function(){return ze},h4:function(){return Ya},hS:function(){return j},h_:function(){return jt},he:function(){return Q},hn:function(){return he},hy:function(){return T},ii:function(){return or},im:function(){return ur},j8:function(){return Me},jq:function(){return Tr},kF:function(){return rr},km:function(){return vr},l3:function(){return Ve},m7:function(){return Je},mI:function(){return Ie},n5:function(){return B},np:function(){return D},nu:function(){return Ee},p0:function(){return Er},q0:function(){return Rr},q9:function(){return Rn},qA:function(){return Gn},rO:function(){return fr},rs:function(){return He},sr:function(){return Gt},t2:function(){return Or},tX:function(){return Sa},uo:function(){return Rt},v3:function(){return te},w:function(){return Ze},wX:function(){return N},xK:function(){return _r},xM:function(){return E},xg:function(){return sr},xk:function(){return Xe},yE:function(){return ct},yx:function(){return ft},zD:function(){return _e},zH:function(){return dn}});var t=e(99064),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(ce,ue,me)=>ue in ce?r(ce,ue,{enumerable:!0,configurable:!0,writable:!0,value:me}):ce[ue]=me,f=(ce,ue)=>{for(var me in ue||(ue={}))u.call(ue,me)&&a(ce,me,ue[me]);if(s)for(var me of s(ue))c.call(ue,me)&&a(ce,me,ue[me]);return ce},g=(ce,ue)=>n(ce,o(ue)),p=(ce,ue,me)=>new Promise((X,Ke)=>{var Pt=Mt=>{try{Bt(me.next(Mt))}catch(Vt){Ke(Vt)}},Yt=Mt=>{try{Bt(me.throw(Mt))}catch(Vt){Ke(Vt)}},Bt=Mt=>Mt.done?X(Mt.value):Promise.resolve(Mt.value).then(Pt,Yt);Bt((me=me.apply(ce,ue)).next())});const b=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/commit_result.json",{method:"get",params:ce})}),h=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/edit.json",{method:"get",params:ce})}),E=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/select_polls.json",{method:"post",body:ce})}),P=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/select_polls_list.json",{method:"get",params:ce})}),A=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/commit_poll.json",{method:"post",body:ce})}),I=ce=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${ce==null?void 0:ce.questionId}/poll_votes.json`,{method:"post",body:ce})}),C=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls.json",{method:"put",body:ce})}),O=ce=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${ce==null?void 0:ce.poll_question_id}/up_down.json`,{method:"post",body:ce})}),T=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls.json",{method:"post",body:ce})}),D=ce=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${ce==null?void 0:ce.poll_question_id}.json`,{method:"put",body:ce})}),k=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/poll_questions.json",{method:"post",body:ce})}),$=ce=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${ce==null?void 0:ce.poll_question_id}.json`,{method:"delete"})}),L=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/collect.json",{method:"post",body:ce})}),R=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/publish.json",{method:"post",body:ce})}),z=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/delete.json",{method:"post",body:ce})}),N=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/start_answer.json",{method:"Get",params:ce})}),V=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:ce})}),j=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:ce})}),Y=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:ce})}),G=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:ce})}),J=ce=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:ce})});function Q(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"Get",params:f({},ce)})})}function Z(ce){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:f({source:"shixun"},ce||{})})})}function K(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}.json`,{method:"Get",params:ce})})}function M(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/show_right.json`,{method:"Get"})})}function B(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges.json`,{method:"Get"})})}function H(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:ce.save_type}})})}function ee(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/jupyter_exec.json${ce.reset?`?reset=${ce.reset}`:""}`,{method:"Get",params:ce})})}function oe(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/shixun_exec.json${ce.reset?`?reset=${ce.reset}`:""}`,{method:"Get",params:ce})})}function de(ce){return p(this,null,function*(){return(0,t.ZP)(ce.url,{method:"Get"})})}function _e(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.shixun_identifier}/challenges/${ce.challenge_id}/index_up.json`,{method:"Get"})})}function he(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.shixun_identifier}/challenges/${ce.challenge_id}/index_down.json`,{method:"Get"})})}function He(ce){return p(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:ce.container_id,container_type:ce.container_type}})})}function Ue(ce){return p(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"Post",body:{container_id:ce.container_id,container_type:ce.container_type}})})}function tt(ce){return p(this,null,function*(){const{id:ue}=ce||{};return(0,t.ZP)(`/api/shixuns/${ue}/search_user_courses.json`,{method:"Get",params:ce})})}function at(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce==null?void 0:ce.id}/send_to_course.json`,{method:"Post",body:f({},ce)})})}function yt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/cancel_publish.json`,{method:"Get"})})}function Et(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/cancel_apply_public.json`,{method:"Get"})})}function ye(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/apply_public.json`,{method:"post",body:f({},ce)})})}function Fe(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/publish.json`,{method:"Get"})})}function Qe(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function qe(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/attachments/${ce.id}.json`,{method:"delete"})})}function At(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:ce})})}function St(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"post",body:ce})})}function $e(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:ce})})}function we(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/review_newest_record.json`,{method:"Get"})})}function Ce(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/review_shixun.json`,{method:"post",body:ce})})}function Me(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/collaborators.json`,{method:"Get",params:ce})})}function Re(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/shixun_members_added.json`,{method:"post",body:ce})})}function Ve(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.identifier}/add_members_group.json`,{method:"post",body:ce})})}function Be(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/change_manager.json`,{method:"Get",params:ce})})}function et(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/change_manager.json`,{method:"post",body:ce})})}function Xe(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/collaborators_delete.json`,{method:"delete",body:{user_id:ce.userId}})})}function jt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/ranking_list.json`,{method:"Get"})})}function Ht(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/settings.json`,{method:"Get"})})}function ge(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:ce.mirror_id}})})}function ke(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/get_script_contents.json`,{method:"Get",params:ce})})}function bt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/get_custom_script.json`,{method:"Get",params:ce})})}function ut(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/update_for_jupyter.json`,{method:"put",body:ce})})}function dt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/shixun_quotes.json`,{method:"Get"})})}function ot(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}.json`,{method:"delete"})})}function Zt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/close.json`,{method:"post",body:ce})})}function it(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/departments.json",{method:"Get",params:ce})})}function le(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/update_permission_setting.json`,{method:"post",body:ce})})}function ct(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/update_learn_setting.json`,{method:"post",body:ce})})}function Je(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/update_setting`,{method:"post",body:ce})})}function xt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/get_data_sets.json`,{method:"Get",params:ce})})}function Rt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/destroy_data_sets.json`,{method:"Delete",body:{id:ce.deleteId}})})}function vr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/new.json`,{method:"get"})})}function rt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.identifier}/challenges.json`,{method:"post",body:f({},ce)})})}function or(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengeId}/edit.json`,{method:"get",params:{tab:ce.tab}})})}function Te(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}.json`,{method:"put",body:f({},ce)})})}function Dt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/choose_questions.json`,{method:"get"})})}function sr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/move_position.json`,{method:"post",body:f({},ce)})})}function fr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}.json`,{method:"delete",body:f({},ce)})})}function Rr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/edit.json`,{method:"get",params:f({},ce)})})}function hr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengeId}/answer.json`,{method:"get",params:f({},ce)})})}function _r(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengeId}/crud_answer.json`,{method:"post",body:f({},ce)})})}function Nr(ce){return p(this,null,function*(){if(ce.type===1)return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/create_choose_question.json`,{method:"post",body:f({},ce)});if(ce.type===2)return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/create_blank_question.json`,{method:"post",body:f({},ce)});if(ce.type===3)return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/create_judge_question.json`,{method:"post",body:f({},ce)})})}function Wr(ce){return p(this,null,function*(){if(ce.type===1)return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/update_choose_question.json`,{method:"post",body:g(f({},ce),{choose_id:ce.questionId})});if(ce.type===2)return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/update_blank_question.json`,{method:"put",body:g(f({},ce),{choose_id:ce.questionId})});if(ce.type===3)return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/update_judge_question.json`,{method:"put",body:g(f({},ce),{choose_id:ce.questionId})})})}function Qr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:ce.questionId}})})}function on(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:ce.questionId}})})}function ur(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:ce.questionId}})})}function tr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/challenges/${ce.challengesId}/edit_choose_question.json`,{method:"get",params:g(f({},ce),{choose_id:ce.questionId})})})}function Gt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/delete_git_file.json`,{method:"Delete",body:ce})})}function Er(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${ce.id}/delete_git_file.json`,{method:"Delete",body:ce})})}function yr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/mv_file.json`,{method:"post",body:ce})})}function Or(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${ce.id}/mv_file.json`,{method:"post",body:ce})})}function ht(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/repository.json`,{method:"post",body:ce})})}function Ne(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${ce.id}/repository.json`,{method:"post",body:ce})})}function Ze(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/secret_repository.json`,{method:"post",body:ce})})}function te(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/add_file.json`,{method:"post",body:ce})})}function ze(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${ce.id}/add_file.json`,{method:"post",body:ce})})}function kt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/commits.json`,{method:"post",body:ce})})}function Ft(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/file_content.json`,{method:"post",body:ce})})}function Ee(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${ce.id}/file_content.json`,{method:"post",body:ce})})}function rr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/update_file.json`,{method:"post",body:ce})})}function Tr(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${ce.id}/update_file.json`,{method:"post",body:ce})})}function ln(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/upload_git_folder.json`,{method:"post",body:{path:ce.path,secret_repository:ce.secret_repository}})})}function qt(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/${ce.url}`,{method:"Get"})})}function rn(ce){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:ce})})}function nn(ce){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:ce})})}function dn(ce){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:ce})})}function Gn(ce){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:ce})})}function Rn(ce){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:ce})})}function qn(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/fork_list.json`,{method:"Get",params:ce})})}function ba(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.identifier}/change_editable.json`,{method:"put",body:f({},ce)})})}function Oa(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/set_secret_dir.json`,{method:"post",body:f({},ce)})})}function la(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/new.json",{method:"Get",params:ce})})}function Ra(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/environment_info",{method:"Get",params:ce})})}function Ya(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/init_repository.json`,{method:"post",body:f({},ce)})})}function Ae(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${ce.id}/init_repository.json`,{method:"post",body:f({},ce)})})}function Bn(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/update_secret_repository.json`,{method:"post",body:f({},ce)})})}function ta(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/exist_exercise.json`,{method:"get",params:f({},ce)})})}function Sa(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/mirror_applies/${ce.id}.json`,{method:"get",params:f({},ce)})})}function Ja(ce){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ce.id}/publish.json`,{method:"post",body:f({},ce)})})}function qa(ce){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ce.id}/open_vnc.json`,{method:"post",params:f({},ce)})})}function zn(ce){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ce.id}/open_webssh.json`,{method:"post",params:f({},ce)})})}function Ia(ce){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ce.id}/save_image.json`,{method:"post",body:f({},ce)})})}function gn(ce){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ce.id}/delete_image.json`,{method:"post",body:f({},ce)})})}function yn(ce){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ce.id}/extend_vnc.json`,{method:"post",body:f({},ce)})})}function On(ce){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ce.id}/reset_vnc_link.json`,{method:"post",body:f({},ce)})})}function ft(ce){return p(this,null,function*(){return(0,t.ZP)("/api/paths/get_task_pass.json",{method:"get",params:f({},ce)})})}function Ie(ce){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:f({},ce)})})}function be(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce.id}/update_jupyter_lab_setting.json`,{method:"post",body:f({},ce)})})}function De(ce){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:ce})})}function Pe(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/progress_homeworks/${ce}`,{method:"get",params:{is_initiative_study:1}})})}function pt(ce){return p(this,null,function*(){return Fetch(`/api/shixuns/${ce.id}/update_shixun_study_num.json`,{method:"post",body:f({},ce)})})}function vt(ce){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/preview.json",{method:"get",params:ce})})}function Ut(ce){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${ce}/recommend_config.json`,{method:"get"})})}},43859:function(i,d,e){"use strict";e.d(d,{Bg:function(){return p},FO:function(){return T},eJ:function(){return E},eZ:function(){return P},fd:function(){return L},gp:function(){return f},iU:function(){return k},l3:function(){return I},mw:function(){return C},oZ:function(){return h},rM:function(){return O},r_:function(){return $},s:function(){return g},ur:function(){return D},xV:function(){return b},yb:function(){return A}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(R,z,N)=>z in R?r(R,z,{enumerable:!0,configurable:!0,writable:!0,value:N}):R[z]=N,c=(R,z)=>{for(var N in z||(z={}))o.call(z,N)&&u(R,N,z[N]);if(n)for(var N of n(z))s.call(z,N)&&u(R,N,z[N]);return R},a=(R,z,N)=>new Promise((V,j)=>{var Y=Q=>{try{J(N.next(Q))}catch(Z){j(Z)}},G=Q=>{try{J(N.throw(Q))}catch(Z){j(Z)}},J=Q=>Q.done?V(Q.value):Promise.resolve(Q.value).then(Y,G);J((N=N.apply(R,z)).next())});function f(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/teachers.json`,{method:"get",params:c({},R)})})}function g(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/apply_teachers.json`,{method:"get",params:c({},R)})})}function p(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/graduation_group_list.json`,{method:"get",params:c({},R)})})}function b(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/all_course_groups.json`,{method:"get",params:c({},R)})})}function h(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/set_course_group.json`,{method:"post",body:c({},R)})})}function E(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/join_graduation_group.json`,{method:"post",body:c({},R)})})}function P(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/create_graduation_group.json`,{method:"post",body:c({},R)})})}function A(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/delete_course_teacher.json`,{method:"post",body:c({},R)})})}function I(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/delete_from_course.json`,{method:"post",body:c({},R)})})}function C(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/change_member_role.json`,{method:"post",body:c({},R)})})}function O(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/change_course_admin.json`,{method:"post",body:c({},R)})})}function T(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/teacher_application_review.json`,{method:"post",body:c({},R)})})}function D(R){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R.coursesId}/students.json`,{method:"get",params:c({},R)})})}function k(R,z){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R}/apply_students.json`,{method:"get",params:z})})}function $(R,z){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R}/join_student_checkout.json`,{method:"get",params:z})})}function L(R,z){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${R}/student_application_review.json`,{method:"post",body:z})})}},24780:function(i,d,e){"use strict";e.d(d,{B$:function(){return b},Cx:function(){return Y},Cy:function(){return oe},DA:function(){return O},DH:function(){return p},Ef:function(){return Q},Es:function(){return E},Ex:function(){return at},FM:function(){return N},Fn:function(){return Z},Gq:function(){return Et},Ho:function(){return D},IU:function(){return ee},JJ:function(){return K},Ol:function(){return he},Qx:function(){return z},Tv:function(){return M},V8:function(){return g},WS:function(){return G},WY:function(){return R},ai:function(){return j},bG:function(){return A},bJ:function(){return f},c0:function(){return yt},dE:function(){return H},dt:function(){return B},gI:function(){return J},lO:function(){return V},mW:function(){return L},n0:function(){return C},nV:function(){return _e},o1:function(){return He},qE:function(){return h},qN:function(){return T},rV:function(){return k},sh:function(){return de},vR:function(){return P},w3:function(){return $},x4:function(){return I},z2:function(){return Ue}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(ye,Fe,Qe)=>Fe in ye?r(ye,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):ye[Fe]=Qe,c=(ye,Fe)=>{for(var Qe in Fe||(Fe={}))o.call(Fe,Qe)&&u(ye,Qe,Fe[Qe]);if(n)for(var Qe of n(Fe))s.call(Fe,Qe)&&u(ye,Qe,Fe[Qe]);return ye},a=(ye,Fe,Qe)=>new Promise((qe,At)=>{var St=Ce=>{try{we(Qe.next(Ce))}catch(Me){At(Me)}},$e=Ce=>{try{we(Qe.throw(Ce))}catch(Me){At(Me)}},we=Ce=>Ce.done?qe(Ce.value):Promise.resolve(Ce.value).then(St,$e);we((Qe=Qe.apply(ye,Fe)).next())});const f=ye=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${ye.id}/move.json`,{method:"post",body:ye})}),g=ye=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${ye.id}.json`,{method:"delete",body:ye})}),p=ye=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${ye.id}.json`,{method:"put",body:ye})}),b=ye=>a(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"post",body:ye})}),h=ye=>a(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"Get",params:ye})});function E(ye){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/login.json",{method:"post",body:c({},ye)})})}function P(ye){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/logout.json",{method:"get"})})}function A(ye){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_user_info.json",{method:"get",params:c({},ye)})})}function I(ye){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_notice.json",{method:"get",params:c({},ye)})})}function C(){return a(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"get"})})}function O(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/homepage_info.json`,{method:"get"})})}function T(ye){return a(this,null,function*(){return(0,t.ZP)("/api/users/attendance.json",{method:"post"})})}function D(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/courses.json`,{method:"get",params:ye})})}function k(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/shixuns.json`,{method:"get",params:ye})})}function $(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/subjects.json`,{method:"get",params:ye})})}function L(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/projects.json`,{method:"get",params:ye})})}function R(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/videos.json`,{method:"get",params:ye})})}function z(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/videos/review.json`,{method:"get",params:ye})})}function N(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/videos/${ye.id}.json`,{method:"delete"})})}function V(ye){return a(this,null,function*(){return(0,t.ZP)("/api/watch_video_histories.json",{method:"post",body:ye})})}function j(ye){return a(this,null,function*(){return(0,t.ZP)("/api/users/question_banks.json",{method:"get",params:ye})})}function Y(ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_public.json",{method:"post",body:ye})})}function G(ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:ye})})}function J(ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:ye})})}function Q(ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:ye})})}function Z(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/videos/${ye.object_id}/create_course_video.json`,{method:"post",body:ye})})}function K(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${ye.topicId}.json`,{method:"get",params:ye})})}function M(ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:c({},ye)})})}function B(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${ye.username}/videos/batch_publish.json`,{method:"post",body:ye})})}function H(ye){return a(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${ye.identifier}/cancel.json`,{method:"delete",body:c({},ye)})})}function ee(){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_engineer_url.json",{method:"get"})})}function oe(ye){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:c({},ye)})})}function de(){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function _e(){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function he(ye){return(0,t.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:ye})}function He(ye){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:ye})}function Ue(ye){return(0,t.ZP)("/api/accounts/register.json",{method:"post",body:c({},ye)})}function tt(ye){return Fetch("/api/weapps/register.json",{method:"post",body:c({},ye)})}function at(ye){return(0,t.ZP)(`/api/users/accounts/${ye.login}/password.json`,{method:"put",body:c({},ye)})}function yt(ye){return(0,t.ZP)("/api/accounts/reset_password.json",{method:"post",body:c({},ye)})}function Et(ye){return(0,t.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:c({},ye)})}},75730:function(i,d,e){"use strict";e.d(d,{BQ:function(){return f},DH:function(){return D},Db:function(){return V},Ju:function(){return N},Mz:function(){return L},O2:function(){return h},TJ:function(){return A},Vg:function(){return b},ZY:function(){return g},Zx:function(){return $},cU:function(){return p},fn:function(){return z},jK:function(){return I},yN:function(){return R}});var t=e(99064),r=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(j,Y,G)=>Y in j?r(j,Y,{enumerable:!0,configurable:!0,writable:!0,value:G}):j[Y]=G,c=(j,Y)=>{for(var G in Y||(Y={}))o.call(Y,G)&&u(j,G,Y[G]);if(n)for(var G of n(Y))s.call(Y,G)&&u(j,G,Y[G]);return j},a=(j,Y,G)=>new Promise((J,Q)=>{var Z=B=>{try{M(G.next(B))}catch(H){Q(H)}},K=B=>{try{M(G.throw(B))}catch(H){Q(H)}},M=B=>B.done?J(B.value):Promise.resolve(B.value).then(Z,K);M((G=G.apply(j,Y)).next())});function f(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/watch_video_histories.json`,{method:"Get",params:c({},j)})})}function g(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/watch_statics.json`,{method:"Get",params:c({},j)})})}function p(j){return a(this,null,function*(){return(0,t.ZP)(`/api/course_videos/${j.videoId}/watch_histories.json`,{method:"Get",params:c({},j)})})}function b(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/own_watch_histories.json`,{method:"Get",params:c({},j)})})}function h(j){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${j.id}.json`,{method:"Get",params:c({},j)})})}function E(j){return a(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:j})})}function P(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}/edit.json`,{method:"Get",params:c({},j)})})}function A(j){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${j.id}/edit.json`,{method:"Get",params:c({},j)})})}function I(j){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${j.id}/star.json`,{method:"post",body:j})})}function C(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}.json`,{method:"put",body:j})})}function O(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}/send_to_course.json`,{method:"post",body:j})})}function T(j){return a(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:c({},j)})})}function D(j){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${j.id}/view_video.json`,{method:"post",body:j})})}function k(j){return a(this,null,function*(){return Fetch(`/api/video_items/${j.id}/add_school.json`,{method:"post",body:j})})}function $(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.course_id}/video_people_statics.json`,{method:"get",params:j})})}function L(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.course_id}/video_duration_statics.json`,{method:"get",params:j})})}function R(j){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:j})})}function z(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j==null?void 0:j.id}/course_videos_tree.json`,{method:"get",params:j})})}function N(j){return a(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses.json",{method:"post",body:j})})}function V(j){return a(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:j})})}},62406:function(i,d,e){"use strict";e.d(d,{A:function(){return L},CH:function(){return o},EA:function(){return c},FU:function(){return g},G_:function(){return h},LY:function(){return T},Ll:function(){return u},MM:function(){return I},Ps:function(){return D},Sl:function(){return P},To:function(){return p},Vf:function(){return b},XQ:function(){return s},b:function(){return f},bq:function(){return $},cZ:function(){return a},rV:function(){return O},sT:function(){return E},tS:function(){return k},xt:function(){return C},y2:function(){return n}});var t=e(99064),r=(R,z,N)=>new Promise((V,j)=>{var Y=Q=>{try{J(N.next(Q))}catch(Z){j(Z)}},G=Q=>{try{J(N.throw(Q))}catch(Z){j(Z)}},J=Q=>Q.done?V(Q.value):Promise.resolve(Q.value).then(Y,G);J((N=N.apply(R,z)).next())});const n=R=>r(void 0,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:R})});function o(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions/${R.id}.json`,{method:"put",body:R})})}function s(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions/${R.id}.json`,{method:"get",params:R})})}function u(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions.json`,{method:"post",body:R})})}function c(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/discussions.json`,{method:"get",params:R})})}function a(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}/add_resources.json`,{method:"post",body:R})})}function f(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}/lesson_resources_list.json`,{method:"get",params:R})})}function g(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}.json`,{method:"get",params:R})})}function p(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons/${R.id}.json`,{method:"put",body:R})})}function b(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons.json`,{method:"post",body:R})})}function h(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/good_lessons.json`,{method:"get",params:R})})}function E(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R==null?void 0:R.id}.json`,{method:"get"})})}function P(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R==null?void 0:R.id}/modules.json`,{method:"get"})})}function A(R){return r(this,null,function*(){return Fetch(`/api/virtual_classrooms/${R.id}/videos/batch_publish.json`,{method:"post",body:R})})}function I(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/members.json`,{method:"post",body:R})})}function C(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_spacesId}/members/${R.id}/change_creator.json`,{method:"post",body:R})})}function O(R,z){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/shixuns.json`,{method:"get",params:z})})}function T(R,z){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/shixuns`,{method:"post",body:z})})}function D(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_classroom_id}/shixuns/${R.shixun_id}.json`,{method:"delete"})})}function k(R,z){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/subjects.json`,{method:"get",params:z})})}function $(R,z){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R}/subjects.json`,{method:"post",body:z})})}function L(R){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${R.virtual_classroom_id}/subjects/${R.subject_id}.json`,{method:"delete"})})}},24065:function(i,d,e){"use strict";e.d(d,{$O:function(){return Y},G5:function(){return $},GD:function(){return r},GJ:function(){return g},Gg:function(){return p},I2:function(){return s},IR:function(){return R},JA:function(){return et},JL:function(){return C},Jd:function(){return j},Ny:function(){return A},RV:function(){return N},Rb:function(){return k},Rm:function(){return L},V9:function(){return H},Yh:function(){return K},aN:function(){return E},aQ:function(){return a},ag:function(){return Be},bg:function(){return Ht},d8:function(){return D},dE:function(){return z},eB:function(){return V},eY:function(){return ge},fn:function(){return Ve},h:function(){return Zt},j5:function(){return h},m$:function(){return ke},oF:function(){return b},qz:function(){return c},t_:function(){return P},tu:function(){return ut},y8:function(){return jt}});var t=e(89070),r=(it=>(it[it.SuperAdmin=1]="SuperAdmin",it[it.Operation=2]="Operation",it[it.CertifiedTeacher=5]="CertifiedTeacher",it[it.TrainingProduction=8]="TrainingProduction",it[it.UncertifiedTeacher=12]="UncertifiedTeacher",it[it.Student=15]="Student",it))(r||{}),n=(it=>(it[it.SuperAdmin=1]="SuperAdmin",it[it.Operation=2]="Operation",it[it.Admin=5]="Admin",it[it.Teacher=8]="Teacher",it[it.Assistant=12]="Assistant",it[it.Student=15]="Student",it))(n||{}),o=(it=>(it[it.SuperAdmin=0]="SuperAdmin",it[it.Teacher=1]="Teacher",it[it.Student=2]="Student",it))(o||{});const s=it=>{const{user:le}=(0,t.getDvaApp)()._store.getState(),{userInfo:ct}=le;return it.some(Je=>Je==(ct==null?void 0:ct.role))},u=it=>{const{user:le}=(0,t.getDvaApp)()._store.getState(),{userInfo:ct}=le;return ct!=null&&ct.own?!0:it.some(Je=>{var xt;return Je==((xt=ct==null?void 0:ct.course)==null?void 0:xt.course_role)})},c=()=>{const{user:it}=(0,t.getDvaApp)()._store.getState(),{userInfo:le}=it;return le.main_site},a=()=>{var it;const{user:le}=(0,t.getDvaApp)()._store.getState(),{userInfo:ct}=le;return(it=ct==null?void 0:ct.course)==null?void 0:it.course_is_end},f=()=>{const{user:it}=getDvaApp()._store.getState(),{userInfo:le}=it;return le.authentication},g=()=>u([1,2,5,8,12]),p=()=>u([1,8,5,12,2]),b=()=>u([1,8,5]),h=()=>u([1]),E=()=>u([1,2,5]),P=()=>u([1,2]),A=()=>s([1,2]),I=()=>s([1]),C=()=>s([1,2,5]),O=()=>u([1,5]),T=()=>u([5,8]),D=()=>u([5]),k=()=>u([1,5,2]),$=()=>u([1,2,5,8]),L=()=>u([12]),R=()=>u([8]),z=()=>u([15]),N=()=>u([1,2,5,8,12,15]),V=()=>u([1,2,5,8,12]),j=()=>{var it;const{user:le}=(0,t.getDvaApp)()._store.getState(),{userInfo:ct}=le;return((it=ct==null?void 0:ct.course)==null?void 0:it.course_role)===null},Y=()=>{const{user:it}=(0,t.getDvaApp)()._store.getState(),{userInfo:le}=it;return le==null?void 0:le.has_big_model_permission},G=()=>{const{user:it}=getDvaApp()._store.getState(),{userInfo:le}=it;return le==null?void 0:le.big_model_user_unlimited},J=(it=!0,le=!1)=>s([1,2,5,8,12,15]),Q=(it=!0,le=!1)=>le||!le&&s([1]),Z=(it=!0,le=!1)=>le||!le&&s([1,2]),K=()=>s([15]),M=(it=!0,le=!1)=>it?s([1,2,5,8,12,15]):le||!le&&s([1,2]),B=(it=!0,le=!1)=>it?s([1,2,5,8,12,15]):le||!le&&s([1,2]),H=(it=!0,le=!1)=>{const{user:ct}=(0,t.getDvaApp)()._store.getState(),{userInfo:Je}=ct;return Je!=null&&Je.is_shixun_marker?!0:s([1,2,5,8])},ee=(it=!0,le=!1)=>it?s([1]):le||!le&&s([1]),oe=(it=!0,le=!1)=>it?s([1,2]):le||!le&&s([1,2]),de=(it=!0,le=!1)=>it?s([1,2,5,8,12,15]):le||!le&&s([1,2]),_e=(it=!0,le=!1)=>it?s([1,2,5,8,12]):le||!le&&s([1,2]),he=(it=!0,le=!1)=>it?s([1,2,5]):le||!le&&s([1,2]),He=(it=!0,le=!1)=>it?s([1]):!1,Ue=(it=!0,le=!1)=>s([1,2,5,8,12,15]),tt=(it=!0,le=!1)=>it?s([1]):le||!le&&s([1]),at=(it=!0,le=!1)=>it?s([1,2]):le||!le&&s([1,2]),yt=(it=!0,le=!1)=>it?s([1,2,5,8,12,15]):le||!le&&s([1,2]),Et=(it=!0,le=!1)=>it?!1:le||!le&&s([1,2]),ye=(it=!0,le=!1)=>it?le||!le&&s([1,2]):!1,Fe=(it=!0,le=!1)=>it?s([1,2,5,8,12]):!1,Qe=(it=!0,le=!1)=>it?!le&&s([1,2,5,8,12]):!1,qe=(it=!0,le=!1)=>it?s([1,2,5]):le||!le&&s([1,2]),At=(it=!0,le=!1)=>s([1,2,5,8,12]),St=(it=!0,le=!1)=>it?s([1]):le||!le&&s([1]),$e=(it=!0,le=!1)=>it?s([1,2]):le||!le&&s([1,2]),we=(it=!0,le=!1)=>it?s([1,2,5,8,12]):le||!le&&s([1,2]),Ce=(it=!0,le=!1)=>it?le||!le&&s([1,2]):!1,Me=(it=!0,le=!1)=>it?s([1,2,5,8,12]):le||!le&&s([1,2]),Re=(it=!0,le=!1)=>u([8]),Ve=()=>s([1]),Be=()=>s([1,2]),et=()=>s([15]),Xe=()=>s([1,2,5]),jt=()=>s([1,2,5,12]),Ht=()=>{var it;const{user:le}=(0,t.getDvaApp)()._store.getState();return!!((it=le.userInfo)!=null&&it.login)},ge=()=>{const{user:it}=(0,t.getDvaApp)()._store.getState();return it.userInfo},ke=()=>{var it,le;const{user:ct}=(0,t.getDvaApp)()._store.getState();return!!((le=(it=ct.userInfo)==null?void 0:it.path)!=null&&le.own)},bt=it=>{const{graduations:le}=(0,t.getDvaApp)()._store.getState(),{details:ct}=le;return it.some(Je=>Je===(ct==null?void 0:ct.user_identity))},ut=()=>bt([0,1]),dt=()=>bt([0]),ot=()=>bt([1]),Zt=()=>bt([2])},14165:function(i,d,e){"use strict";e.d(d,{a2:function(){return o},fw:function(){return t},gW:function(){return n},k:function(){return s},k4:function(){return r}});const t=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],r=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var n=(u=>(u.PROBLEM="problem",u.PAPER="paper",u.OTHER="other",u))(n||{}),o=(u=>(u.SINGLE="single",u.MULTIPLEFLOW="multiple_flow",u.MULTIPLEFIXED="multiple_fixed",u.OTHER="other",u))(o||{}),s=(u=>(u[u.BISHI=1]="BISHI",u[u.JISHI=2]="JISHI",u[u.KOUSHI=3]="KOUSHI",u[u.OTHER=4]="OTHER",u))(s||{})},33466:function(i,d,e){"use strict";e.d(d,{F:function(){return t}});const t={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},3294:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});const t={PROXY_SERVER:"https://test-data.educoder.net",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"https://new-testali-cdn.educoder.net",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var r=null,o={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:t,newReactTest:{API_SERVER:(()=>{let s;switch(location.host){case"test4.educoder.net":s="https://test4-data.educoder.net";break;case"test3.educoder.net":s="https://test3-data.educoder.net";break;case"test2.educoder.net":s="https://test2-data.educoder.net";break;default:s="https://test-data.educoder.net";break}return s})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let s="https://new-testali-cdn.educoder.net";const u=location.host;return u==="test3.educoder.net"&&(s="https://test3-data.educoder.net"),u==="test4.educoder.net"&&(s="https://test4-data.educoder.net"),s})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let s="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(s="https://pre-data2.educoder.net"),s})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let s="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?s="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(s="https://data.tokcoder.com"),s})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},99064:function(i,d,e){"use strict";e.d(d,{IV:function(){return K},U2:function(){return G},ZP:function(){return N},d4:function(){return J},gz:function(){return Z},rz:function(){return z},v_:function(){return Q}});var t=e(3294),r=e(28909),n=e(43418),o=e(8591),s=e(85582),u=e.n(s),c=e(59301),a=e(89070),f=e(955),g=Object.defineProperty,p=Object.defineProperties,b=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,A=(M,B,H)=>B in M?g(M,B,{enumerable:!0,configurable:!0,writable:!0,value:H}):M[B]=H,I=(M,B)=>{for(var H in B||(B={}))E.call(B,H)&&A(M,H,B[H]);if(h)for(var H of h(B))P.call(B,H)&&A(M,H,B[H]);return M},C=(M,B)=>p(M,b(B)),O=(M,B,H)=>new Promise((ee,oe)=>{var de=He=>{try{he(H.next(He))}catch(Ue){oe(Ue)}},_e=He=>{try{he(H.throw(He))}catch(Ue){oe(Ue)}},he=He=>He.done?ee(He.value):Promise.resolve(He.value).then(de,_e);he((H=H.apply(M,B)).next())});let T;const D={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},k=M=>{try{typeof M=="string"&&(M=JSON.parse(M));const B=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,H=/\"\/api\/attachments\/(\d+)\//g,ee=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,oe=/\/api\/attachments\/(\d+)/g,de=/\/attachments\/download\/(\d+)/g;return JSON.stringify(M).replace(oe,(he,He,Ue,tt)=>{const at=He||Ue||tt;return"/api/attachments/"+(0,f.Jn)(at)}).replace(de,(he,He,Ue)=>{const tt=He||Ue;return"/attachments/download/"+(0,f.Jn)(tt)}).replace(B,(he,He,Ue,tt)=>{const at=He||Ue||tt;return"(/api/attachments/"+(0,f.Jn)(at)}).replace(H,(he,He,Ue)=>{const tt=He||Ue;return'"/api/attachments/'+(0,f.Jn)(tt)}).replace(ee,(he,He,Ue)=>{const tt=He||Ue;return"(/files/uploads/"+(0,f.Jn)(tt)}).replace(/\r\n/g,` `)}catch(B){return null}},$=(M,B)=>O(void 0,null,function*(){if(M.status>=200&&M.status<300)return M;const H=D[M.status]||M.statusText;let ee;var oe=M.json();yield oe.then((_e,he)=>{setTimeout(()=>{let He=(0,a.getDvaApp)()},400),ee=_e.message,window.showNetworkErrorTip(_e.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`),r.Z.error({style:{wordBreak:"break-all"},message:_e.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`,description:_e.message?"":H})});const de=new Error(H);throw de.name=M.status,de.response=M,{data:M,code:M.status,message:ee||H}}),L=(M,B)=>{const H=M.headers.get("Content-Type");return H&&H.match(/application\/json/i)&&M.clone().text().then(()=>{}),M};function R(M){try{return decodeURIComponent(M),decodeURIComponent(encodeURIComponent(M))===M}catch(B){return!1}}const z=M=>{M=M||{};let B="";for(let H in M)typeof M[H]=="object"?Array.isArray(M[H])&&M[H].forEach((ee,oe)=>{B+="&"+H+"[]="+ee}):M[H]!==void 0&&(B+="&"+H+"="+(R(M[H])?M[H]:encodeURIComponent(M[H])));return B.substr(1)};function N(M,B,H,ee){B.method||(B.method="get"),B.method=B.method.toUpperCase(),B.mode="cors";const oe=I({},B),{user:de}=(0,a.getDvaApp)()._store.getState(),{userInfo:_e}=de,he=M+(oe.body?JSON.stringify(oe.body):""),He=u().sha256().update(he).digest("hex"),Ue={credentials:"include",withCredentials:!0},tt={};_e!=null&&_e.login&&(tt.zzud=_e==null?void 0:_e.login,_e!=null&&_e.school_id&&(tt.zzsud=_e==null?void 0:_e.school_id),oe.params=I(I({},oe.params||{}),tt));let at=I(I({},Ue),JSON.parse(JSON.stringify(oe)));(at.method==="POST"||at.method==="PUT"||at.method==="PATCH"||at.method==="DELETE")&&(H?(at.headers=C(I({},at.headers),{"Pc-Authorization":(0,f.ej)("_educoder_session")}),at.body=oe.body):(at.headers=I({Accept:"application/json","Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,f.ej)("_educoder_session")},at.headers),at.body=JSON.stringify(oe.body))),at.method=="GET"?(at.headers=C(I({Accept:"application/json","Content-Type":"application/json; charset=utf-8"},at.headers),{"Pc-Authorization":(0,f.ej)("_educoder_session")}),oe.params&&z(oe.params)&&(M+="?"+z(oe.params))):tt.zzud&&(M+="?"+z(I({},tt)));const yt=oe.expirys&&60;let Et;(qe=>{qe.json="application/json;charset=UTF-8",qe.form="application/x-www-form-urlencoded; charset=UTF-8"})(Et||(Et={}));let ye;(qe=>{qe.get="GET",qe.post="POST"})(ye||(ye={}));const Fe=qe=>O(this,null,function*(){const At=yield qe.arrayBuffer();let St;const $e=new Blob([At]);try{St=qe.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(Re){St="userfiles.zip"}const we=document.createElement("a"),Ce=window.URL.createObjectURL($e),Me=St;return we.href=Ce,we.download=Me,we.click(),window.URL.revokeObjectURL(Ce),At});let Qe=t.Z.API_SERVER;return(window.ENV==="dev"||M.startsWith("http"))&&(Qe=""),at.method=="GET"&&at.params&&Object.keys(at.params).map(qe=>{if(at.params[qe]&&!Array.isArray(at.params[qe]))try{at.params[qe]=encodeURIComponent(decodeURIComponent(at.params[qe]))}catch(At){at.params[qe]=encodeURIComponent(at.params[qe])}}),(0,f.Ec)(at,M),ee&&(Qe=""),fetch(Qe+M,at).then(qe=>$(qe,I({url:t.Z.API_SERVER+M},at))).then(qe=>L(qe,He)).then(qe=>O(this,null,function*(){var At,St,$e,we;try{const Me=qe.headers.get("cs");Me&&(0,f.d8)("_educoder_session",Me,1)}catch(Me){}if(qe.status===204)return qe.text();let Ce;if(qe.headers.get("content-type").indexOf("application/json")>-1){Ce=yield qe.json();try{Ce=JSON.parse(k(Ce))}catch(Me){}}else at.headers["Content-Type"]==="application/xml"?Ce=yield qe.text():(At=oe.body)!=null&&At.autoDownload||(St=oe.params)!=null&&St.autoDownload?Ce=yield Fe(qe):Ce=yield qe.arrayBuffer();try{Ce.status===401&&(!(($e=at.params)!=null&&$e.hidePopLogin)||!((we=at.body)!=null&&we.hidePopLogin))&&(0,a.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Ce.status===402&&(localStorage.getItem("addinfo")==="2"?(0,a.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(T=T||n.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),T.update({centered:!0,visible:!0,title:"\u63D0\u793A",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:()=>{a.history.push("/account/profile/edit")}})))}catch(Me){console.log("fetcherr",Me)}return Y(Ce,M),Ce})).catch(qe=>{try{const At=qe.code;if(qe instanceof TypeError&&window.showNetworkErrorTip(`${M}${qe.message}`),At){if(At===401){(0,a.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}Y(qe,M)}else M.includes("/file/filePatchMerge")?(0,a.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:at.body}}):qe.message!=="403"&&window.showNetworkErrorTip(`${M}${qe.message}`);return qe}catch(At){}})}let V=!1,j=!1;const Y=(M,B)=>{var H,ee,oe;if(M.status==-6&&!j){j=!0,(0,f.d8)("_educoder_session","logout",1),(0,f.m5)(),setTimeout(()=>j=!1,500),n.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:M.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(M.status==-7){j=!0,setTimeout(()=>j=!1,500);let _e="";(H=M==null?void 0:M.data)!=null&&H.exercise_list&&((oe=(ee=M==null?void 0:M.data)==null?void 0:ee.exercise_list)==null||oe.map(he=>{_e+=`\u300A${he.exercise_name}\u300B`})),n.default.info({title:"\u63D0\u793A",content:c.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`
      \u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${_e} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
      `},500);return}if((M.status==-1||M.status==-2||M.status==-102||M.status>400)&&M.status!=403&&!j){j=!0,setTimeout(()=>j=!1,500),o.ZP.warning({content:M.message,key:"message-key"});return}const de={403:"/403",404:"/404",500:"/500"};if(de[M.status]&&!V){const{user:_e}=(0,a.getDvaApp)()._store.getState(),{userInfo:he}=_e;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(V=!0),setTimeout(()=>V=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(M)),Object.values(de).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(de[M.status]),new Error("403")}};function G(M,B){return N(`/api/${M}`,{method:"Get",params:B||{}})}function J(M,B){return N(`/${M}`,{method:"Get",params:B})}function Q(M,B){return N(`/api/${M}`,{method:"Post",body:I({},B)})}function Z(M,B){return N(`/api/${M}`,{method:"Put",body:I({},B)})}function K(M,B){return N(`/api/${M}`,{method:"delete",body:I({},B||{})})}},64892:function(i,d,e){"use strict";e.d(d,{Bn:function(){return n},hw:function(){return r},mi:function(){return t}});const t="WlRsa1pEVmlORE15TW1ZNVpqZGtPRE5rTURBNVpHVTVZbVpoTVRBd1l6TT0=",r="TW1VelpHRXdObUZsTWpaaVlUbG1OelpoTldRNFpETTFOVGMwTm1ZeVptVT0=",n="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},955:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},Br:function(){return getBlob},DH:function(){return timego},Dk:function(){return setDocumentTitle},Dw:function(){return onPreviewImage},EJ:function(){return HighLightedContent},EM:function(){return toChineseNumber},EN:function(){return preciseCalculation},Ec:function(){return setHeader},FH:function(){return downLoadFile},G5:function(){return sendAppStatus},G7:function(){return handleValidatorNickName},HJ:function(){return handleValidatorName},I9:function(){return RomanNumber},IS:function(){return isWechatBrowser},Il:function(){return setThreeComponent},JL:function(){return formatHomeWorkStatusToName},Jn:function(){return getImageUrl},L4:function(){return PollsStatus},L9:function(){return trackEvent},LR:function(){return download},Ll:function(){return checkIsClientExam},M:function(){return setmiyah},M2:function(){return randomArray},NY:function(){return setUrlQuery},Nd:function(){return downLoadLink},Oo:function(){return getCategoryName},Or:function(){return toWechatLogin},PF:function(){return formatRandomPaperDatas},Pq:function(){return cutName},Q8:function(){return disabledDate},QB:function(){return timeContrast},QE:function(){return releaseRuleDataAdjust},QH:function(){return downLoadFileIframe},Qq:function(){return JudgeSort},RD:function(){return bytesToSize},RG:function(){return copyTextFuc},Sp:function(){return rangeNumber},Sv:function(){return downloadFile},Tv:function(){return ImgSrcConvert},U6:function(){return HalfPastOne},UQ:function(){return HomeWorkDetailStatus},Uw:function(){return CommonWorkStatus},VV:function(){return StatusClassroomsTags},Vf:function(){return domScrollToTop},W:function(){return isUnOrNull},WX:function(){return isLocalApp},Y:function(){return HomeWorkCommonDetailStatus},YA:function(){return getHiddenName},ZJ:function(){return toDataUrl},ZR:function(){return GetElementHeight},_g:function(){return getMessagesUrl},_m:function(){return isKepuKehuan},ad:function(){return formatRandomPaperData},b9:function(){return isPc},cX:function(){return localSort},d0:function(){return disabledTime},d8:function(){return setCookie},db:function(){return getFileContentAndUrl},eF:function(){return bindPhone},eR:function(){return validateLength},ej:function(){return getCookie},en:function(){return parseUrl},fX:function(){return buildTree},hi:function(){return getExamRestrictionInfo},hv:function(){return NewAntdDisabledTime},i7:function(){return isChrome},j1:function(){return StatusGraduationProjectTags},jh:function(){return educationList},ju:function(){return ExerciseStatus},jz:function(){return replaceParamVal},k3:function(){return scrollToTop},kk:function(){return pointerEvents},lC:function(){return HomeWorkListStatus},lF:function(){return toWNumber},li:function(){return toTimeFormat},m5:function(){return clearAllCookies},nr:function(){return startExercise},oP:function(){return getJsonFromUrl},oV:function(){return ZimuSort},og:function(){return formatRate},oi:function(){return checkLocalOrPublicIp},pE:function(){return addJumping},pp:function(){return findEndWhitespace},qZ:function(){return arrTrans},qd:function(){return DayHalfPastOne},rK:function(){return HomeWorkShixunListStatus},rU:function(){return showTotal},rz:function(){return moveArray},s2:function(){return isMobileDevice},tP:function(){return cutFileName},tw:function(){return getTwoDecimalPlaces},uD:function(){return dealUploadChange},vA:function(){return HomeWorkShixunDetailStatus},vB:function(){return exerciseTips},xg:function(){return openNewWindow},y3:function(){return getBase64},yC:function(){return compareVersion}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),_utils_authority__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(24065),antd__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(8591),antd__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(43418),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(95237),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(43604),_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(16209),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(94941),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(33466),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(89070),md5__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(93735),md5__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_6__),_env__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(3294),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(34604),crypto_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(28209),crypto_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_9__),_key__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(64892),moment__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(61186),moment__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_10__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(33656),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11__),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(i,d,e)=>d in i?__defProp(i,d,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[d]=e,__spreadValues=(i,d)=>{for(var e in d||(d={}))__hasOwnProp.call(d,e)&&__defNormalProp(i,e,d[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(d))__propIsEnum.call(d,e)&&__defNormalProp(i,e,d[e]);return i},__spreadProps=(i,d)=>__defProps(i,__getOwnPropDescs(d)),__async=(i,d,e)=>new Promise((t,r)=>{var n=u=>{try{s(e.next(u))}catch(c){r(c)}},o=u=>{try{s(e.throw(u))}catch(c){r(c)}},s=u=>u.done?t(u.value):Promise.resolve(u.value).then(n,o);s((e=e.apply(i,d)).next())}),_a,_b;moment__WEBPACK_IMPORTED_MODULE_10___default().extend(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11___default());const GetElementHeight=(i,d="px",e,t=!1)=>{if(!i)return 0;const r=t?i.scrollHeight:i.offsetHeight;if(d==="rem"){const n=e?`${e}`:getComputedStyle(document.documentElement).fontSize,o=parseFloat(n);return r/o}return r},HighLightedContent=(i,d=[],e="#2EC25B")=>(typeof d=="string"&&(d=[d]),i.replace(new RegExp(`(${d.join("|")})`,"gi"),`$1`)),parseParams=i=>{i=i||{};let d="";for(let e in i)typeof i[e]=="object"?Array.isArray(i[e])&&i[e].forEach((t,r)=>{d+="&"+e+"[]="+t}):i[e]!==void 0&&(d+="&"+e+"="+i[e]);return d.substr(1)},getKey=i=>window.atob(window.atob(i));function bytesToSize(i){var d=["Bytes","KB","MB","GB","TB"];if(i==0)return"0 Byte";var e=parseInt(""+Math.floor(Math.log(i)/Math.log(1024)),10);return(i/Math.pow(1024,e)).toFixed(1)+" "+d[e]}const getTwoDecimalPlaces=i=>Math.round(Math.round(i*1e5)/1e3*100)/100,NewAntdDisabledDate=(i,d=null)=>{const e=imoment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.endTime).endOf("day"),r=i{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("HH")),t=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("mm")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("HH")),n=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("mm")),o=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("ss"));function s(u,c){const a=[];for(let f=u;fs(0,r),disabledMinutes:()=>s(0,n)};if(d!=null&&d.compared){const u=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("HH")),c=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("mm")),a=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("ss"));return moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared),"day")?{disabledHours:()=>s(0,u),disabledMinutes:()=>e<=u?s(0,c):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"day"))return{disabledHours:()=>s(0,r),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"hour")&&e<=r?s(0,n):[]}},disabledDate=(i,d,e,t)=>{t=typeof t=="string"?moment__WEBPACK_IMPORTED_MODULE_10___default()(t):t;const r=t?i<(t==null?void 0:t.startOf("day")):imoment__WEBPACK_IMPORTED_MODULE_10___default()(d).endOf("day"),o=i{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("HH")),t=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("mm"));function n(o,s){const u=[];for(let c=o;cn(0,t),disabledMinutes:()=>n(0,r)};if(d){const o=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d).format("HH")),s=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d).format("mm"));return moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(d),"day")?{disabledHours:()=>n(0,o),disabledMinutes:()=>e<=o?n(0,s):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"day"))return{disabledHours:()=>n(0,t),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"hour")&&e<=t?n(0,r):[]}},preciseCalculation=(i,d,e)=>{typeof i=="string"&&(i=Number(i)),typeof d=="string"&&(d=Number(d));const t=(i.toString().split(".")[1]||"").length,r=(d.toString().split(".")[1]||"").length,n=Math.max(t,r),o=Math.pow(10,n);return(()=>{switch(e){case"+":return(Math.round(i*o)+Math.round(d*o))/o;case"-":return(Math.round(i*o)-Math.round(d*o))/o;case"*":return Math.round(i*o)*Math.round(d*o)/(o*o);case"/":return Math.round(i*o)/Math.round(d*o);default:throw new Error("\u4E0D\u652F\u6301\u7684\u8FD0\u7B97\u7B26\u53F7")}})()},toWNumber=i=>i/1e4>1?react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,Math.round(i/1e4*100)/100,react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"font12"},"w")):i,toChineseNumber=i=>{const d=i.toString().replace(/(?=(\d{4})+$)/g,",").split(",").filter(Boolean),e=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],t=["","\u5341","\u767E","\u5343"],r=["","\u4E07","\u4EBF"],n=s=>{let u="";for(let c=0;c{const t=i.splice(d,1)[0];return i.splice(e,0,t),i},ZimuSort=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],JudgeSort=["\u6B63\u786E","\u9519\u8BEF"],RomanNumber=["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII","XIII","XIV","XV","XVI","XVII","XVIII","XIX","XX"],findEndWhitespace=i=>{if(!i)return"";const d=i.replace(/(?:\r\n|\n)/g,`\x1B[41m\x1B[37m\u21B5\x1B[0m\r `).replace(/ +$/g,"\x1B[41m \x1B[0m");return console.debug("str:",d,JSON.stringify(i)),d},StatusTags=i=>{const d={\u5DF2\u622A\u6B62:{class:"tag-style bg-pink ml10"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};return i.data&&i.data.map(function(e,t){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{key:t,className:d[e]&&d[e].class},e)})},formatHomeWorkStatusToName=i=>({[-1]:"\u91CD\u505A\u4E2D",0:"\u672A\u5F00\u542F",1:"\u672A\u901A\u5173",2:"\u6309\u65F6\u901A\u5173"})[i]||"\u8FDF\u4EA4\u901A\u5173",HomeWorkListStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(d=t==null?void 0:t[i.status])==null?void 0:d.class},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},HomeWorkShixunListStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(d=t==null?void 0:t[i.status])==null?void 0:d.class},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},HomeWorkDetailStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(d=t==null?void 0:t[i.status])==null?void 0:d.color,borderRadius:"20px",width:"65px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},HomeWorkShixunDetailStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red",color:"#d4443d"},5:{name:"\u622A\u6B62\u540E\u8BC4\u6D4B",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(d=t==null?void 0:t[i.status])==null?void 0:d.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},HomeWorkCommonDetailStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-black",color:"#999999"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black",color:"#999999"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green",color:"#57be40"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(d=t==null?void 0:t[i.status])==null?void 0:d.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},StatusGraduationProjectTags=i=>{const{status:d}=i,e={0:{class:"tag-style bg-blue ml10",name:"\u5F85\u9009\u4E2D"},1:{class:"tag-style bg-blue ml10",name:"\u5F85\u786E\u8BA4"},2:{class:"tag-style bg-pink ml10",name:"\u5DF2\u786E\u8BA4"}};try{return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:e[d].class},e[d].name)}catch(t){console.log("utils.StatusGraduationProjectTags",i.status)}},ExerciseStatus={1:"\u672A\u53D1\u5E03",2:"\u8003\u8BD5\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u96C6\u4E2D\u9605\u5377",99:"\u6A21\u62DF\u8003\u8BD5\u4E2D"},PollsStatus={1:"\u672A\u53D1\u5E03",2:"\u63D0\u4EA4\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u672A\u5F00\u59CB"},StatusClassroomsTags=i=>{let d={\u6A21\u62DF\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-pink ml10"},\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A:{class:"tag-style-fzb ml10 iconfont icon-fangzuobi"},\u516C\u5F00:{class:"tag-style bg-blue ml10"},\u5DF2\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-green ml10soft"},\u672A\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-pink ml10soft"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-c5d6ff ml10soft"},\u533F\u540D\u4F5C\u54C1:{class:"tag-style bg-cyan ml10"},\u5DF2\u9009\u62E9:{class:"tag-style bg-grey-ede ml10"},\u5DF2\u7ED3\u675F:{class:"tag-style bg-grey-ede ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10soft"},\u533F\u8BC4\u4E2D:{class:"tag-style bg-blue ml10"},\u7533\u8BC9\u4E2D:{class:"tag-style bg-blue ml10"},\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-blue ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8BC4\u9605\u4E2D:{class:"tag-style bg-blue ml10"},\u5F85\u9009\u4E2D:{class:"tag-style bg-blue ml10"},\u4EA4\u53C9\u8BC4\u9605\u4E2D:{class:"tag-style bg-light-orange ml10"},\u5DF2\u5F00\u542F\u4EA4\u53C9\u8BC4\u9605:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u786E\u8BA4:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u5904\u7406:{class:"tag-style bg-lightblue-purple ml10"},\u79C1\u6709:{class:"tag-style bg-lightblue-purple ml10"},\u672A\u63D0\u4EA4:{class:"tag-style bg-lightblue-purple ml10"},\u5DF2\u786E\u8BA4:{class:"tag-style bg-light-pink ml10"},\u5DF2\u53D1\u5E03:{class:"tag-style bg-light-blue ml10"},\u5DF2\u622A\u6B62:{class:"tag-style bg-light-pink ml10soft"},\u5F00\u53D1\u8BFE\u7A0B:{class:"tag-style bg-orange ml10"},\u5DF2\u5F00\u64AD:{class:"tag-style-border border-green c-green ml10"},\u672A\u5F00\u64AD:{class:"tag-style-border border-light-black ml10"},\u672A\u5F00\u8BFE:{class:"tag-style bg-c5d6ff ml10soft"},\u4E0A\u8BFE\u4E2D:{class:"tag-style bg-blue ml10soft"},\u6309\u65F6\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u8FDF\u4EA4\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u5F00\u542F:{class:"tag-style-border border-light-black ml10"},\u5BFC\u5165:{class:"export ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};const e={\u672A\u53D1\u5E03:{class:"tag-style bg-C6CED6 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-C1E2FF ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u5DF2\u622A\u6B62:{class:"tag-style bg-E53333 ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-44D7B6 ml10soft"}};i.temporary&&(d=__spreadValues(__spreadValues({},d),e));const t=[];i.is_random&&t.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"tag-style bg-blue ml10"},"\u968F\u673A"));try{i.status&&i.status.map((r,n)=>{t.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:(i==null?void 0:i.style)||[],key:n,className:d[r]&&d[r].class},r))})}catch(r){console.log("utils.status.tag:",r,i.status)}return t},exerciseTips=(i,d)=>{if(i===5||d)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style ml5"},"\u96C6\u4E2D\u9605\u5377");if(i===1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style ml5"},"\u672A\u5F00\u59CB");if(i===2)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style ml5"},"\u8003\u8BD5\u4E2D");if(i===3)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style ml5"},"\u5DF2\u622A\u6B62");if(i===-1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"export ml5"},"\u5BFC\u5165")},WorkStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8FDF\u4EA4\u901A\u5173",class:"c-orange"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(d=t[i.status])==null?void 0:d.class},(e=t[i.status])==null?void 0:e.name)},CommonWorkStatus=i=>{var d,e;const t={0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red"},3:{name:"\u90E8\u5206\u63D0\u4EA4",class:"c-green"},4:{name:`\u6309\u65F6\u63D0\u4EA4${i!=null&&i.lineBreak?` `:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-green"},5:{name:`\u672A\u63D0\u4EA4${i!=null&&i.lineBreak?` @@ -230,6 +230,6 @@ Add a component higher in the tree to provide a loading \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},78540:function(i,d,e){"use strict";var t=e(65911),r=e(32621),n=e(68151),o=e(16332),s=e(58218),u=e(24538),c=e(44166),a=e(25576),f=e(7825),g=e(73068),p=e(61888),b=e(35454),h=e(16697);i.exports=function(E,P,A,I){var C="stackTraceLimit",O=I?2:1,T=E.split("."),D=T[T.length-1],k=t.apply(null,T);if(k){var $=k.prototype;if(!h&&r($,"cause")&&delete $.cause,!A)return k;var L=t("Error"),R=P(function(z,N){var V=f(I?N:z,void 0),j=I?new k(z):new k;return V!==void 0&&n(j,"message",V),p(j,R,j.stack,2),this&&o($,this)&&a(j,this,R),arguments.length>O&&g(j,arguments[O]),j});if(R.prototype=$,D!=="Error"?s?s(R,L):u(R,L,{name:!0}):b&&C in k&&(c(R,k,C),c(R,k,"prepareStackTrace")),u(R,k),!h)try{$.name!==D&&n($,"name",D),$.constructor=R}catch(z){}return R}}},93074:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(13743),o=e(3338),s=e(78540),u="AggregateError",c=r(u),a=!o(function(){return c([1]).errors[0]!==1})&&o(function(){return c([1],u,{cause:7}).cause!==7});t({global:!0,constructor:!0,arity:2,forced:a},{AggregateError:s(u,function(f){return function(p,b){return n(f,this,arguments)}},a,!0)})},6555:function(i,d,e){"use strict";var t=e(94488),r=e(16332),n=e(53456),o=e(58218),s=e(24538),u=e(20132),c=e(68151),a=e(35012),f=e(73068),g=e(61888),p=e(62003),b=e(7825),h=e(59893),E=h("toStringTag"),P=Error,A=[].push,I=function(T,D){var k=r(C,this),$;o?$=o(new P,k?n(this):C):($=k?this:u(C),c($,E,"Error")),D!==void 0&&c($,"message",b(D)),g($,I,$.stack,1),arguments.length>2&&f($,arguments[2]);var L=[];return p(T,A,{that:L}),c($,"errors",L),$};o?o(I,P):s(I,P,{name:!0});var C=I.prototype=u(P.prototype,{constructor:a(1,I),message:a(1,""),name:a(1,"AggregateError")});t({global:!0,constructor:!0,arity:2},{AggregateError:I})},86357:function(i,d,e){"use strict";e(6555)},89170:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(91669),o=e(51996),s="ArrayBuffer",u=n[s],c=r[s];t({global:!0,constructor:!0,forced:c!==u},{ArrayBuffer:u}),o(s)},71012:function(i,d,e){"use strict";var t=e(94488),r=e(58261),n=r.NATIVE_ARRAY_BUFFER_VIEWS;t({target:"ArrayBuffer",stat:!0,forced:!n},{isView:r.isView})},84203:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(3338),o=e(91669),s=e(80449),u=e(51981),c=e(61578),a=e(60473),f=o.ArrayBuffer,g=o.DataView,p=g.prototype,b=r(f.prototype.slice),h=r(p.getUint8),E=r(p.setUint8),P=n(function(){return!new f(2).slice(1,void 0).byteLength});t({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:P},{slice:function(I,C){if(b&&C===void 0)return b(s(this),I);for(var O=s(this).byteLength,T=u(I,O),D=u(C===void 0?O:C,O),k=new(a(this,f))(c(D-T)),$=new g(this),L=new g(k),R=0;T=0?g:f+g;return p<0||p>=f?void 0:a[p]}}),s("at")},2924:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(18589),o=e(31946),s=e(94029),u=e(82762),c=e(66434),a=e(69392),f=e(81427),g=e(17480),p=e(59893),b=e(46573),h=p("isConcatSpreadable"),E=b>=51||!r(function(){var I=[];return I[h]=!1,I.concat()[0]!==I}),P=function(I){if(!o(I))return!1;var C=I[h];return C!==void 0?!!C:n(I)},A=!E||!g("concat");t({target:"Array",proto:!0,arity:1,forced:A},{concat:function(C){var O=s(this),T=f(O,0),D=0,k,$,L,R,z;for(k=-1,L=arguments.length;k1?arguments[1]:void 0)}})},16137:function(i,d,e){"use strict";var t=e(94488),r=e(75202),n=e(81181);t({target:"Array",proto:!0},{fill:r}),n("fill")},48435:function(i,d,e){"use strict";var t=e(94488),r=e(90560).filter,n=e(17480),o=n("filter");t({target:"Array",proto:!0,forced:!o},{filter:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},70365:function(i,d,e){"use strict";var t=e(94488),r=e(90560).findIndex,n=e(81181),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),t({target:"Array",proto:!0,forced:s},{findIndex:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),n(o)},17482:function(i,d,e){"use strict";var t=e(94488),r=e(53279).findLastIndex,n=e(81181);t({target:"Array",proto:!0},{findLastIndex:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("findLastIndex")},33717:function(i,d,e){"use strict";var t=e(94488),r=e(53279).findLast,n=e(81181);t({target:"Array",proto:!0},{findLast:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("findLast")},11553:function(i,d,e){"use strict";var t=e(94488),r=e(90560).find,n=e(81181),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),t({target:"Array",proto:!0,forced:s},{find:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),n(o)},65033:function(i,d,e){"use strict";var t=e(94488),r=e(3372),n=e(63335),o=e(94029),s=e(82762),u=e(81427);t({target:"Array",proto:!0},{flatMap:function(a){var f=o(this),g=s(f),p;return n(a),p=u(f,0),p.length=r(p,f,f,g,0,1,a,arguments.length>1?arguments[1]:void 0),p}})},23708:function(i,d,e){"use strict";var t=e(94488),r=e(3372),n=e(94029),o=e(82762),s=e(56902),u=e(81427);t({target:"Array",proto:!0},{flat:function(){var a=arguments.length?arguments[0]:void 0,f=n(this),g=o(f),p=u(f,0);return p.length=r(p,f,f,g,0,a===void 0?1:s(a)),p}})},52732:function(i,d,e){"use strict";var t=e(94488),r=e(59594);t({target:"Array",proto:!0,forced:[].forEach!==r},{forEach:r})},99382:function(i,d,e){"use strict";var t=e(94488),r=e(60255),n=e(35221),o=!n(function(s){Array.from(s)});t({target:"Array",stat:!0,forced:o},{from:r})},88437:function(i,d,e){"use strict";var t=e(94488),r=e(22999).includes,n=e(3338),o=e(81181),s=n(function(){return!Array(1).includes()});t({target:"Array",proto:!0,forced:s},{includes:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),o("includes")},68440:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(22999).indexOf,o=e(45601),s=r([].indexOf),u=!!s&&1/s([1],1,-0)<0,c=u||!o("indexOf");t({target:"Array",proto:!0,forced:c},{indexOf:function(f){var g=arguments.length>1?arguments[1]:void 0;return u?s(this,f,g)||0:n(this,f,g)}})},13412:function(i,d,e){"use strict";var t=e(94488),r=e(18589);t({target:"Array",stat:!0},{isArray:r})},11005:function(i,d,e){"use strict";var t=e(80524),r=e(81181),n=e(48074),o=e(94844),s=e(37691).f,u=e(24019),c=e(25587),a=e(16697),f=e(35454),g="Array Iterator",p=o.set,b=o.getterFor(g);i.exports=u(Array,"Array",function(E,P){p(this,{type:g,target:t(E),index:0,kind:P})},function(){var E=b(this),P=E.target,A=E.index++;if(!P||A>=P.length)return E.target=void 0,c(void 0,!0);switch(E.kind){case"keys":return c(A,!1);case"values":return c(P[A],!1)}return c([A,P[A]],!1)},"values");var h=n.Arguments=n.Array;if(r("keys"),r("values"),r("entries"),!a&&f&&h.name!=="values")try{s(h,"name",{value:"values"})}catch(E){}},70348:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(1835),o=e(80524),s=e(45601),u=r([].join),c=n!==Object,a=c||!s("join",",");t({target:"Array",proto:!0,forced:a},{join:function(g){return u(o(this),g===void 0?",":g)}})},19801:function(i,d,e){"use strict";var t=e(94488),r=e(55009);t({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},91550:function(i,d,e){"use strict";var t=e(94488),r=e(90560).map,n=e(17480),o=n("map");t({target:"Array",proto:!0,forced:!o},{map:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},85223:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(39812),o=e(69392),s=Array,u=r(function(){function c(){}return!(s.of.call(c)instanceof c)});t({target:"Array",stat:!0,forced:u},{of:function(){for(var a=0,f=arguments.length,g=new(n(this)?this:s)(f);f>a;)o(g,a,arguments[a++]);return g.length=f,g}})},7154:function(i,d,e){"use strict";var t=e(94488),r=e(94029),n=e(82762),o=e(39428),s=e(66434),u=e(3338),c=u(function(){return[].push.call({length:4294967296},1)!==4294967297}),a=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(g){return g instanceof TypeError}},f=c||!a();t({target:"Array",proto:!0,arity:1,forced:f},{push:function(p){var b=r(this),h=n(b),E=arguments.length;s(h+E);for(var P=0;P79&&o<83,c=u||!n("reduceRight");t({target:"Array",proto:!0,forced:c},{reduceRight:function(f){return r(this,f,arguments.length,arguments.length>1?arguments[1]:void 0)}})},67788:function(i,d,e){"use strict";var t=e(94488),r=e(16370).left,n=e(45601),o=e(46573),s=e(90946),u=!s&&o>79&&o<83,c=u||!n("reduce");t({target:"Array",proto:!0,forced:c},{reduce:function(f){var g=arguments.length;return r(this,f,g,g>1?arguments[1]:void 0)}})},9402:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(18589),o=r([].reverse),s=[1,2];t({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),o(this)}})},62489:function(i,d,e){"use strict";var t=e(94488),r=e(18589),n=e(39812),o=e(31946),s=e(51981),u=e(82762),c=e(80524),a=e(69392),f=e(59893),g=e(17480),p=e(30867),b=g("slice"),h=f("species"),E=Array,P=Math.max;t({target:"Array",proto:!0,forced:!b},{slice:function(I,C){var O=c(this),T=u(O),D=s(I,T),k=s(C===void 0?T:C,T),$,L,R;if(r(O)&&($=O.constructor,n($)&&($===E||r($.prototype))?$=void 0:o($)&&($=$[h],$===null&&($=void 0)),$===E||$===void 0))return p(O,D,k);for(L=new($===void 0?E:$)(P(k-D,0)),R=0;D1?arguments[1]:void 0)}})},62837:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(63335),o=e(94029),s=e(82762),u=e(84233),c=e(69905),a=e(3338),f=e(63668),g=e(45601),p=e(78177),b=e(17687),h=e(46573),E=e(19684),P=[],A=r(P.sort),I=r(P.push),C=a(function(){P.sort(void 0)}),O=a(function(){P.sort(null)}),T=g("sort"),D=!a(function(){if(h)return h<70;if(!(p&&p>3)){if(b)return!0;if(E)return E<603;var L="",R,z,N,V;for(R=65;R<76;R++){switch(z=String.fromCharCode(R),R){case 66:case 69:case 70:case 72:N=3;break;case 68:case 71:N=4;break;default:N=2}for(V=0;V<47;V++)P.push({k:z+V,v:N})}for(P.sort(function(j,Y){return Y.v-j.v}),V=0;Vc(z)?1:-1}};t({target:"Array",proto:!0,forced:k},{sort:function(R){R!==void 0&&n(R);var z=o(this);if(D)return R===void 0?A(z):A(z,R);var N=[],V=s(z),j,Y;for(Y=0;YO-$+k;R--)g(C,R-1)}else if(k>$)for(R=O-$;R>T;R--)z=R+$-1,N=R+k-1,z in C?C[N]=C[z]:g(C,N);for(R=0;R=0&&f<=99?f+1900:f;return u(this,g)}})},71390:function(i,d,e){"use strict";var t=e(94488);t({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},96844:function(i,d,e){"use strict";var t=e(94488),r=e(32494);t({target:"Date",proto:!0,forced:Date.prototype.toISOString!==r},{toISOString:r})},83578:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(94029),o=e(97954),s=r(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});t({target:"Date",proto:!0,arity:1,forced:s},{toJSON:function(c){var a=n(this),f=o(a,"number");return typeof f=="number"&&!isFinite(f)?null:a.toISOString()}})},69762:function(i,d,e){"use strict";var t=e(32621),r=e(2291),n=e(77119),o=e(59893),s=o("toPrimitive"),u=Date.prototype;t(u,s)||r(u,s,n)},76880:function(i,d,e){"use strict";var t=e(94237),r=e(2291),n=Date.prototype,o="Invalid Date",s="toString",u=t(n[s]),c=t(n.getTime);String(new Date(NaN))!==o&&r(n,s,function(){var f=c(this);return f===f?u(this):o})},31808:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(13743),o=e(78540),s="WebAssembly",u=r[s],c=new Error("e",{cause:7}).cause!==7,a=function(g,p){var b={};b[g]=o(g,p,c),t({global:!0,constructor:!0,arity:1,forced:c},b)},f=function(g,p){if(u&&u[g]){var b={};b[g]=o(s+"."+g,p,c),t({target:s,stat:!0,constructor:!0,arity:1,forced:c},b)}};a("Error",function(g){return function(b){return n(g,this,arguments)}}),a("EvalError",function(g){return function(b){return n(g,this,arguments)}}),a("RangeError",function(g){return function(b){return n(g,this,arguments)}}),a("ReferenceError",function(g){return function(b){return n(g,this,arguments)}}),a("SyntaxError",function(g){return function(b){return n(g,this,arguments)}}),a("TypeError",function(g){return function(b){return n(g,this,arguments)}}),a("URIError",function(g){return function(b){return n(g,this,arguments)}}),f("CompileError",function(g){return function(b){return n(g,this,arguments)}}),f("LinkError",function(g){return function(b){return n(g,this,arguments)}}),f("RuntimeError",function(g){return function(b){return n(g,this,arguments)}})},99953:function(i,d,e){"use strict";var t=e(2291),r=e(13367),n=Error.prototype;n.toString!==r&&t(n,"toString",r)},65009:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(69905),o=r("".charAt),s=r("".charCodeAt),u=r(/./.exec),c=r(1 .toString),a=r("".toUpperCase),f=/[\w*+\-./@]/,g=function(p,b){for(var h=c(p,16);h.length9490626562425156e-8?o(g)+u:r(g-1+s(g-1)*s(g+1))}})},85660:function(i,d,e){"use strict";var t=e(94488),r=Math.asinh,n=Math.log,o=Math.sqrt;function s(c){var a=+c;return!isFinite(a)||a===0?a:a<0?-s(-a):n(a+o(a*a+1))}var u=!(r&&1/r(0)>0);t({target:"Math",stat:!0,forced:u},{asinh:s})},80031:function(i,d,e){"use strict";var t=e(94488),r=Math.atanh,n=Math.log,o=!(r&&1/r(-0)<0);t({target:"Math",stat:!0,forced:o},{atanh:function(u){var c=+u;return c===0?c:n((1+c)/(1-c))/2}})},34434:function(i,d,e){"use strict";var t=e(94488),r=e(37666),n=Math.abs,o=Math.pow;t({target:"Math",stat:!0},{cbrt:function(u){var c=+u;return r(c)*o(n(c),.3333333333333333)}})},83579:function(i,d,e){"use strict";var t=e(94488),r=Math.floor,n=Math.log,o=Math.LOG2E;t({target:"Math",stat:!0},{clz32:function(u){var c=u>>>0;return c?31-r(n(c+.5)*o):32}})},74307:function(i,d,e){"use strict";var t=e(94488),r=e(10014),n=Math.cosh,o=Math.abs,s=Math.E,u=!n||n(710)===1/0;t({target:"Math",stat:!0,forced:u},{cosh:function(a){var f=r(o(a)-1)+1;return(f+1/(f*s*s))*(s/2)}})},97423:function(i,d,e){"use strict";var t=e(94488),r=e(10014);t({target:"Math",stat:!0,forced:r!==Math.expm1},{expm1:r})},93321:function(i,d,e){"use strict";var t=e(94488),r=e(14894);t({target:"Math",stat:!0},{fround:r})},82277:function(i,d,e){"use strict";var t=e(94488),r=Math.hypot,n=Math.abs,o=Math.sqrt,s=!!r&&r(1/0,NaN)!==1/0;t({target:"Math",stat:!0,arity:2,forced:s},{hypot:function(c,a){for(var f=0,g=0,p=arguments.length,b=0,h,E;g0?(E=h/b,f+=E*E):f+=h;return b===1/0?1/0:b*o(f)}})},61425:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=Math.imul,o=r(function(){return n(4294967295,5)!==-5||n.length!==2});t({target:"Math",stat:!0,forced:o},{imul:function(u,c){var a=65535,f=+u,g=+c,p=a&f,b=a&g;return 0|p*b+((a&f>>>16)*b+p*(a&g>>>16)<<16>>>0)}})},61873:function(i,d,e){"use strict";var t=e(94488),r=e(53309);t({target:"Math",stat:!0},{log10:r})},9307:function(i,d,e){"use strict";var t=e(94488),r=e(25726);t({target:"Math",stat:!0},{log1p:r})},8821:function(i,d,e){"use strict";var t=e(94488),r=Math.log,n=Math.LN2;t({target:"Math",stat:!0},{log2:function(s){return r(s)/n}})},64385:function(i,d,e){"use strict";var t=e(94488),r=e(37666);t({target:"Math",stat:!0},{sign:r})},64099:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(10014),o=Math.abs,s=Math.exp,u=Math.E,c=r(function(){return Math.sinh(-2e-17)!==-2e-17});t({target:"Math",stat:!0,forced:c},{sinh:function(f){var g=+f;return o(g)<1?(n(g)-n(-g))/2:(s(g-1)-s(-g-1))*(u/2)}})},62455:function(i,d,e){"use strict";var t=e(94488),r=e(10014),n=Math.exp;t({target:"Math",stat:!0},{tanh:function(s){var u=+s,c=r(u),a=r(-u);return c===1/0?1:a===1/0?-1:(c-a)/(n(u)+n(-u))}})},79965:function(i,d,e){"use strict";var t=e(94573);t(Math,"Math",!0)},59118:function(i,d,e){"use strict";var t=e(94488),r=e(3312);t({target:"Math",stat:!0},{trunc:r})},275:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(35454),o=e(92916),s=e(9699),u=e(94237),c=e(20865),a=e(32621),f=e(25576),g=e(16332),p=e(18446),b=e(97954),h=e(3338),E=e(80689).f,P=e(71256).f,A=e(37691).f,I=e(49228),C=e(52971).trim,O="Number",T=o[O],D=s[O],k=T.prototype,$=o.TypeError,L=u("".slice),R=u("".charCodeAt),z=function(J){var Q=b(J,"number");return typeof Q=="bigint"?Q:N(Q)},N=function(J){var Q=b(J,"number"),Z,K,M,B,H,ee,oe,de;if(p(Q))throw new $("Cannot convert a Symbol value to a number");if(typeof Q=="string"&&Q.length>2){if(Q=C(Q),Z=R(Q,0),Z===43||Z===45){if(K=R(Q,2),K===88||K===120)return NaN}else if(Z===48){switch(R(Q,1)){case 66:case 98:M=2,B=49;break;case 79:case 111:M=8,B=55;break;default:return+Q}for(H=L(Q,2),ee=H.length,oe=0;oeB)return NaN;return parseInt(H,M)}}return+Q},V=c(O,!T(" 0o1")||!T("0b1")||T("+0x1")),j=function(J){return g(k,J)&&h(function(){I(J)})},Y=function(Q){var Z=arguments.length<1?0:T(z(Q));return j(this)?f(Object(Z),this,Y):Z};Y.prototype=k,V&&!r&&(k.constructor=Y),t({global:!0,constructor:!0,wrap:!0,forced:V},{Number:Y});var G=function(J,Q){for(var Z=n?E(Q):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),K=0,M;Z.length>K;K++)a(Q,M=Z[K])&&!a(J,M)&&A(J,M,P(Q,M))};r&&D&&G(s[O],D),(V||r)&&G(s[O],T)},31919:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(i,d,e){"use strict";var t=e(94488),r=e(1222);t({target:"Number",stat:!0},{isFinite:r})},10177:function(i,d,e){"use strict";var t=e(94488),r=e(62896);t({target:"Number",stat:!0},{isInteger:r})},85690:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0},{isNaN:function(n){return n!==n}})},92114:function(i,d,e){"use strict";var t=e(94488),r=e(62896),n=Math.abs;t({target:"Number",stat:!0},{isSafeInteger:function(s){return r(s)&&n(s)<=9007199254740991}})},1017:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(i,d,e){"use strict";var t=e(94488),r=e(31280);t({target:"Number",stat:!0,forced:Number.parseFloat!==r},{parseFloat:r})},76345:function(i,d,e){"use strict";var t=e(94488),r=e(52446);t({target:"Number",stat:!0,forced:Number.parseInt!==r},{parseInt:r})},7282:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),o=e(49228),s=e(71049),u=e(53309),c=e(3338),a=RangeError,f=String,g=isFinite,p=Math.abs,b=Math.floor,h=Math.pow,E=Math.round,P=r(1 .toExponential),A=r(s),I=r("".slice),C=P(-69e-12,4)==="-6.9000e-11"&&P(1.255,2)==="1.25e+0"&&P(12345,3)==="1.235e+4"&&P(25,0)==="3e+1",O=function(){return c(function(){P(1,1/0)})&&c(function(){P(1,-1/0)})},T=function(){return!c(function(){P(1/0,1/0),P(NaN,1/0)})},D=!C||!O()||!T();t({target:"Number",proto:!0,forced:D},{toExponential:function($){var L=o(this);if($===void 0)return P(L);var R=n($);if(!g(L))return String(L);if(R<0||R>20)throw new a("Incorrect fraction digits");if(C)return P(L,R);var z="",N="",V=0,j="",Y="";if(L<0&&(z="-",L=-L),L===0)V=0,N=A("0",R+1);else{var G=u(L);V=b(G);var J=0,Q=h(10,V-R);J=E(L/Q),2*L>=(2*J+1)*Q&&(J+=1),J>=h(10,R+1)&&(J/=10,V+=1),N=f(J)}return R!==0&&(N=I(N,0,1)+"."+I(N,1)),V===0?(j="+",Y="0"):(j=V>0?"+":"-",Y=f(p(V))),N+="e"+j+Y,z+N}})},58055:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),o=e(49228),s=e(71049),u=e(3338),c=RangeError,a=String,f=Math.floor,g=r(s),p=r("".slice),b=r(1 .toFixed),h=function(O,T,D){return T===0?D:T%2===1?h(O,T-1,D*O):h(O*O,T/2,D)},E=function(O){for(var T=0,D=O;D>=4096;)T+=12,D/=4096;for(;D>=2;)T+=1,D/=2;return T},P=function(O,T,D){for(var k=-1,$=D;++k<6;)$+=T*O[k],O[k]=$%1e7,$=f($/1e7)},A=function(O,T){for(var D=6,k=0;--D>=0;)k+=O[D],O[D]=f(k/T),k=k%T*1e7},I=function(O){for(var T=6,D="";--T>=0;)if(D!==""||T===0||O[T]!==0){var k=a(O[T]);D=D===""?k:D+g("0",7-k.length)+k}return D},C=u(function(){return b(8e-5,3)!=="0.000"||b(.9,0)!=="1"||b(1.255,2)!=="1.25"||b(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!u(function(){b({})});t({target:"Number",proto:!0,forced:C},{toFixed:function(T){var D=o(this),k=n(T),$=[0,0,0,0,0,0],L="",R="0",z,N,V,j;if(k<0||k>20)throw new c("Incorrect fraction digits");if(D!==D)return"NaN";if(D<=-1e21||D>=1e21)return a(D);if(D<0&&(L="-",D=-D),D>1e-21)if(z=E(D*h(2,69,1))-69,N=z<0?D*h(2,-z,1):D/h(2,z,1),N*=4503599627370496,z=52-z,z>0){for(P($,0,N),V=k;V>=7;)P($,1e7,0),V-=7;for(P($,h(10,V,1),0),V=z-1;V>=23;)A($,8388608),V-=23;A($,1<0?(j=R.length,R=L+(j<=k?"0."+g("0",k-j)+R:p(R,0,j-k)+"."+p(R,j-k))):R=L+R,R}})},93547:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(3338),o=e(49228),s=r(1 .toPrecision),u=n(function(){return s(1,void 0)!=="1"})||!n(function(){s({})});t({target:"Number",proto:!0,forced:u},{toPrecision:function(a){return a===void 0?s(o(this)):s(o(this),a)}})},31237:function(i,d,e){"use strict";var t=e(94488),r=e(80530);t({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},17954:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(20132);t({target:"Object",stat:!0,sham:!r},{create:n})},58580:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),o=e(63335),s=e(94029),u=e(37691);r&&t({target:"Object",proto:!0,forced:n},{__defineGetter__:function(a,f){u.f(s(this),a,{get:o(f),enumerable:!0,configurable:!0})}})},47146:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(55666).f;t({target:"Object",stat:!0,forced:Object.defineProperties!==n,sham:!r},{defineProperties:n})},40416:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(37691).f;t({target:"Object",stat:!0,forced:Object.defineProperty!==n,sham:!r},{defineProperty:n})},7615:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),o=e(63335),s=e(94029),u=e(37691);r&&t({target:"Object",proto:!0,forced:n},{__defineSetter__:function(a,f){u.f(s(this),a,{set:o(f),enumerable:!0,configurable:!0})}})},72820:function(i,d,e){"use strict";var t=e(94488),r=e(88698).entries;t({target:"Object",stat:!0},{entries:function(o){return r(o)}})},86070:function(i,d,e){"use strict";var t=e(94488),r=e(13247),n=e(3338),o=e(31946),s=e(2074).onFreeze,u=Object.freeze,c=n(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!r},{freeze:function(f){return u&&o(f)?u(s(f)):f}})},23569:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(69392);t({target:"Object",stat:!0},{fromEntries:function(s){var u={};return r(s,function(c,a){n(u,c,a)},{AS_ENTRIES:!0}),u}})},55639:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(80524),o=e(71256).f,s=e(35454),u=!s||r(function(){o(1)});t({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(a,f){return o(n(a),f)}})},63046:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(48662),o=e(80524),s=e(71256),u=e(69392);t({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(a){for(var f=o(a),g=s.f,p=n(f),b={},h=0,E,P;p.length>h;)P=g(f,E=p[h++]),P!==void 0&&u(b,E,P);return b}})},464:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(53393).f,o=r(function(){return!Object.getOwnPropertyNames(1)});t({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:n})},67936:function(i,d,e){"use strict";var t=e(94488),r=e(42820),n=e(3338),o=e(92635),s=e(94029),u=!r||n(function(){o.f(1)});t({target:"Object",stat:!0,forced:u},{getOwnPropertySymbols:function(a){var f=o.f;return f?f(s(a)):[]}})},51082:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(94029),o=e(53456),s=e(4870),u=r(function(){o(1)});t({target:"Object",stat:!0,forced:u,sham:!s},{getPrototypeOf:function(a){return o(n(a))}})},83850:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(94237),o=e(63335),s=e(95955),u=e(17818),c=e(62003),a=r("Object","create"),f=n([].push);t({target:"Object",stat:!0},{groupBy:function(p,b){s(p),o(b);var h=a(null),E=0;return c(p,function(P){var A=u(b(P,E++));A in h?f(h[A],P):h[A]=[P]}),h}})},41990:function(i,d,e){"use strict";var t=e(94488),r=e(32621);t({target:"Object",stat:!0},{hasOwn:r})},55888:function(i,d,e){"use strict";var t=e(94488),r=e(12477);t({target:"Object",stat:!0,forced:Object.isExtensible!==r},{isExtensible:r})},53827:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(31946),o=e(29076),s=e(51424),u=Object.isFrozen,c=s||r(function(){u(1)});t({target:"Object",stat:!0,forced:c},{isFrozen:function(f){return!n(f)||s&&o(f)==="ArrayBuffer"?!0:u?u(f):!1}})},78143:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(31946),o=e(29076),s=e(51424),u=Object.isSealed,c=s||r(function(){u(1)});t({target:"Object",stat:!0,forced:c},{isSealed:function(f){return!n(f)||s&&o(f)==="ArrayBuffer"?!0:u?u(f):!1}})},15787:function(i,d,e){"use strict";var t=e(94488),r=e(5370);t({target:"Object",stat:!0},{is:r})},66419:function(i,d,e){"use strict";var t=e(94488),r=e(94029),n=e(7733),o=e(3338),s=o(function(){n(1)});t({target:"Object",stat:!0,forced:s},{keys:function(c){return n(r(c))}})},75765:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),o=e(94029),s=e(17818),u=e(53456),c=e(71256).f;r&&t({target:"Object",proto:!0,forced:n},{__lookupGetter__:function(f){var g=o(this),p=s(f),b;do if(b=c(g,p))return b.get;while(g=u(g))}})},14645:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),o=e(94029),s=e(17818),u=e(53456),c=e(71256).f;r&&t({target:"Object",proto:!0,forced:n},{__lookupSetter__:function(f){var g=o(this),p=s(f),b;do if(b=c(g,p))return b.set;while(g=u(g))}})},71122:function(i,d,e){"use strict";var t=e(94488),r=e(31946),n=e(2074).onFreeze,o=e(13247),s=e(3338),u=Object.preventExtensions,c=s(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!o},{preventExtensions:function(f){return u&&r(f)?u(n(f)):f}})},42084:function(i,d,e){"use strict";var t=e(35454),r=e(64110),n=e(31946),o=e(94029),s=e(95955),u=Object.getPrototypeOf,c=Object.setPrototypeOf,a=Object.prototype,f="__proto__";if(t&&u&&c&&!(f in a))try{r(a,f,{configurable:!0,get:function(){return u(o(this))},set:function(p){var b=s(this);!n(p)&&p!==null||!n(b)||c(b,p)}})}catch(g){}},25070:function(i,d,e){"use strict";var t=e(94488),r=e(31946),n=e(2074).onFreeze,o=e(13247),s=e(3338),u=Object.seal,c=s(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!o},{seal:function(f){return u&&r(f)?u(n(f)):f}})},77140:function(i,d,e){"use strict";var t=e(94488),r=e(58218);t({target:"Object",stat:!0},{setPrototypeOf:r})},15954:function(i,d,e){"use strict";var t=e(68527),r=e(2291),n=e(28488);t||r(Object.prototype,"toString",n,{unsafe:!0})},4266:function(i,d,e){"use strict";var t=e(94488),r=e(88698).values;t({target:"Object",stat:!0},{values:function(o){return r(o)}})},49988:function(i,d,e){"use strict";var t=e(94488),r=e(31280);t({global:!0,forced:parseFloat!==r},{parseFloat:r})},38823:function(i,d,e){"use strict";var t=e(94488),r=e(52446);t({global:!0,forced:parseInt!==r},{parseInt:r})},4045:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{allSettled:function(f){var g=this,p=o.f(g),b=p.resolve,h=p.reject,E=s(function(){var P=n(g.resolve),A=[],I=0,C=1;u(f,function(O){var T=I++,D=!1;C++,r(P,g,O).then(function(k){D||(D=!0,A[T]={status:"fulfilled",value:k},--C||b(A))},function(k){D||(D=!0,A[T]={status:"rejected",reason:k},--C||b(A))})}),--C||b(A)});return E.error&&h(E.value),p.promise}})},12785:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{all:function(f){var g=this,p=o.f(g),b=p.resolve,h=p.reject,E=s(function(){var P=n(g.resolve),A=[],I=0,C=1;u(f,function(O){var T=I++,D=!1;C++,r(P,g,O).then(function(k){D||(D=!0,A[T]=k,--C||b(A))},h)}),--C||b(A)});return E.error&&h(E.value),p.promise}})},50747:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(65911),s=e(73446),u=e(80734),c=e(62003),a=e(22093),f="No one promise resolved";t({target:"Promise",stat:!0,forced:a},{any:function(p){var b=this,h=o("AggregateError"),E=s.f(b),P=E.resolve,A=E.reject,I=u(function(){var C=n(b.resolve),O=[],T=0,D=1,k=!1;c(p,function($){var L=T++,R=!1;D++,r(C,b,$).then(function(z){R||k||(k=!0,P(z))},function(z){R||k||(R=!0,O[L]=z,--D||A(new h(O,f)))})}),--D||A(new h(O,f))});return I.error&&A(I.value),E.promise}})},41902:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(82830).CONSTRUCTOR,o=e(2451),s=e(65911),u=e(55327),c=e(2291),a=o&&o.prototype;if(t({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(g){return this.then(void 0,g)}}),!r&&u(o)){var f=s("Promise").prototype.catch;a.catch!==f&&c(a,"catch",f,{unsafe:!0})}},90366:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(90946),o=e(92916),s=e(89945),u=e(2291),c=e(58218),a=e(94573),f=e(51996),g=e(63335),p=e(55327),b=e(31946),h=e(56472),E=e(60473),P=e(28887).set,A=e(72933),I=e(61810),C=e(80734),O=e(66790),T=e(94844),D=e(2451),k=e(82830),$=e(73446),L="Promise",R=k.CONSTRUCTOR,z=k.REJECTION_EVENT,N=k.SUBCLASSING,V=T.getterFor(L),j=T.set,Y=D&&D.prototype,G=D,J=Y,Q=o.TypeError,Z=o.document,K=o.process,M=$.f,B=M,H=!!(Z&&Z.createEvent&&o.dispatchEvent),ee="unhandledrejection",oe="rejectionhandled",de=0,_e=1,he=2,He=1,Ue=2,tt,at,yt,Et,ye=function(Re){var Ve;return b(Re)&&p(Ve=Re.then)?Ve:!1},Fe=function(Re,Ve){var Be=Ve.value,et=Ve.state===_e,Xe=et?Re.ok:Re.fail,jt=Re.resolve,Ht=Re.reject,ge=Re.domain,ke,bt,ut;try{Xe?(et||(Ve.rejection===Ue&&$e(Ve),Ve.rejection=He),Xe===!0?ke=Be:(ge&&ge.enter(),ke=Xe(Be),ge&&(ge.exit(),ut=!0)),ke===Re.promise?Ht(new Q("Promise-chain cycle")):(bt=ye(ke))?s(bt,ke,jt,Ht):jt(ke)):Ht(Be)}catch(dt){ge&&!ut&&ge.exit(),Ht(dt)}},Qe=function(Re,Ve){Re.notified||(Re.notified=!0,A(function(){for(var Be=Re.reactions,et;et=Be.get();)Fe(et,Re);Re.notified=!1,Ve&&!Re.rejection&&At(Re)}))},qe=function(Re,Ve,Be){var et,Xe;H?(et=Z.createEvent("Event"),et.promise=Ve,et.reason=Be,et.initEvent(Re,!1,!0),o.dispatchEvent(et)):et={promise:Ve,reason:Be},!z&&(Xe=o["on"+Re])?Xe(et):Re===ee&&I("Unhandled promise rejection",Be)},At=function(Re){s(P,o,function(){var Ve=Re.facade,Be=Re.value,et=St(Re),Xe;if(et&&(Xe=C(function(){n?K.emit("unhandledRejection",Be,Ve):qe(ee,Ve,Be)}),Re.rejection=n||St(Re)?Ue:He,Xe.error))throw Xe.value})},St=function(Re){return Re.rejection!==He&&!Re.parent},$e=function(Re){s(P,o,function(){var Ve=Re.facade;n?K.emit("rejectionHandled",Ve):qe(oe,Ve,Re.value)})},we=function(Re,Ve,Be){return function(et){Re(Ve,et,Be)}},Ce=function(Re,Ve,Be){Re.done||(Re.done=!0,Be&&(Re=Be),Re.value=Ve,Re.state=he,Qe(Re,!0))},Me=function(Re,Ve,Be){if(!Re.done){Re.done=!0,Be&&(Re=Be);try{if(Re.facade===Ve)throw new Q("Promise can't be resolved itself");var et=ye(Ve);et?A(function(){var Xe={done:!1};try{s(et,Ve,we(Me,Xe,Re),we(Ce,Xe,Re))}catch(jt){Ce(Xe,jt,Re)}}):(Re.value=Ve,Re.state=_e,Qe(Re,!1))}catch(Xe){Ce({done:!1},Xe,Re)}}};if(R&&(G=function(Ve){h(this,J),g(Ve),s(tt,this);var Be=V(this);try{Ve(we(Me,Be),we(Ce,Be))}catch(et){Ce(Be,et)}},J=G.prototype,tt=function(Ve){j(this,{type:L,done:!1,notified:!1,parent:!1,reactions:new O,rejection:!1,state:de,value:void 0})},tt.prototype=u(J,"then",function(Ve,Be){var et=V(this),Xe=M(E(this,G));return et.parent=!0,Xe.ok=p(Ve)?Ve:!0,Xe.fail=p(Be)&&Be,Xe.domain=n?K.domain:void 0,et.state===de?et.reactions.add(Xe):A(function(){Fe(Xe,et)}),Xe.promise}),at=function(){var Re=new tt,Ve=V(Re);this.promise=Re,this.resolve=we(Me,Ve),this.reject=we(Ce,Ve)},$.f=M=function(Re){return Re===G||Re===yt?new at(Re):B(Re)},!r&&p(D)&&Y!==Object.prototype)){Et=Y.then,N||u(Y,"then",function(Ve,Be){var et=this;return new G(function(Xe,jt){s(Et,et,Xe,jt)}).then(Ve,Be)},{unsafe:!0});try{delete Y.constructor}catch(Re){}c&&c(Y,J)}t({global:!0,constructor:!0,wrap:!0,forced:R},{Promise:G}),a(G,L,!1,!0),f(L)},43595:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(2451),o=e(3338),s=e(65911),u=e(55327),c=e(60473),a=e(15597),f=e(2291),g=n&&n.prototype,p=!!n&&o(function(){g.finally.call({then:function(){}},function(){})});if(t({target:"Promise",proto:!0,real:!0,forced:p},{finally:function(h){var E=c(this,s("Promise")),P=u(h);return this.then(P?function(A){return a(E,h()).then(function(){return A})}:h,P?function(A){return a(E,h()).then(function(){throw A})}:h)}}),!r&&u(n)){var b=s("Promise").prototype.finally;g.finally!==b&&f(g,"finally",b,{unsafe:!0})}},24627:function(i,d,e){"use strict";e(90366),e(12785),e(41902),e(20733),e(95693),e(81930)},20733:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{race:function(f){var g=this,p=o.f(g),b=p.reject,h=s(function(){var E=n(g.resolve);u(f,function(P){r(E,g,P).then(p.resolve,b)})});return h.error&&b(h.value),p.promise}})},95693:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(73446),o=e(82830).CONSTRUCTOR;t({target:"Promise",stat:!0,forced:o},{reject:function(u){var c=n.f(this);return r(c.reject,void 0,u),c.promise}})},81930:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(16697),o=e(2451),s=e(82830).CONSTRUCTOR,u=e(15597),c=r("Promise"),a=n&&!s;t({target:"Promise",stat:!0,forced:n||s},{resolve:function(g){return u(a&&this===c?o:this,g)}})},92324:function(i,d,e){"use strict";var t=e(94488),r=e(73446);t({target:"Promise",stat:!0},{withResolvers:function(){var o=r.f(this);return{promise:o.promise,resolve:o.resolve,reject:o.reject}}})},23551:function(i,d,e){"use strict";var t=e(94488),r=e(13743),n=e(63335),o=e(80449),s=e(3338),u=!s(function(){Reflect.apply(function(){})});t({target:"Reflect",stat:!0,forced:u},{apply:function(a,f,g){return r(n(a),f,o(g))}})},74521:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(13743),o=e(4645),s=e(6086),u=e(80449),c=e(31946),a=e(20132),f=e(3338),g=r("Reflect","construct"),p=Object.prototype,b=[].push,h=f(function(){function A(){}return!(g(function(){},[],A)instanceof A)}),E=!f(function(){g(function(){})}),P=h||E;t({target:"Reflect",stat:!0,forced:P,sham:P},{construct:function(I,C){s(I),u(C);var O=arguments.length<3?I:s(arguments[2]);if(E&&!h)return g(I,C,O);if(I===O){switch(C.length){case 0:return new I;case 1:return new I(C[0]);case 2:return new I(C[0],C[1]);case 3:return new I(C[0],C[1],C[2]);case 4:return new I(C[0],C[1],C[2],C[3])}var T=[null];return n(b,T,C),new(n(o,I,T))}var D=O.prototype,k=a(c(D)?D:p),$=n(I,k,C);return c($)?$:k}})},57891:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(80449),o=e(17818),s=e(37691),u=e(3338),c=u(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})});t({target:"Reflect",stat:!0,forced:c,sham:!r},{defineProperty:function(f,g,p){n(f);var b=o(g);n(p);try{return s.f(f,b,p),!0}catch(h){return!1}}})},84138:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(71256).f;t({target:"Reflect",stat:!0},{deleteProperty:function(s,u){var c=n(r(s),u);return c&&!c.configurable?!1:delete s[u]}})},37135:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(80449),o=e(71256);t({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(u,c){return o.f(n(u),c)}})},6474:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(53456),o=e(4870);t({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(u){return n(r(u))}})},51832:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(31946),o=e(80449),s=e(60516),u=e(71256),c=e(53456);function a(f,g){var p=arguments.length<3?f:arguments[2],b,h;if(o(f)===p)return f[g];if(b=u.f(f,g),b)return s(b)?b.value:b.get===void 0?void 0:r(b.get,p);if(n(h=c(f)))return a(h,g,p)}t({target:"Reflect",stat:!0},{get:a})},40135:function(i,d,e){"use strict";var t=e(94488);t({target:"Reflect",stat:!0},{has:function(n,o){return o in n}})},7982:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(12477);t({target:"Reflect",stat:!0},{isExtensible:function(s){return r(s),n(s)}})},14893:function(i,d,e){"use strict";var t=e(94488),r=e(48662);t({target:"Reflect",stat:!0},{ownKeys:r})},49233:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(80449),o=e(13247);t({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(u){n(u);try{var c=r("Object","preventExtensions");return c&&c(u),!0}catch(a){return!1}}})},42844:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(557),o=e(58218);o&&t({target:"Reflect",stat:!0},{setPrototypeOf:function(u,c){r(u),n(c);try{return o(u,c),!0}catch(a){return!1}}})},92130:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),o=e(31946),s=e(60516),u=e(3338),c=e(37691),a=e(71256),f=e(53456),g=e(35012);function p(h,E,P){var A=arguments.length<4?h:arguments[3],I=a.f(n(h),E),C,O,T;if(!I){if(o(O=f(h)))return p(O,E,P,A);I=g(0)}if(s(I)){if(I.writable===!1||!o(A))return!1;if(C=a.f(A,E)){if(C.get||C.set||C.writable===!1)return!1;C.value=P,c.f(A,E,C)}else c.f(A,E,g(0,P))}else{if(T=I.set,T===void 0)return!1;r(T,A,P)}return!0}var b=u(function(){var h=function(){},E=c.f(new h,"a",{configurable:!0});return Reflect.set(h.prototype,"a",1,E)!==!1});t({target:"Reflect",stat:!0,forced:b},{set:p})},6536:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(94573);t({global:!0},{Reflect:{}}),n(r.Reflect,"Reflect",!0)},27228:function(i,d,e){"use strict";var t=e(35454),r=e(92916),n=e(94237),o=e(20865),s=e(25576),u=e(68151),c=e(20132),a=e(80689).f,f=e(16332),g=e(44639),p=e(69905),b=e(81644),h=e(19286),E=e(44166),P=e(2291),A=e(3338),I=e(32621),C=e(94844).enforce,O=e(51996),T=e(59893),D=e(6041),k=e(51224),$=T("match"),L=r.RegExp,R=L.prototype,z=r.SyntaxError,N=n(R.exec),V=n("".charAt),j=n("".replace),Y=n("".indexOf),G=n("".slice),J=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Q=/a/g,Z=/a/g,K=new L(Q)!==Q,M=h.MISSED_STICKY,B=h.UNSUPPORTED_Y,H=t&&(!K||M||D||k||A(function(){return Z[$]=!1,L(Q)!==Q||L(Z)===Z||String(L(Q,"i"))!=="/a/i"})),ee=function(He){for(var Ue=He.length,tt=0,at="",yt=!1,Et;tt<=Ue;tt++){if(Et=V(He,tt),Et==="\\"){at+=Et+V(He,++tt);continue}!yt&&Et==="."?at+="[\\s\\S]":(Et==="["?yt=!0:Et==="]"&&(yt=!1),at+=Et)}return at},oe=function(He){for(var Ue=He.length,tt=0,at="",yt=[],Et=c(null),ye=!1,Fe=!1,Qe=0,qe="",At;tt<=Ue;tt++){if(At=V(He,tt),At==="\\")At+=V(He,++tt);else if(At==="]")ye=!1;else if(!ye)switch(!0){case At==="[":ye=!0;break;case At==="(":N(J,G(He,tt+1))&&(tt+=2,Fe=!0),at+=At,Qe++;continue;case(At===">"&&Fe):if(qe===""||I(Et,qe))throw new z("Invalid capture group name");Et[qe]=!0,yt[yt.length]=[qe,Qe],Fe=!1,qe="";continue}Fe?qe+=At:at+=At}return[at,yt]};if(o("RegExp",H)){for(var de=function(Ue,tt){var at=f(R,this),yt=g(Ue),Et=tt===void 0,ye=[],Fe=Ue,Qe,qe,At,St,$e,we;if(!at&&yt&&Et&&Ue.constructor===de)return Ue;if((yt||f(R,Ue))&&(Ue=Ue.source,Et&&(tt=b(Fe))),Ue=Ue===void 0?"":p(Ue),tt=tt===void 0?"":p(tt),Fe=Ue,D&&"dotAll"in Q&&(qe=!!tt&&Y(tt,"s")>-1,qe&&(tt=j(tt,/s/g,""))),Qe=tt,M&&"sticky"in Q&&(At=!!tt&&Y(tt,"y")>-1,At&&B&&(tt=j(tt,/y/g,""))),k&&(St=oe(Ue),Ue=St[0],ye=St[1]),$e=s(L(Ue,tt),at?this:R,de),(qe||At||ye.length)&&(we=C($e),qe&&(we.dotAll=!0,we.raw=de(ee(Ue),Qe)),At&&(we.sticky=!0),ye.length&&(we.groups=ye)),Ue!==Fe)try{u($e,"source",Fe===""?"(?:)":Fe)}catch(Ce){}return $e},_e=a(L),he=0;_e.length>he;)E(de,L,_e[he++]);R.constructor=de,de.prototype=R,P(r,"RegExp",de,{constructor:!0})}O("RegExp")},62921:function(i,d,e){"use strict";var t=e(35454),r=e(6041),n=e(29076),o=e(64110),s=e(94844).get,u=RegExp.prototype,c=TypeError;t&&r&&o(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if(n(this)==="RegExp")return!!s(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},44001:function(i,d,e){"use strict";var t=e(94488),r=e(88736);t({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},92262:function(i,d,e){"use strict";var t=e(92916),r=e(35454),n=e(64110),o=e(82163),s=e(3338),u=t.RegExp,c=u.prototype,a=r&&s(function(){var f=!0;try{u(".","d")}catch(I){f=!1}var g={},p="",b=f?"dgimsy":"gimsy",h=function(I,C){Object.defineProperty(g,I,{get:function(){return p+=C,!0}})},E={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};f&&(E.hasIndices="d");for(var P in E)h(P,E[P]);var A=Object.getOwnPropertyDescriptor(c,"flags").get.call(g);return A!==b||p!==b});a&&n(c,"flags",{configurable:!0,get:o})},54744:function(i,d,e){"use strict";var t=e(35454),r=e(19286).MISSED_STICKY,n=e(29076),o=e(64110),s=e(94844).get,u=RegExp.prototype,c=TypeError;t&&r&&o(u,"sticky",{configurable:!0,get:function(){if(this!==u){if(n(this)==="RegExp")return!!s(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},38214:function(i,d,e){"use strict";e(44001);var t=e(94488),r=e(89945),n=e(55327),o=e(80449),s=e(69905),u=function(){var a=!1,f=/[ac]/;return f.exec=function(){return a=!0,/./.exec.apply(this,arguments)},f.test("abc")===!0&&a}(),c=/./.test;t({target:"RegExp",proto:!0,forced:!u},{test:function(a){var f=o(this),g=s(a),p=f.exec;if(!n(p))return r(c,f,g);var b=r(p,f,g);return b===null?!1:(o(b),!0)}})},12756:function(i,d,e){"use strict";var t=e(8090).PROPER,r=e(2291),n=e(80449),o=e(69905),s=e(3338),u=e(81644),c="toString",a=RegExp.prototype,f=a[c],g=s(function(){return f.call({source:"a",flags:"b"})!=="/a/b"}),p=t&&f.name!==c;(g||p)&&r(RegExp.prototype,c,function(){var h=n(this),E=o(h.source),P=o(u(h));return"/"+E+"/"+P},{unsafe:!0})},69772:function(i,d,e){"use strict";var t=e(48059),r=e(40942);t("Set",function(n){return function(){return n(this,arguments.length?arguments[0]:void 0)}},r)},93379:function(i,d,e){"use strict";e(69772)},34932:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("anchor")},{anchor:function(s){return r(this,"a","name",s)}})},62007:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),o=e(56902),s=e(69905),u=e(3338),c=r("".charAt),a=u(function(){return"\u{20BB7}".at(-2)!=="\uD842"});t({target:"String",proto:!0,forced:a},{at:function(g){var p=s(n(this)),b=p.length,h=o(g),E=h>=0?h:b+h;return E<0||E>=b?void 0:c(p,E)}})},81046:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("big")},{big:function(){return r(this,"big","","")}})},85744:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("blink")},{blink:function(){return r(this,"blink","","")}})},13494:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("bold")},{bold:function(){return r(this,"b","","")}})},90572:function(i,d,e){"use strict";var t=e(94488),r=e(13764).codeAt;t({target:"String",proto:!0},{codePointAt:function(o){return r(this,o)}})},37343:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(71256).f,o=e(61578),s=e(69905),u=e(41696),c=e(95955),a=e(86266),f=e(16697),g=r("".endsWith),p=r("".slice),b=Math.min,h=a("endsWith"),E=!f&&!h&&!!function(){var P=n(String.prototype,"endsWith");return P&&!P.writable}();t({target:"String",proto:!0,forced:!E&&!h},{endsWith:function(A){var I=s(c(this));u(A);var C=arguments.length>1?arguments[1]:void 0,O=I.length,T=C===void 0?O:b(o(C),O),D=s(A);return g?g(I,D,T):p(I,T-D.length,T)===D}})},56338:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fixed")},{fixed:function(){return r(this,"tt","","")}})},66755:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fontcolor")},{fontcolor:function(s){return r(this,"font","color",s)}})},68709:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fontsize")},{fontsize:function(s){return r(this,"font","size",s)}})},45945:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(51981),o=RangeError,s=String.fromCharCode,u=String.fromCodePoint,c=r([].join),a=!!u&&u.length!==1;t({target:"String",stat:!0,arity:1,forced:a},{fromCodePoint:function(g){for(var p=[],b=arguments.length,h=0,E;b>h;){if(E=+arguments[h++],n(E,1114111)!==E)throw new o(E+" is not a valid code point");p[h]=E<65536?s(E):s(((E-=65536)>>10)+55296,E%1024+56320)}return c(p,"")}})},75551:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(41696),o=e(95955),s=e(69905),u=e(86266),c=r("".indexOf);t({target:"String",proto:!0,forced:!u("includes")},{includes:function(f){return!!~c(s(o(this)),s(n(f)),arguments.length>1?arguments[1]:void 0)}})},32493:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),o=e(69905),s=r("".charCodeAt);t({target:"String",proto:!0},{isWellFormed:function(){for(var c=o(n(this)),a=c.length,f=0;f=56320||++f>=a||(s(c,f)&64512)!==56320))return!1}return!0}})},4939:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("italics")},{italics:function(){return r(this,"i","","")}})},20852:function(i,d,e){"use strict";var t=e(13764).charAt,r=e(69905),n=e(94844),o=e(24019),s=e(25587),u="String Iterator",c=n.set,a=n.getterFor(u);o(String,"String",function(f){c(this,{type:u,string:r(f),index:0})},function(){var g=a(this),p=g.string,b=g.index,h;return b>=p.length?s(void 0,!0):(h=t(p,b),g.index+=h.length,s(h,!1))})},81927:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("link")},{link:function(s){return r(this,"a","href",s)}})},18827:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(34114),o=e(83126),s=e(25587),u=e(95955),c=e(61578),a=e(69905),f=e(80449),g=e(4112),p=e(29076),b=e(44639),h=e(81644),E=e(53776),P=e(2291),A=e(3338),I=e(59893),C=e(60473),O=e(52216),T=e(94338),D=e(94844),k=e(16697),$=I("matchAll"),L="RegExp String",R=L+" Iterator",z=D.set,N=D.getterFor(R),V=RegExp.prototype,j=TypeError,Y=n("".indexOf),G=n("".matchAll),J=!!G&&!A(function(){G("a",/./)}),Q=o(function(M,B,H,ee){z(this,{type:R,regexp:M,string:B,global:H,unicode:ee,done:!1})},L,function(){var M=N(this);if(M.done)return s(void 0,!0);var B=M.regexp,H=M.string,ee=T(B,H);return ee===null?(M.done=!0,s(void 0,!0)):M.global?(a(ee[0])===""&&(B.lastIndex=O(H,c(B.lastIndex),M.unicode)),s(ee,!1)):(M.done=!0,s(ee,!1))}),Z=function(K){var M=f(this),B=a(K),H=C(M,RegExp),ee=a(h(M)),oe,de,_e;return oe=new H(H===RegExp?M.source:M,ee),de=!!~Y(ee,"g"),_e=!!~Y(ee,"u"),oe.lastIndex=c(M.lastIndex),new Q(oe,B,de,_e)};t({target:"String",proto:!0,forced:J},{matchAll:function(M){var B=u(this),H,ee,oe,de;if(g(M)){if(J)return G(B,M)}else{if(b(M)&&(H=a(u(h(M))),!~Y(H,"g")))throw new j("`.matchAll` does not allow non-global regexes");if(J)return G(B,M);if(oe=E(M,$),oe===void 0&&k&&p(M)==="RegExp"&&(oe=Z),oe)return r(oe,M,B)}return ee=a(B),de=new RegExp(M,"g"),k?r(Z,de,ee):de[$](ee)}}),k||$ in V||P(V,$,Z)},46302:function(i,d,e){"use strict";var t=e(89945),r=e(8662),n=e(80449),o=e(4112),s=e(61578),u=e(69905),c=e(95955),a=e(53776),f=e(52216),g=e(94338);r("match",function(p,b,h){return[function(P){var A=c(this),I=o(P)?void 0:a(P,p);return I?t(I,P,A):new RegExp(P)[p](u(A))},function(E){var P=n(this),A=u(E),I=h(b,P,A);if(I.done)return I.value;if(!P.global)return g(P,A);var C=P.unicode;P.lastIndex=0;for(var O=[],T=0,D;(D=g(P,A))!==null;){var k=u(D[0]);O[T]=k,k===""&&(P.lastIndex=f(A,s(P.lastIndex),C)),T++}return T===0?null:O}]})},76718:function(i,d,e){"use strict";var t=e(94488),r=e(85571).end,n=e(98352);t({target:"String",proto:!0,forced:n},{padEnd:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},79172:function(i,d,e){"use strict";var t=e(94488),r=e(85571).start,n=e(98352);t({target:"String",proto:!0,forced:n},{padStart:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},32192:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(80524),o=e(94029),s=e(69905),u=e(82762),c=r([].push),a=r([].join);t({target:"String",stat:!0},{raw:function(g){var p=n(o(g).raw),b=u(p);if(!b)return"";for(var h=arguments.length,E=[],P=0;;){if(c(E,s(p[P++])),P===b)return a(E,"");PD.length?-1:k===""?$:A(D,k,$)};t({target:"String",proto:!0},{replaceAll:function(k,$){var L=o(this),R,z,N,V,j,Y,G,J,Q,Z=0,K=0,M="";if(!u(k)){if(R=c(k),R&&(z=a(o(g(k))),!~A(z,"g")))throw new P("`.replaceAll` does not allow non-global regexes");if(N=f(k,E),N)return r(N,k,L,$);if(h&&R)return I(a(L),k,$)}for(V=a(L),j=a(k),Y=s($),Y||($=a($)),G=j.length,J=O(1,G),Z=T(V,j,0);Z!==-1;)Q=Y?a($(j,Z,V)):p(j,V,Z,[],void 0,$),M+=C(V,K,Z)+Q,K=Z+G,Z=T(V,j,Z+J);return K")!=="7"});o("replace",function(j,Y,G){var J=N?"$":"$0";return[function(Z,K){var M=b(this),B=a(Z)?void 0:E(Z,C);return B?r(B,Z,M,K):r(Y,p(M),Z,K)},function(Q,Z){var K=u(this),M=p(Q);if(typeof Z=="string"&&$(Z,J)===-1&&$(Z,"$<")===-1){var B=G(Y,K,M,Z);if(B.done)return B.value}var H=c(Z);H||(Z=p(Z));var ee=K.global,oe;ee&&(oe=K.unicode,K.lastIndex=0);for(var de=[],_e;_e=A(K,M),!(_e===null||(k(de,_e),!ee));){var he=p(_e[0]);he===""&&(K.lastIndex=h(M,g(K.lastIndex),oe))}for(var He="",Ue=0,tt=0;tt=Ue&&(He+=L(M,Ue,yt)+ye,Ue=yt+at.length)}return He+L(M,Ue)}]},!V||!z||N)},62925:function(i,d,e){"use strict";var t=e(89945),r=e(8662),n=e(80449),o=e(4112),s=e(95955),u=e(5370),c=e(69905),a=e(53776),f=e(94338);r("search",function(g,p,b){return[function(E){var P=s(this),A=o(E)?void 0:a(E,g);return A?t(A,E,P):new RegExp(E)[g](c(P))},function(h){var E=n(this),P=c(h),A=b(p,E,P);if(A.done)return A.value;var I=E.lastIndex;u(I,0)||(E.lastIndex=0);var C=f(E,P);return u(E.lastIndex,I)||(E.lastIndex=I),C===null?-1:C.index}]})},60462:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("small")},{small:function(){return r(this,"small","","")}})},9595:function(i,d,e){"use strict";var t=e(13743),r=e(89945),n=e(94237),o=e(8662),s=e(80449),u=e(4112),c=e(44639),a=e(95955),f=e(60473),g=e(52216),p=e(61578),b=e(69905),h=e(53776),E=e(71698),P=e(94338),A=e(88736),I=e(19286),C=e(3338),O=I.UNSUPPORTED_Y,T=4294967295,D=Math.min,k=[].push,$=n(/./.exec),L=n(k),R=n("".slice),z=!C(function(){var N=/(?:)/,V=N.exec;N.exec=function(){return V.apply(this,arguments)};var j="ab".split(N);return j.length!==2||j[0]!=="a"||j[1]!=="b"});o("split",function(N,V,j){var Y;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?Y=function(G,J){var Q=b(a(this)),Z=J===void 0?T:J>>>0;if(Z===0)return[];if(G===void 0)return[Q];if(!c(G))return r(V,Q,G,Z);for(var K=[],M=(G.ignoreCase?"i":"")+(G.multiline?"m":"")+(G.unicode?"u":"")+(G.sticky?"y":""),B=0,H=new RegExp(G.source,M+"g"),ee,oe,de;(ee=r(A,H,Q))&&(oe=H.lastIndex,!(oe>B&&(L(K,R(Q,B,ee.index)),ee.length>1&&ee.index=Z)));)H.lastIndex===ee.index&&H.lastIndex++;return B===Q.length?(de||!$(H,""))&&L(K,""):L(K,R(Q,B)),K.length>Z?E(K,0,Z):K}:"0".split(void 0,0).length?Y=function(G,J){return G===void 0&&J===0?[]:r(V,this,G,J)}:Y=V,[function(J,Q){var Z=a(this),K=u(J)?void 0:h(J,N);return K?r(K,J,Z,Q):r(Y,b(Z),J,Q)},function(G,J){var Q=s(this),Z=b(G),K=j(Y,Q,Z,J,Y!==V);if(K.done)return K.value;var M=f(Q,RegExp),B=Q.unicode,H=(Q.ignoreCase?"i":"")+(Q.multiline?"m":"")+(Q.unicode?"u":"")+(O?"g":"y"),ee=new M(O?"^(?:"+Q.source+")":Q,H),oe=J===void 0?T:J>>>0;if(oe===0)return[];if(Z.length===0)return P(ee,Z)===null?[Z]:[];for(var de=0,_e=0,he=[];_e1?arguments[1]:void 0,I.length)),O=s(A);return g?g(I,O,C):p(I,C,C+O.length)===O}})},72571:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("strike")},{strike:function(){return r(this,"strike","","")}})},71200:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("sub")},{sub:function(){return r(this,"sub","","")}})},70917:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),o=e(56902),s=e(69905),u=r("".slice),c=Math.max,a=Math.min,f=!"".substr||"ab".substr(-1)!=="b";t({target:"String",proto:!0,forced:f},{substr:function(p,b){var h=s(n(this)),E=h.length,P=o(p),A,I;return P===1/0&&(P=0),P<0&&(P=c(E+P,0)),A=b===void 0?E:o(b),A<=0||A===1/0?"":(I=a(P+A,E),P>=I?"":u(h,P,I))}})},85767:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("sup")},{sup:function(){return r(this,"sup","","")}})},53427:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(94237),o=e(95955),s=e(69905),u=e(3338),c=Array,a=n("".charAt),f=n("".charCodeAt),g=n([].join),p="".toWellFormed,b="\uFFFD",h=p&&u(function(){return r(p,1)!=="1"});t({target:"String",proto:!0,forced:h},{toWellFormed:function(){var P=s(o(this));if(h)return r(p,P);for(var A=P.length,I=c(A),C=0;C=56320||C+1>=A||(f(P,C+1)&64512)!==56320?I[C]=b:(I[C]=a(P,C),I[++C]=a(P,C))}return g(I,"")}})},49257:function(i,d,e){"use strict";e(20189);var t=e(94488),r=e(9591);t({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==r},{trimEnd:r})},93980:function(i,d,e){"use strict";var t=e(94488),r=e(27374);t({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==r},{trimLeft:r})},20189:function(i,d,e){"use strict";var t=e(94488),r=e(9591);t({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==r},{trimRight:r})},72910:function(i,d,e){"use strict";e(93980);var t=e(94488),r=e(27374);t({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==r},{trimStart:r})},70878:function(i,d,e){"use strict";var t=e(94488),r=e(52971).trim,n=e(18105);t({target:"String",proto:!0,forced:n("trim")},{trim:function(){return r(this)}})},64003:function(i,d,e){"use strict";var t=e(94674);t("asyncIterator")},39161:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(89945),o=e(94237),s=e(16697),u=e(35454),c=e(42820),a=e(3338),f=e(32621),g=e(16332),p=e(80449),b=e(80524),h=e(17818),E=e(69905),P=e(35012),A=e(20132),I=e(7733),C=e(80689),O=e(53393),T=e(92635),D=e(71256),k=e(37691),$=e(55666),L=e(27597),R=e(2291),z=e(64110),N=e(77898),V=e(11898),j=e(54406),Y=e(6145),G=e(59893),J=e(38282),Q=e(94674),Z=e(14311),K=e(94573),M=e(94844),B=e(90560).forEach,H=V("hidden"),ee="Symbol",oe="prototype",de=M.set,_e=M.getterFor(ee),he=Object[oe],He=r.Symbol,Ue=He&&He[oe],tt=r.RangeError,at=r.TypeError,yt=r.QObject,Et=D.f,ye=k.f,Fe=O.f,Qe=L.f,qe=o([].push),At=N("symbols"),St=N("op-symbols"),$e=N("wks"),we=!yt||!yt[oe]||!yt[oe].findChild,Ce=function(ke,bt,ut){var dt=Et(he,bt);dt&&delete he[bt],ye(ke,bt,ut),dt&&ke!==he&&ye(he,bt,dt)},Me=u&&a(function(){return A(ye({},"a",{get:function(){return ye(this,"a",{value:7}).a}})).a!==7})?Ce:ye,Re=function(ke,bt){var ut=At[ke]=A(Ue);return de(ut,{type:ee,tag:ke,description:bt}),u||(ut.description=bt),ut},Ve=function(bt,ut,dt){bt===he&&Ve(St,ut,dt),p(bt);var ot=h(ut);return p(dt),f(At,ot)?(dt.enumerable?(f(bt,H)&&bt[H][ot]&&(bt[H][ot]=!1),dt=A(dt,{enumerable:P(0,!1)})):(f(bt,H)||ye(bt,H,P(1,{})),bt[H][ot]=!0),Me(bt,ot,dt)):ye(bt,ot,dt)},Be=function(bt,ut){p(bt);var dt=b(ut),ot=I(dt).concat(ge(dt));return B(ot,function(Zt){(!u||n(Xe,dt,Zt))&&Ve(bt,Zt,dt[Zt])}),bt},et=function(bt,ut){return ut===void 0?A(bt):Be(A(bt),ut)},Xe=function(bt){var ut=h(bt),dt=n(Qe,this,ut);return this===he&&f(At,ut)&&!f(St,ut)?!1:dt||!f(this,ut)||!f(At,ut)||f(this,H)&&this[H][ut]?dt:!0},jt=function(bt,ut){var dt=b(bt),ot=h(ut);if(!(dt===he&&f(At,ot)&&!f(St,ot))){var Zt=Et(dt,ot);return Zt&&f(At,ot)&&!(f(dt,H)&&dt[H][ot])&&(Zt.enumerable=!0),Zt}},Ht=function(bt){var ut=Fe(b(bt)),dt=[];return B(ut,function(ot){!f(At,ot)&&!f(j,ot)&&qe(dt,ot)}),dt},ge=function(ke){var bt=ke===he,ut=Fe(bt?St:b(ke)),dt=[];return B(ut,function(ot){f(At,ot)&&(!bt||f(he,ot))&&qe(dt,At[ot])}),dt};c||(He=function(){if(g(Ue,this))throw new at("Symbol is not a constructor");var bt=!arguments.length||arguments[0]===void 0?void 0:E(arguments[0]),ut=Y(bt),dt=function(ot){var Zt=this===void 0?r:this;Zt===he&&n(dt,St,ot),f(Zt,H)&&f(Zt[H],ut)&&(Zt[H][ut]=!1);var it=P(1,ot);try{Me(Zt,ut,it)}catch(le){if(!(le instanceof tt))throw le;Ce(Zt,ut,it)}};return u&&we&&Me(he,ut,{configurable:!0,set:dt}),Re(ut,bt)},Ue=He[oe],R(Ue,"toString",function(){return _e(this).tag}),R(He,"withoutSetter",function(ke){return Re(Y(ke),ke)}),L.f=Xe,k.f=Ve,$.f=Be,D.f=jt,C.f=O.f=Ht,T.f=ge,J.f=function(ke){return Re(G(ke),ke)},u&&(z(Ue,"description",{configurable:!0,get:function(){return _e(this).description}}),s||R(he,"propertyIsEnumerable",Xe,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:He}),B(I($e),function(ke){Q(ke)}),t({target:ee,stat:!0,forced:!c},{useSetter:function(){we=!0},useSimple:function(){we=!1}}),t({target:"Object",stat:!0,forced:!c,sham:!u},{create:et,defineProperty:Ve,defineProperties:Be,getOwnPropertyDescriptor:jt}),t({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:Ht}),Z(),K(He,ee),j[H]=!0},44852:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(92916),o=e(94237),s=e(32621),u=e(55327),c=e(16332),a=e(69905),f=e(64110),g=e(24538),p=n.Symbol,b=p&&p.prototype;if(r&&u(p)&&(!("description"in b)||p().description!==void 0)){var h={},E=function(){var k=arguments.length<1||arguments[0]===void 0?void 0:a(arguments[0]),$=c(b,this)?new p(k):k===void 0?p():p(k);return k===""&&(h[$]=!0),$};g(E,p),E.prototype=b,b.constructor=E;var P=String(p("description detection"))==="Symbol(description detection)",A=o(b.valueOf),I=o(b.toString),C=/^Symbol\((.*)\)[^)]+$/,O=o("".replace),T=o("".slice);f(b,"description",{configurable:!0,get:function(){var k=A(this);if(s(h,k))return"";var $=I(k),L=P?T($,7,-1):O($,C,"$1");return L===""?void 0:L}}),t({global:!0,constructor:!0,forced:!0},{Symbol:E})}},54524:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(32621),o=e(69905),s=e(77898),u=e(60798),c=s("string-to-symbol-registry"),a=s("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!u},{for:function(f){var g=o(f);if(n(c,g))return c[g];var p=r("Symbol")(g);return c[g]=p,a[p]=g,p}})},17898:function(i,d,e){"use strict";var t=e(94674);t("hasInstance")},40902:function(i,d,e){"use strict";var t=e(94674);t("isConcatSpreadable")},2259:function(i,d,e){"use strict";var t=e(94674);t("iterator")},68557:function(i,d,e){"use strict";e(39161),e(54524),e(32340),e(54226),e(67936)},32340:function(i,d,e){"use strict";var t=e(94488),r=e(32621),n=e(18446),o=e(40593),s=e(77898),u=e(60798),c=s("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!u},{keyFor:function(f){if(!n(f))throw new TypeError(o(f)+" is not a symbol");if(r(c,f))return c[f]}})},69811:function(i,d,e){"use strict";var t=e(94674);t("matchAll")},14589:function(i,d,e){"use strict";var t=e(94674);t("match")},18114:function(i,d,e){"use strict";var t=e(94674);t("replace")},23844:function(i,d,e){"use strict";var t=e(94674);t("search")},39581:function(i,d,e){"use strict";var t=e(94674);t("species")},40632:function(i,d,e){"use strict";var t=e(94674);t("split")},22690:function(i,d,e){"use strict";var t=e(94674),r=e(14311);t("toPrimitive"),r()},7786:function(i,d,e){"use strict";var t=e(65911),r=e(94674),n=e(94573);r("toStringTag"),n(t("Symbol"),"Symbol")},99062:function(i,d,e){"use strict";var t=e(94674);t("unscopables")},35246:function(i,d,e){"use strict";var t=e(58261),r=e(82762),n=e(56902),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("at",function(c){var a=o(this),f=r(a),g=n(c),p=g>=0?g:f+g;return p<0||p>=f?void 0:a[p]})},83470:function(i,d,e){"use strict";var t=e(94237),r=e(58261),n=e(92670),o=t(n),s=r.aTypedArray,u=r.exportTypedArrayMethod;u("copyWithin",function(a,f){return o(s(this),a,f,arguments.length>2?arguments[2]:void 0)})},79641:function(i,d,e){"use strict";var t=e(58261),r=e(90560).every,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("every",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},72397:function(i,d,e){"use strict";var t=e(58261),r=e(75202),n=e(93303),o=e(97607),s=e(89945),u=e(94237),c=e(3338),a=t.aTypedArray,f=t.exportTypedArrayMethod,g=u("".slice),p=c(function(){var b=0;return new Int8Array(2).fill({valueOf:function(){return b++}}),b!==1});f("fill",function(h){var E=arguments.length;a(this);var P=g(o(this),0,3)==="Big"?n(h):+h;return s(r,this,P,E>1?arguments[1]:void 0,E>2?arguments[2]:void 0)},p)},24860:function(i,d,e){"use strict";var t=e(58261),r=e(90560).filter,n=e(27607),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("filter",function(c){var a=r(o(this),c,arguments.length>1?arguments[1]:void 0);return n(this,a)})},56233:function(i,d,e){"use strict";var t=e(58261),r=e(90560).findIndex,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("findIndex",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},64344:function(i,d,e){"use strict";var t=e(58261),r=e(53279).findLastIndex,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("findLastIndex",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},59419:function(i,d,e){"use strict";var t=e(58261),r=e(53279).findLast,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("findLast",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},19320:function(i,d,e){"use strict";var t=e(58261),r=e(90560).find,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("find",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},84432:function(i,d,e){"use strict";var t=e(69733);t("Float32",function(r){return function(o,s,u){return r(this,o,s,u)}})},59022:function(i,d,e){"use strict";var t=e(69733);t("Float64",function(r){return function(o,s,u){return r(this,o,s,u)}})},5316:function(i,d,e){"use strict";var t=e(58261),r=e(90560).forEach,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("forEach",function(u){r(n(this),u,arguments.length>1?arguments[1]:void 0)})},93744:function(i,d,e){"use strict";var t=e(59627),r=e(58261).exportTypedArrayStaticMethod,n=e(50706);r("from",n,t)},19299:function(i,d,e){"use strict";var t=e(58261),r=e(22999).includes,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("includes",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},15286:function(i,d,e){"use strict";var t=e(58261),r=e(22999).indexOf,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("indexOf",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},51054:function(i,d,e){"use strict";var t=e(69733);t("Int16",function(r){return function(o,s,u){return r(this,o,s,u)}})},60330:function(i,d,e){"use strict";var t=e(69733);t("Int32",function(r){return function(o,s,u){return r(this,o,s,u)}})},19363:function(i,d,e){"use strict";var t=e(69733);t("Int8",function(r){return function(o,s,u){return r(this,o,s,u)}})},91927:function(i,d,e){"use strict";var t=e(92916),r=e(3338),n=e(94237),o=e(58261),s=e(11005),u=e(59893),c=u("iterator"),a=t.Uint8Array,f=n(s.values),g=n(s.keys),p=n(s.entries),b=o.aTypedArray,h=o.exportTypedArrayMethod,E=a&&a.prototype,P=!r(function(){E[c].call([1])}),A=!!E&&E.values&&E[c]===E.values&&E.values.name==="values",I=function(){return f(b(this))};h("entries",function(){return p(b(this))},P),h("keys",function(){return g(b(this))},P),h("values",I,P||!A,{name:"values"}),h(c,I,P||!A,{name:"values"})},27730:function(i,d,e){"use strict";var t=e(58261),r=e(94237),n=t.aTypedArray,o=t.exportTypedArrayMethod,s=r([].join);o("join",function(c){return s(n(this),c)})},58707:function(i,d,e){"use strict";var t=e(58261),r=e(13743),n=e(55009),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("lastIndexOf",function(c){var a=arguments.length;return r(n,o(this),a>1?[c,arguments[1]]:[c])})},41356:function(i,d,e){"use strict";var t=e(58261),r=e(90560).map,n=e(31384),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("map",function(c){return r(o(this),c,arguments.length>1?arguments[1]:void 0,function(a,f){return new(n(a))(f)})})},51606:function(i,d,e){"use strict";var t=e(58261),r=e(59627),n=t.aTypedArrayConstructor,o=t.exportTypedArrayStaticMethod;o("of",function(){for(var u=0,c=arguments.length,a=new(n(this))(c);c>u;)a[u]=arguments[u++];return a},r)},38458:function(i,d,e){"use strict";var t=e(58261),r=e(16370).right,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("reduceRight",function(u){var c=arguments.length;return r(n(this),u,c,c>1?arguments[1]:void 0)})},8966:function(i,d,e){"use strict";var t=e(58261),r=e(16370).left,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("reduce",function(u){var c=arguments.length;return r(n(this),u,c,c>1?arguments[1]:void 0)})},71957:function(i,d,e){"use strict";var t=e(58261),r=t.aTypedArray,n=t.exportTypedArrayMethod,o=Math.floor;n("reverse",function(){for(var u=this,c=r(u).length,a=o(c/2),f=0,g;f1?arguments[1]:void 0,1),O=u(I);if(E)return r(p,this,O,C);var T=this.length,D=o(O),k=0;if(D+C>T)throw new a("Wrong length");for(;kh;)P[h]=p[h++];return P},c)},96519:function(i,d,e){"use strict";var t=e(58261),r=e(90560).some,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("some",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},95576:function(i,d,e){"use strict";var t=e(92916),r=e(34114),n=e(3338),o=e(63335),s=e(63668),u=e(58261),c=e(78177),a=e(17687),f=e(46573),g=e(19684),p=u.aTypedArray,b=u.exportTypedArrayMethod,h=t.Uint16Array,E=h&&r(h.prototype.sort),P=!!E&&!(n(function(){E(new h(2),null)})&&n(function(){E(new h(2),{})})),A=!!E&&!n(function(){if(f)return f<74;if(c)return c<67;if(a)return!0;if(g)return g<602;var C=new h(516),O=Array(516),T,D;for(T=0;T<516;T++)D=T%4,C[T]=515-T,O[T]=T-2*D+3;for(E(C,function(k,$){return(k/4|0)-($/4|0)}),T=0;T<516;T++)if(C[T]!==O[T])return!0}),I=function(C){return function(O,T){return C!==void 0?+C(O,T)||0:T!==T?-1:O!==O?1:O===0&&T===0?1/O>0&&1/T<0?1:-1:O>T}};b("sort",function(O){return O!==void 0&&o(O),A?E(this,O):s(p(this),I(O))},!A||P)},63079:function(i,d,e){"use strict";var t=e(58261),r=e(61578),n=e(51981),o=e(31384),s=t.aTypedArray,u=t.exportTypedArrayMethod;u("subarray",function(a,f){var g=s(this),p=g.length,b=n(a,p),h=o(g);return new h(g.buffer,g.byteOffset+b*g.BYTES_PER_ELEMENT,r((f===void 0?p:n(f,p))-b))})},8995:function(i,d,e){"use strict";var t=e(92916),r=e(13743),n=e(58261),o=e(3338),s=e(30867),u=t.Int8Array,c=n.aTypedArray,a=n.exportTypedArrayMethod,f=[].toLocaleString,g=!!u&&o(function(){f.call(new u(1))}),p=o(function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()})||!o(function(){u.prototype.toLocaleString.call([1,2])});a("toLocaleString",function(){return r(f,g?s(c(this)):c(this),s(arguments))},p)},23080:function(i,d,e){"use strict";var t=e(85903),r=e(58261),n=r.aTypedArray,o=r.exportTypedArrayMethod,s=r.getTypedArrayConstructor;o("toReversed",function(){return t(n(this),s(this))})},74701:function(i,d,e){"use strict";var t=e(58261),r=e(94237),n=e(63335),o=e(69478),s=t.aTypedArray,u=t.getTypedArrayConstructor,c=t.exportTypedArrayMethod,a=r(t.TypedArrayPrototype.sort);c("toSorted",function(g){g!==void 0&&n(g);var p=s(this),b=o(u(p),p);return a(b,g)})},91809:function(i,d,e){"use strict";var t=e(58261).exportTypedArrayMethod,r=e(3338),n=e(92916),o=e(94237),s=n.Uint8Array,u=s&&s.prototype||{},c=[].toString,a=o([].join);r(function(){c.call({})})&&(c=function(){return a(this)});var f=u.toString!==c;t("toString",c,f)},64336:function(i,d,e){"use strict";var t=e(69733);t("Uint16",function(r){return function(o,s,u){return r(this,o,s,u)}})},63914:function(i,d,e){"use strict";var t=e(69733);t("Uint32",function(r){return function(o,s,u){return r(this,o,s,u)}})},55234:function(i,d,e){"use strict";var t=e(69733);t("Uint8",function(r){return function(o,s,u){return r(this,o,s,u)}})},88104:function(i,d,e){"use strict";var t=e(69733);t("Uint8",function(r){return function(o,s,u){return r(this,o,s,u)}},!0)},77517:function(i,d,e){"use strict";var t=e(82041),r=e(58261),n=e(75406),o=e(56902),s=e(93303),u=r.aTypedArray,c=r.getTypedArrayConstructor,a=r.exportTypedArrayMethod,f=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(g){return g===8}}();a("with",function(g,p){var b=u(this),h=o(g),E=n(b)?s(p):+p;return t(b,c(b),h,E)},!f)},30149:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(69905),o=String.fromCharCode,s=r("".charAt),u=r(/./.exec),c=r("".slice),a=/^[\da-f]{2}$/i,f=/^[\da-f]{4}$/i;t({global:!0},{unescape:function(p){for(var b=n(p),h="",E=b.length,P=0,A,I;P1?arguments[1]:void 0)}}),n("filterOut")},55885:function(i,d,e){"use strict";var t=e(94488),r=e(90560).filterReject,n=e(81181);t({target:"Array",proto:!0,forced:!0},{filterReject:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("filterReject")},91130:function(i,d,e){"use strict";var t=e(94488),r=e(32278);t({target:"Array",stat:!0},{fromAsync:r})},64963:function(i,d,e){"use strict";var t=e(94488),r=e(45601),n=e(81181),o=e(33940),s=e(16697);t({target:"Array",proto:!0,name:"groupToMap",forced:s||!r("groupByToMap")},{groupByToMap:o}),n("groupByToMap")},8604:function(i,d,e){"use strict";var t=e(94488),r=e(36444),n=e(45601),o=e(81181);t({target:"Array",proto:!0,forced:!n("groupBy")},{groupBy:function(u){var c=arguments.length>1?arguments[1]:void 0;return r(this,u,c)}}),o("groupBy")},25178:function(i,d,e){"use strict";var t=e(94488),r=e(81181),n=e(33940),o=e(16697);t({target:"Array",proto:!0,forced:o},{groupToMap:n}),r("groupToMap")},39034:function(i,d,e){"use strict";var t=e(94488),r=e(36444),n=e(81181);t({target:"Array",proto:!0},{group:function(s){var u=arguments.length>1?arguments[1]:void 0;return r(this,s,u)}}),n("group")},1905:function(i,d,e){"use strict";var t=e(94488),r=e(18589),n=Object.isFrozen,o=function(s,u){if(!n||!r(s)||!n(s))return!1;for(var c=0,a=s.length,f;c1?arguments[1]:!1);return n([c&255,c>>8&255],10)}})},93236:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=r(DataView.prototype.getUint8);t({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(s){return n(this,s)}})},42212:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(97607),o=e(24225),s=e(61618).pack,u=e(35175),c=TypeError,a=r(DataView.prototype.setUint16);t({target:"DataView",proto:!0},{setFloat16:function(g,p){if(n(this)!=="DataView")throw new c("Incorrect receiver");var b=o(g),h=s(u(p),10,2);return a(this,b,h[1]<<8|h[0],arguments.length>2?arguments[2]:!1)}})},63923:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(97607),o=e(24225),s=e(86350),u=TypeError,c=r(DataView.prototype.setUint8);t({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(f,g){if(n(this)!=="DataView")throw new u("Incorrect receiver");var p=o(f);return c(this,p,s(g))}})},2278:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(65911),o=e(63335),s=e(56472),u=e(2291),c=e(66477),a=e(64110),f=e(59893),g=e(94844),p=e(5978),b=n("SuppressedError"),h=ReferenceError,E=f("dispose"),P=f("toStringTag"),A="DisposableStack",I=g.set,C=g.getterFor(A),O="sync-dispose",T="disposed",D="pending",k=function(R){var z=C(R);if(z.state===T)throw new h(A+" already disposed");return z},$=function(){I(s(this,L),{type:A,state:D,stack:[]}),r||(this.disposed=!1)},L=$.prototype;c(L,{dispose:function(){var z=C(this);if(z.state!==T){z.state=T,r||(this.disposed=!0);for(var N=z.stack,V=N.length,j=!1,Y;V;){var G=N[--V];N[V]=null;try{G()}catch(J){j?Y=new b(J,Y):(j=!0,Y=J)}}if(z.stack=null,j)throw Y}},use:function(z){return p(k(this),z,O),z},adopt:function(z,N){var V=k(this);return o(N),p(V,void 0,O,function(){N(z)}),z},defer:function(z){var N=k(this);o(z),p(N,void 0,O,z)},move:function(){var z=k(this),N=new $;return C(N).stack=z.stack,z.stack=[],z.state=T,r||(this.disposed=!0),N}}),r&&a(L,"disposed",{configurable:!0,get:function(){return C(this).state===T}}),u(L,E,L.dispose,{name:"dispose"}),u(L,P,A,{nonWritable:!0}),t({global:!0,constructor:!0},{DisposableStack:$})},36955:function(i,d,e){"use strict";var t=e(94488),r=e(47739);t({target:"Function",proto:!0,forced:!0},{demethodize:r})},77326:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(55327),o=e(15212),s=e(32621),u=e(35454),c=Object.getOwnPropertyDescriptor,a=/^\s*class\b/,f=r(a.exec),g=function(p){try{if(!u||!f(a,o(p)))return!1}catch(h){}var b=c(p,"prototype");return!!b&&s(b,"writable")&&!b.writable};t({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(b){return n(b)&&!g(b)}})},53571:function(i,d,e){"use strict";var t=e(94488),r=e(39812);t({target:"Function",stat:!0,forced:!0},{isConstructor:r})},28670:function(i,d,e){"use strict";var t=e(59893),r=e(37691).f,n=t("metadata"),o=Function.prototype;o[n]===void 0&&r(o,n,{value:null})},31050:function(i,d,e){"use strict";var t=e(94488),r=e(47739);t({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:r})},96364:function(i,d,e){"use strict";var t=e(94488),r=e(24771);t({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:r})},25321:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(56472),o=e(80449),s=e(55327),u=e(53456),c=e(64110),a=e(69392),f=e(3338),g=e(32621),p=e(59893),b=e(46571).IteratorPrototype,h=e(35454),E=e(16697),P="constructor",A="Iterator",I=p("toStringTag"),C=TypeError,O=r[A],T=E||!s(O)||O.prototype!==b||!f(function(){O({})}),D=function(){if(n(this,b),u(this)===b)throw new C("Abstract class Iterator not directly constructable")},k=function($,L){h?c(b,$,{configurable:!0,get:function(){return L},set:function(R){if(o(this),this===b)throw new C("You can't redefine this property");g(this,$)?this[$]=R:a(this,$,R)}}):b[$]=L};g(b,I)||k(I,A),(T||!g(b,P)||b[P]===Object)&&k(P,D),D.prototype=b,t({global:!0,constructor:!0,forced:T},{Iterator:D})},46304:function(i,d,e){"use strict";var t=e(89945),r=e(2291),n=e(53776),o=e(32621),s=e(59893),u=e(46571).IteratorPrototype,c=s("dispose");o(u,c)||r(u,c,function(){var a=n(this,"return");a&&t(a,this)})},55163:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),o=e(10731),s=e(2279),u=e(51358),c=e(20547),a=e(16697),f=c(function(){for(var g=this.iterator,p=this.next,b,h;this.remaining;)if(this.remaining--,b=n(r(p,g)),h=this.done=!!b.done,h)return;if(b=n(r(p,g)),h=this.done=!!b.done,!h)return b.value});t({target:"Iterator",proto:!0,real:!0,forced:a},{drop:function(p){n(this);var b=u(s(+p));return new f(o(this),{remaining:b})}})},78722:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{every:function(c){o(this),n(c);var a=s(this),f=0;return!r(a,function(g,p){if(!c(g,f++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},35977:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(80449),s=e(10731),u=e(20547),c=e(46319),a=e(16697),f=u(function(){for(var g=this.iterator,p=this.predicate,b=this.next,h,E,P;;){if(h=o(r(b,g)),E=this.done=!!h.done,E)return;if(P=h.value,c(g,p,[P,this.counter++],!0))return P}});t({target:"Iterator",proto:!0,real:!0,forced:a},{filter:function(p){return o(this),n(p),new f(s(this),{predicate:p})}})},81848:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{find:function(c){o(this),n(c);var a=s(this),f=0;return r(a,function(g,p){if(c(g,f++))return p(g)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},52867:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(80449),s=e(10731),u=e(7157),c=e(20547),a=e(67996),f=e(16697),g=c(function(){for(var p=this.iterator,b=this.mapper,h,E;;){if(E=this.inner)try{if(h=o(r(E.next,E.iterator)),!h.done)return h.value;this.inner=null}catch(P){a(p,"throw",P)}if(h=o(r(this.next,p)),this.done=!!h.done)return;try{this.inner=u(b(h.value,this.counter++),!1)}catch(P){a(p,"throw",P)}}});t({target:"Iterator",proto:!0,real:!0,forced:f},{flatMap:function(b){return o(this),n(b),new g(s(this),{mapper:b,inner:null})}})},72211:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{forEach:function(c){o(this),n(c);var a=s(this),f=0;r(a,function(g){c(g,f++)},{IS_RECORD:!0})}})},84862:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(94029),o=e(16332),s=e(46571).IteratorPrototype,u=e(20547),c=e(7157),a=e(16697),f=u(function(){return r(this.next,this.iterator)},!0);t({target:"Iterator",stat:!0,forced:a},{from:function(p){var b=c(typeof p=="string"?n(p):p,!0);return o(s,b.iterator)?b.iterator:new f(b)}})},92381:function(i,d,e){"use strict";var t=e(94488),r=e(24771);t({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:r})},19517:function(i,d,e){"use strict";var t=e(94488),r=e(2155),n=e(16697);t({target:"Iterator",proto:!0,real:!0,forced:n},{map:r})},69667:function(i,d,e){"use strict";var t=e(94488),r=e(17243),n=TypeError;t({target:"Iterator",stat:!0,forced:!0},{range:function(s,u,c){if(typeof s=="number")return new r(s,u,c,"number",0,1);if(typeof s=="bigint")return new r(s,u,c,"bigint",BigInt(0),BigInt(1));throw new n("Incorrect Iterator.range arguments")}})},80820:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731),u=TypeError;t({target:"Iterator",proto:!0,real:!0},{reduce:function(a){o(this),n(a);var f=s(this),g=arguments.length<2,p=g?void 0:arguments[1],b=0;if(r(f,function(h){g?(g=!1,p=h):p=a(p,h,b),b++},{IS_RECORD:!0}),g)throw new u("Reduce of empty iterator with no initial value");return p}})},87873:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{some:function(c){o(this),n(c);var a=s(this),f=0;return r(a,function(g,p){if(c(g,f++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},54609:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),o=e(10731),s=e(2279),u=e(51358),c=e(20547),a=e(67996),f=e(16697),g=c(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,a(p,"normal",void 0);var b=n(r(this.next,p)),h=this.done=!!b.done;if(!h)return b.value});t({target:"Iterator",proto:!0,real:!0,forced:f},{take:function(b){n(this);var h=u(s(+b));return new g(o(this),{remaining:h})}})},28566:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(62003),o=e(10731),s=[].push;t({target:"Iterator",proto:!0,real:!0},{toArray:function(){var c=[];return n(o(r(this)),s,{that:c,IS_RECORD:!0}),c}})},51697:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(57975),o=e(80025),s=e(10731),u=e(16697);t({target:"Iterator",proto:!0,real:!0,forced:u},{toAsync:function(){return new o(s(new n(s(r(this)))))}})},61872:function(i,d,e){"use strict";var t=e(94488),r=e(82778),n=e(83502);t({target:"JSON",stat:!0,forced:!r},{isRawJSON:n})},76077:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(92916),o=e(65911),s=e(94237),u=e(89945),c=e(55327),a=e(31946),f=e(18589),g=e(32621),p=e(69905),b=e(82762),h=e(69392),E=e(3338),P=e(70913),A=e(42820),I=n.JSON,C=n.Number,O=n.SyntaxError,T=I&&I.parse,D=o("Object","keys"),k=Object.getOwnPropertyDescriptor,$=s("".charAt),L=s("".slice),R=s(/./.exec),z=s([].push),N=/^\d$/,V=/^[1-9]$/,j=/^(?:-|\d)$/,Y=/^[\t\n\r ]$/,G=0,J=1,Q=function(oe,de){oe=p(oe);var _e=new B(oe,0,""),he=_e.parse(),He=he.value,Ue=_e.skip(Y,he.end);if(Ue1?arguments[1]:void 0);return o(c,function(f,g){if(!a(f,g,c))return!1},!0)!==!1}})},28220:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(2786),s=e(95037),u=o.Map,c=o.set;t({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h,E){p(h,E,g)&&c(b,E,h)}),b}})},49350:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(u){var c=n(this),a=r(u,arguments.length>1?arguments[1]:void 0),f=o(c,function(g,p){if(a(g,p,c))return{key:p}},!0);return f&&f.key}})},62060:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{find:function(u){var c=n(this),a=r(u,arguments.length>1?arguments[1]:void 0),f=o(c,function(g,p){if(a(g,p,c))return{value:g}},!0);return f&&f.value}})},20126:function(i,d,e){"use strict";var t=e(94488),r=e(72846);t({target:"Map",stat:!0,forced:!0},{from:r})},18090:function(i,d,e){"use strict";var t=e(94488),r=e(88134),n=e(42683),o=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(u){return o(n(this),function(c){if(r(c,u))return!0},!0)===!0}})},14309:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(62003),o=e(55327),s=e(63335),u=e(2786).Map;t({target:"Map",stat:!0,forced:!0},{keyBy:function(a,f){var g=o(this)?this:u,p=new g;s(f);var b=s(p.set);return n(a,function(h){r(b,p,f(h),h)}),p}})},17822:function(i,d,e){"use strict";var t=e(94488),r=e(42683),n=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(s){var u=n(r(this),function(c,a){if(c===s)return{key:a}},!0);return u&&u.key}})},83543:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(2786),s=e(95037),u=o.Map,c=o.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h,E){c(b,p(h,E,g),h)}),b}})},13853:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(2786),s=e(95037),u=o.Map,c=o.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h,E){c(b,E,p(h,E,g))}),b}})},25188:function(i,d,e){"use strict";var t=e(94488),r=e(42683),n=e(62003),o=e(2786).set;t({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(u){for(var c=r(this),a=arguments.length,f=0;f1?arguments[1]:void 0);return o(c,function(f,g){if(a(f,g,c))return!0},!0)===!0}})},8774:function(i,d,e){"use strict";var t=e(94488),r=e(14615);t({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:r})},6736:function(i,d,e){"use strict";var t=e(94488),r=e(63335),n=e(42683),o=e(2786),s=TypeError,u=o.get,c=o.has,a=o.set;t({target:"Map",proto:!0,real:!0,forced:!0},{update:function(g,p){var b=n(this),h=arguments.length;r(p);var E=c(b,g);if(!E&&h<3)throw new s("Updating absent value");var P=E?u(b,g):r(h>2?arguments[2]:void 0)(g,b);return a(b,g,p(P,g,b)),b}})},94065:function(i,d,e){"use strict";var t=e(94488),r=e(14615);t({target:"Map",proto:!0,real:!0,forced:!0},{upsert:r})},93036:function(i,d,e){"use strict";var t=e(94488),r=Math.min,n=Math.max;t({target:"Math",stat:!0,forced:!0},{clamp:function(s,u,c){return r(c,n(u,s))}})},75708:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},84624:function(i,d,e){"use strict";var t=e(94488),r=180/Math.PI;t({target:"Math",stat:!0,forced:!0},{degrees:function(o){return o*r}})},43710:function(i,d,e){"use strict";var t=e(94488),r=e(35175);t({target:"Math",stat:!0},{f16round:r})},66233:function(i,d,e){"use strict";var t=e(94488),r=e(24619),n=e(14894);t({target:"Math",stat:!0,forced:!0},{fscale:function(s,u,c,a,f){return n(r(s,u,c,a,f))}})},92762:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{iaddh:function(n,o,s,u){var c=n>>>0,a=o>>>0,f=s>>>0;return a+(u>>>0)+((c&f|(c|f)&~(c+f>>>0))>>>31)|0}})},24467:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{imulh:function(n,o){var s=65535,u=+n,c=+o,a=u&s,f=c&s,g=u>>16,p=c>>16,b=(g*f>>>0)+(a*f>>>16);return g*p+(b>>16)+((a*p>>>0)+(b&s)>>16)}})},68465:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{isubh:function(n,o,s,u){var c=n>>>0,a=o>>>0,f=s>>>0;return a-(u>>>0)-((~c&f|~(c^f)&c-f>>>0)>>>31)|0}})},77004:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},83925:function(i,d,e){"use strict";var t=e(94488),r=Math.PI/180;t({target:"Math",stat:!0,forced:!0},{radians:function(o){return o*r}})},51117:function(i,d,e){"use strict";var t=e(94488),r=e(24619);t({target:"Math",stat:!0,forced:!0},{scale:r})},87236:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(1222),o=e(83126),s=e(25587),u=e(94844),c="Seeded Random",a=c+" Generator",f='Math.seededPRNG() argument should have a "seed" field with a finite value.',g=u.set,p=u.getterFor(a),b=TypeError,h=o(function(P){g(this,{type:a,seed:P%2147483647})},c,function(){var P=p(this),A=P.seed=(P.seed*1103515245+12345)%2147483647;return s((A&1073741823)/1073741823,!1)});t({target:"Math",stat:!0,forced:!0},{seededPRNG:function(P){var A=r(P).seed;if(!n(A))throw new b(f);return new h(A)}})},83733:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{signbit:function(n){var o=+n;return o===o&&o===0?1/o===-1/0:o<0}})},92044:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{umulh:function(n,o){var s=65535,u=+n,c=+o,a=u&s,f=c&s,g=u>>>16,p=c>>>16,b=(g*f>>>0)+(a*f>>>16);return g*p+(b>>>16)+((a*p>>>0)+(b&s)>>>16)}})},29190:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),o="Invalid number representation",s="Invalid radix",u=RangeError,c=SyntaxError,a=TypeError,f=parseInt,g=Math.pow,p=/^[\d.a-z]+$/,b=r("".charAt),h=r(p.exec),E=r(1 .toString),P=r("".slice),A=r("".split);t({target:"Number",stat:!0,forced:!0},{fromString:function(C,O){var T=1;if(typeof C!="string")throw new a(o);if(!C.length)throw new c(o);if(b(C,0)==="-"&&(T=-1,C=P(C,1),!C.length))throw new c(o);var D=O===void 0?10:n(O);if(D<2||D>36)throw new u(s);if(!h(p,C))throw new c(o);var k=A(C,"."),$=f(k[0],D);if(k.length>1&&($+=f(k[1],D)/g(D,k[1].length)),D===10&&E($,D)!==C)throw new c(o);return T*$}})},10775:function(i,d,e){"use strict";var t=e(94488),r=e(17243);t({target:"Number",stat:!0,forced:!0},{range:function(o,s,u){return new r(o,s,u,"number",0,1)}})},19593:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateEntries:function(o){return new r(o,"entries")}})},26502:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateKeys:function(o){return new r(o,"keys")}})},10174:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateValues:function(o){return new r(o,"values")}})},76867:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(35454),o=e(51996),s=e(63335),u=e(80449),c=e(56472),a=e(55327),f=e(4112),g=e(31946),p=e(53776),b=e(2291),h=e(66477),E=e(64110),P=e(61810),A=e(59893),I=e(94844),C=A("observable"),O="Observable",T="Subscription",D="SubscriptionObserver",k=I.getterFor,$=I.set,L=k(O),R=k(T),z=k(D),N=function(J){this.observer=u(J),this.cleanup=void 0,this.subscriptionObserver=void 0};N.prototype={type:T,clean:function(){var J=this.cleanup;if(J){this.cleanup=void 0;try{J()}catch(Q){P(Q)}}},close:function(){if(!n){var J=this.facade,Q=this.subscriptionObserver;J.closed=!0,Q&&(Q.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var V=function(J,Q){var Z=$(this,new N(J)),K;n||(this.closed=!1);try{(K=p(J,"start"))&&r(K,J,this)}catch(ee){P(ee)}if(!Z.isClosed()){var M=Z.subscriptionObserver=new j(Z);try{var B=Q(M),H=B;f(B)||(Z.cleanup=a(B.unsubscribe)?function(){H.unsubscribe()}:s(B))}catch(ee){M.error(ee);return}Z.isClosed()&&Z.clean()}};V.prototype=h({},{unsubscribe:function(){var Q=R(this);Q.isClosed()||(Q.close(),Q.clean())}}),n&&E(V.prototype,"closed",{configurable:!0,get:function(){return R(this).isClosed()}});var j=function(J){$(this,{type:D,subscriptionState:J}),n||(this.closed=!1)};j.prototype=h({},{next:function(Q){var Z=z(this).subscriptionState;if(!Z.isClosed()){var K=Z.observer;try{var M=p(K,"next");M&&r(M,K,Q)}catch(B){P(B)}}},error:function(Q){var Z=z(this).subscriptionState;if(!Z.isClosed()){var K=Z.observer;Z.close();try{var M=p(K,"error");M?r(M,K,Q):P(Q)}catch(B){P(B)}Z.clean()}},complete:function(){var Q=z(this).subscriptionState;if(!Q.isClosed()){var Z=Q.observer;Q.close();try{var K=p(Z,"complete");K&&r(K,Z)}catch(M){P(M)}Q.clean()}}}),n&&E(j.prototype,"closed",{configurable:!0,get:function(){return z(this).subscriptionState.isClosed()}});var Y=function(Q){c(this,G),$(this,{type:O,subscriber:s(Q)})},G=Y.prototype;h(G,{subscribe:function(Q){var Z=arguments.length;return new V(a(Q)?{next:Q,error:Z>1?arguments[1]:void 0,complete:Z>2?arguments[2]:void 0}:g(Q)?Q:{},L(this).subscriber)}}),b(G,C,function(){return this}),t({global:!0,constructor:!0,forced:!0},{Observable:Y}),o(O)},14548:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(89945),o=e(80449),s=e(39812),u=e(85428),c=e(53776),a=e(62003),f=e(59893),g=f("observable");t({target:"Observable",stat:!0,forced:!0},{from:function(b){var h=s(this)?this:r("Observable"),E=c(o(b),g);if(E){var P=o(n(E,b));return P.constructor===h?P:new h(function(I){return P.subscribe(I)})}var A=u(b);return new h(function(I){a(A,function(C,O){if(I.next(C),I.closed)return O()},{IS_ITERATOR:!0,INTERRUPTED:!0}),I.complete()})}})},96378:function(i,d,e){"use strict";e(76867),e(14548),e(6053)},6053:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(39812),o=r("Array");t({target:"Observable",stat:!0,forced:!0},{of:function(){for(var u=n(this)?this:r("Observable"),c=arguments.length,a=o(c),f=0;f?@[\\\\\\]^`{|}~"+o+"]","g");t({target:"RegExp",stat:!0,forced:!0},{escape:function(f){var g=n(f),p=s(g,0);return(p>47&&p<58?"\\x3":"")+u(g,c,"\\$&")}})},1220:function(i,d,e){"use strict";var t=e(94488),r=e(17442),n=e(19691).add;t({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var s=r(this),u=0,c=arguments.length;u1?arguments[1]:void 0);return o(c,function(f){if(!a(f,f,c))return!1},!0)!==!1}})},38487:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),o=e(19691),s=e(57002),u=o.Set,c=o.add;t({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h){p(h,h,g)&&c(b,h)}),b}})},29916:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),o=e(57002);t({target:"Set",proto:!0,real:!0,forced:!0},{find:function(u){var c=n(this),a=r(u,arguments.length>1?arguments[1]:void 0),f=o(c,function(g){if(a(g,g,c))return{value:g}},!0);return f&&f.value}})},25541:function(i,d,e){"use strict";var t=e(94488),r=e(72846);t({target:"Set",stat:!0,forced:!0},{from:r})},34926:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(16049);t({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(u){return r(o,this,n(u))}})},45612:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(16049),o=e(22627),s=!o("intersection")||r(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});t({target:"Set",proto:!0,real:!0,forced:s},{intersection:n})},68255:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(17616);t({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(u){return r(o,this,n(u))}})},98080:function(i,d,e){"use strict";var t=e(94488),r=e(17616),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isDisjointFrom")},{isDisjointFrom:r})},16450:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(84833);t({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(u){return r(o,this,n(u))}})},96351:function(i,d,e){"use strict";var t=e(94488),r=e(84833),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isSubsetOf")},{isSubsetOf:r})},86921:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(51135);t({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(u){return r(o,this,n(u))}})},60244:function(i,d,e){"use strict";var t=e(94488),r=e(51135),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isSupersetOf")},{isSupersetOf:r})},82928:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(17442),o=e(57002),s=e(69905),u=r([].join),c=r([].push);t({target:"Set",proto:!0,real:!0,forced:!0},{join:function(f){var g=n(this),p=f===void 0?",":s(f),b=[];return o(g,function(h){c(b,h)}),u(b,p)}})},42947:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),o=e(19691),s=e(57002),u=o.Set,c=o.add;t({target:"Set",proto:!0,real:!0,forced:!0},{map:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h){c(b,p(h,h,g))}),b}})},71568:function(i,d,e){"use strict";var t=e(94488),r=e(48800);t({target:"Set",stat:!0,forced:!0},{of:r})},94194:function(i,d,e){"use strict";var t=e(94488),r=e(63335),n=e(17442),o=e(57002),s=TypeError;t({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(c){var a=n(this),f=arguments.length<2,g=f?void 0:arguments[1];if(r(c),o(a,function(p){f?(f=!1,g=p):g=c(g,p,p,a)}),f)throw new s("Reduce of empty set with no initial value");return g}})},30556:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),o=e(57002);t({target:"Set",proto:!0,real:!0,forced:!0},{some:function(u){var c=n(this),a=r(u,arguments.length>1?arguments[1]:void 0);return o(c,function(f){if(a(f,f,c))return!0},!0)===!0}})},93102:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(36312);t({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(u){return r(o,this,n(u))}})},32100:function(i,d,e){"use strict";var t=e(94488),r=e(36312),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("symmetricDifference")},{symmetricDifference:r})},82074:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(24667);t({target:"Set",proto:!0,real:!0,forced:!0},{union:function(u){return r(o,this,n(u))}})},1821:function(i,d,e){"use strict";var t=e(94488),r=e(24667),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("union")},{union:r})},13578:function(i,d,e){"use strict";var t=e(94488),r=e(13764).charAt,n=e(95955),o=e(56902),s=e(69905);t({target:"String",proto:!0,forced:!0},{at:function(c){var a=s(n(this)),f=a.length,g=o(c),p=g>=0?g:f+g;return p<0||p>=f?void 0:r(a,p)}})},62882:function(i,d,e){"use strict";var t=e(94488),r=e(83126),n=e(25587),o=e(95955),s=e(69905),u=e(94844),c=e(13764),a=c.codeAt,f=c.charAt,g="String Iterator",p=u.set,b=u.getterFor(g),h=r(function(P){p(this,{type:g,string:P,index:0})},"String",function(){var P=b(this),A=P.string,I=P.index,C;return I>=A.length?n(void 0,!0):(C=f(A,I),P.index+=C.length,n({codePoint:a(C,0),position:I},!1))});t({target:"String",proto:!0,forced:!0},{codePoints:function(){return new h(s(o(this)))}})},59348:function(i,d,e){"use strict";var t=e(94488),r=e(67410);t({target:"String",stat:!0,forced:!0},{cooked:r})},37457:function(i,d,e){"use strict";var t=e(13247),r=e(94488),n=e(86528),o=e(94237),s=e(13743),u=e(80449),c=e(94029),a=e(55327),f=e(82762),g=e(37691).f,p=e(71698),b=e(42530),h=e(67410),E=e(79204),P=e(19268),A=new b.WeakMap,I=b.get,C=b.has,O=b.set,T=Array,D=TypeError,k=Object.freeze||Object,$=Object.isFrozen,L=Math.min,R=o("".charAt),z=o("".slice),N=o("".split),V=o(/./.exec),j=/([\n\u2028\u2029]|\r\n?)/g,Y=RegExp("^["+P+"]*"),G=RegExp("[^"+P+"]"),J="Invalid tag",Q="Invalid opening line",Z="Invalid closing line",K=function(de){var _e=de.raw;if(t&&!$(_e))throw new D("Raw template should be frozen");if(C(A,_e))return I(A,_e);var he=M(_e),He=H(he);return g(He,"raw",{value:k(he)}),k(He),O(A,_e,He),He},M=function(de){var _e=c(de),he=f(_e),He=T(he),Ue=T(he),tt=0,at,yt,Et,ye;if(!he)throw new D(J);for(;tt0)throw new D(Q);at[1]=""}if(Qe){if(at.length===1||V(G,at[at.length-1]))throw new D(Z);at[at.length-2]="",at[at.length-1]=""}for(var qe=2;qe1?arguments[1]:void 0);return n(this,a)},!0)},16315:function(i,d,e){"use strict";var t=e(58261),r=e(90560).filterReject,n=e(27607),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("filterReject",function(c){var a=r(o(this),c,arguments.length>1?arguments[1]:void 0);return n(this,a)},!0)},56966:function(i,d,e){"use strict";var t=e(65911),r=e(6086),n=e(32278),o=e(58261),s=e(69478),u=o.aTypedArrayConstructor,c=o.exportTypedArrayStaticMethod;c("fromAsync",function(f){var g=this,p=arguments.length,b=p>1?arguments[1]:void 0,h=p>2?arguments[2]:void 0;return new(t("Promise"))(function(E){r(g),E(n(f,b,h))}).then(function(E){return s(u(g),E)})},!0)},60239:function(i,d,e){"use strict";var t=e(58261),r=e(36444),n=e(31384),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("groupBy",function(c){var a=arguments.length>1?arguments[1]:void 0;return r(o(this),c,a,n)},!0)},49381:function(i,d,e){"use strict";var t=e(58261),r=e(82762),n=e(75406),o=e(51981),s=e(93303),u=e(56902),c=e(3338),a=t.aTypedArray,f=t.getTypedArrayConstructor,g=t.exportTypedArrayMethod,p=Math.max,b=Math.min,h=!c(function(){var E=new Int8Array([1]),P=E.toSpliced(1,0,{valueOf:function(){return E[0]=2,3}});return P[0]!==2||P[1]!==3});g("toSpliced",function(P,A){var I=a(this),C=f(I),O=r(I),T=o(P,O),D=arguments.length,k=0,$,L,R,z,N,V,j;if(D===0)$=L=0;else if(D===1)$=0,L=O-T;else if(L=b(p(u(A),0),O-T),$=D-2,$){z=new C($),R=n(z);for(var Y=2;Y1?o(arguments[1]):void 0,$=f(k)==="base64"?g:p,L=k?!!k.strict:!1,R=L?D:P(D,C,"");if(R.length%4===0)A(R,-2)==="=="?R=A(R,0,-2):A(R,-1)==="="&&(R=A(R,0,-1));else if(L)throw new h("Input is not correctly padded");var z=R.length%4;switch(z){case 1:throw new h("Bad input length");case 2:R+="AA";break;case 3:R+="A"}for(var N=[],V=0,j=R.length,Y=function(Q){var Z=E(R,V+Q);if(!u($,Z))throw new h('Bad char in input: "'+Z+'"');return $[Z]<<18-6*Q};V>16&255,G>>8&255,G&255)}var J=N.length;if(z===2){if(L&&N[J-2]!==0)throw new h(O);J-=2}else if(z===3){if(L&&N[J-1]!==0)throw new h(O);J--}return c(b,N,J)}})},57151:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(94237),o=e(79606),s=r.Uint8Array,u=r.SyntaxError,c=r.parseInt,a=/[^\da-f]/i,f=n(a.exec),g=n("".slice);s&&t({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(b){o(b);var h=b.length;if(h%2)throw new u("String should have an even number of characters");if(f(a,b))throw new u("String should only contain hex characters");for(var E=new s(h/2),P=0;P>6*D&63)};I+2>(-2*j&6)));return N}})},55182:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(65911),o=e(94237),s=e(89945),u=e(3338),c=e(69905),a=e(57106),f=e(66244).i2c,g=n("btoa"),p=o("".charAt),b=o("".charCodeAt),h=!!g&&!u(function(){return g("hi")!=="aGk="}),E=h&&!u(function(){g()}),P=h&&u(function(){return g(null)!=="bnVsbA=="}),A=h&&g.length!==1;t({global:!0,bind:!0,enumerable:!0,forced:!h||E||P||A},{btoa:function(C){if(a(arguments.length,1),h)return s(g,r,c(C));for(var O=c(C),T="",D=0,k=f,$,L;p(O,D)||(k="=",D%1);){if(L=b(O,D+=.75),L>255)throw new(n("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");$=$<<8|L,T+=p(k,63&$>>8-D%1*8)}return T}})},91472:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(28887).clear;t({global:!0,bind:!0,enumerable:!0,forced:r.clearImmediate!==n},{clearImmediate:n})},34366:function(i,d,e){"use strict";var t=e(92916),r=e(66749),n=e(9518),o=e(59594),s=e(68151),u=function(a){if(a&&a.forEach!==o)try{s(a,"forEach",o)}catch(f){a.forEach=o}};for(var c in r)r[c]&&u(t[c]&&t[c].prototype);u(n)},85425:function(i,d,e){"use strict";var t=e(92916),r=e(66749),n=e(9518),o=e(11005),s=e(68151),u=e(94573),c=e(59893),a=c("iterator"),f=o.values,g=function(b,h){if(b){if(b[a]!==f)try{s(b,a,f)}catch(P){b[a]=f}if(u(b,h,!0),r[h]){for(var E in o)if(b[E]!==o[E])try{s(b,E,o[E])}catch(P){b[E]=o[E]}}}};for(var p in r)g(t[p]&&t[p].prototype,p);g(n,"DOMTokenList")},64522:function(i,d,e){"use strict";var t=e(94488),r=e(11270),n=e(65911),o=e(3338),s=e(20132),u=e(35012),c=e(37691).f,a=e(2291),f=e(64110),g=e(32621),p=e(56472),b=e(80449),h=e(13367),E=e(7825),P=e(52109),A=e(80739),I=e(94844),C=e(35454),O=e(16697),T="DOMException",D="DATA_CLONE_ERR",k=n("Error"),$=n(T)||function(){try{var Ue=n("MessageChannel")||r("worker_threads").MessageChannel;new Ue().port1.postMessage(new WeakMap)}catch(tt){if(tt.name===D&&tt.code===25)return tt.constructor}}(),L=$&&$.prototype,R=k.prototype,z=I.set,N=I.getterFor(T),V="stack"in new k(T),j=function(Ue){return g(P,Ue)&&P[Ue].m?P[Ue].c:0},Y=function(){p(this,G);var tt=arguments.length,at=E(tt<1?void 0:arguments[0]),yt=E(tt<2?void 0:arguments[1],"Error"),Et=j(yt);if(z(this,{type:T,name:yt,message:at,code:Et}),C||(this.name=yt,this.message=at,this.code=Et),V){var ye=new k(at);ye.name=T,c(this,"stack",u(1,A(ye.stack,1)))}},G=Y.prototype=s(R),J=function(Ue){return{enumerable:!0,configurable:!0,get:Ue}},Q=function(Ue){return J(function(){return N(this)[Ue]})};C&&(f(G,"code",Q("code")),f(G,"message",Q("message")),f(G,"name",Q("name"))),c(G,"constructor",u(1,Y));var Z=o(function(){return!(new $ instanceof k)}),K=Z||o(function(){return R.toString!==h||String(new $(1,2))!=="2: 1"}),M=Z||o(function(){return new $(1,"DataCloneError").code!==25}),B=Z||$[D]!==25||L[D]!==25,H=O?K||M||B:Z;t({global:!0,constructor:!0,forced:H},{DOMException:H?Y:$});var ee=n(T),oe=ee.prototype;K&&(O||$===ee)&&a(oe,"toString",h),M&&C&&$===ee&&f(oe,"code",J(function(){return j(b(this).name)}));for(var de in P)if(g(P,de)){var _e=P[de],he=_e.s,He=u(6,_e.c);g(ee,he)||c(ee,he,He),g(oe,he)||c(oe,he,He)}},41599:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(65911),o=e(35012),s=e(37691).f,u=e(32621),c=e(56472),a=e(25576),f=e(7825),g=e(52109),p=e(80739),b=e(35454),h=e(16697),E="DOMException",P=n("Error"),A=n(E),I=function(){c(this,C);var Y=arguments.length,G=f(Y<1?void 0:arguments[0]),J=f(Y<2?void 0:arguments[1],"Error"),Q=new A(G,J),Z=new P(G);return Z.name=E,s(Q,"stack",o(1,p(Z.stack,1))),a(Q,this,I),Q},C=I.prototype=A.prototype,O="stack"in new P(E),T="stack"in new A(1,2),D=A&&b&&Object.getOwnPropertyDescriptor(r,E),k=!!D&&!(D.writable&&D.configurable),$=O&&!k&&!T;t({global:!0,constructor:!0,forced:h||$},{DOMException:$?I:A});var L=n(E),R=L.prototype;if(R.constructor!==L){h||s(R,"constructor",o(1,L));for(var z in g)if(u(g,z)){var N=g[z],V=N.s;u(L,V)||s(L,V,o(6,N.c))}}},86465:function(i,d,e){"use strict";var t=e(65911),r=e(94573),n="DOMException";r(t(n),n)},78437:function(i,d,e){"use strict";e(91472),e(91700)},73624:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(72933),o=e(63335),s=e(57106),u=e(90946),c=r.process;t({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(f){s(arguments.length,1),o(f);var g=u&&c.domain;n(g?g.bind(f):f)}})},62059:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(64110),o=e(35454),s=TypeError,u=Object.defineProperty,c=r.self!==r;try{if(o){var a=Object.getOwnPropertyDescriptor(r,"self");(c||!a||!a.get||!a.enumerable)&&n(r,"self",{get:function(){return r},set:function(g){if(this!==r)throw new s("Illegal invocation");u(r,"self",{value:g,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else t({global:!0,simple:!0,forced:c},{self:r})}catch(f){}},91700:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(28887).set,o=e(93222),s=r.setImmediate?o(n,!1):n;t({global:!0,bind:!0,enumerable:!0,forced:r.setImmediate!==s},{setImmediate:s})},88469:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(93222),o=n(r.setInterval,!0);t({global:!0,bind:!0,forced:r.setInterval!==o},{setInterval:o})},91572:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(93222),o=n(r.setTimeout,!0);t({global:!0,bind:!0,forced:r.setTimeout!==o},{setTimeout:o})},10305:function(i,d,e){"use strict";var t=e(16697),r=e(94488),n=e(92916),o=e(65911),s=e(94237),u=e(3338),c=e(6145),a=e(55327),f=e(39812),g=e(4112),p=e(31946),b=e(18446),h=e(62003),E=e(80449),P=e(97607),A=e(32621),I=e(69392),C=e(68151),O=e(82762),T=e(57106),D=e(81644),k=e(2786),$=e(19691),L=e(57002),R=e(39311),z=e(25406),N=e(80426),V=n.Object,j=n.Array,Y=n.Date,G=n.Error,J=n.TypeError,Q=n.PerformanceMark,Z=o("DOMException"),K=k.Map,M=k.has,B=k.get,H=k.set,ee=$.Set,oe=$.add,de=$.has,_e=o("Object","keys"),he=s([].push),He=s((!0).valueOf),Ue=s(1 .valueOf),tt=s("".valueOf),at=s(Y.prototype.getTime),yt=c("structuredClone"),Et="DataCloneError",ye="Transferring",Fe=function(ge){return!u(function(){var ke=new n.Set([7]),bt=ge(ke),ut=ge(V(7));return bt===ke||!bt.has(7)||!p(ut)||+ut!=7})&&ge},Qe=function(ge,ke){return!u(function(){var bt=new ke,ut=ge({a:bt,b:bt});return!(ut&&ut.a===ut.b&&ut.a instanceof ke&&ut.a.stack===bt.stack)})},qe=function(ge){return!u(function(){var ke=ge(new n.AggregateError([1],yt,{cause:3}));return ke.name!=="AggregateError"||ke.errors[0]!==1||ke.message!==yt||ke.cause!==3})},At=n.structuredClone,St=t||!Qe(At,G)||!Qe(At,Z)||!qe(At),$e=!At&&Fe(function(ge){return new Q(yt,{detail:ge}).detail}),we=Fe(At)||$e,Ce=function(ge){throw new Z("Uncloneable type: "+ge,Et)},Me=function(ge,ke){throw new Z((ke||"Cloning")+" of "+ge+" cannot be properly polyfilled in this engine",Et)},Re=function(ge,ke){return we||Me(ke),we(ge)},Ve=function(){var ge;try{ge=new n.DataTransfer}catch(ke){try{ge=new n.ClipboardEvent("").clipboardData}catch(bt){}}return ge&&ge.items&&ge.files?ge:null},Be=function(ge,ke,bt){if(M(ke,ge))return B(ke,ge);var ut=bt||P(ge),dt,ot,Zt,it,le,ct;if(ut==="SharedArrayBuffer")we?dt=we(ge):dt=ge;else{var Je=n.DataView;!Je&&!a(ge.slice)&&Me("ArrayBuffer");try{if(a(ge.slice)&&!ge.resizable)dt=ge.slice(0);else for(ot=ge.byteLength,Zt=("maxByteLength"in ge)?{maxByteLength:ge.maxByteLength}:void 0,dt=new ArrayBuffer(ot,Zt),it=new Je(ge),le=new Je(dt),ct=0;ct1&&!g(arguments[1])?E(arguments[1]):void 0,ut=bt?bt.transfer:void 0,dt,ot;ut!==void 0&&(dt=new K,ot=jt(ut,dt));var Zt=Xe(ke,dt);return ot&&Ht(ot),Zt}})},41208:function(i,d,e){"use strict";e(88469),e(91572)},91340:function(i,d,e){"use strict";e(11005);var t=e(94488),r=e(92916),n=e(89945),o=e(94237),s=e(35454),u=e(3299),c=e(2291),a=e(64110),f=e(66477),g=e(94573),p=e(83126),b=e(94844),h=e(56472),E=e(55327),P=e(32621),A=e(80666),I=e(97607),C=e(80449),O=e(31946),T=e(69905),D=e(20132),k=e(35012),$=e(85428),L=e(26006),R=e(25587),z=e(57106),N=e(59893),V=e(63668),j=N("iterator"),Y="URLSearchParams",G=Y+"Iterator",J=b.set,Q=b.getterFor(Y),Z=b.getterFor(G),K=Object.getOwnPropertyDescriptor,M=function(dt){if(!s)return r[dt];var ot=K(r,dt);return ot&&ot.value},B=M("fetch"),H=M("Request"),ee=M("Headers"),oe=H&&H.prototype,de=ee&&ee.prototype,_e=r.RegExp,he=r.TypeError,He=r.decodeURIComponent,Ue=r.encodeURIComponent,tt=o("".charAt),at=o([].join),yt=o([].push),Et=o("".replace),ye=o([].shift),Fe=o([].splice),Qe=o("".split),qe=o("".slice),At=/\+/g,St=Array(4),$e=function(dt){return St[dt-1]||(St[dt-1]=_e("((?:%[\\da-f]{2}){"+dt+"})","gi"))},we=function(dt){try{return He(dt)}catch(ot){return dt}},Ce=function(dt){var ot=Et(dt,At," "),Zt=4;try{return He(ot)}catch(it){for(;Zt;)ot=Et(ot,$e(Zt--),we);return ot}},Me=/[!'()~]|%20/g,Re={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ve=function(dt){return Re[dt]},Be=function(dt){return Et(Ue(dt),Me,Ve)},et=p(function(ot,Zt){J(this,{type:G,target:Q(ot).entries,index:0,kind:Zt})},Y,function(){var ot=Z(this),Zt=ot.target,it=ot.index++;if(!Zt||it>=Zt.length)return ot.target=void 0,R(void 0,!0);var le=Zt[it];switch(ot.kind){case"keys":return R(le.key,!1);case"values":return R(le.value,!1)}return R([le.key,le.value],!1)},!0),Xe=function(dt){this.entries=[],this.url=null,dt!==void 0&&(O(dt)?this.parseObject(dt):this.parseQuery(typeof dt=="string"?tt(dt,0)==="?"?qe(dt,1):dt:T(dt)))};Xe.prototype={type:Y,bindURL:function(dt){this.url=dt,this.update()},parseObject:function(dt){var ot=this.entries,Zt=L(dt),it,le,ct,Je,xt,Rt,vr;if(Zt)for(it=$(dt,Zt),le=it.next;!(ct=n(le,it)).done;){if(Je=$(C(ct.value)),xt=Je.next,(Rt=n(xt,Je)).done||(vr=n(xt,Je)).done||!n(xt,Je).done)throw new he("Expected sequence with length 2");yt(ot,{key:T(Rt.value),value:T(vr.value)})}else for(var rt in dt)P(dt,rt)&&yt(ot,{key:rt,value:T(dt[rt])})},parseQuery:function(dt){if(dt)for(var ot=this.entries,Zt=Qe(dt,"&"),it=0,le,ct;it0?arguments[0]:void 0,Zt=J(this,new Xe(ot));s||(this.size=Zt.entries.length)},Ht=jt.prototype;if(f(Ht,{append:function(ot,Zt){var it=Q(this);z(arguments.length,2),yt(it.entries,{key:T(ot),value:T(Zt)}),s||this.length++,it.updateURL()},delete:function(dt){for(var ot=Q(this),Zt=z(arguments.length,1),it=ot.entries,le=T(dt),ct=Zt<2?void 0:arguments[1],Je=ct===void 0?ct:T(ct),xt=0;xtit.key?1:-1}),ot.updateURL()},forEach:function(ot){for(var Zt=Q(this).entries,it=A(ot,arguments.length>1?arguments[1]:void 0),le=0,ct;le1?bt(arguments[1]):{})}}),E(H)){var ut=function(ot){return h(this,oe),new H(ot,arguments.length>1?bt(arguments[1]):{})};oe.constructor=ut,ut.prototype=oe,t({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ut})}}i.exports={URLSearchParams:jt,getState:Q}},4890:function(i,d,e){"use strict";var t=e(2291),r=e(94237),n=e(69905),o=e(57106),s=URLSearchParams,u=s.prototype,c=r(u.append),a=r(u.delete),f=r(u.forEach),g=r([].push),p=new s("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&t(u,"delete",function(b){var h=arguments.length,E=h<2?void 0:arguments[1];if(h&&E===void 0)return a(this,b);var P=[];f(this,function($,L){g(P,{key:L,value:$})}),o(h,1);for(var A=n(b),I=n(E),C=0,O=0,T=!1,D=P.length,k;C?@[\\\]^|]/,At=/[\0\t\n\r #/:<>?@[\\\]^|]/,St=/^[\u0000-\u0020]+/,$e=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,we=/[\t\n\r]/g,Ce,Me=function(ht){var Ne=H(ht,"."),Ze,te,ze,kt,Ft,Ee,rr;if(Ne.length&&Ne[Ne.length-1]===""&&Ne.length--,Ze=Ne.length,Ze>4)return ht;for(te=[],ze=0;ze1&&Y(kt,0)==="0"&&(Ft=G(Et,kt)?16:8,kt=ee(kt,Ft===8?1:2)),kt==="")Ee=0;else{if(!G(Ft===10?Fe:Ft===8?ye:Qe,kt))return ht;Ee=N(kt,Ft)}K(te,Ee)}for(ze=0;ze=j(256,5-Ze))return null}else if(Ee>255)return null;for(rr=Z(te),ze=0;ze6))return;for(Ee=0;rn();){if(rr=null,Ee>0)if(rn()==="."&&Ee<4)ze++;else return;if(!G(yt,rn()))return;for(;G(yt,rn());){if(Tr=N(rn(),10),rr===null)rr=Tr;else{if(rr===0)return;rr=rr*10+Tr}if(rr>255)return;ze++}Ne[Ze]=Ne[Ze]*256+rr,Ee++,(Ee===2||Ee===4)&&Ze++}if(Ee!==4)return;break}else if(rn()===":"){if(ze++,!rn())return}else if(rn())return;Ne[Ze++]=kt}if(te!==null)for(ln=Ze-te,Ze=7;Ze!==0&&ln>0;)qt=Ne[Ze],Ne[Ze--]=Ne[te+ln-1],Ne[te+--ln]=qt;else if(Ze!==8)return;return Ne},Ve=function(ht){for(var Ne=null,Ze=1,te=null,ze=0,kt=0;kt<8;kt++)ht[kt]!==0?(ze>Ze&&(Ne=te,Ze=ze),te=null,ze=0):(te===null&&(te=kt),++ze);return ze>Ze&&(Ne=te,Ze=ze),Ne},Be=function(ht){var Ne,Ze,te,ze;if(typeof ht=="number"){for(Ne=[],Ze=0;Ze<4;Ze++)de(Ne,ht%256),ht=V(ht/256);return J(Ne,".")}else if(typeof ht=="object"){for(Ne="",te=Ve(ht),Ze=0;Ze<8;Ze++)ze&&ht[Ze]===0||(ze&&(ze=!1),te===Ze?(Ne+=Ze?":":"::",ze=!0):(Ne+=Q(ht[Ze],16),Ze<7&&(Ne+=":")));return"["+Ne+"]"}return ht},et={},Xe=p({},et,{" ":1,'"':1,"<":1,">":1,"`":1}),jt=p({},Xe,{"#":1,"?":1,"{":1,"}":1}),Ht=p({},jt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ge=function(ht,Ne){var Ze=E(ht,0);return Ze>32&&Ze<127&&!g(Ne,ht)?ht:encodeURIComponent(ht)},ke={ftp:21,file:null,http:80,https:443,ws:80,wss:443},bt=function(ht,Ne){var Ze;return ht.length===2&&G(tt,Y(ht,0))&&((Ze=Y(ht,1))===":"||!Ne&&Ze==="|")},ut=function(ht){var Ne;return ht.length>1&&bt(ee(ht,0,2))&&(ht.length===2||(Ne=Y(ht,2))==="/"||Ne==="\\"||Ne==="?"||Ne==="#")},dt=function(ht){return ht==="."||oe(ht)==="%2e"},ot=function(ht){return ht=oe(ht),ht===".."||ht==="%2e."||ht===".%2e"||ht==="%2e%2e"},Zt={},it={},le={},ct={},Je={},xt={},Rt={},vr={},rt={},or={},Te={},Dt={},sr={},fr={},Rr={},hr={},_r={},Nr={},Wr={},Qr={},on={},ur=function(ht,Ne,Ze){var te=A(ht),ze,kt,Ft;if(Ne){if(kt=this.parse(te),kt)throw new z(kt);this.searchParams=null}else{if(Ze!==void 0&&(ze=new ur(Ze,!0)),kt=this.parse(te,null,ze),kt)throw new z(kt);Ft=L(new $),Ft.bindURL(this),this.searchParams=Ft}};ur.prototype={type:"URL",parse:function(ht,Ne,Ze){var te=this,ze=Ne||Zt,kt=0,Ft="",Ee=!1,rr=!1,Tr=!1,ln,qt,rn,nn;for(ht=A(ht),Ne||(te.scheme="",te.username="",te.password="",te.host=null,te.port=null,te.path=[],te.query=null,te.fragment=null,te.cannotBeABaseURL=!1,ht=M(ht,St,""),ht=M(ht,$e,"$1")),ht=M(ht,we,""),ln=b(ht);kt<=ln.length;){switch(qt=ln[kt],ze){case Zt:if(qt&&G(tt,qt))Ft+=oe(qt),ze=it;else{if(Ne)return he;ze=le;continue}break;case it:if(qt&&(G(at,qt)||qt==="+"||qt==="-"||qt==="."))Ft+=oe(qt);else if(qt===":"){if(Ne&&(te.isSpecial()!==g(ke,Ft)||Ft==="file"&&(te.includesCredentials()||te.port!==null)||te.scheme==="file"&&!te.host))return;if(te.scheme=Ft,Ne){te.isSpecial()&&ke[te.scheme]===te.port&&(te.port=null);return}Ft="",te.scheme==="file"?ze=fr:te.isSpecial()&&Ze&&Ze.scheme===te.scheme?ze=ct:te.isSpecial()?ze=vr:ln[kt+1]==="/"?(ze=Je,kt++):(te.cannotBeABaseURL=!0,K(te.path,""),ze=Wr)}else{if(Ne)return he;Ft="",ze=le,kt=0;continue}break;case le:if(!Ze||Ze.cannotBeABaseURL&&qt!=="#")return he;if(Ze.cannotBeABaseURL&&qt==="#"){te.scheme=Ze.scheme,te.path=h(Ze.path),te.query=Ze.query,te.fragment="",te.cannotBeABaseURL=!0,ze=on;break}ze=Ze.scheme==="file"?fr:xt;continue;case ct:if(qt==="/"&&ln[kt+1]==="/")ze=rt,kt++;else{ze=xt;continue}break;case Je:if(qt==="/"){ze=or;break}else{ze=Nr;continue}case xt:if(te.scheme=Ze.scheme,qt===Ce)te.username=Ze.username,te.password=Ze.password,te.host=Ze.host,te.port=Ze.port,te.path=h(Ze.path),te.query=Ze.query;else if(qt==="/"||qt==="\\"&&te.isSpecial())ze=Rt;else if(qt==="?")te.username=Ze.username,te.password=Ze.password,te.host=Ze.host,te.port=Ze.port,te.path=h(Ze.path),te.query="",ze=Qr;else if(qt==="#")te.username=Ze.username,te.password=Ze.password,te.host=Ze.host,te.port=Ze.port,te.path=h(Ze.path),te.query=Ze.query,te.fragment="",ze=on;else{te.username=Ze.username,te.password=Ze.password,te.host=Ze.host,te.port=Ze.port,te.path=h(Ze.path),te.path.length--,ze=Nr;continue}break;case Rt:if(te.isSpecial()&&(qt==="/"||qt==="\\"))ze=rt;else if(qt==="/")ze=or;else{te.username=Ze.username,te.password=Ze.password,te.host=Ze.host,te.port=Ze.port,ze=Nr;continue}break;case vr:if(ze=rt,qt!=="/"||Y(Ft,kt+1)!=="/")continue;kt++;break;case rt:if(qt!=="/"&&qt!=="\\"){ze=or;continue}break;case or:if(qt==="@"){Ee&&(Ft="%40"+Ft),Ee=!0,rn=b(Ft);for(var dn=0;dn65535)return Ue;te.port=te.isSpecial()&&qn===ke[te.scheme]?null:qn,Ft=""}if(Ne)return;ze=_r;continue}else return Ue;break;case fr:if(te.scheme="file",qt==="/"||qt==="\\")ze=Rr;else if(Ze&&Ze.scheme==="file")switch(qt){case Ce:te.host=Ze.host,te.path=h(Ze.path),te.query=Ze.query;break;case"?":te.host=Ze.host,te.path=h(Ze.path),te.query="",ze=Qr;break;case"#":te.host=Ze.host,te.path=h(Ze.path),te.query=Ze.query,te.fragment="",ze=on;break;default:ut(J(h(ln,kt),""))||(te.host=Ze.host,te.path=h(Ze.path),te.shortenPath()),ze=Nr;continue}else{ze=Nr;continue}break;case Rr:if(qt==="/"||qt==="\\"){ze=hr;break}Ze&&Ze.scheme==="file"&&!ut(J(h(ln,kt),""))&&(bt(Ze.path[0],!0)?K(te.path,Ze.path[0]):te.host=Ze.host),ze=Nr;continue;case hr:if(qt===Ce||qt==="/"||qt==="\\"||qt==="?"||qt==="#"){if(!Ne&&bt(Ft))ze=Nr;else if(Ft===""){if(te.host="",Ne)return;ze=_r}else{if(nn=te.parseHost(Ft),nn)return nn;if(te.host==="localhost"&&(te.host=""),Ne)return;Ft="",ze=_r}continue}else Ft+=qt;break;case _r:if(te.isSpecial()){if(ze=Nr,qt!=="/"&&qt!=="\\")continue}else if(!Ne&&qt==="?")te.query="",ze=Qr;else if(!Ne&&qt==="#")te.fragment="",ze=on;else if(qt!==Ce&&(ze=Nr,qt!=="/"))continue;break;case Nr:if(qt===Ce||qt==="/"||qt==="\\"&&te.isSpecial()||!Ne&&(qt==="?"||qt==="#")){if(ot(Ft)?(te.shortenPath(),qt!=="/"&&!(qt==="\\"&&te.isSpecial())&&K(te.path,"")):dt(Ft)?qt!=="/"&&!(qt==="\\"&&te.isSpecial())&&K(te.path,""):(te.scheme==="file"&&!te.path.length&&bt(Ft)&&(te.host&&(te.host=""),Ft=Y(Ft,0)+":"),K(te.path,Ft)),Ft="",te.scheme==="file"&&(qt===Ce||qt==="?"||qt==="#"))for(;te.path.length>1&&te.path[0]==="";)B(te.path);qt==="?"?(te.query="",ze=Qr):qt==="#"&&(te.fragment="",ze=on)}else Ft+=ge(qt,jt);break;case Wr:qt==="?"?(te.query="",ze=Qr):qt==="#"?(te.fragment="",ze=on):qt!==Ce&&(te.path[0]+=ge(qt,et));break;case Qr:!Ne&&qt==="#"?(te.fragment="",ze=on):qt!==Ce&&(qt==="'"&&te.isSpecial()?te.query+="%27":qt==="#"?te.query+="%23":te.query+=ge(qt,et));break;case on:qt!==Ce&&(te.fragment+=ge(qt,Xe));break}kt++}},parseHost:function(ht){var Ne,Ze,te;if(Y(ht,0)==="["){if(Y(ht,ht.length-1)!=="]"||(Ne=Re(ee(ht,1,-1)),!Ne))return He;this.host=Ne}else if(this.isSpecial()){if(ht=P(ht),G(qe,ht)||(Ne=Me(ht),Ne===null))return He;this.host=Ne}else{if(G(At,ht))return He;for(Ne="",Ze=b(ht),te=0;te1?arguments[1]:void 0,ze=D(Ze,new ur(Ne,!1,te));r||(Ze.href=ze.serialize(),Ze.origin=ze.getOrigin(),Ze.protocol=ze.getProtocol(),Ze.username=ze.getUsername(),Ze.password=ze.getPassword(),Ze.host=ze.getHost(),Ze.hostname=ze.getHostname(),Ze.port=ze.getPort(),Ze.pathname=ze.getPathname(),Ze.search=ze.getSearch(),Ze.searchParams=ze.getSearchParams(),Ze.hash=ze.getHash())},Gt=tr.prototype,Er=function(ht,Ne){return{get:function(){return k(this)[ht]()},set:Ne&&function(Ze){return k(this)[Ne](Ze)},configurable:!0,enumerable:!0}};if(r&&(a(Gt,"href",Er("serialize","setHref")),a(Gt,"origin",Er("getOrigin")),a(Gt,"protocol",Er("getProtocol","setProtocol")),a(Gt,"username",Er("getUsername","setUsername")),a(Gt,"password",Er("getPassword","setPassword")),a(Gt,"host",Er("getHost","setHost")),a(Gt,"hostname",Er("getHostname","setHostname")),a(Gt,"port",Er("getPort","setPort")),a(Gt,"pathname",Er("getPathname","setPathname")),a(Gt,"search",Er("getSearch","setSearch")),a(Gt,"searchParams",Er("getSearchParams")),a(Gt,"hash",Er("getHash","setHash"))),c(Gt,"toJSON",function(){return k(this).serialize()},{enumerable:!0}),c(Gt,"toString",function(){return k(this).serialize()},{enumerable:!0}),R){var yr=R.createObjectURL,Or=R.revokeObjectURL;yr&&c(tr,"createObjectURL",s(yr,R)),Or&&c(tr,"revokeObjectURL",s(Or,R))}I(tr,"URL"),t({global:!0,constructor:!0,forced:!n,sham:!r},{URL:tr})},25204:function(i,d,e){"use strict";e(13588)},47803:function(i,d,e){"use strict";var t=e(94488),r=e(89945);t({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return r(URL.prototype.toString,this)}})},73825:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r){if(Array.isArray(r))return r}},65873:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});var t=e(89878);function r(n,o,s){return o=(0,t.Z)(o),o in n?Object.defineProperty(n,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[o]=s,n}},38329:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var n=1;n=0)&&(s[c]=n[c]);return s}function r(n,o){if(n==null)return{};var s=t(n,o),u,c;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(n,u)&&(s[u]=n[u])}return s}},87296:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(73825);function r(u,c){var a=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(a!=null){var f,g,p,b,h=[],E=!0,P=!1;try{if(p=(a=a.call(u)).next,c===0){if(Object(a)!==a)return;E=!1}else for(;!(E=(f=p.call(a)).done)&&(h.push(f.value),h.length!==c);E=!0);}catch(A){P=!0,g=A}finally{try{if(!E&&a.return!=null&&(b=a.return(),Object(b)!==b))return}finally{if(P)throw g}}return h}}var n=e(99227),o=e(66160);function s(u,c){return(0,t.Z)(u)||r(u,c)||(0,n.Z)(u,c)||(0,o.Z)()}},89878:function(i,d,e){"use strict";e.d(d,{Z:function(){return n}});var t=e(8616);function r(o,s){if((0,t.Z)(o)!="object"||!o)return o;var u=o[Symbol.toPrimitive];if(u!==void 0){var c=u.call(o,s||"default");if((0,t.Z)(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(o)}function n(o){var s=r(o,"string");return(0,t.Z)(s)=="symbol"?s:String(s)}},8616:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t(r)}},99227:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});function t(n,o){(o==null||o>n.length)&&(o=n.length);for(var s=0,u=new Array(o);sr.length)&&(n=r.length);for(var o=0,s=Array(n);o=0;--ee){var oe=this.tryEntries[ee],de=oe.completion;if(oe.tryLoc==="root")return H("end");if(oe.tryLoc<=this.prev){var _e=u.call(oe,"catchLoc"),he=u.call(oe,"finallyLoc");if(_e&&he){if(this.prev=0;--H){var ee=this.tryEntries[H];if(ee.tryLoc<=this.prev&&u.call(ee,"finallyLoc")&&this.prev=0;--B){var H=this.tryEntries[B];if(H.finallyLoc===M)return this.complete(H.completion,H.afterLoc),J(H),O}},catch:function(M){for(var B=this.tryEntries.length-1;B>=0;--B){var H=this.tryEntries[B];if(H.tryLoc===M){var ee=H.completion;if(ee.type==="throw"){var oe=ee.arg;J(H)}return oe}}throw Error("illegal catch attempt")},delegateYield:function(M,B,H){return this.delegate={iterator:Z(M),resultName:B,nextLoc:H},this.method==="next"&&(this.arg=n),O}},o}},60039:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r,n){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,s){return o.__proto__=s,o},t(r,n)}},52487:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(29675);function r(u,c){var a=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(a!=null){var f,g,p,b,h=[],E=!0,P=!1;try{if(p=(a=a.call(u)).next,c===0){if(Object(a)!==a)return;E=!1}else for(;!(E=(f=p.call(a)).done)&&(h.push(f.value),h.length!==c);E=!0);}catch(A){P=!0,g=A}finally{try{if(!E&&a.return!=null&&(b=a.return(),Object(b)!==b))return}finally{if(P)throw g}}return h}}var n=e(13873),o=e(49787);function s(u,c){return(0,t.Z)(u)||r(u,c)||(0,n.Z)(u,c)||(0,o.Z)()}},68413:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(29675),r=e(97591),n=e(13873),o=e(49787);function s(u){return(0,t.Z)(u)||(0,r.Z)(u)||(0,n.Z)(u)||(0,o.Z)()}},80702:function(i,d,e){"use strict";e.d(d,{Z:function(){return u}});var t=e(56243);function r(c){if(Array.isArray(c))return(0,t.Z)(c)}var n=e(97591),o=e(13873);function s(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(c){return r(c)||(0,n.Z)(c)||(0,o.Z)(c)||s()}},60254:function(i,d,e){"use strict";e.d(d,{Z:function(){return n}});var t=e(62853);function r(o,s){if((0,t.Z)(o)!="object"||!o)return o;var u=o[Symbol.toPrimitive];if(u!==void 0){var c=u.call(o,s||"default");if((0,t.Z)(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(o)}function n(o){var s=r(o,"string");return(0,t.Z)(s)=="symbol"?s:s+""}},62853:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t(r)}},13873:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});var t=e(56243);function r(n,o){if(n){if(typeof n=="string")return(0,t.Z)(n,o);var s={}.toString.call(n).slice(8,-1);return s==="Object"&&n.constructor&&(s=n.constructor.name),s==="Map"||s==="Set"?Array.from(n):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?(0,t.Z)(n,o):void 0}}},53280:function(i,d,e){"use strict";e.d(d,{D:function(){return r}});function t(n,o,s){var u=s||{},c=u.noTrailing,a=c===void 0?!1:c,f=u.noLeading,g=f===void 0?!1:f,p=u.debounceMode,b=p===void 0?void 0:p,h,E=!1,P=0;function A(){h&&clearTimeout(h)}function I(O){var T=O||{},D=T.upcomingOnly,k=D===void 0?!1:D;A(),E=!k}function C(){for(var O=arguments.length,T=new Array(O),D=0;Dn?g?(P=Date.now(),a||(h=setTimeout(b?R:L,n))):L():a!==!0&&(h=setTimeout(b?R:L,b===void 0?n-$:n))}return C.cancel=I,C}function r(n,o,s){var u=s||{},c=u.atBegin,a=c===void 0?!1:c;return t(n,o,{debounceMode:a!==!1})}}},__webpack_module_cache__={};function __webpack_require__(i){var d=__webpack_module_cache__[i];if(d!==void 0)return d.exports;var e=__webpack_module_cache__[i]={id:i,loaded:!1,exports:{}};return __webpack_modules__[i].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(i){var d=i&&i.__esModule?function(){return i.default}:function(){return i};return __webpack_require__.d(d,{a:d}),d}}(),function(){var i=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},d;__webpack_require__.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);__webpack_require__.r(r);var n={};d=d||[null,i({}),i([]),i(i)];for(var o=t&2&&e;typeof o=="object"&&!~d.indexOf(o);o=i(o))Object.getOwnPropertyNames(o).forEach(function(s){n[s]=function(){return e[s]}});return n.default=function(){return e},__webpack_require__.d(r,n),r}}(),function(){__webpack_require__.d=function(i,d){for(var e in d)__webpack_require__.o(d,e)&&!__webpack_require__.o(i,e)&&Object.defineProperty(i,e,{enumerable:!0,get:d[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(i){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(d,e){return __webpack_require__.f[e](i,d),d},[]))}}(),function(){__webpack_require__.u=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1443:"p__EffectivenessAnalysis__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3897:"p__WxMiniProgram__Courseware__Study__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5741:"p__Classrooms__Lists__SmartPlan__index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8285:"p__Classrooms__Lists__SmartPlan__Info__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8522:"p__Classrooms__Lists__SmartPlan__Info__PptInfo__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"ef8f0433",67:"a91db587",109:"c08cec85",195:"5889d76b",264:"fb2d6182",265:"e9546a06",278:"6c70bcfc",292:"b2c87d25",310:"b1218f7a",316:"1f60ada6",337:"9e982434",342:"adea2f50",354:"d4d139cf",479:"df9b253b",485:"07ccf390",508:"90037c1d",532:"8c144260",533:"8e62d180",547:"3b89fa9b",556:"ee71b8a9",559:"b50a2173",576:"99254dfa",629:"44a1d9a5",643:"bb9750fb",671:"4a609b8d",680:"1447b98d",700:"424686b3",737:"01f1e0f9",741:"ac5fd360",799:"36bfc15e",869:"af3c81d2",895:"8df20a94",921:"8da39ed2",928:"1890997a",981:"24da50c7",1006:"53d5cbd1",1043:"9adf518d",1045:"97bde26e",1048:"305e08df",1070:"c3604541",1144:"c90eccaf",1148:"8398f3fd",1154:"8cb80842",1188:"f4633e3d",1211:"80a02889",1253:"2099f38d",1257:"a74d6d0d",1265:"e5fe8108",1274:"5f6ea65a",1276:"1232c571",1343:"3da74c1e",1416:"6c331f76",1423:"470a8257",1427:"c1bfeaa4",1443:"eee1f2d8",1450:"976d643b",1461:"aa30896b",1462:"fcf08abc",1470:"5d06795b",1475:"085f9d6f",1482:"abccf065",1512:"ae3b1fa1",1520:"c6090522",1545:"8eb5eaee",1578:"e7277107",1581:"4321d969",1582:"b4718166",1646:"e6e27b60",1657:"c7c7ed06",1660:"a810c076",1674:"3eb6ba9a",1702:"1dacf85d",1713:"3249fa32",1717:"d0eca350",1727:"fadb3d2d",1783:"f9fba777",1799:"fa951f21",1831:"75a63677",1836:"c220805c",1855:"fe1d79ba",1880:"cab4f631",1939:"0df05ade",1953:"488104c0",1962:"23d27467",2011:"59d51f98",2045:"a149bcc1",2076:"6daa4993",2102:"272dbeb5",2141:"182cc90e",2216:"907cf53b",2240:"a1b7efc4",2249:"f4830452",2254:"b1a4f36d",2262:"60239102",2300:"e1bf89cf",2303:"1611f53b",2307:"bb61c1e8",2338:"0aa349ea",2339:"765b0694",2386:"192e235c",2396:"42ae1807",2404:"6501788f",2412:"75f0b0e5",2413:"27fd5679",2425:"c3449c38",2443:"3a90e413",2476:"7e64c9b9",2494:"68080a87",2501:"6ec57414",2524:"436a9322",2529:"76e49009",2538:"de4a3723",2539:"dc365e96",2548:"a8fbf09d",2570:"4bf36b75",2594:"e87d3761",2603:"c9a04a3a",2659:"2bec3ca5",2707:"8ddc006b",2806:"bca41b1b",2819:"8128e36a",2823:"ffeb7191",2826:"d47dce5c",2829:"f4b4ef4a",2837:"54a82605",2865:"6d2e0ab7",2875:"77c1c61b",2884:"632ce1c4",2967:"64b43020",2969:"ab3357d7",2983:"fd32b184",3006:"ab9f73a0",3133:"9bf3f89c",3141:"336df2a0",3157:"05a1222f",3183:"e30973c4",3198:"8e655451",3212:"a5e343d2",3220:"4bbae0ce",3247:"e8d840b1",3260:"83ca897b",3267:"7bab569a",3282:"72f1506c",3317:"b42019ce",3332:"61b4f963",3355:"a5052877",3356:"295e2b44",3391:"80021ede",3433:"5fb10824",3442:"bbc107e8",3447:"1e9582ee",3451:"59c9783a",3496:"00e58418",3509:"c4ddc38c",3550:"3dc83156",3581:"e14795de",3585:"d76493a6",3665:"4f10e293",3668:"9a310c95",3685:"31c28f0e",3697:"481a10d9",3747:"3f6f34d1",3754:"8a42053c",3777:"d5b0f2f1",3784:"1f2c11c8",3805:"9dbcb95e",3862:"8806fb69",3873:"387f214f",3885:"f87f7f15",3897:"e75474ca",3910:"badbd452",3935:"90819bf2",3951:"2223870b",3987:"a5fa1e4d",4014:"27a8e97c",4017:"b1859413",4030:"a029ff7a",4056:"1f0162ef",4058:"6208ddf2",4078:"9a077491",4088:"236723f3",4093:"90bed040",4105:"0e283acd",4144:"35e5f8eb",4164:"7b6fae8c",4184:"ff08337d",4216:"c8ac9a07",4217:"aa0c899d",4227:"3ef15339",4259:"7527addd",4264:"825a4819",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"92b1a708",4492:"eb01b811",4496:"9d9cc0fb",4498:"bbd55f78",4504:"f77ce9d4",4514:"14c75352",4520:"e87e91b0",4546:"c4c3db6c",4565:"34ca03e6",4572:"d8043c77",4599:"6cc673d8",4601:"73c33025",4610:"ec7a63bb",4621:"dde2f749",4628:"ece2c60c",4653:"69c5bf4c",4662:"27600660",4685:"c33f1528",4715:"10913953",4736:"73ea7274",4741:"9b47ae07",4757:"1f54d32b",4766:"d267690e",4770:"6041f83a",4790:"619413e4",4795:"a0bdb212",4797:"a24e92db",4800:"b4dd94e3",4849:"08b1303f",4850:"1edda4b7",4862:"a95aa083",4884:"f134344a",4889:"50b4d512",4928:"cac4c15b",4973:"28aa0c10",4994:"c0318238",5022:"ada82325",5043:"1d4699c9",5048:"3b7720a9",5060:"85dafcc6",5096:"eebbd1d8",5111:"aa154aeb",5125:"35a4201c",5148:"4fd06c0e",5176:"fb31544e",5179:"5353a67f",5186:"0204709f",5191:"ed40b41f",5238:"173123b3",5290:"5dabcdc2",5297:"84fa57d1",5319:"e42a6fc7",5321:"1163c84e",5335:"f901d89d",5354:"7ae70604",5357:"a0784fdd",5359:"638b93e5",5382:"681c748a",5402:"4f7c85c9",5416:"454536b7",5434:"38b302a6",5470:"b7634dda",5494:"d89549c4",5518:"bcfc2d5b",5545:"b4c51454",5549:"7808afde",5572:"773f0e2f",5573:"5d3fa326",5599:"db4f249b",5624:"4b356af1",5631:"e00d3d36",5650:"436f08c6",5679:"4a090bef",5705:"41d2c5f1",5729:"557b05e2",5741:"7dc6f742",5764:"e0d7e586",5775:"09da26d0",5786:"b0646120",5798:"b54829ae",5816:"08289028",5825:"0dd96dab",5876:"5eded409",5886:"490e40cd",5888:"54ca67c4",5891:"63a3e0c4",5895:"d80048df",5902:"82dbc3e8",5915:"016d9291",5992:"c321769b",6029:"955a6a9f",6034:"bc5089a2",6045:"d268f87f",6047:"3ce45acd",6052:"a88dd84e",6063:"539525fa",6069:"3dbe669d",6126:"99519171",6127:"ef2157a1",6170:"07f25c2b",6265:"6d9d2115",6270:"94b5f31e",6272:"cc05355d",6277:"57ef5825",6309:"27eeea1b",6328:"15b3a1a7",6366:"82676765",6378:"7f3a946a",6411:"7d1994e3",6434:"3ea89182",6444:"89357235",6452:"ce5249d6",6531:"eac0ffe2",6541:"b5e7feff",6583:"330055cf",6587:"f993e3e5",6634:"5f7a8c4b",6651:"e9bd2590",6685:"61bf44af",6729:"bc76c13a",6741:"13753e91",6758:"efeffddb",6774:"59d4d618",6784:"cef3d262",6788:"72b2ea76",6796:"31a3dd62",6804:"8218176f",6805:"b5e013b0",6820:"72ca5055",6845:"4f8c90af",6882:"9652388c",6883:"556889fa",6904:"93deabc4",6913:"0b38786d",6963:"b1366f48",6982:"b750209e",7008:"b7c8d194",7043:"3c5a2e66",7045:"ddd67658",7046:"ea9241bf",7058:"f2c188d4",7062:"c313f662",7084:"46ccce72",7156:"e7466006",7178:"1f56ceb7",7182:"a4fc885c",7242:"bf63919a",7260:"77d01a75",7331:"2e27a23b",7333:"4cd2a40b",7365:"1005464f",7369:"82089d9c",7395:"3741017b",7460:"1e4a2773",7477:"ad4aeffd",7482:"bd0c7de6",7511:"e01bc888",7527:"9b19ed7e",7545:"96ef4245",7560:"ecff4096",7589:"359e8f23",7591:"8354027c",7614:"2fcecb3f",7622:"4e5e9dca",7631:"dee68dc0",7686:"4fcec9f9",7706:"c2a79e40",7806:"4095c634",7852:"bfc08211",7855:"bb9e47eb",7857:"1a803dd2",7878:"a4543761",7884:"fd11f4be",7922:"ebf2d1fe",7964:"29aed9a1",8014:"603569ee",8062:"7de22a25",8072:"0b65c4ed",8077:"c1023ede",8085:"3d7c5f9d",8089:"d536b13a",8143:"f7617159",8155:"9be1e3db",8161:"83c5fa9a",8237:"b0b2bcac",8241:"3901cd1b",8285:"41adea83",8302:"3445f4bb",8307:"2360c065",8340:"39c85824",8350:"07df8a75",8398:"991f00f1",8431:"d7c6e926",8435:"d2b2e328",8447:"8f5b2ad2",8517:"eb771ec0",8522:"4e8ff105",8561:"333e8ec9",8563:"088b949d",8634:"72be6b24",8639:"68809bd0",8665:"1c968e03",8688:"b812034a",8689:"630d3c23",8723:"ce617c41",8737:"ce7dad23",8776:"0ad26240",8782:"a9bb0f5e",8787:"c44d8b30",8797:"8a3f950f",8823:"f8fa6df8",8827:"99ca019e",8842:"9f25a3e2",8866:"ff0c0287",8882:"65b38c24",8885:"35b0c80b",8898:"d002bcd8",8909:"aa97ab0a",8920:"7f82440c",8963:"790aecdd",8982:"0d47b5c3",8999:"1ce7e756",9076:"e0aaaea3",9104:"bbcb2345",9133:"9ed71b78",9205:"98dee718",9215:"e4da6d8f",9252:"0d791a59",9260:"f163e60e",9332:"554f7961",9360:"b2aefd8f",9366:"57d05513",9391:"f4463617",9404:"9fcc3d3e",9408:"c02bb774",9416:"a959e66b",9472:"a4f76b55",9487:"bbefb860",9489:"ce8d2c64",9507:"f22fd33b",9554:"ed358e7b",9559:"f794af19",9572:"b3cb6da6",9590:"88346063",9647:"0189b9ca",9649:"8176fe80",9674:"103361ac",9677:"32e98112",9695:"278566a7",9715:"560e03a9",9716:"7a9935a9",9785:"85b3dc29",9788:"814d1abf",9886:"c122fd4b",9890:"d82db250",9891:"72f13dc9",9895:"b8e31ff2",9921:"bb34c10f",9922:"35a569c8",9928:"5989f5e0",9944:"e22bbd1b",9950:"74f6dfb2",9968:"17466785",9974:"b46121fa"}[i]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1443:"p__EffectivenessAnalysis__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3897:"p__WxMiniProgram__Courseware__Study__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5741:"p__Classrooms__Lists__SmartPlan__index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8285:"p__Classrooms__Lists__SmartPlan__Info__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8522:"p__Classrooms__Lists__SmartPlan__Info__PptInfo__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"7e9594a1",67:"8abe289a",109:"b9c23c40",195:"912be472",264:"5fd9b3fc",265:"d92c6f86",292:"f6ceb559",310:"8becc5f2",337:"c9ba7e85",342:"2389cd43",479:"249e39e2",485:"d63578fe",508:"a4fb1ddc",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"8bf77b42",643:"0de52106",680:"e67e9e01",700:"0c10ce4d",737:"72eaccaa",799:"9f0700c1",869:"4a5372a2",895:"ce8634e8",921:"b09f4288",928:"d2beba77",1006:"b9d07e6a",1043:"e8c0878b",1045:"38de514b",1048:"c6c344e1",1070:"e67e9e01",1148:"754fff63",1211:"ea984d0a",1253:"46aca33c",1257:"7b8c452c",1265:"1aee9bb3",1276:"bbc6eeec",1343:"b7f33c89",1416:"735363dc",1423:"58fe9b05",1427:"f91322f7",1443:"e1865421",1450:"8e4a5554",1461:"a363a3ef",1470:"afcb0f79",1475:"d22fbaa0",1482:"77af25ff",1512:"f3653a35",1520:"f7300d0e",1545:"c5769eb4",1578:"b97a98c0",1581:"13815a71",1582:"6cb52f3e",1657:"9953b690",1674:"fdbc1e05",1702:"c68efb85",1713:"2d8d66d4",1717:"7fe99454",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"d782a698",1880:"f67d7892",1939:"48e30d48",1953:"53098fd0",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"f82f5b2b",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"dcd2e863",2303:"eb945f5f",2307:"b2c54321",2338:"f0d43fd8",2339:"6a610b14",2396:"8d2f98b7",2404:"253c1335",2412:"b297b168",2425:"4f225802",2443:"2f9b1769",2476:"cf85a190",2501:"2441982c",2524:"96d90e3e",2529:"0d98d328",2539:"1d8aca24",2548:"75182034",2570:"8ecde007",2603:"d2beba77",2659:"f6071a36",2707:"cabcb16e",2806:"9d0f03dc",2819:"32083596",2823:"a13b21fb",2826:"0b6be43b",2829:"b9ad7ac4",2865:"6ef3cf6b",2875:"2f2c99c6",2884:"a179044d",2983:"c8c482f7",3006:"7fce4e74",3141:"dd6cafec",3157:"00a8f267",3183:"b2253f40",3212:"ad1521c1",3220:"1a8a9f14",3247:"3b28d50a",3260:"6fa0a87f",3267:"03cdfb68",3282:"195bced9",3317:"c2e77a8c",3332:"c167e365",3355:"cd26b451",3356:"c6a4098f",3391:"89554b70",3433:"e1590a0b",3442:"2d76d0c9",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"336bb704",3585:"5f288e7b",3665:"8d74f148",3668:"7c685188",3685:"5356e3de",3747:"02cfa484",3784:"c81d4a51",3873:"ff6ac8ea",3897:"8a52e8bf",3910:"658d457f",3935:"701314c7",3951:"0af31afa",4030:"d2e5ff7b",4056:"10eacfff",4058:"ee954c0b",4078:"aa54548e",4093:"c1f29d01",4105:"c1b780a2",4144:"f10aa199",4164:"4ed8e648",4216:"d2beba77",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"a780c6d2",4449:"e68d8d58",4492:"135ab50d",4496:"301aff54",4498:"05f36d8d",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"b8aa19ba",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"84440630",4715:"d953738b",4736:"2968553b",4741:"4e108c30",4757:"73b754d2",4766:"b5df5a8e",4770:"2ad0c1f9",4795:"0e1a548d",4800:"f50302a4",4849:"07e2d0b2",4862:"64940bd1",4884:"bd293d3b",4889:"1db39886",4928:"3ec9e47f",4973:"129c56e8",4994:"01cba244",5022:"81b1b86b",5043:"25756466",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"c519172e",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"86692bca",5297:"3a2685a1",5319:"35fc6024",5335:"fec6fd9f",5357:"1fbb7d24",5359:"bbebe82c",5382:"4e20ad23",5402:"166c0400",5470:"f9f86e99",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"0c72e67d",5650:"f8f63f4b",5705:"df6bf207",5729:"b88ec90d",5741:"f5bf79a9",5775:"f99db9ab",5786:"37a81eaa",5798:"ce1cf7da",5816:"5e85dfee",5825:"57a7f225",5888:"b67f491a",5891:"3b7a128f",5895:"9ddd624a",5902:"d59edd35",5915:"bc9c3e69",5992:"e84da226",6029:"2ded5a5a",6052:"2fbc571d",6063:"a5f0409a",6069:"b417d2f0",6127:"f31505a8",6265:"e786a86e",6270:"75eb86b4",6277:"7140eacb",6328:"1d366bbd",6366:"079fc2d8",6434:"0112f8db",6444:"bb471f47",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"fe524f32",6651:"b07fe216",6685:"f5f5b969",6729:"eb16a227",6741:"b838eb14",6758:"ddf000ad",6784:"1affe817",6788:"6d15e159",6796:"14d05697",6805:"5b253c81",6820:"a7609162",6845:"2d0bc9da",6882:"c2d2eada",6883:"7740a702",6904:"701e3c9a",6913:"2de5ae5c",6963:"84e145fa",6982:"3043a9c3",7008:"33789d66",7043:"9527ec8e",7045:"113cd3ca",7046:"c7301ded",7058:"e5da97d0",7062:"6e5915f9",7178:"6e47d75d",7182:"9c7ac543",7242:"4f353f61",7260:"928abc9d",7395:"5c10e8d8",7460:"c4b86ca7",7477:"66ecedaa",7482:"3a11c394",7527:"e33663ea",7545:"c6a67426",7560:"d82e43ca",7589:"2a3e68f3",7614:"8e370373",7622:"46d58a04",7806:"bd9accb9",7852:"2a6b7650",7855:"6f036cf6",7857:"bdaf3fdc",7878:"2b521fde",7884:"47e0a5df",7922:"c1d9e2f3",8014:"9ef39203",8062:"8e384b9f",8072:"4002695d",8077:"0b2c51d9",8085:"b3e2cb74",8143:"7e86b55b",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8285:"8a6ce507",8302:"c8dc0096",8307:"02e15761",8398:"ecb314e7",8431:"92e46234",8435:"7882364e",8447:"10b1203e",8517:"6a7a4b09",8522:"3c20b9f7",8563:"8940b612",8634:"317d0a2b",8665:"c52575bc",8688:"f98a445e",8689:"459af240",8723:"3dabd419",8782:"918afc23",8787:"121de108",8797:"f07b77eb",8823:"be3e4fc2",8827:"f0f5d5ac",8866:"da63c71f",8882:"2cd0f8b7",8885:"de905169",8982:"c94c2cf8",8999:"7f4c7efe",9076:"6a501148",9133:"03f6f6d3",9205:"1e43ebcb",9215:"f737e7e7",9332:"3d30bf20",9360:"27c7d4f7",9366:"3f6c2582",9391:"473c2453",9404:"d8cf04f7",9408:"d3565b1a",9416:"df580f39",9472:"ef5fc030",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9590:"29583579",9647:"3c89dab6",9649:"5e708a2c",9674:"09dd4aac",9677:"3f012675",9695:"637a583b",9715:"c14c7b68",9716:"d7a969b5",9785:"d48e05db",9788:"4459d92d",9890:"74da05e3",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[i]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(i){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(i){return i=Object.create(i),i.children||(i.children=[]),Object.defineProperty(i,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+i.id)}}),i}}(),function(){__webpack_require__.o=function(i,d){return Object.prototype.hasOwnProperty.call(i,d)}}(),function(){var i={};__webpack_require__.l=function(d,e,t,r){if(i[d]){i[d].push(e);return}var n,o;if(t!==void 0)for(var s=document.getElementsByTagName("script"),u=0;un?g?(P=Date.now(),a||(h=setTimeout(b?R:L,n))):L():a!==!0&&(h=setTimeout(b?R:L,b===void 0?n-$:n))}return C.cancel=I,C}function r(n,o,s){var u=s||{},c=u.atBegin,a=c===void 0?!1:c;return t(n,o,{debounceMode:a!==!1})}}},__webpack_module_cache__={};function __webpack_require__(i){var d=__webpack_module_cache__[i];if(d!==void 0)return d.exports;var e=__webpack_module_cache__[i]={id:i,loaded:!1,exports:{}};return __webpack_modules__[i].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(i){var d=i&&i.__esModule?function(){return i.default}:function(){return i};return __webpack_require__.d(d,{a:d}),d}}(),function(){var i=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},d;__webpack_require__.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);__webpack_require__.r(r);var n={};d=d||[null,i({}),i([]),i(i)];for(var o=t&2&&e;typeof o=="object"&&!~d.indexOf(o);o=i(o))Object.getOwnPropertyNames(o).forEach(function(s){n[s]=function(){return e[s]}});return n.default=function(){return e},__webpack_require__.d(r,n),r}}(),function(){__webpack_require__.d=function(i,d){for(var e in d)__webpack_require__.o(d,e)&&!__webpack_require__.o(i,e)&&Object.defineProperty(i,e,{enumerable:!0,get:d[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(i){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(d,e){return __webpack_require__.f[e](i,d),d},[]))}}(),function(){__webpack_require__.u=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1443:"p__EffectivenessAnalysis__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3897:"p__WxMiniProgram__Courseware__Study__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5741:"p__Classrooms__Lists__SmartPlan__index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8285:"p__Classrooms__Lists__SmartPlan__Info__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8522:"p__Classrooms__Lists__SmartPlan__Info__PptInfo__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"ef8f0433",67:"a91db587",109:"c08cec85",195:"5889d76b",264:"fb2d6182",265:"e9546a06",278:"6c70bcfc",292:"b2c87d25",310:"b1218f7a",316:"1f60ada6",337:"9e982434",342:"adea2f50",354:"d4d139cf",479:"df9b253b",485:"07ccf390",508:"90037c1d",532:"8c144260",533:"8e62d180",547:"3b89fa9b",556:"ee71b8a9",559:"b50a2173",576:"99254dfa",629:"44a1d9a5",643:"bb9750fb",671:"4a609b8d",680:"1447b98d",700:"424686b3",737:"01f1e0f9",741:"ac5fd360",799:"36bfc15e",869:"af3c81d2",895:"8df20a94",921:"8da39ed2",928:"1890997a",981:"24da50c7",1006:"53d5cbd1",1043:"9adf518d",1045:"97bde26e",1048:"305e08df",1070:"c3604541",1144:"c90eccaf",1148:"8398f3fd",1154:"8cb80842",1188:"f4633e3d",1211:"80a02889",1253:"2099f38d",1257:"a74d6d0d",1265:"e5fe8108",1274:"5f6ea65a",1276:"1232c571",1343:"3da74c1e",1416:"6c331f76",1423:"470a8257",1427:"c1bfeaa4",1443:"eee1f2d8",1450:"976d643b",1461:"aa30896b",1462:"fcf08abc",1470:"4bf81584",1475:"085f9d6f",1482:"abccf065",1512:"ae3b1fa1",1520:"c6090522",1545:"8eb5eaee",1578:"e7277107",1581:"4321d969",1582:"b4718166",1646:"e6e27b60",1657:"c7c7ed06",1660:"a810c076",1674:"3eb6ba9a",1702:"1dacf85d",1713:"3249fa32",1717:"38f77775",1727:"fadb3d2d",1783:"f9fba777",1799:"fa951f21",1831:"75a63677",1836:"c220805c",1855:"fe1d79ba",1880:"cab4f631",1939:"0df05ade",1953:"488104c0",1962:"23d27467",2011:"59d51f98",2045:"a149bcc1",2076:"6daa4993",2102:"272dbeb5",2141:"182cc90e",2216:"907cf53b",2240:"a1b7efc4",2249:"f4830452",2254:"b1a4f36d",2262:"60239102",2300:"e1bf89cf",2303:"1611f53b",2307:"bb61c1e8",2338:"0aa349ea",2339:"765b0694",2386:"192e235c",2396:"42ae1807",2404:"6501788f",2412:"75f0b0e5",2413:"27fd5679",2425:"c3449c38",2443:"3a90e413",2476:"7e64c9b9",2494:"68080a87",2501:"6ec57414",2524:"436a9322",2529:"76e49009",2538:"de4a3723",2539:"dc365e96",2548:"a8fbf09d",2570:"4bf36b75",2594:"e87d3761",2603:"c9a04a3a",2659:"2bec3ca5",2707:"8ddc006b",2806:"bca41b1b",2819:"8128e36a",2823:"ffeb7191",2826:"d47dce5c",2829:"f4b4ef4a",2837:"54a82605",2865:"6d2e0ab7",2875:"77c1c61b",2884:"632ce1c4",2967:"64b43020",2969:"ab3357d7",2983:"fd32b184",3006:"ab9f73a0",3133:"9bf3f89c",3141:"336df2a0",3157:"05a1222f",3183:"e30973c4",3198:"8e655451",3212:"a5e343d2",3220:"4bbae0ce",3247:"e8d840b1",3260:"83ca897b",3267:"7bab569a",3282:"72f1506c",3317:"b42019ce",3332:"61b4f963",3355:"a5052877",3356:"295e2b44",3391:"80021ede",3433:"5fb10824",3442:"bbc107e8",3447:"1e9582ee",3451:"59c9783a",3496:"00e58418",3509:"c4ddc38c",3550:"3dc83156",3581:"e14795de",3585:"d76493a6",3665:"4f10e293",3668:"9a310c95",3685:"31c28f0e",3697:"481a10d9",3747:"3f6f34d1",3754:"8a42053c",3777:"d5b0f2f1",3784:"1f2c11c8",3805:"9dbcb95e",3862:"8806fb69",3873:"387f214f",3885:"f87f7f15",3897:"e75474ca",3910:"badbd452",3935:"90819bf2",3951:"2223870b",3987:"a5fa1e4d",4014:"27a8e97c",4017:"b1859413",4030:"a029ff7a",4056:"1f0162ef",4058:"6208ddf2",4078:"9a077491",4088:"236723f3",4093:"90bed040",4105:"0e283acd",4144:"35e5f8eb",4164:"7b6fae8c",4184:"ff08337d",4216:"c8ac9a07",4217:"aa0c899d",4227:"3ef15339",4259:"7527addd",4264:"825a4819",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"92b1a708",4492:"eb01b811",4496:"9d9cc0fb",4498:"bbd55f78",4504:"f77ce9d4",4514:"14c75352",4520:"e87e91b0",4546:"c4c3db6c",4565:"34ca03e6",4572:"d8043c77",4599:"6cc673d8",4601:"73c33025",4610:"ec7a63bb",4621:"dde2f749",4628:"ece2c60c",4653:"69c5bf4c",4662:"27600660",4685:"c33f1528",4715:"10913953",4736:"73ea7274",4741:"9b47ae07",4757:"1f54d32b",4766:"d267690e",4770:"6041f83a",4790:"619413e4",4795:"a0bdb212",4797:"a24e92db",4800:"b4dd94e3",4849:"08b1303f",4850:"1edda4b7",4862:"a95aa083",4884:"f134344a",4889:"50b4d512",4928:"cac4c15b",4973:"28aa0c10",4994:"c0318238",5022:"ada82325",5043:"1d4699c9",5048:"3b7720a9",5060:"85dafcc6",5096:"eebbd1d8",5111:"aa154aeb",5125:"35a4201c",5148:"4fd06c0e",5176:"fb31544e",5179:"5353a67f",5186:"0204709f",5191:"ed40b41f",5238:"173123b3",5290:"5dabcdc2",5297:"84fa57d1",5319:"e42a6fc7",5321:"1163c84e",5335:"f901d89d",5354:"7ae70604",5357:"a0784fdd",5359:"638b93e5",5382:"681c748a",5402:"4f7c85c9",5416:"454536b7",5434:"38b302a6",5470:"b7634dda",5494:"d89549c4",5518:"bcfc2d5b",5545:"b4c51454",5549:"7808afde",5572:"773f0e2f",5573:"5d3fa326",5599:"db4f249b",5624:"4b356af1",5631:"e00d3d36",5650:"436f08c6",5679:"4a090bef",5705:"41d2c5f1",5729:"557b05e2",5741:"7dc6f742",5764:"e0d7e586",5775:"09da26d0",5786:"b0646120",5798:"b54829ae",5816:"08289028",5825:"0dd96dab",5876:"5eded409",5886:"490e40cd",5888:"54ca67c4",5891:"63a3e0c4",5895:"d80048df",5902:"82dbc3e8",5915:"016d9291",5992:"c321769b",6029:"955a6a9f",6034:"bc5089a2",6045:"d268f87f",6047:"3ce45acd",6052:"a88dd84e",6063:"539525fa",6069:"3dbe669d",6126:"99519171",6127:"ef2157a1",6170:"07f25c2b",6265:"6d9d2115",6270:"94b5f31e",6272:"cc05355d",6277:"0586cb0f",6309:"27eeea1b",6328:"15b3a1a7",6366:"82676765",6378:"7f3a946a",6411:"7d1994e3",6434:"3ea89182",6444:"89357235",6452:"ce5249d6",6531:"eac0ffe2",6541:"b5e7feff",6583:"330055cf",6587:"f993e3e5",6634:"5f7a8c4b",6651:"e9bd2590",6685:"61bf44af",6729:"bc76c13a",6741:"13753e91",6758:"efeffddb",6774:"59d4d618",6784:"cef3d262",6788:"72b2ea76",6796:"31a3dd62",6804:"8218176f",6805:"b5e013b0",6820:"72ca5055",6845:"4f8c90af",6882:"9652388c",6883:"556889fa",6904:"93deabc4",6913:"0b38786d",6963:"b1366f48",6982:"b750209e",7008:"b7c8d194",7043:"3c5a2e66",7045:"ddd67658",7046:"ea9241bf",7058:"f2c188d4",7062:"c313f662",7084:"46ccce72",7156:"e7466006",7178:"1f56ceb7",7182:"35bb175b",7242:"bf63919a",7260:"77d01a75",7331:"2e27a23b",7333:"4cd2a40b",7365:"1005464f",7369:"82089d9c",7395:"3741017b",7460:"1e4a2773",7477:"ad4aeffd",7482:"bd0c7de6",7511:"e01bc888",7527:"9b19ed7e",7545:"96ef4245",7560:"ecff4096",7589:"359e8f23",7591:"8354027c",7614:"2fcecb3f",7622:"4e5e9dca",7631:"dee68dc0",7686:"4fcec9f9",7706:"c2a79e40",7806:"4095c634",7852:"bfc08211",7855:"bb9e47eb",7857:"1a803dd2",7878:"a4543761",7884:"fd11f4be",7922:"ebf2d1fe",7964:"29aed9a1",8014:"603569ee",8062:"7de22a25",8072:"0b65c4ed",8077:"c1023ede",8085:"3d7c5f9d",8089:"d536b13a",8143:"f7617159",8155:"9be1e3db",8161:"83c5fa9a",8237:"b0b2bcac",8241:"3901cd1b",8285:"41adea83",8302:"3445f4bb",8307:"2360c065",8340:"39c85824",8350:"07df8a75",8398:"991f00f1",8431:"d7c6e926",8435:"d2b2e328",8447:"8f5b2ad2",8517:"eb771ec0",8522:"4e8ff105",8561:"333e8ec9",8563:"088b949d",8634:"72be6b24",8639:"68809bd0",8665:"1c968e03",8688:"b812034a",8689:"630d3c23",8723:"ce617c41",8737:"ce7dad23",8776:"0ad26240",8782:"a9bb0f5e",8787:"c44d8b30",8797:"8a3f950f",8823:"f8fa6df8",8827:"99ca019e",8842:"9f25a3e2",8866:"ff0c0287",8882:"65b38c24",8885:"35b0c80b",8898:"d002bcd8",8909:"aa97ab0a",8920:"7f82440c",8963:"790aecdd",8982:"0d47b5c3",8999:"1ce7e756",9076:"e0aaaea3",9104:"bbcb2345",9133:"9ed71b78",9205:"98dee718",9215:"e4da6d8f",9252:"0d791a59",9260:"f163e60e",9332:"554f7961",9360:"b2aefd8f",9366:"57d05513",9391:"f4463617",9404:"9fcc3d3e",9408:"c02bb774",9416:"a959e66b",9472:"a4f76b55",9487:"bbefb860",9489:"ce8d2c64",9507:"f22fd33b",9554:"ed358e7b",9559:"f794af19",9572:"b3cb6da6",9590:"88346063",9647:"0189b9ca",9649:"8176fe80",9674:"103361ac",9677:"32e98112",9695:"278566a7",9715:"560e03a9",9716:"7a9935a9",9785:"85b3dc29",9788:"814d1abf",9886:"c122fd4b",9890:"d82db250",9891:"72f13dc9",9895:"b8e31ff2",9921:"bb34c10f",9922:"35a569c8",9928:"5989f5e0",9944:"e22bbd1b",9950:"74f6dfb2",9968:"17466785",9974:"b46121fa"}[i]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1443:"p__EffectivenessAnalysis__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3897:"p__WxMiniProgram__Courseware__Study__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5741:"p__Classrooms__Lists__SmartPlan__index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8285:"p__Classrooms__Lists__SmartPlan__Info__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8522:"p__Classrooms__Lists__SmartPlan__Info__PptInfo__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"7e9594a1",67:"8abe289a",109:"b9c23c40",195:"912be472",264:"5fd9b3fc",265:"d92c6f86",292:"f6ceb559",310:"8becc5f2",337:"c9ba7e85",342:"2389cd43",479:"249e39e2",485:"d63578fe",508:"a4fb1ddc",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"8bf77b42",643:"0de52106",680:"e67e9e01",700:"0c10ce4d",737:"72eaccaa",799:"9f0700c1",869:"4a5372a2",895:"ce8634e8",921:"b09f4288",928:"d2beba77",1006:"b9d07e6a",1043:"e8c0878b",1045:"38de514b",1048:"c6c344e1",1070:"e67e9e01",1148:"754fff63",1211:"ea984d0a",1253:"46aca33c",1257:"7b8c452c",1265:"1aee9bb3",1276:"bbc6eeec",1343:"b7f33c89",1416:"735363dc",1423:"58fe9b05",1427:"f91322f7",1443:"e1865421",1450:"8e4a5554",1461:"a363a3ef",1470:"afcb0f79",1475:"d22fbaa0",1482:"77af25ff",1512:"f3653a35",1520:"f7300d0e",1545:"c5769eb4",1578:"b97a98c0",1581:"13815a71",1582:"6cb52f3e",1657:"9953b690",1674:"fdbc1e05",1702:"c68efb85",1713:"2d8d66d4",1717:"7fe99454",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"d782a698",1880:"f67d7892",1939:"48e30d48",1953:"53098fd0",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"f82f5b2b",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"dcd2e863",2303:"eb945f5f",2307:"b2c54321",2338:"f0d43fd8",2339:"6a610b14",2396:"8d2f98b7",2404:"253c1335",2412:"b297b168",2425:"4f225802",2443:"2f9b1769",2476:"cf85a190",2501:"2441982c",2524:"96d90e3e",2529:"0d98d328",2539:"1d8aca24",2548:"75182034",2570:"8ecde007",2603:"d2beba77",2659:"f6071a36",2707:"cabcb16e",2806:"9d0f03dc",2819:"32083596",2823:"a13b21fb",2826:"0b6be43b",2829:"b9ad7ac4",2865:"6ef3cf6b",2875:"2f2c99c6",2884:"a179044d",2983:"c8c482f7",3006:"7fce4e74",3141:"dd6cafec",3157:"00a8f267",3183:"b2253f40",3212:"ad1521c1",3220:"1a8a9f14",3247:"3b28d50a",3260:"6fa0a87f",3267:"03cdfb68",3282:"195bced9",3317:"c2e77a8c",3332:"c167e365",3355:"cd26b451",3356:"c6a4098f",3391:"89554b70",3433:"e1590a0b",3442:"2d76d0c9",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"336bb704",3585:"5f288e7b",3665:"8d74f148",3668:"7c685188",3685:"5356e3de",3747:"02cfa484",3784:"c81d4a51",3873:"ff6ac8ea",3897:"8a52e8bf",3910:"658d457f",3935:"701314c7",3951:"0af31afa",4030:"d2e5ff7b",4056:"10eacfff",4058:"ee954c0b",4078:"aa54548e",4093:"c1f29d01",4105:"c1b780a2",4144:"f10aa199",4164:"4ed8e648",4216:"d2beba77",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"a780c6d2",4449:"e68d8d58",4492:"135ab50d",4496:"301aff54",4498:"05f36d8d",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"b8aa19ba",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"84440630",4715:"d953738b",4736:"2968553b",4741:"4e108c30",4757:"73b754d2",4766:"b5df5a8e",4770:"2ad0c1f9",4795:"0e1a548d",4800:"f50302a4",4849:"07e2d0b2",4862:"64940bd1",4884:"bd293d3b",4889:"1db39886",4928:"3ec9e47f",4973:"129c56e8",4994:"01cba244",5022:"81b1b86b",5043:"25756466",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"c519172e",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"86692bca",5297:"3a2685a1",5319:"35fc6024",5335:"fec6fd9f",5357:"1fbb7d24",5359:"bbebe82c",5382:"4e20ad23",5402:"166c0400",5470:"f9f86e99",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"0c72e67d",5650:"f8f63f4b",5705:"df6bf207",5729:"b88ec90d",5741:"f5bf79a9",5775:"f99db9ab",5786:"37a81eaa",5798:"ce1cf7da",5816:"5e85dfee",5825:"57a7f225",5888:"b67f491a",5891:"3b7a128f",5895:"9ddd624a",5902:"d59edd35",5915:"bc9c3e69",5992:"e84da226",6029:"2ded5a5a",6052:"2fbc571d",6063:"a5f0409a",6069:"b417d2f0",6127:"f31505a8",6265:"e786a86e",6270:"75eb86b4",6277:"7140eacb",6328:"1d366bbd",6366:"079fc2d8",6434:"0112f8db",6444:"bb471f47",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"fe524f32",6651:"b07fe216",6685:"f5f5b969",6729:"eb16a227",6741:"b838eb14",6758:"ddf000ad",6784:"1affe817",6788:"6d15e159",6796:"14d05697",6805:"5b253c81",6820:"a7609162",6845:"2d0bc9da",6882:"c2d2eada",6883:"7740a702",6904:"701e3c9a",6913:"2de5ae5c",6963:"84e145fa",6982:"3043a9c3",7008:"33789d66",7043:"9527ec8e",7045:"113cd3ca",7046:"c7301ded",7058:"e5da97d0",7062:"6e5915f9",7178:"6e47d75d",7182:"9c7ac543",7242:"4f353f61",7260:"928abc9d",7395:"5c10e8d8",7460:"c4b86ca7",7477:"66ecedaa",7482:"3a11c394",7527:"e33663ea",7545:"c6a67426",7560:"d82e43ca",7589:"2a3e68f3",7614:"8e370373",7622:"46d58a04",7806:"bd9accb9",7852:"2a6b7650",7855:"6f036cf6",7857:"bdaf3fdc",7878:"2b521fde",7884:"47e0a5df",7922:"c1d9e2f3",8014:"9ef39203",8062:"8e384b9f",8072:"4002695d",8077:"0b2c51d9",8085:"b3e2cb74",8143:"7e86b55b",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8285:"8a6ce507",8302:"c8dc0096",8307:"02e15761",8398:"ecb314e7",8431:"92e46234",8435:"7882364e",8447:"10b1203e",8517:"6a7a4b09",8522:"3c20b9f7",8563:"8940b612",8634:"317d0a2b",8665:"c52575bc",8688:"f98a445e",8689:"459af240",8723:"3dabd419",8782:"918afc23",8787:"121de108",8797:"f07b77eb",8823:"be3e4fc2",8827:"f0f5d5ac",8866:"da63c71f",8882:"2cd0f8b7",8885:"de905169",8982:"c94c2cf8",8999:"7f4c7efe",9076:"6a501148",9133:"03f6f6d3",9205:"1e43ebcb",9215:"f737e7e7",9332:"3d30bf20",9360:"27c7d4f7",9366:"3f6c2582",9391:"473c2453",9404:"d8cf04f7",9408:"d3565b1a",9416:"df580f39",9472:"ef5fc030",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9590:"29583579",9647:"3c89dab6",9649:"5e708a2c",9674:"09dd4aac",9677:"3f012675",9695:"637a583b",9715:"c14c7b68",9716:"d7a969b5",9785:"d48e05db",9788:"4459d92d",9890:"74da05e3",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[i]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(i){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(i){return i=Object.create(i),i.children||(i.children=[]),Object.defineProperty(i,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+i.id)}}),i}}(),function(){__webpack_require__.o=function(i,d){return Object.prototype.hasOwnProperty.call(i,d)}}(),function(){var i={};__webpack_require__.l=function(d,e,t,r){if(i[d]){i[d].push(e);return}var n,o;if(t!==void 0)for(var s=document.getElementsByTagName("script"),u=0;u0&&arguments[0]!==void 0?arguments[0]:"";return kr.endsWith("/")?kr:"".concat(kr,"/")}var tc=__webpack_require__(38127),Su=__webpack_require__(38329),ru=__webpack_require__(8616),nu=["content"],Wi=["content"],ki=/^(http:|https:)?\/\//;function rc(kr){return ki.test(kr)||kr.startsWith("/")&&!kr.startsWith("/*")||kr.startsWith("./")||kr.startsWith("../")}var Bu=function(){return se.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},au=function(Xr){var Dn,da=Xr.loaderData,jn=Xr.htmlPageOpts,Kn=Xr.manifest,Jn=(Kn==null||(Dn=Kn.assets)===null||Dn===void 0?void 0:Dn["umi.css"])||"";return se.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(da||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(jn||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(Jn,"'")}})};function as(kr){var Xr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof kr=="string")return rc(kr)?(0,Vo.Z)({src:kr},Xr):{content:kr};if((0,ru.Z)(kr)==="object")return(0,Vo.Z)((0,Vo.Z)({},kr),Xr);throw new Error("Invalid script type: ".concat((0,ru.Z)(kr)))}function wi(kr){return rc(kr)?{type:"link",href:kr}:{type:"style",content:kr}}var al=function(Xr){var Dn,da,jn,Kn,Jn,Va,Fn=Xr.htmlPageOpts;return se.createElement(se.Fragment,null,(Fn==null?void 0:Fn.title)&&se.createElement("title",null,Fn.title),Fn==null||(Dn=Fn.favicons)===null||Dn===void 0?void 0:Dn.map(function(Ka,_s){return se.createElement("link",{key:_s,rel:"shortcut icon",href:Ka})}),(Fn==null?void 0:Fn.description)&&se.createElement("meta",{name:"description",content:Fn.description}),(Fn==null||(da=Fn.keywords)===null||da===void 0?void 0:da.length)&&se.createElement("meta",{name:"keywords",content:Fn.keywords.join(",")}),Fn==null||(jn=Fn.metas)===null||jn===void 0?void 0:jn.map(function(Ka){return se.createElement("meta",{key:Ka.name,name:Ka.name,content:Ka.content})}),Fn==null||(Kn=Fn.links)===null||Kn===void 0?void 0:Kn.map(function(Ka,_s){return se.createElement("link",(0,Su.Z)({key:_s},Ka))}),Fn==null||(Jn=Fn.styles)===null||Jn===void 0?void 0:Jn.map(function(Ka,_s){var vs=wi(Ka),$s=vs.type,js=vs.href,cu=vs.content;if($s==="link")return se.createElement("link",{key:_s,rel:"stylesheet",href:js});if($s==="style")return se.createElement("style",{key:_s},cu)}),Fn==null||(Va=Fn.headScripts)===null||Va===void 0?void 0:Va.map(function(Ka,_s){var vs=as(Ka),$s=vs.content,js=(0,tc.Z)(vs,nu);return se.createElement("script",(0,Su.Z)({dangerouslySetInnerHTML:{__html:$s},key:_s},js))}))};function Nu(kr){var Xr,Dn=kr.children,da=kr.loaderData,jn=kr.manifest,Kn=kr.htmlPageOpts,Jn=kr.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Va=kr.mountElementId;if(Jn!=null&&Jn.pureHtml)return se.createElement("html",null,se.createElement("head",null),se.createElement("body",null,se.createElement(Bu,null),se.createElement("div",{id:Va},Dn),se.createElement(au,{manifest:jn,loaderData:da,htmlPageOpts:Kn})));if(Jn!=null&&Jn.pureApp)return se.createElement(se.Fragment,null,Dn);var Fn=typeof window=="undefined"?jn==null?void 0:jn.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return se.createElement("html",{suppressHydrationWarning:!0,lang:(Kn==null?void 0:Kn.lang)||"en"},se.createElement("head",null,se.createElement("meta",{charSet:"utf-8"}),se.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Fn&&se.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Fn}),se.createElement(al,{htmlPageOpts:Kn})),se.createElement("body",null,se.createElement(Bu,null),se.createElement("div",{id:Va},Dn),se.createElement(au,{manifest:jn,loaderData:da,htmlPageOpts:Kn}),Kn==null||(Xr=Kn.scripts)===null||Xr===void 0?void 0:Xr.map(function(Ka,_s){var vs=as(Ka),$s=vs.content,js=(0,tc.Z)(vs,Wi);return se.createElement("script",(0,Su.Z)({dangerouslySetInnerHTML:{__html:$s},key:_s},js))})))}var ou=se.createContext(void 0);function ol(){return se.useContext(ou)}var Pu=["redirect"];function Ds(kr){var Xr=kr.routesById,Dn=kr.parentId,da=kr.routeComponents,jn=kr.useStream,Kn=jn===void 0?!0:jn;return Object.keys(Xr).filter(function(Jn){return Xr[Jn].parentId===Dn}).map(function(Jn){var Va=il((0,Vo.Z)((0,Vo.Z)({route:Xr[Jn],routeComponent:da[Jn],loadingComponent:kr.loadingComponent,reactRouter5Compat:kr.reactRouter5Compat},kr.reactRouter5Compat&&{hasChildren:Object.keys(Xr).filter(function(Ka){return Xr[Ka].parentId===Jn}).length>0}),{},{useStream:Kn})),Fn=Ds({routesById:Xr,routeComponents:da,parentId:Va.id,loadingComponent:kr.loadingComponent,reactRouter5Compat:kr.reactRouter5Compat,useStream:Kn});return Fn.length>0&&(Va.children=Fn,Va.routes=Fn),Va})}function Cc(kr){var Xr=(0,mi.UO)(),Dn=(0,mi.Gn)(kr.to,Xr),da=(0,Eu.T$)(),jn=(0,mi.TH)();if(da!=null&&da.keepQuery){var Kn=jn.search+jn.hash;Dn+=Kn}var Jn=(0,Vo.Z)((0,Vo.Z)({},kr),{},{to:Dn});return se.createElement(mi.Fg,(0,Su.Z)({replace:!0},Jn))}function il(kr){var Xr=kr.route,Dn=kr.useStream,da=Dn===void 0?!0:Dn,jn=Xr.redirect,Kn=(0,tc.Z)(Xr,Pu),Jn=kr.reactRouter5Compat?ac:oc;return(0,Vo.Z)({element:jn?se.createElement(Cc,{to:jn}):se.createElement(ou.Provider,{value:{route:kr.route}},se.createElement(Jn,{loader:se.memo(kr.routeComponent),loadingComponent:kr.loadingComponent||nc,hasChildren:kr.hasChildren,useStream:da}))},Kn)}function nc(){return se.createElement("div",null)}function ac(kr){var Xr=ol(),Dn=Xr.route,da=(0,Eu.Ov)(),jn=da.history,Kn=da.clientRoutes,Jn=(0,mi.UO)(),Va={params:Jn,isExact:!0,path:Dn.path,url:jn.location.pathname},Fn=kr.loader,Ka={location:jn.location,match:Va,history:jn,params:Jn,route:Dn,routes:Kn};return kr.useStream?se.createElement(se.Suspense,{fallback:se.createElement(kr.loadingComponent,null)},se.createElement(Fn,Ka,kr.hasChildren&&se.createElement(mi.j3,null))):se.createElement(Fn,Ka,kr.hasChildren&&se.createElement(mi.j3,null))}function oc(kr){var Xr=kr.loader;return kr.useStream?se.createElement(se.Suspense,{fallback:se.createElement(kr.loadingComponent,null)},se.createElement(Xr,null)):se.createElement(Xr,null)}var Cu=null;function Al(){return Cu}function ic(kr){var Xr=kr.history,Dn=se.useState({action:Xr.action,location:Xr.location}),da=(0,Ui.Z)(Dn,2),jn=da[0],Kn=da[1];return(0,se.useLayoutEffect)(function(){return Xr.listen(Kn)},[Xr]),(0,se.useLayoutEffect)(function(){function Jn(Va){kr.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:kr.routes,clientRoutes:kr.clientRoutes,location:Va.location,action:Va.action,basename:kr.basename,isFirst:!!Va.isFirst}})}return Jn({location:jn.location,action:jn.action,isFirst:!0}),Xr.listen(Jn)},[Xr,kr.routes,kr.clientRoutes]),se.createElement(mi.F0,{navigator:Xr,location:jn.location,basename:kr.basename},kr.children)}function Hi(){var kr=(0,Eu.Ov)(),Xr=kr.clientRoutes;return(0,mi.V$)(Xr)}var Zu=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],sc=function(Xr,Dn){var da=Xr.basename||"/",jn=Ds({routesById:Xr.routes,routeComponents:Xr.routeComponents,loadingComponent:Xr.loadingComponent,reactRouter5Compat:Xr.reactRouter5Compat,useStream:Xr.useStream});Xr.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:jn}});for(var Kn=se.createElement(ic,{basename:da,pluginManager:Xr.pluginManager,routes:Xr.routes,clientRoutes:jn,history:Xr.history},Dn),Jn=0,Va=Zu;Jnnew Promise((da,jn)=>{var Kn=Fn=>{try{Va(Dn.next(Fn))}catch(Ka){jn(Ka)}},Jn=Fn=>{try{Va(Dn.throw(Fn))}catch(Ka){jn(Ka)}},Va=Fn=>Fn.done?da(Fn.value):Promise.resolve(Fn.value).then(Kn,Jn);Va((Dn=Dn.apply(kr,Xr)).next())});function y(){return m(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"82"},83:{path:"/classrooms/guidance",parentId:"19",id:"83"},84:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"84"},85:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"98"},99:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"99"},100:{path:"/classrooms/",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"100",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework",parentId:"100",id:"102"},103:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"100",id:"103"},104:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"105"},106:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"100",id:"106"},107:{path:"/classrooms/:coursesId/exercise",parentId:"100",id:"107"},108:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"100",id:"108"},109:{path:"/classrooms/:coursesId/poll",parentId:"100",id:"109"},110:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"100",id:"110"},111:{path:"/classrooms/:coursesId/common_homework",parentId:"100",id:"111"},112:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"100",id:"112"},113:{path:"/classrooms/:coursesId/group_homework",parentId:"100",id:"113"},114:{path:"/classrooms/:coursesId/teachers",parentId:"100",id:"114"},115:{path:"/classrooms/:coursesId/students",parentId:"100",id:"115"},116:{path:"/classrooms/:coursesId/assistant",parentId:"100",id:"116"},117:{path:"/classrooms/:coursesId/program_homework",parentId:"100",id:"117"},118:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"100",id:"118"},119:{path:"/classrooms/:coursesId/engineering",parentId:"100",id:"119"},120:{path:"/classrooms/:coursesId/learning_path",parentId:"100",id:"120"},121:{path:"/classrooms/:coursesId/resource_recommend",parentId:"100",id:"121"},122:{path:"/classrooms/:coursesId/attendance",parentId:"100",id:"122"},123:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"100",id:"123"},124:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"100",id:"124"},125:{path:"/classrooms/:coursesId/announcement",parentId:"100",id:"125"},126:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"100",id:"126"},127:{path:"/classrooms/:coursesId/online_learning",parentId:"100",id:"127"},128:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"100",id:"128"},129:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"100",id:"129"},130:{path:"/classrooms/:coursesId/attachment",parentId:"100",id:"130"},131:{path:"/classrooms/:coursesId/video",parentId:"100",id:"131"},132:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"100",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"100",id:"133"},134:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"100",id:"134"},135:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"100",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"100",id:"136"},137:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"100",id:"137"},138:{path:"/classrooms/:coursesId/live_video",parentId:"100",id:"138"},139:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"100",id:"139"},140:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"100",id:"140"},141:{path:"/classrooms/:coursesId/board",parentId:"100",id:"141"},142:{path:"/classrooms/:coursesId/course_group",parentId:"100",id:"142"},143:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"100",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"100",id:"144"},145:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"100",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group",parentId:"100",id:"146"},147:{path:"/classrooms/:coursesId/statistics/",parentId:"100",id:"147"},148:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"100",id:"148"},149:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"100",id:"149"},150:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"100",id:"150"},151:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"100",id:"151"},152:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"100",id:"152"},153:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"100",id:"153"},154:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"100",id:"154"},155:{path:"/classrooms/:coursesId",parentId:"100",id:"155"},156:{path:"/classrooms/:coursesId/template",parentId:"100",id:"156"},157:{path:"/classrooms/:coursesId/smart_plan",parentId:"100",id:"157"},158:{path:"/classrooms/:coursesId/smart_plan/:id/info",parentId:"19",id:"158"},159:{path:"/competitions",parentId:"1",id:"159"},160:{path:"/competitions/index",parentId:"159",id:"160"},161:{path:"/competitions/:identifier/list",parentId:"159",id:"161"},162:{path:"/competitions/exports",parentId:"159",id:"162"},163:{path:"/competitions",parentId:"159",id:"163"},164:{path:"/competitions/:identifier",parentId:"159",id:"164"},165:{path:"/competitions/index/:identifier",parentId:"159",id:"165"},166:{path:"/competitions/:identifier/detail/enroll",parentId:"159",id:"166"},167:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"159",id:"167"},168:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"159",id:"168"},169:{path:"/competitions/detail/:identifier",parentId:"159",id:"169"},170:{path:"/forums",parentId:"1",id:"170"},171:{path:"/forums",parentId:"170",id:"171"},172:{path:"/forums/categories/:memoType",parentId:"170",id:"172"},173:{path:"/forums/new",parentId:"170",id:"173"},174:{path:"/forums/:memoId/edit",parentId:"170",id:"174"},175:{path:"/forums/:memoId",parentId:"170",id:"175"},176:{path:"/problemset",parentId:"1",id:"176"},177:{path:"/problemset",parentId:"176",id:"177"},178:{path:"/problemset/newitem",parentId:"176",id:"178"},179:{path:"/problemset/:type/:id",parentId:"176",id:"179"},180:{path:"/problemset/preview",parentId:"176",id:"180"},181:{path:"/problemset/preview_new",parentId:"176",id:"181"},182:{path:"/problemset/preview_select",parentId:"176",id:"182"},183:{path:"/shixuns",parentId:"1",id:"183"},184:{path:"/shixuns",parentId:"183",id:"184"},185:{path:"/shixuns/exports",parentId:"183",id:"185"},186:{path:"/shixuns/new",parentId:"183",id:"186"},187:{path:"/shixuns/new/CreateImg",parentId:"183",id:"187"},188:{path:"/shixuns/new/:id/imagepreview",parentId:"183",id:"188"},189:{path:"/shixuns/:id/Merge",parentId:"183",id:"189"},190:{path:"/shixuns/:id/Split",parentId:"183",id:"190"},191:{path:"/shixuns/:id/edit",parentId:"183",id:"191"},192:{path:"shixuns/:id/edit/warehouse",parentId:"191",id:"192"},193:{path:"/shixuns/:id/edit/newquestion",parentId:"191",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"191",id:"194"},195:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"191",id:"195"},196:{path:"/shixuns/:id/edit/new",parentId:"191",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"191",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"191",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"191",id:"199"},200:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"191",id:"200"},201:{path:"/shixuns/:id",parentId:"183",id:"201"},202:{path:"/shixuns/:id/poll",parentId:"201",id:"202"},203:{path:"/shixuns/:id/challenges",parentId:"201",id:"203"},204:{path:"/shixuns/:id/repository",parentId:"201",id:"204"},205:{path:"/shixuns/:id/secret_repository",parentId:"201",id:"205"},206:{path:"/shixuns/:id/collaborators",parentId:"201",id:"206"},207:{path:"/shixuns/:id/dataset",parentId:"201",id:"207"},208:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"201",id:"208"},209:{path:"/shixuns/:id/shixun_discuss",parentId:"201",id:"209"},210:{path:"/shixuns/:id/ranking_list",parentId:"201",id:"210"},211:{path:"/shixuns/:id/settings",parentId:"201",id:"211"},212:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"201",id:"212"},213:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"201",id:"213"},214:{path:"/shixuns/:id/repository/upload_file",parentId:"201",id:"214"},215:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"201",id:"215"},216:{path:"/shixuns/:id/repository/add_file",parentId:"201",id:"216"},217:{path:"/shixuns/:id/secret_repository/add_file",parentId:"201",id:"217"},218:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"218"},219:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"219"},220:{path:"/shixuns/:id/audit_situation",parentId:"201",id:"220"},221:{path:"/shixuns/:id/fork_list",parentId:"201",id:"221"},222:{path:"/users",parentId:"1",id:"222"},223:{path:"/users/:username/videos/protocol",parentId:"222",id:"223"},224:{path:"/users/:username/videos/resourceProtocol",parentId:"222",id:"224"},225:{path:"/users/:username/videos/success",parentId:"222",id:"225"},226:{path:"/users/:username/topicbank/:topicstype",parentId:"222",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"222",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"222",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"222",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"222",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"222",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"222",id:"232"},233:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"222",id:"233"},234:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"222",id:"234"},235:{path:"/users/:username/experiment-img/add",parentId:"222",id:"235"},236:{path:"/users/:username",parentId:"222",id:"236"},237:{path:"/users/:username",parentId:"236",id:"237"},238:{path:"/users/:username/baseInfo/edit",parentId:"236",id:"238"},239:{path:"/users/:username/baseInfo",parentId:"236",id:"239"},240:{path:"/users/:username/realNameCertification",parentId:"236",id:"240"},241:{path:"/users/:username/careerCertification",parentId:"236",id:"241"},242:{path:"/users/:username/classrooms",parentId:"236",id:"242"},243:{path:"/users/:username/shixuns",parentId:"236",id:"243"},244:{path:"/users/:username/dataSet",parentId:"236",id:"244"},245:{path:"/users/:username/userPortrait",parentId:"236",id:"245"},246:{path:"/users/:username/learningPath",parentId:"236",id:"246"},247:{path:"/users/:username/teach-group",parentId:"236",id:"247"},248:{path:"/users/:username/competitions",parentId:"236",id:"248"},249:{path:"/users/:username/experiment-img",parentId:"236",id:"249"},250:{path:"/users/:username/experiment-img/:experid/detail",parentId:"236",id:"250"},251:{path:"/users/:username/certificate",parentId:"236",id:"251"},252:{path:"/users/:username/otherResources",parentId:"236",id:"252"},253:{path:"/users/:username/paths",parentId:"236",id:"253"},254:{path:"/users/:username/projects",parentId:"236",id:"254"},255:{path:"/users/:username/videos",parentId:"236",id:"255"},256:{path:"/users/:username/videos/upload",parentId:"236",id:"256"},257:{path:"/users/:username/topics/:topicstype",parentId:"236",id:"257"},258:{path:"/users/:username/vspaces",parentId:"236",id:"258"},259:{path:"/users/:username/resourcesCenter",parentId:"236",id:"259"},260:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"236",id:"260"},261:{path:"/users/:username/resourceGuarantee",parentId:"236",id:"261"},262:{path:"/users/:username/resourceAllocation",parentId:"236",id:"262"},263:{parentId:"1",id:"263"},264:{path:"/problems",parentId:"263",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems/batchAdd",parentId:"264",id:"266"},267:{path:"/problems/newcreate",parentId:"263",id:"267"},268:{path:"/problems/newedit/:id",exact:!0,parentId:"263",id:"268"},269:{path:"/problems/:id/edit",exact:!0,parentId:"263",id:"269"},270:{path:"/problems/new",exact:!0,parentId:"263",id:"270"},271:{path:"/problems/:id/oj/:save_identifier",parentId:"263",id:"271"},272:{path:"/problems/:id/record-detail/:submitId",parentId:"263",id:"272"},273:{path:"/problems/add",parentId:"263",id:"273"},274:{path:"/problems/:id/ojedit",parentId:"263",id:"274"},275:{path:"/engineering",parentId:"1",id:"275"},276:{path:"/engineering",parentId:"275",id:"276"},277:{path:"/engineering/teacherList",parentId:"276",id:"277"},278:{path:"/engineering/studentList",parentId:"276",id:"278"},279:{path:"/engineering/training/program",parentId:"276",id:"279"},280:{path:"/engineering/training/program/add",parentId:"276",id:"280"},281:{path:"/engineering/training/program/edit",parentId:"276",id:"281"},282:{path:"/engineering/training/objectives",parentId:"276",id:"282"},283:{path:"/engineering/graduated/index",parentId:"276",id:"283"},284:{path:"/engineering/graduated/matrix",parentId:"276",id:"284"},285:{path:"/engineering/course/list",parentId:"276",id:"285"},286:{path:"/engineering/course/setting",parentId:"276",id:"286"},287:{path:"/engineering/course/matrix",parentId:"276",id:"287"},288:{path:"/engineering/navigation",parentId:"276",id:"288"},289:{path:"/engineering/evaluate/course",parentId:"276",id:"289"},290:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"276",id:"290"},291:{path:"/engineering/evaluate/norm",parentId:"276",id:"291"},292:{path:"/engineering/evaluate/document",parentId:"276",id:"292"},293:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"276",id:"293"},294:{path:"/engineering/*",redirect:"/404",parentId:"276",id:"294"},295:{path:"/innovation",parentId:"1",id:"295"},296:{path:"/innovation/tasks/:taskId",parentId:"295",id:"296"},297:{path:"/innovation",parentId:"295",id:"297"},298:{path:"/innovation/project",parentId:"297",id:"298"},299:{path:"/innovation/dataset",parentId:"297",id:"299"},300:{path:"/innovation/mirror",parentId:"297",id:"300"},301:{path:"/innovation/my-project",parentId:"297",id:"301"},302:{path:"/innovation/my-dataset",parentId:"297",id:"302"},303:{path:"/innovation/my-mirror",parentId:"297",id:"303"},304:{path:"/innovation/project/create",parentId:"297",id:"304"},305:{path:"/innovation/project/edit/:id",parentId:"297",id:"305"},306:{path:"/innovation/project/detail/:taskId",parentId:"297",id:"306"},307:{path:"/tasks",parentId:"1",id:"307"},308:{path:"/tasks/:taskId",exact:!0,parentId:"307",id:"308"},309:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"307",id:"309"},310:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"307",id:"310"},311:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"307",id:"311"},312:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"307",id:"312"},313:{path:"/myproblems",parentId:"1",id:"313"},314:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"313",id:"314"},315:{path:"/myproblems/:id",exact:!0,parentId:"313",id:"315"},316:{path:"/account",parentId:"1",id:"316"},317:{path:"/account",parentId:"316",id:"317"},318:{path:"/account/profile",parentId:"317",id:"318"},319:{path:"/account/profile/edit",parentId:"317",id:"319"},320:{path:"/account/certification",parentId:"317",id:"320"},321:{path:"/account/secure",parentId:"317",id:"321"},322:{path:"/account/binding",parentId:"317",id:"322"},323:{path:"/account/Results",parentId:"317",id:"323"},324:{path:"/ch",parentId:"1",id:"324"},325:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"324",id:"325"},326:{path:"/ch/rest/",exact:!0,parentId:"324",id:"326"},327:{path:"/ch/rest/:id",exact:!0,parentId:"324",id:"327"},328:{path:"/order",parentId:"1",id:"328"},329:{path:"/order",parentId:"328",id:"329"},330:{path:"/order/invoice",parentId:"328",id:"330"},331:{path:"/order/records",parentId:"328",id:"331"},332:{path:"/order/apply",parentId:"328",id:"332"},333:{path:"/order/view",parentId:"328",id:"333"},334:{path:"/order/:courseId/information",parentId:"328",id:"334"},335:{path:"/order/:courseId/pay",parentId:"328",id:"335"},336:{path:"/order/:orderNum/result",parentId:"328",id:"336"},337:{path:"/messages",parentId:"1",id:"337"},338:{path:"/messages/:userId/user_tidings",parentId:"337",id:"338"},339:{path:"/messages/:userId/private_messages",parentId:"337",id:"339"},340:{path:"/messages/:userId/message_detail",parentId:"337",id:"340"},341:{path:"/vtrs",parentId:"1",id:"341"},342:{path:"/vtrs/:virtual_spacesId",parentId:"341",id:"342"},343:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"342",id:"343"},344:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"342",id:"344"},345:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"342",id:"345"},346:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"342",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"342",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"342",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"342",id:"349"},350:{path:"/vtrs/:virtual_spacesId/survey",parentId:"342",id:"350"},351:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"342",id:"351"},352:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"342",id:"352"},353:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"342",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"342",id:"354"},355:{path:"/vtrs/:virtual_spacesId/material",parentId:"342",id:"355"},356:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"342",id:"356"},357:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"342",id:"357"},358:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"342",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"342",id:"359"},360:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"342",id:"360"},361:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"342",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"342",id:"362"},363:{path:"/vtrs/:virtual_spacesId/settings",parentId:"342",id:"363"},364:{path:"/vtrs/:virtual_spacesId/resources",parentId:"342",id:"364"},365:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"342",id:"365"},366:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"342",id:"366"},367:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"342",id:"367"},368:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"342",id:"368"},369:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"342",id:"369"},370:{path:"/vtrs/:virtual_spacesId/*",parentId:"342",id:"370"},371:{path:"/101",parentId:"1",id:"371"},372:{path:"/101/:virtual_spacesId",parentId:"371",id:"372"},373:{path:"/101/:virtual_spacesId",exact:!0,parentId:"372",id:"373"},374:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"372",id:"374"},375:{path:"/101/:virtual_spacesId/experiment",parentId:"372",id:"375"},376:{path:"/101/:virtual_spacesId/announcement",parentId:"372",id:"376"},377:{path:"/101/:virtual_spacesId/announcement/add",parentId:"372",id:"377"},378:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"372",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"372",id:"379"},380:{path:"/101/:virtual_spacesId/survey",parentId:"372",id:"380"},381:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"372",id:"381"},382:{path:"/101/:virtual_spacesId/knowledge",parentId:"372",id:"382"},383:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"372",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"372",id:"384"},385:{path:"/101/:virtual_spacesId/material",parentId:"372",id:"385"},386:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"372",id:"386"},387:{path:"/101/:virtual_spacesId/lesson",parentId:"372",id:"387"},388:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"372",id:"388"},389:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"372",id:"389"},390:{path:"/101/:virtual_spacesId/discussion",parentId:"372",id:"390"},391:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"372",id:"391"},392:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"372",id:"392"},393:{path:"/101/:virtual_spacesId/settings",parentId:"372",id:"393"},394:{path:"/101/:virtual_spacesId/resources",parentId:"372",id:"394"},395:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"372",id:"395"},396:{path:"/101/:virtual_spacesId/Plan",parentId:"372",id:"396"},397:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"372",id:"397"},398:{path:"/101/:virtual_spacesId/digtal",parentId:"372",id:"398"},399:{path:"/101/:virtual_spacesId/homepage",parentId:"372",id:"399"},400:{path:"/101/:virtual_spacesId/*",parentId:"372",id:"400"},401:{path:"/administration",parentId:"1",id:"401"},402:{path:"/administration",parentId:"401",id:"402"},403:{path:"/administration/college",parentId:"402",id:"403"},404:{path:"/administration/student",parentId:"402",id:"404"},405:{path:"/administration/student/:studentId/edit",parentId:"402",id:"405"},406:{path:"/administration/profession",parentId:"402",id:"406"},407:{path:"/graduations",parentId:"1",id:"407"},408:{path:"/graduations",exact:!0,parentId:"407",id:"408"},409:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"407",id:"409"},410:{path:"/graduations/:id",parentId:"407",id:"410"},411:{path:"/graduations/:id/index",parentId:"410",id:"411"},412:{path:"/graduations/:id/topics",parentId:"410",id:"412"},413:{path:"/graduations/:id/student_selection",parentId:"410",id:"413"},414:{path:"/graduations/:id/tasks",parentId:"410",id:"414"},415:{path:"/graduations/:id/opening_report",parentId:"410",id:"415"},416:{path:"/graduations/:id/midterm_report",parentId:"410",id:"416"},417:{path:"/graduations/:id/thesis",parentId:"410",id:"417"},418:{path:"/graduations/:id/final_defense",parentId:"410",id:"418"},419:{path:"/graduations/:id/final_thesis",parentId:"410",id:"419"},420:{path:"/graduations/:id/settings",parentId:"410",id:"420"},421:{path:"/graduations/:id/teachers",parentId:"410",id:"421"},422:{path:"/graduations/:id/students",parentId:"410",id:"422"},423:{path:"/graduations/:id/archives",parentId:"410",id:"423"},424:{path:"/graduations/:id/grading_summary",parentId:"410",id:"424"},425:{path:"/dataset",parentId:"1",id:"425"},426:{path:"/dataset",exact:!0,parentId:"425",id:"426"},427:{path:"/dataset/:id/detail",exact:!0,parentId:"425",id:"427"},428:{path:"/knowledgegraph",parentId:"1",id:"428"},429:{path:"/knowledgegraph/:pathId",parentId:"428",id:"429"},430:{path:"/knowledgegraph/:pathId/abilityMap/edit/:abilityMapId",parentId:"428",id:"430"},431:{path:"/knowledgegraph/:pathId/abilityMap/detail/:abilityId",parentId:"428",id:"431"},432:{path:"/knowledgegraph/:pathId/statistics",parentId:"428",id:"432"},433:{path:"/miniprogram",parentId:"1",id:"433"},434:{path:"/miniprogram/courseware/study",exact:!0,parentId:"433",id:"434"},435:{path:"/educoder-demo",exact:!0,parentId:"1",id:"435"},436:{path:"/classrooms/:coursesId/smart_plan/:id/ppt_info/info",exact:!0,parentId:"1",id:"436"},437:{path:"/training",parentId:"1",id:"437"},438:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"437",id:"438"},439:{path:"/largeScreen",exact:!0,parentId:"1",id:"439"},440:{path:"/effectivenessAnalysis/:coursesId",exact:!0,parentId:"1",id:"440"},441:{path:"/quality",parentId:"1",id:"441"},442:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"441",id:"442"},443:{path:"/otherlogin",exact:!0,parentId:"1",id:"443"},444:{path:"/otherloginqq",exact:!0,parentId:"1",id:"444"},445:{path:"/otherloginstart",exact:!0,parentId:"1",id:"445"},446:{path:"/pathsoverview",exact:!0,parentId:"1",id:"446"},447:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"448"},449:{path:"/login",parentId:"1",id:"449"},450:{path:"/login",parentId:"449",id:"450"},451:{path:"/user",parentId:"1",id:"451"},452:{path:"/user/login",parentId:"451",id:"452"},453:{path:"/user/register",parentId:"451",id:"453"},454:{path:"/user/reset-password",parentId:"451",id:"454"},455:{path:"/colleges",parentId:"1",id:"455"},456:{path:"/colleges/:id/statistics",parentId:"455",id:"456"},457:{path:"/help",parentId:"1",id:"457"},458:{path:"/help/:id",parentId:"457",id:"458"},459:{path:"/video",parentId:"1",id:"459"},460:{path:"/video/:videoId",parentId:"459",id:"460"},461:{path:"/terminal",parentId:"1",id:"461"},462:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"462"},463:{path:"/",parentId:"1",id:"463"},464:{path:"/",exact:!0,parentId:"463",id:"464"},465:{path:"/api/*",exact:!0,parentId:"463",id:"465"},466:{path:"/search",exact:!0,parentId:"463",id:"466"},467:{path:"/moop_cases",exact:!0,parentId:"463",id:"467"},468:{path:"/moop_cases/new",exact:!0,parentId:"463",id:"468"},469:{path:"/moop_cases/:caseId",exact:!0,parentId:"463",id:"469"},470:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"463",id:"470"},471:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"463",id:"471"},472:{path:"/randompaper",exact:!0,parentId:"463",id:"472"},473:{path:"/randompaper/edit/:id",exact:!0,parentId:"463",id:"473"},474:{path:"/randompaper/detail/:id",exact:!0,parentId:"463",id:"474"},475:{path:"/403",parentId:"463",id:"475"},476:{path:"/500",parentId:"463",id:"476"},477:{path:"/404",parentId:"463",id:"477"},478:{path:"/download",parentId:"463",id:"478"},479:{path:"/iwce",parentId:"463",id:"479"},480:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"463",id:"480"},481:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"463",id:"481"},482:{path:"/Activities",parentId:"463",id:"482"},483:{path:"/iwce/:itemname",parentId:"463",id:"483"},484:{path:"/hpc-course",parentId:"463",id:"484"},485:{path:"/user_agents",parentId:"463",id:"485"},486:{path:"/three",parentId:"463",id:"486"},487:{path:"/introduction",parentId:"463",id:"487"},488:{path:"/chatgpt",parentId:"463",id:"488"},489:{path:"/*",parentId:"463",id:"489"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:se.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),2:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),3:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(4862)]).then(__webpack_require__.bind(__webpack_require__,63041))),4:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(6804),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),5:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(6804),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),6:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3247)]).then(__webpack_require__.bind(__webpack_require__,66415))),7:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),8:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,75066))),9:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),10:se.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,16888))),11:se.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27945))),12:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),13:se.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),14:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(2967),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,50578))),15:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,38239))),16:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),17:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),18:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),19:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),20:se.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),21:se.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,3623))),22:se.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,33165))),23:se.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),24:se.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),25:se.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),26:se.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),27:se.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),28:se.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,74719))),29:se.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,79213))),30:se.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,24997))),31:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(9974),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,37462))),32:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,12383))),33:se.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,67059))),34:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,21871))),35:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,52784))),36:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,23659))),37:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,57700))),38:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,4654))),39:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,44180))),40:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,69993))),41:se.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,88810))),42:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(9974),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,64680))),43:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),44:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,50357))),45:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,72560))),46:se.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,74139))),47:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),48:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,76175))),49:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(6804),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),50:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(6804),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),51:se.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,1464))),52:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,60793))),53:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,60793))),54:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8431)]).then(__webpack_require__.bind(__webpack_require__,69884))),55:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6309),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,17950))),56:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6309),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,56954))),57:se.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),58:se.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),59:se.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),60:se.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),61:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,19116))),62:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,15732))),63:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,84625))),64:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,89859))),65:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,427))),66:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,90923))),67:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,60884))),68:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,72794))),69:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,4549))),70:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,75405))),71:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,8993))),72:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,79131))),73:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,15056))),74:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,52796))),75:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,40222))),76:se.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,94453))),77:se.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,59325))),78:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,852))),79:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,94884))),80:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,89590))),81:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,55964))),82:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,4056))),83:se.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),84:se.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,43928))),85:se.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,18522))),86:se.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,39306))),87:se.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,43125))),88:se.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,17203))),89:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),90:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),91:se.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,92435))),92:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,74020))),93:se.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,16286))),94:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,11091))),95:se.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,30056))),96:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,37710))),97:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,55818))),98:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,24400))),99:se.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,37183))),100:se.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,43420))),101:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),102:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),103:se.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,11790))),104:se.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),105:se.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),106:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),107:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),108:se.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),109:se.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),110:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),111:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),112:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),113:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),114:se.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,17425))),115:se.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,98247))),116:se.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,49412))),117:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),118:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9974),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),119:se.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,4573))),120:se.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,66676))),121:se.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,81357))),122:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),123:se.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,17081))),124:se.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,45243))),125:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),126:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),127:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2967),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,27515))),128:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2967),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,27515))),129:se.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),130:se.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),131:se.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),132:se.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),133:se.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,49957))),134:se.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,30618))),135:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,32365))),136:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,49100))),137:se.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),138:se.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),139:se.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,85247))),140:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(8302)]).then(__webpack_require__.bind(__webpack_require__,84314))),141:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(8302)]).then(__webpack_require__.bind(__webpack_require__,84314))),142:se.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),143:se.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),144:se.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,72229))),145:se.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),146:se.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),147:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),148:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),149:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,73237))),150:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,55003))),151:se.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,35297))),152:se.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,3499))),153:se.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,59353))),154:se.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,2735))),155:se.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,63557))),156:se.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,53136))),157:se.lazy(()=>__webpack_require__.e(5741).then(__webpack_require__.bind(__webpack_require__,51360))),158:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9572),__webpack_require__.e(8285)]).then(__webpack_require__.bind(__webpack_require__,9572))),159:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),160:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),161:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),162:se.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,33769))),163:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),164:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),165:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),166:se.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,30968))),167:se.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,60001))),168:se.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,60433))),169:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2413),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,78963))),170:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),171:se.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,61612))),172:se.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,61292))),173:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),174:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),175:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,85419))),176:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),177:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),178:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),179:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),180:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1581)]).then(__webpack_require__.bind(__webpack_require__,71806))),181:se.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,80558))),182:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),183:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),184:se.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,34108))),185:se.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,20290))),186:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,88394))),187:se.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,71311))),188:se.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,94282))),189:se.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,21190))),190:se.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,78234))),191:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(278),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,37129))),192:se.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,86566))),193:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,48979))),194:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),195:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),196:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),197:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),198:se.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,70980))),199:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,98372))),200:se.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,89815))),201:se.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,13344))),202:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(9472)]).then(__webpack_require__.bind(__webpack_require__,55314))),203:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,20296))),204:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),205:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),206:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,15282))),207:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,99192))),208:se.lazy(()=>Promise.all([__webpack_require__.e(278),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,7985))),209:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,96418))),210:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,46593))),211:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,14959))),212:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),213:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),214:se.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),215:se.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),216:se.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),217:se.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),218:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),219:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),220:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,84210))),221:se.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,43468))),222:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),223:se.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,54629))),224:se.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,70982))),225:se.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,34111))),226:se.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,51751))),227:se.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),228:se.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),229:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,74917))),230:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,47400))),231:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,4359))),232:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,92511))),233:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5043)]).then(__webpack_require__.bind(__webpack_require__,85597))),234:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(799)]).then(__webpack_require__.bind(__webpack_require__,8735))),235:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,47018))),236:se.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,65097))),237:se.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),238:se.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,12587))),239:se.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,30127))),240:se.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,57943))),241:se.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,79514))),242:se.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),243:se.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,15107))),244:se.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,50073))),245:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,84272))),246:se.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,55149))),247:se.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,59896))),248:se.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,73985))),249:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2262),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,59360))),250:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(2262),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,26098))),251:se.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,40109))),252:se.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,346))),253:se.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,5566))),254:se.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,74545))),255:se.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,56749))),256:se.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,69158))),257:se.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,74930))),258:se.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,86310))),259:se.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,45956))),260:se.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,41901))),261:se.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,91370))),262:se.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,69393))),263:se.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),264:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),265:se.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,58747))),266:se.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,47781))),267:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7369),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),268:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7369),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),269:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7369),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),270:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7369),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),271:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,31723))),272:se.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,45710))),273:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),274:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),275:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),276:se.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,5226))),277:se.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,65417))),278:se.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,34897))),279:se.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,3681))),280:se.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,17249))),281:se.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,18112))),282:se.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,81654))),283:se.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,75432))),284:se.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,19893))),285:se.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,88590))),286:se.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,67112))),287:se.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,23513))),288:se.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,74565))),289:se.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,20944))),290:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,9986))),291:se.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,23479))),292:se.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,23921))),293:se.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,95707))),294:se.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),295:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),296:se.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,84428))),297:se.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,67537))),298:se.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,76342))),299:se.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,14160))),300:se.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,60971))),301:se.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,46157))),302:se.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,97236))),303:se.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,55734))),304:se.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),305:se.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),306:se.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,21618))),307:se.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),308:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,5931))),309:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),310:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,5931))),311:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),312:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,5931))),313:se.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),314:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,92740))),315:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(9886),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,34587))),316:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),317:se.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,68549))),318:se.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,32928))),319:se.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,16059))),320:se.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,14200))),321:se.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,83386))),322:se.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,98065))),323:se.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,35038))),324:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),325:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,77906))),326:se.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),327:se.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),328:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),329:se.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,89595))),330:se.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,15612))),331:se.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,61071))),332:se.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,96965))),333:se.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,74722))),334:se.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,52935))),335:se.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,38403))),336:se.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,35742))),337:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),338:se.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,5233))),339:se.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,7121))),340:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,86529))),341:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),342:se.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),343:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),344:se.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),345:se.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),346:se.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),347:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),348:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),349:se.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),350:se.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),351:se.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),352:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),353:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),354:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),355:se.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),356:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),357:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),358:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),359:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),360:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),361:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),362:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),363:se.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),364:se.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),365:se.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),366:se.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),367:se.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),368:se.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),369:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),370:se.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),371:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),372:se.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),373:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),374:se.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),375:se.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),376:se.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),377:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),378:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),379:se.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),380:se.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),381:se.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),382:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),383:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),384:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),385:se.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),386:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),387:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),388:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),389:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),390:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),391:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),392:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),393:se.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),394:se.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),395:se.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),396:se.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),397:se.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),398:se.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),399:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),400:se.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),401:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),402:se.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,41669))),403:se.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,44718))),404:se.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,69726))),405:se.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,92642))),406:se.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,13497))),407:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),408:se.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,11181))),409:se.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,61885))),410:se.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,46780))),411:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,8741))),412:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,80096))),413:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,37052))),414:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,75098))),415:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),416:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),417:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),418:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),419:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),420:se.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,51514))),421:se.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),422:se.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),423:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(7511),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,52442))),424:se.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,52337))),425:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),426:se.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,83252))),427:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,437))),428:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),429:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6411),__webpack_require__.e(6272),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,78848))),430:se.lazy(()=>__webpack_require__.e(3685).then(__webpack_require__.bind(__webpack_require__,20623))),431:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6272),__webpack_require__.e(2524)]).then(__webpack_require__.bind(__webpack_require__,86878))),432:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,49627))),433:se.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),434:se.lazy(()=>__webpack_require__.e(3897).then(__webpack_require__.bind(__webpack_require__,57528))),435:se.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,20186))),436:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(9572),__webpack_require__.e(8522)]).then(__webpack_require__.bind(__webpack_require__,2937))),437:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),438:se.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,9330))),439:se.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,91437))),440:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1443)]).then(__webpack_require__.bind(__webpack_require__,18622))),441:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),442:se.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,7370))),443:se.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,44876))),444:se.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,72281))),445:se.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,70806))),446:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,74247))),447:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,94211))),448:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,10257))),449:se.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,57694))),450:se.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,78428))),451:se.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,57694))),452:se.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,78428))),453:se.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,22138))),454:se.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,71228))),455:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),456:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,37204))),457:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),458:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,429))),459:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),460:se.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,64930))),461:se.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,43254))),462:se.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,48030))),463:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4653),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,29558))),464:se.lazy(()=>__webpack_require__.e(8866).then(__webpack_require__.bind(__webpack_require__,48236))),465:se.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,99623))),466:se.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,21918))),467:se.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,16456))),468:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),469:se.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,65128))),470:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),471:se.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,28919))),472:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),473:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),474:se.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,52900))),475:se.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,50885))),476:se.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,85039))),477:se.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),478:se.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,57849))),479:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),480:se.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,13893))),481:se.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),482:se.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,36634))),483:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),484:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),485:se.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,89693))),486:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,57265))),487:se.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,61516))),488:se.lazy(()=>Promise.all([__webpack_require__.e(5545),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,19373))),489:se.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),"@@/global-layout":se.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,59125)))}}})}var x=__webpack_require__(5085),U=__webpack_require__(37989),ie=__webpack_require__(71418),pr=__webpack_require__(26278),gr=()=>se.createElement(ie.Z,{size:"middle",className:pr.Z.loading}),vn=__webpack_require__(89070),cn=__webpack_require__(61186),jr=__webpack_require__.n(cn),ro=__webpack_require__(91392),Lo=__webpack_require__.n(ro),Xn=__webpack_require__(34749),Uo=__webpack_require__.n(Xn),ri=__webpack_require__(19277),Ou=__webpack_require__.n(ri),xo=__webpack_require__(10238),Oc=__webpack_require__.n(xo),Ic=__webpack_require__(33656),uc=__webpack_require__.n(Ic),Ac=__webpack_require__(90111),Rs=__webpack_require__.n(Ac),bn=__webpack_require__(74959),Tc=__webpack_require__.n(bn),kc=__webpack_require__(23250),sa=__webpack_require__.n(kc),ao=__webpack_require__(58862),Ms=__webpack_require__.n(ao),Iu=__webpack_require__(58319),Dc=__webpack_require__.n(Iu),Tl=__webpack_require__(62053),iu=__webpack_require__.n(Tl),su=__webpack_require__(47477),ul=__webpack_require__.n(su),Rc=__webpack_require__(59717),uu=__webpack_require__.n(Rc);jr().extend(Uo()),jr().extend(Ou()),jr().extend(Oc()),jr().extend(uc()),jr().extend(Rs()),jr().extend(Tc()),jr().extend(sa()),jr().extend(Ms()),jr().extend(Dc()),jr().extend(iu()),jr().extend(ul()),jr().extend(uu()),jr().extend(Lo());var cl=Object.defineProperty,cc=Object.getOwnPropertySymbols,ll=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable,Ls=(kr,Xr,Dn)=>Xr in kr?cl(kr,Xr,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):kr[Xr]=Dn,Au=(kr,Xr)=>{for(var Dn in Xr||(Xr={}))ll.call(Xr,Dn)&&Ls(kr,Dn,Xr[Dn]);if(cc)for(var Dn of cc(Xr))Di.call(Xr,Dn)&&Ls(kr,Dn,Xr[Dn]);return kr},lc=(kr,Xr,Dn)=>new Promise((da,jn)=>{var Kn=Fn=>{try{Va(Dn.next(Fn))}catch(Ka){jn(Ka)}},Jn=Fn=>{try{Va(Dn.throw(Fn))}catch(Ka){jn(Ka)}},Va=Fn=>Fn.done?da(Fn.value):Promise.resolve(Fn.value).then(Kn,Jn);Va((Dn=Dn.apply(kr,Xr)).next())});const Gi="https://www-cdn.educoder.net/",dc=!1;function Tu(){return lc(this,null,function*(){const kr=(0,x.gD)(),{routes:Xr,routeComponents:Dn}=yield y(kr);yield kr.applyPlugins({key:"patchRoutes",type:vn.ApplyPluginsType.event,args:{routes:Xr,routeComponents:Dn}});const da=kr.applyPlugins({key:"modifyContextOpts",type:vn.ApplyPluginsType.modify,initialValue:{}}),jn=da.basename||"/",Kn=da.historyType||"browser",Jn=(0,U.fi)(Au({type:Kn,basename:jn},da.historyOpts));return kr.applyPlugins({key:"render",type:vn.ApplyPluginsType.compose,initialValue(){const Va={useStream:!0,routes:Xr,routeComponents:Dn,pluginManager:kr,mountElementId:"root",rootElement:da.rootElement||document.getElementById("root"),loadingComponent:gr,publicPath:Gi,runtimePublicPath:dc,history:Jn,historyType:Kn,basename:jn,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:da.callback},Fn=kr.applyPlugins({key:"modifyClientRenderOpts",type:vn.ApplyPluginsType.modify,initialValue:Va});return sl(Fn)}})()})}Tu(),typeof window!="undefined"&&(window.g_umi={version:"4.4.6"})})()})();